@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,273 @@
|
|
|
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 { NgComponentOutlet, NgTemplateOutlet } from "@angular/common";
|
|
9
|
+
import { Component, DestroyRef, ElementRef, ErrorHandler, Injector, PendingTasks, afterNextRender, computed, effect, inject, signal, untracked, viewChild } from "@angular/core";
|
|
10
|
+
import "@noldova/context.core";
|
|
11
|
+
import { ButtonComponent, ButtonVariant, SelectComponent, SelectOption, TextFieldComponent, TreeComponent, TreeNode } from "@noldova/ui.components.angular";
|
|
12
|
+
import { DatePattern, SettingKind } from "@noldova/desktop.protocol";
|
|
13
|
+
import { UpdateStateKind } from "../../enums/update-state-kind.js";
|
|
14
|
+
import { GalleryTokens } from "../../models/gallery-tokens.js";
|
|
15
|
+
import { SettingsPage } from "../../models/settings/settings-page.js";
|
|
16
|
+
import { ShortcutRow } from "../../models/settings/shortcut-row.js";
|
|
17
|
+
import { TextMatch } from "../../models/settings/text-match.js";
|
|
18
|
+
import { Resources } from "../../../resources.js";
|
|
19
|
+
import { ClockSettingService } from "../../services/clock-setting.service.js";
|
|
20
|
+
import { CommandService } from "../../services/command.service.js";
|
|
21
|
+
import { PreloadBridgeService } from "../../services/preload-bridge.service.js";
|
|
22
|
+
import { ModuleStatusService } from "../../services/module-status.service.js";
|
|
23
|
+
import { SettingsPageService } from "../../services/settings-page.service.js";
|
|
24
|
+
import { ModuleSwitchService } from "../../services/module-switch.service.js";
|
|
25
|
+
import { SettingCheckService } from "../../services/setting-check.service.js";
|
|
26
|
+
import { SettingOptionsService } from "../../services/setting-options.service.js";
|
|
27
|
+
import { WindowPartHostService } from "../../services/window-part-host.service.js";
|
|
28
|
+
import { SettingsService } from "../../services/settings.service.js";
|
|
29
|
+
import { SpellingService } from "../../services/spelling.service.js";
|
|
30
|
+
import { UpdateService } from "../../services/update.service.js";
|
|
31
|
+
import { AboutComponent } from "../about/about.component.js";
|
|
32
|
+
import { HighlightedTextComponent } from "../highlighted-text/highlighted-text.component.js";
|
|
33
|
+
import { RuntimeStatusComponent } from "../runtime-status/runtime-status.component.js";
|
|
34
|
+
import { SettingRowComponent } from "../setting-row/setting-row.component.js";
|
|
35
|
+
import { SettingsPageHostComponent } from "../settings-page-host/settings-page-host.component.js";
|
|
36
|
+
import { ShortcutsComponent } from "../shortcuts/shortcuts.component.js";
|
|
37
|
+
import * as i0 from "@angular/core";
|
|
38
|
+
export class SettingsComponent {
|
|
39
|
+
settings = inject(SettingsService);
|
|
40
|
+
switches = inject(ModuleSwitchService);
|
|
41
|
+
commands = inject(CommandService);
|
|
42
|
+
errors = inject(ErrorHandler);
|
|
43
|
+
bridge = inject(PreloadBridgeService);
|
|
44
|
+
clock = inject(ClockSettingService);
|
|
45
|
+
selected = signal(Resources.generalPage, /* @ts-ignore */
|
|
46
|
+
...(ngDevMode ? [{ debugName: "selected" }] : /* istanbul ignore next */ []));
|
|
47
|
+
pageList = viewChild.required("pageList", /* @ts-ignore */
|
|
48
|
+
...(ngDevMode ? [{ debugName: "pageList" }] : /* istanbul ignore next */ []));
|
|
49
|
+
column = viewChild.required("column", /* @ts-ignore */
|
|
50
|
+
...(ngDevMode ? [{ debugName: "column" }] : /* istanbul ignore next */ []));
|
|
51
|
+
pageTree = viewChild.required(TreeComponent, /* @ts-ignore */
|
|
52
|
+
...(ngDevMode ? [{ debugName: "pageTree" }] : /* istanbul ignore next */ []));
|
|
53
|
+
pageSelect = viewChild.required("pageSelect", { ...(ngDevMode ? { debugName: "pageSelect" } : /* istanbul ignore next */ {}), read: (ElementRef) });
|
|
54
|
+
pageChooser = viewChild.required("pageSelect", { ...(ngDevMode ? { debugName: "pageChooser" } : /* istanbul ignore next */ {}), read: SelectComponent });
|
|
55
|
+
isTrayAvailable = signal(true, /* @ts-ignore */
|
|
56
|
+
...(ngDevMode ? [{ debugName: "isTrayAvailable" }] : /* istanbul ignore next */ []));
|
|
57
|
+
drafts = signal(new Map(), /* @ts-ignore */
|
|
58
|
+
...(ngDevMode ? [{ debugName: "drafts" }] : /* istanbul ignore next */ []));
|
|
59
|
+
now = new Date();
|
|
60
|
+
focusedControl = null;
|
|
61
|
+
injector = inject(Injector);
|
|
62
|
+
marked = null;
|
|
63
|
+
revealer = null;
|
|
64
|
+
statuses = inject(ModuleStatusService);
|
|
65
|
+
updates = inject(UpdateService);
|
|
66
|
+
parts = inject(WindowPartHostService);
|
|
67
|
+
offeredDefinitions = computed(() => {
|
|
68
|
+
const definitions = this.settings.definitions().flatMap(t => t.name.text === Resources.timeFormatSetting ? [this.clock.definition, t] : [t]);
|
|
69
|
+
return this.updates.state().kind === UpdateStateKind.Off ? definitions.filter(t => t.page !== Resources.aboutPage) : definitions;
|
|
70
|
+
}, /* @ts-ignore */
|
|
71
|
+
...(ngDevMode ? [{ debugName: "offeredDefinitions" }] : /* istanbul ignore next */ []));
|
|
72
|
+
currentTitle = computed(() => [this.selected(), Resources.generalPage].map(t => this.pages().find(u => u.title === t || u.entry?.name === t)).find(t => !Object.isUndefined(t))?.title ?? Resources.appearancePage, /* @ts-ignore */
|
|
73
|
+
...(ngDevMode ? [{ debugName: "currentTitle" }] : /* istanbul ignore next */ []));
|
|
74
|
+
resources = Resources;
|
|
75
|
+
secondary = ButtonVariant.Secondary;
|
|
76
|
+
text = ButtonVariant.Text;
|
|
77
|
+
query = signal(String.empty, /* @ts-ignore */
|
|
78
|
+
...(ngDevMode ? [{ debugName: "query" }] : /* istanbul ignore next */ []));
|
|
79
|
+
gallery = inject(GalleryTokens.component);
|
|
80
|
+
spelling = inject(SpellingService);
|
|
81
|
+
settingOptions = inject(SettingOptionsService);
|
|
82
|
+
settingChecks = inject(SettingCheckService);
|
|
83
|
+
modules = computed(() => this.statuses.modules().map(t => new SelectOption(t.id, t.displayName)), /* @ts-ignore */
|
|
84
|
+
...(ngDevMode ? [{ debugName: "modules" }] : /* istanbul ignore next */ []));
|
|
85
|
+
notifyingModules = computed(() => this.statuses.notifying().map(t => new SelectOption(t.id, Resources.formatModuleNotifications(t.displayName))), /* @ts-ignore */
|
|
86
|
+
...(ngDevMode ? [{ debugName: "notifyingModules" }] : /* istanbul ignore next */ []));
|
|
87
|
+
values = computed(() => new Map([...this.settings.values(), [Resources.clockSetting, this.clock.value()]]), /* @ts-ignore */
|
|
88
|
+
...(ngDevMode ? [{ debugName: "values" }] : /* istanbul ignore next */ []));
|
|
89
|
+
setFlags = computed(() => new Map([...this.settings.definitions().map(t => [t.name.text, this.settings.isSet(t.name.text)]), [Resources.clockSetting, this.clock.isSet]]), /* @ts-ignore */
|
|
90
|
+
...(ngDevMode ? [{ debugName: "setFlags" }] : /* istanbul ignore next */ []));
|
|
91
|
+
isSearching = computed(() => this.query().trim().length > 0, /* @ts-ignore */
|
|
92
|
+
...(ngDevMode ? [{ debugName: "isSearching" }] : /* istanbul ignore next */ []));
|
|
93
|
+
pages = computed(() => SettingsPage.pagesOf(this.offeredDefinitions(), Object.isNull(this.gallery) ? [] : [SettingsPage.galleryOf(Resources.galleryPage)], this.parts.settingsPages()), /* @ts-ignore */
|
|
94
|
+
...(ngDevMode ? [{ debugName: "pages" }] : /* istanbul ignore next */ []));
|
|
95
|
+
currentPage = computed(() => this.pages().find(t => t.title === this.currentTitle()), /* @ts-ignore */
|
|
96
|
+
...(ngDevMode ? [{ debugName: "currentPage" }] : /* istanbul ignore next */ []));
|
|
97
|
+
pageNodes = computed(() => this.pages().map(t => new TreeNode(t.title, t.title)), /* @ts-ignore */
|
|
98
|
+
...(ngDevMode ? [{ debugName: "pageNodes" }] : /* istanbul ignore next */ []));
|
|
99
|
+
pageOptions = computed(() => this.pages().map(t => new SelectOption(t.title, t.title)), /* @ts-ignore */
|
|
100
|
+
...(ngDevMode ? [{ debugName: "pageOptions" }] : /* istanbul ignore next */ []));
|
|
101
|
+
pageChoice = computed(() => this.isSearching() ? Resources.settingsSearchResults : this.currentTitle(), /* @ts-ignore */
|
|
102
|
+
...(ngDevMode ? [{ debugName: "pageChoice" }] : /* istanbul ignore next */ []));
|
|
103
|
+
shortcuts = computed(() => {
|
|
104
|
+
const map = this.commands.shortcuts();
|
|
105
|
+
const bindings = this.commands.bindings();
|
|
106
|
+
return this.commands.commands().map(command => {
|
|
107
|
+
const collision = map.collisions.find(t => t.refused === command.name);
|
|
108
|
+
const key = this.commands.keyLabel(command.name);
|
|
109
|
+
return new ShortcutRow(command.name, command.title, this.commands.ownerOf(command.name), key ?? Resources.noKey, !Object.isNull(key), bindings.has(command.name), Object.isUndefined(collision) ? null : Resources.formatKeyTaken(collision.key.label(this.bridge.platform), this.commands.titleOf(collision.keptBy)));
|
|
110
|
+
});
|
|
111
|
+
}, /* @ts-ignore */
|
|
112
|
+
...(ngDevMode ? [{ debugName: "shortcuts" }] : /* istanbul ignore next */ []));
|
|
113
|
+
results = computed(() => {
|
|
114
|
+
const query = this.query();
|
|
115
|
+
return this.pages()
|
|
116
|
+
.map(t => t.isShortcuts ? t : t.filter(u => SettingsComponent.matches(u, query)))
|
|
117
|
+
.filter(t => t.isShortcuts ? this.matchingShortcuts().length > 0 : t.groups.length > 0 || (!Object.isNull(t.entry) && (TextMatch.contains(t.title, query) || this.matchingRows(t.entry).length > 0)));
|
|
118
|
+
}, /* @ts-ignore */
|
|
119
|
+
...(ngDevMode ? [{ debugName: "results" }] : /* istanbul ignore next */ []));
|
|
120
|
+
matchingShortcuts = computed(() => {
|
|
121
|
+
const query = this.query();
|
|
122
|
+
return this.isSearching() ? this.shortcuts().filter(t => [t.title, t.name, t.owner, t.key].some(u => TextMatch.contains(u, query))) : this.shortcuts();
|
|
123
|
+
}, /* @ts-ignore */
|
|
124
|
+
...(ngDevMode ? [{ debugName: "matchingShortcuts" }] : /* istanbul ignore next */ []));
|
|
125
|
+
constructor() {
|
|
126
|
+
const destroyRef = inject(DestroyRef);
|
|
127
|
+
const requests = inject(SettingsPageService);
|
|
128
|
+
effect(() => {
|
|
129
|
+
const page = requests.requested();
|
|
130
|
+
if (Object.isNull(page))
|
|
131
|
+
return;
|
|
132
|
+
untracked(() => {
|
|
133
|
+
const setting = requests.take();
|
|
134
|
+
this.select(page);
|
|
135
|
+
if (!Object.isNull(setting))
|
|
136
|
+
afterNextRender(() => this.reveal(setting), { injector: this.injector });
|
|
137
|
+
});
|
|
138
|
+
});
|
|
139
|
+
destroyRef.onDestroy(this.bridge.onTrayAvailable(t => this.isTrayAvailable.set(t)));
|
|
140
|
+
destroyRef.onDestroy(() => this.unmark());
|
|
141
|
+
void inject(PendingTasks).run(() => this.bridge.readTrayAvailableAsync().then(t => this.isTrayAvailable.set(t), (error) => this.errors.handleError(error)));
|
|
142
|
+
afterNextRender(() => {
|
|
143
|
+
const switched = new ResizeObserver(() => this.keepFocus());
|
|
144
|
+
switched.observe(this.pageList().nativeElement);
|
|
145
|
+
switched.observe(this.pageSelect().nativeElement);
|
|
146
|
+
destroyRef.onDestroy(() => switched.disconnect());
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
noteFocus(event) {
|
|
150
|
+
const path = event.composedPath();
|
|
151
|
+
this.focusedControl = [this.pageList().nativeElement, this.pageSelect().nativeElement].find(t => path.includes(t)) ?? null;
|
|
152
|
+
}
|
|
153
|
+
noteBlur() {
|
|
154
|
+
if (this.focusedControl?.checkVisibility() && !this.pageChooser().isExpanded())
|
|
155
|
+
this.focusedControl = null;
|
|
156
|
+
}
|
|
157
|
+
search(event) {
|
|
158
|
+
if (!(event.target instanceof HTMLInputElement))
|
|
159
|
+
return;
|
|
160
|
+
this.unmark();
|
|
161
|
+
this.query.set(event.target.value);
|
|
162
|
+
}
|
|
163
|
+
select(title) {
|
|
164
|
+
this.unmark();
|
|
165
|
+
this.query.set(String.empty);
|
|
166
|
+
this.selected.set(title);
|
|
167
|
+
}
|
|
168
|
+
matchingRows(entry) {
|
|
169
|
+
const query = this.query();
|
|
170
|
+
return entry.rows.filter(t => [t.title, t.description].some(u => !Object.isNull(u) && TextMatch.contains(u, query)));
|
|
171
|
+
}
|
|
172
|
+
openRow(page, id) {
|
|
173
|
+
this.select(page);
|
|
174
|
+
afterNextRender(() => this.reveal(id), { injector: this.injector });
|
|
175
|
+
}
|
|
176
|
+
isMutedModules(definition) {
|
|
177
|
+
return definition.name.text === Resources.mutedModulesSetting;
|
|
178
|
+
}
|
|
179
|
+
noteFor(definition) {
|
|
180
|
+
const name = definition.name.text;
|
|
181
|
+
if (definition.type.kind === SettingKind.Languages)
|
|
182
|
+
return this.spelling.noteFor(this.values().get(name));
|
|
183
|
+
if (this.isFormat(definition)) {
|
|
184
|
+
const stored = this.storedText(definition);
|
|
185
|
+
const [text, base] = this.drafts().get(name) ?? [stored, stored];
|
|
186
|
+
return Resources.formatPatternPreview(DatePattern.format(this.now, base === stored ? text : stored));
|
|
187
|
+
}
|
|
188
|
+
return definition.name.text === Resources.trayIconSetting && !this.isTrayAvailable() ? Resources.noTrayHostNote : null;
|
|
189
|
+
}
|
|
190
|
+
isFormat(definition) {
|
|
191
|
+
return definition.name.text === Resources.timeFormatSetting || definition.name.text === Resources.dateTimeFormatSetting;
|
|
192
|
+
}
|
|
193
|
+
draft(definition, text) {
|
|
194
|
+
this.drafts.update(t => new Map([...t, [definition.name.text, [text, this.storedText(definition)]]]));
|
|
195
|
+
}
|
|
196
|
+
change(definition, value) {
|
|
197
|
+
this.dropDraft(definition);
|
|
198
|
+
const changing = definition === this.clock.definition ? this.clock.chooseAsync(value) : this.switches.setAsync(definition.name.text, value);
|
|
199
|
+
changing.catch((error) => this.errors.handleError(error));
|
|
200
|
+
}
|
|
201
|
+
reset(definition) {
|
|
202
|
+
this.dropDraft(definition);
|
|
203
|
+
const resetting = definition === this.clock.definition ? this.clock.resetAsync() : this.switches.resetAsync(definition);
|
|
204
|
+
resetting.catch((error) => this.errors.handleError(error));
|
|
205
|
+
}
|
|
206
|
+
canRun(definition) {
|
|
207
|
+
return definition.type.kind === SettingKind.Action && this.commands.isAvailable(String(definition.type.command));
|
|
208
|
+
}
|
|
209
|
+
run(definition) {
|
|
210
|
+
this.commands.run(String(definition.type.command));
|
|
211
|
+
}
|
|
212
|
+
reveal(id) {
|
|
213
|
+
const column = this.column().nativeElement;
|
|
214
|
+
const find = () => {
|
|
215
|
+
const row = column.querySelector(Resources.formatAttributeSelector(Resources.settingAttribute, CSS.escape(id)));
|
|
216
|
+
if (Object.isNull(row))
|
|
217
|
+
return false;
|
|
218
|
+
row.scrollIntoView({ block: Resources.foundRowBlock });
|
|
219
|
+
row.classList.add(Resources.foundRowClass);
|
|
220
|
+
this.marked = row;
|
|
221
|
+
for (const control of [...row.querySelectorAll(Resources.settingControlSelector)].slice(0, 1))
|
|
222
|
+
control.focus();
|
|
223
|
+
return true;
|
|
224
|
+
};
|
|
225
|
+
if (find())
|
|
226
|
+
return;
|
|
227
|
+
const revealer = new MutationObserver(() => {
|
|
228
|
+
if (find())
|
|
229
|
+
revealer.disconnect();
|
|
230
|
+
});
|
|
231
|
+
revealer.observe(column, { childList: true, subtree: true });
|
|
232
|
+
this.revealer = revealer;
|
|
233
|
+
}
|
|
234
|
+
unmark() {
|
|
235
|
+
this.revealer?.disconnect();
|
|
236
|
+
this.marked?.classList.remove(Resources.foundRowClass);
|
|
237
|
+
this.revealer = null;
|
|
238
|
+
this.marked = null;
|
|
239
|
+
}
|
|
240
|
+
storedText(definition) {
|
|
241
|
+
return String(this.values().get(definition.name.text) ?? definition.defaultValue);
|
|
242
|
+
}
|
|
243
|
+
dropDraft(definition) {
|
|
244
|
+
this.drafts.update(t => new Map([...t].filter(([name]) => name !== definition.name.text)));
|
|
245
|
+
}
|
|
246
|
+
keepFocus() {
|
|
247
|
+
const list = this.pageList().nativeElement;
|
|
248
|
+
const select = this.pageSelect().nativeElement;
|
|
249
|
+
const hidden = list.checkVisibility() ? select : list;
|
|
250
|
+
const active = document.activeElement;
|
|
251
|
+
if (this.focusedControl !== hidden || !(active === document.body || hidden.contains(active) || this.pageChooser().isExpanded()))
|
|
252
|
+
return;
|
|
253
|
+
if (hidden === list)
|
|
254
|
+
this.pageChooser().focus();
|
|
255
|
+
else
|
|
256
|
+
this.pageTree().focus();
|
|
257
|
+
}
|
|
258
|
+
static matches(definition, query) {
|
|
259
|
+
return [definition.title, definition.description, definition.name.text, definition.type.label].some(t => !Object.isNull(t) && TextMatch.contains(t, query));
|
|
260
|
+
}
|
|
261
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: SettingsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
262
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: SettingsComponent, isStandalone: true, selector: "nol-settings", host: { listeners: { "focusin": "noteFocus($event)", "focusout": "noteBlur()" }, classAttribute: "nol-settings" }, viewQueries: [{ propertyName: "pageList", first: true, predicate: ["pageList"], descendants: true, isSignal: true }, { propertyName: "column", first: true, predicate: ["column"], descendants: true, isSignal: true }, { propertyName: "pageTree", first: true, predicate: TreeComponent, descendants: true, isSignal: true }, { propertyName: "pageSelect", first: true, predicate: ["pageSelect"], descendants: true, read: ElementRef, isSignal: true }, { propertyName: "pageChooser", first: true, predicate: ["pageSelect"], descendants: true, read: SelectComponent, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div class=\"nol-settings-search\">\n <nol-select #pageSelect class=\"nol-settings-page-select\" [label]=\"resources.settingsPagesLabel\" [options]=\"pageOptions()\" [value]=\"pageChoice()\" (valueChange)=\"select($event)\" />\n <input nol-text-field type=\"search\" class=\"nol-settings-search-field\" [attr.aria-label]=\"resources.searchSettingsLabel\" [placeholder]=\"resources.searchSettingsLabel\"\n [value]=\"query()\" (input)=\"search($event)\" />\n</div>\n<div class=\"nol-settings-body\">\n <div #pageList class=\"nol-settings-pages\">\n <nol-tree [nodes]=\"pageNodes()\" [label]=\"resources.settingsPagesLabel\" [current]=\"isSearching() ? null : currentPage()?.title ?? null\" (activated)=\"select($event.id)\" />\n </div>\n <div class=\"nol-settings-content\">\n <div #column class=\"nol-settings-column\">\n @if (isSearching()) {\n @for (page of results(); track page.title) {\n <section class=\"nol-settings-result\" [attr.aria-label]=\"page.title\">\n <h2 class=\"nol-settings-result-title\">{{ page.title }}</h2>\n <ng-container [ngTemplateOutlet]=\"body\" [ngTemplateOutletContext]=\"{ $implicit: page, isResult: true }\" />\n </section>\n } @empty {\n <p class=\"nol-settings-empty\">{{ resources.noSettingsFound }}</p>\n }\n } @else if (currentPage(); as page) {\n <ng-container [ngTemplateOutlet]=\"body\" [ngTemplateOutletContext]=\"{ $implicit: page, isResult: false }\" />\n }\n </div>\n </div>\n</div>\n\n<ng-template #body let-page let-isResult=\"isResult\">\n @if (page.isGallery) {\n <ng-container [ngComponentOutlet]=\"gallery\" />\n } @else if (page.entry; as entry) {\n @if (isResult) {\n <button type=\"button\" nol-button [variant]=\"secondary\" (click)=\"select(page.title)\">{{ resources.openSettingsPageLabel }}</button>\n @if (matchingRows(entry).length > 0) {\n <ul class=\"nol-settings-found-rows\">\n @for (row of matchingRows(entry); track row.id) {\n <li class=\"nol-settings-found-row\">\n <button type=\"button\" nol-button [variant]=\"text\" class=\"nol-settings-found-row-open\" (click)=\"openRow(page.title, row.id)\">\n <nol-highlighted-text [text]=\"row.title\" [query]=\"query()\" />\n </button>\n @if (row.description; as description) {\n <p class=\"nol-settings-found-row-description\"><nol-highlighted-text [text]=\"description\" [query]=\"query()\" /></p>\n }\n </li>\n }\n </ul>\n }\n } @else {\n <h2 class=\"nol-settings-group-title\">{{ page.title }}</h2>\n <nol-settings-page-host [entry]=\"entry\" />\n }\n <ng-container [ngTemplateOutlet]=\"groups\" [ngTemplateOutletContext]=\"{ $implicit: page, isResult: isResult }\" />\n } @else if (page.isShortcuts) {\n @if (!isResult) {\n <h2 class=\"nol-settings-group-title\">{{ page.title }}</h2>\n }\n <nol-shortcuts [rows]=\"matchingShortcuts()\" [query]=\"query()\" />\n } @else {\n @if (page.isAbout && !isResult) {\n <nol-about />\n }\n @if (page.isGeneral && !isResult) {\n <section class=\"nol-settings-group\" [attr.aria-label]=\"resources.runtimeGroup\">\n <h2 class=\"nol-settings-group-title\">{{ resources.runtimeGroup }}</h2>\n <nol-runtime-status />\n </section>\n }\n <ng-container [ngTemplateOutlet]=\"groups\" [ngTemplateOutletContext]=\"{ $implicit: page, isResult: isResult }\" />\n }\n</ng-template>\n\n<ng-template #groups let-page let-isResult=\"isResult\">\n @for (group of page.groups; track group.title) {\n <section class=\"nol-settings-group\" [attr.aria-label]=\"group.title\">\n @if (isResult) {\n <h3 class=\"nol-settings-result-group\">{{ group.title }}</h3>\n } @else {\n <h2 class=\"nol-settings-group-title\">{{ group.title }}</h2>\n }\n <div class=\"nol-settings-rows\">\n @for (definition of group.definitions; track definition.name.text) {\n <nol-setting-row [definition]=\"definition\" [value]=\"values().get(definition.name.text)\" [isSet]=\"setFlags().get(definition.name.text)?.() ?? false\"\n [query]=\"query()\" [modules]=\"isMutedModules(definition) ? notifyingModules() : modules()\" [isInverse]=\"isMutedModules(definition)\" [canRun]=\"canRun(definition)\"\n [languages]=\"spelling.options()\" [note]=\"noteFor(definition)\" [isRequired]=\"isFormat(definition)\" [supplied]=\"settingOptions.read(definition.name.text)\"\n [check]=\"settingChecks.read(definition.name.text)\" (changed)=\"change(definition, $event)\" (drafted)=\"draft(definition, $event)\" (reset)=\"reset(definition)\" (run)=\"run(definition)\" />\n }\n </div>\n </section>\n }\n</ng-template>\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 flex-direction: column;\n height: 100%;\n min-height: 0;\n box-sizing: border-box;\n padding-block: var(--nol-space-4) 0;\n padding-inline: var(--nol-settings-margin) 0;\n container: settings / inline-size;\n --nol-settings-margin: var(--nol-space-6);\n --nol-settings-gap: var(--nol-space-6);\n --nol-settings-edge: var(--nol-settings-item-padding-inline);\n}\n\n.nol-settings-search {\n display: flex;\n flex: none;\n flex-wrap: wrap;\n gap: var(--nol-space-2);\n padding-inline-end: var(--nol-settings-margin);\n padding-bottom: var(--nol-space-4);\n}\n\n.nol-settings-search-field {\n flex: 1 1 auto;\n min-width: 0;\n}\n\n.nol-settings-body {\n display: flex;\n flex: auto;\n min-height: 0;\n}\n\n.nol-settings-pages {\n flex: none;\n width: var(--nol-settings-pages-width);\n overflow-y: auto;\n}\n\n.nol-settings-content {\n flex: auto;\n min-width: 0;\n overflow: auto;\n padding-inline-start: var(--nol-settings-gap);\n scrollbar-gutter: stable;\n}\n\n.nol-settings-column {\n padding-inline: var(--nol-settings-content-inset) calc(var(--nol-settings-margin) - var(--nol-scrollbar-size));\n padding-bottom: var(--nol-space-6);\n}\n\n.nol-settings-group-title,\n.nol-settings-result-title {\n margin: 0 0 var(--nol-settings-heading-space);\n color: var(--nol-setting-title);\n font-size: var(--nol-text-heading);\n font-weight: var(--nol-weight-emphasis);\n line-height: var(--nol-line-heading);\n}\n\n.nol-settings-group-title,\n.nol-settings-result-title,\n.nol-settings-result-group,\nnol-about,\nnol-shortcuts {\n padding-inline: var(--nol-settings-edge);\n}\n\n.nol-settings-result > button {\n margin-inline-start: var(--nol-settings-edge);\n}\n\n.nol-settings-rows {\n display: flex;\n flex-direction: column;\n gap: var(--nol-row-gap);\n}\n\n.nol-settings-group + .nol-settings-group,\nnol-settings-page-host + .nol-settings-group,\n.nol-settings-result + .nol-settings-result {\n margin-top: var(--nol-space-6);\n}\n\n.nol-settings-result-group {\n margin: var(--nol-space-3) 0 0;\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n font-weight: var(--nol-weight-emphasis);\n line-height: var(--nol-line-label);\n}\n\n.nol-settings-empty {\n margin: 0 0 var(--nol-space-3);\n color: var(--nol-text);\n}\n\n@container settings (width >= 35.5rem) {\n .nol-settings-page-select {\n display: none;\n }\n}\n\n@container settings (width < 35.5rem) {\n .nol-settings-page-select,\n .nol-settings-search-field {\n flex: 1 1 10rem;\n }\n\n .nol-settings-pages {\n display: none;\n }\n\n .nol-settings-content,\n .nol-settings-column {\n padding-inline-start: 0;\n }\n}\n\n.nol-settings-found-rows {\n display: flex;\n flex-direction: column;\n gap: var(--nol-row-gap);\n margin: var(--nol-settings-heading-space) 0 0;\n padding: 0;\n list-style: none;\n}\n\n.nol-settings-found-row {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding-inline: var(--nol-settings-edge);\n}\n\n.nol-settings-found-row-open {\n margin-inline-start: calc(-1 * var(--nol-button-padding));\n font-weight: var(--nol-weight-emphasis);\n}\n\n.nol-settings-found-row-description {\n margin: 0;\n color: var(--nol-text);\n}\n"], dependencies: [{ kind: "component", type: AboutComponent, selector: "nol-about" }, { kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: HighlightedTextComponent, selector: "nol-highlighted-text", inputs: ["text", "query", "breaksWords"] }, { kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: RuntimeStatusComponent, selector: "nol-runtime-status" }, { kind: "component", type: SelectComponent, selector: "nol-select", inputs: ["options", "value", "label", "describedBy", "disabled"], outputs: ["valueChange"] }, { kind: "component", type: SettingRowComponent, selector: "nol-setting-row", inputs: ["definition", "value", "isSet", "query", "modules", "languages", "note", "isRequired", "isInverse", "canRun", "supplied", "check"], outputs: ["changed", "drafted", "reset", "run"] }, { kind: "component", type: SettingsPageHostComponent, selector: "nol-settings-page-host", inputs: ["entry"] }, { kind: "component", type: ShortcutsComponent, selector: "nol-shortcuts", inputs: ["rows", "query"] }, { kind: "component", type: TextFieldComponent, selector: "input[nol-text-field], textarea[nol-text-field]" }, { kind: "component", type: TreeComponent, selector: "nol-tree", inputs: ["nodes", "label", "current", "movable"], outputs: ["activated", "moved"] }] });
|
|
263
|
+
}
|
|
264
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: SettingsComponent, decorators: [{
|
|
265
|
+
type: Component,
|
|
266
|
+
args: [{ selector: "nol-settings", imports: [AboutComponent, ButtonComponent, HighlightedTextComponent, NgComponentOutlet, NgTemplateOutlet, RuntimeStatusComponent, SelectComponent, SettingRowComponent, SettingsPageHostComponent, ShortcutsComponent, TextFieldComponent,
|
|
267
|
+
TreeComponent], host: {
|
|
268
|
+
"class": "nol-settings",
|
|
269
|
+
"(focusin)": "noteFocus($event)",
|
|
270
|
+
"(focusout)": "noteBlur()"
|
|
271
|
+
}, 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-settings-search\">\n <nol-select #pageSelect class=\"nol-settings-page-select\" [label]=\"resources.settingsPagesLabel\" [options]=\"pageOptions()\" [value]=\"pageChoice()\" (valueChange)=\"select($event)\" />\n <input nol-text-field type=\"search\" class=\"nol-settings-search-field\" [attr.aria-label]=\"resources.searchSettingsLabel\" [placeholder]=\"resources.searchSettingsLabel\"\n [value]=\"query()\" (input)=\"search($event)\" />\n</div>\n<div class=\"nol-settings-body\">\n <div #pageList class=\"nol-settings-pages\">\n <nol-tree [nodes]=\"pageNodes()\" [label]=\"resources.settingsPagesLabel\" [current]=\"isSearching() ? null : currentPage()?.title ?? null\" (activated)=\"select($event.id)\" />\n </div>\n <div class=\"nol-settings-content\">\n <div #column class=\"nol-settings-column\">\n @if (isSearching()) {\n @for (page of results(); track page.title) {\n <section class=\"nol-settings-result\" [attr.aria-label]=\"page.title\">\n <h2 class=\"nol-settings-result-title\">{{ page.title }}</h2>\n <ng-container [ngTemplateOutlet]=\"body\" [ngTemplateOutletContext]=\"{ $implicit: page, isResult: true }\" />\n </section>\n } @empty {\n <p class=\"nol-settings-empty\">{{ resources.noSettingsFound }}</p>\n }\n } @else if (currentPage(); as page) {\n <ng-container [ngTemplateOutlet]=\"body\" [ngTemplateOutletContext]=\"{ $implicit: page, isResult: false }\" />\n }\n </div>\n </div>\n</div>\n\n<ng-template #body let-page let-isResult=\"isResult\">\n @if (page.isGallery) {\n <ng-container [ngComponentOutlet]=\"gallery\" />\n } @else if (page.entry; as entry) {\n @if (isResult) {\n <button type=\"button\" nol-button [variant]=\"secondary\" (click)=\"select(page.title)\">{{ resources.openSettingsPageLabel }}</button>\n @if (matchingRows(entry).length > 0) {\n <ul class=\"nol-settings-found-rows\">\n @for (row of matchingRows(entry); track row.id) {\n <li class=\"nol-settings-found-row\">\n <button type=\"button\" nol-button [variant]=\"text\" class=\"nol-settings-found-row-open\" (click)=\"openRow(page.title, row.id)\">\n <nol-highlighted-text [text]=\"row.title\" [query]=\"query()\" />\n </button>\n @if (row.description; as description) {\n <p class=\"nol-settings-found-row-description\"><nol-highlighted-text [text]=\"description\" [query]=\"query()\" /></p>\n }\n </li>\n }\n </ul>\n }\n } @else {\n <h2 class=\"nol-settings-group-title\">{{ page.title }}</h2>\n <nol-settings-page-host [entry]=\"entry\" />\n }\n <ng-container [ngTemplateOutlet]=\"groups\" [ngTemplateOutletContext]=\"{ $implicit: page, isResult: isResult }\" />\n } @else if (page.isShortcuts) {\n @if (!isResult) {\n <h2 class=\"nol-settings-group-title\">{{ page.title }}</h2>\n }\n <nol-shortcuts [rows]=\"matchingShortcuts()\" [query]=\"query()\" />\n } @else {\n @if (page.isAbout && !isResult) {\n <nol-about />\n }\n @if (page.isGeneral && !isResult) {\n <section class=\"nol-settings-group\" [attr.aria-label]=\"resources.runtimeGroup\">\n <h2 class=\"nol-settings-group-title\">{{ resources.runtimeGroup }}</h2>\n <nol-runtime-status />\n </section>\n }\n <ng-container [ngTemplateOutlet]=\"groups\" [ngTemplateOutletContext]=\"{ $implicit: page, isResult: isResult }\" />\n }\n</ng-template>\n\n<ng-template #groups let-page let-isResult=\"isResult\">\n @for (group of page.groups; track group.title) {\n <section class=\"nol-settings-group\" [attr.aria-label]=\"group.title\">\n @if (isResult) {\n <h3 class=\"nol-settings-result-group\">{{ group.title }}</h3>\n } @else {\n <h2 class=\"nol-settings-group-title\">{{ group.title }}</h2>\n }\n <div class=\"nol-settings-rows\">\n @for (definition of group.definitions; track definition.name.text) {\n <nol-setting-row [definition]=\"definition\" [value]=\"values().get(definition.name.text)\" [isSet]=\"setFlags().get(definition.name.text)?.() ?? false\"\n [query]=\"query()\" [modules]=\"isMutedModules(definition) ? notifyingModules() : modules()\" [isInverse]=\"isMutedModules(definition)\" [canRun]=\"canRun(definition)\"\n [languages]=\"spelling.options()\" [note]=\"noteFor(definition)\" [isRequired]=\"isFormat(definition)\" [supplied]=\"settingOptions.read(definition.name.text)\"\n [check]=\"settingChecks.read(definition.name.text)\" (changed)=\"change(definition, $event)\" (drafted)=\"draft(definition, $event)\" (reset)=\"reset(definition)\" (run)=\"run(definition)\" />\n }\n </div>\n </section>\n }\n</ng-template>\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 flex-direction: column;\n height: 100%;\n min-height: 0;\n box-sizing: border-box;\n padding-block: var(--nol-space-4) 0;\n padding-inline: var(--nol-settings-margin) 0;\n container: settings / inline-size;\n --nol-settings-margin: var(--nol-space-6);\n --nol-settings-gap: var(--nol-space-6);\n --nol-settings-edge: var(--nol-settings-item-padding-inline);\n}\n\n.nol-settings-search {\n display: flex;\n flex: none;\n flex-wrap: wrap;\n gap: var(--nol-space-2);\n padding-inline-end: var(--nol-settings-margin);\n padding-bottom: var(--nol-space-4);\n}\n\n.nol-settings-search-field {\n flex: 1 1 auto;\n min-width: 0;\n}\n\n.nol-settings-body {\n display: flex;\n flex: auto;\n min-height: 0;\n}\n\n.nol-settings-pages {\n flex: none;\n width: var(--nol-settings-pages-width);\n overflow-y: auto;\n}\n\n.nol-settings-content {\n flex: auto;\n min-width: 0;\n overflow: auto;\n padding-inline-start: var(--nol-settings-gap);\n scrollbar-gutter: stable;\n}\n\n.nol-settings-column {\n padding-inline: var(--nol-settings-content-inset) calc(var(--nol-settings-margin) - var(--nol-scrollbar-size));\n padding-bottom: var(--nol-space-6);\n}\n\n.nol-settings-group-title,\n.nol-settings-result-title {\n margin: 0 0 var(--nol-settings-heading-space);\n color: var(--nol-setting-title);\n font-size: var(--nol-text-heading);\n font-weight: var(--nol-weight-emphasis);\n line-height: var(--nol-line-heading);\n}\n\n.nol-settings-group-title,\n.nol-settings-result-title,\n.nol-settings-result-group,\nnol-about,\nnol-shortcuts {\n padding-inline: var(--nol-settings-edge);\n}\n\n.nol-settings-result > button {\n margin-inline-start: var(--nol-settings-edge);\n}\n\n.nol-settings-rows {\n display: flex;\n flex-direction: column;\n gap: var(--nol-row-gap);\n}\n\n.nol-settings-group + .nol-settings-group,\nnol-settings-page-host + .nol-settings-group,\n.nol-settings-result + .nol-settings-result {\n margin-top: var(--nol-space-6);\n}\n\n.nol-settings-result-group {\n margin: var(--nol-space-3) 0 0;\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n font-weight: var(--nol-weight-emphasis);\n line-height: var(--nol-line-label);\n}\n\n.nol-settings-empty {\n margin: 0 0 var(--nol-space-3);\n color: var(--nol-text);\n}\n\n@container settings (width >= 35.5rem) {\n .nol-settings-page-select {\n display: none;\n }\n}\n\n@container settings (width < 35.5rem) {\n .nol-settings-page-select,\n .nol-settings-search-field {\n flex: 1 1 10rem;\n }\n\n .nol-settings-pages {\n display: none;\n }\n\n .nol-settings-content,\n .nol-settings-column {\n padding-inline-start: 0;\n }\n}\n\n.nol-settings-found-rows {\n display: flex;\n flex-direction: column;\n gap: var(--nol-row-gap);\n margin: var(--nol-settings-heading-space) 0 0;\n padding: 0;\n list-style: none;\n}\n\n.nol-settings-found-row {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding-inline: var(--nol-settings-edge);\n}\n\n.nol-settings-found-row-open {\n margin-inline-start: calc(-1 * var(--nol-button-padding));\n font-weight: var(--nol-weight-emphasis);\n}\n\n.nol-settings-found-row-description {\n margin: 0;\n color: var(--nol-text);\n}\n"] }]
|
|
272
|
+
}], ctorParameters: () => [], propDecorators: { pageList: [{ type: i0.ViewChild, args: ["pageList", { isSignal: true }] }], column: [{ type: i0.ViewChild, args: ["column", { isSignal: true }] }], pageTree: [{ type: i0.ViewChild, args: [i0.forwardRef(() => TreeComponent), { isSignal: true }] }], pageSelect: [{ type: i0.ViewChild, args: ["pageSelect", { ...{ read: (ElementRef) }, isSignal: true }] }], pageChooser: [{ type: i0.ViewChild, args: ["pageSelect", { ...{ read: SelectComponent }, isSignal: true }] }] } });
|
|
273
|
+
//# sourceMappingURL=settings.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"settings.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.desktop.window/src/app/components/settings/settings.component.ts","../../../../../../src/noldova.desktop.window/src/app/components/settings/settings.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACtE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,QAAQ,EAAE,YAAY,EAA+C,eAAe,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAC9K,SAAS,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,uBAAuB,CAAC;AAC/B,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,eAAe,EAAE,YAAY,EAAE,kBAAkB,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAE5J,OAAO,EAAE,WAAW,EAA0B,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAE7F,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AAGtE,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,mBAA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kB;wBACvO,aAAa,CAAC,QAGV;wBACJ,OAAO,EAAE,cAAc;wBACvB,WAAW,EAAE,mBAAmB;wBAChC,YAAY,EAAE,YAAY;qBAC3B;gGAUwG,UAAU,gEACZ,QAAQ,sFACzC,aAAa,qEACD,YAAY,OAAE,EAAE,IAAI,EAAE,CAAA,UAAuB,CAAA,EAAE,mEACtD,YAAY,OAAE,EAAE,IAAI,EAAE,eAAe,EAAE"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Injector, type InputSignal, type ResourceRef, type Signal, type Type } from "@angular/core";
|
|
2
|
+
import "@noldova/context.core";
|
|
3
|
+
import { ModuleFailure } from "../../models/module-failure.js";
|
|
4
|
+
import type { SettingsPageEntry } from "../../models/settings/settings-page-entry.js";
|
|
5
|
+
import { Resources } from "../../../resources.js";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class SettingsPageHostComponent {
|
|
8
|
+
private readonly injector;
|
|
9
|
+
private readonly statuses;
|
|
10
|
+
private readonly errors;
|
|
11
|
+
protected readonly resources: typeof Resources;
|
|
12
|
+
protected readonly component: ResourceRef<Type<unknown> | undefined>;
|
|
13
|
+
protected readonly loaded: Signal<Type<unknown> | null>;
|
|
14
|
+
protected readonly pageInjector: Signal<Injector>;
|
|
15
|
+
protected readonly failure: Signal<ModuleFailure | null>;
|
|
16
|
+
readonly entry: InputSignal<SettingsPageEntry>;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SettingsPageHostComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SettingsPageHostComponent, "nol-settings-page-host", never, { "entry": { "alias": "entry"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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 { NgComponentOutlet } from "@angular/common";
|
|
9
|
+
import { Component, ErrorHandler, Injector, ViewEncapsulation, computed, inject, input, resource, signal } from "@angular/core";
|
|
10
|
+
import "@noldova/context.core";
|
|
11
|
+
import { SpinnerComponent } from "@noldova/ui.components.angular";
|
|
12
|
+
import { ModuleState } from "@noldova/desktop.protocol";
|
|
13
|
+
import { SettingsPageNotLoadedException } from "../../exceptions/settings-page-not-loaded.exception.js";
|
|
14
|
+
import { ModuleFailure } from "../../models/module-failure.js";
|
|
15
|
+
import { WindowPartTokens } from "../../models/window-part-tokens.js";
|
|
16
|
+
import { Resources } from "../../../resources.js";
|
|
17
|
+
import { ModuleStatusService } from "../../services/module-status.service.js";
|
|
18
|
+
import { ModuleFailureCardComponent } from "../module-failure-card/module-failure-card.component.js";
|
|
19
|
+
import * as i0 from "@angular/core";
|
|
20
|
+
export class SettingsPageHostComponent {
|
|
21
|
+
injector = inject(Injector);
|
|
22
|
+
statuses = inject(ModuleStatusService);
|
|
23
|
+
errors = inject(ErrorHandler);
|
|
24
|
+
resources = Resources;
|
|
25
|
+
component = resource({ ...(ngDevMode ? { debugName: "component" } : /* istanbul ignore next */ {}), params: () => this.entry().page ?? undefined,
|
|
26
|
+
loader: ({ params }) => params.loadComponent().catch((error) => {
|
|
27
|
+
this.errors.handleError(new SettingsPageNotLoadedException(this.entry().moduleId, error));
|
|
28
|
+
throw error;
|
|
29
|
+
}) });
|
|
30
|
+
loaded = computed(() => this.component.hasValue() ? this.component.value() : null, /* @ts-ignore */
|
|
31
|
+
...(ngDevMode ? [{ debugName: "loaded" }] : /* istanbul ignore next */ []));
|
|
32
|
+
pageInjector = computed(() => Injector.create({
|
|
33
|
+
providers: [{ provide: WindowPartTokens.context, useValue: this.entry().context }, { provide: WindowPartTokens.shown, useValue: signal(true).asReadonly() }],
|
|
34
|
+
parent: this.injector
|
|
35
|
+
}), /* @ts-ignore */
|
|
36
|
+
...(ngDevMode ? [{ debugName: "pageInjector" }] : /* istanbul ignore next */ []));
|
|
37
|
+
failure = computed(() => {
|
|
38
|
+
const entry = this.entry();
|
|
39
|
+
if (!Object.isNull(entry.failure) || Object.isUndefined(this.component.error()))
|
|
40
|
+
return entry.failure;
|
|
41
|
+
const displayName = this.statuses.modules().find(t => t.id === entry.moduleId)?.displayName ?? entry.moduleId;
|
|
42
|
+
return new ModuleFailure(entry.moduleId, displayName, ModuleState.Failed, Resources.settingsPageLoadFailed, []);
|
|
43
|
+
}, /* @ts-ignore */
|
|
44
|
+
...(ngDevMode ? [{ debugName: "failure" }] : /* istanbul ignore next */ []));
|
|
45
|
+
entry = input.required(/* @ts-ignore */
|
|
46
|
+
...(ngDevMode ? [{ debugName: "entry" }] : /* istanbul ignore next */ []));
|
|
47
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: SettingsPageHostComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
48
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: SettingsPageHostComponent, isStandalone: true, selector: "nol-settings-page-host", inputs: { entry: { classPropertyName: "entry", publicName: "entry", isSignal: true, isRequired: true, transformFunction: null } }, 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@if (failure(); as failure) {\n <nol-module-failure-card [failure]=\"failure\" />\n} @else if (loaded(); as type) {\n <ng-container *ngComponentOutlet=\"type; injector: pageInjector()\" />\n} @else {\n <nol-spinner [label]=\"resources.settingsPageLoading\" [isDelayed]=\"true\" />\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\nnol-settings-page-host {\n display: block;\n padding-inline: var(--nol-settings-edge);\n}\n\nnol-settings-page-host .nol-settings-group-title {\n margin: 0 0 var(--nol-settings-heading-space);\n padding: 0;\n color: var(--nol-setting-title);\n font-size: var(--nol-text-heading);\n font-weight: var(--nol-weight-emphasis);\n line-height: var(--nol-line-heading);\n}\n\nnol-settings-page-host .nol-settings-rows {\n display: flex;\n flex-direction: column;\n gap: var(--nol-row-gap);\n}\n\nnol-settings-page-host .nol-settings-group + .nol-settings-group {\n margin-top: var(--nol-space-6);\n}\n\nnol-settings-page-host .nol-setting-row {\n display: flex;\n flex-direction: column;\n margin-inline: calc(-1 * var(--nol-settings-edge));\n padding: var(--nol-settings-item-padding);\n border-radius: var(--nol-radius-medium);\n}\n\nnol-settings-page-host .nol-setting-row:hover:has(a[href], audio[controls], button, input, select, summary, textarea, video[controls], [tabindex]:not([tabindex=\"-1\"]), [contenteditable]:not([contenteditable=\"false\"])) {\n background-color: var(--nol-hover);\n}\n\nnol-settings-page-host .nol-setting-row-heading {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--nol-space-2);\n min-height: var(--nol-field-height);\n}\n\nnol-settings-page-host .nol-setting-row-title {\n color: var(--nol-setting-title);\n font-weight: var(--nol-weight-emphasis);\n}\n\nnol-settings-page-host .nol-setting-row-end {\n margin-inline-start: auto;\n}\n\nnol-settings-page-host .nol-setting-row-description {\n margin-top: var(--nol-settings-item-description-gap);\n color: var(--nol-text);\n}\n\nnol-settings-page-host .nol-setting-row-control {\n display: flex;\n flex-wrap: wrap;\n min-width: 0;\n margin-top: var(--nol-settings-item-control-gap);\n}\n\nnol-settings-page-host .nol-setting-row-found {\n background-color: var(--nol-selected);\n}\n"], dependencies: [{ kind: "component", type: ModuleFailureCardComponent, selector: "nol-module-failure-card", inputs: ["failure"] }, { kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }, { kind: "component", type: SpinnerComponent, selector: "nol-spinner", inputs: ["label"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
49
|
+
}
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: SettingsPageHostComponent, decorators: [{
|
|
51
|
+
type: Component,
|
|
52
|
+
args: [{ selector: "nol-settings-page-host", imports: [ModuleFailureCardComponent, NgComponentOutlet, SpinnerComponent], encapsulation: ViewEncapsulation.None, 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@if (failure(); as failure) {\n <nol-module-failure-card [failure]=\"failure\" />\n} @else if (loaded(); as type) {\n <ng-container *ngComponentOutlet=\"type; injector: pageInjector()\" />\n} @else {\n <nol-spinner [label]=\"resources.settingsPageLoading\" [isDelayed]=\"true\" />\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\nnol-settings-page-host {\n display: block;\n padding-inline: var(--nol-settings-edge);\n}\n\nnol-settings-page-host .nol-settings-group-title {\n margin: 0 0 var(--nol-settings-heading-space);\n padding: 0;\n color: var(--nol-setting-title);\n font-size: var(--nol-text-heading);\n font-weight: var(--nol-weight-emphasis);\n line-height: var(--nol-line-heading);\n}\n\nnol-settings-page-host .nol-settings-rows {\n display: flex;\n flex-direction: column;\n gap: var(--nol-row-gap);\n}\n\nnol-settings-page-host .nol-settings-group + .nol-settings-group {\n margin-top: var(--nol-space-6);\n}\n\nnol-settings-page-host .nol-setting-row {\n display: flex;\n flex-direction: column;\n margin-inline: calc(-1 * var(--nol-settings-edge));\n padding: var(--nol-settings-item-padding);\n border-radius: var(--nol-radius-medium);\n}\n\nnol-settings-page-host .nol-setting-row:hover:has(a[href], audio[controls], button, input, select, summary, textarea, video[controls], [tabindex]:not([tabindex=\"-1\"]), [contenteditable]:not([contenteditable=\"false\"])) {\n background-color: var(--nol-hover);\n}\n\nnol-settings-page-host .nol-setting-row-heading {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--nol-space-2);\n min-height: var(--nol-field-height);\n}\n\nnol-settings-page-host .nol-setting-row-title {\n color: var(--nol-setting-title);\n font-weight: var(--nol-weight-emphasis);\n}\n\nnol-settings-page-host .nol-setting-row-end {\n margin-inline-start: auto;\n}\n\nnol-settings-page-host .nol-setting-row-description {\n margin-top: var(--nol-settings-item-description-gap);\n color: var(--nol-text);\n}\n\nnol-settings-page-host .nol-setting-row-control {\n display: flex;\n flex-wrap: wrap;\n min-width: 0;\n margin-top: var(--nol-settings-item-control-gap);\n}\n\nnol-settings-page-host .nol-setting-row-found {\n background-color: var(--nol-selected);\n}\n"] }]
|
|
53
|
+
}], propDecorators: { entry: [{ type: i0.Input, args: [{ isSignal: true, alias: "entry", required: true }] }] } });
|
|
54
|
+
//# sourceMappingURL=settings-page-host.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"settings-page-host.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.desktop.window/src/app/components/settings-page-host/settings-page-host.component.ts","../../../../../../src/noldova.desktop.window/src/app/components/settings-page-host/settings-page-host.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EACL,SAAS,EAAE,YAAY,EAAE,QAAQ,EAA8D,iBAAiB,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAC5J,MAAM,eAAe,CAAC;AAEvB,OAAO,uBAAuB,CAAC;AAC/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAExD,OAAO,EAAE,8BAA8B,EAAE,MAAM,wDAAwD,CAAC;AACxG,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAE/D,OAAO,EA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E file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { type Signal, type WritableSignal } from "@angular/core";
|
|
9
|
+
import "@noldova/context.core";
|
|
10
|
+
import { ButtonVariant } from "@noldova/ui.components.angular";
|
|
11
|
+
import { ShortcutNotice } from "../../models/settings/shortcut-notice.js";
|
|
12
|
+
import type { ShortcutRow } from "../../models/settings/shortcut-row.js";
|
|
13
|
+
import { Resources } from "../../../resources.js";
|
|
14
|
+
import * as i0 from "@angular/core";
|
|
15
|
+
export declare class ShortcutsComponent {
|
|
16
|
+
private static count;
|
|
17
|
+
private readonly index;
|
|
18
|
+
private readonly settings;
|
|
19
|
+
private readonly commands;
|
|
20
|
+
private readonly errors;
|
|
21
|
+
private readonly host;
|
|
22
|
+
private readonly platform;
|
|
23
|
+
private pending;
|
|
24
|
+
protected readonly resources: typeof Resources;
|
|
25
|
+
protected readonly isLinux: boolean;
|
|
26
|
+
protected readonly primary: ButtonVariant;
|
|
27
|
+
protected readonly secondary: ButtonVariant;
|
|
28
|
+
protected readonly recording: WritableSignal<string | null>;
|
|
29
|
+
protected readonly hint: WritableSignal<string>;
|
|
30
|
+
protected readonly notice: WritableSignal<ShortcutNotice | null>;
|
|
31
|
+
protected readonly isModified: Signal<boolean>;
|
|
32
|
+
readonly rows: import("@angular/core").InputSignal<readonly ShortcutRow[]>;
|
|
33
|
+
readonly query: import("@angular/core").InputSignal<string>;
|
|
34
|
+
constructor();
|
|
35
|
+
private get bindings();
|
|
36
|
+
protected record(row: ShortcutRow): void;
|
|
37
|
+
protected press(row: ShortcutRow, event: KeyboardEvent): void;
|
|
38
|
+
protected release(row: ShortcutRow, event: KeyboardEvent): void;
|
|
39
|
+
protected stopRecording(row: ShortcutRow): void;
|
|
40
|
+
protected remove(row: ShortcutRow): void;
|
|
41
|
+
protected reset(row: ShortcutRow): void;
|
|
42
|
+
protected resetAll(): void;
|
|
43
|
+
protected useHere(notice: ShortcutNotice, holder: string): void;
|
|
44
|
+
protected dismiss(notice: ShortcutNotice): void;
|
|
45
|
+
protected formatKeyLabel(row: ShortcutRow, isRecording: boolean): string;
|
|
46
|
+
protected collisionId(row: ShortcutRow): string;
|
|
47
|
+
protected noticeId(row: ShortcutRow): string;
|
|
48
|
+
protected describeKey(row: ShortcutRow, hasNotice: boolean): string | null;
|
|
49
|
+
private choose;
|
|
50
|
+
private unnamedKeyRefusal;
|
|
51
|
+
private refusalOf;
|
|
52
|
+
private heldLabel;
|
|
53
|
+
private write;
|
|
54
|
+
private track;
|
|
55
|
+
private settle;
|
|
56
|
+
private focusKey;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShortcutsComponent, never>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShortcutsComponent, "nol-shortcuts", never, { "rows": { "alias": "rows"; "required": true; "isSignal": true; }; "query": { "alias": "query"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
59
|
+
}
|