@noldova/desktop.window 0.0.0-stage → 0.0.1
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/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 +75 -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-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 +1622 -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 +89 -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 +32 -0
- package/app/models/live-view.js +90 -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 +38 -0
- package/app/models/search-session.js +140 -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 +56 -0
- package/app/models/web-view-handle.js +118 -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 +171 -0
- package/app/models/window-part-context.js +708 -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 +96 -0
- package/app/services/layout.service.js +301 -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 +32 -0
- package/app/services/live-view.service.js +104 -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 +108 -0
- package/app/services/preload-bridge.service.js +461 -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 +31 -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 +26 -0
- package/app/services/shell-search-sources.service.js +102 -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 +27 -0
- package/app/services/view-dialog.service.js +107 -0
- package/app/services/view-dialog.service.js.map +1 -0
- package/app/services/view-instances.service.d.ts +27 -0
- package/app/services/view-instances.service.js +129 -0
- package/app/services/view-instances.service.js.map +1 -0
- package/app/services/web-view.service.d.ts +47 -0
- package/app/services/web-view.service.js +222 -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 +199 -0
- package/app/services/window-part-host.service.js +793 -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 +1039 -0
- package/resources.js +1451 -0
- package/resources.js.map +1 -0
- package/testing/models/fake-window-part-context.d.ts +1402 -0
- package/testing/models/fake-window-part-context.js +109 -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,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import "@noldova/context.core";
|
|
9
|
+
export declare class SearchRequest {
|
|
10
|
+
static readonly plain: SearchRequest;
|
|
11
|
+
static readonly commands: SearchRequest;
|
|
12
|
+
readonly query: string;
|
|
13
|
+
readonly source: string | null;
|
|
14
|
+
constructor(query: string, source: string | null);
|
|
15
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import "@noldova/context.core";
|
|
9
|
+
import { Resources } from "../../resources.js";
|
|
10
|
+
export class SearchRequest {
|
|
11
|
+
static plain = new SearchRequest(String.empty, null);
|
|
12
|
+
static commands = new SearchRequest(Resources.commandsOnlyPrefix, null);
|
|
13
|
+
query;
|
|
14
|
+
source;
|
|
15
|
+
constructor(query, source) {
|
|
16
|
+
this.query = query;
|
|
17
|
+
this.source = source;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=search-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-request.js","sourceRoot":"","sources":["../../../../../src/noldova.desktop.window/src/app/models/search-request.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,uBAAuB,CAAC;AAE/B,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,MAAM,OAAO,aAAa;IACjB,MAAM,CAAU,KAAK,GAAkB,IAAI,aAAa,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAC7E,MAAM,CAAU,QAAQ,GAAkB,IAAI,aAAa,CAAC,SAAS,CAAC,kBAAkB,EAAE,IAAI,CAAC,CAAC;IAEvF,KAAK,CAAS;IACd,MAAM,CAAgB;IAEtC,YAAmB,KAAa,EAAE,MAAqB;QACrD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import type { TextRange } from "./text-range.js";
|
|
9
|
+
/**
|
|
10
|
+
* A row of the window's search: a result a source found, with the matched
|
|
11
|
+
* ranges it marks and how to open it.
|
|
12
|
+
*/
|
|
13
|
+
export declare class SearchResult {
|
|
14
|
+
/**
|
|
15
|
+
* The result's id, unique within its source.
|
|
16
|
+
*/
|
|
17
|
+
readonly id: string;
|
|
18
|
+
/**
|
|
19
|
+
* The result's title.
|
|
20
|
+
*/
|
|
21
|
+
readonly title: string;
|
|
22
|
+
/**
|
|
23
|
+
* The muted text after the title, or empty.
|
|
24
|
+
*/
|
|
25
|
+
readonly detail: string;
|
|
26
|
+
/**
|
|
27
|
+
* Opens the result, which the search calls after it closes.
|
|
28
|
+
*/
|
|
29
|
+
readonly openAsync: () => Promise<void>;
|
|
30
|
+
/**
|
|
31
|
+
* The part of the title that matched the query, or null.
|
|
32
|
+
*/
|
|
33
|
+
readonly titleMatch: TextRange | null;
|
|
34
|
+
/**
|
|
35
|
+
* The part of the detail that matched the query, or null.
|
|
36
|
+
*/
|
|
37
|
+
readonly detailMatch: TextRange | null;
|
|
38
|
+
/**
|
|
39
|
+
* The key the row shows, such as `Ctrl+N`, or null.
|
|
40
|
+
*/
|
|
41
|
+
readonly keyLabel: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* Creates a row of the search.
|
|
44
|
+
*
|
|
45
|
+
* @param id The result's id, unique within its source.
|
|
46
|
+
* @param title The result's title.
|
|
47
|
+
* @param detail The muted text after the title, or empty.
|
|
48
|
+
* @param openAsync Opens the result.
|
|
49
|
+
* @param titleMatch The part of the title that matched, or null.
|
|
50
|
+
* @param detailMatch The part of the detail that matched, or null.
|
|
51
|
+
* @param keyLabel The key the row shows, or null.
|
|
52
|
+
* @throws ArgumentException synchronously when the id, the title or the key
|
|
53
|
+
* label is empty or only white space.
|
|
54
|
+
* @throws ArgumentOutOfRangeException synchronously when a matched range
|
|
55
|
+
* runs past the end of its text.
|
|
56
|
+
* @example
|
|
57
|
+
* ```ts
|
|
58
|
+
* import { SearchResult, TextRange } from "@noldova/desktop.window";
|
|
59
|
+
*
|
|
60
|
+
* export const result: SearchResult = new SearchResult("42", "Terminal tab freezes", "desktop", () => Promise.resolve(), new TextRange(0, 4));
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
63
|
+
constructor(id: string, title: string, detail: string, openAsync: () => Promise<void>, titleMatch?: TextRange | null, detailMatch?: TextRange | null, keyLabel?: string | null);
|
|
64
|
+
private static requireWithin;
|
|
65
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { ArgumentException, ArgumentOutOfRangeException } from "@noldova/context.exceptions";
|
|
9
|
+
import { Resources } from "../../resources.js";
|
|
10
|
+
export class SearchResult {
|
|
11
|
+
id;
|
|
12
|
+
title;
|
|
13
|
+
detail;
|
|
14
|
+
openAsync;
|
|
15
|
+
titleMatch;
|
|
16
|
+
detailMatch;
|
|
17
|
+
keyLabel;
|
|
18
|
+
constructor(id, title, detail, openAsync, titleMatch = null, detailMatch = null, keyLabel = null) {
|
|
19
|
+
ArgumentException.throwIfNullOrWhitespace(id, Resources.idParameter);
|
|
20
|
+
ArgumentException.throwIfNullOrWhitespace(title, Resources.titleParameter);
|
|
21
|
+
SearchResult.requireWithin(titleMatch, title, Resources.titleMatchParameter);
|
|
22
|
+
SearchResult.requireWithin(detailMatch, detail, Resources.detailMatchParameter);
|
|
23
|
+
if (!Object.isNull(keyLabel))
|
|
24
|
+
ArgumentException.throwIfNullOrWhitespace(keyLabel, Resources.keyLabelParameter);
|
|
25
|
+
this.id = id;
|
|
26
|
+
this.title = title;
|
|
27
|
+
this.detail = detail;
|
|
28
|
+
this.openAsync = openAsync;
|
|
29
|
+
this.titleMatch = titleMatch;
|
|
30
|
+
this.detailMatch = detailMatch;
|
|
31
|
+
this.keyLabel = keyLabel;
|
|
32
|
+
}
|
|
33
|
+
static requireWithin(range, text, parameter) {
|
|
34
|
+
if (!Object.isNull(range) && range.end > text.length)
|
|
35
|
+
throw new ArgumentOutOfRangeException(parameter, range.end, Resources.textRangeOutside);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=search-result.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-result.js","sourceRoot":"","sources":["../../../../../src/noldova.desktop.window/src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AAC,aAAa,CAAC,KAAuB,EAAE,IAAY,EAAE,SAAiB;QACnF,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,GAAG,GAAG,IAAI,CAAC,MAAM;YAClD,MAAM,IAAI,2BAA2B,CAAC,SAAS,EAAE,KAAK,CAAC,GAAG,EAAE,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5F,CAAC;CACF"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import type { SearchResult } from "./search-result.js";
|
|
9
|
+
import type { SearchSourceContribution } from "./search-source-contribution.js";
|
|
10
|
+
export declare class SearchRow {
|
|
11
|
+
readonly source: SearchSourceContribution;
|
|
12
|
+
readonly result: SearchResult;
|
|
13
|
+
constructor(source: SearchSourceContribution, result: SearchResult);
|
|
14
|
+
get id(): string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { Resources } from "../../resources.js";
|
|
9
|
+
export class SearchRow {
|
|
10
|
+
source;
|
|
11
|
+
result;
|
|
12
|
+
constructor(source, result) {
|
|
13
|
+
this.source = source;
|
|
14
|
+
this.result = result;
|
|
15
|
+
}
|
|
16
|
+
get id() {
|
|
17
|
+
return Resources.formatSearchRowId(this.source.name, this.result.id);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=search-row.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-row.js","sourceRoot":"","sources":["../../../../../src/noldova.desktop.window/src/app/models/search-row.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,MAAM,OAAO,SAAS;IACJ,MAAM,CAA2B;IACjC,MAAM,CAAe;IAErC,YAAmB,MAAgC,EAAE,MAAoB;QACvE,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED,IAAW,EAAE;QACX,OAAO,SAAS,CAAC,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACvE,CAAC;CACF"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { type Signal } from "@angular/core";
|
|
9
|
+
import "@noldova/context.core";
|
|
10
|
+
import { SearchFilter } from "./search-filter.js";
|
|
11
|
+
import { SearchGroup } from "./search-group.js";
|
|
12
|
+
import { SearchQuery } from "./search-query.js";
|
|
13
|
+
import type { SearchSourceContribution } from "./search-source-contribution.js";
|
|
14
|
+
export declare class SearchSession {
|
|
15
|
+
private readonly sources;
|
|
16
|
+
private readonly commandsSource;
|
|
17
|
+
private readonly fail;
|
|
18
|
+
private readonly recentController;
|
|
19
|
+
private readonly queryValue;
|
|
20
|
+
private readonly filterValue;
|
|
21
|
+
private readonly recentValue;
|
|
22
|
+
private readonly answersValue;
|
|
23
|
+
private readonly waitingValue;
|
|
24
|
+
private searching;
|
|
25
|
+
private readonly searched;
|
|
26
|
+
private readonly activeFilter;
|
|
27
|
+
readonly query: Signal<SearchQuery>;
|
|
28
|
+
readonly isSearching: Signal<boolean>;
|
|
29
|
+
readonly filters: Signal<readonly SearchFilter[]>;
|
|
30
|
+
readonly groups: Signal<readonly SearchGroup[]>;
|
|
31
|
+
constructor(sources: readonly SearchSourceContribution[], commandsSource: string, fail: (source: SearchSourceContribution, error: unknown) => void);
|
|
32
|
+
search(typed: string): void;
|
|
33
|
+
choose(source: string | null): void;
|
|
34
|
+
moveFilter(step: number): void;
|
|
35
|
+
close(): void;
|
|
36
|
+
private askAsync;
|
|
37
|
+
private static bestOf;
|
|
38
|
+
}
|
|
@@ -0,0 +1,140 @@
|
|
|
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 { computed, signal } from "@angular/core";
|
|
9
|
+
import "@noldova/context.core";
|
|
10
|
+
import { SearchFilter } from "./search-filter.js";
|
|
11
|
+
import { SearchGroup } from "./search-group.js";
|
|
12
|
+
import { SearchQuery } from "./search-query.js";
|
|
13
|
+
import { SearchRank } from "./search-rank.js";
|
|
14
|
+
import { SearchRow } from "./search-row.js";
|
|
15
|
+
import { Resources } from "../../resources.js";
|
|
16
|
+
export class SearchSession {
|
|
17
|
+
sources;
|
|
18
|
+
commandsSource;
|
|
19
|
+
fail;
|
|
20
|
+
recentController = new AbortController();
|
|
21
|
+
queryValue = signal(SearchQuery.empty, /* @ts-ignore */
|
|
22
|
+
...(ngDevMode ? [{ debugName: "queryValue" }] : /* istanbul ignore next */ []));
|
|
23
|
+
filterValue = signal(null, /* @ts-ignore */
|
|
24
|
+
...(ngDevMode ? [{ debugName: "filterValue" }] : /* istanbul ignore next */ []));
|
|
25
|
+
recentValue = signal(new Map(), /* @ts-ignore */
|
|
26
|
+
...(ngDevMode ? [{ debugName: "recentValue" }] : /* istanbul ignore next */ []));
|
|
27
|
+
answersValue = signal(new Map(), /* @ts-ignore */
|
|
28
|
+
...(ngDevMode ? [{ debugName: "answersValue" }] : /* istanbul ignore next */ []));
|
|
29
|
+
waitingValue = signal(new Set(), /* @ts-ignore */
|
|
30
|
+
...(ngDevMode ? [{ debugName: "waitingValue" }] : /* istanbul ignore next */ []));
|
|
31
|
+
searching = null;
|
|
32
|
+
searched = computed(() => this.queryValue().isCommandsOnly ? this.sources.filter(t => t.name === this.commandsSource) : this.sources, /* @ts-ignore */
|
|
33
|
+
...(ngDevMode ? [{ debugName: "searched" }] : /* istanbul ignore next */ []));
|
|
34
|
+
activeFilter = computed(() => {
|
|
35
|
+
const filter = this.filterValue();
|
|
36
|
+
return this.searched().some(t => t.name === filter) ? filter : null;
|
|
37
|
+
}, /* @ts-ignore */
|
|
38
|
+
...(ngDevMode ? [{ debugName: "activeFilter" }] : /* istanbul ignore next */ []));
|
|
39
|
+
query = this.queryValue.asReadonly();
|
|
40
|
+
isSearching = computed(() => this.waitingValue().size > 0, /* @ts-ignore */
|
|
41
|
+
...(ngDevMode ? [{ debugName: "isSearching" }] : /* istanbul ignore next */ []));
|
|
42
|
+
filters = computed(() => {
|
|
43
|
+
const filter = this.activeFilter();
|
|
44
|
+
const query = this.queryValue();
|
|
45
|
+
const answers = this.answersValue();
|
|
46
|
+
return [
|
|
47
|
+
new SearchFilter(null, Resources.allFilterLabel, null, Object.isNull(filter)),
|
|
48
|
+
...this.searched().map(t => new SearchFilter(t.name, t.label, query.isEmpty ? null : answers.get(t.name)?.total ?? null, t.name === filter))
|
|
49
|
+
];
|
|
50
|
+
}, /* @ts-ignore */
|
|
51
|
+
...(ngDevMode ? [{ debugName: "filters" }] : /* istanbul ignore next */ []));
|
|
52
|
+
groups = computed(() => {
|
|
53
|
+
const filter = this.activeFilter();
|
|
54
|
+
const shown = this.searched().filter(t => Object.isNull(filter) || t.name === filter);
|
|
55
|
+
const query = this.queryValue();
|
|
56
|
+
const recent = query.isEmpty ? shown.flatMap(t => {
|
|
57
|
+
const results = this.recentValue().get(t.name) ?? [];
|
|
58
|
+
return Object.isNull(t.recentHeading) || results.length === 0 ? [] : [new SearchGroup(t.name, t.recentHeading, results.map(u => new SearchRow(t, u)))];
|
|
59
|
+
}) : [];
|
|
60
|
+
if (query.isEmpty && !query.isCommandsOnly)
|
|
61
|
+
return recent;
|
|
62
|
+
const listed = new Set(recent.flatMap(t => t.rows.map(u => u.id)));
|
|
63
|
+
const answers = this.answersValue();
|
|
64
|
+
const found = shown.map(t => ({ source: t, rows: (answers.get(t.name)?.results ?? []).map(u => new SearchRow(t, u)).filter(u => !listed.has(u.id)) }));
|
|
65
|
+
const isMixed = shown.length > 1;
|
|
66
|
+
const arrived = [...answers.keys()];
|
|
67
|
+
const best = isMixed ? [...found].sort((a, b) => arrived.indexOf(a.source.name) - arrived.indexOf(b.source.name))
|
|
68
|
+
.reduce((kept, t) => kept ?? SearchSession.bestOf(query.text, t.rows), null) : null;
|
|
69
|
+
const groups = found.flatMap(t => {
|
|
70
|
+
const rows = t.rows.filter(u => u !== best).slice(0, isMixed ? Resources.searchGroupRows : t.rows.length);
|
|
71
|
+
return rows.length === 0 ? [] : [new SearchGroup(t.source.name, t.source.heading, rows)];
|
|
72
|
+
});
|
|
73
|
+
return [...recent, ...Object.isNull(best) ? [] : [new SearchGroup(Resources.bestMatchGroup, Resources.bestMatchHeading, [best])], ...groups];
|
|
74
|
+
}, /* @ts-ignore */
|
|
75
|
+
...(ngDevMode ? [{ debugName: "groups" }] : /* istanbul ignore next */ []));
|
|
76
|
+
constructor(sources, commandsSource, fail) {
|
|
77
|
+
this.sources = sources;
|
|
78
|
+
this.commandsSource = commandsSource;
|
|
79
|
+
this.fail = fail;
|
|
80
|
+
for (const source of sources.filter(t => !Object.isNull(t.recentHeading)))
|
|
81
|
+
void this.askAsync(source, this.recentController.signal, () => source.recentAsync(this.recentController.signal), results => this.recentValue.update(t => new Map([...t, [source.name, results]])), () => undefined);
|
|
82
|
+
}
|
|
83
|
+
search(typed) {
|
|
84
|
+
const query = SearchQuery.parse(typed);
|
|
85
|
+
if (query.equals(this.queryValue()))
|
|
86
|
+
return;
|
|
87
|
+
this.searching?.abort();
|
|
88
|
+
this.searching = null;
|
|
89
|
+
this.queryValue.set(query);
|
|
90
|
+
this.answersValue.set(new Map());
|
|
91
|
+
this.waitingValue.set(new Set());
|
|
92
|
+
if ((query.isEmpty && !query.isCommandsOnly) || this.recentController.signal.aborted)
|
|
93
|
+
return;
|
|
94
|
+
const controller = new AbortController();
|
|
95
|
+
this.searching = controller;
|
|
96
|
+
this.waitingValue.set(new Set(this.searched().map(t => t.name)));
|
|
97
|
+
for (const source of this.searched())
|
|
98
|
+
void this.askAsync(source, controller.signal, () => source.searchAsync(query.text, controller.signal), answer => this.answersValue.update(t => new Map([...t, [source.name, answer]])), () => this.waitingValue.update(t => new Set([...t].filter(u => u !== source.name))));
|
|
99
|
+
}
|
|
100
|
+
choose(source) {
|
|
101
|
+
this.filterValue.set(source);
|
|
102
|
+
}
|
|
103
|
+
moveFilter(step) {
|
|
104
|
+
const names = this.filters().map(t => t.source);
|
|
105
|
+
const index = names.indexOf(this.activeFilter());
|
|
106
|
+
this.filterValue.set(names[(index + step + names.length) % names.length] ?? null);
|
|
107
|
+
}
|
|
108
|
+
close() {
|
|
109
|
+
this.recentController.abort();
|
|
110
|
+
this.searching?.abort();
|
|
111
|
+
this.searching = null;
|
|
112
|
+
this.waitingValue.set(new Set());
|
|
113
|
+
}
|
|
114
|
+
async askAsync(source, signal, call, take, settled) {
|
|
115
|
+
try {
|
|
116
|
+
const value = await call();
|
|
117
|
+
if (!signal.aborted)
|
|
118
|
+
take(value);
|
|
119
|
+
}
|
|
120
|
+
catch (error) {
|
|
121
|
+
if (!signal.aborted)
|
|
122
|
+
this.fail(source, error);
|
|
123
|
+
}
|
|
124
|
+
if (!signal.aborted)
|
|
125
|
+
settled();
|
|
126
|
+
}
|
|
127
|
+
static bestOf(query, rows) {
|
|
128
|
+
let best = null;
|
|
129
|
+
let bestRank = Number.POSITIVE_INFINITY;
|
|
130
|
+
for (const row of rows) {
|
|
131
|
+
const rank = SearchRank.of(query, row.result.title);
|
|
132
|
+
if (!Object.isNull(rank) && rank < bestRank) {
|
|
133
|
+
best = row;
|
|
134
|
+
bestRank = rank;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
return best;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
//# sourceMappingURL=search-session.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-session.js","sourceRoot":"","sources":["../../../../../src/noldova.desktop.window/src/app/models/search-session.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAoC,QAAQ,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEnF,OAAO,uBAAuB,CAAC;AAG/B,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,MAAM,OAAO,aAAa;IACP,OAAO,CAAsC;IAC7C,cAAc,CAAS;IACvB,IAAI,CAA6D;IACjE,gBAAgB,GAAoB,IAAI,eAAe,EAAE,CAAC;IAC1D,UAAU,GAAgC,MAAM,CAAC,WAAW,CAAC,KAAK;mFAAC,CAAC;IACpE,WAAW,GAAkC,MAAM,CAAC,IAAI;oFAAC,CAAC;IAC1D,WAAW,GAAiE,MAAM,CAAC,IAAI,GAAG,EAAE;oFAAC,CAAC;IAC9F,YAAY,GAAsD,MAAM,CAAC,IAAI,GAAG,EAAE;qFAAC,CAAC;IACpF,YAAY,GAAwC,MAAM,CAAC,IAAI,GAAG,EAAE;qFAAC,CAAC;IAC/E,SAAS,GAA2B,IAAI,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S,GAAG,IAAI,CAAC;QACtB,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,GAAG,EAAE,CAAC,CAAC;IACnC,CAAC;IAEO,KAAK,CAAC,QAAQ,CAAI,MAAgC,EAAE,MAAmB,EAAE,IAAsB,EAAE,IAAwB,EAAE,OAAmB;QACpJ,IAAI,CAAC;YACH,MAAM,KAAK,GAAG,MAAM,IAAI,EAAE,CAAC;YAC3B,IAAI,CAAC,MAAM,CAAC,OAAO;gBACjB,IAAI,CAAC,KAAK,CAAC,CAAC;QAChB,CAAC;QACD,OAAO,KAAK,EAAE,CAAC;YACb,IAAI,CAAC,MAAM,CAAC,OAAO;gBACjB,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;QAC7B,CAAC;QACD,IAAI,CAAC,MAAM,CAAC,OAAO;YACjB,OAAO,EAAE,CAAC;IACd,CAAC;IAEO,MAAM,CAAC,MAAM,CAAC,KAAa,EAAE,IAA0B;QAC7D,IAAI,IAAI,GAAqB,IAAI,CAAC;QAClC,IAAI,QAAQ,GAAG,MAAM,CAAC,iBAAiB,CAAC;QACxC,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC;YACvB,MAAM,IAAI,GAAG,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YACpD,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,IAAI,GAAG,QAAQ,EAAE,CAAC;gBAC5C,IAAI,GAAG,GAAG,CAAC;gBACX,QAAQ,GAAG,IAAI,CAAC;YAClB,CAAC;QACH,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;CACF"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import type { SearchAnswer } from "./search-answer.js";
|
|
9
|
+
import type { SearchResult } from "./search-result.js";
|
|
10
|
+
/**
|
|
11
|
+
* A search source a window part registers: its names in the search, the
|
|
12
|
+
* glyph of its rows, and the calls that give its recent items and matches.
|
|
13
|
+
*/
|
|
14
|
+
export declare class SearchSourceContribution {
|
|
15
|
+
/**
|
|
16
|
+
* The source's name, `<module id>.<name>`.
|
|
17
|
+
*/
|
|
18
|
+
readonly name: string;
|
|
19
|
+
/**
|
|
20
|
+
* The label of the source's filter, such as `Messages`.
|
|
21
|
+
*/
|
|
22
|
+
readonly label: string;
|
|
23
|
+
/**
|
|
24
|
+
* The source's name in the search field's placeholder, such as `messages`.
|
|
25
|
+
*/
|
|
26
|
+
readonly placeholderName: string;
|
|
27
|
+
/**
|
|
28
|
+
* The heading of the source's group while the person types, such as
|
|
29
|
+
* `In messages`.
|
|
30
|
+
*/
|
|
31
|
+
readonly heading: string;
|
|
32
|
+
/**
|
|
33
|
+
* The heading of the source's group before the person types, such as
|
|
34
|
+
* `Recent chats`, or null when the source has no recent items.
|
|
35
|
+
*/
|
|
36
|
+
readonly recentHeading: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* The Material Symbols glyph the source's rows show.
|
|
39
|
+
*/
|
|
40
|
+
readonly icon: string;
|
|
41
|
+
/**
|
|
42
|
+
* Resolves to the source's recent items, the most recent first.
|
|
43
|
+
*/
|
|
44
|
+
readonly recentAsync: (signal: AbortSignal) => Promise<readonly SearchResult[]>;
|
|
45
|
+
/**
|
|
46
|
+
* Resolves to the source's matches for a trimmed query that never starts
|
|
47
|
+
* with `>`.
|
|
48
|
+
*/
|
|
49
|
+
readonly searchAsync: (query: string, signal: AbortSignal) => Promise<SearchAnswer>;
|
|
50
|
+
/**
|
|
51
|
+
* Creates a search source.
|
|
52
|
+
*
|
|
53
|
+
* @param name The source's name, `<module id>.<name>`.
|
|
54
|
+
* @param label The label of its filter.
|
|
55
|
+
* @param placeholderName Its name in the field's placeholder.
|
|
56
|
+
* @param heading Its group's heading while the person types.
|
|
57
|
+
* @param recentHeading Its group's heading before the person types, or null.
|
|
58
|
+
* @param icon The Material Symbols glyph its rows show.
|
|
59
|
+
* @param recentAsync Resolves to its recent items; the signal aborts when
|
|
60
|
+
* the palette closes.
|
|
61
|
+
* @param searchAsync Resolves to its matches; the signal aborts when the
|
|
62
|
+
* query changes or the palette closes.
|
|
63
|
+
* @throws ArgumentException synchronously when the name is not
|
|
64
|
+
* `<module id>.<name>`, or a label, a heading or the icon is empty or only
|
|
65
|
+
* white space.
|
|
66
|
+
* @example
|
|
67
|
+
* ```ts
|
|
68
|
+
* import { SearchAnswer, SearchSourceContribution } from "@noldova/desktop.window";
|
|
69
|
+
*
|
|
70
|
+
* export const notes: SearchSourceContribution = new SearchSourceContribution("notes.notes", "Notes", "notes", "Notes", "Recent notes", "description",
|
|
71
|
+
* () => Promise.resolve([]), () => Promise.resolve(new SearchAnswer([])));
|
|
72
|
+
* ```
|
|
73
|
+
*/
|
|
74
|
+
constructor(name: string, label: string, placeholderName: string, heading: string, recentHeading: string | null, icon: string, recentAsync: (signal: AbortSignal) => Promise<readonly SearchResult[]>, searchAsync: (query: string, signal: AbortSignal) => Promise<SearchAnswer>);
|
|
75
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { ArgumentException } from "@noldova/context.exceptions";
|
|
9
|
+
import { Resources } from "../../resources.js";
|
|
10
|
+
export class SearchSourceContribution {
|
|
11
|
+
name;
|
|
12
|
+
label;
|
|
13
|
+
placeholderName;
|
|
14
|
+
heading;
|
|
15
|
+
recentHeading;
|
|
16
|
+
icon;
|
|
17
|
+
recentAsync;
|
|
18
|
+
searchAsync;
|
|
19
|
+
constructor(name, label, placeholderName, heading, recentHeading, icon, recentAsync, searchAsync) {
|
|
20
|
+
if (!Resources.contributionNamePattern.test(name))
|
|
21
|
+
throw new ArgumentException(Resources.invalidContributionName, Resources.nameParameter);
|
|
22
|
+
ArgumentException.throwIfNullOrWhitespace(label, Resources.labelParameter);
|
|
23
|
+
ArgumentException.throwIfNullOrWhitespace(placeholderName, Resources.placeholderNameParameter);
|
|
24
|
+
ArgumentException.throwIfNullOrWhitespace(heading, Resources.headingParameter);
|
|
25
|
+
if (!Object.isNull(recentHeading))
|
|
26
|
+
ArgumentException.throwIfNullOrWhitespace(recentHeading, Resources.recentHeadingParameter);
|
|
27
|
+
ArgumentException.throwIfNullOrWhitespace(icon, Resources.iconParameter);
|
|
28
|
+
this.name = name;
|
|
29
|
+
this.label = label;
|
|
30
|
+
this.placeholderName = placeholderName;
|
|
31
|
+
this.heading = heading;
|
|
32
|
+
this.recentHeading = recentHeading;
|
|
33
|
+
this.icon = icon;
|
|
34
|
+
this.recentAsync = recentAsync;
|
|
35
|
+
this.searchAsync = searchAsync;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=search-source-contribution.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-source-contribution.js","sourceRoot":"","sources":["../../../../../src/noldova.desktop.window/src/app/models/search-source-contribution.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAIhE,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,MAAM,OAAO,wBAAwB;IACnB,IAAI,CAAS;IACb,KAAK,CAAS;IACd,eAAe,CAAS;IACxB,OAAO,CAAS;IAChB,aAAa,CAAgB;IAC7B,IAAI,CAAS;IACb,WAAW,CAA4D;IACvE,WAAW,CAAgE;IAE3F,YAAmB,IAAY,EAAE,KAAa,EAAE,eAAuB,EAAE,OAAe,EAAE,aAA4B,EAAE,IAAY,EAClI,WAAsE,EAAE,WAA0E;QAClJ,IAAI,CAAC,SAAS,CAAC,uBAAuB,CAAC,IAAI,CAAC,IAAI,CAAC;YAC/C,MAAM,IAAI,iBAAiB,CAAC,SAAS,CAAC,uBAAuB,EAAE,SAAS,CAAC,aAAa,CAAC,CAAC;QAC1F,iBAAiB,CAAC,uBAAuB,CAAC,KAAK,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;QAC3E,iBAAiB,CAAC,uBAAuB,CAAC,eAAe,EAAE,SAAS,CAAC,wBAAwB,CAAC,CAAC;QAC/F,iBAAiB,CAAC,uBAAuB,CAAC,OAAO,EAAE,SAAS,CAAC,gBAAgB,CAAC,CAAC;QAC/E,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC;YAC/B,iBAAiB,CAAC,uBAAuB,CAAC,aAAa,EAAE,SAAS,CAAC,sBAAsB,CAAC,CAAC;QAC7F,iBAAiB,CAAC,uBAAuB,CAAC,IAAI,EAAE,SAAS,CAAC,aAAa,CAAC,CAAC;QAEzE,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACjC,CAAC;CACF"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { type Signal } from "@angular/core";
|
|
9
|
+
import "@noldova/context.core";
|
|
10
|
+
import type { JsonObject, JsonValue } from "@noldova/context.json";
|
|
11
|
+
import { type SettingOption } from "@noldova/desktop.protocol";
|
|
12
|
+
export declare class SettingOptionsSupply {
|
|
13
|
+
private readonly refreshes;
|
|
14
|
+
readonly options: Signal<readonly SettingOption[] | null>;
|
|
15
|
+
constructor(setting: string, provider: (values: JsonObject) => readonly SettingOption[] | null, values: Signal<ReadonlyMap<string, JsonValue>>, report: (error: unknown) => void);
|
|
16
|
+
refresh(): void;
|
|
17
|
+
private static haveSameEntries;
|
|
18
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 { computed, signal, untracked } from "@angular/core";
|
|
9
|
+
import "@noldova/context.core";
|
|
10
|
+
import { QualifiedName } from "@noldova/desktop.protocol";
|
|
11
|
+
import { SettingOptionsFailedException } from "../../exceptions/setting-options-failed.exception.js";
|
|
12
|
+
import { SettingOptionsRepeatedException } from "../../exceptions/setting-options-repeated.exception.js";
|
|
13
|
+
import { Resources } from "../../../resources.js";
|
|
14
|
+
export class SettingOptionsSupply {
|
|
15
|
+
refreshes = signal(0, /* @ts-ignore */
|
|
16
|
+
...(ngDevMode ? [{ debugName: "refreshes" }] : /* istanbul ignore next */ []));
|
|
17
|
+
options;
|
|
18
|
+
constructor(setting, provider, values, report) {
|
|
19
|
+
const moduleId = QualifiedName.parse(setting).owner;
|
|
20
|
+
const prefix = `${moduleId}${Resources.contributionSeparator}`;
|
|
21
|
+
const moduleValues = computed(() => Object.fromEntries([...values()].filter(([name]) => name.startsWith(prefix))), { ...(ngDevMode ? { debugName: "moduleValues" } : /* istanbul ignore next */ {}), equal: SettingOptionsSupply.haveSameEntries });
|
|
22
|
+
this.options = computed(() => {
|
|
23
|
+
this.refreshes();
|
|
24
|
+
const current = moduleValues();
|
|
25
|
+
try {
|
|
26
|
+
const options = untracked(() => provider(current));
|
|
27
|
+
if (Object.isNull(options) || new Set(options.map(t => t.value)).size === options.length)
|
|
28
|
+
return options;
|
|
29
|
+
report(new SettingOptionsRepeatedException(moduleId, setting));
|
|
30
|
+
}
|
|
31
|
+
catch (error) {
|
|
32
|
+
report(new SettingOptionsFailedException(moduleId, setting, error));
|
|
33
|
+
}
|
|
34
|
+
return null;
|
|
35
|
+
}, /* @ts-ignore */
|
|
36
|
+
...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
|
|
37
|
+
}
|
|
38
|
+
refresh() {
|
|
39
|
+
this.refreshes.update(t => t + 1);
|
|
40
|
+
}
|
|
41
|
+
static haveSameEntries(first, second) {
|
|
42
|
+
const names = Object.keys(first);
|
|
43
|
+
return names.length === Object.keys(second).length && names.every(t => Object.hasOwn(second, t) && JSON.stringify(first[t]) === JSON.stringify(second[t]));
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=setting-options-supply.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setting-options-supply.js","sourceRoot":"","sources":["../../../../../../src/noldova.desktop.window/src/app/models/settings/setting-options-supply.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAoC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE9F,OAAO,uBAAuB,CAAC;AAE/B,OAAO,EAAE,aAAa,EAAsB,MAAM,2BAA2B,CAAC;AAE9E,OAAO,EAAE,6BAA6B,EAAE,MAAM,sDAAsD,CAAC;AACrG,OAAO,EAAE,+BAA+B,EAAE,MAAM,wDAAwD,CAAC;AACzG,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,MAAM,OAAO,oBAAoB;IACd,SAAS,GAA2B,MAAM,CAAC,CAAC;kFAA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CAAC;IACL,CAAC;IAEM,OAAO;QACZ,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IACpC,CAAC;IAEO,MAAM,CAAC,eAAe,CAAC,KAAiB,EAAE,MAAkB;QAClE,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACjC,OAAO,KAAK,CAAC,MAAM,KAAK,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,IAAI,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAC7J,CAAC;CACF"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import type { SettingDefinition } from "@noldova/desktop.protocol";
|
|
9
|
+
export declare class SettingsGroup {
|
|
10
|
+
readonly title: string;
|
|
11
|
+
readonly definitions: readonly SettingDefinition[];
|
|
12
|
+
constructor(title: string, definitions: readonly SettingDefinition[]);
|
|
13
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
export class SettingsGroup {
|
|
9
|
+
title;
|
|
10
|
+
definitions;
|
|
11
|
+
constructor(title, definitions) {
|
|
12
|
+
this.title = title;
|
|
13
|
+
this.definitions = [...definitions];
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=settings-group.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"settings-group.js","sourceRoot":"","sources":["../../../../../../src/noldova.desktop.window/src/app/models/settings/settings-group.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,OAAO,aAAa;IACR,KAAK,CAAS;IACd,WAAW,CAA+B;IAE1D,YAAmB,KAAa,EAAE,WAAyC;QACzE,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,WAAW,GAAG,CAAC,GAAG,WAAW,CAAC,CAAC;IACtC,CAAC;CACF"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import type { ModuleFailure } from "../module-failure.js";
|
|
9
|
+
import type { SettingsPageContribution } from "../settings-page-contribution.js";
|
|
10
|
+
import type { SettingsRow } from "./settings-row.js";
|
|
11
|
+
import type { WindowPartContext } from "../window-part-context.js";
|
|
12
|
+
export declare class SettingsPageEntry {
|
|
13
|
+
readonly name: string;
|
|
14
|
+
readonly title: string;
|
|
15
|
+
readonly moduleId: string;
|
|
16
|
+
readonly page: SettingsPageContribution | null;
|
|
17
|
+
readonly context: WindowPartContext | null;
|
|
18
|
+
readonly failure: ModuleFailure | null;
|
|
19
|
+
constructor(name: string, title: string, moduleId: string, page: SettingsPageContribution | null, context: WindowPartContext | null, failure: ModuleFailure | null);
|
|
20
|
+
get rows(): readonly SettingsRow[];
|
|
21
|
+
isSame(other: SettingsPageEntry): boolean;
|
|
22
|
+
}
|