@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 @@
|
|
|
1
|
+
"use strict";const J=require("solid-js/web"),y=require("solid-js"),z=require("./bugIndicatingError-D2X5Hfgg.cjs"),x=[{id:"vokril-dark",label:"Vokril Dark",type:"dark",palette:{surface:"#212329",surfaceAlt:"#181A1F",surfaceElevated:"#2D2F35",brand:"#808AE5",brandHover:"#707AD0",content:"#EBEDF0",contentSecondary:"#C7C9CE",border:"#2D2F35",input:"#181A1F",inputBorder:"#2D2F35",success:"#4FB772",error:"#E05D5A",warning:"#F0A945",info:"#55A8DB",syntaxKeyword:"#BC97E8",syntaxString:"#92C487",syntaxFunction:"#F0C77C",syntaxNumber:"#6FBCE3",syntaxType:"#76CDC5",syntaxComment:"#8F939F"}},{id:"light",label:"Vokril Light",type:"light",palette:{surface:"#FFFFFF",surfaceAlt:"#F3F4F8",surfaceElevated:"#FFFFFF",brand:"#5355D0",brandHover:"#4545B6",content:"#1C1E24",contentSecondary:"#5F636F",border:"#DFE1E7",input:"#FFFFFF",inputBorder:"#D0D2D9",success:"#048A45",error:"#C72C34",warning:"#C27400",info:"#007AB0",syntaxKeyword:"#7D3AB7",syntaxString:"#357426",syntaxFunction:"#895709",syntaxNumber:"#006A9D",syntaxType:"#007973",syntaxComment:"#696D79"}},{id:"high-contrast-dark",label:"High Contrast Dark",type:"dark",palette:{surface:"#000000",surfaceAlt:"#000000",surfaceElevated:"#121212",brand:"#66B2FF",brandHover:"#99CCFF",content:"#FFFFFF",contentSecondary:"#E6E6E6",border:"#FFFFFF",input:"#000000",inputBorder:"#FFFFFF",success:"#57E389",error:"#FF7B72",warning:"#F0B429",info:"#66B2FF",syntaxKeyword:"#FF9999",syntaxString:"#99E699",syntaxFunction:"#FFE066",syntaxNumber:"#99CCFF",syntaxType:"#FFCC80",syntaxComment:"#B0B0B0"}},{id:"high-contrast-light",label:"High Contrast Light",type:"light",palette:{surface:"#FFFFFF",surfaceAlt:"#FFFFFF",surfaceElevated:"#FFFFFF",brand:"#0047BA",brandHover:"#003080",content:"#000000",contentSecondary:"#262626",border:"#000000",input:"#FFFFFF",inputBorder:"#000000",success:"#006622",error:"#B30000",warning:"#8C4600",info:"#0047BA",syntaxKeyword:"#8C0000",syntaxString:"#005C1F",syntaxFunction:"#4D2600",syntaxNumber:"#0047BA",syntaxType:"#0047BA",syntaxComment:"#404040"}}],S="vokril-dark",Q={darcula:"vokril-dark"},Z=e=>Q[e]??e,A=[];function he(e){return A.push(e),{dispose:()=>{const n=A.indexOf(e);n!==-1&&A.splice(n,1)}}}function ee(e){for(const n of A){const r=n.byId(e);if(r!==null)return r}return null}function w(e){const n=Z(e);return x.find(r=>r.id===n)??ee(n)??x[0]}function ne(){return[...x,...A.flatMap(e=>e.options())]}function Fe(e){const n=Z(e);return x.some(r=>r.id===n)||ee(n)!==null}const I=4.5,xe=3;function ke(e){const n=e.trim().replace(/^#/,""),r=n.length===3?n.split("").map(t=>t+t).join(""):n;return r.length!==6||/[^0-9a-fA-F]/.test(r)?null:{r:Number.parseInt(r.slice(0,2),16),g:Number.parseInt(r.slice(2,4),16),b:Number.parseInt(r.slice(4,6),16)}}function pe({r:e,g:n,b:r}){const t=o=>Math.max(0,Math.min(255,Math.round(o))).toString(16).padStart(2,"0");return`#${t(e)}${t(n)}${t(r)}`}function N(e){const n=ke(e);if(!n)throw new z.BugIndicatingError(`contrast: expected #rgb/#rrggbb, got ${JSON.stringify(e)}. Resolve var()/transparent/color-mix to a literal hex before measuring.`);return n}function M(e){const n=e/255;return n<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function v(e){const{r:n,g:r,b:t}=N(e);return .2126*M(n)+.7152*M(r)+.0722*M(t)}function b(e,n){const r=v(e),t=v(n),[o,c]=r>t?[r,t]:[t,r];return(o+.05)/(c+.05)}function Te(e,n,r){const t=N(e),o=N(n),c=Math.max(0,Math.min(1,r));return pe({r:t.r+(o.r-t.r)*(1-c),g:t.g+(o.g-t.g)*(1-c),b:t.b+(o.b-t.b)*(1-c)})}function p(e,n){return e+1e-9>=n}function Ee(e){const n=v(e);return 116*(n>(6/29)**3?Math.cbrt(n):n/(3*(6/29)**2)+4/29)-16}const L=e=>{const n=e/255;return n<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)},Ae=e=>(e<=.0031308?12.92*e:1.055*Math.pow(e,.4166666666666667)-.055)*255;function Se(e){const n=e.trim().replace(/^#/,""),r=n.length===3?n.split("").map(t=>t+t).join(""):n;if(r.length!==6||/[^0-9a-fA-F]/.test(r))throw new z.BugIndicatingError(`oklch: expected #rgb/#rrggbb, got ${JSON.stringify(e)}`);return{r:Number.parseInt(r.slice(0,2),16),g:Number.parseInt(r.slice(2,4),16),b:Number.parseInt(r.slice(4,6),16)}}function ve(e){const{r:n,g:r,b:t}=Se(e),o=L(n),c=L(r),s=L(t),u=Math.cbrt(.4122214708*o+.5363325363*c+.0514459929*s),i=Math.cbrt(.2119034982*o+.6806995451*c+.1073969566*s),d=Math.cbrt(.0883024619*o+.2817188376*c+.6299787005*s),l=.2104542553*u+.793617785*i-.0040720468*d,m=1.9779984951*u-2.428592205*i+.4505937099*d,f=.0259040371*u+.7827717662*i-.808675766*d,g=Math.atan2(f,m)*180/Math.PI;return{l,c:Math.hypot(m,f),h:g<0?g+360:g}}function D({l:e,c:n,h:r}){const t=r*Math.PI/180,o=n*Math.cos(t),c=n*Math.sin(t),s=(e+.3963377774*o+.2158037573*c)**3,u=(e-.1055613458*o-.0638541728*c)**3,i=(e-.0894841775*o-1.291485548*c)**3;return{r:4.0767416621*s-3.3077115913*u+.2309699292*i,g:-1.2684380046*s+2.6097574011*u-.3413193965*i,b:-.0041960863*s-.7034186147*u+1.707614701*i}}const k=1e-4,W=({r:e,g:n,b:r})=>e>=-k&&e<=1+k&&n>=-k&&n<=1+k&&r>=-k&&r<=1+k;function Ce({l:e,c:n,h:r}){if(W(D({l:e,c:n,h:r})))return n;let t=0,o=n;for(let c=0;c<24;c++){const s=(t+o)/2;W(D({l:e,c:s,h:r}))?t=s:o=s}return t}function O(e){const n=Ce(e),r=D({...e,c:n}),t=o=>Math.max(0,Math.min(255,Math.round(Ae(o)))).toString(16).padStart(2,"0");return`#${t(r.r)}${t(r.g)}${t(r.b)}`}function q(e,n,r,t){const o=ve(e),c=t==="lighter"?1:0,s=O({...o,l:c});if(!p(b(s,n),r))return s;let u=o.l,i=c;for(let d=0;d<24;d++){const l=(u+i)/2;p(b(O({...o,l}),n),r)?i=l:u=l}return O({...o,l:i})}function R(e,n,r){if(p(b(e,n),r))return e;const t=v(e)<v(n),o=q(e,n,r,t?"darker":"lighter");if(p(b(o,n),r))return o;const c=q(e,n,r,t?"lighter":"darker");return b(c,n)>b(o,n)?c:o}function we(e,n,r){let t=e;for(let o=0;o<8;o++){let c=!1;for(const s of n){const u=R(t,s,r);u!==t&&(t=u,c=!0)}if(!c)break}return t}function Be(e,n,r){let t=n[0]??"#ffffff",o=-1;for(const c of n){const s=b(c,e);if(p(s,r))return c;s>o&&(o=s,t=c)}return t}const re="#2A2C31",te="#1C1E23",oe=.25,Ie=oe;function ce(e){return R(e.inputBorder,e.input,xe)}function se(e,n,r){const t=[n.surface,n.surfaceAlt,n.surfaceElevated];return r==="dark"&&t.push(re,te),t.flatMap(o=>[o,Te(e,o,oe)])}function ie(e,n,r){return we(e,se(e,n,r),I)}const _e=["error","brand","success","warning","info"],Me=60;function E(e){return p(b("#ffffff",e),I)||Ee(e)>=Me?e:R(e,"#ffffff",I)}function ae(e,n){return Be(e,["#ffffff",n.surfaceAlt,"#000000"],I)}const Le=["brand","error","success","warning"],ue="#D76CB7",Oe="data-colorblind-safe",P={success:"#009e73",error:"#d55e00",warning:"#e69f00",info:"#56b4e9"},H={added:P.success,deleted:P.error};function de(e){return{...e,...P}}function Ne(){return typeof document>"u"?!1:document.documentElement.hasAttribute(Oe)}function fe(e,n,r){const t=d=>ie(d,e,n),o=E(e.brand),c=E(e.error),s=E(e.success),u=E(e.warning),i=d=>ae(d,e);return{"--color-surface":e.surface,"--color-surface-alt":e.surfaceAlt,"--color-surface-elevated":e.surfaceElevated,"--color-brand":e.brand,"--color-brand-hover":e.brandHover,"--color-content":e.content,"--color-content-secondary":e.contentSecondary,"--color-border":e.border,"--color-input":e.input,"--color-input-border":ce(e),"--color-success":e.success,"--color-error":e.error,"--color-warning":e.warning,"--color-info":e.info,"--color-success-text":t(e.success),"--color-error-text":t(e.error),"--color-warning-text":t(e.warning),"--color-info-text":t(e.info),"--color-brand-text":t(e.brand),"--color-unique-text":t(ue),"--color-brand-surface":o,"--color-error-surface":c,"--color-success-surface":s,"--color-warning-surface":u,"--color-on-brand":i(o),"--color-on-error":i(c),"--color-on-success":i(s),"--color-on-warning":i(u),"--color-diff-added":r?H.added:"","--color-diff-deleted":r?H.deleted:"","--color-syntax-keyword":e.syntaxKeyword,"--color-syntax-string":e.syntaxString,"--color-syntax-function":e.syntaxFunction,"--color-syntax-comment":e.syntaxComment,"--color-syntax-number":e.syntaxNumber,"--color-syntax-type":e.syntaxType}}const U="data-colorblind-safe";function V(e,n=!1){return w(e==="system"?n?"light":S:e==="dark"?S:e)}function le(e,n={}){var u,i;const r=typeof e=="string"?V(e):e,t=n.document??(typeof document<"u"?document:void 0);if(!t)return r;const o=t.documentElement,c=n.colorVisionSafe??!1;c?o.setAttribute(U,""):o.removeAttribute(U);const s=c?de(r.palette):r.palette;for(const[d,l]of Object.entries(fe(s,r.type,c)))o.style.setProperty(d,l);return(u=t.body)==null||u.classList.remove("light","dark"),(i=t.body)==null||i.classList.add(r.type),o.classList.remove("light","dark"),o.classList.add(r.type),o.style.colorScheme=r.type,o.setAttribute("data-app-theme",r.id),r}function De(){return ne()}const Pe="vokril-ui-theme",He="(prefers-color-scheme: light)";function Ke(){try{return typeof localStorage>"u"?null:localStorage}catch{return null}}const ge=y.createContext(),Re=e=>{var $,G;const n=e.storageKey===void 0?Pe:e.storageKey,r=e.storage===void 0?Ke():e.storage,t=()=>{if(!r||!n)return null;try{return r.getItem(n)}catch{return null}},o=(($=e.document)==null?void 0:$.defaultView)??(typeof window>"u"?void 0:window),c=(G=o==null?void 0:o.matchMedia)==null?void 0:G.call(o,He),[s,u]=y.createSignal(t()??e.defaultTheme??"dark"),[i,d]=y.createSignal((c==null?void 0:c.matches)??!1),[l,m]=y.createSignal(e.colorVisionSafe??!1);if(c){const T=be=>d(be.matches);c.addEventListener("change",T),y.onCleanup(()=>c.removeEventListener("change",T))}const f=y.createMemo(()=>V(s(),i())),g=y.createMemo(()=>f().type),h=T=>{if(u(T),!(!r||!n))try{r.setItem(n,T)}catch{}},_=()=>h(g()==="dark"?"light":"dark");y.createEffect(()=>{le(f(),{colorVisionSafe:l(),document:e.document})});const ye={theme:s,resolvedTheme:g,themeId:()=>f().id,setTheme:h,toggleTheme:_,colorVisionSafe:l,setColorVisionSafe:m};return J.createComponent(ge.Provider,{value:ye,get children(){return e.children}})};let X=!1;function Ve(){const e=y.useContext(ge);return e||(J.isDev&&!X&&(X=!0,console.warn("@vokril/ui-solid: useTheme() was called outside <ThemeProvider>; it reports Vokril Dark and ignores setTheme.")),{theme:()=>"dark",resolvedTheme:()=>"dark",themeId:()=>S,setTheme:()=>{},toggleTheme:()=>{},colorVisionSafe:()=>!1,setColorVisionSafe:()=>{}})}var j;const Y=((j=x.find(e=>e.id===S))==null?void 0:j.palette)??x[0].palette;function $e(e){return Math.max(0,Math.min(255,Math.round(e)))}function K(e){const n=e.trim().replace(/^#/,""),r=n.length===3?n.split("").map(t=>t+t).join(""):n;return r.length!==6||/[^0-9a-fA-F]/.test(r)?null:{r:Number.parseInt(r.slice(0,2),16),g:Number.parseInt(r.slice(2,4),16),b:Number.parseInt(r.slice(4,6),16)}}function B({r:e,g:n,b:r}){const t=o=>$e(o).toString(16).padStart(2,"0");return`#${t(e)}${t(n)}${t(r)}`}function a(e,n="#000000"){const r=K(e);return r?B(r):n}function F(e,n,r){const t=K(e),o=K(n);if(!t&&!o)return"#000000";if(!t)return B(o);if(!o)return B(t);const c=Math.max(0,Math.min(1,r));return B({r:t.r+(o.r-t.r)*c,g:t.g+(o.g-t.g)*c,b:t.b+(o.b-t.b)*c})}const Ge="#ffffff",We="#000000";function me(e,n){return F(e,Ge,n)}function qe(e,n){return F(e,We,n)}function Ue(e,n,r){return n==="dark"?me(e,r):qe(e,r)}function C(e,n){return`${a(e)}${n}`}function Xe(){if(typeof document>"u")return Y;const e=getComputedStyle(document.documentElement),n=(t,o)=>e.getPropertyValue(t).trim()||o,r=Y;return{surface:n("--color-surface",r.surface),surfaceAlt:n("--color-surface-alt",r.surfaceAlt),surfaceElevated:n("--color-surface-elevated",r.surfaceElevated),brand:n("--color-brand",r.brand),brandHover:n("--color-brand-hover",r.brandHover),content:n("--color-content",r.content),contentSecondary:n("--color-content-secondary",r.contentSecondary),border:n("--color-border",r.border),input:n("--color-input",r.input),inputBorder:n("--color-input-border",r.inputBorder),success:n("--color-success",r.success),error:n("--color-error",r.error),warning:n("--color-warning",r.warning),info:n("--color-info",r.info),syntaxKeyword:n("--color-syntax-keyword",r.syntaxKeyword),syntaxString:n("--color-syntax-string",r.syntaxString),syntaxFunction:n("--color-syntax-function",r.syntaxFunction),syntaxComment:n("--color-syntax-comment",r.syntaxComment),syntaxNumber:n("--color-syntax-number",r.syntaxNumber),syntaxType:n("--color-syntax-type",r.syntaxType)}}function Ye(){return typeof document>"u"?"dark":document.body.classList.contains("light")?"light":"dark"}function je(){return typeof document>"u"?"":document.documentElement.getAttribute("data-app-theme")??""}function Je(e,n){const r=a(e.syntaxKeyword),t=a(e.syntaxString),o=a(e.syntaxFunction),c=a(e.syntaxComment),s=a(e.syntaxNumber),u=a(e.syntaxType),i=a(e.content),d=a(e.brand),l=a(e.error),m=[{token:"",foreground:i.slice(1)},{token:"comment",foreground:c.slice(1),fontStyle:"italic"},{token:"comment.quote",foreground:c.slice(1),fontStyle:"italic"},{token:"keyword",foreground:r.slice(1)},{token:"keyword.sql",foreground:r.slice(1)},{token:"operator",foreground:r.slice(1)},{token:"operator.sql",foreground:r.slice(1)},{token:"string",foreground:t.slice(1)},{token:"string.sql",foreground:t.slice(1)},{token:"string.escape",foreground:r.slice(1)},{token:"number",foreground:s.slice(1)},{token:"number.float",foreground:s.slice(1)},{token:"number.hex",foreground:s.slice(1)},{token:"constant",foreground:s.slice(1)},{token:"type",foreground:u.slice(1)},{token:"type.identifier",foreground:u.slice(1)},{token:"predefined",foreground:o.slice(1)},{token:"predefined.sql",foreground:o.slice(1)},{token:"function",foreground:o.slice(1)},{token:"identifier",foreground:i.slice(1)},{token:"identifier.quote",foreground:t.slice(1)},{token:"variable",foreground:i.slice(1)},{token:"delimiter",foreground:i.slice(1)},{token:"tag",foreground:r.slice(1)},{token:"attribute.name",foreground:o.slice(1)},{token:"attribute.value",foreground:t.slice(1)},{token:"annotation",foreground:e.warning.replace(/^#/,"")},{token:"regexp",foreground:l.slice(1)}],f=a(e.surfaceAlt),g=a(e.surface),h=a(e.surfaceElevated),_={"editor.background":f,"editor.foreground":i,"editorLineNumber.foreground":a(e.contentSecondary),"editorLineNumber.activeForeground":i,"editorCursor.foreground":d,"editor.selectionBackground":F(g,d,.32),"editor.inactiveSelectionBackground":F(g,d,.18),"editor.lineHighlightBackground":F(f,g,.55),"editorWidget.background":h,"editorWidget.foreground":i,"editorWidget.border":a(e.border),"editorWidget.resizeBorder":d,"input.background":a(e.input),"input.foreground":i,"input.border":a(e.inputBorder),"input.placeholderForeground":a(e.contentSecondary),"inputOption.activeBackground":C(d,"40"),"inputOption.activeBorder":d,"inputOption.activeForeground":i,focusBorder:d,"editor.findMatchBackground":C(a(e.warning),"80"),"editor.findMatchHighlightBackground":C(a(e.warning),"40"),"editor.findRangeHighlightBackground":C(h,"60")};return{base:n==="dark"?"vs-dark":"vs",inherit:!0,rules:m,colors:_}}function ze(e,n){const r=a(e.surface),t=a(e.surfaceElevated),o=a(e.content),c=a(e.contentSecondary),s=a(e.brand),u=a(e.error),i=a(e.success),d=a(e.warning),l=a(e.info),m=a(e.syntaxKeyword),f=h=>Ue(h,n,.22),g={black:t,red:u,green:i,yellow:d,blue:s,magenta:m,cyan:l,white:c,brightBlack:F(t,o,.4),brightRed:f(u),brightGreen:f(i),brightYellow:f(d),brightBlue:f(s),brightMagenta:f(m),brightCyan:f(l),brightWhite:n==="dark"?me(o,.25):o};return{background:r,foreground:o,cursor:s,selectionBackground:F(t,s,.2),...g}}exports.DEFAULT_THEME_ID=S;exports.INK_ROLE_KEYS=Le;exports.LEGACY_THEME_IDS=Q;exports.MAX_TEXT_TINT_ALPHA=Ie;exports.OKABE_ITO_DIFF=H;exports.TEXT_ROLE_KEYS=_e;exports.ThemeProvider=Re;exports.UNIQUE_ACCENT=ue;exports.WELD_BG=te;exports.WELD_SURFACE=re;exports.accessibleFillSurface=E;exports.accessibleInputBorder=ce;exports.accessibleOnFillInk=ae;exports.accessibleTextColor=ie;exports.applyAppTheme=le;exports.derivePaletteProperties=fe;exports.generateMonacoThemeFromPalette=Je;exports.generateTerminalPaletteFromPalette=ze;exports.getThemeById=w;exports.getThemeOptions=ne;exports.getThemes=De;exports.isColorVisionSafeActive=Ne;exports.isKnownThemeId=Fe;exports.readActiveAppPalette=Xe;exports.readActiveAppThemeId=je;exports.readActiveAppThemeType=Ye;exports.registerThemeSource=he;exports.resolveThemeOption=V;exports.textGroundsFor=se;exports.themeOptions=x;exports.toColorVisionSafePalette=de;exports.useTheme=Ve;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type Accessor } from 'solid-js';
|
|
2
|
+
import type { ErrorTextFn } from '../_internal/contract/hostErrorText.cjs';
|
|
2
3
|
/**
|
|
3
4
|
* Race-guarded list loader — the "rows + loading + error + stale-response drop"
|
|
4
5
|
* quartet.
|
|
@@ -48,5 +49,7 @@ export interface GuardedListLoaderOptions<TArgs, TRow> {
|
|
|
48
49
|
readonly fetch: (args: TArgs) => Promise<TRow[]>;
|
|
49
50
|
/** Message to use when the failure is not an `Error`; evaluated at call time. */
|
|
50
51
|
readonly fallbackMessage: () => string;
|
|
52
|
+
/** The application's error sentence (`KitHost.errorPresenter.text`). */
|
|
53
|
+
readonly errorText: ErrorTextFn;
|
|
51
54
|
}
|
|
52
55
|
export declare function createGuardedListLoader<TArgs, TRow>(options: GuardedListLoaderOptions<TArgs, TRow>): GuardedListLoader<TRow>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type Accessor } from 'solid-js';
|
|
2
|
+
import type { ErrorTextFn } from '../_internal/contract/hostErrorText.js';
|
|
2
3
|
/**
|
|
3
4
|
* Race-guarded list loader — the "rows + loading + error + stale-response drop"
|
|
4
5
|
* quartet.
|
|
@@ -48,5 +49,7 @@ export interface GuardedListLoaderOptions<TArgs, TRow> {
|
|
|
48
49
|
readonly fetch: (args: TArgs) => Promise<TRow[]>;
|
|
49
50
|
/** Message to use when the failure is not an `Error`; evaluated at call time. */
|
|
50
51
|
readonly fallbackMessage: () => string;
|
|
52
|
+
/** The application's error sentence (`KitHost.errorPresenter.text`). */
|
|
53
|
+
readonly errorText: ErrorTextFn;
|
|
51
54
|
}
|
|
52
55
|
export declare function createGuardedListLoader<TArgs, TRow>(options: GuardedListLoaderOptions<TArgs, TRow>): GuardedListLoader<TRow>;
|
package/dist/charts/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../TimeSeriesChart-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../TimeSeriesChart-_NOs_Job.cjs");exports.TimeSeriesChart=e.TimeSeriesChart;exports.clampInterval=e.clampInterval;exports.seriesSegments=e.seriesSegments;exports.valueDomain=e.valueDomain;
|
package/dist/charts/index.js
CHANGED
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
import { use as D, insert as p, createComponent as P, effect as C, className as w, setAttribute as E, template as H, style as J, memo as Q, delegateEvents as Z } from "solid-js/web";
|
|
2
|
+
import { u as ee, n as te } from "./Input-DkPhsdfk.js";
|
|
3
|
+
import { createRenderEffect as oe, Show as M, createUniqueId as ie, createSignal as I, createEffect as W, onCleanup as A, on as ne } from "solid-js";
|
|
4
|
+
import { O as re, r as X } from "./dialogFocusRestore-BrALT8Ew.js";
|
|
5
|
+
import { b as $ } from "./window-CUK6x8Pj.js";
|
|
6
|
+
import { K as le } from "./Kbd-DF6Tvp8V.js";
|
|
7
|
+
import { t as g } from "./tooltipCoordinator-BzxEyKhA.js";
|
|
8
|
+
import { i as ae } from "./keys-B2nlkpqc.js";
|
|
9
|
+
import { n as se } from "./prefersReducedMotion-B2mMn01s.js";
|
|
10
|
+
import { r as ce, t as de } from "./Modal-CUPe98-o.js";
|
|
11
|
+
const ue = "vk_root_w-T1s", ve = "vk_disabled_kl1Jx", he = "vk_box_mOCAD", me = "vk_checked_YZgPy", fe = "vk_control_748Lw", be = "vk_input_Ysj9i", ge = "vk_indicator_lYKVu", Te = "vk_label_jB-PM", y = {
|
|
12
|
+
root: ue,
|
|
13
|
+
disabled: ve,
|
|
14
|
+
box: he,
|
|
15
|
+
checked: me,
|
|
16
|
+
control: fe,
|
|
17
|
+
input: be,
|
|
18
|
+
indicator: ge,
|
|
19
|
+
label: Te
|
|
20
|
+
};
|
|
21
|
+
function _e(e, n, r, s, l, ...d) {
|
|
22
|
+
const u = [];
|
|
23
|
+
e && u.push(e), s && n && u.push(n), l && r && u.push(r);
|
|
24
|
+
for (const t of d)
|
|
25
|
+
t !== void 0 && t !== "" && u.push(t);
|
|
26
|
+
return u.join(" ");
|
|
27
|
+
}
|
|
28
|
+
var we = /* @__PURE__ */ H("<span>"), ye = /* @__PURE__ */ H("<label><span><input type=checkbox><span aria-hidden=true><span>");
|
|
29
|
+
function Ke(e) {
|
|
30
|
+
const n = ee();
|
|
31
|
+
return (() => {
|
|
32
|
+
var r = ye(), s = r.firstChild, l = s.firstChild, d = l.nextSibling, u = d.firstChild;
|
|
33
|
+
return l.addEventListener("change", (t) => {
|
|
34
|
+
const v = t.currentTarget;
|
|
35
|
+
e.onChange(v.checked), v.indeterminate = !!e.indeterminate;
|
|
36
|
+
}), D((t) => oe(() => {
|
|
37
|
+
t.indeterminate = !!e.indeterminate;
|
|
38
|
+
}), l), p(r, P(M, {
|
|
39
|
+
get when() {
|
|
40
|
+
return e.children !== void 0;
|
|
41
|
+
},
|
|
42
|
+
get children() {
|
|
43
|
+
var t = we();
|
|
44
|
+
return p(t, () => e.children), C(() => w(t, y.label)), t;
|
|
45
|
+
}
|
|
46
|
+
}), null), C((t) => {
|
|
47
|
+
var v = _e(y.root, y.checked, y.disabled, e.checked || !!e.indeterminate, !!e.disabled, e.class), c = y.control, T = e.id, h = `${y.input} ${e.inputClass ?? ""}`, k = e.disabled, x = n == null ? void 0 : n.describedBy(), m = e.ariaLabel, O = te(n, {
|
|
48
|
+
ariaLabel: e.ariaLabel,
|
|
49
|
+
ariaLabelledBy: e.ariaLabelledBy
|
|
50
|
+
}), _ = `${y.box} ${e.boxClass ?? ""}`, f = y.indicator;
|
|
51
|
+
return v !== t.e && w(r, t.e = v), c !== t.t && w(s, t.t = c), T !== t.a && E(l, "id", t.a = T), h !== t.o && w(l, t.o = h), k !== t.i && (l.disabled = t.i = k), x !== t.n && E(l, "aria-describedby", t.n = x), m !== t.s && E(l, "aria-label", t.s = m), O !== t.h && E(l, "aria-labelledby", t.h = O), _ !== t.r && w(d, t.r = _), f !== t.d && w(u, t.d = f), t;
|
|
52
|
+
}, {
|
|
53
|
+
e: void 0,
|
|
54
|
+
t: void 0,
|
|
55
|
+
a: void 0,
|
|
56
|
+
o: void 0,
|
|
57
|
+
i: void 0,
|
|
58
|
+
n: void 0,
|
|
59
|
+
s: void 0,
|
|
60
|
+
h: void 0,
|
|
61
|
+
r: void 0,
|
|
62
|
+
d: void 0
|
|
63
|
+
}), C(() => l.checked = e.checked), r;
|
|
64
|
+
})();
|
|
65
|
+
}
|
|
66
|
+
const ke = "vk_trigger_--BjF", xe = "vk_tooltip_eJQhN", Ee = "vk_hostTooltip_vLrNc", Le = "vk_tooltipInner_AyPkl", B = {
|
|
67
|
+
trigger: ke,
|
|
68
|
+
tooltip: xe,
|
|
69
|
+
hostTooltip: Ee,
|
|
70
|
+
tooltipInner: Le
|
|
71
|
+
}, pe = 12, z = 16, L = 8, Ce = 620;
|
|
72
|
+
function Oe(e) {
|
|
73
|
+
const n = e.tooltipWidth ?? Ce, r = e.tooltipWidth === void 0 ? e.viewportWidth : e.viewportWidth - L, s = Math.min(
|
|
74
|
+
e.pointerX + pe,
|
|
75
|
+
r - n
|
|
76
|
+
), l = Math.max(L, s), d = e.pointerY + z, u = e.tooltipHeight ?? 0, t = e.viewportHeight === void 0 ? d : Math.max(
|
|
77
|
+
L,
|
|
78
|
+
e.viewportHeight - u - L
|
|
79
|
+
), v = e.aboveY === void 0 ? d : e.aboveY - u - z, c = e.viewportHeight !== void 0 && d > t ? Math.max(L, Math.min(v, t)) : Math.max(L, Math.min(d, t));
|
|
80
|
+
return { left: l, top: c };
|
|
81
|
+
}
|
|
82
|
+
var Fe = /* @__PURE__ */ H("<span>"), Se = /* @__PURE__ */ H("<div><span>"), Ie = /* @__PURE__ */ H("<div role=tooltip>");
|
|
83
|
+
const Pe = 1e3, He = 180;
|
|
84
|
+
function Ve(e) {
|
|
85
|
+
const n = ie(), [r, s] = I(!1), [l, d] = I({
|
|
86
|
+
x: 0,
|
|
87
|
+
y: 0
|
|
88
|
+
}), [u, t] = I(), [v, c] = I({
|
|
89
|
+
width: 0,
|
|
90
|
+
height: 0
|
|
91
|
+
}), [T, h] = I(!1);
|
|
92
|
+
let k, x, m, O;
|
|
93
|
+
const _ = () => $(m), f = () => {
|
|
94
|
+
k !== void 0 && (_().clearTimeout(k), k = void 0);
|
|
95
|
+
}, F = () => {
|
|
96
|
+
x !== void 0 && (_().clearTimeout(x), x = void 0);
|
|
97
|
+
}, Y = () => {
|
|
98
|
+
F(), x = _().setTimeout(() => {
|
|
99
|
+
s(!1), g.recordTooltipHidden();
|
|
100
|
+
}, He);
|
|
101
|
+
}, K = (o) => {
|
|
102
|
+
if (!e.content) return;
|
|
103
|
+
F();
|
|
104
|
+
const i = o.clientX, a = o.clientY;
|
|
105
|
+
f(), g.activeTooltip() && g.hideTooltip();
|
|
106
|
+
const b = g.isWarm() ? 0 : e.delayMs ?? Pe;
|
|
107
|
+
k = _().setTimeout(() => {
|
|
108
|
+
d({
|
|
109
|
+
x: i,
|
|
110
|
+
y: a
|
|
111
|
+
}), t(a), s(!0), g.recordTooltipShown();
|
|
112
|
+
}, b);
|
|
113
|
+
}, V = (o) => {
|
|
114
|
+
r() || d({
|
|
115
|
+
x: o.clientX,
|
|
116
|
+
y: o.clientY
|
|
117
|
+
});
|
|
118
|
+
}, N = () => {
|
|
119
|
+
f(), r() && Y();
|
|
120
|
+
}, j = () => {
|
|
121
|
+
F();
|
|
122
|
+
}, U = () => {
|
|
123
|
+
Y();
|
|
124
|
+
}, q = () => {
|
|
125
|
+
if (!e.content) return;
|
|
126
|
+
F(), f(), g.activeTooltip() && g.hideTooltip();
|
|
127
|
+
const o = m == null ? void 0 : m.getBoundingClientRect();
|
|
128
|
+
o && (d({
|
|
129
|
+
x: o.left,
|
|
130
|
+
y: o.bottom
|
|
131
|
+
}), t(o.top)), s(!0), g.recordTooltipShown();
|
|
132
|
+
}, G = () => {
|
|
133
|
+
f(), r() && Y();
|
|
134
|
+
};
|
|
135
|
+
return W(() => {
|
|
136
|
+
g.activeTooltip() && r() && (s(!1), f());
|
|
137
|
+
}), W(() => {
|
|
138
|
+
if (!r()) return;
|
|
139
|
+
const o = () => {
|
|
140
|
+
s(!1);
|
|
141
|
+
}, i = (b) => {
|
|
142
|
+
ae(b, "Escape") && (b.stopPropagation(), b.stopImmediatePropagation(), f(), s(!1), g.dismissAll());
|
|
143
|
+
}, a = $(m);
|
|
144
|
+
a.addEventListener("scroll", o, !0), a.addEventListener("resize", o), a.addEventListener("keydown", i, !0), A(() => {
|
|
145
|
+
a.removeEventListener("scroll", o, !0), a.removeEventListener("resize", o), a.removeEventListener("keydown", i, !0);
|
|
146
|
+
});
|
|
147
|
+
}), A(() => {
|
|
148
|
+
f(), F();
|
|
149
|
+
}), [(() => {
|
|
150
|
+
var o = Fe();
|
|
151
|
+
return o.$$focusout = G, o.$$focusin = q, o.addEventListener("mouseleave", N), o.$$mousemove = V, o.addEventListener("mouseenter", K), D((i) => {
|
|
152
|
+
m = i;
|
|
153
|
+
const a = i.querySelector('button, a[href], input, select, textarea, [tabindex]:not([tabindex="-1"])');
|
|
154
|
+
h(a !== null);
|
|
155
|
+
}, o), p(o, () => e.children), C((i) => {
|
|
156
|
+
var a = B.trigger, b = T() ? void 0 : 0, S = r() ? n : void 0;
|
|
157
|
+
return a !== i.e && w(o, i.e = a), b !== i.t && E(o, "tabindex", i.t = b), S !== i.a && E(o, "aria-describedby", i.a = S), i;
|
|
158
|
+
}, {
|
|
159
|
+
e: void 0,
|
|
160
|
+
t: void 0,
|
|
161
|
+
a: void 0
|
|
162
|
+
}), o;
|
|
163
|
+
})(), P(M, {
|
|
164
|
+
get when() {
|
|
165
|
+
return Q(() => !!r())() && e.content;
|
|
166
|
+
},
|
|
167
|
+
get children() {
|
|
168
|
+
return P(re, {
|
|
169
|
+
type: "tooltip",
|
|
170
|
+
get mount() {
|
|
171
|
+
return $(m).document.body;
|
|
172
|
+
},
|
|
173
|
+
element: () => O,
|
|
174
|
+
idPrefix: "hover-tooltip",
|
|
175
|
+
get children() {
|
|
176
|
+
var o = Ie();
|
|
177
|
+
return o.addEventListener("mouseleave", U), o.addEventListener("mouseenter", j), D((i) => {
|
|
178
|
+
O = i;
|
|
179
|
+
const a = i.getBoundingClientRect();
|
|
180
|
+
c({
|
|
181
|
+
width: a.width,
|
|
182
|
+
height: a.height
|
|
183
|
+
});
|
|
184
|
+
}, o), E(o, "id", n), p(o, P(M, {
|
|
185
|
+
get when() {
|
|
186
|
+
return e.shortcut;
|
|
187
|
+
},
|
|
188
|
+
get fallback() {
|
|
189
|
+
return e.content;
|
|
190
|
+
},
|
|
191
|
+
get children() {
|
|
192
|
+
var i = Se(), a = i.firstChild;
|
|
193
|
+
return p(a, () => e.content), p(i, P(le, {
|
|
194
|
+
size: "xs",
|
|
195
|
+
get shortcut() {
|
|
196
|
+
return e.shortcut;
|
|
197
|
+
}
|
|
198
|
+
}), null), C(() => w(i, B.tooltipInner)), i;
|
|
199
|
+
}
|
|
200
|
+
})), C((i) => {
|
|
201
|
+
var a = B.tooltip, b = (() => {
|
|
202
|
+
const S = u(), R = Oe({
|
|
203
|
+
pointerX: l().x,
|
|
204
|
+
pointerY: l().y,
|
|
205
|
+
viewportWidth: _().innerWidth,
|
|
206
|
+
viewportHeight: _().innerHeight,
|
|
207
|
+
tooltipWidth: v().width,
|
|
208
|
+
tooltipHeight: v().height,
|
|
209
|
+
...S !== void 0 ? {
|
|
210
|
+
aboveY: S
|
|
211
|
+
} : {}
|
|
212
|
+
});
|
|
213
|
+
return {
|
|
214
|
+
top: `${R.top}px`,
|
|
215
|
+
left: `${R.left}px`
|
|
216
|
+
};
|
|
217
|
+
})();
|
|
218
|
+
return a !== i.e && w(o, i.e = a), i.t = J(o, b, i.t), i;
|
|
219
|
+
}, {
|
|
220
|
+
e: void 0,
|
|
221
|
+
t: void 0
|
|
222
|
+
}), o;
|
|
223
|
+
}
|
|
224
|
+
});
|
|
225
|
+
}
|
|
226
|
+
})];
|
|
227
|
+
}
|
|
228
|
+
Z(["mousemove", "focusin", "focusout"]);
|
|
229
|
+
function Ne(e) {
|
|
230
|
+
let n = null, r = null, s = null, l = null;
|
|
231
|
+
const d = () => {
|
|
232
|
+
var c;
|
|
233
|
+
l !== null && ((c = e.ownerDocument().defaultView) == null || c.cancelAnimationFrame(l), l = null);
|
|
234
|
+
}, u = () => {
|
|
235
|
+
d(), s == null || s(), s = null;
|
|
236
|
+
}, t = (c) => {
|
|
237
|
+
n = c, r ?? (r = e.ownerDocument().activeElement);
|
|
238
|
+
};
|
|
239
|
+
W(
|
|
240
|
+
ne(
|
|
241
|
+
() => e.open(),
|
|
242
|
+
(c, T) => {
|
|
243
|
+
if (c) {
|
|
244
|
+
n !== null && s === null && (s = se(n)), d();
|
|
245
|
+
const h = e.ownerDocument().defaultView;
|
|
246
|
+
n !== null && h !== null && (l = h.requestAnimationFrame(() => {
|
|
247
|
+
l = null, e.open() && (n == null || n.focus());
|
|
248
|
+
}));
|
|
249
|
+
return;
|
|
250
|
+
}
|
|
251
|
+
T === !0 && (u(), X(r), r = null, n = null);
|
|
252
|
+
}
|
|
253
|
+
)
|
|
254
|
+
);
|
|
255
|
+
const v = (c) => {
|
|
256
|
+
var h;
|
|
257
|
+
const T = ce(c.key, {
|
|
258
|
+
confirmOnEnter: !1
|
|
259
|
+
});
|
|
260
|
+
if (T === "dismiss") {
|
|
261
|
+
if (((h = e.dismissDisabled) == null ? void 0 : h.call(e)) === !0) return;
|
|
262
|
+
c.stopPropagation(), e.onDismiss();
|
|
263
|
+
return;
|
|
264
|
+
}
|
|
265
|
+
T === "trap" && n !== null && de(n, c);
|
|
266
|
+
};
|
|
267
|
+
return A(() => {
|
|
268
|
+
u(), X(r), r = null, n = null;
|
|
269
|
+
}), { captureDialog: t, handleKeyDown: v };
|
|
270
|
+
}
|
|
271
|
+
export {
|
|
272
|
+
Ke as C,
|
|
273
|
+
Ve as H,
|
|
274
|
+
pe as T,
|
|
275
|
+
z as a,
|
|
276
|
+
_e as b,
|
|
277
|
+
Ce as c,
|
|
278
|
+
L as d,
|
|
279
|
+
Oe as e,
|
|
280
|
+
Ne as f,
|
|
281
|
+
B as s
|
|
282
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const t=require("solid-js/web"),M=require("./Input-CZruORyy.cjs"),u=require("solid-js"),P=require("./dialogFocusRestore-CcEsB50v.cjs"),I=require("./window-_BfSgFGO.cjs"),U=require("./Kbd-BDZklpw9.cjs"),_=require("./tooltipCoordinator-DslqMlsI.cjs"),j=require("./keys-GMxY2wcl.cjs"),G=require("./prefersReducedMotion-BQp-Q4UR.cjs"),W=require("./Modal-CQG8l4x7.cjs"),J="vk_root_w-T1s",Q="vk_disabled_kl1Jx",Z="vk_box_mOCAD",ee="vk_checked_YZgPy",te="vk_control_748Lw",oe="vk_input_Ysj9i",ie="vk_indicator_lYKVu",ne="vk_label_jB-PM",p={root:J,disabled:Q,box:Z,checked:ee,control:te,input:oe,indicator:ie,label:ne};function Y(e,r,l,c,a,...h){const v=[];e&&v.push(e),c&&r&&v.push(r),a&&l&&v.push(l);for(const o of h)o!==void 0&&o!==""&&v.push(o);return v.join(" ")}var re=t.template("<span>"),le=t.template("<label><span><input type=checkbox><span aria-hidden=true><span>");function ae(e){const r=M.useFormFieldAria();return(()=>{var l=le(),c=l.firstChild,a=c.firstChild,h=a.nextSibling,v=h.firstChild;return a.addEventListener("change",o=>{const m=o.currentTarget;e.onChange(m.checked),m.indeterminate=!!e.indeterminate}),t.use(o=>u.createRenderEffect(()=>{o.indeterminate=!!e.indeterminate}),a),t.insert(l,t.createComponent(u.Show,{get when(){return e.children!==void 0},get children(){var o=re();return t.insert(o,()=>e.children),t.effect(()=>t.className(o,p.label)),o}}),null),t.effect(o=>{var m=Y(p.root,p.checked,p.disabled,e.checked||!!e.indeterminate,!!e.disabled,e.class),d=p.control,w=e.id,f=`${p.input} ${e.inputClass??""}`,O=e.disabled,E=r==null?void 0:r.describedBy(),b=e.ariaLabel,L=M.nativeControlLabelledBy(r,{ariaLabel:e.ariaLabel,ariaLabelledBy:e.ariaLabelledBy}),C=`${p.box} ${e.boxClass??""}`,g=p.indicator;return m!==o.e&&t.className(l,o.e=m),d!==o.t&&t.className(c,o.t=d),w!==o.a&&t.setAttribute(a,"id",o.a=w),f!==o.o&&t.className(a,o.o=f),O!==o.i&&(a.disabled=o.i=O),E!==o.n&&t.setAttribute(a,"aria-describedby",o.n=E),b!==o.s&&t.setAttribute(a,"aria-label",o.s=b),L!==o.h&&t.setAttribute(a,"aria-labelledby",o.h=L),C!==o.r&&t.className(h,o.r=C),g!==o.d&&t.className(v,o.d=g),o},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0,n:void 0,s:void 0,h:void 0,r:void 0,d:void 0}),t.effect(()=>a.checked=e.checked),l})()}const se="vk_trigger_--BjF",ce="vk_tooltip_eJQhN",de="vk_hostTooltip_vLrNc",ue="vk_tooltipInner_AyPkl",x={trigger:se,tooltip:ce,hostTooltip:de,tooltipInner:ue},H=12,A=16,y=8,N=620;function $(e){const r=e.tooltipWidth??N,l=e.tooltipWidth===void 0?e.viewportWidth:e.viewportWidth-y,c=Math.min(e.pointerX+H,l-r),a=Math.max(y,c),h=e.pointerY+A,v=e.tooltipHeight??0,o=e.viewportHeight===void 0?h:Math.max(y,e.viewportHeight-v-y),m=e.aboveY===void 0?h:e.aboveY-v-A,d=e.viewportHeight!==void 0&&h>o?Math.max(y,Math.min(m,o)):Math.max(y,Math.min(h,o));return{left:a,top:d}}var he=t.template("<span>"),ve=t.template("<div><span>"),me=t.template("<div role=tooltip>");const fe=1e3,be=180;function ge(e){const r=u.createUniqueId(),[l,c]=u.createSignal(!1),[a,h]=u.createSignal({x:0,y:0}),[v,o]=u.createSignal(),[m,d]=u.createSignal({width:0,height:0}),[w,f]=u.createSignal(!1);let O,E,b,L;const C=()=>I.getWindow(b),g=()=>{O!==void 0&&(C().clearTimeout(O),O=void 0)},k=()=>{E!==void 0&&(C().clearTimeout(E),E=void 0)},F=()=>{k(),E=C().setTimeout(()=>{c(!1),_.tooltipCoordinator.recordTooltipHidden()},be)},D=i=>{if(!e.content)return;k();const n=i.clientX,s=i.clientY;g(),_.tooltipCoordinator.activeTooltip()&&_.tooltipCoordinator.hideTooltip();const T=_.tooltipCoordinator.isWarm()?0:e.delayMs??fe;O=C().setTimeout(()=>{h({x:n,y:s}),o(s),c(!0),_.tooltipCoordinator.recordTooltipShown()},T)},q=i=>{l()||h({x:i.clientX,y:i.clientY})},B=()=>{g(),l()&&F()},X=()=>{k()},V=()=>{F()},z=()=>{if(!e.content)return;k(),g(),_.tooltipCoordinator.activeTooltip()&&_.tooltipCoordinator.hideTooltip();const i=b==null?void 0:b.getBoundingClientRect();i&&(h({x:i.left,y:i.bottom}),o(i.top)),c(!0),_.tooltipCoordinator.recordTooltipShown()},K=()=>{g(),l()&&F()};return u.createEffect(()=>{_.tooltipCoordinator.activeTooltip()&&l()&&(c(!1),g())}),u.createEffect(()=>{if(!l())return;const i=()=>{c(!1)},n=T=>{j.isKey(T,"Escape")&&(T.stopPropagation(),T.stopImmediatePropagation(),g(),c(!1),_.tooltipCoordinator.dismissAll())},s=I.getWindow(b);s.addEventListener("scroll",i,!0),s.addEventListener("resize",i),s.addEventListener("keydown",n,!0),u.onCleanup(()=>{s.removeEventListener("scroll",i,!0),s.removeEventListener("resize",i),s.removeEventListener("keydown",n,!0)})}),u.onCleanup(()=>{g(),k()}),[(()=>{var i=he();return i.$$focusout=K,i.$$focusin=z,i.addEventListener("mouseleave",B),i.$$mousemove=q,i.addEventListener("mouseenter",D),t.use(n=>{b=n;const s=n.querySelector('button, a[href], input, select, textarea, [tabindex]:not([tabindex="-1"])');f(s!==null)},i),t.insert(i,()=>e.children),t.effect(n=>{var s=x.trigger,T=w()?void 0:0,S=l()?r:void 0;return s!==n.e&&t.className(i,n.e=s),T!==n.t&&t.setAttribute(i,"tabindex",n.t=T),S!==n.a&&t.setAttribute(i,"aria-describedby",n.a=S),n},{e:void 0,t:void 0,a:void 0}),i})(),t.createComponent(u.Show,{get when(){return t.memo(()=>!!l())()&&e.content},get children(){return t.createComponent(P.OverlayPortal,{type:"tooltip",get mount(){return I.getWindow(b).document.body},element:()=>L,idPrefix:"hover-tooltip",get children(){var i=me();return i.addEventListener("mouseleave",V),i.addEventListener("mouseenter",X),t.use(n=>{L=n;const s=n.getBoundingClientRect();d({width:s.width,height:s.height})},i),t.setAttribute(i,"id",r),t.insert(i,t.createComponent(u.Show,{get when(){return e.shortcut},get fallback(){return e.content},get children(){var n=ve(),s=n.firstChild;return t.insert(s,()=>e.content),t.insert(n,t.createComponent(U.Kbd,{size:"xs",get shortcut(){return e.shortcut}}),null),t.effect(()=>t.className(n,x.tooltipInner)),n}})),t.effect(n=>{var s=x.tooltip,T=(()=>{const S=v(),R=$({pointerX:a().x,pointerY:a().y,viewportWidth:C().innerWidth,viewportHeight:C().innerHeight,tooltipWidth:m().width,tooltipHeight:m().height,...S!==void 0?{aboveY:S}:{}});return{top:`${R.top}px`,left:`${R.left}px`}})();return s!==n.e&&t.className(i,n.e=s),n.t=t.style(i,T,n.t),n},{e:void 0,t:void 0}),i}})}})]}t.delegateEvents(["mousemove","focusin","focusout"]);function Te(e){let r=null,l=null,c=null,a=null;const h=()=>{var d;a!==null&&((d=e.ownerDocument().defaultView)==null||d.cancelAnimationFrame(a),a=null)},v=()=>{h(),c==null||c(),c=null},o=d=>{r=d,l??(l=e.ownerDocument().activeElement)};u.createEffect(u.on(()=>e.open(),(d,w)=>{if(d){r!==null&&c===null&&(c=G.neutralizeBackground(r)),h();const f=e.ownerDocument().defaultView;r!==null&&f!==null&&(a=f.requestAnimationFrame(()=>{a=null,e.open()&&(r==null||r.focus())}));return}w===!0&&(v(),P.restoreFocusTo(l),l=null,r=null)}));const m=d=>{var f;const w=W.resolveDialogShellKeyIntent(d.key,{confirmOnEnter:!1});if(w==="dismiss"){if(((f=e.dismissDisabled)==null?void 0:f.call(e))===!0)return;d.stopPropagation(),e.onDismiss();return}w==="trap"&&r!==null&&W.trapTabFocusWithin(r,d)};return u.onCleanup(()=>{v(),P.restoreFocusTo(l),l=null,r=null}),{captureDialog:o,handleKeyDown:m}}exports.Checkbox=ae;exports.HoverTooltip=ge;exports.TOOLTIP_CURSOR_OFFSET_X=H;exports.TOOLTIP_CURSOR_OFFSET_Y=A;exports.TOOLTIP_MAX_FOOTPRINT_X=N;exports.TOOLTIP_VIEWPORT_MARGIN=y;exports.buildSelectionItemClass=Y;exports.computeTooltipPointerPosition=$;exports.createDialogShellFocus=Te;exports.styles=x;
|