@marimo-team/islands 0.23.15-dev33 → 0.23.15-dev5
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-7p7rt9iw.js → ConnectedDataExplorerComponent-CU4fZJzG.js} +4 -4
- package/dist/{ErrorBoundary-B_CAG7_e.js → ErrorBoundary-DE6tzZf-.js} +1 -1
- package/dist/{ImageComparisonComponent-1i5IBhon.js → ImageComparisonComponent-CHrI72em.js} +129 -173
- package/dist/assets/__vite-browser-external-BQCLNwri.js +1 -0
- package/dist/assets/worker-DAWRHcPq.js +73 -0
- package/dist/{chat-ui-C0wkSwxB.js → chat-ui-DinOvbWu.js} +3111 -3111
- package/dist/{code-visibility-BI94mK4u.js → code-visibility-DBuB5MVY.js} +864 -946
- package/dist/{debounce-BOD3DbfP.js → constants-T20xxyNf.js} +24 -1
- package/dist/{formats-BX3uDQbB.js → formats-Dzx4J_z1.js} +1 -1
- package/dist/{glide-data-editor-CwZz71BD.js → glide-data-editor-CjTu7ukN.js} +3 -3
- package/dist/{html-to-image-D8Q5SLSJ.js → html-to-image-_wGfk8V-.js} +2241 -2277
- package/dist/{input-BGPrFH3g.js → input-DtsN7xm-.js} +2 -2
- package/dist/main.js +1201 -1297
- package/dist/{mermaid-UdmxG2PZ.js → mermaid-BYqXy_NE.js} +2 -2
- package/dist/{process-output-C_A12w9J.js → process-output-Mh4UrjwM.js} +1 -1
- package/dist/{reveal-component-ELidGmPF.js → reveal-component-DfOZrkd6.js} +605 -618
- package/dist/{spec-DSs9v0xx.js → spec-Cz-Bj1JI.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{toDate-CKpRx4TS.js → toDate-CWNNlFEX.js} +4 -3
- package/dist/{useAsyncData-BSOyAbac.js → useAsyncData-KfHB8wQR.js} +1 -1
- package/dist/{useDeepCompareMemoize-BTLeWzuR.js → useDeepCompareMemoize-nJMtxhm4.js} +1 -1
- package/dist/{useLifecycle-C6wHjkhW.js → useLifecycle-DegSo0lV.js} +1 -1
- package/dist/{useTheme-Df_vGflw.js → useTheme-6eZ3GOTS.js} +27 -62
- package/dist/{vega-component-DNHEV0u0.js → vega-component-DzyyM9fc.js} +6 -6
- package/package.json +1 -1
- package/src/components/chat/__tests__/chat-utils.test.ts +1 -244
- package/src/components/chat/chat-panel.tsx +67 -196
- package/src/components/chat/chat-utils.ts +2 -111
- package/src/components/editor/SortableCell.tsx +2 -6
- package/src/components/editor/actions/pair-with-agent-modal.tsx +64 -20
- package/src/components/editor/ai/add-cell-with-ai.tsx +5 -14
- package/src/components/editor/ai/ai-completion-editor.tsx +1 -4
- package/src/components/editor/cell/cell-context-menu.tsx +0 -7
- package/src/components/editor/chrome/panels/packages-panel.tsx +1 -11
- package/src/components/editor/columns/cell-column.tsx +4 -34
- package/src/components/editor/columns/sortable-column.tsx +4 -24
- package/src/components/editor/navigation/__tests__/navigation.test.ts +0 -33
- package/src/components/editor/navigation/navigation.ts +1 -8
- package/src/components/editor/notebook-cell.tsx +106 -203
- package/src/components/editor/renderers/cell-array.tsx +13 -26
- package/src/components/editor/renderers/cells-renderer.tsx +2 -8
- package/src/components/editor/renderers/slides-layout/__tests__/plugin.test.ts +0 -29
- package/src/components/editor/renderers/slides-layout/types.ts +0 -4
- package/src/components/editor/renderers/vertical-layout/vertical-layout.tsx +19 -19
- package/src/components/slides/reveal-component.tsx +4 -37
- package/src/components/slides/slide-form.tsx +0 -72
- package/src/core/cells/__tests__/utils.test.ts +0 -59
- package/src/core/cells/utils.ts +0 -51
- package/src/core/codemirror/completion/__tests__/signature-hint.test.ts +3 -97
- package/src/core/codemirror/completion/signature-hint.ts +11 -78
- package/src/core/constants.ts +0 -6
- package/src/core/islands/__tests__/bridge.test.ts +46 -341
- package/src/core/islands/__tests__/parse.test.ts +0 -105
- package/src/core/islands/bootstrap.ts +3 -8
- package/src/core/islands/bridge.ts +23 -116
- package/src/core/islands/components/web-components.tsx +15 -76
- package/src/core/islands/constants.ts +0 -1
- package/src/core/islands/main.ts +3 -69
- package/src/core/islands/parse.ts +23 -70
- package/src/core/islands/worker/worker.tsx +57 -145
- package/src/core/wasm/worker/bootstrap.ts +20 -113
- package/src/css/app/Cell.css +0 -10
- package/src/hooks/useHotkey.ts +4 -29
- package/src/plugins/impl/anywidget/__tests__/host.test.ts +9 -6
- package/src/plugins/impl/anywidget/__tests__/widget-binding.test.ts +61 -22
- package/src/plugins/impl/anywidget/model-proxy.ts +13 -0
- package/src/plugins/impl/anywidget/widget-binding.ts +34 -4
- package/src/plugins/impl/image-comparison/ImageComparisonComponent.tsx +2 -53
- package/src/plugins/impl/matplotlib/__tests__/matplotlib-renderer.test.ts +3 -71
- package/src/plugins/impl/matplotlib/matplotlib-renderer.ts +0 -1
- package/src/theme/useTheme.ts +1 -16
- package/dist/assets/__vite-browser-external-CjNAy01L.js +0 -1
- package/dist/assets/worker-B3XPCb6y.js +0 -98
- package/src/components/chat/__tests__/message-queue.test.tsx +0 -121
- package/src/components/editor/__tests__/output-persistence.test.tsx +0 -241
- package/src/components/editor/actions/__tests__/pair-with-agent-commands.test.ts +0 -153
- package/src/components/editor/actions/pair-with-agent-commands.ts +0 -109
- package/src/components/editor/columns/__tests__/cell-column.test.tsx +0 -105
- package/src/components/editor/renderers/__tests__/cells-renderer.test.tsx +0 -66
- package/src/core/islands/__tests__/main.test.ts +0 -176
- package/src/core/islands/components/__tests__/web-components.test.tsx +0 -214
- package/src/core/islands/worker/__tests__/controller.test.ts +0 -173
- package/src/hooks/__tests__/useHotkey.test.tsx +0 -88
- package/src/plugins/impl/image-comparison/__tests__/ImageComparisonComponent.test.tsx +0 -71
- package/src/theme/__tests__/useTheme.test.ts +0 -68
|
@@ -6,15 +6,15 @@ import { _ as Logger, c as Objects, g as cn, h as Events, m as useComposedRefs,
|
|
|
6
6
|
import { t as require_react } from "./react-DA-nE2FX.js";
|
|
7
7
|
import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
|
|
8
8
|
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-COam1EG7.js";
|
|
9
|
-
import { $
|
|
9
|
+
import { $t as getRequestClient, B as isDataURLString, Bn as FileText, Bt as getFeatureFlag, C as Accordion, Cn as atomWithStorage, E as AccordionTrigger, En as Close$1, Fn as NotebookPen, Gn as CircleX, H as renderHTML, Hn as ExternalLink, In as Minus, It as useChromeActions, Jn as esm_default, Kt as DATA_TYPE_ICON, L as base64ToUint8Array, Ln as LoaderCircle, Lt as adaptForLocalStorage, M as DotFilledIcon, Mn as Trash2, N as PinLeftIcon, Nt as goToCellLine, P as PinRightIcon, Rt as jotaiJsonStorage, T as AccordionItem, Tt as Checkbox, Vn as Eye, Wt as PluralWord, X as notebookAtom, Yn as import_lib, _ as getDatasourceContext, an as extractAllTracebackInfo, bn as jsonParseWithSpecialChar, bt as getCellDomProps, c as Popover, d as PopoverTrigger, dt as viewStateAtom, et as useCellActions, ft as outputIsLoading, hn as SCRATCH_CELL_ID, in as elementContainsMarimoCellFile, j as ChevronRightIcon, jn as Wrench, jt as toggleBreakpoint, k as CheckIcon, l as PopoverClose, ln as filenameAtom, lt as kioskModeAtom, m as useExpandedOutput, mn as HTMLCellId, n as Spinner, nt as useCellNames, on as getTracebackInfo, ot as AnsiUp, pn as CellOutputId, q as getCellEditorView, qn as Braces, qt as getDataTypeColor, r as MarkdownRenderer, t as toPng, tn as useRequestClient, tt as useCellIds, u as PopoverContent, ut as useInstallAllowed, vt as sanitizeHtml, w as AccordionContent, xn as jsonToMarkdown, xt as displayCellName, yt as DATA_CELL_ID, z as extractBase64FromDataURL, zn as Info, __tla as __tla_0 } from "./html-to-image-_wGfk8V-.js";
|
|
10
10
|
import { o as useSize, u as createLucideIcon } from "./dist--2Bqjvs0.js";
|
|
11
|
-
import { c as Calendar, i as createReducerAndAtoms, r as Badge } from "./useLifecycle-
|
|
11
|
+
import { c as Calendar, i as createReducerAndAtoms, r as Badge } from "./useLifecycle-DegSo0lV.js";
|
|
12
12
|
import { a as ListFilter, i as Table$1, n as $fb18d541ea1ad717$export$ad991b66133851cf, o as ChartPie, r as $5a387cc49350e6db$export$722debc0e56fea39, t as $896ba0a80a8f4d36$export$85fd5fdf27bacc79 } from "./useDateFormatter-CMnRuVmN.js";
|
|
13
13
|
import { t as Check } from "./check-C9OoNtR4.js";
|
|
14
14
|
import { C as logNever, E as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, I as X, N as usePrevious$1, O as $b5e257d569688ac6$export$535bd6ca7f90a273, P as useDirection, R as ChevronDown, S as assertNever, T as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5, _ as menuControlVariants, b as menuSeparatorVariants, f as selectStyles, g as menuControlCheckVariants, h as menuContentCommon, i as SelectContent, l as SelectTrigger, o as SelectItem, p as MENU_ITEM_DISABLED, r as Select, t as Strings, u as SelectValue, v as menuItemVariants, w as $a916eb452884faea$export$b7a616150fdb9f44, x as menuSubTriggerVariants, y as menuLabelVariants } from "./strings-Dq_j3Rxw.js";
|
|
15
|
-
import { $ as $e93e671b31057976$export$b8473d3665f3a75a, $t as Item2$2, A as $ee014567cb39d3f0$export$ff05c3ac10437e03, At as $c87311424ea30a05$export$78551043582a6a98, B as $64fa3d84918910a7$export$4d86445c2cf5e3, Bt as $d4ee10de306f2510$export$e58f029f0fbfdb29, C as DropdownMenuTrigger, Ct as $b4b717babfbb907b$export$bebd5a1431fec25d, D as $a049562f99e7db0e$export$f9c6924e160136d1, Dt as $df56164dff5785e2$export$4338b53315abf666, E as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, Et as $8ae05eaa5c114e9c$export$7f54fc3180508a52, F as $01b77f81d0f07f68$export$75b6ee27786ba447, Ft as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, G as $64fa3d84918910a7$export$ef03459518577ad4, Gt as $bdb11010cef70236$export$b4cc09c592e8fdb8, H as $64fa3d84918910a7$export$c245e6201fed2f75, Ht as $431fbd86ca7dc216$export$b204af158042fbac, I as $01b77f81d0f07f68$export$b04be29aa201d4f5, It as $3ef42575df84b30b$export$9d1611c77c2fe928, J as marked, Jt as Anchor2, K as $64fa3d84918910a7$export$fabf2dc03a41866e, Kt as $bdb11010cef70236$export$f680877a34711e37, L as $f39a9eba43920ace$export$b5d7cc18bb8d2b59, Lt as $d4ee10de306f2510$export$4282f70798064fe0, M as $514c0188e459b4c0$export$9afb8bc826b033ea, Mt as $c87311424ea30a05$export$a11b0059900ceec8, N as $d2b4bc8c273e7be6$export$24d547caef80ccd1, Nt as $c87311424ea30a05$export$fedb369cb70207f1, O as $d3e0e05bdfcf66bd$export$c24727297075ec6a, Ot as $313b98861ee5dd6c$export$d6875122194c7b44, P as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, Pt as $7215afc6de606d6b$export$de79e2c695e052f3, Q as $2baaea4c71418dea$export$294aa081a6c6f55d, Qt as Group, R as $64fa3d84918910a7$export$2881499e37b75b9a, Rt as $d4ee10de306f2510$export$b4f377a2b6254582, S as DropdownMenuSubTrigger, St as $b4b717babfbb907b$export$4c063cf1350e6fed, T as $3985021b0ad6602f$export$f5b8910cec6cf069, Tt as $e9faafb641e167db$export$90fc3a17d93f704c, U as $64fa3d84918910a7$export$c62b8e45d58ddad9, Ut as $431fbd86ca7dc216$export$f21a1ffae260145a, V as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, Vt as $f4e2df6bd15f8569$export$98658e8c59125e6a, W as $64fa3d84918910a7$export$df3a06d6289f983e, Wt as $ff5963eb1fccf552$export$e08e3b67e392101e, Xt as CheckboxItem, Yt as Arrow2, Z as $d2e8511e6f209edf$export$e908e06f4b8e3402, Zt as Content2$1, _ as DropdownMenuPortal, _t as $f6c31cce2adf654f$export$45712eceda6fad21, a as NumberField, an as Root3, at as $319e236875307eab$export$a9b970dcc4ae71a9, b as DropdownMenuSub, bt as $9446cca9a3875146$export$7d15b64cf5a3a4c4, c as prettyEngineeringNumber, cn as SubContent, ct as $6c7bd7858deea686$export$cd11ab140839f11d, dn as Item, dt as $6db58dc88e78b024$export$2f817fcdc4b89ae0, en as ItemIndicator, et as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, f as DropdownMenu, fn as Root$3, ft as $5b160d28a433310d$export$c17fa47878dc55b6, g as DropdownMenuLabel, gn as ChevronRight, gt as $507fabe10e71c6fb$export$630ff653c5ada6a9, h as DropdownMenuItem, hn as Circle, ht as $3ad3f6e1647bc98d$export$80f3e147d781571c, in as RadioItem, it as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, j as $514c0188e459b4c0$export$5f1af8db9871e1d6, jt as $c87311424ea30a05$export$9ac100e40613ea10, k as $ee014567cb39d3f0$export$f551688fc98f2e09, kt as $c87311424ea30a05$export$6446a186d09e379e, l as prettyNumber, ln as SubTrigger, lt as $fca6afa0e843324b$export$87b761675e8eaa10, mn as Search, mt as $9ab94262bd0047c7$export$420e68273165f4ec, nn as Portal, nt as $e5be200c675c3b3a$export$aca958c65c314e6c, on as Separator$1, ot as $f7dceffc5ad7768b$export$4e328f61c538687f, p as DropdownMenuContent, pn as createRovingFocusGroupScope, pt as $6179b936705e76d3$export$ae780daf29e6d456, qt as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, r as Input, rn as RadioGroup$2, rt as $e5be200c675c3b3a$export$dad6ae84456c676a, s as maxFractionalDigits, sn as Sub, tn as Label$1, tt as $e5be200c675c3b3a$export$a763b9476acd3eb, u as prettyScientificNumber, un as createMenuScope, ut as $fca6afa0e843324b$export$f12b703ca79dfbb1, v as DropdownMenuSeparator, vt as _class_private_field_init, w as $3985021b0ad6602f$export$37fb8590cf2c088c, wt as $99facab73266f662$export$5add1d006293d136, x as DropdownMenuSubContent, xt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, yt as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, z as $64fa3d84918910a7$export$29f1550f4b0d4415, zt as $d4ee10de306f2510$export$cd4e5573fbe2b576 } from "./input-
|
|
16
|
-
import { _ as isWasm, a as millisecondsInMinute, c as asRemoteURL, d as isStaticNotebook, i as millisecondsInHour, n as constructFrom, o as millisecondsInSecond, p as isUrl, r as millisecondsInDay, s as millisecondsInWeek, t as toDate } from "./toDate-
|
|
17
|
-
import { r as Plus, t as ErrorBoundary } from "./ErrorBoundary-
|
|
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-DtsN7xm-.js";
|
|
16
|
+
import { _ as isWasm, a as millisecondsInMinute, c as asRemoteURL, d as isStaticNotebook, i as millisecondsInHour, n as constructFrom, o as millisecondsInSecond, p as isUrl, r as millisecondsInDay, s as millisecondsInWeek, t as toDate } from "./toDate-CWNNlFEX.js";
|
|
17
|
+
import { r as Plus, t as ErrorBoundary } from "./ErrorBoundary-DE6tzZf-.js";
|
|
18
18
|
import { n as clsx_default } from "./clsx-CIWA5tNO.js";
|
|
19
19
|
import { t as require_react_dom } from "./react-dom-BTJzcVJ9.js";
|
|
20
20
|
import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
|
|
@@ -22,19 +22,20 @@ import { Q as withSmartCollisionBoundary, Y as MAX_HEIGHT_OFFSET, Z as withFullS
|
|
|
22
22
|
import { a as prettyError, c as Portal$1, l as Root$4, n as ErrorBanner, o as Content$1, s as Overlay, t as Banner } from "./error-banner-DFPfz_Qf.js";
|
|
23
23
|
import { a as TooltipRoot, n as TooltipContent, o as TooltipTrigger, r as TooltipPortal, t as Tooltip } from "./tooltip-Czds6Qr8.js";
|
|
24
24
|
import { f as CopyClipboardIcon, t as _extends } from "./extends-9MVIxxRo.js";
|
|
25
|
-
import {
|
|
25
|
+
import { r as KnownQueryParams } from "./constants-T20xxyNf.js";
|
|
26
|
+
import { D as useEvent_default, E as dequal, S as atom, T as getBuildingBlocks, _ as Provider, b as useSetAtom, c as resolvedMarimoConfigAtom, i as aiModelConfiguredAtom, m as useJotaiEffect, n as useTheme, p as store, r as aiFeaturesEnabledAtom, u as userConfigAtom, v as useAtom, w as buildStore, x as useStore, y as useAtomValue } from "./useTheme-6eZ3GOTS.js";
|
|
26
27
|
import { $ as EditorView } from "./dist-U4F-tbMs.js";
|
|
27
28
|
import { t as invariant } from "./invariant-wRzNXIsJ.js";
|
|
28
29
|
import { c as uniqueBy, t as Arrays } from "./arrays-sEtDRoG4.js";
|
|
29
30
|
import { n as once, t as memoizeLastValue } from "./once-DPuqGUeo.js";
|
|
30
31
|
import { a as parser } from "./dist-C_Y3oV3C.js";
|
|
31
|
-
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-Dzx4J_z1.js";
|
|
32
33
|
import { n as memoize$1, t as isPropValid } from "./emotion-is-prop-valid.esm-DzSb5hsH.js";
|
|
33
34
|
import { n as formats } from "./vega-loader.browser-CZ-J8Py3.js";
|
|
34
35
|
import { a as getContainerWidth, n as vegaLoadData, r as createBatchedLoader, s as tooltipHandler, t as parseCsvData } from "./loader-Boph2xIS.js";
|
|
35
36
|
import { t as useIframeCapabilities } from "./useIframeCapabilities-DWIYvDh7.js";
|
|
36
|
-
import { t as useAsyncData } from "./useAsyncData-
|
|
37
|
-
let
|
|
37
|
+
import { t as useAsyncData } from "./useAsyncData-KfHB8wQR.js";
|
|
38
|
+
let PANEL_TYPES, hasFunctionProperty, prettifyRowCount, INDEX_COLUMN_NAME, CompactChipRow, Tabs, downloadSizeLimitAtom, ColumnChartSpecModel, ErrorState, getPageIndexForRow, EmptyState, usePrevious, ContextMenuItem, isNullishFilter, Command, ChartInfoState, DateRangePicker, TabsList, ContextMenuSeparator, Maps, CommandItem, useOverflowDetection, CommandEmpty, ChartLoadingState, ContextMenuTrigger, dateToLocalISODate, getUserColumnVisibilityCounts, TOO_MANY_ROWS, ContextMenu, toFieldTypes, LoadingState, loadTableAndRawData, ContextMenuContent, getMimeValues, ContextAwarePanelItem, EmotionCacheProvider, useInternalStateWithSync, dateToLocalISODateTime, Filenames, ColumnChartContext, ColumnPreviewContainer, useIntersectionObserver, Combobox, TabsTrigger, DatePicker, TabsContent, ComboboxItem, ChartErrorState, CommandSeparator, Kbd, CommandList, RenderTextWithLinks, smartMatch, HtmlOutput, ADD_PRINTING_CLASS, TableRow, DEFAULT_SLIDE_TYPE, Funnel, slotsController, downloadHTMLAsImage, inferFieldTypes, Slide, Ellipsis, PanelGroup, RadioGroupItem, ChevronsUpDown, Provider$1, isRecord, contextAwarePanelOpen, JsonOutput, ChevronsRight, Table, InstallPackageButton, ArrowDownWideNarrow, TableHeader, DataTable, ChevronLeft, TableHead, DEFAULT_DECK_TRANSITION, GripHorizontal, SlotNames, getColumnCountForDisplay, SELECT_COLUMN_ID, prettifyRowColumnCount, loadTableData, Switch, Download, PanelResizeHandle, OutputRenderer, ChevronsDownUp, TableCell, marimoVersionAtom, $fae977aafc393c5c$export$6b862160d295c8e, contextAwarePanelType, SLIDE_TYPE_OPTIONS_BY_VALUE, EyeOff, Toggle, OutputArea, ChevronsLeft, TableBody, CommandInput, LazyVegaEmbed, showCodeInRunModeAtom, TextWrap, isCellAwareAtom, SlideSidebar, Expand, Panel, useNotebookCodeAvailable, $fae977aafc393c5c$export$588937bcd60ade55, contextAwarePanelOwner, RadioGroup, Code, Fill, downloadBlob, NAMELESS_COLUMN_PREFIX, ColumnName, DelayMount, Progress, renderCellValue, downloadByURL, generateColumns, useSelectList, dateToLocalISOTime;
|
|
38
39
|
let __tla = Promise.all([
|
|
39
40
|
(() => {
|
|
40
41
|
try {
|
|
@@ -2060,21 +2061,21 @@ Defaulting to \`null\`.`;
|
|
|
2060
2061
|
function $2f04cbc44ee30ce0$export$53a0910f038337bd(e, t, n = {}) {
|
|
2061
2062
|
let { block: i = "nearest", inline: a = "nearest" } = n;
|
|
2062
2063
|
if (e === t) return;
|
|
2063
|
-
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,
|
|
2064
|
-
h.direction === "rtl" && !$c87311424ea30a05$export$fedb369cb70207f1() ?
|
|
2065
|
-
let
|
|
2066
|
-
if (
|
|
2067
|
-
else if (
|
|
2068
|
-
else if (
|
|
2069
|
-
else if (
|
|
2070
|
-
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, eJ = c.top - E, tJ = c.bottom + O, nJ = c.left - A, rJ = c.right + M, iJ = e === _ ? 0 : Q + $, aJ = e === _ ? 0 : q + J, oJ = e.offsetWidth - e.clientWidth - iJ, sJ = e.offsetHeight - e.clientHeight - aJ, cJ = v + q + I, lJ = y - J - z - sJ, uJ = S + Q + U, dJ = w - $ - K;
|
|
2065
|
+
h.direction === "rtl" && !$c87311424ea30a05$export$fedb369cb70207f1() ? uJ += oJ : dJ -= oJ;
|
|
2066
|
+
let fJ = eJ < cJ || tJ > lJ, pJ = nJ < uJ || rJ > dJ;
|
|
2067
|
+
if (fJ && i === "start") o += eJ - cJ;
|
|
2068
|
+
else if (fJ && i === "center") o += (eJ + tJ) / 2 - (cJ + lJ) / 2;
|
|
2069
|
+
else if (fJ && i === "end") o += tJ - lJ;
|
|
2070
|
+
else if (fJ && i === "nearest") {
|
|
2071
|
+
let e2 = eJ - cJ, t2 = tJ - lJ;
|
|
2071
2072
|
o += Math.abs(e2) <= Math.abs(t2) ? e2 : t2;
|
|
2072
2073
|
}
|
|
2073
|
-
if (
|
|
2074
|
-
else if (
|
|
2075
|
-
else if (
|
|
2076
|
-
else if (
|
|
2077
|
-
let e2 =
|
|
2074
|
+
if (pJ && a === "start") s += nJ - uJ;
|
|
2075
|
+
else if (pJ && a === "center") s += (nJ + rJ) / 2 - (uJ + dJ) / 2;
|
|
2076
|
+
else if (pJ && a === "end") s += rJ - dJ;
|
|
2077
|
+
else if (pJ && a === "nearest") {
|
|
2078
|
+
let e2 = nJ - uJ, t2 = rJ - dJ;
|
|
2078
2079
|
s += Math.abs(e2) <= Math.abs(t2) ? e2 : t2;
|
|
2079
2080
|
}
|
|
2080
2081
|
e.scrollTo({
|
|
@@ -5184,23 +5185,23 @@ Defaulting to \`null\`.`;
|
|
|
5184
5185
|
}
|
|
5185
5186
|
let $ = "bottom";
|
|
5186
5187
|
A.axis === "top" ? A.placement === "top" ? $ = "top" : A.placement === "bottom" && ($ = "bottom") : A.crossAxis === "top" && (A.crossPlacement === "top" ? $ = "bottom" : A.crossPlacement === "bottom" && ($ = "top"));
|
|
5187
|
-
let
|
|
5188
|
-
q[I] +=
|
|
5189
|
-
let
|
|
5190
|
-
y && y <
|
|
5191
|
-
let
|
|
5192
|
-
|
|
5193
|
-
let
|
|
5194
|
-
x: U === "top" || U === "bottom" ?
|
|
5195
|
-
y: U === "left" || U === "right" ?
|
|
5188
|
+
let eJ = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f);
|
|
5189
|
+
q[I] += eJ;
|
|
5190
|
+
let tJ = $edcf132a9284368a$var$getMaxHeight(q, c, f, v, a, o, n.height, $, d, E, O);
|
|
5191
|
+
y && y < tJ && (tJ = y), n.height = Math.min(n.height, tJ), q = $edcf132a9284368a$var$computePosition(t, c, n, A, J, _, f, v, S, w, d), eJ = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f), q[I] += eJ;
|
|
5192
|
+
let nJ = {}, rJ = t[I] - q[I] - a[$edcf132a9284368a$var$AXIS[I]], iJ = rJ + 0.5 * t[z], aJ = S / 2 + w, oJ = $edcf132a9284368a$var$AXIS[I] === "left" ? (a.left ?? 0) + (a.right ?? 0) : (a.top ?? 0) + (a.bottom ?? 0), sJ = n[z] - oJ - S / 2 - w;
|
|
5193
|
+
nJ[I] = $9446cca9a3875146$export$7d15b64cf5a3a4c4($9446cca9a3875146$export$7d15b64cf5a3a4c4(iJ, t[I] + S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]]), t[I] + t[z] - S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]])), aJ, sJ), { placement: U, crossPlacement: K } = A, S ? rJ = nJ[I] : K === "right" ? rJ += t[z] : K === "center" && (rJ += t[z] / 2);
|
|
5194
|
+
let cJ = U === "left" || U === "top" ? n[M] : 0, lJ = {
|
|
5195
|
+
x: U === "top" || U === "bottom" ? rJ : cJ,
|
|
5196
|
+
y: U === "left" || U === "right" ? rJ : cJ
|
|
5196
5197
|
};
|
|
5197
5198
|
return {
|
|
5198
5199
|
position: q,
|
|
5199
|
-
maxHeight:
|
|
5200
|
-
arrowOffsetLeft:
|
|
5201
|
-
arrowOffsetTop:
|
|
5200
|
+
maxHeight: tJ,
|
|
5201
|
+
arrowOffsetLeft: nJ.left,
|
|
5202
|
+
arrowOffsetTop: nJ.top,
|
|
5202
5203
|
placement: U,
|
|
5203
|
-
triggerAnchorPoint:
|
|
5204
|
+
triggerAnchorPoint: lJ
|
|
5204
5205
|
};
|
|
5205
5206
|
}
|
|
5206
5207
|
function $edcf132a9284368a$export$b3ceb0cbf1056d98(e) {
|
|
@@ -7055,7 +7056,7 @@ Defaulting to \`null\`.`;
|
|
|
7055
7056
|
n,
|
|
7056
7057
|
h
|
|
7057
7058
|
]);
|
|
7058
|
-
let
|
|
7059
|
+
let eJ = $c87311424ea30a05$export$fedb369cb70207f1() || e.type === "timeZoneName" ? {
|
|
7059
7060
|
role: "textbox",
|
|
7060
7061
|
"aria-valuemax": null,
|
|
7061
7062
|
"aria-valuemin": null,
|
|
@@ -7065,8 +7066,8 @@ Defaulting to \`null\`.`;
|
|
|
7065
7066
|
e !== (0, import_react.useMemo)(() => t.segments.find((e2) => e2.isEditable), [
|
|
7066
7067
|
t.segments
|
|
7067
7068
|
]) && !t.isInvalid && (f = void 0);
|
|
7068
|
-
let
|
|
7069
|
-
"aria-label": `${
|
|
7069
|
+
let tJ = $bdb11010cef70236$export$f680877a34711e37(), nJ = !t.isDisabled && !t.isReadOnly && e.isEditable, rJ = e.type === "literal" ? "" : s.of(e.type), iJ = $313b98861ee5dd6c$export$d6875122194c7b44({
|
|
7070
|
+
"aria-label": `${rJ}${c ? `, ${c}` : ""}${d ? ", " : ""}`,
|
|
7070
7071
|
"aria-labelledby": d
|
|
7071
7072
|
});
|
|
7072
7073
|
if (e.type === "literal") return {
|
|
@@ -7074,32 +7075,32 @@ Defaulting to \`null\`.`;
|
|
|
7074
7075
|
"aria-hidden": true
|
|
7075
7076
|
}
|
|
7076
7077
|
};
|
|
7077
|
-
let
|
|
7078
|
+
let aJ = {
|
|
7078
7079
|
caretColor: "transparent"
|
|
7079
7080
|
};
|
|
7080
7081
|
if (o === "rtl") {
|
|
7081
|
-
|
|
7082
|
+
aJ.unicodeBidi = "embed";
|
|
7082
7083
|
let t2 = v[e.type];
|
|
7083
|
-
(t2 === "numeric" || t2 === "2-digit") && (
|
|
7084
|
+
(t2 === "numeric" || t2 === "2-digit") && (aJ.direction = "ltr");
|
|
7084
7085
|
}
|
|
7085
7086
|
return {
|
|
7086
|
-
segmentProps: $3ef42575df84b30b$export$9d1611c77c2fe928(w,
|
|
7087
|
-
id:
|
|
7088
|
-
...
|
|
7087
|
+
segmentProps: $3ef42575df84b30b$export$9d1611c77c2fe928(w, iJ, {
|
|
7088
|
+
id: tJ,
|
|
7089
|
+
...eJ,
|
|
7089
7090
|
"aria-invalid": t.isInvalid ? "true" : void 0,
|
|
7090
7091
|
"aria-describedby": f,
|
|
7091
7092
|
"aria-readonly": t.isReadOnly || !e.isEditable ? "true" : void 0,
|
|
7092
7093
|
"data-placeholder": e.isPlaceholder || void 0,
|
|
7093
|
-
contentEditable:
|
|
7094
|
-
suppressContentEditableWarning:
|
|
7095
|
-
spellCheck:
|
|
7096
|
-
autoCorrect:
|
|
7097
|
-
enterKeyHint:
|
|
7098
|
-
inputMode: t.isDisabled || e.type === "dayPeriod" || e.type === "era" || !
|
|
7094
|
+
contentEditable: nJ,
|
|
7095
|
+
suppressContentEditableWarning: nJ,
|
|
7096
|
+
spellCheck: nJ ? "false" : void 0,
|
|
7097
|
+
autoCorrect: nJ ? "off" : void 0,
|
|
7098
|
+
enterKeyHint: nJ ? "next" : void 0,
|
|
7099
|
+
inputMode: t.isDisabled || e.type === "dayPeriod" || e.type === "era" || !nJ ? void 0 : "numeric",
|
|
7099
7100
|
tabIndex: t.isDisabled ? void 0 : 0,
|
|
7100
7101
|
onKeyDown: A,
|
|
7101
7102
|
onFocus: Q,
|
|
7102
|
-
style:
|
|
7103
|
+
style: aJ,
|
|
7103
7104
|
onPointerDown(e2) {
|
|
7104
7105
|
e2.stopPropagation();
|
|
7105
7106
|
},
|
|
@@ -10348,12 +10349,12 @@ Defaulting to \`null\`.`;
|
|
|
10348
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);
|
|
10349
10350
|
}
|
|
10350
10351
|
}
|
|
10351
|
-
let
|
|
10352
|
+
let eJ = (0, import_react.useMemo)(() => w ? f && f(w) ? true : $f62d864046160412$export$eac50920cf2fd59a(w, s, c) : false, [
|
|
10352
10353
|
w,
|
|
10353
10354
|
f,
|
|
10354
10355
|
s,
|
|
10355
10356
|
c
|
|
10356
|
-
]),
|
|
10357
|
+
]), tJ = e.isInvalid || e.validationState === "invalid" || eJ, nJ = tJ ? "invalid" : null, rJ = (0, import_react.useMemo)(() => h === "visible" ? o : $131cf43a05231e1e$var$unitDuration(o), [
|
|
10357
10358
|
h,
|
|
10358
10359
|
o
|
|
10359
10360
|
]);
|
|
@@ -10370,8 +10371,8 @@ Defaulting to \`null\`.`;
|
|
|
10370
10371
|
maxValue: c,
|
|
10371
10372
|
focusedDate: O,
|
|
10372
10373
|
timeZone: E,
|
|
10373
|
-
validationState:
|
|
10374
|
-
isValueInvalid:
|
|
10374
|
+
validationState: nJ,
|
|
10375
|
+
isValueInvalid: tJ,
|
|
10375
10376
|
setFocusedDate(e2) {
|
|
10376
10377
|
Q(e2);
|
|
10377
10378
|
},
|
|
@@ -10396,12 +10397,12 @@ Defaulting to \`null\`.`;
|
|
|
10396
10397
|
}));
|
|
10397
10398
|
},
|
|
10398
10399
|
focusNextPage() {
|
|
10399
|
-
let e2 = M.add(
|
|
10400
|
-
A($f62d864046160412$export$4f5203c0d889109e(O.add(
|
|
10400
|
+
let e2 = M.add(rJ);
|
|
10401
|
+
A($f62d864046160412$export$4f5203c0d889109e(O.add(rJ), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, rJ, i, s, c), rJ, i));
|
|
10401
10402
|
},
|
|
10402
10403
|
focusPreviousPage() {
|
|
10403
|
-
let e2 = M.subtract(
|
|
10404
|
-
A($f62d864046160412$export$4f5203c0d889109e(O.subtract(
|
|
10404
|
+
let e2 = M.subtract(rJ);
|
|
10405
|
+
A($f62d864046160412$export$4f5203c0d889109e(O.subtract(rJ), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, rJ, i, s, c), rJ, i));
|
|
10405
10406
|
},
|
|
10406
10407
|
focusSectionStart() {
|
|
10407
10408
|
o.days ? Q(M) : o.weeks ? Q($14e0f24ef4ac5c92$export$42c81a444fbfb5d4(O, i)) : (o.months || o.years) && Q($14e0f24ef4ac5c92$export$a5a3b454ada2268e(O));
|
|
@@ -10538,13 +10539,13 @@ Defaulting to \`null\`.`;
|
|
|
10538
10539
|
end: $9a36b6ba2fb1a7c5$var$convertValue(e2.end, h == null ? void 0 : h.end)
|
|
10539
10540
|
}), q(null);
|
|
10540
10541
|
}
|
|
10541
|
-
}, [$,
|
|
10542
|
-
|
|
10542
|
+
}, [$, eJ] = (0, import_react.useState)(false), { isDateUnavailable: tJ } = e, nJ = (0, import_react.useMemo)(() => !h || v ? false : tJ && (tJ(h.start) || tJ(h.end)) ? true : $f62d864046160412$export$eac50920cf2fd59a(h.start, c, d) || $f62d864046160412$export$eac50920cf2fd59a(h.end, c, d), [
|
|
10543
|
+
tJ,
|
|
10543
10544
|
h,
|
|
10544
10545
|
v,
|
|
10545
10546
|
c,
|
|
10546
10547
|
d
|
|
10547
|
-
]),
|
|
10548
|
+
]), rJ = e.isInvalid || e.validationState === "invalid" || nJ, iJ = rJ ? "invalid" : null;
|
|
10548
10549
|
return {
|
|
10549
10550
|
...I,
|
|
10550
10551
|
value: h,
|
|
@@ -10552,8 +10553,8 @@ Defaulting to \`null\`.`;
|
|
|
10552
10553
|
anchorDate: v,
|
|
10553
10554
|
setAnchorDate: q,
|
|
10554
10555
|
highlightedRange: J,
|
|
10555
|
-
validationState:
|
|
10556
|
-
isValueInvalid:
|
|
10556
|
+
validationState: iJ,
|
|
10557
|
+
isValueInvalid: rJ,
|
|
10557
10558
|
selectFocusedDate() {
|
|
10558
10559
|
Q(I.focusedDate);
|
|
10559
10560
|
},
|
|
@@ -10569,7 +10570,7 @@ Defaulting to \`null\`.`;
|
|
|
10569
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);
|
|
10570
10571
|
},
|
|
10571
10572
|
isDragging: $,
|
|
10572
|
-
setDragging:
|
|
10573
|
+
setDragging: eJ
|
|
10573
10574
|
};
|
|
10574
10575
|
}
|
|
10575
10576
|
function $9a36b6ba2fb1a7c5$var$makeRange(e, t) {
|
|
@@ -11756,7 +11757,7 @@ Defaulting to \`null\`.`;
|
|
|
11756
11757
|
_,
|
|
11757
11758
|
S,
|
|
11758
11759
|
v
|
|
11759
|
-
]),
|
|
11760
|
+
]), eJ = (0, import_react.useMemo)(() => {
|
|
11760
11761
|
let t2 = w === "h11" || w === "h12", n2 = [
|
|
11761
11762
|
"era",
|
|
11762
11763
|
"year",
|
|
@@ -11774,15 +11775,15 @@ Defaulting to \`null\`.`;
|
|
|
11774
11775
|
e.maxGranularity,
|
|
11775
11776
|
_,
|
|
11776
11777
|
w
|
|
11777
|
-
]), [
|
|
11778
|
-
(M !==
|
|
11779
|
-
let
|
|
11780
|
-
if (!(e.isDisabled || e.isReadOnly)) if (t2 == null || t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef && t2.isCleared(
|
|
11778
|
+
]), [tJ, nJ] = (0, import_react.useState)(M), [rJ, iJ] = (0, import_react.useState)(S), [aJ, oJ] = (0, import_react.useState)(w);
|
|
11779
|
+
(M !== tJ || w !== aJ || !$14e0f24ef4ac5c92$export$dbc69fd56b53d5e(S, rJ)) && (I = new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M), nJ(M), iJ(S), oJ(w), z(I));
|
|
11780
|
+
let sJ = (t2) => {
|
|
11781
|
+
if (!(e.isDisabled || e.isReadOnly)) if (t2 == null || t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef && t2.isCleared(eJ)) z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(null);
|
|
11781
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);
|
|
11782
11783
|
else {
|
|
11783
|
-
if (t2.isComplete(
|
|
11784
|
+
if (t2.isComplete(eJ)) {
|
|
11784
11785
|
let e2 = t2.toValue(M ?? $);
|
|
11785
|
-
if (t2.validate(e2,
|
|
11786
|
+
if (t2.validate(e2, eJ)) {
|
|
11786
11787
|
let t3 = $11d87f3f76e88657$export$b4a036af3fc0b032(e2, (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec());
|
|
11787
11788
|
if (!E || t3.compare(E) !== 0) {
|
|
11788
11789
|
z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(t3);
|
|
@@ -11792,83 +11793,83 @@ Defaulting to \`null\`.`;
|
|
|
11792
11793
|
}
|
|
11793
11794
|
z(t2);
|
|
11794
11795
|
}
|
|
11795
|
-
},
|
|
11796
|
+
}, cJ = (0, import_react.useMemo)(() => I.toValue(M ?? $).toDate(y), [
|
|
11796
11797
|
I,
|
|
11797
11798
|
y,
|
|
11798
11799
|
M,
|
|
11799
11800
|
$
|
|
11800
|
-
]),
|
|
11801
|
-
|
|
11801
|
+
]), lJ = (0, import_react.useMemo)(() => $3c0fc76039f1c516$var$processSegments(cJ, I, J, Q, S, t, _), [
|
|
11802
|
+
cJ,
|
|
11802
11803
|
J,
|
|
11803
11804
|
Q,
|
|
11804
11805
|
I,
|
|
11805
11806
|
S,
|
|
11806
11807
|
t,
|
|
11807
11808
|
_
|
|
11808
|
-
]),
|
|
11809
|
-
|
|
11810
|
-
},
|
|
11809
|
+
]), uJ = (e2, t2) => {
|
|
11810
|
+
sJ(I.cycle(e2, t2, $, eJ));
|
|
11811
|
+
}, dJ = (0, import_react.useMemo)(() => $35a22f14a1f04b11$export$f18627323ab57ac0(E, c, d, f, K), [
|
|
11811
11812
|
E,
|
|
11812
11813
|
c,
|
|
11813
11814
|
d,
|
|
11814
11815
|
f,
|
|
11815
11816
|
K
|
|
11816
|
-
]),
|
|
11817
|
+
]), fJ = $e5be200c675c3b3a$export$fc1a364ae1f3ff10({
|
|
11817
11818
|
...e,
|
|
11818
11819
|
value: E,
|
|
11819
|
-
builtinValidation:
|
|
11820
|
-
}),
|
|
11820
|
+
builtinValidation: dJ
|
|
11821
|
+
}), pJ = fJ.displayValidation.isInvalid, mJ = e.validationState || (pJ ? "invalid" : null);
|
|
11821
11822
|
return {
|
|
11822
|
-
...
|
|
11823
|
+
...fJ,
|
|
11823
11824
|
value: M,
|
|
11824
11825
|
defaultValue: e.defaultValue ?? A,
|
|
11825
|
-
dateValue:
|
|
11826
|
+
dateValue: cJ,
|
|
11826
11827
|
calendar: S,
|
|
11827
|
-
setValue:
|
|
11828
|
-
segments:
|
|
11828
|
+
setValue: sJ,
|
|
11829
|
+
segments: lJ,
|
|
11829
11830
|
dateFormatter: J,
|
|
11830
|
-
validationState:
|
|
11831
|
-
isInvalid:
|
|
11831
|
+
validationState: mJ,
|
|
11832
|
+
isInvalid: pJ,
|
|
11832
11833
|
granularity: _,
|
|
11833
11834
|
maxGranularity: e.maxGranularity ?? "year",
|
|
11834
11835
|
isDisabled: a,
|
|
11835
11836
|
isReadOnly: o,
|
|
11836
11837
|
isRequired: s,
|
|
11837
11838
|
increment(e2) {
|
|
11838
|
-
|
|
11839
|
+
uJ(e2, 1);
|
|
11839
11840
|
},
|
|
11840
11841
|
decrement(e2) {
|
|
11841
|
-
|
|
11842
|
+
uJ(e2, -1);
|
|
11842
11843
|
},
|
|
11843
11844
|
incrementPage(e2) {
|
|
11844
|
-
|
|
11845
|
+
uJ(e2, $3c0fc76039f1c516$var$PAGE_STEP[e2] || 1);
|
|
11845
11846
|
},
|
|
11846
11847
|
decrementPage(e2) {
|
|
11847
|
-
|
|
11848
|
+
uJ(e2, -($3c0fc76039f1c516$var$PAGE_STEP[e2] || 1));
|
|
11848
11849
|
},
|
|
11849
11850
|
incrementToMax(e2) {
|
|
11850
11851
|
let t2 = e2 === "hour" && w === "h12" ? 11 : I.getSegmentLimits(e2).maxValue;
|
|
11851
|
-
|
|
11852
|
+
sJ(I.set(e2, t2, $));
|
|
11852
11853
|
},
|
|
11853
11854
|
decrementToMin(e2) {
|
|
11854
11855
|
let t2 = e2 === "hour" && w === "h12" ? 12 : I.getSegmentLimits(e2).minValue;
|
|
11855
|
-
|
|
11856
|
+
sJ(I.set(e2, t2, $));
|
|
11856
11857
|
},
|
|
11857
11858
|
setSegment(e2, t2) {
|
|
11858
|
-
|
|
11859
|
+
sJ(I.set(e2, t2, $));
|
|
11859
11860
|
},
|
|
11860
11861
|
confirmPlaceholder() {
|
|
11861
|
-
if (!(e.isDisabled || e.isReadOnly) && I.isComplete(
|
|
11862
|
+
if (!(e.isDisabled || e.isReadOnly) && I.isComplete(eJ)) {
|
|
11862
11863
|
let e2 = $11d87f3f76e88657$export$b4a036af3fc0b032(I.toValue(M ?? $), (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec());
|
|
11863
11864
|
(!E || e2.compare(E) !== 0) && O(e2), z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M));
|
|
11864
11865
|
}
|
|
11865
11866
|
},
|
|
11866
11867
|
clearSegment(e2) {
|
|
11867
11868
|
let t2 = I;
|
|
11868
|
-
e2 !== "timeZoneName" && e2 !== "literal" && (t2 = I.clear(e2)),
|
|
11869
|
+
e2 !== "timeZoneName" && e2 !== "literal" && (t2 = I.clear(e2)), sJ(t2);
|
|
11869
11870
|
},
|
|
11870
11871
|
formatValue(e2) {
|
|
11871
|
-
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(cJ) : "";
|
|
11872
11873
|
},
|
|
11873
11874
|
getDateFormatter(e2, t2) {
|
|
11874
11875
|
return new $fb18d541ea1ad717$export$ad991b66133851cf(e2, $35a22f14a1f04b11$export$7e319ea407e63bc0({}, {
|
|
@@ -11988,7 +11989,7 @@ Defaulting to \`null\`.`;
|
|
|
11988
11989
|
e.endName
|
|
11989
11990
|
]),
|
|
11990
11991
|
builtinValidation: J
|
|
11991
|
-
}), $ = Q.displayValidation.isInvalid,
|
|
11992
|
+
}), $ = Q.displayValidation.isInvalid, eJ = e.validationState || ($ ? "invalid" : null);
|
|
11992
11993
|
return {
|
|
11993
11994
|
...Q,
|
|
11994
11995
|
value: c,
|
|
@@ -12034,7 +12035,7 @@ Defaulting to \`null\`.`;
|
|
|
12034
12035
|
end: (w == null ? void 0 : w.end) || $35a22f14a1f04b11$export$c5221a78ef73c5e9(e.placeholderValue)
|
|
12035
12036
|
}), t.setOpen(n2);
|
|
12036
12037
|
},
|
|
12037
|
-
validationState:
|
|
12038
|
+
validationState: eJ,
|
|
12038
12039
|
isInvalid: $,
|
|
12039
12040
|
formatValue(t2, n2) {
|
|
12040
12041
|
if (!c || !c.start || !c.end) return null;
|
|
@@ -15906,33 +15907,33 @@ try {
|
|
|
15906
15907
|
}, f = import_react.createContext(void 0), h = () => import_react.useContext(f) || d, _ = {}, v = {};
|
|
15907
15908
|
function y(e2) {
|
|
15908
15909
|
var _a2, _b, _c, _d;
|
|
15909
|
-
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,
|
|
15910
|
+
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, eJ = import_react.useMemo(() => h2 || (typeof n == "function" ? n() : n), [
|
|
15910
15911
|
h2
|
|
15911
|
-
]),
|
|
15912
|
-
|
|
15913
|
-
]),
|
|
15914
|
-
supportedColorSchemes:
|
|
15915
|
-
defaultLightColorScheme:
|
|
15916
|
-
defaultDarkColorScheme:
|
|
15912
|
+
]), tJ = eJ[t], nJ = tJ || eJ, { colorSchemes: rJ = _, components: iJ = v, cssVarPrefix: aJ } = nJ, oJ = Object.keys(rJ).filter((e3) => !!rJ[e3]).join(","), sJ = import_react.useMemo(() => oJ.split(","), [
|
|
15913
|
+
oJ
|
|
15914
|
+
]), cJ = typeof s == "string" ? s : s.light, lJ = typeof s == "string" ? s : s.dark, { mode: uJ, setMode: dJ, systemMode: fJ, lightColorScheme: pJ, darkColorScheme: mJ, colorScheme: hJ, setColorScheme: gJ } = useCurrentColorScheme({
|
|
15915
|
+
supportedColorSchemes: sJ,
|
|
15916
|
+
defaultLightColorScheme: cJ,
|
|
15917
|
+
defaultDarkColorScheme: lJ,
|
|
15917
15918
|
modeStorageKey: y2,
|
|
15918
15919
|
colorSchemeStorageKey: S2,
|
|
15919
|
-
defaultMode:
|
|
15920
|
+
defaultMode: rJ[cJ] && rJ[lJ] ? U : ((_b = (_a2 = rJ[nJ.defaultColorScheme]) == null ? void 0 : _a2.palette) == null ? void 0 : _b.mode) || ((_c = nJ.palette) == null ? void 0 : _c.mode),
|
|
15920
15921
|
storageManager: E,
|
|
15921
15922
|
storageWindow: O,
|
|
15922
15923
|
noSsr: K
|
|
15923
|
-
}),
|
|
15924
|
-
$ && (
|
|
15925
|
-
let
|
|
15924
|
+
}), _J = uJ, vJ = hJ;
|
|
15925
|
+
$ && (_J = Q.mode, vJ = Q.colorScheme);
|
|
15926
|
+
let yJ = import_react.useMemo(() => {
|
|
15926
15927
|
var _a3;
|
|
15927
|
-
let e3 =
|
|
15928
|
-
...
|
|
15929
|
-
components:
|
|
15930
|
-
colorSchemes:
|
|
15931
|
-
cssVarPrefix:
|
|
15928
|
+
let e3 = vJ || nJ.defaultColorScheme, t2 = ((_a3 = nJ.generateThemeVars) == null ? void 0 : _a3.call(nJ)) || nJ.vars, n2 = {
|
|
15929
|
+
...nJ,
|
|
15930
|
+
components: iJ,
|
|
15931
|
+
colorSchemes: rJ,
|
|
15932
|
+
cssVarPrefix: aJ,
|
|
15932
15933
|
vars: t2
|
|
15933
15934
|
};
|
|
15934
15935
|
if (typeof n2.generateSpacing == "function" && (n2.spacing = n2.generateSpacing()), e3) {
|
|
15935
|
-
let t3 =
|
|
15936
|
+
let t3 = rJ[e3];
|
|
15936
15937
|
t3 && typeof t3 == "object" && Object.keys(t3).forEach((e4) => {
|
|
15937
15938
|
t3[e4] && typeof t3[e4] == "object" ? n2[e4] = {
|
|
15938
15939
|
...n2[e4],
|
|
@@ -15942,31 +15943,31 @@ try {
|
|
|
15942
15943
|
}
|
|
15943
15944
|
return c ? c(n2) : n2;
|
|
15944
15945
|
}, [
|
|
15945
|
-
|
|
15946
|
-
|
|
15947
|
-
|
|
15948
|
-
|
|
15949
|
-
|
|
15950
|
-
]),
|
|
15946
|
+
nJ,
|
|
15947
|
+
vJ,
|
|
15948
|
+
iJ,
|
|
15949
|
+
rJ,
|
|
15950
|
+
aJ
|
|
15951
|
+
]), bJ = nJ.colorSchemeSelector;
|
|
15951
15952
|
useEnhancedEffect_default(() => {
|
|
15952
|
-
if (
|
|
15953
|
-
let e3 =
|
|
15954
|
-
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(...
|
|
15953
|
+
if (vJ && M && bJ && bJ !== "media") {
|
|
15954
|
+
let e3 = bJ, t2 = bJ;
|
|
15955
|
+
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(...sJ.map((e4) => t2.substring(1).replace("%s", e4))), M.classList.add(t2.substring(1).replace("%s", vJ));
|
|
15955
15956
|
else {
|
|
15956
|
-
let e4 = t2.replace("%s",
|
|
15957
|
+
let e4 = t2.replace("%s", vJ).match(/\[([^\]]+)\]/);
|
|
15957
15958
|
if (e4) {
|
|
15958
15959
|
let [t3, n2] = e4[1].split("=");
|
|
15959
|
-
n2 ||
|
|
15960
|
-
M.removeAttribute(t3.replace(
|
|
15960
|
+
n2 || sJ.forEach((e5) => {
|
|
15961
|
+
M.removeAttribute(t3.replace(vJ, e5));
|
|
15961
15962
|
}), M.setAttribute(t3, n2 ? n2.replace(/"|'/g, "") : "");
|
|
15962
|
-
} else M.setAttribute(t2,
|
|
15963
|
+
} else M.setAttribute(t2, vJ);
|
|
15963
15964
|
}
|
|
15964
15965
|
}
|
|
15965
15966
|
}, [
|
|
15966
|
-
|
|
15967
|
-
|
|
15967
|
+
vJ,
|
|
15968
|
+
bJ,
|
|
15968
15969
|
M,
|
|
15969
|
-
|
|
15970
|
+
sJ
|
|
15970
15971
|
]), import_react.useEffect(() => {
|
|
15971
15972
|
let e3;
|
|
15972
15973
|
if (w2 && q.current && A) {
|
|
@@ -15979,48 +15980,48 @@ try {
|
|
|
15979
15980
|
clearTimeout(e3);
|
|
15980
15981
|
};
|
|
15981
15982
|
}, [
|
|
15982
|
-
|
|
15983
|
+
vJ,
|
|
15983
15984
|
w2,
|
|
15984
15985
|
A
|
|
15985
15986
|
]), import_react.useEffect(() => (q.current = true, () => {
|
|
15986
15987
|
q.current = false;
|
|
15987
15988
|
}), []);
|
|
15988
|
-
let
|
|
15989
|
-
allColorSchemes:
|
|
15990
|
-
colorScheme:
|
|
15991
|
-
darkColorScheme:
|
|
15992
|
-
lightColorScheme:
|
|
15993
|
-
mode:
|
|
15994
|
-
setColorScheme:
|
|
15995
|
-
setMode:
|
|
15996
|
-
systemMode:
|
|
15989
|
+
let xJ = import_react.useMemo(() => ({
|
|
15990
|
+
allColorSchemes: sJ,
|
|
15991
|
+
colorScheme: vJ,
|
|
15992
|
+
darkColorScheme: mJ,
|
|
15993
|
+
lightColorScheme: pJ,
|
|
15994
|
+
mode: _J,
|
|
15995
|
+
setColorScheme: gJ,
|
|
15996
|
+
setMode: dJ,
|
|
15997
|
+
systemMode: fJ
|
|
15997
15998
|
}), [
|
|
15998
|
-
|
|
15999
|
-
|
|
15999
|
+
sJ,
|
|
16000
|
+
vJ,
|
|
16001
|
+
mJ,
|
|
16002
|
+
pJ,
|
|
16000
16003
|
_J,
|
|
16001
16004
|
gJ,
|
|
16002
|
-
|
|
16003
|
-
|
|
16004
|
-
|
|
16005
|
-
|
|
16006
|
-
|
|
16007
|
-
|
|
16008
|
-
(z || aJ.cssVariables === false || $ && (J == null ? void 0 : J.cssVarPrefix) === cJ) && (TJ = false);
|
|
16009
|
-
let EJ = (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
|
|
16005
|
+
dJ,
|
|
16006
|
+
fJ,
|
|
16007
|
+
yJ.colorSchemeSelector
|
|
16008
|
+
]), SJ = true;
|
|
16009
|
+
(z || nJ.cssVariables === false || $ && (J == null ? void 0 : J.cssVarPrefix) === aJ) && (SJ = false);
|
|
16010
|
+
let CJ = (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
|
|
16010
16011
|
children: [
|
|
16011
16012
|
(0, import_jsx_runtime.jsx)(ThemeProvider_default, {
|
|
16012
|
-
themeId:
|
|
16013
|
-
theme:
|
|
16013
|
+
themeId: tJ ? t : void 0,
|
|
16014
|
+
theme: yJ,
|
|
16014
16015
|
children: d2
|
|
16015
16016
|
}),
|
|
16016
|
-
|
|
16017
|
-
styles: ((_d =
|
|
16017
|
+
SJ && (0, import_jsx_runtime.jsx)(GlobalStyles$1, {
|
|
16018
|
+
styles: ((_d = yJ.generateStyleSheets) == null ? void 0 : _d.call(yJ)) || []
|
|
16018
16019
|
})
|
|
16019
16020
|
]
|
|
16020
16021
|
});
|
|
16021
|
-
return $ ?
|
|
16022
|
-
value:
|
|
16023
|
-
children:
|
|
16022
|
+
return $ ? CJ : (0, import_jsx_runtime.jsx)(f.Provider, {
|
|
16023
|
+
value: xJ,
|
|
16024
|
+
children: CJ
|
|
16024
16025
|
});
|
|
16025
16026
|
}
|
|
16026
16027
|
let S = typeof s == "string" ? s : s.light, w = typeof s == "string" ? s : s.dark;
|
|
@@ -17520,10 +17521,10 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
17520
17521
|
let n = useDefaultProps({
|
|
17521
17522
|
props: e,
|
|
17522
17523
|
name: "MuiInputBase"
|
|
17523
|
-
}), { "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:
|
|
17524
|
-
}, []),
|
|
17524
|
+
}), { "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: eJ, onKeyDown: tJ, onKeyUp: nJ, placeholder: rJ, readOnly: iJ, renderSuffix: aJ, rows: oJ, size: sJ, slotProps: cJ = {}, slots: lJ = {}, startAdornment: uJ, type: dJ = "text", value: fJ, ...pJ } = n, mJ = A.value == null ? fJ : A.value, { current: hJ } = import_react.useRef(mJ != null), gJ = import_react.useRef(), _J = import_react.useCallback((e2) => {
|
|
17525
|
+
}, []), vJ = useForkRef_default(gJ, M, A.ref, _J), [yJ, bJ] = import_react.useState(false), xJ = useFormControl(), SJ = formControlState({
|
|
17525
17526
|
props: n,
|
|
17526
|
-
muiFormControl:
|
|
17527
|
+
muiFormControl: xJ,
|
|
17527
17528
|
states: [
|
|
17528
17529
|
"color",
|
|
17529
17530
|
"disabled",
|
|
@@ -17534,145 +17535,145 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
17534
17535
|
"filled"
|
|
17535
17536
|
]
|
|
17536
17537
|
});
|
|
17537
|
-
|
|
17538
|
-
!
|
|
17538
|
+
SJ.focused = xJ ? xJ.focused : yJ, import_react.useEffect(() => {
|
|
17539
|
+
!xJ && _ && yJ && (bJ(false), J && J());
|
|
17539
17540
|
}, [
|
|
17540
|
-
|
|
17541
|
+
xJ,
|
|
17541
17542
|
_,
|
|
17542
|
-
|
|
17543
|
+
yJ,
|
|
17543
17544
|
J
|
|
17544
17545
|
]);
|
|
17545
|
-
let
|
|
17546
|
-
isFilled(e2) ?
|
|
17546
|
+
let CJ = xJ && xJ.onFilled, wJ = xJ && xJ.onEmpty, TJ = import_react.useCallback((e2) => {
|
|
17547
|
+
isFilled(e2) ? CJ && CJ() : wJ && wJ();
|
|
17547
17548
|
}, [
|
|
17548
|
-
|
|
17549
|
-
|
|
17549
|
+
CJ,
|
|
17550
|
+
wJ
|
|
17550
17551
|
]);
|
|
17551
17552
|
useEnhancedEffect_default$1(() => {
|
|
17552
|
-
|
|
17553
|
-
value:
|
|
17553
|
+
hJ && TJ({
|
|
17554
|
+
value: mJ
|
|
17554
17555
|
});
|
|
17555
17556
|
}, [
|
|
17556
|
-
|
|
17557
|
-
|
|
17558
|
-
|
|
17557
|
+
mJ,
|
|
17558
|
+
TJ,
|
|
17559
|
+
hJ
|
|
17559
17560
|
]);
|
|
17560
|
-
let
|
|
17561
|
-
|
|
17562
|
-
},
|
|
17563
|
-
J && J(e2), A.onBlur && A.onBlur(e2),
|
|
17564
|
-
},
|
|
17565
|
-
if (!
|
|
17566
|
-
let t3 = e2.target ||
|
|
17561
|
+
let EJ = (e2) => {
|
|
17562
|
+
eJ && eJ(e2), A.onFocus && A.onFocus(e2), xJ && xJ.onFocus ? xJ.onFocus(e2) : bJ(true);
|
|
17563
|
+
}, DJ = (e2) => {
|
|
17564
|
+
J && J(e2), A.onBlur && A.onBlur(e2), xJ && xJ.onBlur ? xJ.onBlur(e2) : bJ(false);
|
|
17565
|
+
}, OJ = (e2, ...t2) => {
|
|
17566
|
+
if (!hJ) {
|
|
17567
|
+
let t3 = e2.target || gJ.current;
|
|
17567
17568
|
if (t3 == null) throw Error(formatMuiErrorMessage(1));
|
|
17568
|
-
|
|
17569
|
+
TJ({
|
|
17569
17570
|
value: t3.value
|
|
17570
17571
|
});
|
|
17571
17572
|
}
|
|
17572
17573
|
A.onChange && A.onChange(e2, ...t2), Q && Q(e2, ...t2);
|
|
17573
17574
|
};
|
|
17574
17575
|
import_react.useEffect(() => {
|
|
17575
|
-
|
|
17576
|
+
TJ(gJ.current);
|
|
17576
17577
|
}, []);
|
|
17577
|
-
let
|
|
17578
|
-
|
|
17579
|
-
},
|
|
17580
|
-
K &&
|
|
17578
|
+
let kJ = (e2) => {
|
|
17579
|
+
gJ.current && e2.currentTarget === e2.target && gJ.current.focus(), $ && $(e2);
|
|
17580
|
+
}, AJ = O, jJ = A;
|
|
17581
|
+
K && AJ === "input" && (jJ = oJ ? {
|
|
17581
17582
|
type: void 0,
|
|
17582
|
-
minRows:
|
|
17583
|
-
maxRows:
|
|
17584
|
-
...
|
|
17583
|
+
minRows: oJ,
|
|
17584
|
+
maxRows: oJ,
|
|
17585
|
+
...jJ
|
|
17585
17586
|
} : {
|
|
17586
17587
|
type: void 0,
|
|
17587
17588
|
maxRows: z,
|
|
17588
17589
|
minRows: U,
|
|
17589
|
-
...
|
|
17590
|
-
},
|
|
17591
|
-
let
|
|
17592
|
-
|
|
17590
|
+
...jJ
|
|
17591
|
+
}, AJ = TextareaAutosize_default);
|
|
17592
|
+
let MJ = (e2) => {
|
|
17593
|
+
TJ(e2.animationName === "mui-auto-fill-cancel" ? gJ.current : {
|
|
17593
17594
|
value: "x"
|
|
17594
17595
|
});
|
|
17595
17596
|
};
|
|
17596
17597
|
import_react.useEffect(() => {
|
|
17597
|
-
|
|
17598
|
+
xJ && xJ.setAdornedStart(!!uJ);
|
|
17598
17599
|
}, [
|
|
17599
|
-
|
|
17600
|
-
|
|
17600
|
+
xJ,
|
|
17601
|
+
uJ
|
|
17601
17602
|
]);
|
|
17602
|
-
let
|
|
17603
|
+
let NJ = {
|
|
17603
17604
|
...n,
|
|
17604
|
-
color:
|
|
17605
|
-
disabled:
|
|
17605
|
+
color: SJ.color || "primary",
|
|
17606
|
+
disabled: SJ.disabled,
|
|
17606
17607
|
endAdornment: y,
|
|
17607
|
-
error:
|
|
17608
|
-
focused:
|
|
17609
|
-
formControl:
|
|
17608
|
+
error: SJ.error,
|
|
17609
|
+
focused: SJ.focused,
|
|
17610
|
+
formControl: xJ,
|
|
17610
17611
|
fullWidth: w,
|
|
17611
|
-
hiddenLabel:
|
|
17612
|
+
hiddenLabel: SJ.hiddenLabel,
|
|
17612
17613
|
multiline: K,
|
|
17613
|
-
size:
|
|
17614
|
-
startAdornment:
|
|
17615
|
-
type:
|
|
17616
|
-
},
|
|
17617
|
-
return
|
|
17618
|
-
...
|
|
17619
|
-
...
|
|
17614
|
+
size: SJ.size,
|
|
17615
|
+
startAdornment: uJ,
|
|
17616
|
+
type: dJ
|
|
17617
|
+
}, PJ = useUtilityClasses(NJ), FJ = lJ.root || d.Root || InputBaseRoot, IJ = cJ.root || f.root || {}, LJ = lJ.input || d.Input || InputBaseInput;
|
|
17618
|
+
return jJ = {
|
|
17619
|
+
...jJ,
|
|
17620
|
+
...cJ.input ?? f.input
|
|
17620
17621
|
}, (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
|
|
17621
17622
|
children: [
|
|
17622
17623
|
!v && typeof InputGlobalStyles == "function" && (_InputGlobalStyles || (_InputGlobalStyles = (0, import_jsx_runtime.jsx)(InputGlobalStyles, {}))),
|
|
17623
|
-
(0, import_jsx_runtime.jsxs)(
|
|
17624
|
-
...
|
|
17624
|
+
(0, import_jsx_runtime.jsxs)(FJ, {
|
|
17625
|
+
...IJ,
|
|
17625
17626
|
ref: t,
|
|
17626
|
-
onClick:
|
|
17627
|
-
...
|
|
17628
|
-
...!isHostComponent_default(
|
|
17627
|
+
onClick: kJ,
|
|
17628
|
+
...pJ,
|
|
17629
|
+
...!isHostComponent_default(FJ) && {
|
|
17629
17630
|
ownerState: {
|
|
17630
|
-
...
|
|
17631
|
-
...
|
|
17631
|
+
...NJ,
|
|
17632
|
+
...IJ.ownerState
|
|
17632
17633
|
}
|
|
17633
17634
|
},
|
|
17634
|
-
className: clsx_default(
|
|
17635
|
+
className: clsx_default(PJ.root, IJ.className, s, iJ && "MuiInputBase-readOnly"),
|
|
17635
17636
|
children: [
|
|
17636
|
-
|
|
17637
|
+
uJ,
|
|
17637
17638
|
(0, import_jsx_runtime.jsx)(FormControlContext_default.Provider, {
|
|
17638
17639
|
value: null,
|
|
17639
|
-
children: (0, import_jsx_runtime.jsx)(
|
|
17640
|
-
"aria-invalid":
|
|
17640
|
+
children: (0, import_jsx_runtime.jsx)(LJ, {
|
|
17641
|
+
"aria-invalid": SJ.error,
|
|
17641
17642
|
"aria-describedby": i,
|
|
17642
17643
|
autoComplete: a,
|
|
17643
17644
|
autoFocus: o,
|
|
17644
17645
|
defaultValue: h,
|
|
17645
|
-
disabled:
|
|
17646
|
+
disabled: SJ.disabled,
|
|
17646
17647
|
id: E,
|
|
17647
|
-
onAnimationStart:
|
|
17648
|
+
onAnimationStart: MJ,
|
|
17648
17649
|
name: q,
|
|
17649
|
-
placeholder:
|
|
17650
|
-
readOnly:
|
|
17651
|
-
required:
|
|
17652
|
-
rows:
|
|
17653
|
-
value:
|
|
17654
|
-
onKeyDown:
|
|
17655
|
-
onKeyUp:
|
|
17656
|
-
type:
|
|
17657
|
-
...
|
|
17658
|
-
...!isHostComponent_default(
|
|
17659
|
-
as:
|
|
17650
|
+
placeholder: rJ,
|
|
17651
|
+
readOnly: iJ,
|
|
17652
|
+
required: SJ.required,
|
|
17653
|
+
rows: oJ,
|
|
17654
|
+
value: mJ,
|
|
17655
|
+
onKeyDown: tJ,
|
|
17656
|
+
onKeyUp: nJ,
|
|
17657
|
+
type: dJ,
|
|
17658
|
+
...jJ,
|
|
17659
|
+
...!isHostComponent_default(LJ) && {
|
|
17660
|
+
as: AJ,
|
|
17660
17661
|
ownerState: {
|
|
17661
|
-
...
|
|
17662
|
-
...
|
|
17662
|
+
...NJ,
|
|
17663
|
+
...jJ.ownerState
|
|
17663
17664
|
}
|
|
17664
17665
|
},
|
|
17665
|
-
ref:
|
|
17666
|
-
className: clsx_default(
|
|
17667
|
-
onBlur:
|
|
17668
|
-
onChange:
|
|
17669
|
-
onFocus:
|
|
17666
|
+
ref: vJ,
|
|
17667
|
+
className: clsx_default(PJ.input, jJ.className, iJ && "MuiInputBase-readOnly"),
|
|
17668
|
+
onBlur: DJ,
|
|
17669
|
+
onChange: OJ,
|
|
17670
|
+
onFocus: EJ
|
|
17670
17671
|
})
|
|
17671
17672
|
}),
|
|
17672
17673
|
y,
|
|
17673
|
-
|
|
17674
|
-
...
|
|
17675
|
-
startAdornment:
|
|
17674
|
+
aJ ? aJ({
|
|
17675
|
+
...SJ,
|
|
17676
|
+
startAdornment: uJ
|
|
17676
17677
|
}) : null
|
|
17677
17678
|
]
|
|
17678
17679
|
})
|
|
@@ -18748,30 +18749,30 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18748
18749
|
M,
|
|
18749
18750
|
i,
|
|
18750
18751
|
a
|
|
18751
|
-
]), 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),
|
|
18752
|
-
|
|
18752
|
+
]), 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), eJ = useTextColor(), tJ = useJsonViewerStore((e2) => e2.colorspace.base0C), nJ = useJsonViewerStore((e2) => e2.colorspace.base0A), rJ = useJsonViewerStore((e2) => e2.displayComma), iJ = useJsonViewerStore((e2) => e2.quotesOnKeys), aJ = useJsonViewerStore((e2) => e2.rootName), oJ = U === t, sJ = Number.isInteger(Number(A)), cJ = useJsonViewerStore((e2) => e2.enableAdd), lJ = useJsonViewerStore((e2) => e2.onAdd), uJ = (0, import_react.useMemo)(() => !lJ || a !== void 0 || cJ === false || v === false ? false : typeof cJ == "function" ? !!cJ(i, t) : !!(Array.isArray(t) || isPlainObject(t)), [
|
|
18753
|
+
lJ,
|
|
18753
18754
|
a,
|
|
18754
18755
|
i,
|
|
18755
|
-
|
|
18756
|
+
cJ,
|
|
18756
18757
|
v,
|
|
18757
18758
|
t
|
|
18758
|
-
]),
|
|
18759
|
-
|
|
18759
|
+
]), dJ = useJsonViewerStore((e2) => e2.enableDelete), fJ = useJsonViewerStore((e2) => e2.onDelete), pJ = (0, import_react.useMemo)(() => !fJ || a !== void 0 || oJ || dJ === false || v === false ? false : typeof dJ == "function" ? !!dJ(i, t) : dJ, [
|
|
18760
|
+
fJ,
|
|
18760
18761
|
a,
|
|
18761
|
-
|
|
18762
|
+
oJ,
|
|
18762
18763
|
i,
|
|
18763
|
-
|
|
18764
|
+
dJ,
|
|
18764
18765
|
v,
|
|
18765
18766
|
t
|
|
18766
|
-
]),
|
|
18767
|
-
|
|
18767
|
+
]), mJ = useJsonViewerStore((e2) => e2.enableClipboard), { copy: hJ, copied: gJ } = useClipboard(), _J = useJsonViewerStore((e2) => e2.highlightUpdates), vJ = (0, import_react.useMemo)(() => !_J || 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, [
|
|
18768
|
+
_J,
|
|
18768
18769
|
n,
|
|
18769
18770
|
t
|
|
18770
|
-
]),
|
|
18771
|
+
]), yJ = (0, import_react.useRef)();
|
|
18771
18772
|
(0, import_react.useEffect)(() => {
|
|
18772
|
-
|
|
18773
|
+
yJ.current && vJ && "animate" in yJ.current && yJ.current.animate([
|
|
18773
18774
|
{
|
|
18774
|
-
backgroundColor:
|
|
18775
|
+
backgroundColor: nJ
|
|
18775
18776
|
},
|
|
18776
18777
|
{
|
|
18777
18778
|
backgroundColor: ""
|
|
@@ -18781,22 +18782,22 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18781
18782
|
easing: "ease-in"
|
|
18782
18783
|
});
|
|
18783
18784
|
}, [
|
|
18784
|
-
|
|
18785
|
-
|
|
18785
|
+
nJ,
|
|
18786
|
+
vJ,
|
|
18786
18787
|
n,
|
|
18787
18788
|
t
|
|
18788
18789
|
]);
|
|
18789
|
-
let
|
|
18790
|
+
let bJ = (0, import_react.useCallback)((e2) => {
|
|
18790
18791
|
e2.preventDefault(), h && E(h(t)), Q(true);
|
|
18791
18792
|
}, [
|
|
18792
18793
|
h,
|
|
18793
18794
|
t
|
|
18794
|
-
]),
|
|
18795
|
+
]), xJ = (0, import_react.useCallback)(() => {
|
|
18795
18796
|
Q(false), E("");
|
|
18796
18797
|
}, [
|
|
18797
18798
|
Q,
|
|
18798
18799
|
E
|
|
18799
|
-
]),
|
|
18800
|
+
]), SJ = (0, import_react.useCallback)((e2) => {
|
|
18800
18801
|
if (Q(false), _) try {
|
|
18801
18802
|
$(i, t, _(e2));
|
|
18802
18803
|
} catch {
|
|
@@ -18807,14 +18808,14 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18807
18808
|
$,
|
|
18808
18809
|
i,
|
|
18809
18810
|
t
|
|
18810
|
-
]),
|
|
18811
|
+
]), CJ = (0, import_react.useMemo)(() => J ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
18811
18812
|
children: [
|
|
18812
18813
|
(0, import_jsx_runtime.jsx)(IconBox, {
|
|
18813
18814
|
children: (0, import_jsx_runtime.jsx)(CloseIcon, {
|
|
18814
18815
|
sx: {
|
|
18815
18816
|
fontSize: ".8rem"
|
|
18816
18817
|
},
|
|
18817
|
-
onClick:
|
|
18818
|
+
onClick: xJ
|
|
18818
18819
|
})
|
|
18819
18820
|
}),
|
|
18820
18821
|
(0, import_jsx_runtime.jsx)(IconBox, {
|
|
@@ -18822,22 +18823,22 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18822
18823
|
sx: {
|
|
18823
18824
|
fontSize: ".8rem"
|
|
18824
18825
|
},
|
|
18825
|
-
onClick: () =>
|
|
18826
|
+
onClick: () => SJ(w)
|
|
18826
18827
|
})
|
|
18827
18828
|
})
|
|
18828
18829
|
]
|
|
18829
18830
|
}) : (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
18830
18831
|
children: [
|
|
18831
|
-
|
|
18832
|
+
mJ && (0, import_jsx_runtime.jsx)(IconBox, {
|
|
18832
18833
|
onClick: (e2) => {
|
|
18833
18834
|
e2.preventDefault();
|
|
18834
18835
|
try {
|
|
18835
|
-
|
|
18836
|
+
hJ(i, t, copyString);
|
|
18836
18837
|
} catch (e3) {
|
|
18837
18838
|
console.error(e3);
|
|
18838
18839
|
}
|
|
18839
18840
|
},
|
|
18840
|
-
children:
|
|
18841
|
+
children: gJ ? (0, import_jsx_runtime.jsx)(CheckIcon$1, {
|
|
18841
18842
|
sx: {
|
|
18842
18843
|
fontSize: ".8rem"
|
|
18843
18844
|
}
|
|
@@ -18848,16 +18849,16 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18848
18849
|
})
|
|
18849
18850
|
}),
|
|
18850
18851
|
f && S && h && _ && (0, import_jsx_runtime.jsx)(IconBox, {
|
|
18851
|
-
onClick:
|
|
18852
|
+
onClick: bJ,
|
|
18852
18853
|
children: (0, import_jsx_runtime.jsx)(EditIcon, {
|
|
18853
18854
|
sx: {
|
|
18854
18855
|
fontSize: ".8rem"
|
|
18855
18856
|
}
|
|
18856
18857
|
})
|
|
18857
18858
|
}),
|
|
18858
|
-
|
|
18859
|
+
uJ && (0, import_jsx_runtime.jsx)(IconBox, {
|
|
18859
18860
|
onClick: (e2) => {
|
|
18860
|
-
e2.preventDefault(),
|
|
18861
|
+
e2.preventDefault(), lJ == null ? void 0 : lJ(i);
|
|
18861
18862
|
},
|
|
18862
18863
|
children: (0, import_jsx_runtime.jsx)(AddBoxIcon, {
|
|
18863
18864
|
sx: {
|
|
@@ -18865,9 +18866,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18865
18866
|
}
|
|
18866
18867
|
})
|
|
18867
18868
|
}),
|
|
18868
|
-
|
|
18869
|
+
pJ && (0, import_jsx_runtime.jsx)(IconBox, {
|
|
18869
18870
|
onClick: (e2) => {
|
|
18870
|
-
e2.preventDefault(),
|
|
18871
|
+
e2.preventDefault(), fJ == null ? void 0 : fJ(i, t);
|
|
18871
18872
|
},
|
|
18872
18873
|
children: (0, import_jsx_runtime.jsx)(DeleteIcon, {
|
|
18873
18874
|
sx: {
|
|
@@ -18880,24 +18881,24 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18880
18881
|
f,
|
|
18881
18882
|
h,
|
|
18882
18883
|
_,
|
|
18883
|
-
|
|
18884
|
-
|
|
18884
|
+
gJ,
|
|
18885
|
+
hJ,
|
|
18885
18886
|
S,
|
|
18886
18887
|
J,
|
|
18887
|
-
|
|
18888
|
+
mJ,
|
|
18889
|
+
uJ,
|
|
18888
18890
|
pJ,
|
|
18889
|
-
gJ,
|
|
18890
18891
|
w,
|
|
18891
18892
|
i,
|
|
18892
18893
|
t,
|
|
18894
|
+
lJ,
|
|
18893
18895
|
fJ,
|
|
18894
|
-
|
|
18895
|
-
|
|
18896
|
-
|
|
18897
|
-
|
|
18898
|
-
]), DJ = (0, import_react.useMemo)(() => getValueSize(t) === 0, [
|
|
18896
|
+
bJ,
|
|
18897
|
+
xJ,
|
|
18898
|
+
SJ
|
|
18899
|
+
]), wJ = (0, import_react.useMemo)(() => getValueSize(t) === 0, [
|
|
18899
18900
|
t
|
|
18900
|
-
]),
|
|
18901
|
+
]), TJ = !wJ && !!(c && d), EJ = useJsonViewerStore((e2) => e2.keyRenderer), DJ = (0, import_react.useMemo)(() => ({
|
|
18901
18902
|
path: i,
|
|
18902
18903
|
inspect: K,
|
|
18903
18904
|
setInspect: q,
|
|
@@ -18929,18 +18930,18 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18929
18930
|
className: "data-key",
|
|
18930
18931
|
sx: {
|
|
18931
18932
|
lineHeight: 1.5,
|
|
18932
|
-
color:
|
|
18933
|
+
color: eJ,
|
|
18933
18934
|
letterSpacing: 0.5,
|
|
18934
18935
|
opacity: 0.8
|
|
18935
18936
|
},
|
|
18936
18937
|
onClick: (0, import_react.useCallback)((e2) => {
|
|
18937
|
-
e2.isDefaultPrevented() ||
|
|
18938
|
+
e2.isDefaultPrevented() || wJ || q((e3) => !e3);
|
|
18938
18939
|
}, [
|
|
18939
|
-
|
|
18940
|
+
wJ,
|
|
18940
18941
|
q
|
|
18941
18942
|
]),
|
|
18942
18943
|
children: [
|
|
18943
|
-
|
|
18944
|
+
TJ ? K ? (0, import_jsx_runtime.jsx)(ExpandMoreIcon, {
|
|
18944
18945
|
className: "data-key-toggle-expanded",
|
|
18945
18946
|
sx: {
|
|
18946
18947
|
fontSize: ".8rem",
|
|
@@ -18958,27 +18959,27 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18958
18959
|
}
|
|
18959
18960
|
}) : null,
|
|
18960
18961
|
(0, import_jsx_runtime.jsx)(Box_default, {
|
|
18961
|
-
ref:
|
|
18962
|
+
ref: yJ,
|
|
18962
18963
|
className: "data-key-key",
|
|
18963
18964
|
component: "span",
|
|
18964
|
-
children:
|
|
18965
|
+
children: oJ && O === 0 ? aJ === false ? null : iJ ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
18965
18966
|
children: [
|
|
18966
18967
|
'"',
|
|
18967
|
-
|
|
18968
|
+
aJ,
|
|
18968
18969
|
'"'
|
|
18969
18970
|
]
|
|
18970
18971
|
}) : (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {
|
|
18971
|
-
children:
|
|
18972
|
-
}) :
|
|
18973
|
-
...
|
|
18974
|
-
}) : a === void 0 && (
|
|
18972
|
+
children: aJ
|
|
18973
|
+
}) : EJ.when(DJ) ? (0, import_jsx_runtime.jsx)(EJ, {
|
|
18974
|
+
...DJ
|
|
18975
|
+
}) : a === void 0 && (sJ ? (0, import_jsx_runtime.jsx)(Box_default, {
|
|
18975
18976
|
component: "span",
|
|
18976
18977
|
style: {
|
|
18977
|
-
color:
|
|
18978
|
-
userSelect:
|
|
18978
|
+
color: tJ,
|
|
18979
|
+
userSelect: sJ ? "none" : "auto"
|
|
18979
18980
|
},
|
|
18980
18981
|
children: A
|
|
18981
|
-
}) :
|
|
18982
|
+
}) : iJ ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
18982
18983
|
children: [
|
|
18983
18984
|
'"',
|
|
18984
18985
|
A,
|
|
@@ -18988,7 +18989,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18988
18989
|
children: A
|
|
18989
18990
|
}))
|
|
18990
18991
|
}),
|
|
18991
|
-
|
|
18992
|
+
oJ ? aJ !== false && (0, import_jsx_runtime.jsx)(DataBox, {
|
|
18992
18993
|
className: "data-key-colon",
|
|
18993
18994
|
sx: {
|
|
18994
18995
|
mr: 0.5
|
|
@@ -19001,38 +19002,38 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
19001
19002
|
".data-key-key:empty + &": {
|
|
19002
19003
|
display: "none"
|
|
19003
19004
|
},
|
|
19004
|
-
userSelect:
|
|
19005
|
+
userSelect: sJ ? "none" : "auto"
|
|
19005
19006
|
},
|
|
19006
19007
|
children: ":"
|
|
19007
19008
|
}),
|
|
19008
19009
|
c && (0, import_jsx_runtime.jsx)(c, {
|
|
19009
|
-
...
|
|
19010
|
+
...DJ
|
|
19010
19011
|
}),
|
|
19011
|
-
I &&
|
|
19012
|
+
I && TJ && K && CJ
|
|
19012
19013
|
]
|
|
19013
19014
|
}),
|
|
19014
19015
|
J && S ? f && (0, import_jsx_runtime.jsx)(f, {
|
|
19015
19016
|
path: i,
|
|
19016
19017
|
value: w,
|
|
19017
19018
|
setValue: E,
|
|
19018
|
-
abortEditing:
|
|
19019
|
-
commitEditing:
|
|
19019
|
+
abortEditing: xJ,
|
|
19020
|
+
commitEditing: SJ
|
|
19020
19021
|
}) : s ? (0, import_jsx_runtime.jsx)(s, {
|
|
19021
|
-
...
|
|
19022
|
+
...DJ
|
|
19022
19023
|
}) : (0, import_jsx_runtime.jsx)(Box_default, {
|
|
19023
19024
|
component: "span",
|
|
19024
19025
|
className: "data-value-fallback",
|
|
19025
19026
|
children: `fallback: ${t}`
|
|
19026
19027
|
}),
|
|
19027
19028
|
d && (0, import_jsx_runtime.jsx)(d, {
|
|
19028
|
-
...
|
|
19029
|
+
...DJ
|
|
19029
19030
|
}),
|
|
19030
|
-
!o &&
|
|
19031
|
+
!o && rJ && (0, import_jsx_runtime.jsx)(DataBox, {
|
|
19031
19032
|
children: ","
|
|
19032
19033
|
}),
|
|
19033
|
-
I &&
|
|
19034
|
-
I && !
|
|
19035
|
-
!I && J &&
|
|
19034
|
+
I && TJ && !K && CJ,
|
|
19035
|
+
I && !TJ && CJ,
|
|
19036
|
+
!I && J && CJ
|
|
19036
19037
|
]
|
|
19037
19038
|
});
|
|
19038
19039
|
}, query = "(prefers-color-scheme: dark)";
|
|
@@ -20111,7 +20112,7 @@ ${n}` : "Please fix this error.";
|
|
|
20111
20112
|
else if (n.some(_temp3$5)) d = "Ancestor prevented from running", f = "default", _ = "text-secondary-foreground";
|
|
20112
20113
|
else if (n.some(_temp4$5)) d = "Ancestor stopped", f = "default", _ = "text-secondary-foreground";
|
|
20113
20114
|
else if (n.some(_temp5$3)) d = "SQL error";
|
|
20114
|
-
else if (n.some(_temp6$
|
|
20115
|
+
else if (n.some(_temp6$2)) d = null, v = "Cell not run";
|
|
20115
20116
|
else {
|
|
20116
20117
|
let e2;
|
|
20117
20118
|
t[0] === n ? e2 = t[1] : (e2 = n.find(_temp7$1), t[0] = n, t[1] = e2);
|
|
@@ -20120,18 +20121,18 @@ ${n}` : "Please fix this error.";
|
|
|
20120
20121
|
}
|
|
20121
20122
|
let y, S, w, E, O, A;
|
|
20122
20123
|
if (t[2] !== f || t[3] !== i || t[4] !== s || t[5] !== o || t[6] !== n || t[7] !== c || t[8] !== v || t[9] !== _ || t[10] !== d) {
|
|
20123
|
-
let e2 = n.filter(_temp8), M2 = n.filter(_temp9), I2 = n.filter(_temp0), z = n.filter(_temp1), U = n.filter(_temp10), K = n.filter(_temp11), q = n.filter(_temp12),
|
|
20124
|
-
t[17] === s ?
|
|
20124
|
+
let e2 = n.filter(_temp8), M2 = n.filter(_temp9), I2 = n.filter(_temp0), z = n.filter(_temp1), U = n.filter(_temp10), K = n.filter(_temp11), q = n.filter(_temp12), Q = n.filter(_temp13), $ = n.filter(_temp14), eJ = n.filter(_temp15), tJ = n.filter(_temp16), nJ = n.filter(_temp17), rJ = n.filter(_temp18), iJ;
|
|
20125
|
+
t[17] === s ? iJ = t[18] : (iJ = () => {
|
|
20125
20126
|
s.openApplication("scratchpad");
|
|
20126
|
-
}, t[17] = s, t[18] =
|
|
20127
|
-
let
|
|
20127
|
+
}, t[17] = s, t[18] = iJ);
|
|
20128
|
+
let aJ = iJ, oJ = () => {
|
|
20128
20129
|
let t2 = [];
|
|
20129
|
-
if (
|
|
20130
|
-
let e3 =
|
|
20130
|
+
if (tJ.length > 0 || nJ.length > 0) {
|
|
20131
|
+
let e3 = tJ.some(_temp19), n2 = !e3 && tJ.some(_temp20);
|
|
20131
20132
|
t2.push((0, import_jsx_runtime.jsxs)("div", {
|
|
20132
20133
|
children: [
|
|
20133
|
-
|
|
20134
|
-
|
|
20134
|
+
tJ.map(_temp21),
|
|
20135
|
+
nJ.map(_temp22),
|
|
20135
20136
|
e3 && (0, import_jsx_runtime.jsxs)(Button, {
|
|
20136
20137
|
size: "xs",
|
|
20137
20138
|
variant: "outline",
|
|
@@ -20162,8 +20163,8 @@ ${n}` : "Please fix this error.";
|
|
|
20162
20163
|
}),
|
|
20163
20164
|
i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
|
|
20164
20165
|
errors: [
|
|
20165
|
-
...
|
|
20166
|
-
...
|
|
20166
|
+
...tJ,
|
|
20167
|
+
...nJ
|
|
20167
20168
|
],
|
|
20168
20169
|
cellId: i
|
|
20169
20170
|
})
|
|
@@ -20324,7 +20325,7 @@ ${n}` : "Please fix this error.";
|
|
|
20324
20325
|
size: "xs",
|
|
20325
20326
|
variant: "link",
|
|
20326
20327
|
className: "my-2 font-normal mx-0 px-0",
|
|
20327
|
-
onClick:
|
|
20328
|
+
onClick: aJ,
|
|
20328
20329
|
children: [
|
|
20329
20330
|
(0, import_jsx_runtime.jsx)(NotebookPen, {
|
|
20330
20331
|
className: "h-3"
|
|
@@ -20499,42 +20500,42 @@ ${n}` : "Please fix this error.";
|
|
|
20499
20500
|
children: q.some(_temp31) ? "Ensure that the referenced cells define the required variables, or turn off strict execution." : "Something is wrong with your declarations. Fix any discrepancies, or turn off strict execution."
|
|
20500
20501
|
})
|
|
20501
20502
|
]
|
|
20502
|
-
}, "strict-exception")),
|
|
20503
|
+
}, "strict-exception")), Q.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
|
|
20503
20504
|
children: [
|
|
20504
|
-
|
|
20505
|
+
Q.map(_temp32),
|
|
20505
20506
|
i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
|
|
20506
|
-
errors:
|
|
20507
|
+
errors: Q,
|
|
20507
20508
|
cellId: i
|
|
20508
20509
|
})
|
|
20509
20510
|
]
|
|
20510
|
-
}, "internal")),
|
|
20511
|
+
}, "internal")), $.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
|
|
20511
20512
|
children: [
|
|
20512
|
-
|
|
20513
|
+
$.map(_temp33),
|
|
20513
20514
|
i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
|
|
20514
|
-
errors:
|
|
20515
|
+
errors: $,
|
|
20515
20516
|
cellId: i
|
|
20516
20517
|
})
|
|
20517
20518
|
]
|
|
20518
|
-
}, "ancestor-prevented")),
|
|
20519
|
+
}, "ancestor-prevented")), eJ.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
|
|
20519
20520
|
children: [
|
|
20520
|
-
|
|
20521
|
+
eJ.map(_temp34),
|
|
20521
20522
|
i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
|
|
20522
|
-
errors:
|
|
20523
|
+
errors: eJ,
|
|
20523
20524
|
cellId: i
|
|
20524
20525
|
})
|
|
20525
20526
|
]
|
|
20526
|
-
}, "ancestor-stopped")),
|
|
20527
|
+
}, "ancestor-stopped")), rJ.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
|
|
20527
20528
|
children: [
|
|
20528
|
-
|
|
20529
|
+
rJ.map(_temp35),
|
|
20529
20530
|
i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
|
|
20530
|
-
errors:
|
|
20531
|
+
errors: rJ,
|
|
20531
20532
|
cellId: i,
|
|
20532
20533
|
className: "mt-2.5"
|
|
20533
20534
|
})
|
|
20534
20535
|
]
|
|
20535
20536
|
}, "sql-errors")), t2;
|
|
20536
|
-
},
|
|
20537
|
-
t[19] === v ?
|
|
20537
|
+
}, sJ;
|
|
20538
|
+
t[19] === v ? sJ = t[20] : (sJ = v && (0, import_jsx_runtime.jsxs)("div", {
|
|
20538
20539
|
className: "flex items-center gap-1 font-code text-[0.6875rem] uppercase tracking-wider text-muted-foreground/70",
|
|
20539
20540
|
children: [
|
|
20540
20541
|
v,
|
|
@@ -20546,22 +20547,22 @@ ${n}` : "Please fix this error.";
|
|
|
20546
20547
|
})
|
|
20547
20548
|
})
|
|
20548
20549
|
]
|
|
20549
|
-
}), t[19] = v, t[20] =
|
|
20550
|
-
let
|
|
20551
|
-
t[21] !== _ || t[22] !== d ? (
|
|
20550
|
+
}), t[19] = v, t[20] = sJ);
|
|
20551
|
+
let cJ;
|
|
20552
|
+
t[21] !== _ || t[22] !== d ? (cJ = d && (0, import_jsx_runtime.jsx)(AlertTitle, {
|
|
20552
20553
|
className: `font-code font-medium ${_}`,
|
|
20553
20554
|
children: d
|
|
20554
|
-
}), t[21] = _, t[22] = d, t[23] =
|
|
20555
|
-
let
|
|
20556
|
-
t[24] !==
|
|
20555
|
+
}), t[21] = _, t[22] = d, t[23] = cJ) : cJ = t[23];
|
|
20556
|
+
let lJ;
|
|
20557
|
+
t[24] !== sJ || t[25] !== cJ ? (lJ = (0, import_jsx_runtime.jsxs)("div", {
|
|
20557
20558
|
className: "space-y-0.5",
|
|
20558
20559
|
children: [
|
|
20559
|
-
|
|
20560
|
-
|
|
20560
|
+
sJ,
|
|
20561
|
+
cJ
|
|
20561
20562
|
]
|
|
20562
|
-
}), t[24] =
|
|
20563
|
-
let
|
|
20564
|
-
y = Alert, E = f, t[27] === o ? O = t[28] : (O = cn("border-none font-code text-sm text-[0.84375rem] p-0 text-muted-foreground normal has-[svg]:pl-0 space-y-2", o), t[27] = o, t[28] = O), A =
|
|
20563
|
+
}), t[24] = sJ, t[25] = cJ, t[26] = lJ) : lJ = t[26];
|
|
20564
|
+
let uJ = lJ;
|
|
20565
|
+
y = Alert, E = f, t[27] === o ? O = t[28] : (O = cn("border-none font-code text-sm text-[0.84375rem] p-0 text-muted-foreground normal has-[svg]:pl-0 space-y-2", o), t[27] = o, t[28] = O), A = uJ, S = "flex flex-col gap-4", w = oJ(), t[2] = f, t[3] = i, t[4] = s, t[5] = o, t[6] = n, t[7] = c, t[8] = v, t[9] = _, t[10] = d, t[11] = y, t[12] = S, t[13] = w, t[14] = E, t[15] = O, t[16] = A;
|
|
20565
20566
|
} else y = t[11], S = t[12], w = t[13], E = t[14], O = t[15], A = t[16];
|
|
20566
20567
|
let M;
|
|
20567
20568
|
t[29] !== S || t[30] !== w ? (M = (0, import_jsx_runtime.jsx)("div", {
|
|
@@ -20593,7 +20594,7 @@ ${n}` : "Please fix this error.";
|
|
|
20593
20594
|
function _temp5$3(e) {
|
|
20594
20595
|
return e.type === "sql-error";
|
|
20595
20596
|
}
|
|
20596
|
-
function _temp6$
|
|
20597
|
+
function _temp6$2(e) {
|
|
20597
20598
|
return e.type === "multiple-defs" || e.type === "cycle" || e.type === "setup-refs" || e.type === "import-star";
|
|
20598
20599
|
}
|
|
20599
20600
|
function _temp7$1(e) {
|
|
@@ -26613,7 +26614,7 @@ ${n}` : "Please fix this error.";
|
|
|
26613
26614
|
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 }) {
|
|
26614
26615
|
let E = (0, import_react.useContext)(PanelGroupContext);
|
|
26615
26616
|
if (E === null) throw Error("Panel components must be rendered within a PanelGroup container");
|
|
26616
|
-
let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E, $ = useUniqueId(s),
|
|
26617
|
+
let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E, $ = useUniqueId(s), eJ = (0, import_react.useRef)({
|
|
26617
26618
|
callbacks: {
|
|
26618
26619
|
onCollapse: f,
|
|
26619
26620
|
onExpand: h,
|
|
@@ -26633,12 +26634,12 @@ ${n}` : "Please fix this error.";
|
|
|
26633
26634
|
(0, import_react.useRef)({
|
|
26634
26635
|
didLogMissingDefaultSizeWarning: false
|
|
26635
26636
|
}), useIsomorphicLayoutEffect$1(() => {
|
|
26636
|
-
let { callbacks: e2, constraints: t2 } =
|
|
26637
|
+
let { callbacks: e2, constraints: t2 } = eJ.current, o2 = {
|
|
26637
26638
|
...t2
|
|
26638
26639
|
};
|
|
26639
|
-
|
|
26640
|
+
eJ.current.id = $, eJ.current.idIsFromProps = s !== void 0, eJ.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(eJ.current, o2);
|
|
26640
26641
|
}), useIsomorphicLayoutEffect$1(() => {
|
|
26641
|
-
let e2 =
|
|
26642
|
+
let e2 = eJ.current;
|
|
26642
26643
|
return q(e2), () => {
|
|
26643
26644
|
Q(e2);
|
|
26644
26645
|
};
|
|
@@ -26649,25 +26650,25 @@ ${n}` : "Please fix this error.";
|
|
|
26649
26650
|
Q
|
|
26650
26651
|
]), (0, import_react.useImperativeHandle)(o, () => ({
|
|
26651
26652
|
collapse: () => {
|
|
26652
|
-
O(
|
|
26653
|
+
O(eJ.current);
|
|
26653
26654
|
},
|
|
26654
26655
|
expand: (e2) => {
|
|
26655
|
-
A(
|
|
26656
|
+
A(eJ.current, e2);
|
|
26656
26657
|
},
|
|
26657
26658
|
getId() {
|
|
26658
26659
|
return $;
|
|
26659
26660
|
},
|
|
26660
26661
|
getSize() {
|
|
26661
|
-
return M(
|
|
26662
|
+
return M(eJ.current);
|
|
26662
26663
|
},
|
|
26663
26664
|
isCollapsed() {
|
|
26664
|
-
return U(
|
|
26665
|
+
return U(eJ.current);
|
|
26665
26666
|
},
|
|
26666
26667
|
isExpanded() {
|
|
26667
|
-
return !U(
|
|
26668
|
+
return !U(eJ.current);
|
|
26668
26669
|
},
|
|
26669
26670
|
resize: (e2) => {
|
|
26670
|
-
J(
|
|
26671
|
+
J(eJ.current, e2);
|
|
26671
26672
|
}
|
|
26672
26673
|
}), [
|
|
26673
26674
|
O,
|
|
@@ -26677,21 +26678,21 @@ ${n}` : "Please fix this error.";
|
|
|
26677
26678
|
$,
|
|
26678
26679
|
J
|
|
26679
26680
|
]);
|
|
26680
|
-
let
|
|
26681
|
+
let tJ = I(eJ.current, a);
|
|
26681
26682
|
return (0, import_react.createElement)(S, {
|
|
26682
26683
|
...w,
|
|
26683
26684
|
children: e,
|
|
26684
26685
|
className: t,
|
|
26685
26686
|
id: $,
|
|
26686
26687
|
style: {
|
|
26687
|
-
...
|
|
26688
|
+
...tJ,
|
|
26688
26689
|
...y
|
|
26689
26690
|
},
|
|
26690
26691
|
[DATA_ATTRIBUTES.groupId]: z,
|
|
26691
26692
|
[DATA_ATTRIBUTES.panel]: "",
|
|
26692
26693
|
[DATA_ATTRIBUTES.panelCollapsible]: i || void 0,
|
|
26693
26694
|
[DATA_ATTRIBUTES.panelId]: $,
|
|
26694
|
-
[DATA_ATTRIBUTES.panelSize]: parseFloat("" +
|
|
26695
|
+
[DATA_ATTRIBUTES.panelSize]: parseFloat("" + tJ.flexGrow).toFixed(1)
|
|
26695
26696
|
});
|
|
26696
26697
|
}
|
|
26697
26698
|
Panel = (0, import_react.forwardRef)((e, t) => (0, import_react.createElement)(PanelWithForwardedRef, {
|
|
@@ -27476,13 +27477,13 @@ ${n}` : "Please fix this error.";
|
|
|
27476
27477
|
}, [
|
|
27477
27478
|
S,
|
|
27478
27479
|
E
|
|
27479
|
-
]),
|
|
27480
|
+
]), eJ = (0, import_react.useCallback)((e2) => {
|
|
27480
27481
|
let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
|
|
27481
27482
|
return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), a2 === true && fuzzyNumbersEqual$1(o2, i2);
|
|
27482
|
-
}, []),
|
|
27483
|
+
}, []), tJ = (0, import_react.useCallback)((e2) => {
|
|
27483
27484
|
let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
|
|
27484
27485
|
return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), !a2 || fuzzyCompareNumbers(o2, i2) > 0;
|
|
27485
|
-
}, []),
|
|
27486
|
+
}, []), nJ = (0, import_react.useCallback)((e2) => {
|
|
27486
27487
|
let { panelDataArray: t2 } = K.current;
|
|
27487
27488
|
t2.push(e2), t2.sort((e3, t3) => {
|
|
27488
27489
|
let n2 = e3.order, i2 = t3.order;
|
|
@@ -27514,7 +27515,7 @@ ${n}` : "Please fix this error.";
|
|
|
27514
27515
|
e2.layout = [];
|
|
27515
27516
|
};
|
|
27516
27517
|
}, []);
|
|
27517
|
-
let
|
|
27518
|
+
let rJ = (0, import_react.useCallback)((e2) => {
|
|
27518
27519
|
let t2 = false, n2 = y.current;
|
|
27519
27520
|
return n2 && window.getComputedStyle(n2, null).getPropertyValue("direction") === "rtl" && (t2 = true), function(n3) {
|
|
27520
27521
|
n3.preventDefault();
|
|
@@ -27532,7 +27533,7 @@ ${n}` : "Please fix this error.";
|
|
|
27532
27533
|
}), I2 = !compareLayouts(f2, A2);
|
|
27533
27534
|
(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));
|
|
27534
27535
|
};
|
|
27535
|
-
}, []),
|
|
27536
|
+
}, []), iJ = (0, import_react.useCallback)((e2, t2) => {
|
|
27536
27537
|
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);
|
|
27537
27538
|
assert(s2 != null, `Panel size not found for panel "${e2.id}"`);
|
|
27538
27539
|
let d2 = adjustLayoutByDelta({
|
|
@@ -27544,12 +27545,12 @@ ${n}` : "Please fix this error.";
|
|
|
27544
27545
|
trigger: "imperative-api"
|
|
27545
27546
|
});
|
|
27546
27547
|
compareLayouts(i2, d2) || (O(d2), K.current.layout = d2, n2 && n2(d2), callPanelCallbacks(a2, d2, M.current));
|
|
27547
|
-
}, []),
|
|
27548
|
+
}, []), aJ = (0, import_react.useCallback)((e2, t2) => {
|
|
27548
27549
|
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);
|
|
27549
|
-
h2 != null && (o2 && c2 && fuzzyNumbersEqual$1(h2, a2) ? fuzzyNumbersEqual$1(a2, s2) ||
|
|
27550
|
+
h2 != null && (o2 && c2 && fuzzyNumbersEqual$1(h2, a2) ? fuzzyNumbersEqual$1(a2, s2) || iJ(e2, s2) : h2 < f2 ? iJ(e2, f2) : h2 > d2 && iJ(e2, d2));
|
|
27550
27551
|
}, [
|
|
27551
|
-
|
|
27552
|
-
]),
|
|
27552
|
+
iJ
|
|
27553
|
+
]), oJ = (0, import_react.useCallback)((e2, t2) => {
|
|
27553
27554
|
let { direction: n2 } = U.current, { layout: i2 } = K.current;
|
|
27554
27555
|
if (!y.current) return;
|
|
27555
27556
|
let a2 = getResizeHandleElement(e2, y.current);
|
|
@@ -27561,14 +27562,14 @@ ${n}` : "Please fix this error.";
|
|
|
27561
27562
|
initialCursorPosition: o2,
|
|
27562
27563
|
initialLayout: i2
|
|
27563
27564
|
});
|
|
27564
|
-
}, []),
|
|
27565
|
+
}, []), sJ = (0, import_react.useCallback)(() => {
|
|
27565
27566
|
w(null);
|
|
27566
|
-
}, []),
|
|
27567
|
+
}, []), cJ = (0, import_react.useCallback)((e2) => {
|
|
27567
27568
|
let { panelDataArray: t2 } = K.current, n2 = findPanelDataIndex(t2, e2);
|
|
27568
27569
|
n2 >= 0 && (t2.splice(n2, 1), delete M.current[e2.id], K.current.panelDataArrayChanged = true, A());
|
|
27569
27570
|
}, [
|
|
27570
27571
|
A
|
|
27571
|
-
]),
|
|
27572
|
+
]), lJ = (0, import_react.useMemo)(() => ({
|
|
27572
27573
|
collapsePanel: q,
|
|
27573
27574
|
direction: i,
|
|
27574
27575
|
dragState: S,
|
|
@@ -27576,15 +27577,15 @@ ${n}` : "Please fix this error.";
|
|
|
27576
27577
|
getPanelSize: Q,
|
|
27577
27578
|
getPanelStyle: $,
|
|
27578
27579
|
groupId: v,
|
|
27579
|
-
isPanelCollapsed:
|
|
27580
|
-
isPanelExpanded:
|
|
27581
|
-
reevaluatePanelConstraints:
|
|
27582
|
-
registerPanel:
|
|
27583
|
-
registerResizeHandle:
|
|
27584
|
-
resizePanel:
|
|
27585
|
-
startDragging:
|
|
27586
|
-
stopDragging:
|
|
27587
|
-
unregisterPanel:
|
|
27580
|
+
isPanelCollapsed: eJ,
|
|
27581
|
+
isPanelExpanded: tJ,
|
|
27582
|
+
reevaluatePanelConstraints: aJ,
|
|
27583
|
+
registerPanel: nJ,
|
|
27584
|
+
registerResizeHandle: rJ,
|
|
27585
|
+
resizePanel: iJ,
|
|
27586
|
+
startDragging: oJ,
|
|
27587
|
+
stopDragging: sJ,
|
|
27588
|
+
unregisterPanel: cJ,
|
|
27588
27589
|
panelGroupElement: y.current
|
|
27589
27590
|
}), [
|
|
27590
27591
|
q,
|
|
@@ -27594,16 +27595,16 @@ ${n}` : "Please fix this error.";
|
|
|
27594
27595
|
Q,
|
|
27595
27596
|
$,
|
|
27596
27597
|
v,
|
|
27598
|
+
eJ,
|
|
27599
|
+
tJ,
|
|
27600
|
+
aJ,
|
|
27601
|
+
nJ,
|
|
27597
27602
|
rJ,
|
|
27598
27603
|
iJ,
|
|
27599
|
-
cJ,
|
|
27600
|
-
aJ,
|
|
27601
27604
|
oJ,
|
|
27602
27605
|
sJ,
|
|
27603
|
-
|
|
27604
|
-
|
|
27605
|
-
dJ
|
|
27606
|
-
]), pJ = {
|
|
27606
|
+
cJ
|
|
27607
|
+
]), uJ = {
|
|
27607
27608
|
display: "flex",
|
|
27608
27609
|
flexDirection: i === "horizontal" ? "row" : "column",
|
|
27609
27610
|
height: "100%",
|
|
@@ -27611,7 +27612,7 @@ ${n}` : "Please fix this error.";
|
|
|
27611
27612
|
width: "100%"
|
|
27612
27613
|
};
|
|
27613
27614
|
return (0, import_react.createElement)(PanelGroupContext.Provider, {
|
|
27614
|
-
value:
|
|
27615
|
+
value: lJ
|
|
27615
27616
|
}, (0, import_react.createElement)(h, {
|
|
27616
27617
|
..._,
|
|
27617
27618
|
children: t,
|
|
@@ -27619,7 +27620,7 @@ ${n}` : "Please fix this error.";
|
|
|
27619
27620
|
id: o,
|
|
27620
27621
|
ref: y,
|
|
27621
27622
|
style: {
|
|
27622
|
-
...
|
|
27623
|
+
...uJ,
|
|
27623
27624
|
...f
|
|
27624
27625
|
},
|
|
27625
27626
|
[DATA_ATTRIBUTES.group]: "",
|
|
@@ -27696,31 +27697,31 @@ ${n}` : "Please fix this error.";
|
|
|
27696
27697
|
});
|
|
27697
27698
|
let O = (0, import_react.useContext)(PanelGroupContext);
|
|
27698
27699
|
if (O === null) throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");
|
|
27699
|
-
let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [$,
|
|
27700
|
+
let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [$, eJ] = (0, import_react.useState)(false), [tJ, nJ] = (0, import_react.useState)(null), rJ = (0, import_react.useRef)({
|
|
27700
27701
|
state: J
|
|
27701
27702
|
});
|
|
27702
27703
|
useIsomorphicLayoutEffect$1(() => {
|
|
27703
|
-
|
|
27704
|
+
rJ.current.state = J;
|
|
27704
27705
|
}), (0, import_react.useEffect)(() => {
|
|
27705
|
-
if (n)
|
|
27706
|
+
if (n) nJ(null);
|
|
27706
27707
|
else {
|
|
27707
27708
|
let e2 = I(q);
|
|
27708
|
-
|
|
27709
|
+
nJ(() => e2);
|
|
27709
27710
|
}
|
|
27710
27711
|
}, [
|
|
27711
27712
|
n,
|
|
27712
27713
|
q,
|
|
27713
27714
|
I
|
|
27714
27715
|
]);
|
|
27715
|
-
let
|
|
27716
|
+
let iJ = (i == null ? void 0 : i.coarse) ?? 15, aJ = (i == null ? void 0 : i.fine) ?? 5;
|
|
27716
27717
|
(0, import_react.useEffect)(() => {
|
|
27717
|
-
if (n ||
|
|
27718
|
+
if (n || tJ == null) return;
|
|
27718
27719
|
let e2 = w.current;
|
|
27719
27720
|
assert(e2, "Element ref not attached");
|
|
27720
27721
|
let t2 = false;
|
|
27721
27722
|
return registerResizeHandle(q, e2, A, {
|
|
27722
|
-
coarse:
|
|
27723
|
-
fine:
|
|
27723
|
+
coarse: iJ,
|
|
27724
|
+
fine: aJ
|
|
27724
27725
|
}, (e3, n2, i2) => {
|
|
27725
27726
|
if (!n2) {
|
|
27726
27727
|
Q("inactive");
|
|
@@ -27734,8 +27735,8 @@ ${n}` : "Please fix this error.";
|
|
|
27734
27735
|
break;
|
|
27735
27736
|
}
|
|
27736
27737
|
case "move": {
|
|
27737
|
-
let { state: e4 } =
|
|
27738
|
-
t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'),
|
|
27738
|
+
let { state: e4 } = rJ.current;
|
|
27739
|
+
t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'), tJ(i2);
|
|
27739
27740
|
break;
|
|
27740
27741
|
}
|
|
27741
27742
|
case "up": {
|
|
@@ -27747,22 +27748,22 @@ ${n}` : "Please fix this error.";
|
|
|
27747
27748
|
}
|
|
27748
27749
|
});
|
|
27749
27750
|
}, [
|
|
27750
|
-
|
|
27751
|
+
iJ,
|
|
27751
27752
|
A,
|
|
27752
27753
|
n,
|
|
27753
|
-
|
|
27754
|
+
aJ,
|
|
27754
27755
|
I,
|
|
27755
27756
|
q,
|
|
27756
|
-
|
|
27757
|
+
tJ,
|
|
27757
27758
|
z,
|
|
27758
27759
|
U
|
|
27759
27760
|
]), useWindowSplitterResizeHandlerBehavior({
|
|
27760
27761
|
disabled: n,
|
|
27761
27762
|
handleId: q,
|
|
27762
|
-
resizeHandler:
|
|
27763
|
+
resizeHandler: tJ,
|
|
27763
27764
|
panelGroupElement: K
|
|
27764
27765
|
});
|
|
27765
|
-
let
|
|
27766
|
+
let oJ = {
|
|
27766
27767
|
touchAction: "none",
|
|
27767
27768
|
userSelect: "none"
|
|
27768
27769
|
};
|
|
@@ -27772,15 +27773,15 @@ ${n}` : "Please fix this error.";
|
|
|
27772
27773
|
className: t,
|
|
27773
27774
|
id: a,
|
|
27774
27775
|
onBlur: () => {
|
|
27775
|
-
|
|
27776
|
+
eJ(false), o == null ? void 0 : o();
|
|
27776
27777
|
},
|
|
27777
27778
|
onFocus: () => {
|
|
27778
|
-
|
|
27779
|
+
eJ(true), d == null ? void 0 : d();
|
|
27779
27780
|
},
|
|
27780
27781
|
ref: w,
|
|
27781
27782
|
role: "separator",
|
|
27782
27783
|
style: {
|
|
27783
|
-
...
|
|
27784
|
+
...oJ,
|
|
27784
27785
|
..._
|
|
27785
27786
|
},
|
|
27786
27787
|
tabIndex: v,
|
|
@@ -28079,7 +28080,7 @@ ${n}` : "Please fix this error.";
|
|
|
28079
28080
|
}, [
|
|
28080
28081
|
h
|
|
28081
28082
|
]), k(() => {
|
|
28082
|
-
U(6,
|
|
28083
|
+
U(6, tJ);
|
|
28083
28084
|
}, []);
|
|
28084
28085
|
let K = import_react.useMemo(() => ({
|
|
28085
28086
|
subscribe: (e2) => (s.current.add(e2), () => s.current.delete(e2)),
|
|
@@ -28088,7 +28089,7 @@ ${n}` : "Please fix this error.";
|
|
|
28088
28089
|
var _a2;
|
|
28089
28090
|
var a2, o2, s2;
|
|
28090
28091
|
if (!Object.is(n.current[e2], t2)) {
|
|
28091
|
-
if (n.current[e2] = t2, e2 === "search")
|
|
28092
|
+
if (n.current[e2] = t2, e2 === "search") eJ(), Q(), U(1, $);
|
|
28092
28093
|
else if (e2 === "value") {
|
|
28093
28094
|
if (document.activeElement.hasAttribute("cmdk-input") || document.activeElement.hasAttribute("cmdk-root")) {
|
|
28094
28095
|
let e3 = document.getElementById(I);
|
|
@@ -28096,8 +28097,8 @@ ${n}` : "Please fix this error.";
|
|
|
28096
28097
|
}
|
|
28097
28098
|
if (U(7, () => {
|
|
28098
28099
|
var _a3;
|
|
28099
|
-
n.current.selectedItemId = (_a3 =
|
|
28100
|
-
}), i2 || U(5,
|
|
28100
|
+
n.current.selectedItemId = (_a3 = nJ()) == null ? void 0 : _a3.id, K.emit();
|
|
28101
|
+
}), i2 || U(5, tJ), ((_a2 = c.current) == null ? void 0 : _a2.value) !== void 0) {
|
|
28101
28102
|
let e3 = t2 ?? "";
|
|
28102
28103
|
(s2 = (o2 = c.current).onValueChange) == null || s2.call(o2, e3);
|
|
28103
28104
|
return;
|
|
@@ -28122,12 +28123,12 @@ ${n}` : "Please fix this error.";
|
|
|
28122
28123
|
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([
|
|
28123
28124
|
e2
|
|
28124
28125
|
]))), U(3, () => {
|
|
28125
|
-
|
|
28126
|
+
eJ(), Q(), n.current.value || $(), K.emit();
|
|
28126
28127
|
}), () => {
|
|
28127
28128
|
o.current.delete(e2), i.current.delete(e2), n.current.filtered.items.delete(e2);
|
|
28128
|
-
let t3 =
|
|
28129
|
+
let t3 = nJ();
|
|
28129
28130
|
U(4, () => {
|
|
28130
|
-
|
|
28131
|
+
eJ(), (t3 == null ? void 0 : t3.getAttribute("id")) === e2 && $(), K.emit();
|
|
28131
28132
|
});
|
|
28132
28133
|
}),
|
|
28133
28134
|
group: (e2) => (a.current.has(e2) || a.current.set(e2, /* @__PURE__ */ new Set()), () => {
|
|
@@ -28160,7 +28161,7 @@ ${n}` : "Please fix this error.";
|
|
|
28160
28161
|
]);
|
|
28161
28162
|
});
|
|
28162
28163
|
let i2 = z.current;
|
|
28163
|
-
|
|
28164
|
+
rJ().sort((t3, n2) => {
|
|
28164
28165
|
let i3 = t3.getAttribute("id"), a2 = n2.getAttribute("id");
|
|
28165
28166
|
return (e2.get(a2) ?? 0) - (e2.get(i3) ?? 0);
|
|
28166
28167
|
}).forEach((e3) => {
|
|
@@ -28174,10 +28175,10 @@ ${n}` : "Please fix this error.";
|
|
|
28174
28175
|
}
|
|
28175
28176
|
function $() {
|
|
28176
28177
|
var _a2;
|
|
28177
|
-
let e2 = (_a2 =
|
|
28178
|
+
let e2 = (_a2 = rJ().find((e3) => e3.getAttribute("aria-disabled") !== "true")) == null ? void 0 : _a2.getAttribute(T);
|
|
28178
28179
|
K.setState("value", e2 || void 0);
|
|
28179
28180
|
}
|
|
28180
|
-
function
|
|
28181
|
+
function eJ() {
|
|
28181
28182
|
var _a2, _b;
|
|
28182
28183
|
if (!n.current.search || c.current.shouldFilter === false) {
|
|
28183
28184
|
n.current.filtered.count = i.current.size;
|
|
@@ -28195,43 +28196,43 @@ ${n}` : "Please fix this error.";
|
|
|
28195
28196
|
}
|
|
28196
28197
|
n.current.filtered.count = e2;
|
|
28197
28198
|
}
|
|
28198
|
-
function
|
|
28199
|
+
function tJ() {
|
|
28199
28200
|
var _a2, _b;
|
|
28200
28201
|
var e2;
|
|
28201
|
-
let t2 =
|
|
28202
|
+
let t2 = nJ();
|
|
28202
28203
|
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({
|
|
28203
28204
|
block: "nearest"
|
|
28204
28205
|
})), t2.scrollIntoView({
|
|
28205
28206
|
block: "nearest"
|
|
28206
28207
|
}));
|
|
28207
28208
|
}
|
|
28208
|
-
function
|
|
28209
|
+
function nJ() {
|
|
28209
28210
|
var _a2;
|
|
28210
28211
|
return (_a2 = z.current) == null ? void 0 : _a2.querySelector(`${le}[aria-selected="true"]`);
|
|
28211
28212
|
}
|
|
28212
|
-
function
|
|
28213
|
+
function rJ() {
|
|
28213
28214
|
var _a2;
|
|
28214
28215
|
return Array.from(((_a2 = z.current) == null ? void 0 : _a2.querySelectorAll(ce$1)) || []);
|
|
28215
28216
|
}
|
|
28216
|
-
function
|
|
28217
|
-
let t2 =
|
|
28217
|
+
function iJ(e2) {
|
|
28218
|
+
let t2 = rJ()[e2];
|
|
28218
28219
|
t2 && K.setState("value", t2.getAttribute(T));
|
|
28219
28220
|
}
|
|
28220
|
-
function
|
|
28221
|
+
function aJ(e2) {
|
|
28221
28222
|
var t2;
|
|
28222
|
-
let n2 =
|
|
28223
|
+
let n2 = nJ(), i2 = rJ(), a2 = i2.findIndex((e3) => e3 === n2), o2 = i2[a2 + e2];
|
|
28223
28224
|
(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));
|
|
28224
28225
|
}
|
|
28225
|
-
function
|
|
28226
|
+
function oJ(e2) {
|
|
28226
28227
|
var _a2;
|
|
28227
|
-
let t2 = (_a2 =
|
|
28228
|
+
let t2 = (_a2 = nJ()) == null ? void 0 : _a2.closest(N$1), n2;
|
|
28228
28229
|
for (; t2 && !n2; ) t2 = e2 > 0 ? we(t2, N$1) : De(t2, N$1), n2 = t2 == null ? void 0 : t2.querySelector(ce$1);
|
|
28229
|
-
n2 ? K.setState("value", n2.getAttribute(T)) :
|
|
28230
|
+
n2 ? K.setState("value", n2.getAttribute(T)) : aJ(e2);
|
|
28230
28231
|
}
|
|
28231
|
-
let
|
|
28232
|
-
e2.preventDefault(), e2.metaKey ?
|
|
28233
|
-
},
|
|
28234
|
-
e2.preventDefault(), e2.metaKey ?
|
|
28232
|
+
let sJ = () => iJ(rJ().length - 1), cJ = (e2) => {
|
|
28233
|
+
e2.preventDefault(), e2.metaKey ? sJ() : e2.altKey ? oJ(1) : aJ(1);
|
|
28234
|
+
}, lJ = (e2) => {
|
|
28235
|
+
e2.preventDefault(), e2.metaKey ? iJ(0) : e2.altKey ? oJ(-1) : aJ(-1);
|
|
28235
28236
|
};
|
|
28236
28237
|
return import_react.createElement(Primitive.div, {
|
|
28237
28238
|
ref: t,
|
|
@@ -28245,27 +28246,27 @@ ${n}` : "Please fix this error.";
|
|
|
28245
28246
|
if (!(e2.defaultPrevented || n2)) switch (e2.key) {
|
|
28246
28247
|
case "n":
|
|
28247
28248
|
case "j":
|
|
28248
|
-
E && e2.ctrlKey &&
|
|
28249
|
+
E && e2.ctrlKey && cJ(e2);
|
|
28249
28250
|
break;
|
|
28250
28251
|
case "ArrowDown":
|
|
28251
|
-
|
|
28252
|
+
cJ(e2);
|
|
28252
28253
|
break;
|
|
28253
28254
|
case "p":
|
|
28254
28255
|
case "k":
|
|
28255
|
-
E && e2.ctrlKey &&
|
|
28256
|
+
E && e2.ctrlKey && lJ(e2);
|
|
28256
28257
|
break;
|
|
28257
28258
|
case "ArrowUp":
|
|
28258
|
-
|
|
28259
|
+
lJ(e2);
|
|
28259
28260
|
break;
|
|
28260
28261
|
case "Home":
|
|
28261
|
-
e2.preventDefault(),
|
|
28262
|
+
e2.preventDefault(), iJ(0);
|
|
28262
28263
|
break;
|
|
28263
28264
|
case "End":
|
|
28264
|
-
e2.preventDefault(),
|
|
28265
|
+
e2.preventDefault(), sJ();
|
|
28265
28266
|
break;
|
|
28266
28267
|
case "Enter": {
|
|
28267
28268
|
e2.preventDefault();
|
|
28268
|
-
let t3 =
|
|
28269
|
+
let t3 = nJ();
|
|
28269
28270
|
if (t3) {
|
|
28270
28271
|
let e3 = new Event(Z);
|
|
28271
28272
|
t3.dispatchEvent(e3);
|
|
@@ -28672,155 +28673,155 @@ ${n}` : "Please fix this error.";
|
|
|
28672
28673
|
onSelect: Functions.NOOP
|
|
28673
28674
|
});
|
|
28674
28675
|
Combobox = (e) => {
|
|
28675
|
-
let t = (0, import_compiler_runtime$35.c)(106), n, i, o, s, c, d, f, h, _, v, y, S, w, E, O, A, M, I, z, U, K, q, J,
|
|
28676
|
-
t[0] === e ? (n = t[1], i = t[2], o = t[3], s = t[4], c = t[5], d = t[6], f = t[7], h = t[8], _ = t[9], v = t[10], y = t[11], S = t[12], w = t[13], E = t[14], O = t[15], A = t[16], M = t[17], I = t[18], z = t[19], U = t[20], K = t[21], q = t[22], J = t[23],
|
|
28677
|
-
let
|
|
28678
|
-
t[25] !== v || t[26] !== w || t[27] !==
|
|
28676
|
+
let t = (0, import_compiler_runtime$35.c)(106), n, i, o, s, c, d, f, h, _, v, y, S, w, E, O, A, M, I, z, U, K, q, J, $;
|
|
28677
|
+
t[0] === e ? (n = t[1], i = t[2], o = t[3], s = t[4], c = t[5], d = t[6], f = t[7], h = t[8], _ = t[9], v = t[10], y = t[11], S = t[12], w = t[13], E = t[14], O = t[15], A = t[16], M = t[17], I = t[18], z = t[19], U = t[20], K = t[21], q = t[22], J = t[23], $ = t[24]) : ({ children: n, displayValue: d, className: o, placeholder: E, value: $, defaultValue: c, onValueChange: S, multiple: I, shouldFilter: z, filterFn: f, open: w, defaultOpen: s, onOpenChange: v, inputPlaceholder: U, search: M, onSearchChange: y, emptyState: K, chips: q, chipsClassName: i, keepPopoverOpenOnSelect: _, id: h, disabled: J, renderValue: O, ...A } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = o, t[4] = s, t[5] = c, t[6] = d, t[7] = f, t[8] = h, t[9] = _, t[10] = v, t[11] = y, t[12] = S, t[13] = w, t[14] = E, t[15] = O, t[16] = A, t[17] = M, t[18] = I, t[19] = z, t[20] = U, t[21] = K, t[22] = q, t[23] = J, t[24] = $);
|
|
28678
|
+
let eJ = I === void 0 ? false : I, tJ = z === void 0 ? true : z, nJ = U === void 0 ? "Search..." : U, rJ = K === void 0 ? "Nothing found." : K, iJ = q === void 0 ? false : q, aJ = J === void 0 ? false : J, oJ = s ?? false, sJ;
|
|
28679
|
+
t[25] !== v || t[26] !== w || t[27] !== oJ ? (sJ = {
|
|
28679
28680
|
prop: w,
|
|
28680
|
-
defaultProp:
|
|
28681
|
+
defaultProp: oJ,
|
|
28681
28682
|
onChange: v
|
|
28682
|
-
}, t[25] = v, t[26] = w, t[27] =
|
|
28683
|
-
let [
|
|
28684
|
-
t[29] === S ?
|
|
28683
|
+
}, t[25] = v, t[26] = w, t[27] = oJ, t[28] = sJ) : sJ = t[28];
|
|
28684
|
+
let [cJ, lJ] = useControllableState(sJ), uJ = cJ === void 0 ? false : cJ, dJ;
|
|
28685
|
+
t[29] === S ? dJ = t[30] : (dJ = (e2) => {
|
|
28685
28686
|
S == null ? void 0 : S(e2);
|
|
28686
|
-
}, t[29] = S, t[30] =
|
|
28687
|
-
let
|
|
28688
|
-
t[31] !== c || t[32] !==
|
|
28689
|
-
prop:
|
|
28687
|
+
}, t[29] = S, t[30] = dJ);
|
|
28688
|
+
let fJ;
|
|
28689
|
+
t[31] !== c || t[32] !== dJ || t[33] !== $ ? (fJ = {
|
|
28690
|
+
prop: $,
|
|
28690
28691
|
defaultProp: c,
|
|
28691
|
-
onChange:
|
|
28692
|
-
}, t[31] = c, t[32] =
|
|
28693
|
-
let [
|
|
28694
|
-
t[35] ===
|
|
28695
|
-
let
|
|
28696
|
-
t[37] !== _ || t[38] !==
|
|
28692
|
+
onChange: dJ
|
|
28693
|
+
}, t[31] = c, t[32] = dJ, t[33] = $, t[34] = fJ) : fJ = t[34];
|
|
28694
|
+
let [pJ, mJ] = useControllableState(fJ), hJ;
|
|
28695
|
+
t[35] === pJ ? hJ = t[36] : (hJ = (e2) => Array.isArray(pJ) ? pJ.includes(e2) : pJ === e2, t[35] = pJ, t[36] = hJ);
|
|
28696
|
+
let gJ = hJ, _J;
|
|
28697
|
+
t[37] !== _ || t[38] !== eJ || t[39] !== lJ || t[40] !== mJ || t[41] !== pJ ? (_J = (e2) => {
|
|
28697
28698
|
let t2 = e2;
|
|
28698
|
-
if (
|
|
28699
|
-
let n2 =
|
|
28699
|
+
if (eJ) if (Array.isArray(pJ)) if (pJ.includes(t2)) {
|
|
28700
|
+
let n2 = pJ.filter((t3) => t3 !== e2);
|
|
28700
28701
|
t2 = n2.length > 0 ? n2 : [];
|
|
28701
28702
|
} else t2 = [
|
|
28702
|
-
...
|
|
28703
|
+
...pJ,
|
|
28703
28704
|
t2
|
|
28704
28705
|
];
|
|
28705
28706
|
else t2 = [
|
|
28706
28707
|
t2
|
|
28707
28708
|
];
|
|
28708
|
-
else
|
|
28709
|
-
|
|
28710
|
-
}, t[37] = _, t[38] =
|
|
28709
|
+
else pJ === e2 && (t2 = null);
|
|
28710
|
+
mJ(t2), (_ ?? eJ) || lJ(false);
|
|
28711
|
+
}, t[37] = _, t[38] = eJ, t[39] = lJ, t[40] = mJ, t[41] = pJ, t[42] = _J) : _J = t[42];
|
|
28712
|
+
let vJ = _J, yJ;
|
|
28713
|
+
t[43] !== iJ || t[44] !== d || t[45] !== eJ || t[46] !== E || t[47] !== pJ ? (yJ = () => eJ && iJ && E ? E : pJ == null ? E ?? "--" : Array.isArray(pJ) ? pJ.length === 0 ? E ?? "--" : pJ.length === 1 && d !== void 0 ? d(pJ[0]) : `${pJ.length} selected` : d === void 0 ? E ?? "--" : d(pJ), t[43] = iJ, t[44] = d, t[45] = eJ, t[46] = E, t[47] = pJ, t[48] = yJ) : yJ = t[48];
|
|
28711
28714
|
let bJ = yJ, xJ;
|
|
28712
|
-
t[
|
|
28715
|
+
t[49] !== vJ || t[50] !== gJ ? (xJ = {
|
|
28716
|
+
isSelected: gJ,
|
|
28717
|
+
onSelect: vJ
|
|
28718
|
+
}, t[49] = vJ, t[50] = gJ, t[51] = xJ) : xJ = t[51];
|
|
28713
28719
|
let SJ = xJ, CJ;
|
|
28714
|
-
t[
|
|
28715
|
-
|
|
28716
|
-
|
|
28717
|
-
|
|
28718
|
-
|
|
28719
|
-
|
|
28720
|
-
|
|
28721
|
-
|
|
28722
|
-
|
|
28723
|
-
}, t[53] = sJ, t[54] = dJ, t[55] = DJ) : DJ = t[55];
|
|
28724
|
-
let OJ = sJ && "cursor-not-allowed opacity-50", kJ;
|
|
28725
|
-
t[56] !== o || t[57] !== OJ ? (kJ = cn("flex h-6 w-fit mb-1 shadow-xs-solid items-center justify-between rounded-sm border border-input bg-transparent px-2 text-sm font-prose ring-offset-background placeholder:text-muted-foreground hover:shadow-sm-solid focus:outline-hidden focus:ring-1 focus:ring-ring focus:border-primary focus:shadow-md-solid", OJ, o), t[56] = o, t[57] = OJ, t[58] = kJ) : kJ = t[58];
|
|
28720
|
+
t[52] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (CJ = cn("relative"), t[52] = CJ) : CJ = t[52];
|
|
28721
|
+
let EJ;
|
|
28722
|
+
t[53] !== aJ || t[54] !== lJ ? (EJ = (e2) => {
|
|
28723
|
+
aJ && e2 || lJ(e2);
|
|
28724
|
+
}, t[53] = aJ, t[54] = lJ, t[55] = EJ) : EJ = t[55];
|
|
28725
|
+
let DJ = aJ && "cursor-not-allowed opacity-50", OJ;
|
|
28726
|
+
t[56] !== o || t[57] !== DJ ? (OJ = 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", DJ, o), t[56] = o, t[57] = DJ, t[58] = OJ) : OJ = t[58];
|
|
28727
|
+
let kJ;
|
|
28728
|
+
t[59] !== O || t[60] !== bJ || t[61] !== pJ ? (kJ = O ? O(pJ ?? null) : bJ(), t[59] = O, t[60] = bJ, t[61] = pJ, t[62] = kJ) : kJ = t[62];
|
|
28726
28729
|
let AJ;
|
|
28727
|
-
t[
|
|
28728
|
-
let MJ;
|
|
28729
|
-
t[63] === AJ ? MJ = t[64] : (MJ = (0, import_jsx_runtime.jsx)("span", {
|
|
28730
|
+
t[63] === kJ ? AJ = t[64] : (AJ = (0, import_jsx_runtime.jsx)("span", {
|
|
28730
28731
|
className: "truncate flex-1 min-w-0",
|
|
28731
|
-
children:
|
|
28732
|
-
}), t[63] =
|
|
28733
|
-
let
|
|
28734
|
-
t[65] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
28732
|
+
children: kJ
|
|
28733
|
+
}), t[63] = kJ, t[64] = AJ);
|
|
28734
|
+
let jJ;
|
|
28735
|
+
t[65] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (jJ = (0, import_jsx_runtime.jsx)(ChevronDown, {
|
|
28735
28736
|
className: "ml-3 w-4 h-4 opacity-50 shrink-0"
|
|
28736
|
-
}), t[65] =
|
|
28737
|
-
let
|
|
28738
|
-
t[66] !==
|
|
28737
|
+
}), t[65] = jJ) : jJ = t[65];
|
|
28738
|
+
let MJ;
|
|
28739
|
+
t[66] !== aJ || t[67] !== h || t[68] !== uJ || t[69] !== OJ || t[70] !== AJ ? (MJ = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
|
|
28739
28740
|
asChild: true,
|
|
28740
28741
|
children: (0, import_jsx_runtime.jsxs)("button", {
|
|
28741
28742
|
id: h,
|
|
28742
28743
|
type: "button",
|
|
28743
|
-
className:
|
|
28744
|
-
"aria-expanded":
|
|
28745
|
-
"aria-disabled":
|
|
28744
|
+
className: OJ,
|
|
28745
|
+
"aria-expanded": uJ,
|
|
28746
|
+
"aria-disabled": aJ,
|
|
28746
28747
|
children: [
|
|
28747
|
-
|
|
28748
|
-
|
|
28748
|
+
AJ,
|
|
28749
|
+
jJ
|
|
28749
28750
|
]
|
|
28750
28751
|
})
|
|
28751
|
-
}), t[66] =
|
|
28752
|
-
let
|
|
28753
|
-
t[72] !==
|
|
28754
|
-
placeholder:
|
|
28752
|
+
}), t[66] = aJ, t[67] = h, t[68] = uJ, t[69] = OJ, t[70] = AJ, t[71] = MJ) : MJ = t[71];
|
|
28753
|
+
let NJ;
|
|
28754
|
+
t[72] !== nJ || t[73] !== y || t[74] !== M ? (NJ = (0, import_jsx_runtime.jsx)(CommandInput, {
|
|
28755
|
+
placeholder: nJ,
|
|
28755
28756
|
rootClassName: "px-1 h-8",
|
|
28756
28757
|
autoFocus: true,
|
|
28757
28758
|
value: M,
|
|
28758
28759
|
onValueChange: y
|
|
28759
|
-
}), t[72] =
|
|
28760
|
-
let
|
|
28761
|
-
t[76] ===
|
|
28762
|
-
children:
|
|
28763
|
-
}), t[76] =
|
|
28764
|
-
let
|
|
28765
|
-
t[78] !== n || t[79] !==
|
|
28766
|
-
value:
|
|
28760
|
+
}), t[72] = nJ, t[73] = y, t[74] = M, t[75] = NJ) : NJ = t[75];
|
|
28761
|
+
let PJ;
|
|
28762
|
+
t[76] === rJ ? PJ = t[77] : (PJ = (0, import_jsx_runtime.jsx)(CommandEmpty, {
|
|
28763
|
+
children: rJ
|
|
28764
|
+
}), t[76] = rJ, t[77] = PJ);
|
|
28765
|
+
let FJ;
|
|
28766
|
+
t[78] !== n || t[79] !== SJ ? (FJ = (0, import_jsx_runtime.jsx)(ComboboxContext, {
|
|
28767
|
+
value: SJ,
|
|
28767
28768
|
children: n
|
|
28768
|
-
}), t[78] = n, t[79] =
|
|
28769
|
-
let
|
|
28770
|
-
t[81] !==
|
|
28769
|
+
}), t[78] = n, t[79] = SJ, t[80] = FJ) : FJ = t[80];
|
|
28770
|
+
let IJ;
|
|
28771
|
+
t[81] !== PJ || t[82] !== FJ ? (IJ = (0, import_jsx_runtime.jsxs)(CommandList, {
|
|
28771
28772
|
className: "max-h-60 py-.5",
|
|
28772
28773
|
children: [
|
|
28773
|
-
|
|
28774
|
-
|
|
28774
|
+
PJ,
|
|
28775
|
+
FJ
|
|
28775
28776
|
]
|
|
28776
|
-
}), t[81] =
|
|
28777
|
-
let
|
|
28778
|
-
t[84] !== f || t[85] !==
|
|
28777
|
+
}), t[81] = PJ, t[82] = FJ, t[83] = IJ) : IJ = t[83];
|
|
28778
|
+
let LJ;
|
|
28779
|
+
t[84] !== f || t[85] !== tJ || t[86] !== NJ || t[87] !== IJ ? (LJ = (0, import_jsx_runtime.jsx)(PopoverContent, {
|
|
28779
28780
|
className: "w-full min-w-(--radix-popover-trigger-width) p-0",
|
|
28780
28781
|
align: "start",
|
|
28781
28782
|
children: (0, import_jsx_runtime.jsxs)(Command, {
|
|
28782
28783
|
filter: f,
|
|
28783
|
-
shouldFilter:
|
|
28784
|
+
shouldFilter: tJ,
|
|
28784
28785
|
children: [
|
|
28785
|
-
|
|
28786
|
-
|
|
28786
|
+
NJ,
|
|
28787
|
+
IJ
|
|
28787
28788
|
]
|
|
28788
28789
|
})
|
|
28789
|
-
}), t[84] = f, t[85] =
|
|
28790
|
-
let
|
|
28791
|
-
t[89] !==
|
|
28792
|
-
open:
|
|
28793
|
-
onOpenChange:
|
|
28790
|
+
}), t[84] = f, t[85] = tJ, t[86] = NJ, t[87] = IJ, t[88] = LJ) : LJ = t[88];
|
|
28791
|
+
let RJ;
|
|
28792
|
+
t[89] !== uJ || t[90] !== EJ || t[91] !== MJ || t[92] !== LJ ? (RJ = (0, import_jsx_runtime.jsxs)(Popover, {
|
|
28793
|
+
open: uJ,
|
|
28794
|
+
onOpenChange: EJ,
|
|
28794
28795
|
children: [
|
|
28795
|
-
|
|
28796
|
-
|
|
28796
|
+
MJ,
|
|
28797
|
+
LJ
|
|
28797
28798
|
]
|
|
28798
|
-
}), t[89] =
|
|
28799
|
-
let
|
|
28800
|
-
t[94] !==
|
|
28799
|
+
}), t[89] = uJ, t[90] = EJ, t[91] = MJ, t[92] = LJ, t[93] = RJ) : RJ = t[93];
|
|
28800
|
+
let zJ;
|
|
28801
|
+
t[94] !== iJ || t[95] !== i || t[96] !== aJ || t[97] !== d || t[98] !== vJ || t[99] !== eJ || t[100] !== pJ ? (zJ = eJ && iJ && (0, import_jsx_runtime.jsx)("div", {
|
|
28801
28802
|
className: cn("flex flex-col gap-1 items-start", i),
|
|
28802
|
-
children: Array.isArray(
|
|
28803
|
+
children: Array.isArray(pJ) && pJ.map((e2) => e2 == null ? null : (0, import_jsx_runtime.jsxs)(Badge, {
|
|
28803
28804
|
variant: "secondary",
|
|
28804
28805
|
children: [
|
|
28805
28806
|
(d == null ? void 0 : d(e2)) ?? String(e2),
|
|
28806
28807
|
(0, import_jsx_runtime.jsx)(CircleX, {
|
|
28807
28808
|
onClick: () => {
|
|
28808
|
-
|
|
28809
|
+
aJ || vJ(e2);
|
|
28809
28810
|
},
|
|
28810
|
-
className: cn("w-3 h-3 opacity-50 hover:opacity-100 ml-1 cursor-pointer",
|
|
28811
|
+
className: cn("w-3 h-3 opacity-50 hover:opacity-100 ml-1 cursor-pointer", aJ && "pointer-events-none")
|
|
28811
28812
|
})
|
|
28812
28813
|
]
|
|
28813
28814
|
}, String(e2)))
|
|
28814
|
-
}), t[94] =
|
|
28815
|
-
let
|
|
28816
|
-
return t[102] !== A || t[103] !==
|
|
28817
|
-
className:
|
|
28815
|
+
}), t[94] = iJ, t[95] = i, t[96] = aJ, t[97] = d, t[98] = vJ, t[99] = eJ, t[100] = pJ, t[101] = zJ) : zJ = t[101];
|
|
28816
|
+
let BJ;
|
|
28817
|
+
return t[102] !== A || t[103] !== RJ || t[104] !== zJ ? (BJ = (0, import_jsx_runtime.jsxs)("div", {
|
|
28818
|
+
className: CJ,
|
|
28818
28819
|
...A,
|
|
28819
28820
|
children: [
|
|
28820
|
-
|
|
28821
|
-
|
|
28821
|
+
RJ,
|
|
28822
|
+
zJ
|
|
28822
28823
|
]
|
|
28823
|
-
}), t[102] = A, t[103] =
|
|
28824
|
+
}), t[102] = A, t[103] = RJ, t[104] = zJ, t[105] = BJ) : BJ = t[105], BJ;
|
|
28824
28825
|
};
|
|
28825
28826
|
ComboboxItem = import_react.forwardRef((e, t) => {
|
|
28826
28827
|
let n = (0, import_compiler_runtime$35.c)(20), { children: i, className: o, value: s, onSelect: c, disabled: d } = e, f = typeof s == "object" && "value" in s ? s.value : String(s), h = import_react.use(ComboboxContext), _;
|
|
@@ -29133,7 +29134,7 @@ ${n}` : "Please fix this error.";
|
|
|
29133
29134
|
children: _temp5$2
|
|
29134
29135
|
}),
|
|
29135
29136
|
(0, import_jsx_runtime.jsx)(CalendarGridBody, {
|
|
29136
|
-
children: _temp6$
|
|
29137
|
+
children: _temp6$1
|
|
29137
29138
|
})
|
|
29138
29139
|
]
|
|
29139
29140
|
}), t[7] = c) : c = t[7];
|
|
@@ -29175,7 +29176,7 @@ ${n}` : "Please fix this error.";
|
|
|
29175
29176
|
children: e
|
|
29176
29177
|
});
|
|
29177
29178
|
}
|
|
29178
|
-
function _temp6$
|
|
29179
|
+
function _temp6$1(e) {
|
|
29179
29180
|
return (0, import_jsx_runtime.jsx)(CalendarCell, {
|
|
29180
29181
|
date: e
|
|
29181
29182
|
});
|
|
@@ -29350,7 +29351,7 @@ ${n}` : "Please fix this error.";
|
|
|
29350
29351
|
(0, import_jsx_runtime.jsxs)(CalendarGrid, {
|
|
29351
29352
|
children: [
|
|
29352
29353
|
(0, import_jsx_runtime.jsx)(CalendarGridHeader, {
|
|
29353
|
-
children: _temp6
|
|
29354
|
+
children: _temp6
|
|
29354
29355
|
}),
|
|
29355
29356
|
(0, import_jsx_runtime.jsx)(CalendarGridBody, {
|
|
29356
29357
|
children: _temp7
|
|
@@ -29394,7 +29395,7 @@ ${n}` : "Please fix this error.";
|
|
|
29394
29395
|
function _temp5$1(e) {
|
|
29395
29396
|
return cn("group flex flex-col gap-2", e);
|
|
29396
29397
|
}
|
|
29397
|
-
function _temp6
|
|
29398
|
+
function _temp6(e) {
|
|
29398
29399
|
return (0, import_jsx_runtime.jsx)(CalendarHeaderCell, {
|
|
29399
29400
|
children: e
|
|
29400
29401
|
});
|
|
@@ -29876,17 +29877,17 @@ ${n}` : "Please fix this error.";
|
|
|
29876
29877
|
searchQuery: M,
|
|
29877
29878
|
filteredOptions: z
|
|
29878
29879
|
}, t[9] = z, t[10] = n, t[11] = _, t[12] = M, t[13] = i, t[14] = U) : U = t[14];
|
|
29879
|
-
let { open: K, setOpen: q, repin: J, visibleOptions: Q, pinnedCount: $ } = usePinning(U),
|
|
29880
|
-
t[15] !== c || t[16] !== s || t[17] !== o || t[18] !== a || t[19] !== y || t[20] !== i ? (
|
|
29880
|
+
let { open: K, setOpen: q, repin: J, visibleOptions: Q, pinnedCount: $ } = usePinning(U), eJ;
|
|
29881
|
+
t[15] !== c || t[16] !== s || t[17] !== o || t[18] !== a || t[19] !== y || t[20] !== i ? (eJ = {
|
|
29881
29882
|
value: i,
|
|
29882
29883
|
onChange: a,
|
|
29883
29884
|
multiple: o,
|
|
29884
29885
|
maxSelections: s,
|
|
29885
29886
|
allowSelectNone: c,
|
|
29886
29887
|
selected: y
|
|
29887
|
-
}, t[15] = c, t[16] = s, t[17] = o, t[18] = a, t[19] = y, t[20] = i, t[21] =
|
|
29888
|
-
let { isChecked:
|
|
29889
|
-
t[22] !== z || t[23] !== s || t[24] !== o || t[25] !== a || t[26] !== n || t[27] !== M || t[28] !== i ? (
|
|
29888
|
+
}, t[15] = c, t[16] = s, t[17] = o, t[18] = a, t[19] = y, t[20] = i, t[21] = eJ) : eJ = t[21];
|
|
29889
|
+
let { isChecked: tJ, toggle: nJ } = useToggle(eJ), rJ;
|
|
29890
|
+
t[22] !== z || t[23] !== s || t[24] !== o || t[25] !== a || t[26] !== n || t[27] !== M || t[28] !== i ? (rJ = {
|
|
29890
29891
|
value: i,
|
|
29891
29892
|
onChange: a,
|
|
29892
29893
|
multiple: o,
|
|
@@ -29894,24 +29895,24 @@ ${n}` : "Please fix this error.";
|
|
|
29894
29895
|
filteredOptions: z,
|
|
29895
29896
|
searchQuery: M,
|
|
29896
29897
|
maxSelections: s
|
|
29897
|
-
}, t[22] = z, t[23] = s, t[24] = o, t[25] = a, t[26] = n, t[27] = M, t[28] = i, t[29] =
|
|
29898
|
-
let { bulkActions:
|
|
29899
|
-
t[30] !== J || t[31] !== I ? (
|
|
29898
|
+
}, t[22] = z, t[23] = s, t[24] = o, t[25] = a, t[26] = n, t[27] = M, t[28] = i, t[29] = rJ) : rJ = t[29];
|
|
29899
|
+
let { bulkActions: iJ } = useBulk(rJ), aJ;
|
|
29900
|
+
t[30] !== J || t[31] !== I ? (aJ = (e2) => {
|
|
29900
29901
|
I(e2), e2 === "" && J();
|
|
29901
|
-
}, t[30] = J, t[31] = I, t[32] =
|
|
29902
|
-
let
|
|
29903
|
-
return t[33] !==
|
|
29902
|
+
}, t[30] = J, t[31] = I, t[32] = aJ) : aJ = t[32];
|
|
29903
|
+
let oJ = aJ, sJ;
|
|
29904
|
+
return t[33] !== iJ || t[34] !== tJ || t[35] !== O || t[36] !== K || t[37] !== $ || t[38] !== M || t[39] !== q || t[40] !== oJ || t[41] !== nJ || t[42] !== Q ? (sJ = {
|
|
29904
29905
|
searchQuery: M,
|
|
29905
|
-
setSearchQuery:
|
|
29906
|
+
setSearchQuery: oJ,
|
|
29906
29907
|
open: K,
|
|
29907
29908
|
setOpen: q,
|
|
29908
29909
|
visibleOptions: Q,
|
|
29909
29910
|
pinnedCount: $,
|
|
29910
|
-
isChecked:
|
|
29911
|
-
toggle:
|
|
29912
|
-
bulkActions:
|
|
29911
|
+
isChecked: tJ,
|
|
29912
|
+
toggle: nJ,
|
|
29913
|
+
bulkActions: iJ,
|
|
29913
29914
|
labelOf: O
|
|
29914
|
-
}, t[33] =
|
|
29915
|
+
}, t[33] = iJ, t[34] = tJ, t[35] = O, t[36] = K, t[37] = $, t[38] = M, t[39] = q, t[40] = oJ, t[41] = nJ, t[42] = Q, t[43] = sJ) : sJ = t[43], sJ;
|
|
29915
29916
|
};
|
|
29916
29917
|
const Sets = {
|
|
29917
29918
|
merge(...e) {
|
|
@@ -30240,7 +30241,7 @@ ${n}` : "Please fix this error.";
|
|
|
30240
30241
|
type: S,
|
|
30241
30242
|
operator: E,
|
|
30242
30243
|
draft: mergeNumberTextDraft(A, I)
|
|
30243
|
-
}), $ = Q === void 0,
|
|
30244
|
+
}), $ = Q === void 0, eJ = $ ? getMissingValueMessage(S, E) : "Apply filter", tJ = () => {
|
|
30244
30245
|
if (!Q) return;
|
|
30245
30246
|
let e2 = Q;
|
|
30246
30247
|
t.setColumnFilters((t2) => {
|
|
@@ -30259,20 +30260,20 @@ ${n}` : "Please fix this error.";
|
|
|
30259
30260
|
value: e2
|
|
30260
30261
|
}, n2;
|
|
30261
30262
|
}), i();
|
|
30262
|
-
},
|
|
30263
|
+
}, nJ = () => {
|
|
30263
30264
|
a !== void 0 && t.setColumnFilters((e2) => e2.filter((e3, t2) => t2 !== a)), i();
|
|
30264
|
-
},
|
|
30265
|
+
}, rJ = !OPERATORS_WITHOUT_VALUE.has(E), iJ = OPERATORS_BY_TYPE[S], aJ = (0, import_react.useRef)(null), oJ = (0, import_react.useRef)(null);
|
|
30265
30266
|
return (0, import_react.useEffect)(() => {
|
|
30266
30267
|
var _a2, _b;
|
|
30267
|
-
let e2 = (_a2 =
|
|
30268
|
-
e2 ? e2.focus() : (_b =
|
|
30268
|
+
let e2 = (_a2 = aJ.current) == null ? void 0 : _a2.querySelector('input, [role="spinbutton"], [role="combobox"], button');
|
|
30269
|
+
e2 ? e2.focus() : (_b = oJ.current) == null ? void 0 : _b.focus();
|
|
30269
30270
|
}, [
|
|
30270
30271
|
S,
|
|
30271
30272
|
E
|
|
30272
30273
|
]), (0, import_jsx_runtime.jsxs)("form", {
|
|
30273
30274
|
className: "flex flex-row gap-4 items-end p-3",
|
|
30274
30275
|
onSubmit: (e2) => {
|
|
30275
|
-
e2.preventDefault(),
|
|
30276
|
+
e2.preventDefault(), tJ();
|
|
30276
30277
|
},
|
|
30277
30278
|
onKeyDownCapture: (e2) => {
|
|
30278
30279
|
e2.key === "Tab" && e2.stopPropagation();
|
|
@@ -30313,13 +30314,13 @@ ${n}` : "Please fix this error.";
|
|
|
30313
30314
|
onValueChange: (e2) => J(e2),
|
|
30314
30315
|
children: [
|
|
30315
30316
|
(0, import_jsx_runtime.jsx)(SelectTrigger, {
|
|
30316
|
-
ref:
|
|
30317
|
+
ref: oJ,
|
|
30317
30318
|
id: s,
|
|
30318
30319
|
className: "h-6 mb-1 bg-transparent",
|
|
30319
30320
|
children: (0, import_jsx_runtime.jsx)(SelectValue, {})
|
|
30320
30321
|
}),
|
|
30321
30322
|
(0, import_jsx_runtime.jsx)(SelectContent, {
|
|
30322
|
-
children:
|
|
30323
|
+
children: iJ.map((e2) => (0, import_jsx_runtime.jsx)(SelectItem, {
|
|
30323
30324
|
value: e2,
|
|
30324
30325
|
children: OPERATOR_LABELS[e2]
|
|
30325
30326
|
}, e2))
|
|
@@ -30328,8 +30329,8 @@ ${n}` : "Please fix this error.";
|
|
|
30328
30329
|
}, S)
|
|
30329
30330
|
]
|
|
30330
30331
|
}),
|
|
30331
|
-
|
|
30332
|
-
ref:
|
|
30332
|
+
rJ && (0, import_jsx_runtime.jsxs)("div", {
|
|
30333
|
+
ref: aJ,
|
|
30333
30334
|
className: "flex flex-col gap-1",
|
|
30334
30335
|
children: [
|
|
30335
30336
|
(0, import_jsx_runtime.jsx)("label", {
|
|
@@ -30356,7 +30357,7 @@ ${n}` : "Please fix this error.";
|
|
|
30356
30357
|
className: "flex gap-1 mb-1",
|
|
30357
30358
|
children: [
|
|
30358
30359
|
(0, import_jsx_runtime.jsx)(Tooltip, {
|
|
30359
|
-
content:
|
|
30360
|
+
content: eJ,
|
|
30360
30361
|
children: (0, import_jsx_runtime.jsx)("span", {
|
|
30361
30362
|
className: "inline-flex",
|
|
30362
30363
|
children: (0, import_jsx_runtime.jsx)(Button, {
|
|
@@ -30395,7 +30396,7 @@ ${n}` : "Please fix this error.";
|
|
|
30395
30396
|
size: "icon",
|
|
30396
30397
|
variant: "ghost",
|
|
30397
30398
|
className: "rounded-full text-destructive hover:text-destructive hover:bg-destructive/10",
|
|
30398
|
-
onClick:
|
|
30399
|
+
onClick: nJ,
|
|
30399
30400
|
"aria-label": "Remove filter",
|
|
30400
30401
|
children: (0, import_jsx_runtime.jsx)(Trash2, {
|
|
30401
30402
|
className: "h-3.5 w-3.5",
|
|
@@ -32603,29 +32604,29 @@ ${n}` : "Please fix this error.";
|
|
|
32603
32604
|
}, t[16] = a, t[17] = J);
|
|
32604
32605
|
let Q = useEvent_default(J), $;
|
|
32605
32606
|
t[18] === S ? $ = t[19] : ($ = () => S(), t[18] = S, t[19] = $);
|
|
32606
|
-
let
|
|
32607
|
-
t[20] === S ? (
|
|
32607
|
+
let eJ = useEvent_default($), tJ, nJ;
|
|
32608
|
+
t[20] === S ? (tJ = t[21], nJ = t[22]) : (tJ = () => (window.addEventListener("scroll", S, {
|
|
32608
32609
|
passive: true,
|
|
32609
32610
|
capture: true
|
|
32610
32611
|
}), window.addEventListener("resize", S), () => {
|
|
32611
32612
|
window.removeEventListener("scroll", S, {
|
|
32612
32613
|
capture: true
|
|
32613
32614
|
}), window.removeEventListener("resize", S);
|
|
32614
|
-
}),
|
|
32615
|
+
}), nJ = [
|
|
32615
32616
|
S
|
|
32616
|
-
], t[20] = S, t[21] =
|
|
32617
|
-
let
|
|
32618
|
-
t[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
32619
|
-
let
|
|
32620
|
-
return t[25] !==
|
|
32617
|
+
], t[20] = S, t[21] = tJ, t[22] = nJ), (0, import_react.useEffect)(tJ, nJ);
|
|
32618
|
+
let rJ, iJ;
|
|
32619
|
+
t[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (rJ = () => v, iJ = [], t[23] = rJ, t[24] = iJ) : (rJ = t[23], iJ = t[24]), (0, import_react.useEffect)(rJ, iJ);
|
|
32620
|
+
let aJ;
|
|
32621
|
+
return t[25] !== eJ || t[26] !== Q || t[27] !== q || t[28] !== U || t[29] !== S || t[30] !== d || t[31] !== o ? (aJ = {
|
|
32621
32622
|
tooltipState: o,
|
|
32622
32623
|
tooltipContentId: d,
|
|
32623
32624
|
hideTooltip: S,
|
|
32624
32625
|
handleCellMouseOver: U,
|
|
32625
32626
|
handleCellMouseLeave: q,
|
|
32626
32627
|
handleCellFocus: Q,
|
|
32627
|
-
handleCellBlur:
|
|
32628
|
-
}, t[25] =
|
|
32628
|
+
handleCellBlur: eJ
|
|
32629
|
+
}, t[25] = eJ, t[26] = Q, t[27] = q, t[28] = U, t[29] = S, t[30] = d, t[31] = o, t[32] = aJ) : aJ = t[32], aJ;
|
|
32629
32630
|
}
|
|
32630
32631
|
var import_compiler_runtime$18 = require_compiler_runtime();
|
|
32631
32632
|
const CellRangeSelectionIndicator = (0, import_react.memo)((e) => {
|
|
@@ -34063,7 +34064,7 @@ ${n}` : "Please fix this error.";
|
|
|
34063
34064
|
filename: i2.filename
|
|
34064
34065
|
};
|
|
34065
34066
|
}, t[6] = e, t[7] = O);
|
|
34066
|
-
let A = O, M, I, z, U, K, q, J, Q, $,
|
|
34067
|
+
let A = O, M, I, z, U, K, q, J, Q, $, eJ, tJ, nJ, rJ;
|
|
34067
34068
|
if (t[8] !== S || t[9] !== c || t[10] !== n || t[11] !== A || t[12] !== d) {
|
|
34068
34069
|
let e2 = async (t2) => {
|
|
34069
34070
|
let n2 = labelForDownloadFormat(t2);
|
|
@@ -34129,10 +34130,10 @@ ${n}` : "Please fix this error.";
|
|
|
34129
34130
|
content: d,
|
|
34130
34131
|
open: o2,
|
|
34131
34132
|
children: h
|
|
34132
|
-
}), t[32] = o2, t[33] = h, t[34] = d, t[35] = Q) : Q = t[35], M = DropdownMenuContent, $ = "bottom",
|
|
34133
|
+
}), t[32] = o2, t[33] = h, t[34] = d, t[35] = Q) : Q = t[35], M = DropdownMenuContent, $ = "bottom", eJ = "print:hidden", t[36] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (tJ = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
|
|
34133
34134
|
className: "text-xs text-muted-foreground",
|
|
34134
34135
|
children: "Download"
|
|
34135
|
-
}), t[36] =
|
|
34136
|
+
}), t[36] = tJ) : tJ = t[36], nJ = downloadOptions.map((t2) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
|
|
34136
34137
|
onSelect: () => {
|
|
34137
34138
|
e2(t2.format);
|
|
34138
34139
|
},
|
|
@@ -34153,10 +34154,10 @@ ${n}` : "Please fix this error.";
|
|
|
34153
34154
|
]
|
|
34154
34155
|
})
|
|
34155
34156
|
]
|
|
34156
|
-
}, t2.label)), t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
34157
|
+
}, t2.label)), t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (rJ = (0, import_jsx_runtime.jsx)(DropdownMenuSeparator, {}), z = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
|
|
34157
34158
|
className: "text-xs text-muted-foreground",
|
|
34158
34159
|
children: "Copy to clipboard"
|
|
34159
|
-
}), t[37] = z, t[38] =
|
|
34160
|
+
}), t[37] = z, t[38] = rJ) : (z = t[37], rJ = t[38]), U = copyOptions.map((e3) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
|
|
34160
34161
|
onSelect: async () => {
|
|
34161
34162
|
try {
|
|
34162
34163
|
await a(e3.format);
|
|
@@ -34185,30 +34186,30 @@ ${n}` : "Please fix this error.";
|
|
|
34185
34186
|
]
|
|
34186
34187
|
})
|
|
34187
34188
|
]
|
|
34188
|
-
}, e3.label)), t[8] = S, t[9] = c, t[10] = n, t[11] = A, t[12] = d, t[13] = M, t[14] = I, t[15] = z, t[16] = U, t[17] = K, t[18] = q, t[19] = J, t[20] = Q, t[21] = $, t[22] =
|
|
34189
|
-
} 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],
|
|
34190
|
-
let
|
|
34191
|
-
t[39] !== M || t[40] !== z || t[41] !== U || t[42] !== $ || t[43] !==
|
|
34189
|
+
}, e3.label)), t[8] = S, t[9] = c, t[10] = n, t[11] = A, t[12] = d, t[13] = M, t[14] = I, t[15] = z, t[16] = U, t[17] = K, t[18] = q, t[19] = J, t[20] = Q, t[21] = $, t[22] = eJ, t[23] = tJ, t[24] = nJ, t[25] = rJ;
|
|
34190
|
+
} 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], eJ = t[22], tJ = t[23], nJ = t[24], rJ = t[25];
|
|
34191
|
+
let iJ;
|
|
34192
|
+
t[39] !== M || t[40] !== z || t[41] !== U || t[42] !== $ || t[43] !== eJ || t[44] !== tJ || t[45] !== nJ || t[46] !== rJ ? (iJ = (0, import_jsx_runtime.jsxs)(M, {
|
|
34192
34193
|
side: $,
|
|
34193
|
-
className:
|
|
34194
|
+
className: eJ,
|
|
34194
34195
|
children: [
|
|
34195
|
-
|
|
34196
|
-
|
|
34197
|
-
|
|
34196
|
+
tJ,
|
|
34197
|
+
nJ,
|
|
34198
|
+
rJ,
|
|
34198
34199
|
z,
|
|
34199
34200
|
U
|
|
34200
34201
|
]
|
|
34201
|
-
}), t[39] = M, t[40] = z, t[41] = U, t[42] = $, t[43] =
|
|
34202
|
-
let
|
|
34203
|
-
return t[48] !== I || t[49] !== K || t[50] !== q || t[51] !== J || t[52] !== Q || t[53] !==
|
|
34202
|
+
}), t[39] = M, t[40] = z, t[41] = U, t[42] = $, t[43] = eJ, t[44] = tJ, t[45] = nJ, t[46] = rJ, t[47] = iJ) : iJ = t[47];
|
|
34203
|
+
let aJ;
|
|
34204
|
+
return t[48] !== I || t[49] !== K || t[50] !== q || t[51] !== J || t[52] !== Q || t[53] !== iJ ? (aJ = (0, import_jsx_runtime.jsxs)(I, {
|
|
34204
34205
|
modal: K,
|
|
34205
34206
|
open: q,
|
|
34206
34207
|
onOpenChange: J,
|
|
34207
34208
|
children: [
|
|
34208
34209
|
Q,
|
|
34209
|
-
|
|
34210
|
+
iJ
|
|
34210
34211
|
]
|
|
34211
|
-
}), t[48] = I, t[49] = K, t[50] = q, t[51] = J, t[52] = Q, t[53] =
|
|
34212
|
+
}), t[48] = I, t[49] = K, t[50] = q, t[51] = J, t[52] = Q, t[53] = iJ, t[54] = aJ) : aJ = t[54], aJ;
|
|
34212
34213
|
};
|
|
34213
34214
|
function fetchJson(e) {
|
|
34214
34215
|
return fetchText(e).then(jsonParseWithSpecialChar);
|
|
@@ -34304,22 +34305,22 @@ ${n}` : "Please fix this error.";
|
|
|
34304
34305
|
]
|
|
34305
34306
|
});
|
|
34306
34307
|
};
|
|
34307
|
-
DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data: o, rawData: s, selection: c, totalColumns: d, totalRows: f, sizeBytes: _, sizeBytesIsLoading: v, manualSorting: y = false, sorting: S, setSorting: w, rowSelection: E, cellSelection: O, cellStyling: A, hoverTemplate: M, cellHoverTexts: I, paginationState: z, setPaginationState: U, downloadAs: K, manualPagination: q = false, pagination: J = false, onRowSelectionChange: Q, onCellSelectionChange: $, getRowIds:
|
|
34308
|
-
let
|
|
34308
|
+
DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data: o, rawData: s, selection: c, totalColumns: d, totalRows: f, sizeBytes: _, sizeBytesIsLoading: v, manualSorting: y = false, sorting: S, setSorting: w, rowSelection: E, cellSelection: O, cellStyling: A, hoverTemplate: M, cellHoverTexts: I, paginationState: z, setPaginationState: U, downloadAs: K, manualPagination: q = false, pagination: J = false, onRowSelectionChange: Q, onCellSelectionChange: $, getRowIds: eJ, showSearch: tJ = false, searchQuery: nJ, onSearchQueryChange: rJ, showFilters: iJ = false, filters: aJ, onFiltersChange: oJ, calculateTopKRows: sJ, reloading: cJ, freezeColumnsLeft: lJ, freezeColumnsRight: uJ, hiddenColumns: dJ, toggleDisplayHeader: fJ, showChartBuilder: pJ, isChartBuilderOpen: mJ, showPageSizeSelector: hJ, showTableExplorer: gJ, togglePanel: _J, isPanelOpen: vJ, isAnyPanelOpen: yJ, viewedRowIdx: bJ, onViewedRowChange: xJ, renderTableExplorerPanel: SJ }) => {
|
|
34309
|
+
let CJ = isStaticNotebook(), wJ = !CJ, [TJ, EJ] = import_react.useState(false), { locale: DJ } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), { columnPinning: OJ, setColumnPinning: kJ } = useColumnPinning(lJ, uJ), { columnVisibility: AJ, setColumnVisibility: jJ } = useColumnVisibility(dJ);
|
|
34309
34310
|
import_react.useEffect(() => {
|
|
34310
34311
|
let e2;
|
|
34311
|
-
return
|
|
34312
|
-
|
|
34313
|
-
}, 300) :
|
|
34312
|
+
return cJ ? e2 = setTimeout(() => {
|
|
34313
|
+
EJ(true);
|
|
34314
|
+
}, 300) : EJ(false), () => {
|
|
34314
34315
|
e2 && clearTimeout(e2);
|
|
34315
34316
|
};
|
|
34316
34317
|
}, [
|
|
34317
|
-
|
|
34318
|
+
cJ
|
|
34318
34319
|
]);
|
|
34319
|
-
function
|
|
34320
|
+
function MJ(e2, t2) {
|
|
34320
34321
|
return z ? t2 + (q ? z.pageIndex * z.pageSize : 0) : t2;
|
|
34321
34322
|
}
|
|
34322
|
-
let
|
|
34323
|
+
let NJ = useReactTable({
|
|
34323
34324
|
_features: [
|
|
34324
34325
|
ColumnPinning,
|
|
34325
34326
|
ColumnWrappingFeature,
|
|
@@ -34343,37 +34344,37 @@ ${n}` : "Please fix this error.";
|
|
|
34343
34344
|
getRowId: (e2, t2) => {
|
|
34344
34345
|
let n2 = getStableRowId(e2);
|
|
34345
34346
|
if (n2) return n2;
|
|
34346
|
-
let i2 =
|
|
34347
|
+
let i2 = MJ(e2, t2);
|
|
34347
34348
|
return String(i2);
|
|
34348
34349
|
}
|
|
34349
34350
|
} : {},
|
|
34350
|
-
locale:
|
|
34351
|
+
locale: DJ,
|
|
34351
34352
|
manualPagination: q,
|
|
34352
34353
|
getPaginationRowModel: getPaginationRowModel(),
|
|
34353
34354
|
...w ? {
|
|
34354
34355
|
onSortingChange: w
|
|
34355
34356
|
} : {},
|
|
34356
34357
|
manualSorting: y,
|
|
34357
|
-
enableSorting: !
|
|
34358
|
+
enableSorting: !CJ,
|
|
34358
34359
|
enableMultiSort: true,
|
|
34359
34360
|
getSortedRowModel: getSortedRowModel(),
|
|
34360
34361
|
manualFiltering: true,
|
|
34361
|
-
enableColumnFilters:
|
|
34362
|
+
enableColumnFilters: iJ && !CJ,
|
|
34362
34363
|
getFilteredRowModel: getFilteredRowModel(),
|
|
34363
|
-
onColumnFiltersChange:
|
|
34364
|
+
onColumnFiltersChange: oJ,
|
|
34364
34365
|
onRowSelectionChange: Q,
|
|
34365
34366
|
onCellSelectionChange: $,
|
|
34366
34367
|
enableCellSelection: c === "single-cell" || c === "multi-cell",
|
|
34367
34368
|
enableMultiCellSelection: c === "multi-cell",
|
|
34368
|
-
onColumnPinningChange:
|
|
34369
|
-
onColumnVisibilityChange:
|
|
34369
|
+
onColumnPinningChange: kJ,
|
|
34370
|
+
onColumnVisibilityChange: jJ,
|
|
34370
34371
|
enableFocusRow: true,
|
|
34371
|
-
onFocusRowChange:
|
|
34372
|
+
onFocusRowChange: xJ,
|
|
34372
34373
|
state: {
|
|
34373
34374
|
...S ? {
|
|
34374
34375
|
sorting: S
|
|
34375
34376
|
} : {},
|
|
34376
|
-
columnFilters:
|
|
34377
|
+
columnFilters: aJ,
|
|
34377
34378
|
...z ? {
|
|
34378
34379
|
pagination: z
|
|
34379
34380
|
} : J && !z ? {} : {
|
|
@@ -34384,60 +34385,60 @@ ${n}` : "Please fix this error.";
|
|
|
34384
34385
|
},
|
|
34385
34386
|
rowSelection: E ?? {},
|
|
34386
34387
|
cellSelection: O ?? [],
|
|
34387
|
-
columnVisibility:
|
|
34388
|
+
columnVisibility: AJ,
|
|
34388
34389
|
cellStyling: A,
|
|
34389
|
-
columnPinning:
|
|
34390
|
+
columnPinning: OJ,
|
|
34390
34391
|
cellHoverTemplate: M,
|
|
34391
34392
|
cellHoverTexts: I ?? {}
|
|
34392
34393
|
}
|
|
34393
|
-
}),
|
|
34394
|
+
}), PJ = (vJ == null ? void 0 : vJ(PANEL_TYPES.ROW_VIEWER)) ?? false, FJ = !J && o.length > 100, IJ = useScrollContainerHeight({
|
|
34394
34395
|
maxHeight: n,
|
|
34395
|
-
virtualize:
|
|
34396
|
-
}), [
|
|
34396
|
+
virtualize: FJ
|
|
34397
|
+
}), [LJ, RJ] = import_react.useState(null), zJ = import_react.useMemo(() => ({
|
|
34397
34398
|
requestAddFilter: (e2) => {
|
|
34398
|
-
let t2 =
|
|
34399
|
-
t2 &&
|
|
34399
|
+
let t2 = NJ.getColumn(e2.columnId);
|
|
34400
|
+
t2 && RJ(buildEditorSnapshot(t2, {
|
|
34400
34401
|
operator: e2.operator
|
|
34401
34402
|
}));
|
|
34402
34403
|
}
|
|
34403
34404
|
}), [
|
|
34404
|
-
|
|
34405
|
-
]),
|
|
34405
|
+
NJ
|
|
34406
|
+
]), BJ = getUserColumnVisibilityCounts(NJ), VJ = BJ.total > 0 && BJ.visible === 0;
|
|
34406
34407
|
return (0, import_jsx_runtime.jsx)(FilterEditorProvider, {
|
|
34407
|
-
value:
|
|
34408
|
+
value: zJ,
|
|
34408
34409
|
children: (0, import_jsx_runtime.jsxs)("div", {
|
|
34409
34410
|
className: cn(e, "flex flex-col space-y-1"),
|
|
34410
34411
|
children: [
|
|
34411
34412
|
(0, import_jsx_runtime.jsx)(FilterPills, {
|
|
34412
|
-
filters:
|
|
34413
|
-
table:
|
|
34414
|
-
calculateTopKRows:
|
|
34415
|
-
addFilterSnapshot:
|
|
34416
|
-
onAddFilterSnapshotChange:
|
|
34413
|
+
filters: aJ,
|
|
34414
|
+
table: NJ,
|
|
34415
|
+
calculateTopKRows: sJ,
|
|
34416
|
+
addFilterSnapshot: LJ,
|
|
34417
|
+
onAddFilterSnapshotChange: RJ
|
|
34417
34418
|
}),
|
|
34418
|
-
|
|
34419
|
+
SJ == null ? void 0 : SJ(NJ),
|
|
34419
34420
|
(0, import_jsx_runtime.jsx)(CellSelectionProvider, {
|
|
34420
34421
|
children: (0, import_jsx_runtime.jsxs)("div", {
|
|
34421
34422
|
part: "table-wrapper",
|
|
34422
34423
|
className: cn(t || "rounded-md border overflow-hidden"),
|
|
34423
34424
|
children: [
|
|
34424
|
-
|
|
34425
|
-
table:
|
|
34426
|
-
showSearch:
|
|
34427
|
-
searchQuery:
|
|
34428
|
-
onSearchQueryChange:
|
|
34429
|
-
reloading:
|
|
34430
|
-
showChartBuilder:
|
|
34431
|
-
isChartBuilderOpen:
|
|
34432
|
-
toggleDisplayHeader:
|
|
34433
|
-
showTableExplorer:
|
|
34434
|
-
togglePanel:
|
|
34435
|
-
isAnyPanelOpen:
|
|
34425
|
+
wJ && (0, import_jsx_runtime.jsx)(TableTopBar, {
|
|
34426
|
+
table: NJ,
|
|
34427
|
+
showSearch: tJ,
|
|
34428
|
+
searchQuery: nJ,
|
|
34429
|
+
onSearchQueryChange: rJ,
|
|
34430
|
+
reloading: cJ,
|
|
34431
|
+
showChartBuilder: pJ,
|
|
34432
|
+
isChartBuilderOpen: mJ,
|
|
34433
|
+
toggleDisplayHeader: fJ,
|
|
34434
|
+
showTableExplorer: gJ,
|
|
34435
|
+
togglePanel: _J,
|
|
34436
|
+
isAnyPanelOpen: yJ,
|
|
34436
34437
|
downloadAs: K,
|
|
34437
34438
|
sizeBytes: _,
|
|
34438
34439
|
sizeBytesIsLoading: v
|
|
34439
34440
|
}),
|
|
34440
|
-
|
|
34441
|
+
VJ && (0, import_jsx_runtime.jsxs)(Banner, {
|
|
34441
34442
|
className: "mb-1 mx-2 rounded flex items-center justify-between",
|
|
34442
34443
|
children: [
|
|
34443
34444
|
(0, import_jsx_runtime.jsx)("span", {
|
|
@@ -34446,26 +34447,26 @@ ${n}` : "Please fix this error.";
|
|
|
34446
34447
|
(0, import_jsx_runtime.jsx)(Button, {
|
|
34447
34448
|
variant: "link",
|
|
34448
34449
|
size: "xs",
|
|
34449
|
-
onClick: () =>
|
|
34450
|
+
onClick: () => NJ.resetColumnVisibility(true),
|
|
34450
34451
|
children: "Unhide all"
|
|
34451
34452
|
})
|
|
34452
34453
|
]
|
|
34453
34454
|
}),
|
|
34454
34455
|
(0, import_jsx_runtime.jsxs)(Table, {
|
|
34455
34456
|
className: cn("relative", i.length <= 4 ? "w-auto" : "w-full"),
|
|
34456
|
-
ref:
|
|
34457
|
+
ref: IJ,
|
|
34457
34458
|
children: [
|
|
34458
|
-
|
|
34459
|
+
TJ && (0, import_jsx_runtime.jsx)("thead", {
|
|
34459
34460
|
className: "absolute top-0 left-0 h-[3px] w-1/2 bg-primary animate-slide"
|
|
34460
34461
|
}),
|
|
34461
|
-
renderTableHeader(
|
|
34462
|
+
renderTableHeader(NJ, FJ || !!n),
|
|
34462
34463
|
(0, import_jsx_runtime.jsx)(DataTableBody, {
|
|
34463
|
-
table:
|
|
34464
|
+
table: NJ,
|
|
34464
34465
|
columns: i,
|
|
34465
|
-
rowViewerPanelOpen:
|
|
34466
|
-
getRowIndex:
|
|
34467
|
-
viewedRowIdx:
|
|
34468
|
-
virtualize:
|
|
34466
|
+
rowViewerPanelOpen: PJ,
|
|
34467
|
+
getRowIndex: MJ,
|
|
34468
|
+
viewedRowIdx: bJ,
|
|
34469
|
+
virtualize: FJ
|
|
34469
34470
|
})
|
|
34470
34471
|
]
|
|
34471
34472
|
}),
|
|
@@ -34476,10 +34477,10 @@ ${n}` : "Please fix this error.";
|
|
|
34476
34477
|
pagination: J,
|
|
34477
34478
|
selection: c,
|
|
34478
34479
|
onRowSelectionChange: Q,
|
|
34479
|
-
table:
|
|
34480
|
-
getRowIds:
|
|
34481
|
-
showPageSizeSelector:
|
|
34482
|
-
tableLoading:
|
|
34480
|
+
table: NJ,
|
|
34481
|
+
getRowIds: eJ,
|
|
34482
|
+
showPageSizeSelector: hJ,
|
|
34483
|
+
tableLoading: cJ
|
|
34483
34484
|
})
|
|
34484
34485
|
]
|
|
34485
34486
|
})
|
|
@@ -34562,62 +34563,62 @@ ${n}` : "Please fix this error.";
|
|
|
34562
34563
|
t[4] === i ? v = t[5] : (v = (_a2 = extractAllTracebackInfo(i)) == null ? void 0 : _a2.at(0), t[4] = i, t[5] = v);
|
|
34563
34564
|
let y = v, w;
|
|
34564
34565
|
t[6] !== a || t[7] !== y ? (w = y && y.kind === "cell" && !isWasm() && !isStaticNotebook() && a !== "__scratch__", t[6] = a, t[7] = y, t[8] = w) : w = t[8];
|
|
34565
|
-
let
|
|
34566
|
-
t[9] !== f || t[10] !== n ? (
|
|
34567
|
-
let
|
|
34568
|
-
t[12] !== d || t[13] !== n ? (
|
|
34566
|
+
let A = w, M;
|
|
34567
|
+
t[9] !== f || t[10] !== n ? (M = n && f && !isStaticNotebook(), t[9] = f, t[10] = n, t[11] = M) : M = t[11];
|
|
34568
|
+
let I = M, z = !isStaticNotebook(), [U, K] = (0, import_react.useState)(true), q;
|
|
34569
|
+
t[12] !== d || t[13] !== n ? (q = (e2) => {
|
|
34569
34570
|
n == null ? void 0 : n({
|
|
34570
34571
|
prompt: `My code gives the following error:
|
|
34571
34572
|
|
|
34572
34573
|
${d}`,
|
|
34573
34574
|
triggerImmediately: e2
|
|
34574
34575
|
});
|
|
34575
|
-
}, t[12] = d, t[13] = n, t[14] =
|
|
34576
|
-
let
|
|
34577
|
-
t[15] !== a || t[16] !== d || t[17] !== _ ? (
|
|
34576
|
+
}, t[12] = d, t[13] = n, t[14] = q) : q = t[14];
|
|
34577
|
+
let J = q, Q;
|
|
34578
|
+
t[15] !== a || t[16] !== d || t[17] !== _ ? (Q = () => {
|
|
34578
34579
|
_({
|
|
34579
34580
|
prompt: buildFixInChatPrompt(a, d)
|
|
34580
34581
|
});
|
|
34581
|
-
}, t[15] = a, t[16] = d, t[17] = _, t[18] =
|
|
34582
|
-
let
|
|
34583
|
-
t[19] ===
|
|
34584
|
-
let rJ =
|
|
34585
|
-
t[21] ===
|
|
34582
|
+
}, t[15] = a, t[16] = d, t[17] = _, t[18] = Q) : Q = t[18];
|
|
34583
|
+
let tJ = Q, nJ;
|
|
34584
|
+
t[19] === U ? nJ = t[20] : (nJ = () => K(!U), t[19] = U, t[20] = nJ);
|
|
34585
|
+
let rJ = U ? "Collapse traceback" : "Expand traceback", iJ;
|
|
34586
|
+
t[21] === U ? iJ = t[22] : (iJ = U ? (0, import_jsx_runtime.jsx)(ChevronDown, {
|
|
34586
34587
|
className: "h-3 w-3"
|
|
34587
34588
|
}) : (0, import_jsx_runtime.jsx)(ChevronRight, {
|
|
34588
34589
|
className: "h-3 w-3"
|
|
34589
|
-
}), t[21] =
|
|
34590
|
-
let
|
|
34591
|
-
t[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
34590
|
+
}), t[21] = U, t[22] = iJ);
|
|
34591
|
+
let aJ;
|
|
34592
|
+
t[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (aJ = (0, import_jsx_runtime.jsx)("span", {
|
|
34592
34593
|
className: "text-[0.6875rem] uppercase tracking-wider",
|
|
34593
34594
|
children: "Traceback"
|
|
34594
|
-
}), t[23] =
|
|
34595
|
-
let
|
|
34596
|
-
t[24] !==
|
|
34595
|
+
}), t[23] = aJ) : aJ = t[23];
|
|
34596
|
+
let oJ;
|
|
34597
|
+
t[24] !== U || t[25] !== iJ || t[26] !== nJ || t[27] !== rJ ? (oJ = (0, import_jsx_runtime.jsxs)("button", {
|
|
34597
34598
|
type: "button",
|
|
34598
|
-
onClick:
|
|
34599
|
-
"aria-expanded":
|
|
34599
|
+
onClick: nJ,
|
|
34600
|
+
"aria-expanded": U,
|
|
34600
34601
|
"aria-label": rJ,
|
|
34601
34602
|
className: "self-start flex items-center gap-1 pt-2 text-muted-foreground/70 hover:text-muted-foreground transition-colors",
|
|
34602
34603
|
children: [
|
|
34603
|
-
|
|
34604
|
-
|
|
34604
|
+
iJ,
|
|
34605
|
+
aJ
|
|
34605
34606
|
]
|
|
34606
|
-
}), t[24] =
|
|
34607
|
-
let
|
|
34608
|
-
t[29] !== s || t[30] !==
|
|
34607
|
+
}), t[24] = U, t[25] = iJ, t[26] = nJ, t[27] = rJ, t[28] = oJ) : oJ = t[28];
|
|
34608
|
+
let sJ;
|
|
34609
|
+
t[29] !== s || t[30] !== U ? (sJ = U && (0, import_jsx_runtime.jsx)("div", {
|
|
34609
34610
|
className: "text-muted-foreground pr-4 text-xs overflow-auto",
|
|
34610
34611
|
children: s
|
|
34611
|
-
}), t[29] = s, t[30] =
|
|
34612
|
-
let
|
|
34613
|
-
t[32] !==
|
|
34612
|
+
}), t[29] = s, t[30] = U, t[31] = sJ) : sJ = t[31];
|
|
34613
|
+
let cJ;
|
|
34614
|
+
t[32] !== J || t[33] !== tJ || t[34] !== I ? (cJ = I && (0, import_jsx_runtime.jsx)(AIFixButton, {
|
|
34614
34615
|
tooltip: "Fix with AI",
|
|
34615
|
-
openPrompt: () =>
|
|
34616
|
-
applyAutofix: () =>
|
|
34617
|
-
openChat:
|
|
34618
|
-
}), t[32] =
|
|
34619
|
-
let
|
|
34620
|
-
t[36] !==
|
|
34616
|
+
openPrompt: () => J(false),
|
|
34617
|
+
applyAutofix: () => J(true),
|
|
34618
|
+
openChat: tJ
|
|
34619
|
+
}), t[32] = J, t[33] = tJ, t[34] = I, t[35] = cJ) : cJ = t[35];
|
|
34620
|
+
let lJ;
|
|
34621
|
+
t[36] !== A || t[37] !== y ? (lJ = A && (0, import_jsx_runtime.jsx)(Tooltip, {
|
|
34621
34622
|
content: "Attach pdb to the exception point.",
|
|
34622
34623
|
children: (0, import_jsx_runtime.jsxs)(Button, {
|
|
34623
34624
|
size: "xs",
|
|
@@ -34634,9 +34635,9 @@ ${d}`,
|
|
|
34634
34635
|
"Launch debugger"
|
|
34635
34636
|
]
|
|
34636
34637
|
})
|
|
34637
|
-
}), t[36] =
|
|
34638
|
-
let
|
|
34639
|
-
t[39] !== d || t[40] !== i ? (
|
|
34638
|
+
}), t[36] = A, t[37] = y, t[38] = lJ) : lJ = t[38];
|
|
34639
|
+
let uJ;
|
|
34640
|
+
t[39] !== d || t[40] !== i ? (uJ = z && (0, import_jsx_runtime.jsxs)(DropdownMenu, {
|
|
34640
34641
|
children: [
|
|
34641
34642
|
(0, import_jsx_runtime.jsx)(DropdownMenuTrigger, {
|
|
34642
34643
|
asChild: true,
|
|
@@ -34704,25 +34705,25 @@ ${d}`,
|
|
|
34704
34705
|
]
|
|
34705
34706
|
})
|
|
34706
34707
|
]
|
|
34707
|
-
}), t[39] = d, t[40] = i, t[41] =
|
|
34708
|
-
let
|
|
34709
|
-
t[42] !==
|
|
34708
|
+
}), t[39] = d, t[40] = i, t[41] = uJ) : uJ = t[41];
|
|
34709
|
+
let dJ;
|
|
34710
|
+
t[42] !== cJ || t[43] !== lJ || t[44] !== uJ ? (dJ = (0, import_jsx_runtime.jsxs)("div", {
|
|
34710
34711
|
className: "flex gap-2",
|
|
34711
34712
|
children: [
|
|
34712
|
-
|
|
34713
|
-
|
|
34714
|
-
|
|
34713
|
+
cJ,
|
|
34714
|
+
lJ,
|
|
34715
|
+
uJ
|
|
34715
34716
|
]
|
|
34716
|
-
}), t[42] =
|
|
34717
|
-
let
|
|
34718
|
-
return t[46] !==
|
|
34717
|
+
}), t[42] = cJ, t[43] = lJ, t[44] = uJ, t[45] = dJ) : dJ = t[45];
|
|
34718
|
+
let fJ;
|
|
34719
|
+
return t[46] !== oJ || t[47] !== sJ || t[48] !== dJ ? (fJ = (0, import_jsx_runtime.jsxs)("div", {
|
|
34719
34720
|
className: "flex flex-col gap-2 min-w-full w-fit",
|
|
34720
34721
|
children: [
|
|
34722
|
+
oJ,
|
|
34721
34723
|
sJ,
|
|
34722
|
-
|
|
34723
|
-
pJ
|
|
34724
|
+
dJ
|
|
34724
34725
|
]
|
|
34725
|
-
}), t[46] =
|
|
34726
|
+
}), t[46] = oJ, t[47] = sJ, t[48] = dJ, t[49] = fJ) : fJ = t[49], fJ;
|
|
34726
34727
|
};
|
|
34727
34728
|
function lastLine(e) {
|
|
34728
34729
|
var _a2, _b;
|
|
@@ -35776,7 +35777,6 @@ ${d}`,
|
|
|
35776
35777
|
var import_compiler_runtime$1 = require_compiler_runtime();
|
|
35777
35778
|
DEFAULT_SLIDE_TYPE = "slide";
|
|
35778
35779
|
DEFAULT_DECK_TRANSITION = "slide";
|
|
35779
|
-
DEFAULT_DECK_VERTICAL_ALIGN = "center";
|
|
35780
35780
|
var COLLAPSED_CONFIG_WIDTH = 36, slideConfigOpenAtom = atomWithStorage("marimo:slides:config-open", true, jotaiJsonStorage, {
|
|
35781
35781
|
getOnInit: true
|
|
35782
35782
|
});
|
|
@@ -35842,22 +35842,6 @@ ${d}`,
|
|
|
35842
35842
|
label: "Zoom",
|
|
35843
35843
|
description: "Zoom into the next slide."
|
|
35844
35844
|
}
|
|
35845
|
-
], DECK_VERTICAL_ALIGN_OPTIONS = [
|
|
35846
|
-
{
|
|
35847
|
-
value: "center",
|
|
35848
|
-
label: "Center",
|
|
35849
|
-
description: "Vertically center each slide's content."
|
|
35850
|
-
},
|
|
35851
|
-
{
|
|
35852
|
-
value: "top",
|
|
35853
|
-
label: "Top",
|
|
35854
|
-
description: "Align content to the top, like the cell view."
|
|
35855
|
-
},
|
|
35856
|
-
{
|
|
35857
|
-
value: "bottom",
|
|
35858
|
-
label: "Bottom",
|
|
35859
|
-
description: "Align content to the bottom of each slide."
|
|
35860
|
-
}
|
|
35861
35845
|
], SlidesForm = (e) => {
|
|
35862
35846
|
let t = (0, import_compiler_runtime$1.c)(13), { layout: n, setLayout: i, cellId: a } = e, o;
|
|
35863
35847
|
t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (o = (0, import_jsx_runtime.jsxs)(TabsList, {
|
|
@@ -36051,13 +36035,11 @@ ${d}`,
|
|
|
36051
36035
|
]
|
|
36052
36036
|
}), t[26] = O, t[27] = M, t[28] = I) : I = t[28], I;
|
|
36053
36037
|
}, DeckConfigForm = (e) => {
|
|
36054
|
-
var _a2, _b
|
|
36055
|
-
let t = (0, import_compiler_runtime$1.c)(
|
|
36038
|
+
var _a2, _b;
|
|
36039
|
+
let t = (0, import_compiler_runtime$1.c)(18), { layout: n, setLayout: i } = e, a = ((_a2 = n.deck) == null ? void 0 : _a2.transition) ?? "slide", o;
|
|
36056
36040
|
t[0] === a ? o = t[1] : (o = (_b = DECK_TRANSITION_OPTIONS.find((e2) => e2.value === a)) == null ? void 0 : _b.description, t[0] = a, t[1] = o);
|
|
36057
|
-
let s = o, c
|
|
36058
|
-
t[2]
|
|
36059
|
-
let f = d, h;
|
|
36060
|
-
t[4] !== n || t[5] !== i ? (h = (e2) => {
|
|
36041
|
+
let s = o, c;
|
|
36042
|
+
t[2] !== n || t[3] !== i ? (c = (e2) => {
|
|
36061
36043
|
i({
|
|
36062
36044
|
...n,
|
|
36063
36045
|
deck: {
|
|
@@ -36065,107 +36047,51 @@ ${d}`,
|
|
|
36065
36047
|
transition: e2
|
|
36066
36048
|
}
|
|
36067
36049
|
});
|
|
36068
|
-
}, t[
|
|
36069
|
-
let
|
|
36070
|
-
t[
|
|
36071
|
-
i({
|
|
36072
|
-
...n,
|
|
36073
|
-
deck: {
|
|
36074
|
-
...n.deck,
|
|
36075
|
-
verticalAlign: e2
|
|
36076
|
-
}
|
|
36077
|
-
});
|
|
36078
|
-
}, t[7] = n, t[8] = i, t[9] = v) : v = t[9];
|
|
36079
|
-
let y = v, S;
|
|
36080
|
-
t[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (S = (0, import_jsx_runtime.jsx)("label", {
|
|
36050
|
+
}, t[2] = n, t[3] = i, t[4] = c) : c = t[4];
|
|
36051
|
+
let d = c, f;
|
|
36052
|
+
t[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (f = (0, import_jsx_runtime.jsx)("label", {
|
|
36081
36053
|
htmlFor: "deck-transition",
|
|
36082
36054
|
className: "font-semibold text-sm text-foreground",
|
|
36083
36055
|
children: "Transition"
|
|
36084
|
-
}), t[
|
|
36085
|
-
let
|
|
36086
|
-
t[
|
|
36087
|
-
let
|
|
36088
|
-
t[
|
|
36056
|
+
}), t[5] = f) : f = t[5];
|
|
36057
|
+
let h;
|
|
36058
|
+
t[6] === d ? h = t[7] : (h = (e2) => d(e2), t[6] = d, t[7] = h);
|
|
36059
|
+
let _;
|
|
36060
|
+
t[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_ = (0, import_jsx_runtime.jsx)(SelectTrigger, {
|
|
36089
36061
|
id: "deck-transition",
|
|
36090
36062
|
"aria-label": "Slide transition",
|
|
36091
36063
|
children: (0, import_jsx_runtime.jsx)(SelectValue, {})
|
|
36092
|
-
}), t[
|
|
36093
|
-
let
|
|
36094
|
-
t[
|
|
36064
|
+
}), t[8] = _) : _ = t[8];
|
|
36065
|
+
let v;
|
|
36066
|
+
t[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = (0, import_jsx_runtime.jsx)(SelectContent, {
|
|
36095
36067
|
children: DECK_TRANSITION_OPTIONS.map(_temp3)
|
|
36096
|
-
}), t[
|
|
36097
|
-
let
|
|
36098
|
-
t[
|
|
36068
|
+
}), t[9] = v) : v = t[9];
|
|
36069
|
+
let y;
|
|
36070
|
+
t[10] !== a || t[11] !== h ? (y = (0, import_jsx_runtime.jsxs)(Select, {
|
|
36099
36071
|
value: a,
|
|
36100
|
-
onValueChange:
|
|
36072
|
+
onValueChange: h,
|
|
36101
36073
|
children: [
|
|
36102
|
-
|
|
36103
|
-
|
|
36074
|
+
_,
|
|
36075
|
+
v
|
|
36104
36076
|
]
|
|
36105
|
-
}), t[
|
|
36106
|
-
let
|
|
36107
|
-
t[
|
|
36077
|
+
}), t[10] = a, t[11] = h, t[12] = y) : y = t[12];
|
|
36078
|
+
let S;
|
|
36079
|
+
t[13] === s ? S = t[14] : (S = s && (0, import_jsx_runtime.jsx)("p", {
|
|
36108
36080
|
className: "text-xs text-foreground/70",
|
|
36109
36081
|
children: s
|
|
36110
|
-
}), t[
|
|
36111
|
-
let
|
|
36112
|
-
t[
|
|
36113
|
-
className: "flex flex-col gap-1.5",
|
|
36114
|
-
children: [
|
|
36115
|
-
S,
|
|
36116
|
-
A,
|
|
36117
|
-
M
|
|
36118
|
-
]
|
|
36119
|
-
}), t[20] = M, t[21] = A, t[22] = I) : I = t[22];
|
|
36120
|
-
let z;
|
|
36121
|
-
t[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (z = (0, import_jsx_runtime.jsx)("label", {
|
|
36122
|
-
htmlFor: "deck-vertical-align",
|
|
36123
|
-
className: "font-semibold text-sm text-foreground",
|
|
36124
|
-
children: "Vertical alignment"
|
|
36125
|
-
}), t[23] = z) : z = t[23];
|
|
36126
|
-
let U;
|
|
36127
|
-
t[24] === y ? U = t[25] : (U = (e2) => y(e2), t[24] = y, t[25] = U);
|
|
36128
|
-
let K;
|
|
36129
|
-
t[26] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (K = (0, import_jsx_runtime.jsx)(SelectTrigger, {
|
|
36130
|
-
id: "deck-vertical-align",
|
|
36131
|
-
"aria-label": "Vertical alignment",
|
|
36132
|
-
children: (0, import_jsx_runtime.jsx)(SelectValue, {})
|
|
36133
|
-
}), t[26] = K) : K = t[26];
|
|
36134
|
-
let q;
|
|
36135
|
-
t[27] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (q = (0, import_jsx_runtime.jsx)(SelectContent, {
|
|
36136
|
-
children: DECK_VERTICAL_ALIGN_OPTIONS.map(_temp4)
|
|
36137
|
-
}), t[27] = q) : q = t[27];
|
|
36138
|
-
let J;
|
|
36139
|
-
t[28] !== c || t[29] !== U ? (J = (0, import_jsx_runtime.jsxs)(Select, {
|
|
36140
|
-
value: c,
|
|
36141
|
-
onValueChange: U,
|
|
36142
|
-
children: [
|
|
36143
|
-
K,
|
|
36144
|
-
q
|
|
36145
|
-
]
|
|
36146
|
-
}), t[28] = c, t[29] = U, t[30] = J) : J = t[30];
|
|
36147
|
-
let Q;
|
|
36148
|
-
t[31] === f ? Q = t[32] : (Q = f && (0, import_jsx_runtime.jsx)("p", {
|
|
36149
|
-
className: "text-xs text-foreground/70",
|
|
36150
|
-
children: f
|
|
36151
|
-
}), t[31] = f, t[32] = Q);
|
|
36152
|
-
let $;
|
|
36153
|
-
t[33] !== J || t[34] !== Q ? ($ = (0, import_jsx_runtime.jsxs)("div", {
|
|
36154
|
-
className: "flex flex-col gap-1.5",
|
|
36155
|
-
children: [
|
|
36156
|
-
z,
|
|
36157
|
-
J,
|
|
36158
|
-
Q
|
|
36159
|
-
]
|
|
36160
|
-
}), t[33] = J, t[34] = Q, t[35] = $) : $ = t[35];
|
|
36161
|
-
let rJ;
|
|
36162
|
-
return t[36] !== I || t[37] !== $ ? (rJ = (0, import_jsx_runtime.jsxs)("div", {
|
|
36082
|
+
}), t[13] = s, t[14] = S);
|
|
36083
|
+
let w;
|
|
36084
|
+
return t[15] !== y || t[16] !== S ? (w = (0, import_jsx_runtime.jsx)("div", {
|
|
36163
36085
|
className: "flex flex-col gap-3",
|
|
36164
|
-
children:
|
|
36165
|
-
|
|
36166
|
-
|
|
36167
|
-
|
|
36168
|
-
|
|
36086
|
+
children: (0, import_jsx_runtime.jsxs)("div", {
|
|
36087
|
+
className: "flex flex-col gap-1.5",
|
|
36088
|
+
children: [
|
|
36089
|
+
f,
|
|
36090
|
+
y,
|
|
36091
|
+
S
|
|
36092
|
+
]
|
|
36093
|
+
})
|
|
36094
|
+
}), t[15] = y, t[16] = S, t[17] = w) : w = t[17], w;
|
|
36169
36095
|
};
|
|
36170
36096
|
SlideSidebar = (e) => {
|
|
36171
36097
|
let t = (0, import_compiler_runtime$1.c)(30), { configWidth: n, layout: i, setLayout: o, activeConfigCell: s } = e, [c, d] = useAtom(slideConfigOpenAtom), f = c ? n : COLLAPSED_CONFIG_WIDTH, _;
|
|
@@ -36180,7 +36106,7 @@ ${d}`,
|
|
|
36180
36106
|
children: "Configuration"
|
|
36181
36107
|
}), t[4] = c, t[5] = S);
|
|
36182
36108
|
let w = c ? "Collapse panel" : "Expand panel", E;
|
|
36183
|
-
t[6] === d ? E = t[7] : (E = () => d(
|
|
36109
|
+
t[6] === d ? E = t[7] : (E = () => d(_temp5), t[6] = d, t[7] = E);
|
|
36184
36110
|
let O;
|
|
36185
36111
|
t[8] === c ? O = t[9] : (O = c ? (0, import_jsx_runtime.jsx)(PanelRightClose, {
|
|
36186
36112
|
className: "h-4 w-4"
|
|
@@ -36236,7 +36162,7 @@ ${d}`,
|
|
|
36236
36162
|
className: "h-full flex flex-col border-l border-border/60 bg-muted/20 transition-[width] duration-200 ease-out overflow-hidden",
|
|
36237
36163
|
style: _,
|
|
36238
36164
|
"aria-label": "Slide configuration",
|
|
36239
|
-
onKeyDown:
|
|
36165
|
+
onKeyDown: _temp4,
|
|
36240
36166
|
children: [
|
|
36241
36167
|
I,
|
|
36242
36168
|
z
|
|
@@ -36271,16 +36197,9 @@ ${d}`,
|
|
|
36271
36197
|
}, t);
|
|
36272
36198
|
}
|
|
36273
36199
|
function _temp4(e) {
|
|
36274
|
-
let { value: t, label: n } = e;
|
|
36275
|
-
return (0, import_jsx_runtime.jsx)(SelectItem, {
|
|
36276
|
-
value: t,
|
|
36277
|
-
children: n
|
|
36278
|
-
}, t);
|
|
36279
|
-
}
|
|
36280
|
-
function _temp5(e) {
|
|
36281
36200
|
return e.stopPropagation();
|
|
36282
36201
|
}
|
|
36283
|
-
function
|
|
36202
|
+
function _temp5(e) {
|
|
36284
36203
|
return !e;
|
|
36285
36204
|
}
|
|
36286
36205
|
function getVersionFromMountConfig() {
|
|
@@ -36290,7 +36209,7 @@ ${d}`,
|
|
|
36290
36209
|
return Logger.warn("Failed to get version from mount config"), null;
|
|
36291
36210
|
}
|
|
36292
36211
|
}
|
|
36293
|
-
marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.15-
|
|
36212
|
+
marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.15-dev5");
|
|
36294
36213
|
showCodeInRunModeAtom = atom(true);
|
|
36295
36214
|
atom(null);
|
|
36296
36215
|
var import_compiler_runtime = require_compiler_runtime();
|
|
@@ -36318,130 +36237,129 @@ ${d}`,
|
|
|
36318
36237
|
}
|
|
36319
36238
|
});
|
|
36320
36239
|
export {
|
|
36321
|
-
|
|
36322
|
-
|
|
36323
|
-
|
|
36324
|
-
|
|
36325
|
-
|
|
36326
|
-
|
|
36327
|
-
|
|
36328
|
-
|
|
36329
|
-
|
|
36330
|
-
|
|
36331
|
-
|
|
36332
|
-
|
|
36333
|
-
|
|
36334
|
-
|
|
36335
|
-
|
|
36336
|
-
|
|
36337
|
-
|
|
36338
|
-
|
|
36339
|
-
|
|
36340
|
-
|
|
36341
|
-
|
|
36342
|
-
|
|
36343
|
-
|
|
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
|
-
|
|
36240
|
+
PANEL_TYPES as $,
|
|
36241
|
+
hasFunctionProperty as $t,
|
|
36242
|
+
prettifyRowCount as A,
|
|
36243
|
+
INDEX_COLUMN_NAME as At,
|
|
36244
|
+
CompactChipRow as B,
|
|
36245
|
+
Tabs as Bt,
|
|
36246
|
+
downloadSizeLimitAtom as C,
|
|
36247
|
+
ColumnChartSpecModel as Ct,
|
|
36248
|
+
ErrorState as D,
|
|
36249
|
+
getPageIndexForRow as Dt,
|
|
36250
|
+
EmptyState as E,
|
|
36251
|
+
usePrevious as Et,
|
|
36252
|
+
ContextMenuItem as F,
|
|
36253
|
+
isNullishFilter as Ft,
|
|
36254
|
+
Command as G,
|
|
36255
|
+
ChartInfoState as Gt,
|
|
36256
|
+
DateRangePicker as H,
|
|
36257
|
+
TabsList as Ht,
|
|
36258
|
+
ContextMenuSeparator as I,
|
|
36259
|
+
Maps as It,
|
|
36260
|
+
CommandItem as J,
|
|
36261
|
+
useOverflowDetection as Jt,
|
|
36262
|
+
CommandEmpty as K,
|
|
36263
|
+
ChartLoadingState as Kt,
|
|
36264
|
+
ContextMenuTrigger as L,
|
|
36265
|
+
dateToLocalISODate as Lt,
|
|
36266
|
+
getUserColumnVisibilityCounts as M,
|
|
36267
|
+
TOO_MANY_ROWS as Mt,
|
|
36268
|
+
ContextMenu as N,
|
|
36269
|
+
toFieldTypes as Nt,
|
|
36270
|
+
LoadingState as O,
|
|
36271
|
+
loadTableAndRawData as Ot,
|
|
36272
|
+
ContextMenuContent as P,
|
|
36273
|
+
getMimeValues as Pt,
|
|
36274
|
+
ContextAwarePanelItem as Q,
|
|
36275
|
+
EmotionCacheProvider as Qt,
|
|
36276
|
+
useInternalStateWithSync as R,
|
|
36277
|
+
dateToLocalISODateTime as Rt,
|
|
36278
|
+
Filenames as S,
|
|
36279
|
+
ColumnChartContext as St,
|
|
36280
|
+
ColumnPreviewContainer as T,
|
|
36281
|
+
useIntersectionObserver as Tt,
|
|
36282
|
+
Combobox as U,
|
|
36283
|
+
TabsTrigger as Ut,
|
|
36284
|
+
DatePicker as V,
|
|
36285
|
+
TabsContent as Vt,
|
|
36286
|
+
ComboboxItem as W,
|
|
36287
|
+
ChartErrorState as Wt,
|
|
36288
|
+
CommandSeparator as X,
|
|
36289
|
+
Kbd as Xt,
|
|
36290
|
+
CommandList as Y,
|
|
36291
|
+
RenderTextWithLinks as Yt,
|
|
36292
|
+
smartMatch as Z,
|
|
36293
|
+
HtmlOutput as Zt,
|
|
36294
|
+
ADD_PRINTING_CLASS as _,
|
|
36376
36295
|
__tla,
|
|
36377
|
-
|
|
36378
|
-
|
|
36379
|
-
|
|
36380
|
-
|
|
36381
|
-
|
|
36382
|
-
|
|
36383
|
-
|
|
36384
|
-
|
|
36385
|
-
|
|
36386
|
-
|
|
36387
|
-
|
|
36388
|
-
|
|
36389
|
-
|
|
36390
|
-
|
|
36391
|
-
|
|
36392
|
-
|
|
36393
|
-
|
|
36394
|
-
|
|
36395
|
-
|
|
36396
|
-
|
|
36397
|
-
|
|
36398
|
-
|
|
36399
|
-
|
|
36400
|
-
TableCell as ht,
|
|
36296
|
+
TableRow as _t,
|
|
36297
|
+
DEFAULT_SLIDE_TYPE as a,
|
|
36298
|
+
Funnel as an,
|
|
36299
|
+
slotsController as at,
|
|
36300
|
+
downloadHTMLAsImage as b,
|
|
36301
|
+
inferFieldTypes as bt,
|
|
36302
|
+
Slide as c,
|
|
36303
|
+
Ellipsis as cn,
|
|
36304
|
+
PanelGroup as ct,
|
|
36305
|
+
RadioGroupItem as d,
|
|
36306
|
+
ChevronsUpDown as dn,
|
|
36307
|
+
Provider$1 as dt,
|
|
36308
|
+
isRecord as en,
|
|
36309
|
+
contextAwarePanelOpen as et,
|
|
36310
|
+
JsonOutput as f,
|
|
36311
|
+
ChevronsRight as fn,
|
|
36312
|
+
Table as ft,
|
|
36313
|
+
InstallPackageButton as g,
|
|
36314
|
+
ArrowDownWideNarrow as gn,
|
|
36315
|
+
TableHeader as gt,
|
|
36316
|
+
DataTable as h,
|
|
36317
|
+
ChevronLeft as hn,
|
|
36318
|
+
TableHead as ht,
|
|
36401
36319
|
DEFAULT_DECK_TRANSITION as i,
|
|
36402
|
-
|
|
36403
|
-
|
|
36404
|
-
|
|
36405
|
-
|
|
36406
|
-
|
|
36407
|
-
|
|
36408
|
-
|
|
36409
|
-
|
|
36410
|
-
|
|
36411
|
-
|
|
36412
|
-
|
|
36413
|
-
|
|
36320
|
+
GripHorizontal as in,
|
|
36321
|
+
SlotNames as it,
|
|
36322
|
+
getColumnCountForDisplay as j,
|
|
36323
|
+
SELECT_COLUMN_ID as jt,
|
|
36324
|
+
prettifyRowColumnCount as k,
|
|
36325
|
+
loadTableData as kt,
|
|
36326
|
+
Switch as l,
|
|
36327
|
+
Download as ln,
|
|
36328
|
+
PanelResizeHandle as lt,
|
|
36329
|
+
OutputRenderer as m,
|
|
36330
|
+
ChevronsDownUp as mn,
|
|
36331
|
+
TableCell as mt,
|
|
36414
36332
|
marimoVersionAtom as n,
|
|
36415
|
-
$fae977aafc393c5c$export$
|
|
36416
|
-
|
|
36417
|
-
|
|
36418
|
-
|
|
36419
|
-
|
|
36420
|
-
|
|
36421
|
-
|
|
36422
|
-
|
|
36423
|
-
|
|
36424
|
-
|
|
36333
|
+
$fae977aafc393c5c$export$6b862160d295c8e as nn,
|
|
36334
|
+
contextAwarePanelType as nt,
|
|
36335
|
+
SLIDE_TYPE_OPTIONS_BY_VALUE as o,
|
|
36336
|
+
EyeOff as on,
|
|
36337
|
+
Toggle as ot,
|
|
36338
|
+
OutputArea as p,
|
|
36339
|
+
ChevronsLeft as pn,
|
|
36340
|
+
TableBody as pt,
|
|
36341
|
+
CommandInput as q,
|
|
36342
|
+
LazyVegaEmbed as qt,
|
|
36425
36343
|
showCodeInRunModeAtom as r,
|
|
36426
|
-
|
|
36427
|
-
|
|
36428
|
-
|
|
36429
|
-
|
|
36430
|
-
|
|
36344
|
+
TextWrap as rn,
|
|
36345
|
+
isCellAwareAtom as rt,
|
|
36346
|
+
SlideSidebar as s,
|
|
36347
|
+
Expand as sn,
|
|
36348
|
+
Panel as st,
|
|
36431
36349
|
useNotebookCodeAvailable as t,
|
|
36432
|
-
|
|
36433
|
-
|
|
36434
|
-
|
|
36435
|
-
|
|
36436
|
-
|
|
36437
|
-
|
|
36438
|
-
|
|
36439
|
-
|
|
36440
|
-
|
|
36441
|
-
|
|
36442
|
-
|
|
36443
|
-
|
|
36444
|
-
|
|
36445
|
-
|
|
36446
|
-
|
|
36350
|
+
$fae977aafc393c5c$export$588937bcd60ade55 as tn,
|
|
36351
|
+
contextAwarePanelOwner as tt,
|
|
36352
|
+
RadioGroup as u,
|
|
36353
|
+
Code as un,
|
|
36354
|
+
Fill as ut,
|
|
36355
|
+
downloadBlob as v,
|
|
36356
|
+
NAMELESS_COLUMN_PREFIX as vt,
|
|
36357
|
+
ColumnName as w,
|
|
36358
|
+
DelayMount as wt,
|
|
36359
|
+
Progress as x,
|
|
36360
|
+
renderCellValue as xt,
|
|
36361
|
+
downloadByURL as y,
|
|
36362
|
+
generateColumns as yt,
|
|
36363
|
+
useSelectList as z,
|
|
36364
|
+
dateToLocalISOTime as zt
|
|
36447
36365
|
};
|