@vokril/ui-solid 0.9.3 → 0.13.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 (244) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/{AttributeGrid-Bnn1w5XX.cjs → AttributeGrid-Bg88JYZI.cjs} +1 -1
  3. package/dist/{AttributeGrid-DJdW32LQ.js → AttributeGrid-BypjAajJ.js} +4 -4
  4. package/dist/{Button-BZWXPn8y.js → Button-Db6wMY-3.js} +2 -2
  5. package/dist/{Button-X8QR6llv.cjs → Button-d9jJBibg.cjs} +1 -1
  6. package/dist/CommandPalette-DeEImZ8D.cjs +2 -0
  7. package/dist/{CommandPalette-ZCFlLqrP.js → CommandPalette-yqvM9AuU.js} +1372 -1425
  8. package/dist/{CopyButton-D3dIRRnn.js → CopyButton-C93PFyYK.js} +1 -1
  9. package/dist/{CopyButton-3cX5MHAf.cjs → CopyButton-CXaZRU7b.cjs} +1 -1
  10. package/dist/{DateRangePicker-DHI3SNna.cjs → DateRangePicker-7t4JKCp1.cjs} +1 -1
  11. package/dist/{DateRangePicker-BcqoUao4.js → DateRangePicker-D-5rg3h1.js} +4 -4
  12. package/dist/{GuidedTour-c7XiyOmE.cjs → GuidedTour-C_Lxe1t_.cjs} +10 -10
  13. package/dist/{GuidedTour-B-BXe3ul.js → GuidedTour-lsljVkPL.js} +1489 -1487
  14. package/dist/{IconPicker-CXbFmJ3y.js → IconPicker-C3ZwWkB1.js} +4 -4
  15. package/dist/{IconPicker-9tjEtmqt.cjs → IconPicker-DPT-QfsC.cjs} +1 -1
  16. package/dist/{Input-BEnk4FCF.cjs → Input-Ca8fLm_s.cjs} +1 -1
  17. package/dist/{Input-PZ5wRvPx.js → Input-gq8EcQao.js} +1 -1
  18. package/dist/{Modal-CsiV55WW.js → Modal-C4l_yuY9.js} +3 -3
  19. package/dist/{Modal-DpDHzCWT.cjs → Modal-CJhd27dM.cjs} +1 -1
  20. package/dist/{PageSkeleton-CyTXvZYm.js → PageSkeleton-C95fXUUk.js} +56 -56
  21. package/dist/{PageSkeleton-DzKYTuNy.cjs → PageSkeleton-SYSL4Adl.cjs} +1 -1
  22. package/dist/{SearchableSelect-C6KL7e42.js → SearchableSelect-BpOD2_A-.js} +3 -3
  23. package/dist/{SearchableSelect-zT8XNpmt.cjs → SearchableSelect-MN5azo9r.cjs} +1 -1
  24. package/dist/{StatusBarNotificationBell-CZmym2gV.js → StatusBarNotificationBell-B1bvE_SO.js} +45 -45
  25. package/dist/{StatusBarNotificationBell-DG8Pe6R-.cjs → StatusBarNotificationBell-Cqo6cZbO.cjs} +1 -1
  26. package/dist/{Stepper-BxXwbDq4.js → Stepper-BgDx1cPX.js} +1 -1
  27. package/dist/{Stepper-DoJFCfC7.cjs → Stepper-D7rXGxdg.cjs} +1 -1
  28. package/dist/{Textarea-BunKEY68.cjs → Textarea-BltpSavs.cjs} +1 -1
  29. package/dist/{Textarea-BUxibzkR.js → Textarea-BueHsjOk.js} +1 -1
  30. package/dist/{TimeSeriesChart-DBrDzBGE.js → TimeSeriesChart-C3o7NZPh.js} +1 -1
  31. package/dist/{TimeSeriesChart-CS4jQflv.cjs → TimeSeriesChart-DhYtrAgX.cjs} +1 -1
  32. package/dist/{ToggleButton-Bjxv8KGH.cjs → ToggleButton-BmwDfsn4.cjs} +1 -1
  33. package/dist/{ToggleButton-BfjXnp-P.js → ToggleButton-DCP7f6Uo.js} +6 -6
  34. package/dist/_internal/app/settings/secrets/notificationSecrets.d.cts +23 -14
  35. package/dist/_internal/app/settings/secrets/notificationSecrets.d.ts +23 -14
  36. package/dist/_internal/platform/a11y/announcerService.d.cts +9 -13
  37. package/dist/_internal/platform/a11y/announcerService.d.ts +9 -13
  38. package/dist/_internal/platform/settings/settingsTypes.d.cts +0 -5
  39. package/dist/_internal/platform/settings/settingsTypes.d.ts +0 -5
  40. package/dist/a11y/index.cjs +1 -1
  41. package/dist/a11y/index.js +1 -1
  42. package/dist/{catalogNotify-CIhFuJ1b.js → catalogNotify-BcY9oqVy.js} +287 -274
  43. package/dist/catalogNotify-DacJjC-p.cjs +27 -0
  44. package/dist/charts/index.cjs +1 -1
  45. package/dist/charts/index.js +1 -1
  46. package/dist/{createResizableSidebar-pDoO-7q9.cjs → createResizableSidebar-BIhyo5zN.cjs} +1 -1
  47. package/dist/{createResizableSidebar-2TgiFZp1.js → createResizableSidebar-Cqv-1IXG.js} +6 -6
  48. package/dist/{server/defineSettings-By5ell8e.js → defineSettings-CcYXt2Jf.js} +1 -1
  49. package/dist/{defineSettings-DRv1FRbv.cjs → defineSettings-yHQdUwxI.cjs} +1 -1
  50. package/dist/{descriptor-B1MaujhY.js → descriptor-CrCl515S.js} +2 -2
  51. package/dist/{descriptor-lw1fA9mi.cjs → descriptor-Dmch-3AF.cjs} +1 -1
  52. package/dist/desktop/index.cjs +1 -1
  53. package/dist/desktop/index.js +5 -5
  54. package/dist/{displayOwner-BNw2Foa_.cjs → displayOwner-eYQHHvjt.cjs} +1 -1
  55. package/dist/{server/displayOwner-B_ezJv-O.js → displayOwner-mT80Oyi-.js} +1 -1
  56. package/dist/feedback/index.cjs +1 -1
  57. package/dist/feedback/index.js +3 -3
  58. package/dist/focusModality-BNjYldd9.cjs +1 -0
  59. package/dist/focusModality-DxudpWPs.js +135 -0
  60. package/dist/{format-UGlMj0HW.js → format-BS7oDguE.js} +3 -3
  61. package/dist/{format-Dih0q9gm.cjs → format-CuANkXXB.cjs} +1 -1
  62. package/dist/forms/index.cjs +1 -1
  63. package/dist/forms/index.js +9 -9
  64. package/dist/grid/index.cjs +1 -1
  65. package/dist/grid/index.js +1 -1
  66. package/dist/{server/headerIconOverrides-BCzeaBA1.js → headerIconOverrides-B7TQUBmD.js} +1 -1
  67. package/dist/{headerIconOverrides-64lFnqTt.cjs → headerIconOverrides-DY3BTuca.cjs} +1 -1
  68. package/dist/host/index.cjs +1 -1
  69. package/dist/host/index.d.cts +1 -0
  70. package/dist/host/index.d.ts +1 -0
  71. package/dist/host/index.js +94 -91
  72. package/dist/host/kitHost.d.cts +23 -0
  73. package/dist/host/kitHost.d.ts +23 -0
  74. package/dist/i18n/index.cjs +1 -1
  75. package/dist/i18n/index.js +1 -1
  76. package/dist/{i18n-CYq-dVvv.js → i18n-D9k9xwuD.js} +1 -1
  77. package/dist/{i18n-B9ccWgcR.cjs → i18n-DXXArz-m.cjs} +1 -1
  78. package/dist/index.cjs +1 -1
  79. package/dist/index.js +1049 -995
  80. package/dist/kitHost-BfJExE1G.cjs +1 -0
  81. package/dist/kitHost-CVAEi9sF.js +23 -0
  82. package/dist/layout/index.cjs +1 -1
  83. package/dist/layout/index.js +2 -2
  84. package/dist/{mainRealmDom-DijAgSXt.cjs → mainRealmDom-CkoRyNhZ.cjs} +1 -1
  85. package/dist/{mainRealmDom-COGBiX78.js → mainRealmDom-kEStLHIY.js} +1 -1
  86. package/dist/{menuFavorites-Db1DpHX6.js → menuFavorites-BmdM_qV5.js} +1 -1
  87. package/dist/{menuFavorites-EluLLTfi.cjs → menuFavorites-DoDFvtlQ.cjs} +1 -1
  88. package/dist/navigation/index.cjs +1 -1
  89. package/dist/navigation/index.js +1 -1
  90. package/dist/{notification-DFbp3S_f.js → notification-CpDYN_iu.js} +1 -1
  91. package/dist/{notification-CrxHMXsk.cjs → notification-DygvQB_o.cjs} +1 -1
  92. package/dist/{notificationSuppressions-DFbFpayS.cjs → notificationSuppressions-DGfo2QKG.cjs} +1 -1
  93. package/dist/{notificationSuppressions-CBIJ4bC4.js → notificationSuppressions-ddyK85cB.js} +2 -2
  94. package/dist/notifications/index.cjs +1 -1
  95. package/dist/notifications/index.d.cts +1 -0
  96. package/dist/notifications/index.d.ts +1 -0
  97. package/dist/notifications/index.js +83 -77
  98. package/dist/overlay/ConfirmDialog.d.cts +22 -4
  99. package/dist/overlay/ConfirmDialog.d.ts +22 -4
  100. package/dist/overlay/DangerousActionDialog.d.cts +2 -2
  101. package/dist/overlay/DangerousActionDialog.d.ts +2 -2
  102. package/dist/overlay/index.cjs +1 -1
  103. package/dist/overlay/index.js +38 -38
  104. package/dist/{server/preferencesCache-BhUd3K9p.js → preferencesCache-Bow6TxP1.js} +1 -1
  105. package/dist/{preferencesCache-DJPCTPYx.cjs → preferencesCache-D7mm43_n.cjs} +1 -1
  106. package/dist/rendererLogging-Dt5FZ8mq.cjs +7 -0
  107. package/dist/{rendererLogging-Edo4ALXU.js → rendererLogging-gAhiHWkA.js} +65 -65
  108. package/dist/server/{AttributeGrid-BVAQshm3.cjs → AttributeGrid-CyMsR4GC.cjs} +1 -1
  109. package/dist/server/{AttributeGrid-BCYNwNjw.js → AttributeGrid-UJtHTip2.js} +3 -3
  110. package/dist/server/{Button-BhqhjFpY.js → Button-BesBg6eW.js} +1 -1
  111. package/dist/server/{Button-CFOM8pOv.cjs → Button-PZulLru4.cjs} +1 -1
  112. package/dist/server/CommandPalette-C8treS8g.cjs +1 -0
  113. package/dist/server/CommandPalette-Dslsq5Ez.js +3155 -0
  114. package/dist/server/{CopyButton-C2jzn9tR.cjs → CopyButton-D_sN2Ggp.cjs} +1 -1
  115. package/dist/server/{CopyButton-CChDa2p3.js → CopyButton-I5xsXV07.js} +1 -1
  116. package/dist/server/{DateRangePicker-sX2m4194.cjs → DateRangePicker-CDKi9BAf.cjs} +1 -1
  117. package/dist/server/{DateRangePicker-QV6U1adB.js → DateRangePicker-DGUl2aE3.js} +3 -3
  118. package/dist/server/GuidedTour-B3T9rAPX.cjs +20 -0
  119. package/dist/server/{GuidedTour-BhJGkoPa.js → GuidedTour-DSoSZZby.js} +1559 -1557
  120. package/dist/server/{IconPicker-BEACrT09.cjs → IconPicker-BlD0VBca.cjs} +1 -1
  121. package/dist/server/{IconPicker-at_coEi6.js → IconPicker-o8hUxjYU.js} +4 -4
  122. package/dist/server/{Modal-CAVr4DU6.cjs → Modal-CCUwQYso.cjs} +1 -1
  123. package/dist/server/{Modal-usxkqDtK.js → Modal-DmF6CwfY.js} +2 -2
  124. package/dist/server/{PageSkeleton-Bpgep9QW.js → PageSkeleton-BigztY5i.js} +21 -21
  125. package/dist/server/{PageSkeleton-KwYRrZua.cjs → PageSkeleton-DdpXfZoC.cjs} +1 -1
  126. package/dist/server/{SearchableSelect-0dP7bp0a.js → SearchableSelect-Dn-cssWx.js} +2 -2
  127. package/dist/server/{SearchableSelect-nMecJAYS.cjs → SearchableSelect-R0Dwz9rz.cjs} +1 -1
  128. package/dist/server/{StatusBarNotificationBell-C9MCuKT6.js → StatusBarNotificationBell-C64Odn2C.js} +169 -169
  129. package/dist/server/{StatusBarNotificationBell-BJyGqDCX.cjs → StatusBarNotificationBell-DY0Q27su.cjs} +1 -1
  130. package/dist/server/{Stepper-B8hDDujj.js → Stepper-BaQ6Kexj.js} +1 -1
  131. package/dist/server/{Stepper-DvoJXLcM.cjs → Stepper-dBm8YaCw.cjs} +1 -1
  132. package/dist/server/{TimeSeriesChart-C1LbL_xp.js → TimeSeriesChart-BbbfDyeA.js} +1 -1
  133. package/dist/server/{TimeSeriesChart-DtldQrxS.cjs → TimeSeriesChart-qPgMkkaW.cjs} +1 -1
  134. package/dist/server/{ToggleButton-DTI2HB97.cjs → ToggleButton-1bNYk35x.cjs} +1 -1
  135. package/dist/server/{ToggleButton--G4HCOTD.js → ToggleButton-C0_QpslP.js} +4 -4
  136. package/dist/server/a11y/index.cjs +1 -1
  137. package/dist/server/a11y/index.js +1 -1
  138. package/dist/server/catalogNotify-MCW2sa2e.cjs +27 -0
  139. package/dist/server/{catalogNotify-mUcKuUmZ.js → catalogNotify-s3YymAe8.js} +289 -276
  140. package/dist/server/charts/index.cjs +1 -1
  141. package/dist/server/charts/index.js +1 -1
  142. package/dist/server/{createResizableSidebar-CCrAgu_K.js → createResizableSidebar-MIzUlfdd.js} +5 -5
  143. package/dist/server/{createResizableSidebar-DGd-3PrM.cjs → createResizableSidebar-TdxLuiY8.cjs} +1 -1
  144. package/dist/{defineSettings-By5ell8e.js → server/defineSettings-CcYXt2Jf.js} +1 -1
  145. package/dist/server/{defineSettings-DRv1FRbv.cjs → defineSettings-yHQdUwxI.cjs} +1 -1
  146. package/dist/server/{descriptor-IJq9wdXK.cjs → descriptor-DAyyoF-I.cjs} +1 -1
  147. package/dist/server/{descriptor-DWkJAggS.js → descriptor-DtZDXBe6.js} +2 -2
  148. package/dist/server/desktop/index.cjs +1 -1
  149. package/dist/server/desktop/index.js +4 -4
  150. package/dist/server/{displayOwner-BNw2Foa_.cjs → displayOwner-eYQHHvjt.cjs} +1 -1
  151. package/dist/{displayOwner-B_ezJv-O.js → server/displayOwner-mT80Oyi-.js} +1 -1
  152. package/dist/server/feedback/index.cjs +1 -1
  153. package/dist/server/feedback/index.js +2 -2
  154. package/dist/server/{focusModality-DmOZptla.js → focusModality-BCX5GH0P.js} +31 -29
  155. package/dist/server/focusModality-BKgJWRlC.cjs +1 -0
  156. package/dist/server/{format-CW_FVfq2.js → format-CYCi8g4r.js} +1 -1
  157. package/dist/server/{format-x-8syaS2.cjs → format-WfZycMBL.cjs} +1 -1
  158. package/dist/server/forms/index.cjs +1 -1
  159. package/dist/server/forms/index.js +7 -7
  160. package/dist/server/grid/index.cjs +1 -1
  161. package/dist/server/grid/index.js +1 -1
  162. package/dist/{headerIconOverrides-BCzeaBA1.js → server/headerIconOverrides-B7TQUBmD.js} +1 -1
  163. package/dist/server/{headerIconOverrides-64lFnqTt.cjs → headerIconOverrides-DY3BTuca.cjs} +1 -1
  164. package/dist/server/host/index.cjs +1 -1
  165. package/dist/server/host/index.js +94 -91
  166. package/dist/server/i18n/index.cjs +1 -1
  167. package/dist/server/i18n/index.js +1 -1
  168. package/dist/server/{i18n-CYq-dVvv.js → i18n-D9k9xwuD.js} +1 -1
  169. package/dist/server/{i18n-B9ccWgcR.cjs → i18n-DXXArz-m.cjs} +1 -1
  170. package/dist/server/{index-BFT4Uh9D.js → index-B4epvfiq.js} +1 -1
  171. package/dist/server/{index-Xlas73iC.cjs → index-DlQYWckZ.cjs} +1 -1
  172. package/dist/server/index.cjs +1 -1
  173. package/dist/server/index.js +1026 -972
  174. package/dist/server/kitHost-BfJExE1G.cjs +1 -0
  175. package/dist/server/kitHost-CVAEi9sF.js +23 -0
  176. package/dist/server/layout/index.cjs +1 -1
  177. package/dist/server/layout/index.js +2 -2
  178. package/dist/server/{menuFavorites-Db1DpHX6.js → menuFavorites-BmdM_qV5.js} +1 -1
  179. package/dist/server/{menuFavorites-EluLLTfi.cjs → menuFavorites-DoDFvtlQ.cjs} +1 -1
  180. package/dist/server/navigation/index.cjs +1 -1
  181. package/dist/server/navigation/index.js +1 -1
  182. package/dist/server/{notification-DFbp3S_f.js → notification-CpDYN_iu.js} +1 -1
  183. package/dist/server/{notification-CrxHMXsk.cjs → notification-DygvQB_o.cjs} +1 -1
  184. package/dist/server/{notificationSuppressions-DkrUMXHx.js → notificationSuppressions-B-LKq9ZU.js} +2 -2
  185. package/dist/server/{notificationSuppressions-D7FZmJy8.cjs → notificationSuppressions-Dcc2WFBZ.cjs} +1 -1
  186. package/dist/server/notifications/index.cjs +1 -1
  187. package/dist/server/notifications/index.js +81 -75
  188. package/dist/server/overlay/index.cjs +1 -1
  189. package/dist/server/overlay/index.js +27 -27
  190. package/dist/{preferencesCache-BhUd3K9p.js → server/preferencesCache-Bow6TxP1.js} +1 -1
  191. package/dist/server/{preferencesCache-DJPCTPYx.cjs → preferencesCache-D7mm43_n.cjs} +1 -1
  192. package/dist/server/rendererLogging-Dt5FZ8mq.cjs +7 -0
  193. package/dist/server/{rendererLogging-Edo4ALXU.js → rendererLogging-gAhiHWkA.js} +65 -65
  194. package/dist/server/settings/index.cjs +1 -1
  195. package/dist/server/settings/index.js +3 -3
  196. package/dist/server/{settingsSearchContributor-DeMn-njw.js → settingsSearchContributor-CRZsl2Q_.js} +2 -2
  197. package/dist/server/{settingsSearchContributor-DZj7Wc8l.cjs → settingsSearchContributor-DH8UFpp2.cjs} +1 -1
  198. package/dist/server/tree/index.cjs +1 -1
  199. package/dist/server/tree/index.js +1 -1
  200. package/dist/settings/index.cjs +1 -1
  201. package/dist/settings/index.js +3 -3
  202. package/dist/{settingsSearchContributor-C-UJc7Xc.js → settingsSearchContributor-DWP5dwn3.js} +2 -2
  203. package/dist/{settingsSearchContributor-Du0SDpJt.cjs → settingsSearchContributor-Dltbs1j_.cjs} +1 -1
  204. package/dist/solid/_internal/app/settings/secrets/notificationSecrets.js +20 -28
  205. package/dist/solid/_internal/platform/a11y/announcerService.js +0 -24
  206. package/dist/solid/a11y/AriaAnnouncer.jsx +4 -4
  207. package/dist/solid/host/index.js +1 -0
  208. package/dist/solid/host/kitHost.jsx +15 -0
  209. package/dist/solid/notifications/NotificationItem.jsx +4 -3
  210. package/dist/solid/notifications/emailDigest.js +2 -2
  211. package/dist/solid/notifications/index.js +1 -0
  212. package/dist/solid/notifications/webhookDelivery.js +2 -2
  213. package/dist/solid/overlay/ConfirmDialog.jsx +1 -21
  214. package/dist/style.css +1 -1
  215. package/dist/{tooltipCoordinator-y5YP3tsJ.cjs → tooltipCoordinator-Causlcgt.cjs} +1 -1
  216. package/dist/{tooltipCoordinator-GV0L9lXH.js → tooltipCoordinator-Zim5pWzk.js} +1 -1
  217. package/dist/tree/index.cjs +1 -1
  218. package/dist/tree/index.js +1 -1
  219. package/dist/ui.css +1 -1
  220. package/package.json +1 -1
  221. package/dist/CommandPalette-DToM9pUp.cjs +0 -2
  222. package/dist/_internal/platform/instantiation/common/descriptors.d.cts +0 -9
  223. package/dist/_internal/platform/instantiation/common/descriptors.d.ts +0 -9
  224. package/dist/_internal/platform/instantiation/common/instantiation.d.cts +0 -99
  225. package/dist/_internal/platform/instantiation/common/instantiation.d.ts +0 -99
  226. package/dist/_internal/platform/instantiation/common/serviceCollection.d.cts +0 -8
  227. package/dist/_internal/platform/instantiation/common/serviceCollection.d.ts +0 -8
  228. package/dist/announcerService-B7yicxvU.js +0 -97
  229. package/dist/announcerService-D_pFE24a.cjs +0 -1
  230. package/dist/catalogNotify-C9RzbC6x.cjs +0 -27
  231. package/dist/focusModality-B150daiS.js +0 -133
  232. package/dist/focusModality-PPfeW05D.cjs +0 -1
  233. package/dist/rendererLogging-B4XML4_G.cjs +0 -7
  234. package/dist/server/CommandPalette-C3Bw1teR.cjs +0 -1
  235. package/dist/server/CommandPalette-S7tfmFMb.js +0 -3208
  236. package/dist/server/GuidedTour-Dx0endYh.cjs +0 -20
  237. package/dist/server/announcerService-B7yicxvU.js +0 -97
  238. package/dist/server/announcerService-D_pFE24a.cjs +0 -1
  239. package/dist/server/catalogNotify-BPPTINme.cjs +0 -27
  240. package/dist/server/focusModality-CeTPyRiF.cjs +0 -1
  241. package/dist/server/rendererLogging-B4XML4_G.cjs +0 -7
  242. package/dist/solid/_internal/platform/instantiation/common/descriptors.js +0 -10
  243. package/dist/solid/_internal/platform/instantiation/common/instantiation.js +0 -35
  244. package/dist/solid/_internal/platform/instantiation/common/serviceCollection.js +0 -14
@@ -1,120 +1,120 @@
1
- import { B as oe } from "./bugIndicatingError-h3J5qkL6.js";
2
- import { g as K, e as N } from "./rendererLogging-Edo4ALXU.js";
3
- import { G as Ee, r as Y, H as ke, F as P, I as Ae, q as ce, t as X, s as Ce, J as De, f as ae, K as ue, j as Re, n as Z, m as $e, k as Ne, L as le, M as Ie, e as Oe } from "./notificationSuppressions-CBIJ4bC4.js";
4
- import { n as f } from "./notification-DFbp3S_f.js";
5
- import { t as m } from "./i18n-CYq-dVvv.js";
6
- const Ue = {
1
+ import { B as J } from "./bugIndicatingError-h3J5qkL6.js";
2
+ import { g as W, e as N } from "./rendererLogging-gAhiHWkA.js";
3
+ import { G as Ce, r as Z, H as De, F as _, I as $e, q as le, t as ee, s as Re, J as Ne, f as de, K as fe, j as Ie, n as ie, m as Oe, k as Ue, L as ge, M as Me, e as qe } from "./notificationSuppressions-ddyK85cB.js";
4
+ import { n as f } from "./notification-CpDYN_iu.js";
5
+ import { t as m } from "./i18n-D9k9xwuD.js";
6
+ const Fe = {
7
7
  info: { freq: 660, ms: 140 },
8
8
  success: { freq: 880, ms: 180 },
9
9
  warning: { freq: 520, ms: 220 },
10
10
  error: { freq: 320, ms: 260 }
11
- }, Me = {
11
+ }, Pe = {
12
12
  info: "soundOnInfo",
13
13
  success: "soundOnSuccess",
14
14
  warning: "soundOnWarning",
15
15
  error: "soundOnError"
16
- }, qe = {
16
+ }, We = {
17
17
  info: "customSoundInfo",
18
18
  success: "customSoundSuccess",
19
19
  warning: "customSoundWarning",
20
20
  error: "customSoundError"
21
21
  };
22
- function Fe(t, e, r) {
23
- if (!e[Me[t]] || e.quietHoursMutesSounds && r) return null;
24
- const i = e[qe[t]].trim();
22
+ function _e(t, e, r) {
23
+ if (!e[Pe[t]] || e.quietHoursMutesSounds && r) return null;
24
+ const i = e[We[t]].trim();
25
25
  if (i) return { kind: "custom", path: i };
26
- const n = Ue[t];
26
+ const n = Fe[t];
27
27
  return { kind: "builtin", freq: n.freq, ms: n.ms };
28
28
  }
29
- const W = /* @__PURE__ */ new Map(), q = /* @__PURE__ */ new Map();
29
+ const B = /* @__PURE__ */ new Map(), F = /* @__PURE__ */ new Map();
30
30
  async function Ke(t) {
31
- const e = W.get(t);
31
+ const e = B.get(t);
32
32
  if (e) return e;
33
- let r = q.get(t);
34
- return r || (r = Ee(t).then((i) => (q.delete(t), i && W.set(t, i), i)), q.set(t, r)), await r ?? void 0;
33
+ let r = F.get(t);
34
+ return r || (r = Ce(t).then((i) => (F.delete(t), i && B.set(t, i), i)), F.set(t, r)), await r ?? void 0;
35
35
  }
36
- function $t() {
37
- W.clear(), q.clear();
36
+ function Rt() {
37
+ B.clear(), F.clear();
38
38
  }
39
- const z = K("NotificationAudio");
40
- let O = null, H = !1;
41
- function Pe() {
39
+ const te = W("NotificationAudio");
40
+ let U = null, H = !1;
41
+ function He() {
42
42
  if (H) return null;
43
- if (O) return O;
43
+ if (U) return U;
44
44
  try {
45
45
  const t = window.AudioContext ?? window.webkitAudioContext;
46
- return t ? (O = new t(), O) : (H = !0, null);
46
+ return t ? (U = new t(), U) : (H = !0, null);
47
47
  } catch (t) {
48
- return H = !0, z.warn("AudioContext could not be created; notification sounds are off:", t), null;
48
+ return H = !0, te.warn("AudioContext could not be created; notification sounds are off:", t), null;
49
49
  }
50
50
  }
51
- async function _e(t) {
51
+ async function Be(t) {
52
52
  const e = await Ke(t);
53
53
  if (e)
54
54
  try {
55
55
  const r = new Audio(e);
56
56
  r.volume = 0.6, await r.play();
57
57
  } catch (r) {
58
- z.warn("Custom notification sound could not be played:", r);
58
+ te.warn("Custom notification sound could not be played:", r);
59
59
  }
60
60
  }
61
- function de(t = 800, e = 200) {
62
- const r = Pe();
61
+ function me(t = 800, e = 200) {
62
+ const r = He();
63
63
  if (r)
64
64
  try {
65
65
  const i = r.currentTime, n = r.createOscillator(), s = r.createGain();
66
66
  n.connect(s), s.connect(r.destination), n.frequency.value = t, s.gain.setValueAtTime(0.3, i), s.gain.exponentialRampToValueAtTime(0.01, i + e / 1e3), n.start(i), n.stop(i + e / 1e3);
67
67
  } catch (i) {
68
- z.warn("Notification tone could not be played:", i);
68
+ te.warn("Notification tone could not be played:", i);
69
69
  }
70
70
  }
71
- function He() {
72
- de(800, 200);
71
+ function Le() {
72
+ me(800, 200);
73
73
  }
74
- function We(t, e) {
75
- const r = Fe(
74
+ function Ve(t, e) {
75
+ const r = _e(
76
76
  t,
77
77
  f.get(),
78
78
  e
79
79
  );
80
80
  if (r) {
81
81
  if (r.kind === "custom") {
82
- _e(r.path);
82
+ Be(r.path);
83
83
  return;
84
84
  }
85
- de(r.freq, r.ms);
85
+ me(r.freq, r.ms);
86
86
  }
87
87
  }
88
- const fe = K("NotificationTimeline");
88
+ const ye = W("NotificationTimeline");
89
89
  function Nt(t) {
90
- return t.vendorError === void 0 ? null : Y(t.vendorError);
90
+ return t.vendorError === void 0 ? null : Z(t.vendorError);
91
91
  }
92
- const Be = 200;
93
- let B = [];
94
- const L = /* @__PURE__ */ new Set();
92
+ const je = 200;
93
+ let L = [];
94
+ const V = /* @__PURE__ */ new Set();
95
95
  function A() {
96
- return [...B];
96
+ return [...L];
97
97
  }
98
98
  function C(t) {
99
99
  const e = [...t].sort(
100
100
  (o, c) => c.createdAt - o.createdAt
101
101
  ), r = e.filter((o) => o.pinned === !0), n = e.filter((o) => o.pinned !== !0).slice(
102
102
  0,
103
- Math.max(0, Be - r.length)
103
+ Math.max(0, je - r.length)
104
104
  );
105
- B = [...[...r].sort(
105
+ L = [...[...r].sort(
106
106
  (o, c) => (c.pinnedAt ?? c.createdAt) - (o.pinnedAt ?? o.createdAt)
107
107
  ), ...n];
108
- for (const o of Array.from(L))
108
+ for (const o of Array.from(V))
109
109
  try {
110
- o(B);
110
+ o(L);
111
111
  } catch (c) {
112
- fe.warn("Zaman cizelgesi dinleyicisi firlatti:", c);
112
+ ye.warn("Zaman cizelgesi dinleyicisi firlatti:", c);
113
113
  }
114
114
  }
115
115
  let k = 0, I = 0;
116
- const V = /* @__PURE__ */ new Set();
117
- function b(t, e, r = "general", i = "default", n, s) {
116
+ const j = /* @__PURE__ */ new Set();
117
+ function w(t, e, r = "general", i = "default", n, s) {
118
118
  if (!t.trim()) return;
119
119
  const o = {
120
120
  id: `${Date.now()}-${Math.random().toString(36).slice(2, 10)}`,
@@ -126,42 +126,42 @@ function b(t, e, r = "general", i = "default", n, s) {
126
126
  ...n && n.length > 0 ? { actions: n } : {},
127
127
  ...s ? { vendorError: s } : {}
128
128
  };
129
- C([o, ...A()]), k += 1, ge();
129
+ C([o, ...A()]), k += 1, ve();
130
130
  }
131
- function R(t) {
131
+ function $(t) {
132
132
  if (t)
133
133
  return [{ label: t.label, onClick: t.onClick, primary: !0 }];
134
134
  }
135
- function ge() {
135
+ function ve() {
136
136
  const t = Math.max(0, k - I);
137
- for (const e of Array.from(V))
137
+ for (const e of Array.from(j))
138
138
  try {
139
139
  e(t);
140
140
  } catch (r) {
141
- fe.warn("Okunmadi sayaci dinleyicisi firlatti:", r);
141
+ ye.warn("Okunmadi sayaci dinleyicisi firlatti:", r);
142
142
  }
143
- me(t);
143
+ pe(t);
144
144
  }
145
- let j = -1;
146
- function me(t) {
145
+ let Q = -1;
146
+ function pe(t) {
147
147
  const e = f.get(), r = e.badgeCountEnabled ? Math.min(t, e.badgeCountMax) : 0;
148
- r !== j && (j = r, ke(r));
148
+ r !== Q && (Q = r, De(r));
149
149
  }
150
150
  function It() {
151
151
  const t = Math.max(0, k - I);
152
- j = -1, me(t);
152
+ Q = -1, pe(t);
153
153
  }
154
154
  function Ot(t) {
155
- return V.add(t), t(Math.max(0, k - I)), () => {
156
- V.delete(t);
155
+ return j.add(t), t(Math.max(0, k - I)), () => {
156
+ j.delete(t);
157
157
  };
158
158
  }
159
159
  function Ut() {
160
- I !== k && (I = k, ge());
160
+ I !== k && (I = k, ve());
161
161
  }
162
162
  function Mt(t) {
163
- return L.add(t), t(A()), () => {
164
- L.delete(t);
163
+ return V.add(t), t(A()), () => {
164
+ V.delete(t);
165
165
  };
166
166
  }
167
167
  function qt() {
@@ -171,12 +171,12 @@ function Ft(t) {
171
171
  const e = A().filter((r) => r.id !== t);
172
172
  C(e);
173
173
  }
174
- function Kt(t) {
174
+ function Pt(t) {
175
175
  if (t.length === 0) return;
176
176
  const e = new Set(t), r = A().filter((i) => !e.has(i.id));
177
177
  C(r);
178
178
  }
179
- function Pt(t) {
179
+ function Wt(t) {
180
180
  if (!t) return;
181
181
  const e = A().filter((r) => r.source !== t);
182
182
  C(e);
@@ -189,36 +189,36 @@ function _t(t) {
189
189
  });
190
190
  C(r);
191
191
  }
192
- const F = /* @__PURE__ */ new Map();
193
- function Ht() {
194
- F.clear();
192
+ const P = /* @__PURE__ */ new Map();
193
+ function Kt() {
194
+ P.clear();
195
195
  }
196
- function Le(t) {
197
- if (F.has(t))
198
- return F.get(t) ?? null;
196
+ function Qe(t) {
197
+ if (P.has(t))
198
+ return P.get(t) ?? null;
199
199
  let e;
200
200
  try {
201
201
  e = new RegExp(t, "i");
202
202
  } catch {
203
203
  e = null;
204
204
  }
205
- return F.set(t, e), e;
205
+ return P.set(t, e), e;
206
206
  }
207
- function Ve(t, e) {
207
+ function Ye(t, e) {
208
208
  const r = t.conditions;
209
209
  if (r.source && r.source !== e.source || r.severities && r.severities.length > 0 && !r.severities.includes(e.severity))
210
210
  return !1;
211
211
  if (r.titleRegex) {
212
- const i = Le(r.titleRegex);
212
+ const i = Qe(r.titleRegex);
213
213
  if (!i || !i.test(e.title)) return !1;
214
214
  }
215
215
  return !0;
216
216
  }
217
- function je(t, e) {
217
+ function Xe(t, e) {
218
218
  if (e.length === 0) return t;
219
219
  let r = { ...t };
220
220
  for (const i of e)
221
- if (i.enabled && Ve(i, r)) {
221
+ if (i.enabled && Ye(i, r)) {
222
222
  if (i.actions.suppress === !0) return null;
223
223
  if (i.actions.setSeverity && (r = { ...r, severity: i.actions.setSeverity }), i.actions.setPriority && (r = { ...r, priority: i.actions.setPriority }), i.actions.addPrefix) {
224
224
  const n = i.actions.addPrefix.trim();
@@ -227,35 +227,35 @@ function je(t, e) {
227
227
  }
228
228
  return r;
229
229
  }
230
- function ee(t) {
230
+ function ne(t) {
231
231
  const e = /^(\d{1,2}):(\d{2})$/.exec(t.trim());
232
232
  if (!e) return null;
233
233
  const r = Number(e[1]), i = Number(e[2]);
234
234
  return r > 23 || i > 59 ? null : r * 60 + i;
235
235
  }
236
- function ye(t, e) {
236
+ function he(t, e) {
237
237
  if (!t.quietHoursEnabled || !t.quietHoursWeekdays.includes(e.getDay())) return !1;
238
- const r = ee(t.quietHoursStart), i = ee(t.quietHoursEnd);
238
+ const r = ne(t.quietHoursStart), i = ne(t.quietHoursEnd);
239
239
  if (r === null || i === null || r === i) return !1;
240
240
  const n = e.getHours() * 60 + e.getMinutes();
241
241
  return r < i ? n >= r && n < i : n >= r || n < i;
242
242
  }
243
- function Qe(t) {
243
+ function ze(t) {
244
244
  return t.replace(/[\\^$.*+?()[\]{}|]/g, "\\$&");
245
245
  }
246
- const te = {
246
+ const se = {
247
247
  info: 0,
248
248
  success: 1,
249
249
  warning: 2,
250
250
  error: 3
251
251
  };
252
- function Ye(t, e) {
253
- return e.osNativeEnabled ? t.priority === "urgent" && e.osNativeUrgentAlways ? { fire: !0, onlyWhenUnfocused: !1 } : te[t.severity] < te[e.osNativeMinSeverity] ? { fire: !1, onlyWhenUnfocused: !1 } : {
252
+ function Ge(t, e) {
253
+ return e.osNativeEnabled ? t.priority === "urgent" && e.osNativeUrgentAlways ? { fire: !0, onlyWhenUnfocused: !1 } : se[t.severity] < se[e.osNativeMinSeverity] ? { fire: !1, onlyWhenUnfocused: !1 } : {
254
254
  fire: !0,
255
255
  onlyWhenUnfocused: e.osNativeOnlyWhenUnfocused
256
256
  } : { fire: !1, onlyWhenUnfocused: !1 };
257
257
  }
258
- const Xe = {
258
+ const Je = {
259
259
  "sql-execution": "sql",
260
260
  users: "users",
261
261
  tablespaces: "tablespaces",
@@ -263,46 +263,53 @@ const Xe = {
263
263
  locking: "locking",
264
264
  monitoring: "monitoring"
265
265
  };
266
- function ze(t, e) {
266
+ function Ze(t, e) {
267
267
  if (e) return e;
268
268
  if (t !== void 0)
269
- return Xe[t];
269
+ return Je[t];
270
270
  }
271
- const Ge = "notification.emailDigestSmtpPass", Je = "notification.webhook.url.";
272
- function ve() {
273
- const t = /* @__PURE__ */ new Map();
274
- return {
275
- get: (e) => Promise.resolve(t.get(e)),
276
- set: async (e, r) => {
277
- t.set(e, r);
278
- },
279
- delete: async (e) => {
280
- t.delete(e);
281
- },
282
- keys: async (e) => [...t.keys()].filter((r) => r.startsWith(e))
283
- };
271
+ const Y = "notification.emailDigestSmtpPass", X = "notification.webhook.url.";
272
+ let z = null;
273
+ function Ht(t) {
274
+ z = t;
284
275
  }
285
- let G = ve();
286
- function Wt(t) {
287
- G = t ?? ve();
276
+ function we() {
277
+ if (z === null)
278
+ throw new J(
279
+ "notificationSecretStore: no secret store was bound — call provideNotificationSecretStore() at startup."
280
+ );
281
+ return z;
282
+ }
283
+ function O(t) {
284
+ return `${X}${t}`;
285
+ }
286
+ function et(t) {
287
+ return t.get(Y);
288
288
  }
289
- function Ze(t) {
290
- return `${Je}${t}`;
289
+ async function Bt(t, e) {
290
+ e ? await t.set(Y, e) : await t.delete(Y);
291
291
  }
292
- function et() {
293
- return G.get(Ge);
292
+ function tt(t, e) {
293
+ return t.get(O(e));
294
294
  }
295
- function tt(t) {
296
- return G.get(Ze(t));
295
+ async function Lt(t, e, r) {
296
+ r ? await t.set(O(e), r) : await t.delete(O(e));
297
297
  }
298
- let pe = "";
299
- function Bt(t) {
300
- pe = t.trim();
298
+ function Vt(t, e) {
299
+ return t.delete(O(e));
301
300
  }
302
- function he() {
303
- return pe;
301
+ async function jt(t, e) {
302
+ const r = new Set(e), i = (await t.keys()).filter((n) => n.startsWith(X)).map((n) => n.slice(X.length)).filter((n) => !r.has(n));
303
+ await Promise.all(i.map((n) => t.delete(O(n))));
304
304
  }
305
- const rt = K("WebhookDelivery"), it = {
305
+ let be = "";
306
+ function Qt(t) {
307
+ be = t.trim();
308
+ }
309
+ function Se() {
310
+ return be;
311
+ }
312
+ const rt = W("WebhookDelivery"), it = {
306
313
  info: "#007AB0",
307
314
  success: "#108846",
308
315
  warning: "#D27908",
@@ -374,7 +381,7 @@ async function ct(t, e, r) {
374
381
  }
375
382
  }
376
383
  async function at(t, e) {
377
- const r = await tt(t.id) ?? "";
384
+ const r = await tt(we(), t.id) ?? "";
378
385
  r && await ct(t, r, e);
379
386
  }
380
387
  function ut(t) {
@@ -385,11 +392,11 @@ function ut(t) {
385
392
  for (const i of r)
386
393
  at(i, t);
387
394
  }
388
- let Q = null;
389
- function Lt(t) {
390
- Q = t;
395
+ let G = null;
396
+ function Yt(t) {
397
+ G = t;
391
398
  }
392
- const lt = K("EmailDigest"), w = [], re = 500, ie = {
399
+ const lt = W("EmailDigest"), b = [], oe = 500, ce = {
393
400
  info: 0,
394
401
  success: 1,
395
402
  warning: 2,
@@ -397,20 +404,20 @@ const lt = K("EmailDigest"), w = [], re = 500, ie = {
397
404
  };
398
405
  function dt(t) {
399
406
  const e = f.get();
400
- e.emailDigestEnabled && (ie[t.severity] < ie[e.emailDigestMinSeverity] || (w.push(t), w.length > re && w.splice(0, w.length - re)));
407
+ e.emailDigestEnabled && (ce[t.severity] < ce[e.emailDigestMinSeverity] || (b.push(t), b.length > oe && b.splice(0, b.length - oe)));
401
408
  }
402
- const U = (t) => t.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
409
+ const M = (t) => t.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
403
410
  function ft(t) {
404
- const e = he(), r = t.map((i) => `<tr>
411
+ const e = Se(), r = t.map((i) => `<tr>
405
412
  <td style="padding:4px 8px">${new Date(i.at).toISOString().slice(11, 19)}</td>
406
413
  <td style="padding:4px 8px"><strong>${i.severity}</strong></td>
407
- <td style="padding:4px 8px">${U(i.source)}</td>
408
- <td style="padding:4px 8px">${U(i.title)}${i.body ? `<br><small>${U(i.body)}</small>` : ""}</td>
414
+ <td style="padding:4px 8px">${M(i.source)}</td>
415
+ <td style="padding:4px 8px">${M(i.title)}${i.body ? `<br><small>${M(i.body)}</small>` : ""}</td>
409
416
  </tr>`).join(`
410
417
  `);
411
418
  return `<!doctype html>
412
419
  <html><body>
413
- <h2>${e ? `${U(e)} notification digest` : "Notification digest"}</h2>
420
+ <h2>${e ? `${M(e)} notification digest` : "Notification digest"}</h2>
414
421
  <p>${t.length} notification(s) since the last digest.</p>
415
422
  <table style="border-collapse:collapse">
416
423
  <thead><tr style="background:#eee">
@@ -431,26 +438,26 @@ function gt(t) {
431
438
  ${e.join(`
432
439
  `)}`;
433
440
  }
434
- function Vt(t) {
441
+ function Xt(t) {
435
442
  switch (t.kind) {
436
443
  case "disabled":
437
444
  return m("Email digest is turned off.");
438
445
  case "smtp-incomplete":
439
446
  return m("SMTP host, sender and recipient are required.");
440
447
  case "send-failed":
441
- return P(t.error, m("The digest could not be sent."));
448
+ return _(t.error, m("The digest could not be sent."));
442
449
  }
443
450
  }
444
451
  async function mt() {
445
452
  const t = f.get();
446
453
  if (!t.emailDigestEnabled)
447
454
  return { kind: "not-sent", reason: { kind: "disabled" } };
448
- if (w.length === 0) return { kind: "sent", count: 0 };
455
+ if (b.length === 0) return { kind: "sent", count: 0 };
449
456
  if (!t.emailDigestSmtpHost || !t.emailDigestFrom || !t.emailDigestTo)
450
457
  return { kind: "not-sent", reason: { kind: "smtp-incomplete" } };
451
- const e = w.splice(0, w.length), r = {
452
- sendEmailDigest: (o) => Q ? Q(o) : Promise.reject(new Error("No email digest transport configured"))
453
- }, i = he(), n = `${i ? `[${i}] ` : ""}${e.length} notification(s)`, s = await et() ?? "";
458
+ const e = b.splice(0, b.length), r = {
459
+ sendEmailDigest: (o) => G ? G(o) : Promise.reject(new Error("No email digest transport configured"))
460
+ }, i = Se(), n = `${i ? `[${i}] ` : ""}${e.length} notification(s)`, s = await et(we()) ?? "";
454
461
  try {
455
462
  return await r.sendEmailDigest({
456
463
  smtp: {
@@ -467,10 +474,10 @@ async function mt() {
467
474
  text: gt(e)
468
475
  }), { kind: "sent", count: e.length };
469
476
  } catch (o) {
470
- return w.unshift(...e), { kind: "not-sent", reason: { kind: "send-failed", error: o } };
477
+ return b.unshift(...e), { kind: "not-sent", reason: { kind: "send-failed", error: o } };
471
478
  }
472
479
  }
473
- let ne = 0, se = null;
480
+ let ae = 0, ue = null;
474
481
  function yt(t) {
475
482
  const e = f.get();
476
483
  if (!e.emailDigestEnabled) return !1;
@@ -486,26 +493,26 @@ function yt(t) {
486
493
  return n === 1 && r === 9 && i === 0;
487
494
  }
488
495
  }
489
- function jt() {
490
- se === null && (typeof window > "u" || (se = window.setInterval(() => {
496
+ function zt() {
497
+ ue === null && (typeof window > "u" || (ue = window.setInterval(() => {
491
498
  const t = /* @__PURE__ */ new Date();
492
499
  if (!yt(t)) return;
493
500
  const e = Math.floor(t.getTime() / 6e4);
494
- e !== ne && (ne = e, mt().then((r) => {
501
+ e !== ae && (ae = e, mt().then((r) => {
495
502
  r.kind === "not-sent" && r.reason.kind === "send-failed" && lt.warn("scheduled email digest failed", r.reason.error);
496
503
  }));
497
504
  }, 6e4)));
498
505
  }
499
- function be() {
500
- return ye(f.get(), /* @__PURE__ */ new Date());
506
+ function Te() {
507
+ return he(f.get(), /* @__PURE__ */ new Date());
501
508
  }
502
509
  function x(t, e, r, i, n) {
503
- const s = f.get(), o = Ne(t, e);
504
- return Re({ priority: r, recordTimeline: n }, s, {
505
- dismissed: i !== void 0 && $e(i),
506
- remindSuppressed: i !== void 0 && Z(i) || Z(o),
507
- sourceMuted: ce(t),
508
- inQuietHours: be()
510
+ const s = f.get(), o = Ue(t, e);
511
+ return Ie({ priority: r, recordTimeline: n }, s, {
512
+ dismissed: i !== void 0 && Oe(i),
513
+ remindSuppressed: i !== void 0 && ie(i) || ie(o),
514
+ sourceMuted: le(t),
515
+ inQuietHours: Te()
509
516
  });
510
517
  }
511
518
  function vt(t, e, r, i) {
@@ -514,30 +521,30 @@ function vt(t, e, r, i) {
514
521
  primary: i,
515
522
  keepOpen: t.expireOnAction === !1,
516
523
  onClick: () => {
517
- De(r);
524
+ Ne(r);
518
525
  try {
519
526
  t.onClick();
520
527
  } finally {
521
528
  const n = e();
522
- t.expireOnAction !== !1 && n && ae(n);
529
+ t.expireOnAction !== !1 && n && de(n);
523
530
  }
524
531
  }
525
532
  };
526
533
  }
527
- function $(t) {
534
+ function R(t) {
528
535
  var h, g;
529
536
  const e = t.options.source ?? "general";
530
- if (Ae(e, t.decision.showToast, ce(e)), !t.decision.showToast) return null;
531
- We(t.severity, be());
537
+ if ($e(e, t.decision.showToast, le(e)), !t.decision.showToast) return null;
538
+ Ve(t.severity, Te());
532
539
  const { options: r } = t, i = ((h = r.subtitle) == null ? void 0 : h.trim()) || ((g = r.description) == null ? void 0 : g.trim()), n = r.id !== void 0 ? String(r.id) : void 0, s = f.get(), o = r.markdown ?? s.markdownEnabled, c = [
533
540
  ...t.primaryAction ? [t.primaryAction] : [],
534
541
  ...r.actions ?? []
535
- ], u = ze(
542
+ ], u = Ze(
536
543
  r.source,
537
544
  r.defaultRoute
538
545
  );
539
546
  let l = null;
540
- const a = X({
547
+ const a = ee({
541
548
  severity: t.severity,
542
549
  title: t.title,
543
550
  ...i ? { body: i } : {},
@@ -556,7 +563,7 @@ function $(t) {
556
563
  )
557
564
  } : {}
558
565
  });
559
- if (l = a, Ce(a)) return a;
566
+ if (l = a, Re(a)) return a;
560
567
  const p = N(t.title), y = i ? N(i) : void 0, d = {
561
568
  title: p,
562
569
  ...y ? { body: y } : {},
@@ -567,8 +574,8 @@ function $(t) {
567
574
  return pt(d), ut(d), dt({ ...d, at: Date.now() }), a;
568
575
  }
569
576
  function pt(t) {
570
- const e = Ye(t, f.get());
571
- e.fire && ue({
577
+ const e = Ge(t, f.get());
578
+ e.fire && fe({
572
579
  title: t.title,
573
580
  ...t.body ? { body: t.body } : {},
574
581
  severity: t.severity,
@@ -579,13 +586,13 @@ function pt(t) {
579
586
  function T(t) {
580
587
  return typeof t == "string" ? t : t instanceof Error ? t.message : t == null ? "" : String(t);
581
588
  }
582
- function we(t, e, r, i = le) {
589
+ function xe(t, e, r, i = ge) {
583
590
  var a, p, y;
584
591
  const n = T(t), s = (a = e.title) == null ? void 0 : a.trim(), o = ((p = e.subtitle) == null ? void 0 : p.trim()) || ((y = e.description) == null ? void 0 : y.trim());
585
592
  let c = s ?? n, u = o;
586
593
  if (r && !s) {
587
594
  const d = r.helpers.formatCode(r.code), h = new RegExp(
588
- `^\\s*${Qe(d)}\\s*[:-]\\s*(.+)$`,
595
+ `^\\s*${ze(d)}\\s*[:-]\\s*(.+)$`,
589
596
  "i"
590
597
  ), g = n.match(h);
591
598
  if (g != null && g[1]) {
@@ -606,15 +613,15 @@ ${u}` : S;
606
613
  }
607
614
  return { text: n, displayText: c, bodyText: u, primaryAction: l };
608
615
  }
609
- function M(t) {
610
- return je(
616
+ function q(t) {
617
+ return Xe(
611
618
  t,
612
619
  f.get().notificationRules
613
620
  );
614
621
  }
615
622
  const E = {
616
623
  success(t, e = {}) {
617
- const r = T(t), i = f.get(), n = e.source ?? "general", s = e.priority ?? "default", o = M({
624
+ const r = T(t), i = f.get(), n = e.source ?? "general", s = e.priority ?? "default", o = q({
618
625
  severity: "success",
619
626
  title: r,
620
627
  priority: s,
@@ -628,14 +635,14 @@ const E = {
628
635
  e.dontShowAgainKey,
629
636
  e.recordTimeline
630
637
  );
631
- if (c.recordTimeline && b(
638
+ if (c.recordTimeline && w(
632
639
  o.title,
633
640
  o.severity === "success" ? "success" : o.severity,
634
641
  o.source,
635
642
  o.priority,
636
- R(e.action)
643
+ $(e.action)
637
644
  ), !i.showSuccessToasts && o.priority !== "urgent") return "";
638
- const u = $({
645
+ const u = R({
639
646
  severity: o.severity,
640
647
  title: o.title,
641
648
  options: { ...e, source: o.source, priority: o.priority },
@@ -645,10 +652,10 @@ const E = {
645
652
  return (u == null ? void 0 : u.id) ?? "";
646
653
  },
647
654
  error(t, e = !1) {
648
- const r = T(t), i = typeof e == "boolean" ? {} : e, n = i.vendorError === void 0 ? null : Y(i.vendorError), s = we(r, i, n), o = n !== null;
655
+ const r = T(t), i = typeof e == "boolean" ? {} : e, n = i.vendorError === void 0 ? null : Z(i.vendorError), s = xe(r, i, n), o = n !== null;
649
656
  let c = s.displayText;
650
657
  const u = s.bodyText, l = u ? `${c}
651
- ${u}` : r, a = i.source ?? (o ? "vendor-error" : "general"), p = o && f.get().vendorCodesAreUrgent, y = i.priority ?? (p ? "urgent" : "default"), d = M({
658
+ ${u}` : r, a = i.source ?? (o ? "vendor-error" : "general"), p = o && f.get().vendorCodesAreUrgent, y = i.priority ?? (p ? "urgent" : "default"), d = q({
652
659
  severity: "error",
653
660
  title: c,
654
661
  priority: y,
@@ -663,15 +670,15 @@ ${u}` : r, a = i.source ?? (o ? "vendor-error" : "general"), p = o && f.get().ve
663
670
  i.dontShowAgainKey,
664
671
  i.recordTimeline
665
672
  );
666
- S.recordTimeline && b(
673
+ S.recordTimeline && w(
667
674
  l,
668
675
  d.severity,
669
676
  h,
670
677
  g,
671
- R(i.action),
678
+ $(i.action),
672
679
  i.vendorError
673
680
  );
674
- const D = $({
681
+ const D = R({
675
682
  severity: d.severity,
676
683
  title: c,
677
684
  // bodyText overrides any caller-provided description when the ORA
@@ -690,7 +697,7 @@ ${u}` : r, a = i.source ?? (o ? "vendor-error" : "general"), p = o && f.get().ve
690
697
  return (D == null ? void 0 : D.id) ?? "";
691
698
  },
692
699
  info(t, e = {}) {
693
- const r = T(t), i = e.source ?? "general", n = e.priority ?? "default", s = M({
700
+ const r = T(t), i = e.source ?? "general", n = e.priority ?? "default", s = q({
694
701
  severity: "info",
695
702
  title: r,
696
703
  priority: n,
@@ -704,14 +711,14 @@ ${u}` : r, a = i.source ?? (o ? "vendor-error" : "general"), p = o && f.get().ve
704
711
  e.dontShowAgainKey,
705
712
  e.recordTimeline
706
713
  );
707
- o.recordTimeline && b(
714
+ o.recordTimeline && w(
708
715
  s.title,
709
716
  s.severity,
710
717
  s.source,
711
718
  s.priority,
712
- R(e.action)
719
+ $(e.action)
713
720
  );
714
- const c = $({
721
+ const c = R({
715
722
  severity: s.severity,
716
723
  title: s.title,
717
724
  options: { ...e, source: s.source, priority: s.priority },
@@ -721,7 +728,7 @@ ${u}` : r, a = i.source ?? (o ? "vendor-error" : "general"), p = o && f.get().ve
721
728
  return (c == null ? void 0 : c.id) ?? "";
722
729
  },
723
730
  warning(t, e = {}) {
724
- const r = T(t), i = e.source ?? "general", n = e.priority ?? "default", s = M({
731
+ const r = T(t), i = e.source ?? "general", n = e.priority ?? "default", s = q({
725
732
  severity: "warning",
726
733
  title: r,
727
734
  priority: n,
@@ -735,14 +742,14 @@ ${u}` : r, a = i.source ?? (o ? "vendor-error" : "general"), p = o && f.get().ve
735
742
  e.dontShowAgainKey,
736
743
  e.recordTimeline
737
744
  );
738
- o.recordTimeline && b(
745
+ o.recordTimeline && w(
739
746
  s.title,
740
747
  s.severity,
741
748
  s.source,
742
749
  s.priority,
743
- R(e.action)
750
+ $(e.action)
744
751
  );
745
- const c = $({
752
+ const c = R({
746
753
  severity: s.severity,
747
754
  title: s.title,
748
755
  options: { ...e, source: s.source, priority: s.priority },
@@ -759,14 +766,14 @@ ${u}` : r, a = i.source ?? (o ? "vendor-error" : "general"), p = o && f.get().ve
759
766
  e.dontShowAgainKey,
760
767
  e.recordTimeline
761
768
  );
762
- if (o.recordTimeline && b(
769
+ if (o.recordTimeline && w(
763
770
  r,
764
771
  "success",
765
772
  n,
766
773
  s,
767
- R(e.action)
768
- ), i.notificationsEnabled && i.soundOnQueryCompletion && !(i.quietHoursMutesSounds && ye(i, /* @__PURE__ */ new Date())) && He(), !i.showSuccessToasts && s !== "urgent") return "";
769
- const c = $({
774
+ $(e.action)
775
+ ), i.notificationsEnabled && i.soundOnQueryCompletion && !(i.quietHoursMutesSounds && he(i, /* @__PURE__ */ new Date())) && Le(), !i.showSuccessToasts && s !== "urgent") return "";
776
+ const c = R({
770
777
  severity: "success",
771
778
  title: r,
772
779
  options: { ...e, source: n, priority: s },
@@ -788,7 +795,7 @@ ${u}` : r, a = i.source ?? (o ? "vendor-error" : "general"), p = o && f.get().ve
788
795
  e.dontShowAgainKey,
789
796
  e.recordTimeline
790
797
  );
791
- if (o.recordTimeline && b(r, "info", n, s), !o.showToast)
798
+ if (o.recordTimeline && w(r, "info", n, s), !o.showToast)
792
799
  return {
793
800
  update: () => {
794
801
  },
@@ -799,7 +806,7 @@ ${u}` : r, a = i.source ?? (o ? "vendor-error" : "general"), p = o && f.get().ve
799
806
  dismiss: () => {
800
807
  }
801
808
  };
802
- const c = e.id !== void 0 ? String(e.id) : `progress-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`, u = X({
809
+ const c = e.id !== void 0 ? String(e.id) : `progress-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`, u = ee({
803
810
  id: c,
804
811
  severity: "info",
805
812
  title: r,
@@ -817,7 +824,7 @@ ${u}` : r, a = i.source ?? (o ? "vendor-error" : "general"), p = o && f.get().ve
817
824
  },
818
825
  success: (l) => {
819
826
  const a = l ?? r;
820
- o.recordTimeline && b(a, "success", n, s), u.update({
827
+ o.recordTimeline && w(a, "success", n, s), u.update({
821
828
  title: a,
822
829
  severity: "success",
823
830
  sticky: !1,
@@ -826,7 +833,7 @@ ${u}` : r, a = i.source ?? (o ? "vendor-error" : "general"), p = o && f.get().ve
826
833
  },
827
834
  fail: (l) => {
828
835
  const a = l ?? r;
829
- o.recordTimeline && b(a, "error", n, s), u.update({
836
+ o.recordTimeline && w(a, "error", n, s), u.update({
830
837
  title: a,
831
838
  severity: "error",
832
839
  sticky: !0,
@@ -845,14 +852,14 @@ function v(t, e) {
845
852
  build: e
846
853
  };
847
854
  }
848
- function Qt(t, e, r) {
855
+ function Gt(t, e, r) {
849
856
  return {
850
857
  id: t,
851
858
  notification: e,
852
859
  resolve: () => e.build(r)
853
860
  };
854
861
  }
855
- function _(t, e) {
862
+ function K(t, e) {
856
863
  return {
857
864
  message: t,
858
865
  ...e != null && e.title ? { title: e.title } : {},
@@ -893,7 +900,7 @@ v(
893
900
  },
894
901
  () => ({ message: m("Could not copy to clipboard.") })
895
902
  );
896
- const Yt = v(
903
+ const Jt = v(
897
904
  {
898
905
  id: "notifications.timeline.replay.error",
899
906
  source: "general",
@@ -905,8 +912,8 @@ const Yt = v(
905
912
  ({
906
913
  timelineMessage: t,
907
914
  options: e
908
- }) => _(t, e)
909
- ), Xt = v(
915
+ }) => K(t, e)
916
+ ), Zt = v(
910
917
  {
911
918
  id: "notifications.timeline.replay.warning",
912
919
  source: "general",
@@ -918,8 +925,8 @@ const Yt = v(
918
925
  ({
919
926
  timelineMessage: t,
920
927
  options: e
921
- }) => _(t, e)
922
- ), zt = v(
928
+ }) => K(t, e)
929
+ ), er = v(
923
930
  {
924
931
  id: "notifications.timeline.replay.success",
925
932
  source: "general",
@@ -931,8 +938,8 @@ const Yt = v(
931
938
  ({
932
939
  timelineMessage: t,
933
940
  options: e
934
- }) => _(t, e)
935
- ), Gt = v(
941
+ }) => K(t, e)
942
+ ), tr = v(
936
943
  {
937
944
  id: "notifications.timeline.replay.info",
938
945
  source: "general",
@@ -944,8 +951,8 @@ const Yt = v(
944
951
  ({
945
952
  timelineMessage: t,
946
953
  options: e
947
- }) => _(t, e)
948
- ), Jt = v(
954
+ }) => K(t, e)
955
+ ), rr = v(
949
956
  {
950
957
  id: "notifications.timeline.exported",
951
958
  source: "general",
@@ -957,7 +964,7 @@ const Yt = v(
957
964
  ({ entryCount: t }) => ({
958
965
  message: m("Exported {count} notifications", { count: t })
959
966
  })
960
- ), Zt = v(
967
+ ), ir = v(
961
968
  {
962
969
  id: "notifications.timeline.export.failed",
963
970
  source: "general",
@@ -968,7 +975,7 @@ const Yt = v(
968
975
  },
969
976
  ({ cause: t }) => ({
970
977
  message: m("Export failed: {message}", {
971
- message: P(t, m("Operation failed."))
978
+ message: _(t, m("Operation failed."))
972
979
  }),
973
980
  cause: t
974
981
  })
@@ -983,11 +990,11 @@ const Yt = v(
983
990
  },
984
991
  ({ cause: t }) => ({
985
992
  message: m("The action could not be completed: {message}", {
986
- message: P(t, m("Operation failed."))
993
+ message: _(t, m("Operation failed."))
987
994
  }),
988
995
  cause: t
989
996
  })
990
- ), er = v(
997
+ ), nr = v(
991
998
  {
992
999
  id: "notifications.settings.update.failed",
993
1000
  source: "settings",
@@ -997,16 +1004,16 @@ const Yt = v(
997
1004
  kind: "message"
998
1005
  },
999
1006
  ({ cause: t }) => ({
1000
- message: P(t, m("Operation failed.")),
1007
+ message: _(t, m("Operation failed.")),
1001
1008
  cause: t
1002
1009
  })
1003
1010
  );
1004
- function Se(t) {
1011
+ function Ee(t) {
1005
1012
  if (!("cause" in t)) return t;
1006
- const { cause: e, ...r } = t, i = Ie(e).map(bt);
1013
+ const { cause: e, ...r } = t, i = Me(e).map(wt);
1007
1014
  return i.length === 0 ? r : { ...r, actions: [...r.actions ?? [], ...i] };
1008
1015
  }
1009
- function bt(t) {
1016
+ function wt(t) {
1010
1017
  return {
1011
1018
  label: t.label,
1012
1019
  onClick: () => {
@@ -1016,7 +1023,7 @@ function bt(t) {
1016
1023
  }
1017
1024
  };
1018
1025
  }
1019
- function Te(t, e) {
1026
+ function ke(t, e) {
1020
1027
  return {
1021
1028
  ...t.severity === "error" && t.source === "general" ? {} : { source: t.source },
1022
1029
  ...t.severity === "error" && t.priority === "default" ? {} : { priority: t.priority },
@@ -1033,11 +1040,11 @@ function Te(t, e) {
1033
1040
  ...e.id !== void 0 ? { id: e.id } : {}
1034
1041
  };
1035
1042
  }
1036
- function wt(t, e) {
1037
- const r = Se(e);
1043
+ function bt(t, e) {
1044
+ const r = Ee(e);
1038
1045
  if (t.delivery === "os-only") {
1039
1046
  const n = r.title ?? r.message, s = r.description ?? r.subtitle ?? (r.title ? r.message : void 0);
1040
- return ue({
1047
+ return fe({
1041
1048
  title: n,
1042
1049
  ...s ? { body: s } : {},
1043
1050
  severity: t.severity,
@@ -1045,7 +1052,7 @@ function wt(t, e) {
1045
1052
  onlyWhenUnfocused: !1
1046
1053
  }), "";
1047
1054
  }
1048
- const i = Te(t, r);
1055
+ const i = ke(t, r);
1049
1056
  if (t.kind === "query-completed")
1050
1057
  return E.queryCompleted(r.message, i);
1051
1058
  switch (t.severity) {
@@ -1066,27 +1073,27 @@ function wt(t, e) {
1066
1073
  }
1067
1074
  }
1068
1075
  function St(t, e) {
1069
- const r = Se(e);
1076
+ const r = Ee(e);
1070
1077
  if (t.delivery !== "in-app")
1071
- throw new oe(
1078
+ throw new J(
1072
1079
  "Progress notifications require an in-app catalog definition."
1073
1080
  );
1074
1081
  return E.progress(r.message, {
1075
- ...Te(t, r),
1082
+ ...ke(t, r),
1076
1083
  ...r.onCancel ? { onCancel: r.onCancel } : {}
1077
1084
  });
1078
1085
  }
1079
1086
  const Tt = {
1080
- notify: wt,
1087
+ notify: bt,
1081
1088
  progress: St,
1082
- dismiss: (t) => ae(t)
1089
+ dismiss: (t) => de(t)
1083
1090
  };
1084
1091
  function xt(t, e, r, i) {
1085
1092
  return t === "error" && e === "default" && r && i ? "urgent" : e;
1086
1093
  }
1087
- function tr(t, e) {
1094
+ function sr(t, e) {
1088
1095
  var l;
1089
- const r = e.vendorError === void 0 || !Oe() ? null : Y(e.vendorError), i = t.severity === "error" ? we(
1096
+ const r = e.vendorError === void 0 || !qe() ? null : Z(e.vendorError), i = t.severity === "error" ? xe(
1090
1097
  e.message,
1091
1098
  {
1092
1099
  ...e.title ? { title: e.title } : {},
@@ -1095,14 +1102,14 @@ function tr(t, e) {
1095
1102
  ...e.action ? { action: e.action } : {}
1096
1103
  },
1097
1104
  r,
1098
- le
1105
+ ge
1099
1106
  ) : null, n = (i == null ? void 0 : i.displayText) ?? e.title ?? e.message, s = (i == null ? void 0 : i.bodyText) ?? e.subtitle ?? e.description, o = (i == null ? void 0 : i.primaryAction) ?? e.action, c = t.severity === "error" && t.source === "general" && r !== null ? "vendor-error" : t.source, u = xt(
1100
1107
  t.severity,
1101
1108
  t.priority,
1102
1109
  r !== null,
1103
1110
  f.get().vendorCodesAreUrgent
1104
1111
  );
1105
- return X({
1112
+ return ee({
1106
1113
  severity: t.severity,
1107
1114
  title: N(n),
1108
1115
  ...s ? { body: N(s) } : {},
@@ -1131,80 +1138,86 @@ function tr(t, e) {
1131
1138
  } : {}
1132
1139
  }).id;
1133
1140
  }
1134
- let xe = null;
1135
- function rr(t) {
1136
- xe = t;
1141
+ let Ae = null;
1142
+ function or(t) {
1143
+ Ae = t;
1137
1144
  }
1138
- function J() {
1139
- return xe ?? Tt;
1145
+ function re() {
1146
+ return Ae ?? Tt;
1140
1147
  }
1141
1148
  function Et(t, e) {
1142
- return J().notify(t, t.build(e));
1149
+ return re().notify(t, t.build(e));
1143
1150
  }
1144
- function ir(t, e) {
1151
+ function cr(t, e) {
1145
1152
  if (t.kind !== "progress")
1146
- throw new oe(
1153
+ throw new J(
1147
1154
  "catalogNotify: a message definition cannot be sent with progressFromCatalog."
1148
1155
  );
1149
- return J().progress(t, t.build(e));
1156
+ return re().progress(t, t.build(e));
1150
1157
  }
1151
- function nr(t) {
1158
+ function ar(t) {
1152
1159
  var e, r;
1153
- (r = (e = J()).dismiss) == null || r.call(e, t);
1160
+ (r = (e = re()).dismiss) == null || r.call(e, t);
1154
1161
  }
1155
- function sr(t) {
1162
+ function ur(t) {
1156
1163
  return t.resolve();
1157
1164
  }
1158
1165
  export {
1159
- Et as A,
1160
- He as B,
1161
- We as C,
1162
- ir as D,
1163
- It as E,
1164
- xt as F,
1165
- sr as G,
1166
- Fe as H,
1167
- Ye as I,
1168
- tr as J,
1169
- Mt as K,
1170
- Ot as L,
1171
- R as M,
1172
- E as N,
1173
- _t as O,
1174
- jt as P,
1175
- Se as Q,
1176
- Yt as R,
1177
- te as S,
1178
- Xt as T,
1179
- zt as U,
1180
- Gt as V,
1181
- Jt as W,
1182
- Zt as X,
1183
- er as Y,
1184
- Wt as a,
1185
- Lt as b,
1186
- Ue as c,
1187
- b as d,
1188
- je as e,
1166
+ tr as $,
1167
+ he as A,
1168
+ Ke as B,
1169
+ Ut as C,
1170
+ Et as D,
1171
+ Le as E,
1172
+ Ve as F,
1173
+ cr as G,
1174
+ jt as H,
1175
+ It as I,
1176
+ xt as J,
1177
+ ur as K,
1178
+ _e as L,
1179
+ Bt as M,
1180
+ Lt as N,
1181
+ Ge as O,
1182
+ sr as P,
1183
+ Mt as Q,
1184
+ Ot as R,
1185
+ se as S,
1186
+ $ as T,
1187
+ E as U,
1188
+ _t as V,
1189
+ zt as W,
1190
+ Ee as X,
1191
+ Jt as Y,
1192
+ Zt as Z,
1193
+ er as _,
1194
+ Ht as a,
1195
+ rr as a0,
1196
+ ir as a1,
1197
+ nr as a2,
1198
+ Yt as b,
1199
+ Fe as c,
1200
+ w as d,
1201
+ Xe as e,
1189
1202
  Tt as f,
1190
- he as g,
1191
- Ht as h,
1203
+ Se as g,
1204
+ Kt as h,
1192
1205
  qt as i,
1193
1206
  v as j,
1194
- Qt as k,
1207
+ Gt as k,
1195
1208
  Vt as l,
1196
- nr as m,
1197
- Kt as n,
1209
+ Xt as m,
1210
+ ar as n,
1198
1211
  Pt as o,
1199
- rr as p,
1200
- Ft as q,
1201
- we as r,
1202
- Bt as s,
1203
- Nt as t,
1204
- $ as u,
1205
- mt as v,
1206
- $t as w,
1207
- ye as x,
1208
- Ke as y,
1209
- Ut as z
1212
+ or as p,
1213
+ Wt as q,
1214
+ Ft as r,
1215
+ Qt as s,
1216
+ xe as t,
1217
+ Nt as u,
1218
+ R as v,
1219
+ mt as w,
1220
+ et as x,
1221
+ tt as y,
1222
+ Rt as z
1210
1223
  };