@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,62 @@
|
|
|
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 type { TopBarSide } from "../enums/top-bar-side.js";
|
|
10
|
+
import type { TopBarActionContribution } from "./top-bar-action-contribution.js";
|
|
11
|
+
import type { TopBarActionState } from "./top-bar-action-state.js";
|
|
12
|
+
/**
|
|
13
|
+
* A registered top-bar action, which its window part updates.
|
|
14
|
+
*/
|
|
15
|
+
export declare class TopBarAction {
|
|
16
|
+
private readonly stateValue;
|
|
17
|
+
private readonly check;
|
|
18
|
+
/**
|
|
19
|
+
* The action's name, `<module id>.<name>`.
|
|
20
|
+
*/
|
|
21
|
+
readonly name: string;
|
|
22
|
+
/**
|
|
23
|
+
* The side of the top row it stands on.
|
|
24
|
+
*/
|
|
25
|
+
readonly side: TopBarSide;
|
|
26
|
+
/**
|
|
27
|
+
* What it shows and runs now.
|
|
28
|
+
*/
|
|
29
|
+
readonly state: Signal<TopBarActionState>;
|
|
30
|
+
/**
|
|
31
|
+
* Creates the registered action. The window creates it when a part
|
|
32
|
+
* registers the action; a test double creates its own.
|
|
33
|
+
*
|
|
34
|
+
* @param contribution The action as registered.
|
|
35
|
+
* @param check Throws when a state may not be shown, such as one whose
|
|
36
|
+
* command another module owns; it checks the first state and every update.
|
|
37
|
+
* @throws Error synchronously when `check` throws for the first state.
|
|
38
|
+
* @example
|
|
39
|
+
* ```ts
|
|
40
|
+
* import { TopBarAction, TopBarActionContribution, TopBarActionState } from "@noldova/desktop.window";
|
|
41
|
+
*
|
|
42
|
+
* export const action: TopBarAction = new TopBarAction(new TopBarActionContribution("notes.sync", new TopBarActionState("sync", "Sync notes", "notes.sync")), () => undefined);
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
constructor(contribution: TopBarActionContribution, check: (state: TopBarActionState) => void);
|
|
46
|
+
/**
|
|
47
|
+
* Changes what the action shows and runs.
|
|
48
|
+
*
|
|
49
|
+
* @param state The new state.
|
|
50
|
+
* @throws Error synchronously when its command belongs to neither the
|
|
51
|
+
* module nor a dependency; the action keeps its state.
|
|
52
|
+
* @example
|
|
53
|
+
* ```ts
|
|
54
|
+
* import { type TopBarAction, TopBarActionState } from "@noldova/desktop.window";
|
|
55
|
+
*
|
|
56
|
+
* export function hideWhileSyncing(action: TopBarAction, isSyncing: boolean): void {
|
|
57
|
+
* action.update(new TopBarActionState("sync", "Sync notes", "notes.sync", { isHidden: isSyncing }));
|
|
58
|
+
* }
|
|
59
|
+
* ```
|
|
60
|
+
*/
|
|
61
|
+
update(state: TopBarActionState): void;
|
|
62
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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 { signal } from "@angular/core";
|
|
9
|
+
export class TopBarAction {
|
|
10
|
+
stateValue;
|
|
11
|
+
check;
|
|
12
|
+
name;
|
|
13
|
+
side;
|
|
14
|
+
state;
|
|
15
|
+
constructor(contribution, check) {
|
|
16
|
+
check(contribution.state);
|
|
17
|
+
this.check = check;
|
|
18
|
+
this.name = contribution.name;
|
|
19
|
+
this.side = contribution.side;
|
|
20
|
+
this.stateValue = signal(contribution.state, /* @ts-ignore */
|
|
21
|
+
...(ngDevMode ? [{ debugName: "stateValue" }] : /* istanbul ignore next */ []));
|
|
22
|
+
this.state = this.stateValue.asReadonly();
|
|
23
|
+
}
|
|
24
|
+
update(state) {
|
|
25
|
+
this.check(state);
|
|
26
|
+
this.stateValue.set(state);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=top-bar-action.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"top-bar-action.js","sourceRoot":"","sources":["../../../../../src/noldova.desktop.window/src/app/models/top-bar-action.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAoC,MAAM,EAAE,MAAM,eAAe,CAAC;AAMzE,MAAM,OAAO,YAAY;IACN,UAAU,CAAoC;IAC9C,KAAK,CAAqC;IAE3C,IAAI,CAAS;IACb,IAAI,CAAa;IACjB,KAAK,CAA4B;IAEjD,YAAmB,YAAsC,EAAE,KAAyC;QAClG,KAAK,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;QAE1B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC,IAAI,CAAC;QAC9B,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC,IAAI,CAAC;QAC9B,IAAI,CAAC,UAAU,GAAG,MAAM,CAAC,YAAY,CAAC,KAAK;uFAAC,CAAC;QAC7C,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,UAAU,CAAC,UAAU,EAAE,CAAC;IAC5C,CAAC;IAEM,MAAM,CAAC,KAAwB;QACpC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QAClB,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAC7B,CAAC;CACF"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import "@noldova/context.core";
|
|
9
|
+
import { UpdateStateKind } from "../enums/update-state-kind.js";
|
|
10
|
+
export declare class UpdateState {
|
|
11
|
+
static readonly off: UpdateState;
|
|
12
|
+
readonly kind: UpdateStateKind;
|
|
13
|
+
readonly version: string | null;
|
|
14
|
+
readonly progress: number | null;
|
|
15
|
+
readonly checkedAt: number | null;
|
|
16
|
+
readonly reason: string | null;
|
|
17
|
+
readonly mustMove: boolean;
|
|
18
|
+
constructor(kind: UpdateStateKind, version: string | null, progress: number | null, checkedAt: number | null, reason: string | null, mustMove: boolean);
|
|
19
|
+
static fromJson(value: unknown): UpdateState;
|
|
20
|
+
get canCheck(): boolean;
|
|
21
|
+
get canRestart(): boolean;
|
|
22
|
+
get showsItem(): boolean;
|
|
23
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 "@noldova/context.core";
|
|
9
|
+
import { JsonException, JsonReader } from "@noldova/context.json";
|
|
10
|
+
import { UpdateStateKind } from "../enums/update-state-kind.js";
|
|
11
|
+
import { ProductName } from "./product-name.js";
|
|
12
|
+
import { Resources } from "../../resources.js";
|
|
13
|
+
export class UpdateState {
|
|
14
|
+
static off = new UpdateState(UpdateStateKind.Off, null, null, null, null, false);
|
|
15
|
+
kind;
|
|
16
|
+
version;
|
|
17
|
+
progress;
|
|
18
|
+
checkedAt;
|
|
19
|
+
reason;
|
|
20
|
+
mustMove;
|
|
21
|
+
constructor(kind, version, progress, checkedAt, reason, mustMove) {
|
|
22
|
+
this.kind = kind;
|
|
23
|
+
this.version = version;
|
|
24
|
+
this.progress = progress;
|
|
25
|
+
this.checkedAt = checkedAt;
|
|
26
|
+
this.reason = reason;
|
|
27
|
+
this.mustMove = mustMove;
|
|
28
|
+
}
|
|
29
|
+
static fromJson(value) {
|
|
30
|
+
const json = JsonReader.fromValue(value);
|
|
31
|
+
const kind = json.readString(Resources.kindField);
|
|
32
|
+
const known = Object.values(UpdateStateKind).find(t => t === kind);
|
|
33
|
+
if (Object.isUndefined(known))
|
|
34
|
+
throw new JsonException(Resources.unknownUpdateState, Resources.formatJsonPath(json.path, Resources.kindField));
|
|
35
|
+
const progress = json.readNullableInteger(Resources.progressField);
|
|
36
|
+
if (!Object.isNull(progress) && (progress < 0 || progress > Resources.maximumProgress))
|
|
37
|
+
throw new JsonException(Resources.invalidUpdateProgress, Resources.formatJsonPath(json.path, Resources.progressField));
|
|
38
|
+
const version = json.readNullableString(Resources.versionField);
|
|
39
|
+
if (Object.isNull(version) && [UpdateStateKind.Available, UpdateStateKind.Downloading, UpdateStateKind.Ready].includes(known))
|
|
40
|
+
throw new JsonException(Resources.missingUpdateVersion, Resources.formatJsonPath(json.path, Resources.versionField));
|
|
41
|
+
const mustMove = json.readBoolean(Resources.mustMoveField);
|
|
42
|
+
if (mustMove !== (known === UpdateStateKind.Available) && known !== UpdateStateKind.Failed)
|
|
43
|
+
throw new JsonException(Resources.formatInvalidUpdateMove(ProductName.current), Resources.formatJsonPath(json.path, Resources.mustMoveField));
|
|
44
|
+
return new UpdateState(known, version, progress, json.readNullableInteger(Resources.checkedAtField), json.readNullableString(Resources.reasonField), mustMove);
|
|
45
|
+
}
|
|
46
|
+
get canCheck() {
|
|
47
|
+
return [UpdateStateKind.UpToDate, UpdateStateKind.Available, UpdateStateKind.Failed].includes(this.kind);
|
|
48
|
+
}
|
|
49
|
+
get canRestart() {
|
|
50
|
+
return this.kind === UpdateStateKind.Ready;
|
|
51
|
+
}
|
|
52
|
+
get showsItem() {
|
|
53
|
+
return [UpdateStateKind.Available, UpdateStateKind.Ready, UpdateStateKind.Failed].includes(this.kind);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=update-state.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-state.js","sourceRoot":"","sources":["../../../../../src/noldova.desktop.window/src/app/models/update-state.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,uBAAuB,CAAC;AAC/B,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAElE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,MAAM,OAAO,WAAW;IACf,MAAM,CAAU,GAAG,GAAgB,IAAI,WAAW,CAAC,eAAe,CAAC,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;IAE9F,IAAI,CAAkB;IACtB,OAAO,CAAgB;IACvB,QAAQ,CAAgB;IACxB,SAAS,CAAgB;IACzB,MAAM,CAAgB;IACtB,QAAQ,CAAU;IAElC,YAAmB,IAAqB,EAAE,OAAsB,EAAE,QAAuB,EAAE,SAAwB,EAAE,MAAqB,EAAE,QAAiB;QAC3J,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,C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
@@ -0,0 +1,37 @@
|
|
|
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 "@noldova/context.core";
|
|
9
|
+
/**
|
|
10
|
+
* The badge on a view's icon or after its tab's title: a count or a dot,
|
|
11
|
+
* with a description for its accessible name.
|
|
12
|
+
*/
|
|
13
|
+
export declare class ViewBadge {
|
|
14
|
+
/**
|
|
15
|
+
* The count, or null for a dot.
|
|
16
|
+
*/
|
|
17
|
+
readonly count: number | null;
|
|
18
|
+
/**
|
|
19
|
+
* What the badge means, which the view's accessible name includes.
|
|
20
|
+
*/
|
|
21
|
+
readonly description: string;
|
|
22
|
+
/**
|
|
23
|
+
* Creates the badge.
|
|
24
|
+
*
|
|
25
|
+
* @param count A whole number from 1, or null for a dot.
|
|
26
|
+
* @param description What the badge means, not blank.
|
|
27
|
+
* @throws ArgumentException synchronously when the count is not a whole
|
|
28
|
+
* number from 1 or the description is blank.
|
|
29
|
+
* @example
|
|
30
|
+
* ```ts
|
|
31
|
+
* import { ViewBadge } from "@noldova/desktop.window";
|
|
32
|
+
*
|
|
33
|
+
* export const changed: ViewBadge = new ViewBadge(null, "Notes changed elsewhere");
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
constructor(count: number | null, description: string);
|
|
37
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import "@noldova/context.core";
|
|
9
|
+
import { ArgumentException } from "@noldova/context.exceptions";
|
|
10
|
+
import { Resources } from "../../resources.js";
|
|
11
|
+
export class ViewBadge {
|
|
12
|
+
count;
|
|
13
|
+
description;
|
|
14
|
+
constructor(count, description) {
|
|
15
|
+
if (!Object.isNull(count) && (!Number.isSafeInteger(count) || count < 1))
|
|
16
|
+
throw new ArgumentException(Resources.badgeCountInvalid, Resources.countParameter);
|
|
17
|
+
ArgumentException.throwIfNullOrWhitespace(description, Resources.descriptionParameter);
|
|
18
|
+
this.count = count;
|
|
19
|
+
this.description = description;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=view-badge.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"view-badge.js","sourceRoot":"","sources":["../../../../../src/noldova.desktop.window/src/app/models/view-badge.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,uBAAuB,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAEhE,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,MAAM,OAAO,SAAS;IACJ,KAAK,CAAgB;IACrB,WAAW,CAAS;IAEpC,YAAmB,KAAoB,EAAE,WAAmB;QAC1D,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,KAAK,CAAC,IAAI,KAAK,GAAG,CAAC,CAAC;YACtE,MAAM,IAAI,iBAAiB,CAAC,SAAS,CAAC,iBAAiB,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;QACrF,iBAAiB,CAAC,uBAAuB,CAAC,WAAW,EAAE,SAAS,CAAC,oBAAoB,CAAC,CAAC;QAEvF,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACjC,CAAC;CACF"}
|
|
@@ -0,0 +1,91 @@
|
|
|
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 { Type } from "@angular/core";
|
|
9
|
+
import type { ContentPadding } from "../enums/content-padding.js";
|
|
10
|
+
import type { DockSide } from "../enums/dock-side.js";
|
|
11
|
+
import type { IViewOptions } from "../interfaces/i-view-options.js";
|
|
12
|
+
/**
|
|
13
|
+
* A view a window part registers: content for a panel, in a dock or in the
|
|
14
|
+
* middle, with its title and icon.
|
|
15
|
+
*/
|
|
16
|
+
export declare class ViewContribution {
|
|
17
|
+
/**
|
|
18
|
+
* The view's name, `<module id>.<name>`.
|
|
19
|
+
*/
|
|
20
|
+
readonly name: string;
|
|
21
|
+
/**
|
|
22
|
+
* The title of its tab.
|
|
23
|
+
*/
|
|
24
|
+
readonly title: string;
|
|
25
|
+
/**
|
|
26
|
+
* The glyph of its tab.
|
|
27
|
+
*/
|
|
28
|
+
readonly icon: string;
|
|
29
|
+
/**
|
|
30
|
+
* The dock it opens in until the person moves it.
|
|
31
|
+
*/
|
|
32
|
+
readonly defaultSide: DockSide;
|
|
33
|
+
/**
|
|
34
|
+
* Whether it shows in a new layout.
|
|
35
|
+
*/
|
|
36
|
+
readonly isShownByDefault: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Loads the component the view shows.
|
|
39
|
+
*/
|
|
40
|
+
readonly loadComponent: () => Promise<Type<unknown>>;
|
|
41
|
+
/**
|
|
42
|
+
* The padding the view declares, or null when its module decides.
|
|
43
|
+
*/
|
|
44
|
+
readonly padding: ContentPadding | null;
|
|
45
|
+
/**
|
|
46
|
+
* Whether the view opens as many tabs, one for each instance.
|
|
47
|
+
*/
|
|
48
|
+
readonly hasInstances: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* The menu place shown in the tab row of a group holding its tabs, or
|
|
51
|
+
* null for none.
|
|
52
|
+
*/
|
|
53
|
+
readonly tabRowPlace: string | null;
|
|
54
|
+
/**
|
|
55
|
+
* Whether a person can rename the view's instance tabs in place, as
|
|
56
|
+
* {@link IViewOptions.isRenamable} describes it.
|
|
57
|
+
*/
|
|
58
|
+
readonly isRenamable: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Creates the view's contribution.
|
|
61
|
+
*
|
|
62
|
+
* @param name The view's name, `<module id>.<name>`.
|
|
63
|
+
* @param title The title of its tab, not blank.
|
|
64
|
+
* @param icon The glyph of its tab, not blank.
|
|
65
|
+
* @param defaultSide The dock it opens in.
|
|
66
|
+
* @param isShownByDefault Whether it shows in a new layout.
|
|
67
|
+
* @param loadComponent Loads the component the view shows, which a part
|
|
68
|
+
* loads lazily so activation stays light.
|
|
69
|
+
* @param padding The padding of its page; left out, its module decides.
|
|
70
|
+
* @param options Whether it has instances and the place of its tab-row
|
|
71
|
+
* buttons, as {@link IViewOptions} describes them; neither when left out.
|
|
72
|
+
* @throws ArgumentException synchronously when the name or the tab-row
|
|
73
|
+
* place is not `<module id>.<name>` or the title or icon is blank.
|
|
74
|
+
* @example
|
|
75
|
+
* ```ts
|
|
76
|
+
* import { Component } from "@angular/core";
|
|
77
|
+
* import { ContentPadding, DockSide, ViewContribution } from "@noldova/desktop.window";
|
|
78
|
+
*
|
|
79
|
+
* @Component({ selector: "nol-terminal-panel", template: "<div class=\"terminal\"></div>" })
|
|
80
|
+
* export class TerminalPanelComponent {
|
|
81
|
+
* }
|
|
82
|
+
*
|
|
83
|
+
* export const terminal: ViewContribution = new ViewContribution("terminal.panel", "Terminal", "terminal", DockSide.Bottom, true,
|
|
84
|
+
* () => Promise.resolve(TerminalPanelComponent), ContentPadding.None);
|
|
85
|
+
*
|
|
86
|
+
* export const sessions: ViewContribution = new ViewContribution("terminal.session", "Terminal", "terminal", DockSide.Bottom, false,
|
|
87
|
+
* () => Promise.resolve(TerminalPanelComponent), ContentPadding.None, { hasInstances: true, tabRowPlace: "terminal.tabRow" });
|
|
88
|
+
* ```
|
|
89
|
+
*/
|
|
90
|
+
constructor(name: string, title: string, icon: string, defaultSide: DockSide, isShownByDefault: boolean, loadComponent: () => Promise<Type<unknown>>, padding?: ContentPadding, options?: IViewOptions);
|
|
91
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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 { ArgumentException } from "@noldova/context.exceptions";
|
|
9
|
+
import { Resources } from "../../resources.js";
|
|
10
|
+
export class ViewContribution {
|
|
11
|
+
name;
|
|
12
|
+
title;
|
|
13
|
+
icon;
|
|
14
|
+
defaultSide;
|
|
15
|
+
isShownByDefault;
|
|
16
|
+
loadComponent;
|
|
17
|
+
padding;
|
|
18
|
+
hasInstances;
|
|
19
|
+
tabRowPlace;
|
|
20
|
+
isRenamable;
|
|
21
|
+
constructor(name, title, icon, defaultSide, isShownByDefault, loadComponent, padding, options = {}) {
|
|
22
|
+
if (!Resources.contributionNamePattern.test(name))
|
|
23
|
+
throw new ArgumentException(Resources.invalidContributionName, Resources.nameParameterName);
|
|
24
|
+
ArgumentException.throwIfNullOrWhitespace(title, Resources.titleParameterName);
|
|
25
|
+
ArgumentException.throwIfNullOrWhitespace(icon, Resources.iconParameterName);
|
|
26
|
+
if (!Object.isUndefined(options.tabRowPlace) && !Resources.contributionNamePattern.test(options.tabRowPlace))
|
|
27
|
+
throw new ArgumentException(Resources.invalidContributionName, Resources.optionsParameterName);
|
|
28
|
+
if (options.isRenamable === true && options.hasInstances !== true)
|
|
29
|
+
throw new ArgumentException(Resources.renamableViewWithoutInstances, Resources.optionsParameterName);
|
|
30
|
+
this.name = name;
|
|
31
|
+
this.title = title;
|
|
32
|
+
this.icon = icon;
|
|
33
|
+
this.defaultSide = defaultSide;
|
|
34
|
+
this.isShownByDefault = isShownByDefault;
|
|
35
|
+
this.loadComponent = loadComponent;
|
|
36
|
+
this.padding = padding ?? null;
|
|
37
|
+
this.hasInstances = options.hasInstances === true;
|
|
38
|
+
this.tabRowPlace = options.tabRowPlace ?? null;
|
|
39
|
+
this.isRenamable = options.isRenamable === true;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=view-contribution.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"view-contribution.js","sourceRoot":"","sources":["../../../../../src/noldova.desktop.window/src/app/models/view-contribution.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAKhE,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,MAAM,OAAO,gBAAgB;IACX,IAAI,CAAS;IACb,KAAK,CAAS;IACd,IAAI,CAAS;IACb,WAAW,CAAW;IACtB,gBAAgB,CAAU;IAC1B,aAAa,CAA+B;IAC5C,OAAO,CAAwB;IAC/B,YAAY,CAAU;IACtB,WAAW,CAAgB;IAC3B,WAAW,CAAU;IAErC,YAAmB,IAAY,EAAE,KAAa,EAAE,IAAY,EAAE,WAAqB,EAAE,gBAAyB,EAAE,aAA2C,EACzJ,OAAwB,EAAE,UAAwB,EAAE;QACpD,IAAI,CAAC,SAAS,CAAC,uBAAuB,CAAC,IAAI,CAAC,IAAI,CAAC;YAC/C,MAAM,IAAI,iBAAiB,CAAC,SAAS,CAAC,uBAAuB,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;QAC9F,iBAAiB,CAAC,uBAAuB,CAAC,KAAK,EAAE,SAAS,CAAC,kBAAkB,CAAC,CAAC;QAC/E,iBAAiB,CAAC,uBAAuB,CAAC,IAAI,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;QAC7E,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,SAAS,CAAC,uBAAuB,CAAC,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC;YAC1G,MAAM,IAAI,iBAAiB,CAAC,SAAS,CAAC,uBAAuB,EAAE,SAAS,CAAC,oBAAoB,CAAC,CAAC;QACjG,IAAI,OAAO,CAAC,WAAW,KAAK,IAAI,IAAI,OAAO,CAAC,YAAY,KAAK,IAAI;YAC/D,MAAM,IAAI,iBAAiB,CAAC,SAAS,CAAC,6BAA6B,EAAE,SAAS,CAAC,oBAAoB,CAAC,CAAC;QAEvG,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;QACzC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,OAAO,GAAG,OAAO,IAAI,IAAI,CAAC;QAC/B,IAAI,CAAC,YAAY,GAAG,OAAO,CAAC,YAAY,KAAK,IAAI,CAAC;QAClD,IAAI,CAAC,WAAW,GAAG,OAAO,CAAC,WAAW,IAAI,IAAI,CAAC;QAC/C,IAAI,CAAC,WAAW,GAAG,OAAO,CAAC,WAAW,KAAK,IAAI,CAAC;IAClD,CAAC;CACF"}
|
|
@@ -0,0 +1,59 @@
|
|
|
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 { Injector, Type } from "@angular/core";
|
|
9
|
+
import "@noldova/context.core";
|
|
10
|
+
import { type WebViewEvent, type WebViewInfo, type WebViewNavigation, type WebViewPane } from "@noldova/desktop.protocol";
|
|
11
|
+
import type { IWebViewFindOptions } from "../interfaces/i-web-view-find-options.js";
|
|
12
|
+
import type { IWebViewFound } from "../interfaces/i-web-view-found.js";
|
|
13
|
+
import type { IWebViewGuest } from "../interfaces/i-web-view-guest.js";
|
|
14
|
+
import type { IWebViewHandle } from "../interfaces/i-web-view-handle.js";
|
|
15
|
+
import type { IWebViewLayer } from "../interfaces/i-web-view-layer.js";
|
|
16
|
+
import type { WebViewService } from "../services/web-view.service.js";
|
|
17
|
+
import type { Tab } from "./layout/tab.js";
|
|
18
|
+
export declare class WebViewHandle implements IWebViewHandle {
|
|
19
|
+
private readonly host;
|
|
20
|
+
private readonly listeners;
|
|
21
|
+
private isClosedValue;
|
|
22
|
+
readonly id: string;
|
|
23
|
+
readonly moduleId: string;
|
|
24
|
+
readonly pane: WebViewPane;
|
|
25
|
+
readonly profileKey: string;
|
|
26
|
+
readonly tab: Tab;
|
|
27
|
+
readonly injector: Injector;
|
|
28
|
+
readonly frame: HTMLElement;
|
|
29
|
+
readonly guest: IWebViewGuest;
|
|
30
|
+
layer: IWebViewLayer<unknown> | null;
|
|
31
|
+
isWanted: boolean;
|
|
32
|
+
isShown: boolean;
|
|
33
|
+
agentInputs: number;
|
|
34
|
+
keptFocus: HTMLElement | null;
|
|
35
|
+
isFocusHeld: boolean;
|
|
36
|
+
constructor(info: WebViewInfo, tab: Tab, injector: Injector, host: WebViewService, frame: HTMLElement, guest: IWebViewGuest);
|
|
37
|
+
get isClosed(): boolean;
|
|
38
|
+
mount(host: HTMLElement): void;
|
|
39
|
+
show(): void;
|
|
40
|
+
hide(): void;
|
|
41
|
+
openLayerAsync<T>(load: () => Promise<Type<T>>): Promise<IWebViewLayer<T>>;
|
|
42
|
+
navigateAsync(url: string): Promise<WebViewNavigation>;
|
|
43
|
+
goBackAsync(): Promise<WebViewNavigation>;
|
|
44
|
+
goForwardAsync(): Promise<WebViewNavigation>;
|
|
45
|
+
reloadAsync(): Promise<WebViewNavigation>;
|
|
46
|
+
stopAsync(): Promise<WebViewNavigation>;
|
|
47
|
+
getZoomAsync(): Promise<number>;
|
|
48
|
+
setZoomAsync(factor: number): Promise<number>;
|
|
49
|
+
zoomInAsync(): Promise<number>;
|
|
50
|
+
zoomOutAsync(): Promise<number>;
|
|
51
|
+
findAsync(text: string, options?: IWebViewFindOptions): Promise<IWebViewFound>;
|
|
52
|
+
findNextAsync(): Promise<IWebViewFound>;
|
|
53
|
+
findPreviousAsync(): Promise<IWebViewFound>;
|
|
54
|
+
endFind(): void;
|
|
55
|
+
subscribe(listener: (event: WebViewEvent) => void): () => void;
|
|
56
|
+
close(): void;
|
|
57
|
+
receive(event: WebViewEvent): void;
|
|
58
|
+
end(): boolean;
|
|
59
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
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 "@noldova/context.core";
|
|
9
|
+
import { ArgumentException } from "@noldova/context.exceptions";
|
|
10
|
+
import { WebViewAction } from "@noldova/desktop.protocol";
|
|
11
|
+
import { Resources } from "../../resources.js";
|
|
12
|
+
export class WebViewHandle {
|
|
13
|
+
host;
|
|
14
|
+
listeners = new Set();
|
|
15
|
+
isClosedValue = false;
|
|
16
|
+
id;
|
|
17
|
+
moduleId;
|
|
18
|
+
pane;
|
|
19
|
+
profileKey;
|
|
20
|
+
tab;
|
|
21
|
+
injector;
|
|
22
|
+
frame;
|
|
23
|
+
guest;
|
|
24
|
+
layer = null;
|
|
25
|
+
isWanted = false;
|
|
26
|
+
isShown = false;
|
|
27
|
+
agentInputs = 0;
|
|
28
|
+
keptFocus = null;
|
|
29
|
+
isFocusHeld = false;
|
|
30
|
+
constructor(info, tab, injector, host, frame, guest) {
|
|
31
|
+
this.id = info.id;
|
|
32
|
+
this.moduleId = info.module;
|
|
33
|
+
this.pane = info.pane;
|
|
34
|
+
this.profileKey = info.profileKey;
|
|
35
|
+
this.tab = tab;
|
|
36
|
+
this.injector = injector;
|
|
37
|
+
this.host = host;
|
|
38
|
+
this.frame = frame;
|
|
39
|
+
this.guest = guest;
|
|
40
|
+
}
|
|
41
|
+
get isClosed() {
|
|
42
|
+
return this.isClosedValue;
|
|
43
|
+
}
|
|
44
|
+
mount(host) {
|
|
45
|
+
if (!this.isClosedValue)
|
|
46
|
+
this.host.mount(this, host);
|
|
47
|
+
}
|
|
48
|
+
show() {
|
|
49
|
+
if (!this.isClosedValue)
|
|
50
|
+
this.host.show(this);
|
|
51
|
+
}
|
|
52
|
+
hide() {
|
|
53
|
+
if (!this.isClosedValue)
|
|
54
|
+
this.host.hide(this);
|
|
55
|
+
}
|
|
56
|
+
openLayerAsync(load) {
|
|
57
|
+
return this.host.openLayerAsync(this, load);
|
|
58
|
+
}
|
|
59
|
+
navigateAsync(url) {
|
|
60
|
+
return this.host.navigateAsync(this, url);
|
|
61
|
+
}
|
|
62
|
+
goBackAsync() {
|
|
63
|
+
return this.host.actAsync(this, WebViewAction.Back);
|
|
64
|
+
}
|
|
65
|
+
goForwardAsync() {
|
|
66
|
+
return this.host.actAsync(this, WebViewAction.Forward);
|
|
67
|
+
}
|
|
68
|
+
reloadAsync() {
|
|
69
|
+
return this.host.actAsync(this, WebViewAction.Reload);
|
|
70
|
+
}
|
|
71
|
+
stopAsync() {
|
|
72
|
+
return this.host.actAsync(this, WebViewAction.Stop);
|
|
73
|
+
}
|
|
74
|
+
getZoomAsync() {
|
|
75
|
+
return this.host.zoomAsync(this, null);
|
|
76
|
+
}
|
|
77
|
+
async setZoomAsync(factor) {
|
|
78
|
+
if (!Number.isFinite(factor) || factor <= 0)
|
|
79
|
+
throw new ArgumentException(Resources.webViewZoomInvalid, Resources.factorParameterName);
|
|
80
|
+
return await this.host.zoomAsync(this, factor);
|
|
81
|
+
}
|
|
82
|
+
zoomInAsync() {
|
|
83
|
+
return this.host.zoomAsync(this, Resources.webViewZoomIn);
|
|
84
|
+
}
|
|
85
|
+
zoomOutAsync() {
|
|
86
|
+
return this.host.zoomAsync(this, Resources.webViewZoomOut);
|
|
87
|
+
}
|
|
88
|
+
findAsync(text, options = {}) {
|
|
89
|
+
return this.host.findAsync(this, { [Resources.webViewTextField]: text, [Resources.webViewMatchCaseField]: options.matchCase ?? false });
|
|
90
|
+
}
|
|
91
|
+
findNextAsync() {
|
|
92
|
+
return this.host.findAsync(this, Resources.webViewFindNext);
|
|
93
|
+
}
|
|
94
|
+
findPreviousAsync() {
|
|
95
|
+
return this.host.findAsync(this, Resources.webViewFindPrevious);
|
|
96
|
+
}
|
|
97
|
+
endFind() {
|
|
98
|
+
this.host.endFind(this);
|
|
99
|
+
}
|
|
100
|
+
subscribe(listener) {
|
|
101
|
+
this.listeners.add(listener);
|
|
102
|
+
return () => {
|
|
103
|
+
this.listeners.delete(listener);
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
close() {
|
|
107
|
+
this.host.close(this);
|
|
108
|
+
}
|
|
109
|
+
receive(event) {
|
|
110
|
+
for (const listener of [...this.listeners])
|
|
111
|
+
listener(event);
|
|
112
|
+
}
|
|
113
|
+
end() {
|
|
114
|
+
if (this.isClosedValue)
|
|
115
|
+
return false;
|
|
116
|
+
this.isClosedValue = true;
|
|
117
|
+
this.listeners.clear();
|
|
118
|
+
return true;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
//# sourceMappingURL=web-view-handle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"web-view-handle.js","sourceRoot":"","sources":["../../../../../src/noldova.desktop.window/src/app/models/web-view-handle.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,uBAAuB,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,aAAa,EAAiF,MAAM,2BAA2B,CAAC;AASzI,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,MAAM,OAAO,aAAa;IACP,IAAI,CAAiB;IACrB,SAAS,GAAuC,IAAI,GAAG,EAAE,CAAC;IACnE,aAAa,GAAY,KAAK,CAAC;IA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YACpB,OAAO,KAAK,CAAC;QACf,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;QAC1B,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC;QACvB,OAAO,IAAI,CAAC;IACd,CAAC;CACF"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { type ApplicationRef, type ComponentRef, type Injector, type Type } from "@angular/core";
|
|
9
|
+
import "@noldova/context.core";
|
|
10
|
+
import type { IWebViewLayer } from "../interfaces/i-web-view-layer.js";
|
|
11
|
+
export declare class WebViewLayer<T> implements IWebViewLayer<T> {
|
|
12
|
+
private readonly settlers;
|
|
13
|
+
private readonly host;
|
|
14
|
+
private readonly ending;
|
|
15
|
+
private isClosed;
|
|
16
|
+
readonly componentRef: ComponentRef<T>;
|
|
17
|
+
readonly closed: Promise<void>;
|
|
18
|
+
constructor(frame: HTMLElement, component: Type<T>, injector: Injector, application: ApplicationRef, ending: () => void);
|
|
19
|
+
close(): void;
|
|
20
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 { createComponent } from "@angular/core";
|
|
9
|
+
import "@noldova/context.core";
|
|
10
|
+
import { Resources } from "../../resources.js";
|
|
11
|
+
export class WebViewLayer {
|
|
12
|
+
settlers = [];
|
|
13
|
+
host;
|
|
14
|
+
ending;
|
|
15
|
+
isClosed = false;
|
|
16
|
+
componentRef;
|
|
17
|
+
closed = new Promise(resolve => this.settlers.push(resolve));
|
|
18
|
+
constructor(frame, component, injector, application, ending) {
|
|
19
|
+
this.ending = ending;
|
|
20
|
+
this.host = frame.ownerDocument.createElement(Resources.divElement);
|
|
21
|
+
this.host.className = Resources.webViewLayerClass;
|
|
22
|
+
for (const [name, value] of Object.entries(Resources.webViewLayerStyle))
|
|
23
|
+
this.host.style.setProperty(name, value);
|
|
24
|
+
frame.append(this.host);
|
|
25
|
+
try {
|
|
26
|
+
this.componentRef = createComponent(component, { environmentInjector: application.injector, elementInjector: injector, hostElement: this.host });
|
|
27
|
+
}
|
|
28
|
+
catch (error) {
|
|
29
|
+
this.host.remove();
|
|
30
|
+
throw error;
|
|
31
|
+
}
|
|
32
|
+
application.attachView(this.componentRef.hostView);
|
|
33
|
+
}
|
|
34
|
+
close() {
|
|
35
|
+
if (this.isClosed)
|
|
36
|
+
return;
|
|
37
|
+
this.isClosed = true;
|
|
38
|
+
this.componentRef.destroy();
|
|
39
|
+
this.host.remove();
|
|
40
|
+
this.ending();
|
|
41
|
+
for (const settle of this.settlers)
|
|
42
|
+
settle();
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=web-view-layer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"web-view-layer.js","sourceRoot":"","sources":["../../../../../src/noldova.desktop.window/src/app/models/web-view-layer.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAoE,eAAe,EAAE,MAAM,eAAe,CAAC;AAClH,OAAO,uBAAuB,CAAC;AAG/B,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,MAAM,OAAO,YAAY;IACN,QAAQ,GAAmB,EAAE,CAAC;IAC9B,IAAI,CAAc;IAClB,MAAM,CAAa;IAC5B,QAAQ,GAAY,KAAK,CAAC;IAElB,YAAY,CAAkB;IAC9B,MAAM,GAAkB,IAAI,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,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