@marimo-team/islands 0.23.7-dev6 → 0.23.7-dev8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chat-ui-B-gbqk_F.js → chat-ui-D8SqlFay.js} +2 -2
- package/dist/{code-visibility-jLjZTWEO.js → code-visibility-i-wZHH96.js} +592 -581
- package/dist/{html-to-image-hMMPiNe_.js → html-to-image-_jxGvsrc.js} +8 -8
- package/dist/main.js +903 -894
- package/dist/{process-output-Bza_GK7Q.js → process-output-ClDgSR3m.js} +1 -1
- package/dist/{reveal-component-BMOBPyvh.js → reveal-component-DisX89FD.js} +2 -2
- package/package.json +1 -1
- package/src/components/data-table/TableTopBar.tsx +5 -1
- package/src/components/data-table/data-table.tsx +5 -0
- package/src/components/data-table/download-policy/atoms.ts +10 -0
- package/src/components/data-table/export-actions.tsx +31 -4
- package/src/components/editor/file-tree/upload.tsx +1 -8
- package/src/core/codemirror/markdown/__tests__/commands.test.ts +3 -3
- package/src/core/codemirror/markdown/commands.ts +1 -2
- package/src/core/network/requests-network.ts +21 -3
- package/src/core/network/types.ts +12 -1
- package/src/core/wasm/bridge.ts +14 -1
- package/src/plugins/impl/DataTablePlugin.tsx +12 -0
- package/src/plugins/impl/data-frames/DataFramePlugin.tsx +6 -0
package/dist/main.js
CHANGED
|
@@ -22,18 +22,18 @@ import { _ as Logger, c as Objects, g as cn, h as Events, i as NOT_SET, l as use
|
|
|
22
22
|
import { t as require_react } from "./react-DA-nE2FX.js";
|
|
23
23
|
import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
|
|
24
24
|
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-TGGAUEWp.js";
|
|
25
|
-
import { $ as useCellActions, At as DeferredRequestRegistry, B as safeExtractSetUIElementMessageBuffers, Bn as Braces, Bt as getDataTypeColor, C as AccordionContent, Cn as Root2$1, Ct as customPythonLanguageSupport, Dn as Table2, Dt as Paths, E as BorderAllIcon, En as Trash2, Et as PathBuilder, F as base64ToDataView, Fn as Eye, Ft as jotaiJsonStorage, Gt as convertStatsName, H as getMarimoExportContext, In as Database, J as getCellNames, Jt as useRequestClient, K as createActions, Kt as getRequestClient, L as dataViewToBase64, Ln as Columns2, Mn as Layers, Nn as Info, Nt as repl, On as PaintRoller, Pn as FileText, Q as reducer, Rt as PluralWords, S as Accordion, Sn as Item$1, St as Checkbox, T as AccordionTrigger, U as hasTrustedExportContext, V as renderHTML, Vt as require_client, W as hasRunAnyCellAtom, X as notebookOutline, Y as notebookAtom, Yt as isUninstantiated, Z as numColumnsAtom, _n as atomWithStorage, a as useLastFocusedCellId, an as parseInitialValue, bt as isInternalCellName, ct as kioskModeAtom, dn as OBJECT_ID_ATTR, dt as outputIsLoading, en as NotebookScopedLocalStorage, et as useCellIds, f as isOutputEmpty, fn as RANDOM_ID_ATTR, ft as outputIsStale, gn as atomWithReducer, i as useCellFocusActions, in as parseDataset, jn as LoaderCircle, jt as generateUUID, k as ChevronDownIcon, ln as UIElementId, mt as headingToIdentifier, nt as createCell, o as maybeAddAltairImport, ot as getInitialAppMode, p as useExpandedConsoleOutput, pn as jsonParseWithSpecialChar, pt as isErrorMime, qt as requestClientAtom, r as LazyAnyLanguageCodeMirror, rn as parseAttrValue, s as Spinner, sn as HTMLCellId, st as initialModeAtom, un as findCellId, vn as selectAtom, w as AccordionItem, wn as Trigger2, wt as MarkdownLanguageAdapter, xn as Content2, xt as normalizeName, yt as getValidName, zn as CircleAlert, zt as DATA_TYPE_ICON, __tla as __tla_0 } from "./html-to-image-
|
|
25
|
+
import { $ as useCellActions, At as DeferredRequestRegistry, B as safeExtractSetUIElementMessageBuffers, Bn as Braces, Bt as getDataTypeColor, C as AccordionContent, Cn as Root2$1, Ct as customPythonLanguageSupport, Dn as Table2, Dt as Paths, E as BorderAllIcon, En as Trash2, Et as PathBuilder, F as base64ToDataView, Fn as Eye, Ft as jotaiJsonStorage, Gt as convertStatsName, H as getMarimoExportContext, In as Database, J as getCellNames, Jt as useRequestClient, K as createActions, Kt as getRequestClient, L as dataViewToBase64, Ln as Columns2, Mn as Layers, Nn as Info, Nt as repl, On as PaintRoller, Pn as FileText, Q as reducer, Rt as PluralWords, S as Accordion, Sn as Item$1, St as Checkbox, T as AccordionTrigger, U as hasTrustedExportContext, V as renderHTML, Vt as require_client, W as hasRunAnyCellAtom, X as notebookOutline, Y as notebookAtom, Yt as isUninstantiated, Z as numColumnsAtom, _n as atomWithStorage, a as useLastFocusedCellId, an as parseInitialValue, bt as isInternalCellName, ct as kioskModeAtom, dn as OBJECT_ID_ATTR, dt as outputIsLoading, en as NotebookScopedLocalStorage, et as useCellIds, f as isOutputEmpty, fn as RANDOM_ID_ATTR, ft as outputIsStale, gn as atomWithReducer, i as useCellFocusActions, in as parseDataset, jn as LoaderCircle, jt as generateUUID, k as ChevronDownIcon, ln as UIElementId, mt as headingToIdentifier, nt as createCell, o as maybeAddAltairImport, ot as getInitialAppMode, p as useExpandedConsoleOutput, pn as jsonParseWithSpecialChar, pt as isErrorMime, qt as requestClientAtom, r as LazyAnyLanguageCodeMirror, rn as parseAttrValue, s as Spinner, sn as HTMLCellId, st as initialModeAtom, un as findCellId, vn as selectAtom, w as AccordionItem, wn as Trigger2, wt as MarkdownLanguageAdapter, xn as Content2, xt as normalizeName, yt as getValidName, zn as CircleAlert, zt as DATA_TYPE_ICON, __tla as __tla_0 } from "./html-to-image-_jxGvsrc.js";
|
|
26
26
|
import { __tla as __tla_1 } from "./chunk-5FQGJX7Z-CO1e63h_.js";
|
|
27
27
|
import { o as useSize, s as Root$2, u as createLucideIcon } from "./dist-ESg7xyoD.js";
|
|
28
28
|
import { A as SquareFunction, C as DEFAULT_COLOR_SCHEME, D as SCALE_TYPE_DESCRIPTIONS, E as EMPTY_VALUE$1, O as TIME_UNIT_DESCRIPTIONS, S as DEFAULT_AGGREGATION, T as DEFAULT_TIME_UNIT, _ as AGGREGATION_TYPE_DESCRIPTIONS, a as AGGREGATION_FNS$1, b as COLOR_SCHEMES, c as COLOR_BY_FIELDS, d as NONE_VALUE, f as SELECTABLE_DATA_TYPES, g as TIME_UNITS, h as STRING_AGGREGATION_FNS, i as convertDataTypeToSelectable, j as ChartColumn, k as escapeFieldName, l as COMBINED_TIME_UNITS, m as SORT_TYPES, n as createSpecWithoutData, o as BIN_AGGREGATION, p as SINGLE_TIME_UNITS, r as isFieldSet, s as CHART_TYPES, t as augmentSpecWithData, u as ChartType, v as AGGREGATION_TYPE_ICON, w as DEFAULT_MAX_BINS_FACET, x as COUNT_FIELD, y as CHART_TYPE_ICON } from "./spec-DSIuqd3f.js";
|
|
29
|
-
import { $ as filtersToFilterGroup, A as contextAwarePanelOwner, At as Funnel, B as TableCell, Bt as ChevronLeft, C as prettifyRowCount, Ct as useOverflowDetection, D as ContextAwarePanelItem, Dt as EmotionCacheProvider, E as ComboboxItem, Et as HtmlOutput, F as Toggle, Ft as Code, G as generateColumns, H as TableHeader, I as Fill, It as ChevronsUpDown, J as ColumnChartContext, K as inferFieldTypes, L as Provider$1, Lt as ChevronsRight, M as isCellAwareAtom, N as SlotNames, Nt as Ellipsis, O as PANEL_TYPES, Ot as TextWrap, P as slotsController, Pt as Download, Q as usePrevious$1, R as Table, Rt as ChevronsLeft, S as prettifyRowColumnCount, St as LazyVegaEmbed, T as Combobox, Tt as Kbd, U as TableRow, V as TableHead, Vt as ArrowDownWideNarrow, W as NAMELESS_COLUMN_PREFIX, X as DelayMount, Y as ColumnChartSpecModel, Z as useIntersectionObserver, _ as downloadBlob, _t as TabsList, at as TOO_MANY_ROWS, b as Progress, bt as ChartInfoState, c as Slide, ct as Command, d as JsonOutput, dt as CommandItem, et as getPageIndexForRow, f as OutputArea, ft as CommandList, g as ADD_PRINTING_CLASS, gt as TabsContent, h as InstallPackageButton, ht as Tabs, it as SELECT_COLUMN_ID, j as contextAwarePanelType, jt as EyeOff, k as contextAwarePanelOpen, kt as GripHorizontal, l as RadioGroup, lt as CommandEmpty, m as DataTable, mt as Maps, n as marimoVersionAtom, nt as loadTableData, o as SLIDE_TYPE_OPTIONS_BY_VALUE, ot as toFieldTypes, p as OutputRenderer, pt as CommandSeparator, q as renderCellValue, r as showCodeInRunModeAtom, rt as INDEX_COLUMN_NAME, st as getMimeValues, t as useNotebookCodeAvailable, tt as loadTableAndRawData, u as RadioGroupItem, ut as CommandInput, v as downloadByURL, vt as TabsTrigger, w as useInternalStateWithSync, wt as RenderTextWithLinks, x as Filenames, xt as ChartLoadingState, y as downloadHTMLAsImage, yt as ChartErrorState, z as TableBody, zt as ChevronsDownUp, __tla as __tla_2 } from "./code-visibility-
|
|
29
|
+
import { $ as filtersToFilterGroup, A as contextAwarePanelOwner, At as Funnel, B as TableCell, Bt as ChevronLeft, C as prettifyRowCount, Ct as useOverflowDetection, D as ContextAwarePanelItem, Dt as EmotionCacheProvider, E as ComboboxItem, Et as HtmlOutput, F as Toggle, Ft as Code, G as generateColumns, H as TableHeader, I as Fill, It as ChevronsUpDown, J as ColumnChartContext, K as inferFieldTypes, L as Provider$1, Lt as ChevronsRight, M as isCellAwareAtom, N as SlotNames, Nt as Ellipsis, O as PANEL_TYPES, Ot as TextWrap, P as slotsController, Pt as Download, Q as usePrevious$1, R as Table, Rt as ChevronsLeft, S as prettifyRowColumnCount, St as LazyVegaEmbed, T as Combobox, Tt as Kbd, U as TableRow, V as TableHead, Vt as ArrowDownWideNarrow, W as NAMELESS_COLUMN_PREFIX, X as DelayMount, Y as ColumnChartSpecModel, Z as useIntersectionObserver, _ as downloadBlob, _t as TabsList, at as TOO_MANY_ROWS, b as Progress, bt as ChartInfoState, c as Slide, ct as Command, d as JsonOutput, dt as CommandItem, et as getPageIndexForRow, f as OutputArea, ft as CommandList, g as ADD_PRINTING_CLASS, gt as TabsContent, h as InstallPackageButton, ht as Tabs, it as SELECT_COLUMN_ID, j as contextAwarePanelType, jt as EyeOff, k as contextAwarePanelOpen, kt as GripHorizontal, l as RadioGroup, lt as CommandEmpty, m as DataTable, mt as Maps, n as marimoVersionAtom, nt as loadTableData, o as SLIDE_TYPE_OPTIONS_BY_VALUE, ot as toFieldTypes, p as OutputRenderer, pt as CommandSeparator, q as renderCellValue, r as showCodeInRunModeAtom, rt as INDEX_COLUMN_NAME, st as getMimeValues, t as useNotebookCodeAvailable, tt as loadTableAndRawData, u as RadioGroupItem, ut as CommandInput, v as downloadByURL, vt as TabsTrigger, w as useInternalStateWithSync, wt as RenderTextWithLinks, x as Filenames, xt as ChartLoadingState, y as downloadHTMLAsImage, yt as ChartErrorState, z as TableBody, zt as ChevronsDownUp, __tla as __tla_2 } from "./code-visibility-i-wZHH96.js";
|
|
30
30
|
import { c as Calendar, i as createReducerAndAtoms, n as useOnUnmount, o as ToggleLeft, t as useOnMount } from "./useLifecycle-CjMjllqy.js";
|
|
31
31
|
import { n as $fb18d541ea1ad717$export$ad991b66133851cf, r as $5a387cc49350e6db$export$722debc0e56fea39, t as $896ba0a80a8f4d36$export$85fd5fdf27bacc79 } from "./useDateFormatter-B3mCQMP3.js";
|
|
32
32
|
import { t as Check } from "./check-CFM2mVDr.js";
|
|
33
33
|
import { A as Trigger$1, C as $a916eb452884faea$export$b7a616150fdb9f44, D as $b5e257d569688ac6$export$535bd6ca7f90a273, E as $18f2051aff69b9bf$export$a54013f0d02a8f82, F as X, L as ChevronDown, M as usePrevious$2, N as useDirection, P as createCollection, S as logNever, T as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, a as SelectGroup, c as SelectSeparator, d as NativeSelect, f as selectStyles, i as SelectContent, j as clamp$2, k as Icon, l as SelectTrigger, n as capitalize, o as SelectItem, r as Select, s as SelectLabel, t as Strings, u as SelectValue, w as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5, x as assertNever } from "./strings-B_FOH6eV.js";
|
|
34
34
|
import { $ as $e5be200c675c3b3a$export$aca958c65c314e6c, A as $d2b4bc8c273e7be6$export$24d547caef80ccd1, At as $c87311424ea30a05$export$fedb369cb70207f1, B as $64fa3d84918910a7$export$c62b8e45d58ddad9, Bt as $431fbd86ca7dc216$export$f21a1ffae260145a, C as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, Ct as $8ae05eaa5c114e9c$export$7f54fc3180508a52, D as $ee014567cb39d3f0$export$ff05c3ac10437e03, Dt as $c87311424ea30a05$export$78551043582a6a98, E as $ee014567cb39d3f0$export$f551688fc98f2e09, Et as $c87311424ea30a05$export$6446a186d09e379e, F as $64fa3d84918910a7$export$2881499e37b75b9a, Ft as $d4ee10de306f2510$export$b4f377a2b6254582, H as $64fa3d84918910a7$export$ef03459518577ad4, Ht as $bdb11010cef70236$export$b4cc09c592e8fdb8, I as $64fa3d84918910a7$export$29f1550f4b0d4415, It as $d4ee10de306f2510$export$cd4e5573fbe2b576, J as $d2e8511e6f209edf$export$e908e06f4b8e3402, K as useDebounceControlledState, L as $64fa3d84918910a7$export$4d86445c2cf5e3, Lt as $d4ee10de306f2510$export$e58f029f0fbfdb29, M as $01b77f81d0f07f68$export$75b6ee27786ba447, Mt as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, N as $01b77f81d0f07f68$export$b04be29aa201d4f5, Nt as $3ef42575df84b30b$export$9d1611c77c2fe928, O as $514c0188e459b4c0$export$5f1af8db9871e1d6, Ot as $c87311424ea30a05$export$9ac100e40613ea10, P as $f39a9eba43920ace$export$b5d7cc18bb8d2b59, Pt as $d4ee10de306f2510$export$4282f70798064fe0, Q as $e5be200c675c3b3a$export$a763b9476acd3eb, R as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, Rt as $f4e2df6bd15f8569$export$98658e8c59125e6a, S as $3985021b0ad6602f$export$f5b8910cec6cf069, St as $e9faafb641e167db$export$90fc3a17d93f704c, T as $d3e0e05bdfcf66bd$export$c24727297075ec6a, Tt as $313b98861ee5dd6c$export$d6875122194c7b44, U as $64fa3d84918910a7$export$fabf2dc03a41866e, Ut as $bdb11010cef70236$export$f680877a34711e37, V as $64fa3d84918910a7$export$df3a06d6289f983e, Vt as $ff5963eb1fccf552$export$e08e3b67e392101e, Wt as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, X as $e93e671b31057976$export$b8473d3665f3a75a, Y as $2baaea4c71418dea$export$294aa081a6c6f55d, Z as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, _t as $9446cca9a3875146$export$7d15b64cf5a3a4c4, a as NumberField, at as $6c7bd7858deea686$export$cd11ab140839f11d, b as DropdownMenuTrigger, bt as $b4b717babfbb907b$export$bebd5a1431fec25d, c as prettyNumber, ct as $6db58dc88e78b024$export$2f817fcdc4b89ae0, d as DropdownMenuContent, dt as $9ab94262bd0047c7$export$420e68273165f4ec, et as $e5be200c675c3b3a$export$dad6ae84456c676a, f as DropdownMenuGroup, fn as Circle, ft as $3ad3f6e1647bc98d$export$80f3e147d781571c, g as DropdownMenuSeparator, gt as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, ht as _class_private_field_init, i as OnBlurredInput, it as $701a24aa0da5b062$export$ea18c227d4417cc3, j as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, jt as $7215afc6de606d6b$export$de79e2c695e052f3, k as $514c0188e459b4c0$export$9afb8bc826b033ea, kt as $c87311424ea30a05$export$a11b0059900ceec8, l as prettyScientificNumber, lt as $5b160d28a433310d$export$c17fa47878dc55b6, m as DropdownMenuLabel, mt as $f6c31cce2adf654f$export$45712eceda6fad21, n as DebouncedNumberInput, nt as $319e236875307eab$export$a9b970dcc4ae71a9, ot as $fca6afa0e843324b$export$87b761675e8eaa10, p as DropdownMenuItem, pn as ChevronRight, pt as $507fabe10e71c6fb$export$630ff653c5ada6a9, q as useDebouncedCallback, r as Input, rt as $f7dceffc5ad7768b$export$4e328f61c538687f, st as $fca6afa0e843324b$export$f12b703ca79dfbb1, t as DebouncedInput, tt as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, u as DropdownMenu, ut as $6179b936705e76d3$export$ae780daf29e6d456, vt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, w as $a049562f99e7db0e$export$f9c6924e160136d1, wt as $df56164dff5785e2$export$4338b53315abf666, x as $3985021b0ad6602f$export$37fb8590cf2c088c, xt as $99facab73266f662$export$5add1d006293d136, yt as $b4b717babfbb907b$export$4c063cf1350e6fed, z as $64fa3d84918910a7$export$c245e6201fed2f75, zt as $431fbd86ca7dc216$export$b204af158042fbac } from "./input-BAOe64zx.js";
|
|
35
35
|
import { _ as isWasm, c as asRemoteURL, d as isStaticNotebook, f as appendQueryParams, g as Deferred, m as require_cuid2, u as getStaticVirtualFiles, v as CircleQuestionMark } from "./toDate-CHtl9vts.js";
|
|
36
|
-
import { a as MarimoIncomingMessageEvent, c as MarimoValueUpdateEvent, d as File, i as PythonIcon, l as createInputEvent, n as blobToString, o as MarimoValueInputEvent, r as filesToBase64, s as MarimoValueReadyEvent, t as processOutput, u as deserializeBlob } from "./process-output-
|
|
36
|
+
import { a as MarimoIncomingMessageEvent, c as MarimoValueUpdateEvent, d as File, i as PythonIcon, l as createInputEvent, n as blobToString, o as MarimoValueInputEvent, r as filesToBase64, s as MarimoValueReadyEvent, t as processOutput, u as deserializeBlob } from "./process-output-ClDgSR3m.js";
|
|
37
37
|
import { i as Pencil, n as Trash, r as Plus, t as BulkEdit } from "./types-DBtDeUKD.js";
|
|
38
38
|
import { t as require_react_dom } from "./react-dom-BWRJ_g_k.js";
|
|
39
39
|
import { t as require_jsx_runtime } from "./jsx-runtime-COBk7ree.js";
|
|
@@ -3734,21 +3734,21 @@ let __tla = Promise.all([
|
|
|
3734
3734
|
function $2f04cbc44ee30ce0$export$53a0910f038337bd(e, r, c = {}) {
|
|
3735
3735
|
let { block: l = "nearest", inline: u = "nearest" } = c;
|
|
3736
3736
|
if (e === r) return;
|
|
3737
|
-
let d = e.scrollTop, f = e.scrollLeft, p = r.getBoundingClientRect(), m = e.getBoundingClientRect(), h = window.getComputedStyle(r), g = window.getComputedStyle(e), _ = document.scrollingElement || document.documentElement, v = e === _ ? 0 : m.top, y = e === _ ? e.clientHeight : m.bottom, b = e === _ ? 0 : m.left, S = e === _ ? e.clientWidth : m.right, w = parseInt(h.scrollMarginTop, 10) || 0, T = parseInt(h.scrollMarginBottom, 10) || 0, E = parseInt(h.scrollMarginLeft, 10) || 0, O = parseInt(h.scrollMarginRight, 10) || 0, j = parseInt(g.scrollPaddingTop, 10) || 0, M = parseInt(g.scrollPaddingBottom, 10) || 0, I = parseInt(g.scrollPaddingLeft, 10) || 0, L = parseInt(g.scrollPaddingRight, 10) || 0, R = parseInt(g.borderTopWidth, 10) || 0, z = parseInt(g.borderBottomWidth, 10) || 0, B = parseInt(g.borderLeftWidth, 10) || 0, H = parseInt(g.borderRightWidth, 10) || 0, W = p.top - w, G = p.bottom + T, q = p.left - E, Z = p.right + O,
|
|
3738
|
-
g.direction === "rtl" && !$c87311424ea30a05$export$fedb369cb70207f1() ?
|
|
3739
|
-
let
|
|
3740
|
-
if (
|
|
3741
|
-
else if (
|
|
3742
|
-
else if (
|
|
3743
|
-
else if (
|
|
3744
|
-
let e2 = W -
|
|
3737
|
+
let d = e.scrollTop, f = e.scrollLeft, p = r.getBoundingClientRect(), m = e.getBoundingClientRect(), h = window.getComputedStyle(r), g = window.getComputedStyle(e), _ = document.scrollingElement || document.documentElement, v = e === _ ? 0 : m.top, y = e === _ ? e.clientHeight : m.bottom, b = e === _ ? 0 : m.left, S = e === _ ? e.clientWidth : m.right, w = parseInt(h.scrollMarginTop, 10) || 0, T = parseInt(h.scrollMarginBottom, 10) || 0, E = parseInt(h.scrollMarginLeft, 10) || 0, O = parseInt(h.scrollMarginRight, 10) || 0, j = parseInt(g.scrollPaddingTop, 10) || 0, M = parseInt(g.scrollPaddingBottom, 10) || 0, I = parseInt(g.scrollPaddingLeft, 10) || 0, L = parseInt(g.scrollPaddingRight, 10) || 0, R = parseInt(g.borderTopWidth, 10) || 0, z = parseInt(g.borderBottomWidth, 10) || 0, B = parseInt(g.borderLeftWidth, 10) || 0, H = parseInt(g.borderRightWidth, 10) || 0, W = p.top - w, G = p.bottom + T, q = p.left - E, Z = p.right + O, C0 = e === _ ? 0 : B + H, w0 = e === _ ? 0 : R + z, T0 = e.offsetWidth - e.clientWidth - C0, E0 = e.offsetHeight - e.clientHeight - w0, D0 = v + R + j, O0 = y - z - M - E0, k0 = b + B + I, A0 = S - H - L;
|
|
3738
|
+
g.direction === "rtl" && !$c87311424ea30a05$export$fedb369cb70207f1() ? k0 += T0 : A0 -= T0;
|
|
3739
|
+
let j0 = W < D0 || G > O0, M0 = q < k0 || Z > A0;
|
|
3740
|
+
if (j0 && l === "start") d += W - D0;
|
|
3741
|
+
else if (j0 && l === "center") d += (W + G) / 2 - (D0 + O0) / 2;
|
|
3742
|
+
else if (j0 && l === "end") d += G - O0;
|
|
3743
|
+
else if (j0 && l === "nearest") {
|
|
3744
|
+
let e2 = W - D0, r2 = G - O0;
|
|
3745
3745
|
d += Math.abs(e2) <= Math.abs(r2) ? e2 : r2;
|
|
3746
3746
|
}
|
|
3747
|
-
if (
|
|
3748
|
-
else if (
|
|
3749
|
-
else if (
|
|
3750
|
-
else if (
|
|
3751
|
-
let e2 = q -
|
|
3747
|
+
if (M0 && u === "start") f += q - k0;
|
|
3748
|
+
else if (M0 && u === "center") f += (q + Z) / 2 - (k0 + A0) / 2;
|
|
3749
|
+
else if (M0 && u === "end") f += Z - A0;
|
|
3750
|
+
else if (M0 && u === "nearest") {
|
|
3751
|
+
let e2 = q - k0, r2 = Z - A0;
|
|
3752
3752
|
f += Math.abs(e2) <= Math.abs(r2) ? e2 : r2;
|
|
3753
3753
|
}
|
|
3754
3754
|
e.scrollTo({
|
|
@@ -6906,11 +6906,11 @@ let __tla = Promise.all([
|
|
|
6906
6906
|
R[j] += W;
|
|
6907
6907
|
let G = $edcf132a9284368a$var$getMaxHeight(R, p, h, v, u, d, c.height, H, m, w, T);
|
|
6908
6908
|
y && y < G && (G = y), c.height = Math.min(c.height, G), R = $edcf132a9284368a$var$computePosition(r, p, c, E, z, _, h, v, b, S, m), W = $edcf132a9284368a$var$getDelta(j, R[j], c[M], p, m, d, h), R[j] += W;
|
|
6909
|
-
let q = {}, Z = r[j] - R[j] - u[$edcf132a9284368a$var$AXIS[j]],
|
|
6910
|
-
q[j] = $9446cca9a3875146$export$7d15b64cf5a3a4c4($9446cca9a3875146$export$7d15b64cf5a3a4c4(
|
|
6911
|
-
let
|
|
6912
|
-
x: I === "top" || I === "bottom" ? Z :
|
|
6913
|
-
y: I === "left" || I === "right" ? Z :
|
|
6909
|
+
let q = {}, Z = r[j] - R[j] - u[$edcf132a9284368a$var$AXIS[j]], C0 = Z + 0.5 * r[M], w0 = b / 2 + S, T0 = $edcf132a9284368a$var$AXIS[j] === "left" ? (u.left ?? 0) + (u.right ?? 0) : (u.top ?? 0) + (u.bottom ?? 0), E0 = c[M] - T0 - b / 2 - S;
|
|
6910
|
+
q[j] = $9446cca9a3875146$export$7d15b64cf5a3a4c4($9446cca9a3875146$export$7d15b64cf5a3a4c4(C0, r[j] + b / 2 - (R[j] + u[$edcf132a9284368a$var$AXIS[j]]), r[j] + r[M] - b / 2 - (R[j] + u[$edcf132a9284368a$var$AXIS[j]])), w0, E0), { placement: I, crossPlacement: L } = E, b ? Z = q[j] : L === "right" ? Z += r[M] : L === "center" && (Z += r[M] / 2);
|
|
6911
|
+
let D0 = I === "left" || I === "top" ? c[O] : 0, O0 = {
|
|
6912
|
+
x: I === "top" || I === "bottom" ? Z : D0,
|
|
6913
|
+
y: I === "left" || I === "right" ? Z : D0
|
|
6914
6914
|
};
|
|
6915
6915
|
return {
|
|
6916
6916
|
position: R,
|
|
@@ -6918,7 +6918,7 @@ let __tla = Promise.all([
|
|
|
6918
6918
|
arrowOffsetLeft: q.left,
|
|
6919
6919
|
arrowOffsetTop: q.top,
|
|
6920
6920
|
placement: I,
|
|
6921
|
-
triggerAnchorPoint:
|
|
6921
|
+
triggerAnchorPoint: O0
|
|
6922
6922
|
};
|
|
6923
6923
|
}
|
|
6924
6924
|
function $edcf132a9284368a$export$b3ceb0cbf1056d98(e) {
|
|
@@ -8778,7 +8778,7 @@ let __tla = Promise.all([
|
|
|
8778
8778
|
e !== (0, import_react.useMemo)(() => r.segments.find((e2) => e2.isEditable), [
|
|
8779
8779
|
r.segments
|
|
8780
8780
|
]) && !r.isInvalid && (h = void 0);
|
|
8781
|
-
let G = $bdb11010cef70236$export$f680877a34711e37(), q = !r.isDisabled && !r.isReadOnly && e.isEditable, Z = e.type === "literal" ? "" : f.of(e.type),
|
|
8781
|
+
let G = $bdb11010cef70236$export$f680877a34711e37(), q = !r.isDisabled && !r.isReadOnly && e.isEditable, Z = e.type === "literal" ? "" : f.of(e.type), C0 = $313b98861ee5dd6c$export$d6875122194c7b44({
|
|
8782
8782
|
"aria-label": `${Z}${p ? `, ${p}` : ""}${m ? ", " : ""}`,
|
|
8783
8783
|
"aria-labelledby": m
|
|
8784
8784
|
});
|
|
@@ -8787,16 +8787,16 @@ let __tla = Promise.all([
|
|
|
8787
8787
|
"aria-hidden": true
|
|
8788
8788
|
}
|
|
8789
8789
|
};
|
|
8790
|
-
let
|
|
8790
|
+
let w0 = {
|
|
8791
8791
|
caretColor: "transparent"
|
|
8792
8792
|
};
|
|
8793
8793
|
if (d === "rtl") {
|
|
8794
|
-
|
|
8794
|
+
w0.unicodeBidi = "embed";
|
|
8795
8795
|
let r2 = v[e.type];
|
|
8796
|
-
(r2 === "numeric" || r2 === "2-digit") && (
|
|
8796
|
+
(r2 === "numeric" || r2 === "2-digit") && (w0.direction = "ltr");
|
|
8797
8797
|
}
|
|
8798
8798
|
return {
|
|
8799
|
-
segmentProps: $3ef42575df84b30b$export$9d1611c77c2fe928(S,
|
|
8799
|
+
segmentProps: $3ef42575df84b30b$export$9d1611c77c2fe928(S, C0, {
|
|
8800
8800
|
id: G,
|
|
8801
8801
|
...W,
|
|
8802
8802
|
"aria-invalid": r.isInvalid ? "true" : void 0,
|
|
@@ -8812,7 +8812,7 @@ let __tla = Promise.all([
|
|
|
8812
8812
|
tabIndex: r.isDisabled ? void 0 : 0,
|
|
8813
8813
|
onKeyDown: E,
|
|
8814
8814
|
onFocus: B,
|
|
8815
|
-
style:
|
|
8815
|
+
style: w0,
|
|
8816
8816
|
onPointerDown(e2) {
|
|
8817
8817
|
e2.stopPropagation();
|
|
8818
8818
|
},
|
|
@@ -10090,7 +10090,7 @@ let __tla = Promise.all([
|
|
|
10090
10090
|
v,
|
|
10091
10091
|
p,
|
|
10092
10092
|
m
|
|
10093
|
-
]), Z = e.isInvalid || e.validationState === "invalid" || q,
|
|
10093
|
+
]), Z = e.isInvalid || e.validationState === "invalid" || q, C0 = Z ? "invalid" : null;
|
|
10094
10094
|
return {
|
|
10095
10095
|
...j,
|
|
10096
10096
|
value: g,
|
|
@@ -10098,7 +10098,7 @@ let __tla = Promise.all([
|
|
|
10098
10098
|
anchorDate: v,
|
|
10099
10099
|
setAnchorDate: R,
|
|
10100
10100
|
highlightedRange: z,
|
|
10101
|
-
validationState:
|
|
10101
|
+
validationState: C0,
|
|
10102
10102
|
isValueInvalid: Z,
|
|
10103
10103
|
selectFocusedDate() {
|
|
10104
10104
|
B(j.focusedDate);
|
|
@@ -11320,9 +11320,9 @@ let __tla = Promise.all([
|
|
|
11320
11320
|
e.maxGranularity,
|
|
11321
11321
|
_,
|
|
11322
11322
|
S
|
|
11323
|
-
]), [G, q] = (0, import_react.useState)(O), [Z,
|
|
11324
|
-
(O !== G || S !==
|
|
11325
|
-
let
|
|
11323
|
+
]), [G, q] = (0, import_react.useState)(O), [Z, C0] = (0, import_react.useState)(b), [w0, T0] = (0, import_react.useState)(S);
|
|
11324
|
+
(O !== G || S !== w0 || !$14e0f24ef4ac5c92$export$dbc69fd56b53d5e(b, Z)) && (j = new $f863c03ccd9aead0$export$ae165b50d181e1ef(b, S, O), q(O), C0(b), T0(S), M(j));
|
|
11325
|
+
let E0 = (r2) => {
|
|
11326
11326
|
if (!(e.isDisabled || e.isReadOnly)) if (r2 == null || r2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef && r2.isCleared(W)) M(new $f863c03ccd9aead0$export$ae165b50d181e1ef(b, S, O)), T(null);
|
|
11327
11327
|
else if (!(r2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef)) r2 = $11d87f3f76e88657$export$b4a036af3fc0b032(r2, (g == null ? void 0 : g.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec()), M(new $f863c03ccd9aead0$export$ae165b50d181e1ef(b, S, O)), T(r2);
|
|
11328
11328
|
else {
|
|
@@ -11338,70 +11338,70 @@ let __tla = Promise.all([
|
|
|
11338
11338
|
}
|
|
11339
11339
|
M(r2);
|
|
11340
11340
|
}
|
|
11341
|
-
},
|
|
11341
|
+
}, D0 = (0, import_react.useMemo)(() => j.toValue(O ?? H).toDate(y), [
|
|
11342
11342
|
j,
|
|
11343
11343
|
y,
|
|
11344
11344
|
O,
|
|
11345
11345
|
H
|
|
11346
|
-
]),
|
|
11347
|
-
|
|
11346
|
+
]), O0 = (0, import_react.useMemo)(() => $3c0fc76039f1c516$var$processSegments(D0, j, z, B, b, r, _), [
|
|
11347
|
+
D0,
|
|
11348
11348
|
z,
|
|
11349
11349
|
B,
|
|
11350
11350
|
j,
|
|
11351
11351
|
b,
|
|
11352
11352
|
r,
|
|
11353
11353
|
_
|
|
11354
|
-
]),
|
|
11355
|
-
|
|
11356
|
-
},
|
|
11354
|
+
]), k0 = (e2, r2) => {
|
|
11355
|
+
E0(j.cycle(e2, r2, H, W));
|
|
11356
|
+
}, A0 = (0, import_react.useMemo)(() => $35a22f14a1f04b11$export$f18627323ab57ac0(w, p, m, h, L), [
|
|
11357
11357
|
w,
|
|
11358
11358
|
p,
|
|
11359
11359
|
m,
|
|
11360
11360
|
h,
|
|
11361
11361
|
L
|
|
11362
|
-
]),
|
|
11362
|
+
]), j0 = $e5be200c675c3b3a$export$fc1a364ae1f3ff10({
|
|
11363
11363
|
...e,
|
|
11364
11364
|
value: w,
|
|
11365
|
-
builtinValidation:
|
|
11366
|
-
}),
|
|
11365
|
+
builtinValidation: A0
|
|
11366
|
+
}), M0 = j0.displayValidation.isInvalid, N0 = e.validationState || (M0 ? "invalid" : null);
|
|
11367
11367
|
return {
|
|
11368
|
-
...
|
|
11368
|
+
...j0,
|
|
11369
11369
|
value: O,
|
|
11370
11370
|
defaultValue: e.defaultValue ?? E,
|
|
11371
|
-
dateValue:
|
|
11371
|
+
dateValue: D0,
|
|
11372
11372
|
calendar: b,
|
|
11373
|
-
setValue:
|
|
11374
|
-
segments:
|
|
11373
|
+
setValue: E0,
|
|
11374
|
+
segments: O0,
|
|
11375
11375
|
dateFormatter: z,
|
|
11376
|
-
validationState:
|
|
11377
|
-
isInvalid:
|
|
11376
|
+
validationState: N0,
|
|
11377
|
+
isInvalid: M0,
|
|
11378
11378
|
granularity: _,
|
|
11379
11379
|
maxGranularity: e.maxGranularity ?? "year",
|
|
11380
11380
|
isDisabled: u,
|
|
11381
11381
|
isReadOnly: d,
|
|
11382
11382
|
isRequired: f,
|
|
11383
11383
|
increment(e2) {
|
|
11384
|
-
|
|
11384
|
+
k0(e2, 1);
|
|
11385
11385
|
},
|
|
11386
11386
|
decrement(e2) {
|
|
11387
|
-
|
|
11387
|
+
k0(e2, -1);
|
|
11388
11388
|
},
|
|
11389
11389
|
incrementPage(e2) {
|
|
11390
|
-
|
|
11390
|
+
k0(e2, $3c0fc76039f1c516$var$PAGE_STEP[e2] || 1);
|
|
11391
11391
|
},
|
|
11392
11392
|
decrementPage(e2) {
|
|
11393
|
-
|
|
11393
|
+
k0(e2, -($3c0fc76039f1c516$var$PAGE_STEP[e2] || 1));
|
|
11394
11394
|
},
|
|
11395
11395
|
incrementToMax(e2) {
|
|
11396
11396
|
let r2 = e2 === "hour" && S === "h12" ? 11 : j.getSegmentLimits(e2).maxValue;
|
|
11397
|
-
|
|
11397
|
+
E0(j.set(e2, r2, H));
|
|
11398
11398
|
},
|
|
11399
11399
|
decrementToMin(e2) {
|
|
11400
11400
|
let r2 = e2 === "hour" && S === "h12" ? 12 : j.getSegmentLimits(e2).minValue;
|
|
11401
|
-
|
|
11401
|
+
E0(j.set(e2, r2, H));
|
|
11402
11402
|
},
|
|
11403
11403
|
setSegment(e2, r2) {
|
|
11404
|
-
|
|
11404
|
+
E0(j.set(e2, r2, H));
|
|
11405
11405
|
},
|
|
11406
11406
|
confirmPlaceholder() {
|
|
11407
11407
|
if (!(e.isDisabled || e.isReadOnly) && j.isComplete(W)) {
|
|
@@ -11411,10 +11411,10 @@ let __tla = Promise.all([
|
|
|
11411
11411
|
},
|
|
11412
11412
|
clearSegment(e2) {
|
|
11413
11413
|
let r2 = j;
|
|
11414
|
-
e2 !== "timeZoneName" && e2 !== "literal" && (r2 = j.clear(e2)),
|
|
11414
|
+
e2 !== "timeZoneName" && e2 !== "literal" && (r2 = j.clear(e2)), E0(r2);
|
|
11415
11415
|
},
|
|
11416
11416
|
formatValue(e2) {
|
|
11417
|
-
return O ? new $fb18d541ea1ad717$export$ad991b66133851cf(r, $35a22f14a1f04b11$export$7e319ea407e63bc0(e2, L)).format(
|
|
11417
|
+
return O ? new $fb18d541ea1ad717$export$ad991b66133851cf(r, $35a22f14a1f04b11$export$7e319ea407e63bc0(e2, L)).format(D0) : "";
|
|
11418
11418
|
},
|
|
11419
11419
|
getDateFormatter(e2, r2) {
|
|
11420
11420
|
return new $fb18d541ea1ad717$export$ad991b66133851cf(e2, $35a22f14a1f04b11$export$7e319ea407e63bc0({}, {
|
|
@@ -13569,7 +13569,7 @@ let __tla = Promise.all([
|
|
|
13569
13569
|
};
|
|
13570
13570
|
}
|
|
13571
13571
|
};
|
|
13572
|
-
var LazyChatbot = import_react.lazy(() => import("./chat-ui-
|
|
13572
|
+
var LazyChatbot = import_react.lazy(() => import("./chat-ui-D8SqlFay.js").then((e) => ({
|
|
13573
13573
|
default: e.Chatbot
|
|
13574
13574
|
}))), messageSchema = array(object({
|
|
13575
13575
|
id: string(),
|
|
@@ -14752,10 +14752,10 @@ let __tla = Promise.all([
|
|
|
14752
14752
|
}, H = () => {
|
|
14753
14753
|
for (let e2 of p.unMount) {
|
|
14754
14754
|
let r2 = get(l, e2);
|
|
14755
|
-
r2 && (r2._f.refs ? r2._f.refs.every((e3) => !live(e3)) : !live(r2._f.ref)) &&
|
|
14755
|
+
r2 && (r2._f.refs ? r2._f.refs.every((e3) => !live(e3)) : !live(r2._f.ref)) && N0(e2);
|
|
14756
14756
|
}
|
|
14757
14757
|
p.unMount = /* @__PURE__ */ new Set();
|
|
14758
|
-
}, W = (e2, c2) => !r.disabled && (e2 && c2 && set(d, e2, c2), !deepEqual(
|
|
14758
|
+
}, W = (e2, c2) => !r.disabled && (e2 && c2 && set(d, e2, c2), !deepEqual(O0(), u)), G = (e2, r2, c2) => generateWatchOutput(e2, p, {
|
|
14759
14759
|
...f.mount ? d : isUndefined(r2) ? u : isString(e2) ? {
|
|
14760
14760
|
[e2]: r2
|
|
14761
14761
|
} : r2
|
|
@@ -14772,13 +14772,13 @@ let __tla = Promise.all([
|
|
|
14772
14772
|
}
|
|
14773
14773
|
})));
|
|
14774
14774
|
}
|
|
14775
|
-
(c2.shouldDirty || c2.shouldTouch) && I(e2, f2, c2.shouldTouch, c2.shouldDirty, true), c2.shouldValidate &&
|
|
14776
|
-
},
|
|
14775
|
+
(c2.shouldDirty || c2.shouldTouch) && I(e2, f2, c2.shouldTouch, c2.shouldDirty, true), c2.shouldValidate && D0(e2);
|
|
14776
|
+
}, C0 = (e2, r2, c2) => {
|
|
14777
14777
|
for (let u2 in r2) {
|
|
14778
14778
|
let d2 = r2[u2], f2 = `${e2}.${u2}`, m2 = get(l, f2);
|
|
14779
|
-
(p.array.has(e2) || isObject$1(d2) || m2 && !m2._f) && !isDateObject(d2) ?
|
|
14779
|
+
(p.array.has(e2) || isObject$1(d2) || m2 && !m2._f) && !isDateObject(d2) ? C0(f2, d2, c2) : Z(f2, d2, c2);
|
|
14780
14780
|
}
|
|
14781
|
-
},
|
|
14781
|
+
}, w0 = (e2, r2, m2 = {}) => {
|
|
14782
14782
|
let h2 = get(l, e2), v2 = p.array.has(e2), y2 = cloneObject(r2);
|
|
14783
14783
|
set(d, e2, y2), v2 ? (_.array.next({
|
|
14784
14784
|
name: e2,
|
|
@@ -14789,7 +14789,7 @@ let __tla = Promise.all([
|
|
|
14789
14789
|
name: e2,
|
|
14790
14790
|
dirtyFields: getDirtyFields(u, d),
|
|
14791
14791
|
isDirty: W(e2, y2)
|
|
14792
|
-
})) : h2 && !h2._f && !isNullOrUndefined(y2) ?
|
|
14792
|
+
})) : h2 && !h2._f && !isNullOrUndefined(y2) ? C0(e2, y2, m2) : Z(e2, y2, m2), isWatched(e2, p) && _.state.next({
|
|
14793
14793
|
...c
|
|
14794
14794
|
}), _.values.next({
|
|
14795
14795
|
name: f.mount ? e2 : void 0,
|
|
@@ -14797,7 +14797,7 @@ let __tla = Promise.all([
|
|
|
14797
14797
|
...d
|
|
14798
14798
|
}
|
|
14799
14799
|
});
|
|
14800
|
-
},
|
|
14800
|
+
}, T0 = async (e2) => {
|
|
14801
14801
|
f.mount = true;
|
|
14802
14802
|
let u2 = e2.target, h2 = u2.name, S2 = true, E2 = get(l, h2), O2 = () => u2.type ? getFieldValue(E2._f) : getEventValue(e2), j2 = (e3) => {
|
|
14803
14803
|
S2 = Number.isNaN(e3) || isDateObject(e3) && isNaN(e3.getTime()) || deepEqual(e3, get(d, h2, e3));
|
|
@@ -14831,11 +14831,11 @@ let __tla = Promise.all([
|
|
|
14831
14831
|
], true), u3 = (await validateField(E2, p.disabled, d, b, r.shouldUseNativeValidation))[h2], T([
|
|
14832
14832
|
h2
|
|
14833
14833
|
]), j2(M2), S2 && (u3 ? f2 = false : g.isValid && (f2 = await B(l, true)));
|
|
14834
|
-
S2 && (E2._f.deps &&
|
|
14834
|
+
S2 && (E2._f.deps && D0(E2._f.deps), L(h2, f2, u3, G2));
|
|
14835
14835
|
}
|
|
14836
|
-
},
|
|
14836
|
+
}, E0 = (e2, r2) => {
|
|
14837
14837
|
if (get(c.errors, r2) && e2.focus) return e2.focus(), 1;
|
|
14838
|
-
},
|
|
14838
|
+
}, D0 = async (e2, u2 = {}) => {
|
|
14839
14839
|
let d2, f2, m2 = convertToArrayPayload(e2);
|
|
14840
14840
|
if (r.resolver) {
|
|
14841
14841
|
let r2 = await z(isUndefined(e2) ? e2 : m2);
|
|
@@ -14854,23 +14854,23 @@ let __tla = Promise.all([
|
|
|
14854
14854
|
isValid: d2
|
|
14855
14855
|
} : {},
|
|
14856
14856
|
errors: c.errors
|
|
14857
|
-
}), u2.shouldFocus && !f2 && iterateFieldsByAction(l,
|
|
14858
|
-
},
|
|
14857
|
+
}), u2.shouldFocus && !f2 && iterateFieldsByAction(l, E0, e2 ? m2 : p.mount), f2;
|
|
14858
|
+
}, O0 = (e2) => {
|
|
14859
14859
|
let r2 = {
|
|
14860
14860
|
...f.mount ? d : u
|
|
14861
14861
|
};
|
|
14862
14862
|
return isUndefined(e2) ? r2 : isString(e2) ? get(r2, e2) : e2.map((e3) => get(r2, e3));
|
|
14863
|
-
},
|
|
14863
|
+
}, k0 = (e2, r2) => ({
|
|
14864
14864
|
invalid: !!get((r2 || c).errors, e2),
|
|
14865
14865
|
isDirty: !!get((r2 || c).dirtyFields, e2),
|
|
14866
14866
|
error: get((r2 || c).errors, e2),
|
|
14867
14867
|
isValidating: !!get(c.validatingFields, e2),
|
|
14868
14868
|
isTouched: !!get((r2 || c).touchedFields, e2)
|
|
14869
|
-
}),
|
|
14869
|
+
}), A0 = (e2) => {
|
|
14870
14870
|
e2 && convertToArrayPayload(e2).forEach((e3) => unset(c.errors, e3)), _.state.next({
|
|
14871
14871
|
errors: e2 ? c.errors : {}
|
|
14872
14872
|
});
|
|
14873
|
-
},
|
|
14873
|
+
}, j0 = (e2, r2, u2) => {
|
|
14874
14874
|
let d2 = (get(l, e2, {
|
|
14875
14875
|
_f: {}
|
|
14876
14876
|
})._f || {}).ref, { ref: f2, message: p2, type: m2, ...h2 } = get(c.errors, e2) || {};
|
|
@@ -14883,9 +14883,9 @@ let __tla = Promise.all([
|
|
|
14883
14883
|
errors: c.errors,
|
|
14884
14884
|
isValid: false
|
|
14885
14885
|
}), u2 && u2.shouldFocus && d2 && d2.focus && d2.focus();
|
|
14886
|
-
},
|
|
14886
|
+
}, M0 = (e2, r2) => isFunction$1(e2) ? _.values.subscribe({
|
|
14887
14887
|
next: (c2) => e2(G(void 0, r2), c2)
|
|
14888
|
-
}) : G(e2, r2, true),
|
|
14888
|
+
}) : G(e2, r2, true), N0 = (e2, f2 = {}) => {
|
|
14889
14889
|
for (let m2 of e2 ? convertToArrayPayload(e2) : p.mount) p.mount.delete(m2), p.array.delete(m2), f2.keepValue || (unset(l, m2), unset(d, m2)), !f2.keepError && unset(c.errors, m2), !f2.keepDirty && unset(c.dirtyFields, m2), !f2.keepTouched && unset(c.touchedFields, m2), !f2.keepIsValidating && unset(c.validatingFields, m2), !r.shouldUnregister && !f2.keepDefaultValue && unset(u, m2);
|
|
14890
14890
|
_.values.next({
|
|
14891
14891
|
values: {
|
|
@@ -14897,9 +14897,9 @@ let __tla = Promise.all([
|
|
|
14897
14897
|
isDirty: W()
|
|
14898
14898
|
} : {}
|
|
14899
14899
|
}), !f2.keepIsValid && w();
|
|
14900
|
-
},
|
|
14900
|
+
}, P0 = ({ disabled: e2, name: r2, field: c2, fields: l2 }) => {
|
|
14901
14901
|
(isBoolean(e2) && f.mount || e2 || p.disabled.has(r2)) && (e2 ? p.disabled.add(r2) : p.disabled.delete(r2), I(r2, getFieldValue(c2 ? c2._f : get(l2, r2)._f), false, false, true));
|
|
14902
|
-
},
|
|
14902
|
+
}, F0 = (e2, c2 = {}) => {
|
|
14903
14903
|
let d2 = get(l, e2), m2 = isBoolean(c2.disabled) || isBoolean(r.disabled);
|
|
14904
14904
|
return set(l, e2, {
|
|
14905
14905
|
...d2 || {},
|
|
@@ -14913,7 +14913,7 @@ let __tla = Promise.all([
|
|
|
14913
14913
|
mount: true,
|
|
14914
14914
|
...c2
|
|
14915
14915
|
}
|
|
14916
|
-
}), p.mount.add(e2), d2 ?
|
|
14916
|
+
}), p.mount.add(e2), d2 ? P0({
|
|
14917
14917
|
field: d2,
|
|
14918
14918
|
disabled: isBoolean(c2.disabled) ? c2.disabled : r.disabled,
|
|
14919
14919
|
name: e2
|
|
@@ -14930,11 +14930,11 @@ let __tla = Promise.all([
|
|
|
14930
14930
|
pattern: getRuleValue(c2.pattern)
|
|
14931
14931
|
} : {},
|
|
14932
14932
|
name: e2,
|
|
14933
|
-
onChange:
|
|
14934
|
-
onBlur:
|
|
14933
|
+
onChange: T0,
|
|
14934
|
+
onBlur: T0,
|
|
14935
14935
|
ref: (m3) => {
|
|
14936
14936
|
if (m3) {
|
|
14937
|
-
|
|
14937
|
+
F0(e2, c2), d2 = get(l, e2);
|
|
14938
14938
|
let r2 = isUndefined(m3.value) && m3.querySelectorAll && m3.querySelectorAll("input,select,textarea")[0] || m3, f2 = isRadioOrCheckbox(r2), p2 = d2._f.refs || [];
|
|
14939
14939
|
if (f2 ? p2.find((e3) => e3 === r2) : r2 === d2._f.ref) return;
|
|
14940
14940
|
set(l, e2, {
|
|
@@ -14960,7 +14960,7 @@ let __tla = Promise.all([
|
|
|
14960
14960
|
} else d2 = get(l, e2, {}), d2._f && (d2._f.mount = false), (r.shouldUnregister || c2.shouldUnregister) && !(isNameInFieldArray(p.array, e2) && f.action) && p.unMount.add(e2);
|
|
14961
14961
|
}
|
|
14962
14962
|
};
|
|
14963
|
-
},
|
|
14963
|
+
}, I0 = () => r.shouldFocusError && iterateFieldsByAction(l, E0, p.mount), L0 = (e2) => {
|
|
14964
14964
|
isBoolean(e2) && (_.state.next({
|
|
14965
14965
|
disabled: e2
|
|
14966
14966
|
}), iterateFieldsByAction(l, (r2, c2) => {
|
|
@@ -14969,7 +14969,7 @@ let __tla = Promise.all([
|
|
|
14969
14969
|
r3.disabled = u2._f.disabled || e2;
|
|
14970
14970
|
}));
|
|
14971
14971
|
}, 0, false));
|
|
14972
|
-
},
|
|
14972
|
+
}, R0 = (e2, u2) => async (f2) => {
|
|
14973
14973
|
let m2;
|
|
14974
14974
|
f2 && (f2.preventDefault && f2.preventDefault(), f2.persist && f2.persist());
|
|
14975
14975
|
let h2 = cloneObject(d);
|
|
@@ -14991,7 +14991,7 @@ let __tla = Promise.all([
|
|
|
14991
14991
|
}
|
|
14992
14992
|
} else u2 && await u2({
|
|
14993
14993
|
...c.errors
|
|
14994
|
-
}, f2),
|
|
14994
|
+
}, f2), I0(), setTimeout(I0);
|
|
14995
14995
|
if (_.state.next({
|
|
14996
14996
|
isSubmitted: true,
|
|
14997
14997
|
isSubmitting: false,
|
|
@@ -14999,11 +14999,11 @@ let __tla = Promise.all([
|
|
|
14999
14999
|
submitCount: c.submitCount + 1,
|
|
15000
15000
|
errors: c.errors
|
|
15001
15001
|
}), m2) throw m2;
|
|
15002
|
-
},
|
|
15003
|
-
get(l, e2) && (isUndefined(r2.defaultValue) ?
|
|
15002
|
+
}, z0 = (e2, r2 = {}) => {
|
|
15003
|
+
get(l, e2) && (isUndefined(r2.defaultValue) ? w0(e2, cloneObject(get(u, e2))) : (w0(e2, r2.defaultValue), set(u, e2, cloneObject(r2.defaultValue))), r2.keepTouched || unset(c.touchedFields, e2), r2.keepDirty || (unset(c.dirtyFields, e2), c.isDirty = r2.defaultValue ? W(e2, cloneObject(get(u, e2))) : W()), r2.keepError || (unset(c.errors, e2), g.isValid && w()), _.state.next({
|
|
15004
15004
|
...c
|
|
15005
15005
|
}));
|
|
15006
|
-
},
|
|
15006
|
+
}, B0 = (e2, m2 = {}) => {
|
|
15007
15007
|
let h2 = e2 ? cloneObject(e2) : u, v2 = cloneObject(h2), y2 = isEmptyObject(e2), b2 = y2 ? u : v2;
|
|
15008
15008
|
if (m2.keepDefaultValues || (u = h2), !m2.keepValues) {
|
|
15009
15009
|
if (m2.keepDirtyValues) {
|
|
@@ -15011,7 +15011,7 @@ let __tla = Promise.all([
|
|
|
15011
15011
|
...p.mount,
|
|
15012
15012
|
...Object.keys(getDirtyFields(u, d))
|
|
15013
15013
|
]);
|
|
15014
|
-
for (let r2 of Array.from(e3)) get(c.dirtyFields, r2) ? set(b2, r2, get(d, r2)) :
|
|
15014
|
+
for (let r2 of Array.from(e3)) get(c.dirtyFields, r2) ? set(b2, r2, get(d, r2)) : w0(r2, get(b2, r2));
|
|
15015
15015
|
} else {
|
|
15016
15016
|
if (isWeb && isUndefined(e2)) for (let e3 of p.mount) {
|
|
15017
15017
|
let r2 = get(l, e3);
|
|
@@ -15056,25 +15056,25 @@ let __tla = Promise.all([
|
|
|
15056
15056
|
isSubmitSuccessful: m2.keepIsSubmitSuccessful ? c.isSubmitSuccessful : false,
|
|
15057
15057
|
isSubmitting: false
|
|
15058
15058
|
});
|
|
15059
|
-
},
|
|
15059
|
+
}, V0 = (e2, r2) => B0(isFunction$1(e2) ? e2(d) : e2, r2);
|
|
15060
15060
|
return {
|
|
15061
15061
|
control: {
|
|
15062
|
-
register:
|
|
15063
|
-
unregister:
|
|
15064
|
-
getFieldState:
|
|
15065
|
-
handleSubmit:
|
|
15066
|
-
setError:
|
|
15062
|
+
register: F0,
|
|
15063
|
+
unregister: N0,
|
|
15064
|
+
getFieldState: k0,
|
|
15065
|
+
handleSubmit: R0,
|
|
15066
|
+
setError: j0,
|
|
15067
15067
|
_executeSchema: R,
|
|
15068
15068
|
_getWatch: G,
|
|
15069
15069
|
_getDirty: W,
|
|
15070
15070
|
_updateValid: w,
|
|
15071
15071
|
_removeUnmounted: H,
|
|
15072
15072
|
_updateFieldArray: E,
|
|
15073
|
-
_updateDisabledField:
|
|
15073
|
+
_updateDisabledField: P0,
|
|
15074
15074
|
_getFieldArray: q,
|
|
15075
|
-
_reset:
|
|
15075
|
+
_reset: B0,
|
|
15076
15076
|
_resetDefaultValues: () => isFunction$1(r.defaultValues) && r.defaultValues().then((e2) => {
|
|
15077
|
-
|
|
15077
|
+
V0(e2, r.resetOptions), _.state.next({
|
|
15078
15078
|
isLoading: false
|
|
15079
15079
|
});
|
|
15080
15080
|
}),
|
|
@@ -15084,7 +15084,7 @@ let __tla = Promise.all([
|
|
|
15084
15084
|
...e2
|
|
15085
15085
|
};
|
|
15086
15086
|
},
|
|
15087
|
-
_disableForm:
|
|
15087
|
+
_disableForm: L0,
|
|
15088
15088
|
_subjects: _,
|
|
15089
15089
|
_proxyFormState: g,
|
|
15090
15090
|
_setErrors: j,
|
|
@@ -15125,17 +15125,17 @@ let __tla = Promise.all([
|
|
|
15125
15125
|
};
|
|
15126
15126
|
}
|
|
15127
15127
|
},
|
|
15128
|
-
trigger:
|
|
15129
|
-
register:
|
|
15130
|
-
handleSubmit:
|
|
15131
|
-
watch:
|
|
15132
|
-
setValue:
|
|
15133
|
-
getValues:
|
|
15134
|
-
reset:
|
|
15135
|
-
resetField:
|
|
15136
|
-
clearErrors:
|
|
15137
|
-
unregister:
|
|
15138
|
-
setError:
|
|
15128
|
+
trigger: D0,
|
|
15129
|
+
register: F0,
|
|
15130
|
+
handleSubmit: R0,
|
|
15131
|
+
watch: M0,
|
|
15132
|
+
setValue: w0,
|
|
15133
|
+
getValues: O0,
|
|
15134
|
+
reset: V0,
|
|
15135
|
+
resetField: z0,
|
|
15136
|
+
clearErrors: A0,
|
|
15137
|
+
unregister: N0,
|
|
15138
|
+
setError: j0,
|
|
15139
15139
|
setFocus: (e2, r2 = {}) => {
|
|
15140
15140
|
let c2 = get(l, e2), u2 = c2 && c2._f;
|
|
15141
15141
|
if (u2) {
|
|
@@ -15143,7 +15143,7 @@ let __tla = Promise.all([
|
|
|
15143
15143
|
e3.focus && (e3.focus(), r2.shouldSelect && isFunction$1(e3.select) && e3.select());
|
|
15144
15144
|
}
|
|
15145
15145
|
},
|
|
15146
|
-
getFieldState:
|
|
15146
|
+
getFieldState: k0
|
|
15147
15147
|
};
|
|
15148
15148
|
}
|
|
15149
15149
|
function useForm(e = {}) {
|
|
@@ -18308,21 +18308,21 @@ ${c}
|
|
|
18308
18308
|
}), H = U(), W = U(), G = C(0), q = C(null), Z = C({
|
|
18309
18309
|
column: 0,
|
|
18310
18310
|
row: 0
|
|
18311
|
-
}),
|
|
18312
|
-
Y(x(b, $(
|
|
18313
|
-
D(
|
|
18314
|
-
}), Y(x(ut(b,
|
|
18315
|
-
D(
|
|
18311
|
+
}), C0 = U(), w0 = U(), T0 = C(false), E0 = C(0), D0 = C(true), O0 = C(false), k0 = C(false);
|
|
18312
|
+
Y(x(b, $(E0), P(([e2, r2]) => !!r2)), () => {
|
|
18313
|
+
D(D0, false);
|
|
18314
|
+
}), Y(x(ut(b, D0, B, z, E0, O0), P(([e2, r2, c2, l2, , u2]) => e2 && !r2 && c2.height !== 0 && l2.height !== 0 && !u2)), ([, , , , e2]) => {
|
|
18315
|
+
D(O0, true), Ue(1, () => {
|
|
18316
18316
|
D(H, e2);
|
|
18317
18317
|
}), Et(x(h), () => {
|
|
18318
18318
|
D(r, [
|
|
18319
18319
|
0,
|
|
18320
18320
|
0
|
|
18321
|
-
]), D(
|
|
18321
|
+
]), D(D0, true);
|
|
18322
18322
|
});
|
|
18323
|
-
}), F(x(
|
|
18324
|
-
e2 && (D(z, e2.viewport), D(B, e2.item), D(Z, e2.gap), e2.scrollTop > 0 && (D(
|
|
18325
|
-
D(
|
|
18323
|
+
}), F(x(w0, P((e2) => e2 != null && e2.scrollTop > 0), Ft(0)), L), Y(x(b, $(w0), P(([, e2]) => e2 != null)), ([, e2]) => {
|
|
18324
|
+
e2 && (D(z, e2.viewport), D(B, e2.item), D(Z, e2.gap), e2.scrollTop > 0 && (D(T0, true), Et(x(h, Kt(1)), (e3) => {
|
|
18325
|
+
D(T0, false);
|
|
18326
18326
|
}), D(m, {
|
|
18327
18327
|
top: e2.scrollTop
|
|
18328
18328
|
})));
|
|
@@ -18331,7 +18331,7 @@ ${c}
|
|
|
18331
18331
|
item: r2,
|
|
18332
18332
|
scrollTop: l2,
|
|
18333
18333
|
viewport: e2
|
|
18334
|
-
}))),
|
|
18334
|
+
}))), C0), F(x(ut(V(I), l, V(Z, Or), V(B, xe), V(z, xe), V(q), V(L), V(T0), V(D0), V(E0)), P(([, , , , , , , e2]) => !e2), k(([e2, [r2, c2], l2, u2, d2, f2, p2, , m2, h2]) => {
|
|
18335
18335
|
let { column: g2, row: _2 } = l2, { height: v2, width: y2 } = u2, { width: b2 } = d2;
|
|
18336
18336
|
if (p2 === 0 && (e2 === 0 || b2 === 0)) return bn;
|
|
18337
18337
|
if (y2 === 0) {
|
|
@@ -18357,16 +18357,16 @@ ${c}
|
|
|
18357
18357
|
u2
|
|
18358
18358
|
];
|
|
18359
18359
|
}), J(ce)), r);
|
|
18360
|
-
let
|
|
18361
|
-
F(x(h, $(
|
|
18362
|
-
let
|
|
18360
|
+
let A0 = C(false);
|
|
18361
|
+
F(x(h, $(A0), k(([e2, r2]) => r2 || e2 !== 0)), A0);
|
|
18362
|
+
let j0 = bt(x(ut(R, I), P(([{ items: e2 }]) => e2.length > 0), $(A0), P(([[e2, r2], c2]) => {
|
|
18363
18363
|
let l2 = e2.items[e2.items.length - 1].index === r2 - 1;
|
|
18364
18364
|
return (c2 || e2.bottom > 0 && e2.itemHeight > 0 && e2.offsetBottom === 0 && e2.items.length === r2) && l2;
|
|
18365
|
-
}), k(([[, e2]]) => e2 - 1), J())),
|
|
18365
|
+
}), k(([[, e2]]) => e2 - 1), J())), M0 = bt(x(V(R), P(({ items: e2 }) => e2.length > 0 && e2[0].index === 0), Ft(0), J())), N0 = bt(x(V(R), $(T0), P(([{ items: e2 }, r2]) => e2.length > 0 && !r2), k(([{ items: e2 }]) => ({
|
|
18366
18366
|
endIndex: e2[e2.length - 1].index,
|
|
18367
18367
|
startIndex: e2[0].index
|
|
18368
18368
|
})), J(An), Gt(0)));
|
|
18369
|
-
F(
|
|
18369
|
+
F(N0, y.scrollSeekRangeChanged), F(x(H, $(z, B, I, Z), k(([e2, r2, c2, l2, u2]) => {
|
|
18370
18370
|
let d2 = $n(e2), { align: f2, behavior: p2, offset: m2 } = d2, h2 = d2.index;
|
|
18371
18371
|
h2 === "LAST" && (h2 = l2 - 1), h2 = re(0, h2, Oe(l2 - 1, h2));
|
|
18372
18372
|
let g2 = Me(r2, u2, c2, h2);
|
|
@@ -18375,7 +18375,7 @@ ${c}
|
|
|
18375
18375
|
top: g2
|
|
18376
18376
|
};
|
|
18377
18377
|
})), m);
|
|
18378
|
-
let
|
|
18378
|
+
let P0 = ht(x(R, k((e2) => e2.offsetBottom + e2.bottom)), 0);
|
|
18379
18379
|
return F(x(j, k((e2) => ({
|
|
18380
18380
|
height: e2.visibleHeight,
|
|
18381
18381
|
width: e2.visibleWidth
|
|
@@ -18390,7 +18390,7 @@ ${c}
|
|
|
18390
18390
|
initialItemCount: L,
|
|
18391
18391
|
itemDimensions: B,
|
|
18392
18392
|
overscan: c,
|
|
18393
|
-
restoreStateFrom:
|
|
18393
|
+
restoreStateFrom: w0,
|
|
18394
18394
|
scrollBy: f,
|
|
18395
18395
|
scrollContainerState: p,
|
|
18396
18396
|
scrollHeight: W,
|
|
@@ -18406,16 +18406,16 @@ ${c}
|
|
|
18406
18406
|
windowViewportRect: j,
|
|
18407
18407
|
...y,
|
|
18408
18408
|
gridState: R,
|
|
18409
|
-
horizontalDirection:
|
|
18410
|
-
initialTopMostItemIndex:
|
|
18411
|
-
totalListHeight:
|
|
18409
|
+
horizontalDirection: k0,
|
|
18410
|
+
initialTopMostItemIndex: E0,
|
|
18411
|
+
totalListHeight: P0,
|
|
18412
18412
|
...v,
|
|
18413
|
-
endReached:
|
|
18413
|
+
endReached: j0,
|
|
18414
18414
|
propsReady: S,
|
|
18415
|
-
rangeChanged:
|
|
18416
|
-
startReached:
|
|
18417
|
-
stateChanged:
|
|
18418
|
-
stateRestoreInProgress:
|
|
18415
|
+
rangeChanged: N0,
|
|
18416
|
+
startReached: M0,
|
|
18417
|
+
stateChanged: C0,
|
|
18418
|
+
stateRestoreInProgress: T0,
|
|
18419
18419
|
...M
|
|
18420
18420
|
};
|
|
18421
18421
|
}, tt(je, It, he, Zn, _t, qe, Wt));
|
|
@@ -21689,51 +21689,51 @@ ${c}
|
|
|
21689
21689
|
}), r[24] = q) : q = r[24];
|
|
21690
21690
|
let Z;
|
|
21691
21691
|
r[25] === E ? Z = r[26] : (Z = () => E(PANEL_TYPES.COLUMN_EXPLORER), r[25] = E, r[26] = Z);
|
|
21692
|
-
let
|
|
21693
|
-
r[27] ===
|
|
21694
|
-
let
|
|
21695
|
-
r[29] !==
|
|
21692
|
+
let C0 = R === PANEL_TYPES.COLUMN_EXPLORER ? activeClassName : inactiveClassName, w0;
|
|
21693
|
+
r[27] === C0 ? w0 = r[28] : (w0 = cn(tabTriggerClassName, C0), r[27] = C0, r[28] = w0);
|
|
21694
|
+
let T0;
|
|
21695
|
+
r[29] !== w0 || r[30] !== Z ? (T0 = (0, import_jsx_runtime.jsx)(Button, {
|
|
21696
21696
|
variant: "text",
|
|
21697
21697
|
size: "xs",
|
|
21698
21698
|
onClick: Z,
|
|
21699
|
-
className:
|
|
21699
|
+
className: w0,
|
|
21700
21700
|
children: "Columns"
|
|
21701
|
-
}), r[29] =
|
|
21702
|
-
let
|
|
21703
|
-
r[32] !==
|
|
21701
|
+
}), r[29] = w0, r[30] = Z, r[31] = T0) : T0 = r[31];
|
|
21702
|
+
let E0;
|
|
21703
|
+
r[32] !== T0 || r[33] !== G ? (E0 = (0, import_jsx_runtime.jsx)(Fill, {
|
|
21704
21704
|
name: SlotNames.CONTEXT_AWARE_PANEL_HEADER,
|
|
21705
21705
|
children: (0, import_jsx_runtime.jsxs)("div", {
|
|
21706
21706
|
className: "flex items-center gap-1",
|
|
21707
21707
|
children: [
|
|
21708
21708
|
G,
|
|
21709
21709
|
q,
|
|
21710
|
-
|
|
21710
|
+
T0
|
|
21711
21711
|
]
|
|
21712
21712
|
})
|
|
21713
|
-
}), r[32] =
|
|
21714
|
-
let
|
|
21715
|
-
r[35] === M ?
|
|
21713
|
+
}), r[32] = T0, r[33] = G, r[34] = E0) : E0 = r[34];
|
|
21714
|
+
let D0;
|
|
21715
|
+
r[35] === M ? D0 = r[36] : (D0 = (0, import_jsx_runtime.jsx)(TabsContent, {
|
|
21716
21716
|
value: PANEL_TYPES.ROW_VIEWER,
|
|
21717
21717
|
className: "flex-1 overflow-auto",
|
|
21718
21718
|
children: M
|
|
21719
|
-
}), r[35] = M, r[36] =
|
|
21720
|
-
let
|
|
21721
|
-
r[37] === L ?
|
|
21719
|
+
}), r[35] = M, r[36] = D0);
|
|
21720
|
+
let O0;
|
|
21721
|
+
r[37] === L ? O0 = r[38] : (O0 = (0, import_jsx_runtime.jsx)(TabsContent, {
|
|
21722
21722
|
value: PANEL_TYPES.COLUMN_EXPLORER,
|
|
21723
21723
|
className: "flex-1 overflow-auto",
|
|
21724
21724
|
children: L
|
|
21725
|
-
}), r[37] = L, r[38] =
|
|
21726
|
-
let
|
|
21727
|
-
return r[39] !== R || r[40] !==
|
|
21725
|
+
}), r[37] = L, r[38] = O0);
|
|
21726
|
+
let k0;
|
|
21727
|
+
return r[39] !== R || r[40] !== E0 || r[41] !== D0 || r[42] !== O0 || r[43] !== z ? (k0 = (0, import_jsx_runtime.jsxs)(Tabs, {
|
|
21728
21728
|
value: R,
|
|
21729
21729
|
onValueChange: z,
|
|
21730
21730
|
className: "flex flex-col min-w-[350px]",
|
|
21731
21731
|
children: [
|
|
21732
|
+
E0,
|
|
21732
21733
|
D0,
|
|
21733
|
-
O0
|
|
21734
|
-
k0
|
|
21734
|
+
O0
|
|
21735
21735
|
]
|
|
21736
|
-
}), r[39] = R, r[40] =
|
|
21736
|
+
}), r[39] = R, r[40] = E0, r[41] = D0, r[42] = O0, r[43] = z, r[44] = k0) : k0 = r[44], k0;
|
|
21737
21737
|
};
|
|
21738
21738
|
var import_compiler_runtime$64 = require_compiler_runtime();
|
|
21739
21739
|
function useEffectSkipFirstRender(e, r) {
|
|
@@ -22239,6 +22239,7 @@ ${c}
|
|
|
22239
22239
|
headerTooltip: record(string(), string()).optional(),
|
|
22240
22240
|
fieldTypes: columnToFieldTypesSchema.nullish(),
|
|
22241
22241
|
totalColumns: number(),
|
|
22242
|
+
sizeBytes: number().nullish(),
|
|
22242
22243
|
maxColumns: union([
|
|
22243
22244
|
number(),
|
|
22244
22245
|
literal("all")
|
|
@@ -22287,7 +22288,8 @@ ${c}
|
|
|
22287
22288
|
raw_data: union([
|
|
22288
22289
|
string(),
|
|
22289
22290
|
array(looseObject({}))
|
|
22290
|
-
]).nullish()
|
|
22291
|
+
]).nullish(),
|
|
22292
|
+
size_bytes: number().nullish()
|
|
22291
22293
|
})),
|
|
22292
22294
|
get_row_ids: rpc.input(object({}).passthrough()).output(object({
|
|
22293
22295
|
row_ids: array(number()),
|
|
@@ -22381,7 +22383,7 @@ ${c}
|
|
|
22381
22383
|
return l;
|
|
22382
22384
|
};
|
|
22383
22385
|
const LoadingDataTableComponent = (0, import_react.memo)((e) => {
|
|
22384
|
-
let r = (0, import_compiler_runtime$63.c)(
|
|
22386
|
+
let r = (0, import_compiler_runtime$63.c)(107), c;
|
|
22385
22387
|
r[0] === e.host ? c = r[1] : (c = findCellId(e.host), r[0] = e.host, r[1] = c);
|
|
22386
22388
|
let l = c, u = e.search, f = e.setValue, p;
|
|
22387
22389
|
r[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (p = [], r[2] = p) : p = r[2];
|
|
@@ -22416,35 +22418,36 @@ ${c}
|
|
|
22416
22418
|
e.pageSize
|
|
22417
22419
|
], r[18] = e.pageSize, r[19] = L, r[20] = R), (0, import_react.useEffect)(L, R);
|
|
22418
22420
|
let z;
|
|
22419
|
-
r[21] !== w || r[22] !== _.pageIndex || r[23] !== _.pageSize || r[24] !== e.cellHoverTexts || r[25] !== e.cellStyles || r[26] !== e.data || r[27] !== e.lazy || r[28] !== e.pageSize || r[29] !== e.rawData || r[30] !== e.
|
|
22421
|
+
r[21] !== w || r[22] !== _.pageIndex || r[23] !== _.pageSize || r[24] !== e.cellHoverTexts || r[25] !== e.cellStyles || r[26] !== e.data || r[27] !== e.lazy || r[28] !== e.pageSize || r[29] !== e.rawData || r[30] !== e.sizeBytes || r[31] !== e.totalRows || r[32] !== u || r[33] !== y || r[34] !== m ? (z = async () => {
|
|
22420
22422
|
if (e.totalRows === 0) return {
|
|
22421
22423
|
rows: Arrays.EMPTY,
|
|
22422
22424
|
totalRows: 0,
|
|
22423
22425
|
cellStyles: {}
|
|
22424
22426
|
};
|
|
22425
|
-
let r2 = e.data, c2 = e.rawData, l2 = e.totalRows, d = e.
|
|
22427
|
+
let r2 = e.data, c2 = e.rawData, l2 = e.totalRows, d = e.sizeBytes ?? null, f2 = e.cellStyles, p2 = e.cellHoverTexts, h2 = _.pageSize !== e.pageSize, g2 = y === "" && _.pageIndex === 0 && w.length === 0 && m.length === 0 && !e.lazy && !h2, v2 = u({
|
|
22426
22428
|
sort: m.length > 0 ? m.map(_temp$21) : void 0,
|
|
22427
22429
|
query: y,
|
|
22428
22430
|
page_number: _.pageIndex,
|
|
22429
22431
|
page_size: _.pageSize,
|
|
22430
22432
|
filters: filtersToFilterGroup(w)
|
|
22431
22433
|
});
|
|
22432
|
-
if (
|
|
22434
|
+
if (g2) v2.catch(_temp2$15);
|
|
22433
22435
|
else {
|
|
22434
|
-
let e2 = await
|
|
22435
|
-
r2 = e2.data, c2 = e2.raw_data, l2 = e2.total_rows, d = e2.cell_styles || {},
|
|
22436
|
+
let e2 = await v2;
|
|
22437
|
+
r2 = e2.data, c2 = e2.raw_data, l2 = e2.total_rows, d = e2.size_bytes ?? null, f2 = e2.cell_styles || {}, p2 = e2.cell_hover_texts || {};
|
|
22436
22438
|
}
|
|
22437
|
-
let [
|
|
22438
|
-
return r2 =
|
|
22439
|
+
let [b2, S2] = await loadTableAndRawData(r2, c2);
|
|
22440
|
+
return r2 = b2, {
|
|
22439
22441
|
rows: r2,
|
|
22440
|
-
rawRows:
|
|
22442
|
+
rawRows: S2,
|
|
22441
22443
|
totalRows: l2,
|
|
22442
|
-
|
|
22443
|
-
|
|
22444
|
+
sizeBytes: d,
|
|
22445
|
+
cellStyles: f2,
|
|
22446
|
+
cellHoverTexts: p2
|
|
22444
22447
|
};
|
|
22445
|
-
}, r[21] = w, r[22] = _.pageIndex, r[23] = _.pageSize, r[24] = e.cellHoverTexts, r[25] = e.cellStyles, r[26] = e.data, r[27] = e.lazy, r[28] = e.pageSize, r[29] = e.rawData, r[30] = e.
|
|
22448
|
+
}, r[21] = w, r[22] = _.pageIndex, r[23] = _.pageSize, r[24] = e.cellHoverTexts, r[25] = e.cellStyles, r[26] = e.data, r[27] = e.lazy, r[28] = e.pageSize, r[29] = e.rawData, r[30] = e.sizeBytes, r[31] = e.totalRows, r[32] = u, r[33] = y, r[34] = m, r[35] = z) : z = r[35];
|
|
22446
22449
|
let B = useDeepCompareMemoize(e.fieldTypes), H;
|
|
22447
|
-
r[
|
|
22450
|
+
r[36] !== w || r[37] !== _.pageIndex || r[38] !== _.pageSize || r[39] !== e.cellHoverTexts || r[40] !== e.cellStyles || r[41] !== e.data || r[42] !== e.lazy || r[43] !== e.sizeBytes || r[44] !== e.totalRows || r[45] !== u || r[46] !== y || r[47] !== m || r[48] !== B ? (H = [
|
|
22448
22451
|
m,
|
|
22449
22452
|
u,
|
|
22450
22453
|
w,
|
|
@@ -22452,14 +22455,15 @@ ${c}
|
|
|
22452
22455
|
B,
|
|
22453
22456
|
e.data,
|
|
22454
22457
|
e.totalRows,
|
|
22458
|
+
e.sizeBytes,
|
|
22455
22459
|
e.lazy,
|
|
22456
22460
|
e.cellHoverTexts,
|
|
22457
22461
|
e.cellStyles,
|
|
22458
22462
|
_.pageSize,
|
|
22459
22463
|
_.pageIndex
|
|
22460
|
-
], r[
|
|
22461
|
-
let { data: W, error: G, isPending: q, isFetching: Z } = useAsyncData(z, H),
|
|
22462
|
-
r[
|
|
22464
|
+
], r[36] = w, r[37] = _.pageIndex, r[38] = _.pageSize, r[39] = e.cellHoverTexts, r[40] = e.cellStyles, r[41] = e.data, r[42] = e.lazy, r[43] = e.sizeBytes, r[44] = e.totalRows, r[45] = u, r[46] = y, r[47] = m, r[48] = B, r[49] = H) : H = r[49];
|
|
22465
|
+
let { data: W, error: G, isPending: q, isFetching: Z } = useAsyncData(z, H), C0;
|
|
22466
|
+
r[50] !== w || r[51] !== u || r[52] !== y || r[53] !== m ? (C0 = async (e2) => ({
|
|
22463
22467
|
rows: await loadTableData((await u({
|
|
22464
22468
|
page_number: e2,
|
|
22465
22469
|
page_size: 1,
|
|
@@ -22468,51 +22472,51 @@ ${c}
|
|
|
22468
22472
|
filters: filtersToFilterGroup(w),
|
|
22469
22473
|
max_columns: null
|
|
22470
22474
|
})).data)
|
|
22471
|
-
}), r[
|
|
22472
|
-
let
|
|
22473
|
-
r[
|
|
22475
|
+
}), r[50] = w, r[51] = u, r[52] = y, r[53] = m, r[54] = C0) : C0 = r[54];
|
|
22476
|
+
let w0 = C0, T0;
|
|
22477
|
+
r[55] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (T0 = () => {
|
|
22474
22478
|
v(_temp4$6);
|
|
22475
|
-
}, r[
|
|
22476
|
-
let
|
|
22477
|
-
r[
|
|
22478
|
-
|
|
22479
|
-
], r[
|
|
22480
|
-
let
|
|
22481
|
-
r[
|
|
22479
|
+
}, r[55] = T0) : T0 = r[55];
|
|
22480
|
+
let E0 = W == null ? void 0 : W.totalRows, D0;
|
|
22481
|
+
r[56] === E0 ? D0 = r[57] : (D0 = [
|
|
22482
|
+
E0
|
|
22483
|
+
], r[56] = E0, r[57] = D0), (0, import_react.useEffect)(T0, D0);
|
|
22484
|
+
let O0;
|
|
22485
|
+
r[58] === e ? O0 = r[59] : (O0 = async () => e.totalRows === 0 || !e.showColumnSummaries ? {
|
|
22482
22486
|
data: null,
|
|
22483
22487
|
stats: {},
|
|
22484
22488
|
bin_values: {},
|
|
22485
22489
|
value_counts: {},
|
|
22486
22490
|
show_charts: false
|
|
22487
|
-
} : e.get_column_summaries({}), r[
|
|
22488
|
-
let
|
|
22489
|
-
r[
|
|
22491
|
+
} : e.get_column_summaries({}), r[58] = e, r[59] = O0);
|
|
22492
|
+
let k0;
|
|
22493
|
+
r[60] !== w || r[61] !== e.data || r[62] !== e.get_column_summaries || r[63] !== e.showColumnSummaries || r[64] !== e.totalRows || r[65] !== y ? (k0 = [
|
|
22490
22494
|
e.get_column_summaries,
|
|
22491
22495
|
e.showColumnSummaries,
|
|
22492
22496
|
w,
|
|
22493
22497
|
y,
|
|
22494
22498
|
e.totalRows,
|
|
22495
22499
|
e.data
|
|
22496
|
-
], r[
|
|
22497
|
-
let { data:
|
|
22498
|
-
if (r[
|
|
22499
|
-
|
|
22500
|
-
},
|
|
22501
|
-
|
|
22502
|
-
], r[
|
|
22500
|
+
], r[60] = w, r[61] = e.data, r[62] = e.get_column_summaries, r[63] = e.showColumnSummaries, r[64] = e.totalRows, r[65] = y, r[66] = k0) : k0 = r[66];
|
|
22501
|
+
let { data: A0, error: j0 } = useAsyncData(O0, k0), M0, N0;
|
|
22502
|
+
if (r[67] === j0 ? (M0 = r[68], N0 = r[69]) : (M0 = () => {
|
|
22503
|
+
j0 && Logger.error(j0);
|
|
22504
|
+
}, N0 = [
|
|
22505
|
+
j0
|
|
22506
|
+
], r[67] = j0, r[68] = M0, r[69] = N0), (0, import_react.useEffect)(M0, N0), q) {
|
|
22503
22507
|
let c2 = e.totalRows !== "too_many" && e.totalRows > 0 ? Math.min(e.totalRows, e.pageSize) : e.pageSize, l2;
|
|
22504
|
-
return r[
|
|
22508
|
+
return r[70] === c2 ? l2 = r[71] : (l2 = (0, import_jsx_runtime.jsx)(DelayMount, {
|
|
22505
22509
|
milliseconds: 200,
|
|
22506
22510
|
children: (0, import_jsx_runtime.jsx)(LoadingTable, {
|
|
22507
22511
|
pageSize: c2
|
|
22508
22512
|
})
|
|
22509
|
-
}), r[
|
|
22513
|
+
}), r[70] = c2, r[71] = l2), l2;
|
|
22510
22514
|
}
|
|
22511
|
-
let
|
|
22515
|
+
let P0 = null;
|
|
22512
22516
|
if (G) {
|
|
22513
22517
|
Logger.error(G);
|
|
22514
22518
|
let e2;
|
|
22515
|
-
r[
|
|
22519
|
+
r[72] === G ? e2 = r[73] : (e2 = !isStaticNotebook() && (0, import_jsx_runtime.jsxs)(Alert, {
|
|
22516
22520
|
variant: "destructive",
|
|
22517
22521
|
className: "mb-2",
|
|
22518
22522
|
children: [
|
|
@@ -22524,38 +22528,39 @@ ${c}
|
|
|
22524
22528
|
children: G.message || "An unknown error occurred"
|
|
22525
22529
|
})
|
|
22526
22530
|
]
|
|
22527
|
-
}), r[
|
|
22531
|
+
}), r[72] = G, r[73] = e2), P0 = e2;
|
|
22528
22532
|
}
|
|
22529
|
-
let
|
|
22530
|
-
r[
|
|
22533
|
+
let F0;
|
|
22534
|
+
r[74] === O ? F0 = r[75] : (F0 = () => {
|
|
22531
22535
|
j(!O);
|
|
22532
|
-
}, r[
|
|
22533
|
-
let
|
|
22534
|
-
r[
|
|
22536
|
+
}, r[74] = O, r[75] = F0);
|
|
22537
|
+
let I0 = F0, L0 = (W == null ? void 0 : W.rows) ?? Arrays.EMPTY, R0 = W == null ? void 0 : W.rawRows, z0 = Z && !q, B0 = (W == null ? void 0 : W.totalRows) ?? e.totalRows, V0 = (W == null ? void 0 : W.sizeBytes) ?? e.sizeBytes ?? null, H0 = (W == null ? void 0 : W.cellStyles) ?? e.cellStyles, U0 = (W == null ? void 0 : W.cellHoverTexts) ?? e.cellHoverTexts, W0;
|
|
22538
|
+
r[76] !== l || r[77] !== A0 || r[78] !== O || r[79] !== w || r[80] !== w0 || r[81] !== _ || r[82] !== e || r[83] !== y || r[84] !== m || r[85] !== L0 || r[86] !== R0 || r[87] !== z0 || r[88] !== B0 || r[89] !== V0 || r[90] !== H0 || r[91] !== U0 || r[92] !== I0 ? (W0 = (0, import_jsx_runtime.jsx)(DataTableComponent, {
|
|
22535
22539
|
...e,
|
|
22536
|
-
data:
|
|
22537
|
-
rawData:
|
|
22538
|
-
columnSummaries:
|
|
22540
|
+
data: L0,
|
|
22541
|
+
rawData: R0,
|
|
22542
|
+
columnSummaries: A0,
|
|
22539
22543
|
sorting: m,
|
|
22540
22544
|
setSorting: h,
|
|
22541
22545
|
searchQuery: y,
|
|
22542
22546
|
setSearchQuery: b,
|
|
22543
22547
|
filters: w,
|
|
22544
22548
|
setFilters: T,
|
|
22545
|
-
reloading:
|
|
22546
|
-
totalRows:
|
|
22549
|
+
reloading: z0,
|
|
22550
|
+
totalRows: B0,
|
|
22551
|
+
sizeBytes: V0,
|
|
22547
22552
|
paginationState: _,
|
|
22548
22553
|
setPaginationState: v,
|
|
22549
22554
|
cellStyles: H0,
|
|
22550
22555
|
cellHoverTexts: U0,
|
|
22551
|
-
toggleDisplayHeader:
|
|
22556
|
+
toggleDisplayHeader: I0,
|
|
22552
22557
|
isChartBuilderOpen: O,
|
|
22553
|
-
getRow:
|
|
22558
|
+
getRow: w0,
|
|
22554
22559
|
cellId: l,
|
|
22555
22560
|
maxHeight: e.maxHeight
|
|
22556
|
-
}), r[
|
|
22561
|
+
}), r[76] = l, r[77] = A0, r[78] = O, r[79] = w, r[80] = w0, r[81] = _, r[82] = e, r[83] = y, r[84] = m, r[85] = L0, r[86] = R0, r[87] = z0, r[88] = B0, r[89] = V0, r[90] = H0, r[91] = U0, r[92] = I0, r[93] = W0) : W0 = r[93];
|
|
22557
22562
|
let G0 = W0, K0;
|
|
22558
|
-
r[
|
|
22563
|
+
r[94] !== l || r[95] !== G0 || r[96] !== (W == null ? void 0 : W.rows) || r[97] !== O || r[98] !== e.fieldTypes || r[99] !== e.get_data_url || r[100] !== e.showChartBuilder || r[101] !== e.totalColumns || r[102] !== e.totalRows ? (K0 = e.showChartBuilder ? (0, import_jsx_runtime.jsx)(TablePanel, {
|
|
22559
22564
|
displayHeader: O,
|
|
22560
22565
|
onCloseChartBuilder: () => j(false),
|
|
22561
22566
|
data: (W == null ? void 0 : W.rows) || [],
|
|
@@ -22565,28 +22570,28 @@ ${c}
|
|
|
22565
22570
|
getDataUrl: e.get_data_url,
|
|
22566
22571
|
fieldTypes: e.fieldTypes,
|
|
22567
22572
|
cellId: l
|
|
22568
|
-
}) : G0, r[
|
|
22573
|
+
}) : G0, r[94] = l, r[95] = G0, r[96] = W == null ? void 0 : W.rows, r[97] = O, r[98] = e.fieldTypes, r[99] = e.get_data_url, r[100] = e.showChartBuilder, r[101] = e.totalColumns, r[102] = e.totalRows, r[103] = K0) : K0 = r[103];
|
|
22569
22574
|
let q0;
|
|
22570
|
-
return r[
|
|
22575
|
+
return r[104] !== P0 || r[105] !== K0 ? (q0 = (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
22571
22576
|
children: [
|
|
22572
|
-
|
|
22577
|
+
P0,
|
|
22573
22578
|
K0
|
|
22574
22579
|
]
|
|
22575
|
-
}), r[
|
|
22580
|
+
}), r[104] = P0, r[105] = K0, r[106] = q0) : q0 = r[106], q0;
|
|
22576
22581
|
});
|
|
22577
22582
|
LoadingDataTableComponent.displayName = "LoadingDataTableComponent";
|
|
22578
|
-
var DataTableComponent = ({ label: e, data: r, rawData: c, totalRows: l,
|
|
22583
|
+
var DataTableComponent = ({ label: e, data: r, rawData: c, totalRows: l, sizeBytes: u, maxColumns: d, pagination: f, selection: p, value: m, showFilters: h, showDownload: g, showPageSizeSelector: _, showColumnExplorer: v, showRowExplorer: y, showChartBuilder: b, showDataTypes: S, rowHeaders: w, fieldTypes: T, paginationState: O, setPaginationState: j, download_as: M, columnSummaries: I, className: L, setValue: R, sorting: z, setSorting: B, enableSearch: H, searchQuery: W, setSearchQuery: G, filters: q, setFilters: Z, reloading: C0, freezeColumnsLeft: w0, freezeColumnsRight: T0, textJustifyColumns: E0, wrappedColumns: D0, headerTooltip: O0, totalColumns: k0, get_row_ids: A0, cellStyles: j0, hoverTemplate: M0, cellHoverTexts: N0, toggleDisplayHeader: P0, isChartBuilderOpen: F0, calculate_top_k_rows: I0, preview_column: L0, getRow: R0, cellId: z0, maxHeight: B0 }) => {
|
|
22579
22584
|
let V0 = (0, import_react.useId)(), [H0, U0] = (0, import_react.useState)(0), { isPanelOpen: W0, isAnyPanelOpen: G0, togglePanel: K0, panelType: q0, setPanelType: J0 } = usePanelOwnership(V0, z0), Y0 = (0, import_react.useMemo)(() => {
|
|
22580
|
-
if (!
|
|
22581
|
-
let e3 = toFieldTypes(
|
|
22582
|
-
return new ColumnChartSpecModel(
|
|
22583
|
-
includeCharts:
|
|
22585
|
+
if (!I || !T || !I.stats) return ColumnChartSpecModel.EMPTY;
|
|
22586
|
+
let e3 = toFieldTypes(T);
|
|
22587
|
+
return new ColumnChartSpecModel(I.data || [], e3, I.stats, I.bin_values, I.value_counts, {
|
|
22588
|
+
includeCharts: I.show_charts
|
|
22584
22589
|
});
|
|
22585
22590
|
}, [
|
|
22586
|
-
|
|
22587
|
-
|
|
22588
|
-
]), X0 = useDeepCompareMemoize(
|
|
22589
|
-
|
|
22591
|
+
T,
|
|
22592
|
+
I
|
|
22593
|
+
]), X0 = useDeepCompareMemoize(T ?? inferFieldTypes(r)), Z0 = (0, import_react.useMemo)(() => d === "all" ? X0 : X0.slice(0, d), [
|
|
22594
|
+
d,
|
|
22590
22595
|
X0
|
|
22591
22596
|
]), Q0 = (0, import_react.useMemo)(() => {
|
|
22592
22597
|
let e3 = {};
|
|
@@ -22607,22 +22612,22 @@ ${c}
|
|
|
22607
22612
|
}, [
|
|
22608
22613
|
r,
|
|
22609
22614
|
Z0
|
|
22610
|
-
]), $0 = useDeepCompareMemoize(
|
|
22611
|
-
|
|
22615
|
+
]), $0 = useDeepCompareMemoize(w), e2 = useDeepCompareMemoize(E0), t2 = useDeepCompareMemoize(D0), n2 = useDeepCompareMemoize(Y0), r2 = useDeepCompareMemoize(Q0), i2 = Z0.length;
|
|
22616
|
+
T || (S = false);
|
|
22612
22617
|
let a2 = (0, import_react.useMemo)(() => generateColumns({
|
|
22613
22618
|
rowHeaders: $0,
|
|
22614
|
-
selection:
|
|
22619
|
+
selection: p,
|
|
22615
22620
|
chartSpecModel: n2,
|
|
22616
22621
|
fieldTypes: Z0,
|
|
22617
22622
|
textJustifyColumns: e2,
|
|
22618
22623
|
wrappedColumns: t2,
|
|
22619
22624
|
headerTooltip: O0,
|
|
22620
|
-
showDataTypes:
|
|
22625
|
+
showDataTypes: S,
|
|
22621
22626
|
calculateTopKRows: I0,
|
|
22622
22627
|
fractionDigitsByColumn: r2
|
|
22623
22628
|
}), [
|
|
22624
|
-
|
|
22625
|
-
|
|
22629
|
+
p,
|
|
22630
|
+
S,
|
|
22626
22631
|
n2,
|
|
22627
22632
|
$0,
|
|
22628
22633
|
Z0,
|
|
@@ -22631,37 +22636,37 @@ ${c}
|
|
|
22631
22636
|
O0,
|
|
22632
22637
|
I0,
|
|
22633
22638
|
r2
|
|
22634
|
-
]), o2 = (0, import_react.useMemo)(() => Object.fromEntries((
|
|
22639
|
+
]), o2 = (0, import_react.useMemo)(() => Object.fromEntries((m || []).map((e3) => [
|
|
22635
22640
|
e3,
|
|
22636
22641
|
true
|
|
22637
22642
|
])), [
|
|
22638
|
-
|
|
22643
|
+
m
|
|
22639
22644
|
]), s2 = useEvent_default((e3) => {
|
|
22640
|
-
if (
|
|
22645
|
+
if (p === "single") {
|
|
22641
22646
|
let r3 = Functions.asUpdater(e3)({});
|
|
22642
|
-
|
|
22647
|
+
R(Object.keys(r3).slice(0, 1));
|
|
22643
22648
|
}
|
|
22644
|
-
if (
|
|
22649
|
+
if (p === "multi") {
|
|
22645
22650
|
let r3 = Functions.asUpdater(e3)(o2);
|
|
22646
|
-
|
|
22651
|
+
R(Object.keys(r3));
|
|
22647
22652
|
}
|
|
22648
22653
|
}), c2 = useEvent_default((e3) => {
|
|
22649
22654
|
if (U0(e3), e3 < 0 || typeof l == "number" && e3 >= l || l === "too_many") return;
|
|
22650
|
-
let r3 = getPageIndexForRow(e3,
|
|
22651
|
-
r3 !== null &&
|
|
22655
|
+
let r3 = getPageIndexForRow(e3, O.pageIndex, O.pageSize);
|
|
22656
|
+
r3 !== null && j((e4) => ({
|
|
22652
22657
|
...e4,
|
|
22653
22658
|
pageIndex: r3
|
|
22654
22659
|
}));
|
|
22655
|
-
}), l2 =
|
|
22656
|
-
|
|
22657
|
-
}), d2 =
|
|
22660
|
+
}), l2 = m.filter((e3) => e3 instanceof Object && e3.columnName !== void 0), u2 = useEvent_default((e3) => {
|
|
22661
|
+
p === "single-cell" && R(Functions.asUpdater(e3)(l2).slice(0, 1)), p === "multi-cell" && R(Functions.asUpdater(e3)(l2));
|
|
22662
|
+
}), d2 = p === "multi" || p === "single", f2 = v && !!L0, p2 = isInVscodeExtension(), m2 = isIslands();
|
|
22658
22663
|
return (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
22659
22664
|
children: [
|
|
22660
|
-
l === "too_many" &&
|
|
22665
|
+
l === "too_many" && O.pageSize === r.length && (0, import_jsx_runtime.jsxs)(Banner, {
|
|
22661
22666
|
className: "mb-1 rounded",
|
|
22662
22667
|
children: [
|
|
22663
22668
|
"Previewing the first ",
|
|
22664
|
-
|
|
22669
|
+
O.pageSize,
|
|
22665
22670
|
" rows."
|
|
22666
22671
|
]
|
|
22667
22672
|
}),
|
|
@@ -22675,11 +22680,11 @@ ${c}
|
|
|
22675
22680
|
" columns."
|
|
22676
22681
|
]
|
|
22677
22682
|
}),
|
|
22678
|
-
(
|
|
22683
|
+
(I == null ? void 0 : I.is_disabled) && (0, import_jsx_runtime.jsx)(Banner, {
|
|
22679
22684
|
className: "mb-1 rounded",
|
|
22680
22685
|
children: "Column summaries are unavailable. Filter your data to fewer than 1,000,000 rows."
|
|
22681
22686
|
}),
|
|
22682
|
-
G0 && (
|
|
22687
|
+
G0 && (y || f2) && (0, import_jsx_runtime.jsx)(ContextAwarePanelItem, {
|
|
22683
22688
|
children: (0, import_jsx_runtime.jsx)(TableExplorerPanel, {
|
|
22684
22689
|
rowIdx: H0,
|
|
22685
22690
|
setRowIdx: c2,
|
|
@@ -22692,7 +22697,7 @@ ${c}
|
|
|
22692
22697
|
previewColumn: L0,
|
|
22693
22698
|
totalColumns: k0,
|
|
22694
22699
|
tableId: V0,
|
|
22695
|
-
showRowExplorer:
|
|
22700
|
+
showRowExplorer: y && !p2,
|
|
22696
22701
|
showColumnExplorer: f2 && !p2,
|
|
22697
22702
|
activeTab: q0,
|
|
22698
22703
|
onTabChange: J0
|
|
@@ -22708,42 +22713,43 @@ ${c}
|
|
|
22708
22713
|
data: r,
|
|
22709
22714
|
rawData: c,
|
|
22710
22715
|
columns: a2,
|
|
22711
|
-
className:
|
|
22716
|
+
className: L,
|
|
22712
22717
|
maxHeight: B0,
|
|
22713
|
-
sorting:
|
|
22718
|
+
sorting: z,
|
|
22714
22719
|
totalRows: l,
|
|
22720
|
+
sizeBytes: u,
|
|
22715
22721
|
totalColumns: k0,
|
|
22716
22722
|
manualSorting: true,
|
|
22717
|
-
setSorting:
|
|
22718
|
-
pagination:
|
|
22723
|
+
setSorting: B,
|
|
22724
|
+
pagination: f,
|
|
22719
22725
|
manualPagination: true,
|
|
22720
|
-
selection:
|
|
22721
|
-
paginationState:
|
|
22722
|
-
setPaginationState:
|
|
22726
|
+
selection: p,
|
|
22727
|
+
paginationState: O,
|
|
22728
|
+
setPaginationState: j,
|
|
22723
22729
|
rowSelection: o2,
|
|
22724
22730
|
cellSelection: l2,
|
|
22725
22731
|
cellStyling: j0,
|
|
22726
22732
|
hoverTemplate: M0,
|
|
22727
22733
|
cellHoverTexts: N0,
|
|
22728
|
-
downloadAs:
|
|
22729
|
-
enableSearch:
|
|
22730
|
-
searchQuery:
|
|
22731
|
-
onSearchQueryChange:
|
|
22732
|
-
showFilters:
|
|
22733
|
-
filters:
|
|
22734
|
-
onFiltersChange:
|
|
22734
|
+
downloadAs: g ? M : void 0,
|
|
22735
|
+
enableSearch: H,
|
|
22736
|
+
searchQuery: W,
|
|
22737
|
+
onSearchQueryChange: G,
|
|
22738
|
+
showFilters: h,
|
|
22739
|
+
filters: q,
|
|
22740
|
+
onFiltersChange: Z,
|
|
22735
22741
|
calculateTopKRows: I0,
|
|
22736
|
-
reloading:
|
|
22742
|
+
reloading: C0,
|
|
22737
22743
|
onRowSelectionChange: s2,
|
|
22738
22744
|
freezeColumnsLeft: w0,
|
|
22739
22745
|
freezeColumnsRight: T0,
|
|
22740
22746
|
onCellSelectionChange: u2,
|
|
22741
22747
|
getRowIds: A0,
|
|
22742
22748
|
toggleDisplayHeader: P0,
|
|
22743
|
-
showChartBuilder:
|
|
22749
|
+
showChartBuilder: b && !m2,
|
|
22744
22750
|
isChartBuilderOpen: F0,
|
|
22745
|
-
showPageSizeSelector:
|
|
22746
|
-
showTableExplorer: (
|
|
22751
|
+
showPageSizeSelector: _,
|
|
22752
|
+
showTableExplorer: (y || f2) && !p2 && !m2,
|
|
22747
22753
|
togglePanel: K0,
|
|
22748
22754
|
isPanelOpen: W0,
|
|
22749
22755
|
isAnyPanelOpen: G0,
|
|
@@ -25314,7 +25320,8 @@ ${c}
|
|
|
25314
25320
|
field_types: columnToFieldTypesSchema,
|
|
25315
25321
|
column_types_per_step: array(columnToFieldTypesSchema),
|
|
25316
25322
|
python_code: string().nullish(),
|
|
25317
|
-
sql_code: string().nullish()
|
|
25323
|
+
sql_code: string().nullish(),
|
|
25324
|
+
size_bytes: number().nullish()
|
|
25318
25325
|
})),
|
|
25319
25326
|
get_column_values: rpc.input(object({
|
|
25320
25327
|
column: string()
|
|
@@ -25336,7 +25343,8 @@ ${c}
|
|
|
25336
25343
|
string(),
|
|
25337
25344
|
array(object({}).passthrough())
|
|
25338
25345
|
]),
|
|
25339
|
-
total_rows: number()
|
|
25346
|
+
total_rows: number(),
|
|
25347
|
+
size_bytes: number().nullish()
|
|
25340
25348
|
})),
|
|
25341
25349
|
download_as: DownloadAsSchema
|
|
25342
25350
|
}).renderer((e) => (0, import_jsx_runtime.jsx)(TableProviders, {
|
|
@@ -25352,7 +25360,7 @@ ${c}
|
|
|
25352
25360
|
transforms: []
|
|
25353
25361
|
};
|
|
25354
25362
|
const DataFrameComponent = (0, import_react.memo)((e) => {
|
|
25355
|
-
let r = (0, import_compiler_runtime$45.c)(
|
|
25363
|
+
let r = (0, import_compiler_runtime$45.c)(70), { columns: c, pageSize: l, showDownload: u, lazy: d, value: f, setValue: p, get_dataframe: m, get_column_values: h, search: g, download_as: _, host: v } = e, y;
|
|
25356
25364
|
r[0] === m ? y = r[1] : (y = () => m({}), r[0] = m, r[1] = y);
|
|
25357
25365
|
let b = f == null ? void 0 : f.transforms, S;
|
|
25358
25366
|
r[2] === b ? S = r[3] : (S = [
|
|
@@ -25360,15 +25368,15 @@ ${c}
|
|
|
25360
25368
|
], r[2] = b, r[3] = S);
|
|
25361
25369
|
let { data: w, error: T, isPending: O } = useAsyncData(y, S), j;
|
|
25362
25370
|
r[4] === w ? j = r[5] : (j = w || {}, r[4] = w, r[5] = j);
|
|
25363
|
-
let { url: M, total_rows: I, row_headers: L, field_types: R, column_types_per_step: z, python_code: B, sql_code: H } = j,
|
|
25371
|
+
let { url: M, total_rows: I, row_headers: L, field_types: R, column_types_per_step: z, python_code: B, sql_code: H, size_bytes: W } = j, G = R == null ? void 0 : R.length, [q, Z] = (0, import_react.useState)(f || EMPTY), C0 = (0, import_react.useRef)(null), w0;
|
|
25364
25372
|
r[6] === d ? w0 = r[7] : (w0 = (e2) => {
|
|
25365
25373
|
var _a3;
|
|
25366
|
-
d && e2 !== "transform" && ((_a3 =
|
|
25374
|
+
d && e2 !== "transform" && ((_a3 = C0.current) == null ? void 0 : _a3.submit());
|
|
25367
25375
|
}, r[6] = d, r[7] = w0);
|
|
25368
|
-
let T0 = w0, E0 = (0, import_react.useRef)(
|
|
25369
|
-
r[8] ===
|
|
25370
|
-
E0.current =
|
|
25371
|
-
}, r[8] =
|
|
25376
|
+
let T0 = w0, E0 = (0, import_react.useRef)(q), D0;
|
|
25377
|
+
r[8] === q ? D0 = r[9] : (D0 = () => {
|
|
25378
|
+
E0.current = q;
|
|
25379
|
+
}, r[8] = q, r[9] = D0), (0, import_react.useEffect)(D0);
|
|
25372
25380
|
let O0;
|
|
25373
25381
|
r[10] !== p || r[11] !== (f == null ? void 0 : f.transforms.length) ? (O0 = () => {
|
|
25374
25382
|
let e2 = E0.current;
|
|
@@ -25414,10 +25422,10 @@ ${c}
|
|
|
25414
25422
|
"SQL Code"
|
|
25415
25423
|
]
|
|
25416
25424
|
}), r[20] = H, r[21] = N0);
|
|
25417
|
-
let
|
|
25418
|
-
r[22] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
25425
|
+
let F0;
|
|
25426
|
+
r[22] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (F0 = (0, import_jsx_runtime.jsx)("div", {
|
|
25419
25427
|
className: "grow"
|
|
25420
|
-
}), r[22] =
|
|
25428
|
+
}), r[22] = F0) : F0 = r[22];
|
|
25421
25429
|
let I0;
|
|
25422
25430
|
r[23] !== M0 || r[24] !== N0 ? (I0 = (0, import_jsx_runtime.jsxs)(TabsList, {
|
|
25423
25431
|
className: "h-8",
|
|
@@ -25425,7 +25433,7 @@ ${c}
|
|
|
25425
25433
|
j0,
|
|
25426
25434
|
M0,
|
|
25427
25435
|
N0,
|
|
25428
|
-
|
|
25436
|
+
F0
|
|
25429
25437
|
]
|
|
25430
25438
|
}), r[23] = M0, r[24] = N0, r[25] = I0) : I0 = r[25];
|
|
25431
25439
|
let L0;
|
|
@@ -25442,23 +25450,23 @@ ${c}
|
|
|
25442
25450
|
}), r[28] = I0, r[29] = L0, r[30] = R0) : R0 = r[30];
|
|
25443
25451
|
let z0;
|
|
25444
25452
|
r[31] !== p || r[32] !== f ? (z0 = (e2) => {
|
|
25445
|
-
dequal(e2, f) || (p(e2),
|
|
25453
|
+
dequal(e2, f) || (p(e2), Z(e2));
|
|
25446
25454
|
}, r[31] = p, r[32] = f, r[33] = z0) : z0 = r[33];
|
|
25447
25455
|
let B0;
|
|
25448
|
-
r[34] !== z || r[35] !== c || r[36] !== h || r[37] !==
|
|
25456
|
+
r[34] !== z || r[35] !== c || r[36] !== h || r[37] !== q || r[38] !== d || r[39] !== z0 ? (B0 = (0, import_jsx_runtime.jsx)(TabsContent, {
|
|
25449
25457
|
value: "transform",
|
|
25450
25458
|
className: "mt-1 border rounded-t overflow-hidden",
|
|
25451
25459
|
children: (0, import_jsx_runtime.jsx)(TransformPanel, {
|
|
25452
|
-
ref:
|
|
25453
|
-
initialValue:
|
|
25460
|
+
ref: C0,
|
|
25461
|
+
initialValue: q,
|
|
25454
25462
|
columns: c,
|
|
25455
25463
|
onChange: z0,
|
|
25456
|
-
onInvalidChange:
|
|
25464
|
+
onInvalidChange: Z,
|
|
25457
25465
|
getColumnValues: h,
|
|
25458
25466
|
columnTypesPerStep: z,
|
|
25459
25467
|
lazy: d
|
|
25460
25468
|
})
|
|
25461
|
-
}), r[34] = z, r[35] = c, r[36] = h, r[37] =
|
|
25469
|
+
}), r[34] = z, r[35] = c, r[36] = h, r[37] = q, r[38] = d, r[39] = z0, r[40] = B0) : B0 = r[40];
|
|
25462
25470
|
let V0;
|
|
25463
25471
|
r[41] === B ? V0 = r[42] : (V0 = B && (0, import_jsx_runtime.jsx)(TabsContent, {
|
|
25464
25472
|
value: "python-code",
|
|
@@ -25496,19 +25504,20 @@ ${c}
|
|
|
25496
25504
|
r[51] === T ? W0 = r[52] : (W0 = T && (0, import_jsx_runtime.jsx)(ErrorBanner, {
|
|
25497
25505
|
error: T
|
|
25498
25506
|
}), r[51] = T, r[52] = W0);
|
|
25499
|
-
let G0 = M || "", K0 = I ?? 0, q0 = W ??
|
|
25500
|
-
r[53] !== _ || r[54] !== R || r[55] !== v || r[56] !== l || r[57] !== g || r[58] !== u || r[59] !== G0 || r[60] !== K0 || r[61] !== q0 || r[62] !== J0 || r[63] !== Y0 ? (
|
|
25507
|
+
let G0 = M || "", K0 = I ?? 0, q0 = W ?? null, J0 = G ?? 0, Y0 = L || Arrays.EMPTY, X0 = I && I > 5 || false, Z0;
|
|
25508
|
+
r[53] !== _ || r[54] !== R || r[55] !== v || r[56] !== l || r[57] !== g || r[58] !== u || r[59] !== G0 || r[60] !== K0 || r[61] !== q0 || r[62] !== J0 || r[63] !== Y0 || r[64] !== X0 ? (Z0 = (0, import_jsx_runtime.jsx)(LoadingDataTableComponent, {
|
|
25501
25509
|
label: null,
|
|
25502
25510
|
className: "rounded-b border-x border-b",
|
|
25503
25511
|
data: G0,
|
|
25504
25512
|
hasStableRowId: false,
|
|
25505
25513
|
totalRows: K0,
|
|
25506
|
-
|
|
25514
|
+
sizeBytes: q0,
|
|
25515
|
+
totalColumns: J0,
|
|
25507
25516
|
maxColumns: "all",
|
|
25508
25517
|
pageSize: l,
|
|
25509
25518
|
pagination: true,
|
|
25510
25519
|
fieldTypes: R,
|
|
25511
|
-
rowHeaders:
|
|
25520
|
+
rowHeaders: Y0,
|
|
25512
25521
|
showDownload: u,
|
|
25513
25522
|
download_as: _,
|
|
25514
25523
|
enableSearch: false,
|
|
@@ -25517,7 +25526,7 @@ ${c}
|
|
|
25517
25526
|
showColumnSummaries: false,
|
|
25518
25527
|
showDataTypes: true,
|
|
25519
25528
|
get_column_summaries: getColumnSummaries,
|
|
25520
|
-
showPageSizeSelector:
|
|
25529
|
+
showPageSizeSelector: X0,
|
|
25521
25530
|
showColumnExplorer: false,
|
|
25522
25531
|
showRowExplorer: true,
|
|
25523
25532
|
showChartBuilder: false,
|
|
@@ -25526,15 +25535,15 @@ ${c}
|
|
|
25526
25535
|
selection: null,
|
|
25527
25536
|
lazy: false,
|
|
25528
25537
|
host: v
|
|
25529
|
-
}), r[53] = _, r[54] = R, r[55] = v, r[56] = l, r[57] = g, r[58] = u, r[59] = G0, r[60] = K0, r[61] = q0, r[62] = J0, r[63] = Y0, r[64] = X0) :
|
|
25530
|
-
let
|
|
25531
|
-
return r[
|
|
25538
|
+
}), r[53] = _, r[54] = R, r[55] = v, r[56] = l, r[57] = g, r[58] = u, r[59] = G0, r[60] = K0, r[61] = q0, r[62] = J0, r[63] = Y0, r[64] = X0, r[65] = Z0) : Z0 = r[65];
|
|
25539
|
+
let Q0;
|
|
25540
|
+
return r[66] !== U0 || r[67] !== W0 || r[68] !== Z0 ? (Q0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
25532
25541
|
children: [
|
|
25533
25542
|
U0,
|
|
25534
25543
|
W0,
|
|
25535
|
-
|
|
25544
|
+
Z0
|
|
25536
25545
|
]
|
|
25537
|
-
}), r[
|
|
25546
|
+
}), r[66] = U0, r[67] = W0, r[68] = Z0, r[69] = Q0) : Q0 = r[69], Q0;
|
|
25538
25547
|
});
|
|
25539
25548
|
DataFrameComponent.displayName = "DataFrameComponent";
|
|
25540
25549
|
function getColumnSummaries() {
|
|
@@ -25722,28 +25731,28 @@ ${c}
|
|
|
25722
25731
|
}, W = [
|
|
25723
25732
|
B
|
|
25724
25733
|
], r[8] = B, r[9] = H, r[10] = W), (0, import_react.useEffect)(H, W);
|
|
25725
|
-
let G, q, Z, w0,
|
|
25734
|
+
let G, q, Z, C0, w0, E0, D0, k0, A0;
|
|
25726
25735
|
if (r[11] !== R || r[12] !== z || r[13] !== u || r[14] !== b || r[15] !== f || r[16] !== v || r[17] !== h || r[18] !== d || r[19] !== y || r[20] !== l || r[21] !== c) {
|
|
25727
|
-
|
|
25736
|
+
A0 = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
|
|
25728
25737
|
bb0: {
|
|
25729
|
-
|
|
25738
|
+
w0 = (R == null ? void 0 : R.files) ?? [];
|
|
25730
25739
|
let e2;
|
|
25731
25740
|
r[31] === c ? e2 = r[32] : (e2 = new Set(c.map(_temp$12)), r[31] = c, r[32] = e2);
|
|
25732
25741
|
let m2 = e2, g2 = d === "directory" || d === "all", _2 = d === "file" || d === "all", w;
|
|
25733
25742
|
r[33] !== g2 || r[34] !== _2 ? (w = (e3) => g2 && e3.is_directory || _2 && !e3.is_directory, r[33] = g2, r[34] = _2, r[35] = w) : w = r[35];
|
|
25734
|
-
let T2 =
|
|
25743
|
+
let T2 = w0.filter(w);
|
|
25735
25744
|
if (G = T2.length > 0 && T2.every((e3) => m2.has(e3.path)), !R && z) {
|
|
25736
25745
|
let e3;
|
|
25737
25746
|
r[36] === z.message ? e3 = r[37] : (e3 = (0, import_jsx_runtime.jsx)(Banner, {
|
|
25738
25747
|
kind: "danger",
|
|
25739
25748
|
children: z.message
|
|
25740
|
-
}), r[36] = z.message, r[37] = e3),
|
|
25749
|
+
}), r[36] = z.message, r[37] = e3), A0 = e3;
|
|
25741
25750
|
break bb0;
|
|
25742
25751
|
}
|
|
25743
25752
|
let E2;
|
|
25744
25753
|
r[38] === u ? E2 = r[39] : (E2 = PathBuilder.guessDeliminator(u), r[38] = u, r[39] = E2), q = E2.deliminator;
|
|
25745
25754
|
let O2;
|
|
25746
|
-
r[40] === c ? O2 = r[41] : (O2 = c.map(_temp2$7), r[40] = c, r[41] = O2),
|
|
25755
|
+
r[40] === c ? O2 = r[41] : (O2 = c.map(_temp2$7), r[40] = c, r[41] = O2), D0 = O2;
|
|
25747
25756
|
let j2;
|
|
25748
25757
|
r[42] !== q || r[43] !== u || r[44] !== b || r[45] !== v || r[46] !== h || r[47] !== y ? (j2 = function(e3) {
|
|
25749
25758
|
if (b) return;
|
|
@@ -25764,7 +25773,7 @@ ${c}
|
|
|
25764
25773
|
return;
|
|
25765
25774
|
}
|
|
25766
25775
|
y(e3), S(false);
|
|
25767
|
-
}, r[42] = q, r[43] = u, r[44] = b, r[45] = v, r[46] = h, r[47] = y, r[48] = j2) : j2 = r[48],
|
|
25776
|
+
}, r[42] = q, r[43] = u, r[44] = b, r[45] = v, r[46] = h, r[47] = y, r[48] = j2) : j2 = r[48], k0 = j2;
|
|
25768
25777
|
let M2;
|
|
25769
25778
|
r[49] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (M2 = function(e3) {
|
|
25770
25779
|
let { path: r2, name: c2, isDirectory: l2 } = e3;
|
|
@@ -25792,9 +25801,9 @@ ${c}
|
|
|
25792
25801
|
let H2 = B2, W2;
|
|
25793
25802
|
r[55] !== v || r[56] !== l || r[57] !== c ? (W2 = function() {
|
|
25794
25803
|
l(c.filter((e3) => Paths.dirname(e3.path) !== v));
|
|
25795
|
-
}, r[55] = v, r[56] = l, r[57] = c, r[58] = W2) : W2 = r[58], Z = W2,
|
|
25804
|
+
}, r[55] = v, r[56] = l, r[57] = c, r[58] = W2) : W2 = r[58], Z = W2, E0 = function() {
|
|
25796
25805
|
let e3 = [];
|
|
25797
|
-
for (let r2 of
|
|
25806
|
+
for (let r2 of w0) {
|
|
25798
25807
|
if (!g2 && r2.is_directory || m2.has(r2.path)) continue;
|
|
25799
25808
|
let c2 = I2({
|
|
25800
25809
|
path: r2.path,
|
|
@@ -25807,35 +25816,35 @@ ${c}
|
|
|
25807
25816
|
...c,
|
|
25808
25817
|
...e3
|
|
25809
25818
|
]);
|
|
25810
|
-
},
|
|
25811
|
-
let
|
|
25812
|
-
r[59] ===
|
|
25813
|
-
let
|
|
25814
|
-
r[61] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
25819
|
+
}, C0 = [];
|
|
25820
|
+
let j02;
|
|
25821
|
+
r[59] === k0 ? j02 = r[60] : (j02 = () => k0(PARENT_DIRECTORY), r[59] = k0, r[60] = j02);
|
|
25822
|
+
let M02, N02;
|
|
25823
|
+
r[61] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (M02 = (0, import_jsx_runtime.jsx)(TableCell, {
|
|
25815
25824
|
className: "w-[50px] pl-4",
|
|
25816
25825
|
children: (0, import_jsx_runtime.jsx)(CornerLeftUp, {
|
|
25817
25826
|
size: 16
|
|
25818
25827
|
})
|
|
25819
|
-
}),
|
|
25828
|
+
}), N02 = (0, import_jsx_runtime.jsx)(TableCell, {
|
|
25820
25829
|
children: PARENT_DIRECTORY
|
|
25821
|
-
}), r[61] =
|
|
25822
|
-
let
|
|
25823
|
-
r[63] ===
|
|
25830
|
+
}), r[61] = M02, r[62] = N02) : (M02 = r[61], N02 = r[62]);
|
|
25831
|
+
let P02;
|
|
25832
|
+
r[63] === j02 ? P02 = r[64] : (P02 = (0, import_jsx_runtime.jsxs)(TableRow, {
|
|
25824
25833
|
className: "hover:bg-accent select-none",
|
|
25825
|
-
onClick:
|
|
25834
|
+
onClick: j02,
|
|
25826
25835
|
children: [
|
|
25827
|
-
|
|
25828
|
-
|
|
25836
|
+
M02,
|
|
25837
|
+
N02
|
|
25829
25838
|
]
|
|
25830
|
-
}, "Parent directory"), r[63] =
|
|
25831
|
-
for (let e3 of
|
|
25839
|
+
}, "Parent directory"), r[63] = j02, r[64] = P02), C0.push(P02);
|
|
25840
|
+
for (let e3 of w0) {
|
|
25832
25841
|
let r2 = e3.path;
|
|
25833
25842
|
r2.startsWith("//") && (r2 = r2.slice(1));
|
|
25834
25843
|
let c2 = e3.is_directory ? (e4) => {
|
|
25835
25844
|
let { path: r3 } = e4;
|
|
25836
|
-
return
|
|
25845
|
+
return k0(r3);
|
|
25837
25846
|
} : H2, l2 = FILE_ICON[e3.is_directory ? "directory" : guessFileIconType(e3.name)], u2 = m2.has(r2);
|
|
25838
|
-
|
|
25847
|
+
C0.push((0, import_jsx_runtime.jsxs)(TableRow, {
|
|
25839
25848
|
className: cn("hover:bg-accent group select-none", {
|
|
25840
25849
|
"bg-primary/25 hover:bg-primary/35": u2
|
|
25841
25850
|
}),
|
|
@@ -25865,21 +25874,21 @@ ${c}
|
|
|
25865
25874
|
}, e3.id));
|
|
25866
25875
|
}
|
|
25867
25876
|
}
|
|
25868
|
-
r[11] = R, r[12] = z, r[13] = u, r[14] = b, r[15] = f, r[16] = v, r[17] = h, r[18] = d, r[19] = y, r[20] = l, r[21] = c, r[22] = G, r[23] = q, r[24] = Z, r[25] =
|
|
25869
|
-
} else G = r[22], q = r[23], Z = r[24],
|
|
25870
|
-
if (
|
|
25871
|
-
let M0, N0, P0, F0, I0, L0
|
|
25872
|
-
if (r[65] !== G || r[66] !== R || r[67] !== q || r[68] !== Z || r[69] !== z || r[70] !==
|
|
25877
|
+
r[11] = R, r[12] = z, r[13] = u, r[14] = b, r[15] = f, r[16] = v, r[17] = h, r[18] = d, r[19] = y, r[20] = l, r[21] = c, r[22] = G, r[23] = q, r[24] = Z, r[25] = C0, r[26] = w0, r[27] = E0, r[28] = D0, r[29] = k0, r[30] = A0;
|
|
25878
|
+
} else G = r[22], q = r[23], Z = r[24], C0 = r[25], w0 = r[26], E0 = r[27], D0 = r[28], k0 = r[29], A0 = r[30];
|
|
25879
|
+
if (A0 !== /* @__PURE__ */ Symbol.for("react.early_return_sentinel")) return A0;
|
|
25880
|
+
let j0, M0, N0, P0, F0, I0, L0;
|
|
25881
|
+
if (r[65] !== G || r[66] !== R || r[67] !== q || r[68] !== Z || r[69] !== z || r[70] !== C0 || r[71] !== w0 || r[72] !== u || r[73] !== B || r[74] !== m || r[75] !== f || r[76] !== v || r[77] !== h || r[78] !== E0 || r[79] !== D0 || r[80] !== d || r[81] !== k0 || r[82] !== l || r[83] !== T || r[84] !== c.length) {
|
|
25873
25882
|
let { parentDirectories: e2 } = getProtocolAndParentDirectories({
|
|
25874
25883
|
path: v,
|
|
25875
25884
|
delimiter: q,
|
|
25876
25885
|
initialPath: u,
|
|
25877
25886
|
restrictNavigation: h
|
|
25878
25887
|
}), g2 = d === "all" ? PluralWords.of("file", "folder") : d === "directory" ? PluralWords.of("folder") : PluralWords.of("file");
|
|
25879
|
-
r[92] === z ?
|
|
25888
|
+
r[92] === z ? L0 = r[93] : (L0 = z && (0, import_jsx_runtime.jsx)(Banner, {
|
|
25880
25889
|
kind: "danger",
|
|
25881
25890
|
children: z.message
|
|
25882
|
-
}), r[92] = z, r[93] =
|
|
25891
|
+
}), r[92] = z, r[93] = L0), j0 = (() => {
|
|
25883
25892
|
let e3 = (0, import_jsx_runtime.jsx)(Label, {
|
|
25884
25893
|
children: renderHTML({
|
|
25885
25894
|
html: m ?? `Select ${g2.join(" and ", 2)}...`
|
|
@@ -25896,7 +25905,7 @@ ${c}
|
|
|
25896
25905
|
children: (0, import_jsx_runtime.jsx)(Button, {
|
|
25897
25906
|
size: "xs",
|
|
25898
25907
|
variant: "link",
|
|
25899
|
-
onClick: G ? Z :
|
|
25908
|
+
onClick: G ? Z : E0,
|
|
25900
25909
|
children: G ? "Deselect all" : "Select all"
|
|
25901
25910
|
})
|
|
25902
25911
|
})
|
|
@@ -25904,18 +25913,18 @@ ${c}
|
|
|
25904
25913
|
}) : e3;
|
|
25905
25914
|
})();
|
|
25906
25915
|
let _2;
|
|
25907
|
-
r[94] ===
|
|
25916
|
+
r[94] === k0 ? _2 = r[95] : (_2 = (e3) => k0(e3.target.value), r[94] = k0, r[95] = _2);
|
|
25908
25917
|
let y2 = e2.map(_temp3$5);
|
|
25909
|
-
r[96] !== v || r[97] !== _2 || r[98] !== y2 ? (
|
|
25918
|
+
r[96] !== v || r[97] !== _2 || r[98] !== y2 ? (M0 = (0, import_jsx_runtime.jsx)(NativeSelect, {
|
|
25910
25919
|
className: "mt-2 w-full",
|
|
25911
25920
|
placeholder: v,
|
|
25912
25921
|
value: v,
|
|
25913
25922
|
onChange: _2,
|
|
25914
25923
|
children: y2
|
|
25915
|
-
}), r[96] = v, r[97] = _2, r[98] = y2, r[99] =
|
|
25924
|
+
}), r[96] = v, r[97] = _2, r[98] = y2, r[99] = M0) : M0 = r[99], r[100] !== R || r[101] !== w0 ? (N0 = R && typeof R.total_count == "number" && (0, import_jsx_runtime.jsx)("div", {
|
|
25916
25925
|
className: "text-xs text-muted-foreground mt-1 px-1",
|
|
25917
|
-
children: R.is_truncated ? `Showing ${
|
|
25918
|
-
}), r[100] = R, r[101] =
|
|
25926
|
+
children: R.is_truncated ? `Showing ${w0.length} of ${R.total_count} items` : `${R.total_count} ${R.total_count === 1 ? "item" : "items"}`
|
|
25927
|
+
}), r[100] = R, r[101] = w0, r[102] = N0) : N0 = r[102];
|
|
25919
25928
|
let b2;
|
|
25920
25929
|
r[103] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b2 = {
|
|
25921
25930
|
height: "14rem"
|
|
@@ -25934,12 +25943,12 @@ ${c}
|
|
|
25934
25943
|
]
|
|
25935
25944
|
}), r[104] = T, r[105] = S2);
|
|
25936
25945
|
let E2;
|
|
25937
|
-
r[106] ===
|
|
25946
|
+
r[106] === C0 ? E2 = r[107] : (E2 = (0, import_jsx_runtime.jsx)(Table, {
|
|
25938
25947
|
className: "cursor-pointer table-fixed",
|
|
25939
25948
|
children: (0, import_jsx_runtime.jsx)(TableBody, {
|
|
25940
|
-
children:
|
|
25949
|
+
children: C0
|
|
25941
25950
|
})
|
|
25942
|
-
}), r[106] =
|
|
25951
|
+
}), r[106] = C0, r[107] = E2), r[108] !== B || r[109] !== S2 || r[110] !== E2 ? (P0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
25943
25952
|
className: "mt-3 overflow-y-auto w-full border relative",
|
|
25944
25953
|
style: b2,
|
|
25945
25954
|
"aria-busy": B,
|
|
@@ -25948,7 +25957,7 @@ ${c}
|
|
|
25948
25957
|
S2,
|
|
25949
25958
|
E2
|
|
25950
25959
|
]
|
|
25951
|
-
}), r[108] = B, r[109] = S2, r[110] = E2, r[111] =
|
|
25960
|
+
}), r[108] = B, r[109] = S2, r[110] = E2, r[111] = P0) : P0 = r[111], F0 = "mt-4", I0 = c.length > 0 && (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
25952
25961
|
children: [
|
|
25953
25962
|
(0, import_jsx_runtime.jsxs)("div", {
|
|
25954
25963
|
className: "flex items-center gap-2",
|
|
@@ -25978,28 +25987,28 @@ ${c}
|
|
|
25978
25987
|
marginBlock: 0
|
|
25979
25988
|
},
|
|
25980
25989
|
className: "m-0 text-xs text-muted-foreground",
|
|
25981
|
-
children:
|
|
25990
|
+
children: D0
|
|
25982
25991
|
})
|
|
25983
25992
|
})
|
|
25984
25993
|
]
|
|
25985
|
-
}), r[65] = G, r[66] = R, r[67] = q, r[68] = Z, r[69] = z, r[70] =
|
|
25986
|
-
} else
|
|
25994
|
+
}), r[65] = G, r[66] = R, r[67] = q, r[68] = Z, r[69] = z, r[70] = C0, r[71] = w0, r[72] = u, r[73] = B, r[74] = m, r[75] = f, r[76] = v, r[77] = h, r[78] = E0, r[79] = D0, r[80] = d, r[81] = k0, r[82] = l, r[83] = T, r[84] = c.length, r[85] = j0, r[86] = M0, r[87] = N0, r[88] = P0, r[89] = F0, r[90] = I0, r[91] = L0;
|
|
25995
|
+
} else j0 = r[85], M0 = r[86], N0 = r[87], P0 = r[88], F0 = r[89], I0 = r[90], L0 = r[91];
|
|
25996
|
+
let R0;
|
|
25997
|
+
r[112] !== F0 || r[113] !== I0 ? (R0 = (0, import_jsx_runtime.jsx)("div", {
|
|
25998
|
+
className: F0,
|
|
25999
|
+
children: I0
|
|
26000
|
+
}), r[112] = F0, r[113] = I0, r[114] = R0) : R0 = r[114];
|
|
25987
26001
|
let z0;
|
|
25988
|
-
r[
|
|
25989
|
-
className: I0,
|
|
25990
|
-
children: L0
|
|
25991
|
-
}), r[112] = I0, r[113] = L0, r[114] = z0) : z0 = r[114];
|
|
25992
|
-
let B0;
|
|
25993
|
-
return r[115] !== M0 || r[116] !== N0 || r[117] !== P0 || r[118] !== F0 || r[119] !== z0 || r[120] !== R0 ? (B0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
26002
|
+
return r[115] !== j0 || r[116] !== M0 || r[117] !== N0 || r[118] !== P0 || r[119] !== R0 || r[120] !== L0 ? (z0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
25994
26003
|
children: [
|
|
25995
|
-
|
|
26004
|
+
L0,
|
|
26005
|
+
j0,
|
|
25996
26006
|
M0,
|
|
25997
26007
|
N0,
|
|
25998
26008
|
P0,
|
|
25999
|
-
|
|
26000
|
-
z0
|
|
26009
|
+
R0
|
|
26001
26010
|
]
|
|
26002
|
-
}), r[115] =
|
|
26011
|
+
}), r[115] = j0, r[116] = M0, r[117] = N0, r[118] = P0, r[119] = R0, r[120] = L0, r[121] = z0) : z0 = r[121], z0;
|
|
26003
26012
|
};
|
|
26004
26013
|
function _temp$12(e) {
|
|
26005
26014
|
return e.path;
|
|
@@ -31389,55 +31398,55 @@ ${c}
|
|
|
31389
31398
|
return typeof S == "function" ? S : noop$2;
|
|
31390
31399
|
}, [
|
|
31391
31400
|
S
|
|
31392
|
-
]), q = (0, import_react.useRef)(null), Z = (0, import_react.useRef)(null),
|
|
31393
|
-
!
|
|
31394
|
-
Z.current && (Z.current.files.length || (
|
|
31401
|
+
]), q = (0, import_react.useRef)(null), Z = (0, import_react.useRef)(null), C0 = _slicedToArray((0, import_react.useReducer)(reducer$2, initialState), 2), w0 = C0[0], T0 = C0[1], E0 = w0.isFocused, D0 = w0.isFileDialogActive, O0 = (0, import_react.useRef)(typeof window < "u" && window.isSecureContext && T && canUseFileSystemAccessAPI()), k0 = function() {
|
|
31402
|
+
!O0.current && D0 && setTimeout(function() {
|
|
31403
|
+
Z.current && (Z.current.files.length || (T0({
|
|
31395
31404
|
type: "closeDialog"
|
|
31396
31405
|
}), G()));
|
|
31397
31406
|
}, 300);
|
|
31398
31407
|
};
|
|
31399
31408
|
(0, import_react.useEffect)(function() {
|
|
31400
|
-
return window.addEventListener("focus",
|
|
31401
|
-
window.removeEventListener("focus",
|
|
31409
|
+
return window.addEventListener("focus", k0, false), function() {
|
|
31410
|
+
window.removeEventListener("focus", k0, false);
|
|
31402
31411
|
};
|
|
31403
31412
|
}, [
|
|
31404
31413
|
Z,
|
|
31405
|
-
|
|
31414
|
+
D0,
|
|
31406
31415
|
G,
|
|
31407
|
-
|
|
31416
|
+
O0
|
|
31408
31417
|
]);
|
|
31409
|
-
var
|
|
31410
|
-
q.current && q.current.contains(e2.target) || (e2.preventDefault(),
|
|
31418
|
+
var A0 = (0, import_react.useRef)([]), j0 = (0, import_react.useRef)([]), M0 = function(e2) {
|
|
31419
|
+
q.current && q.current.contains(e2.target) || (e2.preventDefault(), A0.current = []);
|
|
31411
31420
|
};
|
|
31412
31421
|
(0, import_react.useEffect)(function() {
|
|
31413
|
-
return O && (document.addEventListener("dragover", onDocumentDragOver, false), document.addEventListener("drop",
|
|
31414
|
-
O && (document.removeEventListener("dragover", onDocumentDragOver), document.removeEventListener("drop",
|
|
31422
|
+
return O && (document.addEventListener("dragover", onDocumentDragOver, false), document.addEventListener("drop", M0, false)), function() {
|
|
31423
|
+
O && (document.removeEventListener("dragover", onDocumentDragOver), document.removeEventListener("drop", M0));
|
|
31415
31424
|
};
|
|
31416
31425
|
}, [
|
|
31417
31426
|
q,
|
|
31418
31427
|
O
|
|
31419
31428
|
]), (0, import_react.useEffect)(function() {
|
|
31420
31429
|
var e2 = function(e3) {
|
|
31421
|
-
|
|
31430
|
+
j0.current = [].concat(_toConsumableArray(j0.current), [
|
|
31422
31431
|
e3.target
|
|
31423
|
-
]), isEvtWithFiles(e3) &&
|
|
31432
|
+
]), isEvtWithFiles(e3) && T0({
|
|
31424
31433
|
isDragGlobal: true,
|
|
31425
31434
|
type: "setDragGlobal"
|
|
31426
31435
|
});
|
|
31427
31436
|
}, r2 = function(e3) {
|
|
31428
|
-
|
|
31437
|
+
j0.current = j0.current.filter(function(r3) {
|
|
31429
31438
|
return r3 !== e3.target && r3 !== null;
|
|
31430
|
-
}), !(
|
|
31439
|
+
}), !(j0.current.length > 0) && T0({
|
|
31431
31440
|
isDragGlobal: false,
|
|
31432
31441
|
type: "setDragGlobal"
|
|
31433
31442
|
});
|
|
31434
31443
|
}, c2 = function() {
|
|
31435
|
-
|
|
31444
|
+
j0.current = [], T0({
|
|
31436
31445
|
isDragGlobal: false,
|
|
31437
31446
|
type: "setDragGlobal"
|
|
31438
31447
|
});
|
|
31439
31448
|
}, l2 = function() {
|
|
31440
|
-
|
|
31449
|
+
j0.current = [], T0({
|
|
31441
31450
|
isDragGlobal: false,
|
|
31442
31451
|
type: "setDragGlobal"
|
|
31443
31452
|
});
|
|
@@ -31455,12 +31464,12 @@ ${c}
|
|
|
31455
31464
|
E,
|
|
31456
31465
|
l
|
|
31457
31466
|
]);
|
|
31458
|
-
var
|
|
31467
|
+
var N0 = (0, import_react.useCallback)(function(e2) {
|
|
31459
31468
|
R ? R(e2) : console.error(e2);
|
|
31460
31469
|
}, [
|
|
31461
31470
|
R
|
|
31462
|
-
]),
|
|
31463
|
-
e2.preventDefault(), e2.persist(),
|
|
31471
|
+
]), P0 = (0, import_react.useCallback)(function(e2) {
|
|
31472
|
+
e2.preventDefault(), e2.persist(), q0(e2), A0.current = [].concat(_toConsumableArray(A0.current), [
|
|
31464
31473
|
e2.target
|
|
31465
31474
|
]), isEvtWithFiles(e2) && Promise.resolve(u(e2)).then(function(r2) {
|
|
31466
31475
|
if (!(isPropagationStopped(e2) && !L)) {
|
|
@@ -31473,7 +31482,7 @@ ${c}
|
|
|
31473
31482
|
maxFiles: m,
|
|
31474
31483
|
validator: z
|
|
31475
31484
|
});
|
|
31476
|
-
|
|
31485
|
+
T0({
|
|
31477
31486
|
isDragAccept: l2,
|
|
31478
31487
|
isDragReject: c2 > 0 && !l2,
|
|
31479
31488
|
isDragActive: true,
|
|
@@ -31481,12 +31490,12 @@ ${c}
|
|
|
31481
31490
|
}), h && h(e2);
|
|
31482
31491
|
}
|
|
31483
31492
|
}).catch(function(e3) {
|
|
31484
|
-
return
|
|
31493
|
+
return N0(e3);
|
|
31485
31494
|
});
|
|
31486
31495
|
}, [
|
|
31487
31496
|
u,
|
|
31488
31497
|
h,
|
|
31489
|
-
|
|
31498
|
+
N0,
|
|
31490
31499
|
L,
|
|
31491
31500
|
B,
|
|
31492
31501
|
f,
|
|
@@ -31494,8 +31503,8 @@ ${c}
|
|
|
31494
31503
|
p,
|
|
31495
31504
|
m,
|
|
31496
31505
|
z
|
|
31497
|
-
]),
|
|
31498
|
-
e2.preventDefault(), e2.persist(),
|
|
31506
|
+
]), F0 = (0, import_react.useCallback)(function(e2) {
|
|
31507
|
+
e2.preventDefault(), e2.persist(), q0(e2);
|
|
31499
31508
|
var r2 = isEvtWithFiles(e2);
|
|
31500
31509
|
if (r2 && e2.dataTransfer) try {
|
|
31501
31510
|
e2.dataTransfer.dropEffect = "copy";
|
|
@@ -31505,12 +31514,12 @@ ${c}
|
|
|
31505
31514
|
}, [
|
|
31506
31515
|
_,
|
|
31507
31516
|
L
|
|
31508
|
-
]),
|
|
31509
|
-
e2.preventDefault(), e2.persist(),
|
|
31510
|
-
var r2 =
|
|
31517
|
+
]), I0 = (0, import_react.useCallback)(function(e2) {
|
|
31518
|
+
e2.preventDefault(), e2.persist(), q0(e2);
|
|
31519
|
+
var r2 = A0.current.filter(function(e3) {
|
|
31511
31520
|
return q.current && q.current.contains(e3);
|
|
31512
31521
|
}), c2 = r2.indexOf(e2.target);
|
|
31513
|
-
c2 !== -1 && r2.splice(c2, 1),
|
|
31522
|
+
c2 !== -1 && r2.splice(c2, 1), A0.current = r2, !(r2.length > 0) && (T0({
|
|
31514
31523
|
type: "setDraggedFiles",
|
|
31515
31524
|
isDragActive: false,
|
|
31516
31525
|
isDragAccept: false,
|
|
@@ -31520,7 +31529,7 @@ ${c}
|
|
|
31520
31529
|
q,
|
|
31521
31530
|
g,
|
|
31522
31531
|
L
|
|
31523
|
-
]),
|
|
31532
|
+
]), L0 = (0, import_react.useCallback)(function(e2, r2) {
|
|
31524
31533
|
var c2 = [], l2 = [];
|
|
31525
31534
|
e2.forEach(function(e3) {
|
|
31526
31535
|
var r3 = _slicedToArray(fileAccepted(e3, B), 2), u2 = r3[0], p2 = r3[1], m2 = _slicedToArray(fileMatchSize(e3, f, d), 2), h2 = m2[0], g2 = m2[1], _2 = z ? z(e3) : null;
|
|
@@ -31544,14 +31553,14 @@ ${c}
|
|
|
31544
31553
|
TOO_MANY_FILES_REJECTION
|
|
31545
31554
|
]
|
|
31546
31555
|
});
|
|
31547
|
-
}), c2.splice(0)),
|
|
31556
|
+
}), c2.splice(0)), T0({
|
|
31548
31557
|
acceptedFiles: c2,
|
|
31549
31558
|
fileRejections: l2,
|
|
31550
31559
|
isDragReject: l2.length > 0,
|
|
31551
31560
|
type: "setFiles"
|
|
31552
31561
|
}), v && v(c2, l2, r2), l2.length > 0 && b && b(l2, r2), c2.length > 0 && y && y(c2, r2);
|
|
31553
31562
|
}, [
|
|
31554
|
-
|
|
31563
|
+
T0,
|
|
31555
31564
|
p,
|
|
31556
31565
|
B,
|
|
31557
31566
|
f,
|
|
@@ -31561,22 +31570,22 @@ ${c}
|
|
|
31561
31570
|
y,
|
|
31562
31571
|
b,
|
|
31563
31572
|
z
|
|
31564
|
-
]),
|
|
31565
|
-
e2.preventDefault(), e2.persist(),
|
|
31566
|
-
isPropagationStopped(e2) && !L ||
|
|
31573
|
+
]), R0 = (0, import_react.useCallback)(function(e2) {
|
|
31574
|
+
e2.preventDefault(), e2.persist(), q0(e2), A0.current = [], isEvtWithFiles(e2) && Promise.resolve(u(e2)).then(function(r2) {
|
|
31575
|
+
isPropagationStopped(e2) && !L || L0(r2, e2);
|
|
31567
31576
|
}).catch(function(e3) {
|
|
31568
|
-
return
|
|
31569
|
-
}),
|
|
31577
|
+
return N0(e3);
|
|
31578
|
+
}), T0({
|
|
31570
31579
|
type: "reset"
|
|
31571
31580
|
});
|
|
31572
31581
|
}, [
|
|
31573
31582
|
u,
|
|
31574
|
-
|
|
31575
|
-
|
|
31583
|
+
L0,
|
|
31584
|
+
N0,
|
|
31576
31585
|
L
|
|
31577
|
-
]),
|
|
31578
|
-
if (
|
|
31579
|
-
|
|
31586
|
+
]), z0 = (0, import_react.useCallback)(function() {
|
|
31587
|
+
if (O0.current) {
|
|
31588
|
+
T0({
|
|
31580
31589
|
type: "openDialog"
|
|
31581
31590
|
}), W();
|
|
31582
31591
|
var e2 = {
|
|
@@ -31586,66 +31595,66 @@ ${c}
|
|
|
31586
31595
|
window.showOpenFilePicker(e2).then(function(e3) {
|
|
31587
31596
|
return u(e3);
|
|
31588
31597
|
}).then(function(e3) {
|
|
31589
|
-
|
|
31598
|
+
L0(e3, null), T0({
|
|
31590
31599
|
type: "closeDialog"
|
|
31591
31600
|
});
|
|
31592
31601
|
}).catch(function(e3) {
|
|
31593
|
-
isAbort(e3) ? (G(e3),
|
|
31602
|
+
isAbort(e3) ? (G(e3), T0({
|
|
31594
31603
|
type: "closeDialog"
|
|
31595
|
-
})) : isSecurityError(e3) ? (
|
|
31604
|
+
})) : isSecurityError(e3) ? (O0.current = false, Z.current ? (Z.current.value = null, Z.current.click()) : N0(Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))) : N0(e3);
|
|
31596
31605
|
});
|
|
31597
31606
|
return;
|
|
31598
31607
|
}
|
|
31599
|
-
Z.current && (
|
|
31608
|
+
Z.current && (T0({
|
|
31600
31609
|
type: "openDialog"
|
|
31601
31610
|
}), W(), Z.current.value = null, Z.current.click());
|
|
31602
31611
|
}, [
|
|
31603
|
-
|
|
31612
|
+
T0,
|
|
31604
31613
|
W,
|
|
31605
31614
|
G,
|
|
31606
31615
|
T,
|
|
31607
|
-
|
|
31608
|
-
|
|
31616
|
+
L0,
|
|
31617
|
+
N0,
|
|
31609
31618
|
H,
|
|
31610
31619
|
p
|
|
31611
|
-
]),
|
|
31612
|
-
!q.current || !q.current.isEqualNode(e2.target) || (e2.key === " " || e2.key === "Enter" || e2.keyCode === 32 || e2.keyCode === 13) && (e2.preventDefault(),
|
|
31620
|
+
]), B0 = (0, import_react.useCallback)(function(e2) {
|
|
31621
|
+
!q.current || !q.current.isEqualNode(e2.target) || (e2.key === " " || e2.key === "Enter" || e2.keyCode === 32 || e2.keyCode === 13) && (e2.preventDefault(), z0());
|
|
31613
31622
|
}, [
|
|
31614
31623
|
q,
|
|
31615
|
-
|
|
31616
|
-
]),
|
|
31617
|
-
|
|
31624
|
+
z0
|
|
31625
|
+
]), V0 = (0, import_react.useCallback)(function() {
|
|
31626
|
+
T0({
|
|
31618
31627
|
type: "focus"
|
|
31619
31628
|
});
|
|
31620
|
-
}, []),
|
|
31621
|
-
|
|
31629
|
+
}, []), H0 = (0, import_react.useCallback)(function() {
|
|
31630
|
+
T0({
|
|
31622
31631
|
type: "blur"
|
|
31623
31632
|
});
|
|
31624
|
-
}, []),
|
|
31625
|
-
j || (isIeOrEdge() ? setTimeout(
|
|
31633
|
+
}, []), U0 = (0, import_react.useCallback)(function() {
|
|
31634
|
+
j || (isIeOrEdge() ? setTimeout(z0, 0) : z0());
|
|
31626
31635
|
}, [
|
|
31627
31636
|
j,
|
|
31628
|
-
|
|
31629
|
-
]),
|
|
31637
|
+
z0
|
|
31638
|
+
]), W0 = function(e2) {
|
|
31630
31639
|
return l ? null : e2;
|
|
31640
|
+
}, G0 = function(e2) {
|
|
31641
|
+
return M ? null : W0(e2);
|
|
31631
31642
|
}, K0 = function(e2) {
|
|
31632
|
-
return
|
|
31643
|
+
return I ? null : W0(e2);
|
|
31633
31644
|
}, q0 = function(e2) {
|
|
31634
|
-
return I ? null : G0(e2);
|
|
31635
|
-
}, J0 = function(e2) {
|
|
31636
31645
|
L && e2.stopPropagation();
|
|
31637
|
-
},
|
|
31646
|
+
}, J0 = (0, import_react.useMemo)(function() {
|
|
31638
31647
|
return function() {
|
|
31639
31648
|
var e2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r2 = e2.refKey, c2 = r2 === void 0 ? "ref" : r2, u2 = e2.role, d2 = e2.onKeyDown, f2 = e2.onFocus, p2 = e2.onBlur, m2 = e2.onClick, h2 = e2.onDragEnter, g2 = e2.onDragOver, _2 = e2.onDragLeave, v2 = e2.onDrop, y2 = _objectWithoutProperties$2(e2, _excluded3);
|
|
31640
31649
|
return _objectSpread$7(_objectSpread$7(_defineProperty$10({
|
|
31641
|
-
onKeyDown:
|
|
31642
|
-
onFocus:
|
|
31643
|
-
onBlur:
|
|
31644
|
-
onClick:
|
|
31645
|
-
onDragEnter:
|
|
31646
|
-
onDragOver:
|
|
31647
|
-
onDragLeave:
|
|
31648
|
-
onDrop:
|
|
31650
|
+
onKeyDown: G0(composeEventHandlers(d2, B0)),
|
|
31651
|
+
onFocus: G0(composeEventHandlers(f2, V0)),
|
|
31652
|
+
onBlur: G0(composeEventHandlers(p2, H0)),
|
|
31653
|
+
onClick: W0(composeEventHandlers(m2, U0)),
|
|
31654
|
+
onDragEnter: K0(composeEventHandlers(h2, P0)),
|
|
31655
|
+
onDragOver: K0(composeEventHandlers(g2, F0)),
|
|
31656
|
+
onDragLeave: K0(composeEventHandlers(_2, I0)),
|
|
31657
|
+
onDrop: K0(composeEventHandlers(v2, R0)),
|
|
31649
31658
|
role: typeof u2 == "string" && u2 !== "" ? u2 : "presentation"
|
|
31650
31659
|
}, c2, q), !l && !M ? {
|
|
31651
31660
|
tabIndex: 0
|
|
@@ -31653,20 +31662,20 @@ ${c}
|
|
|
31653
31662
|
};
|
|
31654
31663
|
}, [
|
|
31655
31664
|
q,
|
|
31665
|
+
B0,
|
|
31656
31666
|
V0,
|
|
31657
31667
|
H0,
|
|
31658
31668
|
U0,
|
|
31659
|
-
|
|
31669
|
+
P0,
|
|
31660
31670
|
F0,
|
|
31661
31671
|
I0,
|
|
31662
|
-
|
|
31663
|
-
z0,
|
|
31672
|
+
R0,
|
|
31664
31673
|
M,
|
|
31665
31674
|
I,
|
|
31666
31675
|
l
|
|
31667
|
-
]),
|
|
31676
|
+
]), Y0 = (0, import_react.useCallback)(function(e2) {
|
|
31668
31677
|
e2.stopPropagation();
|
|
31669
|
-
}, []),
|
|
31678
|
+
}, []), X0 = (0, import_react.useMemo)(function() {
|
|
31670
31679
|
return function() {
|
|
31671
31680
|
var e2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r2 = e2.refKey, c2 = r2 === void 0 ? "ref" : r2, l2 = e2.onChange, u2 = e2.onClick, d2 = _objectWithoutProperties$2(e2, _excluded4);
|
|
31672
31681
|
return _objectSpread$7(_objectSpread$7({}, _defineProperty$10({
|
|
@@ -31685,8 +31694,8 @@ ${c}
|
|
|
31685
31694
|
width: "1px",
|
|
31686
31695
|
whiteSpace: "nowrap"
|
|
31687
31696
|
},
|
|
31688
|
-
onChange:
|
|
31689
|
-
onClick:
|
|
31697
|
+
onChange: W0(composeEventHandlers(l2, R0)),
|
|
31698
|
+
onClick: W0(composeEventHandlers(u2, Y0)),
|
|
31690
31699
|
tabIndex: -1
|
|
31691
31700
|
}, c2, Z)), d2);
|
|
31692
31701
|
};
|
|
@@ -31694,16 +31703,16 @@ ${c}
|
|
|
31694
31703
|
Z,
|
|
31695
31704
|
c,
|
|
31696
31705
|
p,
|
|
31697
|
-
|
|
31706
|
+
R0,
|
|
31698
31707
|
l
|
|
31699
31708
|
]);
|
|
31700
|
-
return _objectSpread$7(_objectSpread$7({},
|
|
31701
|
-
isFocused:
|
|
31702
|
-
getRootProps:
|
|
31703
|
-
getInputProps:
|
|
31709
|
+
return _objectSpread$7(_objectSpread$7({}, w0), {}, {
|
|
31710
|
+
isFocused: E0 && !l,
|
|
31711
|
+
getRootProps: J0,
|
|
31712
|
+
getInputProps: X0,
|
|
31704
31713
|
rootRef: q,
|
|
31705
31714
|
inputRef: Z,
|
|
31706
|
-
open:
|
|
31715
|
+
open: W0(z0)
|
|
31707
31716
|
});
|
|
31708
31717
|
}
|
|
31709
31718
|
function reducer$2(e, r) {
|
|
@@ -31935,47 +31944,47 @@ ${c}
|
|
|
31935
31944
|
html: I
|
|
31936
31945
|
})
|
|
31937
31946
|
}), r[45] = I, r[46] = M, r[47] = G) : G = r[47];
|
|
31938
|
-
let q = w && "text-primary", Z = T && "text-destructive",
|
|
31939
|
-
r[48] !== q || r[49] !== Z ? (
|
|
31940
|
-
let
|
|
31941
|
-
r[51] ===
|
|
31947
|
+
let q = w && "text-primary", Z = T && "text-destructive", C0;
|
|
31948
|
+
r[48] !== q || r[49] !== Z ? (C0 = cn(q, Z), r[48] = q, r[49] = Z, r[50] = C0) : C0 = r[50];
|
|
31949
|
+
let w0;
|
|
31950
|
+
r[51] === C0 ? w0 = r[52] : (w0 = (0, import_jsx_runtime.jsx)(Upload, {
|
|
31942
31951
|
strokeWidth: 1.4,
|
|
31943
|
-
className:
|
|
31944
|
-
}), r[51] =
|
|
31945
|
-
let
|
|
31946
|
-
r[53] !==
|
|
31947
|
-
let
|
|
31948
|
-
r[56] ===
|
|
31952
|
+
className: C0
|
|
31953
|
+
}), r[51] = C0, r[52] = w0);
|
|
31954
|
+
let T0 = w && "text-primary", E0 = T && "text-destructive", D0;
|
|
31955
|
+
r[53] !== T0 || r[54] !== E0 ? (D0 = cn(T0, E0), r[53] = T0, r[54] = E0, r[55] = D0) : D0 = r[55];
|
|
31956
|
+
let O0;
|
|
31957
|
+
r[56] === D0 ? O0 = r[57] : (O0 = (0, import_jsx_runtime.jsx)(SquareDashedMousePointer, {
|
|
31949
31958
|
strokeWidth: 1.4,
|
|
31950
|
-
className:
|
|
31951
|
-
}), r[56] =
|
|
31952
|
-
let
|
|
31953
|
-
r[58] !==
|
|
31959
|
+
className: D0
|
|
31960
|
+
}), r[56] = D0, r[57] = O0);
|
|
31961
|
+
let k0;
|
|
31962
|
+
r[58] !== w0 || r[59] !== O0 ? (k0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
31954
31963
|
className: "flex flex-row items-center justify-center grow gap-3",
|
|
31955
31964
|
children: [
|
|
31956
|
-
|
|
31957
|
-
|
|
31965
|
+
w0,
|
|
31966
|
+
O0
|
|
31958
31967
|
]
|
|
31959
|
-
}), r[58] =
|
|
31960
|
-
let
|
|
31961
|
-
r[61] !== G || r[62] !==
|
|
31968
|
+
}), r[58] = w0, r[59] = O0, r[60] = k0) : k0 = r[60];
|
|
31969
|
+
let A0;
|
|
31970
|
+
r[61] !== G || r[62] !== k0 ? (A0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
31962
31971
|
className: "flex flex-col items-center justify-center grow gap-3",
|
|
31963
31972
|
children: [
|
|
31964
31973
|
G,
|
|
31965
|
-
|
|
31974
|
+
k0
|
|
31966
31975
|
]
|
|
31967
|
-
}), r[61] = G, r[62] =
|
|
31968
|
-
let
|
|
31969
|
-
r[64] !== W || r[65] !==
|
|
31976
|
+
}), r[61] = G, r[62] = k0, r[63] = A0) : A0 = r[63];
|
|
31977
|
+
let j0;
|
|
31978
|
+
r[64] !== W || r[65] !== A0 || r[66] !== z || r[67] !== B ? (j0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
31970
31979
|
className: z,
|
|
31971
31980
|
...B,
|
|
31972
31981
|
children: [
|
|
31973
31982
|
W,
|
|
31974
|
-
|
|
31983
|
+
A0
|
|
31975
31984
|
]
|
|
31976
|
-
}), r[64] = W, r[65] =
|
|
31977
|
-
let
|
|
31978
|
-
r[69] !== f || r[70] !== u || r[71] !== M || r[72] !== j || r[73] !== m.length ? (
|
|
31985
|
+
}), r[64] = W, r[65] = A0, r[66] = z, r[67] = B, r[68] = j0) : j0 = r[68];
|
|
31986
|
+
let M0;
|
|
31987
|
+
r[69] !== f || r[70] !== u || r[71] !== M || r[72] !== j || r[73] !== m.length ? (M0 = M ? (0, import_jsx_runtime.jsxs)("div", {
|
|
31979
31988
|
className: "flex flex-row gap-1",
|
|
31980
31989
|
children: [
|
|
31981
31990
|
(0, import_jsx_runtime.jsxs)("div", {
|
|
@@ -32011,17 +32020,17 @@ ${c}
|
|
|
32011
32020
|
})
|
|
32012
32021
|
})
|
|
32013
32022
|
]
|
|
32014
|
-
}) : null, r[69] = f, r[70] = u, r[71] = M, r[72] = j, r[73] = m.length, r[74] =
|
|
32015
|
-
let
|
|
32016
|
-
return r[75] !==
|
|
32023
|
+
}) : null, r[69] = f, r[70] = u, r[71] = M, r[72] = j, r[73] = m.length, r[74] = M0) : M0 = r[74];
|
|
32024
|
+
let N0;
|
|
32025
|
+
return r[75] !== j0 || r[76] !== M0 ? (N0 = (0, import_jsx_runtime.jsx)("section", {
|
|
32017
32026
|
children: (0, import_jsx_runtime.jsxs)("div", {
|
|
32018
32027
|
className: "flex flex-col items-start justify-start grow gap-3",
|
|
32019
32028
|
children: [
|
|
32020
|
-
|
|
32021
|
-
|
|
32029
|
+
j0,
|
|
32030
|
+
M0
|
|
32022
32031
|
]
|
|
32023
32032
|
})
|
|
32024
|
-
}), r[75] =
|
|
32033
|
+
}), r[75] = j0, r[76] = M0, r[77] = N0) : N0 = r[77], N0;
|
|
32025
32034
|
};
|
|
32026
32035
|
function _temp$11(e) {
|
|
32027
32036
|
Logger.error(e), toast({
|
|
@@ -32124,68 +32133,68 @@ ${c}
|
|
|
32124
32133
|
html: f
|
|
32125
32134
|
})
|
|
32126
32135
|
}), r[13] = f, r[14] = Z);
|
|
32127
|
-
let
|
|
32128
|
-
r[15] === L ?
|
|
32136
|
+
let C0;
|
|
32137
|
+
r[15] === L ? C0 = r[16] : (C0 = L != null && (0, import_jsx_runtime.jsx)(Banner, {
|
|
32129
32138
|
kind: "danger",
|
|
32130
32139
|
className: "rounded",
|
|
32131
32140
|
children: L ?? "Invalid input"
|
|
32132
|
-
}), r[15] = L, r[16] =
|
|
32133
|
-
let
|
|
32134
|
-
r[17] === c ?
|
|
32141
|
+
}), r[15] = L, r[16] = C0);
|
|
32142
|
+
let w0;
|
|
32143
|
+
r[17] === c ? w0 = r[18] : (w0 = (0, import_jsx_runtime.jsx)("div", {
|
|
32135
32144
|
children: c
|
|
32136
|
-
}), r[17] = c, r[18] =
|
|
32137
|
-
let
|
|
32138
|
-
r[19] !== S || r[20] !== T || r[21] !== b ? (
|
|
32145
|
+
}), r[17] = c, r[18] = w0);
|
|
32146
|
+
let T0;
|
|
32147
|
+
r[19] !== S || r[20] !== T || r[21] !== b ? (T0 = b && withTooltip((0, import_jsx_runtime.jsx)(Button, {
|
|
32139
32148
|
"data-testid": "marimo-plugin-form-clear-button",
|
|
32140
32149
|
variant: "text",
|
|
32141
32150
|
onClick: (e2) => {
|
|
32142
32151
|
e2.preventDefault(), B();
|
|
32143
32152
|
},
|
|
32144
32153
|
children: S
|
|
32145
|
-
}), T), r[19] = S, r[20] = T, r[21] = b, r[22] =
|
|
32146
|
-
let
|
|
32147
|
-
r[23] === h ?
|
|
32154
|
+
}), T), r[19] = S, r[20] = T, r[21] = b, r[22] = T0) : T0 = r[22];
|
|
32155
|
+
let E0 = v || h, D0;
|
|
32156
|
+
r[23] === h ? D0 = r[24] : (D0 = h && (0, import_jsx_runtime.jsx)(LoaderCircle, {
|
|
32148
32157
|
className: "h-4 w-4 mr-2 animate-spin"
|
|
32149
|
-
}), r[23] = h, r[24] =
|
|
32150
|
-
let
|
|
32151
|
-
r[25] !== g || r[26] !==
|
|
32158
|
+
}), r[23] = h, r[24] = D0);
|
|
32159
|
+
let O0;
|
|
32160
|
+
r[25] !== g || r[26] !== E0 || r[27] !== D0 || r[28] !== I ? (O0 = (0, import_jsx_runtime.jsxs)(Button, {
|
|
32152
32161
|
"data-testid": "marimo-plugin-form-submit-button",
|
|
32153
32162
|
variant: I,
|
|
32154
|
-
disabled:
|
|
32163
|
+
disabled: E0,
|
|
32155
32164
|
type: "submit",
|
|
32156
32165
|
children: [
|
|
32157
|
-
|
|
32166
|
+
D0,
|
|
32158
32167
|
g
|
|
32159
32168
|
]
|
|
32160
|
-
}), r[25] = g, r[26] =
|
|
32169
|
+
}), r[25] = g, r[26] = E0, r[27] = D0, r[28] = I, r[29] = O0) : O0 = r[29];
|
|
32170
|
+
let k0;
|
|
32171
|
+
r[30] !== _ || r[31] !== O0 ? (k0 = withTooltip(O0, _), r[30] = _, r[31] = O0, r[32] = k0) : k0 = r[32];
|
|
32161
32172
|
let A0;
|
|
32162
|
-
r[
|
|
32163
|
-
let j0;
|
|
32164
|
-
r[33] !== A0 || r[34] !== E0 ? (j0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
32173
|
+
r[33] !== k0 || r[34] !== T0 ? (A0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
32165
32174
|
className: "flex justify-end gap-2 font-code",
|
|
32166
32175
|
children: [
|
|
32167
|
-
|
|
32168
|
-
|
|
32176
|
+
T0,
|
|
32177
|
+
k0
|
|
32169
32178
|
]
|
|
32170
|
-
}), r[33] =
|
|
32171
|
-
let
|
|
32172
|
-
r[36] !==
|
|
32179
|
+
}), r[33] = k0, r[34] = T0, r[35] = A0) : A0 = r[35];
|
|
32180
|
+
let j0;
|
|
32181
|
+
r[36] !== A0 || r[37] !== G || r[38] !== q || r[39] !== Z || r[40] !== C0 || r[41] !== w0 ? (j0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
32173
32182
|
className: G,
|
|
32174
32183
|
onKeyDown: q,
|
|
32175
32184
|
children: [
|
|
32176
32185
|
Z,
|
|
32186
|
+
C0,
|
|
32177
32187
|
w0,
|
|
32178
|
-
|
|
32179
|
-
j0
|
|
32188
|
+
A0
|
|
32180
32189
|
]
|
|
32181
|
-
}), r[36] =
|
|
32182
|
-
let
|
|
32183
|
-
return r[43] !==
|
|
32190
|
+
}), r[36] = A0, r[37] = G, r[38] = q, r[39] = Z, r[40] = C0, r[41] = w0, r[42] = j0) : j0 = r[42];
|
|
32191
|
+
let M0;
|
|
32192
|
+
return r[43] !== j0 || r[44] !== H ? (M0 = (0, import_jsx_runtime.jsx)("form", {
|
|
32184
32193
|
className: "contents",
|
|
32185
32194
|
ref: j,
|
|
32186
32195
|
onSubmit: H,
|
|
32187
|
-
children:
|
|
32188
|
-
}), r[43] =
|
|
32196
|
+
children: j0
|
|
32197
|
+
}), r[43] = j0, r[44] = H, r[45] = M0) : M0 = r[45], M0;
|
|
32189
32198
|
};
|
|
32190
32199
|
var Form = (e) => {
|
|
32191
32200
|
let r = (0, import_compiler_runtime$42.c)(24), c, l, u, d, f, p;
|
|
@@ -33958,8 +33967,8 @@ ${c}
|
|
|
33958
33967
|
indices: c2
|
|
33959
33968
|
}));
|
|
33960
33969
|
}, r[31] = u, r[32] = Z);
|
|
33961
|
-
let
|
|
33962
|
-
r[33] === u ?
|
|
33970
|
+
let C0 = useEvent_default(Z), w0;
|
|
33971
|
+
r[33] === u ? w0 = r[34] : (w0 = (e2) => {
|
|
33963
33972
|
e2 && u((r2) => ({
|
|
33964
33973
|
...r2,
|
|
33965
33974
|
selections: "selections" in e2 ? e2.selections : [],
|
|
@@ -33968,9 +33977,9 @@ ${c}
|
|
|
33968
33977
|
range: e2.range,
|
|
33969
33978
|
lasso: "lassoPoints" in e2 ? e2.lassoPoints : void 0
|
|
33970
33979
|
}));
|
|
33971
|
-
}, r[33] = u, r[34] =
|
|
33972
|
-
let
|
|
33973
|
-
return r[35] !== m || r[36] !== h || r[37] !== L || r[38] !== B || r[39] !== W || r[40] !== q || r[41] !==
|
|
33980
|
+
}, r[33] = u, r[34] = w0);
|
|
33981
|
+
let T0 = useEvent_default(w0), E0 = m.frames ?? void 0, D0 = useEvent_default(_temp3$3), O0;
|
|
33982
|
+
return r[35] !== m || r[36] !== h || r[37] !== L || r[38] !== B || r[39] !== W || r[40] !== q || r[41] !== C0 || r[42] !== T0 || r[43] !== E0 || r[44] !== D0 || r[45] !== R ? (O0 = (0, import_jsx_runtime.jsx)(LazyPlot, {
|
|
33974
33983
|
...m,
|
|
33975
33984
|
layout: h,
|
|
33976
33985
|
onRelayout: R,
|
|
@@ -33978,13 +33987,13 @@ ${c}
|
|
|
33978
33987
|
onTreemapClick: W,
|
|
33979
33988
|
onSunburstClick: q,
|
|
33980
33989
|
config: L,
|
|
33981
|
-
onClick:
|
|
33982
|
-
onSelected:
|
|
33990
|
+
onClick: C0,
|
|
33991
|
+
onSelected: T0,
|
|
33983
33992
|
className: "w-full",
|
|
33984
33993
|
useResizeHandler: true,
|
|
33985
|
-
frames:
|
|
33986
|
-
onError:
|
|
33987
|
-
}), r[35] = m, r[36] = h, r[37] = L, r[38] = B, r[39] = W, r[40] = q, r[41] =
|
|
33994
|
+
frames: E0,
|
|
33995
|
+
onError: D0
|
|
33996
|
+
}), r[35] = m, r[36] = h, r[37] = L, r[38] = B, r[39] = W, r[40] = q, r[41] = C0, r[42] = T0, r[43] = E0, r[44] = D0, r[45] = R, r[46] = O0) : O0 = r[46], O0;
|
|
33988
33997
|
});
|
|
33989
33998
|
PlotlyComponent.displayName = "PlotlyComponent";
|
|
33990
33999
|
function _temp$8(e) {
|
|
@@ -34129,8 +34138,8 @@ ${c}
|
|
|
34129
34138
|
onPointerUp: H
|
|
34130
34139
|
})
|
|
34131
34140
|
}), c[19] = L, c[20] = z, c[21] = H, c[22] = Z) : Z = c[22];
|
|
34132
|
-
let
|
|
34133
|
-
c[23] !== m.setFalse || c[24] !== m.setTrue ? (
|
|
34141
|
+
let C0;
|
|
34142
|
+
c[23] !== m.setFalse || c[24] !== m.setTrue ? (C0 = (0, import_jsx_runtime.jsx)(TooltipTrigger, {
|
|
34134
34143
|
asChild: true,
|
|
34135
34144
|
children: (0, import_jsx_runtime.jsx)(Thumb$1, {
|
|
34136
34145
|
"data-testid": "thumb",
|
|
@@ -34140,30 +34149,30 @@ ${c}
|
|
|
34140
34149
|
onMouseEnter: m.setTrue,
|
|
34141
34150
|
onMouseLeave: m.setFalse
|
|
34142
34151
|
})
|
|
34143
|
-
}), c[23] = m.setFalse, c[24] = m.setTrue, c[25] =
|
|
34144
|
-
let
|
|
34145
|
-
c[26] !== h || c[27] !== u.value || c[28] !== d ? (
|
|
34152
|
+
}), c[23] = m.setFalse, c[24] = m.setTrue, c[25] = C0) : C0 = c[25];
|
|
34153
|
+
let w0;
|
|
34154
|
+
c[26] !== h || c[27] !== u.value || c[28] !== d ? (w0 = u.value != null && u.value.length === 2 && (0, import_jsx_runtime.jsx)(TooltipContent, {
|
|
34146
34155
|
children: prettyScientificNumber(d(u.value[0]), {
|
|
34147
34156
|
locale: h
|
|
34148
34157
|
})
|
|
34149
|
-
}, u.value[0]), c[26] = h, c[27] = u.value, c[28] = d, c[29] =
|
|
34158
|
+
}, u.value[0]), c[26] = h, c[27] = u.value, c[28] = d, c[29] = w0) : w0 = c[29];
|
|
34159
|
+
let T0;
|
|
34160
|
+
c[30] === w0 ? T0 = c[31] : (T0 = (0, import_jsx_runtime.jsx)(TooltipPortal, {
|
|
34161
|
+
children: w0
|
|
34162
|
+
}), c[30] = w0, c[31] = T0);
|
|
34150
34163
|
let E0;
|
|
34151
|
-
c[
|
|
34152
|
-
children: T0
|
|
34153
|
-
}), c[30] = T0, c[31] = E0);
|
|
34154
|
-
let D0;
|
|
34155
|
-
c[32] !== f || c[33] !== w0 || c[34] !== E0 ? (D0 = (0, import_jsx_runtime.jsx)(TooltipProvider, {
|
|
34164
|
+
c[32] !== f || c[33] !== C0 || c[34] !== T0 ? (E0 = (0, import_jsx_runtime.jsx)(TooltipProvider, {
|
|
34156
34165
|
children: (0, import_jsx_runtime.jsxs)(TooltipRoot, {
|
|
34157
34166
|
delayDuration: 0,
|
|
34158
34167
|
open: f,
|
|
34159
34168
|
children: [
|
|
34160
|
-
|
|
34161
|
-
|
|
34169
|
+
C0,
|
|
34170
|
+
T0
|
|
34162
34171
|
]
|
|
34163
34172
|
})
|
|
34164
|
-
}), c[32] = f, c[33] =
|
|
34165
|
-
let
|
|
34166
|
-
c[36] !== m.setFalse || c[37] !== m.setTrue ? (
|
|
34173
|
+
}), c[32] = f, c[33] = C0, c[34] = T0, c[35] = E0) : E0 = c[35];
|
|
34174
|
+
let D0;
|
|
34175
|
+
c[36] !== m.setFalse || c[37] !== m.setTrue ? (D0 = (0, import_jsx_runtime.jsx)(TooltipTrigger, {
|
|
34167
34176
|
asChild: true,
|
|
34168
34177
|
children: (0, import_jsx_runtime.jsx)(Thumb$1, {
|
|
34169
34178
|
"data-testid": "thumb",
|
|
@@ -34173,39 +34182,39 @@ ${c}
|
|
|
34173
34182
|
onMouseEnter: m.setTrue,
|
|
34174
34183
|
onMouseLeave: m.setFalse
|
|
34175
34184
|
})
|
|
34176
|
-
}), c[36] = m.setFalse, c[37] = m.setTrue, c[38] =
|
|
34177
|
-
let
|
|
34178
|
-
c[39] !== h || c[40] !== u.value || c[41] !== d ? (
|
|
34185
|
+
}), c[36] = m.setFalse, c[37] = m.setTrue, c[38] = D0) : D0 = c[38];
|
|
34186
|
+
let O0;
|
|
34187
|
+
c[39] !== h || c[40] !== u.value || c[41] !== d ? (O0 = u.value != null && u.value.length === 2 && (0, import_jsx_runtime.jsx)(TooltipContent, {
|
|
34179
34188
|
children: prettyScientificNumber(d(u.value[1]), {
|
|
34180
34189
|
locale: h
|
|
34181
34190
|
})
|
|
34182
|
-
}, u.value[1]), c[39] = h, c[40] = u.value, c[41] = d, c[42] =
|
|
34191
|
+
}, u.value[1]), c[39] = h, c[40] = u.value, c[41] = d, c[42] = O0) : O0 = c[42];
|
|
34192
|
+
let k0;
|
|
34193
|
+
c[43] === O0 ? k0 = c[44] : (k0 = (0, import_jsx_runtime.jsx)(TooltipPortal, {
|
|
34194
|
+
children: O0
|
|
34195
|
+
}), c[43] = O0, c[44] = k0);
|
|
34183
34196
|
let A0;
|
|
34184
|
-
c[
|
|
34185
|
-
children: k0
|
|
34186
|
-
}), c[43] = k0, c[44] = A0);
|
|
34187
|
-
let j0;
|
|
34188
|
-
c[45] !== f || c[46] !== O0 || c[47] !== A0 ? (j0 = (0, import_jsx_runtime.jsx)(TooltipProvider, {
|
|
34197
|
+
c[45] !== f || c[46] !== D0 || c[47] !== k0 ? (A0 = (0, import_jsx_runtime.jsx)(TooltipProvider, {
|
|
34189
34198
|
children: (0, import_jsx_runtime.jsxs)(TooltipRoot, {
|
|
34190
34199
|
delayDuration: 0,
|
|
34191
34200
|
open: f,
|
|
34192
34201
|
children: [
|
|
34193
|
-
|
|
34194
|
-
|
|
34202
|
+
D0,
|
|
34203
|
+
k0
|
|
34195
34204
|
]
|
|
34196
34205
|
})
|
|
34197
|
-
}), c[45] = f, c[46] =
|
|
34198
|
-
let
|
|
34199
|
-
return c[49] !== M || c[50] !== u || c[51] !== Z || c[52] !==
|
|
34206
|
+
}), c[45] = f, c[46] = D0, c[47] = k0, c[48] = A0) : A0 = c[48];
|
|
34207
|
+
let j0;
|
|
34208
|
+
return c[49] !== M || c[50] !== u || c[51] !== Z || c[52] !== E0 || c[53] !== A0 || c[54] !== W ? (j0 = (0, import_jsx_runtime.jsxs)(Root$1, {
|
|
34200
34209
|
ref: M,
|
|
34201
34210
|
className: W,
|
|
34202
34211
|
...u,
|
|
34203
34212
|
children: [
|
|
34204
34213
|
Z,
|
|
34205
|
-
|
|
34206
|
-
|
|
34214
|
+
E0,
|
|
34215
|
+
A0
|
|
34207
34216
|
]
|
|
34208
|
-
}), c[49] = M, c[50] = u, c[51] = Z, c[52] =
|
|
34217
|
+
}), c[49] = M, c[50] = u, c[51] = Z, c[52] = E0, c[53] = A0, c[54] = W, c[55] = j0) : j0 = c[55], j0;
|
|
34209
34218
|
});
|
|
34210
34219
|
RangeSlider.displayName = Root$1.displayName;
|
|
34211
34220
|
var import_compiler_runtime$30 = require_compiler_runtime(), RangeSliderPlugin = class {
|
|
@@ -34256,14 +34265,14 @@ ${c}
|
|
|
34256
34265
|
}, q = (e2) => {
|
|
34257
34266
|
h && l(e2);
|
|
34258
34267
|
}, r[10] = h, r[11] = l, r[12] = G, r[13] = q) : (G = r[12], q = r[13]);
|
|
34259
|
-
let Z,
|
|
34268
|
+
let Z, C0;
|
|
34260
34269
|
r[14] !== h || r[15] !== T || r[16] !== l || r[17] !== u ? (Z = () => {
|
|
34261
34270
|
h && !dequal(T, u) && l(T);
|
|
34262
|
-
},
|
|
34271
|
+
}, C0 = () => {
|
|
34263
34272
|
h && !dequal(T, u) && l(T);
|
|
34264
|
-
}, r[14] = h, r[15] = T, r[16] = l, r[17] = u, r[18] = Z, r[19] =
|
|
34265
|
-
let
|
|
34266
|
-
r[20] !== y || r[21] !== S || r[22] !== T || r[23] !== g || r[24] !== d || r[25] !== m || r[26] !== f || r[27] !== W || r[28] !== G || r[29] !== q || r[30] !== Z || r[31] !==
|
|
34273
|
+
}, r[14] = h, r[15] = T, r[16] = l, r[17] = u, r[18] = Z, r[19] = C0) : (Z = r[18], C0 = r[19]);
|
|
34274
|
+
let w0;
|
|
34275
|
+
r[20] !== y || r[21] !== S || r[22] !== T || r[23] !== g || r[24] !== d || r[25] !== m || r[26] !== f || r[27] !== W || r[28] !== G || r[29] !== q || r[30] !== Z || r[31] !== C0 || r[32] !== b ? (w0 = (0, import_jsx_runtime.jsx)(RangeSlider, {
|
|
34267
34276
|
id: S,
|
|
34268
34277
|
className: W,
|
|
34269
34278
|
value: T,
|
|
@@ -34275,35 +34284,35 @@ ${c}
|
|
|
34275
34284
|
onValueChange: G,
|
|
34276
34285
|
onValueCommit: q,
|
|
34277
34286
|
onPointerUp: Z,
|
|
34278
|
-
onMouseUp:
|
|
34287
|
+
onMouseUp: C0,
|
|
34279
34288
|
valueMap: b
|
|
34280
|
-
}), r[20] = y, r[21] = S, r[22] = T, r[23] = g, r[24] = d, r[25] = m, r[26] = f, r[27] = W, r[28] = G, r[29] = q, r[30] = Z, r[31] =
|
|
34281
|
-
let
|
|
34282
|
-
r[34] !== T || r[35] !== w || r[36] !== _ || r[37] !== b ? (
|
|
34289
|
+
}), r[20] = y, r[21] = S, r[22] = T, r[23] = g, r[24] = d, r[25] = m, r[26] = f, r[27] = W, r[28] = G, r[29] = q, r[30] = Z, r[31] = C0, r[32] = b, r[33] = w0) : w0 = r[33];
|
|
34290
|
+
let T0;
|
|
34291
|
+
r[34] !== T || r[35] !== w || r[36] !== _ || r[37] !== b ? (T0 = _ && (0, import_jsx_runtime.jsx)("div", {
|
|
34283
34292
|
className: "text-xs text-muted-foreground min-w-[16px]",
|
|
34284
34293
|
children: `${prettyScientificNumber(b(T[0]), {
|
|
34285
34294
|
locale: w
|
|
34286
34295
|
})}, ${prettyScientificNumber(b(T[1]), {
|
|
34287
34296
|
locale: w
|
|
34288
34297
|
})}`
|
|
34289
|
-
}), r[34] = T, r[35] = w, r[36] = _, r[37] = b, r[38] =
|
|
34290
|
-
let
|
|
34291
|
-
r[39] !==
|
|
34298
|
+
}), r[34] = T, r[35] = w, r[36] = _, r[37] = b, r[38] = T0) : T0 = r[38];
|
|
34299
|
+
let E0;
|
|
34300
|
+
r[39] !== w0 || r[40] !== T0 || r[41] !== B ? (E0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
34292
34301
|
className: B,
|
|
34293
34302
|
children: [
|
|
34294
|
-
|
|
34295
|
-
|
|
34303
|
+
w0,
|
|
34304
|
+
T0
|
|
34296
34305
|
]
|
|
34297
|
-
}), r[39] =
|
|
34298
|
-
let
|
|
34299
|
-
return r[43] !== v || r[44] !== S || r[45] !== c || r[46] !==
|
|
34306
|
+
}), r[39] = w0, r[40] = T0, r[41] = B, r[42] = E0) : E0 = r[42];
|
|
34307
|
+
let D0;
|
|
34308
|
+
return r[43] !== v || r[44] !== S || r[45] !== c || r[46] !== E0 || r[47] !== M || r[48] !== L ? (D0 = (0, import_jsx_runtime.jsx)(Labeled, {
|
|
34300
34309
|
label: c,
|
|
34301
34310
|
id: S,
|
|
34302
34311
|
align: M,
|
|
34303
34312
|
className: L,
|
|
34304
34313
|
fullWidth: v,
|
|
34305
|
-
children:
|
|
34306
|
-
}), r[43] = v, r[44] = S, r[45] = c, r[46] =
|
|
34314
|
+
children: E0
|
|
34315
|
+
}), r[43] = v, r[44] = S, r[45] = c, r[46] = E0, r[47] = M, r[48] = L, r[49] = D0) : D0 = r[49], D0;
|
|
34307
34316
|
}, import_timestring = __toESM(__commonJSMin(((e, r) => {
|
|
34308
34317
|
r.exports = u;
|
|
34309
34318
|
var c = {
|
|
@@ -34539,8 +34548,8 @@ ${c}
|
|
|
34539
34548
|
let [r2] = e2;
|
|
34540
34549
|
h && l(r2);
|
|
34541
34550
|
}, r[11] = h, r[12] = l, r[13] = q, r[14] = Z) : (q = r[13], Z = r[14]);
|
|
34542
|
-
let
|
|
34543
|
-
r[15] !== S || r[16] !== w || r[17] !== g || r[18] !== d || r[19] !== m || r[20] !== f || r[21] !== G || r[22] !== q || r[23] !== Z || r[24] !== W || r[25] !== y ? (
|
|
34551
|
+
let C0;
|
|
34552
|
+
r[15] !== S || r[16] !== w || r[17] !== g || r[18] !== d || r[19] !== m || r[20] !== f || r[21] !== G || r[22] !== q || r[23] !== Z || r[24] !== W || r[25] !== y ? (C0 = (0, import_jsx_runtime.jsx)(Slider, {
|
|
34544
34553
|
id: w,
|
|
34545
34554
|
className: W,
|
|
34546
34555
|
value: G,
|
|
@@ -34552,16 +34561,16 @@ ${c}
|
|
|
34552
34561
|
onValueCommit: Z,
|
|
34553
34562
|
valueMap: y,
|
|
34554
34563
|
disabled: S
|
|
34555
|
-
}), r[15] = S, r[16] = w, r[17] = g, r[18] = d, r[19] = m, r[20] = f, r[21] = G, r[22] = q, r[23] = Z, r[24] = W, r[25] = y, r[26] =
|
|
34556
|
-
let
|
|
34557
|
-
r[27] !== E || r[28] !== T || r[29] !== _ || r[30] !== y ? (
|
|
34564
|
+
}), r[15] = S, r[16] = w, r[17] = g, r[18] = d, r[19] = m, r[20] = f, r[21] = G, r[22] = q, r[23] = Z, r[24] = W, r[25] = y, r[26] = C0) : C0 = r[26];
|
|
34565
|
+
let w0;
|
|
34566
|
+
r[27] !== E || r[28] !== T || r[29] !== _ || r[30] !== y ? (w0 = _ && (0, import_jsx_runtime.jsx)("div", {
|
|
34558
34567
|
className: "text-xs text-muted-foreground min-w-[16px]",
|
|
34559
34568
|
children: prettyScientificNumber(y(E), {
|
|
34560
34569
|
locale: T
|
|
34561
34570
|
})
|
|
34562
|
-
}), r[27] = E, r[28] = T, r[29] = _, r[30] = y, r[31] =
|
|
34563
|
-
let
|
|
34564
|
-
r[32] !== S || r[33] !== b || r[34] !== E || r[35] !== c || r[36] !== l || r[37] !== d || r[38] !== m || r[39] !== f || r[40] !== y ? (
|
|
34571
|
+
}), r[27] = E, r[28] = T, r[29] = _, r[30] = y, r[31] = w0) : w0 = r[31];
|
|
34572
|
+
let T0;
|
|
34573
|
+
r[32] !== S || r[33] !== b || r[34] !== E || r[35] !== c || r[36] !== l || r[37] !== d || r[38] !== m || r[39] !== f || r[40] !== y ? (T0 = b && (0, import_jsx_runtime.jsx)(NumberField, {
|
|
34565
34574
|
value: y(E),
|
|
34566
34575
|
onChange: (e2) => {
|
|
34567
34576
|
(e2 == null || Number.isNaN(e2)) && (e2 = Number(d)), O(e2), l(e2);
|
|
@@ -34572,25 +34581,25 @@ ${c}
|
|
|
34572
34581
|
className: "w-24",
|
|
34573
34582
|
"aria-label": `${c || "Slider"} value input`,
|
|
34574
34583
|
isDisabled: S
|
|
34575
|
-
}), r[32] = S, r[33] = b, r[34] = E, r[35] = c, r[36] = l, r[37] = d, r[38] = m, r[39] = f, r[40] = y, r[41] =
|
|
34576
|
-
let
|
|
34577
|
-
r[42] !==
|
|
34584
|
+
}), r[32] = S, r[33] = b, r[34] = E, r[35] = c, r[36] = l, r[37] = d, r[38] = m, r[39] = f, r[40] = y, r[41] = T0) : T0 = r[41];
|
|
34585
|
+
let E0;
|
|
34586
|
+
r[42] !== C0 || r[43] !== w0 || r[44] !== T0 || r[45] !== B ? (E0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
34578
34587
|
className: B,
|
|
34579
34588
|
children: [
|
|
34589
|
+
C0,
|
|
34580
34590
|
w0,
|
|
34581
|
-
T0
|
|
34582
|
-
E0
|
|
34591
|
+
T0
|
|
34583
34592
|
]
|
|
34584
|
-
}), r[42] =
|
|
34585
|
-
let
|
|
34586
|
-
return r[47] !== v || r[48] !== w || r[49] !== c || r[50] !==
|
|
34593
|
+
}), r[42] = C0, r[43] = w0, r[44] = T0, r[45] = B, r[46] = E0) : E0 = r[46];
|
|
34594
|
+
let D0;
|
|
34595
|
+
return r[47] !== v || r[48] !== w || r[49] !== c || r[50] !== E0 || r[51] !== I || r[52] !== R ? (D0 = (0, import_jsx_runtime.jsx)(Labeled, {
|
|
34587
34596
|
label: c,
|
|
34588
34597
|
id: w,
|
|
34589
34598
|
align: I,
|
|
34590
34599
|
fullWidth: v,
|
|
34591
34600
|
className: R,
|
|
34592
|
-
children:
|
|
34593
|
-
}), r[47] = v, r[48] = w, r[49] = c, r[50] =
|
|
34601
|
+
children: E0
|
|
34602
|
+
}), r[47] = v, r[48] = w, r[49] = c, r[50] = E0, r[51] = I, r[52] = R, r[53] = D0) : D0 = r[53], D0;
|
|
34594
34603
|
}, import_compiler_runtime$28 = require_compiler_runtime(), switchVariants = cva("peer inline-flex shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input", {
|
|
34595
34604
|
variants: {
|
|
34596
34605
|
size: {
|
|
@@ -37586,40 +37595,40 @@ ${c}
|
|
|
37586
37595
|
areRegExpsEqual: H,
|
|
37587
37596
|
areSetsEqual: G,
|
|
37588
37597
|
createIsNestedEqual: r2
|
|
37589
|
-
}),
|
|
37590
|
-
function
|
|
37591
|
-
return
|
|
37598
|
+
}), C0 = T(q);
|
|
37599
|
+
function w0(e3, r3) {
|
|
37600
|
+
return C0(e3, r3, void 0);
|
|
37592
37601
|
}
|
|
37593
|
-
var
|
|
37602
|
+
var T0 = T(l(q, {
|
|
37594
37603
|
createIsNestedEqual: function() {
|
|
37595
37604
|
return f;
|
|
37596
37605
|
}
|
|
37597
37606
|
}));
|
|
37598
|
-
function
|
|
37599
|
-
return
|
|
37607
|
+
function E0(e3, r3) {
|
|
37608
|
+
return T0(e3, r3, void 0);
|
|
37600
37609
|
}
|
|
37601
|
-
var
|
|
37602
|
-
function
|
|
37603
|
-
return
|
|
37610
|
+
var D0 = T(Z);
|
|
37611
|
+
function O0(e3, r3) {
|
|
37612
|
+
return D0(e3, r3, /* @__PURE__ */ new WeakMap());
|
|
37604
37613
|
}
|
|
37605
|
-
var
|
|
37614
|
+
var k0 = T(l(Z, {
|
|
37606
37615
|
createIsNestedEqual: function() {
|
|
37607
37616
|
return f;
|
|
37608
37617
|
}
|
|
37609
37618
|
}));
|
|
37610
|
-
function
|
|
37611
|
-
return
|
|
37619
|
+
function A0(e3, r3) {
|
|
37620
|
+
return k0(e3, r3, /* @__PURE__ */ new WeakMap());
|
|
37612
37621
|
}
|
|
37613
|
-
function
|
|
37622
|
+
function j0(e3) {
|
|
37614
37623
|
return T(l(q, e3(q)));
|
|
37615
37624
|
}
|
|
37616
|
-
function
|
|
37625
|
+
function M0(e3) {
|
|
37617
37626
|
var r3 = T(l(Z, e3(Z)));
|
|
37618
37627
|
return (function(e4, c2, l2) {
|
|
37619
37628
|
return l2 === void 0 && (l2 = /* @__PURE__ */ new WeakMap()), r3(e4, c2, l2);
|
|
37620
37629
|
});
|
|
37621
37630
|
}
|
|
37622
|
-
e2.circularDeepEqual =
|
|
37631
|
+
e2.circularDeepEqual = O0, e2.circularShallowEqual = A0, e2.createCustomCircularEqual = M0, e2.createCustomEqual = j0, e2.deepEqual = w0, e2.sameValueZeroEqual = f, e2.shallowEqual = E0, Object.defineProperty(e2, "__esModule", {
|
|
37623
37632
|
value: true
|
|
37624
37633
|
});
|
|
37625
37634
|
}));
|
|
@@ -37645,7 +37654,7 @@ ${c}
|
|
|
37645
37654
|
})), require_utils$1 = __commonJSMin(((e) => {
|
|
37646
37655
|
Object.defineProperty(e, "__esModule", {
|
|
37647
37656
|
value: true
|
|
37648
|
-
}), e.bottom = h, e.childrenEqual = b, e.cloneLayout = g, e.cloneLayoutItem = y, e.collides = w, e.compact = T, e.compactItem = M, e.compactType =
|
|
37657
|
+
}), e.bottom = h, e.childrenEqual = b, e.cloneLayout = g, e.cloneLayoutItem = y, e.collides = w, e.compact = T, e.compactItem = M, e.compactType = R0, e.correctBounds = I, e.fastPositionEqual = S, e.fastRGLPropsEqual = void 0, e.getAllCollisions = z, e.getFirstCollision = R, e.getLayoutItem = L, e.getStatics = B, e.modifyLayout = _, e.moveElement = H, e.moveElementAwayFromCollision = W, e.noop = void 0, e.perc = G, e.resizeItemInDirection = A0, e.setTopLeft = M0, e.setTransform = j0, e.sortLayoutItems = N0, e.sortLayoutItemsByColRow = F0, e.sortLayoutItemsByRowCol = P0, e.synchronizeLayoutWithChildren = I0, e.validateLayout = L0, e.withLayoutItem = v;
|
|
37649
37658
|
var r = require_fast_equals(), c = l(require_react());
|
|
37650
37659
|
function l(e2) {
|
|
37651
37660
|
return e2 && e2.__esModule ? e2 : {
|
|
@@ -37750,7 +37759,7 @@ ${c}
|
|
|
37750
37759
|
return !(e2.i === r2.i || e2.x + e2.w <= r2.x || e2.x >= r2.x + r2.w || e2.y + e2.h <= r2.y || e2.y >= r2.y + r2.h);
|
|
37751
37760
|
}
|
|
37752
37761
|
function T(e2, r2, c2, l2) {
|
|
37753
|
-
let u2 = B(e2), d2 = h(u2), f2 =
|
|
37762
|
+
let u2 = B(e2), d2 = h(u2), f2 = N0(e2, r2), p2 = Array(e2.length);
|
|
37754
37763
|
for (let m2 = 0, h2 = f2.length; m2 < h2; m2++) {
|
|
37755
37764
|
let h3 = y(f2[m2]);
|
|
37756
37765
|
h3.static || (h3 = M(u2, h3, r2, c2, f2, l2, d2), d2 = Math.max(d2, h3.y + h3.h), u2.push(h3)), p2[e2.indexOf(f2[m2])] = h3, h3.moved = false;
|
|
@@ -37808,7 +37817,7 @@ ${c}
|
|
|
37808
37817
|
`${r2.i}${String(c2)}${String(l2)}${r2.x}${r2.y}`;
|
|
37809
37818
|
let h2 = r2.x, _2 = r2.y;
|
|
37810
37819
|
typeof c2 == "number" && (r2.x = c2), typeof l2 == "number" && (r2.y = l2), r2.moved = true;
|
|
37811
|
-
let v2 =
|
|
37820
|
+
let v2 = N0(e2, f2);
|
|
37812
37821
|
(f2 === "vertical" && typeof l2 == "number" ? _2 >= l2 : f2 === "horizontal" && typeof c2 == "number" && h2 >= c2) && (v2 = v2.reverse());
|
|
37813
37822
|
let y2 = z(v2, r2), b2 = y2.length > 0;
|
|
37814
37823
|
if (b2 && m2) return g(e2);
|
|
@@ -37842,61 +37851,61 @@ ${c}
|
|
|
37842
37851
|
function G(e2) {
|
|
37843
37852
|
return e2 * 100 + "%";
|
|
37844
37853
|
}
|
|
37845
|
-
var q = (e2, r2, c2, l2) => e2 + c2 > l2 ? r2 : c2, Z = (e2, r2, c2) => e2 < 0 ? r2 : c2,
|
|
37854
|
+
var q = (e2, r2, c2, l2) => e2 + c2 > l2 ? r2 : c2, Z = (e2, r2, c2) => e2 < 0 ? r2 : c2, C0 = (e2) => Math.max(0, e2), w0 = (e2) => Math.max(0, e2), T0 = (e2, r2, c2) => {
|
|
37846
37855
|
let { left: l2, height: u2, width: d2 } = r2, f2 = e2.top - (u2 - e2.height);
|
|
37847
37856
|
return {
|
|
37848
37857
|
left: l2,
|
|
37849
37858
|
width: d2,
|
|
37850
37859
|
height: Z(f2, e2.height, u2),
|
|
37851
|
-
top:
|
|
37860
|
+
top: w0(f2)
|
|
37852
37861
|
};
|
|
37853
|
-
},
|
|
37862
|
+
}, E0 = (e2, r2, c2) => {
|
|
37854
37863
|
let { top: l2, left: u2, height: d2, width: f2 } = r2;
|
|
37855
37864
|
return {
|
|
37856
37865
|
top: l2,
|
|
37857
37866
|
height: d2,
|
|
37858
37867
|
width: q(e2.left, e2.width, f2, c2),
|
|
37859
|
-
left:
|
|
37868
|
+
left: C0(u2)
|
|
37860
37869
|
};
|
|
37861
|
-
},
|
|
37870
|
+
}, D0 = (e2, r2, c2) => {
|
|
37862
37871
|
let { top: l2, height: u2, width: d2 } = r2, f2 = e2.left - (d2 - e2.width);
|
|
37863
37872
|
return {
|
|
37864
37873
|
height: u2,
|
|
37865
37874
|
width: f2 < 0 ? e2.width : q(e2.left, e2.width, d2, c2),
|
|
37866
|
-
top:
|
|
37867
|
-
left:
|
|
37875
|
+
top: w0(l2),
|
|
37876
|
+
left: C0(f2)
|
|
37868
37877
|
};
|
|
37869
|
-
},
|
|
37878
|
+
}, O0 = (e2, r2, c2) => {
|
|
37870
37879
|
let { top: l2, left: u2, height: d2, width: f2 } = r2;
|
|
37871
37880
|
return {
|
|
37872
37881
|
width: f2,
|
|
37873
37882
|
left: u2,
|
|
37874
37883
|
height: Z(l2, e2.height, d2),
|
|
37875
|
-
top:
|
|
37884
|
+
top: w0(l2)
|
|
37876
37885
|
};
|
|
37877
|
-
},
|
|
37878
|
-
n:
|
|
37886
|
+
}, k0 = {
|
|
37887
|
+
n: T0,
|
|
37879
37888
|
ne: function() {
|
|
37880
|
-
return
|
|
37889
|
+
return T0(arguments.length <= 0 ? void 0 : arguments[0], E0(...arguments), arguments.length <= 2 ? void 0 : arguments[2]);
|
|
37881
37890
|
},
|
|
37882
|
-
e:
|
|
37891
|
+
e: E0,
|
|
37883
37892
|
se: function() {
|
|
37884
|
-
return
|
|
37893
|
+
return O0(arguments.length <= 0 ? void 0 : arguments[0], E0(...arguments), arguments.length <= 2 ? void 0 : arguments[2]);
|
|
37885
37894
|
},
|
|
37886
|
-
s:
|
|
37895
|
+
s: O0,
|
|
37887
37896
|
sw: function() {
|
|
37888
|
-
return
|
|
37897
|
+
return O0(arguments.length <= 0 ? void 0 : arguments[0], D0(...arguments), arguments.length <= 2 ? void 0 : arguments[2]);
|
|
37889
37898
|
},
|
|
37890
|
-
w:
|
|
37899
|
+
w: D0,
|
|
37891
37900
|
nw: function() {
|
|
37892
|
-
return
|
|
37901
|
+
return T0(arguments.length <= 0 ? void 0 : arguments[0], D0(...arguments), arguments.length <= 2 ? void 0 : arguments[2]);
|
|
37893
37902
|
}
|
|
37894
37903
|
};
|
|
37895
|
-
function
|
|
37896
|
-
let u2 =
|
|
37904
|
+
function A0(e2, r2, c2, l2) {
|
|
37905
|
+
let u2 = k0[e2];
|
|
37897
37906
|
return u2 ? u2(r2, d(d({}, r2), c2), l2) : c2;
|
|
37898
37907
|
}
|
|
37899
|
-
function
|
|
37908
|
+
function j0(e2) {
|
|
37900
37909
|
let { top: r2, left: c2, width: l2, height: u2 } = e2, d2 = `translate(${c2}px,${r2}px)`;
|
|
37901
37910
|
return {
|
|
37902
37911
|
transform: d2,
|
|
@@ -37909,7 +37918,7 @@ ${c}
|
|
|
37909
37918
|
position: "absolute"
|
|
37910
37919
|
};
|
|
37911
37920
|
}
|
|
37912
|
-
function
|
|
37921
|
+
function M0(e2) {
|
|
37913
37922
|
let { top: r2, left: c2, width: l2, height: u2 } = e2;
|
|
37914
37923
|
return {
|
|
37915
37924
|
top: `${r2}px`,
|
|
@@ -37919,20 +37928,20 @@ ${c}
|
|
|
37919
37928
|
position: "absolute"
|
|
37920
37929
|
};
|
|
37921
37930
|
}
|
|
37922
|
-
function
|
|
37923
|
-
return r2 === "horizontal" ?
|
|
37931
|
+
function N0(e2, r2) {
|
|
37932
|
+
return r2 === "horizontal" ? F0(e2) : r2 === "vertical" ? P0(e2) : e2;
|
|
37924
37933
|
}
|
|
37925
|
-
function
|
|
37934
|
+
function P0(e2) {
|
|
37926
37935
|
return e2.slice(0).sort(function(e3, r2) {
|
|
37927
37936
|
return e3.y > r2.y || e3.y === r2.y && e3.x > r2.x ? 1 : e3.y === r2.y && e3.x === r2.x ? 0 : -1;
|
|
37928
37937
|
});
|
|
37929
37938
|
}
|
|
37930
|
-
function
|
|
37939
|
+
function F0(e2) {
|
|
37931
37940
|
return e2.slice(0).sort(function(e3, r2) {
|
|
37932
37941
|
return e3.x > r2.x || e3.x === r2.x && e3.y > r2.y ? 1 : -1;
|
|
37933
37942
|
});
|
|
37934
37943
|
}
|
|
37935
|
-
function
|
|
37944
|
+
function I0(e2, r2, l2, u2, f2) {
|
|
37936
37945
|
e2 || (e2 = []);
|
|
37937
37946
|
let p2 = [];
|
|
37938
37947
|
c.default.Children.forEach(r2, (r3) => {
|
|
@@ -37953,7 +37962,7 @@ ${c}
|
|
|
37953
37962
|
});
|
|
37954
37963
|
return f2 ? m2 : T(m2, u2, l2);
|
|
37955
37964
|
}
|
|
37956
|
-
function
|
|
37965
|
+
function L0(e2) {
|
|
37957
37966
|
let r2 = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "Layout", c2 = [
|
|
37958
37967
|
"x",
|
|
37959
37968
|
"y",
|
|
@@ -37970,7 +37979,7 @@ ${c}
|
|
|
37970
37979
|
if (u3.i !== void 0 && typeof u3.i != "string") throw Error(`ReactGridLayout: ${r2}[${l2}].i must be a string! Received: ${u3.i} (${typeof u3.i})`);
|
|
37971
37980
|
}
|
|
37972
37981
|
}
|
|
37973
|
-
function
|
|
37982
|
+
function R0(e2) {
|
|
37974
37983
|
let { verticalCompact: r2, compactType: c2 } = e2 || {};
|
|
37975
37984
|
return r2 === false ? null : c2;
|
|
37976
37985
|
}
|
|
@@ -40775,7 +40784,7 @@ ${c}
|
|
|
40775
40784
|
], r[4] = c.bordered, r[5] = w, r[6] = T), (0, import_react.useEffect)(w, T);
|
|
40776
40785
|
let E = useIsDragging(), O, j;
|
|
40777
40786
|
r[7] === E ? (O = r[8], j = r[9]) : ({ isDragging: j, ...O } = E, r[7] = E, r[8] = O, r[9] = j);
|
|
40778
|
-
let M = !f && !v, I, L, R, z, B, H, W, G, q, Z, w0, T0, E0, D0, O0, k0, A0, j0, M0, N0, P0, F0, I0, L0, R0
|
|
40787
|
+
let M = !f && !v, I, L, R, z, B, H, W, G, q, Z, C0, w0, T0, E0, D0, O0, k0, A0, j0, M0, N0, P0, F0, I0, L0, R0;
|
|
40779
40788
|
if (r[10] !== u || r[11] !== S || r[12] !== O || r[13] !== g || r[14] !== M || r[15] !== h || r[16] !== j || r[17] !== f || r[18] !== c || r[19] !== d || r[20] !== l) {
|
|
40780
40789
|
let e2 = Maps.keyBy(c.cells, _temp2$2), m2;
|
|
40781
40790
|
r[47] !== c || r[48] !== l ? (m2 = (e3) => (r2) => {
|
|
@@ -40794,23 +40803,23 @@ ${c}
|
|
|
40794
40803
|
});
|
|
40795
40804
|
}, r[50] = c, r[51] = l, r[52] = v2) : v2 = r[52];
|
|
40796
40805
|
let y2 = v2;
|
|
40797
|
-
r[53] !== M || r[54] !== c.columns || r[55] !== c.maxWidth || r[56] !== c.rowHeight ? (L = {}, c.maxWidth && (L.maxWidth = `${c.maxWidth}px`), M && (L.backgroundImage = "repeating-linear-gradient(var(--gray-4) 0 1px, transparent 1px 100%), repeating-linear-gradient(90deg, var(--gray-4) 0 1px, transparent 1px 100%)", L.backgroundSize = `calc((100% / ${c.columns})) ${c.rowHeight}px`), r[53] = M, r[54] = c.columns, r[55] = c.maxWidth, r[56] = c.rowHeight, r[57] = L) : L = r[57], I = ReactGridLayout,
|
|
40806
|
+
r[53] !== M || r[54] !== c.columns || r[55] !== c.maxWidth || r[56] !== c.rowHeight ? (L = {}, c.maxWidth && (L.maxWidth = `${c.maxWidth}px`), M && (L.backgroundImage = "repeating-linear-gradient(var(--gray-4) 0 1px, transparent 1px 100%), repeating-linear-gradient(90deg, var(--gray-4) 0 1px, transparent 1px 100%)", L.backgroundSize = `calc((100% / ${c.columns})) ${c.rowHeight}px`), r[53] = M, r[54] = c.columns, r[55] = c.maxWidth, r[56] = c.rowHeight, r[57] = L) : L = r[57], I = ReactGridLayout, F0 = "lg", r[58] === c.cells ? I0 = r[59] : (I0 = {
|
|
40798
40807
|
lg: c.cells
|
|
40799
|
-
}, r[58] = c.cells, r[59] =
|
|
40808
|
+
}, r[58] = c.cells, r[59] = I0), L0 = L, R0 = S, R = false;
|
|
40800
40809
|
let b2 = M && "bg-(--slate-2) border-r", w2 = f && "disable-animation", T2 = !c.maxWidth && "min-w-[800px]";
|
|
40801
40810
|
r[60] !== b2 || r[61] !== w2 || r[62] !== T2 ? (z = cn("w-full mx-auto bg-background flex-1 min-h-full", b2, w2, T2), r[60] = b2, r[61] = w2, r[62] = T2, r[63] = z) : z = r[63], r[64] === f ? B = r[65] : (B = f ? [
|
|
40802
40811
|
20,
|
|
40803
40812
|
20
|
|
40804
|
-
] : void 0, r[64] = f, r[65] = B), H = MARGIN, W = false, G = null, q = true, Z = c.rowHeight, r[66] !== f || r[67] !== c || r[68] !== l ? (
|
|
40813
|
+
] : void 0, r[64] = f, r[65] = B), H = MARGIN, W = false, G = null, q = true, Z = c.rowHeight, r[66] !== f || r[67] !== c || r[68] !== l ? (C0 = (e3) => {
|
|
40805
40814
|
f || l({
|
|
40806
40815
|
...c,
|
|
40807
40816
|
cells: e3
|
|
40808
40817
|
});
|
|
40809
|
-
}, r[66] = f, r[67] = c, r[68] = l, r[69] =
|
|
40818
|
+
}, r[66] = f, r[67] = c, r[68] = l, r[69] = C0) : C0 = r[69], r[70] === g ? w0 = r[71] : (w0 = g ? {
|
|
40810
40819
|
i: g.i,
|
|
40811
40820
|
w: g.w || 2,
|
|
40812
40821
|
h: g.h || 2
|
|
40813
|
-
} : void 0, r[70] = g, r[71] =
|
|
40822
|
+
} : void 0, r[70] = g, r[71] = w0), r[72] !== O || r[73] !== c || r[74] !== l ? (T0 = (e3, r2, u2) => {
|
|
40814
40823
|
O.onDragStop(), r2 && l({
|
|
40815
40824
|
...c,
|
|
40816
40825
|
cells: [
|
|
@@ -40818,15 +40827,15 @@ ${c}
|
|
|
40818
40827
|
r2
|
|
40819
40828
|
]
|
|
40820
40829
|
});
|
|
40821
|
-
}, r[72] = O, r[73] = c, r[74] = l, r[75] =
|
|
40830
|
+
}, r[72] = O, r[73] = c, r[74] = l, r[75] = T0) : T0 = r[75], r[76] === O ? (E0 = r[77], D0 = r[78], O0 = r[79]) : (E0 = (e3, r2, c2, l2, u2) => {
|
|
40822
40831
|
O.onDragStart(u2);
|
|
40823
|
-
},
|
|
40832
|
+
}, D0 = (e3, r2, c2, l2, u2) => {
|
|
40824
40833
|
O.onDragMove(u2);
|
|
40825
|
-
},
|
|
40834
|
+
}, O0 = () => {
|
|
40826
40835
|
O.onDragStop();
|
|
40827
|
-
}, r[76] = O, r[77] =
|
|
40836
|
+
}, r[76] = O, r[77] = E0, r[78] = D0, r[79] = O0), k0 = _temp3$2, A0 = M, j0 = M, M0 = M, N0 = M ? `.${DRAG_HANDLE}` : "noop";
|
|
40828
40837
|
let E2;
|
|
40829
|
-
r[80] === h ? E2 = r[81] : (E2 = (e3) => h.has(e3.id), r[80] = h, r[81] = E2),
|
|
40838
|
+
r[80] === h ? E2 = r[81] : (E2 = (e3) => h.has(e3.id), r[80] = h, r[81] = E2), P0 = u.filter(E2).map((r2) => {
|
|
40830
40839
|
let u2 = e2.get(r2.id), f2 = c.scrollableCells.has(r2.id) ?? false, p = c.cellSide.get(r2.id), m3 = (0, import_jsx_runtime.jsx)(GridCell, {
|
|
40831
40840
|
code: r2.code,
|
|
40832
40841
|
mode: d,
|
|
@@ -40855,14 +40864,14 @@ ${c}
|
|
|
40855
40864
|
}, r2.id) : (0, import_jsx_runtime.jsx)("div", {
|
|
40856
40865
|
children: m3
|
|
40857
40866
|
}, r2.id);
|
|
40858
|
-
}), r[10] = u, r[11] = S, r[12] = O, r[13] = g, r[14] = M, r[15] = h, r[16] = j, r[17] = f, r[18] = c, r[19] = d, r[20] = l, r[21] = I, r[22] = L, r[23] = R, r[24] = z, r[25] = B, r[26] = H, r[27] = W, r[28] = G, r[29] = q, r[30] = Z, r[31] =
|
|
40859
|
-
} else I = r[21], L = r[22], R = r[23], z = r[24], B = r[25], H = r[26], W = r[27], G = r[28], q = r[29], Z = r[30],
|
|
40860
|
-
let
|
|
40861
|
-
r[82] !== I || r[83] !== R || r[84] !== z || r[85] !== B || r[86] !== H || r[87] !== W || r[88] !== G || r[89] !== q || r[90] !== Z || r[91] !==
|
|
40862
|
-
breakpoint:
|
|
40863
|
-
layouts:
|
|
40864
|
-
style:
|
|
40865
|
-
cols:
|
|
40867
|
+
}), r[10] = u, r[11] = S, r[12] = O, r[13] = g, r[14] = M, r[15] = h, r[16] = j, r[17] = f, r[18] = c, r[19] = d, r[20] = l, r[21] = I, r[22] = L, r[23] = R, r[24] = z, r[25] = B, r[26] = H, r[27] = W, r[28] = G, r[29] = q, r[30] = Z, r[31] = C0, r[32] = w0, r[33] = T0, r[34] = E0, r[35] = D0, r[36] = O0, r[37] = k0, r[38] = A0, r[39] = j0, r[40] = M0, r[41] = N0, r[42] = P0, r[43] = F0, r[44] = I0, r[45] = L0, r[46] = R0;
|
|
40868
|
+
} else I = r[21], L = r[22], R = r[23], z = r[24], B = r[25], H = r[26], W = r[27], G = r[28], q = r[29], Z = r[30], C0 = r[31], w0 = r[32], T0 = r[33], E0 = r[34], D0 = r[35], O0 = r[36], k0 = r[37], A0 = r[38], j0 = r[39], M0 = r[40], N0 = r[41], P0 = r[42], F0 = r[43], I0 = r[44], L0 = r[45], R0 = r[46];
|
|
40869
|
+
let z0;
|
|
40870
|
+
r[82] !== I || r[83] !== R || r[84] !== z || r[85] !== B || r[86] !== H || r[87] !== W || r[88] !== G || r[89] !== q || r[90] !== Z || r[91] !== C0 || r[92] !== w0 || r[93] !== T0 || r[94] !== E0 || r[95] !== D0 || r[96] !== O0 || r[97] !== k0 || r[98] !== A0 || r[99] !== j0 || r[100] !== M0 || r[101] !== N0 || r[102] !== P0 || r[103] !== F0 || r[104] !== I0 || r[105] !== L0 || r[106] !== R0 ? (z0 = (0, import_jsx_runtime.jsx)(I, {
|
|
40871
|
+
breakpoint: F0,
|
|
40872
|
+
layouts: I0,
|
|
40873
|
+
style: L0,
|
|
40874
|
+
cols: R0,
|
|
40866
40875
|
allowOverlap: R,
|
|
40867
40876
|
className: z,
|
|
40868
40877
|
containerPadding: B,
|
|
@@ -40871,22 +40880,22 @@ ${c}
|
|
|
40871
40880
|
compactType: G,
|
|
40872
40881
|
preventCollision: q,
|
|
40873
40882
|
rowHeight: Z,
|
|
40874
|
-
onLayoutChange:
|
|
40875
|
-
droppingItem:
|
|
40876
|
-
onDrop:
|
|
40877
|
-
onDragStart:
|
|
40878
|
-
onDrag:
|
|
40879
|
-
onDragStop:
|
|
40880
|
-
onResizeStop:
|
|
40881
|
-
isDraggable:
|
|
40882
|
-
isDroppable:
|
|
40883
|
-
isResizable:
|
|
40884
|
-
draggableHandle:
|
|
40885
|
-
children:
|
|
40886
|
-
}), r[82] = I, r[83] = R, r[84] = z, r[85] = B, r[86] = H, r[87] = W, r[88] = G, r[89] = q, r[90] = Z, r[91] =
|
|
40887
|
-
let
|
|
40888
|
-
if (r[108] !== u || r[109] !==
|
|
40889
|
-
|
|
40883
|
+
onLayoutChange: C0,
|
|
40884
|
+
droppingItem: w0,
|
|
40885
|
+
onDrop: T0,
|
|
40886
|
+
onDragStart: E0,
|
|
40887
|
+
onDrag: D0,
|
|
40888
|
+
onDragStop: O0,
|
|
40889
|
+
onResizeStop: k0,
|
|
40890
|
+
isDraggable: A0,
|
|
40891
|
+
isDroppable: j0,
|
|
40892
|
+
isResizable: M0,
|
|
40893
|
+
draggableHandle: N0,
|
|
40894
|
+
children: P0
|
|
40895
|
+
}), r[82] = I, r[83] = R, r[84] = z, r[85] = B, r[86] = H, r[87] = W, r[88] = G, r[89] = q, r[90] = Z, r[91] = C0, r[92] = w0, r[93] = T0, r[94] = E0, r[95] = D0, r[96] = O0, r[97] = k0, r[98] = A0, r[99] = j0, r[100] = M0, r[101] = N0, r[102] = P0, r[103] = F0, r[104] = I0, r[105] = L0, r[106] = R0, r[107] = z0) : z0 = r[107];
|
|
40896
|
+
let B0 = z0, V0, H0, U0, W0, G0, K0, q0;
|
|
40897
|
+
if (r[108] !== u || r[109] !== B0 || r[110] !== h || r[111] !== v || r[112] !== f || r[113] !== c || r[114] !== d || r[115] !== l || r[116] !== L) {
|
|
40898
|
+
q0 = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
|
|
40890
40899
|
bb0: {
|
|
40891
40900
|
let e2;
|
|
40892
40901
|
r[125] === h ? e2 = r[126] : (e2 = (e3) => !h.has(e3.id), r[125] = h, r[126] = e2);
|
|
@@ -40894,14 +40903,14 @@ ${c}
|
|
|
40894
40903
|
if (f) {
|
|
40895
40904
|
if (c.bordered) {
|
|
40896
40905
|
let e4;
|
|
40897
|
-
r[127] !==
|
|
40906
|
+
r[127] !== B0 || r[128] !== L ? (e4 = (0, import_jsx_runtime.jsx)("div", {
|
|
40898
40907
|
className: "flex flex-1 flex-col items-center",
|
|
40899
40908
|
children: (0, import_jsx_runtime.jsx)("div", {
|
|
40900
40909
|
style: L,
|
|
40901
40910
|
className: "bg-background flex-1 border-t border-x rounded-t shadow-sm w-full overflow-hidden",
|
|
40902
|
-
children:
|
|
40911
|
+
children: B0
|
|
40903
40912
|
})
|
|
40904
|
-
}), r[127] =
|
|
40913
|
+
}), r[127] = B0, r[128] = L, r[129] = e4) : e4 = r[129], B0 = e4;
|
|
40905
40914
|
}
|
|
40906
40915
|
let e3 = m2.filter(_temp4$2), l2;
|
|
40907
40916
|
r[130] === d ? l2 = r[131] : (l2 = (e4) => (0, import_jsx_runtime.jsx)(GridCell, {
|
|
@@ -40912,9 +40921,9 @@ ${c}
|
|
|
40912
40921
|
status: e4.status,
|
|
40913
40922
|
isScrollable: false,
|
|
40914
40923
|
hidden: false
|
|
40915
|
-
}, e4.id), r[130] = d, r[131] = l2),
|
|
40924
|
+
}, e4.id), r[130] = d, r[131] = l2), q0 = (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
40916
40925
|
children: [
|
|
40917
|
-
|
|
40926
|
+
B0,
|
|
40918
40927
|
(0, import_jsx_runtime.jsx)("div", {
|
|
40919
40928
|
className: "hidden",
|
|
40920
40929
|
children: e3.map(l2)
|
|
@@ -40925,31 +40934,31 @@ ${c}
|
|
|
40925
40934
|
}
|
|
40926
40935
|
if (c.bordered) {
|
|
40927
40936
|
let e3;
|
|
40928
|
-
r[132] ===
|
|
40937
|
+
r[132] === B0 ? e3 = r[133] : (e3 = (0, import_jsx_runtime.jsx)("div", {
|
|
40929
40938
|
className: "h-full overflow-auto",
|
|
40930
|
-
children:
|
|
40931
|
-
}), r[132] =
|
|
40939
|
+
children: B0
|
|
40940
|
+
}), r[132] = B0, r[133] = e3);
|
|
40932
40941
|
let c2;
|
|
40933
40942
|
r[134] !== L || r[135] !== e3 ? (c2 = (0, import_jsx_runtime.jsx)("div", {
|
|
40934
40943
|
style: L,
|
|
40935
40944
|
className: "bg-background border-t border-x rounded-t shadow-sm w-full mx-auto mt-4 h-[calc(100%-1rem)] overflow-hidden",
|
|
40936
40945
|
children: e3
|
|
40937
|
-
}), r[134] = L, r[135] = e3, r[136] = c2) : c2 = r[136],
|
|
40946
|
+
}), r[134] = L, r[135] = e3, r[136] = c2) : c2 = r[136], B0 = c2;
|
|
40938
40947
|
}
|
|
40939
|
-
r[137] !== v || r[138] !== c || r[139] !== l ? (
|
|
40948
|
+
r[137] !== v || r[138] !== c || r[139] !== l ? (K0 = (0, import_jsx_runtime.jsx)(GridControls, {
|
|
40940
40949
|
layout: c,
|
|
40941
40950
|
setLayout: l,
|
|
40942
40951
|
isLocked: v,
|
|
40943
40952
|
setIsLocked: y
|
|
40944
|
-
}), r[137] = v, r[138] = c, r[139] = l, r[140] =
|
|
40953
|
+
}), r[137] = v, r[138] = c, r[139] = l, r[140] = K0) : K0 = r[140];
|
|
40945
40954
|
let g2;
|
|
40946
|
-
r[141] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
40955
|
+
r[141] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (W0 = cn("relative flex z-10 flex-1 overflow-hidden"), g2 = cn("grow overflow-auto transparent-when-disconnected"), r[141] = W0, r[142] = g2) : (W0 = r[141], g2 = r[142]), r[143] === B0 ? G0 = r[144] : (G0 = (0, import_jsx_runtime.jsx)("div", {
|
|
40947
40956
|
className: g2,
|
|
40948
|
-
children:
|
|
40949
|
-
}), r[143] =
|
|
40957
|
+
children: B0
|
|
40958
|
+
}), r[143] = B0, r[144] = G0), V0 = "flex-none flex flex-col w-[300px] p-2 pb-20 gap-2 overflow-auto bg-(--slate-2) border-t border-x rounded-t shadow-sm transparent-when-disconnected mx-2 mt-4", r[145] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (H0 = (0, import_jsx_runtime.jsx)("div", {
|
|
40950
40959
|
className: "text font-bold text-(--slate-20) shrink-0",
|
|
40951
40960
|
children: "Outputs"
|
|
40952
|
-
}), r[145] =
|
|
40961
|
+
}), r[145] = H0) : H0 = r[145];
|
|
40953
40962
|
let b2;
|
|
40954
40963
|
r[146] !== c.columns || r[147] !== c.rowHeight || r[148] !== d ? (b2 = (e3) => (0, import_jsx_runtime.jsx)("div", {
|
|
40955
40964
|
draggable: true,
|
|
@@ -40974,34 +40983,34 @@ ${c}
|
|
|
40974
40983
|
status: e3.status,
|
|
40975
40984
|
hidden: false
|
|
40976
40985
|
})
|
|
40977
|
-
}, e3.id), r[146] = c.columns, r[147] = c.rowHeight, r[148] = d, r[149] = b2) : b2 = r[149],
|
|
40978
|
-
}
|
|
40979
|
-
r[108] = u, r[109] =
|
|
40980
|
-
} else
|
|
40981
|
-
if (
|
|
40986
|
+
}, e3.id), r[146] = c.columns, r[147] = c.rowHeight, r[148] = d, r[149] = b2) : b2 = r[149], U0 = m2.map(b2);
|
|
40987
|
+
}
|
|
40988
|
+
r[108] = u, r[109] = B0, r[110] = h, r[111] = v, r[112] = f, r[113] = c, r[114] = d, r[115] = l, r[116] = L, r[117] = V0, r[118] = H0, r[119] = U0, r[120] = W0, r[121] = G0, r[122] = K0, r[123] = q0, r[124] = B0;
|
|
40989
|
+
} else V0 = r[117], H0 = r[118], U0 = r[119], W0 = r[120], G0 = r[121], K0 = r[122], q0 = r[123], B0 = r[124];
|
|
40990
|
+
if (q0 !== /* @__PURE__ */ Symbol.for("react.early_return_sentinel")) return q0;
|
|
40991
|
+
let J0;
|
|
40992
|
+
r[150] !== V0 || r[151] !== H0 || r[152] !== U0 ? (J0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
40993
|
+
className: V0,
|
|
40994
|
+
children: [
|
|
40995
|
+
H0,
|
|
40996
|
+
U0
|
|
40997
|
+
]
|
|
40998
|
+
}), r[150] = V0, r[151] = H0, r[152] = U0, r[153] = J0) : J0 = r[153];
|
|
40982
40999
|
let Y0;
|
|
40983
|
-
r[
|
|
40984
|
-
className:
|
|
41000
|
+
r[154] !== W0 || r[155] !== G0 || r[156] !== J0 ? (Y0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
41001
|
+
className: W0,
|
|
40985
41002
|
children: [
|
|
40986
|
-
|
|
40987
|
-
|
|
41003
|
+
G0,
|
|
41004
|
+
J0
|
|
40988
41005
|
]
|
|
40989
|
-
}), r[
|
|
41006
|
+
}), r[154] = W0, r[155] = G0, r[156] = J0, r[157] = Y0) : Y0 = r[157];
|
|
40990
41007
|
let X0;
|
|
40991
|
-
|
|
40992
|
-
className: G0,
|
|
41008
|
+
return r[158] !== K0 || r[159] !== Y0 ? (X0 = (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
40993
41009
|
children: [
|
|
40994
41010
|
K0,
|
|
40995
41011
|
Y0
|
|
40996
41012
|
]
|
|
40997
|
-
}), r[
|
|
40998
|
-
let Z0;
|
|
40999
|
-
return r[158] !== q0 || r[159] !== X0 ? (Z0 = (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
41000
|
-
children: [
|
|
41001
|
-
q0,
|
|
41002
|
-
X0
|
|
41003
|
-
]
|
|
41004
|
-
}), r[158] = q0, r[159] = X0, r[160] = Z0) : Z0 = r[160], Z0;
|
|
41013
|
+
}), r[158] = K0, r[159] = Y0, r[160] = X0) : X0 = r[160], X0;
|
|
41005
41014
|
};
|
|
41006
41015
|
var GridCell = (0, import_react.memo)((e) => {
|
|
41007
41016
|
let r = (0, import_compiler_runtime$11.c)(20), { output: c, cellId: l, status: u, mode: d, code: f, hidden: m, isScrollable: h, side: g, className: _ } = e, v;
|
|
@@ -41306,21 +41315,21 @@ ${c}
|
|
|
41306
41315
|
r[35] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Z = (0, import_jsx_runtime.jsx)(GripHorizontal, {
|
|
41307
41316
|
className: cn(DRAG_HANDLE, "cursor-move", "h-4 w-4 opacity-60 hover:opacity-100")
|
|
41308
41317
|
}), r[35] = Z) : Z = r[35];
|
|
41309
|
-
let
|
|
41310
|
-
r[36] === l ?
|
|
41318
|
+
let C0;
|
|
41319
|
+
r[36] === l ? C0 = r[37] : (C0 = (0, import_jsx_runtime.jsx)(X, {
|
|
41311
41320
|
className: "h-4 w-4 opacity-60 hover:opacity-100",
|
|
41312
41321
|
onClick: () => l()
|
|
41313
|
-
}), r[36] = l, r[37] =
|
|
41314
|
-
let
|
|
41315
|
-
return r[38] !== I || r[39] !== q || r[40] !==
|
|
41322
|
+
}), r[36] = l, r[37] = C0);
|
|
41323
|
+
let w0;
|
|
41324
|
+
return r[38] !== I || r[39] !== q || r[40] !== C0 || r[41] !== w ? (w0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
41316
41325
|
className: w,
|
|
41317
41326
|
children: [
|
|
41318
41327
|
I,
|
|
41319
41328
|
q,
|
|
41320
41329
|
Z,
|
|
41321
|
-
|
|
41330
|
+
C0
|
|
41322
41331
|
]
|
|
41323
|
-
}), r[38] = I, r[39] = q, r[40] =
|
|
41332
|
+
}), r[38] = I, r[39] = q, r[40] = C0, r[41] = w, r[42] = w0) : w0 = r[42], w0;
|
|
41324
41333
|
};
|
|
41325
41334
|
function isSidebarCell(e) {
|
|
41326
41335
|
var _a3;
|
|
@@ -43264,29 +43273,29 @@ ${c}
|
|
|
43264
43273
|
M
|
|
43265
43274
|
]), R = (0, import_react.useRef)(null), [z, B] = (0, import_react.useState)(null), [H, W] = (0, import_react.useState)(null), G = useLatestValue(h, Object.values(h)), q = useUniqueId("DndDescribedBy", r), Z = (0, import_react.useMemo)(() => j.getEnabled(), [
|
|
43266
43275
|
j
|
|
43267
|
-
]),
|
|
43276
|
+
]), C0 = useMeasuringConfiguration(p), { droppableRects: w0, measureDroppableContainers: T0, measuringScheduled: E0 } = useDroppableMeasuring(Z, {
|
|
43268
43277
|
dragging: w,
|
|
43269
43278
|
dependencies: [
|
|
43270
43279
|
O.x,
|
|
43271
43280
|
O.y
|
|
43272
43281
|
],
|
|
43273
|
-
config:
|
|
43274
|
-
}),
|
|
43282
|
+
config: C0.droppable
|
|
43283
|
+
}), D0 = useCachedNode(E, T), O0 = (0, import_react.useMemo)(() => H ? getEventCoordinates(H) : null, [
|
|
43275
43284
|
H
|
|
43276
|
-
]),
|
|
43285
|
+
]), k0 = o2(), A0 = useInitialRect(D0, C0.draggable.measure);
|
|
43277
43286
|
useLayoutShiftScrollCompensation({
|
|
43278
43287
|
activeNode: T == null ? null : E.get(T),
|
|
43279
|
-
config:
|
|
43280
|
-
initialRect:
|
|
43281
|
-
measure:
|
|
43288
|
+
config: k0.layoutShiftCompensation,
|
|
43289
|
+
initialRect: A0,
|
|
43290
|
+
measure: C0.draggable.measure
|
|
43282
43291
|
});
|
|
43283
|
-
let
|
|
43292
|
+
let j0 = useRect(D0, C0.draggable.measure, A0), M0 = useRect(D0 ? D0.parentElement : null), N0 = (0, import_react.useRef)({
|
|
43284
43293
|
activatorEvent: null,
|
|
43285
43294
|
active: null,
|
|
43286
|
-
activeNode:
|
|
43295
|
+
activeNode: D0,
|
|
43287
43296
|
collisionRect: null,
|
|
43288
43297
|
collisions: null,
|
|
43289
|
-
droppableRects:
|
|
43298
|
+
droppableRects: w0,
|
|
43290
43299
|
draggableNodes: E,
|
|
43291
43300
|
draggingNode: null,
|
|
43292
43301
|
draggingNodeRect: null,
|
|
@@ -43294,45 +43303,45 @@ ${c}
|
|
|
43294
43303
|
over: null,
|
|
43295
43304
|
scrollableAncestors: [],
|
|
43296
43305
|
scrollAdjustedTranslate: null
|
|
43297
|
-
}),
|
|
43298
|
-
measure:
|
|
43299
|
-
}),
|
|
43306
|
+
}), P0 = j.getNodeFor((_a3 = N0.current.over) == null ? void 0 : _a3.id), F0 = useDragOverlayMeasuring({
|
|
43307
|
+
measure: C0.dragOverlay.measure
|
|
43308
|
+
}), I0 = F0.nodeRef.current ?? D0, L0 = w ? F0.rect ?? j0 : null, R0 = !!(F0.nodeRef.current && F0.rect), z0 = useRectDelta(R0 ? null : j0), B0 = useWindowRect(I0 ? getWindow(I0) : null), V0 = useScrollableAncestors(w ? P0 ?? D0 : null), H0 = useRects(V0), U0 = applyModifiers(m, {
|
|
43300
43309
|
transform: {
|
|
43301
|
-
x: O.x -
|
|
43302
|
-
y: O.y -
|
|
43310
|
+
x: O.x - z0.x,
|
|
43311
|
+
y: O.y - z0.y,
|
|
43303
43312
|
scaleX: 1,
|
|
43304
43313
|
scaleY: 1
|
|
43305
43314
|
},
|
|
43306
43315
|
activatorEvent: H,
|
|
43307
43316
|
active: L,
|
|
43308
|
-
activeNodeRect:
|
|
43309
|
-
containerNodeRect:
|
|
43310
|
-
draggingNodeRect:
|
|
43311
|
-
over:
|
|
43312
|
-
overlayNodeRect:
|
|
43313
|
-
scrollableAncestors:
|
|
43314
|
-
scrollableAncestorRects:
|
|
43315
|
-
windowRect:
|
|
43316
|
-
}),
|
|
43317
|
-
|
|
43318
|
-
]),
|
|
43317
|
+
activeNodeRect: j0,
|
|
43318
|
+
containerNodeRect: M0,
|
|
43319
|
+
draggingNodeRect: L0,
|
|
43320
|
+
over: N0.current.over,
|
|
43321
|
+
overlayNodeRect: F0.rect,
|
|
43322
|
+
scrollableAncestors: V0,
|
|
43323
|
+
scrollableAncestorRects: H0,
|
|
43324
|
+
windowRect: B0
|
|
43325
|
+
}), W0 = O0 ? add(O0, O) : null, G0 = useScrollOffsets(V0), K0 = useScrollOffsetsDelta(G0), q0 = useScrollOffsetsDelta(G0, [
|
|
43326
|
+
j0
|
|
43327
|
+
]), J0 = add(U0, K0), Y0 = L0 ? getAdjustedRect(L0, U0) : null, X0 = L && Y0 ? f({
|
|
43319
43328
|
active: L,
|
|
43320
|
-
collisionRect:
|
|
43321
|
-
droppableRects:
|
|
43329
|
+
collisionRect: Y0,
|
|
43330
|
+
droppableRects: w0,
|
|
43322
43331
|
droppableContainers: Z,
|
|
43323
|
-
pointerCoordinates:
|
|
43324
|
-
}) : null,
|
|
43332
|
+
pointerCoordinates: W0
|
|
43333
|
+
}) : null, Z0 = getFirstCollision(X0, "id"), [Q0, $0] = (0, import_react.useState)(null), e2 = adjustScale(R0 ? U0 : add(U0, q0), (Q0 == null ? void 0 : Q0.rect) ?? null, j0), t2 = (0, import_react.useRef)(null), n2 = (0, import_react.useCallback)((e3, r3) => {
|
|
43325
43334
|
let { sensor: c2, options: l2 } = r3;
|
|
43326
43335
|
if (R.current == null) return;
|
|
43327
43336
|
let u2 = E.get(R.current);
|
|
43328
43337
|
if (!u2) return;
|
|
43329
43338
|
let d2 = e3.nativeEvent;
|
|
43330
|
-
|
|
43339
|
+
t2.current = new c2({
|
|
43331
43340
|
active: R.current,
|
|
43332
43341
|
activeNode: u2,
|
|
43333
43342
|
event: d2,
|
|
43334
43343
|
options: l2,
|
|
43335
|
-
context:
|
|
43344
|
+
context: N0,
|
|
43336
43345
|
onAbort(e4) {
|
|
43337
43346
|
if (!E.get(e4)) return;
|
|
43338
43347
|
let { onDragAbort: r4 } = G.current, c3 = {
|
|
@@ -43377,7 +43386,7 @@ ${c}
|
|
|
43377
43386
|
}), v({
|
|
43378
43387
|
type: "onDragStart",
|
|
43379
43388
|
event: u3
|
|
43380
|
-
}), B(
|
|
43389
|
+
}), B(t2.current), W(d2);
|
|
43381
43390
|
});
|
|
43382
43391
|
},
|
|
43383
43392
|
onMove(e4) {
|
|
@@ -43391,7 +43400,7 @@ ${c}
|
|
|
43391
43400
|
});
|
|
43392
43401
|
function f2(e4) {
|
|
43393
43402
|
return async function() {
|
|
43394
|
-
let { active: r4, collisions: c3, over: l3, scrollAdjustedTranslate: u3 } =
|
|
43403
|
+
let { active: r4, collisions: c3, over: l3, scrollAdjustedTranslate: u3 } = N0.current, f3 = null;
|
|
43395
43404
|
if (r4 && u3) {
|
|
43396
43405
|
let { cancelDrop: p2 } = G.current;
|
|
43397
43406
|
f3 = {
|
|
@@ -43405,7 +43414,7 @@ ${c}
|
|
|
43405
43414
|
R.current = null, (0, import_react_dom.unstable_batchedUpdates)(() => {
|
|
43406
43415
|
_({
|
|
43407
43416
|
type: e4
|
|
43408
|
-
}), S(Status.Uninitialized),
|
|
43417
|
+
}), S(Status.Uninitialized), $0(null), B(null), W(null), t2.current = null;
|
|
43409
43418
|
let r5 = e4 === Action.DragEnd ? "onDragEnd" : "onDragCancel";
|
|
43410
43419
|
if (f3) {
|
|
43411
43420
|
let e5 = G.current[r5];
|
|
@@ -43419,7 +43428,7 @@ ${c}
|
|
|
43419
43428
|
}
|
|
43420
43429
|
}, [
|
|
43421
43430
|
E
|
|
43422
|
-
]),
|
|
43431
|
+
]), r2 = useCombineActivators(d, (0, import_react.useCallback)((e3, r3) => (c2, l2) => {
|
|
43423
43432
|
let u2 = c2.nativeEvent, d2 = E.get(l2);
|
|
43424
43433
|
if (R.current !== null || !d2 || u2.dndKit || u2.defaultPrevented) return;
|
|
43425
43434
|
let f2 = {
|
|
@@ -43427,26 +43436,26 @@ ${c}
|
|
|
43427
43436
|
};
|
|
43428
43437
|
e3(c2, r3.options, f2) === true && (u2.dndKit = {
|
|
43429
43438
|
capturedBy: r3.sensor
|
|
43430
|
-
}, R.current = l2,
|
|
43439
|
+
}, R.current = l2, n2(c2, r3));
|
|
43431
43440
|
}, [
|
|
43432
43441
|
E,
|
|
43433
|
-
|
|
43442
|
+
n2
|
|
43434
43443
|
]));
|
|
43435
43444
|
useSensorSetup(d), useIsomorphicLayoutEffect(() => {
|
|
43436
|
-
|
|
43445
|
+
j0 && b === Status.Initializing && S(Status.Initialized);
|
|
43437
43446
|
}, [
|
|
43438
|
-
|
|
43447
|
+
j0,
|
|
43439
43448
|
b
|
|
43440
43449
|
]), (0, import_react.useEffect)(() => {
|
|
43441
|
-
let { onDragMove: e3 } = G.current, { active: r3, activatorEvent: c2, collisions: l2, over: u2 } =
|
|
43450
|
+
let { onDragMove: e3 } = G.current, { active: r3, activatorEvent: c2, collisions: l2, over: u2 } = N0.current;
|
|
43442
43451
|
if (!r3 || !c2) return;
|
|
43443
43452
|
let d2 = {
|
|
43444
43453
|
active: r3,
|
|
43445
43454
|
activatorEvent: c2,
|
|
43446
43455
|
collisions: l2,
|
|
43447
43456
|
delta: {
|
|
43448
|
-
x:
|
|
43449
|
-
y:
|
|
43457
|
+
x: J0.x,
|
|
43458
|
+
y: J0.y
|
|
43450
43459
|
},
|
|
43451
43460
|
over: u2
|
|
43452
43461
|
};
|
|
@@ -43457,12 +43466,12 @@ ${c}
|
|
|
43457
43466
|
});
|
|
43458
43467
|
});
|
|
43459
43468
|
}, [
|
|
43460
|
-
|
|
43461
|
-
|
|
43469
|
+
J0.x,
|
|
43470
|
+
J0.y
|
|
43462
43471
|
]), (0, import_react.useEffect)(() => {
|
|
43463
|
-
let { active: e3, activatorEvent: r3, collisions: c2, droppableContainers: l2, scrollAdjustedTranslate: u2 } =
|
|
43472
|
+
let { active: e3, activatorEvent: r3, collisions: c2, droppableContainers: l2, scrollAdjustedTranslate: u2 } = N0.current;
|
|
43464
43473
|
if (!e3 || R.current == null || !r3 || !u2) return;
|
|
43465
|
-
let { onDragOver: d2 } = G.current, f2 = l2.get(
|
|
43474
|
+
let { onDragOver: d2 } = G.current, f2 = l2.get(Z0), p2 = f2 && f2.rect.current ? {
|
|
43466
43475
|
id: f2.id,
|
|
43467
43476
|
rect: f2.rect.current,
|
|
43468
43477
|
data: f2.data,
|
|
@@ -43478,127 +43487,127 @@ ${c}
|
|
|
43478
43487
|
over: p2
|
|
43479
43488
|
};
|
|
43480
43489
|
(0, import_react_dom.unstable_batchedUpdates)(() => {
|
|
43481
|
-
|
|
43490
|
+
$0(p2), d2 == null ? void 0 : d2(m2), v({
|
|
43482
43491
|
type: "onDragOver",
|
|
43483
43492
|
event: m2
|
|
43484
43493
|
});
|
|
43485
43494
|
});
|
|
43486
43495
|
}, [
|
|
43487
|
-
|
|
43496
|
+
Z0
|
|
43488
43497
|
]), useIsomorphicLayoutEffect(() => {
|
|
43489
|
-
|
|
43498
|
+
N0.current = {
|
|
43490
43499
|
activatorEvent: H,
|
|
43491
43500
|
active: L,
|
|
43492
|
-
activeNode:
|
|
43493
|
-
collisionRect:
|
|
43494
|
-
collisions:
|
|
43495
|
-
droppableRects:
|
|
43501
|
+
activeNode: D0,
|
|
43502
|
+
collisionRect: Y0,
|
|
43503
|
+
collisions: X0,
|
|
43504
|
+
droppableRects: w0,
|
|
43496
43505
|
draggableNodes: E,
|
|
43497
|
-
draggingNode:
|
|
43498
|
-
draggingNodeRect:
|
|
43506
|
+
draggingNode: I0,
|
|
43507
|
+
draggingNodeRect: L0,
|
|
43499
43508
|
droppableContainers: j,
|
|
43500
|
-
over:
|
|
43501
|
-
scrollableAncestors:
|
|
43502
|
-
scrollAdjustedTranslate:
|
|
43509
|
+
over: Q0,
|
|
43510
|
+
scrollableAncestors: V0,
|
|
43511
|
+
scrollAdjustedTranslate: J0
|
|
43503
43512
|
}, I.current = {
|
|
43504
|
-
initial:
|
|
43505
|
-
translated:
|
|
43513
|
+
initial: L0,
|
|
43514
|
+
translated: Y0
|
|
43506
43515
|
};
|
|
43507
43516
|
}, [
|
|
43508
43517
|
L,
|
|
43509
|
-
|
|
43510
|
-
Z0,
|
|
43518
|
+
D0,
|
|
43511
43519
|
X0,
|
|
43520
|
+
Y0,
|
|
43512
43521
|
E,
|
|
43522
|
+
I0,
|
|
43513
43523
|
L0,
|
|
43514
|
-
|
|
43515
|
-
T0,
|
|
43524
|
+
w0,
|
|
43516
43525
|
j,
|
|
43517
|
-
|
|
43518
|
-
|
|
43519
|
-
|
|
43526
|
+
Q0,
|
|
43527
|
+
V0,
|
|
43528
|
+
J0
|
|
43520
43529
|
]), useAutoScroller({
|
|
43521
|
-
...
|
|
43530
|
+
...k0,
|
|
43522
43531
|
delta: O,
|
|
43523
|
-
draggingRect:
|
|
43524
|
-
pointerCoordinates:
|
|
43525
|
-
scrollableAncestors:
|
|
43526
|
-
scrollableAncestorRects:
|
|
43532
|
+
draggingRect: Y0,
|
|
43533
|
+
pointerCoordinates: W0,
|
|
43534
|
+
scrollableAncestors: V0,
|
|
43535
|
+
scrollableAncestorRects: H0
|
|
43527
43536
|
});
|
|
43528
|
-
let
|
|
43537
|
+
let i2 = (0, import_react.useMemo)(() => ({
|
|
43529
43538
|
active: L,
|
|
43530
|
-
activeNode:
|
|
43531
|
-
activeNodeRect:
|
|
43539
|
+
activeNode: D0,
|
|
43540
|
+
activeNodeRect: j0,
|
|
43532
43541
|
activatorEvent: H,
|
|
43533
|
-
collisions:
|
|
43534
|
-
containerNodeRect:
|
|
43535
|
-
dragOverlay:
|
|
43542
|
+
collisions: X0,
|
|
43543
|
+
containerNodeRect: M0,
|
|
43544
|
+
dragOverlay: F0,
|
|
43536
43545
|
draggableNodes: E,
|
|
43537
43546
|
droppableContainers: j,
|
|
43538
|
-
droppableRects:
|
|
43539
|
-
over:
|
|
43540
|
-
measureDroppableContainers:
|
|
43541
|
-
scrollableAncestors:
|
|
43542
|
-
scrollableAncestorRects:
|
|
43543
|
-
measuringConfiguration:
|
|
43544
|
-
measuringScheduled:
|
|
43545
|
-
windowRect:
|
|
43547
|
+
droppableRects: w0,
|
|
43548
|
+
over: Q0,
|
|
43549
|
+
measureDroppableContainers: T0,
|
|
43550
|
+
scrollableAncestors: V0,
|
|
43551
|
+
scrollableAncestorRects: H0,
|
|
43552
|
+
measuringConfiguration: C0,
|
|
43553
|
+
measuringScheduled: E0,
|
|
43554
|
+
windowRect: B0
|
|
43546
43555
|
}), [
|
|
43547
43556
|
L,
|
|
43548
|
-
|
|
43549
|
-
|
|
43557
|
+
D0,
|
|
43558
|
+
j0,
|
|
43550
43559
|
H,
|
|
43551
|
-
|
|
43552
|
-
|
|
43553
|
-
|
|
43560
|
+
X0,
|
|
43561
|
+
M0,
|
|
43562
|
+
F0,
|
|
43554
43563
|
E,
|
|
43555
43564
|
j,
|
|
43565
|
+
w0,
|
|
43566
|
+
Q0,
|
|
43556
43567
|
T0,
|
|
43557
|
-
|
|
43558
|
-
E0,
|
|
43568
|
+
V0,
|
|
43559
43569
|
H0,
|
|
43560
|
-
|
|
43561
|
-
|
|
43562
|
-
|
|
43563
|
-
|
|
43564
|
-
]), o2 = (0, import_react.useMemo)(() => ({
|
|
43570
|
+
C0,
|
|
43571
|
+
E0,
|
|
43572
|
+
B0
|
|
43573
|
+
]), a2 = (0, import_react.useMemo)(() => ({
|
|
43565
43574
|
activatorEvent: H,
|
|
43566
|
-
activators:
|
|
43575
|
+
activators: r2,
|
|
43567
43576
|
active: L,
|
|
43568
|
-
activeNodeRect:
|
|
43577
|
+
activeNodeRect: j0,
|
|
43569
43578
|
ariaDescribedById: {
|
|
43570
43579
|
draggable: q
|
|
43571
43580
|
},
|
|
43572
43581
|
dispatch: _,
|
|
43573
43582
|
draggableNodes: E,
|
|
43574
|
-
over:
|
|
43575
|
-
measureDroppableContainers:
|
|
43583
|
+
over: Q0,
|
|
43584
|
+
measureDroppableContainers: T0
|
|
43576
43585
|
}), [
|
|
43577
43586
|
H,
|
|
43578
|
-
|
|
43587
|
+
r2,
|
|
43579
43588
|
L,
|
|
43580
|
-
|
|
43589
|
+
j0,
|
|
43581
43590
|
_,
|
|
43582
43591
|
q,
|
|
43583
43592
|
E,
|
|
43584
|
-
|
|
43585
|
-
|
|
43593
|
+
Q0,
|
|
43594
|
+
T0
|
|
43586
43595
|
]);
|
|
43587
43596
|
return import_react.createElement(DndMonitorContext.Provider, {
|
|
43588
43597
|
value: y
|
|
43589
43598
|
}, import_react.createElement(InternalContext.Provider, {
|
|
43590
|
-
value: o2
|
|
43591
|
-
}, import_react.createElement(PublicContext.Provider, {
|
|
43592
43599
|
value: a2
|
|
43600
|
+
}, import_react.createElement(PublicContext.Provider, {
|
|
43601
|
+
value: i2
|
|
43593
43602
|
}, import_react.createElement(ActiveDraggableContext.Provider, {
|
|
43594
|
-
value:
|
|
43603
|
+
value: e2
|
|
43595
43604
|
}, u)), import_react.createElement(RestoreFocus, {
|
|
43596
43605
|
disabled: (c == null ? void 0 : c.restoreFocus) === false
|
|
43597
43606
|
})), import_react.createElement(Accessibility, {
|
|
43598
43607
|
...c,
|
|
43599
43608
|
hiddenTextDescribedById: q
|
|
43600
43609
|
}));
|
|
43601
|
-
function
|
|
43610
|
+
function o2() {
|
|
43602
43611
|
let e3 = (z == null ? void 0 : z.autoScrollEnabled) === false, r3 = typeof l == "object" ? l.enabled === false : l === false, c2 = w && !e3 && !r3;
|
|
43603
43612
|
return typeof l == "object" ? {
|
|
43604
43613
|
...l,
|
|
@@ -44126,7 +44135,7 @@ ${c}
|
|
|
44126
44135
|
updateMeasurementsFor: I,
|
|
44127
44136
|
...m
|
|
44128
44137
|
}
|
|
44129
|
-
}), { active: H, activatorEvent: W, activeNodeRect: G, attributes: q, setNodeRef: Z, listeners:
|
|
44138
|
+
}), { active: H, activatorEvent: W, activeNodeRect: G, attributes: q, setNodeRef: Z, listeners: C0, isDragging: w0, over: T0, setActivatorNodeRef: E0, transform: D0 } = useDraggable({
|
|
44130
44139
|
id: f,
|
|
44131
44140
|
data: M,
|
|
44132
44141
|
attributes: {
|
|
@@ -44134,60 +44143,60 @@ ${c}
|
|
|
44134
44143
|
...c
|
|
44135
44144
|
},
|
|
44136
44145
|
disabled: O.draggable
|
|
44137
|
-
}),
|
|
44146
|
+
}), O0 = useCombinedRefs(B, Z), k0 = !!H, A0 = k0 && !b && isValidIndex(v) && isValidIndex(w), j0 = !T && w0, M0 = A0 ? (j0 && A0 ? D0 : null) ?? (p ?? E)({
|
|
44138
44147
|
rects: S,
|
|
44139
44148
|
activeNodeRect: G,
|
|
44140
44149
|
activeIndex: v,
|
|
44141
44150
|
overIndex: w,
|
|
44142
44151
|
index: j
|
|
44143
|
-
}) : null,
|
|
44152
|
+
}) : null, N0 = isValidIndex(v) && isValidIndex(w) ? d({
|
|
44144
44153
|
id: f,
|
|
44145
44154
|
items: g,
|
|
44146
44155
|
activeIndex: v,
|
|
44147
44156
|
overIndex: w
|
|
44148
|
-
}) : j,
|
|
44149
|
-
activeId:
|
|
44157
|
+
}) : j, P0 = H == null ? void 0 : H.id, F0 = (0, import_react.useRef)({
|
|
44158
|
+
activeId: P0,
|
|
44150
44159
|
items: g,
|
|
44151
|
-
newIndex:
|
|
44160
|
+
newIndex: N0,
|
|
44152
44161
|
containerId: _
|
|
44153
|
-
}),
|
|
44162
|
+
}), I0 = g !== F0.current.items, L0 = r({
|
|
44154
44163
|
active: H,
|
|
44155
44164
|
containerId: _,
|
|
44156
|
-
isDragging:
|
|
44157
|
-
isSorting:
|
|
44165
|
+
isDragging: w0,
|
|
44166
|
+
isSorting: k0,
|
|
44158
44167
|
id: f,
|
|
44159
44168
|
index: j,
|
|
44160
44169
|
items: g,
|
|
44161
|
-
newIndex:
|
|
44162
|
-
previousItems:
|
|
44163
|
-
previousContainerId:
|
|
44170
|
+
newIndex: F0.current.newIndex,
|
|
44171
|
+
previousItems: F0.current.items,
|
|
44172
|
+
previousContainerId: F0.current.containerId,
|
|
44164
44173
|
transition: h,
|
|
44165
|
-
wasDragging:
|
|
44166
|
-
}),
|
|
44167
|
-
disabled: !
|
|
44174
|
+
wasDragging: F0.current.activeId != null
|
|
44175
|
+
}), R0 = useDerivedTransform({
|
|
44176
|
+
disabled: !L0,
|
|
44168
44177
|
index: j,
|
|
44169
44178
|
node: R,
|
|
44170
44179
|
rect: L
|
|
44171
44180
|
});
|
|
44172
44181
|
return (0, import_react.useEffect)(() => {
|
|
44173
|
-
|
|
44182
|
+
k0 && F0.current.newIndex !== N0 && (F0.current.newIndex = N0), _ !== F0.current.containerId && (F0.current.containerId = _), g !== F0.current.items && (F0.current.items = g);
|
|
44174
44183
|
}, [
|
|
44175
|
-
|
|
44176
|
-
|
|
44184
|
+
k0,
|
|
44185
|
+
N0,
|
|
44177
44186
|
_,
|
|
44178
44187
|
g
|
|
44179
44188
|
]), (0, import_react.useEffect)(() => {
|
|
44180
|
-
if (
|
|
44181
|
-
if (
|
|
44182
|
-
|
|
44189
|
+
if (P0 === F0.current.activeId) return;
|
|
44190
|
+
if (P0 != null && F0.current.activeId == null) {
|
|
44191
|
+
F0.current.activeId = P0;
|
|
44183
44192
|
return;
|
|
44184
44193
|
}
|
|
44185
44194
|
let e2 = setTimeout(() => {
|
|
44186
|
-
|
|
44195
|
+
F0.current.activeId = P0;
|
|
44187
44196
|
}, 50);
|
|
44188
44197
|
return () => clearTimeout(e2);
|
|
44189
44198
|
}, [
|
|
44190
|
-
|
|
44199
|
+
P0
|
|
44191
44200
|
]), {
|
|
44192
44201
|
active: H,
|
|
44193
44202
|
activeIndex: v,
|
|
@@ -44195,25 +44204,25 @@ ${c}
|
|
|
44195
44204
|
data: M,
|
|
44196
44205
|
rect: L,
|
|
44197
44206
|
index: j,
|
|
44198
|
-
newIndex:
|
|
44207
|
+
newIndex: N0,
|
|
44199
44208
|
items: g,
|
|
44200
44209
|
isOver: z,
|
|
44201
|
-
isSorting:
|
|
44202
|
-
isDragging:
|
|
44203
|
-
listeners:
|
|
44210
|
+
isSorting: k0,
|
|
44211
|
+
isDragging: w0,
|
|
44212
|
+
listeners: C0,
|
|
44204
44213
|
node: R,
|
|
44205
44214
|
overIndex: w,
|
|
44206
|
-
over:
|
|
44207
|
-
setNodeRef:
|
|
44208
|
-
setActivatorNodeRef:
|
|
44215
|
+
over: T0,
|
|
44216
|
+
setNodeRef: O0,
|
|
44217
|
+
setActivatorNodeRef: E0,
|
|
44209
44218
|
setDroppableNodeRef: B,
|
|
44210
44219
|
setDraggableNodeRef: Z,
|
|
44211
|
-
transform:
|
|
44212
|
-
transition:
|
|
44220
|
+
transform: R0 ?? M0,
|
|
44221
|
+
transition: z0()
|
|
44213
44222
|
};
|
|
44214
|
-
function
|
|
44215
|
-
if (
|
|
44216
|
-
if (!(
|
|
44223
|
+
function z0() {
|
|
44224
|
+
if (R0 || I0 && F0.current.newIndex === j) return disabledTransition;
|
|
44225
|
+
if (!(j0 && !isKeyboardEvent(W) || !h) && (k0 || L0)) return CSS$1.Transition.toString({
|
|
44217
44226
|
...h,
|
|
44218
44227
|
property: transitionProperty
|
|
44219
44228
|
});
|
|
@@ -44491,8 +44500,8 @@ ${c}
|
|
|
44491
44500
|
}, r[18] = O, r[19] = h, r[20] = R, r[21] = E, r[22] = z) : z = r[22];
|
|
44492
44501
|
let B = z, H = T || w, W = b || S || w ? "border-blue-500" : "border-border", G = S && !w && "opacity-35", q = w && "opacity-95 shadow-lg", Z;
|
|
44493
44502
|
r[23] !== l || r[24] !== q || r[25] !== W || r[26] !== G ? (Z = cn("border-2 shrink-0 rounded-md relative select-none bg-background cursor-pointer active:cursor-grabbing overflow-hidden", W, G, q, l), r[23] = l, r[24] = q, r[25] = W, r[26] = G, r[27] = Z) : Z = r[27];
|
|
44494
|
-
let
|
|
44495
|
-
r[28] !== c || r[29] !== O || r[30] !== j || r[31] !== H || r[32] !== E ? (
|
|
44503
|
+
let C0;
|
|
44504
|
+
r[28] !== c || r[29] !== O || r[30] !== j || r[31] !== H || r[32] !== E ? (C0 = H && (0, import_jsx_runtime.jsx)("div", {
|
|
44496
44505
|
className: "flex p-6 box-border pointer-events-none mo-slide-content overflow-hidden",
|
|
44497
44506
|
style: {
|
|
44498
44507
|
transform: `scale(${j})`,
|
|
@@ -44505,14 +44514,14 @@ ${c}
|
|
|
44505
44514
|
status: c.status,
|
|
44506
44515
|
output: c.output
|
|
44507
44516
|
})
|
|
44508
|
-
}), r[28] = c, r[29] = O, r[30] = j, r[31] = H, r[32] = E, r[33] =
|
|
44509
|
-
let
|
|
44510
|
-
r[34] === L ?
|
|
44517
|
+
}), r[28] = c, r[29] = O, r[30] = j, r[31] = H, r[32] = E, r[33] = C0) : C0 = r[33];
|
|
44518
|
+
let w0;
|
|
44519
|
+
r[34] === L ? w0 = r[35] : (w0 = L && (0, import_jsx_runtime.jsx)("div", {
|
|
44511
44520
|
className: "absolute inset-0 bg-muted/60 pointer-events-none",
|
|
44512
44521
|
"aria-hidden": true
|
|
44513
|
-
}), r[34] = L, r[35] =
|
|
44514
|
-
let
|
|
44515
|
-
r[36] !== L || r[37] !== I ? (
|
|
44522
|
+
}), r[34] = L, r[35] = w0);
|
|
44523
|
+
let T0;
|
|
44524
|
+
r[36] !== L || r[37] !== I ? (T0 = I && (0, import_jsx_runtime.jsx)(Tooltip, {
|
|
44516
44525
|
content: (0, import_jsx_runtime.jsx)("span", {
|
|
44517
44526
|
className: "text-xs opacity-80",
|
|
44518
44527
|
children: I.description
|
|
@@ -44524,19 +44533,19 @@ ${c}
|
|
|
44524
44533
|
className: "h-3.5 w-3.5"
|
|
44525
44534
|
})
|
|
44526
44535
|
})
|
|
44527
|
-
}), r[36] = L, r[37] = I, r[38] =
|
|
44528
|
-
let
|
|
44529
|
-
return r[39] !== B || r[40] !== d || r[41] !== f || r[42] !== Z || r[43] !==
|
|
44536
|
+
}), r[36] = L, r[37] = I, r[38] = T0) : T0 = r[38];
|
|
44537
|
+
let E0;
|
|
44538
|
+
return r[39] !== B || r[40] !== d || r[41] !== f || r[42] !== Z || r[43] !== C0 || r[44] !== w0 || r[45] !== T0 ? (E0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
44530
44539
|
ref: f,
|
|
44531
44540
|
className: Z,
|
|
44532
44541
|
style: B,
|
|
44533
44542
|
...d,
|
|
44534
44543
|
children: [
|
|
44544
|
+
C0,
|
|
44535
44545
|
w0,
|
|
44536
|
-
T0
|
|
44537
|
-
E0
|
|
44546
|
+
T0
|
|
44538
44547
|
]
|
|
44539
|
-
}), r[39] = B, r[40] = d, r[41] = f, r[42] = Z, r[43] =
|
|
44548
|
+
}), r[39] = B, r[40] = d, r[41] = f, r[42] = Z, r[43] = C0, r[44] = w0, r[45] = T0, r[46] = E0) : E0 = r[46], E0;
|
|
44540
44549
|
};
|
|
44541
44550
|
function projectDropTarget(e) {
|
|
44542
44551
|
let { active: r, over: c } = e;
|
|
@@ -44567,7 +44576,7 @@ ${c}
|
|
|
44567
44576
|
if (l && l !== "slide") return l;
|
|
44568
44577
|
if (c == null ? void 0 : c.has(e)) return "skip";
|
|
44569
44578
|
}
|
|
44570
|
-
var LazySlidesComponent = import_react.lazy(() => import("./reveal-component-
|
|
44579
|
+
var LazySlidesComponent = import_react.lazy(() => import("./reveal-component-DisX89FD.js"));
|
|
44571
44580
|
const SlidesLayoutPlugin = {
|
|
44572
44581
|
type: "slides",
|
|
44573
44582
|
name: "Slides",
|
|
@@ -44936,7 +44945,7 @@ ${c}
|
|
|
44936
44945
|
let r2 = e2.scrollHeight - e2.clientHeight;
|
|
44937
44946
|
r2 - e2.scrollTop < 120 && (e2.scrollTop = r2);
|
|
44938
44947
|
}, r[2] = z) : z = r[2], (0, import_react.useLayoutEffect)(z), !I && isInternalCellName(b)) return null;
|
|
44939
|
-
let B, H, W, G, q, Z, w0, T0, E0
|
|
44948
|
+
let B, H, W, G, q, Z, C0, w0, T0, E0;
|
|
44940
44949
|
if (r[3] !== S || r[4] !== j || r[5] !== M || r[6] !== I || r[7] !== _ || r[8] !== d || r[9] !== R || r[10] !== E || r[11] !== O || r[12] !== T || r[13] !== L || r[14] !== f || r[15] !== u || r[16] !== y || r[17] !== m || r[18] !== l) {
|
|
44941
44950
|
let e2 = M.toReversed(), g2 = e2.some(_temp$2), v2 = e2.findIndex(_temp2$1), b2;
|
|
44942
44951
|
r[29] === M ? b2 = r[30] : (b2 = () => M.filter(_temp3$1).map(_temp4$1).join("\n"), r[29] = M, r[30] = b2);
|
|
@@ -44982,11 +44991,11 @@ ${c}
|
|
|
44982
44991
|
})
|
|
44983
44992
|
})
|
|
44984
44993
|
]
|
|
44985
|
-
}), r[31] = z2, r[32] = I, r[33] = d, r[34] = R, r[35] = f, r[36] = u, r[37] = l, r[38] = H) : H = r[38], W = y ? "This console output is stale" : void 0, G = "console-output-area", q = c, Z = L,
|
|
44986
|
-
let
|
|
44987
|
-
r[39] !== j || r[40] !==
|
|
44994
|
+
}), r[31] = z2, r[32] = I, r[33] = d, r[34] = R, r[35] = f, r[36] = u, r[37] = l, r[38] = H) : H = r[38], W = y ? "This console output is stale" : void 0, G = "console-output-area", q = c, Z = L, C0 = 0;
|
|
44995
|
+
let D02 = y && "marimo-output-stale", O02 = I ? "p-5" : "p-3";
|
|
44996
|
+
r[39] !== j || r[40] !== D02 || r[41] !== O02 ? (w0 = cn("console-output-area overflow-hidden rounded-b-lg flex flex-col-reverse w-full gap-1 focus:outline-hidden", D02, O02, j), r[39] = j, r[40] = D02, r[41] = O02, r[42] = w0) : w0 = r[42], r[43] === d ? T0 = r[44] : (T0 = d ? {
|
|
44988
44997
|
maxHeight: "none"
|
|
44989
|
-
} : void 0, r[43] = d, r[44] =
|
|
44998
|
+
} : void 0, r[43] = d, r[44] = T0), E0 = e2.map((e3, r2) => {
|
|
44990
44999
|
if (e3.channel === "pdb") return null;
|
|
44991
45000
|
if (e3.channel === "stdin") {
|
|
44992
45001
|
invariant(typeof e3.data == "string", "Expected data to be a string");
|
|
@@ -45014,36 +45023,36 @@ ${c}
|
|
|
45014
45023
|
wrapText: l
|
|
45015
45024
|
})
|
|
45016
45025
|
}, r2);
|
|
45017
|
-
}), r[3] = S, r[4] = j, r[5] = M, r[6] = I, r[7] = _, r[8] = d, r[9] = R, r[10] = E, r[11] = O, r[12] = T, r[13] = L, r[14] = f, r[15] = u, r[16] = y, r[17] = m, r[18] = l, r[19] = B, r[20] = H, r[21] = W, r[22] = G, r[23] = q, r[24] = Z, r[25] =
|
|
45018
|
-
} else B = r[19], H = r[20], W = r[21], G = r[22], q = r[23], Z = r[24],
|
|
45019
|
-
let
|
|
45020
|
-
r[45] !== S || r[46] !== b ? (
|
|
45026
|
+
}), r[3] = S, r[4] = j, r[5] = M, r[6] = I, r[7] = _, r[8] = d, r[9] = R, r[10] = E, r[11] = O, r[12] = T, r[13] = L, r[14] = f, r[15] = u, r[16] = y, r[17] = m, r[18] = l, r[19] = B, r[20] = H, r[21] = W, r[22] = G, r[23] = q, r[24] = Z, r[25] = C0, r[26] = w0, r[27] = T0, r[28] = E0;
|
|
45027
|
+
} else B = r[19], H = r[20], W = r[21], G = r[22], q = r[23], Z = r[24], C0 = r[25], w0 = r[26], T0 = r[27], E0 = r[28];
|
|
45028
|
+
let D0;
|
|
45029
|
+
r[45] !== S || r[46] !== b ? (D0 = (0, import_jsx_runtime.jsx)(NameCellContentEditable, {
|
|
45021
45030
|
value: b,
|
|
45022
45031
|
cellId: S,
|
|
45023
45032
|
className: "bg-(--slate-4) border-(--slate-4) hover:bg-(--slate-5) dark:border-(--sky-5) dark:bg-(--sky-6) dark:text-(--sky-12) text-(--slate-12) rounded-l rounded-br-lg absolute right-0 bottom-0 text-xs px-1.5 py-0.5 font-mono max-w-[75%] whitespace-nowrap overflow-hidden"
|
|
45024
|
-
}), r[45] = S, r[46] = b, r[47] =
|
|
45025
|
-
let
|
|
45026
|
-
r[48] !==
|
|
45033
|
+
}), r[45] = S, r[46] = b, r[47] = D0) : D0 = r[47];
|
|
45034
|
+
let O0;
|
|
45035
|
+
r[48] !== D0 || r[49] !== W || r[50] !== G || r[51] !== q || r[52] !== Z || r[53] !== C0 || r[54] !== w0 || r[55] !== T0 || r[56] !== E0 ? (O0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
45027
45036
|
title: W,
|
|
45028
45037
|
"data-testid": G,
|
|
45029
45038
|
ref: q,
|
|
45030
45039
|
...Z,
|
|
45031
|
-
tabIndex:
|
|
45032
|
-
className:
|
|
45033
|
-
style:
|
|
45040
|
+
tabIndex: C0,
|
|
45041
|
+
className: w0,
|
|
45042
|
+
style: T0,
|
|
45034
45043
|
children: [
|
|
45035
|
-
|
|
45036
|
-
|
|
45044
|
+
E0,
|
|
45045
|
+
D0
|
|
45037
45046
|
]
|
|
45038
|
-
}), r[48] =
|
|
45039
|
-
let
|
|
45040
|
-
return r[58] !== B || r[59] !== H || r[60] !==
|
|
45047
|
+
}), r[48] = D0, r[49] = W, r[50] = G, r[51] = q, r[52] = Z, r[53] = C0, r[54] = w0, r[55] = T0, r[56] = E0, r[57] = O0) : O0 = r[57];
|
|
45048
|
+
let k0;
|
|
45049
|
+
return r[58] !== B || r[59] !== H || r[60] !== O0 ? (k0 = (0, import_jsx_runtime.jsxs)("div", {
|
|
45041
45050
|
className: B,
|
|
45042
45051
|
children: [
|
|
45043
45052
|
H,
|
|
45044
|
-
|
|
45053
|
+
O0
|
|
45045
45054
|
]
|
|
45046
|
-
}), r[58] = B, r[59] = H, r[60] =
|
|
45055
|
+
}), r[58] = B, r[59] = H, r[60] = O0, r[61] = k0) : k0 = r[61], k0;
|
|
45047
45056
|
}, StdInput = (e) => {
|
|
45048
45057
|
let r = (0, import_compiler_runtime$6.c)(25), { value: c, setValue: l, inputHistory: u, output: d, isPassword: f, isPdb: p, onSubmit: m, onClear: h } = e, { navigateUp: g, navigateDown: _, addToHistory: v } = u, y;
|
|
45049
45058
|
r[0] === d ? y = r[1] : (y = renderText(d), r[0] = d, r[1] = y);
|
|
@@ -45497,23 +45506,23 @@ ${c}
|
|
|
45497
45506
|
if ((h || _ || m || W) && !G) return null;
|
|
45498
45507
|
let q;
|
|
45499
45508
|
r[42] !== d || r[43] !== T ? (q = cellDomProps(d, T), r[42] = d, r[43] = T, r[44] = q) : q = r[44];
|
|
45500
|
-
let Z = w === "edit",
|
|
45501
|
-
r[45] !== d || r[46] !== R || r[47] !== c || r[48] !== I || r[49] !== Z ? (
|
|
45509
|
+
let Z = w === "edit", C0;
|
|
45510
|
+
r[45] !== d || r[46] !== R || r[47] !== c || r[48] !== I || r[49] !== Z ? (C0 = (0, import_jsx_runtime.jsx)(OutputArea, {
|
|
45502
45511
|
allowExpand: Z,
|
|
45503
45512
|
output: c,
|
|
45504
45513
|
className: CSSClasses.outputArea,
|
|
45505
45514
|
cellId: d,
|
|
45506
45515
|
stale: I,
|
|
45507
45516
|
loading: R
|
|
45508
|
-
}), r[45] = d, r[46] = R, r[47] = c, r[48] = I, r[49] = Z, r[50] =
|
|
45509
|
-
let
|
|
45510
|
-
return r[51] !== H || r[52] !== q || r[53] !==
|
|
45517
|
+
}), r[45] = d, r[46] = R, r[47] = c, r[48] = I, r[49] = Z, r[50] = C0) : C0 = r[50];
|
|
45518
|
+
let w0;
|
|
45519
|
+
return r[51] !== H || r[52] !== q || r[53] !== C0 ? (w0 = (0, import_jsx_runtime.jsx)("div", {
|
|
45511
45520
|
tabIndex: -1,
|
|
45512
45521
|
ref: j,
|
|
45513
45522
|
className: H,
|
|
45514
45523
|
...q,
|
|
45515
|
-
children:
|
|
45516
|
-
}), r[51] = H, r[52] = q, r[53] =
|
|
45524
|
+
children: C0
|
|
45525
|
+
}), r[51] = H, r[52] = q, r[53] = C0, r[54] = w0) : w0 = r[54], w0;
|
|
45517
45526
|
});
|
|
45518
45527
|
VerticalCell.displayName = "VerticalCell";
|
|
45519
45528
|
const VerticalLayoutPlugin = {
|