@marimo-team/islands 0.20.5-dev5 → 0.20.5-dev51
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/{Combination-Du-o_hC9.js → Combination-Dk6JxauT.js} +1 -1
- package/dist/{ConnectedDataExplorerComponent-DUS-zJoR.js → ConnectedDataExplorerComponent-B07FkeWC.js} +10 -10
- package/dist/{any-language-editor-BL9o7y0_.js → any-language-editor-BIj11a2e.js} +19 -19
- package/dist/{architectureDiagram-VXUJARFQ-DrJeyFHq.js → architectureDiagram-VXUJARFQ-IZt4NuSd.js} +5 -5
- package/dist/{blockDiagram-VD42YOAC-BJrP6qKc.js → blockDiagram-VD42YOAC-mhFHC3Ty.js} +5 -5
- package/dist/{button-KYalaJYu.js → button-DQpBib29.js} +24 -11
- package/dist/{c4Diagram-YG6GDRKO-Bo4gytQ5.js → c4Diagram-YG6GDRKO-BzStmvfT.js} +4 -4
- package/dist/{channel-IWLGkaBE.js → channel-CUFaIkTh.js} +1 -1
- package/dist/{check-C50jsehH.js → check-DpqPQmzz.js} +1 -1
- package/dist/{chunk-ABZYJK2D-CRwanrkd.js → chunk-ABZYJK2D-7QYXAAhe.js} +1 -1
- package/dist/{chunk-ATLVNIR6-CMMCMvOK.js → chunk-ATLVNIR6-pmHPAPSd.js} +1 -1
- package/dist/{chunk-B4BG7PRW-BNsHrGHG.js → chunk-B4BG7PRW-C9mfKT9i.js} +4 -4
- package/dist/{chunk-DI55MBZ5-DQeYbfMV.js → chunk-DI55MBZ5-IKrK49rX.js} +4 -4
- package/dist/{chunk-EXTU4WIE-CV_DQeaX.js → chunk-EXTU4WIE-BRFl4iNd.js} +1 -1
- package/dist/{chunk-JA3XYJ7Z-Cmt--e0q.js → chunk-JA3XYJ7Z-C9q_MXZQ.js} +2 -2
- package/dist/{chunk-JZLCHNYA-CkyMJnI9.js → chunk-JZLCHNYA-DVjoFib5.js} +4 -4
- package/dist/{chunk-N4CR4FBY-BJfHtJbD.js → chunk-N4CR4FBY-BYr5N5mX.js} +5 -5
- package/dist/{chunk-QN33PNHL-WOLIPUAJ.js → chunk-QN33PNHL-CXfJywHv.js} +1 -1
- package/dist/{chunk-QXUST7PY-DYuD50pU.js → chunk-QXUST7PY-YO0PM8b3.js} +5 -5
- package/dist/{chunk-S3R3BYOJ-CsnX6RKs.js → chunk-S3R3BYOJ-DgI4FlvW.js} +1 -1
- package/dist/{chunk-TZMSLE5B-B3eYTGCw.js → chunk-TZMSLE5B-DSfBOnzx.js} +1 -1
- package/dist/{classDiagram-2ON5EDUG-C7C-oefv.js → classDiagram-2ON5EDUG-CvpnTWzz.js} +10 -10
- package/dist/{classDiagram-v2-WZHVMYZB-UTw37Gg8.js → classDiagram-v2-WZHVMYZB-DEQrBHLI.js} +10 -10
- package/dist/{copy-oc-FcZzt.js → copy-BkBF0Xgk.js} +2 -2
- package/dist/{dagre-6UL2VRFP-BgsUhJrV.js → dagre-6UL2VRFP-DC-emrm5.js} +7 -7
- package/dist/{diagram-PSM6KHXK-BIUUOfKo.js → diagram-PSM6KHXK-BAgNlpL8.js} +6 -6
- package/dist/{diagram-QEK2KX5R-BFjolZQv.js → diagram-QEK2KX5R-BM7QE5WA.js} +4 -4
- package/dist/{diagram-S2PKOQOG-4jfkWoZw.js → diagram-S2PKOQOG-qs4mB1gW.js} +4 -4
- package/dist/dist-B4MxkKHf.js +8 -0
- package/dist/{dist-De9X_Des.js → dist-B9EjSb9T.js} +1 -1
- package/dist/{dist-IW_ARJ3S.js → dist-BFxYppVR.js} +4 -4
- package/dist/{dist-D7ZGWV_9.js → dist-BGZ7TWS9.js} +3 -3
- package/dist/{dist-CwtEWuFb.js → dist-BSfYc7vq.js} +2 -2
- package/dist/{dist-DMS81OrU.js → dist-BUrWeMEP.js} +1 -1
- package/dist/dist-BYghZv6b.js +5 -0
- package/dist/dist-Be-uQhz5.js +6 -0
- package/dist/{dist-Ch_JuCvc.js → dist-BpMlUdNO.js} +3 -3
- package/dist/{dist-C6z8U-ms.js → dist-Bq5eYK43.js} +2 -2
- package/dist/{dist-BFL9TlzD.js → dist-Bq9zYwJs.js} +5 -5
- package/dist/{dist-7ZF--V_D.js → dist-C4K7pumm.js} +2 -2
- package/dist/{dist-Qjf6pcqK.js → dist-CAKwXCWI.js} +2 -2
- package/dist/dist-CB_xf0ju.js +5 -0
- package/dist/{dist-BwQHkjA9.js → dist-CDHl2i1x.js} +4 -4
- package/dist/dist-CK0qFAbF.js +8 -0
- package/dist/{dist-C4XMUaob.js → dist-CPlGUbk-.js} +2 -2
- package/dist/{dist-BT6_J2eq.js → dist-CSEWGuDq.js} +7 -2
- package/dist/dist-CYEk-qrr.js +8 -0
- package/dist/{dist-CYo3w-nC.js → dist-Cl5iM8xL.js} +3 -3
- package/dist/dist-CmKoWpMk.js +5 -0
- package/dist/{dist-I8MQW60_.js → dist-CseYuPtL.js} +2 -2
- package/dist/dist-D1nf4IQl.js +5 -0
- package/dist/{dist-CsqiXw7J.js → dist-D4gcY469.js} +2 -2
- package/dist/{dist-DUxS2paD.js → dist-D5NMgbbv.js} +2 -2
- package/dist/{dist-UYm1IE5s.js → dist-DERtJN02.js} +2 -2
- package/dist/{dist-CFToYDWO.js → dist-DEj2X26M.js} +2 -2
- package/dist/{dist-BuapEdlD.js → dist-DOoqn-VL.js} +70 -67
- package/dist/{dist-BLThQiU4.js → dist-DUretbKK.js} +2 -2
- package/dist/{dist-DEFZ7dnD.js → dist-D_-CGmlh.js} +2 -2
- package/dist/dist-Df3AcKpt.js +6 -0
- package/dist/dist-DgaFHt_I.js +5 -0
- package/dist/dist-Dk10C3ui.js +5 -0
- package/dist/{dist-D0f6Yrrb.js → dist-DodLQWPg.js} +1 -1
- package/dist/dist-DtyPVMHR.js +5 -0
- package/dist/{dist-Cb3cLT39.js → dist-HoZO6brh.js} +2 -2
- package/dist/{dist-Cqpjy6bK.js → dist-RNGn_-uD.js} +1 -1
- package/dist/{dist-BBcqvpvP.js → dist-Ux6dL_VB.js} +1 -1
- package/dist/{dist-B8Y11RWn.js → dist-WIWVvdBh.js} +2 -2
- package/dist/{dist-CB6qhQ8K.js → dist-gc9KgJuA.js} +1 -1
- package/dist/{dist-ovDpXuSB.js → dist-i-ud9aCA.js} +1 -1
- package/dist/dist-ko7WnHAO.js +5 -0
- package/dist/{dist-BTQbjEKU.js → dist-lNe4i1Nm.js} +1 -1
- package/dist/dist-of7gLRFK.js +8 -0
- package/dist/{erDiagram-Q2GNP2WA-Cq5Bz5lG.js → erDiagram-Q2GNP2WA-Dh5nhgY3.js} +10 -10
- package/dist/{error-banner-D0tXnwl4.js → error-banner-BctofTCP.js} +2 -2
- package/dist/{esm-BxMbHo0y.js → esm-BBkPJL8N.js} +29 -27
- package/dist/{flowDiagram-NV44I4VS-6WPJVFl7.js → flowDiagram-NV44I4VS-ChR1Vbmj.js} +10 -10
- package/dist/{ganttDiagram-JELNMOA3-AfDhh9CI.js → ganttDiagram-JELNMOA3-sK0z-5KM.js} +3 -3
- package/dist/{gitGraphDiagram-V2S2FVAM-BRSwuj0Q.js → gitGraphDiagram-V2S2FVAM-9S1VqQrL.js} +3 -3
- package/dist/{glide-data-editor-ByPNTNVG.js → glide-data-editor-DI5VFwRB.js} +63 -63
- package/dist/{infoDiagram-HS3SLOUP-Cmxo6jKx.js → infoDiagram-HS3SLOUP-C5A8b-2O.js} +3 -3
- package/dist/{journeyDiagram-XKPGCS4Q-CKYr8cSR.js → journeyDiagram-XKPGCS4Q-D5BIjS4N.js} +3 -3
- package/dist/{kanban-definition-3W4ZIXB7-DVvAZzQD.js → kanban-definition-3W4ZIXB7-C1vZZabj.js} +7 -7
- package/dist/{label-CV0KYhtH.js → label-Cx28eo0O.js} +5 -5
- package/dist/{loader-eJCvvApN.js → loader-C62dRCuy.js} +1 -1
- package/dist/main.js +1542 -1072
- package/dist/{mermaid-COOB_abB.js → mermaid-BgeZPIms.js} +41 -41
- package/dist/{mindmap-definition-VGOIOE7T-1ExmnvYy.js → mindmap-definition-VGOIOE7T-Cn9_H_5f.js} +9 -9
- package/dist/{pieDiagram-ADFJNKIX-CJlIsdsU.js → pieDiagram-ADFJNKIX-iA0mvRW9.js} +4 -4
- package/dist/{purify.es-CyOIw8ru.js → purify.es-DGenX2XH.js} +67 -67
- package/dist/{quadrantDiagram-AYHSOK5B-BU78RiaH.js → quadrantDiagram-AYHSOK5B-CAcVWXc-.js} +2 -2
- package/dist/{requirementDiagram-UZGBJVZJ-DACHtrFr.js → requirementDiagram-UZGBJVZJ-1HxQ6I5Z.js} +9 -9
- package/dist/{sankeyDiagram-TZEHDZUN-Bzg7_UWs.js → sankeyDiagram-TZEHDZUN-BVJnR4_b.js} +2 -2
- package/dist/{sequenceDiagram-WL72ISMW-agybEe9J.js → sequenceDiagram-WL72ISMW-ByirOtHb.js} +4 -4
- package/dist/{slides-component-B0yK5GXP.js → slides-component-DwvL_HJi.js} +2 -2
- package/dist/{spec-Dq_reDGM.js → spec-B8V2Bcbi.js} +4 -4
- package/dist/{stateDiagram-FKZM4ZOC-DehQAt8g.js → stateDiagram-FKZM4ZOC-DrYNXdQr.js} +10 -10
- package/dist/{stateDiagram-v2-4FDKWEC3-8VzeREl9.js → stateDiagram-v2-4FDKWEC3-C9CFKCSr.js} +10 -10
- package/dist/style.css +1 -1
- package/dist/{timeline-definition-IT6M3QCI-CdCfdaCF.js → timeline-definition-IT6M3QCI-D8B3p7ID.js} +2 -2
- package/dist/{tooltip-CL8m4f9y.js → tooltip-SPkubVH3.js} +3 -3
- package/dist/{types-BwnzGcE4.js → types-DqrGPzsT.js} +517 -406
- package/dist/{useAsyncData-B4hMFGnF.js → useAsyncData-Ioeh75f8.js} +1 -1
- package/dist/{useDeepCompareMemoize-DuPhOXzr.js → useDeepCompareMemoize-DtbTAJq3.js} +4 -4
- package/dist/{useIframeCapabilities-CAt6D2EI.js → useIframeCapabilities-DFGZKWkO.js} +1 -1
- package/dist/{useTheme-BNYQnvu-.js → useTheme-OvBNH9t3.js} +2 -2
- package/dist/{vega-component-DouPy8AI.js → vega-component-B_4Lp3hK.js} +8 -8
- package/dist/{xychartDiagram-PRI3JC2R-rEm_SIsC.js → xychartDiagram-PRI3JC2R-KuxgQuK9.js} +5 -5
- package/package.json +9 -9
- package/src/__mocks__/requests.ts +1 -0
- package/src/components/app-config/ai-config.tsx +10 -0
- package/src/components/datasources/components.tsx +3 -6
- package/src/components/datasources/datasources.tsx +8 -21
- package/src/components/editor/actions/types.ts +6 -1
- package/src/components/editor/actions/useNotebookActions.tsx +50 -13
- package/src/components/editor/chrome/types.ts +17 -0
- package/src/components/editor/controls/command-palette.tsx +7 -0
- package/src/components/editor/controls/keyboard-shortcuts.tsx +3 -1
- package/src/components/editor/file-tree/file-explorer.tsx +48 -62
- package/src/components/editor/file-tree/file-icons.tsx +132 -0
- package/src/components/editor/file-tree/file-viewer.tsx +1 -1
- package/src/components/editor/file-tree/tree-actions.tsx +107 -0
- package/src/components/editor/file-tree/types.ts +2 -96
- package/src/components/editor/header/filename-input.tsx +4 -1
- package/src/components/icons/marimo-icons.tsx +2 -2
- package/src/components/pages/home-page.tsx +5 -5
- package/src/components/storage/__tests__/storage-snippets.test.ts +253 -0
- package/src/components/storage/components.tsx +0 -38
- package/src/components/storage/storage-file-viewer.tsx +1 -1
- package/src/components/storage/storage-inspector.tsx +65 -50
- package/src/components/storage/storage-snippets.ts +67 -0
- package/src/components/ui/command.tsx +2 -0
- package/src/components/ui/links.tsx +1 -0
- package/src/core/ai/tools/__tests__/run-cells-tool.test.ts +206 -0
- package/src/core/ai/tools/run-cells-tool.ts +75 -40
- package/src/core/hotkeys/__tests__/hotkeys.test.ts +64 -1
- package/src/core/hotkeys/hotkeys.ts +29 -3
- package/src/core/islands/bridge.ts +1 -0
- package/src/core/network/__tests__/requests-network.test.ts +17 -0
- package/src/core/network/requests-lazy.ts +1 -0
- package/src/core/network/requests-network.ts +9 -0
- package/src/core/network/requests-static.ts +1 -0
- package/src/core/network/requests-toasting.tsx +1 -0
- package/src/core/network/types.ts +1 -0
- package/src/core/storage/__tests__/state.test.ts +1 -0
- package/src/core/wasm/bridge.ts +1 -0
- package/src/plugins/impl/FileBrowserPlugin.tsx +4 -4
- package/src/plugins/impl/mpl-interactive/MplInteractivePlugin.tsx +309 -0
- package/src/plugins/impl/mpl-interactive/__tests__/mpl-websocket-shim.test.ts +110 -0
- package/src/plugins/impl/mpl-interactive/mpl-websocket-shim.ts +57 -0
- package/src/plugins/impl/plotly/PlotlyPlugin.tsx +8 -2
- package/src/plugins/plugins.ts +2 -0
- package/src/utils/__tests__/filenames.test.ts +7 -0
- package/src/utils/__tests__/smartMatch.test.ts +61 -0
- package/src/utils/filenames.ts +3 -0
- package/src/utils/smartMatch.ts +62 -0
- package/dist/dist-BAeGo2rp.js +0 -5
- package/dist/dist-BqwCMSEa.js +0 -5
- package/dist/dist-Bum8FwTO.js +0 -6
- package/dist/dist-C0YiOwt_.js +0 -5
- package/dist/dist-C2uPv4iU.js +0 -5
- package/dist/dist-C5hOLsJN.js +0 -8
- package/dist/dist-C9NIAKMs.js +0 -8
- package/dist/dist-CCrzTtvk.js +0 -5
- package/dist/dist-CFS9i1rS.js +0 -8
- package/dist/dist-CyHZuhPH.js +0 -5
- package/dist/dist-CzcjWdIk.js +0 -6
- package/dist/dist-DaYyUSNC.js +0 -5
- package/dist/dist-DpDcJYNh.js +0 -8
- package/dist/dist-U_BfxcPn.js +0 -5
|
@@ -4,14 +4,14 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4
4
|
import { s as __toESM, t as __commonJSMin } from "./chunk-BNovOVIE.js";
|
|
5
5
|
import { t as require_react } from "./react-Bs6Z0kvn.js";
|
|
6
6
|
import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
|
|
7
|
-
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-
|
|
8
|
-
import { O as logNever, i as SelectContent, l as SelectTrigger, o as SelectItem, r as Select, t as Label, u as SelectValue } from "./label-
|
|
9
|
-
import { H as ErrorBoundary, U as require_prop_types, _ as DropdownMenuSeparator,
|
|
10
|
-
import { g as Logger, h as Events, t as Button } from "./button-
|
|
11
|
-
import "./Combination-
|
|
7
|
+
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-BkBF0Xgk.js";
|
|
8
|
+
import { O as logNever, i as SelectContent, l as SelectTrigger, o as SelectItem, r as Select, t as Label, u as SelectValue } from "./label-Cx28eo0O.js";
|
|
9
|
+
import { H as ErrorBoundary, U as require_prop_types, _ as DropdownMenuSeparator, _n as Plus, _t as capitalize_default, b as DropdownMenuSubTrigger, d as DropdownMenu, f as DropdownMenuContent, g as DropdownMenuPortal, hn as Trash, i as Input, m as DropdownMenuItem, mt as marked, pt as useNonce, t as BulkEdit, v as DropdownMenuSub, vn as Pencil, y as DropdownMenuSubContent } from "./types-DqrGPzsT.js";
|
|
10
|
+
import { g as Logger, h as Events, t as Button } from "./button-DQpBib29.js";
|
|
11
|
+
import "./Combination-Dk6JxauT.js";
|
|
12
12
|
import { t as require_jsx_runtime } from "./jsx-runtime-CTBg5pdT.js";
|
|
13
13
|
import "./react-dom-CqtLRVZP.js";
|
|
14
|
-
import { C as useEvent_default, n as useTheme } from "./useTheme-
|
|
14
|
+
import { C as useEvent_default, n as useTheme } from "./useTheme-OvBNH9t3.js";
|
|
15
15
|
import { A as require__Map, B as require__baseGetTag, C as require__hasPath, D as require_isArguments, E as require__isIndex, F as require_isFunction, G as assert, H as require__root, I as require_isObject, J as maybe, K as assertNever, L as require__isKey, M as require_eq, N as require__getNative, O as require__castPath, P as require__toSource, R as require_isSymbol, S as resolveCellsThunk, T as require_isLength, U as require__freeGlobal, V as require__Symbol, W as require_isArray, _ as isEditableGridCell, a as mergeAndRealizeTheme, b as isReadWriteCell, c as withAlpha, d as CompactSelection, f as GridCellKind, g as booleanCellIsEditable, h as InnerGridCellKind, i as makeCSSStyle, j as require__ListCache, k as require__MapCache, l as BooleanEmpty, m as GridColumnMenuIcon, n as ThemeContext, o as blend, p as GridColumnIcon, q as deepEqual, r as getDataEditorTheme, s as blendCache, t as ClickOutsideContainer, u as BooleanIndeterminate, v as isInnerOnlyCell, w as require__toKey, x as isSizedGridColumn, y as isObjectEditorCallbackResult, z as require_isObjectLike } from "./click-outside-container-CKfwEZqH.js";
|
|
16
16
|
import { t as styled_default } from "./dist-COpDrwi-.js";
|
|
17
17
|
let GlideDataEditor, glide_data_editor_default;
|
|
@@ -10416,16 +10416,16 @@ let __tla = (async () => {
|
|
|
10416
10416
|
})
|
|
10417
10417
|
]
|
|
10418
10418
|
}), t[10] = u, t[11] = a, t[12] = y) : y = t[12];
|
|
10419
|
-
let x = !a.trim(),
|
|
10420
|
-
t[13] !== c || t[14] !== x ? (
|
|
10419
|
+
let x = !a.trim(), S;
|
|
10420
|
+
t[13] !== c || t[14] !== x ? (S = (0, import_jsx_runtime.jsx)(Button, {
|
|
10421
10421
|
onClick: c,
|
|
10422
10422
|
disabled: x,
|
|
10423
10423
|
size: "sm",
|
|
10424
10424
|
className: "w-full",
|
|
10425
10425
|
children: "Rename"
|
|
10426
|
-
}), t[13] = c, t[14] = x, t[15] =
|
|
10427
|
-
let
|
|
10428
|
-
return t[16] !== y || t[17] !==
|
|
10426
|
+
}), t[13] = c, t[14] = x, t[15] = S) : S = t[15];
|
|
10427
|
+
let C;
|
|
10428
|
+
return t[16] !== y || t[17] !== S ? (C = (0, import_jsx_runtime.jsxs)(DropdownMenuSub, {
|
|
10429
10429
|
children: [
|
|
10430
10430
|
f,
|
|
10431
10431
|
(0, import_jsx_runtime.jsx)(DropdownMenuPortal, {
|
|
@@ -10435,15 +10435,15 @@ let __tla = (async () => {
|
|
|
10435
10435
|
className: "space-y-3",
|
|
10436
10436
|
children: [
|
|
10437
10437
|
y,
|
|
10438
|
-
|
|
10438
|
+
S
|
|
10439
10439
|
]
|
|
10440
10440
|
})
|
|
10441
10441
|
})
|
|
10442
10442
|
})
|
|
10443
10443
|
]
|
|
10444
|
-
}), t[16] = y, t[17] =
|
|
10444
|
+
}), t[16] = y, t[17] = S, t[18] = C) : C = t[18], C;
|
|
10445
10445
|
}, AddColumnSub = (e) => {
|
|
10446
|
-
let t = (0, import_compiler_runtime.c)(77), { direction: n, onAdd: r, onCancel: i } = e, [a, o] = (0, import_react.useState)(""), [s, u] = (0, import_react.useState)("string"), g, y, x, C,
|
|
10446
|
+
let t = (0, import_compiler_runtime.c)(77), { direction: n, onAdd: r, onCancel: i } = e, [a, o] = (0, import_react.useState)(""), [s, u] = (0, import_react.useState)("string"), g, y, x, C, D, O, A, M, N, P, F, L, B, Fr, V;
|
|
10447
10447
|
if (t[0] !== a || t[1] !== s || t[2] !== n || t[3] !== r || t[4] !== i) {
|
|
10448
10448
|
let e2 = [
|
|
10449
10449
|
"string",
|
|
@@ -10453,13 +10453,13 @@ let __tla = (async () => {
|
|
|
10453
10453
|
], Ir;
|
|
10454
10454
|
t[20] !== a || t[21] !== s || t[22] !== r ? (Ir = () => {
|
|
10455
10455
|
a.trim() && (r(a.trim(), s), o(""), u("string"));
|
|
10456
|
-
}, t[20] = a, t[21] = s, t[22] = r, t[23] = Ir) : Ir = t[23],
|
|
10456
|
+
}, t[20] = a, t[21] = s, t[22] = r, t[23] = Ir) : Ir = t[23], O = Ir;
|
|
10457
10457
|
let Lr2;
|
|
10458
|
-
t[24] !==
|
|
10459
|
-
e3.key === "Enter" ?
|
|
10460
|
-
}, t[24] =
|
|
10458
|
+
t[24] !== O || t[25] !== i ? (Lr2 = (e3) => {
|
|
10459
|
+
e3.key === "Enter" ? O() : e3.key === "Escape" && i();
|
|
10460
|
+
}, t[24] = O, t[25] = i, t[26] = Lr2) : Lr2 = t[26];
|
|
10461
10461
|
let H2 = Lr2;
|
|
10462
|
-
|
|
10462
|
+
D = DropdownMenuSub;
|
|
10463
10463
|
let Rr2;
|
|
10464
10464
|
t[27] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Rr2 = (0, import_jsx_runtime.jsx)(Plus, {
|
|
10465
10465
|
className: "mr-2 h-3.5 w-3.5"
|
|
@@ -10469,7 +10469,7 @@ let __tla = (async () => {
|
|
|
10469
10469
|
"Add column to the ",
|
|
10470
10470
|
n
|
|
10471
10471
|
]
|
|
10472
|
-
}), t[28] = n, t[29] = V), C = DropdownMenuPortal, x = DropdownMenuSubContent, Fr = "w-64 p-4",
|
|
10472
|
+
}), t[28] = n, t[29] = V), C = DropdownMenuPortal, x = DropdownMenuSubContent, Fr = "w-64 p-4", L = "space-y-3";
|
|
10473
10473
|
let U2 = `add-column-input-${n}`, W2;
|
|
10474
10474
|
t[30] === U2 ? W2 = t[31] : (W2 = (0, import_jsx_runtime.jsx)(Label, {
|
|
10475
10475
|
htmlFor: U2,
|
|
@@ -10495,27 +10495,27 @@ let __tla = (async () => {
|
|
|
10495
10495
|
t[40] === Br2 ? F = t[41] : (F = (0, import_jsx_runtime.jsx)(Label, {
|
|
10496
10496
|
htmlFor: Br2,
|
|
10497
10497
|
children: "Data type"
|
|
10498
|
-
}), t[40] = Br2, t[41] = F), y = Select,
|
|
10498
|
+
}), t[40] = Br2, t[41] = F), y = Select, M = s, t[42] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (N = (e3) => u(e3), t[42] = N) : N = t[42];
|
|
10499
10499
|
let Vr = `add-column-type-${n}`, Hr;
|
|
10500
10500
|
t[43] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Hr = (0, import_jsx_runtime.jsx)(SelectValue, {}), t[43] = Hr) : Hr = t[43], t[44] === Vr ? P = t[45] : (P = (0, import_jsx_runtime.jsx)(SelectTrigger, {
|
|
10501
10501
|
id: Vr,
|
|
10502
10502
|
className: "mt-1",
|
|
10503
10503
|
children: Hr
|
|
10504
|
-
}), t[44] = Vr, t[45] = P), g = SelectContent,
|
|
10505
|
-
} else g = t[5], y = t[6], x = t[7], C = t[8],
|
|
10504
|
+
}), t[44] = Vr, t[45] = P), g = SelectContent, A = e2.map(_temp), t[0] = a, t[1] = s, t[2] = n, t[3] = r, t[4] = i, t[5] = g, t[6] = y, t[7] = x, t[8] = C, t[9] = D, t[10] = O, t[11] = A, t[12] = M, t[13] = N, t[14] = P, t[15] = F, t[16] = L, t[17] = B, t[18] = Fr, t[19] = V;
|
|
10505
|
+
} else g = t[5], y = t[6], x = t[7], C = t[8], D = t[9], O = t[10], A = t[11], M = t[12], N = t[13], P = t[14], F = t[15], L = t[16], B = t[17], Fr = t[18], V = t[19];
|
|
10506
10506
|
let Lr;
|
|
10507
|
-
t[46] !== g || t[47] !==
|
|
10508
|
-
children:
|
|
10509
|
-
}), t[46] = g, t[47] =
|
|
10507
|
+
t[46] !== g || t[47] !== A ? (Lr = (0, import_jsx_runtime.jsx)(g, {
|
|
10508
|
+
children: A
|
|
10509
|
+
}), t[46] = g, t[47] = A, t[48] = Lr) : Lr = t[48];
|
|
10510
10510
|
let H;
|
|
10511
|
-
t[49] !== y || t[50] !== Lr || t[51] !==
|
|
10512
|
-
value:
|
|
10511
|
+
t[49] !== y || t[50] !== Lr || t[51] !== M || t[52] !== N || t[53] !== P ? (H = (0, import_jsx_runtime.jsxs)(y, {
|
|
10512
|
+
value: M,
|
|
10513
10513
|
onValueChange: N,
|
|
10514
10514
|
children: [
|
|
10515
10515
|
P,
|
|
10516
10516
|
Lr
|
|
10517
10517
|
]
|
|
10518
|
-
}), t[49] = y, t[50] = Lr, t[51] =
|
|
10518
|
+
}), t[49] = y, t[50] = Lr, t[51] = M, t[52] = N, t[53] = P, t[54] = H) : H = t[54];
|
|
10519
10519
|
let Rr;
|
|
10520
10520
|
t[55] !== H || t[56] !== F ? (Rr = (0, import_jsx_runtime.jsxs)("div", {
|
|
10521
10521
|
children: [
|
|
@@ -10524,22 +10524,22 @@ let __tla = (async () => {
|
|
|
10524
10524
|
]
|
|
10525
10525
|
}), t[55] = H, t[56] = F, t[57] = Rr) : Rr = t[57];
|
|
10526
10526
|
let U = !a.trim(), W;
|
|
10527
|
-
t[58] !==
|
|
10528
|
-
onClick:
|
|
10527
|
+
t[58] !== O || t[59] !== U ? (W = (0, import_jsx_runtime.jsx)(Button, {
|
|
10528
|
+
onClick: O,
|
|
10529
10529
|
disabled: U,
|
|
10530
10530
|
size: "sm",
|
|
10531
10531
|
className: "w-full",
|
|
10532
10532
|
children: "Add"
|
|
10533
|
-
}), t[58] =
|
|
10533
|
+
}), t[58] = O, t[59] = U, t[60] = W) : W = t[60];
|
|
10534
10534
|
let zr;
|
|
10535
|
-
t[61] !== Rr || t[62] !== W || t[63] !==
|
|
10536
|
-
className:
|
|
10535
|
+
t[61] !== Rr || t[62] !== W || t[63] !== L || t[64] !== B ? (zr = (0, import_jsx_runtime.jsxs)("div", {
|
|
10536
|
+
className: L,
|
|
10537
10537
|
children: [
|
|
10538
10538
|
B,
|
|
10539
10539
|
Rr,
|
|
10540
10540
|
W
|
|
10541
10541
|
]
|
|
10542
|
-
}), t[61] = Rr, t[62] = W, t[63] =
|
|
10542
|
+
}), t[61] = Rr, t[62] = W, t[63] = L, t[64] = B, t[65] = zr) : zr = t[65];
|
|
10543
10543
|
let G;
|
|
10544
10544
|
t[66] !== x || t[67] !== zr || t[68] !== Fr ? (G = (0, import_jsx_runtime.jsx)(x, {
|
|
10545
10545
|
className: Fr,
|
|
@@ -10550,12 +10550,12 @@ let __tla = (async () => {
|
|
|
10550
10550
|
children: G
|
|
10551
10551
|
}), t[70] = C, t[71] = G, t[72] = K) : K = t[72];
|
|
10552
10552
|
let Br;
|
|
10553
|
-
return t[73] !==
|
|
10553
|
+
return t[73] !== D || t[74] !== K || t[75] !== V ? (Br = (0, import_jsx_runtime.jsxs)(D, {
|
|
10554
10554
|
children: [
|
|
10555
10555
|
V,
|
|
10556
10556
|
K
|
|
10557
10557
|
]
|
|
10558
|
-
}), t[73] =
|
|
10558
|
+
}), t[73] = D, t[74] = K, t[75] = V, t[76] = Br) : Br = t[76], Br;
|
|
10559
10559
|
};
|
|
10560
10560
|
function _temp(e) {
|
|
10561
10561
|
return (0, import_jsx_runtime.jsx)(SelectItem, {
|
|
@@ -10627,7 +10627,7 @@ let __tla = (async () => {
|
|
|
10627
10627
|
}
|
|
10628
10628
|
}
|
|
10629
10629
|
GlideDataEditor = ({ data: e, setData: t, columnFields: n, setColumnFields: r, editableColumns: c, edits: l, onAddEdits: u, onAddRows: f, onDeleteRows: m, onRenameColumn: h, onDeleteColumn: y, onAddColumn: S }) => {
|
|
10630
|
-
let { theme:
|
|
10630
|
+
let { theme: C } = useTheme(), E = (0, import_react.useRef)(null), [k, j] = (0, import_react.useState)(), [N, I] = (0, import_react.useState)(false), [L, Pr] = import_react.useState({
|
|
10631
10631
|
columns: CompactSelection.empty(),
|
|
10632
10632
|
rows: CompactSelection.empty()
|
|
10633
10633
|
}), [B, V] = (0, import_react.useState)({}), Rr = useNonce(), U = (0, import_react.useRef)(false), W = (0, import_react.useMemo)(() => {
|
|
@@ -10644,7 +10644,7 @@ let __tla = (async () => {
|
|
|
10644
10644
|
dataType: r2,
|
|
10645
10645
|
hasMenu: true,
|
|
10646
10646
|
themeOverride: n2 ? void 0 : {
|
|
10647
|
-
bgCell:
|
|
10647
|
+
bgCell: C === "light" ? "#F9F9FA" : "#1e1e21"
|
|
10648
10648
|
}
|
|
10649
10649
|
});
|
|
10650
10650
|
}
|
|
@@ -10653,7 +10653,7 @@ let __tla = (async () => {
|
|
|
10653
10653
|
n,
|
|
10654
10654
|
B,
|
|
10655
10655
|
c,
|
|
10656
|
-
|
|
10656
|
+
C
|
|
10657
10657
|
]);
|
|
10658
10658
|
(0, import_react.useEffect)(() => {
|
|
10659
10659
|
if (U.current || e.length === 0 || (U.current = true, l.length === 0)) return;
|
|
@@ -10774,9 +10774,9 @@ let __tla = (async () => {
|
|
|
10774
10774
|
n,
|
|
10775
10775
|
W
|
|
10776
10776
|
]), Vr = (0, import_react.useCallback)((n2) => {
|
|
10777
|
-
if (
|
|
10777
|
+
if (E.current) {
|
|
10778
10778
|
if (Events.isMetaOrCtrl(n2) && n2.key === "c") {
|
|
10779
|
-
|
|
10779
|
+
E.current.emit("copy");
|
|
10780
10780
|
return;
|
|
10781
10781
|
}
|
|
10782
10782
|
if (Events.isMetaOrCtrl(n2) && n2.key === "v") {
|
|
@@ -10791,11 +10791,11 @@ let __tla = (async () => {
|
|
|
10791
10791
|
return;
|
|
10792
10792
|
}
|
|
10793
10793
|
if (Events.isMetaOrCtrl(n2) && n2.key === "f") {
|
|
10794
|
-
|
|
10794
|
+
I((e2) => !e2), n2.stopPropagation(), n2.preventDefault();
|
|
10795
10795
|
return;
|
|
10796
10796
|
}
|
|
10797
10797
|
if (n2.key === "Escape") {
|
|
10798
|
-
|
|
10798
|
+
I(false);
|
|
10799
10799
|
return;
|
|
10800
10800
|
}
|
|
10801
10801
|
}
|
|
@@ -10869,8 +10869,8 @@ let __tla = (async () => {
|
|
|
10869
10869
|
bounds: t2
|
|
10870
10870
|
});
|
|
10871
10871
|
}), Gr = async () => {
|
|
10872
|
-
if (
|
|
10873
|
-
let e2 = W[
|
|
10872
|
+
if (k) {
|
|
10873
|
+
let e2 = W[k.col].title;
|
|
10874
10874
|
await copyToClipboard(e2), j(void 0);
|
|
10875
10875
|
}
|
|
10876
10876
|
};
|
|
@@ -10882,31 +10882,31 @@ let __tla = (async () => {
|
|
|
10882
10882
|
});
|
|
10883
10883
|
}
|
|
10884
10884
|
let qr = (e2) => {
|
|
10885
|
-
if (
|
|
10886
|
-
let i = W[
|
|
10885
|
+
if (k) {
|
|
10886
|
+
let i = W[k.col].title;
|
|
10887
10887
|
if (n[e2]) {
|
|
10888
10888
|
Kr(e2);
|
|
10889
10889
|
return;
|
|
10890
10890
|
}
|
|
10891
|
-
let a = W[
|
|
10892
|
-
h(
|
|
10891
|
+
let a = W[k.col].dataType;
|
|
10892
|
+
h(k.col, e2), r((t2) => modifyColumnFields({
|
|
10893
10893
|
columnFields: t2,
|
|
10894
|
-
columnIdx:
|
|
10894
|
+
columnIdx: k.col,
|
|
10895
10895
|
type: "rename",
|
|
10896
10896
|
dataType: a,
|
|
10897
10897
|
newColumnName: e2
|
|
10898
10898
|
})), t((t2) => renameColumn(t2, i, e2)), j(void 0);
|
|
10899
10899
|
}
|
|
10900
10900
|
}, q = () => {
|
|
10901
|
-
|
|
10901
|
+
k && (y(k.col), r((e2) => modifyColumnFields({
|
|
10902
10902
|
columnFields: e2,
|
|
10903
|
-
columnIdx:
|
|
10903
|
+
columnIdx: k.col,
|
|
10904
10904
|
type: "remove"
|
|
10905
|
-
})), t((e2) => removeColumn(e2,
|
|
10905
|
+
})), t((e2) => removeColumn(e2, k.col)), j(void 0));
|
|
10906
10906
|
}, Jr = (e2) => {
|
|
10907
10907
|
let { direction: i, columnName: a, dataType: o } = e2;
|
|
10908
|
-
if (
|
|
10909
|
-
let e3 =
|
|
10908
|
+
if (k) {
|
|
10909
|
+
let e3 = k.col + (i === "left" ? 0 : 1), s = Math.max(0, Math.min(e3, W.length));
|
|
10910
10910
|
if (n[a]) {
|
|
10911
10911
|
Kr(a);
|
|
10912
10912
|
return;
|
|
@@ -10919,7 +10919,7 @@ let __tla = (async () => {
|
|
|
10919
10919
|
newColumnName: a
|
|
10920
10920
|
})), t((e4) => insertColumn(e4, a)), j(void 0);
|
|
10921
10921
|
}
|
|
10922
|
-
}, Yr = (
|
|
10922
|
+
}, Yr = (k == null ? void 0 : k.col) === W.length - 1, Xr = k !== void 0, J = "mr-2 h-3.5 w-3.5", Zr = {
|
|
10923
10923
|
hint: "New row",
|
|
10924
10924
|
sticky: true,
|
|
10925
10925
|
tint: true
|
|
@@ -10929,7 +10929,7 @@ let __tla = (async () => {
|
|
|
10929
10929
|
children: [
|
|
10930
10930
|
(0, import_jsx_runtime.jsx)(ErrorBoundary, {
|
|
10931
10931
|
children: (0, import_jsx_runtime.jsx)(DataEditorAll, {
|
|
10932
|
-
ref:
|
|
10932
|
+
ref: E,
|
|
10933
10933
|
getCellContent: zr,
|
|
10934
10934
|
columns: W,
|
|
10935
10935
|
gridSelection: L,
|
|
@@ -10941,7 +10941,7 @@ let __tla = (async () => {
|
|
|
10941
10941
|
validateCell: Br,
|
|
10942
10942
|
getCellsForSelection: true,
|
|
10943
10943
|
onPaste: true,
|
|
10944
|
-
showSearch:
|
|
10944
|
+
showSearch: N,
|
|
10945
10945
|
fillHandle: true,
|
|
10946
10946
|
allowedFillDirections: "vertical",
|
|
10947
10947
|
onKeyDown: Vr,
|
|
@@ -10954,7 +10954,7 @@ let __tla = (async () => {
|
|
|
10954
10954
|
onCellEdited: G,
|
|
10955
10955
|
onColumnResize: K,
|
|
10956
10956
|
onHeaderMenuClick: Wr,
|
|
10957
|
-
theme: getGlideTheme(
|
|
10957
|
+
theme: getGlideTheme(C),
|
|
10958
10958
|
trailingRowOptions: Zr,
|
|
10959
10959
|
onRowAppended: Hr,
|
|
10960
10960
|
maxColumnAutoWidth: 600,
|
|
@@ -10966,7 +10966,7 @@ let __tla = (async () => {
|
|
|
10966
10966
|
let e2 = (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
10967
10967
|
children: [
|
|
10968
10968
|
Qr && (0, import_jsx_runtime.jsx)(RenameColumnSub, {
|
|
10969
|
-
currentColumnName: W[
|
|
10969
|
+
currentColumnName: W[k.col].title,
|
|
10970
10970
|
onRename: qr,
|
|
10971
10971
|
onCancel: () => j(void 0)
|
|
10972
10972
|
}),
|
|
@@ -11007,8 +11007,8 @@ let __tla = (async () => {
|
|
|
11007
11007
|
onOpenChange: (e3) => !e3 && j(void 0),
|
|
11008
11008
|
children: (0, import_jsx_runtime.jsxs)(DropdownMenuContent, {
|
|
11009
11009
|
style: {
|
|
11010
|
-
left: (
|
|
11011
|
-
top: ((
|
|
11010
|
+
left: (k == null ? void 0 : k.bounds.x) ?? 0,
|
|
11011
|
+
top: ((k == null ? void 0 : k.bounds.y) ?? 0) + ((k == null ? void 0 : k.bounds.height) ?? 0)
|
|
11012
11012
|
},
|
|
11013
11013
|
className: "fixed w-52",
|
|
11014
11014
|
children: [
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./chunk-TCCFYFTB-DdLCbCTn.js";
|
|
2
2
|
import "./main-Tj_-QTyF.js";
|
|
3
|
-
import "./purify.es-
|
|
3
|
+
import "./purify.es-DGenX2XH.js";
|
|
4
4
|
import { i as log, r as __name } from "./src-CHUphWwL.js";
|
|
5
5
|
import { t as package_default } from "./chunk-DR5Q36YT-D4q96vNV.js";
|
|
6
|
-
import { c as configureSvgSize } from "./chunk-ABZYJK2D-
|
|
7
|
-
import { t as selectSvgElement } from "./chunk-EXTU4WIE-
|
|
6
|
+
import { c as configureSvgSize } from "./chunk-ABZYJK2D-7QYXAAhe.js";
|
|
7
|
+
import { t as selectSvgElement } from "./chunk-EXTU4WIE-BRFl4iNd.js";
|
|
8
8
|
import "./chunk-UMXZTB3W--LdAK3Bv.js";
|
|
9
9
|
import "./chunk-4F5CHEZ2-CxKDFd-t.js";
|
|
10
10
|
import "./chunk-FRFDVMJY-C7q09nvl.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./purify.es-
|
|
1
|
+
import "./purify.es-DGenX2XH.js";
|
|
2
2
|
import { t as arc_default } from "./arc-DXxE-tFl.js";
|
|
3
3
|
import { r as __name, t as select_default } from "./src-CHUphWwL.js";
|
|
4
|
-
import { B as setAccTitle, C as getDiagramTitle, U as setDiagramTitle, _ as getAccDescription, a as clear, b as getConfig2, c as configureSvgSize, v as getAccTitle, z as setAccDescription } from "./chunk-ABZYJK2D-
|
|
4
|
+
import { B as setAccTitle, C as getDiagramTitle, U as setDiagramTitle, _ as getAccDescription, a as clear, b as getConfig2, c as configureSvgSize, v as getAccTitle, z as setAccDescription } from "./chunk-ABZYJK2D-7QYXAAhe.js";
|
|
5
5
|
import "./dist-Bymy0kEH.js";
|
|
6
6
|
import { t as getIconStyles } from "./chunk-FMBD7UC4-XTL4xAvH.js";
|
|
7
|
-
import { a as drawText, i as drawRect, o as getNoteRect, t as drawBackgroundRect } from "./chunk-TZMSLE5B-
|
|
7
|
+
import { a as drawText, i as drawRect, o as getNoteRect, t as drawBackgroundRect } from "./chunk-TZMSLE5B-DSfBOnzx.js";
|
|
8
8
|
var parser = (function() {
|
|
9
9
|
var e = /* @__PURE__ */ __name(function(e2, S, C2, w2) {
|
|
10
10
|
for (C2 || (C2 = {}), w2 = e2.length; w2--; C2[e2[w2]] = S) ;
|
package/dist/{kanban-definition-3W4ZIXB7-DVvAZzQD.js → kanban-definition-3W4ZIXB7-C1vZZabj.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import "./purify.es-
|
|
2
|
-
import "./chunk-S3R3BYOJ-
|
|
1
|
+
import "./purify.es-DGenX2XH.js";
|
|
2
|
+
import "./chunk-S3R3BYOJ-DgI4FlvW.js";
|
|
3
3
|
import { i as log, r as __name } from "./src-CHUphWwL.js";
|
|
4
|
-
import { G as setupGraphViewbox, I as sanitizeText, Q as is_dark_default, X as darken_default, Z as lighten_default, b as getConfig2, d as defaultConfig_default } from "./chunk-ABZYJK2D-
|
|
5
|
-
import { t as selectSvgElement } from "./chunk-EXTU4WIE-
|
|
4
|
+
import { G as setupGraphViewbox, I as sanitizeText, Q as is_dark_default, X as darken_default, Z as lighten_default, b as getConfig2, d as defaultConfig_default } from "./chunk-ABZYJK2D-7QYXAAhe.js";
|
|
5
|
+
import { t as selectSvgElement } from "./chunk-EXTU4WIE-BRFl4iNd.js";
|
|
6
6
|
import { n as load, t as JSON_SCHEMA } from "./chunk-MI3HLSF2-DvCKDmpi.js";
|
|
7
7
|
import "./chunk-CVBHYZKI-D8iwHsLF.js";
|
|
8
|
-
import "./chunk-ATLVNIR6-
|
|
8
|
+
import "./chunk-ATLVNIR6-pmHPAPSd.js";
|
|
9
9
|
import "./dist-Bymy0kEH.js";
|
|
10
|
-
import "./chunk-JA3XYJ7Z-
|
|
11
|
-
import { a as insertNode, c as positionNode, i as insertCluster } from "./chunk-JZLCHNYA-
|
|
10
|
+
import "./chunk-JA3XYJ7Z-C9q_MXZQ.js";
|
|
11
|
+
import { a as insertNode, c as positionNode, i as insertCluster } from "./chunk-JZLCHNYA-DVjoFib5.js";
|
|
12
12
|
import { t as getIconStyles } from "./chunk-FMBD7UC4-XTL4xAvH.js";
|
|
13
13
|
var parser = (function() {
|
|
14
14
|
var e = /* @__PURE__ */ __name(function(e2, t, n2, r2) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { s as __toESM } from "./chunk-BNovOVIE.js";
|
|
2
2
|
import { t as require_react } from "./react-Bs6Z0kvn.js";
|
|
3
3
|
import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
|
|
4
|
-
import { a as Content, i as Arrow, l as createLucideIcon, n as VISUALLY_HIDDEN_STYLES, o as Root2$1, r as Anchor, s as createPopperScope } from "./dist-
|
|
5
|
-
import { t as Check } from "./check-
|
|
6
|
-
import { a as cva, g as Logger, h as Events, i as createSlot, m as useComposedRefs, y as cn } from "./button-
|
|
7
|
-
import { _t as createContextScope, at as useControllableState, ct as useId, dt as useCallbackRef, ft as Primitive$1, i as useFocusGuards, it as StyleNamespace, lt as useLayoutEffect2, mt as createSlot$1, n as hideOthers, nt as withSmartCollisionBoundary, r as FocusScope, st as Portal, t as Combination_default, tt as withFullScreenAsRoot, ut as DismissableLayer, vt as composeEventHandlers } from "./Combination-
|
|
4
|
+
import { a as Content, i as Arrow, l as createLucideIcon, n as VISUALLY_HIDDEN_STYLES, o as Root2$1, r as Anchor, s as createPopperScope } from "./dist-WIWVvdBh.js";
|
|
5
|
+
import { t as Check } from "./check-DpqPQmzz.js";
|
|
6
|
+
import { a as cva, g as Logger, h as Events, i as createSlot, m as useComposedRefs, y as cn } from "./button-DQpBib29.js";
|
|
7
|
+
import { _t as createContextScope, at as useControllableState, ct as useId, dt as useCallbackRef, ft as Primitive$1, i as useFocusGuards, it as StyleNamespace, lt as useLayoutEffect2, mt as createSlot$1, n as hideOthers, nt as withSmartCollisionBoundary, r as FocusScope, st as Portal, t as Combination_default, tt as withFullScreenAsRoot, ut as DismissableLayer, vt as composeEventHandlers } from "./Combination-Dk6JxauT.js";
|
|
8
8
|
import { t as require_jsx_runtime } from "./jsx-runtime-CTBg5pdT.js";
|
|
9
9
|
import { t as require_react_dom } from "./react-dom-CqtLRVZP.js";
|
|
10
10
|
import { t as toString_default } from "./toString-Ckpb50uw.js";
|
|
@@ -131,7 +131,7 @@ function $1e5a04cdaf7d1af8$export$188ec29ebc2bdc3a() {
|
|
|
131
131
|
return (0, import_react.useEffect)(() => ($1e5a04cdaf7d1af8$var$listeners.size === 0 && window.addEventListener("languagechange", $1e5a04cdaf7d1af8$var$updateLocale), $1e5a04cdaf7d1af8$var$listeners.add(a), () => {
|
|
132
132
|
$1e5a04cdaf7d1af8$var$listeners.delete(a), $1e5a04cdaf7d1af8$var$listeners.size === 0 && window.removeEventListener("languagechange", $1e5a04cdaf7d1af8$var$updateLocale);
|
|
133
133
|
}), []), e ? {
|
|
134
|
-
locale: "en-US",
|
|
134
|
+
locale: typeof window < "u" && window[$1e5a04cdaf7d1af8$var$localeSymbol] || "en-US",
|
|
135
135
|
direction: "ltr"
|
|
136
136
|
} : i;
|
|
137
137
|
}
|
|
@@ -2,7 +2,7 @@ var __defProp = Object.defineProperty;
|
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
4
|
var _a, _b, _c, _d, _e;
|
|
5
|
-
import { d as Objects, g as Logger } from "./button-
|
|
5
|
+
import { d as Objects, g as Logger } from "./button-DQpBib29.js";
|
|
6
6
|
import { H as isObjectLike_default, U as _baseGetTag_default } from "./isArrayLikeObject-Btu-i6_P.js";
|
|
7
7
|
import { St as isObject, a as loader, c as typeParsers$1, gt as isArray, o as read$1, wt as isString } from "./vega-loader.browser-CQ-lnUkI.js";
|
|
8
8
|
var numberTag = "[object Number]";
|