@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
|
@@ -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 +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-nZeB5jtN.cjs");exports.TimeSeriesChart=e.TimeSeriesChart;exports.clampInterval=e.clampInterval;exports.seriesSegments=e.seriesSegments;exports.valueDomain=e.valueDomain;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { ssr as M, ssrAttribute as m, escape as a, createComponent as
|
|
2
|
-
import { u as
|
|
3
|
-
import { createSignal as
|
|
4
|
-
import { O as
|
|
5
|
-
import { b as
|
|
1
|
+
import { ssr as M, ssrAttribute as m, escape as a, createComponent as y, ssrStyle as R, memo as $ } from "solid-js/web";
|
|
2
|
+
import { u as K, n as H } from "./Input-DaEN2JJd.js";
|
|
3
|
+
import { createSignal as x, Show as P, createUniqueId as B, createEffect as S, onCleanup as D, on as z } from "solid-js";
|
|
4
|
+
import { O as N, r as O } from "./dialogFocusRestore-BrALT8Ew.js";
|
|
5
|
+
import { b as A } from "./window-CUK6x8Pj.js";
|
|
6
6
|
import { K as j } from "./Kbd-BTbz_c_e.js";
|
|
7
|
-
import { o as
|
|
8
|
-
import {
|
|
9
|
-
import { i as
|
|
7
|
+
import { o as U } from "./ownerWindow-9mx_LD47.js";
|
|
8
|
+
import { c as V } from "./errorHandler-BvPGW-Nm.js";
|
|
9
|
+
import { i as I } from "./keys-B2nlkpqc.js";
|
|
10
10
|
import { n as X } from "./prefersReducedMotion-B2mMn01s.js";
|
|
11
|
-
const
|
|
12
|
-
function
|
|
13
|
-
const { anchorRect: e, tooltipSize: o, viewport: i } = t, l = t.offset ??
|
|
11
|
+
const q = 350, $t = 0, C = 300, G = 6, J = 8;
|
|
12
|
+
function Kt(t) {
|
|
13
|
+
const { anchorRect: e, tooltipSize: o, viewport: i } = t, l = t.offset ?? G, n = t.margin ?? J, s = t.placement ?? "bottom", u = "bottom" in e && e.bottom !== void 0 ? e.bottom : e.top + e.height, h = "right" in e && e.right !== void 0 ? e.right : e.left + e.width;
|
|
14
14
|
let c = s, p = 0, f = 0;
|
|
15
15
|
if (s === "top" || s === "bottom") {
|
|
16
16
|
if (s === "top") {
|
|
@@ -26,11 +26,11 @@ function Ht(t) {
|
|
|
26
26
|
Math.min(v, i.height - o.height - n)
|
|
27
27
|
);
|
|
28
28
|
}
|
|
29
|
-
const
|
|
29
|
+
const b = e.left + (e.width - o.width) / 2, _ = Math.max(
|
|
30
30
|
n,
|
|
31
31
|
i.width - o.width - n
|
|
32
32
|
);
|
|
33
|
-
f = Math.max(n, Math.min(
|
|
33
|
+
f = Math.max(n, Math.min(b, _));
|
|
34
34
|
} else {
|
|
35
35
|
if (s === "left") {
|
|
36
36
|
const v = e.left - l - o.width;
|
|
@@ -45,16 +45,16 @@ function Ht(t) {
|
|
|
45
45
|
Math.min(v, i.width - o.width - n)
|
|
46
46
|
);
|
|
47
47
|
}
|
|
48
|
-
const
|
|
48
|
+
const b = e.top + (e.height - o.height) / 2, _ = Math.max(
|
|
49
49
|
n,
|
|
50
50
|
i.height - o.height - n
|
|
51
51
|
);
|
|
52
|
-
p = Math.max(n, Math.min(
|
|
52
|
+
p = Math.max(n, Math.min(b, _));
|
|
53
53
|
}
|
|
54
54
|
return { top: p, left: f, placement: c };
|
|
55
55
|
}
|
|
56
|
-
function
|
|
57
|
-
const [t, e] =
|
|
56
|
+
function Q() {
|
|
57
|
+
const [t, e] = x(null);
|
|
58
58
|
let o = !1, i = null, l, n, s = null;
|
|
59
59
|
const u = () => {
|
|
60
60
|
l !== void 0 && (clearTimeout(l), l = void 0);
|
|
@@ -65,7 +65,7 @@ function Z() {
|
|
|
65
65
|
try {
|
|
66
66
|
s();
|
|
67
67
|
} catch (r) {
|
|
68
|
-
|
|
68
|
+
V(
|
|
69
69
|
"Window context may already be destroyed or unloaded",
|
|
70
70
|
r
|
|
71
71
|
);
|
|
@@ -75,22 +75,22 @@ function Z() {
|
|
|
75
75
|
}, p = (r) => {
|
|
76
76
|
c();
|
|
77
77
|
const d = () => {
|
|
78
|
-
|
|
78
|
+
b();
|
|
79
79
|
}, T = (k) => {
|
|
80
|
-
|
|
80
|
+
I(k, "Escape") && t() !== null && (k.stopPropagation(), k.stopImmediatePropagation(), b());
|
|
81
81
|
};
|
|
82
82
|
r.addEventListener("scroll", d, !0), r.addEventListener("pointerdown", d, !0), r.addEventListener("keydown", T, !0), r.addEventListener("blur", d), s = () => {
|
|
83
83
|
r.removeEventListener("scroll", d, !0), r.removeEventListener("pointerdown", d, !0), r.removeEventListener("keydown", T, !0), r.removeEventListener("blur", d);
|
|
84
84
|
};
|
|
85
85
|
}, f = (r) => {
|
|
86
86
|
u(), h(), i = null, o = !0, e(r);
|
|
87
|
-
const d =
|
|
87
|
+
const d = U(r.target);
|
|
88
88
|
if (d === null) {
|
|
89
89
|
c();
|
|
90
90
|
return;
|
|
91
91
|
}
|
|
92
92
|
p(d);
|
|
93
|
-
},
|
|
93
|
+
}, b = () => {
|
|
94
94
|
u(), h(), i = null, o = !1, e(null), c();
|
|
95
95
|
};
|
|
96
96
|
return {
|
|
@@ -106,7 +106,7 @@ function Z() {
|
|
|
106
106
|
f(r);
|
|
107
107
|
else {
|
|
108
108
|
u(), i = r;
|
|
109
|
-
const T = r.delayMs ??
|
|
109
|
+
const T = r.delayMs ?? q;
|
|
110
110
|
T <= 0 ? f(r) : l = setTimeout(() => {
|
|
111
111
|
i === r && f(r);
|
|
112
112
|
}, T);
|
|
@@ -126,7 +126,7 @@ function Z() {
|
|
|
126
126
|
o = !1, n = void 0;
|
|
127
127
|
}, C);
|
|
128
128
|
},
|
|
129
|
-
dismissAll:
|
|
129
|
+
dismissAll: b,
|
|
130
130
|
recordTooltipShown: () => {
|
|
131
131
|
h(), o = !0;
|
|
132
132
|
},
|
|
@@ -137,108 +137,108 @@ function Z() {
|
|
|
137
137
|
}
|
|
138
138
|
};
|
|
139
139
|
}
|
|
140
|
-
const W =
|
|
141
|
-
root:
|
|
142
|
-
disabled:
|
|
143
|
-
box:
|
|
144
|
-
checked:
|
|
145
|
-
control:
|
|
146
|
-
input:
|
|
147
|
-
indicator:
|
|
148
|
-
label:
|
|
140
|
+
const W = Q(), Z = "vk_root_w-T1s", tt = "vk_disabled_kl1Jx", et = "vk_box_mOCAD", ot = "vk_checked_YZgPy", nt = "vk_control_748Lw", it = "vk_input_Ysj9i", rt = "vk_indicator_lYKVu", lt = "vk_label_jB-PM", w = {
|
|
141
|
+
root: Z,
|
|
142
|
+
disabled: tt,
|
|
143
|
+
box: et,
|
|
144
|
+
checked: ot,
|
|
145
|
+
control: nt,
|
|
146
|
+
input: it,
|
|
147
|
+
indicator: rt,
|
|
148
|
+
label: lt
|
|
149
149
|
};
|
|
150
|
-
function
|
|
150
|
+
function st(t, e, o, i, l, ...n) {
|
|
151
151
|
const s = [];
|
|
152
152
|
t && s.push(t), i && e && s.push(e), l && o && s.push(o);
|
|
153
153
|
for (const u of n)
|
|
154
154
|
u !== void 0 && u !== "" && s.push(u);
|
|
155
155
|
return s.join(" ");
|
|
156
156
|
}
|
|
157
|
-
var
|
|
158
|
-
function
|
|
159
|
-
const e =
|
|
160
|
-
return M(
|
|
157
|
+
var at = ["<span", ">", "</span>"], ct = ["<label", "><span", '><input type="checkbox"', ' class="', '"', "", '><span class="', '" aria-hidden="true"><span', "></span></span></span>", "</label>"];
|
|
158
|
+
function Ht(t) {
|
|
159
|
+
const e = K();
|
|
160
|
+
return M(ct, m("class", a(st(w.root, w.checked, w.disabled, t.checked || !!t.indeterminate, !!t.disabled, t.class), !0), !1), m("class", a(w.control, !0), !1), m("id", a(t.id, !0), !1), `${a(w.input, !0)} ${a(t.inputClass ?? "", !0)}`, m("checked", t.checked, !0), m("disabled", t.disabled, !0) + m("aria-describedby", a(e == null ? void 0 : e.describedBy(), !0), !1) + m("aria-label", a(t.ariaLabel, !0), !1) + m("aria-labelledby", a(H(e, {
|
|
161
161
|
ariaLabel: t.ariaLabel,
|
|
162
162
|
ariaLabelledBy: t.ariaLabelledBy
|
|
163
|
-
}), !0), !1), `${a(w.box, !0)} ${a(t.boxClass ?? "", !0)}`, m("class", a(w.indicator, !0), !1), a(
|
|
163
|
+
}), !0), !1), `${a(w.box, !0)} ${a(t.boxClass ?? "", !0)}`, m("class", a(w.indicator, !0), !1), a(y(P, {
|
|
164
164
|
get when() {
|
|
165
165
|
return t.children !== void 0;
|
|
166
166
|
},
|
|
167
167
|
get children() {
|
|
168
|
-
return M(
|
|
168
|
+
return M(at, m("class", a(w.label, !0), !1), a(t.children));
|
|
169
169
|
}
|
|
170
170
|
})));
|
|
171
171
|
}
|
|
172
|
-
const
|
|
173
|
-
trigger:
|
|
174
|
-
tooltip:
|
|
175
|
-
hostTooltip:
|
|
176
|
-
tooltipInner:
|
|
177
|
-
},
|
|
178
|
-
function
|
|
179
|
-
const e = t.tooltipWidth ??
|
|
180
|
-
t.pointerX +
|
|
172
|
+
const dt = "vk_trigger_--BjF", ut = "vk_tooltip_eJQhN", ht = "vk_hostTooltip_vLrNc", ft = "vk_tooltipInner_AyPkl", F = {
|
|
173
|
+
trigger: dt,
|
|
174
|
+
tooltip: ut,
|
|
175
|
+
hostTooltip: ht,
|
|
176
|
+
tooltipInner: ft
|
|
177
|
+
}, mt = 12, Y = 16, L = 8, pt = 620;
|
|
178
|
+
function vt(t) {
|
|
179
|
+
const e = t.tooltipWidth ?? pt, o = t.tooltipWidth === void 0 ? t.viewportWidth : t.viewportWidth - L, i = Math.min(
|
|
180
|
+
t.pointerX + mt,
|
|
181
181
|
o - e
|
|
182
|
-
), l = Math.max(L, i), n = t.pointerY +
|
|
182
|
+
), l = Math.max(L, i), n = t.pointerY + Y, s = t.tooltipHeight ?? 0, u = t.viewportHeight === void 0 ? n : Math.max(
|
|
183
183
|
L,
|
|
184
184
|
t.viewportHeight - s - L
|
|
185
|
-
), h = t.aboveY === void 0 ? n : t.aboveY - s -
|
|
185
|
+
), h = t.aboveY === void 0 ? n : t.aboveY - s - Y, c = t.viewportHeight !== void 0 && n > u ? Math.max(L, Math.min(h, u)) : Math.max(L, Math.min(n, u));
|
|
186
186
|
return { left: l, top: c };
|
|
187
187
|
}
|
|
188
|
-
var bt = ["<span", ">", "</span>"],
|
|
189
|
-
function
|
|
190
|
-
const e =
|
|
188
|
+
var bt = ["<span", ">", "</span>"], gt = ["<div", "><span>", "</span>", "</div>"], Tt = ["<div", ' role="tooltip" style="', '">', "</div>"];
|
|
189
|
+
function Bt(t) {
|
|
190
|
+
const e = B(), [o, i] = x(!1), [l, n] = x({
|
|
191
191
|
x: 0,
|
|
192
192
|
y: 0
|
|
193
|
-
}), [s, u] =
|
|
193
|
+
}), [s, u] = x(), [h, c] = x({
|
|
194
194
|
width: 0,
|
|
195
195
|
height: 0
|
|
196
|
-
}), [p, f] =
|
|
197
|
-
let
|
|
198
|
-
const v = () =>
|
|
199
|
-
return
|
|
196
|
+
}), [p, f] = x(!1);
|
|
197
|
+
let b, _;
|
|
198
|
+
const v = () => A(b);
|
|
199
|
+
return S(() => {
|
|
200
200
|
W.activeTooltip() && o() && i(!1);
|
|
201
|
-
}),
|
|
201
|
+
}), S(() => {
|
|
202
202
|
if (!o()) return;
|
|
203
|
-
const
|
|
203
|
+
const g = () => {
|
|
204
204
|
i(!1);
|
|
205
205
|
}, E = (d) => {
|
|
206
|
-
|
|
207
|
-
}, r =
|
|
208
|
-
r.addEventListener("scroll",
|
|
209
|
-
r.removeEventListener("scroll",
|
|
206
|
+
I(d, "Escape") && (d.stopPropagation(), d.stopImmediatePropagation(), i(!1), W.dismissAll());
|
|
207
|
+
}, r = A(b);
|
|
208
|
+
r.addEventListener("scroll", g, !0), r.addEventListener("resize", g), r.addEventListener("keydown", E, !0), D(() => {
|
|
209
|
+
r.removeEventListener("scroll", g, !0), r.removeEventListener("resize", g), r.removeEventListener("keydown", E, !0);
|
|
210
210
|
});
|
|
211
|
-
}),
|
|
212
|
-
}), [M(bt, m("class", a(F.trigger, !0), !1) + m("tabindex", p() ? a(void 0, !0) : 0, !1) + m("aria-describedby", o() ? a(e, !0) : a(void 0, !0), !1), a(t.children)),
|
|
211
|
+
}), D(() => {
|
|
212
|
+
}), [M(bt, m("class", a(F.trigger, !0), !1) + m("tabindex", p() ? a(void 0, !0) : 0, !1) + m("aria-describedby", o() ? a(e, !0) : a(void 0, !0), !1), a(t.children)), y(P, {
|
|
213
213
|
get when() {
|
|
214
|
-
return
|
|
214
|
+
return $(() => !!o())() && t.content;
|
|
215
215
|
},
|
|
216
216
|
get children() {
|
|
217
|
-
return
|
|
217
|
+
return y(N, {
|
|
218
218
|
type: "tooltip",
|
|
219
219
|
get mount() {
|
|
220
|
-
return
|
|
220
|
+
return A(b).document.body;
|
|
221
221
|
},
|
|
222
222
|
element: () => _,
|
|
223
223
|
idPrefix: "hover-tooltip",
|
|
224
224
|
get children() {
|
|
225
|
-
return M(
|
|
226
|
-
const
|
|
225
|
+
return M(Tt, m("class", a(F.tooltip, !0), !1) + m("id", a(e, !0), !1), R((() => {
|
|
226
|
+
const g = s(), E = vt({
|
|
227
227
|
pointerX: l().x,
|
|
228
228
|
pointerY: l().y,
|
|
229
229
|
viewportWidth: v().innerWidth,
|
|
230
230
|
viewportHeight: v().innerHeight,
|
|
231
231
|
tooltipWidth: h().width,
|
|
232
232
|
tooltipHeight: h().height,
|
|
233
|
-
...
|
|
234
|
-
aboveY:
|
|
233
|
+
...g !== void 0 ? {
|
|
234
|
+
aboveY: g
|
|
235
235
|
} : {}
|
|
236
236
|
});
|
|
237
237
|
return {
|
|
238
238
|
top: `${E.top}px`,
|
|
239
239
|
left: `${E.left}px`
|
|
240
240
|
};
|
|
241
|
-
})()), a(
|
|
241
|
+
})()), a(y(P, {
|
|
242
242
|
get when() {
|
|
243
243
|
return t.shortcut;
|
|
244
244
|
},
|
|
@@ -246,7 +246,7 @@ function zt(t) {
|
|
|
246
246
|
return t.content;
|
|
247
247
|
},
|
|
248
248
|
get children() {
|
|
249
|
-
return M(
|
|
249
|
+
return M(gt, m("class", a(F.tooltipInner, !0), !1), a(t.content), a(y(j, {
|
|
250
250
|
size: "xs",
|
|
251
251
|
get shortcut() {
|
|
252
252
|
return t.shortcut;
|
|
@@ -259,15 +259,15 @@ function zt(t) {
|
|
|
259
259
|
}
|
|
260
260
|
})];
|
|
261
261
|
}
|
|
262
|
-
const
|
|
263
|
-
function
|
|
264
|
-
if (t !==
|
|
262
|
+
const wt = "Tab";
|
|
263
|
+
function _t(t, e) {
|
|
264
|
+
if (t !== wt) return null;
|
|
265
265
|
const { focusableCount: o, activeIndex: i, shiftKey: l } = e;
|
|
266
266
|
if (o <= 0) return null;
|
|
267
267
|
const n = 0, s = o - 1;
|
|
268
268
|
return i < 0 ? l ? s : n : l ? i === n ? s : null : i === s ? n : null;
|
|
269
269
|
}
|
|
270
|
-
const
|
|
270
|
+
const Et = [
|
|
271
271
|
"a[href]",
|
|
272
272
|
"area[href]",
|
|
273
273
|
"button:not([disabled])",
|
|
@@ -278,9 +278,9 @@ const Lt = [
|
|
|
278
278
|
'[contenteditable="true"]',
|
|
279
279
|
'[tabindex]:not([tabindex="-1"])'
|
|
280
280
|
].join(",");
|
|
281
|
-
function
|
|
281
|
+
function Lt(t) {
|
|
282
282
|
const e = Array.from(
|
|
283
|
-
t.querySelectorAll(
|
|
283
|
+
t.querySelectorAll(Et)
|
|
284
284
|
), o = t.ownerDocument;
|
|
285
285
|
return e.filter(
|
|
286
286
|
(i) => i.getAttribute("aria-hidden") !== "true" && (i.offsetParent !== null || i === o.documentElement)
|
|
@@ -288,20 +288,20 @@ function yt(t) {
|
|
|
288
288
|
}
|
|
289
289
|
function xt(t, e) {
|
|
290
290
|
var n;
|
|
291
|
-
const o =
|
|
291
|
+
const o = Lt(t), i = o.indexOf(
|
|
292
292
|
t.ownerDocument.activeElement
|
|
293
|
-
), l =
|
|
293
|
+
), l = _t(e.key, {
|
|
294
294
|
focusableCount: o.length,
|
|
295
295
|
activeIndex: i,
|
|
296
296
|
shiftKey: e.shiftKey
|
|
297
297
|
});
|
|
298
298
|
return l === null ? !1 : (e.preventDefault(), (n = o[l]) == null || n.focus(), !0);
|
|
299
299
|
}
|
|
300
|
-
const
|
|
301
|
-
function
|
|
302
|
-
return t ===
|
|
300
|
+
const yt = "Tab", Mt = "Escape", kt = "Enter";
|
|
301
|
+
function At(t, e) {
|
|
302
|
+
return t === Mt ? "dismiss" : t === kt && e.confirmOnEnter ? "confirm" : t === yt ? "trap" : "none";
|
|
303
303
|
}
|
|
304
|
-
function
|
|
304
|
+
function zt(t) {
|
|
305
305
|
let e = null, o = null, i = null, l = null;
|
|
306
306
|
const n = () => {
|
|
307
307
|
var c;
|
|
@@ -311,8 +311,8 @@ function Nt(t) {
|
|
|
311
311
|
}, u = (c) => {
|
|
312
312
|
e = c, o ?? (o = t.ownerDocument().activeElement);
|
|
313
313
|
};
|
|
314
|
-
|
|
315
|
-
|
|
314
|
+
S(
|
|
315
|
+
z(
|
|
316
316
|
() => t.open(),
|
|
317
317
|
(c, p) => {
|
|
318
318
|
if (c) {
|
|
@@ -329,7 +329,7 @@ function Nt(t) {
|
|
|
329
329
|
);
|
|
330
330
|
const h = (c) => {
|
|
331
331
|
var f;
|
|
332
|
-
const p =
|
|
332
|
+
const p = At(c.key, {
|
|
333
333
|
confirmOnEnter: !1
|
|
334
334
|
});
|
|
335
335
|
if (p === "dismiss") {
|
|
@@ -339,47 +339,31 @@ function Nt(t) {
|
|
|
339
339
|
}
|
|
340
340
|
p === "trap" && e !== null && xt(e, c);
|
|
341
341
|
};
|
|
342
|
-
return
|
|
342
|
+
return D(() => {
|
|
343
343
|
s(), O(o), o = null, e = null;
|
|
344
344
|
}), { captureDialog: u, handleKeyDown: h };
|
|
345
345
|
}
|
|
346
|
-
function R() {
|
|
347
|
-
try {
|
|
348
|
-
return new Intl.DateTimeFormat().resolvedOptions().locale;
|
|
349
|
-
} catch {
|
|
350
|
-
return "en-US";
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
function Ut(t, e) {
|
|
354
|
-
return t.toLocaleDateString(R(), e);
|
|
355
|
-
}
|
|
356
|
-
function jt(t, e) {
|
|
357
|
-
return t.toLocaleString(R(), e);
|
|
358
|
-
}
|
|
359
346
|
export {
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
347
|
+
Ht as C,
|
|
348
|
+
J as D,
|
|
349
|
+
Bt as H,
|
|
350
|
+
mt as T,
|
|
351
|
+
$t as W,
|
|
352
|
+
q as a,
|
|
353
|
+
st as b,
|
|
367
354
|
C as c,
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
355
|
+
G as d,
|
|
356
|
+
Y as e,
|
|
357
|
+
pt as f,
|
|
371
358
|
L as g,
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
359
|
+
Lt as h,
|
|
360
|
+
Kt as i,
|
|
361
|
+
vt as j,
|
|
362
|
+
zt as k,
|
|
363
|
+
Q as l,
|
|
364
|
+
_t as m,
|
|
378
365
|
xt as n,
|
|
379
|
-
|
|
380
|
-
F as
|
|
381
|
-
jt as q,
|
|
382
|
-
Ft as r,
|
|
383
|
-
R as s,
|
|
366
|
+
At as r,
|
|
367
|
+
F as s,
|
|
384
368
|
W as t
|
|
385
369
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const o=require("solid-js/web"),C=require("./Input-CjvD8w18.cjs"),p=require("solid-js"),S=require("./dialogFocusRestore-CcEsB50v.cjs"),O=require("./window-_BfSgFGO.cjs"),U=require("./Kbd-BPlUnyiy.cjs"),X=require("./ownerWindow-BCmJFMbR.cjs"),z=require("./errorHandler-DoDAPpv2.cjs"),P=require("./keys-GMxY2wcl.cjs"),V=require("./prefersReducedMotion-BQp-Q4UR.cjs"),D=350,j=0,x=300,k=6,I=8;function G(e){const{anchorRect:t,tooltipSize:n,viewport:r}=e,l=e.offset??k,i=e.margin??I,a=e.placement??"bottom",d="bottom"in t&&t.bottom!==void 0?t.bottom:t.top+t.height,h="right"in t&&t.right!==void 0?t.right:t.left+t.width;let c=a,m=0,f=0;if(a==="top"||a==="bottom"){if(a==="top"){const b=t.top-l-n.height;b<i&&d+l+n.height<=r.height-i?(c="bottom",m=d+l):m=Math.max(i,Math.min(b,r.height-n.height-i))}else{const b=d+l;b+n.height>r.height-i&&t.top-l-n.height>=i?(c="top",m=t.top-l-n.height):m=Math.max(i,Math.min(b,r.height-n.height-i))}const v=t.left+(t.width-n.width)/2,E=Math.max(i,r.width-n.width-i);f=Math.max(i,Math.min(v,E))}else{if(a==="left"){const b=t.left-l-n.width;b<i&&h+l+n.width<=r.width-i?(c="right",f=h+l):f=Math.max(i,Math.min(b,r.width-n.width-i))}else{const b=h+l;b+n.width>r.width-i&&t.left-l-n.width>=i?(c="left",f=t.left-l-n.width):f=Math.max(i,Math.min(b,r.width-n.width-i))}const v=t.top+(t.height-n.height)/2,E=Math.max(i,r.height-n.height-i);m=Math.max(i,Math.min(v,E))}return{top:m,left:f,placement:c}}function W(){const[e,t]=p.createSignal(null);let n=!1,r=null,l,i,a=null;const d=()=>{l!==void 0&&(clearTimeout(l),l=void 0)},h=()=>{i!==void 0&&(clearTimeout(i),i=void 0)},c=()=>{if(a){try{a()}catch(s){z.bestEffortFailed("Window context may already be destroyed or unloaded",s)}a=null}},m=s=>{c();const u=()=>{v()},g=y=>{P.isKey(y,"Escape")&&e()!==null&&(y.stopPropagation(),y.stopImmediatePropagation(),v())};s.addEventListener("scroll",u,!0),s.addEventListener("pointerdown",u,!0),s.addEventListener("keydown",g,!0),s.addEventListener("blur",u),a=()=>{s.removeEventListener("scroll",u,!0),s.removeEventListener("pointerdown",u,!0),s.removeEventListener("keydown",g,!0),s.removeEventListener("blur",u)}},f=s=>{d(),h(),r=null,n=!0,t(s);const u=X.ownerWindow(s.target);if(u===null){c();return}m(u)},v=()=>{d(),h(),r=null,n=!1,t(null),c()};return{activeTooltip:e,isWarm:()=>n,showTooltip:s=>{if(!s.content||typeof s.content=="function"&&!s.content())return;h();const u=e();if(!(u&&(u.id===s.id||u.target===s.target)))if(n||u!==null)f(s);else{d(),r=s;const g=s.delayMs??D;g<=0?f(s):l=setTimeout(()=>{r===s&&f(s)},g)}},hideTooltip:s=>{if(s!==void 0){r&&(typeof s=="string"?r.id===s:r.target===s)&&(d(),r=null);const u=e();if(u){if(!(typeof s=="string"?u.id===s:u.target===s))return}else return}d(),r=null,t(null),c(),h(),i=setTimeout(()=>{n=!1,i=void 0},x)},dismissAll:v,recordTooltipShown:()=>{h(),n=!0},recordTooltipHidden:()=>{h(),i=setTimeout(()=>{n=!1,i=void 0},x)}}}const F=W(),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",ne="vk_indicator_lYKVu",ie="vk_label_jB-PM",w={root:J,disabled:Q,box:Z,checked:ee,control:te,input:oe,indicator:ne,label:ie};function R(e,t,n,r,l,...i){const a=[];e&&a.push(e),r&&t&&a.push(t),l&&n&&a.push(n);for(const d of i)d!==void 0&&d!==""&&a.push(d);return a.join(" ")}var re=["<span",">","</span>"],se=["<label","><span",'><input type="checkbox"',' class="','"',"",'><span class="','" aria-hidden="true"><span',"></span></span></span>","</label>"];function le(e){const t=C.useFormFieldAria();return o.ssr(se,o.ssrAttribute("class",o.escape(R(w.root,w.checked,w.disabled,e.checked||!!e.indeterminate,!!e.disabled,e.class),!0),!1),o.ssrAttribute("class",o.escape(w.control,!0),!1),o.ssrAttribute("id",o.escape(e.id,!0),!1),`${o.escape(w.input,!0)} ${o.escape(e.inputClass??"",!0)}`,o.ssrAttribute("checked",e.checked,!0),o.ssrAttribute("disabled",e.disabled,!0)+o.ssrAttribute("aria-describedby",o.escape(t==null?void 0:t.describedBy(),!0),!1)+o.ssrAttribute("aria-label",o.escape(e.ariaLabel,!0),!1)+o.ssrAttribute("aria-labelledby",o.escape(C.nativeControlLabelledBy(t,{ariaLabel:e.ariaLabel,ariaLabelledBy:e.ariaLabelledBy}),!0),!1),`${o.escape(w.box,!0)} ${o.escape(e.boxClass??"",!0)}`,o.ssrAttribute("class",o.escape(w.indicator,!0),!1),o.escape(o.createComponent(p.Show,{get when(){return e.children!==void 0},get children(){return o.ssr(re,o.ssrAttribute("class",o.escape(w.label,!0),!1),o.escape(e.children))}})))}const ae="vk_trigger_--BjF",ce="vk_tooltip_eJQhN",ue="vk_hostTooltip_vLrNc",de="vk_tooltipInner_AyPkl",A={trigger:ae,tooltip:ce,hostTooltip:ue,tooltipInner:de},Y=12,M=16,_=8,K=620;function $(e){const t=e.tooltipWidth??K,n=e.tooltipWidth===void 0?e.viewportWidth:e.viewportWidth-_,r=Math.min(e.pointerX+Y,n-t),l=Math.max(_,r),i=e.pointerY+M,a=e.tooltipHeight??0,d=e.viewportHeight===void 0?i:Math.max(_,e.viewportHeight-a-_),h=e.aboveY===void 0?i:e.aboveY-a-M,c=e.viewportHeight!==void 0&&i>d?Math.max(_,Math.min(h,d)):Math.max(_,Math.min(i,d));return{left:l,top:c}}var he=["<span",">","</span>"],fe=["<div","><span>","</span>","</div>"],pe=["<div",' role="tooltip" style="','">',"</div>"];function me(e){const t=p.createUniqueId(),[n,r]=p.createSignal(!1),[l,i]=p.createSignal({x:0,y:0}),[a,d]=p.createSignal(),[h,c]=p.createSignal({width:0,height:0}),[m,f]=p.createSignal(!1);let v,E;const b=()=>O.getWindow(v);return p.createEffect(()=>{F.activeTooltip()&&n()&&r(!1)}),p.createEffect(()=>{if(!n())return;const T=()=>{r(!1)},L=u=>{P.isKey(u,"Escape")&&(u.stopPropagation(),u.stopImmediatePropagation(),r(!1),F.dismissAll())},s=O.getWindow(v);s.addEventListener("scroll",T,!0),s.addEventListener("resize",T),s.addEventListener("keydown",L,!0),p.onCleanup(()=>{s.removeEventListener("scroll",T,!0),s.removeEventListener("resize",T),s.removeEventListener("keydown",L,!0)})}),p.onCleanup(()=>{}),[o.ssr(he,o.ssrAttribute("class",o.escape(A.trigger,!0),!1)+o.ssrAttribute("tabindex",m()?o.escape(void 0,!0):0,!1)+o.ssrAttribute("aria-describedby",n()?o.escape(t,!0):o.escape(void 0,!0),!1),o.escape(e.children)),o.createComponent(p.Show,{get when(){return o.memo(()=>!!n())()&&e.content},get children(){return o.createComponent(S.OverlayPortal,{type:"tooltip",get mount(){return O.getWindow(v).document.body},element:()=>E,idPrefix:"hover-tooltip",get children(){return o.ssr(pe,o.ssrAttribute("class",o.escape(A.tooltip,!0),!1)+o.ssrAttribute("id",o.escape(t,!0),!1),o.ssrStyle((()=>{const T=a(),L=$({pointerX:l().x,pointerY:l().y,viewportWidth:b().innerWidth,viewportHeight:b().innerHeight,tooltipWidth:h().width,tooltipHeight:h().height,...T!==void 0?{aboveY:T}:{}});return{top:`${L.top}px`,left:`${L.left}px`}})()),o.escape(o.createComponent(p.Show,{get when(){return e.shortcut},get fallback(){return e.content},get children(){return o.ssr(fe,o.ssrAttribute("class",o.escape(A.tooltipInner,!0),!1),o.escape(e.content),o.escape(o.createComponent(U.Kbd,{size:"xs",get shortcut(){return e.shortcut}})))}})))}})}})]}const be="Tab";function q(e,t){if(e!==be)return null;const{focusableCount:n,activeIndex:r,shiftKey:l}=t;if(n<=0)return null;const i=0,a=n-1;return r<0?l?a:i:l?r===i?a:null:r===a?i:null}const ve=["a[href]","area[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","iframe",'[contenteditable="true"]','[tabindex]:not([tabindex="-1"])'].join(",");function H(e){const t=Array.from(e.querySelectorAll(ve)),n=e.ownerDocument;return t.filter(r=>r.getAttribute("aria-hidden")!=="true"&&(r.offsetParent!==null||r===n.documentElement))}function B(e,t){var i;const n=H(e),r=n.indexOf(e.ownerDocument.activeElement),l=q(t.key,{focusableCount:n.length,activeIndex:r,shiftKey:t.shiftKey});return l===null?!1:(t.preventDefault(),(i=n[l])==null||i.focus(),!0)}const Te="Tab",ge="Escape",we="Enter";function N(e,t){return e===ge?"dismiss":e===we&&t.confirmOnEnter?"confirm":e===Te?"trap":"none"}function _e(e){let t=null,n=null,r=null,l=null;const i=()=>{var c;l!==null&&((c=e.ownerDocument().defaultView)==null||c.cancelAnimationFrame(l),l=null)},a=()=>{i(),r==null||r(),r=null},d=c=>{t=c,n??(n=e.ownerDocument().activeElement)};p.createEffect(p.on(()=>e.open(),(c,m)=>{if(c){t!==null&&r===null&&(r=V.neutralizeBackground(t)),i();const f=e.ownerDocument().defaultView;t!==null&&f!==null&&(l=f.requestAnimationFrame(()=>{l=null,e.open()&&(t==null||t.focus())}));return}m===!0&&(a(),S.restoreFocusTo(n),n=null,t=null)}));const h=c=>{var f;const m=N(c.key,{confirmOnEnter:!1});if(m==="dismiss"){if(((f=e.dismissDisabled)==null?void 0:f.call(e))===!0)return;c.stopPropagation(),e.onDismiss();return}m==="trap"&&t!==null&&B(t,c)};return p.onCleanup(()=>{a(),S.restoreFocusTo(n),n=null,t=null}),{captureDialog:d,handleKeyDown:h}}exports.COLD_DELAY_MS=D;exports.COOLDOWN_MS=x;exports.Checkbox=le;exports.DEFAULT_MARGIN=I;exports.DEFAULT_OFFSET=k;exports.HoverTooltip=me;exports.TOOLTIP_CURSOR_OFFSET_X=Y;exports.TOOLTIP_CURSOR_OFFSET_Y=M;exports.TOOLTIP_MAX_FOOTPRINT_X=K;exports.TOOLTIP_VIEWPORT_MARGIN=_;exports.WARM_DELAY_MS=j;exports.buildSelectionItemClass=R;exports.collectFocusableElements=H;exports.computeAnchoredTooltipPosition=G;exports.computeTooltipPointerPosition=$;exports.createDialogShellFocus=_e;exports.createTooltipCoordinator=W;exports.resolveDialogShellKeyIntent=N;exports.resolveModalFocusTrapTarget=q;exports.styles=A;exports.tooltipCoordinator=F;exports.trapTabFocusWithin=B;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("solid-js/web"),a=require("solid-js"),W=require("./DesktopContextMenuContext-DMGNVjaR.cjs"),C=require("./headerIconOverrides-Bn1QuODq.cjs"),I=require("./IconPicker-9DfOxql6.cjs"),y=require("./Button-DWFMF5y0.cjs"),w=require("./i18n-DZ0JlZal.cjs"),M=require("./VpRefresh-Khu7XHaq.cjs"),$=require("./OverlayScrollArea-D4e9D9Nd.cjs"),O=require("./windowRegistry-CxXtP-iY.cjs"),q=require("./kitHost-BfJExE1G.cjs");var K=["<div",">","</div>"];function R(t){W.useDesktopContextMenu();const r=C.getHeaderIconOverrides(),[i,s]=a.createSignal(null),d=()=>i()===t.pageId,[b,g]=a.createSignal(null),v=a.createMemo(()=>r()[t.pageId]??(t.fallbackPageId?r()[t.fallbackPageId]:null)??null);a.createEffect(()=>{t.pageId,s(null)}),a.createEffect(()=>{const u=v();if(!u){g(null);return}const c=I.getIconSync(u.name);if(c){g(()=>c);return}g(null);let h=!1;a.onCleanup(()=>{h=!0}),I.loadIconSet().then(f=>{const m=v();h||!m||m.name!==u.name||g(()=>f[u.name]??null)})});const S=a.createMemo(()=>b()??t.fallbackIcon),p=u=>{const c=i();!c||c!==t.pageId||(C.setHeaderIconOverride(c,{set:"tb",name:u}),s(null))};return[e.ssr(K,e.ssrAttribute("class",e.escape(t.class,!0),!1)+e.ssrAttribute("aria-label",e.escape(t.ariaLabel,!0),!1),e.escape(e.createComponent(e.Dynamic,{get component(){return S()},get class(){return t.iconClass},"aria-hidden":"true"}))),e.createComponent(a.Show,{get when(){return d()},get children(){return e.createComponent(I.IconPicker,{open:d,onClose:()=>s(null),onSelect:p,get currentIconName(){var u;return((u=v())==null?void 0:u.name)??null}})}})]}const V="vk_header_7CNKc",E="vk_headerLeft_-fa7V",N="vk_headerActions_aaFA-",G="vk_headerIcon_c1sgk",J="vk_headerIconSvg_7jyQp",U="vk_titleRow_0A-NY",X="vk_backButton_GIWbu",F="vk_title_k1DVA",Q="vk_subtitle_RXfOz",Y="vk_refreshIconButton_bVyMc",j="vk_compact_e7ku-",l={header:V,headerLeft:E,headerActions:N,headerIcon:G,headerIconSvg:J,titleRow:U,backButton:X,title:F,subtitle:Q,refreshIconButton:Y,compact:j};var T=["<div",">","<h2",">","</h2></div>"],Z=["<p",">","</p>"],ee=["<div",">","","</div>"],te=['<header class="','"><div',">","<div>","","</div></div>","</header>"],ae=["<h2",">","</h2>"];function re(t){return e.ssr(te,`${e.escape(l.header,!0)} ${t.variant==="compact"?e.escape(e.escape(l.compact,!0),!0):""}`,e.ssrAttribute("class",e.escape(l.headerLeft,!0),!1),e.escape(e.createComponent(a.Show,{get when(){return e.memo(()=>t.fallbackIcon!=null)()&&t.pageId!=null},get children(){return e.createComponent(R,{get pageId(){return t.pageId},get fallbackPageId(){return t.fallbackIconPageId},get fallbackIcon(){return t.fallbackIcon},get class(){return l.headerIcon},get iconClass(){return l.headerIconSvg},get ariaLabel(){return t.iconAriaLabel},get onSettings(){return t.onSettings}})}})),e.escape(e.createComponent(a.Show,{get when(){return t.onBack!=null},get fallback(){return e.ssr(ae,e.ssrAttribute("class",e.escape(l.title,!0),!1),e.escape(t.title))},get children(){return e.ssr(T,e.ssrAttribute("class",e.escape(l.titleRow,!0),!1),e.escape(e.createComponent(y.Button,{variant:"secondary",size:"sm",get class(){return l.backButton},onClick:()=>t.onBack(),get children(){return["← ",t.backLabel??w.t("Back")]}})),e.ssrAttribute("class",e.escape(l.title,!0),!1),e.escape(t.title))}})),e.escape(e.createComponent(a.Show,{get when(){return t.subtitle!=null},get children(){return e.ssr(Z,e.ssrAttribute("class",e.escape(l.subtitle,!0),!1),e.escape(t.subtitle))}})),e.escape(e.createComponent(a.Show,{get when(){return t.onRefresh!=null||t.actions!=null},get children(){return e.ssr(ee,e.ssrAttribute("class",e.escape(l.headerActions,!0),!1),e.escape(e.createComponent(a.Show,{get when(){return t.onRefresh!=null},get children(){return e.createComponent(y.Button,{size:"md",variant:"secondary",iconOnly:!0,get class(){return l.refreshIconButton},get disabled(){return t.refreshDisabled},get loading(){return t.refreshing},loadingDelay:0,get"aria-label"(){return t.refreshAriaLabel??w.t("Refresh")},onClick:()=>t.onRefresh(),get children(){return e.createComponent(M.VpRefresh,{"aria-hidden":"true"})}})}})),e.escape(t.actions))}})))}const ne="vk_handle_fHazX",se="vk_dragging_7oGBz",ie="vk_horizontal_nwaLt",ce="vk_vertical_wzd-m",le="vk_indicator_aLgDs",k={handle:ne,dragging:se,horizontal:ie,vertical:ce,indicator:le};var oe=['<div role="separator" tabindex="0"',' class="','"><div',' aria-hidden="true"></div></div>'];function ue(t){const[r,i]=a.createSignal(!1),s=()=>t.orientation??"horizontal";return a.onCleanup(()=>{}),e.ssr(oe,e.ssrAttribute("aria-orientation",e.escape(s(),!0),!1)+e.ssrAttribute("aria-valuenow",e.escape(t.value,!0),!1)+e.ssrAttribute("aria-valuemin",e.escape(t.min,!0),!1)+e.ssrAttribute("aria-valuemax",e.escape(t.max,!0),!1)+e.ssrAttribute("aria-label",e.escape(t.ariaLabel??"Resize separator",!0),!1),`${e.escape(k.handle,!0)} ${s()==="horizontal"?e.escape(k.horizontal,!0):e.escape(k.vertical,!0)} ${r()?e.escape(k.dragging,!0):""} ${e.escape(t.class??"",!0)}`,e.ssrAttribute("class",e.escape(k.indicator,!0),!1))}const de="vk_container_DGAoE",ge="vk_horizontal_GnS2m",he="vk_vertical_oOyQM",ve="vk_firstPane_kDkKK",fe="vk_secondPane_61mm8",be="vk_paneScroll_-7IJF",me="vk_separator_Gadcl",_e="vk_separatorHorizontal_0e62B",ke="vk_separatorVertical_zIDqL",Se="vk_dragging_iMvN6",pe="vk_handle_7YOEJ",o={container:de,horizontal:ge,vertical:he,firstPane:ve,secondPane:fe,paneScroll:be,separator:me,separatorHorizontal:_e,separatorVertical:ke,dragging:Se,handle:pe};var Ie=['<div class="','"><div',' style="','">','</div><div role="separator" tabindex="0"',' class="','"><div',' aria-hidden="true"></div></div><div',">","</div></div>"];function ze(t){const r=()=>t.direction??"horizontal",i=()=>t.minSize??15,s=()=>t.maxSize??85,[d,b]=a.createSignal(Math.min(s(),Math.max(i(),t.initialSize??50))),[g,v]=a.createSignal(!1);return e.ssr(Ie,`${e.escape(o.container,!0)} ${r()==="horizontal"?e.escape(o.horizontal,!0):e.escape(o.vertical,!0)} ${g()?e.escape(o.dragging,!0):""} ${e.escape(t.class??"",!0)}`,e.ssrAttribute("class",e.escape(o.firstPane,!0),!1),e.ssrStyleProperty((r()==="horizontal"?"width":"height")+":",`${e.escape(d(),!0)}%`),e.escape(e.createComponent($.OverlayScrollArea,{get rootClass(){return o.paneScroll},get children(){return t.first}})),e.ssrAttribute("aria-orientation",e.escape(r(),!0),!1)+e.ssrAttribute("aria-valuenow",e.escape(Math.round(d()),!0),!1)+e.ssrAttribute("aria-valuemin",e.escape(i(),!0),!1)+e.ssrAttribute("aria-valuemax",e.escape(s(),!0),!1)+e.ssrAttribute("aria-label",e.escape(t.ariaLabel??"Resize pane",!0),!1),`${e.escape(o.separator,!0)} ${r()==="horizontal"?e.escape(o.separatorHorizontal,!0):e.escape(o.separatorVertical,!0)}`,e.ssrAttribute("class",e.escape(o.handle,!0),!1),e.ssrAttribute("class",e.escape(o.secondPane,!0),!1),e.escape(e.createComponent($.OverlayScrollArea,{get rootClass(){return o.paneScroll},get children(){return t.second}})))}function z(t,r,i){return Math.max(r,Math.min(i,t))}function Ae(t,r,i,s){return typeof t!="number"||Number.isNaN(t)?r:z(t,i,s)}function Ce(t){const{layout:r}=q.useKitHost(),i=()=>{var n;return Ae((n=r.getUiLayout().sidebarWidths)==null?void 0:n[t.storageKey],t.defaultWidth,t.min,t.max)},s=()=>{var n;return((n=r.getUiLayout().sidebarCollapsed)==null?void 0:n[t.collapsedKey])===!0},[d,b]=a.createSignal(i()),[g,v]=a.createSignal(s()),[S,p]=a.createSignal(!1),u=r.onDidChangeSidebar(n=>{S()||n!==t.storageKey&&n!==t.collapsedKey||a.batch(()=>{b(i()),v(s())})});a.onCleanup(()=>u.dispose());let c=null,h=null,f=typeof window<"u"?window:globalThis;const m=()=>{c&&f.removeEventListener("mousemove",c),h&&f.removeEventListener("mouseup",h),c=null,h=null},P=(n,_)=>{n.preventDefault(),p(!0),f=O.getWindow(_);const D=_.getBoundingClientRect().left;c=H=>{b(z(H.clientX-D,t.min,t.max))},h=()=>{p(!1),r.setSidebarWidth(t.storageKey,d()),m()},f.addEventListener("mousemove",c),f.addEventListener("mouseup",h)},L=()=>{const n=!g();v(n),r.setSidebarCollapsed(t.collapsedKey,n)},A=n=>{const _=z(n,t.min,t.max);b(_),r.setSidebarWidth(t.storageKey,_)},B=n=>{A(d()+n)},x=()=>{A(t.defaultWidth)};return a.onCleanup(m),{width:d,collapsed:g,isResizing:S,startResize:P,resizeBy:B,resetWidth:x,toggleCollapse:L}}exports.PageHeader=re;exports.PageHeaderIcon=R;exports.ResizableSplitPane=ze;exports.ResizeHandle=ue;exports.createResizableSidebar=Ce;
|