@vokril/ui-solid 0.9.3 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +69 -0
- package/README.md +110 -31
- package/dist/{AttributeGrid-Bnn1w5XX.cjs → AttributeGrid-7cLOWtPn.cjs} +1 -1
- package/dist/{AttributeGrid-DJdW32LQ.js → AttributeGrid-CVyqzT7-.js} +5 -5
- package/dist/{Button-BZWXPn8y.js → Button-BiKPB3cH.js} +2 -2
- package/dist/{Button-X8QR6llv.cjs → Button-Nx7byQZc.cjs} +1 -1
- package/dist/CommandPalette-BFi0_e3t.cjs +2 -0
- package/dist/CommandPalette-CAH08DGN.js +4013 -0
- package/dist/{CopyButton-D3dIRRnn.js → CopyButton-BF7L1TCO.js} +1 -1
- package/dist/{CopyButton-3cX5MHAf.cjs → CopyButton-BtgGbiy9.cjs} +1 -1
- package/dist/DateRangePicker-Ce2tTbJ4.cjs +9 -0
- package/dist/{DateRangePicker-BcqoUao4.js → DateRangePicker-jSQBwB78.js} +181 -166
- package/dist/GuidedTour-CWDtBRHv.js +483 -0
- package/dist/GuidedTour-CYaR5Ozj.cjs +1 -0
- package/dist/HostPortal-B9Tzk_uN.cjs +1 -0
- package/dist/HostPortal-X1iw719T.js +33 -0
- package/dist/HostWindowContext-B2m0bVra.js +32 -0
- package/dist/HostWindowContext-_VZCt7xE.cjs +1 -0
- package/dist/{IconPicker-9tjEtmqt.cjs → IconPicker-4bdAeGxS.cjs} +1 -1
- package/dist/{IconPicker-CXbFmJ3y.js → IconPicker-Df6uIUpJ.js} +4 -4
- package/dist/{Input-BEnk4FCF.cjs → Input-CZruORyy.cjs} +1 -1
- package/dist/{Input-PZ5wRvPx.js → Input-DkPhsdfk.js} +2 -2
- package/dist/Modal-CQG8l4x7.cjs +1 -0
- package/dist/{Modal-CsiV55WW.js → Modal-CUPe98-o.js} +5 -5
- package/dist/PageSkeleton-C3mo6UGh.cjs +30 -0
- package/dist/{PageSkeleton-CyTXvZYm.js → PageSkeleton-CUTLh9Ip.js} +630 -628
- package/dist/{Popover-C24npAQ7.js → Popover-Dht1jFEy.js} +1 -1
- package/dist/{Popover-hhGcYQ-a.cjs → Popover-YfzC0Tjh.cjs} +1 -1
- package/dist/{SearchableSelect-C6KL7e42.js → SearchableSelect-C01brsF0.js} +5 -5
- package/dist/{SearchableSelect-zT8XNpmt.cjs → SearchableSelect-pCaUie2M.cjs} +1 -1
- package/dist/StatusBarNotificationBell-BwqVV09r.js +14266 -0
- package/dist/StatusBarNotificationBell-C5Zc2IvW.cjs +50 -0
- package/dist/{Stepper-BxXwbDq4.js → Stepper-38IAEOyT.js} +3 -3
- package/dist/{Stepper-DoJFCfC7.cjs → Stepper-CtaTpnQu.cjs} +1 -1
- package/dist/{Textarea-BUxibzkR.js → Textarea-B5QqqKnI.js} +1 -1
- package/dist/{Textarea-BunKEY68.cjs → Textarea-CeAGf08O.cjs} +1 -1
- package/dist/{TimeSeriesChart-DBrDzBGE.js → TimeSeriesChart-ByKG4E1G.js} +2 -2
- package/dist/{TimeSeriesChart-CS4jQflv.cjs → TimeSeriesChart-_NOs_Job.cjs} +1 -1
- package/dist/ToggleButton-Bz3zAtec.cjs +1 -0
- package/dist/{ToggleButton-BfjXnp-P.js → ToggleButton-D-N0C2Fu.js} +54 -53
- package/dist/_internal/app/keybindings/context/keybindingsContext.d.cts +11 -6
- package/dist/_internal/app/keybindings/context/keybindingsContext.d.ts +11 -6
- package/dist/_internal/app/keybindings/context/useFocusClaim.d.cts +4 -3
- package/dist/_internal/app/keybindings/context/useFocusClaim.d.ts +4 -3
- package/dist/_internal/app/keybindings/context/useListCommands.d.cts +6 -5
- package/dist/_internal/app/keybindings/context/useListCommands.d.ts +6 -5
- package/dist/_internal/app/keybindings/index.d.cts +0 -10
- package/dist/_internal/app/keybindings/index.d.ts +0 -10
- package/dist/_internal/app/keybindings/panelCommandsRegistry.d.cts +14 -9
- package/dist/_internal/app/keybindings/panelCommandsRegistry.d.ts +14 -9
- package/dist/_internal/app/menu/menuFavorites.d.cts +35 -8
- package/dist/_internal/app/menu/menuFavorites.d.ts +35 -8
- package/dist/_internal/app/onboarding/pageTourState.d.cts +75 -22
- package/dist/_internal/app/onboarding/pageTourState.d.ts +75 -22
- package/dist/_internal/app/platform/electronBridge.d.cts +35 -29
- package/dist/_internal/app/platform/electronBridge.d.ts +35 -29
- package/dist/_internal/app/settings/secrets/notificationSecrets.d.cts +27 -14
- package/dist/_internal/app/settings/secrets/notificationSecrets.d.ts +27 -14
- package/dist/_internal/app/windows/window/HostWindowContext.d.cts +8 -14
- package/dist/_internal/app/windows/window/HostWindowContext.d.ts +8 -14
- package/dist/_internal/contract/catalogNotify.d.cts +6 -19
- package/dist/_internal/contract/catalogNotify.d.ts +6 -19
- package/dist/_internal/contract/hostErrorText.d.cts +13 -23
- package/dist/_internal/contract/hostErrorText.d.ts +13 -23
- package/dist/_internal/contract/notificationCatalog.d.cts +16 -5
- package/dist/_internal/contract/notificationCatalog.d.ts +16 -5
- package/dist/_internal/platform/a11y/announcerService.d.cts +9 -13
- package/dist/_internal/platform/a11y/announcerService.d.ts +9 -13
- package/dist/_internal/platform/errors/diagnosticReport.d.cts +3 -1
- package/dist/_internal/platform/errors/diagnosticReport.d.ts +3 -1
- package/dist/_internal/platform/logging/consoleLogger.d.cts +7 -0
- package/dist/_internal/platform/logging/consoleLogger.d.ts +7 -0
- package/dist/_internal/platform/settings/registry/defineSettings.d.cts +19 -8
- package/dist/_internal/platform/settings/registry/defineSettings.d.ts +19 -8
- package/dist/_internal/platform/settings/registry/stateDbStore.d.cts +23 -15
- package/dist/_internal/platform/settings/registry/stateDbStore.d.ts +23 -15
- package/dist/_internal/platform/settings/settingsTypes.d.cts +0 -5
- package/dist/_internal/platform/settings/settingsTypes.d.ts +0 -5
- package/dist/_internal/platform/vendorErrors/index.d.cts +7 -17
- package/dist/_internal/platform/vendorErrors/index.d.ts +7 -17
- package/dist/_internal/platform/window/displayOwner.d.cts +35 -14
- package/dist/_internal/platform/window/displayOwner.d.ts +35 -14
- package/dist/a11y/index.cjs +1 -1
- package/dist/a11y/index.js +1 -1
- package/dist/actions-DtaFGwh2.cjs +1 -0
- package/dist/actions-wwAHs3ZU.js +16 -0
- package/dist/{server/appThemeDerivation-BiCyiSuz.js → appThemeDerivation-B7-DjMIM.js} +181 -184
- package/dist/appThemeDerivation-NS3Vws8q.cjs +1 -0
- package/dist/async/createGuardedListLoader.d.cts +3 -0
- package/dist/async/createGuardedListLoader.d.ts +3 -0
- package/dist/charts/index.cjs +1 -1
- package/dist/charts/index.js +1 -1
- package/dist/createDialogShellFocus-BBFu3Z_O.js +282 -0
- package/dist/createDialogShellFocus-CxRqhbRN.cjs +1 -0
- package/dist/createResizableSidebar-CfFxQUny.js +449 -0
- package/dist/createResizableSidebar-q7aC7SAO.cjs +1 -0
- package/dist/{createVirtualScroller-LN-7QFiv.cjs → createVirtualScroller-CL49JE2P.cjs} +1 -1
- package/dist/{server/createVirtualScroller-DBvqT0UW.js → createVirtualScroller-vu-l4rVv.js} +7 -7
- package/dist/defineSettings-D0CSMcyy.cjs +1 -0
- package/dist/defineSettings-Di1sG81q.js +407 -0
- package/dist/descriptor-CaHgh9N_.cjs +1 -0
- package/dist/{descriptor-B1MaujhY.js → descriptor-eGtcBtpI.js} +5 -5
- package/dist/desktop/index.cjs +1 -1
- package/dist/desktop/index.js +500 -426
- package/dist/dialogFocusRestore-BrALT8Ew.js +35 -0
- package/dist/dialogFocusRestore-CcEsB50v.cjs +1 -0
- package/dist/electronBridge-BK92fycw.js +235 -0
- package/dist/electronBridge-cT0xww92.cjs +1 -0
- package/dist/errorHandler-BvPGW-Nm.js +373 -0
- package/dist/errorHandler-DoDAPpv2.cjs +3 -0
- package/dist/feedback/Loader.d.cts +6 -1
- package/dist/feedback/Loader.d.ts +6 -1
- package/dist/feedback/createPreference.d.cts +4 -1
- package/dist/feedback/createPreference.d.ts +4 -1
- package/dist/feedback/guidedInstallOutcome.d.cts +15 -2
- package/dist/feedback/guidedInstallOutcome.d.ts +15 -2
- package/dist/feedback/index.cjs +1 -1
- package/dist/feedback/index.js +37 -38
- package/dist/feedback/readFailureText.d.cts +20 -1
- package/dist/feedback/readFailureText.d.ts +20 -1
- package/dist/focusModality-BISb6-yg.cjs +1 -0
- package/dist/focusModality-FoLPWF-_.js +135 -0
- package/dist/forms/index.cjs +1 -1
- package/dist/forms/index.js +9 -9
- package/dist/grid/index.cjs +1 -1
- package/dist/grid/index.js +1 -1
- package/dist/{headerIconOverrides-64lFnqTt.cjs → headerIconOverrides-Bn1QuODq.cjs} +1 -1
- package/dist/{server/headerIconOverrides-BCzeaBA1.js → headerIconOverrides-Dh2PaOcO.js} +1 -1
- package/dist/host/index.cjs +1 -1
- package/dist/host/index.d.cts +15 -16
- package/dist/host/index.d.ts +15 -16
- package/dist/host/index.js +56 -90
- package/dist/host/kitHost.d.cts +65 -0
- package/dist/host/kitHost.d.ts +65 -0
- package/dist/host/window.d.cts +3 -11
- package/dist/host/window.d.ts +3 -11
- package/dist/i18n/index.cjs +1 -1
- package/dist/i18n/index.js +1 -1
- package/dist/{i18n-CYq-dVvv.js → i18n-DW9kcu0G.js} +180 -178
- package/dist/i18n-DZ0JlZal.cjs +4 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +973 -992
- package/dist/isOneOf-9EXOSYJu.cjs +1 -0
- package/dist/isOneOf-Dtomuazg.js +6 -0
- package/dist/{keys-Bfgdfak_.js → keys-B2nlkpqc.js} +6 -9
- package/dist/keys-GMxY2wcl.cjs +1 -0
- package/dist/kitHost-BfJExE1G.cjs +1 -0
- package/dist/kitHost-CVAEi9sF.js +23 -0
- package/dist/layout/createResizableSidebar.d.cts +14 -0
- package/dist/layout/createResizableSidebar.d.ts +14 -0
- package/dist/layout/index.cjs +1 -1
- package/dist/layout/index.js +3 -3
- package/dist/layout/sidebarWidthClamp.d.cts +1 -1
- package/dist/layout/sidebarWidthClamp.d.ts +1 -1
- package/dist/mainRealmDom-C12lr9lm.js +171 -0
- package/dist/mainRealmDom-S6teqEr4.cjs +1 -0
- package/dist/navigation/index.cjs +1 -1
- package/dist/navigation/index.js +1 -1
- package/dist/notifications/NotificationHost.d.cts +7 -1
- package/dist/notifications/NotificationHost.d.ts +7 -1
- package/dist/notifications/NotificationItem.d.cts +48 -15
- package/dist/notifications/NotificationItem.d.ts +48 -15
- package/dist/notifications/catalogAdapter.d.cts +28 -6
- package/dist/notifications/catalogAdapter.d.ts +28 -6
- package/dist/notifications/createNotificationPreviewRuntime.d.cts +21 -3
- package/dist/notifications/createNotificationPreviewRuntime.d.ts +21 -3
- package/dist/notifications/customSoundCache.d.cts +24 -24
- package/dist/notifications/customSoundCache.d.ts +24 -24
- package/dist/notifications/emailDigest.d.cts +34 -16
- package/dist/notifications/emailDigest.d.ts +34 -16
- package/dist/notifications/errorActionButtons.d.cts +18 -1
- package/dist/notifications/errorActionButtons.d.ts +18 -1
- package/dist/notifications/fireNotification.d.cts +27 -17
- package/dist/notifications/fireNotification.d.ts +27 -17
- package/dist/notifications/index.cjs +1 -1
- package/dist/notifications/index.d.cts +7 -12
- package/dist/notifications/index.d.ts +7 -12
- package/dist/notifications/index.js +64 -98
- package/dist/notifications/nativeEngine.d.cts +18 -15
- package/dist/notifications/nativeEngine.d.ts +18 -15
- package/dist/notifications/notificationAnalytics.d.cts +11 -6
- package/dist/notifications/notificationAnalytics.d.ts +11 -6
- package/dist/notifications/notificationAudio.d.cts +30 -23
- package/dist/notifications/notificationAudio.d.ts +30 -23
- package/dist/notifications/notificationCardServices.d.cts +23 -0
- package/dist/notifications/notificationCardServices.d.ts +23 -0
- package/dist/notifications/notificationOverlayChannel.d.cts +4 -4
- package/dist/notifications/notificationOverlayChannel.d.ts +4 -4
- package/dist/notifications/notificationOverlaySync.d.cts +7 -2
- package/dist/notifications/notificationOverlaySync.d.ts +7 -2
- package/dist/notifications/notificationService.d.cts +101 -0
- package/dist/notifications/notificationService.d.ts +101 -0
- package/dist/notifications/notificationTimeline.d.cts +47 -49
- package/dist/notifications/notificationTimeline.d.ts +47 -49
- package/dist/notifications/notifications.notifications.d.cts +0 -4
- package/dist/notifications/notifications.notifications.d.ts +0 -4
- package/dist/notifications/toast.d.cts +24 -28
- package/dist/notifications/toast.d.ts +24 -28
- package/dist/notifications/webhookDelivery.d.cts +12 -17
- package/dist/notifications/webhookDelivery.d.ts +12 -17
- package/dist/overlay/ConfirmDialog.d.cts +20 -10
- package/dist/overlay/ConfirmDialog.d.ts +20 -10
- package/dist/overlay/DangerousActionDialog.d.cts +2 -2
- package/dist/overlay/DangerousActionDialog.d.ts +2 -2
- package/dist/overlay/command-palette/unifiedSearch/databaseObjectSearchContributor.d.cts +15 -14
- package/dist/overlay/command-palette/unifiedSearch/databaseObjectSearchContributor.d.ts +15 -14
- package/dist/overlay/command-palette/unifiedSearch/settingsSearchContributor.d.cts +1 -3
- package/dist/overlay/command-palette/unifiedSearch/settingsSearchContributor.d.ts +1 -3
- package/dist/overlay/command-palette/unifiedSearch/unifiedSearchTypes.d.cts +1 -1
- package/dist/overlay/command-palette/unifiedSearch/unifiedSearchTypes.d.ts +1 -1
- package/dist/overlay/index.cjs +1 -1
- package/dist/overlay/index.d.cts +2 -3
- package/dist/overlay/index.d.ts +2 -3
- package/dist/overlay/index.js +114 -119
- package/dist/pageTourState-BcBF8w89.js +516 -0
- package/dist/pageTourState-CrbEU7QW.cjs +5 -0
- package/dist/server/{AttributeGrid-BCYNwNjw.js → AttributeGrid-B2s_rp00.js} +3 -3
- package/dist/server/{AttributeGrid-BVAQshm3.cjs → AttributeGrid-C7aWbIe5.cjs} +1 -1
- package/dist/server/{Button-BhqhjFpY.js → Button-Ck03cbUs.js} +1 -1
- package/dist/server/{Button-CFOM8pOv.cjs → Button-DWFMF5y0.cjs} +1 -1
- package/dist/server/CommandPalette-2UppyMxU.js +3271 -0
- package/dist/server/CommandPalette-DwpZyhO6.cjs +1 -0
- package/dist/server/{CopyButton-C2jzn9tR.cjs → CopyButton-BOmAUQD4.cjs} +1 -1
- package/dist/server/{CopyButton-CChDa2p3.js → CopyButton-UvtFwOtA.js} +1 -1
- package/dist/server/DateRangePicker-BJteKzOY.cjs +9 -0
- package/dist/server/{DateRangePicker-QV6U1adB.js → DateRangePicker-Cr58DczM.js} +158 -143
- package/dist/server/GuidedTour-C4msn-Ag.js +400 -0
- package/dist/server/GuidedTour-Rlsp8rOe.cjs +1 -0
- package/dist/server/HostPortal-B9Tzk_uN.cjs +1 -0
- package/dist/server/HostPortal-X1iw719T.js +33 -0
- package/dist/server/HostWindowContext-B2m0bVra.js +32 -0
- package/dist/server/HostWindowContext-_VZCt7xE.cjs +1 -0
- package/dist/server/{IconPicker-BEACrT09.cjs → IconPicker-9DfOxql6.cjs} +1 -1
- package/dist/server/{IconPicker-at_coEi6.js → IconPicker-N0wub1Aj.js} +4 -4
- package/dist/server/Modal-D__GTo-n.cjs +1 -0
- package/dist/server/{Modal-usxkqDtK.js → Modal-DeQjfpkG.js} +3 -3
- package/dist/server/{PageSkeleton-Bpgep9QW.js → PageSkeleton-C41pXOcr.js} +457 -455
- package/dist/server/PageSkeleton-D4i-UcnI.cjs +30 -0
- package/dist/server/{SearchableSelect-0dP7bp0a.js → SearchableSelect-CEcuBnge.js} +2 -2
- package/dist/server/{SearchableSelect-nMecJAYS.cjs → SearchableSelect-Ca9g8ztu.cjs} +1 -1
- package/dist/server/StatusBarNotificationBell-BotYny7q.cjs +49 -0
- package/dist/server/StatusBarNotificationBell-DyEQF2W7.js +13968 -0
- package/dist/server/{Stepper-DvoJXLcM.cjs → Stepper--pusyxso.cjs} +1 -1
- package/dist/server/{Stepper-B8hDDujj.js → Stepper-B_eL85hK.js} +1 -1
- package/dist/server/{TimeSeriesChart-C1LbL_xp.js → TimeSeriesChart-aSHquoBv.js} +1 -1
- package/dist/server/{TimeSeriesChart-DtldQrxS.cjs → TimeSeriesChart-nZeB5jtN.cjs} +1 -1
- package/dist/server/ToggleButton-57_0SA-V.cjs +1 -0
- package/dist/server/{ToggleButton--G4HCOTD.js → ToggleButton-DjlWwgLJ.js} +4 -4
- package/dist/server/VpTrash-D49oUUJh.cjs +1 -0
- package/dist/server/VpTrash-Dlq8o6Uv.js +298 -0
- package/dist/server/a11y/index.cjs +1 -1
- package/dist/server/a11y/index.js +1 -1
- package/dist/server/actions-DtaFGwh2.cjs +1 -0
- package/dist/server/actions-wwAHs3ZU.js +16 -0
- package/dist/{appThemeDerivation-BiCyiSuz.js → server/appThemeDerivation-B7-DjMIM.js} +181 -184
- package/dist/server/appThemeDerivation-NS3Vws8q.cjs +1 -0
- package/dist/server/charts/index.cjs +1 -1
- package/dist/server/charts/index.js +1 -1
- package/dist/server/{format-CW_FVfq2.js → createDialogShellFocus-DNjzmcGj.js} +110 -126
- package/dist/server/createDialogShellFocus-PRRfMli-.cjs +1 -0
- package/dist/server/createResizableSidebar-CZtGmUnA.cjs +1 -0
- package/dist/server/createResizableSidebar-DdWdAB9l.js +287 -0
- package/dist/server/{createVirtualScroller-LN-7QFiv.cjs → createVirtualScroller-CL49JE2P.cjs} +1 -1
- package/dist/{createVirtualScroller-DBvqT0UW.js → server/createVirtualScroller-vu-l4rVv.js} +7 -7
- package/dist/server/defineSettings-D0CSMcyy.cjs +1 -0
- package/dist/server/defineSettings-Di1sG81q.js +407 -0
- package/dist/server/descriptor-CEGvvJZh.cjs +1 -0
- package/dist/server/{descriptor-DWkJAggS.js → descriptor-GLoKPx6x.js} +4 -4
- package/dist/server/desktop/index.cjs +1 -1
- package/dist/server/desktop/index.js +389 -315
- package/dist/server/dialogFocusRestore-BrALT8Ew.js +35 -0
- package/dist/server/dialogFocusRestore-CcEsB50v.cjs +1 -0
- package/dist/server/electronBridge-BK92fycw.js +235 -0
- package/dist/server/electronBridge-cT0xww92.cjs +1 -0
- package/dist/server/errorHandler-BvPGW-Nm.js +373 -0
- package/dist/server/errorHandler-DoDAPpv2.cjs +3 -0
- package/dist/server/feedback/index.cjs +1 -1
- package/dist/server/feedback/index.js +37 -38
- package/dist/server/focusModality-D-nxv8Er.cjs +1 -0
- package/dist/server/focusModality-nWNVX3JG.js +126 -0
- package/dist/server/forms/index.cjs +1 -1
- package/dist/server/forms/index.js +7 -7
- package/dist/server/grid/index.cjs +1 -1
- package/dist/server/grid/index.js +1 -1
- package/dist/server/{headerIconOverrides-64lFnqTt.cjs → headerIconOverrides-Bn1QuODq.cjs} +1 -1
- package/dist/{headerIconOverrides-BCzeaBA1.js → server/headerIconOverrides-Dh2PaOcO.js} +1 -1
- package/dist/server/host/index.cjs +1 -1
- package/dist/server/host/index.js +56 -90
- package/dist/server/i18n/index.cjs +1 -1
- package/dist/server/i18n/index.js +1 -1
- package/dist/server/{i18n-CYq-dVvv.js → i18n-DW9kcu0G.js} +180 -178
- package/dist/server/i18n-DZ0JlZal.cjs +4 -0
- package/dist/server/{index-BFT4Uh9D.js → index-BNYr6EIW.js} +89 -90
- package/dist/server/index-Cqod09d_.cjs +1 -0
- package/dist/server/index.cjs +1 -1
- package/dist/server/index.js +1022 -1041
- package/dist/server/kitHost-BfJExE1G.cjs +1 -0
- package/dist/server/kitHost-CVAEi9sF.js +23 -0
- package/dist/server/layout/index.cjs +1 -1
- package/dist/server/layout/index.js +3 -3
- package/dist/server/mainRealmDom-DPNaDWtw.js +121 -0
- package/dist/server/mainRealmDom-DwZVMPnO.cjs +1 -0
- package/dist/server/navigation/index.cjs +1 -1
- package/dist/server/navigation/index.js +1 -1
- package/dist/server/notifications/index.cjs +1 -1
- package/dist/server/notifications/index.js +63 -97
- package/dist/server/overlay/index.cjs +1 -1
- package/dist/server/overlay/index.js +109 -114
- package/dist/server/pageTourState-BcBF8w89.js +516 -0
- package/dist/server/pageTourState-CrbEU7QW.cjs +5 -0
- package/dist/server/settings/index.cjs +1 -1
- package/dist/server/settings/index.js +23 -24
- package/dist/server/stateDbStore-CThsVch-.cjs +1 -0
- package/dist/server/stateDbStore-DHZFUIEt.js +57 -0
- package/dist/server/tokens/index.cjs +1 -1
- package/dist/server/tokens/index.js +19 -20
- package/dist/server/tree/index.cjs +1 -1
- package/dist/server/tree/index.js +1 -1
- package/dist/server/useListCommands-BO_XrRHj.js +38 -0
- package/dist/server/useListCommands-Dnm4ktP1.cjs +1 -0
- package/dist/server/useSettingsSubscription-DKjCwmRd.cjs +1 -0
- package/dist/{notification-DFbp3S_f.js → server/useSettingsSubscription-DLEk4k4j.js} +41 -32
- package/dist/server/window-CUK6x8Pj.js +36 -0
- package/dist/server/window-_BfSgFGO.cjs +1 -0
- package/dist/server/windowRegistry-CxXtP-iY.cjs +1 -0
- package/dist/server/windowRegistry-DeGmXt6W.js +20 -0
- package/dist/settings/index.cjs +1 -1
- package/dist/settings/index.d.cts +1 -1
- package/dist/settings/index.d.ts +1 -1
- package/dist/settings/index.js +23 -24
- package/dist/solid/_internal/app/keybindings/context/useFocusClaim.js +3 -10
- package/dist/solid/_internal/app/keybindings/context/useListCommands.js +1 -2
- package/dist/solid/_internal/app/keybindings/panelCommandsRegistry.js +8 -1
- package/dist/solid/_internal/app/menu/menuFavorites.js +45 -40
- package/dist/solid/_internal/app/onboarding/PageTourHost.jsx +22 -22
- package/dist/solid/_internal/app/onboarding/pageTourState.js +94 -92
- package/dist/solid/_internal/app/platform/electronBridge.js +15 -49
- package/dist/solid/_internal/app/settings/secrets/notificationSecrets.js +11 -29
- package/dist/solid/_internal/app/windows/window/HostWindowContext.jsx +4 -13
- package/dist/solid/_internal/contract/catalogNotify.js +1 -24
- package/dist/solid/_internal/contract/hostErrorText.js +1 -14
- package/dist/solid/_internal/contract/notificationCatalog.js +1 -1
- package/dist/solid/_internal/platform/a11y/announcerService.js +0 -24
- package/dist/solid/_internal/platform/errors/diagnosticReport.js +2 -3
- package/dist/solid/_internal/platform/logging/consoleLogger.js +6 -0
- package/dist/solid/_internal/platform/settings/registry/defineSettings.js +48 -20
- package/dist/solid/_internal/platform/settings/registry/stateDbStore.js +29 -19
- package/dist/solid/_internal/platform/vendorErrors/index.js +4 -17
- package/dist/solid/_internal/platform/window/displayOwner.js +105 -114
- package/dist/solid/a11y/AriaAnnouncer.jsx +5 -6
- package/dist/solid/async/createGuardedListLoader.js +1 -1
- package/dist/solid/desktop/menu/MenuPanel.jsx +7 -7
- package/dist/solid/feedback/ErrorBoundary.jsx +7 -4
- package/dist/solid/feedback/Loader.jsx +1 -2
- package/dist/solid/feedback/createPreference.js +3 -2
- package/dist/solid/feedback/guidedInstallOutcome.js +1 -2
- package/dist/solid/feedback/preference.notifications.js +1 -2
- package/dist/solid/feedback/readFailureText.js +1 -2
- package/dist/solid/host/index.js +9 -16
- package/dist/solid/host/kitHost.jsx +15 -0
- package/dist/solid/host/window.js +15 -22
- package/dist/solid/i18n/i18n.js +5 -6
- package/dist/solid/index.js +0 -1
- package/dist/solid/layout/createResizableSidebar.js +15 -23
- package/dist/solid/notifications/NotificationHost.jsx +21 -29
- package/dist/solid/notifications/NotificationItem.jsx +28 -103
- package/dist/solid/notifications/NotificationPanel.jsx +33 -44
- package/dist/solid/notifications/NotificationsCenter.jsx +22 -20
- package/dist/solid/notifications/StatusBarNotificationBell.jsx +4 -3
- package/dist/solid/notifications/catalogAdapter.js +61 -62
- package/dist/solid/notifications/createNotificationPreviewRuntime.js +29 -19
- package/dist/solid/notifications/customSoundCache.js +26 -21
- package/dist/solid/notifications/emailDigest.js +74 -86
- package/dist/solid/notifications/errorActionButtons.js +6 -11
- package/dist/solid/notifications/fireNotification.js +14 -19
- package/dist/solid/notifications/index.js +4 -12
- package/dist/solid/notifications/nativeEngine.js +6 -19
- package/dist/solid/notifications/notificationAnalytics.js +32 -38
- package/dist/solid/notifications/notificationAudio.js +77 -74
- package/dist/solid/notifications/notificationCardServices.js +34 -0
- package/dist/solid/notifications/notificationOverlayChannel.js +3 -3
- package/dist/solid/notifications/notificationOverlaySync.js +18 -23
- package/dist/solid/notifications/notificationService.js +135 -0
- package/dist/solid/notifications/notificationTimeline.js +117 -124
- package/dist/solid/notifications/notifications.notifications.js +3 -22
- package/dist/solid/notifications/toast.js +168 -213
- package/dist/solid/notifications/webhookDelivery.js +27 -53
- package/dist/solid/overlay/ConfirmDialog.jsx +2 -54
- package/dist/solid/overlay/command-palette/CommandPalette.jsx +3 -1
- package/dist/solid/overlay/command-palette/unifiedSearch/databaseObjectSearchContributor.js +26 -25
- package/dist/solid/overlay/command-palette/unifiedSearch/settingsSearchContributor.js +2 -7
- package/dist/solid/overlay/index.js +0 -3
- package/dist/solid/settings/index.js +1 -1
- package/dist/solid/tokens/index.js +1 -1
- package/dist/solid/tokens/palette/themeRegistry.js +20 -22
- package/dist/stateDbStore-CThsVch-.cjs +1 -0
- package/dist/stateDbStore-DHZFUIEt.js +57 -0
- package/dist/style.css +1 -1
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.d.cts +1 -1
- package/dist/tokens/index.d.ts +1 -1
- package/dist/tokens/index.js +19 -20
- package/dist/tokens/palette/themeRegistry.d.cts +17 -22
- package/dist/tokens/palette/themeRegistry.d.ts +17 -22
- package/dist/{tooltipCoordinator-GV0L9lXH.js → tooltipCoordinator-BzxEyKhA.js} +2 -2
- package/dist/tooltipCoordinator-DslqMlsI.cjs +1 -0
- package/dist/tree/index.cjs +1 -1
- package/dist/tree/index.js +1 -1
- package/dist/ui.css +1 -1
- package/dist/{useFloatingDropdown-CfPEYRut.js → useFloatingDropdown-BN4J092P.js} +1 -1
- package/dist/{useFloatingDropdown-DcU7ozDg.cjs → useFloatingDropdown-D9OvEFAp.cjs} +1 -1
- package/dist/useListCommands-BO_XrRHj.js +38 -0
- package/dist/useListCommands-Dnm4ktP1.cjs +1 -0
- package/dist/useSettingsSubscription-DKjCwmRd.cjs +1 -0
- package/dist/{server/notification-DFbp3S_f.js → useSettingsSubscription-DLEk4k4j.js} +41 -32
- package/dist/window-CUK6x8Pj.js +36 -0
- package/dist/window-_BfSgFGO.cjs +1 -0
- package/dist/windowRegistry-CxXtP-iY.cjs +1 -0
- package/dist/windowRegistry-DeGmXt6W.js +20 -0
- package/package.json +1 -1
- package/dist/CommandPalette-DToM9pUp.cjs +0 -2
- package/dist/CommandPalette-ZCFlLqrP.js +0 -3950
- package/dist/DateRangePicker-DHI3SNna.cjs +0 -9
- package/dist/GuidedTour-B-BXe3ul.js +0 -11214
- package/dist/GuidedTour-c7XiyOmE.cjs +0 -21
- package/dist/HostWindowContext-DqDeJmBP.cjs +0 -1
- package/dist/HostWindowContext-KL4U1qUv.js +0 -40
- package/dist/Modal-DpDHzCWT.cjs +0 -1
- package/dist/PageSkeleton-DzKYTuNy.cjs +0 -30
- package/dist/Progress-B5YmNeyU.js +0 -56
- package/dist/Progress-BNy0wsJl.cjs +0 -1
- package/dist/StatusBarNotificationBell-CZmym2gV.js +0 -2140
- package/dist/StatusBarNotificationBell-DG8Pe6R-.cjs +0 -4
- package/dist/ToggleButton-Bjxv8KGH.cjs +0 -1
- package/dist/_internal/app/contexts/WorkspaceTabsContext.d.cts +0 -20
- package/dist/_internal/app/contexts/WorkspaceTabsContext.d.ts +0 -20
- package/dist/_internal/app/settings/theme/appThemeChange.d.cts +0 -20
- package/dist/_internal/app/settings/theme/appThemeChange.d.ts +0 -20
- package/dist/_internal/app/settings/ui/shell/openSettingsModal.d.cts +0 -6
- package/dist/_internal/app/settings/ui/shell/openSettingsModal.d.ts +0 -6
- package/dist/_internal/base/listenerDispatch.d.cts +0 -14
- package/dist/_internal/base/listenerDispatch.d.ts +0 -14
- package/dist/_internal/contract/appName.d.cts +0 -10
- package/dist/_internal/contract/appName.d.ts +0 -10
- package/dist/_internal/contract/hostText.d.cts +0 -25
- package/dist/_internal/contract/hostText.d.ts +0 -25
- package/dist/_internal/platform/instantiation/common/descriptors.d.cts +0 -9
- package/dist/_internal/platform/instantiation/common/descriptors.d.ts +0 -9
- package/dist/_internal/platform/instantiation/common/instantiation.d.cts +0 -99
- package/dist/_internal/platform/instantiation/common/instantiation.d.ts +0 -99
- package/dist/_internal/platform/instantiation/common/serviceCollection.d.cts +0 -8
- package/dist/_internal/platform/instantiation/common/serviceCollection.d.ts +0 -8
- package/dist/_internal/platform/logging/rendererLogging.d.cts +0 -65
- package/dist/_internal/platform/logging/rendererLogging.d.ts +0 -65
- package/dist/_internal/platform/settings/preferencesCache.d.cts +0 -162
- package/dist/_internal/platform/settings/preferencesCache.d.ts +0 -162
- package/dist/announcerService-B7yicxvU.js +0 -97
- package/dist/announcerService-D_pFE24a.cjs +0 -1
- package/dist/appThemeDerivation-DmKbTiFi.cjs +0 -1
- package/dist/catalogNotify-C9RzbC6x.cjs +0 -27
- package/dist/catalogNotify-CIhFuJ1b.js +0 -1210
- package/dist/createResizableSidebar-2TgiFZp1.js +0 -461
- package/dist/createResizableSidebar-pDoO-7q9.cjs +0 -1
- package/dist/defineSettings-By5ell8e.js +0 -391
- package/dist/defineSettings-DRv1FRbv.cjs +0 -1
- package/dist/descriptor-lw1fA9mi.cjs +0 -1
- package/dist/dialogFocusRestore-B4ggeVAM.js +0 -64
- package/dist/dialogFocusRestore-BcMPrbig.cjs +0 -1
- package/dist/displayOwner-BNw2Foa_.cjs +0 -1
- package/dist/displayOwner-B_ezJv-O.js +0 -75
- package/dist/feedback/preference.notifications.samples.d.cts +0 -1
- package/dist/feedback/preference.notifications.samples.d.ts +0 -1
- package/dist/focusModality-B150daiS.js +0 -133
- package/dist/focusModality-PPfeW05D.cjs +0 -1
- package/dist/format-Dih0q9gm.cjs +0 -1
- package/dist/format-UGlMj0HW.js +0 -298
- package/dist/i18n-B9ccWgcR.cjs +0 -4
- package/dist/keys-BeeC5_RZ.cjs +0 -1
- package/dist/mainRealmDom-COGBiX78.js +0 -102
- package/dist/mainRealmDom-DijAgSXt.cjs +0 -1
- package/dist/menuFavorites-Db1DpHX6.js +0 -69
- package/dist/menuFavorites-EluLLTfi.cjs +0 -1
- package/dist/notification-CrxHMXsk.cjs +0 -1
- package/dist/notificationSuppressions-CBIJ4bC4.js +0 -430
- package/dist/notificationSuppressions-DFbFpayS.cjs +0 -1
- package/dist/notifications/copyToClipboard.d.cts +0 -6
- package/dist/notifications/copyToClipboard.d.ts +0 -6
- package/dist/notifications/createCopyFlash.d.cts +0 -17
- package/dist/notifications/createCopyFlash.d.ts +0 -17
- package/dist/notifications/notificationDisplayOwner.d.cts +0 -27
- package/dist/notifications/notificationDisplayOwner.d.ts +0 -27
- package/dist/notifications/notificationRepeaterEntryFactory.d.cts +0 -36
- package/dist/notifications/notificationRepeaterEntryFactory.d.ts +0 -36
- package/dist/notifications/notifications.notifications.samples.d.cts +0 -1
- package/dist/notifications/notifications.notifications.samples.d.ts +0 -1
- package/dist/notifications/persistWithRollbackOnFailure.d.cts +0 -18
- package/dist/notifications/persistWithRollbackOnFailure.d.ts +0 -18
- package/dist/notifications/startNotificationSchedulers.d.cts +0 -2
- package/dist/notifications/startNotificationSchedulers.d.ts +0 -2
- package/dist/notifications/startNotificationSettingsReactions.d.cts +0 -46
- package/dist/notifications/startNotificationSettingsReactions.d.ts +0 -46
- package/dist/overlay/ToastHost.d.cts +0 -7
- package/dist/overlay/ToastHost.d.ts +0 -7
- package/dist/pageTourState-CIr8ockR.js +0 -92
- package/dist/pageTourState-D8Uapyft.cjs +0 -1
- package/dist/preferencesCache-BhUd3K9p.js +0 -65
- package/dist/preferencesCache-DJPCTPYx.cjs +0 -1
- package/dist/rendererLogging-B4XML4_G.cjs +0 -7
- package/dist/rendererLogging-Edo4ALXU.js +0 -822
- package/dist/server/CommandPalette-C3Bw1teR.cjs +0 -1
- package/dist/server/CommandPalette-S7tfmFMb.js +0 -3208
- package/dist/server/DateRangePicker-sX2m4194.cjs +0 -9
- package/dist/server/GuidedTour-BhJGkoPa.js +0 -10981
- package/dist/server/GuidedTour-Dx0endYh.cjs +0 -20
- package/dist/server/HostWindowContext-DqDeJmBP.cjs +0 -1
- package/dist/server/HostWindowContext-KL4U1qUv.js +0 -40
- package/dist/server/Modal-CAVr4DU6.cjs +0 -1
- package/dist/server/PageSkeleton-KwYRrZua.cjs +0 -30
- package/dist/server/Progress-CRbj6nEy.cjs +0 -1
- package/dist/server/Progress-nsDy6clG.js +0 -41
- package/dist/server/StatusBarNotificationBell-BJyGqDCX.cjs +0 -4
- package/dist/server/StatusBarNotificationBell-C9MCuKT6.js +0 -1974
- package/dist/server/ToggleButton-DTI2HB97.cjs +0 -1
- package/dist/server/VpTerminal-Bpw-d9wD.js +0 -186
- package/dist/server/VpTerminal-C-U_dN_x.cjs +0 -1
- package/dist/server/VpTrash-CagiU2Uj.cjs +0 -1
- package/dist/server/VpTrash-DVBfts9_.js +0 -116
- package/dist/server/announcerService-B7yicxvU.js +0 -97
- package/dist/server/announcerService-D_pFE24a.cjs +0 -1
- package/dist/server/appThemeDerivation-DmKbTiFi.cjs +0 -1
- package/dist/server/catalogNotify-BPPTINme.cjs +0 -27
- package/dist/server/catalogNotify-mUcKuUmZ.js +0 -1248
- package/dist/server/createResizableSidebar-CCrAgu_K.js +0 -299
- package/dist/server/createResizableSidebar-DGd-3PrM.cjs +0 -1
- package/dist/server/defineSettings-By5ell8e.js +0 -391
- package/dist/server/defineSettings-DRv1FRbv.cjs +0 -1
- package/dist/server/descriptor-IJq9wdXK.cjs +0 -1
- package/dist/server/dialogFocusRestore-B4ggeVAM.js +0 -64
- package/dist/server/dialogFocusRestore-BcMPrbig.cjs +0 -1
- package/dist/server/displayOwner-BNw2Foa_.cjs +0 -1
- package/dist/server/displayOwner-B_ezJv-O.js +0 -75
- package/dist/server/focusModality-CeTPyRiF.cjs +0 -1
- package/dist/server/focusModality-DmOZptla.js +0 -124
- package/dist/server/format-x-8syaS2.cjs +0 -1
- package/dist/server/i18n-B9ccWgcR.cjs +0 -4
- package/dist/server/index-Xlas73iC.cjs +0 -1
- package/dist/server/mainRealmDom-BCL1p_q6.cjs +0 -1
- package/dist/server/mainRealmDom-Dk0xb5Gj.js +0 -67
- package/dist/server/menuFavorites-Db1DpHX6.js +0 -69
- package/dist/server/menuFavorites-EluLLTfi.cjs +0 -1
- package/dist/server/notification-CrxHMXsk.cjs +0 -1
- package/dist/server/notificationSuppressions-D7FZmJy8.cjs +0 -1
- package/dist/server/notificationSuppressions-DkrUMXHx.js +0 -391
- package/dist/server/pageTourState-CIr8ockR.js +0 -92
- package/dist/server/pageTourState-D8Uapyft.cjs +0 -1
- package/dist/server/preferencesCache-BhUd3K9p.js +0 -65
- package/dist/server/preferencesCache-DJPCTPYx.cjs +0 -1
- package/dist/server/rendererLogging-B4XML4_G.cjs +0 -7
- package/dist/server/rendererLogging-Edo4ALXU.js +0 -822
- package/dist/server/settingsSearchContributor-DZj7Wc8l.cjs +0 -1
- package/dist/server/settingsSearchContributor-DeMn-njw.js +0 -199
- package/dist/server/stateDbStore-Ds3zJ4cd.js +0 -47
- package/dist/server/stateDbStore-THFfFGa0.cjs +0 -1
- package/dist/server/useListCommands-Bf7aOTXZ.js +0 -61
- package/dist/server/useListCommands-ucngC3t4.cjs +0 -1
- package/dist/server/useSettingsSubscription-cu943hND.js +0 -11
- package/dist/server/useSettingsSubscription-vlMrNNH9.cjs +0 -1
- package/dist/server/visibleBrowserRegistry-BTfWUlI1.cjs +0 -1
- package/dist/server/visibleBrowserRegistry-Dw2Y4y_I.js +0 -89
- package/dist/server/windowRegistry-Bk5lXIVd.js +0 -62
- package/dist/server/windowRegistry-CGvOBUsw.cjs +0 -1
- package/dist/settingsSearchContributor-C-UJc7Xc.js +0 -199
- package/dist/settingsSearchContributor-Du0SDpJt.cjs +0 -1
- package/dist/solid/_internal/app/contexts/WorkspaceTabsContext.js +0 -10
- package/dist/solid/_internal/app/settings/theme/appThemeChange.js +0 -5
- package/dist/solid/_internal/app/settings/ui/shell/openSettingsModal.js +0 -15
- package/dist/solid/_internal/base/listenerDispatch.js +0 -12
- package/dist/solid/_internal/contract/appName.js +0 -7
- package/dist/solid/_internal/contract/hostText.js +0 -15
- package/dist/solid/_internal/platform/instantiation/common/descriptors.js +0 -10
- package/dist/solid/_internal/platform/instantiation/common/instantiation.js +0 -35
- package/dist/solid/_internal/platform/instantiation/common/serviceCollection.js +0 -14
- package/dist/solid/_internal/platform/logging/rendererLogging.js +0 -42
- package/dist/solid/_internal/platform/settings/preferencesCache.js +0 -329
- package/dist/solid/feedback/preference.notifications.samples.js +0 -5
- package/dist/solid/notifications/copyToClipboard.js +0 -21
- package/dist/solid/notifications/createCopyFlash.js +0 -26
- package/dist/solid/notifications/notificationDisplayOwner.js +0 -1
- package/dist/solid/notifications/notificationRepeaterEntryFactory.js +0 -20
- package/dist/solid/notifications/notifications.notifications.samples.js +0 -14
- package/dist/solid/notifications/persistWithRollbackOnFailure.js +0 -11
- package/dist/solid/notifications/startNotificationSchedulers.js +0 -8
- package/dist/solid/notifications/startNotificationSettingsReactions.js +0 -22
- package/dist/solid/overlay/ToastHost.jsx +0 -1
- package/dist/stateDbStore-Ds3zJ4cd.js +0 -47
- package/dist/stateDbStore-THFfFGa0.cjs +0 -1
- package/dist/tooltipCoordinator-y5YP3tsJ.cjs +0 -1
- package/dist/useListCommands-Bf7aOTXZ.js +0 -61
- package/dist/useListCommands-ucngC3t4.cjs +0 -1
- package/dist/useSettingsSubscription-cu943hND.js +0 -11
- package/dist/useSettingsSubscription-vlMrNNH9.cjs +0 -1
- package/dist/visibleBrowserRegistry-BTfWUlI1.cjs +0 -1
- package/dist/visibleBrowserRegistry-Dw2Y4y_I.js +0 -89
- package/dist/windowRegistry-Bk5lXIVd.js +0 -62
- package/dist/windowRegistry-CGvOBUsw.cjs +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("solid-js/web"),s=require("solid-js"),c="vk_badge_H207K",r="vk_icon_pYYcO",l="vk_dot_rH6r0",i="vk_sm_wGIZ-",u="vk_minWidth_COglg",d="vk_uppercase_VXoV8",_="vk_toneNeutral_X8HW3",g="vk_toneBrand_yGkjl",v="vk_toneInfo_wp-9H",b="vk_toneSuccess_VG8jt",m="vk_toneWarning_zPFLO",f="vk_toneDanger_cRUoq",k="vk_soft_8b-4T",h="vk_outline_gFFWD",p="vk_collapsible_DMKBX",S="vk_label_veC9k",n={badge:c,icon:r,dot:l,sm:i,minWidth:u,uppercase:d,toneNeutral:_,toneBrand:g,toneInfo:v,toneSuccess:b,toneWarning:m,toneDanger:f,soft:k,outline:h,collapsible:p,label:S};var W=["<span",' aria-hidden="true">',"</span>"],w=["<span",' aria-hidden="true"></span>'],A=["<span",">","</span>"],B=["<span",' style="','"',">","","","</span>"];const C={neutral:n.toneNeutral,brand:n.toneBrand,info:n.toneInfo,success:n.toneSuccess,warning:n.toneWarning,danger:n.toneDanger},I={soft:n.soft,outline:n.outline};function D(t){s.createUniqueId(),s.onCleanup(()=>{});const o=()=>[n.badge,C[t.tone??"neutral"],I[t.variant??"soft"],t.size==="sm"?n.sm:void 0,t.uppercase?n.uppercase:void 0,t.minWidth?n.minWidth:void 0,t.collapsible===!0?n.collapsible:void 0,t.class].filter(a=>!!a).join(" ");return e.ssr(B,e.ssrAttribute("class",e.escape(o(),!0),!1),e.ssrStyle(t.style),e.ssrAttribute("title",e.escape(t.title,!0),!1),e.escape(e.createComponent(s.Show,{get when(){return t.icon!==void 0},get children(){return e.ssr(W,e.ssrAttribute("class",e.escape(n.icon,!0),!1),e.escape(t.icon))}})),e.escape(e.createComponent(s.Show,{get when(){return e.memo(()=>t.collapsible===!0)()&&t.icon===void 0},get children(){return e.ssr(w,e.ssrAttribute("class",e.escape(n.dot,!0),!1))}})),e.escape(e.createComponent(s.Show,{get when(){return t.collapsible===!0},get fallback(){return t.children},get children(){return e.ssr(A,e.ssrAttribute("class",e.escape(n.label,!0),!1),e.escape(t.children))}})))}function N(t){return document.createElement(t)}exports.Badge=D;exports.createElement=N;
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { ssr as s, ssrAttribute as o, escape as t, ssrStyle as r, createComponent as a, memo as i } from "solid-js/web";
|
|
2
|
-
import { createUniqueId as u, onCleanup as _, Show as l } from "solid-js";
|
|
3
|
-
const d = "vk_badge_H207K", g = "vk_icon_pYYcO", v = "vk_dot_rH6r0", m = "vk_sm_wGIZ-", f = "vk_minWidth_COglg", b = "vk_uppercase_VXoV8", k = "vk_toneNeutral_X8HW3", h = "vk_toneBrand_yGkjl", W = "vk_toneInfo_wp-9H", S = "vk_toneSuccess_VG8jt", B = "vk_toneWarning_zPFLO", p = "vk_toneDanger_cRUoq", w = "vk_soft_8b-4T", I = "vk_outline_gFFWD", C = "vk_collapsible_DMKBX", D = "vk_label_veC9k", n = {
|
|
4
|
-
badge: d,
|
|
5
|
-
icon: g,
|
|
6
|
-
dot: v,
|
|
7
|
-
sm: m,
|
|
8
|
-
minWidth: f,
|
|
9
|
-
uppercase: b,
|
|
10
|
-
toneNeutral: k,
|
|
11
|
-
toneBrand: h,
|
|
12
|
-
toneInfo: W,
|
|
13
|
-
toneSuccess: S,
|
|
14
|
-
toneWarning: B,
|
|
15
|
-
toneDanger: p,
|
|
16
|
-
soft: w,
|
|
17
|
-
outline: I,
|
|
18
|
-
collapsible: C,
|
|
19
|
-
label: D
|
|
20
|
-
};
|
|
21
|
-
var N = ["<span", ' aria-hidden="true">', "</span>"], y = ["<span", ' aria-hidden="true"></span>'], A = ["<span", ">", "</span>"], H = ["<span", ' style="', '"', ">", "", "", "</span>"];
|
|
22
|
-
const O = {
|
|
23
|
-
neutral: n.toneNeutral,
|
|
24
|
-
brand: n.toneBrand,
|
|
25
|
-
info: n.toneInfo,
|
|
26
|
-
success: n.toneSuccess,
|
|
27
|
-
warning: n.toneWarning,
|
|
28
|
-
danger: n.toneDanger
|
|
29
|
-
}, V = {
|
|
30
|
-
soft: n.soft,
|
|
31
|
-
outline: n.outline
|
|
32
|
-
};
|
|
33
|
-
function F(e) {
|
|
34
|
-
return u(), _(() => {
|
|
35
|
-
}), s(H, o("class", t([n.badge, O[e.tone ?? "neutral"], V[e.variant ?? "soft"], e.size === "sm" ? n.sm : void 0, e.uppercase ? n.uppercase : void 0, e.minWidth ? n.minWidth : void 0, e.collapsible === !0 ? n.collapsible : void 0, e.class].filter((c) => !!c).join(" "), !0), !1), r(e.style), o("title", t(e.title, !0), !1), t(a(l, {
|
|
36
|
-
get when() {
|
|
37
|
-
return e.icon !== void 0;
|
|
38
|
-
},
|
|
39
|
-
get children() {
|
|
40
|
-
return s(N, o("class", t(n.icon, !0), !1), t(e.icon));
|
|
41
|
-
}
|
|
42
|
-
})), t(a(l, {
|
|
43
|
-
get when() {
|
|
44
|
-
return i(() => e.collapsible === !0)() && e.icon === void 0;
|
|
45
|
-
},
|
|
46
|
-
get children() {
|
|
47
|
-
return s(y, o("class", t(n.dot, !0), !1));
|
|
48
|
-
}
|
|
49
|
-
})), t(a(l, {
|
|
50
|
-
get when() {
|
|
51
|
-
return e.collapsible === !0;
|
|
52
|
-
},
|
|
53
|
-
get fallback() {
|
|
54
|
-
return e.children;
|
|
55
|
-
},
|
|
56
|
-
get children() {
|
|
57
|
-
return s(A, o("class", t(n.label, !0), !1), t(e.children));
|
|
58
|
-
}
|
|
59
|
-
})));
|
|
60
|
-
}
|
|
61
|
-
function G(e) {
|
|
62
|
-
return document.createElement(e);
|
|
63
|
-
}
|
|
64
|
-
export {
|
|
65
|
-
F as B,
|
|
66
|
-
G as c
|
|
67
|
-
};
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { g } from "./rendererLogging-Edo4ALXU.js";
|
|
2
|
-
import { g as a, S as c, a as A } from "./stateDbStore-Ds3zJ4cd.js";
|
|
3
|
-
const n = /* @__PURE__ */ new Set();
|
|
4
|
-
function h(e) {
|
|
5
|
-
const t = [];
|
|
6
|
-
for (const r of e)
|
|
7
|
-
n.has(r) || (n.add(r), t.push(r));
|
|
8
|
-
return () => {
|
|
9
|
-
for (const r of t) n.delete(r);
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
function S(e) {
|
|
13
|
-
return n.has(e);
|
|
14
|
-
}
|
|
15
|
-
const l = g("ListenerDispatch");
|
|
16
|
-
function p(e, t) {
|
|
17
|
-
for (const r of Array.from(e))
|
|
18
|
-
try {
|
|
19
|
-
r();
|
|
20
|
-
} catch (d) {
|
|
21
|
-
l.error(`[${t}] listener error:`, d);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
const i = 20, o = /* @__PURE__ */ new Set(), u = "menu.favorites";
|
|
25
|
-
function v() {
|
|
26
|
-
try {
|
|
27
|
-
const e = a().get(u, c.APPLICATION), t = e === void 0 ? [] : JSON.parse(e);
|
|
28
|
-
return Array.isArray(t) ? t : [];
|
|
29
|
-
} catch {
|
|
30
|
-
return [];
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
function s() {
|
|
34
|
-
return v().filter((e) => typeof e == "string" && S(e)).slice(0, i);
|
|
35
|
-
}
|
|
36
|
-
function f(e) {
|
|
37
|
-
a().store(
|
|
38
|
-
u,
|
|
39
|
-
JSON.stringify(e.slice(0, i)),
|
|
40
|
-
c.APPLICATION,
|
|
41
|
-
A.USER
|
|
42
|
-
), p(o, "menuFavorites");
|
|
43
|
-
}
|
|
44
|
-
function F() {
|
|
45
|
-
return s();
|
|
46
|
-
}
|
|
47
|
-
function M(e) {
|
|
48
|
-
return s().includes(e);
|
|
49
|
-
}
|
|
50
|
-
function I(e) {
|
|
51
|
-
const t = s();
|
|
52
|
-
t.includes(e) || t.length >= i || f([...t, e]);
|
|
53
|
-
}
|
|
54
|
-
function O(e) {
|
|
55
|
-
const t = s().filter((r) => r !== e);
|
|
56
|
-
f(t);
|
|
57
|
-
}
|
|
58
|
-
function L(e) {
|
|
59
|
-
return o.add(e), () => o.delete(e);
|
|
60
|
-
}
|
|
61
|
-
export {
|
|
62
|
-
I as a,
|
|
63
|
-
O as b,
|
|
64
|
-
S as c,
|
|
65
|
-
F as g,
|
|
66
|
-
M as i,
|
|
67
|
-
h as r,
|
|
68
|
-
L as s
|
|
69
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
1
|
-
"use strict";const k=require("./rendererLogging-B4XML4_G.cjs"),s=require("./notification-CrxHMXsk.cjs"),K=new WeakMap;function ot(t,n){return K.set(t,[...K.get(t)??[],...n]),t}function H(t){return typeof t=="object"&&t!==null?K.get(t)??[]:[]}const O={text:(t,n)=>k.toErrorMessage(t,n),actions:t=>H(t)};let P=O;function rt(t){P=t??O}function I(){return P}function st(t,n){return I().text(t,n)}function ct(t){return I().actions(t)}const T=k.getLogger("ElectronBridge");let l={};function at(t){l=t??{}}const ut=new Set(["http:","https:","mailto:"]);function ft(t){let n;try{n=new URL(t).protocol}catch{T.warn("openExternal: unparseable URL refused",{url:t});return}if(!ut.has(n)){T.warn("openExternal: protocol refused",{url:t,protocol:n});return}if(l.openExternal){Promise.resolve(l.openExternal(t)).catch(o=>{T.warn("openExternal: host refused",{url:t,error:o})});return}typeof window<"u"&&window.open(t,"_blank","noopener,noreferrer")}function dt(t){l.osNotify&&Promise.resolve(l.osNotify(t)).catch(()=>{})}function lt(t){l.setBadgeCount&&Promise.resolve(l.setBadgeCount(t)).catch(()=>{})}async function gt(t){if(!l.readAudioAsDataUrl)return null;try{return await l.readAudioAsDataUrl(t)}catch(n){return T.warn("custom sound could not be read",{filePath:t,error:n}),null}}const mt={showSaveDialog:async t=>({filePath:(t==null?void 0:t.defaultPath)??"export.txt"}),writeFile:async(t,n)=>{if(typeof document>"u")return;const o=t.split(/[\\/]/).pop()||"export.txt",r=URL.createObjectURL(new Blob([n],{type:"text/plain;charset=utf-8"})),f=document.createElement("a");f.href=r,f.download=o,f.rel="noopener",f.click(),setTimeout(()=>URL.revokeObjectURL(r),0)}};function St(){return l.fs??mt}function wt(t){var n;if(t)return(n=l.notificationOverlay)==null?void 0:n.call(l,t)}const U=new Map;function v(t){let n=U.get(t);return n||(n={source:t,total:0,shown:0,clicked:0,dismissed:0,autoFaded:0,muted:0},U.set(t,n)),n}function yt(t,n,o){const r=v(t);r.total+=1,n&&(r.shown+=1),o&&(r.muted+=1)}function pt(t){v(t).clicked+=1}function ht(t){v(t).dismissed+=1}function At(t){v(t).autoFaded+=1}const xt=k.getLogger("NativeNotificationEngine");function Nt(t){return t.id===""}function _(t,n=s.notificationSettings.get()){if(t.durationMs!==void 0)return t.durationMs;switch(t.severity){case"info":return n.infoDurationMs;case"success":return n.successDurationMs;case"warning":return n.warningDurationMs;case"error":return n.errorDurationMs}}function C(t,n=s.notificationSettings.get()){if(t.sticky||t.priority==="urgent"||t.priority==="acknowledgment-required"||t.progress&&!t.progress.done||t.severity==="error"&&n.errorsAlwaysSticky||t.severity==="warning"&&n.warningsAlwaysSticky)return!0;const o=t.durationMs;return o!==void 0&&(!Number.isFinite(o)||o<=0)}function $(t={}){const n=t.getSettings??(()=>s.notificationSettings.get()),o=t.now??(()=>Date.now()),r=t.setTimeout??((e,i)=>window.setTimeout(e,i)),f=t.clearTimeout??(e=>window.clearTimeout(e)),S=t.recordAutoFade??At,E=t.warn??((e,i)=>xt.warn(e,i)),u=new Map,N=new Set,p=new Map;function F(){return[...u.values()].sort((e,i)=>e.createdAt-i.createdAt)}function M(e){const i=n();if(!i.pauseTimerWhileHidden)return!1;const a=F(),m=Math.max(1,i.maxVisibleNotifications);if(a.length<=m)return!1;const c=a.length-m,d=a.findIndex(b=>b.id===e);return d>=0&&d<c}function q(){for(const e of u.keys()){if(p.has(e)){M(e)&&w(e);continue}y(e)}}function g(){const e=F();for(const i of Array.from(N))try{i(e)}catch(a){E("Bildirim motoru dinleyicisi firlatti:",a)}q()}function B(e){return!!(C(e,n())||e.hovered||e.focused)}function j(e){return _(e,n())}function w(e){const i=p.get(e);i!==void 0&&(f(i),p.delete(e))}function y(e){w(e);const i=u.get(e);if(!i||B(i)||M(e))return;const a=j(i);if(!Number.isFinite(a)||a<=0)return;const m=r(()=>{p.delete(e);const c=u.get(e);c&&(B(c)||(S(c.source??"general"),u.delete(e),g()))},a);p.set(e,m)}let L=0;function W(){return L+=1,`n-${o().toString(36)}-${L.toString(36)}`}const V=800,Q=3,A=[];function X(){const e=o();for(;A.length>0&&(A[0]??0)<e-V;)A.shift();return A.length>=Q}function z(){A.push(o())}function R(e){return!e||e.length===0?"":e.filter(i=>i.primary).map(i=>`${i.id??""}::${i.label}`).sort().join("|")}function G(e){const i=e.source??"",a=R(e.actions);for(const[m,c]of u)if((c.source??"")===i&&c.title===e.title&&R(c.actions)===a)return m;return null}function J(e){const i=e.id,a=i??G(e),m=a===null;if(m&&!i&&X())return{id:"",update:()=>{},setProgress:()=>{},close:()=>{}};const c=a??W(),d=u.get(c),b={...e,id:c,createdAt:(d==null?void 0:d.createdAt)??o(),expanded:(d==null?void 0:d.expanded)??!1,hovered:(d==null?void 0:d.hovered)??!1,focused:(d==null?void 0:d.focused)??!1};return u.set(c,b),m&&z(),g(),y(c),{id:c,update(D){const x=u.get(c);x&&(u.set(c,{...x,...D}),g(),y(c))},setProgress(D){const x=u.get(c);x&&(u.set(c,{...x,progress:D}),g(),y(c))},close(){w(c),u.delete(c)&&g()}}}function Y(e){return N.add(e),e(F()),()=>{N.delete(e)}}function Z(e,i){const a=u.get(e);!a||a.hovered===i||(u.set(e,{...a,hovered:i}),g(),i?w(e):y(e))}function tt(e,i){const a=u.get(e);!a||a.focused===i||(u.set(e,{...a,focused:i}),g(),i?w(e):y(e))}function et(e){const i=u.get(e);i&&(u.set(e,{...i,expanded:!i.expanded}),g(),y(e))}function nt(e){w(e),u.delete(e)&&g()}function it(){for(const e of p.keys())w(e);u.clear(),N.clear()}return{notify:J,subscribe:Y,setHover:Z,setFocus:tt,toggleExpanded:et,close:nt,dispose:it}}const h=$(),Tt=h.notify,vt=h.subscribe,Et=h.setHover,Ft=h.setFocus,bt=h.toggleExpanded,Dt=h.close;function Kt(t,n){return`__remind:${t}:${n}`}function kt(t,n,o){const{priority:r}=t,f=t.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(r==="silent")return{showToast:!1,recordTimeline:f};const S=r==="urgent"||r==="acknowledgment-required";return n.doNotDisturb&&(!S||r==="urgent"&&n.dndBlocksUrgent)?{showToast:!1,recordTimeline:f}:o.inQuietHours&&(!S||r==="urgent"&&n.quietHoursBlocksUrgent)?{showToast:!1,recordTimeline:f}:S?n.urgentRoutesToCenterOnly&&r==="urgent"?{showToast:!1,recordTimeline:f}:{showToast:!0,recordTimeline:f}:o.sourceMuted?{showToast:!1,recordTimeline:f}:{showToast:!0,recordTimeline:f}}function Mt(t){return s.notificationSettings.get().mutedSources.includes(t)}function Bt(t){return s.notificationSettings.get().dontShowAgainKeys.includes(t)}function Lt(t){const n=Date.now();return s.notificationSettings.get().remindersUntil.some(r=>r.key===t&&r.remindAt>n)}async function Rt(t,n){if(!t||n<=0)return;const o=s.notificationSettings.get(),r=Date.now()+n,S=[...o.remindersUntil.filter(E=>E.key!==t),{key:t,remindAt:r}];s.notificationSettings.applyFromBroadcast({...o,remindersUntil:S}),await s.notificationSettings.update({...o,remindersUntil:S})}async function Ut(t,n){const o=s.notificationSettings.get(),r=n?Array.from(new Set([...o.mutedSources,t])):o.mutedSources.filter(f=>f!==t);s.notificationSettings.applyFromBroadcast({...o,mutedSources:r}),await s.notificationSettings.update({...o,mutedSources:r})}async function Ht(t){const n=s.notificationSettings.get();if(n.dontShowAgainKeys.includes(t))return;const o=[...n.dontShowAgainKeys,t];s.notificationSettings.applyFromBroadcast({...n,dontShowAgainKeys:o}),await s.notificationSettings.update({...n,dontShowAgainKeys:o})}async function Ot(t){const n=s.notificationSettings.get();if(!n.dontShowAgainKeys.includes(t))return;const o=n.dontShowAgainKeys.filter(r=>r!==t);s.notificationSettings.applyFromBroadcast({...n,dontShowAgainKeys:o}),await s.notificationSettings.update({...n,dontShowAgainKeys:o})}async function Pt(){const t=s.notificationSettings.get();t.dontShowAgainKeys.length!==0&&(s.notificationSettings.applyFromBroadcast({...t,dontShowAgainKeys:[]}),await s.notificationSettings.update({...t,dontShowAgainKeys:[]}))}async function It(){const t=s.notificationSettings.get();t.mutedSources.length!==0&&(s.notificationSettings.applyFromBroadcast({...t,mutedSources:[]}),await s.notificationSettings.update({...t,mutedSources:[]}))}exports.attachedErrorActions=H;exports.closeNotification=Dt;exports.configureDesktopBridge=at;exports.createNativeNotificationEngine=$;exports.decideFilter=kt;exports.deriveImplicitRemindKey=Kt;exports.dismissKey=Ht;exports.errorActions=ct;exports.errorText=st;exports.getFsService=St;exports.isKeyDismissed=Bt;exports.isKeyRemindSuppressed=Lt;exports.isNotificationSticky=C;exports.isSourceMuted=Mt;exports.isSpamDropHandle=Nt;exports.notificationOverlayBridge=wt;exports.notify=Tt;exports.openExternal=ft;exports.osNotify=dt;exports.provideHostErrorPresenter=rt;exports.readAudioAsDataUrl=gt;exports.recordClick=pt;exports.recordDismiss=ht;exports.recordFire=yt;exports.remindLater=Rt;exports.resolveNotificationDuration=_;exports.restoreAllKeys=Pt;exports.restoreKey=Ot;exports.setNotificationFocus=Ft;exports.setNotificationHover=Et;exports.setOsBadgeCount=lt;exports.setSourceMuted=Ut;exports.subscribeNotifications=vt;exports.toggleNotificationExpanded=bt;exports.unmuteAllSources=It;exports.withErrorActions=ot;
|
|
@@ -1,391 +0,0 @@
|
|
|
1
|
-
import { t as ee, g as L } from "./rendererLogging-Edo4ALXU.js";
|
|
2
|
-
import { n as s } from "./notification-DFbp3S_f.js";
|
|
3
|
-
const k = /* @__PURE__ */ new WeakMap();
|
|
4
|
-
function de(e, n) {
|
|
5
|
-
return k.set(e, [...k.get(e) ?? [], ...n]), e;
|
|
6
|
-
}
|
|
7
|
-
function te(e) {
|
|
8
|
-
return typeof e == "object" && e !== null ? k.get(e) ?? [] : [];
|
|
9
|
-
}
|
|
10
|
-
const H = {
|
|
11
|
-
text: (e, n) => ee(e, n),
|
|
12
|
-
actions: (e) => te(e)
|
|
13
|
-
};
|
|
14
|
-
let O = H;
|
|
15
|
-
function le(e) {
|
|
16
|
-
O = e ?? H;
|
|
17
|
-
}
|
|
18
|
-
function P() {
|
|
19
|
-
return O;
|
|
20
|
-
}
|
|
21
|
-
function ge(e, n) {
|
|
22
|
-
return P().text(e, n);
|
|
23
|
-
}
|
|
24
|
-
function me(e) {
|
|
25
|
-
return P().actions(e);
|
|
26
|
-
}
|
|
27
|
-
const v = L("ElectronBridge");
|
|
28
|
-
let l = {};
|
|
29
|
-
function we(e) {
|
|
30
|
-
l = e ?? {};
|
|
31
|
-
}
|
|
32
|
-
const ne = /* @__PURE__ */ new Set([
|
|
33
|
-
"http:",
|
|
34
|
-
"https:",
|
|
35
|
-
"mailto:"
|
|
36
|
-
]);
|
|
37
|
-
function pe(e) {
|
|
38
|
-
let n;
|
|
39
|
-
try {
|
|
40
|
-
n = new URL(e).protocol;
|
|
41
|
-
} catch {
|
|
42
|
-
v.warn("openExternal: unparseable URL refused", { url: e });
|
|
43
|
-
return;
|
|
44
|
-
}
|
|
45
|
-
if (!ne.has(n)) {
|
|
46
|
-
v.warn("openExternal: protocol refused", { url: e, protocol: n });
|
|
47
|
-
return;
|
|
48
|
-
}
|
|
49
|
-
if (l.openExternal) {
|
|
50
|
-
Promise.resolve(l.openExternal(e)).catch((o) => {
|
|
51
|
-
v.warn("openExternal: host refused", { url: e, error: o });
|
|
52
|
-
});
|
|
53
|
-
return;
|
|
54
|
-
}
|
|
55
|
-
typeof window < "u" && window.open(e, "_blank", "noopener,noreferrer");
|
|
56
|
-
}
|
|
57
|
-
function ye(e) {
|
|
58
|
-
l.osNotify && Promise.resolve(l.osNotify(e)).catch(() => {
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
function he(e) {
|
|
62
|
-
l.setBadgeCount && Promise.resolve(l.setBadgeCount(e)).catch(() => {
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
async function Se(e) {
|
|
66
|
-
if (!l.readAudioAsDataUrl) return null;
|
|
67
|
-
try {
|
|
68
|
-
return await l.readAudioAsDataUrl(e);
|
|
69
|
-
} catch (n) {
|
|
70
|
-
return v.warn("custom sound could not be read", { filePath: e, error: n }), null;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
const re = {
|
|
74
|
-
// The browser cannot show a native save dialog; the chosen name is the default one and
|
|
75
|
-
// the file is offered as a download.
|
|
76
|
-
showSaveDialog: async (e) => ({ filePath: (e == null ? void 0 : e.defaultPath) ?? "export.txt" }),
|
|
77
|
-
writeFile: async (e, n) => {
|
|
78
|
-
if (typeof document > "u") return;
|
|
79
|
-
const o = e.split(/[\\/]/).pop() || "export.txt", i = URL.createObjectURL(new Blob([n], { type: "text/plain;charset=utf-8" })), f = document.createElement("a");
|
|
80
|
-
f.href = i, f.download = o, f.rel = "noopener", f.click(), setTimeout(() => URL.revokeObjectURL(i), 0);
|
|
81
|
-
}
|
|
82
|
-
};
|
|
83
|
-
function Ae() {
|
|
84
|
-
return l.fs ?? re;
|
|
85
|
-
}
|
|
86
|
-
function xe(e) {
|
|
87
|
-
var n;
|
|
88
|
-
if (e)
|
|
89
|
-
return (n = l.notificationOverlay) == null ? void 0 : n.call(l, e);
|
|
90
|
-
}
|
|
91
|
-
const U = /* @__PURE__ */ new Map();
|
|
92
|
-
function E(e) {
|
|
93
|
-
let n = U.get(e);
|
|
94
|
-
return n || (n = {
|
|
95
|
-
source: e,
|
|
96
|
-
total: 0,
|
|
97
|
-
shown: 0,
|
|
98
|
-
clicked: 0,
|
|
99
|
-
dismissed: 0,
|
|
100
|
-
autoFaded: 0,
|
|
101
|
-
muted: 0
|
|
102
|
-
}, U.set(e, n)), n;
|
|
103
|
-
}
|
|
104
|
-
function Te(e, n, o) {
|
|
105
|
-
const i = E(e);
|
|
106
|
-
i.total += 1, n && (i.shown += 1), o && (i.muted += 1);
|
|
107
|
-
}
|
|
108
|
-
function ve(e) {
|
|
109
|
-
E(e).clicked += 1;
|
|
110
|
-
}
|
|
111
|
-
function Ee(e) {
|
|
112
|
-
E(e).dismissed += 1;
|
|
113
|
-
}
|
|
114
|
-
function oe(e) {
|
|
115
|
-
E(e).autoFaded += 1;
|
|
116
|
-
}
|
|
117
|
-
const ie = L("NativeNotificationEngine");
|
|
118
|
-
function Ne(e) {
|
|
119
|
-
return e.id === "";
|
|
120
|
-
}
|
|
121
|
-
function se(e, n = s.get()) {
|
|
122
|
-
if (e.durationMs !== void 0) return e.durationMs;
|
|
123
|
-
switch (e.severity) {
|
|
124
|
-
case "info":
|
|
125
|
-
return n.infoDurationMs;
|
|
126
|
-
case "success":
|
|
127
|
-
return n.successDurationMs;
|
|
128
|
-
case "warning":
|
|
129
|
-
return n.warningDurationMs;
|
|
130
|
-
case "error":
|
|
131
|
-
return n.errorDurationMs;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
function ce(e, n = s.get()) {
|
|
135
|
-
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;
|
|
136
|
-
const o = e.durationMs;
|
|
137
|
-
return o !== void 0 && (!Number.isFinite(o) || o <= 0);
|
|
138
|
-
}
|
|
139
|
-
function ae(e = {}) {
|
|
140
|
-
const n = e.getSettings ?? (() => s.get()), o = e.now ?? (() => Date.now()), i = e.setTimeout ?? ((t, r) => window.setTimeout(t, r)), f = e.clearTimeout ?? ((t) => window.clearTimeout(t)), w = e.recordAutoFade ?? oe, N = e.warn ?? ((t, r) => ie.warn(t, r)), u = /* @__PURE__ */ new Map(), T = /* @__PURE__ */ new Set(), h = /* @__PURE__ */ new Map();
|
|
141
|
-
function b() {
|
|
142
|
-
return [...u.values()].sort((t, r) => t.createdAt - r.createdAt);
|
|
143
|
-
}
|
|
144
|
-
function M(t) {
|
|
145
|
-
const r = n();
|
|
146
|
-
if (!r.pauseTimerWhileHidden) return !1;
|
|
147
|
-
const a = b(), m = Math.max(1, r.maxVisibleNotifications);
|
|
148
|
-
if (a.length <= m) return !1;
|
|
149
|
-
const c = a.length - m, d = a.findIndex((F) => F.id === t);
|
|
150
|
-
return d >= 0 && d < c;
|
|
151
|
-
}
|
|
152
|
-
function I() {
|
|
153
|
-
for (const t of u.keys()) {
|
|
154
|
-
if (h.has(t)) {
|
|
155
|
-
M(t) && p(t);
|
|
156
|
-
continue;
|
|
157
|
-
}
|
|
158
|
-
y(t);
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
function g() {
|
|
162
|
-
const t = b();
|
|
163
|
-
for (const r of Array.from(T))
|
|
164
|
-
try {
|
|
165
|
-
r(t);
|
|
166
|
-
} catch (a) {
|
|
167
|
-
N("Bildirim motoru dinleyicisi firlatti:", a);
|
|
168
|
-
}
|
|
169
|
-
I();
|
|
170
|
-
}
|
|
171
|
-
function K(t) {
|
|
172
|
-
return !!(ce(t, n()) || t.hovered || t.focused);
|
|
173
|
-
}
|
|
174
|
-
function _(t) {
|
|
175
|
-
return se(t, n());
|
|
176
|
-
}
|
|
177
|
-
function p(t) {
|
|
178
|
-
const r = h.get(t);
|
|
179
|
-
r !== void 0 && (f(r), h.delete(t));
|
|
180
|
-
}
|
|
181
|
-
function y(t) {
|
|
182
|
-
p(t);
|
|
183
|
-
const r = u.get(t);
|
|
184
|
-
if (!r || K(r) || M(t)) return;
|
|
185
|
-
const a = _(r);
|
|
186
|
-
if (!Number.isFinite(a) || a <= 0) return;
|
|
187
|
-
const m = i(() => {
|
|
188
|
-
h.delete(t);
|
|
189
|
-
const c = u.get(t);
|
|
190
|
-
c && (K(c) || (w(c.source ?? "general"), u.delete(t), g()));
|
|
191
|
-
}, a);
|
|
192
|
-
h.set(t, m);
|
|
193
|
-
}
|
|
194
|
-
let B = 0;
|
|
195
|
-
function C() {
|
|
196
|
-
return B += 1, `n-${o().toString(36)}-${B.toString(36)}`;
|
|
197
|
-
}
|
|
198
|
-
const $ = 800, j = 3, A = [];
|
|
199
|
-
function q() {
|
|
200
|
-
const t = o();
|
|
201
|
-
for (; A.length > 0 && (A[0] ?? 0) < t - $; )
|
|
202
|
-
A.shift();
|
|
203
|
-
return A.length >= j;
|
|
204
|
-
}
|
|
205
|
-
function W() {
|
|
206
|
-
A.push(o());
|
|
207
|
-
}
|
|
208
|
-
function R(t) {
|
|
209
|
-
return !t || t.length === 0 ? "" : t.filter((r) => r.primary).map((r) => `${r.id ?? ""}::${r.label}`).sort().join("|");
|
|
210
|
-
}
|
|
211
|
-
function V(t) {
|
|
212
|
-
const r = t.source ?? "", a = R(t.actions);
|
|
213
|
-
for (const [m, c] of u)
|
|
214
|
-
if ((c.source ?? "") === r && c.title === t.title && R(c.actions) === a)
|
|
215
|
-
return m;
|
|
216
|
-
return null;
|
|
217
|
-
}
|
|
218
|
-
function z(t) {
|
|
219
|
-
const r = t.id, a = r ?? V(t), m = a === null;
|
|
220
|
-
if (m && !r && q())
|
|
221
|
-
return {
|
|
222
|
-
id: "",
|
|
223
|
-
update: () => {
|
|
224
|
-
},
|
|
225
|
-
setProgress: () => {
|
|
226
|
-
},
|
|
227
|
-
close: () => {
|
|
228
|
-
}
|
|
229
|
-
};
|
|
230
|
-
const c = a ?? C(), d = u.get(c), F = {
|
|
231
|
-
...t,
|
|
232
|
-
id: c,
|
|
233
|
-
createdAt: (d == null ? void 0 : d.createdAt) ?? o(),
|
|
234
|
-
// Default to collapsed so long error traces do not cover the screen;
|
|
235
|
-
// the user can expand via the chevron button.
|
|
236
|
-
expanded: (d == null ? void 0 : d.expanded) ?? !1,
|
|
237
|
-
hovered: (d == null ? void 0 : d.hovered) ?? !1,
|
|
238
|
-
focused: (d == null ? void 0 : d.focused) ?? !1
|
|
239
|
-
};
|
|
240
|
-
return u.set(c, F), m && W(), g(), y(c), {
|
|
241
|
-
id: c,
|
|
242
|
-
update(D) {
|
|
243
|
-
const x = u.get(c);
|
|
244
|
-
x && (u.set(c, { ...x, ...D }), g(), y(c));
|
|
245
|
-
},
|
|
246
|
-
setProgress(D) {
|
|
247
|
-
const x = u.get(c);
|
|
248
|
-
x && (u.set(c, { ...x, progress: D }), g(), y(c));
|
|
249
|
-
},
|
|
250
|
-
close() {
|
|
251
|
-
p(c), u.delete(c) && g();
|
|
252
|
-
}
|
|
253
|
-
};
|
|
254
|
-
}
|
|
255
|
-
function G(t) {
|
|
256
|
-
return T.add(t), t(b()), () => {
|
|
257
|
-
T.delete(t);
|
|
258
|
-
};
|
|
259
|
-
}
|
|
260
|
-
function J(t, r) {
|
|
261
|
-
const a = u.get(t);
|
|
262
|
-
!a || a.hovered === r || (u.set(t, { ...a, hovered: r }), g(), r ? p(t) : y(t));
|
|
263
|
-
}
|
|
264
|
-
function Q(t, r) {
|
|
265
|
-
const a = u.get(t);
|
|
266
|
-
!a || a.focused === r || (u.set(t, { ...a, focused: r }), g(), r ? p(t) : y(t));
|
|
267
|
-
}
|
|
268
|
-
function X(t) {
|
|
269
|
-
const r = u.get(t);
|
|
270
|
-
r && (u.set(t, { ...r, expanded: !r.expanded }), g(), y(t));
|
|
271
|
-
}
|
|
272
|
-
function Y(t) {
|
|
273
|
-
p(t), u.delete(t) && g();
|
|
274
|
-
}
|
|
275
|
-
function Z() {
|
|
276
|
-
for (const t of h.keys()) p(t);
|
|
277
|
-
u.clear(), T.clear();
|
|
278
|
-
}
|
|
279
|
-
return {
|
|
280
|
-
notify: z,
|
|
281
|
-
subscribe: G,
|
|
282
|
-
setHover: J,
|
|
283
|
-
setFocus: Q,
|
|
284
|
-
toggleExpanded: X,
|
|
285
|
-
close: Y,
|
|
286
|
-
dispose: Z
|
|
287
|
-
};
|
|
288
|
-
}
|
|
289
|
-
const S = ae(), be = S.notify, Fe = S.subscribe, De = S.setHover, ke = S.setFocus, Me = S.toggleExpanded, Ke = S.close;
|
|
290
|
-
function Be(e, n) {
|
|
291
|
-
return `__remind:${e}:${n}`;
|
|
292
|
-
}
|
|
293
|
-
function Re(e, n, o) {
|
|
294
|
-
const { priority: i } = e, f = e.recordTimeline !== !1;
|
|
295
|
-
if (!n.notificationsEnabled)
|
|
296
|
-
return { showToast: !1, recordTimeline: !1 };
|
|
297
|
-
if (o.dismissed)
|
|
298
|
-
return { showToast: !1, recordTimeline: !1 };
|
|
299
|
-
if (o.remindSuppressed)
|
|
300
|
-
return { showToast: !1, recordTimeline: !1 };
|
|
301
|
-
if (i === "silent")
|
|
302
|
-
return { showToast: !1, recordTimeline: f };
|
|
303
|
-
const w = i === "urgent" || i === "acknowledgment-required";
|
|
304
|
-
return n.doNotDisturb && (!w || i === "urgent" && n.dndBlocksUrgent) ? { showToast: !1, recordTimeline: f } : o.inQuietHours && (!w || i === "urgent" && n.quietHoursBlocksUrgent) ? { showToast: !1, recordTimeline: f } : w ? n.urgentRoutesToCenterOnly && i === "urgent" ? { showToast: !1, recordTimeline: f } : { showToast: !0, recordTimeline: f } : o.sourceMuted ? { showToast: !1, recordTimeline: f } : { showToast: !0, recordTimeline: f };
|
|
305
|
-
}
|
|
306
|
-
function Ue(e) {
|
|
307
|
-
return s.get().mutedSources.includes(e);
|
|
308
|
-
}
|
|
309
|
-
function Le(e) {
|
|
310
|
-
return s.get().dontShowAgainKeys.includes(e);
|
|
311
|
-
}
|
|
312
|
-
function He(e) {
|
|
313
|
-
const n = Date.now();
|
|
314
|
-
return s.get().remindersUntil.some((i) => i.key === e && i.remindAt > n);
|
|
315
|
-
}
|
|
316
|
-
async function Oe(e, n) {
|
|
317
|
-
if (!e || n <= 0) return;
|
|
318
|
-
const o = s.get(), i = Date.now() + n, w = [...o.remindersUntil.filter((N) => N.key !== e), { key: e, remindAt: i }];
|
|
319
|
-
s.applyFromBroadcast({ ...o, remindersUntil: w }), await s.update({ ...o, remindersUntil: w });
|
|
320
|
-
}
|
|
321
|
-
async function Pe(e, n) {
|
|
322
|
-
const o = s.get(), i = n ? Array.from(/* @__PURE__ */ new Set([...o.mutedSources, e])) : o.mutedSources.filter((f) => f !== e);
|
|
323
|
-
s.applyFromBroadcast({ ...o, mutedSources: i }), await s.update({ ...o, mutedSources: i });
|
|
324
|
-
}
|
|
325
|
-
async function Ie(e) {
|
|
326
|
-
const n = s.get();
|
|
327
|
-
if (n.dontShowAgainKeys.includes(e)) return;
|
|
328
|
-
const o = [...n.dontShowAgainKeys, e];
|
|
329
|
-
s.applyFromBroadcast({
|
|
330
|
-
...n,
|
|
331
|
-
dontShowAgainKeys: o
|
|
332
|
-
}), await s.update({ ...n, dontShowAgainKeys: o });
|
|
333
|
-
}
|
|
334
|
-
async function _e(e) {
|
|
335
|
-
const n = s.get();
|
|
336
|
-
if (!n.dontShowAgainKeys.includes(e)) return;
|
|
337
|
-
const o = n.dontShowAgainKeys.filter((i) => i !== e);
|
|
338
|
-
s.applyFromBroadcast({
|
|
339
|
-
...n,
|
|
340
|
-
dontShowAgainKeys: o
|
|
341
|
-
}), await s.update({ ...n, dontShowAgainKeys: o });
|
|
342
|
-
}
|
|
343
|
-
async function Ce() {
|
|
344
|
-
const e = s.get();
|
|
345
|
-
e.dontShowAgainKeys.length !== 0 && (s.applyFromBroadcast({
|
|
346
|
-
...e,
|
|
347
|
-
dontShowAgainKeys: []
|
|
348
|
-
}), await s.update({ ...e, dontShowAgainKeys: [] }));
|
|
349
|
-
}
|
|
350
|
-
async function $e() {
|
|
351
|
-
const e = s.get();
|
|
352
|
-
e.mutedSources.length !== 0 && (s.applyFromBroadcast({ ...e, mutedSources: [] }), await s.update({ ...e, mutedSources: [] }));
|
|
353
|
-
}
|
|
354
|
-
export {
|
|
355
|
-
Se as A,
|
|
356
|
-
he as B,
|
|
357
|
-
Te as C,
|
|
358
|
-
ve as D,
|
|
359
|
-
ye as E,
|
|
360
|
-
pe as F,
|
|
361
|
-
me as G,
|
|
362
|
-
Ee as H,
|
|
363
|
-
Ae as I,
|
|
364
|
-
xe as J,
|
|
365
|
-
te as a,
|
|
366
|
-
Ke as b,
|
|
367
|
-
we as c,
|
|
368
|
-
ae as d,
|
|
369
|
-
Re as e,
|
|
370
|
-
Be as f,
|
|
371
|
-
Ie as g,
|
|
372
|
-
He as h,
|
|
373
|
-
Le as i,
|
|
374
|
-
ce as j,
|
|
375
|
-
Ue as k,
|
|
376
|
-
Ne as l,
|
|
377
|
-
se as m,
|
|
378
|
-
be as n,
|
|
379
|
-
Ce as o,
|
|
380
|
-
le as p,
|
|
381
|
-
_e as q,
|
|
382
|
-
Oe as r,
|
|
383
|
-
ke as s,
|
|
384
|
-
De as t,
|
|
385
|
-
Pe as u,
|
|
386
|
-
Fe as v,
|
|
387
|
-
de as w,
|
|
388
|
-
Me as x,
|
|
389
|
-
$e as y,
|
|
390
|
-
ge as z
|
|
391
|
-
};
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import { createSignal as v } from "solid-js";
|
|
2
|
-
import { d as w } from "./windowRegistry-Bk5lXIVd.js";
|
|
3
|
-
import { g, S as d, a as P } from "./stateDbStore-Ds3zJ4cd.js";
|
|
4
|
-
const c = {
|
|
5
|
-
get: (e) => g().get(e, d.APPLICATION),
|
|
6
|
-
set: (e, t) => g().store(e, t, d.APPLICATION, P.MACHINE)
|
|
7
|
-
}, m = /* @__PURE__ */ new Map(), [T, I] = v(
|
|
8
|
-
null
|
|
9
|
-
);
|
|
10
|
-
function x() {
|
|
11
|
-
return T();
|
|
12
|
-
}
|
|
13
|
-
function n(e) {
|
|
14
|
-
return e === "filesystem" ? "file-system" : e === "explorer" ? "database-explorer" : e;
|
|
15
|
-
}
|
|
16
|
-
function y(e) {
|
|
17
|
-
const t = T();
|
|
18
|
-
return t !== null && n(t) === n(e);
|
|
19
|
-
}
|
|
20
|
-
function W(e) {
|
|
21
|
-
I(e ? n(e) : null);
|
|
22
|
-
}
|
|
23
|
-
const p = (e) => `onboarding:page:${n(e)}`, A = "onboarding:neverShowAgain";
|
|
24
|
-
let i = null;
|
|
25
|
-
function N() {
|
|
26
|
-
return i !== null || (i = c.get(A) === "true"), i;
|
|
27
|
-
}
|
|
28
|
-
function C(e) {
|
|
29
|
-
i = e, c.set(A, e ? "true" : "false");
|
|
30
|
-
}
|
|
31
|
-
function E(e) {
|
|
32
|
-
if (N()) return "skipped";
|
|
33
|
-
const t = n(e);
|
|
34
|
-
return m.get(t) ?? c.get(p(t));
|
|
35
|
-
}
|
|
36
|
-
function H(e, t) {
|
|
37
|
-
const u = n(e);
|
|
38
|
-
m.set(u, t), c.set(p(u), t);
|
|
39
|
-
}
|
|
40
|
-
let S = !1;
|
|
41
|
-
function O(e) {
|
|
42
|
-
S = e;
|
|
43
|
-
}
|
|
44
|
-
function _() {
|
|
45
|
-
return S;
|
|
46
|
-
}
|
|
47
|
-
const a = /* @__PURE__ */ new Set();
|
|
48
|
-
let s = null, o = null;
|
|
49
|
-
function q(e) {
|
|
50
|
-
return s && s !== e ? !1 : (s = e, !0);
|
|
51
|
-
}
|
|
52
|
-
function D(e) {
|
|
53
|
-
s === e && (s = null);
|
|
54
|
-
}
|
|
55
|
-
function L(e) {
|
|
56
|
-
return a.add(e), () => a.delete(e);
|
|
57
|
-
}
|
|
58
|
-
function M(e) {
|
|
59
|
-
var f;
|
|
60
|
-
o = null;
|
|
61
|
-
const t = e ? n(e) : void 0;
|
|
62
|
-
s = null;
|
|
63
|
-
for (const r of a)
|
|
64
|
-
(!t || n(r.page) !== t) && ((f = r.dismiss) == null || f.call(r));
|
|
65
|
-
const u = Array.from(a).filter(
|
|
66
|
-
(r) => r.visible() && (!t || n(r.page) === t)
|
|
67
|
-
), l = u.find((r) => r.document() === w().document) ?? u[0];
|
|
68
|
-
return l ? (l.start(), !0) : (t && (o = { page: t, expires: Date.now() + 15e3 }), !1);
|
|
69
|
-
}
|
|
70
|
-
function R(e) {
|
|
71
|
-
if (!o || n(o.page) !== n(e))
|
|
72
|
-
return !1;
|
|
73
|
-
const t = o.expires > Date.now();
|
|
74
|
-
return o = null, t;
|
|
75
|
-
}
|
|
76
|
-
export {
|
|
77
|
-
q as a,
|
|
78
|
-
R as b,
|
|
79
|
-
n as c,
|
|
80
|
-
y as d,
|
|
81
|
-
L as e,
|
|
82
|
-
D as f,
|
|
83
|
-
x as g,
|
|
84
|
-
M as h,
|
|
85
|
-
N as i,
|
|
86
|
-
C as j,
|
|
87
|
-
O as k,
|
|
88
|
-
_ as l,
|
|
89
|
-
E as r,
|
|
90
|
-
W as s,
|
|
91
|
-
H as w
|
|
92
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const p=require("solid-js"),w=require("./windowRegistry-CGvOBUsw.cjs"),s=require("./stateDbStore-THFfFGa0.cjs"),l={get:e=>s.getSettingsBackend().get(e,s.StorageScope.APPLICATION),set:(e,t)=>s.getSettingsBackend().store(e,t,s.StorageScope.APPLICATION,s.StorageTarget.MACHINE)},T=new Map,[d,P]=p.createSignal(null);function N(){return d()}function r(e){return e==="filesystem"?"file-system":e==="explorer"?"database-explorer":e}function h(e){const t=d();return t!==null&&r(t)===r(e)}function k(e){P(e?r(e):null)}const S=e=>`onboarding:page:${r(e)}`,A="onboarding:neverShowAgain";let c=null;function m(){return c!==null||(c=l.get(A)==="true"),c}function I(e){c=e,l.set(A,e?"true":"false")}function q(e){if(m())return"skipped";const t=r(e);return T.get(t)??l.get(S(t))}function W(e,t){const i=r(e);T.set(i,t),l.set(S(i),t)}let v=!1;function y(e){v=e}function b(){return v}const a=new Set;let u=null,o=null;function x(e){return u&&u!==e?!1:(u=e,!0)}function C(e){u===e&&(u=null)}function E(e){return a.add(e),()=>a.delete(e)}function H(e){var f;o=null;const t=e?r(e):void 0;u=null;for(const n of a)(!t||r(n.page)!==t)&&((f=n.dismiss)==null||f.call(n));const i=Array.from(a).filter(n=>n.visible()&&(!t||r(n.page)===t)),g=i.find(n=>n.document()===w.getActiveWindow$1().document)??i[0];return g?(g.start(),!0):(t&&(o={page:t,expires:Date.now()+15e3}),!1)}function R(e){if(!o||r(o.page)!==r(e))return!1;const t=o.expires>Date.now();return o=null,t}exports.canonicalTourPageId=r;exports.claimTour=x;exports.consumeTourRequest=R;exports.getActiveTourPage=N;exports.isNeverShowToursAgain=m;exports.isPageTourActive=h;exports.readTourStatus=q;exports.registerTourHost=E;exports.releaseTour=C;exports.requestPageTour=H;exports.setActiveTour=k;exports.setNeverShowToursAgain=I;exports.setSkipWelcome=y;exports.shouldSkipWelcome=b;exports.writeTourStatus=W;
|