@marimo-team/islands 0.14.18-dev29 → 0.14.18-dev30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ConnectedDataExplorerComponent-BdNI3U_Q.js → ConnectedDataExplorerComponent--CKIL-CI.js} +2 -2
- package/dist/{ImageComparisonComponent-BaXYQw1q.js → ImageComparisonComponent-D9H4Qy32.js} +1 -1
- package/dist/{_baseUniq-Dhn_Qa6Q.js → _baseUniq-bLCPH1Ep.js} +54 -54
- package/dist/{any-language-editor-B67r5EeA.js → any-language-editor-DjrwgW0G.js} +1 -1
- package/dist/{architectureDiagram-SUXI7LT5-BViDWSK_.js → architectureDiagram-SUXI7LT5-j0IHGKaY.js} +5 -5
- package/dist/{blockDiagram-6J76NXCF-qnZE6FFZ.js → blockDiagram-6J76NXCF-De8TWMDN.js} +5 -5
- package/dist/{c4Diagram-6F6E4RAY-DVDx6CRj.js → c4Diagram-6F6E4RAY-C_LDok9B.js} +2 -2
- package/dist/{channel-w0TvEgyJ.js → channel-BfUZ6-T3.js} +1 -1
- package/dist/{chunk-353BL4L5-BERPTU9j.js → chunk-353BL4L5-CCxt33Au.js} +1 -1
- package/dist/{chunk-67H74DCK-BKpGel6k.js → chunk-67H74DCK-DCXh45M8.js} +1 -1
- package/dist/{chunk-AACKK3MU-DKFmZAmW.js → chunk-AACKK3MU-C0xSOsSm.js} +1 -1
- package/dist/{chunk-BFAMUDN2-ByskscqU.js → chunk-BFAMUDN2-Behwqfnf.js} +1 -1
- package/dist/{chunk-E2GYISFI-CU8uK8B5.js → chunk-E2GYISFI-CoVfLOj4.js} +1 -1
- package/dist/{chunk-OW32GOEJ-D-oJnNc0.js → chunk-OW32GOEJ-BDKesCNY.js} +3 -3
- package/dist/{chunk-SKB7J2MH-D3VsLhj0.js → chunk-SKB7J2MH-Bp2xM-uy.js} +1 -1
- package/dist/{chunk-SZ463SBG-DdwzKdw7.js → chunk-SZ463SBG-DBpCja3U.js} +4 -4
- package/dist/{classDiagram-v2-YAWTLIQI-hCM6BJNe.js → classDiagram-M3E45YP4-BFubzwOG.js} +2 -2
- package/dist/{classDiagram-M3E45YP4-hCM6BJNe.js → classDiagram-v2-YAWTLIQI-BFubzwOG.js} +2 -2
- package/dist/{clone-C3HJdTTe.js → clone-BjtVIXpn.js} +1 -1
- package/dist/common-keywords-BefPf8TA.js +7 -0
- package/dist/{dagre-JOIXM2OF-Bf_l2feu.js → dagre-JOIXM2OF-BgBiPRFN.js} +6 -6
- package/dist/{data-grid-overlay-editor-DBR9So5Q.js → data-grid-overlay-editor-_eqSIABJ.js} +2 -2
- package/dist/{diagram-5UYTHUR4-CVGF9hQS.js → diagram-5UYTHUR4-CgaKbTts.js} +3 -3
- package/dist/{diagram-VMROVX33-DQSvGvP9.js → diagram-VMROVX33-CGtdOsg5.js} +5 -5
- package/dist/{diagram-ZTM2IBQH-Cm-4zYmZ.js → diagram-ZTM2IBQH-DYMYPpKk.js} +3 -3
- package/dist/duckdb-keywords-WTV2Iln-.js +7 -0
- package/dist/{erDiagram-3M52JZNH-CqiPyo9l.js → erDiagram-3M52JZNH-1_JRyfPJ.js} +4 -4
- package/dist/{flowDiagram-KYDEHFYC-BWI6woXk.js → flowDiagram-KYDEHFYC-DybJmH8v.js} +5 -5
- package/dist/{ganttDiagram-EK5VF46D-Cgt9l9Dv.js → ganttDiagram-EK5VF46D-DN7qANi_.js} +77 -77
- package/dist/{gitGraphDiagram-GW3U2K7C-CXdWbamN.js → gitGraphDiagram-GW3U2K7C-BRhg1GOx.js} +4 -4
- package/dist/{glide-data-editor-BTCvCt5l.js → glide-data-editor-C_I32XXb.js} +3 -3
- package/dist/{graph-CRdDo12s.js → graph-1MP_VZoE.js} +3 -3
- package/dist/index-BBUizbqs.js +40315 -0
- package/dist/{index-BcFK7BwI.js → index-BPI6wlBl.js} +1 -1
- package/dist/{index-BAdBIZkO.js → index-BdqZ5Kqx.js} +144 -144
- package/dist/{index-BvqeeOGw.js → index-DgGFt9bf.js} +1 -1
- package/dist/{index-C0U8Uslh.js → index-VJmVdxOS.js} +1 -1
- package/dist/{infoDiagram-LHK5PUON-_TLjv1_J.js → infoDiagram-LHK5PUON-DqHV7DDC.js} +2 -2
- package/dist/{journeyDiagram-EWQZEKCU-1myKuvuX.js → journeyDiagram-EWQZEKCU-Bk17Zc9K.js} +3 -3
- package/dist/{kanban-definition-ZSS6B67P-CpcP-3pZ.js → kanban-definition-ZSS6B67P-BYWk6TtR.js} +2 -2
- package/dist/{layout-3sC0Rvql.js → layout-Cb92NmMg.js} +35 -35
- package/dist/{linear-C3_iQNqd.js → linear-B-wqjC4d.js} +19 -19
- package/dist/{main-CL0h4e1V.js → main-CtTUMXKF.js} +34657 -33517
- package/dist/main.js +1 -1
- package/dist/{mermaid-BeozQMHc.js → mermaid-T2yOt-G1.js} +29 -29
- package/dist/{min-snIjkOQ_.js → min-DrG2wG1u.js} +14 -14
- package/dist/{mindmap-definition-6CBA2TL7-DtWdud8Y.js → mindmap-definition-6CBA2TL7-DjzwaZH0.js} +2 -2
- package/dist/{number-overlay-editor-BZsA8E_T.js → number-overlay-editor-xCynwKqy.js} +2 -2
- package/dist/{pieDiagram-NIOCPIFQ-BcUZAX6Z.js → pieDiagram-NIOCPIFQ-CJ6GpE3G.js} +3 -3
- package/dist/{quadrantDiagram-2OG54O6I-d14MOQ5D.js → quadrantDiagram-2OG54O6I-XdD8LFCS.js} +2 -2
- package/dist/{react-plotly-D-OJ0ixl.js → react-plotly-CU1xz0uB.js} +1 -1
- package/dist/{requirementDiagram-QOLK2EJ7-CIM03878.js → requirementDiagram-QOLK2EJ7-BfjB7dTg.js} +3 -3
- package/dist/{sankeyDiagram-4UZDY2LN-BdjxpeGf.js → sankeyDiagram-4UZDY2LN-B5iAGqA4.js} +1 -1
- package/dist/{sequenceDiagram-SKLFT4DO-DwTPOF0M.js → sequenceDiagram-SKLFT4DO-BfZhH-rO.js} +3 -3
- package/dist/{slides-component-CuHbdUWv.js → slides-component-QFXs_rBG.js} +26 -26
- package/dist/{stateDiagram-MI5ZYTHO-DbZ86f1c.js → stateDiagram-MI5ZYTHO-Dj139u4x.js} +4 -4
- package/dist/{stateDiagram-v2-5AN5P6BG-Ciragt5S.js → stateDiagram-v2-5AN5P6BG-Bu6lvica.js} +2 -2
- package/dist/{time-Drwe-h9P.js → time-BuU9s2Gm.js} +2 -2
- package/dist/{timeline-definition-MYPXXCX6-C4anfUWH.js → timeline-definition-MYPXXCX6-cuErhWL7.js} +1 -1
- package/dist/{treemap-75Q7IDZK-B00Ow4su.js → treemap-75Q7IDZK-4DitaMDv.js} +131 -131
- package/dist/{vega-component-C-6aZaJB.js → vega-component-BuOK3GIr.js} +2 -2
- package/dist/{xychartDiagram-H2YORKM3-DKqJQPV7.js → xychartDiagram-H2YORKM3-DfnjQqUF.js} +2 -2
- package/package.json +3 -2
- package/src/components/app-config/user-config-form.tsx +25 -0
- package/src/components/chat/markdown-renderer.tsx +1 -1
- package/src/components/editor/ai/add-cell-with-ai.tsx +1 -1
- package/src/components/editor/cell/CreateCellButton.tsx +1 -1
- package/src/components/editor/cell/code/language-toggle.tsx +1 -1
- package/src/components/editor/renderers/CellArray.tsx +1 -1
- package/src/core/codemirror/language/LanguageAdapters.ts +1 -1
- package/src/core/codemirror/language/__tests__/sql.test.ts +5 -5
- package/src/core/codemirror/language/extension.ts +1 -1
- package/src/core/codemirror/language/languages/sql/completion-sources.tsx +99 -0
- package/src/core/codemirror/language/languages/sql/completion-store.ts +191 -0
- package/src/core/codemirror/language/languages/{sql.ts → sql/sql.ts} +124 -248
- package/src/core/codemirror/language/languages/sql/utils.ts +42 -0
- package/src/core/codemirror/language/panel/panel.tsx +1 -1
- package/src/core/config/feature-flag.tsx +2 -0
- package/src/theme/useTheme.ts +1 -1
- package/src/core/codemirror/language/languages/sql-dialects/README.md +0 -5
- package/src/core/codemirror/language/languages/sql-dialects/duckdb.ts +0 -22
- package/src/core/codemirror/language/languages/sql-dialects/spec_duckdb.py +0 -257
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var _a;
|
|
2
|
-
import { g as Yt } from "./chunk-E2GYISFI-
|
|
3
|
-
import { _ as A, o as Pt, l as $, c as g1, d as E1, p as qt, r as Ht, u as st, b as Xt, s as Qt, q as Jt, a as Zt, g as $t, t as te, k as ee, v as se, J as ie, x as re, y as et, z as ae, A as ne, B as ue } from "./mermaid-
|
|
4
|
-
import { g as oe } from "./chunk-BFAMUDN2-
|
|
5
|
-
import { s as le } from "./chunk-SKB7J2MH-
|
|
6
|
-
import { c as ce } from "./channel-
|
|
2
|
+
import { g as Yt } from "./chunk-E2GYISFI-CoVfLOj4.js";
|
|
3
|
+
import { _ as A, o as Pt, l as $, c as g1, d as E1, p as qt, r as Ht, u as st, b as Xt, s as Qt, q as Jt, a as Zt, g as $t, t as te, k as ee, v as se, J as ie, x as re, y as et, z as ae, A as ne, B as ue } from "./mermaid-T2yOt-G1.js";
|
|
4
|
+
import { g as oe } from "./chunk-BFAMUDN2-Behwqfnf.js";
|
|
5
|
+
import { s as le } from "./chunk-SKB7J2MH-Bp2xM-uy.js";
|
|
6
|
+
import { c as ce } from "./channel-BfUZ6-T3.js";
|
|
7
7
|
var he = "flowchart-", de = (_a = class {
|
|
8
8
|
// cspell:ignore funs
|
|
9
9
|
constructor() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as l, g as ye, s as ge, t as pe, q as ve, a as xe, b as Te, c as ct, d as gt, e as be, aq as U, l as Dt, k as we, j as _e, z as De, u as
|
|
2
|
-
import {
|
|
3
|
-
import { t as Ye, m as We, a as Ve, i as Pe } from "./time-
|
|
4
|
-
import { l as ze } from "./linear-
|
|
1
|
+
import { _ as l, g as ye, s as ge, t as pe, q as ve, a as xe, b as Te, c as ct, d as gt, e as be, aq as U, l as Dt, k as we, j as _e, z as De, u as Se } from "./mermaid-T2yOt-G1.js";
|
|
2
|
+
import { M as Wt, as as jt, ak as Ut, aj as Ce, aD as Ee, aE as Me, aF as Ae, aG as Ie, aH as Fe, aI as Le, ai as Zt, ah as $t, ag as Qt, a6 as Kt, af as Jt } from "./main-CtTUMXKF.js";
|
|
3
|
+
import { t as Ye, m as We, a as Ve, i as Pe } from "./time-BuU9s2Gm.js";
|
|
4
|
+
import { l as ze } from "./linear-B-wqjC4d.js";
|
|
5
5
|
function Oe(t) {
|
|
6
6
|
return t;
|
|
7
7
|
}
|
|
@@ -22,41 +22,41 @@ function qe() {
|
|
|
22
22
|
return !this.__axis;
|
|
23
23
|
}
|
|
24
24
|
function oe(t, e) {
|
|
25
|
-
var n = [], i = null, a = null, k = 6, d = 6, D = 3, E = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : 0.5,
|
|
26
|
-
function
|
|
25
|
+
var n = [], i = null, a = null, k = 6, d = 6, D = 3, E = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : 0.5, C = t === vt || t === pt ? -1 : 1, g = t === pt || t === Mt ? "x" : "y", F = t === vt || t === At ? Re : Ne;
|
|
26
|
+
function S(v) {
|
|
27
27
|
var q = i ?? (e.ticks ? e.ticks.apply(e, n) : e.domain()), A = a ?? (e.tickFormat ? e.tickFormat.apply(e, n) : Oe), x = Math.max(k, 0) + D, M = e.range(), L = +M[0] + E, Y = +M[M.length - 1] + E, N = (e.bandwidth ? He : Be)(e.copy(), E), R = v.selection ? v.selection() : v, G = R.selectAll(".domain").data([null]), z = R.selectAll(".tick").data(q, e).order(), y = z.exit(), b = z.enter().append("g").attr("class", "tick"), T = z.select("line"), p = z.select("text");
|
|
28
|
-
G = G.merge(G.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), z = z.merge(b), T = T.merge(b.append("line").attr("stroke", "currentColor").attr(g + "2",
|
|
28
|
+
G = G.merge(G.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), z = z.merge(b), T = T.merge(b.append("line").attr("stroke", "currentColor").attr(g + "2", C * k)), p = p.merge(b.append("text").attr("fill", "currentColor").attr(g, C * x).attr("dy", t === vt ? "0em" : t === At ? "0.71em" : "0.32em")), v !== R && (G = G.transition(v), z = z.transition(v), T = T.transition(v), p = p.transition(v), y = y.transition(v).attr("opacity", te).attr("transform", function(m) {
|
|
29
29
|
return isFinite(m = N(m)) ? F(m + E) : this.getAttribute("transform");
|
|
30
30
|
}), b.attr("opacity", te).attr("transform", function(m) {
|
|
31
31
|
var w = this.parentNode.__axis;
|
|
32
32
|
return F((w && isFinite(w = w(m)) ? w : N(m)) + E);
|
|
33
|
-
})), y.remove(), G.attr("d", t === pt || t === Mt ? d ? "M" +
|
|
33
|
+
})), y.remove(), G.attr("d", t === pt || t === Mt ? d ? "M" + C * d + "," + L + "H" + E + "V" + Y + "H" + C * d : "M" + E + "," + L + "V" + Y : d ? "M" + L + "," + C * d + "V" + E + "H" + Y + "V" + C * d : "M" + L + "," + E + "H" + Y), z.attr("opacity", 1).attr("transform", function(m) {
|
|
34
34
|
return F(N(m) + E);
|
|
35
|
-
}), T.attr(g + "2",
|
|
35
|
+
}), T.attr(g + "2", C * k), p.attr(g, C * x).text(A), R.filter(qe).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr("text-anchor", t === Mt ? "start" : t === pt ? "end" : "middle"), R.each(function() {
|
|
36
36
|
this.__axis = N;
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
|
-
return
|
|
40
|
-
return arguments.length ? (e = v,
|
|
41
|
-
},
|
|
42
|
-
return n = Array.from(arguments),
|
|
43
|
-
},
|
|
44
|
-
return arguments.length ? (n = v == null ? [] : Array.from(v),
|
|
45
|
-
},
|
|
46
|
-
return arguments.length ? (i = v == null ? null : Array.from(v),
|
|
47
|
-
},
|
|
48
|
-
return arguments.length ? (a = v,
|
|
49
|
-
},
|
|
50
|
-
return arguments.length ? (k = d = +v,
|
|
51
|
-
},
|
|
52
|
-
return arguments.length ? (k = +v,
|
|
53
|
-
},
|
|
54
|
-
return arguments.length ? (d = +v,
|
|
55
|
-
},
|
|
56
|
-
return arguments.length ? (D = +v,
|
|
57
|
-
},
|
|
58
|
-
return arguments.length ? (E = +v,
|
|
59
|
-
},
|
|
39
|
+
return S.scale = function(v) {
|
|
40
|
+
return arguments.length ? (e = v, S) : e;
|
|
41
|
+
}, S.ticks = function() {
|
|
42
|
+
return n = Array.from(arguments), S;
|
|
43
|
+
}, S.tickArguments = function(v) {
|
|
44
|
+
return arguments.length ? (n = v == null ? [] : Array.from(v), S) : n.slice();
|
|
45
|
+
}, S.tickValues = function(v) {
|
|
46
|
+
return arguments.length ? (i = v == null ? null : Array.from(v), S) : i && i.slice();
|
|
47
|
+
}, S.tickFormat = function(v) {
|
|
48
|
+
return arguments.length ? (a = v, S) : a;
|
|
49
|
+
}, S.tickSize = function(v) {
|
|
50
|
+
return arguments.length ? (k = d = +v, S) : k;
|
|
51
|
+
}, S.tickSizeInner = function(v) {
|
|
52
|
+
return arguments.length ? (k = +v, S) : k;
|
|
53
|
+
}, S.tickSizeOuter = function(v) {
|
|
54
|
+
return arguments.length ? (d = +v, S) : d;
|
|
55
|
+
}, S.tickPadding = function(v) {
|
|
56
|
+
return arguments.length ? (D = +v, S) : D;
|
|
57
|
+
}, S.offset = function(v) {
|
|
58
|
+
return arguments.length ? (E = +v, S) : E;
|
|
59
|
+
}, S;
|
|
60
60
|
}
|
|
61
61
|
function Ge(t) {
|
|
62
62
|
return oe(vt, t);
|
|
@@ -72,22 +72,22 @@ function Ue() {
|
|
|
72
72
|
})(je, function() {
|
|
73
73
|
var n = "day";
|
|
74
74
|
return function(i, a, k) {
|
|
75
|
-
var d = function(
|
|
76
|
-
return
|
|
75
|
+
var d = function(C) {
|
|
76
|
+
return C.add(4 - C.isoWeekday(), n);
|
|
77
77
|
}, D = a.prototype;
|
|
78
78
|
D.isoWeekYear = function() {
|
|
79
79
|
return d(this).year();
|
|
80
|
-
}, D.isoWeek = function(
|
|
81
|
-
if (!this.$utils().u(
|
|
82
|
-
var g, F,
|
|
80
|
+
}, D.isoWeek = function(C) {
|
|
81
|
+
if (!this.$utils().u(C)) return this.add(7 * (C - this.isoWeek()), n);
|
|
82
|
+
var g, F, S, v, q = d(this), A = (g = this.isoWeekYear(), F = this.$u, S = (F ? k.utc : k)().year(g).startOf("year"), v = 4 - S.isoWeekday(), S.isoWeekday() > 4 && (v += 7), S.add(v, n));
|
|
83
83
|
return q.diff(A, "week") + 1;
|
|
84
|
-
}, D.isoWeekday = function(
|
|
85
|
-
return this.$utils().u(
|
|
84
|
+
}, D.isoWeekday = function(C) {
|
|
85
|
+
return this.$utils().u(C) ? this.day() || 7 : this.day(this.day() % 7 ? C : C - 7);
|
|
86
86
|
};
|
|
87
87
|
var E = D.startOf;
|
|
88
|
-
D.startOf = function(
|
|
89
|
-
var F = this.$utils(),
|
|
90
|
-
return F.p(
|
|
88
|
+
D.startOf = function(C, g) {
|
|
89
|
+
var F = this.$utils(), S = !!F.u(g) || g;
|
|
90
|
+
return F.p(C) === "isoweek" ? S ? this.date(this.date() - (this.isoWeekday() - 1)).startOf("day") : this.date(this.date() - 1 - (this.isoWeekday() - 1) + 7).endOf("day") : E.bind(this)(C, g);
|
|
91
91
|
};
|
|
92
92
|
};
|
|
93
93
|
});
|
|
@@ -101,7 +101,7 @@ function Ke() {
|
|
|
101
101
|
(function(n, i) {
|
|
102
102
|
t.exports = i();
|
|
103
103
|
})(Qe, function() {
|
|
104
|
-
var n = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, i = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, a = /\d/, k = /\d\d/, d = /\d\d?/, D = /\d*[^-_:/,()\s\d]+/, E = {},
|
|
104
|
+
var n = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, i = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, a = /\d/, k = /\d\d/, d = /\d\d?/, D = /\d*[^-_:/,()\s\d]+/, E = {}, C = function(x) {
|
|
105
105
|
return (x = +x) + (x > 68 ? 1900 : 2e3);
|
|
106
106
|
}, g = function(x) {
|
|
107
107
|
return function(M) {
|
|
@@ -113,7 +113,7 @@ function Ke() {
|
|
|
113
113
|
var L = M.match(/([+-]|\d\d)/g), Y = 60 * L[1] + (+L[2] || 0);
|
|
114
114
|
return Y === 0 ? 0 : L[0] === "+" ? -Y : Y;
|
|
115
115
|
}(x);
|
|
116
|
-
}],
|
|
116
|
+
}], S = function(x) {
|
|
117
117
|
var M = E[x];
|
|
118
118
|
return M && (M.indexOf ? M : M.s.concat(M.f));
|
|
119
119
|
}, v = function(x, M) {
|
|
@@ -141,17 +141,17 @@ function Ke() {
|
|
|
141
141
|
var M = E.ordinal, L = x.match(/\d+/);
|
|
142
142
|
if (this.day = L[0], M) for (var Y = 1; Y <= 31; Y += 1) M(Y).replace(/\[|\]/g, "") === x && (this.day = Y);
|
|
143
143
|
}], w: [d, g("week")], ww: [k, g("week")], M: [d, g("month")], MM: [k, g("month")], MMM: [D, function(x) {
|
|
144
|
-
var M =
|
|
144
|
+
var M = S("months"), L = (S("monthsShort") || M.map(function(Y) {
|
|
145
145
|
return Y.slice(0, 3);
|
|
146
146
|
})).indexOf(x) + 1;
|
|
147
147
|
if (L < 1) throw new Error();
|
|
148
148
|
this.month = L % 12 || L;
|
|
149
149
|
}], MMMM: [D, function(x) {
|
|
150
|
-
var M =
|
|
150
|
+
var M = S("months").indexOf(x) + 1;
|
|
151
151
|
if (M < 1) throw new Error();
|
|
152
152
|
this.month = M % 12 || M;
|
|
153
153
|
}], Y: [/[+-]?\d+/, g("year")], YY: [k, function(x) {
|
|
154
|
-
this.year =
|
|
154
|
+
this.year = C(x);
|
|
155
155
|
}], YYYY: [/\d{4}/, g("year")], Z: F, ZZ: F };
|
|
156
156
|
function A(x) {
|
|
157
157
|
var M, L;
|
|
@@ -184,7 +184,7 @@ function Ke() {
|
|
|
184
184
|
};
|
|
185
185
|
}
|
|
186
186
|
return function(x, M, L) {
|
|
187
|
-
L.p.customParseFormat = true, x && x.parseTwoDigitYear && (
|
|
187
|
+
L.p.customParseFormat = true, x && x.parseTwoDigitYear && (C = x.parseTwoDigitYear);
|
|
188
188
|
var Y = M.prototype, N = Y.parse;
|
|
189
189
|
Y.parse = function(R) {
|
|
190
190
|
var G = R.date, z = R.utc, y = R.args;
|
|
@@ -231,7 +231,7 @@ function rr() {
|
|
|
231
231
|
a.format = function(d) {
|
|
232
232
|
var D = this, E = this.$locale();
|
|
233
233
|
if (!this.isValid()) return k.bind(this)(d);
|
|
234
|
-
var
|
|
234
|
+
var C = this.$utils(), g = (d || "YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g, function(F) {
|
|
235
235
|
switch (F) {
|
|
236
236
|
case "Q":
|
|
237
237
|
return Math.ceil((D.$M + 1) / 3);
|
|
@@ -245,13 +245,13 @@ function rr() {
|
|
|
245
245
|
return E.ordinal(D.week(), "W");
|
|
246
246
|
case "w":
|
|
247
247
|
case "ww":
|
|
248
|
-
return
|
|
248
|
+
return C.s(D.week(), F === "w" ? 1 : 2, "0");
|
|
249
249
|
case "W":
|
|
250
250
|
case "WW":
|
|
251
|
-
return
|
|
251
|
+
return C.s(D.isoWeek(), F === "W" ? 1 : 2, "0");
|
|
252
252
|
case "k":
|
|
253
253
|
case "kk":
|
|
254
|
-
return
|
|
254
|
+
return C.s(String(D.$H === 0 ? 24 : D.$H), F === "k" ? 1 : 2, "0");
|
|
255
255
|
case "X":
|
|
256
256
|
return Math.floor(D.$d.getTime() / 1e3);
|
|
257
257
|
case "x":
|
|
@@ -276,7 +276,7 @@ var It = function() {
|
|
|
276
276
|
var t = /* @__PURE__ */ l(function(w, c, u, h) {
|
|
277
277
|
for (u = u || {}, h = w.length; h--; u[w[h]] = c) ;
|
|
278
278
|
return u;
|
|
279
|
-
}, "o"), e = [6, 8, 10, 12, 13, 14, 15, 16, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 33, 35, 36, 38, 40], n = [1, 26], i = [1, 27], a = [1, 28], k = [1, 29], d = [1, 30], D = [1, 31], E = [1, 32],
|
|
279
|
+
}, "o"), e = [6, 8, 10, 12, 13, 14, 15, 16, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 33, 35, 36, 38, 40], n = [1, 26], i = [1, 27], a = [1, 28], k = [1, 29], d = [1, 30], D = [1, 31], E = [1, 32], C = [1, 33], g = [1, 34], F = [1, 9], S = [1, 10], v = [1, 11], q = [1, 12], A = [1, 13], x = [1, 14], M = [1, 15], L = [1, 16], Y = [1, 19], N = [1, 20], R = [1, 21], G = [1, 22], z = [1, 23], y = [1, 25], b = [1, 35], T = {
|
|
280
280
|
trace: /* @__PURE__ */ l(function() {
|
|
281
281
|
}, "trace"),
|
|
282
282
|
yy: {},
|
|
@@ -405,7 +405,7 @@ var It = function() {
|
|
|
405
405
|
break;
|
|
406
406
|
}
|
|
407
407
|
}, "anonymous"),
|
|
408
|
-
table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, t(e, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: [1, 6], 9: 7, 10: [1, 8], 11: 17, 12: n, 13: i, 14: a, 15: k, 16: d, 17: D, 18: E, 19: 18, 20:
|
|
408
|
+
table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, t(e, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: [1, 6], 9: 7, 10: [1, 8], 11: 17, 12: n, 13: i, 14: a, 15: k, 16: d, 17: D, 18: E, 19: 18, 20: C, 21: g, 22: F, 23: S, 24: v, 25: q, 26: A, 27: x, 28: M, 29: L, 30: Y, 31: N, 33: R, 35: G, 36: z, 37: 24, 38: y, 40: b }, t(e, [2, 7], { 1: [2, 1] }), t(e, [2, 3]), { 9: 36, 11: 17, 12: n, 13: i, 14: a, 15: k, 16: d, 17: D, 18: E, 19: 18, 20: C, 21: g, 22: F, 23: S, 24: v, 25: q, 26: A, 27: x, 28: M, 29: L, 30: Y, 31: N, 33: R, 35: G, 36: z, 37: 24, 38: y, 40: b }, t(e, [2, 5]), t(e, [2, 6]), t(e, [2, 17]), t(e, [2, 18]), t(e, [2, 19]), t(e, [2, 20]), t(e, [2, 21]), t(e, [2, 22]), t(e, [2, 23]), t(e, [2, 24]), t(e, [2, 25]), t(e, [2, 26]), t(e, [2, 27]), { 32: [1, 37] }, { 34: [1, 38] }, t(e, [2, 30]), t(e, [2, 31]), t(e, [2, 32]), { 39: [1, 39] }, t(e, [2, 8]), t(e, [2, 9]), t(e, [2, 10]), t(e, [2, 11]), t(e, [2, 12]), t(e, [2, 13]), t(e, [2, 14]), t(e, [2, 15]), t(e, [2, 16]), { 41: [1, 40], 43: [1, 41] }, t(e, [2, 4]), t(e, [2, 28]), t(e, [2, 29]), t(e, [2, 33]), t(e, [2, 34], { 42: [1, 42], 43: [1, 43] }), t(e, [2, 40], { 41: [1, 44] }), t(e, [2, 35], { 43: [1, 45] }), t(e, [2, 36]), t(e, [2, 38], { 42: [1, 46] }), t(e, [2, 37]), t(e, [2, 39])],
|
|
409
409
|
defaultActions: {},
|
|
410
410
|
parseError: /* @__PURE__ */ l(function(c, u) {
|
|
411
411
|
if (u.recoverable)
|
|
@@ -788,8 +788,8 @@ var ar = It;
|
|
|
788
788
|
U.extend($e);
|
|
789
789
|
U.extend(tr);
|
|
790
790
|
U.extend(ir);
|
|
791
|
-
var ie = { friday: 5, saturday: 6 }, tt = "", Vt = "", Pt = void 0, zt = "", ht = [], mt = [], Ot = /* @__PURE__ */ new Map(), Rt = [],
|
|
792
|
-
Rt = [],
|
|
791
|
+
var ie = { friday: 5, saturday: 6 }, tt = "", Vt = "", Pt = void 0, zt = "", ht = [], mt = [], Ot = /* @__PURE__ */ new Map(), Rt = [], St = [], ut = "", Nt = "", ce = ["active", "done", "crit", "milestone", "vert"], Bt = [], kt = false, Ht = false, qt = "sunday", Ct = "saturday", Ft = 0, sr = /* @__PURE__ */ l(function() {
|
|
792
|
+
Rt = [], St = [], ut = "", Bt = [], wt = 0, Yt = void 0, _t = void 0, H = [], tt = "", Vt = "", Nt = "", Pt = void 0, zt = "", ht = [], mt = [], kt = false, Ht = false, Ft = 0, Ot = /* @__PURE__ */ new Map(), De(), qt = "sunday", Ct = "saturday";
|
|
793
793
|
}, "clear"), or = /* @__PURE__ */ l(function(t) {
|
|
794
794
|
Vt = t;
|
|
795
795
|
}, "setAxisFormat"), cr = /* @__PURE__ */ l(function() {
|
|
@@ -828,9 +828,9 @@ var ie = { friday: 5, saturday: 6 }, tt = "", Vt = "", Pt = void 0, zt = "", ht
|
|
|
828
828
|
return mt;
|
|
829
829
|
}, "getExcludes"), Dr = /* @__PURE__ */ l(function() {
|
|
830
830
|
return Ot;
|
|
831
|
-
}, "getLinks"),
|
|
831
|
+
}, "getLinks"), Sr = /* @__PURE__ */ l(function(t) {
|
|
832
832
|
ut = t, Rt.push(t);
|
|
833
|
-
}, "addSection"),
|
|
833
|
+
}, "addSection"), Cr = /* @__PURE__ */ l(function() {
|
|
834
834
|
return Rt;
|
|
835
835
|
}, "getSections"), Er = /* @__PURE__ */ l(function() {
|
|
836
836
|
let t = ae();
|
|
@@ -838,15 +838,15 @@ var ie = { friday: 5, saturday: 6 }, tt = "", Vt = "", Pt = void 0, zt = "", ht
|
|
|
838
838
|
let n = 0;
|
|
839
839
|
for (; !t && n < e; )
|
|
840
840
|
t = ae(), n++;
|
|
841
|
-
return
|
|
841
|
+
return St = H, St;
|
|
842
842
|
}, "getTasks"), le = /* @__PURE__ */ l(function(t, e, n, i) {
|
|
843
|
-
return i.includes(t.format(e.trim())) ? false : n.includes("weekends") && (t.isoWeekday() === ie[
|
|
843
|
+
return i.includes(t.format(e.trim())) ? false : n.includes("weekends") && (t.isoWeekday() === ie[Ct] || t.isoWeekday() === ie[Ct] + 1) || n.includes(t.format("dddd").toLowerCase()) ? true : n.includes(t.format(e.trim()));
|
|
844
844
|
}, "isInvalidDate"), Mr = /* @__PURE__ */ l(function(t) {
|
|
845
845
|
qt = t;
|
|
846
846
|
}, "setWeekday"), Ar = /* @__PURE__ */ l(function() {
|
|
847
847
|
return qt;
|
|
848
848
|
}, "getWeekday"), Ir = /* @__PURE__ */ l(function(t) {
|
|
849
|
-
|
|
849
|
+
Ct = t;
|
|
850
850
|
}, "setWeekend"), ue = /* @__PURE__ */ l(function(t, e, n, i) {
|
|
851
851
|
if (!n.length || t.manualEndTime)
|
|
852
852
|
return;
|
|
@@ -873,8 +873,8 @@ var ie = { friday: 5, saturday: 6 }, tt = "", Vt = "", Pt = void 0, zt = "", ht
|
|
|
873
873
|
if (a !== null) {
|
|
874
874
|
let d = null;
|
|
875
875
|
for (const E of a.groups.ids.split(" ")) {
|
|
876
|
-
let
|
|
877
|
-
|
|
876
|
+
let C = it(E);
|
|
877
|
+
C !== void 0 && (!d || C.endTime > d.endTime) && (d = C);
|
|
878
878
|
}
|
|
879
879
|
if (d)
|
|
880
880
|
return d.endTime;
|
|
@@ -904,8 +904,8 @@ var ie = { friday: 5, saturday: 6 }, tt = "", Vt = "", Pt = void 0, zt = "", ht
|
|
|
904
904
|
const k = /^until\s+(?<ids>[\d\w- ]+)/.exec(n);
|
|
905
905
|
if (k !== null) {
|
|
906
906
|
let g = null;
|
|
907
|
-
for (const
|
|
908
|
-
let v = it(
|
|
907
|
+
for (const S of k.groups.ids.split(" ")) {
|
|
908
|
+
let v = it(S);
|
|
909
909
|
v !== void 0 && (!g || v.startTime < g.startTime) && (g = v);
|
|
910
910
|
}
|
|
911
911
|
if (g)
|
|
@@ -917,9 +917,9 @@ var ie = { friday: 5, saturday: 6 }, tt = "", Vt = "", Pt = void 0, zt = "", ht
|
|
|
917
917
|
if (d.isValid())
|
|
918
918
|
return i && (d = d.add(1, "d")), d.toDate();
|
|
919
919
|
let D = U(t);
|
|
920
|
-
const [E,
|
|
920
|
+
const [E, C] = de(n);
|
|
921
921
|
if (!Number.isNaN(E)) {
|
|
922
|
-
const g = D.add(E,
|
|
922
|
+
const g = D.add(E, C);
|
|
923
923
|
g.isValid() && (D = g);
|
|
924
924
|
}
|
|
925
925
|
return D.toDate();
|
|
@@ -1004,7 +1004,7 @@ var ie = { friday: 5, saturday: 6 }, tt = "", Vt = "", Pt = void 0, zt = "", ht
|
|
|
1004
1004
|
task: t,
|
|
1005
1005
|
classes: []
|
|
1006
1006
|
}, i = Lr(Yt, e);
|
|
1007
|
-
n.startTime = i.startTime, n.endTime = i.endTime, n.id = i.id, n.active = i.active, n.done = i.done, n.crit = i.crit, n.milestone = i.milestone, n.vert = i.vert, Yt = n,
|
|
1007
|
+
n.startTime = i.startTime, n.endTime = i.endTime, n.id = i.id, n.active = i.active, n.done = i.done, n.crit = i.crit, n.milestone = i.milestone, n.vert = i.vert, Yt = n, St.push(n);
|
|
1008
1008
|
}, "addTaskOrg"), ae = /* @__PURE__ */ l(function() {
|
|
1009
1009
|
const t = /* @__PURE__ */ l(function(n) {
|
|
1010
1010
|
const i = H[n];
|
|
@@ -1058,7 +1058,7 @@ var ie = { friday: 5, saturday: 6 }, tt = "", Vt = "", Pt = void 0, zt = "", ht
|
|
|
1058
1058
|
}
|
|
1059
1059
|
}
|
|
1060
1060
|
i.length === 0 && i.push(t), it(t) !== void 0 && ke(t, () => {
|
|
1061
|
-
|
|
1061
|
+
Se.runFunc(e, ...i);
|
|
1062
1062
|
});
|
|
1063
1063
|
}, "setClickFun"), ke = /* @__PURE__ */ l(function(t, e) {
|
|
1064
1064
|
Bt.push(
|
|
@@ -1106,8 +1106,8 @@ var ie = { friday: 5, saturday: 6 }, tt = "", Vt = "", Pt = void 0, zt = "", ht
|
|
|
1106
1106
|
getDisplayMode: vr,
|
|
1107
1107
|
setAccDescription: ge,
|
|
1108
1108
|
getAccDescription: ye,
|
|
1109
|
-
addSection:
|
|
1110
|
-
getSections:
|
|
1109
|
+
addSection: Sr,
|
|
1110
|
+
getSections: Cr,
|
|
1111
1111
|
getTasks: Er,
|
|
1112
1112
|
addTask: Wr,
|
|
1113
1113
|
findTaskById: it,
|
|
@@ -1144,7 +1144,7 @@ var Br = /* @__PURE__ */ l(function() {
|
|
|
1144
1144
|
thursday: Ae,
|
|
1145
1145
|
friday: Me,
|
|
1146
1146
|
saturday: Ee,
|
|
1147
|
-
sunday:
|
|
1147
|
+
sunday: Ce
|
|
1148
1148
|
}, Hr = /* @__PURE__ */ l((t, e) => {
|
|
1149
1149
|
let n = [...t].map(() => -1 / 0), i = [...t].sort((k, d) => k.startTime - d.startTime || k.order - d.order), a = 0;
|
|
1150
1150
|
for (const k of i)
|
|
@@ -1158,14 +1158,14 @@ var Br = /* @__PURE__ */ l(function() {
|
|
|
1158
1158
|
const a = ct().gantt, k = ct().securityLevel;
|
|
1159
1159
|
let d;
|
|
1160
1160
|
k === "sandbox" && (d = gt("#i" + e));
|
|
1161
|
-
const D = k === "sandbox" ? gt(d.nodes()[0].contentDocument.body) : gt("body"), E = k === "sandbox" ? d.nodes()[0].contentDocument : document,
|
|
1162
|
-
et =
|
|
1161
|
+
const D = k === "sandbox" ? gt(d.nodes()[0].contentDocument.body) : gt("body"), E = k === "sandbox" ? d.nodes()[0].contentDocument : document, C = E.getElementById(e);
|
|
1162
|
+
et = C.parentElement.offsetWidth, et === void 0 && (et = 1200), a.useWidth !== void 0 && (et = a.useWidth);
|
|
1163
1163
|
const g = i.db.getTasks();
|
|
1164
1164
|
let F = [];
|
|
1165
1165
|
for (const y of g)
|
|
1166
1166
|
F.push(y.type);
|
|
1167
1167
|
F = z(F);
|
|
1168
|
-
const
|
|
1168
|
+
const S = {};
|
|
1169
1169
|
let v = 2 * a.topPadding;
|
|
1170
1170
|
if (i.db.getDisplayMode() === "compact" || a.displayMode === "compact") {
|
|
1171
1171
|
const y = {};
|
|
@@ -1174,14 +1174,14 @@ var Br = /* @__PURE__ */ l(function() {
|
|
|
1174
1174
|
let b = 0;
|
|
1175
1175
|
for (const T of Object.keys(y)) {
|
|
1176
1176
|
const p = Hr(y[T], b) + 1;
|
|
1177
|
-
b += p, v += p * (a.barHeight + a.barGap),
|
|
1177
|
+
b += p, v += p * (a.barHeight + a.barGap), S[T] = p;
|
|
1178
1178
|
}
|
|
1179
1179
|
} else {
|
|
1180
1180
|
v += g.length * (a.barHeight + a.barGap);
|
|
1181
1181
|
for (const y of F)
|
|
1182
|
-
|
|
1182
|
+
S[y] = g.filter((b) => b.type === y).length;
|
|
1183
1183
|
}
|
|
1184
|
-
|
|
1184
|
+
C.setAttribute("viewBox", "0 0 " + et + " " + v);
|
|
1185
1185
|
const q = D.select(`[id="${e}"]`), A = Ye().domain([
|
|
1186
1186
|
We(g, function(y) {
|
|
1187
1187
|
return y.startTime;
|
|
@@ -1382,7 +1382,7 @@ var Br = /* @__PURE__ */ l(function() {
|
|
|
1382
1382
|
l(N, "makeGrid");
|
|
1383
1383
|
function R(y, b) {
|
|
1384
1384
|
let T = 0;
|
|
1385
|
-
const p = Object.keys(
|
|
1385
|
+
const p = Object.keys(S).map((m) => [m, S[m]]);
|
|
1386
1386
|
q.append("g").selectAll("text").data(p).enter().append(function(m) {
|
|
1387
1387
|
const w = m[0].split(we.lineBreakRegex), c = -(w.length - 1) / 2, u = E.createElementNS("http://www.w3.org/2000/svg", "text");
|
|
1388
1388
|
u.setAttribute("dy", c + "em");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as Y } from "./chunk-353BL4L5-
|
|
2
|
-
import { I as K } from "./chunk-AACKK3MU-
|
|
3
|
-
import { _ as l, t as U, q as V, s as X, g as J, a as Q, b as Z, l as m, c as rr, d as er, u as tr, E as ar, z as sr, k as C, F as nr, G as or, H as cr, I as ir } from "./mermaid-
|
|
4
|
-
import { p as dr } from "./treemap-75Q7IDZK-
|
|
1
|
+
import { p as Y } from "./chunk-353BL4L5-CCxt33Au.js";
|
|
2
|
+
import { I as K } from "./chunk-AACKK3MU-C0xSOsSm.js";
|
|
3
|
+
import { _ as l, t as U, q as V, s as X, g as J, a as Q, b as Z, l as m, c as rr, d as er, u as tr, E as ar, z as sr, k as C, F as nr, G as or, H as cr, I as ir } from "./mermaid-T2yOt-G1.js";
|
|
4
|
+
import { p as dr } from "./treemap-75Q7IDZK-4DitaMDv.js";
|
|
5
5
|
var p = {
|
|
6
6
|
NORMAL: 0,
|
|
7
7
|
REVERSE: 1,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
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
|
-
import {
|
|
4
|
+
import { K as Qi, M as jn, G as d, c0 as $o, O as xi, P as vm, J as ht, c1 as ym, c2 as _h, L as $l, c as kh, j as Te, bD as wm, c3 as bm, c4 as Ih, c5 as Cm, bO as jl, c6 as Th, aT as Ql, c7 as Eh, c8 as Ph, c9 as Ah, ca as Sm, bI as Rm, bF as xm, bE as Mm, bG as _m, W as km, cb as Im, bT as Tm, cc as eo, a1 as jo, Y as Em, cd as Pm, ce as Lu, cf as qu, cg as Am, ch as Dm, ci as Om, cj as Hm, ck as Fm, cl as Lm, __tla as __tla_0 } from "./main-CtTUMXKF.js";
|
|
5
5
|
let wy, R1, Or, w0, Vw, Ar, S1, Gt;
|
|
6
6
|
let __tla = Promise.all([
|
|
7
7
|
(() => {
|
|
@@ -9084,7 +9084,7 @@ let __tla = Promise.all([
|
|
|
9084
9084
|
scrollRef: g
|
|
9085
9085
|
};
|
|
9086
9086
|
}
|
|
9087
|
-
const Xy = d.lazy(async () => await import("./data-grid-overlay-editor-
|
|
9087
|
+
const Xy = d.lazy(async () => await import("./data-grid-overlay-editor-_eqSIABJ.js"));
|
|
9088
9088
|
let Vy = 0;
|
|
9089
9089
|
function Yy(e) {
|
|
9090
9090
|
return W1(Bd(Bd(e).filter((t) => t.span !== void 0).map((t) => {
|
|
@@ -11689,7 +11689,7 @@ let __tla = Promise.all([
|
|
|
11689
11689
|
height: u - 1
|
|
11690
11690
|
};
|
|
11691
11691
|
}
|
|
11692
|
-
const xw = d.lazy(async () => await import("./number-overlay-editor-
|
|
11692
|
+
const xw = d.lazy(async () => await import("./number-overlay-editor-xCynwKqy.js")), Mw = {
|
|
11693
11693
|
getAccessibilityString: (e) => {
|
|
11694
11694
|
var _a2;
|
|
11695
11695
|
return ((_a2 = e.data) == null ? void 0 : _a2.toString()) ?? "";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { y as N, z as j, A as v, B as f, D as b, F as _ } from "./main-
|
|
2
|
-
import { a as P, f as g, c as d, i as l, v as p, r as D } from "./_baseUniq-
|
|
3
|
-
import { ad as E } from "./mermaid-
|
|
1
|
+
import { y as N, z as j, A as v, B as f, D as b, F as _ } from "./main-CtTUMXKF.js";
|
|
2
|
+
import { a as P, f as g, c as d, i as l, v as p, r as D } from "./_baseUniq-bLCPH1Ep.js";
|
|
3
|
+
import { ad as E } from "./mermaid-T2yOt-G1.js";
|
|
4
4
|
var w = N(function(o) {
|
|
5
5
|
return P(j(o, 1, v, true));
|
|
6
6
|
}), F = "\0", a = "\0", O = "";
|