@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,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { Component, DestroyRef, ErrorHandler, computed, inject, signal } from "@angular/core";
|
|
9
|
+
import "@noldova/context.core";
|
|
10
|
+
import { QuickInputComponent, QuickInputItem } from "@noldova/ui.components.angular";
|
|
11
|
+
import { SearchPaletteService } from "../../services/search-palette.service.js";
|
|
12
|
+
import { SearchService } from "../../services/search.service.js";
|
|
13
|
+
import { Resources } from "../../../resources.js";
|
|
14
|
+
import * as i0 from "@angular/core";
|
|
15
|
+
export class SearchPaletteComponent {
|
|
16
|
+
palette = inject(SearchPaletteService);
|
|
17
|
+
errors = inject(ErrorHandler);
|
|
18
|
+
session = inject(SearchService).createSession();
|
|
19
|
+
rows = computed(() => new Map(this.session.groups().flatMap(t => t.rows).map(t => [t.id, t])), /* @ts-ignore */
|
|
20
|
+
...(ngDevMode ? [{ debugName: "rows" }] : /* istanbul ignore next */ []));
|
|
21
|
+
resources = Resources;
|
|
22
|
+
label = inject(SearchService).placeholder;
|
|
23
|
+
query = signal(this.palette.request.query, /* @ts-ignore */
|
|
24
|
+
...(ngDevMode ? [{ debugName: "query" }] : /* istanbul ignore next */ []));
|
|
25
|
+
filters = this.session.filters;
|
|
26
|
+
isSearching = this.session.isSearching;
|
|
27
|
+
emptyText = computed(() => this.session.query().isEmpty ? String.empty : Resources.nothingFound, /* @ts-ignore */
|
|
28
|
+
...(ngDevMode ? [{ debugName: "emptyText" }] : /* istanbul ignore next */ []));
|
|
29
|
+
items = computed(() => this.session.groups().flatMap(group => group.rows.map((t, index) => new QuickInputItem(t.id, t.result.title, t.source.icon, t.result.detail, t.result.keyLabel, SearchPaletteComponent.indicesOf(t.result.titleMatch), SearchPaletteComponent.indicesOf(t.result.detailMatch), index === 0 ? group.heading : null))), /* @ts-ignore */
|
|
30
|
+
...(ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []));
|
|
31
|
+
constructor() {
|
|
32
|
+
this.session.choose(this.palette.request.source);
|
|
33
|
+
this.session.search(this.query());
|
|
34
|
+
inject(DestroyRef).onDestroy(() => this.session.close());
|
|
35
|
+
}
|
|
36
|
+
search(text) {
|
|
37
|
+
this.query.set(text);
|
|
38
|
+
this.session.search(text);
|
|
39
|
+
}
|
|
40
|
+
choose(filter) {
|
|
41
|
+
this.session.choose(filter.source);
|
|
42
|
+
}
|
|
43
|
+
moveFilter(event) {
|
|
44
|
+
event.preventDefault();
|
|
45
|
+
this.session.moveFilter(event.shiftKey ? -1 : 1);
|
|
46
|
+
}
|
|
47
|
+
open(item) {
|
|
48
|
+
const row = this.rows().get(item.id);
|
|
49
|
+
this.palette.close();
|
|
50
|
+
if (!Object.isUndefined(row))
|
|
51
|
+
row.result.openAsync().catch((error) => this.errors.handleError(error));
|
|
52
|
+
}
|
|
53
|
+
close() {
|
|
54
|
+
this.palette.close();
|
|
55
|
+
}
|
|
56
|
+
static indicesOf(range) {
|
|
57
|
+
return Object.isNull(range) ? [] : Array.from({ length: range.length }, (_, t) => range.start + t);
|
|
58
|
+
}
|
|
59
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: SearchPaletteComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
60
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: SearchPaletteComponent, isStandalone: true, selector: "nol-search-palette", ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-quick-input [items]=\"items()\" [label]=\"label()\" [icon]=\"resources.searchGlyph\" [query]=\"query()\" [emptyText]=\"emptyText()\" (queryChange)=\"search($event)\"\n [attr.data-searching]=\"isSearching()\" (chosen)=\"open($event)\" (dismissed)=\"close()\" (tabKey)=\"moveFilter($event)\">\n @for (filter of filters(); track filter.source) {\n <button nolQuickInputFilters type=\"button\" class=\"nol-search-filter\" [attr.data-source]=\"filter.source\" [attr.aria-pressed]=\"filter.isActive\" tabindex=\"-1\"\n (mousedown)=\"$event.preventDefault()\" (click)=\"choose(filter)\">\n <span>{{ filter.label }}</span>\n @if (filter.count !== null) {\n <span class=\"nol-search-filter-count\">{{ filter.count }}</span>\n }\n </button>\n }\n @for (hint of resources.searchFooterHints; track hint) {\n <span nolQuickInputFooter class=\"nol-search-hint\">{{ hint }}</span>\n }\n <span nolQuickInputFooter class=\"nol-search-hint nol-search-hint-end\">{{ resources.commandsOnlyHint }}</span>\n</nol-quick-input>\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.nol-search-filter {\n display: flex;\n align-items: center;\n gap: 0.3125rem;\n height: 1.375rem;\n padding: 0 0.5625rem;\n border: 0;\n border-radius: 0.6875rem;\n background: transparent;\n color: var(--nol-text);\n font: inherit;\n font-size: var(--nol-text-small);\n}\n\n.nol-search-filter[aria-pressed=\"true\"] {\n background: var(--nol-selected);\n color: var(--nol-text-strong);\n}\n\n.nol-search-filter-count {\n color: var(--nol-text-muted);\n}\n\n.nol-search-hint-end {\n margin-inline-start: auto;\n}\n\n@media (forced-colors: active) {\n .nol-search-filter {\n padding: 0 calc(0.5625rem - var(--nol-border-width));\n border: var(--nol-border-width) solid ButtonText;\n color: ButtonText;\n }\n\n .nol-search-filter[aria-pressed=\"true\"] {\n background: Highlight;\n color: HighlightText;\n forced-color-adjust: none;\n }\n\n .nol-search-filter[aria-pressed=\"true\"] .nol-search-filter-count {\n color: HighlightText;\n }\n}\n"], dependencies: [{ kind: "component", type: QuickInputComponent, selector: "nol-quick-input", inputs: ["items", "label", "icon", "emptyText", "isEmptyTextAlert", "query", "isFocusing"], outputs: ["queryChange", "chosen", "dismissed", "tabKey"] }] });
|
|
61
|
+
}
|
|
62
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: SearchPaletteComponent, decorators: [{
|
|
63
|
+
type: Component,
|
|
64
|
+
args: [{ selector: "nol-search-palette", imports: [QuickInputComponent], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-quick-input [items]=\"items()\" [label]=\"label()\" [icon]=\"resources.searchGlyph\" [query]=\"query()\" [emptyText]=\"emptyText()\" (queryChange)=\"search($event)\"\n [attr.data-searching]=\"isSearching()\" (chosen)=\"open($event)\" (dismissed)=\"close()\" (tabKey)=\"moveFilter($event)\">\n @for (filter of filters(); track filter.source) {\n <button nolQuickInputFilters type=\"button\" class=\"nol-search-filter\" [attr.data-source]=\"filter.source\" [attr.aria-pressed]=\"filter.isActive\" tabindex=\"-1\"\n (mousedown)=\"$event.preventDefault()\" (click)=\"choose(filter)\">\n <span>{{ filter.label }}</span>\n @if (filter.count !== null) {\n <span class=\"nol-search-filter-count\">{{ filter.count }}</span>\n }\n </button>\n }\n @for (hint of resources.searchFooterHints; track hint) {\n <span nolQuickInputFooter class=\"nol-search-hint\">{{ hint }}</span>\n }\n <span nolQuickInputFooter class=\"nol-search-hint nol-search-hint-end\">{{ resources.commandsOnlyHint }}</span>\n</nol-quick-input>\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.nol-search-filter {\n display: flex;\n align-items: center;\n gap: 0.3125rem;\n height: 1.375rem;\n padding: 0 0.5625rem;\n border: 0;\n border-radius: 0.6875rem;\n background: transparent;\n color: var(--nol-text);\n font: inherit;\n font-size: var(--nol-text-small);\n}\n\n.nol-search-filter[aria-pressed=\"true\"] {\n background: var(--nol-selected);\n color: var(--nol-text-strong);\n}\n\n.nol-search-filter-count {\n color: var(--nol-text-muted);\n}\n\n.nol-search-hint-end {\n margin-inline-start: auto;\n}\n\n@media (forced-colors: active) {\n .nol-search-filter {\n padding: 0 calc(0.5625rem - var(--nol-border-width));\n border: var(--nol-border-width) solid ButtonText;\n color: ButtonText;\n }\n\n .nol-search-filter[aria-pressed=\"true\"] {\n background: Highlight;\n color: HighlightText;\n forced-color-adjust: none;\n }\n\n .nol-search-filter[aria-pressed=\"true\"] .nol-search-filter-count {\n color: HighlightText;\n }\n}\n"] }]
|
|
65
|
+
}], ctorParameters: () => [] });
|
|
66
|
+
//# sourceMappingURL=search-palette.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-palette.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.desktop.window/src/app/components/search-palette/search-palette.component.ts","../../../../../../src/noldova.desktop.window/src/app/components/search-palette/search-palette.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,YAAY,EAAoC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEhI,OAAO,uBAAuB,CAAC;AAC/B,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAMrF,OAAO,EAAE,oBAAo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AC,CAAC,CAAC,CAAC,CAAC;IACnD,CAAC;IAES,IAAI,CAAC,IAAoB;QACjC,MAAM,GAAG,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QACrC,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;QACrB,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,GAAG,CAAC;YAC1B,GAAG,CAAC,MAAM,CAAC,SAAS,EAAE,CAAC,KAAK,CAAC,CAAC,KAAc,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC;IACrF,CAAC;IAES,KAAK;QACb,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;IACvB,CAAC;IAEO,MAAM,CAAC,SAAS,CAAC,KAAuB;QAC9C,OAAO,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;IACrG,CAAC;uGAjDU,sBAAsB;2FAAtB,sBAAsB,8EC3BnC,qsCAwBA,qsCDDY,mBAAmB;;2FAIlB,sBAAsB;kBANlC,SAAS;+BACE,oBAAoB,WACrB,CAAC,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { type Signal, type WritableSignal } from "@angular/core";
|
|
9
|
+
import "@noldova/context.core";
|
|
10
|
+
import { ButtonVariant, SelectOption } from "@noldova/ui.components.angular";
|
|
11
|
+
import type { JsonValue } from "@noldova/context.json";
|
|
12
|
+
import { type SettingDefinition, SettingKind, type SettingOption } from "@noldova/desktop.protocol";
|
|
13
|
+
import { Resources } from "../../../resources.js";
|
|
14
|
+
import * as i0 from "@angular/core";
|
|
15
|
+
export declare class SettingRowComponent {
|
|
16
|
+
private static count;
|
|
17
|
+
private readonly index;
|
|
18
|
+
protected readonly resources: typeof Resources;
|
|
19
|
+
protected readonly errorId: string;
|
|
20
|
+
protected readonly descriptionId: string;
|
|
21
|
+
protected readonly noteId: string;
|
|
22
|
+
protected readonly kinds: typeof SettingKind;
|
|
23
|
+
protected readonly secondary: ButtonVariant;
|
|
24
|
+
protected readonly current: Signal<JsonValue>;
|
|
25
|
+
protected readonly error: WritableSignal<string | null>;
|
|
26
|
+
protected readonly refusal: Signal<string | null>;
|
|
27
|
+
protected readonly entry: WritableSignal<readonly [text: string, message: string | null] | null>;
|
|
28
|
+
protected readonly fieldText: Signal<string>;
|
|
29
|
+
protected readonly message: Signal<string | null>;
|
|
30
|
+
protected readonly describedBy: Signal<string>;
|
|
31
|
+
protected readonly isWaiting: Signal<boolean>;
|
|
32
|
+
protected readonly options: Signal<readonly SelectOption[]>;
|
|
33
|
+
protected readonly hasControl: Signal<boolean>;
|
|
34
|
+
protected readonly isFew: Signal<boolean>;
|
|
35
|
+
protected readonly chosen: Signal<ReadonlySet<string>>;
|
|
36
|
+
readonly definition: import("@angular/core").InputSignal<SettingDefinition>;
|
|
37
|
+
readonly value: import("@angular/core").InputSignal<JsonValue | undefined>;
|
|
38
|
+
readonly isSet: import("@angular/core").InputSignal<boolean>;
|
|
39
|
+
readonly query: import("@angular/core").InputSignal<string>;
|
|
40
|
+
readonly modules: import("@angular/core").InputSignal<readonly SelectOption[]>;
|
|
41
|
+
readonly languages: import("@angular/core").InputSignal<readonly SelectOption[]>;
|
|
42
|
+
readonly note: import("@angular/core").InputSignal<string | null>;
|
|
43
|
+
readonly isRequired: import("@angular/core").InputSignal<boolean>;
|
|
44
|
+
readonly isInverse: import("@angular/core").InputSignal<boolean>;
|
|
45
|
+
readonly canRun: import("@angular/core").InputSignal<boolean>;
|
|
46
|
+
readonly supplied: import("@angular/core").InputSignal<readonly SettingOption[] | null>;
|
|
47
|
+
readonly check: import("@angular/core").InputSignal<((value: string) => string | null) | null>;
|
|
48
|
+
readonly changed: import("@angular/core").OutputEmitterRef<JsonValue>;
|
|
49
|
+
readonly drafted: import("@angular/core").OutputEmitterRef<string>;
|
|
50
|
+
readonly reset: import("@angular/core").OutputEmitterRef<void>;
|
|
51
|
+
readonly run: import("@angular/core").OutputEmitterRef<void>;
|
|
52
|
+
protected choose(value: JsonValue): void;
|
|
53
|
+
protected commitNumber(event: Event): void;
|
|
54
|
+
protected revertNumber(event: Event): void;
|
|
55
|
+
protected draftText(event: Event): void;
|
|
56
|
+
protected commitText(event: Event): void;
|
|
57
|
+
protected toggleModule(id: string, isChecked: boolean): void;
|
|
58
|
+
protected toggleLanguage(tag: string, isChecked: boolean): void;
|
|
59
|
+
protected asString(value: JsonValue): string;
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SettingRowComponent, never>;
|
|
61
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SettingRowComponent, "nol-setting-row", never, { "definition": { "alias": "definition"; "required": true; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "isSet": { "alias": "isSet"; "required": false; "isSignal": true; }; "query": { "alias": "query"; "required": false; "isSignal": true; }; "modules": { "alias": "modules"; "required": false; "isSignal": true; }; "languages": { "alias": "languages"; "required": false; "isSignal": true; }; "note": { "alias": "note"; "required": false; "isSignal": true; }; "isRequired": { "alias": "isRequired"; "required": false; "isSignal": true; }; "isInverse": { "alias": "isInverse"; "required": false; "isSignal": true; }; "canRun": { "alias": "canRun"; "required": false; "isSignal": true; }; "supplied": { "alias": "supplied"; "required": false; "isSignal": true; }; "check": { "alias": "check"; "required": false; "isSignal": true; }; }, { "changed": "changed"; "drafted": "drafted"; "reset": "reset"; "run": "run"; }, never, never, true, never>;
|
|
62
|
+
}
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { Component, computed, input, linkedSignal, output, untracked } from "@angular/core";
|
|
9
|
+
import "@noldova/context.core";
|
|
10
|
+
import { ButtonComponent, ButtonVariant, CheckboxComponent, ChoicePillsComponent, FieldMessageComponent, SelectComponent, SelectOption, TextFieldComponent, TooltipDirective } from "@noldova/ui.components.angular";
|
|
11
|
+
import { SettingKind } from "@noldova/desktop.protocol";
|
|
12
|
+
import { Resources } from "../../../resources.js";
|
|
13
|
+
import { HighlightedTextComponent } from "../highlighted-text/highlighted-text.component.js";
|
|
14
|
+
import * as i0 from "@angular/core";
|
|
15
|
+
export class SettingRowComponent {
|
|
16
|
+
static count = 0;
|
|
17
|
+
index = SettingRowComponent.count++;
|
|
18
|
+
resources = Resources;
|
|
19
|
+
errorId = `${Resources.settingErrorIdPrefix}${this.index}`;
|
|
20
|
+
descriptionId = `${Resources.settingDescriptionIdPrefix}${this.index}`;
|
|
21
|
+
noteId = `${Resources.settingNoteIdPrefix}${this.index}`;
|
|
22
|
+
kinds = SettingKind;
|
|
23
|
+
secondary = ButtonVariant.Secondary;
|
|
24
|
+
current = computed(() => this.value() ?? this.definition().defaultValue, /* @ts-ignore */
|
|
25
|
+
...(ngDevMode ? [{ debugName: "current" }] : /* istanbul ignore next */ []));
|
|
26
|
+
error = linkedSignal({ ...(ngDevMode ? { debugName: "error" } : /* istanbul ignore next */ {}), source: this.current, computation: () => null });
|
|
27
|
+
refusal = computed(() => {
|
|
28
|
+
const check = this.check();
|
|
29
|
+
const value = this.current();
|
|
30
|
+
return Object.isNull(check) ? null : untracked(() => check(this.asString(value)));
|
|
31
|
+
}, /* @ts-ignore */
|
|
32
|
+
...(ngDevMode ? [{ debugName: "refusal" }] : /* istanbul ignore next */ []));
|
|
33
|
+
entry = linkedSignal({ ...(ngDevMode ? { debugName: "entry" } : /* istanbul ignore next */ {}), source: this.current,
|
|
34
|
+
computation: (_current, previous) => {
|
|
35
|
+
const entry = previous?.value ?? null;
|
|
36
|
+
return Object.isNull(entry) || Object.isNull(entry[1]) ? null : entry;
|
|
37
|
+
} });
|
|
38
|
+
fieldText = computed(() => this.entry()?.[0] ?? this.asString(this.current()), /* @ts-ignore */
|
|
39
|
+
...(ngDevMode ? [{ debugName: "fieldText" }] : /* istanbul ignore next */ []));
|
|
40
|
+
message = computed(() => {
|
|
41
|
+
const entry = this.entry();
|
|
42
|
+
return this.error() ?? (Object.isNull(entry) ? this.refusal() : entry[1]);
|
|
43
|
+
}, /* @ts-ignore */
|
|
44
|
+
...(ngDevMode ? [{ debugName: "message" }] : /* istanbul ignore next */ []));
|
|
45
|
+
describedBy = computed(() => [this.descriptionId, ...Object.isNull(this.note()) ? [] : [this.noteId], ...Object.isNull(this.message()) ? [] : [this.errorId]].join(Resources.idListSeparator), /* @ts-ignore */
|
|
46
|
+
...(ngDevMode ? [{ debugName: "describedBy" }] : /* istanbul ignore next */ []));
|
|
47
|
+
isWaiting = computed(() => this.definition().type.isDynamic && Object.isNull(this.supplied()), /* @ts-ignore */
|
|
48
|
+
...(ngDevMode ? [{ debugName: "isWaiting" }] : /* istanbul ignore next */ []));
|
|
49
|
+
options = computed(() => {
|
|
50
|
+
const type = this.definition().type;
|
|
51
|
+
const supplied = this.supplied();
|
|
52
|
+
if (!type.isDynamic)
|
|
53
|
+
return type.options.map(t => new SelectOption(t.value, t.title));
|
|
54
|
+
const current = this.asString(this.current());
|
|
55
|
+
if (Object.isNull(supplied))
|
|
56
|
+
return [new SelectOption(current, current.length === 0 ? Resources.emptyOptionValue : current)];
|
|
57
|
+
const options = supplied.map(t => new SelectOption(t.value, t.title));
|
|
58
|
+
return options.some(t => t.value === current) ? options : [new SelectOption(current, Resources.formatUnavailableOption(current)), ...options];
|
|
59
|
+
}, /* @ts-ignore */
|
|
60
|
+
...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
|
|
61
|
+
hasControl = computed(() => {
|
|
62
|
+
const kind = this.definition().type.kind;
|
|
63
|
+
const listed = kind === SettingKind.Modules ? this.modules() : kind === SettingKind.Languages ? this.languages() : null;
|
|
64
|
+
return this.isSet() || (kind !== SettingKind.KeyBindings && (Object.isNull(listed) || listed.length > 0));
|
|
65
|
+
}, /* @ts-ignore */
|
|
66
|
+
...(ngDevMode ? [{ debugName: "hasControl" }] : /* istanbul ignore next */ []));
|
|
67
|
+
isFew = computed(() => this.options().length >= Resources.choicePillMinimum && this.options().length <= Resources.choicePillLimit, /* @ts-ignore */
|
|
68
|
+
...(ngDevMode ? [{ debugName: "isFew" }] : /* istanbul ignore next */ []));
|
|
69
|
+
chosen = computed(() => {
|
|
70
|
+
const value = this.current();
|
|
71
|
+
return new Set(Array.isArray(value) ? value.filter((t) => Object.isString(t)) : []);
|
|
72
|
+
}, /* @ts-ignore */
|
|
73
|
+
...(ngDevMode ? [{ debugName: "chosen" }] : /* istanbul ignore next */ []));
|
|
74
|
+
definition = input.required(/* @ts-ignore */
|
|
75
|
+
...(ngDevMode ? [{ debugName: "definition" }] : /* istanbul ignore next */ []));
|
|
76
|
+
value = input(undefined, /* @ts-ignore */
|
|
77
|
+
...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
78
|
+
isSet = input(false, /* @ts-ignore */
|
|
79
|
+
...(ngDevMode ? [{ debugName: "isSet" }] : /* istanbul ignore next */ []));
|
|
80
|
+
query = input(String.empty, /* @ts-ignore */
|
|
81
|
+
...(ngDevMode ? [{ debugName: "query" }] : /* istanbul ignore next */ []));
|
|
82
|
+
modules = input([], /* @ts-ignore */
|
|
83
|
+
...(ngDevMode ? [{ debugName: "modules" }] : /* istanbul ignore next */ []));
|
|
84
|
+
languages = input([], /* @ts-ignore */
|
|
85
|
+
...(ngDevMode ? [{ debugName: "languages" }] : /* istanbul ignore next */ []));
|
|
86
|
+
note = input(null, /* @ts-ignore */
|
|
87
|
+
...(ngDevMode ? [{ debugName: "note" }] : /* istanbul ignore next */ []));
|
|
88
|
+
isRequired = input(false, /* @ts-ignore */
|
|
89
|
+
...(ngDevMode ? [{ debugName: "isRequired" }] : /* istanbul ignore next */ []));
|
|
90
|
+
isInverse = input(false, /* @ts-ignore */
|
|
91
|
+
...(ngDevMode ? [{ debugName: "isInverse" }] : /* istanbul ignore next */ []));
|
|
92
|
+
canRun = input(false, /* @ts-ignore */
|
|
93
|
+
...(ngDevMode ? [{ debugName: "canRun" }] : /* istanbul ignore next */ []));
|
|
94
|
+
supplied = input(null, /* @ts-ignore */
|
|
95
|
+
...(ngDevMode ? [{ debugName: "supplied" }] : /* istanbul ignore next */ []));
|
|
96
|
+
check = input(null, /* @ts-ignore */
|
|
97
|
+
...(ngDevMode ? [{ debugName: "check" }] : /* istanbul ignore next */ []));
|
|
98
|
+
changed = output();
|
|
99
|
+
drafted = output();
|
|
100
|
+
reset = output();
|
|
101
|
+
run = output();
|
|
102
|
+
choose(value) {
|
|
103
|
+
this.error.set(null);
|
|
104
|
+
this.changed.emit(value);
|
|
105
|
+
}
|
|
106
|
+
commitNumber(event) {
|
|
107
|
+
if (!(event.target instanceof HTMLInputElement))
|
|
108
|
+
return;
|
|
109
|
+
const value = event.target.valueAsNumber;
|
|
110
|
+
const type = this.definition().type;
|
|
111
|
+
if (!Number.isNaN(value) && type.accepts(value)) {
|
|
112
|
+
this.choose(value);
|
|
113
|
+
return;
|
|
114
|
+
}
|
|
115
|
+
this.error.set(Resources.formatNumberRange(type.minimum, type.maximum, type.step));
|
|
116
|
+
}
|
|
117
|
+
revertNumber(event) {
|
|
118
|
+
if (!(event.target instanceof HTMLInputElement))
|
|
119
|
+
return;
|
|
120
|
+
if (Object.isNull(this.error()) && event.target.valueAsNumber === this.current())
|
|
121
|
+
return;
|
|
122
|
+
event.stopPropagation();
|
|
123
|
+
event.target.value = String(this.current());
|
|
124
|
+
this.error.set(null);
|
|
125
|
+
}
|
|
126
|
+
draftText(event) {
|
|
127
|
+
if (event.target instanceof HTMLInputElement)
|
|
128
|
+
this.drafted.emit(event.target.value);
|
|
129
|
+
}
|
|
130
|
+
commitText(event) {
|
|
131
|
+
if (!(event.target instanceof HTMLInputElement))
|
|
132
|
+
return;
|
|
133
|
+
const value = event.target.value;
|
|
134
|
+
if (this.isRequired() && String.isNullOrWhitespace(value)) {
|
|
135
|
+
event.target.value = this.asString(this.definition().defaultValue);
|
|
136
|
+
this.entry.set(null);
|
|
137
|
+
this.reset.emit();
|
|
138
|
+
return;
|
|
139
|
+
}
|
|
140
|
+
const refused = this.check()?.(value) ?? null;
|
|
141
|
+
this.entry.set([value, refused]);
|
|
142
|
+
if (Object.isNull(refused))
|
|
143
|
+
this.choose(value);
|
|
144
|
+
}
|
|
145
|
+
toggleModule(id, isChecked) {
|
|
146
|
+
const isChosen = isChecked !== this.isInverse();
|
|
147
|
+
const chosen = new Set(this.chosen());
|
|
148
|
+
if (isChosen)
|
|
149
|
+
chosen.add(id);
|
|
150
|
+
else
|
|
151
|
+
chosen.delete(id);
|
|
152
|
+
this.choose(this.modules().map(t => t.value).filter(t => chosen.has(t)));
|
|
153
|
+
}
|
|
154
|
+
toggleLanguage(tag, isChecked) {
|
|
155
|
+
const chosen = new Set(this.chosen());
|
|
156
|
+
if (isChecked)
|
|
157
|
+
chosen.add(tag);
|
|
158
|
+
else
|
|
159
|
+
chosen.delete(tag);
|
|
160
|
+
this.choose(this.languages().map(t => t.value).filter(t => chosen.has(t)));
|
|
161
|
+
}
|
|
162
|
+
asString(value) {
|
|
163
|
+
return String(value);
|
|
164
|
+
}
|
|
165
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: SettingRowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
166
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: SettingRowComponent, isStandalone: true, selector: "nol-setting-row", inputs: { definition: { classPropertyName: "definition", publicName: "definition", isSignal: true, isRequired: true, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, isSet: { classPropertyName: "isSet", publicName: "isSet", isSignal: true, isRequired: false, transformFunction: null }, query: { classPropertyName: "query", publicName: "query", isSignal: true, isRequired: false, transformFunction: null }, modules: { classPropertyName: "modules", publicName: "modules", isSignal: true, isRequired: false, transformFunction: null }, languages: { classPropertyName: "languages", publicName: "languages", isSignal: true, isRequired: false, transformFunction: null }, note: { classPropertyName: "note", publicName: "note", isSignal: true, isRequired: false, transformFunction: null }, isRequired: { classPropertyName: "isRequired", publicName: "isRequired", isSignal: true, isRequired: false, transformFunction: null }, isInverse: { classPropertyName: "isInverse", publicName: "isInverse", isSignal: true, isRequired: false, transformFunction: null }, canRun: { classPropertyName: "canRun", publicName: "canRun", isSignal: true, isRequired: false, transformFunction: null }, supplied: { classPropertyName: "supplied", publicName: "supplied", isSignal: true, isRequired: false, transformFunction: null }, check: { classPropertyName: "check", publicName: "check", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { changed: "changed", drafted: "drafted", reset: "reset", run: "run" }, host: { properties: { "attr.data-setting": "definition().name.text", "class.nol-setting-row-static": "!hasControl()" }, classAttribute: "nol-setting-row" }, 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-setting-row-heading\">\n @if (isSet()) {\n <span class=\"nol-setting-row-marker material-symbols-rounded\" role=\"img\" [attr.aria-label]=\"resources.modifiedLabel\" [nolTooltip]=\"resources.modifiedLabel\">{{ resources.modifiedGlyph }}</span>\n }\n <span class=\"nol-setting-row-title\"><nol-highlighted-text [text]=\"definition().title\" [query]=\"query()\" /></span>\n @if (isSet()) {\n <button type=\"button\" class=\"nol-setting-row-reset\" nol-button [variant]=\"secondary\" [attr.aria-label]=\"resources.formatResetLabel(definition().title)\" (click)=\"reset.emit()\">\n {{ resources.resetLabel }}\n </button>\n }\n</div>\n<div class=\"nol-setting-row-name\"><nol-highlighted-text [text]=\"definition().name.text\" [query]=\"query()\" [breaksWords]=\"true\" /></div>\n@if (definition().type.kind !== kinds.Boolean) {\n <div class=\"nol-setting-row-description\" [id]=\"descriptionId\"><nol-highlighted-text [text]=\"definition().description\" [query]=\"query()\" /></div>\n}\n<div class=\"nol-setting-row-control\" [class.nol-setting-row-text]=\"definition().type.kind === kinds.Text\">\n @switch (definition().type.kind) {\n @case (kinds.Boolean) {\n <nol-checkbox [checked]=\"current() === true\" (checkedChange)=\"choose($event)\">\n <nol-highlighted-text [text]=\"definition().description\" [query]=\"query()\" />\n </nol-checkbox>\n }\n @case (kinds.Choice) {\n @if (isFew()) {\n <nol-choice-pills [label]=\"definition().title\" [describedBy]=\"describedBy()\" [options]=\"options()\" [value]=\"asString(current())\" (valueChange)=\"choose($event)\" />\n } @else {\n <nol-select [label]=\"definition().title\" [describedBy]=\"describedBy()\" [options]=\"options()\" [value]=\"asString(current())\" [disabled]=\"isWaiting()\" (valueChange)=\"choose($event)\" />\n }\n }\n @case (kinds.Number) {\n <input nol-text-field type=\"number\" class=\"nol-setting-row-number\" [attr.aria-label]=\"definition().title\" [min]=\"definition().type.minimum\" [max]=\"definition().type.maximum\"\n [step]=\"definition().type.step\" [value]=\"current()\" [attr.aria-invalid]=\"error() ? true : null\" [attr.aria-describedby]=\"describedBy()\"\n (change)=\"commitNumber($event)\" (keydown.escape)=\"revertNumber($event)\" />\n }\n @case (kinds.Text) {\n <input nol-text-field type=\"text\" [attr.aria-label]=\"definition().title\" [attr.aria-invalid]=\"message() ? true : null\" [attr.aria-describedby]=\"describedBy()\" [attr.maxlength]=\"definition().type.maxLength\" [value]=\"fieldText()\" (input)=\"draftText($event)\" (change)=\"commitText($event)\" />\n }\n @case (kinds.Action) {\n <button type=\"button\" nol-button [variant]=\"secondary\" [attr.aria-describedby]=\"describedBy()\" [disabled]=\"!canRun()\" (click)=\"run.emit()\">\n <nol-highlighted-text [text]=\"asString(definition().type.label)\" [query]=\"query()\" />\n </button>\n }\n @case (kinds.Modules) {\n <div class=\"nol-setting-row-list\" role=\"group\" [attr.aria-label]=\"definition().title\" [attr.aria-describedby]=\"describedBy()\">\n @for (module of modules(); track module.value) {\n <nol-checkbox [checked]=\"chosen().has(module.value) !== isInverse()\" (checkedChange)=\"toggleModule(module.value, $event)\">{{ module.title }}</nol-checkbox>\n }\n </div>\n }\n @case (kinds.Languages) {\n @if (languages().length > 0) {\n <div class=\"nol-setting-row-list\" role=\"group\" [attr.aria-label]=\"definition().title\" [attr.aria-describedby]=\"describedBy()\">\n @for (language of languages(); track language.value) {\n <nol-checkbox [checked]=\"chosen().has(language.value)\" (checkedChange)=\"toggleLanguage(language.value, $event)\">{{ language.title }}</nol-checkbox>\n }\n </div>\n }\n }\n }\n @if (note(); as text) {\n <div class=\"nol-setting-row-note\" [id]=\"noteId\">{{ text }}</div>\n }\n</div>\n@if (message(); as text) {\n <nol-field-message [id]=\"errorId\">{{ text }}</nol-field-message>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: flex;\n flex-direction: column;\n padding: var(--nol-settings-item-padding);\n border-radius: var(--nol-radius-medium);\n}\n\n:host(:not(.nol-setting-row-static):hover) {\n background-color: var(--nol-hover);\n}\n\n.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\n.nol-setting-row-marker {\n flex: none;\n color: var(--nol-accent);\n font-size: var(--nol-setting-marker);\n font-variation-settings: \"FILL\" 1;\n}\n\n.nol-setting-row-title {\n color: var(--nol-setting-title);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.nol-setting-row-reset {\n margin-inline-start: auto;\n}\n\n.nol-setting-row-name {\n overflow-wrap: anywhere;\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n}\n\n.nol-setting-row-description {\n margin-top: var(--nol-settings-item-description-gap);\n color: var(--nol-text);\n}\n\n.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\n.nol-setting-row-list {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n}\n\n.nol-setting-row-note {\n color: var(--nol-text-muted);\n}\n\n.nol-setting-row-text {\n align-items: baseline;\n column-gap: var(--nol-space-2);\n}\n\n.nol-setting-row-text > .nol-setting-row-note {\n flex: 1 1 0;\n min-width: min(100%, 10rem);\n overflow-wrap: anywhere;\n}\n\n.nol-setting-row-number {\n width: var(--nol-number-field-width);\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: CheckboxComponent, selector: "nol-checkbox", inputs: ["checked", "disabled"], outputs: ["checkedChange"] }, { kind: "component", type: ChoicePillsComponent, selector: "nol-choice-pills", inputs: ["options", "value", "label", "describedBy"], outputs: ["valueChange"] }, { kind: "component", type: FieldMessageComponent, selector: "nol-field-message", inputs: ["kind"] }, { kind: "component", type: HighlightedTextComponent, selector: "nol-highlighted-text", inputs: ["text", "query", "breaksWords"] }, { kind: "component", type: SelectComponent, selector: "nol-select", inputs: ["options", "value", "label", "describedBy", "disabled"], outputs: ["valueChange"] }, { kind: "component", type: TextFieldComponent, selector: "input[nol-text-field], textarea[nol-text-field]" }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
|
|
167
|
+
}
|
|
168
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: SettingRowComponent, decorators: [{
|
|
169
|
+
type: Component,
|
|
170
|
+
args: [{ selector: "nol-setting-row", imports: [ButtonComponent, CheckboxComponent, ChoicePillsComponent, FieldMessageComponent, HighlightedTextComponent, SelectComponent, TextFieldComponent, TooltipDirective], host: {
|
|
171
|
+
"class": "nol-setting-row",
|
|
172
|
+
"[attr.data-setting]": "definition().name.text",
|
|
173
|
+
"[class.nol-setting-row-static]": "!hasControl()"
|
|
174
|
+
}, 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-setting-row-heading\">\n @if (isSet()) {\n <span class=\"nol-setting-row-marker material-symbols-rounded\" role=\"img\" [attr.aria-label]=\"resources.modifiedLabel\" [nolTooltip]=\"resources.modifiedLabel\">{{ resources.modifiedGlyph }}</span>\n }\n <span class=\"nol-setting-row-title\"><nol-highlighted-text [text]=\"definition().title\" [query]=\"query()\" /></span>\n @if (isSet()) {\n <button type=\"button\" class=\"nol-setting-row-reset\" nol-button [variant]=\"secondary\" [attr.aria-label]=\"resources.formatResetLabel(definition().title)\" (click)=\"reset.emit()\">\n {{ resources.resetLabel }}\n </button>\n }\n</div>\n<div class=\"nol-setting-row-name\"><nol-highlighted-text [text]=\"definition().name.text\" [query]=\"query()\" [breaksWords]=\"true\" /></div>\n@if (definition().type.kind !== kinds.Boolean) {\n <div class=\"nol-setting-row-description\" [id]=\"descriptionId\"><nol-highlighted-text [text]=\"definition().description\" [query]=\"query()\" /></div>\n}\n<div class=\"nol-setting-row-control\" [class.nol-setting-row-text]=\"definition().type.kind === kinds.Text\">\n @switch (definition().type.kind) {\n @case (kinds.Boolean) {\n <nol-checkbox [checked]=\"current() === true\" (checkedChange)=\"choose($event)\">\n <nol-highlighted-text [text]=\"definition().description\" [query]=\"query()\" />\n </nol-checkbox>\n }\n @case (kinds.Choice) {\n @if (isFew()) {\n <nol-choice-pills [label]=\"definition().title\" [describedBy]=\"describedBy()\" [options]=\"options()\" [value]=\"asString(current())\" (valueChange)=\"choose($event)\" />\n } @else {\n <nol-select [label]=\"definition().title\" [describedBy]=\"describedBy()\" [options]=\"options()\" [value]=\"asString(current())\" [disabled]=\"isWaiting()\" (valueChange)=\"choose($event)\" />\n }\n }\n @case (kinds.Number) {\n <input nol-text-field type=\"number\" class=\"nol-setting-row-number\" [attr.aria-label]=\"definition().title\" [min]=\"definition().type.minimum\" [max]=\"definition().type.maximum\"\n [step]=\"definition().type.step\" [value]=\"current()\" [attr.aria-invalid]=\"error() ? true : null\" [attr.aria-describedby]=\"describedBy()\"\n (change)=\"commitNumber($event)\" (keydown.escape)=\"revertNumber($event)\" />\n }\n @case (kinds.Text) {\n <input nol-text-field type=\"text\" [attr.aria-label]=\"definition().title\" [attr.aria-invalid]=\"message() ? true : null\" [attr.aria-describedby]=\"describedBy()\" [attr.maxlength]=\"definition().type.maxLength\" [value]=\"fieldText()\" (input)=\"draftText($event)\" (change)=\"commitText($event)\" />\n }\n @case (kinds.Action) {\n <button type=\"button\" nol-button [variant]=\"secondary\" [attr.aria-describedby]=\"describedBy()\" [disabled]=\"!canRun()\" (click)=\"run.emit()\">\n <nol-highlighted-text [text]=\"asString(definition().type.label)\" [query]=\"query()\" />\n </button>\n }\n @case (kinds.Modules) {\n <div class=\"nol-setting-row-list\" role=\"group\" [attr.aria-label]=\"definition().title\" [attr.aria-describedby]=\"describedBy()\">\n @for (module of modules(); track module.value) {\n <nol-checkbox [checked]=\"chosen().has(module.value) !== isInverse()\" (checkedChange)=\"toggleModule(module.value, $event)\">{{ module.title }}</nol-checkbox>\n }\n </div>\n }\n @case (kinds.Languages) {\n @if (languages().length > 0) {\n <div class=\"nol-setting-row-list\" role=\"group\" [attr.aria-label]=\"definition().title\" [attr.aria-describedby]=\"describedBy()\">\n @for (language of languages(); track language.value) {\n <nol-checkbox [checked]=\"chosen().has(language.value)\" (checkedChange)=\"toggleLanguage(language.value, $event)\">{{ language.title }}</nol-checkbox>\n }\n </div>\n }\n }\n }\n @if (note(); as text) {\n <div class=\"nol-setting-row-note\" [id]=\"noteId\">{{ text }}</div>\n }\n</div>\n@if (message(); as text) {\n <nol-field-message [id]=\"errorId\">{{ text }}</nol-field-message>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: flex;\n flex-direction: column;\n padding: var(--nol-settings-item-padding);\n border-radius: var(--nol-radius-medium);\n}\n\n:host(:not(.nol-setting-row-static):hover) {\n background-color: var(--nol-hover);\n}\n\n.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\n.nol-setting-row-marker {\n flex: none;\n color: var(--nol-accent);\n font-size: var(--nol-setting-marker);\n font-variation-settings: \"FILL\" 1;\n}\n\n.nol-setting-row-title {\n color: var(--nol-setting-title);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.nol-setting-row-reset {\n margin-inline-start: auto;\n}\n\n.nol-setting-row-name {\n overflow-wrap: anywhere;\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n}\n\n.nol-setting-row-description {\n margin-top: var(--nol-settings-item-description-gap);\n color: var(--nol-text);\n}\n\n.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\n.nol-setting-row-list {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n}\n\n.nol-setting-row-note {\n color: var(--nol-text-muted);\n}\n\n.nol-setting-row-text {\n align-items: baseline;\n column-gap: var(--nol-space-2);\n}\n\n.nol-setting-row-text > .nol-setting-row-note {\n flex: 1 1 0;\n min-width: min(100%, 10rem);\n overflow-wrap: anywhere;\n}\n\n.nol-setting-row-number {\n width: var(--nol-number-field-width);\n}\n"] }]
|
|
175
|
+
}], propDecorators: { definition: [{ type: i0.Input, args: [{ isSignal: true, alias: "definition", required: true }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], isSet: [{ type: i0.Input, args: [{ isSignal: true, alias: "isSet", required: false }] }], query: [{ type: i0.Input, args: [{ isSignal: true, alias: "query", required: false }] }], modules: [{ type: i0.Input, args: [{ isSignal: true, alias: "modules", required: false }] }], languages: [{ type: i0.Input, args: [{ isSignal: true, alias: "languages", required: false }] }], note: [{ type: i0.Input, args: [{ isSignal: true, alias: "note", required: false }] }], isRequired: [{ type: i0.Input, args: [{ isSignal: true, alias: "isRequired", required: false }] }], isInverse: [{ type: i0.Input, args: [{ isSignal: true, alias: "isInverse", required: false }] }], canRun: [{ type: i0.Input, args: [{ isSignal: true, alias: "canRun", required: false }] }], supplied: [{ type: i0.Input, args: [{ isSignal: true, alias: "supplied", required: false }] }], check: [{ type: i0.Input, args: [{ isSignal: true, alias: "check", required: false }] }], changed: [{ type: i0.Output, args: ["changed"] }], drafted: [{ type: i0.Output, args: ["drafted"] }], reset: [{ type: i0.Output, args: ["reset"] }], run: [{ type: i0.Output, args: ["run"] }] } });
|
|
176
|
+
//# sourceMappingURL=setting-row.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setting-row.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.desktop.window/src/app/components/setting-row/setting-row.component.ts","../../../../../../src/noldova.desktop.window/src/app/components/setting-row/setting-row.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAoC,QAAQ,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE9H,OAAO,uBAAuB,CAAC;AAC/B,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,eAAe,EAAE,YAAY,EAAE,kBAAkB,EAAE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AAC,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAC7E,CAAC;IAES,QAAQ,CAAC,KAAgB;QACjC,OAAO,MAAM,CAAC,KAAK,CAAC,CAAC;IACvB,CAAC;uGA7IU,mBAAmB;2FAAnB,mBAAmB,yyDC7BhC,otIA0EA,g0DDtDY,eAAe,oJAAE,iBAAiB,sHAAE,oBAAoB,6IAAE,qBAAqB,gFAAE,wBAAwB,2GAAE,eAAe,mJAAE,kBAAkB,4FAAE,gBAAgB;;2FAS/J,mBAAmB;kBAX/B,SAAS;+BACE,iBAAiB,WAClB,CAAC,eAAe,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,eAAe,EAAE,kBAAkB,EAAE,gBAAgB,CAAC,QAGrK;wBACJ,OAAO,EAAE,iBAAiB;wBAC1B,qBAAqB,EAAE,wBAAwB;wBAC/C,gCAAgC,EAAE,eAAe;qBAClD"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { type Signal, type Type, type WritableSignal } from "@angular/core";
|
|
2
|
+
import "@noldova/context.core";
|
|
3
|
+
import { ButtonVariant, SelectOption, TreeNode } from "@noldova/ui.components.angular";
|
|
4
|
+
import type { JsonValue } from "@noldova/context.json";
|
|
5
|
+
import { type SettingDefinition } from "@noldova/desktop.protocol";
|
|
6
|
+
import { SettingsPage } from "../../models/settings/settings-page.js";
|
|
7
|
+
import type { SettingsPageEntry } from "../../models/settings/settings-page-entry.js";
|
|
8
|
+
import type { SettingsRow } from "../../models/settings/settings-row.js";
|
|
9
|
+
import { ShortcutRow } from "../../models/settings/shortcut-row.js";
|
|
10
|
+
import { Resources } from "../../../resources.js";
|
|
11
|
+
import { SettingCheckService } from "../../services/setting-check.service.js";
|
|
12
|
+
import { SettingOptionsService } from "../../services/setting-options.service.js";
|
|
13
|
+
import { SpellingService } from "../../services/spelling.service.js";
|
|
14
|
+
import * as i0 from "@angular/core";
|
|
15
|
+
export declare class SettingsComponent {
|
|
16
|
+
private readonly settings;
|
|
17
|
+
private readonly switches;
|
|
18
|
+
private readonly commands;
|
|
19
|
+
private readonly errors;
|
|
20
|
+
private readonly bridge;
|
|
21
|
+
private readonly clock;
|
|
22
|
+
private readonly selected;
|
|
23
|
+
private readonly pageList;
|
|
24
|
+
private readonly column;
|
|
25
|
+
private readonly pageTree;
|
|
26
|
+
private readonly pageSelect;
|
|
27
|
+
private readonly pageChooser;
|
|
28
|
+
private readonly isTrayAvailable;
|
|
29
|
+
private readonly drafts;
|
|
30
|
+
private readonly now;
|
|
31
|
+
private focusedControl;
|
|
32
|
+
private readonly injector;
|
|
33
|
+
private marked;
|
|
34
|
+
private revealer;
|
|
35
|
+
private readonly statuses;
|
|
36
|
+
private readonly updates;
|
|
37
|
+
private readonly parts;
|
|
38
|
+
private readonly offeredDefinitions;
|
|
39
|
+
private readonly currentTitle;
|
|
40
|
+
protected readonly resources: typeof Resources;
|
|
41
|
+
protected readonly secondary: ButtonVariant;
|
|
42
|
+
protected readonly text: ButtonVariant;
|
|
43
|
+
protected readonly query: WritableSignal<string>;
|
|
44
|
+
protected readonly gallery: Type<unknown> | null;
|
|
45
|
+
protected readonly spelling: SpellingService;
|
|
46
|
+
protected readonly settingOptions: SettingOptionsService;
|
|
47
|
+
protected readonly settingChecks: SettingCheckService;
|
|
48
|
+
protected readonly modules: Signal<readonly SelectOption[]>;
|
|
49
|
+
protected readonly notifyingModules: Signal<readonly SelectOption[]>;
|
|
50
|
+
protected readonly values: Signal<ReadonlyMap<string, JsonValue>>;
|
|
51
|
+
protected readonly setFlags: Signal<ReadonlyMap<string, Signal<boolean>>>;
|
|
52
|
+
protected readonly isSearching: Signal<boolean>;
|
|
53
|
+
protected readonly pages: Signal<readonly SettingsPage[]>;
|
|
54
|
+
protected readonly currentPage: Signal<SettingsPage | undefined>;
|
|
55
|
+
protected readonly pageNodes: Signal<readonly TreeNode[]>;
|
|
56
|
+
protected readonly pageOptions: Signal<readonly SelectOption[]>;
|
|
57
|
+
protected readonly pageChoice: Signal<string>;
|
|
58
|
+
protected readonly shortcuts: Signal<readonly ShortcutRow[]>;
|
|
59
|
+
protected readonly results: Signal<readonly SettingsPage[]>;
|
|
60
|
+
protected readonly matchingShortcuts: Signal<readonly ShortcutRow[]>;
|
|
61
|
+
constructor();
|
|
62
|
+
protected noteFocus(event: FocusEvent): void;
|
|
63
|
+
protected noteBlur(): void;
|
|
64
|
+
protected search(event: Event): void;
|
|
65
|
+
protected select(title: string): void;
|
|
66
|
+
protected matchingRows(entry: SettingsPageEntry): readonly SettingsRow[];
|
|
67
|
+
protected openRow(page: string, id: string): void;
|
|
68
|
+
protected isMutedModules(definition: SettingDefinition): boolean;
|
|
69
|
+
protected noteFor(definition: SettingDefinition): string | null;
|
|
70
|
+
protected isFormat(definition: SettingDefinition): boolean;
|
|
71
|
+
protected draft(definition: SettingDefinition, text: string): void;
|
|
72
|
+
protected change(definition: SettingDefinition, value: JsonValue): void;
|
|
73
|
+
protected reset(definition: SettingDefinition): void;
|
|
74
|
+
protected canRun(definition: SettingDefinition): boolean;
|
|
75
|
+
protected run(definition: SettingDefinition): void;
|
|
76
|
+
private reveal;
|
|
77
|
+
private unmark;
|
|
78
|
+
private storedText;
|
|
79
|
+
private dropDraft;
|
|
80
|
+
private keepFocus;
|
|
81
|
+
private static matches;
|
|
82
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SettingsComponent, never>;
|
|
83
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SettingsComponent, "nol-settings", never, {}, {}, never, never, true, never>;
|
|
84
|
+
}
|