@noldova/desktop.window 0.0.0-stage → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +80 -2
- package/api/build.d.ts +13 -0
- package/api/build.js +10 -0
- package/api/build.js.map +1 -0
- package/api/index.d.ts +68 -0
- package/api/index.js +42 -0
- package/api/index.js.map +1 -0
- package/api/testing.d.ts +10 -0
- package/api/testing.js +11 -0
- package/api/testing.js.map +1 -0
- package/app/components/about/about.component.d.ts +50 -0
- package/app/components/about/about.component.js +125 -0
- package/app/components/about/about.component.js.map +1 -0
- package/app/components/dock/dock.component.d.ts +56 -0
- package/app/components/dock/dock.component.js +117 -0
- package/app/components/dock/dock.component.js.map +1 -0
- package/app/components/docking-guides/docking-guides.component.d.ts +35 -0
- package/app/components/docking-guides/docking-guides.component.js +61 -0
- package/app/components/docking-guides/docking-guides.component.js.map +1 -0
- package/app/components/empty-window/empty-window.component.d.ts +8 -0
- package/app/components/empty-window/empty-window.component.js +22 -0
- package/app/components/empty-window/empty-window.component.js.map +1 -0
- package/app/components/field-menu/field-menu.component.d.ts +30 -0
- package/app/components/field-menu/field-menu.component.js +92 -0
- package/app/components/field-menu/field-menu.component.js.map +1 -0
- package/app/components/highlighted-text/highlighted-text.component.d.ts +19 -0
- package/app/components/highlighted-text/highlighted-text.component.js +33 -0
- package/app/components/highlighted-text/highlighted-text.component.js.map +1 -0
- package/app/components/link-menu/link-menu.component.d.ts +22 -0
- package/app/components/link-menu/link-menu.component.js +46 -0
- package/app/components/link-menu/link-menu.component.js.map +1 -0
- package/app/components/module-actions/module-actions.component.d.ts +31 -0
- package/app/components/module-actions/module-actions.component.js +64 -0
- package/app/components/module-actions/module-actions.component.js.map +1 -0
- package/app/components/module-failure-card/module-failure-card.component.d.ts +17 -0
- package/app/components/module-failure-card/module-failure-card.component.js +24 -0
- package/app/components/module-failure-card/module-failure-card.component.js.map +1 -0
- package/app/components/module-failures/module-failures.component.d.ts +20 -0
- package/app/components/module-failures/module-failures.component.js +28 -0
- package/app/components/module-failures/module-failures.component.js.map +1 -0
- package/app/components/module-switch/module-switch.component.d.ts +22 -0
- package/app/components/module-switch/module-switch.component.js +40 -0
- package/app/components/module-switch/module-switch.component.js.map +1 -0
- package/app/components/modules/modules.component.d.ts +48 -0
- package/app/components/modules/modules.component.js +132 -0
- package/app/components/modules/modules.component.js.map +1 -0
- package/app/components/notifications/notifications.component.d.ts +23 -0
- package/app/components/notifications/notifications.component.js +35 -0
- package/app/components/notifications/notifications.component.js.map +1 -0
- package/app/components/notifications-popover/notifications-popover.component.d.ts +40 -0
- package/app/components/notifications-popover/notifications-popover.component.js +78 -0
- package/app/components/notifications-popover/notifications-popover.component.js.map +1 -0
- package/app/components/place-menu/place-menu.component.d.ts +27 -0
- package/app/components/place-menu/place-menu.component.js +40 -0
- package/app/components/place-menu/place-menu.component.js.map +1 -0
- package/app/components/placeholder-content/placeholder-content.component.d.ts +16 -0
- package/app/components/placeholder-content/placeholder-content.component.js +54 -0
- package/app/components/placeholder-content/placeholder-content.component.js.map +1 -0
- package/app/components/quit-dialog/quit-dialog.component.d.ts +17 -0
- package/app/components/quit-dialog/quit-dialog.component.js +38 -0
- package/app/components/quit-dialog/quit-dialog.component.js.map +1 -0
- package/app/components/runtime-status/runtime-status.component.d.ts +18 -0
- package/app/components/runtime-status/runtime-status.component.js +49 -0
- package/app/components/runtime-status/runtime-status.component.js.map +1 -0
- package/app/components/search-palette/search-palette.component.d.ts +35 -0
- package/app/components/search-palette/search-palette.component.js +66 -0
- package/app/components/search-palette/search-palette.component.js.map +1 -0
- package/app/components/setting-row/setting-row.component.d.ts +62 -0
- package/app/components/setting-row/setting-row.component.js +176 -0
- package/app/components/setting-row/setting-row.component.js.map +1 -0
- package/app/components/settings/settings.component.d.ts +84 -0
- package/app/components/settings/settings.component.js +273 -0
- package/app/components/settings/settings.component.js.map +1 -0
- package/app/components/settings-page-host/settings-page-host.component.d.ts +19 -0
- package/app/components/settings-page-host/settings-page-host.component.js +54 -0
- package/app/components/settings-page-host/settings-page-host.component.js.map +1 -0
- package/app/components/shortcuts/shortcuts.component.d.ts +59 -0
- package/app/components/shortcuts/shortcuts.component.js +175 -0
- package/app/components/shortcuts/shortcuts.component.js.map +1 -0
- package/app/components/split-sash/split-sash.component.d.ts +24 -0
- package/app/components/split-sash/split-sash.component.js +44 -0
- package/app/components/split-sash/split-sash.component.js.map +1 -0
- package/app/components/startup/startup.component.d.ts +25 -0
- package/app/components/startup/startup.component.js +33 -0
- package/app/components/startup/startup.component.js.map +1 -0
- package/app/components/status-bar/status-bar.component.d.ts +9 -0
- package/app/components/status-bar/status-bar.component.js +28 -0
- package/app/components/status-bar/status-bar.component.js.map +1 -0
- package/app/components/status-bar-item/status-bar-item.component.d.ts +23 -0
- package/app/components/status-bar-item/status-bar-item.component.js +39 -0
- package/app/components/status-bar-item/status-bar-item.component.js.map +1 -0
- package/app/components/tab-content/tab-content.component.d.ts +35 -0
- package/app/components/tab-content/tab-content.component.js +139 -0
- package/app/components/tab-content/tab-content.component.js.map +1 -0
- package/app/components/tab-group/tab-group.component.d.ts +54 -0
- package/app/components/tab-group/tab-group.component.js +176 -0
- package/app/components/tab-group/tab-group.component.js.map +1 -0
- package/app/components/tab-row-actions/tab-row-actions.component.d.ts +27 -0
- package/app/components/tab-row-actions/tab-row-actions.component.js +37 -0
- package/app/components/tab-row-actions/tab-row-actions.component.js.map +1 -0
- package/app/components/tab-slot/tab-slot.component.d.ts +35 -0
- package/app/components/tab-slot/tab-slot.component.js +70 -0
- package/app/components/tab-slot/tab-slot.component.js.map +1 -0
- package/app/components/toasts/toasts.component.d.ts +36 -0
- package/app/components/toasts/toasts.component.js +68 -0
- package/app/components/toasts/toasts.component.js.map +1 -0
- package/app/components/toolbar/toolbar.component.d.ts +49 -0
- package/app/components/toolbar/toolbar.component.js +129 -0
- package/app/components/toolbar/toolbar.component.js.map +1 -0
- package/app/components/toolbar-band/toolbar-band.component.d.ts +14 -0
- package/app/components/toolbar-band/toolbar-band.component.js +32 -0
- package/app/components/toolbar-band/toolbar-band.component.js.map +1 -0
- package/app/components/update-item/update-item.component.d.ts +22 -0
- package/app/components/update-item/update-item.component.js +32 -0
- package/app/components/update-item/update-item.component.js.map +1 -0
- package/app/components/view-dialog/view-dialog.component.d.ts +17 -0
- package/app/components/view-dialog/view-dialog.component.js +46 -0
- package/app/components/view-dialog/view-dialog.component.js.map +1 -0
- package/app/components/window/window.component.d.ts +30 -0
- package/app/components/window/window.component.js +107 -0
- package/app/components/window/window.component.js.map +1 -0
- package/app/components/window-controls/window-controls.component.d.ts +27 -0
- package/app/components/window-controls/window-controls.component.js +55 -0
- package/app/components/window-controls/window-controls.component.js.map +1 -0
- package/app/components/window-row/window-row.component.d.ts +78 -0
- package/app/components/window-row/window-row.component.js +260 -0
- package/app/components/window-row/window-row.component.js.map +1 -0
- package/app/components/workspace/workspace.component.d.ts +32 -0
- package/app/components/workspace/workspace.component.js +134 -0
- package/app/components/workspace/workspace.component.js.map +1 -0
- package/app/directives/keeps-ctrl-keys.directive.d.ts +31 -0
- package/app/directives/keeps-ctrl-keys.directive.js +21 -0
- package/app/directives/keeps-ctrl-keys.directive.js.map +1 -0
- package/app/directives/tab-scroller.directive.d.ts +29 -0
- package/app/directives/tab-scroller.directive.js +88 -0
- package/app/directives/tab-scroller.directive.js.map +1 -0
- package/app/enums/bottom-dock-span.d.ts +11 -0
- package/app/enums/bottom-dock-span.js +13 -0
- package/app/enums/bottom-dock-span.js.map +1 -0
- package/app/enums/clock-choice.d.ts +11 -0
- package/app/enums/clock-choice.js +13 -0
- package/app/enums/clock-choice.js.map +1 -0
- package/app/enums/content-padding.d.ts +28 -0
- package/app/enums/content-padding.js +13 -0
- package/app/enums/content-padding.js.map +1 -0
- package/app/enums/dock-side.d.ts +24 -0
- package/app/enums/dock-side.js +14 -0
- package/app/enums/dock-side.js.map +1 -0
- package/app/enums/dock-style.d.ts +11 -0
- package/app/enums/dock-style.js +13 -0
- package/app/enums/dock-style.js.map +1 -0
- package/app/enums/document-tone.d.ts +24 -0
- package/app/enums/document-tone.js +14 -0
- package/app/enums/document-tone.js.map +1 -0
- package/app/enums/file-save-outcome.d.ts +26 -0
- package/app/enums/file-save-outcome.js +14 -0
- package/app/enums/file-save-outcome.js.map +1 -0
- package/app/enums/link-place.d.ts +23 -0
- package/app/enums/link-place.js +13 -0
- package/app/enums/link-place.js.map +1 -0
- package/app/enums/menu-bar-style.d.ts +12 -0
- package/app/enums/menu-bar-style.js +14 -0
- package/app/enums/menu-bar-style.js.map +1 -0
- package/app/enums/menu-check.d.ts +12 -0
- package/app/enums/menu-check.js +14 -0
- package/app/enums/menu-check.js.map +1 -0
- package/app/enums/panel-edge.d.ts +13 -0
- package/app/enums/panel-edge.js +15 -0
- package/app/enums/panel-edge.js.map +1 -0
- package/app/enums/part-save-outcome.d.ts +12 -0
- package/app/enums/part-save-outcome.js +14 -0
- package/app/enums/part-save-outcome.js.map +1 -0
- package/app/enums/quit-choice.d.ts +12 -0
- package/app/enums/quit-choice.js +14 -0
- package/app/enums/quit-choice.js.map +1 -0
- package/app/enums/split-axis.d.ts +11 -0
- package/app/enums/split-axis.js +13 -0
- package/app/enums/split-axis.js.map +1 -0
- package/app/enums/startup-state-kind.d.ts +17 -0
- package/app/enums/startup-state-kind.js +19 -0
- package/app/enums/startup-state-kind.js.map +1 -0
- package/app/enums/status-bar-item-tone.d.ts +21 -0
- package/app/enums/status-bar-item-tone.js +13 -0
- package/app/enums/status-bar-item-tone.js.map +1 -0
- package/app/enums/status-bar-side.d.ts +20 -0
- package/app/enums/status-bar-side.js +13 -0
- package/app/enums/status-bar-side.js.map +1 -0
- package/app/enums/toolbar-move.d.ts +13 -0
- package/app/enums/toolbar-move.js +15 -0
- package/app/enums/toolbar-move.js.map +1 -0
- package/app/enums/top-bar-side.d.ts +21 -0
- package/app/enums/top-bar-side.js +13 -0
- package/app/enums/top-bar-side.js.map +1 -0
- package/app/enums/unconfirmed-action.d.ts +12 -0
- package/app/enums/unconfirmed-action.js +14 -0
- package/app/enums/unconfirmed-action.js.map +1 -0
- package/app/enums/update-action.d.ts +11 -0
- package/app/enums/update-action.js +13 -0
- package/app/enums/update-action.js.map +1 -0
- package/app/enums/update-state-kind.d.ts +16 -0
- package/app/enums/update-state-kind.js +18 -0
- package/app/enums/update-state-kind.js.map +1 -0
- package/app/enums/view-dialog-refusal.d.ts +11 -0
- package/app/enums/view-dialog-refusal.js +13 -0
- package/app/enums/view-dialog-refusal.js.map +1 -0
- package/app/enums/web-view-input-kind.d.ts +12 -0
- package/app/enums/web-view-input-kind.js +14 -0
- package/app/enums/web-view-input-kind.js.map +1 -0
- package/app/exceptions/action-not-confirmed.exception.d.ts +17 -0
- package/app/exceptions/action-not-confirmed.exception.js +36 -0
- package/app/exceptions/action-not-confirmed.exception.js.map +1 -0
- package/app/exceptions/command-already-registered.exception.d.ts +13 -0
- package/app/exceptions/command-already-registered.exception.js +18 -0
- package/app/exceptions/command-already-registered.exception.js.map +1 -0
- package/app/exceptions/command-not-declared.exception.d.ts +13 -0
- package/app/exceptions/command-not-declared.exception.js +18 -0
- package/app/exceptions/command-not-declared.exception.js.map +1 -0
- package/app/exceptions/command-not-found.exception.d.ts +13 -0
- package/app/exceptions/command-not-found.exception.js +18 -0
- package/app/exceptions/command-not-found.exception.js.map +1 -0
- package/app/exceptions/contribution-not-declared.exception.d.ts +14 -0
- package/app/exceptions/contribution-not-declared.exception.js +20 -0
- package/app/exceptions/contribution-not-declared.exception.js.map +1 -0
- package/app/exceptions/contribution-registered.exception.d.ts +14 -0
- package/app/exceptions/contribution-registered.exception.js +20 -0
- package/app/exceptions/contribution-registered.exception.js.map +1 -0
- package/app/exceptions/dependency-not-followed.exception.d.ts +12 -0
- package/app/exceptions/dependency-not-followed.exception.js +17 -0
- package/app/exceptions/dependency-not-followed.exception.js.map +1 -0
- package/app/exceptions/file-not-opened.exception.d.ts +13 -0
- package/app/exceptions/file-not-opened.exception.js +18 -0
- package/app/exceptions/file-not-opened.exception.js.map +1 -0
- package/app/exceptions/file-not-shown.exception.d.ts +13 -0
- package/app/exceptions/file-not-shown.exception.js +18 -0
- package/app/exceptions/file-not-shown.exception.js.map +1 -0
- package/app/exceptions/foreign-contribution.exception.d.ts +13 -0
- package/app/exceptions/foreign-contribution.exception.js +18 -0
- package/app/exceptions/foreign-contribution.exception.js.map +1 -0
- package/app/exceptions/foreign-name.exception.d.ts +13 -0
- package/app/exceptions/foreign-name.exception.js +18 -0
- package/app/exceptions/foreign-name.exception.js.map +1 -0
- package/app/exceptions/foreign-secret.exception.d.ts +13 -0
- package/app/exceptions/foreign-secret.exception.js +18 -0
- package/app/exceptions/foreign-secret.exception.js.map +1 -0
- package/app/exceptions/in-app-browser-taken.exception.d.ts +12 -0
- package/app/exceptions/in-app-browser-taken.exception.js +16 -0
- package/app/exceptions/in-app-browser-taken.exception.js.map +1 -0
- package/app/exceptions/link-not-opened.exception.d.ts +12 -0
- package/app/exceptions/link-not-opened.exception.js +16 -0
- package/app/exceptions/link-not-opened.exception.js.map +1 -0
- package/app/exceptions/placeholder-shown.exception.d.ts +14 -0
- package/app/exceptions/placeholder-shown.exception.js +20 -0
- package/app/exceptions/placeholder-shown.exception.js.map +1 -0
- package/app/exceptions/preload-bridge.exception.d.ts +12 -0
- package/app/exceptions/preload-bridge.exception.js +16 -0
- package/app/exceptions/preload-bridge.exception.js.map +1 -0
- package/app/exceptions/product-name.exception.d.ts +12 -0
- package/app/exceptions/product-name.exception.js +16 -0
- package/app/exceptions/product-name.exception.js.map +1 -0
- package/app/exceptions/runtime-disconnected.exception.d.ts +13 -0
- package/app/exceptions/runtime-disconnected.exception.js +25 -0
- package/app/exceptions/runtime-disconnected.exception.js.map +1 -0
- package/app/exceptions/runtime-request.exception.d.ts +15 -0
- package/app/exceptions/runtime-request.exception.js +19 -0
- package/app/exceptions/runtime-request.exception.js.map +1 -0
- package/app/exceptions/search-source-registered.exception.d.ts +13 -0
- package/app/exceptions/search-source-registered.exception.js +18 -0
- package/app/exceptions/search-source-registered.exception.js.map +1 -0
- package/app/exceptions/setting-options-failed.exception.d.ts +13 -0
- package/app/exceptions/setting-options-failed.exception.js +19 -0
- package/app/exceptions/setting-options-failed.exception.js.map +1 -0
- package/app/exceptions/setting-options-repeated.exception.d.ts +13 -0
- package/app/exceptions/setting-options-repeated.exception.js +18 -0
- package/app/exceptions/setting-options-repeated.exception.js.map +1 -0
- package/app/exceptions/settings-page-not-loaded.exception.d.ts +12 -0
- package/app/exceptions/settings-page-not-loaded.exception.js +17 -0
- package/app/exceptions/settings-page-not-loaded.exception.js.map +1 -0
- package/app/exceptions/view-dialog.exception.d.ts +15 -0
- package/app/exceptions/view-dialog.exception.js +27 -0
- package/app/exceptions/view-dialog.exception.js.map +1 -0
- package/app/exceptions/web-view-closed.exception.d.ts +12 -0
- package/app/exceptions/web-view-closed.exception.js +16 -0
- package/app/exceptions/web-view-closed.exception.js.map +1 -0
- package/app/exceptions/web-view-not-opened.exception.d.ts +12 -0
- package/app/exceptions/web-view-not-opened.exception.js +16 -0
- package/app/exceptions/web-view-not-opened.exception.js.map +1 -0
- package/app/exceptions/window-part-access.exception.d.ts +13 -0
- package/app/exceptions/window-part-access.exception.js +17 -0
- package/app/exceptions/window-part-access.exception.js.map +1 -0
- package/app/exceptions/window-part-activation-failed.exception.d.ts +12 -0
- package/app/exceptions/window-part-activation-failed.exception.js +17 -0
- package/app/exceptions/window-part-activation-failed.exception.js.map +1 -0
- package/app/exceptions/window-part-failure.exception.d.ts +14 -0
- package/app/exceptions/window-part-failure.exception.js +17 -0
- package/app/exceptions/window-part-failure.exception.js.map +1 -0
- package/app/exceptions/window-part-load-failed.exception.d.ts +12 -0
- package/app/exceptions/window-part-load-failed.exception.js +17 -0
- package/app/exceptions/window-part-load-failed.exception.js.map +1 -0
- package/app/exceptions/window-part-reconnection-failed.exception.d.ts +12 -0
- package/app/exceptions/window-part-reconnection-failed.exception.js +17 -0
- package/app/exceptions/window-part-reconnection-failed.exception.js.map +1 -0
- package/app/exceptions/window-part-save-failed-for-update.exception.d.ts +13 -0
- package/app/exceptions/window-part-save-failed-for-update.exception.js +19 -0
- package/app/exceptions/window-part-save-failed-for-update.exception.js.map +1 -0
- package/app/exceptions/window-part-save-failed-late.exception.d.ts +13 -0
- package/app/exceptions/window-part-save-failed-late.exception.js +19 -0
- package/app/exceptions/window-part-save-failed-late.exception.js.map +1 -0
- package/app/exceptions/window-part-save-failed.exception.d.ts +13 -0
- package/app/exceptions/window-part-save-failed.exception.js +19 -0
- package/app/exceptions/window-part-save-failed.exception.js.map +1 -0
- package/app/exceptions/window.exception.d.ts +21 -0
- package/app/exceptions/window.exception.js +15 -0
- package/app/exceptions/window.exception.js.map +1 -0
- package/app/interfaces/i-command-key.d.ts +22 -0
- package/app/interfaces/i-command-key.js +8 -0
- package/app/interfaces/i-command-key.js.map +1 -0
- package/app/interfaces/i-document-contribution-options.d.ts +34 -0
- package/app/interfaces/i-document-contribution-options.js +8 -0
- package/app/interfaces/i-document-contribution-options.js.map +1 -0
- package/app/interfaces/i-document-marker.d.ts +23 -0
- package/app/interfaces/i-document-marker.js +8 -0
- package/app/interfaces/i-document-marker.js.map +1 -0
- package/app/interfaces/i-document-options.d.ts +79 -0
- package/app/interfaces/i-document-options.js +8 -0
- package/app/interfaces/i-document-options.js.map +1 -0
- package/app/interfaces/i-document-status.d.ts +28 -0
- package/app/interfaces/i-document-status.js +8 -0
- package/app/interfaces/i-document-status.js.map +1 -0
- package/app/interfaces/i-document-update.d.ts +58 -0
- package/app/interfaces/i-document-update.js +8 -0
- package/app/interfaces/i-document-update.js.map +1 -0
- package/app/interfaces/i-file-choice-options.d.ts +18 -0
- package/app/interfaces/i-file-choice-options.js +8 -0
- package/app/interfaces/i-file-choice-options.js.map +1 -0
- package/app/interfaces/i-file-grant-options.d.ts +17 -0
- package/app/interfaces/i-file-grant-options.js +8 -0
- package/app/interfaces/i-file-grant-options.js.map +1 -0
- package/app/interfaces/i-file-path-choice-options.d.ts +24 -0
- package/app/interfaces/i-file-path-choice-options.js +8 -0
- package/app/interfaces/i-file-path-choice-options.js.map +1 -0
- package/app/interfaces/i-in-app-browser.d.ts +36 -0
- package/app/interfaces/i-in-app-browser.js +8 -0
- package/app/interfaces/i-in-app-browser.js.map +1 -0
- package/app/interfaces/i-layout-store.d.ts +12 -0
- package/app/interfaces/i-layout-store.js +8 -0
- package/app/interfaces/i-layout-store.js.map +1 -0
- package/app/interfaces/i-link-open-options.d.ts +26 -0
- package/app/interfaces/i-link-open-options.js +8 -0
- package/app/interfaces/i-link-open-options.js.map +1 -0
- package/app/interfaces/i-module-saver.d.ts +10 -0
- package/app/interfaces/i-module-saver.js +8 -0
- package/app/interfaces/i-module-saver.js.map +1 -0
- package/app/interfaces/i-opened-web-view.d.ts +12 -0
- package/app/interfaces/i-opened-web-view.js +8 -0
- package/app/interfaces/i-opened-web-view.js.map +1 -0
- package/app/interfaces/i-preload-bridge.d.ts +79 -0
- package/app/interfaces/i-preload-bridge.js +8 -0
- package/app/interfaces/i-preload-bridge.js.map +1 -0
- package/app/interfaces/i-product-about.d.ts +38 -0
- package/app/interfaces/i-product-about.js +8 -0
- package/app/interfaces/i-product-about.js.map +1 -0
- package/app/interfaces/i-product-logo.d.ts +23 -0
- package/app/interfaces/i-product-logo.js +8 -0
- package/app/interfaces/i-product-logo.js.map +1 -0
- package/app/interfaces/i-selection-source.d.ts +24 -0
- package/app/interfaces/i-selection-source.js +8 -0
- package/app/interfaces/i-selection-source.js.map +1 -0
- package/app/interfaces/i-settings-page-declaration.d.ts +22 -0
- package/app/interfaces/i-settings-page-declaration.js +8 -0
- package/app/interfaces/i-settings-page-declaration.js.map +1 -0
- package/app/interfaces/i-settings-page-row.d.ts +12 -0
- package/app/interfaces/i-settings-page-row.js +8 -0
- package/app/interfaces/i-settings-page-row.js.map +1 -0
- package/app/interfaces/i-status-bar-item-options.d.ts +42 -0
- package/app/interfaces/i-status-bar-item-options.js +8 -0
- package/app/interfaces/i-status-bar-item-options.js.map +1 -0
- package/app/interfaces/i-top-bar-action-options.d.ts +21 -0
- package/app/interfaces/i-top-bar-action-options.js +8 -0
- package/app/interfaces/i-top-bar-action-options.js.map +1 -0
- package/app/interfaces/i-view-dialog-options.d.ts +22 -0
- package/app/interfaces/i-view-dialog-options.js +8 -0
- package/app/interfaces/i-view-dialog-options.js.map +1 -0
- package/app/interfaces/i-view-instance-options.d.ts +37 -0
- package/app/interfaces/i-view-instance-options.js +8 -0
- package/app/interfaces/i-view-instance-options.js.map +1 -0
- package/app/interfaces/i-view-options.d.ts +41 -0
- package/app/interfaces/i-view-options.js +8 -0
- package/app/interfaces/i-view-options.js.map +1 -0
- package/app/interfaces/i-view-update.d.ts +31 -0
- package/app/interfaces/i-view-update.js +8 -0
- package/app/interfaces/i-view-update.js.map +1 -0
- package/app/interfaces/i-web-view-find-options.d.ts +16 -0
- package/app/interfaces/i-web-view-find-options.js +8 -0
- package/app/interfaces/i-web-view-find-options.js.map +1 -0
- package/app/interfaces/i-web-view-found.d.ts +33 -0
- package/app/interfaces/i-web-view-found.js +8 -0
- package/app/interfaces/i-web-view-found.js.map +1 -0
- package/app/interfaces/i-web-view-guest.d.ts +15 -0
- package/app/interfaces/i-web-view-guest.js +8 -0
- package/app/interfaces/i-web-view-guest.js.map +1 -0
- package/app/interfaces/i-web-view-handle.d.ts +370 -0
- package/app/interfaces/i-web-view-handle.js +8 -0
- package/app/interfaces/i-web-view-handle.js.map +1 -0
- package/app/interfaces/i-web-view-input.d.ts +13 -0
- package/app/interfaces/i-web-view-input.js +8 -0
- package/app/interfaces/i-web-view-input.js.map +1 -0
- package/app/interfaces/i-web-view-layer.d.ts +29 -0
- package/app/interfaces/i-web-view-layer.js +8 -0
- package/app/interfaces/i-web-view-layer.js.map +1 -0
- package/app/interfaces/i-window-inputs.d.ts +72 -0
- package/app/interfaces/i-window-inputs.js +8 -0
- package/app/interfaces/i-window-inputs.js.map +1 -0
- package/app/interfaces/i-window-palette.d.ts +32 -0
- package/app/interfaces/i-window-palette.js +8 -0
- package/app/interfaces/i-window-palette.js.map +1 -0
- package/app/interfaces/i-window-part-context.d.ts +1654 -0
- package/app/interfaces/i-window-part-context.js +8 -0
- package/app/interfaces/i-window-part-context.js.map +1 -0
- package/app/interfaces/i-window-part-host.d.ts +91 -0
- package/app/interfaces/i-window-part-host.js +8 -0
- package/app/interfaces/i-window-part-host.js.map +1 -0
- package/app/interfaces/i-window-part.d.ts +160 -0
- package/app/interfaces/i-window-part.js +8 -0
- package/app/interfaces/i-window-part.js.map +1 -0
- package/app/interfaces/i-window-secrets.d.ts +69 -0
- package/app/interfaces/i-window-secrets.js +8 -0
- package/app/interfaces/i-window-secrets.js.map +1 -0
- package/app/interfaces/i-window-web-views.d.ts +39 -0
- package/app/interfaces/i-window-web-views.js +8 -0
- package/app/interfaces/i-window-web-views.js.map +1 -0
- package/app/models/appearance-preferences.d.ts +22 -0
- package/app/models/appearance-preferences.js +51 -0
- package/app/models/appearance-preferences.js.map +1 -0
- package/app/models/build-info.d.ts +13 -0
- package/app/models/build-info.js +22 -0
- package/app/models/build-info.js.map +1 -0
- package/app/models/build-tokens.d.ts +17 -0
- package/app/models/build-tokens.js +16 -0
- package/app/models/build-tokens.js.map +1 -0
- package/app/models/clipboard-image.d.ts +22 -0
- package/app/models/clipboard-image.js +128 -0
- package/app/models/clipboard-image.js.map +1 -0
- package/app/models/clipboard-image.resources.d.ts +43 -0
- package/app/models/clipboard-image.resources.js +44 -0
- package/app/models/clipboard-image.resources.js.map +1 -0
- package/app/models/command-contribution.d.ts +95 -0
- package/app/models/command-contribution.js +38 -0
- package/app/models/command-contribution.js.map +1 -0
- package/app/models/command-match.d.ts +13 -0
- package/app/models/command-match.js +17 -0
- package/app/models/command-match.js.map +1 -0
- package/app/models/command-matcher.d.ts +11 -0
- package/app/models/command-matcher.js +23 -0
- package/app/models/command-matcher.js.map +1 -0
- package/app/models/command-row.d.ts +20 -0
- package/app/models/command-row.js +27 -0
- package/app/models/command-row.js.map +1 -0
- package/app/models/command-search-entry.d.ts +15 -0
- package/app/models/command-search-entry.js +20 -0
- package/app/models/command-search-entry.js.map +1 -0
- package/app/models/content-padding-ref.d.ts +66 -0
- package/app/models/content-padding-ref.js +20 -0
- package/app/models/content-padding-ref.js.map +1 -0
- package/app/models/contribution-match.d.ts +16 -0
- package/app/models/contribution-match.js +18 -0
- package/app/models/contribution-match.js.map +1 -0
- package/app/models/document-contribution.d.ts +63 -0
- package/app/models/document-contribution.js +28 -0
- package/app/models/document-contribution.js.map +1 -0
- package/app/models/document-heading.d.ts +21 -0
- package/app/models/document-heading.js +50 -0
- package/app/models/document-heading.js.map +1 -0
- package/app/models/document-look.d.ts +27 -0
- package/app/models/document-look.js +66 -0
- package/app/models/document-look.js.map +1 -0
- package/app/models/edit-target.d.ts +22 -0
- package/app/models/edit-target.js +58 -0
- package/app/models/edit-target.js.map +1 -0
- package/app/models/field-menu-request.d.ts +19 -0
- package/app/models/field-menu-request.js +32 -0
- package/app/models/field-menu-request.js.map +1 -0
- package/app/models/gallery-tokens.d.ts +11 -0
- package/app/models/gallery-tokens.js +13 -0
- package/app/models/gallery-tokens.js.map +1 -0
- package/app/models/issued-file-grant.d.ts +45 -0
- package/app/models/issued-file-grant.js +20 -0
- package/app/models/issued-file-grant.js.map +1 -0
- package/app/models/issued-file-grants.d.ts +40 -0
- package/app/models/issued-file-grants.js +17 -0
- package/app/models/issued-file-grants.js.map +1 -0
- package/app/models/key-bindings.d.ts +24 -0
- package/app/models/key-bindings.js +66 -0
- package/app/models/key-bindings.js.map +1 -0
- package/app/models/layout/bounds.d.ts +24 -0
- package/app/models/layout/bounds.js +53 -0
- package/app/models/layout/bounds.js.map +1 -0
- package/app/models/layout/closed-tabs.d.ts +28 -0
- package/app/models/layout/closed-tabs.js +72 -0
- package/app/models/layout/closed-tabs.js.map +1 -0
- package/app/models/layout/dock-growth.d.ts +18 -0
- package/app/models/layout/dock-growth.js +27 -0
- package/app/models/layout/dock-growth.js.map +1 -0
- package/app/models/layout/dock-strip-icon.d.ts +17 -0
- package/app/models/layout/dock-strip-icon.js +20 -0
- package/app/models/layout/dock-strip-icon.js.map +1 -0
- package/app/models/layout/dock-yield.d.ts +15 -0
- package/app/models/layout/dock-yield.js +19 -0
- package/app/models/layout/dock-yield.js.map +1 -0
- package/app/models/layout/dock.d.ts +33 -0
- package/app/models/layout/dock.js +65 -0
- package/app/models/layout/dock.js.map +1 -0
- package/app/models/layout/docking-overlay.d.ts +20 -0
- package/app/models/layout/docking-overlay.js +52 -0
- package/app/models/layout/docking-overlay.js.map +1 -0
- package/app/models/layout/document-group.d.ts +22 -0
- package/app/models/layout/document-group.js +36 -0
- package/app/models/layout/document-group.js.map +1 -0
- package/app/models/layout/document-tab.d.ts +19 -0
- package/app/models/layout/document-tab.js +33 -0
- package/app/models/layout/document-tab.js.map +1 -0
- package/app/models/layout/drop-target.d.ts +16 -0
- package/app/models/layout/drop-target.js +10 -0
- package/app/models/layout/drop-target.js.map +1 -0
- package/app/models/layout/early-document.d.ts +14 -0
- package/app/models/layout/early-document.js +18 -0
- package/app/models/layout/early-document.js.map +1 -0
- package/app/models/layout/group-drop-target.d.ts +19 -0
- package/app/models/layout/group-drop-target.js +25 -0
- package/app/models/layout/group-drop-target.js.map +1 -0
- package/app/models/layout/group-frame.d.ts +16 -0
- package/app/models/layout/group-frame.js +18 -0
- package/app/models/layout/group-frame.js.map +1 -0
- package/app/models/layout/layout-fit.d.ts +25 -0
- package/app/models/layout/layout-fit.js +61 -0
- package/app/models/layout/layout-fit.js.map +1 -0
- package/app/models/layout/layout-geometry.d.ts +49 -0
- package/app/models/layout/layout-geometry.js +129 -0
- package/app/models/layout/layout-geometry.js.map +1 -0
- package/app/models/layout/layout-metrics.d.ts +21 -0
- package/app/models/layout/layout-metrics.js +39 -0
- package/app/models/layout/layout-metrics.js.map +1 -0
- package/app/models/layout/layout.d.ts +71 -0
- package/app/models/layout/layout.js +241 -0
- package/app/models/layout/layout.js.map +1 -0
- package/app/models/layout/layout.node.d.ts +33 -0
- package/app/models/layout/layout.node.js +18 -0
- package/app/models/layout/layout.node.js.map +1 -0
- package/app/models/layout/side-drop-target.d.ts +23 -0
- package/app/models/layout/side-drop-target.js +29 -0
- package/app/models/layout/side-drop-target.js.map +1 -0
- package/app/models/layout/split-drop-target.d.ts +21 -0
- package/app/models/layout/split-drop-target.js +27 -0
- package/app/models/layout/split-drop-target.js.map +1 -0
- package/app/models/layout/split-handle.d.ts +22 -0
- package/app/models/layout/split-handle.js +43 -0
- package/app/models/layout/split-handle.js.map +1 -0
- package/app/models/layout/split-part.d.ts +13 -0
- package/app/models/layout/split-part.js +16 -0
- package/app/models/layout/split-part.js.map +1 -0
- package/app/models/layout/split.node.d.ts +42 -0
- package/app/models/layout/split.node.js +119 -0
- package/app/models/layout/split.node.js.map +1 -0
- package/app/models/layout/tab-drop-target.d.ts +18 -0
- package/app/models/layout/tab-drop-target.js +27 -0
- package/app/models/layout/tab-drop-target.js.map +1 -0
- package/app/models/layout/tab-group.d.ts +46 -0
- package/app/models/layout/tab-group.js +134 -0
- package/app/models/layout/tab-group.js.map +1 -0
- package/app/models/layout/tab-key.d.ts +12 -0
- package/app/models/layout/tab-key.js +22 -0
- package/app/models/layout/tab-key.js.map +1 -0
- package/app/models/layout/tab-label.d.ts +12 -0
- package/app/models/layout/tab-label.js +20 -0
- package/app/models/layout/tab-label.js.map +1 -0
- package/app/models/layout/tab-reveal.d.ts +13 -0
- package/app/models/layout/tab-reveal.js +16 -0
- package/app/models/layout/tab-reveal.js.map +1 -0
- package/app/models/layout/tab.d.ts +24 -0
- package/app/models/layout/tab.js +34 -0
- package/app/models/layout/tab.js.map +1 -0
- package/app/models/layout/toolbar-layout.d.ts +28 -0
- package/app/models/layout/toolbar-layout.js +116 -0
- package/app/models/layout/toolbar-layout.js.map +1 -0
- package/app/models/layout/view-registry.d.ts +24 -0
- package/app/models/layout/view-registry.js +58 -0
- package/app/models/layout/view-registry.js.map +1 -0
- package/app/models/layout/view-tab.d.ts +19 -0
- package/app/models/layout/view-tab.js +33 -0
- package/app/models/layout/view-tab.js.map +1 -0
- package/app/models/layout/view-type.d.ts +17 -0
- package/app/models/layout/view-type.js +28 -0
- package/app/models/layout/view-type.js.map +1 -0
- package/app/models/live-view.d.ts +37 -0
- package/app/models/live-view.js +110 -0
- package/app/models/live-view.js.map +1 -0
- package/app/models/menu-declarations.d.ts +20 -0
- package/app/models/menu-declarations.js +50 -0
- package/app/models/menu-declarations.js.map +1 -0
- package/app/models/menu-group.d.ts +17 -0
- package/app/models/menu-group.js +32 -0
- package/app/models/menu-group.js.map +1 -0
- package/app/models/menu-item.d.ts +20 -0
- package/app/models/menu-item.js +40 -0
- package/app/models/menu-item.js.map +1 -0
- package/app/models/menu-place.d.ts +16 -0
- package/app/models/menu-place.js +28 -0
- package/app/models/menu-place.js.map +1 -0
- package/app/models/menu-row-contribution.d.ts +52 -0
- package/app/models/menu-row-contribution.js +27 -0
- package/app/models/menu-row-contribution.js.map +1 -0
- package/app/models/menu-row.d.ts +12 -0
- package/app/models/menu-row.js +16 -0
- package/app/models/menu-row.js.map +1 -0
- package/app/models/menu-search-row.d.ts +14 -0
- package/app/models/menu-search-row.js +20 -0
- package/app/models/menu-search-row.js.map +1 -0
- package/app/models/menu-section.d.ts +14 -0
- package/app/models/menu-section.js +16 -0
- package/app/models/menu-section.js.map +1 -0
- package/app/models/module-failure.d.ts +20 -0
- package/app/models/module-failure.js +35 -0
- package/app/models/module-failure.js.map +1 -0
- package/app/models/module-switch-tokens.d.ts +12 -0
- package/app/models/module-switch-tokens.js +13 -0
- package/app/models/module-switch-tokens.js.map +1 -0
- package/app/models/modules/contribution-group.d.ts +14 -0
- package/app/models/modules/contribution-group.js +18 -0
- package/app/models/modules/contribution-group.js.map +1 -0
- package/app/models/modules/contribution-row.d.ts +12 -0
- package/app/models/modules/contribution-row.js +16 -0
- package/app/models/modules/contribution-row.js.map +1 -0
- package/app/models/modules/module-overview.d.ts +21 -0
- package/app/models/modules/module-overview.js +41 -0
- package/app/models/modules/module-overview.js.map +1 -0
- package/app/models/modules/module-reference.d.ts +13 -0
- package/app/models/modules/module-reference.js +16 -0
- package/app/models/modules/module-reference.js.map +1 -0
- package/app/models/modules/program-row.d.ts +17 -0
- package/app/models/modules/program-row.js +28 -0
- package/app/models/modules/program-row.js.map +1 -0
- package/app/models/notification-handle.d.ts +45 -0
- package/app/models/notification-handle.js +19 -0
- package/app/models/notification-handle.js.map +1 -0
- package/app/models/pending-document.d.ts +21 -0
- package/app/models/pending-document.js +35 -0
- package/app/models/pending-document.js.map +1 -0
- package/app/models/pending-view-change.d.ts +14 -0
- package/app/models/pending-view-change.js +20 -0
- package/app/models/pending-view-change.js.map +1 -0
- package/app/models/placeholder-contribution.d.ts +49 -0
- package/app/models/placeholder-contribution.js +22 -0
- package/app/models/placeholder-contribution.js.map +1 -0
- package/app/models/product-name.d.ts +13 -0
- package/app/models/product-name.js +18 -0
- package/app/models/product-name.js.map +1 -0
- package/app/models/quit-question.d.ts +16 -0
- package/app/models/quit-question.js +30 -0
- package/app/models/quit-question.js.map +1 -0
- package/app/models/scroll-offset.d.ts +15 -0
- package/app/models/scroll-offset.js +25 -0
- package/app/models/scroll-offset.js.map +1 -0
- package/app/models/search-answer.d.ts +39 -0
- package/app/models/search-answer.js +20 -0
- package/app/models/search-answer.js.map +1 -0
- package/app/models/search-filter.d.ts +14 -0
- package/app/models/search-filter.js +20 -0
- package/app/models/search-filter.js.map +1 -0
- package/app/models/search-group.d.ts +14 -0
- package/app/models/search-group.js +18 -0
- package/app/models/search-group.js.map +1 -0
- package/app/models/search-query.d.ts +17 -0
- package/app/models/search-query.js +30 -0
- package/app/models/search-query.js.map +1 -0
- package/app/models/search-rank.d.ts +14 -0
- package/app/models/search-rank.js +32 -0
- package/app/models/search-rank.js.map +1 -0
- package/app/models/search-request.d.ts +15 -0
- package/app/models/search-request.js +20 -0
- package/app/models/search-request.js.map +1 -0
- package/app/models/search-result.d.ts +65 -0
- package/app/models/search-result.js +38 -0
- package/app/models/search-result.js.map +1 -0
- package/app/models/search-row.d.ts +15 -0
- package/app/models/search-row.js +20 -0
- package/app/models/search-row.js.map +1 -0
- package/app/models/search-session.d.ts +42 -0
- package/app/models/search-session.js +161 -0
- package/app/models/search-session.js.map +1 -0
- package/app/models/search-source-contribution.d.ts +75 -0
- package/app/models/search-source-contribution.js +38 -0
- package/app/models/search-source-contribution.js.map +1 -0
- package/app/models/settings/setting-options-supply.d.ts +18 -0
- package/app/models/settings/setting-options-supply.js +46 -0
- package/app/models/settings/setting-options-supply.js.map +1 -0
- package/app/models/settings/settings-group.d.ts +13 -0
- package/app/models/settings/settings-group.js +16 -0
- package/app/models/settings/settings-group.js.map +1 -0
- package/app/models/settings/settings-page-entry.d.ts +22 -0
- package/app/models/settings/settings-page-entry.js +30 -0
- package/app/models/settings/settings-page-entry.js.map +1 -0
- package/app/models/settings/settings-page.d.ts +26 -0
- package/app/models/settings/settings-page.js +62 -0
- package/app/models/settings/settings-page.js.map +1 -0
- package/app/models/settings/settings-row.d.ts +42 -0
- package/app/models/settings/settings-row.js +24 -0
- package/app/models/settings/settings-row.js.map +1 -0
- package/app/models/settings/shortcut-notice.d.ts +15 -0
- package/app/models/settings/shortcut-notice.js +20 -0
- package/app/models/settings/shortcut-notice.js.map +1 -0
- package/app/models/settings/shortcut-row.d.ts +17 -0
- package/app/models/settings/shortcut-row.js +26 -0
- package/app/models/settings/shortcut-row.js.map +1 -0
- package/app/models/settings/text-match.d.ts +16 -0
- package/app/models/settings/text-match.js +41 -0
- package/app/models/settings/text-match.js.map +1 -0
- package/app/models/settings/word-breaks.d.ts +13 -0
- package/app/models/settings/word-breaks.js +34 -0
- package/app/models/settings/word-breaks.js.map +1 -0
- package/app/models/settings-page-contribution.d.ts +46 -0
- package/app/models/settings-page-contribution.js +20 -0
- package/app/models/settings-page-contribution.js.map +1 -0
- package/app/models/shell-documents.d.ts +21 -0
- package/app/models/shell-documents.js +25 -0
- package/app/models/shell-documents.js.map +1 -0
- package/app/models/shell-menus.d.ts +16 -0
- package/app/models/shell-menus.js +97 -0
- package/app/models/shell-menus.js.map +1 -0
- package/app/models/shortcut-binding.d.ts +13 -0
- package/app/models/shortcut-binding.js +16 -0
- package/app/models/shortcut-binding.js.map +1 -0
- package/app/models/shortcut-collision.d.ts +14 -0
- package/app/models/shortcut-collision.js +18 -0
- package/app/models/shortcut-collision.js.map +1 -0
- package/app/models/shortcut-map.d.ts +27 -0
- package/app/models/shortcut-map.js +64 -0
- package/app/models/shortcut-map.js.map +1 -0
- package/app/models/spelling-offer.d.ts +15 -0
- package/app/models/spelling-offer.js +24 -0
- package/app/models/spelling-offer.js.map +1 -0
- package/app/models/startup-state.d.ts +17 -0
- package/app/models/startup-state.js +35 -0
- package/app/models/startup-state.js.map +1 -0
- package/app/models/status-bar-item-contribution.d.ts +45 -0
- package/app/models/status-bar-item-contribution.js +20 -0
- package/app/models/status-bar-item-contribution.js.map +1 -0
- package/app/models/status-bar-item-state.d.ts +82 -0
- package/app/models/status-bar-item-state.js +43 -0
- package/app/models/status-bar-item-state.js.map +1 -0
- package/app/models/status-bar-item.d.ts +62 -0
- package/app/models/status-bar-item.js +29 -0
- package/app/models/status-bar-item.js.map +1 -0
- package/app/models/submenu-row.d.ts +15 -0
- package/app/models/submenu-row.js +19 -0
- package/app/models/submenu-row.js.map +1 -0
- package/app/models/tab-content.d.ts +18 -0
- package/app/models/tab-content.js +22 -0
- package/app/models/tab-content.js.map +1 -0
- package/app/models/tab-target.d.ts +19 -0
- package/app/models/tab-target.js +30 -0
- package/app/models/tab-target.js.map +1 -0
- package/app/models/text-range.d.ts +40 -0
- package/app/models/text-range.js +25 -0
- package/app/models/text-range.js.map +1 -0
- package/app/models/toolbar-drop-target.d.ts +17 -0
- package/app/models/toolbar-drop-target.js +28 -0
- package/app/models/toolbar-drop-target.js.map +1 -0
- package/app/models/toolbar-fit.d.ts +10 -0
- package/app/models/toolbar-fit.js +17 -0
- package/app/models/toolbar-fit.js.map +1 -0
- package/app/models/toolbar-placement.d.ts +14 -0
- package/app/models/toolbar-placement.js +24 -0
- package/app/models/toolbar-placement.js.map +1 -0
- package/app/models/toolbar.d.ts +14 -0
- package/app/models/toolbar.js +18 -0
- package/app/models/toolbar.js.map +1 -0
- package/app/models/top-bar-action-contribution.d.ts +44 -0
- package/app/models/top-bar-action-contribution.js +21 -0
- package/app/models/top-bar-action-contribution.js.map +1 -0
- package/app/models/top-bar-action-state.d.ts +51 -0
- package/app/models/top-bar-action-state.js +27 -0
- package/app/models/top-bar-action-state.js.map +1 -0
- package/app/models/top-bar-action.d.ts +62 -0
- package/app/models/top-bar-action.js +29 -0
- package/app/models/top-bar-action.js.map +1 -0
- package/app/models/update-state.d.ts +23 -0
- package/app/models/update-state.js +56 -0
- package/app/models/update-state.js.map +1 -0
- package/app/models/view-badge.d.ts +37 -0
- package/app/models/view-badge.js +22 -0
- package/app/models/view-badge.js.map +1 -0
- package/app/models/view-contribution.d.ts +91 -0
- package/app/models/view-contribution.js +42 -0
- package/app/models/view-contribution.js.map +1 -0
- package/app/models/web-view-handle.d.ts +59 -0
- package/app/models/web-view-handle.js +121 -0
- package/app/models/web-view-handle.js.map +1 -0
- package/app/models/web-view-layer.d.ts +20 -0
- package/app/models/web-view-layer.js +45 -0
- package/app/models/web-view-layer.js.map +1 -0
- package/app/models/window-appearance.d.ts +18 -0
- package/app/models/window-appearance.js +61 -0
- package/app/models/window-appearance.js.map +1 -0
- package/app/models/window-application.d.ts +32 -0
- package/app/models/window-application.js +45 -0
- package/app/models/window-application.js.map +1 -0
- package/app/models/window-palette.d.ts +18 -0
- package/app/models/window-palette.js +26 -0
- package/app/models/window-palette.js.map +1 -0
- package/app/models/window-part-activation.d.ts +16 -0
- package/app/models/window-part-activation.js +18 -0
- package/app/models/window-part-activation.js.map +1 -0
- package/app/models/window-part-context.d.ts +174 -0
- package/app/models/window-part-context.js +716 -0
- package/app/models/window-part-context.js.map +1 -0
- package/app/models/window-part-source.d.ts +95 -0
- package/app/models/window-part-source.js +40 -0
- package/app/models/window-part-source.js.map +1 -0
- package/app/models/window-part-tokens.d.ts +32 -0
- package/app/models/window-part-tokens.js +15 -0
- package/app/models/window-part-tokens.js.map +1 -0
- package/app/models/window-secrets.d.ts +18 -0
- package/app/models/window-secrets.js +33 -0
- package/app/models/window-secrets.js.map +1 -0
- package/app/models/window-web-views.d.ts +18 -0
- package/app/models/window-web-views.js +34 -0
- package/app/models/window-web-views.js.map +1 -0
- package/app/services/agent-control.service.d.ts +24 -0
- package/app/services/agent-control.service.js +58 -0
- package/app/services/agent-control.service.js.map +1 -0
- package/app/services/appearance-settings.service.d.ts +12 -0
- package/app/services/appearance-settings.service.js +50 -0
- package/app/services/appearance-settings.service.js.map +1 -0
- package/app/services/bar-items.service.d.ts +22 -0
- package/app/services/bar-items.service.js +36 -0
- package/app/services/bar-items.service.js.map +1 -0
- package/app/services/clock-setting.service.d.ts +26 -0
- package/app/services/clock-setting.service.js +43 -0
- package/app/services/clock-setting.service.js.map +1 -0
- package/app/services/closing.service.d.ts +19 -0
- package/app/services/closing.service.js +99 -0
- package/app/services/closing.service.js.map +1 -0
- package/app/services/command.service.d.ts +51 -0
- package/app/services/command.service.js +178 -0
- package/app/services/command.service.js.map +1 -0
- package/app/services/details.service.d.ts +8 -0
- package/app/services/details.service.js +28 -0
- package/app/services/details.service.js.map +1 -0
- package/app/services/dialog-cover.service.d.ts +32 -0
- package/app/services/dialog-cover.service.js +102 -0
- package/app/services/dialog-cover.service.js.map +1 -0
- package/app/services/dock-growth.service.d.ts +15 -0
- package/app/services/dock-growth.service.js +63 -0
- package/app/services/dock-growth.service.js.map +1 -0
- package/app/services/document-history.service.d.ts +24 -0
- package/app/services/document-history.service.js +68 -0
- package/app/services/document-history.service.js.map +1 -0
- package/app/services/document-instances.service.d.ts +15 -0
- package/app/services/document-instances.service.js +47 -0
- package/app/services/document-instances.service.js.map +1 -0
- package/app/services/document-opener.service.d.ts +18 -0
- package/app/services/document-opener.service.js +75 -0
- package/app/services/document-opener.service.js.map +1 -0
- package/app/services/edit-target.service.d.ts +23 -0
- package/app/services/edit-target.service.js +93 -0
- package/app/services/edit-target.service.js.map +1 -0
- package/app/services/issued-file-grants.reader.d.ts +13 -0
- package/app/services/issued-file-grants.reader.js +24 -0
- package/app/services/issued-file-grants.reader.js.map +1 -0
- package/app/services/layout-menu.service.d.ts +9 -0
- package/app/services/layout-menu.service.js +32 -0
- package/app/services/layout-menu.service.js.map +1 -0
- package/app/services/layout-store.service.d.ts +10 -0
- package/app/services/layout-store.service.js +35 -0
- package/app/services/layout-store.service.js.map +1 -0
- package/app/services/layout.reader.d.ts +23 -0
- package/app/services/layout.reader.js +113 -0
- package/app/services/layout.reader.js.map +1 -0
- package/app/services/layout.service.d.ts +98 -0
- package/app/services/layout.service.js +309 -0
- package/app/services/layout.service.js.map +1 -0
- package/app/services/link.service.d.ts +34 -0
- package/app/services/link.service.js +116 -0
- package/app/services/link.service.js.map +1 -0
- package/app/services/live-view.service.d.ts +38 -0
- package/app/services/live-view.service.js +130 -0
- package/app/services/live-view.service.js.map +1 -0
- package/app/services/menu-bar.service.d.ts +28 -0
- package/app/services/menu-bar.service.js +89 -0
- package/app/services/menu-bar.service.js.map +1 -0
- package/app/services/menu.service.d.ts +34 -0
- package/app/services/menu.service.js +96 -0
- package/app/services/menu.service.js.map +1 -0
- package/app/services/module-selection.service.d.ts +18 -0
- package/app/services/module-selection.service.js +31 -0
- package/app/services/module-selection.service.js.map +1 -0
- package/app/services/module-status.service.d.ts +22 -0
- package/app/services/module-status.service.js +39 -0
- package/app/services/module-status.service.js.map +1 -0
- package/app/services/module-switch.service.d.ts +16 -0
- package/app/services/module-switch.service.js +56 -0
- package/app/services/module-switch.service.js.map +1 -0
- package/app/services/notification.service.d.ts +38 -0
- package/app/services/notification.service.js +103 -0
- package/app/services/notification.service.js.map +1 -0
- package/app/services/preload-bridge.service.d.ts +114 -0
- package/app/services/preload-bridge.service.js +495 -0
- package/app/services/preload-bridge.service.js.map +1 -0
- package/app/services/program-status.service.d.ts +27 -0
- package/app/services/program-status.service.js +75 -0
- package/app/services/program-status.service.js.map +1 -0
- package/app/services/quit.service.d.ts +17 -0
- package/app/services/quit.service.js +37 -0
- package/app/services/quit.service.js.map +1 -0
- package/app/services/recent-commands.service.d.ts +24 -0
- package/app/services/recent-commands.service.js +63 -0
- package/app/services/recent-commands.service.js.map +1 -0
- package/app/services/search-palette.service.d.ts +20 -0
- package/app/services/search-palette.service.js +66 -0
- package/app/services/search-palette.service.js.map +1 -0
- package/app/services/search.service.d.ts +20 -0
- package/app/services/search.service.js +40 -0
- package/app/services/search.service.js.map +1 -0
- package/app/services/setting-check.service.d.ts +10 -0
- package/app/services/setting-check.service.js +32 -0
- package/app/services/setting-check.service.js.map +1 -0
- package/app/services/setting-options.service.d.ts +14 -0
- package/app/services/setting-options.service.js +38 -0
- package/app/services/setting-options.service.js.map +1 -0
- package/app/services/settings-page.service.d.ts +19 -0
- package/app/services/settings-page.service.js +35 -0
- package/app/services/settings-page.service.js.map +1 -0
- package/app/services/settings-rows.service.d.ts +17 -0
- package/app/services/settings-rows.service.js +29 -0
- package/app/services/settings-rows.service.js.map +1 -0
- package/app/services/settings.service.d.ts +38 -0
- package/app/services/settings.service.js +104 -0
- package/app/services/settings.service.js.map +1 -0
- package/app/services/shell-commands.service.d.ts +61 -0
- package/app/services/shell-commands.service.js +346 -0
- package/app/services/shell-commands.service.js.map +1 -0
- package/app/services/shell-search-sources.service.d.ts +35 -0
- package/app/services/shell-search-sources.service.js +103 -0
- package/app/services/shell-search-sources.service.js.map +1 -0
- package/app/services/spelling.service.d.ts +26 -0
- package/app/services/spelling.service.js +75 -0
- package/app/services/spelling.service.js.map +1 -0
- package/app/services/startup.service.d.ts +19 -0
- package/app/services/startup.service.js +62 -0
- package/app/services/startup.service.js.map +1 -0
- package/app/services/support.service.d.ts +18 -0
- package/app/services/support.service.js +79 -0
- package/app/services/support.service.js.map +1 -0
- package/app/services/tab-destinations.service.d.ts +10 -0
- package/app/services/tab-destinations.service.js +41 -0
- package/app/services/tab-destinations.service.js.map +1 -0
- package/app/services/tab-drag.service.d.ts +33 -0
- package/app/services/tab-drag.service.js +138 -0
- package/app/services/tab-drag.service.js.map +1 -0
- package/app/services/tab-focus.service.d.ts +24 -0
- package/app/services/tab-focus.service.js +93 -0
- package/app/services/tab-focus.service.js.map +1 -0
- package/app/services/tab-label.service.d.ts +37 -0
- package/app/services/tab-label.service.js +104 -0
- package/app/services/tab-label.service.js.map +1 -0
- package/app/services/tab-rename.service.d.ts +30 -0
- package/app/services/tab-rename.service.js +82 -0
- package/app/services/tab-rename.service.js.map +1 -0
- package/app/services/tab-row.service.d.ts +16 -0
- package/app/services/tab-row.service.js +50 -0
- package/app/services/tab-row.service.js.map +1 -0
- package/app/services/tab-strip.service.d.ts +11 -0
- package/app/services/tab-strip.service.js +44 -0
- package/app/services/tab-strip.service.js.map +1 -0
- package/app/services/time-formats.service.d.ts +20 -0
- package/app/services/time-formats.service.js +40 -0
- package/app/services/time-formats.service.js.map +1 -0
- package/app/services/toast.service.d.ts +31 -0
- package/app/services/toast.service.js +143 -0
- package/app/services/toast.service.js.map +1 -0
- package/app/services/toolbar-drag.service.d.ts +21 -0
- package/app/services/toolbar-drag.service.js +105 -0
- package/app/services/toolbar-drag.service.js.map +1 -0
- package/app/services/toolbar.service.d.ts +34 -0
- package/app/services/toolbar.service.js +89 -0
- package/app/services/toolbar.service.js.map +1 -0
- package/app/services/update.service.d.ts +25 -0
- package/app/services/update.service.js +47 -0
- package/app/services/update.service.js.map +1 -0
- package/app/services/view-dialog.service.d.ts +28 -0
- package/app/services/view-dialog.service.js +113 -0
- package/app/services/view-dialog.service.js.map +1 -0
- package/app/services/view-instances.service.d.ts +37 -0
- package/app/services/view-instances.service.js +132 -0
- package/app/services/view-instances.service.js.map +1 -0
- package/app/services/web-view.service.d.ts +56 -0
- package/app/services/web-view.service.js +302 -0
- package/app/services/web-view.service.js.map +1 -0
- package/app/services/window-error-handler.d.ts +18 -0
- package/app/services/window-error-handler.js +43 -0
- package/app/services/window-error-handler.js.map +1 -0
- package/app/services/window-part-host.service.d.ts +201 -0
- package/app/services/window-part-host.service.js +796 -0
- package/app/services/window-part-host.service.js.map +1 -0
- package/app/services/window-row-overlay.service.d.ts +15 -0
- package/app/services/window-row-overlay.service.js +79 -0
- package/app/services/window-row-overlay.service.js.map +1 -0
- package/package.json +49 -3
- package/resources.d.ts +1042 -0
- package/resources.js +1454 -0
- package/resources.js.map +1 -0
- package/testing/models/fake-window-part-context.d.ts +1422 -0
- package/testing/models/fake-window-part-context.js +110 -0
- package/testing/models/fake-window-part-context.js.map +1 -0
- package/testing/models/fake-window-secrets.d.ts +109 -0
- package/testing/models/fake-window-secrets.js +14 -0
- package/testing/models/fake-window-secrets.js.map +1 -0
- package/testing/models/fake-window-web-views.d.ts +66 -0
- package/testing/models/fake-window-web-views.js +12 -0
- package/testing/models/fake-window-web-views.js.map +1 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { type InputSignal, type WritableSignal } from "@angular/core";
|
|
9
|
+
import "@noldova/context.core";
|
|
10
|
+
import { ButtonVariant } from "@noldova/ui.components.angular";
|
|
11
|
+
import type { ModuleStatus } from "@noldova/desktop.protocol";
|
|
12
|
+
import { Resources } from "../../../resources.js";
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
14
|
+
export declare class ModuleActionsComponent {
|
|
15
|
+
private readonly bridge;
|
|
16
|
+
private readonly details;
|
|
17
|
+
private readonly errors;
|
|
18
|
+
private copiedTimer;
|
|
19
|
+
protected readonly resources: typeof Resources;
|
|
20
|
+
protected readonly secondary: ButtonVariant;
|
|
21
|
+
protected readonly isCopied: WritableSignal<boolean>;
|
|
22
|
+
protected readonly isLogFolderFailed: WritableSignal<boolean>;
|
|
23
|
+
readonly module: InputSignal<ModuleStatus>;
|
|
24
|
+
constructor();
|
|
25
|
+
protected copy(): void;
|
|
26
|
+
protected openLogFolder(): void;
|
|
27
|
+
private copyAsync;
|
|
28
|
+
private clearCopiedTimer;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModuleActionsComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModuleActionsComponent, "nol-module-actions", never, { "module": { "alias": "module"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { Component, DestroyRef, ErrorHandler, inject, input, signal } from "@angular/core";
|
|
9
|
+
import "@noldova/context.core";
|
|
10
|
+
import { ButtonComponent, ButtonVariant } from "@noldova/ui.components.angular";
|
|
11
|
+
import { DetailsService } from "../../services/details.service.js";
|
|
12
|
+
import { PreloadBridgeService } from "../../services/preload-bridge.service.js";
|
|
13
|
+
import { Resources } from "../../../resources.js";
|
|
14
|
+
import * as i0 from "@angular/core";
|
|
15
|
+
export class ModuleActionsComponent {
|
|
16
|
+
bridge = inject(PreloadBridgeService);
|
|
17
|
+
details = inject(DetailsService);
|
|
18
|
+
errors = inject(ErrorHandler);
|
|
19
|
+
copiedTimer = null;
|
|
20
|
+
resources = Resources;
|
|
21
|
+
secondary = ButtonVariant.Secondary;
|
|
22
|
+
isCopied = signal(false, /* @ts-ignore */
|
|
23
|
+
...(ngDevMode ? [{ debugName: "isCopied" }] : /* istanbul ignore next */ []));
|
|
24
|
+
isLogFolderFailed = signal(false, /* @ts-ignore */
|
|
25
|
+
...(ngDevMode ? [{ debugName: "isLogFolderFailed" }] : /* istanbul ignore next */ []));
|
|
26
|
+
module = input.required(/* @ts-ignore */
|
|
27
|
+
...(ngDevMode ? [{ debugName: "module" }] : /* istanbul ignore next */ []));
|
|
28
|
+
constructor() {
|
|
29
|
+
inject(DestroyRef).onDestroy(() => this.clearCopiedTimer());
|
|
30
|
+
}
|
|
31
|
+
copy() {
|
|
32
|
+
this.copyAsync().catch((error) => this.errors.handleError(error));
|
|
33
|
+
}
|
|
34
|
+
openLogFolder() {
|
|
35
|
+
this.bridge.openLogFolderAsync().then(t => this.isLogFolderFailed.set(!t), (error) => {
|
|
36
|
+
this.isLogFolderFailed.set(true);
|
|
37
|
+
this.errors.handleError(error);
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
async copyAsync() {
|
|
41
|
+
if (!await this.details.copyAsync([this.module()]))
|
|
42
|
+
return;
|
|
43
|
+
this.clearCopiedTimer();
|
|
44
|
+
this.isCopied.set(true);
|
|
45
|
+
this.copiedTimer = setTimeout(() => {
|
|
46
|
+
this.copiedTimer = null;
|
|
47
|
+
this.isCopied.set(false);
|
|
48
|
+
}, Resources.copiedDuration);
|
|
49
|
+
}
|
|
50
|
+
clearCopiedTimer() {
|
|
51
|
+
if (!Object.isNull(this.copiedTimer))
|
|
52
|
+
clearTimeout(this.copiedTimer);
|
|
53
|
+
this.copiedTimer = null;
|
|
54
|
+
}
|
|
55
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: ModuleActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
56
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: ModuleActionsComponent, isStandalone: true, selector: "nol-module-actions", inputs: { module: { classPropertyName: "module", publicName: "module", isSignal: true, isRequired: true, transformFunction: null } }, host: { classAttribute: "nol-module-actions" }, ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div class=\"nol-module-actions-buttons\">\n <button type=\"button\" nol-button class=\"nol-module-actions-copy\" [variant]=\"secondary\" (click)=\"copy()\">\n <span nolButtonIcon class=\"material-symbols-rounded nol-module-actions-glyph\" aria-hidden=\"true\">{{ isCopied() ? resources.copiedGlyph : resources.copyGlyph }}</span>\n <span>{{ isCopied() ? resources.copiedLabel : resources.copyDetailsLabel }}</span>\n </button>\n <button type=\"button\" nol-button class=\"nol-module-actions-logs\" [variant]=\"secondary\" (click)=\"openLogFolder()\">\n <span nolButtonIcon class=\"material-symbols-rounded nol-module-actions-glyph\" aria-hidden=\"true\">{{ resources.logFolderGlyph }}</span>\n <span>{{ resources.openLogFolderLabel }}</span>\n </button>\n</div>\n@if (isLogFolderFailed()) {\n <p class=\"nol-module-actions-notice\" role=\"status\">{{ resources.logFolderNotOpened }}</p>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n}\n\n.nol-module-actions-buttons {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2);\n}\n\n.nol-module-actions-glyph {\n font-size: var(--nol-icon);\n}\n\n.nol-module-actions-notice {\n margin: 0;\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }] });
|
|
57
|
+
}
|
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: ModuleActionsComponent, decorators: [{
|
|
59
|
+
type: Component,
|
|
60
|
+
args: [{ selector: "nol-module-actions", imports: [ButtonComponent], host: {
|
|
61
|
+
"class": "nol-module-actions"
|
|
62
|
+
}, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div class=\"nol-module-actions-buttons\">\n <button type=\"button\" nol-button class=\"nol-module-actions-copy\" [variant]=\"secondary\" (click)=\"copy()\">\n <span nolButtonIcon class=\"material-symbols-rounded nol-module-actions-glyph\" aria-hidden=\"true\">{{ isCopied() ? resources.copiedGlyph : resources.copyGlyph }}</span>\n <span>{{ isCopied() ? resources.copiedLabel : resources.copyDetailsLabel }}</span>\n </button>\n <button type=\"button\" nol-button class=\"nol-module-actions-logs\" [variant]=\"secondary\" (click)=\"openLogFolder()\">\n <span nolButtonIcon class=\"material-symbols-rounded nol-module-actions-glyph\" aria-hidden=\"true\">{{ resources.logFolderGlyph }}</span>\n <span>{{ resources.openLogFolderLabel }}</span>\n </button>\n</div>\n@if (isLogFolderFailed()) {\n <p class=\"nol-module-actions-notice\" role=\"status\">{{ resources.logFolderNotOpened }}</p>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n}\n\n.nol-module-actions-buttons {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2);\n}\n\n.nol-module-actions-glyph {\n font-size: var(--nol-icon);\n}\n\n.nol-module-actions-notice {\n margin: 0;\n}\n"] }]
|
|
63
|
+
}], ctorParameters: () => [], propDecorators: { module: [{ type: i0.Input, args: [{ isSignal: true, alias: "module", required: true }] }] } });
|
|
64
|
+
//# sourceMappingURL=module-actions.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module-actions.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.desktop.window/src/app/components/module-actions/module-actions.component.ts","../../../../../../src/noldova.desktop.window/src/app/components/module-actions/module-actions.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,SAAS,EACT,UAAU,EACV,YAAY,EAGZ,MAAM,EACN,KAAK,EACL,MAAM,E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AI,CAAC,CAAC;YACjC,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;QACjC,CAAC,CAAC,CAAC;IACP,CAAC;IAEO,KAAK,CAAC,SAAS;QACrB,IAAI,CAAC,MAAM,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC;YAChD,OAAO;QACT,IAAI,CAAC,gBAAgB,EAAE,CAAC;QACxB,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QACxB,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC,GAAG,EAAE;YACjC,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;YACxB,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QAC3B,CAAC,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IAC/B,CAAC;IAEO,gBAAgB;QACtB,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC;YAClC,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACjC,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;IAC1B,CAAC;uGA7CU,sBAAsB;2FAAtB,sBAAsB,oQCpCnC,sjCAqBA,2hBDQY,eAAe;;2FAOd,sBAAsB;kBATlC,SAAS;+BACE,oBAAoB,WACrB,CAAC,eAAe,CAAC,QAGpB;wBACJ,OAAO,EAAE,oBAAoB;qBAC9B"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { type InputSignal } from "@angular/core";
|
|
9
|
+
import type { ModuleFailure } from "../../models/module-failure.js";
|
|
10
|
+
import { Resources } from "../../../resources.js";
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export declare class ModuleFailureCardComponent {
|
|
13
|
+
protected readonly resources: typeof Resources;
|
|
14
|
+
readonly failure: InputSignal<ModuleFailure>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModuleFailureCardComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModuleFailureCardComponent, "nol-module-failure-card", never, { "failure": { "alias": "failure"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { Component, input } from "@angular/core";
|
|
9
|
+
import { CardComponent } from "@noldova/ui.components.angular";
|
|
10
|
+
import { Resources } from "../../../resources.js";
|
|
11
|
+
import { ModuleSwitchComponent } from "../module-switch/module-switch.component.js";
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
export class ModuleFailureCardComponent {
|
|
14
|
+
resources = Resources;
|
|
15
|
+
failure = input.required(/* @ts-ignore */
|
|
16
|
+
...(ngDevMode ? [{ debugName: "failure" }] : /* istanbul ignore next */ []));
|
|
17
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: ModuleFailureCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
18
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: ModuleFailureCardComponent, isStandalone: true, selector: "nol-module-failure-card", inputs: { failure: { classPropertyName: "failure", publicName: "failure", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-card class=\"nol-module-failure-card\">\n @if (failure().switchSetting; as setting) {\n <h2 class=\"nol-module-failure-card-title\">\n <span class=\"material-symbols-rounded nol-module-failure-card-icon nol-module-failure-card-off\" aria-hidden=\"true\">{{ resources.moduleOffGlyph }}</span>\n <span>{{ resources.formatModuleOff(failure().displayName) }}</span>\n </h2>\n <nol-module-switch [setting]=\"setting\" />\n } @else {\n <h2 class=\"nol-module-failure-card-title\">\n <span class=\"material-symbols-rounded nol-module-failure-card-icon\" [class.nol-module-failure-card-off]=\"failure().isTurnedOff\" aria-hidden=\"true\">{{ failure().glyph }}</span>\n <span>{{ resources.formatModuleDidNotStart(failure().displayName) }}</span>\n </h2>\n <p class=\"nol-module-failure-card-cause\">{{ failure().cause }}</p>\n }\n</nol-card>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n}\n\n.nol-module-failure-card {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-1);\n}\n\n.nol-module-failure-card-title {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n margin: 0;\n font-size: inherit;\n font-weight: var(--nol-weight-emphasis);\n line-height: inherit;\n}\n\n.nol-module-failure-card-icon {\n color: var(--nol-error);\n font-size: var(--nol-icon);\n}\n\n.nol-module-failure-card-off {\n color: var(--nol-text-muted);\n}\n\n.nol-module-failure-card-cause {\n margin: 0;\n color: var(--nol-text-muted);\n overflow-wrap: anywhere;\n}\n"], dependencies: [{ kind: "component", type: CardComponent, selector: "nol-card" }, { kind: "component", type: ModuleSwitchComponent, selector: "nol-module-switch", inputs: ["setting"] }] });
|
|
19
|
+
}
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: ModuleFailureCardComponent, decorators: [{
|
|
21
|
+
type: Component,
|
|
22
|
+
args: [{ selector: "nol-module-failure-card", imports: [CardComponent, ModuleSwitchComponent], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-card class=\"nol-module-failure-card\">\n @if (failure().switchSetting; as setting) {\n <h2 class=\"nol-module-failure-card-title\">\n <span class=\"material-symbols-rounded nol-module-failure-card-icon nol-module-failure-card-off\" aria-hidden=\"true\">{{ resources.moduleOffGlyph }}</span>\n <span>{{ resources.formatModuleOff(failure().displayName) }}</span>\n </h2>\n <nol-module-switch [setting]=\"setting\" />\n } @else {\n <h2 class=\"nol-module-failure-card-title\">\n <span class=\"material-symbols-rounded nol-module-failure-card-icon\" [class.nol-module-failure-card-off]=\"failure().isTurnedOff\" aria-hidden=\"true\">{{ failure().glyph }}</span>\n <span>{{ resources.formatModuleDidNotStart(failure().displayName) }}</span>\n </h2>\n <p class=\"nol-module-failure-card-cause\">{{ failure().cause }}</p>\n }\n</nol-card>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n}\n\n.nol-module-failure-card {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-1);\n}\n\n.nol-module-failure-card-title {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n margin: 0;\n font-size: inherit;\n font-weight: var(--nol-weight-emphasis);\n line-height: inherit;\n}\n\n.nol-module-failure-card-icon {\n color: var(--nol-error);\n font-size: var(--nol-icon);\n}\n\n.nol-module-failure-card-off {\n color: var(--nol-text-muted);\n}\n\n.nol-module-failure-card-cause {\n margin: 0;\n color: var(--nol-text-muted);\n overflow-wrap: anywhere;\n}\n"] }]
|
|
23
|
+
}], propDecorators: { failure: [{ type: i0.Input, args: [{ isSignal: true, alias: "failure", required: true }] }] } });
|
|
24
|
+
//# sourceMappingURL=module-failure-card.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module-failure-card.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.desktop.window/src/app/components/module-failure-card/module-failure-card.component.ts","../../../../../../src/noldova.desktop.window/src/app/components/module-failure-card/module-failure-card.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAoB,KAAK,EAAE,MAAM,eAAe,CAAC;AAEnE,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAG/D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;;AAQpF,MAAM,OAAO,0BAA0B;IAClB,SAAS,GAAqB,SAAS,CAAC;IAE3C,OAAO,GAA+B,KAAK,CAAC,QAAQ;gFAAiB,CAAC;uGAH3E,0BAA0B;2FAA1B,0BAA0B,4NCtBvC,yhCAuBA,u2BDLY,aAAa,qDAAE,qBAAqB;;2FAInC,0BAA0B;kBANtC,SAAS;+BACE,yBAAyB,WAC1B,CAAC,aAAa,EAAE,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { type Signal } from "@angular/core";
|
|
9
|
+
import "@noldova/context.core";
|
|
10
|
+
import type { ModuleFailure } from "../../models/module-failure.js";
|
|
11
|
+
import { Resources } from "../../../resources.js";
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
export declare class ModuleFailuresComponent {
|
|
14
|
+
private readonly selection;
|
|
15
|
+
protected readonly resources: typeof Resources;
|
|
16
|
+
protected readonly failures: Signal<readonly ModuleFailure[]>;
|
|
17
|
+
protected open(id: string): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModuleFailuresComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModuleFailuresComponent, "nol-module-failures", never, {}, {}, never, never, true, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { Component, inject } from "@angular/core";
|
|
9
|
+
import "@noldova/context.core";
|
|
10
|
+
import { ModuleSelectionService } from "../../services/module-selection.service.js";
|
|
11
|
+
import { WindowPartHostService } from "../../services/window-part-host.service.js";
|
|
12
|
+
import { Resources } from "../../../resources.js";
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
14
|
+
export class ModuleFailuresComponent {
|
|
15
|
+
selection = inject(ModuleSelectionService);
|
|
16
|
+
resources = Resources;
|
|
17
|
+
failures = inject(WindowPartHostService).failures;
|
|
18
|
+
open(id) {
|
|
19
|
+
this.selection.open(id);
|
|
20
|
+
}
|
|
21
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: ModuleFailuresComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
22
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: ModuleFailuresComponent, isStandalone: true, selector: "nol-module-failures", ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (failures()[0]; as first) {\n <button type=\"button\" class=\"nol-module-failures-item\" (click)=\"open(first.moduleId)\">\n <span class=\"material-symbols-rounded nol-module-failures-icon\" aria-hidden=\"true\">{{ resources.moduleFailureGlyph }}</span>\n <span>{{ resources.formatModulesDidNotStart(failures().length) }}</span>\n </button>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: flex;\n height: var(--nol-status-bar-item-height);\n}\n\n:host:empty {\n display: none;\n}\n\n.nol-module-failures-item {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-1);\n margin: 0;\n padding: 0 var(--nol-pill-padding);\n border: 0;\n border-radius: var(--nol-radius-hover);\n background-color: transparent;\n color: inherit;\n font: inherit;\n white-space: nowrap;\n}\n\n.nol-module-failures-item:hover {\n background-color: var(--nol-toolbar-hover);\n\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.nol-module-failures-item:focus-visible {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: calc(var(--nol-border-width) * -1);\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n.nol-module-failures-icon {\n color: var(--nol-error);\n font-size: var(--nol-icon);\n}\n"] });
|
|
23
|
+
}
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: ModuleFailuresComponent, decorators: [{
|
|
25
|
+
type: Component,
|
|
26
|
+
args: [{ selector: "nol-module-failures", template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (failures()[0]; as first) {\n <button type=\"button\" class=\"nol-module-failures-item\" (click)=\"open(first.moduleId)\">\n <span class=\"material-symbols-rounded nol-module-failures-icon\" aria-hidden=\"true\">{{ resources.moduleFailureGlyph }}</span>\n <span>{{ resources.formatModulesDidNotStart(failures().length) }}</span>\n </button>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: flex;\n height: var(--nol-status-bar-item-height);\n}\n\n:host:empty {\n display: none;\n}\n\n.nol-module-failures-item {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-1);\n margin: 0;\n padding: 0 var(--nol-pill-padding);\n border: 0;\n border-radius: var(--nol-radius-hover);\n background-color: transparent;\n color: inherit;\n font: inherit;\n white-space: nowrap;\n}\n\n.nol-module-failures-item:hover {\n background-color: var(--nol-toolbar-hover);\n\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.nol-module-failures-item:focus-visible {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: calc(var(--nol-border-width) * -1);\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n.nol-module-failures-icon {\n color: var(--nol-error);\n font-size: var(--nol-icon);\n}\n"] }]
|
|
27
|
+
}] });
|
|
28
|
+
//# sourceMappingURL=module-failures.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module-failures.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.desktop.window/src/app/components/module-failures/module-failures.component.ts","../../../../../../src/noldova.desktop.window/src/app/components/module-failures/module-failures.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAe,MAAM,EAAE,MAAM,eAAe,CAAC;AAE/D,OAAO,uBAAuB,CAAC;AAG/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AACpF,OAAO,EAAE,qBAAqB,EAAE,MAAM,4CAA4C,CAAC;AACnF,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;;AAOlD,MAAM,OAAO,uBAAuB;IACjB,SAAS,GAA2B,MAAM,CAAC,sBAAsB,CAAC,CAAC;IAEjE,SAAS,GAAqB,SAAS,CAAC;IACxC,QAAQ,GAAqC,MAAM,CAAC,qBAAqB,CAAC,CAAC,QAAQ,CAAC;IAE7F,IAAI,CAAC,EAAU;QACvB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAC1B,CAAC;uGARU,uBAAuB;2FAAvB,uBAAuB,+ECtBpC,8gBAcA;;2FDQa,uBAAuB;kBALnC,SAAS;+BACE,qBAAqB"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { type InputSignal, type Signal } from "@angular/core";
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class ModuleSwitchComponent {
|
|
11
|
+
private readonly settings;
|
|
12
|
+
private readonly switches;
|
|
13
|
+
private readonly errors;
|
|
14
|
+
private readonly tasks;
|
|
15
|
+
private readonly pending;
|
|
16
|
+
protected readonly isOn: Signal<boolean>;
|
|
17
|
+
protected readonly label: Signal<string>;
|
|
18
|
+
readonly setting: InputSignal<string>;
|
|
19
|
+
protected turn(isOn: boolean): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModuleSwitchComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModuleSwitchComponent, "nol-module-switch", never, { "setting": { "alias": "setting"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { Component, ErrorHandler, PendingTasks, computed, inject, input, signal } from "@angular/core";
|
|
9
|
+
import { CheckboxComponent } from "@noldova/ui.components.angular";
|
|
10
|
+
import { ModuleSwitchService } from "../../services/module-switch.service.js";
|
|
11
|
+
import { SettingsService } from "../../services/settings.service.js";
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
export class ModuleSwitchComponent {
|
|
14
|
+
settings = inject(SettingsService);
|
|
15
|
+
switches = inject(ModuleSwitchService);
|
|
16
|
+
errors = inject(ErrorHandler);
|
|
17
|
+
tasks = inject(PendingTasks);
|
|
18
|
+
pending = signal(null, /* @ts-ignore */
|
|
19
|
+
...(ngDevMode ? [{ debugName: "pending" }] : /* istanbul ignore next */ []));
|
|
20
|
+
isOn = computed(() => this.pending()?.isOn ?? this.settings.values().get(this.setting()) !== false, /* @ts-ignore */
|
|
21
|
+
...(ngDevMode ? [{ debugName: "isOn" }] : /* istanbul ignore next */ []));
|
|
22
|
+
label = computed(() => this.settings.definitions().find(t => t.name.text === this.setting())?.description ?? this.setting(), /* @ts-ignore */
|
|
23
|
+
...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
|
|
24
|
+
setting = input.required(/* @ts-ignore */
|
|
25
|
+
...(ngDevMode ? [{ debugName: "setting" }] : /* istanbul ignore next */ []));
|
|
26
|
+
turn(isOn) {
|
|
27
|
+
const change = { isOn };
|
|
28
|
+
this.pending.set(change);
|
|
29
|
+
void this.tasks.run(() => this.switches.setAsync(this.setting(), isOn)
|
|
30
|
+
.catch((error) => this.errors.handleError(error))
|
|
31
|
+
.finally(() => this.pending.update(t => t === change ? null : t)));
|
|
32
|
+
}
|
|
33
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: ModuleSwitchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
34
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.2.6", type: ModuleSwitchComponent, isStandalone: true, selector: "nol-module-switch", inputs: { setting: { classPropertyName: "setting", publicName: "setting", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-checkbox class=\"nol-module-switch\" [checked]=\"isOn()\" (checkedChange)=\"turn($event)\">{{ label() }}</nol-checkbox>\n", dependencies: [{ kind: "component", type: CheckboxComponent, selector: "nol-checkbox", inputs: ["checked", "disabled"], outputs: ["checkedChange"] }] });
|
|
35
|
+
}
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: ModuleSwitchComponent, decorators: [{
|
|
37
|
+
type: Component,
|
|
38
|
+
args: [{ selector: "nol-module-switch", imports: [CheckboxComponent], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-checkbox class=\"nol-module-switch\" [checked]=\"isOn()\" (checkedChange)=\"turn($event)\">{{ label() }}</nol-checkbox>\n" }]
|
|
39
|
+
}], propDecorators: { setting: [{ type: i0.Input, args: [{ isSignal: true, alias: "setting", required: true }] }] } });
|
|
40
|
+
//# sourceMappingURL=module-switch.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module-switch.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.desktop.window/src/app/components/module-switch/module-switch.component.ts","../../../../../../src/noldova.desktop.window/src/app/components/module-switch/module-switch.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,YAAY,EAAoB,YAAY,EAAoC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAE3J,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAEnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;;AAOrE,MAAM,OAAO,qBAAqB;IACf,QAAQ,GAAoB,MAAM,CAAC,eAAe,CAAC,CAAC;IACpD,QAAQ,GAAwB,MAAM,CAAC,mBAAmB,CAAC,CAAC;IAC5D,MAAM,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GAlBU,qBAAqB;2FAArB,qBAAqB,sNCpBlC,uSASA,4CDQY,iBAAiB;;2FAGhB,qBAAqB;kBALjC,SAAS;+BACE,mBAAmB,WACpB,CAAC,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { type Signal, type WritableSignal } from "@angular/core";
|
|
2
|
+
import "@noldova/context.core";
|
|
3
|
+
import { ModuleState, type ModuleStatus } from "@noldova/desktop.protocol";
|
|
4
|
+
import type { ContributionGroup } from "../../models/modules/contribution-group.js";
|
|
5
|
+
import { ModuleOverview } from "../../models/modules/module-overview.js";
|
|
6
|
+
import { ProgramRow } from "../../models/modules/program-row.js";
|
|
7
|
+
import { Resources } from "../../../resources.js";
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class ModulesComponent {
|
|
10
|
+
private readonly commands;
|
|
11
|
+
private readonly settings;
|
|
12
|
+
private readonly element;
|
|
13
|
+
private readonly injector;
|
|
14
|
+
private readonly modules;
|
|
15
|
+
private readonly selection;
|
|
16
|
+
private readonly programs;
|
|
17
|
+
private readonly isShown;
|
|
18
|
+
private readonly time;
|
|
19
|
+
private readonly now;
|
|
20
|
+
private readonly bridge;
|
|
21
|
+
private readonly errors;
|
|
22
|
+
private readonly openGroups;
|
|
23
|
+
private copiedTimer;
|
|
24
|
+
protected readonly resources: typeof Resources;
|
|
25
|
+
protected readonly active: ModuleState;
|
|
26
|
+
protected readonly off: ModuleState;
|
|
27
|
+
protected readonly unavailable: ModuleState;
|
|
28
|
+
protected readonly version: WritableSignal<string | null>;
|
|
29
|
+
protected readonly overview: Signal<ModuleOverview>;
|
|
30
|
+
protected readonly current: Signal<ModuleStatus | null>;
|
|
31
|
+
protected readonly copiedProcess: WritableSignal<number | null>;
|
|
32
|
+
constructor();
|
|
33
|
+
protected labelOf(state: ModuleState): string;
|
|
34
|
+
protected select(id: string): void;
|
|
35
|
+
protected follow(id: string): void;
|
|
36
|
+
protected contributionsOf(module: ModuleStatus): readonly ContributionGroup[];
|
|
37
|
+
protected programsOf(module: ModuleStatus): readonly ProgramRow[];
|
|
38
|
+
protected isOpen(module: ModuleStatus, kind: string): boolean;
|
|
39
|
+
protected setOpen(module: ModuleStatus, kind: string, isOpen: boolean): void;
|
|
40
|
+
protected copyPath(program: ProgramRow): void;
|
|
41
|
+
protected countOf(module: ModuleStatus): string | null;
|
|
42
|
+
private static groupKey;
|
|
43
|
+
private copyPathAsync;
|
|
44
|
+
private clearCopiedTimer;
|
|
45
|
+
private titleOf;
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModulesComponent, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModulesComponent, "nol-modules", never, {}, {}, never, never, true, never>;
|
|
48
|
+
}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { NgTemplateOutlet } from "@angular/common";
|
|
9
|
+
import { Component, DestroyRef, ElementRef, ErrorHandler, Injector, PendingTasks, afterNextRender, computed, effect, inject, signal } from "@angular/core";
|
|
10
|
+
import "@noldova/context.core";
|
|
11
|
+
import { GroupHeaderComponent, IconButtonComponent, TooltipDirective } from "@noldova/ui.components.angular";
|
|
12
|
+
import { ModuleState } from "@noldova/desktop.protocol";
|
|
13
|
+
import { ModuleOverview } from "../../models/modules/module-overview.js";
|
|
14
|
+
import { ProgramRow } from "../../models/modules/program-row.js";
|
|
15
|
+
import { ProductName } from "../../models/product-name.js";
|
|
16
|
+
import { WindowPartTokens } from "../../models/window-part-tokens.js";
|
|
17
|
+
import { CommandService } from "../../services/command.service.js";
|
|
18
|
+
import { PreloadBridgeService } from "../../services/preload-bridge.service.js";
|
|
19
|
+
import { ModuleSelectionService } from "../../services/module-selection.service.js";
|
|
20
|
+
import { ModuleStatusService } from "../../services/module-status.service.js";
|
|
21
|
+
import { ProgramStatusService } from "../../services/program-status.service.js";
|
|
22
|
+
import { SettingsService } from "../../services/settings.service.js";
|
|
23
|
+
import { Resources } from "../../../resources.js";
|
|
24
|
+
import { ModuleActionsComponent } from "../module-actions/module-actions.component.js";
|
|
25
|
+
import { ModuleSwitchComponent } from "../module-switch/module-switch.component.js";
|
|
26
|
+
import * as i0 from "@angular/core";
|
|
27
|
+
export class ModulesComponent {
|
|
28
|
+
commands = inject(CommandService);
|
|
29
|
+
settings = inject(SettingsService);
|
|
30
|
+
element = inject(ElementRef).nativeElement;
|
|
31
|
+
injector = inject(Injector);
|
|
32
|
+
modules = inject(ModuleStatusService).modules;
|
|
33
|
+
selection = inject(ModuleSelectionService);
|
|
34
|
+
programs = inject(ProgramStatusService);
|
|
35
|
+
isShown = inject(WindowPartTokens.shown);
|
|
36
|
+
time = new Intl.DateTimeFormat(undefined, Resources.programStartFormat);
|
|
37
|
+
now = signal(Date.now(), /* @ts-ignore */
|
|
38
|
+
...(ngDevMode ? [{ debugName: "now" }] : /* istanbul ignore next */ []));
|
|
39
|
+
bridge = inject(PreloadBridgeService);
|
|
40
|
+
errors = inject(ErrorHandler);
|
|
41
|
+
openGroups = signal(new Set(), /* @ts-ignore */
|
|
42
|
+
...(ngDevMode ? [{ debugName: "openGroups" }] : /* istanbul ignore next */ []));
|
|
43
|
+
copiedTimer = null;
|
|
44
|
+
resources = Resources;
|
|
45
|
+
active = ModuleState.Active;
|
|
46
|
+
off = ModuleState.Off;
|
|
47
|
+
unavailable = ModuleState.Unavailable;
|
|
48
|
+
version = signal(null, /* @ts-ignore */
|
|
49
|
+
...(ngDevMode ? [{ debugName: "version" }] : /* istanbul ignore next */ []));
|
|
50
|
+
overview = computed(() => new ModuleOverview(this.modules()), /* @ts-ignore */
|
|
51
|
+
...(ngDevMode ? [{ debugName: "overview" }] : /* istanbul ignore next */ []));
|
|
52
|
+
current = computed(() => this.overview().select(this.selection.selected()), /* @ts-ignore */
|
|
53
|
+
...(ngDevMode ? [{ debugName: "current" }] : /* istanbul ignore next */ []));
|
|
54
|
+
copiedProcess = signal(null, /* @ts-ignore */
|
|
55
|
+
...(ngDevMode ? [{ debugName: "copiedProcess" }] : /* istanbul ignore next */ []));
|
|
56
|
+
constructor() {
|
|
57
|
+
inject(DestroyRef).onDestroy(() => this.clearCopiedTimer());
|
|
58
|
+
effect(onCleanup => {
|
|
59
|
+
if (!this.isShown())
|
|
60
|
+
return;
|
|
61
|
+
this.now.set(Date.now());
|
|
62
|
+
const clock = setInterval(() => this.now.set(Date.now()), Resources.minuteDuration);
|
|
63
|
+
onCleanup(() => clearInterval(clock));
|
|
64
|
+
});
|
|
65
|
+
void inject(PendingTasks).run(() => this.bridge.readBuildAsync().then(t => this.version.set(Resources.formatProductVersion(ProductName.current, t.productVersion)), (error) => this.errors.handleError(error)));
|
|
66
|
+
}
|
|
67
|
+
labelOf(state) {
|
|
68
|
+
return Resources.moduleStateLabels[state];
|
|
69
|
+
}
|
|
70
|
+
select(id) {
|
|
71
|
+
this.selection.select(id);
|
|
72
|
+
}
|
|
73
|
+
follow(id) {
|
|
74
|
+
this.selection.select(id);
|
|
75
|
+
afterNextRender(() => [...this.element.querySelectorAll(Resources.moduleSelector)].find(t => t.dataset[Resources.moduleData] === id)?.focus(), { injector: this.injector });
|
|
76
|
+
}
|
|
77
|
+
contributionsOf(module) {
|
|
78
|
+
return ModuleOverview.listContributions(module, (kind, name) => this.titleOf(kind, name));
|
|
79
|
+
}
|
|
80
|
+
programsOf(module) {
|
|
81
|
+
const now = this.now();
|
|
82
|
+
return this.programs.ofModule(module.id).map(t => ProgramRow.from(t, now, this.time));
|
|
83
|
+
}
|
|
84
|
+
isOpen(module, kind) {
|
|
85
|
+
return this.openGroups().has(ModulesComponent.groupKey(module, kind));
|
|
86
|
+
}
|
|
87
|
+
setOpen(module, kind, isOpen) {
|
|
88
|
+
const key = ModulesComponent.groupKey(module, kind);
|
|
89
|
+
this.openGroups.update(t => new Set(isOpen ? [...t, key] : [...t].filter(u => u !== key)));
|
|
90
|
+
}
|
|
91
|
+
copyPath(program) {
|
|
92
|
+
this.copyPathAsync(program).catch((error) => this.errors.handleError(error));
|
|
93
|
+
}
|
|
94
|
+
countOf(module) {
|
|
95
|
+
const count = this.programs.ofModule(module.id).length;
|
|
96
|
+
return count > 0 ? Resources.formatProgramCount(count) : null;
|
|
97
|
+
}
|
|
98
|
+
static groupKey(module, kind) {
|
|
99
|
+
return `${module.id}${Resources.contributionSeparator}${kind}`;
|
|
100
|
+
}
|
|
101
|
+
async copyPathAsync(program) {
|
|
102
|
+
if (!await this.bridge.writeTextAsync(program.path))
|
|
103
|
+
return;
|
|
104
|
+
this.clearCopiedTimer();
|
|
105
|
+
this.copiedProcess.set(program.processId);
|
|
106
|
+
this.copiedTimer = setTimeout(() => {
|
|
107
|
+
this.copiedTimer = null;
|
|
108
|
+
this.copiedProcess.set(null);
|
|
109
|
+
}, Resources.copiedDuration);
|
|
110
|
+
}
|
|
111
|
+
clearCopiedTimer() {
|
|
112
|
+
if (!Object.isNull(this.copiedTimer))
|
|
113
|
+
clearTimeout(this.copiedTimer);
|
|
114
|
+
this.copiedTimer = null;
|
|
115
|
+
}
|
|
116
|
+
titleOf(kind, name) {
|
|
117
|
+
if (kind === Resources.commandsKind)
|
|
118
|
+
return this.commands.commands().find(t => t.name === name)?.title ?? null;
|
|
119
|
+
if (kind === Resources.settingsKind)
|
|
120
|
+
return this.settings.definitions().find(t => t.name.text === name)?.title ?? null;
|
|
121
|
+
return null;
|
|
122
|
+
}
|
|
123
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: ModulesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
124
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: ModulesComponent, isStandalone: true, selector: "nol-modules", host: { classAttribute: "nol-modules" }, ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<header class=\"nol-modules-header\">\n <h1 class=\"nol-modules-title\">{{ resources.modulesTitle }}</h1>\n @if (version(); as version) {\n <span class=\"nol-modules-version\">{{ version }}</span>\n }\n</header>\n<div class=\"nol-modules-body\">\n <nav class=\"nol-modules-list\" [attr.aria-label]=\"resources.modulesTitle\">\n @for (module of overview().modules; track module.id) {\n @let isCurrent = module.id === current()?.id;\n <button type=\"button\" class=\"nol-modules-row\" [class.nol-modules-row-current]=\"isCurrent\" [attr.aria-current]=\"isCurrent ? 'true' : null\"\n [attr.data-module]=\"module.id\" (click)=\"select(module.id)\">\n <span class=\"nol-modules-row-head\">\n <span class=\"nol-modules-name\" data-truncates [nolTooltip]=\"module.displayName\" [nolTooltipTruncated]=\"true\">{{ module.displayName }}</span>\n <ng-container [ngTemplateOutlet]=\"state\" [ngTemplateOutletContext]=\"{ $implicit: module }\" />\n </span>\n <span class=\"nol-modules-row-meta\">\n <span class=\"nol-modules-id\" data-truncates [nolTooltip]=\"module.id\" [nolTooltipTruncated]=\"true\">{{ module.id }}</span>\n <span class=\"nol-modules-row-version\">{{ module.version }}</span>\n @if (countOf(module); as count) {\n <span class=\"nol-modules-row-programs\">{{ count }}</span>\n }\n </span>\n <span class=\"nol-modules-description\" data-truncates [nolTooltip]=\"module.description\" [nolTooltipTruncated]=\"true\">{{ module.description }}</span>\n </button>\n } @empty {\n <p class=\"nol-modules-empty\">{{ resources.noModules }}</p>\n }\n </nav>\n @if (current(); as module) {\n @let contributions = contributionsOf(module);\n @let programs = programsOf(module);\n <div class=\"nol-modules-detail-scroller\">\n <section class=\"nol-modules-detail\" [attr.aria-labelledby]=\"'nol-modules-detail-' + module.id\">\n <h2 class=\"nol-modules-detail-title\" [id]=\"'nol-modules-detail-' + module.id\">{{ module.displayName }}</h2>\n <p class=\"nol-modules-detail-id\">{{ module.id }}</p>\n <p class=\"nol-modules-detail-description\">{{ module.description }}</p>\n <dl class=\"nol-modules-facts\">\n <dt>{{ resources.moduleVersionTitle }}</dt>\n <dd class=\"nol-modules-fact-version\">{{ module.version }}</dd>\n <dt>{{ resources.moduleStateTitle }}</dt>\n <dd class=\"nol-modules-fact-state\">\n <ng-container [ngTemplateOutlet]=\"state\" [ngTemplateOutletContext]=\"{ $implicit: module }\" />\n @if (module.cause; as cause) {\n <span class=\"nol-modules-cause\">{{ cause }}</span>\n }\n </dd>\n @if (module.switchSetting; as setting) {\n <dt>{{ resources.moduleSwitchTitle }}</dt>\n <dd class=\"nol-modules-fact-switch\"><nol-module-switch [setting]=\"setting\" /></dd>\n }\n @if (overview().findBlocker(module); as blocker) {\n <dt>{{ resources.blockedByTitle }}</dt>\n <dd class=\"nol-modules-fact-blocker\"><ng-container [ngTemplateOutlet]=\"links\" [ngTemplateOutletContext]=\"{ $implicit: [blocker] }\" /></dd>\n }\n <dt>{{ resources.dependenciesTitle }}</dt>\n <dd class=\"nol-modules-fact-dependencies\"><ng-container [ngTemplateOutlet]=\"links\" [ngTemplateOutletContext]=\"{ $implicit: overview().listDependencies(module) }\" /></dd>\n @let optional = overview().listOptionalDependencies(module);\n @if (optional.length > 0) {\n <dt>{{ resources.optionalDependenciesTitle }}</dt>\n <dd class=\"nol-modules-fact-optional-dependencies\"><ng-container [ngTemplateOutlet]=\"links\" [ngTemplateOutletContext]=\"{ $implicit: optional }\" /></dd>\n }\n <dt>{{ resources.dependentsTitle }}</dt>\n <dd class=\"nol-modules-fact-dependents\"><ng-container [ngTemplateOutlet]=\"links\" [ngTemplateOutletContext]=\"{ $implicit: overview().listDependents(module) }\" /></dd>\n </dl>\n @if (module.state !== active && module.state !== off && module.state !== unavailable) {\n <nol-module-actions [module]=\"module\" />\n }\n <h3 class=\"nol-modules-section-title\">{{ resources.programsTitle }}</h3>\n @if (programs.length > 0) {\n <ul class=\"nol-modules-programs\">\n @for (program of programs; track program.processId) {\n @let isCopied = copiedProcess() === program.processId;\n @let copyLabel = isCopied ? resources.copiedLabel : resources.copyPathLabel;\n <li class=\"nol-modules-program\" [attr.data-process]=\"program.processId\" [nolTooltip]=\"program.details\">\n <span class=\"nol-modules-program-name\" data-truncates>{{ program.name }}</span>\n <span class=\"nol-modules-program-state\">{{ program.state }}</span>\n <button type=\"button\" nol-icon-button class=\"nol-modules-program-copy\" [class.nol-modules-program-copied]=\"isCopied\"\n [icon]=\"isCopied ? resources.copiedGlyph : resources.copyGlyph\" [label]=\"copyLabel\"\n [nolTooltip]=\"resources.formatCopyPathTooltip(copyLabel, program.details)\" (click)=\"copyPath(program)\"></button>\n </li>\n }\n </ul>\n } @else {\n <p class=\"nol-modules-none\">{{ resources.noPrograms }}</p>\n }\n <h3 class=\"nol-modules-section-title\">{{ resources.contributionsTitle }}</h3>\n @if (contributions.length > 0) {\n @for (group of contributions; track group.kind) {\n @let isGroupOpen = isOpen(module, group.kind);\n @let listId = 'nol-modules-contributions-' + module.id + '-' + group.kind;\n <nol-group-header class=\"nol-modules-group\" [attr.data-kind]=\"group.kind\" [label]=\"group.title\" [count]=\"group.rows.length\" [level]=\"4\" [controls]=\"isGroupOpen ? listId : null\"\n [expanded]=\"isGroupOpen\" (expandedChange)=\"setOpen(module, group.kind, $event)\" />\n @if (isGroupOpen) {\n <ul class=\"nol-modules-contributions\" [id]=\"listId\" [attr.data-kind]=\"group.kind\">\n @for (row of group.rows; track row.name) {\n <li class=\"nol-modules-contribution\">\n @if (row.title; as title) {\n <span class=\"nol-modules-contribution-title\">{{ title }}</span>\n }\n <span class=\"nol-modules-contribution-name\">{{ row.name }}</span>\n </li>\n }\n </ul>\n }\n }\n } @else {\n <p class=\"nol-modules-none\">{{ resources.noContributions }}</p>\n }\n </section>\n </div>\n }\n</div>\n\n<ng-template #state let-module>\n <span class=\"nol-modules-state\" [class.nol-modules-state-down]=\"module.state !== active && module.state !== off && module.state !== unavailable\">\n @if (module.state === off) {\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.moduleOffGlyph }}</span>\n } @else if (module.state === unavailable) {\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.moduleUnavailableGlyph }}</span>\n } @else if (module.state !== active) {\n <span class=\"material-symbols-rounded nol-modules-state-icon\" aria-hidden=\"true\">{{ resources.moduleFailureGlyph }}</span>\n }\n <span class=\"nol-modules-state-label\">{{ labelOf(module.state) }}</span>\n </span>\n</ng-template>\n\n<ng-template #links let-references>\n @for (reference of references; track reference.id; let isLast = $last) {\n @if (reference.module; as module) {<button type=\"button\" class=\"nol-modules-link\" (click)=\"follow(module.id)\">{{ module.displayName }}</button>} @else {<span class=\"nol-modules-unknown\">{{ reference.id }}</span>}@if (!isLast) {<span>, </span>}\n } @empty {\n <span class=\"nol-modules-none\">{{ resources.noModulesNamed }}</span>\n }\n</ng-template>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: flex;\n flex-direction: column;\n height: 100%;\n min-height: 0;\n box-sizing: border-box;\n padding-block: var(--nol-space-4) 0;\n padding-inline: var(--nol-space-6) 0;\n}\n\n.nol-modules-header {\n display: flex;\n flex: none;\n flex-wrap: wrap;\n align-items: baseline;\n gap: var(--nol-space-1) var(--nol-space-3);\n padding-inline-end: var(--nol-space-6);\n padding-bottom: var(--nol-space-4);\n}\n\n.nol-modules-title {\n margin: 0;\n color: var(--nol-setting-title);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.nol-modules-version {\n color: var(--nol-text-muted);\n}\n\n.nol-modules-body {\n display: flex;\n flex: auto;\n min-height: 0;\n}\n\n.nol-modules-list {\n display: flex;\n flex: 0 1 var(--nol-modules-list-width);\n flex-direction: column;\n gap: var(--nol-row-gap);\n min-width: 0;\n overflow-y: auto;\n padding-bottom: var(--nol-space-6);\n}\n\n.nol-modules-row {\n display: flex;\n flex: none;\n flex-direction: column;\n gap: var(--nol-space-1);\n box-sizing: border-box;\n margin: 0;\n padding: var(--nol-space-2);\n border: none;\n border-radius: var(--nol-radius-small);\n background-color: transparent;\n color: var(--nol-text);\n font: inherit;\n text-align: start;\n}\n\n.nol-modules-row:hover {\n background-color: var(--nol-hover);\n\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.nol-modules-row-current,\n.nol-modules-row-current:hover {\n --nol-text-muted: var(--nol-text);\n background-color: var(--nol-selected);\n}\n\n@media (forced-colors: active) {\n .nol-modules-row-current,\n .nol-modules-row-current:hover {\n --nol-text: HighlightText;\n --nol-text-muted: HighlightText;\n --nol-menu-text: HighlightText;\n --nol-icon-color: HighlightText;\n --nol-list-highlight: HighlightText;\n --nol-list-active-text: HighlightText;\n\n color: HighlightText;\n forced-color-adjust: none;\n background-color: Highlight;\n }\n}\n\n.nol-modules-row-head {\n display: flex;\n align-items: baseline;\n justify-content: space-between;\n gap: 0 var(--nol-space-2);\n}\n\n.nol-modules-row-meta {\n display: flex;\n gap: var(--nol-space-2);\n min-width: 0;\n}\n\n.nol-modules-row-version,\n.nol-modules-row-programs,\n.nol-modules-program-state {\n flex: none;\n}\n\n.nol-modules-row-meta,\n.nol-modules-detail-id,\n.nol-modules-contribution-name,\n.nol-modules-program-state {\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n}\n\n.nol-modules-detail-id,\n.nol-modules-contribution-name {\n overflow-wrap: anywhere;\n}\n\n.nol-modules-description {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.nol-modules-state {\n display: inline-flex;\n flex: none;\n align-items: center;\n gap: var(--nol-space-1);\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n}\n\n.nol-modules-state-label {\n align-self: baseline;\n}\n\n.nol-modules-state-down {\n color: var(--nol-text);\n}\n\n.nol-modules-state-icon {\n color: var(--nol-error);\n}\n\n.nol-modules-fact-state .nol-modules-state {\n color: var(--nol-text);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.nol-modules-detail-scroller {\n flex: 1 1 0;\n min-width: 0;\n overflow-y: auto;\n padding-inline: var(--nol-space-6);\n}\n\n.nol-modules-detail {\n max-width: var(--nol-modules-detail-width);\n padding-bottom: var(--nol-space-6);\n}\n\n.nol-modules-detail-title {\n margin: 0;\n font-size: var(--nol-text-title);\n font-weight: var(--nol-weight-emphasis);\n color: var(--nol-text-strong);\n line-height: var(--nol-line-title);\n overflow-wrap: anywhere;\n}\n\n.nol-modules-detail-id {\n margin: 0;\n}\n\n.nol-modules-detail-description {\n margin: var(--nol-space-2) 0 var(--nol-space-4);\n overflow-wrap: anywhere;\n}\n\n.nol-modules-facts {\n display: grid;\n grid-template-columns: max-content minmax(0, 1fr);\n gap: var(--nol-space-2) var(--nol-space-4);\n margin: 0;\n}\n\n.nol-modules-facts dt {\n color: var(--nol-text-muted);\n}\n\n.nol-modules-facts dd {\n min-width: 0;\n margin: 0;\n overflow-wrap: anywhere;\n}\n\n.nol-modules-fact-state {\n display: flex;\n flex-wrap: wrap;\n align-items: baseline;\n gap: 0 var(--nol-space-2);\n}\n\n.nol-modules-cause {\n color: var(--nol-text-muted);\n}\n\n.nol-module-actions {\n margin-top: var(--nol-space-4);\n}\n\n.nol-modules-section-title {\n margin: calc(var(--nol-space-4) * 2) 0 var(--nol-space-3);\n font-size: var(--nol-text-label);\n font-weight: var(--nol-weight-emphasis);\n color: var(--nol-text-strong);\n line-height: var(--nol-line-label);\n}\n\n.nol-modules-programs,\n.nol-modules-contributions {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-1);\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n.nol-modules-program {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n min-width: 0;\n}\n\n.nol-modules-program-name {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.nol-modules-program-state {\n margin-inline-start: auto;\n}\n\n.nol-modules-program-copy {\n flex: none;\n}\n\n.nol-modules-program-copied {\n --nol-icon-color: var(--nol-added);\n}\n\n.nol-modules-group {\n margin-inline-start: calc(var(--nol-space-2) * -1);\n}\n\n.nol-modules-contributions {\n margin-top: var(--nol-space-1);\n padding-inline-start: calc(var(--nol-icon) + var(--nol-space-1));\n}\n\n.nol-modules-contribution {\n display: flex;\n flex-wrap: wrap;\n align-items: baseline;\n gap: 0 var(--nol-space-2);\n}\n\n.nol-modules-link {\n margin: 0;\n padding: 0;\n border: 0;\n background: none;\n color: var(--nol-link);\n font: inherit;\n text-align: start;\n}\n\n.nol-modules-link:hover {\n text-decoration: underline;\n}\n\n.nol-modules-none,\n.nol-modules-empty {\n margin: 0;\n color: var(--nol-text-muted);\n}\n"], dependencies: [{ kind: "component", type: GroupHeaderComponent, selector: "nol-group-header", inputs: ["label", "count", "countLabel", "level", "controls", "expanded"], outputs: ["expandedChange"] }, { kind: "component", type: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { kind: "component", type: ModuleActionsComponent, selector: "nol-module-actions", inputs: ["module"] }, { kind: "component", type: ModuleSwitchComponent, selector: "nol-module-switch", inputs: ["setting"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
|
|
125
|
+
}
|
|
126
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: ModulesComponent, decorators: [{
|
|
127
|
+
type: Component,
|
|
128
|
+
args: [{ selector: "nol-modules", imports: [GroupHeaderComponent, IconButtonComponent, ModuleActionsComponent, ModuleSwitchComponent, NgTemplateOutlet, TooltipDirective], host: {
|
|
129
|
+
"class": "nol-modules"
|
|
130
|
+
}, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<header class=\"nol-modules-header\">\n <h1 class=\"nol-modules-title\">{{ resources.modulesTitle }}</h1>\n @if (version(); as version) {\n <span class=\"nol-modules-version\">{{ version }}</span>\n }\n</header>\n<div class=\"nol-modules-body\">\n <nav class=\"nol-modules-list\" [attr.aria-label]=\"resources.modulesTitle\">\n @for (module of overview().modules; track module.id) {\n @let isCurrent = module.id === current()?.id;\n <button type=\"button\" class=\"nol-modules-row\" [class.nol-modules-row-current]=\"isCurrent\" [attr.aria-current]=\"isCurrent ? 'true' : null\"\n [attr.data-module]=\"module.id\" (click)=\"select(module.id)\">\n <span class=\"nol-modules-row-head\">\n <span class=\"nol-modules-name\" data-truncates [nolTooltip]=\"module.displayName\" [nolTooltipTruncated]=\"true\">{{ module.displayName }}</span>\n <ng-container [ngTemplateOutlet]=\"state\" [ngTemplateOutletContext]=\"{ $implicit: module }\" />\n </span>\n <span class=\"nol-modules-row-meta\">\n <span class=\"nol-modules-id\" data-truncates [nolTooltip]=\"module.id\" [nolTooltipTruncated]=\"true\">{{ module.id }}</span>\n <span class=\"nol-modules-row-version\">{{ module.version }}</span>\n @if (countOf(module); as count) {\n <span class=\"nol-modules-row-programs\">{{ count }}</span>\n }\n </span>\n <span class=\"nol-modules-description\" data-truncates [nolTooltip]=\"module.description\" [nolTooltipTruncated]=\"true\">{{ module.description }}</span>\n </button>\n } @empty {\n <p class=\"nol-modules-empty\">{{ resources.noModules }}</p>\n }\n </nav>\n @if (current(); as module) {\n @let contributions = contributionsOf(module);\n @let programs = programsOf(module);\n <div class=\"nol-modules-detail-scroller\">\n <section class=\"nol-modules-detail\" [attr.aria-labelledby]=\"'nol-modules-detail-' + module.id\">\n <h2 class=\"nol-modules-detail-title\" [id]=\"'nol-modules-detail-' + module.id\">{{ module.displayName }}</h2>\n <p class=\"nol-modules-detail-id\">{{ module.id }}</p>\n <p class=\"nol-modules-detail-description\">{{ module.description }}</p>\n <dl class=\"nol-modules-facts\">\n <dt>{{ resources.moduleVersionTitle }}</dt>\n <dd class=\"nol-modules-fact-version\">{{ module.version }}</dd>\n <dt>{{ resources.moduleStateTitle }}</dt>\n <dd class=\"nol-modules-fact-state\">\n <ng-container [ngTemplateOutlet]=\"state\" [ngTemplateOutletContext]=\"{ $implicit: module }\" />\n @if (module.cause; as cause) {\n <span class=\"nol-modules-cause\">{{ cause }}</span>\n }\n </dd>\n @if (module.switchSetting; as setting) {\n <dt>{{ resources.moduleSwitchTitle }}</dt>\n <dd class=\"nol-modules-fact-switch\"><nol-module-switch [setting]=\"setting\" /></dd>\n }\n @if (overview().findBlocker(module); as blocker) {\n <dt>{{ resources.blockedByTitle }}</dt>\n <dd class=\"nol-modules-fact-blocker\"><ng-container [ngTemplateOutlet]=\"links\" [ngTemplateOutletContext]=\"{ $implicit: [blocker] }\" /></dd>\n }\n <dt>{{ resources.dependenciesTitle }}</dt>\n <dd class=\"nol-modules-fact-dependencies\"><ng-container [ngTemplateOutlet]=\"links\" [ngTemplateOutletContext]=\"{ $implicit: overview().listDependencies(module) }\" /></dd>\n @let optional = overview().listOptionalDependencies(module);\n @if (optional.length > 0) {\n <dt>{{ resources.optionalDependenciesTitle }}</dt>\n <dd class=\"nol-modules-fact-optional-dependencies\"><ng-container [ngTemplateOutlet]=\"links\" [ngTemplateOutletContext]=\"{ $implicit: optional }\" /></dd>\n }\n <dt>{{ resources.dependentsTitle }}</dt>\n <dd class=\"nol-modules-fact-dependents\"><ng-container [ngTemplateOutlet]=\"links\" [ngTemplateOutletContext]=\"{ $implicit: overview().listDependents(module) }\" /></dd>\n </dl>\n @if (module.state !== active && module.state !== off && module.state !== unavailable) {\n <nol-module-actions [module]=\"module\" />\n }\n <h3 class=\"nol-modules-section-title\">{{ resources.programsTitle }}</h3>\n @if (programs.length > 0) {\n <ul class=\"nol-modules-programs\">\n @for (program of programs; track program.processId) {\n @let isCopied = copiedProcess() === program.processId;\n @let copyLabel = isCopied ? resources.copiedLabel : resources.copyPathLabel;\n <li class=\"nol-modules-program\" [attr.data-process]=\"program.processId\" [nolTooltip]=\"program.details\">\n <span class=\"nol-modules-program-name\" data-truncates>{{ program.name }}</span>\n <span class=\"nol-modules-program-state\">{{ program.state }}</span>\n <button type=\"button\" nol-icon-button class=\"nol-modules-program-copy\" [class.nol-modules-program-copied]=\"isCopied\"\n [icon]=\"isCopied ? resources.copiedGlyph : resources.copyGlyph\" [label]=\"copyLabel\"\n [nolTooltip]=\"resources.formatCopyPathTooltip(copyLabel, program.details)\" (click)=\"copyPath(program)\"></button>\n </li>\n }\n </ul>\n } @else {\n <p class=\"nol-modules-none\">{{ resources.noPrograms }}</p>\n }\n <h3 class=\"nol-modules-section-title\">{{ resources.contributionsTitle }}</h3>\n @if (contributions.length > 0) {\n @for (group of contributions; track group.kind) {\n @let isGroupOpen = isOpen(module, group.kind);\n @let listId = 'nol-modules-contributions-' + module.id + '-' + group.kind;\n <nol-group-header class=\"nol-modules-group\" [attr.data-kind]=\"group.kind\" [label]=\"group.title\" [count]=\"group.rows.length\" [level]=\"4\" [controls]=\"isGroupOpen ? listId : null\"\n [expanded]=\"isGroupOpen\" (expandedChange)=\"setOpen(module, group.kind, $event)\" />\n @if (isGroupOpen) {\n <ul class=\"nol-modules-contributions\" [id]=\"listId\" [attr.data-kind]=\"group.kind\">\n @for (row of group.rows; track row.name) {\n <li class=\"nol-modules-contribution\">\n @if (row.title; as title) {\n <span class=\"nol-modules-contribution-title\">{{ title }}</span>\n }\n <span class=\"nol-modules-contribution-name\">{{ row.name }}</span>\n </li>\n }\n </ul>\n }\n }\n } @else {\n <p class=\"nol-modules-none\">{{ resources.noContributions }}</p>\n }\n </section>\n </div>\n }\n</div>\n\n<ng-template #state let-module>\n <span class=\"nol-modules-state\" [class.nol-modules-state-down]=\"module.state !== active && module.state !== off && module.state !== unavailable\">\n @if (module.state === off) {\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.moduleOffGlyph }}</span>\n } @else if (module.state === unavailable) {\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.moduleUnavailableGlyph }}</span>\n } @else if (module.state !== active) {\n <span class=\"material-symbols-rounded nol-modules-state-icon\" aria-hidden=\"true\">{{ resources.moduleFailureGlyph }}</span>\n }\n <span class=\"nol-modules-state-label\">{{ labelOf(module.state) }}</span>\n </span>\n</ng-template>\n\n<ng-template #links let-references>\n @for (reference of references; track reference.id; let isLast = $last) {\n @if (reference.module; as module) {<button type=\"button\" class=\"nol-modules-link\" (click)=\"follow(module.id)\">{{ module.displayName }}</button>} @else {<span class=\"nol-modules-unknown\">{{ reference.id }}</span>}@if (!isLast) {<span>, </span>}\n } @empty {\n <span class=\"nol-modules-none\">{{ resources.noModulesNamed }}</span>\n }\n</ng-template>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: flex;\n flex-direction: column;\n height: 100%;\n min-height: 0;\n box-sizing: border-box;\n padding-block: var(--nol-space-4) 0;\n padding-inline: var(--nol-space-6) 0;\n}\n\n.nol-modules-header {\n display: flex;\n flex: none;\n flex-wrap: wrap;\n align-items: baseline;\n gap: var(--nol-space-1) var(--nol-space-3);\n padding-inline-end: var(--nol-space-6);\n padding-bottom: var(--nol-space-4);\n}\n\n.nol-modules-title {\n margin: 0;\n color: var(--nol-setting-title);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.nol-modules-version {\n color: var(--nol-text-muted);\n}\n\n.nol-modules-body {\n display: flex;\n flex: auto;\n min-height: 0;\n}\n\n.nol-modules-list {\n display: flex;\n flex: 0 1 var(--nol-modules-list-width);\n flex-direction: column;\n gap: var(--nol-row-gap);\n min-width: 0;\n overflow-y: auto;\n padding-bottom: var(--nol-space-6);\n}\n\n.nol-modules-row {\n display: flex;\n flex: none;\n flex-direction: column;\n gap: var(--nol-space-1);\n box-sizing: border-box;\n margin: 0;\n padding: var(--nol-space-2);\n border: none;\n border-radius: var(--nol-radius-small);\n background-color: transparent;\n color: var(--nol-text);\n font: inherit;\n text-align: start;\n}\n\n.nol-modules-row:hover {\n background-color: var(--nol-hover);\n\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.nol-modules-row-current,\n.nol-modules-row-current:hover {\n --nol-text-muted: var(--nol-text);\n background-color: var(--nol-selected);\n}\n\n@media (forced-colors: active) {\n .nol-modules-row-current,\n .nol-modules-row-current:hover {\n --nol-text: HighlightText;\n --nol-text-muted: HighlightText;\n --nol-menu-text: HighlightText;\n --nol-icon-color: HighlightText;\n --nol-list-highlight: HighlightText;\n --nol-list-active-text: HighlightText;\n\n color: HighlightText;\n forced-color-adjust: none;\n background-color: Highlight;\n }\n}\n\n.nol-modules-row-head {\n display: flex;\n align-items: baseline;\n justify-content: space-between;\n gap: 0 var(--nol-space-2);\n}\n\n.nol-modules-row-meta {\n display: flex;\n gap: var(--nol-space-2);\n min-width: 0;\n}\n\n.nol-modules-row-version,\n.nol-modules-row-programs,\n.nol-modules-program-state {\n flex: none;\n}\n\n.nol-modules-row-meta,\n.nol-modules-detail-id,\n.nol-modules-contribution-name,\n.nol-modules-program-state {\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n}\n\n.nol-modules-detail-id,\n.nol-modules-contribution-name {\n overflow-wrap: anywhere;\n}\n\n.nol-modules-description {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.nol-modules-state {\n display: inline-flex;\n flex: none;\n align-items: center;\n gap: var(--nol-space-1);\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n}\n\n.nol-modules-state-label {\n align-self: baseline;\n}\n\n.nol-modules-state-down {\n color: var(--nol-text);\n}\n\n.nol-modules-state-icon {\n color: var(--nol-error);\n}\n\n.nol-modules-fact-state .nol-modules-state {\n color: var(--nol-text);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.nol-modules-detail-scroller {\n flex: 1 1 0;\n min-width: 0;\n overflow-y: auto;\n padding-inline: var(--nol-space-6);\n}\n\n.nol-modules-detail {\n max-width: var(--nol-modules-detail-width);\n padding-bottom: var(--nol-space-6);\n}\n\n.nol-modules-detail-title {\n margin: 0;\n font-size: var(--nol-text-title);\n font-weight: var(--nol-weight-emphasis);\n color: var(--nol-text-strong);\n line-height: var(--nol-line-title);\n overflow-wrap: anywhere;\n}\n\n.nol-modules-detail-id {\n margin: 0;\n}\n\n.nol-modules-detail-description {\n margin: var(--nol-space-2) 0 var(--nol-space-4);\n overflow-wrap: anywhere;\n}\n\n.nol-modules-facts {\n display: grid;\n grid-template-columns: max-content minmax(0, 1fr);\n gap: var(--nol-space-2) var(--nol-space-4);\n margin: 0;\n}\n\n.nol-modules-facts dt {\n color: var(--nol-text-muted);\n}\n\n.nol-modules-facts dd {\n min-width: 0;\n margin: 0;\n overflow-wrap: anywhere;\n}\n\n.nol-modules-fact-state {\n display: flex;\n flex-wrap: wrap;\n align-items: baseline;\n gap: 0 var(--nol-space-2);\n}\n\n.nol-modules-cause {\n color: var(--nol-text-muted);\n}\n\n.nol-module-actions {\n margin-top: var(--nol-space-4);\n}\n\n.nol-modules-section-title {\n margin: calc(var(--nol-space-4) * 2) 0 var(--nol-space-3);\n font-size: var(--nol-text-label);\n font-weight: var(--nol-weight-emphasis);\n color: var(--nol-text-strong);\n line-height: var(--nol-line-label);\n}\n\n.nol-modules-programs,\n.nol-modules-contributions {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-1);\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n.nol-modules-program {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n min-width: 0;\n}\n\n.nol-modules-program-name {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.nol-modules-program-state {\n margin-inline-start: auto;\n}\n\n.nol-modules-program-copy {\n flex: none;\n}\n\n.nol-modules-program-copied {\n --nol-icon-color: var(--nol-added);\n}\n\n.nol-modules-group {\n margin-inline-start: calc(var(--nol-space-2) * -1);\n}\n\n.nol-modules-contributions {\n margin-top: var(--nol-space-1);\n padding-inline-start: calc(var(--nol-icon) + var(--nol-space-1));\n}\n\n.nol-modules-contribution {\n display: flex;\n flex-wrap: wrap;\n align-items: baseline;\n gap: 0 var(--nol-space-2);\n}\n\n.nol-modules-link {\n margin: 0;\n padding: 0;\n border: 0;\n background: none;\n color: var(--nol-link);\n font: inherit;\n text-align: start;\n}\n\n.nol-modules-link:hover {\n text-decoration: underline;\n}\n\n.nol-modules-none,\n.nol-modules-empty {\n margin: 0;\n color: var(--nol-text-muted);\n}\n"] }]
|
|
131
|
+
}], ctorParameters: () => [] });
|
|
132
|
+
//# sourceMappingURL=modules.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modules.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.desktop.window/src/app/components/modules/modules.component.ts","../../../../../../src/noldova.desktop.window/src/app/components/modules/modules.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EACL,SAAS,EACT,UAAU,EACV,UAAU,EACV,YAAY,EACZ,QAAQ,EACR,YAAY,EAGZ,eAAe,EACf,QAAQ,EACR,MAAM,EACN,MAAM,EACN,MAAM,EACP,MAAM,eAAe,CAAC;AAEvB,OAAO,uBAAuB,CAAC;AAC/B,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAC7G,OAAO,EAAE,WAAW,EAAqB,MAAM,2BAA2B,CAAC;AAG3E,OAAO,EAAE,cAAc,EAAE,MAA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,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,KAAK,IAAI,IAAI,CAAC;QACpF,OAAO,IAAI,CAAC;IACd,CAAC;uGA1GU,gBAAgB;2FAAhB,gBAAgB,gHCrD7B,grQA8IA,gsMDhGY,oBAAoB,qKAAE,mBAAmB,2MAAE,sBAAsB,mFAAE,qBAAqB,mFAAE,gBAAgB,oJAAE,gBAAgB;;2FAO3H,gBAAgB;kBAT5B,SAAS;+BACE,aAAa,WACd,CAAC,oBAAoB,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,gBAAgB,CAAC,QAGjI;wBACJ,OAAO,EAAE,aAAa;qBACvB"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { type Signal } from "@angular/core";
|
|
9
|
+
import "@noldova/context.core";
|
|
10
|
+
import { OverlaySide } from "@noldova/ui.components.angular";
|
|
11
|
+
import { Resources } from "../../../resources.js";
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
export declare class NotificationsComponent {
|
|
14
|
+
private readonly notifications;
|
|
15
|
+
protected readonly resources: typeof Resources;
|
|
16
|
+
protected readonly above: OverlaySide;
|
|
17
|
+
protected readonly unread: Signal<number>;
|
|
18
|
+
protected readonly isQuiet: Signal<boolean>;
|
|
19
|
+
protected readonly label: Signal<string>;
|
|
20
|
+
protected markRead(): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsComponent, "nol-notifications", never, {}, {}, never, never, true, never>;
|
|
23
|
+
}
|