@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
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Noldova
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,81 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Window
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
**Scope:** The `@noldova/desktop.window` package, `src/noldova.desktop.window`: Noldova Desktop's window, the Angular app that shows the modules' window parts, and what a module's window part builds against, under the [window's rules](../../documents/WINDOW.md).
|
|
4
|
+
|
|
5
|
+
## 1. Purpose
|
|
6
|
+
|
|
7
|
+
The package is the window's interface in Angular: the workspace, the mechanisms modules contribute to, such as views, documents, commands, menus, settings and notifications, and the host of the modules' window parts.
|
|
8
|
+
It runs in the app's sandboxed renderer and reaches the runtime only through the main process's preload bridge.
|
|
9
|
+
It takes its parts from `@noldova/ui.components.angular` and its foundation from context's core, exceptions and JSON packages.
|
|
10
|
+
|
|
11
|
+
## 2. Install
|
|
12
|
+
|
|
13
|
+
The package ships its code compiled by the Angular compiler, and takes Angular, context, the kit and `@noldova/desktop.protocol` as peers, so an app holds one copy of each.
|
|
14
|
+
Whatever installs it also names each Angular package it peers on, `@angular/cdk`, `@angular/common`, `@angular/core` and `@angular/platform-browser`, at the exact version it names, as [MODULES.md](../../documents/MODULES.md#modules-from-packages) says.
|
|
15
|
+
|
|
16
|
+
- **An app** names it in its window app's `package.json`, the folder under `src/` whose name ends in `.window.app`, at the version of its other Noldova Desktop packages, with the kit at one exact version inside the package's peer range, as [BUILD.md](../../documents/BUILD.md#the-build-package) says.
|
|
17
|
+
- **A module's window part** names it, with Angular and the kit, as an optional peer of the window part's own package, as [MODULES.md](../../documents/MODULES.md#modules-from-packages) says.
|
|
18
|
+
|
|
19
|
+
## 3. Entries
|
|
20
|
+
|
|
21
|
+
| Entry | What it holds | Who imports it |
|
|
22
|
+
|---|---|---|
|
|
23
|
+
| `@noldova/desktop.window` | The window-part contract: `IWindowPart`, `IWindowPartContext` and what a part registers through it, such as `ViewContribution`, `DocumentContribution`, `CommandContribution` and `SettingsRow`. | A module's window part. |
|
|
24
|
+
| `@noldova/desktop.window/build` | `WindowApplication`, which starts the window, and `IWindowInputs` and `WindowPartSource`, the inputs the app's build generates for it. | The window app's entry, through the source the build generates. |
|
|
25
|
+
| `@noldova/desktop.window/testing` | `FakeWindowPartContext`, with `FakeWindowWebViews` and `FakeWindowSecrets`, the fakes of what the window hands a window part. | A module's window-part tests. |
|
|
26
|
+
|
|
27
|
+
The testing entry is the only way to the fakes, so an app's bundle never takes them.
|
|
28
|
+
|
|
29
|
+
## 4. Use in an app
|
|
30
|
+
|
|
31
|
+
The window app's entry, its `src/main.ts`, starts the window once with what the app's build generates:
|
|
32
|
+
|
|
33
|
+
```ts
|
|
34
|
+
import { WindowApplication } from "@noldova/desktop.window/build";
|
|
35
|
+
|
|
36
|
+
import { gallery } from "../../../_build/generated/gallery";
|
|
37
|
+
import { productAbout, productName } from "../../../_build/generated/product";
|
|
38
|
+
import { moduleMenus, windowPartSources } from "../../../_build/generated/window-parts";
|
|
39
|
+
|
|
40
|
+
await WindowApplication.startAsync({ productName, about: productAbout, windowParts: windowPartSources, menus: moduleMenus, gallery });
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
`startAsync` rejects an empty or blank product name before it names the page.
|
|
44
|
+
|
|
45
|
+
## 5. Use in a window part
|
|
46
|
+
|
|
47
|
+
A module's package exports its window part at `<package name>/window` as `windowPart`, an `IWindowPart`, which the window activates with the module's `IWindowPartContext`:
|
|
48
|
+
|
|
49
|
+
```ts
|
|
50
|
+
import { DockSide, type IWindowPart, type IWindowPartContext, ViewContribution } from "@noldova/desktop.window";
|
|
51
|
+
|
|
52
|
+
import { NotesPanelComponent } from "./notes-panel.component.js";
|
|
53
|
+
|
|
54
|
+
class NotesWindowPart implements IWindowPart {
|
|
55
|
+
public readonly moduleId: string = "notes";
|
|
56
|
+
|
|
57
|
+
public activateAsync(context: IWindowPartContext): Promise<void> {
|
|
58
|
+
context.registerView(new ViewContribution("notes.panel", "Notes", "note", DockSide.Left, true, () => Promise.resolve(NotesPanelComponent)));
|
|
59
|
+
return Promise.resolve();
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
public reconnectAsync(): Promise<boolean> {
|
|
63
|
+
return Promise.resolve(true);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
public deactivateAsync(): Promise<void> {
|
|
67
|
+
return Promise.resolve();
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export const windowPart: IWindowPart = new NotesWindowPart();
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
A window part's tests take `FakeWindowPartContext` from `@noldova/desktop.window/testing`, as [MODULES.md](../../documents/MODULES.md#testing-a-module) says.
|
|
75
|
+
|
|
76
|
+
## 6. Documents
|
|
77
|
+
|
|
78
|
+
- [WINDOW.md](../../documents/WINDOW.md): the window, its boundary with the main process, the workspace, keys, menus, search, Settings, notifications and closing.
|
|
79
|
+
- [MODULES.md](../../documents/MODULES.md): what a module declares and contributes, and the versions its window part names.
|
|
80
|
+
- [WEB-VIEWS.md](../../documents/WEB-VIEWS.md): web content in a module's pane.
|
|
81
|
+
- [BUILD.md](../../documents/BUILD.md): the window app, and how an app's build starts the window.
|
package/api/build.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
export type { IProductAbout } from "../app/interfaces/i-product-about.js";
|
|
9
|
+
export type { IProductLogo } from "../app/interfaces/i-product-logo.js";
|
|
10
|
+
export type { ISettingsPageDeclaration } from "../app/interfaces/i-settings-page-declaration.js";
|
|
11
|
+
export type { IWindowInputs } from "../app/interfaces/i-window-inputs.js";
|
|
12
|
+
export { WindowApplication } from "../app/models/window-application.js";
|
|
13
|
+
export { WindowPartSource } from "../app/models/window-part-source.js";
|
package/api/build.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
export { WindowApplication } from "../app/models/window-application.js";
|
|
9
|
+
export { WindowPartSource } from "../app/models/window-part-source.js";
|
|
10
|
+
//# sourceMappingURL=build.js.map
|
package/api/build.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build.js","sourceRoot":"","sources":["../../../../src/noldova.desktop.window/src/api/build.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC"}
|
package/api/index.d.ts
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
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
|
+
export { LinkGesture } from "@noldova/ui.components.angular";
|
|
9
|
+
export { KeepsCtrlKeysDirective } from "../app/directives/keeps-ctrl-keys.directive.js";
|
|
10
|
+
export { ContentPadding } from "../app/enums/content-padding.js";
|
|
11
|
+
export { DockSide } from "../app/enums/dock-side.js";
|
|
12
|
+
export { DocumentTone } from "../app/enums/document-tone.js";
|
|
13
|
+
export { FileSaveOutcome } from "../app/enums/file-save-outcome.js";
|
|
14
|
+
export { LinkPlace } from "../app/enums/link-place.js";
|
|
15
|
+
export { StatusBarItemTone } from "../app/enums/status-bar-item-tone.js";
|
|
16
|
+
export { StatusBarSide } from "../app/enums/status-bar-side.js";
|
|
17
|
+
export { TopBarSide } from "../app/enums/top-bar-side.js";
|
|
18
|
+
export { WindowException } from "../app/exceptions/window.exception.js";
|
|
19
|
+
export type { ICommandKey } from "../app/interfaces/i-command-key.js";
|
|
20
|
+
export type { IDocumentContributionOptions } from "../app/interfaces/i-document-contribution-options.js";
|
|
21
|
+
export type { IDocumentMarker } from "../app/interfaces/i-document-marker.js";
|
|
22
|
+
export type { IDocumentOptions } from "../app/interfaces/i-document-options.js";
|
|
23
|
+
export type { IDocumentStatus } from "../app/interfaces/i-document-status.js";
|
|
24
|
+
export type { IDocumentUpdate } from "../app/interfaces/i-document-update.js";
|
|
25
|
+
export type { IFileChoiceOptions } from "../app/interfaces/i-file-choice-options.js";
|
|
26
|
+
export type { IFilePathChoiceOptions } from "../app/interfaces/i-file-path-choice-options.js";
|
|
27
|
+
export type { IFileGrantOptions } from "../app/interfaces/i-file-grant-options.js";
|
|
28
|
+
export type { IInAppBrowser } from "../app/interfaces/i-in-app-browser.js";
|
|
29
|
+
export type { ILinkOpenOptions } from "../app/interfaces/i-link-open-options.js";
|
|
30
|
+
export type { ISelectionSource } from "../app/interfaces/i-selection-source.js";
|
|
31
|
+
export type { IStatusBarItemOptions } from "../app/interfaces/i-status-bar-item-options.js";
|
|
32
|
+
export type { ITopBarActionOptions } from "../app/interfaces/i-top-bar-action-options.js";
|
|
33
|
+
export type { IViewDialogOptions } from "../app/interfaces/i-view-dialog-options.js";
|
|
34
|
+
export type { IViewInstanceOptions } from "../app/interfaces/i-view-instance-options.js";
|
|
35
|
+
export type { IViewOptions } from "../app/interfaces/i-view-options.js";
|
|
36
|
+
export type { IViewUpdate } from "../app/interfaces/i-view-update.js";
|
|
37
|
+
export type { IWebViewFindOptions } from "../app/interfaces/i-web-view-find-options.js";
|
|
38
|
+
export type { IWebViewFound } from "../app/interfaces/i-web-view-found.js";
|
|
39
|
+
export type { IWebViewHandle } from "../app/interfaces/i-web-view-handle.js";
|
|
40
|
+
export type { IWebViewLayer } from "../app/interfaces/i-web-view-layer.js";
|
|
41
|
+
export type { IWindowPalette } from "../app/interfaces/i-window-palette.js";
|
|
42
|
+
export type { IWindowPart } from "../app/interfaces/i-window-part.js";
|
|
43
|
+
export type { IWindowPartContext } from "../app/interfaces/i-window-part-context.js";
|
|
44
|
+
export type { IWindowSecrets } from "../app/interfaces/i-window-secrets.js";
|
|
45
|
+
export type { IWindowWebViews } from "../app/interfaces/i-window-web-views.js";
|
|
46
|
+
export { CommandContribution } from "../app/models/command-contribution.js";
|
|
47
|
+
export { ContentPaddingRef } from "../app/models/content-padding-ref.js";
|
|
48
|
+
export { IssuedFileGrant } from "../app/models/issued-file-grant.js";
|
|
49
|
+
export { IssuedFileGrants } from "../app/models/issued-file-grants.js";
|
|
50
|
+
export { NotificationHandle } from "../app/models/notification-handle.js";
|
|
51
|
+
export { DocumentContribution } from "../app/models/document-contribution.js";
|
|
52
|
+
export { PlaceholderContribution } from "../app/models/placeholder-contribution.js";
|
|
53
|
+
export { SearchAnswer } from "../app/models/search-answer.js";
|
|
54
|
+
export { SearchResult } from "../app/models/search-result.js";
|
|
55
|
+
export { SearchSourceContribution } from "../app/models/search-source-contribution.js";
|
|
56
|
+
export { TextRange } from "../app/models/text-range.js";
|
|
57
|
+
export { SettingsPageContribution } from "../app/models/settings-page-contribution.js";
|
|
58
|
+
export { SettingsRow } from "../app/models/settings/settings-row.js";
|
|
59
|
+
export { StatusBarItem } from "../app/models/status-bar-item.js";
|
|
60
|
+
export { StatusBarItemContribution } from "../app/models/status-bar-item-contribution.js";
|
|
61
|
+
export { StatusBarItemState } from "../app/models/status-bar-item-state.js";
|
|
62
|
+
export { MenuRowContribution } from "../app/models/menu-row-contribution.js";
|
|
63
|
+
export { TopBarAction } from "../app/models/top-bar-action.js";
|
|
64
|
+
export { TopBarActionContribution } from "../app/models/top-bar-action-contribution.js";
|
|
65
|
+
export { TopBarActionState } from "../app/models/top-bar-action-state.js";
|
|
66
|
+
export { ViewBadge } from "../app/models/view-badge.js";
|
|
67
|
+
export { ViewContribution } from "../app/models/view-contribution.js";
|
|
68
|
+
export { WindowPartTokens } from "../app/models/window-part-tokens.js";
|
package/api/index.js
ADDED
|
@@ -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
|
+
export { LinkGesture } from "@noldova/ui.components.angular";
|
|
9
|
+
export { KeepsCtrlKeysDirective } from "../app/directives/keeps-ctrl-keys.directive.js";
|
|
10
|
+
export { ContentPadding } from "../app/enums/content-padding.js";
|
|
11
|
+
export { DockSide } from "../app/enums/dock-side.js";
|
|
12
|
+
export { DocumentTone } from "../app/enums/document-tone.js";
|
|
13
|
+
export { FileSaveOutcome } from "../app/enums/file-save-outcome.js";
|
|
14
|
+
export { LinkPlace } from "../app/enums/link-place.js";
|
|
15
|
+
export { StatusBarItemTone } from "../app/enums/status-bar-item-tone.js";
|
|
16
|
+
export { StatusBarSide } from "../app/enums/status-bar-side.js";
|
|
17
|
+
export { TopBarSide } from "../app/enums/top-bar-side.js";
|
|
18
|
+
export { WindowException } from "../app/exceptions/window.exception.js";
|
|
19
|
+
export { CommandContribution } from "../app/models/command-contribution.js";
|
|
20
|
+
export { ContentPaddingRef } from "../app/models/content-padding-ref.js";
|
|
21
|
+
export { IssuedFileGrant } from "../app/models/issued-file-grant.js";
|
|
22
|
+
export { IssuedFileGrants } from "../app/models/issued-file-grants.js";
|
|
23
|
+
export { NotificationHandle } from "../app/models/notification-handle.js";
|
|
24
|
+
export { DocumentContribution } from "../app/models/document-contribution.js";
|
|
25
|
+
export { PlaceholderContribution } from "../app/models/placeholder-contribution.js";
|
|
26
|
+
export { SearchAnswer } from "../app/models/search-answer.js";
|
|
27
|
+
export { SearchResult } from "../app/models/search-result.js";
|
|
28
|
+
export { SearchSourceContribution } from "../app/models/search-source-contribution.js";
|
|
29
|
+
export { TextRange } from "../app/models/text-range.js";
|
|
30
|
+
export { SettingsPageContribution } from "../app/models/settings-page-contribution.js";
|
|
31
|
+
export { SettingsRow } from "../app/models/settings/settings-row.js";
|
|
32
|
+
export { StatusBarItem } from "../app/models/status-bar-item.js";
|
|
33
|
+
export { StatusBarItemContribution } from "../app/models/status-bar-item-contribution.js";
|
|
34
|
+
export { StatusBarItemState } from "../app/models/status-bar-item-state.js";
|
|
35
|
+
export { MenuRowContribution } from "../app/models/menu-row-contribution.js";
|
|
36
|
+
export { TopBarAction } from "../app/models/top-bar-action.js";
|
|
37
|
+
export { TopBarActionContribution } from "../app/models/top-bar-action-contribution.js";
|
|
38
|
+
export { TopBarActionState } from "../app/models/top-bar-action-state.js";
|
|
39
|
+
export { ViewBadge } from "../app/models/view-badge.js";
|
|
40
|
+
export { ViewContribution } from "../app/models/view-contribution.js";
|
|
41
|
+
export { WindowPartTokens } from "../app/models/window-part-tokens.js";
|
|
42
|
+
//# sourceMappingURL=index.js.map
|
package/api/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/noldova.desktop.window/src/api/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,gDAAgD,CAAC;AACxF,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AA4BxE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAC1E,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AACpF,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EAAE,wBAAwB,EAAE,MAAM,6CAA6C,CAAC;AACvF,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,wBAAwB,EAAE,MAAM,6CAA6C,CAAC;AACvF,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,yBAAyB,EAAE,MAAM,+CAA+C,CAAC;AAC1F,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC/D,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AACxF,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC"}
|
package/api/testing.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
export { FakeWindowPartContext } from "../testing/models/fake-window-part-context.js";
|
|
9
|
+
export { FakeWindowSecrets } from "../testing/models/fake-window-secrets.js";
|
|
10
|
+
export { FakeWindowWebViews } from "../testing/models/fake-window-web-views.js";
|
package/api/testing.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
export { FakeWindowPartContext } from "../testing/models/fake-window-part-context.js";
|
|
9
|
+
export { FakeWindowSecrets } from "../testing/models/fake-window-secrets.js";
|
|
10
|
+
export { FakeWindowWebViews } from "../testing/models/fake-window-web-views.js";
|
|
11
|
+
//# sourceMappingURL=testing.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"testing.js","sourceRoot":"","sources":["../../../../src/noldova.desktop.window/src/api/testing.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AACtF,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAC7E,OAAO,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { type Signal, type WritableSignal } from "@angular/core";
|
|
9
|
+
import "@noldova/context.core";
|
|
10
|
+
import { ButtonVariant } from "@noldova/ui.components.angular";
|
|
11
|
+
import { UpdateStateKind } from "../../enums/update-state-kind.js";
|
|
12
|
+
import type { IProductAbout } from "../../interfaces/i-product-about.js";
|
|
13
|
+
import type { UpdateState } from "../../models/update-state.js";
|
|
14
|
+
import { Resources } from "../../../resources.js";
|
|
15
|
+
import * as i0 from "@angular/core";
|
|
16
|
+
export declare class AboutComponent {
|
|
17
|
+
private readonly updates;
|
|
18
|
+
private readonly time;
|
|
19
|
+
private readonly dayAndTime;
|
|
20
|
+
private readonly statusElement;
|
|
21
|
+
private readonly document;
|
|
22
|
+
private readonly appearance;
|
|
23
|
+
private shownKind;
|
|
24
|
+
protected readonly resources: typeof Resources;
|
|
25
|
+
protected readonly productName: string;
|
|
26
|
+
protected readonly kinds: typeof UpdateStateKind;
|
|
27
|
+
protected readonly secondary: ButtonVariant;
|
|
28
|
+
protected readonly version: WritableSignal<string>;
|
|
29
|
+
protected readonly platform: string;
|
|
30
|
+
protected readonly about: IProductAbout;
|
|
31
|
+
protected readonly logo: Signal<string | null>;
|
|
32
|
+
protected readonly websiteLabel: string | null;
|
|
33
|
+
protected readonly state: Signal<UpdateState>;
|
|
34
|
+
protected readonly status: Signal<string>;
|
|
35
|
+
protected readonly percent: Signal<string | null>;
|
|
36
|
+
protected readonly details: Signal<readonly string[]>;
|
|
37
|
+
protected readonly showsMoveHint: Signal<boolean>;
|
|
38
|
+
protected readonly progressLabel: Signal<string>;
|
|
39
|
+
protected readonly share: Signal<number | null>;
|
|
40
|
+
constructor();
|
|
41
|
+
protected check(): void;
|
|
42
|
+
protected restart(): void;
|
|
43
|
+
private static hostOf;
|
|
44
|
+
private statusOf;
|
|
45
|
+
private detailsOf;
|
|
46
|
+
private formatChecked;
|
|
47
|
+
private keepFocus;
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AboutComponent, never>;
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AboutComponent, "nol-about", never, {}, {}, never, never, true, never>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { Component, DOCUMENT, ErrorHandler, PendingTasks, computed, effect, inject, signal, untracked, viewChild } from "@angular/core";
|
|
9
|
+
import "@noldova/context.core";
|
|
10
|
+
import { AppearanceService, ButtonComponent, ButtonVariant, ProgressComponent, ThemeMode } from "@noldova/ui.components.angular";
|
|
11
|
+
import { UpdateAction } from "../../enums/update-action.js";
|
|
12
|
+
import { UpdateStateKind } from "../../enums/update-state-kind.js";
|
|
13
|
+
import { BuildTokens } from "../../models/build-tokens.js";
|
|
14
|
+
import { PreloadBridgeService } from "../../services/preload-bridge.service.js";
|
|
15
|
+
import { UpdateService } from "../../services/update.service.js";
|
|
16
|
+
import { ProductName } from "../../models/product-name.js";
|
|
17
|
+
import { Resources } from "../../../resources.js";
|
|
18
|
+
import * as i0 from "@angular/core";
|
|
19
|
+
export class AboutComponent {
|
|
20
|
+
updates = inject(UpdateService);
|
|
21
|
+
time = new Intl.DateTimeFormat(undefined, Resources.timeFormat);
|
|
22
|
+
dayAndTime = new Intl.DateTimeFormat(undefined, Resources.dayAndTimeFormat);
|
|
23
|
+
statusElement = viewChild.required("statusLine", /* @ts-ignore */
|
|
24
|
+
...(ngDevMode ? [{ debugName: "statusElement" }] : /* istanbul ignore next */ []));
|
|
25
|
+
document = inject(DOCUMENT);
|
|
26
|
+
appearance = inject(AppearanceService);
|
|
27
|
+
shownKind = null;
|
|
28
|
+
resources = Resources;
|
|
29
|
+
productName = ProductName.current;
|
|
30
|
+
kinds = UpdateStateKind;
|
|
31
|
+
secondary = ButtonVariant.Secondary;
|
|
32
|
+
version = signal(ProductName.current, /* @ts-ignore */
|
|
33
|
+
...(ngDevMode ? [{ debugName: "version" }] : /* istanbul ignore next */ []));
|
|
34
|
+
platform;
|
|
35
|
+
about = inject(BuildTokens.about);
|
|
36
|
+
logo = computed(() => {
|
|
37
|
+
const logo = this.about.logo;
|
|
38
|
+
return Object.isNull(logo) ? null : this.appearance.mode() === ThemeMode.Dark ? logo.dark : logo.light;
|
|
39
|
+
}, /* @ts-ignore */
|
|
40
|
+
...(ngDevMode ? [{ debugName: "logo" }] : /* istanbul ignore next */ []));
|
|
41
|
+
websiteLabel = Object.isNull(this.about.website) ? null : AboutComponent.hostOf(this.about.website);
|
|
42
|
+
state = this.updates.state;
|
|
43
|
+
status = computed(() => this.statusOf(this.state()), /* @ts-ignore */
|
|
44
|
+
...(ngDevMode ? [{ debugName: "status" }] : /* istanbul ignore next */ []));
|
|
45
|
+
percent = computed(() => {
|
|
46
|
+
const state = this.state();
|
|
47
|
+
return state.kind !== UpdateStateKind.Downloading || Object.isNull(state.progress) ? null : Resources.formatDownloadPercent(state.progress);
|
|
48
|
+
}, /* @ts-ignore */
|
|
49
|
+
...(ngDevMode ? [{ debugName: "percent" }] : /* istanbul ignore next */ []));
|
|
50
|
+
details = computed(() => this.detailsOf(this.state()), /* @ts-ignore */
|
|
51
|
+
...(ngDevMode ? [{ debugName: "details" }] : /* istanbul ignore next */ []));
|
|
52
|
+
showsMoveHint = computed(() => this.state().kind === UpdateStateKind.Failed && this.state().mustMove, /* @ts-ignore */
|
|
53
|
+
...(ngDevMode ? [{ debugName: "showsMoveHint" }] : /* istanbul ignore next */ []));
|
|
54
|
+
progressLabel = computed(() => Resources.formatDownloadingVersion(ProductName.current, this.state().version), /* @ts-ignore */
|
|
55
|
+
...(ngDevMode ? [{ debugName: "progressLabel" }] : /* istanbul ignore next */ []));
|
|
56
|
+
share = computed(() => {
|
|
57
|
+
const progress = this.state().progress;
|
|
58
|
+
return Object.isNull(progress) ? null : progress / Resources.maximumProgress;
|
|
59
|
+
}, /* @ts-ignore */
|
|
60
|
+
...(ngDevMode ? [{ debugName: "share" }] : /* istanbul ignore next */ []));
|
|
61
|
+
constructor() {
|
|
62
|
+
const bridge = inject(PreloadBridgeService);
|
|
63
|
+
const errors = inject(ErrorHandler);
|
|
64
|
+
this.platform = Resources.formatPlatform(bridge.platform, bridge.processor);
|
|
65
|
+
void inject(PendingTasks).run(() => bridge.readBuildAsync().then(t => this.version.set(Resources.formatProductVersion(ProductName.current, t.productVersion)), (error) => errors.handleError(error)));
|
|
66
|
+
effect(() => {
|
|
67
|
+
const kind = this.state().kind;
|
|
68
|
+
if (kind !== this.shownKind)
|
|
69
|
+
untracked(() => this.keepFocus());
|
|
70
|
+
this.shownKind = kind;
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
check() {
|
|
74
|
+
this.updates.act(UpdateAction.Check);
|
|
75
|
+
}
|
|
76
|
+
restart() {
|
|
77
|
+
this.updates.act(UpdateAction.Restart);
|
|
78
|
+
}
|
|
79
|
+
static hostOf(address) {
|
|
80
|
+
return URL.canParse(address) ? new URL(address).host : address;
|
|
81
|
+
}
|
|
82
|
+
statusOf(state) {
|
|
83
|
+
switch (state.kind) {
|
|
84
|
+
case UpdateStateKind.Off:
|
|
85
|
+
return Resources.updatesOff;
|
|
86
|
+
case UpdateStateKind.UpToDate:
|
|
87
|
+
return Resources.formatUpToDate(ProductName.current);
|
|
88
|
+
case UpdateStateKind.Checking:
|
|
89
|
+
return Resources.checkingForUpdates;
|
|
90
|
+
case UpdateStateKind.Available:
|
|
91
|
+
return Resources.formatMoveToApplications(ProductName.current);
|
|
92
|
+
case UpdateStateKind.Downloading:
|
|
93
|
+
return Resources.formatDownloadingLine(ProductName.current, state.version);
|
|
94
|
+
case UpdateStateKind.Ready:
|
|
95
|
+
return Resources.formatUpdateReady(ProductName.current, state.version);
|
|
96
|
+
case UpdateStateKind.Failed:
|
|
97
|
+
return Resources.updateFailed;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
detailsOf(state) {
|
|
101
|
+
if (state.kind === UpdateStateKind.UpToDate && !Object.isNull(state.checkedAt))
|
|
102
|
+
return [Resources.formatLastChecked(this.formatChecked(state.checkedAt))];
|
|
103
|
+
return [UpdateStateKind.Ready, UpdateStateKind.Failed].includes(state.kind) && !Object.isNull(state.reason) ? [state.reason] : [];
|
|
104
|
+
}
|
|
105
|
+
formatChecked(checkedAt) {
|
|
106
|
+
return new Date(checkedAt).toDateString() === new Date().toDateString() ? this.time.format(checkedAt) : this.dayAndTime.format(checkedAt);
|
|
107
|
+
}
|
|
108
|
+
keepFocus() {
|
|
109
|
+
const status = this.statusElement().nativeElement;
|
|
110
|
+
const focused = this.document.activeElement;
|
|
111
|
+
if (focused instanceof HTMLButtonElement && focused.parentElement === status.parentElement)
|
|
112
|
+
status.focus();
|
|
113
|
+
}
|
|
114
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: AboutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
115
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: AboutComponent, isStandalone: true, selector: "nol-about", host: { attributes: { "role": "region" }, properties: { "attr.aria-label": "resources.formatAboutLabel(productName)" }, classAttribute: "nol-settings-group" }, viewQueries: [{ propertyName: "statusElement", first: true, predicate: ["statusLine"], descendants: true, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div class=\"nol-about-heading\">\n @if (logo(); as logo) {\n <img class=\"nol-about-logo\" [src]=\"logo\" alt=\"\" />\n }\n <h2 class=\"nol-about-title\">{{ version() }}</h2>\n</div>\n@if (about.description; as description) {\n <p class=\"nol-about-description\">{{ description }}</p>\n}\n<p class=\"nol-about-platform\">{{ platform }}</p>\n@if (about.website || about.releases) {\n <p class=\"nol-about-links\">\n @if (about.website; as website) {\n <a class=\"nol-about-link\" [href]=\"website\">{{ websiteLabel }}</a>\n }\n @if (about.releases; as releases) {\n <a class=\"nol-about-link\" [href]=\"releases\">{{ resources.releasesLink }}</a>\n }\n </p>\n}\n<div class=\"nol-about-state\">\n<div class=\"nol-about-update\">\n <p #statusLine class=\"nol-about-status\" role=\"status\" tabindex=\"-1\">\n <span>{{ status() }}@if (percent(); as percent) {<span aria-hidden=\"true\">{{ percent }}</span>}</span>\n @for (detail of details(); track $index) {\n <span class=\"nol-about-detail\">{{ detail }}</span>\n }\n @if (showsMoveHint()) {\n <span>{{ resources.formatMoveToApplications(productName) }}</span>\n }\n </p>\n @switch (state().kind) {\n @case (kinds.UpToDate) {\n <button type=\"button\" nol-button [variant]=\"secondary\" (click)=\"check()\">{{ resources.checkForUpdatesTitle }}</button>\n }\n @case (kinds.Ready) {\n <button type=\"button\" nol-button (click)=\"restart()\">{{ resources.restartToUpdateLabel }}</button>\n }\n @case (kinds.Failed) {\n <button type=\"button\" nol-button [variant]=\"secondary\" (click)=\"check()\">{{ resources.tryAgain }}</button>\n }\n }\n</div>\n@if (state().kind === kinds.Downloading) {\n <nol-progress class=\"nol-about-progress\" [label]=\"progressLabel()\" [value]=\"share()\" />\n}\n</div>\n@if (about.licenses; as licenses) {\n <h3 class=\"nol-about-licenses-title\">{{ resources.licensesTitle }}</h3>\n <p class=\"nol-about-licenses\">{{ licenses }}</p>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n}\n\n.nol-about-heading {\n display: flex;\n align-items: center;\n gap: var(--nol-space-3);\n}\n\n.nol-about-logo {\n flex: none;\n width: calc(var(--nol-space-6) + var(--nol-space-3));\n height: calc(var(--nol-space-6) + var(--nol-space-3));\n}\n\n.nol-about-title {\n margin: 0;\n color: var(--nol-setting-title);\n font-size: var(--nol-text-heading);\n font-weight: var(--nol-weight-emphasis);\n line-height: var(--nol-line-heading);\n}\n\n.nol-about-description {\n margin: var(--nol-space-3) 0 0;\n overflow-wrap: anywhere;\n}\n\n.nol-about-platform {\n margin: 0;\n color: var(--nol-text-muted);\n}\n\n.nol-about-description + .nol-about-platform {\n margin-top: var(--nol-space-1);\n}\n\n.nol-about-links {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-4);\n margin: var(--nol-space-1) 0 0;\n}\n\n.nol-about-link {\n color: var(--nol-link);\n text-decoration: underline;\n text-underline-offset: 0.15em;\n overflow-wrap: anywhere;\n}\n\n.nol-about-state {\n display: grid;\n grid-template-columns: minmax(0, max-content);\n margin-top: var(--nol-space-2);\n}\n\n.nol-about-update {\n display: flex;\n flex-wrap: wrap;\n align-items: baseline;\n gap: var(--nol-space-2);\n}\n\n.nol-about-status {\n display: flex;\n flex-direction: column;\n margin: 0;\n}\n\n.nol-about-detail {\n color: var(--nol-text-muted);\n overflow-wrap: anywhere;\n}\n\n.nol-about-progress {\n display: block;\n margin-top: var(--nol-space-1);\n}\n\n.nol-about-licenses-title {\n margin: var(--nol-space-6) 0 var(--nol-space-1);\n color: var(--nol-setting-title);\n font-size: inherit;\n font-weight: var(--nol-weight-emphasis);\n}\n\n.nol-about-licenses {\n margin: 0;\n color: var(--nol-text-muted);\n white-space: pre-line;\n overflow-wrap: anywhere;\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: ProgressComponent, selector: "nol-progress", inputs: ["label", "value"] }] });
|
|
116
|
+
}
|
|
117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: AboutComponent, decorators: [{
|
|
118
|
+
type: Component,
|
|
119
|
+
args: [{ selector: "nol-about", imports: [ButtonComponent, ProgressComponent], host: {
|
|
120
|
+
"class": "nol-settings-group",
|
|
121
|
+
"role": "region",
|
|
122
|
+
"[attr.aria-label]": "resources.formatAboutLabel(productName)"
|
|
123
|
+
}, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div class=\"nol-about-heading\">\n @if (logo(); as logo) {\n <img class=\"nol-about-logo\" [src]=\"logo\" alt=\"\" />\n }\n <h2 class=\"nol-about-title\">{{ version() }}</h2>\n</div>\n@if (about.description; as description) {\n <p class=\"nol-about-description\">{{ description }}</p>\n}\n<p class=\"nol-about-platform\">{{ platform }}</p>\n@if (about.website || about.releases) {\n <p class=\"nol-about-links\">\n @if (about.website; as website) {\n <a class=\"nol-about-link\" [href]=\"website\">{{ websiteLabel }}</a>\n }\n @if (about.releases; as releases) {\n <a class=\"nol-about-link\" [href]=\"releases\">{{ resources.releasesLink }}</a>\n }\n </p>\n}\n<div class=\"nol-about-state\">\n<div class=\"nol-about-update\">\n <p #statusLine class=\"nol-about-status\" role=\"status\" tabindex=\"-1\">\n <span>{{ status() }}@if (percent(); as percent) {<span aria-hidden=\"true\">{{ percent }}</span>}</span>\n @for (detail of details(); track $index) {\n <span class=\"nol-about-detail\">{{ detail }}</span>\n }\n @if (showsMoveHint()) {\n <span>{{ resources.formatMoveToApplications(productName) }}</span>\n }\n </p>\n @switch (state().kind) {\n @case (kinds.UpToDate) {\n <button type=\"button\" nol-button [variant]=\"secondary\" (click)=\"check()\">{{ resources.checkForUpdatesTitle }}</button>\n }\n @case (kinds.Ready) {\n <button type=\"button\" nol-button (click)=\"restart()\">{{ resources.restartToUpdateLabel }}</button>\n }\n @case (kinds.Failed) {\n <button type=\"button\" nol-button [variant]=\"secondary\" (click)=\"check()\">{{ resources.tryAgain }}</button>\n }\n }\n</div>\n@if (state().kind === kinds.Downloading) {\n <nol-progress class=\"nol-about-progress\" [label]=\"progressLabel()\" [value]=\"share()\" />\n}\n</div>\n@if (about.licenses; as licenses) {\n <h3 class=\"nol-about-licenses-title\">{{ resources.licensesTitle }}</h3>\n <p class=\"nol-about-licenses\">{{ licenses }}</p>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n}\n\n.nol-about-heading {\n display: flex;\n align-items: center;\n gap: var(--nol-space-3);\n}\n\n.nol-about-logo {\n flex: none;\n width: calc(var(--nol-space-6) + var(--nol-space-3));\n height: calc(var(--nol-space-6) + var(--nol-space-3));\n}\n\n.nol-about-title {\n margin: 0;\n color: var(--nol-setting-title);\n font-size: var(--nol-text-heading);\n font-weight: var(--nol-weight-emphasis);\n line-height: var(--nol-line-heading);\n}\n\n.nol-about-description {\n margin: var(--nol-space-3) 0 0;\n overflow-wrap: anywhere;\n}\n\n.nol-about-platform {\n margin: 0;\n color: var(--nol-text-muted);\n}\n\n.nol-about-description + .nol-about-platform {\n margin-top: var(--nol-space-1);\n}\n\n.nol-about-links {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-4);\n margin: var(--nol-space-1) 0 0;\n}\n\n.nol-about-link {\n color: var(--nol-link);\n text-decoration: underline;\n text-underline-offset: 0.15em;\n overflow-wrap: anywhere;\n}\n\n.nol-about-state {\n display: grid;\n grid-template-columns: minmax(0, max-content);\n margin-top: var(--nol-space-2);\n}\n\n.nol-about-update {\n display: flex;\n flex-wrap: wrap;\n align-items: baseline;\n gap: var(--nol-space-2);\n}\n\n.nol-about-status {\n display: flex;\n flex-direction: column;\n margin: 0;\n}\n\n.nol-about-detail {\n color: var(--nol-text-muted);\n overflow-wrap: anywhere;\n}\n\n.nol-about-progress {\n display: block;\n margin-top: var(--nol-space-1);\n}\n\n.nol-about-licenses-title {\n margin: var(--nol-space-6) 0 var(--nol-space-1);\n color: var(--nol-setting-title);\n font-size: inherit;\n font-weight: var(--nol-weight-emphasis);\n}\n\n.nol-about-licenses {\n margin: 0;\n color: var(--nol-text-muted);\n white-space: pre-line;\n overflow-wrap: anywhere;\n}\n"] }]
|
|
124
|
+
}], ctorParameters: () => [], propDecorators: { statusElement: [{ type: i0.ViewChild, args: ["statusLine", { isSignal: true }] }] } });
|
|
125
|
+
//# sourceMappingURL=about.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"about.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.desktop.window/src/app/components/about/about.component.ts","../../../../../../src/noldova.desktop.window/src/app/components/about/about.component.html"],"names":[],"mappings":"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"}
|
|
@@ -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 { type Signal } from "@angular/core";
|
|
9
|
+
import "@noldova/context.core";
|
|
10
|
+
import { OverlaySide, PanelSurface, SashOrientation, ToolbarOrientation } from "@noldova/ui.components.angular";
|
|
11
|
+
import { Resources } from "../../../resources.js";
|
|
12
|
+
import { DockSide } from "../../enums/dock-side.js";
|
|
13
|
+
import { Bounds } from "../../models/layout/bounds.js";
|
|
14
|
+
import type { Dock } from "../../models/layout/dock.js";
|
|
15
|
+
import type { LayoutNode } from "../../models/layout/layout.node.js";
|
|
16
|
+
import { DockStripIcon } from "../../models/layout/dock-strip-icon.js";
|
|
17
|
+
import type { Tab } from "../../models/layout/tab.js";
|
|
18
|
+
import { TabDropTarget } from "../../models/layout/tab-drop-target.js";
|
|
19
|
+
import type { TabGroup } from "../../models/layout/tab-group.js";
|
|
20
|
+
import { LayoutService } from "../../services/layout.service.js";
|
|
21
|
+
import { TabDragService } from "../../services/tab-drag.service.js";
|
|
22
|
+
import { TabLabelService } from "../../services/tab-label.service.js";
|
|
23
|
+
import * as i0 from "@angular/core";
|
|
24
|
+
export declare class DockComponent {
|
|
25
|
+
private readonly appearance;
|
|
26
|
+
private readonly tabFocus;
|
|
27
|
+
protected readonly resources: typeof Resources;
|
|
28
|
+
protected readonly surface: PanelSurface;
|
|
29
|
+
protected readonly layout: LayoutService;
|
|
30
|
+
protected readonly labels: TabLabelService;
|
|
31
|
+
protected readonly drag: TabDragService;
|
|
32
|
+
protected readonly dock: Signal<Dock>;
|
|
33
|
+
protected readonly bounds: Signal<Bounds>;
|
|
34
|
+
protected readonly isShown: Signal<boolean>;
|
|
35
|
+
protected readonly isCollapsed: Signal<boolean>;
|
|
36
|
+
protected readonly orientation: Signal<SashOrientation>;
|
|
37
|
+
protected readonly size: Signal<number>;
|
|
38
|
+
protected readonly minimumSize: Signal<number>;
|
|
39
|
+
protected readonly isVertical: Signal<boolean>;
|
|
40
|
+
protected readonly tooltipSide: Signal<OverlaySide>;
|
|
41
|
+
protected readonly isRail: Signal<boolean>;
|
|
42
|
+
protected readonly stripBounds: Signal<Bounds | null>;
|
|
43
|
+
protected readonly stripOrientation: Signal<ToolbarOrientation>;
|
|
44
|
+
protected readonly axis: Signal<string>;
|
|
45
|
+
protected readonly separatorOrientation: Signal<string>;
|
|
46
|
+
protected readonly sash: Signal<Bounds>;
|
|
47
|
+
readonly side: import("@angular/core").InputSignal<DockSide>;
|
|
48
|
+
protected iconsOf(root: LayoutNode): readonly (readonly DockStripIcon[])[];
|
|
49
|
+
protected encode(target: TabDropTarget): string;
|
|
50
|
+
protected isShowing(group: TabGroup, tab: Tab): boolean;
|
|
51
|
+
protected toggle(group: TabGroup, tab: Tab, event: MouseEvent): void;
|
|
52
|
+
protected pixels(rem: number): number;
|
|
53
|
+
protected resize(delta: number): void;
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DockComponent, never>;
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DockComponent, "nol-dock", never, { "side": { "alias": "side"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
56
|
+
}
|