@vokril/ui-solid 0.9.3 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (607) hide show
  1. package/CHANGELOG.md +69 -0
  2. package/README.md +110 -31
  3. package/dist/{AttributeGrid-Bnn1w5XX.cjs → AttributeGrid-7cLOWtPn.cjs} +1 -1
  4. package/dist/{AttributeGrid-DJdW32LQ.js → AttributeGrid-CVyqzT7-.js} +5 -5
  5. package/dist/{Button-BZWXPn8y.js → Button-BiKPB3cH.js} +2 -2
  6. package/dist/{Button-X8QR6llv.cjs → Button-Nx7byQZc.cjs} +1 -1
  7. package/dist/CommandPalette-BFi0_e3t.cjs +2 -0
  8. package/dist/CommandPalette-CAH08DGN.js +4013 -0
  9. package/dist/{CopyButton-D3dIRRnn.js → CopyButton-BF7L1TCO.js} +1 -1
  10. package/dist/{CopyButton-3cX5MHAf.cjs → CopyButton-BtgGbiy9.cjs} +1 -1
  11. package/dist/DateRangePicker-Ce2tTbJ4.cjs +9 -0
  12. package/dist/{DateRangePicker-BcqoUao4.js → DateRangePicker-jSQBwB78.js} +181 -166
  13. package/dist/GuidedTour-CWDtBRHv.js +483 -0
  14. package/dist/GuidedTour-CYaR5Ozj.cjs +1 -0
  15. package/dist/HostPortal-B9Tzk_uN.cjs +1 -0
  16. package/dist/HostPortal-X1iw719T.js +33 -0
  17. package/dist/HostWindowContext-B2m0bVra.js +32 -0
  18. package/dist/HostWindowContext-_VZCt7xE.cjs +1 -0
  19. package/dist/{IconPicker-9tjEtmqt.cjs → IconPicker-4bdAeGxS.cjs} +1 -1
  20. package/dist/{IconPicker-CXbFmJ3y.js → IconPicker-Df6uIUpJ.js} +4 -4
  21. package/dist/{Input-BEnk4FCF.cjs → Input-CZruORyy.cjs} +1 -1
  22. package/dist/{Input-PZ5wRvPx.js → Input-DkPhsdfk.js} +2 -2
  23. package/dist/Modal-CQG8l4x7.cjs +1 -0
  24. package/dist/{Modal-CsiV55WW.js → Modal-CUPe98-o.js} +5 -5
  25. package/dist/PageSkeleton-C3mo6UGh.cjs +30 -0
  26. package/dist/{PageSkeleton-CyTXvZYm.js → PageSkeleton-CUTLh9Ip.js} +630 -628
  27. package/dist/{Popover-C24npAQ7.js → Popover-Dht1jFEy.js} +1 -1
  28. package/dist/{Popover-hhGcYQ-a.cjs → Popover-YfzC0Tjh.cjs} +1 -1
  29. package/dist/{SearchableSelect-C6KL7e42.js → SearchableSelect-C01brsF0.js} +5 -5
  30. package/dist/{SearchableSelect-zT8XNpmt.cjs → SearchableSelect-pCaUie2M.cjs} +1 -1
  31. package/dist/StatusBarNotificationBell-BwqVV09r.js +14266 -0
  32. package/dist/StatusBarNotificationBell-C5Zc2IvW.cjs +50 -0
  33. package/dist/{Stepper-BxXwbDq4.js → Stepper-38IAEOyT.js} +3 -3
  34. package/dist/{Stepper-DoJFCfC7.cjs → Stepper-CtaTpnQu.cjs} +1 -1
  35. package/dist/{Textarea-BUxibzkR.js → Textarea-B5QqqKnI.js} +1 -1
  36. package/dist/{Textarea-BunKEY68.cjs → Textarea-CeAGf08O.cjs} +1 -1
  37. package/dist/{TimeSeriesChart-DBrDzBGE.js → TimeSeriesChart-ByKG4E1G.js} +2 -2
  38. package/dist/{TimeSeriesChart-CS4jQflv.cjs → TimeSeriesChart-_NOs_Job.cjs} +1 -1
  39. package/dist/ToggleButton-Bz3zAtec.cjs +1 -0
  40. package/dist/{ToggleButton-BfjXnp-P.js → ToggleButton-D-N0C2Fu.js} +54 -53
  41. package/dist/_internal/app/keybindings/context/keybindingsContext.d.cts +11 -6
  42. package/dist/_internal/app/keybindings/context/keybindingsContext.d.ts +11 -6
  43. package/dist/_internal/app/keybindings/context/useFocusClaim.d.cts +4 -3
  44. package/dist/_internal/app/keybindings/context/useFocusClaim.d.ts +4 -3
  45. package/dist/_internal/app/keybindings/context/useListCommands.d.cts +6 -5
  46. package/dist/_internal/app/keybindings/context/useListCommands.d.ts +6 -5
  47. package/dist/_internal/app/keybindings/index.d.cts +0 -10
  48. package/dist/_internal/app/keybindings/index.d.ts +0 -10
  49. package/dist/_internal/app/keybindings/panelCommandsRegistry.d.cts +14 -9
  50. package/dist/_internal/app/keybindings/panelCommandsRegistry.d.ts +14 -9
  51. package/dist/_internal/app/menu/menuFavorites.d.cts +35 -8
  52. package/dist/_internal/app/menu/menuFavorites.d.ts +35 -8
  53. package/dist/_internal/app/onboarding/pageTourState.d.cts +75 -22
  54. package/dist/_internal/app/onboarding/pageTourState.d.ts +75 -22
  55. package/dist/_internal/app/platform/electronBridge.d.cts +35 -29
  56. package/dist/_internal/app/platform/electronBridge.d.ts +35 -29
  57. package/dist/_internal/app/settings/secrets/notificationSecrets.d.cts +27 -14
  58. package/dist/_internal/app/settings/secrets/notificationSecrets.d.ts +27 -14
  59. package/dist/_internal/app/windows/window/HostWindowContext.d.cts +8 -14
  60. package/dist/_internal/app/windows/window/HostWindowContext.d.ts +8 -14
  61. package/dist/_internal/contract/catalogNotify.d.cts +6 -19
  62. package/dist/_internal/contract/catalogNotify.d.ts +6 -19
  63. package/dist/_internal/contract/hostErrorText.d.cts +13 -23
  64. package/dist/_internal/contract/hostErrorText.d.ts +13 -23
  65. package/dist/_internal/contract/notificationCatalog.d.cts +16 -5
  66. package/dist/_internal/contract/notificationCatalog.d.ts +16 -5
  67. package/dist/_internal/platform/a11y/announcerService.d.cts +9 -13
  68. package/dist/_internal/platform/a11y/announcerService.d.ts +9 -13
  69. package/dist/_internal/platform/errors/diagnosticReport.d.cts +3 -1
  70. package/dist/_internal/platform/errors/diagnosticReport.d.ts +3 -1
  71. package/dist/_internal/platform/logging/consoleLogger.d.cts +7 -0
  72. package/dist/_internal/platform/logging/consoleLogger.d.ts +7 -0
  73. package/dist/_internal/platform/settings/registry/defineSettings.d.cts +19 -8
  74. package/dist/_internal/platform/settings/registry/defineSettings.d.ts +19 -8
  75. package/dist/_internal/platform/settings/registry/stateDbStore.d.cts +23 -15
  76. package/dist/_internal/platform/settings/registry/stateDbStore.d.ts +23 -15
  77. package/dist/_internal/platform/settings/settingsTypes.d.cts +0 -5
  78. package/dist/_internal/platform/settings/settingsTypes.d.ts +0 -5
  79. package/dist/_internal/platform/vendorErrors/index.d.cts +7 -17
  80. package/dist/_internal/platform/vendorErrors/index.d.ts +7 -17
  81. package/dist/_internal/platform/window/displayOwner.d.cts +35 -14
  82. package/dist/_internal/platform/window/displayOwner.d.ts +35 -14
  83. package/dist/a11y/index.cjs +1 -1
  84. package/dist/a11y/index.js +1 -1
  85. package/dist/actions-DtaFGwh2.cjs +1 -0
  86. package/dist/actions-wwAHs3ZU.js +16 -0
  87. package/dist/{server/appThemeDerivation-BiCyiSuz.js → appThemeDerivation-B7-DjMIM.js} +181 -184
  88. package/dist/appThemeDerivation-NS3Vws8q.cjs +1 -0
  89. package/dist/async/createGuardedListLoader.d.cts +3 -0
  90. package/dist/async/createGuardedListLoader.d.ts +3 -0
  91. package/dist/charts/index.cjs +1 -1
  92. package/dist/charts/index.js +1 -1
  93. package/dist/createDialogShellFocus-BBFu3Z_O.js +282 -0
  94. package/dist/createDialogShellFocus-CxRqhbRN.cjs +1 -0
  95. package/dist/createResizableSidebar-CfFxQUny.js +449 -0
  96. package/dist/createResizableSidebar-q7aC7SAO.cjs +1 -0
  97. package/dist/{createVirtualScroller-LN-7QFiv.cjs → createVirtualScroller-CL49JE2P.cjs} +1 -1
  98. package/dist/{server/createVirtualScroller-DBvqT0UW.js → createVirtualScroller-vu-l4rVv.js} +7 -7
  99. package/dist/defineSettings-D0CSMcyy.cjs +1 -0
  100. package/dist/defineSettings-Di1sG81q.js +407 -0
  101. package/dist/descriptor-CaHgh9N_.cjs +1 -0
  102. package/dist/{descriptor-B1MaujhY.js → descriptor-eGtcBtpI.js} +5 -5
  103. package/dist/desktop/index.cjs +1 -1
  104. package/dist/desktop/index.js +500 -426
  105. package/dist/dialogFocusRestore-BrALT8Ew.js +35 -0
  106. package/dist/dialogFocusRestore-CcEsB50v.cjs +1 -0
  107. package/dist/electronBridge-BK92fycw.js +235 -0
  108. package/dist/electronBridge-cT0xww92.cjs +1 -0
  109. package/dist/errorHandler-BvPGW-Nm.js +373 -0
  110. package/dist/errorHandler-DoDAPpv2.cjs +3 -0
  111. package/dist/feedback/Loader.d.cts +6 -1
  112. package/dist/feedback/Loader.d.ts +6 -1
  113. package/dist/feedback/createPreference.d.cts +4 -1
  114. package/dist/feedback/createPreference.d.ts +4 -1
  115. package/dist/feedback/guidedInstallOutcome.d.cts +15 -2
  116. package/dist/feedback/guidedInstallOutcome.d.ts +15 -2
  117. package/dist/feedback/index.cjs +1 -1
  118. package/dist/feedback/index.js +37 -38
  119. package/dist/feedback/readFailureText.d.cts +20 -1
  120. package/dist/feedback/readFailureText.d.ts +20 -1
  121. package/dist/focusModality-BISb6-yg.cjs +1 -0
  122. package/dist/focusModality-FoLPWF-_.js +135 -0
  123. package/dist/forms/index.cjs +1 -1
  124. package/dist/forms/index.js +9 -9
  125. package/dist/grid/index.cjs +1 -1
  126. package/dist/grid/index.js +1 -1
  127. package/dist/{headerIconOverrides-64lFnqTt.cjs → headerIconOverrides-Bn1QuODq.cjs} +1 -1
  128. package/dist/{server/headerIconOverrides-BCzeaBA1.js → headerIconOverrides-Dh2PaOcO.js} +1 -1
  129. package/dist/host/index.cjs +1 -1
  130. package/dist/host/index.d.cts +15 -16
  131. package/dist/host/index.d.ts +15 -16
  132. package/dist/host/index.js +56 -90
  133. package/dist/host/kitHost.d.cts +65 -0
  134. package/dist/host/kitHost.d.ts +65 -0
  135. package/dist/host/window.d.cts +3 -11
  136. package/dist/host/window.d.ts +3 -11
  137. package/dist/i18n/index.cjs +1 -1
  138. package/dist/i18n/index.js +1 -1
  139. package/dist/{i18n-CYq-dVvv.js → i18n-DW9kcu0G.js} +180 -178
  140. package/dist/i18n-DZ0JlZal.cjs +4 -0
  141. package/dist/index.cjs +1 -1
  142. package/dist/index.d.cts +1 -1
  143. package/dist/index.d.ts +1 -1
  144. package/dist/index.js +973 -992
  145. package/dist/isOneOf-9EXOSYJu.cjs +1 -0
  146. package/dist/isOneOf-Dtomuazg.js +6 -0
  147. package/dist/{keys-Bfgdfak_.js → keys-B2nlkpqc.js} +6 -9
  148. package/dist/keys-GMxY2wcl.cjs +1 -0
  149. package/dist/kitHost-BfJExE1G.cjs +1 -0
  150. package/dist/kitHost-CVAEi9sF.js +23 -0
  151. package/dist/layout/createResizableSidebar.d.cts +14 -0
  152. package/dist/layout/createResizableSidebar.d.ts +14 -0
  153. package/dist/layout/index.cjs +1 -1
  154. package/dist/layout/index.js +3 -3
  155. package/dist/layout/sidebarWidthClamp.d.cts +1 -1
  156. package/dist/layout/sidebarWidthClamp.d.ts +1 -1
  157. package/dist/mainRealmDom-C12lr9lm.js +171 -0
  158. package/dist/mainRealmDom-S6teqEr4.cjs +1 -0
  159. package/dist/navigation/index.cjs +1 -1
  160. package/dist/navigation/index.js +1 -1
  161. package/dist/notifications/NotificationHost.d.cts +7 -1
  162. package/dist/notifications/NotificationHost.d.ts +7 -1
  163. package/dist/notifications/NotificationItem.d.cts +48 -15
  164. package/dist/notifications/NotificationItem.d.ts +48 -15
  165. package/dist/notifications/catalogAdapter.d.cts +28 -6
  166. package/dist/notifications/catalogAdapter.d.ts +28 -6
  167. package/dist/notifications/createNotificationPreviewRuntime.d.cts +21 -3
  168. package/dist/notifications/createNotificationPreviewRuntime.d.ts +21 -3
  169. package/dist/notifications/customSoundCache.d.cts +24 -24
  170. package/dist/notifications/customSoundCache.d.ts +24 -24
  171. package/dist/notifications/emailDigest.d.cts +34 -16
  172. package/dist/notifications/emailDigest.d.ts +34 -16
  173. package/dist/notifications/errorActionButtons.d.cts +18 -1
  174. package/dist/notifications/errorActionButtons.d.ts +18 -1
  175. package/dist/notifications/fireNotification.d.cts +27 -17
  176. package/dist/notifications/fireNotification.d.ts +27 -17
  177. package/dist/notifications/index.cjs +1 -1
  178. package/dist/notifications/index.d.cts +7 -12
  179. package/dist/notifications/index.d.ts +7 -12
  180. package/dist/notifications/index.js +64 -98
  181. package/dist/notifications/nativeEngine.d.cts +18 -15
  182. package/dist/notifications/nativeEngine.d.ts +18 -15
  183. package/dist/notifications/notificationAnalytics.d.cts +11 -6
  184. package/dist/notifications/notificationAnalytics.d.ts +11 -6
  185. package/dist/notifications/notificationAudio.d.cts +30 -23
  186. package/dist/notifications/notificationAudio.d.ts +30 -23
  187. package/dist/notifications/notificationCardServices.d.cts +23 -0
  188. package/dist/notifications/notificationCardServices.d.ts +23 -0
  189. package/dist/notifications/notificationOverlayChannel.d.cts +4 -4
  190. package/dist/notifications/notificationOverlayChannel.d.ts +4 -4
  191. package/dist/notifications/notificationOverlaySync.d.cts +7 -2
  192. package/dist/notifications/notificationOverlaySync.d.ts +7 -2
  193. package/dist/notifications/notificationService.d.cts +101 -0
  194. package/dist/notifications/notificationService.d.ts +101 -0
  195. package/dist/notifications/notificationTimeline.d.cts +47 -49
  196. package/dist/notifications/notificationTimeline.d.ts +47 -49
  197. package/dist/notifications/notifications.notifications.d.cts +0 -4
  198. package/dist/notifications/notifications.notifications.d.ts +0 -4
  199. package/dist/notifications/toast.d.cts +24 -28
  200. package/dist/notifications/toast.d.ts +24 -28
  201. package/dist/notifications/webhookDelivery.d.cts +12 -17
  202. package/dist/notifications/webhookDelivery.d.ts +12 -17
  203. package/dist/overlay/ConfirmDialog.d.cts +20 -10
  204. package/dist/overlay/ConfirmDialog.d.ts +20 -10
  205. package/dist/overlay/DangerousActionDialog.d.cts +2 -2
  206. package/dist/overlay/DangerousActionDialog.d.ts +2 -2
  207. package/dist/overlay/command-palette/unifiedSearch/databaseObjectSearchContributor.d.cts +15 -14
  208. package/dist/overlay/command-palette/unifiedSearch/databaseObjectSearchContributor.d.ts +15 -14
  209. package/dist/overlay/command-palette/unifiedSearch/settingsSearchContributor.d.cts +1 -3
  210. package/dist/overlay/command-palette/unifiedSearch/settingsSearchContributor.d.ts +1 -3
  211. package/dist/overlay/command-palette/unifiedSearch/unifiedSearchTypes.d.cts +1 -1
  212. package/dist/overlay/command-palette/unifiedSearch/unifiedSearchTypes.d.ts +1 -1
  213. package/dist/overlay/index.cjs +1 -1
  214. package/dist/overlay/index.d.cts +2 -3
  215. package/dist/overlay/index.d.ts +2 -3
  216. package/dist/overlay/index.js +114 -119
  217. package/dist/pageTourState-BcBF8w89.js +516 -0
  218. package/dist/pageTourState-CrbEU7QW.cjs +5 -0
  219. package/dist/server/{AttributeGrid-BCYNwNjw.js → AttributeGrid-B2s_rp00.js} +3 -3
  220. package/dist/server/{AttributeGrid-BVAQshm3.cjs → AttributeGrid-C7aWbIe5.cjs} +1 -1
  221. package/dist/server/{Button-BhqhjFpY.js → Button-Ck03cbUs.js} +1 -1
  222. package/dist/server/{Button-CFOM8pOv.cjs → Button-DWFMF5y0.cjs} +1 -1
  223. package/dist/server/CommandPalette-2UppyMxU.js +3271 -0
  224. package/dist/server/CommandPalette-DwpZyhO6.cjs +1 -0
  225. package/dist/server/{CopyButton-C2jzn9tR.cjs → CopyButton-BOmAUQD4.cjs} +1 -1
  226. package/dist/server/{CopyButton-CChDa2p3.js → CopyButton-UvtFwOtA.js} +1 -1
  227. package/dist/server/DateRangePicker-BJteKzOY.cjs +9 -0
  228. package/dist/server/{DateRangePicker-QV6U1adB.js → DateRangePicker-Cr58DczM.js} +158 -143
  229. package/dist/server/GuidedTour-C4msn-Ag.js +400 -0
  230. package/dist/server/GuidedTour-Rlsp8rOe.cjs +1 -0
  231. package/dist/server/HostPortal-B9Tzk_uN.cjs +1 -0
  232. package/dist/server/HostPortal-X1iw719T.js +33 -0
  233. package/dist/server/HostWindowContext-B2m0bVra.js +32 -0
  234. package/dist/server/HostWindowContext-_VZCt7xE.cjs +1 -0
  235. package/dist/server/{IconPicker-BEACrT09.cjs → IconPicker-9DfOxql6.cjs} +1 -1
  236. package/dist/server/{IconPicker-at_coEi6.js → IconPicker-N0wub1Aj.js} +4 -4
  237. package/dist/server/Modal-D__GTo-n.cjs +1 -0
  238. package/dist/server/{Modal-usxkqDtK.js → Modal-DeQjfpkG.js} +3 -3
  239. package/dist/server/{PageSkeleton-Bpgep9QW.js → PageSkeleton-C41pXOcr.js} +457 -455
  240. package/dist/server/PageSkeleton-D4i-UcnI.cjs +30 -0
  241. package/dist/server/{SearchableSelect-0dP7bp0a.js → SearchableSelect-CEcuBnge.js} +2 -2
  242. package/dist/server/{SearchableSelect-nMecJAYS.cjs → SearchableSelect-Ca9g8ztu.cjs} +1 -1
  243. package/dist/server/StatusBarNotificationBell-BotYny7q.cjs +49 -0
  244. package/dist/server/StatusBarNotificationBell-DyEQF2W7.js +13968 -0
  245. package/dist/server/{Stepper-DvoJXLcM.cjs → Stepper--pusyxso.cjs} +1 -1
  246. package/dist/server/{Stepper-B8hDDujj.js → Stepper-B_eL85hK.js} +1 -1
  247. package/dist/server/{TimeSeriesChart-C1LbL_xp.js → TimeSeriesChart-aSHquoBv.js} +1 -1
  248. package/dist/server/{TimeSeriesChart-DtldQrxS.cjs → TimeSeriesChart-nZeB5jtN.cjs} +1 -1
  249. package/dist/server/ToggleButton-57_0SA-V.cjs +1 -0
  250. package/dist/server/{ToggleButton--G4HCOTD.js → ToggleButton-DjlWwgLJ.js} +4 -4
  251. package/dist/server/VpTrash-D49oUUJh.cjs +1 -0
  252. package/dist/server/VpTrash-Dlq8o6Uv.js +298 -0
  253. package/dist/server/a11y/index.cjs +1 -1
  254. package/dist/server/a11y/index.js +1 -1
  255. package/dist/server/actions-DtaFGwh2.cjs +1 -0
  256. package/dist/server/actions-wwAHs3ZU.js +16 -0
  257. package/dist/{appThemeDerivation-BiCyiSuz.js → server/appThemeDerivation-B7-DjMIM.js} +181 -184
  258. package/dist/server/appThemeDerivation-NS3Vws8q.cjs +1 -0
  259. package/dist/server/charts/index.cjs +1 -1
  260. package/dist/server/charts/index.js +1 -1
  261. package/dist/server/{format-CW_FVfq2.js → createDialogShellFocus-DNjzmcGj.js} +110 -126
  262. package/dist/server/createDialogShellFocus-PRRfMli-.cjs +1 -0
  263. package/dist/server/createResizableSidebar-CZtGmUnA.cjs +1 -0
  264. package/dist/server/createResizableSidebar-DdWdAB9l.js +287 -0
  265. package/dist/server/{createVirtualScroller-LN-7QFiv.cjs → createVirtualScroller-CL49JE2P.cjs} +1 -1
  266. package/dist/{createVirtualScroller-DBvqT0UW.js → server/createVirtualScroller-vu-l4rVv.js} +7 -7
  267. package/dist/server/defineSettings-D0CSMcyy.cjs +1 -0
  268. package/dist/server/defineSettings-Di1sG81q.js +407 -0
  269. package/dist/server/descriptor-CEGvvJZh.cjs +1 -0
  270. package/dist/server/{descriptor-DWkJAggS.js → descriptor-GLoKPx6x.js} +4 -4
  271. package/dist/server/desktop/index.cjs +1 -1
  272. package/dist/server/desktop/index.js +389 -315
  273. package/dist/server/dialogFocusRestore-BrALT8Ew.js +35 -0
  274. package/dist/server/dialogFocusRestore-CcEsB50v.cjs +1 -0
  275. package/dist/server/electronBridge-BK92fycw.js +235 -0
  276. package/dist/server/electronBridge-cT0xww92.cjs +1 -0
  277. package/dist/server/errorHandler-BvPGW-Nm.js +373 -0
  278. package/dist/server/errorHandler-DoDAPpv2.cjs +3 -0
  279. package/dist/server/feedback/index.cjs +1 -1
  280. package/dist/server/feedback/index.js +37 -38
  281. package/dist/server/focusModality-D-nxv8Er.cjs +1 -0
  282. package/dist/server/focusModality-nWNVX3JG.js +126 -0
  283. package/dist/server/forms/index.cjs +1 -1
  284. package/dist/server/forms/index.js +7 -7
  285. package/dist/server/grid/index.cjs +1 -1
  286. package/dist/server/grid/index.js +1 -1
  287. package/dist/server/{headerIconOverrides-64lFnqTt.cjs → headerIconOverrides-Bn1QuODq.cjs} +1 -1
  288. package/dist/{headerIconOverrides-BCzeaBA1.js → server/headerIconOverrides-Dh2PaOcO.js} +1 -1
  289. package/dist/server/host/index.cjs +1 -1
  290. package/dist/server/host/index.js +56 -90
  291. package/dist/server/i18n/index.cjs +1 -1
  292. package/dist/server/i18n/index.js +1 -1
  293. package/dist/server/{i18n-CYq-dVvv.js → i18n-DW9kcu0G.js} +180 -178
  294. package/dist/server/i18n-DZ0JlZal.cjs +4 -0
  295. package/dist/server/{index-BFT4Uh9D.js → index-BNYr6EIW.js} +89 -90
  296. package/dist/server/index-Cqod09d_.cjs +1 -0
  297. package/dist/server/index.cjs +1 -1
  298. package/dist/server/index.js +1022 -1041
  299. package/dist/server/kitHost-BfJExE1G.cjs +1 -0
  300. package/dist/server/kitHost-CVAEi9sF.js +23 -0
  301. package/dist/server/layout/index.cjs +1 -1
  302. package/dist/server/layout/index.js +3 -3
  303. package/dist/server/mainRealmDom-DPNaDWtw.js +121 -0
  304. package/dist/server/mainRealmDom-DwZVMPnO.cjs +1 -0
  305. package/dist/server/navigation/index.cjs +1 -1
  306. package/dist/server/navigation/index.js +1 -1
  307. package/dist/server/notifications/index.cjs +1 -1
  308. package/dist/server/notifications/index.js +63 -97
  309. package/dist/server/overlay/index.cjs +1 -1
  310. package/dist/server/overlay/index.js +109 -114
  311. package/dist/server/pageTourState-BcBF8w89.js +516 -0
  312. package/dist/server/pageTourState-CrbEU7QW.cjs +5 -0
  313. package/dist/server/settings/index.cjs +1 -1
  314. package/dist/server/settings/index.js +23 -24
  315. package/dist/server/stateDbStore-CThsVch-.cjs +1 -0
  316. package/dist/server/stateDbStore-DHZFUIEt.js +57 -0
  317. package/dist/server/tokens/index.cjs +1 -1
  318. package/dist/server/tokens/index.js +19 -20
  319. package/dist/server/tree/index.cjs +1 -1
  320. package/dist/server/tree/index.js +1 -1
  321. package/dist/server/useListCommands-BO_XrRHj.js +38 -0
  322. package/dist/server/useListCommands-Dnm4ktP1.cjs +1 -0
  323. package/dist/server/useSettingsSubscription-DKjCwmRd.cjs +1 -0
  324. package/dist/{notification-DFbp3S_f.js → server/useSettingsSubscription-DLEk4k4j.js} +41 -32
  325. package/dist/server/window-CUK6x8Pj.js +36 -0
  326. package/dist/server/window-_BfSgFGO.cjs +1 -0
  327. package/dist/server/windowRegistry-CxXtP-iY.cjs +1 -0
  328. package/dist/server/windowRegistry-DeGmXt6W.js +20 -0
  329. package/dist/settings/index.cjs +1 -1
  330. package/dist/settings/index.d.cts +1 -1
  331. package/dist/settings/index.d.ts +1 -1
  332. package/dist/settings/index.js +23 -24
  333. package/dist/solid/_internal/app/keybindings/context/useFocusClaim.js +3 -10
  334. package/dist/solid/_internal/app/keybindings/context/useListCommands.js +1 -2
  335. package/dist/solid/_internal/app/keybindings/panelCommandsRegistry.js +8 -1
  336. package/dist/solid/_internal/app/menu/menuFavorites.js +45 -40
  337. package/dist/solid/_internal/app/onboarding/PageTourHost.jsx +22 -22
  338. package/dist/solid/_internal/app/onboarding/pageTourState.js +94 -92
  339. package/dist/solid/_internal/app/platform/electronBridge.js +15 -49
  340. package/dist/solid/_internal/app/settings/secrets/notificationSecrets.js +11 -29
  341. package/dist/solid/_internal/app/windows/window/HostWindowContext.jsx +4 -13
  342. package/dist/solid/_internal/contract/catalogNotify.js +1 -24
  343. package/dist/solid/_internal/contract/hostErrorText.js +1 -14
  344. package/dist/solid/_internal/contract/notificationCatalog.js +1 -1
  345. package/dist/solid/_internal/platform/a11y/announcerService.js +0 -24
  346. package/dist/solid/_internal/platform/errors/diagnosticReport.js +2 -3
  347. package/dist/solid/_internal/platform/logging/consoleLogger.js +6 -0
  348. package/dist/solid/_internal/platform/settings/registry/defineSettings.js +48 -20
  349. package/dist/solid/_internal/platform/settings/registry/stateDbStore.js +29 -19
  350. package/dist/solid/_internal/platform/vendorErrors/index.js +4 -17
  351. package/dist/solid/_internal/platform/window/displayOwner.js +105 -114
  352. package/dist/solid/a11y/AriaAnnouncer.jsx +5 -6
  353. package/dist/solid/async/createGuardedListLoader.js +1 -1
  354. package/dist/solid/desktop/menu/MenuPanel.jsx +7 -7
  355. package/dist/solid/feedback/ErrorBoundary.jsx +7 -4
  356. package/dist/solid/feedback/Loader.jsx +1 -2
  357. package/dist/solid/feedback/createPreference.js +3 -2
  358. package/dist/solid/feedback/guidedInstallOutcome.js +1 -2
  359. package/dist/solid/feedback/preference.notifications.js +1 -2
  360. package/dist/solid/feedback/readFailureText.js +1 -2
  361. package/dist/solid/host/index.js +9 -16
  362. package/dist/solid/host/kitHost.jsx +15 -0
  363. package/dist/solid/host/window.js +15 -22
  364. package/dist/solid/i18n/i18n.js +5 -6
  365. package/dist/solid/index.js +0 -1
  366. package/dist/solid/layout/createResizableSidebar.js +15 -23
  367. package/dist/solid/notifications/NotificationHost.jsx +21 -29
  368. package/dist/solid/notifications/NotificationItem.jsx +28 -103
  369. package/dist/solid/notifications/NotificationPanel.jsx +33 -44
  370. package/dist/solid/notifications/NotificationsCenter.jsx +22 -20
  371. package/dist/solid/notifications/StatusBarNotificationBell.jsx +4 -3
  372. package/dist/solid/notifications/catalogAdapter.js +61 -62
  373. package/dist/solid/notifications/createNotificationPreviewRuntime.js +29 -19
  374. package/dist/solid/notifications/customSoundCache.js +26 -21
  375. package/dist/solid/notifications/emailDigest.js +74 -86
  376. package/dist/solid/notifications/errorActionButtons.js +6 -11
  377. package/dist/solid/notifications/fireNotification.js +14 -19
  378. package/dist/solid/notifications/index.js +4 -12
  379. package/dist/solid/notifications/nativeEngine.js +6 -19
  380. package/dist/solid/notifications/notificationAnalytics.js +32 -38
  381. package/dist/solid/notifications/notificationAudio.js +77 -74
  382. package/dist/solid/notifications/notificationCardServices.js +34 -0
  383. package/dist/solid/notifications/notificationOverlayChannel.js +3 -3
  384. package/dist/solid/notifications/notificationOverlaySync.js +18 -23
  385. package/dist/solid/notifications/notificationService.js +135 -0
  386. package/dist/solid/notifications/notificationTimeline.js +117 -124
  387. package/dist/solid/notifications/notifications.notifications.js +3 -22
  388. package/dist/solid/notifications/toast.js +168 -213
  389. package/dist/solid/notifications/webhookDelivery.js +27 -53
  390. package/dist/solid/overlay/ConfirmDialog.jsx +2 -54
  391. package/dist/solid/overlay/command-palette/CommandPalette.jsx +3 -1
  392. package/dist/solid/overlay/command-palette/unifiedSearch/databaseObjectSearchContributor.js +26 -25
  393. package/dist/solid/overlay/command-palette/unifiedSearch/settingsSearchContributor.js +2 -7
  394. package/dist/solid/overlay/index.js +0 -3
  395. package/dist/solid/settings/index.js +1 -1
  396. package/dist/solid/tokens/index.js +1 -1
  397. package/dist/solid/tokens/palette/themeRegistry.js +20 -22
  398. package/dist/stateDbStore-CThsVch-.cjs +1 -0
  399. package/dist/stateDbStore-DHZFUIEt.js +57 -0
  400. package/dist/style.css +1 -1
  401. package/dist/tokens/index.cjs +1 -1
  402. package/dist/tokens/index.d.cts +1 -1
  403. package/dist/tokens/index.d.ts +1 -1
  404. package/dist/tokens/index.js +19 -20
  405. package/dist/tokens/palette/themeRegistry.d.cts +17 -22
  406. package/dist/tokens/palette/themeRegistry.d.ts +17 -22
  407. package/dist/{tooltipCoordinator-GV0L9lXH.js → tooltipCoordinator-BzxEyKhA.js} +2 -2
  408. package/dist/tooltipCoordinator-DslqMlsI.cjs +1 -0
  409. package/dist/tree/index.cjs +1 -1
  410. package/dist/tree/index.js +1 -1
  411. package/dist/ui.css +1 -1
  412. package/dist/{useFloatingDropdown-CfPEYRut.js → useFloatingDropdown-BN4J092P.js} +1 -1
  413. package/dist/{useFloatingDropdown-DcU7ozDg.cjs → useFloatingDropdown-D9OvEFAp.cjs} +1 -1
  414. package/dist/useListCommands-BO_XrRHj.js +38 -0
  415. package/dist/useListCommands-Dnm4ktP1.cjs +1 -0
  416. package/dist/useSettingsSubscription-DKjCwmRd.cjs +1 -0
  417. package/dist/{server/notification-DFbp3S_f.js → useSettingsSubscription-DLEk4k4j.js} +41 -32
  418. package/dist/window-CUK6x8Pj.js +36 -0
  419. package/dist/window-_BfSgFGO.cjs +1 -0
  420. package/dist/windowRegistry-CxXtP-iY.cjs +1 -0
  421. package/dist/windowRegistry-DeGmXt6W.js +20 -0
  422. package/package.json +1 -1
  423. package/dist/CommandPalette-DToM9pUp.cjs +0 -2
  424. package/dist/CommandPalette-ZCFlLqrP.js +0 -3950
  425. package/dist/DateRangePicker-DHI3SNna.cjs +0 -9
  426. package/dist/GuidedTour-B-BXe3ul.js +0 -11214
  427. package/dist/GuidedTour-c7XiyOmE.cjs +0 -21
  428. package/dist/HostWindowContext-DqDeJmBP.cjs +0 -1
  429. package/dist/HostWindowContext-KL4U1qUv.js +0 -40
  430. package/dist/Modal-DpDHzCWT.cjs +0 -1
  431. package/dist/PageSkeleton-DzKYTuNy.cjs +0 -30
  432. package/dist/Progress-B5YmNeyU.js +0 -56
  433. package/dist/Progress-BNy0wsJl.cjs +0 -1
  434. package/dist/StatusBarNotificationBell-CZmym2gV.js +0 -2140
  435. package/dist/StatusBarNotificationBell-DG8Pe6R-.cjs +0 -4
  436. package/dist/ToggleButton-Bjxv8KGH.cjs +0 -1
  437. package/dist/_internal/app/contexts/WorkspaceTabsContext.d.cts +0 -20
  438. package/dist/_internal/app/contexts/WorkspaceTabsContext.d.ts +0 -20
  439. package/dist/_internal/app/settings/theme/appThemeChange.d.cts +0 -20
  440. package/dist/_internal/app/settings/theme/appThemeChange.d.ts +0 -20
  441. package/dist/_internal/app/settings/ui/shell/openSettingsModal.d.cts +0 -6
  442. package/dist/_internal/app/settings/ui/shell/openSettingsModal.d.ts +0 -6
  443. package/dist/_internal/base/listenerDispatch.d.cts +0 -14
  444. package/dist/_internal/base/listenerDispatch.d.ts +0 -14
  445. package/dist/_internal/contract/appName.d.cts +0 -10
  446. package/dist/_internal/contract/appName.d.ts +0 -10
  447. package/dist/_internal/contract/hostText.d.cts +0 -25
  448. package/dist/_internal/contract/hostText.d.ts +0 -25
  449. package/dist/_internal/platform/instantiation/common/descriptors.d.cts +0 -9
  450. package/dist/_internal/platform/instantiation/common/descriptors.d.ts +0 -9
  451. package/dist/_internal/platform/instantiation/common/instantiation.d.cts +0 -99
  452. package/dist/_internal/platform/instantiation/common/instantiation.d.ts +0 -99
  453. package/dist/_internal/platform/instantiation/common/serviceCollection.d.cts +0 -8
  454. package/dist/_internal/platform/instantiation/common/serviceCollection.d.ts +0 -8
  455. package/dist/_internal/platform/logging/rendererLogging.d.cts +0 -65
  456. package/dist/_internal/platform/logging/rendererLogging.d.ts +0 -65
  457. package/dist/_internal/platform/settings/preferencesCache.d.cts +0 -162
  458. package/dist/_internal/platform/settings/preferencesCache.d.ts +0 -162
  459. package/dist/announcerService-B7yicxvU.js +0 -97
  460. package/dist/announcerService-D_pFE24a.cjs +0 -1
  461. package/dist/appThemeDerivation-DmKbTiFi.cjs +0 -1
  462. package/dist/catalogNotify-C9RzbC6x.cjs +0 -27
  463. package/dist/catalogNotify-CIhFuJ1b.js +0 -1210
  464. package/dist/createResizableSidebar-2TgiFZp1.js +0 -461
  465. package/dist/createResizableSidebar-pDoO-7q9.cjs +0 -1
  466. package/dist/defineSettings-By5ell8e.js +0 -391
  467. package/dist/defineSettings-DRv1FRbv.cjs +0 -1
  468. package/dist/descriptor-lw1fA9mi.cjs +0 -1
  469. package/dist/dialogFocusRestore-B4ggeVAM.js +0 -64
  470. package/dist/dialogFocusRestore-BcMPrbig.cjs +0 -1
  471. package/dist/displayOwner-BNw2Foa_.cjs +0 -1
  472. package/dist/displayOwner-B_ezJv-O.js +0 -75
  473. package/dist/feedback/preference.notifications.samples.d.cts +0 -1
  474. package/dist/feedback/preference.notifications.samples.d.ts +0 -1
  475. package/dist/focusModality-B150daiS.js +0 -133
  476. package/dist/focusModality-PPfeW05D.cjs +0 -1
  477. package/dist/format-Dih0q9gm.cjs +0 -1
  478. package/dist/format-UGlMj0HW.js +0 -298
  479. package/dist/i18n-B9ccWgcR.cjs +0 -4
  480. package/dist/keys-BeeC5_RZ.cjs +0 -1
  481. package/dist/mainRealmDom-COGBiX78.js +0 -102
  482. package/dist/mainRealmDom-DijAgSXt.cjs +0 -1
  483. package/dist/menuFavorites-Db1DpHX6.js +0 -69
  484. package/dist/menuFavorites-EluLLTfi.cjs +0 -1
  485. package/dist/notification-CrxHMXsk.cjs +0 -1
  486. package/dist/notificationSuppressions-CBIJ4bC4.js +0 -430
  487. package/dist/notificationSuppressions-DFbFpayS.cjs +0 -1
  488. package/dist/notifications/copyToClipboard.d.cts +0 -6
  489. package/dist/notifications/copyToClipboard.d.ts +0 -6
  490. package/dist/notifications/createCopyFlash.d.cts +0 -17
  491. package/dist/notifications/createCopyFlash.d.ts +0 -17
  492. package/dist/notifications/notificationDisplayOwner.d.cts +0 -27
  493. package/dist/notifications/notificationDisplayOwner.d.ts +0 -27
  494. package/dist/notifications/notificationRepeaterEntryFactory.d.cts +0 -36
  495. package/dist/notifications/notificationRepeaterEntryFactory.d.ts +0 -36
  496. package/dist/notifications/notifications.notifications.samples.d.cts +0 -1
  497. package/dist/notifications/notifications.notifications.samples.d.ts +0 -1
  498. package/dist/notifications/persistWithRollbackOnFailure.d.cts +0 -18
  499. package/dist/notifications/persistWithRollbackOnFailure.d.ts +0 -18
  500. package/dist/notifications/startNotificationSchedulers.d.cts +0 -2
  501. package/dist/notifications/startNotificationSchedulers.d.ts +0 -2
  502. package/dist/notifications/startNotificationSettingsReactions.d.cts +0 -46
  503. package/dist/notifications/startNotificationSettingsReactions.d.ts +0 -46
  504. package/dist/overlay/ToastHost.d.cts +0 -7
  505. package/dist/overlay/ToastHost.d.ts +0 -7
  506. package/dist/pageTourState-CIr8ockR.js +0 -92
  507. package/dist/pageTourState-D8Uapyft.cjs +0 -1
  508. package/dist/preferencesCache-BhUd3K9p.js +0 -65
  509. package/dist/preferencesCache-DJPCTPYx.cjs +0 -1
  510. package/dist/rendererLogging-B4XML4_G.cjs +0 -7
  511. package/dist/rendererLogging-Edo4ALXU.js +0 -822
  512. package/dist/server/CommandPalette-C3Bw1teR.cjs +0 -1
  513. package/dist/server/CommandPalette-S7tfmFMb.js +0 -3208
  514. package/dist/server/DateRangePicker-sX2m4194.cjs +0 -9
  515. package/dist/server/GuidedTour-BhJGkoPa.js +0 -10981
  516. package/dist/server/GuidedTour-Dx0endYh.cjs +0 -20
  517. package/dist/server/HostWindowContext-DqDeJmBP.cjs +0 -1
  518. package/dist/server/HostWindowContext-KL4U1qUv.js +0 -40
  519. package/dist/server/Modal-CAVr4DU6.cjs +0 -1
  520. package/dist/server/PageSkeleton-KwYRrZua.cjs +0 -30
  521. package/dist/server/Progress-CRbj6nEy.cjs +0 -1
  522. package/dist/server/Progress-nsDy6clG.js +0 -41
  523. package/dist/server/StatusBarNotificationBell-BJyGqDCX.cjs +0 -4
  524. package/dist/server/StatusBarNotificationBell-C9MCuKT6.js +0 -1974
  525. package/dist/server/ToggleButton-DTI2HB97.cjs +0 -1
  526. package/dist/server/VpTerminal-Bpw-d9wD.js +0 -186
  527. package/dist/server/VpTerminal-C-U_dN_x.cjs +0 -1
  528. package/dist/server/VpTrash-CagiU2Uj.cjs +0 -1
  529. package/dist/server/VpTrash-DVBfts9_.js +0 -116
  530. package/dist/server/announcerService-B7yicxvU.js +0 -97
  531. package/dist/server/announcerService-D_pFE24a.cjs +0 -1
  532. package/dist/server/appThemeDerivation-DmKbTiFi.cjs +0 -1
  533. package/dist/server/catalogNotify-BPPTINme.cjs +0 -27
  534. package/dist/server/catalogNotify-mUcKuUmZ.js +0 -1248
  535. package/dist/server/createResizableSidebar-CCrAgu_K.js +0 -299
  536. package/dist/server/createResizableSidebar-DGd-3PrM.cjs +0 -1
  537. package/dist/server/defineSettings-By5ell8e.js +0 -391
  538. package/dist/server/defineSettings-DRv1FRbv.cjs +0 -1
  539. package/dist/server/descriptor-IJq9wdXK.cjs +0 -1
  540. package/dist/server/dialogFocusRestore-B4ggeVAM.js +0 -64
  541. package/dist/server/dialogFocusRestore-BcMPrbig.cjs +0 -1
  542. package/dist/server/displayOwner-BNw2Foa_.cjs +0 -1
  543. package/dist/server/displayOwner-B_ezJv-O.js +0 -75
  544. package/dist/server/focusModality-CeTPyRiF.cjs +0 -1
  545. package/dist/server/focusModality-DmOZptla.js +0 -124
  546. package/dist/server/format-x-8syaS2.cjs +0 -1
  547. package/dist/server/i18n-B9ccWgcR.cjs +0 -4
  548. package/dist/server/index-Xlas73iC.cjs +0 -1
  549. package/dist/server/mainRealmDom-BCL1p_q6.cjs +0 -1
  550. package/dist/server/mainRealmDom-Dk0xb5Gj.js +0 -67
  551. package/dist/server/menuFavorites-Db1DpHX6.js +0 -69
  552. package/dist/server/menuFavorites-EluLLTfi.cjs +0 -1
  553. package/dist/server/notification-CrxHMXsk.cjs +0 -1
  554. package/dist/server/notificationSuppressions-D7FZmJy8.cjs +0 -1
  555. package/dist/server/notificationSuppressions-DkrUMXHx.js +0 -391
  556. package/dist/server/pageTourState-CIr8ockR.js +0 -92
  557. package/dist/server/pageTourState-D8Uapyft.cjs +0 -1
  558. package/dist/server/preferencesCache-BhUd3K9p.js +0 -65
  559. package/dist/server/preferencesCache-DJPCTPYx.cjs +0 -1
  560. package/dist/server/rendererLogging-B4XML4_G.cjs +0 -7
  561. package/dist/server/rendererLogging-Edo4ALXU.js +0 -822
  562. package/dist/server/settingsSearchContributor-DZj7Wc8l.cjs +0 -1
  563. package/dist/server/settingsSearchContributor-DeMn-njw.js +0 -199
  564. package/dist/server/stateDbStore-Ds3zJ4cd.js +0 -47
  565. package/dist/server/stateDbStore-THFfFGa0.cjs +0 -1
  566. package/dist/server/useListCommands-Bf7aOTXZ.js +0 -61
  567. package/dist/server/useListCommands-ucngC3t4.cjs +0 -1
  568. package/dist/server/useSettingsSubscription-cu943hND.js +0 -11
  569. package/dist/server/useSettingsSubscription-vlMrNNH9.cjs +0 -1
  570. package/dist/server/visibleBrowserRegistry-BTfWUlI1.cjs +0 -1
  571. package/dist/server/visibleBrowserRegistry-Dw2Y4y_I.js +0 -89
  572. package/dist/server/windowRegistry-Bk5lXIVd.js +0 -62
  573. package/dist/server/windowRegistry-CGvOBUsw.cjs +0 -1
  574. package/dist/settingsSearchContributor-C-UJc7Xc.js +0 -199
  575. package/dist/settingsSearchContributor-Du0SDpJt.cjs +0 -1
  576. package/dist/solid/_internal/app/contexts/WorkspaceTabsContext.js +0 -10
  577. package/dist/solid/_internal/app/settings/theme/appThemeChange.js +0 -5
  578. package/dist/solid/_internal/app/settings/ui/shell/openSettingsModal.js +0 -15
  579. package/dist/solid/_internal/base/listenerDispatch.js +0 -12
  580. package/dist/solid/_internal/contract/appName.js +0 -7
  581. package/dist/solid/_internal/contract/hostText.js +0 -15
  582. package/dist/solid/_internal/platform/instantiation/common/descriptors.js +0 -10
  583. package/dist/solid/_internal/platform/instantiation/common/instantiation.js +0 -35
  584. package/dist/solid/_internal/platform/instantiation/common/serviceCollection.js +0 -14
  585. package/dist/solid/_internal/platform/logging/rendererLogging.js +0 -42
  586. package/dist/solid/_internal/platform/settings/preferencesCache.js +0 -329
  587. package/dist/solid/feedback/preference.notifications.samples.js +0 -5
  588. package/dist/solid/notifications/copyToClipboard.js +0 -21
  589. package/dist/solid/notifications/createCopyFlash.js +0 -26
  590. package/dist/solid/notifications/notificationDisplayOwner.js +0 -1
  591. package/dist/solid/notifications/notificationRepeaterEntryFactory.js +0 -20
  592. package/dist/solid/notifications/notifications.notifications.samples.js +0 -14
  593. package/dist/solid/notifications/persistWithRollbackOnFailure.js +0 -11
  594. package/dist/solid/notifications/startNotificationSchedulers.js +0 -8
  595. package/dist/solid/notifications/startNotificationSettingsReactions.js +0 -22
  596. package/dist/solid/overlay/ToastHost.jsx +0 -1
  597. package/dist/stateDbStore-Ds3zJ4cd.js +0 -47
  598. package/dist/stateDbStore-THFfFGa0.cjs +0 -1
  599. package/dist/tooltipCoordinator-y5YP3tsJ.cjs +0 -1
  600. package/dist/useListCommands-Bf7aOTXZ.js +0 -61
  601. package/dist/useListCommands-ucngC3t4.cjs +0 -1
  602. package/dist/useSettingsSubscription-cu943hND.js +0 -11
  603. package/dist/useSettingsSubscription-vlMrNNH9.cjs +0 -1
  604. package/dist/visibleBrowserRegistry-BTfWUlI1.cjs +0 -1
  605. package/dist/visibleBrowserRegistry-Dw2Y4y_I.js +0 -89
  606. package/dist/windowRegistry-Bk5lXIVd.js +0 -62
  607. package/dist/windowRegistry-CGvOBUsw.cjs +0 -1
package/CHANGELOG.md CHANGED
@@ -5,6 +5,75 @@ All notable changes to `@vokril/ui-solid` are listed here. Versions follow
5
5
  contain breaking changes. From 0.1.1 on, entries are written by Changesets
6
6
  (`npm run release:version`) above the previous release.
7
7
 
8
+ ## 0.17.0
9
+
10
+ ### Minor Changes
11
+
12
+ - `@vokril/ui-solid/host` exports `provideBestEffortSink` and `BestEffortSink`: a host connects the realm's record of best-effort failures (a close or cleanup whose failure does not change the flow), whose absence makes the first such failure throw. Before, only an application that shared the kit's realm record could connect it.
13
+ - A clipboard helper that no entry point reached is removed, with its two catalog entries.
14
+ - **Breaking:** the helpers that phrase an error take the sentence function: `readFailureText(errorText, error, general)`, `guidedInstallFailure(errorText, error, fallback)` and `createGuardedListLoader({ …, errorText })` (pass `KitHost.errorPresenter.text`). `AppErrorBoundary`, `createPreference`, `CommandPalette`, `AriaAnnouncer`, the page tours and the notification surfaces read their root's `KitHost`.
15
+ - **Breaking:** the desktop bridge, the vendor error catalogues and the display owner are `KitHost` members. `KitHost.desktop` replaces `configureDesktopBridge`: every `DesktopBridge` member is required (`openExternal`, `osNotify`, `setBadgeCount`, `readAudioAsDataUrl`, `fs`, `notificationOverlay(win)`), `browserDesktopBridge` is a plain page's, and `openExternalUrl(desktop, log, url)` opens only http, https and mailto links and logs a refusal. `KitHost.vendorErrors` replaces `installVendorErrorSource` and `isVendorErrorSourceInstalled`; `resolveVendorError(source, ref)` and `createVendorErrorPreview(source, vendorId, code, message)` take the source first. `KitHost.displayOwner` is a `DisplayOwnerService(focusSource, log)` from `@vokril/ui-solid/desktop` (`register(win)`); `configureDisplayFocusSource`, `registerDisplayHost`, `registerNotificationHost` and `resetDisplayOwnerForTesting` are removed, `DisplayFocusSource.onFocusChanged` is an `Event` and `available()` is gone (`domDisplayFocusSource` for a page).
16
+ - **Breaking:** the product name, the logger and the error presenter are `KitHost` members. `KitHost.appName` replaces `setAppName`/`getAppName` (the diagnostic report reads it; `Loader` takes an `appName` prop, since a loader shows before the host is up). `KitHost.log` is the application's `ILogger`, under which the kit's components log with their own tags; `provideHostLogTransport` and `setLogLevel` are removed, and `createConsoleLogger(level)` is the logger of a host without a pipeline. `KitHost.errorPresenter` replaces `provideHostErrorPresenter`; `messageErrorPresenter` is the presenter of an application without presentation tables. A dictionary that cannot be loaded and an unsupported language are reported to the unexpected-error pipeline.
17
+ - **Breaking:** the settings page and the command palette's sources are `KitHost` members. `KitHost.openNotificationSettings()` replaces `setOpenSettingsHandler` (the kit only ever opened the notification category). `KitHost.settingsSearch` (`SettingsSearchSource | null`) replaces `setSettingsSearchSource`, and `searchSettings(source, query, limit)` takes it. `KitHost.databaseObjects` (`DatabaseObjectSearchProvider | null`) replaces `setDatabaseObjectSearchProvider`: the provider names the active workspace itself (`getWorkspaceId()` is required), fires `onDidChange` when the workspace or its schema changes — an open search starts over — and `searchObjects` is a required key typed `| null`.
18
+ - **Breaking:** `NotificationHost` takes a required `centerOpen` accessor — the application tells it when its notification center is showing, and the stack hides meanwhile; a window without a center passes `() => false`. The host no longer reads `ToolWindowContext` or the active `'sql'` page of a `WorkspaceTabsContext`, and `WorkspaceTabsContext`, `useWorkspaceTabs` and `WorkspaceTabsManager` are removed. Its paint right comes from `KitHost.displayOwner`; `appWindowNotificationOverlay(desktop)` takes the desktop bridge. The deprecated `ToastHost` alias of `NotificationHost` is removed.
19
+ - **Breaking:** `NotificationItem` reads no settings, no module state and no host. It takes `controller: NotificationItemController` — the card's own verbs and reads (`close`, `setFocus`, `setHover`, `toggleExpanded`, `isSticky(item)`, `duration(item)`, `resolveVendorError`, `openExternal`, `announcer`) — and `shell: NotificationItemShell | null`, the application's verbs behind the gear menu and the body click (`remindLaterEnabled`, `isSourceMuted`, `setSourceMuted`, `dismissKey`, `remindLater`, `openSettings`, `navigate`); `null` renders the card isolated. The `isolated` prop and the optional callback bag are removed. `NotificationHost` builds both from its root's host, and a native overlay window builds them over its own bridge, so its realm needs no `KitHost`. A suppression the settings store refuses to save is told to the user instead of rejecting unhandled.
20
+ - **Breaking:** a notification's request for its page is a typed event: `notifications.onDidRequestNavigation((route) => …)` replaces the `app-notification-navigate` window event, for a click on a toast's body and for the native overlay's "navigate". The route is still the notification's opaque `defaultRoute`.
21
+ - **Breaking:** a catalog definition's builder takes the realm's render host as its second argument, `defineNotification(metadata, (params, { errorText }) => payload)`: the error sentence comes from the service that delivers it instead of a module port. A scenario resolves with it too, `scenario.resolve(notifications.renderHost)`. The kit's own catalogs phrase their errors this way.
22
+ - **Breaking:** the realm's notifications are a service the host creates and hands to the kit as `KitHost.notifications`: `new NotificationService({ desktop, secrets, sendEmailDigest, appName, errorPresenter, vendorErrors, log })` from `@vokril/ui-solid/notifications` owns the toast stack, the timeline, the email digest and its schedule, the webhooks, the sounds and the engagement statistics; `dispose()` ends the schedule and its settings reactions, and two services keep two separate stacks. Features deliver through `notifications.notify(definition, params)` and `notifications.progress(...)`; the raw verbs are `notifications.toast`, the stack `notifications.stack`, the center's data `notifications.timeline` (`subscribe`, `subscribeUnread`, `markSeen`, `clear`, `dismiss`, `dismissMany`, `dismissBySource`, `togglePin`), the digest `flushDigest()` / `digestNotSentText(reason)`. Removed: the module `toast` (also from the root entry), `notify`, `closeNotification`, `subscribeNotifications`, `setNotificationFocus`, `setNotificationHover`, `toggleNotificationExpanded`, `notifyFromCatalog`, `progressFromCatalog`, `dismissNotificationFromCatalog`, `provideCatalogNotificationHost`, `catalogNotificationHost`, `showCatalogPreviewToast` (now `notifications.showPreview`), `fire`, the timeline, analytics, sound-cache and audio module functions, `startNotificationSchedulers`, `startNotificationSettingsReactions`, `setEmailDigestTransport`, `flushDigest`, `digestNotSentText` and `provideNotificationSecretStore`.
23
+ - The notification service exposes its engagement statistics: `getStatsSnapshot()` (per source, the busiest first, as copies) and `resetStats()`. Removing one entry from the notification center goes through `notifications.dismissEntry(id)` and counts as a dismiss — in the status bar center as in the panel, which alone counted it before.
24
+ - **Breaking:** `createNotificationPreviewRuntime(deps)` takes what the developer catalog's preview reads from the application — `vendorErrors`, `errorActions`, `openExternal`, `announcer` and `log` — and its `controller` is a full `NotificationItemController` over the preview's own engine and settings (render its cards with `shell={null}`). An error's actions show on a preview card as inert buttons, like the payload's own.
25
+ - **Breaking:** the themes a host owns are contributed sources: `registerThemeSource(source)` returns an `IDisposable` that withdraws it. `setUserThemeResolver`, `setPluginThemeResolver` and `UserThemeResolver` are removed (`ThemeSource` has the same `byId`/`options` shape); lookups answer the built-in palettes first, then each source in registration order.
26
+
27
+ ## 0.16.0
28
+
29
+ ### Minor Changes
30
+
31
+ - **Breaking:** sidebar widths and collapsed states come from the host's layout preferences, `KitHost.layout` (`LayoutPreferences`: `getUiLayout`, `setSidebarWidth`, `setSidebarCollapsed` and an `onDidChangeSidebar` event with the changed key). `createResizableSidebar` reads them from its root's host (call it during setup) and follows that event instead of the `app-sidebar-layout-change` window event. `provideLayoutPreferences`, `LayoutPreferencesHost` and the kit's own preferences cache are removed. `/host` exports the `Event` and `IDisposable` types a host implements these ports with.
32
+ - **Breaking:** menu favourites are an instance the host creates with its storage and hands to the kit as `KitHost.menuFavorites`: `new MenuFavoritesService(storage)` with `list()`, `has()`, `add()`, `remove()` and `onDidChange` (same key and limit). `getMenuFavorites`, `isMenuFavorite`, `addMenuFavorite`, `removeMenuFavorite` and `subscribeMenuFavorites` are removed. A stored list that is not JSON is reported to the unexpected-error pipeline and read as empty.
33
+ - **Breaking:** the page tours of a realm are an instance the host creates with its storage and hands to the kit as `KitHost.tours`: `new PageTourService(storage)` (same keys). The module functions become its methods — `readTourStatus` → `readStatus`, `writeTourStatus` → `writeStatus`, `isNeverShowToursAgain`/`setNeverShowToursAgain` → `isNeverShowAgain`/`setNeverShowAgain`, `shouldSkipWelcome`/`setSkipWelcome` → `skipWelcome`/`setSkipWelcome`, `claimTour`/`releaseTour` → `claim`/`release`, `registerTourHost` → `registerHost`, `requestPageTour` → `request`, `consumeTourRequest` → `consumeRequest`, `setActiveTour` → `setActive`, `getActiveTourPage` → `activePage`, `isPageTourActive` → `isActive`. `readStatus` answers only `'shown'`, `'skipped'` or `'completed'` (an unknown stored value reads as unset); `TourStatus`, `TOUR_STATUSES`, `TourHost` and `canonicalTourPageId` stay exports.
34
+ - **Breaking:** the realm binds its settings storage when it hydrates its settings: `hydrateRegisteredSettings(backend)` takes the backend, binds it once (a second call throws) and hydrates every group, the ones registered later included. `configureSettingsBackend`, `getSettingsBackend` and the in-memory default backend are removed: a store used before the realm bound a backend throws, and a settings group read or written before it was hydrated throws instead of answering its default (a group with its own `store` calls `hydrate()`; `resetSettingsGroupForTest` returns it to "not hydrated").
35
+ - A stored settings value that is not JSON is no longer read as "unset" without a word: hydration reports a `StoredSettingUnreadableError` (key and scope, the parse error as its cause) to the unexpected-error pipeline (`provideHostErrorHandler`) and the group's layer stays unset, so one corrupt entry neither stops the realm from reading the others nor disappears unnoticed. A failed settings write is reported once, by the rejection of `update()`/`replace()`; the kit no longer logs it as well.
36
+
37
+ ## 0.15.0
38
+
39
+ ### Minor Changes
40
+
41
+ - **Breaking:** the shared list verbs' registry belongs to the host's keybinding service: `KeybindingsContextValue` takes it as `listHandlers` (create it with `createPanelCommandRegistry<ListCommandHandlers>()`), `useListCommands` claims into it, and the module-level `listHandlers` export is removed. `KeybindingsContextValue.gridHandlers` and `GridCommandHandlers` are removed too: the kit never read them.
42
+ - **Breaking:** a `PanelCommandRegistry` records the claim keyboard focus last entered: `markFocused(handlers)` and `lastFocused()` are part of the interface (a host's own registries implement them), and a released claim stops being the focused one. `useFocusClaim` reads the record from the registry it claims into instead of a module-level map shared by every registry; a claim's `isActive()` is `registry.lastFocused() === claim`.
43
+
44
+ ## 0.14.0
45
+
46
+ ### Minor Changes
47
+
48
+ - **Breaking:** `HostWindowProvider` is required at every root that renders a component reading its window (`NotificationHost`, `NotificationPanel`, `MenuBar`/`MenuPanel`, `DateRangePicker`, `WindowControls`, `HostPortal`): `useHostWindow()` throws without one instead of quietly using the main window, and `requireHostWindowProvider` is removed. A forgotten auxiliary root used to portal its popovers, menus and toasts into the main window.
49
+ - **Breaking:** `configureHost` is removed; a multi-window realm publishes its window registry with `provideHostWindow`, a single-window realm needs nothing. `HostWindowAccess.getHostWindowClose` and the port's `useHostWindowClose` are removed — they had no reader; the window hosting a subtree is closed with `useHostWindowClose` from the window provider.
50
+ - **Breaking:** `createSaveDiscardDialog` is removed: a host asks its three-way questions from its own confirmation host and renders `SaveDiscardDialog`.
51
+ - Modules no entry point reached are removed (a theme-change event helper, a translation port, a copy badge helper, two notification settings helpers and two catalogue sample lists).
52
+
53
+ ## 0.13.0
54
+
55
+ ### Minor Changes
56
+
57
+ - **Breaking:** `ExitConfirmationSettings` and `VaultSettings.exitConfirmationSettings` are removed. The "don't ask again" answer of the exit confirmation is the window behaviour setting `confirmBeforeClose = 'never'`; the vault flag was a second record of the same choice that the quit path never read.
58
+
59
+ ## 0.12.0
60
+
61
+ ### Minor Changes
62
+
63
+ - **Breaking:** the notification secret helpers take the store they read and write and are public: `getSmtpPass`, `setSmtpPass`, `getWebhookUrl`, `setWebhookUrl`, `deleteWebhookUrl` and `pruneOrphanWebhookSecrets` from `@vokril/ui-solid/notifications`, each with the `NotificationSecretStore` as its first argument, so an application uses the kit's key scheme instead of keeping a copy of it. `NotificationSecretStore.keys()` returns every stored key and `pruneOrphanWebhookSecrets` selects the webhook keys itself: a store that ignored the old `keys(prefix)` filter made the prune delete every other secret it held, the SMTP password included. `provideNotificationSecretStore` binds the store the notification engine reads (digest and webhook delivery); it no longer accepts `null` and there is no in-memory default — an engine that delivers without a bound store throws.
64
+
65
+ ## 0.11.0
66
+
67
+ ### Minor Changes
68
+
69
+ - **Breaking:** `createConfirmDialog` is removed. The in-place pair (`const [Dialog, confirm] = createConfirmDialog()`) made every surface mount its own dialog, and a surface that forgot to render `<Dialog />` left its question unanswered forever, with nothing on screen. An application asks its questions through its own confirmation host instead: one `ConfirmDialog` per root that shows the questions in turn (`ConfirmOptions` stays the question's type). `SaveDiscardDialog` and `SaveDiscardDialogProps` are exported, so the three-way "save / don't save / cancel" question can be rendered by the same kind of host.
70
+
71
+ ## 0.10.0
72
+
73
+ ### Minor Changes
74
+
75
+ - **Breaking:** the kit's components take the application's instances from one typed context, `KitHost` (`KitHostProvider` and `useKitHost` from `@vokril/ui-solid/host`, decision 0020). Every root that renders kit components wraps itself in `<KitHostProvider host={…}>`; there is no default, so a component rendered without one throws instead of quietly running against a private instance. The first member is `announcer`: `AnnouncerService` is a plain class the application creates once, announces through and hands to the kit (`AriaAnnouncer` renders it, notification items announce through it). `IAnnouncerService` is now the `Announcer` interface, without a DI identity; `getAnnouncerService`, `setAnnouncerServiceForTest` and `useAnnounce` are removed, and so is the kit's internal copy of the instantiation service.
76
+
8
77
  ## 0.9.3
9
78
 
10
79
  ### Patch Changes
package/README.md CHANGED
@@ -23,26 +23,44 @@ that maps the `@vokril` scope to `https://npm.pkg.github.com` resolves them ther
23
23
 
24
24
  ```tsx
25
25
  import { render } from 'solid-js/web';
26
- import { ThemeProvider, Button, NotificationHost, toast } from '@vokril/ui-solid';
26
+ import { ThemeProvider, Button, NotificationHost, defineNotification } from '@vokril/ui-solid';
27
+ import { KitHostProvider, HostWindowProvider } from '@vokril/ui-solid/host';
27
28
  import '@vokril/ui-solid/style.css';
29
+ // The application's instances: see "Embedding in an application" below.
30
+ import { host } from './host';
31
+
32
+ // A feature declares what it tells the user once; the realm's notification service delivers it.
33
+ const queryFinished = defineNotification(
34
+ { id: 'query.finished', source: 'general', severity: 'success', priority: 'default', delivery: 'in-app', kind: 'message' },
35
+ () => ({ message: 'Query finished' }),
36
+ );
28
37
 
29
38
  function App() {
30
39
  return (
31
- <ThemeProvider defaultTheme="dark">
32
- <main>
33
- <Button variant="primary" onClick={() => toast.success('Query finished')}>
34
- Run query
35
- </Button>
36
- </main>
37
- <NotificationHost />
38
- </ThemeProvider>
40
+ <KitHostProvider host={host}>
41
+ <HostWindowProvider value={{ id: 1, window, document }}>
42
+ <ThemeProvider defaultTheme="dark">
43
+ <main>
44
+ <Button variant="primary" onClick={() => host.notifications.notify(queryFinished, {})}>
45
+ Run query
46
+ </Button>
47
+ </main>
48
+ <NotificationHost centerOpen={() => false} />
49
+ </ThemeProvider>
50
+ </HostWindowProvider>
51
+ </KitHostProvider>
39
52
  );
40
53
  }
41
54
 
42
55
  render(() => <App />, document.getElementById('root')!);
43
56
  ```
44
57
 
45
- `NotificationHost` renders the toasts; mount it once, near the root.
58
+ Every root that renders kit components is wrapped in a `KitHostProvider` (the application's
59
+ instances, see [Embedding in an application](#embedding-in-an-application)) and a
60
+ `HostWindowProvider` (the window the root renders into); neither has a default, and a component
61
+ rendered without them throws. `NotificationHost` paints the realm's toasts; mount it once per
62
+ window, near the root. `centerOpen` tells it when the application's notification center is
63
+ showing (the stack hides meanwhile); a window without a center passes `() => false`.
46
64
 
47
65
  ## Stylesheets
48
66
 
@@ -97,7 +115,7 @@ Every subpath has ESM, CommonJS, type declarations, a server build and a Solid s
97
115
  | `/overlay` | Modal, ConfirmDialog, Drawer, Popover, PopoverPanel (form panel parts), Tooltip, DropdownMenu, menu parts (MenuList, MenuSection, MenuItem, MenuDisclosure, …), ContextMenu, CommandPalette, Panel, OverlayScrollArea, … |
98
116
  | `/navigation` | Tabs, Accordion, Breadcrumb, Stepper |
99
117
  | `/layout` | PageHeader, ResizableSplitPane, ResizeHandle, plus the navigation components |
100
- | `/notifications` | `toast`, `NotificationHost`, catalog notifications (`defineNotification`), `NotificationPanel`, `NotificationsCenter`, `StatusBarNotificationBell` |
118
+ | `/notifications` | `NotificationService` (the realm's notifications), `NotificationHost`, catalog notifications (`defineNotification`), `NotificationPanel`, `NotificationsCenter`, `StatusBarNotificationBell` |
101
119
  | `/grid` | Pagination, AttributeGrid, ToolbarSearchRow, ToolbarSearchToggle |
102
120
  | `/tree` | TreeSurface, TreeHighlight and the tree model helpers |
103
121
  | `/charts` | TimeSeriesChart |
@@ -107,7 +125,7 @@ Every subpath has ESM, CommonJS, type declarations, a server build and a Solid s
107
125
  | `/settings` | The settings registry the kit and its host share: `defineSettings`, field specs, the kit's own groups (notifications, header icon overrides) |
108
126
  | `/host` | The ports an application plugs into the kit (see [Embedding in an application](#embedding-in-an-application)) |
109
127
  | `/overlay-stack` | The overlay stack in full, for hosts that register their own overlays |
110
- | `/desktop` | MenuBar, WindowControls, HostWindowProvider: frameless-window chrome with callback props and no Electron imports |
128
+ | `/desktop` | MenuBar, WindowControls, HostWindowProvider: frameless-window chrome with callback props and no Electron imports; `DisplayOwnerService`, the window that paints the realm's notifications |
111
129
 
112
130
  The root entry does not include `/desktop`. Import from a subpath when you want a
113
131
  smaller dependency surface; with a bundler, tree-shaking gives the same result from the root.
@@ -176,36 +194,97 @@ declare module '@vokril/ui-solid' {
176
194
 
177
195
  ## Embedding in an application
178
196
 
179
- The kit works on its own: every piece of infrastructure it needs has a default. An application
180
- that already owns that infrastructure hands it over once at startup through
181
- `@vokril/ui-solid/host`, so the kit and the application share one instance:
197
+ The application owns the infrastructure the kit uses and hands it over through
198
+ `@vokril/ui-solid/host`: the instances in a `KitHost` given to every root, and the realm's
199
+ settings storage when it hydrates its settings. The kit has no default for either, so a forgotten
200
+ wiring fails at its first use instead of quietly running against a private copy:
201
+
202
+ ```ts
203
+ // host.ts — once per realm, before the first render
204
+ import { AnnouncerService } from '@vokril/ui-solid';
205
+ import {
206
+ MenuFavoritesService,
207
+ PageTourService,
208
+ browserDesktopBridge,
209
+ createConsoleLogger,
210
+ messageErrorPresenter,
211
+ provideBestEffortSink,
212
+ type KitHost,
213
+ } from '@vokril/ui-solid/host';
214
+ import { DisplayOwnerService, domDisplayFocusSource } from '@vokril/ui-solid/desktop';
215
+ import { NotificationService } from '@vokril/ui-solid/notifications';
216
+ import { hydrateRegisteredSettings } from '@vokril/ui-solid/settings';
217
+
218
+ const log = createConsoleLogger(); // or the application's own ILogger
219
+ provideBestEffortSink((reason, error) => log.debug(reason, error));
220
+ hydrateRegisteredSettings(storage); // the application's storage: get(key, scope) / store(key, value, scope, target)
221
+
222
+ const notifications = new NotificationService({
223
+ desktop: browserDesktopBridge, // a desktop host: its own bridge (OS notifications, badge, overlay…)
224
+ secrets, // get / set / delete / keys — the digest's SMTP password and the webhook URLs
225
+ sendEmailDigest, // (message) => Promise<void>
226
+ appName: 'Acme',
227
+ errorPresenter: messageErrorPresenter,
228
+ vendorErrors, // registeredVendorIds() / errorHelpersFor(vendorId)
229
+ log,
230
+ });
231
+ notifications.onDidRequestNavigation((route) => router.open(route));
232
+
233
+ export const host: KitHost = {
234
+ announcer: new AnnouncerService(),
235
+ appName: 'Acme',
236
+ log,
237
+ errorPresenter: messageErrorPresenter,
238
+ desktop: browserDesktopBridge,
239
+ vendorErrors,
240
+ notifications,
241
+ displayOwner: new DisplayOwnerService(domDisplayFocusSource, log),
242
+ openNotificationSettings: () => router.open('settings/notifications'),
243
+ settingsSearch: null,
244
+ databaseObjects: null,
245
+ menuFavorites: new MenuFavoritesService(storage),
246
+ tours: new PageTourService(storage),
247
+ layout: layoutPreferences, // getUiLayout, setSidebarWidth, setSidebarCollapsed, onDidChangeSidebar
248
+ };
249
+ ```
250
+
251
+ Every member is required; a capability the application does not have is a `null` it writes down:
252
+
253
+ | `KitHost` member | What the application provides |
254
+ |---|---|
255
+ | `announcer` | The one `AnnouncerService` the kit's `AriaAnnouncer` renders and the application announces through |
256
+ | `appName` | Its product name, for text the kit writes on its behalf (the diagnostic report); `''` writes none |
257
+ | `log` | Its logger (`ILogger`); the kit logs under its own tags. `createConsoleLogger()` without a pipeline |
258
+ | `errorPresenter` | The sentence and actions shown for an error; `messageErrorPresenter` without presentation tables |
259
+ | `desktop` | Native behaviour (`DesktopBridge`): links, OS notifications, badge, sounds, file saves, the native overlay; `browserDesktopBridge` in a plain page |
260
+ | `vendorErrors` | Catalogues that explain error codes (`VendorErrorSource`); one that registers none without vendors |
261
+ | `notifications` | The realm's `NotificationService`, created over the same infrastructure; features deliver through `notifications.notify(definition, params)` |
262
+ | `displayOwner` | The `DisplayOwnerService` (`/desktop`) over its focus source (native window focus; `domDisplayFocusSource` in a page) |
263
+ | `openNotificationSettings` | Opens its notification settings (a card's gear menu and the center link there) |
264
+ | `settingsSearch` | The settings the command palette lists, or `null` |
265
+ | `databaseObjects` | The database workspaces the command palette searches (with a change event), or `null` |
266
+ | `menuFavorites`, `tours` | `MenuFavoritesService` and `PageTourService` over its storage (under the keys it already uses) |
267
+ | `layout` | Sidebar widths and collapsed states, and their change event |
268
+
269
+ A few realm facts and registries are set once at startup:
182
270
 
183
271
  | Port | What the application provides | Default |
184
272
  |---|---|---|
185
- | `setAppName` | Its product name, for text the kit writes on its behalf (email digest, webhook test, diagnostic report, `Loader` boot lines) | None |
186
- | `configureHost` / `provideHostWindow` | The active and main window (multi-window apps) | The global `window` |
273
+ | `provideHostWindow` | Its window registry: the active and main window (multi-window realms) | The realm's own `window` |
187
274
  | `provideHostTranslator` | Its i18n runtime and language | The kit's own runtime (English, Turkish, German) |
188
- | `provideHostLogTransport`, `setLogLevel` | Its log pipeline | Console |
189
- | `provideHostErrorPresenter` | The sentence and actions shown for an error | The error's message and attached actions |
190
275
  | `provideHostErrorHandler`, `provideHostBreadcrumbs` | Its error pipeline and breadcrumb trail (errors the kit's boundaries catch, the kit's breadcrumbs) | The kit's own handler and ring buffer |
191
- | `configureDisplayFocusSource` (`/desktop`) | Native window focus, for the window that shows notifications and announcements | DOM focus |
192
- | `installVendorErrorSource` | Catalogues that explain error codes | None |
193
- | `setDatabaseObjectSearchProvider` | Results for the command palette's object search | Empty |
276
+ | `provideBestEffortSink` | Its debug record of best-effort failures (a close or cleanup whose failure does not change the flow) | None: the first such failure throws |
277
+ | `hydrateRegisteredSettings(backend)` (`/settings`) | Storage for settings groups (`get`/`store` with a scope), bound once when the realm hydrates its settings at startup | None: a group used before it is hydrated throws |
194
278
  | `registerMenuActionIds` | Its menu action ids | None |
195
- | `configureSettingsBackend` | Storage for settings groups (`get`/`store` with a scope) | Memory |
196
- | `setOpenSettingsHandler` | Its settings screen, opened at a category | Nothing opens |
197
- | `setSettingsSearchSource` | Settings listed in the command palette | None |
198
- | `provideLayoutPreferences` | Sidebar widths and collapsed states | The kit's own cache |
199
- | `provideNotificationSecretStore` | SMTP password and webhook URLs | Memory |
200
- | `KeybindingsProvider`, `WorkspaceTabsContext`, `ToolWindowContext`, `HostWindowProvider` | Its keybinding service, workspace tabs, tool window layout and window per subtree (provide the host's values to these contexts) | Unset: notification shortcuts and dock awareness off |
279
+ | `registerThemeSource` (`/tokens`) | Each source of themes it owns (imported themes, plugin themes); dispose the registration when the source goes away | The built-in palettes |
280
+ | `KeybindingsProvider`, `ToolWindowContext` | Its keybinding service and tool window layout (provide the host's values to these contexts) | Unset: notification shortcuts off |
281
+ | `HostWindowProvider` | The window each root renders into | None: required at every root |
201
282
  | `registerVisibleBrowser` | Embedded browser views that toasts must avoid | None |
202
- | Menu favourites, tour status | Persisted through `configureSettingsBackend` under the host's keys | Memory |
203
283
 
204
284
  ```ts
205
- import { provideHostTranslator, provideHostLogTransport } from '@vokril/ui-solid/host';
285
+ import { provideHostTranslator } from '@vokril/ui-solid/host';
206
286
 
207
287
  provideHostTranslator({ t: (key, values) => i18n.t(key, values), language: () => i18n.language() });
208
- provideHostLogTransport({ log: (entry) => appLogger.write(entry) });
209
288
  ```
210
289
 
211
290
  ## Server rendering and bundlers
@@ -1 +1 @@
1
- "use strict";const t=require("solid-js/web"),v=require("solid-js"),T=require("./SearchableSelect-zT8XNpmt.cjs"),I=require("./Button-X8QR6llv.cjs"),c=require("./i18n-B9ccWgcR.cjs"),S=require("./Input-BEnk4FCF.cjs"),k=require("@vokril/icons"),V=require("./iconScale.module-CzmKG1rf.cjs"),z=require("./keys-BeeC5_RZ.cjs"),R=require("./bugIndicatingError-D2X5Hfgg.cjs");function w(e,r){return e<=0?r:String(e)}const P="vk_paginationRow_hg8fj",$="vk_paginationMeta_rPi8N",y="vk_paginationActions_gD2Fz",L="vk_paginationLabel_9x9Ah",O="vk_paginationSelect_h5BcT",N="vk_paginationPage_CYJRF",u={paginationRow:P,paginationMeta:$,paginationActions:y,paginationLabel:L,paginationSelect:O,paginationPage:N};var A=t.template("<div><span></span><div><label></label><span> / ");function M(e){const r=v.createMemo(()=>{const a=c.t("Unlimited");return e.pageSizeOptions.map(n=>({value:String(n),label:w(n,a)}))});return(()=>{var a=A(),n=a.firstChild,i=n.nextSibling,s=i.firstChild,g=s.nextSibling,_=g.firstChild;return t.insert(n,()=>c.t("Showing {shown} of {total} items",{shown:e.shownCount(),total:e.totalCount()})),t.insert(s,()=>c.t("Page size"),null),t.insert(s,t.createComponent(T.SearchableSelect,{size:"sm",get class(){return u.paginationSelect},get value(){return String(e.pageSize())},get options(){return r()},onChange:l=>{e.onPageSizeChange(Number(l))},searchable:!1,get ariaLabel(){return c.t("Page size")}}),null),t.insert(i,t.createComponent(I.Button,{size:"sm",variant:"secondary",get disabled(){return e.page()<=1},onClick:()=>e.onPageChange(Math.max(1,e.page()-1)),get children(){return c.t("Previous")}}),g),t.insert(g,()=>e.page(),_),t.insert(g,()=>e.totalPages(),null),t.insert(i,t.createComponent(I.Button,{size:"sm",variant:"secondary",get disabled(){return e.page()>=e.totalPages()},onClick:()=>e.onPageChange(Math.min(e.totalPages(),e.page()+1)),get children(){return c.t("Next")}}),null),t.effect(l=>{var h=u.paginationRow,m=u.paginationMeta,C=u.paginationActions,f=u.paginationLabel,p=u.paginationPage;return h!==l.e&&t.className(a,l.e=h),m!==l.t&&t.className(n,l.t=m),C!==l.a&&t.className(i,l.a=C),f!==l.o&&t.className(s,l.o=f),p!==l.i&&t.className(g,l.i=p),l},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0}),a})()}const q="vk_toolbar_LSRmU",H="vk_toolbarHorizontal_qHM-8",x="vk_toolbarViewClip_Q893H",F="vk_toolbarScrollRoot_aYbLg",E="vk_toolbarScrollViewport_qBzjd",J="vk_toolbarScrollTrack_Tp8TN",X="vk_segmentedCapsule_k9EBy",K="vk_toolbarBtn_CcyXF",U="vk_toolbarBtnActive_UgTBV",j="vk_toolbarBtnIconOnly_BlE-b",D="vk_toolbarHorizontalBottom_qLzhJ",G="vk_toolbarVertical_EjHi2",Q="vk_toolbarVerticalRight_DBgEa",Y="vk_toolbarScrollRootVertical_VGLRy",Z="vk_toolbarScrollViewportVertical_RLF5g",W="vk_toolbarScrollTrackVertical_c1rBF",tt="vk_toolbarSettingsBtn_XXfMz",et="vk_toolbarIcon_0FvlL",ot="vk_toolbarSpacer_N3TbQ",at="vk_sortBadgePill_nVrIk",rt="vk_sortBadgeBtn_Is9PS",nt="vk_sortBadgeIcon_kw8oa",lt="vk_sortBadgeLabel_l-p33",ct="vk_sortBadgeClearBtn_ioOaP",it="vk_sortBadgeClearIcon_0e6Kd",st="vk_filterInputContainer_kegUv",bt="vk_filterSearchIcon_gI0m2",gt="vk_filterInput_bX9xM",ut="vk_filterClearBtn_WerJL",vt="vk_filterClearIcon_7fuAJ",o={toolbar:q,toolbarHorizontal:H,toolbarViewClip:x,toolbarScrollRoot:F,toolbarScrollViewport:E,toolbarScrollTrack:J,segmentedCapsule:X,toolbarBtn:K,toolbarBtnActive:U,toolbarBtnIconOnly:j,toolbarHorizontalBottom:D,toolbarVertical:G,toolbarVerticalRight:Q,toolbarScrollRootVertical:Y,toolbarScrollViewportVertical:Z,toolbarScrollTrackVertical:W,toolbarSettingsBtn:tt,toolbarIcon:et,toolbarSpacer:ot,sortBadgePill:at,sortBadgeBtn:rt,sortBadgeIcon:nt,sortBadgeLabel:lt,sortBadgeClearBtn:ct,sortBadgeClearIcon:it,filterInputContainer:st,filterSearchIcon:bt,filterInput:gt,filterClearBtn:ut,filterClearIcon:vt},_t="vk_searchRow_2pwXX",dt="vk_searchInput_PbDtG",Bt="vk_clearBtn_upa-E",d={searchRow:_t,searchInput:dt,clearBtn:Bt};var St=t.template("<div>");function kt(e){return t.createComponent(S.PressableSurface,{type:"button",get class(){return`${o.toolbarSettingsBtn} ${e.active?o.toolbarBtnActive:""}`},get onClick(){return e.onToggle},get"aria-pressed"(){return e.active},get"aria-label"(){return c.t("Search")},get title(){return c.t("Search")},get children(){return t.createComponent(k.VpSearch,{get class(){return o.toolbarIcon},"aria-hidden":"true"})}})}function ht(e){let r;return v.onMount(()=>r==null?void 0:r.focus()),(()=>{var a=St();return t.insert(a,t.createComponent(S.Input,t.mergeProps({ref(n){var i=r;typeof i=="function"?i(n):r=n},get class(){return d.searchInput},type:"search",size:"sm",get value(){return e.value},onInput:n=>e.onInput(n.currentTarget.value),onKeyDown:n=>{z.isKey(n,"Escape")&&e.onClose()},get placeholder(){return e.placeholder??c.t("Search…")}},()=>e.disabled!==void 0?{disabled:e.disabled}:{})),null),t.insert(a,t.createComponent(v.Show,{get when(){return e.value.length>0},get children(){return t.createComponent(S.PressableSurface,{type:"button",get class(){return d.clearBtn},onClick:()=>e.onInput(""),get"aria-label"(){return c.t("Clear search")},get title(){return c.t("Clear search")},get children(){return t.createComponent(k.VpClose,{get class(){return V.iconScale.iconSm},"aria-hidden":"true"})}})}}),null),t.effect(()=>t.className(a,d.searchRow)),a})()}const mt=Object.freeze({toolbar:o.toolbar,toolbarHorizontal:o.toolbarHorizontal,toolbarHorizontalBottom:o.toolbarHorizontalBottom,toolbarVertical:o.toolbarVertical,toolbarVerticalRight:o.toolbarVerticalRight,toolbarViewClip:o.toolbarViewClip,toolbarScrollRoot:o.toolbarScrollRoot,toolbarScrollViewport:o.toolbarScrollViewport,toolbarScrollTrack:o.toolbarScrollTrack,toolbarScrollRootVertical:o.toolbarScrollRootVertical,toolbarScrollViewportVertical:o.toolbarScrollViewportVertical,toolbarScrollTrackVertical:o.toolbarScrollTrackVertical,segmentedCapsule:o.segmentedCapsule,toolbarBtn:o.toolbarBtn,toolbarBtnActive:o.toolbarBtnActive,toolbarBtnIconOnly:o.toolbarBtnIconOnly,toolbarIcon:o.toolbarIcon,toolbarSpacer:o.toolbarSpacer,toolbarSettingsBtn:o.toolbarSettingsBtn,sortBadgePill:o.sortBadgePill,sortBadgeBtn:o.sortBadgeBtn,sortBadgeIcon:o.sortBadgeIcon,sortBadgeLabel:o.sortBadgeLabel,sortBadgeClearBtn:o.sortBadgeClearBtn,sortBadgeClearIcon:o.sortBadgeClearIcon,filterInputContainer:o.filterInputContainer,filterSearchIcon:o.filterSearchIcon,filterInput:o.filterInput,filterClearBtn:o.filterClearBtn,filterClearIcon:o.filterClearIcon});function Ct(e,r){const a=`${r}: `;throw new R.BugIndicatingError(`${a}Non-exhaustive switch: unexpected value ${JSON.stringify(e)}`)}const ft="vk_grid_uK6pm",pt="vk_card_33OV3",It="vk_item_UeZrE",Vt="vk_label_a-LFz",wt="vk_value_9ZQBt",Tt="vk_valueMono_knknq",zt="vk_boolOn_5zd-H",Rt="vk_boolOff_-6I4K",Pt="vk_stacked_2T--a",b={grid:ft,card:pt,item:It,label:Vt,value:wt,valueMono:Tt,boolOn:zt,boolOff:Rt,stacked:Pt};var B=t.template("<span>"),$t=t.template("<div>"),yt=t.template("<div><span>");function Lt(e,r){switch(e.kind){case"text":return(()=>{var a=B();return t.insert(a,()=>e.value(r)),t.effect(()=>t.className(a,b.value)),a})();case"mono":return(()=>{var a=B();return t.insert(a,()=>e.value(r)),t.effect(()=>t.className(a,b.valueMono)),a})();case"bool":return(()=>{var a=B();return t.insert(a,(()=>{var n=t.memo(()=>!!e.on(r));return()=>n()?t.createComponent(k.VpCheck,{get class(){return V.iconScale.iconSm},"aria-hidden":"true"}):"—"})()),t.effect(()=>t.className(a,`${b.value} ${e.on(r)?b.boolOn:b.boolOff}`)),a})();case"custom":return e.render(r);default:return Ct(e,"AttributeField.kind")}}function Ot(e){return t.createComponent(v.Show,{get when(){return e.row()!=null},get children(){var r=$t();return t.insert(r,t.createComponent(v.For,{get each(){return e.fields},children:a=>(()=>{var n=yt(),i=n.firstChild;return t.insert(i,()=>a.label),t.insert(n,()=>Lt(a,e.row()),null),t.effect(s=>{var g=b.item,_=b.label;return g!==s.e&&t.className(n,s.e=g),_!==s.t&&t.className(i,s.t=_),s},{e:void 0,t:void 0}),n})()})),t.effect(()=>t.className(r,`${b.grid} ${b[e.variant]??""}`)),r}})}exports.AttributeGrid=Ot;exports.Pagination=M;exports.ToolbarSearchRow=ht;exports.ToolbarSearchToggle=kt;exports.pageSizeOptionLabel=w;exports.resultTabToolbarClasses=mt;
1
+ "use strict";const t=require("solid-js/web"),v=require("solid-js"),T=require("./SearchableSelect-pCaUie2M.cjs"),I=require("./Button-Nx7byQZc.cjs"),c=require("./i18n-DZ0JlZal.cjs"),S=require("./Input-CZruORyy.cjs"),k=require("@vokril/icons"),V=require("./iconScale.module-CzmKG1rf.cjs"),z=require("./keys-GMxY2wcl.cjs"),R=require("./bugIndicatingError-D2X5Hfgg.cjs");function w(e,r){return e<=0?r:String(e)}const P="vk_paginationRow_hg8fj",$="vk_paginationMeta_rPi8N",y="vk_paginationActions_gD2Fz",L="vk_paginationLabel_9x9Ah",O="vk_paginationSelect_h5BcT",N="vk_paginationPage_CYJRF",u={paginationRow:P,paginationMeta:$,paginationActions:y,paginationLabel:L,paginationSelect:O,paginationPage:N};var A=t.template("<div><span></span><div><label></label><span> / ");function M(e){const r=v.createMemo(()=>{const a=c.t("Unlimited");return e.pageSizeOptions.map(n=>({value:String(n),label:w(n,a)}))});return(()=>{var a=A(),n=a.firstChild,i=n.nextSibling,s=i.firstChild,g=s.nextSibling,_=g.firstChild;return t.insert(n,()=>c.t("Showing {shown} of {total} items",{shown:e.shownCount(),total:e.totalCount()})),t.insert(s,()=>c.t("Page size"),null),t.insert(s,t.createComponent(T.SearchableSelect,{size:"sm",get class(){return u.paginationSelect},get value(){return String(e.pageSize())},get options(){return r()},onChange:l=>{e.onPageSizeChange(Number(l))},searchable:!1,get ariaLabel(){return c.t("Page size")}}),null),t.insert(i,t.createComponent(I.Button,{size:"sm",variant:"secondary",get disabled(){return e.page()<=1},onClick:()=>e.onPageChange(Math.max(1,e.page()-1)),get children(){return c.t("Previous")}}),g),t.insert(g,()=>e.page(),_),t.insert(g,()=>e.totalPages(),null),t.insert(i,t.createComponent(I.Button,{size:"sm",variant:"secondary",get disabled(){return e.page()>=e.totalPages()},onClick:()=>e.onPageChange(Math.min(e.totalPages(),e.page()+1)),get children(){return c.t("Next")}}),null),t.effect(l=>{var h=u.paginationRow,m=u.paginationMeta,C=u.paginationActions,f=u.paginationLabel,p=u.paginationPage;return h!==l.e&&t.className(a,l.e=h),m!==l.t&&t.className(n,l.t=m),C!==l.a&&t.className(i,l.a=C),f!==l.o&&t.className(s,l.o=f),p!==l.i&&t.className(g,l.i=p),l},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0}),a})()}const q="vk_toolbar_LSRmU",H="vk_toolbarHorizontal_qHM-8",x="vk_toolbarViewClip_Q893H",F="vk_toolbarScrollRoot_aYbLg",E="vk_toolbarScrollViewport_qBzjd",J="vk_toolbarScrollTrack_Tp8TN",X="vk_segmentedCapsule_k9EBy",K="vk_toolbarBtn_CcyXF",U="vk_toolbarBtnActive_UgTBV",j="vk_toolbarBtnIconOnly_BlE-b",D="vk_toolbarHorizontalBottom_qLzhJ",G="vk_toolbarVertical_EjHi2",Q="vk_toolbarVerticalRight_DBgEa",Y="vk_toolbarScrollRootVertical_VGLRy",Z="vk_toolbarScrollViewportVertical_RLF5g",W="vk_toolbarScrollTrackVertical_c1rBF",tt="vk_toolbarSettingsBtn_XXfMz",et="vk_toolbarIcon_0FvlL",ot="vk_toolbarSpacer_N3TbQ",at="vk_sortBadgePill_nVrIk",rt="vk_sortBadgeBtn_Is9PS",nt="vk_sortBadgeIcon_kw8oa",lt="vk_sortBadgeLabel_l-p33",ct="vk_sortBadgeClearBtn_ioOaP",it="vk_sortBadgeClearIcon_0e6Kd",st="vk_filterInputContainer_kegUv",bt="vk_filterSearchIcon_gI0m2",gt="vk_filterInput_bX9xM",ut="vk_filterClearBtn_WerJL",vt="vk_filterClearIcon_7fuAJ",o={toolbar:q,toolbarHorizontal:H,toolbarViewClip:x,toolbarScrollRoot:F,toolbarScrollViewport:E,toolbarScrollTrack:J,segmentedCapsule:X,toolbarBtn:K,toolbarBtnActive:U,toolbarBtnIconOnly:j,toolbarHorizontalBottom:D,toolbarVertical:G,toolbarVerticalRight:Q,toolbarScrollRootVertical:Y,toolbarScrollViewportVertical:Z,toolbarScrollTrackVertical:W,toolbarSettingsBtn:tt,toolbarIcon:et,toolbarSpacer:ot,sortBadgePill:at,sortBadgeBtn:rt,sortBadgeIcon:nt,sortBadgeLabel:lt,sortBadgeClearBtn:ct,sortBadgeClearIcon:it,filterInputContainer:st,filterSearchIcon:bt,filterInput:gt,filterClearBtn:ut,filterClearIcon:vt},_t="vk_searchRow_2pwXX",dt="vk_searchInput_PbDtG",Bt="vk_clearBtn_upa-E",d={searchRow:_t,searchInput:dt,clearBtn:Bt};var St=t.template("<div>");function kt(e){return t.createComponent(S.PressableSurface,{type:"button",get class(){return`${o.toolbarSettingsBtn} ${e.active?o.toolbarBtnActive:""}`},get onClick(){return e.onToggle},get"aria-pressed"(){return e.active},get"aria-label"(){return c.t("Search")},get title(){return c.t("Search")},get children(){return t.createComponent(k.VpSearch,{get class(){return o.toolbarIcon},"aria-hidden":"true"})}})}function ht(e){let r;return v.onMount(()=>r==null?void 0:r.focus()),(()=>{var a=St();return t.insert(a,t.createComponent(S.Input,t.mergeProps({ref(n){var i=r;typeof i=="function"?i(n):r=n},get class(){return d.searchInput},type:"search",size:"sm",get value(){return e.value},onInput:n=>e.onInput(n.currentTarget.value),onKeyDown:n=>{z.isKey(n,"Escape")&&e.onClose()},get placeholder(){return e.placeholder??c.t("Search…")}},()=>e.disabled!==void 0?{disabled:e.disabled}:{})),null),t.insert(a,t.createComponent(v.Show,{get when(){return e.value.length>0},get children(){return t.createComponent(S.PressableSurface,{type:"button",get class(){return d.clearBtn},onClick:()=>e.onInput(""),get"aria-label"(){return c.t("Clear search")},get title(){return c.t("Clear search")},get children(){return t.createComponent(k.VpClose,{get class(){return V.iconScale.iconSm},"aria-hidden":"true"})}})}}),null),t.effect(()=>t.className(a,d.searchRow)),a})()}const mt=Object.freeze({toolbar:o.toolbar,toolbarHorizontal:o.toolbarHorizontal,toolbarHorizontalBottom:o.toolbarHorizontalBottom,toolbarVertical:o.toolbarVertical,toolbarVerticalRight:o.toolbarVerticalRight,toolbarViewClip:o.toolbarViewClip,toolbarScrollRoot:o.toolbarScrollRoot,toolbarScrollViewport:o.toolbarScrollViewport,toolbarScrollTrack:o.toolbarScrollTrack,toolbarScrollRootVertical:o.toolbarScrollRootVertical,toolbarScrollViewportVertical:o.toolbarScrollViewportVertical,toolbarScrollTrackVertical:o.toolbarScrollTrackVertical,segmentedCapsule:o.segmentedCapsule,toolbarBtn:o.toolbarBtn,toolbarBtnActive:o.toolbarBtnActive,toolbarBtnIconOnly:o.toolbarBtnIconOnly,toolbarIcon:o.toolbarIcon,toolbarSpacer:o.toolbarSpacer,toolbarSettingsBtn:o.toolbarSettingsBtn,sortBadgePill:o.sortBadgePill,sortBadgeBtn:o.sortBadgeBtn,sortBadgeIcon:o.sortBadgeIcon,sortBadgeLabel:o.sortBadgeLabel,sortBadgeClearBtn:o.sortBadgeClearBtn,sortBadgeClearIcon:o.sortBadgeClearIcon,filterInputContainer:o.filterInputContainer,filterSearchIcon:o.filterSearchIcon,filterInput:o.filterInput,filterClearBtn:o.filterClearBtn,filterClearIcon:o.filterClearIcon});function Ct(e,r){const a=`${r}: `;throw new R.BugIndicatingError(`${a}Non-exhaustive switch: unexpected value ${JSON.stringify(e)}`)}const ft="vk_grid_uK6pm",pt="vk_card_33OV3",It="vk_item_UeZrE",Vt="vk_label_a-LFz",wt="vk_value_9ZQBt",Tt="vk_valueMono_knknq",zt="vk_boolOn_5zd-H",Rt="vk_boolOff_-6I4K",Pt="vk_stacked_2T--a",b={grid:ft,card:pt,item:It,label:Vt,value:wt,valueMono:Tt,boolOn:zt,boolOff:Rt,stacked:Pt};var B=t.template("<span>"),$t=t.template("<div>"),yt=t.template("<div><span>");function Lt(e,r){switch(e.kind){case"text":return(()=>{var a=B();return t.insert(a,()=>e.value(r)),t.effect(()=>t.className(a,b.value)),a})();case"mono":return(()=>{var a=B();return t.insert(a,()=>e.value(r)),t.effect(()=>t.className(a,b.valueMono)),a})();case"bool":return(()=>{var a=B();return t.insert(a,(()=>{var n=t.memo(()=>!!e.on(r));return()=>n()?t.createComponent(k.VpCheck,{get class(){return V.iconScale.iconSm},"aria-hidden":"true"}):"—"})()),t.effect(()=>t.className(a,`${b.value} ${e.on(r)?b.boolOn:b.boolOff}`)),a})();case"custom":return e.render(r);default:return Ct(e,"AttributeField.kind")}}function Ot(e){return t.createComponent(v.Show,{get when(){return e.row()!=null},get children(){var r=$t();return t.insert(r,t.createComponent(v.For,{get each(){return e.fields},children:a=>(()=>{var n=yt(),i=n.firstChild;return t.insert(i,()=>a.label),t.insert(n,()=>Lt(a,e.row()),null),t.effect(s=>{var g=b.item,_=b.label;return g!==s.e&&t.className(n,s.e=g),_!==s.t&&t.className(i,s.t=_),s},{e:void 0,t:void 0}),n})()})),t.effect(()=>t.className(r,`${b.grid} ${b[e.variant]??""}`)),r}})}exports.AttributeGrid=Ot;exports.Pagination=M;exports.ToolbarSearchRow=ht;exports.ToolbarSearchToggle=kt;exports.pageSizeOptionLabel=w;exports.resultTabToolbarClasses=mt;
@@ -1,12 +1,12 @@
1
1
  import { insert as l, createComponent as c, effect as _, className as i, template as B, mergeProps as P, memo as T } from "solid-js/web";
2
2
  import { createMemo as $, onMount as y, Show as w, For as L } from "solid-js";
3
- import { S as O } from "./SearchableSelect-C6KL7e42.js";
4
- import { B as V } from "./Button-BZWXPn8y.js";
5
- import { t as s } from "./i18n-CYq-dVvv.js";
6
- import { I as A, P as z } from "./Input-PZ5wRvPx.js";
3
+ import { S as O } from "./SearchableSelect-C01brsF0.js";
4
+ import { B as V } from "./Button-BiKPB3cH.js";
5
+ import { t as s } from "./i18n-DW9kcu0G.js";
6
+ import { I as A, P as z } from "./Input-DkPhsdfk.js";
7
7
  import { VpClose as M, VpSearch as H, VpCheck as x } from "@vokril/icons";
8
8
  import { i as R } from "./iconScale.module-C3O0bxfp.js";
9
- import { i as F } from "./keys-Bfgdfak_.js";
9
+ import { i as F } from "./keys-B2nlkpqc.js";
10
10
  import { B as N } from "./bugIndicatingError-h3J5qkL6.js";
11
11
  function E(t, a) {
12
12
  return t <= 0 ? a : String(t);
@@ -1,7 +1,7 @@
1
1
  import { effect as p, className as d, setAttribute as P, template as S, use as ot, spread as rt, mergeProps as at, memo as f, insert as l, createComponent as g } from "solid-js/web";
2
2
  import { splitProps as lt, createUniqueId as st, createSignal as q, createEffect as w, onCleanup as U, Show as h } from "solid-js";
3
- import { t as dt } from "./i18n-CYq-dVvv.js";
4
- import { t as B } from "./tooltipCoordinator-GV0L9lXH.js";
3
+ import { t as dt } from "./i18n-DW9kcu0G.js";
4
+ import { t as B } from "./tooltipCoordinator-BzxEyKhA.js";
5
5
  const ct = "vk_spinner_s8rMh", vt = "vk_xs_UVj9O", ut = "vk_sm_G7bj9", ft = "vk_lg_SEaSa", D = {
6
6
  spinner: ct,
7
7
  xs: vt,
@@ -1 +1 @@
1
- "use strict";const t=require("solid-js/web"),a=require("solid-js"),J=require("./i18n-B9ccWgcR.cjs"),D=require("./tooltipCoordinator-y5YP3tsJ.cjs"),K="vk_spinner_s8rMh",Q="vk_xs_UVj9O",R="vk_sm_G7bj9",Y="vk_lg_SEaSa",S={spinner:K,xs:Q,sm:R,lg:Y};var ee=t.template("<span data-motion-exempt=true>");const te={xs:S.xs,sm:S.sm,md:"",lg:S.lg};function O(c){return(()=>{var e=ee();return t.effect(l=>{var r=`${S.spinner} ${te[c.size??"md"]} ${c.class??""}`,b=c.decorative?void 0:"status",s=c.decorative?void 0:c.label??J.t("Loading…"),y=c.decorative?"true":void 0;return r!==l.e&&t.className(e,l.e=r),b!==l.t&&t.setAttribute(e,"role",l.t=b),s!==l.a&&t.setAttribute(e,"aria-label",l.a=s),y!==l.o&&t.setAttribute(e,"aria-hidden",l.o=y),l},{e:void 0,t:void 0,a:void 0,o:void 0}),e})()}const ie="vk_root_Zndmu",ne="vk_size2xs_kbyEZ",oe="vk_sizeXs_IUmg-",re="vk_sizeSm_s-iaT",ae="vk_sizeMd_bAI9d",le="vk_sizeLg_zhdkf",se="vk_variantPrimary_KTVgG",ce="vk_variantTonal_tkJNt",de="vk_variantSecondary_MA7xu",ve="vk_variantDanger_L30Uq",ue="vk_variantDangerSolid_htqc7",fe="vk_variantLink_3AapU",me="vk_variantGhost_x0-j-",pe="vk_variantOutline_xGu8I",ge="vk_active_QisSI",_e="vk_iconOnly_bhObv",he="vk_pill_-qH8n",be="vk_fullWidth_kr6EK",ye="vk_icon_h1rmS",ke="vk_label_6-wKp",Le="vk_responsiveLabel_4Ma2i",Se="vk_loading_EWpLB",ze="vk_iconHidden_Mlyq3",xe="vk_spinnerWrap_F8L1B",Te="vk_inlineSpinner_uuJuB",Ce="vk_loadingLabelGroup_HO7pg",Ae="vk_labelText_v7v-A",De="vk_animatedDots_CPxN9",o={root:ie,size2xs:ne,sizeXs:oe,sizeSm:re,sizeMd:ae,sizeLg:le,variantPrimary:se,variantTonal:ce,variantSecondary:de,variantDanger:ve,variantDangerSolid:ue,variantLink:fe,variantGhost:me,variantOutline:pe,active:ge,iconOnly:_e,pill:he,fullWidth:be,icon:ye,label:ke,responsiveLabel:Le,loading:Se,iconHidden:ze,spinnerWrap:xe,inlineSpinner:Te,loadingLabelGroup:Ce,labelText:Ae,animatedDots:De};var h=t.template("<span aria-hidden=true>"),Oe=t.template("<span>"),Ie=t.template("<button>"),$e=t.template("<span><span></span><span aria-hidden=true data-testid=button-animated-dots data-animated-dots=true>");const we={primary:o.variantPrimary,tonal:o.variantTonal,secondary:o.variantSecondary,danger:o.variantDanger,dangerSolid:o.variantDangerSolid,ghost:o.variantGhost,outline:o.variantOutline,link:o.variantLink},Ne={"2xs":o.size2xs,xs:o.sizeXs,sm:o.sizeSm,md:o.sizeMd,lg:o.sizeLg};function We(c){let e=c;for(;typeof e=="function";)try{e=e()}catch{break}return typeof e=="string"?e.replace(/(?:\s*\.{2,}|\s*…)\s*$/,""):Array.isArray(e)&&e.every(l=>typeof l=="string")?e.join("").replace(/(?:\s*\.{2,}|\s*…)\s*$/,""):e}function Pe(c){const[e,l]=a.splitProps(c,["variant","size","iconOnly","active","pill","fullWidth","responsiveLabel","loading","loadingDelay","minLoadingDuration","loadingLabel","type","leadingIcon","trailingIcon","class","children","disabled","tooltip","tooltipShortcut","tooltipPlacement","title","aria-label","aria-description","ref","onPointerEnter","onPointerLeave","onFocusIn","onFocusOut","onClick"]);let r;const b=a.createUniqueId(),[s,y]=a.createSignal(!1);let z=!1,d,v,x=0,g;const I=()=>{r&&r.offsetWidth>0&&g===void 0&&(g=r.style.minWidth,r.style.minWidth=`${r.offsetWidth}px`)},k=()=>{r&&g!==void 0&&(r.style.minWidth=g,g=void 0)},L=n=>{n&&I(),z=n,y(n)};a.createEffect(()=>{const n=!!e.loading,i=typeof e.loadingDelay=="number"&&!Number.isNaN(e.loadingDelay)?e.loadingDelay:180,m=typeof e.minLoadingDuration=="number"&&!Number.isNaN(e.minLoadingDuration)?e.minLoadingDuration:350;if(n){if(I(),v!==void 0&&(clearTimeout(v),v=void 0),z)return;i<=0?(x=Date.now(),L(!0)):d===void 0&&(d=setTimeout(()=>{d=void 0,x=Date.now(),L(!0)},i))}else if(d!==void 0&&(clearTimeout(d),d=void 0),z){const u=Date.now()-x,p=m-u;p>0?v===void 0&&(v=setTimeout(()=>{v=void 0,L(!1),k()},p)):(L(!1),k())}else k()});let _;a.createEffect(()=>{e.loading||(_=e.children)}),a.onCleanup(()=>{d!==void 0&&(clearTimeout(d),d=void 0),v!==void 0&&(clearTimeout(v),v=void 0),k()});const T=()=>!!e.loading||s(),$=()=>{if(e.loadingLabel!==void 0)return typeof e.loadingLabel=="function"?e.loadingLabel():e.loadingLabel},G=()=>{const n=$();return n!==void 0?n:e.children!==void 0&&e.children!==""&&e.children!==null&&e.children!==!1?e.children:_!==void 0?_:e.children},q=()=>e.size==="2xs"||e.size==="xs"?"xs":"sm",F=()=>e.size==="2xs"||e.size==="xs"?"xs":e.size==="sm"?"sm":"md",C=()=>e.tooltip!==void 0?typeof e.tooltip=="function"?e.tooltip():e.tooltip:e.title,[w,M]=a.createSignal("");a.createEffect(()=>{var n;e.children,e.iconOnly,M(((n=r==null?void 0:r.textContent)==null?void 0:n.trim())??"")});const N=()=>!e.iconOnly&&w()!=="",H=()=>{const n=$();if(s()&&n)return n;if(e["aria-label"]!==void 0)return e["aria-label"];if(!N())return C()},V=()=>{if(e["aria-description"]!==void 0)return e["aria-description"];if(e["aria-label"]!==void 0||!N())return;const n=C();return n&&n!==w()?n:void 0},W=()=>{const n=C();!n||!r||(r.hasAttribute("title")&&(r.setAttribute("data-suppressed-title",r.getAttribute("title")??""),r.removeAttribute("title")),D.tooltipCoordinator.showTooltip({id:b,target:r,content:n,shortcut:e.tooltipShortcut,placement:e.tooltipPlacement}))},j=()=>{if(r&&r.hasAttribute("data-suppressed-title")){const n=r.getAttribute("data-suppressed-title");n&&r.setAttribute("title",n),r.removeAttribute("data-suppressed-title")}},A=()=>{j(),r&&D.tooltipCoordinator.hideTooltip(r)},U=()=>{r&&D.tooltipCoordinator.hideTooltip(r)};a.onCleanup(()=>{A()});const X=()=>{const n=e.variant??"secondary",i=e.size??(n==="link"?void 0:"md");return[o.root,we[n],i===void 0?void 0:Ne[i],e.iconOnly?o.iconOnly:void 0,e.active?o.active:void 0,e.pill?o.pill:void 0,e.fullWidth?o.fullWidth:void 0,e.responsiveLabel?o.responsiveLabel:void 0,s()?o.loading:void 0,e.class].filter(u=>!!u).join(" ")};return(()=>{var n=Ie();return t.use(i=>{r=i,typeof e.ref=="function"&&e.ref(i)},n),t.spread(n,t.mergeProps(l,{get type(){return e.type??"button"},get class(){return X()},get disabled(){return e.disabled},get"aria-disabled"(){return T()&&!e.disabled?"true":void 0},get"aria-busy"(){return T()?"true":"false"},get"aria-label"(){return H()},get"aria-description"(){return V()},get title(){return t.memo(()=>e.tooltip!==void 0)()?void 0:e.title},onPointerEnter:i=>{W(),typeof e.onPointerEnter=="function"&&e.onPointerEnter(i)},onPointerLeave:i=>{A(),typeof e.onPointerLeave=="function"&&e.onPointerLeave(i)},onFocusIn:i=>{W(),typeof e.onFocusIn=="function"&&e.onFocusIn(i)},onFocusOut:i=>{A(),typeof e.onFocusOut=="function"&&e.onFocusOut(i)},onClick:i=>{if(e.disabled||T()){i.preventDefault();return}if(U(),typeof e.onClick=="function")e.onClick(i);else if(Array.isArray(e.onClick)){const[m,u]=e.onClick;m(u,i)}}}),!1,!0),t.insert(n,t.createComponent(a.Show,{get when(){return t.memo(()=>e.leadingIcon!==void 0)()&&!s()},get children(){var i=h();return t.insert(i,()=>e.leadingIcon),t.effect(()=>t.className(i,o.icon)),i}}),null),t.insert(n,t.createComponent(a.Show,{get when(){return t.memo(()=>!e.iconOnly)()&&s()},get children(){var i=h();return t.insert(i,t.createComponent(O,{get size(){return q()},decorative:!0})),t.effect(()=>t.className(i,o.inlineSpinner)),i}}),null),t.insert(n,t.createComponent(a.Show,{get when(){return t.memo(()=>!!(e.children!==void 0||s()&&e.loadingLabel!==void 0))()&&!e.iconOnly},get children(){var i=Oe();return t.insert(i,(()=>{var m=t.memo(()=>!!s());return()=>m()?(()=>{var u=$e(),p=u.firstChild,Z=p.nextSibling;return t.insert(p,()=>We(G())),t.effect(f=>{var P=o.loadingLabelGroup,E=o.labelText,B=o.animatedDots;return P!==f.e&&t.className(u,f.e=P),E!==f.t&&t.className(p,f.t=E),B!==f.a&&t.className(Z,f.a=B),f},{e:void 0,t:void 0,a:void 0}),u})():t.memo(()=>!!(e.loading&&_!==void 0))()?_:e.children})()),t.effect(()=>t.className(i,o.label)),i}}),null),t.insert(n,t.createComponent(a.Show,{get when(){return t.memo(()=>!!e.iconOnly)()&&e.children!==void 0},get children(){var i=h();return t.insert(i,()=>e.children),t.effect(()=>t.className(i,`${o.icon} ${s()?o.iconHidden:""}`)),i}}),null),t.insert(n,t.createComponent(a.Show,{get when(){return t.memo(()=>e.trailingIcon!==void 0)()&&!s()},get children(){var i=h();return t.insert(i,()=>e.trailingIcon),t.effect(()=>t.className(i,o.icon)),i}}),null),t.insert(n,t.createComponent(a.Show,{get when(){return t.memo(()=>!!e.iconOnly)()&&s()},get children(){var i=h();return t.insert(i,t.createComponent(O,{get size(){return F()},decorative:!0})),t.effect(()=>t.className(i,o.spinnerWrap)),i}}),null),n})()}exports.Button=Pe;exports.Spinner=O;
1
+ "use strict";const t=require("solid-js/web"),a=require("solid-js"),J=require("./i18n-DZ0JlZal.cjs"),D=require("./tooltipCoordinator-DslqMlsI.cjs"),K="vk_spinner_s8rMh",Q="vk_xs_UVj9O",R="vk_sm_G7bj9",Y="vk_lg_SEaSa",S={spinner:K,xs:Q,sm:R,lg:Y};var ee=t.template("<span data-motion-exempt=true>");const te={xs:S.xs,sm:S.sm,md:"",lg:S.lg};function O(c){return(()=>{var e=ee();return t.effect(l=>{var r=`${S.spinner} ${te[c.size??"md"]} ${c.class??""}`,b=c.decorative?void 0:"status",s=c.decorative?void 0:c.label??J.t("Loading…"),y=c.decorative?"true":void 0;return r!==l.e&&t.className(e,l.e=r),b!==l.t&&t.setAttribute(e,"role",l.t=b),s!==l.a&&t.setAttribute(e,"aria-label",l.a=s),y!==l.o&&t.setAttribute(e,"aria-hidden",l.o=y),l},{e:void 0,t:void 0,a:void 0,o:void 0}),e})()}const ie="vk_root_Zndmu",ne="vk_size2xs_kbyEZ",oe="vk_sizeXs_IUmg-",re="vk_sizeSm_s-iaT",ae="vk_sizeMd_bAI9d",le="vk_sizeLg_zhdkf",se="vk_variantPrimary_KTVgG",ce="vk_variantTonal_tkJNt",de="vk_variantSecondary_MA7xu",ve="vk_variantDanger_L30Uq",ue="vk_variantDangerSolid_htqc7",fe="vk_variantLink_3AapU",me="vk_variantGhost_x0-j-",pe="vk_variantOutline_xGu8I",ge="vk_active_QisSI",_e="vk_iconOnly_bhObv",he="vk_pill_-qH8n",be="vk_fullWidth_kr6EK",ye="vk_icon_h1rmS",ke="vk_label_6-wKp",Le="vk_responsiveLabel_4Ma2i",Se="vk_loading_EWpLB",ze="vk_iconHidden_Mlyq3",xe="vk_spinnerWrap_F8L1B",Te="vk_inlineSpinner_uuJuB",Ce="vk_loadingLabelGroup_HO7pg",Ae="vk_labelText_v7v-A",De="vk_animatedDots_CPxN9",o={root:ie,size2xs:ne,sizeXs:oe,sizeSm:re,sizeMd:ae,sizeLg:le,variantPrimary:se,variantTonal:ce,variantSecondary:de,variantDanger:ve,variantDangerSolid:ue,variantLink:fe,variantGhost:me,variantOutline:pe,active:ge,iconOnly:_e,pill:he,fullWidth:be,icon:ye,label:ke,responsiveLabel:Le,loading:Se,iconHidden:ze,spinnerWrap:xe,inlineSpinner:Te,loadingLabelGroup:Ce,labelText:Ae,animatedDots:De};var h=t.template("<span aria-hidden=true>"),Oe=t.template("<span>"),Ie=t.template("<button>"),$e=t.template("<span><span></span><span aria-hidden=true data-testid=button-animated-dots data-animated-dots=true>");const we={primary:o.variantPrimary,tonal:o.variantTonal,secondary:o.variantSecondary,danger:o.variantDanger,dangerSolid:o.variantDangerSolid,ghost:o.variantGhost,outline:o.variantOutline,link:o.variantLink},Ne={"2xs":o.size2xs,xs:o.sizeXs,sm:o.sizeSm,md:o.sizeMd,lg:o.sizeLg};function We(c){let e=c;for(;typeof e=="function";)try{e=e()}catch{break}return typeof e=="string"?e.replace(/(?:\s*\.{2,}|\s*…)\s*$/,""):Array.isArray(e)&&e.every(l=>typeof l=="string")?e.join("").replace(/(?:\s*\.{2,}|\s*…)\s*$/,""):e}function Pe(c){const[e,l]=a.splitProps(c,["variant","size","iconOnly","active","pill","fullWidth","responsiveLabel","loading","loadingDelay","minLoadingDuration","loadingLabel","type","leadingIcon","trailingIcon","class","children","disabled","tooltip","tooltipShortcut","tooltipPlacement","title","aria-label","aria-description","ref","onPointerEnter","onPointerLeave","onFocusIn","onFocusOut","onClick"]);let r;const b=a.createUniqueId(),[s,y]=a.createSignal(!1);let z=!1,d,v,x=0,g;const I=()=>{r&&r.offsetWidth>0&&g===void 0&&(g=r.style.minWidth,r.style.minWidth=`${r.offsetWidth}px`)},k=()=>{r&&g!==void 0&&(r.style.minWidth=g,g=void 0)},L=n=>{n&&I(),z=n,y(n)};a.createEffect(()=>{const n=!!e.loading,i=typeof e.loadingDelay=="number"&&!Number.isNaN(e.loadingDelay)?e.loadingDelay:180,m=typeof e.minLoadingDuration=="number"&&!Number.isNaN(e.minLoadingDuration)?e.minLoadingDuration:350;if(n){if(I(),v!==void 0&&(clearTimeout(v),v=void 0),z)return;i<=0?(x=Date.now(),L(!0)):d===void 0&&(d=setTimeout(()=>{d=void 0,x=Date.now(),L(!0)},i))}else if(d!==void 0&&(clearTimeout(d),d=void 0),z){const u=Date.now()-x,p=m-u;p>0?v===void 0&&(v=setTimeout(()=>{v=void 0,L(!1),k()},p)):(L(!1),k())}else k()});let _;a.createEffect(()=>{e.loading||(_=e.children)}),a.onCleanup(()=>{d!==void 0&&(clearTimeout(d),d=void 0),v!==void 0&&(clearTimeout(v),v=void 0),k()});const T=()=>!!e.loading||s(),$=()=>{if(e.loadingLabel!==void 0)return typeof e.loadingLabel=="function"?e.loadingLabel():e.loadingLabel},G=()=>{const n=$();return n!==void 0?n:e.children!==void 0&&e.children!==""&&e.children!==null&&e.children!==!1?e.children:_!==void 0?_:e.children},q=()=>e.size==="2xs"||e.size==="xs"?"xs":"sm",F=()=>e.size==="2xs"||e.size==="xs"?"xs":e.size==="sm"?"sm":"md",C=()=>e.tooltip!==void 0?typeof e.tooltip=="function"?e.tooltip():e.tooltip:e.title,[w,M]=a.createSignal("");a.createEffect(()=>{var n;e.children,e.iconOnly,M(((n=r==null?void 0:r.textContent)==null?void 0:n.trim())??"")});const N=()=>!e.iconOnly&&w()!=="",H=()=>{const n=$();if(s()&&n)return n;if(e["aria-label"]!==void 0)return e["aria-label"];if(!N())return C()},V=()=>{if(e["aria-description"]!==void 0)return e["aria-description"];if(e["aria-label"]!==void 0||!N())return;const n=C();return n&&n!==w()?n:void 0},W=()=>{const n=C();!n||!r||(r.hasAttribute("title")&&(r.setAttribute("data-suppressed-title",r.getAttribute("title")??""),r.removeAttribute("title")),D.tooltipCoordinator.showTooltip({id:b,target:r,content:n,shortcut:e.tooltipShortcut,placement:e.tooltipPlacement}))},j=()=>{if(r&&r.hasAttribute("data-suppressed-title")){const n=r.getAttribute("data-suppressed-title");n&&r.setAttribute("title",n),r.removeAttribute("data-suppressed-title")}},A=()=>{j(),r&&D.tooltipCoordinator.hideTooltip(r)},U=()=>{r&&D.tooltipCoordinator.hideTooltip(r)};a.onCleanup(()=>{A()});const X=()=>{const n=e.variant??"secondary",i=e.size??(n==="link"?void 0:"md");return[o.root,we[n],i===void 0?void 0:Ne[i],e.iconOnly?o.iconOnly:void 0,e.active?o.active:void 0,e.pill?o.pill:void 0,e.fullWidth?o.fullWidth:void 0,e.responsiveLabel?o.responsiveLabel:void 0,s()?o.loading:void 0,e.class].filter(u=>!!u).join(" ")};return(()=>{var n=Ie();return t.use(i=>{r=i,typeof e.ref=="function"&&e.ref(i)},n),t.spread(n,t.mergeProps(l,{get type(){return e.type??"button"},get class(){return X()},get disabled(){return e.disabled},get"aria-disabled"(){return T()&&!e.disabled?"true":void 0},get"aria-busy"(){return T()?"true":"false"},get"aria-label"(){return H()},get"aria-description"(){return V()},get title(){return t.memo(()=>e.tooltip!==void 0)()?void 0:e.title},onPointerEnter:i=>{W(),typeof e.onPointerEnter=="function"&&e.onPointerEnter(i)},onPointerLeave:i=>{A(),typeof e.onPointerLeave=="function"&&e.onPointerLeave(i)},onFocusIn:i=>{W(),typeof e.onFocusIn=="function"&&e.onFocusIn(i)},onFocusOut:i=>{A(),typeof e.onFocusOut=="function"&&e.onFocusOut(i)},onClick:i=>{if(e.disabled||T()){i.preventDefault();return}if(U(),typeof e.onClick=="function")e.onClick(i);else if(Array.isArray(e.onClick)){const[m,u]=e.onClick;m(u,i)}}}),!1,!0),t.insert(n,t.createComponent(a.Show,{get when(){return t.memo(()=>e.leadingIcon!==void 0)()&&!s()},get children(){var i=h();return t.insert(i,()=>e.leadingIcon),t.effect(()=>t.className(i,o.icon)),i}}),null),t.insert(n,t.createComponent(a.Show,{get when(){return t.memo(()=>!e.iconOnly)()&&s()},get children(){var i=h();return t.insert(i,t.createComponent(O,{get size(){return q()},decorative:!0})),t.effect(()=>t.className(i,o.inlineSpinner)),i}}),null),t.insert(n,t.createComponent(a.Show,{get when(){return t.memo(()=>!!(e.children!==void 0||s()&&e.loadingLabel!==void 0))()&&!e.iconOnly},get children(){var i=Oe();return t.insert(i,(()=>{var m=t.memo(()=>!!s());return()=>m()?(()=>{var u=$e(),p=u.firstChild,Z=p.nextSibling;return t.insert(p,()=>We(G())),t.effect(f=>{var P=o.loadingLabelGroup,E=o.labelText,B=o.animatedDots;return P!==f.e&&t.className(u,f.e=P),E!==f.t&&t.className(p,f.t=E),B!==f.a&&t.className(Z,f.a=B),f},{e:void 0,t:void 0,a:void 0}),u})():t.memo(()=>!!(e.loading&&_!==void 0))()?_:e.children})()),t.effect(()=>t.className(i,o.label)),i}}),null),t.insert(n,t.createComponent(a.Show,{get when(){return t.memo(()=>!!e.iconOnly)()&&e.children!==void 0},get children(){var i=h();return t.insert(i,()=>e.children),t.effect(()=>t.className(i,`${o.icon} ${s()?o.iconHidden:""}`)),i}}),null),t.insert(n,t.createComponent(a.Show,{get when(){return t.memo(()=>e.trailingIcon!==void 0)()&&!s()},get children(){var i=h();return t.insert(i,()=>e.trailingIcon),t.effect(()=>t.className(i,o.icon)),i}}),null),t.insert(n,t.createComponent(a.Show,{get when(){return t.memo(()=>!!e.iconOnly)()&&s()},get children(){var i=h();return t.insert(i,t.createComponent(O,{get size(){return F()},decorative:!0})),t.effect(()=>t.className(i,o.spinnerWrap)),i}}),null),n})()}exports.Button=Pe;exports.Spinner=O;