@vokril/ui-solid 0.31.0 → 0.33.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 +61 -0
- package/README.md +132 -4
- package/dist/AttributeGrid-CNkALmJq.cjs +1 -0
- package/dist/AttributeGrid-DnuTPJ_P.js +320 -0
- package/dist/{Button-4meERfnv.js → Button-CX7mylBT.js} +125 -117
- 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-Ba3MD9CG.js → HostPortal-De65s6CU.js} +1 -1
- package/dist/{HostPortal-CpWsArs6.cjs → HostPortal-Dm4BmY8M.cjs} +1 -1
- package/dist/{IconPicker-D1G8HK92.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-zNyjLPlk.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-ZTEhZFmJ.js → StatusBarNotificationBell-DKDoWK71.js} +4879 -4789
- package/dist/StatusBarNotificationBell-wO16mjon.cjs +50 -0
- package/dist/Stepper-DzI-gtKd.js +586 -0
- package/dist/Stepper-rpu7lpzB.cjs +1 -0
- package/dist/{Textarea-DASNQNoi.cjs → Textarea-D4nYoQ0J.cjs} +1 -1
- package/dist/{Textarea-szHXQahi.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/browser/workspace.d.cts +15 -0
- package/dist/_internal/contract/browser/workspace.d.ts +15 -0
- package/dist/_internal/contract/menuDensity.d.cts +8 -0
- package/dist/_internal/contract/menuDensity.d.ts +8 -0
- package/dist/_internal/contract/notification.d.cts +19 -3
- package/dist/_internal/contract/notification.d.ts +19 -3
- package/dist/_internal/platform/settings/settingsTypes.d.cts +2 -2
- package/dist/_internal/platform/settings/settingsTypes.d.ts +2 -2
- package/dist/a11y/index.cjs +1 -1
- package/dist/a11y/index.js +1 -1
- package/dist/appThemeDerivation-Be_oKljl.cjs +1 -0
- package/dist/{server/appThemeDerivation-DBAOkGl7.js → appThemeDerivation-CKoSe4KP.js} +231 -260
- package/dist/base.css +1 -1
- package/dist/charts/index.cjs +1 -1
- package/dist/charts/index.js +1 -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 +228 -227
- 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/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 +940 -938
- 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/mainRealmDom-BcPuVvcy.cjs +1 -0
- package/dist/mainRealmDom-DydRT2Us.js +54 -0
- package/dist/{server/useSettingsSubscription-DLEk4k4j.js → menuDensity-6x_EqCGb.js} +7 -5
- package/dist/{server/useSettingsSubscription-DKjCwmRd.cjs → menuDensity-Cf74__OQ.cjs} +1 -1
- 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/holdWhileShown.d.cts +18 -0
- package/dist/notifications/holdWhileShown.d.ts +18 -0
- package/dist/notifications/index.cjs +1 -1
- package/dist/notifications/index.js +3 -3
- package/dist/notifications/nativeEngine.d.cts +34 -2
- package/dist/notifications/nativeEngine.d.ts +34 -2
- package/dist/notifications/notificationEntryList.d.cts +18 -5
- package/dist/notifications/notificationEntryList.d.ts +18 -5
- package/dist/notifications/notificationOverlaySnapshot.d.cts +35 -6
- package/dist/notifications/notificationOverlaySnapshot.d.ts +35 -6
- package/dist/overlay/Modal.d.cts +17 -3
- package/dist/overlay/Modal.d.ts +17 -3
- 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 +46 -43
- package/dist/overlay/modalDefaults.d.cts +23 -0
- package/dist/overlay/modalDefaults.d.ts +23 -0
- package/dist/overlay/modalViewport.d.cts +17 -2
- package/dist/overlay/modalViewport.d.ts +17 -2
- package/dist/pageTourState-BuA-GBYO.cjs +5 -0
- package/dist/{server/pageTourState-BcBF8w89.js → pageTourState-DsSKdPOu.js} +160 -169
- package/dist/rowSource-D8gyHbEE.cjs +1 -0
- package/dist/rowSource-_4IuosKj.js +1236 -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-C4IrAeWN.js → HostPortal-C4xdfRyM.js} +1 -1
- package/dist/server/{HostPortal-D5ECrJvn.cjs → HostPortal-CwyePpDX.cjs} +1 -1
- package/dist/server/{IconPicker-DDWgB7sm.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-DEp4eEUv.cjs +49 -0
- package/dist/server/{StatusBarNotificationBell-DW2l5O9B.js → StatusBarNotificationBell-kOm2ZNkl.js} +4567 -4477
- package/dist/server/Stepper-C04rOZcI.cjs +1 -0
- package/dist/server/Stepper-CVAOsf3o.js +381 -0
- package/dist/server/{Textarea-Bh5LVrBn.cjs → Textarea-BG6F8taO.cjs} +1 -1
- package/dist/server/{Textarea-DVkfGkP0.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/a11y/index.cjs +1 -1
- package/dist/server/a11y/index.js +1 -1
- package/dist/server/appThemeDerivation-Be_oKljl.cjs +1 -0
- package/dist/{appThemeDerivation-DBAOkGl7.js → server/appThemeDerivation-CKoSe4KP.js} +231 -260
- 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-Dvu7iEk1.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 +153 -152
- 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-BEARfm54.js → index-CPUZyKo7.js} +2 -2
- package/dist/server/{index-C6rYfWCJ.cjs → index-CVbkasNJ.cjs} +1 -1
- package/dist/server/index.cjs +1 -1
- package/dist/server/index.js +673 -671
- 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/{useSettingsSubscription-DLEk4k4j.js → server/menuDensity-6x_EqCGb.js} +7 -5
- package/dist/{useSettingsSubscription-DKjCwmRd.cjs → server/menuDensity-Cf74__OQ.cjs} +1 -1
- 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 +3 -3
- package/dist/server/overlay/index.cjs +1 -1
- package/dist/server/overlay/index.js +32 -29
- package/dist/server/pageTourState-BuA-GBYO.cjs +5 -0
- package/dist/{pageTourState-BcBF8w89.js → server/pageTourState-DsSKdPOu.js} +160 -169
- package/dist/server/rowSource-BSa7rgYJ.js +1128 -0
- package/dist/server/rowSource-Yw-xtlih.cjs +1 -0
- package/dist/server/settings/index.cjs +1 -1
- package/dist/server/settings/index.js +26 -25
- package/dist/server/tokens/index.cjs +1 -1
- package/dist/server/tokens/index.js +29 -28
- 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/settings/index.cjs +1 -1
- package/dist/settings/index.js +26 -25
- package/dist/solid/_internal/app/onboarding/PageTourHost.jsx +11 -10
- package/dist/solid/_internal/app/onboarding/pageTourState.js +12 -23
- package/dist/solid/_internal/contract/menuDensity.js +1 -0
- package/dist/solid/_internal/platform/settings/settingsTypes.js +1 -0
- package/dist/solid/charts/TimeSeriesChart.jsx +23 -22
- package/dist/solid/desktop/WindowControls.jsx +6 -3
- package/dist/solid/feedback/Badge.jsx +9 -5
- package/dist/solid/feedback/ErrorBoundary.jsx +18 -14
- package/dist/solid/forms/Button.jsx +15 -9
- 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/InputMessage.jsx +11 -10
- 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 +14 -9
- 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 +6 -5
- package/dist/solid/navigation/Accordion.jsx +8 -5
- package/dist/solid/navigation/Tabs.jsx +11 -8
- package/dist/solid/notifications/NotificationHost.jsx +3 -16
- package/dist/solid/notifications/NotificationItem.jsx +59 -55
- package/dist/solid/notifications/NotificationPanel.jsx +16 -8
- package/dist/solid/notifications/NotificationsCenter.jsx +2 -0
- package/dist/solid/notifications/StatusBarNotificationBell.jsx +4 -3
- package/dist/solid/notifications/createNotificationPreviewRuntime.js +2 -0
- package/dist/solid/notifications/holdWhileShown.js +30 -0
- package/dist/solid/notifications/nativeEngine.js +52 -1
- package/dist/solid/notifications/notificationEntryList.js +25 -9
- package/dist/solid/notifications/notificationOverlaySnapshot.js +26 -0
- package/dist/solid/notifications/toast.js +4 -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/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 +44 -35
- package/dist/solid/overlay/OverlayScrollArea.jsx +5 -3
- package/dist/solid/overlay/Tooltip.jsx +5 -4
- package/dist/solid/overlay/command-palette/CommandPalette.jsx +7 -7
- package/dist/solid/overlay/context-menu/DesktopContextMenu.jsx +65 -50
- 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/popover/Popover.jsx +17 -11
- package/dist/solid/overlay/tour/GuidedTour.jsx +18 -14
- package/dist/solid/tokens/palette/index.js +1 -0
- package/dist/solid/tree/TreeRow.jsx +21 -16
- package/dist/solid/tree/TreeSurface.jsx +15 -14
- package/dist/solid/widgets/SettingsField.jsx +11 -10
- package/dist/style.css +3 -2
- package/dist/theme.css +2 -1
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.js +29 -28
- 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/tokens.css +2 -1
- package/dist/tree/TreeRow.d.cts +5 -4
- package/dist/tree/TreeRow.d.ts +5 -4
- package/dist/tree/descriptor.d.cts +13 -3
- package/dist/tree/descriptor.d.ts +13 -3
- 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-Ch1k9v5j.cjs +0 -1
- package/dist/AttributeGrid-DqFd4gBm.js +0 -320
- package/dist/Button-OyZHrl-t.cjs +0 -1
- package/dist/CommandPalette-CxYZUJtN.cjs +0 -2
- package/dist/CommandPalette-DwOp8y1-.js +0 -4018
- package/dist/CopyButton-16QNPgz6.cjs +0 -1
- package/dist/CopyButton-BVS49lMS.js +0 -63
- package/dist/DateRangePicker-8QvydugY.js +0 -550
- package/dist/DateRangePicker-DI-06xWY.cjs +0 -9
- package/dist/EmptyState-B9TxGJ5v.cjs +0 -1
- package/dist/EmptyState-Dph6HU74.js +0 -50
- package/dist/GuidedTour-DUQwdW8n.cjs +0 -1
- package/dist/GuidedTour-DXMmHn0o.js +0 -483
- package/dist/IconPicker-Q-ZDtNkd.cjs +0 -1
- package/dist/Input-Brp5EDhg.cjs +0 -1
- package/dist/Input-CZi8KEfm.js +0 -374
- package/dist/Modal-CBi7Wd2V.cjs +0 -1
- package/dist/Modal-iyY1HUtr.js +0 -588
- package/dist/OverlayScrollArea-BSlaXG1h.cjs +0 -1
- package/dist/OverlayScrollArea-c8Za77qs.js +0 -180
- package/dist/PageSkeleton-B_-4fz1q.cjs +0 -30
- package/dist/Popover-DVi179wu.js +0 -207
- package/dist/Popover-DXrczbt9.cjs +0 -1
- package/dist/SearchableSelect-DtHbWJhR.js +0 -328
- package/dist/SearchableSelect-yLVqCGFo.cjs +0 -1
- package/dist/StatusBarNotificationBell-DQs5g1K6.cjs +0 -50
- package/dist/Stepper-CyRgzWlR.js +0 -583
- package/dist/Stepper-u2ZsE5oP.cjs +0 -1
- package/dist/TimeSeriesChart-D7lIqolp.js +0 -441
- package/dist/TimeSeriesChart-DGzM9B--.cjs +0 -1
- package/dist/ToggleButton-B22PsCqo.js +0 -2138
- package/dist/ToggleButton-DWslrIBN.cjs +0 -1
- package/dist/appThemeDerivation-BylmT80v.cjs +0 -1
- package/dist/createDialogShellFocus-CQ0VNC2g.cjs +0 -1
- package/dist/createDialogShellFocus-DbiQmLgb.js +0 -282
- package/dist/createResizableSidebar-COlpGQ7H.cjs +0 -1
- package/dist/createResizableSidebar-cmCKTIg_.js +0 -504
- package/dist/kitHost-BfJExE1G.cjs +0 -1
- package/dist/kitHost-CVAEi9sF.js +0 -23
- package/dist/mainRealmDom-B215swW-.js +0 -166
- package/dist/mainRealmDom-BYGSE-fo.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-Bpjlauuz.js +0 -281
- package/dist/server/AttributeGrid-DNYdKb8J.cjs +0 -1
- package/dist/server/Button-0AXWRw9Q.cjs +0 -1
- package/dist/server/Button-3yNrnn4P.js +0 -220
- package/dist/server/CommandPalette-BuVxnqBG.cjs +0 -1
- package/dist/server/CommandPalette-Dn3NKXPM.js +0 -3291
- package/dist/server/CopyButton-B6xd9Z6j.js +0 -64
- package/dist/server/CopyButton-D8IN6Vnd.cjs +0 -1
- package/dist/server/DateRangePicker-BFzNjaME.cjs +0 -9
- package/dist/server/DateRangePicker-CnYkTgXX.js +0 -484
- package/dist/server/EmptyState-BnAHklc5.cjs +0 -1
- package/dist/server/GuidedTour-BZardPYW.js +0 -400
- package/dist/server/GuidedTour-yhdZk2SU.cjs +0 -1
- package/dist/server/IconPicker-C5lAN9pX.cjs +0 -1
- package/dist/server/Input-AdF-i0O8.js +0 -245
- package/dist/server/Input-XF9Jr0G9.cjs +0 -1
- package/dist/server/Modal-C5dzgcRW.js +0 -420
- package/dist/server/Modal-nAhBS1L9.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-C5avmGWz.cjs +0 -1
- package/dist/server/Popover-H3AAYZI0.js +0 -439
- package/dist/server/SearchableSelect-CZrXDKfC.cjs +0 -1
- package/dist/server/SearchableSelect-DMqed5Er.js +0 -205
- package/dist/server/StatusBarNotificationBell-CGcMdT4h.cjs +0 -49
- package/dist/server/Stepper-CpapA_WH.cjs +0 -1
- package/dist/server/Stepper-gGA7JwjV.js +0 -375
- package/dist/server/TimeSeriesChart-BQVXUFoj.cjs +0 -1
- package/dist/server/TimeSeriesChart-PAb95s6x.js +0 -242
- package/dist/server/ToggleButton-CA9T-OsI.cjs +0 -1
- package/dist/server/ToggleButton-CBNKajZa.js +0 -1335
- package/dist/server/appThemeDerivation-BylmT80v.cjs +0 -1
- package/dist/server/createDialogShellFocus-CDaLuPg8.cjs +0 -1
- package/dist/server/createDialogShellFocus-LGDBOVnr.js +0 -369
- package/dist/server/createResizableSidebar-v40ZOb-Q.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
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { createComponent as e } from "solid-js/web";
|
|
2
|
+
import { createContext as r, useContext as o } from "solid-js";
|
|
3
|
+
import { B as s } from "./bugIndicatingError-h3J5qkL6.js";
|
|
4
|
+
const n = r({});
|
|
5
|
+
function a(t) {
|
|
6
|
+
return e(n.Provider, {
|
|
7
|
+
get value() {
|
|
8
|
+
return t.value;
|
|
9
|
+
},
|
|
10
|
+
get children() {
|
|
11
|
+
return t.children;
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
function d() {
|
|
16
|
+
return o(n);
|
|
17
|
+
}
|
|
18
|
+
const i = r();
|
|
19
|
+
function v(t) {
|
|
20
|
+
const u = d();
|
|
21
|
+
return e(i.Provider, {
|
|
22
|
+
get value() {
|
|
23
|
+
return t.host;
|
|
24
|
+
},
|
|
25
|
+
get children() {
|
|
26
|
+
return e(a, {
|
|
27
|
+
get value() {
|
|
28
|
+
return t.modals ?? u;
|
|
29
|
+
},
|
|
30
|
+
get children() {
|
|
31
|
+
return t.children;
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
function f() {
|
|
38
|
+
const t = o(i);
|
|
39
|
+
if (t === void 0) throw new s("useKitHost: this component has no KitHostProvider above it — wrap its root in <KitHostProvider host={…}>.");
|
|
40
|
+
return t;
|
|
41
|
+
}
|
|
42
|
+
export {
|
|
43
|
+
v as K,
|
|
44
|
+
a as M,
|
|
45
|
+
d as a,
|
|
46
|
+
f as u
|
|
47
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const r=require("solid-js/web"),e=require("solid-js"),a=require("./bugIndicatingError-D2X5Hfgg.cjs"),o=e.createContext({});function n(t){return r.createComponent(o.Provider,{get value(){return t.value},get children(){return t.children}})}function i(){return e.useContext(o)}const u=e.createContext();function c(t){const s=i();return r.createComponent(u.Provider,{get value(){return t.host},get children(){return r.createComponent(n,{get value(){return t.modals??s},get children(){return t.children}})}})}function d(){const t=e.useContext(u);if(t===void 0)throw new a.BugIndicatingError("useKitHost: this component has no KitHostProvider above it — wrap its root in <KitHostProvider host={…}>.");return t}exports.KitHostProvider=c;exports.ModalDefaultsProvider=n;exports.useKitHost=d;exports.useModalDefaults=i;
|
package/dist/layout/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../createResizableSidebar-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../createResizableSidebar-DlVAuq5t.cjs"),r=require("../Stepper-rpu7lpzB.cjs"),a=require("../createVirtualWindow-C8_UuF7B.cjs");exports.PageHeader=e.PageHeader;exports.PageHeaderIcon=e.PageHeaderIcon;exports.ResizableSplitPane=e.ResizableSplitPane;exports.ResizeHandle=e.ResizeHandle;exports.createResizableSidebar=e.createResizableSidebar;exports.createVirtualScroller=e.createVirtualScroller;exports.Accordion=r.Accordion;exports.Breadcrumb=r.Breadcrumb;exports.Stepper=r.Stepper;exports.Tabs=r.Tabs;exports.createVirtualWindow=a.createVirtualWindow;
|
package/dist/layout/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as r, a as s, R as o, b as c, c as t, d as i } from "../createResizableSidebar
|
|
2
|
-
import { A as l, B as b, S as p, T as n } from "../Stepper-
|
|
1
|
+
import { P as r, a as s, R as o, b as c, c as t, d as i } from "../createResizableSidebar--Ve6DbDu.js";
|
|
2
|
+
import { A as l, B as b, S as p, T as n } from "../Stepper-DzI-gtKd.js";
|
|
3
3
|
import { c as m } from "../createVirtualWindow-CGPw2jm_.js";
|
|
4
4
|
export {
|
|
5
5
|
l as Accordion,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const t=require("solid-js/web"),l=require("solid-js"),s="vk_root_hnB4O",m="vk_sm_rCrHH",_="vk_icon_CC9U3",u="vk_title_aimU- vk_titleSmMargin_PPvAx",v="vk_hint_r7IWi vk_hintSm_DYtn8",h="vk_action_05ZVL",r={root:s,sm:m,icon:_,title:u,hint:v,action:h};var d=t.template("<div aria-hidden=true>"),f=t.template("<p>"),$=t.template("<div>"),k=t.template("<div data-empty-state><p>");function g(n){return(()=>{var i=k(),c=i.firstChild;return t.insert(i,t.createComponent(l.Show,{get when(){return n.icon!=null},get children(){var e=d();return t.insert(e,()=>n.icon),t.effect(()=>t.className(e,r.icon)),e}}),c),t.insert(c,()=>n.title),t.insert(i,t.createComponent(l.Show,{get when(){return n.hint!=null},get children(){var e=f();return t.insert(e,()=>n.hint),t.effect(()=>t.className(e,r.hint)),e}}),null),t.insert(i,t.createComponent(l.Show,{get when(){return n.action!=null},get children(){var e=$();return t.insert(e,()=>n.action),t.effect(()=>t.className(e,r.action)),e}}),null),t.effect(e=>{var a=`${r.root} ${n.size==="sm"?r.sm:""} ${n.class??""}`,o=r.title;return a!==e.e&&t.className(i,e.e=a),o!==e.t&&t.className(c,e.t=o),e},{e:void 0,t:void 0}),i})()}function w(n){return document.createElement(n)}exports.EmptyState=g;exports.createElement=w;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { insert as n, createComponent as m, effect as c, className as l, template as o } from "solid-js/web";
|
|
2
|
+
import { Show as _ } from "solid-js";
|
|
3
|
+
const h = "vk_root_hnB4O", s = "vk_sm_rCrHH", d = "vk_icon_CC9U3", $ = "vk_title_aimU- vk_titleSmMargin_PPvAx", k = "vk_hint_r7IWi vk_hintSm_DYtn8", f = "vk_action_05ZVL", r = {
|
|
4
|
+
root: h,
|
|
5
|
+
sm: s,
|
|
6
|
+
icon: d,
|
|
7
|
+
title: $,
|
|
8
|
+
hint: k,
|
|
9
|
+
action: f
|
|
10
|
+
};
|
|
11
|
+
var g = /* @__PURE__ */ o("<div aria-hidden=true>"), C = /* @__PURE__ */ o("<p>"), w = /* @__PURE__ */ o("<div>"), E = /* @__PURE__ */ o("<div data-empty-state><p>");
|
|
12
|
+
function x(e) {
|
|
13
|
+
return (() => {
|
|
14
|
+
var i = E(), a = i.firstChild;
|
|
15
|
+
return n(i, m(_, {
|
|
16
|
+
get when() {
|
|
17
|
+
return e.icon != null;
|
|
18
|
+
},
|
|
19
|
+
get children() {
|
|
20
|
+
var t = g();
|
|
21
|
+
return n(t, () => e.icon), c(() => l(t, r.icon)), t;
|
|
22
|
+
}
|
|
23
|
+
}), a), n(a, () => e.title), n(i, m(_, {
|
|
24
|
+
get when() {
|
|
25
|
+
return e.hint != null;
|
|
26
|
+
},
|
|
27
|
+
get children() {
|
|
28
|
+
var t = C();
|
|
29
|
+
return n(t, () => e.hint), c(() => l(t, r.hint)), t;
|
|
30
|
+
}
|
|
31
|
+
}), null), n(i, m(_, {
|
|
32
|
+
get when() {
|
|
33
|
+
return e.action != null;
|
|
34
|
+
},
|
|
35
|
+
get children() {
|
|
36
|
+
var t = w();
|
|
37
|
+
return n(t, () => e.action), c(() => l(t, r.action)), t;
|
|
38
|
+
}
|
|
39
|
+
}), null), c((t) => {
|
|
40
|
+
var v = `${r.root} ${e.size === "sm" ? r.sm : ""} ${e.class ?? ""}`, u = r.title;
|
|
41
|
+
return v !== t.e && l(i, t.e = v), u !== t.t && l(a, t.t = u), t;
|
|
42
|
+
}, {
|
|
43
|
+
e: void 0,
|
|
44
|
+
t: void 0
|
|
45
|
+
}), i;
|
|
46
|
+
})();
|
|
47
|
+
}
|
|
48
|
+
function H(e) {
|
|
49
|
+
return document.createElement(e);
|
|
50
|
+
}
|
|
51
|
+
export {
|
|
52
|
+
x as E,
|
|
53
|
+
H as c
|
|
54
|
+
};
|
|
@@ -145,7 +145,7 @@ function R(t, n) {
|
|
|
145
145
|
}
|
|
146
146
|
return o;
|
|
147
147
|
}
|
|
148
|
-
const
|
|
148
|
+
const _ = w({
|
|
149
149
|
key: "notificationSettings",
|
|
150
150
|
changeEvent: H,
|
|
151
151
|
fields: {
|
|
@@ -337,18 +337,20 @@ const C = w({
|
|
|
337
337
|
reduceMotion: { kind: "bool", default: e.reduceMotion }
|
|
338
338
|
}
|
|
339
339
|
});
|
|
340
|
-
function
|
|
340
|
+
function C(t, n) {
|
|
341
341
|
const o = (u) => {
|
|
342
342
|
const a = u.detail;
|
|
343
343
|
a != null && n(a);
|
|
344
344
|
};
|
|
345
345
|
window.addEventListener(t.changeEvent, o), O(() => window.removeEventListener(t.changeEvent, o));
|
|
346
346
|
}
|
|
347
|
+
const P = ["compact", "normal", "sparse"];
|
|
347
348
|
export {
|
|
348
349
|
T as D,
|
|
349
350
|
M,
|
|
350
|
-
|
|
351
|
-
|
|
351
|
+
P as a,
|
|
352
|
+
N as b,
|
|
353
|
+
_ as n,
|
|
352
354
|
W as p,
|
|
353
|
-
|
|
355
|
+
C as u
|
|
354
356
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const w=require("./defineSettings-D0CSMcyy.cjs"),O=require("solid-js"),b=1e3,k=6e4;function
|
|
1
|
+
"use strict";const w=require("./defineSettings-D0CSMcyy.cjs"),O=require("solid-js"),b=1e3,k=6e4;function I(t,n){if(t.trim()==="")return n;const o=Number(t);return Number.isFinite(o)?Math.min(k,Math.max(b,o)):n}const T={notificationsEnabled:!0,toastPosition:"bottom-right",showSuccessToasts:!0,soundOnQueryCompletion:!1,longRunningQueryThresholdMs:5e3,showLongRunningNotification:!0,mutedSources:[],dontShowAgainKeys:[],remindersUntil:[],notificationWidth:450,maxVisibleNotifications:3,markdownEnabled:!1,infoDurationMs:1e4,successDurationMs:6e3,warningDurationMs:12e3,errorDurationMs:15e3,errorsAlwaysSticky:!1,warningsAlwaysSticky:!1,doNotDisturb:!1,dndBlocksUrgent:!1,urgentRoutesToCenterOnly:!1,soundOnInfo:!1,soundOnSuccess:!1,soundOnWarning:!1,soundOnError:!1,pauseTimerWhileHidden:!0,vendorCodesAreUrgent:!1,remindLaterEnabled:!0,showAdvancedSettings:!1,osNativeEnabled:!1,osNativeOnlyWhenUnfocused:!0,osNativeMinSeverity:"warning",osNativeUrgentAlways:!0,badgeCountEnabled:!0,badgeCountMax:99,quietHoursEnabled:!1,quietHoursStart:"22:00",quietHoursEnd:"08:00",quietHoursWeekdays:[0,1,2,3,4,5,6],quietHoursBlocksUrgent:!1,quietHoursMutesSounds:!0,customSoundInfo:"",customSoundSuccess:"",customSoundWarning:"",customSoundError:"",webhooks:[],emailDigestEnabled:!1,emailDigestSmtpHost:"",emailDigestSmtpPort:587,emailDigestSmtpSecure:!1,emailDigestSmtpUser:"",emailDigestSmtpPass:"",emailDigestFrom:"",emailDigestTo:"",emailDigestSchedule:"daily-9am",emailDigestMinSeverity:"warning",timelineGroupingEnabled:!1,timelineGroupBy:"source-severity",notificationRules:[],animationDuration:"normal",reduceMotion:!1},H="app-notification-settings-change",U=["bottom-right","bottom-left","top-right","top-left"],g=0,S=12e4,e=T;function M(t,n){return Array.isArray(t)?Array.from(new Set(t.filter(o=>typeof o=="string"&&o.length>0))):[...n]}function _(t,n){var u,a,l,d,s,c,r,p,N,D,E;if(!Array.isArray(t))return[...n];const o=[];for(const y of t){if(typeof y!="object"||y===null)continue;const i=y;typeof i.id=="string"&&o.push({id:i.id,name:typeof i.name=="string"?i.name:"Rule",enabled:typeof i.enabled=="boolean"?i.enabled:!0,conditions:(()=>{var h,A,v;const f={};return typeof((h=i.conditions)==null?void 0:h.source)=="string"&&(f.source=i.conditions.source),Array.isArray((A=i.conditions)==null?void 0:A.severities)&&(f.severities=i.conditions.severities.filter(m=>m==="info"||m==="success"||m==="warning"||m==="error")),typeof((v=i.conditions)==null?void 0:v.titleRegex)=="string"&&(f.titleRegex=i.conditions.titleRegex),f})(),actions:{...((u=i.actions)==null?void 0:u.setSeverity)==="info"||((a=i.actions)==null?void 0:a.setSeverity)==="success"||((l=i.actions)==null?void 0:l.setSeverity)==="warning"||((d=i.actions)==null?void 0:d.setSeverity)==="error"?{setSeverity:i.actions.setSeverity}:{},...((s=i.actions)==null?void 0:s.setPriority)==="urgent"||((c=i.actions)==null?void 0:c.setPriority)==="default"||((r=i.actions)==null?void 0:r.setPriority)==="optional"||((p=i.actions)==null?void 0:p.setPriority)==="silent"||((N=i.actions)==null?void 0:N.setPriority)==="acknowledgment-required"?{setPriority:i.actions.setPriority}:{},...typeof((D=i.actions)==null?void 0:D.addPrefix)=="string"?{addPrefix:i.actions.addPrefix}:{},...typeof((E=i.actions)==null?void 0:E.suppress)=="boolean"?{suppress:i.actions.suppress}:{}}})}return o}function R(t,n){var u,a,l;if(!Array.isArray(t))return[...n];const o=[];for(const d of t){if(typeof d!="object"||d===null)continue;const s=d;if(typeof s.id!="string")continue;const c=s.type==="slack"||s.type==="discord"||s.type==="generic"?s.type:"generic";o.push({id:s.id,name:typeof s.name=="string"?s.name:"Webhook",type:c,url:"",enabled:typeof s.enabled=="boolean"?s.enabled:!0,filters:{severities:Array.isArray((u=s.filters)==null?void 0:u.severities)?s.filters.severities.filter(r=>r==="info"||r==="success"||r==="warning"||r==="error"):[],priorities:Array.isArray((a=s.filters)==null?void 0:a.priorities)?s.filters.priorities.filter(r=>r==="urgent"||r==="default"||r==="optional"||r==="silent"):[],sources:Array.isArray((l=s.filters)==null?void 0:l.sources)?s.filters.sources.filter(r=>typeof r=="string"):[]}})}return o}const q=w.defineSettings({key:"notificationSettings",changeEvent:H,fields:{notificationsEnabled:{kind:"bool",default:e.notificationsEnabled},toastPosition:{kind:"enum",values:U,default:e.toastPosition},showSuccessToasts:{kind:"bool",default:e.showSuccessToasts},soundOnQueryCompletion:{kind:"bool",default:e.soundOnQueryCompletion},longRunningQueryThresholdMs:{kind:"int",min:b,max:k,default:e.longRunningQueryThresholdMs},showLongRunningNotification:{kind:"bool",default:e.showLongRunningNotification},mutedSources:{kind:"custom",default:e.mutedSources,normalize:(t,n)=>M(t,n)},dontShowAgainKeys:{kind:"custom",default:e.dontShowAgainKeys,normalize:(t,n)=>M(t,n)},remindersUntil:{kind:"custom",default:e.remindersUntil,normalize:(t,n)=>Array.isArray(t)?t.filter(o=>typeof o=="object"&&o!==null&&typeof o.key=="string"&&typeof o.remindAt=="number").filter(o=>o.remindAt>Date.now()):[...n]},notificationWidth:{kind:"int",min:320,max:700,default:e.notificationWidth},maxVisibleNotifications:{kind:"int",min:1,max:8,default:e.maxVisibleNotifications},markdownEnabled:{kind:"bool",default:e.markdownEnabled},infoDurationMs:{kind:"int",min:g,max:S,default:e.infoDurationMs},successDurationMs:{kind:"int",min:g,max:S,default:e.successDurationMs},warningDurationMs:{kind:"int",min:g,max:S,default:e.warningDurationMs},errorDurationMs:{kind:"int",min:g,max:S,default:e.errorDurationMs},errorsAlwaysSticky:{kind:"bool",default:e.errorsAlwaysSticky},warningsAlwaysSticky:{kind:"bool",default:e.warningsAlwaysSticky},doNotDisturb:{kind:"bool",default:e.doNotDisturb},dndBlocksUrgent:{kind:"bool",default:e.dndBlocksUrgent},urgentRoutesToCenterOnly:{kind:"bool",default:e.urgentRoutesToCenterOnly},soundOnInfo:{kind:"bool",default:e.soundOnInfo},soundOnSuccess:{kind:"bool",default:e.soundOnSuccess},soundOnWarning:{kind:"bool",default:e.soundOnWarning},soundOnError:{kind:"bool",default:e.soundOnError},pauseTimerWhileHidden:{kind:"bool",default:e.pauseTimerWhileHidden},vendorCodesAreUrgent:{kind:"bool",default:e.vendorCodesAreUrgent},remindLaterEnabled:{kind:"bool",default:e.remindLaterEnabled},showAdvancedSettings:{kind:"bool",default:e.showAdvancedSettings},osNativeEnabled:{kind:"bool",default:e.osNativeEnabled},osNativeOnlyWhenUnfocused:{kind:"bool",default:e.osNativeOnlyWhenUnfocused},osNativeMinSeverity:{kind:"enum",values:["info","success","warning","error"],default:e.osNativeMinSeverity},osNativeUrgentAlways:{kind:"bool",default:e.osNativeUrgentAlways},badgeCountEnabled:{kind:"bool",default:e.badgeCountEnabled},badgeCountMax:{kind:"int",min:1,max:9999,default:e.badgeCountMax},quietHoursEnabled:{kind:"bool",default:e.quietHoursEnabled},quietHoursStart:{kind:"custom",default:e.quietHoursStart,normalize:(t,n)=>typeof t=="string"&&/^\d{2}:\d{2}$/.test(t)?t:n},quietHoursEnd:{kind:"custom",default:e.quietHoursEnd,normalize:(t,n)=>typeof t=="string"&&/^\d{2}:\d{2}$/.test(t)?t:n},quietHoursWeekdays:{kind:"custom",default:e.quietHoursWeekdays,normalize:(t,n)=>Array.isArray(t)?Array.from(new Set(t.filter(o=>typeof o=="number"&&Number.isInteger(o)&&o>=0&&o<=6))).sort():[...n]},quietHoursBlocksUrgent:{kind:"bool",default:e.quietHoursBlocksUrgent},quietHoursMutesSounds:{kind:"bool",default:e.quietHoursMutesSounds},customSoundInfo:{kind:"string",default:e.customSoundInfo},customSoundSuccess:{kind:"string",default:e.customSoundSuccess},customSoundWarning:{kind:"string",default:e.customSoundWarning},customSoundError:{kind:"string",default:e.customSoundError},webhooks:{kind:"custom",default:e.webhooks,normalize:(t,n)=>R(t,n)},emailDigestEnabled:{kind:"bool",default:e.emailDigestEnabled},emailDigestSmtpHost:{kind:"string",default:e.emailDigestSmtpHost},emailDigestSmtpPort:{kind:"int",min:1,max:65535,default:e.emailDigestSmtpPort},emailDigestSmtpSecure:{kind:"bool",default:e.emailDigestSmtpSecure},emailDigestSmtpUser:{kind:"string",default:e.emailDigestSmtpUser},emailDigestSmtpPass:{kind:"string",default:"",secret:!0},emailDigestFrom:{kind:"string",default:e.emailDigestFrom},emailDigestTo:{kind:"string",default:e.emailDigestTo},emailDigestSchedule:{kind:"enum",values:["hourly","daily-9am","daily-5pm","weekly-mon-9am"],default:e.emailDigestSchedule},emailDigestMinSeverity:{kind:"enum",values:["info","success","warning","error"],default:e.emailDigestMinSeverity},timelineGroupingEnabled:{kind:"bool",default:e.timelineGroupingEnabled},timelineGroupBy:{kind:"enum",values:["source","source-severity"],default:e.timelineGroupBy},notificationRules:{kind:"custom",default:e.notificationRules,normalize:(t,n)=>_(t,n)},animationDuration:{kind:"enum",values:["fast","normal","slow"],default:e.animationDuration},reduceMotion:{kind:"bool",default:e.reduceMotion}}});function x(t,n){const o=u=>{const a=u.detail;a!=null&&n(a)};window.addEventListener(t.changeEvent,o),O.onCleanup(()=>window.removeEventListener(t.changeEvent,o))}const L=["compact","normal","sparse"];exports.DEFAULT_NOTIFICATION_SETTINGS=T;exports.MAX_LONG_RUNNING_THRESHOLD_MS=k;exports.MENU_DENSITIES=L;exports.MIN_LONG_RUNNING_THRESHOLD_MS=b;exports.notificationSettings=q;exports.parseLongRunningThresholdMs=I;exports.useSettingsSubscription=x;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Stepper-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Stepper-rpu7lpzB.cjs"),a=require("../tablistKeyboard-DtVKTEWz.cjs"),t=require("../createSelectionIndicator-DaZspPf1.cjs");exports.Accordion=e.Accordion;exports.Breadcrumb=e.Breadcrumb;exports.Stepper=e.Stepper;exports.Tabs=e.Tabs;exports.tabId=e.tabId;exports.tabPanelAria=e.tabPanelAria;exports.tabPanelId=e.tabPanelId;exports.createTablistKeyboardHandler=a.createTablistKeyboardHandler;exports.isTablistNavigationKey=a.isTablistNavigationKey;exports.resolveTablistNavigationTarget=a.resolveTablistNavigationTarget;exports.rovingTabIndex=a.rovingTabIndex;exports.createSelectionIndicator=t.createSelectionIndicator;
|
package/dist/navigation/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as r, B as s, S as t, T as o, t as i, a as b, b as n } from "../Stepper-
|
|
1
|
+
import { A as r, B as s, S as t, T as o, t as i, a as b, b as n } from "../Stepper-DzI-gtKd.js";
|
|
2
2
|
import { c as d, i as l, r as T, a as p } from "../tablistKeyboard-AxJcXuc5.js";
|
|
3
3
|
import { c as m } from "../createSelectionIndicator-BnxXUMlT.js";
|
|
4
4
|
export {
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import { use as B, insert as f, createComponent as b, effect as m, className as d, memo as D, style as x, setAttribute as c, template as W, delegateEvents as w } from "solid-js/web";
|
|
2
|
+
import { createUniqueId as y, createMemo as C, onCleanup as I, Show as S } from "solid-js";
|
|
3
|
+
import { r as L, t as z, h as M } from "./nativeTitleHold-A9jUISgQ.js";
|
|
4
|
+
const A = "vk_badge_H207K", X = "vk_icon_pYYcO", E = "vk_dot_rH6r0", H = "vk_sm_wGIZ-", P = "vk_minWidth_COglg", O = "vk_uppercase_VXoV8", V = "vk_toneNeutral_X8HW3", j = "vk_toneBrand_yGkjl", q = "vk_toneInfo_wp-9H", F = "vk_toneSuccess_VG8jt", R = "vk_toneWarning_zPFLO", G = "vk_toneDanger_cRUoq", K = "vk_soft_8b-4T", U = "vk_outline_gFFWD", Q = "vk_collapsible_DMKBX", Y = "vk_label_veC9k", a = {
|
|
5
|
+
badge: A,
|
|
6
|
+
icon: X,
|
|
7
|
+
dot: E,
|
|
8
|
+
sm: H,
|
|
9
|
+
minWidth: P,
|
|
10
|
+
uppercase: O,
|
|
11
|
+
toneNeutral: V,
|
|
12
|
+
toneBrand: j,
|
|
13
|
+
toneInfo: q,
|
|
14
|
+
toneSuccess: F,
|
|
15
|
+
toneWarning: R,
|
|
16
|
+
toneDanger: G,
|
|
17
|
+
soft: K,
|
|
18
|
+
outline: U,
|
|
19
|
+
collapsible: Q,
|
|
20
|
+
label: Y
|
|
21
|
+
};
|
|
22
|
+
var N = /* @__PURE__ */ W("<span aria-hidden=true>"), $ = /* @__PURE__ */ W("<span>");
|
|
23
|
+
const Z = {
|
|
24
|
+
neutral: a.toneNeutral,
|
|
25
|
+
brand: a.toneBrand,
|
|
26
|
+
info: a.toneInfo,
|
|
27
|
+
success: a.toneSuccess,
|
|
28
|
+
warning: a.toneWarning,
|
|
29
|
+
danger: a.toneDanger
|
|
30
|
+
}, J = {
|
|
31
|
+
soft: a.soft,
|
|
32
|
+
outline: a.outline
|
|
33
|
+
};
|
|
34
|
+
function ke(e) {
|
|
35
|
+
let i;
|
|
36
|
+
const l = y(), s = () => e.tooltip !== void 0 ? typeof e.tooltip == "function" ? e.tooltip() : e.tooltip : e.title, g = C(() => ({
|
|
37
|
+
content: s(),
|
|
38
|
+
placement: e.tooltipPlacement
|
|
39
|
+
})), n = () => {
|
|
40
|
+
const {
|
|
41
|
+
content: o,
|
|
42
|
+
placement: t
|
|
43
|
+
} = g();
|
|
44
|
+
!o || !i || (M(i), z.showTooltip({
|
|
45
|
+
id: l,
|
|
46
|
+
target: i,
|
|
47
|
+
content: o,
|
|
48
|
+
placement: t
|
|
49
|
+
}));
|
|
50
|
+
}, v = () => {
|
|
51
|
+
i && (L(i), z.hideTooltip(i));
|
|
52
|
+
};
|
|
53
|
+
I(() => {
|
|
54
|
+
i && z.hideTooltip(i);
|
|
55
|
+
});
|
|
56
|
+
const k = () => [a.badge, Z[e.tone ?? "neutral"], J[e.variant ?? "soft"], e.size === "sm" ? a.sm : void 0, e.uppercase ? a.uppercase : void 0, e.minWidth ? a.minWidth : void 0, e.collapsible === !0 ? a.collapsible : void 0, e.class].filter((o) => !!o).join(" ");
|
|
57
|
+
return (() => {
|
|
58
|
+
var o = $();
|
|
59
|
+
return o.$$focusout = v, o.$$focusin = n, o.addEventListener("pointerleave", v), o.addEventListener("pointerenter", n), B((t) => i = t, o), f(o, b(S, {
|
|
60
|
+
get when() {
|
|
61
|
+
return e.icon !== void 0;
|
|
62
|
+
},
|
|
63
|
+
get children() {
|
|
64
|
+
var t = N();
|
|
65
|
+
return f(t, () => e.icon), m(() => d(t, a.icon)), t;
|
|
66
|
+
}
|
|
67
|
+
}), null), f(o, b(S, {
|
|
68
|
+
get when() {
|
|
69
|
+
return D(() => e.collapsible === !0)() && e.icon === void 0;
|
|
70
|
+
},
|
|
71
|
+
get children() {
|
|
72
|
+
var t = N();
|
|
73
|
+
return m(() => d(t, a.dot)), t;
|
|
74
|
+
}
|
|
75
|
+
}), null), f(o, b(S, {
|
|
76
|
+
get when() {
|
|
77
|
+
return e.collapsible === !0;
|
|
78
|
+
},
|
|
79
|
+
get fallback() {
|
|
80
|
+
return e.children;
|
|
81
|
+
},
|
|
82
|
+
get children() {
|
|
83
|
+
var t = $();
|
|
84
|
+
return f(t, () => e.children), m(() => d(t, a.label)), t;
|
|
85
|
+
}
|
|
86
|
+
}), null), m((t) => {
|
|
87
|
+
var u = k(), h = e.style, _ = e.title;
|
|
88
|
+
return u !== t.e && d(o, t.e = u), t.t = x(o, h, t.t), _ !== t.a && c(o, "title", t.a = _), t;
|
|
89
|
+
}, {
|
|
90
|
+
e: void 0,
|
|
91
|
+
t: void 0,
|
|
92
|
+
a: void 0
|
|
93
|
+
}), o;
|
|
94
|
+
})();
|
|
95
|
+
}
|
|
96
|
+
w(["focusin", "focusout"]);
|
|
97
|
+
const p = "vk_track_8sxq6", ee = "vk_size2xs_PFVQU", te = "vk_sizeXs_uv795", ne = "vk_sizeSm_PXflS", oe = "vk_sizeMd_D7fn9", ie = "vk_fill_WzdHy", ae = "vk_toneBrand_Tv6r-", se = "vk_toneSuccess_zqjLa", re = "vk_toneWarning_xuA11", le = "vk_toneDanger_eWHhk", ce = "vk_toneNeutral_-Ko2R", de = "vk_indeterminate_94QkD", r = {
|
|
98
|
+
track: p,
|
|
99
|
+
size2xs: ee,
|
|
100
|
+
sizeXs: te,
|
|
101
|
+
sizeSm: ne,
|
|
102
|
+
sizeMd: oe,
|
|
103
|
+
fill: ie,
|
|
104
|
+
toneBrand: ae,
|
|
105
|
+
toneSuccess: se,
|
|
106
|
+
toneWarning: re,
|
|
107
|
+
toneDanger: le,
|
|
108
|
+
toneNeutral: ce,
|
|
109
|
+
indeterminate: de
|
|
110
|
+
};
|
|
111
|
+
var ve = /* @__PURE__ */ W("<div role=progressbar><span>");
|
|
112
|
+
const ue = {
|
|
113
|
+
brand: r.toneBrand,
|
|
114
|
+
success: r.toneSuccess,
|
|
115
|
+
warning: r.toneWarning,
|
|
116
|
+
danger: r.toneDanger,
|
|
117
|
+
neutral: r.toneNeutral
|
|
118
|
+
}, _e = {
|
|
119
|
+
"2xs": r.size2xs,
|
|
120
|
+
xs: r.sizeXs,
|
|
121
|
+
sm: r.sizeSm,
|
|
122
|
+
md: r.sizeMd
|
|
123
|
+
};
|
|
124
|
+
function he(e) {
|
|
125
|
+
const i = () => {
|
|
126
|
+
if (e.indeterminate) return 0;
|
|
127
|
+
const s = e.max ?? 100;
|
|
128
|
+
return s <= 0 ? 0 : Math.max(0, Math.min(100, e.value / s * 100));
|
|
129
|
+
}, l = () => e.indeterminate === !0;
|
|
130
|
+
return (() => {
|
|
131
|
+
var s = ve(), g = s.firstChild;
|
|
132
|
+
return m((n) => {
|
|
133
|
+
var v = `${r.track} ${_e[e.size ?? "md"]} ${ue[e.tone ?? "brand"]} ${l() ? r.indeterminate : ""} ${e.class ?? ""}`, k = l() ? void 0 : Math.round(i()), o = l() ? void 0 : 0, t = l() ? void 0 : 100, u = l() ? "true" : void 0, h = e.ariaLabel, _ = r.fill, T = l() ? void 0 : {
|
|
134
|
+
"--progress-pct": `${i()}%`
|
|
135
|
+
};
|
|
136
|
+
return v !== n.e && d(s, n.e = v), k !== n.t && c(s, "aria-valuenow", n.t = k), o !== n.a && c(s, "aria-valuemin", n.a = o), t !== n.o && c(s, "aria-valuemax", n.o = t), u !== n.i && c(s, "aria-busy", n.i = u), h !== n.n && c(s, "aria-label", n.n = h), _ !== n.s && d(g, n.s = _), n.h = x(g, T, n.h), n;
|
|
137
|
+
}, {
|
|
138
|
+
e: void 0,
|
|
139
|
+
t: void 0,
|
|
140
|
+
a: void 0,
|
|
141
|
+
o: void 0,
|
|
142
|
+
i: void 0,
|
|
143
|
+
n: void 0,
|
|
144
|
+
s: void 0,
|
|
145
|
+
h: void 0
|
|
146
|
+
}), s;
|
|
147
|
+
})();
|
|
148
|
+
}
|
|
149
|
+
function be(e, i) {
|
|
150
|
+
return {
|
|
151
|
+
...e,
|
|
152
|
+
category: e.category ?? e.id.split(".")[0] ?? "general",
|
|
153
|
+
build: i
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
function Se(e, i, l) {
|
|
157
|
+
return {
|
|
158
|
+
id: e,
|
|
159
|
+
notification: i,
|
|
160
|
+
resolve: (s) => i.build(l, s)
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
export {
|
|
164
|
+
ke as B,
|
|
165
|
+
he as P,
|
|
166
|
+
Se as a,
|
|
167
|
+
be as d
|
|
168
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const t=require("solid-js/web"),d=require("solid-js"),f=require("./nativeTitleHold-B7Ou-W9b.cjs"),N="vk_badge_H207K",z="vk_icon_pYYcO",W="vk_dot_rH6r0",$="vk_sm_wGIZ-",w="vk_minWidth_COglg",C="vk_uppercase_VXoV8",T="vk_toneNeutral_X8HW3",A="vk_toneBrand_yGkjl",x="vk_toneInfo_wp-9H",B="vk_toneSuccess_VG8jt",D="vk_toneWarning_zPFLO",y="vk_toneDanger_cRUoq",I="vk_soft_8b-4T",L="vk_outline_gFFWD",M="vk_collapsible_DMKBX",X="vk_label_veC9k",s={badge:N,icon:z,dot:W,sm:$,minWidth:w,uppercase:C,toneNeutral:T,toneBrand:A,toneInfo:x,toneSuccess:B,toneWarning:D,toneDanger:y,soft:I,outline:L,collapsible:M,label:X};var b=t.template("<span aria-hidden=true>"),h=t.template("<span>");const q={neutral:s.toneNeutral,brand:s.toneBrand,info:s.toneInfo,success:s.toneSuccess,warning:s.toneWarning,danger:s.toneDanger},H={soft:s.soft,outline:s.outline};function E(e){let a;const c=d.createUniqueId(),r=()=>e.tooltip!==void 0?typeof e.tooltip=="function"?e.tooltip():e.tooltip:e.title,m=d.createMemo(()=>({content:r(),placement:e.tooltipPlacement})),o=()=>{const{content:i,placement:n}=m();!i||!a||(f.holdNativeTitle(a),f.tooltipCoordinator.showTooltip({id:c,target:a,content:i,placement:n}))},u=()=>{a&&(f.releaseNativeTitle(a),f.tooltipCoordinator.hideTooltip(a))};d.onCleanup(()=>{a&&f.tooltipCoordinator.hideTooltip(a)});const g=()=>[s.badge,q[e.tone??"neutral"],H[e.variant??"soft"],e.size==="sm"?s.sm:void 0,e.uppercase?s.uppercase:void 0,e.minWidth?s.minWidth:void 0,e.collapsible===!0?s.collapsible:void 0,e.class].filter(i=>!!i).join(" ");return(()=>{var i=h();return i.$$focusout=u,i.$$focusin=o,i.addEventListener("pointerleave",u),i.addEventListener("pointerenter",o),t.use(n=>a=n,i),t.insert(i,t.createComponent(d.Show,{get when(){return e.icon!==void 0},get children(){var n=b();return t.insert(n,()=>e.icon),t.effect(()=>t.className(n,s.icon)),n}}),null),t.insert(i,t.createComponent(d.Show,{get when(){return t.memo(()=>e.collapsible===!0)()&&e.icon===void 0},get children(){var n=b();return t.effect(()=>t.className(n,s.dot)),n}}),null),t.insert(i,t.createComponent(d.Show,{get when(){return e.collapsible===!0},get fallback(){return e.children},get children(){var n=h();return t.insert(n,()=>e.children),t.effect(()=>t.className(n,s.label)),n}}),null),t.effect(n=>{var v=g(),k=e.style,_=e.title;return v!==n.e&&t.className(i,n.e=v),n.t=t.style(i,k,n.t),_!==n.a&&t.setAttribute(i,"title",n.a=_),n},{e:void 0,t:void 0,a:void 0}),i})()}t.delegateEvents(["focusin","focusout"]);const P="vk_track_8sxq6",O="vk_size2xs_PFVQU",V="vk_sizeXs_uv795",j="vk_sizeSm_PXflS",F="vk_sizeMd_D7fn9",R="vk_fill_WzdHy",G="vk_toneBrand_Tv6r-",K="vk_toneSuccess_zqjLa",U="vk_toneWarning_xuA11",Q="vk_toneDanger_eWHhk",Y="vk_toneNeutral_-Ko2R",Z="vk_indeterminate_94QkD",l={track:P,size2xs:O,sizeXs:V,sizeSm:j,sizeMd:F,fill:R,toneBrand:G,toneSuccess:K,toneWarning:U,toneDanger:Q,toneNeutral:Y,indeterminate:Z};var J=t.template("<div role=progressbar><span>");const p={brand:l.toneBrand,success:l.toneSuccess,warning:l.toneWarning,danger:l.toneDanger,neutral:l.toneNeutral},ee={"2xs":l.size2xs,xs:l.sizeXs,sm:l.sizeSm,md:l.sizeMd};function te(e){const a=()=>{if(e.indeterminate)return 0;const r=e.max??100;return r<=0?0:Math.max(0,Math.min(100,e.value/r*100))},c=()=>e.indeterminate===!0;return(()=>{var r=J(),m=r.firstChild;return t.effect(o=>{var u=`${l.track} ${ee[e.size??"md"]} ${p[e.tone??"brand"]} ${c()?l.indeterminate:""} ${e.class??""}`,g=c()?void 0:Math.round(a()),i=c()?void 0:0,n=c()?void 0:100,v=c()?"true":void 0,k=e.ariaLabel,_=l.fill,S=c()?void 0:{"--progress-pct":`${a()}%`};return u!==o.e&&t.className(r,o.e=u),g!==o.t&&t.setAttribute(r,"aria-valuenow",o.t=g),i!==o.a&&t.setAttribute(r,"aria-valuemin",o.a=i),n!==o.o&&t.setAttribute(r,"aria-valuemax",o.o=n),v!==o.i&&t.setAttribute(r,"aria-busy",o.i=v),k!==o.n&&t.setAttribute(r,"aria-label",o.n=k),_!==o.s&&t.className(m,o.s=_),o.h=t.style(m,S,o.h),o},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0,n:void 0,s:void 0,h:void 0}),r})()}function ne(e,a){return{...e,category:e.category??e.id.split(".")[0]??"general",build:a}}function oe(e,a,c){return{id:e,notification:a,resolve:r=>a.build(c,r)}}exports.Badge=E;exports.Progress=te;exports.defineNotification=ne;exports.defineNotificationScenario=oe;
|
|
@@ -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-wO16mjon.cjs"),e=require("../notificationCatalog-DqTkd7M6.cjs"),t=require("../menuDensity-Cf74__OQ.cjs");exports.ACCEPT_PRIMARY_ACTION_NOTIFICATION=i.ACCEPT_PRIMARY_ACTION_NOTIFICATION;exports.CLEAR_NOTIFICATION=i.CLEAR_NOTIFICATION;exports.HIDE_NOTIFICATION_TOASTS=i.HIDE_NOTIFICATION_TOASTS;exports.LogFilterBar=i.LogFilterBar;exports.NOTIFICATION_SOURCES=i.NOTIFICATION_SOURCES;exports.NOTIFICATION_SOURCE_IDS=i.NOTIFICATION_SOURCE_IDS;exports.NO_NOTIFICATION_OVERLAY=i.NO_NOTIFICATION_OVERLAY;exports.NotificationHost=i.NotificationHost;exports.NotificationItem=i.NotificationItem;exports.NotificationPanel=i.NotificationPanel;exports.NotificationService=i.NotificationService;exports.NotificationTimeline=i.NotificationTimeline;exports.NotificationsCenter=i.NotificationsCenter;exports.SEVERITY_ORDER=i.SEVERITY_ORDER;exports.SEVERITY_TONES=i.SEVERITY_TONES;exports.StatusBarNotificationBell=i.StatusBarNotificationBell;exports.appWindowNotificationOverlay=i.appWindowNotificationOverlay;exports.applyNotificationRules=i.applyNotificationRules;exports.cardRemindKey=i.cardRemindKey;exports.clearCompiledRuleRegexCache=i.clearCompiledRuleRegexCache;exports.compileNotificationSearchMatcher=i.compileNotificationSearchMatcher;exports.createNativeNotificationEngine=i.createNativeNotificationEngine;exports.createNotificationPreviewRuntime=i.createNotificationPreviewRuntime;exports.decideFilter=i.decideFilter;exports.deleteWebhookUrl=i.deleteWebhookUrl;exports.deriveImplicitRemindKey=i.deriveImplicitRemindKey;exports.dismissKey=i.dismissKey;exports.dismissableToastIds=i.dismissableToastIds;exports.entryVendorMatch=i.entryVendorMatch;exports.exportTimelineAsCsv=i.exportTimelineAsCsv;exports.exportTimelineAsJson=i.exportTimelineAsJson;exports.filterNotificationTimeline=i.filterNotificationTimeline;exports.filteredPriority=i.filteredPriority;exports.focusFirstNotificationEntry=i.focusFirstNotificationEntry;exports.getSmtpPass=i.getSmtpPass;exports.getWebhookUrl=i.getWebhookUrl;exports.groupTimelineEntries=i.groupTimelineEntries;exports.hiddenRunningProgress=i.hiddenRunningProgress;exports.isInQuietHours=i.isInQuietHours;exports.isKeyDismissed=i.isKeyDismissed;exports.isKeyRemindSuppressed=i.isKeyRemindSuppressed;exports.isNotificationSourceId=i.isNotificationSourceId;exports.isNotificationSticky=i.isNotificationSticky;exports.isOnToastStack=i.isOnToastStack;exports.isProgressRunning=i.isProgressRunning;exports.isSourceMuted=i.isSourceMuted;exports.isSpamDropHandle=i.isSpamDropHandle;exports.listNotificationSources=i.listNotificationSources;exports.nextQuietHoursStart=i.nextQuietHoursStart;exports.pruneOrphanWebhookSecrets=i.pruneOrphanWebhookSecrets;exports.registerFenceAliases=i.registerFenceAliases;exports.registerNotificationCommands=i.registerNotificationCommands;exports.remindLater=i.remindLater;exports.resolveCatalogPreviewPriority=i.resolveCatalogPreviewPriority;exports.resolveNotificationDuration=i.resolveNotificationDuration;exports.resolveNotificationSource=i.resolveNotificationSource;exports.resolveSeverityTone=i.resolveSeverityTone;exports.restoreAllKeys=i.restoreAllKeys;exports.restoreKey=i.restoreKey;exports.setSmtpPass=i.setSmtpPass;exports.setSourceMuted=i.setSourceMuted;exports.setWebhookUrl=i.setWebhookUrl;exports.shouldFireOsNative=i.shouldFireOsNative;exports.toTimelineActions=i.toTimelineActions;exports.unmuteAllSources=i.unmuteAllSources;exports.defineNotification=e.defineNotification;exports.defineNotificationScenario=e.defineNotificationScenario;exports.notificationSettings=t.notificationSettings;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as e, C as s, H as t, L as o, N as r, a as n, b as c, c as l, d as N, e as f, f as d, g as I, h as S, S as T, i as m, j as u, k as O, l as p, m as R, n as A, o as C, p as y, q as E, r as g, s as v, t as _, u as h, v as F, w as P, x, y as K, z as k, B as D, D as b, E as H, F as M, G as U, I as W, J as L, K as V, M as Y, O as w, P as B, Q, R as J, T as j, U as q, V as z, W as G, X, Y as Z, Z as $, _ as ii, $ as ai, a0 as ei, a1 as si, a2 as ti, a3 as oi, a4 as ri, a5 as ni, a6 as ci, a7 as li, a8 as Ni, a9 as fi, aa as di } from "../StatusBarNotificationBell-
|
|
2
|
-
import { d as Si, a as Ti } from "../
|
|
3
|
-
import { n as ui } from "../
|
|
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-DKDoWK71.js";
|
|
2
|
+
import { d as Si, a as Ti } from "../notificationCatalog-CRERhjp6.js";
|
|
3
|
+
import { n as ui } from "../menuDensity-6x_EqCGb.js";
|
|
4
4
|
export {
|
|
5
5
|
e as ACCEPT_PRIMARY_ACTION_NOTIFICATION,
|
|
6
6
|
s as CLEAR_NOTIFICATION,
|
|
@@ -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;
|
|
@@ -103,6 +104,24 @@ export interface NotificationHandle {
|
|
|
103
104
|
* (it is still `open`, in the notification center) —, with where it went.
|
|
104
105
|
*/
|
|
105
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>;
|
|
106
125
|
}
|
|
107
126
|
/**
|
|
108
127
|
* What the engine needs from its owner — the settings it times toasts by, where an auto-fade is counted,
|
|
@@ -184,6 +203,16 @@ export interface NativeNotificationEngine {
|
|
|
184
203
|
* notification service calls it on every change of the notification settings.
|
|
185
204
|
*/
|
|
186
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;
|
|
187
216
|
readonly dispose: () => void;
|
|
188
217
|
}
|
|
189
218
|
/**
|
|
@@ -246,5 +275,8 @@ export declare function hiddenRunningProgress(items: readonly NotificationItem[]
|
|
|
246
275
|
* There is no module engine: whoever shows toasts owns one.
|
|
247
276
|
*/
|
|
248
277
|
export declare function createNativeNotificationEngine(dependencies: NativeNotificationEngineDependencies): NativeNotificationEngine;
|
|
249
|
-
/**
|
|
250
|
-
|
|
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;
|
|
@@ -103,6 +104,24 @@ export interface NotificationHandle {
|
|
|
103
104
|
* (it is still `open`, in the notification center) —, with where it went.
|
|
104
105
|
*/
|
|
105
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>;
|
|
106
125
|
}
|
|
107
126
|
/**
|
|
108
127
|
* What the engine needs from its owner — the settings it times toasts by, where an auto-fade is counted,
|
|
@@ -184,6 +203,16 @@ export interface NativeNotificationEngine {
|
|
|
184
203
|
* notification service calls it on every change of the notification settings.
|
|
185
204
|
*/
|
|
186
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;
|
|
187
216
|
readonly dispose: () => void;
|
|
188
217
|
}
|
|
189
218
|
/**
|
|
@@ -246,5 +275,8 @@ export declare function hiddenRunningProgress(items: readonly NotificationItem[]
|
|
|
246
275
|
* There is no module engine: whoever shows toasts owns one.
|
|
247
276
|
*/
|
|
248
277
|
export declare function createNativeNotificationEngine(dependencies: NativeNotificationEngineDependencies): NativeNotificationEngine;
|
|
249
|
-
/**
|
|
250
|
-
|
|
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'>;
|