@bagelink/vue 1.21.42 → 1.21.50

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 (268) hide show
  1. package/dist/{StructuredEditor-D5JeqIq4.cjs → StructuredEditor-Br8oBdPt.cjs} +1 -1
  2. package/dist/{StructuredEditor-BCbsamyc.js → StructuredEditor-BszsyuHR.js} +85 -85
  3. package/dist/components/Accordion.vue.d.ts +8 -10
  4. package/dist/components/Accordion.vue.d.ts.map +1 -1
  5. package/dist/components/AccordionItem.vue.d.ts +14 -14
  6. package/dist/components/AccordionItem.vue.d.ts.map +1 -1
  7. package/dist/components/AddToCalendar.vue.d.ts +2 -1
  8. package/dist/components/AddToCalendar.vue.d.ts.map +1 -1
  9. package/dist/components/AddressSearch.vue.d.ts +3 -226
  10. package/dist/components/AddressSearch.vue.d.ts.map +1 -1
  11. package/dist/components/Alert.vue.d.ts +10 -11
  12. package/dist/components/Alert.vue.d.ts.map +1 -1
  13. package/dist/components/Avatar.vue.d.ts +3 -2
  14. package/dist/components/Avatar.vue.d.ts.map +1 -1
  15. package/dist/components/Badge.vue.d.ts +10 -12
  16. package/dist/components/Badge.vue.d.ts.map +1 -1
  17. package/dist/components/BglVideo.vue.d.ts +3 -5
  18. package/dist/components/BglVideo.vue.d.ts.map +1 -1
  19. package/dist/components/Btn.vue.d.ts +12 -14
  20. package/dist/components/Btn.vue.d.ts.map +1 -1
  21. package/dist/components/Card.vue.d.ts +22 -17
  22. package/dist/components/Card.vue.d.ts.map +1 -1
  23. package/dist/components/ContextMenu.vue.d.ts +16 -464
  24. package/dist/components/ContextMenu.vue.d.ts.map +1 -1
  25. package/dist/components/DataPreview.vue.d.ts +12 -7
  26. package/dist/components/DataPreview.vue.d.ts.map +1 -1
  27. package/dist/components/DragOver.vue.d.ts +9 -11
  28. package/dist/components/DragOver.vue.d.ts.map +1 -1
  29. package/dist/components/Dropdown.vue.d.ts +14 -15
  30. package/dist/components/Dropdown.vue.d.ts.map +1 -1
  31. package/dist/components/EmptyState.vue.d.ts +13 -13
  32. package/dist/components/EmptyState.vue.d.ts.map +1 -1
  33. package/dist/components/FieldSetVue.vue.d.ts +8 -10
  34. package/dist/components/FieldSetVue.vue.d.ts.map +1 -1
  35. package/dist/components/FilterQuery.vue.d.ts +20 -15
  36. package/dist/components/FilterQuery.vue.d.ts.map +1 -1
  37. package/dist/components/Flag.vue.d.ts +2 -1
  38. package/dist/components/Flag.vue.d.ts.map +1 -1
  39. package/dist/components/FlipBook.vue.d.ts +4 -6
  40. package/dist/components/FlipBook.vue.d.ts.map +1 -1
  41. package/dist/components/FloatingPanel.vue.d.ts +12 -13
  42. package/dist/components/FloatingPanel.vue.d.ts.map +1 -1
  43. package/dist/components/Icon/Icon.vue.d.ts +3 -2
  44. package/dist/components/Icon/Icon.vue.d.ts.map +1 -1
  45. package/dist/components/IframeVue.vue.d.ts +3 -4
  46. package/dist/components/IframeVue.vue.d.ts.map +1 -1
  47. package/dist/components/Image.vue.d.ts +8 -10
  48. package/dist/components/Image.vue.d.ts.map +1 -1
  49. package/dist/components/JSONSchema.vue.d.ts +58 -0
  50. package/dist/components/JSONSchema.vue.d.ts.map +1 -0
  51. package/dist/components/JsonBuilder.vue.d.ts +18 -0
  52. package/dist/components/JsonBuilder.vue.d.ts.map +1 -0
  53. package/dist/components/ListItem.vue.d.ts +18 -15
  54. package/dist/components/ListItem.vue.d.ts.map +1 -1
  55. package/dist/components/ListView.vue.d.ts +10 -11
  56. package/dist/components/ListView.vue.d.ts.map +1 -1
  57. package/dist/components/Loading.vue.d.ts +12 -12
  58. package/dist/components/Loading.vue.d.ts.map +1 -1
  59. package/dist/components/MapEmbed/Index.vue.d.ts +3 -2
  60. package/dist/components/MapEmbed/Index.vue.d.ts.map +1 -1
  61. package/dist/components/Menu.vue.d.ts +8 -10
  62. package/dist/components/Menu.vue.d.ts.map +1 -1
  63. package/dist/components/NavBar.vue.d.ts +13 -14
  64. package/dist/components/NavBar.vue.d.ts.map +1 -1
  65. package/dist/components/PageTitle.vue.d.ts +11 -12
  66. package/dist/components/PageTitle.vue.d.ts.map +1 -1
  67. package/dist/components/Pagination.vue.d.ts +9 -9
  68. package/dist/components/Pagination.vue.d.ts.map +1 -1
  69. package/dist/components/Progress.vue.d.ts +10 -11
  70. package/dist/components/Progress.vue.d.ts.map +1 -1
  71. package/dist/components/Rating.vue.d.ts +2 -1
  72. package/dist/components/Rating.vue.d.ts.map +1 -1
  73. package/dist/components/RouterWrapper.vue.d.ts +8 -14
  74. package/dist/components/RouterWrapper.vue.d.ts.map +1 -1
  75. package/dist/components/Spreadsheet/Index.vue.d.ts +3 -38
  76. package/dist/components/Spreadsheet/Index.vue.d.ts.map +1 -1
  77. package/dist/components/Spreadsheet/SpreadsheetCell.vue.d.ts +2 -1
  78. package/dist/components/Spreadsheet/SpreadsheetCell.vue.d.ts.map +1 -1
  79. package/dist/components/Spreadsheet/SpreadsheetTable.vue.d.ts +3 -2
  80. package/dist/components/Spreadsheet/SpreadsheetTable.vue.d.ts.map +1 -1
  81. package/dist/components/Swiper.vue.d.ts +22 -39
  82. package/dist/components/Swiper.vue.d.ts.map +1 -1
  83. package/dist/components/Toast.vue.d.ts +3 -2
  84. package/dist/components/Toast.vue.d.ts.map +1 -1
  85. package/dist/components/TopBar.vue.d.ts +8 -10
  86. package/dist/components/TopBar.vue.d.ts.map +1 -1
  87. package/dist/components/Zoomer.vue.d.ts +9 -15
  88. package/dist/components/Zoomer.vue.d.ts.map +1 -1
  89. package/dist/components/calendar/CalendarPopover.vue.d.ts +9 -11
  90. package/dist/components/calendar/CalendarPopover.vue.d.ts.map +1 -1
  91. package/dist/components/calendar/Index.vue.d.ts +14 -15
  92. package/dist/components/calendar/Index.vue.d.ts.map +1 -1
  93. package/dist/components/calendar/views/AgendaView.vue.d.ts +3 -4
  94. package/dist/components/calendar/views/AgendaView.vue.d.ts.map +1 -1
  95. package/dist/components/calendar/views/DayView.vue.d.ts +3 -2
  96. package/dist/components/calendar/views/DayView.vue.d.ts.map +1 -1
  97. package/dist/components/calendar/views/MonthView.vue.d.ts +3 -2
  98. package/dist/components/calendar/views/MonthView.vue.d.ts.map +1 -1
  99. package/dist/components/calendar/views/WeekView.vue.d.ts +3 -6
  100. package/dist/components/calendar/views/WeekView.vue.d.ts.map +1 -1
  101. package/dist/components/charts/BarChart.vue.d.ts +3 -4
  102. package/dist/components/charts/BarChart.vue.d.ts.map +1 -1
  103. package/dist/components/charts/ChartTooltip.vue.d.ts +4 -5
  104. package/dist/components/charts/ChartTooltip.vue.d.ts.map +1 -1
  105. package/dist/components/charts/Donut.vue.d.ts +5 -6
  106. package/dist/components/charts/Donut.vue.d.ts.map +1 -1
  107. package/dist/components/charts/Funnel.vue.d.ts +5 -6
  108. package/dist/components/charts/Funnel.vue.d.ts.map +1 -1
  109. package/dist/components/charts/Gauge.vue.d.ts +3 -4
  110. package/dist/components/charts/Gauge.vue.d.ts.map +1 -1
  111. package/dist/components/charts/LineChart.vue.d.ts +3 -4
  112. package/dist/components/charts/LineChart.vue.d.ts.map +1 -1
  113. package/dist/components/charts/MapChart.vue.d.ts +4 -6
  114. package/dist/components/charts/MapChart.vue.d.ts.map +1 -1
  115. package/dist/components/charts/RadialBars.vue.d.ts +3 -4
  116. package/dist/components/charts/RadialBars.vue.d.ts.map +1 -1
  117. package/dist/components/charts/RankBars.vue.d.ts +4 -3
  118. package/dist/components/charts/RankBars.vue.d.ts.map +1 -1
  119. package/dist/components/charts/Sparkline.vue.d.ts +3 -4
  120. package/dist/components/charts/Sparkline.vue.d.ts.map +1 -1
  121. package/dist/components/charts/StatCard.vue.d.ts +3 -2
  122. package/dist/components/charts/StatCard.vue.d.ts.map +1 -1
  123. package/dist/components/charts/core/format.d.ts.map +1 -1
  124. package/dist/components/charts/core/useScale.d.ts +4 -2
  125. package/dist/components/charts/core/useScale.d.ts.map +1 -1
  126. package/dist/components/dataTable/DataTable.vue.d.ts +43 -27
  127. package/dist/components/dataTable/DataTable.vue.d.ts.map +1 -1
  128. package/dist/components/draggable/Draggable.vue.d.ts +11 -17
  129. package/dist/components/draggable/Draggable.vue.d.ts.map +1 -1
  130. package/dist/components/form/inputs/ArrayInput.vue.d.ts +15 -15
  131. package/dist/components/form/inputs/ArrayInput.vue.d.ts.map +1 -1
  132. package/dist/components/form/inputs/CheckInput.vue.d.ts +18 -13
  133. package/dist/components/form/inputs/CheckInput.vue.d.ts.map +1 -1
  134. package/dist/components/form/inputs/Checkbox.vue.d.ts +13 -14
  135. package/dist/components/form/inputs/Checkbox.vue.d.ts.map +1 -1
  136. package/dist/components/form/inputs/CodeEditor/Index.vue.d.ts +4 -3
  137. package/dist/components/form/inputs/CodeEditor/Index.vue.d.ts.map +1 -1
  138. package/dist/components/form/inputs/CodeEditor/SearchPanel.vue.d.ts +2 -1
  139. package/dist/components/form/inputs/CodeEditor/SearchPanel.vue.d.ts.map +1 -1
  140. package/dist/components/form/inputs/CodeEditor/StructuredEditor.vue.d.ts +3 -4
  141. package/dist/components/form/inputs/CodeEditor/StructuredEditor.vue.d.ts.map +1 -1
  142. package/dist/components/form/inputs/ColorInput.vue.d.ts +3 -2
  143. package/dist/components/form/inputs/ColorInput.vue.d.ts.map +1 -1
  144. package/dist/components/form/inputs/DateInput.vue.d.ts +9 -10
  145. package/dist/components/form/inputs/DateInput.vue.d.ts.map +1 -1
  146. package/dist/components/form/inputs/DatePicker.vue.d.ts +3 -2
  147. package/dist/components/form/inputs/DatePicker.vue.d.ts.map +1 -1
  148. package/dist/components/form/inputs/EmailInput.vue.d.ts +4 -5
  149. package/dist/components/form/inputs/EmailInput.vue.d.ts.map +1 -1
  150. package/dist/components/form/inputs/IconPickerInput.vue.d.ts +3 -226
  151. package/dist/components/form/inputs/IconPickerInput.vue.d.ts.map +1 -1
  152. package/dist/components/form/inputs/MarkdownEditor.vue.d.ts +6 -40
  153. package/dist/components/form/inputs/MarkdownEditor.vue.d.ts.map +1 -1
  154. package/dist/components/form/inputs/NumberInput.vue.d.ts +3 -2
  155. package/dist/components/form/inputs/NumberInput.vue.d.ts.map +1 -1
  156. package/dist/components/form/inputs/OTP.vue.d.ts +3 -4
  157. package/dist/components/form/inputs/OTP.vue.d.ts.map +1 -1
  158. package/dist/components/form/inputs/PasswordInput.vue.d.ts +8 -6
  159. package/dist/components/form/inputs/PasswordInput.vue.d.ts.map +1 -1
  160. package/dist/components/form/inputs/RadioGroup.vue.d.ts +24 -19
  161. package/dist/components/form/inputs/RadioGroup.vue.d.ts.map +1 -1
  162. package/dist/components/form/inputs/RangeInput.vue.d.ts +22 -24
  163. package/dist/components/form/inputs/RangeInput.vue.d.ts.map +1 -1
  164. package/dist/components/form/inputs/RichText/components/EditorToolbar.vue.d.ts +9 -11
  165. package/dist/components/form/inputs/RichText/components/EditorToolbar.vue.d.ts.map +1 -1
  166. package/dist/components/form/inputs/RichText/components/TableGridSelector.vue.d.ts +2 -1
  167. package/dist/components/form/inputs/RichText/components/TableGridSelector.vue.d.ts.map +1 -1
  168. package/dist/components/form/inputs/RichText/index.vue.d.ts +10 -20
  169. package/dist/components/form/inputs/RichText/index.vue.d.ts.map +1 -1
  170. package/dist/components/form/inputs/SelectBtn.vue.d.ts +7 -5
  171. package/dist/components/form/inputs/SelectBtn.vue.d.ts.map +1 -1
  172. package/dist/components/form/inputs/SelectInput.vue.d.ts +9 -87
  173. package/dist/components/form/inputs/SelectInput.vue.d.ts.map +1 -1
  174. package/dist/components/form/inputs/SignaturePad.vue.d.ts +8 -8
  175. package/dist/components/form/inputs/SignaturePad.vue.d.ts.map +1 -1
  176. package/dist/components/form/inputs/TableField.vue.d.ts +3 -2
  177. package/dist/components/form/inputs/TableField.vue.d.ts.map +1 -1
  178. package/dist/components/form/inputs/TelInput.vue.d.ts +3 -39
  179. package/dist/components/form/inputs/TelInput.vue.d.ts.map +1 -1
  180. package/dist/components/form/inputs/TextInput.vue.d.ts +3 -5
  181. package/dist/components/form/inputs/TextInput.vue.d.ts.map +1 -1
  182. package/dist/components/form/inputs/ToggleInput.vue.d.ts +12 -13
  183. package/dist/components/form/inputs/ToggleInput.vue.d.ts.map +1 -1
  184. package/dist/components/form/inputs/Upload/AssetFileRow.vue.d.ts +4 -3
  185. package/dist/components/form/inputs/Upload/AssetFileRow.vue.d.ts.map +1 -1
  186. package/dist/components/form/inputs/Upload/AssetUploadInput.vue.d.ts +19 -85
  187. package/dist/components/form/inputs/Upload/AssetUploadInput.vue.d.ts.map +1 -1
  188. package/dist/components/form/inputs/Upload/ImageCropper.vue.d.ts +3 -6
  189. package/dist/components/form/inputs/Upload/ImageCropper.vue.d.ts.map +1 -1
  190. package/dist/components/form/inputs/Upload/UploadInput.vue.d.ts +20 -18
  191. package/dist/components/form/inputs/Upload/UploadInput.vue.d.ts.map +1 -1
  192. package/dist/components/kanban/KanbanBoard.vue.d.ts +15 -27
  193. package/dist/components/kanban/KanbanBoard.vue.d.ts.map +1 -1
  194. package/dist/components/layout/AppContent.vue.d.ts +17 -15
  195. package/dist/components/layout/AppContent.vue.d.ts.map +1 -1
  196. package/dist/components/layout/AppLayout.vue.d.ts +31 -26
  197. package/dist/components/layout/AppLayout.vue.d.ts.map +1 -1
  198. package/dist/components/layout/AppNav.vue.d.ts +12 -13
  199. package/dist/components/layout/AppNav.vue.d.ts.map +1 -1
  200. package/dist/components/layout/AppSidebar.vue.d.ts +22 -14
  201. package/dist/components/layout/AppSidebar.vue.d.ts.map +1 -1
  202. package/dist/components/layout/BottomMenu.vue.d.ts +10 -11
  203. package/dist/components/layout/BottomMenu.vue.d.ts.map +1 -1
  204. package/dist/components/layout/Divider.vue.d.ts +8 -10
  205. package/dist/components/layout/Divider.vue.d.ts.map +1 -1
  206. package/dist/components/layout/Layout.vue.d.ts +9 -11
  207. package/dist/components/layout/Layout.vue.d.ts.map +1 -1
  208. package/dist/components/layout/Panel.vue.d.ts +10 -16
  209. package/dist/components/layout/Panel.vue.d.ts.map +1 -1
  210. package/dist/components/layout/Resizable.vue.d.ts +9 -15
  211. package/dist/components/layout/Resizable.vue.d.ts.map +1 -1
  212. package/dist/components/layout/SidebarMenu.vue.d.ts +15 -14
  213. package/dist/components/layout/SidebarMenu.vue.d.ts.map +1 -1
  214. package/dist/components/layout/SidebarNavCaption.vue.d.ts +16 -0
  215. package/dist/components/layout/SidebarNavCaption.vue.d.ts.map +1 -0
  216. package/dist/components/layout/SidebarNavItem.vue.d.ts +2 -1
  217. package/dist/components/layout/SidebarNavItem.vue.d.ts.map +1 -1
  218. package/dist/components/layout/Skeleton.vue.d.ts +8 -10
  219. package/dist/components/layout/Skeleton.vue.d.ts.map +1 -1
  220. package/dist/components/layout/TabbedLayout.vue.d.ts +13 -13
  221. package/dist/components/layout/TabbedLayout.vue.d.ts.map +1 -1
  222. package/dist/components/layout/Tabs.vue.d.ts +11 -9
  223. package/dist/components/layout/Tabs.vue.d.ts.map +1 -1
  224. package/dist/components/layout/TabsBody.vue.d.ts +11 -9
  225. package/dist/components/layout/TabsBody.vue.d.ts.map +1 -1
  226. package/dist/components/layout/TabsNav.vue.d.ts +10 -16
  227. package/dist/components/layout/TabsNav.vue.d.ts.map +1 -1
  228. package/dist/components/layout/Timeline.vue.d.ts +14 -14
  229. package/dist/components/layout/Timeline.vue.d.ts.map +1 -1
  230. package/dist/components/layout/TimelineItem.vue.d.ts +14 -13
  231. package/dist/components/layout/TimelineItem.vue.d.ts.map +1 -1
  232. package/dist/components/layout/index.d.ts +2 -0
  233. package/dist/components/layout/index.d.ts.map +1 -1
  234. package/dist/components/lightbox/AssetPreview.vue.d.ts +2 -1
  235. package/dist/components/lightbox/AssetPreview.vue.d.ts.map +1 -1
  236. package/dist/components/lightbox/Lightbox.vue.d.ts +3 -4
  237. package/dist/components/lightbox/Lightbox.vue.d.ts.map +1 -1
  238. package/dist/components/lightbox/LightboxImage.vue.d.ts +2 -1
  239. package/dist/components/lightbox/LightboxImage.vue.d.ts.map +1 -1
  240. package/dist/core.css +1 -1
  241. package/dist/dialog/Dialog.vue.d.ts +14 -18
  242. package/dist/dialog/Dialog.vue.d.ts.map +1 -1
  243. package/dist/dialog/DialogConfirm.vue.d.ts +4 -3
  244. package/dist/dialog/DialogConfirm.vue.d.ts.map +1 -1
  245. package/dist/dialog/DialogForm.vue.d.ts +18 -13
  246. package/dist/dialog/DialogForm.vue.d.ts.map +1 -1
  247. package/dist/env.d.ts +8 -0
  248. package/dist/form-flow/FormFlow.vue.d.ts +17 -40
  249. package/dist/form-flow/FormFlow.vue.d.ts.map +1 -1
  250. package/dist/form-flow/FormFlowPlayer.vue.d.ts +23 -31
  251. package/dist/form-flow/FormFlowPlayer.vue.d.ts.map +1 -1
  252. package/dist/form-flow/MultiStepForm.vue.d.ts +17 -15
  253. package/dist/form-flow/MultiStepForm.vue.d.ts.map +1 -1
  254. package/dist/index.cjs +1 -1
  255. package/dist/index.mjs +273 -271
  256. package/dist/{src-BCvft5i9.js → src-DaSKch48.js} +4381 -4339
  257. package/dist/src-Dlh5iQ0R.cjs +764 -0
  258. package/dist/src.css +1 -1
  259. package/dist/style.css +1 -1
  260. package/package.json +117 -116
  261. package/src/components/charts/core/format.ts +16 -2
  262. package/src/components/charts/core/useScale.ts +19 -7
  263. package/src/components/dataTable/DataTable.vue +1 -1
  264. package/src/components/layout/AppSidebar.vue +20 -7
  265. package/src/components/layout/SidebarNavCaption.vue +43 -0
  266. package/src/components/layout/index.ts +2 -0
  267. package/LICENSE +0 -21
  268. package/dist/src-Bye2pFTO.cjs +0 -764
@@ -1,6 +1,6 @@
1
- import { Jr as ut, Na as Lt, en as wr, ka as C } from "./src-BCvft5i9.js";
2
- import { $ as Bt, A as Er, B as Rr, C as Tr, D as g, E as Fr, F as Ir, G as me, H as W, I as Or, J as Pr, K as _e, L as qr, M as ht, N as Nr, O as $r, P as Vr, Q as Dt, R as D, T as He, U as ft, V as Wr, W as d, Y as _r, Z as ie, a as Hr, at as H, b as wt, ct as y, d as Ur, dt as Te, et as De, g as Et, h as Fe, it as Ue, j as Rt, n as Tt, nt as zr, ot as Gr, p as Jr, rt as Ft, t as jr, tt as Kr, v as Qr, w as ze, x as K, y as ge, z as Ge } from "./dist-IV7z-zur.js";
3
- import { computed as G, createBlock as Ie, createCommentVNode as P, createElementBlock as T, createElementVNode as b, createVNode as B, defineComponent as It, getCurrentInstance as Yr, h as dt, normalizeClass as Zr, onBeforeUnmount as Xr, onMounted as en, openBlock as A, ref as w, render as mt, resolveDirective as Ot, shallowRef as tn, toDisplayString as $, unref as V, useId as rn, watch as le, withDirectives as M } from "vue";
1
+ import { Fa as Lt, Xr as ut, en as wr, ja as C } from "./src-DaSKch48.js";
2
+ import { $ as Bt, A as Er, B as Rr, C as Fr, D as g, E as Tr, F as Ir, G as me, H as W, I as Or, J as Pr, K as _e, L as qr, M as ht, N as Nr, O as $r, P as Vr, Q as Dt, R as D, T as He, U as ft, V as Wr, W as d, Y as _r, Z as ie, a as Hr, at as H, b as wt, ct as y, d as Ur, dt as Fe, et as De, g as Et, h as Te, it as Ue, j as Rt, n as Ft, nt as zr, ot as Gr, p as Jr, rt as Tt, t as jr, tt as Kr, v as Qr, w as ze, x as K, y as ge, z as Ge } from "./dist-IV7z-zur.js";
3
+ import { computed as G, createBlock as Ie, createCommentVNode as P, createElementBlock as F, createElementVNode as b, createVNode as B, defineComponent as It, getCurrentInstance as Xr, h as dt, normalizeClass as Yr, onBeforeUnmount as Zr, onMounted as en, openBlock as A, ref as w, render as mt, resolveDirective as Ot, shallowRef as tn, toDisplayString as $, unref as V, useId as rn, watch as le, withDirectives as M } from "vue";
4
4
  var nn = (e) => {
5
5
  let { state: t } = e, r = t.doc.lineAt(t.selection.main.from), n = je(e.state, r.from);
6
6
  return n.line ? ln(e) : n.block ? on(e) : !1;
@@ -135,7 +135,7 @@ function un(e, t, r = t.selection.ranges) {
135
135
  return null;
136
136
  }
137
137
  var Oe = /* @__PURE__ */ Ge.define(), hn = /* @__PURE__ */ Ge.define(), fn = /* @__PURE__ */ _e.define(), qt = /* @__PURE__ */ _e.define({ combine(e) {
138
- return Ft(e, {
138
+ return Tt(e, {
139
139
  minDepth: 100,
140
140
  newGroupDelay: 500,
141
141
  joinToEvent: (t, r) => r
@@ -350,10 +350,10 @@ var bn = [
350
350
  preventDefault: !0
351
351
  }
352
352
  ];
353
- function X(e, t) {
353
+ function Z(e, t) {
354
354
  return d.create(e.ranges.map(t), e.mainIndex);
355
355
  }
356
- function F(e, t) {
356
+ function T(e, t) {
357
357
  return e.update({
358
358
  selection: t,
359
359
  scrollIntoView: !0,
@@ -361,8 +361,8 @@ function F(e, t) {
361
361
  });
362
362
  }
363
363
  function I({ state: e, dispatch: t }, r) {
364
- let n = X(e.selection, r);
365
- return n.eq(e.selection, !0) ? !1 : (t(F(e, n)), !0);
364
+ let n = Z(e.selection, r);
365
+ return n.eq(e.selection, !0) ? !1 : (t(T(e, n)), !0);
366
366
  }
367
367
  function Ae(e, t) {
368
368
  return d.cursor(t ? e.to : e.from);
@@ -371,7 +371,7 @@ function _t(e, t) {
371
371
  return I(e, (r) => r.empty ? e.moveByChar(r, t) : Ae(r, t));
372
372
  }
373
373
  function S(e) {
374
- return e.textDirectionAt(e.state.selection.main.head) == Fr.LTR;
374
+ return e.textDirectionAt(e.state.selection.main.head) == Tr.LTR;
375
375
  }
376
376
  var Ht = (e) => _t(e, !S(e)), Ut = (e) => _t(e, S(e));
377
377
  function zt(e, t) {
@@ -384,7 +384,7 @@ function Mn(e, t, r) {
384
384
  return n && (n > 2 || /[^\s,.;:]/.test(e.sliceDoc(t.from, t.to))) || t.firstChild;
385
385
  }
386
386
  function Me(e, t, r) {
387
- let n = ze(e).resolveInner(t.head), l = r ? Te.closedBy : Te.openedBy;
387
+ let n = ze(e).resolveInner(t.head), l = r ? Fe.closedBy : Fe.openedBy;
388
388
  for (let s = t.head; ; ) {
389
389
  let c = r ? n.childAfter(s) : n.childBefore(s);
390
390
  if (!c) break;
@@ -419,7 +419,7 @@ function Kt(e) {
419
419
  };
420
420
  }
421
421
  function Qt(e, t) {
422
- let r = Kt(e), { state: n } = e, l = X(n.selection, (o) => o.empty ? e.moveVertically(o, t, r.height) : Ae(o, t));
422
+ let r = Kt(e), { state: n } = e, l = Z(n.selection, (o) => o.empty ? e.moveVertically(o, t, r.height) : Ae(o, t));
423
423
  if (l.eq(n.selection)) return !1;
424
424
  let a;
425
425
  if (r.selfScroll) {
@@ -429,7 +429,7 @@ function Qt(e, t) {
429
429
  yMargin: o.top - s
430
430
  }));
431
431
  }
432
- return e.dispatch(F(n, l), { effects: a }), !0;
432
+ return e.dispatch(T(n, l), { effects: a }), !0;
433
433
  }
434
434
  var pt = (e) => Qt(e, !1), qe = (e) => Qt(e, !0);
435
435
  function _(e, t, r) {
@@ -440,30 +440,30 @@ function _(e, t, r) {
440
440
  }
441
441
  return l;
442
442
  }
443
- var Dn = (e) => I(e, (t) => _(e, t, !0)), wn = (e) => I(e, (t) => _(e, t, !1)), En = (e) => I(e, (t) => _(e, t, !S(e))), Rn = (e) => I(e, (t) => _(e, t, S(e))), Tn = (e) => I(e, (t) => e.moveToLineBoundary(t, !1, !1)), Fn = (e) => I(e, (t) => e.moveToLineBoundary(t, !0, !1));
443
+ var Dn = (e) => I(e, (t) => _(e, t, !0)), wn = (e) => I(e, (t) => _(e, t, !1)), En = (e) => I(e, (t) => _(e, t, !S(e))), Rn = (e) => I(e, (t) => _(e, t, S(e))), Fn = (e) => I(e, (t) => e.moveToLineBoundary(t, !1, !1)), Tn = (e) => I(e, (t) => e.moveToLineBoundary(t, !0, !1));
444
444
  function In(e, t, r) {
445
- let n = !1, l = X(e.selection, (a) => {
445
+ let n = !1, l = Z(e.selection, (a) => {
446
446
  let o = K(e, a.head, -1) || K(e, a.head, 1) || a.head > 0 && K(e, a.head - 1, 1) || a.head < e.doc.length && K(e, a.head + 1, -1);
447
447
  if (!o || !o.end) return a;
448
448
  n = !0;
449
449
  let i = o.start.from == a.head ? o.end.to : o.end.from;
450
450
  return r ? d.range(a.anchor, i) : d.cursor(i);
451
451
  });
452
- return n ? (t(F(e, l)), !0) : !1;
452
+ return n ? (t(T(e, l)), !0) : !1;
453
453
  }
454
454
  var On = ({ state: e, dispatch: t }) => In(e, t, !1);
455
455
  function R(e, t, r) {
456
- let n = X(e.state.selection, (l) => {
456
+ let n = Z(e.state.selection, (l) => {
457
457
  l.undirectional && l.head >= l.anchor != t && (l = d.range(l.head, l.anchor));
458
458
  let a = r(l);
459
459
  return d.range(l.anchor, a.head, a.goalColumn, a.bidiLevel || void 0, a.assoc);
460
460
  });
461
- return n.eq(e.state.selection) ? !1 : (e.dispatch(F(e.state, n)), !0);
461
+ return n.eq(e.state.selection) ? !1 : (e.dispatch(T(e.state, n)), !0);
462
462
  }
463
- function Yt(e, t) {
463
+ function Xt(e, t) {
464
464
  return R(e, t, (r) => e.moveByChar(r, t));
465
465
  }
466
- var Zt = (e) => Yt(e, !S(e)), Xt = (e) => Yt(e, S(e));
466
+ var Yt = (e) => Xt(e, !S(e)), Zt = (e) => Xt(e, S(e));
467
467
  function er(e, t) {
468
468
  return R(e, t, (r) => e.moveByGroup(r, t));
469
469
  }
@@ -487,10 +487,10 @@ var gt = (e) => lr(e, !1), vt = (e) => lr(e, !0), Vn = (e) => R(e, !0, (t) => _(
487
487
  }, Hn = (e) => {
488
488
  let t = S(e);
489
489
  return R(e, t, (r) => _(e, r, t));
490
- }, Un = (e) => R(e, !1, (t) => d.cursor(e.lineBlockAt(t.head).from)), zn = (e) => R(e, !0, (t) => d.cursor(e.lineBlockAt(t.head).to)), yt = ({ state: e, dispatch: t }) => (t(F(e, { anchor: 0 })), !0), xt = ({ state: e, dispatch: t }) => (t(F(e, { anchor: e.doc.length })), !0), kt = ({ state: e, dispatch: t }) => (t(F(e, {
490
+ }, Un = (e) => R(e, !1, (t) => d.cursor(e.lineBlockAt(t.head).from)), zn = (e) => R(e, !0, (t) => d.cursor(e.lineBlockAt(t.head).to)), yt = ({ state: e, dispatch: t }) => (t(T(e, { anchor: 0 })), !0), xt = ({ state: e, dispatch: t }) => (t(T(e, { anchor: e.doc.length })), !0), kt = ({ state: e, dispatch: t }) => (t(T(e, {
491
491
  anchor: e.selection.main.anchor,
492
492
  head: 0
493
- })), !0), St = ({ state: e, dispatch: t }) => (t(F(e, {
493
+ })), !0), St = ({ state: e, dispatch: t }) => (t(T(e, {
494
494
  anchor: e.selection.main.anchor,
495
495
  head: e.doc.length
496
496
  })), !0), Gn = ({ state: e, dispatch: t }) => (t(e.update({
@@ -506,7 +506,7 @@ var gt = (e) => lr(e, !1), vt = (e) => lr(e, !0), Vn = (e) => R(e, !0, (t) => _(
506
506
  userEvent: "select"
507
507
  })), !0;
508
508
  }, jn = ({ state: e, dispatch: t }) => {
509
- let r = X(e.selection, (n) => {
509
+ let r = Z(e.selection, (n) => {
510
510
  let l = ze(e), a = l.resolveStack(n.from, 1);
511
511
  if (n.empty) {
512
512
  let o = l.resolveStack(n.from, -1);
@@ -518,7 +518,7 @@ var gt = (e) => lr(e, !1), vt = (e) => lr(e, !0), Vn = (e) => R(e, !0, (t) => _(
518
518
  }
519
519
  return n;
520
520
  });
521
- return r.eq(e.selection) ? !1 : (t(F(e, r)), !0);
521
+ return r.eq(e.selection) ? !1 : (t(T(e, r)), !0);
522
522
  };
523
523
  function ar(e, t) {
524
524
  let { state: r } = e, n = r.selection, l = r.selection.ranges.slice();
@@ -535,11 +535,11 @@ function ar(e, t) {
535
535
  }
536
536
  }
537
537
  }
538
- return l.length == n.ranges.length ? !1 : (e.dispatch(F(r, d.create(l, l.length - 1))), !0);
538
+ return l.length == n.ranges.length ? !1 : (e.dispatch(T(r, d.create(l, l.length - 1))), !0);
539
539
  }
540
- var Kn = (e) => ar(e, !1), Qn = (e) => ar(e, !0), Yn = ({ state: e, dispatch: t }) => {
540
+ var Kn = (e) => ar(e, !1), Qn = (e) => ar(e, !0), Xn = ({ state: e, dispatch: t }) => {
541
541
  let r = e.selection, n = null;
542
- return r.ranges.length > 1 ? n = d.create([r.main]) : r.main.empty || (n = d.create([d.cursor(r.main.head)])), n ? (t(F(e, n)), !0) : !1;
542
+ return r.ranges.length > 1 ? n = d.create([r.main]) : r.main.empty || (n = d.create([d.cursor(r.main.head)])), n ? (t(T(e, n)), !0) : !1;
543
543
  };
544
544
  function se(e, t) {
545
545
  if (e.state.readOnly) return !1;
@@ -574,7 +574,7 @@ var or = (e, t, r) => se(e, (n) => {
574
574
  let l = n.from, { state: a } = e, o = a.doc.lineAt(l), i, s;
575
575
  if (r && !t && l > o.from && l < o.from + 200 && !/[^ \t]/.test(i = o.text.slice(0, l - o.from))) {
576
576
  if (i[i.length - 1] == " ") return l - 1;
577
- let c = Ue(i, a.tabSize) % Fe(a) || Fe(a);
577
+ let c = Ue(i, a.tabSize) % Te(a) || Te(a);
578
578
  for (let u = 0; u < c && i[i.length - 1 - u] == " "; u++) l--;
579
579
  s = l;
580
580
  } else
@@ -592,7 +592,7 @@ var or = (e, t, r) => se(e, (n) => {
592
592
  (c != " " || n != r.head) && (i = u), n = s;
593
593
  }
594
594
  return n;
595
- }), cr = (e) => sr(e, !1), Zn = (e) => sr(e, !0), Xn = (e) => se(e, (t) => {
595
+ }), cr = (e) => sr(e, !1), Yn = (e) => sr(e, !0), Zn = (e) => se(e, (t) => {
596
596
  let r = e.lineBlockAt(t.head).to;
597
597
  return t.head < r ? r : Math.min(e.state.doc.length, t.head + 1);
598
598
  }), el = (e) => se(e, (t) => {
@@ -707,7 +707,7 @@ var ol = ({ state: e, dispatch: t }) => hr(e, t, !1), il = ({ state: e, dispatch
707
707
  let { state: t } = e, r = t.changes(Le(t).map(({ from: l, to: a }) => (l > 0 ? l-- : a < t.doc.length && a++, {
708
708
  from: l,
709
709
  to: a
710
- }))), n = X(t.selection, (l) => {
710
+ }))), n = Z(t.selection, (l) => {
711
711
  let a;
712
712
  if (e.lineWrapping) {
713
713
  let o = e.lineBlockAt(l.head), i = e.coordsAtPos(l.head, l.assoc || 1);
@@ -728,7 +728,7 @@ function cl(e, t) {
728
728
  to: t
729
729
  };
730
730
  let r = ze(e).resolveInner(t), n = r.childBefore(t), l = r.childAfter(t), a;
731
- return n && l && n.to <= t && l.from >= t && (a = n.type.prop(Te.closedBy)) && a.indexOf(l.name) > -1 && e.doc.lineAt(n.to).from == e.doc.lineAt(l.from).from && !/\S/.test(e.sliceDoc(n.to, l.from)) ? {
731
+ return n && l && n.to <= t && l.from >= t && (a = n.type.prop(Fe.closedBy)) && a.indexOf(l.name) > -1 && e.doc.lineAt(n.to).from == e.doc.lineAt(l.from).from && !/\S/.test(e.sliceDoc(n.to, l.from)) ? {
732
732
  from: n.to,
733
733
  to: l.from
734
734
  } : null;
@@ -740,7 +740,7 @@ function fr(e) {
740
740
  let n = t.changeByRange((l) => {
741
741
  let { from: a, to: o } = l, i = t.doc.lineAt(a), s = !e && a == o && cl(t, a);
742
742
  e && (a = o = (o <= i.to ? i : t.doc.lineAt(o)).to);
743
- let c = new Tt(t, {
743
+ let c = new Ft(t, {
744
744
  simulateBreak: a,
745
745
  simulateDoubleBreak: !!s
746
746
  }), u = Et(c, a);
@@ -779,7 +779,7 @@ function Ke(e, t) {
779
779
  }
780
780
  var hl = ({ state: e, dispatch: t }) => {
781
781
  if (e.readOnly) return !1;
782
- let r = /* @__PURE__ */ Object.create(null), n = new Tt(e, { overrideIndentation: (a) => {
782
+ let r = /* @__PURE__ */ Object.create(null), n = new Ft(e, { overrideIndentation: (a) => {
783
783
  let o = r[a];
784
784
  return o ?? -1;
785
785
  } }), l = Ke(e, (a, o, i) => {
@@ -802,7 +802,7 @@ var hl = ({ state: e, dispatch: t }) => {
802
802
  }), { userEvent: "input.indent" })), !0), mr = ({ state: e, dispatch: t }) => e.readOnly ? !1 : (t(e.update(Ke(e, (r, n) => {
803
803
  let l = /^\s*/.exec(r.text)[0];
804
804
  if (!l) return;
805
- let a = Ue(l, e.tabSize), o = 0, i = ge(e, Math.max(0, a - Fe(e)));
805
+ let a = Ue(l, e.tabSize), o = 0, i = ge(e, Math.max(0, a - Te(e)));
806
806
  for (; o < l.length && o < i.length && l.charCodeAt(o) == i.charCodeAt(o); ) o++;
807
807
  n.push({
808
808
  from: r.from + o,
@@ -813,13 +813,13 @@ var hl = ({ state: e, dispatch: t }) => {
813
813
  {
814
814
  key: "Ctrl-b",
815
815
  run: Ht,
816
- shift: Zt,
816
+ shift: Yt,
817
817
  preventDefault: !0
818
818
  },
819
819
  {
820
820
  key: "Ctrl-f",
821
821
  run: Ut,
822
- shift: Xt
822
+ shift: Zt
823
823
  },
824
824
  {
825
825
  key: "Ctrl-p",
@@ -833,12 +833,12 @@ var hl = ({ state: e, dispatch: t }) => {
833
833
  },
834
834
  {
835
835
  key: "Ctrl-a",
836
- run: Tn,
836
+ run: Fn,
837
837
  shift: Un
838
838
  },
839
839
  {
840
840
  key: "Ctrl-e",
841
- run: Fn,
841
+ run: Tn,
842
842
  shift: zn
843
843
  },
844
844
  {
@@ -851,7 +851,7 @@ var hl = ({ state: e, dispatch: t }) => {
851
851
  },
852
852
  {
853
853
  key: "Ctrl-k",
854
- run: Xn
854
+ run: Zn
855
855
  },
856
856
  {
857
857
  key: "Ctrl-Alt-h",
@@ -873,7 +873,7 @@ var hl = ({ state: e, dispatch: t }) => {
873
873
  {
874
874
  key: "ArrowLeft",
875
875
  run: Ht,
876
- shift: Zt,
876
+ shift: Yt,
877
877
  preventDefault: !0
878
878
  },
879
879
  {
@@ -892,7 +892,7 @@ var hl = ({ state: e, dispatch: t }) => {
892
892
  {
893
893
  key: "ArrowRight",
894
894
  run: Ut,
895
- shift: Xt,
895
+ shift: Zt,
896
896
  preventDefault: !0
897
897
  },
898
898
  {
@@ -1001,7 +1001,7 @@ var hl = ({ state: e, dispatch: t }) => {
1001
1001
  {
1002
1002
  key: "Mod-Delete",
1003
1003
  mac: "Alt-Delete",
1004
- run: Zn,
1004
+ run: Yn,
1005
1005
  preventDefault: !0
1006
1006
  },
1007
1007
  {
@@ -1057,7 +1057,7 @@ var hl = ({ state: e, dispatch: t }) => {
1057
1057
  },
1058
1058
  {
1059
1059
  key: "Escape",
1060
- run: Yn
1060
+ run: Xn
1061
1061
  },
1062
1062
  {
1063
1063
  key: "Mod-Enter",
@@ -1125,7 +1125,7 @@ var vl = (e) => {
1125
1125
  var t = e.theme, r = e.settings, n = r === void 0 ? {} : r, l = e.styles, a = l === void 0 ? [] : l, o = { ".cm-gutters": {} }, i = {};
1126
1126
  n.background && (i.backgroundColor = n.background), n.backgroundImage && (i.backgroundImage = n.backgroundImage), n.foreground && (i.color = n.foreground), n.fontSize && (i.fontSize = n.fontSize), (n.background || n.foreground) && (o["&"] = i), n.fontFamily && (o["&.cm-editor .cm-scroller"] = { fontFamily: n.fontFamily }), n.gutterBackground && (o[".cm-gutters"].backgroundColor = n.gutterBackground), n.gutterForeground && (o[".cm-gutters"].color = n.gutterForeground), n.gutterBorder && (o[".cm-gutters"].borderRightColor = n.gutterBorder), n.caret && (o[".cm-content"] = { caretColor: n.caret }, o[".cm-cursor, .cm-dropCursor"] = { borderLeftColor: n.caret });
1127
1127
  var s = {};
1128
- return n.gutterActiveForeground && (s.color = n.gutterActiveForeground), n.lineHighlight && (o[".cm-activeLine"] = { backgroundColor: n.lineHighlight }, s.backgroundColor = n.lineHighlight), o[".cm-activeLineGutter"] = s, n.selection && (o["&.cm-focused .cm-selectionBackground, & .cm-line::selection, & .cm-selectionLayer .cm-selectionBackground, .cm-content ::selection"] = { background: n.selection + " !important" }), n.selectionMatch && (o["& .cm-selectionMatch"] = { backgroundColor: n.selectionMatch }), [g.theme(o, { dark: t === "dark" }), Tr(jr.define(a))];
1128
+ return n.gutterActiveForeground && (s.color = n.gutterActiveForeground), n.lineHighlight && (o[".cm-activeLine"] = { backgroundColor: n.lineHighlight }, s.backgroundColor = n.lineHighlight), o[".cm-activeLineGutter"] = s, n.selection && (o["&.cm-focused .cm-selectionBackground, & .cm-line::selection, & .cm-selectionLayer .cm-selectionBackground, .cm-content ::selection"] = { background: n.selection + " !important" }), n.selectionMatch && (o["& .cm-selectionMatch"] = { backgroundColor: n.selectionMatch }), [g.theme(o, { dark: t === "dark" }), Fr(jr.define(a))];
1129
1129
  }, yl = {
1130
1130
  background: "#272C35",
1131
1131
  foreground: "#9d9b97",
@@ -1439,7 +1439,7 @@ var Ml = ({ state: e, dispatch: t }) => {
1439
1439
  effects: g.scrollIntoView(l.to)
1440
1440
  })), !0) : !1;
1441
1441
  }, U = /* @__PURE__ */ _e.define({ combine(e) {
1442
- return Ft(e, {
1442
+ return Tt(e, {
1443
1443
  top: !1,
1444
1444
  caseSensitive: !1,
1445
1445
  literal: !1,
@@ -1452,7 +1452,7 @@ var Ml = ({ state: e, dispatch: t }) => {
1452
1452
  function Ll(e) {
1453
1453
  return e ? [U.of(e), We] : We;
1454
1454
  }
1455
- var Ye = class {
1455
+ var Xe = class {
1456
1456
  /**
1457
1457
  Create a query object.
1458
1458
  */
@@ -1476,7 +1476,7 @@ var Ye = class {
1476
1476
  @internal
1477
1477
  */
1478
1478
  create() {
1479
- return this.regexp ? new Tl(this) : new wl(this);
1479
+ return this.regexp ? new Fl(this) : new wl(this);
1480
1480
  }
1481
1481
  /**
1482
1482
  Get a search cursor for this query, searching through the given
@@ -1561,7 +1561,7 @@ function ke(e, t) {
1561
1561
  function Rl(e) {
1562
1562
  return (t, r, n) => !n[0].length || (e(xe(n.input, n.index)) != W.Word || e(ke(n.input, n.index)) != W.Word) && (e(ke(n.input, n.index + n[0].length)) != W.Word || e(xe(n.input, n.index + n[0].length)) != W.Word);
1563
1563
  }
1564
- var Tl = class extends xr {
1564
+ var Fl = class extends xr {
1565
1565
  nextMatch(e, t, r) {
1566
1566
  let n = j(this.spec, e, r, e.doc.length).next();
1567
1567
  return n.done && (n = j(this.spec, e, 0, t).next()), n.done ? null : n.value;
@@ -1600,12 +1600,12 @@ var Tl = class extends xr {
1600
1600
  let l = j(this.spec, e, Math.max(0, t - 250), Math.min(r + 250, e.doc.length));
1601
1601
  for (; !l.next().done; ) n(l.value.from, l.value.to);
1602
1602
  }
1603
- }, Q = /* @__PURE__ */ ie.define(), Ze = /* @__PURE__ */ ie.define(), N = /* @__PURE__ */ Dt.define({
1603
+ }, Q = /* @__PURE__ */ ie.define(), Ye = /* @__PURE__ */ ie.define(), N = /* @__PURE__ */ Dt.define({
1604
1604
  create(e) {
1605
1605
  return new Re(Se(e).create(), null);
1606
1606
  },
1607
1607
  update(e, t) {
1608
- for (let r of t.effects) r.is(Q) ? e = new Re(r.value.create(), e.panel) : r.is(Ze) && (e = new Re(e.query, r.value ? Xe : null));
1608
+ for (let r of t.effects) r.is(Q) ? e = new Re(r.value.create(), e.panel) : r.is(Ye) && (e = new Re(e.query, r.value ? Ze : null));
1609
1609
  return e;
1610
1610
  },
1611
1611
  provide: (e) => qr.from(e, (t) => t.panel)
@@ -1618,7 +1618,7 @@ var Re = class {
1618
1618
  constructor(e, t) {
1619
1619
  this.query = e, this.panel = t;
1620
1620
  }
1621
- }, Fl = /* @__PURE__ */ He.mark({ class: "cm-searchMatch" }), Il = /* @__PURE__ */ He.mark({ class: "cm-searchMatch cm-searchMatch-selected" }), Ol = /* @__PURE__ */ $r.fromClass(class {
1621
+ }, Tl = /* @__PURE__ */ He.mark({ class: "cm-searchMatch" }), Il = /* @__PURE__ */ He.mark({ class: "cm-searchMatch cm-searchMatch-selected" }), Ol = /* @__PURE__ */ $r.fromClass(class {
1622
1622
  constructor(e) {
1623
1623
  this.view = e, this.decorations = this.highlight(e.state.field(N));
1624
1624
  }
@@ -1634,7 +1634,7 @@ var Re = class {
1634
1634
  for (; l < o - 1 && s > a[l + 1].from - 500; ) s = a[++l].to;
1635
1635
  e.highlight(r.state, i, s, (c, u) => {
1636
1636
  let h = r.state.selection.ranges.some((f) => f.from == c && f.to == u);
1637
- n.add(c, u, h ? Il : Fl);
1637
+ n.add(c, u, h ? Il : Tl);
1638
1638
  });
1639
1639
  }
1640
1640
  return n.finish();
@@ -1646,7 +1646,7 @@ function ce(e) {
1646
1646
  return r && r.query.spec.valid ? e(t, r) : Ar(t);
1647
1647
  };
1648
1648
  }
1649
- var Y = /* @__PURE__ */ ce((e, { query: t }) => {
1649
+ var X = /* @__PURE__ */ ce((e, { query: t }) => {
1650
1650
  let { to: r } = e.state.selection.main, n = t.nextMatch(e.state, r, r);
1651
1651
  if (!n) return !1;
1652
1652
  let l = d.single(n.from, n.to), a = e.state.facet(U);
@@ -1655,7 +1655,7 @@ var Y = /* @__PURE__ */ ce((e, { query: t }) => {
1655
1655
  effects: [et(e, n), a.scrollToMatch(l.main, e)],
1656
1656
  userEvent: "select.search"
1657
1657
  }), Cr(e), !0;
1658
- }), Z = /* @__PURE__ */ ce((e, { query: t }) => {
1658
+ }), Y = /* @__PURE__ */ ce((e, { query: t }) => {
1659
1659
  let { state: r } = e, { from: n } = r.selection.main, l = t.prevMatch(r, n, n);
1660
1660
  if (!l) return !1;
1661
1661
  let a = d.single(l.from, l.to), o = e.state.facet(U);
@@ -1719,7 +1719,7 @@ var Y = /* @__PURE__ */ ce((e, { query: t }) => {
1719
1719
  userEvent: "input.replace.all"
1720
1720
  }), !0;
1721
1721
  });
1722
- function Xe(e) {
1722
+ function Ze(e) {
1723
1723
  return e.state.facet(U).createPanel(e);
1724
1724
  }
1725
1725
  function Se(e, t) {
@@ -1727,7 +1727,7 @@ function Se(e, t) {
1727
1727
  let i = e.selection.main, s = i.empty || i.to > i.from + 100 ? "" : e.sliceDoc(i.from, i.to);
1728
1728
  if (t && !s) return t;
1729
1729
  let c = e.facet(U);
1730
- return new Ye({
1730
+ return new Xe({
1731
1731
  search: ((r = t?.literal) !== null && r !== void 0 ? r : c.literal) ? s : s.replace(/\n/g, "\\n"),
1732
1732
  caseSensitive: (n = t?.caseSensitive) !== null && n !== void 0 ? n : c.caseSensitive,
1733
1733
  literal: (l = t?.literal) !== null && l !== void 0 ? l : c.literal,
@@ -1736,7 +1736,7 @@ function Se(e, t) {
1736
1736
  });
1737
1737
  }
1738
1738
  function br(e) {
1739
- let t = Rt(e, Xe);
1739
+ let t = Rt(e, Ze);
1740
1740
  return t && t.dom.querySelector("[main-field]");
1741
1741
  }
1742
1742
  function Cr(e) {
@@ -1751,13 +1751,13 @@ var Ar = (e) => {
1751
1751
  let n = Se(e.state, t.query.spec);
1752
1752
  n.valid && e.dispatch({ effects: Q.of(n) }), r.focus(), r.select();
1753
1753
  }
1754
- } else e.dispatch({ effects: [Ze.of(!0), t ? Q.of(Se(e.state, t.query.spec)) : ie.appendConfig.of(We)] });
1754
+ } else e.dispatch({ effects: [Ye.of(!0), t ? Q.of(Se(e.state, t.query.spec)) : ie.appendConfig.of(We)] });
1755
1755
  return !0;
1756
1756
  }, be = (e) => {
1757
1757
  let t = e.state.field(N, !1);
1758
1758
  if (!t || !t.panel) return !1;
1759
- let r = Rt(e, Xe);
1760
- return r && r.dom.contains(e.root.activeElement) && e.focus(), e.dispatch({ effects: Ze.of(!1) }), !0;
1759
+ let r = Rt(e, Ze);
1760
+ return r && r.dom.contains(e.root.activeElement) && e.focus(), e.dispatch({ effects: Ye.of(!1) }), !0;
1761
1761
  }, ql = [
1762
1762
  {
1763
1763
  key: "Mod-f",
@@ -1766,15 +1766,15 @@ var Ar = (e) => {
1766
1766
  },
1767
1767
  {
1768
1768
  key: "F3",
1769
- run: Y,
1770
- shift: Z,
1769
+ run: X,
1770
+ shift: Y,
1771
1771
  scope: "editor search-panel",
1772
1772
  preventDefault: !0
1773
1773
  },
1774
1774
  {
1775
1775
  key: "Mod-g",
1776
- run: Y,
1777
- shift: Z,
1776
+ run: X,
1777
+ shift: Y,
1778
1778
  scope: "editor search-panel",
1779
1779
  preventDefault: !0
1780
1780
  },
@@ -1851,8 +1851,8 @@ var Ar = (e) => {
1851
1851
  class: "cm-search"
1852
1852
  }, [
1853
1853
  this.searchField,
1854
- r("next", () => Y(e), [L(e, "next")]),
1855
- r("prev", () => Z(e), [L(e, "previous")]),
1854
+ r("next", () => X(e), [L(e, "next")]),
1855
+ r("prev", () => Y(e), [L(e, "previous")]),
1856
1856
  r("select", () => kr(e), [L(e, "all")]),
1857
1857
  D("label", null, [this.caseField, L(e, "match case")]),
1858
1858
  D("label", null, [this.reField, L(e, "regexp")]),
@@ -1872,7 +1872,7 @@ var Ar = (e) => {
1872
1872
  ]);
1873
1873
  }
1874
1874
  commit() {
1875
- let e = new Ye({
1875
+ let e = new Xe({
1876
1876
  search: this.searchField.value,
1877
1877
  caseSensitive: this.caseField.checked,
1878
1878
  regexp: this.reField.checked,
@@ -1882,7 +1882,7 @@ var Ar = (e) => {
1882
1882
  e.eq(this.query) || (this.query = e, this.view.dispatch({ effects: Q.of(e) }));
1883
1883
  }
1884
1884
  keydown(e) {
1885
- Ir(this.view, e, "search-panel") ? e.preventDefault() : e.keyCode == 13 && e.target == this.searchField ? (e.preventDefault(), (e.shiftKey ? Z : Y)(this.view)) : e.keyCode == 13 && e.target == this.replaceField && (e.preventDefault(), Ve(this.view));
1885
+ Ir(this.view, e, "search-panel") ? e.preventDefault() : e.keyCode == 13 && e.target == this.searchField ? (e.preventDefault(), (e.shiftKey ? Y : X)(this.view)) : e.keyCode == 13 && e.target == this.replaceField && (e.preventDefault(), Ve(this.view));
1886
1886
  }
1887
1887
  update(e) {
1888
1888
  for (let t of e.transactions) for (let r of t.effects) r.is(Q) && !r.value.eq(this.query) && this.setQuery(r.value);
@@ -1973,7 +1973,7 @@ var $l = /* @__PURE__ */ g.baseTheme({
1973
1973
  o
1974
1974
  ], () => {
1975
1975
  if (c) return;
1976
- const h = new Ye({
1976
+ const h = new Xe({
1977
1977
  search: r.value,
1978
1978
  replace: n.value,
1979
1979
  caseSensitive: l.value,
@@ -1983,11 +1983,11 @@ var $l = /* @__PURE__ */ g.baseTheme({
1983
1983
  h.eq(t.query) || t.view.dispatch({ effects: Q.of(h) });
1984
1984
  }, { flush: "sync" });
1985
1985
  function u(h) {
1986
- h.key === "Escape" ? (h.preventDefault(), be(t.view), t.view.focus()) : h.key === "Enter" && (h.preventDefault(), h.shiftKey ? Z(t.view) : Y(t.view));
1986
+ h.key === "Escape" ? (h.preventDefault(), be(t.view), t.view.focus()) : h.key === "Enter" && (h.preventDefault(), h.shiftKey ? Y(t.view) : X(t.view));
1987
1987
  }
1988
1988
  return (h, f) => {
1989
1989
  const v = Ot("tooltip");
1990
- return A(), T("div", {
1990
+ return A(), F("div", {
1991
1991
  class: "code-search-panel grid gap-025 p-05",
1992
1992
  style: {
1993
1993
  position: "absolute",
@@ -2070,14 +2070,14 @@ var $l = /* @__PURE__ */ g.baseTheme({
2070
2070
  flat: "",
2071
2071
  icon: "arrow_upward",
2072
2072
  "aria-label": "Previous match",
2073
- onClick: f[5] || (f[5] = (m) => V(Z)(e.view))
2073
+ onClick: f[5] || (f[5] = (m) => V(Y)(e.view))
2074
2074
  }, null, 512), [[v, "Previous match (Shift+Enter)"]]),
2075
2075
  M(B(C, {
2076
2076
  thin: "",
2077
2077
  flat: "",
2078
2078
  icon: "arrow_downward",
2079
2079
  "aria-label": "Next match",
2080
- onClick: f[6] || (f[6] = (m) => V(Y)(e.view))
2080
+ onClick: f[6] || (f[6] = (m) => V(X)(e.view))
2081
2081
  }, null, 512), [[v, "Next match (Enter)"]]),
2082
2082
  M(B(C, {
2083
2083
  thin: "",
@@ -2096,7 +2096,7 @@ var $l = /* @__PURE__ */ g.baseTheme({
2096
2096
  })
2097
2097
  }, null, 512), [[v, "Close (Escape)"]])
2098
2098
  ]),
2099
- !e.readonly && i.value ? (A(), T("div", {
2099
+ !e.readonly && i.value ? (A(), F("div", {
2100
2100
  key: 0,
2101
2101
  id: V(s),
2102
2102
  class: "code-replace-row flex align-items-center gap-025"
@@ -2128,7 +2128,7 @@ var $l = /* @__PURE__ */ g.baseTheme({
2128
2128
  onClick: f[11] || (f[11] = (m) => V(Sr)(e.view))
2129
2129
  }, null, 512), [[v, "Replace all"]])
2130
2130
  ], 8, Hl)) : P("", !0),
2131
- e.query.regexp && e.query.search.length > 0 && !e.query.valid ? (A(), T("span", Ul, "Invalid regular expression")) : P("", !0)
2131
+ e.query.regexp && e.query.search.length > 0 && !e.query.valid ? (A(), F("span", Ul, "Invalid regular expression")) : P("", !0)
2132
2132
  ], 32);
2133
2133
  };
2134
2134
  }
@@ -2188,10 +2188,10 @@ async function jl(e, t) {
2188
2188
  var Kl = {
2189
2189
  key: 0,
2190
2190
  class: "code-terminal-bar monospace flex flex-shrink-0 space-between gap-05 py-025 px-075 txt11 line-height-1 border-bottom"
2191
- }, Ql = { class: "flex gap-05 min-w-0" }, Yl = {
2191
+ }, Ql = { class: "flex gap-05 min-w-0" }, Xl = {
2192
2192
  key: 0,
2193
2193
  class: "opacity-5 ellipsis-1"
2194
- }, Zl = { class: "flex align-items-center gap-025 flex-shrink-0" }, Xl = {
2194
+ }, Yl = { class: "flex align-items-center gap-025 flex-shrink-0" }, Zl = {
2195
2195
  class: "opacity-5 px-05",
2196
2196
  "aria-label": "Code language"
2197
2197
  }, ea = {
@@ -2260,7 +2260,7 @@ var Kl = {
2260
2260
  s.value = "Could not copy. Check clipboard permissions and try again.";
2261
2261
  }
2262
2262
  }
2263
- const Mr = Yr().appContext, Lr = pr({
2263
+ const Mr = Xr().appContext, Lr = pr({
2264
2264
  theme: "light",
2265
2265
  settings: {
2266
2266
  background: "#fafafa",
@@ -2433,25 +2433,25 @@ var Kl = {
2433
2433
  r.terminal
2434
2434
  ], () => {
2435
2435
  k?.dispatch({ effects: z.reconfigure(at()) });
2436
- }), Xr(() => {
2436
+ }), Zr(() => {
2437
2437
  Be = !0, clearTimeout(c), k?.destroy(), k = void 0;
2438
2438
  }), (p, x) => {
2439
2439
  const O = Ot("tooltip");
2440
- return A(), T("div", { class: Zr(["structured-editor", {
2440
+ return A(), F("div", { class: Yr(["structured-editor", {
2441
2441
  terminal: e.terminal,
2442
2442
  "toolbar-hover": m.value,
2443
2443
  "toolbar-pinned": ue.value,
2444
2444
  "single-line": e.singleLine
2445
2445
  }]) }, [
2446
- e.terminal && ee.value ? (A(), T("div", Kl, [b("div", Ql, [x[0] || (x[0] = b("span", {
2446
+ e.terminal && ee.value ? (A(), F("div", Kl, [b("div", Ql, [x[0] || (x[0] = b("span", {
2447
2447
  class: "inline-flex gap-025 flex-shrink-0",
2448
2448
  "aria-hidden": "true"
2449
2449
  }, [
2450
2450
  b("span", { class: "square-10 round bg-red" }),
2451
2451
  b("span", { class: "square-10 round bg-yellow" }),
2452
2452
  b("span", { class: "square-10 round bg-green" })
2453
- ], -1)), e.title ? (A(), T("span", Yl, $(e.title), 1)) : P("", !0)]), b("div", Zl, [
2454
- b("span", Xl, $(h.value), 1),
2453
+ ], -1)), e.title ? (A(), F("span", Xl, $(e.title), 1)) : P("", !0)]), b("div", Yl, [
2454
+ b("span", Zl, $(h.value), 1),
2455
2455
  f.value ? M((A(), Ie(C, {
2456
2456
  key: 0,
2457
2457
  thin: "",
@@ -2472,8 +2472,8 @@ var Kl = {
2472
2472
  onClick: lt
2473
2473
  }, null, 8, ["icon", "aria-label"]), [[O, i.value ? "Copied!" : "Copy code"]]),
2474
2474
  b("span", ea, $(i.value ? "Copied to clipboard" : ""), 1)
2475
- ])])) : ee.value ? (A(), T("div", ta, [e.label && !m.value ? (A(), T("label", ra, $(e.label), 1)) : (A(), T("span", na, $(h.value), 1)), b("div", la, [
2476
- e.label && !m.value ? (A(), T("span", aa, $(h.value), 1)) : P("", !0),
2475
+ ])])) : ee.value ? (A(), F("div", ta, [e.label && !m.value ? (A(), F("label", ra, $(e.label), 1)) : (A(), F("span", na, $(h.value), 1)), b("div", la, [
2476
+ e.label && !m.value ? (A(), F("span", aa, $(h.value), 1)) : P("", !0),
2477
2477
  f.value ? M((A(), Ie(C, {
2478
2478
  key: 1,
2479
2479
  thin: "",
@@ -2495,7 +2495,7 @@ var Kl = {
2495
2495
  }, null, 8, ["icon", "aria-label"]), [[O, i.value ? "Copied!" : "Copy code"]]),
2496
2496
  b("span", oa, $(i.value ? "Copied to clipboard" : ""), 1)
2497
2497
  ])])) : P("", !0),
2498
- o.value || s.value ? (A(), T("span", ia, $(o.value || s.value), 1)) : P("", !0),
2498
+ o.value || s.value ? (A(), F("span", ia, $(o.value || s.value), 1)) : P("", !0),
2499
2499
  b("div", {
2500
2500
  ref_key: "host",
2501
2501
  ref: l,
@@ -1,16 +1,14 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- default?(_: {}): any;
1
+ declare const __VLS_template: () => {
2
+ __VLS_Slots: {
3
+ default?: (props: {}) => any;
5
4
  };
6
- refs: {};
7
- rootEl: HTMLDivElement;
8
5
  };
9
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
11
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
6
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
7
+ declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
8
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
9
+ declare const _default: typeof __VLS_export;
12
10
  export default _default;
13
- type __VLS_WithTemplateSlots<T, S> = T & {
11
+ type __VLS_WithSlots<T, S> = T & {
14
12
  new (): {
15
13
  $slots: S;
16
14
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Accordion.vue.d.ts","sourceRoot":"","sources":["../../src/components/Accordion.vue"],"names":[],"mappings":"AA2BA,iBAAS,cAAc;WAsBT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAOD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,0RAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"Accordion.vue.d.ts","sourceRoot":"","sources":["../../src/components/Accordion.vue"],"names":[],"mappings":"AAiCA,QAAA,MAAM,cAAc;;kBAON,CAAC,KAAK,IAAgB,KAAK,GAAG;;CAI3C,CAAC;AACF,KAAK,WAAW,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,aAAa,CAAC,CAAC;AAEpE,QAAA,MAAM,UAAU,+QACd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}