@marimo-team/islands 0.14.11-dev39 → 0.14.11-dev4

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.
Files changed (71) hide show
  1. package/dist/{ConnectedDataExplorerComponent-Sd9Nxepm.js → ConnectedDataExplorerComponent-B3jU38aR.js} +4 -4
  2. package/dist/{ImageComparisonComponent-5Y_UPK-4.js → ImageComparisonComponent-CUfFulP7.js} +1 -1
  3. package/dist/{VegaLite-xEnU6x-s.js → VegaLite-CT_m2Gns.js} +7180 -6961
  4. package/dist/{_baseUniq-hectrKF-.js → _baseUniq-DVXzAxqW.js} +36 -36
  5. package/dist/{any-language-editor-CFSQwvzE.js → any-language-editor-Bm5ppbnQ.js} +1 -1
  6. package/dist/{architectureDiagram-NQ2NVSRB-CCXJjFvh.js → architectureDiagram-IEHRJDOE-Buq1PEDd.js} +894 -897
  7. package/dist/assets/{worker-Bfk1FrzG.js → save-worker-BIDtxCd1.js} +1724 -1604
  8. package/dist/assets/{save-worker-fI5ofStJ.js → worker-BcyuOSTi.js} +1649 -1076
  9. package/dist/assets/worker-Dz6PPEGc.js +4115 -0
  10. package/dist/{blockDiagram-PHRCVELO-BjyOlQ-1.js → blockDiagram-JOT3LUYC-Baj8O4gb.js} +522 -534
  11. package/dist/{c4Diagram-6F6E4RAY-Dekfu0nv.js → c4Diagram-VJAJSXHY-CBDfWUzS.js} +4 -4
  12. package/dist/{channel-3ZP1Ahsx.js → channel-Cy0SmgpI.js} +1 -1
  13. package/dist/{chunk-353BL4L5-DAFgStCL.js → chunk-4BMEZGHF-BnpEqs6S.js} +1 -1
  14. package/dist/{chunk-QEP2MXWD-B3Qy_0QF.js → chunk-A2AXSNBT-i8l7moUJ.js} +27 -30
  15. package/dist/chunk-AEK57VVT-BxuW_6WB.js +1416 -0
  16. package/dist/{chunk-67H74DCK-DZpdsEFc.js → chunk-D6G4REZN-DwIklRV0.js} +1 -1
  17. package/dist/chunk-RZ5BOZE2-CNoeotZt.js +24 -0
  18. package/dist/{chunk-AACKK3MU-B95hL8py.js → chunk-XZIHB7SX-Cr4T9caJ.js} +1 -1
  19. package/dist/{classDiagram-v2-O24JOBDK-CRnOnb_r.js → classDiagram-GIVACNV2-CbFkMOFI.js} +2 -2
  20. package/dist/{classDiagram-BGRH5UQR-CRnOnb_r.js → classDiagram-v2-COTLJTTW-CbFkMOFI.js} +2 -2
  21. package/dist/{clone-CFt3Dbsx.js → clone-BeXSGgDB.js} +1 -1
  22. package/dist/{dagre-FFZHY6LT-BCZYCsTf.js → dagre-OKDRZEBW-Bo2roBvL.js} +8 -8
  23. package/dist/{data-editor-DJm7TwNK.js → data-editor-Dnm_K2_c.js} +201 -213
  24. package/dist/{diagram-ZTM2IBQH-CZn2HwdK.js → diagram-SSKATNLV-6e7ZOneB.js} +3 -3
  25. package/dist/diagram-VNBRO52H-VcG5htt_.js +126 -0
  26. package/dist/{erDiagram-R3QVA2FD-CgONUTHE.js → erDiagram-Q7BY3M3F-DObb1KYA.js} +5 -6
  27. package/dist/{flowDiagram-PKI6S5ZS-Dk7_9UWG.js → flowDiagram-4HSFHLVR-BAvIkIMr.js} +278 -283
  28. package/dist/{ganttDiagram-EK5VF46D-CRpVp1Tv.js → ganttDiagram-APWFNJXF-BUabt1F7.js} +439 -453
  29. package/dist/{gitGraphDiagram-GW3U2K7C-C62qVSS0.js → gitGraphDiagram-7IBYFJ6S-Bs-H6FAX.js} +35 -35
  30. package/dist/{graph-Bmg6ThvY.js → graph-B7tbSSJp.js} +3 -3
  31. package/dist/{index-DjyV3XsQ.js → index-CiG5v3ld.js} +3 -3
  32. package/dist/{index-CpMCQprO.js → index-DI-1MlWW.js} +1 -1
  33. package/dist/{index-DOW7j8QD.js → index-DpepA-b-.js} +3 -6
  34. package/dist/{index-BmXq13zt.js → index-phTQQwAJ.js} +4 -4
  35. package/dist/{infoDiagram-RLU2ROGC-BxV_L_v4.js → infoDiagram-PH2N3AL5-7fwphtgP.js} +3 -5
  36. package/dist/journeyDiagram-U35MCT3I-C4s4ilvs.js +809 -0
  37. package/dist/{kanban-definition-ILFWEQ3N-Czy4NHmp.js → kanban-definition-NDS4AKOZ-DcxIaLdv.js} +39 -41
  38. package/dist/{layout-oDYqqouw.js → layout-v4OeDCTb.js} +49 -49
  39. package/dist/{linear-B2w8crqt.js → linear-xHimOevt.js} +22 -22
  40. package/dist/{main-WBPEOYUW.js → main-C7CuKeJY.js} +47637 -47530
  41. package/dist/main.js +1 -1
  42. package/dist/{mermaid-BrDUrAOA.js → mermaid-C9S7GU2b.js} +4855 -4927
  43. package/dist/min-BT9mkTQN.js +80 -0
  44. package/dist/{mindmap-definition-CZNETY7S-DwnN0Xtd.js → mindmap-definition-ALO5MXBD-CVFEcHZK.js} +3 -3
  45. package/dist/{pieDiagram-NIOCPIFQ-C6DftsTF.js → pieDiagram-IB7DONF6-Co1Ma8jK.js} +3 -3
  46. package/dist/{quadrantDiagram-2OG54O6I-D_F4-y3O.js → quadrantDiagram-7GDLP6J5-DQlP2K2y.js} +2 -2
  47. package/dist/{treemap-FKARHQ26-BdRtb6Jl.js → radar-MK3ICKWK-BhkTFShi.js} +2330 -2469
  48. package/dist/{react-plotly-DyGjmGkP.js → react-plotly-Bh6GaXqm.js} +1 -1
  49. package/dist/{requirementDiagram-SO3GGRV7-B0B6nUaZ.js → requirementDiagram-KVF5MWMF-BygiWyL4.js} +4 -5
  50. package/dist/{sankeyDiagram-4UZDY2LN-Dc9a_ZCf.js → sankeyDiagram-QLVOVGJD-Ch4TJi_X.js} +11 -11
  51. package/dist/{sequenceDiagram-ZIKVLSP4-CK0IGm4R.js → sequenceDiagram-X6HHIX6F-DuQdesWk.js} +149 -151
  52. package/dist/{slides-component-Dnp9jsH4.js → slides-component-BA1GLkbQ.js} +962 -969
  53. package/dist/stateDiagram-DGXRK772-CG6dTG8s.js +271 -0
  54. package/dist/{stateDiagram-v2-GD6S3NHB-z7eMLBFB.js → stateDiagram-v2-YXO3MK2T-ChBhvPue.js} +2 -2
  55. package/dist/style.css +1 -1
  56. package/dist/{time-CsAbaoLW.js → time-BImtLwbp.js} +2 -2
  57. package/dist/{timeline-definition-RI47OAVP-BClUsJ6N.js → timeline-definition-BDJGKUSR-DDxqWt73.js} +102 -99
  58. package/dist/{vega-component-B4kFG0mV.js → vega-component-ClHul7Ph.js} +21 -21
  59. package/dist/{xychartDiagram-H2YORKM3-DKa9A91j.js → xychartDiagram-VJFVF3MP-DsuROm2x.js} +375 -409
  60. package/package.json +42 -42
  61. package/dist/assets/worker-BldghCZh.js +0 -3752
  62. package/dist/chunk-6OLS64BW-Brmt-SZS.js +0 -1383
  63. package/dist/chunk-BFAMUDN2-BT75CqeT.js +0 -8
  64. package/dist/chunk-E2GYISFI-C0R6djsG.js +0 -19
  65. package/dist/chunk-SKB7J2MH-CW_LVmrE.js +0 -20
  66. package/dist/diagram-3EMPZRKU-K1apRbx_.js +0 -313
  67. package/dist/diagram-5UYTHUR4-CDt_HKgG.js +0 -137
  68. package/dist/index-pBmAzQJl.js +0 -235
  69. package/dist/journeyDiagram-EWQZEKCU-BmLTz9kg.js +0 -836
  70. package/dist/min-DrafC17d.js +0 -80
  71. package/dist/stateDiagram-XX37X6EN-BvfpfSgz.js +0 -264
@@ -1,6 +1,6 @@
1
1
  var _a, _b;
2
- import { g as Oe, d as Re } from "./chunk-67H74DCK-DZpdsEFc.js";
3
- import { _ as g, s as Se, g as De, a as Pe, b as Be, c as Dt, d as Nt, l as he, e as Ie, f as Me, h as Tt, i as pe, j as Le, w as Ne, k as Jt, m as ue } from "./mermaid-BrDUrAOA.js";
2
+ import { g as Oe, d as Re } from "./chunk-D6G4REZN-DwIklRV0.js";
3
+ import { _ as g, s as Se, g as De, a as Pe, b as Be, c as Dt, d as Nt, l as he, e as Ie, f as Me, h as Tt, i as pe, j as Le, w as Ne, k as Jt, m as ue } from "./mermaid-C9S7GU2b.js";
4
4
  var jt = function() {
5
5
  var e = /* @__PURE__ */ g(function(_t, x, m, v) {
6
6
  for (m = m || {}, v = _t.length; v--; m[_t[v]] = x) ;
@@ -1513,7 +1513,7 @@ function ne(e, t, s, o, l) {
1513
1513
  y,
1514
1514
  p
1515
1515
  ), t = n.alias;
1516
- let E = l.db.getBoundaries(t);
1516
+ let E = l.db.getBoundarys(t);
1517
1517
  E.length > 0 && ne(
1518
1518
  e,
1519
1519
  t,
@@ -1548,7 +1548,7 @@ var O0 = /* @__PURE__ */ g(function(e, t, s, o) {
1548
1548
  _.diagramMarginY
1549
1549
  ), u.data.widthLimit = screen.availWidth, Vt = _.diagramMarginX, zt = _.diagramMarginY;
1550
1550
  const d = o.db.getTitle();
1551
- let y = o.db.getBoundaries("");
1551
+ let y = o.db.getBoundarys("");
1552
1552
  ne(i, "", u, y, o), z.insertArrowHead(i), z.insertArrowEnd(i), z.insertArrowCrossHead(i), z.insertArrowFilledHead(i), T0(i, o.db.getRels(), o.db.getC4Shape, o), u.data.stopx = Vt, u.data.stopy = zt;
1553
1553
  const p = u.data;
1554
1554
  let O = p.stopy - p.starty + 2 * _.diagramMarginY;
@@ -1,4 +1,4 @@
1
- import { U as a, C as n } from "./mermaid-BrDUrAOA.js";
1
+ import { U as a, C as n } from "./mermaid-C9S7GU2b.js";
2
2
  const t = (r, o) => a.lang.round(n.parse(r)[o]);
3
3
  export {
4
4
  t as c
@@ -1,4 +1,4 @@
1
- import { _ as i } from "./mermaid-BrDUrAOA.js";
1
+ import { _ as i } from "./mermaid-C9S7GU2b.js";
2
2
  function t(c, e) {
3
3
  var _a, _b, _c;
4
4
  c.accDescr && ((_a = e.setAccDescription) == null ? void 0 : _a.call(e, c.accDescr)), c.accTitle && ((_b = e.setAccTitle) == null ? void 0 : _b.call(e, c.accTitle)), c.title && ((_c = e.setDiagramTitle) == null ? void 0 : _c.call(e, c.title));
@@ -1,8 +1,6 @@
1
1
  var _a, _b;
2
- import { g as Ze } from "./chunk-E2GYISFI-C0R6djsG.js";
3
- import { g as $e } from "./chunk-BFAMUDN2-BT75CqeT.js";
4
- import { s as et } from "./chunk-SKB7J2MH-CW_LVmrE.js";
5
- import { _ as p, l as ve, c as D, p as tt, r as st, u as Ie, d as H, b as it, a as at, s as nt, g as rt, q as ut, t as lt, k as x, z as ct, y as ot, i as ht, S as M } from "./mermaid-BrDUrAOA.js";
2
+ import { g as Ze, s as $e } from "./chunk-RZ5BOZE2-CNoeotZt.js";
3
+ import { _ as p, l as ve, c as D, p as et, r as tt, u as Ie, d as H, b as st, a as it, s as at, g as nt, q as rt, t as ut, k as x, z as lt, y as ct, i as ot, R as M } from "./mermaid-C9S7GU2b.js";
6
4
  var Oe = function() {
7
5
  var e = /* @__PURE__ */ p(function(v, l, c, d) {
8
6
  for (c = c || {}, d = v.length; d--; c[v[d]] = l) ;
@@ -697,10 +695,10 @@ Expecting ` + ce.join(", ") + ", got '" + (this.terminals_[F] || F) + "'" : xe =
697
695
  return p(re, "Parser"), re.prototype = _e, _e.Parser = re, new re();
698
696
  }();
699
697
  Oe.parser = Oe;
700
- var Et = Oe, Ye = ["#", "+", "~", "-", ""], Qe = (_a = class {
698
+ var Ct = Oe, Ye = ["#", "+", "~", "-", ""], Qe = (_a = class {
701
699
  constructor(e, i) {
702
700
  this.memberType = i, this.visibility = "", this.classifier = "", this.text = "";
703
- const r = ht(e, D());
701
+ const r = ot(e, D());
704
702
  this.parseMember(r);
705
703
  }
706
704
  getDisplayDetails() {
@@ -744,7 +742,7 @@ var Et = Oe, Ye = ["#", "+", "~", "-", ""], Qe = (_a = class {
744
742
  return "";
745
743
  }
746
744
  }
747
- }, p(_a, "ClassMember"), _a), oe = "classId-", We = 0, w = /* @__PURE__ */ p((e) => x.sanitizeText(e, D()), "sanitizeText"), yt = (_b = class {
745
+ }, p(_a, "ClassMember"), _a), oe = "classId-", We = 0, w = /* @__PURE__ */ p((e) => x.sanitizeText(e, D()), "sanitizeText"), mt = (_b = class {
748
746
  constructor() {
749
747
  this.relations = [], this.classes = /* @__PURE__ */ new Map(), this.styleClasses = /* @__PURE__ */ new Map(), this.notes = [], this.interfaces = [], this.namespaces = /* @__PURE__ */ new Map(), this.namespaceCounter = 0, this.functions = [], this.lineType = {
750
748
  LINE: 0,
@@ -766,7 +764,7 @@ var Et = Oe, Ye = ["#", "+", "~", "-", ""], Qe = (_a = class {
766
764
  }).on("mouseout", (a) => {
767
765
  i.transition().duration(500).style("opacity", 0), H(a.currentTarget).classed("hover", false);
768
766
  });
769
- }, "setupToolTips"), this.direction = "TB", this.setAccTitle = it, this.getAccTitle = at, this.setAccDescription = nt, this.getAccDescription = rt, this.setDiagramTitle = ut, this.getDiagramTitle = lt, this.getConfig = /* @__PURE__ */ p(() => D().class, "getConfig"), this.functions.push(this.setupToolTips.bind(this)), this.clear(), this.addRelation = this.addRelation.bind(this), this.addClassesToNamespace = this.addClassesToNamespace.bind(this), this.addNamespace = this.addNamespace.bind(this), this.setCssClass = this.setCssClass.bind(this), this.addMembers = this.addMembers.bind(this), this.addClass = this.addClass.bind(this), this.setClassLabel = this.setClassLabel.bind(this), this.addAnnotation = this.addAnnotation.bind(this), this.addMember = this.addMember.bind(this), this.cleanupLabel = this.cleanupLabel.bind(this), this.addNote = this.addNote.bind(this), this.defineClass = this.defineClass.bind(this), this.setDirection = this.setDirection.bind(this), this.setLink = this.setLink.bind(this), this.bindFunctions = this.bindFunctions.bind(this), this.clear = this.clear.bind(this), this.setTooltip = this.setTooltip.bind(this), this.setClickEvent = this.setClickEvent.bind(this), this.setCssStyle = this.setCssStyle.bind(this);
767
+ }, "setupToolTips"), this.direction = "TB", this.setAccTitle = st, this.getAccTitle = it, this.setAccDescription = at, this.getAccDescription = nt, this.setDiagramTitle = rt, this.getDiagramTitle = ut, this.getConfig = /* @__PURE__ */ p(() => D().class, "getConfig"), this.functions.push(this.setupToolTips.bind(this)), this.clear(), this.addRelation = this.addRelation.bind(this), this.addClassesToNamespace = this.addClassesToNamespace.bind(this), this.addNamespace = this.addNamespace.bind(this), this.setCssClass = this.setCssClass.bind(this), this.addMembers = this.addMembers.bind(this), this.addClass = this.addClass.bind(this), this.setClassLabel = this.setClassLabel.bind(this), this.addAnnotation = this.addAnnotation.bind(this), this.addMember = this.addMember.bind(this), this.cleanupLabel = this.cleanupLabel.bind(this), this.addNote = this.addNote.bind(this), this.defineClass = this.defineClass.bind(this), this.setDirection = this.setDirection.bind(this), this.setLink = this.setLink.bind(this), this.bindFunctions = this.bindFunctions.bind(this), this.clear = this.clear.bind(this), this.setTooltip = this.setTooltip.bind(this), this.setClickEvent = this.setClickEvent.bind(this), this.setCssStyle = this.setCssStyle.bind(this);
770
768
  }
771
769
  splitClassNameAndType(e) {
772
770
  const i = x.sanitizeText(e, D());
@@ -786,7 +784,7 @@ var Et = Oe, Ye = ["#", "+", "~", "-", ""], Qe = (_a = class {
786
784
  /**
787
785
  * Function called by parser when a node definition has been found.
788
786
  *
789
- * @param id - ID of the class to add
787
+ * @param id - Id of the class to add
790
788
  * @public
791
789
  */
792
790
  addClass(e) {
@@ -829,7 +827,7 @@ var Et = Oe, Ye = ["#", "+", "~", "-", ""], Qe = (_a = class {
829
827
  throw new Error("Class not found: " + i);
830
828
  }
831
829
  clear() {
832
- this.relations = [], this.classes = /* @__PURE__ */ new Map(), this.notes = [], this.interfaces = [], this.functions = [], this.functions.push(this.setupToolTips.bind(this)), this.namespaces = /* @__PURE__ */ new Map(), this.namespaceCounter = 0, this.direction = "TB", ct();
830
+ this.relations = [], this.classes = /* @__PURE__ */ new Map(), this.notes = [], this.interfaces = [], this.functions = [], this.functions.push(this.setupToolTips.bind(this)), this.namespaces = /* @__PURE__ */ new Map(), this.namespaceCounter = 0, this.direction = "TB", lt();
833
831
  }
834
832
  getClass(e) {
835
833
  return this.classes.get(e);
@@ -1014,7 +1012,7 @@ var Et = Oe, Ye = ["#", "+", "~", "-", ""], Qe = (_a = class {
1014
1012
  /**
1015
1013
  * Function called by parser when a namespace definition has been found.
1016
1014
  *
1017
- * @param id - ID of the namespace to add
1015
+ * @param id - Id of the namespace to add
1018
1016
  * @public
1019
1017
  */
1020
1018
  addNamespace(e) {
@@ -1034,8 +1032,8 @@ var Et = Oe, Ye = ["#", "+", "~", "-", ""], Qe = (_a = class {
1034
1032
  /**
1035
1033
  * Function called by parser when a namespace definition has been found.
1036
1034
  *
1037
- * @param id - ID of the namespace to add
1038
- * @param classNames - IDs of the class to add
1035
+ * @param id - Id of the namespace to add
1036
+ * @param classNames - Ids of the class to add
1039
1037
  * @public
1040
1038
  */
1041
1039
  addClassesToNamespace(e, i) {
@@ -1159,7 +1157,7 @@ var Et = Oe, Ye = ["#", "+", "~", "-", ""], Qe = (_a = class {
1159
1157
  for (const a of this.relations) {
1160
1158
  u++;
1161
1159
  const o = {
1162
- id: ot(a.id1, a.id2, {
1160
+ id: ct(a.id1, a.id2, {
1163
1161
  prefix: "id",
1164
1162
  counter: u
1165
1163
  }),
@@ -1184,7 +1182,7 @@ var Et = Oe, Ye = ["#", "+", "~", "-", ""], Qe = (_a = class {
1184
1182
  }
1185
1183
  return { nodes: e, edges: i, other: {}, config: r, direction: this.getDirection() };
1186
1184
  }
1187
- }, p(_b, "ClassDB"), _b), dt = /* @__PURE__ */ p((e) => `g.classGroup text {
1185
+ }, p(_b, "ClassDB"), _b), ht = /* @__PURE__ */ p((e) => `g.classGroup text {
1188
1186
  fill: ${e.nodeBorder || e.classText};
1189
1187
  stroke: none;
1190
1188
  font-family: ${e.fontFamily};
@@ -1342,35 +1340,34 @@ g.classGroup line {
1342
1340
  font-size: 18px;
1343
1341
  fill: ${e.textColor};
1344
1342
  }
1345
- ${Ze()}
1346
- `, "getStyles"), Tt = dt, pt = /* @__PURE__ */ p((e, i = "TB") => {
1343
+ `, "getStyles"), bt = ht, dt = /* @__PURE__ */ p((e, i = "TB") => {
1347
1344
  if (!e.doc)
1348
1345
  return i;
1349
1346
  let r = i;
1350
1347
  for (const u of e.doc)
1351
1348
  u.stmt === "dir" && (r = u.value);
1352
1349
  return r;
1353
- }, "getDir"), At = /* @__PURE__ */ p(function(e, i) {
1350
+ }, "getDir"), pt = /* @__PURE__ */ p(function(e, i) {
1354
1351
  return i.db.getClasses();
1355
- }, "getClasses"), ft = /* @__PURE__ */ p(async function(e, i, r, u) {
1352
+ }, "getClasses"), At = /* @__PURE__ */ p(async function(e, i, r, u) {
1356
1353
  ve.info("REF0:"), ve.info("Drawing class diagram (v3)", i);
1357
- const { securityLevel: a, state: o, layout: A } = D(), f = u.db.getData(), T = $e(i, a);
1358
- f.type = u.type, f.layoutAlgorithm = tt(A), f.nodeSpacing = (o == null ? void 0 : o.nodeSpacing) || 50, f.rankSpacing = (o == null ? void 0 : o.rankSpacing) || 50, f.markers = ["aggregation", "extension", "composition", "dependency", "lollipop"], f.diagramId = i, await st(f, T);
1354
+ const { securityLevel: a, state: o, layout: A } = D(), f = u.db.getData(), T = Ze(i, a);
1355
+ f.type = u.type, f.layoutAlgorithm = et(A), f.nodeSpacing = (o == null ? void 0 : o.nodeSpacing) || 50, f.rankSpacing = (o == null ? void 0 : o.rankSpacing) || 50, f.markers = ["aggregation", "extension", "composition", "dependency", "lollipop"], f.diagramId = i, await tt(f, T);
1359
1356
  const _ = 8;
1360
1357
  Ie.insertTitle(
1361
1358
  T,
1362
1359
  "classDiagramTitleText",
1363
1360
  (o == null ? void 0 : o.titleTopMargin) ?? 25,
1364
1361
  u.db.getDiagramTitle()
1365
- ), et(T, _, "classDiagram", (o == null ? void 0 : o.useMaxWidth) ?? true);
1366
- }, "draw"), kt = {
1367
- getClasses: At,
1368
- draw: ft,
1369
- getDir: pt
1362
+ ), $e(T, _, "classDiagram", (o == null ? void 0 : o.useMaxWidth) ?? true);
1363
+ }, "draw"), Et = {
1364
+ getClasses: pt,
1365
+ draw: At,
1366
+ getDir: dt
1370
1367
  };
1371
1368
  export {
1372
- yt as C,
1373
- Et as a,
1374
- kt as c,
1375
- Tt as s
1369
+ mt as C,
1370
+ Ct as a,
1371
+ Et as c,
1372
+ bt as s
1376
1373
  };