@vokril/ui-solid 0.31.0 → 0.33.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 (382) hide show
  1. package/CHANGELOG.md +61 -0
  2. package/README.md +132 -4
  3. package/dist/AttributeGrid-CNkALmJq.cjs +1 -0
  4. package/dist/AttributeGrid-DnuTPJ_P.js +320 -0
  5. package/dist/{Button-4meERfnv.js → Button-CX7mylBT.js} +125 -117
  6. package/dist/Button-lMUW5P3O.cjs +1 -0
  7. package/dist/CommandPalette-DAR9VMqY.cjs +2 -0
  8. package/dist/CommandPalette-DlLcdd4o.js +4029 -0
  9. package/dist/CopyButton-BVvv5M8g.js +63 -0
  10. package/dist/CopyButton-Dnd8_2Lj.cjs +1 -0
  11. package/dist/DateRangePicker-BlJWtJBA.cjs +9 -0
  12. package/dist/DateRangePicker-CHmUU4PA.js +552 -0
  13. package/dist/GuidedTour-9rqvNB_m.js +483 -0
  14. package/dist/GuidedTour-DbXeuTc7.cjs +1 -0
  15. package/dist/{HostPortal-Ba3MD9CG.js → HostPortal-De65s6CU.js} +1 -1
  16. package/dist/{HostPortal-CpWsArs6.cjs → HostPortal-Dm4BmY8M.cjs} +1 -1
  17. package/dist/{IconPicker-D1G8HK92.js → IconPicker-CsYW8CXe.js} +4 -4
  18. package/dist/IconPicker-D-GU1mD3.cjs +1 -0
  19. package/dist/Input-C3rEQffK.js +382 -0
  20. package/dist/Input-CHtvL4_4.cjs +1 -0
  21. package/dist/Modal-3L6p7Dwt.js +599 -0
  22. package/dist/Modal-CtrWEnJ7.cjs +1 -0
  23. package/dist/OverlayScrollArea-Cr0VAApT.cjs +1 -0
  24. package/dist/OverlayScrollArea-CrrPFLq9.js +180 -0
  25. package/dist/{PageSkeleton-zNyjLPlk.js → PageSkeleton-BRuqaDzr.js} +372 -371
  26. package/dist/PageSkeleton-Cz2bckO4.cjs +30 -0
  27. package/dist/Popover-CLTXG8W0.cjs +1 -0
  28. package/dist/Popover-DkqGvMNy.js +207 -0
  29. package/dist/SearchableSelect-C-lV1vSv.cjs +1 -0
  30. package/dist/SearchableSelect-Du12kcI9.js +328 -0
  31. package/dist/{StatusBarNotificationBell-ZTEhZFmJ.js → StatusBarNotificationBell-DKDoWK71.js} +4879 -4789
  32. package/dist/StatusBarNotificationBell-wO16mjon.cjs +50 -0
  33. package/dist/Stepper-DzI-gtKd.js +586 -0
  34. package/dist/Stepper-rpu7lpzB.cjs +1 -0
  35. package/dist/{Textarea-DASNQNoi.cjs → Textarea-D4nYoQ0J.cjs} +1 -1
  36. package/dist/{Textarea-szHXQahi.js → Textarea-DOzZCc-O.js} +1 -1
  37. package/dist/TimeSeriesChart-BJqQpeEJ.cjs +1 -0
  38. package/dist/TimeSeriesChart-DvAhuyVl.js +442 -0
  39. package/dist/ToggleButton-B-hBpdzk.js +2144 -0
  40. package/dist/ToggleButton-BMH1A-IX.cjs +1 -0
  41. package/dist/_internal/app/onboarding/pageTourState.d.cts +0 -2
  42. package/dist/_internal/app/onboarding/pageTourState.d.ts +0 -2
  43. package/dist/_internal/app/onboarding/pageTourTypes.d.cts +2 -1
  44. package/dist/_internal/app/onboarding/pageTourTypes.d.ts +2 -1
  45. package/dist/_internal/contract/browser/workspace.d.cts +15 -0
  46. package/dist/_internal/contract/browser/workspace.d.ts +15 -0
  47. package/dist/_internal/contract/menuDensity.d.cts +8 -0
  48. package/dist/_internal/contract/menuDensity.d.ts +8 -0
  49. package/dist/_internal/contract/notification.d.cts +19 -3
  50. package/dist/_internal/contract/notification.d.ts +19 -3
  51. package/dist/_internal/platform/settings/settingsTypes.d.cts +2 -2
  52. package/dist/_internal/platform/settings/settingsTypes.d.ts +2 -2
  53. package/dist/a11y/index.cjs +1 -1
  54. package/dist/a11y/index.js +1 -1
  55. package/dist/appThemeDerivation-Be_oKljl.cjs +1 -0
  56. package/dist/{server/appThemeDerivation-DBAOkGl7.js → appThemeDerivation-CKoSe4KP.js} +231 -260
  57. package/dist/base.css +1 -1
  58. package/dist/charts/index.cjs +1 -1
  59. package/dist/charts/index.js +1 -1
  60. package/dist/createDialogShellFocus-DI1rUvYf.js +282 -0
  61. package/dist/createDialogShellFocus-kzkNSLWS.cjs +1 -0
  62. package/dist/createResizableSidebar--Ve6DbDu.js +504 -0
  63. package/dist/createResizableSidebar-DlVAuq5t.cjs +1 -0
  64. package/dist/desktop/index.cjs +1 -1
  65. package/dist/desktop/index.js +228 -227
  66. package/dist/feedback/index.cjs +1 -1
  67. package/dist/feedback/index.js +4 -4
  68. package/dist/{focusModality-BISb6-yg.cjs → focusModality-D704CJVN.cjs} +1 -1
  69. package/dist/{focusModality-FoLPWF-_.js → focusModality-ROUF6YGR.js} +1 -1
  70. package/dist/forms/index.cjs +1 -1
  71. package/dist/forms/index.js +9 -9
  72. package/dist/grid/index.cjs +1 -1
  73. package/dist/grid/index.js +1 -1
  74. package/dist/host/index.cjs +1 -1
  75. package/dist/host/index.d.cts +1 -0
  76. package/dist/host/index.d.ts +1 -0
  77. package/dist/host/index.js +38 -39
  78. package/dist/host/kitHost.d.cts +8 -0
  79. package/dist/host/kitHost.d.ts +8 -0
  80. package/dist/index.cjs +1 -1
  81. package/dist/index.js +940 -938
  82. package/dist/kitHost-BMMWpU4w.js +47 -0
  83. package/dist/kitHost-u0-mKvEK.cjs +1 -0
  84. package/dist/layout/index.cjs +1 -1
  85. package/dist/layout/index.js +2 -2
  86. package/dist/mainRealmDom-BcPuVvcy.cjs +1 -0
  87. package/dist/mainRealmDom-DydRT2Us.js +54 -0
  88. package/dist/{server/useSettingsSubscription-DLEk4k4j.js → menuDensity-6x_EqCGb.js} +7 -5
  89. package/dist/{server/useSettingsSubscription-DKjCwmRd.cjs → menuDensity-Cf74__OQ.cjs} +1 -1
  90. package/dist/navigation/index.cjs +1 -1
  91. package/dist/navigation/index.js +1 -1
  92. package/dist/notificationCatalog-CRERhjp6.js +168 -0
  93. package/dist/notificationCatalog-DqTkd7M6.cjs +1 -0
  94. package/dist/notifications/holdWhileShown.d.cts +18 -0
  95. package/dist/notifications/holdWhileShown.d.ts +18 -0
  96. package/dist/notifications/index.cjs +1 -1
  97. package/dist/notifications/index.js +3 -3
  98. package/dist/notifications/nativeEngine.d.cts +34 -2
  99. package/dist/notifications/nativeEngine.d.ts +34 -2
  100. package/dist/notifications/notificationEntryList.d.cts +18 -5
  101. package/dist/notifications/notificationEntryList.d.ts +18 -5
  102. package/dist/notifications/notificationOverlaySnapshot.d.cts +35 -6
  103. package/dist/notifications/notificationOverlaySnapshot.d.ts +35 -6
  104. package/dist/overlay/Modal.d.cts +17 -3
  105. package/dist/overlay/Modal.d.ts +17 -3
  106. package/dist/overlay/index.cjs +1 -1
  107. package/dist/overlay/index.d.cts +2 -1
  108. package/dist/overlay/index.d.ts +2 -1
  109. package/dist/overlay/index.js +46 -43
  110. package/dist/overlay/modalDefaults.d.cts +23 -0
  111. package/dist/overlay/modalDefaults.d.ts +23 -0
  112. package/dist/overlay/modalViewport.d.cts +17 -2
  113. package/dist/overlay/modalViewport.d.ts +17 -2
  114. package/dist/pageTourState-BuA-GBYO.cjs +5 -0
  115. package/dist/{server/pageTourState-BcBF8w89.js → pageTourState-DsSKdPOu.js} +160 -169
  116. package/dist/rowSource-D8gyHbEE.cjs +1 -0
  117. package/dist/rowSource-_4IuosKj.js +1236 -0
  118. package/dist/server/AttributeGrid-B9j_c2wM.js +281 -0
  119. package/dist/server/AttributeGrid-BALCTvOI.cjs +1 -0
  120. package/dist/server/Button-DHefmmYz.cjs +1 -0
  121. package/dist/server/Button-ft_8RNJj.js +226 -0
  122. package/dist/server/CommandPalette-CHdfYtxs.js +3305 -0
  123. package/dist/server/CommandPalette-D0Prl7by.cjs +1 -0
  124. package/dist/server/CopyButton-CiYcsQcI.js +64 -0
  125. package/dist/server/CopyButton-D2q7tQ0m.cjs +1 -0
  126. package/dist/server/DateRangePicker-C6wZI7No.js +487 -0
  127. package/dist/server/DateRangePicker-CF70G2yr.cjs +9 -0
  128. package/dist/server/GuidedTour-BmDAWNfN.cjs +1 -0
  129. package/dist/server/GuidedTour-DYBhprVK.js +400 -0
  130. package/dist/server/{HostPortal-C4IrAeWN.js → HostPortal-C4xdfRyM.js} +1 -1
  131. package/dist/server/{HostPortal-D5ECrJvn.cjs → HostPortal-CwyePpDX.cjs} +1 -1
  132. package/dist/server/{IconPicker-DDWgB7sm.js → IconPicker--Xso9fUf.js} +5 -5
  133. package/dist/server/IconPicker-BTI4cNgf.cjs +1 -0
  134. package/dist/server/Input-UX0Hk53M.cjs +1 -0
  135. package/dist/server/Input-V9Szcw6w.js +249 -0
  136. package/dist/server/Modal-CBnNlaTx.cjs +1 -0
  137. package/dist/server/Modal-D9CjieKK.js +426 -0
  138. package/dist/server/OverlayScrollArea-DuwGRSMm.cjs +1 -0
  139. package/dist/server/OverlayScrollArea-h6G3yk6U.js +66 -0
  140. package/dist/server/{PageSkeleton-DoxlE_bD.js → PageSkeleton-CFs7AdTA.js} +267 -266
  141. package/dist/server/PageSkeleton-D0KOKLsb.cjs +30 -0
  142. package/dist/server/Popover-BBDBIpT6.cjs +1 -0
  143. package/dist/server/Popover-e9JpRh11.js +439 -0
  144. package/dist/server/SearchableSelect-B2ZFnp6i.js +205 -0
  145. package/dist/server/SearchableSelect-BBu5cP6P.cjs +1 -0
  146. package/dist/server/StatusBarNotificationBell-DEp4eEUv.cjs +49 -0
  147. package/dist/server/{StatusBarNotificationBell-DW2l5O9B.js → StatusBarNotificationBell-kOm2ZNkl.js} +4567 -4477
  148. package/dist/server/Stepper-C04rOZcI.cjs +1 -0
  149. package/dist/server/Stepper-CVAOsf3o.js +381 -0
  150. package/dist/server/{Textarea-Bh5LVrBn.cjs → Textarea-BG6F8taO.cjs} +1 -1
  151. package/dist/server/{Textarea-DVkfGkP0.js → Textarea-DM4zpgWo.js} +1 -1
  152. package/dist/server/TimeSeriesChart-kuuqH7we.js +242 -0
  153. package/dist/server/TimeSeriesChart-tWbSF6fJ.cjs +1 -0
  154. package/dist/server/ToggleButton-BdqufQ7G.js +1344 -0
  155. package/dist/server/ToggleButton-Bo24NK3o.cjs +1 -0
  156. package/dist/server/a11y/index.cjs +1 -1
  157. package/dist/server/a11y/index.js +1 -1
  158. package/dist/server/appThemeDerivation-Be_oKljl.cjs +1 -0
  159. package/dist/{appThemeDerivation-DBAOkGl7.js → server/appThemeDerivation-CKoSe4KP.js} +231 -260
  160. package/dist/server/charts/index.cjs +1 -1
  161. package/dist/server/charts/index.js +1 -1
  162. package/dist/server/createDialogShellFocus-DvoNWpIu.cjs +1 -0
  163. package/dist/server/createDialogShellFocus-J8wqPlsa.js +370 -0
  164. package/dist/server/{createResizableSidebar-Dvu7iEk1.js → createResizableSidebar-CIrhLNKW.js} +104 -102
  165. package/dist/server/createResizableSidebar-DcZ2Cnpf.cjs +1 -0
  166. package/dist/server/desktop/index.cjs +1 -1
  167. package/dist/server/desktop/index.js +153 -152
  168. package/dist/server/feedback/index.cjs +1 -1
  169. package/dist/server/feedback/index.js +4 -4
  170. package/dist/server/{focusModality-nWNVX3JG.js → focusModality-Bu4Kuwm4.js} +1 -1
  171. package/dist/server/{focusModality-D-nxv8Er.cjs → focusModality-G2i60_7y.cjs} +1 -1
  172. package/dist/server/forms/index.cjs +1 -1
  173. package/dist/server/forms/index.js +9 -9
  174. package/dist/server/grid/index.cjs +1 -1
  175. package/dist/server/grid/index.js +1 -1
  176. package/dist/server/host/index.cjs +1 -1
  177. package/dist/server/host/index.js +38 -39
  178. package/dist/server/{index-BEARfm54.js → index-CPUZyKo7.js} +2 -2
  179. package/dist/server/{index-C6rYfWCJ.cjs → index-CVbkasNJ.cjs} +1 -1
  180. package/dist/server/index.cjs +1 -1
  181. package/dist/server/index.js +673 -671
  182. package/dist/server/kitHost-BMMWpU4w.js +47 -0
  183. package/dist/server/kitHost-u0-mKvEK.cjs +1 -0
  184. package/dist/server/layout/index.cjs +1 -1
  185. package/dist/server/layout/index.js +2 -2
  186. package/dist/server/mainRealmDom-BuGEeM_r.cjs +1 -0
  187. package/dist/server/{EmptyState-Csydyy_7.js → mainRealmDom-CzckS_ss.js} +12 -8
  188. package/dist/{useSettingsSubscription-DLEk4k4j.js → server/menuDensity-6x_EqCGb.js} +7 -5
  189. package/dist/{useSettingsSubscription-DKjCwmRd.cjs → server/menuDensity-Cf74__OQ.cjs} +1 -1
  190. package/dist/server/navigation/index.cjs +1 -1
  191. package/dist/server/navigation/index.js +1 -1
  192. package/dist/server/notificationCatalog-CEDltsJS.cjs +1 -0
  193. package/dist/server/notificationCatalog-Cl1dH4aJ.js +122 -0
  194. package/dist/server/notifications/index.cjs +1 -1
  195. package/dist/server/notifications/index.js +3 -3
  196. package/dist/server/overlay/index.cjs +1 -1
  197. package/dist/server/overlay/index.js +32 -29
  198. package/dist/server/pageTourState-BuA-GBYO.cjs +5 -0
  199. package/dist/{pageTourState-BcBF8w89.js → server/pageTourState-DsSKdPOu.js} +160 -169
  200. package/dist/server/rowSource-BSa7rgYJ.js +1128 -0
  201. package/dist/server/rowSource-Yw-xtlih.cjs +1 -0
  202. package/dist/server/settings/index.cjs +1 -1
  203. package/dist/server/settings/index.js +26 -25
  204. package/dist/server/tokens/index.cjs +1 -1
  205. package/dist/server/tokens/index.js +29 -28
  206. package/dist/server/tokens/palette/index.cjs +1 -0
  207. package/dist/server/tokens/palette/index.js +31 -0
  208. package/dist/server/tree/index.cjs +1 -1
  209. package/dist/server/tree/index.js +1 -1
  210. package/dist/settings/index.cjs +1 -1
  211. package/dist/settings/index.js +26 -25
  212. package/dist/solid/_internal/app/onboarding/PageTourHost.jsx +11 -10
  213. package/dist/solid/_internal/app/onboarding/pageTourState.js +12 -23
  214. package/dist/solid/_internal/contract/menuDensity.js +1 -0
  215. package/dist/solid/_internal/platform/settings/settingsTypes.js +1 -0
  216. package/dist/solid/charts/TimeSeriesChart.jsx +23 -22
  217. package/dist/solid/desktop/WindowControls.jsx +6 -3
  218. package/dist/solid/feedback/Badge.jsx +9 -5
  219. package/dist/solid/feedback/ErrorBoundary.jsx +18 -14
  220. package/dist/solid/forms/Button.jsx +15 -9
  221. package/dist/solid/forms/Checkbox.jsx +5 -4
  222. package/dist/solid/forms/Combobox.jsx +12 -10
  223. package/dist/solid/forms/CopyButton.jsx +7 -4
  224. package/dist/solid/forms/DatePicker.jsx +12 -7
  225. package/dist/solid/forms/Dropzone.jsx +17 -13
  226. package/dist/solid/forms/FilePickerButton.jsx +5 -4
  227. package/dist/solid/forms/HiddenFileInput.jsx +3 -1
  228. package/dist/solid/forms/InputMessage.jsx +11 -10
  229. package/dist/solid/forms/MultiSearchableSelect.jsx +8 -7
  230. package/dist/solid/forms/NumberInput.jsx +25 -19
  231. package/dist/solid/forms/Picker.jsx +8 -6
  232. package/dist/solid/forms/PressableSurface.jsx +14 -9
  233. package/dist/solid/forms/RadioGroup.jsx +4 -3
  234. package/dist/solid/forms/SearchInput.jsx +4 -3
  235. package/dist/solid/forms/SearchableSelect.jsx +4 -3
  236. package/dist/solid/forms/SegmentedControl.jsx +4 -3
  237. package/dist/solid/forms/TagInput.jsx +22 -16
  238. package/dist/solid/forms/ToggleButton.jsx +4 -3
  239. package/dist/solid/forms/date-range-picker/DateRangePicker.jsx +12 -10
  240. package/dist/solid/grid/Pagination.jsx +7 -3
  241. package/dist/solid/host/kitHost.jsx +5 -1
  242. package/dist/solid/layout/PageHeaderIcon.jsx +11 -9
  243. package/dist/solid/layout/ResizableSplitPane.jsx +4 -4
  244. package/dist/solid/layout/ResizeHandle.jsx +6 -5
  245. package/dist/solid/navigation/Accordion.jsx +8 -5
  246. package/dist/solid/navigation/Tabs.jsx +11 -8
  247. package/dist/solid/notifications/NotificationHost.jsx +3 -16
  248. package/dist/solid/notifications/NotificationItem.jsx +59 -55
  249. package/dist/solid/notifications/NotificationPanel.jsx +16 -8
  250. package/dist/solid/notifications/NotificationsCenter.jsx +2 -0
  251. package/dist/solid/notifications/StatusBarNotificationBell.jsx +4 -3
  252. package/dist/solid/notifications/createNotificationPreviewRuntime.js +2 -0
  253. package/dist/solid/notifications/holdWhileShown.js +30 -0
  254. package/dist/solid/notifications/nativeEngine.js +52 -1
  255. package/dist/solid/notifications/notificationEntryList.js +25 -9
  256. package/dist/solid/notifications/notificationOverlaySnapshot.js +26 -0
  257. package/dist/solid/notifications/toast.js +4 -0
  258. package/dist/solid/overlay/ConfirmDialog.jsx +21 -16
  259. package/dist/solid/overlay/DangerousActionDialogParts.jsx +5 -3
  260. package/dist/solid/overlay/Disclosure.jsx +4 -3
  261. package/dist/solid/overlay/DropdownMenu.jsx +6 -4
  262. package/dist/solid/overlay/FloatingWindow.jsx +3 -3
  263. package/dist/solid/overlay/HoverTooltip.jsx +9 -7
  264. package/dist/solid/overlay/Modal.jsx +44 -35
  265. package/dist/solid/overlay/OverlayScrollArea.jsx +5 -3
  266. package/dist/solid/overlay/Tooltip.jsx +5 -4
  267. package/dist/solid/overlay/command-palette/CommandPalette.jsx +7 -7
  268. package/dist/solid/overlay/context-menu/DesktopContextMenu.jsx +65 -50
  269. package/dist/solid/overlay/index.js +2 -1
  270. package/dist/solid/overlay/menu/MenuParts.jsx +11 -8
  271. package/dist/solid/overlay/modalDefaults.jsx +10 -0
  272. package/dist/solid/overlay/modalViewport.js +17 -4
  273. package/dist/solid/overlay/popover/Popover.jsx +17 -11
  274. package/dist/solid/overlay/tour/GuidedTour.jsx +18 -14
  275. package/dist/solid/tokens/palette/index.js +1 -0
  276. package/dist/solid/tree/TreeRow.jsx +21 -16
  277. package/dist/solid/tree/TreeSurface.jsx +15 -14
  278. package/dist/solid/widgets/SettingsField.jsx +11 -10
  279. package/dist/style.css +3 -2
  280. package/dist/theme.css +2 -1
  281. package/dist/tokens/index.cjs +1 -1
  282. package/dist/tokens/index.js +29 -28
  283. package/dist/tokens/palette/index.cjs +1 -0
  284. package/dist/tokens/palette/index.d.cts +12 -0
  285. package/dist/tokens/palette/index.d.ts +12 -0
  286. package/dist/tokens/palette/index.js +31 -0
  287. package/dist/tokens/tokens.css +2 -1
  288. package/dist/tree/TreeRow.d.cts +5 -4
  289. package/dist/tree/TreeRow.d.ts +5 -4
  290. package/dist/tree/descriptor.d.cts +13 -3
  291. package/dist/tree/descriptor.d.ts +13 -3
  292. package/dist/tree/index.cjs +1 -1
  293. package/dist/tree/index.js +1 -1
  294. package/dist/ui.css +1 -1
  295. package/package.json +25 -1
  296. package/dist/AttributeGrid-Ch1k9v5j.cjs +0 -1
  297. package/dist/AttributeGrid-DqFd4gBm.js +0 -320
  298. package/dist/Button-OyZHrl-t.cjs +0 -1
  299. package/dist/CommandPalette-CxYZUJtN.cjs +0 -2
  300. package/dist/CommandPalette-DwOp8y1-.js +0 -4018
  301. package/dist/CopyButton-16QNPgz6.cjs +0 -1
  302. package/dist/CopyButton-BVS49lMS.js +0 -63
  303. package/dist/DateRangePicker-8QvydugY.js +0 -550
  304. package/dist/DateRangePicker-DI-06xWY.cjs +0 -9
  305. package/dist/EmptyState-B9TxGJ5v.cjs +0 -1
  306. package/dist/EmptyState-Dph6HU74.js +0 -50
  307. package/dist/GuidedTour-DUQwdW8n.cjs +0 -1
  308. package/dist/GuidedTour-DXMmHn0o.js +0 -483
  309. package/dist/IconPicker-Q-ZDtNkd.cjs +0 -1
  310. package/dist/Input-Brp5EDhg.cjs +0 -1
  311. package/dist/Input-CZi8KEfm.js +0 -374
  312. package/dist/Modal-CBi7Wd2V.cjs +0 -1
  313. package/dist/Modal-iyY1HUtr.js +0 -588
  314. package/dist/OverlayScrollArea-BSlaXG1h.cjs +0 -1
  315. package/dist/OverlayScrollArea-c8Za77qs.js +0 -180
  316. package/dist/PageSkeleton-B_-4fz1q.cjs +0 -30
  317. package/dist/Popover-DVi179wu.js +0 -207
  318. package/dist/Popover-DXrczbt9.cjs +0 -1
  319. package/dist/SearchableSelect-DtHbWJhR.js +0 -328
  320. package/dist/SearchableSelect-yLVqCGFo.cjs +0 -1
  321. package/dist/StatusBarNotificationBell-DQs5g1K6.cjs +0 -50
  322. package/dist/Stepper-CyRgzWlR.js +0 -583
  323. package/dist/Stepper-u2ZsE5oP.cjs +0 -1
  324. package/dist/TimeSeriesChart-D7lIqolp.js +0 -441
  325. package/dist/TimeSeriesChart-DGzM9B--.cjs +0 -1
  326. package/dist/ToggleButton-B22PsCqo.js +0 -2138
  327. package/dist/ToggleButton-DWslrIBN.cjs +0 -1
  328. package/dist/appThemeDerivation-BylmT80v.cjs +0 -1
  329. package/dist/createDialogShellFocus-CQ0VNC2g.cjs +0 -1
  330. package/dist/createDialogShellFocus-DbiQmLgb.js +0 -282
  331. package/dist/createResizableSidebar-COlpGQ7H.cjs +0 -1
  332. package/dist/createResizableSidebar-cmCKTIg_.js +0 -504
  333. package/dist/kitHost-BfJExE1G.cjs +0 -1
  334. package/dist/kitHost-CVAEi9sF.js +0 -23
  335. package/dist/mainRealmDom-B215swW-.js +0 -166
  336. package/dist/mainRealmDom-BYGSE-fo.cjs +0 -1
  337. package/dist/pageTourState-CrbEU7QW.cjs +0 -5
  338. package/dist/rowSource-D__7o4h0.js +0 -1230
  339. package/dist/rowSource-DiwTu_r8.cjs +0 -1
  340. package/dist/server/AttributeGrid-Bpjlauuz.js +0 -281
  341. package/dist/server/AttributeGrid-DNYdKb8J.cjs +0 -1
  342. package/dist/server/Button-0AXWRw9Q.cjs +0 -1
  343. package/dist/server/Button-3yNrnn4P.js +0 -220
  344. package/dist/server/CommandPalette-BuVxnqBG.cjs +0 -1
  345. package/dist/server/CommandPalette-Dn3NKXPM.js +0 -3291
  346. package/dist/server/CopyButton-B6xd9Z6j.js +0 -64
  347. package/dist/server/CopyButton-D8IN6Vnd.cjs +0 -1
  348. package/dist/server/DateRangePicker-BFzNjaME.cjs +0 -9
  349. package/dist/server/DateRangePicker-CnYkTgXX.js +0 -484
  350. package/dist/server/EmptyState-BnAHklc5.cjs +0 -1
  351. package/dist/server/GuidedTour-BZardPYW.js +0 -400
  352. package/dist/server/GuidedTour-yhdZk2SU.cjs +0 -1
  353. package/dist/server/IconPicker-C5lAN9pX.cjs +0 -1
  354. package/dist/server/Input-AdF-i0O8.js +0 -245
  355. package/dist/server/Input-XF9Jr0G9.cjs +0 -1
  356. package/dist/server/Modal-C5dzgcRW.js +0 -420
  357. package/dist/server/Modal-nAhBS1L9.cjs +0 -1
  358. package/dist/server/OverlayScrollArea-221dfKyz.js +0 -65
  359. package/dist/server/OverlayScrollArea-D4e9D9Nd.cjs +0 -1
  360. package/dist/server/PageSkeleton-DBo7hQq-.cjs +0 -30
  361. package/dist/server/Popover-C5avmGWz.cjs +0 -1
  362. package/dist/server/Popover-H3AAYZI0.js +0 -439
  363. package/dist/server/SearchableSelect-CZrXDKfC.cjs +0 -1
  364. package/dist/server/SearchableSelect-DMqed5Er.js +0 -205
  365. package/dist/server/StatusBarNotificationBell-CGcMdT4h.cjs +0 -49
  366. package/dist/server/Stepper-CpapA_WH.cjs +0 -1
  367. package/dist/server/Stepper-gGA7JwjV.js +0 -375
  368. package/dist/server/TimeSeriesChart-BQVXUFoj.cjs +0 -1
  369. package/dist/server/TimeSeriesChart-PAb95s6x.js +0 -242
  370. package/dist/server/ToggleButton-CA9T-OsI.cjs +0 -1
  371. package/dist/server/ToggleButton-CBNKajZa.js +0 -1335
  372. package/dist/server/appThemeDerivation-BylmT80v.cjs +0 -1
  373. package/dist/server/createDialogShellFocus-CDaLuPg8.cjs +0 -1
  374. package/dist/server/createDialogShellFocus-LGDBOVnr.js +0 -369
  375. package/dist/server/createResizableSidebar-v40ZOb-Q.cjs +0 -1
  376. package/dist/server/kitHost-BfJExE1G.cjs +0 -1
  377. package/dist/server/kitHost-CVAEi9sF.js +0 -23
  378. package/dist/server/mainRealmDom-DPNaDWtw.js +0 -121
  379. package/dist/server/mainRealmDom-DwZVMPnO.cjs +0 -1
  380. package/dist/server/pageTourState-CrbEU7QW.cjs +0 -5
  381. package/dist/server/rowSource-D-wcDmFU.js +0 -1122
  382. package/dist/server/rowSource-DltiY0o3.cjs +0 -1
@@ -0,0 +1,5 @@
1
+ "use strict";var O=Object.defineProperty;var I=(r,e,t)=>e in r?O(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var a=(r,e,t)=>I(r,typeof e!="symbol"?e+"":e,t);const d=require("./errorHandler-DoDAPpv2.cjs"),D=require("./electronBridge-cT0xww92.cjs"),L=require("./actions-DtaFGwh2.cjs"),u=require("./stateDbStore-CThsVch-.cjs"),R=require("solid-js"),P=require("./windowRegistry-CxXtP-iY.cjs"),$=require("./isOneOf-9EXOSYJu.cjs");var o=(r=>(r[r.Off=0]="Off",r[r.Trace=1]="Trace",r[r.Debug=2]="Debug",r[r.Info=3]="Info",r[r.Warn=4]="Warn",r[r.Error=5]="Error",r[r.Audit=6]="Audit",r))(o||{});const b=3;function m(r,e){return e===6?!0:r===0?!1:r<=e}class N{constructor(){a(this,"_store",new Set);a(this,"_isDisposed",!1)}_register(e){return this._isDisposed?(console.warn("Registering disposable on already disposed object"),e.dispose()):this._store.add(e),e}get isDisposed(){return this._isDisposed}dispose(){if(!this._isDisposed){this._isDisposed=!0;for(const e of this._store)try{e.dispose()}catch(t){d.onUnexpectedError(t,{source:"dispose"})}this._store.clear()}}}class W extends N{constructor(t=b){super();a(this,"_level");a(this,"_onDidChangeLogLevel",this._register(new D.Emitter));a(this,"onDidChangeLogLevel",this._onDidChangeLogLevel.event);this._level=t}getLevel(){return this._level}setLevel(t){this._level!==t&&(this._level=t,this._onDidChangeLogLevel.fire(t))}canLog(t){return m(this._level,t)}withTag(t){return this}}const E="[REDACTED]";function U(r){return r?E:""}const x=["password","pass","pwd","token","accesstoken","refreshtoken","apikey","api_key","authtoken","secret","privatekey","private_key","masterkey","master_key","masterpassword","username","user_name","email","userid","user_id","vaultname","vault_name","vaultpath","vault_path","recoverycode","recovery_code","mnemonic","connectionstring","conn_string","dsn","sessionid","session_id","cookie","authorization"],M=new Set(x.map(r=>r.toLowerCase().replace(/[-_]/g,""))),F=[/eyJ[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+/,/sk-[A-Za-z0-9]{20,}/,/AKIA[0-9A-Z]{16}/,/ghp_[A-Za-z0-9]{36}/,/gho_[A-Za-z0-9]{36}/,/xoxb-[0-9]+-[0-9]+-[A-Za-z0-9]+/];function j(r){return M.has(r.toLowerCase().replace(/[-_]/g,""))}function l(r){for(const e of F)if(e.test(r))return E;return r}function f(r){const e={};for(const[t,s]of Object.entries(r))j(t)?e[t]=typeof s=="string"?U(s):E:typeof s=="string"?e[t]=l(s):Array.isArray(s)?e[t]=s.map(n=>typeof n=="string"?l(n):n&&typeof n=="object"&&!(n instanceof Error)&&!(n instanceof Date)?f(n):n):s&&typeof s=="object"&&!(s instanceof Error)&&!(s instanceof Date)?e[t]=f(s):e[t]=s;return e}function q(r){return d.scrubSecrets(l(r))}function _(r){return typeof r=="string"?l(r):Array.isArray(r)?r.map(e=>typeof e=="string"?l(e):e&&typeof e=="object"&&!(e instanceof Error)&&!(e instanceof Date)?f(e):e):r&&typeof r=="object"&&!(r instanceof Error)&&!(r instanceof Date)?f(r):r}class V extends W{constructor(e){super(e)}trace(e,...t){this.canLog(o.Trace)&&this.log(o.Trace,h(e,t),t)}debug(e,...t){this.canLog(o.Debug)&&this.log(o.Debug,h(e,t),t)}info(e,...t){this.canLog(o.Info)&&this.log(o.Info,h(e,t),t)}warn(e,...t){this.canLog(o.Warn)&&this.log(o.Warn,h(e,t),t)}error(e,...t){if(!this.canLog(o.Error))return;if(e instanceof Error){const n=e;this.log(o.Error,h(`${n.message}
2
+ ${S(n)}`,t),[n,...t]);return}const s=t[0];if(s instanceof Error){this.log(o.Error,h(`${e}: ${s.message}
3
+ ${S(s)}`,t.slice(1)),t);return}this.log(o.Error,h(e,t),t)}audit(e,t,s,...n){if(!this.canLog(o.Audit))return;const i={action:e,userId:t,resource:s,args:n},c=h(`AUDIT: User ${t} performed ${e} on ${s}`,n);this.log(o.Audit,c,n,i)}}function S(r){if(!r.stack)return r.message;const e=r.stack.indexOf(`
4
+ `);return e>=0?r.stack.slice(e+1):r.message}function h(r,e=[]){if(e.length===0)return r;const t=[r];for(const s of e)if(s!=null)if(s instanceof Error)t.push(`${s.message}
5
+ ${s.stack??""}`);else if(typeof s=="object")try{t.push(JSON.stringify(_(s)))}catch{t.push(String(s))}else t.push(String(_(s)));return t.length===1?t[0]:t.join(" ")}class z extends V{constructor(t=[],s,n){super(s);a(this,"_transports");a(this,"_tag");this._transports=t,this._tag=n??""}log(t,s,n=[],i){const c={level:t,tag:this._tag,message:q(s),timestamp:new Date,args:n.map(_),...i?{audit:i}:{}};for(const C of this._transports)C.log(c)}flush(){var t;for(const s of this._transports)(t=s.flush)==null||t.call(s)}addTransport(t){this._transports.push(t)}withTag(t){return new g(this,t)}}class g{constructor(e,t){a(this,"_fullTag");this._parent=e;const s=this._parent._fullTag??this._parent._tag??"";this._fullTag=s?`${s}:${t}`:t}get onDidChangeLogLevel(){return this._getRoot().onDidChangeLogLevel}getLevel(){return this._getRoot().getLevel()}setLevel(e){this._getRoot().debug(`TaggedLogger.setLevel(${o[e]}) ignored on tagged child '[${this._fullTag}]' — call setLevel on the root logger instead.`)}trace(e,...t){this._emit(o.Trace,e,t)}debug(e,...t){this._emit(o.Debug,e,t)}info(e,...t){this._emit(o.Info,e,t)}warn(e,...t){this._emit(o.Warn,e,t)}error(e,...t){if(e instanceof Error){const s=new Error(`[${this._fullTag}] ${e.message}`);e.stack&&(s.stack=e.stack),this._getRoot().error(s,...t)}else this._emit(o.Error,e,t)}audit(e,t,s,...n){this._getRoot().audit(e,t,s,...n)}flush(){this._getRoot().flush()}withTag(e){return new g(this,e)}_emit(e,t,s){const n=this._getRoot(),i=`[${this._fullTag}] ${t}`;switch(e){case o.Trace:n.trace(i,...s);break;case o.Debug:n.debug(i,...s);break;case o.Info:n.info(i,...s);break;case o.Warn:n.warn(i,...s);break;case o.Error:n.error(i,...s);break}}_getRoot(){let e=this._parent;for(;e instanceof g;)e=e._parent;return e}}const Z={[o.Off]:"",[o.Trace]:"TRACE",[o.Debug]:"DEBUG",[o.Info]:"INFO",[o.Warn]:"WARN",[o.Error]:"ERROR",[o.Audit]:"AUDIT"},K={[o.Off]:"debug",[o.Trace]:"debug",[o.Debug]:"debug",[o.Info]:"info",[o.Warn]:"warn",[o.Error]:"error",[o.Audit]:"info"};class H{log(e){const t=Z[e.level],s=e.tag?` ${e.tag}`:"",n=e.timestamp.toISOString(),i=K[e.level];console[i](`[${t}]${s} ${n} - ${e.message}`)}}function J(r=o.Info){return new z([new H],r)}const A=new WeakMap;function G(r,e){return A.set(r,[...A.get(r)??[],...e]),r}function k(r){return typeof r=="object"&&r!==null?A.get(r)??[]:[]}const Y={text:(r,e)=>d.toErrorMessage(r,e),actions:r=>k(r)};function B(){const r=[];let e=null;return{set:n=>(r.push(n),()=>{const i=r.lastIndexOf(n);i!==-1&&r.splice(i,1),e===n&&!r.includes(n)&&(e=null)}),current:()=>r.length>0?r[r.length-1]??null:null,find:n=>{for(let i=r.length-1;i>=0;i-=1){const c=r[i];if(c!==void 0&&n(c))return c}return null},markFocused:n=>{r.includes(n)&&(e=n)},lastFocused:()=>e}}const p=20,w="menu.favorites";class Q{constructor(e){a(this,"_onDidChange",new D.Emitter);a(this,"onDidChange",this._onDidChange.event);this.storage=e}list(){return this.stored().filter(e=>typeof e=="string"&&L.isRegisteredActionId(e)).slice(0,p)}has(e){return this.list().includes(e)}add(e){const t=this.list();t.includes(e)||t.length>=p||this.write([...t,e])}remove(e){this.write(this.list().filter(t=>t!==e))}dispose(){this._onDidChange.dispose()}stored(){const e=this.storage.get(w,u.StorageScope.APPLICATION);if(e===void 0)return[];let t;try{t=JSON.parse(e)}catch(s){return d.onUnexpectedError(new Error("[menu favourites] the stored list is not JSON",{cause:s})),[]}return Array.isArray(t)?t:[]}write(e){this.storage.store(w,JSON.stringify(e.slice(0,p)),u.StorageScope.APPLICATION,u.StorageTarget.USER),this._onDidChange.fire()}}const y=["shown","skipped","completed"],T=r=>`onboarding:page:${r}`,v="onboarding:neverShowAgain",X=15e3;class ee{constructor(e){a(this,"activePage");a(this,"setActivePage");a(this,"seen",new Map);a(this,"neverShowAgainCache",null);a(this,"skipWelcomeFlag",!1);a(this,"hosts",new Set);a(this,"owner",null);a(this,"pending",null);this.storage=e;const[t,s]=R.createSignal(null);this.activePage=t,this.setActivePage=s}isActive(e){return this.activePage()===e}setActive(e){this.setActivePage(e)}readStatus(e){if(this.isNeverShowAgain())return"skipped";const t=this.seen.get(e);if(t!==void 0)return t;const s=this.storage.get(T(e),u.StorageScope.APPLICATION);return $.isOneOf(y,s)?s:void 0}writeStatus(e,t){this.seen.set(e,t),this.storage.store(T(e),t,u.StorageScope.APPLICATION,u.StorageTarget.MACHINE)}isNeverShowAgain(){return this.neverShowAgainCache===null&&(this.neverShowAgainCache=this.storage.get(v,u.StorageScope.APPLICATION)==="true"),this.neverShowAgainCache}setNeverShowAgain(e){this.neverShowAgainCache=e,this.storage.store(v,e?"true":"false",u.StorageScope.APPLICATION,u.StorageTarget.MACHINE)}skipWelcome(){return this.skipWelcomeFlag}setSkipWelcome(e){this.skipWelcomeFlag=e}claim(e){return this.owner&&this.owner!==e?!1:(this.owner=e,!0)}release(e){this.owner===e&&(this.owner=null)}registerHost(e){return this.hosts.add(e),()=>this.hosts.delete(e)}request(e){var i;this.pending=null,this.owner=null;for(const c of this.hosts)(!e||c.page!==e)&&((i=c.dismiss)==null||i.call(c));const t=Array.from(this.hosts).filter(c=>c.visible()&&(!e||c.page===e)),s=P.getActiveWindow().document,n=t.find(c=>c.document()===s)??t[0];return n?(n.start(),!0):(e&&(this.pending={page:e,expires:Date.now()+X}),!1)}consumeRequest(e){if(!this.pending||this.pending.page!==e)return!1;const t=this.pending.expires>Date.now();return this.pending=null,t}}exports.DEFAULT_LOG_LEVEL=b;exports.LogLevel=o;exports.MenuFavoritesService=Q;exports.PageTourService=ee;exports.TOUR_STATUSES=y;exports.attachedErrorActions=k;exports.canLog=m;exports.createConsoleLogger=J;exports.createPanelCommandRegistry=B;exports.messageErrorPresenter=Y;exports.withErrorActions=G;
@@ -1,19 +1,19 @@
1
- var y = Object.defineProperty;
2
- var I = (s, t, e) => t in s ? y(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e;
3
- var a = (s, t, e) => I(s, typeof t != "symbol" ? t + "" : t, e);
4
- import { o as b, s as C, t as O } from "./errorHandler-BvPGW-Nm.js";
5
- import { E as k } from "./electronBridge-BK92fycw.js";
6
- import { i as P } from "./actions-wwAHs3ZU.js";
7
- import { S as l, a as A } from "./stateDbStore-DHZFUIEt.js";
1
+ var k = Object.defineProperty;
2
+ var y = (s, t, e) => t in s ? k(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e;
3
+ var a = (s, t, e) => y(s, typeof t != "symbol" ? t + "" : t, e);
4
+ import { o as T, s as I, t as C } from "./errorHandler-BvPGW-Nm.js";
5
+ import { E as D } from "./electronBridge-BK92fycw.js";
6
+ import { i as O } from "./actions-wwAHs3ZU.js";
7
+ import { S as h, a as p } from "./stateDbStore-DHZFUIEt.js";
8
8
  import { createSignal as R } from "solid-js";
9
9
  import { a as L } from "./windowRegistry-DeGmXt6W.js";
10
- import { i as $ } from "./isOneOf-Dtomuazg.js";
11
- var o = /* @__PURE__ */ ((s) => (s[s.Off = 0] = "Off", s[s.Trace = 1] = "Trace", s[s.Debug = 2] = "Debug", s[s.Info = 3] = "Info", s[s.Warn = 4] = "Warn", s[s.Error = 5] = "Error", s[s.Audit = 6] = "Audit", s))(o || {});
12
- const N = 3;
13
- function W(s, t) {
10
+ import { i as P } from "./isOneOf-Dtomuazg.js";
11
+ var i = /* @__PURE__ */ ((s) => (s[s.Off = 0] = "Off", s[s.Trace = 1] = "Trace", s[s.Debug = 2] = "Debug", s[s.Info = 3] = "Info", s[s.Warn = 4] = "Warn", s[s.Error = 5] = "Error", s[s.Audit = 6] = "Audit", s))(i || {});
12
+ const $ = 3;
13
+ function N(s, t) {
14
14
  return t === 6 ? !0 : s === 0 ? !1 : s <= t;
15
15
  }
16
- class x {
16
+ class W {
17
17
  constructor() {
18
18
  a(this, "_store", /* @__PURE__ */ new Set());
19
19
  a(this, "_isDisposed", !1);
@@ -31,18 +31,18 @@ class x {
31
31
  try {
32
32
  t.dispose();
33
33
  } catch (e) {
34
- b(e, { source: "dispose" });
34
+ T(e, { source: "dispose" });
35
35
  }
36
36
  this._store.clear();
37
37
  }
38
38
  }
39
39
  }
40
- class M extends x {
41
- constructor(e = N) {
40
+ class x extends W {
41
+ constructor(e = $) {
42
42
  super();
43
43
  a(this, "_level");
44
44
  a(this, "_onDidChangeLogLevel", this._register(
45
- new k()
45
+ new D()
46
46
  ));
47
47
  a(this, "onDidChangeLogLevel", this._onDidChangeLogLevel.event);
48
48
  this._level = e;
@@ -54,17 +54,17 @@ class M extends x {
54
54
  this._level !== e && (this._level = e, this._onDidChangeLogLevel.fire(e));
55
55
  }
56
56
  canLog(e) {
57
- return W(this._level, e);
57
+ return N(this._level, e);
58
58
  }
59
59
  withTag(e) {
60
60
  return this;
61
61
  }
62
62
  }
63
- const m = "[REDACTED]";
64
- function U(s) {
65
- return s ? m : "";
63
+ const E = "[REDACTED]";
64
+ function M(s) {
65
+ return s ? E : "";
66
66
  }
67
- const j = [
67
+ const U = [
68
68
  "password",
69
69
  "pass",
70
70
  "pwd",
@@ -99,9 +99,9 @@ const j = [
99
99
  "session_id",
100
100
  "cookie",
101
101
  "authorization"
102
- ], F = new Set(
103
- j.map((s) => s.toLowerCase().replace(/[-_]/g, ""))
104
- ), z = [
102
+ ], j = new Set(
103
+ U.map((s) => s.toLowerCase().replace(/[-_]/g, ""))
104
+ ), F = [
105
105
  /eyJ[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+/,
106
106
  /sk-[A-Za-z0-9]{20,}/,
107
107
  /AKIA[0-9A-Z]{16}/,
@@ -109,51 +109,51 @@ const j = [
109
109
  /gho_[A-Za-z0-9]{36}/,
110
110
  /xoxb-[0-9]+-[0-9]+-[A-Za-z0-9]+/
111
111
  ];
112
- function V(s) {
113
- return F.has(s.toLowerCase().replace(/[-_]/g, ""));
112
+ function z(s) {
113
+ return j.has(s.toLowerCase().replace(/[-_]/g, ""));
114
114
  }
115
- function g(s) {
116
- for (const t of z)
115
+ function f(s) {
116
+ for (const t of F)
117
117
  if (t.test(s))
118
- return m;
118
+ return E;
119
119
  return s;
120
120
  }
121
- function d(s) {
121
+ function l(s) {
122
122
  const t = {};
123
123
  for (const [e, r] of Object.entries(s))
124
- V(e) ? t[e] = typeof r == "string" ? U(r) : m : typeof r == "string" ? t[e] = g(r) : Array.isArray(r) ? t[e] = r.map((n) => typeof n == "string" ? g(n) : n && typeof n == "object" && !(n instanceof Error) && !(n instanceof Date) ? d(n) : n) : r && typeof r == "object" && !(r instanceof Error) && !(r instanceof Date) ? t[e] = d(r) : t[e] = r;
124
+ z(e) ? t[e] = typeof r == "string" ? M(r) : E : typeof r == "string" ? t[e] = f(r) : Array.isArray(r) ? t[e] = r.map((n) => typeof n == "string" ? f(n) : n && typeof n == "object" && !(n instanceof Error) && !(n instanceof Date) ? l(n) : n) : r && typeof r == "object" && !(r instanceof Error) && !(r instanceof Date) ? t[e] = l(r) : t[e] = r;
125
125
  return t;
126
126
  }
127
- function Z(s) {
128
- return C(g(s));
127
+ function V(s) {
128
+ return I(f(s));
129
129
  }
130
- function E(s) {
131
- return typeof s == "string" ? g(s) : Array.isArray(s) ? s.map((t) => typeof t == "string" ? g(t) : t && typeof t == "object" && !(t instanceof Error) && !(t instanceof Date) ? d(t) : t) : s && typeof s == "object" && !(s instanceof Error) && !(s instanceof Date) ? d(s) : s;
130
+ function _(s) {
131
+ return typeof s == "string" ? f(s) : Array.isArray(s) ? s.map((t) => typeof t == "string" ? f(t) : t && typeof t == "object" && !(t instanceof Error) && !(t instanceof Date) ? l(t) : t) : s && typeof s == "object" && !(s instanceof Error) && !(s instanceof Date) ? l(s) : s;
132
132
  }
133
- class K extends M {
133
+ class Z extends x {
134
134
  constructor(t) {
135
135
  super(t);
136
136
  }
137
137
  trace(t, ...e) {
138
- this.canLog(o.Trace) && this.log(o.Trace, h(t, e), e);
138
+ this.canLog(i.Trace) && this.log(i.Trace, u(t, e), e);
139
139
  }
140
140
  debug(t, ...e) {
141
- this.canLog(o.Debug) && this.log(o.Debug, h(t, e), e);
141
+ this.canLog(i.Debug) && this.log(i.Debug, u(t, e), e);
142
142
  }
143
143
  info(t, ...e) {
144
- this.canLog(o.Info) && this.log(o.Info, h(t, e), e);
144
+ this.canLog(i.Info) && this.log(i.Info, u(t, e), e);
145
145
  }
146
146
  warn(t, ...e) {
147
- this.canLog(o.Warn) && this.log(o.Warn, h(t, e), e);
147
+ this.canLog(i.Warn) && this.log(i.Warn, u(t, e), e);
148
148
  }
149
149
  error(t, ...e) {
150
- if (!this.canLog(o.Error)) return;
150
+ if (!this.canLog(i.Error)) return;
151
151
  if (t instanceof Error) {
152
152
  const n = t;
153
153
  this.log(
154
- o.Error,
155
- h(`${n.message}
156
- ${S(n)}`, e),
154
+ i.Error,
155
+ u(`${n.message}
156
+ ${w(n)}`, e),
157
157
  [n, ...e]
158
158
  );
159
159
  return;
@@ -161,34 +161,34 @@ ${S(n)}`, e),
161
161
  const r = e[0];
162
162
  if (r instanceof Error) {
163
163
  this.log(
164
- o.Error,
165
- h(
164
+ i.Error,
165
+ u(
166
166
  `${t}: ${r.message}
167
- ${S(r)}`,
167
+ ${w(r)}`,
168
168
  e.slice(1)
169
169
  ),
170
170
  e
171
171
  );
172
172
  return;
173
173
  }
174
- this.log(o.Error, h(t, e), e);
174
+ this.log(i.Error, u(t, e), e);
175
175
  }
176
176
  audit(t, e, r, ...n) {
177
- if (!this.canLog(o.Audit)) return;
178
- const i = { action: t, userId: e, resource: r, args: n }, f = h(
177
+ if (!this.canLog(i.Audit)) return;
178
+ const o = { action: t, userId: e, resource: r, args: n }, c = u(
179
179
  `AUDIT: User ${e} performed ${t} on ${r}`,
180
180
  n
181
181
  );
182
- this.log(o.Audit, f, n, i);
182
+ this.log(i.Audit, c, n, o);
183
183
  }
184
184
  }
185
- function S(s) {
185
+ function w(s) {
186
186
  if (!s.stack) return s.message;
187
187
  const t = s.stack.indexOf(`
188
188
  `);
189
189
  return t >= 0 ? s.stack.slice(t + 1) : s.message;
190
190
  }
191
- function h(s, t = []) {
191
+ function u(s, t = []) {
192
192
  if (t.length === 0) return s;
193
193
  const e = [s];
194
194
  for (const r of t)
@@ -198,32 +198,32 @@ function h(s, t = []) {
198
198
  ${r.stack ?? ""}`);
199
199
  else if (typeof r == "object")
200
200
  try {
201
- e.push(JSON.stringify(E(r)));
201
+ e.push(JSON.stringify(_(r)));
202
202
  } catch {
203
203
  e.push(String(r));
204
204
  }
205
205
  else
206
- e.push(String(E(r)));
206
+ e.push(String(_(r)));
207
207
  return e.length === 1 ? e[0] : e.join(" ");
208
208
  }
209
- class H extends K {
209
+ class K extends Z {
210
210
  constructor(e = [], r, n) {
211
211
  super(r);
212
212
  a(this, "_transports");
213
213
  a(this, "_tag");
214
214
  this._transports = e, this._tag = n ?? "";
215
215
  }
216
- log(e, r, n = [], i) {
217
- const f = {
216
+ log(e, r, n = [], o) {
217
+ const c = {
218
218
  level: e,
219
219
  tag: this._tag,
220
- message: Z(r),
220
+ message: V(r),
221
221
  timestamp: /* @__PURE__ */ new Date(),
222
- args: n.map(E),
223
- ...i ? { audit: i } : {}
222
+ args: n.map(_),
223
+ ...o ? { audit: o } : {}
224
224
  };
225
- for (const c of this._transports)
226
- c.log(f);
225
+ for (const b of this._transports)
226
+ b.log(c);
227
227
  }
228
228
  flush() {
229
229
  var e;
@@ -240,10 +240,10 @@ class H extends K {
240
240
  this._transports.push(e);
241
241
  }
242
242
  withTag(e) {
243
- return new p(this, e);
243
+ return new g(this, e);
244
244
  }
245
245
  }
246
- class p {
246
+ class g {
247
247
  constructor(t, e) {
248
248
  a(this, "_fullTag");
249
249
  this._parent = t;
@@ -258,27 +258,27 @@ class p {
258
258
  }
259
259
  setLevel(t) {
260
260
  this._getRoot().debug(
261
- `TaggedLogger.setLevel(${o[t]}) ignored on tagged child '[${this._fullTag}]' — call setLevel on the root logger instead.`
261
+ `TaggedLogger.setLevel(${i[t]}) ignored on tagged child '[${this._fullTag}]' — call setLevel on the root logger instead.`
262
262
  );
263
263
  }
264
264
  trace(t, ...e) {
265
- this._emit(o.Trace, t, e);
265
+ this._emit(i.Trace, t, e);
266
266
  }
267
267
  debug(t, ...e) {
268
- this._emit(o.Debug, t, e);
268
+ this._emit(i.Debug, t, e);
269
269
  }
270
270
  info(t, ...e) {
271
- this._emit(o.Info, t, e);
271
+ this._emit(i.Info, t, e);
272
272
  }
273
273
  warn(t, ...e) {
274
- this._emit(o.Warn, t, e);
274
+ this._emit(i.Warn, t, e);
275
275
  }
276
276
  error(t, ...e) {
277
277
  if (t instanceof Error) {
278
278
  const r = new Error(`[${this._fullTag}] ${t.message}`);
279
279
  t.stack && (r.stack = t.stack), this._getRoot().error(r, ...e);
280
280
  } else
281
- this._emit(o.Error, t, e);
281
+ this._emit(i.Error, t, e);
282
282
  }
283
283
  audit(t, e, r, ...n) {
284
284
  this._getRoot().audit(t, e, r, ...n);
@@ -287,85 +287,85 @@ class p {
287
287
  this._getRoot().flush();
288
288
  }
289
289
  withTag(t) {
290
- return new p(this, t);
290
+ return new g(this, t);
291
291
  }
292
292
  _emit(t, e, r) {
293
- const n = this._getRoot(), i = `[${this._fullTag}] ${e}`;
293
+ const n = this._getRoot(), o = `[${this._fullTag}] ${e}`;
294
294
  switch (t) {
295
- case o.Trace:
296
- n.trace(i, ...r);
295
+ case i.Trace:
296
+ n.trace(o, ...r);
297
297
  break;
298
- case o.Debug:
299
- n.debug(i, ...r);
298
+ case i.Debug:
299
+ n.debug(o, ...r);
300
300
  break;
301
- case o.Info:
302
- n.info(i, ...r);
301
+ case i.Info:
302
+ n.info(o, ...r);
303
303
  break;
304
- case o.Warn:
305
- n.warn(i, ...r);
304
+ case i.Warn:
305
+ n.warn(o, ...r);
306
306
  break;
307
- case o.Error:
308
- n.error(i, ...r);
307
+ case i.Error:
308
+ n.error(o, ...r);
309
309
  break;
310
310
  }
311
311
  }
312
312
  _getRoot() {
313
313
  let t = this._parent;
314
- for (; t instanceof p; )
314
+ for (; t instanceof g; )
315
315
  t = t._parent;
316
316
  return t;
317
317
  }
318
318
  }
319
- const J = {
320
- [o.Off]: "",
321
- [o.Trace]: "TRACE",
322
- [o.Debug]: "DEBUG",
323
- [o.Info]: "INFO",
324
- [o.Warn]: "WARN",
325
- [o.Error]: "ERROR",
326
- [o.Audit]: "AUDIT"
327
- }, G = {
328
- [o.Off]: "debug",
329
- [o.Trace]: "debug",
330
- [o.Debug]: "debug",
331
- [o.Info]: "info",
332
- [o.Warn]: "warn",
333
- [o.Error]: "error",
334
- [o.Audit]: "info"
319
+ const H = {
320
+ [i.Off]: "",
321
+ [i.Trace]: "TRACE",
322
+ [i.Debug]: "DEBUG",
323
+ [i.Info]: "INFO",
324
+ [i.Warn]: "WARN",
325
+ [i.Error]: "ERROR",
326
+ [i.Audit]: "AUDIT"
327
+ }, J = {
328
+ [i.Off]: "debug",
329
+ [i.Trace]: "debug",
330
+ [i.Debug]: "debug",
331
+ [i.Info]: "info",
332
+ [i.Warn]: "warn",
333
+ [i.Error]: "error",
334
+ [i.Audit]: "info"
335
335
  };
336
- class Y {
336
+ class G {
337
337
  log(t) {
338
- const e = J[t.level], r = t.tag ? ` ${t.tag}` : "", n = t.timestamp.toISOString(), i = G[t.level];
339
- console[i](`[${e}]${r} ${n} - ${t.message}`);
338
+ const e = H[t.level], r = t.tag ? ` ${t.tag}` : "", n = t.timestamp.toISOString(), o = J[t.level];
339
+ console[o](`[${e}]${r} ${n} - ${t.message}`);
340
340
  }
341
341
  }
342
- function at(s = o.Info) {
343
- return new H([new Y()], s);
342
+ function ot(s = i.Info) {
343
+ return new K([new G()], s);
344
344
  }
345
- const w = /* @__PURE__ */ new WeakMap();
346
- function ct(s, t) {
347
- return w.set(s, [...w.get(s) ?? [], ...t]), s;
345
+ const A = /* @__PURE__ */ new WeakMap();
346
+ function at(s, t) {
347
+ return A.set(s, [...A.get(s) ?? [], ...t]), s;
348
348
  }
349
- function q(s) {
350
- return typeof s == "object" && s !== null ? w.get(s) ?? [] : [];
349
+ function Y(s) {
350
+ return typeof s == "object" && s !== null ? A.get(s) ?? [] : [];
351
351
  }
352
- const ut = {
353
- text: (s, t) => O(s, t),
354
- actions: (s) => q(s)
352
+ const ct = {
353
+ text: (s, t) => C(s, t),
354
+ actions: (s) => Y(s)
355
355
  };
356
- function ft() {
356
+ function ut() {
357
357
  const s = [];
358
358
  let t = null;
359
359
  return {
360
360
  set: (n) => (s.push(n), () => {
361
- const i = s.lastIndexOf(n);
362
- i !== -1 && s.splice(i, 1), t === n && !s.includes(n) && (t = null);
361
+ const o = s.lastIndexOf(n);
362
+ o !== -1 && s.splice(o, 1), t === n && !s.includes(n) && (t = null);
363
363
  }),
364
364
  current: () => s.length > 0 ? s[s.length - 1] ?? null : null,
365
365
  find: (n) => {
366
- for (let i = s.length - 1; i >= 0; i -= 1) {
367
- const f = s[i];
368
- if (f !== void 0 && n(f)) return f;
366
+ for (let o = s.length - 1; o >= 0; o -= 1) {
367
+ const c = s[o];
368
+ if (c !== void 0 && n(c)) return c;
369
369
  }
370
370
  return null;
371
371
  },
@@ -375,22 +375,22 @@ function ft() {
375
375
  lastFocused: () => t
376
376
  };
377
377
  }
378
- const _ = 20, v = "menu.favorites";
378
+ const d = 20, S = "menu.favorites";
379
379
  class ht {
380
380
  constructor(t) {
381
- a(this, "_onDidChange", new k());
381
+ a(this, "_onDidChange", new D());
382
382
  a(this, "onDidChange", this._onDidChange.event);
383
383
  this.storage = t;
384
384
  }
385
385
  list() {
386
- return this.stored().filter((t) => typeof t == "string" && P(t)).slice(0, _);
386
+ return this.stored().filter((t) => typeof t == "string" && O(t)).slice(0, d);
387
387
  }
388
388
  has(t) {
389
389
  return this.list().includes(t);
390
390
  }
391
391
  add(t) {
392
392
  const e = this.list();
393
- e.includes(t) || e.length >= _ || this.write([...e, t]);
393
+ e.includes(t) || e.length >= d || this.write([...e, t]);
394
394
  }
395
395
  remove(t) {
396
396
  this.write(this.list().filter((e) => e !== t));
@@ -399,31 +399,27 @@ class ht {
399
399
  this._onDidChange.dispose();
400
400
  }
401
401
  stored() {
402
- const t = this.storage.get(v, l.APPLICATION);
402
+ const t = this.storage.get(S, h.APPLICATION);
403
403
  if (t === void 0) return [];
404
404
  let e;
405
405
  try {
406
406
  e = JSON.parse(t);
407
407
  } catch (r) {
408
- return b(new Error("[menu favourites] the stored list is not JSON", { cause: r })), [];
408
+ return T(new Error("[menu favourites] the stored list is not JSON", { cause: r })), [];
409
409
  }
410
410
  return Array.isArray(e) ? e : [];
411
411
  }
412
412
  write(t) {
413
413
  this.storage.store(
414
- v,
415
- JSON.stringify(t.slice(0, _)),
416
- l.APPLICATION,
417
- A.USER
414
+ S,
415
+ JSON.stringify(t.slice(0, d)),
416
+ h.APPLICATION,
417
+ p.USER
418
418
  ), this._onDidChange.fire();
419
419
  }
420
420
  }
421
- const B = ["shown", "skipped", "completed"];
422
- function u(s) {
423
- return s === "filesystem" ? "file-system" : s === "explorer" ? "database-explorer" : s;
424
- }
425
- const T = (s) => `onboarding:page:${u(s)}`, D = "onboarding:neverShowAgain", Q = 15e3;
426
- class lt {
421
+ const q = ["shown", "skipped", "completed"], m = (s) => `onboarding:page:${s}`, v = "onboarding:neverShowAgain", B = 15e3;
422
+ class ft {
427
423
  constructor(t) {
428
424
  a(this, "activePage");
429
425
  a(this, "setActivePage");
@@ -438,32 +434,30 @@ class lt {
438
434
  this.activePage = e, this.setActivePage = r;
439
435
  }
440
436
  isActive(t) {
441
- const e = this.activePage();
442
- return e !== null && u(e) === u(t);
437
+ return this.activePage() === t;
443
438
  }
444
439
  setActive(t) {
445
- this.setActivePage(t ? u(t) : null);
440
+ this.setActivePage(t);
446
441
  }
447
442
  readStatus(t) {
448
443
  if (this.isNeverShowAgain()) return "skipped";
449
- const e = u(t), r = this.seen.get(e);
450
- if (r !== void 0) return r;
451
- const n = this.storage.get(T(e), l.APPLICATION);
452
- return $(B, n) ? n : void 0;
444
+ const e = this.seen.get(t);
445
+ if (e !== void 0) return e;
446
+ const r = this.storage.get(m(t), h.APPLICATION);
447
+ return P(q, r) ? r : void 0;
453
448
  }
454
449
  writeStatus(t, e) {
455
- const r = u(t);
456
- this.seen.set(r, e), this.storage.store(T(r), e, l.APPLICATION, A.MACHINE);
450
+ this.seen.set(t, e), this.storage.store(m(t), e, h.APPLICATION, p.MACHINE);
457
451
  }
458
452
  isNeverShowAgain() {
459
- return this.neverShowAgainCache === null && (this.neverShowAgainCache = this.storage.get(D, l.APPLICATION) === "true"), this.neverShowAgainCache;
453
+ return this.neverShowAgainCache === null && (this.neverShowAgainCache = this.storage.get(v, h.APPLICATION) === "true"), this.neverShowAgainCache;
460
454
  }
461
455
  setNeverShowAgain(t) {
462
456
  this.neverShowAgainCache = t, this.storage.store(
463
- D,
457
+ v,
464
458
  t ? "true" : "false",
465
- l.APPLICATION,
466
- A.MACHINE
459
+ h.APPLICATION,
460
+ p.MACHINE
467
461
  );
468
462
  }
469
463
  skipWelcome() {
@@ -482,35 +476,32 @@ class lt {
482
476
  return this.hosts.add(t), () => this.hosts.delete(t);
483
477
  }
484
478
  request(t) {
485
- var f;
486
- this.pending = null;
487
- const e = t ? u(t) : void 0;
488
- this.owner = null;
479
+ var o;
480
+ this.pending = null, this.owner = null;
489
481
  for (const c of this.hosts)
490
- (!e || u(c.page) !== e) && ((f = c.dismiss) == null || f.call(c));
491
- const r = Array.from(this.hosts).filter(
492
- (c) => c.visible() && (!e || u(c.page) === e)
493
- ), n = L().document, i = r.find((c) => c.document() === n) ?? r[0];
494
- return i ? (i.start(), !0) : (e && (this.pending = { page: e, expires: Date.now() + Q }), !1);
482
+ (!t || c.page !== t) && ((o = c.dismiss) == null || o.call(c));
483
+ const e = Array.from(this.hosts).filter(
484
+ (c) => c.visible() && (!t || c.page === t)
485
+ ), r = L().document, n = e.find((c) => c.document() === r) ?? e[0];
486
+ return n ? (n.start(), !0) : (t && (this.pending = { page: t, expires: Date.now() + B }), !1);
495
487
  }
496
488
  consumeRequest(t) {
497
- if (!this.pending || u(this.pending.page) !== u(t))
489
+ if (!this.pending || this.pending.page !== t)
498
490
  return !1;
499
491
  const e = this.pending.expires > Date.now();
500
492
  return this.pending = null, e;
501
493
  }
502
494
  }
503
495
  export {
504
- N as D,
505
- o as L,
496
+ $ as D,
497
+ i as L,
506
498
  ht as M,
507
- lt as P,
508
- B as T,
509
- q as a,
510
- u as b,
511
- W as c,
512
- at as d,
513
- ft as e,
514
- ut as m,
515
- ct as w
499
+ ft as P,
500
+ q as T,
501
+ Y as a,
502
+ ot as b,
503
+ N as c,
504
+ ut as d,
505
+ ct as m,
506
+ at as w
516
507
  };