@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,104 @@
|
|
|
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 { DestroyRef, Injectable, computed, inject, signal } from "@angular/core";
|
|
9
|
+
import "@noldova/context.core";
|
|
10
|
+
import { QualifiedName, SettingChange, SettingEntry, SettingKey, SettingValue, SettingsQuery, SettingsSnapshot, ShellEvents, ShellMethods } from "@noldova/desktop.protocol";
|
|
11
|
+
import { UnconfirmedAction } from "../enums/unconfirmed-action.js";
|
|
12
|
+
import { ActionNotConfirmedException } from "../exceptions/action-not-confirmed.exception.js";
|
|
13
|
+
import { PreloadBridgeService } from "./preload-bridge.service.js";
|
|
14
|
+
import * as i0 from "@angular/core";
|
|
15
|
+
export class SettingsService {
|
|
16
|
+
bridge = inject(PreloadBridgeService);
|
|
17
|
+
definitionList = signal([], /* @ts-ignore */
|
|
18
|
+
...(ngDevMode ? [{ debugName: "definitionList" }] : /* istanbul ignore next */ []));
|
|
19
|
+
valueMap = signal(new Map(), /* @ts-ignore */
|
|
20
|
+
...(ngDevMode ? [{ debugName: "valueMap" }] : /* istanbul ignore next */ []));
|
|
21
|
+
setNames = signal(new Set(), /* @ts-ignore */
|
|
22
|
+
...(ngDevMode ? [{ debugName: "setNames" }] : /* istanbul ignore next */ []));
|
|
23
|
+
listeners = new Set();
|
|
24
|
+
loads = 0;
|
|
25
|
+
loading = 0;
|
|
26
|
+
received = [];
|
|
27
|
+
definitions = this.definitionList.asReadonly();
|
|
28
|
+
values = this.valueMap.asReadonly();
|
|
29
|
+
constructor() {
|
|
30
|
+
inject(DestroyRef).onDestroy(this.bridge.onEvent((name, payload) => {
|
|
31
|
+
if (name === ShellEvents.settingsChanged.text)
|
|
32
|
+
this.apply(SettingChange.fromJson(payload));
|
|
33
|
+
}));
|
|
34
|
+
}
|
|
35
|
+
async loadAsync() {
|
|
36
|
+
const load = ++this.loads;
|
|
37
|
+
this.loading++;
|
|
38
|
+
try {
|
|
39
|
+
const snapshot = SettingsSnapshot.fromJson(await this.bridge.requestAsync(ShellMethods.settings.text, new SettingsQuery(null).toJson()));
|
|
40
|
+
if (load === this.loads) {
|
|
41
|
+
this.definitionList.set(snapshot.definitions);
|
|
42
|
+
this.valueMap.set(new Map(snapshot.entries.map(t => [t.name.text, t.value])));
|
|
43
|
+
this.setNames.set(new Set(snapshot.entries.filter(t => t.isSet).map(t => t.name.text)));
|
|
44
|
+
for (const change of this.received)
|
|
45
|
+
this.store(change);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
finally {
|
|
49
|
+
if (--this.loading === 0)
|
|
50
|
+
this.received = [];
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
value(name) {
|
|
54
|
+
return computed(() => this.valueMap().get(name));
|
|
55
|
+
}
|
|
56
|
+
isSet(name) {
|
|
57
|
+
return computed(() => this.setNames().has(name));
|
|
58
|
+
}
|
|
59
|
+
read(name) {
|
|
60
|
+
return this.valueMap().get(name);
|
|
61
|
+
}
|
|
62
|
+
async readAsync(name, scope) {
|
|
63
|
+
return SettingEntry.fromJson(await this.bridge.requestAsync(ShellMethods.readSetting.text, new SettingKey(QualifiedName.parse(name), scope).toJson()));
|
|
64
|
+
}
|
|
65
|
+
async setAsync(name, value, scope = null) {
|
|
66
|
+
await this.changeAsync(name, ShellMethods.setSetting.text, new SettingValue(new SettingKey(QualifiedName.parse(name), scope), value).toJson());
|
|
67
|
+
}
|
|
68
|
+
async resetAsync(name, scope = null) {
|
|
69
|
+
await this.changeAsync(name, ShellMethods.resetSetting.text, new SettingKey(QualifiedName.parse(name), scope).toJson());
|
|
70
|
+
}
|
|
71
|
+
onChanged(listener) {
|
|
72
|
+
this.listeners.add(listener);
|
|
73
|
+
return () => this.listeners.delete(listener);
|
|
74
|
+
}
|
|
75
|
+
async changeAsync(name, method, payload) {
|
|
76
|
+
try {
|
|
77
|
+
await this.bridge.requestAsync(method, payload);
|
|
78
|
+
}
|
|
79
|
+
catch (error) {
|
|
80
|
+
throw ActionNotConfirmedException.from(error, UnconfirmedAction.Setting, name);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
apply(change) {
|
|
84
|
+
if (this.loading > 0)
|
|
85
|
+
this.received.push(change);
|
|
86
|
+
this.store(change);
|
|
87
|
+
for (const listener of [...this.listeners])
|
|
88
|
+
listener(change);
|
|
89
|
+
}
|
|
90
|
+
store(change) {
|
|
91
|
+
if (!Object.isNull(change.key.scope))
|
|
92
|
+
return;
|
|
93
|
+
const name = change.key.name.text;
|
|
94
|
+
this.valueMap.update(t => new Map([...t, [name, change.value]]));
|
|
95
|
+
this.setNames.update(t => new Set(change.isSet ? [...t, name] : [...t].filter(u => u !== name)));
|
|
96
|
+
}
|
|
97
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: SettingsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
98
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: SettingsService, providedIn: "root" });
|
|
99
|
+
}
|
|
100
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: SettingsService, decorators: [{
|
|
101
|
+
type: Injectable,
|
|
102
|
+
args: [{ providedIn: "root" }]
|
|
103
|
+
}], ctorParameters: () => [] });
|
|
104
|
+
//# sourceMappingURL=settings.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"settings.service.js","sourceRoot":"","sources":["../../../../../src/noldova.desktop.window/src/app/services/settings.service.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,UAAU,EAAE,UAAU,EAAoC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEnH,OAAO,uBAAuB,CAAC;AAE/B,OAAO,EACL,aAAa,EACb,aAAa,EACb,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,aAAa,EACb,gBAAgB,EAChB,WAAW,EACX,YAAY,EAGb,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,2BAA2B,EAAE,MAAM,iDAAiD,CAAC;AAC9F,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;;AAGnE,MAAM,OAAO,eAAe;IACT,MAAM,GAAyB,MAAM,CAAC,oBAAoB,CAAC,CAAC;IAC5D,cAAc,GAAiD,MAAM,CAAC,EAAE;uFAAC,CAAC;IAC1E,QAAQ,GAAmD,MAAM,CAAC,IAAI,GAAG,EAAE;iFAAC,CAAC;IAC7E,QAAQ,GAAwC,MAAM,CAAC,IAAI,GAAG,EAAE;iFAAC,CAAC;IAClE,SAAS,GAAyC,IAAI,GAAG,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C;YACxC,QAAQ,CAAC,MAAM,CAAC,CAAC;IACrB,CAAC;IAEO,KAAK,CAAC,MAAqB;QACjC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC;YAClC,OAAO;QACT,MAAM,IAAI,GAAG,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC;QAClC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,GAAG,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;QACjE,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC;IACnG,CAAC;uGA3FU,eAAe;2GAAf,eAAe,cADF,MAAM;;2FACnB,eAAe;kBAD3B,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import "@noldova/context.core";
|
|
2
|
+
import { type KeyChord } from "@noldova/desktop.protocol";
|
|
3
|
+
import { CommandContribution } from "../models/command-contribution.js";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ShellCommandsService {
|
|
6
|
+
private readonly layout;
|
|
7
|
+
private readonly strips;
|
|
8
|
+
private readonly search;
|
|
9
|
+
private readonly history;
|
|
10
|
+
private readonly edits;
|
|
11
|
+
private readonly bridge;
|
|
12
|
+
private readonly links;
|
|
13
|
+
private readonly viewDialogs;
|
|
14
|
+
private readonly instances;
|
|
15
|
+
private readonly tabFocus;
|
|
16
|
+
private readonly renames;
|
|
17
|
+
private readonly settingsPages;
|
|
18
|
+
private readonly updates;
|
|
19
|
+
private readonly support;
|
|
20
|
+
private readonly document;
|
|
21
|
+
private readonly environment;
|
|
22
|
+
readonly commands: readonly CommandContribution[];
|
|
23
|
+
private get toolbars();
|
|
24
|
+
keys(platform: string): readonly (readonly [KeyChord, string])[];
|
|
25
|
+
pageFirstKeys(platform: string): readonly KeyChord[];
|
|
26
|
+
private openSettings;
|
|
27
|
+
private tabCommand;
|
|
28
|
+
private static always;
|
|
29
|
+
private moveOf;
|
|
30
|
+
private targetOf;
|
|
31
|
+
private shownTabOf;
|
|
32
|
+
private showInDialogAsync;
|
|
33
|
+
private toolbarOf;
|
|
34
|
+
private viewOf;
|
|
35
|
+
private toggleView;
|
|
36
|
+
private focusGrip;
|
|
37
|
+
private gripsOf;
|
|
38
|
+
private focusAfterHide;
|
|
39
|
+
private focusToolbars;
|
|
40
|
+
private groupOf;
|
|
41
|
+
private tabKeyOf;
|
|
42
|
+
private neighborOf;
|
|
43
|
+
private moveToGroup;
|
|
44
|
+
private focusable;
|
|
45
|
+
private focusGroup;
|
|
46
|
+
private close;
|
|
47
|
+
private show;
|
|
48
|
+
private closeKeeping;
|
|
49
|
+
private place;
|
|
50
|
+
private replaceMisspellingAsync;
|
|
51
|
+
private addToDictionaryAsync;
|
|
52
|
+
private editAsync;
|
|
53
|
+
private copySelectionAsync;
|
|
54
|
+
private done;
|
|
55
|
+
private opensInApp;
|
|
56
|
+
private openLinkAsync;
|
|
57
|
+
private static webUrlOf;
|
|
58
|
+
private static textOf;
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShellCommandsService, never>;
|
|
60
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
61
|
+
}
|
|
@@ -0,0 +1,346 @@
|
|
|
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 { EnvironmentInjector, Injectable, afterNextRender, inject } from "@angular/core";
|
|
10
|
+
import "@noldova/context.core";
|
|
11
|
+
import { JsonReader } from "@noldova/context.json";
|
|
12
|
+
import { EditAction, LinkPolicy, ShellKeys } from "@noldova/desktop.protocol";
|
|
13
|
+
import { BottomDockSpan } from "../enums/bottom-dock-span.js";
|
|
14
|
+
import { DockSide } from "../enums/dock-side.js";
|
|
15
|
+
import { LinkPlace } from "../enums/link-place.js";
|
|
16
|
+
import { PanelEdge } from "../enums/panel-edge.js";
|
|
17
|
+
import { ToolbarMove } from "../enums/toolbar-move.js";
|
|
18
|
+
import { UpdateAction } from "../enums/update-action.js";
|
|
19
|
+
import { UpdateStateKind } from "../enums/update-state-kind.js";
|
|
20
|
+
import { CommandContribution } from "../models/command-contribution.js";
|
|
21
|
+
import { SideDropTarget } from "../models/layout/side-drop-target.js";
|
|
22
|
+
import { SplitDropTarget } from "../models/layout/split-drop-target.js";
|
|
23
|
+
import { TabDropTarget } from "../models/layout/tab-drop-target.js";
|
|
24
|
+
import { TabKey } from "../models/layout/tab-key.js";
|
|
25
|
+
import { ViewTab } from "../models/layout/view-tab.js";
|
|
26
|
+
import { SearchRequest } from "../models/search-request.js";
|
|
27
|
+
import { ShellDocuments } from "../models/shell-documents.js";
|
|
28
|
+
import { TabTarget } from "../models/tab-target.js";
|
|
29
|
+
import { ProductName } from "../models/product-name.js";
|
|
30
|
+
import { Resources } from "../../resources.js";
|
|
31
|
+
import { SearchPaletteService } from "./search-palette.service.js";
|
|
32
|
+
import { DocumentHistoryService } from "./document-history.service.js";
|
|
33
|
+
import { PreloadBridgeService } from "./preload-bridge.service.js";
|
|
34
|
+
import { EditTargetService } from "./edit-target.service.js";
|
|
35
|
+
import { LinkService } from "./link.service.js";
|
|
36
|
+
import { LayoutService } from "./layout.service.js";
|
|
37
|
+
import { SettingsPageService } from "./settings-page.service.js";
|
|
38
|
+
import { SupportService } from "./support.service.js";
|
|
39
|
+
import { TabFocusService } from "./tab-focus.service.js";
|
|
40
|
+
import { TabRenameService } from "./tab-rename.service.js";
|
|
41
|
+
import { ToolbarService } from "./toolbar.service.js";
|
|
42
|
+
import { TabStripService } from "./tab-strip.service.js";
|
|
43
|
+
import { UpdateService } from "./update.service.js";
|
|
44
|
+
import { ViewDialogService } from "./view-dialog.service.js";
|
|
45
|
+
import { ViewInstancesService } from "./view-instances.service.js";
|
|
46
|
+
import * as i0 from "@angular/core";
|
|
47
|
+
export class ShellCommandsService {
|
|
48
|
+
layout = inject(LayoutService);
|
|
49
|
+
strips = inject(TabStripService);
|
|
50
|
+
search = inject(SearchPaletteService);
|
|
51
|
+
history = inject(DocumentHistoryService);
|
|
52
|
+
edits = inject(EditTargetService);
|
|
53
|
+
bridge = inject(PreloadBridgeService);
|
|
54
|
+
links = inject(LinkService);
|
|
55
|
+
viewDialogs = inject(ViewDialogService);
|
|
56
|
+
instances = inject(ViewInstancesService);
|
|
57
|
+
tabFocus = inject(TabFocusService);
|
|
58
|
+
renames = inject(TabRenameService);
|
|
59
|
+
settingsPages = inject(SettingsPageService);
|
|
60
|
+
updates = inject(UpdateService);
|
|
61
|
+
support = inject(SupportService);
|
|
62
|
+
document = inject(DOCUMENT);
|
|
63
|
+
environment = inject(EnvironmentInjector);
|
|
64
|
+
commands = [
|
|
65
|
+
this.tabCommand(Resources.closeTabCommand, Resources.closeTabTitle, Resources.closeGlyph, t => this.close(t), () => true),
|
|
66
|
+
this.tabCommand(Resources.keepTabCommand, Resources.keepTabTitle, Resources.keepGlyph, t => this.layout.keep(t.tab), t => t.isPreview, t => t.isPreview),
|
|
67
|
+
this.tabCommand(Resources.renameTabCommand, Resources.renameTabTitle, Resources.renameGlyph, t => this.renames.begin(t.tab), t => this.renames.canRename(t.tab), t => this.renames.canRename(t.tab)),
|
|
68
|
+
this.tabCommand(Resources.closeOtherTabsCommand, Resources.closeOtherTabsTitle, Resources.closeOthersGlyph, t => this.closeKeeping(t.group.tabs.filter(u => !u.equals(t.tab)), t.tab), t => t.group.tabs.length > 1),
|
|
69
|
+
this.tabCommand(Resources.closeTabsToTheRightCommand, Resources.closeTabsToTheRightTitle, Resources.closeToTheRightGlyph, t => this.closeKeeping(t.group.tabs.slice(t.index + 1), t.tab), t => !t.isLast),
|
|
70
|
+
this.tabCommand(Resources.closeAllTabsCommand, Resources.closeAllTabsTitle, Resources.closeAllGlyph, t => this.layout.closeTabs(t.group.tabs), () => true),
|
|
71
|
+
this.tabCommand(Resources.moveTabLeftCommand, Resources.moveTabLeftTitle, Resources.moveEarlierGlyph, t => this.place(t.tab, new TabDropTarget(t.group.id, t.index - 1)), t => !t.isFirst),
|
|
72
|
+
this.tabCommand(Resources.moveTabRightCommand, Resources.moveTabRightTitle, Resources.moveLaterGlyph, t => this.place(t.tab, new TabDropTarget(t.group.id, t.index + 2)), t => !t.isLast),
|
|
73
|
+
this.tabCommand(Resources.nextTabCommand, Resources.nextTabTitle, Resources.nextTabGlyph, t => this.show(t, 1), t => t.group.tabs.length > 1),
|
|
74
|
+
this.tabCommand(Resources.previousTabCommand, Resources.previousTabTitle, Resources.previousTabGlyph, t => this.show(t, -1), t => t.group.tabs.length > 1),
|
|
75
|
+
...Object.values(PanelEdge).map(edge => this.tabCommand(Resources.splitTabCommands[edge], Resources.splitTabTitles[edge], Resources.splitGlyphs[edge], t => this.place(t.tab, new SplitDropTarget(t.group.id, edge)), t => t.canSplit)),
|
|
76
|
+
...Object.values(DockSide).map(side => this.tabCommand(Resources.dockTabCommands[side], Resources.dockTabTitles[side], Resources.dockGlyphs[side], t => this.place(t.tab, new SideDropTarget(side)), t => t.tab.isMovable, t => t.tab.isMovable)),
|
|
77
|
+
new CommandContribution(Resources.moveTabToGroupCommand, Resources.moveTabToGroupTitle, Resources.moveToGlyph, null, commandArguments => this.done(() => {
|
|
78
|
+
const move = this.moveOf(commandArguments);
|
|
79
|
+
if (!Object.isNull(move))
|
|
80
|
+
this.place(move.target.tab, new TabDropTarget(move.group.id, move.group.tabs.length));
|
|
81
|
+
}), commandArguments => !Object.isNull(this.moveOf(commandArguments)), null, commandArguments => !Object.isNull(this.targetOf(commandArguments))),
|
|
82
|
+
this.tabCommand(Resources.moveTabToNextGroupCommand, Resources.moveTabToNextGroupTitle, Resources.moveToGlyph, t => this.moveToGroup(t, 1), t => this.neighborOf(t, 1).length > 0, t => this.neighborOf(t, 1).length > 0),
|
|
83
|
+
this.tabCommand(Resources.moveTabToPreviousGroupCommand, Resources.moveTabToPreviousGroupTitle, Resources.moveToGlyph, t => this.moveToGroup(t, -1), t => this.neighborOf(t, -1).length > 0, t => this.neighborOf(t, -1).length > 0),
|
|
84
|
+
new CommandContribution(Resources.focusNextGroupCommand, Resources.focusNextGroupTitle, Resources.focusNextGroupGlyph, null, () => this.done(() => this.focusGroup(1)), () => this.focusable().length > 1),
|
|
85
|
+
new CommandContribution(Resources.focusPreviousGroupCommand, Resources.focusPreviousGroupTitle, Resources.focusPreviousGroupGlyph, null, () => this.done(() => this.focusGroup(-1)), () => this.focusable().length > 1),
|
|
86
|
+
...Object.values(DockSide).map(side => new CommandContribution(Resources.toggleDockCommands[side], Resources.toggleDockTitles[side], Resources.hideDockGlyphs[side], null, () => this.done(() => this.layout.toggleDock(side)), () => true, () => this.layout.layout().dock(side).isExpanded && !this.layout.geometry().closedSides.has(side))),
|
|
87
|
+
...Object.values(EditAction).map(action => new CommandContribution(Resources.editCommands[action], Resources.editTitles[action], Resources.editGlyphs[action], null, () => this.editAsync(action), () => this.edits.canRun(action))),
|
|
88
|
+
new CommandContribution(Resources.replaceMisspellingCommand, Resources.replaceMisspellingTitle, null, null, commandArguments => this.replaceMisspellingAsync(commandArguments), commandArguments => !Object.isNull(ShellCommandsService.textOf(commandArguments, Resources.textArgument))),
|
|
89
|
+
new CommandContribution(Resources.addToDictionaryCommand, Resources.addToDictionaryTitle, Resources.addToDictionaryGlyph, null, commandArguments => this.addToDictionaryAsync(commandArguments), commandArguments => !Object.isNull(ShellCommandsService.textOf(commandArguments, Resources.wordArgument))),
|
|
90
|
+
new CommandContribution(Resources.openLinkInAppCommand, Resources.formatOpenLinkInAppTitle(ProductName.current), Resources.openLinkInAppGlyph, null, commandArguments => this.openLinkAsync(commandArguments, LinkPlace.InApp), commandArguments => this.opensInApp(commandArguments), null, commandArguments => this.opensInApp(commandArguments)),
|
|
91
|
+
new CommandContribution(Resources.openLinkInBrowserCommand, Resources.openLinkInBrowserTitle, Resources.openLinkInBrowserGlyph, null, commandArguments => this.openLinkAsync(commandArguments, LinkPlace.System), commandArguments => !Object.isNull(ShellCommandsService.webUrlOf(commandArguments)), null, commandArguments => !Object.isNull(ShellCommandsService.webUrlOf(commandArguments))),
|
|
92
|
+
new CommandContribution(Resources.searchCommand, Resources.searchTitle, Resources.searchGlyph, null, commandArguments => this.done(() => this.search.open(new SearchRequest(String.empty, ShellCommandsService.textOf(commandArguments, Resources.sourceArgument))))),
|
|
93
|
+
new CommandContribution(Resources.showCommandsCommand, Resources.showCommandsTitle, Resources.showCommandsGlyph, null, () => this.done(() => this.search.open(SearchRequest.commands))),
|
|
94
|
+
new CommandContribution(Resources.openSettingsCommand, Resources.openSettingsTitle, Resources.settingsGlyph, null, commandArguments => this.done(() => this.openSettings(commandArguments)), () => this.layout.registry().hasDocument(ShellDocuments.settings.name)),
|
|
95
|
+
new CommandContribution(Resources.showShortcutsCommand, Resources.showShortcutsTitle, Resources.showShortcutsGlyph, null, () => this.done(() => this.settingsPages.open(Resources.shortcutsPage)), () => this.layout.registry().hasDocument(ShellDocuments.settings.name)),
|
|
96
|
+
new CommandContribution(Resources.installCommandCommand, Resources.installCommandTitle, Resources.installCommandGlyph, null, () => this.bridge.installCommandAsync(), () => this.bridge.isMac, null, () => this.bridge.isMac),
|
|
97
|
+
new CommandContribution(Resources.checkForUpdatesCommand, Resources.checkForUpdatesTitle, Resources.checkForUpdatesGlyph, null, () => this.done(() => this.updates.act(UpdateAction.Check)), () => this.updates.state().canCheck, null, () => this.updates.state().kind !== UpdateStateKind.Off),
|
|
98
|
+
new CommandContribution(Resources.restartToUpdateCommand, Resources.restartToUpdateTitle, Resources.restartToUpdateGlyph, null, () => this.done(() => this.updates.act(UpdateAction.Restart)), () => this.updates.state().canRestart, null, () => this.updates.state().canRestart),
|
|
99
|
+
new CommandContribution(Resources.openLogFolderCommand, Resources.openLogFolderLabel, Resources.logFolderGlyph, null, () => this.support.openLogFolderAsync()),
|
|
100
|
+
new CommandContribution(Resources.copyDetailsCommand, Resources.copyDetailsLabel, Resources.copyGlyph, null, () => this.support.copyDetailsAsync()),
|
|
101
|
+
new CommandContribution(Resources.openModulesCommand, Resources.openModulesTitle, Resources.modulesGlyph, null, () => this.done(() => this.layout.openDocument(ShellDocuments.modulesTab)), () => this.layout.registry().hasDocument(ShellDocuments.modules.name)),
|
|
102
|
+
new CommandContribution(Resources.showInDialogCommand, Resources.showInDialogTitle, Resources.showInDialogGlyph, null, commandArguments => this.showInDialogAsync(commandArguments), commandArguments => !Object.isNull(this.shownTabOf(commandArguments))),
|
|
103
|
+
new CommandContribution(Resources.toggleToolbarCommand, Resources.toggleToolbarTitle, Resources.focusToolbarsGlyph, null, commandArguments => this.done(() => {
|
|
104
|
+
const name = this.toolbarOf(commandArguments);
|
|
105
|
+
if (!Object.isNull(name))
|
|
106
|
+
this.toolbars.setShown(name, !this.toolbars.isShown(name));
|
|
107
|
+
}), commandArguments => !Object.isNull(this.toolbarOf(commandArguments)), commandArguments => {
|
|
108
|
+
const name = this.toolbarOf(commandArguments);
|
|
109
|
+
return !Object.isNull(name) && this.toolbars.isShown(name);
|
|
110
|
+
}),
|
|
111
|
+
...Object.values(ToolbarMove).map(move => new CommandContribution(Resources.moveToolbarCommands[move], Resources.moveToolbarTitles[move], Resources.moveToolbarGlyphs[move], null, commandArguments => this.done(() => {
|
|
112
|
+
const name = this.toolbarOf(commandArguments);
|
|
113
|
+
if (!Object.isNull(name)) {
|
|
114
|
+
this.toolbars.moveBy(name, move);
|
|
115
|
+
this.focusGrip(name);
|
|
116
|
+
}
|
|
117
|
+
}), commandArguments => {
|
|
118
|
+
const name = this.toolbarOf(commandArguments);
|
|
119
|
+
return !Object.isNull(name) && this.toolbars.canMove(name, move);
|
|
120
|
+
})),
|
|
121
|
+
new CommandContribution(Resources.hideToolbarCommand, Resources.hideToolbarTitle, Resources.hideToolbarGlyph, null, commandArguments => this.done(() => {
|
|
122
|
+
const name = this.toolbarOf(commandArguments);
|
|
123
|
+
if (!Object.isNull(name)) {
|
|
124
|
+
const index = this.gripsOf().findIndex(t => t.closest(Resources.toolbarSelector)?.dataset[Resources.toolbarData] === name);
|
|
125
|
+
this.toolbars.setShown(name, false);
|
|
126
|
+
this.focusAfterHide(index);
|
|
127
|
+
}
|
|
128
|
+
}), commandArguments => !Object.isNull(this.toolbarOf(commandArguments))),
|
|
129
|
+
new CommandContribution(Resources.focusToolbarsCommand, Resources.focusToolbarsTitle, Resources.focusToolbarsGlyph, null, () => this.done(() => this.focusToolbars()), () => this.toolbars.hasContent()),
|
|
130
|
+
new CommandContribution(Resources.goBackCommand, Resources.goBackTitle, Resources.goBackGlyph, null, () => this.done(() => this.history.go(-1)), () => this.history.canGoBack()),
|
|
131
|
+
new CommandContribution(Resources.goForwardCommand, Resources.goForwardTitle, Resources.goForwardGlyph, null, () => this.done(() => this.history.go(1)), () => this.history.canGoForward()),
|
|
132
|
+
new CommandContribution(Resources.toggleViewCommand, Resources.toggleViewTitle, Resources.toggleViewGlyph, null, commandArguments => this.done(() => {
|
|
133
|
+
const tab = this.viewOf(commandArguments);
|
|
134
|
+
if (!Object.isNull(tab))
|
|
135
|
+
this.toggleView(tab);
|
|
136
|
+
}), commandArguments => !Object.isNull(this.viewOf(commandArguments)), commandArguments => {
|
|
137
|
+
const tab = this.viewOf(commandArguments);
|
|
138
|
+
return !Object.isNull(tab) && this.layout.layout().isOpen(tab);
|
|
139
|
+
}),
|
|
140
|
+
new CommandContribution(Resources.resetLayoutCommand, Resources.resetLayoutLabel, Resources.resetLayoutGlyph, null, () => this.done(() => this.layout.reset())),
|
|
141
|
+
...Object.values(BottomDockSpan).map(span => new CommandContribution(Resources.bottomSpanCommands[span], Resources.bottomSpanLabels[span], Resources.bottomSpanGlyphs[span], null, () => this.done(() => this.layout.setBottomSpan(span)), () => true, () => this.layout.layout().bottomSpan === span)),
|
|
142
|
+
new CommandContribution(Resources.showAllTabsCommand, Resources.overflowLabel, Resources.overflowGlyph, null, commandArguments => this.done(() => {
|
|
143
|
+
const group = this.groupOf(commandArguments);
|
|
144
|
+
if (!Object.isNull(group) && this.strips.isOverflowing(group))
|
|
145
|
+
this.strips.showList(group);
|
|
146
|
+
}), commandArguments => {
|
|
147
|
+
const group = this.groupOf(commandArguments);
|
|
148
|
+
return !Object.isNull(group) && this.strips.isOverflowing(group);
|
|
149
|
+
})
|
|
150
|
+
];
|
|
151
|
+
get toolbars() {
|
|
152
|
+
return this.environment.get(ToolbarService);
|
|
153
|
+
}
|
|
154
|
+
keys(platform) {
|
|
155
|
+
return [...ShellKeys.list(platform), ...ShellKeys.pageFirst(platform)];
|
|
156
|
+
}
|
|
157
|
+
pageFirstKeys(platform) {
|
|
158
|
+
return ShellKeys.pageFirst(platform).map(t => t[0]);
|
|
159
|
+
}
|
|
160
|
+
openSettings(commandArguments) {
|
|
161
|
+
const page = Object.isNull(commandArguments) ? undefined : JsonReader.fromValue(commandArguments).readOptionalString(Resources.pageArgument);
|
|
162
|
+
if (Object.isUndefined(page))
|
|
163
|
+
this.layout.openDocument(ShellDocuments.settingsTab);
|
|
164
|
+
else
|
|
165
|
+
this.settingsPages.open(page);
|
|
166
|
+
}
|
|
167
|
+
tabCommand(name, title, icon, run, isEnabled, isApplicable = ShellCommandsService.always) {
|
|
168
|
+
const holds = (commandArguments, rule) => {
|
|
169
|
+
const target = this.targetOf(commandArguments);
|
|
170
|
+
return !Object.isNull(target) && rule(target);
|
|
171
|
+
};
|
|
172
|
+
return new CommandContribution(name, title, icon, null, commandArguments => this.done(() => {
|
|
173
|
+
const target = this.targetOf(commandArguments);
|
|
174
|
+
if (!Object.isNull(target) && isEnabled(target))
|
|
175
|
+
run(target);
|
|
176
|
+
}), commandArguments => holds(commandArguments, isEnabled), null, commandArguments => holds(commandArguments, isApplicable));
|
|
177
|
+
}
|
|
178
|
+
static always() {
|
|
179
|
+
return true;
|
|
180
|
+
}
|
|
181
|
+
moveOf(commandArguments) {
|
|
182
|
+
const target = this.targetOf(commandArguments);
|
|
183
|
+
if (Object.isNull(target) || Object.isNull(commandArguments))
|
|
184
|
+
return null;
|
|
185
|
+
const reader = JsonReader.fromValue(commandArguments);
|
|
186
|
+
const group = reader.hasField(Resources.groupArgument) ? this.layout.layout().group(reader.readInteger(Resources.groupArgument)) : null;
|
|
187
|
+
return Object.isNull(group) || !group.accepts(target.tab) || group.has(target.tab) ? null : { target, group };
|
|
188
|
+
}
|
|
189
|
+
targetOf(commandArguments) {
|
|
190
|
+
const layout = this.layout.layout();
|
|
191
|
+
const key = this.tabKeyOf(commandArguments);
|
|
192
|
+
const tab = Object.isUndefined(key) ? this.layout.currentGroup().active : layout.groups.flatMap(t => t.tabs).find(t => t.key === key) ?? null;
|
|
193
|
+
const group = Object.isNull(tab) ? null : layout.groupOf(tab);
|
|
194
|
+
return Object.isNull(tab) || Object.isNull(group) ? null : new TabTarget(tab, group, layout.canSplit(tab, group.id));
|
|
195
|
+
}
|
|
196
|
+
shownTabOf(commandArguments) {
|
|
197
|
+
const key = this.tabKeyOf(commandArguments);
|
|
198
|
+
const tab = Object.isUndefined(key) ? null : TabKey.parse(key);
|
|
199
|
+
return !Object.isNull(tab) && this.viewDialogs.canShow(tab) ? tab : null;
|
|
200
|
+
}
|
|
201
|
+
async showInDialogAsync(commandArguments) {
|
|
202
|
+
const tab = this.shownTabOf(commandArguments);
|
|
203
|
+
if (!Object.isNull(tab))
|
|
204
|
+
await this.viewDialogs.showAsync(tab);
|
|
205
|
+
return null;
|
|
206
|
+
}
|
|
207
|
+
toolbarOf(commandArguments) {
|
|
208
|
+
const name = Object.isNull(commandArguments) ? undefined : JsonReader.fromValue(commandArguments).readOptionalString(Resources.toolbarArgument);
|
|
209
|
+
return !Object.isUndefined(name) && this.toolbars.isKnown(name) ? name : null;
|
|
210
|
+
}
|
|
211
|
+
viewOf(commandArguments) {
|
|
212
|
+
const name = ShellCommandsService.textOf(commandArguments, Resources.viewArgument);
|
|
213
|
+
return !Object.isNull(name) && this.layout.registry().hasView(name) && !this.layout.registry().view(name).hasInstances ? new ViewTab(name) : null;
|
|
214
|
+
}
|
|
215
|
+
toggleView(tab) {
|
|
216
|
+
if (this.layout.layout().isOpen(tab)) {
|
|
217
|
+
this.layout.close(tab);
|
|
218
|
+
return;
|
|
219
|
+
}
|
|
220
|
+
this.instances.reveal(tab);
|
|
221
|
+
}
|
|
222
|
+
focusGrip(name) {
|
|
223
|
+
afterNextRender(() => [...this.document.querySelectorAll(Resources.toolbarSelector)]
|
|
224
|
+
.find(t => t.dataset[Resources.toolbarData] === name)?.querySelector(Resources.toolbarGripSelector)?.focus(), { injector: this.environment });
|
|
225
|
+
}
|
|
226
|
+
gripsOf() {
|
|
227
|
+
return [...this.document.querySelectorAll(Resources.toolbarGripSelector)];
|
|
228
|
+
}
|
|
229
|
+
focusAfterHide(index) {
|
|
230
|
+
afterNextRender(() => {
|
|
231
|
+
const grips = this.gripsOf();
|
|
232
|
+
(grips[index] ?? grips.at(-1) ?? this.document.querySelector(Resources.searchFieldSelector))?.focus();
|
|
233
|
+
}, { injector: this.environment });
|
|
234
|
+
}
|
|
235
|
+
focusToolbars() {
|
|
236
|
+
this.document.querySelector(Resources.toolbarItemSelector)?.focus();
|
|
237
|
+
}
|
|
238
|
+
groupOf(commandArguments) {
|
|
239
|
+
return Object.isUndefined(this.tabKeyOf(commandArguments)) ? this.layout.currentGroup().id : this.targetOf(commandArguments)?.group.id ?? null;
|
|
240
|
+
}
|
|
241
|
+
tabKeyOf(commandArguments) {
|
|
242
|
+
return Object.isNull(commandArguments) ? undefined : JsonReader.fromValue(commandArguments).readOptionalString(Resources.tabArgument);
|
|
243
|
+
}
|
|
244
|
+
neighborOf(target, step) {
|
|
245
|
+
const groups = this.layout.layout().groups.filter(t => t.accepts(target.tab));
|
|
246
|
+
const next = (groups.findIndex(t => t.id === target.group.id) + step + groups.length) % groups.length;
|
|
247
|
+
return groups.length < 2 ? [] : groups.slice(next, next + 1);
|
|
248
|
+
}
|
|
249
|
+
moveToGroup(target, step) {
|
|
250
|
+
for (const group of this.neighborOf(target, step))
|
|
251
|
+
this.place(target.tab, new TabDropTarget(group.id, group.tabs.length));
|
|
252
|
+
}
|
|
253
|
+
focusable() {
|
|
254
|
+
return this.layout.geometry().frames.flatMap(t => Object.isNull(t.group.active) ? [] : [[t.group, t.group.active]]);
|
|
255
|
+
}
|
|
256
|
+
focusGroup(step) {
|
|
257
|
+
const groups = this.focusable();
|
|
258
|
+
const next = (groups.findIndex(([group]) => group.id === this.layout.currentGroup().id) + step + groups.length) % groups.length;
|
|
259
|
+
for (const [group, tab] of groups.slice(next, next + 1)) {
|
|
260
|
+
this.layout.focusGroup(group.id);
|
|
261
|
+
this.tabFocus.focus(tab);
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
close(target) {
|
|
265
|
+
this.layout.close(target.tab);
|
|
266
|
+
const next = this.layout.layout().group(target.group.id)?.active ?? this.layout.currentGroup().active;
|
|
267
|
+
if (!Object.isNull(next))
|
|
268
|
+
this.tabFocus.focus(next);
|
|
269
|
+
}
|
|
270
|
+
show(target, step) {
|
|
271
|
+
const count = target.group.tabs.length;
|
|
272
|
+
const index = (target.index + step + count) % count;
|
|
273
|
+
for (const tab of target.group.tabs.slice(index, index + 1)) {
|
|
274
|
+
this.layout.activate(tab);
|
|
275
|
+
this.tabFocus.focus(tab);
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
closeKeeping(tabs, kept) {
|
|
279
|
+
this.layout.closeTabs(tabs);
|
|
280
|
+
this.tabFocus.focus(kept);
|
|
281
|
+
}
|
|
282
|
+
place(tab, target) {
|
|
283
|
+
this.layout.place(tab, target);
|
|
284
|
+
this.tabFocus.focus(tab);
|
|
285
|
+
}
|
|
286
|
+
async replaceMisspellingAsync(commandArguments) {
|
|
287
|
+
const text = ShellCommandsService.textOf(commandArguments, Resources.textArgument);
|
|
288
|
+
if (!Object.isNull(text) && await this.edits.restoreAsync())
|
|
289
|
+
await this.bridge.replaceMisspellingAsync(text);
|
|
290
|
+
return null;
|
|
291
|
+
}
|
|
292
|
+
async addToDictionaryAsync(commandArguments) {
|
|
293
|
+
const word = ShellCommandsService.textOf(commandArguments, Resources.wordArgument);
|
|
294
|
+
if (!Object.isNull(word))
|
|
295
|
+
await this.bridge.addToDictionaryAsync(word);
|
|
296
|
+
await this.edits.restoreAsync();
|
|
297
|
+
return null;
|
|
298
|
+
}
|
|
299
|
+
async editAsync(action) {
|
|
300
|
+
const selection = action === EditAction.Copy ? this.edits.readSelection() : null;
|
|
301
|
+
if (!Object.isNull(selection))
|
|
302
|
+
await this.copySelectionAsync(selection);
|
|
303
|
+
else if (this.edits.canRun(action) && await this.edits.restoreAsync())
|
|
304
|
+
await this.bridge.editAsync(action);
|
|
305
|
+
return null;
|
|
306
|
+
}
|
|
307
|
+
async copySelectionAsync(selection) {
|
|
308
|
+
await this.edits.restoreAsync();
|
|
309
|
+
try {
|
|
310
|
+
if (!await this.bridge.writeTextAsync(selection))
|
|
311
|
+
this.bridge.logError(null, Resources.selectionCopyRefused);
|
|
312
|
+
}
|
|
313
|
+
catch (error) {
|
|
314
|
+
this.bridge.logError(null, Resources.formatSelectionNotCopied(error instanceof Error ? error.message : String(error)));
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
done(action) {
|
|
318
|
+
action();
|
|
319
|
+
return Promise.resolve(null);
|
|
320
|
+
}
|
|
321
|
+
opensInApp(commandArguments) {
|
|
322
|
+
return this.links.hasInAppBrowser && !Object.isNull(ShellCommandsService.webUrlOf(commandArguments));
|
|
323
|
+
}
|
|
324
|
+
async openLinkAsync(commandArguments, place) {
|
|
325
|
+
const url = ShellCommandsService.webUrlOf(commandArguments);
|
|
326
|
+
if (!Object.isNull(url))
|
|
327
|
+
await this.links.openAsync(url, { place });
|
|
328
|
+
return null;
|
|
329
|
+
}
|
|
330
|
+
static webUrlOf(commandArguments) {
|
|
331
|
+
const url = ShellCommandsService.textOf(commandArguments, Resources.urlArgument);
|
|
332
|
+
const link = Object.isNull(url) ? null : LinkPolicy.findAllowed(url);
|
|
333
|
+
return !Object.isNull(link) && LinkService.isWeb(link) ? link : null;
|
|
334
|
+
}
|
|
335
|
+
static textOf(commandArguments, name) {
|
|
336
|
+
const text = Object.isNull(commandArguments) ? undefined : JsonReader.fromValue(commandArguments).readOptionalString(name);
|
|
337
|
+
return Object.isUndefined(text) || text.length === 0 ? null : text;
|
|
338
|
+
}
|
|
339
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: ShellCommandsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
340
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: ShellCommandsService, providedIn: "root" });
|
|
341
|
+
}
|
|
342
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: ShellCommandsService, decorators: [{
|
|
343
|
+
type: Injectable,
|
|
344
|
+
args: [{ providedIn: "root" }]
|
|
345
|
+
}] });
|
|
346
|
+
//# sourceMappingURL=shell-commands.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shell-commands.service.js","sourceRoot":"","sources":["../../../../../src/noldova.desktop.window/src/app/services/shell-commands.service.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;A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I,CAAC;IACrE,CAAC;uGA9XU,oBAAoB;2GAApB,oBAAoB,cADP,MAAM;;2FACnB,oBAAoB;kBADhC,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE"}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 { SearchSourceContribution } from "../models/search-source-contribution.js";
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export declare class ShellSearchSourcesService {
|
|
13
|
+
private readonly commands;
|
|
14
|
+
private readonly menuBar;
|
|
15
|
+
private readonly settings;
|
|
16
|
+
private readonly clock;
|
|
17
|
+
private readonly updates;
|
|
18
|
+
private readonly recent;
|
|
19
|
+
private readonly pages;
|
|
20
|
+
private readonly rows;
|
|
21
|
+
private readonly entries;
|
|
22
|
+
private readonly definitions;
|
|
23
|
+
readonly commandsChanged: Signal<readonly unknown[]>;
|
|
24
|
+
readonly commandsSource: SearchSourceContribution;
|
|
25
|
+
readonly settingsSource: SearchSourceContribution;
|
|
26
|
+
private recentCommands;
|
|
27
|
+
private searchCommands;
|
|
28
|
+
private searchSettings;
|
|
29
|
+
private settingCandidate;
|
|
30
|
+
private commandResult;
|
|
31
|
+
private static answerOf;
|
|
32
|
+
private static rangeOf;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShellSearchSourcesService, never>;
|
|
34
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
35
|
+
}
|