@marimo-team/islands 0.23.10-dev3 → 0.23.10-dev30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (165) hide show
  1. package/dist/{ConnectedDataExplorerComponent-CyV83R2m.js → ConnectedDataExplorerComponent-DmBropAy.js} +31 -31
  2. package/dist/{ErrorBoundary-rULOrC_p.js → ErrorBoundary-DpbaKVv7.js} +1 -1
  3. package/dist/{any-language-editor-DfdpyDv_.js → any-language-editor-DNmoSiWL.js} +20 -20
  4. package/dist/assets/__vite-browser-external-eshhtsgZ.js +1 -0
  5. package/dist/assets/worker-CC0Oul9k.js +73 -0
  6. package/dist/{chat-ui-C1tL1pML.js → chat-ui-D6oraHT2.js} +76 -76
  7. package/dist/{check-DTbrK0zt.js → check-BCaJeT-J.js} +1 -1
  8. package/dist/{code-visibility-DfnO0DcH.js → code-visibility-wR7WSQ4c.js} +2166 -1292
  9. package/dist/{copy-BuQpJEzp.js → copy-UqRYxiOg.js} +33 -33
  10. package/dist/dist-7QfXoMdB.js +5 -0
  11. package/dist/{dist-DgnE8F-r.js → dist-A2846XWO.js} +1 -1
  12. package/dist/dist-BEXXyZig.js +5 -0
  13. package/dist/{dist-B3pZ0Ab6.js → dist-BR_gyG9L.js} +3 -3
  14. package/dist/{dist-CcXxepx6.js → dist-BSAt6RhH.js} +27 -27
  15. package/dist/{dist-Bde4a2kU.js → dist-BY018Paw.js} +8 -8
  16. package/dist/dist-BYj57OV4.js +5 -0
  17. package/dist/{dist-CUCNs1ja.js → dist-BaoDKvdy.js} +2 -2
  18. package/dist/{dist-Cy1WxgBD.js → dist-Bf7SHuNp.js} +5 -5
  19. package/dist/{dist-Bz_sYWbr.js → dist-Bk75fBZA.js} +2 -2
  20. package/dist/dist-BlSvQzNr.js +5 -0
  21. package/dist/{dist-C5VC_yzu.js → dist-BzEzfugY.js} +1 -1
  22. package/dist/dist-CCBlxAgS.js +8 -0
  23. package/dist/dist-CIDTVIUf.js +5 -0
  24. package/dist/{dist-CLUtPrdy.js → dist-CIYBwstr.js} +1 -1
  25. package/dist/{dist-BotSqB48.js → dist-C_Y3oV3C.js} +12 -12
  26. package/dist/{dist-BTfv03uy.js → dist-CcWX6tmx.js} +2 -2
  27. package/dist/{dist-BhM8gdSO.js → dist-CoXAujgg.js} +4 -4
  28. package/dist/{dist-4j4c7bjm.js → dist-CpxNdDkw.js} +3 -3
  29. package/dist/dist-CqQyhAM8.js +8 -0
  30. package/dist/dist-CwRu2Xzh.js +5 -0
  31. package/dist/{dist-BcuoonNH.js → dist-CxJDU6Bh.js} +9 -9
  32. package/dist/{dist-DxvORzUR.js → dist-D-W5ny5a.js} +8 -8
  33. package/dist/dist-D8CDTVgf.js +6 -0
  34. package/dist/dist-D8DNB0nO.js +8 -0
  35. package/dist/dist-DL6N_q-A.js +5 -0
  36. package/dist/{dist-BbbIBDiQ.js → dist-DMjWuVs8.js} +1 -1
  37. package/dist/dist-DOFbNV_b.js +8 -0
  38. package/dist/dist-DPrYzMY0.js +6 -0
  39. package/dist/{dist-h2c8sZvT.js → dist-DZORgqKY.js} +1 -1
  40. package/dist/{dist-B3P2fFpz.js → dist-DZo4nSS0.js} +14 -14
  41. package/dist/{dist-D4CewLk6.js → dist-Dax--nl9.js} +1 -1
  42. package/dist/{dist-DRfcqpxJ.js → dist-DgGbNavJ.js} +2 -2
  43. package/dist/{dist-C1BYNeCR.js → dist-Dk6PV_d3.js} +10 -10
  44. package/dist/{dist-fQ0ViXGs.js → dist-Dv_Y15yk.js} +107 -107
  45. package/dist/{dist-Bfwsv11D.js → dist-DyyjKEYf.js} +2 -2
  46. package/dist/{dist-p2qyWijU.js → dist-GZXUmt0b.js} +2 -2
  47. package/dist/{dist-CLJWPTX2.js → dist-LTU8Hdvn.js} +3 -3
  48. package/dist/{dist-DqAWR3CS.js → dist-M9Vag9Y0.js} +20 -20
  49. package/dist/{dist-DNdhYsgW.js → dist-U4F-tbMs.js} +79 -62
  50. package/dist/{dist-RqXTaiir.js → dist-abid3KgM.js} +11 -11
  51. package/dist/dist-cdmMjgsn.js +5 -0
  52. package/dist/dist-hT4QzYX-.js +1247 -0
  53. package/dist/{dist-luvabDEB.js → dist-t9Kf7xqC.js} +2 -2
  54. package/dist/{error-banner-5bz0L9hS.js → error-banner-Cc0I3C9e.js} +1 -1
  55. package/dist/esm-BaH2eg5-.js +1171 -0
  56. package/dist/{esm-Duie8iU-.js → esm-ga2Bf3O2.js} +43 -43
  57. package/dist/{extends-BgdxCfYu.js → extends-D_hDsj6R.js} +4 -4
  58. package/dist/{formats-DHxc-FdY.js → formats-C4wO47tk.js} +1 -1
  59. package/dist/{glide-data-editor-BOmK9ETQ.js → glide-data-editor-Qhu8oCX-.js} +12 -12
  60. package/dist/{html-to-image-CNa5ok96.js → html-to-image-UEH5lFDZ.js} +2318 -2275
  61. package/dist/{input-_2sjvfne.js → input-CMYy4hzj.js} +187 -185
  62. package/dist/{label-LWtdw5i8.js → label-CC4ytI1X.js} +1 -1
  63. package/dist/main.js +6941 -6913
  64. package/dist/{mermaid-lXOw5Py9.js → mermaid-zuLgJ8J8.js} +4 -4
  65. package/dist/{process-output-DKr4f1di.js → process-output-CyMLTogj.js} +3 -3
  66. package/dist/{reveal-component-UdMnCK5U.js → reveal-component-BjnkUAZ9.js} +697 -619
  67. package/dist/{spec-B96zNUEA.js → spec-X7FwLJni.js} +4 -4
  68. package/dist/{strings-Bu3vlb6W.js → strings-J57tzLr3.js} +47 -46
  69. package/dist/style.css +1 -1
  70. package/dist/{toDate-x-WRDCH7.js → toDate-d8RCRrRd.js} +2 -2
  71. package/dist/{tooltip-C5FYOpQc.js → tooltip-DpcyNkQ2.js} +2 -2
  72. package/dist/{types-CVvp1fKr.js → types-ChtMFmZ2.js} +1 -1
  73. package/dist/{useAsyncData-iRgKDT5s.js → useAsyncData-PonK__yh.js} +1 -1
  74. package/dist/{useDateFormatter-BA4FCquG.js → useDateFormatter-QB-3MpYr.js} +2 -2
  75. package/dist/{useDeepCompareMemoize-CkQ57VS2.js → useDeepCompareMemoize-D3NGWke6.js} +1 -1
  76. package/dist/{useLifecycle-BBO9PIph.js → useLifecycle-00mO3OSS.js} +2 -2
  77. package/dist/{useTheme-DHIrRQOe.js → useTheme-DEhDzATN.js} +1 -1
  78. package/dist/{vega-component-Dq-SH463.js → vega-component-9h1ACS78.js} +8 -8
  79. package/dist/{zod-CoBiJ5v4.js → zod-aLSua2NL.js} +24 -23
  80. package/package.json +3 -3
  81. package/src/components/data-table/TableBottomBar.tsx +1 -15
  82. package/src/components/data-table/TableTopBar.tsx +8 -13
  83. package/src/components/data-table/__tests__/TableBottomBar.test.tsx +6 -12
  84. package/src/components/data-table/__tests__/column-visibility-dropdown.test.tsx +227 -0
  85. package/src/components/data-table/__tests__/data-table.test.tsx +154 -12
  86. package/src/components/data-table/column-visibility-dropdown.tsx +204 -0
  87. package/src/components/data-table/data-table.tsx +1 -1
  88. package/src/components/data-table/filter-by-values-picker.tsx +39 -17
  89. package/src/components/data-table/filter-pills.tsx +1 -1
  90. package/src/components/data-table/hover-tooltip/__tests__/content.test.ts +60 -0
  91. package/src/components/data-table/hover-tooltip/content.ts +44 -0
  92. package/src/components/data-table/hover-tooltip/hover-tooltip.tsx +55 -0
  93. package/src/components/data-table/hover-tooltip/use-table-hover-tooltip.ts +159 -0
  94. package/src/components/data-table/renderers.tsx +27 -43
  95. package/src/components/datasources/__tests__/filter-empty.test.ts +183 -0
  96. package/src/components/datasources/datasources.tsx +92 -3
  97. package/src/components/editor/cell/cell-context-menu.tsx +15 -2
  98. package/src/components/editor/cell/code/language-toggle.tsx +7 -1
  99. package/src/components/editor/chrome/wrapper/app-chrome.tsx +97 -52
  100. package/src/components/editor/chrome/wrapper/lazy-panels.ts +91 -0
  101. package/src/components/editor/chrome/wrapper/sidebar.tsx +2 -0
  102. package/src/components/editor/documentation.css +35 -0
  103. package/src/components/editor/file-tree/file-explorer.tsx +8 -18
  104. package/src/components/editor/file-tree/tree-actions.tsx +46 -1
  105. package/src/components/editor/renderers/slides-layout/__tests__/plugin.test.ts +20 -0
  106. package/src/components/editor/renderers/slides-layout/types.ts +1 -0
  107. package/src/components/slides/__tests__/minimap-actions.test.tsx +166 -0
  108. package/src/components/slides/__tests__/reveal-component.test.ts +425 -0
  109. package/src/components/slides/minimap.tsx +127 -10
  110. package/src/components/slides/reveal-component.tsx +287 -61
  111. package/src/components/slides/slide-cell-view.tsx +26 -2
  112. package/src/components/slides/slide-form.tsx +26 -4
  113. package/src/components/storage/__tests__/storage-inspector.test.ts +53 -0
  114. package/src/components/storage/storage-inspector.tsx +68 -48
  115. package/src/components/ui/__tests__/use-toast.test.ts +75 -0
  116. package/src/components/ui/combobox.tsx +51 -32
  117. package/src/components/ui/reorderable-list.tsx +13 -0
  118. package/src/components/ui/select-core/__tests__/use-select-list.test.ts +294 -0
  119. package/src/components/ui/select-core/__tests__/utils.test.ts +222 -0
  120. package/src/components/ui/select-core/index.ts +16 -0
  121. package/src/components/ui/select-core/option-row.tsx +33 -0
  122. package/src/components/ui/select-core/render-slot.ts +20 -0
  123. package/src/components/ui/select-core/select-list.tsx +248 -0
  124. package/src/components/ui/select-core/types.ts +44 -0
  125. package/src/components/ui/select-core/use-select-list.ts +347 -0
  126. package/src/components/ui/select-core/utils.ts +121 -0
  127. package/src/components/ui/use-toast.ts +33 -13
  128. package/src/core/cells/__tests__/__snapshots__/cells.test.ts.snap +0 -28
  129. package/src/core/cells/__tests__/cell.test.ts +29 -2
  130. package/src/core/cells/cell.ts +5 -1
  131. package/src/core/codemirror/go-to-definition/commands.ts +4 -3
  132. package/src/core/codemirror/language/languages/python.ts +2 -0
  133. package/src/core/codemirror/language/languages/sql/utils.ts +3 -1
  134. package/src/core/codemirror/lsp/__tests__/markdown-renderer.test.ts +41 -0
  135. package/src/core/codemirror/lsp/markdown-renderer.ts +59 -0
  136. package/src/core/datasets/data-source-connections.ts +2 -0
  137. package/src/core/network/__tests__/requests-static.test.ts +30 -0
  138. package/src/core/network/requests-static.ts +14 -10
  139. package/src/core/wasm/worker/bootstrap.ts +12 -4
  140. package/src/plugins/impl/MultiselectPlugin.tsx +19 -142
  141. package/src/plugins/impl/SearchableSelect.tsx +16 -97
  142. package/src/plugins/impl/__tests__/DropdownPlugin.test.tsx +5 -2
  143. package/src/plugins/impl/__tests__/MultiSelectPlugin.test.ts +1 -1
  144. package/src/plugins/layout/DownloadPlugin.tsx +1 -1
  145. package/src/utils/lazy.ts +6 -1
  146. package/dist/assets/__vite-browser-external-Ci2ZQfXU.js +0 -1
  147. package/dist/assets/worker-ip3AI_sN.js +0 -73
  148. package/dist/dist-0Fif7jnk.js +0 -5
  149. package/dist/dist-B5h_9sHB.js +0 -6
  150. package/dist/dist-B9M6R5ye.js +0 -5
  151. package/dist/dist-BCt3tnck.js +0 -8
  152. package/dist/dist-BUIJwMwn.js +0 -8
  153. package/dist/dist-BpquMd3k.js +0 -5
  154. package/dist/dist-BzJsqYfz.js +0 -5
  155. package/dist/dist-CA5ELXAf.js +0 -6
  156. package/dist/dist-CLBRs6Uv.js +0 -5
  157. package/dist/dist-CStVCMbq.js +0 -5
  158. package/dist/dist-CZRIEY3Y.js +0 -8
  159. package/dist/dist-CuUHbFD0.js +0 -5
  160. package/dist/dist-DV7Iabxb.js +0 -8
  161. package/dist/dist-DhHh0jLg.js +0 -1247
  162. package/dist/dist-DuEeHMvL.js +0 -5
  163. package/dist/esm-BfhQmZjp.js +0 -1171
  164. package/src/plugins/impl/multiselectFilterFn.tsx +0 -22
  165. /package/src/components/{data-table → ui}/value-chips.tsx +0 -0
@@ -1,25 +1,25 @@
1
- import { B as tags, Et as EditorSelection, I as syntaxTree, J as parseMixed, O as indentNodeProp, R as Tag, S as foldInside, Z as EditorView, f as StreamLanguage, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, z as styleTags } from "./dist-DNdhYsgW.js";
2
- import { f as snippetCompletion, l as ifNotIn, s as completeFromList } from "./dist-DhHh0jLg.js";
3
- import { a as PLSQL, f as sql, l as StandardSQL, t as Cassandra } from "./dist-BTfv03uy.js";
4
- import { a as markdown } from "./dist-fQ0ViXGs.js";
5
- import { n as html, r as htmlCompletionSource } from "./dist-CcXxepx6.js";
6
- import { r as cssLanguage, t as css } from "./dist-DxvORzUR.js";
7
- import { c as typescriptLanguage, n as javascript, r as javascriptLanguage, u as parser$1 } from "./dist-DqAWR3CS.js";
8
- import { r as python } from "./dist-BotSqB48.js";
1
+ import { $ as EditorView, H as tags, I as syntaxTree, O as indentNodeProp, Ot as EditorSelection, R as Tag, S as foldInside, V as styleTags, X as parseMixed, f as StreamLanguage, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp } from "./dist-U4F-tbMs.js";
2
+ import { f as snippetCompletion, l as ifNotIn, s as completeFromList } from "./dist-hT4QzYX-.js";
3
+ import { a as PLSQL, f as sql, l as StandardSQL, t as Cassandra } from "./dist-CcWX6tmx.js";
4
+ import { a as markdown } from "./dist-Dv_Y15yk.js";
5
+ import { n as html, r as htmlCompletionSource } from "./dist-BSAt6RhH.js";
6
+ import { r as cssLanguage, t as css } from "./dist-D-W5ny5a.js";
7
+ import { c as typescriptLanguage, n as javascript, r as javascriptLanguage, u as parser$1 } from "./dist-M9Vag9Y0.js";
8
+ import { r as python } from "./dist-C_Y3oV3C.js";
9
9
  import { t as stex } from "./stex-BIsgBmK4.js";
10
- import { t as cpp } from "./dist-CLUtPrdy.js";
11
- import { t as go } from "./dist-RqXTaiir.js";
12
- import { t as java } from "./dist-DgnE8F-r.js";
13
- import { n as jinja } from "./dist-B3pZ0Ab6.js";
14
- import { t as json } from "./dist-h2c8sZvT.js";
15
- import { t as less } from "./dist-luvabDEB.js";
16
- import { n as liquid } from "./dist-4j4c7bjm.js";
17
- import { t as php } from "./dist-Bde4a2kU.js";
18
- import { t as rust } from "./dist-D4CewLk6.js";
19
- import { t as sass } from "./dist-Bfwsv11D.js";
20
- import { t as wast } from "./dist-BbbIBDiQ.js";
21
- import { r as xml } from "./dist-B3P2fFpz.js";
22
- import { t as yaml } from "./dist-C5VC_yzu.js";
10
+ import { t as cpp } from "./dist-CIYBwstr.js";
11
+ import { t as go } from "./dist-abid3KgM.js";
12
+ import { t as java } from "./dist-A2846XWO.js";
13
+ import { n as jinja } from "./dist-BR_gyG9L.js";
14
+ import { t as json } from "./dist-DZORgqKY.js";
15
+ import { t as less } from "./dist-t9Kf7xqC.js";
16
+ import { n as liquid } from "./dist-CpxNdDkw.js";
17
+ import { t as php } from "./dist-BY018Paw.js";
18
+ import { t as rust } from "./dist-Dax--nl9.js";
19
+ import { t as sass } from "./dist-DyyjKEYf.js";
20
+ import { t as wast } from "./dist-DMjWuVs8.js";
21
+ import { r as xml } from "./dist-DZo4nSS0.js";
22
+ import { t as yaml } from "./dist-BzEzfugY.js";
23
23
  import { t as apl } from "./apl-BCgCq9iM.js";
24
24
  import { t as asciiArmor } from "./asciiarmor-BtqU-KJQ.js";
25
25
  import { t as asn1 } from "./asn1-Dmb-dTMx.js";
@@ -102,7 +102,7 @@ import { t as xQuery } from "./xquery-Ba_NB5bD.js";
102
102
  import { t as yacas } from "./yacas-HKQU6hyk.js";
103
103
  import { t as z80 } from "./z80-CXkHXLdj.js";
104
104
  import { n as msgenny, r as xu, t as mscgen } from "./mscgen-DJfqD3bN.js";
105
- import { t as vue } from "./dist-CLJWPTX2.js";
105
+ import { t as vue } from "./dist-LTU8Hdvn.js";
106
106
  var strContent = 63, strDollarBrace = 64, strEnd = 65, escapeSequence = 66, indStrContent = 67, indStrDollarBrace = 68, indStrEnd = 69, indEscapeSequence = 70, quote = 34, backslack = 92, braceL = 123, dollar = 36, apostrophe = 39, scanString = /* @__PURE__ */ new ExternalTokenizer((y) => {
107
107
  for (let G = false, K = 0; ; K++) {
108
108
  let { next: J } = y;
@@ -883,15 +883,15 @@ function maybeNest(y, G, K) {
883
883
  }
884
884
  var expressionParser = /* @__PURE__ */ parser$1.configure({ top: "SingleExpression" });
885
885
  function configureNesting(y) {
886
- let G = [], K = [], Y = [];
887
- for (let J of y) {
888
- let y2 = J.tag == "script" ? G : J.tag == "style" ? K : J.tag == "textarea" ? Y : null;
886
+ let G = [], K = [], J = [];
887
+ for (let Y of y) {
888
+ let y2 = Y.tag == "script" ? G : Y.tag == "style" ? K : Y.tag == "textarea" ? J : null;
889
889
  if (!y2) throw RangeError("Only script, style, and textarea tags can host nested parsers");
890
- y2.push(J);
890
+ y2.push(Y);
891
891
  }
892
- return parseMixed((y2, J) => {
892
+ return parseMixed((y2, Y) => {
893
893
  let X = y2.type.id;
894
- return X === LongExpression || X === ShortExpression ? { parser: expressionParser } : X === ScriptText ? maybeNest(y2, J, G) : X === StyleText ? maybeNest(y2, J, K) : X === TextareaText ? maybeNest(y2, J, Y) : null;
894
+ return X === LongExpression || X === ShortExpression ? { parser: expressionParser } : X === ScriptText ? maybeNest(y2, Y, G) : X === StyleText ? maybeNest(y2, Y, K) : X === TextareaText ? maybeNest(y2, Y, J) : null;
895
895
  });
896
896
  }
897
897
  var defaultNesting = [
@@ -985,36 +985,36 @@ function elementName(y, G, K = y.length) {
985
985
  let J = G.firstChild, Y = J && (J.getChild("TagName") || J.getChild("ComponentName") || J.getChild("SvelteElementName"));
986
986
  return Y ? y.sliceString(Y.from, Math.min(Y.to, K)) : "";
987
987
  }
988
- var autoCloseTags = /* @__PURE__ */ EditorView.inputHandler.of((y, J, Y, X) => {
989
- if (y.composing || y.state.readOnly || J != Y || X != ">" && X != "/" || !svelteLanguage.isActiveAt(y.state, J, -1)) return false;
990
- let { state: Z } = y, Q = Z.changeByRange((J2) => {
988
+ var autoCloseTags = /* @__PURE__ */ EditorView.inputHandler.of((y, G, J, X) => {
989
+ if (y.composing || y.state.readOnly || G != J || X != ">" && X != "/" || !svelteLanguage.isActiveAt(y.state, G, -1)) return false;
990
+ let { state: Z } = y, Q = Z.changeByRange((G2) => {
991
991
  var _a, _b, _c;
992
- let { head: Y2 } = J2, Q2 = syntaxTree(Z).resolveInner(Y2, -1), $;
992
+ let { head: J2 } = G2, Q2 = syntaxTree(Z).resolveInner(J2, -1), $;
993
993
  if ((Q2.name === "TagName" || Q2.name === "ComponentName" || Q2.name === "SvelteElementName" || Q2.name === "StartTag") && (Q2 = Q2.parent), X === ">" && Q2.name === "OpenTag") {
994
- if (((_b = (_a = Q2.parent) == null ? void 0 : _a.lastChild) == null ? void 0 : _b.name) != "CloseTag" && ($ = elementName(Z.doc, Q2.parent, Y2))) {
995
- let K = y.state.doc.sliceString(Y2, Y2 + 1) === ">", J3 = `${K ? "" : ">"}</${$}>`;
994
+ if (((_b = (_a = Q2.parent) == null ? void 0 : _a.lastChild) == null ? void 0 : _b.name) != "CloseTag" && ($ = elementName(Z.doc, Q2.parent, J2))) {
995
+ let G3 = y.state.doc.sliceString(J2, J2 + 1) === ">", K = `${G3 ? "" : ">"}</${$}>`;
996
996
  return {
997
- range: EditorSelection.cursor(Y2 + 1),
997
+ range: EditorSelection.cursor(J2 + 1),
998
998
  changes: {
999
- from: Y2 + (K ? 1 : 0),
1000
- insert: J3
999
+ from: J2 + (G3 ? 1 : 0),
1000
+ insert: K
1001
1001
  }
1002
1002
  };
1003
1003
  }
1004
1004
  } else if (X === "/" && Q2.name === "OpenTag") {
1005
- let K = Q2.parent, J3 = K == null ? void 0 : K.parent;
1006
- if (K.from == Y2 - 1 && ((_c = J3.lastChild) == null ? void 0 : _c.name) != "CloseTag" && ($ = elementName(Z.doc, J3, Y2))) {
1007
- let K2 = y.state.doc.sliceString(Y2, Y2 + 1) === ">", J4 = `/${$}${K2 ? "" : ">"}`, X2 = Y2 + J4.length + (K2 ? 1 : 0);
1005
+ let G3 = Q2.parent, K = G3 == null ? void 0 : G3.parent;
1006
+ if (G3.from == J2 - 1 && ((_c = K.lastChild) == null ? void 0 : _c.name) != "CloseTag" && ($ = elementName(Z.doc, K, J2))) {
1007
+ let G4 = y.state.doc.sliceString(J2, J2 + 1) === ">", K2 = `/${$}${G4 ? "" : ">"}`, X2 = J2 + K2.length + (G4 ? 1 : 0);
1008
1008
  return {
1009
1009
  range: EditorSelection.cursor(X2),
1010
1010
  changes: {
1011
- from: Y2,
1012
- insert: J4
1011
+ from: J2,
1012
+ insert: K2
1013
1013
  }
1014
1014
  };
1015
1015
  }
1016
1016
  }
1017
- return { range: J2 };
1017
+ return { range: G2 };
1018
1018
  });
1019
1019
  return Q.changes.empty ? false : (y.dispatch(Q, {
1020
1020
  userEvent: "input.type",
@@ -2,11 +2,11 @@ import { s as __toESM } from "./chunk-BNovOVIE.js";
2
2
  import { g as cn, h as Events } from "./button-C5K9fIPF.js";
3
3
  import { t as require_react } from "./react-DA-nE2FX.js";
4
4
  import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
5
- import { n as Copy, r as toast, t as copyToClipboard } from "./copy-BuQpJEzp.js";
6
- import { t as Check } from "./check-DTbrK0zt.js";
5
+ import { n as Copy, r as toast, t as copyToClipboard } from "./copy-UqRYxiOg.js";
6
+ import { t as Check } from "./check-BCaJeT-J.js";
7
7
  import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
8
- import { t as Tooltip } from "./tooltip-C5FYOpQc.js";
9
- import { $ as ViewPlugin, A as indentString, Bt as combineConfig, Ct as ChangeSet, D as getIndentation, E as getIndentUnit, Et as EditorSelection, Ft as StateField, H as NodeProp, Ht as findClusterBreak, I as syntaxTree, It as Text, Lt as Transaction, Mt as RangeSetBuilder, N as matchBrackets, Ot as Facet, Pt as StateEffect, St as ChangeDesc, Vt as countColumn, X as Direction, Y as Decoration, Z as EditorView, bt as crelt, et as WidgetType, it as getPanel, j as indentUnit, jt as RangeSet, o as IndentContext, pt as logException, ut as hoverTooltip, vt as showPanel, xt as Annotation } from "./dist-DNdhYsgW.js";
8
+ import { t as Tooltip } from "./tooltip-DpcyNkQ2.js";
9
+ import { $ as EditorView, A as indentString, At as Facet, Ct as Annotation, D as getIndentation, E as getIndentUnit, Ht as combineConfig, I as syntaxTree, It as StateEffect, Lt as StateField, N as matchBrackets, Nt as RangeSet, Ot as EditorSelection, Pt as RangeSetBuilder, Q as Direction, Rt as Text, St as crelt, Tt as ChangeSet, Ut as countColumn, W as NodeProp, Wt as findClusterBreak, Z as Decoration, bt as showPanel, ft as hoverTooltip, ht as logException, j as indentUnit, nt as WidgetType, o as IndentContext, ot as getPanel, tt as ViewPlugin, wt as ChangeDesc, zt as Transaction } from "./dist-U4F-tbMs.js";
10
10
  var import_compiler_runtime = require_compiler_runtime(), import_react = /* @__PURE__ */ __toESM(require_react(), 1), import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime(), 1);
11
11
  const CopyClipboardIcon = (e5) => {
12
12
  let M = (0, import_compiler_runtime.c)(14), { value: N, className: R, buttonClassName: B, tooltip: V, toastTitle: H, ariaLabel: U } = e5, [W, G] = (0, import_react.useState)(false), K;
@@ -2,7 +2,7 @@ import { s as __toESM } from "./chunk-BNovOVIE.js";
2
2
  import { g as cn, r as cva } from "./button-C5K9fIPF.js";
3
3
  import { t as require_react } from "./react-DA-nE2FX.js";
4
4
  import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
5
- import { t as toDate } from "./toDate-x-WRDCH7.js";
5
+ import { t as toDate } from "./toDate-d8RCRrRd.js";
6
6
  import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
7
7
  import { i as tableFromIPC } from "./loader-BWLPpjKK.js";
8
8
  function isDate(e) {
@@ -5,16 +5,16 @@ import { s as __toESM, t as __commonJSMin } from "./chunk-BNovOVIE.js";
5
5
  import { _ as Logger, h as Events, t as Button } from "./button-C5K9fIPF.js";
6
6
  import { t as require_react } from "./react-DA-nE2FX.js";
7
7
  import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
8
- import { n as Copy, r as toast, t as copyToClipboard } from "./copy-BuQpJEzp.js";
9
- import { S as logNever, i as SelectContent, l as SelectTrigger, n as capitalize, o as SelectItem, r as Select, u as SelectValue } from "./strings-Bu3vlb6W.js";
10
- import { G as marked, W as useNonce, _ as DropdownMenuSub, d as DropdownMenuContent, g as DropdownMenuSeparator, h as DropdownMenuPortal, p as DropdownMenuItem, r as Input, u as DropdownMenu, v as DropdownMenuSubContent, y as DropdownMenuSubTrigger } from "./input-_2sjvfne.js";
11
- import { n as Trash, r as Pencil, t as BulkEdit } from "./types-CVvp1fKr.js";
12
- import { n as require_prop_types, r as Plus, t as ErrorBoundary } from "./ErrorBoundary-rULOrC_p.js";
8
+ import { n as Copy, r as toast, t as copyToClipboard } from "./copy-UqRYxiOg.js";
9
+ import { C as logNever, i as SelectContent, l as SelectTrigger, n as capitalize, o as SelectItem, r as Select, u as SelectValue } from "./strings-J57tzLr3.js";
10
+ import { G as useNonce, K as marked, b as DropdownMenuSubTrigger, d as DropdownMenuContent, g as DropdownMenuSeparator, h as DropdownMenuPortal, p as DropdownMenuItem, r as Input, u as DropdownMenu, v as DropdownMenuSub, y as DropdownMenuSubContent } from "./input-CMYy4hzj.js";
11
+ import { n as Trash, r as Pencil, t as BulkEdit } from "./types-ChtMFmZ2.js";
12
+ import { n as require_prop_types, r as Plus, t as ErrorBoundary } from "./ErrorBoundary-DpbaKVv7.js";
13
13
  import "./react-dom-BTJzcVJ9.js";
14
14
  import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
15
- import "./zod-CoBiJ5v4.js";
16
- import { t as Label } from "./label-LWtdw5i8.js";
17
- import { T as useEvent_default, n as useTheme } from "./useTheme-DHIrRQOe.js";
15
+ import "./zod-aLSua2NL.js";
16
+ import { t as Label } from "./label-CC4ytI1X.js";
17
+ import { T as useEvent_default, n as useTheme } from "./useTheme-DEhDzATN.js";
18
18
  import { A as require__Map, B as require__baseGetTag, C as require__hasPath, D as require_isArguments, E as require__isIndex, F as require_isFunction, G as assert, H as require__root, I as require_isObject, J as maybe, K as assertNever, L as require__isKey, M as require_eq, N as require__getNative, O as require__castPath, P as require__toSource, R as require_isSymbol, S as resolveCellsThunk, T as require_isLength, U as require__freeGlobal, V as require__Symbol, W as require_isArray, _ as isEditableGridCell, a as mergeAndRealizeTheme, b as isReadWriteCell, c as withAlpha, d as CompactSelection, f as GridCellKind, g as booleanCellIsEditable, h as InnerGridCellKind, i as makeCSSStyle, j as require__ListCache, k as require__MapCache, l as BooleanEmpty, m as GridColumnMenuIcon, n as ThemeContext, o as blend, p as GridColumnIcon, q as deepEqual, r as getDataEditorTheme, s as blendCache, t as ClickOutsideContainer, u as BooleanIndeterminate, v as isInnerOnlyCell, w as require__toKey, x as isSizedGridColumn, y as isObjectEditorCallbackResult, z as require_isObjectLike } from "./click-outside-container-BDd67_1U.js";
19
19
  import { t as styled_default } from "./dist-D_bzzWBm.js";
20
20
  let GlideDataEditor, glide_data_editor_default;
@@ -10638,7 +10638,7 @@ let __tla = (async () => {
10638
10638
  }
10639
10639
  var import_compiler_runtime = require_compiler_runtime();
10640
10640
  GlideDataEditor = (e) => {
10641
- let t = (0, import_compiler_runtime.c)(107), { data: n, setData: a, columnFields: o, setColumnFields: u, editableColumns: f, edits: m, onAddEdits: h, onAddRows: g, onDeleteRows: y, onRenameColumn: x, onDeleteColumn: S, onAddColumn: E } = e, { theme: k } = useTheme(), j = (0, import_react.useRef)(null), [N, P] = (0, import_react.useState)(), [I, zr] = (0, import_react.useState)(false), Br;
10641
+ let t = (0, import_compiler_runtime.c)(107), { data: n, setData: a, columnFields: o, setColumnFields: u, editableColumns: f, edits: m, onAddEdits: h, onAddRows: g, onDeleteRows: y, onRenameColumn: x, onDeleteColumn: C, onAddColumn: E } = e, { theme: k } = useTheme(), j = (0, import_react.useRef)(null), [N, P] = (0, import_react.useState)(), [I, zr] = (0, import_react.useState)(false), Br;
10642
10642
  t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Br = {
10643
10643
  columns: CompactSelection.empty(),
10644
10644
  rows: CompactSelection.empty()
@@ -10875,13 +10875,13 @@ let __tla = (async () => {
10875
10875
  }
10876
10876
  }, t[48] = o, t[49] = q, t[50] = N, t[51] = x, t[52] = u, t[53] = a, t[54] = pi) : pi = t[54];
10877
10877
  let mi = pi, X;
10878
- t[55] !== N || t[56] !== S || t[57] !== u || t[58] !== a ? (X = () => {
10879
- N && (S(N.col), u((e2) => modifyColumnFields({
10878
+ t[55] !== N || t[56] !== C || t[57] !== u || t[58] !== a ? (X = () => {
10879
+ N && (C(N.col), u((e2) => modifyColumnFields({
10880
10880
  columnFields: e2,
10881
10881
  columnIdx: N.col,
10882
10882
  type: "remove"
10883
10883
  })), a((e2) => removeColumn(e2, N.col)), P(void 0));
10884
- }, t[55] = N, t[56] = S, t[57] = u, t[58] = a, t[59] = X) : X = t[59];
10884
+ }, t[55] = N, t[56] = C, t[57] = u, t[58] = a, t[59] = X) : X = t[59];
10885
10885
  let hi = X, gi;
10886
10886
  t[60] !== o || t[61] !== q.length || t[62] !== N || t[63] !== E || t[64] !== u || t[65] !== a ? (gi = (e2) => {
10887
10887
  let { direction: t2, columnName: n2, dataType: r } = e2;