@marimo-team/islands 0.23.2-dev15 → 0.23.2-dev18
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/_basePickBy-C-mod5Dp.js +34 -0
- package/dist/{_baseUniq-C87CckHL.js → _baseUniq-Be_p_Ty6.js} +2 -2
- package/dist/{architecture-7HQA4BMR-BHdkAMvZ.js → architecture-7HQA4BMR-kNyKQXbB.js} +2 -2
- package/dist/{architectureDiagram-VXUJARFQ-B3YQo9At.js → architectureDiagram-VXUJARFQ-Dx_Dniiw.js} +11 -11
- package/dist/{blockDiagram-VD42YOAC-CpQ3TKEN.js → blockDiagram-VD42YOAC-D3hGPvEt.js} +4 -4
- package/dist/{c4Diagram-YG6GDRKO-CZSU4uqU.js → c4Diagram-YG6GDRKO-CtY1WMbV.js} +1 -1
- package/dist/{chat-ui-Bi0ioKDx.js → chat-ui-DIVMRPO5.js} +1 -1
- package/dist/{chunk-4F5CHEZ2-D5mClyDv.js → chunk-4F5CHEZ2-oWcaQSBe.js} +1 -1
- package/dist/{chunk-B2363JML-Br0eA2T3.js → chunk-B2363JML-72CRxZbk.js} +1 -1
- package/dist/{chunk-B4BG7PRW-4BjV11Br.js → chunk-B4BG7PRW-ChYfc4rf.js} +2 -2
- package/dist/{chunk-DI55MBZ5-DITY3EyP.js → chunk-DI55MBZ5-CYNE3N2j.js} +2 -2
- package/dist/{chunk-FRFDVMJY-DnEvEFRR.js → chunk-FRFDVMJY-Dgl-7l0K.js} +1 -1
- package/dist/{chunk-JA3XYJ7Z-BcPEfxk_.js → chunk-JA3XYJ7Z-B2BoMdpr.js} +1 -1
- package/dist/{chunk-JZLCHNYA-2bnLL3xL.js → chunk-JZLCHNYA-CkHD9mQU.js} +2 -2
- package/dist/{chunk-N4CR4FBY-CpZSuGSU.js → chunk-N4CR4FBY-DDeXUk3y.js} +4 -4
- package/dist/{chunk-PL6DKKU2-DnId6G-x.js → chunk-PL6DKKU2-CpBHhdj8.js} +1 -1
- package/dist/{chunk-QXUST7PY-Ch6F5Obl.js → chunk-QXUST7PY-BnSZbSK7.js} +3 -3
- package/dist/{chunk-S3R3BYOJ-B0UOFJwq.js → chunk-S3R3BYOJ-DVdRer7T.js} +1 -1
- package/dist/{chunk-SJTYNZTY-BsBZnJUj.js → chunk-SJTYNZTY-DPOwAZc-.js} +1 -1
- package/dist/{chunk-TCCFYFTB-Clbl-fTg.js → chunk-TCCFYFTB-BdE6BTq1.js} +6 -6
- package/dist/{chunk-TQ3KTPDO-CFkSQ30e.js → chunk-TQ3KTPDO-BCXCq8f2.js} +1 -1
- package/dist/{chunk-UMXZTB3W-D-A834Bq.js → chunk-UMXZTB3W-C5Hu2atA.js} +1 -1
- package/dist/{classDiagram-v2-WZHVMYZB-DrmbGANl.js → classDiagram-2ON5EDUG-sUXB0Obe.js} +6 -6
- package/dist/{classDiagram-2ON5EDUG-C8-zE3Zv.js → classDiagram-v2-WZHVMYZB-JeF9-idj.js} +6 -6
- package/dist/{clone-DZFQCtFJ.js → clone-B48LSK6I.js} +1 -1
- package/dist/{dagre-6UL2VRFP-OMItEBnY.js → dagre-6UL2VRFP-Bs_DhCUk.js} +9 -9
- package/dist/{dagre-QVd-lCXU.js → dagre-BLW2E2fh.js} +19 -8
- package/dist/{diagram-PSM6KHXK-CkKbohWI.js → diagram-PSM6KHXK-VB3japmQ.js} +10 -10
- package/dist/{diagram-QEK2KX5R-DjUMpVcx.js → diagram-QEK2KX5R-B8nm2JL9.js} +10 -10
- package/dist/{diagram-S2PKOQOG-b-c0d-wZ.js → diagram-S2PKOQOG-D6PR_2iv.js} +10 -10
- package/dist/{erDiagram-Q2GNP2WA-CDhLaOZ1.js → erDiagram-Q2GNP2WA-gjAse7Jb.js} +5 -5
- package/dist/{flowDiagram-NV44I4VS-BDi4O4CL.js → flowDiagram-NV44I4VS-CQTSZWcI.js} +5 -5
- package/dist/{ganttDiagram-JELNMOA3-BpZE6kVp.js → ganttDiagram-JELNMOA3-aktqk_om.js} +1 -1
- package/dist/{gitGraph-G5XIXVHT-B_c6xFJv.js → gitGraph-G5XIXVHT-Cy06nzLg.js} +2 -2
- package/dist/{gitGraphDiagram-V2S2FVAM-iQnXzbPM.js → gitGraphDiagram-V2S2FVAM-C1ntKO33.js} +10 -10
- package/dist/{graphlib-BV1_gi0C.js → graphlib-Cr691-na.js} +3 -3
- package/dist/{hasIn-DnfJcYpY.js → hasIn-BDDmuo1w.js} +1 -1
- package/dist/{info-VBDWY6EO-BTyzxmhr.js → info-VBDWY6EO-BIO6A8nW.js} +2 -2
- package/dist/{infoDiagram-HS3SLOUP-OYrX6uO3.js → infoDiagram-HS3SLOUP-CtfUf0g_.js} +9 -9
- package/dist/{kanban-definition-3W4ZIXB7-DHEAKdZt.js → kanban-definition-3W4ZIXB7-C5FK4v7x.js} +3 -3
- package/dist/main.js +135 -66
- package/dist/{mermaid-BbhZNQeB.js → mermaid-CcM8GHeT.js} +29 -29
- package/dist/{mermaid-parser.core-ntCgyx0x.js → mermaid-parser.core-fZdPSYor.js} +8 -8
- package/dist/min-DAIOAwWK.js +102 -0
- package/dist/{mindmap-definition-VGOIOE7T-CxEUZZvY.js → mindmap-definition-VGOIOE7T-BvrQf8XZ.js} +5 -5
- package/dist/{packet-DYOGHKS2-BhvnpoGi.js → packet-DYOGHKS2-DDx1z7B-.js} +2 -2
- package/dist/pick-DfX21dj2.js +18 -0
- package/dist/{pie-VRWISCQL-dILuA3iG.js → pie-VRWISCQL-BgRtyDMT.js} +2 -2
- package/dist/{pieDiagram-ADFJNKIX-U3LrUqAS.js → pieDiagram-ADFJNKIX-DAhjFwJD.js} +10 -10
- package/dist/{radar-ZZBFDIW7-DwFrOJDj.js → radar-ZZBFDIW7-xwh47Yzn.js} +2 -2
- package/dist/{requirementDiagram-UZGBJVZJ-D0zpQnKC.js → requirementDiagram-UZGBJVZJ-B3nnp0VG.js} +5 -5
- package/dist/{sequenceDiagram-WL72ISMW-D1BJxLjH.js → sequenceDiagram-WL72ISMW-D2mpRRG2.js} +1 -1
- package/dist/{stateDiagram-FKZM4ZOC-B1S8jGMn.js → stateDiagram-FKZM4ZOC-QD9Wuca0.js} +8 -8
- package/dist/{stateDiagram-v2-4FDKWEC3-BH5ozUbc.js → stateDiagram-v2-4FDKWEC3-DnUhJ525.js} +6 -6
- package/dist/{treemap-GDKQZRPO-bx2ngsgN.js → treemap-GDKQZRPO-5ZsmvXgc.js} +2 -2
- package/dist/{xychartDiagram-PRI3JC2R-CuAZiqHS.js → xychartDiagram-PRI3JC2R-BMsB7VdF.js} +2 -2
- package/package.json +1 -1
- package/src/components/data-table/TableBottomBar.tsx +5 -1
- package/src/components/data-table/__tests__/pagination.test.tsx +46 -132
- package/src/components/data-table/column-explorer-panel/column-explorer.tsx +1 -1
- package/src/components/data-table/pagination.tsx +189 -76
- package/src/components/data-table/types.ts +0 -4
- package/dist/_basePickBy-Sow3pJjS.js +0 -41
- package/dist/min-Ds3gG0Ff.js +0 -96
- package/dist/range-fJeId9Ri.js +0 -30
- /package/dist/{isEmpty-B7FX9wKt.js → isEmpty-D3lf6gH3.js} +0 -0
- /package/dist/{memoize-CSTI9eOX.js → memoize-DEvRzlwP.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var _a;
|
|
2
2
|
import "./purify.es-hTCfRGdl.js";
|
|
3
|
-
import { c as getEdgeId, g as utils_default } from "./chunk-S3R3BYOJ-
|
|
3
|
+
import { c as getEdgeId, g as utils_default } from "./chunk-S3R3BYOJ-DVdRer7T.js";
|
|
4
4
|
import { i as log, r as __name, t as select_default } from "./src-DbP20yFZ.js";
|
|
5
5
|
import { $ as rgba_default, B as setAccTitle, C as getDiagramTitle, H as setConfig2, U as setDiagramTitle, _ as getAccDescription, a as clear, b as getConfig2, s as common_default, u as defaultConfig2, v as getAccTitle, z as setAccDescription } from "./chunk-ABZYJK2D-CZYCCtLy.js";
|
|
6
6
|
import { t as channel_default } from "./channel-X3JKk8gE.js";
|
|
@@ -9,10 +9,10 @@ import "./chunk-HN2XXSSU-DAhNp1ig.js";
|
|
|
9
9
|
import "./chunk-CVBHYZKI-BXHgce-x.js";
|
|
10
10
|
import "./chunk-ATLVNIR6-DaOzLLgN.js";
|
|
11
11
|
import "./dist-BjWd_Ei9.js";
|
|
12
|
-
import "./chunk-JA3XYJ7Z-
|
|
13
|
-
import { o as isValidShape } from "./chunk-JZLCHNYA-
|
|
14
|
-
import "./chunk-QXUST7PY-
|
|
15
|
-
import { r as render, t as getRegisteredLayoutAlgorithm } from "./chunk-N4CR4FBY-
|
|
12
|
+
import "./chunk-JA3XYJ7Z-B2BoMdpr.js";
|
|
13
|
+
import { o as isValidShape } from "./chunk-JZLCHNYA-CkHD9mQU.js";
|
|
14
|
+
import "./chunk-QXUST7PY-BnSZbSK7.js";
|
|
15
|
+
import { r as render, t as getRegisteredLayoutAlgorithm } from "./chunk-N4CR4FBY-DDeXUk3y.js";
|
|
16
16
|
import { t as getIconStyles } from "./chunk-FMBD7UC4-BjIaI-XO.js";
|
|
17
17
|
import { t as getDiagramElement } from "./chunk-55IACEB6-DRsSqxbU.js";
|
|
18
18
|
import { t as setupViewPortForSVG } from "./chunk-QN33PNHL-B9p5ojHB.js";
|
|
@@ -4,7 +4,7 @@ import { t as linear } from "./linear-v57w-fIs.js";
|
|
|
4
4
|
import { n as time, o as min, s as max } from "./time-Bdnxi22U.js";
|
|
5
5
|
import "./defaultLocale-qS7DaAmi.js";
|
|
6
6
|
import { C as timeMinute, N as millisecond, T as second, c as timeMonth, d as timeMonday, f as timeSaturday, g as timeWednesday, h as timeTuesday, m as timeThursday, p as timeSunday, t as timeFormat, u as timeFriday, v as timeDay, x as timeHour } from "./defaultLocale-Bxoo2-30.js";
|
|
7
|
-
import { g as utils_default } from "./chunk-S3R3BYOJ-
|
|
7
|
+
import { g as utils_default } from "./chunk-S3R3BYOJ-DVdRer7T.js";
|
|
8
8
|
import { s as hcl_default } from "./timer-BPKOAfmx.js";
|
|
9
9
|
import { i as log, o as require_dayjs_min, r as __name, t as select_default } from "./src-DbP20yFZ.js";
|
|
10
10
|
import { B as setAccTitle, C as getDiagramTitle, U as setDiagramTitle, _ as getAccDescription, a as clear, b as getConfig2, c as configureSvgSize, s as common_default, v as getAccTitle, z as setAccDescription } from "./chunk-ABZYJK2D-CZYCCtLy.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./chunk-TCCFYFTB-
|
|
1
|
+
import "./chunk-TCCFYFTB-BdE6BTq1.js";
|
|
2
2
|
import "./main-XimWhSi_.js";
|
|
3
|
-
import { n as createGitGraphServices, t as GitGraphModule } from "./chunk-4F5CHEZ2-
|
|
3
|
+
import { n as createGitGraphServices, t as GitGraphModule } from "./chunk-4F5CHEZ2-oWcaQSBe.js";
|
|
4
4
|
export {
|
|
5
5
|
createGitGraphServices
|
|
6
6
|
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
var _a;
|
|
2
|
-
import "./chunk-TCCFYFTB-
|
|
2
|
+
import "./chunk-TCCFYFTB-BdE6BTq1.js";
|
|
3
3
|
import "./main-XimWhSi_.js";
|
|
4
4
|
import "./purify.es-hTCfRGdl.js";
|
|
5
|
-
import { g as utils_default, i as cleanAndMerge, m as random } from "./chunk-S3R3BYOJ-
|
|
5
|
+
import { g as utils_default, i as cleanAndMerge, m as random } from "./chunk-S3R3BYOJ-DVdRer7T.js";
|
|
6
6
|
import { i as log, r as __name, t as select_default } from "./src-DbP20yFZ.js";
|
|
7
7
|
import { B as setAccTitle, C as getDiagramTitle, K as setupGraphViewbox2, U as setDiagramTitle, _ as getAccDescription, a as clear, b as getConfig2, d as defaultConfig_default, s as common_default, v as getAccTitle, y as getConfig, z as setAccDescription } from "./chunk-ABZYJK2D-CZYCCtLy.js";
|
|
8
8
|
import "./dist-BjWd_Ei9.js";
|
|
9
|
-
import "./chunk-UMXZTB3W-
|
|
10
|
-
import "./chunk-4F5CHEZ2-
|
|
11
|
-
import "./chunk-FRFDVMJY-
|
|
12
|
-
import "./chunk-SJTYNZTY-
|
|
13
|
-
import "./chunk-PL6DKKU2-
|
|
14
|
-
import "./chunk-TQ3KTPDO-
|
|
15
|
-
import "./chunk-B2363JML-
|
|
9
|
+
import "./chunk-UMXZTB3W-C5Hu2atA.js";
|
|
10
|
+
import "./chunk-4F5CHEZ2-oWcaQSBe.js";
|
|
11
|
+
import "./chunk-FRFDVMJY-Dgl-7l0K.js";
|
|
12
|
+
import "./chunk-SJTYNZTY-DPOwAZc-.js";
|
|
13
|
+
import "./chunk-PL6DKKU2-CpBHhdj8.js";
|
|
14
|
+
import "./chunk-TQ3KTPDO-BCXCq8f2.js";
|
|
15
|
+
import "./chunk-B2363JML-72CRxZbk.js";
|
|
16
16
|
import { t as populateCommonDb } from "./chunk-4BX2VUAB-C2skOn1Z.js";
|
|
17
|
-
import { t as parse } from "./mermaid-parser.core-
|
|
17
|
+
import { t as parse } from "./mermaid-parser.core-fZdPSYor.js";
|
|
18
18
|
import { t as ImperativeState } from "./chunk-QZHKN3VN-BK9tlbfw.js";
|
|
19
19
|
var commitType = {
|
|
20
20
|
NORMAL: 0,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { L as isFunction_default, N as constant_default, T as _baseRest_default, t as isArrayLikeObject_default } from "./isArrayLikeObject-LXbTYiBa.js";
|
|
2
|
-
import { r as _baseFlatten_default } from "./hasIn-
|
|
3
|
-
import { t as isEmpty_default } from "./isEmpty-
|
|
4
|
-
import { a as filter_default, b as keys_default, i as values_default, n as reduce_default, r as isUndefined_default, s as forEach_default, t as _baseUniq_default } from "./_baseUniq-
|
|
2
|
+
import { r as _baseFlatten_default } from "./hasIn-BDDmuo1w.js";
|
|
3
|
+
import { t as isEmpty_default } from "./isEmpty-D3lf6gH3.js";
|
|
4
|
+
import { a as filter_default, b as keys_default, i as values_default, n as reduce_default, r as isUndefined_default, s as forEach_default, t as _baseUniq_default } from "./_baseUniq-Be_p_Ty6.js";
|
|
5
5
|
var union_default = _baseRest_default(function(e) {
|
|
6
6
|
return _baseUniq_default(_baseFlatten_default(e, 1, isArrayLikeObject_default, true));
|
|
7
7
|
}), DEFAULT_EDGE_NAME = "\0", GRAPH_NODE = "\0", EDGE_KEY_DELIM = "", Graph = class {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { B as isArray_default, U as _Symbol_default, j as _isIndex_default, w as isLength_default, y as isArguments_default } from "./isArrayLikeObject-LXbTYiBa.js";
|
|
2
2
|
import { t as isSymbol_default } from "./isSymbol-DCbjQG_U.js";
|
|
3
|
-
import { t as memoize_default } from "./memoize-
|
|
3
|
+
import { t as memoize_default } from "./memoize-DEvRzlwP.js";
|
|
4
4
|
function arrayMap(f, R) {
|
|
5
5
|
for (var z = -1, B = f == null ? 0 : f.length, V = Array(B); ++z < B; ) V[z] = R(f[z], z, f);
|
|
6
6
|
return V;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./chunk-TCCFYFTB-
|
|
1
|
+
import "./chunk-TCCFYFTB-BdE6BTq1.js";
|
|
2
2
|
import "./main-XimWhSi_.js";
|
|
3
|
-
import { n as createInfoServices, t as InfoModule } from "./chunk-FRFDVMJY-
|
|
3
|
+
import { n as createInfoServices, t as InfoModule } from "./chunk-FRFDVMJY-Dgl-7l0K.js";
|
|
4
4
|
export {
|
|
5
5
|
createInfoServices
|
|
6
6
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import "./chunk-TCCFYFTB-
|
|
1
|
+
import "./chunk-TCCFYFTB-BdE6BTq1.js";
|
|
2
2
|
import "./main-XimWhSi_.js";
|
|
3
3
|
import "./purify.es-hTCfRGdl.js";
|
|
4
4
|
import { i as log, r as __name } from "./src-DbP20yFZ.js";
|
|
5
5
|
import { t as package_default } from "./chunk-DR5Q36YT-C40cYcy5.js";
|
|
6
6
|
import { c as configureSvgSize } from "./chunk-ABZYJK2D-CZYCCtLy.js";
|
|
7
7
|
import { t as selectSvgElement } from "./chunk-EXTU4WIE-jUPSAk3i.js";
|
|
8
|
-
import "./chunk-UMXZTB3W-
|
|
9
|
-
import "./chunk-4F5CHEZ2-
|
|
10
|
-
import "./chunk-FRFDVMJY-
|
|
11
|
-
import "./chunk-SJTYNZTY-
|
|
12
|
-
import "./chunk-PL6DKKU2-
|
|
13
|
-
import "./chunk-TQ3KTPDO-
|
|
14
|
-
import "./chunk-B2363JML-
|
|
15
|
-
import { t as parse } from "./mermaid-parser.core-
|
|
8
|
+
import "./chunk-UMXZTB3W-C5Hu2atA.js";
|
|
9
|
+
import "./chunk-4F5CHEZ2-oWcaQSBe.js";
|
|
10
|
+
import "./chunk-FRFDVMJY-Dgl-7l0K.js";
|
|
11
|
+
import "./chunk-SJTYNZTY-DPOwAZc-.js";
|
|
12
|
+
import "./chunk-PL6DKKU2-CpBHhdj8.js";
|
|
13
|
+
import "./chunk-TQ3KTPDO-BCXCq8f2.js";
|
|
14
|
+
import "./chunk-B2363JML-72CRxZbk.js";
|
|
15
|
+
import { t as parse } from "./mermaid-parser.core-fZdPSYor.js";
|
|
16
16
|
var parser = { parse: /* @__PURE__ */ __name(async (a) => {
|
|
17
17
|
let o = await parse("info", a);
|
|
18
18
|
log.debug(o);
|
package/dist/{kanban-definition-3W4ZIXB7-DHEAKdZt.js → kanban-definition-3W4ZIXB7-C5FK4v7x.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./purify.es-hTCfRGdl.js";
|
|
2
|
-
import "./chunk-S3R3BYOJ-
|
|
2
|
+
import "./chunk-S3R3BYOJ-DVdRer7T.js";
|
|
3
3
|
import { i as log, r as __name } from "./src-DbP20yFZ.js";
|
|
4
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-CZYCCtLy.js";
|
|
5
5
|
import { t as selectSvgElement } from "./chunk-EXTU4WIE-jUPSAk3i.js";
|
|
@@ -7,8 +7,8 @@ import { n as load, t as JSON_SCHEMA } from "./chunk-MI3HLSF2-AKwFNP3m.js";
|
|
|
7
7
|
import "./chunk-CVBHYZKI-BXHgce-x.js";
|
|
8
8
|
import "./chunk-ATLVNIR6-DaOzLLgN.js";
|
|
9
9
|
import "./dist-BjWd_Ei9.js";
|
|
10
|
-
import "./chunk-JA3XYJ7Z-
|
|
11
|
-
import { a as insertNode, c as positionNode, i as insertCluster } from "./chunk-JZLCHNYA-
|
|
10
|
+
import "./chunk-JA3XYJ7Z-B2BoMdpr.js";
|
|
11
|
+
import { a as insertNode, c as positionNode, i as insertCluster } from "./chunk-JZLCHNYA-CkHD9mQU.js";
|
|
12
12
|
import { t as getIconStyles } from "./chunk-FMBD7UC4-BjIaI-XO.js";
|
|
13
13
|
var parser = (function() {
|
|
14
14
|
var e = /* @__PURE__ */ __name(function(e2, t, n2, r2) {
|
package/dist/main.js
CHANGED
|
@@ -39,9 +39,9 @@ import { $ as StyleNamespace, A as looseObject, B as union, C as any, F as optio
|
|
|
39
39
|
import { a as Content$2, c as Root$6, i as prettyError, n as ErrorBanner, o as Overlay, r as CellNotInitializedError, s as Portal$1, t as Banner } from "./error-banner-B_ioHva3.js";
|
|
40
40
|
import { a as TooltipRoot, i as TooltipProvider, n as TooltipContent, o as TooltipTrigger, r as TooltipPortal, t as Tooltip } from "./tooltip-DwNnFsxZ.js";
|
|
41
41
|
import { n as minimalSetup, r as _extends$5, t as esm_default, u as CopyClipboardIcon } from "./esm-CDHI9cuO.js";
|
|
42
|
-
import { a as get_default } from "./hasIn-
|
|
43
|
-
import { n as _baseSet_default } from "./_basePickBy-
|
|
44
|
-
import {
|
|
42
|
+
import { a as get_default } from "./hasIn-BDDmuo1w.js";
|
|
43
|
+
import { n as _baseSet_default } from "./_basePickBy-C-mod5Dp.js";
|
|
44
|
+
import { t as pick_default } from "./pick-DfX21dj2.js";
|
|
45
45
|
import { i as debounce_default, r as KnownQueryParams, t as CSSClasses } from "./constants-CvyfaCvs.js";
|
|
46
46
|
import { C as dequal, S as getBuildingBlocks, _ as useSetAtom, c as AppConfigSchema, d as useJotaiEffect, g as useAtomValue, h as useAtom, i as autoInstantiateAtom, m as Provider, n as useTheme, o as localeAtom, p as isIslands, r as aiEnabledAtom, s as useResolvedMarimoConfig, u as store, v as useStore, w as useEvent_default, x as buildStore, y as atom } from "./useTheme-CzwDokKe.js";
|
|
47
47
|
import { Z as EditorView } from "./dist-CxZvoNao.js";
|
|
@@ -34124,7 +34124,6 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
|
|
|
34124
34124
|
[r.id]: d
|
|
34125
34125
|
}));
|
|
34126
34126
|
}
|
|
34127
|
-
var MAX_PAGES_BEFORE_CLAMPING = 100;
|
|
34128
34127
|
const DataTablePagination = ({ table: e, tableLoading: r, showPageSizeSelector: c }) => {
|
|
34129
34128
|
let { locale: d } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), f = Math.min(e.getState().pagination.pageIndex + 1, e.getPageCount()), h = e.getPageCount(), _ = e.getState().pagination.pageSize, S = (e2) => {
|
|
34130
34129
|
r || e2();
|
|
@@ -34270,16 +34269,62 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
|
|
|
34270
34269
|
})
|
|
34271
34270
|
]
|
|
34272
34271
|
});
|
|
34273
|
-
}
|
|
34274
|
-
|
|
34275
|
-
|
|
34276
|
-
|
|
34277
|
-
|
|
34278
|
-
|
|
34272
|
+
};
|
|
34273
|
+
var PAGE_ITEM_HEIGHT = 32;
|
|
34274
|
+
function matchingPageRanges(e, r) {
|
|
34275
|
+
let c = Number.parseInt(e, 10);
|
|
34276
|
+
if (Number.isNaN(c) || c <= 0 || String(c) !== e) return [];
|
|
34277
|
+
let d = [], f = 1;
|
|
34278
|
+
for (; c * f <= r; ) {
|
|
34279
|
+
let e2 = c * f, h = Math.min((c + 1) * f - 1, r);
|
|
34280
|
+
d.push([
|
|
34281
|
+
e2,
|
|
34282
|
+
h
|
|
34283
|
+
]), f *= 10;
|
|
34284
|
+
}
|
|
34285
|
+
return d;
|
|
34286
|
+
}
|
|
34287
|
+
function createPageMapping(e, r) {
|
|
34288
|
+
if (e === "") return {
|
|
34289
|
+
count: r,
|
|
34290
|
+
pageAtIndex: (e2) => e2 + 1,
|
|
34291
|
+
indexOfPage: (e2) => e2 - 1
|
|
34292
|
+
};
|
|
34293
|
+
let c = matchingPageRanges(e, r), d = 0;
|
|
34294
|
+
for (let [e2, r2] of c) d += r2 - e2 + 1;
|
|
34295
|
+
return {
|
|
34296
|
+
count: d,
|
|
34297
|
+
pageAtIndex: (e2) => {
|
|
34298
|
+
let r2 = 0;
|
|
34299
|
+
for (let [d2, f] of c) {
|
|
34300
|
+
let c2 = f - d2 + 1;
|
|
34301
|
+
if (e2 < r2 + c2) return d2 + (e2 - r2);
|
|
34302
|
+
r2 += c2;
|
|
34303
|
+
}
|
|
34304
|
+
return -1;
|
|
34305
|
+
},
|
|
34306
|
+
indexOfPage: (e2) => {
|
|
34307
|
+
let r2 = 0;
|
|
34308
|
+
for (let [d2, f] of c) {
|
|
34309
|
+
if (e2 >= d2 && e2 <= f) return r2 + (e2 - d2);
|
|
34310
|
+
r2 += f - d2 + 1;
|
|
34311
|
+
}
|
|
34312
|
+
return -1;
|
|
34313
|
+
}
|
|
34279
34314
|
};
|
|
34315
|
+
}
|
|
34316
|
+
const PageSelector = ({ currentPage: e, totalPages: r, onPageChange: c }) => {
|
|
34317
|
+
let [d, f] = import_react.useState(false), [h, _] = import_react.useState(""), y = import_react.useMemo(() => createPageMapping(h, r), [
|
|
34318
|
+
h,
|
|
34319
|
+
r
|
|
34320
|
+
]), S = (e2) => {
|
|
34321
|
+
c(e2 - 1), _(""), f(false);
|
|
34322
|
+
}, w = Math.min(y.count * PAGE_ITEM_HEIGHT, 240);
|
|
34280
34323
|
return (0, import_jsx_runtime.jsxs)(Popover$1, {
|
|
34281
34324
|
open: r > 1 ? d : false,
|
|
34282
|
-
onOpenChange:
|
|
34325
|
+
onOpenChange: (e2) => {
|
|
34326
|
+
f(e2), e2 || _("");
|
|
34327
|
+
},
|
|
34283
34328
|
children: [
|
|
34284
34329
|
(0, import_jsx_runtime.jsx)(PopoverTrigger, {
|
|
34285
34330
|
asChild: true,
|
|
@@ -34302,8 +34347,8 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
|
|
|
34302
34347
|
align: "center",
|
|
34303
34348
|
sideOffset: 6,
|
|
34304
34349
|
children: (0, import_jsx_runtime.jsxs)(Command, {
|
|
34305
|
-
shouldFilter:
|
|
34306
|
-
|
|
34350
|
+
shouldFilter: false,
|
|
34351
|
+
value: String(e),
|
|
34307
34352
|
children: [
|
|
34308
34353
|
(0, import_jsx_runtime.jsx)(CommandInput, {
|
|
34309
34354
|
placeholder: `Page (1\u2013${r})`,
|
|
@@ -34311,34 +34356,33 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
|
|
|
34311
34356
|
className: "text-xs h-8",
|
|
34312
34357
|
autoFocus: true,
|
|
34313
34358
|
icon: null,
|
|
34359
|
+
value: h,
|
|
34360
|
+
onValueChange: _,
|
|
34314
34361
|
onKeyDown: (e2) => {
|
|
34315
34362
|
![
|
|
34316
34363
|
"Backspace",
|
|
34317
34364
|
"Delete",
|
|
34318
34365
|
"ArrowLeft",
|
|
34319
34366
|
"ArrowRight",
|
|
34367
|
+
"ArrowUp",
|
|
34368
|
+
"ArrowDown",
|
|
34320
34369
|
"Tab",
|
|
34321
34370
|
"Enter",
|
|
34322
34371
|
"Escape"
|
|
34323
34372
|
].includes(e2.key) && !/^\d$/.test(e2.key) && e2.preventDefault();
|
|
34324
34373
|
}
|
|
34325
34374
|
}),
|
|
34326
|
-
(0, import_jsx_runtime.
|
|
34327
|
-
className: "max-h-60",
|
|
34328
|
-
children:
|
|
34329
|
-
|
|
34330
|
-
|
|
34331
|
-
|
|
34332
|
-
|
|
34333
|
-
|
|
34334
|
-
|
|
34335
|
-
|
|
34336
|
-
|
|
34337
|
-
(0, import_jsx_runtime.jsx)(CommandEmpty, {
|
|
34338
|
-
className: "py-2 text-center text-xs text-muted-foreground",
|
|
34339
|
-
children: "No matching page"
|
|
34340
|
-
})
|
|
34341
|
-
]
|
|
34375
|
+
(0, import_jsx_runtime.jsx)(CommandList, {
|
|
34376
|
+
className: "max-h-60 overflow-hidden",
|
|
34377
|
+
children: y.count === 0 ? (0, import_jsx_runtime.jsx)(CommandEmpty, {
|
|
34378
|
+
className: "py-2 text-center text-xs text-muted-foreground",
|
|
34379
|
+
children: "No matching page"
|
|
34380
|
+
}) : (0, import_jsx_runtime.jsx)(VirtualizedPageList, {
|
|
34381
|
+
mapping: y,
|
|
34382
|
+
currentPage: e,
|
|
34383
|
+
listHeight: w,
|
|
34384
|
+
onSelect: S
|
|
34385
|
+
})
|
|
34342
34386
|
})
|
|
34343
34387
|
]
|
|
34344
34388
|
})
|
|
@@ -34346,41 +34390,58 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
|
|
|
34346
34390
|
]
|
|
34347
34391
|
});
|
|
34348
34392
|
};
|
|
34349
|
-
|
|
34350
|
-
|
|
34351
|
-
|
|
34352
|
-
|
|
34353
|
-
|
|
34354
|
-
|
|
34355
|
-
|
|
34356
|
-
|
|
34357
|
-
|
|
34358
|
-
|
|
34359
|
-
}
|
|
34360
|
-
|
|
34361
|
-
|
|
34362
|
-
|
|
34363
|
-
|
|
34364
|
-
|
|
34365
|
-
|
|
34366
|
-
|
|
34367
|
-
|
|
34368
|
-
|
|
34369
|
-
|
|
34370
|
-
|
|
34371
|
-
|
|
34372
|
-
|
|
34373
|
-
|
|
34374
|
-
|
|
34375
|
-
|
|
34376
|
-
|
|
34377
|
-
|
|
34378
|
-
|
|
34379
|
-
|
|
34393
|
+
var VirtualizedPageList = ({ mapping: e, currentPage: r, listHeight: c, onSelect: d }) => {
|
|
34394
|
+
let f = import_react.useRef(null), h = e.indexOfPage(r), _ = useVirtualizer({
|
|
34395
|
+
count: e.count,
|
|
34396
|
+
getScrollElement: () => f.current,
|
|
34397
|
+
estimateSize: () => PAGE_ITEM_HEIGHT,
|
|
34398
|
+
overscan: 10,
|
|
34399
|
+
initialOffset: h > 0 ? Math.max(0, h * PAGE_ITEM_HEIGHT - c / 2) : 0
|
|
34400
|
+
}), S = import_react.useRef(e.count);
|
|
34401
|
+
return import_react.useEffect(() => {
|
|
34402
|
+
e.count !== S.current && (_.scrollToIndex(0), S.current = e.count);
|
|
34403
|
+
}, [
|
|
34404
|
+
e.count,
|
|
34405
|
+
_
|
|
34406
|
+
]), (0, import_jsx_runtime.jsx)("div", {
|
|
34407
|
+
ref: f,
|
|
34408
|
+
style: {
|
|
34409
|
+
height: c,
|
|
34410
|
+
overflow: "auto"
|
|
34411
|
+
},
|
|
34412
|
+
children: (0, import_jsx_runtime.jsx)("div", {
|
|
34413
|
+
style: {
|
|
34414
|
+
height: _.getTotalSize(),
|
|
34415
|
+
width: "100%",
|
|
34416
|
+
position: "relative"
|
|
34417
|
+
},
|
|
34418
|
+
children: _.getVirtualItems().map((c2) => {
|
|
34419
|
+
let f2 = e.pageAtIndex(c2.index);
|
|
34420
|
+
return (0, import_jsx_runtime.jsx)(CommandItem, {
|
|
34421
|
+
value: String(f2),
|
|
34422
|
+
"data-testid": "page-option",
|
|
34423
|
+
"aria-selected": f2 === r,
|
|
34424
|
+
className: cn("text-xs cursor-pointer", f2 === r && "font-semibold bg-accent"),
|
|
34425
|
+
style: {
|
|
34426
|
+
position: "absolute",
|
|
34427
|
+
top: 0,
|
|
34428
|
+
left: 0,
|
|
34429
|
+
width: "100%",
|
|
34430
|
+
height: c2.size,
|
|
34431
|
+
transform: `translateY(${c2.start}px)`
|
|
34432
|
+
},
|
|
34433
|
+
onSelect: () => d(f2),
|
|
34434
|
+
onMouseDown: Events.preventFocus,
|
|
34435
|
+
children: f2
|
|
34436
|
+
}, f2);
|
|
34437
|
+
})
|
|
34438
|
+
})
|
|
34439
|
+
});
|
|
34440
|
+
};
|
|
34380
34441
|
function prettifyRowCount(e, r) {
|
|
34381
34442
|
return `${prettyNumber(e, r)} ${new PluralWord("row").pluralize(e)}`;
|
|
34382
34443
|
}
|
|
34383
|
-
const prettifyRowColumnCount = (e, r, c) => [
|
|
34444
|
+
const prettifyRowColumnCount = ({ numRows: e, totalColumns: r, locale: c }) => [
|
|
34384
34445
|
e === "too_many" ? "Unknown" : prettifyRowCount(e, c),
|
|
34385
34446
|
`${prettyNumber(r, c)} ${new PluralWord("column").pluralize(r)}`
|
|
34386
34447
|
].join(", ");
|
|
@@ -34566,7 +34627,11 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
|
|
|
34566
34627
|
})
|
|
34567
34628
|
]
|
|
34568
34629
|
}) : (0, import_jsx_runtime.jsx)("span", {
|
|
34569
|
-
children: prettifyRowColumnCount(
|
|
34630
|
+
children: prettifyRowColumnCount({
|
|
34631
|
+
numRows: f.getRowCount(),
|
|
34632
|
+
totalColumns: r,
|
|
34633
|
+
locale: O
|
|
34634
|
+
})
|
|
34570
34635
|
});
|
|
34571
34636
|
})()
|
|
34572
34637
|
}),
|
|
@@ -37187,7 +37252,7 @@ ${w}`,
|
|
|
37187
37252
|
};
|
|
37188
37253
|
}
|
|
37189
37254
|
};
|
|
37190
|
-
var LazyChatbot = import_react.lazy(() => import("./chat-ui-
|
|
37255
|
+
var LazyChatbot = import_react.lazy(() => import("./chat-ui-DIVMRPO5.js").then((e) => ({
|
|
37191
37256
|
default: e.Chatbot
|
|
37192
37257
|
}))), messageSchema = array(object({
|
|
37193
37258
|
id: string(),
|
|
@@ -45015,7 +45080,11 @@ ${c}
|
|
|
45015
45080
|
});
|
|
45016
45081
|
q = "mb-3";
|
|
45017
45082
|
let Q72;
|
|
45018
|
-
r[17] !== S || r[18] !== h || r[19] !== f ? (Q72 = prettifyRowColumnCount(
|
|
45083
|
+
r[17] !== S || r[18] !== h || r[19] !== f ? (Q72 = prettifyRowColumnCount({
|
|
45084
|
+
numRows: f,
|
|
45085
|
+
totalColumns: h,
|
|
45086
|
+
locale: S
|
|
45087
|
+
}), r[17] = S, r[18] = h, r[19] = f, r[20] = Q72) : Q72 = r[20], X7 = (0, import_jsx_runtime.jsxs)("span", {
|
|
45019
45088
|
className: "text-xs font-semibold ml-2 flex",
|
|
45020
45089
|
children: [
|
|
45021
45090
|
Q72,
|
|
@@ -59064,7 +59133,7 @@ ${c}
|
|
|
59064
59133
|
diagram: e.data.diagram
|
|
59065
59134
|
});
|
|
59066
59135
|
}
|
|
59067
|
-
}, LazyMermaid = (0, import_react.lazy)(() => import("./mermaid-
|
|
59136
|
+
}, LazyMermaid = (0, import_react.lazy)(() => import("./mermaid-CcM8GHeT.js").then(async (m2) => {
|
|
59068
59137
|
await m2.__tla;
|
|
59069
59138
|
return m2;
|
|
59070
59139
|
})), import_compiler_runtime$22 = require_compiler_runtime();
|
|
@@ -68835,7 +68904,7 @@ ${c}
|
|
|
68835
68904
|
return Logger.warn("Failed to get version from mount config"), null;
|
|
68836
68905
|
}
|
|
68837
68906
|
}
|
|
68838
|
-
const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.2-
|
|
68907
|
+
const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.2-dev18"), showCodeInRunModeAtom = atom(true);
|
|
68839
68908
|
atom(null);
|
|
68840
68909
|
var VIRTUAL_FILE_REGEX = /\/@file\/([^\s"&'/]+)\.([\dA-Za-z]+)/g, VirtualFileTracker = class e {
|
|
68841
68910
|
constructor() {
|