@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,302 @@
|
|
|
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 { DOCUMENT } from "@angular/common";
|
|
9
|
+
import { ApplicationRef, DestroyRef, ErrorHandler, Injectable, effect, inject, untracked } from "@angular/core";
|
|
10
|
+
import "@noldova/context.core";
|
|
11
|
+
import { WebViewEventKind } from "@noldova/desktop.protocol";
|
|
12
|
+
import { WebViewInputKind } from "../enums/web-view-input-kind.js";
|
|
13
|
+
import { WebViewClosedException } from "../exceptions/web-view-closed.exception.js";
|
|
14
|
+
import { WebViewNotOpenedException } from "../exceptions/web-view-not-opened.exception.js";
|
|
15
|
+
import { WebViewHandle } from "../models/web-view-handle.js";
|
|
16
|
+
import { WebViewLayer } from "../models/web-view-layer.js";
|
|
17
|
+
import { CommandService } from "./command.service.js";
|
|
18
|
+
import { LayoutService } from "./layout.service.js";
|
|
19
|
+
import { LiveViewService } from "./live-view.service.js";
|
|
20
|
+
import { PreloadBridgeService } from "./preload-bridge.service.js";
|
|
21
|
+
import { TabDragService } from "./tab-drag.service.js";
|
|
22
|
+
import { ToolbarDragService } from "./toolbar-drag.service.js";
|
|
23
|
+
import { Resources } from "../../resources.js";
|
|
24
|
+
import * as i0 from "@angular/core";
|
|
25
|
+
export class WebViewService {
|
|
26
|
+
bridge = inject(PreloadBridgeService);
|
|
27
|
+
layout = inject(LayoutService);
|
|
28
|
+
liveViews = inject(LiveViewService);
|
|
29
|
+
errors = inject(ErrorHandler);
|
|
30
|
+
document = inject(DOCUMENT);
|
|
31
|
+
application = inject(ApplicationRef);
|
|
32
|
+
handles = new Map();
|
|
33
|
+
shownTabs = new Set();
|
|
34
|
+
isDragging = false;
|
|
35
|
+
constructor() {
|
|
36
|
+
const commands = inject(CommandService);
|
|
37
|
+
const tabDrag = inject(TabDragService);
|
|
38
|
+
const toolbarDrag = inject(ToolbarDragService);
|
|
39
|
+
const destroyRef = inject(DestroyRef);
|
|
40
|
+
destroyRef.onDestroy(this.bridge.onWebViewEvent(t => this.receive(t)));
|
|
41
|
+
destroyRef.onDestroy(this.bridge.onWebViewShortcut(t => commands.dispatch(t)));
|
|
42
|
+
destroyRef.onDestroy(this.layout.onChange((from, to) => this.keep(t => WebViewService.moves(t.tab, from, to))));
|
|
43
|
+
destroyRef.onDestroy(this.liveViews.onLeave(tab => this.keep(t => t.tab.key === tab.key)));
|
|
44
|
+
destroyRef.onDestroy(this.liveViews.onEnter((tab, element) => this.expect(tab, element)));
|
|
45
|
+
destroyRef.onDestroy(this.bridge.onWebViewInput(t => this.receiveInput(t)));
|
|
46
|
+
effect(() => {
|
|
47
|
+
const keys = commands.shortcuts().viewKeys;
|
|
48
|
+
untracked(() => this.bridge.setWebViewShortcuts(keys));
|
|
49
|
+
});
|
|
50
|
+
effect(() => {
|
|
51
|
+
const layout = this.layout.layout();
|
|
52
|
+
const shown = this.liveViews.shownTabs();
|
|
53
|
+
untracked(() => this.follow(layout, shown));
|
|
54
|
+
});
|
|
55
|
+
effect(() => {
|
|
56
|
+
const isDragging = !Object.isNull(tabDrag.dragging()) || !Object.isNull(toolbarDrag.dragging());
|
|
57
|
+
untracked(() => this.passThrough(isDragging));
|
|
58
|
+
});
|
|
59
|
+
destroyRef.onDestroy(() => {
|
|
60
|
+
for (const handle of [...this.handles.values()])
|
|
61
|
+
this.close(handle);
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
async openAsync(moduleId, pane, tab, profileKey, injector) {
|
|
65
|
+
if (!this.layout.layout().isOpen(tab))
|
|
66
|
+
throw new WebViewNotOpenedException();
|
|
67
|
+
const opened = await this.bridge.openWebViewAsync(moduleId, pane, profileKey);
|
|
68
|
+
if (Object.isNull(opened))
|
|
69
|
+
throw new WebViewNotOpenedException();
|
|
70
|
+
const handle = new WebViewHandle(opened.view, tab, injector, this, this.createFrame(), this.createGuest(opened.partition));
|
|
71
|
+
handle.frame.append(handle.guest);
|
|
72
|
+
handle.guest.addEventListener(Resources.webViewAttachEvent, () => this.attach(handle));
|
|
73
|
+
handle.guest.addEventListener(Resources.focusInEvent, () => this.noteFocus(handle));
|
|
74
|
+
this.handles.set(handle.id, handle);
|
|
75
|
+
this.applyVisibility(handle);
|
|
76
|
+
this.applyPointerEvents(handle);
|
|
77
|
+
if (!this.layout.layout().isOpen(tab)) {
|
|
78
|
+
this.close(handle);
|
|
79
|
+
throw new WebViewNotOpenedException();
|
|
80
|
+
}
|
|
81
|
+
return handle;
|
|
82
|
+
}
|
|
83
|
+
mount(handle, host) {
|
|
84
|
+
if (handle.frame.parentElement !== host)
|
|
85
|
+
host.append(handle.frame);
|
|
86
|
+
}
|
|
87
|
+
show(handle) {
|
|
88
|
+
for (const other of [...this.handles.values()].filter(t => t !== handle && t.moduleId === handle.moduleId && t.pane.equals(handle.pane))) {
|
|
89
|
+
other.isWanted = false;
|
|
90
|
+
this.apply(other);
|
|
91
|
+
}
|
|
92
|
+
handle.isWanted = true;
|
|
93
|
+
this.apply(handle);
|
|
94
|
+
}
|
|
95
|
+
hide(handle) {
|
|
96
|
+
handle.isWanted = false;
|
|
97
|
+
this.apply(handle);
|
|
98
|
+
}
|
|
99
|
+
async openLayerAsync(handle, load) {
|
|
100
|
+
const component = await load();
|
|
101
|
+
handle.layer?.close();
|
|
102
|
+
if (handle.isClosed)
|
|
103
|
+
throw new WebViewClosedException();
|
|
104
|
+
const layer = new WebViewLayer(handle.frame, component, handle.injector, this.application, () => {
|
|
105
|
+
handle.layer = null;
|
|
106
|
+
});
|
|
107
|
+
handle.layer = layer;
|
|
108
|
+
return layer;
|
|
109
|
+
}
|
|
110
|
+
async navigateAsync(handle, url) {
|
|
111
|
+
return WebViewService.require(handle.isClosed ? null : await this.bridge.navigateWebViewAsync(handle.moduleId, handle.id, url));
|
|
112
|
+
}
|
|
113
|
+
async actAsync(handle, action) {
|
|
114
|
+
return WebViewService.require(handle.isClosed ? null : await this.bridge.actOnWebViewAsync(handle.moduleId, handle.id, action));
|
|
115
|
+
}
|
|
116
|
+
async zoomAsync(handle, change) {
|
|
117
|
+
return WebViewService.require(handle.isClosed ? null : await this.bridge.zoomWebViewAsync(handle.moduleId, handle.id, change));
|
|
118
|
+
}
|
|
119
|
+
async findAsync(handle, request) {
|
|
120
|
+
return WebViewService.require(handle.isClosed ? null : await this.bridge.findInWebViewAsync(handle.moduleId, handle.id, request));
|
|
121
|
+
}
|
|
122
|
+
endFind(handle) {
|
|
123
|
+
if (handle.isClosed)
|
|
124
|
+
return;
|
|
125
|
+
const request = { [Resources.webViewTextField]: String.empty, [Resources.webViewMatchCaseField]: false };
|
|
126
|
+
void this.bridge.findInWebViewAsync(handle.moduleId, handle.id, request).catch((error) => this.errors.handleError(error));
|
|
127
|
+
}
|
|
128
|
+
close(handle) {
|
|
129
|
+
if (!handle.end())
|
|
130
|
+
return;
|
|
131
|
+
this.bridge.closeWebView(handle.moduleId, handle.id);
|
|
132
|
+
this.remove(handle);
|
|
133
|
+
}
|
|
134
|
+
createFrame() {
|
|
135
|
+
const frame = this.document.createElement(Resources.divElement);
|
|
136
|
+
frame.className = Resources.webViewFrameClass;
|
|
137
|
+
WebViewService.style(frame, Resources.webViewFrameStyle);
|
|
138
|
+
return frame;
|
|
139
|
+
}
|
|
140
|
+
createGuest(partition) {
|
|
141
|
+
const guest = this.document.createElement(Resources.webViewElement);
|
|
142
|
+
guest.className = Resources.webViewGuestClass;
|
|
143
|
+
WebViewService.style(guest, Resources.webViewGuestStyle);
|
|
144
|
+
guest.setAttribute(Resources.webViewPartitionAttribute, partition);
|
|
145
|
+
guest.setAttribute(Resources.webViewSourceAttribute, Resources.webViewStartAddress);
|
|
146
|
+
guest.setAttribute(Resources.webViewPopupsAttribute, String.empty);
|
|
147
|
+
return guest;
|
|
148
|
+
}
|
|
149
|
+
keep(test) {
|
|
150
|
+
const handles = this.inOrder(this.document, test);
|
|
151
|
+
if (handles.length > 0)
|
|
152
|
+
this.bridge.keepWebViews(handles.map((t) => [t.moduleId, t.id]));
|
|
153
|
+
}
|
|
154
|
+
expect(tab, element) {
|
|
155
|
+
for (const handle of this.inOrder(element, t => t.tab.key === tab.key))
|
|
156
|
+
this.bridge.expectWebView(handle.moduleId, handle.id);
|
|
157
|
+
}
|
|
158
|
+
inOrder(root, test) {
|
|
159
|
+
const wanted = [...this.handles.values()].filter(t => !t.isClosed && test(t));
|
|
160
|
+
if (wanted.length === 0)
|
|
161
|
+
return [];
|
|
162
|
+
const guests = [...root.getElementsByClassName(Resources.webViewGuestClass)];
|
|
163
|
+
return wanted.filter(t => guests.includes(t.guest)).sort((first, second) => guests.indexOf(first.guest) - guests.indexOf(second.guest));
|
|
164
|
+
}
|
|
165
|
+
attach(handle) {
|
|
166
|
+
if (handle.isClosed)
|
|
167
|
+
return;
|
|
168
|
+
void this.bridge.attachWebViewAsync(handle.moduleId, handle.id, handle.guest.getWebContentsId()).then(isAttached => {
|
|
169
|
+
if (!isAttached)
|
|
170
|
+
this.close(handle);
|
|
171
|
+
}).catch((error) => this.errors.handleError(error));
|
|
172
|
+
}
|
|
173
|
+
receive(event) {
|
|
174
|
+
const handle = this.handles.get(event.view);
|
|
175
|
+
if (Object.isUndefined(handle) || handle.moduleId !== event.module)
|
|
176
|
+
return;
|
|
177
|
+
try {
|
|
178
|
+
handle.receive(event);
|
|
179
|
+
}
|
|
180
|
+
catch (error) {
|
|
181
|
+
this.errors.handleError(error);
|
|
182
|
+
}
|
|
183
|
+
if (event.kind === WebViewEventKind.Closed)
|
|
184
|
+
this.forget(handle);
|
|
185
|
+
}
|
|
186
|
+
receiveInput(input) {
|
|
187
|
+
const handle = this.handles.get(input.view);
|
|
188
|
+
if (Object.isUndefined(handle) || handle.moduleId !== input.module)
|
|
189
|
+
return;
|
|
190
|
+
if (input.kind === WebViewInputKind.Start) {
|
|
191
|
+
if (handle.agentInputs === 0)
|
|
192
|
+
handle.keptFocus = this.readPersonFocus(handle);
|
|
193
|
+
handle.agentInputs += 1;
|
|
194
|
+
handle.isFocusHeld = true;
|
|
195
|
+
return;
|
|
196
|
+
}
|
|
197
|
+
if (handle.agentInputs === 0)
|
|
198
|
+
return;
|
|
199
|
+
if (input.kind === WebViewInputKind.Press) {
|
|
200
|
+
handle.keptFocus = null;
|
|
201
|
+
return;
|
|
202
|
+
}
|
|
203
|
+
handle.agentInputs -= 1;
|
|
204
|
+
if (handle.agentInputs > 0)
|
|
205
|
+
return;
|
|
206
|
+
if (Object.isNull(handle.keptFocus))
|
|
207
|
+
this.releaseFocus(handle);
|
|
208
|
+
else if (this.document.activeElement === handle.guest)
|
|
209
|
+
this.giveFocusBack(handle);
|
|
210
|
+
handle.keptFocus = null;
|
|
211
|
+
}
|
|
212
|
+
readPersonFocus(handle) {
|
|
213
|
+
const active = this.document.activeElement;
|
|
214
|
+
if (active === handle.guest)
|
|
215
|
+
return null;
|
|
216
|
+
return active instanceof HTMLElement ? active : this.document.body;
|
|
217
|
+
}
|
|
218
|
+
noteFocus(handle) {
|
|
219
|
+
if (handle.agentInputs === 0)
|
|
220
|
+
this.releaseFocus(handle);
|
|
221
|
+
else
|
|
222
|
+
this.giveFocusBack(handle);
|
|
223
|
+
}
|
|
224
|
+
giveFocusBack(handle) {
|
|
225
|
+
const kept = handle.keptFocus;
|
|
226
|
+
if (Object.isNull(kept))
|
|
227
|
+
return;
|
|
228
|
+
if (kept !== this.document.body && kept.isConnected)
|
|
229
|
+
kept.focus({ preventScroll: true });
|
|
230
|
+
else
|
|
231
|
+
handle.guest.blur();
|
|
232
|
+
}
|
|
233
|
+
releaseFocus(handle) {
|
|
234
|
+
if (!handle.isFocusHeld)
|
|
235
|
+
return;
|
|
236
|
+
handle.isFocusHeld = false;
|
|
237
|
+
this.bridge.releaseWebViewFocus(handle.moduleId, handle.id);
|
|
238
|
+
}
|
|
239
|
+
follow(layout, shownTabs) {
|
|
240
|
+
this.shownTabs = shownTabs;
|
|
241
|
+
for (const handle of [...this.handles.values()]) {
|
|
242
|
+
if (layout.isOpen(handle.tab))
|
|
243
|
+
this.apply(handle);
|
|
244
|
+
else
|
|
245
|
+
this.close(handle);
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
apply(handle) {
|
|
249
|
+
const isShown = handle.isWanted && this.shownTabs.has(handle.tab.key);
|
|
250
|
+
if (isShown === handle.isShown)
|
|
251
|
+
return;
|
|
252
|
+
handle.isShown = isShown;
|
|
253
|
+
this.applyVisibility(handle);
|
|
254
|
+
}
|
|
255
|
+
applyVisibility(handle) {
|
|
256
|
+
if (handle.isShown)
|
|
257
|
+
handle.frame.style.removeProperty(Resources.visibilityProperty);
|
|
258
|
+
else
|
|
259
|
+
handle.frame.style.setProperty(Resources.visibilityProperty, Resources.hiddenVisibility);
|
|
260
|
+
}
|
|
261
|
+
passThrough(isDragging) {
|
|
262
|
+
this.isDragging = isDragging;
|
|
263
|
+
for (const handle of [...this.handles.values()])
|
|
264
|
+
this.applyPointerEvents(handle);
|
|
265
|
+
}
|
|
266
|
+
applyPointerEvents(handle) {
|
|
267
|
+
if (this.isDragging)
|
|
268
|
+
handle.guest.style.setProperty(Resources.pointerEventsProperty, Resources.noPointerEvents);
|
|
269
|
+
else
|
|
270
|
+
handle.guest.style.removeProperty(Resources.pointerEventsProperty);
|
|
271
|
+
}
|
|
272
|
+
forget(handle) {
|
|
273
|
+
if (handle.end())
|
|
274
|
+
this.remove(handle);
|
|
275
|
+
}
|
|
276
|
+
remove(handle) {
|
|
277
|
+
this.handles.delete(handle.id);
|
|
278
|
+
handle.layer?.close();
|
|
279
|
+
handle.frame.remove();
|
|
280
|
+
}
|
|
281
|
+
static moves(tab, from, to) {
|
|
282
|
+
const before = from.groupOf(tab);
|
|
283
|
+
const after = to.groupOf(tab);
|
|
284
|
+
return !Object.isNull(before) && !Object.isNull(after) && before.id !== after.id;
|
|
285
|
+
}
|
|
286
|
+
static style(element, properties) {
|
|
287
|
+
for (const [name, value] of Object.entries(properties))
|
|
288
|
+
element.style.setProperty(name, value);
|
|
289
|
+
}
|
|
290
|
+
static require(answer) {
|
|
291
|
+
if (Object.isNull(answer))
|
|
292
|
+
throw new WebViewClosedException();
|
|
293
|
+
return answer;
|
|
294
|
+
}
|
|
295
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: WebViewService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
296
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: WebViewService, providedIn: "root" });
|
|
297
|
+
}
|
|
298
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: WebViewService, decorators: [{
|
|
299
|
+
type: Injectable,
|
|
300
|
+
args: [{ providedIn: "root" }]
|
|
301
|
+
}], ctorParameters: () => [] });
|
|
302
|
+
//# sourceMappingURL=web-view.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"web-view.service.js","sourceRoot":"","sources":["../../../../../src/noldova.desktop.window/src/app/services/web-view.service.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,YAAY,EAAE,UAAU,EAAuB,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAErI,OAAO,uBAAuB,CAAC;AAE/B,OAAO,EAAyC,gBAAgB,EAA4C,MAAM,2BAA2B,CAAC;AAE9I,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AACpF,OAAO,EAAE,yBAAyB,EAAE,MAAM,gDAAgD,CAAC;AAO3F,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;;AAG/C,MAAM,OAAO,cAAc;IACR,MAAM,GAAyB,MAAM,CAAC,oBAAoB,CAAC,CAAC;IAC5D,MAAM,GAAkB,MAAM,CAAC,aAAa,CAAC,CAAC;IAC9C,SAAS,GAAoB,MAAM,CAAC,eAAe,CAAC,CAAC;IACrD,MAAM,GAAiB,MAAM,CAAC,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/SU,cAAc;2GAAd,cAAc,cADD,MAAM;;2FACnB,cAAc;kBAD1B,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE"}
|
|
@@ -0,0 +1,18 @@
|
|
|
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 { ErrorHandler } from "@angular/core";
|
|
9
|
+
import "@noldova/context.core";
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class WindowErrorHandler extends ErrorHandler {
|
|
12
|
+
private readonly bridge;
|
|
13
|
+
private readonly handled;
|
|
14
|
+
handleError(error: unknown): void;
|
|
15
|
+
private static describe;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WindowErrorHandler, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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 { ErrorHandler, Injectable, inject } from "@angular/core";
|
|
9
|
+
import "@noldova/context.core";
|
|
10
|
+
import { ActionNotConfirmedException } from "../exceptions/action-not-confirmed.exception.js";
|
|
11
|
+
import { RuntimeDisconnectedException } from "../exceptions/runtime-disconnected.exception.js";
|
|
12
|
+
import { WindowPartFailureException } from "../exceptions/window-part-failure.exception.js";
|
|
13
|
+
import { Resources } from "../../resources.js";
|
|
14
|
+
import { PreloadBridgeService } from "./preload-bridge.service.js";
|
|
15
|
+
import * as i0 from "@angular/core";
|
|
16
|
+
export class WindowErrorHandler extends ErrorHandler {
|
|
17
|
+
bridge = inject(PreloadBridgeService);
|
|
18
|
+
handled = new WeakSet();
|
|
19
|
+
handleError(error) {
|
|
20
|
+
if (!(error instanceof ActionNotConfirmedException) && RuntimeDisconnectedException.isIn(error))
|
|
21
|
+
return;
|
|
22
|
+
if (Object.isObject(error)) {
|
|
23
|
+
if (this.handled.has(error))
|
|
24
|
+
return;
|
|
25
|
+
this.handled.add(error);
|
|
26
|
+
}
|
|
27
|
+
super.handleError(error);
|
|
28
|
+
const moduleId = error instanceof WindowPartFailureException ? error.moduleId : null;
|
|
29
|
+
this.bridge.logError(moduleId, WindowErrorHandler.describe(error).slice(0, Resources.windowLogLimit));
|
|
30
|
+
}
|
|
31
|
+
static describe(error) {
|
|
32
|
+
if (!(error instanceof Error))
|
|
33
|
+
return String(error);
|
|
34
|
+
const text = error.stack ?? Resources.formatErrorText(error.name, error.message);
|
|
35
|
+
return Object.isUndefined(error.cause) ? text : `${text}${Resources.causeSeparator}${WindowErrorHandler.describe(error.cause)}`;
|
|
36
|
+
}
|
|
37
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: WindowErrorHandler, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
38
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: WindowErrorHandler });
|
|
39
|
+
}
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: WindowErrorHandler, decorators: [{
|
|
41
|
+
type: Injectable
|
|
42
|
+
}] });
|
|
43
|
+
//# sourceMappingURL=window-error-handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"window-error-handler.js","sourceRoot":"","sources":["../../../../../src/noldova.desktop.window/src/app/services/window-error-handler.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEjE,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ACvB,MAAM,IAAI,GAAG,KAAK,CAAC,KAAK,IAAI,SAAS,CAAC,eAAe,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;QACjF,OAAO,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC,cAAc,GAAG,kBAAkB,CAAC,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC;IAClI,CAAC;uGAtBU,kBAAkB;2GAAlB,kBAAkB;;2FAAlB,kBAAkB;kBAD9B,UAAU"}
|
|
@@ -0,0 +1,201 @@
|
|
|
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, type Type } from "@angular/core";
|
|
9
|
+
import "@noldova/context.core";
|
|
10
|
+
import type { JsonObject, JsonValue } from "@noldova/context.json";
|
|
11
|
+
import { type AgentControlState, type NotificationPost, type SettingChange, type SettingEntry, type SettingOption, type SettingScope, type WebViewPane } from "@noldova/desktop.protocol";
|
|
12
|
+
import { DockSide } from "../enums/dock-side.js";
|
|
13
|
+
import type { FileSaveOutcome } from "../enums/file-save-outcome.js";
|
|
14
|
+
import type { ICommandKey } from "../interfaces/i-command-key.js";
|
|
15
|
+
import type { IDocumentUpdate } from "../interfaces/i-document-update.js";
|
|
16
|
+
import type { IFileChoiceOptions } from "../interfaces/i-file-choice-options.js";
|
|
17
|
+
import type { IFilePathChoiceOptions } from "../interfaces/i-file-path-choice-options.js";
|
|
18
|
+
import type { IFileGrantOptions } from "../interfaces/i-file-grant-options.js";
|
|
19
|
+
import type { IInAppBrowser } from "../interfaces/i-in-app-browser.js";
|
|
20
|
+
import type { ILinkOpenOptions } from "../interfaces/i-link-open-options.js";
|
|
21
|
+
import type { ISelectionSource } from "../interfaces/i-selection-source.js";
|
|
22
|
+
import type { IWebViewHandle } from "../interfaces/i-web-view-handle.js";
|
|
23
|
+
import type { IWindowPalette } from "../interfaces/i-window-palette.js";
|
|
24
|
+
import type { IWindowPartContext } from "../interfaces/i-window-part-context.js";
|
|
25
|
+
import type { IWindowPartHost } from "../interfaces/i-window-part-host.js";
|
|
26
|
+
import { ContributionMatch } from "../models/contribution-match.js";
|
|
27
|
+
import type { DocumentHeading } from "../models/document-heading.js";
|
|
28
|
+
import type { IssuedFileGrants } from "../models/issued-file-grants.js";
|
|
29
|
+
import type { Tab } from "../models/layout/tab.js";
|
|
30
|
+
import type { MenuItem } from "../models/menu-item.js";
|
|
31
|
+
import { ModuleFailure } from "../models/module-failure.js";
|
|
32
|
+
import type { SearchSourceContribution } from "../models/search-source-contribution.js";
|
|
33
|
+
import { SettingsPageEntry } from "../models/settings/settings-page-entry.js";
|
|
34
|
+
import type { ViewBadge } from "../models/view-badge.js";
|
|
35
|
+
import * as i0 from "@angular/core";
|
|
36
|
+
export declare class WindowPartHostService implements IWindowPartHost {
|
|
37
|
+
private readonly bridge;
|
|
38
|
+
private readonly links;
|
|
39
|
+
private readonly layout;
|
|
40
|
+
private readonly liveViews;
|
|
41
|
+
private readonly opener;
|
|
42
|
+
private readonly documentInstances;
|
|
43
|
+
private readonly history;
|
|
44
|
+
private readonly edits;
|
|
45
|
+
private readonly labels;
|
|
46
|
+
private readonly renames;
|
|
47
|
+
private readonly commands;
|
|
48
|
+
private readonly bars;
|
|
49
|
+
private readonly menus;
|
|
50
|
+
private readonly statuses;
|
|
51
|
+
private readonly settings;
|
|
52
|
+
private readonly settingOptions;
|
|
53
|
+
private readonly settingChecks;
|
|
54
|
+
private readonly viewDialogs;
|
|
55
|
+
private readonly webViews;
|
|
56
|
+
private readonly instances;
|
|
57
|
+
private readonly growth;
|
|
58
|
+
private readonly overlays;
|
|
59
|
+
private readonly injector;
|
|
60
|
+
private readonly errors;
|
|
61
|
+
private readonly sources;
|
|
62
|
+
private readonly activations;
|
|
63
|
+
private readonly posting;
|
|
64
|
+
private startOpens;
|
|
65
|
+
private pendingOpens;
|
|
66
|
+
private pendingCloses;
|
|
67
|
+
private pendingUpdates;
|
|
68
|
+
private viewChanges;
|
|
69
|
+
private documentLists;
|
|
70
|
+
private readonly activatingModules;
|
|
71
|
+
private readonly startedModules;
|
|
72
|
+
private moduleOrder;
|
|
73
|
+
private runtimeActive;
|
|
74
|
+
private runtimeCommands;
|
|
75
|
+
private readonly runtimeStates;
|
|
76
|
+
private readonly failuresValue;
|
|
77
|
+
private readonly generationValue;
|
|
78
|
+
private readonly placeholderValue;
|
|
79
|
+
private readonly placeholderMatches;
|
|
80
|
+
private readonly settingsPagesValue;
|
|
81
|
+
private readonly searchSourcesValue;
|
|
82
|
+
private readonly revisionsValue;
|
|
83
|
+
private readonly changedModules;
|
|
84
|
+
private connection;
|
|
85
|
+
private isReady;
|
|
86
|
+
private isLayoutLoaded;
|
|
87
|
+
private isActivating;
|
|
88
|
+
private reloading;
|
|
89
|
+
readonly failures: Signal<readonly ModuleFailure[]>;
|
|
90
|
+
readonly generation: Signal<number>;
|
|
91
|
+
readonly agentControl: Signal<AgentControlState | null>;
|
|
92
|
+
readonly placeholder: Signal<ContributionMatch | null>;
|
|
93
|
+
readonly settingsPages: Signal<readonly SettingsPageEntry[]>;
|
|
94
|
+
readonly searchSources: Signal<readonly SearchSourceContribution[]>;
|
|
95
|
+
constructor();
|
|
96
|
+
get platform(): string;
|
|
97
|
+
findContribution(tab: Tab): ContributionMatch | null;
|
|
98
|
+
findFailure(tab: Tab): ModuleFailure | null;
|
|
99
|
+
revisionOf(tab: Tab): number;
|
|
100
|
+
requestAsync(method: string, payload: JsonValue): Promise<JsonValue>;
|
|
101
|
+
onEvent(name: string, listener: (payload: JsonValue) => void): () => void;
|
|
102
|
+
readSetting(name: string): JsonValue | undefined;
|
|
103
|
+
readSettingAsync(name: string, scope: SettingScope | null): Promise<SettingEntry>;
|
|
104
|
+
writeSettingAsync(name: string, value: JsonValue, scope: SettingScope | null): Promise<void>;
|
|
105
|
+
resetSettingAsync(name: string, scope: SettingScope | null): Promise<void>;
|
|
106
|
+
onSettingChanged(listener: (change: SettingChange) => void): () => void;
|
|
107
|
+
openDocument(moduleId: string, name: string, instance: string, heading: DocumentHeading, isPreview: boolean, after?: string | null): void;
|
|
108
|
+
listSaves(): ReadonlyMap<string, readonly (() => Promise<void>)[]>;
|
|
109
|
+
log(moduleId: string, message: string): void;
|
|
110
|
+
openLinkAsync(url: string, options: ILinkOpenOptions): Promise<void>;
|
|
111
|
+
showLinkMenu(url: string, event: MouseEvent): void;
|
|
112
|
+
registerInAppBrowser(browser: IInAppBrowser, log: (message: string) => void): () => void;
|
|
113
|
+
showInFolderAsync(path: string): Promise<void>;
|
|
114
|
+
openFileAsync(path: string): Promise<void>;
|
|
115
|
+
openWebViewAsync(context: IWindowPartContext, moduleId: string, pane: WebViewPane, tab: Tab, profileKey: string): Promise<IWebViewHandle>;
|
|
116
|
+
chooseFolderAsync(): Promise<string | null>;
|
|
117
|
+
chooseFilePathAsync(options: IFilePathChoiceOptions): Promise<string | null>;
|
|
118
|
+
saveFileAsync(name: string, bytes: Uint8Array): Promise<FileSaveOutcome>;
|
|
119
|
+
chooseFilesAsync(moduleId: string, options: IFileChoiceOptions): Promise<IssuedFileGrants>;
|
|
120
|
+
grantFilesAsync(moduleId: string, files: readonly File[], options: IFileGrantOptions): Promise<IssuedFileGrants>;
|
|
121
|
+
discardFileGrants(grants: readonly string[]): void;
|
|
122
|
+
keepDocument(moduleId: string, name: string, instance: string): void;
|
|
123
|
+
closeDocument(moduleId: string, name: string, instance: string): void;
|
|
124
|
+
forgetDocument(moduleId: string, name: string, instance: string): void;
|
|
125
|
+
onDocumentClosed(name: string, listener: (instance: string) => void): () => void;
|
|
126
|
+
onTabRenamed(name: string, listener: (instance: string, title: string) => void): () => void;
|
|
127
|
+
listOpenDocumentsAsync(moduleId: string, name: string): Promise<readonly string[] | null>;
|
|
128
|
+
openDocumentLook(moduleId: string, name: string, instance: string, change: IDocumentUpdate): void;
|
|
129
|
+
updateDocumentLook(name: string, instance: string, change: IDocumentUpdate): void;
|
|
130
|
+
updateDocument(moduleId: string, name: string, instance: string, title: string | null, breadcrumb: readonly string[] | null, breadcrumbIcon?: string | null): void;
|
|
131
|
+
openView(moduleId: string, name: string, instance: string, heading: DocumentHeading, icon: string | null, tabGroup: string | null): void;
|
|
132
|
+
updateView(moduleId: string, name: string, instance: string, title: string | null, icon: string | null, breadcrumb: readonly string[] | null, breadcrumbIcon?: string | null): void;
|
|
133
|
+
closeView(moduleId: string, name: string, instance: string): void;
|
|
134
|
+
showView(moduleId: string, name: string): void;
|
|
135
|
+
hideViewDock(moduleId: string, name: string, instance: string | null): void;
|
|
136
|
+
growViewDock(name: string, instance: string | null, minimum: number): () => void;
|
|
137
|
+
viewDockOf(name: string, instance: string | null): Signal<DockSide | null>;
|
|
138
|
+
onViewClosed(name: string, listener: (instance: string) => void): () => void;
|
|
139
|
+
showInDialogAsync(name: string, instance: string | null, title: string | null): Promise<void>;
|
|
140
|
+
openBelowWindowRow<T>(context: IWindowPartContext, component: Type<T>): IWindowPalette<T> | null;
|
|
141
|
+
declaresDynamicMenuGroup(moduleId: string, group: string): boolean;
|
|
142
|
+
provideMenuGroup(group: string, provider: (context: JsonObject) => readonly MenuItem[]): () => void;
|
|
143
|
+
declaresDynamicSetting(setting: string): boolean;
|
|
144
|
+
provideSettingOptions(setting: string, provider: (values: JsonObject) => readonly SettingOption[] | null): () => void;
|
|
145
|
+
refreshSettingOptions(setting: string): void;
|
|
146
|
+
declaresCheckedSetting(setting: string): boolean;
|
|
147
|
+
provideSettingCheck(setting: string, check: (value: string) => string | null): () => void;
|
|
148
|
+
findPlaceholderName(): string | null;
|
|
149
|
+
isCommandRegistered(name: string): boolean;
|
|
150
|
+
runCommandAsync(name: string, commandArguments: JsonValue): Promise<JsonValue>;
|
|
151
|
+
findWindowCommand(event: KeyboardEvent): string | null;
|
|
152
|
+
keyOf(name: string): Signal<ICommandKey | null>;
|
|
153
|
+
postNotificationAsync(post: NotificationPost): Promise<string>;
|
|
154
|
+
dismissNotification(id: string): void;
|
|
155
|
+
setViewBadge(view: string, badge: ViewBadge | null): void;
|
|
156
|
+
setTabWorking(tabKey: string, isWorking: boolean): void;
|
|
157
|
+
setTabWaiting(tabKey: string, isWaiting: boolean): void;
|
|
158
|
+
registerSelectionSource(element: HTMLElement, source: ISelectionSource): () => void;
|
|
159
|
+
refresh(): void;
|
|
160
|
+
private createPartInjector;
|
|
161
|
+
private follow;
|
|
162
|
+
private followModules;
|
|
163
|
+
private isConnected;
|
|
164
|
+
private reloadAsync;
|
|
165
|
+
private activateReportedAsync;
|
|
166
|
+
private switchModulesAsync;
|
|
167
|
+
private applyReportAsync;
|
|
168
|
+
private reconnectPartsAsync;
|
|
169
|
+
private announceDependencies;
|
|
170
|
+
private dependencyListenerFailure;
|
|
171
|
+
private reconnectPartAsync;
|
|
172
|
+
private settingsPagesOf;
|
|
173
|
+
private setSettingsPages;
|
|
174
|
+
private findFailures;
|
|
175
|
+
private setFailures;
|
|
176
|
+
private revise;
|
|
177
|
+
private loadLayoutAsync;
|
|
178
|
+
private replayPending;
|
|
179
|
+
private endDocument;
|
|
180
|
+
private closeNow;
|
|
181
|
+
private dropPending;
|
|
182
|
+
private changeView;
|
|
183
|
+
private replayViews;
|
|
184
|
+
private later;
|
|
185
|
+
private replay;
|
|
186
|
+
private openPending;
|
|
187
|
+
private describeRuntimeCommand;
|
|
188
|
+
private findRuntimeState;
|
|
189
|
+
private receiveCommands;
|
|
190
|
+
private takeRuntimeCommands;
|
|
191
|
+
private applyCommands;
|
|
192
|
+
private describeFailure;
|
|
193
|
+
private activateAsync;
|
|
194
|
+
private deactivateAsync;
|
|
195
|
+
private announceWithdrawn;
|
|
196
|
+
private static owns;
|
|
197
|
+
private matchPlaceholder;
|
|
198
|
+
private static match;
|
|
199
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WindowPartHostService, never>;
|
|
200
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
201
|
+
}
|