@noldova/desktop.window 0.0.0-stage → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +80 -2
- package/api/build.d.ts +13 -0
- package/api/build.js +10 -0
- package/api/build.js.map +1 -0
- package/api/index.d.ts +68 -0
- package/api/index.js +42 -0
- package/api/index.js.map +1 -0
- package/api/testing.d.ts +10 -0
- package/api/testing.js +11 -0
- package/api/testing.js.map +1 -0
- package/app/components/about/about.component.d.ts +50 -0
- package/app/components/about/about.component.js +125 -0
- package/app/components/about/about.component.js.map +1 -0
- package/app/components/dock/dock.component.d.ts +56 -0
- package/app/components/dock/dock.component.js +117 -0
- package/app/components/dock/dock.component.js.map +1 -0
- package/app/components/docking-guides/docking-guides.component.d.ts +35 -0
- package/app/components/docking-guides/docking-guides.component.js +61 -0
- package/app/components/docking-guides/docking-guides.component.js.map +1 -0
- package/app/components/empty-window/empty-window.component.d.ts +8 -0
- package/app/components/empty-window/empty-window.component.js +22 -0
- package/app/components/empty-window/empty-window.component.js.map +1 -0
- package/app/components/field-menu/field-menu.component.d.ts +30 -0
- package/app/components/field-menu/field-menu.component.js +92 -0
- package/app/components/field-menu/field-menu.component.js.map +1 -0
- package/app/components/highlighted-text/highlighted-text.component.d.ts +19 -0
- package/app/components/highlighted-text/highlighted-text.component.js +33 -0
- package/app/components/highlighted-text/highlighted-text.component.js.map +1 -0
- package/app/components/link-menu/link-menu.component.d.ts +22 -0
- package/app/components/link-menu/link-menu.component.js +46 -0
- package/app/components/link-menu/link-menu.component.js.map +1 -0
- package/app/components/module-actions/module-actions.component.d.ts +31 -0
- package/app/components/module-actions/module-actions.component.js +64 -0
- package/app/components/module-actions/module-actions.component.js.map +1 -0
- package/app/components/module-failure-card/module-failure-card.component.d.ts +17 -0
- package/app/components/module-failure-card/module-failure-card.component.js +24 -0
- package/app/components/module-failure-card/module-failure-card.component.js.map +1 -0
- package/app/components/module-failures/module-failures.component.d.ts +20 -0
- package/app/components/module-failures/module-failures.component.js +28 -0
- package/app/components/module-failures/module-failures.component.js.map +1 -0
- package/app/components/module-switch/module-switch.component.d.ts +22 -0
- package/app/components/module-switch/module-switch.component.js +40 -0
- package/app/components/module-switch/module-switch.component.js.map +1 -0
- package/app/components/modules/modules.component.d.ts +48 -0
- package/app/components/modules/modules.component.js +132 -0
- package/app/components/modules/modules.component.js.map +1 -0
- package/app/components/notifications/notifications.component.d.ts +23 -0
- package/app/components/notifications/notifications.component.js +35 -0
- package/app/components/notifications/notifications.component.js.map +1 -0
- package/app/components/notifications-popover/notifications-popover.component.d.ts +40 -0
- package/app/components/notifications-popover/notifications-popover.component.js +78 -0
- package/app/components/notifications-popover/notifications-popover.component.js.map +1 -0
- package/app/components/place-menu/place-menu.component.d.ts +27 -0
- package/app/components/place-menu/place-menu.component.js +40 -0
- package/app/components/place-menu/place-menu.component.js.map +1 -0
- package/app/components/placeholder-content/placeholder-content.component.d.ts +16 -0
- package/app/components/placeholder-content/placeholder-content.component.js +54 -0
- package/app/components/placeholder-content/placeholder-content.component.js.map +1 -0
- package/app/components/quit-dialog/quit-dialog.component.d.ts +17 -0
- package/app/components/quit-dialog/quit-dialog.component.js +38 -0
- package/app/components/quit-dialog/quit-dialog.component.js.map +1 -0
- package/app/components/runtime-status/runtime-status.component.d.ts +18 -0
- package/app/components/runtime-status/runtime-status.component.js +49 -0
- package/app/components/runtime-status/runtime-status.component.js.map +1 -0
- package/app/components/search-palette/search-palette.component.d.ts +35 -0
- package/app/components/search-palette/search-palette.component.js +66 -0
- package/app/components/search-palette/search-palette.component.js.map +1 -0
- package/app/components/setting-row/setting-row.component.d.ts +62 -0
- package/app/components/setting-row/setting-row.component.js +176 -0
- package/app/components/setting-row/setting-row.component.js.map +1 -0
- package/app/components/settings/settings.component.d.ts +84 -0
- package/app/components/settings/settings.component.js +273 -0
- package/app/components/settings/settings.component.js.map +1 -0
- package/app/components/settings-page-host/settings-page-host.component.d.ts +19 -0
- package/app/components/settings-page-host/settings-page-host.component.js +54 -0
- package/app/components/settings-page-host/settings-page-host.component.js.map +1 -0
- package/app/components/shortcuts/shortcuts.component.d.ts +59 -0
- package/app/components/shortcuts/shortcuts.component.js +175 -0
- package/app/components/shortcuts/shortcuts.component.js.map +1 -0
- package/app/components/split-sash/split-sash.component.d.ts +24 -0
- package/app/components/split-sash/split-sash.component.js +44 -0
- package/app/components/split-sash/split-sash.component.js.map +1 -0
- package/app/components/startup/startup.component.d.ts +25 -0
- package/app/components/startup/startup.component.js +33 -0
- package/app/components/startup/startup.component.js.map +1 -0
- package/app/components/status-bar/status-bar.component.d.ts +9 -0
- package/app/components/status-bar/status-bar.component.js +28 -0
- package/app/components/status-bar/status-bar.component.js.map +1 -0
- package/app/components/status-bar-item/status-bar-item.component.d.ts +23 -0
- package/app/components/status-bar-item/status-bar-item.component.js +39 -0
- package/app/components/status-bar-item/status-bar-item.component.js.map +1 -0
- package/app/components/tab-content/tab-content.component.d.ts +35 -0
- package/app/components/tab-content/tab-content.component.js +139 -0
- package/app/components/tab-content/tab-content.component.js.map +1 -0
- package/app/components/tab-group/tab-group.component.d.ts +54 -0
- package/app/components/tab-group/tab-group.component.js +176 -0
- package/app/components/tab-group/tab-group.component.js.map +1 -0
- package/app/components/tab-row-actions/tab-row-actions.component.d.ts +27 -0
- package/app/components/tab-row-actions/tab-row-actions.component.js +37 -0
- package/app/components/tab-row-actions/tab-row-actions.component.js.map +1 -0
- package/app/components/tab-slot/tab-slot.component.d.ts +35 -0
- package/app/components/tab-slot/tab-slot.component.js +70 -0
- package/app/components/tab-slot/tab-slot.component.js.map +1 -0
- package/app/components/toasts/toasts.component.d.ts +36 -0
- package/app/components/toasts/toasts.component.js +68 -0
- package/app/components/toasts/toasts.component.js.map +1 -0
- package/app/components/toolbar/toolbar.component.d.ts +49 -0
- package/app/components/toolbar/toolbar.component.js +129 -0
- package/app/components/toolbar/toolbar.component.js.map +1 -0
- package/app/components/toolbar-band/toolbar-band.component.d.ts +14 -0
- package/app/components/toolbar-band/toolbar-band.component.js +32 -0
- package/app/components/toolbar-band/toolbar-band.component.js.map +1 -0
- package/app/components/update-item/update-item.component.d.ts +22 -0
- package/app/components/update-item/update-item.component.js +32 -0
- package/app/components/update-item/update-item.component.js.map +1 -0
- package/app/components/view-dialog/view-dialog.component.d.ts +17 -0
- package/app/components/view-dialog/view-dialog.component.js +46 -0
- package/app/components/view-dialog/view-dialog.component.js.map +1 -0
- package/app/components/window/window.component.d.ts +30 -0
- package/app/components/window/window.component.js +107 -0
- package/app/components/window/window.component.js.map +1 -0
- package/app/components/window-controls/window-controls.component.d.ts +27 -0
- package/app/components/window-controls/window-controls.component.js +55 -0
- package/app/components/window-controls/window-controls.component.js.map +1 -0
- package/app/components/window-row/window-row.component.d.ts +78 -0
- package/app/components/window-row/window-row.component.js +260 -0
- package/app/components/window-row/window-row.component.js.map +1 -0
- package/app/components/workspace/workspace.component.d.ts +32 -0
- package/app/components/workspace/workspace.component.js +134 -0
- package/app/components/workspace/workspace.component.js.map +1 -0
- package/app/directives/keeps-ctrl-keys.directive.d.ts +31 -0
- package/app/directives/keeps-ctrl-keys.directive.js +21 -0
- package/app/directives/keeps-ctrl-keys.directive.js.map +1 -0
- package/app/directives/tab-scroller.directive.d.ts +29 -0
- package/app/directives/tab-scroller.directive.js +88 -0
- package/app/directives/tab-scroller.directive.js.map +1 -0
- package/app/enums/bottom-dock-span.d.ts +11 -0
- package/app/enums/bottom-dock-span.js +13 -0
- package/app/enums/bottom-dock-span.js.map +1 -0
- package/app/enums/clock-choice.d.ts +11 -0
- package/app/enums/clock-choice.js +13 -0
- package/app/enums/clock-choice.js.map +1 -0
- package/app/enums/content-padding.d.ts +28 -0
- package/app/enums/content-padding.js +13 -0
- package/app/enums/content-padding.js.map +1 -0
- package/app/enums/dock-side.d.ts +24 -0
- package/app/enums/dock-side.js +14 -0
- package/app/enums/dock-side.js.map +1 -0
- package/app/enums/dock-style.d.ts +11 -0
- package/app/enums/dock-style.js +13 -0
- package/app/enums/dock-style.js.map +1 -0
- package/app/enums/document-tone.d.ts +24 -0
- package/app/enums/document-tone.js +14 -0
- package/app/enums/document-tone.js.map +1 -0
- package/app/enums/file-save-outcome.d.ts +26 -0
- package/app/enums/file-save-outcome.js +14 -0
- package/app/enums/file-save-outcome.js.map +1 -0
- package/app/enums/link-place.d.ts +23 -0
- package/app/enums/link-place.js +13 -0
- package/app/enums/link-place.js.map +1 -0
- package/app/enums/menu-bar-style.d.ts +12 -0
- package/app/enums/menu-bar-style.js +14 -0
- package/app/enums/menu-bar-style.js.map +1 -0
- package/app/enums/menu-check.d.ts +12 -0
- package/app/enums/menu-check.js +14 -0
- package/app/enums/menu-check.js.map +1 -0
- package/app/enums/panel-edge.d.ts +13 -0
- package/app/enums/panel-edge.js +15 -0
- package/app/enums/panel-edge.js.map +1 -0
- package/app/enums/part-save-outcome.d.ts +12 -0
- package/app/enums/part-save-outcome.js +14 -0
- package/app/enums/part-save-outcome.js.map +1 -0
- package/app/enums/quit-choice.d.ts +12 -0
- package/app/enums/quit-choice.js +14 -0
- package/app/enums/quit-choice.js.map +1 -0
- package/app/enums/split-axis.d.ts +11 -0
- package/app/enums/split-axis.js +13 -0
- package/app/enums/split-axis.js.map +1 -0
- package/app/enums/startup-state-kind.d.ts +17 -0
- package/app/enums/startup-state-kind.js +19 -0
- package/app/enums/startup-state-kind.js.map +1 -0
- package/app/enums/status-bar-item-tone.d.ts +21 -0
- package/app/enums/status-bar-item-tone.js +13 -0
- package/app/enums/status-bar-item-tone.js.map +1 -0
- package/app/enums/status-bar-side.d.ts +20 -0
- package/app/enums/status-bar-side.js +13 -0
- package/app/enums/status-bar-side.js.map +1 -0
- package/app/enums/toolbar-move.d.ts +13 -0
- package/app/enums/toolbar-move.js +15 -0
- package/app/enums/toolbar-move.js.map +1 -0
- package/app/enums/top-bar-side.d.ts +21 -0
- package/app/enums/top-bar-side.js +13 -0
- package/app/enums/top-bar-side.js.map +1 -0
- package/app/enums/unconfirmed-action.d.ts +12 -0
- package/app/enums/unconfirmed-action.js +14 -0
- package/app/enums/unconfirmed-action.js.map +1 -0
- package/app/enums/update-action.d.ts +11 -0
- package/app/enums/update-action.js +13 -0
- package/app/enums/update-action.js.map +1 -0
- package/app/enums/update-state-kind.d.ts +16 -0
- package/app/enums/update-state-kind.js +18 -0
- package/app/enums/update-state-kind.js.map +1 -0
- package/app/enums/view-dialog-refusal.d.ts +11 -0
- package/app/enums/view-dialog-refusal.js +13 -0
- package/app/enums/view-dialog-refusal.js.map +1 -0
- package/app/enums/web-view-input-kind.d.ts +12 -0
- package/app/enums/web-view-input-kind.js +14 -0
- package/app/enums/web-view-input-kind.js.map +1 -0
- package/app/exceptions/action-not-confirmed.exception.d.ts +17 -0
- package/app/exceptions/action-not-confirmed.exception.js +36 -0
- package/app/exceptions/action-not-confirmed.exception.js.map +1 -0
- package/app/exceptions/command-already-registered.exception.d.ts +13 -0
- package/app/exceptions/command-already-registered.exception.js +18 -0
- package/app/exceptions/command-already-registered.exception.js.map +1 -0
- package/app/exceptions/command-not-declared.exception.d.ts +13 -0
- package/app/exceptions/command-not-declared.exception.js +18 -0
- package/app/exceptions/command-not-declared.exception.js.map +1 -0
- package/app/exceptions/command-not-found.exception.d.ts +13 -0
- package/app/exceptions/command-not-found.exception.js +18 -0
- package/app/exceptions/command-not-found.exception.js.map +1 -0
- package/app/exceptions/contribution-not-declared.exception.d.ts +14 -0
- package/app/exceptions/contribution-not-declared.exception.js +20 -0
- package/app/exceptions/contribution-not-declared.exception.js.map +1 -0
- package/app/exceptions/contribution-registered.exception.d.ts +14 -0
- package/app/exceptions/contribution-registered.exception.js +20 -0
- package/app/exceptions/contribution-registered.exception.js.map +1 -0
- package/app/exceptions/dependency-not-followed.exception.d.ts +12 -0
- package/app/exceptions/dependency-not-followed.exception.js +17 -0
- package/app/exceptions/dependency-not-followed.exception.js.map +1 -0
- package/app/exceptions/file-not-opened.exception.d.ts +13 -0
- package/app/exceptions/file-not-opened.exception.js +18 -0
- package/app/exceptions/file-not-opened.exception.js.map +1 -0
- package/app/exceptions/file-not-shown.exception.d.ts +13 -0
- package/app/exceptions/file-not-shown.exception.js +18 -0
- package/app/exceptions/file-not-shown.exception.js.map +1 -0
- package/app/exceptions/foreign-contribution.exception.d.ts +13 -0
- package/app/exceptions/foreign-contribution.exception.js +18 -0
- package/app/exceptions/foreign-contribution.exception.js.map +1 -0
- package/app/exceptions/foreign-name.exception.d.ts +13 -0
- package/app/exceptions/foreign-name.exception.js +18 -0
- package/app/exceptions/foreign-name.exception.js.map +1 -0
- package/app/exceptions/foreign-secret.exception.d.ts +13 -0
- package/app/exceptions/foreign-secret.exception.js +18 -0
- package/app/exceptions/foreign-secret.exception.js.map +1 -0
- package/app/exceptions/in-app-browser-taken.exception.d.ts +12 -0
- package/app/exceptions/in-app-browser-taken.exception.js +16 -0
- package/app/exceptions/in-app-browser-taken.exception.js.map +1 -0
- package/app/exceptions/link-not-opened.exception.d.ts +12 -0
- package/app/exceptions/link-not-opened.exception.js +16 -0
- package/app/exceptions/link-not-opened.exception.js.map +1 -0
- package/app/exceptions/placeholder-shown.exception.d.ts +14 -0
- package/app/exceptions/placeholder-shown.exception.js +20 -0
- package/app/exceptions/placeholder-shown.exception.js.map +1 -0
- package/app/exceptions/preload-bridge.exception.d.ts +12 -0
- package/app/exceptions/preload-bridge.exception.js +16 -0
- package/app/exceptions/preload-bridge.exception.js.map +1 -0
- package/app/exceptions/product-name.exception.d.ts +12 -0
- package/app/exceptions/product-name.exception.js +16 -0
- package/app/exceptions/product-name.exception.js.map +1 -0
- package/app/exceptions/runtime-disconnected.exception.d.ts +13 -0
- package/app/exceptions/runtime-disconnected.exception.js +25 -0
- package/app/exceptions/runtime-disconnected.exception.js.map +1 -0
- package/app/exceptions/runtime-request.exception.d.ts +15 -0
- package/app/exceptions/runtime-request.exception.js +19 -0
- package/app/exceptions/runtime-request.exception.js.map +1 -0
- package/app/exceptions/search-source-registered.exception.d.ts +13 -0
- package/app/exceptions/search-source-registered.exception.js +18 -0
- package/app/exceptions/search-source-registered.exception.js.map +1 -0
- package/app/exceptions/setting-options-failed.exception.d.ts +13 -0
- package/app/exceptions/setting-options-failed.exception.js +19 -0
- package/app/exceptions/setting-options-failed.exception.js.map +1 -0
- package/app/exceptions/setting-options-repeated.exception.d.ts +13 -0
- package/app/exceptions/setting-options-repeated.exception.js +18 -0
- package/app/exceptions/setting-options-repeated.exception.js.map +1 -0
- package/app/exceptions/settings-page-not-loaded.exception.d.ts +12 -0
- package/app/exceptions/settings-page-not-loaded.exception.js +17 -0
- package/app/exceptions/settings-page-not-loaded.exception.js.map +1 -0
- package/app/exceptions/view-dialog.exception.d.ts +15 -0
- package/app/exceptions/view-dialog.exception.js +27 -0
- package/app/exceptions/view-dialog.exception.js.map +1 -0
- package/app/exceptions/web-view-closed.exception.d.ts +12 -0
- package/app/exceptions/web-view-closed.exception.js +16 -0
- package/app/exceptions/web-view-closed.exception.js.map +1 -0
- package/app/exceptions/web-view-not-opened.exception.d.ts +12 -0
- package/app/exceptions/web-view-not-opened.exception.js +16 -0
- package/app/exceptions/web-view-not-opened.exception.js.map +1 -0
- package/app/exceptions/window-part-access.exception.d.ts +13 -0
- package/app/exceptions/window-part-access.exception.js +17 -0
- package/app/exceptions/window-part-access.exception.js.map +1 -0
- package/app/exceptions/window-part-activation-failed.exception.d.ts +12 -0
- package/app/exceptions/window-part-activation-failed.exception.js +17 -0
- package/app/exceptions/window-part-activation-failed.exception.js.map +1 -0
- package/app/exceptions/window-part-failure.exception.d.ts +14 -0
- package/app/exceptions/window-part-failure.exception.js +17 -0
- package/app/exceptions/window-part-failure.exception.js.map +1 -0
- package/app/exceptions/window-part-load-failed.exception.d.ts +12 -0
- package/app/exceptions/window-part-load-failed.exception.js +17 -0
- package/app/exceptions/window-part-load-failed.exception.js.map +1 -0
- package/app/exceptions/window-part-reconnection-failed.exception.d.ts +12 -0
- package/app/exceptions/window-part-reconnection-failed.exception.js +17 -0
- package/app/exceptions/window-part-reconnection-failed.exception.js.map +1 -0
- package/app/exceptions/window-part-save-failed-for-update.exception.d.ts +13 -0
- package/app/exceptions/window-part-save-failed-for-update.exception.js +19 -0
- package/app/exceptions/window-part-save-failed-for-update.exception.js.map +1 -0
- package/app/exceptions/window-part-save-failed-late.exception.d.ts +13 -0
- package/app/exceptions/window-part-save-failed-late.exception.js +19 -0
- package/app/exceptions/window-part-save-failed-late.exception.js.map +1 -0
- package/app/exceptions/window-part-save-failed.exception.d.ts +13 -0
- package/app/exceptions/window-part-save-failed.exception.js +19 -0
- package/app/exceptions/window-part-save-failed.exception.js.map +1 -0
- package/app/exceptions/window.exception.d.ts +21 -0
- package/app/exceptions/window.exception.js +15 -0
- package/app/exceptions/window.exception.js.map +1 -0
- package/app/interfaces/i-command-key.d.ts +22 -0
- package/app/interfaces/i-command-key.js +8 -0
- package/app/interfaces/i-command-key.js.map +1 -0
- package/app/interfaces/i-document-contribution-options.d.ts +34 -0
- package/app/interfaces/i-document-contribution-options.js +8 -0
- package/app/interfaces/i-document-contribution-options.js.map +1 -0
- package/app/interfaces/i-document-marker.d.ts +23 -0
- package/app/interfaces/i-document-marker.js +8 -0
- package/app/interfaces/i-document-marker.js.map +1 -0
- package/app/interfaces/i-document-options.d.ts +79 -0
- package/app/interfaces/i-document-options.js +8 -0
- package/app/interfaces/i-document-options.js.map +1 -0
- package/app/interfaces/i-document-status.d.ts +28 -0
- package/app/interfaces/i-document-status.js +8 -0
- package/app/interfaces/i-document-status.js.map +1 -0
- package/app/interfaces/i-document-update.d.ts +58 -0
- package/app/interfaces/i-document-update.js +8 -0
- package/app/interfaces/i-document-update.js.map +1 -0
- package/app/interfaces/i-file-choice-options.d.ts +18 -0
- package/app/interfaces/i-file-choice-options.js +8 -0
- package/app/interfaces/i-file-choice-options.js.map +1 -0
- package/app/interfaces/i-file-grant-options.d.ts +17 -0
- package/app/interfaces/i-file-grant-options.js +8 -0
- package/app/interfaces/i-file-grant-options.js.map +1 -0
- package/app/interfaces/i-file-path-choice-options.d.ts +24 -0
- package/app/interfaces/i-file-path-choice-options.js +8 -0
- package/app/interfaces/i-file-path-choice-options.js.map +1 -0
- package/app/interfaces/i-in-app-browser.d.ts +36 -0
- package/app/interfaces/i-in-app-browser.js +8 -0
- package/app/interfaces/i-in-app-browser.js.map +1 -0
- package/app/interfaces/i-layout-store.d.ts +12 -0
- package/app/interfaces/i-layout-store.js +8 -0
- package/app/interfaces/i-layout-store.js.map +1 -0
- package/app/interfaces/i-link-open-options.d.ts +26 -0
- package/app/interfaces/i-link-open-options.js +8 -0
- package/app/interfaces/i-link-open-options.js.map +1 -0
- package/app/interfaces/i-module-saver.d.ts +10 -0
- package/app/interfaces/i-module-saver.js +8 -0
- package/app/interfaces/i-module-saver.js.map +1 -0
- package/app/interfaces/i-opened-web-view.d.ts +12 -0
- package/app/interfaces/i-opened-web-view.js +8 -0
- package/app/interfaces/i-opened-web-view.js.map +1 -0
- package/app/interfaces/i-preload-bridge.d.ts +79 -0
- package/app/interfaces/i-preload-bridge.js +8 -0
- package/app/interfaces/i-preload-bridge.js.map +1 -0
- package/app/interfaces/i-product-about.d.ts +38 -0
- package/app/interfaces/i-product-about.js +8 -0
- package/app/interfaces/i-product-about.js.map +1 -0
- package/app/interfaces/i-product-logo.d.ts +23 -0
- package/app/interfaces/i-product-logo.js +8 -0
- package/app/interfaces/i-product-logo.js.map +1 -0
- package/app/interfaces/i-selection-source.d.ts +24 -0
- package/app/interfaces/i-selection-source.js +8 -0
- package/app/interfaces/i-selection-source.js.map +1 -0
- package/app/interfaces/i-settings-page-declaration.d.ts +22 -0
- package/app/interfaces/i-settings-page-declaration.js +8 -0
- package/app/interfaces/i-settings-page-declaration.js.map +1 -0
- package/app/interfaces/i-settings-page-row.d.ts +12 -0
- package/app/interfaces/i-settings-page-row.js +8 -0
- package/app/interfaces/i-settings-page-row.js.map +1 -0
- package/app/interfaces/i-status-bar-item-options.d.ts +42 -0
- package/app/interfaces/i-status-bar-item-options.js +8 -0
- package/app/interfaces/i-status-bar-item-options.js.map +1 -0
- package/app/interfaces/i-top-bar-action-options.d.ts +21 -0
- package/app/interfaces/i-top-bar-action-options.js +8 -0
- package/app/interfaces/i-top-bar-action-options.js.map +1 -0
- package/app/interfaces/i-view-dialog-options.d.ts +22 -0
- package/app/interfaces/i-view-dialog-options.js +8 -0
- package/app/interfaces/i-view-dialog-options.js.map +1 -0
- package/app/interfaces/i-view-instance-options.d.ts +37 -0
- package/app/interfaces/i-view-instance-options.js +8 -0
- package/app/interfaces/i-view-instance-options.js.map +1 -0
- package/app/interfaces/i-view-options.d.ts +41 -0
- package/app/interfaces/i-view-options.js +8 -0
- package/app/interfaces/i-view-options.js.map +1 -0
- package/app/interfaces/i-view-update.d.ts +31 -0
- package/app/interfaces/i-view-update.js +8 -0
- package/app/interfaces/i-view-update.js.map +1 -0
- package/app/interfaces/i-web-view-find-options.d.ts +16 -0
- package/app/interfaces/i-web-view-find-options.js +8 -0
- package/app/interfaces/i-web-view-find-options.js.map +1 -0
- package/app/interfaces/i-web-view-found.d.ts +33 -0
- package/app/interfaces/i-web-view-found.js +8 -0
- package/app/interfaces/i-web-view-found.js.map +1 -0
- package/app/interfaces/i-web-view-guest.d.ts +15 -0
- package/app/interfaces/i-web-view-guest.js +8 -0
- package/app/interfaces/i-web-view-guest.js.map +1 -0
- package/app/interfaces/i-web-view-handle.d.ts +370 -0
- package/app/interfaces/i-web-view-handle.js +8 -0
- package/app/interfaces/i-web-view-handle.js.map +1 -0
- package/app/interfaces/i-web-view-input.d.ts +13 -0
- package/app/interfaces/i-web-view-input.js +8 -0
- package/app/interfaces/i-web-view-input.js.map +1 -0
- package/app/interfaces/i-web-view-layer.d.ts +29 -0
- package/app/interfaces/i-web-view-layer.js +8 -0
- package/app/interfaces/i-web-view-layer.js.map +1 -0
- package/app/interfaces/i-window-inputs.d.ts +72 -0
- package/app/interfaces/i-window-inputs.js +8 -0
- package/app/interfaces/i-window-inputs.js.map +1 -0
- package/app/interfaces/i-window-palette.d.ts +32 -0
- package/app/interfaces/i-window-palette.js +8 -0
- package/app/interfaces/i-window-palette.js.map +1 -0
- package/app/interfaces/i-window-part-context.d.ts +1654 -0
- package/app/interfaces/i-window-part-context.js +8 -0
- package/app/interfaces/i-window-part-context.js.map +1 -0
- package/app/interfaces/i-window-part-host.d.ts +91 -0
- package/app/interfaces/i-window-part-host.js +8 -0
- package/app/interfaces/i-window-part-host.js.map +1 -0
- package/app/interfaces/i-window-part.d.ts +160 -0
- package/app/interfaces/i-window-part.js +8 -0
- package/app/interfaces/i-window-part.js.map +1 -0
- package/app/interfaces/i-window-secrets.d.ts +69 -0
- package/app/interfaces/i-window-secrets.js +8 -0
- package/app/interfaces/i-window-secrets.js.map +1 -0
- package/app/interfaces/i-window-web-views.d.ts +39 -0
- package/app/interfaces/i-window-web-views.js +8 -0
- package/app/interfaces/i-window-web-views.js.map +1 -0
- package/app/models/appearance-preferences.d.ts +22 -0
- package/app/models/appearance-preferences.js +51 -0
- package/app/models/appearance-preferences.js.map +1 -0
- package/app/models/build-info.d.ts +13 -0
- package/app/models/build-info.js +22 -0
- package/app/models/build-info.js.map +1 -0
- package/app/models/build-tokens.d.ts +17 -0
- package/app/models/build-tokens.js +16 -0
- package/app/models/build-tokens.js.map +1 -0
- package/app/models/clipboard-image.d.ts +22 -0
- package/app/models/clipboard-image.js +128 -0
- package/app/models/clipboard-image.js.map +1 -0
- package/app/models/clipboard-image.resources.d.ts +43 -0
- package/app/models/clipboard-image.resources.js +44 -0
- package/app/models/clipboard-image.resources.js.map +1 -0
- package/app/models/command-contribution.d.ts +95 -0
- package/app/models/command-contribution.js +38 -0
- package/app/models/command-contribution.js.map +1 -0
- package/app/models/command-match.d.ts +13 -0
- package/app/models/command-match.js +17 -0
- package/app/models/command-match.js.map +1 -0
- package/app/models/command-matcher.d.ts +11 -0
- package/app/models/command-matcher.js +23 -0
- package/app/models/command-matcher.js.map +1 -0
- package/app/models/command-row.d.ts +20 -0
- package/app/models/command-row.js +27 -0
- package/app/models/command-row.js.map +1 -0
- package/app/models/command-search-entry.d.ts +15 -0
- package/app/models/command-search-entry.js +20 -0
- package/app/models/command-search-entry.js.map +1 -0
- package/app/models/content-padding-ref.d.ts +66 -0
- package/app/models/content-padding-ref.js +20 -0
- package/app/models/content-padding-ref.js.map +1 -0
- package/app/models/contribution-match.d.ts +16 -0
- package/app/models/contribution-match.js +18 -0
- package/app/models/contribution-match.js.map +1 -0
- package/app/models/document-contribution.d.ts +63 -0
- package/app/models/document-contribution.js +28 -0
- package/app/models/document-contribution.js.map +1 -0
- package/app/models/document-heading.d.ts +21 -0
- package/app/models/document-heading.js +50 -0
- package/app/models/document-heading.js.map +1 -0
- package/app/models/document-look.d.ts +27 -0
- package/app/models/document-look.js +66 -0
- package/app/models/document-look.js.map +1 -0
- package/app/models/edit-target.d.ts +22 -0
- package/app/models/edit-target.js +58 -0
- package/app/models/edit-target.js.map +1 -0
- package/app/models/field-menu-request.d.ts +19 -0
- package/app/models/field-menu-request.js +32 -0
- package/app/models/field-menu-request.js.map +1 -0
- package/app/models/gallery-tokens.d.ts +11 -0
- package/app/models/gallery-tokens.js +13 -0
- package/app/models/gallery-tokens.js.map +1 -0
- package/app/models/issued-file-grant.d.ts +45 -0
- package/app/models/issued-file-grant.js +20 -0
- package/app/models/issued-file-grant.js.map +1 -0
- package/app/models/issued-file-grants.d.ts +40 -0
- package/app/models/issued-file-grants.js +17 -0
- package/app/models/issued-file-grants.js.map +1 -0
- package/app/models/key-bindings.d.ts +24 -0
- package/app/models/key-bindings.js +66 -0
- package/app/models/key-bindings.js.map +1 -0
- package/app/models/layout/bounds.d.ts +24 -0
- package/app/models/layout/bounds.js +53 -0
- package/app/models/layout/bounds.js.map +1 -0
- package/app/models/layout/closed-tabs.d.ts +28 -0
- package/app/models/layout/closed-tabs.js +72 -0
- package/app/models/layout/closed-tabs.js.map +1 -0
- package/app/models/layout/dock-growth.d.ts +18 -0
- package/app/models/layout/dock-growth.js +27 -0
- package/app/models/layout/dock-growth.js.map +1 -0
- package/app/models/layout/dock-strip-icon.d.ts +17 -0
- package/app/models/layout/dock-strip-icon.js +20 -0
- package/app/models/layout/dock-strip-icon.js.map +1 -0
- package/app/models/layout/dock-yield.d.ts +15 -0
- package/app/models/layout/dock-yield.js +19 -0
- package/app/models/layout/dock-yield.js.map +1 -0
- package/app/models/layout/dock.d.ts +33 -0
- package/app/models/layout/dock.js +65 -0
- package/app/models/layout/dock.js.map +1 -0
- package/app/models/layout/docking-overlay.d.ts +20 -0
- package/app/models/layout/docking-overlay.js +52 -0
- package/app/models/layout/docking-overlay.js.map +1 -0
- package/app/models/layout/document-group.d.ts +22 -0
- package/app/models/layout/document-group.js +36 -0
- package/app/models/layout/document-group.js.map +1 -0
- package/app/models/layout/document-tab.d.ts +19 -0
- package/app/models/layout/document-tab.js +33 -0
- package/app/models/layout/document-tab.js.map +1 -0
- package/app/models/layout/drop-target.d.ts +16 -0
- package/app/models/layout/drop-target.js +10 -0
- package/app/models/layout/drop-target.js.map +1 -0
- package/app/models/layout/early-document.d.ts +14 -0
- package/app/models/layout/early-document.js +18 -0
- package/app/models/layout/early-document.js.map +1 -0
- package/app/models/layout/group-drop-target.d.ts +19 -0
- package/app/models/layout/group-drop-target.js +25 -0
- package/app/models/layout/group-drop-target.js.map +1 -0
- package/app/models/layout/group-frame.d.ts +16 -0
- package/app/models/layout/group-frame.js +18 -0
- package/app/models/layout/group-frame.js.map +1 -0
- package/app/models/layout/layout-fit.d.ts +25 -0
- package/app/models/layout/layout-fit.js +61 -0
- package/app/models/layout/layout-fit.js.map +1 -0
- package/app/models/layout/layout-geometry.d.ts +49 -0
- package/app/models/layout/layout-geometry.js +129 -0
- package/app/models/layout/layout-geometry.js.map +1 -0
- package/app/models/layout/layout-metrics.d.ts +21 -0
- package/app/models/layout/layout-metrics.js +39 -0
- package/app/models/layout/layout-metrics.js.map +1 -0
- package/app/models/layout/layout.d.ts +71 -0
- package/app/models/layout/layout.js +241 -0
- package/app/models/layout/layout.js.map +1 -0
- package/app/models/layout/layout.node.d.ts +33 -0
- package/app/models/layout/layout.node.js +18 -0
- package/app/models/layout/layout.node.js.map +1 -0
- package/app/models/layout/side-drop-target.d.ts +23 -0
- package/app/models/layout/side-drop-target.js +29 -0
- package/app/models/layout/side-drop-target.js.map +1 -0
- package/app/models/layout/split-drop-target.d.ts +21 -0
- package/app/models/layout/split-drop-target.js +27 -0
- package/app/models/layout/split-drop-target.js.map +1 -0
- package/app/models/layout/split-handle.d.ts +22 -0
- package/app/models/layout/split-handle.js +43 -0
- package/app/models/layout/split-handle.js.map +1 -0
- package/app/models/layout/split-part.d.ts +13 -0
- package/app/models/layout/split-part.js +16 -0
- package/app/models/layout/split-part.js.map +1 -0
- package/app/models/layout/split.node.d.ts +42 -0
- package/app/models/layout/split.node.js +119 -0
- package/app/models/layout/split.node.js.map +1 -0
- package/app/models/layout/tab-drop-target.d.ts +18 -0
- package/app/models/layout/tab-drop-target.js +27 -0
- package/app/models/layout/tab-drop-target.js.map +1 -0
- package/app/models/layout/tab-group.d.ts +46 -0
- package/app/models/layout/tab-group.js +134 -0
- package/app/models/layout/tab-group.js.map +1 -0
- package/app/models/layout/tab-key.d.ts +12 -0
- package/app/models/layout/tab-key.js +22 -0
- package/app/models/layout/tab-key.js.map +1 -0
- package/app/models/layout/tab-label.d.ts +12 -0
- package/app/models/layout/tab-label.js +20 -0
- package/app/models/layout/tab-label.js.map +1 -0
- package/app/models/layout/tab-reveal.d.ts +13 -0
- package/app/models/layout/tab-reveal.js +16 -0
- package/app/models/layout/tab-reveal.js.map +1 -0
- package/app/models/layout/tab.d.ts +24 -0
- package/app/models/layout/tab.js +34 -0
- package/app/models/layout/tab.js.map +1 -0
- package/app/models/layout/toolbar-layout.d.ts +28 -0
- package/app/models/layout/toolbar-layout.js +116 -0
- package/app/models/layout/toolbar-layout.js.map +1 -0
- package/app/models/layout/view-registry.d.ts +24 -0
- package/app/models/layout/view-registry.js +58 -0
- package/app/models/layout/view-registry.js.map +1 -0
- package/app/models/layout/view-tab.d.ts +19 -0
- package/app/models/layout/view-tab.js +33 -0
- package/app/models/layout/view-tab.js.map +1 -0
- package/app/models/layout/view-type.d.ts +17 -0
- package/app/models/layout/view-type.js +28 -0
- package/app/models/layout/view-type.js.map +1 -0
- package/app/models/live-view.d.ts +37 -0
- package/app/models/live-view.js +110 -0
- package/app/models/live-view.js.map +1 -0
- package/app/models/menu-declarations.d.ts +20 -0
- package/app/models/menu-declarations.js +50 -0
- package/app/models/menu-declarations.js.map +1 -0
- package/app/models/menu-group.d.ts +17 -0
- package/app/models/menu-group.js +32 -0
- package/app/models/menu-group.js.map +1 -0
- package/app/models/menu-item.d.ts +20 -0
- package/app/models/menu-item.js +40 -0
- package/app/models/menu-item.js.map +1 -0
- package/app/models/menu-place.d.ts +16 -0
- package/app/models/menu-place.js +28 -0
- package/app/models/menu-place.js.map +1 -0
- package/app/models/menu-row-contribution.d.ts +52 -0
- package/app/models/menu-row-contribution.js +27 -0
- package/app/models/menu-row-contribution.js.map +1 -0
- package/app/models/menu-row.d.ts +12 -0
- package/app/models/menu-row.js +16 -0
- package/app/models/menu-row.js.map +1 -0
- package/app/models/menu-search-row.d.ts +14 -0
- package/app/models/menu-search-row.js +20 -0
- package/app/models/menu-search-row.js.map +1 -0
- package/app/models/menu-section.d.ts +14 -0
- package/app/models/menu-section.js +16 -0
- package/app/models/menu-section.js.map +1 -0
- package/app/models/module-failure.d.ts +20 -0
- package/app/models/module-failure.js +35 -0
- package/app/models/module-failure.js.map +1 -0
- package/app/models/module-switch-tokens.d.ts +12 -0
- package/app/models/module-switch-tokens.js +13 -0
- package/app/models/module-switch-tokens.js.map +1 -0
- package/app/models/modules/contribution-group.d.ts +14 -0
- package/app/models/modules/contribution-group.js +18 -0
- package/app/models/modules/contribution-group.js.map +1 -0
- package/app/models/modules/contribution-row.d.ts +12 -0
- package/app/models/modules/contribution-row.js +16 -0
- package/app/models/modules/contribution-row.js.map +1 -0
- package/app/models/modules/module-overview.d.ts +21 -0
- package/app/models/modules/module-overview.js +41 -0
- package/app/models/modules/module-overview.js.map +1 -0
- package/app/models/modules/module-reference.d.ts +13 -0
- package/app/models/modules/module-reference.js +16 -0
- package/app/models/modules/module-reference.js.map +1 -0
- package/app/models/modules/program-row.d.ts +17 -0
- package/app/models/modules/program-row.js +28 -0
- package/app/models/modules/program-row.js.map +1 -0
- package/app/models/notification-handle.d.ts +45 -0
- package/app/models/notification-handle.js +19 -0
- package/app/models/notification-handle.js.map +1 -0
- package/app/models/pending-document.d.ts +21 -0
- package/app/models/pending-document.js +35 -0
- package/app/models/pending-document.js.map +1 -0
- package/app/models/pending-view-change.d.ts +14 -0
- package/app/models/pending-view-change.js +20 -0
- package/app/models/pending-view-change.js.map +1 -0
- package/app/models/placeholder-contribution.d.ts +49 -0
- package/app/models/placeholder-contribution.js +22 -0
- package/app/models/placeholder-contribution.js.map +1 -0
- package/app/models/product-name.d.ts +13 -0
- package/app/models/product-name.js +18 -0
- package/app/models/product-name.js.map +1 -0
- package/app/models/quit-question.d.ts +16 -0
- package/app/models/quit-question.js +30 -0
- package/app/models/quit-question.js.map +1 -0
- package/app/models/scroll-offset.d.ts +15 -0
- package/app/models/scroll-offset.js +25 -0
- package/app/models/scroll-offset.js.map +1 -0
- package/app/models/search-answer.d.ts +39 -0
- package/app/models/search-answer.js +20 -0
- package/app/models/search-answer.js.map +1 -0
- package/app/models/search-filter.d.ts +14 -0
- package/app/models/search-filter.js +20 -0
- package/app/models/search-filter.js.map +1 -0
- package/app/models/search-group.d.ts +14 -0
- package/app/models/search-group.js +18 -0
- package/app/models/search-group.js.map +1 -0
- package/app/models/search-query.d.ts +17 -0
- package/app/models/search-query.js +30 -0
- package/app/models/search-query.js.map +1 -0
- package/app/models/search-rank.d.ts +14 -0
- package/app/models/search-rank.js +32 -0
- package/app/models/search-rank.js.map +1 -0
- package/app/models/search-request.d.ts +15 -0
- package/app/models/search-request.js +20 -0
- package/app/models/search-request.js.map +1 -0
- package/app/models/search-result.d.ts +65 -0
- package/app/models/search-result.js +38 -0
- package/app/models/search-result.js.map +1 -0
- package/app/models/search-row.d.ts +15 -0
- package/app/models/search-row.js +20 -0
- package/app/models/search-row.js.map +1 -0
- package/app/models/search-session.d.ts +42 -0
- package/app/models/search-session.js +161 -0
- package/app/models/search-session.js.map +1 -0
- package/app/models/search-source-contribution.d.ts +75 -0
- package/app/models/search-source-contribution.js +38 -0
- package/app/models/search-source-contribution.js.map +1 -0
- package/app/models/settings/setting-options-supply.d.ts +18 -0
- package/app/models/settings/setting-options-supply.js +46 -0
- package/app/models/settings/setting-options-supply.js.map +1 -0
- package/app/models/settings/settings-group.d.ts +13 -0
- package/app/models/settings/settings-group.js +16 -0
- package/app/models/settings/settings-group.js.map +1 -0
- package/app/models/settings/settings-page-entry.d.ts +22 -0
- package/app/models/settings/settings-page-entry.js +30 -0
- package/app/models/settings/settings-page-entry.js.map +1 -0
- package/app/models/settings/settings-page.d.ts +26 -0
- package/app/models/settings/settings-page.js +62 -0
- package/app/models/settings/settings-page.js.map +1 -0
- package/app/models/settings/settings-row.d.ts +42 -0
- package/app/models/settings/settings-row.js +24 -0
- package/app/models/settings/settings-row.js.map +1 -0
- package/app/models/settings/shortcut-notice.d.ts +15 -0
- package/app/models/settings/shortcut-notice.js +20 -0
- package/app/models/settings/shortcut-notice.js.map +1 -0
- package/app/models/settings/shortcut-row.d.ts +17 -0
- package/app/models/settings/shortcut-row.js +26 -0
- package/app/models/settings/shortcut-row.js.map +1 -0
- package/app/models/settings/text-match.d.ts +16 -0
- package/app/models/settings/text-match.js +41 -0
- package/app/models/settings/text-match.js.map +1 -0
- package/app/models/settings/word-breaks.d.ts +13 -0
- package/app/models/settings/word-breaks.js +34 -0
- package/app/models/settings/word-breaks.js.map +1 -0
- package/app/models/settings-page-contribution.d.ts +46 -0
- package/app/models/settings-page-contribution.js +20 -0
- package/app/models/settings-page-contribution.js.map +1 -0
- package/app/models/shell-documents.d.ts +21 -0
- package/app/models/shell-documents.js +25 -0
- package/app/models/shell-documents.js.map +1 -0
- package/app/models/shell-menus.d.ts +16 -0
- package/app/models/shell-menus.js +97 -0
- package/app/models/shell-menus.js.map +1 -0
- package/app/models/shortcut-binding.d.ts +13 -0
- package/app/models/shortcut-binding.js +16 -0
- package/app/models/shortcut-binding.js.map +1 -0
- package/app/models/shortcut-collision.d.ts +14 -0
- package/app/models/shortcut-collision.js +18 -0
- package/app/models/shortcut-collision.js.map +1 -0
- package/app/models/shortcut-map.d.ts +27 -0
- package/app/models/shortcut-map.js +64 -0
- package/app/models/shortcut-map.js.map +1 -0
- package/app/models/spelling-offer.d.ts +15 -0
- package/app/models/spelling-offer.js +24 -0
- package/app/models/spelling-offer.js.map +1 -0
- package/app/models/startup-state.d.ts +17 -0
- package/app/models/startup-state.js +35 -0
- package/app/models/startup-state.js.map +1 -0
- package/app/models/status-bar-item-contribution.d.ts +45 -0
- package/app/models/status-bar-item-contribution.js +20 -0
- package/app/models/status-bar-item-contribution.js.map +1 -0
- package/app/models/status-bar-item-state.d.ts +82 -0
- package/app/models/status-bar-item-state.js +43 -0
- package/app/models/status-bar-item-state.js.map +1 -0
- package/app/models/status-bar-item.d.ts +62 -0
- package/app/models/status-bar-item.js +29 -0
- package/app/models/status-bar-item.js.map +1 -0
- package/app/models/submenu-row.d.ts +15 -0
- package/app/models/submenu-row.js +19 -0
- package/app/models/submenu-row.js.map +1 -0
- package/app/models/tab-content.d.ts +18 -0
- package/app/models/tab-content.js +22 -0
- package/app/models/tab-content.js.map +1 -0
- package/app/models/tab-target.d.ts +19 -0
- package/app/models/tab-target.js +30 -0
- package/app/models/tab-target.js.map +1 -0
- package/app/models/text-range.d.ts +40 -0
- package/app/models/text-range.js +25 -0
- package/app/models/text-range.js.map +1 -0
- package/app/models/toolbar-drop-target.d.ts +17 -0
- package/app/models/toolbar-drop-target.js +28 -0
- package/app/models/toolbar-drop-target.js.map +1 -0
- package/app/models/toolbar-fit.d.ts +10 -0
- package/app/models/toolbar-fit.js +17 -0
- package/app/models/toolbar-fit.js.map +1 -0
- package/app/models/toolbar-placement.d.ts +14 -0
- package/app/models/toolbar-placement.js +24 -0
- package/app/models/toolbar-placement.js.map +1 -0
- package/app/models/toolbar.d.ts +14 -0
- package/app/models/toolbar.js +18 -0
- package/app/models/toolbar.js.map +1 -0
- package/app/models/top-bar-action-contribution.d.ts +44 -0
- package/app/models/top-bar-action-contribution.js +21 -0
- package/app/models/top-bar-action-contribution.js.map +1 -0
- package/app/models/top-bar-action-state.d.ts +51 -0
- package/app/models/top-bar-action-state.js +27 -0
- package/app/models/top-bar-action-state.js.map +1 -0
- package/app/models/top-bar-action.d.ts +62 -0
- package/app/models/top-bar-action.js +29 -0
- package/app/models/top-bar-action.js.map +1 -0
- package/app/models/update-state.d.ts +23 -0
- package/app/models/update-state.js +56 -0
- package/app/models/update-state.js.map +1 -0
- package/app/models/view-badge.d.ts +37 -0
- package/app/models/view-badge.js +22 -0
- package/app/models/view-badge.js.map +1 -0
- package/app/models/view-contribution.d.ts +91 -0
- package/app/models/view-contribution.js +42 -0
- package/app/models/view-contribution.js.map +1 -0
- package/app/models/web-view-handle.d.ts +59 -0
- package/app/models/web-view-handle.js +121 -0
- package/app/models/web-view-handle.js.map +1 -0
- package/app/models/web-view-layer.d.ts +20 -0
- package/app/models/web-view-layer.js +45 -0
- package/app/models/web-view-layer.js.map +1 -0
- package/app/models/window-appearance.d.ts +18 -0
- package/app/models/window-appearance.js +61 -0
- package/app/models/window-appearance.js.map +1 -0
- package/app/models/window-application.d.ts +32 -0
- package/app/models/window-application.js +45 -0
- package/app/models/window-application.js.map +1 -0
- package/app/models/window-palette.d.ts +18 -0
- package/app/models/window-palette.js +26 -0
- package/app/models/window-palette.js.map +1 -0
- package/app/models/window-part-activation.d.ts +16 -0
- package/app/models/window-part-activation.js +18 -0
- package/app/models/window-part-activation.js.map +1 -0
- package/app/models/window-part-context.d.ts +174 -0
- package/app/models/window-part-context.js +716 -0
- package/app/models/window-part-context.js.map +1 -0
- package/app/models/window-part-source.d.ts +95 -0
- package/app/models/window-part-source.js +40 -0
- package/app/models/window-part-source.js.map +1 -0
- package/app/models/window-part-tokens.d.ts +32 -0
- package/app/models/window-part-tokens.js +15 -0
- package/app/models/window-part-tokens.js.map +1 -0
- package/app/models/window-secrets.d.ts +18 -0
- package/app/models/window-secrets.js +33 -0
- package/app/models/window-secrets.js.map +1 -0
- package/app/models/window-web-views.d.ts +18 -0
- package/app/models/window-web-views.js +34 -0
- package/app/models/window-web-views.js.map +1 -0
- package/app/services/agent-control.service.d.ts +24 -0
- package/app/services/agent-control.service.js +58 -0
- package/app/services/agent-control.service.js.map +1 -0
- package/app/services/appearance-settings.service.d.ts +12 -0
- package/app/services/appearance-settings.service.js +50 -0
- package/app/services/appearance-settings.service.js.map +1 -0
- package/app/services/bar-items.service.d.ts +22 -0
- package/app/services/bar-items.service.js +36 -0
- package/app/services/bar-items.service.js.map +1 -0
- package/app/services/clock-setting.service.d.ts +26 -0
- package/app/services/clock-setting.service.js +43 -0
- package/app/services/clock-setting.service.js.map +1 -0
- package/app/services/closing.service.d.ts +19 -0
- package/app/services/closing.service.js +99 -0
- package/app/services/closing.service.js.map +1 -0
- package/app/services/command.service.d.ts +51 -0
- package/app/services/command.service.js +178 -0
- package/app/services/command.service.js.map +1 -0
- package/app/services/details.service.d.ts +8 -0
- package/app/services/details.service.js +28 -0
- package/app/services/details.service.js.map +1 -0
- package/app/services/dialog-cover.service.d.ts +32 -0
- package/app/services/dialog-cover.service.js +102 -0
- package/app/services/dialog-cover.service.js.map +1 -0
- package/app/services/dock-growth.service.d.ts +15 -0
- package/app/services/dock-growth.service.js +63 -0
- package/app/services/dock-growth.service.js.map +1 -0
- package/app/services/document-history.service.d.ts +24 -0
- package/app/services/document-history.service.js +68 -0
- package/app/services/document-history.service.js.map +1 -0
- package/app/services/document-instances.service.d.ts +15 -0
- package/app/services/document-instances.service.js +47 -0
- package/app/services/document-instances.service.js.map +1 -0
- package/app/services/document-opener.service.d.ts +18 -0
- package/app/services/document-opener.service.js +75 -0
- package/app/services/document-opener.service.js.map +1 -0
- package/app/services/edit-target.service.d.ts +23 -0
- package/app/services/edit-target.service.js +93 -0
- package/app/services/edit-target.service.js.map +1 -0
- package/app/services/issued-file-grants.reader.d.ts +13 -0
- package/app/services/issued-file-grants.reader.js +24 -0
- package/app/services/issued-file-grants.reader.js.map +1 -0
- package/app/services/layout-menu.service.d.ts +9 -0
- package/app/services/layout-menu.service.js +32 -0
- package/app/services/layout-menu.service.js.map +1 -0
- package/app/services/layout-store.service.d.ts +10 -0
- package/app/services/layout-store.service.js +35 -0
- package/app/services/layout-store.service.js.map +1 -0
- package/app/services/layout.reader.d.ts +23 -0
- package/app/services/layout.reader.js +113 -0
- package/app/services/layout.reader.js.map +1 -0
- package/app/services/layout.service.d.ts +98 -0
- package/app/services/layout.service.js +309 -0
- package/app/services/layout.service.js.map +1 -0
- package/app/services/link.service.d.ts +34 -0
- package/app/services/link.service.js +116 -0
- package/app/services/link.service.js.map +1 -0
- package/app/services/live-view.service.d.ts +38 -0
- package/app/services/live-view.service.js +130 -0
- package/app/services/live-view.service.js.map +1 -0
- package/app/services/menu-bar.service.d.ts +28 -0
- package/app/services/menu-bar.service.js +89 -0
- package/app/services/menu-bar.service.js.map +1 -0
- package/app/services/menu.service.d.ts +34 -0
- package/app/services/menu.service.js +96 -0
- package/app/services/menu.service.js.map +1 -0
- package/app/services/module-selection.service.d.ts +18 -0
- package/app/services/module-selection.service.js +31 -0
- package/app/services/module-selection.service.js.map +1 -0
- package/app/services/module-status.service.d.ts +22 -0
- package/app/services/module-status.service.js +39 -0
- package/app/services/module-status.service.js.map +1 -0
- package/app/services/module-switch.service.d.ts +16 -0
- package/app/services/module-switch.service.js +56 -0
- package/app/services/module-switch.service.js.map +1 -0
- package/app/services/notification.service.d.ts +38 -0
- package/app/services/notification.service.js +103 -0
- package/app/services/notification.service.js.map +1 -0
- package/app/services/preload-bridge.service.d.ts +114 -0
- package/app/services/preload-bridge.service.js +495 -0
- package/app/services/preload-bridge.service.js.map +1 -0
- package/app/services/program-status.service.d.ts +27 -0
- package/app/services/program-status.service.js +75 -0
- package/app/services/program-status.service.js.map +1 -0
- package/app/services/quit.service.d.ts +17 -0
- package/app/services/quit.service.js +37 -0
- package/app/services/quit.service.js.map +1 -0
- package/app/services/recent-commands.service.d.ts +24 -0
- package/app/services/recent-commands.service.js +63 -0
- package/app/services/recent-commands.service.js.map +1 -0
- package/app/services/search-palette.service.d.ts +20 -0
- package/app/services/search-palette.service.js +66 -0
- package/app/services/search-palette.service.js.map +1 -0
- package/app/services/search.service.d.ts +20 -0
- package/app/services/search.service.js +40 -0
- package/app/services/search.service.js.map +1 -0
- package/app/services/setting-check.service.d.ts +10 -0
- package/app/services/setting-check.service.js +32 -0
- package/app/services/setting-check.service.js.map +1 -0
- package/app/services/setting-options.service.d.ts +14 -0
- package/app/services/setting-options.service.js +38 -0
- package/app/services/setting-options.service.js.map +1 -0
- package/app/services/settings-page.service.d.ts +19 -0
- package/app/services/settings-page.service.js +35 -0
- package/app/services/settings-page.service.js.map +1 -0
- package/app/services/settings-rows.service.d.ts +17 -0
- package/app/services/settings-rows.service.js +29 -0
- package/app/services/settings-rows.service.js.map +1 -0
- package/app/services/settings.service.d.ts +38 -0
- package/app/services/settings.service.js +104 -0
- package/app/services/settings.service.js.map +1 -0
- package/app/services/shell-commands.service.d.ts +61 -0
- package/app/services/shell-commands.service.js +346 -0
- package/app/services/shell-commands.service.js.map +1 -0
- package/app/services/shell-search-sources.service.d.ts +35 -0
- package/app/services/shell-search-sources.service.js +103 -0
- package/app/services/shell-search-sources.service.js.map +1 -0
- package/app/services/spelling.service.d.ts +26 -0
- package/app/services/spelling.service.js +75 -0
- package/app/services/spelling.service.js.map +1 -0
- package/app/services/startup.service.d.ts +19 -0
- package/app/services/startup.service.js +62 -0
- package/app/services/startup.service.js.map +1 -0
- package/app/services/support.service.d.ts +18 -0
- package/app/services/support.service.js +79 -0
- package/app/services/support.service.js.map +1 -0
- package/app/services/tab-destinations.service.d.ts +10 -0
- package/app/services/tab-destinations.service.js +41 -0
- package/app/services/tab-destinations.service.js.map +1 -0
- package/app/services/tab-drag.service.d.ts +33 -0
- package/app/services/tab-drag.service.js +138 -0
- package/app/services/tab-drag.service.js.map +1 -0
- package/app/services/tab-focus.service.d.ts +24 -0
- package/app/services/tab-focus.service.js +93 -0
- package/app/services/tab-focus.service.js.map +1 -0
- package/app/services/tab-label.service.d.ts +37 -0
- package/app/services/tab-label.service.js +104 -0
- package/app/services/tab-label.service.js.map +1 -0
- package/app/services/tab-rename.service.d.ts +30 -0
- package/app/services/tab-rename.service.js +82 -0
- package/app/services/tab-rename.service.js.map +1 -0
- package/app/services/tab-row.service.d.ts +16 -0
- package/app/services/tab-row.service.js +50 -0
- package/app/services/tab-row.service.js.map +1 -0
- package/app/services/tab-strip.service.d.ts +11 -0
- package/app/services/tab-strip.service.js +44 -0
- package/app/services/tab-strip.service.js.map +1 -0
- package/app/services/time-formats.service.d.ts +20 -0
- package/app/services/time-formats.service.js +40 -0
- package/app/services/time-formats.service.js.map +1 -0
- package/app/services/toast.service.d.ts +31 -0
- package/app/services/toast.service.js +143 -0
- package/app/services/toast.service.js.map +1 -0
- package/app/services/toolbar-drag.service.d.ts +21 -0
- package/app/services/toolbar-drag.service.js +105 -0
- package/app/services/toolbar-drag.service.js.map +1 -0
- package/app/services/toolbar.service.d.ts +34 -0
- package/app/services/toolbar.service.js +89 -0
- package/app/services/toolbar.service.js.map +1 -0
- package/app/services/update.service.d.ts +25 -0
- package/app/services/update.service.js +47 -0
- package/app/services/update.service.js.map +1 -0
- package/app/services/view-dialog.service.d.ts +28 -0
- package/app/services/view-dialog.service.js +113 -0
- package/app/services/view-dialog.service.js.map +1 -0
- package/app/services/view-instances.service.d.ts +37 -0
- package/app/services/view-instances.service.js +132 -0
- package/app/services/view-instances.service.js.map +1 -0
- package/app/services/web-view.service.d.ts +56 -0
- package/app/services/web-view.service.js +302 -0
- package/app/services/web-view.service.js.map +1 -0
- package/app/services/window-error-handler.d.ts +18 -0
- package/app/services/window-error-handler.js +43 -0
- package/app/services/window-error-handler.js.map +1 -0
- package/app/services/window-part-host.service.d.ts +201 -0
- package/app/services/window-part-host.service.js +796 -0
- package/app/services/window-part-host.service.js.map +1 -0
- package/app/services/window-row-overlay.service.d.ts +15 -0
- package/app/services/window-row-overlay.service.js +79 -0
- package/app/services/window-row-overlay.service.js.map +1 -0
- package/package.json +49 -3
- package/resources.d.ts +1042 -0
- package/resources.js +1454 -0
- package/resources.js.map +1 -0
- package/testing/models/fake-window-part-context.d.ts +1422 -0
- package/testing/models/fake-window-part-context.js +110 -0
- package/testing/models/fake-window-part-context.js.map +1 -0
- package/testing/models/fake-window-secrets.d.ts +109 -0
- package/testing/models/fake-window-secrets.js +14 -0
- package/testing/models/fake-window-secrets.js.map +1 -0
- package/testing/models/fake-window-web-views.d.ts +66 -0
- package/testing/models/fake-window-web-views.js +12 -0
- package/testing/models/fake-window-web-views.js.map +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-window-part-context.js","sourceRoot":"","sources":["../../../../../src/noldova.desktop.window/src/app/interfaces/i-window-part-context.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import type { Signal, Type } from "@angular/core";
|
|
9
|
+
import type { JsonObject, JsonValue } from "@noldova/context.json";
|
|
10
|
+
import type { AgentControlState, NotificationPost, SettingChange, SettingEntry, SettingOption, SettingScope, WebViewPane } from "@noldova/desktop.protocol";
|
|
11
|
+
import type { DockSide } from "../enums/dock-side.js";
|
|
12
|
+
import type { FileSaveOutcome } from "../enums/file-save-outcome.js";
|
|
13
|
+
import type { DocumentHeading } from "../models/document-heading.js";
|
|
14
|
+
import type { IssuedFileGrants } from "../models/issued-file-grants.js";
|
|
15
|
+
import type { Tab } from "../models/layout/tab.js";
|
|
16
|
+
import type { MenuItem } from "../models/menu-item.js";
|
|
17
|
+
import type { ViewBadge } from "../models/view-badge.js";
|
|
18
|
+
import type { ICommandKey } from "./i-command-key.js";
|
|
19
|
+
import type { IDocumentUpdate } from "./i-document-update.js";
|
|
20
|
+
import type { IInAppBrowser } from "./i-in-app-browser.js";
|
|
21
|
+
import type { ILinkOpenOptions } from "./i-link-open-options.js";
|
|
22
|
+
import type { IFileChoiceOptions } from "./i-file-choice-options.js";
|
|
23
|
+
import type { IFilePathChoiceOptions } from "./i-file-path-choice-options.js";
|
|
24
|
+
import type { IFileGrantOptions } from "./i-file-grant-options.js";
|
|
25
|
+
import type { ISelectionSource } from "./i-selection-source.js";
|
|
26
|
+
import type { IWebViewHandle } from "./i-web-view-handle.js";
|
|
27
|
+
import type { IWindowPalette } from "./i-window-palette.js";
|
|
28
|
+
import type { IWindowPartContext } from "./i-window-part-context.js";
|
|
29
|
+
export interface IWindowPartHost {
|
|
30
|
+
readonly agentControl: Signal<AgentControlState | null>;
|
|
31
|
+
readonly platform: string;
|
|
32
|
+
requestAsync(method: string, payload: JsonValue): Promise<JsonValue>;
|
|
33
|
+
onEvent(name: string, listener: (payload: JsonValue) => void): () => void;
|
|
34
|
+
openDocument(moduleId: string, name: string, instance: string, heading: DocumentHeading, isPreview: boolean, after: string | null): void;
|
|
35
|
+
keepDocument(moduleId: string, name: string, instance: string): void;
|
|
36
|
+
closeDocument(moduleId: string, name: string, instance: string): void;
|
|
37
|
+
forgetDocument(moduleId: string, name: string, instance: string): void;
|
|
38
|
+
onDocumentClosed(name: string, listener: (instance: string) => void): () => void;
|
|
39
|
+
onTabRenamed(name: string, listener: (instance: string, title: string) => void): () => void;
|
|
40
|
+
listOpenDocumentsAsync(moduleId: string, name: string): Promise<readonly string[] | null>;
|
|
41
|
+
updateDocument(moduleId: string, name: string, instance: string, title: string | null, breadcrumb: readonly string[] | null, breadcrumbIcon: string | null): void;
|
|
42
|
+
openDocumentLook(moduleId: string, name: string, instance: string, change: IDocumentUpdate): void;
|
|
43
|
+
updateDocumentLook(name: string, instance: string, change: IDocumentUpdate): void;
|
|
44
|
+
openView(moduleId: string, name: string, instance: string, heading: DocumentHeading, icon: string | null, tabGroup: string | null): void;
|
|
45
|
+
updateView(moduleId: string, name: string, instance: string, title: string | null, icon: string | null, breadcrumb: readonly string[] | null, breadcrumbIcon: string | null): void;
|
|
46
|
+
closeView(moduleId: string, name: string, instance: string): void;
|
|
47
|
+
showView(moduleId: string, name: string): void;
|
|
48
|
+
hideViewDock(moduleId: string, name: string, instance: string | null): void;
|
|
49
|
+
growViewDock(name: string, instance: string | null, minimum: number): () => void;
|
|
50
|
+
viewDockOf(name: string, instance: string | null): Signal<DockSide | null>;
|
|
51
|
+
onViewClosed(name: string, listener: (instance: string) => void): () => void;
|
|
52
|
+
showInDialogAsync(name: string, instance: string | null, title: string | null): Promise<void>;
|
|
53
|
+
openBelowWindowRow<T>(context: IWindowPartContext, component: Type<T>): IWindowPalette<T> | null;
|
|
54
|
+
log(moduleId: string, message: string): void;
|
|
55
|
+
openLinkAsync(url: string, options: ILinkOpenOptions): Promise<void>;
|
|
56
|
+
showLinkMenu(url: string, event: MouseEvent): void;
|
|
57
|
+
registerInAppBrowser(browser: IInAppBrowser, log: (message: string) => void): () => void;
|
|
58
|
+
showInFolderAsync(path: string): Promise<void>;
|
|
59
|
+
openFileAsync(path: string): Promise<void>;
|
|
60
|
+
openWebViewAsync(context: IWindowPartContext, moduleId: string, pane: WebViewPane, tab: Tab, profileKey: string): Promise<IWebViewHandle>;
|
|
61
|
+
chooseFolderAsync(): Promise<string | null>;
|
|
62
|
+
chooseFilePathAsync(options: IFilePathChoiceOptions): Promise<string | null>;
|
|
63
|
+
saveFileAsync(name: string, bytes: Uint8Array): Promise<FileSaveOutcome>;
|
|
64
|
+
chooseFilesAsync(moduleId: string, options: IFileChoiceOptions): Promise<IssuedFileGrants>;
|
|
65
|
+
grantFilesAsync(moduleId: string, files: readonly File[], options: IFileGrantOptions): Promise<IssuedFileGrants>;
|
|
66
|
+
discardFileGrants(grants: readonly string[]): void;
|
|
67
|
+
isCommandRegistered(name: string): boolean;
|
|
68
|
+
findPlaceholderName(): string | null;
|
|
69
|
+
declaresDynamicMenuGroup(moduleId: string, group: string): boolean;
|
|
70
|
+
provideMenuGroup(group: string, provider: (context: JsonObject) => readonly MenuItem[]): () => void;
|
|
71
|
+
declaresDynamicSetting(setting: string): boolean;
|
|
72
|
+
provideSettingOptions(setting: string, provider: (values: JsonObject) => readonly SettingOption[] | null): () => void;
|
|
73
|
+
refreshSettingOptions(setting: string): void;
|
|
74
|
+
declaresCheckedSetting(setting: string): boolean;
|
|
75
|
+
provideSettingCheck(setting: string, check: (value: string) => string | null): () => void;
|
|
76
|
+
runCommandAsync(name: string, commandArguments: JsonValue): Promise<JsonValue>;
|
|
77
|
+
findWindowCommand(event: KeyboardEvent): string | null;
|
|
78
|
+
keyOf(name: string): Signal<ICommandKey | null>;
|
|
79
|
+
postNotificationAsync(post: NotificationPost): Promise<string>;
|
|
80
|
+
dismissNotification(id: string): void;
|
|
81
|
+
readSetting(name: string): JsonValue | undefined;
|
|
82
|
+
readSettingAsync(name: string, scope: SettingScope | null): Promise<SettingEntry>;
|
|
83
|
+
writeSettingAsync(name: string, value: JsonValue, scope: SettingScope | null): Promise<void>;
|
|
84
|
+
resetSettingAsync(name: string, scope: SettingScope | null): Promise<void>;
|
|
85
|
+
onSettingChanged(listener: (change: SettingChange) => void): () => void;
|
|
86
|
+
setViewBadge(view: string, badge: ViewBadge | null): void;
|
|
87
|
+
setTabWorking(tabKey: string, isWorking: boolean): void;
|
|
88
|
+
setTabWaiting(tabKey: string, isWaiting: boolean): void;
|
|
89
|
+
registerSelectionSource(element: HTMLElement, source: ISelectionSource): () => void;
|
|
90
|
+
refresh(): void;
|
|
91
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-window-part-host.js","sourceRoot":"","sources":["../../../../../src/noldova.desktop.window/src/app/interfaces/i-window-part-host.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
@@ -0,0 +1,160 @@
|
|
|
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 { ContentPadding } from "../enums/content-padding.js";
|
|
9
|
+
import type { IWindowPartContext } from "./i-window-part-context.js";
|
|
10
|
+
/**
|
|
11
|
+
* A module's window part: what the window activates, asks to continue after
|
|
12
|
+
* the runtime starts again, and deactivates. A module's window part exports
|
|
13
|
+
* it as `windowPart` from its `src/api/index.ts`, where the build finds it.
|
|
14
|
+
* Activation stays light; a part loads heavy code when its first view opens.
|
|
15
|
+
*/
|
|
16
|
+
export interface IWindowPart {
|
|
17
|
+
/**
|
|
18
|
+
* The module's id, which is its folder's name.
|
|
19
|
+
*/
|
|
20
|
+
readonly moduleId: string;
|
|
21
|
+
/**
|
|
22
|
+
* The padding of the module's views and documents that declare none.
|
|
23
|
+
* Leaving it out keeps the shell's padding.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```ts
|
|
27
|
+
* import { Component } from "@angular/core";
|
|
28
|
+
* import { ContentPadding, DockSide, type IWindowPart, type IWindowPartContext, ViewContribution } from "@noldova/desktop.window";
|
|
29
|
+
*
|
|
30
|
+
* @Component({ selector: "nol-terminal-panel", template: "<div class=\"terminal\"></div>" })
|
|
31
|
+
* export class TerminalPanelComponent {
|
|
32
|
+
* }
|
|
33
|
+
*
|
|
34
|
+
* export class TerminalWindowPart implements IWindowPart {
|
|
35
|
+
* public readonly moduleId: string = "terminal";
|
|
36
|
+
* public readonly padding: ContentPadding = ContentPadding.None;
|
|
37
|
+
*
|
|
38
|
+
* public activateAsync(context: IWindowPartContext): Promise<void> {
|
|
39
|
+
* context.registerView(new ViewContribution("terminal.panel", "Terminal", "terminal", DockSide.Bottom, true, () => Promise.resolve(TerminalPanelComponent)));
|
|
40
|
+
* return Promise.resolve();
|
|
41
|
+
* }
|
|
42
|
+
*
|
|
43
|
+
* public reconnectAsync(): Promise<boolean> {
|
|
44
|
+
* return Promise.resolve(true);
|
|
45
|
+
* }
|
|
46
|
+
*
|
|
47
|
+
* public deactivateAsync(): Promise<void> {
|
|
48
|
+
* return Promise.resolve();
|
|
49
|
+
* }
|
|
50
|
+
* }
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
readonly padding?: ContentPadding;
|
|
54
|
+
/**
|
|
55
|
+
* Registers the part's contributions through its context. The window
|
|
56
|
+
* calls it once, in module order, after the parts of the module's
|
|
57
|
+
* dependencies have activated.
|
|
58
|
+
*
|
|
59
|
+
* @param context The part's context, which it keeps until it deactivates.
|
|
60
|
+
* @returns A promise that settles once the part has activated; a rejection
|
|
61
|
+
* fails the part in this window alone and withdraws its contributions.
|
|
62
|
+
* @example
|
|
63
|
+
* ```ts
|
|
64
|
+
* import { type IWindowPart, type IWindowPartContext, StatusBarItemContribution, StatusBarItemState, StatusBarSide } from "@noldova/desktop.window";
|
|
65
|
+
*
|
|
66
|
+
* export class ClockWindowPart implements IWindowPart {
|
|
67
|
+
* public readonly moduleId: string = "clock";
|
|
68
|
+
*
|
|
69
|
+
* public activateAsync(context: IWindowPartContext): Promise<void> {
|
|
70
|
+
* context.registerStatusBarItem(new StatusBarItemContribution("clock.time", StatusBarSide.Right, new StatusBarItemState("12:00")));
|
|
71
|
+
* return Promise.resolve();
|
|
72
|
+
* }
|
|
73
|
+
*
|
|
74
|
+
* public reconnectAsync(): Promise<boolean> {
|
|
75
|
+
* return Promise.resolve(false);
|
|
76
|
+
* }
|
|
77
|
+
*
|
|
78
|
+
* public deactivateAsync(): Promise<void> {
|
|
79
|
+
* return Promise.resolve();
|
|
80
|
+
* }
|
|
81
|
+
* }
|
|
82
|
+
* ```
|
|
83
|
+
*/
|
|
84
|
+
activateAsync(context: IWindowPartContext): Promise<void>;
|
|
85
|
+
/**
|
|
86
|
+
* Asks the part, once the runtime is ready again, whether it continues
|
|
87
|
+
* with its context, contributions, views and documents. Before resolving
|
|
88
|
+
* true, the part reads again through its context everything it took from
|
|
89
|
+
* the runtime, including its notifications, because the new runtime may
|
|
90
|
+
* hold other state and events sent while it was away are lost.
|
|
91
|
+
*
|
|
92
|
+
* @returns A promise of true when the part continues, or false to have the
|
|
93
|
+
* window deactivate it and activate it again, which is always safe; a
|
|
94
|
+
* rejection rebuilds it the same way and logs the failure.
|
|
95
|
+
* @example
|
|
96
|
+
* ```ts
|
|
97
|
+
* import type { JsonValue } from "@noldova/context.json";
|
|
98
|
+
* import type { IWindowPart, IWindowPartContext } from "@noldova/desktop.window";
|
|
99
|
+
*
|
|
100
|
+
* export class NotesWindowPart implements IWindowPart {
|
|
101
|
+
* private context: IWindowPartContext | null = null;
|
|
102
|
+
*
|
|
103
|
+
* public readonly moduleId: string = "notes";
|
|
104
|
+
* public notes: JsonValue = null;
|
|
105
|
+
*
|
|
106
|
+
* public async activateAsync(context: IWindowPartContext): Promise<void> {
|
|
107
|
+
* this.context = context;
|
|
108
|
+
* this.notes = await context.requestAsync("notes.list", null);
|
|
109
|
+
* }
|
|
110
|
+
*
|
|
111
|
+
* public async reconnectAsync(): Promise<boolean> {
|
|
112
|
+
* if (this.context === null)
|
|
113
|
+
* return false;
|
|
114
|
+
* this.notes = await this.context.requestAsync("notes.list", null);
|
|
115
|
+
* return true;
|
|
116
|
+
* }
|
|
117
|
+
*
|
|
118
|
+
* public deactivateAsync(): Promise<void> {
|
|
119
|
+
* this.context = null;
|
|
120
|
+
* this.notes = null;
|
|
121
|
+
* return Promise.resolve();
|
|
122
|
+
* }
|
|
123
|
+
* }
|
|
124
|
+
* ```
|
|
125
|
+
*/
|
|
126
|
+
reconnectAsync(): Promise<boolean>;
|
|
127
|
+
/**
|
|
128
|
+
* Releases what the part holds besides its contributions, such as timers.
|
|
129
|
+
* The window calls it in reverse module order and then withdraws the
|
|
130
|
+
* part's contributions, subscriptions and notifications itself.
|
|
131
|
+
*
|
|
132
|
+
* @returns A promise that settles once the part has released them.
|
|
133
|
+
* @example
|
|
134
|
+
* ```ts
|
|
135
|
+
* import type { IWindowPart } from "@noldova/desktop.window";
|
|
136
|
+
*
|
|
137
|
+
* export class TickerWindowPart implements IWindowPart {
|
|
138
|
+
* private timer: ReturnType<typeof setInterval> | null = null;
|
|
139
|
+
*
|
|
140
|
+
* public readonly moduleId: string = "ticker";
|
|
141
|
+
*
|
|
142
|
+
* public activateAsync(): Promise<void> {
|
|
143
|
+
* this.timer = setInterval(() => undefined, 1000);
|
|
144
|
+
* return Promise.resolve();
|
|
145
|
+
* }
|
|
146
|
+
*
|
|
147
|
+
* public reconnectAsync(): Promise<boolean> {
|
|
148
|
+
* return Promise.resolve(true);
|
|
149
|
+
* }
|
|
150
|
+
*
|
|
151
|
+
* public deactivateAsync(): Promise<void> {
|
|
152
|
+
* if (this.timer !== null)
|
|
153
|
+
* clearInterval(this.timer);
|
|
154
|
+
* return Promise.resolve();
|
|
155
|
+
* }
|
|
156
|
+
* }
|
|
157
|
+
* ```
|
|
158
|
+
*/
|
|
159
|
+
deactivateAsync(): Promise<void>;
|
|
160
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-window-part.js","sourceRoot":"","sources":["../../../../../src/noldova.desktop.window/src/app/interfaces/i-window-part.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
@@ -0,0 +1,69 @@
|
|
|
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
|
+
/**
|
|
9
|
+
* A window part's secrets, as {@link IWindowPartContext.secrets} gives them:
|
|
10
|
+
* a sign-in field saves a token the module's runtime part reads. Every call
|
|
11
|
+
* goes to the runtime, which refuses it as `Unavailable` until the app's main
|
|
12
|
+
* process has connected, and a value never comes back to the window.
|
|
13
|
+
*/
|
|
14
|
+
export interface IWindowSecrets {
|
|
15
|
+
/**
|
|
16
|
+
* Saves a value under one of the module's own names, replacing any value
|
|
17
|
+
* saved there.
|
|
18
|
+
*
|
|
19
|
+
* @param name The name, `<module>.<member>`.
|
|
20
|
+
* @param value The value, from 1 to 16,384 characters, with no lone surrogate.
|
|
21
|
+
* @returns A promise that rejects with `WindowPartAccessException` when the
|
|
22
|
+
* name is another module's, `ArgumentException` when the name or value is
|
|
23
|
+
* not valid, and the runtime's failure when this machine has no keyring to
|
|
24
|
+
* protect the value; nothing is saved then.
|
|
25
|
+
* @example
|
|
26
|
+
* ```ts
|
|
27
|
+
* import type { IWindowPartContext } from "@noldova/desktop.window";
|
|
28
|
+
*
|
|
29
|
+
* export function signIn(context: IWindowPartContext, token: string): Promise<void> {
|
|
30
|
+
* return context.secrets.saveAsync("notes.syncToken", token);
|
|
31
|
+
* }
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
saveAsync(name: string, value: string): Promise<void>;
|
|
35
|
+
/**
|
|
36
|
+
* Removes the value saved under one of the module's own names, if any.
|
|
37
|
+
*
|
|
38
|
+
* @param name The name, `<module>.<member>`.
|
|
39
|
+
* @returns A promise that rejects with `WindowPartAccessException` when the
|
|
40
|
+
* name is another module's, and `ArgumentException` when it is not valid.
|
|
41
|
+
* @example
|
|
42
|
+
* ```ts
|
|
43
|
+
* import type { IWindowPartContext } from "@noldova/desktop.window";
|
|
44
|
+
*
|
|
45
|
+
* export function signOut(context: IWindowPartContext): Promise<void> {
|
|
46
|
+
* return context.secrets.removeAsync("notes.syncToken");
|
|
47
|
+
* }
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
removeAsync(name: string): Promise<void>;
|
|
51
|
+
/**
|
|
52
|
+
* Says whether a value is saved under one of the module's own names on this
|
|
53
|
+
* machine, without reading it.
|
|
54
|
+
*
|
|
55
|
+
* @param name The name, `<module>.<member>`.
|
|
56
|
+
* @returns A promise of whether a value is saved; it rejects with
|
|
57
|
+
* `WindowPartAccessException` when the name is another module's, and
|
|
58
|
+
* `ArgumentException` when it is not valid.
|
|
59
|
+
* @example
|
|
60
|
+
* ```ts
|
|
61
|
+
* import type { IWindowPartContext } from "@noldova/desktop.window";
|
|
62
|
+
*
|
|
63
|
+
* export function isSignedIn(context: IWindowPartContext): Promise<boolean> {
|
|
64
|
+
* return context.secrets.isSetAsync("notes.syncToken");
|
|
65
|
+
* }
|
|
66
|
+
* ```
|
|
67
|
+
*/
|
|
68
|
+
isSetAsync(name: string): Promise<boolean>;
|
|
69
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-window-secrets.js","sourceRoot":"","sources":["../../../../../src/noldova.desktop.window/src/app/interfaces/i-window-secrets.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { WebViewPane } from "@noldova/desktop.protocol";
|
|
9
|
+
import type { IWebViewHandle } from "./i-web-view-handle.js";
|
|
10
|
+
/**
|
|
11
|
+
* A window part's web views, as {@link IWindowPartContext.webViews} gives
|
|
12
|
+
* them.
|
|
13
|
+
*/
|
|
14
|
+
export interface IWindowWebViews {
|
|
15
|
+
/**
|
|
16
|
+
* Opens a web view for one of the module's open views or documents, on the
|
|
17
|
+
* module's own profile with that key. A pane holds up to 32 views, of which
|
|
18
|
+
* one shows at a time; the module declares what its views' debugging calls
|
|
19
|
+
* may do in `webViews.json`.
|
|
20
|
+
*
|
|
21
|
+
* @param pane The view or document, which the module owns and which is open.
|
|
22
|
+
* @param profileKey The profile's key: a lowercase letter or digit followed
|
|
23
|
+
* by up to 63 lowercase letters, digits and hyphens.
|
|
24
|
+
* @returns A promise of the view's handle, hidden until the part shows it;
|
|
25
|
+
* it rejects when the pane belongs to another module, isn't declared or
|
|
26
|
+
* isn't open, the module declares no `webViews.json`, the pane holds as
|
|
27
|
+
* many views as it may, or the key isn't valid.
|
|
28
|
+
* @example
|
|
29
|
+
* ```ts
|
|
30
|
+
* import { QualifiedName, WebViewPane } from "@noldova/desktop.protocol";
|
|
31
|
+
* import type { IWebViewHandle, IWindowPartContext } from "@noldova/desktop.window";
|
|
32
|
+
*
|
|
33
|
+
* export function openPage(context: IWindowPartContext): Promise<IWebViewHandle> {
|
|
34
|
+
* return context.webViews.openAsync(new WebViewPane(QualifiedName.parse("browser.page"), "tab-1"), "workspace-1");
|
|
35
|
+
* }
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
openAsync(pane: WebViewPane, profileKey: string): Promise<IWebViewHandle>;
|
|
39
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-window-web-views.js","sourceRoot":"","sources":["../../../../../src/noldova.desktop.window/src/app/interfaces/i-window-web-views.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import "@noldova/context.core";
|
|
9
|
+
import { ModePreference, Typography } from "@noldova/ui.components.angular";
|
|
10
|
+
import { type JsonObject, type JsonValue } from "@noldova/context.json";
|
|
11
|
+
export declare class AppearancePreferences {
|
|
12
|
+
private static readonly SETTINGS;
|
|
13
|
+
readonly theme: string;
|
|
14
|
+
readonly mode: ModePreference;
|
|
15
|
+
readonly typography: Typography;
|
|
16
|
+
constructor(theme: string, mode: ModePreference, typography: Typography);
|
|
17
|
+
static fromSettings(read: (name: string) => JsonValue | undefined): AppearancePreferences | null;
|
|
18
|
+
static fromJson(value: unknown): AppearancePreferences | null;
|
|
19
|
+
equals(other: AppearancePreferences | null): boolean;
|
|
20
|
+
toJson(): JsonObject;
|
|
21
|
+
private static read;
|
|
22
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import "@noldova/context.core";
|
|
9
|
+
import { FontChoice, ModePreference, Typography } from "@noldova/ui.components.angular";
|
|
10
|
+
import { JsonReader } from "@noldova/context.json";
|
|
11
|
+
import { Resources } from "../../resources.js";
|
|
12
|
+
export class AppearancePreferences {
|
|
13
|
+
static SETTINGS = [Resources.themeSetting, Resources.modeSetting, Resources.panelSizeSetting, Resources.messageSizeSetting, Resources.codeSizeSetting, Resources.interfaceFontSetting, Resources.codeFontSetting];
|
|
14
|
+
theme;
|
|
15
|
+
mode;
|
|
16
|
+
typography;
|
|
17
|
+
constructor(theme, mode, typography) {
|
|
18
|
+
this.theme = theme;
|
|
19
|
+
this.mode = mode;
|
|
20
|
+
this.typography = typography;
|
|
21
|
+
}
|
|
22
|
+
static fromSettings(read) {
|
|
23
|
+
return AppearancePreferences.fromJson(Object.fromEntries(AppearancePreferences.SETTINGS.map(t => [t, read(t)])));
|
|
24
|
+
}
|
|
25
|
+
static fromJson(value) {
|
|
26
|
+
try {
|
|
27
|
+
return AppearancePreferences.read(JsonReader.fromValue(value));
|
|
28
|
+
}
|
|
29
|
+
catch {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
equals(other) {
|
|
34
|
+
return !Object.isNull(other) && JSON.stringify(this.toJson()) === JSON.stringify(other.toJson());
|
|
35
|
+
}
|
|
36
|
+
toJson() {
|
|
37
|
+
return {
|
|
38
|
+
[Resources.themeSetting]: this.theme,
|
|
39
|
+
[Resources.modeSetting]: this.mode,
|
|
40
|
+
[Resources.interfaceFontSetting]: this.typography.interfaceFont,
|
|
41
|
+
[Resources.codeFontSetting]: this.typography.codeFont,
|
|
42
|
+
[Resources.panelSizeSetting]: this.typography.panelSize,
|
|
43
|
+
[Resources.messageSizeSetting]: this.typography.messageSize,
|
|
44
|
+
[Resources.codeSizeSetting]: this.typography.codeSize
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
static read(json) {
|
|
48
|
+
return new AppearancePreferences(json.readString(Resources.themeSetting), json.readOneOf(Resources.modeSetting, Object.values(ModePreference)), new Typography(json.readNumber(Resources.panelSizeSetting), json.readNumber(Resources.messageSizeSetting), json.readNumber(Resources.codeSizeSetting), json.readOneOf(Resources.interfaceFontSetting, Object.values(FontChoice)), json.readOneOf(Resources.codeFontSetting, Object.values(FontChoice))));
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=appearance-preferences.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appearance-preferences.js","sourceRoot":"","sources":["../../../../../src/noldova.desktop.window/src/app/models/appearance-preferences.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,uBAAuB,CAAC;AAC/B,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AACxF,OAAO,EAAmB,UAAU,EAAkB,MAAM,uBAAuB,CAAC;AAEpF,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,MAAM,OAAO,qBAAqB;IACxB,MAAM,CAAU,QAAQ,GAAsB,CAAC,SAAS,CAAC,YAAY,EAAE,SAAS,CAAC,WAAW,EAAE,SAAS,CAAC,gBAAgB,EAAE,SAAS,CAAC,kBAAkB,EAAE,SAAS,CAAC,eAAe,EAAE,SAAS,CAAC,oBAAoB,EAAE,SAAS,CAAC,eAAe,CAAC,CAAC;IAEtO,KAAK,CAAS;IACd,IAAI,CAAiB;IACrB,UAAU,CAAa;IAEvC,YAAmB,KAAa,EAAE,IAAoB,EAAE,UAAsB;QAC5E,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC/B,CAAC;IAEM,MAAM,CAAC,YAAY,CAAC,IAA6C;QACtE,OAAO,qBAAqB,CAAC,QAAQ,CAAC,MAAM,CAAC,WAAW,CAAC,qBAAqB,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACnH,CAAC;IAEM,MAAM,CAAC,QAAQ,CAAC,KAAc;QACnC,IAAI,CAAC;YACH,OAAO,qBAAqB,CAAC,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;QACjE,CAAC;QACD,MAAM,CAAC;YACL,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IAEM,MAAM,CAAC,KAAmC;QAC/C,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,KAAK,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;IACnG,CAAC;IAEM,MAAM;QACX,OAAO;YACL,CAAC,SAAS,CAAC,YAAY,CAAC,EAAE,IAAI,CAAC,KAAK;YACpC,CAAC,SAAS,CAAC,WAAW,CAAC,EAAE,IAAI,CAAC,IAAI;YAClC,CAAC,SAAS,CAAC,oBAAoB,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC,aAAa;YAC/D,CAAC,SAAS,CAAC,eAAe,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC,QAAQ;YACrD,CAAC,SAAS,CAAC,gBAAgB,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC,SAAS;YACvD,CAAC,SAAS,CAAC,kBAAkB,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC,WAAW;YAC3D,CAAC,SAAS,CAAC,eAAe,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC,QAAQ;SACtD,CAAC;IACJ,CAAC;IAEO,MAAM,CAAC,IAAI,CAAC,IAAgB;QAClC,OAAO,IAAI,qBAAqB,CAC9B,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,YAAY,CAAC,EACvC,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC,EACpE,IAAI,UAAU,CACZ,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,gBAAgB,CAAC,EAC3C,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,kBAAkB,CAAC,EAC7C,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,eAAe,CAAC,EAC1C,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,oBAAoB,EAAE,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,EACzE,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,eAAe,EAAE,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;IAC7E,CAAC"}
|
|
@@ -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 declare class BuildInfo {
|
|
9
|
+
readonly productVersion: string;
|
|
10
|
+
readonly fingerprint: string;
|
|
11
|
+
constructor(productVersion: string, fingerprint: string);
|
|
12
|
+
static fromJson(value: unknown): BuildInfo;
|
|
13
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { JsonReader } from "@noldova/context.json";
|
|
9
|
+
import { Resources } from "../../resources.js";
|
|
10
|
+
export class BuildInfo {
|
|
11
|
+
productVersion;
|
|
12
|
+
fingerprint;
|
|
13
|
+
constructor(productVersion, fingerprint) {
|
|
14
|
+
this.productVersion = productVersion;
|
|
15
|
+
this.fingerprint = fingerprint;
|
|
16
|
+
}
|
|
17
|
+
static fromJson(value) {
|
|
18
|
+
const json = JsonReader.fromValue(value);
|
|
19
|
+
return new BuildInfo(json.readString(Resources.productVersionField), json.readString(Resources.fingerprintField));
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=build-info.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build-info.js","sourceRoot":"","sources":["../../../../../src/noldova.desktop.window/src/app/models/build-info.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEnD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,MAAM,OAAO,SAAS;IACJ,cAAc,CAAS;IACvB,WAAW,CAAS;IAEpC,YAAmB,cAAsB,EAAE,WAAmB;QAC5D,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACjC,CAAC;IAEM,MAAM,CAAC,QAAQ,CAAC,KAAc;QACnC,MAAM,IAAI,GAAG,UAAU,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;QACzC,OAAO,IAAI,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,mBAAmB,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC,CAAC;IACpH,CAAC;CACF"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { InjectionToken } from "@angular/core";
|
|
9
|
+
import type { IProductAbout } from "../interfaces/i-product-about.js";
|
|
10
|
+
import type { MenuDeclarations } from "./menu-declarations.js";
|
|
11
|
+
import type { WindowPartSource } from "./window-part-source.js";
|
|
12
|
+
export declare class BuildTokens {
|
|
13
|
+
static readonly noAbout: IProductAbout;
|
|
14
|
+
static readonly sources: InjectionToken<readonly WindowPartSource[]>;
|
|
15
|
+
static readonly menus: InjectionToken<readonly MenuDeclarations[]>;
|
|
16
|
+
static readonly about: InjectionToken<IProductAbout>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
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 { InjectionToken } from "@angular/core";
|
|
9
|
+
import { Resources } from "../../resources.js";
|
|
10
|
+
export class BuildTokens {
|
|
11
|
+
static noAbout = { description: null, website: null, releases: null, licenses: null, logo: null };
|
|
12
|
+
static sources = new InjectionToken(Resources.windowPartSourcesToken, { providedIn: "root", factory: () => [] });
|
|
13
|
+
static menus = new InjectionToken(Resources.windowPartMenusToken, { providedIn: "root", factory: () => [] });
|
|
14
|
+
static about = new InjectionToken(Resources.productAboutToken, { providedIn: "root", factory: () => BuildTokens.noAbout });
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=build-tokens.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build-tokens.js","sourceRoot":"","sources":["../../../../../src/noldova.desktop.window/src/app/models/build-tokens.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAK/C,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,MAAM,OAAO,WAAW;IACf,MAAM,CAAU,OAAO,GAAkB,EAAE,WAAW,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC1H,MAAM,CAAU,OAAO,GAAgD,IAAI,cAAc,CAC9F,SAAS,CAAC,sBAAsB,EAChC,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACtC,MAAM,CAAU,KAAK,GAAgD,IAAI,cAAc,CAC5F,SAAS,CAAC,oBAAoB,EAC9B,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACtC,MAAM,CAAU,KAAK,GAAkC,IAAI,cAAc,CAC9E,SAAS,CAAC,iBAAiB,EAC3B,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,OAAO,EAAE,CAAC,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
export declare class ClipboardImage {
|
|
9
|
+
static readAsync(bytes: Uint8Array): Promise<Uint8Array | null>;
|
|
10
|
+
private static toPngAsync;
|
|
11
|
+
private static fits;
|
|
12
|
+
private static sizeOf;
|
|
13
|
+
private static jpegSizeOf;
|
|
14
|
+
private static gifSizeOf;
|
|
15
|
+
private static webpSizeOf;
|
|
16
|
+
private static readUint16;
|
|
17
|
+
private static readUint32;
|
|
18
|
+
private static readUint16Le;
|
|
19
|
+
private static readUint24Le;
|
|
20
|
+
private static view;
|
|
21
|
+
private static matches;
|
|
22
|
+
}
|