@vokril/ui-solid 0.17.0 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -34,7 +34,7 @@ import { l as pe, g as Me, n as Oe, R as Fe, r as Ne } from "./PageSkeleton-CUTL
34
34
  import { A as is, a as os, b as ss, C as ls, c as cs, d as us, I as ds, L as gs, P as ms, S as vs, e as fs, f as _s, h as bs, i as hs, j as Ts, k as As, p as Ss, m as Cs, s as ys, u as ks } from "./PageSkeleton-CUTLh9Ip.js";
35
35
  import { K as Is, d as Ds, n as xs, p as Es, a as ps } from "./Kbd-DF6Tvp8V.js";
36
36
  import { E as be } from "./EmptyState-Dph6HU74.js";
37
- import { C as Os, a as Fs, b as Ns, c as Rs, D as Ls, d as Ps, e as Bs, F as $s, M as Hs, f as Us, g as Ws, h as Gs, i as Ks, j as Vs, k as zs, N as js, O as Ys, P as Xs, S as qs, l as Qs, m as Zs, n as Js, o as el, p as tl, q as rl, r as al, s as nl, T as il, t as ol, u as sl, v as ll, w as cl, x as ul, y as dl, z as gl, A as ml, B as vl, E as fl, G as _l, H as bl, I as hl, J as Tl, K as Al, L as Sl, Q as Cl, R as yl, U as kl, V as wl, W as Il, X as Dl } from "./CommandPalette-CAH08DGN.js";
37
+ import { C as Os, a as Fs, b as Ns, c as Rs, D as Ls, d as Ps, e as Bs, F as $s, I as Hs, M as Us, f as Ws, g as Gs, h as Ks, i as Vs, j as zs, k as js, N as Ys, O as Xs, P as qs, S as Qs, l as Zs, m as Js, n as el, o as tl, p as rl, q as al, r as nl, s as il, T as ol, t as sl, u as ll, v as cl, w as ul, x as dl, y as gl, z as ml, A as vl, B as fl, E as _l, G as bl, H as hl, J as Tl, K as Al, L as Sl, Q as Cl, R as yl, U as kl, V as wl, W as Il, X as Dl } from "./CommandPalette-BH7c1cbU.js";
38
38
  import { A as El, M as pl, c as Ml, m as Ol, r as Fl, a as Nl, t as Rl } from "./Modal-CUPe98-o.js";
39
39
  import { O as Re } from "./OverlayScrollArea-c8Za77qs.js";
40
40
  import { D as Pl, G as Bl, P as $l, a as Hl, p as Ul } from "./GuidedTour-CWDtBRHv.js";
@@ -1349,6 +1349,7 @@ export {
1349
1349
  Jo as IconPicker,
1350
1350
  ds as InlineError,
1351
1351
  re as Input,
1352
+ Hs as InputDialog,
1352
1353
  Is as Kbd,
1353
1354
  Hi as KeybindingsProvider,
1354
1355
  Jn as KitHostProvider,
@@ -1362,14 +1363,14 @@ export {
1362
1363
  Xa as MAX_TEXT_TINT_ALPHA,
1363
1364
  lg as MENU_ITEM_SELECTOR,
1364
1365
  la as MeasurementCaption,
1365
- Hs as MenuDisclosure,
1366
- Us as MenuEmpty,
1366
+ Us as MenuDisclosure,
1367
+ Ws as MenuEmpty,
1367
1368
  si as MenuFavoritesService,
1368
- Ws as MenuItem,
1369
- Gs as MenuList,
1370
- Ks as MenuSearch,
1371
- Vs as MenuSection,
1372
- zs as MenuSeparator,
1369
+ Gs as MenuItem,
1370
+ Ks as MenuList,
1371
+ Vs as MenuSearch,
1372
+ zs as MenuSection,
1373
+ js as MenuSeparator,
1373
1374
  ca as MetricList,
1374
1375
  pl as Modal,
1375
1376
  co as MultiSearchableSelect,
@@ -1377,7 +1378,7 @@ export {
1377
1378
  Yc as NOTIFICATION_SOURCES,
1378
1379
  Xc as NOTIFICATION_SOURCE_IDS,
1379
1380
  qc as NO_NOTIFICATION_OVERLAY,
1380
- js as NameStep,
1381
+ Ys as NameStep,
1381
1382
  Qc as NotificationHost,
1382
1383
  Zc as NotificationItem,
1383
1384
  Jc as NotificationPanel,
@@ -1389,7 +1390,7 @@ export {
1389
1390
  qa as OKABE_ITO_DIFF,
1390
1391
  ic as OVERLAY_DEFAULT_GAP,
1391
1392
  oc as OVERLAY_DEFAULT_MARGIN,
1392
- Ys as OptionList,
1393
+ Xs as OptionList,
1393
1394
  va as OptionalNumberField,
1394
1395
  Zl as OverlayPortal,
1395
1396
  Re as OverlayScrollArea,
@@ -1405,7 +1406,7 @@ export {
1405
1406
  go as PasswordInput,
1406
1407
  mo as Picker,
1407
1408
  cg as Popover,
1408
- Xs as PopoverPanel,
1409
+ qs as PopoverPanel,
1409
1410
  K as PressableSurface,
1410
1411
  Ee as Progress,
1411
1412
  vo as RadioGroup,
@@ -1417,32 +1418,32 @@ export {
1417
1418
  Fe as RowCapNotice,
1418
1419
  au as SEVERITY_ORDER,
1419
1420
  nu as SEVERITY_TONES,
1420
- qs as SUBMENU_ANCHOR_OVERLAP,
1421
- Qs as SUBMENU_ESTIMATED_ROW_HEIGHT,
1422
- Zs as SUBMENU_ESTIMATED_WIDTH,
1423
- Js as SUBMENU_MIN_ESTIMATED_HEIGHT,
1424
- el as SUBMENU_VIEWPORT_MARGIN,
1421
+ Qs as SUBMENU_ANCHOR_OVERLAP,
1422
+ Zs as SUBMENU_ESTIMATED_ROW_HEIGHT,
1423
+ Js as SUBMENU_ESTIMATED_WIDTH,
1424
+ el as SUBMENU_MIN_ESTIMATED_HEIGHT,
1425
+ tl as SUBMENU_VIEWPORT_MARGIN,
1425
1426
  Dn as SUPPORTED_LANGUAGES,
1426
1427
  xn as SUPPORTED_LANGUAGE_IDS,
1427
- tl as SaveDiscardDialog,
1428
+ rl as SaveDiscardDialog,
1428
1429
  fo as SearchField,
1429
1430
  _o as SearchInput,
1430
1431
  zo as SearchableSelect,
1431
1432
  De as SegmentedControl,
1432
1433
  ha as SegmentedField,
1433
- rl as SelectedOptions,
1434
+ al as SelectedOptions,
1434
1435
  Ca as SettingsPanel,
1435
1436
  Aa as SettingsSection,
1436
1437
  vs as Skeleton,
1437
1438
  Ie as Slider,
1438
1439
  Ji as Spinner,
1439
1440
  bo as SplitButton,
1440
- al as StatementPreview,
1441
+ nl as StatementPreview,
1441
1442
  fs as StatusBadge,
1442
1443
  iu as StatusBarNotificationBell,
1443
1444
  _s as StatusDot,
1444
1445
  Me as StatusGate,
1445
- nl as StepFooter,
1446
+ il as StepFooter,
1446
1447
  id as Stepper,
1447
1448
  Pi as StorageScope,
1448
1449
  Bi as StorageTarget,
@@ -1465,8 +1466,8 @@ export {
1465
1466
  Ci as ToolWindowContext,
1466
1467
  jd as ToolbarSearchRow,
1467
1468
  Yd as ToolbarSearchToggle,
1468
- il as Tooltip,
1469
- ol as TooltipHost,
1469
+ ol as Tooltip,
1470
+ sl as TooltipHost,
1470
1471
  fd as TreeHighlight,
1471
1472
  _d as TreeRow,
1472
1473
  bd as TreeSurface,
@@ -1503,7 +1504,7 @@ export {
1503
1504
  lu as clearCompiledRuleRegexCache,
1504
1505
  pn as clearPluginLocales,
1505
1506
  ki as clearVisibleBrowsersForTesting,
1506
- sl as closeContextMenu,
1507
+ ll as closeContextMenu,
1507
1508
  Ml as collectFocusableElements,
1508
1509
  Hd as columnAriaSort,
1509
1510
  cu as compileNotificationSearchMatcher,
@@ -1511,25 +1512,24 @@ export {
1511
1512
  Yl as computeAnchoredTooltipPosition,
1512
1513
  dc as computeDropdownPosition,
1513
1514
  gc as computePopoverPosition,
1514
- ll as computeSubmenuPlacement,
1515
+ cl as computeSubmenuPlacement,
1515
1516
  Bo as computeTooltipPointerPosition,
1516
- cl as confirmationLevelOf,
1517
+ ul as confirmationLevelOf,
1517
1518
  ka as counterRate,
1518
1519
  mi as createConsoleLogger,
1519
- ul as createDangerousActionDialog,
1520
+ dl as createDangerousActionDialog,
1520
1521
  bs as createDeferredBusy,
1521
- dl as createDesktopContextMenuApi,
1522
- gl as createDialogFocusScope,
1522
+ gl as createDesktopContextMenuApi,
1523
+ ml as createDialogFocusScope,
1523
1524
  $o as createDialogShellFocus,
1524
1525
  La as createGuardedListLoader,
1525
1526
  Ra as createLatestLoadGuard,
1526
1527
  Pa as createLazySlice,
1527
1528
  uu as createNativeNotificationEngine,
1528
1529
  du as createNotificationPreviewRuntime,
1529
- ml as createOverlayCloseGuard,
1530
+ vl as createOverlayCloseGuard,
1530
1531
  vi as createPanelCommandRegistry,
1531
1532
  hs as createPreference,
1532
- vl as createPromptDialog,
1533
1533
  td as createResizableSidebar,
1534
1534
  pd as createSelectionIndicator,
1535
1535
  wd as createTablistKeyboardHandler,
@@ -79,7 +79,11 @@ export interface SaveDiscardDialogProps {
79
79
  * settles its own promise from `onChoice`.
80
80
  */
81
81
  export declare function SaveDiscardDialog(props: SaveDiscardDialogProps): JSX.Element;
82
- export interface PromptOptions {
82
+ /**
83
+ * One text question for `InputDialog`. An application asks it through its own confirmation host,
84
+ * like {@link ConfirmOptions}: one `InputDialog` per root shows the questions in turn.
85
+ */
86
+ export interface InputOptions {
83
87
  title: string;
84
88
  /** Optional helper text shown above the field. */
85
89
  message?: string | JSX.Element;
@@ -102,15 +106,18 @@ export interface PromptOptions {
102
106
  */
103
107
  secret?: boolean;
104
108
  }
109
+ export interface InputDialogProps extends InputOptions {
110
+ open: Accessor<boolean>;
111
+ /** Called with the typed value; the host settles its question with it. */
112
+ onConfirm: (value: string) => void;
113
+ onCancel: () => void;
114
+ /** Window to render into (main or an aux). Defaults to the main window. */
115
+ host?: () => Window;
116
+ }
105
117
  /**
106
- * Promise-based hook — drop-in replacement for `window.prompt()`. Resolves with
107
- * the entered string on confirm, or `null` when the user cancels (Escape,
108
- * overlay click, or the Cancel button), mirroring `window.prompt`'s null-on-
109
- * dismiss contract so callers branch on intent rather than an empty string.
110
- * Unlike the native prompt this can't be blocked by Electron's
111
- * `contextIsolation` hardening and stays on-design (#1291).
118
+ * The text question as a presentational dialog — the counterpart of `ConfirmDialog` and
119
+ * `SaveDiscardDialog`. It keeps the typed value itself and hands it to `onConfirm`; an
120
+ * application's host renders it for the question on screen and settles its own promise (with
121
+ * `null` on cancel, the `window.prompt` contract).
112
122
  */
113
- export declare function createPromptDialog(): [
114
- dialog: () => JSX.Element,
115
- prompt: (options: PromptOptions) => Promise<string | null>
116
- ];
123
+ export declare function InputDialog(props: InputDialogProps): JSX.Element;
@@ -79,7 +79,11 @@ export interface SaveDiscardDialogProps {
79
79
  * settles its own promise from `onChoice`.
80
80
  */
81
81
  export declare function SaveDiscardDialog(props: SaveDiscardDialogProps): JSX.Element;
82
- export interface PromptOptions {
82
+ /**
83
+ * One text question for `InputDialog`. An application asks it through its own confirmation host,
84
+ * like {@link ConfirmOptions}: one `InputDialog` per root shows the questions in turn.
85
+ */
86
+ export interface InputOptions {
83
87
  title: string;
84
88
  /** Optional helper text shown above the field. */
85
89
  message?: string | JSX.Element;
@@ -102,15 +106,18 @@ export interface PromptOptions {
102
106
  */
103
107
  secret?: boolean;
104
108
  }
109
+ export interface InputDialogProps extends InputOptions {
110
+ open: Accessor<boolean>;
111
+ /** Called with the typed value; the host settles its question with it. */
112
+ onConfirm: (value: string) => void;
113
+ onCancel: () => void;
114
+ /** Window to render into (main or an aux). Defaults to the main window. */
115
+ host?: () => Window;
116
+ }
105
117
  /**
106
- * Promise-based hook — drop-in replacement for `window.prompt()`. Resolves with
107
- * the entered string on confirm, or `null` when the user cancels (Escape,
108
- * overlay click, or the Cancel button), mirroring `window.prompt`'s null-on-
109
- * dismiss contract so callers branch on intent rather than an empty string.
110
- * Unlike the native prompt this can't be blocked by Electron's
111
- * `contextIsolation` hardening and stays on-design (#1291).
118
+ * The text question as a presentational dialog — the counterpart of `ConfirmDialog` and
119
+ * `SaveDiscardDialog`. It keeps the typed value itself and hands it to `onConfirm`; an
120
+ * application's host renders it for the question on screen and settles its own promise (with
121
+ * `null` on cancel, the `window.prompt` contract).
112
122
  */
113
- export declare function createPromptDialog(): [
114
- dialog: () => JSX.Element,
115
- prompt: (options: PromptOptions) => Promise<string | null>
116
- ];
123
+ export declare function InputDialog(props: InputDialogProps): JSX.Element;
@@ -1,11 +1,11 @@
1
1
  /**
2
2
  * #933 — keyboard intent resolver shared by every overlay-dialog shell
3
- * ({@link Modal}, ConfirmDialog, the SaveDiscardDialog and PromptDialog variants
3
+ * ({@link Modal}, ConfirmDialog, the SaveDiscardDialog and InputDialog variants
4
4
  * in confirm-dialog/, and any future `aria-modal` shell built beside them).
5
5
  *
6
6
  * Each of those shells hand-rolled the SAME `onKeyDown` body — "Escape (with
7
7
  * stopPropagation) closes; otherwise trap Tab inside the dialog" — as a near
8
- * line-for-line copy, with only PromptDialog additionally confirming on Enter.
8
+ * line-for-line copy, with only InputDialog additionally confirming on Enter.
9
9
  * Re-deriving that branch per file is exactly the D8 drift source #933 calls
10
10
  * out: a fix to one copy (say, adding Enter-to-confirm or changing the trap
11
11
  * fall-through) silently skips the others.
@@ -41,7 +41,7 @@ export type DialogShellKeyIntent = 'dismiss' | 'confirm' | 'trap' | 'none';
41
41
  export interface DialogShellKeyState {
42
42
  /**
43
43
  * Whether Enter should confirm the dialog's primary action. The single-line
44
- * PromptDialog sets this true; the confirm / save-discard / generic Modal
44
+ * InputDialog sets this true; the confirm / save-discard / generic Modal
45
45
  * shells leave it false so Enter inside their bodies (e.g. a textarea) is not
46
46
  * hijacked into a submit.
47
47
  */
@@ -1,11 +1,11 @@
1
1
  /**
2
2
  * #933 — keyboard intent resolver shared by every overlay-dialog shell
3
- * ({@link Modal}, ConfirmDialog, the SaveDiscardDialog and PromptDialog variants
3
+ * ({@link Modal}, ConfirmDialog, the SaveDiscardDialog and InputDialog variants
4
4
  * in confirm-dialog/, and any future `aria-modal` shell built beside them).
5
5
  *
6
6
  * Each of those shells hand-rolled the SAME `onKeyDown` body — "Escape (with
7
7
  * stopPropagation) closes; otherwise trap Tab inside the dialog" — as a near
8
- * line-for-line copy, with only PromptDialog additionally confirming on Enter.
8
+ * line-for-line copy, with only InputDialog additionally confirming on Enter.
9
9
  * Re-deriving that branch per file is exactly the D8 drift source #933 calls
10
10
  * out: a fix to one copy (say, adding Enter-to-confirm or changing the trap
11
11
  * fall-through) silently skips the others.
@@ -41,7 +41,7 @@ export type DialogShellKeyIntent = 'dismiss' | 'confirm' | 'trap' | 'none';
41
41
  export interface DialogShellKeyState {
42
42
  /**
43
43
  * Whether Enter should confirm the dialog's primary action. The single-line
44
- * PromptDialog sets this true; the confirm / save-discard / generic Modal
44
+ * InputDialog sets this true; the confirm / save-discard / generic Modal
45
45
  * shells leave it false so Enter inside their bodies (e.g. a textarea) is not
46
46
  * hijacked into a submit.
47
47
  */
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../CommandPalette-BFi0_e3t.cjs"),r=require("../Modal-CQG8l4x7.cjs"),O=require("../OverlayScrollArea-BSlaXG1h.cjs"),a=require("../GuidedTour-CYaR5Ozj.cjs"),i=require("../createDialogShellFocus-CxRqhbRN.cjs"),n=require("../tooltipCoordinator-DslqMlsI.cjs"),s=require("../dialogFocusRestore-CcEsB50v.cjs"),t=require("../anchoredLayout-Dstwa5OH.cjs"),o=require("../overlayStack-DvKYN7SD.cjs"),p=require("../useFloatingDropdown-D9OvEFAp.cjs"),M=require("../ownerWindow-BCmJFMbR.cjs"),u=require("../prefersReducedMotion-BQp-Q4UR.cjs"),c=require("../DesktopContextMenuContext-DMGNVjaR.cjs"),l=require("../Popover-YfzC0Tjh.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.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.createPromptDialog=e.createPromptDialog;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=r.ActionPlaceRow;exports.Modal=r.Modal;exports.collectFocusableElements=r.collectFocusableElements;exports.modalTitlebarHeight=r.modalTitlebarHeight;exports.resolveDialogShellKeyIntent=r.resolveDialogShellKeyIntent;exports.resolveModalFocusTrapTarget=r.resolveModalFocusTrapTarget;exports.trapTabFocusWithin=r.trapTabFocusWithin;exports.OverlayScrollArea=O.OverlayScrollArea;exports.Disclosure=a.Disclosure;exports.GuidedTour=a.GuidedTour;exports.Panel=a.Panel;exports.PanelSeparator=a.PanelSeparator;exports.positionTourCard=a.positionTourCard;exports.HoverTooltip=i.HoverTooltip;exports.TOOLTIP_CURSOR_OFFSET_X=i.TOOLTIP_CURSOR_OFFSET_X;exports.TOOLTIP_CURSOR_OFFSET_Y=i.TOOLTIP_CURSOR_OFFSET_Y;exports.TOOLTIP_MAX_FOOTPRINT_X=i.TOOLTIP_MAX_FOOTPRINT_X;exports.TOOLTIP_VIEWPORT_MARGIN=i.TOOLTIP_VIEWPORT_MARGIN;exports.computeTooltipPointerPosition=i.computeTooltipPointerPosition;exports.createDialogShellFocus=i.createDialogShellFocus;exports.COLD_DELAY_MS=n.COLD_DELAY_MS;exports.COOLDOWN_MS=n.COOLDOWN_MS;exports.DEFAULT_MARGIN=n.DEFAULT_MARGIN;exports.DEFAULT_OFFSET=n.DEFAULT_OFFSET;exports.WARM_DELAY_MS=n.WARM_DELAY_MS;exports.computeAnchoredTooltipPosition=n.computeAnchoredTooltipPosition;exports.createTooltipCoordinator=n.createTooltipCoordinator;exports.tooltipCoordinator=n.tooltipCoordinator;exports.OverlayPortal=s.OverlayPortal;exports.restoreFocusTo=s.restoreFocusTo;exports.shouldRestoreFocusOnDialogClose=s.shouldRestoreFocusOnDialogClose;exports.AnchorAlignment=t.AnchorAlignment;exports.AnchorAxisAlignment=t.AnchorAxisAlignment;exports.AnchorPosition=t.AnchorPosition;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.calcFixedWidthDropdownLeft=t.calcFixedWidthDropdownLeft;exports.computeAnchoredPosition=t.computeAnchoredPosition;exports.computeDropdownPosition=t.computeDropdownPosition;exports.computePopoverPosition=t.computePopoverPosition;exports.layout2d=t.layout2d;exports.requestOwnerAnimationFrame=t.requestOwnerAnimationFrame;exports.resolvePopoverSide=t.resolvePopoverSide;exports.getOverlayDiagnostics=o.getOverlayDiagnostics;exports.hasOpenLayerIn=o.hasOpenLayerIn;exports.isAnyOverlayOpen=o.isAnyOverlayOpen;exports.isModalOccluded=o.isModalOccluded;exports.isOverlayOverlapping=o.isOverlayOverlapping;exports.notifyOverlayChanged=o.notifyOverlayChanged;exports.notifyOverlayMotionEnd=o.notifyOverlayMotionEnd;exports.notifyOverlayMotionStart=o.notifyOverlayMotionStart;exports.onOverlayMotion=o.onOverlayMotion;exports.overlayDepth=o.overlayDepth;exports.readOverlayMutationRevision=o.readOverlayMutationRevision;exports.registerOverlayClose=o.registerOverlayClose;exports.registerOverlayCondition=o.registerOverlayCondition;exports.registerOverlayOpen=o.registerOverlayOpen;exports.useOverlayRegistration=o.useOverlayRegistration;exports.useFloatingDropdown=p.useFloatingDropdown;exports.ownerWindow=M.ownerWindow;exports.modalBackgroundExemption=u.modalBackgroundExemption;exports.neutralizeBackground=u.neutralizeBackground;exports.DesktopContextMenuContext=c.DesktopContextMenuContext;exports.useDesktopContextMenu=c.useDesktopContextMenu;exports.LISTBOX_OPTION_SELECTOR=l.LISTBOX_OPTION_SELECTOR;exports.MENU_ITEM_SELECTOR=l.MENU_ITEM_SELECTOR;exports.Popover=l.Popover;exports.isPopoverNavigationKey=l.isPopoverNavigationKey;exports.resolvePopoverFocusForKey=l.resolvePopoverFocusForKey;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../CommandPalette-Dfb4V-Hb.cjs"),r=require("../Modal-CQG8l4x7.cjs"),O=require("../OverlayScrollArea-BSlaXG1h.cjs"),a=require("../GuidedTour-CYaR5Ozj.cjs"),i=require("../createDialogShellFocus-CxRqhbRN.cjs"),n=require("../tooltipCoordinator-DslqMlsI.cjs"),s=require("../dialogFocusRestore-CcEsB50v.cjs"),t=require("../anchoredLayout-Dstwa5OH.cjs"),o=require("../overlayStack-DvKYN7SD.cjs"),p=require("../useFloatingDropdown-D9OvEFAp.cjs"),M=require("../ownerWindow-BCmJFMbR.cjs"),u=require("../prefersReducedMotion-BQp-Q4UR.cjs"),c=require("../DesktopContextMenuContext-DMGNVjaR.cjs"),l=require("../Popover-YfzC0Tjh.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=r.ActionPlaceRow;exports.Modal=r.Modal;exports.collectFocusableElements=r.collectFocusableElements;exports.modalTitlebarHeight=r.modalTitlebarHeight;exports.resolveDialogShellKeyIntent=r.resolveDialogShellKeyIntent;exports.resolveModalFocusTrapTarget=r.resolveModalFocusTrapTarget;exports.trapTabFocusWithin=r.trapTabFocusWithin;exports.OverlayScrollArea=O.OverlayScrollArea;exports.Disclosure=a.Disclosure;exports.GuidedTour=a.GuidedTour;exports.Panel=a.Panel;exports.PanelSeparator=a.PanelSeparator;exports.positionTourCard=a.positionTourCard;exports.HoverTooltip=i.HoverTooltip;exports.TOOLTIP_CURSOR_OFFSET_X=i.TOOLTIP_CURSOR_OFFSET_X;exports.TOOLTIP_CURSOR_OFFSET_Y=i.TOOLTIP_CURSOR_OFFSET_Y;exports.TOOLTIP_MAX_FOOTPRINT_X=i.TOOLTIP_MAX_FOOTPRINT_X;exports.TOOLTIP_VIEWPORT_MARGIN=i.TOOLTIP_VIEWPORT_MARGIN;exports.computeTooltipPointerPosition=i.computeTooltipPointerPosition;exports.createDialogShellFocus=i.createDialogShellFocus;exports.COLD_DELAY_MS=n.COLD_DELAY_MS;exports.COOLDOWN_MS=n.COOLDOWN_MS;exports.DEFAULT_MARGIN=n.DEFAULT_MARGIN;exports.DEFAULT_OFFSET=n.DEFAULT_OFFSET;exports.WARM_DELAY_MS=n.WARM_DELAY_MS;exports.computeAnchoredTooltipPosition=n.computeAnchoredTooltipPosition;exports.createTooltipCoordinator=n.createTooltipCoordinator;exports.tooltipCoordinator=n.tooltipCoordinator;exports.OverlayPortal=s.OverlayPortal;exports.restoreFocusTo=s.restoreFocusTo;exports.shouldRestoreFocusOnDialogClose=s.shouldRestoreFocusOnDialogClose;exports.AnchorAlignment=t.AnchorAlignment;exports.AnchorAxisAlignment=t.AnchorAxisAlignment;exports.AnchorPosition=t.AnchorPosition;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.calcFixedWidthDropdownLeft=t.calcFixedWidthDropdownLeft;exports.computeAnchoredPosition=t.computeAnchoredPosition;exports.computeDropdownPosition=t.computeDropdownPosition;exports.computePopoverPosition=t.computePopoverPosition;exports.layout2d=t.layout2d;exports.requestOwnerAnimationFrame=t.requestOwnerAnimationFrame;exports.resolvePopoverSide=t.resolvePopoverSide;exports.getOverlayDiagnostics=o.getOverlayDiagnostics;exports.hasOpenLayerIn=o.hasOpenLayerIn;exports.isAnyOverlayOpen=o.isAnyOverlayOpen;exports.isModalOccluded=o.isModalOccluded;exports.isOverlayOverlapping=o.isOverlayOverlapping;exports.notifyOverlayChanged=o.notifyOverlayChanged;exports.notifyOverlayMotionEnd=o.notifyOverlayMotionEnd;exports.notifyOverlayMotionStart=o.notifyOverlayMotionStart;exports.onOverlayMotion=o.onOverlayMotion;exports.overlayDepth=o.overlayDepth;exports.readOverlayMutationRevision=o.readOverlayMutationRevision;exports.registerOverlayClose=o.registerOverlayClose;exports.registerOverlayCondition=o.registerOverlayCondition;exports.registerOverlayOpen=o.registerOverlayOpen;exports.useOverlayRegistration=o.useOverlayRegistration;exports.useFloatingDropdown=p.useFloatingDropdown;exports.ownerWindow=M.ownerWindow;exports.modalBackgroundExemption=u.modalBackgroundExemption;exports.neutralizeBackground=u.neutralizeBackground;exports.DesktopContextMenuContext=c.DesktopContextMenuContext;exports.useDesktopContextMenu=c.useDesktopContextMenu;exports.LISTBOX_OPTION_SELECTOR=l.LISTBOX_OPTION_SELECTOR;exports.MENU_ITEM_SELECTOR=l.MENU_ITEM_SELECTOR;exports.Popover=l.Popover;exports.isPopoverNavigationKey=l.isPopoverNavigationKey;exports.resolvePopoverFocusForKey=l.resolvePopoverFocusForKey;
@@ -1,17 +1,17 @@
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, M as p, f as O, g as c, h as M, i as T, j as m, k as d, N as D, O as E, P, S as _, l as A, m as v, n as S, o as g, p as F, q as I, r as C, s as x, T as y, t as R, u as f, v as L, w as N, x as h, y as U, z as b, A as G, B as W, E as w, G as H, H as k, I as B, J as V, K, L as X, Q as Y, R as q, U as j, V as z, W as J, X as Q } from "../CommandPalette-CAH08DGN.js";
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 C, r as x, s as y, T as R, t as f, u as L, v as N, w as h, 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 q, U as j, V as z, W as J, X as Q } from "../CommandPalette-BH7c1cbU.js";
2
2
  import { A as $, M as ee, c as ae, m as oe, r as se, a as te, t as re } from "../Modal-CUPe98-o.js";
3
3
  import { O as ie } from "../OverlayScrollArea-c8Za77qs.js";
4
4
  import { D as ue, G as pe, P as Oe, a as ce, p as Me } from "../GuidedTour-CWDtBRHv.js";
5
- import { H as me, T as de, a as De, c as Ee, d as Pe, e as _e, f as Ae } from "../createDialogShellFocus-BBFu3Z_O.js";
6
- import { C as Se, a as ge, D as Fe, b as Ie, W as Ce, c as xe, d as ye, t as Re } from "../tooltipCoordinator-BzxEyKhA.js";
5
+ import { H as de, T as me, a as De, c as Ee, d as _e, e as Ae, f as Pe } from "../createDialogShellFocus-BBFu3Z_O.js";
6
+ import { C as Se, a as ge, D as Ie, b as Fe, W as Ce, c as xe, d as ye, t as Re } from "../tooltipCoordinator-BzxEyKhA.js";
7
7
  import { O as Le, r as Ne, s as he } from "../dialogFocusRestore-BrALT8Ew.js";
8
8
  import { A as be, a as Ge, b as We, O as we, c as He, P as ke, d as Be, e as Ve, f as Ke, g as Xe, h as Ye, l as qe, r as je, i as ze } from "../anchoredLayout-FC-qv8xm.js";
9
9
  import { g as Qe, h as Ze, i as $e, a as ea, b as aa, n as oa, c as sa, d as ta, o as ra, e as na, r as ia, f as la, j as ua, k as pa, u as Oa } from "../overlayStack-DvGdPMdq.js";
10
10
  import { u as Ma } from "../useFloatingDropdown-BN4J092P.js";
11
- import { o as ma } from "../ownerWindow-9mx_LD47.js";
11
+ import { o as da } from "../ownerWindow-9mx_LD47.js";
12
12
  import { m as Da, n as Ea } from "../prefersReducedMotion-B2mMn01s.js";
13
- import { D as _a, u as Aa } from "../DesktopContextMenuContext-DJ3PnqAv.js";
14
- import { L as Sa, M as ga, P as Fa, i as Ia, r as Ca } from "../Popover-Dht1jFEy.js";
13
+ import { D as Aa, u as Pa } from "../DesktopContextMenuContext-DJ3PnqAv.js";
14
+ import { L as Sa, M as ga, P as Ia, i as Fa, r as Ca } from "../Popover-Dht1jFEy.js";
15
15
  export {
16
16
  $ as ActionPlaceRow,
17
17
  be as AnchorAlignment,
@@ -23,70 +23,70 @@ export {
23
23
  s as ConfirmDialog,
24
24
  t as ConsequenceLine,
25
25
  r as ContextMenu,
26
- Fe as DEFAULT_MARGIN,
27
- Ie as DEFAULT_OFFSET,
26
+ Ie as DEFAULT_MARGIN,
27
+ Fe as DEFAULT_OFFSET,
28
28
  n as DesktopContextMenu,
29
- _a as DesktopContextMenuContext,
29
+ Aa as DesktopContextMenuContext,
30
30
  ue as Disclosure,
31
31
  i as Drawer,
32
32
  l as DropdownMenu,
33
33
  u as FloatingWindow,
34
34
  pe as GuidedTour,
35
- me as HoverTooltip,
35
+ de as HoverTooltip,
36
+ p as InputDialog,
36
37
  Sa as LISTBOX_OPTION_SELECTOR,
37
38
  ga as MENU_ITEM_SELECTOR,
38
- p as MenuDisclosure,
39
- O as MenuEmpty,
40
- c as MenuItem,
41
- M as MenuList,
42
- T as MenuSearch,
39
+ O as MenuDisclosure,
40
+ c as MenuEmpty,
41
+ M as MenuItem,
42
+ T as MenuList,
43
+ d as MenuSearch,
43
44
  m as MenuSection,
44
- d as MenuSeparator,
45
+ D as MenuSeparator,
45
46
  ee as Modal,
46
- D as NameStep,
47
+ E as NameStep,
47
48
  we as OVERLAY_DEFAULT_GAP,
48
49
  He as OVERLAY_DEFAULT_MARGIN,
49
- E as OptionList,
50
+ _ as OptionList,
50
51
  Le as OverlayPortal,
51
52
  ie as OverlayScrollArea,
52
53
  ke as POPOVER_DEFAULT_GAP,
53
54
  Be as POPOVER_VIEWPORT_MARGIN,
54
55
  Oe as Panel,
55
56
  ce as PanelSeparator,
56
- Fa as Popover,
57
- P as PopoverPanel,
58
- _ as SUBMENU_ANCHOR_OVERLAP,
59
- A as SUBMENU_ESTIMATED_ROW_HEIGHT,
60
- v as SUBMENU_ESTIMATED_WIDTH,
61
- S as SUBMENU_MIN_ESTIMATED_HEIGHT,
62
- g as SUBMENU_VIEWPORT_MARGIN,
57
+ Ia as Popover,
58
+ A as PopoverPanel,
59
+ P as SUBMENU_ANCHOR_OVERLAP,
60
+ v as SUBMENU_ESTIMATED_ROW_HEIGHT,
61
+ S as SUBMENU_ESTIMATED_WIDTH,
62
+ g as SUBMENU_MIN_ESTIMATED_HEIGHT,
63
+ I as SUBMENU_VIEWPORT_MARGIN,
63
64
  F as SaveDiscardDialog,
64
- I as SelectedOptions,
65
- C as StatementPreview,
66
- x as StepFooter,
67
- de as TOOLTIP_CURSOR_OFFSET_X,
65
+ C as SelectedOptions,
66
+ x as StatementPreview,
67
+ y as StepFooter,
68
+ me as TOOLTIP_CURSOR_OFFSET_X,
68
69
  De as TOOLTIP_CURSOR_OFFSET_Y,
69
70
  Ee as TOOLTIP_MAX_FOOTPRINT_X,
70
- Pe as TOOLTIP_VIEWPORT_MARGIN,
71
- y as Tooltip,
72
- R as TooltipHost,
71
+ _e as TOOLTIP_VIEWPORT_MARGIN,
72
+ R as Tooltip,
73
+ f as TooltipHost,
73
74
  Ce as WARM_DELAY_MS,
74
75
  Ve as calcFixedWidthDropdownLeft,
75
- f as closeContextMenu,
76
+ L as closeContextMenu,
76
77
  ae as collectFocusableElements,
77
78
  Ke as computeAnchoredPosition,
78
79
  xe as computeAnchoredTooltipPosition,
79
80
  Xe as computeDropdownPosition,
80
81
  Ye as computePopoverPosition,
81
- L as computeSubmenuPlacement,
82
- _e as computeTooltipPointerPosition,
83
- N as confirmationLevelOf,
84
- h as createDangerousActionDialog,
85
- U as createDesktopContextMenuApi,
86
- b as createDialogFocusScope,
87
- Ae as createDialogShellFocus,
88
- G as createOverlayCloseGuard,
89
- W as createPromptDialog,
82
+ N as computeSubmenuPlacement,
83
+ Ae as computeTooltipPointerPosition,
84
+ h as confirmationLevelOf,
85
+ U as createDangerousActionDialog,
86
+ b as createDesktopContextMenuApi,
87
+ G as createDialogFocusScope,
88
+ Pe as createDialogShellFocus,
89
+ W as createOverlayCloseGuard,
90
90
  ye as createTooltipCoordinator,
91
91
  w as describeConsequence,
92
92
  H as estimateSubmenuHeight,
@@ -98,7 +98,7 @@ export {
98
98
  V as isIrreversible,
99
99
  ea as isModalOccluded,
100
100
  aa as isOverlayOverlapping,
101
- Ia as isPopoverNavigationKey,
101
+ Fa as isPopoverNavigationKey,
102
102
  K as lastFocusableMenuIndex,
103
103
  qe as layout2d,
104
104
  X as menuSurfaceClasses,
@@ -112,7 +112,7 @@ export {
112
112
  ra as onOverlayMotion,
113
113
  q as openContextMenu,
114
114
  na as overlayDepth,
115
- ma as ownerWindow,
115
+ da as ownerWindow,
116
116
  j as panelClasses,
117
117
  Me as positionTourCard,
118
118
  ia as readOverlayMutationRevision,
@@ -131,7 +131,7 @@ export {
131
131
  Q as tooltip,
132
132
  Re as tooltipCoordinator,
133
133
  re as trapTabFocusWithin,
134
- Aa as useDesktopContextMenu,
134
+ Pa as useDesktopContextMenu,
135
135
  Ma as useFloatingDropdown,
136
136
  Oa as useOverlayRegistration
137
137
  };