@marimo-team/islands 0.16.4 → 0.17.0

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 (589) hide show
  1. package/dist/{ConnectedDataExplorerComponent-CCjhPKMy.js → ConnectedDataExplorerComponent-DJEUH6Bb.js} +78 -100
  2. package/dist/{_baseIsEqual-oN7pRNcM.js → _baseIsEqual-CN4oFUZ4.js} +20 -20
  3. package/dist/{_basePickBy-CYvzhRjy.js → _basePickBy-CzSvE_-f.js} +3 -3
  4. package/dist/{_baseProperty-DGUdIBuu.js → _baseProperty-DbbUiyUD.js} +5 -5
  5. package/dist/{_baseUniq-B5gfSl8S.js → _baseUniq-DwoC-LVO.js} +4 -4
  6. package/dist/any-language-editor-CEXn1vFs.js +156 -0
  7. package/dist/apl-DuVfHsPc.js +4 -0
  8. package/dist/architecture-O4VJ6CD3-lp-opOaL.js +21 -0
  9. package/dist/{architectureDiagram-W76B3OCA-DkEhipkW.js → architectureDiagram-W76B3OCA-CoBORy6u.js} +34 -34
  10. package/dist/asciiarmor-qIVWsi4F.js +4 -0
  11. package/dist/asn1-BjPqARr7.js +4 -0
  12. package/dist/assets/__vite-browser-external-lX-sn9m2.js +1 -0
  13. package/dist/assets/worker-vPn7gxWj.js +54 -0
  14. package/dist/{blockDiagram-QIGZ2CNN-DZOqLMYa.js → blockDiagram-QIGZ2CNN-0yzoLIar.js} +75 -86
  15. package/dist/brainfuck-DPGTVfkE.js +4 -0
  16. package/dist/{button-CEcjneWG.js → button-DcnBVpVa.js} +11 -14
  17. package/dist/{c4Diagram-FPNF74CW-DVaR7c9q.js → c4Diagram-FPNF74CW-CKsIA_DD.js} +27 -51
  18. package/dist/{channel-Uh0KpgGW.js → channel-3LVvQZcD.js} +1 -1
  19. package/dist/{check-BK9zDfQk.js → check-D7ifz5op.js} +1 -1
  20. package/dist/{chunk-3AY6CYHV-Dk2R2-S1.js → chunk-3AY6CYHV-B2C-aVc3.js} +35 -35
  21. package/dist/{chunk-4BX2VUAB-CqO6zUIz.js → chunk-4BX2VUAB-DEd4VI9L.js} +1 -1
  22. package/dist/{chunk-4KMFLZZN-CloTfTwP.js → chunk-4KMFLZZN-DnvP3O4K.js} +216 -325
  23. package/dist/{chunk-55IACEB6-I0rmqTua.js → chunk-55IACEB6-BcCzwOOl.js} +1 -1
  24. package/dist/{chunk-6OXUPJBA-BuROSTmo.js → chunk-6OXUPJBA-eNAAfJ3Q.js} +7 -7
  25. package/dist/{chunk-7GE3RBXV-B1-tsIPP.js → chunk-7GE3RBXV-CSAeQvLz.js} +1 -1
  26. package/dist/{chunk-ABZYJK2D-CLlso8tj.js → chunk-ABZYJK2D-CZcb_1iM.js} +16 -20
  27. package/dist/{chunk-BN7GFLIU-Db2-FjLn.js → chunk-BN7GFLIU-pBc5O5Rh.js} +1 -1
  28. package/dist/{chunk-CVBHYZKI-BONeiloK.js → chunk-CVBHYZKI-CivHZg9P.js} +3 -3
  29. package/dist/{chunk-CXMOBAN2-U9GJSP1d.js → chunk-CXMOBAN2-Dd0E6qb0.js} +46 -54
  30. package/dist/chunk-EXTU4WIE-GQ2ZWfJo.js +10 -0
  31. package/dist/{chunk-FMBD7UC4-DyV3BR_I.js → chunk-FMBD7UC4-C6YcisV6.js} +1 -1
  32. package/dist/{chunk-JA3XYJ7Z-C9A1076P.js → chunk-JA3XYJ7Z-DYeQaT57.js} +21 -25
  33. package/dist/{chunk-JEIROHC2-BGnFkSVq.js → chunk-JEIROHC2-B-EZMP4V.js} +1 -1
  34. package/dist/{chunk-K7UQS3LO-033LOsjK.js → chunk-K7UQS3LO-DENzlS-M.js} +7 -7
  35. package/dist/{chunk-KMC2YHZD-DT4Sq4Ld.js → chunk-KMC2YHZD-SckhHdEh.js} +1 -1
  36. package/dist/{chunk-QN33PNHL-gs44MZla.js → chunk-QN33PNHL-Cjq5b604.js} +2 -2
  37. package/dist/{chunk-QYVHNE3D-B8BO1AnT.js → chunk-QYVHNE3D-CNUuivie.js} +3 -4
  38. package/dist/{chunk-QZHKN3VN-CeN_GkU6.js → chunk-QZHKN3VN-DugEU_bA.js} +1 -1
  39. package/dist/chunk-S3R3BYOJ-itCT6Vif.js +380 -0
  40. package/dist/{chunk-T44TD3VJ-BwzD6YE0.js → chunk-T44TD3VJ-BLdfTX8J.js} +1 -1
  41. package/dist/{chunk-TVAH2DTR-Bi6jpQJQ.js → chunk-TVAH2DTR-BOnwF9d8.js} +7 -8
  42. package/dist/{chunk-TZMSLE5B-D8klz2H_.js → chunk-TZMSLE5B-DGs66AlL.js} +4 -5
  43. package/dist/{chunk-WFRQ32O7-CzSwSlN0.js → chunk-WFRQ32O7-CPsipkmJ.js} +1 -1
  44. package/dist/{chunk-WFWHJNB7-DN_cavM6.js → chunk-WFWHJNB7-Cmed18Pk.js} +1 -1
  45. package/dist/{chunk-XRWGC2XP-Bb5eGNM2.js → chunk-XRWGC2XP-DH5GDaY8.js} +1 -1
  46. package/dist/{chunk-ZPAFE4SF-S5UYNb0V.js → chunk-ZPAFE4SF-DPDwaqZm.js} +22 -22
  47. package/dist/classDiagram-KNZD7YFC-azuS_99k.js +39 -0
  48. package/dist/classDiagram-v2-RKCZMP56-CQpyQQOR.js +39 -0
  49. package/dist/{click-outside-container-DE4e7p1p.js → click-outside-container-CL_FkgGY.js} +7 -12
  50. package/dist/{clike-CxAz4p9E.js → clike-DYfRWWXk.js} +1 -1
  51. package/dist/{clike-Cg_DBrJ0.js → clike-bzZTreP4.js} +1 -1
  52. package/dist/clojure-ATksAecl.js +4 -0
  53. package/dist/{clone-Dk4FkKH0.js → clone-Msbhmn2a.js} +1 -1
  54. package/dist/cmake-CWylaz2C.js +4 -0
  55. package/dist/cobol-BiLLCZIQ.js +4 -0
  56. package/dist/coffeescript-Ca4jipi8.js +4 -0
  57. package/dist/commonlisp-BwFjyEC7.js +4 -0
  58. package/dist/{constants-Cjd_3kwd.js → constants-BCOEQoEQ.js} +3 -3
  59. package/dist/{copy-C5RFg7ok.js → copy-BkZ8PkBM.js} +6 -2
  60. package/dist/{cose-bilkent-S5V4N54A-B3iOTGu5.js → cose-bilkent-S5V4N54A-BZnbwyVD.js} +20 -20
  61. package/dist/crystal-BhUsQHbh.js +4 -0
  62. package/dist/css-Cf4wlIyV.js +5 -0
  63. package/dist/cypher-Dj8Hzgxa.js +4 -0
  64. package/dist/{cytoscape.esm-DTDV0Nbj.js → cytoscape.esm-BTpRoPd2.js} +586 -661
  65. package/dist/d-DZI7tbTy.js +4 -0
  66. package/dist/{dagre-5GWH7T2D-KM4Z11yT.js → dagre-5GWH7T2D-BGaiSZZO.js} +32 -37
  67. package/dist/{dagre-B0u1urxE.js → dagre-pyfDIOWJ.js} +57 -76
  68. package/dist/data-grid-overlay-editor-867aBz0Y.js +133 -0
  69. package/dist/{diagram-N5W7TBWH-CtO7az4G.js → diagram-N5W7TBWH-CzLE0jZB.js} +35 -51
  70. package/dist/diagram-QEK2KX5R-AGS60xEZ.js +245 -0
  71. package/dist/{diagram-S2PKOQOG-CiXElLNQ.js → diagram-S2PKOQOG-BxRoG6yW.js} +28 -28
  72. package/dist/diff-WQISUHG5.js +4 -0
  73. package/dist/{dist-CdE2C2In.js → dist-2Ne-33Xy.js} +15 -20
  74. package/dist/{dist-DKFaZRVk.js → dist-B0YD1aXi.js} +2 -2
  75. package/dist/{dist-DBhzmFyH.js → dist-B1Dv8Sdk.js} +3 -3
  76. package/dist/{dist-CGIZPq3J.js → dist-BFkr6kAQ.js} +2 -2
  77. package/dist/{dist-DL_ci7Yc.js → dist-BL2DSY0P.js} +1 -1
  78. package/dist/dist-BawZu0ix.js +10 -0
  79. package/dist/{dist-Bar1QnNM.js → dist-BhVFggab.js} +3 -3
  80. package/dist/{textile-Cy55fYGC.js → dist-BiOF7987.js} +4 -2
  81. package/dist/{dist-BQmQQqFH.js → dist-BpzZrRd6.js} +1 -1
  82. package/dist/{dist-CxD5E6Sh.js → dist-C7zhQ7K0.js} +24 -22
  83. package/dist/{dist-BqgkUnEN.js → dist-CBhnQKQ4.js} +3 -3
  84. package/dist/{dist-Dzk1C8l5.js → dist-CId4IPXu.js} +10 -13
  85. package/dist/{dist-CUnh_3Ii.js → dist-CYhQCVru.js} +2 -2
  86. package/dist/{dist-BBlFk9ki.js → dist-CZq5-ZyD.js} +1 -1
  87. package/dist/{dist-elblfNXO.js → dist-Cacac5HV.js} +2 -2
  88. package/dist/{dist-CChOkSUg.js → dist-CfQHSIQC.js} +3 -3
  89. package/dist/{dist-JCAky9ND.js → dist-CkvGMBAS.js} +17 -22
  90. package/dist/dist-Cs3McXEj.js +6 -0
  91. package/dist/{dist-o7fhJC7U.js → dist-CvyfRaIr.js} +3 -3
  92. package/dist/{dist-CZfRM7pE.js → dist-D-3fICwh.js} +2 -2
  93. package/dist/dist-D3aaithT.js +6 -0
  94. package/dist/{dist-CutXTm8t.js → dist-DBhEu3-F.js} +1 -1
  95. package/dist/dist-DELcMSpJ.js +6 -0
  96. package/dist/{dist-C7ASiFxI.js → dist-DMxl6Qbu.js} +273 -263
  97. package/dist/{dist-CLvpViod.js → dist-DS6nuHYK.js} +2 -3
  98. package/dist/dist-Dgts3WXd.js +6 -0
  99. package/dist/{dist--I6Htnlv.js → dist-DlHkZUnY.js} +5 -5
  100. package/dist/dist-Doiq_KIP.js +15 -0
  101. package/dist/dist-DtpUiDG_.js +6 -0
  102. package/dist/{dist-DzOpMdwb.js → dist-NUdHX0XE.js} +4 -4
  103. package/dist/{dist-C3WYsf4K.js → dist-PGgOcwbF.js} +4 -10
  104. package/dist/{dist-DNnYAdRE.js → dist-RdxOJbBw.js} +2 -2
  105. package/dist/{dist-BEvIw5Nh.js → dist-RwqAqkpG.js} +1 -1
  106. package/dist/dist-ZjnJq_jD.js +10 -0
  107. package/dist/{dist-CbRkrKrP.js → dist-biZ846D9.js} +5 -5
  108. package/dist/{dist-DW9er3Zq.js → dist-d5NxvX2s.js} +44 -23
  109. package/dist/{dist-C3QUag__.js → dist-ivwkJchV.js} +3 -3
  110. package/dist/dist-mof3iuBu.js +12 -0
  111. package/dist/{dist-Cib4sGDA.js → dist-reo2kYlN.js} +2 -2
  112. package/dist/{dist-BZBitvuL.js → dist-wHVprCkn.js} +1 -1
  113. package/dist/{dist-C5zMs_n5.js → dist-y8uoXYaE.js} +3 -3
  114. package/dist/{dist-DPF5TTUg.js → dist-z_iuDES7.js} +126 -115
  115. package/dist/{dockerfile-Dum_1b-5.js → dockerfile-sZMPcXVY.js} +1 -1
  116. package/dist/dtd-B2M8dhfC.js +4 -0
  117. package/dist/dylan-CU3Vt8SC.js +4 -0
  118. package/dist/ecl-B8ESAVq4.js +4 -0
  119. package/dist/eiffel-DDfMIKeA.js +4 -0
  120. package/dist/elm-Bj6rj8jf.js +4 -0
  121. package/dist/{erDiagram-AWTI2OKA-ZTIl9iQO.js → erDiagram-AWTI2OKA-CTxzb-U8.js} +20 -20
  122. package/dist/erlang-BxyshZUq.js +4 -0
  123. package/dist/{error-banner-OQIGTqFR.js → error-banner-npbEfanI.js} +13 -13
  124. package/dist/{esm-DxFkg7a6.js → esm-BdiY4QsX.js} +1528 -1492
  125. package/dist/{esm-d0g2RsOH.js → esm-CAWW9sum.js} +6 -8
  126. package/dist/{esm-1_Mp6VD2.js → esm-YY5zh7KV.js} +324 -395
  127. package/dist/{esm-BO9n_s6u.js → esm-svAVli9f.js} +5 -5
  128. package/dist/{factor-CdgiDGiu.js → factor-CRFTmP_a.js} +1 -1
  129. package/dist/factor-CYk6XT8r.js +5 -0
  130. package/dist/{flowDiagram-PVAE7QVJ-DsbofOzu.js → flowDiagram-PVAE7QVJ-Dck2hiJe.js} +22 -22
  131. package/dist/{formats-D5C6JAJf.js → formats-BnqXUb1V.js} +13 -17
  132. package/dist/forth-fcoJkd-f.js +4 -0
  133. package/dist/fortran-IxZHu4wc.js +4 -0
  134. package/dist/{fullscreen-D1yTiBlu.js → fullscreen-blsKUrtN.js} +741 -744
  135. package/dist/{ganttDiagram-OWAHRB6G-FnCH1Yj3.js → ganttDiagram-OWAHRB6G-AWzfzpup.js} +9 -9
  136. package/dist/gas-B8rmKcim.js +4 -0
  137. package/dist/gherkin-BTm-jIdJ.js +4 -0
  138. package/dist/gitGraph-ZV4HHKMB-DFg_OLQb.js +21 -0
  139. package/dist/{gitGraphDiagram-NY62KEGX-B0wvMNqU.js → gitGraphDiagram-NY62KEGX-GyNboWSV.js} +31 -34
  140. package/dist/{glide-data-editor-CYfKmSNp.js → glide-data-editor-DHuN8kQ8.js} +1701 -1771
  141. package/dist/{graphlib-BGmr7CYF.js → graphlib-hb3zmtVD.js} +5 -5
  142. package/dist/groovy-01kRHFMD.js +4 -0
  143. package/dist/haskell-B3PhE05w.js +4 -0
  144. package/dist/haxe-DEoAm8oA.js +5 -0
  145. package/dist/{hotkeys-yFrUwyJK.js → hotkeys-Ct2T3e9O.js} +4 -7
  146. package/dist/idl-DsDJU9cV.js +4 -0
  147. package/dist/info-63CPKGFF-D3DZmDBa.js +21 -0
  148. package/dist/infoDiagram-STP46IZ2-ec08vi_U.js +44 -0
  149. package/dist/{isArrayLikeObject-DiDsNamC.js → isArrayLikeObject-BlvK28do.js} +3 -5
  150. package/dist/{isEmpty-BBG-u1GM.js → isEmpty--odfYjh1.js} +2 -2
  151. package/dist/{isSymbol-BxF-_8BA.js → isSymbol-Cb1f2HgO.js} +1 -1
  152. package/dist/{javascript-Dfq1qI35.js → javascript-BfCTmOnk.js} +2 -2
  153. package/dist/javascript-gwczVhuU.js +5 -0
  154. package/dist/jinja2-AkZRdFk3.js +4 -0
  155. package/dist/{journeyDiagram-BIP6EPQ6-B3PotfAW.js → journeyDiagram-BIP6EPQ6-TmXYCUbT.js} +23 -24
  156. package/dist/julia-_s6qe3bf.js +4 -0
  157. package/dist/{kanban-definition-6OIFK2YF-BTrQZ3LN.js → kanban-definition-6OIFK2YF-B6ozleHo.js} +15 -15
  158. package/dist/{katex-dN__NFdn.js → katex-mPzRsXEy.js} +1 -1
  159. package/dist/{katex-BE4xflfm.js → katex-mkWmhPUh.js} +149 -173
  160. package/dist/{label-BinTsX-u.js → label-VVRKZmrP.js} +21 -24
  161. package/dist/{linear-DyTdUIqX.js → linear-iebAbJVD.js} +1 -1
  162. package/dist/livescript-CwPHQdv5.js +4 -0
  163. package/dist/{loader-Dijti3y4.js → loader-CM0VALo9.js} +19 -26
  164. package/dist/lua-s7nRxkCP.js +4 -0
  165. package/dist/main.js +8234 -8633
  166. package/dist/{marked.esm-3RjvXPoO.js → marked.esm-DJM8la36.js} +5 -5
  167. package/dist/mathematica-Ci36yd1q.js +4 -0
  168. package/dist/mbox-DbOYMNCO.js +4 -0
  169. package/dist/{memoize-Dq87l1O_.js → memoize-DYoRBSLn.js} +1 -1
  170. package/dist/{merge-BPDCIm8P.js → merge-BjuR6j_w.js} +1 -1
  171. package/dist/{mermaid-BlJDcO4M.js → mermaid-YPPMBmhk.js} +58 -76
  172. package/dist/{mermaid-parser.core-CSFx6MQ7.js → mermaid-parser.core-BLkyTSZj.js} +8 -8
  173. package/dist/{mhchem-DZ68WS0G.js → mhchem-Dw7wvXtr.js} +1 -1
  174. package/dist/{min-BzhKOmZo.js → min-B_i2ahn4.js} +7 -7
  175. package/dist/{mindmap-definition-Q6HEUPPD-9hhnrO1k.js → mindmap-definition-Q6HEUPPD-F6-JnXwq.js} +17 -17
  176. package/dist/mirc-VmNe8AwF.js +4 -0
  177. package/dist/mllike-BdD7SJEa.js +6 -0
  178. package/dist/modelica-BA4VqzC3.js +4 -0
  179. package/dist/mscgen-DF-5WHJm.js +6 -0
  180. package/dist/mumps-c_Uia_QN.js +4 -0
  181. package/dist/{node-sql-parser-13oju30e.js → node-sql-parser-BqKV-TpL.js} +14343 -14351
  182. package/dist/{now-DVBcRCoE.js → now-CwRqw0nS.js} +1 -1
  183. package/dist/nsis-BAANGODV.js +5 -0
  184. package/dist/{nsis-BW6_XagK.js → nsis-BWJEeUyS.js} +1 -1
  185. package/dist/ntriples-Bslqh2Ki.js +4 -0
  186. package/dist/{number-overlay-editor-D1YdiOrm.js → number-overlay-editor-CeyruAX4.js} +17 -23
  187. package/dist/octave-DYn5ltia.js +4 -0
  188. package/dist/oz-B_N-StZq.js +4 -0
  189. package/dist/packet-HUATNLJX-CkqjFdAv.js +21 -0
  190. package/dist/pascal-DU4CtAUu.js +4 -0
  191. package/dist/perl-Bae6k32u.js +4 -0
  192. package/dist/pie-WTHONI2E-D0rWwX5P.js +21 -0
  193. package/dist/{pieDiagram-ADFJNKIX-CSBC0ZgF.js → pieDiagram-ADFJNKIX-C5dSQVCn.js} +28 -28
  194. package/dist/pig-DSIxUEgX.js +4 -0
  195. package/dist/powershell-31lcPgIF.js +4 -0
  196. package/dist/powershell-BZx53Ujw.js +236 -0
  197. package/dist/properties-lmYbntDG.js +4 -0
  198. package/dist/protobuf-BTYoCEpV.js +4 -0
  199. package/dist/pug-DMFM7zzO.js +5 -0
  200. package/dist/{pug-Bmups_z0.js → pug-PJh82u1M.js} +1 -1
  201. package/dist/puppet-B0ub07d-.js +4 -0
  202. package/dist/python-C4jT87Nt.js +5 -0
  203. package/dist/{q-BzWcnVri.js → q-CMoUHJ5Q.js} +3 -2
  204. package/dist/q-YbPYlqRI.js +4 -0
  205. package/dist/{quadrantDiagram-LMRXKWRM-h7nHf8xG.js → quadrantDiagram-LMRXKWRM-DlahxNiy.js} +7 -7
  206. package/dist/r-OfNu6HAI.js +4 -0
  207. package/dist/radar-NJJJXTRR-Bxqv4O5a.js +21 -0
  208. package/dist/{range-CgK0-PEw.js → range-DxfkexCE.js} +3 -3
  209. package/dist/{react-plotly-BZakcxdv.js → react-plotly-D_IAfR8f.js} +4364 -4705
  210. package/dist/{requirementDiagram-4UW4RH46-BGEurQYq.js → requirementDiagram-4UW4RH46-DTkinyvU.js} +17 -17
  211. package/dist/rpm-D_3b5peD.js +5 -0
  212. package/dist/ruby-CehsJy_T.js +4 -0
  213. package/dist/{sankeyDiagram-GR3RE2ED-CxeJ_jfl.js → sankeyDiagram-GR3RE2ED-CsLnEnnq.js} +3 -3
  214. package/dist/sas-DwQHzPoF.js +4 -0
  215. package/dist/scheme-B6ArxiQu.js +4 -0
  216. package/dist/{sequenceDiagram-C3RYC4MD-CbFxwyr_.js → sequenceDiagram-C3RYC4MD-BdEOR6SC.js} +20 -30
  217. package/dist/shell-AHmQgDfc.js +4 -0
  218. package/dist/sieve-CgodKOcx.js +4 -0
  219. package/dist/{simple-mode-Cgyya8F-.js → simple-mode-BP3Jd4vf.js} +1 -1
  220. package/dist/{slides-component-BEyG25AH.js → slides-component-2bbal1YJ.js} +24 -46
  221. package/dist/smalltalk-BeFzDkbo.js +4 -0
  222. package/dist/sparql-BWxq-Lnx.js +4 -0
  223. package/dist/{src-BNNJRxz3.js → src-DZkaBUmt.js} +6 -6
  224. package/dist/{stateDiagram-KXAO66HF-A61bMf29.js → stateDiagram-KXAO66HF-DQLH2jhP.js} +39 -41
  225. package/dist/stateDiagram-v2-UMBNRL4Z-D9v8fKjF.js +38 -0
  226. package/dist/stex-Dvaq0qsm.js +5 -0
  227. package/dist/style.css +1 -1
  228. package/dist/stylus-Ge0ofWlZ.js +4 -0
  229. package/dist/swift-CjQfbVxV.js +4 -0
  230. package/dist/tcl-CAGDF11K.js +4 -0
  231. package/dist/textile-CrXreJtf.js +4 -0
  232. package/dist/{time-D3tzCqJ6.js → time-CFkXkVrt.js} +1 -1
  233. package/dist/{timeline-definition-XQNQX7LJ-BwdsB7CR.js → timeline-definition-XQNQX7LJ-bToVq14i.js} +4 -5
  234. package/dist/{timer-D3Zlu9ow.js → timer-CzOhIJuk.js} +2 -2
  235. package/dist/{toNumber-efKT08hh.js → toNumber-EFF1Z9T1.js} +2 -2
  236. package/dist/{toString-BvCd3yJc.js → toString-C2mCkasT.js} +2 -2
  237. package/dist/toml-AdLXKwEi.js +4 -0
  238. package/dist/{toml-CIUkU1CP.js → toml-eSl4PUAH.js} +6 -2
  239. package/dist/treemap-75Q7IDZK-Da9Jv6a_.js +21 -0
  240. package/dist/troff-C-LaM2ex.js +4 -0
  241. package/dist/ttcn-DTclUi6T.js +4 -0
  242. package/dist/ttcn-cfg-BtBPbmLX.js +4 -0
  243. package/dist/turtle-BODDDg5O.js +4 -0
  244. package/dist/{types-Dcb1hf55.js → types-CRXV0KD5.js} +385 -252
  245. package/dist/{useAsyncData-DAtPzJzP.js → useAsyncData-uMVTsDI9.js} +1 -1
  246. package/dist/{useDateFormatter-CiUlIu7v.js → useDateFormatter-Dcz7jstn.js} +6 -6
  247. package/dist/{useTheme-CmsvrO5o.js → useTheme-NbEx-ZNV.js} +14 -10
  248. package/dist/vb-Cb1HQHii.js +4 -0
  249. package/dist/vbscript-CpXOP4wZ.js +4 -0
  250. package/dist/{vega-component-B3LA6qbm.js → vega-component-hegVmfuS.js} +21 -21
  251. package/dist/{vega-loader.browser.module-Bi3ttvdj.js → vega-loader.browser.module-DcW8jnKp.js} +1 -2
  252. package/dist/velocity-Dz0rBQIk.js +4 -0
  253. package/dist/verilog-6Di9aLKw.js +4 -0
  254. package/dist/vhdl-BRNesXYc.js +4 -0
  255. package/dist/webidl-BpRNYIYn.js +4 -0
  256. package/dist/xquery-DXWcJ7b6.js +4 -0
  257. package/dist/{xychartDiagram-6GGTOJPD-BJRRi5HC.js → xychartDiagram-6GGTOJPD-C7Bhm_yt.js} +12 -13
  258. package/dist/yacas-DbSARPz4.js +4 -0
  259. package/dist/z80-DzslPj_l.js +4 -0
  260. package/dist/{zod-UPQf9SGn.js → zod-ChY6miG5.js} +71 -81
  261. package/package.json +12 -12
  262. package/src/__mocks__/requests.ts +2 -0
  263. package/src/__tests__/chat-history.test.ts +123 -0
  264. package/src/components/app-config/ai-config.tsx +23 -0
  265. package/src/components/app-config/mcp-config.tsx +42 -2
  266. package/src/components/app-config/user-config-form.tsx +29 -49
  267. package/src/components/chat/acp/__tests__/context-utils.test.ts +1 -1
  268. package/src/components/chat/acp/agent-panel.tsx +1 -1
  269. package/src/components/chat/acp/blocks.tsx +46 -53
  270. package/src/components/chat/acp/common.tsx +1 -1
  271. package/src/components/chat/acp/context-utils.ts +1 -1
  272. package/src/components/chat/acp/session-tabs.tsx +1 -1
  273. package/src/components/chat/chat-history-popover.tsx +125 -0
  274. package/src/components/chat/chat-history-utils.ts +69 -0
  275. package/src/components/chat/chat-panel.tsx +9 -57
  276. package/src/components/chat/chat-utils.ts +11 -4
  277. package/src/components/data-table/__tests__/header-items.test.tsx +117 -0
  278. package/src/components/data-table/column-header.tsx +4 -2
  279. package/src/components/data-table/columns.tsx +2 -1
  280. package/src/components/data-table/data-table.tsx +7 -2
  281. package/src/components/data-table/header-items.tsx +63 -10
  282. package/src/components/dependency-graph/custom-node.tsx +11 -11
  283. package/src/components/dependency-graph/elements.ts +9 -4
  284. package/src/components/dependency-graph/panels.tsx +6 -4
  285. package/src/components/editor/Output.tsx +6 -1
  286. package/src/components/editor/__tests__/data-attributes.test.tsx +1 -1
  287. package/src/components/editor/actions/useNotebookActions.tsx +2 -4
  288. package/src/components/editor/ai/__tests__/completion-utils.test.ts +23 -31
  289. package/src/components/editor/ai/ai-completion-editor.tsx +135 -5
  290. package/src/components/editor/ai/completion-handlers.tsx +106 -22
  291. package/src/components/editor/cell/CreateCellButton.tsx +14 -2
  292. package/src/components/editor/cell/code/cell-editor.tsx +6 -0
  293. package/src/components/editor/chrome/panels/cache-panel.tsx +216 -0
  294. package/src/components/editor/chrome/panels/empty-state.tsx +3 -1
  295. package/src/components/editor/chrome/types.ts +66 -22
  296. package/src/components/editor/chrome/wrapper/app-chrome.tsx +2 -0
  297. package/src/components/editor/database/schemas.ts +2 -10
  298. package/src/components/editor/errors/auto-fix.tsx +138 -32
  299. package/src/components/editor/errors/fix-mode.ts +15 -0
  300. package/src/components/editor/navigation/__tests__/clipboard.test.ts +0 -5
  301. package/src/components/editor/navigation/clipboard.ts +2 -1
  302. package/src/components/editor/{Cell.tsx → notebook-cell.tsx} +25 -8
  303. package/src/components/editor/output/ConsoleOutput.tsx +27 -33
  304. package/src/components/editor/output/JsonOutput.tsx +9 -0
  305. package/src/components/editor/output/MarimoErrorOutput.tsx +4 -34
  306. package/src/components/editor/output/MarimoTracebackOutput.tsx +10 -7
  307. package/src/components/editor/output/__tests__/json-output.test.ts +43 -0
  308. package/src/components/editor/package-alert.tsx +3 -0
  309. package/src/components/editor/renderers/{CellArray.tsx → cell-array.tsx} +1 -1
  310. package/src/components/forms/__tests__/form-utils.test.ts +6 -4
  311. package/src/components/icons/copy-icon.tsx +11 -5
  312. package/src/components/mcp/hooks.ts +48 -0
  313. package/src/components/mcp/mcp-status-indicator.tsx +144 -0
  314. package/src/components/shortcuts/renderShortcut.tsx +3 -1
  315. package/src/components/ui/button.tsx +2 -0
  316. package/src/components/ui/confirmation-button.tsx +85 -0
  317. package/src/components/ui/number-field.tsx +4 -1
  318. package/src/components/ui/switch.tsx +2 -0
  319. package/src/core/ai/context/providers/__tests__/__snapshots__/tables.test.ts.snap +13 -19
  320. package/src/core/ai/context/providers/__tests__/cell-output.test.ts +0 -1
  321. package/src/core/ai/context/providers/__tests__/datasource.test.ts +14 -7
  322. package/src/core/ai/context/providers/__tests__/error.test.ts +24 -15
  323. package/src/core/ai/context/providers/cell-output.ts +5 -5
  324. package/src/core/ai/context/providers/common.ts +13 -4
  325. package/src/core/ai/context/providers/datasource.ts +56 -21
  326. package/src/core/ai/context/providers/error.ts +3 -4
  327. package/src/core/ai/context/providers/file.ts +2 -2
  328. package/src/core/ai/context/providers/tables.ts +36 -8
  329. package/src/core/ai/context/providers/variable.ts +2 -3
  330. package/src/core/ai/state.ts +6 -3
  331. package/src/core/ai/tools/__tests__/registry.test.ts +33 -8
  332. package/src/core/ai/tools/base.ts +81 -1
  333. package/src/core/ai/tools/registry.ts +36 -10
  334. package/src/core/ai/tools/sample-tool.ts +44 -8
  335. package/src/core/cache/requests.ts +5 -0
  336. package/src/core/cells/__tests__/cells.test.ts +6 -6
  337. package/src/core/cells/cells.ts +13 -14
  338. package/src/core/cells/scrollCellIntoView.ts +1 -1
  339. package/src/core/codemirror/__tests__/__snapshots__/setup.test.ts.snap +2 -0
  340. package/src/core/codemirror/__tests__/replace-editor-content.test.ts +336 -0
  341. package/src/core/codemirror/__tests__/setup.test.ts +1 -0
  342. package/src/core/codemirror/cm.ts +3 -2
  343. package/src/core/codemirror/find-replace/navigate.ts +2 -2
  344. package/src/core/codemirror/format.ts +2 -9
  345. package/src/core/codemirror/language/__tests__/sql.test.ts +24 -6
  346. package/src/core/codemirror/language/languages/python.ts +1 -3
  347. package/src/core/codemirror/language/languages/sql/sql.ts +23 -13
  348. package/src/core/codemirror/language/panel/panel.tsx +1 -6
  349. package/src/core/codemirror/language/utils.ts +3 -8
  350. package/src/core/codemirror/lsp/__tests__/notebook-lsp.test.ts +21 -14
  351. package/src/core/codemirror/lsp/federated-lsp.ts +20 -9
  352. package/src/core/codemirror/lsp/notebook-lsp.ts +35 -29
  353. package/src/core/codemirror/lsp/types.ts +0 -13
  354. package/src/core/codemirror/replace-editor-content.ts +87 -0
  355. package/src/core/config/__tests__/config-schema.test.ts +5 -0
  356. package/src/core/config/config-schema.ts +10 -0
  357. package/src/core/config/feature-flag.tsx +2 -6
  358. package/src/core/edit-app.tsx +1 -1
  359. package/src/core/errors/__tests__/errors.test.ts +1 -0
  360. package/src/core/errors/errors.ts +20 -6
  361. package/src/core/islands/bridge.ts +2 -0
  362. package/src/core/islands/main.ts +4 -0
  363. package/src/core/kernel/messages.ts +1 -0
  364. package/src/core/network/CachingRequestRegistry.ts +2 -2
  365. package/src/core/network/requests-network.ts +14 -0
  366. package/src/core/network/requests-static.ts +2 -0
  367. package/src/core/network/requests-toasting.ts +2 -0
  368. package/src/core/network/types.ts +5 -0
  369. package/src/core/saving/save-component.tsx +43 -36
  370. package/src/core/wasm/bridge.ts +2 -0
  371. package/src/core/websocket/useMarimoWebSocket.tsx +8 -0
  372. package/src/css/app/codemirror-completions.css +1 -1
  373. package/src/custom.d.ts +2 -0
  374. package/src/plugins/core/registerReactComponent.tsx +5 -1
  375. package/src/plugins/impl/DataTablePlugin.tsx +19 -19
  376. package/src/plugins/impl/__tests__/DateTimePickerPlugin.test.tsx +32 -0
  377. package/src/plugins/impl/chat/ChatPlugin.tsx +1 -1
  378. package/src/plugins/impl/chat/chat-ui.tsx +17 -2
  379. package/src/plugins/impl/chat/types.ts +1 -1
  380. package/src/plugins/impl/data-frames/DataFramePlugin.tsx +7 -2
  381. package/src/plugins/impl/plotly/__tests__/parse-from-template.test.ts +17 -0
  382. package/src/plugins/impl/plotly/parse-from-template.ts +2 -1
  383. package/src/stories/cell.stories.tsx +1 -1
  384. package/src/stories/layout/vertical/one-column.stories.tsx +1 -1
  385. package/src/utils/__tests__/formatting.test.ts +107 -0
  386. package/src/utils/__tests__/json-parser.test.ts +13 -0
  387. package/src/utils/copy.ts +6 -0
  388. package/src/utils/formatting.ts +51 -0
  389. package/src/utils/json/json-parser.ts +28 -3
  390. package/src/utils/numbers.ts +24 -1
  391. package/dist/any-language-editor-CVFQlioK.js +0 -156
  392. package/dist/apl-ChlaBfxB.js +0 -4
  393. package/dist/architecture-O4VJ6CD3-BVeaxUcM.js +0 -21
  394. package/dist/asciiarmor-CcJmm3l_.js +0 -4
  395. package/dist/asn1-ThRYxoBE.js +0 -4
  396. package/dist/assets/__vite-browser-external-BeNtI_tJ.js +0 -1
  397. package/dist/assets/worker-DnuXpGWN.js +0 -54
  398. package/dist/brainfuck-CEM0JgDn.js +0 -4
  399. package/dist/chunk-EXTU4WIE-DECT9AAK.js +0 -14
  400. package/dist/chunk-S3R3BYOJ-DMQ1yeyq.js +0 -386
  401. package/dist/classDiagram-KNZD7YFC-BG53O6Jt.js +0 -39
  402. package/dist/classDiagram-v2-RKCZMP56-BmKILsGU.js +0 -39
  403. package/dist/clojure-B7RHyE9t.js +0 -4
  404. package/dist/cmake-TeTMP4I5.js +0 -4
  405. package/dist/cobol-DI-mxUER.js +0 -4
  406. package/dist/coffeescript-DHUFLqWp.js +0 -4
  407. package/dist/commonlisp-SLiUrh1m.js +0 -4
  408. package/dist/crystal-B4fY1ZfJ.js +0 -4
  409. package/dist/css-Bdoq3TzK.js +0 -5
  410. package/dist/cypher-CBU182fp.js +0 -4
  411. package/dist/d-D8myDZeH.js +0 -4
  412. package/dist/data-grid-overlay-editor-qNmJk2x0.js +0 -135
  413. package/dist/diagram-QEK2KX5R-fu8Noi3H.js +0 -245
  414. package/dist/diff-DJF_UB7H.js +0 -4
  415. package/dist/dist-52-_pKoy.js +0 -6
  416. package/dist/dist-6DOMStFn.js +0 -6
  417. package/dist/dist-B334aW7p.js +0 -10
  418. package/dist/dist-BOI9lUz-.js +0 -12
  419. package/dist/dist-C06uhBzF.js +0 -6
  420. package/dist/dist-CGkpguCB.js +0 -6
  421. package/dist/dist-CrApzUED.js +0 -6
  422. package/dist/dist-Dp2GLdCl.js +0 -14
  423. package/dist/dist-WHFsbMDr.js +0 -6
  424. package/dist/dist-hyKcTPG9.js +0 -10
  425. package/dist/dtd-DY8q65lC.js +0 -4
  426. package/dist/dylan-CBLcjWCi.js +0 -4
  427. package/dist/ecl-BSXPNfOw.js +0 -4
  428. package/dist/eiffel-BJf0PQX-.js +0 -4
  429. package/dist/elm-DWQwPCZS.js +0 -4
  430. package/dist/erlang-BWBaGZ5e.js +0 -4
  431. package/dist/factor-DT1-MBPl.js +0 -5
  432. package/dist/forth-D9GDt3FB.js +0 -4
  433. package/dist/fortran-DHkRhDWw.js +0 -4
  434. package/dist/gas-7lQEOM0H.js +0 -4
  435. package/dist/gherkin-BLLyroYi.js +0 -4
  436. package/dist/gitGraph-ZV4HHKMB-z2v_cInC.js +0 -21
  437. package/dist/groovy-C-wabwj0.js +0 -4
  438. package/dist/haskell-DaxVQ_d1.js +0 -4
  439. package/dist/haxe-C2yLoC7h.js +0 -5
  440. package/dist/idl-DQBP8i7k.js +0 -4
  441. package/dist/info-63CPKGFF-GS4w6pCB.js +0 -21
  442. package/dist/infoDiagram-STP46IZ2-DE9YYPFg.js +0 -44
  443. package/dist/javascript-DRwFV9r5.js +0 -5
  444. package/dist/jinja2-CNoIpVmN.js +0 -4
  445. package/dist/julia-DXDf-GhP.js +0 -4
  446. package/dist/livescript-S2uhJQx7.js +0 -4
  447. package/dist/lua-Bvgs0y2G.js +0 -4
  448. package/dist/mathematica-D2zqfwIg.js +0 -4
  449. package/dist/mbox-SBcPaDuZ.js +0 -4
  450. package/dist/mirc-hkQc7sVF.js +0 -4
  451. package/dist/mllike-DRWPBlr9.js +0 -6
  452. package/dist/modelica-CO2ROGlP.js +0 -4
  453. package/dist/mscgen-BpX61bO6.js +0 -6
  454. package/dist/mumps-BCnFeIn6.js +0 -4
  455. package/dist/nsis-BaTOxlD1.js +0 -5
  456. package/dist/ntriples-zEo5BWjr.js +0 -4
  457. package/dist/octave-BE0RnCM9.js +0 -4
  458. package/dist/oz-C4_2Ttul.js +0 -4
  459. package/dist/packet-HUATNLJX-CjHqJIqk.js +0 -21
  460. package/dist/pascal-Q3jJucpw.js +0 -4
  461. package/dist/perl-DkXZIWHF.js +0 -4
  462. package/dist/pie-WTHONI2E-D67gLWtR.js +0 -21
  463. package/dist/pig-DCgEHdsu.js +0 -4
  464. package/dist/powershell-3rK_nRRJ.js +0 -236
  465. package/dist/powershell-Eo2-7MoM.js +0 -4
  466. package/dist/properties-C0IOX8WR.js +0 -4
  467. package/dist/protobuf--lGQUSRO.js +0 -4
  468. package/dist/pug-Cf8AQHMJ.js +0 -5
  469. package/dist/puppet-D7Z3dTJn.js +0 -4
  470. package/dist/python-FHIx_i8Y.js +0 -5
  471. package/dist/q-B7UA1feM.js +0 -4
  472. package/dist/r-Cc9R2A7N.js +0 -4
  473. package/dist/radar-NJJJXTRR-C-AZP_Te.js +0 -21
  474. package/dist/rpm-vhJNlrQ6.js +0 -5
  475. package/dist/ruby-CVluPY0M.js +0 -4
  476. package/dist/sas-A8DL8oy3.js +0 -4
  477. package/dist/scheme-6xHHcSXC.js +0 -4
  478. package/dist/shell-DHN-e5rf.js +0 -4
  479. package/dist/sieve-BuQwLY02.js +0 -4
  480. package/dist/smalltalk-BA4HPg2H.js +0 -4
  481. package/dist/sparql-Bf4yCuy3.js +0 -4
  482. package/dist/stateDiagram-v2-UMBNRL4Z-C_0FUzzk.js +0 -38
  483. package/dist/stex-D-I1cYeE.js +0 -5
  484. package/dist/stylus-BMeped2l.js +0 -4
  485. package/dist/swift-lwEdlZoC.js +0 -4
  486. package/dist/tcl-B03ipeqv.js +0 -4
  487. package/dist/toml-BLgrVtfu.js +0 -4
  488. package/dist/treemap-75Q7IDZK-DTvwfpWt.js +0 -21
  489. package/dist/troff-g6EjN2O2.js +0 -4
  490. package/dist/ttcn-Dzvba8jK.js +0 -4
  491. package/dist/ttcn-cfg-CadG0p1K.js +0 -4
  492. package/dist/turtle-DkXAMWo9.js +0 -4
  493. package/dist/vb-C5dCiel8.js +0 -4
  494. package/dist/vbscript-I4bDEQln.js +0 -4
  495. package/dist/velocity-mt0fDwFH.js +0 -4
  496. package/dist/verilog-Dxq3KJkc.js +0 -4
  497. package/dist/vhdl-Km0QUlV-.js +0 -4
  498. package/dist/webidl-B3lJ2MRL.js +0 -4
  499. package/dist/xquery-CcIxNPEe.js +0 -4
  500. package/dist/yacas-oMa-f-tN.js +0 -4
  501. package/dist/z80-D03Nvn6l.js +0 -4
  502. /package/dist/{apl-DZqo8Elt.js → apl-CEHentF4.js} +0 -0
  503. /package/dist/{asciiarmor-DTzHAIeX.js → asciiarmor-DURYiCS0.js} +0 -0
  504. /package/dist/{asn1-DrAXKsZH.js → asn1-ETAiEoXY.js} +0 -0
  505. /package/dist/{asterisk-oF4U3h48.js → asterisk-DTpbbXPb.js} +0 -0
  506. /package/dist/{brainfuck-BYgLey30.js → brainfuck-BWQep-SA.js} +0 -0
  507. /package/dist/{clojure-Bs2M3OUY.js → clojure-BzFapDkA.js} +0 -0
  508. /package/dist/{cmake-DpI8vxJN.js → cmake-DvlbIC8x.js} +0 -0
  509. /package/dist/{cobol-BQyrWo72.js → cobol-BrEI4cPR.js} +0 -0
  510. /package/dist/{coffeescript-9ke9UHmw.js → coffeescript-B6cvu8mO.js} +0 -0
  511. /package/dist/{common-keywords-BzgeAvH1.js → common-keywords-WqQm7W8t.js} +0 -0
  512. /package/dist/{commonlisp-DghUdrUH.js → commonlisp-BIT8PQqi.js} +0 -0
  513. /package/dist/{crystal-DEf_SInh.js → crystal-B_UcPArT.js} +0 -0
  514. /package/dist/{css-BzTU9lNO.js → css-dHbnt_zl.js} +0 -0
  515. /package/dist/{cypher-a2v0c11S.js → cypher-Dh3FOpL7.js} +0 -0
  516. /package/dist/{d-SAswny-M.js → d-CQD1IHee.js} +0 -0
  517. /package/dist/{diff-OJ-xLXcG.js → diff-CpF_IDx0.js} +0 -0
  518. /package/dist/{dtd-BsUf-rer.js → dtd-DYoNpy6c.js} +0 -0
  519. /package/dist/{duckdb-keywords-B0NOra5o.js → duckdb-keywords-CdIsl9L0.js} +0 -0
  520. /package/dist/{dylan-C0ZYngjn.js → dylan-Bc_2G1E-.js} +0 -0
  521. /package/dist/{ebnf-DF1xx0b_.js → ebnf-jGVT_YpN.js} +0 -0
  522. /package/dist/{ecl-Bsuvoouq.js → ecl-UIU-P-Ar.js} +0 -0
  523. /package/dist/{eiffel-DgfSpLi-.js → eiffel-C90Oyuix.js} +0 -0
  524. /package/dist/{elm-GNxDj-5E.js → elm-B9fWSySj.js} +0 -0
  525. /package/dist/{erlang-Ds3uY1kL.js → erlang-Ccff0UAn.js} +0 -0
  526. /package/dist/{fcl-CqBgSioc.js → fcl-CGR8NxAg.js} +0 -0
  527. /package/dist/{forth-JCaLysGk.js → forth-U1ROGcBY.js} +0 -0
  528. /package/dist/{fortran-Dc2AoKAl.js → fortran-3nOkjDmc.js} +0 -0
  529. /package/dist/{gas-Q4Uz82YW.js → gas-B_4H5FzV.js} +0 -0
  530. /package/dist/{gherkin-Dpxe49sQ.js → gherkin-B0eru5Uz.js} +0 -0
  531. /package/dist/{groovy-D8mTRCu6.js → groovy-dqjtZUVf.js} +0 -0
  532. /package/dist/{haskell-2_8cC4wY.js → haskell-DFzCCQzo.js} +0 -0
  533. /package/dist/{haxe-Bl9zkZlz.js → haxe-Da8Pj5RT.js} +0 -0
  534. /package/dist/{http-DKCqY6yS.js → http-1HACL_9s.js} +0 -0
  535. /package/dist/{idl-Dn-HNfGW.js → idl-D3NXs5iM.js} +0 -0
  536. /package/dist/{jinja2-JjFiAGKk.js → jinja2-gBHAxUdF.js} +0 -0
  537. /package/dist/{julia-R5wne8eu.js → julia-bG-6nJ-_.js} +0 -0
  538. /package/dist/{livescript-DSwokrYj.js → livescript-BlsRC8UJ.js} +0 -0
  539. /package/dist/{lua-CgXfrp2-.js → lua-BbDC0_5w.js} +0 -0
  540. /package/dist/{mathematica-BVli92MR.js → mathematica-YZTe3-PF.js} +0 -0
  541. /package/dist/{mbox-CMFlocdS.js → mbox-CY5idp08.js} +0 -0
  542. /package/dist/{mirc-BkW04Zpc.js → mirc-CbQuFZKk.js} +0 -0
  543. /package/dist/{mllike-DEjvHvNV.js → mllike-DsbHMX-5.js} +0 -0
  544. /package/dist/{modelica-CxDn-oje.js → modelica-CQuvsOQk.js} +0 -0
  545. /package/dist/{mscgen-D78wmE-w.js → mscgen-LIpBP9VR.js} +0 -0
  546. /package/dist/{mumps-Bi0IvPOV.js → mumps-Ct5NXoaG.js} +0 -0
  547. /package/dist/{nginx-DErPZFhX.js → nginx-Dvc62C8z.js} +0 -0
  548. /package/dist/{ntriples-Btyp6wRL.js → ntriples-jVkxWUuv.js} +0 -0
  549. /package/dist/{octave-CZA6-2F8.js → octave-jGOImUB0.js} +0 -0
  550. /package/dist/{oz-Bm6LSNfE.js → oz-Y0FKDMS2.js} +0 -0
  551. /package/dist/{pascal-B4J6a9BH.js → pascal-BaLtPWWB.js} +0 -0
  552. /package/dist/{perl-CzVqxS08.js → perl-CjfE0JLo.js} +0 -0
  553. /package/dist/{pig-Clh03cnn.js → pig-DE4epV99.js} +0 -0
  554. /package/dist/{properties-D7ch1Wyb.js → properties-CLyCG5C-.js} +0 -0
  555. /package/dist/{protobuf-DrkdrMPK.js → protobuf-BjBBs_V4.js} +0 -0
  556. /package/dist/{puppet-BtZG8zdO.js → puppet-ZImLuomA.js} +0 -0
  557. /package/dist/{python-B6FKOVIv.js → python-C9YN71pR.js} +0 -0
  558. /package/dist/{r-Dnvo5-96.js → r-DILmKWWW.js} +0 -0
  559. /package/dist/{rpm-B1DrgfnX.js → rpm-fpIsm1Kr.js} +0 -0
  560. /package/dist/{ruby-CelfUg17.js → ruby-BuiQI41h.js} +0 -0
  561. /package/dist/{sas-DfSQFMWG.js → sas-C76sJ1zF.js} +0 -0
  562. /package/dist/{scheme-BplhaWuO.js → scheme-DHjM-txv.js} +0 -0
  563. /package/dist/{shell-DqU5OS2c.js → shell--7NmGJ9p.js} +0 -0
  564. /package/dist/{sieve-BE4_IyGa.js → sieve-DaPvBv1M.js} +0 -0
  565. /package/dist/{smalltalk-B_WPL8Nx.js → smalltalk-KPvwrjCs.js} +0 -0
  566. /package/dist/{solr-DlJFg7H5.js → solr-PvZUtEDb.js} +0 -0
  567. /package/dist/{sparql-7XIlcOgW.js → sparql-CXSUIQer.js} +0 -0
  568. /package/dist/{spreadsheet-BdZSVwVp.js → spreadsheet-DPJdGPkx.js} +0 -0
  569. /package/dist/{sql-CCrq7lfJ.js → sql-Dp4ZLSIa.js} +0 -0
  570. /package/dist/{stex-BiFc8QAu.js → stex-CeXW4zzk.js} +0 -0
  571. /package/dist/{stylus-DlSH9xpH.js → stylus-BXcmrg9w.js} +0 -0
  572. /package/dist/{swift-e3tMTZgJ.js → swift-DD8I7hKP.js} +0 -0
  573. /package/dist/{tcl-DfZMC20G.js → tcl-B9Lp4GtA.js} +0 -0
  574. /package/dist/{textile-DaSeca5U.js → textile-qdiY0teq.js} +0 -0
  575. /package/dist/{tiddlywiki-dfoiz8pS.js → tiddlywiki-t32lkubq.js} +0 -0
  576. /package/dist/{tiki-yJbQzhma.js → tiki-B0qKrSMl.js} +0 -0
  577. /package/dist/{troff-FN_FrCXR.js → troff-105XJOEu.js} +0 -0
  578. /package/dist/{ttcn-7_i4HlyB.js → ttcn-1_BxDcM8.js} +0 -0
  579. /package/dist/{ttcn-cfg-B46AlBUV.js → ttcn-cfg-Cn_XgXiw.js} +0 -0
  580. /package/dist/{turtle-QQfeFveR.js → turtle-BI6LyfEu.js} +0 -0
  581. /package/dist/{vb-DToPVnLa.js → vb-BecoBfmr.js} +0 -0
  582. /package/dist/{vbscript-CtsNaTz4.js → vbscript-De-zpA4i.js} +0 -0
  583. /package/dist/{velocity-CAoNe6ns.js → velocity-DhlYJTrD.js} +0 -0
  584. /package/dist/{verilog-DrDOMiJq.js → verilog-BDZgxDOW.js} +0 -0
  585. /package/dist/{vhdl-DnO0OEPh.js → vhdl-CV0OKTbp.js} +0 -0
  586. /package/dist/{webidl-Or6d1ZfA.js → webidl-BOM1Fs0O.js} +0 -0
  587. /package/dist/{xquery-CEp_Mcpr.js → xquery-CltP_CGh.js} +0 -0
  588. /package/dist/{yacas-DgnYrSlp.js → yacas-Dch4E2Dg.js} +0 -0
  589. /package/dist/{z80-DlG_kyeB.js → z80-B5Yly27o.js} +0 -0
@@ -1,88 +1,88 @@
1
- import { B as tags, I as syntaxTree, O as indentNodeProp, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, w as foldNodeProp, z as styleTags } from "./dist-DPF5TTUg.js";
2
- import { l as ifNotIn, s as completeFromList } from "./dist-CxD5E6Sh.js";
1
+ import { B as tags, I as syntaxTree, O as indentNodeProp, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, w as foldNodeProp, z as styleTags } from "./dist-z_iuDES7.js";
2
+ import { l as ifNotIn, s as completeFromList } from "./dist-C7zhQ7K0.js";
3
3
  var whitespace = 36, LineComment = 1, BlockComment = 2, String$1 = 3, Number = 4, Bool = 5, Null = 6, ParenL = 7, ParenR = 8, BraceL = 9, BraceR = 10, BracketL = 11, BracketR = 12, Semi = 13, Dot = 14, Operator = 15, Punctuation = 16, SpecialVar = 17, Identifier = 18, QuotedIdentifier = 19, Keyword = 20, Type = 21, Bits = 22, Bytes = 23, Builtin = 24;
4
- function isAlpha(m3) {
5
- return m3 >= 65 && m3 <= 90 || m3 >= 97 && m3 <= 122 || m3 >= 48 && m3 <= 57;
4
+ function isAlpha(h3) {
5
+ return h3 >= 65 && h3 <= 90 || h3 >= 97 && h3 <= 122 || h3 >= 48 && h3 <= 57;
6
6
  }
7
- function isHexDigit(m3) {
8
- return m3 >= 48 && m3 <= 57 || m3 >= 97 && m3 <= 102 || m3 >= 65 && m3 <= 70;
7
+ function isHexDigit(h3) {
8
+ return h3 >= 48 && h3 <= 57 || h3 >= 97 && h3 <= 102 || h3 >= 65 && h3 <= 70;
9
9
  }
10
- function readLiteral(m3, U, W) {
11
- for (let G = false; ; ) {
12
- if (m3.next < 0) return;
13
- if (m3.next == U && !G) {
14
- m3.advance();
10
+ function readLiteral(h3, W, G) {
11
+ for (let K = false; ; ) {
12
+ if (h3.next < 0) return;
13
+ if (h3.next == W && !K) {
14
+ h3.advance();
15
15
  return;
16
16
  }
17
- G = W && !G && m3.next == 92, m3.advance();
17
+ K = G && !K && h3.next == 92, h3.advance();
18
18
  }
19
19
  }
20
- function readDoubleDollarLiteral(m3, U) {
20
+ function readDoubleDollarLiteral(h3, W) {
21
21
  scan: for (; ; ) {
22
- if (m3.next < 0) return;
23
- if (m3.next == 36) {
24
- m3.advance();
25
- for (let W = 0; W < U.length; W++) {
26
- if (m3.next != U.charCodeAt(W)) continue scan;
27
- m3.advance();
22
+ if (h3.next < 0) return;
23
+ if (h3.next == 36) {
24
+ h3.advance();
25
+ for (let G = 0; G < W.length; G++) {
26
+ if (h3.next != W.charCodeAt(G)) continue scan;
27
+ h3.advance();
28
28
  }
29
- if (m3.next == 36) {
30
- m3.advance();
29
+ if (h3.next == 36) {
30
+ h3.advance();
31
31
  return;
32
32
  }
33
- } else m3.advance();
33
+ } else h3.advance();
34
34
  }
35
35
  }
36
- function readPLSQLQuotedLiteral(m3, U) {
37
- let W = "[{<(".indexOf(String.fromCharCode(U)), G = W < 0 ? U : "]}>)".charCodeAt(W);
36
+ function readPLSQLQuotedLiteral(h3, W) {
37
+ let G = "[{<(".indexOf(String.fromCharCode(W)), K = G < 0 ? W : "]}>)".charCodeAt(G);
38
38
  for (; ; ) {
39
- if (m3.next < 0) return;
40
- if (m3.next == G && m3.peek(1) == 39) {
41
- m3.advance(2);
39
+ if (h3.next < 0) return;
40
+ if (h3.next == K && h3.peek(1) == 39) {
41
+ h3.advance(2);
42
42
  return;
43
43
  }
44
- m3.advance();
44
+ h3.advance();
45
45
  }
46
46
  }
47
- function readWord(m3, U) {
48
- for (; !(m3.next != 95 && !isAlpha(m3.next)); ) U != null && (U += String.fromCharCode(m3.next)), m3.advance();
49
- return U;
47
+ function readWord(h3, W) {
48
+ for (; !(h3.next != 95 && !isAlpha(h3.next)); ) W != null && (W += String.fromCharCode(h3.next)), h3.advance();
49
+ return W;
50
50
  }
51
- function readWordOrQuoted(m3) {
52
- if (m3.next == 39 || m3.next == 34 || m3.next == 96) {
53
- let U = m3.next;
54
- m3.advance(), readLiteral(m3, U, false);
55
- } else readWord(m3);
51
+ function readWordOrQuoted(h3) {
52
+ if (h3.next == 39 || h3.next == 34 || h3.next == 96) {
53
+ let W = h3.next;
54
+ h3.advance(), readLiteral(h3, W, false);
55
+ } else readWord(h3);
56
56
  }
57
- function readBits(m3, U) {
58
- for (; m3.next == 48 || m3.next == 49; ) m3.advance();
59
- U && m3.next == U && m3.advance();
57
+ function readBits(h3, W) {
58
+ for (; h3.next == 48 || h3.next == 49; ) h3.advance();
59
+ W && h3.next == W && h3.advance();
60
60
  }
61
- function readNumber(m3, U) {
61
+ function readNumber(h3, W) {
62
62
  for (; ; ) {
63
- if (m3.next == 46) {
64
- if (U) break;
65
- U = true;
66
- } else if (m3.next < 48 || m3.next > 57) break;
67
- m3.advance();
63
+ if (h3.next == 46) {
64
+ if (W) break;
65
+ W = true;
66
+ } else if (h3.next < 48 || h3.next > 57) break;
67
+ h3.advance();
68
68
  }
69
- if (m3.next == 69 || m3.next == 101) for (m3.advance(), (m3.next == 43 || m3.next == 45) && m3.advance(); m3.next >= 48 && m3.next <= 57; ) m3.advance();
69
+ if (h3.next == 69 || h3.next == 101) for (h3.advance(), (h3.next == 43 || h3.next == 45) && h3.advance(); h3.next >= 48 && h3.next <= 57; ) h3.advance();
70
70
  }
71
- function eol(m3) {
72
- for (; !(m3.next < 0 || m3.next == 10); ) m3.advance();
71
+ function eol(h3) {
72
+ for (; !(h3.next < 0 || h3.next == 10); ) h3.advance();
73
73
  }
74
- function inString(m3, U) {
75
- for (let W = 0; W < U.length; W++) if (U.charCodeAt(W) == m3) return true;
74
+ function inString(h3, W) {
75
+ for (let G = 0; G < W.length; G++) if (W.charCodeAt(G) == h3) return true;
76
76
  return false;
77
77
  }
78
78
  var Space = " \r\n";
79
- function keywords(m3, U, W) {
80
- let G = /* @__PURE__ */ Object.create(null);
81
- G.true = G.false = Bool, G.null = G.unknown = Null;
82
- for (let U2 of m3.split(" ")) U2 && (G[U2] = Keyword);
83
- for (let m4 of U.split(" ")) m4 && (G[m4] = Type);
84
- for (let m4 of (W || "").split(" ")) m4 && (G[m4] = Builtin);
85
- return G;
79
+ function keywords(h3, W, G) {
80
+ let K = /* @__PURE__ */ Object.create(null);
81
+ K.true = K.false = Bool, K.null = K.unknown = Null;
82
+ for (let W2 of h3.split(" ")) W2 && (K[W2] = Keyword);
83
+ for (let h4 of W.split(" ")) h4 && (K[h4] = Type);
84
+ for (let h4 of (G || "").split(" ")) h4 && (K[h4] = Builtin);
85
+ return K;
86
86
  }
87
87
  var SQLTypes = "array binary bit boolean char character clob date decimal double float int integer interval large national nchar nclob numeric object precision real smallint time timestamp varchar varying ", SQLKeywords = "absolute action add after all allocate alter and any are as asc assertion at authorization before begin between both breadth by call cascade cascaded case cast catalog check close collate collation column commit condition connect connection constraint constraints constructor continue corresponding count create cross cube current current_date current_default_transform_group current_transform_group_for_type current_path current_role current_time current_timestamp current_user cursor cycle data day deallocate declare default deferrable deferred delete depth deref desc describe descriptor deterministic diagnostics disconnect distinct do domain drop dynamic each else elseif end end-exec equals escape except exception exec execute exists exit external fetch first for foreign found from free full function general get global go goto grant group grouping handle having hold hour identity if immediate in indicator initially inner inout input insert intersect into is isolation join key language last lateral leading leave left level like limit local localtime localtimestamp locator loop map match method minute modifies module month names natural nesting new next no none not of old on only open option or order ordinality out outer output overlaps pad parameter partial path prepare preserve primary prior privileges procedure public read reads recursive redo ref references referencing relative release repeat resignal restrict result return returns revoke right role rollback rollup routine row rows savepoint schema scroll search second section select session session_user set sets signal similar size some space specific specifictype sql sqlexception sqlstate sqlwarning start state static system_user table temporary then timezone_hour timezone_minute to trailing transaction translation treat trigger under undo union unique unnest until update usage user using value values view when whenever where while with without work write year zone ", defaults = {
88
88
  backslashEscapes: false,
@@ -101,73 +101,73 @@ var SQLTypes = "array binary bit boolean char character clob date decimal double
101
101
  caseInsensitiveIdentifiers: false,
102
102
  words: /* @__PURE__ */ keywords(SQLKeywords, SQLTypes)
103
103
  };
104
- function dialect(m3, U, W, G) {
105
- let K = {};
106
- for (let U2 in defaults) K[U2] = (m3.hasOwnProperty(U2) ? m3 : defaults)[U2];
107
- return U && (K.words = keywords(U, W || "", G)), K;
108
- }
109
- function tokensFor(m3) {
110
- return new ExternalTokenizer((U) => {
111
- let { next: W } = U;
112
- if (U.advance(), inString(W, Space)) {
113
- for (; inString(U.next, Space); ) U.advance();
114
- U.acceptToken(whitespace);
115
- } else if (W == 36 && m3.doubleDollarQuotedStrings) {
116
- let m4 = readWord(U, "");
117
- U.next == 36 && (U.advance(), readDoubleDollarLiteral(U, m4), U.acceptToken(String$1));
118
- } else if (W == 39 || W == 34 && m3.doubleQuotedStrings) readLiteral(U, W, m3.backslashEscapes), U.acceptToken(String$1);
119
- else if (W == 35 && m3.hashComments || W == 47 && U.next == 47 && m3.slashComments) eol(U), U.acceptToken(LineComment);
120
- else if (W == 45 && U.next == 45 && (!m3.spaceAfterDashes || U.peek(1) == 32)) eol(U), U.acceptToken(LineComment);
121
- else if (W == 47 && U.next == 42) {
122
- U.advance();
123
- for (let m4 = 1; ; ) {
124
- let W2 = U.next;
125
- if (U.next < 0) break;
126
- if (U.advance(), W2 == 42 && U.next == 47) {
127
- if (m4--, U.advance(), !m4) break;
128
- } else W2 == 47 && U.next == 42 && (m4++, U.advance());
104
+ function dialect(h3, W, G, K) {
105
+ let q = {};
106
+ for (let W2 in defaults) q[W2] = (h3.hasOwnProperty(W2) ? h3 : defaults)[W2];
107
+ return W && (q.words = keywords(W, G || "", K)), q;
108
+ }
109
+ function tokensFor(h3) {
110
+ return new ExternalTokenizer((W) => {
111
+ let { next: G } = W;
112
+ if (W.advance(), inString(G, Space)) {
113
+ for (; inString(W.next, Space); ) W.advance();
114
+ W.acceptToken(whitespace);
115
+ } else if (G == 36 && h3.doubleDollarQuotedStrings) {
116
+ let h4 = readWord(W, "");
117
+ W.next == 36 && (W.advance(), readDoubleDollarLiteral(W, h4), W.acceptToken(String$1));
118
+ } else if (G == 39 || G == 34 && h3.doubleQuotedStrings) readLiteral(W, G, h3.backslashEscapes), W.acceptToken(String$1);
119
+ else if (G == 35 && h3.hashComments || G == 47 && W.next == 47 && h3.slashComments) eol(W), W.acceptToken(LineComment);
120
+ else if (G == 45 && W.next == 45 && (!h3.spaceAfterDashes || W.peek(1) == 32)) eol(W), W.acceptToken(LineComment);
121
+ else if (G == 47 && W.next == 42) {
122
+ W.advance();
123
+ for (let h4 = 1; ; ) {
124
+ let G2 = W.next;
125
+ if (W.next < 0) break;
126
+ if (W.advance(), G2 == 42 && W.next == 47) {
127
+ if (h4--, W.advance(), !h4) break;
128
+ } else G2 == 47 && W.next == 42 && (h4++, W.advance());
129
129
  }
130
- U.acceptToken(BlockComment);
131
- } else if ((W == 101 || W == 69) && U.next == 39) U.advance(), readLiteral(U, 39, true), U.acceptToken(String$1);
132
- else if ((W == 110 || W == 78) && U.next == 39 && m3.charSetCasts) U.advance(), readLiteral(U, 39, m3.backslashEscapes), U.acceptToken(String$1);
133
- else if (W == 95 && m3.charSetCasts) for (let W2 = 0; ; W2++) {
134
- if (U.next == 39 && W2 > 1) {
135
- U.advance(), readLiteral(U, 39, m3.backslashEscapes), U.acceptToken(String$1);
130
+ W.acceptToken(BlockComment);
131
+ } else if ((G == 101 || G == 69) && W.next == 39) W.advance(), readLiteral(W, 39, true), W.acceptToken(String$1);
132
+ else if ((G == 110 || G == 78) && W.next == 39 && h3.charSetCasts) W.advance(), readLiteral(W, 39, h3.backslashEscapes), W.acceptToken(String$1);
133
+ else if (G == 95 && h3.charSetCasts) for (let G2 = 0; ; G2++) {
134
+ if (W.next == 39 && G2 > 1) {
135
+ W.advance(), readLiteral(W, 39, h3.backslashEscapes), W.acceptToken(String$1);
136
136
  break;
137
137
  }
138
- if (!isAlpha(U.next)) break;
139
- U.advance();
138
+ if (!isAlpha(W.next)) break;
139
+ W.advance();
140
140
  }
141
- else if (m3.plsqlQuotingMechanism && (W == 113 || W == 81) && U.next == 39 && U.peek(1) > 0 && !inString(U.peek(1), Space)) {
142
- let m4 = U.peek(1);
143
- U.advance(2), readPLSQLQuotedLiteral(U, m4), U.acceptToken(String$1);
144
- } else if (W == 40) U.acceptToken(ParenL);
145
- else if (W == 41) U.acceptToken(ParenR);
146
- else if (W == 123) U.acceptToken(BraceL);
147
- else if (W == 125) U.acceptToken(BraceR);
148
- else if (W == 91) U.acceptToken(BracketL);
149
- else if (W == 93) U.acceptToken(BracketR);
150
- else if (W == 59) U.acceptToken(Semi);
151
- else if (m3.unquotedBitLiterals && W == 48 && U.next == 98) U.advance(), readBits(U), U.acceptToken(Bits);
152
- else if ((W == 98 || W == 66) && (U.next == 39 || U.next == 34)) {
153
- let W2 = U.next;
154
- U.advance(), m3.treatBitsAsBytes ? (readLiteral(U, W2, m3.backslashEscapes), U.acceptToken(Bytes)) : (readBits(U, W2), U.acceptToken(Bits));
155
- } else if (W == 48 && (U.next == 120 || U.next == 88) || (W == 120 || W == 88) && U.next == 39) {
156
- let m4 = U.next == 39;
157
- for (U.advance(); isHexDigit(U.next); ) U.advance();
158
- m4 && U.next == 39 && U.advance(), U.acceptToken(Number);
159
- } else if (W == 46 && U.next >= 48 && U.next <= 57) readNumber(U, true), U.acceptToken(Number);
160
- else if (W == 46) U.acceptToken(Dot);
161
- else if (W >= 48 && W <= 57) readNumber(U, false), U.acceptToken(Number);
162
- else if (inString(W, m3.operatorChars)) {
163
- for (; inString(U.next, m3.operatorChars); ) U.advance();
164
- U.acceptToken(Operator);
165
- } else if (inString(W, m3.specialVar)) U.next == W && U.advance(), readWordOrQuoted(U), U.acceptToken(SpecialVar);
166
- else if (inString(W, m3.identifierQuotes)) readLiteral(U, W, false), U.acceptToken(QuotedIdentifier);
167
- else if (W == 58 || W == 44) U.acceptToken(Punctuation);
168
- else if (isAlpha(W)) {
169
- let G = readWord(U, String.fromCharCode(W));
170
- U.acceptToken(U.next == 46 || U.peek(-G.length - 1) == 46 ? Identifier : m3.words[G.toLowerCase()] ?? Identifier);
141
+ else if (h3.plsqlQuotingMechanism && (G == 113 || G == 81) && W.next == 39 && W.peek(1) > 0 && !inString(W.peek(1), Space)) {
142
+ let h4 = W.peek(1);
143
+ W.advance(2), readPLSQLQuotedLiteral(W, h4), W.acceptToken(String$1);
144
+ } else if (inString(G, h3.identifierQuotes)) readLiteral(W, G == 91 ? 93 : G, false), W.acceptToken(QuotedIdentifier);
145
+ else if (G == 40) W.acceptToken(ParenL);
146
+ else if (G == 41) W.acceptToken(ParenR);
147
+ else if (G == 123) W.acceptToken(BraceL);
148
+ else if (G == 125) W.acceptToken(BraceR);
149
+ else if (G == 91) W.acceptToken(BracketL);
150
+ else if (G == 93) W.acceptToken(BracketR);
151
+ else if (G == 59) W.acceptToken(Semi);
152
+ else if (h3.unquotedBitLiterals && G == 48 && W.next == 98) W.advance(), readBits(W), W.acceptToken(Bits);
153
+ else if ((G == 98 || G == 66) && (W.next == 39 || W.next == 34)) {
154
+ let G2 = W.next;
155
+ W.advance(), h3.treatBitsAsBytes ? (readLiteral(W, G2, h3.backslashEscapes), W.acceptToken(Bytes)) : (readBits(W, G2), W.acceptToken(Bits));
156
+ } else if (G == 48 && (W.next == 120 || W.next == 88) || (G == 120 || G == 88) && W.next == 39) {
157
+ let h4 = W.next == 39;
158
+ for (W.advance(); isHexDigit(W.next); ) W.advance();
159
+ h4 && W.next == 39 && W.advance(), W.acceptToken(Number);
160
+ } else if (G == 46 && W.next >= 48 && W.next <= 57) readNumber(W, true), W.acceptToken(Number);
161
+ else if (G == 46) W.acceptToken(Dot);
162
+ else if (G >= 48 && G <= 57) readNumber(W, false), W.acceptToken(Number);
163
+ else if (inString(G, h3.operatorChars)) {
164
+ for (; inString(W.next, h3.operatorChars); ) W.advance();
165
+ W.acceptToken(Operator);
166
+ } else if (inString(G, h3.specialVar)) W.next == G && W.advance(), readWordOrQuoted(W), W.acceptToken(SpecialVar);
167
+ else if (G == 58 || G == 44) W.acceptToken(Punctuation);
168
+ else if (isAlpha(G)) {
169
+ let K = readWord(W, String.fromCharCode(G));
170
+ W.acceptToken(W.next == 46 || W.peek(-K.length - 1) == 46 ? Identifier : h3.words[K.toLowerCase()] ?? Identifier);
171
171
  }
172
172
  });
173
173
  }
@@ -198,177 +198,186 @@ var tokens = /* @__PURE__ */ tokensFor(defaults), parser$1 = /* @__PURE__ */ LRP
198
198
  topRules: { Script: [0, 25] },
199
199
  tokenPrec: 0
200
200
  });
201
- function tokenBefore(m3) {
202
- let U = m3.cursor().moveTo(m3.from, -1);
203
- for (; /Comment/.test(U.name); ) U.moveTo(U.from, -1);
204
- return U.node;
205
- }
206
- function idName(m3, U) {
207
- let W = m3.sliceString(U.from, U.to), G = /^([`'"])(.*)\1$/.exec(W);
208
- return G ? G[2] : W;
209
- }
210
- function plainID(m3) {
211
- return m3 && (m3.name == "Identifier" || m3.name == "QuotedIdentifier");
212
- }
213
- function pathFor(m3, U) {
214
- if (U.name == "CompositeIdentifier") {
215
- let W = [];
216
- for (let G = U.firstChild; G; G = G.nextSibling) plainID(G) && W.push(idName(m3, G));
217
- return W;
201
+ function tokenBefore(h3) {
202
+ let W = h3.cursor().moveTo(h3.from, -1);
203
+ for (; /Comment/.test(W.name); ) W.moveTo(W.from, -1);
204
+ return W.node;
205
+ }
206
+ function idName(h3, W) {
207
+ let G = h3.sliceString(W.from, W.to), K = /^([`'"\[])(.*)([`'"\]])$/.exec(G);
208
+ return K ? K[2] : G;
209
+ }
210
+ function plainID(h3) {
211
+ return h3 && (h3.name == "Identifier" || h3.name == "QuotedIdentifier");
212
+ }
213
+ function pathFor(h3, W) {
214
+ if (W.name == "CompositeIdentifier") {
215
+ let G = [];
216
+ for (let K = W.firstChild; K; K = K.nextSibling) plainID(K) && G.push(idName(h3, K));
217
+ return G;
218
218
  }
219
- return [idName(m3, U)];
220
- }
221
- function parentsFor(m3, U) {
222
- for (let W = []; ; ) {
223
- if (!U || U.name != ".") return W;
224
- let G = tokenBefore(U);
225
- if (!plainID(G)) return W;
226
- W.unshift(idName(m3, G)), U = tokenBefore(G);
219
+ return [idName(h3, W)];
220
+ }
221
+ function parentsFor(h3, W) {
222
+ for (let G = []; ; ) {
223
+ if (!W || W.name != ".") return G;
224
+ let K = tokenBefore(W);
225
+ if (!plainID(K)) return G;
226
+ G.unshift(idName(h3, K)), W = tokenBefore(K);
227
227
  }
228
228
  }
229
- function sourceContext(m3, W) {
230
- let G = syntaxTree(m3).resolveInner(W, -1), K = getAliases(m3.doc, G);
231
- return G.name == "Identifier" || G.name == "QuotedIdentifier" || G.name == "Keyword" ? {
232
- from: G.from,
233
- quoted: G.name == "QuotedIdentifier" ? m3.doc.sliceString(G.from, G.from + 1) : null,
234
- parents: parentsFor(m3.doc, tokenBefore(G)),
235
- aliases: K
236
- } : G.name == "." ? {
237
- from: W,
229
+ function sourceContext(h3, G) {
230
+ let K = syntaxTree(h3).resolveInner(G, -1), q = getAliases(h3.doc, K);
231
+ return K.name == "Identifier" || K.name == "QuotedIdentifier" || K.name == "Keyword" ? {
232
+ from: K.from,
233
+ quoted: K.name == "QuotedIdentifier" ? h3.doc.sliceString(K.from, K.from + 1) : null,
234
+ parents: parentsFor(h3.doc, tokenBefore(K)),
235
+ aliases: q
236
+ } : K.name == "." ? {
237
+ from: G,
238
238
  quoted: null,
239
- parents: parentsFor(m3.doc, G),
240
- aliases: K
239
+ parents: parentsFor(h3.doc, K),
240
+ aliases: q
241
241
  } : {
242
- from: W,
242
+ from: G,
243
243
  quoted: null,
244
244
  parents: [],
245
245
  empty: true,
246
- aliases: K
246
+ aliases: q
247
247
  };
248
248
  }
249
249
  var EndFrom = /* @__PURE__ */ new Set(/* @__PURE__ */ "where group having order union intersect except all distinct limit offset fetch for".split(" "));
250
- function getAliases(m3, U) {
251
- let W;
252
- for (let m4 = U; !W; m4 = m4.parent) {
253
- if (!m4) return null;
254
- m4.name == "Statement" && (W = m4);
250
+ function getAliases(h3, W) {
251
+ let G;
252
+ for (let h4 = W; !G; h4 = h4.parent) {
253
+ if (!h4) return null;
254
+ h4.name == "Statement" && (G = h4);
255
255
  }
256
- let G = null;
257
- for (let U2 = W.firstChild, K = false, q = null; U2; U2 = U2.nextSibling) {
258
- let W2 = U2.name == "Keyword" ? m3.sliceString(U2.from, U2.to).toLowerCase() : null, J = null;
259
- if (!K) K = W2 == "from";
260
- else if (W2 == "as" && q && plainID(U2.nextSibling)) J = idName(m3, U2.nextSibling);
261
- else if (W2 && EndFrom.has(W2)) break;
262
- else q && plainID(U2) && (J = idName(m3, U2));
263
- J && (G || (G = /* @__PURE__ */ Object.create(null)), G[J] = pathFor(m3, q)), q = /Identifier$/.test(U2.name) ? U2 : null;
256
+ let K = null;
257
+ for (let W2 = G.firstChild, q = false, J = null; W2; W2 = W2.nextSibling) {
258
+ let G2 = W2.name == "Keyword" ? h3.sliceString(W2.from, W2.to).toLowerCase() : null, Y = null;
259
+ if (!q) q = G2 == "from";
260
+ else if (G2 == "as" && J && plainID(W2.nextSibling)) Y = idName(h3, W2.nextSibling);
261
+ else if (G2 && EndFrom.has(G2)) break;
262
+ else J && plainID(W2) && (Y = idName(h3, W2));
263
+ Y && (K || (K = /* @__PURE__ */ Object.create(null)), K[Y] = pathFor(h3, J)), J = /Identifier$/.test(W2.name) ? W2 : null;
264
264
  }
265
- return G;
265
+ return K;
266
266
  }
267
- function maybeQuoteCompletions(m3, U) {
268
- return m3 ? U.map((U2) => ({
269
- ...U2,
270
- label: U2.label[0] == m3 ? U2.label : m3 + U2.label + m3,
267
+ function maybeQuoteCompletions(h3, W, G) {
268
+ return G.map((G2) => ({
269
+ ...G2,
270
+ label: G2.label[0] == h3 ? G2.label : h3 + G2.label + W,
271
271
  apply: void 0
272
- })) : U;
272
+ }));
273
273
  }
274
- var Span = /^\w*$/, QuotedSpan = /^[`'"]?\w*[`'"]?$/;
275
- function isSelfTag(m3) {
276
- return m3.self && typeof m3.self.label == "string";
274
+ var Span = /^\w*$/, QuotedSpan = /^[`'"\[]?\w*[`'"\]]?$/;
275
+ function isSelfTag(h3) {
276
+ return h3.self && typeof h3.self.label == "string";
277
277
  }
278
- var CompletionLevel = class m {
279
- constructor(m3, U) {
280
- this.idQuote = m3, this.idCaseInsensitive = U, this.list = [], this.children = void 0;
278
+ var CompletionLevel = class h {
279
+ constructor(h3, W) {
280
+ this.idQuote = h3, this.idCaseInsensitive = W, this.list = [], this.children = void 0;
281
281
  }
282
- child(U) {
283
- let W = this.children || (this.children = /* @__PURE__ */ Object.create(null));
284
- return W[U] || (U && !this.list.some((m3) => m3.label == U) && this.list.push(nameCompletion(U, "type", this.idQuote, this.idCaseInsensitive)), W[U] = new m(this.idQuote, this.idCaseInsensitive));
282
+ child(W) {
283
+ let G = this.children || (this.children = /* @__PURE__ */ Object.create(null));
284
+ return G[W] || (W && !this.list.some((h3) => h3.label == W) && this.list.push(nameCompletion(W, "type", this.idQuote, this.idCaseInsensitive)), G[W] = new h(this.idQuote, this.idCaseInsensitive));
285
285
  }
286
- maybeChild(m3) {
287
- return this.children ? this.children[m3] : null;
286
+ maybeChild(h3) {
287
+ return this.children ? this.children[h3] : null;
288
288
  }
289
- addCompletion(m3) {
290
- let U = this.list.findIndex((U2) => U2.label == m3.label);
291
- U > -1 ? this.list[U] = m3 : this.list.push(m3);
289
+ addCompletion(h3) {
290
+ let W = this.list.findIndex((W2) => W2.label == h3.label);
291
+ W > -1 ? this.list[W] = h3 : this.list.push(h3);
292
292
  }
293
- addCompletions(m3) {
294
- for (let U of m3) this.addCompletion(typeof U == "string" ? nameCompletion(U, "property", this.idQuote, this.idCaseInsensitive) : U);
293
+ addCompletions(h3) {
294
+ for (let W of h3) this.addCompletion(typeof W == "string" ? nameCompletion(W, "property", this.idQuote, this.idCaseInsensitive) : W);
295
295
  }
296
- addNamespace(m3) {
297
- Array.isArray(m3) ? this.addCompletions(m3) : isSelfTag(m3) ? this.addNamespace(m3.children) : this.addNamespaceObject(m3);
296
+ addNamespace(h3) {
297
+ Array.isArray(h3) ? this.addCompletions(h3) : isSelfTag(h3) ? this.addNamespace(h3.children) : this.addNamespaceObject(h3);
298
298
  }
299
- addNamespaceObject(m3) {
300
- for (let U of Object.keys(m3)) {
301
- let W = m3[U], G = null, K = U.replace(/\\?\./g, (m4) => m4 == "." ? "\0" : m4).split("\0"), q = this;
302
- isSelfTag(W) && (G = W.self, W = W.children);
303
- for (let m4 = 0; m4 < K.length; m4++) G && m4 == K.length - 1 && q.addCompletion(G), q = q.child(K[m4].replace(/\\\./g, "."));
304
- q.addNamespace(W);
299
+ addNamespaceObject(h3) {
300
+ for (let W of Object.keys(h3)) {
301
+ let G = h3[W], K = null, q = W.replace(/\\?\./g, (h4) => h4 == "." ? "\0" : h4).split("\0"), J = this;
302
+ isSelfTag(G) && (K = G.self, G = G.children);
303
+ for (let h4 = 0; h4 < q.length; h4++) K && h4 == q.length - 1 && J.addCompletion(K), J = J.child(q[h4].replace(/\\\./g, "."));
304
+ J.addNamespace(G);
305
305
  }
306
306
  }
307
307
  };
308
- function nameCompletion(m3, U, W, G) {
309
- return RegExp("^[a-z_][a-z_\\d]*$", G ? "i" : "").test(m3) ? {
310
- label: m3,
311
- type: U
308
+ function nameCompletion(h3, W, G, K) {
309
+ return RegExp("^[a-z_][a-z_\\d]*$", K ? "i" : "").test(h3) ? {
310
+ label: h3,
311
+ type: W
312
312
  } : {
313
- label: m3,
314
- type: U,
315
- apply: W + m3 + W
313
+ label: h3,
314
+ type: W,
315
+ apply: G + h3 + getClosingQuote(G)
316
316
  };
317
317
  }
318
- function completeFromSchema(m3, U, W, G, K, q) {
318
+ function getClosingQuote(h3) {
319
+ return h3 === "[" ? "]" : h3;
320
+ }
321
+ function completeFromSchema(h3, W, G, K, q, J) {
319
322
  var _a;
320
- let J = ((_a = q == null ? void 0 : q.spec.identifierQuotes) == null ? void 0 : _a[0]) || '"', Y = new CompletionLevel(J, !!(q == null ? void 0 : q.spec.caseInsensitiveIdentifiers)), X = K ? Y.child(K) : null;
321
- return Y.addNamespace(m3), U && (X || Y).addCompletions(U), W && Y.addCompletions(W), X && Y.addCompletions(X.list), G && Y.addCompletions((X || Y).child(G).list), (m4) => {
322
- let { parents: U2, from: W2, quoted: K2, empty: q2, aliases: J2 } = sourceContext(m4.state, m4.pos);
323
- if (q2 && !m4.explicit) return null;
324
- J2 && U2.length == 1 && (U2 = J2[U2[0]] || U2);
325
- let Z = Y;
326
- for (let m5 of U2) {
327
- for (; !Z.children || !Z.children[m5]; ) if (Z == Y && X) Z = X;
328
- else if (Z == X && G) Z = Z.child(G);
323
+ let Y = new CompletionLevel(((_a = J == null ? void 0 : J.spec.identifierQuotes) == null ? void 0 : _a[0]) || '"', !!(J == null ? void 0 : J.spec.caseInsensitiveIdentifiers)), X = q ? Y.child(q) : null;
324
+ return Y.addNamespace(h3), W && (X || Y).addCompletions(W), G && Y.addCompletions(G), X && Y.addCompletions(X.list), K && Y.addCompletions((X || Y).child(K).list), (h4) => {
325
+ let { parents: W2, from: G2, quoted: q2, empty: J2, aliases: Z } = sourceContext(h4.state, h4.pos);
326
+ if (J2 && !h4.explicit) return null;
327
+ Z && W2.length == 1 && (W2 = Z[W2[0]] || W2);
328
+ let Q = Y;
329
+ for (let h5 of W2) {
330
+ for (; !Q.children || !Q.children[h5]; ) if (Q == Y && X) Q = X;
331
+ else if (Q == X && K) Q = Q.child(K);
329
332
  else return null;
330
- let U3 = Z.maybeChild(m5);
331
- if (!U3) return null;
332
- Z = U3;
333
+ let W3 = Q.maybeChild(h5);
334
+ if (!W3) return null;
335
+ Q = W3;
333
336
  }
334
- let Q = K2 && m4.state.sliceDoc(m4.pos, m4.pos + 1) == K2, $ = Z.list;
335
- return Z == Y && J2 && ($ = $.concat(Object.keys(J2).map((m5) => ({
336
- label: m5,
337
+ let $ = Q.list;
338
+ if (Q == Y && Z && ($ = $.concat(Object.keys(Z).map((h5) => ({
339
+ label: h5,
337
340
  type: "constant"
338
- })))), {
339
- from: W2,
340
- to: Q ? m4.pos + 1 : void 0,
341
- options: maybeQuoteCompletions(K2, $),
342
- validFor: K2 ? QuotedSpan : Span
341
+ })))), q2) {
342
+ let W3 = q2[0], K2 = getClosingQuote(W3);
343
+ return {
344
+ from: G2,
345
+ to: h4.state.sliceDoc(h4.pos, h4.pos + 1) == K2 ? h4.pos + 1 : void 0,
346
+ options: maybeQuoteCompletions(W3, K2, $),
347
+ validFor: QuotedSpan
348
+ };
349
+ } else return {
350
+ from: G2,
351
+ options: $,
352
+ validFor: Span
343
353
  };
344
354
  };
345
355
  }
346
- function completionType(m3) {
347
- return m3 == Type ? "type" : m3 == Keyword ? "keyword" : "variable";
356
+ function completionType(h3) {
357
+ return h3 == Type ? "type" : h3 == Keyword ? "keyword" : "variable";
348
358
  }
349
- function completeKeywords(m3, U, W) {
350
- let G = Object.keys(m3).map((G2) => W(U ? G2.toUpperCase() : G2, completionType(m3[G2])));
359
+ function completeKeywords(h3, W, G) {
351
360
  return ifNotIn([
352
361
  "QuotedIdentifier",
353
362
  "String",
354
363
  "LineComment",
355
364
  "BlockComment",
356
365
  "."
357
- ], completeFromList(G));
366
+ ], completeFromList(Object.keys(h3).map((K) => G(W ? K.toUpperCase() : K, completionType(h3[K])))));
358
367
  }
359
368
  var parser = /* @__PURE__ */ parser$1.configure({ props: [
360
369
  /* @__PURE__ */ indentNodeProp.add({ Statement: /* @__PURE__ */ continuedIndent() }),
361
370
  /* @__PURE__ */ foldNodeProp.add({
362
- Statement(m3, U) {
371
+ Statement(h3, W) {
363
372
  return {
364
- from: Math.min(m3.from + 100, U.doc.lineAt(m3.from).to),
365
- to: m3.to
373
+ from: Math.min(h3.from + 100, W.doc.lineAt(h3.from).to),
374
+ to: h3.to
366
375
  };
367
376
  },
368
- BlockComment(m3) {
377
+ BlockComment(h3) {
369
378
  return {
370
- from: m3.from + 2,
371
- to: m3.to - 2
379
+ from: h3.from + 2,
380
+ to: h3.to - 2
372
381
  };
373
382
  }
374
383
  }),
@@ -393,22 +402,23 @@ var parser = /* @__PURE__ */ parser$1.configure({ props: [
393
402
  "{ }": tags.brace,
394
403
  "[ ]": tags.squareBracket
395
404
  })
396
- ] }), SQLDialect = class m2 {
397
- constructor(m3, U, W) {
398
- this.dialect = m3, this.language = U, this.spec = W;
405
+ ] }), SQLDialect = class h2 {
406
+ constructor(h3, W, G) {
407
+ this.dialect = h3, this.language = W, this.spec = G;
399
408
  }
400
409
  get extension() {
401
410
  return this.language.extension;
402
411
  }
403
- configureLanguage(U, W) {
404
- return new m2(this.dialect, this.language.configure(U, W), this.spec);
412
+ configureLanguage(W, G) {
413
+ return new h2(this.dialect, this.language.configure(W, G), this.spec);
405
414
  }
406
- static define(U) {
407
- let W = dialect(U, U.keywords, U.types, U.builtin), G = LRLanguage.define({
415
+ static define(W) {
416
+ let G = dialect(W, W.keywords, W.types, W.builtin);
417
+ return new h2(G, LRLanguage.define({
408
418
  name: "sql",
409
419
  parser: parser.configure({ tokenizers: [{
410
420
  from: tokens,
411
- to: tokensFor(W)
421
+ to: tokensFor(G)
412
422
  }] }),
413
423
  languageData: {
414
424
  commentTokens: {
@@ -427,29 +437,28 @@ var parser = /* @__PURE__ */ parser$1.configure({ props: [
427
437
  "`"
428
438
  ] }
429
439
  }
430
- });
431
- return new m2(W, G, U);
440
+ }), W);
432
441
  }
433
442
  };
434
- function defaultKeyword(m3, U) {
443
+ function defaultKeyword(h3, W) {
435
444
  return {
436
- label: m3,
437
- type: U,
445
+ label: h3,
446
+ type: W,
438
447
  boost: -1
439
448
  };
440
449
  }
441
- function keywordCompletionSource(m3, U = false, W) {
442
- return completeKeywords(m3.dialect.words, U, W || defaultKeyword);
450
+ function keywordCompletionSource(h3, W = false, G) {
451
+ return completeKeywords(h3.dialect.words, W, G || defaultKeyword);
443
452
  }
444
- function schemaCompletionSource(m3) {
445
- return m3.schema ? completeFromSchema(m3.schema, m3.tables, m3.schemas, m3.defaultTable, m3.defaultSchema, m3.dialect || StandardSQL) : () => null;
453
+ function schemaCompletionSource(h3) {
454
+ return h3.schema ? completeFromSchema(h3.schema, h3.tables, h3.schemas, h3.defaultTable, h3.defaultSchema, h3.dialect || StandardSQL) : () => null;
446
455
  }
447
- function schemaCompletion(m3) {
448
- return m3.schema ? (m3.dialect || StandardSQL).language.data.of({ autocomplete: schemaCompletionSource(m3) }) : [];
456
+ function schemaCompletion(h3) {
457
+ return h3.schema ? (h3.dialect || StandardSQL).language.data.of({ autocomplete: schemaCompletionSource(h3) }) : [];
449
458
  }
450
- function sql(m3 = {}) {
451
- let U = m3.dialect || StandardSQL;
452
- return new LanguageSupport(U.language, [schemaCompletion(m3), U.language.data.of({ autocomplete: keywordCompletionSource(U, m3.upperCaseKeywords, m3.keywordCompletion) })]);
459
+ function sql(h3 = {}) {
460
+ let W = h3.dialect || StandardSQL;
461
+ return new LanguageSupport(W.language, [schemaCompletion(h3), W.language.data.of({ autocomplete: keywordCompletionSource(W, h3.upperCaseKeywords, h3.keywordCompletion) })]);
453
462
  }
454
463
  var StandardSQL = /* @__PURE__ */ SQLDialect.define({}), PostgreSQL = /* @__PURE__ */ SQLDialect.define({
455
464
  charSetCasts: true,
@@ -487,7 +496,8 @@ var StandardSQL = /* @__PURE__ */ SQLDialect.define({}), PostgreSQL = /* @__PURE
487
496
  types: SQLTypes + "smalldatetime datetimeoffset datetime2 datetime bigint smallint smallmoney tinyint money real text nvarchar ntext varbinary image hierarchyid uniqueidentifier sql_variant xml",
488
497
  builtin: "approx_count_distinct approx_percentile_cont approx_percentile_disc avg checksum_agg count count_big grouping grouping_id max min product stdev stdevp sum var varp ai_generate_embeddings ai_generate_chunks cume_dist first_value lag last_value lead percentile_cont percentile_disc percent_rank left_shift right_shift bit_count get_bit set_bit collationproperty tertiary_weights @@datefirst @@dbts @@langid @@language @@lock_timeout @@max_connections @@max_precision @@nestlevel @@options @@remserver @@servername @@servicename @@spid @@textsize @@version cast convert parse try_cast try_convert try_parse asymkey_id asymkeyproperty certproperty cert_id crypt_gen_random decryptbyasymkey decryptbycert decryptbykey decryptbykeyautoasymkey decryptbykeyautocert decryptbypassphrase encryptbyasymkey encryptbycert encryptbykey encryptbypassphrase hashbytes is_objectsigned key_guid key_id key_name signbyasymkey signbycert symkeyproperty verifysignedbycert verifysignedbyasymkey @@cursor_rows @@fetch_status cursor_status datalength ident_current ident_incr ident_seed identity sql_variant_property @@datefirst current_timestamp current_timezone current_timezone_id date_bucket dateadd datediff datediff_big datefromparts datename datepart datetime2fromparts datetimefromparts datetimeoffsetfromparts datetrunc day eomonth getdate getutcdate isdate month smalldatetimefromparts switchoffset sysdatetime sysdatetimeoffset sysutcdatetime timefromparts todatetimeoffset year edit_distance edit_distance_similarity jaro_winkler_distance jaro_winkler_similarity edge_id_from_parts graph_id_from_edge_id graph_id_from_node_id node_id_from_parts object_id_from_edge_id object_id_from_node_id json isjson json_array json_contains json_modify json_object json_path_exists json_query json_value regexp_like regexp_replace regexp_substr regexp_instr regexp_count regexp_matches regexp_split_to_table abs acos asin atan atn2 ceiling cos cot degrees exp floor log log10 pi power radians rand round sign sin sqrt square tan choose greatest iif least @@procid app_name applock_mode applock_test assemblyproperty col_length col_name columnproperty databasepropertyex db_id db_name file_id file_idex file_name filegroup_id filegroup_name filegroupproperty fileproperty filepropertyex fulltextcatalogproperty fulltextserviceproperty index_col indexkey_property indexproperty next value for object_definition object_id object_name object_schema_name objectproperty objectpropertyex original_db_name parsename schema_id schema_name scope_identity serverproperty stats_date type_id type_name typeproperty dense_rank ntile rank row_number publishingservername certenclosed certprivatekey current_user database_principal_id has_dbaccess has_perms_by_name is_member is_rolemember is_srvrolemember loginproperty original_login permissions pwdencrypt pwdcompare session_user sessionproperty suser_id suser_name suser_sid suser_sname system_user user user_id user_name ascii char charindex concat concat_ws difference format left len lower ltrim nchar patindex quotename replace replicate reverse right rtrim soundex space str string_agg string_escape stuff substring translate trim unicode upper $partition @@error @@identity @@pack_received @@rowcount @@trancount binary_checksum checksum compress connectionproperty context_info current_request_id current_transaction_id decompress error_line error_message error_number error_procedure error_severity error_state formatmessage get_filestream_transaction_context getansinull host_id host_name isnull isnumeric min_active_rowversion newid newsequentialid rowcount_big session_context xact_state @@connections @@cpu_busy @@idle @@io_busy @@pack_sent @@packet_errors @@timeticks @@total_errors @@total_read @@total_write textptr textvalid columns_updated eventdata trigger_nestlevel vector_distance vectorproperty vector_search generate_series opendatasource openjson openquery openrowset openxml predict string_split coalesce nullif apply catch filter force include keep keepfixed modify optimize parameterization parameters partition recompile sequence set",
489
498
  operatorChars: "*+-%<>!=^&|/",
490
- specialVar: "@"
499
+ specialVar: "@",
500
+ identifierQuotes: '"['
491
501
  }), SQLite = /* @__PURE__ */ SQLDialect.define({
492
502
  keywords: SQLKeywords + "abort analyze attach autoincrement conflict database detach exclusive fail glob ignore index indexed instead isnull notnull offset plan pragma query raise regexp reindex rename replace temp vacuum virtual",
493
503
  types: SQLTypes + "bool blob long longblob longtext medium mediumblob mediumint mediumtext tinyblob tinyint tinytext text bigint int2 int8 unsigned signed real",