@vokril/ui-solid 0.33.0 → 0.33.2
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 +12 -0
- package/README.md +7 -1
- package/dist/{CommandPalette-DlLcdd4o.js → CommandPalette-BKa5pT_B.js} +4 -4
- package/dist/{CommandPalette-DAR9VMqY.cjs → CommandPalette-Bq5ydWBA.cjs} +1 -1
- package/dist/{DateRangePicker-CHmUU4PA.js → DateRangePicker-B7XbFZP_.js} +1 -1
- package/dist/{DateRangePicker-BlJWtJBA.cjs → DateRangePicker-Cnzwgtx-.cjs} +1 -1
- package/dist/{GuidedTour-DbXeuTc7.cjs → GuidedTour-BTvAeAfT.cjs} +1 -1
- package/dist/{GuidedTour-9rqvNB_m.js → GuidedTour-CwbGGSIW.js} +1 -1
- package/dist/{IconPicker-CsYW8CXe.js → IconPicker-Cku0jy4r.js} +1 -1
- package/dist/{IconPicker-D-GU1mD3.cjs → IconPicker-pYYYpMF6.cjs} +1 -1
- package/dist/{Modal-3L6p7Dwt.js → Modal-CjPn7xsM.js} +1 -1
- package/dist/{Modal-CtrWEnJ7.cjs → Modal-zPqB1ufV.cjs} +1 -1
- package/dist/{StatusBarNotificationBell-wO16mjon.cjs → StatusBarNotificationBell-CLrNtOO9.cjs} +16 -16
- package/dist/{StatusBarNotificationBell-DKDoWK71.js → StatusBarNotificationBell-DE1jIaBt.js} +262 -261
- package/dist/{ToggleButton-B-hBpdzk.js → ToggleButton-BTu9tcCi.js} +1 -1
- package/dist/{ToggleButton-BMH1A-IX.cjs → ToggleButton-iMcQGwDn.cjs} +1 -1
- package/dist/_internal/contract/menuDensity.d.cts +8 -1
- package/dist/_internal/contract/menuDensity.d.ts +8 -1
- package/dist/a11y/index.cjs +1 -1
- package/dist/a11y/index.js +4 -3
- package/dist/a11y/prefersReducedMotion.d.cts +7 -1
- package/dist/a11y/prefersReducedMotion.d.ts +7 -1
- package/dist/{createDialogShellFocus-kzkNSLWS.cjs → createDialogShellFocus-DFEaujn4.cjs} +1 -1
- package/dist/{createDialogShellFocus-DI1rUvYf.js → createDialogShellFocus-Z557MGDg.js} +2 -2
- package/dist/{createResizableSidebar--Ve6DbDu.js → createResizableSidebar-De-8HN0W.js} +1 -1
- package/dist/{createResizableSidebar-DlVAuq5t.cjs → createResizableSidebar-JB_GlEN7.cjs} +1 -1
- package/dist/{focusModality-ROUF6YGR.js → focusModality-B2bDXTz4.js} +1 -1
- package/dist/{focusModality-D704CJVN.cjs → focusModality-BK1QqhXp.cjs} +1 -1
- package/dist/forms/index.cjs +1 -1
- package/dist/forms/index.js +4 -4
- package/dist/index.cjs +1 -1
- package/dist/index.js +277 -276
- package/dist/layout/index.cjs +1 -1
- package/dist/layout/index.js +1 -1
- package/dist/notifications/index.cjs +1 -1
- package/dist/notifications/index.js +2 -2
- package/dist/overlay/index.cjs +1 -1
- package/dist/overlay/index.js +5 -5
- package/dist/prefersReducedMotion-DYR56SKZ.cjs +1 -0
- package/dist/{prefersReducedMotion-B2mMn01s.js → prefersReducedMotion-qcGrKv14.js} +9 -7
- package/dist/server/{CommandPalette-D0Prl7by.cjs → CommandPalette-BU9QCOyy.cjs} +1 -1
- package/dist/server/{CommandPalette-CHdfYtxs.js → CommandPalette-Dj08M64T.js} +4 -4
- package/dist/server/{DateRangePicker-CF70G2yr.cjs → DateRangePicker-BeByF_wt.cjs} +1 -1
- package/dist/server/{DateRangePicker-C6wZI7No.js → DateRangePicker-TIOF99wh.js} +1 -1
- package/dist/server/{GuidedTour-BmDAWNfN.cjs → GuidedTour-DCoB90h1.cjs} +1 -1
- package/dist/server/{GuidedTour-DYBhprVK.js → GuidedTour-pdx_4IrZ.js} +1 -1
- package/dist/server/{IconPicker--Xso9fUf.js → IconPicker-DX5JVIOl.js} +2 -2
- package/dist/server/{IconPicker-BTI4cNgf.cjs → IconPicker-QZrwihNH.cjs} +1 -1
- package/dist/server/{Modal-D9CjieKK.js → Modal-Cl_asviX.js} +1 -1
- package/dist/server/{Modal-CBnNlaTx.cjs → Modal-DNYwnQ0V.cjs} +1 -1
- package/dist/server/{StatusBarNotificationBell-DEp4eEUv.cjs → StatusBarNotificationBell-fLacxZ0X.cjs} +13 -13
- package/dist/server/{StatusBarNotificationBell-kOm2ZNkl.js → StatusBarNotificationBell-y5cPAlMY.js} +261 -260
- package/dist/server/{ToggleButton-BdqufQ7G.js → ToggleButton-BbW2zC_f.js} +1 -1
- package/dist/server/{ToggleButton-Bo24NK3o.cjs → ToggleButton-CQd_Jagp.cjs} +1 -1
- package/dist/server/a11y/index.cjs +1 -1
- package/dist/server/a11y/index.js +4 -3
- package/dist/server/{createDialogShellFocus-J8wqPlsa.js → createDialogShellFocus-B10Toy2h.js} +1 -1
- package/dist/server/{createDialogShellFocus-DvoNWpIu.cjs → createDialogShellFocus-usbhq9Av.cjs} +1 -1
- package/dist/server/{createResizableSidebar-DcZ2Cnpf.cjs → createResizableSidebar-CeY4cES5.cjs} +1 -1
- package/dist/server/{createResizableSidebar-CIrhLNKW.js → createResizableSidebar-DA0AZVNV.js} +1 -1
- package/dist/server/{focusModality-Bu4Kuwm4.js → focusModality-CtB7eLVL.js} +1 -1
- package/dist/server/{focusModality-G2i60_7y.cjs → focusModality-Dkpcoksf.cjs} +1 -1
- package/dist/server/forms/index.cjs +1 -1
- package/dist/server/forms/index.js +4 -4
- package/dist/server/{index-CPUZyKo7.js → index-BNXRPhpr.js} +1 -1
- package/dist/server/{index-CVbkasNJ.cjs → index-D0BVVt2h.cjs} +1 -1
- package/dist/server/index.cjs +1 -1
- package/dist/server/index.js +194 -193
- package/dist/server/layout/index.cjs +1 -1
- package/dist/server/layout/index.js +1 -1
- package/dist/server/notifications/index.cjs +1 -1
- package/dist/server/notifications/index.js +2 -2
- package/dist/server/overlay/index.cjs +1 -1
- package/dist/server/overlay/index.js +5 -5
- package/dist/server/prefersReducedMotion-DYR56SKZ.cjs +1 -0
- package/dist/server/{prefersReducedMotion-B2mMn01s.js → prefersReducedMotion-qcGrKv14.js} +9 -7
- package/dist/server/settings/index.cjs +1 -1
- package/dist/server/settings/index.js +20 -19
- package/dist/server/tokens/menu-density/index.cjs +1 -0
- package/dist/server/tokens/menu-density/index.js +5 -0
- package/dist/server/{menuDensity-Cf74__OQ.cjs → useSettingsSubscription-DKjCwmRd.cjs} +1 -1
- package/dist/server/{menuDensity-6x_EqCGb.js → useSettingsSubscription-DLEk4k4j.js} +5 -7
- package/dist/settings/index.cjs +1 -1
- package/dist/settings/index.js +20 -19
- package/dist/solid/_internal/contract/menuDensity.js +1 -0
- package/dist/solid/a11y/prefersReducedMotion.js +2 -1
- package/dist/solid/notifications/notificationOverlaySnapshot.js +1 -2
- package/dist/solid/tokens/menu-density/index.js +1 -0
- package/dist/style.css +1 -1
- package/dist/tokens/menu-density/index.cjs +1 -0
- package/dist/tokens/menu-density/index.d.cts +13 -0
- package/dist/tokens/menu-density/index.d.ts +13 -0
- package/dist/tokens/menu-density/index.js +5 -0
- package/dist/ui.css +1 -1
- package/dist/{menuDensity-Cf74__OQ.cjs → useSettingsSubscription-DKjCwmRd.cjs} +1 -1
- package/dist/{menuDensity-6x_EqCGb.js → useSettingsSubscription-DLEk4k4j.js} +5 -7
- package/package.json +25 -1
- package/dist/prefersReducedMotion-BQp-Q4UR.cjs +0 -1
- package/dist/server/prefersReducedMotion-BQp-Q4UR.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../createResizableSidebar-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../createResizableSidebar-CeY4cES5.cjs"),r=require("../Stepper-C04rOZcI.cjs"),a=require("../createVirtualWindow-C8_UuF7B.cjs");exports.PageHeader=e.PageHeader;exports.PageHeaderIcon=e.PageHeaderIcon;exports.ResizableSplitPane=e.ResizableSplitPane;exports.ResizeHandle=e.ResizeHandle;exports.createResizableSidebar=e.createResizableSidebar;exports.createVirtualScroller=e.createVirtualScroller;exports.Accordion=r.Accordion;exports.Breadcrumb=r.Breadcrumb;exports.Stepper=r.Stepper;exports.Tabs=r.Tabs;exports.createVirtualWindow=a.createVirtualWindow;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as r, a as s, R as o, b as c, c as t, d as i } from "../createResizableSidebar-
|
|
1
|
+
import { P as r, a as s, R as o, b as c, c as t, d as i } from "../createResizableSidebar-DA0AZVNV.js";
|
|
2
2
|
import { A as l, B as b, S as p, T as n } from "../Stepper-CVAOsf3o.js";
|
|
3
3
|
import { c as m } from "../createVirtualWindow-CGPw2jm_.js";
|
|
4
4
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../StatusBarNotificationBell-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../StatusBarNotificationBell-fLacxZ0X.cjs"),e=require("../notificationCatalog-CEDltsJS.cjs"),t=require("../useSettingsSubscription-DKjCwmRd.cjs");exports.ACCEPT_PRIMARY_ACTION_NOTIFICATION=i.ACCEPT_PRIMARY_ACTION_NOTIFICATION;exports.CLEAR_NOTIFICATION=i.CLEAR_NOTIFICATION;exports.HIDE_NOTIFICATION_TOASTS=i.HIDE_NOTIFICATION_TOASTS;exports.LogFilterBar=i.LogFilterBar;exports.NOTIFICATION_SOURCES=i.NOTIFICATION_SOURCES;exports.NOTIFICATION_SOURCE_IDS=i.NOTIFICATION_SOURCE_IDS;exports.NO_NOTIFICATION_OVERLAY=i.NO_NOTIFICATION_OVERLAY;exports.NotificationHost=i.NotificationHost;exports.NotificationItem=i.NotificationItem;exports.NotificationPanel=i.NotificationPanel;exports.NotificationService=i.NotificationService;exports.NotificationTimeline=i.NotificationTimeline;exports.NotificationsCenter=i.NotificationsCenter;exports.SEVERITY_ORDER=i.SEVERITY_ORDER;exports.SEVERITY_TONES=i.SEVERITY_TONES;exports.StatusBarNotificationBell=i.StatusBarNotificationBell;exports.appWindowNotificationOverlay=i.appWindowNotificationOverlay;exports.applyNotificationRules=i.applyNotificationRules;exports.cardRemindKey=i.cardRemindKey;exports.clearCompiledRuleRegexCache=i.clearCompiledRuleRegexCache;exports.compileNotificationSearchMatcher=i.compileNotificationSearchMatcher;exports.createNativeNotificationEngine=i.createNativeNotificationEngine;exports.createNotificationPreviewRuntime=i.createNotificationPreviewRuntime;exports.decideFilter=i.decideFilter;exports.deleteWebhookUrl=i.deleteWebhookUrl;exports.deriveImplicitRemindKey=i.deriveImplicitRemindKey;exports.dismissKey=i.dismissKey;exports.dismissableToastIds=i.dismissableToastIds;exports.entryVendorMatch=i.entryVendorMatch;exports.exportTimelineAsCsv=i.exportTimelineAsCsv;exports.exportTimelineAsJson=i.exportTimelineAsJson;exports.filterNotificationTimeline=i.filterNotificationTimeline;exports.filteredPriority=i.filteredPriority;exports.focusFirstNotificationEntry=i.focusFirstNotificationEntry;exports.getSmtpPass=i.getSmtpPass;exports.getWebhookUrl=i.getWebhookUrl;exports.groupTimelineEntries=i.groupTimelineEntries;exports.hiddenRunningProgress=i.hiddenRunningProgress;exports.isInQuietHours=i.isInQuietHours;exports.isKeyDismissed=i.isKeyDismissed;exports.isKeyRemindSuppressed=i.isKeyRemindSuppressed;exports.isNotificationSourceId=i.isNotificationSourceId;exports.isNotificationSticky=i.isNotificationSticky;exports.isOnToastStack=i.isOnToastStack;exports.isProgressRunning=i.isProgressRunning;exports.isSourceMuted=i.isSourceMuted;exports.isSpamDropHandle=i.isSpamDropHandle;exports.listNotificationSources=i.listNotificationSources;exports.nextQuietHoursStart=i.nextQuietHoursStart;exports.pruneOrphanWebhookSecrets=i.pruneOrphanWebhookSecrets;exports.registerFenceAliases=i.registerFenceAliases;exports.registerNotificationCommands=i.registerNotificationCommands;exports.remindLater=i.remindLater;exports.resolveCatalogPreviewPriority=i.resolveCatalogPreviewPriority;exports.resolveNotificationDuration=i.resolveNotificationDuration;exports.resolveNotificationSource=i.resolveNotificationSource;exports.resolveSeverityTone=i.resolveSeverityTone;exports.restoreAllKeys=i.restoreAllKeys;exports.restoreKey=i.restoreKey;exports.setSmtpPass=i.setSmtpPass;exports.setSourceMuted=i.setSourceMuted;exports.setWebhookUrl=i.setWebhookUrl;exports.shouldFireOsNative=i.shouldFireOsNative;exports.toTimelineActions=i.toTimelineActions;exports.unmuteAllSources=i.unmuteAllSources;exports.defineNotification=e.defineNotification;exports.defineNotificationScenario=e.defineNotificationScenario;exports.notificationSettings=t.notificationSettings;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as e, C as s, H as t, L as o, N as r, a as n, b as c, c as l, d as N, e as f, f as d, g as I, h as S, S as T, i as m, j as u, k as O, l as p, m as R, n as A, o as C, p as y, q as E, r as g, s as v, t as _, u as h, v as F, w as P, x, y as K, z as k, B as D, D as b, E as H, F as M, G as U, I as W, J as L, K as V, M as Y, O as w, P as B, Q, R as J, T as j, U as q, V as z, W as G, X, Y as Z, Z as $, _ as ii, $ as ai, a0 as ei, a1 as si, a2 as ti, a3 as oi, a4 as ri, a5 as ni, a6 as ci, a7 as li, a8 as Ni, a9 as fi, aa as di } from "../StatusBarNotificationBell-
|
|
1
|
+
import { A as e, C as s, H as t, L as o, N as r, a as n, b as c, c as l, d as N, e as f, f as d, g as I, h as S, S as T, i as m, j as u, k as O, l as p, m as R, n as A, o as C, p as y, q as E, r as g, s as v, t as _, u as h, v as F, w as P, x, y as K, z as k, B as D, D as b, E as H, F as M, G as U, I as W, J as L, K as V, M as Y, O as w, P as B, Q, R as J, T as j, U as q, V as z, W as G, X, Y as Z, Z as $, _ as ii, $ as ai, a0 as ei, a1 as si, a2 as ti, a3 as oi, a4 as ri, a5 as ni, a6 as ci, a7 as li, a8 as Ni, a9 as fi, aa as di } from "../StatusBarNotificationBell-y5cPAlMY.js";
|
|
2
2
|
import { d as Si, a as Ti } from "../notificationCatalog-Cl1dH4aJ.js";
|
|
3
|
-
import { n as ui } from "../
|
|
3
|
+
import { n as ui } from "../useSettingsSubscription-DLEk4k4j.js";
|
|
4
4
|
export {
|
|
5
5
|
e as ACCEPT_PRIMARY_ACTION_NOTIFICATION,
|
|
6
6
|
s as CLEAR_NOTIFICATION,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../CommandPalette-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../CommandPalette-BU9QCOyy.cjs"),i=require("../Modal-DNYwnQ0V.cjs"),c=require("../OverlayScrollArea-DuwGRSMm.cjs"),r=require("../GuidedTour-DCoB90h1.cjs"),o=require("../createDialogShellFocus-usbhq9Av.cjs"),O=require("../Input-UX0Hk53M.cjs"),t=require("../Popover-BBDBIpT6.cjs"),n=require("../overlayStack-eD8AmuwY.cjs"),p=require("../useFloatingDropdown-D5UayoN6.cjs"),M=require("../ownerWindow-BCmJFMbR.cjs"),a=require("../prefersReducedMotion-DYR56SKZ.cjs"),l=require("../kitHost-u0-mKvEK.cjs"),s=require("../dialogFocusRestore-DP5b1bDo.cjs"),u=require("../DesktopContextMenuContext-DMGNVjaR.cjs");exports.CommandPalette=e.CommandPalette;exports.ConfirmDialog=e.ConfirmDialog;exports.ConsequenceLine=e.ConsequenceLine;exports.ContextMenu=e.ContextMenu;exports.DesktopContextMenu=e.DesktopContextMenu;exports.Drawer=e.Drawer;exports.DropdownMenu=e.DropdownMenu;exports.FloatingWindow=e.FloatingWindow;exports.InputDialog=e.InputDialog;exports.MenuDisclosure=e.MenuDisclosure;exports.MenuEmpty=e.MenuEmpty;exports.MenuItem=e.MenuItem;exports.MenuList=e.MenuList;exports.MenuSearch=e.MenuSearch;exports.MenuSection=e.MenuSection;exports.MenuSeparator=e.MenuSeparator;exports.NameStep=e.NameStep;exports.OptionList=e.OptionList;exports.PopoverPanel=e.PopoverPanel;exports.SUBMENU_ANCHOR_OVERLAP=e.SUBMENU_ANCHOR_OVERLAP;exports.SUBMENU_ESTIMATED_ROW_HEIGHT=e.SUBMENU_ESTIMATED_ROW_HEIGHT;exports.SUBMENU_ESTIMATED_WIDTH=e.SUBMENU_ESTIMATED_WIDTH;exports.SUBMENU_MIN_ESTIMATED_HEIGHT=e.SUBMENU_MIN_ESTIMATED_HEIGHT;exports.SUBMENU_VIEWPORT_MARGIN=e.SUBMENU_VIEWPORT_MARGIN;exports.SaveDiscardDialog=e.SaveDiscardDialog;exports.SelectedOptions=e.SelectedOptions;exports.StatementPreview=e.StatementPreview;exports.StepFooter=e.StepFooter;exports.Tooltip=e.Tooltip;exports.TooltipHost=e.TooltipHost;exports.closeContextMenu=e.closeContextMenu;exports.computeSubmenuPlacement=e.computeSubmenuPlacement;exports.confirmationLevelOf=e.confirmationLevelOf;exports.createDangerousActionDialog=e.createDangerousActionDialog;exports.createDesktopContextMenuApi=e.createDesktopContextMenuApi;exports.createDialogFocusScope=e.createDialogFocusScope;exports.createOverlayCloseGuard=e.createOverlayCloseGuard;exports.describeConsequence=e.describeConsequence;exports.estimateSubmenuHeight=e.estimateSubmenuHeight;exports.firstFocusableMenuIndex=e.firstFocusableMenuIndex;exports.isDesktopMenuNavigationKey=e.isDesktopMenuNavigationKey;exports.isIrreversible=e.isIrreversible;exports.lastFocusableMenuIndex=e.lastFocusableMenuIndex;exports.menuSurfaceClasses=e.menuSurfaceClasses;exports.nextFocusableMenuIndex=e.nextFocusableMenuIndex;exports.openContextMenu=e.openContextMenu;exports.panelClasses=e.panelClasses;exports.resolveDangerousActionDialogKeyIntent=e.resolveDangerousActionDialogKeyIntent;exports.resolveMenuFocusForKey=e.resolveMenuFocusForKey;exports.tooltip=e.tooltip;exports.ActionPlaceRow=i.ActionPlaceRow;exports.Modal=i.Modal;exports.modalTitlebarHeight=i.modalTitlebarHeight;exports.OverlayScrollArea=c.OverlayScrollArea;exports.Disclosure=r.Disclosure;exports.GuidedTour=r.GuidedTour;exports.Panel=r.Panel;exports.PanelSeparator=r.PanelSeparator;exports.positionTourCard=r.positionTourCard;exports.COLD_DELAY_MS=o.COLD_DELAY_MS;exports.COOLDOWN_MS=o.COOLDOWN_MS;exports.DEFAULT_MARGIN=o.DEFAULT_MARGIN;exports.DEFAULT_OFFSET=o.DEFAULT_OFFSET;exports.HoverTooltip=o.HoverTooltip;exports.TOOLTIP_CURSOR_OFFSET_X=o.TOOLTIP_CURSOR_OFFSET_X;exports.TOOLTIP_CURSOR_OFFSET_Y=o.TOOLTIP_CURSOR_OFFSET_Y;exports.TOOLTIP_MAX_FOOTPRINT_X=o.TOOLTIP_MAX_FOOTPRINT_X;exports.TOOLTIP_VIEWPORT_MARGIN=o.TOOLTIP_VIEWPORT_MARGIN;exports.WARM_DELAY_MS=o.WARM_DELAY_MS;exports.collectFocusableElements=o.collectFocusableElements;exports.computeAnchoredTooltipPosition=o.computeAnchoredTooltipPosition;exports.computeTooltipPointerPosition=o.computeTooltipPointerPosition;exports.createDialogShellFocus=o.createDialogShellFocus;exports.createTooltipCoordinator=o.createTooltipCoordinator;exports.resolveDialogShellKeyIntent=o.resolveDialogShellKeyIntent;exports.resolveModalFocusTrapTarget=o.resolveModalFocusTrapTarget;exports.tooltipCoordinator=o.tooltipCoordinator;exports.trapTabFocusWithin=o.trapTabFocusWithin;exports.OverlayPortal=O.OverlayPortal;exports.AnchorAlignment=t.AnchorAlignment;exports.AnchorAxisAlignment=t.AnchorAxisAlignment;exports.AnchorPosition=t.AnchorPosition;exports.LISTBOX_OPTION_SELECTOR=t.LISTBOX_OPTION_SELECTOR;exports.MENU_ITEM_SELECTOR=t.MENU_ITEM_SELECTOR;exports.OVERLAY_DEFAULT_GAP=t.OVERLAY_DEFAULT_GAP;exports.OVERLAY_DEFAULT_MARGIN=t.OVERLAY_DEFAULT_MARGIN;exports.POPOVER_DEFAULT_GAP=t.POPOVER_DEFAULT_GAP;exports.POPOVER_VIEWPORT_MARGIN=t.POPOVER_VIEWPORT_MARGIN;exports.Popover=t.Popover;exports.calcFixedWidthDropdownLeft=t.calcFixedWidthDropdownLeft;exports.computeAnchoredPosition=t.computeAnchoredPosition;exports.computeDropdownPosition=t.computeDropdownPosition;exports.computePopoverPosition=t.computePopoverPosition;exports.isPopoverNavigationKey=t.isPopoverNavigationKey;exports.layout2d=t.layout2d;exports.requestOwnerAnimationFrame=t.requestOwnerAnimationFrame;exports.resolvePopoverFocusForKey=t.resolvePopoverFocusForKey;exports.resolvePopoverSide=t.resolvePopoverSide;exports.getOverlayDiagnostics=n.getOverlayDiagnostics;exports.hasOpenLayerIn=n.hasOpenLayerIn;exports.isAnyOverlayOpen=n.isAnyOverlayOpen;exports.isModalOccluded=n.isModalOccluded;exports.isOverlayOverlapping=n.isOverlayOverlapping;exports.notifyOverlayChanged=n.notifyOverlayChanged;exports.notifyOverlayMotionEnd=n.notifyOverlayMotionEnd;exports.notifyOverlayMotionStart=n.notifyOverlayMotionStart;exports.onOverlayMotion=n.onOverlayMotion;exports.overlayDepth=n.overlayDepth;exports.readOverlayMutationRevision=n.readOverlayMutationRevision;exports.registerOverlayClose=n.registerOverlayClose;exports.registerOverlayCondition=n.registerOverlayCondition;exports.registerOverlayOpen=n.registerOverlayOpen;exports.useOverlayRegistration=n.useOverlayRegistration;exports.useFloatingDropdown=p.useFloatingDropdown;exports.ownerWindow=M.ownerWindow;exports.modalBackgroundExemption=a.modalBackgroundExemption;exports.neutralizeBackground=a.neutralizeBackground;exports.ModalDefaultsProvider=l.ModalDefaultsProvider;exports.useModalDefaults=l.useModalDefaults;exports.restoreFocusTo=s.restoreFocusTo;exports.shouldRestoreFocusOnDialogClose=s.shouldRestoreFocusOnDialogClose;exports.DesktopContextMenuContext=u.DesktopContextMenuContext;exports.useDesktopContextMenu=u.useDesktopContextMenu;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { C as o, a as s, b as t, c as r, D as n, d as i, e as l, F as u, I as p, M as O, f as c, g as M, h as T, i as d, j as m, k as D, N as E, O as _, P as A, S as P, l as v, m as S, n as g, o as I, p as F, q as x, r as y, s as C, T as f, t as R, u as L, v as h, w as N, x as U, y as b, z as G, A as W, B as w, E as H, G as k, H as B, J as V, K, L as X, Q as Y, R as j, U as q, V as z, W as J, X as Q } from "../CommandPalette-
|
|
2
|
-
import { A as $, M as ee, m as ae } from "../Modal-
|
|
1
|
+
import { C as o, a as s, b as t, c as r, D as n, d as i, e as l, F as u, I as p, M as O, f as c, g as M, h as T, i as d, j as m, k as D, N as E, O as _, P as A, S as P, l as v, m as S, n as g, o as I, p as F, q as x, r as y, s as C, T as f, t as R, u as L, v as h, w as N, x as U, y as b, z as G, A as W, B as w, E as H, G as k, H as B, J as V, K, L as X, Q as Y, R as j, U as q, V as z, W as J, X as Q } from "../CommandPalette-Dj08M64T.js";
|
|
2
|
+
import { A as $, M as ee, m as ae } from "../Modal-Cl_asviX.js";
|
|
3
3
|
import { O as se } from "../OverlayScrollArea-h6G3yk6U.js";
|
|
4
|
-
import { D as re, G as ne, P as ie, a as le, p as ue } from "../GuidedTour-
|
|
5
|
-
import { a as Oe, c as ce, D as Me, d as Te, H as de, T as me, e as De, f as Ee, g as _e, W as Ae, h as Pe, i as ve, j as Se, k as ge, l as Ie, r as Fe, m as xe, t as ye, n as Ce } from "../createDialogShellFocus-
|
|
4
|
+
import { D as re, G as ne, P as ie, a as le, p as ue } from "../GuidedTour-pdx_4IrZ.js";
|
|
5
|
+
import { a as Oe, c as ce, D as Me, d as Te, H as de, T as me, e as De, f as Ee, g as _e, W as Ae, h as Pe, i as ve, j as Se, k as ge, l as Ie, r as Fe, m as xe, t as ye, n as Ce } from "../createDialogShellFocus-B10Toy2h.js";
|
|
6
6
|
import { O as Re } from "../Input-V9Szcw6w.js";
|
|
7
7
|
import { A as he, a as Ne, b as Ue, L as be, M as Ge, O as We, c as we, P as He, d as ke, e as Be, f as Ve, g as Ke, h as Xe, i as Ye, j as je, l as qe, r as ze, k as Je, m as Qe } from "../Popover-e9JpRh11.js";
|
|
8
8
|
import { g as $e, h as ea, i as aa, a as oa, b as sa, n as ta, c as ra, d as na, o as ia, e as la, r as ua, f as pa, j as Oa, k as ca, u as Ma } from "../overlayStack-Bj6Lg1Rm.js";
|
|
9
9
|
import { u as da } from "../useFloatingDropdown-2Tz_es0W.js";
|
|
10
10
|
import { o as Da } from "../ownerWindow-9mx_LD47.js";
|
|
11
|
-
import { m as _a, n as Aa } from "../prefersReducedMotion-
|
|
11
|
+
import { m as _a, n as Aa } from "../prefersReducedMotion-qcGrKv14.js";
|
|
12
12
|
import { M as va, a as Sa } from "../kitHost-BMMWpU4w.js";
|
|
13
13
|
import { r as Ia, s as Fa } from "../dialogFocusRestore-BhxVTSiP.js";
|
|
14
14
|
import { D as ya, u as Ca } from "../DesktopContextMenuContext-DJ3PnqAv.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const c="data-modal-background-exempt";function m(n){return{[c]:n}}function l(n){const i=n.ownerDocument,r=[];if(!i.body.contains(n))return()=>{};const o=[n,...i.body.querySelectorAll(`[${c}]`)],d=e=>o.some(t=>t!==e&&e.contains(t)),f=e=>{const t=e.hasAttribute("inert"),a=e.getAttribute("aria-hidden");t&&a==="true"||(e.setAttribute("inert",""),e.setAttribute("aria-hidden","true"),r.push({el:e,hadInert:t,previousAriaHidden:a}))},u=e=>{for(const t of e.children)o.includes(t)||t.tagName==="SCRIPT"||t.tagName==="STYLE"||(d(t)?u(t):f(t))};return u(i.body),()=>{for(const e of r)e.hadInert||e.el.removeAttribute("inert"),e.previousAriaHidden===null?e.el.removeAttribute("aria-hidden"):e.el.setAttribute("aria-hidden",e.previousAriaHidden);r.length=0}}const s="data-motion";function A(n){var r,o,d;const i=n.documentElement.getAttribute(s);return i==="reduced"?!0:i==="enabled"?!1:((d=(o=(r=n.defaultView)==null?void 0:r.matchMedia)==null?void 0:o.call(r,"(prefers-reduced-motion: reduce)"))==null?void 0:d.matches)===!0}exports.MOTION_ATTRIBUTE=s;exports.modalBackgroundExemption=m;exports.neutralizeBackground=l;exports.prefersReducedMotion=A;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const s = "data-modal-background-exempt";
|
|
2
|
-
function
|
|
2
|
+
function m(n) {
|
|
3
3
|
return { [s]: n };
|
|
4
4
|
}
|
|
5
|
-
function
|
|
5
|
+
function l(n) {
|
|
6
6
|
const i = n.ownerDocument, r = [];
|
|
7
7
|
if (!i.body.contains(n)) return () => {
|
|
8
8
|
};
|
|
@@ -22,13 +22,15 @@ function m(n) {
|
|
|
22
22
|
r.length = 0;
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
|
-
|
|
25
|
+
const f = "data-motion";
|
|
26
|
+
function h(n) {
|
|
26
27
|
var r, o, d;
|
|
27
|
-
const i = n.documentElement.getAttribute(
|
|
28
|
+
const i = n.documentElement.getAttribute(f);
|
|
28
29
|
return i === "reduced" ? !0 : i === "enabled" ? !1 : ((d = (o = (r = n.defaultView) == null ? void 0 : r.matchMedia) == null ? void 0 : o.call(r, "(prefers-reduced-motion: reduce)")) == null ? void 0 : d.matches) === !0;
|
|
29
30
|
}
|
|
30
31
|
export {
|
|
31
|
-
f as
|
|
32
|
-
m
|
|
33
|
-
l as
|
|
32
|
+
f as M,
|
|
33
|
+
m,
|
|
34
|
+
l as n,
|
|
35
|
+
h as p
|
|
34
36
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../defineSettings-D0CSMcyy.cjs"),r=require("../stateDbStore-CThsVch-.cjs"),t=require("../
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../defineSettings-D0CSMcyy.cjs"),r=require("../stateDbStore-CThsVch-.cjs"),t=require("../useSettingsSubscription-DKjCwmRd.cjs"),n=require("../headerIconOverrides-Bn1QuODq.cjs"),i=require("../tokens/menu-density/index.cjs"),o=["auto","antialiased","none"],s=["on","off"],S="autodetect",a=["sshx","sql"],_=["colorful","monochrome"],g=["colorful","normal"],O=!0,T=!0;exports.clearPluginConfigDefaults=e.clearPluginConfigDefaults;exports.defineSettings=e.defineSettings;exports.defineSettingsValue=e.defineSettingsValue;exports.deriveDefault=e.deriveDefault;exports.deriveNormalize=e.deriveNormalize;exports.deriveNormalizePartial=e.deriveNormalizePartial;exports.getContributedGroupDefault=e.getContributedGroupDefault;exports.getGroupByKey=e.getGroupByKey;exports.getRegisteredSettingsGroups=e.getRegisteredSettingsGroups;exports.hydrateRegisteredSettings=e.hydrateRegisteredSettings;exports.normalizeField=e.normalizeField;exports.onAnySettingsChange=e.onAnySettingsChange;exports.resetPluginConfigDefaultsForTest=e.resetPluginConfigDefaultsForTest;exports.resetSettingsGroupForTest=e.resetSettingsGroupForTest;exports.resolveLayers=e.resolveLayers;exports.scopeAllowsLayer=e.scopeAllowsLayer;exports.setPluginConfigDefaults=e.setPluginConfigDefaults;exports.subscribePluginConfigDefaults=e.subscribePluginConfigDefaults;exports.SCOPE_MAP=r.SCOPE_MAP;exports.StorageScope=r.StorageScope;exports.StorageTarget=r.StorageTarget;exports.StoredSettingUnreadableError=r.StoredSettingUnreadableError;exports.stateDbStore=r.stateDbStore;exports.DEFAULT_NOTIFICATION_SETTINGS=t.DEFAULT_NOTIFICATION_SETTINGS;exports.MAX_LONG_RUNNING_THRESHOLD_MS=t.MAX_LONG_RUNNING_THRESHOLD_MS;exports.MIN_LONG_RUNNING_THRESHOLD_MS=t.MIN_LONG_RUNNING_THRESHOLD_MS;exports.notificationSettings=t.notificationSettings;exports.parseLongRunningThresholdMs=t.parseLongRunningThresholdMs;exports.useSettingsSubscription=t.useSettingsSubscription;exports.clearHeaderIconOverride=n.clearHeaderIconOverride;exports.getHeaderIconOverride=n.getHeaderIconOverride;exports.getHeaderIconOverrides=n.getHeaderIconOverrides;exports.headerIconOverridesSettings=n.headerIconOverridesSettings;exports.setHeaderIconOverride=n.setHeaderIconOverride;exports.MENU_DENSITIES=i.MENU_DENSITIES;exports.DATABASE_EXPLORER_SHOW_ADMIN_BADGES_DEFAULT=T;exports.DATABASE_EXPLORER_SHOW_ALL_DATABASES_DEFAULT=O;exports.DETACHED_EDITOR_TOOLBAR_SCOPES=a;exports.EDITOR_FONT_SMOOTHINGS=o;exports.ICON_COLOR_VARIANTS=_;exports.KEYBOARD_LAYOUT_AUTODETECT=S;exports.QUICK_SUGGESTION_MODES=s;exports.STATUS_RAIL_STYLES=g;
|
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
import { c as g, d as O, a as T, b as l, e as E, f as A, g as c, h as u, i as d, j as D, n as
|
|
2
|
-
import { b as
|
|
3
|
-
import { D as
|
|
4
|
-
import { c as
|
|
1
|
+
import { c as g, d as O, a as T, b as l, e as E, f as A, g as c, h as u, i as d, j as D, n as f, o as I, r as N, k as L, l as R, s as p, m as C, p as G } from "../defineSettings-Di1sG81q.js";
|
|
2
|
+
import { b as H, S as U, a as M, c as P, s as h } from "../stateDbStore-DHZFUIEt.js";
|
|
3
|
+
import { D as b, M as F, a as x, n as B, p as y, u as z } from "../useSettingsSubscription-DLEk4k4j.js";
|
|
4
|
+
import { c as X, g as Y, a as V, h as W, s as j } from "../headerIconOverrides-Dh2PaOcO.js";
|
|
5
|
+
import { MENU_DENSITIES as q } from "../tokens/menu-density/index.js";
|
|
5
6
|
const e = ["auto", "antialiased", "none"], s = ["on", "off"], a = "autodetect", t = ["sshx", "sql"], r = ["colorful", "monochrome"], o = ["colorful", "normal"], n = !0, i = !0;
|
|
6
7
|
export {
|
|
7
8
|
i as DATABASE_EXPLORER_SHOW_ADMIN_BADGES_DEFAULT,
|
|
8
9
|
n as DATABASE_EXPLORER_SHOW_ALL_DATABASES_DEFAULT,
|
|
9
|
-
|
|
10
|
+
b as DEFAULT_NOTIFICATION_SETTINGS,
|
|
10
11
|
t as DETACHED_EDITOR_TOOLBAR_SCOPES,
|
|
11
12
|
e as EDITOR_FONT_SMOOTHINGS,
|
|
12
13
|
r as ICON_COLOR_VARIANTS,
|
|
13
14
|
a as KEYBOARD_LAYOUT_AUTODETECT,
|
|
14
15
|
F as MAX_LONG_RUNNING_THRESHOLD_MS,
|
|
15
|
-
|
|
16
|
+
q as MENU_DENSITIES,
|
|
16
17
|
x as MIN_LONG_RUNNING_THRESHOLD_MS,
|
|
17
18
|
s as QUICK_SUGGESTION_MODES,
|
|
18
|
-
|
|
19
|
+
H as SCOPE_MAP,
|
|
19
20
|
o as STATUS_RAIL_STYLES,
|
|
20
|
-
|
|
21
|
+
U as StorageScope,
|
|
21
22
|
M as StorageTarget,
|
|
22
23
|
P as StoredSettingUnreadableError,
|
|
23
|
-
|
|
24
|
+
X as clearHeaderIconOverride,
|
|
24
25
|
g as clearPluginConfigDefaults,
|
|
25
26
|
O as defineSettings,
|
|
26
27
|
T as defineSettingsValue,
|
|
@@ -29,22 +30,22 @@ export {
|
|
|
29
30
|
A as deriveNormalizePartial,
|
|
30
31
|
c as getContributedGroupDefault,
|
|
31
32
|
u as getGroupByKey,
|
|
32
|
-
|
|
33
|
-
|
|
33
|
+
Y as getHeaderIconOverride,
|
|
34
|
+
V as getHeaderIconOverrides,
|
|
34
35
|
d as getRegisteredSettingsGroups,
|
|
35
|
-
|
|
36
|
+
W as headerIconOverridesSettings,
|
|
36
37
|
D as hydrateRegisteredSettings,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
f as normalizeField,
|
|
39
|
+
B as notificationSettings,
|
|
40
|
+
I as onAnySettingsChange,
|
|
41
|
+
y as parseLongRunningThresholdMs,
|
|
41
42
|
N as resetPluginConfigDefaultsForTest,
|
|
42
43
|
L as resetSettingsGroupForTest,
|
|
43
44
|
R as resolveLayers,
|
|
44
45
|
p as scopeAllowsLayer,
|
|
45
|
-
|
|
46
|
+
j as setHeaderIconOverride,
|
|
46
47
|
C as setPluginConfigDefaults,
|
|
47
|
-
|
|
48
|
+
h as stateDbStore,
|
|
48
49
|
G as subscribePluginConfigDefaults,
|
|
49
|
-
|
|
50
|
+
z as useSettingsSubscription
|
|
50
51
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=["compact","normal","sparse"],t="data-menu-density";exports.MENU_DENSITIES=E;exports.MENU_DENSITY_ATTRIBUTE=t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const w=require("./defineSettings-D0CSMcyy.cjs"),O=require("solid-js"),b=1e3,k=6e4;function
|
|
1
|
+
"use strict";const w=require("./defineSettings-D0CSMcyy.cjs"),O=require("solid-js"),b=1e3,k=6e4;function H(t,n){if(t.trim()==="")return n;const o=Number(t);return Number.isFinite(o)?Math.min(k,Math.max(b,o)):n}const T={notificationsEnabled:!0,toastPosition:"bottom-right",showSuccessToasts:!0,soundOnQueryCompletion:!1,longRunningQueryThresholdMs:5e3,showLongRunningNotification:!0,mutedSources:[],dontShowAgainKeys:[],remindersUntil:[],notificationWidth:450,maxVisibleNotifications:3,markdownEnabled:!1,infoDurationMs:1e4,successDurationMs:6e3,warningDurationMs:12e3,errorDurationMs:15e3,errorsAlwaysSticky:!1,warningsAlwaysSticky:!1,doNotDisturb:!1,dndBlocksUrgent:!1,urgentRoutesToCenterOnly:!1,soundOnInfo:!1,soundOnSuccess:!1,soundOnWarning:!1,soundOnError:!1,pauseTimerWhileHidden:!0,vendorCodesAreUrgent:!1,remindLaterEnabled:!0,showAdvancedSettings:!1,osNativeEnabled:!1,osNativeOnlyWhenUnfocused:!0,osNativeMinSeverity:"warning",osNativeUrgentAlways:!0,badgeCountEnabled:!0,badgeCountMax:99,quietHoursEnabled:!1,quietHoursStart:"22:00",quietHoursEnd:"08:00",quietHoursWeekdays:[0,1,2,3,4,5,6],quietHoursBlocksUrgent:!1,quietHoursMutesSounds:!0,customSoundInfo:"",customSoundSuccess:"",customSoundWarning:"",customSoundError:"",webhooks:[],emailDigestEnabled:!1,emailDigestSmtpHost:"",emailDigestSmtpPort:587,emailDigestSmtpSecure:!1,emailDigestSmtpUser:"",emailDigestSmtpPass:"",emailDigestFrom:"",emailDigestTo:"",emailDigestSchedule:"daily-9am",emailDigestMinSeverity:"warning",timelineGroupingEnabled:!1,timelineGroupBy:"source-severity",notificationRules:[],animationDuration:"normal",reduceMotion:!1},I="app-notification-settings-change",R=["bottom-right","bottom-left","top-right","top-left"],g=0,y=12e4,e=T;function M(t,n){return Array.isArray(t)?Array.from(new Set(t.filter(o=>typeof o=="string"&&o.length>0))):[...n]}function U(t,n){var u,a,l,d,s,f,r,p,D,N,h;if(!Array.isArray(t))return[...n];const o=[];for(const S of t){if(typeof S!="object"||S===null)continue;const i=S;typeof i.id=="string"&&o.push({id:i.id,name:typeof i.name=="string"?i.name:"Rule",enabled:typeof i.enabled=="boolean"?i.enabled:!0,conditions:(()=>{var A,v,E;const c={};return typeof((A=i.conditions)==null?void 0:A.source)=="string"&&(c.source=i.conditions.source),Array.isArray((v=i.conditions)==null?void 0:v.severities)&&(c.severities=i.conditions.severities.filter(m=>m==="info"||m==="success"||m==="warning"||m==="error")),typeof((E=i.conditions)==null?void 0:E.titleRegex)=="string"&&(c.titleRegex=i.conditions.titleRegex),c})(),actions:{...((u=i.actions)==null?void 0:u.setSeverity)==="info"||((a=i.actions)==null?void 0:a.setSeverity)==="success"||((l=i.actions)==null?void 0:l.setSeverity)==="warning"||((d=i.actions)==null?void 0:d.setSeverity)==="error"?{setSeverity:i.actions.setSeverity}:{},...((s=i.actions)==null?void 0:s.setPriority)==="urgent"||((f=i.actions)==null?void 0:f.setPriority)==="default"||((r=i.actions)==null?void 0:r.setPriority)==="optional"||((p=i.actions)==null?void 0:p.setPriority)==="silent"||((D=i.actions)==null?void 0:D.setPriority)==="acknowledgment-required"?{setPriority:i.actions.setPriority}:{},...typeof((N=i.actions)==null?void 0:N.addPrefix)=="string"?{addPrefix:i.actions.addPrefix}:{},...typeof((h=i.actions)==null?void 0:h.suppress)=="boolean"?{suppress:i.actions.suppress}:{}}})}return o}function _(t,n){var u,a,l;if(!Array.isArray(t))return[...n];const o=[];for(const d of t){if(typeof d!="object"||d===null)continue;const s=d;if(typeof s.id!="string")continue;const f=s.type==="slack"||s.type==="discord"||s.type==="generic"?s.type:"generic";o.push({id:s.id,name:typeof s.name=="string"?s.name:"Webhook",type:f,url:"",enabled:typeof s.enabled=="boolean"?s.enabled:!0,filters:{severities:Array.isArray((u=s.filters)==null?void 0:u.severities)?s.filters.severities.filter(r=>r==="info"||r==="success"||r==="warning"||r==="error"):[],priorities:Array.isArray((a=s.filters)==null?void 0:a.priorities)?s.filters.priorities.filter(r=>r==="urgent"||r==="default"||r==="optional"||r==="silent"):[],sources:Array.isArray((l=s.filters)==null?void 0:l.sources)?s.filters.sources.filter(r=>typeof r=="string"):[]}})}return o}const q=w.defineSettings({key:"notificationSettings",changeEvent:I,fields:{notificationsEnabled:{kind:"bool",default:e.notificationsEnabled},toastPosition:{kind:"enum",values:R,default:e.toastPosition},showSuccessToasts:{kind:"bool",default:e.showSuccessToasts},soundOnQueryCompletion:{kind:"bool",default:e.soundOnQueryCompletion},longRunningQueryThresholdMs:{kind:"int",min:b,max:k,default:e.longRunningQueryThresholdMs},showLongRunningNotification:{kind:"bool",default:e.showLongRunningNotification},mutedSources:{kind:"custom",default:e.mutedSources,normalize:(t,n)=>M(t,n)},dontShowAgainKeys:{kind:"custom",default:e.dontShowAgainKeys,normalize:(t,n)=>M(t,n)},remindersUntil:{kind:"custom",default:e.remindersUntil,normalize:(t,n)=>Array.isArray(t)?t.filter(o=>typeof o=="object"&&o!==null&&typeof o.key=="string"&&typeof o.remindAt=="number").filter(o=>o.remindAt>Date.now()):[...n]},notificationWidth:{kind:"int",min:320,max:700,default:e.notificationWidth},maxVisibleNotifications:{kind:"int",min:1,max:8,default:e.maxVisibleNotifications},markdownEnabled:{kind:"bool",default:e.markdownEnabled},infoDurationMs:{kind:"int",min:g,max:y,default:e.infoDurationMs},successDurationMs:{kind:"int",min:g,max:y,default:e.successDurationMs},warningDurationMs:{kind:"int",min:g,max:y,default:e.warningDurationMs},errorDurationMs:{kind:"int",min:g,max:y,default:e.errorDurationMs},errorsAlwaysSticky:{kind:"bool",default:e.errorsAlwaysSticky},warningsAlwaysSticky:{kind:"bool",default:e.warningsAlwaysSticky},doNotDisturb:{kind:"bool",default:e.doNotDisturb},dndBlocksUrgent:{kind:"bool",default:e.dndBlocksUrgent},urgentRoutesToCenterOnly:{kind:"bool",default:e.urgentRoutesToCenterOnly},soundOnInfo:{kind:"bool",default:e.soundOnInfo},soundOnSuccess:{kind:"bool",default:e.soundOnSuccess},soundOnWarning:{kind:"bool",default:e.soundOnWarning},soundOnError:{kind:"bool",default:e.soundOnError},pauseTimerWhileHidden:{kind:"bool",default:e.pauseTimerWhileHidden},vendorCodesAreUrgent:{kind:"bool",default:e.vendorCodesAreUrgent},remindLaterEnabled:{kind:"bool",default:e.remindLaterEnabled},showAdvancedSettings:{kind:"bool",default:e.showAdvancedSettings},osNativeEnabled:{kind:"bool",default:e.osNativeEnabled},osNativeOnlyWhenUnfocused:{kind:"bool",default:e.osNativeOnlyWhenUnfocused},osNativeMinSeverity:{kind:"enum",values:["info","success","warning","error"],default:e.osNativeMinSeverity},osNativeUrgentAlways:{kind:"bool",default:e.osNativeUrgentAlways},badgeCountEnabled:{kind:"bool",default:e.badgeCountEnabled},badgeCountMax:{kind:"int",min:1,max:9999,default:e.badgeCountMax},quietHoursEnabled:{kind:"bool",default:e.quietHoursEnabled},quietHoursStart:{kind:"custom",default:e.quietHoursStart,normalize:(t,n)=>typeof t=="string"&&/^\d{2}:\d{2}$/.test(t)?t:n},quietHoursEnd:{kind:"custom",default:e.quietHoursEnd,normalize:(t,n)=>typeof t=="string"&&/^\d{2}:\d{2}$/.test(t)?t:n},quietHoursWeekdays:{kind:"custom",default:e.quietHoursWeekdays,normalize:(t,n)=>Array.isArray(t)?Array.from(new Set(t.filter(o=>typeof o=="number"&&Number.isInteger(o)&&o>=0&&o<=6))).sort():[...n]},quietHoursBlocksUrgent:{kind:"bool",default:e.quietHoursBlocksUrgent},quietHoursMutesSounds:{kind:"bool",default:e.quietHoursMutesSounds},customSoundInfo:{kind:"string",default:e.customSoundInfo},customSoundSuccess:{kind:"string",default:e.customSoundSuccess},customSoundWarning:{kind:"string",default:e.customSoundWarning},customSoundError:{kind:"string",default:e.customSoundError},webhooks:{kind:"custom",default:e.webhooks,normalize:(t,n)=>_(t,n)},emailDigestEnabled:{kind:"bool",default:e.emailDigestEnabled},emailDigestSmtpHost:{kind:"string",default:e.emailDigestSmtpHost},emailDigestSmtpPort:{kind:"int",min:1,max:65535,default:e.emailDigestSmtpPort},emailDigestSmtpSecure:{kind:"bool",default:e.emailDigestSmtpSecure},emailDigestSmtpUser:{kind:"string",default:e.emailDigestSmtpUser},emailDigestSmtpPass:{kind:"string",default:"",secret:!0},emailDigestFrom:{kind:"string",default:e.emailDigestFrom},emailDigestTo:{kind:"string",default:e.emailDigestTo},emailDigestSchedule:{kind:"enum",values:["hourly","daily-9am","daily-5pm","weekly-mon-9am"],default:e.emailDigestSchedule},emailDigestMinSeverity:{kind:"enum",values:["info","success","warning","error"],default:e.emailDigestMinSeverity},timelineGroupingEnabled:{kind:"bool",default:e.timelineGroupingEnabled},timelineGroupBy:{kind:"enum",values:["source","source-severity"],default:e.timelineGroupBy},notificationRules:{kind:"custom",default:e.notificationRules,normalize:(t,n)=>U(t,n)},animationDuration:{kind:"enum",values:["fast","normal","slow"],default:e.animationDuration},reduceMotion:{kind:"bool",default:e.reduceMotion}}});function x(t,n){const o=u=>{const a=u.detail;a!=null&&n(a)};window.addEventListener(t.changeEvent,o),O.onCleanup(()=>window.removeEventListener(t.changeEvent,o))}exports.DEFAULT_NOTIFICATION_SETTINGS=T;exports.MAX_LONG_RUNNING_THRESHOLD_MS=k;exports.MIN_LONG_RUNNING_THRESHOLD_MS=b;exports.notificationSettings=q;exports.parseLongRunningThresholdMs=H;exports.useSettingsSubscription=x;
|
|
@@ -145,7 +145,7 @@ function R(t, n) {
|
|
|
145
145
|
}
|
|
146
146
|
return o;
|
|
147
147
|
}
|
|
148
|
-
const
|
|
148
|
+
const C = w({
|
|
149
149
|
key: "notificationSettings",
|
|
150
150
|
changeEvent: H,
|
|
151
151
|
fields: {
|
|
@@ -337,20 +337,18 @@ const _ = w({
|
|
|
337
337
|
reduceMotion: { kind: "bool", default: e.reduceMotion }
|
|
338
338
|
}
|
|
339
339
|
});
|
|
340
|
-
function
|
|
340
|
+
function P(t, n) {
|
|
341
341
|
const o = (u) => {
|
|
342
342
|
const a = u.detail;
|
|
343
343
|
a != null && n(a);
|
|
344
344
|
};
|
|
345
345
|
window.addEventListener(t.changeEvent, o), O(() => window.removeEventListener(t.changeEvent, o));
|
|
346
346
|
}
|
|
347
|
-
const P = ["compact", "normal", "sparse"];
|
|
348
347
|
export {
|
|
349
348
|
T as D,
|
|
350
349
|
M,
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
_ as n,
|
|
350
|
+
N as a,
|
|
351
|
+
C as n,
|
|
354
352
|
W as p,
|
|
355
|
-
|
|
353
|
+
P as u
|
|
356
354
|
};
|
package/dist/settings/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../defineSettings-D0CSMcyy.cjs"),r=require("../stateDbStore-CThsVch-.cjs"),t=require("../
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../defineSettings-D0CSMcyy.cjs"),r=require("../stateDbStore-CThsVch-.cjs"),t=require("../useSettingsSubscription-DKjCwmRd.cjs"),n=require("../headerIconOverrides-Bn1QuODq.cjs"),i=require("../tokens/menu-density/index.cjs"),o=["auto","antialiased","none"],s=["on","off"],S="autodetect",a=["sshx","sql"],_=["colorful","monochrome"],g=["colorful","normal"],O=!0,T=!0;exports.clearPluginConfigDefaults=e.clearPluginConfigDefaults;exports.defineSettings=e.defineSettings;exports.defineSettingsValue=e.defineSettingsValue;exports.deriveDefault=e.deriveDefault;exports.deriveNormalize=e.deriveNormalize;exports.deriveNormalizePartial=e.deriveNormalizePartial;exports.getContributedGroupDefault=e.getContributedGroupDefault;exports.getGroupByKey=e.getGroupByKey;exports.getRegisteredSettingsGroups=e.getRegisteredSettingsGroups;exports.hydrateRegisteredSettings=e.hydrateRegisteredSettings;exports.normalizeField=e.normalizeField;exports.onAnySettingsChange=e.onAnySettingsChange;exports.resetPluginConfigDefaultsForTest=e.resetPluginConfigDefaultsForTest;exports.resetSettingsGroupForTest=e.resetSettingsGroupForTest;exports.resolveLayers=e.resolveLayers;exports.scopeAllowsLayer=e.scopeAllowsLayer;exports.setPluginConfigDefaults=e.setPluginConfigDefaults;exports.subscribePluginConfigDefaults=e.subscribePluginConfigDefaults;exports.SCOPE_MAP=r.SCOPE_MAP;exports.StorageScope=r.StorageScope;exports.StorageTarget=r.StorageTarget;exports.StoredSettingUnreadableError=r.StoredSettingUnreadableError;exports.stateDbStore=r.stateDbStore;exports.DEFAULT_NOTIFICATION_SETTINGS=t.DEFAULT_NOTIFICATION_SETTINGS;exports.MAX_LONG_RUNNING_THRESHOLD_MS=t.MAX_LONG_RUNNING_THRESHOLD_MS;exports.MIN_LONG_RUNNING_THRESHOLD_MS=t.MIN_LONG_RUNNING_THRESHOLD_MS;exports.notificationSettings=t.notificationSettings;exports.parseLongRunningThresholdMs=t.parseLongRunningThresholdMs;exports.useSettingsSubscription=t.useSettingsSubscription;exports.clearHeaderIconOverride=n.clearHeaderIconOverride;exports.getHeaderIconOverride=n.getHeaderIconOverride;exports.getHeaderIconOverrides=n.getHeaderIconOverrides;exports.headerIconOverridesSettings=n.headerIconOverridesSettings;exports.setHeaderIconOverride=n.setHeaderIconOverride;exports.MENU_DENSITIES=i.MENU_DENSITIES;exports.DATABASE_EXPLORER_SHOW_ADMIN_BADGES_DEFAULT=T;exports.DATABASE_EXPLORER_SHOW_ALL_DATABASES_DEFAULT=O;exports.DETACHED_EDITOR_TOOLBAR_SCOPES=a;exports.EDITOR_FONT_SMOOTHINGS=o;exports.ICON_COLOR_VARIANTS=_;exports.KEYBOARD_LAYOUT_AUTODETECT=S;exports.QUICK_SUGGESTION_MODES=s;exports.STATUS_RAIL_STYLES=g;
|
package/dist/settings/index.js
CHANGED
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
import { c as g, d as O, a as T, b as l, e as E, f as A, g as c, h as u, i as d, j as D, n as
|
|
2
|
-
import { b as
|
|
3
|
-
import { D as
|
|
4
|
-
import { c as
|
|
1
|
+
import { c as g, d as O, a as T, b as l, e as E, f as A, g as c, h as u, i as d, j as D, n as f, o as I, r as N, k as L, l as R, s as p, m as C, p as G } from "../defineSettings-Di1sG81q.js";
|
|
2
|
+
import { b as H, S as U, a as M, c as P, s as h } from "../stateDbStore-DHZFUIEt.js";
|
|
3
|
+
import { D as b, M as F, a as x, n as B, p as y, u as z } from "../useSettingsSubscription-DLEk4k4j.js";
|
|
4
|
+
import { c as X, g as Y, a as V, h as W, s as j } from "../headerIconOverrides-Dh2PaOcO.js";
|
|
5
|
+
import { MENU_DENSITIES as q } from "../tokens/menu-density/index.js";
|
|
5
6
|
const e = ["auto", "antialiased", "none"], s = ["on", "off"], a = "autodetect", t = ["sshx", "sql"], r = ["colorful", "monochrome"], o = ["colorful", "normal"], n = !0, i = !0;
|
|
6
7
|
export {
|
|
7
8
|
i as DATABASE_EXPLORER_SHOW_ADMIN_BADGES_DEFAULT,
|
|
8
9
|
n as DATABASE_EXPLORER_SHOW_ALL_DATABASES_DEFAULT,
|
|
9
|
-
|
|
10
|
+
b as DEFAULT_NOTIFICATION_SETTINGS,
|
|
10
11
|
t as DETACHED_EDITOR_TOOLBAR_SCOPES,
|
|
11
12
|
e as EDITOR_FONT_SMOOTHINGS,
|
|
12
13
|
r as ICON_COLOR_VARIANTS,
|
|
13
14
|
a as KEYBOARD_LAYOUT_AUTODETECT,
|
|
14
15
|
F as MAX_LONG_RUNNING_THRESHOLD_MS,
|
|
15
|
-
|
|
16
|
+
q as MENU_DENSITIES,
|
|
16
17
|
x as MIN_LONG_RUNNING_THRESHOLD_MS,
|
|
17
18
|
s as QUICK_SUGGESTION_MODES,
|
|
18
|
-
|
|
19
|
+
H as SCOPE_MAP,
|
|
19
20
|
o as STATUS_RAIL_STYLES,
|
|
20
|
-
|
|
21
|
+
U as StorageScope,
|
|
21
22
|
M as StorageTarget,
|
|
22
23
|
P as StoredSettingUnreadableError,
|
|
23
|
-
|
|
24
|
+
X as clearHeaderIconOverride,
|
|
24
25
|
g as clearPluginConfigDefaults,
|
|
25
26
|
O as defineSettings,
|
|
26
27
|
T as defineSettingsValue,
|
|
@@ -29,22 +30,22 @@ export {
|
|
|
29
30
|
A as deriveNormalizePartial,
|
|
30
31
|
c as getContributedGroupDefault,
|
|
31
32
|
u as getGroupByKey,
|
|
32
|
-
|
|
33
|
-
|
|
33
|
+
Y as getHeaderIconOverride,
|
|
34
|
+
V as getHeaderIconOverrides,
|
|
34
35
|
d as getRegisteredSettingsGroups,
|
|
35
|
-
|
|
36
|
+
W as headerIconOverridesSettings,
|
|
36
37
|
D as hydrateRegisteredSettings,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
f as normalizeField,
|
|
39
|
+
B as notificationSettings,
|
|
40
|
+
I as onAnySettingsChange,
|
|
41
|
+
y as parseLongRunningThresholdMs,
|
|
41
42
|
N as resetPluginConfigDefaultsForTest,
|
|
42
43
|
L as resetSettingsGroupForTest,
|
|
43
44
|
R as resolveLayers,
|
|
44
45
|
p as scopeAllowsLayer,
|
|
45
|
-
|
|
46
|
+
j as setHeaderIconOverride,
|
|
46
47
|
C as setPluginConfigDefaults,
|
|
47
|
-
|
|
48
|
+
h as stateDbStore,
|
|
48
49
|
G as subscribePluginConfigDefaults,
|
|
49
|
-
|
|
50
|
+
z as useSettingsSubscription
|
|
50
51
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
export const MOTION_ATTRIBUTE = 'data-motion';
|
|
1
2
|
export function prefersReducedMotion(doc) {
|
|
2
|
-
const mode = doc.documentElement.getAttribute(
|
|
3
|
+
const mode = doc.documentElement.getAttribute(MOTION_ATTRIBUTE);
|
|
3
4
|
if (mode === 'reduced')
|
|
4
5
|
return true;
|
|
5
6
|
if (mode === 'enabled')
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MENU_DENSITIES } from '../_internal/contract/menuDensity';
|
|
1
|
+
import { MENU_DENSITIES, MENU_DENSITY_ATTRIBUTE, } from '../_internal/contract/menuDensity';
|
|
2
2
|
import { isOneOf } from '../_internal/base/isOneOf';
|
|
3
3
|
import { isNotificationSticky, resolveNotificationDuration, } from './nativeEngine';
|
|
4
4
|
import { isSourceMuted } from './notificationSuppressions';
|
|
@@ -77,7 +77,6 @@ export function overlayItemOf(item, context) {
|
|
|
77
77
|
createdAt: item.createdAt,
|
|
78
78
|
};
|
|
79
79
|
}
|
|
80
|
-
const MENU_DENSITY_ATTRIBUTE = 'data-menu-density';
|
|
81
80
|
export const OVERLAY_APPEARANCE_ATTRIBUTES = [
|
|
82
81
|
'class',
|
|
83
82
|
'style',
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { MENU_DENSITIES, MENU_DENSITY_ATTRIBUTE, } from '../../_internal/contract/menuDensity';
|