@vokril/ui-solid 0.13.0 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +45 -0
- package/README.md +110 -31
- package/dist/{AttributeGrid-Bg88JYZI.cjs → AttributeGrid-7cLOWtPn.cjs} +1 -1
- package/dist/{AttributeGrid-BypjAajJ.js → AttributeGrid-CVyqzT7-.js} +5 -5
- package/dist/{Button-Db6wMY-3.js → Button-BiKPB3cH.js} +2 -2
- package/dist/{Button-d9jJBibg.cjs → Button-Nx7byQZc.cjs} +1 -1
- package/dist/CommandPalette-BFi0_e3t.cjs +2 -0
- package/dist/CommandPalette-CAH08DGN.js +4013 -0
- package/dist/{CopyButton-C93PFyYK.js → CopyButton-BF7L1TCO.js} +1 -1
- package/dist/{CopyButton-CXaZRU7b.cjs → CopyButton-BtgGbiy9.cjs} +1 -1
- package/dist/DateRangePicker-Ce2tTbJ4.cjs +9 -0
- package/dist/{DateRangePicker-D-5rg3h1.js → DateRangePicker-jSQBwB78.js} +181 -166
- package/dist/GuidedTour-CWDtBRHv.js +483 -0
- package/dist/GuidedTour-CYaR5Ozj.cjs +1 -0
- package/dist/HostPortal-B9Tzk_uN.cjs +1 -0
- package/dist/HostPortal-X1iw719T.js +33 -0
- package/dist/HostWindowContext-B2m0bVra.js +32 -0
- package/dist/HostWindowContext-_VZCt7xE.cjs +1 -0
- package/dist/{IconPicker-DPT-QfsC.cjs → IconPicker-4bdAeGxS.cjs} +1 -1
- package/dist/{IconPicker-C3ZwWkB1.js → IconPicker-Df6uIUpJ.js} +4 -4
- package/dist/{Input-Ca8fLm_s.cjs → Input-CZruORyy.cjs} +1 -1
- package/dist/{Input-gq8EcQao.js → Input-DkPhsdfk.js} +2 -2
- package/dist/Modal-CQG8l4x7.cjs +1 -0
- package/dist/{Modal-C4l_yuY9.js → Modal-CUPe98-o.js} +5 -5
- package/dist/PageSkeleton-C3mo6UGh.cjs +30 -0
- package/dist/{PageSkeleton-C95fXUUk.js → PageSkeleton-CUTLh9Ip.js} +630 -628
- package/dist/{Popover-C24npAQ7.js → Popover-Dht1jFEy.js} +1 -1
- package/dist/{Popover-hhGcYQ-a.cjs → Popover-YfzC0Tjh.cjs} +1 -1
- package/dist/{SearchableSelect-BpOD2_A-.js → SearchableSelect-C01brsF0.js} +5 -5
- package/dist/{SearchableSelect-MN5azo9r.cjs → SearchableSelect-pCaUie2M.cjs} +1 -1
- package/dist/StatusBarNotificationBell-BwqVV09r.js +14266 -0
- package/dist/StatusBarNotificationBell-C5Zc2IvW.cjs +50 -0
- package/dist/{Stepper-BgDx1cPX.js → Stepper-38IAEOyT.js} +3 -3
- package/dist/{Stepper-D7rXGxdg.cjs → Stepper-CtaTpnQu.cjs} +1 -1
- package/dist/{Textarea-BueHsjOk.js → Textarea-B5QqqKnI.js} +1 -1
- package/dist/{Textarea-BltpSavs.cjs → Textarea-CeAGf08O.cjs} +1 -1
- package/dist/{TimeSeriesChart-C3o7NZPh.js → TimeSeriesChart-ByKG4E1G.js} +2 -2
- package/dist/{TimeSeriesChart-DhYtrAgX.cjs → TimeSeriesChart-_NOs_Job.cjs} +1 -1
- package/dist/ToggleButton-Bz3zAtec.cjs +1 -0
- package/dist/{ToggleButton-DCP7f6Uo.js → ToggleButton-D-N0C2Fu.js} +54 -53
- package/dist/_internal/app/keybindings/context/keybindingsContext.d.cts +11 -6
- package/dist/_internal/app/keybindings/context/keybindingsContext.d.ts +11 -6
- package/dist/_internal/app/keybindings/context/useFocusClaim.d.cts +4 -3
- package/dist/_internal/app/keybindings/context/useFocusClaim.d.ts +4 -3
- package/dist/_internal/app/keybindings/context/useListCommands.d.cts +6 -5
- package/dist/_internal/app/keybindings/context/useListCommands.d.ts +6 -5
- package/dist/_internal/app/keybindings/index.d.cts +0 -10
- package/dist/_internal/app/keybindings/index.d.ts +0 -10
- package/dist/_internal/app/keybindings/panelCommandsRegistry.d.cts +14 -9
- package/dist/_internal/app/keybindings/panelCommandsRegistry.d.ts +14 -9
- package/dist/_internal/app/menu/menuFavorites.d.cts +35 -8
- package/dist/_internal/app/menu/menuFavorites.d.ts +35 -8
- package/dist/_internal/app/onboarding/pageTourState.d.cts +75 -22
- package/dist/_internal/app/onboarding/pageTourState.d.ts +75 -22
- package/dist/_internal/app/platform/electronBridge.d.cts +35 -29
- package/dist/_internal/app/platform/electronBridge.d.ts +35 -29
- package/dist/_internal/app/settings/secrets/notificationSecrets.d.cts +8 -4
- package/dist/_internal/app/settings/secrets/notificationSecrets.d.ts +8 -4
- package/dist/_internal/app/windows/window/HostWindowContext.d.cts +8 -14
- package/dist/_internal/app/windows/window/HostWindowContext.d.ts +8 -14
- package/dist/_internal/contract/catalogNotify.d.cts +6 -19
- package/dist/_internal/contract/catalogNotify.d.ts +6 -19
- package/dist/_internal/contract/hostErrorText.d.cts +13 -23
- package/dist/_internal/contract/hostErrorText.d.ts +13 -23
- package/dist/_internal/contract/notificationCatalog.d.cts +16 -5
- package/dist/_internal/contract/notificationCatalog.d.ts +16 -5
- package/dist/_internal/platform/errors/diagnosticReport.d.cts +3 -1
- package/dist/_internal/platform/errors/diagnosticReport.d.ts +3 -1
- package/dist/_internal/platform/logging/consoleLogger.d.cts +7 -0
- package/dist/_internal/platform/logging/consoleLogger.d.ts +7 -0
- package/dist/_internal/platform/settings/registry/defineSettings.d.cts +19 -8
- package/dist/_internal/platform/settings/registry/defineSettings.d.ts +19 -8
- package/dist/_internal/platform/settings/registry/stateDbStore.d.cts +23 -15
- package/dist/_internal/platform/settings/registry/stateDbStore.d.ts +23 -15
- package/dist/_internal/platform/vendorErrors/index.d.cts +7 -17
- package/dist/_internal/platform/vendorErrors/index.d.ts +7 -17
- package/dist/_internal/platform/window/displayOwner.d.cts +35 -14
- package/dist/_internal/platform/window/displayOwner.d.ts +35 -14
- package/dist/a11y/index.cjs +1 -1
- package/dist/a11y/index.js +1 -1
- package/dist/actions-DtaFGwh2.cjs +1 -0
- package/dist/actions-wwAHs3ZU.js +16 -0
- package/dist/{server/appThemeDerivation-BiCyiSuz.js → appThemeDerivation-B7-DjMIM.js} +181 -184
- package/dist/appThemeDerivation-NS3Vws8q.cjs +1 -0
- package/dist/async/createGuardedListLoader.d.cts +3 -0
- package/dist/async/createGuardedListLoader.d.ts +3 -0
- package/dist/charts/index.cjs +1 -1
- package/dist/charts/index.js +1 -1
- package/dist/createDialogShellFocus-BBFu3Z_O.js +282 -0
- package/dist/createDialogShellFocus-CxRqhbRN.cjs +1 -0
- package/dist/createResizableSidebar-CfFxQUny.js +449 -0
- package/dist/createResizableSidebar-q7aC7SAO.cjs +1 -0
- package/dist/{createVirtualScroller-LN-7QFiv.cjs → createVirtualScroller-CL49JE2P.cjs} +1 -1
- package/dist/{server/createVirtualScroller-DBvqT0UW.js → createVirtualScroller-vu-l4rVv.js} +7 -7
- package/dist/defineSettings-D0CSMcyy.cjs +1 -0
- package/dist/defineSettings-Di1sG81q.js +407 -0
- package/dist/descriptor-CaHgh9N_.cjs +1 -0
- package/dist/{descriptor-CrCl515S.js → descriptor-eGtcBtpI.js} +5 -5
- package/dist/desktop/index.cjs +1 -1
- package/dist/desktop/index.js +500 -426
- package/dist/dialogFocusRestore-BrALT8Ew.js +35 -0
- package/dist/dialogFocusRestore-CcEsB50v.cjs +1 -0
- package/dist/electronBridge-BK92fycw.js +235 -0
- package/dist/electronBridge-cT0xww92.cjs +1 -0
- package/dist/errorHandler-BvPGW-Nm.js +373 -0
- package/dist/errorHandler-DoDAPpv2.cjs +3 -0
- package/dist/feedback/Loader.d.cts +6 -1
- package/dist/feedback/Loader.d.ts +6 -1
- package/dist/feedback/createPreference.d.cts +4 -1
- package/dist/feedback/createPreference.d.ts +4 -1
- package/dist/feedback/guidedInstallOutcome.d.cts +15 -2
- package/dist/feedback/guidedInstallOutcome.d.ts +15 -2
- package/dist/feedback/index.cjs +1 -1
- package/dist/feedback/index.js +37 -38
- package/dist/feedback/readFailureText.d.cts +20 -1
- package/dist/feedback/readFailureText.d.ts +20 -1
- package/dist/focusModality-BISb6-yg.cjs +1 -0
- package/dist/focusModality-FoLPWF-_.js +135 -0
- package/dist/forms/index.cjs +1 -1
- package/dist/forms/index.js +9 -9
- package/dist/grid/index.cjs +1 -1
- package/dist/grid/index.js +1 -1
- package/dist/{headerIconOverrides-DY3BTuca.cjs → headerIconOverrides-Bn1QuODq.cjs} +1 -1
- package/dist/{server/headerIconOverrides-B7TQUBmD.js → headerIconOverrides-Dh2PaOcO.js} +1 -1
- package/dist/host/index.cjs +1 -1
- package/dist/host/index.d.cts +14 -16
- package/dist/host/index.d.ts +14 -16
- package/dist/host/index.js +53 -90
- package/dist/host/kitHost.d.cts +42 -0
- package/dist/host/kitHost.d.ts +42 -0
- package/dist/host/window.d.cts +3 -11
- package/dist/host/window.d.ts +3 -11
- package/dist/i18n/index.cjs +1 -1
- package/dist/i18n/index.js +1 -1
- package/dist/{server/i18n-D9k9xwuD.js → i18n-DW9kcu0G.js} +180 -178
- package/dist/i18n-DZ0JlZal.cjs +4 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +665 -738
- package/dist/isOneOf-9EXOSYJu.cjs +1 -0
- package/dist/isOneOf-Dtomuazg.js +6 -0
- package/dist/{keys-Bfgdfak_.js → keys-B2nlkpqc.js} +6 -9
- package/dist/keys-GMxY2wcl.cjs +1 -0
- package/dist/layout/createResizableSidebar.d.cts +14 -0
- package/dist/layout/createResizableSidebar.d.ts +14 -0
- package/dist/layout/index.cjs +1 -1
- package/dist/layout/index.js +3 -3
- package/dist/layout/sidebarWidthClamp.d.cts +1 -1
- package/dist/layout/sidebarWidthClamp.d.ts +1 -1
- package/dist/mainRealmDom-C12lr9lm.js +171 -0
- package/dist/mainRealmDom-S6teqEr4.cjs +1 -0
- package/dist/navigation/index.cjs +1 -1
- package/dist/navigation/index.js +1 -1
- package/dist/notifications/NotificationHost.d.cts +7 -1
- package/dist/notifications/NotificationHost.d.ts +7 -1
- package/dist/notifications/NotificationItem.d.cts +48 -15
- package/dist/notifications/NotificationItem.d.ts +48 -15
- package/dist/notifications/catalogAdapter.d.cts +28 -6
- package/dist/notifications/catalogAdapter.d.ts +28 -6
- package/dist/notifications/createNotificationPreviewRuntime.d.cts +21 -3
- package/dist/notifications/createNotificationPreviewRuntime.d.ts +21 -3
- package/dist/notifications/customSoundCache.d.cts +24 -24
- package/dist/notifications/customSoundCache.d.ts +24 -24
- package/dist/notifications/emailDigest.d.cts +34 -16
- package/dist/notifications/emailDigest.d.ts +34 -16
- package/dist/notifications/errorActionButtons.d.cts +18 -1
- package/dist/notifications/errorActionButtons.d.ts +18 -1
- package/dist/notifications/fireNotification.d.cts +27 -17
- package/dist/notifications/fireNotification.d.ts +27 -17
- package/dist/notifications/index.cjs +1 -1
- package/dist/notifications/index.d.cts +6 -12
- package/dist/notifications/index.d.ts +6 -12
- package/dist/notifications/index.js +64 -104
- package/dist/notifications/nativeEngine.d.cts +18 -15
- package/dist/notifications/nativeEngine.d.ts +18 -15
- package/dist/notifications/notificationAnalytics.d.cts +11 -6
- package/dist/notifications/notificationAnalytics.d.ts +11 -6
- package/dist/notifications/notificationAudio.d.cts +30 -23
- package/dist/notifications/notificationAudio.d.ts +30 -23
- package/dist/notifications/notificationCardServices.d.cts +23 -0
- package/dist/notifications/notificationCardServices.d.ts +23 -0
- package/dist/notifications/notificationOverlayChannel.d.cts +4 -4
- package/dist/notifications/notificationOverlayChannel.d.ts +4 -4
- package/dist/notifications/notificationOverlaySync.d.cts +7 -2
- package/dist/notifications/notificationOverlaySync.d.ts +7 -2
- package/dist/notifications/notificationService.d.cts +101 -0
- package/dist/notifications/notificationService.d.ts +101 -0
- package/dist/notifications/notificationTimeline.d.cts +47 -49
- package/dist/notifications/notificationTimeline.d.ts +47 -49
- package/dist/notifications/notifications.notifications.d.cts +0 -4
- package/dist/notifications/notifications.notifications.d.ts +0 -4
- package/dist/notifications/toast.d.cts +24 -28
- package/dist/notifications/toast.d.ts +24 -28
- package/dist/notifications/webhookDelivery.d.cts +12 -17
- package/dist/notifications/webhookDelivery.d.ts +12 -17
- package/dist/overlay/ConfirmDialog.d.cts +0 -8
- package/dist/overlay/ConfirmDialog.d.ts +0 -8
- package/dist/overlay/command-palette/unifiedSearch/databaseObjectSearchContributor.d.cts +15 -14
- package/dist/overlay/command-palette/unifiedSearch/databaseObjectSearchContributor.d.ts +15 -14
- package/dist/overlay/command-palette/unifiedSearch/settingsSearchContributor.d.cts +1 -3
- package/dist/overlay/command-palette/unifiedSearch/settingsSearchContributor.d.ts +1 -3
- package/dist/overlay/command-palette/unifiedSearch/unifiedSearchTypes.d.cts +1 -1
- package/dist/overlay/command-palette/unifiedSearch/unifiedSearchTypes.d.ts +1 -1
- package/dist/overlay/index.cjs +1 -1
- package/dist/overlay/index.d.cts +2 -3
- package/dist/overlay/index.d.ts +2 -3
- package/dist/overlay/index.js +110 -115
- package/dist/pageTourState-BcBF8w89.js +516 -0
- package/dist/pageTourState-CrbEU7QW.cjs +5 -0
- package/dist/server/{AttributeGrid-UJtHTip2.js → AttributeGrid-B2s_rp00.js} +3 -3
- package/dist/server/{AttributeGrid-CyMsR4GC.cjs → AttributeGrid-C7aWbIe5.cjs} +1 -1
- package/dist/server/{Button-BesBg6eW.js → Button-Ck03cbUs.js} +1 -1
- package/dist/server/{Button-PZulLru4.cjs → Button-DWFMF5y0.cjs} +1 -1
- package/dist/server/CommandPalette-2UppyMxU.js +3271 -0
- package/dist/server/CommandPalette-DwpZyhO6.cjs +1 -0
- package/dist/server/{CopyButton-D_sN2Ggp.cjs → CopyButton-BOmAUQD4.cjs} +1 -1
- package/dist/server/{CopyButton-I5xsXV07.js → CopyButton-UvtFwOtA.js} +1 -1
- package/dist/server/DateRangePicker-BJteKzOY.cjs +9 -0
- package/dist/server/{DateRangePicker-DGUl2aE3.js → DateRangePicker-Cr58DczM.js} +158 -143
- package/dist/server/GuidedTour-C4msn-Ag.js +400 -0
- package/dist/server/GuidedTour-Rlsp8rOe.cjs +1 -0
- package/dist/server/HostPortal-B9Tzk_uN.cjs +1 -0
- package/dist/server/HostPortal-X1iw719T.js +33 -0
- package/dist/server/HostWindowContext-B2m0bVra.js +32 -0
- package/dist/server/HostWindowContext-_VZCt7xE.cjs +1 -0
- package/dist/server/{IconPicker-BlD0VBca.cjs → IconPicker-9DfOxql6.cjs} +1 -1
- package/dist/server/{IconPicker-o8hUxjYU.js → IconPicker-N0wub1Aj.js} +4 -4
- package/dist/server/Modal-D__GTo-n.cjs +1 -0
- package/dist/server/{Modal-DmF6CwfY.js → Modal-DeQjfpkG.js} +3 -3
- package/dist/server/{PageSkeleton-BigztY5i.js → PageSkeleton-C41pXOcr.js} +460 -458
- package/dist/server/PageSkeleton-D4i-UcnI.cjs +30 -0
- package/dist/server/{SearchableSelect-Dn-cssWx.js → SearchableSelect-CEcuBnge.js} +2 -2
- package/dist/server/{SearchableSelect-R0Dwz9rz.cjs → SearchableSelect-Ca9g8ztu.cjs} +1 -1
- package/dist/server/StatusBarNotificationBell-BotYny7q.cjs +49 -0
- package/dist/server/StatusBarNotificationBell-DyEQF2W7.js +13968 -0
- package/dist/server/{Stepper-dBm8YaCw.cjs → Stepper--pusyxso.cjs} +1 -1
- package/dist/server/{Stepper-BaQ6Kexj.js → Stepper-B_eL85hK.js} +1 -1
- package/dist/server/{TimeSeriesChart-BbbfDyeA.js → TimeSeriesChart-aSHquoBv.js} +1 -1
- package/dist/server/{TimeSeriesChart-qPgMkkaW.cjs → TimeSeriesChart-nZeB5jtN.cjs} +1 -1
- package/dist/server/ToggleButton-57_0SA-V.cjs +1 -0
- package/dist/server/{ToggleButton-C0_QpslP.js → ToggleButton-DjlWwgLJ.js} +4 -4
- package/dist/server/VpTrash-D49oUUJh.cjs +1 -0
- package/dist/server/VpTrash-Dlq8o6Uv.js +298 -0
- package/dist/server/a11y/index.cjs +1 -1
- package/dist/server/a11y/index.js +1 -1
- package/dist/server/actions-DtaFGwh2.cjs +1 -0
- package/dist/server/actions-wwAHs3ZU.js +16 -0
- package/dist/{appThemeDerivation-BiCyiSuz.js → server/appThemeDerivation-B7-DjMIM.js} +181 -184
- package/dist/server/appThemeDerivation-NS3Vws8q.cjs +1 -0
- package/dist/server/charts/index.cjs +1 -1
- package/dist/server/charts/index.js +1 -1
- package/dist/server/{format-CYCi8g4r.js → createDialogShellFocus-DNjzmcGj.js} +110 -126
- package/dist/server/createDialogShellFocus-PRRfMli-.cjs +1 -0
- package/dist/server/createResizableSidebar-CZtGmUnA.cjs +1 -0
- package/dist/server/createResizableSidebar-DdWdAB9l.js +287 -0
- package/dist/server/{createVirtualScroller-LN-7QFiv.cjs → createVirtualScroller-CL49JE2P.cjs} +1 -1
- package/dist/{createVirtualScroller-DBvqT0UW.js → server/createVirtualScroller-vu-l4rVv.js} +7 -7
- package/dist/server/defineSettings-D0CSMcyy.cjs +1 -0
- package/dist/server/defineSettings-Di1sG81q.js +407 -0
- package/dist/server/descriptor-CEGvvJZh.cjs +1 -0
- package/dist/server/{descriptor-DtZDXBe6.js → descriptor-GLoKPx6x.js} +4 -4
- package/dist/server/desktop/index.cjs +1 -1
- package/dist/server/desktop/index.js +389 -315
- package/dist/server/dialogFocusRestore-BrALT8Ew.js +35 -0
- package/dist/server/dialogFocusRestore-CcEsB50v.cjs +1 -0
- package/dist/server/electronBridge-BK92fycw.js +235 -0
- package/dist/server/electronBridge-cT0xww92.cjs +1 -0
- package/dist/server/errorHandler-BvPGW-Nm.js +373 -0
- package/dist/server/errorHandler-DoDAPpv2.cjs +3 -0
- package/dist/server/feedback/index.cjs +1 -1
- package/dist/server/feedback/index.js +37 -38
- package/dist/server/focusModality-D-nxv8Er.cjs +1 -0
- package/dist/server/{focusModality-BCX5GH0P.js → focusModality-nWNVX3JG.js} +41 -41
- package/dist/server/forms/index.cjs +1 -1
- package/dist/server/forms/index.js +7 -7
- package/dist/server/grid/index.cjs +1 -1
- package/dist/server/grid/index.js +1 -1
- package/dist/server/{headerIconOverrides-DY3BTuca.cjs → headerIconOverrides-Bn1QuODq.cjs} +1 -1
- package/dist/{headerIconOverrides-B7TQUBmD.js → server/headerIconOverrides-Dh2PaOcO.js} +1 -1
- package/dist/server/host/index.cjs +1 -1
- package/dist/server/host/index.js +53 -90
- package/dist/server/i18n/index.cjs +1 -1
- package/dist/server/i18n/index.js +1 -1
- package/dist/{i18n-D9k9xwuD.js → server/i18n-DW9kcu0G.js} +180 -178
- package/dist/server/i18n-DZ0JlZal.cjs +4 -0
- package/dist/server/{index-B4epvfiq.js → index-BNYr6EIW.js} +89 -90
- package/dist/server/index-Cqod09d_.cjs +1 -0
- package/dist/server/index.cjs +1 -1
- package/dist/server/index.js +810 -883
- package/dist/server/layout/index.cjs +1 -1
- package/dist/server/layout/index.js +3 -3
- package/dist/server/mainRealmDom-DPNaDWtw.js +121 -0
- package/dist/server/mainRealmDom-DwZVMPnO.cjs +1 -0
- package/dist/server/navigation/index.cjs +1 -1
- package/dist/server/navigation/index.js +1 -1
- package/dist/server/notifications/index.cjs +1 -1
- package/dist/server/notifications/index.js +63 -103
- package/dist/server/overlay/index.cjs +1 -1
- package/dist/server/overlay/index.js +104 -109
- package/dist/server/pageTourState-BcBF8w89.js +516 -0
- package/dist/server/pageTourState-CrbEU7QW.cjs +5 -0
- package/dist/server/settings/index.cjs +1 -1
- package/dist/server/settings/index.js +23 -24
- package/dist/server/stateDbStore-CThsVch-.cjs +1 -0
- package/dist/server/stateDbStore-DHZFUIEt.js +57 -0
- package/dist/server/tokens/index.cjs +1 -1
- package/dist/server/tokens/index.js +19 -20
- package/dist/server/tree/index.cjs +1 -1
- package/dist/server/tree/index.js +1 -1
- package/dist/server/useListCommands-BO_XrRHj.js +38 -0
- package/dist/server/useListCommands-Dnm4ktP1.cjs +1 -0
- package/dist/server/useSettingsSubscription-DKjCwmRd.cjs +1 -0
- package/dist/server/{notification-CpDYN_iu.js → useSettingsSubscription-DLEk4k4j.js} +41 -32
- package/dist/server/window-CUK6x8Pj.js +36 -0
- package/dist/server/window-_BfSgFGO.cjs +1 -0
- package/dist/server/windowRegistry-CxXtP-iY.cjs +1 -0
- package/dist/server/windowRegistry-DeGmXt6W.js +20 -0
- package/dist/settings/index.cjs +1 -1
- package/dist/settings/index.d.cts +1 -1
- package/dist/settings/index.d.ts +1 -1
- package/dist/settings/index.js +23 -24
- package/dist/solid/_internal/app/keybindings/context/useFocusClaim.js +3 -10
- package/dist/solid/_internal/app/keybindings/context/useListCommands.js +1 -2
- package/dist/solid/_internal/app/keybindings/panelCommandsRegistry.js +8 -1
- package/dist/solid/_internal/app/menu/menuFavorites.js +45 -40
- package/dist/solid/_internal/app/onboarding/PageTourHost.jsx +22 -22
- package/dist/solid/_internal/app/onboarding/pageTourState.js +94 -92
- package/dist/solid/_internal/app/platform/electronBridge.js +15 -49
- package/dist/solid/_internal/app/settings/secrets/notificationSecrets.js +0 -10
- package/dist/solid/_internal/app/windows/window/HostWindowContext.jsx +4 -13
- package/dist/solid/_internal/contract/catalogNotify.js +1 -24
- package/dist/solid/_internal/contract/hostErrorText.js +1 -14
- package/dist/solid/_internal/contract/notificationCatalog.js +1 -1
- package/dist/solid/_internal/platform/errors/diagnosticReport.js +2 -3
- package/dist/solid/_internal/platform/logging/consoleLogger.js +6 -0
- package/dist/solid/_internal/platform/settings/registry/defineSettings.js +48 -20
- package/dist/solid/_internal/platform/settings/registry/stateDbStore.js +29 -19
- package/dist/solid/_internal/platform/vendorErrors/index.js +4 -17
- package/dist/solid/_internal/platform/window/displayOwner.js +105 -114
- package/dist/solid/a11y/AriaAnnouncer.jsx +2 -3
- package/dist/solid/async/createGuardedListLoader.js +1 -1
- package/dist/solid/desktop/menu/MenuPanel.jsx +7 -7
- package/dist/solid/feedback/ErrorBoundary.jsx +7 -4
- package/dist/solid/feedback/Loader.jsx +1 -2
- package/dist/solid/feedback/createPreference.js +3 -2
- package/dist/solid/feedback/guidedInstallOutcome.js +1 -2
- package/dist/solid/feedback/preference.notifications.js +1 -2
- package/dist/solid/feedback/readFailureText.js +1 -2
- package/dist/solid/host/index.js +8 -16
- package/dist/solid/host/window.js +15 -22
- package/dist/solid/i18n/i18n.js +5 -6
- package/dist/solid/index.js +0 -1
- package/dist/solid/layout/createResizableSidebar.js +15 -23
- package/dist/solid/notifications/NotificationHost.jsx +21 -29
- package/dist/solid/notifications/NotificationItem.jsx +28 -104
- package/dist/solid/notifications/NotificationPanel.jsx +33 -44
- package/dist/solid/notifications/NotificationsCenter.jsx +22 -20
- package/dist/solid/notifications/StatusBarNotificationBell.jsx +4 -3
- package/dist/solid/notifications/catalogAdapter.js +61 -62
- package/dist/solid/notifications/createNotificationPreviewRuntime.js +29 -19
- package/dist/solid/notifications/customSoundCache.js +26 -21
- package/dist/solid/notifications/emailDigest.js +74 -86
- package/dist/solid/notifications/errorActionButtons.js +6 -11
- package/dist/solid/notifications/fireNotification.js +14 -19
- package/dist/solid/notifications/index.js +3 -12
- package/dist/solid/notifications/nativeEngine.js +6 -19
- package/dist/solid/notifications/notificationAnalytics.js +32 -38
- package/dist/solid/notifications/notificationAudio.js +77 -74
- package/dist/solid/notifications/notificationCardServices.js +34 -0
- package/dist/solid/notifications/notificationOverlayChannel.js +3 -3
- package/dist/solid/notifications/notificationOverlaySync.js +18 -23
- package/dist/solid/notifications/notificationService.js +135 -0
- package/dist/solid/notifications/notificationTimeline.js +117 -124
- package/dist/solid/notifications/notifications.notifications.js +3 -22
- package/dist/solid/notifications/toast.js +168 -213
- package/dist/solid/notifications/webhookDelivery.js +27 -53
- package/dist/solid/overlay/ConfirmDialog.jsx +1 -33
- package/dist/solid/overlay/command-palette/CommandPalette.jsx +3 -1
- package/dist/solid/overlay/command-palette/unifiedSearch/databaseObjectSearchContributor.js +26 -25
- package/dist/solid/overlay/command-palette/unifiedSearch/settingsSearchContributor.js +2 -7
- package/dist/solid/overlay/index.js +0 -3
- package/dist/solid/settings/index.js +1 -1
- package/dist/solid/tokens/index.js +1 -1
- package/dist/solid/tokens/palette/themeRegistry.js +20 -22
- package/dist/stateDbStore-CThsVch-.cjs +1 -0
- package/dist/stateDbStore-DHZFUIEt.js +57 -0
- package/dist/style.css +1 -1
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.d.cts +1 -1
- package/dist/tokens/index.d.ts +1 -1
- package/dist/tokens/index.js +19 -20
- package/dist/tokens/palette/themeRegistry.d.cts +17 -22
- package/dist/tokens/palette/themeRegistry.d.ts +17 -22
- package/dist/{tooltipCoordinator-Zim5pWzk.js → tooltipCoordinator-BzxEyKhA.js} +2 -2
- package/dist/tooltipCoordinator-DslqMlsI.cjs +1 -0
- package/dist/tree/index.cjs +1 -1
- package/dist/tree/index.js +1 -1
- package/dist/ui.css +1 -1
- package/dist/{useFloatingDropdown-CfPEYRut.js → useFloatingDropdown-BN4J092P.js} +1 -1
- package/dist/{useFloatingDropdown-DcU7ozDg.cjs → useFloatingDropdown-D9OvEFAp.cjs} +1 -1
- package/dist/useListCommands-BO_XrRHj.js +38 -0
- package/dist/useListCommands-Dnm4ktP1.cjs +1 -0
- package/dist/useSettingsSubscription-DKjCwmRd.cjs +1 -0
- package/dist/{notification-CpDYN_iu.js → useSettingsSubscription-DLEk4k4j.js} +41 -32
- package/dist/window-CUK6x8Pj.js +36 -0
- package/dist/window-_BfSgFGO.cjs +1 -0
- package/dist/windowRegistry-CxXtP-iY.cjs +1 -0
- package/dist/windowRegistry-DeGmXt6W.js +20 -0
- package/package.json +1 -1
- package/dist/CommandPalette-DeEImZ8D.cjs +0 -2
- package/dist/CommandPalette-yqvM9AuU.js +0 -3897
- package/dist/DateRangePicker-7t4JKCp1.cjs +0 -9
- package/dist/GuidedTour-C_Lxe1t_.cjs +0 -21
- package/dist/GuidedTour-lsljVkPL.js +0 -11216
- package/dist/HostWindowContext-DqDeJmBP.cjs +0 -1
- package/dist/HostWindowContext-KL4U1qUv.js +0 -40
- package/dist/Modal-CJhd27dM.cjs +0 -1
- package/dist/PageSkeleton-SYSL4Adl.cjs +0 -30
- package/dist/Progress-B5YmNeyU.js +0 -56
- package/dist/Progress-BNy0wsJl.cjs +0 -1
- package/dist/StatusBarNotificationBell-B1bvE_SO.js +0 -2140
- package/dist/StatusBarNotificationBell-Cqo6cZbO.cjs +0 -4
- package/dist/ToggleButton-BmwDfsn4.cjs +0 -1
- package/dist/_internal/app/contexts/WorkspaceTabsContext.d.cts +0 -20
- package/dist/_internal/app/contexts/WorkspaceTabsContext.d.ts +0 -20
- package/dist/_internal/app/settings/theme/appThemeChange.d.cts +0 -20
- package/dist/_internal/app/settings/theme/appThemeChange.d.ts +0 -20
- package/dist/_internal/app/settings/ui/shell/openSettingsModal.d.cts +0 -6
- package/dist/_internal/app/settings/ui/shell/openSettingsModal.d.ts +0 -6
- package/dist/_internal/base/listenerDispatch.d.cts +0 -14
- package/dist/_internal/base/listenerDispatch.d.ts +0 -14
- package/dist/_internal/contract/appName.d.cts +0 -10
- package/dist/_internal/contract/appName.d.ts +0 -10
- package/dist/_internal/contract/hostText.d.cts +0 -25
- package/dist/_internal/contract/hostText.d.ts +0 -25
- package/dist/_internal/platform/logging/rendererLogging.d.cts +0 -65
- package/dist/_internal/platform/logging/rendererLogging.d.ts +0 -65
- package/dist/_internal/platform/settings/preferencesCache.d.cts +0 -162
- package/dist/_internal/platform/settings/preferencesCache.d.ts +0 -162
- package/dist/appThemeDerivation-DmKbTiFi.cjs +0 -1
- package/dist/catalogNotify-BcY9oqVy.js +0 -1223
- package/dist/catalogNotify-DacJjC-p.cjs +0 -27
- package/dist/createResizableSidebar-BIhyo5zN.cjs +0 -1
- package/dist/createResizableSidebar-Cqv-1IXG.js +0 -461
- package/dist/defineSettings-CcYXt2Jf.js +0 -391
- package/dist/defineSettings-yHQdUwxI.cjs +0 -1
- package/dist/descriptor-Dmch-3AF.cjs +0 -1
- package/dist/dialogFocusRestore-B4ggeVAM.js +0 -64
- package/dist/dialogFocusRestore-BcMPrbig.cjs +0 -1
- package/dist/displayOwner-eYQHHvjt.cjs +0 -1
- package/dist/displayOwner-mT80Oyi-.js +0 -75
- package/dist/feedback/preference.notifications.samples.d.cts +0 -1
- package/dist/feedback/preference.notifications.samples.d.ts +0 -1
- package/dist/focusModality-BNjYldd9.cjs +0 -1
- package/dist/focusModality-DxudpWPs.js +0 -135
- package/dist/format-BS7oDguE.js +0 -298
- package/dist/format-CuANkXXB.cjs +0 -1
- package/dist/i18n-DXXArz-m.cjs +0 -4
- package/dist/keys-BeeC5_RZ.cjs +0 -1
- package/dist/mainRealmDom-CkoRyNhZ.cjs +0 -1
- package/dist/mainRealmDom-kEStLHIY.js +0 -102
- package/dist/menuFavorites-BmdM_qV5.js +0 -69
- package/dist/menuFavorites-DoDFvtlQ.cjs +0 -1
- package/dist/notification-DygvQB_o.cjs +0 -1
- package/dist/notificationSuppressions-DGfo2QKG.cjs +0 -1
- package/dist/notificationSuppressions-ddyK85cB.js +0 -430
- package/dist/notifications/copyToClipboard.d.cts +0 -6
- package/dist/notifications/copyToClipboard.d.ts +0 -6
- package/dist/notifications/createCopyFlash.d.cts +0 -17
- package/dist/notifications/createCopyFlash.d.ts +0 -17
- package/dist/notifications/notificationDisplayOwner.d.cts +0 -27
- package/dist/notifications/notificationDisplayOwner.d.ts +0 -27
- package/dist/notifications/notificationRepeaterEntryFactory.d.cts +0 -36
- package/dist/notifications/notificationRepeaterEntryFactory.d.ts +0 -36
- package/dist/notifications/notifications.notifications.samples.d.cts +0 -1
- package/dist/notifications/notifications.notifications.samples.d.ts +0 -1
- package/dist/notifications/persistWithRollbackOnFailure.d.cts +0 -18
- package/dist/notifications/persistWithRollbackOnFailure.d.ts +0 -18
- package/dist/notifications/startNotificationSchedulers.d.cts +0 -2
- package/dist/notifications/startNotificationSchedulers.d.ts +0 -2
- package/dist/notifications/startNotificationSettingsReactions.d.cts +0 -46
- package/dist/notifications/startNotificationSettingsReactions.d.ts +0 -46
- package/dist/overlay/ToastHost.d.cts +0 -7
- package/dist/overlay/ToastHost.d.ts +0 -7
- package/dist/pageTourState-CIr8ockR.js +0 -92
- package/dist/pageTourState-D8Uapyft.cjs +0 -1
- package/dist/preferencesCache-Bow6TxP1.js +0 -65
- package/dist/preferencesCache-D7mm43_n.cjs +0 -1
- package/dist/rendererLogging-Dt5FZ8mq.cjs +0 -7
- package/dist/rendererLogging-gAhiHWkA.js +0 -822
- package/dist/server/CommandPalette-C8treS8g.cjs +0 -1
- package/dist/server/CommandPalette-Dslsq5Ez.js +0 -3155
- package/dist/server/DateRangePicker-CDKi9BAf.cjs +0 -9
- package/dist/server/GuidedTour-B3T9rAPX.cjs +0 -20
- package/dist/server/GuidedTour-DSoSZZby.js +0 -10983
- package/dist/server/HostWindowContext-DqDeJmBP.cjs +0 -1
- package/dist/server/HostWindowContext-KL4U1qUv.js +0 -40
- package/dist/server/Modal-CCUwQYso.cjs +0 -1
- package/dist/server/PageSkeleton-DdpXfZoC.cjs +0 -30
- package/dist/server/Progress-CRbj6nEy.cjs +0 -1
- package/dist/server/Progress-nsDy6clG.js +0 -41
- package/dist/server/StatusBarNotificationBell-C64Odn2C.js +0 -1974
- package/dist/server/StatusBarNotificationBell-DY0Q27su.cjs +0 -4
- package/dist/server/ToggleButton-1bNYk35x.cjs +0 -1
- package/dist/server/VpTerminal-Bpw-d9wD.js +0 -186
- package/dist/server/VpTerminal-C-U_dN_x.cjs +0 -1
- package/dist/server/VpTrash-CagiU2Uj.cjs +0 -1
- package/dist/server/VpTrash-DVBfts9_.js +0 -116
- package/dist/server/appThemeDerivation-DmKbTiFi.cjs +0 -1
- package/dist/server/catalogNotify-MCW2sa2e.cjs +0 -27
- package/dist/server/catalogNotify-s3YymAe8.js +0 -1261
- package/dist/server/createResizableSidebar-MIzUlfdd.js +0 -299
- package/dist/server/createResizableSidebar-TdxLuiY8.cjs +0 -1
- package/dist/server/defineSettings-CcYXt2Jf.js +0 -391
- package/dist/server/defineSettings-yHQdUwxI.cjs +0 -1
- package/dist/server/descriptor-DAyyoF-I.cjs +0 -1
- package/dist/server/dialogFocusRestore-B4ggeVAM.js +0 -64
- package/dist/server/dialogFocusRestore-BcMPrbig.cjs +0 -1
- package/dist/server/displayOwner-eYQHHvjt.cjs +0 -1
- package/dist/server/displayOwner-mT80Oyi-.js +0 -75
- package/dist/server/focusModality-BKgJWRlC.cjs +0 -1
- package/dist/server/format-WfZycMBL.cjs +0 -1
- package/dist/server/i18n-DXXArz-m.cjs +0 -4
- package/dist/server/index-DlQYWckZ.cjs +0 -1
- package/dist/server/mainRealmDom-BCL1p_q6.cjs +0 -1
- package/dist/server/mainRealmDom-Dk0xb5Gj.js +0 -67
- package/dist/server/menuFavorites-BmdM_qV5.js +0 -69
- package/dist/server/menuFavorites-DoDFvtlQ.cjs +0 -1
- package/dist/server/notification-DygvQB_o.cjs +0 -1
- package/dist/server/notificationSuppressions-B-LKq9ZU.js +0 -391
- package/dist/server/notificationSuppressions-Dcc2WFBZ.cjs +0 -1
- package/dist/server/pageTourState-CIr8ockR.js +0 -92
- package/dist/server/pageTourState-D8Uapyft.cjs +0 -1
- package/dist/server/preferencesCache-Bow6TxP1.js +0 -65
- package/dist/server/preferencesCache-D7mm43_n.cjs +0 -1
- package/dist/server/rendererLogging-Dt5FZ8mq.cjs +0 -7
- package/dist/server/rendererLogging-gAhiHWkA.js +0 -822
- package/dist/server/settingsSearchContributor-CRZsl2Q_.js +0 -199
- package/dist/server/settingsSearchContributor-DH8UFpp2.cjs +0 -1
- package/dist/server/stateDbStore-Ds3zJ4cd.js +0 -47
- package/dist/server/stateDbStore-THFfFGa0.cjs +0 -1
- package/dist/server/useListCommands-Bf7aOTXZ.js +0 -61
- package/dist/server/useListCommands-ucngC3t4.cjs +0 -1
- package/dist/server/useSettingsSubscription-cu943hND.js +0 -11
- package/dist/server/useSettingsSubscription-vlMrNNH9.cjs +0 -1
- package/dist/server/visibleBrowserRegistry-BTfWUlI1.cjs +0 -1
- package/dist/server/visibleBrowserRegistry-Dw2Y4y_I.js +0 -89
- package/dist/server/windowRegistry-Bk5lXIVd.js +0 -62
- package/dist/server/windowRegistry-CGvOBUsw.cjs +0 -1
- package/dist/settingsSearchContributor-DWP5dwn3.js +0 -199
- package/dist/settingsSearchContributor-Dltbs1j_.cjs +0 -1
- package/dist/solid/_internal/app/contexts/WorkspaceTabsContext.js +0 -10
- package/dist/solid/_internal/app/settings/theme/appThemeChange.js +0 -5
- package/dist/solid/_internal/app/settings/ui/shell/openSettingsModal.js +0 -15
- package/dist/solid/_internal/base/listenerDispatch.js +0 -12
- package/dist/solid/_internal/contract/appName.js +0 -7
- package/dist/solid/_internal/contract/hostText.js +0 -15
- package/dist/solid/_internal/platform/logging/rendererLogging.js +0 -42
- package/dist/solid/_internal/platform/settings/preferencesCache.js +0 -329
- package/dist/solid/feedback/preference.notifications.samples.js +0 -5
- package/dist/solid/notifications/copyToClipboard.js +0 -21
- package/dist/solid/notifications/createCopyFlash.js +0 -26
- package/dist/solid/notifications/notificationDisplayOwner.js +0 -1
- package/dist/solid/notifications/notificationRepeaterEntryFactory.js +0 -20
- package/dist/solid/notifications/notifications.notifications.samples.js +0 -14
- package/dist/solid/notifications/persistWithRollbackOnFailure.js +0 -11
- package/dist/solid/notifications/startNotificationSchedulers.js +0 -8
- package/dist/solid/notifications/startNotificationSettingsReactions.js +0 -22
- package/dist/solid/overlay/ToastHost.jsx +0 -1
- package/dist/stateDbStore-Ds3zJ4cd.js +0 -47
- package/dist/stateDbStore-THFfFGa0.cjs +0 -1
- package/dist/tooltipCoordinator-Causlcgt.cjs +0 -1
- package/dist/useListCommands-Bf7aOTXZ.js +0 -61
- package/dist/useListCommands-ucngC3t4.cjs +0 -1
- package/dist/useSettingsSubscription-cu943hND.js +0 -11
- package/dist/useSettingsSubscription-vlMrNNH9.cjs +0 -1
- package/dist/visibleBrowserRegistry-BTfWUlI1.cjs +0 -1
- package/dist/visibleBrowserRegistry-Dw2Y4y_I.js +0 -89
- package/dist/windowRegistry-Bk5lXIVd.js +0 -62
- package/dist/windowRegistry-CGvOBUsw.cjs +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { createComponent as
|
|
2
|
-
import { createSignal as
|
|
3
|
-
import { B as
|
|
4
|
-
const
|
|
1
|
+
import { createComponent as cn, isDev as sn } from "solid-js/web";
|
|
2
|
+
import { createSignal as I, onCleanup as an, createMemo as V, createEffect as un, useContext as dn, createContext as fn } from "solid-js";
|
|
3
|
+
import { B as z } from "./bugIndicatingError-h3J5qkL6.js";
|
|
4
|
+
const x = [
|
|
5
5
|
{
|
|
6
6
|
id: "vokril-dark",
|
|
7
7
|
label: "Vokril Dark",
|
|
@@ -110,36 +110,34 @@ const k = [
|
|
|
110
110
|
syntaxComment: "#404040"
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
|
-
],
|
|
114
|
-
let w = {
|
|
115
|
-
byId: () => null,
|
|
116
|
-
options: () => []
|
|
117
|
-
}, B = {
|
|
118
|
-
byId: () => null,
|
|
119
|
-
options: () => []
|
|
120
|
-
};
|
|
113
|
+
], C = "vokril-dark", ln = { darcula: "vokril-dark" }, J = (n) => ln[n] ?? n, E = [];
|
|
121
114
|
function Xn(n) {
|
|
122
|
-
|
|
115
|
+
return E.push(n), {
|
|
116
|
+
dispose: () => {
|
|
117
|
+
const r = E.indexOf(n);
|
|
118
|
+
r !== -1 && E.splice(r, 1);
|
|
119
|
+
}
|
|
120
|
+
};
|
|
123
121
|
}
|
|
124
|
-
function
|
|
125
|
-
|
|
122
|
+
function Q(n) {
|
|
123
|
+
for (const r of E) {
|
|
124
|
+
const e = r.byId(n);
|
|
125
|
+
if (e !== null) return e;
|
|
126
|
+
}
|
|
127
|
+
return null;
|
|
126
128
|
}
|
|
127
|
-
function
|
|
128
|
-
const r =
|
|
129
|
-
return
|
|
129
|
+
function M(n) {
|
|
130
|
+
const r = J(n);
|
|
131
|
+
return x.find((e) => e.id === r) ?? Q(r) ?? x[0];
|
|
130
132
|
}
|
|
131
133
|
function gn() {
|
|
132
|
-
return [
|
|
133
|
-
...k,
|
|
134
|
-
...w.options(),
|
|
135
|
-
...B.options()
|
|
136
|
-
];
|
|
134
|
+
return [...x, ...E.flatMap((n) => n.options())];
|
|
137
135
|
}
|
|
138
|
-
function
|
|
139
|
-
const r =
|
|
140
|
-
return
|
|
136
|
+
function Yn(n) {
|
|
137
|
+
const r = J(n);
|
|
138
|
+
return x.some((e) => e.id === r) || Q(r) !== null;
|
|
141
139
|
}
|
|
142
|
-
const
|
|
140
|
+
const w = 4.5, mn = 3;
|
|
143
141
|
function yn(n) {
|
|
144
142
|
const r = n.trim().replace(/^#/, ""), e = r.length === 3 ? r.split("").map((t) => t + t).join("") : r;
|
|
145
143
|
return e.length !== 6 || /[^0-9a-fA-F]/.test(e) ? null : {
|
|
@@ -152,49 +150,49 @@ function bn({ r: n, g: r, b: e }) {
|
|
|
152
150
|
const t = (o) => Math.max(0, Math.min(255, Math.round(o))).toString(16).padStart(2, "0");
|
|
153
151
|
return `#${t(n)}${t(r)}${t(e)}`;
|
|
154
152
|
}
|
|
155
|
-
function
|
|
153
|
+
function D(n) {
|
|
156
154
|
const r = yn(n);
|
|
157
155
|
if (!r)
|
|
158
|
-
throw new
|
|
156
|
+
throw new z(
|
|
159
157
|
`contrast: expected #rgb/#rrggbb, got ${JSON.stringify(n)}. Resolve var()/transparent/color-mix to a literal hex before measuring.`
|
|
160
158
|
);
|
|
161
159
|
return r;
|
|
162
160
|
}
|
|
163
|
-
function
|
|
161
|
+
function _(n) {
|
|
164
162
|
const r = n / 255;
|
|
165
163
|
return r <= 0.04045 ? r / 12.92 : Math.pow((r + 0.055) / 1.055, 2.4);
|
|
166
164
|
}
|
|
167
165
|
function T(n) {
|
|
168
|
-
const { r, g: e, b: t } =
|
|
169
|
-
return 0.2126 *
|
|
166
|
+
const { r, g: e, b: t } = D(n);
|
|
167
|
+
return 0.2126 * _(r) + 0.7152 * _(e) + 0.0722 * _(t);
|
|
170
168
|
}
|
|
171
169
|
function y(n, r) {
|
|
172
|
-
const e = T(n), t = T(r), [o,
|
|
173
|
-
return (o + 0.05) / (
|
|
170
|
+
const e = T(n), t = T(r), [o, c] = e > t ? [e, t] : [t, e];
|
|
171
|
+
return (o + 0.05) / (c + 0.05);
|
|
174
172
|
}
|
|
175
173
|
function hn(n, r, e) {
|
|
176
|
-
const t =
|
|
174
|
+
const t = D(n), o = D(r), c = Math.max(0, Math.min(1, e));
|
|
177
175
|
return bn({
|
|
178
|
-
r: t.r + (o.r - t.r) * (1 -
|
|
179
|
-
g: t.g + (o.g - t.g) * (1 -
|
|
180
|
-
b: t.b + (o.b - t.b) * (1 -
|
|
176
|
+
r: t.r + (o.r - t.r) * (1 - c),
|
|
177
|
+
g: t.g + (o.g - t.g) * (1 - c),
|
|
178
|
+
b: t.b + (o.b - t.b) * (1 - c)
|
|
181
179
|
});
|
|
182
180
|
}
|
|
183
|
-
function
|
|
181
|
+
function k(n, r) {
|
|
184
182
|
return n + 1e-9 >= r;
|
|
185
183
|
}
|
|
186
184
|
function Fn(n) {
|
|
187
185
|
const r = T(n);
|
|
188
186
|
return 116 * (r > (6 / 29) ** 3 ? Math.cbrt(r) : r / (3 * (6 / 29) ** 2) + 4 / 29) - 16;
|
|
189
187
|
}
|
|
190
|
-
const
|
|
188
|
+
const L = (n) => {
|
|
191
189
|
const r = n / 255;
|
|
192
190
|
return r <= 0.04045 ? r / 12.92 : Math.pow((r + 0.055) / 1.055, 2.4);
|
|
193
|
-
},
|
|
194
|
-
function
|
|
191
|
+
}, xn = (n) => (n <= 31308e-7 ? 12.92 * n : 1.055 * Math.pow(n, 0.4166666666666667) - 0.055) * 255;
|
|
192
|
+
function kn(n) {
|
|
195
193
|
const r = n.trim().replace(/^#/, ""), e = r.length === 3 ? r.split("").map((t) => t + t).join("") : r;
|
|
196
194
|
if (e.length !== 6 || /[^0-9a-fA-F]/.test(e))
|
|
197
|
-
throw new
|
|
195
|
+
throw new z(
|
|
198
196
|
`oklch: expected #rgb/#rrggbb, got ${JSON.stringify(n)}`
|
|
199
197
|
);
|
|
200
198
|
return {
|
|
@@ -204,80 +202,80 @@ function xn(n) {
|
|
|
204
202
|
};
|
|
205
203
|
}
|
|
206
204
|
function pn(n) {
|
|
207
|
-
const { r, g: e, b: t } =
|
|
205
|
+
const { r, g: e, b: t } = kn(n), o = L(r), c = L(e), s = L(t), u = Math.cbrt(0.4122214708 * o + 0.5363325363 * c + 0.0514459929 * s), i = Math.cbrt(0.2119034982 * o + 0.6806995451 * c + 0.1073969566 * s), d = Math.cbrt(0.0883024619 * o + 0.2817188376 * c + 0.6299787005 * s), l = 0.2104542553 * u + 0.793617785 * i - 0.0040720468 * d, m = 1.9779984951 * u - 2.428592205 * i + 0.4505937099 * d, f = 0.0259040371 * u + 0.7827717662 * i - 0.808675766 * d, g = Math.atan2(f, m) * 180 / Math.PI;
|
|
208
206
|
return { l, c: Math.hypot(m, f), h: g < 0 ? g + 360 : g };
|
|
209
207
|
}
|
|
210
|
-
function
|
|
211
|
-
const t = e * Math.PI / 180, o = r * Math.cos(t),
|
|
208
|
+
function O({ l: n, c: r, h: e }) {
|
|
209
|
+
const t = e * Math.PI / 180, o = r * Math.cos(t), c = r * Math.sin(t), s = (n + 0.3963377774 * o + 0.2158037573 * c) ** 3, u = (n - 0.1055613458 * o - 0.0638541728 * c) ** 3, i = (n - 0.0894841775 * o - 1.291485548 * c) ** 3;
|
|
212
210
|
return {
|
|
213
|
-
r: 4.0767416621 *
|
|
214
|
-
g: -1.2684380046 *
|
|
215
|
-
b: -0.0041960863 *
|
|
211
|
+
r: 4.0767416621 * s - 3.3077115913 * u + 0.2309699292 * i,
|
|
212
|
+
g: -1.2684380046 * s + 2.6097574011 * u - 0.3413193965 * i,
|
|
213
|
+
b: -0.0041960863 * s - 0.7034186147 * u + 1.707614701 * i
|
|
216
214
|
};
|
|
217
215
|
}
|
|
218
|
-
const F = 1e-4,
|
|
219
|
-
function
|
|
220
|
-
if (
|
|
216
|
+
const F = 1e-4, W = ({ r: n, g: r, b: e }) => n >= -F && n <= 1 + F && r >= -F && r <= 1 + F && e >= -F && e <= 1 + F;
|
|
217
|
+
function En({ l: n, c: r, h: e }) {
|
|
218
|
+
if (W(O({ l: n, c: r, h: e }))) return r;
|
|
221
219
|
let t = 0, o = r;
|
|
222
|
-
for (let
|
|
223
|
-
const
|
|
224
|
-
|
|
220
|
+
for (let c = 0; c < 24; c++) {
|
|
221
|
+
const s = (t + o) / 2;
|
|
222
|
+
W(O({ l: n, c: s, h: e })) ? t = s : o = s;
|
|
225
223
|
}
|
|
226
224
|
return t;
|
|
227
225
|
}
|
|
228
|
-
function
|
|
229
|
-
const r =
|
|
226
|
+
function N(n) {
|
|
227
|
+
const r = En(n), e = O({ ...n, c: r }), t = (o) => Math.max(0, Math.min(255, Math.round(xn(o)))).toString(16).padStart(2, "0");
|
|
230
228
|
return `#${t(e.r)}${t(e.g)}${t(e.b)}`;
|
|
231
229
|
}
|
|
232
|
-
function
|
|
233
|
-
const o = pn(n),
|
|
234
|
-
if (!
|
|
235
|
-
let u = o.l, i =
|
|
230
|
+
function G(n, r, e, t) {
|
|
231
|
+
const o = pn(n), c = t === "lighter" ? 1 : 0, s = N({ ...o, l: c });
|
|
232
|
+
if (!k(y(s, r), e)) return s;
|
|
233
|
+
let u = o.l, i = c;
|
|
236
234
|
for (let d = 0; d < 24; d++) {
|
|
237
235
|
const l = (u + i) / 2;
|
|
238
|
-
|
|
236
|
+
k(y(N({ ...o, l }), r), e) ? i = l : u = l;
|
|
239
237
|
}
|
|
240
|
-
return
|
|
238
|
+
return N({ ...o, l: i });
|
|
241
239
|
}
|
|
242
240
|
function K(n, r, e) {
|
|
243
|
-
if (
|
|
244
|
-
const t = T(n) < T(r), o =
|
|
241
|
+
if (k(y(n, r), e)) return n;
|
|
242
|
+
const t = T(n) < T(r), o = G(
|
|
245
243
|
n,
|
|
246
244
|
r,
|
|
247
245
|
e,
|
|
248
246
|
t ? "darker" : "lighter"
|
|
249
247
|
);
|
|
250
|
-
if (
|
|
251
|
-
const
|
|
248
|
+
if (k(y(o, r), e)) return o;
|
|
249
|
+
const c = G(
|
|
252
250
|
n,
|
|
253
251
|
r,
|
|
254
252
|
e,
|
|
255
253
|
t ? "lighter" : "darker"
|
|
256
254
|
);
|
|
257
|
-
return y(
|
|
255
|
+
return y(c, r) > y(o, r) ? c : o;
|
|
258
256
|
}
|
|
259
|
-
function
|
|
257
|
+
function Tn(n, r, e) {
|
|
260
258
|
let t = n;
|
|
261
259
|
for (let o = 0; o < 8; o++) {
|
|
262
|
-
let
|
|
263
|
-
for (const
|
|
264
|
-
const u = K(t,
|
|
265
|
-
u !== t && (t = u,
|
|
260
|
+
let c = !1;
|
|
261
|
+
for (const s of r) {
|
|
262
|
+
const u = K(t, s, e);
|
|
263
|
+
u !== t && (t = u, c = !0);
|
|
266
264
|
}
|
|
267
|
-
if (!
|
|
265
|
+
if (!c) break;
|
|
268
266
|
}
|
|
269
267
|
return t;
|
|
270
268
|
}
|
|
271
|
-
function
|
|
269
|
+
function An(n, r, e) {
|
|
272
270
|
let t = r[0] ?? "#ffffff", o = -1;
|
|
273
|
-
for (const
|
|
274
|
-
const
|
|
275
|
-
if (
|
|
276
|
-
|
|
271
|
+
for (const c of r) {
|
|
272
|
+
const s = y(c, n);
|
|
273
|
+
if (k(s, e)) return c;
|
|
274
|
+
s > o && (o = s, t = c);
|
|
277
275
|
}
|
|
278
276
|
return t;
|
|
279
277
|
}
|
|
280
|
-
const
|
|
278
|
+
const vn = "#2A2C31", Sn = "#1C1E23", Z = 0.25, zn = Z;
|
|
281
279
|
function Cn(n) {
|
|
282
280
|
return K(n.inputBorder, n.input, mn);
|
|
283
281
|
}
|
|
@@ -287,36 +285,36 @@ function wn(n, r, e) {
|
|
|
287
285
|
r.surfaceAlt,
|
|
288
286
|
r.surfaceElevated
|
|
289
287
|
];
|
|
290
|
-
return e === "dark" && t.push(
|
|
288
|
+
return e === "dark" && t.push(vn, Sn), t.flatMap((o) => [
|
|
291
289
|
o,
|
|
292
290
|
hn(n, o, Z)
|
|
293
291
|
]);
|
|
294
292
|
}
|
|
295
293
|
function Bn(n, r, e) {
|
|
296
|
-
return
|
|
294
|
+
return Tn(
|
|
297
295
|
n,
|
|
298
296
|
wn(n, r, e),
|
|
299
|
-
|
|
297
|
+
w
|
|
300
298
|
);
|
|
301
299
|
}
|
|
302
|
-
const
|
|
300
|
+
const Jn = [
|
|
303
301
|
"error",
|
|
304
302
|
"brand",
|
|
305
303
|
"success",
|
|
306
304
|
"warning",
|
|
307
305
|
"info"
|
|
308
306
|
], In = 60;
|
|
309
|
-
function
|
|
310
|
-
return
|
|
307
|
+
function A(n) {
|
|
308
|
+
return k(y("#ffffff", n), w) || Fn(n) >= In ? n : K(n, "#ffffff", w);
|
|
311
309
|
}
|
|
312
310
|
function Mn(n, r) {
|
|
313
|
-
return
|
|
311
|
+
return An(
|
|
314
312
|
n,
|
|
315
313
|
["#ffffff", r.surfaceAlt, "#000000"],
|
|
316
|
-
|
|
314
|
+
w
|
|
317
315
|
);
|
|
318
316
|
}
|
|
319
|
-
const
|
|
317
|
+
const Qn = ["brand", "error", "success", "warning"], _n = "#D76CB7", Ln = "data-colorblind-safe", H = {
|
|
320
318
|
/** Bluish green. */
|
|
321
319
|
success: "#009e73",
|
|
322
320
|
/** Vermillion. */
|
|
@@ -325,18 +323,18 @@ const Zn = ["brand", "error", "success", "warning"], _n = "#D76CB7", Ln = "data-
|
|
|
325
323
|
warning: "#e69f00",
|
|
326
324
|
/** Sky blue. */
|
|
327
325
|
info: "#56b4e9"
|
|
328
|
-
},
|
|
326
|
+
}, q = {
|
|
329
327
|
added: H.success,
|
|
330
328
|
deleted: H.error
|
|
331
329
|
};
|
|
332
330
|
function Nn(n) {
|
|
333
331
|
return { ...n, ...H };
|
|
334
332
|
}
|
|
335
|
-
function
|
|
333
|
+
function Zn() {
|
|
336
334
|
return typeof document > "u" ? !1 : document.documentElement.hasAttribute(Ln);
|
|
337
335
|
}
|
|
338
336
|
function Dn(n, r, e) {
|
|
339
|
-
const t = (d) => Bn(d, n, r), o =
|
|
337
|
+
const t = (d) => Bn(d, n, r), o = A(n.brand), c = A(n.error), s = A(n.success), u = A(n.warning), i = (d) => Mn(d, n);
|
|
340
338
|
return {
|
|
341
339
|
"--color-surface": n.surface,
|
|
342
340
|
"--color-surface-alt": n.surfaceAlt,
|
|
@@ -366,16 +364,16 @@ function Dn(n, r, e) {
|
|
|
366
364
|
// text variant is derived per theme as well.
|
|
367
365
|
"--color-unique-text": t(_n),
|
|
368
366
|
"--color-brand-surface": o,
|
|
369
|
-
"--color-error-surface":
|
|
370
|
-
"--color-success-surface":
|
|
367
|
+
"--color-error-surface": c,
|
|
368
|
+
"--color-success-surface": s,
|
|
371
369
|
"--color-warning-surface": u,
|
|
372
370
|
"--color-on-brand": i(o),
|
|
373
|
-
"--color-on-error": i(
|
|
374
|
-
"--color-on-success": i(
|
|
371
|
+
"--color-on-error": i(c),
|
|
372
|
+
"--color-on-success": i(s),
|
|
375
373
|
"--color-on-warning": i(u),
|
|
376
374
|
// The diff gutter rides on the same signal (added/deleted ≡ success/error).
|
|
377
|
-
"--color-diff-added": e ?
|
|
378
|
-
"--color-diff-deleted": e ?
|
|
375
|
+
"--color-diff-added": e ? q.added : "",
|
|
376
|
+
"--color-diff-deleted": e ? q.deleted : "",
|
|
379
377
|
"--color-syntax-keyword": n.syntaxKeyword,
|
|
380
378
|
"--color-syntax-string": n.syntaxString,
|
|
381
379
|
"--color-syntax-function": n.syntaxFunction,
|
|
@@ -384,53 +382,53 @@ function Dn(n, r, e) {
|
|
|
384
382
|
"--color-syntax-type": n.syntaxType
|
|
385
383
|
};
|
|
386
384
|
}
|
|
387
|
-
const
|
|
385
|
+
const U = "data-colorblind-safe";
|
|
388
386
|
function nn(n, r = !1) {
|
|
389
|
-
return
|
|
387
|
+
return M(n === "system" ? r ? "light" : C : n === "dark" ? C : n);
|
|
390
388
|
}
|
|
391
389
|
function On(n, r = {}) {
|
|
392
390
|
var u, i;
|
|
393
391
|
const e = typeof n == "string" ? nn(n) : n, t = r.document ?? (typeof document < "u" ? document : void 0);
|
|
394
392
|
if (!t) return e;
|
|
395
|
-
const o = t.documentElement,
|
|
396
|
-
|
|
397
|
-
const
|
|
398
|
-
for (const [d, l] of Object.entries(Dn(
|
|
393
|
+
const o = t.documentElement, c = r.colorVisionSafe ?? !1;
|
|
394
|
+
c ? o.setAttribute(U, "") : o.removeAttribute(U);
|
|
395
|
+
const s = c ? Nn(e.palette) : e.palette;
|
|
396
|
+
for (const [d, l] of Object.entries(Dn(s, e.type, c)))
|
|
399
397
|
o.style.setProperty(d, l);
|
|
400
398
|
return (u = t.body) == null || u.classList.remove("light", "dark"), (i = t.body) == null || i.classList.add(e.type), o.classList.remove("light", "dark"), o.classList.add(e.type), o.style.colorScheme = e.type, o.setAttribute("data-app-theme", e.id), e;
|
|
401
399
|
}
|
|
402
|
-
function
|
|
400
|
+
function nr() {
|
|
403
401
|
return gn();
|
|
404
402
|
}
|
|
405
|
-
const
|
|
406
|
-
function
|
|
403
|
+
const Hn = "vokril-ui-theme", Pn = "(prefers-color-scheme: light)";
|
|
404
|
+
function Kn() {
|
|
407
405
|
try {
|
|
408
406
|
return typeof localStorage > "u" ? null : localStorage;
|
|
409
407
|
} catch {
|
|
410
408
|
return null;
|
|
411
409
|
}
|
|
412
410
|
}
|
|
413
|
-
const rn = fn(),
|
|
414
|
-
var
|
|
415
|
-
const r = n.storageKey === void 0 ?
|
|
411
|
+
const rn = fn(), rr = (n) => {
|
|
412
|
+
var R, $;
|
|
413
|
+
const r = n.storageKey === void 0 ? Hn : n.storageKey, e = n.storage === void 0 ? Kn() : n.storage, t = () => {
|
|
416
414
|
if (!e || !r) return null;
|
|
417
415
|
try {
|
|
418
416
|
return e.getItem(r);
|
|
419
417
|
} catch {
|
|
420
418
|
return null;
|
|
421
419
|
}
|
|
422
|
-
}, o = ((
|
|
423
|
-
if (
|
|
420
|
+
}, o = ((R = n.document) == null ? void 0 : R.defaultView) ?? (typeof window > "u" ? void 0 : window), c = ($ = o == null ? void 0 : o.matchMedia) == null ? void 0 : $.call(o, Pn), [s, u] = I(t() ?? n.defaultTheme ?? "dark"), [i, d] = I((c == null ? void 0 : c.matches) ?? !1), [l, m] = I(n.colorVisionSafe ?? !1);
|
|
421
|
+
if (c) {
|
|
424
422
|
const p = (on) => d(on.matches);
|
|
425
|
-
|
|
423
|
+
c.addEventListener("change", p), an(() => c.removeEventListener("change", p));
|
|
426
424
|
}
|
|
427
|
-
const f =
|
|
425
|
+
const f = V(() => nn(s(), i())), g = V(() => f().type), b = (p) => {
|
|
428
426
|
if (u(p), !(!e || !r))
|
|
429
427
|
try {
|
|
430
428
|
e.setItem(r, p);
|
|
431
429
|
} catch {
|
|
432
430
|
}
|
|
433
|
-
},
|
|
431
|
+
}, B = () => b(g() === "dark" ? "light" : "dark");
|
|
434
432
|
un(() => {
|
|
435
433
|
On(f(), {
|
|
436
434
|
colorVisionSafe: l(),
|
|
@@ -438,28 +436,28 @@ const rn = fn(), er = (n) => {
|
|
|
438
436
|
});
|
|
439
437
|
});
|
|
440
438
|
const tn = {
|
|
441
|
-
theme:
|
|
439
|
+
theme: s,
|
|
442
440
|
resolvedTheme: g,
|
|
443
441
|
themeId: () => f().id,
|
|
444
442
|
setTheme: b,
|
|
445
|
-
toggleTheme:
|
|
443
|
+
toggleTheme: B,
|
|
446
444
|
colorVisionSafe: l,
|
|
447
445
|
setColorVisionSafe: m
|
|
448
446
|
};
|
|
449
|
-
return
|
|
447
|
+
return cn(rn.Provider, {
|
|
450
448
|
value: tn,
|
|
451
449
|
get children() {
|
|
452
450
|
return n.children;
|
|
453
451
|
}
|
|
454
452
|
});
|
|
455
453
|
};
|
|
456
|
-
let
|
|
457
|
-
function
|
|
454
|
+
let j = !1;
|
|
455
|
+
function er() {
|
|
458
456
|
const n = dn(rn);
|
|
459
|
-
return n || (
|
|
457
|
+
return n || (sn && !j && (j = !0, console.warn("@vokril/ui-solid: useTheme() was called outside <ThemeProvider>; it reports Vokril Dark and ignores setTheme.")), {
|
|
460
458
|
theme: () => "dark",
|
|
461
459
|
resolvedTheme: () => "dark",
|
|
462
|
-
themeId: () =>
|
|
460
|
+
themeId: () => C,
|
|
463
461
|
setTheme: () => {
|
|
464
462
|
},
|
|
465
463
|
toggleTheme: () => {
|
|
@@ -469,9 +467,9 @@ function tr() {
|
|
|
469
467
|
}
|
|
470
468
|
});
|
|
471
469
|
}
|
|
472
|
-
var
|
|
473
|
-
const
|
|
474
|
-
function
|
|
470
|
+
var Y;
|
|
471
|
+
const X = ((Y = x.find((n) => n.id === C)) == null ? void 0 : Y.palette) ?? x[0].palette;
|
|
472
|
+
function Rn(n) {
|
|
475
473
|
return Math.max(0, Math.min(255, Math.round(n)));
|
|
476
474
|
}
|
|
477
475
|
function P(n) {
|
|
@@ -482,24 +480,24 @@ function P(n) {
|
|
|
482
480
|
b: Number.parseInt(e.slice(4, 6), 16)
|
|
483
481
|
};
|
|
484
482
|
}
|
|
485
|
-
function
|
|
486
|
-
const t = (o) =>
|
|
483
|
+
function S({ r: n, g: r, b: e }) {
|
|
484
|
+
const t = (o) => Rn(o).toString(16).padStart(2, "0");
|
|
487
485
|
return `#${t(n)}${t(r)}${t(e)}`;
|
|
488
486
|
}
|
|
489
487
|
function a(n, r = "#000000") {
|
|
490
488
|
const e = P(n);
|
|
491
|
-
return e ?
|
|
489
|
+
return e ? S(e) : r;
|
|
492
490
|
}
|
|
493
491
|
function h(n, r, e) {
|
|
494
492
|
const t = P(n), o = P(r);
|
|
495
493
|
if (!t && !o) return "#000000";
|
|
496
|
-
if (!t) return
|
|
497
|
-
if (!o) return
|
|
498
|
-
const
|
|
499
|
-
return
|
|
500
|
-
r: t.r + (o.r - t.r) *
|
|
501
|
-
g: t.g + (o.g - t.g) *
|
|
502
|
-
b: t.b + (o.b - t.b) *
|
|
494
|
+
if (!t) return S(o);
|
|
495
|
+
if (!o) return S(t);
|
|
496
|
+
const c = Math.max(0, Math.min(1, e));
|
|
497
|
+
return S({
|
|
498
|
+
r: t.r + (o.r - t.r) * c,
|
|
499
|
+
g: t.g + (o.g - t.g) * c,
|
|
500
|
+
b: t.b + (o.b - t.b) * c
|
|
503
501
|
});
|
|
504
502
|
}
|
|
505
503
|
const $n = "#ffffff", Vn = "#000000";
|
|
@@ -512,12 +510,12 @@ function Wn(n, r) {
|
|
|
512
510
|
function Gn(n, r, e) {
|
|
513
511
|
return r === "dark" ? en(n, e) : Wn(n, e);
|
|
514
512
|
}
|
|
515
|
-
function
|
|
513
|
+
function v(n, r) {
|
|
516
514
|
return `${a(n)}${r}`;
|
|
517
515
|
}
|
|
518
|
-
function
|
|
519
|
-
if (typeof document > "u") return
|
|
520
|
-
const n = getComputedStyle(document.documentElement), r = (t, o) => n.getPropertyValue(t).trim() || o, e =
|
|
516
|
+
function tr() {
|
|
517
|
+
if (typeof document > "u") return X;
|
|
518
|
+
const n = getComputedStyle(document.documentElement), r = (t, o) => n.getPropertyValue(t).trim() || o, e = X;
|
|
521
519
|
return {
|
|
522
520
|
surface: r("--color-surface", e.surface),
|
|
523
521
|
surfaceAlt: r("--color-surface-alt", e.surfaceAlt),
|
|
@@ -541,19 +539,19 @@ function or() {
|
|
|
541
539
|
syntaxType: r("--color-syntax-type", e.syntaxType)
|
|
542
540
|
};
|
|
543
541
|
}
|
|
544
|
-
function
|
|
542
|
+
function or() {
|
|
545
543
|
return typeof document > "u" ? "dark" : document.body.classList.contains("light") ? "light" : "dark";
|
|
546
544
|
}
|
|
547
545
|
function cr() {
|
|
548
546
|
return typeof document > "u" ? "" : document.documentElement.getAttribute("data-app-theme") ?? "";
|
|
549
547
|
}
|
|
550
|
-
function
|
|
551
|
-
const e = a(n.syntaxKeyword), t = a(n.syntaxString), o = a(n.syntaxFunction),
|
|
548
|
+
function sr(n, r) {
|
|
549
|
+
const e = a(n.syntaxKeyword), t = a(n.syntaxString), o = a(n.syntaxFunction), c = a(n.syntaxComment), s = a(n.syntaxNumber), u = a(n.syntaxType), i = a(n.content), d = a(n.brand), l = a(n.error), m = [
|
|
552
550
|
{ token: "", foreground: i.slice(1) },
|
|
553
|
-
{ token: "comment", foreground:
|
|
551
|
+
{ token: "comment", foreground: c.slice(1), fontStyle: "italic" },
|
|
554
552
|
{
|
|
555
553
|
token: "comment.quote",
|
|
556
|
-
foreground:
|
|
554
|
+
foreground: c.slice(1),
|
|
557
555
|
fontStyle: "italic"
|
|
558
556
|
},
|
|
559
557
|
{ token: "keyword", foreground: e.slice(1) },
|
|
@@ -563,10 +561,10 @@ function ir(n, r) {
|
|
|
563
561
|
{ token: "string", foreground: t.slice(1) },
|
|
564
562
|
{ token: "string.sql", foreground: t.slice(1) },
|
|
565
563
|
{ token: "string.escape", foreground: e.slice(1) },
|
|
566
|
-
{ token: "number", foreground:
|
|
567
|
-
{ token: "number.float", foreground:
|
|
568
|
-
{ token: "number.hex", foreground:
|
|
569
|
-
{ token: "constant", foreground:
|
|
564
|
+
{ token: "number", foreground: s.slice(1) },
|
|
565
|
+
{ token: "number.float", foreground: s.slice(1) },
|
|
566
|
+
{ token: "number.hex", foreground: s.slice(1) },
|
|
567
|
+
{ token: "constant", foreground: s.slice(1) },
|
|
570
568
|
{ token: "type", foreground: u.slice(1) },
|
|
571
569
|
{ token: "type.identifier", foreground: u.slice(1) },
|
|
572
570
|
{ token: "predefined", foreground: o.slice(1) },
|
|
@@ -581,7 +579,7 @@ function ir(n, r) {
|
|
|
581
579
|
{ token: "attribute.value", foreground: t.slice(1) },
|
|
582
580
|
{ token: "annotation", foreground: n.warning.replace(/^#/, "") },
|
|
583
581
|
{ token: "regexp", foreground: l.slice(1) }
|
|
584
|
-
], f = a(n.surfaceAlt), g = a(n.surface), b = a(n.surfaceElevated),
|
|
582
|
+
], f = a(n.surfaceAlt), g = a(n.surface), b = a(n.surfaceElevated), B = {
|
|
585
583
|
"editor.background": f,
|
|
586
584
|
"editor.foreground": i,
|
|
587
585
|
"editorLineNumber.foreground": a(n.contentSecondary),
|
|
@@ -598,36 +596,36 @@ function ir(n, r) {
|
|
|
598
596
|
"input.foreground": i,
|
|
599
597
|
"input.border": a(n.inputBorder),
|
|
600
598
|
"input.placeholderForeground": a(n.contentSecondary),
|
|
601
|
-
"inputOption.activeBackground":
|
|
599
|
+
"inputOption.activeBackground": v(d, "40"),
|
|
602
600
|
"inputOption.activeBorder": d,
|
|
603
601
|
"inputOption.activeForeground": i,
|
|
604
602
|
focusBorder: d,
|
|
605
|
-
"editor.findMatchBackground":
|
|
606
|
-
"editor.findMatchHighlightBackground":
|
|
607
|
-
"editor.findRangeHighlightBackground":
|
|
603
|
+
"editor.findMatchBackground": v(a(n.warning), "80"),
|
|
604
|
+
"editor.findMatchHighlightBackground": v(a(n.warning), "40"),
|
|
605
|
+
"editor.findRangeHighlightBackground": v(b, "60")
|
|
608
606
|
};
|
|
609
607
|
return {
|
|
610
608
|
base: r === "dark" ? "vs-dark" : "vs",
|
|
611
609
|
inherit: !0,
|
|
612
610
|
rules: m,
|
|
613
|
-
colors:
|
|
611
|
+
colors: B
|
|
614
612
|
};
|
|
615
613
|
}
|
|
616
|
-
function
|
|
617
|
-
const e = a(n.surface), t = a(n.surfaceElevated), o = a(n.content),
|
|
614
|
+
function ir(n, r) {
|
|
615
|
+
const e = a(n.surface), t = a(n.surfaceElevated), o = a(n.content), c = a(n.contentSecondary), s = a(n.brand), u = a(n.error), i = a(n.success), d = a(n.warning), l = a(n.info), m = a(n.syntaxKeyword), f = (b) => Gn(b, r, 0.22), g = {
|
|
618
616
|
black: t,
|
|
619
617
|
red: u,
|
|
620
618
|
green: i,
|
|
621
619
|
yellow: d,
|
|
622
|
-
blue:
|
|
620
|
+
blue: s,
|
|
623
621
|
magenta: m,
|
|
624
622
|
cyan: l,
|
|
625
|
-
white:
|
|
623
|
+
white: c,
|
|
626
624
|
brightBlack: h(t, o, 0.4),
|
|
627
625
|
brightRed: f(u),
|
|
628
626
|
brightGreen: f(i),
|
|
629
627
|
brightYellow: f(d),
|
|
630
|
-
brightBlue: f(
|
|
628
|
+
brightBlue: f(s),
|
|
631
629
|
brightMagenta: f(m),
|
|
632
630
|
brightCyan: f(l),
|
|
633
631
|
brightWhite: r === "dark" ? en(o, 0.25) : o
|
|
@@ -635,43 +633,42 @@ function ar(n, r) {
|
|
|
635
633
|
return {
|
|
636
634
|
background: e,
|
|
637
635
|
foreground: o,
|
|
638
|
-
cursor:
|
|
639
|
-
selectionBackground: h(t,
|
|
636
|
+
cursor: s,
|
|
637
|
+
selectionBackground: h(t, s, 0.2),
|
|
640
638
|
...g
|
|
641
639
|
};
|
|
642
640
|
}
|
|
643
641
|
export {
|
|
644
|
-
|
|
645
|
-
|
|
642
|
+
C as D,
|
|
643
|
+
Qn as I,
|
|
646
644
|
ln as L,
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
645
|
+
zn as M,
|
|
646
|
+
q as O,
|
|
647
|
+
Jn as T,
|
|
650
648
|
_n as U,
|
|
651
649
|
Sn as W,
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
650
|
+
rr as a,
|
|
651
|
+
vn as b,
|
|
652
|
+
A as c,
|
|
655
653
|
Cn as d,
|
|
656
654
|
Mn as e,
|
|
657
655
|
Bn as f,
|
|
658
656
|
On as g,
|
|
659
657
|
Dn as h,
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
658
|
+
sr as i,
|
|
659
|
+
ir as j,
|
|
660
|
+
M as k,
|
|
663
661
|
gn as l,
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
662
|
+
nr as m,
|
|
663
|
+
Zn as n,
|
|
664
|
+
Yn as o,
|
|
667
665
|
cr as p,
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
tr as y
|
|
666
|
+
or as q,
|
|
667
|
+
tr as r,
|
|
668
|
+
Xn as s,
|
|
669
|
+
nn as t,
|
|
670
|
+
wn as u,
|
|
671
|
+
x as v,
|
|
672
|
+
Nn as w,
|
|
673
|
+
er as x
|
|
677
674
|
};
|