@vokril/ui-solid 0.13.0 → 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 +45 -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-BFi0_e3t.cjs +2 -0
- package/dist/CommandPalette-CAH08DGN.js +4013 -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/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 +0 -8
- package/dist/overlay/ConfirmDialog.d.ts +0 -8
- 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 +110 -115
- 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-2UppyMxU.js +3271 -0
- package/dist/server/CommandPalette-DwpZyhO6.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 +810 -883
- 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 +104 -109
- 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 +1 -33
- 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
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import { insert as u, effect as T, className as r, setAttribute as g, template as V, spread as He, mergeProps as Se, createComponent as w, memo as Me, use as le, delegateEvents as he, setStyleProperty as gt, style as We, Portal as nt } from "solid-js/web";
|
|
2
2
|
import { splitProps as Re, Show as ee, createUniqueId as fe, For as $e, onCleanup as je, createSignal as ae, createEffect as Ae, createMemo as ke, on as ht } from "solid-js";
|
|
3
|
-
import { B as xe } from "./Button-
|
|
3
|
+
import { B as xe } from "./Button-BiKPB3cH.js";
|
|
4
4
|
import { VpChevronDown as it, VpSearch as rt, VpClose as Ne, VpHelpCircle as bt, VpCalendar as mt, VpChevronLeft as ft, VpChevronRight as _t, VpUpload as kt, VpFile as $t, VpCheck as yt, VpMinus as wt, VpPlus as xt, VpEyeOff as Ct, VpEye as St } from "@vokril/icons";
|
|
5
|
-
import { t as W } from "./i18n-
|
|
6
|
-
import { i as we,
|
|
7
|
-
import { b as at, H as
|
|
8
|
-
import { u as Ie, F as
|
|
9
|
-
import { c as
|
|
10
|
-
import { t as Pe } from "./tooltipCoordinator-
|
|
5
|
+
import { t as W } from "./i18n-DW9kcu0G.js";
|
|
6
|
+
import { i as we, n as It } from "./keys-B2nlkpqc.js";
|
|
7
|
+
import { b as at, H as Dt } from "./createDialogShellFocus-BBFu3Z_O.js";
|
|
8
|
+
import { u as Ie, F as Lt } from "./Input-DkPhsdfk.js";
|
|
9
|
+
import { c as Bt } from "./createSelectionIndicator-BnxXUMlT.js";
|
|
10
|
+
import { t as Pe } from "./tooltipCoordinator-BzxEyKhA.js";
|
|
11
11
|
import { r as Xe, g as lt } from "./anchoredLayout-FC-qv8xm.js";
|
|
12
|
-
import { u as ot } from "./useFloatingDropdown-
|
|
12
|
+
import { u as ot } from "./useFloatingDropdown-BN4J092P.js";
|
|
13
13
|
import { o as dt } from "./ownerWindow-9mx_LD47.js";
|
|
14
14
|
import { O as st } from "./OverlayScrollArea-c8Za77qs.js";
|
|
15
|
-
import { c as ct, L as
|
|
16
|
-
import {
|
|
15
|
+
import { c as ct, L as Tt, r as ut } from "./SearchableSelect-C01brsF0.js";
|
|
16
|
+
import { i as zt } from "./isOneOf-Dtomuazg.js";
|
|
17
|
+
import { P as Mt } from "./Popover-Dht1jFEy.js";
|
|
17
18
|
import { u as Ot } from "./overlayStack-DvGdPMdq.js";
|
|
18
19
|
const Et = "vk_buttonGroup_EFg13", Ft = "vk_horizontal_b6vu6", Pt = "vk_vertical_o3Afj", qe = {
|
|
19
20
|
buttonGroup: Et,
|
|
@@ -21,7 +22,7 @@ const Et = "vk_buttonGroup_EFg13", Ft = "vk_horizontal_b6vu6", Pt = "vk_vertical
|
|
|
21
22
|
vertical: Pt
|
|
22
23
|
};
|
|
23
24
|
var Rt = /* @__PURE__ */ V("<div role=group>");
|
|
24
|
-
function
|
|
25
|
+
function Fl(e) {
|
|
25
26
|
const t = () => e.orientation ?? "horizontal";
|
|
26
27
|
return (() => {
|
|
27
28
|
var n = Rt();
|
|
@@ -40,7 +41,7 @@ const Vt = "vk_splitButton_VoJkG", Ht = "vk_mainAction_KZb7j", Wt = "vk_triggerA
|
|
|
40
41
|
triggerAction: Wt
|
|
41
42
|
};
|
|
42
43
|
var At = /* @__PURE__ */ V("<div role=group>");
|
|
43
|
-
function
|
|
44
|
+
function Pl(e) {
|
|
44
45
|
const [t, n] = Re(e, ["variant", "size", "disabled", "loading", "leadingIcon", "children", "onClick", "onDropdownClick", "dropdownAriaLabel", "dropdownActive", "class"]), i = () => t.variant ?? "secondary", c = () => t.size ?? "md";
|
|
45
46
|
return (() => {
|
|
46
47
|
var v = At();
|
|
@@ -118,7 +119,7 @@ const Nt = "vk_wrapper_fViqM vk_inputChrome_VIaGv", qt = "vk_disabled_t9DZ-", Gt
|
|
|
118
119
|
sizeLg: jt
|
|
119
120
|
};
|
|
120
121
|
var Ut = /* @__PURE__ */ V("<button type=button>"), Zt = /* @__PURE__ */ V("<div><span aria-hidden=true></span><input>");
|
|
121
|
-
function
|
|
122
|
+
function Rl(e) {
|
|
122
123
|
const [t, n] = Re(e, ["size", "class", "disabled", "placeholder", "value", "onClear", "onKeyDown", "onInput"]);
|
|
123
124
|
let i;
|
|
124
125
|
const c = () => t.size === "sm" ? Le.sizeSm : t.size === "lg" ? Le.sizeLg : "", v = () => {
|
|
@@ -193,7 +194,7 @@ const Jt = "vk_root_E7xzJ", Qt = "vk_checked_YEju3", pt = "vk_disabled_vUHR0", e
|
|
|
193
194
|
label: ln
|
|
194
195
|
};
|
|
195
196
|
var on = /* @__PURE__ */ V("<span>"), dn = /* @__PURE__ */ V("<label><span><input type=checkbox role=switch><span aria-hidden=true><span>");
|
|
196
|
-
function
|
|
197
|
+
function Vl(e) {
|
|
197
198
|
const t = Ie(), n = () => e.ariaLabel !== void 0 ? e.ariaLabelledBy : e.ariaLabelledBy ?? (t == null ? void 0 : t.labelId);
|
|
198
199
|
return (() => {
|
|
199
200
|
var i = dn(), c = i.firstChild, v = c.firstChild, D = v.nextSibling, E = D.firstChild;
|
|
@@ -234,7 +235,7 @@ const sn = "vk_root_4RSfB", cn = "vk_sm_BMyvq", un = "vk_disabled_fUR2z", vn = "
|
|
|
234
235
|
input: bn
|
|
235
236
|
};
|
|
236
237
|
var mn = /* @__PURE__ */ V("<div><input type=range><div aria-hidden=true><div></div></div><div aria-hidden=true>");
|
|
237
|
-
const
|
|
238
|
+
const Hl = (e) => {
|
|
238
239
|
const t = Ie(), n = () => {
|
|
239
240
|
const i = e.max - e.min;
|
|
240
241
|
return i <= 0 ? 0 : (Math.min(Math.max(e.value, e.min), e.max) - e.min) / i * 100;
|
|
@@ -283,13 +284,13 @@ const fn = "vk_root_r0YJ1", _n = "vk_fullWidth_xcsnQ", kn = "vk_disabled_22nyC",
|
|
|
283
284
|
label: Dn
|
|
284
285
|
};
|
|
285
286
|
var Ln = /* @__PURE__ */ V("<div role=radiogroup><div aria-hidden=true>"), Bn = /* @__PURE__ */ V("<span aria-hidden=true>"), Tn = /* @__PURE__ */ V("<label><input type=radio><span>");
|
|
286
|
-
function
|
|
287
|
+
function Wl(e) {
|
|
287
288
|
const t = Ie(), n = e.name ?? `segmented-${fe()}`, i = () => e.ariaLabel !== void 0 ? e.ariaLabelledBy : e.ariaLabelledBy ?? (t == null ? void 0 : t.labelId);
|
|
288
289
|
let c;
|
|
289
290
|
const {
|
|
290
291
|
indicator: v,
|
|
291
292
|
mounted: D
|
|
292
|
-
} =
|
|
293
|
+
} = Bt({
|
|
293
294
|
root: () => c,
|
|
294
295
|
items: ":scope > label",
|
|
295
296
|
selected: ':scope > label[data-selected="true"]',
|
|
@@ -386,7 +387,7 @@ const zn = "vk_root_myb5X", Mn = "vk_horizontal_yUHaf", On = "vk_option_JiL1v",
|
|
|
386
387
|
};
|
|
387
388
|
var qn = /* @__PURE__ */ V("<div role=radiogroup>"), Gn = /* @__PURE__ */ V("<span>"), Yn = /* @__PURE__ */ V("<label><span><input type=radio><span aria-hidden=true><span></span></span></span><span><span>");
|
|
388
389
|
let Kn = 0;
|
|
389
|
-
function
|
|
390
|
+
function Al(e) {
|
|
390
391
|
const t = e.name ?? `radiogroup-${++Kn}`, n = () => e.orientation === "horizontal", i = Ie(), c = () => e.ariaLabel !== void 0 ? e.ariaLabelledBy : e.ariaLabelledBy ?? (i == null ? void 0 : i.labelId);
|
|
391
392
|
return (() => {
|
|
392
393
|
var v = qn();
|
|
@@ -461,7 +462,7 @@ const Xn = "vk_field_LG-sl", jn = "vk_label_MOLBV", Un = "vk_required_DU-Ym", Zn
|
|
|
461
462
|
helpText: Qn
|
|
462
463
|
};
|
|
463
464
|
var pn = /* @__PURE__ */ V("<span aria-hidden=true>*"), Ye = /* @__PURE__ */ V("<span>"), ei = /* @__PURE__ */ V("<span role=alert>"), ti = /* @__PURE__ */ V("<div role=group>"), ni = /* @__PURE__ */ V("<label>");
|
|
464
|
-
function
|
|
465
|
+
function Nl(e) {
|
|
465
466
|
const t = fe(), n = fe(), i = fe(), c = fe(), v = () => {
|
|
466
467
|
const l = [e.hint !== void 0 ? n : null, e.error !== void 0 ? i : null, E() ? c : null].filter((O) => O !== null);
|
|
467
468
|
return l.length > 0 ? l.join(" ") : void 0;
|
|
@@ -487,7 +488,7 @@ function Al(e) {
|
|
|
487
488
|
return E();
|
|
488
489
|
},
|
|
489
490
|
get children() {
|
|
490
|
-
return w(
|
|
491
|
+
return w(Dt, {
|
|
491
492
|
get content() {
|
|
492
493
|
return e.helpText;
|
|
493
494
|
},
|
|
@@ -511,7 +512,7 @@ function Al(e) {
|
|
|
511
512
|
});
|
|
512
513
|
}
|
|
513
514
|
}), null), T(() => r(l, Te.label)), l;
|
|
514
|
-
})(), w(
|
|
515
|
+
})(), w(Lt, {
|
|
515
516
|
value: {
|
|
516
517
|
labelId: t,
|
|
517
518
|
describedBy: v,
|
|
@@ -595,7 +596,7 @@ function zi(e) {
|
|
|
595
596
|
disabled: e.disabled ?? !1
|
|
596
597
|
};
|
|
597
598
|
}
|
|
598
|
-
function
|
|
599
|
+
function ql(e) {
|
|
599
600
|
const t = Ie(), [n, i] = ae(!1), [c, v] = ae(e.value), [D, E] = ae(-1), [a, o] = ae(!1);
|
|
600
601
|
let l, O, h;
|
|
601
602
|
const f = [], b = `combobox-${fe()}`, k = (s) => `${b}-opt-${s}`, [x, S] = ae({
|
|
@@ -665,7 +666,7 @@ function Nl(e) {
|
|
|
665
666
|
}, Z = (s) => {
|
|
666
667
|
var z;
|
|
667
668
|
if (!e.disabled) {
|
|
668
|
-
if (
|
|
669
|
+
if (zt(Tt, s.key)) {
|
|
669
670
|
if (s.preventDefault(), !n()) {
|
|
670
671
|
te();
|
|
671
672
|
return;
|
|
@@ -1084,7 +1085,7 @@ function gr(e) {
|
|
|
1084
1085
|
}), y;
|
|
1085
1086
|
})();
|
|
1086
1087
|
}
|
|
1087
|
-
function
|
|
1088
|
+
function Gl(e) {
|
|
1088
1089
|
return w(gr, Se(e, {
|
|
1089
1090
|
includeTime: !0
|
|
1090
1091
|
}));
|
|
@@ -1129,7 +1130,7 @@ function Rr(e, t) {
|
|
|
1129
1130
|
return c === v;
|
|
1130
1131
|
});
|
|
1131
1132
|
}
|
|
1132
|
-
function
|
|
1133
|
+
function Yl(e) {
|
|
1133
1134
|
const [t, n] = ae(!1);
|
|
1134
1135
|
let i, c = 0;
|
|
1135
1136
|
const v = (f) => {
|
|
@@ -1294,7 +1295,7 @@ function Ar(e) {
|
|
|
1294
1295
|
}), !1, !1), i;
|
|
1295
1296
|
})();
|
|
1296
1297
|
}
|
|
1297
|
-
function
|
|
1298
|
+
function Kl(e) {
|
|
1298
1299
|
const [t, n] = Re(e, ["accept", "multiple", "directory", "onFiles", "onFile", "resetOnPick", "handleRef", "onClick", "disabled"]);
|
|
1299
1300
|
let i;
|
|
1300
1301
|
return [w(xe, Se(n, {
|
|
@@ -1383,7 +1384,7 @@ const xa = {
|
|
|
1383
1384
|
label: e.label,
|
|
1384
1385
|
disabled: e.disabled ?? !1
|
|
1385
1386
|
};
|
|
1386
|
-
function
|
|
1387
|
+
function Xl(e) {
|
|
1387
1388
|
const [t, n] = ae(!1), [i, c] = ae(""), [v, D] = ae(-1), [E, a] = ae({
|
|
1388
1389
|
top: "0px",
|
|
1389
1390
|
left: "0px",
|
|
@@ -1454,7 +1455,7 @@ function Kl(e) {
|
|
|
1454
1455
|
const _ = L(), R = v(), s = R >= 0 ? _[R] : void 0;
|
|
1455
1456
|
s && !s.disabled && !e.disabled && e.onToggle(s.value);
|
|
1456
1457
|
}, I = (_) => {
|
|
1457
|
-
const R =
|
|
1458
|
+
const R = It(_);
|
|
1458
1459
|
switch (R) {
|
|
1459
1460
|
case "ArrowDown":
|
|
1460
1461
|
case "ArrowUp":
|
|
@@ -1653,7 +1654,7 @@ const Ia = "vk_wrapper_BfGny vk_inputChrome_VIaGv", Da = "vk_disabled_JG5OY", La
|
|
|
1653
1654
|
return c === i ? { kind: "value", value: i } : { kind: "outOfRange", value: i, clamped: c };
|
|
1654
1655
|
};
|
|
1655
1656
|
var Qe = /* @__PURE__ */ V("<button type=button tabindex=-1>"), Fa = /* @__PURE__ */ V("<div><input>"), Pa = /* @__PURE__ */ V("<span role=status>");
|
|
1656
|
-
const
|
|
1657
|
+
const jl = (e) => {
|
|
1657
1658
|
const t = Ie(), [n, i] = Re(e, ["value", "onValueChange", "size", "min", "max", "step", "hideSpinners", "decrementLabel", "incrementLabel", "class", "disabled"]), [c, v] = ae(!1), D = fe();
|
|
1658
1659
|
Ae(ht(() => n.value, () => v(!1), {
|
|
1659
1660
|
defer: !0
|
|
@@ -1788,7 +1789,7 @@ const Ra = "vk_wrapper_miw5X vk_inputChrome_VIaGv", Va = "vk_disabled_NaeEO", Ha
|
|
|
1788
1789
|
toggleBtn: Na
|
|
1789
1790
|
};
|
|
1790
1791
|
var qa = /* @__PURE__ */ V("<div><input><button type=button>");
|
|
1791
|
-
function
|
|
1792
|
+
function Ul(e) {
|
|
1792
1793
|
const [t, n] = Re(e, ["size", "class", "disabled", "placeholder", "value"]), i = Ie(), c = () => n["aria-describedby"] ?? (i == null ? void 0 : i.describedBy()), v = () => {
|
|
1793
1794
|
var l;
|
|
1794
1795
|
return n["aria-invalid"] ?? ((l = i == null ? void 0 : i.hasError) != null && l.call(i) ? "true" : void 0);
|
|
@@ -1842,7 +1843,7 @@ function jl(e) {
|
|
|
1842
1843
|
}
|
|
1843
1844
|
he(["click"]);
|
|
1844
1845
|
const Ga = new RegExp("\\p{Ll}", "u"), Ya = new RegExp("\\p{Lu}", "u"), Ka = new RegExp("\\p{Nd}", "u"), Xa = /[^\p{L}\p{Nd}]/u, pe = 12, et = 8;
|
|
1845
|
-
function
|
|
1846
|
+
function Zl(e) {
|
|
1846
1847
|
const t = [
|
|
1847
1848
|
{
|
|
1848
1849
|
id: "length",
|
|
@@ -1895,7 +1896,7 @@ const Ua = "vk_picker_i40uH", Za = "vk_trigger_5Aknq", Ja = "vk_menu_bw11d", Qa
|
|
|
1895
1896
|
actions: tl
|
|
1896
1897
|
};
|
|
1897
1898
|
var nl = /* @__PURE__ */ V("<div role=listbox>"), il = /* @__PURE__ */ V("<div><button type=button aria-haspopup=listbox>"), rl = /* @__PURE__ */ V("<div>"), al = /* @__PURE__ */ V("<div><button type=button role=option>");
|
|
1898
|
-
function
|
|
1899
|
+
function Jl(e) {
|
|
1899
1900
|
const [t, n] = ae(!1), i = () => e.open !== void 0, c = () => i() ? e.open === !0 : t(), v = (C) => {
|
|
1900
1901
|
var d;
|
|
1901
1902
|
i() ? (d = e.onOpenChange) == null || d.call(e, C) : n(C);
|
|
@@ -2010,7 +2011,7 @@ const ll = "vk_tagInput_I7e66", ol = "vk_sizeSm_fih-3", dl = "vk_disabled_bTRex"
|
|
|
2010
2011
|
input: ul
|
|
2011
2012
|
};
|
|
2012
2013
|
var vl = /* @__PURE__ */ V("<div role=group><input type=text>"), gl = /* @__PURE__ */ V("<button type=button>"), hl = /* @__PURE__ */ V("<span><span>");
|
|
2013
|
-
function
|
|
2014
|
+
function Ql(e) {
|
|
2014
2015
|
const [t, n] = ae("");
|
|
2015
2016
|
let i;
|
|
2016
2017
|
const c = () => e.size ?? "md", v = (o) => {
|
|
@@ -2085,7 +2086,7 @@ const bl = "vk_toggleButton_l77vj", ml = "vk_pressed_kVopQ", tt = {
|
|
|
2085
2086
|
toggleButton: bl,
|
|
2086
2087
|
pressed: ml
|
|
2087
2088
|
};
|
|
2088
|
-
function
|
|
2089
|
+
function pl(e) {
|
|
2089
2090
|
const [t, n] = Re(e, ["pressed", "onToggle", "class", "onClick", "variant"]);
|
|
2090
2091
|
return w(xe, Se(n, {
|
|
2091
2092
|
get variant() {
|
|
@@ -2106,28 +2107,28 @@ function Ql(e) {
|
|
|
2106
2107
|
}));
|
|
2107
2108
|
}
|
|
2108
2109
|
export {
|
|
2109
|
-
|
|
2110
|
-
|
|
2110
|
+
Fl as B,
|
|
2111
|
+
ql as C,
|
|
2111
2112
|
gr as D,
|
|
2112
|
-
|
|
2113
|
+
Kl as F,
|
|
2113
2114
|
Ar as H,
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2115
|
+
Xl as M,
|
|
2116
|
+
jl as N,
|
|
2117
|
+
Ul as P,
|
|
2118
|
+
Al as R,
|
|
2119
|
+
Rl as S,
|
|
2120
|
+
Ql as T,
|
|
2121
|
+
Gl as a,
|
|
2122
|
+
Yl as b,
|
|
2123
|
+
Nl as c,
|
|
2124
|
+
Jl as d,
|
|
2125
|
+
Wl as e,
|
|
2126
|
+
Hl as f,
|
|
2127
|
+
Pl as g,
|
|
2128
|
+
Vl as h,
|
|
2129
|
+
pl as i,
|
|
2129
2130
|
vt as j,
|
|
2130
|
-
|
|
2131
|
+
Zl as k,
|
|
2131
2132
|
Pr as l,
|
|
2132
2133
|
Rr as m,
|
|
2133
2134
|
ja as n,
|
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
2
|
+
* The host's keybinding service as the kit's components see it: the context-key sink, the command and
|
|
3
|
+
* keybinding registries the kit registers its commands into, and the list registry the kit's trees claim
|
|
4
|
+
* into. A host without a keybinding service mounts no provider, and `useKeybindingsOptional()` returns null —
|
|
5
|
+
* the components then keep their own keys.
|
|
6
6
|
*/
|
|
7
7
|
import { type JSX } from 'solid-js';
|
|
8
|
-
import type { ICommandRegistry, IContextKeyService, IKeybindingsRegistry
|
|
8
|
+
import type { ICommandRegistry, IContextKeyService, IKeybindingsRegistry } from '../index.cjs';
|
|
9
|
+
import type { ListCommandHandlers, PanelCommandRegistry } from '../panelCommandsRegistry.cjs';
|
|
9
10
|
export interface KeybindingsContextValue {
|
|
10
11
|
readonly contextKeys: IContextKeyService;
|
|
11
12
|
readonly commands: ICommandRegistry;
|
|
12
13
|
readonly bindings: IKeybindingsRegistry;
|
|
13
|
-
|
|
14
|
+
/**
|
|
15
|
+
* The shared list verbs' registry (`list.*`): the host's lists and the kit's trees claim into it, the host's
|
|
16
|
+
* list commands act on its last focused claim.
|
|
17
|
+
*/
|
|
18
|
+
readonly listHandlers: PanelCommandRegistry<ListCommandHandlers>;
|
|
14
19
|
}
|
|
15
20
|
export interface KeybindingsProviderProps {
|
|
16
21
|
value: KeybindingsContextValue;
|
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
2
|
+
* The host's keybinding service as the kit's components see it: the context-key sink, the command and
|
|
3
|
+
* keybinding registries the kit registers its commands into, and the list registry the kit's trees claim
|
|
4
|
+
* into. A host without a keybinding service mounts no provider, and `useKeybindingsOptional()` returns null —
|
|
5
|
+
* the components then keep their own keys.
|
|
6
6
|
*/
|
|
7
7
|
import { type JSX } from 'solid-js';
|
|
8
|
-
import type { ICommandRegistry, IContextKeyService, IKeybindingsRegistry
|
|
8
|
+
import type { ICommandRegistry, IContextKeyService, IKeybindingsRegistry } from '../index.js';
|
|
9
|
+
import type { ListCommandHandlers, PanelCommandRegistry } from '../panelCommandsRegistry.js';
|
|
9
10
|
export interface KeybindingsContextValue {
|
|
10
11
|
readonly contextKeys: IContextKeyService;
|
|
11
12
|
readonly commands: ICommandRegistry;
|
|
12
13
|
readonly bindings: IKeybindingsRegistry;
|
|
13
|
-
|
|
14
|
+
/**
|
|
15
|
+
* The shared list verbs' registry (`list.*`): the host's lists and the kit's trees claim into it, the host's
|
|
16
|
+
* list commands act on its last focused claim.
|
|
17
|
+
*/
|
|
18
|
+
readonly listHandlers: PanelCommandRegistry<ListCommandHandlers>;
|
|
14
19
|
}
|
|
15
20
|
export interface KeybindingsProviderProps {
|
|
16
21
|
value: KeybindingsContextValue;
|
|
@@ -4,9 +4,10 @@ import type { PanelCommandRegistry } from '../panelCommandsRegistry.cjs';
|
|
|
4
4
|
/**
|
|
5
5
|
* A focus-scoped keybinding surface that can be mounted more than once: publishes the surface's focus key over
|
|
6
6
|
* `container` and claims the surface's handler registry while the component lives. The active claim is the one focus
|
|
7
|
-
* last entered
|
|
8
|
-
*
|
|
9
|
-
* a keybinding service (a standalone test mount)
|
|
7
|
+
* last entered — the registry records it (`markFocused` / `lastFocused`, the reference's `lastFocusedList`) — so the
|
|
8
|
+
* surface's commands reach the mount the user was in even when focus is elsewhere at run time: the command palette
|
|
9
|
+
* runs a command while its own input still has focus. A mount without a keybinding service (a standalone test mount)
|
|
10
|
+
* has nothing to wire.
|
|
10
11
|
*
|
|
11
12
|
* The handlers are claimed before the key is published: a key without handlers would let a binding match, swallow
|
|
12
13
|
* the key and do nothing. Returns the claim, so a surface can publish its own state keys only while it is the
|
|
@@ -4,9 +4,10 @@ import type { PanelCommandRegistry } from '../panelCommandsRegistry.js';
|
|
|
4
4
|
/**
|
|
5
5
|
* A focus-scoped keybinding surface that can be mounted more than once: publishes the surface's focus key over
|
|
6
6
|
* `container` and claims the surface's handler registry while the component lives. The active claim is the one focus
|
|
7
|
-
* last entered
|
|
8
|
-
*
|
|
9
|
-
* a keybinding service (a standalone test mount)
|
|
7
|
+
* last entered — the registry records it (`markFocused` / `lastFocused`, the reference's `lastFocusedList`) — so the
|
|
8
|
+
* surface's commands reach the mount the user was in even when focus is elsewhere at run time: the command palette
|
|
9
|
+
* runs a command while its own input still has focus. A mount without a keybinding service (a standalone test mount)
|
|
10
|
+
* has nothing to wire.
|
|
10
11
|
*
|
|
11
12
|
* The handlers are claimed before the key is published: a key without handlers would let a binding match, swallow
|
|
12
13
|
* the key and do nothing. Returns the claim, so a surface can publish its own state keys only while it is the
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import type { Accessor } from 'solid-js';
|
|
2
|
-
import {
|
|
2
|
+
import type { ListCommandHandlers } from '../panelCommandsRegistry.cjs';
|
|
3
3
|
/**
|
|
4
4
|
* Puts one list or tree on the shared list verbs (`surfaces/list.ts`) — the reference's list registration with
|
|
5
|
-
* `IListService`: publishes `listFocus` over `container`, claims the list's verbs
|
|
6
|
-
*
|
|
7
|
-
* `listSupportsMultiselect` — so `Ctrl/Cmd+A` falls
|
|
8
|
-
* being swallowed. A mount without a keybinding
|
|
5
|
+
* `IListService`: publishes `listFocus` over `container`, claims the list's verbs in the keybinding service's list
|
|
6
|
+
* registry (`KeybindingsContextValue.listHandlers`; the claim focus last entered is the reference's `lastFocusedList`)
|
|
7
|
+
* and, while focus is in a list that takes more than one selection, `listSupportsMultiselect` — so `Ctrl/Cmd+A` falls
|
|
8
|
+
* through to the next binding on a single-selection list instead of being swallowed. A mount without a keybinding
|
|
9
|
+
* service has nothing to wire.
|
|
9
10
|
*/
|
|
10
11
|
export declare function useListCommands(options: {
|
|
11
12
|
/** The list element — the one holding the rows' focus; not a pinned header outside it. */
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import type { Accessor } from 'solid-js';
|
|
2
|
-
import {
|
|
2
|
+
import type { ListCommandHandlers } from '../panelCommandsRegistry.js';
|
|
3
3
|
/**
|
|
4
4
|
* Puts one list or tree on the shared list verbs (`surfaces/list.ts`) — the reference's list registration with
|
|
5
|
-
* `IListService`: publishes `listFocus` over `container`, claims the list's verbs
|
|
6
|
-
*
|
|
7
|
-
* `listSupportsMultiselect` — so `Ctrl/Cmd+A` falls
|
|
8
|
-
* being swallowed. A mount without a keybinding
|
|
5
|
+
* `IListService`: publishes `listFocus` over `container`, claims the list's verbs in the keybinding service's list
|
|
6
|
+
* registry (`KeybindingsContextValue.listHandlers`; the claim focus last entered is the reference's `lastFocusedList`)
|
|
7
|
+
* and, while focus is in a list that takes more than one selection, `listSupportsMultiselect` — so `Ctrl/Cmd+A` falls
|
|
8
|
+
* through to the next binding on a single-selection list instead of being swallowed. A mount without a keybinding
|
|
9
|
+
* service has nothing to wire.
|
|
9
10
|
*/
|
|
10
11
|
export declare function useListCommands(options: {
|
|
11
12
|
/** The list element — the one holding the rows' focus; not a pinned header outside it. */
|
|
@@ -41,13 +41,3 @@ export interface IKeybindingsRegistry {
|
|
|
41
41
|
readonly source: KeybindingSource;
|
|
42
42
|
}): () => void;
|
|
43
43
|
}
|
|
44
|
-
/** Handler slots a grid surface registers into (host app: GridCommandHandlers). */
|
|
45
|
-
export interface GridCommandHandlers {
|
|
46
|
-
copy: () => void;
|
|
47
|
-
selectAll: () => void;
|
|
48
|
-
cancelFetch: () => void;
|
|
49
|
-
}
|
|
50
|
-
/** A per-surface handler slot (host app: PanelCommandRegistry). */
|
|
51
|
-
export interface PanelCommandRegistry<T> {
|
|
52
|
-
set(handlers: T): () => void;
|
|
53
|
-
}
|
|
@@ -41,13 +41,3 @@ export interface IKeybindingsRegistry {
|
|
|
41
41
|
readonly source: KeybindingSource;
|
|
42
42
|
}): () => void;
|
|
43
43
|
}
|
|
44
|
-
/** Handler slots a grid surface registers into (host app: GridCommandHandlers). */
|
|
45
|
-
export interface GridCommandHandlers {
|
|
46
|
-
copy: () => void;
|
|
47
|
-
selectAll: () => void;
|
|
48
|
-
cancelFetch: () => void;
|
|
49
|
-
}
|
|
50
|
-
/** A per-surface handler slot (host app: PanelCommandRegistry). */
|
|
51
|
-
export interface PanelCommandRegistry<T> {
|
|
52
|
-
set(handlers: T): () => void;
|
|
53
|
-
}
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* The panel command registry — the claim stack of one keybinding surface.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
4
|
+
* A host keeps one registry per keybinding surface (explorer, SQL editor, terminal, list …): a
|
|
5
|
+
* surface claims its verbs while mounted and a command acts on the claim the user is in. The
|
|
6
|
+
* registry also records the claim keyboard focus last entered, as the reference's list service
|
|
7
|
+
* records the last focused list (`vs/platform/list/browser/listService.ts`, `lastFocusedList`):
|
|
8
|
+
* the record belongs to the registry, so two registries never share it and it ends with them.
|
|
8
9
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
10
|
+
* The registries are the host's: its keybinding service owns them and hands the ones the kit's
|
|
11
|
+
* components claim into to the kit (`KeybindingsContextValue`), so the host's commands and the
|
|
12
|
+
* kit's components meet in one stack.
|
|
12
13
|
*/
|
|
13
14
|
export interface PanelCommandRegistry<T extends object> {
|
|
15
|
+
/** Claims `handlers` until the returned release runs; a released claim is no longer the focused one. */
|
|
14
16
|
set(handlers: T): () => void;
|
|
15
17
|
current(): T | null;
|
|
16
18
|
/**
|
|
@@ -19,6 +21,10 @@ export interface PanelCommandRegistry<T extends object> {
|
|
|
19
21
|
* of the one that mounted last.
|
|
20
22
|
*/
|
|
21
23
|
find(predicate: (handlers: T) => boolean): T | null;
|
|
24
|
+
/** Keyboard focus entered the surface `handlers` claims for. */
|
|
25
|
+
markFocused(handlers: T): void;
|
|
26
|
+
/** The claim keyboard focus last entered, while it is still claimed. */
|
|
27
|
+
lastFocused(): T | null;
|
|
22
28
|
}
|
|
23
29
|
export declare function createPanelCommandRegistry<T extends object>(): PanelCommandRegistry<T>;
|
|
24
30
|
/** The verbs every list and tree shares (the host's `list.*` commands act on the last focused list). */
|
|
@@ -27,4 +33,3 @@ export interface ListCommandHandlers {
|
|
|
27
33
|
/** `Ctrl/Cmd+A` — select every row the list's rule takes (a tree widens one level per press). */
|
|
28
34
|
selectAll(): void;
|
|
29
35
|
}
|
|
30
|
-
export declare const listHandlers: PanelCommandRegistry<ListCommandHandlers>;
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* The panel command registry — the claim stack of one keybinding surface.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
4
|
+
* A host keeps one registry per keybinding surface (explorer, SQL editor, terminal, list …): a
|
|
5
|
+
* surface claims its verbs while mounted and a command acts on the claim the user is in. The
|
|
6
|
+
* registry also records the claim keyboard focus last entered, as the reference's list service
|
|
7
|
+
* records the last focused list (`vs/platform/list/browser/listService.ts`, `lastFocusedList`):
|
|
8
|
+
* the record belongs to the registry, so two registries never share it and it ends with them.
|
|
8
9
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
10
|
+
* The registries are the host's: its keybinding service owns them and hands the ones the kit's
|
|
11
|
+
* components claim into to the kit (`KeybindingsContextValue`), so the host's commands and the
|
|
12
|
+
* kit's components meet in one stack.
|
|
12
13
|
*/
|
|
13
14
|
export interface PanelCommandRegistry<T extends object> {
|
|
15
|
+
/** Claims `handlers` until the returned release runs; a released claim is no longer the focused one. */
|
|
14
16
|
set(handlers: T): () => void;
|
|
15
17
|
current(): T | null;
|
|
16
18
|
/**
|
|
@@ -19,6 +21,10 @@ export interface PanelCommandRegistry<T extends object> {
|
|
|
19
21
|
* of the one that mounted last.
|
|
20
22
|
*/
|
|
21
23
|
find(predicate: (handlers: T) => boolean): T | null;
|
|
24
|
+
/** Keyboard focus entered the surface `handlers` claims for. */
|
|
25
|
+
markFocused(handlers: T): void;
|
|
26
|
+
/** The claim keyboard focus last entered, while it is still claimed. */
|
|
27
|
+
lastFocused(): T | null;
|
|
22
28
|
}
|
|
23
29
|
export declare function createPanelCommandRegistry<T extends object>(): PanelCommandRegistry<T>;
|
|
24
30
|
/** The verbs every list and tree shares (the host's `list.*` commands act on the last focused list). */
|
|
@@ -27,4 +33,3 @@ export interface ListCommandHandlers {
|
|
|
27
33
|
/** `Ctrl/Cmd+A` — select every row the list's rule takes (a tree widens one level per press). */
|
|
28
34
|
selectAll(): void;
|
|
29
35
|
}
|
|
30
|
-
export declare const listHandlers: PanelCommandRegistry<ListCommandHandlers>;
|
|
@@ -1,11 +1,38 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
2
|
+
* The menu bar's favourites — the actions the user pinned, persisted in the host's storage (APPLICATION
|
|
3
|
+
* scope, under `menu.favorites`, at most 20).
|
|
4
|
+
*
|
|
5
|
+
* A plain class: the host creates one per realm with its storage and hands it to the kit's menus
|
|
6
|
+
* (`KitHost.menuFavorites`); the host's own menus read the same instance. Only ids the host registered as
|
|
7
|
+
* pinnable actions (`registerMenuActionIds`) are listed. A stored list that is not JSON is reported to the
|
|
8
|
+
* realm's unexpected-error pipeline and read as empty — the user's pins are lost either way, but not
|
|
9
|
+
* silently.
|
|
5
10
|
*/
|
|
6
11
|
import type { MenuActionId } from '../../platform/menu/types.cjs';
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export
|
|
12
|
+
import { type Event } from '../../base/event.cjs';
|
|
13
|
+
import type { IDisposable } from '../../base/lifecycle.cjs';
|
|
14
|
+
import { type SettingsBackend } from '../../platform/settings/registry/stateDbStore.cjs';
|
|
15
|
+
/** The pinned menu actions. */
|
|
16
|
+
export interface MenuFavorites {
|
|
17
|
+
/** The pinned actions, in pin order. */
|
|
18
|
+
list(): MenuActionId[];
|
|
19
|
+
has(actionId: MenuActionId): boolean;
|
|
20
|
+
/** Pins an action — a no-op when it is pinned already or the list is full. */
|
|
21
|
+
add(actionId: MenuActionId): void;
|
|
22
|
+
remove(actionId: MenuActionId): void;
|
|
23
|
+
/** Fires after every change of the list. */
|
|
24
|
+
readonly onDidChange: Event<void>;
|
|
25
|
+
}
|
|
26
|
+
export declare class MenuFavoritesService implements MenuFavorites, IDisposable {
|
|
27
|
+
private readonly storage;
|
|
28
|
+
private readonly _onDidChange;
|
|
29
|
+
readonly onDidChange: Event<void>;
|
|
30
|
+
constructor(storage: SettingsBackend);
|
|
31
|
+
list(): MenuActionId[];
|
|
32
|
+
has(actionId: MenuActionId): boolean;
|
|
33
|
+
add(actionId: MenuActionId): void;
|
|
34
|
+
remove(actionId: MenuActionId): void;
|
|
35
|
+
dispose(): void;
|
|
36
|
+
private stored;
|
|
37
|
+
private write;
|
|
38
|
+
}
|
|
@@ -1,11 +1,38 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
2
|
+
* The menu bar's favourites — the actions the user pinned, persisted in the host's storage (APPLICATION
|
|
3
|
+
* scope, under `menu.favorites`, at most 20).
|
|
4
|
+
*
|
|
5
|
+
* A plain class: the host creates one per realm with its storage and hands it to the kit's menus
|
|
6
|
+
* (`KitHost.menuFavorites`); the host's own menus read the same instance. Only ids the host registered as
|
|
7
|
+
* pinnable actions (`registerMenuActionIds`) are listed. A stored list that is not JSON is reported to the
|
|
8
|
+
* realm's unexpected-error pipeline and read as empty — the user's pins are lost either way, but not
|
|
9
|
+
* silently.
|
|
5
10
|
*/
|
|
6
11
|
import type { MenuActionId } from '../../platform/menu/types.js';
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export
|
|
12
|
+
import { type Event } from '../../base/event.js';
|
|
13
|
+
import type { IDisposable } from '../../base/lifecycle.js';
|
|
14
|
+
import { type SettingsBackend } from '../../platform/settings/registry/stateDbStore.js';
|
|
15
|
+
/** The pinned menu actions. */
|
|
16
|
+
export interface MenuFavorites {
|
|
17
|
+
/** The pinned actions, in pin order. */
|
|
18
|
+
list(): MenuActionId[];
|
|
19
|
+
has(actionId: MenuActionId): boolean;
|
|
20
|
+
/** Pins an action — a no-op when it is pinned already or the list is full. */
|
|
21
|
+
add(actionId: MenuActionId): void;
|
|
22
|
+
remove(actionId: MenuActionId): void;
|
|
23
|
+
/** Fires after every change of the list. */
|
|
24
|
+
readonly onDidChange: Event<void>;
|
|
25
|
+
}
|
|
26
|
+
export declare class MenuFavoritesService implements MenuFavorites, IDisposable {
|
|
27
|
+
private readonly storage;
|
|
28
|
+
private readonly _onDidChange;
|
|
29
|
+
readonly onDidChange: Event<void>;
|
|
30
|
+
constructor(storage: SettingsBackend);
|
|
31
|
+
list(): MenuActionId[];
|
|
32
|
+
has(actionId: MenuActionId): boolean;
|
|
33
|
+
add(actionId: MenuActionId): void;
|
|
34
|
+
remove(actionId: MenuActionId): void;
|
|
35
|
+
dispose(): void;
|
|
36
|
+
private stored;
|
|
37
|
+
private write;
|
|
38
|
+
}
|