@vokril/ui-solid 0.13.0 → 0.18.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 +52 -0
- package/README.md +110 -31
- package/dist/{AttributeGrid-Bg88JYZI.cjs → AttributeGrid-7cLOWtPn.cjs} +1 -1
- package/dist/{AttributeGrid-BypjAajJ.js → AttributeGrid-CVyqzT7-.js} +5 -5
- package/dist/{Button-Db6wMY-3.js → Button-BiKPB3cH.js} +2 -2
- package/dist/{Button-d9jJBibg.cjs → Button-Nx7byQZc.cjs} +1 -1
- package/dist/CommandPalette-BH7c1cbU.js +3968 -0
- package/dist/CommandPalette-Dfb4V-Hb.cjs +2 -0
- package/dist/{CopyButton-C93PFyYK.js → CopyButton-BF7L1TCO.js} +1 -1
- package/dist/{CopyButton-CXaZRU7b.cjs → CopyButton-BtgGbiy9.cjs} +1 -1
- package/dist/DateRangePicker-Ce2tTbJ4.cjs +9 -0
- package/dist/{DateRangePicker-D-5rg3h1.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-DPT-QfsC.cjs → IconPicker-4bdAeGxS.cjs} +1 -1
- package/dist/{IconPicker-C3ZwWkB1.js → IconPicker-Df6uIUpJ.js} +4 -4
- package/dist/{Input-Ca8fLm_s.cjs → Input-CZruORyy.cjs} +1 -1
- package/dist/{Input-gq8EcQao.js → Input-DkPhsdfk.js} +2 -2
- package/dist/Modal-CQG8l4x7.cjs +1 -0
- package/dist/{Modal-C4l_yuY9.js → Modal-CUPe98-o.js} +5 -5
- package/dist/PageSkeleton-C3mo6UGh.cjs +30 -0
- package/dist/{PageSkeleton-C95fXUUk.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-BpOD2_A-.js → SearchableSelect-C01brsF0.js} +5 -5
- package/dist/{SearchableSelect-MN5azo9r.cjs → SearchableSelect-pCaUie2M.cjs} +1 -1
- package/dist/StatusBarNotificationBell-BwqVV09r.js +14266 -0
- package/dist/StatusBarNotificationBell-C5Zc2IvW.cjs +50 -0
- package/dist/{Stepper-BgDx1cPX.js → Stepper-38IAEOyT.js} +3 -3
- package/dist/{Stepper-D7rXGxdg.cjs → Stepper-CtaTpnQu.cjs} +1 -1
- package/dist/{Textarea-BueHsjOk.js → Textarea-B5QqqKnI.js} +1 -1
- package/dist/{Textarea-BltpSavs.cjs → Textarea-CeAGf08O.cjs} +1 -1
- package/dist/{TimeSeriesChart-C3o7NZPh.js → TimeSeriesChart-ByKG4E1G.js} +2 -2
- package/dist/{TimeSeriesChart-DhYtrAgX.cjs → TimeSeriesChart-_NOs_Job.cjs} +1 -1
- package/dist/ToggleButton-Bz3zAtec.cjs +1 -0
- package/dist/{ToggleButton-DCP7f6Uo.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 +8 -4
- package/dist/_internal/app/settings/secrets/notificationSecrets.d.ts +8 -4
- 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/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 +5 -0
- package/dist/_internal/platform/settings/settingsTypes.d.ts +5 -0
- 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-CrCl515S.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-DY3BTuca.cjs → headerIconOverrides-Bn1QuODq.cjs} +1 -1
- package/dist/{server/headerIconOverrides-B7TQUBmD.js → headerIconOverrides-Dh2PaOcO.js} +1 -1
- package/dist/host/index.cjs +1 -1
- package/dist/host/index.d.cts +14 -16
- package/dist/host/index.d.ts +14 -16
- package/dist/host/index.js +53 -90
- package/dist/host/kitHost.d.cts +42 -0
- package/dist/host/kitHost.d.ts +42 -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/{server/i18n-D9k9xwuD.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 +665 -738
- 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/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 +6 -12
- package/dist/notifications/index.d.ts +6 -12
- package/dist/notifications/index.js +64 -104
- 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 +16 -17
- package/dist/overlay/ConfirmDialog.d.ts +16 -17
- 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/dialogShellKeyIntent.d.cts +3 -3
- package/dist/overlay/dialogShellKeyIntent.d.ts +3 -3
- 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-UJtHTip2.js → AttributeGrid-B2s_rp00.js} +3 -3
- package/dist/server/{AttributeGrid-CyMsR4GC.cjs → AttributeGrid-C7aWbIe5.cjs} +1 -1
- package/dist/server/{Button-BesBg6eW.js → Button-Ck03cbUs.js} +1 -1
- package/dist/server/{Button-PZulLru4.cjs → Button-DWFMF5y0.cjs} +1 -1
- package/dist/server/CommandPalette-DwlWZI1s.js +3224 -0
- package/dist/server/CommandPalette-VewDIghb.cjs +1 -0
- package/dist/server/{CopyButton-D_sN2Ggp.cjs → CopyButton-BOmAUQD4.cjs} +1 -1
- package/dist/server/{CopyButton-I5xsXV07.js → CopyButton-UvtFwOtA.js} +1 -1
- package/dist/server/DateRangePicker-BJteKzOY.cjs +9 -0
- package/dist/server/{DateRangePicker-DGUl2aE3.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-BlD0VBca.cjs → IconPicker-9DfOxql6.cjs} +1 -1
- package/dist/server/{IconPicker-o8hUxjYU.js → IconPicker-N0wub1Aj.js} +4 -4
- package/dist/server/Modal-D__GTo-n.cjs +1 -0
- package/dist/server/{Modal-DmF6CwfY.js → Modal-DeQjfpkG.js} +3 -3
- package/dist/server/{PageSkeleton-BigztY5i.js → PageSkeleton-C41pXOcr.js} +460 -458
- package/dist/server/PageSkeleton-D4i-UcnI.cjs +30 -0
- package/dist/server/{SearchableSelect-Dn-cssWx.js → SearchableSelect-CEcuBnge.js} +2 -2
- package/dist/server/{SearchableSelect-R0Dwz9rz.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-dBm8YaCw.cjs → Stepper--pusyxso.cjs} +1 -1
- package/dist/server/{Stepper-BaQ6Kexj.js → Stepper-B_eL85hK.js} +1 -1
- package/dist/server/{TimeSeriesChart-BbbfDyeA.js → TimeSeriesChart-aSHquoBv.js} +1 -1
- package/dist/server/{TimeSeriesChart-qPgMkkaW.cjs → TimeSeriesChart-nZeB5jtN.cjs} +1 -1
- package/dist/server/ToggleButton-57_0SA-V.cjs +1 -0
- package/dist/server/{ToggleButton-C0_QpslP.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-CYCi8g4r.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-DtZDXBe6.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-BCX5GH0P.js → focusModality-nWNVX3JG.js} +41 -41
- 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-DY3BTuca.cjs → headerIconOverrides-Bn1QuODq.cjs} +1 -1
- package/dist/{headerIconOverrides-B7TQUBmD.js → server/headerIconOverrides-Dh2PaOcO.js} +1 -1
- package/dist/server/host/index.cjs +1 -1
- package/dist/server/host/index.js +53 -90
- package/dist/server/i18n/index.cjs +1 -1
- package/dist/server/i18n/index.js +1 -1
- package/dist/{i18n-D9k9xwuD.js → server/i18n-DW9kcu0G.js} +180 -178
- package/dist/server/i18n-DZ0JlZal.cjs +4 -0
- package/dist/server/{index-B4epvfiq.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 +825 -898
- 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 -103
- package/dist/server/overlay/index.cjs +1 -1
- package/dist/server/overlay/index.js +115 -120
- 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/server/{notification-CpDYN_iu.js → 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 +0 -10
- 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/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 +2 -3
- 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 +8 -16
- 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 -104
- 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 +3 -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 +14 -58
- 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-Zim5pWzk.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/{notification-CpDYN_iu.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-DeEImZ8D.cjs +0 -2
- package/dist/CommandPalette-yqvM9AuU.js +0 -3897
- package/dist/DateRangePicker-7t4JKCp1.cjs +0 -9
- package/dist/GuidedTour-C_Lxe1t_.cjs +0 -21
- package/dist/GuidedTour-lsljVkPL.js +0 -11216
- package/dist/HostWindowContext-DqDeJmBP.cjs +0 -1
- package/dist/HostWindowContext-KL4U1qUv.js +0 -40
- package/dist/Modal-CJhd27dM.cjs +0 -1
- package/dist/PageSkeleton-SYSL4Adl.cjs +0 -30
- package/dist/Progress-B5YmNeyU.js +0 -56
- package/dist/Progress-BNy0wsJl.cjs +0 -1
- package/dist/StatusBarNotificationBell-B1bvE_SO.js +0 -2140
- package/dist/StatusBarNotificationBell-Cqo6cZbO.cjs +0 -4
- package/dist/ToggleButton-BmwDfsn4.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/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/appThemeDerivation-DmKbTiFi.cjs +0 -1
- package/dist/catalogNotify-BcY9oqVy.js +0 -1223
- package/dist/catalogNotify-DacJjC-p.cjs +0 -27
- package/dist/createResizableSidebar-BIhyo5zN.cjs +0 -1
- package/dist/createResizableSidebar-Cqv-1IXG.js +0 -461
- package/dist/defineSettings-CcYXt2Jf.js +0 -391
- package/dist/defineSettings-yHQdUwxI.cjs +0 -1
- package/dist/descriptor-Dmch-3AF.cjs +0 -1
- package/dist/dialogFocusRestore-B4ggeVAM.js +0 -64
- package/dist/dialogFocusRestore-BcMPrbig.cjs +0 -1
- package/dist/displayOwner-eYQHHvjt.cjs +0 -1
- package/dist/displayOwner-mT80Oyi-.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-BNjYldd9.cjs +0 -1
- package/dist/focusModality-DxudpWPs.js +0 -135
- package/dist/format-BS7oDguE.js +0 -298
- package/dist/format-CuANkXXB.cjs +0 -1
- package/dist/i18n-DXXArz-m.cjs +0 -4
- package/dist/keys-BeeC5_RZ.cjs +0 -1
- package/dist/mainRealmDom-CkoRyNhZ.cjs +0 -1
- package/dist/mainRealmDom-kEStLHIY.js +0 -102
- package/dist/menuFavorites-BmdM_qV5.js +0 -69
- package/dist/menuFavorites-DoDFvtlQ.cjs +0 -1
- package/dist/notification-DygvQB_o.cjs +0 -1
- package/dist/notificationSuppressions-DGfo2QKG.cjs +0 -1
- package/dist/notificationSuppressions-ddyK85cB.js +0 -430
- 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-Bow6TxP1.js +0 -65
- package/dist/preferencesCache-D7mm43_n.cjs +0 -1
- package/dist/rendererLogging-Dt5FZ8mq.cjs +0 -7
- package/dist/rendererLogging-gAhiHWkA.js +0 -822
- package/dist/server/CommandPalette-C8treS8g.cjs +0 -1
- package/dist/server/CommandPalette-Dslsq5Ez.js +0 -3155
- package/dist/server/DateRangePicker-CDKi9BAf.cjs +0 -9
- package/dist/server/GuidedTour-B3T9rAPX.cjs +0 -20
- package/dist/server/GuidedTour-DSoSZZby.js +0 -10983
- package/dist/server/HostWindowContext-DqDeJmBP.cjs +0 -1
- package/dist/server/HostWindowContext-KL4U1qUv.js +0 -40
- package/dist/server/Modal-CCUwQYso.cjs +0 -1
- package/dist/server/PageSkeleton-DdpXfZoC.cjs +0 -30
- package/dist/server/Progress-CRbj6nEy.cjs +0 -1
- package/dist/server/Progress-nsDy6clG.js +0 -41
- package/dist/server/StatusBarNotificationBell-C64Odn2C.js +0 -1974
- package/dist/server/StatusBarNotificationBell-DY0Q27su.cjs +0 -4
- package/dist/server/ToggleButton-1bNYk35x.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/appThemeDerivation-DmKbTiFi.cjs +0 -1
- package/dist/server/catalogNotify-MCW2sa2e.cjs +0 -27
- package/dist/server/catalogNotify-s3YymAe8.js +0 -1261
- package/dist/server/createResizableSidebar-MIzUlfdd.js +0 -299
- package/dist/server/createResizableSidebar-TdxLuiY8.cjs +0 -1
- package/dist/server/defineSettings-CcYXt2Jf.js +0 -391
- package/dist/server/defineSettings-yHQdUwxI.cjs +0 -1
- package/dist/server/descriptor-DAyyoF-I.cjs +0 -1
- package/dist/server/dialogFocusRestore-B4ggeVAM.js +0 -64
- package/dist/server/dialogFocusRestore-BcMPrbig.cjs +0 -1
- package/dist/server/displayOwner-eYQHHvjt.cjs +0 -1
- package/dist/server/displayOwner-mT80Oyi-.js +0 -75
- package/dist/server/focusModality-BKgJWRlC.cjs +0 -1
- package/dist/server/format-WfZycMBL.cjs +0 -1
- package/dist/server/i18n-DXXArz-m.cjs +0 -4
- package/dist/server/index-DlQYWckZ.cjs +0 -1
- package/dist/server/mainRealmDom-BCL1p_q6.cjs +0 -1
- package/dist/server/mainRealmDom-Dk0xb5Gj.js +0 -67
- package/dist/server/menuFavorites-BmdM_qV5.js +0 -69
- package/dist/server/menuFavorites-DoDFvtlQ.cjs +0 -1
- package/dist/server/notification-DygvQB_o.cjs +0 -1
- package/dist/server/notificationSuppressions-B-LKq9ZU.js +0 -391
- package/dist/server/notificationSuppressions-Dcc2WFBZ.cjs +0 -1
- package/dist/server/pageTourState-CIr8ockR.js +0 -92
- package/dist/server/pageTourState-D8Uapyft.cjs +0 -1
- package/dist/server/preferencesCache-Bow6TxP1.js +0 -65
- package/dist/server/preferencesCache-D7mm43_n.cjs +0 -1
- package/dist/server/rendererLogging-Dt5FZ8mq.cjs +0 -7
- package/dist/server/rendererLogging-gAhiHWkA.js +0 -822
- package/dist/server/settingsSearchContributor-CRZsl2Q_.js +0 -199
- package/dist/server/settingsSearchContributor-DH8UFpp2.cjs +0 -1
- 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-DWP5dwn3.js +0 -199
- package/dist/settingsSearchContributor-Dltbs1j_.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/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-Causlcgt.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
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { createComponent as l, Portal as a } from "solid-js/web";
|
|
2
|
+
import { onMount as m } from "solid-js";
|
|
3
|
+
import { u as c, n as i } from "./overlayStack-DvGdPMdq.js";
|
|
4
|
+
function y(e) {
|
|
5
|
+
var o;
|
|
6
|
+
const n = e.open ?? (() => !0), u = () => {
|
|
7
|
+
const t = e.mount;
|
|
8
|
+
return t.nodeType === Node.DOCUMENT_NODE ? t : t.ownerDocument ?? void 0;
|
|
9
|
+
}, r = c(n, e.idPrefix ?? "portal-overlay", {
|
|
10
|
+
type: e.modal === !0 ? "modal" : e.type,
|
|
11
|
+
element: e.element,
|
|
12
|
+
document: u
|
|
13
|
+
});
|
|
14
|
+
return (o = e.onLayer) == null || o.call(e, r), m(() => {
|
|
15
|
+
i();
|
|
16
|
+
}), l(a, {
|
|
17
|
+
get mount() {
|
|
18
|
+
return e.mount;
|
|
19
|
+
},
|
|
20
|
+
get children() {
|
|
21
|
+
return e.children;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
function O(e, n) {
|
|
26
|
+
return e === !0 && n === !1;
|
|
27
|
+
}
|
|
28
|
+
function v(e) {
|
|
29
|
+
return e !== null && typeof e.focus == "function" ? (e.focus(), !0) : !1;
|
|
30
|
+
}
|
|
31
|
+
export {
|
|
32
|
+
y as O,
|
|
33
|
+
v as r,
|
|
34
|
+
O as s
|
|
35
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const u=require("solid-js/web"),i=require("solid-js"),r=require("./overlayStack-DvKYN7SD.cjs");function a(e){var o;const t=e.open??(()=>!0),l=()=>{const n=e.mount;return n.nodeType===Node.DOCUMENT_NODE?n:n.ownerDocument??void 0},c=r.useOverlayRegistration(t,e.idPrefix??"portal-overlay",{type:e.modal===!0?"modal":e.type,element:e.element,document:l});return(o=e.onLayer)==null||o.call(e,c),i.onMount(()=>{r.notifyOverlayChanged()}),u.createComponent(u.Portal,{get mount(){return e.mount},get children(){return e.children}})}function s(e,t){return e===!0&&t===!1}function d(e){return e!==null&&typeof e.focus=="function"?(e.focus(),!0):!1}exports.OverlayPortal=a;exports.restoreFocusTo=d;exports.shouldRestoreFocusOnDialogClose=s;
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
var x = Object.defineProperty;
|
|
2
|
+
var E = (t, e, r) => e in t ? x(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
3
|
+
var p = (t, e, r) => E(t, typeof e != "symbol" ? e + "" : e, r);
|
|
4
|
+
import { o as B } from "./errorHandler-BvPGW-Nm.js";
|
|
5
|
+
import { B as A } from "./bugIndicatingError-h3J5qkL6.js";
|
|
6
|
+
import { createContext as y, useContext as b, createSignal as L } from "solid-js";
|
|
7
|
+
var h;
|
|
8
|
+
((t) => {
|
|
9
|
+
t.None = () => ({ dispose() {
|
|
10
|
+
} });
|
|
11
|
+
function e(o) {
|
|
12
|
+
return (c, i) => {
|
|
13
|
+
let d = !1;
|
|
14
|
+
const f = o((a) => {
|
|
15
|
+
d || (d = !0, f.dispose(), c.call(i, a));
|
|
16
|
+
});
|
|
17
|
+
return f;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
t.once = e;
|
|
21
|
+
function r(o) {
|
|
22
|
+
return new Promise((c) => e(o)(c));
|
|
23
|
+
}
|
|
24
|
+
t.toPromise = r;
|
|
25
|
+
function s(o, c, i) {
|
|
26
|
+
return (d, f) => {
|
|
27
|
+
const a = o((l) => {
|
|
28
|
+
c(l) && d.call(f, l);
|
|
29
|
+
});
|
|
30
|
+
return i == null || i.add(a), a;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
t.filter = s;
|
|
34
|
+
function n(o, c, i = 100) {
|
|
35
|
+
return (d, f) => {
|
|
36
|
+
let a, l;
|
|
37
|
+
const g = o((m) => {
|
|
38
|
+
a = c(a, m), l !== void 0 && clearTimeout(l), l = setTimeout(() => {
|
|
39
|
+
const _ = a;
|
|
40
|
+
a = void 0, l = void 0, d.call(f, _);
|
|
41
|
+
}, i);
|
|
42
|
+
});
|
|
43
|
+
return {
|
|
44
|
+
dispose: () => {
|
|
45
|
+
g.dispose(), l !== void 0 && clearTimeout(l);
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
t.debounce = n;
|
|
51
|
+
function u(o, c, i) {
|
|
52
|
+
return c(i), o((d) => c(d));
|
|
53
|
+
}
|
|
54
|
+
t.runAndSubscribe = u;
|
|
55
|
+
})(h || (h = {}));
|
|
56
|
+
class P {
|
|
57
|
+
constructor() {
|
|
58
|
+
p(this, "_listeners", /* @__PURE__ */ new Set());
|
|
59
|
+
p(this, "_disposed", !1);
|
|
60
|
+
p(this, "_event");
|
|
61
|
+
}
|
|
62
|
+
get event() {
|
|
63
|
+
return this._event || (this._event = (e, r) => {
|
|
64
|
+
if (this._disposed)
|
|
65
|
+
return console.warn("Emitter is already disposed, cannot register listener"), { dispose() {
|
|
66
|
+
} };
|
|
67
|
+
const s = { fn: e, thisArgs: r };
|
|
68
|
+
if (process.env.NODE_ENV !== "production") {
|
|
69
|
+
const n = new Error().stack;
|
|
70
|
+
n !== void 0 && (s.registeredAt = n);
|
|
71
|
+
}
|
|
72
|
+
return this._listeners.add(s), {
|
|
73
|
+
dispose: () => {
|
|
74
|
+
this._listeners.delete(s);
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
}), this._event;
|
|
78
|
+
}
|
|
79
|
+
/** Number of registered listeners. Used by PauseableEmitter to skip
|
|
80
|
+
* queueing when nobody is listening (matches vs Emitter `_size`). */
|
|
81
|
+
get _size() {
|
|
82
|
+
return this._listeners.size;
|
|
83
|
+
}
|
|
84
|
+
fire(e) {
|
|
85
|
+
if (this._disposed)
|
|
86
|
+
return;
|
|
87
|
+
const r = [...this._listeners];
|
|
88
|
+
for (const { fn: s, thisArgs: n, registeredAt: u } of r)
|
|
89
|
+
try {
|
|
90
|
+
s.call(n, e);
|
|
91
|
+
} catch (o) {
|
|
92
|
+
B(o, {
|
|
93
|
+
source: "event-listener",
|
|
94
|
+
...u !== void 0 ? { registeredAt: u } : {}
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
dispose() {
|
|
99
|
+
this._disposed || (this._disposed = !0, this._listeners.clear(), this._event = void 0);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
function F(t, e) {
|
|
103
|
+
const r = t.errorHelpersFor(e.vendorId);
|
|
104
|
+
return r === null ? null : { vendorId: e.vendorId, code: e.code, helpers: r };
|
|
105
|
+
}
|
|
106
|
+
function D(t, e, r, s) {
|
|
107
|
+
const n = t.errorHelpersFor(e);
|
|
108
|
+
if (n === null)
|
|
109
|
+
throw new A(
|
|
110
|
+
`[vendorErrors] unknown preview vendor: ${e}`
|
|
111
|
+
);
|
|
112
|
+
return {
|
|
113
|
+
message: `${n.formatCode(r)}: ${s}`,
|
|
114
|
+
vendorError: { vendorId: e, code: r }
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
function N(t) {
|
|
118
|
+
return `https://www.google.com/search?q=${encodeURIComponent(t)}`;
|
|
119
|
+
}
|
|
120
|
+
const U = y();
|
|
121
|
+
function W() {
|
|
122
|
+
return b(U);
|
|
123
|
+
}
|
|
124
|
+
const w = /* @__PURE__ */ new WeakMap();
|
|
125
|
+
function v(t) {
|
|
126
|
+
let e = w.get(t);
|
|
127
|
+
if (!e) {
|
|
128
|
+
const [r, s] = L([]);
|
|
129
|
+
e = {
|
|
130
|
+
entries: /* @__PURE__ */ new Map(),
|
|
131
|
+
activeBrowsers: r,
|
|
132
|
+
setActiveBrowsers: s
|
|
133
|
+
}, w.set(t, e);
|
|
134
|
+
}
|
|
135
|
+
return e;
|
|
136
|
+
}
|
|
137
|
+
function $(t, e, r, s, n, u = 0) {
|
|
138
|
+
if (!t) return;
|
|
139
|
+
const o = v(t);
|
|
140
|
+
if (s && r.width > 0 && r.height > 0) {
|
|
141
|
+
const i = o.entries.get(e);
|
|
142
|
+
if (i && i.generation > u)
|
|
143
|
+
return;
|
|
144
|
+
o.entries.set(e, {
|
|
145
|
+
tabId: e,
|
|
146
|
+
bounds: { ...r },
|
|
147
|
+
lease: n,
|
|
148
|
+
generation: u
|
|
149
|
+
});
|
|
150
|
+
} else {
|
|
151
|
+
const i = o.entries.get(e);
|
|
152
|
+
if (i && (!n || i.lease === n)) {
|
|
153
|
+
if (i.generation > u)
|
|
154
|
+
return;
|
|
155
|
+
o.entries.delete(e);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
o.setActiveBrowsers(Array.from(o.entries.values()));
|
|
159
|
+
}
|
|
160
|
+
function j(t, e, r) {
|
|
161
|
+
if (!t) return;
|
|
162
|
+
const s = w.get(t);
|
|
163
|
+
if (!s) return;
|
|
164
|
+
const n = s.entries.get(e);
|
|
165
|
+
n && (!r || n.lease === r) && (s.entries.delete(e), s.setActiveBrowsers(Array.from(s.entries.values())));
|
|
166
|
+
}
|
|
167
|
+
function R(t) {
|
|
168
|
+
return t ? v(t).activeBrowsers() : [];
|
|
169
|
+
}
|
|
170
|
+
function z(t) {
|
|
171
|
+
return R(t).length > 0;
|
|
172
|
+
}
|
|
173
|
+
function H(t) {
|
|
174
|
+
if (t) {
|
|
175
|
+
const e = w.get(t);
|
|
176
|
+
e && (e.entries.clear(), e.setActiveBrowsers([]));
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
const T = /* @__PURE__ */ new Set([
|
|
180
|
+
"http:",
|
|
181
|
+
"https:",
|
|
182
|
+
"mailto:"
|
|
183
|
+
]);
|
|
184
|
+
function M(t, e, r) {
|
|
185
|
+
let s;
|
|
186
|
+
try {
|
|
187
|
+
s = new URL(r).protocol;
|
|
188
|
+
} catch {
|
|
189
|
+
e.warn("openExternal: unparseable URL refused", { url: r });
|
|
190
|
+
return;
|
|
191
|
+
}
|
|
192
|
+
if (!T.has(s)) {
|
|
193
|
+
e.warn("openExternal: protocol refused", { url: r, protocol: s });
|
|
194
|
+
return;
|
|
195
|
+
}
|
|
196
|
+
Promise.resolve(t.openExternal(r)).catch((n) => {
|
|
197
|
+
e.warn("openExternal: host refused", { url: r, error: n });
|
|
198
|
+
});
|
|
199
|
+
}
|
|
200
|
+
const V = {
|
|
201
|
+
// The browser cannot show a native save dialog; the chosen name is the default one and
|
|
202
|
+
// the file is offered as a download.
|
|
203
|
+
showSaveDialog: async (t) => ({ filePath: (t == null ? void 0 : t.defaultPath) ?? "export.txt" }),
|
|
204
|
+
writeFile: async (t, e) => {
|
|
205
|
+
const r = t.split(/[\\/]/).pop() || "export.txt", s = URL.createObjectURL(new Blob([e], { type: "text/plain;charset=utf-8" })), n = document.createElement("a");
|
|
206
|
+
n.href = s, n.download = r, n.rel = "noopener", n.click(), setTimeout(() => URL.revokeObjectURL(s), 0);
|
|
207
|
+
}
|
|
208
|
+
}, q = {
|
|
209
|
+
openExternal: (t) => {
|
|
210
|
+
window.open(t, "_blank", "noopener,noreferrer");
|
|
211
|
+
},
|
|
212
|
+
osNotify: () => {
|
|
213
|
+
},
|
|
214
|
+
setBadgeCount: () => {
|
|
215
|
+
},
|
|
216
|
+
readAudioAsDataUrl: async () => null,
|
|
217
|
+
fs: V,
|
|
218
|
+
notificationOverlay: () => {
|
|
219
|
+
}
|
|
220
|
+
};
|
|
221
|
+
export {
|
|
222
|
+
P as E,
|
|
223
|
+
U as T,
|
|
224
|
+
D as a,
|
|
225
|
+
q as b,
|
|
226
|
+
H as c,
|
|
227
|
+
R as d,
|
|
228
|
+
F as e,
|
|
229
|
+
W as f,
|
|
230
|
+
N as g,
|
|
231
|
+
z as h,
|
|
232
|
+
M as o,
|
|
233
|
+
$ as r,
|
|
234
|
+
j as u
|
|
235
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var b=Object.defineProperty;var V=(r,e,t)=>e in r?b(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var w=(r,e,t)=>V(r,typeof e!="symbol"?e+"":e,t);const y=require("./errorHandler-DoDAPpv2.cjs"),A=require("./bugIndicatingError-D2X5Hfgg.cjs"),g=require("solid-js");var h;(r=>{r.None=()=>({dispose(){}});function e(o){return(c,i)=>{let d=!1;const f=o(l=>{d||(d=!0,f.dispose(),c.call(i,l))});return f}}r.once=e;function t(o){return new Promise(c=>e(o)(c))}r.toPromise=t;function s(o,c,i){return(d,f)=>{const l=o(u=>{c(u)&&d.call(f,u)});return i==null||i.add(l),l}}r.filter=s;function n(o,c,i=100){return(d,f)=>{let l,u;const B=o(_=>{l=c(l,_),u!==void 0&&clearTimeout(u),u=setTimeout(()=>{const x=l;l=void 0,u=void 0,d.call(f,x)},i)});return{dispose:()=>{B.dispose(),u!==void 0&&clearTimeout(u)}}}}r.debounce=n;function a(o,c,i){return c(i),o(d=>c(d))}r.runAndSubscribe=a})(h||(h={}));class U{constructor(){w(this,"_listeners",new Set);w(this,"_disposed",!1);w(this,"_event")}get event(){return this._event||(this._event=(e,t)=>{if(this._disposed)return console.warn("Emitter is already disposed, cannot register listener"),{dispose(){}};const s={fn:e,thisArgs:t};if(process.env.NODE_ENV!=="production"){const n=new Error().stack;n!==void 0&&(s.registeredAt=n)}return this._listeners.add(s),{dispose:()=>{this._listeners.delete(s)}}}),this._event}get _size(){return this._listeners.size}fire(e){if(this._disposed)return;const t=[...this._listeners];for(const{fn:s,thisArgs:n,registeredAt:a}of t)try{s.call(n,e)}catch(o){y.onUnexpectedError(o,{source:"event-listener",...a!==void 0?{registeredAt:a}:{}})}}dispose(){this._disposed||(this._disposed=!0,this._listeners.clear(),this._event=void 0)}}function L(r,e){const t=r.errorHelpersFor(e.vendorId);return t===null?null:{vendorId:e.vendorId,code:e.code,helpers:t}}function T(r,e,t,s){const n=r.errorHelpersFor(e);if(n===null)throw new A.BugIndicatingError(`[vendorErrors] unknown preview vendor: ${e}`);return{message:`${n.formatCode(t)}: ${s}`,vendorError:{vendorId:e,code:t}}}function R(r){return`https://www.google.com/search?q=${encodeURIComponent(r)}`}const v=g.createContext();function S(){return g.useContext(v)}const p=new WeakMap;function m(r){let e=p.get(r);if(!e){const[t,s]=g.createSignal([]);e={entries:new Map,activeBrowsers:t,setActiveBrowsers:s},p.set(r,e)}return e}function k(r,e,t,s,n,a=0){if(!r)return;const o=m(r);if(s&&t.width>0&&t.height>0){const i=o.entries.get(e);if(i&&i.generation>a)return;o.entries.set(e,{tabId:e,bounds:{...t},lease:n,generation:a})}else{const i=o.entries.get(e);if(i&&(!n||i.lease===n)){if(i.generation>a)return;o.entries.delete(e)}}o.setActiveBrowsers(Array.from(o.entries.values()))}function C(r,e,t){if(!r)return;const s=p.get(r);if(!s)return;const n=s.entries.get(e);n&&(!t||n.lease===t)&&(s.entries.delete(e),s.setActiveBrowsers(Array.from(s.entries.values())))}function E(r){return r?m(r).activeBrowsers():[]}function O(r){return E(r).length>0}function P(r){if(r){const e=p.get(r);e&&(e.entries.clear(),e.setActiveBrowsers([]))}}const F=new Set(["http:","https:","mailto:"]);function W(r,e,t){let s;try{s=new URL(t).protocol}catch{e.warn("openExternal: unparseable URL refused",{url:t});return}if(!F.has(s)){e.warn("openExternal: protocol refused",{url:t,protocol:s});return}Promise.resolve(r.openExternal(t)).catch(n=>{e.warn("openExternal: host refused",{url:t,error:n})})}const D={showSaveDialog:async r=>({filePath:(r==null?void 0:r.defaultPath)??"export.txt"}),writeFile:async(r,e)=>{const t=r.split(/[\\/]/).pop()||"export.txt",s=URL.createObjectURL(new Blob([e],{type:"text/plain;charset=utf-8"})),n=document.createElement("a");n.href=s,n.download=t,n.rel="noopener",n.click(),setTimeout(()=>URL.revokeObjectURL(s),0)}},N={openExternal:r=>{window.open(r,"_blank","noopener,noreferrer")},osNotify:()=>{},setBadgeCount:()=>{},readAudioAsDataUrl:async()=>null,fs:D,notificationOverlay:()=>{}};exports.Emitter=U;exports.ToolWindowContext=v;exports.browserDesktopBridge=N;exports.clearVisibleBrowsersForTesting=P;exports.createVendorErrorPreview=T;exports.getGoogleSearchUrl=R;exports.getVisibleBrowsers=E;exports.hasVisibleBrowser=O;exports.openExternalUrl=W;exports.registerVisibleBrowser=k;exports.resolveVendorError=L;exports.unregisterVisibleBrowser=C;exports.useToolWindowLayout=S;
|
|
@@ -0,0 +1,373 @@
|
|
|
1
|
+
var D = Object.defineProperty;
|
|
2
|
+
var R = (e, t, r) => t in e ? D(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
|
+
var o = (e, t, r) => R(e, typeof t != "symbol" ? t + "" : t, r);
|
|
4
|
+
import { B as A } from "./bugIndicatingError-h3J5qkL6.js";
|
|
5
|
+
function _(e) {
|
|
6
|
+
if (!e) return !1;
|
|
7
|
+
if (typeof e == "object") {
|
|
8
|
+
const t = e;
|
|
9
|
+
if (t.isCancellation === !0 || t.cancelled === !0 || t.name === "Canceled" && t.message === "Canceled" || t.name === "AbortError" || t.name === "CancellationError")
|
|
10
|
+
return !0;
|
|
11
|
+
}
|
|
12
|
+
return !1;
|
|
13
|
+
}
|
|
14
|
+
function I(e, t) {
|
|
15
|
+
return e instanceof Error && e.message.trim() ? e.message : typeof e == "string" && e.trim() ? e : t;
|
|
16
|
+
}
|
|
17
|
+
const b = String.raw`'(?:[^']|'')*(?:'|$)|"(?:[^"]|"")*(?:"|$)`, M = new RegExp(
|
|
18
|
+
String.raw`(["']?\b(?:password|passcode|passwd|pwd|secret|token|api[_-]?key|authorization|bearer)\b["']?)(\s*[:=]\s*)(` + b + String.raw`|[^\s,;'"}\]]+)`,
|
|
19
|
+
"gi"
|
|
20
|
+
), W = new RegExp(
|
|
21
|
+
String.raw`\b(identified\s+by(?:\s+values)?)\s+(` + b + String.raw`|[^\s,;)]+)`,
|
|
22
|
+
"gi"
|
|
23
|
+
), x = new RegExp(
|
|
24
|
+
String.raw`(?<!["':])\b(password)\s*(?:=\s*)?(` + b + ")",
|
|
25
|
+
"gi"
|
|
26
|
+
);
|
|
27
|
+
function h(e) {
|
|
28
|
+
let t = e;
|
|
29
|
+
return t = t.replace(
|
|
30
|
+
M,
|
|
31
|
+
(r, s, i, n) => {
|
|
32
|
+
if (s.startsWith('"') || s.startsWith("'")) {
|
|
33
|
+
const c = n.startsWith('"') ? '"' : n.startsWith("'") ? "'" : "";
|
|
34
|
+
return `${s}${i}${c}[REDACTED]${c}`;
|
|
35
|
+
}
|
|
36
|
+
return n.startsWith('"') || n.startsWith("'") ? `${s} [REDACTED]` : `${s}=[REDACTED]`;
|
|
37
|
+
}
|
|
38
|
+
), t = t.replace(W, "$1 [REDACTED]"), t = t.replace(x, "$1 [REDACTED]"), t = t.replace(
|
|
39
|
+
/\b([a-z][a-z0-9+\-.]*:\/\/[^\s:@/?#]+):[^\s@/?#]+@/gi,
|
|
40
|
+
"$1:[REDACTED]@"
|
|
41
|
+
), t = t.replace(
|
|
42
|
+
/\beyJ[A-Za-z0-9_-]{5,}\.[A-Za-z0-9_-]{5,}\.[A-Za-z0-9_-]{5,}\b/g,
|
|
43
|
+
"[REDACTED-JWT]"
|
|
44
|
+
), t = t.replace(
|
|
45
|
+
/-----BEGIN [A-Z ]*PRIVATE KEY-----[\s\S]*?-----END [A-Z ]*PRIVATE KEY-----/g,
|
|
46
|
+
"[REDACTED-PRIVATE-KEY]"
|
|
47
|
+
), t;
|
|
48
|
+
}
|
|
49
|
+
const w = Symbol.for("vokril.base.bestEffortSink");
|
|
50
|
+
function C() {
|
|
51
|
+
return globalThis;
|
|
52
|
+
}
|
|
53
|
+
function G(e) {
|
|
54
|
+
C()[w] = e;
|
|
55
|
+
}
|
|
56
|
+
function S(e, t) {
|
|
57
|
+
const r = C()[w];
|
|
58
|
+
if (r === void 0)
|
|
59
|
+
throw new A(
|
|
60
|
+
"base/bestEffort: no log sink is connected — the realm must call provideBestEffortSink at startup."
|
|
61
|
+
);
|
|
62
|
+
r(e, t);
|
|
63
|
+
}
|
|
64
|
+
const E = 40, k = /password|passcode|passwd|pwd|secret|token|api[_-]?key|authorization|bearer/i;
|
|
65
|
+
function m(e, t = /* @__PURE__ */ new WeakSet()) {
|
|
66
|
+
if (typeof e == "string")
|
|
67
|
+
return h(e);
|
|
68
|
+
if (typeof e == "function")
|
|
69
|
+
return "[Function]";
|
|
70
|
+
if (typeof e == "symbol")
|
|
71
|
+
return e.toString();
|
|
72
|
+
if (e instanceof Date)
|
|
73
|
+
return e.toISOString();
|
|
74
|
+
if (e instanceof RegExp)
|
|
75
|
+
return e.toString();
|
|
76
|
+
if (e && typeof e == "object") {
|
|
77
|
+
if (t.has(e))
|
|
78
|
+
return "[Circular]";
|
|
79
|
+
if (t.add(e), Array.isArray(e))
|
|
80
|
+
return e.map((s) => m(s, t));
|
|
81
|
+
if (e instanceof Error) {
|
|
82
|
+
const s = {
|
|
83
|
+
name: e.name,
|
|
84
|
+
message: h(e.message)
|
|
85
|
+
};
|
|
86
|
+
e.stack && (s.stack = h(e.stack));
|
|
87
|
+
try {
|
|
88
|
+
const i = Object.keys(e);
|
|
89
|
+
for (const n of i)
|
|
90
|
+
if (!(n === "name" || n === "message" || n === "stack")) {
|
|
91
|
+
if (k.test(n)) {
|
|
92
|
+
s[n] = "[REDACTED]";
|
|
93
|
+
continue;
|
|
94
|
+
}
|
|
95
|
+
try {
|
|
96
|
+
const c = e[n];
|
|
97
|
+
s[n] = m(c, t);
|
|
98
|
+
} catch {
|
|
99
|
+
s[n] = "[Unserializable]";
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
} catch (i) {
|
|
103
|
+
S("ignore entry extraction failures on Error", i);
|
|
104
|
+
}
|
|
105
|
+
return s;
|
|
106
|
+
}
|
|
107
|
+
const r = {};
|
|
108
|
+
try {
|
|
109
|
+
const s = Object.keys(e);
|
|
110
|
+
for (const i of s) {
|
|
111
|
+
if (k.test(i)) {
|
|
112
|
+
r[i] = "[REDACTED]";
|
|
113
|
+
continue;
|
|
114
|
+
}
|
|
115
|
+
try {
|
|
116
|
+
const n = e[i];
|
|
117
|
+
r[i] = m(n, t);
|
|
118
|
+
} catch {
|
|
119
|
+
r[i] = "[Unserializable]";
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
} catch {
|
|
123
|
+
return "[Unserializable]";
|
|
124
|
+
}
|
|
125
|
+
return r;
|
|
126
|
+
}
|
|
127
|
+
return e;
|
|
128
|
+
}
|
|
129
|
+
const d = [];
|
|
130
|
+
let l = 0, f = null;
|
|
131
|
+
function Z(e) {
|
|
132
|
+
f = e;
|
|
133
|
+
}
|
|
134
|
+
function T(e) {
|
|
135
|
+
if (f !== null) {
|
|
136
|
+
f.add(e);
|
|
137
|
+
return;
|
|
138
|
+
}
|
|
139
|
+
try {
|
|
140
|
+
const t = e.timestamp ?? Date.now(), r = h(e.message);
|
|
141
|
+
let s;
|
|
142
|
+
if (e.data)
|
|
143
|
+
try {
|
|
144
|
+
s = m(e.data);
|
|
145
|
+
} catch {
|
|
146
|
+
s = { error: "[Unserializable data]" };
|
|
147
|
+
}
|
|
148
|
+
const i = {
|
|
149
|
+
timestamp: t,
|
|
150
|
+
category: e.category,
|
|
151
|
+
message: r,
|
|
152
|
+
...s !== void 0 ? { data: s } : {},
|
|
153
|
+
...e.level !== void 0 ? { level: e.level } : {}
|
|
154
|
+
};
|
|
155
|
+
d.length < E ? d.push(i) : (d[l] = i, l = (l + 1) % E);
|
|
156
|
+
} catch (t) {
|
|
157
|
+
S(
|
|
158
|
+
"Defensive: breadcrumb recording must never throw and crash the caller",
|
|
159
|
+
t
|
|
160
|
+
);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
function J() {
|
|
164
|
+
return f !== null ? f.list() : d.length < E ? [...d] : [...d.slice(l), ...d.slice(0, l)];
|
|
165
|
+
}
|
|
166
|
+
function U(e) {
|
|
167
|
+
let t = 2166136261;
|
|
168
|
+
for (let r = 0; r < e.length; r++)
|
|
169
|
+
t ^= e.charCodeAt(r), t = Math.imul(t, 16777619);
|
|
170
|
+
return t >>> 0;
|
|
171
|
+
}
|
|
172
|
+
const z = /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/gi, O = /\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b/g, $ = /\b[0-9a-fA-F]{1,4}(?::[0-9a-fA-F]{1,4}){3,7}\b/g, P = /\b0x[0-9a-fA-F]+\b/g, F = /\b\d{5,}\b/g;
|
|
173
|
+
function L(e) {
|
|
174
|
+
return e.replace(z, "<ID>").replace(O, "<ID>").replace($, "<ID>").replace(P, "<ID>").replace(F, "<ID>").trim();
|
|
175
|
+
}
|
|
176
|
+
function j(e) {
|
|
177
|
+
if (!e) return "";
|
|
178
|
+
const t = e.split(`
|
|
179
|
+
`).map((s) => s.trim()), r = [];
|
|
180
|
+
for (const s of t)
|
|
181
|
+
if (s && s.startsWith("at ")) {
|
|
182
|
+
const i = s.endsWith(")") ? s.replace(/(?:\?[^:)]+)?:\d+(?::\d+)?\)$/, ")") : s.replace(/(?:\?[^:)]+)?:\d+(?::\d+)?$/, "");
|
|
183
|
+
if (r.push(i), r.length >= 2) break;
|
|
184
|
+
}
|
|
185
|
+
return r.join(`
|
|
186
|
+
`);
|
|
187
|
+
}
|
|
188
|
+
function V(e) {
|
|
189
|
+
let t = "Error", r = "", s;
|
|
190
|
+
try {
|
|
191
|
+
if (e instanceof Error)
|
|
192
|
+
t = e.name || "Error", r = e.message || "", s = e.stack;
|
|
193
|
+
else if (typeof e == "object" && e !== null) {
|
|
194
|
+
const a = e;
|
|
195
|
+
typeof a.name == "string" && (t = a.name), typeof a.message == "string" && (r = a.message), typeof a.stack == "string" && (s = a.stack);
|
|
196
|
+
} else typeof e == "string" ? r = e : r = String(e);
|
|
197
|
+
} catch {
|
|
198
|
+
t = "UnserializableError", r = "Error object threw during fingerprint extraction";
|
|
199
|
+
}
|
|
200
|
+
const i = L(r), n = j(s), c = `${t}|${i}|${n}`;
|
|
201
|
+
return U(c).toString(16).padStart(8, "0");
|
|
202
|
+
}
|
|
203
|
+
class K {
|
|
204
|
+
constructor(t = {}) {
|
|
205
|
+
o(this, "dedupWindowMs");
|
|
206
|
+
o(this, "circuitBreakerWindowMs");
|
|
207
|
+
o(this, "circuitBreakerThreshold");
|
|
208
|
+
o(this, "fingerprints", /* @__PURE__ */ new Map());
|
|
209
|
+
o(this, "recentTimestamps", []);
|
|
210
|
+
o(this, "circuitBreakerSuppressedTotal", 0);
|
|
211
|
+
o(this, "wasCircuitBreakerOpen", !1);
|
|
212
|
+
o(this, "lastPruneTime", 0);
|
|
213
|
+
this.dedupWindowMs = t.dedupWindowMs ?? 5e3, this.circuitBreakerWindowMs = t.circuitBreakerWindowMs ?? 1e4, this.circuitBreakerThreshold = t.circuitBreakerThreshold ?? 20;
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* Evaluates whether an error with the given fingerprint should be reported.
|
|
217
|
+
*/
|
|
218
|
+
shouldReport(t, r = Date.now()) {
|
|
219
|
+
(r - this.lastPruneTime > 3e4 || this.fingerprints.size > 200) && (this.cleanup(r), this.lastPruneTime = r);
|
|
220
|
+
const s = r - this.circuitBreakerWindowMs;
|
|
221
|
+
for (; this.recentTimestamps.length > 0 && (this.recentTimestamps[0] ?? 0) < s; )
|
|
222
|
+
this.recentTimestamps.shift();
|
|
223
|
+
if (this.recentTimestamps.length >= this.circuitBreakerThreshold) {
|
|
224
|
+
const a = !this.wasCircuitBreakerOpen;
|
|
225
|
+
this.wasCircuitBreakerOpen = !0, this.circuitBreakerSuppressedTotal++;
|
|
226
|
+
let p = this.fingerprints.get(t);
|
|
227
|
+
return p || (p = { lastReported: r, suppressedCount: 0 }, this.fingerprints.set(t, p)), p.suppressedCount++, {
|
|
228
|
+
allowed: !1,
|
|
229
|
+
reason: "circuit_breaker",
|
|
230
|
+
...a ? { circuitBreakerJustOpened: !0 } : {}
|
|
231
|
+
};
|
|
232
|
+
}
|
|
233
|
+
let i;
|
|
234
|
+
this.wasCircuitBreakerOpen && (this.wasCircuitBreakerOpen = !1, this.circuitBreakerSuppressedTotal > 0 && (i = this.circuitBreakerSuppressedTotal, this.circuitBreakerSuppressedTotal = 0));
|
|
235
|
+
const n = this.fingerprints.get(t);
|
|
236
|
+
if (!n)
|
|
237
|
+
return this.fingerprints.set(t, {
|
|
238
|
+
lastReported: r,
|
|
239
|
+
suppressedCount: 0
|
|
240
|
+
}), this.recentTimestamps.push(r), {
|
|
241
|
+
allowed: !0,
|
|
242
|
+
...i !== void 0 ? { circuitBreakerSuppressedCount: i } : {}
|
|
243
|
+
};
|
|
244
|
+
if (r - n.lastReported < this.dedupWindowMs)
|
|
245
|
+
return n.suppressedCount++, { allowed: !1, reason: "duplicate" };
|
|
246
|
+
const u = n.suppressedCount;
|
|
247
|
+
return n.lastReported = r, n.suppressedCount = 0, this.recentTimestamps.push(r), {
|
|
248
|
+
allowed: !0,
|
|
249
|
+
...u > 0 ? { suppressedCount: u } : {},
|
|
250
|
+
...i !== void 0 ? { circuitBreakerSuppressedCount: i } : {}
|
|
251
|
+
};
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* Checks whether the circuit breaker is currently open (tripped).
|
|
255
|
+
*/
|
|
256
|
+
isCircuitBreakerOpen(t = Date.now()) {
|
|
257
|
+
const r = t - this.circuitBreakerWindowMs;
|
|
258
|
+
for (; this.recentTimestamps.length > 0 && (this.recentTimestamps[0] ?? 0) < r; )
|
|
259
|
+
this.recentTimestamps.shift();
|
|
260
|
+
return this.recentTimestamps.length >= this.circuitBreakerThreshold;
|
|
261
|
+
}
|
|
262
|
+
/**
|
|
263
|
+
* Cleans up stale fingerprint records that have had no activity for 2x the dedup window.
|
|
264
|
+
*/
|
|
265
|
+
cleanup(t = Date.now()) {
|
|
266
|
+
const r = t - this.dedupWindowMs * 2;
|
|
267
|
+
for (const [s, i] of this.fingerprints.entries())
|
|
268
|
+
i.lastReported < r && this.fingerprints.delete(s);
|
|
269
|
+
}
|
|
270
|
+
/**
|
|
271
|
+
* Reset all rate limit counters and circuit breaker state.
|
|
272
|
+
*/
|
|
273
|
+
reset() {
|
|
274
|
+
this.fingerprints.clear(), this.recentTimestamps.length = 0, this.circuitBreakerSuppressedTotal = 0, this.wasCircuitBreakerOpen = !1, this.lastPruneTime = 0;
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
const N = new K();
|
|
278
|
+
let g = null;
|
|
279
|
+
function q(e) {
|
|
280
|
+
g = e;
|
|
281
|
+
}
|
|
282
|
+
class H {
|
|
283
|
+
constructor(t = N) {
|
|
284
|
+
o(this, "listeners", /* @__PURE__ */ new Set());
|
|
285
|
+
o(this, "rateLimiter");
|
|
286
|
+
this.rateLimiter = t;
|
|
287
|
+
}
|
|
288
|
+
/**
|
|
289
|
+
* Register a listener to receive unexpected errors.
|
|
290
|
+
* Returns an `IDisposable` to unsubscribe.
|
|
291
|
+
*/
|
|
292
|
+
addListener(t) {
|
|
293
|
+
return this.listeners.add(t), {
|
|
294
|
+
dispose: () => {
|
|
295
|
+
this.listeners.delete(t);
|
|
296
|
+
}
|
|
297
|
+
};
|
|
298
|
+
}
|
|
299
|
+
/**
|
|
300
|
+
* Main entrypoint for unexpected runtime errors.
|
|
301
|
+
* Filters cancellation errors, rate-limits duplicates, records a breadcrumb,
|
|
302
|
+
* and notifies all registered listeners.
|
|
303
|
+
*/
|
|
304
|
+
onUnexpectedError(t, r) {
|
|
305
|
+
if (this === y && g !== null) {
|
|
306
|
+
g.onUnexpectedError(t, r);
|
|
307
|
+
return;
|
|
308
|
+
}
|
|
309
|
+
if (_(t))
|
|
310
|
+
return;
|
|
311
|
+
const s = V(t), i = this.rateLimiter.shouldReport(s);
|
|
312
|
+
if (!i.allowed) {
|
|
313
|
+
if (i.circuitBreakerJustOpened) {
|
|
314
|
+
const u = "Error rate limit circuit breaker opened: exceeded volume threshold. Subsequent errors are suppressed until volume subsides.";
|
|
315
|
+
T({
|
|
316
|
+
category: "log",
|
|
317
|
+
level: "warn",
|
|
318
|
+
message: u,
|
|
319
|
+
data: { source: "circuit_breaker" }
|
|
320
|
+
});
|
|
321
|
+
const a = {
|
|
322
|
+
source: "circuit_breaker",
|
|
323
|
+
fingerprint: s
|
|
324
|
+
};
|
|
325
|
+
for (const p of this.listeners)
|
|
326
|
+
try {
|
|
327
|
+
p(new Error(u), a);
|
|
328
|
+
} catch (B) {
|
|
329
|
+
console.error("Error listener threw:", B);
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
return;
|
|
333
|
+
}
|
|
334
|
+
const n = I(t, "Unexpected error"), c = {
|
|
335
|
+
...r ?? {},
|
|
336
|
+
fingerprint: s,
|
|
337
|
+
...i.suppressedCount !== void 0 ? { suppressedCount: i.suppressedCount } : {},
|
|
338
|
+
...i.circuitBreakerSuppressedCount !== void 0 ? {
|
|
339
|
+
circuitBreakerSuppressedCount: i.circuitBreakerSuppressedCount
|
|
340
|
+
} : {}
|
|
341
|
+
};
|
|
342
|
+
T({
|
|
343
|
+
category: "log",
|
|
344
|
+
level: "error",
|
|
345
|
+
message: `Unexpected error: ${n}`,
|
|
346
|
+
data: c
|
|
347
|
+
});
|
|
348
|
+
for (const u of this.listeners)
|
|
349
|
+
try {
|
|
350
|
+
u(t, c);
|
|
351
|
+
} catch (a) {
|
|
352
|
+
console.error("Error listener threw:", a);
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
const y = new H();
|
|
357
|
+
function Q(e, t) {
|
|
358
|
+
y.onUnexpectedError(e, t);
|
|
359
|
+
}
|
|
360
|
+
export {
|
|
361
|
+
Z as a,
|
|
362
|
+
q as b,
|
|
363
|
+
S as c,
|
|
364
|
+
m as d,
|
|
365
|
+
T as e,
|
|
366
|
+
y as f,
|
|
367
|
+
J as g,
|
|
368
|
+
_ as i,
|
|
369
|
+
Q as o,
|
|
370
|
+
G as p,
|
|
371
|
+
h as s,
|
|
372
|
+
I as t
|
|
373
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";var A=Object.defineProperty;var _=(e,r,t)=>r in e?A(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;var o=(e,r,t)=>_(e,typeof r!="symbol"?r+"":r,t);const I=require("./bugIndicatingError-D2X5Hfgg.cjs");function B(e){if(!e)return!1;if(typeof e=="object"){const r=e;if(r.isCancellation===!0||r.cancelled===!0||r.name==="Canceled"&&r.message==="Canceled"||r.name==="AbortError"||r.name==="CancellationError")return!0}return!1}function C(e,r){return e instanceof Error&&e.message.trim()?e.message:typeof e=="string"&&e.trim()?e:r}const k=String.raw`'(?:[^']|'')*(?:'|$)|"(?:[^"]|"")*(?:"|$)`,M=new RegExp(String.raw`(["']?\b(?:password|passcode|passwd|pwd|secret|token|api[_-]?key|authorization|bearer)\b["']?)(\s*[:=]\s*)(`+k+String.raw`|[^\s,;'"}\]]+)`,"gi"),W=new RegExp(String.raw`\b(identified\s+by(?:\s+values)?)\s+(`+k+String.raw`|[^\s,;)]+)`,"gi"),U=new RegExp(String.raw`(?<!["':])\b(password)\s*(?:=\s*)?(`+k+")","gi");function p(e){let r=e;return r=r.replace(M,(t,s,i,n)=>{if(s.startsWith('"')||s.startsWith("'")){const c=n.startsWith('"')?'"':n.startsWith("'")?"'":"";return`${s}${i}${c}[REDACTED]${c}`}return n.startsWith('"')||n.startsWith("'")?`${s} [REDACTED]`:`${s}=[REDACTED]`}),r=r.replace(W,"$1 [REDACTED]"),r=r.replace(U,"$1 [REDACTED]"),r=r.replace(/\b([a-z][a-z0-9+\-.]*:\/\/[^\s:@/?#]+):[^\s@/?#]+@/gi,"$1:[REDACTED]@"),r=r.replace(/\beyJ[A-Za-z0-9_-]{5,}\.[A-Za-z0-9_-]{5,}\.[A-Za-z0-9_-]{5,}\b/g,"[REDACTED-JWT]"),r=r.replace(/-----BEGIN [A-Z ]*PRIVATE KEY-----[\s\S]*?-----END [A-Z ]*PRIVATE KEY-----/g,"[REDACTED-PRIVATE-KEY]"),r}const y=Symbol.for("vokril.base.bestEffortSink");function D(){return globalThis}function x(e){D()[y]=e}function T(e,r){const t=D()[y];if(t===void 0)throw new I.BugIndicatingError("base/bestEffort: no log sink is connected — the realm must call provideBestEffortSink at startup.");t(e,r)}const m=40,S=/password|passcode|passwd|pwd|secret|token|api[_-]?key|authorization|bearer/i;function f(e,r=new WeakSet){if(typeof e=="string")return p(e);if(typeof e=="function")return"[Function]";if(typeof e=="symbol")return e.toString();if(e instanceof Date)return e.toISOString();if(e instanceof RegExp)return e.toString();if(e&&typeof e=="object"){if(r.has(e))return"[Circular]";if(r.add(e),Array.isArray(e))return e.map(s=>f(s,r));if(e instanceof Error){const s={name:e.name,message:p(e.message)};e.stack&&(s.stack=p(e.stack));try{const i=Object.keys(e);for(const n of i)if(!(n==="name"||n==="message"||n==="stack")){if(S.test(n)){s[n]="[REDACTED]";continue}try{const c=e[n];s[n]=f(c,r)}catch{s[n]="[Unserializable]"}}}catch(i){T("ignore entry extraction failures on Error",i)}return s}const t={};try{const s=Object.keys(e);for(const i of s){if(S.test(i)){t[i]="[REDACTED]";continue}try{const n=e[i];t[i]=f(n,r)}catch{t[i]="[Unserializable]"}}}catch{return"[Unserializable]"}return t}return e}const d=[];let h=0,E=null;function z(e){E=e}function g(e){if(E!==null){E.add(e);return}try{const r=e.timestamp??Date.now(),t=p(e.message);let s;if(e.data)try{s=f(e.data)}catch{s={error:"[Unserializable data]"}}const i={timestamp:r,category:e.category,message:t,...s!==void 0?{data:s}:{},...e.level!==void 0?{level:e.level}:{}};d.length<m?d.push(i):(d[h]=i,h=(h+1)%m)}catch(r){T("Defensive: breadcrumb recording must never throw and crash the caller",r)}}function O(){return E!==null?E.list():d.length<m?[...d]:[...d.slice(h),...d.slice(0,h)]}function $(e){let r=2166136261;for(let t=0;t<e.length;t++)r^=e.charCodeAt(t),r=Math.imul(r,16777619);return r>>>0}const F=/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/gi,H=/\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b/g,P=/\b[0-9a-fA-F]{1,4}(?::[0-9a-fA-F]{1,4}){3,7}\b/g,L=/\b0x[0-9a-fA-F]+\b/g,V=/\b\d{5,}\b/g;function j(e){return e.replace(F,"<ID>").replace(H,"<ID>").replace(P,"<ID>").replace(L,"<ID>").replace(V,"<ID>").trim()}function K(e){if(!e)return"";const r=e.split(`
|
|
2
|
+
`).map(s=>s.trim()),t=[];for(const s of r)if(s&&s.startsWith("at ")){const i=s.endsWith(")")?s.replace(/(?:\?[^:)]+)?:\d+(?::\d+)?\)$/,")"):s.replace(/(?:\?[^:)]+)?:\d+(?::\d+)?$/,"");if(t.push(i),t.length>=2)break}return t.join(`
|
|
3
|
+
`)}function N(e){let r="Error",t="",s;try{if(e instanceof Error)r=e.name||"Error",t=e.message||"",s=e.stack;else if(typeof e=="object"&&e!==null){const a=e;typeof a.name=="string"&&(r=a.name),typeof a.message=="string"&&(t=a.message),typeof a.stack=="string"&&(s=a.stack)}else typeof e=="string"?t=e:t=String(e)}catch{r="UnserializableError",t="Error object threw during fingerprint extraction"}const i=j(t),n=K(s),c=`${r}|${i}|${n}`;return $(c).toString(16).padStart(8,"0")}class X{constructor(r={}){o(this,"dedupWindowMs");o(this,"circuitBreakerWindowMs");o(this,"circuitBreakerThreshold");o(this,"fingerprints",new Map);o(this,"recentTimestamps",[]);o(this,"circuitBreakerSuppressedTotal",0);o(this,"wasCircuitBreakerOpen",!1);o(this,"lastPruneTime",0);this.dedupWindowMs=r.dedupWindowMs??5e3,this.circuitBreakerWindowMs=r.circuitBreakerWindowMs??1e4,this.circuitBreakerThreshold=r.circuitBreakerThreshold??20}shouldReport(r,t=Date.now()){(t-this.lastPruneTime>3e4||this.fingerprints.size>200)&&(this.cleanup(t),this.lastPruneTime=t);const s=t-this.circuitBreakerWindowMs;for(;this.recentTimestamps.length>0&&(this.recentTimestamps[0]??0)<s;)this.recentTimestamps.shift();if(this.recentTimestamps.length>=this.circuitBreakerThreshold){const a=!this.wasCircuitBreakerOpen;this.wasCircuitBreakerOpen=!0,this.circuitBreakerSuppressedTotal++;let l=this.fingerprints.get(r);return l||(l={lastReported:t,suppressedCount:0},this.fingerprints.set(r,l)),l.suppressedCount++,{allowed:!1,reason:"circuit_breaker",...a?{circuitBreakerJustOpened:!0}:{}}}let i;this.wasCircuitBreakerOpen&&(this.wasCircuitBreakerOpen=!1,this.circuitBreakerSuppressedTotal>0&&(i=this.circuitBreakerSuppressedTotal,this.circuitBreakerSuppressedTotal=0));const n=this.fingerprints.get(r);if(!n)return this.fingerprints.set(r,{lastReported:t,suppressedCount:0}),this.recentTimestamps.push(t),{allowed:!0,...i!==void 0?{circuitBreakerSuppressedCount:i}:{}};if(t-n.lastReported<this.dedupWindowMs)return n.suppressedCount++,{allowed:!1,reason:"duplicate"};const u=n.suppressedCount;return n.lastReported=t,n.suppressedCount=0,this.recentTimestamps.push(t),{allowed:!0,...u>0?{suppressedCount:u}:{},...i!==void 0?{circuitBreakerSuppressedCount:i}:{}}}isCircuitBreakerOpen(r=Date.now()){const t=r-this.circuitBreakerWindowMs;for(;this.recentTimestamps.length>0&&(this.recentTimestamps[0]??0)<t;)this.recentTimestamps.shift();return this.recentTimestamps.length>=this.circuitBreakerThreshold}cleanup(r=Date.now()){const t=r-this.dedupWindowMs*2;for(const[s,i]of this.fingerprints.entries())i.lastReported<t&&this.fingerprints.delete(s)}reset(){this.fingerprints.clear(),this.recentTimestamps.length=0,this.circuitBreakerSuppressedTotal=0,this.wasCircuitBreakerOpen=!1,this.lastPruneTime=0}}const Y=new X;let b=null;function G(e){b=e}class Z{constructor(r=Y){o(this,"listeners",new Set);o(this,"rateLimiter");this.rateLimiter=r}addListener(r){return this.listeners.add(r),{dispose:()=>{this.listeners.delete(r)}}}onUnexpectedError(r,t){if(this===w&&b!==null){b.onUnexpectedError(r,t);return}if(B(r))return;const s=N(r),i=this.rateLimiter.shouldReport(s);if(!i.allowed){if(i.circuitBreakerJustOpened){const u="Error rate limit circuit breaker opened: exceeded volume threshold. Subsequent errors are suppressed until volume subsides.";g({category:"log",level:"warn",message:u,data:{source:"circuit_breaker"}});const a={source:"circuit_breaker",fingerprint:s};for(const l of this.listeners)try{l(new Error(u),a)}catch(R){console.error("Error listener threw:",R)}}return}const n=C(r,"Unexpected error"),c={...t??{},fingerprint:s,...i.suppressedCount!==void 0?{suppressedCount:i.suppressedCount}:{},...i.circuitBreakerSuppressedCount!==void 0?{circuitBreakerSuppressedCount:i.circuitBreakerSuppressedCount}:{}};g({category:"log",level:"error",message:`Unexpected error: ${n}`,data:c});for(const u of this.listeners)try{u(r,c)}catch(a){console.error("Error listener threw:",a)}}}const w=new Z;function J(e,r){w.onUnexpectedError(e,r)}exports.addBreadcrumb=g;exports.bestEffortFailed=T;exports.errorHandler=w;exports.getBreadcrumbs=O;exports.isCancellationError=B;exports.onUnexpectedError=J;exports.provideBestEffortSink=x;exports.provideHostBreadcrumbs=z;exports.provideHostErrorHandler=G;exports.scrubSecrets=p;exports.scrubValue=f;exports.toErrorMessage=C;
|
|
@@ -13,10 +13,15 @@ export interface LoaderProps {
|
|
|
13
13
|
mark?: JSX.Element;
|
|
14
14
|
/** Boot messages to show instead of the built-in ones when `cycle` is set (the eggs follow). */
|
|
15
15
|
bootMessages?: readonly string[];
|
|
16
|
+
/**
|
|
17
|
+
* The product name the built-in boot messages write. Without it the lines that name the product
|
|
18
|
+
* are left out — a loader shows before the application's host is up, so it takes the name here.
|
|
19
|
+
*/
|
|
20
|
+
appName?: string;
|
|
16
21
|
}
|
|
17
22
|
/**
|
|
18
23
|
* ui adapter: a full-screen or inline loader — an optional application mark, a conic-gradient
|
|
19
24
|
* spinner and a caption. The mark and the product name in the boot messages come from the host
|
|
20
|
-
* (`mark`, `
|
|
25
|
+
* (`mark`, `appName`), so the kit carries no brand of its own.
|
|
21
26
|
*/
|
|
22
27
|
export declare const Loader: Component<LoaderProps>;
|