@marimo-team/islands 0.23.15-dev55 → 0.23.15-dev58

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 (126) hide show
  1. package/dist/{ConnectedDataExplorerComponent-DMcymmpc.js → ConnectedDataExplorerComponent-CJaUI-S-.js} +3 -3
  2. package/dist/{any-language-editor-BfTj3PPF.js → any-language-editor-P9tjkj4n.js} +18 -18
  3. package/dist/{architectureDiagram-VXUJARFQ-B3jN8fkV.js → architectureDiagram-VXUJARFQ-DXwkyAaM.js} +5 -5
  4. package/dist/{blockDiagram-VD42YOAC-Dq_8lAbz.js → blockDiagram-VD42YOAC-CIOjvxeD.js} +5 -5
  5. package/dist/{c4Diagram-YG6GDRKO-BPzX9a9A.js → c4Diagram-YG6GDRKO-B6dZC_oU.js} +4 -4
  6. package/dist/{channel-D_qwSlm9.js → channel-BN070S0F.js} +1 -1
  7. package/dist/{chat-ui-CYGIiYqI.js → chat-ui-BdSDiVjk.js} +79 -74
  8. package/dist/{chunk-ABZYJK2D-CDSMdLBr.js → chunk-ABZYJK2D-BxBDji1u.js} +1 -1
  9. package/dist/{chunk-ATLVNIR6-BAW0e_d_.js → chunk-ATLVNIR6-qFiszptQ.js} +1 -1
  10. package/dist/{chunk-B4BG7PRW-CfEI05WL.js → chunk-B4BG7PRW-B_z2FEHm.js} +4 -4
  11. package/dist/{chunk-DI55MBZ5-CZS7hhjV.js → chunk-DI55MBZ5-D4Y8yV8B.js} +4 -4
  12. package/dist/{chunk-EXTU4WIE-DHwKB8ls.js → chunk-EXTU4WIE-BQPBhApE.js} +1 -1
  13. package/dist/{chunk-JA3XYJ7Z-Cy80gDpz.js → chunk-JA3XYJ7Z-CY4CRbV5.js} +2 -2
  14. package/dist/{chunk-JZLCHNYA-yfXq27Zq.js → chunk-JZLCHNYA-DWIR9m5O.js} +4 -4
  15. package/dist/{chunk-N4CR4FBY-C9D3Wsot.js → chunk-N4CR4FBY-Bw2HcMNc.js} +5 -5
  16. package/dist/{chunk-QN33PNHL-Bh2YDyg7.js → chunk-QN33PNHL-DPBNNzpR.js} +1 -1
  17. package/dist/{chunk-QXUST7PY-kDpsCDoY.js → chunk-QXUST7PY-DtC2t9Mk.js} +5 -5
  18. package/dist/{chunk-S3R3BYOJ-DkY8Kz3y.js → chunk-S3R3BYOJ-BdgLc8AM.js} +1 -1
  19. package/dist/{chunk-TZMSLE5B-CMZoW3vd.js → chunk-TZMSLE5B-BzSHcq-K.js} +1 -1
  20. package/dist/{classDiagram-2ON5EDUG-b2d3ZqfR.js → classDiagram-2ON5EDUG-BiQPjMNY.js} +10 -10
  21. package/dist/{classDiagram-v2-WZHVMYZB-RvnJbJ5M.js → classDiagram-v2-WZHVMYZB-YHdR8fqM.js} +10 -10
  22. package/dist/{code-visibility-6VwDeiPl.js → code-visibility-BwRCU9D5.js} +9 -9
  23. package/dist/{dagre-6UL2VRFP--ruFWg_S.js → dagre-6UL2VRFP-DpYjBqQs.js} +7 -7
  24. package/dist/{diagram-PSM6KHXK-CGakapLj.js → diagram-PSM6KHXK-D4ftnaua.js} +6 -6
  25. package/dist/{diagram-QEK2KX5R-CtqD8u_P.js → diagram-QEK2KX5R-DVlUOgs1.js} +4 -4
  26. package/dist/{diagram-S2PKOQOG-BS1wa35J.js → diagram-S2PKOQOG-CGh4OMEV.js} +4 -4
  27. package/dist/{dist-BGLXXYL4.js → dist-3NCqaWjt.js} +2 -2
  28. package/dist/{dist-95kpvRSY.js → dist-4lVIWUT3.js} +1 -1
  29. package/dist/dist-5o9uz19x.js +5 -0
  30. package/dist/{dist-B1k1NmGB.js → dist-B2jmQKKx.js} +2 -2
  31. package/dist/{dist-kcg3gjx6.js → dist-BCX980mU.js} +2 -2
  32. package/dist/{dist-c6wTyIhD.js → dist-BIEt-mlF.js} +1 -1
  33. package/dist/{dist-tJic1rC-.js → dist-BO5HRiTf.js} +2 -2
  34. package/dist/{dist-3MT9i_N5.js → dist-BOMbzyb3.js} +85 -85
  35. package/dist/{dist-Dx3eDsHX.js → dist-BP39XM8u.js} +1 -1
  36. package/dist/{dist-DijFs2Lk.js → dist-BPF0gTRZ.js} +6 -6
  37. package/dist/{dist-BvCrjp81.js → dist-BTdrwBWP.js} +22 -22
  38. package/dist/{dist-CLBjD8zw.js → dist-BdqCKQ1O.js} +2 -2
  39. package/dist/dist-BpDH0DEP.js +5 -0
  40. package/dist/dist-BpXhbQXO.js +8 -0
  41. package/dist/{dist-DgZczohI.js → dist-BpeiYpG2.js} +2 -2
  42. package/dist/{dist-Db1W16d-.js → dist-BwhXBwMd.js} +1 -1
  43. package/dist/dist-ByadAk_L.js +5 -0
  44. package/dist/{dist-B69xyr_D.js → dist-C18MUWTj.js} +2 -2
  45. package/dist/{dist-DPdzbDlL.js → dist-C2_4pjuS.js} +1 -1
  46. package/dist/{dist-B56Dml3A.js → dist-CFSb_Frm.js} +1 -1
  47. package/dist/dist-CK0g7JvP.js +8 -0
  48. package/dist/{dist-CNXNPADS.js → dist-CRmSjkLP.js} +2 -2
  49. package/dist/{dist-D3T8fCFo.js → dist-CSlJrrAw.js} +86 -81
  50. package/dist/dist-CfzCtiq2.js +5 -0
  51. package/dist/{dist-4-bJUNMb.js → dist-D3bdsa1d.js} +4 -4
  52. package/dist/dist-D8JtVFrW.js +8 -0
  53. package/dist/dist-DK2Oocpu.js +6 -0
  54. package/dist/{dist-DBN2w27P.js → dist-DZwp8lro.js} +3 -3
  55. package/dist/{dist-BFgLBSJb.js → dist-DaXJPX8F.js} +2 -2
  56. package/dist/{dist-U4F-tbMs.js → dist-De-GlSAs.js} +246 -184
  57. package/dist/{dist-DPH6RMhL.js → dist-DgjbnqTg.js} +125 -125
  58. package/dist/dist-DnSu977r.js +5 -0
  59. package/dist/{dist-e29IFSI0.js → dist-DviUBLUp.js} +4 -4
  60. package/dist/{dist-BIdzGb3O.js → dist-DwqBJ014.js} +2 -2
  61. package/dist/{dist-BGj6VvC-.js → dist-JGehap7K.js} +5 -5
  62. package/dist/{dist-BGtkYshf.js → dist-LpLXa9Lb.js} +2 -2
  63. package/dist/dist-UmxJm6sW.js +8 -0
  64. package/dist/dist-aYSBQSyM.js +5 -0
  65. package/dist/dist-kkZ1Ztlh.js +6 -0
  66. package/dist/dist-ngPczwNi.js +5 -0
  67. package/dist/{dist-C-RLuUaE.js → dist-pqIwD8VD.js} +2 -2
  68. package/dist/dist-wQRyxyTV.js +5 -0
  69. package/dist/{dist-DvOfvWFi.js → dist-w_gWE5Wf.js} +1 -1
  70. package/dist/{erDiagram-Q2GNP2WA-DmtIJBsT.js → erDiagram-Q2GNP2WA-BcKAHFqF.js} +10 -10
  71. package/dist/{esm-D6_uCZ4z.js → esm-DKOv6P2M.js} +341 -341
  72. package/dist/esm-k8PIvuZW.js +1180 -0
  73. package/dist/{extends-B88Yrunj.js → extends-Cq2JYHKy.js} +32 -16
  74. package/dist/{flowDiagram-NV44I4VS-DZsgBUcQ.js → flowDiagram-NV44I4VS-BRhSg-ro.js} +10 -10
  75. package/dist/{formats-DSfNdJLH.js → formats-BFhkZJwd.js} +1 -1
  76. package/dist/{ganttDiagram-JELNMOA3-CgFhg_6K.js → ganttDiagram-JELNMOA3-CXXCN7LN.js} +3 -3
  77. package/dist/{gitGraphDiagram-V2S2FVAM-DPInyn1F.js → gitGraphDiagram-V2S2FVAM-BOlkMSqK.js} +3 -3
  78. package/dist/{html-to-image-BoXPmWps.js → html-to-image-DDENewl2.js} +34 -34
  79. package/dist/{infoDiagram-HS3SLOUP-ETAzKIiE.js → infoDiagram-HS3SLOUP-D3TyKnL_.js} +3 -3
  80. package/dist/{journeyDiagram-XKPGCS4Q-Bc94zDj1.js → journeyDiagram-XKPGCS4Q-DEal0aT1.js} +3 -3
  81. package/dist/{kanban-definition-3W4ZIXB7-DSk8Ebci.js → kanban-definition-3W4ZIXB7-Dl90wENN.js} +7 -7
  82. package/dist/{loader-BUGT0KbC.js → loader-CTHCI-qe.js} +7 -7
  83. package/dist/main.js +31 -31
  84. package/dist/{mermaid-CYkbfJHW.js → mermaid-CdSvixW2.js} +36 -36
  85. package/dist/{mindmap-definition-VGOIOE7T-BYoCqVAJ.js → mindmap-definition-VGOIOE7T-CCDupjWW.js} +9 -9
  86. package/dist/{pieDiagram-ADFJNKIX-BaAU79Vb.js → pieDiagram-ADFJNKIX-JvXG_6hk.js} +4 -4
  87. package/dist/{process-output-CbRRhwQo.js → process-output-2QPcgBQg.js} +1 -1
  88. package/dist/purify.es-EnR5yhgI.js +783 -0
  89. package/dist/{quadrantDiagram-AYHSOK5B-BmTWJxzo.js → quadrantDiagram-AYHSOK5B-BqDB9tUC.js} +2 -2
  90. package/dist/{react-vega-DfJOSnj6.js → react-vega-BazDALhI.js} +633 -633
  91. package/dist/{requirementDiagram-UZGBJVZJ-Jrs04ua1.js → requirementDiagram-UZGBJVZJ-KbVt8SPH.js} +9 -9
  92. package/dist/{reveal-component-BF9bUh1w.js → reveal-component-y1Kk4Glg.js} +11 -11
  93. package/dist/{sankeyDiagram-TZEHDZUN-YJnhmG4N.js → sankeyDiagram-TZEHDZUN-DgkF38jx.js} +2 -2
  94. package/dist/{sequenceDiagram-WL72ISMW-D30L51Bn.js → sequenceDiagram-WL72ISMW-BDmx9n95.js} +4 -4
  95. package/dist/{stateDiagram-FKZM4ZOC-C0nZuUP8.js → stateDiagram-FKZM4ZOC-ByOvQf2n.js} +10 -10
  96. package/dist/{stateDiagram-v2-4FDKWEC3-BmovmS-G.js → stateDiagram-v2-4FDKWEC3-C3xqeavR.js} +10 -10
  97. package/dist/style.css +1 -1
  98. package/dist/{timeline-definition-IT6M3QCI-DEoIEWAl.js → timeline-definition-IT6M3QCI-CkD_trIn.js} +2 -2
  99. package/dist/{vega-component-uL9ZaXcH.js → vega-component-CrFoZT1S.js} +4 -4
  100. package/dist/{vega-embed-container-DgZMMVL3.js → vega-embed-container-DAQAMjiO.js} +2 -2
  101. package/dist/vega-loader.browser-DmpxCJqx.js +1353 -0
  102. package/dist/{xychartDiagram-PRI3JC2R-iwKXEnYZ.js → xychartDiagram-PRI3JC2R-BSkNxYNw.js} +5 -5
  103. package/package.json +1 -1
  104. package/src/components/editor/chrome/panels/write-secret-modal.tsx +3 -2
  105. package/src/components/editor/connections/__tests__/secret-combobox.test.ts +134 -0
  106. package/src/components/editor/connections/database/schemas.ts +35 -27
  107. package/src/components/editor/connections/form-renderers.tsx +42 -110
  108. package/src/components/editor/connections/secret-combobox.tsx +253 -0
  109. package/src/components/editor/connections/storage/schemas.ts +12 -6
  110. package/dist/dist-9yiSURLw.js +0 -6
  111. package/dist/dist-9zfbSqew.js +0 -8
  112. package/dist/dist-BZ_VEpg8.js +0 -8
  113. package/dist/dist-BdYVjH1C.js +0 -5
  114. package/dist/dist-BiIoKp92.js +0 -6
  115. package/dist/dist-Bow9AUXt.js +0 -5
  116. package/dist/dist-C8odMDp5.js +0 -8
  117. package/dist/dist-CLgjZx38.js +0 -5
  118. package/dist/dist-CnMOJtGP.js +0 -5
  119. package/dist/dist-D-5m1nDT.js +0 -5
  120. package/dist/dist-D8AXqiCV.js +0 -5
  121. package/dist/dist-DMuf8sZd.js +0 -5
  122. package/dist/dist-DszXOVSb.js +0 -5
  123. package/dist/dist-GW0m0q65.js +0 -8
  124. package/dist/esm-BxhNWHqh.js +0 -1171
  125. package/dist/purify.es-C-fIGuQm.js +0 -557
  126. package/dist/vega-loader.browser-IU8eTDwM.js +0 -1333
@@ -1,5 +1,5 @@
1
- import { $ as EditorView, H as tags, I as syntaxTree, O as indentNodeProp, Ot as EditorSelection, P as sublanguageProp, S as foldInside, U as IterMode, V as styleTags, _ as defineLanguageFacet, h as continuedIndent, i as LocalTokenGroup, n as ExternalTokenizer, q as NodeWeakMap, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, y as flatIndent } from "./dist-U4F-tbMs.js";
2
- import { f as snippetCompletion, l as ifNotIn, s as completeFromList } from "./dist-D3T8fCFo.js";
1
+ import { $ as EditorView, H as tags, I as syntaxTree, O as indentNodeProp, P as sublanguageProp, S as foldInside, U as IterMode, V as styleTags, _ as defineLanguageFacet, h as continuedIndent, i as LocalTokenGroup, kt as EditorSelection, n as ExternalTokenizer, q as NodeWeakMap, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, y as flatIndent } from "./dist-De-GlSAs.js";
2
+ import { f as snippetCompletion, l as ifNotIn, s as completeFromList } from "./dist-CSlJrrAw.js";
3
3
  var noSemi = 315, noSemiType = 316, incdec = 1, incdecPrefix = 2, questionDot = 3, JSXStartTag = 4, insertSemi = 317, spaces = 319, newline = 320, LineComment = 5, BlockComment = 6, Dialect_jsx = 0, space = [
4
4
  9,
5
5
  10,
@@ -28,52 +28,52 @@ var noSemi = 315, noSemiType = 316, incdec = 1, incdecPrefix = 2, questionDot =
28
28
  12288
29
29
  ], braceR = 125, semicolon = 59, slash = 47, star = 42, plus = 43, minus = 45, lt = 60, comma = 44, question = 63, dot = 46, bracketL = 91, trackNewline = new ContextTracker({
30
30
  start: false,
31
- shift(g, G) {
32
- return G == LineComment || G == BlockComment || G == spaces ? g : G == newline;
31
+ shift(_, K) {
32
+ return K == LineComment || K == BlockComment || K == spaces ? _ : K == newline;
33
33
  },
34
34
  strict: false
35
- }), insertSemicolon = new ExternalTokenizer((g, G) => {
36
- let { next: K } = g;
37
- (K == braceR || K == -1 || G.context) && g.acceptToken(insertSemi);
35
+ }), insertSemicolon = new ExternalTokenizer((_, K) => {
36
+ let { next: q } = _;
37
+ (q == braceR || q == -1 || K.context) && _.acceptToken(insertSemi);
38
38
  }, {
39
39
  contextual: true,
40
40
  fallback: true
41
- }), noSemicolon = new ExternalTokenizer((g, G) => {
42
- let { next: K } = g, q;
43
- space.indexOf(K) > -1 || K == slash && ((q = g.peek(1)) == slash || q == star) || K != braceR && K != semicolon && K != -1 && !G.context && g.acceptToken(noSemi);
44
- }, { contextual: true }), noSemicolonType = new ExternalTokenizer((g, G) => {
45
- g.next == bracketL && !G.context && g.acceptToken(noSemiType);
46
- }, { contextual: true }), operatorToken = new ExternalTokenizer((g, G) => {
47
- let { next: K } = g;
48
- if (K == plus || K == minus) {
49
- if (g.advance(), K == g.next) {
50
- g.advance();
51
- let K2 = !G.context && G.canShift(incdec);
52
- g.acceptToken(K2 ? incdec : incdecPrefix);
41
+ }), noSemicolon = new ExternalTokenizer((_, K) => {
42
+ let { next: q } = _, J;
43
+ space.indexOf(q) > -1 || q == slash && ((J = _.peek(1)) == slash || J == star) || q != braceR && q != semicolon && q != -1 && !K.context && _.acceptToken(noSemi);
44
+ }, { contextual: true }), noSemicolonType = new ExternalTokenizer((_, K) => {
45
+ _.next == bracketL && !K.context && _.acceptToken(noSemiType);
46
+ }, { contextual: true }), operatorToken = new ExternalTokenizer((_, K) => {
47
+ let { next: q } = _;
48
+ if (q == plus || q == minus) {
49
+ if (_.advance(), q == _.next) {
50
+ _.advance();
51
+ let q2 = !K.context && K.canShift(incdec);
52
+ _.acceptToken(q2 ? incdec : incdecPrefix);
53
53
  }
54
- } else K == question && g.peek(1) == dot && (g.advance(), g.advance(), (g.next < 48 || g.next > 57) && g.acceptToken(questionDot));
54
+ } else q == question && _.peek(1) == dot && (_.advance(), _.advance(), (_.next < 48 || _.next > 57) && _.acceptToken(questionDot));
55
55
  }, { contextual: true });
56
- function identifierChar(g, G) {
57
- return g >= 65 && g <= 90 || g >= 97 && g <= 122 || g == 95 || g >= 192 || !G && g >= 48 && g <= 57;
56
+ function identifierChar(_, K) {
57
+ return _ >= 65 && _ <= 90 || _ >= 97 && _ <= 122 || _ == 95 || _ >= 192 || !K && _ >= 48 && _ <= 57;
58
58
  }
59
- var jsx = new ExternalTokenizer((g, G) => {
60
- if (g.next != lt || !G.dialectEnabled(Dialect_jsx) || (g.advance(), g.next == slash)) return;
61
- let K = 0;
62
- for (; space.indexOf(g.next) > -1; ) g.advance(), K++;
63
- if (identifierChar(g.next, true)) {
64
- for (g.advance(), K++; identifierChar(g.next, false); ) g.advance(), K++;
65
- for (; space.indexOf(g.next) > -1; ) g.advance(), K++;
66
- if (g.next == comma) return;
67
- for (let G2 = 0; ; G2++) {
68
- if (G2 == 7) {
69
- if (!identifierChar(g.next, true)) return;
59
+ var jsx = new ExternalTokenizer((_, K) => {
60
+ if (_.next != lt || !K.dialectEnabled(Dialect_jsx) || (_.advance(), _.next == slash)) return;
61
+ let q = 0;
62
+ for (; space.indexOf(_.next) > -1; ) _.advance(), q++;
63
+ if (identifierChar(_.next, true)) {
64
+ for (_.advance(), q++; identifierChar(_.next, false); ) _.advance(), q++;
65
+ for (; space.indexOf(_.next) > -1; ) _.advance(), q++;
66
+ if (_.next == comma) return;
67
+ for (let K2 = 0; ; K2++) {
68
+ if (K2 == 7) {
69
+ if (!identifierChar(_.next, true)) return;
70
70
  break;
71
71
  }
72
- if (g.next != "extends".charCodeAt(G2)) break;
73
- g.advance(), K++;
72
+ if (_.next != "extends".charCodeAt(K2)) break;
73
+ _.advance(), q++;
74
74
  }
75
75
  }
76
- g.acceptToken(JSXStartTag, -K);
76
+ _.acceptToken(JSXStartTag, -q);
77
77
  }), jsHighlight = styleTags({
78
78
  "get set async static": tags.modifier,
79
79
  "for while do if else switch try catch finally return throw break continue default case": tags.controlKeyword,
@@ -416,15 +416,15 @@ var jsx = new ExternalTokenizer((g, G) => {
416
416
  specialized: [
417
417
  {
418
418
  term: 326,
419
- get: (g) => spec_identifier[g] || -1
419
+ get: (_) => spec_identifier[_] || -1
420
420
  },
421
421
  {
422
422
  term: 342,
423
- get: (g) => spec_word[g] || -1
423
+ get: (_) => spec_word[_] || -1
424
424
  },
425
425
  {
426
426
  term: 95,
427
- get: (g) => spec_LessThan[g] || -1
427
+ get: (_) => spec_LessThan[_] || -1
428
428
  }
429
429
  ],
430
430
  tokenPrec: 15124
@@ -509,10 +509,10 @@ var jsx = new ExternalTokenizer((g, G) => {
509
509
  "MethodDeclaration",
510
510
  "ForStatement"
511
511
  ]);
512
- function defID(g) {
513
- return (G, K) => {
514
- let q = G.node.getChild("VariableDefinition");
515
- return q && K(q, g), true;
512
+ function defID(_) {
513
+ return (K, q) => {
514
+ let J = K.node.getChild("VariableDefinition");
515
+ return J && q(J, _), true;
516
516
  };
517
517
  }
518
518
  var functionContext = ["FunctionDeclaration"], gatherCompletions = {
@@ -522,35 +522,35 @@ var functionContext = ["FunctionDeclaration"], gatherCompletions = {
522
522
  EnumDeclaration: /* @__PURE__ */ defID("constant"),
523
523
  TypeAliasDeclaration: /* @__PURE__ */ defID("type"),
524
524
  NamespaceDeclaration: /* @__PURE__ */ defID("namespace"),
525
- VariableDefinition(g, G) {
526
- g.matchContext(functionContext) || G(g, "variable");
525
+ VariableDefinition(_, K) {
526
+ _.matchContext(functionContext) || K(_, "variable");
527
527
  },
528
- TypeDefinition(g, G) {
529
- G(g, "type");
528
+ TypeDefinition(_, K) {
529
+ K(_, "type");
530
530
  },
531
531
  __proto__: null
532
532
  };
533
- function getScope(g, G) {
534
- let K = cache.get(G);
535
- if (K) return K;
536
- let q = [], J = true;
537
- function Y(G2, K2) {
538
- let J2 = g.sliceString(G2.from, G2.to);
539
- q.push({
540
- label: J2,
541
- type: K2
533
+ function getScope(_, K) {
534
+ let q = cache.get(K);
535
+ if (q) return q;
536
+ let J = [], Y = true;
537
+ function X(K2, q2) {
538
+ let Y2 = _.sliceString(K2.from, K2.to);
539
+ J.push({
540
+ label: Y2,
541
+ type: q2
542
542
  });
543
543
  }
544
- return G.cursor(IterMode.IncludeAnonymous).iterate((G2) => {
545
- if (J) J = false;
546
- else if (G2.name) {
547
- let g2 = gatherCompletions[G2.name];
548
- if (g2 && g2(G2, Y) || ScopeNodes.has(G2.name)) return false;
549
- } else if (G2.to - G2.from > 8192) {
550
- for (let K2 of getScope(g, G2.node)) q.push(K2);
544
+ return K.cursor(IterMode.IncludeAnonymous).iterate((K2) => {
545
+ if (Y) Y = false;
546
+ else if (K2.name) {
547
+ let _2 = gatherCompletions[K2.name];
548
+ if (_2 && _2(K2, X) || ScopeNodes.has(K2.name)) return false;
549
+ } else if (K2.to - K2.from > 8192) {
550
+ for (let q2 of getScope(_, K2.node)) J.push(q2);
551
551
  return false;
552
552
  }
553
- }), cache.set(G, q), q;
553
+ }), cache.set(K, J), J;
554
554
  }
555
555
  var Identifier = /^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/, dontComplete = [
556
556
  "TemplateString",
@@ -573,16 +573,16 @@ var Identifier = /^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/, dontComplete = [
573
573
  ".",
574
574
  "?."
575
575
  ];
576
- function localCompletionSource(g) {
577
- let G = syntaxTree(g.state).resolveInner(g.pos, -1);
578
- if (dontComplete.indexOf(G.name) > -1) return null;
579
- let q = G.name == "VariableName" || G.to - G.from < 20 && Identifier.test(g.state.sliceDoc(G.from, G.to));
580
- if (!q && !g.explicit) return null;
581
- let J = [];
582
- for (let K = G; K; K = K.parent) ScopeNodes.has(K.name) && (J = J.concat(getScope(g.state.doc, K)));
576
+ function localCompletionSource(_) {
577
+ let K = syntaxTree(_.state).resolveInner(_.pos, -1);
578
+ if (dontComplete.indexOf(K.name) > -1) return null;
579
+ let J = K.name == "VariableName" || K.to - K.from < 20 && Identifier.test(_.state.sliceDoc(K.from, K.to));
580
+ if (!J && !_.explicit) return null;
581
+ let Y = [];
582
+ for (let q = K; q; q = q.parent) ScopeNodes.has(q.name) && (Y = Y.concat(getScope(_.state.doc, q)));
583
583
  return {
584
- options: J,
585
- from: q ? G.from : g.pos,
584
+ options: Y,
585
+ from: J ? K.from : _.pos,
586
586
  validFor: Identifier
587
587
  };
588
588
  }
@@ -592,31 +592,31 @@ var javascriptLanguage = /* @__PURE__ */ LRLanguage.define({
592
592
  IfStatement: /* @__PURE__ */ continuedIndent({ except: /^\s*({|else\b)/ }),
593
593
  TryStatement: /* @__PURE__ */ continuedIndent({ except: /^\s*({|catch\b|finally\b)/ }),
594
594
  LabeledStatement: flatIndent,
595
- SwitchBody: (g) => {
596
- let G = g.textAfter, K = /^\s*\}/.test(G), q = /^\s*(case|default)\b/.test(G);
597
- return g.baseIndent + (K ? 0 : q ? 1 : 2) * g.unit;
595
+ SwitchBody: (_) => {
596
+ let K = _.textAfter, q = /^\s*\}/.test(K), J = /^\s*(case|default)\b/.test(K);
597
+ return _.baseIndent + (q ? 0 : J ? 1 : 2) * _.unit;
598
598
  },
599
599
  Block: /* @__PURE__ */ delimitedIndent({ closing: "}" }),
600
- ArrowFunction: (g) => g.baseIndent + g.unit,
600
+ ArrowFunction: (_) => _.baseIndent + _.unit,
601
601
  "TemplateString BlockComment": () => null,
602
602
  "Statement Property": /* @__PURE__ */ continuedIndent({ except: /^\s*{/ }),
603
- JSXElement(g) {
604
- let G = /^\s*<\//.test(g.textAfter);
605
- return g.lineIndent(g.node.from) + (G ? 0 : g.unit);
603
+ JSXElement(_) {
604
+ let K = /^\s*<\//.test(_.textAfter);
605
+ return _.lineIndent(_.node.from) + (K ? 0 : _.unit);
606
606
  },
607
- JSXEscape(g) {
608
- let G = /\s*\}/.test(g.textAfter);
609
- return g.lineIndent(g.node.from) + (G ? 0 : g.unit);
607
+ JSXEscape(_) {
608
+ let K = /\s*\}/.test(_.textAfter);
609
+ return _.lineIndent(_.node.from) + (K ? 0 : _.unit);
610
610
  },
611
- "JSXOpenTag JSXSelfClosingTag"(g) {
612
- return g.column(g.node.from) + g.unit;
611
+ "JSXOpenTag JSXSelfClosingTag"(_) {
612
+ return _.column(_.node.from) + _.unit;
613
613
  }
614
614
  }), /* @__PURE__ */ foldNodeProp.add({
615
615
  "Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType": foldInside,
616
- BlockComment(g) {
616
+ BlockComment(_) {
617
617
  return {
618
- from: g.from + 2,
619
- to: g.to - 2
618
+ from: _.from + 2,
619
+ to: _.to - 2
620
620
  };
621
621
  }
622
622
  })] }),
@@ -640,19 +640,19 @@ var javascriptLanguage = /* @__PURE__ */ LRLanguage.define({
640
640
  wordChars: "$"
641
641
  }
642
642
  }), jsxSublanguage = {
643
- test: (g) => /^JSX/.test(g.name),
643
+ test: (_) => /^JSX/.test(_.name),
644
644
  facet: /* @__PURE__ */ defineLanguageFacet({ commentTokens: { block: {
645
645
  open: "{/*",
646
646
  close: "*/}"
647
647
  } } })
648
648
  }, typescriptLanguage = /* @__PURE__ */ javascriptLanguage.configure({ dialect: "ts" }, "typescript"), jsxLanguage = /* @__PURE__ */ javascriptLanguage.configure({
649
649
  dialect: "jsx",
650
- props: [/* @__PURE__ */ sublanguageProp.add((g) => g.isTop ? [jsxSublanguage] : void 0)]
650
+ props: [/* @__PURE__ */ sublanguageProp.add((_) => _.isTop ? [jsxSublanguage] : void 0)]
651
651
  }), tsxLanguage = /* @__PURE__ */ javascriptLanguage.configure({
652
652
  dialect: "jsx ts",
653
- props: [/* @__PURE__ */ sublanguageProp.add((g) => g.isTop ? [jsxSublanguage] : void 0)]
654
- }, "typescript"), kwCompletion = (g) => ({
655
- label: g,
653
+ props: [/* @__PURE__ */ sublanguageProp.add((_) => _.isTop ? [jsxSublanguage] : void 0)]
654
+ }, "typescript"), kwCompletion = (_) => ({
655
+ label: _,
656
656
  type: "keyword"
657
657
  }), keywords = /* @__PURE__ */ "break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(kwCompletion), typescriptKeywords = /* @__PURE__ */ keywords.concat(/* @__PURE__ */ [
658
658
  "declare",
@@ -661,64 +661,64 @@ var javascriptLanguage = /* @__PURE__ */ LRLanguage.define({
661
661
  "protected",
662
662
  "public"
663
663
  ].map(kwCompletion));
664
- function javascript(g = {}) {
665
- let G = g.jsx ? g.typescript ? tsxLanguage : jsxLanguage : g.typescript ? typescriptLanguage : javascriptLanguage, K = g.typescript ? typescriptSnippets.concat(typescriptKeywords) : snippets.concat(keywords);
666
- return new LanguageSupport(G, [
667
- javascriptLanguage.data.of({ autocomplete: ifNotIn(dontComplete, completeFromList(K)) }),
664
+ function javascript(_ = {}) {
665
+ let K = _.jsx ? _.typescript ? tsxLanguage : jsxLanguage : _.typescript ? typescriptLanguage : javascriptLanguage, q = _.typescript ? typescriptSnippets.concat(typescriptKeywords) : snippets.concat(keywords);
666
+ return new LanguageSupport(K, [
667
+ javascriptLanguage.data.of({ autocomplete: ifNotIn(dontComplete, completeFromList(q)) }),
668
668
  javascriptLanguage.data.of({ autocomplete: localCompletionSource }),
669
- g.jsx ? autoCloseTags : []
669
+ _.jsx ? autoCloseTags : []
670
670
  ]);
671
671
  }
672
- function findOpenTag(g) {
672
+ function findOpenTag(_) {
673
673
  for (; ; ) {
674
- if (g.name == "JSXOpenTag" || g.name == "JSXSelfClosingTag" || g.name == "JSXFragmentTag") return g;
675
- if (g.name == "JSXEscape" || !g.parent) return null;
676
- g = g.parent;
674
+ if (_.name == "JSXOpenTag" || _.name == "JSXSelfClosingTag" || _.name == "JSXFragmentTag") return _;
675
+ if (_.name == "JSXEscape" || !_.parent) return null;
676
+ _ = _.parent;
677
677
  }
678
678
  }
679
- function elementName(g, G, K = g.length) {
680
- for (let q = G == null ? void 0 : G.firstChild; q; q = q.nextSibling) if (q.name == "JSXIdentifier" || q.name == "JSXBuiltin" || q.name == "JSXNamespacedName" || q.name == "JSXMemberExpression") return g.sliceString(q.from, Math.min(q.to, K));
679
+ function elementName(_, K, q = _.length) {
680
+ for (let J = K == null ? void 0 : K.firstChild; J; J = J.nextSibling) if (J.name == "JSXIdentifier" || J.name == "JSXBuiltin" || J.name == "JSXNamespacedName" || J.name == "JSXMemberExpression") return _.sliceString(J.from, Math.min(J.to, q));
681
681
  return "";
682
682
  }
683
- var android = typeof navigator == "object" && /* @__PURE__ */ /Android\b/.test(navigator.userAgent), autoCloseTags = /* @__PURE__ */ EditorView.inputHandler.of((g, G, q, Y, X) => {
684
- if ((android ? g.composing : g.compositionStarted) || g.state.readOnly || G != q || Y != ">" && Y != "/" || !javascriptLanguage.isActiveAt(g.state, G, -1)) return false;
685
- let Z = X(), { state: Q } = Z, $ = Q.changeByRange((g2) => {
683
+ var android = typeof navigator == "object" && /* @__PURE__ */ /Android\b/.test(navigator.userAgent), autoCloseTags = /* @__PURE__ */ EditorView.inputHandler.of((_, K, J, Y, X) => {
684
+ if ((android ? _.composing : _.compositionStarted) || _.state.readOnly || K != J || Y != ">" && Y != "/" || !javascriptLanguage.isActiveAt(_.state, K, -1)) return false;
685
+ let Z = X(), { state: Q } = Z, $ = Q.changeByRange((_2) => {
686
686
  var _a;
687
- let { head: G2 } = g2, q2 = syntaxTree(Q).resolveInner(G2 - 1, -1), X2;
688
- if (q2.name == "JSXStartTag" && (q2 = q2.parent), !(Q.doc.sliceString(G2 - 1, G2) != Y || q2.name == "JSXAttributeValue" && q2.to > G2)) {
689
- if (Y == ">" && q2.name == "JSXFragmentTag") return {
690
- range: g2,
687
+ let { head: K2 } = _2, J2 = syntaxTree(Q).resolveInner(K2 - 1, -1), X2;
688
+ if (J2.name == "JSXStartTag" && (J2 = J2.parent), !(Q.doc.sliceString(K2 - 1, K2) != Y || J2.name == "JSXAttributeValue" && J2.to > K2)) {
689
+ if (Y == ">" && J2.name == "JSXFragmentTag") return {
690
+ range: _2,
691
691
  changes: {
692
- from: G2,
692
+ from: K2,
693
693
  insert: "</>"
694
694
  }
695
695
  };
696
- if (Y == "/" && q2.name == "JSXStartCloseTag") {
697
- let g3 = q2.parent, K = g3.parent;
698
- if (K && g3.from == G2 - 2 && ((X2 = elementName(Q.doc, K.firstChild, G2)) || ((_a = K.firstChild) == null ? void 0 : _a.name) == "JSXFragmentTag")) {
699
- let g4 = `${X2}>`;
696
+ if (Y == "/" && J2.name == "JSXStartCloseTag") {
697
+ let _3 = J2.parent, q = _3.parent;
698
+ if (q && _3.from == K2 - 2 && ((X2 = elementName(Q.doc, q.firstChild, K2)) || ((_a = q.firstChild) == null ? void 0 : _a.name) == "JSXFragmentTag")) {
699
+ let _4 = `${X2}>`;
700
700
  return {
701
- range: EditorSelection.cursor(G2 + g4.length, -1),
701
+ range: EditorSelection.cursor(K2 + _4.length, -1),
702
702
  changes: {
703
- from: G2,
704
- insert: g4
703
+ from: K2,
704
+ insert: _4
705
705
  }
706
706
  };
707
707
  }
708
708
  } else if (Y == ">") {
709
- let K = findOpenTag(q2);
710
- if (K && K.name == "JSXOpenTag" && !/^\/?>|^<\//.test(Q.doc.sliceString(G2, G2 + 2)) && (X2 = elementName(Q.doc, K, G2))) return {
711
- range: g2,
709
+ let q = findOpenTag(J2);
710
+ if (q && q.name == "JSXOpenTag" && !/^\/?>|^<\//.test(Q.doc.sliceString(K2, K2 + 2)) && (X2 = elementName(Q.doc, q, K2))) return {
711
+ range: _2,
712
712
  changes: {
713
- from: G2,
713
+ from: K2,
714
714
  insert: `</${X2}>`
715
715
  }
716
716
  };
717
717
  }
718
718
  }
719
- return { range: g2 };
719
+ return { range: _2 };
720
720
  });
721
- return $.changes.empty ? false : (g.dispatch([Z, Q.update($, {
721
+ return $.changes.empty ? false : (_.dispatch([Z, Q.update($, {
722
722
  userEvent: "input.complete",
723
723
  scrollIntoView: true
724
724
  })]), true);
@@ -0,0 +1,5 @@
1
+ import "./dist-De-GlSAs.js";
2
+ import { n as yamlLanguage, t as yaml } from "./dist-CFSb_Frm.js";
3
+ export {
4
+ yaml
5
+ };
@@ -1,7 +1,7 @@
1
- import { H as tags, V as styleTags, X as parseMixed, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport } from "./dist-U4F-tbMs.js";
2
- import { n as html } from "./dist-BvCrjp81.js";
3
- import "./dist-95kpvRSY.js";
4
- import { r as javascriptLanguage } from "./dist-DPH6RMhL.js";
1
+ import { H as tags, V as styleTags, X as parseMixed, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport } from "./dist-De-GlSAs.js";
2
+ import { n as html } from "./dist-BTdrwBWP.js";
3
+ import "./dist-4lVIWUT3.js";
4
+ import { r as javascriptLanguage } from "./dist-DgjbnqTg.js";
5
5
  var Text = 1, attributeContentSingle = 33, attributeContentDouble = 34, scriptAttributeContentSingle = 35, scriptAttributeContentDouble = 36, text = /* @__PURE__ */ new ExternalTokenizer((p) => {
6
6
  let A = p.pos;
7
7
  for (; ; ) {
@@ -1,5 +1,5 @@
1
- import { $ as EditorView, H as tags, I as syntaxTree, O as indentNodeProp, Ot as EditorSelection, V as styleTags, X as parseMixed, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp } from "./dist-U4F-tbMs.js";
2
- import { n as html } from "./dist-BvCrjp81.js";
1
+ import { $ as EditorView, H as tags, I as syntaxTree, O as indentNodeProp, V as styleTags, X as parseMixed, kt as EditorSelection, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp } from "./dist-De-GlSAs.js";
2
+ import { n as html } from "./dist-BTdrwBWP.js";
3
3
  var interpolationStart = 1, tagStart = 2, endTagStart = 3, text = 180, endrawTagStart = 4, rawText = 181, endcommentTagStart = 5, commentText = 182, InlineComment = 6;
4
4
  function wordChar(_) {
5
5
  return _ >= 65 && _ <= 90 || _ >= 97 && _ <= 122;
@@ -1,8 +1,8 @@
1
- import "./dist-U4F-tbMs.js";
2
- import { a as markdown, c as pasteURLAsLink, i as insertNewlineContinueMarkupCommand, n as deleteMarkupBackward, o as markdownKeymap, r as insertNewlineContinueMarkup, s as markdownLanguage, t as commonmarkLanguage } from "./dist-3MT9i_N5.js";
3
- import "./dist-BvCrjp81.js";
4
- import "./dist-95kpvRSY.js";
5
- import "./dist-DPH6RMhL.js";
1
+ import "./dist-De-GlSAs.js";
2
+ import { a as markdown, c as pasteURLAsLink, i as insertNewlineContinueMarkupCommand, n as deleteMarkupBackward, o as markdownKeymap, r as insertNewlineContinueMarkup, s as markdownLanguage, t as commonmarkLanguage } from "./dist-BOMbzyb3.js";
3
+ import "./dist-BTdrwBWP.js";
4
+ import "./dist-4lVIWUT3.js";
5
+ import "./dist-DgjbnqTg.js";
6
6
  export {
7
7
  markdown
8
8
  };
@@ -1,5 +1,5 @@
1
- import "./dist-U4F-tbMs.js";
2
- import { a as PLSQL, c as SQLite, d as schemaCompletionSource, f as sql, i as MySQL, l as StandardSQL, n as MSSQL, o as PostgreSQL, r as MariaSQL, s as SQLDialect, t as Cassandra, u as keywordCompletionSource } from "./dist-DgZczohI.js";
1
+ import "./dist-De-GlSAs.js";
2
+ import { a as PLSQL, c as SQLite, d as schemaCompletionSource, f as sql, i as MySQL, l as StandardSQL, n as MSSQL, o as PostgreSQL, r as MariaSQL, s as SQLDialect, t as Cassandra, u as keywordCompletionSource } from "./dist-BpeiYpG2.js";
3
3
  export {
4
4
  Cassandra,
5
5
  MSSQL,
@@ -0,0 +1,8 @@
1
+ import "./dist-De-GlSAs.js";
2
+ import "./dist-BTdrwBWP.js";
3
+ import "./dist-4lVIWUT3.js";
4
+ import "./dist-DgjbnqTg.js";
5
+ import { i as liquidLanguage, n as liquid, r as liquidCompletionSource, t as closePercentBrace } from "./dist-DwqBJ014.js";
6
+ export {
7
+ liquid
8
+ };
@@ -0,0 +1,5 @@
1
+ import "./dist-De-GlSAs.js";
2
+ import { n as javaLanguage, t as java } from "./dist-BwhXBwMd.js";
3
+ export {
4
+ java
5
+ };
@@ -0,0 +1,6 @@
1
+ import "./dist-De-GlSAs.js";
2
+ import "./dist-4lVIWUT3.js";
3
+ import { n as lessCompletionSource, r as lessLanguage, t as less } from "./dist-DaXJPX8F.js";
4
+ export {
5
+ less
6
+ };
@@ -0,0 +1,5 @@
1
+ import "./dist-De-GlSAs.js";
2
+ import { n as jsonLanguage, t as json } from "./dist-C2_4pjuS.js";
3
+ export {
4
+ json
5
+ };
@@ -1,5 +1,5 @@
1
- import "./dist-U4F-tbMs.js";
2
- import { i as xmlLanguage, n as completeFromSchema, r as xml, t as autoCloseTags } from "./dist-DijFs2Lk.js";
1
+ import "./dist-De-GlSAs.js";
2
+ import { i as xmlLanguage, n as completeFromSchema, r as xml, t as autoCloseTags } from "./dist-BPF0gTRZ.js";
3
3
  export {
4
4
  xml
5
5
  };
@@ -0,0 +1,5 @@
1
+ import "./dist-De-GlSAs.js";
2
+ import { n as cppLanguage, t as cpp } from "./dist-BP39XM8u.js";
3
+ export {
4
+ cpp
5
+ };
@@ -1,4 +1,4 @@
1
- import { H as tags, O as indentNodeProp, S as foldInside, V as styleTags, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, w as foldNodeProp } from "./dist-U4F-tbMs.js";
1
+ import { H as tags, O as indentNodeProp, S as foldInside, V as styleTags, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, w as foldNodeProp } from "./dist-De-GlSAs.js";
2
2
  var closureParamDelim = 1, tpOpen = 2, tpClose = 3, RawString = 4, Float = 5, _b = 98, _e = 101, _f = 102, _r = 114, _E = 69, Zero = 48, Dot = 46, Plus = 43, Minus = 45, Hash = 35, Quote = 34, Pipe = 124, LessThan = 60, GreaterThan = 62;
3
3
  function isNum(h) {
4
4
  return h >= 48 && h <= 57;
@@ -1,19 +1,19 @@
1
1
  var _a;
2
- import "./purify.es-C-fIGuQm.js";
3
- import { c as getEdgeId, g as utils_default } from "./chunk-S3R3BYOJ-DkY8Kz3y.js";
2
+ import "./purify.es-EnR5yhgI.js";
3
+ import { c as getEdgeId, g as utils_default } from "./chunk-S3R3BYOJ-BdgLc8AM.js";
4
4
  import { i as log, n as __export, r as __name, t as select_default } from "./src-DV3ha_nA.js";
5
- import { $ as rgba_default, B as setAccTitle, C as getDiagramTitle, U as setDiagramTitle, _ as getAccDescription, a as clear, b as getConfig2, v as getAccTitle, z as setAccDescription } from "./chunk-ABZYJK2D-CDSMdLBr.js";
6
- import { t as channel_default } from "./channel-D_qwSlm9.js";
5
+ import { $ as rgba_default, B as setAccTitle, C as getDiagramTitle, U as setDiagramTitle, _ as getAccDescription, a as clear, b as getConfig2, v as getAccTitle, z as setAccDescription } from "./chunk-ABZYJK2D-BxBDji1u.js";
6
+ import { t as channel_default } from "./channel-BN070S0F.js";
7
7
  import "./chunk-HN2XXSSU-Bv0QkeMr.js";
8
8
  import "./chunk-CVBHYZKI-CwazXVlJ.js";
9
- import "./chunk-ATLVNIR6-BAW0e_d_.js";
9
+ import "./chunk-ATLVNIR6-qFiszptQ.js";
10
10
  import "./dist-DsoKosxi.js";
11
- import "./chunk-JA3XYJ7Z-Cy80gDpz.js";
12
- import "./chunk-JZLCHNYA-yfXq27Zq.js";
13
- import "./chunk-QXUST7PY-kDpsCDoY.js";
14
- import { r as render, t as getRegisteredLayoutAlgorithm } from "./chunk-N4CR4FBY-C9D3Wsot.js";
11
+ import "./chunk-JA3XYJ7Z-CY4CRbV5.js";
12
+ import "./chunk-JZLCHNYA-DWIR9m5O.js";
13
+ import "./chunk-QXUST7PY-DtC2t9Mk.js";
14
+ import { r as render, t as getRegisteredLayoutAlgorithm } from "./chunk-N4CR4FBY-Bw2HcMNc.js";
15
15
  import { t as getDiagramElement } from "./chunk-55IACEB6-7h71GwyW.js";
16
- import { t as setupViewPortForSVG } from "./chunk-QN33PNHL-Bh2YDyg7.js";
16
+ import { t as setupViewPortForSVG } from "./chunk-QN33PNHL-DPBNNzpR.js";
17
17
  var parser = (function() {
18
18
  var e = /* @__PURE__ */ __name(function(e2, t2, n2, r2) {
19
19
  for (n2 || (n2 = {}), r2 = e2.length; r2--; n2[e2[r2]] = t2) ;