@vokril/ui-solid 0.28.0 → 0.31.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 (262) hide show
  1. package/CHANGELOG.md +81 -0
  2. package/README.md +48 -4
  3. package/dist/{AttributeGrid-eND8YDby.cjs → AttributeGrid-Ch1k9v5j.cjs} +1 -1
  4. package/dist/{AttributeGrid-CASILa4u.js → AttributeGrid-DqFd4gBm.js} +3 -3
  5. package/dist/Button-4meERfnv.js +300 -0
  6. package/dist/Button-OyZHrl-t.cjs +1 -0
  7. package/dist/CommandPalette-CxYZUJtN.cjs +2 -0
  8. package/dist/{CommandPalette-Cj618AOz.js → CommandPalette-DwOp8y1-.js} +1467 -1466
  9. package/dist/{CopyButton-B5gS2ft3.cjs → CopyButton-16QNPgz6.cjs} +1 -1
  10. package/dist/{CopyButton-g-WSiBDZ.js → CopyButton-BVS49lMS.js} +1 -1
  11. package/dist/{DateRangePicker-CJD9ADgB.js → DateRangePicker-8QvydugY.js} +4 -4
  12. package/dist/{DateRangePicker-Frc0HVxp.cjs → DateRangePicker-DI-06xWY.cjs} +1 -1
  13. package/dist/{GuidedTour-B6q7lYhn.cjs → GuidedTour-DUQwdW8n.cjs} +1 -1
  14. package/dist/{GuidedTour-CFCvRJN4.js → GuidedTour-DXMmHn0o.js} +2 -2
  15. package/dist/{HostPortal-CXGUUhP8.js → HostPortal-Ba3MD9CG.js} +1 -1
  16. package/dist/HostPortal-CpWsArs6.cjs +1 -0
  17. package/dist/{IconPicker-DYqNi5ud.js → IconPicker-D1G8HK92.js} +3 -3
  18. package/dist/{IconPicker-CIbJb1ei.cjs → IconPicker-Q-ZDtNkd.cjs} +1 -1
  19. package/dist/Input-Brp5EDhg.cjs +1 -0
  20. package/dist/Input-CZi8KEfm.js +374 -0
  21. package/dist/Modal-CBi7Wd2V.cjs +1 -0
  22. package/dist/Modal-iyY1HUtr.js +588 -0
  23. package/dist/{PageSkeleton-BPbb28-H.cjs → PageSkeleton-B_-4fz1q.cjs} +1 -1
  24. package/dist/{PageSkeleton-CLnJO6uD.js → PageSkeleton-zNyjLPlk.js} +3 -3
  25. package/dist/{Popover-Cttb6NYT.js → Popover-DVi179wu.js} +4 -3
  26. package/dist/Popover-DXrczbt9.cjs +1 -0
  27. package/dist/{SearchableSelect-BvCm4enQ.js → SearchableSelect-DtHbWJhR.js} +34 -33
  28. package/dist/SearchableSelect-yLVqCGFo.cjs +1 -0
  29. package/dist/StatusBarNotificationBell-DQs5g1K6.cjs +50 -0
  30. package/dist/{StatusBarNotificationBell-yryWdwyX.js → StatusBarNotificationBell-ZTEhZFmJ.js} +4980 -4678
  31. package/dist/{Stepper-D9i1Xclm.js → Stepper-CyRgzWlR.js} +1 -1
  32. package/dist/{Stepper-Ci5JpLbS.cjs → Stepper-u2ZsE5oP.cjs} +1 -1
  33. package/dist/{Textarea-CeAGf08O.cjs → Textarea-DASNQNoi.cjs} +1 -1
  34. package/dist/{Textarea-B5QqqKnI.js → Textarea-szHXQahi.js} +1 -1
  35. package/dist/{TimeSeriesChart-DOwi2lJs.js → TimeSeriesChart-D7lIqolp.js} +1 -1
  36. package/dist/{TimeSeriesChart-huvheefm.cjs → TimeSeriesChart-DGzM9B--.cjs} +1 -1
  37. package/dist/{ToggleButton-CFM8P3JY.js → ToggleButton-B22PsCqo.js} +61 -60
  38. package/dist/ToggleButton-DWslrIBN.cjs +1 -0
  39. package/dist/_internal/contract/notification.d.cts +13 -3
  40. package/dist/_internal/contract/notification.d.ts +13 -3
  41. package/dist/_internal/contract/notificationCatalog.d.cts +2 -0
  42. package/dist/_internal/contract/notificationCatalog.d.ts +2 -0
  43. package/dist/_internal/platform/settings/settingsTypes.d.cts +0 -8
  44. package/dist/_internal/platform/settings/settingsTypes.d.ts +0 -8
  45. package/dist/anchoredLayout-CBjQ1etD.cjs +1 -0
  46. package/dist/anchoredLayout-E0mqCWxk.js +233 -0
  47. package/dist/appThemeDerivation-BylmT80v.cjs +1 -0
  48. package/dist/{appThemeDerivation-CKoSe4KP.js → appThemeDerivation-DBAOkGl7.js} +260 -231
  49. package/dist/base.css +2 -2
  50. package/dist/charts/index.cjs +1 -1
  51. package/dist/charts/index.js +1 -1
  52. package/dist/context/DesktopContextMenuContext.d.cts +8 -1
  53. package/dist/context/DesktopContextMenuContext.d.ts +8 -1
  54. package/dist/createDialogShellFocus-CQ0VNC2g.cjs +1 -0
  55. package/dist/{createDialogShellFocus-B4piXDU4.js → createDialogShellFocus-DbiQmLgb.js} +9 -9
  56. package/dist/createResizableSidebar-COlpGQ7H.cjs +1 -0
  57. package/dist/createResizableSidebar-cmCKTIg_.js +504 -0
  58. package/dist/desktop/index.cjs +1 -1
  59. package/dist/desktop/index.js +3 -3
  60. package/dist/dialogFocusRestore-BhxVTSiP.js +10 -0
  61. package/dist/dialogFocusRestore-DP5b1bDo.cjs +1 -0
  62. package/dist/feedback/index.cjs +1 -1
  63. package/dist/feedback/index.js +3 -3
  64. package/dist/forms/Input.d.cts +20 -0
  65. package/dist/forms/Input.d.ts +20 -0
  66. package/dist/forms/InputMessage.d.cts +19 -0
  67. package/dist/forms/InputMessage.d.ts +19 -0
  68. package/dist/forms/index.cjs +1 -1
  69. package/dist/forms/index.js +9 -9
  70. package/dist/grid/index.cjs +1 -1
  71. package/dist/grid/index.js +1 -1
  72. package/dist/index.cjs +1 -1
  73. package/dist/index.js +516 -509
  74. package/dist/layout/index.cjs +1 -1
  75. package/dist/layout/index.js +2 -2
  76. package/dist/layout/resizeCarry.d.cts +17 -0
  77. package/dist/layout/resizeCarry.d.ts +17 -0
  78. package/dist/mainRealmDom-B215swW-.js +166 -0
  79. package/dist/mainRealmDom-BYGSE-fo.cjs +1 -0
  80. package/dist/nativeTitleHold-A9jUISgQ.js +170 -0
  81. package/dist/nativeTitleHold-B7Ou-W9b.cjs +1 -0
  82. package/dist/navigation/index.cjs +1 -1
  83. package/dist/navigation/index.js +1 -1
  84. package/dist/notifications/NotificationItem.d.cts +12 -3
  85. package/dist/notifications/NotificationItem.d.ts +12 -3
  86. package/dist/notifications/NotificationsCenter.d.cts +18 -0
  87. package/dist/notifications/NotificationsCenter.d.ts +18 -0
  88. package/dist/notifications/RunningProgressCards.d.cts +3 -0
  89. package/dist/notifications/RunningProgressCards.d.ts +3 -0
  90. package/dist/notifications/StatusBarNotificationBell.d.cts +18 -6
  91. package/dist/notifications/StatusBarNotificationBell.d.ts +18 -6
  92. package/dist/notifications/dismissableToastIds.d.cts +2 -1
  93. package/dist/notifications/dismissableToastIds.d.ts +2 -1
  94. package/dist/notifications/fireNotification.d.cts +35 -16
  95. package/dist/notifications/fireNotification.d.ts +35 -16
  96. package/dist/notifications/index.cjs +1 -1
  97. package/dist/notifications/index.d.cts +1 -0
  98. package/dist/notifications/index.d.ts +1 -0
  99. package/dist/notifications/index.js +56 -52
  100. package/dist/notifications/nativeEngine.d.cts +54 -16
  101. package/dist/notifications/nativeEngine.d.ts +54 -16
  102. package/dist/notifications/notificationCardServices.d.cts +2 -1
  103. package/dist/notifications/notificationCardServices.d.ts +2 -1
  104. package/dist/notifications/notificationCommands.d.cts +3 -3
  105. package/dist/notifications/notificationCommands.d.ts +3 -3
  106. package/dist/notifications/notificationEntryList.d.cts +91 -0
  107. package/dist/notifications/notificationEntryList.d.ts +91 -0
  108. package/dist/notifications/notificationService.d.cts +33 -3
  109. package/dist/notifications/notificationService.d.ts +33 -3
  110. package/dist/notifications/toast.d.cts +3 -0
  111. package/dist/notifications/toast.d.ts +3 -0
  112. package/dist/notifications/toastCorner.d.cts +8 -0
  113. package/dist/notifications/toastCorner.d.ts +8 -0
  114. package/dist/notifications/toastFilterPolicy.d.cts +33 -1
  115. package/dist/notifications/toastFilterPolicy.d.ts +33 -1
  116. package/dist/overlay/Modal.d.cts +6 -0
  117. package/dist/overlay/Modal.d.ts +6 -0
  118. package/dist/overlay/backgroundInert.d.cts +6 -2
  119. package/dist/overlay/backgroundInert.d.ts +6 -2
  120. package/dist/overlay/command-palette/CommandPalette.d.cts +12 -0
  121. package/dist/overlay/command-palette/CommandPalette.d.ts +12 -0
  122. package/dist/overlay/index.cjs +1 -1
  123. package/dist/overlay/index.js +70 -68
  124. package/dist/overlay/nativeTitleHold.d.cts +24 -0
  125. package/dist/overlay/nativeTitleHold.d.ts +24 -0
  126. package/dist/ownerAnimationFrame-DzFcMSmn.js +19 -0
  127. package/dist/ownerAnimationFrame-T6jf6qYC.cjs +1 -0
  128. package/dist/server/{AttributeGrid-CMi-UtWb.js → AttributeGrid-Bpjlauuz.js} +2 -2
  129. package/dist/server/{AttributeGrid-B7sb3btp.cjs → AttributeGrid-DNYdKb8J.cjs} +1 -1
  130. package/dist/server/CommandPalette-BuVxnqBG.cjs +1 -0
  131. package/dist/server/{CommandPalette-CozogFlk.js → CommandPalette-Dn3NKXPM.js} +1095 -1069
  132. package/dist/server/{DateRangePicker-KLZzyuPJ.cjs → DateRangePicker-BFzNjaME.cjs} +1 -1
  133. package/dist/server/{DateRangePicker-C35q8BTw.js → DateRangePicker-CnYkTgXX.js} +3 -3
  134. package/dist/server/{GuidedTour-DmLbBttx.js → GuidedTour-BZardPYW.js} +1 -1
  135. package/dist/server/{GuidedTour-DfV0yzqh.cjs → GuidedTour-yhdZk2SU.cjs} +1 -1
  136. package/dist/server/{HostPortal-CXGUUhP8.js → HostPortal-C4IrAeWN.js} +1 -1
  137. package/dist/server/HostPortal-D5ECrJvn.cjs +1 -0
  138. package/dist/server/{IconPicker-B1soopAp.cjs → IconPicker-C5lAN9pX.cjs} +1 -1
  139. package/dist/server/{IconPicker-B4aXspLw.js → IconPicker-DDWgB7sm.js} +3 -3
  140. package/dist/server/Input-AdF-i0O8.js +245 -0
  141. package/dist/server/Input-XF9Jr0G9.cjs +1 -0
  142. package/dist/server/{Modal-BheFQLs1.js → Modal-C5dzgcRW.js} +102 -97
  143. package/dist/server/{Modal-BswxV8Pn.cjs → Modal-nAhBS1L9.cjs} +1 -1
  144. package/dist/server/Popover-C5avmGWz.cjs +1 -0
  145. package/dist/server/{Popover-Cg28aPUZ.js → Popover-H3AAYZI0.js} +57 -57
  146. package/dist/server/{SearchableSelect-09ECcDlB.cjs → SearchableSelect-CZrXDKfC.cjs} +1 -1
  147. package/dist/server/{SearchableSelect-vjhS4c-H.js → SearchableSelect-DMqed5Er.js} +1 -1
  148. package/dist/server/StatusBarNotificationBell-CGcMdT4h.cjs +49 -0
  149. package/dist/server/{StatusBarNotificationBell-DdAdsduo.js → StatusBarNotificationBell-DW2l5O9B.js} +4812 -4520
  150. package/dist/server/{Stepper-DxNrskdq.cjs → Stepper-CpapA_WH.cjs} +1 -1
  151. package/dist/server/{Stepper-n5f9r-ye.js → Stepper-gGA7JwjV.js} +1 -1
  152. package/dist/server/{Textarea-BQf2lL59.cjs → Textarea-Bh5LVrBn.cjs} +1 -1
  153. package/dist/server/{Textarea-BTH48NET.js → Textarea-DVkfGkP0.js} +1 -1
  154. package/dist/server/{ToggleButton-TE3Xf2yD.cjs → ToggleButton-CA9T-OsI.cjs} +1 -1
  155. package/dist/server/{ToggleButton-FywO2CCI.js → ToggleButton-CBNKajZa.js} +4 -4
  156. package/dist/server/{VpTrash-Dlq8o6Uv.js → VpTrash-CZMWCIpF.js} +84 -70
  157. package/dist/server/VpTrash-DiczWhwm.cjs +1 -0
  158. package/dist/server/appThemeDerivation-BylmT80v.cjs +1 -0
  159. package/dist/server/{appThemeDerivation-CKoSe4KP.js → appThemeDerivation-DBAOkGl7.js} +260 -231
  160. package/dist/server/{createDialogShellFocus-BiBAZOCI.cjs → createDialogShellFocus-CDaLuPg8.cjs} +1 -1
  161. package/dist/server/{createDialogShellFocus-BFo8awdj.js → createDialogShellFocus-LGDBOVnr.js} +6 -6
  162. package/dist/server/{createResizableSidebar-BImbKlLe.js → createResizableSidebar-Dvu7iEk1.js} +1 -1
  163. package/dist/server/{createResizableSidebar-GFgZIj-5.cjs → createResizableSidebar-v40ZOb-Q.cjs} +1 -1
  164. package/dist/server/desktop/index.cjs +1 -1
  165. package/dist/server/desktop/index.js +3 -3
  166. package/dist/server/dialogFocusRestore-BhxVTSiP.js +10 -0
  167. package/dist/server/dialogFocusRestore-DP5b1bDo.cjs +1 -0
  168. package/dist/server/forms/index.cjs +1 -1
  169. package/dist/server/forms/index.js +7 -7
  170. package/dist/server/grid/index.cjs +1 -1
  171. package/dist/server/grid/index.js +1 -1
  172. package/dist/server/{index-UIjsx3oJ.js → index-BEARfm54.js} +3604 -3617
  173. package/dist/server/index-C6rYfWCJ.cjs +1 -0
  174. package/dist/server/index.cjs +1 -1
  175. package/dist/server/index.js +478 -472
  176. package/dist/server/layout/index.cjs +1 -1
  177. package/dist/server/layout/index.js +2 -2
  178. package/dist/server/navigation/index.cjs +1 -1
  179. package/dist/server/navigation/index.js +1 -1
  180. package/dist/server/notifications/index.cjs +1 -1
  181. package/dist/server/notifications/index.js +56 -52
  182. package/dist/server/overlay/index.cjs +1 -1
  183. package/dist/server/overlay/index.js +54 -53
  184. package/dist/server/tokens/index.cjs +1 -1
  185. package/dist/server/tokens/index.js +30 -28
  186. package/dist/solid/feedback/Badge.jsx +3 -14
  187. package/dist/solid/forms/Button.jsx +3 -14
  188. package/dist/solid/forms/Input.jsx +31 -5
  189. package/dist/solid/forms/Input.module.css.js +1 -0
  190. package/dist/solid/forms/InputMessage.jsx +86 -0
  191. package/dist/solid/forms/PressableSurface.jsx +3 -14
  192. package/dist/solid/layout/ResizeHandle.jsx +11 -1
  193. package/dist/solid/layout/resizeCarry.js +31 -0
  194. package/dist/solid/notifications/NotificationHost.jsx +6 -29
  195. package/dist/solid/notifications/NotificationItem.jsx +5 -5
  196. package/dist/solid/notifications/NotificationPanel.jsx +14 -4
  197. package/dist/solid/notifications/NotificationsCenter.jsx +70 -12
  198. package/dist/solid/notifications/RunningProgressCards.jsx +1 -1
  199. package/dist/solid/notifications/StatusBarNotificationBell.jsx +21 -19
  200. package/dist/solid/notifications/catalogAdapter.js +1 -0
  201. package/dist/solid/notifications/fireNotification.js +21 -16
  202. package/dist/solid/notifications/index.js +1 -0
  203. package/dist/solid/notifications/nativeEngine.js +51 -11
  204. package/dist/solid/notifications/notificationEntryList.js +168 -0
  205. package/dist/solid/notifications/notificationService.js +22 -4
  206. package/dist/solid/notifications/toast.js +54 -7
  207. package/dist/solid/notifications/toastCorner.js +3 -0
  208. package/dist/solid/notifications/toastFilterPolicy.js +12 -0
  209. package/dist/solid/overlay/Drawer.jsx +2 -1
  210. package/dist/solid/overlay/Modal.jsx +42 -4
  211. package/dist/solid/overlay/command-palette/CommandPalette.jsx +4 -4
  212. package/dist/solid/overlay/context-menu/DesktopContextMenu.jsx +8 -7
  213. package/dist/solid/overlay/nativeTitleHold.js +33 -0
  214. package/dist/solid/overlay/tooltipDirective.js +3 -11
  215. package/dist/solid/tokens/index.js +1 -0
  216. package/dist/solid/tokens/palette/paletteContract.js +27 -0
  217. package/dist/style.css +2 -2
  218. package/dist/theme.css +1 -1
  219. package/dist/tokens/index.cjs +1 -1
  220. package/dist/tokens/index.d.cts +1 -0
  221. package/dist/tokens/index.d.ts +1 -0
  222. package/dist/tokens/index.js +30 -28
  223. package/dist/tokens/palette/paletteContract.d.cts +17 -0
  224. package/dist/tokens/palette/paletteContract.d.ts +17 -0
  225. package/dist/tokens/tokens.css +1 -1
  226. package/dist/ui.css +1 -1
  227. package/package.json +1 -1
  228. package/dist/Button-Bb68ymNP.cjs +0 -1
  229. package/dist/Button-D-T0tyGF.js +0 -305
  230. package/dist/CommandPalette-5FQRgPG9.cjs +0 -2
  231. package/dist/HostPortal-CgJwxt-f.cjs +0 -1
  232. package/dist/Input-CZruORyy.cjs +0 -1
  233. package/dist/Input-DkPhsdfk.js +0 -227
  234. package/dist/Modal-CY6ePolt.cjs +0 -1
  235. package/dist/Modal-NzZzHSwb.js +0 -559
  236. package/dist/Popover-CWrR51eG.cjs +0 -1
  237. package/dist/SearchableSelect-CVqdVMOC.cjs +0 -1
  238. package/dist/StatusBarNotificationBell-CJ3HuhRu.cjs +0 -50
  239. package/dist/ToggleButton-BFWh1_o5.cjs +0 -1
  240. package/dist/anchoredLayout-Dstwa5OH.cjs +0 -1
  241. package/dist/anchoredLayout-FC-qv8xm.js +0 -250
  242. package/dist/appThemeDerivation-Be_oKljl.cjs +0 -1
  243. package/dist/createDialogShellFocus-CJaw9-B9.cjs +0 -1
  244. package/dist/createResizableSidebar-BDUlX9-G.js +0 -472
  245. package/dist/createResizableSidebar-BVJBU2kP.cjs +0 -1
  246. package/dist/dialogFocusRestore--dH59ER2.js +0 -35
  247. package/dist/dialogFocusRestore-CL-ExfAA.cjs +0 -1
  248. package/dist/mainRealmDom-C12lr9lm.js +0 -171
  249. package/dist/mainRealmDom-S6teqEr4.cjs +0 -1
  250. package/dist/server/CommandPalette-DQK6N98N.cjs +0 -1
  251. package/dist/server/HostPortal-CgJwxt-f.cjs +0 -1
  252. package/dist/server/Input-CjvD8w18.cjs +0 -1
  253. package/dist/server/Input-DaEN2JJd.js +0 -127
  254. package/dist/server/Popover-BsxIKBbl.cjs +0 -1
  255. package/dist/server/StatusBarNotificationBell-Z2LmIkM1.cjs +0 -49
  256. package/dist/server/VpTrash-D49oUUJh.cjs +0 -1
  257. package/dist/server/appThemeDerivation-Be_oKljl.cjs +0 -1
  258. package/dist/server/dialogFocusRestore--dH59ER2.js +0 -35
  259. package/dist/server/dialogFocusRestore-CL-ExfAA.cjs +0 -1
  260. package/dist/server/index-2mQPVEDR.cjs +0 -1
  261. package/dist/tooltipCoordinator-BzxEyKhA.js +0 -144
  262. package/dist/tooltipCoordinator-DslqMlsI.cjs +0 -1
@@ -1 +0,0 @@
1
- "use strict";const e=require("solid-js/web"),o=require("./base-CrwDbIhF.cjs");var r='<path d="M6 3v4M5 7h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1m1 4v10m6-18v12m-1 0h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1m1 4v2m6-18v3m-1 0h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1m1 4v11"></path>';const t=o.createIcon({name:"VpAdjustments",a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:()=>e.ssr(r)});var n='<path d="m5 16 2-2V9a5 5 0 0 1 10 0v5l2 2zm5 4h4"></path>';const a=o.createIcon({name:"VpBell",a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:()=>e.ssr(n)});var l='<path d="M10.052 4.395A5 5 0 0 1 17 9m0 0v2.343M10.343 16H5m0 0 2-2m0 0v-1.343M10 20h4M3 3l18 18"></path>';const s=o.createIcon({name:"VpBellOff",a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:()=>e.ssr(l)});var i='<path d="m5 16 2-2V9a5 5 0 0 1 10 0v5l2 2zm5 4h4M3 9a9 9 0 0 1 2.106-5.785m13.788 0A9 9 0 0 1 21 9"></path>';const c=o.createIcon({name:"VpBellRinging",a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:()=>e.ssr(i)});var p='<path d="M12 20V7L3 5v13zl9-2V5l-9 2"></path>';const k=o.createIcon({name:"VpBook",a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:()=>e.ssr(p)});var h='<path d="M3 12a9 9 0 1 0 18 0 9 9 0 1 0-18 0m4 .5 3 3 6-6"></path>';const d=o.createIcon({name:"VpCircleCheck",a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:()=>e.ssr(h)});var m='<path d="M3 12a9 9 0 1 0 18 0 9 9 0 1 0-18 0m5.5-3.5 7 7m0-7-7 7"></path>';const v=o.createIcon({name:"VpCircleX",a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:()=>e.ssr(m)});var u='<path d="M7 19a4 4 0 1 1 .084-7.999 6 6 0 0 1 11.897.524A4 4 0 0 1 17 19z"></path>';const V=o.createIcon({name:"VpCloud",a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:()=>e.ssr(u)});var w='<path d="M4 5.5a8 2.5 0 1 0 16 0 8 2.5 0 1 0-16 0m0 0v13a8 2.5 0 0 0 16 0v-13M4 9.833a8 2.5 0 0 0 16 0M4 14.167a8 2.5 0 0 0 16 0"></path>';const $=o.createIcon({name:"VpDatabase",a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:()=>e.ssr(w)});var C='<path d="M3 4h18l-7 7v9h-4v-9z"></path>';const M=o.createIcon({name:"VpFilter",a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:()=>e.ssr(C)});var B='<path d="m10.473 5.169-.02-2.035h3.094l-.02 2.035 2.224.921 1.424-1.453 2.188 2.188-1.453 1.424.921 2.224 2.035-.02v3.094l-2.035-.02-.921 2.224 1.453 1.424-2.188 2.188-1.424-1.453-2.224.921.02 2.035h-3.094l.02-2.035-2.224-.921-1.424 1.453-2.188-2.188 1.453-1.424-.921-2.224-2.035.02v-3.094l2.035.02.921-2.224-1.453-1.424 2.188-2.188L8.249 6.09zM9 12a3 3 0 1 0 6 0 3 3 0 1 0-6 0"></path>';const f=o.createIcon({name:"VpSettings",a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:()=>e.ssr(B)});var j='<path d="M4.5 6a2.5 2.5 0 1 0 5 0 2.5 2.5 0 1 0-5 0m0 12a2.5 2.5 0 1 0 5 0 2.5 2.5 0 1 0-5 0m10-2a2.5 2.5 0 1 0 5 0 2.5 2.5 0 1 0-5 0M7 8.5v7m1.768-7.732 6.464 6.464"></path>';const I=o.createIcon({name:"VpGitMerge",a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:()=>e.ssr(j)});var x='<path d="M3 12a9 9 0 1 0 18 0 9 9 0 1 0-18 0m9-5h.01M12 11v5"></path>';const _=o.createIcon({name:"VpInfoCircle",a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:()=>e.ssr(x)});var g='<path d="M4 16a4 4 0 1 0 8 0 4 4 0 1 0-8 0m6.83-2.83L19 5m-4 4 2 2m.5-4.5L19 8"></path>';const z=o.createIcon({name:"VpKey",a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:()=>e.ssr(g)});var L='<path d="M6 10h12a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-6a2 2 0 0 1 2-2m2 0V8a4 4 0 0 1 8 0v2m-4 4v2"></path>';const b=o.createIcon({name:"VpLock",a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:()=>e.ssr(L)});var A='<path d="m3 10 9-6.5 9 6.5v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2zm0 0 9 6 9-6"></path>';const H=o.createIcon({name:"VpMailOpened",a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:()=>e.ssr(A)});var O='<path d="M9 3v4m6-4v4M6 7h12v4l-4 4h-4l-4-4zm6 8v6"></path>';const R=o.createIcon({name:"VpPlug",a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:()=>e.ssr(O)});var S='<path d="m5.697 13.354 4.949-4.95c2.475-2.475 5.657-2.829 7.425-2.475.354 1.768 0 4.95-2.475 7.425l-4.95 4.949zm2.828-2.829-5.303.354 2.475 2.475m7.778 2.121-.354 5.303-2.475-2.475m-4.949 0-1.415 1.415m8.839-8.839h.01"></path>';const T=o.createIcon({name:"VpRocket",a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:()=>e.ssr(S)});var q='<path d="M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2m2 9.5 3.5 3.5L17 9.5"></path>';const y=o.createIcon({name:"VpSquareCheck",a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:()=>e.ssr(q)});var D='<path d="M5 4h14a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2m2 4.5h5M7 12l2.5 2.5L7 17m5 0h4"></path>';const F=o.createIcon({name:"VpTerminal",a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:()=>e.ssr(D)});var G='<path d="M3 7h18M9 7V4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v3m-9 4v8a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-8m-8 3v3m4-3v3"></path>';const K=o.createIcon({name:"VpTrash",a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:()=>e.ssr(G)});exports.VpAdjustments=t;exports.VpBell=a;exports.VpBellOff=s;exports.VpBellRinging=c;exports.VpBook=k;exports.VpCircleCheck=d;exports.VpCircleX=v;exports.VpCloud=V;exports.VpDatabase=$;exports.VpFilter=M;exports.VpGitMerge=I;exports.VpInfoCircle=_;exports.VpKey=z;exports.VpLock=b;exports.VpMailOpened=H;exports.VpPlug=R;exports.VpRocket=T;exports.VpSettings=f;exports.VpSquareCheck=y;exports.VpTerminal=F;exports.VpTrash=K;
@@ -1 +0,0 @@
1
- "use strict";const ee=require("solid-js/web"),y=require("solid-js"),ne=require("./bugIndicatingError-D2X5Hfgg.cjs"),S=[{id:"viper-dark",label:"Viper Dark",type:"dark",design:"viper",palette:{surface:"#212329",surfaceAlt:"#181A1F",surfaceElevated:"#2D2F35",brand:"#808AE5",brandHover:"#707AD0",content:"#EBEDF0",contentSecondary:"#C7C9CE",border:"#2D2F35",input:"#181A1F",inputBorder:"#2D2F35",success:"#4FB772",error:"#E05D5A",warning:"#F0A945",info:"#55A8DB",syntaxKeyword:"#BC97E8",syntaxString:"#92C487",syntaxFunction:"#F0C77C",syntaxNumber:"#6FBCE3",syntaxType:"#76CDC5",syntaxComment:"#8F939F"}},{id:"viper-light",label:"Viper Light",type:"light",design:"viper",palette:{surface:"#FFFFFF",surfaceAlt:"#F3F4F8",surfaceElevated:"#FFFFFF",brand:"#5355D0",brandHover:"#4545B6",content:"#1C1E24",contentSecondary:"#5F636F",border:"#DFE1E7",input:"#FFFFFF",inputBorder:"#D0D2D9",success:"#048A45",error:"#C72C34",warning:"#C27400",info:"#007AB0",syntaxKeyword:"#7D3AB7",syntaxString:"#357426",syntaxFunction:"#895709",syntaxNumber:"#006A9D",syntaxType:"#007973",syntaxComment:"#696D79"}},{id:"vokril-dark",label:"Vokril Dark",type:"dark",design:"vokril",palette:{surface:"#121018",surfaceAlt:"#1C1925",surfaceElevated:"#121018",brand:"#8C75F2",brandHover:"#A593F6",content:"#F0EDF7",contentSecondary:"#A8A1B8",border:"#2C2838",input:"#1C1925",inputBorder:"#2C2838",success:"#4FB772",error:"#FF8A80",warning:"#F0A945",info:"#55A8DB",syntaxKeyword:"#BC97E8",syntaxString:"#92C487",syntaxFunction:"#F0C77C",syntaxNumber:"#6FBCE3",syntaxType:"#76CDC5",syntaxComment:"#8F939F"}},{id:"vokril-light",label:"Vokril Light",type:"light",design:"vokril",palette:{surface:"#FFFFFF",surfaceAlt:"#F3F1F7",surfaceElevated:"#FFFFFF",brand:"#593BD8",brandHover:"#4227B4",content:"#24212D",contentSecondary:"#5E596B",border:"#DEDBE5",input:"#FFFFFF",inputBorder:"#DEDBE5",success:"#048A45",error:"#B42318",warning:"#C27400",info:"#007AB0",syntaxKeyword:"#7D3AB7",syntaxString:"#357426",syntaxFunction:"#895709",syntaxNumber:"#006A9D",syntaxType:"#007973",syntaxComment:"#696D79"}},{id:"high-contrast-dark",label:"High Contrast Dark",type:"dark",palette:{surface:"#000000",surfaceAlt:"#000000",surfaceElevated:"#121212",brand:"#66B2FF",brandHover:"#99CCFF",content:"#FFFFFF",contentSecondary:"#E6E6E6",border:"#FFFFFF",input:"#000000",inputBorder:"#FFFFFF",success:"#57E389",error:"#FF7B72",warning:"#F0B429",info:"#66B2FF",syntaxKeyword:"#FF9999",syntaxString:"#99E699",syntaxFunction:"#FFE066",syntaxNumber:"#99CCFF",syntaxType:"#FFCC80",syntaxComment:"#B0B0B0"}},{id:"high-contrast-light",label:"High Contrast Light",type:"light",palette:{surface:"#FFFFFF",surfaceAlt:"#FFFFFF",surfaceElevated:"#FFFFFF",brand:"#0047BA",brandHover:"#003080",content:"#000000",contentSecondary:"#262626",border:"#000000",input:"#FFFFFF",inputBorder:"#000000",success:"#006622",error:"#B30000",warning:"#8C4600",info:"#0047BA",syntaxKeyword:"#8C0000",syntaxString:"#005C1F",syntaxFunction:"#4D2600",syntaxNumber:"#0047BA",syntaxType:"#0047BA",syntaxComment:"#404040"}}],$={viper:{dark:"viper-dark",light:"viper-light"},vokril:{dark:"vokril-dark",light:"vokril-light"}},re="viper-dark",te={darcula:"viper-dark",light:"viper-light"},oe=e=>te[e]??e;let _="viper";function Te(e){if(!Object.prototype.hasOwnProperty.call($,e))throw new Error(`Unknown theme design: ${String(e)}`);_=e}function Ae(){return _}function b(e="dark"){return $[_][e]}const v=[];function ve(e){return v.push(e),{dispose:()=>{const n=v.indexOf(e);n!==-1&&v.splice(n,1)}}}function ce(e){for(const n of v){const r=n.byId(e);if(r!==null)return r}return null}const se=e=>e.design===void 0||e.design===_,w=e=>S.find(n=>n.id===e);function T(e){const n=oe(e),r=w(n);return r&&!se(r)?w(b(r.type)):r??ce(n)??w(b())}function ie(){return[...S.filter(se),...v.flatMap(e=>e.options())]}function Se(e){const n=oe(e);return w(n)!==void 0||ce(n)!==null}const D=4.5,Ce=3;function Be(e){const n=e.trim().replace(/^#/,""),r=n.length===3?n.split("").map(t=>t+t).join(""):n;return r.length!==6||/[^0-9a-fA-F]/.test(r)?null:{r:Number.parseInt(r.slice(0,2),16),g:Number.parseInt(r.slice(2,4),16),b:Number.parseInt(r.slice(4,6),16)}}function we({r:e,g:n,b:r}){const t=o=>Math.max(0,Math.min(255,Math.round(o))).toString(16).padStart(2,"0");return`#${t(e)}${t(n)}${t(r)}`}function P(e){const n=Be(e);if(!n)throw new ne.BugIndicatingError(`contrast: expected #rgb/#rrggbb, got ${JSON.stringify(e)}. Resolve var()/transparent/color-mix to a literal hex before measuring.`);return n}function L(e){const n=e/255;return n<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function C(e){const{r:n,g:r,b:t}=P(e);return .2126*L(n)+.7152*L(r)+.0722*L(t)}function h(e,n){const r=C(e),t=C(n),[o,c]=r>t?[r,t]:[t,r];return(o+.05)/(c+.05)}function Ie(e,n,r){const t=P(e),o=P(n),c=Math.max(0,Math.min(1,r));return we({r:t.r+(o.r-t.r)*(1-c),g:t.g+(o.g-t.g)*(1-c),b:t.b+(o.b-t.b)*(1-c)})}function x(e,n){return e+1e-9>=n}function De(e){const n=C(e);return 116*(n>(6/29)**3?Math.cbrt(n):n/(3*(6/29)**2)+4/29)-16}const N=e=>{const n=e/255;return n<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)},_e=e=>(e<=.0031308?12.92*e:1.055*Math.pow(e,.4166666666666667)-.055)*255;function Me(e){const n=e.trim().replace(/^#/,""),r=n.length===3?n.split("").map(t=>t+t).join(""):n;if(r.length!==6||/[^0-9a-fA-F]/.test(r))throw new ne.BugIndicatingError(`oklch: expected #rgb/#rrggbb, got ${JSON.stringify(e)}`);return{r:Number.parseInt(r.slice(0,2),16),g:Number.parseInt(r.slice(2,4),16),b:Number.parseInt(r.slice(4,6),16)}}function Le(e){const{r:n,g:r,b:t}=Me(e),o=N(n),c=N(r),s=N(t),u=Math.cbrt(.4122214708*o+.5363325363*c+.0514459929*s),i=Math.cbrt(.2119034982*o+.6806995451*c+.1073969566*s),d=Math.cbrt(.0883024619*o+.2817188376*c+.6299787005*s),f=.2104542553*u+.793617785*i-.0040720468*d,m=1.9779984951*u-2.428592205*i+.4505937099*d,l=.0259040371*u+.7827717662*i-.808675766*d,g=Math.atan2(l,m)*180/Math.PI;return{l:f,c:Math.hypot(m,l),h:g<0?g+360:g}}function H({l:e,c:n,h:r}){const t=r*Math.PI/180,o=n*Math.cos(t),c=n*Math.sin(t),s=(e+.3963377774*o+.2158037573*c)**3,u=(e-.1055613458*o-.0638541728*c)**3,i=(e-.0894841775*o-1.291485548*c)**3;return{r:4.0767416621*s-3.3077115913*u+.2309699292*i,g:-1.2684380046*s+2.6097574011*u-.3413193965*i,b:-.0041960863*s-.7034186147*u+1.707614701*i}}const k=1e-4,X=({r:e,g:n,b:r})=>e>=-k&&e<=1+k&&n>=-k&&n<=1+k&&r>=-k&&r<=1+k;function Ne({l:e,c:n,h:r}){if(X(H({l:e,c:n,h:r})))return n;let t=0,o=n;for(let c=0;c<24;c++){const s=(t+o)/2;X(H({l:e,c:s,h:r}))?t=s:o=s}return t}function O(e){const n=Ne(e),r=H({...e,c:n}),t=o=>Math.max(0,Math.min(255,Math.round(_e(o)))).toString(16).padStart(2,"0");return`#${t(r.r)}${t(r.g)}${t(r.b)}`}function Y(e,n,r,t){const o=Le(e),c=t==="lighter"?1:0,s=O({...o,l:c});if(!x(h(s,n),r))return s;let u=o.l,i=c;for(let d=0;d<24;d++){const f=(u+i)/2;x(h(O({...o,l:f}),n),r)?i=f:u=f}return O({...o,l:i})}function G(e,n,r){if(x(h(e,n),r))return e;const t=C(e)<C(n),o=Y(e,n,r,t?"darker":"lighter");if(x(h(o,n),r))return o;const c=Y(e,n,r,t?"lighter":"darker");return h(c,n)>h(o,n)?c:o}function Oe(e,n,r){let t=e;for(let o=0;o<8;o++){let c=!1;for(const s of n){const u=G(t,s,r);u!==t&&(t=u,c=!0)}if(!c)break}return t}function Pe(e,n,r){let t=n[0]??"#ffffff",o=-1;for(const c of n){const s=h(c,e);if(x(s,r))return c;s>o&&(o=s,t=c)}return t}const ae="#2A2C31",ue="#1C1E23",de=.25,He=de;function le(e){return G(e.inputBorder,e.input,Ce)}function fe(e,n,r){const t=[n.surface,n.surfaceAlt,n.surfaceElevated];return r==="dark"&&t.push(ae,ue),t.flatMap(o=>[o,Ie(e,o,de)])}function ge(e,n,r){return Oe(e,fe(e,n,r),D)}const Ke=["error","brand","success","warning","info"],Re=60;function A(e){return x(h("#ffffff",e),D)||De(e)>=Re?e:G(e,"#ffffff",D)}function me(e,n){return Pe(e,["#ffffff",n.surfaceAlt,"#000000"],D)}const Ve=["brand","error","success","warning"],ye="#D76CB7",$e="data-colorblind-safe",K={success:"#009e73",error:"#d55e00",warning:"#e69f00",info:"#56b4e9"},R={added:K.success,deleted:K.error};function he(e){return{...e,...K}}function Ge(){return typeof document>"u"?!1:document.documentElement.hasAttribute($e)}function Fe(e,n,r){const t=d=>ge(d,e,n),o=A(e.brand),c=A(e.error),s=A(e.success),u=A(e.warning),i=d=>me(d,e);return{"--color-surface":e.surface,"--color-surface-alt":e.surfaceAlt,"--color-surface-elevated":e.surfaceElevated,"--color-brand":e.brand,"--color-brand-hover":e.brandHover,"--color-content":e.content,"--color-content-secondary":e.contentSecondary,"--color-border":e.border,"--color-input":e.input,"--color-input-border":le(e),"--color-success":e.success,"--color-error":e.error,"--color-warning":e.warning,"--color-info":e.info,"--color-success-text":t(e.success),"--color-error-text":t(e.error),"--color-warning-text":t(e.warning),"--color-info-text":t(e.info),"--color-brand-text":t(e.brand),"--color-unique-text":t(ye),"--color-brand-surface":o,"--color-error-surface":c,"--color-success-surface":s,"--color-warning-surface":u,"--color-on-brand":i(o),"--color-on-error":i(c),"--color-on-success":i(s),"--color-on-warning":i(u),"--color-diff-added":r?R.added:"","--color-diff-deleted":r?R.deleted:"","--color-syntax-keyword":e.syntaxKeyword,"--color-syntax-string":e.syntaxString,"--color-syntax-function":e.syntaxFunction,"--color-syntax-comment":e.syntaxComment,"--color-syntax-number":e.syntaxNumber,"--color-syntax-type":e.syntaxType}}const j="data-colorblind-safe",J="data-design";function W(e,n=!1){return T(e==="system"?b(n?"light":"dark"):e==="dark"?b("dark"):e==="light"?b("light"):e)}function be(e,n={}){var u,i;const r=typeof e=="string"?W(e):e,t=n.document??(typeof document<"u"?document:void 0);if(!t)return r;const o=t.documentElement,c=n.colorVisionSafe??!1;c?o.setAttribute(j,""):o.removeAttribute(j);const s=c?he(r.palette):r.palette;for(const[d,f]of Object.entries(Fe(s,r.type,c)))o.style.setProperty(d,f);return(u=t.body)==null||u.classList.remove("light","dark"),(i=t.body)==null||i.classList.add(r.type),o.classList.remove("light","dark"),o.classList.add(r.type),o.style.colorScheme=r.type,o.setAttribute("data-app-theme",r.id),r.design?o.setAttribute(J,r.design):o.removeAttribute(J),r}function We(){return ie()}const qe="vokril-ui-theme",Ue="(prefers-color-scheme: light)";function Xe(){try{return typeof localStorage>"u"?null:localStorage}catch{return null}}const pe=y.createContext(),Ye=e=>{var q,U;const n=e.storageKey===void 0?qe:e.storageKey,r=e.storage===void 0?Xe():e.storage,t=()=>{if(!r||!n)return null;try{return r.getItem(n)}catch{return null}},o=((q=e.document)==null?void 0:q.defaultView)??(typeof window>"u"?void 0:window),c=(U=o==null?void 0:o.matchMedia)==null?void 0:U.call(o,Ue),[s,u]=y.createSignal(t()??e.defaultTheme??"dark"),[i,d]=y.createSignal((c==null?void 0:c.matches)??!1),[f,m]=y.createSignal(e.colorVisionSafe??!1);if(c){const E=Ee=>d(Ee.matches);c.addEventListener("change",E),y.onCleanup(()=>c.removeEventListener("change",E))}const l=y.createMemo(()=>W(s(),i())),g=y.createMemo(()=>l().type),F=E=>{if(u(E),!(!r||!n))try{r.setItem(n,E)}catch{}},M=()=>F(g()==="dark"?"light":"dark");y.createEffect(()=>{be(l(),{colorVisionSafe:f(),document:e.document})});const xe={theme:s,resolvedTheme:g,themeId:()=>l().id,setTheme:F,toggleTheme:M,colorVisionSafe:f,setColorVisionSafe:m};return ee.createComponent(pe.Provider,{value:xe,get children(){return e.children}})};let z=!1;function je(){const e=y.useContext(pe);return e||(ee.isDev&&!z&&(z=!0,console.warn("@vokril/ui-solid: useTheme() was called outside <ThemeProvider>; it reports the design's dark theme and ignores setTheme.")),{theme:()=>"dark",resolvedTheme:()=>"dark",themeId:()=>b(),setTheme:()=>{},toggleTheme:()=>{},colorVisionSafe:()=>!1,setColorVisionSafe:()=>{}})}var Z;const Q=((Z=S.find(e=>e.id===re))==null?void 0:Z.palette)??S[0].palette;function Je(e){return Math.max(0,Math.min(255,Math.round(e)))}function V(e){const n=e.trim().replace(/^#/,""),r=n.length===3?n.split("").map(t=>t+t).join(""):n;return r.length!==6||/[^0-9a-fA-F]/.test(r)?null:{r:Number.parseInt(r.slice(0,2),16),g:Number.parseInt(r.slice(2,4),16),b:Number.parseInt(r.slice(4,6),16)}}function I({r:e,g:n,b:r}){const t=o=>Je(o).toString(16).padStart(2,"0");return`#${t(e)}${t(n)}${t(r)}`}function a(e,n="#000000"){const r=V(e);return r?I(r):n}function p(e,n,r){const t=V(e),o=V(n);if(!t&&!o)return"#000000";if(!t)return I(o);if(!o)return I(t);const c=Math.max(0,Math.min(1,r));return I({r:t.r+(o.r-t.r)*c,g:t.g+(o.g-t.g)*c,b:t.b+(o.b-t.b)*c})}const ze="#ffffff",Qe="#000000";function ke(e,n){return p(e,ze,n)}function Ze(e,n){return p(e,Qe,n)}function en(e,n,r){return n==="dark"?ke(e,r):Ze(e,r)}function B(e,n){return`${a(e)}${n}`}function nn(){if(typeof document>"u")return Q;const e=getComputedStyle(document.documentElement),n=(t,o)=>e.getPropertyValue(t).trim()||o,r=Q;return{surface:n("--color-surface",r.surface),surfaceAlt:n("--color-surface-alt",r.surfaceAlt),surfaceElevated:n("--color-surface-elevated",r.surfaceElevated),brand:n("--color-brand",r.brand),brandHover:n("--color-brand-hover",r.brandHover),content:n("--color-content",r.content),contentSecondary:n("--color-content-secondary",r.contentSecondary),border:n("--color-border",r.border),input:n("--color-input",r.input),inputBorder:n("--color-input-border",r.inputBorder),success:n("--color-success",r.success),error:n("--color-error",r.error),warning:n("--color-warning",r.warning),info:n("--color-info",r.info),syntaxKeyword:n("--color-syntax-keyword",r.syntaxKeyword),syntaxString:n("--color-syntax-string",r.syntaxString),syntaxFunction:n("--color-syntax-function",r.syntaxFunction),syntaxComment:n("--color-syntax-comment",r.syntaxComment),syntaxNumber:n("--color-syntax-number",r.syntaxNumber),syntaxType:n("--color-syntax-type",r.syntaxType)}}function rn(){return typeof document>"u"?"dark":document.body.classList.contains("light")?"light":"dark"}function tn(){return typeof document>"u"?"":document.documentElement.getAttribute("data-app-theme")??""}function on(e,n){const r=a(e.syntaxKeyword),t=a(e.syntaxString),o=a(e.syntaxFunction),c=a(e.syntaxComment),s=a(e.syntaxNumber),u=a(e.syntaxType),i=a(e.content),d=a(e.brand),f=a(e.error),m=[{token:"",foreground:i.slice(1)},{token:"comment",foreground:c.slice(1),fontStyle:"italic"},{token:"comment.quote",foreground:c.slice(1),fontStyle:"italic"},{token:"keyword",foreground:r.slice(1)},{token:"keyword.sql",foreground:r.slice(1)},{token:"operator",foreground:r.slice(1)},{token:"operator.sql",foreground:r.slice(1)},{token:"string",foreground:t.slice(1)},{token:"string.sql",foreground:t.slice(1)},{token:"string.escape",foreground:r.slice(1)},{token:"number",foreground:s.slice(1)},{token:"number.float",foreground:s.slice(1)},{token:"number.hex",foreground:s.slice(1)},{token:"constant",foreground:s.slice(1)},{token:"type",foreground:u.slice(1)},{token:"type.identifier",foreground:u.slice(1)},{token:"predefined",foreground:o.slice(1)},{token:"predefined.sql",foreground:o.slice(1)},{token:"function",foreground:o.slice(1)},{token:"identifier",foreground:i.slice(1)},{token:"identifier.quote",foreground:t.slice(1)},{token:"variable",foreground:i.slice(1)},{token:"delimiter",foreground:i.slice(1)},{token:"tag",foreground:r.slice(1)},{token:"attribute.name",foreground:o.slice(1)},{token:"attribute.value",foreground:t.slice(1)},{token:"annotation",foreground:e.warning.replace(/^#/,"")},{token:"regexp",foreground:f.slice(1)}],l=a(e.surfaceAlt),g=a(e.surface),F=a(e.surfaceElevated),M={"editor.background":l,"editor.foreground":i,"editorLineNumber.foreground":a(e.contentSecondary),"editorLineNumber.activeForeground":i,"editorCursor.foreground":d,"editor.selectionBackground":p(g,d,.32),"editor.inactiveSelectionBackground":p(g,d,.18),"editor.lineHighlightBackground":p(l,g,.55),"editorWidget.background":F,"editorWidget.foreground":i,"editorWidget.border":a(e.border),"editorWidget.resizeBorder":d,"input.background":a(e.input),"input.foreground":i,"input.border":a(e.inputBorder),"input.placeholderForeground":a(e.contentSecondary),"inputOption.activeBackground":B(d,"40"),"inputOption.activeBorder":d,"inputOption.activeForeground":i,focusBorder:d,"editor.findMatchBackground":B(a(e.warning),"80"),"editor.findMatchHighlightBackground":B(a(e.warning),"40"),"editor.findRangeHighlightBackground":B(F,"60")};return{base:n==="dark"?"vs-dark":"vs",inherit:!0,rules:m,colors:M}}function cn(e,n){const r=a(e.surface),t=a(e.surfaceElevated),o=a(e.content),c=a(e.contentSecondary),s=a(e.brand),u=a(e.error),i=a(e.success),d=a(e.warning),f=a(e.info),m=a(e.syntaxKeyword),l=F=>en(F,n,.22),g={black:t,red:u,green:i,yellow:d,blue:s,magenta:m,cyan:f,white:c,brightBlack:p(t,o,.4),brightRed:l(u),brightGreen:l(i),brightYellow:l(d),brightBlue:l(s),brightMagenta:l(m),brightCyan:l(f),brightWhite:n==="dark"?ke(o,.25):o};return{background:r,foreground:o,cursor:s,selectionBackground:p(t,s,.2),...g}}exports.DEFAULT_THEME_ID=re;exports.DESIGN_THEMES=$;exports.INK_ROLE_KEYS=Ve;exports.LEGACY_THEME_IDS=te;exports.MAX_TEXT_TINT_ALPHA=He;exports.OKABE_ITO_DIFF=R;exports.TEXT_ROLE_KEYS=Ke;exports.ThemeProvider=Ye;exports.UNIQUE_ACCENT=ye;exports.WELD_BG=ue;exports.WELD_SURFACE=ae;exports.accessibleFillSurface=A;exports.accessibleInputBorder=le;exports.accessibleOnFillInk=me;exports.accessibleTextColor=ge;exports.applyAppTheme=be;exports.derivePaletteProperties=Fe;exports.generateMonacoThemeFromPalette=on;exports.generateTerminalPaletteFromPalette=cn;exports.getDefaultThemeId=b;exports.getThemeById=T;exports.getThemeDesign=Ae;exports.getThemeOptions=ie;exports.getThemes=We;exports.isColorVisionSafeActive=Ge;exports.isKnownThemeId=Se;exports.readActiveAppPalette=nn;exports.readActiveAppThemeId=tn;exports.readActiveAppThemeType=rn;exports.registerThemeSource=ve;exports.resolveThemeOption=W;exports.setThemeDesign=Te;exports.textGroundsFor=fe;exports.themeOptions=S;exports.toColorVisionSafePalette=he;exports.useTheme=je;
@@ -1,35 +0,0 @@
1
- import { createComponent as l, Portal as a } from "solid-js/web";
2
- import { onMount as m } from "solid-js";
3
- import { u as c, n as i } from "./overlayStack-Bj6Lg1Rm.js";
4
- function y(e) {
5
- var o;
6
- const n = e.open ?? (() => !0), u = () => {
7
- const t = e.mount;
8
- return t.nodeType === Node.DOCUMENT_NODE ? t : t.ownerDocument ?? void 0;
9
- }, r = c(n, e.idPrefix ?? "portal-overlay", {
10
- type: e.modal === !0 ? "modal" : e.type,
11
- element: e.element,
12
- document: u
13
- });
14
- return (o = e.onLayer) == null || o.call(e, r), m(() => {
15
- i();
16
- }), l(a, {
17
- get mount() {
18
- return e.mount;
19
- },
20
- get children() {
21
- return e.children;
22
- }
23
- });
24
- }
25
- function O(e, n) {
26
- return e === !0 && n === !1;
27
- }
28
- function v(e) {
29
- return e !== null && typeof e.focus == "function" ? (e.focus(), !0) : !1;
30
- }
31
- export {
32
- y as O,
33
- v as r,
34
- O as s
35
- };
@@ -1 +0,0 @@
1
- "use strict";const u=require("solid-js/web"),i=require("solid-js"),r=require("./overlayStack-eD8AmuwY.cjs");function a(e){var o;const t=e.open??(()=>!0),l=()=>{const n=e.mount;return n.nodeType===Node.DOCUMENT_NODE?n:n.ownerDocument??void 0},c=r.useOverlayRegistration(t,e.idPrefix??"portal-overlay",{type:e.modal===!0?"modal":e.type,element:e.element,document:l});return(o=e.onLayer)==null||o.call(e,c),i.onMount(()=>{r.notifyOverlayChanged()}),u.createComponent(u.Portal,{get mount(){return e.mount},get children(){return e.children}})}function s(e,t){return e===!0&&t===!1}function d(e){return e!==null&&typeof e.focus=="function"?(e.focus(),!0):!1}exports.OverlayPortal=a;exports.restoreFocusTo=d;exports.shouldRestoreFocusOnDialogClose=s;