@vokril/ui-solid 0.9.2 → 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 (246) hide show
  1. package/CHANGELOG.md +30 -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-CSFowOa0.cjs → IconPicker-BlD0VBca.cjs} +1 -1
  121. package/dist/server/{IconPicker-B-d_Wcsj.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-D96TivmC.js → createResizableSidebar-MIzUlfdd.js} +5 -5
  143. package/dist/server/{createResizableSidebar-SJ2NCIYW.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-B4epvfiq.js +13377 -0
  171. package/dist/server/index-DlQYWckZ.cjs +1 -0
  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 +2 -2
  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/index-BZO0w8b6.js +0 -3661
  242. package/dist/server/index-DgIX9RIA.cjs +0 -1
  243. package/dist/server/rendererLogging-B4XML4_G.cjs +0 -7
  244. package/dist/solid/_internal/platform/instantiation/common/descriptors.js +0 -10
  245. package/dist/solid/_internal/platform/instantiation/common/instantiation.js +0 -35
  246. package/dist/solid/_internal/platform/instantiation/common/serviceCollection.js +0 -14
@@ -0,0 +1 @@
1
+ "use strict";const r=require("solid-js/web"),o=require("solid-js"),i=require("./bugIndicatingError-D2X5Hfgg.cjs"),e=o.createContext();function n(t){return r.createComponent(e.Provider,{get value(){return t.host},get children(){return t.children}})}function s(){const t=o.useContext(e);if(t===void 0)throw new i.BugIndicatingError("useKitHost: this component has no KitHostProvider above it — wrap its root in <KitHostProvider host={…}>.");return t}exports.KitHostProvider=n;exports.useKitHost=s;
@@ -0,0 +1,23 @@
1
+ import { createComponent as r } from "solid-js/web";
2
+ import { createContext as e, useContext as i } from "solid-js";
3
+ import { B as n } from "./bugIndicatingError-h3J5qkL6.js";
4
+ const o = e();
5
+ function c(t) {
6
+ return r(o.Provider, {
7
+ get value() {
8
+ return t.host;
9
+ },
10
+ get children() {
11
+ return t.children;
12
+ }
13
+ });
14
+ }
15
+ function d() {
16
+ const t = i(o);
17
+ if (t === void 0) throw new n("useKitHost: this component has no KitHostProvider above it — wrap its root in <KitHostProvider host={…}>.");
18
+ return t;
19
+ }
20
+ export {
21
+ c as K,
22
+ d as u
23
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../createResizableSidebar-pDoO-7q9.cjs"),r=require("../Stepper-DoJFCfC7.cjs"),a=require("../createVirtualScroller-LN-7QFiv.cjs");exports.PageHeader=e.PageHeader;exports.PageHeaderIcon=e.PageHeaderIcon;exports.ResizableSplitPane=e.ResizableSplitPane;exports.ResizeHandle=e.ResizeHandle;exports.createResizableSidebar=e.createResizableSidebar;exports.Accordion=r.Accordion;exports.Breadcrumb=r.Breadcrumb;exports.Stepper=r.Stepper;exports.Tabs=r.Tabs;exports.createVirtualScroller=a.createVirtualScroller;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../createResizableSidebar-BIhyo5zN.cjs"),r=require("../Stepper-D7rXGxdg.cjs"),a=require("../createVirtualScroller-LN-7QFiv.cjs");exports.PageHeader=e.PageHeader;exports.PageHeaderIcon=e.PageHeaderIcon;exports.ResizableSplitPane=e.ResizableSplitPane;exports.ResizeHandle=e.ResizeHandle;exports.createResizableSidebar=e.createResizableSidebar;exports.Accordion=r.Accordion;exports.Breadcrumb=r.Breadcrumb;exports.Stepper=r.Stepper;exports.Tabs=r.Tabs;exports.createVirtualScroller=a.createVirtualScroller;
@@ -1,5 +1,5 @@
1
- import { P as r, a as s, R as o, b as c, c as t } from "../createResizableSidebar-2TgiFZp1.js";
2
- import { A as l, B as b, S as d, T as p } from "../Stepper-BxXwbDq4.js";
1
+ import { P as r, a as s, R as o, b as c, c as t } from "../createResizableSidebar-Cqv-1IXG.js";
2
+ import { A as l, B as b, S as d, T as p } from "../Stepper-BgDx1cPX.js";
3
3
  import { c as m } from "../createVirtualScroller-DBvqT0UW.js";
4
4
  export {
5
5
  l as Accordion,
@@ -1 +1 @@
1
- "use strict";const e=require("solid-js/web"),a=require("solid-js"),r=require("./tooltipCoordinator-y5YP3tsJ.cjs"),k="vk_badge_H207K",A="vk_icon_pYYcO",w="vk_dot_rH6r0",C="vk_sm_wGIZ-",N="vk_minWidth_COglg",S="vk_uppercase_VXoV8",W="vk_toneNeutral_X8HW3",p="vk_toneBrand_yGkjl",T="vk_toneInfo_wp-9H",B="vk_toneSuccess_VG8jt",I="vk_toneWarning_zPFLO",E="vk_toneDanger_cRUoq",$="vk_soft_8b-4T",D="vk_outline_gFFWD",q="vk_collapsible_DMKBX",y="vk_label_veC9k",l={badge:k,icon:A,dot:w,sm:C,minWidth:N,uppercase:S,toneNeutral:W,toneBrand:p,toneInfo:T,toneSuccess:B,toneWarning:I,toneDanger:E,soft:$,outline:D,collapsible:q,label:y};var v=e.template("<span aria-hidden=true>"),f=e.template("<span>");const L={neutral:l.toneNeutral,brand:l.toneBrand,info:l.toneInfo,success:l.toneSuccess,warning:l.toneWarning,danger:l.toneDanger},H={soft:l.soft,outline:l.outline};function O(t){let i;const _=a.createUniqueId(),g=()=>t.tooltip!==void 0?typeof t.tooltip=="function"?t.tooltip():t.tooltip:t.title,s=()=>{const n=g();!n||!i||(i.hasAttribute("title")&&(i.setAttribute("data-suppressed-title",i.getAttribute("title")??""),i.removeAttribute("title")),r.tooltipCoordinator.showTooltip({id:_,target:i,content:n,placement:t.tooltipPlacement}))},m=()=>{if(i&&i.hasAttribute("data-suppressed-title")){const n=i.getAttribute("data-suppressed-title");n&&i.setAttribute("title",n),i.removeAttribute("data-suppressed-title")}},c=()=>{m(),i&&r.tooltipCoordinator.hideTooltip(i)};a.onCleanup(()=>{i&&r.tooltipCoordinator.hideTooltip(i)});const b=()=>[l.badge,L[t.tone??"neutral"],H[t.variant??"soft"],t.size==="sm"?l.sm:void 0,t.uppercase?l.uppercase:void 0,t.minWidth?l.minWidth:void 0,t.collapsible===!0?l.collapsible:void 0,t.class].filter(n=>!!n).join(" ");return(()=>{var n=f();return n.$$focusout=c,n.$$focusin=s,n.addEventListener("pointerleave",c),n.addEventListener("pointerenter",s),e.use(o=>i=o,n),e.insert(n,e.createComponent(a.Show,{get when(){return t.icon!==void 0},get children(){var o=v();return e.insert(o,()=>t.icon),e.effect(()=>e.className(o,l.icon)),o}}),null),e.insert(n,e.createComponent(a.Show,{get when(){return e.memo(()=>t.collapsible===!0)()&&t.icon===void 0},get children(){var o=v();return e.effect(()=>e.className(o,l.dot)),o}}),null),e.insert(n,e.createComponent(a.Show,{get when(){return t.collapsible===!0},get fallback(){return t.children},get children(){var o=f();return e.insert(o,()=>t.children),e.effect(()=>e.className(o,l.label)),o}}),null),e.effect(o=>{var u=b(),h=t.style,d=t.title;return u!==o.e&&e.className(n,o.e=u),o.t=e.style(n,h,o.t),d!==o.a&&e.setAttribute(n,"title",o.a=d),o},{e:void 0,t:void 0,a:void 0}),n})()}e.delegateEvents(["focusin","focusout"]);function V(t){return document.createElement(t)}exports.Badge=O;exports.createElement=V;
1
+ "use strict";const e=require("solid-js/web"),a=require("solid-js"),r=require("./tooltipCoordinator-Causlcgt.cjs"),k="vk_badge_H207K",A="vk_icon_pYYcO",w="vk_dot_rH6r0",C="vk_sm_wGIZ-",N="vk_minWidth_COglg",S="vk_uppercase_VXoV8",W="vk_toneNeutral_X8HW3",p="vk_toneBrand_yGkjl",T="vk_toneInfo_wp-9H",B="vk_toneSuccess_VG8jt",I="vk_toneWarning_zPFLO",E="vk_toneDanger_cRUoq",$="vk_soft_8b-4T",D="vk_outline_gFFWD",q="vk_collapsible_DMKBX",y="vk_label_veC9k",l={badge:k,icon:A,dot:w,sm:C,minWidth:N,uppercase:S,toneNeutral:W,toneBrand:p,toneInfo:T,toneSuccess:B,toneWarning:I,toneDanger:E,soft:$,outline:D,collapsible:q,label:y};var v=e.template("<span aria-hidden=true>"),f=e.template("<span>");const L={neutral:l.toneNeutral,brand:l.toneBrand,info:l.toneInfo,success:l.toneSuccess,warning:l.toneWarning,danger:l.toneDanger},H={soft:l.soft,outline:l.outline};function O(t){let i;const _=a.createUniqueId(),g=()=>t.tooltip!==void 0?typeof t.tooltip=="function"?t.tooltip():t.tooltip:t.title,s=()=>{const n=g();!n||!i||(i.hasAttribute("title")&&(i.setAttribute("data-suppressed-title",i.getAttribute("title")??""),i.removeAttribute("title")),r.tooltipCoordinator.showTooltip({id:_,target:i,content:n,placement:t.tooltipPlacement}))},m=()=>{if(i&&i.hasAttribute("data-suppressed-title")){const n=i.getAttribute("data-suppressed-title");n&&i.setAttribute("title",n),i.removeAttribute("data-suppressed-title")}},c=()=>{m(),i&&r.tooltipCoordinator.hideTooltip(i)};a.onCleanup(()=>{i&&r.tooltipCoordinator.hideTooltip(i)});const b=()=>[l.badge,L[t.tone??"neutral"],H[t.variant??"soft"],t.size==="sm"?l.sm:void 0,t.uppercase?l.uppercase:void 0,t.minWidth?l.minWidth:void 0,t.collapsible===!0?l.collapsible:void 0,t.class].filter(n=>!!n).join(" ");return(()=>{var n=f();return n.$$focusout=c,n.$$focusin=s,n.addEventListener("pointerleave",c),n.addEventListener("pointerenter",s),e.use(o=>i=o,n),e.insert(n,e.createComponent(a.Show,{get when(){return t.icon!==void 0},get children(){var o=v();return e.insert(o,()=>t.icon),e.effect(()=>e.className(o,l.icon)),o}}),null),e.insert(n,e.createComponent(a.Show,{get when(){return e.memo(()=>t.collapsible===!0)()&&t.icon===void 0},get children(){var o=v();return e.effect(()=>e.className(o,l.dot)),o}}),null),e.insert(n,e.createComponent(a.Show,{get when(){return t.collapsible===!0},get fallback(){return t.children},get children(){var o=f();return e.insert(o,()=>t.children),e.effect(()=>e.className(o,l.label)),o}}),null),e.effect(o=>{var u=b(),h=t.style,d=t.title;return u!==o.e&&e.className(n,o.e=u),o.t=e.style(n,h,o.t),d!==o.a&&e.setAttribute(n,"title",o.a=d),o},{e:void 0,t:void 0,a:void 0}),n})()}e.delegateEvents(["focusin","focusout"]);function V(t){return document.createElement(t)}exports.Badge=O;exports.createElement=V;
@@ -1,6 +1,6 @@
1
1
  import { use as w, insert as l, createComponent as s, effect as a, className as r, memo as S, style as p, setAttribute as B, template as b, delegateEvents as I } from "solid-js/web";
2
2
  import { createUniqueId as N, onCleanup as C, Show as c } from "solid-js";
3
- import { t as u } from "./tooltipCoordinator-GV0L9lXH.js";
3
+ import { t as u } from "./tooltipCoordinator-Zim5pWzk.js";
4
4
  const $ = "vk_badge_H207K", D = "vk_icon_pYYcO", E = "vk_dot_rH6r0", y = "vk_sm_wGIZ-", L = "vk_minWidth_COglg", H = "vk_uppercase_VXoV8", O = "vk_toneNeutral_X8HW3", V = "vk_toneBrand_yGkjl", j = "vk_toneInfo_wp-9H", F = "vk_toneSuccess_VG8jt", G = "vk_toneWarning_zPFLO", R = "vk_toneDanger_cRUoq", X = "vk_soft_8b-4T", q = "vk_outline_gFFWD", z = "vk_collapsible_DMKBX", K = "vk_label_veC9k", i = {
5
5
  badge: $,
6
6
  icon: D,
@@ -1,4 +1,4 @@
1
- import { g } from "./rendererLogging-Edo4ALXU.js";
1
+ import { g } from "./rendererLogging-gAhiHWkA.js";
2
2
  import { g as a, S as c, a as A } from "./stateDbStore-Ds3zJ4cd.js";
3
3
  const n = /* @__PURE__ */ new Set();
4
4
  function h(e) {
@@ -1 +1 @@
1
- "use strict";const g=require("./rendererLogging-B4XML4_G.cjs"),n=require("./stateDbStore-THFfFGa0.cjs"),o=new Set;function v(e){const t=[];for(const r of e)o.has(r)||(o.add(r),t.push(r));return()=>{for(const r of t)o.delete(r)}}function u(e){return o.has(e)}const S=g.getLogger("ListenerDispatch");function A(e,t){for(const r of Array.from(e))try{r()}catch(f){S.error(`[${t}] listener error:`,f)}}const c=20,s=new Set,a="menu.favorites";function M(){try{const e=n.getSettingsBackend().get(a,n.StorageScope.APPLICATION),t=e===void 0?[]:JSON.parse(e);return Array.isArray(t)?t:[]}catch{return[]}}function i(){return M().filter(e=>typeof e=="string"&&u(e)).slice(0,c)}function d(e){n.getSettingsBackend().store(a,JSON.stringify(e.slice(0,c)),n.StorageScope.APPLICATION,n.StorageTarget.USER),A(s,"menuFavorites")}function F(){return i()}function l(e){return i().includes(e)}function y(e){const t=i();t.includes(e)||t.length>=c||d([...t,e])}function I(e){const t=i().filter(r=>r!==e);d(t)}function h(e){return s.add(e),()=>s.delete(e)}exports.addMenuFavorite=y;exports.getMenuFavorites=F;exports.isMenuFavorite=l;exports.isRegisteredActionId=u;exports.registerMenuActionIds=v;exports.removeMenuFavorite=I;exports.subscribeMenuFavorites=h;
1
+ "use strict";const g=require("./rendererLogging-Dt5FZ8mq.cjs"),n=require("./stateDbStore-THFfFGa0.cjs"),o=new Set;function v(e){const t=[];for(const r of e)o.has(r)||(o.add(r),t.push(r));return()=>{for(const r of t)o.delete(r)}}function u(e){return o.has(e)}const S=g.getLogger("ListenerDispatch");function A(e,t){for(const r of Array.from(e))try{r()}catch(f){S.error(`[${t}] listener error:`,f)}}const c=20,s=new Set,a="menu.favorites";function M(){try{const e=n.getSettingsBackend().get(a,n.StorageScope.APPLICATION),t=e===void 0?[]:JSON.parse(e);return Array.isArray(t)?t:[]}catch{return[]}}function i(){return M().filter(e=>typeof e=="string"&&u(e)).slice(0,c)}function d(e){n.getSettingsBackend().store(a,JSON.stringify(e.slice(0,c)),n.StorageScope.APPLICATION,n.StorageTarget.USER),A(s,"menuFavorites")}function F(){return i()}function l(e){return i().includes(e)}function y(e){const t=i();t.includes(e)||t.length>=c||d([...t,e])}function I(e){const t=i().filter(r=>r!==e);d(t)}function h(e){return s.add(e),()=>s.delete(e)}exports.addMenuFavorite=y;exports.getMenuFavorites=F;exports.isMenuFavorite=l;exports.isRegisteredActionId=u;exports.registerMenuActionIds=v;exports.removeMenuFavorite=I;exports.subscribeMenuFavorites=h;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Stepper-DoJFCfC7.cjs"),a=require("../tablistKeyboard-DtVKTEWz.cjs"),t=require("../createSelectionIndicator-DaZspPf1.cjs");exports.Accordion=e.Accordion;exports.Breadcrumb=e.Breadcrumb;exports.Stepper=e.Stepper;exports.Tabs=e.Tabs;exports.tabId=e.tabId;exports.tabPanelAria=e.tabPanelAria;exports.tabPanelId=e.tabPanelId;exports.createTablistKeyboardHandler=a.createTablistKeyboardHandler;exports.isTablistNavigationKey=a.isTablistNavigationKey;exports.resolveTablistNavigationTarget=a.resolveTablistNavigationTarget;exports.rovingTabIndex=a.rovingTabIndex;exports.createSelectionIndicator=t.createSelectionIndicator;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Stepper-D7rXGxdg.cjs"),a=require("../tablistKeyboard-DtVKTEWz.cjs"),t=require("../createSelectionIndicator-DaZspPf1.cjs");exports.Accordion=e.Accordion;exports.Breadcrumb=e.Breadcrumb;exports.Stepper=e.Stepper;exports.Tabs=e.Tabs;exports.tabId=e.tabId;exports.tabPanelAria=e.tabPanelAria;exports.tabPanelId=e.tabPanelId;exports.createTablistKeyboardHandler=a.createTablistKeyboardHandler;exports.isTablistNavigationKey=a.isTablistNavigationKey;exports.resolveTablistNavigationTarget=a.resolveTablistNavigationTarget;exports.rovingTabIndex=a.rovingTabIndex;exports.createSelectionIndicator=t.createSelectionIndicator;
@@ -1,4 +1,4 @@
1
- import { A as r, B as s, S as t, T as o, t as i, a as b, b as n } from "../Stepper-BxXwbDq4.js";
1
+ import { A as r, B as s, S as t, T as o, t as i, a as b, b as n } from "../Stepper-BgDx1cPX.js";
2
2
  import { c as d, i as l, r as T, a as p } from "../tablistKeyboard-AxJcXuc5.js";
3
3
  import { c as m } from "../createSelectionIndicator-BnxXUMlT.js";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import { d as w } from "./defineSettings-By5ell8e.js";
1
+ import { d as w } from "./defineSettings-CcYXt2Jf.js";
2
2
  const E = 1e3, M = 6e4;
3
3
  function x(t, n) {
4
4
  if (t.trim() === "") return n;
@@ -1 +1 @@
1
- "use strict";const O=require("./defineSettings-DRv1FRbv.cjs"),b=1e3,k=6e4;function w(t,n){if(t.trim()==="")return n;const o=Number(t);return Number.isFinite(o)?Math.min(k,Math.max(b,o)):n}const T={notificationsEnabled:!0,toastPosition:"bottom-right",showSuccessToasts:!0,soundOnQueryCompletion:!1,longRunningQueryThresholdMs:5e3,showLongRunningNotification:!0,mutedSources:[],dontShowAgainKeys:[],remindersUntil:[],notificationWidth:450,maxVisibleNotifications:3,markdownEnabled:!1,infoDurationMs:1e4,successDurationMs:6e3,warningDurationMs:12e3,errorDurationMs:15e3,errorsAlwaysSticky:!1,warningsAlwaysSticky:!1,doNotDisturb:!1,dndBlocksUrgent:!1,urgentRoutesToCenterOnly:!1,soundOnInfo:!1,soundOnSuccess:!1,soundOnWarning:!1,soundOnError:!1,pauseTimerWhileHidden:!0,vendorCodesAreUrgent:!1,remindLaterEnabled:!0,showAdvancedSettings:!1,osNativeEnabled:!1,osNativeOnlyWhenUnfocused:!0,osNativeMinSeverity:"warning",osNativeUrgentAlways:!0,badgeCountEnabled:!0,badgeCountMax:99,quietHoursEnabled:!1,quietHoursStart:"22:00",quietHoursEnd:"08:00",quietHoursWeekdays:[0,1,2,3,4,5,6],quietHoursBlocksUrgent:!1,quietHoursMutesSounds:!0,customSoundInfo:"",customSoundSuccess:"",customSoundWarning:"",customSoundError:"",webhooks:[],emailDigestEnabled:!1,emailDigestSmtpHost:"",emailDigestSmtpPort:587,emailDigestSmtpSecure:!1,emailDigestSmtpUser:"",emailDigestSmtpPass:"",emailDigestFrom:"",emailDigestTo:"",emailDigestSchedule:"daily-9am",emailDigestMinSeverity:"warning",timelineGroupingEnabled:!1,timelineGroupBy:"source-severity",notificationRules:[],animationDuration:"normal",reduceMotion:!1},H="app-notification-settings-change",I=["bottom-right","bottom-left","top-right","top-left"],g=0,y=12e4,e=T;function v(t,n){return Array.isArray(t)?Array.from(new Set(t.filter(o=>typeof o=="string"&&o.length>0))):[...n]}function R(t,n){var u,d,l,a,s,f,r,p,D,N,A;if(!Array.isArray(t))return[...n];const o=[];for(const S of t){if(typeof S!="object"||S===null)continue;const i=S;typeof i.id=="string"&&o.push({id:i.id,name:typeof i.name=="string"?i.name:"Rule",enabled:typeof i.enabled=="boolean"?i.enabled:!0,conditions:(()=>{var h,E,M;const c={};return typeof((h=i.conditions)==null?void 0:h.source)=="string"&&(c.source=i.conditions.source),Array.isArray((E=i.conditions)==null?void 0:E.severities)&&(c.severities=i.conditions.severities.filter(m=>m==="info"||m==="success"||m==="warning"||m==="error")),typeof((M=i.conditions)==null?void 0:M.titleRegex)=="string"&&(c.titleRegex=i.conditions.titleRegex),c})(),actions:{...((u=i.actions)==null?void 0:u.setSeverity)==="info"||((d=i.actions)==null?void 0:d.setSeverity)==="success"||((l=i.actions)==null?void 0:l.setSeverity)==="warning"||((a=i.actions)==null?void 0:a.setSeverity)==="error"?{setSeverity:i.actions.setSeverity}:{},...((s=i.actions)==null?void 0:s.setPriority)==="urgent"||((f=i.actions)==null?void 0:f.setPriority)==="default"||((r=i.actions)==null?void 0:r.setPriority)==="optional"||((p=i.actions)==null?void 0:p.setPriority)==="silent"||((D=i.actions)==null?void 0:D.setPriority)==="acknowledgment-required"?{setPriority:i.actions.setPriority}:{},...typeof((N=i.actions)==null?void 0:N.addPrefix)=="string"?{addPrefix:i.actions.addPrefix}:{},...typeof((A=i.actions)==null?void 0:A.suppress)=="boolean"?{suppress:i.actions.suppress}:{}}})}return o}function U(t,n){var u,d,l;if(!Array.isArray(t))return[...n];const o=[];for(const a of t){if(typeof a!="object"||a===null)continue;const s=a;if(typeof s.id!="string")continue;const f=s.type==="slack"||s.type==="discord"||s.type==="generic"?s.type:"generic";o.push({id:s.id,name:typeof s.name=="string"?s.name:"Webhook",type:f,url:"",enabled:typeof s.enabled=="boolean"?s.enabled:!0,filters:{severities:Array.isArray((u=s.filters)==null?void 0:u.severities)?s.filters.severities.filter(r=>r==="info"||r==="success"||r==="warning"||r==="error"):[],priorities:Array.isArray((d=s.filters)==null?void 0:d.priorities)?s.filters.priorities.filter(r=>r==="urgent"||r==="default"||r==="optional"||r==="silent"):[],sources:Array.isArray((l=s.filters)==null?void 0:l.sources)?s.filters.sources.filter(r=>typeof r=="string"):[]}})}return o}const _=O.defineSettings({key:"notificationSettings",changeEvent:H,fields:{notificationsEnabled:{kind:"bool",default:e.notificationsEnabled},toastPosition:{kind:"enum",values:I,default:e.toastPosition},showSuccessToasts:{kind:"bool",default:e.showSuccessToasts},soundOnQueryCompletion:{kind:"bool",default:e.soundOnQueryCompletion},longRunningQueryThresholdMs:{kind:"int",min:b,max:k,default:e.longRunningQueryThresholdMs},showLongRunningNotification:{kind:"bool",default:e.showLongRunningNotification},mutedSources:{kind:"custom",default:e.mutedSources,normalize:(t,n)=>v(t,n)},dontShowAgainKeys:{kind:"custom",default:e.dontShowAgainKeys,normalize:(t,n)=>v(t,n)},remindersUntil:{kind:"custom",default:e.remindersUntil,normalize:(t,n)=>Array.isArray(t)?t.filter(o=>typeof o=="object"&&o!==null&&typeof o.key=="string"&&typeof o.remindAt=="number").filter(o=>o.remindAt>Date.now()):[...n]},notificationWidth:{kind:"int",min:320,max:700,default:e.notificationWidth},maxVisibleNotifications:{kind:"int",min:1,max:8,default:e.maxVisibleNotifications},markdownEnabled:{kind:"bool",default:e.markdownEnabled},infoDurationMs:{kind:"int",min:g,max:y,default:e.infoDurationMs},successDurationMs:{kind:"int",min:g,max:y,default:e.successDurationMs},warningDurationMs:{kind:"int",min:g,max:y,default:e.warningDurationMs},errorDurationMs:{kind:"int",min:g,max:y,default:e.errorDurationMs},errorsAlwaysSticky:{kind:"bool",default:e.errorsAlwaysSticky},warningsAlwaysSticky:{kind:"bool",default:e.warningsAlwaysSticky},doNotDisturb:{kind:"bool",default:e.doNotDisturb},dndBlocksUrgent:{kind:"bool",default:e.dndBlocksUrgent},urgentRoutesToCenterOnly:{kind:"bool",default:e.urgentRoutesToCenterOnly},soundOnInfo:{kind:"bool",default:e.soundOnInfo},soundOnSuccess:{kind:"bool",default:e.soundOnSuccess},soundOnWarning:{kind:"bool",default:e.soundOnWarning},soundOnError:{kind:"bool",default:e.soundOnError},pauseTimerWhileHidden:{kind:"bool",default:e.pauseTimerWhileHidden},vendorCodesAreUrgent:{kind:"bool",default:e.vendorCodesAreUrgent},remindLaterEnabled:{kind:"bool",default:e.remindLaterEnabled},showAdvancedSettings:{kind:"bool",default:e.showAdvancedSettings},osNativeEnabled:{kind:"bool",default:e.osNativeEnabled},osNativeOnlyWhenUnfocused:{kind:"bool",default:e.osNativeOnlyWhenUnfocused},osNativeMinSeverity:{kind:"enum",values:["info","success","warning","error"],default:e.osNativeMinSeverity},osNativeUrgentAlways:{kind:"bool",default:e.osNativeUrgentAlways},badgeCountEnabled:{kind:"bool",default:e.badgeCountEnabled},badgeCountMax:{kind:"int",min:1,max:9999,default:e.badgeCountMax},quietHoursEnabled:{kind:"bool",default:e.quietHoursEnabled},quietHoursStart:{kind:"custom",default:e.quietHoursStart,normalize:(t,n)=>typeof t=="string"&&/^\d{2}:\d{2}$/.test(t)?t:n},quietHoursEnd:{kind:"custom",default:e.quietHoursEnd,normalize:(t,n)=>typeof t=="string"&&/^\d{2}:\d{2}$/.test(t)?t:n},quietHoursWeekdays:{kind:"custom",default:e.quietHoursWeekdays,normalize:(t,n)=>Array.isArray(t)?Array.from(new Set(t.filter(o=>typeof o=="number"&&Number.isInteger(o)&&o>=0&&o<=6))).sort():[...n]},quietHoursBlocksUrgent:{kind:"bool",default:e.quietHoursBlocksUrgent},quietHoursMutesSounds:{kind:"bool",default:e.quietHoursMutesSounds},customSoundInfo:{kind:"string",default:e.customSoundInfo},customSoundSuccess:{kind:"string",default:e.customSoundSuccess},customSoundWarning:{kind:"string",default:e.customSoundWarning},customSoundError:{kind:"string",default:e.customSoundError},webhooks:{kind:"custom",default:e.webhooks,normalize:(t,n)=>U(t,n)},emailDigestEnabled:{kind:"bool",default:e.emailDigestEnabled},emailDigestSmtpHost:{kind:"string",default:e.emailDigestSmtpHost},emailDigestSmtpPort:{kind:"int",min:1,max:65535,default:e.emailDigestSmtpPort},emailDigestSmtpSecure:{kind:"bool",default:e.emailDigestSmtpSecure},emailDigestSmtpUser:{kind:"string",default:e.emailDigestSmtpUser},emailDigestSmtpPass:{kind:"string",default:"",secret:!0},emailDigestFrom:{kind:"string",default:e.emailDigestFrom},emailDigestTo:{kind:"string",default:e.emailDigestTo},emailDigestSchedule:{kind:"enum",values:["hourly","daily-9am","daily-5pm","weekly-mon-9am"],default:e.emailDigestSchedule},emailDigestMinSeverity:{kind:"enum",values:["info","success","warning","error"],default:e.emailDigestMinSeverity},timelineGroupingEnabled:{kind:"bool",default:e.timelineGroupingEnabled},timelineGroupBy:{kind:"enum",values:["source","source-severity"],default:e.timelineGroupBy},notificationRules:{kind:"custom",default:e.notificationRules,normalize:(t,n)=>R(t,n)},animationDuration:{kind:"enum",values:["fast","normal","slow"],default:e.animationDuration},reduceMotion:{kind:"bool",default:e.reduceMotion}}});exports.DEFAULT_NOTIFICATION_SETTINGS=T;exports.MAX_LONG_RUNNING_THRESHOLD_MS=k;exports.MIN_LONG_RUNNING_THRESHOLD_MS=b;exports.notificationSettings=_;exports.parseLongRunningThresholdMs=w;
1
+ "use strict";const O=require("./defineSettings-yHQdUwxI.cjs"),b=1e3,k=6e4;function w(t,n){if(t.trim()==="")return n;const o=Number(t);return Number.isFinite(o)?Math.min(k,Math.max(b,o)):n}const T={notificationsEnabled:!0,toastPosition:"bottom-right",showSuccessToasts:!0,soundOnQueryCompletion:!1,longRunningQueryThresholdMs:5e3,showLongRunningNotification:!0,mutedSources:[],dontShowAgainKeys:[],remindersUntil:[],notificationWidth:450,maxVisibleNotifications:3,markdownEnabled:!1,infoDurationMs:1e4,successDurationMs:6e3,warningDurationMs:12e3,errorDurationMs:15e3,errorsAlwaysSticky:!1,warningsAlwaysSticky:!1,doNotDisturb:!1,dndBlocksUrgent:!1,urgentRoutesToCenterOnly:!1,soundOnInfo:!1,soundOnSuccess:!1,soundOnWarning:!1,soundOnError:!1,pauseTimerWhileHidden:!0,vendorCodesAreUrgent:!1,remindLaterEnabled:!0,showAdvancedSettings:!1,osNativeEnabled:!1,osNativeOnlyWhenUnfocused:!0,osNativeMinSeverity:"warning",osNativeUrgentAlways:!0,badgeCountEnabled:!0,badgeCountMax:99,quietHoursEnabled:!1,quietHoursStart:"22:00",quietHoursEnd:"08:00",quietHoursWeekdays:[0,1,2,3,4,5,6],quietHoursBlocksUrgent:!1,quietHoursMutesSounds:!0,customSoundInfo:"",customSoundSuccess:"",customSoundWarning:"",customSoundError:"",webhooks:[],emailDigestEnabled:!1,emailDigestSmtpHost:"",emailDigestSmtpPort:587,emailDigestSmtpSecure:!1,emailDigestSmtpUser:"",emailDigestSmtpPass:"",emailDigestFrom:"",emailDigestTo:"",emailDigestSchedule:"daily-9am",emailDigestMinSeverity:"warning",timelineGroupingEnabled:!1,timelineGroupBy:"source-severity",notificationRules:[],animationDuration:"normal",reduceMotion:!1},H="app-notification-settings-change",I=["bottom-right","bottom-left","top-right","top-left"],g=0,y=12e4,e=T;function v(t,n){return Array.isArray(t)?Array.from(new Set(t.filter(o=>typeof o=="string"&&o.length>0))):[...n]}function R(t,n){var u,d,l,a,s,f,r,p,D,N,A;if(!Array.isArray(t))return[...n];const o=[];for(const S of t){if(typeof S!="object"||S===null)continue;const i=S;typeof i.id=="string"&&o.push({id:i.id,name:typeof i.name=="string"?i.name:"Rule",enabled:typeof i.enabled=="boolean"?i.enabled:!0,conditions:(()=>{var h,E,M;const c={};return typeof((h=i.conditions)==null?void 0:h.source)=="string"&&(c.source=i.conditions.source),Array.isArray((E=i.conditions)==null?void 0:E.severities)&&(c.severities=i.conditions.severities.filter(m=>m==="info"||m==="success"||m==="warning"||m==="error")),typeof((M=i.conditions)==null?void 0:M.titleRegex)=="string"&&(c.titleRegex=i.conditions.titleRegex),c})(),actions:{...((u=i.actions)==null?void 0:u.setSeverity)==="info"||((d=i.actions)==null?void 0:d.setSeverity)==="success"||((l=i.actions)==null?void 0:l.setSeverity)==="warning"||((a=i.actions)==null?void 0:a.setSeverity)==="error"?{setSeverity:i.actions.setSeverity}:{},...((s=i.actions)==null?void 0:s.setPriority)==="urgent"||((f=i.actions)==null?void 0:f.setPriority)==="default"||((r=i.actions)==null?void 0:r.setPriority)==="optional"||((p=i.actions)==null?void 0:p.setPriority)==="silent"||((D=i.actions)==null?void 0:D.setPriority)==="acknowledgment-required"?{setPriority:i.actions.setPriority}:{},...typeof((N=i.actions)==null?void 0:N.addPrefix)=="string"?{addPrefix:i.actions.addPrefix}:{},...typeof((A=i.actions)==null?void 0:A.suppress)=="boolean"?{suppress:i.actions.suppress}:{}}})}return o}function U(t,n){var u,d,l;if(!Array.isArray(t))return[...n];const o=[];for(const a of t){if(typeof a!="object"||a===null)continue;const s=a;if(typeof s.id!="string")continue;const f=s.type==="slack"||s.type==="discord"||s.type==="generic"?s.type:"generic";o.push({id:s.id,name:typeof s.name=="string"?s.name:"Webhook",type:f,url:"",enabled:typeof s.enabled=="boolean"?s.enabled:!0,filters:{severities:Array.isArray((u=s.filters)==null?void 0:u.severities)?s.filters.severities.filter(r=>r==="info"||r==="success"||r==="warning"||r==="error"):[],priorities:Array.isArray((d=s.filters)==null?void 0:d.priorities)?s.filters.priorities.filter(r=>r==="urgent"||r==="default"||r==="optional"||r==="silent"):[],sources:Array.isArray((l=s.filters)==null?void 0:l.sources)?s.filters.sources.filter(r=>typeof r=="string"):[]}})}return o}const _=O.defineSettings({key:"notificationSettings",changeEvent:H,fields:{notificationsEnabled:{kind:"bool",default:e.notificationsEnabled},toastPosition:{kind:"enum",values:I,default:e.toastPosition},showSuccessToasts:{kind:"bool",default:e.showSuccessToasts},soundOnQueryCompletion:{kind:"bool",default:e.soundOnQueryCompletion},longRunningQueryThresholdMs:{kind:"int",min:b,max:k,default:e.longRunningQueryThresholdMs},showLongRunningNotification:{kind:"bool",default:e.showLongRunningNotification},mutedSources:{kind:"custom",default:e.mutedSources,normalize:(t,n)=>v(t,n)},dontShowAgainKeys:{kind:"custom",default:e.dontShowAgainKeys,normalize:(t,n)=>v(t,n)},remindersUntil:{kind:"custom",default:e.remindersUntil,normalize:(t,n)=>Array.isArray(t)?t.filter(o=>typeof o=="object"&&o!==null&&typeof o.key=="string"&&typeof o.remindAt=="number").filter(o=>o.remindAt>Date.now()):[...n]},notificationWidth:{kind:"int",min:320,max:700,default:e.notificationWidth},maxVisibleNotifications:{kind:"int",min:1,max:8,default:e.maxVisibleNotifications},markdownEnabled:{kind:"bool",default:e.markdownEnabled},infoDurationMs:{kind:"int",min:g,max:y,default:e.infoDurationMs},successDurationMs:{kind:"int",min:g,max:y,default:e.successDurationMs},warningDurationMs:{kind:"int",min:g,max:y,default:e.warningDurationMs},errorDurationMs:{kind:"int",min:g,max:y,default:e.errorDurationMs},errorsAlwaysSticky:{kind:"bool",default:e.errorsAlwaysSticky},warningsAlwaysSticky:{kind:"bool",default:e.warningsAlwaysSticky},doNotDisturb:{kind:"bool",default:e.doNotDisturb},dndBlocksUrgent:{kind:"bool",default:e.dndBlocksUrgent},urgentRoutesToCenterOnly:{kind:"bool",default:e.urgentRoutesToCenterOnly},soundOnInfo:{kind:"bool",default:e.soundOnInfo},soundOnSuccess:{kind:"bool",default:e.soundOnSuccess},soundOnWarning:{kind:"bool",default:e.soundOnWarning},soundOnError:{kind:"bool",default:e.soundOnError},pauseTimerWhileHidden:{kind:"bool",default:e.pauseTimerWhileHidden},vendorCodesAreUrgent:{kind:"bool",default:e.vendorCodesAreUrgent},remindLaterEnabled:{kind:"bool",default:e.remindLaterEnabled},showAdvancedSettings:{kind:"bool",default:e.showAdvancedSettings},osNativeEnabled:{kind:"bool",default:e.osNativeEnabled},osNativeOnlyWhenUnfocused:{kind:"bool",default:e.osNativeOnlyWhenUnfocused},osNativeMinSeverity:{kind:"enum",values:["info","success","warning","error"],default:e.osNativeMinSeverity},osNativeUrgentAlways:{kind:"bool",default:e.osNativeUrgentAlways},badgeCountEnabled:{kind:"bool",default:e.badgeCountEnabled},badgeCountMax:{kind:"int",min:1,max:9999,default:e.badgeCountMax},quietHoursEnabled:{kind:"bool",default:e.quietHoursEnabled},quietHoursStart:{kind:"custom",default:e.quietHoursStart,normalize:(t,n)=>typeof t=="string"&&/^\d{2}:\d{2}$/.test(t)?t:n},quietHoursEnd:{kind:"custom",default:e.quietHoursEnd,normalize:(t,n)=>typeof t=="string"&&/^\d{2}:\d{2}$/.test(t)?t:n},quietHoursWeekdays:{kind:"custom",default:e.quietHoursWeekdays,normalize:(t,n)=>Array.isArray(t)?Array.from(new Set(t.filter(o=>typeof o=="number"&&Number.isInteger(o)&&o>=0&&o<=6))).sort():[...n]},quietHoursBlocksUrgent:{kind:"bool",default:e.quietHoursBlocksUrgent},quietHoursMutesSounds:{kind:"bool",default:e.quietHoursMutesSounds},customSoundInfo:{kind:"string",default:e.customSoundInfo},customSoundSuccess:{kind:"string",default:e.customSoundSuccess},customSoundWarning:{kind:"string",default:e.customSoundWarning},customSoundError:{kind:"string",default:e.customSoundError},webhooks:{kind:"custom",default:e.webhooks,normalize:(t,n)=>U(t,n)},emailDigestEnabled:{kind:"bool",default:e.emailDigestEnabled},emailDigestSmtpHost:{kind:"string",default:e.emailDigestSmtpHost},emailDigestSmtpPort:{kind:"int",min:1,max:65535,default:e.emailDigestSmtpPort},emailDigestSmtpSecure:{kind:"bool",default:e.emailDigestSmtpSecure},emailDigestSmtpUser:{kind:"string",default:e.emailDigestSmtpUser},emailDigestSmtpPass:{kind:"string",default:"",secret:!0},emailDigestFrom:{kind:"string",default:e.emailDigestFrom},emailDigestTo:{kind:"string",default:e.emailDigestTo},emailDigestSchedule:{kind:"enum",values:["hourly","daily-9am","daily-5pm","weekly-mon-9am"],default:e.emailDigestSchedule},emailDigestMinSeverity:{kind:"enum",values:["info","success","warning","error"],default:e.emailDigestMinSeverity},timelineGroupingEnabled:{kind:"bool",default:e.timelineGroupingEnabled},timelineGroupBy:{kind:"enum",values:["source","source-severity"],default:e.timelineGroupBy},notificationRules:{kind:"custom",default:e.notificationRules,normalize:(t,n)=>R(t,n)},animationDuration:{kind:"enum",values:["fast","normal","slow"],default:e.animationDuration},reduceMotion:{kind:"bool",default:e.reduceMotion}}});exports.DEFAULT_NOTIFICATION_SETTINGS=T;exports.MAX_LONG_RUNNING_THRESHOLD_MS=k;exports.MIN_LONG_RUNNING_THRESHOLD_MS=b;exports.notificationSettings=_;exports.parseLongRunningThresholdMs=w;
@@ -1 +1 @@
1
- "use strict";const B=require("./rendererLogging-B4XML4_G.cjs"),s=require("./notification-CrxHMXsk.cjs"),P=require("./bugIndicatingError-D2X5Hfgg.cjs"),k=new WeakMap;function ce(e,n){return k.set(e,[...k.get(e)??[],...n]),e}function O(e){return typeof e=="object"&&e!==null?k.get(e)??[]:[]}const V={text:(e,n)=>B.toErrorMessage(e,n),actions:e=>O(e)};let $=V;function ae(e){$=e??V}function C(){return $}function ue(e,n){return C().text(e,n)}function de(e){return C().actions(e)}const x=B.getLogger("ElectronBridge");let l={};function fe(e){l=e??{}}const le=new Set(["http:","https:","mailto:"]);function ge(e){let n;try{n=new URL(e).protocol}catch{x.warn("openExternal: unparseable URL refused",{url:e});return}if(!le.has(n)){x.warn("openExternal: protocol refused",{url:e,protocol:n});return}if(l.openExternal){Promise.resolve(l.openExternal(e)).catch(o=>{x.warn("openExternal: host refused",{url:e,error:o})});return}typeof window<"u"&&window.open(e,"_blank","noopener,noreferrer")}function me(e){l.osNotify&&Promise.resolve(l.osNotify(e)).catch(()=>{})}function we(e){l.setBadgeCount&&Promise.resolve(l.setBadgeCount(e)).catch(()=>{})}async function Se(e){if(!l.readAudioAsDataUrl)return null;try{return await l.readAudioAsDataUrl(e)}catch(n){return x.warn("custom sound could not be read",{filePath:e,error:n}),null}}const pe={showSaveDialog:async e=>({filePath:(e==null?void 0:e.defaultPath)??"export.txt"}),writeFile:async(e,n)=>{if(typeof document>"u")return;const o=e.split(/[\\/]/).pop()||"export.txt",i=URL.createObjectURL(new Blob([n],{type:"text/plain;charset=utf-8"})),d=document.createElement("a");d.href=i,d.download=o,d.rel="noopener",d.click(),setTimeout(()=>URL.revokeObjectURL(i),0)}};function ye(){return l.fs??pe}function he(e){var n;if(e)return(n=l.notificationOverlay)==null?void 0:n.call(l,e)}const L=new Map;function T(e){let n=L.get(e);return n||(n={source:e,total:0,shown:0,clicked:0,dismissed:0,autoFaded:0,muted:0},L.set(e,n)),n}function Ee(e,n,o){const i=T(e);i.total+=1,n&&(i.shown+=1),o&&(i.muted+=1)}function Ae(e){T(e).clicked+=1}function ve(e){T(e).dismissed+=1}function xe(e){T(e).autoFaded+=1}const Ne=B.getLogger("NativeNotificationEngine");function Te(e){return e.id===""}function _(e,n=s.notificationSettings.get()){if(e.durationMs!==void 0)return e.durationMs;switch(e.severity){case"info":return n.infoDurationMs;case"success":return n.successDurationMs;case"warning":return n.warningDurationMs;case"error":return n.errorDurationMs}}function q(e,n=s.notificationSettings.get()){if(e.sticky||e.priority==="urgent"||e.priority==="acknowledgment-required"||e.progress&&!e.progress.done||e.severity==="error"&&n.errorsAlwaysSticky||e.severity==="warning"&&n.warningsAlwaysSticky)return!0;const o=e.durationMs;return o!==void 0&&(!Number.isFinite(o)||o<=0)}function j(e={}){const n=e.getSettings??(()=>s.notificationSettings.get()),o=e.now??(()=>Date.now()),i=e.setTimeout??((t,r)=>window.setTimeout(t,r)),d=e.clearTimeout??(t=>window.clearTimeout(t)),w=e.recordAutoFade??xe,F=e.warn??((t,r)=>Ne.warn(t,r)),u=new Map,v=new Set,y=new Map;function b(){return[...u.values()].sort((t,r)=>t.createdAt-r.createdAt)}function U(t){const r=n();if(!r.pauseTimerWhileHidden)return!1;const a=b(),m=Math.max(1,r.maxVisibleNotifications);if(a.length<=m)return!1;const c=a.length-m,f=a.findIndex(D=>D.id===t);return f>=0&&f<c}function W(){for(const t of u.keys()){if(y.has(t)){U(t)&&S(t);continue}p(t)}}function g(){const t=b();for(const r of Array.from(v))try{r(t)}catch(a){F("Bildirim motoru dinleyicisi firlatti:",a)}W()}function R(t){return!!(q(t,n())||t.hovered||t.focused)}function G(t){return _(t,n())}function S(t){const r=y.get(t);r!==void 0&&(d(r),y.delete(t))}function p(t){S(t);const r=u.get(t);if(!r||R(r)||U(t))return;const a=G(r);if(!Number.isFinite(a)||a<=0)return;const m=i(()=>{y.delete(t);const c=u.get(t);c&&(R(c)||(w(c.source??"general"),u.delete(t),g()))},a);y.set(t,m)}let H=0;function Q(){return H+=1,`n-${o().toString(36)}-${H.toString(36)}`}const X=800,z=3,E=[];function J(){const t=o();for(;E.length>0&&(E[0]??0)<t-X;)E.shift();return E.length>=z}function Y(){E.push(o())}function I(t){return!t||t.length===0?"":t.filter(r=>r.primary).map(r=>`${r.id??""}::${r.label}`).sort().join("|")}function Z(t){const r=t.source??"",a=I(t.actions);for(const[m,c]of u)if((c.source??"")===r&&c.title===t.title&&I(c.actions)===a)return m;return null}function ee(t){const r=t.id,a=r??Z(t),m=a===null;if(m&&!r&&J())return{id:"",update:()=>{},setProgress:()=>{},close:()=>{}};const c=a??Q(),f=u.get(c),D={...t,id:c,createdAt:(f==null?void 0:f.createdAt)??o(),expanded:(f==null?void 0:f.expanded)??!1,hovered:(f==null?void 0:f.hovered)??!1,focused:(f==null?void 0:f.focused)??!1};return u.set(c,D),m&&Y(),g(),p(c),{id:c,update(K){const A=u.get(c);A&&(u.set(c,{...A,...K}),g(),p(c))},setProgress(K){const A=u.get(c);A&&(u.set(c,{...A,progress:K}),g(),p(c))},close(){S(c),u.delete(c)&&g()}}}function te(t){return v.add(t),t(b()),()=>{v.delete(t)}}function ne(t,r){const a=u.get(t);!a||a.hovered===r||(u.set(t,{...a,hovered:r}),g(),r?S(t):p(t))}function re(t,r){const a=u.get(t);!a||a.focused===r||(u.set(t,{...a,focused:r}),g(),r?S(t):p(t))}function oe(t){const r=u.get(t);r&&(u.set(t,{...r,expanded:!r.expanded}),g(),p(t))}function ie(t){S(t),u.delete(t)&&g()}function se(){for(const t of y.keys())S(t);u.clear(),v.clear()}return{notify:ee,subscribe:te,setHover:ne,setFocus:re,toggleExpanded:oe,close:ie,dispose:se}}const h=j(),Fe=h.notify,be=h.subscribe,De=h.setHover,Ke=h.setFocus,ke=h.toggleExpanded,Be=h.close;let N=null;function Me(e){N=e}function Ue(){return N!==null}function M(){if(N===null)throw new P.BugIndicatingError("[vendorErrors] read before a source was installed — the host must call installVendorErrorSource at startup.");return N}function Re(e){const n=M().errorHelpersFor(e.vendorId);return n===null?null:{vendorId:e.vendorId,code:e.code,helpers:n}}function He(e,n,o){const i=M().errorHelpersFor(e);if(i===null)throw new P.BugIndicatingError(`[vendorErrors] unknown preview vendor: ${e}`);return{message:`${i.formatCode(n)}: ${o}`,vendorError:{vendorId:e,code:n}}}function Ie(e){return`https://www.google.com/search?q=${encodeURIComponent(e)}`}function Le(e,n){return`__remind:${e}:${n}`}function Pe(e,n,o){const{priority:i}=e,d=e.recordTimeline!==!1;if(!n.notificationsEnabled)return{showToast:!1,recordTimeline:!1};if(o.dismissed)return{showToast:!1,recordTimeline:!1};if(o.remindSuppressed)return{showToast:!1,recordTimeline:!1};if(i==="silent")return{showToast:!1,recordTimeline:d};const w=i==="urgent"||i==="acknowledgment-required";return n.doNotDisturb&&(!w||i==="urgent"&&n.dndBlocksUrgent)?{showToast:!1,recordTimeline:d}:o.inQuietHours&&(!w||i==="urgent"&&n.quietHoursBlocksUrgent)?{showToast:!1,recordTimeline:d}:w?n.urgentRoutesToCenterOnly&&i==="urgent"?{showToast:!1,recordTimeline:d}:{showToast:!0,recordTimeline:d}:o.sourceMuted?{showToast:!1,recordTimeline:d}:{showToast:!0,recordTimeline:d}}function Oe(e){return s.notificationSettings.get().mutedSources.includes(e)}function Ve(e){return s.notificationSettings.get().dontShowAgainKeys.includes(e)}function $e(e){const n=Date.now();return s.notificationSettings.get().remindersUntil.some(i=>i.key===e&&i.remindAt>n)}async function Ce(e,n){if(!e||n<=0)return;const o=s.notificationSettings.get(),i=Date.now()+n,w=[...o.remindersUntil.filter(F=>F.key!==e),{key:e,remindAt:i}];s.notificationSettings.applyFromBroadcast({...o,remindersUntil:w}),await s.notificationSettings.update({...o,remindersUntil:w})}async function _e(e,n){const o=s.notificationSettings.get(),i=n?Array.from(new Set([...o.mutedSources,e])):o.mutedSources.filter(d=>d!==e);s.notificationSettings.applyFromBroadcast({...o,mutedSources:i}),await s.notificationSettings.update({...o,mutedSources:i})}async function qe(e){const n=s.notificationSettings.get();if(n.dontShowAgainKeys.includes(e))return;const o=[...n.dontShowAgainKeys,e];s.notificationSettings.applyFromBroadcast({...n,dontShowAgainKeys:o}),await s.notificationSettings.update({...n,dontShowAgainKeys:o})}async function je(e){const n=s.notificationSettings.get();if(!n.dontShowAgainKeys.includes(e))return;const o=n.dontShowAgainKeys.filter(i=>i!==e);s.notificationSettings.applyFromBroadcast({...n,dontShowAgainKeys:o}),await s.notificationSettings.update({...n,dontShowAgainKeys:o})}async function We(){const e=s.notificationSettings.get();e.dontShowAgainKeys.length!==0&&(s.notificationSettings.applyFromBroadcast({...e,dontShowAgainKeys:[]}),await s.notificationSettings.update({...e,dontShowAgainKeys:[]}))}async function Ge(){const e=s.notificationSettings.get();e.mutedSources.length!==0&&(s.notificationSettings.applyFromBroadcast({...e,mutedSources:[]}),await s.notificationSettings.update({...e,mutedSources:[]}))}exports.attachedErrorActions=O;exports.closeNotification=Be;exports.configureDesktopBridge=fe;exports.createNativeNotificationEngine=j;exports.createVendorErrorPreview=He;exports.decideFilter=Pe;exports.deriveImplicitRemindKey=Le;exports.dismissKey=qe;exports.errorActions=de;exports.errorText=ue;exports.getFsService=ye;exports.getGoogleSearchUrl=Ie;exports.getVendorErrorSource=M;exports.installVendorErrorSource=Me;exports.isKeyDismissed=Ve;exports.isKeyRemindSuppressed=$e;exports.isNotificationSticky=q;exports.isSourceMuted=Oe;exports.isSpamDropHandle=Te;exports.isVendorErrorSourceInstalled=Ue;exports.notificationOverlayBridge=he;exports.notify=Fe;exports.openExternal=ge;exports.osNotify=me;exports.provideHostErrorPresenter=ae;exports.readAudioAsDataUrl=Se;exports.recordClick=Ae;exports.recordDismiss=ve;exports.recordFire=Ee;exports.remindLater=Ce;exports.resolveNotificationDuration=_;exports.resolveVendorError=Re;exports.restoreAllKeys=We;exports.restoreKey=je;exports.setNotificationFocus=Ke;exports.setNotificationHover=De;exports.setOsBadgeCount=we;exports.setSourceMuted=_e;exports.subscribeNotifications=be;exports.toggleNotificationExpanded=ke;exports.unmuteAllSources=Ge;exports.withErrorActions=ce;
1
+ "use strict";const B=require("./rendererLogging-Dt5FZ8mq.cjs"),s=require("./notification-DygvQB_o.cjs"),P=require("./bugIndicatingError-D2X5Hfgg.cjs"),k=new WeakMap;function ce(e,n){return k.set(e,[...k.get(e)??[],...n]),e}function O(e){return typeof e=="object"&&e!==null?k.get(e)??[]:[]}const V={text:(e,n)=>B.toErrorMessage(e,n),actions:e=>O(e)};let $=V;function ae(e){$=e??V}function C(){return $}function ue(e,n){return C().text(e,n)}function de(e){return C().actions(e)}const x=B.getLogger("ElectronBridge");let l={};function fe(e){l=e??{}}const le=new Set(["http:","https:","mailto:"]);function ge(e){let n;try{n=new URL(e).protocol}catch{x.warn("openExternal: unparseable URL refused",{url:e});return}if(!le.has(n)){x.warn("openExternal: protocol refused",{url:e,protocol:n});return}if(l.openExternal){Promise.resolve(l.openExternal(e)).catch(o=>{x.warn("openExternal: host refused",{url:e,error:o})});return}typeof window<"u"&&window.open(e,"_blank","noopener,noreferrer")}function me(e){l.osNotify&&Promise.resolve(l.osNotify(e)).catch(()=>{})}function we(e){l.setBadgeCount&&Promise.resolve(l.setBadgeCount(e)).catch(()=>{})}async function Se(e){if(!l.readAudioAsDataUrl)return null;try{return await l.readAudioAsDataUrl(e)}catch(n){return x.warn("custom sound could not be read",{filePath:e,error:n}),null}}const pe={showSaveDialog:async e=>({filePath:(e==null?void 0:e.defaultPath)??"export.txt"}),writeFile:async(e,n)=>{if(typeof document>"u")return;const o=e.split(/[\\/]/).pop()||"export.txt",i=URL.createObjectURL(new Blob([n],{type:"text/plain;charset=utf-8"})),d=document.createElement("a");d.href=i,d.download=o,d.rel="noopener",d.click(),setTimeout(()=>URL.revokeObjectURL(i),0)}};function ye(){return l.fs??pe}function he(e){var n;if(e)return(n=l.notificationOverlay)==null?void 0:n.call(l,e)}const L=new Map;function T(e){let n=L.get(e);return n||(n={source:e,total:0,shown:0,clicked:0,dismissed:0,autoFaded:0,muted:0},L.set(e,n)),n}function Ee(e,n,o){const i=T(e);i.total+=1,n&&(i.shown+=1),o&&(i.muted+=1)}function Ae(e){T(e).clicked+=1}function ve(e){T(e).dismissed+=1}function xe(e){T(e).autoFaded+=1}const Ne=B.getLogger("NativeNotificationEngine");function Te(e){return e.id===""}function _(e,n=s.notificationSettings.get()){if(e.durationMs!==void 0)return e.durationMs;switch(e.severity){case"info":return n.infoDurationMs;case"success":return n.successDurationMs;case"warning":return n.warningDurationMs;case"error":return n.errorDurationMs}}function q(e,n=s.notificationSettings.get()){if(e.sticky||e.priority==="urgent"||e.priority==="acknowledgment-required"||e.progress&&!e.progress.done||e.severity==="error"&&n.errorsAlwaysSticky||e.severity==="warning"&&n.warningsAlwaysSticky)return!0;const o=e.durationMs;return o!==void 0&&(!Number.isFinite(o)||o<=0)}function j(e={}){const n=e.getSettings??(()=>s.notificationSettings.get()),o=e.now??(()=>Date.now()),i=e.setTimeout??((t,r)=>window.setTimeout(t,r)),d=e.clearTimeout??(t=>window.clearTimeout(t)),w=e.recordAutoFade??xe,F=e.warn??((t,r)=>Ne.warn(t,r)),u=new Map,v=new Set,y=new Map;function b(){return[...u.values()].sort((t,r)=>t.createdAt-r.createdAt)}function U(t){const r=n();if(!r.pauseTimerWhileHidden)return!1;const a=b(),m=Math.max(1,r.maxVisibleNotifications);if(a.length<=m)return!1;const c=a.length-m,f=a.findIndex(D=>D.id===t);return f>=0&&f<c}function W(){for(const t of u.keys()){if(y.has(t)){U(t)&&S(t);continue}p(t)}}function g(){const t=b();for(const r of Array.from(v))try{r(t)}catch(a){F("Bildirim motoru dinleyicisi firlatti:",a)}W()}function R(t){return!!(q(t,n())||t.hovered||t.focused)}function G(t){return _(t,n())}function S(t){const r=y.get(t);r!==void 0&&(d(r),y.delete(t))}function p(t){S(t);const r=u.get(t);if(!r||R(r)||U(t))return;const a=G(r);if(!Number.isFinite(a)||a<=0)return;const m=i(()=>{y.delete(t);const c=u.get(t);c&&(R(c)||(w(c.source??"general"),u.delete(t),g()))},a);y.set(t,m)}let H=0;function Q(){return H+=1,`n-${o().toString(36)}-${H.toString(36)}`}const X=800,z=3,E=[];function J(){const t=o();for(;E.length>0&&(E[0]??0)<t-X;)E.shift();return E.length>=z}function Y(){E.push(o())}function I(t){return!t||t.length===0?"":t.filter(r=>r.primary).map(r=>`${r.id??""}::${r.label}`).sort().join("|")}function Z(t){const r=t.source??"",a=I(t.actions);for(const[m,c]of u)if((c.source??"")===r&&c.title===t.title&&I(c.actions)===a)return m;return null}function ee(t){const r=t.id,a=r??Z(t),m=a===null;if(m&&!r&&J())return{id:"",update:()=>{},setProgress:()=>{},close:()=>{}};const c=a??Q(),f=u.get(c),D={...t,id:c,createdAt:(f==null?void 0:f.createdAt)??o(),expanded:(f==null?void 0:f.expanded)??!1,hovered:(f==null?void 0:f.hovered)??!1,focused:(f==null?void 0:f.focused)??!1};return u.set(c,D),m&&Y(),g(),p(c),{id:c,update(K){const A=u.get(c);A&&(u.set(c,{...A,...K}),g(),p(c))},setProgress(K){const A=u.get(c);A&&(u.set(c,{...A,progress:K}),g(),p(c))},close(){S(c),u.delete(c)&&g()}}}function te(t){return v.add(t),t(b()),()=>{v.delete(t)}}function ne(t,r){const a=u.get(t);!a||a.hovered===r||(u.set(t,{...a,hovered:r}),g(),r?S(t):p(t))}function re(t,r){const a=u.get(t);!a||a.focused===r||(u.set(t,{...a,focused:r}),g(),r?S(t):p(t))}function oe(t){const r=u.get(t);r&&(u.set(t,{...r,expanded:!r.expanded}),g(),p(t))}function ie(t){S(t),u.delete(t)&&g()}function se(){for(const t of y.keys())S(t);u.clear(),v.clear()}return{notify:ee,subscribe:te,setHover:ne,setFocus:re,toggleExpanded:oe,close:ie,dispose:se}}const h=j(),Fe=h.notify,be=h.subscribe,De=h.setHover,Ke=h.setFocus,ke=h.toggleExpanded,Be=h.close;let N=null;function Me(e){N=e}function Ue(){return N!==null}function M(){if(N===null)throw new P.BugIndicatingError("[vendorErrors] read before a source was installed — the host must call installVendorErrorSource at startup.");return N}function Re(e){const n=M().errorHelpersFor(e.vendorId);return n===null?null:{vendorId:e.vendorId,code:e.code,helpers:n}}function He(e,n,o){const i=M().errorHelpersFor(e);if(i===null)throw new P.BugIndicatingError(`[vendorErrors] unknown preview vendor: ${e}`);return{message:`${i.formatCode(n)}: ${o}`,vendorError:{vendorId:e,code:n}}}function Ie(e){return`https://www.google.com/search?q=${encodeURIComponent(e)}`}function Le(e,n){return`__remind:${e}:${n}`}function Pe(e,n,o){const{priority:i}=e,d=e.recordTimeline!==!1;if(!n.notificationsEnabled)return{showToast:!1,recordTimeline:!1};if(o.dismissed)return{showToast:!1,recordTimeline:!1};if(o.remindSuppressed)return{showToast:!1,recordTimeline:!1};if(i==="silent")return{showToast:!1,recordTimeline:d};const w=i==="urgent"||i==="acknowledgment-required";return n.doNotDisturb&&(!w||i==="urgent"&&n.dndBlocksUrgent)?{showToast:!1,recordTimeline:d}:o.inQuietHours&&(!w||i==="urgent"&&n.quietHoursBlocksUrgent)?{showToast:!1,recordTimeline:d}:w?n.urgentRoutesToCenterOnly&&i==="urgent"?{showToast:!1,recordTimeline:d}:{showToast:!0,recordTimeline:d}:o.sourceMuted?{showToast:!1,recordTimeline:d}:{showToast:!0,recordTimeline:d}}function Oe(e){return s.notificationSettings.get().mutedSources.includes(e)}function Ve(e){return s.notificationSettings.get().dontShowAgainKeys.includes(e)}function $e(e){const n=Date.now();return s.notificationSettings.get().remindersUntil.some(i=>i.key===e&&i.remindAt>n)}async function Ce(e,n){if(!e||n<=0)return;const o=s.notificationSettings.get(),i=Date.now()+n,w=[...o.remindersUntil.filter(F=>F.key!==e),{key:e,remindAt:i}];s.notificationSettings.applyFromBroadcast({...o,remindersUntil:w}),await s.notificationSettings.update({...o,remindersUntil:w})}async function _e(e,n){const o=s.notificationSettings.get(),i=n?Array.from(new Set([...o.mutedSources,e])):o.mutedSources.filter(d=>d!==e);s.notificationSettings.applyFromBroadcast({...o,mutedSources:i}),await s.notificationSettings.update({...o,mutedSources:i})}async function qe(e){const n=s.notificationSettings.get();if(n.dontShowAgainKeys.includes(e))return;const o=[...n.dontShowAgainKeys,e];s.notificationSettings.applyFromBroadcast({...n,dontShowAgainKeys:o}),await s.notificationSettings.update({...n,dontShowAgainKeys:o})}async function je(e){const n=s.notificationSettings.get();if(!n.dontShowAgainKeys.includes(e))return;const o=n.dontShowAgainKeys.filter(i=>i!==e);s.notificationSettings.applyFromBroadcast({...n,dontShowAgainKeys:o}),await s.notificationSettings.update({...n,dontShowAgainKeys:o})}async function We(){const e=s.notificationSettings.get();e.dontShowAgainKeys.length!==0&&(s.notificationSettings.applyFromBroadcast({...e,dontShowAgainKeys:[]}),await s.notificationSettings.update({...e,dontShowAgainKeys:[]}))}async function Ge(){const e=s.notificationSettings.get();e.mutedSources.length!==0&&(s.notificationSettings.applyFromBroadcast({...e,mutedSources:[]}),await s.notificationSettings.update({...e,mutedSources:[]}))}exports.attachedErrorActions=O;exports.closeNotification=Be;exports.configureDesktopBridge=fe;exports.createNativeNotificationEngine=j;exports.createVendorErrorPreview=He;exports.decideFilter=Pe;exports.deriveImplicitRemindKey=Le;exports.dismissKey=qe;exports.errorActions=de;exports.errorText=ue;exports.getFsService=ye;exports.getGoogleSearchUrl=Ie;exports.getVendorErrorSource=M;exports.installVendorErrorSource=Me;exports.isKeyDismissed=Ve;exports.isKeyRemindSuppressed=$e;exports.isNotificationSticky=q;exports.isSourceMuted=Oe;exports.isSpamDropHandle=Te;exports.isVendorErrorSourceInstalled=Ue;exports.notificationOverlayBridge=he;exports.notify=Fe;exports.openExternal=ge;exports.osNotify=me;exports.provideHostErrorPresenter=ae;exports.readAudioAsDataUrl=Se;exports.recordClick=Ae;exports.recordDismiss=ve;exports.recordFire=Ee;exports.remindLater=Ce;exports.resolveNotificationDuration=_;exports.resolveVendorError=Re;exports.restoreAllKeys=We;exports.restoreKey=je;exports.setNotificationFocus=Ke;exports.setNotificationHover=De;exports.setOsBadgeCount=we;exports.setSourceMuted=_e;exports.subscribeNotifications=be;exports.toggleNotificationExpanded=ke;exports.unmuteAllSources=Ge;exports.withErrorActions=ce;
@@ -1,5 +1,5 @@
1
- import { t as re, g as L } from "./rendererLogging-Edo4ALXU.js";
2
- import { n as s } from "./notification-DFbp3S_f.js";
1
+ import { t as re, g as L } from "./rendererLogging-gAhiHWkA.js";
2
+ import { n as s } from "./notification-CpDYN_iu.js";
3
3
  import { B as I } from "./bugIndicatingError-h3J5qkL6.js";
4
4
  const M = /* @__PURE__ */ new WeakMap();
5
5
  function we(e, n) {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../StatusBarNotificationBell-DG8Pe6R-.cjs"),i=require("../catalogNotify-C9RzbC6x.cjs"),e=require("../notificationSuppressions-DFbFpayS.cjs"),o=require("../GuidedTour-c7XiyOmE.cjs"),s=require("../notification-CrxHMXsk.cjs"),n=require("../visibleBrowserRegistry-BTfWUlI1.cjs"),a=require("../displayOwner-BNw2Foa_.cjs");exports.LogFilterBar=t.LogFilterBar;exports.NOTIFICATION_SOURCES=t.NOTIFICATION_SOURCES;exports.NOTIFICATION_SOURCE_IDS=t.NOTIFICATION_SOURCE_IDS;exports.NotificationPanel=t.NotificationPanel;exports.NotificationsCenter=t.NotificationsCenter;exports.StatusBarNotificationBell=t.StatusBarNotificationBell;exports.compileNotificationSearchMatcher=t.compileNotificationSearchMatcher;exports.createNotificationPreviewRuntime=t.createNotificationPreviewRuntime;exports.exportTimelineAsCsv=t.exportTimelineAsCsv;exports.exportTimelineAsJson=t.exportTimelineAsJson;exports.filterNotificationTimeline=t.filterNotificationTimeline;exports.groupTimelineEntries=t.groupTimelineEntries;exports.isNotificationSourceId=t.isNotificationSourceId;exports.listNotificationSources=t.listNotificationSources;exports.resolveNotificationSource=t.resolveNotificationSource;exports.startNotificationSchedulers=t.startNotificationSchedulers;exports.startNotificationSettingsReactions=t.startNotificationSettingsReactions;exports.SEVERITY_ORDER=i.SEVERITY_ORDER;exports.SEVERITY_TONES=i.SEVERITY_TONES;exports.addTimelineEntry=i.addTimelineEntry;exports.applyNotificationRules=i.applyNotificationRules;exports.catalogNotificationHost=i.catalogNotificationHost;exports.clearCompiledRuleRegexCache=i.clearCompiledRuleRegexCache;exports.clearNotificationTimeline=i.clearNotificationTimeline;exports.defineNotification=i.defineNotification;exports.defineNotificationScenario=i.defineNotificationScenario;exports.digestNotSentText=i.digestNotSentText;exports.dismissNotificationFromCatalog=i.dismissNotificationFromCatalog;exports.dismissNotificationTimelineEntries=i.dismissNotificationTimelineEntries;exports.dismissNotificationTimelineEntriesBySource=i.dismissNotificationTimelineEntriesBySource;exports.dismissNotificationTimelineEntry=i.dismissNotificationTimelineEntry;exports.enrichErrorToast=i.enrichErrorToast;exports.entryVendorMatch=i.entryVendorMatch;exports.fire=i.fire;exports.flushDigest=i.flushDigest;exports.invalidateCustomSoundCache=i.invalidateCustomSoundCache;exports.isInQuietHours=i.isInQuietHours;exports.loadCustomSoundDataUrl=i.loadCustomSoundDataUrl;exports.markTimelineSeen=i.markTimelineSeen;exports.notifyFromCatalog=i.notifyFromCatalog;exports.playQueryCompletedCue=i.playQueryCompletedCue;exports.playSeverityToneIfEnabled=i.playSeverityToneIfEnabled;exports.progressFromCatalog=i.progressFromCatalog;exports.provideCatalogNotificationHost=i.provideCatalogNotificationHost;exports.refreshOsBadge=i.refreshOsBadge;exports.resolveCatalogPreviewPriority=i.resolveCatalogPreviewPriority;exports.resolveNotificationScenario=i.resolveNotificationScenario;exports.resolveSeverityTone=i.resolveSeverityTone;exports.setEmailDigestTransport=i.setEmailDigestTransport;exports.shouldFireOsNative=i.shouldFireOsNative;exports.showCatalogPreviewToast=i.showCatalogPreviewToast;exports.subscribeNotificationTimeline=i.subscribeNotificationTimeline;exports.subscribeUnreadCount=i.subscribeUnreadCount;exports.toTimelineActions=i.toTimelineActions;exports.toast=i.toast;exports.toggleTimelineEntryPin=i.toggleTimelineEntryPin;exports.closeNotification=e.closeNotification;exports.configureDesktopBridge=e.configureDesktopBridge;exports.createNativeNotificationEngine=e.createNativeNotificationEngine;exports.decideFilter=e.decideFilter;exports.deriveImplicitRemindKey=e.deriveImplicitRemindKey;exports.dismissKey=e.dismissKey;exports.isKeyDismissed=e.isKeyDismissed;exports.isKeyRemindSuppressed=e.isKeyRemindSuppressed;exports.isNotificationSticky=e.isNotificationSticky;exports.isSourceMuted=e.isSourceMuted;exports.isSpamDropHandle=e.isSpamDropHandle;exports.notify=e.notify;exports.remindLater=e.remindLater;exports.resolveNotificationDuration=e.resolveNotificationDuration;exports.restoreAllKeys=e.restoreAllKeys;exports.restoreKey=e.restoreKey;exports.setNotificationFocus=e.setNotificationFocus;exports.setNotificationHover=e.setNotificationHover;exports.setSourceMuted=e.setSourceMuted;exports.subscribeNotifications=e.subscribeNotifications;exports.toggleNotificationExpanded=e.toggleNotificationExpanded;exports.unmuteAllSources=e.unmuteAllSources;exports.ACCEPT_PRIMARY_ACTION_NOTIFICATION=o.ACCEPT_PRIMARY_ACTION_NOTIFICATION;exports.CLEAR_NOTIFICATION=o.CLEAR_NOTIFICATION;exports.HIDE_NOTIFICATION_TOASTS=o.HIDE_NOTIFICATION_TOASTS;exports.NO_NOTIFICATION_OVERLAY=o.NO_NOTIFICATION_OVERLAY;exports.NotificationHost=o.NotificationHost;exports.NotificationItem=o.NotificationItem;exports.appWindowNotificationOverlay=o.appWindowNotificationOverlay;exports.dismissableToastIds=o.dismissableToastIds;exports.registerFenceAliases=o.registerFenceAliases;exports.registerNotificationCommands=o.registerNotificationCommands;exports.notificationSettings=s.notificationSettings;exports.setOpenSettingsHandler=n.setOpenSettingsHandler;exports.registerNotificationHost=a.registerDisplayHost;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../StatusBarNotificationBell-Cqo6cZbO.cjs"),i=require("../catalogNotify-DacJjC-p.cjs"),e=require("../notificationSuppressions-DGfo2QKG.cjs"),o=require("../GuidedTour-C_Lxe1t_.cjs"),s=require("../notification-DygvQB_o.cjs"),n=require("../visibleBrowserRegistry-BTfWUlI1.cjs"),r=require("../displayOwner-eYQHHvjt.cjs");exports.LogFilterBar=t.LogFilterBar;exports.NOTIFICATION_SOURCES=t.NOTIFICATION_SOURCES;exports.NOTIFICATION_SOURCE_IDS=t.NOTIFICATION_SOURCE_IDS;exports.NotificationPanel=t.NotificationPanel;exports.NotificationsCenter=t.NotificationsCenter;exports.StatusBarNotificationBell=t.StatusBarNotificationBell;exports.compileNotificationSearchMatcher=t.compileNotificationSearchMatcher;exports.createNotificationPreviewRuntime=t.createNotificationPreviewRuntime;exports.exportTimelineAsCsv=t.exportTimelineAsCsv;exports.exportTimelineAsJson=t.exportTimelineAsJson;exports.filterNotificationTimeline=t.filterNotificationTimeline;exports.groupTimelineEntries=t.groupTimelineEntries;exports.isNotificationSourceId=t.isNotificationSourceId;exports.listNotificationSources=t.listNotificationSources;exports.resolveNotificationSource=t.resolveNotificationSource;exports.startNotificationSchedulers=t.startNotificationSchedulers;exports.startNotificationSettingsReactions=t.startNotificationSettingsReactions;exports.SEVERITY_ORDER=i.SEVERITY_ORDER;exports.SEVERITY_TONES=i.SEVERITY_TONES;exports.addTimelineEntry=i.addTimelineEntry;exports.applyNotificationRules=i.applyNotificationRules;exports.catalogNotificationHost=i.catalogNotificationHost;exports.clearCompiledRuleRegexCache=i.clearCompiledRuleRegexCache;exports.clearNotificationTimeline=i.clearNotificationTimeline;exports.defineNotification=i.defineNotification;exports.defineNotificationScenario=i.defineNotificationScenario;exports.deleteWebhookUrl=i.deleteWebhookUrl;exports.digestNotSentText=i.digestNotSentText;exports.dismissNotificationFromCatalog=i.dismissNotificationFromCatalog;exports.dismissNotificationTimelineEntries=i.dismissNotificationTimelineEntries;exports.dismissNotificationTimelineEntriesBySource=i.dismissNotificationTimelineEntriesBySource;exports.dismissNotificationTimelineEntry=i.dismissNotificationTimelineEntry;exports.enrichErrorToast=i.enrichErrorToast;exports.entryVendorMatch=i.entryVendorMatch;exports.fire=i.fire;exports.flushDigest=i.flushDigest;exports.getSmtpPass=i.getSmtpPass;exports.getWebhookUrl=i.getWebhookUrl;exports.invalidateCustomSoundCache=i.invalidateCustomSoundCache;exports.isInQuietHours=i.isInQuietHours;exports.loadCustomSoundDataUrl=i.loadCustomSoundDataUrl;exports.markTimelineSeen=i.markTimelineSeen;exports.notifyFromCatalog=i.notifyFromCatalog;exports.playQueryCompletedCue=i.playQueryCompletedCue;exports.playSeverityToneIfEnabled=i.playSeverityToneIfEnabled;exports.progressFromCatalog=i.progressFromCatalog;exports.provideCatalogNotificationHost=i.provideCatalogNotificationHost;exports.pruneOrphanWebhookSecrets=i.pruneOrphanWebhookSecrets;exports.refreshOsBadge=i.refreshOsBadge;exports.resolveCatalogPreviewPriority=i.resolveCatalogPreviewPriority;exports.resolveNotificationScenario=i.resolveNotificationScenario;exports.resolveSeverityTone=i.resolveSeverityTone;exports.setEmailDigestTransport=i.setEmailDigestTransport;exports.setSmtpPass=i.setSmtpPass;exports.setWebhookUrl=i.setWebhookUrl;exports.shouldFireOsNative=i.shouldFireOsNative;exports.showCatalogPreviewToast=i.showCatalogPreviewToast;exports.subscribeNotificationTimeline=i.subscribeNotificationTimeline;exports.subscribeUnreadCount=i.subscribeUnreadCount;exports.toTimelineActions=i.toTimelineActions;exports.toast=i.toast;exports.toggleTimelineEntryPin=i.toggleTimelineEntryPin;exports.closeNotification=e.closeNotification;exports.configureDesktopBridge=e.configureDesktopBridge;exports.createNativeNotificationEngine=e.createNativeNotificationEngine;exports.decideFilter=e.decideFilter;exports.deriveImplicitRemindKey=e.deriveImplicitRemindKey;exports.dismissKey=e.dismissKey;exports.isKeyDismissed=e.isKeyDismissed;exports.isKeyRemindSuppressed=e.isKeyRemindSuppressed;exports.isNotificationSticky=e.isNotificationSticky;exports.isSourceMuted=e.isSourceMuted;exports.isSpamDropHandle=e.isSpamDropHandle;exports.notify=e.notify;exports.remindLater=e.remindLater;exports.resolveNotificationDuration=e.resolveNotificationDuration;exports.restoreAllKeys=e.restoreAllKeys;exports.restoreKey=e.restoreKey;exports.setNotificationFocus=e.setNotificationFocus;exports.setNotificationHover=e.setNotificationHover;exports.setSourceMuted=e.setSourceMuted;exports.subscribeNotifications=e.subscribeNotifications;exports.toggleNotificationExpanded=e.toggleNotificationExpanded;exports.unmuteAllSources=e.unmuteAllSources;exports.ACCEPT_PRIMARY_ACTION_NOTIFICATION=o.ACCEPT_PRIMARY_ACTION_NOTIFICATION;exports.CLEAR_NOTIFICATION=o.CLEAR_NOTIFICATION;exports.HIDE_NOTIFICATION_TOASTS=o.HIDE_NOTIFICATION_TOASTS;exports.NO_NOTIFICATION_OVERLAY=o.NO_NOTIFICATION_OVERLAY;exports.NotificationHost=o.NotificationHost;exports.NotificationItem=o.NotificationItem;exports.appWindowNotificationOverlay=o.appWindowNotificationOverlay;exports.dismissableToastIds=o.dismissableToastIds;exports.registerFenceAliases=o.registerFenceAliases;exports.registerNotificationCommands=o.registerNotificationCommands;exports.notificationSettings=s.notificationSettings;exports.setOpenSettingsHandler=n.setOpenSettingsHandler;exports.registerNotificationHost=r.registerDisplayHost;
@@ -24,6 +24,7 @@ export { startNotificationSchedulers } from './startNotificationSchedulers.cjs';
24
24
  export { startNotificationSettingsReactions } from './startNotificationSettingsReactions.cjs';
25
25
  export { setEmailDigestTransport, flushDigest, digestNotSentText, type EmailDigestMessage, type DigestFlushResult, type DigestNotSentReason, } from './emailDigest.cjs';
26
26
  export { notificationSettings, } from '../_internal/app/settings/descriptors/notification.cjs';
27
+ export { getSmtpPass, setSmtpPass, getWebhookUrl, setWebhookUrl, deleteWebhookUrl, pruneOrphanWebhookSecrets, } from '../_internal/app/settings/secrets/notificationSecrets.cjs';
27
28
  export type { NotificationSettings } from '../_internal/platform/settings/settingsTypes.cjs';
28
29
  export * from './notificationDisplayOwner.cjs';
29
30
  export * from './createNotificationPreviewRuntime.cjs';
@@ -24,6 +24,7 @@ export { startNotificationSchedulers } from './startNotificationSchedulers.js';
24
24
  export { startNotificationSettingsReactions } from './startNotificationSettingsReactions.js';
25
25
  export { setEmailDigestTransport, flushDigest, digestNotSentText, type EmailDigestMessage, type DigestFlushResult, type DigestNotSentReason, } from './emailDigest.js';
26
26
  export { notificationSettings, } from '../_internal/app/settings/descriptors/notification.js';
27
+ export { getSmtpPass, setSmtpPass, getWebhookUrl, setWebhookUrl, deleteWebhookUrl, pruneOrphanWebhookSecrets, } from '../_internal/app/settings/secrets/notificationSecrets.js';
27
28
  export type { NotificationSettings } from '../_internal/platform/settings/settingsTypes.js';
28
29
  export * from './notificationDisplayOwner.js';
29
30
  export * from './createNotificationPreviewRuntime.js';
@@ -1,100 +1,106 @@
1
- import { L as a, N as e, a as t, b as o, c as r, S as n, d as c, e as l, f, g as N, h as m, i as d, j as T, l as u, r as S, s as C, k as p } from "../StatusBarNotificationBell-CZmym2gV.js";
2
- import { S as g, c as E, d as O, e as y, f as A, h as v, i as R, j as F, k as h, l as x, m as _, n as D, o as b, q as H, r as B, t as P, u as K, v as k, w, x as L, y as M, z as U, A as V, B as Y, C as j, D as q, p as z, E as J, F as Q, G, H as W, b as X, I as Z, J as $, K as ii, L as si, M as ai, N as ei, O as ti } from "../catalogNotify-CIhFuJ1b.js";
3
- import { f as ri, c as ni, h as ci, j as li, k as fi, l as Ni, m as mi, n as di, o as Ti, q as ui, s as Si, t as Ci, u as pi, v as Ii, x as gi, y as Ei, z as Oi, A as yi, B as Ai, C as vi, D as Ri, E as Fi } from "../notificationSuppressions-CBIJ4bC4.js";
4
- import { A as xi, C as _i, H as Di, N as bi, a as Hi, b as Bi, c as Pi, d as Ki, r as ki, e as wi } from "../GuidedTour-B-BXe3ul.js";
5
- import { n as Mi } from "../notification-DFbp3S_f.js";
6
- import { s as Vi } from "../visibleBrowserRegistry-Dw2Y4y_I.js";
7
- import { r as ji } from "../displayOwner-B_ezJv-O.js";
1
+ import { L as a, N as e, a as t, b as o, c as r, S as n, d as c, e as l, f, g as N, h as m, i as d, j as T, l as u, r as S, s as p, k as C } from "../StatusBarNotificationBell-B1bvE_SO.js";
2
+ import { S as I, c as O, d as E, e as y, f as A, h as v, i as h, j as R, k as b, l as F, m as x, n as _, o as D, q as H, r as P, t as k, u as B, v as U, w as K, x as w, y as L, z as M, A as V, B as W, C as Y, D as j, E as Q, F as q, G as z, p as J, H as G, I as X, J as Z, K as $, L as ii, b as si, M as ai, N as ei, O as ti, P as oi, Q as ri, R as ni, T as ci, U as li, V as fi } from "../catalogNotify-BcY9oqVy.js";
3
+ import { f as mi, c as di, h as Ti, j as ui, k as Si, l as pi, m as Ci, n as gi, o as Ii, q as Oi, s as Ei, t as yi, u as Ai, v as vi, x as hi, y as Ri, z as bi, A as Fi, B as xi, C as _i, D as Di, E as Hi } from "../notificationSuppressions-ddyK85cB.js";
4
+ import { A as ki, C as Bi, H as Ui, N as Ki, a as wi, b as Li, c as Mi, d as Vi, r as Wi, e as Yi } from "../GuidedTour-lsljVkPL.js";
5
+ import { n as Qi } from "../notification-CpDYN_iu.js";
6
+ import { s as zi } from "../visibleBrowserRegistry-Dw2Y4y_I.js";
7
+ import { r as Gi } from "../displayOwner-mT80Oyi-.js";
8
8
  export {
9
- xi as ACCEPT_PRIMARY_ACTION_NOTIFICATION,
10
- _i as CLEAR_NOTIFICATION,
11
- Di as HIDE_NOTIFICATION_TOASTS,
9
+ ki as ACCEPT_PRIMARY_ACTION_NOTIFICATION,
10
+ Bi as CLEAR_NOTIFICATION,
11
+ Ui as HIDE_NOTIFICATION_TOASTS,
12
12
  a as LogFilterBar,
13
13
  e as NOTIFICATION_SOURCES,
14
14
  t as NOTIFICATION_SOURCE_IDS,
15
- bi as NO_NOTIFICATION_OVERLAY,
16
- Hi as NotificationHost,
17
- Bi as NotificationItem,
15
+ Ki as NO_NOTIFICATION_OVERLAY,
16
+ wi as NotificationHost,
17
+ Li as NotificationItem,
18
18
  o as NotificationPanel,
19
19
  r as NotificationsCenter,
20
- g as SEVERITY_ORDER,
21
- E as SEVERITY_TONES,
20
+ I as SEVERITY_ORDER,
21
+ O as SEVERITY_TONES,
22
22
  n as StatusBarNotificationBell,
23
- O as addTimelineEntry,
24
- Pi as appWindowNotificationOverlay,
23
+ E as addTimelineEntry,
24
+ Mi as appWindowNotificationOverlay,
25
25
  y as applyNotificationRules,
26
26
  A as catalogNotificationHost,
27
27
  v as clearCompiledRuleRegexCache,
28
- R as clearNotificationTimeline,
29
- ri as closeNotification,
28
+ h as clearNotificationTimeline,
29
+ mi as closeNotification,
30
30
  c as compileNotificationSearchMatcher,
31
- ni as configureDesktopBridge,
32
- ci as createNativeNotificationEngine,
31
+ di as configureDesktopBridge,
32
+ Ti as createNativeNotificationEngine,
33
33
  l as createNotificationPreviewRuntime,
34
- li as decideFilter,
35
- F as defineNotification,
36
- h as defineNotificationScenario,
37
- fi as deriveImplicitRemindKey,
34
+ ui as decideFilter,
35
+ R as defineNotification,
36
+ b as defineNotificationScenario,
37
+ F as deleteWebhookUrl,
38
+ Si as deriveImplicitRemindKey,
38
39
  x as digestNotSentText,
39
- Ni as dismissKey,
40
+ pi as dismissKey,
40
41
  _ as dismissNotificationFromCatalog,
41
42
  D as dismissNotificationTimelineEntries,
42
- b as dismissNotificationTimelineEntriesBySource,
43
- H as dismissNotificationTimelineEntry,
44
- Ki as dismissableToastIds,
45
- B as enrichErrorToast,
46
- P as entryVendorMatch,
43
+ H as dismissNotificationTimelineEntriesBySource,
44
+ P as dismissNotificationTimelineEntry,
45
+ Vi as dismissableToastIds,
46
+ k as enrichErrorToast,
47
+ B as entryVendorMatch,
47
48
  f as exportTimelineAsCsv,
48
49
  N as exportTimelineAsJson,
49
50
  m as filterNotificationTimeline,
50
- K as fire,
51
- k as flushDigest,
51
+ U as fire,
52
+ K as flushDigest,
53
+ w as getSmtpPass,
54
+ L as getWebhookUrl,
52
55
  d as groupTimelineEntries,
53
- w as invalidateCustomSoundCache,
54
- L as isInQuietHours,
55
- mi as isKeyDismissed,
56
- di as isKeyRemindSuppressed,
56
+ M as invalidateCustomSoundCache,
57
+ V as isInQuietHours,
58
+ Ci as isKeyDismissed,
59
+ gi as isKeyRemindSuppressed,
57
60
  T as isNotificationSourceId,
58
- Ti as isNotificationSticky,
59
- ui as isSourceMuted,
60
- Si as isSpamDropHandle,
61
+ Ii as isNotificationSticky,
62
+ Oi as isSourceMuted,
63
+ Ei as isSpamDropHandle,
61
64
  u as listNotificationSources,
62
- M as loadCustomSoundDataUrl,
63
- U as markTimelineSeen,
64
- Mi as notificationSettings,
65
- Ci as notify,
66
- V as notifyFromCatalog,
67
- Y as playQueryCompletedCue,
68
- j as playSeverityToneIfEnabled,
69
- q as progressFromCatalog,
70
- z as provideCatalogNotificationHost,
71
- J as refreshOsBadge,
72
- ki as registerFenceAliases,
73
- wi as registerNotificationCommands,
74
- ji as registerNotificationHost,
75
- pi as remindLater,
76
- Q as resolveCatalogPreviewPriority,
77
- Ii as resolveNotificationDuration,
78
- G as resolveNotificationScenario,
65
+ W as loadCustomSoundDataUrl,
66
+ Y as markTimelineSeen,
67
+ Qi as notificationSettings,
68
+ yi as notify,
69
+ j as notifyFromCatalog,
70
+ Q as playQueryCompletedCue,
71
+ q as playSeverityToneIfEnabled,
72
+ z as progressFromCatalog,
73
+ J as provideCatalogNotificationHost,
74
+ G as pruneOrphanWebhookSecrets,
75
+ X as refreshOsBadge,
76
+ Wi as registerFenceAliases,
77
+ Yi as registerNotificationCommands,
78
+ Gi as registerNotificationHost,
79
+ Ai as remindLater,
80
+ Z as resolveCatalogPreviewPriority,
81
+ vi as resolveNotificationDuration,
82
+ $ as resolveNotificationScenario,
79
83
  S as resolveNotificationSource,
80
- W as resolveSeverityTone,
81
- gi as restoreAllKeys,
82
- Ei as restoreKey,
83
- X as setEmailDigestTransport,
84
- Oi as setNotificationFocus,
85
- yi as setNotificationHover,
86
- Vi as setOpenSettingsHandler,
87
- Ai as setSourceMuted,
88
- Z as shouldFireOsNative,
89
- $ as showCatalogPreviewToast,
90
- C as startNotificationSchedulers,
91
- p as startNotificationSettingsReactions,
92
- ii as subscribeNotificationTimeline,
93
- vi as subscribeNotifications,
94
- si as subscribeUnreadCount,
95
- ai as toTimelineActions,
96
- ei as toast,
97
- Ri as toggleNotificationExpanded,
98
- ti as toggleTimelineEntryPin,
99
- Fi as unmuteAllSources
84
+ ii as resolveSeverityTone,
85
+ hi as restoreAllKeys,
86
+ Ri as restoreKey,
87
+ si as setEmailDigestTransport,
88
+ bi as setNotificationFocus,
89
+ Fi as setNotificationHover,
90
+ zi as setOpenSettingsHandler,
91
+ ai as setSmtpPass,
92
+ xi as setSourceMuted,
93
+ ei as setWebhookUrl,
94
+ ti as shouldFireOsNative,
95
+ oi as showCatalogPreviewToast,
96
+ p as startNotificationSchedulers,
97
+ C as startNotificationSettingsReactions,
98
+ ri as subscribeNotificationTimeline,
99
+ _i as subscribeNotifications,
100
+ ni as subscribeUnreadCount,
101
+ ci as toTimelineActions,
102
+ li as toast,
103
+ Di as toggleNotificationExpanded,
104
+ fi as toggleTimelineEntryPin,
105
+ Hi as unmuteAllSources
100
106
  };
@@ -36,6 +36,11 @@ export interface ConfirmDialogProps {
36
36
  host?: () => Window;
37
37
  }
38
38
  export declare function ConfirmDialog(props: ConfirmDialogProps): JSX.Element;
39
+ /**
40
+ * One question for `ConfirmDialog`. An application asks it through its own confirmation host: one
41
+ * `ConfirmDialog` per root that shows the questions in turn, so no surface mounts a dialog of its
42
+ * own and none can forget to.
43
+ */
39
44
  export interface ConfirmOptions {
40
45
  title: string;
41
46
  message: string | JSX.Element;
@@ -49,10 +54,6 @@ export interface ConfirmOptions {
49
54
  /** The place the verb will run (see {@link ActionPlace}). */
50
55
  place?: ActionPlace;
51
56
  }
52
- export declare function createConfirmDialog(): [
53
- dialog: () => JSX.Element,
54
- confirm: (options: ConfirmOptions) => Promise<boolean>
55
- ];
56
57
  export type SaveDiscardChoice = 'save' | 'discard' | 'cancel';
57
58
  export interface SaveDiscardOptions {
58
59
  title: string;
@@ -61,6 +62,23 @@ export interface SaveDiscardOptions {
61
62
  discardLabel?: string;
62
63
  cancelLabel?: string;
63
64
  }
65
+ export interface SaveDiscardDialogProps {
66
+ open: Accessor<boolean>;
67
+ title: string;
68
+ message: string | JSX.Element;
69
+ saveLabel?: string;
70
+ discardLabel?: string;
71
+ cancelLabel?: string;
72
+ onChoice: (choice: SaveDiscardChoice) => void;
73
+ /** Window to render into (main or an aux). Defaults to the main window. */
74
+ host?: () => Window;
75
+ }
76
+ /**
77
+ * The three-way "save / don't save / cancel" question as a presentational dialog — the
78
+ * counterpart of `ConfirmDialog`. An application's host renders it for the question on screen and
79
+ * settles its own promise from `onChoice`.
80
+ */
81
+ export declare function SaveDiscardDialog(props: SaveDiscardDialogProps): JSX.Element;
64
82
  /**
65
83
  * Promise-based hook for a "save changes?" prompt — returns
66
84
  * 'save', 'discard', or 'cancel' so the caller can branch on user intent.
@@ -36,6 +36,11 @@ export interface ConfirmDialogProps {
36
36
  host?: () => Window;
37
37
  }
38
38
  export declare function ConfirmDialog(props: ConfirmDialogProps): JSX.Element;
39
+ /**
40
+ * One question for `ConfirmDialog`. An application asks it through its own confirmation host: one
41
+ * `ConfirmDialog` per root that shows the questions in turn, so no surface mounts a dialog of its
42
+ * own and none can forget to.
43
+ */
39
44
  export interface ConfirmOptions {
40
45
  title: string;
41
46
  message: string | JSX.Element;
@@ -49,10 +54,6 @@ export interface ConfirmOptions {
49
54
  /** The place the verb will run (see {@link ActionPlace}). */
50
55
  place?: ActionPlace;
51
56
  }
52
- export declare function createConfirmDialog(): [
53
- dialog: () => JSX.Element,
54
- confirm: (options: ConfirmOptions) => Promise<boolean>
55
- ];
56
57
  export type SaveDiscardChoice = 'save' | 'discard' | 'cancel';
57
58
  export interface SaveDiscardOptions {
58
59
  title: string;
@@ -61,6 +62,23 @@ export interface SaveDiscardOptions {
61
62
  discardLabel?: string;
62
63
  cancelLabel?: string;
63
64
  }
65
+ export interface SaveDiscardDialogProps {
66
+ open: Accessor<boolean>;
67
+ title: string;
68
+ message: string | JSX.Element;
69
+ saveLabel?: string;
70
+ discardLabel?: string;
71
+ cancelLabel?: string;
72
+ onChoice: (choice: SaveDiscardChoice) => void;
73
+ /** Window to render into (main or an aux). Defaults to the main window. */
74
+ host?: () => Window;
75
+ }
76
+ /**
77
+ * The three-way "save / don't save / cancel" question as a presentational dialog — the
78
+ * counterpart of `ConfirmDialog`. An application's host renders it for the question on screen and
79
+ * settles its own promise from `onChoice`.
80
+ */
81
+ export declare function SaveDiscardDialog(props: SaveDiscardDialogProps): JSX.Element;
64
82
  /**
65
83
  * Promise-based hook for a "save changes?" prompt — returns
66
84
  * 'save', 'discard', or 'cancel' so the caller can branch on user intent.
@@ -13,8 +13,8 @@ import { type IrreversibleConsequence, type ReversibleConsequence } from './verb
13
13
  *
14
14
  * The surface does NOT choose the level: it calls the same trigger and declares the consequence.
15
15
  *
16
- * Imperative API mirrors `createConfirmDialog`: render `<Dialog />` once at
17
- * the page level and call `dangerousAction(opts)` from controllers / handlers.
16
+ * Imperative API: render `<Dialog />` once at the page level and call
17
+ * `dangerousAction(opts)` from controllers / handlers.
18
18
  */
19
19
  export interface DangerousActionOption {
20
20
  id: string;
@@ -13,8 +13,8 @@ import { type IrreversibleConsequence, type ReversibleConsequence } from './verb
13
13
  *
14
14
  * The surface does NOT choose the level: it calls the same trigger and declares the consequence.
15
15
  *
16
- * Imperative API mirrors `createConfirmDialog`: render `<Dialog />` once at
17
- * the page level and call `dangerousAction(opts)` from controllers / handlers.
16
+ * Imperative API: render `<Dialog />` once at the page level and call
17
+ * `dangerousAction(opts)` from controllers / handlers.
18
18
  */
19
19
  export interface DangerousActionOption {
20
20
  id: string;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../CommandPalette-DToM9pUp.cjs"),r=require("../Modal-DpDHzCWT.cjs"),p=require("../OverlayScrollArea-BSlaXG1h.cjs"),a=require("../GuidedTour-c7XiyOmE.cjs"),i=require("../format-Dih0q9gm.cjs"),n=require("../tooltipCoordinator-y5YP3tsJ.cjs"),l=require("../dialogFocusRestore-BcMPrbig.cjs"),t=require("../anchoredLayout-Dstwa5OH.cjs"),o=require("../overlayStack-DvKYN7SD.cjs"),M=require("../useFloatingDropdown-DcU7ozDg.cjs"),T=require("../ownerWindow-BCmJFMbR.cjs"),u=require("../prefersReducedMotion-BQp-Q4UR.cjs"),c=require("../DesktopContextMenuContext-DMGNVjaR.cjs"),O=require("../settingsSearchContributor-Du0SDpJt.cjs"),s=require("../Popover-hhGcYQ-a.cjs");exports.CommandPalette=e.CommandPalette;exports.ConfirmDialog=e.ConfirmDialog;exports.ConsequenceLine=e.ConsequenceLine;exports.ContextMenu=e.ContextMenu;exports.DesktopContextMenu=e.DesktopContextMenu;exports.Drawer=e.Drawer;exports.DropdownMenu=e.DropdownMenu;exports.FloatingWindow=e.FloatingWindow;exports.MenuDisclosure=e.MenuDisclosure;exports.MenuEmpty=e.MenuEmpty;exports.MenuItem=e.MenuItem;exports.MenuList=e.MenuList;exports.MenuSearch=e.MenuSearch;exports.MenuSection=e.MenuSection;exports.MenuSeparator=e.MenuSeparator;exports.NameStep=e.NameStep;exports.OptionList=e.OptionList;exports.PopoverPanel=e.PopoverPanel;exports.SUBMENU_ANCHOR_OVERLAP=e.SUBMENU_ANCHOR_OVERLAP;exports.SUBMENU_ESTIMATED_ROW_HEIGHT=e.SUBMENU_ESTIMATED_ROW_HEIGHT;exports.SUBMENU_ESTIMATED_WIDTH=e.SUBMENU_ESTIMATED_WIDTH;exports.SUBMENU_MIN_ESTIMATED_HEIGHT=e.SUBMENU_MIN_ESTIMATED_HEIGHT;exports.SUBMENU_VIEWPORT_MARGIN=e.SUBMENU_VIEWPORT_MARGIN;exports.SelectedOptions=e.SelectedOptions;exports.StatementPreview=e.StatementPreview;exports.StepFooter=e.StepFooter;exports.Tooltip=e.Tooltip;exports.TooltipHost=e.TooltipHost;exports.closeContextMenu=e.closeContextMenu;exports.computeSubmenuPlacement=e.computeSubmenuPlacement;exports.confirmationLevelOf=e.confirmationLevelOf;exports.createConfirmDialog=e.createConfirmDialog;exports.createDangerousActionDialog=e.createDangerousActionDialog;exports.createDesktopContextMenuApi=e.createDesktopContextMenuApi;exports.createDialogFocusScope=e.createDialogFocusScope;exports.createOverlayCloseGuard=e.createOverlayCloseGuard;exports.createPromptDialog=e.createPromptDialog;exports.createSaveDiscardDialog=e.createSaveDiscardDialog;exports.describeConsequence=e.describeConsequence;exports.estimateSubmenuHeight=e.estimateSubmenuHeight;exports.firstFocusableMenuIndex=e.firstFocusableMenuIndex;exports.isDesktopMenuNavigationKey=e.isDesktopMenuNavigationKey;exports.isIrreversible=e.isIrreversible;exports.lastFocusableMenuIndex=e.lastFocusableMenuIndex;exports.menuSurfaceClasses=e.menuSurfaceClasses;exports.nextFocusableMenuIndex=e.nextFocusableMenuIndex;exports.openContextMenu=e.openContextMenu;exports.panelClasses=e.panelClasses;exports.resolveDangerousActionDialogKeyIntent=e.resolveDangerousActionDialogKeyIntent;exports.resolveMenuFocusForKey=e.resolveMenuFocusForKey;exports.tooltip=e.tooltip;exports.ActionPlaceRow=r.ActionPlaceRow;exports.Modal=r.Modal;exports.collectFocusableElements=r.collectFocusableElements;exports.modalTitlebarHeight=r.modalTitlebarHeight;exports.resolveDialogShellKeyIntent=r.resolveDialogShellKeyIntent;exports.resolveModalFocusTrapTarget=r.resolveModalFocusTrapTarget;exports.trapTabFocusWithin=r.trapTabFocusWithin;exports.OverlayScrollArea=p.OverlayScrollArea;exports.Disclosure=a.Disclosure;exports.GuidedTour=a.GuidedTour;exports.Panel=a.Panel;exports.PanelSeparator=a.PanelSeparator;exports.ToastHost=a.NotificationHost;exports.positionTourCard=a.positionTourCard;exports.HoverTooltip=i.HoverTooltip;exports.TOOLTIP_CURSOR_OFFSET_X=i.TOOLTIP_CURSOR_OFFSET_X;exports.TOOLTIP_CURSOR_OFFSET_Y=i.TOOLTIP_CURSOR_OFFSET_Y;exports.TOOLTIP_MAX_FOOTPRINT_X=i.TOOLTIP_MAX_FOOTPRINT_X;exports.TOOLTIP_VIEWPORT_MARGIN=i.TOOLTIP_VIEWPORT_MARGIN;exports.computeTooltipPointerPosition=i.computeTooltipPointerPosition;exports.createDialogShellFocus=i.createDialogShellFocus;exports.COLD_DELAY_MS=n.COLD_DELAY_MS;exports.COOLDOWN_MS=n.COOLDOWN_MS;exports.DEFAULT_MARGIN=n.DEFAULT_MARGIN;exports.DEFAULT_OFFSET=n.DEFAULT_OFFSET;exports.WARM_DELAY_MS=n.WARM_DELAY_MS;exports.computeAnchoredTooltipPosition=n.computeAnchoredTooltipPosition;exports.createTooltipCoordinator=n.createTooltipCoordinator;exports.tooltipCoordinator=n.tooltipCoordinator;exports.OverlayPortal=l.OverlayPortal;exports.restoreFocusTo=l.restoreFocusTo;exports.shouldRestoreFocusOnDialogClose=l.shouldRestoreFocusOnDialogClose;exports.AnchorAlignment=t.AnchorAlignment;exports.AnchorAxisAlignment=t.AnchorAxisAlignment;exports.AnchorPosition=t.AnchorPosition;exports.OVERLAY_DEFAULT_GAP=t.OVERLAY_DEFAULT_GAP;exports.OVERLAY_DEFAULT_MARGIN=t.OVERLAY_DEFAULT_MARGIN;exports.POPOVER_DEFAULT_GAP=t.POPOVER_DEFAULT_GAP;exports.POPOVER_VIEWPORT_MARGIN=t.POPOVER_VIEWPORT_MARGIN;exports.calcFixedWidthDropdownLeft=t.calcFixedWidthDropdownLeft;exports.computeAnchoredPosition=t.computeAnchoredPosition;exports.computeDropdownPosition=t.computeDropdownPosition;exports.computePopoverPosition=t.computePopoverPosition;exports.layout2d=t.layout2d;exports.requestOwnerAnimationFrame=t.requestOwnerAnimationFrame;exports.resolvePopoverSide=t.resolvePopoverSide;exports.getOverlayDiagnostics=o.getOverlayDiagnostics;exports.hasOpenLayerIn=o.hasOpenLayerIn;exports.isAnyOverlayOpen=o.isAnyOverlayOpen;exports.isModalOccluded=o.isModalOccluded;exports.isOverlayOverlapping=o.isOverlayOverlapping;exports.notifyOverlayChanged=o.notifyOverlayChanged;exports.notifyOverlayMotionEnd=o.notifyOverlayMotionEnd;exports.notifyOverlayMotionStart=o.notifyOverlayMotionStart;exports.onOverlayMotion=o.onOverlayMotion;exports.overlayDepth=o.overlayDepth;exports.readOverlayMutationRevision=o.readOverlayMutationRevision;exports.registerOverlayClose=o.registerOverlayClose;exports.registerOverlayCondition=o.registerOverlayCondition;exports.registerOverlayOpen=o.registerOverlayOpen;exports.useOverlayRegistration=o.useOverlayRegistration;exports.useFloatingDropdown=M.useFloatingDropdown;exports.ownerWindow=T.ownerWindow;exports.modalBackgroundExemption=u.modalBackgroundExemption;exports.neutralizeBackground=u.neutralizeBackground;exports.DesktopContextMenuContext=c.DesktopContextMenuContext;exports.useDesktopContextMenu=c.useDesktopContextMenu;exports.setDatabaseObjectSearchProvider=O.setDatabaseObjectSearchProvider;exports.setSettingsSearchSource=O.setSettingsSearchSource;exports.LISTBOX_OPTION_SELECTOR=s.LISTBOX_OPTION_SELECTOR;exports.MENU_ITEM_SELECTOR=s.MENU_ITEM_SELECTOR;exports.Popover=s.Popover;exports.isPopoverNavigationKey=s.isPopoverNavigationKey;exports.resolvePopoverFocusForKey=s.resolvePopoverFocusForKey;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../CommandPalette-DeEImZ8D.cjs"),r=require("../Modal-CJhd27dM.cjs"),p=require("../OverlayScrollArea-BSlaXG1h.cjs"),a=require("../GuidedTour-C_Lxe1t_.cjs"),i=require("../format-CuANkXXB.cjs"),n=require("../tooltipCoordinator-Causlcgt.cjs"),l=require("../dialogFocusRestore-BcMPrbig.cjs"),t=require("../anchoredLayout-Dstwa5OH.cjs"),o=require("../overlayStack-DvKYN7SD.cjs"),M=require("../useFloatingDropdown-DcU7ozDg.cjs"),T=require("../ownerWindow-BCmJFMbR.cjs"),u=require("../prefersReducedMotion-BQp-Q4UR.cjs"),c=require("../DesktopContextMenuContext-DMGNVjaR.cjs"),O=require("../settingsSearchContributor-Dltbs1j_.cjs"),s=require("../Popover-hhGcYQ-a.cjs");exports.CommandPalette=e.CommandPalette;exports.ConfirmDialog=e.ConfirmDialog;exports.ConsequenceLine=e.ConsequenceLine;exports.ContextMenu=e.ContextMenu;exports.DesktopContextMenu=e.DesktopContextMenu;exports.Drawer=e.Drawer;exports.DropdownMenu=e.DropdownMenu;exports.FloatingWindow=e.FloatingWindow;exports.MenuDisclosure=e.MenuDisclosure;exports.MenuEmpty=e.MenuEmpty;exports.MenuItem=e.MenuItem;exports.MenuList=e.MenuList;exports.MenuSearch=e.MenuSearch;exports.MenuSection=e.MenuSection;exports.MenuSeparator=e.MenuSeparator;exports.NameStep=e.NameStep;exports.OptionList=e.OptionList;exports.PopoverPanel=e.PopoverPanel;exports.SUBMENU_ANCHOR_OVERLAP=e.SUBMENU_ANCHOR_OVERLAP;exports.SUBMENU_ESTIMATED_ROW_HEIGHT=e.SUBMENU_ESTIMATED_ROW_HEIGHT;exports.SUBMENU_ESTIMATED_WIDTH=e.SUBMENU_ESTIMATED_WIDTH;exports.SUBMENU_MIN_ESTIMATED_HEIGHT=e.SUBMENU_MIN_ESTIMATED_HEIGHT;exports.SUBMENU_VIEWPORT_MARGIN=e.SUBMENU_VIEWPORT_MARGIN;exports.SaveDiscardDialog=e.SaveDiscardDialog;exports.SelectedOptions=e.SelectedOptions;exports.StatementPreview=e.StatementPreview;exports.StepFooter=e.StepFooter;exports.Tooltip=e.Tooltip;exports.TooltipHost=e.TooltipHost;exports.closeContextMenu=e.closeContextMenu;exports.computeSubmenuPlacement=e.computeSubmenuPlacement;exports.confirmationLevelOf=e.confirmationLevelOf;exports.createDangerousActionDialog=e.createDangerousActionDialog;exports.createDesktopContextMenuApi=e.createDesktopContextMenuApi;exports.createDialogFocusScope=e.createDialogFocusScope;exports.createOverlayCloseGuard=e.createOverlayCloseGuard;exports.createPromptDialog=e.createPromptDialog;exports.createSaveDiscardDialog=e.createSaveDiscardDialog;exports.describeConsequence=e.describeConsequence;exports.estimateSubmenuHeight=e.estimateSubmenuHeight;exports.firstFocusableMenuIndex=e.firstFocusableMenuIndex;exports.isDesktopMenuNavigationKey=e.isDesktopMenuNavigationKey;exports.isIrreversible=e.isIrreversible;exports.lastFocusableMenuIndex=e.lastFocusableMenuIndex;exports.menuSurfaceClasses=e.menuSurfaceClasses;exports.nextFocusableMenuIndex=e.nextFocusableMenuIndex;exports.openContextMenu=e.openContextMenu;exports.panelClasses=e.panelClasses;exports.resolveDangerousActionDialogKeyIntent=e.resolveDangerousActionDialogKeyIntent;exports.resolveMenuFocusForKey=e.resolveMenuFocusForKey;exports.tooltip=e.tooltip;exports.ActionPlaceRow=r.ActionPlaceRow;exports.Modal=r.Modal;exports.collectFocusableElements=r.collectFocusableElements;exports.modalTitlebarHeight=r.modalTitlebarHeight;exports.resolveDialogShellKeyIntent=r.resolveDialogShellKeyIntent;exports.resolveModalFocusTrapTarget=r.resolveModalFocusTrapTarget;exports.trapTabFocusWithin=r.trapTabFocusWithin;exports.OverlayScrollArea=p.OverlayScrollArea;exports.Disclosure=a.Disclosure;exports.GuidedTour=a.GuidedTour;exports.Panel=a.Panel;exports.PanelSeparator=a.PanelSeparator;exports.ToastHost=a.NotificationHost;exports.positionTourCard=a.positionTourCard;exports.HoverTooltip=i.HoverTooltip;exports.TOOLTIP_CURSOR_OFFSET_X=i.TOOLTIP_CURSOR_OFFSET_X;exports.TOOLTIP_CURSOR_OFFSET_Y=i.TOOLTIP_CURSOR_OFFSET_Y;exports.TOOLTIP_MAX_FOOTPRINT_X=i.TOOLTIP_MAX_FOOTPRINT_X;exports.TOOLTIP_VIEWPORT_MARGIN=i.TOOLTIP_VIEWPORT_MARGIN;exports.computeTooltipPointerPosition=i.computeTooltipPointerPosition;exports.createDialogShellFocus=i.createDialogShellFocus;exports.COLD_DELAY_MS=n.COLD_DELAY_MS;exports.COOLDOWN_MS=n.COOLDOWN_MS;exports.DEFAULT_MARGIN=n.DEFAULT_MARGIN;exports.DEFAULT_OFFSET=n.DEFAULT_OFFSET;exports.WARM_DELAY_MS=n.WARM_DELAY_MS;exports.computeAnchoredTooltipPosition=n.computeAnchoredTooltipPosition;exports.createTooltipCoordinator=n.createTooltipCoordinator;exports.tooltipCoordinator=n.tooltipCoordinator;exports.OverlayPortal=l.OverlayPortal;exports.restoreFocusTo=l.restoreFocusTo;exports.shouldRestoreFocusOnDialogClose=l.shouldRestoreFocusOnDialogClose;exports.AnchorAlignment=t.AnchorAlignment;exports.AnchorAxisAlignment=t.AnchorAxisAlignment;exports.AnchorPosition=t.AnchorPosition;exports.OVERLAY_DEFAULT_GAP=t.OVERLAY_DEFAULT_GAP;exports.OVERLAY_DEFAULT_MARGIN=t.OVERLAY_DEFAULT_MARGIN;exports.POPOVER_DEFAULT_GAP=t.POPOVER_DEFAULT_GAP;exports.POPOVER_VIEWPORT_MARGIN=t.POPOVER_VIEWPORT_MARGIN;exports.calcFixedWidthDropdownLeft=t.calcFixedWidthDropdownLeft;exports.computeAnchoredPosition=t.computeAnchoredPosition;exports.computeDropdownPosition=t.computeDropdownPosition;exports.computePopoverPosition=t.computePopoverPosition;exports.layout2d=t.layout2d;exports.requestOwnerAnimationFrame=t.requestOwnerAnimationFrame;exports.resolvePopoverSide=t.resolvePopoverSide;exports.getOverlayDiagnostics=o.getOverlayDiagnostics;exports.hasOpenLayerIn=o.hasOpenLayerIn;exports.isAnyOverlayOpen=o.isAnyOverlayOpen;exports.isModalOccluded=o.isModalOccluded;exports.isOverlayOverlapping=o.isOverlayOverlapping;exports.notifyOverlayChanged=o.notifyOverlayChanged;exports.notifyOverlayMotionEnd=o.notifyOverlayMotionEnd;exports.notifyOverlayMotionStart=o.notifyOverlayMotionStart;exports.onOverlayMotion=o.onOverlayMotion;exports.overlayDepth=o.overlayDepth;exports.readOverlayMutationRevision=o.readOverlayMutationRevision;exports.registerOverlayClose=o.registerOverlayClose;exports.registerOverlayCondition=o.registerOverlayCondition;exports.registerOverlayOpen=o.registerOverlayOpen;exports.useOverlayRegistration=o.useOverlayRegistration;exports.useFloatingDropdown=M.useFloatingDropdown;exports.ownerWindow=T.ownerWindow;exports.modalBackgroundExemption=u.modalBackgroundExemption;exports.neutralizeBackground=u.neutralizeBackground;exports.DesktopContextMenuContext=c.DesktopContextMenuContext;exports.useDesktopContextMenu=c.useDesktopContextMenu;exports.setDatabaseObjectSearchProvider=O.setDatabaseObjectSearchProvider;exports.setSettingsSearchSource=O.setSettingsSearchSource;exports.LISTBOX_OPTION_SELECTOR=s.LISTBOX_OPTION_SELECTOR;exports.MENU_ITEM_SELECTOR=s.MENU_ITEM_SELECTOR;exports.Popover=s.Popover;exports.isPopoverNavigationKey=s.isPopoverNavigationKey;exports.resolvePopoverFocusForKey=s.resolvePopoverFocusForKey;