@vokril/ui-solid 0.29.0 → 0.32.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 +121 -0
- package/README.md +90 -0
- package/dist/AttributeGrid-CNkALmJq.cjs +1 -0
- package/dist/AttributeGrid-DnuTPJ_P.js +320 -0
- package/dist/Button-CX7mylBT.js +308 -0
- package/dist/Button-lMUW5P3O.cjs +1 -0
- package/dist/CommandPalette-DAR9VMqY.cjs +2 -0
- package/dist/CommandPalette-DlLcdd4o.js +4029 -0
- package/dist/CopyButton-BVvv5M8g.js +63 -0
- package/dist/CopyButton-Dnd8_2Lj.cjs +1 -0
- package/dist/DateRangePicker-BlJWtJBA.cjs +9 -0
- package/dist/DateRangePicker-CHmUU4PA.js +552 -0
- package/dist/GuidedTour-9rqvNB_m.js +483 -0
- package/dist/GuidedTour-DbXeuTc7.cjs +1 -0
- package/dist/{HostPortal-CXGUUhP8.js → HostPortal-De65s6CU.js} +1 -1
- package/dist/HostPortal-Dm4BmY8M.cjs +1 -0
- package/dist/{IconPicker-DYqNi5ud.js → IconPicker-CsYW8CXe.js} +4 -4
- package/dist/IconPicker-D-GU1mD3.cjs +1 -0
- package/dist/Input-C3rEQffK.js +382 -0
- package/dist/Input-CHtvL4_4.cjs +1 -0
- package/dist/Modal-3L6p7Dwt.js +599 -0
- package/dist/Modal-CtrWEnJ7.cjs +1 -0
- package/dist/OverlayScrollArea-Cr0VAApT.cjs +1 -0
- package/dist/OverlayScrollArea-CrrPFLq9.js +180 -0
- package/dist/{PageSkeleton-CLnJO6uD.js → PageSkeleton-BRuqaDzr.js} +372 -371
- package/dist/PageSkeleton-Cz2bckO4.cjs +30 -0
- package/dist/Popover-CLTXG8W0.cjs +1 -0
- package/dist/Popover-DkqGvMNy.js +207 -0
- package/dist/SearchableSelect-C-lV1vSv.cjs +1 -0
- package/dist/SearchableSelect-Du12kcI9.js +328 -0
- package/dist/StatusBarNotificationBell-CNs_obmZ.cjs +50 -0
- package/dist/{StatusBarNotificationBell-7Izs_msz.js → StatusBarNotificationBell-CgsYrrpj.js} +5205 -4850
- package/dist/Stepper-DzI-gtKd.js +586 -0
- package/dist/Stepper-rpu7lpzB.cjs +1 -0
- package/dist/{Textarea-CeAGf08O.cjs → Textarea-D4nYoQ0J.cjs} +1 -1
- package/dist/{Textarea-B5QqqKnI.js → Textarea-DOzZCc-O.js} +1 -1
- package/dist/TimeSeriesChart-BJqQpeEJ.cjs +1 -0
- package/dist/TimeSeriesChart-DvAhuyVl.js +442 -0
- package/dist/ToggleButton-B-hBpdzk.js +2144 -0
- package/dist/ToggleButton-BMH1A-IX.cjs +1 -0
- package/dist/_internal/app/onboarding/pageTourState.d.cts +0 -2
- package/dist/_internal/app/onboarding/pageTourState.d.ts +0 -2
- package/dist/_internal/app/onboarding/pageTourTypes.d.cts +2 -1
- package/dist/_internal/app/onboarding/pageTourTypes.d.ts +2 -1
- package/dist/_internal/contract/notification.d.cts +28 -3
- package/dist/_internal/contract/notification.d.ts +28 -3
- package/dist/_internal/contract/notificationCatalog.d.cts +2 -0
- package/dist/_internal/contract/notificationCatalog.d.ts +2 -0
- package/dist/_internal/platform/settings/settingsTypes.d.cts +0 -8
- package/dist/_internal/platform/settings/settingsTypes.d.ts +0 -8
- package/dist/a11y/index.cjs +1 -1
- package/dist/a11y/index.js +1 -1
- package/dist/anchoredLayout-CBjQ1etD.cjs +1 -0
- package/dist/anchoredLayout-E0mqCWxk.js +233 -0
- package/dist/base.css +3 -3
- package/dist/charts/index.cjs +1 -1
- package/dist/charts/index.js +1 -1
- package/dist/context/DesktopContextMenuContext.d.cts +8 -1
- package/dist/context/DesktopContextMenuContext.d.ts +8 -1
- package/dist/createDialogShellFocus-DI1rUvYf.js +282 -0
- package/dist/createDialogShellFocus-kzkNSLWS.cjs +1 -0
- package/dist/createResizableSidebar--Ve6DbDu.js +504 -0
- package/dist/createResizableSidebar-DlVAuq5t.cjs +1 -0
- package/dist/desktop/index.cjs +1 -1
- package/dist/desktop/index.js +229 -228
- package/dist/dialogFocusRestore-BhxVTSiP.js +10 -0
- package/dist/dialogFocusRestore-DP5b1bDo.cjs +1 -0
- package/dist/feedback/index.cjs +1 -1
- package/dist/feedback/index.js +4 -4
- package/dist/{focusModality-BISb6-yg.cjs → focusModality-D704CJVN.cjs} +1 -1
- package/dist/{focusModality-FoLPWF-_.js → focusModality-ROUF6YGR.js} +1 -1
- package/dist/forms/Input.d.cts +20 -0
- package/dist/forms/Input.d.ts +20 -0
- package/dist/forms/InputMessage.d.cts +19 -0
- package/dist/forms/InputMessage.d.ts +19 -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/host/index.cjs +1 -1
- package/dist/host/index.d.cts +1 -0
- package/dist/host/index.d.ts +1 -0
- package/dist/host/index.js +38 -39
- package/dist/host/kitHost.d.cts +8 -0
- package/dist/host/kitHost.d.ts +8 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +936 -928
- package/dist/kitHost-BMMWpU4w.js +47 -0
- package/dist/kitHost-u0-mKvEK.cjs +1 -0
- package/dist/layout/index.cjs +1 -1
- package/dist/layout/index.js +2 -2
- package/dist/layout/resizeCarry.d.cts +17 -0
- package/dist/layout/resizeCarry.d.ts +17 -0
- package/dist/mainRealmDom-BcPuVvcy.cjs +1 -0
- package/dist/mainRealmDom-DydRT2Us.js +54 -0
- package/dist/nativeTitleHold-A9jUISgQ.js +170 -0
- package/dist/nativeTitleHold-B7Ou-W9b.cjs +1 -0
- package/dist/navigation/index.cjs +1 -1
- package/dist/navigation/index.js +1 -1
- package/dist/notificationCatalog-CRERhjp6.js +168 -0
- package/dist/notificationCatalog-DqTkd7M6.cjs +1 -0
- package/dist/notifications/NotificationItem.d.cts +9 -0
- package/dist/notifications/NotificationItem.d.ts +9 -0
- package/dist/notifications/NotificationsCenter.d.cts +18 -0
- package/dist/notifications/NotificationsCenter.d.ts +18 -0
- package/dist/notifications/RunningProgressCards.d.cts +3 -0
- package/dist/notifications/RunningProgressCards.d.ts +3 -0
- package/dist/notifications/fireNotification.d.cts +35 -16
- package/dist/notifications/fireNotification.d.ts +35 -16
- package/dist/notifications/holdWhileShown.d.cts +18 -0
- package/dist/notifications/holdWhileShown.d.ts +18 -0
- package/dist/notifications/index.cjs +1 -1
- package/dist/notifications/index.d.cts +1 -0
- package/dist/notifications/index.d.ts +1 -0
- package/dist/notifications/index.js +55 -52
- package/dist/notifications/nativeEngine.d.cts +38 -5
- package/dist/notifications/nativeEngine.d.ts +38 -5
- package/dist/notifications/notificationEntryList.d.cts +104 -0
- package/dist/notifications/notificationEntryList.d.ts +104 -0
- package/dist/notifications/notificationService.d.cts +23 -2
- package/dist/notifications/notificationService.d.ts +23 -2
- package/dist/notifications/toast.d.cts +3 -0
- package/dist/notifications/toast.d.ts +3 -0
- package/dist/notifications/toastCorner.d.cts +8 -0
- package/dist/notifications/toastCorner.d.ts +8 -0
- package/dist/notifications/toastFilterPolicy.d.cts +33 -1
- package/dist/notifications/toastFilterPolicy.d.ts +33 -1
- package/dist/overlay/Modal.d.cts +19 -0
- package/dist/overlay/Modal.d.ts +19 -0
- package/dist/overlay/backgroundInert.d.cts +6 -2
- package/dist/overlay/backgroundInert.d.ts +6 -2
- package/dist/overlay/command-palette/CommandPalette.d.cts +12 -0
- package/dist/overlay/command-palette/CommandPalette.d.ts +12 -0
- package/dist/overlay/index.cjs +1 -1
- package/dist/overlay/index.d.cts +2 -1
- package/dist/overlay/index.d.ts +2 -1
- package/dist/overlay/index.js +80 -75
- package/dist/overlay/modalDefaults.d.cts +23 -0
- package/dist/overlay/modalDefaults.d.ts +23 -0
- package/dist/overlay/modalViewport.d.cts +16 -2
- package/dist/overlay/modalViewport.d.ts +16 -2
- package/dist/overlay/nativeTitleHold.d.cts +24 -0
- package/dist/overlay/nativeTitleHold.d.ts +24 -0
- package/dist/ownerAnimationFrame-DzFcMSmn.js +19 -0
- package/dist/ownerAnimationFrame-T6jf6qYC.cjs +1 -0
- package/dist/pageTourState-BuA-GBYO.cjs +5 -0
- package/dist/{pageTourState-BcBF8w89.js → pageTourState-DsSKdPOu.js} +160 -169
- package/dist/rowSource-BRGZHclZ.js +1231 -0
- package/dist/rowSource-C3zlzAtR.cjs +1 -0
- package/dist/server/AttributeGrid-B9j_c2wM.js +281 -0
- package/dist/server/AttributeGrid-BALCTvOI.cjs +1 -0
- package/dist/server/Button-DHefmmYz.cjs +1 -0
- package/dist/server/Button-ft_8RNJj.js +226 -0
- package/dist/server/CommandPalette-CHdfYtxs.js +3305 -0
- package/dist/server/CommandPalette-D0Prl7by.cjs +1 -0
- package/dist/server/CopyButton-CiYcsQcI.js +64 -0
- package/dist/server/CopyButton-D2q7tQ0m.cjs +1 -0
- package/dist/server/DateRangePicker-C6wZI7No.js +487 -0
- package/dist/server/DateRangePicker-CF70G2yr.cjs +9 -0
- package/dist/server/GuidedTour-BmDAWNfN.cjs +1 -0
- package/dist/server/GuidedTour-DYBhprVK.js +400 -0
- package/dist/server/{HostPortal-CXGUUhP8.js → HostPortal-C4xdfRyM.js} +1 -1
- package/dist/server/HostPortal-CwyePpDX.cjs +1 -0
- package/dist/server/{IconPicker-B4aXspLw.js → IconPicker--Xso9fUf.js} +5 -5
- package/dist/server/IconPicker-BTI4cNgf.cjs +1 -0
- package/dist/server/Input-UX0Hk53M.cjs +1 -0
- package/dist/server/Input-V9Szcw6w.js +249 -0
- package/dist/server/Modal-CBnNlaTx.cjs +1 -0
- package/dist/server/Modal-D9CjieKK.js +426 -0
- package/dist/server/OverlayScrollArea-DuwGRSMm.cjs +1 -0
- package/dist/server/OverlayScrollArea-h6G3yk6U.js +66 -0
- package/dist/server/{PageSkeleton-DoxlE_bD.js → PageSkeleton-CFs7AdTA.js} +267 -266
- package/dist/server/PageSkeleton-D0KOKLsb.cjs +30 -0
- package/dist/server/Popover-BBDBIpT6.cjs +1 -0
- package/dist/server/Popover-e9JpRh11.js +439 -0
- package/dist/server/SearchableSelect-B2ZFnp6i.js +205 -0
- package/dist/server/SearchableSelect-BBu5cP6P.cjs +1 -0
- package/dist/server/{StatusBarNotificationBell-D8Jt3PXI.js → StatusBarNotificationBell-CJJFE4rf.js} +5043 -4698
- package/dist/server/StatusBarNotificationBell-Cxs_bVKX.cjs +49 -0
- package/dist/server/Stepper-C04rOZcI.cjs +1 -0
- package/dist/server/Stepper-CVAOsf3o.js +381 -0
- package/dist/server/{Textarea-BQf2lL59.cjs → Textarea-BG6F8taO.cjs} +1 -1
- package/dist/server/{Textarea-BTH48NET.js → Textarea-DM4zpgWo.js} +1 -1
- package/dist/server/TimeSeriesChart-kuuqH7we.js +242 -0
- package/dist/server/TimeSeriesChart-tWbSF6fJ.cjs +1 -0
- package/dist/server/ToggleButton-BdqufQ7G.js +1344 -0
- package/dist/server/ToggleButton-Bo24NK3o.cjs +1 -0
- package/dist/server/{VpTrash-Dlq8o6Uv.js → VpTrash-CZMWCIpF.js} +84 -70
- package/dist/server/VpTrash-DiczWhwm.cjs +1 -0
- package/dist/server/a11y/index.cjs +1 -1
- package/dist/server/a11y/index.js +1 -1
- package/dist/server/charts/index.cjs +1 -1
- package/dist/server/charts/index.js +1 -1
- package/dist/server/createDialogShellFocus-DvoNWpIu.cjs +1 -0
- package/dist/server/createDialogShellFocus-J8wqPlsa.js +370 -0
- package/dist/server/{createResizableSidebar-BImbKlLe.js → createResizableSidebar-CIrhLNKW.js} +104 -102
- package/dist/server/createResizableSidebar-DcZ2Cnpf.cjs +1 -0
- package/dist/server/desktop/index.cjs +1 -1
- package/dist/server/desktop/index.js +154 -153
- package/dist/server/dialogFocusRestore-BhxVTSiP.js +10 -0
- package/dist/server/dialogFocusRestore-DP5b1bDo.cjs +1 -0
- package/dist/server/feedback/index.cjs +1 -1
- package/dist/server/feedback/index.js +4 -4
- package/dist/server/{focusModality-nWNVX3JG.js → focusModality-Bu4Kuwm4.js} +1 -1
- package/dist/server/{focusModality-D-nxv8Er.cjs → focusModality-G2i60_7y.cjs} +1 -1
- package/dist/server/forms/index.cjs +1 -1
- package/dist/server/forms/index.js +9 -9
- package/dist/server/grid/index.cjs +1 -1
- package/dist/server/grid/index.js +1 -1
- package/dist/server/host/index.cjs +1 -1
- package/dist/server/host/index.js +38 -39
- package/dist/server/{index-UIjsx3oJ.js → index-CPUZyKo7.js} +3604 -3617
- package/dist/server/index-CVbkasNJ.cjs +1 -0
- package/dist/server/index.cjs +1 -1
- package/dist/server/index.js +656 -649
- package/dist/server/kitHost-BMMWpU4w.js +47 -0
- package/dist/server/kitHost-u0-mKvEK.cjs +1 -0
- package/dist/server/layout/index.cjs +1 -1
- package/dist/server/layout/index.js +2 -2
- package/dist/server/mainRealmDom-BuGEeM_r.cjs +1 -0
- package/dist/server/{EmptyState-Csydyy_7.js → mainRealmDom-CzckS_ss.js} +12 -8
- package/dist/server/navigation/index.cjs +1 -1
- package/dist/server/navigation/index.js +1 -1
- package/dist/server/notificationCatalog-CEDltsJS.cjs +1 -0
- package/dist/server/notificationCatalog-Cl1dH4aJ.js +122 -0
- package/dist/server/notifications/index.cjs +1 -1
- package/dist/server/notifications/index.js +55 -52
- package/dist/server/overlay/index.cjs +1 -1
- package/dist/server/overlay/index.js +72 -68
- package/dist/server/pageTourState-BuA-GBYO.cjs +5 -0
- package/dist/server/{pageTourState-BcBF8w89.js → pageTourState-DsSKdPOu.js} +160 -169
- package/dist/server/rowSource-C1F4l0xZ.cjs +1 -0
- package/dist/server/rowSource-CoeHYNsV.js +1123 -0
- package/dist/server/tokens/index.cjs +1 -1
- package/dist/server/tokens/index.js +29 -26
- package/dist/server/tokens/palette/index.cjs +1 -0
- package/dist/server/tokens/palette/index.js +31 -0
- package/dist/server/tree/index.cjs +1 -1
- package/dist/server/tree/index.js +1 -1
- package/dist/solid/_internal/app/onboarding/PageTourHost.jsx +11 -10
- package/dist/solid/_internal/app/onboarding/pageTourState.js +12 -23
- package/dist/solid/charts/TimeSeriesChart.jsx +23 -22
- package/dist/solid/desktop/WindowControls.jsx +6 -3
- package/dist/solid/feedback/Badge.jsx +12 -19
- package/dist/solid/feedback/ErrorBoundary.jsx +18 -14
- package/dist/solid/forms/Button.jsx +18 -23
- package/dist/solid/forms/Checkbox.jsx +5 -4
- package/dist/solid/forms/Combobox.jsx +12 -10
- package/dist/solid/forms/CopyButton.jsx +7 -4
- package/dist/solid/forms/DatePicker.jsx +12 -7
- package/dist/solid/forms/Dropzone.jsx +17 -13
- package/dist/solid/forms/FilePickerButton.jsx +5 -4
- package/dist/solid/forms/HiddenFileInput.jsx +3 -1
- package/dist/solid/forms/Input.jsx +31 -5
- package/dist/solid/forms/Input.module.css.js +1 -0
- package/dist/solid/forms/InputMessage.jsx +87 -0
- package/dist/solid/forms/MultiSearchableSelect.jsx +8 -7
- package/dist/solid/forms/NumberInput.jsx +25 -19
- package/dist/solid/forms/Picker.jsx +8 -6
- package/dist/solid/forms/PressableSurface.jsx +17 -23
- package/dist/solid/forms/RadioGroup.jsx +4 -3
- package/dist/solid/forms/SearchInput.jsx +4 -3
- package/dist/solid/forms/SearchableSelect.jsx +4 -3
- package/dist/solid/forms/SegmentedControl.jsx +4 -3
- package/dist/solid/forms/TagInput.jsx +22 -16
- package/dist/solid/forms/ToggleButton.jsx +4 -3
- package/dist/solid/forms/date-range-picker/DateRangePicker.jsx +12 -10
- package/dist/solid/grid/Pagination.jsx +7 -3
- package/dist/solid/host/kitHost.jsx +5 -1
- package/dist/solid/layout/PageHeaderIcon.jsx +11 -9
- package/dist/solid/layout/ResizableSplitPane.jsx +4 -4
- package/dist/solid/layout/ResizeHandle.jsx +15 -4
- package/dist/solid/layout/resizeCarry.js +31 -0
- package/dist/solid/navigation/Accordion.jsx +8 -5
- package/dist/solid/navigation/Tabs.jsx +11 -8
- package/dist/solid/notifications/NotificationHost.jsx +5 -18
- package/dist/solid/notifications/NotificationItem.jsx +62 -58
- package/dist/solid/notifications/NotificationPanel.jsx +27 -9
- package/dist/solid/notifications/NotificationsCenter.jsx +72 -12
- package/dist/solid/notifications/RunningProgressCards.jsx +1 -1
- package/dist/solid/notifications/StatusBarNotificationBell.jsx +12 -6
- package/dist/solid/notifications/catalogAdapter.js +1 -0
- package/dist/solid/notifications/createNotificationPreviewRuntime.js +2 -0
- package/dist/solid/notifications/fireNotification.js +21 -16
- package/dist/solid/notifications/holdWhileShown.js +30 -0
- package/dist/solid/notifications/index.js +1 -0
- package/dist/solid/notifications/nativeEngine.js +52 -1
- package/dist/solid/notifications/notificationEntryList.js +184 -0
- package/dist/solid/notifications/notificationService.js +20 -4
- package/dist/solid/notifications/toast.js +58 -7
- package/dist/solid/notifications/toastCorner.js +3 -0
- package/dist/solid/notifications/toastFilterPolicy.js +12 -0
- package/dist/solid/overlay/ConfirmDialog.jsx +21 -16
- package/dist/solid/overlay/DangerousActionDialogParts.jsx +5 -3
- package/dist/solid/overlay/Disclosure.jsx +4 -3
- package/dist/solid/overlay/Drawer.jsx +2 -1
- package/dist/solid/overlay/DropdownMenu.jsx +6 -4
- package/dist/solid/overlay/FloatingWindow.jsx +3 -3
- package/dist/solid/overlay/HoverTooltip.jsx +9 -7
- package/dist/solid/overlay/Modal.jsx +81 -34
- package/dist/solid/overlay/OverlayScrollArea.jsx +5 -3
- package/dist/solid/overlay/Tooltip.jsx +5 -4
- package/dist/solid/overlay/command-palette/CommandPalette.jsx +11 -11
- package/dist/solid/overlay/context-menu/DesktopContextMenu.jsx +73 -57
- package/dist/solid/overlay/index.js +2 -1
- package/dist/solid/overlay/menu/MenuParts.jsx +11 -8
- package/dist/solid/overlay/modalDefaults.jsx +10 -0
- package/dist/solid/overlay/modalViewport.js +17 -4
- package/dist/solid/overlay/nativeTitleHold.js +33 -0
- package/dist/solid/overlay/popover/Popover.jsx +17 -11
- package/dist/solid/overlay/tooltipDirective.js +3 -11
- package/dist/solid/overlay/tour/GuidedTour.jsx +18 -14
- package/dist/solid/tokens/index.js +1 -0
- package/dist/solid/tokens/palette/index.js +1 -0
- package/dist/solid/tokens/palette/paletteContract.js +27 -0
- package/dist/solid/tree/TreeRow.jsx +19 -16
- package/dist/solid/tree/TreeSurface.jsx +15 -14
- package/dist/solid/widgets/SettingsField.jsx +11 -10
- package/dist/style.css +4 -3
- package/dist/theme.css +3 -2
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.d.cts +1 -0
- package/dist/tokens/index.d.ts +1 -0
- package/dist/tokens/index.js +29 -26
- package/dist/tokens/palette/index.cjs +1 -0
- package/dist/tokens/palette/index.d.cts +12 -0
- package/dist/tokens/palette/index.d.ts +12 -0
- package/dist/tokens/palette/index.js +31 -0
- package/dist/tokens/palette/paletteContract.d.cts +17 -0
- package/dist/tokens/palette/paletteContract.d.ts +17 -0
- package/dist/tokens/tokens.css +3 -2
- package/dist/tree/index.cjs +1 -1
- package/dist/tree/index.js +1 -1
- package/dist/ui.css +1 -1
- package/package.json +25 -1
- package/dist/AttributeGrid-CASILa4u.js +0 -320
- package/dist/AttributeGrid-eND8YDby.cjs +0 -1
- package/dist/Button-Bb68ymNP.cjs +0 -1
- package/dist/Button-D-T0tyGF.js +0 -305
- package/dist/CommandPalette-5FQRgPG9.cjs +0 -2
- package/dist/CommandPalette-Cj618AOz.js +0 -4017
- package/dist/CopyButton-B5gS2ft3.cjs +0 -1
- package/dist/CopyButton-g-WSiBDZ.js +0 -63
- package/dist/DateRangePicker-CJD9ADgB.js +0 -550
- package/dist/DateRangePicker-Frc0HVxp.cjs +0 -9
- package/dist/EmptyState-B9TxGJ5v.cjs +0 -1
- package/dist/EmptyState-Dph6HU74.js +0 -50
- package/dist/GuidedTour-B6q7lYhn.cjs +0 -1
- package/dist/GuidedTour-CFCvRJN4.js +0 -483
- package/dist/HostPortal-CgJwxt-f.cjs +0 -1
- package/dist/IconPicker-CIbJb1ei.cjs +0 -1
- package/dist/Input-CZruORyy.cjs +0 -1
- package/dist/Input-DkPhsdfk.js +0 -227
- package/dist/Modal-CY6ePolt.cjs +0 -1
- package/dist/Modal-NzZzHSwb.js +0 -559
- package/dist/OverlayScrollArea-BSlaXG1h.cjs +0 -1
- package/dist/OverlayScrollArea-c8Za77qs.js +0 -180
- package/dist/PageSkeleton-BPbb28-H.cjs +0 -30
- package/dist/Popover-CWrR51eG.cjs +0 -1
- package/dist/Popover-Cttb6NYT.js +0 -206
- package/dist/SearchableSelect-BvCm4enQ.js +0 -327
- package/dist/SearchableSelect-CVqdVMOC.cjs +0 -1
- package/dist/StatusBarNotificationBell-BJiORN4s.cjs +0 -50
- package/dist/Stepper-Ci5JpLbS.cjs +0 -1
- package/dist/Stepper-D9i1Xclm.js +0 -583
- package/dist/TimeSeriesChart-DOwi2lJs.js +0 -441
- package/dist/TimeSeriesChart-huvheefm.cjs +0 -1
- package/dist/ToggleButton-BFWh1_o5.cjs +0 -1
- package/dist/ToggleButton-CFM8P3JY.js +0 -2137
- package/dist/anchoredLayout-Dstwa5OH.cjs +0 -1
- package/dist/anchoredLayout-FC-qv8xm.js +0 -250
- package/dist/createDialogShellFocus-B4piXDU4.js +0 -282
- package/dist/createDialogShellFocus-CJaw9-B9.cjs +0 -1
- package/dist/createResizableSidebar-BDUlX9-G.js +0 -472
- package/dist/createResizableSidebar-BVJBU2kP.cjs +0 -1
- package/dist/dialogFocusRestore--dH59ER2.js +0 -35
- package/dist/dialogFocusRestore-CL-ExfAA.cjs +0 -1
- package/dist/kitHost-BfJExE1G.cjs +0 -1
- package/dist/kitHost-CVAEi9sF.js +0 -23
- package/dist/mainRealmDom-C12lr9lm.js +0 -171
- package/dist/mainRealmDom-S6teqEr4.cjs +0 -1
- package/dist/pageTourState-CrbEU7QW.cjs +0 -5
- package/dist/rowSource-D__7o4h0.js +0 -1230
- package/dist/rowSource-DiwTu_r8.cjs +0 -1
- package/dist/server/AttributeGrid-B7sb3btp.cjs +0 -1
- package/dist/server/AttributeGrid-CMi-UtWb.js +0 -281
- package/dist/server/Button-0AXWRw9Q.cjs +0 -1
- package/dist/server/Button-3yNrnn4P.js +0 -220
- package/dist/server/CommandPalette-CozogFlk.js +0 -3265
- package/dist/server/CommandPalette-DQK6N98N.cjs +0 -1
- package/dist/server/CopyButton-B6xd9Z6j.js +0 -64
- package/dist/server/CopyButton-D8IN6Vnd.cjs +0 -1
- package/dist/server/DateRangePicker-C35q8BTw.js +0 -484
- package/dist/server/DateRangePicker-KLZzyuPJ.cjs +0 -9
- package/dist/server/EmptyState-BnAHklc5.cjs +0 -1
- package/dist/server/GuidedTour-DfV0yzqh.cjs +0 -1
- package/dist/server/GuidedTour-DmLbBttx.js +0 -400
- package/dist/server/HostPortal-CgJwxt-f.cjs +0 -1
- package/dist/server/IconPicker-B1soopAp.cjs +0 -1
- package/dist/server/Input-CjvD8w18.cjs +0 -1
- package/dist/server/Input-DaEN2JJd.js +0 -127
- package/dist/server/Modal-BheFQLs1.js +0 -415
- package/dist/server/Modal-BswxV8Pn.cjs +0 -1
- package/dist/server/OverlayScrollArea-221dfKyz.js +0 -65
- package/dist/server/OverlayScrollArea-D4e9D9Nd.cjs +0 -1
- package/dist/server/PageSkeleton-DBo7hQq-.cjs +0 -30
- package/dist/server/Popover-BsxIKBbl.cjs +0 -1
- package/dist/server/Popover-Cg28aPUZ.js +0 -439
- package/dist/server/SearchableSelect-09ECcDlB.cjs +0 -1
- package/dist/server/SearchableSelect-vjhS4c-H.js +0 -205
- package/dist/server/StatusBarNotificationBell-LJHLMT9F.cjs +0 -49
- package/dist/server/Stepper-DxNrskdq.cjs +0 -1
- package/dist/server/Stepper-n5f9r-ye.js +0 -375
- package/dist/server/TimeSeriesChart-BQVXUFoj.cjs +0 -1
- package/dist/server/TimeSeriesChart-PAb95s6x.js +0 -242
- package/dist/server/ToggleButton-FywO2CCI.js +0 -1335
- package/dist/server/ToggleButton-TE3Xf2yD.cjs +0 -1
- package/dist/server/VpTrash-D49oUUJh.cjs +0 -1
- package/dist/server/createDialogShellFocus-BFo8awdj.js +0 -369
- package/dist/server/createDialogShellFocus-BiBAZOCI.cjs +0 -1
- package/dist/server/createResizableSidebar-GFgZIj-5.cjs +0 -1
- package/dist/server/dialogFocusRestore--dH59ER2.js +0 -35
- package/dist/server/dialogFocusRestore-CL-ExfAA.cjs +0 -1
- package/dist/server/index-2mQPVEDR.cjs +0 -1
- package/dist/server/kitHost-BfJExE1G.cjs +0 -1
- package/dist/server/kitHost-CVAEi9sF.js +0 -23
- package/dist/server/mainRealmDom-DPNaDWtw.js +0 -121
- package/dist/server/mainRealmDom-DwZVMPnO.cjs +0 -1
- package/dist/server/pageTourState-CrbEU7QW.cjs +0 -5
- package/dist/server/rowSource-D-wcDmFU.js +0 -1122
- package/dist/server/rowSource-DltiY0o3.cjs +0 -1
- package/dist/tooltipCoordinator-BzxEyKhA.js +0 -144
- package/dist/tooltipCoordinator-DslqMlsI.cjs +0 -1
|
@@ -12,9 +12,12 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import { type Accessor, type JSX } from 'solid-js';
|
|
14
14
|
import { type NotificationItem as NotificationItemModel } from './nativeEngine.js';
|
|
15
|
+
import type { ToastPosition } from '../_internal/platform/settings/settingsTypes.js';
|
|
15
16
|
/** The realm's running progress cards, oldest first. Call it in a component's setup. */
|
|
16
17
|
export declare function useRunningProgressCards(): Accessor<readonly NotificationItemModel[]>;
|
|
17
18
|
/** Draws the running cards as a center's copies (`inCenter`), with the verbs of the realm's stack. */
|
|
18
19
|
export declare function RunningProgressCards(props: {
|
|
19
20
|
readonly items: readonly NotificationItemModel[];
|
|
21
|
+
/** The corner the center is drawn at, which turns the cards' expand chevron; a panel draws them at none. */
|
|
22
|
+
readonly corner?: ToastPosition | undefined;
|
|
20
23
|
}): JSX.Element;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* service, passed in as {@link NotificationSinks}.
|
|
16
16
|
*/
|
|
17
17
|
import type { OsNotifyOptions } from '../_internal/app/platform/electronBridge.cjs';
|
|
18
|
-
import { type FilterDecision } from './toastFilterPolicy.cjs';
|
|
18
|
+
import { type FilterDecision, type NotificationFilter } from './toastFilterPolicy.cjs';
|
|
19
19
|
import type { NotificationAudio } from './notificationAudio.cjs';
|
|
20
20
|
import type { WebhookDelivery } from './webhookDelivery.cjs';
|
|
21
21
|
import type { EmailDigest } from './emailDigest.cjs';
|
|
@@ -34,31 +34,50 @@ export interface NotificationSinks {
|
|
|
34
34
|
/** The OS notification centre (fire-and-forget; the in-app toast is shown regardless). */
|
|
35
35
|
readonly osNotify: (options: OsNotifyOptions) => void;
|
|
36
36
|
}
|
|
37
|
+
/** The keys an issue names its notification by — the user's choices on its cards are kept on them. */
|
|
38
|
+
export interface IssueKeys {
|
|
39
|
+
/** "Don't show again" (`ToastCommonOptions.dontShowAgainKey`). */
|
|
40
|
+
readonly dontShowAgainKey: string | undefined;
|
|
41
|
+
/** The issuer's key for "remind me later" (`ToastCommonOptions.remindKey`). */
|
|
42
|
+
readonly remindKey: string | undefined;
|
|
43
|
+
}
|
|
44
|
+
/** One issue as its filter decision reads it. */
|
|
45
|
+
export interface IssueDecisionInput extends IssueKeys {
|
|
46
|
+
readonly source: NotificationSourceId;
|
|
47
|
+
readonly title: string;
|
|
48
|
+
readonly severity: NotificationSeverity;
|
|
49
|
+
readonly priority: NotificationPriority;
|
|
50
|
+
/** The caller's `recordTimeline`; `false` always wins. */
|
|
51
|
+
readonly recordTimeline: boolean | undefined;
|
|
52
|
+
/** The realm's run-time filter at the issue (`Notifications.getFilter`). */
|
|
53
|
+
readonly filter: NotificationFilter;
|
|
54
|
+
}
|
|
37
55
|
/**
|
|
38
56
|
* The filter decision with its gates computed: the pure policy takes the suppression answers as
|
|
39
|
-
* precomputed booleans, and they are asked here, in one place.
|
|
57
|
+
* precomputed booleans, and they are asked here, in one place. The run-time filter decides through the
|
|
58
|
+
* priority ({@link filteredPriority}).
|
|
40
59
|
*/
|
|
41
|
-
export declare function decideFilter(
|
|
60
|
+
export declare function decideFilter(issue: IssueDecisionInput): FilterDecision;
|
|
42
61
|
/**
|
|
43
|
-
* Whether the user turned a notification of
|
|
44
|
-
* Unlike a setting that silences, the choice rejects the notification itself, its record too (the decision's
|
|
45
|
-
* rejections): a progress gets no card, not even one in the notification center.
|
|
62
|
+
* Whether the user turned a notification of these keys and this text down on a card — "don't show again", "remind me
|
|
63
|
+
* later". Unlike a setting that silences, the choice rejects the notification itself, its record too (the decision's
|
|
64
|
+
* explicit rejections): a progress gets no card, not even one in the notification center.
|
|
46
65
|
*/
|
|
47
|
-
export declare function turnedDownOnCard(source: string, title: string,
|
|
66
|
+
export declare function turnedDownOnCard(source: string, title: string, keys: IssueKeys): boolean;
|
|
48
67
|
/**
|
|
49
68
|
* Whether the user turned a shown card's notification down — the keys its gear menu writes (`NotificationItem`):
|
|
50
|
-
* "don't show again" on its `neverShowAgainKey`, "remind me later" on
|
|
51
|
-
*
|
|
52
|
-
* the user closes under such a choice instead of sending it to the notification center
|
|
69
|
+
* "don't show again" on its `neverShowAgainKey`, "remind me later" on the card's remind key ({@link cardRemindKey}).
|
|
70
|
+
* The engine ends a running card the user closes under such a choice instead of sending it to the notification center
|
|
53
71
|
* (`NativeNotificationEngineDependencies.isTurnedDown`).
|
|
54
72
|
*/
|
|
55
73
|
export declare function turnedDownCard(item: Pick<NotificationInput, 'neverShowAgainKey' | 'remindKey' | 'source' | 'title'>): boolean;
|
|
56
74
|
/**
|
|
57
|
-
* Whether the notification settings now keep a card of this source and
|
|
58
|
-
* without the per-key choices
|
|
59
|
-
* running progress too ({@link turnedDownCard}) —, and an issue they turn
|
|
75
|
+
* Whether the notification settings — and the realm's run-time filter — now keep a card of this source, severity and
|
|
76
|
+
* priority off the screen: an issue's decision without the per-key choices. "Don't show again" and "remind me later"
|
|
77
|
+
* are made on the card, which they close — a running progress too ({@link turnedDownCard}) —, and an issue they turn
|
|
78
|
+
* down is {@link turnedDownOnCard}.
|
|
60
79
|
*/
|
|
61
|
-
export declare function silencedBySettings(source: string, priority: NotificationPriority): boolean;
|
|
80
|
+
export declare function silencedBySettings(source: string, severity: NotificationSeverity, priority: NotificationPriority, filter: NotificationFilter): boolean;
|
|
62
81
|
/**
|
|
63
82
|
* A card's buttons as the engine takes them — `primary` first, then `others` in declaration order. A click is counted
|
|
64
83
|
* for the source; unless the action keeps the card (`expireOnAction: false`) the card then closes, as the program's
|
|
@@ -68,9 +87,9 @@ export declare function nativeActionsOf(sinks: NotificationSinks, primary: Toast
|
|
|
68
87
|
/**
|
|
69
88
|
* A card's presentation from a verb's options — one mapping for the message verbs and the progress, so a progress no
|
|
70
89
|
* longer drops what its catalog payload carries and the catalog preview paints: the body, markdown, icon,
|
|
71
|
-
* announcement, page, duration
|
|
90
|
+
* announcement, page, duration, "don't show again" key and the issuer's remind key.
|
|
72
91
|
*/
|
|
73
|
-
export declare function cardPresentation(options: ToastCommonOptions): Pick<NotificationInput, 'body' | 'markdown' | 'durationMs' | 'neverShowAgainKey' | 'icon' | 'announce' | 'defaultRoute'>;
|
|
92
|
+
export declare function cardPresentation(options: ToastCommonOptions): Pick<NotificationInput, 'body' | 'markdown' | 'durationMs' | 'neverShowAgainKey' | 'remindKey' | 'icon' | 'announce' | 'defaultRoute'>;
|
|
74
93
|
export interface FireOptions {
|
|
75
94
|
severity: NotificationSeverity;
|
|
76
95
|
title: string;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* service, passed in as {@link NotificationSinks}.
|
|
16
16
|
*/
|
|
17
17
|
import type { OsNotifyOptions } from '../_internal/app/platform/electronBridge.js';
|
|
18
|
-
import { type FilterDecision } from './toastFilterPolicy.js';
|
|
18
|
+
import { type FilterDecision, type NotificationFilter } from './toastFilterPolicy.js';
|
|
19
19
|
import type { NotificationAudio } from './notificationAudio.js';
|
|
20
20
|
import type { WebhookDelivery } from './webhookDelivery.js';
|
|
21
21
|
import type { EmailDigest } from './emailDigest.js';
|
|
@@ -34,31 +34,50 @@ export interface NotificationSinks {
|
|
|
34
34
|
/** The OS notification centre (fire-and-forget; the in-app toast is shown regardless). */
|
|
35
35
|
readonly osNotify: (options: OsNotifyOptions) => void;
|
|
36
36
|
}
|
|
37
|
+
/** The keys an issue names its notification by — the user's choices on its cards are kept on them. */
|
|
38
|
+
export interface IssueKeys {
|
|
39
|
+
/** "Don't show again" (`ToastCommonOptions.dontShowAgainKey`). */
|
|
40
|
+
readonly dontShowAgainKey: string | undefined;
|
|
41
|
+
/** The issuer's key for "remind me later" (`ToastCommonOptions.remindKey`). */
|
|
42
|
+
readonly remindKey: string | undefined;
|
|
43
|
+
}
|
|
44
|
+
/** One issue as its filter decision reads it. */
|
|
45
|
+
export interface IssueDecisionInput extends IssueKeys {
|
|
46
|
+
readonly source: NotificationSourceId;
|
|
47
|
+
readonly title: string;
|
|
48
|
+
readonly severity: NotificationSeverity;
|
|
49
|
+
readonly priority: NotificationPriority;
|
|
50
|
+
/** The caller's `recordTimeline`; `false` always wins. */
|
|
51
|
+
readonly recordTimeline: boolean | undefined;
|
|
52
|
+
/** The realm's run-time filter at the issue (`Notifications.getFilter`). */
|
|
53
|
+
readonly filter: NotificationFilter;
|
|
54
|
+
}
|
|
37
55
|
/**
|
|
38
56
|
* The filter decision with its gates computed: the pure policy takes the suppression answers as
|
|
39
|
-
* precomputed booleans, and they are asked here, in one place.
|
|
57
|
+
* precomputed booleans, and they are asked here, in one place. The run-time filter decides through the
|
|
58
|
+
* priority ({@link filteredPriority}).
|
|
40
59
|
*/
|
|
41
|
-
export declare function decideFilter(
|
|
60
|
+
export declare function decideFilter(issue: IssueDecisionInput): FilterDecision;
|
|
42
61
|
/**
|
|
43
|
-
* Whether the user turned a notification of
|
|
44
|
-
* Unlike a setting that silences, the choice rejects the notification itself, its record too (the decision's
|
|
45
|
-
* rejections): a progress gets no card, not even one in the notification center.
|
|
62
|
+
* Whether the user turned a notification of these keys and this text down on a card — "don't show again", "remind me
|
|
63
|
+
* later". Unlike a setting that silences, the choice rejects the notification itself, its record too (the decision's
|
|
64
|
+
* explicit rejections): a progress gets no card, not even one in the notification center.
|
|
46
65
|
*/
|
|
47
|
-
export declare function turnedDownOnCard(source: string, title: string,
|
|
66
|
+
export declare function turnedDownOnCard(source: string, title: string, keys: IssueKeys): boolean;
|
|
48
67
|
/**
|
|
49
68
|
* Whether the user turned a shown card's notification down — the keys its gear menu writes (`NotificationItem`):
|
|
50
|
-
* "don't show again" on its `neverShowAgainKey`, "remind me later" on
|
|
51
|
-
*
|
|
52
|
-
* the user closes under such a choice instead of sending it to the notification center
|
|
69
|
+
* "don't show again" on its `neverShowAgainKey`, "remind me later" on the card's remind key ({@link cardRemindKey}).
|
|
70
|
+
* The engine ends a running card the user closes under such a choice instead of sending it to the notification center
|
|
53
71
|
* (`NativeNotificationEngineDependencies.isTurnedDown`).
|
|
54
72
|
*/
|
|
55
73
|
export declare function turnedDownCard(item: Pick<NotificationInput, 'neverShowAgainKey' | 'remindKey' | 'source' | 'title'>): boolean;
|
|
56
74
|
/**
|
|
57
|
-
* Whether the notification settings now keep a card of this source and
|
|
58
|
-
* without the per-key choices
|
|
59
|
-
* running progress too ({@link turnedDownCard}) —, and an issue they turn
|
|
75
|
+
* Whether the notification settings — and the realm's run-time filter — now keep a card of this source, severity and
|
|
76
|
+
* priority off the screen: an issue's decision without the per-key choices. "Don't show again" and "remind me later"
|
|
77
|
+
* are made on the card, which they close — a running progress too ({@link turnedDownCard}) —, and an issue they turn
|
|
78
|
+
* down is {@link turnedDownOnCard}.
|
|
60
79
|
*/
|
|
61
|
-
export declare function silencedBySettings(source: string, priority: NotificationPriority): boolean;
|
|
80
|
+
export declare function silencedBySettings(source: string, severity: NotificationSeverity, priority: NotificationPriority, filter: NotificationFilter): boolean;
|
|
62
81
|
/**
|
|
63
82
|
* A card's buttons as the engine takes them — `primary` first, then `others` in declaration order. A click is counted
|
|
64
83
|
* for the source; unless the action keeps the card (`expireOnAction: false`) the card then closes, as the program's
|
|
@@ -68,9 +87,9 @@ export declare function nativeActionsOf(sinks: NotificationSinks, primary: Toast
|
|
|
68
87
|
/**
|
|
69
88
|
* A card's presentation from a verb's options — one mapping for the message verbs and the progress, so a progress no
|
|
70
89
|
* longer drops what its catalog payload carries and the catalog preview paints: the body, markdown, icon,
|
|
71
|
-
* announcement, page, duration
|
|
90
|
+
* announcement, page, duration, "don't show again" key and the issuer's remind key.
|
|
72
91
|
*/
|
|
73
|
-
export declare function cardPresentation(options: ToastCommonOptions): Pick<NotificationInput, 'body' | 'markdown' | 'durationMs' | 'neverShowAgainKey' | 'icon' | 'announce' | 'defaultRoute'>;
|
|
92
|
+
export declare function cardPresentation(options: ToastCommonOptions): Pick<NotificationInput, 'body' | 'markdown' | 'durationMs' | 'neverShowAgainKey' | 'remindKey' | 'icon' | 'announce' | 'defaultRoute'>;
|
|
74
93
|
export interface FireOptions {
|
|
75
94
|
severity: NotificationSeverity;
|
|
76
95
|
title: string;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { IDisposable } from '../_internal/base/lifecycle.cjs';
|
|
2
|
+
/**
|
|
3
|
+
* Whether the user can see an element's frame: it is laid out with an area. An element under a `display: none`
|
|
4
|
+
* ancestor has no box; one in a pane collapsed to no width or height has no area.
|
|
5
|
+
*/
|
|
6
|
+
export declare function hasShownBox(element: Element): boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Holds what `hold` returns while `element` is shown ({@link hasShownBox}) and disposes it while it is not, following
|
|
9
|
+
* the element's box with a `ResizeObserver` of the element's own window: a box that goes (a `display: none` ancestor,
|
|
10
|
+
* a collapsed pane) or comes back changes its size, and the observer reports it before the next paint. The state is
|
|
11
|
+
* read once when this is called. Returns the stop: it disconnects the observer and disposes what is held.
|
|
12
|
+
*
|
|
13
|
+
* The reference marks a center's notifications visible at the moment it shows and hidden at the moment it hides
|
|
14
|
+
* (`workbench/browser/parts/notifications/notificationsCenter.ts:180`, `:378`); a component that a host lays out —
|
|
15
|
+
* and may keep mounted where the user does not see it — finds those moments in its own box, so no host has to tell
|
|
16
|
+
* it.
|
|
17
|
+
*/
|
|
18
|
+
export declare function holdWhileShown(element: Element, hold: () => IDisposable): () => void;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { IDisposable } from '../_internal/base/lifecycle.js';
|
|
2
|
+
/**
|
|
3
|
+
* Whether the user can see an element's frame: it is laid out with an area. An element under a `display: none`
|
|
4
|
+
* ancestor has no box; one in a pane collapsed to no width or height has no area.
|
|
5
|
+
*/
|
|
6
|
+
export declare function hasShownBox(element: Element): boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Holds what `hold` returns while `element` is shown ({@link hasShownBox}) and disposes it while it is not, following
|
|
9
|
+
* the element's box with a `ResizeObserver` of the element's own window: a box that goes (a `display: none` ancestor,
|
|
10
|
+
* a collapsed pane) or comes back changes its size, and the observer reports it before the next paint. The state is
|
|
11
|
+
* read once when this is called. Returns the stop: it disconnects the observer and disposes what is held.
|
|
12
|
+
*
|
|
13
|
+
* The reference marks a center's notifications visible at the moment it shows and hidden at the moment it hides
|
|
14
|
+
* (`workbench/browser/parts/notifications/notificationsCenter.ts:180`, `:378`); a component that a host lays out —
|
|
15
|
+
* and may keep mounted where the user does not see it — finds those moments in its own box, so no host has to tell
|
|
16
|
+
* it.
|
|
17
|
+
*/
|
|
18
|
+
export declare function holdWhileShown(element: Element, hold: () => IDisposable): () => void;
|
|
@@ -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-CNs_obmZ.cjs"),e=require("../notificationCatalog-DqTkd7M6.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;
|
|
@@ -32,4 +32,5 @@ export { NotificationItem, type NotificationItemController, type NotificationIte
|
|
|
32
32
|
export type { NotificationItem as NotificationItemModel } from './nativeEngine.cjs';
|
|
33
33
|
export { NotificationPanel, type NotificationPanelProps } from './NotificationPanel.cjs';
|
|
34
34
|
export { NotificationsCenter } from './NotificationsCenter.cjs';
|
|
35
|
+
export { focusFirstNotificationEntry } from './notificationEntryList.cjs';
|
|
35
36
|
export { StatusBarNotificationBell, type StatusBarNotificationBellProps, } from './StatusBarNotificationBell.cjs';
|
|
@@ -32,4 +32,5 @@ export { NotificationItem, type NotificationItemController, type NotificationIte
|
|
|
32
32
|
export type { NotificationItem as NotificationItemModel } from './nativeEngine.js';
|
|
33
33
|
export { NotificationPanel, type NotificationPanelProps } from './NotificationPanel.js';
|
|
34
34
|
export { NotificationsCenter } from './NotificationsCenter.js';
|
|
35
|
+
export { focusFirstNotificationEntry } from './notificationEntryList.js';
|
|
35
36
|
export { StatusBarNotificationBell, type StatusBarNotificationBellProps, } from './StatusBarNotificationBell.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import { d as
|
|
3
|
-
import { n as
|
|
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-CgsYrrpj.js";
|
|
2
|
+
import { d as Si, a as Ti } from "../notificationCatalog-CRERhjp6.js";
|
|
3
|
+
import { n as ui } from "../useSettingsSubscription-DLEk4k4j.js";
|
|
4
4
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
e as ACCEPT_PRIMARY_ACTION_NOTIFICATION,
|
|
6
|
+
s as CLEAR_NOTIFICATION,
|
|
7
7
|
t as HIDE_NOTIFICATION_TOASTS,
|
|
8
8
|
o as LogFilterBar,
|
|
9
9
|
r as NOTIFICATION_SOURCES,
|
|
@@ -11,60 +11,63 @@ export {
|
|
|
11
11
|
c as NO_NOTIFICATION_OVERLAY,
|
|
12
12
|
l as NotificationHost,
|
|
13
13
|
N as NotificationItem,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
f as NotificationPanel,
|
|
15
|
+
d as NotificationService,
|
|
16
|
+
I as NotificationTimeline,
|
|
17
|
+
S as NotificationsCenter,
|
|
18
|
+
T as SEVERITY_ORDER,
|
|
19
19
|
m as SEVERITY_TONES,
|
|
20
20
|
u as StatusBarNotificationBell,
|
|
21
21
|
O as appWindowNotificationOverlay,
|
|
22
22
|
p as applyNotificationRules,
|
|
23
|
+
R as cardRemindKey,
|
|
23
24
|
A as clearCompiledRuleRegexCache,
|
|
24
25
|
C as compileNotificationSearchMatcher,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
y as createNativeNotificationEngine,
|
|
27
|
+
E as createNotificationPreviewRuntime,
|
|
28
|
+
g as decideFilter,
|
|
29
|
+
Si as defineNotification,
|
|
30
|
+
Ti as defineNotificationScenario,
|
|
30
31
|
v as deleteWebhookUrl,
|
|
31
32
|
_ as deriveImplicitRemindKey,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
h as dismissKey,
|
|
34
|
+
F as dismissableToastIds,
|
|
35
|
+
P as entryVendorMatch,
|
|
36
|
+
x as exportTimelineAsCsv,
|
|
37
|
+
K as exportTimelineAsJson,
|
|
37
38
|
k as filterNotificationTimeline,
|
|
38
|
-
D as
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
ei as
|
|
62
|
-
si as
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
39
|
+
D as filteredPriority,
|
|
40
|
+
b as focusFirstNotificationEntry,
|
|
41
|
+
H as getSmtpPass,
|
|
42
|
+
M as getWebhookUrl,
|
|
43
|
+
U as groupTimelineEntries,
|
|
44
|
+
W as hiddenRunningProgress,
|
|
45
|
+
L as isInQuietHours,
|
|
46
|
+
V as isKeyDismissed,
|
|
47
|
+
Y as isKeyRemindSuppressed,
|
|
48
|
+
w as isNotificationSourceId,
|
|
49
|
+
B as isNotificationSticky,
|
|
50
|
+
Q as isOnToastStack,
|
|
51
|
+
J as isProgressRunning,
|
|
52
|
+
j as isSourceMuted,
|
|
53
|
+
q as isSpamDropHandle,
|
|
54
|
+
z as listNotificationSources,
|
|
55
|
+
G as nextQuietHoursStart,
|
|
56
|
+
ui as notificationSettings,
|
|
57
|
+
X as pruneOrphanWebhookSecrets,
|
|
58
|
+
Z as registerFenceAliases,
|
|
59
|
+
$ as registerNotificationCommands,
|
|
60
|
+
ii as remindLater,
|
|
61
|
+
ai as resolveCatalogPreviewPriority,
|
|
62
|
+
ei as resolveNotificationDuration,
|
|
63
|
+
si as resolveNotificationSource,
|
|
64
|
+
ti as resolveSeverityTone,
|
|
65
|
+
oi as restoreAllKeys,
|
|
66
|
+
ri as restoreKey,
|
|
67
|
+
ni as setSmtpPass,
|
|
68
|
+
ci as setSourceMuted,
|
|
69
|
+
li as setWebhookUrl,
|
|
70
|
+
Ni as shouldFireOsNative,
|
|
71
|
+
fi as toTimelineActions,
|
|
72
|
+
di as unmuteAllSources
|
|
70
73
|
};
|
|
@@ -2,6 +2,7 @@ import type { NotificationAnnouncement, NotificationCardState, NotificationPrior
|
|
|
2
2
|
import type { VendorErrorRef } from '../_internal/contract/vendorErrorRef.cjs';
|
|
3
3
|
import type { NotificationSettings } from '../_internal/platform/settings/settingsTypes.cjs';
|
|
4
4
|
import { type Event } from '../_internal/base/event.cjs';
|
|
5
|
+
import type { IDisposable } from '../_internal/base/lifecycle.cjs';
|
|
5
6
|
export type { NotificationSeverity };
|
|
6
7
|
export interface NotificationAction {
|
|
7
8
|
id?: string;
|
|
@@ -46,9 +47,10 @@ export interface NotificationInput extends NotificationInputBase {
|
|
|
46
47
|
/** When set, the gear menu offers a "Don't show again" toggle keyed by this id. */
|
|
47
48
|
neverShowAgainKey?: string;
|
|
48
49
|
/**
|
|
49
|
-
* The key "remind me later" on this card silences
|
|
50
|
-
*
|
|
51
|
-
*
|
|
50
|
+
* The key "remind me later" on this card silences — it wins over `neverShowAgainKey` (`cardRemindKey`). The issuer's
|
|
51
|
+
* key (`ToastCommonOptions.remindKey`) sets it; so does a verb whose card's title moves away from the text it was
|
|
52
|
+
* issued with (a progress's `update`), with its "don't show again" key, else the key of that text, so the menu
|
|
53
|
+
* silences the next issue the decision checks. Unset, the card keys on `neverShowAgainKey`, else on its title.
|
|
52
54
|
*/
|
|
53
55
|
remindKey?: string;
|
|
54
56
|
progress?: NotificationProgress;
|
|
@@ -102,6 +104,24 @@ export interface NotificationHandle {
|
|
|
102
104
|
* (it is still `open`, in the notification center) —, with where it went.
|
|
103
105
|
*/
|
|
104
106
|
readonly onDidChangeState: Event<NotificationCardState>;
|
|
107
|
+
/**
|
|
108
|
+
* Whether the user can see that card now: on the toast stack in sight, or listed by a notification center that is
|
|
109
|
+
* shown ({@link NativeNotificationEngine.registerShownCenter}). The engine places a new card before `notify` returns,
|
|
110
|
+
* so a caller reads where it stands here and hears the changes after it ({@link onDidChangeVisibility}); `false` once
|
|
111
|
+
* the card has ended.
|
|
112
|
+
*/
|
|
113
|
+
visible(): boolean;
|
|
114
|
+
/**
|
|
115
|
+
* Fires whenever that card's visibility changes — `true` when it comes into the user's sight, `false` when it leaves
|
|
116
|
+
* it —, as the reference's notification handle does (`platform/notification/common/notification.ts:240-245`): a
|
|
117
|
+
* notification is visible as a toast, or inside the notification center while the center is visible. It fires at the
|
|
118
|
+
* moments the reference's view item does (`workbench/common/notifications.ts:676-682`): the toast shown, hidden by the
|
|
119
|
+
* visible cap or taken away (`notificationsToasts.ts:297`, `:356`, `:669-682`), a center shown or hidden, and a card
|
|
120
|
+
* added to or removed from a shown center (`notificationsCenter.ts:180`, `:323`, `:347`, `:378`) — only when the
|
|
121
|
+
* visibility changes. A card that ends while visible fires `false` before {@link onDidChangeState} tells its end, as
|
|
122
|
+
* the reference takes a closed notification off the screen before its handle hears the close.
|
|
123
|
+
*/
|
|
124
|
+
readonly onDidChangeVisibility: Event<boolean>;
|
|
105
125
|
}
|
|
106
126
|
/**
|
|
107
127
|
* What the engine needs from its owner — the settings it times toasts by, where an auto-fade is counted,
|
|
@@ -183,6 +203,16 @@ export interface NativeNotificationEngine {
|
|
|
183
203
|
* notification service calls it on every change of the notification settings.
|
|
184
204
|
*/
|
|
185
205
|
readonly refresh: () => void;
|
|
206
|
+
/**
|
|
207
|
+
* A notification center is shown — the kit's `NotificationsCenter` registers while it is mounted (an overlay, gone
|
|
208
|
+
* when it hides), `NotificationPanel` while its frame has a box (a host may keep it mounted in a pane it hides);
|
|
209
|
+
* dispose the registration when it hides. While any is shown, every card counts as visible to its handles
|
|
210
|
+
* ({@link NotificationHandle.onDidChangeVisibility}): a center lists the realm's notifications — the running cards
|
|
211
|
+
* and the records of the others —, as the reference marks every notification visible while its center shows
|
|
212
|
+
* (`workbench/browser/parts/notifications/notificationsCenter.ts:180`, `:378`). A host that draws a center of its own
|
|
213
|
+
* over the stack registers it the same way.
|
|
214
|
+
*/
|
|
215
|
+
readonly registerShownCenter: () => IDisposable;
|
|
186
216
|
readonly dispose: () => void;
|
|
187
217
|
}
|
|
188
218
|
/**
|
|
@@ -245,5 +275,8 @@ export declare function hiddenRunningProgress(items: readonly NotificationItem[]
|
|
|
245
275
|
* There is no module engine: whoever shows toasts owns one.
|
|
246
276
|
*/
|
|
247
277
|
export declare function createNativeNotificationEngine(dependencies: NativeNotificationEngineDependencies): NativeNotificationEngine;
|
|
248
|
-
/**
|
|
249
|
-
|
|
278
|
+
/**
|
|
279
|
+
* The toast stack as its surfaces drive it — the toast stack and the notification centers, which register while they
|
|
280
|
+
* are shown (`registerShownCenter`).
|
|
281
|
+
*/
|
|
282
|
+
export type NotificationStack = Pick<NativeNotificationEngine, 'subscribe' | 'setHover' | 'setFocus' | 'toggleExpanded' | 'close' | 'dismiss' | 'registerShownCenter'>;
|
|
@@ -2,6 +2,7 @@ import type { NotificationAnnouncement, NotificationCardState, NotificationPrior
|
|
|
2
2
|
import type { VendorErrorRef } from '../_internal/contract/vendorErrorRef.js';
|
|
3
3
|
import type { NotificationSettings } from '../_internal/platform/settings/settingsTypes.js';
|
|
4
4
|
import { type Event } from '../_internal/base/event.js';
|
|
5
|
+
import type { IDisposable } from '../_internal/base/lifecycle.js';
|
|
5
6
|
export type { NotificationSeverity };
|
|
6
7
|
export interface NotificationAction {
|
|
7
8
|
id?: string;
|
|
@@ -46,9 +47,10 @@ export interface NotificationInput extends NotificationInputBase {
|
|
|
46
47
|
/** When set, the gear menu offers a "Don't show again" toggle keyed by this id. */
|
|
47
48
|
neverShowAgainKey?: string;
|
|
48
49
|
/**
|
|
49
|
-
* The key "remind me later" on this card silences
|
|
50
|
-
*
|
|
51
|
-
*
|
|
50
|
+
* The key "remind me later" on this card silences — it wins over `neverShowAgainKey` (`cardRemindKey`). The issuer's
|
|
51
|
+
* key (`ToastCommonOptions.remindKey`) sets it; so does a verb whose card's title moves away from the text it was
|
|
52
|
+
* issued with (a progress's `update`), with its "don't show again" key, else the key of that text, so the menu
|
|
53
|
+
* silences the next issue the decision checks. Unset, the card keys on `neverShowAgainKey`, else on its title.
|
|
52
54
|
*/
|
|
53
55
|
remindKey?: string;
|
|
54
56
|
progress?: NotificationProgress;
|
|
@@ -102,6 +104,24 @@ export interface NotificationHandle {
|
|
|
102
104
|
* (it is still `open`, in the notification center) —, with where it went.
|
|
103
105
|
*/
|
|
104
106
|
readonly onDidChangeState: Event<NotificationCardState>;
|
|
107
|
+
/**
|
|
108
|
+
* Whether the user can see that card now: on the toast stack in sight, or listed by a notification center that is
|
|
109
|
+
* shown ({@link NativeNotificationEngine.registerShownCenter}). The engine places a new card before `notify` returns,
|
|
110
|
+
* so a caller reads where it stands here and hears the changes after it ({@link onDidChangeVisibility}); `false` once
|
|
111
|
+
* the card has ended.
|
|
112
|
+
*/
|
|
113
|
+
visible(): boolean;
|
|
114
|
+
/**
|
|
115
|
+
* Fires whenever that card's visibility changes — `true` when it comes into the user's sight, `false` when it leaves
|
|
116
|
+
* it —, as the reference's notification handle does (`platform/notification/common/notification.ts:240-245`): a
|
|
117
|
+
* notification is visible as a toast, or inside the notification center while the center is visible. It fires at the
|
|
118
|
+
* moments the reference's view item does (`workbench/common/notifications.ts:676-682`): the toast shown, hidden by the
|
|
119
|
+
* visible cap or taken away (`notificationsToasts.ts:297`, `:356`, `:669-682`), a center shown or hidden, and a card
|
|
120
|
+
* added to or removed from a shown center (`notificationsCenter.ts:180`, `:323`, `:347`, `:378`) — only when the
|
|
121
|
+
* visibility changes. A card that ends while visible fires `false` before {@link onDidChangeState} tells its end, as
|
|
122
|
+
* the reference takes a closed notification off the screen before its handle hears the close.
|
|
123
|
+
*/
|
|
124
|
+
readonly onDidChangeVisibility: Event<boolean>;
|
|
105
125
|
}
|
|
106
126
|
/**
|
|
107
127
|
* What the engine needs from its owner — the settings it times toasts by, where an auto-fade is counted,
|
|
@@ -183,6 +203,16 @@ export interface NativeNotificationEngine {
|
|
|
183
203
|
* notification service calls it on every change of the notification settings.
|
|
184
204
|
*/
|
|
185
205
|
readonly refresh: () => void;
|
|
206
|
+
/**
|
|
207
|
+
* A notification center is shown — the kit's `NotificationsCenter` registers while it is mounted (an overlay, gone
|
|
208
|
+
* when it hides), `NotificationPanel` while its frame has a box (a host may keep it mounted in a pane it hides);
|
|
209
|
+
* dispose the registration when it hides. While any is shown, every card counts as visible to its handles
|
|
210
|
+
* ({@link NotificationHandle.onDidChangeVisibility}): a center lists the realm's notifications — the running cards
|
|
211
|
+
* and the records of the others —, as the reference marks every notification visible while its center shows
|
|
212
|
+
* (`workbench/browser/parts/notifications/notificationsCenter.ts:180`, `:378`). A host that draws a center of its own
|
|
213
|
+
* over the stack registers it the same way.
|
|
214
|
+
*/
|
|
215
|
+
readonly registerShownCenter: () => IDisposable;
|
|
186
216
|
readonly dispose: () => void;
|
|
187
217
|
}
|
|
188
218
|
/**
|
|
@@ -245,5 +275,8 @@ export declare function hiddenRunningProgress(items: readonly NotificationItem[]
|
|
|
245
275
|
* There is no module engine: whoever shows toasts owns one.
|
|
246
276
|
*/
|
|
247
277
|
export declare function createNativeNotificationEngine(dependencies: NativeNotificationEngineDependencies): NativeNotificationEngine;
|
|
248
|
-
/**
|
|
249
|
-
|
|
278
|
+
/**
|
|
279
|
+
* The toast stack as its surfaces drive it — the toast stack and the notification centers, which register while they
|
|
280
|
+
* are shown (`registerShownCenter`).
|
|
281
|
+
*/
|
|
282
|
+
export type NotificationStack = Pick<NativeNotificationEngine, 'subscribe' | 'setHover' | 'setFocus' | 'toggleExpanded' | 'close' | 'dismiss' | 'registerShownCenter'>;
|