@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,175 @@
|
|
|
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, ElementRef, ErrorHandler, effect, inject, input, signal } from "@angular/core";
|
|
9
|
+
import "@noldova/context.core";
|
|
10
|
+
import { ButtonComponent, ButtonVariant, ConfigurationTableActionDirective, ConfigurationTableComponent, ConfigurationTableDirective, ConfigurationTableFillDirective, TooltipDirective } from "@noldova/ui.components.angular";
|
|
11
|
+
import { KeyChord, QualifiedName } from "@noldova/desktop.protocol";
|
|
12
|
+
import { KeyBindings } from "../../models/key-bindings.js";
|
|
13
|
+
import { ShortcutNotice } from "../../models/settings/shortcut-notice.js";
|
|
14
|
+
import { Resources } from "../../../resources.js";
|
|
15
|
+
import { CommandService } from "../../services/command.service.js";
|
|
16
|
+
import { PreloadBridgeService } from "../../services/preload-bridge.service.js";
|
|
17
|
+
import { SettingsService } from "../../services/settings.service.js";
|
|
18
|
+
import { HighlightedTextComponent } from "../highlighted-text/highlighted-text.component.js";
|
|
19
|
+
import * as i0 from "@angular/core";
|
|
20
|
+
export class ShortcutsComponent {
|
|
21
|
+
static count = 0;
|
|
22
|
+
index = ShortcutsComponent.count++;
|
|
23
|
+
settings = inject(SettingsService);
|
|
24
|
+
commands = inject(CommandService);
|
|
25
|
+
errors = inject(ErrorHandler);
|
|
26
|
+
host = inject(ElementRef);
|
|
27
|
+
platform = inject(PreloadBridgeService).platform;
|
|
28
|
+
pending = null;
|
|
29
|
+
resources = Resources;
|
|
30
|
+
isLinux = this.platform === Resources.linuxPlatform;
|
|
31
|
+
primary = ButtonVariant.Primary;
|
|
32
|
+
secondary = ButtonVariant.Secondary;
|
|
33
|
+
recording = signal(null, /* @ts-ignore */
|
|
34
|
+
...(ngDevMode ? [{ debugName: "recording" }] : /* istanbul ignore next */ []));
|
|
35
|
+
hint = signal(Resources.recordingHint, /* @ts-ignore */
|
|
36
|
+
...(ngDevMode ? [{ debugName: "hint" }] : /* istanbul ignore next */ []));
|
|
37
|
+
notice = signal(null, /* @ts-ignore */
|
|
38
|
+
...(ngDevMode ? [{ debugName: "notice" }] : /* istanbul ignore next */ []));
|
|
39
|
+
isModified = this.settings.isSet(Resources.keyBindingsSetting);
|
|
40
|
+
rows = input.required(/* @ts-ignore */
|
|
41
|
+
...(ngDevMode ? [{ debugName: "rows" }] : /* istanbul ignore next */ []));
|
|
42
|
+
query = input(String.empty, /* @ts-ignore */
|
|
43
|
+
...(ngDevMode ? [{ debugName: "query" }] : /* istanbul ignore next */ []));
|
|
44
|
+
constructor() {
|
|
45
|
+
effect(() => this.settle(this.commands.bindings()));
|
|
46
|
+
}
|
|
47
|
+
get bindings() {
|
|
48
|
+
return this.pending ?? this.commands.bindings();
|
|
49
|
+
}
|
|
50
|
+
record(row) {
|
|
51
|
+
this.notice.set(null);
|
|
52
|
+
this.hint.set(Resources.recordingHint);
|
|
53
|
+
this.recording.set(row.name);
|
|
54
|
+
}
|
|
55
|
+
press(row, event) {
|
|
56
|
+
if (this.recording() !== row.name || (event.key === Resources.tabKey && !event.ctrlKey && !event.altKey && !event.metaKey))
|
|
57
|
+
return;
|
|
58
|
+
event.preventDefault();
|
|
59
|
+
event.stopPropagation();
|
|
60
|
+
if (Resources.modifierKeys.includes(event.key)) {
|
|
61
|
+
this.hint.set(this.heldLabel(event));
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
this.recording.set(null);
|
|
65
|
+
if (event.key !== Resources.escapeKey || event.ctrlKey || event.altKey || event.shiftKey || event.metaKey)
|
|
66
|
+
this.choose(row.name, event);
|
|
67
|
+
}
|
|
68
|
+
release(row, event) {
|
|
69
|
+
if (this.recording() === row.name && Resources.modifierKeys.includes(event.key))
|
|
70
|
+
this.hint.set(this.heldLabel(event));
|
|
71
|
+
}
|
|
72
|
+
stopRecording(row) {
|
|
73
|
+
if (this.recording() === row.name)
|
|
74
|
+
this.recording.set(null);
|
|
75
|
+
}
|
|
76
|
+
remove(row) {
|
|
77
|
+
this.write(this.bindings.with(row.name, null), row.name);
|
|
78
|
+
}
|
|
79
|
+
reset(row) {
|
|
80
|
+
this.write(this.bindings.without(row.name), row.name);
|
|
81
|
+
}
|
|
82
|
+
resetAll() {
|
|
83
|
+
this.notice.set(null);
|
|
84
|
+
this.track(KeyBindings.fromJson({}), this.settings.resetAsync(Resources.keyBindingsSetting));
|
|
85
|
+
}
|
|
86
|
+
useHere(notice, holder) {
|
|
87
|
+
const bindings = this.bindings.with(notice.command, notice.key);
|
|
88
|
+
const keepsDefaults = !bindings.has(holder) && this.commands.defaultKeysOf(holder).length > 1;
|
|
89
|
+
this.write(keepsDefaults ? bindings : bindings.with(holder, null), notice.command);
|
|
90
|
+
}
|
|
91
|
+
dismiss(notice) {
|
|
92
|
+
this.notice.set(null);
|
|
93
|
+
this.focusKey(notice.command);
|
|
94
|
+
}
|
|
95
|
+
formatKeyLabel(row, isRecording) {
|
|
96
|
+
return isRecording ? Resources.formatRecordingLabel(row.title, this.hint()) : Resources.formatChangeKeyLabel(row.title, row.key);
|
|
97
|
+
}
|
|
98
|
+
collisionId(row) {
|
|
99
|
+
return `${Resources.shortcutCollisionIdPrefix}${this.index}${Resources.shortcutIdSeparator}${row.name}`;
|
|
100
|
+
}
|
|
101
|
+
noticeId(row) {
|
|
102
|
+
return `${Resources.shortcutNoticeIdPrefix}${this.index}${Resources.shortcutIdSeparator}${row.name}`;
|
|
103
|
+
}
|
|
104
|
+
describeKey(row, hasNotice) {
|
|
105
|
+
const ids = [Object.isNull(row.collision) ? null : this.collisionId(row), hasNotice ? this.noticeId(row) : null].filter(t => !Object.isNull(t));
|
|
106
|
+
return ids.length === 0 ? null : ids.join(Resources.idListSeparator);
|
|
107
|
+
}
|
|
108
|
+
choose(command, event) {
|
|
109
|
+
const shortcuts = this.commands.shortcuts();
|
|
110
|
+
if (shortcuts.find(event) === command)
|
|
111
|
+
return;
|
|
112
|
+
const key = KeyChord.fromStroke(event, this.platform);
|
|
113
|
+
if (Object.isNull(key)) {
|
|
114
|
+
this.notice.set(new ShortcutNotice(command, this.unnamedKeyRefusal(event)));
|
|
115
|
+
return;
|
|
116
|
+
}
|
|
117
|
+
const refusal = this.refusalOf(command, key);
|
|
118
|
+
if (!Object.isNull(refusal)) {
|
|
119
|
+
this.notice.set(new ShortcutNotice(command, refusal));
|
|
120
|
+
return;
|
|
121
|
+
}
|
|
122
|
+
const holder = shortcuts.holderOf(key);
|
|
123
|
+
if (Object.isUndefined(holder) || holder === command)
|
|
124
|
+
this.write(this.bindings.with(command, key), command);
|
|
125
|
+
else
|
|
126
|
+
this.notice.set(new ShortcutNotice(command, Resources.formatKeyUsed(key.label(this.platform), this.commands.titleOf(holder)), key, holder));
|
|
127
|
+
}
|
|
128
|
+
unnamedKeyRefusal(event) {
|
|
129
|
+
if (!event.metaKey || this.platform === Resources.macPlatform)
|
|
130
|
+
return Resources.unknownKeyRefused;
|
|
131
|
+
return this.platform === Resources.windowsPlatform ? Resources.windowsKeyRefused : Resources.superKeyRefused;
|
|
132
|
+
}
|
|
133
|
+
refusalOf(command, key) {
|
|
134
|
+
if (key.isTypingKey)
|
|
135
|
+
return this.platform === Resources.macPlatform ? Resources.macTypingKeyRefused : Resources.typingKeyRefused;
|
|
136
|
+
const owner = key.findReservedOwner(QualifiedName.parse(command));
|
|
137
|
+
return Object.isNull(owner) ? null : Resources.formatKeyReserved(key.label(this.platform), owner);
|
|
138
|
+
}
|
|
139
|
+
heldLabel(event) {
|
|
140
|
+
const isMac = this.platform === Resources.macPlatform;
|
|
141
|
+
const held = isMac
|
|
142
|
+
? Resources.macModifierSymbols.filter((_, index) => [event.ctrlKey, event.altKey, event.shiftKey, event.metaKey][index]).join(String.empty)
|
|
143
|
+
: Resources.modifierNames.filter((_, index) => [event.ctrlKey, event.altKey, event.shiftKey][index]).map(t => `${t}${Resources.modifierSeparator}`).join(String.empty);
|
|
144
|
+
return String.isNullOrEmpty(held) ? Resources.recordingHint : `${held}${Resources.recordingEllipsis}`;
|
|
145
|
+
}
|
|
146
|
+
write(bindings, command) {
|
|
147
|
+
this.notice.set(null);
|
|
148
|
+
this.focusKey(command);
|
|
149
|
+
this.track(bindings, this.settings.setAsync(Resources.keyBindingsSetting, bindings.toJson()));
|
|
150
|
+
}
|
|
151
|
+
track(bindings, request) {
|
|
152
|
+
this.pending = bindings;
|
|
153
|
+
request.then(() => this.settle(this.commands.bindings()), (error) => {
|
|
154
|
+
if (this.pending === bindings)
|
|
155
|
+
this.pending = null;
|
|
156
|
+
this.errors.handleError(error);
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
settle(bindings) {
|
|
160
|
+
if (this.pending?.isSameAs(bindings) === true)
|
|
161
|
+
this.pending = null;
|
|
162
|
+
}
|
|
163
|
+
focusKey(command) {
|
|
164
|
+
this.host.nativeElement.querySelector(Resources.formatShortcutKeySelector(command))?.focus();
|
|
165
|
+
}
|
|
166
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: ShortcutsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
167
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: ShortcutsComponent, isStandalone: true, selector: "nol-shortcuts", inputs: { rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: true, transformFunction: null }, query: { classPropertyName: "query", publicName: "query", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "nol-shortcuts" }, 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<nol-configuration-table [label]=\"resources.shortcutsPage\" [explanation]=\"resources.shortcutsExplanation\">\n <button type=\"button\" class=\"nol-shortcuts-reset-all\" nolConfigurationTableAction nol-button [variant]=\"secondary\" [disabled]=\"!isModified()\" (click)=\"resetAll()\">{{ resources.resetAllShortcutsLabel }}</button>\n <table class=\"nol-shortcuts-table\" nolConfigurationTable>\n <thead>\n <tr>\n <th scope=\"col\" nolConfigurationTableFill>{{ resources.commandColumn }}</th>\n <th scope=\"col\">{{ resources.ownerColumn }}</th>\n <th scope=\"col\" class=\"nol-shortcuts-key-column\">{{ resources.keyColumn }}</th>\n <th scope=\"col\" class=\"nol-shortcuts-actions-column\" [attr.aria-label]=\"resources.actionsColumn\"></th>\n </tr>\n </thead>\n <tbody>\n @for (row of rows(); track row.name) {\n @let isRecording = recording() === row.name;\n @let rowNotice = notice()?.command === row.name ? notice() : null;\n <tr [attr.data-command]=\"row.name\" [attr.data-setting]=\"row.name\">\n <td nolConfigurationTableFill>\n <span class=\"nol-shortcut-title\">\n @if (row.isModified) {\n <span class=\"nol-shortcut-marker material-symbols-rounded\" role=\"img\" [attr.aria-label]=\"resources.modifiedLabel\" [nolTooltip]=\"resources.modifiedLabel\">{{ resources.modifiedGlyph }}</span>\n }\n <nol-highlighted-text [text]=\"row.title\" [query]=\"query()\" />\n </span>\n <span class=\"nol-shortcut-name\"><nol-highlighted-text [text]=\"row.name\" [query]=\"query()\" [breaksWords]=\"true\" /></span>\n @if (row.name === resources.stopAgentControlCommand && isLinux) {\n <span class=\"nol-shortcut-name nol-shortcut-system\">{{ resources.stopKeyWaylandNote }}</span>\n }\n </td>\n <td class=\"nol-shortcut-owner\"><nol-highlighted-text [text]=\"row.owner\" [query]=\"query()\" /></td>\n <td>\n <button type=\"button\" class=\"nol-shortcut-key\" nol-button [variant]=\"secondary\" [class.nol-shortcut-key-recording]=\"isRecording\"\n [attr.aria-label]=\"formatKeyLabel(row, isRecording)\" [attr.aria-describedby]=\"describeKey(row, rowNotice !== null)\" (click)=\"record(row)\" (keydown)=\"press(row, $event)\" (keyup)=\"release(row, $event)\" (blur)=\"stopRecording(row)\">\n @if (isRecording) {\n {{ hint() }}\n } @else {\n <nol-highlighted-text [text]=\"row.key\" [query]=\"query()\" />\n }\n </button>\n @if (row.collision; as collision) {\n <span class=\"nol-shortcut-collision\" [id]=\"collisionId(row)\">{{ collision }}</span>\n }\n @if (rowNotice) {\n <div class=\"nol-shortcut-notice\" role=\"alert\">\n <span class=\"nol-shortcut-notice-text\" [id]=\"noticeId(row)\">{{ rowNotice.text }}</span>\n @if (rowNotice.holder; as holder) {\n <span class=\"nol-shortcut-notice-actions\">\n <button type=\"button\" nol-button [variant]=\"primary\" (click)=\"useHere(rowNotice, holder)\">{{ resources.useKeyHereLabel }}</button>\n <button type=\"button\" nol-button [variant]=\"secondary\" (click)=\"dismiss(rowNotice)\">{{ resources.cancelLabel }}</button>\n </span>\n }\n </div>\n }\n </td>\n <td>\n <div class=\"nol-shortcut-actions\">\n @if (row.hasKey) {\n <button type=\"button\" nol-button [variant]=\"secondary\" [attr.aria-label]=\"resources.formatRemoveKeyLabel(row.title)\" (click)=\"remove(row)\">{{ resources.removeKeyLabel }}</button>\n }\n @if (row.isModified) {\n <button type=\"button\" nol-button [variant]=\"secondary\" [attr.aria-label]=\"resources.formatResetLabel(row.title)\" (click)=\"reset(row)\">{{ resources.resetLabel }}</button>\n }\n </div>\n </td>\n </tr>\n }\n </tbody>\n </table>\n</nol-configuration-table>\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-shortcuts-key-column {\n min-width: 12rem;\n}\n\n.nol-shortcuts-actions-column {\n min-width: 9rem;\n}\n\n.nol-shortcut-title {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n min-height: var(--nol-button-height);\n}\n\n.nol-shortcut-name {\n display: block;\n overflow-wrap: anywhere;\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n}\n\n.nol-shortcut-system {\n margin-block-start: var(--nol-space-1);\n}\n\n.nol-shortcut-marker {\n flex: none;\n color: var(--nol-accent);\n font-size: var(--nol-setting-marker);\n font-variation-settings: \"FILL\" 1;\n}\n\n.nol-shortcut-owner {\n color: var(--nol-text-muted);\n}\n\n.nol-shortcut-key-recording {\n border-color: var(--nol-accent);\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n.nol-shortcut-collision,\n.nol-shortcut-notice {\n display: block;\n width: 0;\n min-width: 100%;\n white-space: normal;\n margin-top: var(--nol-space-1);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n}\n\n.nol-shortcut-collision {\n color: var(--nol-text-muted);\n}\n\n.nol-shortcut-notice {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-1);\n}\n\n.nol-shortcut-notice-actions,\n.nol-shortcut-actions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2);\n}\n\n.nol-shortcut-actions {\n justify-content: flex-end;\n}\n\n.nol-setting-row-found {\n background-color: var(--nol-selected);\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "directive", type: ConfigurationTableActionDirective, selector: "[nolConfigurationTableAction]" }, { kind: "component", type: ConfigurationTableComponent, selector: "nol-configuration-table", inputs: ["heading", "label", "level", "explanation", "density"] }, { kind: "directive", type: ConfigurationTableDirective, selector: "table[nolConfigurationTable]" }, { kind: "directive", type: ConfigurationTableFillDirective, selector: "th[nolConfigurationTableFill], td[nolConfigurationTableFill]", inputs: ["nolConfigurationTableFillMinWidth"] }, { kind: "component", type: HighlightedTextComponent, selector: "nol-highlighted-text", inputs: ["text", "query", "breaksWords"] }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
|
|
168
|
+
}
|
|
169
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: ShortcutsComponent, decorators: [{
|
|
170
|
+
type: Component,
|
|
171
|
+
args: [{ selector: "nol-shortcuts", imports: [ButtonComponent, ConfigurationTableActionDirective, ConfigurationTableComponent, ConfigurationTableDirective, ConfigurationTableFillDirective, HighlightedTextComponent, TooltipDirective], host: {
|
|
172
|
+
"class": "nol-shortcuts"
|
|
173
|
+
}, 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<nol-configuration-table [label]=\"resources.shortcutsPage\" [explanation]=\"resources.shortcutsExplanation\">\n <button type=\"button\" class=\"nol-shortcuts-reset-all\" nolConfigurationTableAction nol-button [variant]=\"secondary\" [disabled]=\"!isModified()\" (click)=\"resetAll()\">{{ resources.resetAllShortcutsLabel }}</button>\n <table class=\"nol-shortcuts-table\" nolConfigurationTable>\n <thead>\n <tr>\n <th scope=\"col\" nolConfigurationTableFill>{{ resources.commandColumn }}</th>\n <th scope=\"col\">{{ resources.ownerColumn }}</th>\n <th scope=\"col\" class=\"nol-shortcuts-key-column\">{{ resources.keyColumn }}</th>\n <th scope=\"col\" class=\"nol-shortcuts-actions-column\" [attr.aria-label]=\"resources.actionsColumn\"></th>\n </tr>\n </thead>\n <tbody>\n @for (row of rows(); track row.name) {\n @let isRecording = recording() === row.name;\n @let rowNotice = notice()?.command === row.name ? notice() : null;\n <tr [attr.data-command]=\"row.name\" [attr.data-setting]=\"row.name\">\n <td nolConfigurationTableFill>\n <span class=\"nol-shortcut-title\">\n @if (row.isModified) {\n <span class=\"nol-shortcut-marker material-symbols-rounded\" role=\"img\" [attr.aria-label]=\"resources.modifiedLabel\" [nolTooltip]=\"resources.modifiedLabel\">{{ resources.modifiedGlyph }}</span>\n }\n <nol-highlighted-text [text]=\"row.title\" [query]=\"query()\" />\n </span>\n <span class=\"nol-shortcut-name\"><nol-highlighted-text [text]=\"row.name\" [query]=\"query()\" [breaksWords]=\"true\" /></span>\n @if (row.name === resources.stopAgentControlCommand && isLinux) {\n <span class=\"nol-shortcut-name nol-shortcut-system\">{{ resources.stopKeyWaylandNote }}</span>\n }\n </td>\n <td class=\"nol-shortcut-owner\"><nol-highlighted-text [text]=\"row.owner\" [query]=\"query()\" /></td>\n <td>\n <button type=\"button\" class=\"nol-shortcut-key\" nol-button [variant]=\"secondary\" [class.nol-shortcut-key-recording]=\"isRecording\"\n [attr.aria-label]=\"formatKeyLabel(row, isRecording)\" [attr.aria-describedby]=\"describeKey(row, rowNotice !== null)\" (click)=\"record(row)\" (keydown)=\"press(row, $event)\" (keyup)=\"release(row, $event)\" (blur)=\"stopRecording(row)\">\n @if (isRecording) {\n {{ hint() }}\n } @else {\n <nol-highlighted-text [text]=\"row.key\" [query]=\"query()\" />\n }\n </button>\n @if (row.collision; as collision) {\n <span class=\"nol-shortcut-collision\" [id]=\"collisionId(row)\">{{ collision }}</span>\n }\n @if (rowNotice) {\n <div class=\"nol-shortcut-notice\" role=\"alert\">\n <span class=\"nol-shortcut-notice-text\" [id]=\"noticeId(row)\">{{ rowNotice.text }}</span>\n @if (rowNotice.holder; as holder) {\n <span class=\"nol-shortcut-notice-actions\">\n <button type=\"button\" nol-button [variant]=\"primary\" (click)=\"useHere(rowNotice, holder)\">{{ resources.useKeyHereLabel }}</button>\n <button type=\"button\" nol-button [variant]=\"secondary\" (click)=\"dismiss(rowNotice)\">{{ resources.cancelLabel }}</button>\n </span>\n }\n </div>\n }\n </td>\n <td>\n <div class=\"nol-shortcut-actions\">\n @if (row.hasKey) {\n <button type=\"button\" nol-button [variant]=\"secondary\" [attr.aria-label]=\"resources.formatRemoveKeyLabel(row.title)\" (click)=\"remove(row)\">{{ resources.removeKeyLabel }}</button>\n }\n @if (row.isModified) {\n <button type=\"button\" nol-button [variant]=\"secondary\" [attr.aria-label]=\"resources.formatResetLabel(row.title)\" (click)=\"reset(row)\">{{ resources.resetLabel }}</button>\n }\n </div>\n </td>\n </tr>\n }\n </tbody>\n </table>\n</nol-configuration-table>\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-shortcuts-key-column {\n min-width: 12rem;\n}\n\n.nol-shortcuts-actions-column {\n min-width: 9rem;\n}\n\n.nol-shortcut-title {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n min-height: var(--nol-button-height);\n}\n\n.nol-shortcut-name {\n display: block;\n overflow-wrap: anywhere;\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n}\n\n.nol-shortcut-system {\n margin-block-start: var(--nol-space-1);\n}\n\n.nol-shortcut-marker {\n flex: none;\n color: var(--nol-accent);\n font-size: var(--nol-setting-marker);\n font-variation-settings: \"FILL\" 1;\n}\n\n.nol-shortcut-owner {\n color: var(--nol-text-muted);\n}\n\n.nol-shortcut-key-recording {\n border-color: var(--nol-accent);\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n.nol-shortcut-collision,\n.nol-shortcut-notice {\n display: block;\n width: 0;\n min-width: 100%;\n white-space: normal;\n margin-top: var(--nol-space-1);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n}\n\n.nol-shortcut-collision {\n color: var(--nol-text-muted);\n}\n\n.nol-shortcut-notice {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-1);\n}\n\n.nol-shortcut-notice-actions,\n.nol-shortcut-actions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2);\n}\n\n.nol-shortcut-actions {\n justify-content: flex-end;\n}\n\n.nol-setting-row-found {\n background-color: var(--nol-selected);\n}\n"] }]
|
|
174
|
+
}], ctorParameters: () => [], propDecorators: { rows: [{ type: i0.Input, args: [{ isSignal: true, alias: "rows", required: true }] }], query: [{ type: i0.Input, args: [{ isSignal: true, alias: "query", required: false }] }] } });
|
|
175
|
+
//# sourceMappingURL=shortcuts.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shortcuts.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.desktop.window/src/app/components/shortcuts/shortcuts.component.ts","../../../../../../src/noldova.desktop.window/src/app/components/shortcuts/shortcuts.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,YAAY,EAAoC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAErI,OAAO,uBAAuB,CAAC;AAC/B,OAAO,EACL,eAAe,EAAE,aAAa,EAAE,iCAAiC,EAAE,2BAA2B,EAAE,2BAA2B,EAAE,+BAA+B,EAAE,gBAAgB,EAC/K,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAEpE,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,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
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 { SashOrientation } from "@noldova/ui.components.angular";
|
|
10
|
+
import { Resources } from "../../../resources.js";
|
|
11
|
+
import type { SplitHandle } from "../../models/layout/split-handle.js";
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
export declare class SplitSashComponent {
|
|
14
|
+
private readonly appearance;
|
|
15
|
+
private readonly layout;
|
|
16
|
+
protected readonly resources: typeof Resources;
|
|
17
|
+
protected readonly orientation: Signal<SashOrientation>;
|
|
18
|
+
protected readonly value: Signal<number>;
|
|
19
|
+
readonly handle: import("@angular/core").InputSignal<SplitHandle>;
|
|
20
|
+
protected pixels(length: number): number;
|
|
21
|
+
protected resize(delta: number): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SplitSashComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SplitSashComponent, "nol-split-sash", never, { "handle": { "alias": "handle"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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, computed, inject, input } from "@angular/core";
|
|
9
|
+
import { AppearanceService, SashComponent, SashOrientation } from "@noldova/ui.components.angular";
|
|
10
|
+
import { Resources } from "../../../resources.js";
|
|
11
|
+
import { SplitAxis } from "../../enums/split-axis.js";
|
|
12
|
+
import { LayoutService } from "../../services/layout.service.js";
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
14
|
+
export class SplitSashComponent {
|
|
15
|
+
appearance = inject(AppearanceService);
|
|
16
|
+
layout = inject(LayoutService);
|
|
17
|
+
resources = Resources;
|
|
18
|
+
orientation = computed(() => this.handle().split.axis === SplitAxis.Horizontal ? SashOrientation.Vertical : SashOrientation.Horizontal, /* @ts-ignore */
|
|
19
|
+
...(ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []));
|
|
20
|
+
value = computed(() => this.pixels(this.handle().leadingLength), /* @ts-ignore */
|
|
21
|
+
...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
22
|
+
handle = input.required(/* @ts-ignore */
|
|
23
|
+
...(ngDevMode ? [{ debugName: "handle" }] : /* istanbul ignore next */ []));
|
|
24
|
+
pixels(length) {
|
|
25
|
+
return Math.round(length * this.appearance.typography().rootSize);
|
|
26
|
+
}
|
|
27
|
+
resize(delta) {
|
|
28
|
+
this.layout.resizeSplit(this.handle(), this.handle().leadingLength + delta / this.appearance.typography().rootSize);
|
|
29
|
+
}
|
|
30
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: SplitSashComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
31
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.2.6", type: SplitSashComponent, isStandalone: true, selector: "nol-split-sash", inputs: { handle: { classPropertyName: "handle", publicName: "handle", isSignal: true, isRequired: true, transformFunction: null } }, host: { properties: { "attr.data-split": "handle().split.id", "attr.data-index": "handle().index", "style.left.rem": "handle().bounds.x", "style.top.rem": "handle().bounds.y", "style.width.rem": "handle().bounds.width", "style.height.rem": "handle().bounds.height" } }, 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<nol-sash class=\"nol-split-sash\" [orientation]=\"orientation()\" [label]=\"resources.resizeSplitLabels[handle().split.axis]\" [value]=\"value()\"\n [minimum]=\"pixels(handle().minimumLength)\" [maximum]=\"pixels(handle().maximumLength)\" (resize)=\"resize($event)\" />\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 position: absolute;\n display: flex;\n}\n\n.nol-split-sash {\n flex: 1;\n}\n"], dependencies: [{ kind: "component", type: SashComponent, selector: "nol-sash", inputs: ["orientation", "label", "value", "minimum", "maximum", "step"], outputs: ["resize"] }] });
|
|
32
|
+
}
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: SplitSashComponent, decorators: [{
|
|
34
|
+
type: Component,
|
|
35
|
+
args: [{ selector: "nol-split-sash", imports: [SashComponent], host: {
|
|
36
|
+
"[attr.data-split]": "handle().split.id",
|
|
37
|
+
"[attr.data-index]": "handle().index",
|
|
38
|
+
"[style.left.rem]": "handle().bounds.x",
|
|
39
|
+
"[style.top.rem]": "handle().bounds.y",
|
|
40
|
+
"[style.width.rem]": "handle().bounds.width",
|
|
41
|
+
"[style.height.rem]": "handle().bounds.height"
|
|
42
|
+
}, 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<nol-sash class=\"nol-split-sash\" [orientation]=\"orientation()\" [label]=\"resources.resizeSplitLabels[handle().split.axis]\" [value]=\"value()\"\n [minimum]=\"pixels(handle().minimumLength)\" [maximum]=\"pixels(handle().maximumLength)\" (resize)=\"resize($event)\" />\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 position: absolute;\n display: flex;\n}\n\n.nol-split-sash {\n flex: 1;\n}\n"] }]
|
|
43
|
+
}], propDecorators: { handle: [{ type: i0.Input, args: [{ isSignal: true, alias: "handle", required: true }] }] } });
|
|
44
|
+
//# sourceMappingURL=split-sash.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"split-sash.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.desktop.window/src/app/components/split-sash/split-sash.component.ts","../../../../../../src/noldova.desktop.window/src/app/components/split-sash/split-sash.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAe,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEhF,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEnG,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAEtD,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;;AAgBjE,MAAM,OAAO,kBAAkB;IACZ,UAAU,GAAsB,MAAM,CAAC,iBAAiB,CAAC,CAAC;IAC1D,MAAM,GAAkB,MAAM,CAAC,aAAa,CAAC,CAAC;IAE5C,SAAS,GAAqB,SAAS,CAAC;IACxC,WAAW,GAA4B,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,IAAI,KAAK,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC,CAAC,eAAe,CAAC,UAAU;oFAAC,CAAC;IACjK,KAAK,GAAmB,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,aAAa,CAAC;8EAAC,CAAC;IAEpF,MAAM,GAAG,KAAK,CAAC,QAAQ;+EAAe,CAAC;IAE7C,MAAM,CAAC,MAAc;QAC7B,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,IAAI,CAAC,UAAU,CAAC,UAAU,EAAE,CAAC,QAAQ,CAAC,CAAC;IACpE,CAAC;IAES,MAAM,CAAC,KAAa;QAC5B,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,aAAa,GAAG,KAAK,GAAG,IAAI,CAAC,UAAU,CAAC,UAAU,EAAE,CAAC,QAAQ,CAAC,CAAC;IACtH,CAAC;uGAhBU,kBAAkB;2FAAlB,kBAAkB,8dC/B/B,0bAUA,uUDSY,aAAa;;2FAYZ,kBAAkB;kBAd9B,SAAS;+BACE,gBAAgB,WACjB,CAAC,aAAa,CAAC,QAGlB;wBACJ,mBAAmB,EAAE,mBAAmB;wBACxC,mBAAmB,EAAE,gBAAgB;wBACrC,kBAAkB,EAAE,mBAAmB;wBACvC,iBAAiB,EAAE,mBAAmB;wBACtC,mBAAmB,EAAE,uBAAuB;wBAC5C,oBAAoB,EAAE,wBAAwB;qBAC/C"}
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { ButtonVariant } from "@noldova/ui.components.angular";
|
|
10
|
+
import { StartupStateKind } from "../../enums/startup-state-kind.js";
|
|
11
|
+
import type { StartupState } from "../../models/startup-state.js";
|
|
12
|
+
import { Resources } from "../../../resources.js";
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
14
|
+
export declare class StartupComponent {
|
|
15
|
+
private readonly startup;
|
|
16
|
+
protected readonly resources: typeof Resources;
|
|
17
|
+
protected readonly productName: string;
|
|
18
|
+
protected readonly kinds: typeof StartupStateKind;
|
|
19
|
+
protected readonly secondary: ButtonVariant;
|
|
20
|
+
protected readonly state: Signal<StartupState>;
|
|
21
|
+
protected readonly isActing: Signal<boolean>;
|
|
22
|
+
protected act(action: string): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StartupComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StartupComponent, "nol-startup", never, {}, {}, never, never, true, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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, inject } from "@angular/core";
|
|
9
|
+
import { ButtonComponent, ButtonVariant } from "@noldova/ui.components.angular";
|
|
10
|
+
import { StartupStateKind } from "../../enums/startup-state-kind.js";
|
|
11
|
+
import { StartupService } from "../../services/startup.service.js";
|
|
12
|
+
import { ProductName } from "../../models/product-name.js";
|
|
13
|
+
import { Resources } from "../../../resources.js";
|
|
14
|
+
import * as i0 from "@angular/core";
|
|
15
|
+
export class StartupComponent {
|
|
16
|
+
startup = inject(StartupService);
|
|
17
|
+
resources = Resources;
|
|
18
|
+
productName = ProductName.current;
|
|
19
|
+
kinds = StartupStateKind;
|
|
20
|
+
secondary = ButtonVariant.Secondary;
|
|
21
|
+
state = this.startup.state;
|
|
22
|
+
isActing = this.startup.isActing;
|
|
23
|
+
act(action) {
|
|
24
|
+
void this.startup.actAsync(action);
|
|
25
|
+
}
|
|
26
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: StartupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
27
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: StartupComponent, isStandalone: true, selector: "nol-startup", 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<section class=\"nol-startup-card\" role=\"status\" aria-live=\"polite\">\n @switch (state().kind) {\n @case (kinds.PreShellData) {\n <h1 class=\"nol-startup-title\">{{ resources.formatPreShellDataTitle(productName) }}</h1>\n <p class=\"nol-startup-detail\">{{ state().details[0] }}</p>\n <p>{{ resources.formatPreShellDataText(productName) }}</p>\n <div class=\"nol-startup-actions\">\n <button type=\"button\" nol-button [disabled]=\"isActing()\" (click)=\"act(resources.moveAsideAction)\">{{ resources.moveAside }}</button>\n </div>\n }\n @case (kinds.WorkInProgress) {\n <h1 class=\"nol-startup-title\">{{ resources.formatWorkInProgressTitle(productName) }}</h1>\n <ul class=\"nol-startup-work\">\n @for (description of state().details; track $index) {\n <li>{{ description }}</li>\n }\n </ul>\n <p>{{ resources.formatWorkInProgressText(productName) }}</p>\n <div class=\"nol-startup-actions\">\n <button type=\"button\" nol-button [disabled]=\"isActing()\" (click)=\"act(resources.waitAction)\">{{ resources.waitForWork }}</button>\n <button type=\"button\" nol-button [variant]=\"secondary\" [disabled]=\"isActing()\" (click)=\"act(resources.stopWorkAction)\">{{ resources.stopWork }}</button>\n </div>\n }\n @case (kinds.WaitingForWork) {\n <h1 class=\"nol-startup-title\">{{ resources.formatWaitingTitle(productName) }}</h1>\n <ul class=\"nol-startup-work\">\n @for (description of state().details; track $index) {\n <li>{{ description }}</li>\n }\n </ul>\n <p>{{ resources.formatWaitingText(productName) }}</p>\n }\n @case (kinds.NewerBuild) {\n <h1 class=\"nol-startup-title\">{{ resources.formatNewerBuildTitle(productName) }}</h1>\n <p>{{ resources.formatNewerBuild(productName, state().details[0] ?? \"\") }}</p>\n }\n @case (kinds.Updating) {\n <h1 class=\"nol-startup-title\">{{ resources.formatUpdatingTitle(productName, state().details[0] ?? \"\") }}</h1>\n <p class=\"nol-startup-detail\">{{ resources.formatUpdatingText(productName) }}</p>\n }\n @case (kinds.Failed) {\n <h1 class=\"nol-startup-title\">{{ resources.formatFailedTitle(productName) }}</h1>\n <p class=\"nol-startup-detail\">{{ state().details[0] }}</p>\n <div class=\"nol-startup-actions\">\n <button type=\"button\" nol-button [disabled]=\"isActing()\" (click)=\"act(resources.retryAction)\">{{ resources.tryAgain }}</button>\n </div>\n }\n @default {\n <p class=\"nol-startup-quiet\">{{ resources.formatStartingTitle(productName) }}</p>\n }\n }\n</section>\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: grid;\n place-items: center;\n box-sizing: border-box;\n min-width: 0;\n min-height: 0;\n padding: var(--nol-space-6);\n overflow: auto;\n}\n\n.nol-startup-card {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n box-sizing: border-box;\n width: min(100%, var(--nol-dialog-width));\n padding: var(--nol-space-6);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-large);\n background-color: var(--nol-panel);\n color: var(--nol-text);\n overflow-wrap: anywhere;\n}\n\n.nol-startup-title {\n margin: 0;\n font-size: var(--nol-text-panel);\n font-weight: var(--nol-weight-emphasis);\n color: var(--nol-text-strong);\n line-height: var(--nol-line-panel);\n}\n\np,\nul {\n margin: 0;\n}\n\nul {\n padding-left: var(--nol-space-6);\n}\n\n.nol-startup-detail,\n.nol-startup-quiet {\n color: var(--nol-text-muted);\n}\n\n.nol-startup-actions {\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-end;\n gap: var(--nol-space-2);\n margin-top: var(--nol-space-2);\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }] });
|
|
28
|
+
}
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: StartupComponent, decorators: [{
|
|
30
|
+
type: Component,
|
|
31
|
+
args: [{ selector: "nol-startup", imports: [ButtonComponent], 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<section class=\"nol-startup-card\" role=\"status\" aria-live=\"polite\">\n @switch (state().kind) {\n @case (kinds.PreShellData) {\n <h1 class=\"nol-startup-title\">{{ resources.formatPreShellDataTitle(productName) }}</h1>\n <p class=\"nol-startup-detail\">{{ state().details[0] }}</p>\n <p>{{ resources.formatPreShellDataText(productName) }}</p>\n <div class=\"nol-startup-actions\">\n <button type=\"button\" nol-button [disabled]=\"isActing()\" (click)=\"act(resources.moveAsideAction)\">{{ resources.moveAside }}</button>\n </div>\n }\n @case (kinds.WorkInProgress) {\n <h1 class=\"nol-startup-title\">{{ resources.formatWorkInProgressTitle(productName) }}</h1>\n <ul class=\"nol-startup-work\">\n @for (description of state().details; track $index) {\n <li>{{ description }}</li>\n }\n </ul>\n <p>{{ resources.formatWorkInProgressText(productName) }}</p>\n <div class=\"nol-startup-actions\">\n <button type=\"button\" nol-button [disabled]=\"isActing()\" (click)=\"act(resources.waitAction)\">{{ resources.waitForWork }}</button>\n <button type=\"button\" nol-button [variant]=\"secondary\" [disabled]=\"isActing()\" (click)=\"act(resources.stopWorkAction)\">{{ resources.stopWork }}</button>\n </div>\n }\n @case (kinds.WaitingForWork) {\n <h1 class=\"nol-startup-title\">{{ resources.formatWaitingTitle(productName) }}</h1>\n <ul class=\"nol-startup-work\">\n @for (description of state().details; track $index) {\n <li>{{ description }}</li>\n }\n </ul>\n <p>{{ resources.formatWaitingText(productName) }}</p>\n }\n @case (kinds.NewerBuild) {\n <h1 class=\"nol-startup-title\">{{ resources.formatNewerBuildTitle(productName) }}</h1>\n <p>{{ resources.formatNewerBuild(productName, state().details[0] ?? \"\") }}</p>\n }\n @case (kinds.Updating) {\n <h1 class=\"nol-startup-title\">{{ resources.formatUpdatingTitle(productName, state().details[0] ?? \"\") }}</h1>\n <p class=\"nol-startup-detail\">{{ resources.formatUpdatingText(productName) }}</p>\n }\n @case (kinds.Failed) {\n <h1 class=\"nol-startup-title\">{{ resources.formatFailedTitle(productName) }}</h1>\n <p class=\"nol-startup-detail\">{{ state().details[0] }}</p>\n <div class=\"nol-startup-actions\">\n <button type=\"button\" nol-button [disabled]=\"isActing()\" (click)=\"act(resources.retryAction)\">{{ resources.tryAgain }}</button>\n </div>\n }\n @default {\n <p class=\"nol-startup-quiet\">{{ resources.formatStartingTitle(productName) }}</p>\n }\n }\n</section>\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: grid;\n place-items: center;\n box-sizing: border-box;\n min-width: 0;\n min-height: 0;\n padding: var(--nol-space-6);\n overflow: auto;\n}\n\n.nol-startup-card {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n box-sizing: border-box;\n width: min(100%, var(--nol-dialog-width));\n padding: var(--nol-space-6);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-large);\n background-color: var(--nol-panel);\n color: var(--nol-text);\n overflow-wrap: anywhere;\n}\n\n.nol-startup-title {\n margin: 0;\n font-size: var(--nol-text-panel);\n font-weight: var(--nol-weight-emphasis);\n color: var(--nol-text-strong);\n line-height: var(--nol-line-panel);\n}\n\np,\nul {\n margin: 0;\n}\n\nul {\n padding-left: var(--nol-space-6);\n}\n\n.nol-startup-detail,\n.nol-startup-quiet {\n color: var(--nol-text-muted);\n}\n\n.nol-startup-actions {\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-end;\n gap: var(--nol-space-2);\n margin-top: var(--nol-space-2);\n}\n"] }]
|
|
32
|
+
}] });
|
|
33
|
+
//# sourceMappingURL=startup.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"startup.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.desktop.window/src/app/components/startup/startup.component.ts","../../../../../../src/noldova.desktop.window/src/app/components/startup/startup.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAe,MAAM,EAAE,MAAM,eAAe,CAAC;AAE/D,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAEhF,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAErE,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;;AAQlD,MAAM,OAAO,gBAAgB;IACV,OAAO,GAAmB,MAAM,CAAC,cAAc,CAAC,CAAC;IAE/C,SAAS,GAAqB,SAAS,CAAC;IACxC,WAAW,GAAW,WAAW,CAAC,OAAO,CAAC;IAC1C,KAAK,GAA4B,gBAAgB,CAAC;IAClD,SAAS,GAAkB,aAAa,CAAC,SAAS,CAAC;IACnD,KAAK,GAAyB,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC;IACjD,QAAQ,GAAoB,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC;IAE3D,GAAG,CAAC,MAAc;QAC1B,KAAK,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;uGAZU,gBAAgB;2FAAhB,gBAAgB,uECxB7B,myFA4DA,6yCDxCY,eAAe;;2FAId,gBAAgB;kBAN5B,SAAS;+BACE,aAAa,WACd,CAAC,eAAe,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BarItemsService } from "../../services/bar-items.service.js";
|
|
2
|
+
import { UpdateService } from "../../services/update.service.js";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class StatusBarComponent {
|
|
5
|
+
protected readonly bars: BarItemsService;
|
|
6
|
+
protected readonly updates: UpdateService;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StatusBarComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StatusBarComponent, "nol-status-bar", never, {}, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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, inject } from "@angular/core";
|
|
9
|
+
import { BarItemsService } from "../../services/bar-items.service.js";
|
|
10
|
+
import { ModuleFailuresComponent } from "../module-failures/module-failures.component.js";
|
|
11
|
+
import { NotificationsComponent } from "../notifications/notifications.component.js";
|
|
12
|
+
import { StatusBarItemComponent } from "../status-bar-item/status-bar-item.component.js";
|
|
13
|
+
import { UpdateService } from "../../services/update.service.js";
|
|
14
|
+
import { UpdateItemComponent } from "../update-item/update-item.component.js";
|
|
15
|
+
import * as i0 from "@angular/core";
|
|
16
|
+
export class StatusBarComponent {
|
|
17
|
+
bars = inject(BarItemsService);
|
|
18
|
+
updates = inject(UpdateService);
|
|
19
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: StatusBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
20
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: StatusBarComponent, isStandalone: true, selector: "nol-status-bar", host: { attributes: { "data-nol-chrome": "bottom" } }, 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-status-bar-side nol-status-bar-left\">\n @for (item of bars.leftItems(); track item.name) {\n <nol-status-bar-item [item]=\"item\" />\n }\n</div>\n<div class=\"nol-status-bar-side nol-status-bar-right\">\n @for (item of bars.rightItems(); track item.name) {\n <nol-status-bar-item [item]=\"item\" />\n }\n @if (updates.state().showsItem) {\n <nol-update-item />\n }\n <nol-notifications />\n <nol-module-failures />\n</div>\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: flex;\n align-items: stretch;\n justify-content: space-between;\n box-sizing: border-box;\n min-height: var(--nol-status-bar-height);\n padding: 0 var(--nol-panel-card-margin);\n background-color: var(--nol-window);\n color: var(--nol-text);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n}\n\n.nol-status-bar-side {\n display: flex;\n align-items: flex-start;\n gap: var(--nol-status-bar-item-gap);\n min-width: 0;\n}\n"], dependencies: [{ kind: "component", type: ModuleFailuresComponent, selector: "nol-module-failures" }, { kind: "component", type: NotificationsComponent, selector: "nol-notifications" }, { kind: "component", type: StatusBarItemComponent, selector: "nol-status-bar-item", inputs: ["item"] }, { kind: "component", type: UpdateItemComponent, selector: "nol-update-item" }] });
|
|
21
|
+
}
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: StatusBarComponent, decorators: [{
|
|
23
|
+
type: Component,
|
|
24
|
+
args: [{ selector: "nol-status-bar", imports: [ModuleFailuresComponent, NotificationsComponent, StatusBarItemComponent, UpdateItemComponent], host: {
|
|
25
|
+
"data-nol-chrome": "bottom"
|
|
26
|
+
}, 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-status-bar-side nol-status-bar-left\">\n @for (item of bars.leftItems(); track item.name) {\n <nol-status-bar-item [item]=\"item\" />\n }\n</div>\n<div class=\"nol-status-bar-side nol-status-bar-right\">\n @for (item of bars.rightItems(); track item.name) {\n <nol-status-bar-item [item]=\"item\" />\n }\n @if (updates.state().showsItem) {\n <nol-update-item />\n }\n <nol-notifications />\n <nol-module-failures />\n</div>\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: flex;\n align-items: stretch;\n justify-content: space-between;\n box-sizing: border-box;\n min-height: var(--nol-status-bar-height);\n padding: 0 var(--nol-panel-card-margin);\n background-color: var(--nol-window);\n color: var(--nol-text);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n}\n\n.nol-status-bar-side {\n display: flex;\n align-items: flex-start;\n gap: var(--nol-status-bar-item-gap);\n min-width: 0;\n}\n"] }]
|
|
27
|
+
}] });
|
|
28
|
+
//# sourceMappingURL=status-bar.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status-bar.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.desktop.window/src/app/components/status-bar/status-bar.component.ts","../../../../../../src/noldova.desktop.window/src/app/components/status-bar/status-bar.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAElD,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AACtE,OAAO,EAAE,uBAAuB,EAAE,MAAM,iDAAiD,CAAC;AAC1F,OAAO,EAAE,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AACrF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iDAAiD,CAAC;AACzF,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;;AAW9E,MAAM,OAAO,kBAAkB;IACV,IAAI,GAAoB,MAAM,CAAC,eAAe,CAAC,CAAC;IAChD,OAAO,GAAkB,MAAM,CAAC,aAAa,CAAC,CAAC;uGAFvD,kBAAkB;2FAAlB,kBAAkB,iIC1B/B,onBAuBA,+sBDJY,uBAAuB,gEAAE,sBAAsB,8DAAE,sBAAsB,kFAAE,mBAAmB;;2FAO3F,kBAAkB;kBAT9B,SAAS;+BACE,gBAAgB,WACjB,CAAC,uBAAuB,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,mBAAmB,CAAC,QAGjG;wBACJ,iBAAiB,EAAE,QAAQ;qBAC5B"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { type Signal } from "@angular/core";
|
|
9
|
+
import type { JsonValue } from "@noldova/context.json";
|
|
10
|
+
import type { StatusBarItem } from "../../models/status-bar-item.js";
|
|
11
|
+
import type { StatusBarItemState } from "../../models/status-bar-item-state.js";
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
export declare class StatusBarItemComponent {
|
|
14
|
+
private readonly commands;
|
|
15
|
+
private readonly errors;
|
|
16
|
+
protected readonly state: Signal<StatusBarItemState>;
|
|
17
|
+
protected readonly isMuted: Signal<boolean>;
|
|
18
|
+
readonly item: import("@angular/core").InputSignal<StatusBarItem>;
|
|
19
|
+
protected isAvailable(command: string, commandArguments: JsonValue): boolean;
|
|
20
|
+
protected run(command: string, commandArguments: JsonValue): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StatusBarItemComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StatusBarItemComponent, "nol-status-bar-item", never, { "item": { "alias": "item"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
23
|
+
}
|
|
@@ -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 { Component, ErrorHandler, computed, inject, input } from "@angular/core";
|
|
9
|
+
import { TooltipDirective } from "@noldova/ui.components.angular";
|
|
10
|
+
import { StatusBarItemTone } from "../../enums/status-bar-item-tone.js";
|
|
11
|
+
import { CommandService } from "../../services/command.service.js";
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
export class StatusBarItemComponent {
|
|
14
|
+
commands = inject(CommandService);
|
|
15
|
+
errors = inject(ErrorHandler);
|
|
16
|
+
state = computed(() => this.item().state(), /* @ts-ignore */
|
|
17
|
+
...(ngDevMode ? [{ debugName: "state" }] : /* istanbul ignore next */ []));
|
|
18
|
+
isMuted = computed(() => this.state().tone === StatusBarItemTone.Muted, /* @ts-ignore */
|
|
19
|
+
...(ngDevMode ? [{ debugName: "isMuted" }] : /* istanbul ignore next */ []));
|
|
20
|
+
item = input.required(/* @ts-ignore */
|
|
21
|
+
...(ngDevMode ? [{ debugName: "item" }] : /* istanbul ignore next */ []));
|
|
22
|
+
isAvailable(command, commandArguments) {
|
|
23
|
+
return this.commands.isAvailable(command, commandArguments);
|
|
24
|
+
}
|
|
25
|
+
run(command, commandArguments) {
|
|
26
|
+
this.commands.runAsync(command, commandArguments).catch((error) => this.errors.handleError(error));
|
|
27
|
+
}
|
|
28
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: StatusBarItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
29
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: StatusBarItemComponent, isStandalone: true, selector: "nol-status-bar-item", inputs: { item: { classPropertyName: "item", publicName: "item", isSignal: true, isRequired: true, transformFunction: null } }, host: { properties: { "attr.data-nol-item": "item().name", "class.nol-status-bar-item-hidden": "state().isHidden", "class.nol-status-bar-item-muted": "isMuted()" } }, 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@let current = state();\n@if (current.command; as command) {\n <button type=\"button\" class=\"nol-status-bar-item\" [disabled]=\"!isAvailable(command, current.commandArguments)\" [attr.aria-label]=\"current.text ? null : current.tooltip\"\n [nolTooltip]=\"current.label\" [nolTooltipTruncated]=\"!current.tooltip\" (click)=\"run(command, current.commandArguments)\">\n @if (current.icon) {\n <span class=\"material-symbols-rounded nol-status-bar-item-icon\" aria-hidden=\"true\">{{ current.icon }}</span>\n }\n @if (current.text) {\n <span class=\"nol-status-bar-item-text\" data-truncates>{{ current.text }}</span>\n }\n </button>\n} @else {\n <span class=\"nol-status-bar-item\" role=\"status\" [attr.aria-label]=\"current.text || current.tooltip\" [nolTooltip]=\"current.label\" [nolTooltipTruncated]=\"!current.tooltip\">\n @if (current.icon) {\n <span class=\"material-symbols-rounded nol-status-bar-item-icon\" aria-hidden=\"true\">{{ current.icon }}</span>\n }\n @if (current.text) {\n <span class=\"nol-status-bar-item-text\" data-truncates>{{ current.text }}</span>\n }\n </span>\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: flex;\n min-width: 0;\n height: var(--nol-status-bar-item-height);\n}\n\n:host(.nol-status-bar-item-hidden) {\n display: none;\n}\n\n.nol-status-bar-item {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-1);\n min-width: 0;\n margin: 0;\n padding: 0 var(--nol-pill-padding);\n border: 0;\n border-radius: var(--nol-radius-hover);\n background-color: transparent;\n color: inherit;\n font: inherit;\n white-space: nowrap;\n}\n\nbutton.nol-status-bar-item:enabled:hover {\n background-color: var(--nol-toolbar-hover);\n\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\nbutton.nol-status-bar-item:focus-visible {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: calc(var(--nol-border-width) * -1);\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\nbutton.nol-status-bar-item:disabled {\n opacity: 0.5;\n cursor: default;\n}\n\n:host(.nol-status-bar-item-muted) .nol-status-bar-item {\n color: var(--nol-text-muted);\n}\n\n.nol-status-bar-item-icon {\n font-size: var(--nol-icon);\n}\n"], dependencies: [{ kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
|
|
30
|
+
}
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: StatusBarItemComponent, decorators: [{
|
|
32
|
+
type: Component,
|
|
33
|
+
args: [{ selector: "nol-status-bar-item", imports: [TooltipDirective], host: {
|
|
34
|
+
"[attr.data-nol-item]": "item().name",
|
|
35
|
+
"[class.nol-status-bar-item-hidden]": "state().isHidden",
|
|
36
|
+
"[class.nol-status-bar-item-muted]": "isMuted()"
|
|
37
|
+
}, 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@let current = state();\n@if (current.command; as command) {\n <button type=\"button\" class=\"nol-status-bar-item\" [disabled]=\"!isAvailable(command, current.commandArguments)\" [attr.aria-label]=\"current.text ? null : current.tooltip\"\n [nolTooltip]=\"current.label\" [nolTooltipTruncated]=\"!current.tooltip\" (click)=\"run(command, current.commandArguments)\">\n @if (current.icon) {\n <span class=\"material-symbols-rounded nol-status-bar-item-icon\" aria-hidden=\"true\">{{ current.icon }}</span>\n }\n @if (current.text) {\n <span class=\"nol-status-bar-item-text\" data-truncates>{{ current.text }}</span>\n }\n </button>\n} @else {\n <span class=\"nol-status-bar-item\" role=\"status\" [attr.aria-label]=\"current.text || current.tooltip\" [nolTooltip]=\"current.label\" [nolTooltipTruncated]=\"!current.tooltip\">\n @if (current.icon) {\n <span class=\"material-symbols-rounded nol-status-bar-item-icon\" aria-hidden=\"true\">{{ current.icon }}</span>\n }\n @if (current.text) {\n <span class=\"nol-status-bar-item-text\" data-truncates>{{ current.text }}</span>\n }\n </span>\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: flex;\n min-width: 0;\n height: var(--nol-status-bar-item-height);\n}\n\n:host(.nol-status-bar-item-hidden) {\n display: none;\n}\n\n.nol-status-bar-item {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-1);\n min-width: 0;\n margin: 0;\n padding: 0 var(--nol-pill-padding);\n border: 0;\n border-radius: var(--nol-radius-hover);\n background-color: transparent;\n color: inherit;\n font: inherit;\n white-space: nowrap;\n}\n\nbutton.nol-status-bar-item:enabled:hover {\n background-color: var(--nol-toolbar-hover);\n\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\nbutton.nol-status-bar-item:focus-visible {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: calc(var(--nol-border-width) * -1);\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\nbutton.nol-status-bar-item:disabled {\n opacity: 0.5;\n cursor: default;\n}\n\n:host(.nol-status-bar-item-muted) .nol-status-bar-item {\n color: var(--nol-text-muted);\n}\n\n.nol-status-bar-item-icon {\n font-size: var(--nol-icon);\n}\n"] }]
|
|
38
|
+
}], propDecorators: { item: [{ type: i0.Input, args: [{ isSignal: true, alias: "item", required: true }] }] } });
|
|
39
|
+
//# sourceMappingURL=status-bar-item.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status-bar-item.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.desktop.window/src/app/components/status-bar-item/status-bar-item.component.ts","../../../../../../src/noldova.desktop.window/src/app/components/status-bar-item/status-bar-item.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,YAAY,EAAe,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAE9F,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAGlE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAGxE,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;;AAanE,MAAM,OAAO,sBAAsB;IAChB,QAAQ,GAAmB,MAAM,CAAC,cAAc,CAAC,CAAC;IAClD,MAAM,GAAiB,MAAM,CAAC,YAAY,CAAC,CAAC;IAE1C,KAAK,GAA+B,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,KAAK,EAAE;8EAAC,CAAC;IACxE,OAAO,GAAoB,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,IAAI,KAAK,iBAAiB,CAAC,KAAK;gFAAC,CAAC;IAE5F,IAAI,GAAG,KAAK,CAAC,QAAQ;6EAAiB,CAAC;IAE7C,WAAW,CAAC,OAAe,EAAE,gBAA2B;QAChE,OAAO,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,OAAO,EAAE,gBAAgB,CAAC,CAAC;IAC9D,CAAC;IAES,GAAG,CAAC,OAAe,EAAE,gBAA2B;QACxD,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,OAAO,EAAE,gBAAgB,CAAC,CAAC,KAAK,CAAC,CAAC,KAAc,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC;IAC9G,CAAC;uGAfU,sBAAsB;2FAAtB,sBAAsB,sXC7BnC,kyCA6BA,+8CDTY,gBAAgB;;2FASf,sBAAsB;kBAXlC,SAAS;+BACE,qBAAqB,WACtB,CAAC,gBAAgB,CAAC,QAGrB;wBACJ,sBAAsB,EAAE,aAAa;wBACrC,oCAAoC,EAAE,kBAAkB;wBACxD,mCAAmC,EAAE,WAAW;qBACjD"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { type InputSignal, type ResourceRef, type Signal } from "@angular/core";
|
|
2
|
+
import "@noldova/context.core";
|
|
3
|
+
import type { Tab } from "../../models/layout/tab.js";
|
|
4
|
+
import { TabContent } from "../../models/tab-content.js";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class TabContentComponent {
|
|
7
|
+
private readonly host;
|
|
8
|
+
private readonly labels;
|
|
9
|
+
private readonly injector;
|
|
10
|
+
private readonly tabFocus;
|
|
11
|
+
private readonly focusTraps;
|
|
12
|
+
private readonly growth;
|
|
13
|
+
private readonly revision;
|
|
14
|
+
private readonly stableTab;
|
|
15
|
+
private focused;
|
|
16
|
+
private isRetrying;
|
|
17
|
+
private readonly changes;
|
|
18
|
+
protected readonly content: ResourceRef<TabContent | null | undefined>;
|
|
19
|
+
protected readonly isPadded: Signal<boolean>;
|
|
20
|
+
readonly element: HTMLElement;
|
|
21
|
+
readonly tab: InputSignal<Tab>;
|
|
22
|
+
readonly isDocked: InputSignal<boolean>;
|
|
23
|
+
readonly isShown: InputSignal<boolean>;
|
|
24
|
+
readonly isLoaded: Signal<boolean>;
|
|
25
|
+
constructor();
|
|
26
|
+
protected remember(event: FocusEvent): void;
|
|
27
|
+
private follow;
|
|
28
|
+
private growDock;
|
|
29
|
+
private retry;
|
|
30
|
+
private focusInside;
|
|
31
|
+
private hasFocus;
|
|
32
|
+
private loadAsync;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabContentComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabContentComponent, "nol-tab-content", never, { "tab": { "alias": "tab"; "required": true; "isSignal": true; }; "isDocked": { "alias": "isDocked"; "required": false; "isSignal": true; }; "isShown": { "alias": "isShown"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
35
|
+
}
|