@noldova/desktop.window 0.0.6 → 0.0.8
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/app/components/about/about.component.js +3 -3
- package/app/components/dock/dock.component.js +3 -3
- package/app/components/docking-guides/docking-guides.component.js +3 -3
- package/app/components/empty-window/empty-window.component.js +3 -3
- package/app/components/field-menu/field-menu.component.js +3 -3
- package/app/components/highlighted-text/highlighted-text.component.js +3 -3
- package/app/components/link-menu/link-menu.component.js +3 -3
- package/app/components/module-actions/module-actions.component.js +3 -3
- package/app/components/module-failure-card/module-failure-card.component.js +3 -3
- package/app/components/module-failures/module-failures.component.js +3 -3
- package/app/components/module-switch/module-switch.component.js +3 -3
- package/app/components/modules/modules.component.js +3 -3
- package/app/components/notifications/notifications.component.js +3 -3
- package/app/components/notifications-popover/notifications-popover.component.js +3 -3
- package/app/components/place-menu/place-menu.component.js +3 -3
- package/app/components/placeholder-content/placeholder-content.component.js +3 -3
- package/app/components/quit-dialog/quit-dialog.component.js +3 -3
- package/app/components/runtime-status/runtime-status.component.js +3 -3
- package/app/components/search-palette/search-palette.component.js +3 -3
- package/app/components/setting-row/setting-row.component.js +3 -3
- package/app/components/settings/settings.component.js +3 -3
- package/app/components/settings-page-host/settings-page-host.component.js +3 -3
- package/app/components/shortcuts/shortcuts.component.js +3 -3
- package/app/components/split-sash/split-sash.component.js +3 -3
- package/app/components/startup/startup.component.js +3 -3
- package/app/components/status-bar/status-bar.component.js +3 -3
- package/app/components/status-bar-item/status-bar-item.component.js +3 -3
- package/app/components/tab-content/tab-content.component.js +3 -3
- package/app/components/tab-group/tab-group.component.js +3 -3
- package/app/components/tab-row-actions/tab-row-actions.component.js +3 -3
- package/app/components/tab-slot/tab-slot.component.js +3 -3
- package/app/components/toasts/toasts.component.js +3 -3
- package/app/components/toolbar/toolbar.component.js +3 -3
- package/app/components/toolbar-band/toolbar-band.component.js +3 -3
- package/app/components/update-item/update-item.component.js +3 -3
- package/app/components/view-dialog/view-dialog.component.js +3 -3
- package/app/components/window/window.component.js +3 -3
- package/app/components/window-controls/window-controls.component.js +3 -3
- package/app/components/window-row/window-row.component.js +3 -3
- package/app/components/workspace/workspace.component.js +3 -3
- package/app/directives/keeps-ctrl-keys.directive.js +3 -3
- package/app/directives/tab-scroller.directive.js +3 -3
- package/app/interfaces/i-view-options.d.ts +17 -0
- package/app/models/layout/layout.d.ts +1 -0
- package/app/models/layout/layout.js +11 -3
- package/app/models/layout/layout.js.map +1 -1
- package/app/models/layout/view-type.d.ts +3 -1
- package/app/models/layout/view-type.js +5 -1
- package/app/models/layout/view-type.js.map +1 -1
- package/app/models/view-contribution.d.ts +18 -3
- package/app/models/view-contribution.js +6 -0
- package/app/models/view-contribution.js.map +1 -1
- package/app/services/agent-control.service.js +3 -3
- package/app/services/appearance-settings.service.js +3 -3
- package/app/services/bar-items.service.js +3 -3
- package/app/services/clock-setting.service.js +3 -3
- package/app/services/closing.service.js +3 -3
- package/app/services/command.service.js +3 -3
- package/app/services/details.service.js +3 -3
- package/app/services/dialog-cover.service.js +3 -3
- package/app/services/dock-growth.service.js +3 -3
- package/app/services/document-history.service.js +3 -3
- package/app/services/document-instances.service.js +3 -3
- package/app/services/document-opener.service.js +3 -3
- package/app/services/edit-target.service.js +3 -3
- package/app/services/layout-menu.service.js +3 -3
- package/app/services/layout-store.service.js +3 -3
- package/app/services/layout.service.js +3 -3
- package/app/services/link.service.js +3 -3
- package/app/services/live-view.service.js +3 -3
- package/app/services/menu-bar.service.js +3 -3
- package/app/services/menu.service.js +3 -3
- package/app/services/module-selection.service.js +3 -3
- package/app/services/module-status.service.js +3 -3
- package/app/services/module-switch.service.js +3 -3
- package/app/services/notification.service.js +3 -3
- package/app/services/pane-keys.service.js +3 -3
- package/app/services/preload-bridge.service.js +3 -3
- package/app/services/program-status.service.js +3 -3
- package/app/services/quit.service.js +3 -3
- package/app/services/recent-commands.service.js +3 -3
- package/app/services/region-focus.service.js +3 -3
- package/app/services/search-palette.service.js +3 -3
- package/app/services/search.service.js +3 -3
- package/app/services/setting-check.service.js +3 -3
- package/app/services/setting-options.service.js +3 -3
- package/app/services/settings-page.service.js +3 -3
- package/app/services/settings-rows.service.js +3 -3
- package/app/services/settings.service.js +3 -3
- package/app/services/shell-commands.service.js +3 -3
- package/app/services/shell-search-sources.service.js +3 -3
- package/app/services/spelling.service.js +3 -3
- package/app/services/startup.service.js +3 -3
- package/app/services/support.service.js +3 -3
- package/app/services/tab-destinations.service.js +3 -3
- package/app/services/tab-drag.service.js +3 -3
- package/app/services/tab-focus.service.js +3 -3
- package/app/services/tab-label.service.js +3 -3
- package/app/services/tab-rename.service.js +3 -3
- package/app/services/tab-row.service.js +3 -3
- package/app/services/tab-strip.service.js +3 -3
- package/app/services/time-formats.service.js +3 -3
- package/app/services/toast.service.js +3 -3
- package/app/services/toolbar-drag.service.js +3 -3
- package/app/services/toolbar.service.js +3 -3
- package/app/services/update.service.js +3 -3
- package/app/services/view-dialog.service.js +3 -3
- package/app/services/view-instances.service.js +3 -3
- package/app/services/web-view.service.js +3 -3
- package/app/services/window-error-handler.js +3 -3
- package/app/services/window-part-host.service.js +5 -5
- package/app/services/window-part-host.service.js.map +1 -1
- package/app/services/window-row-overlay.service.js +3 -3
- package/package.json +11 -11
- package/resources.d.ts +1 -0
- package/resources.js +1 -0
- package/resources.js.map +1 -1
|
@@ -111,10 +111,10 @@ export class AboutComponent {
|
|
|
111
111
|
if (focused instanceof HTMLButtonElement && focused.parentElement === status.parentElement)
|
|
112
112
|
status.focus();
|
|
113
113
|
}
|
|
114
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
115
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
114
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: AboutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
115
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: AboutComponent, isStandalone: true, selector: "nol-about", host: { attributes: { "role": "region" }, properties: { "attr.aria-label": "resources.formatAboutLabel(productName)" }, classAttribute: "nol-settings-group" }, viewQueries: [{ propertyName: "statusElement", first: true, predicate: ["statusLine"], descendants: true, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div class=\"nol-about-heading\">\n @if (logo(); as logo) {\n <img class=\"nol-about-logo\" [src]=\"logo\" alt=\"\" />\n }\n <h2 class=\"nol-about-title\">{{ version() }}</h2>\n</div>\n@if (about.description; as description) {\n <p class=\"nol-about-description\">{{ description }}</p>\n}\n<p class=\"nol-about-platform\">{{ platform }}</p>\n@if (about.website || about.releases) {\n <p class=\"nol-about-links\">\n @if (about.website; as website) {\n <a class=\"nol-about-link\" [href]=\"website\">{{ websiteLabel }}</a>\n }\n @if (about.releases; as releases) {\n <a class=\"nol-about-link\" [href]=\"releases\">{{ resources.releasesLink }}</a>\n }\n </p>\n}\n<div class=\"nol-about-state\">\n<div class=\"nol-about-update\">\n <p #statusLine class=\"nol-about-status\" role=\"status\" tabindex=\"-1\">\n <span>{{ status() }}@if (percent(); as percent) {<span aria-hidden=\"true\">{{ percent }}</span>}</span>\n @for (detail of details(); track $index) {\n <span class=\"nol-about-detail\">{{ detail }}</span>\n }\n @if (showsMoveHint()) {\n <span>{{ resources.formatMoveToApplications(productName) }}</span>\n }\n </p>\n @switch (state().kind) {\n @case (kinds.UpToDate) {\n <button type=\"button\" nol-button [variant]=\"secondary\" (click)=\"check()\">{{ resources.checkForUpdatesTitle }}</button>\n }\n @case (kinds.Ready) {\n <button type=\"button\" nol-button (click)=\"restart()\">{{ resources.restartToUpdateLabel }}</button>\n }\n @case (kinds.Failed) {\n <button type=\"button\" nol-button [variant]=\"secondary\" (click)=\"check()\">{{ resources.tryAgain }}</button>\n }\n }\n</div>\n@if (state().kind === kinds.Downloading) {\n <nol-progress class=\"nol-about-progress\" [label]=\"progressLabel()\" [value]=\"share()\" />\n}\n</div>\n@if (about.licenses; as licenses) {\n <h3 class=\"nol-about-licenses-title\">{{ resources.licensesTitle }}</h3>\n <p class=\"nol-about-licenses\">{{ licenses }}</p>\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: block;\n}\n\n.nol-about-heading {\n display: flex;\n align-items: center;\n gap: var(--nol-space-3);\n}\n\n.nol-about-logo {\n flex: none;\n width: calc(var(--nol-space-6) + var(--nol-space-3));\n height: calc(var(--nol-space-6) + var(--nol-space-3));\n}\n\n.nol-about-title {\n margin: 0;\n color: var(--nol-setting-title);\n font-size: var(--nol-text-heading);\n font-weight: var(--nol-weight-emphasis);\n line-height: var(--nol-line-heading);\n}\n\n.nol-about-description {\n margin: var(--nol-space-3) 0 0;\n overflow-wrap: anywhere;\n}\n\n.nol-about-platform {\n margin: 0;\n color: var(--nol-text-muted);\n}\n\n.nol-about-description + .nol-about-platform {\n margin-top: var(--nol-space-1);\n}\n\n.nol-about-links {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-4);\n margin: var(--nol-space-1) 0 0;\n}\n\n.nol-about-link {\n color: var(--nol-link);\n text-decoration: underline;\n text-underline-offset: 0.15em;\n overflow-wrap: anywhere;\n}\n\n.nol-about-state {\n display: grid;\n grid-template-columns: minmax(0, max-content);\n margin-top: var(--nol-space-2);\n}\n\n.nol-about-update {\n display: flex;\n flex-wrap: wrap;\n align-items: baseline;\n gap: var(--nol-space-2);\n}\n\n.nol-about-status {\n display: flex;\n flex-direction: column;\n margin: 0;\n}\n\n.nol-about-detail {\n color: var(--nol-text-muted);\n overflow-wrap: anywhere;\n}\n\n.nol-about-progress {\n display: block;\n margin-top: var(--nol-space-1);\n}\n\n.nol-about-licenses-title {\n margin: var(--nol-space-6) 0 var(--nol-space-1);\n color: var(--nol-setting-title);\n font-size: inherit;\n font-weight: var(--nol-weight-emphasis);\n}\n\n.nol-about-licenses {\n margin: 0;\n color: var(--nol-text-muted);\n white-space: pre-line;\n overflow-wrap: anywhere;\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: ProgressComponent, selector: "nol-progress", inputs: ["label", "value"] }] });
|
|
116
116
|
}
|
|
117
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: AboutComponent, decorators: [{
|
|
118
118
|
type: Component,
|
|
119
119
|
args: [{ selector: "nol-about", imports: [ButtonComponent, ProgressComponent], host: {
|
|
120
120
|
"class": "nol-settings-group",
|
|
@@ -104,10 +104,10 @@ export class DockComponent {
|
|
|
104
104
|
const size = Math.max(this.minimumSize(), Math.min(this.layout.geometry().maximumSize(this.side()), this.size() + grow));
|
|
105
105
|
this.layout.resizeDock(this.side(), size);
|
|
106
106
|
}
|
|
107
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
108
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
107
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: DockComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
108
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: DockComponent, isStandalone: true, selector: "nol-dock", inputs: { side: { classPropertyName: "side", publicName: "side", isSignal: true, isRequired: true, transformFunction: null } }, host: { properties: { "attr.data-side": "side()", "class.nol-dock-collapsed": "isCollapsed()" } }, ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (isShown()) {\n @if (stripBounds(); as box) {\n @if (dock().root; as root) {\n <nol-panel-card class=\"nol-dock-strip\" [class.nol-dock-strip-vertical]=\"isVertical()\" [class.nol-dock-strip-rail]=\"isRail()\" [surface]=\"surface\"\n [attr.data-drop-group]=\"root.cornerGroup.id\" data-drop-tabs nolToolbar [nolToolbarOrientation]=\"stripOrientation()\" [nolToolbarLabel]=\"resources.dockStripLabels[side()]\"\n [style.left.rem]=\"box.x\" [style.top.rem]=\"box.y\" [style.width.rem]=\"box.width\" [style.height.rem]=\"box.height\">\n @for (icons of iconsOf(root); track icons[0]?.group?.id; let first = $first, lastGroup = $last) {\n @if (!first) {\n <span class=\"nol-dock-strip-separator\" role=\"separator\" [attr.aria-orientation]=\"separatorOrientation()\"></span>\n }\n @for (icon of icons; track icon.tab.key; let last = $last) {\n @let tab = icon.tab;\n @let label = labels.of(tab);\n @let badge = labels.badgeOf(tab);\n <nol-place-menu #menu [place]=\"resources.tabMenu\" [context]=\"{ tab: tab.key }\" />\n <button type=\"button\" nol-icon-button nolToolbarItem class=\"nol-dock-strip-view\" [nolContextMenuTriggerFor]=\"menu.menu()\" [attr.data-view]=\"tab.key\" [icon]=\"label.icon\"\n [attr.data-drop-before]=\"encode(icon.before)\" [attr.data-drop-after]=\"encode(icon.after)\" [attr.data-drop-axis]=\"axis()\"\n [class.nol-drop-line-before]=\"icon.before.equals(drag.target())\" [class.nol-drop-line-after]=\"lastGroup && last && icon.after.equals(drag.target())\" [class.nol-drop-line-vertical]=\"isVertical()\"\n [class.nol-dock-strip-dragged]=\"tab.equals(drag.dragging())\" (pointerdown)=\"drag.begin(tab, $event)\"\n [label]=\"badge ? resources.formatBadged(label.title, badge.description) : label.title\"\n [pressed]=\"isShowing(icon.group, tab)\" [nolTooltip]=\"label.title\" [nolTooltipSide]=\"tooltipSide()\" [nolTooltipBeside]=\"resources.dockStripSelector\" (click)=\"toggle(icon.group, tab, $event)\">\n @if (badge) {\n <nol-view-badge class=\"nol-dock-strip-badge\" [count]=\"badge.count\" />\n }\n </button>\n }\n }\n </nol-panel-card>\n }\n }\n @if (!isCollapsed()) {\n @let box = sash();\n <nol-sash class=\"nol-dock-sash\" [orientation]=\"orientation()\" [label]=\"resources.resizeDockLabels[side()]\" [value]=\"pixels(size())\"\n [minimum]=\"pixels(minimumSize())\" [maximum]=\"pixels(layout.geometry().maximumSize(side()))\" (resize)=\"resize($event)\"\n [style.left.rem]=\"box.x\" [style.top.rem]=\"box.y\" [style.width.rem]=\"box.width\" [style.height.rem]=\"box.height\" />\n }\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: contents;\n}\n\n.nol-dock-strip {\n position: absolute;\n flex-direction: row;\n align-items: center;\n gap: var(--nol-space-1);\n padding: var(--nol-space-1);\n}\n\n.nol-dock-strip-vertical {\n flex-direction: column;\n}\n\n.nol-dock-strip-dragged {\n opacity: 0.5;\n}\n\n.nol-dock-strip-badge {\n grid-area: 1 / 1;\n align-self: start;\n justify-self: end;\n}\n\n.nol-dock-strip-separator {\n flex: none;\n align-self: stretch;\n width: var(--nol-border-width);\n background-color: var(--nol-border);\n\n @media (forced-colors: active) {\n background-color: CanvasText;\n }\n}\n\n.nol-dock-strip-vertical .nol-dock-strip-separator {\n width: auto;\n height: var(--nol-border-width);\n}\n\n.nol-dock-sash {\n position: absolute;\n}\n"], dependencies: [{ kind: "directive", type: ContextMenuTriggerDirective, selector: "[nolContextMenuTriggerFor]", inputs: ["nolContextMenuTriggerFor"], exportAs: ["nolContextMenuTriggerFor"] }, { kind: "component", type: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { kind: "component", type: PanelCardComponent, selector: "nol-panel-card", inputs: ["surface"] }, { kind: "component", type: PlaceMenuComponent, selector: "nol-place-menu", inputs: ["place", "rows", "context"] }, { kind: "component", type: SashComponent, selector: "nol-sash", inputs: ["orientation", "label", "value", "minimum", "maximum", "step"], outputs: ["resize"] }, { kind: "directive", type: ToolbarDirective, selector: "[nolToolbar]", inputs: ["nolToolbarOrientation", "nolToolbarLabel", "nolToolbarWrap", "nolToolbarStart", "nolToolbarItems"] }, { kind: "directive", type: ToolbarItemDirective, selector: "[nolToolbarItem]" }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }, { kind: "component", type: ViewBadgeComponent, selector: "nol-view-badge", inputs: ["count"] }] });
|
|
109
109
|
}
|
|
110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
110
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: DockComponent, decorators: [{
|
|
111
111
|
type: Component,
|
|
112
112
|
args: [{ selector: "nol-dock", imports: [ContextMenuTriggerDirective, IconButtonComponent, PanelCardComponent, PlaceMenuComponent, SashComponent, ToolbarDirective, ToolbarItemDirective, TooltipDirective, ViewBadgeComponent], host: {
|
|
113
113
|
"[attr.data-side]": "side()",
|
|
@@ -51,10 +51,10 @@ export class DockingGuidesComponent {
|
|
|
51
51
|
return Resources.edgeDirections[target.edge];
|
|
52
52
|
return new GroupDropTarget(frame.group.id).equals(target) ? DockingDirection.Center : null;
|
|
53
53
|
}
|
|
54
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
55
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
54
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: DockingGuidesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
55
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: DockingGuidesComponent, isStandalone: true, selector: "nol-docking-guides", ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (drag.dragging(); as tab) {\n @if (preview(); as box) {\n <div class=\"nol-docking-preview\" [style.left.rem]=\"box.x\" [style.top.rem]=\"box.y\" [style.width.rem]=\"box.width\" [style.height.rem]=\"box.height\"></div>\n }\n @if (tab.isMovable) {\n @for (side of sides; track side) {\n @let box = overlay().guide(side);\n <nol-docking-guide class=\"nol-docking-side\" [direction]=\"resources.sideDirections[side]\" [chosen]=\"isChosen(targetOf(side))\" [attr.data-drop-side]=\"side\"\n [attr.data-drop-span]=\"targetOf(side).span\" [style.left.rem]=\"box.x\" [style.top.rem]=\"box.y\" />\n }\n @let outer = overlay().outerGuide();\n <nol-docking-guide class=\"nol-docking-side nol-docking-outer\" [direction]=\"resources.sideDirections.Bottom\" [chosen]=\"isChosen(outerTarget)\"\n [attr.data-drop-side]=\"outerTarget.side\" [attr.data-drop-span]=\"outerTarget.span\" [style.left.rem]=\"outer.x\" [style.top.rem]=\"outer.y\" />\n }\n @if (plateFrame(); as frame) {\n @let box = overlay().plate(frame);\n <nol-docking-plate class=\"nol-docking-group-plate\" data-drop-plate [attr.data-drop-group]=\"frame.group.id\" [chosen]=\"plateChoice(frame)\"\n [style.left.rem]=\"box.x\" [style.top.rem]=\"box.y\" />\n }\n @let label = labels.of(tab);\n <div class=\"nol-drag-label\" role=\"status\" [style.left.px]=\"drag.pointerX()\" [style.top.px]=\"drag.pointerY()\">\n <span class=\"nol-drag-label-icon material-symbols-rounded\" aria-hidden=\"true\">{{ label.icon }}</span>\n <span class=\"nol-drag-label-text\">{{ resources.formatDraggedTab(label.title) }}</span>\n </div>\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 position: absolute;\n inset: 0;\n pointer-events: none;\n}\n\n.nol-docking-preview {\n position: absolute;\n box-sizing: border-box;\n border: var(--nol-border-width) solid var(--nol-docking-preview-border);\n border-radius: var(--nol-radius-large);\n background-color: var(--nol-docking-preview);\n}\n\n.nol-docking-side,\n.nol-docking-group-plate {\n position: absolute;\n pointer-events: auto;\n}\n\n.nol-drag-label {\n position: fixed;\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n translate: var(--nol-space-3) var(--nol-space-3);\n padding: var(--nol-space-1) var(--nol-space-2);\n border: var(--nol-border-width) solid var(--nol-widget-border);\n border-radius: var(--nol-radius-small);\n background-color: var(--nol-raised);\n box-shadow: var(--nol-shadow-large);\n color: var(--nol-text);\n white-space: nowrap;\n}\n\n.nol-drag-label-icon {\n font-size: var(--nol-icon);\n}\n"], dependencies: [{ kind: "component", type: DockingGuideComponent, selector: "nol-docking-guide", inputs: ["direction", "chosen"] }, { kind: "component", type: DockingPlateComponent, selector: "nol-docking-plate", inputs: ["chosen"] }] });
|
|
56
56
|
}
|
|
57
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
57
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: DockingGuidesComponent, decorators: [{
|
|
58
58
|
type: Component,
|
|
59
59
|
args: [{ selector: "nol-docking-guides", imports: [DockingGuideComponent, DockingPlateComponent], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (drag.dragging(); as tab) {\n @if (preview(); as box) {\n <div class=\"nol-docking-preview\" [style.left.rem]=\"box.x\" [style.top.rem]=\"box.y\" [style.width.rem]=\"box.width\" [style.height.rem]=\"box.height\"></div>\n }\n @if (tab.isMovable) {\n @for (side of sides; track side) {\n @let box = overlay().guide(side);\n <nol-docking-guide class=\"nol-docking-side\" [direction]=\"resources.sideDirections[side]\" [chosen]=\"isChosen(targetOf(side))\" [attr.data-drop-side]=\"side\"\n [attr.data-drop-span]=\"targetOf(side).span\" [style.left.rem]=\"box.x\" [style.top.rem]=\"box.y\" />\n }\n @let outer = overlay().outerGuide();\n <nol-docking-guide class=\"nol-docking-side nol-docking-outer\" [direction]=\"resources.sideDirections.Bottom\" [chosen]=\"isChosen(outerTarget)\"\n [attr.data-drop-side]=\"outerTarget.side\" [attr.data-drop-span]=\"outerTarget.span\" [style.left.rem]=\"outer.x\" [style.top.rem]=\"outer.y\" />\n }\n @if (plateFrame(); as frame) {\n @let box = overlay().plate(frame);\n <nol-docking-plate class=\"nol-docking-group-plate\" data-drop-plate [attr.data-drop-group]=\"frame.group.id\" [chosen]=\"plateChoice(frame)\"\n [style.left.rem]=\"box.x\" [style.top.rem]=\"box.y\" />\n }\n @let label = labels.of(tab);\n <div class=\"nol-drag-label\" role=\"status\" [style.left.px]=\"drag.pointerX()\" [style.top.px]=\"drag.pointerY()\">\n <span class=\"nol-drag-label-icon material-symbols-rounded\" aria-hidden=\"true\">{{ label.icon }}</span>\n <span class=\"nol-drag-label-text\">{{ resources.formatDraggedTab(label.title) }}</span>\n </div>\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 position: absolute;\n inset: 0;\n pointer-events: none;\n}\n\n.nol-docking-preview {\n position: absolute;\n box-sizing: border-box;\n border: var(--nol-border-width) solid var(--nol-docking-preview-border);\n border-radius: var(--nol-radius-large);\n background-color: var(--nol-docking-preview);\n}\n\n.nol-docking-side,\n.nol-docking-group-plate {\n position: absolute;\n pointer-events: auto;\n}\n\n.nol-drag-label {\n position: fixed;\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n translate: var(--nol-space-3) var(--nol-space-3);\n padding: var(--nol-space-1) var(--nol-space-2);\n border: var(--nol-border-width) solid var(--nol-widget-border);\n border-radius: var(--nol-radius-small);\n background-color: var(--nol-raised);\n box-shadow: var(--nol-shadow-large);\n color: var(--nol-text);\n white-space: nowrap;\n}\n\n.nol-drag-label-icon {\n font-size: var(--nol-icon);\n}\n"] }]
|
|
60
60
|
}] });
|
|
@@ -12,10 +12,10 @@ import * as i0 from "@angular/core";
|
|
|
12
12
|
export class EmptyWindowComponent {
|
|
13
13
|
resources = Resources;
|
|
14
14
|
productName = ProductName.current;
|
|
15
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
16
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.
|
|
15
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: EmptyWindowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.3.0", type: EmptyWindowComponent, isStandalone: true, selector: "nol-empty-window", 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<p class=\"nol-empty-window-name\">{{ productName }}</p>\n<p class=\"nol-empty-window-state\">{{ resources.noModules }}</p>\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: 1;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: var(--nol-space-1);\n color: var(--nol-text-muted);\n text-align: center;\n}\n\np {\n margin: 0;\n}\n\n.nol-empty-window-name {\n font-size: var(--nol-text-heading);\n font-weight: var(--nol-weight-emphasis);\n color: var(--nol-text-strong);\n line-height: var(--nol-line-heading);\n}\n"] });
|
|
17
17
|
}
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: EmptyWindowComponent, decorators: [{
|
|
19
19
|
type: Component,
|
|
20
20
|
args: [{ selector: "nol-empty-window", 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<p class=\"nol-empty-window-name\">{{ productName }}</p>\n<p class=\"nol-empty-window-state\">{{ resources.noModules }}</p>\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: 1;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: var(--nol-space-1);\n color: var(--nol-text-muted);\n text-align: center;\n}\n\np {\n margin: 0;\n}\n\n.nol-empty-window-name {\n font-size: var(--nol-text-heading);\n font-weight: var(--nol-weight-emphasis);\n color: var(--nol-text-strong);\n line-height: var(--nol-line-heading);\n}\n"] }]
|
|
21
21
|
}] });
|
|
@@ -79,10 +79,10 @@ export class FieldMenuComponent {
|
|
|
79
79
|
const active = source.ownerDocument.activeElement;
|
|
80
80
|
return active instanceof HTMLElement && source.contains(active) ? active : null;
|
|
81
81
|
}
|
|
82
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
83
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.
|
|
82
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: FieldMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
83
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.3.0", type: FieldMenuComponent, isStandalone: true, selector: "nol-field-menu", host: { listeners: { "document:contextmenu": "noteFromPointer($event)", "document:keydown": "noteFromKeyboard($event)" } }, viewQueries: [{ propertyName: "trigger", first: true, predicate: ContextMenuTriggerDirective, descendants: true, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-place-menu #menu [place]=\"resources.fieldMenu\" [context]=\"context()\" />\n<span class=\"nol-field-menu-trigger\" [nolContextMenuTriggerFor]=\"menu.menu()\"></span>\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: none;\n}\n"], dependencies: [{ kind: "directive", type: ContextMenuTriggerDirective, selector: "[nolContextMenuTriggerFor]", inputs: ["nolContextMenuTriggerFor"], exportAs: ["nolContextMenuTriggerFor"] }, { kind: "component", type: PlaceMenuComponent, selector: "nol-place-menu", inputs: ["place", "rows", "context"] }] });
|
|
84
84
|
}
|
|
85
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
85
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: FieldMenuComponent, decorators: [{
|
|
86
86
|
type: Component,
|
|
87
87
|
args: [{ selector: "nol-field-menu", imports: [ContextMenuTriggerDirective, PlaceMenuComponent], host: {
|
|
88
88
|
"(document:contextmenu)": "noteFromPointer($event)",
|
|
@@ -23,10 +23,10 @@ export class HighlightedTextComponent {
|
|
|
23
23
|
...(ngDevMode ? [{ debugName: "query" }] : /* istanbul ignore next */ []));
|
|
24
24
|
breaksWords = input(false, /* @ts-ignore */
|
|
25
25
|
...(ngDevMode ? [{ debugName: "breaksWords" }] : /* istanbul ignore next */ []));
|
|
26
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
27
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
26
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: HighlightedTextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
27
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: HighlightedTextComponent, isStandalone: true, selector: "nol-highlighted-text", inputs: { text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: true, transformFunction: null }, query: { classPropertyName: "query", publicName: "query", isSignal: true, isRequired: false, transformFunction: null }, breaksWords: { classPropertyName: "breaksWords", publicName: "breaksWords", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<ng-template #pieces let-part>@for (piece of part.pieces; track $index) {@if (!$first) {<wbr>}{{ piece }}}</ng-template>@for (part of parts(); track $index) {@if (part.breaksBefore) {<wbr>}@if (part.isMatch) {<mark class=\"nol-highlighted-text-match\"><ng-container *ngTemplateOutlet=\"pieces; context: { $implicit: part }\" /></mark>} @else {<ng-container *ngTemplateOutlet=\"pieces; context: { $implicit: part }\" />}}\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-highlighted-text-match {\n background-color: transparent;\n color: var(--nol-list-highlight);\n text-decoration: underline;\n text-underline-offset: 0.125em;\n}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
28
28
|
}
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: HighlightedTextComponent, decorators: [{
|
|
30
30
|
type: Component,
|
|
31
31
|
args: [{ selector: "nol-highlighted-text", imports: [NgTemplateOutlet], 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<ng-template #pieces let-part>@for (piece of part.pieces; track $index) {@if (!$first) {<wbr>}{{ piece }}}</ng-template>@for (part of parts(); track $index) {@if (part.breaksBefore) {<wbr>}@if (part.isMatch) {<mark class=\"nol-highlighted-text-match\"><ng-container *ngTemplateOutlet=\"pieces; context: { $implicit: part }\" /></mark>} @else {<ng-container *ngTemplateOutlet=\"pieces; context: { $implicit: part }\" />}}\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-highlighted-text-match {\n background-color: transparent;\n color: var(--nol-list-highlight);\n text-decoration: underline;\n text-underline-offset: 0.125em;\n}\n"] }]
|
|
32
32
|
}], propDecorators: { text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: true }] }], query: [{ type: i0.Input, args: [{ isSignal: true, alias: "query", required: false }] }], breaksWords: [{ type: i0.Input, args: [{ isSignal: true, alias: "breaksWords", required: false }] }] } });
|
|
@@ -36,10 +36,10 @@ export class LinkMenuComponent {
|
|
|
36
36
|
element = element.parentElement;
|
|
37
37
|
return element;
|
|
38
38
|
}
|
|
39
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
40
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.
|
|
39
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: LinkMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
40
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.3.0", type: LinkMenuComponent, isStandalone: true, selector: "nol-link-menu", viewQueries: [{ propertyName: "trigger", first: true, predicate: ContextMenuTriggerDirective, descendants: true, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-place-menu #menu [place]=\"resources.linkMenu\" [context]=\"context()\" />\n<span class=\"nol-link-menu-trigger\" [nolContextMenuTriggerFor]=\"menu.menu()\"></span>\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: none;\n}\n"], dependencies: [{ kind: "directive", type: ContextMenuTriggerDirective, selector: "[nolContextMenuTriggerFor]", inputs: ["nolContextMenuTriggerFor"], exportAs: ["nolContextMenuTriggerFor"] }, { kind: "component", type: PlaceMenuComponent, selector: "nol-place-menu", inputs: ["place", "rows", "context"] }] });
|
|
41
41
|
}
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: LinkMenuComponent, decorators: [{
|
|
43
43
|
type: Component,
|
|
44
44
|
args: [{ selector: "nol-link-menu", imports: [ContextMenuTriggerDirective, PlaceMenuComponent], 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-place-menu #menu [place]=\"resources.linkMenu\" [context]=\"context()\" />\n<span class=\"nol-link-menu-trigger\" [nolContextMenuTriggerFor]=\"menu.menu()\"></span>\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: none;\n}\n"] }]
|
|
45
45
|
}], ctorParameters: () => [], propDecorators: { trigger: [{ type: i0.ViewChild, args: [i0.forwardRef(() => ContextMenuTriggerDirective), { isSignal: true }] }] } });
|
|
@@ -52,10 +52,10 @@ export class ModuleActionsComponent {
|
|
|
52
52
|
clearTimeout(this.copiedTimer);
|
|
53
53
|
this.copiedTimer = null;
|
|
54
54
|
}
|
|
55
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
56
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
55
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: ModuleActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
56
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: ModuleActionsComponent, isStandalone: true, selector: "nol-module-actions", inputs: { module: { classPropertyName: "module", publicName: "module", isSignal: true, isRequired: true, transformFunction: null } }, host: { classAttribute: "nol-module-actions" }, 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-module-actions-buttons\">\n <button type=\"button\" nol-button class=\"nol-module-actions-copy\" [variant]=\"secondary\" (click)=\"copy()\">\n <span nolButtonIcon class=\"material-symbols-rounded nol-module-actions-glyph\" aria-hidden=\"true\">{{ isCopied() ? resources.copiedGlyph : resources.copyGlyph }}</span>\n <span>{{ isCopied() ? resources.copiedLabel : resources.copyDetailsLabel }}</span>\n </button>\n <button type=\"button\" nol-button class=\"nol-module-actions-logs\" [variant]=\"secondary\" (click)=\"openLogFolder()\">\n <span nolButtonIcon class=\"material-symbols-rounded nol-module-actions-glyph\" aria-hidden=\"true\">{{ resources.logFolderGlyph }}</span>\n <span>{{ resources.openLogFolderLabel }}</span>\n </button>\n</div>\n@if (isLogFolderFailed()) {\n <p class=\"nol-module-actions-notice\" role=\"status\">{{ resources.logFolderNotOpened }}</p>\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 gap: var(--nol-space-2);\n}\n\n.nol-module-actions-buttons {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2);\n}\n\n.nol-module-actions-glyph {\n font-size: var(--nol-icon);\n}\n\n.nol-module-actions-notice {\n margin: 0;\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }] });
|
|
57
57
|
}
|
|
58
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: ModuleActionsComponent, decorators: [{
|
|
59
59
|
type: Component,
|
|
60
60
|
args: [{ selector: "nol-module-actions", imports: [ButtonComponent], host: {
|
|
61
61
|
"class": "nol-module-actions"
|
|
@@ -14,10 +14,10 @@ export class ModuleFailureCardComponent {
|
|
|
14
14
|
resources = Resources;
|
|
15
15
|
failure = input.required(/* @ts-ignore */
|
|
16
16
|
...(ngDevMode ? [{ debugName: "failure" }] : /* istanbul ignore next */ []));
|
|
17
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
18
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
17
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: ModuleFailureCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
18
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: ModuleFailureCardComponent, isStandalone: true, selector: "nol-module-failure-card", inputs: { failure: { classPropertyName: "failure", publicName: "failure", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-card class=\"nol-module-failure-card\">\n @if (failure().switchSetting; as setting) {\n <h2 class=\"nol-module-failure-card-title\">\n <span class=\"material-symbols-rounded nol-module-failure-card-icon nol-module-failure-card-off\" aria-hidden=\"true\">{{ resources.moduleOffGlyph }}</span>\n <span>{{ resources.formatModuleOff(failure().displayName) }}</span>\n </h2>\n <nol-module-switch [setting]=\"setting\" />\n } @else {\n <h2 class=\"nol-module-failure-card-title\">\n <span class=\"material-symbols-rounded nol-module-failure-card-icon\" [class.nol-module-failure-card-off]=\"failure().isTurnedOff\" aria-hidden=\"true\">{{ failure().glyph }}</span>\n <span>{{ resources.formatModuleDidNotStart(failure().displayName) }}</span>\n </h2>\n <p class=\"nol-module-failure-card-cause\">{{ failure().cause }}</p>\n }\n</nol-card>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n}\n\n.nol-module-failure-card {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-1);\n}\n\n.nol-module-failure-card-title {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n margin: 0;\n font-size: inherit;\n font-weight: var(--nol-weight-emphasis);\n line-height: inherit;\n}\n\n.nol-module-failure-card-icon {\n color: var(--nol-error);\n font-size: var(--nol-icon);\n}\n\n.nol-module-failure-card-off {\n color: var(--nol-text-muted);\n}\n\n.nol-module-failure-card-cause {\n margin: 0;\n color: var(--nol-text-muted);\n overflow-wrap: anywhere;\n}\n"], dependencies: [{ kind: "component", type: CardComponent, selector: "nol-card" }, { kind: "component", type: ModuleSwitchComponent, selector: "nol-module-switch", inputs: ["setting"] }] });
|
|
19
19
|
}
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: ModuleFailureCardComponent, decorators: [{
|
|
21
21
|
type: Component,
|
|
22
22
|
args: [{ selector: "nol-module-failure-card", imports: [CardComponent, ModuleSwitchComponent], 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-card class=\"nol-module-failure-card\">\n @if (failure().switchSetting; as setting) {\n <h2 class=\"nol-module-failure-card-title\">\n <span class=\"material-symbols-rounded nol-module-failure-card-icon nol-module-failure-card-off\" aria-hidden=\"true\">{{ resources.moduleOffGlyph }}</span>\n <span>{{ resources.formatModuleOff(failure().displayName) }}</span>\n </h2>\n <nol-module-switch [setting]=\"setting\" />\n } @else {\n <h2 class=\"nol-module-failure-card-title\">\n <span class=\"material-symbols-rounded nol-module-failure-card-icon\" [class.nol-module-failure-card-off]=\"failure().isTurnedOff\" aria-hidden=\"true\">{{ failure().glyph }}</span>\n <span>{{ resources.formatModuleDidNotStart(failure().displayName) }}</span>\n </h2>\n <p class=\"nol-module-failure-card-cause\">{{ failure().cause }}</p>\n }\n</nol-card>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n}\n\n.nol-module-failure-card {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-1);\n}\n\n.nol-module-failure-card-title {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n margin: 0;\n font-size: inherit;\n font-weight: var(--nol-weight-emphasis);\n line-height: inherit;\n}\n\n.nol-module-failure-card-icon {\n color: var(--nol-error);\n font-size: var(--nol-icon);\n}\n\n.nol-module-failure-card-off {\n color: var(--nol-text-muted);\n}\n\n.nol-module-failure-card-cause {\n margin: 0;\n color: var(--nol-text-muted);\n overflow-wrap: anywhere;\n}\n"] }]
|
|
23
23
|
}], propDecorators: { failure: [{ type: i0.Input, args: [{ isSignal: true, alias: "failure", required: true }] }] } });
|
|
@@ -18,10 +18,10 @@ export class ModuleFailuresComponent {
|
|
|
18
18
|
open(id) {
|
|
19
19
|
this.selection.open(id);
|
|
20
20
|
}
|
|
21
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
22
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
21
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: ModuleFailuresComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
22
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: ModuleFailuresComponent, isStandalone: true, selector: "nol-module-failures", ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (failures()[0]; as first) {\n <button type=\"button\" class=\"nol-module-failures-item\" (click)=\"open(first.moduleId)\">\n <span class=\"material-symbols-rounded nol-module-failures-icon\" aria-hidden=\"true\">{{ resources.moduleFailureGlyph }}</span>\n <span>{{ resources.formatModulesDidNotStart(failures().length) }}</span>\n </button>\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 height: var(--nol-status-bar-item-height);\n}\n\n:host:empty {\n display: none;\n}\n\n.nol-module-failures-item {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-1);\n margin: 0;\n padding: 0 var(--nol-pill-padding);\n border: 0;\n border-radius: var(--nol-radius-hover);\n background-color: transparent;\n color: inherit;\n font: inherit;\n white-space: nowrap;\n}\n\n.nol-module-failures-item:hover {\n background-color: var(--nol-toolbar-hover);\n\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.nol-module-failures-item:focus-visible {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: calc(var(--nol-border-width) * -1);\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n.nol-module-failures-icon {\n color: var(--nol-error);\n font-size: var(--nol-icon);\n}\n"] });
|
|
23
23
|
}
|
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: ModuleFailuresComponent, decorators: [{
|
|
25
25
|
type: Component,
|
|
26
26
|
args: [{ selector: "nol-module-failures", template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (failures()[0]; as first) {\n <button type=\"button\" class=\"nol-module-failures-item\" (click)=\"open(first.moduleId)\">\n <span class=\"material-symbols-rounded nol-module-failures-icon\" aria-hidden=\"true\">{{ resources.moduleFailureGlyph }}</span>\n <span>{{ resources.formatModulesDidNotStart(failures().length) }}</span>\n </button>\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 height: var(--nol-status-bar-item-height);\n}\n\n:host:empty {\n display: none;\n}\n\n.nol-module-failures-item {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-1);\n margin: 0;\n padding: 0 var(--nol-pill-padding);\n border: 0;\n border-radius: var(--nol-radius-hover);\n background-color: transparent;\n color: inherit;\n font: inherit;\n white-space: nowrap;\n}\n\n.nol-module-failures-item:hover {\n background-color: var(--nol-toolbar-hover);\n\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.nol-module-failures-item:focus-visible {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: calc(var(--nol-border-width) * -1);\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n.nol-module-failures-icon {\n color: var(--nol-error);\n font-size: var(--nol-icon);\n}\n"] }]
|
|
27
27
|
}] });
|
|
@@ -30,10 +30,10 @@ export class ModuleSwitchComponent {
|
|
|
30
30
|
.catch((error) => this.errors.handleError(error))
|
|
31
31
|
.finally(() => this.pending.update(t => t === change ? null : t)));
|
|
32
32
|
}
|
|
33
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
34
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.
|
|
33
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: ModuleSwitchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
34
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.3.0", type: ModuleSwitchComponent, isStandalone: true, selector: "nol-module-switch", inputs: { setting: { classPropertyName: "setting", publicName: "setting", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-checkbox class=\"nol-module-switch\" [checked]=\"isOn()\" (checkedChange)=\"turn($event)\">{{ label() }}</nol-checkbox>\n", dependencies: [{ kind: "component", type: CheckboxComponent, selector: "nol-checkbox", inputs: ["checked", "disabled"], outputs: ["checkedChange"] }] });
|
|
35
35
|
}
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: ModuleSwitchComponent, decorators: [{
|
|
37
37
|
type: Component,
|
|
38
38
|
args: [{ selector: "nol-module-switch", imports: [CheckboxComponent], 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-checkbox class=\"nol-module-switch\" [checked]=\"isOn()\" (checkedChange)=\"turn($event)\">{{ label() }}</nol-checkbox>\n" }]
|
|
39
39
|
}], propDecorators: { setting: [{ type: i0.Input, args: [{ isSignal: true, alias: "setting", required: true }] }] } });
|
|
@@ -120,10 +120,10 @@ export class ModulesComponent {
|
|
|
120
120
|
return this.settings.definitions().find(t => t.name.text === name)?.title ?? null;
|
|
121
121
|
return null;
|
|
122
122
|
}
|
|
123
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
124
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: ModulesComponent, isStandalone: true, selector: "nol-modules", host: { classAttribute: "nol-modules" }, 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<header class=\"nol-modules-header\">\n <h1 class=\"nol-modules-title\">{{ resources.modulesTitle }}</h1>\n @if (version(); as version) {\n <span class=\"nol-modules-version\">{{ version }}</span>\n }\n</header>\n<div class=\"nol-modules-body\">\n <nav class=\"nol-modules-list\" [attr.aria-label]=\"resources.modulesTitle\">\n @for (module of overview().modules; track module.id) {\n @let isCurrent = module.id === current()?.id;\n <button type=\"button\" class=\"nol-modules-row\" [class.nol-modules-row-current]=\"isCurrent\" [attr.aria-current]=\"isCurrent ? 'true' : null\"\n [attr.data-module]=\"module.id\" (click)=\"select(module.id)\">\n <span class=\"nol-modules-row-head\">\n <span class=\"nol-modules-name\" data-truncates [nolTooltip]=\"module.displayName\" [nolTooltipTruncated]=\"true\">{{ module.displayName }}</span>\n <ng-container [ngTemplateOutlet]=\"state\" [ngTemplateOutletContext]=\"{ $implicit: module }\" />\n </span>\n <span class=\"nol-modules-row-meta\">\n <span class=\"nol-modules-id\" data-truncates [nolTooltip]=\"module.id\" [nolTooltipTruncated]=\"true\">{{ module.id }}</span>\n <span class=\"nol-modules-row-version\">{{ module.version }}</span>\n @if (countOf(module); as count) {\n <span class=\"nol-modules-row-programs\">{{ count }}</span>\n }\n </span>\n <span class=\"nol-modules-description\" data-truncates [nolTooltip]=\"module.description\" [nolTooltipTruncated]=\"true\">{{ module.description }}</span>\n </button>\n } @empty {\n <p class=\"nol-modules-empty\">{{ resources.noModules }}</p>\n }\n </nav>\n @if (current(); as module) {\n @let contributions = contributionsOf(module);\n @let programs = programsOf(module);\n <div class=\"nol-modules-detail-scroller\">\n <section class=\"nol-modules-detail\" [attr.aria-labelledby]=\"'nol-modules-detail-' + module.id\">\n <h2 class=\"nol-modules-detail-title\" [id]=\"'nol-modules-detail-' + module.id\">{{ module.displayName }}</h2>\n <p class=\"nol-modules-detail-id\">{{ module.id }}</p>\n <p class=\"nol-modules-detail-description\">{{ module.description }}</p>\n <dl class=\"nol-modules-facts\">\n <dt>{{ resources.moduleVersionTitle }}</dt>\n <dd class=\"nol-modules-fact-version\">{{ module.version }}</dd>\n <dt>{{ resources.moduleStateTitle }}</dt>\n <dd class=\"nol-modules-fact-state\">\n <ng-container [ngTemplateOutlet]=\"state\" [ngTemplateOutletContext]=\"{ $implicit: module }\" />\n @if (module.cause; as cause) {\n <span class=\"nol-modules-cause\">{{ cause }}</span>\n }\n </dd>\n @if (module.switchSetting; as setting) {\n <dt>{{ resources.moduleSwitchTitle }}</dt>\n <dd class=\"nol-modules-fact-switch\"><nol-module-switch [setting]=\"setting\" /></dd>\n }\n @if (overview().findBlocker(module); as blocker) {\n <dt>{{ resources.blockedByTitle }}</dt>\n <dd class=\"nol-modules-fact-blocker\"><ng-container [ngTemplateOutlet]=\"links\" [ngTemplateOutletContext]=\"{ $implicit: [blocker] }\" /></dd>\n }\n <dt>{{ resources.dependenciesTitle }}</dt>\n <dd class=\"nol-modules-fact-dependencies\"><ng-container [ngTemplateOutlet]=\"links\" [ngTemplateOutletContext]=\"{ $implicit: overview().listDependencies(module) }\" /></dd>\n @let optional = overview().listOptionalDependencies(module);\n @if (optional.length > 0) {\n <dt>{{ resources.optionalDependenciesTitle }}</dt>\n <dd class=\"nol-modules-fact-optional-dependencies\"><ng-container [ngTemplateOutlet]=\"links\" [ngTemplateOutletContext]=\"{ $implicit: optional }\" /></dd>\n }\n <dt>{{ resources.dependentsTitle }}</dt>\n <dd class=\"nol-modules-fact-dependents\"><ng-container [ngTemplateOutlet]=\"links\" [ngTemplateOutletContext]=\"{ $implicit: overview().listDependents(module) }\" /></dd>\n </dl>\n @if (module.state !== active && module.state !== off && module.state !== unavailable) {\n <nol-module-actions [module]=\"module\" />\n }\n <h3 class=\"nol-modules-section-title\">{{ resources.programsTitle }}</h3>\n @if (programs.length > 0) {\n <ul class=\"nol-modules-programs\">\n @for (program of programs; track program.processId) {\n @let isCopied = copiedProcess() === program.processId;\n @let copyLabel = isCopied ? resources.copiedLabel : resources.copyPathLabel;\n <li class=\"nol-modules-program\" [attr.data-process]=\"program.processId\" [nolTooltip]=\"program.details\">\n <span class=\"nol-modules-program-name\" data-truncates>{{ program.name }}</span>\n <span class=\"nol-modules-program-state\">{{ program.state }}</span>\n <button type=\"button\" nol-icon-button class=\"nol-modules-program-copy\" [class.nol-modules-program-copied]=\"isCopied\"\n [icon]=\"isCopied ? resources.copiedGlyph : resources.copyGlyph\" [label]=\"copyLabel\"\n [nolTooltip]=\"resources.formatCopyPathTooltip(copyLabel, program.details)\" (click)=\"copyPath(program)\"></button>\n </li>\n }\n </ul>\n } @else {\n <p class=\"nol-modules-none\">{{ resources.noPrograms }}</p>\n }\n <h3 class=\"nol-modules-section-title\">{{ resources.contributionsTitle }}</h3>\n @if (contributions.length > 0) {\n @for (group of contributions; track group.kind) {\n @let isGroupOpen = isOpen(module, group.kind);\n @let listId = 'nol-modules-contributions-' + module.id + '-' + group.kind;\n <nol-group-header class=\"nol-modules-group\" [attr.data-kind]=\"group.kind\" [label]=\"group.title\" [count]=\"group.rows.length\" [level]=\"4\" [controls]=\"isGroupOpen ? listId : null\"\n [expanded]=\"isGroupOpen\" (expandedChange)=\"setOpen(module, group.kind, $event)\" />\n @if (isGroupOpen) {\n <ul class=\"nol-modules-contributions\" [id]=\"listId\" [attr.data-kind]=\"group.kind\">\n @for (row of group.rows; track row.name) {\n <li class=\"nol-modules-contribution\">\n @if (row.title; as title) {\n <span class=\"nol-modules-contribution-title\">{{ title }}</span>\n }\n <span class=\"nol-modules-contribution-name\">{{ row.name }}</span>\n </li>\n }\n </ul>\n }\n }\n } @else {\n <p class=\"nol-modules-none\">{{ resources.noContributions }}</p>\n }\n </section>\n </div>\n }\n</div>\n\n<ng-template #state let-module>\n <span class=\"nol-modules-state\" [class.nol-modules-state-down]=\"module.state !== active && module.state !== off && module.state !== unavailable\">\n @if (module.state === off) {\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.moduleOffGlyph }}</span>\n } @else if (module.state === unavailable) {\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.moduleUnavailableGlyph }}</span>\n } @else if (module.state !== active) {\n <span class=\"material-symbols-rounded nol-modules-state-icon\" aria-hidden=\"true\">{{ resources.moduleFailureGlyph }}</span>\n }\n <span class=\"nol-modules-state-label\">{{ labelOf(module.state) }}</span>\n </span>\n</ng-template>\n\n<ng-template #links let-references>\n @for (reference of references; track reference.id; let isLast = $last) {\n @if (reference.module; as module) {<button type=\"button\" class=\"nol-modules-link\" (click)=\"follow(module.id)\">{{ module.displayName }}</button>} @else {<span class=\"nol-modules-unknown\">{{ reference.id }}</span>}@if (!isLast) {<span>, </span>}\n } @empty {\n <span class=\"nol-modules-none\">{{ resources.noModulesNamed }}</span>\n }\n</ng-template>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: flex;\n flex-direction: column;\n height: 100%;\n min-height: 0;\n box-sizing: border-box;\n padding-block: var(--nol-space-4) 0;\n padding-inline: var(--nol-space-6) 0;\n}\n\n.nol-modules-header {\n display: flex;\n flex: none;\n flex-wrap: wrap;\n align-items: baseline;\n gap: var(--nol-space-1) var(--nol-space-3);\n padding-inline-end: var(--nol-space-6);\n padding-bottom: var(--nol-space-4);\n}\n\n.nol-modules-title {\n margin: 0;\n color: var(--nol-setting-title);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.nol-modules-version {\n color: var(--nol-text-muted);\n}\n\n.nol-modules-body {\n display: flex;\n flex: auto;\n min-height: 0;\n}\n\n.nol-modules-list {\n display: flex;\n flex: 0 1 var(--nol-modules-list-width);\n flex-direction: column;\n gap: var(--nol-row-gap);\n min-width: 0;\n overflow-y: auto;\n padding-bottom: var(--nol-space-6);\n}\n\n.nol-modules-row {\n display: flex;\n flex: none;\n flex-direction: column;\n gap: var(--nol-space-1);\n box-sizing: border-box;\n margin: 0;\n padding: var(--nol-space-2);\n border: none;\n border-radius: var(--nol-radius-small);\n background-color: transparent;\n color: var(--nol-text);\n font: inherit;\n text-align: start;\n}\n\n.nol-modules-row:hover {\n background-color: var(--nol-hover);\n\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.nol-modules-row-current,\n.nol-modules-row-current:hover {\n --nol-text-muted: var(--nol-text);\n background-color: var(--nol-selected);\n}\n\n@media (forced-colors: active) {\n .nol-modules-row-current,\n .nol-modules-row-current:hover {\n --nol-text: HighlightText;\n --nol-text-muted: HighlightText;\n --nol-menu-text: HighlightText;\n --nol-icon-color: HighlightText;\n --nol-list-highlight: HighlightText;\n --nol-list-active-text: HighlightText;\n\n color: HighlightText;\n forced-color-adjust: none;\n background-color: Highlight;\n }\n}\n\n.nol-modules-row-head {\n display: flex;\n align-items: baseline;\n justify-content: space-between;\n gap: 0 var(--nol-space-2);\n}\n\n.nol-modules-row-meta {\n display: flex;\n gap: var(--nol-space-2);\n min-width: 0;\n}\n\n.nol-modules-row-version,\n.nol-modules-row-programs,\n.nol-modules-program-state {\n flex: none;\n}\n\n.nol-modules-row-meta,\n.nol-modules-detail-id,\n.nol-modules-contribution-name,\n.nol-modules-program-state {\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n}\n\n.nol-modules-detail-id,\n.nol-modules-contribution-name {\n overflow-wrap: anywhere;\n}\n\n.nol-modules-description {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.nol-modules-state {\n display: inline-flex;\n flex: none;\n align-items: center;\n gap: var(--nol-space-1);\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n}\n\n.nol-modules-state-label {\n align-self: baseline;\n}\n\n.nol-modules-state-down {\n color: var(--nol-text);\n}\n\n.nol-modules-state-icon {\n color: var(--nol-error);\n}\n\n.nol-modules-fact-state .nol-modules-state {\n color: var(--nol-text);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.nol-modules-detail-scroller {\n flex: 1 1 0;\n min-width: 0;\n overflow-y: auto;\n padding-inline: var(--nol-space-6);\n}\n\n.nol-modules-detail {\n max-width: var(--nol-modules-detail-width);\n padding-bottom: var(--nol-space-6);\n}\n\n.nol-modules-detail-title {\n margin: 0;\n font-size: var(--nol-text-title);\n font-weight: var(--nol-weight-emphasis);\n color: var(--nol-text-strong);\n line-height: var(--nol-line-title);\n overflow-wrap: anywhere;\n}\n\n.nol-modules-detail-id {\n margin: 0;\n}\n\n.nol-modules-detail-description {\n margin: var(--nol-space-2) 0 var(--nol-space-4);\n overflow-wrap: anywhere;\n}\n\n.nol-modules-facts {\n display: grid;\n grid-template-columns: max-content minmax(0, 1fr);\n gap: var(--nol-space-2) var(--nol-space-4);\n margin: 0;\n}\n\n.nol-modules-facts dt {\n color: var(--nol-text-muted);\n}\n\n.nol-modules-facts dd {\n min-width: 0;\n margin: 0;\n overflow-wrap: anywhere;\n}\n\n.nol-modules-fact-state {\n display: flex;\n flex-wrap: wrap;\n align-items: baseline;\n gap: 0 var(--nol-space-2);\n}\n\n.nol-modules-cause {\n color: var(--nol-text-muted);\n}\n\n.nol-module-actions {\n margin-top: var(--nol-space-4);\n}\n\n.nol-modules-section-title {\n margin: calc(var(--nol-space-4) * 2) 0 var(--nol-space-3);\n font-size: var(--nol-text-label);\n font-weight: var(--nol-weight-emphasis);\n color: var(--nol-text-strong);\n line-height: var(--nol-line-label);\n}\n\n.nol-modules-programs,\n.nol-modules-contributions {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-1);\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n.nol-modules-program {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n min-width: 0;\n}\n\n.nol-modules-program-name {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.nol-modules-program-state {\n margin-inline-start: auto;\n}\n\n.nol-modules-program-copy {\n flex: none;\n}\n\n.nol-modules-program-copied {\n --nol-icon-color: var(--nol-added);\n}\n\n.nol-modules-group {\n margin-inline-start: calc(var(--nol-space-2) * -1);\n}\n\n.nol-modules-contributions {\n margin-top: var(--nol-space-1);\n padding-inline-start: calc(var(--nol-icon) + var(--nol-space-1));\n}\n\n.nol-modules-contribution {\n display: flex;\n flex-wrap: wrap;\n align-items: baseline;\n gap: 0 var(--nol-space-2);\n}\n\n.nol-modules-link {\n margin: 0;\n padding: 0;\n border: 0;\n background: none;\n color: var(--nol-link);\n font: inherit;\n text-align: start;\n}\n\n.nol-modules-link:hover {\n text-decoration: underline;\n}\n\n.nol-modules-none,\n.nol-modules-empty {\n margin: 0;\n color: var(--nol-text-muted);\n}\n"], dependencies: [{ kind: "component", type: GroupHeaderComponent, selector: "nol-group-header", inputs: ["label", "count", "countLabel", "level", "controls", "expanded"], outputs: ["expandedChange"] }, { kind: "component", type: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { kind: "component", type: ModuleActionsComponent, selector: "nol-module-actions", inputs: ["module"] }, { kind: "component", type: ModuleSwitchComponent, selector: "nol-module-switch", inputs: ["setting"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
|
|
123
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: ModulesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
124
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: ModulesComponent, isStandalone: true, selector: "nol-modules", host: { classAttribute: "nol-modules" }, 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<header class=\"nol-modules-header\">\n <h1 class=\"nol-modules-title\">{{ resources.modulesTitle }}</h1>\n @if (version(); as version) {\n <span class=\"nol-modules-version\">{{ version }}</span>\n }\n</header>\n<div class=\"nol-modules-body\">\n <nav class=\"nol-modules-list\" [attr.aria-label]=\"resources.modulesTitle\">\n @for (module of overview().modules; track module.id) {\n @let isCurrent = module.id === current()?.id;\n <button type=\"button\" class=\"nol-modules-row\" [class.nol-modules-row-current]=\"isCurrent\" [attr.aria-current]=\"isCurrent ? 'true' : null\"\n [attr.data-module]=\"module.id\" (click)=\"select(module.id)\">\n <span class=\"nol-modules-row-head\">\n <span class=\"nol-modules-name\" data-truncates [nolTooltip]=\"module.displayName\" [nolTooltipTruncated]=\"true\">{{ module.displayName }}</span>\n <ng-container [ngTemplateOutlet]=\"state\" [ngTemplateOutletContext]=\"{ $implicit: module }\" />\n </span>\n <span class=\"nol-modules-row-meta\">\n <span class=\"nol-modules-id\" data-truncates [nolTooltip]=\"module.id\" [nolTooltipTruncated]=\"true\">{{ module.id }}</span>\n <span class=\"nol-modules-row-version\">{{ module.version }}</span>\n @if (countOf(module); as count) {\n <span class=\"nol-modules-row-programs\">{{ count }}</span>\n }\n </span>\n <span class=\"nol-modules-description\" data-truncates [nolTooltip]=\"module.description\" [nolTooltipTruncated]=\"true\">{{ module.description }}</span>\n </button>\n } @empty {\n <p class=\"nol-modules-empty\">{{ resources.noModules }}</p>\n }\n </nav>\n @if (current(); as module) {\n @let contributions = contributionsOf(module);\n @let programs = programsOf(module);\n <div class=\"nol-modules-detail-scroller\">\n <section class=\"nol-modules-detail\" [attr.aria-labelledby]=\"'nol-modules-detail-' + module.id\">\n <h2 class=\"nol-modules-detail-title\" [id]=\"'nol-modules-detail-' + module.id\">{{ module.displayName }}</h2>\n <p class=\"nol-modules-detail-id\">{{ module.id }}</p>\n <p class=\"nol-modules-detail-description\">{{ module.description }}</p>\n <dl class=\"nol-modules-facts\">\n <dt>{{ resources.moduleVersionTitle }}</dt>\n <dd class=\"nol-modules-fact-version\">{{ module.version }}</dd>\n <dt>{{ resources.moduleStateTitle }}</dt>\n <dd class=\"nol-modules-fact-state\">\n <ng-container [ngTemplateOutlet]=\"state\" [ngTemplateOutletContext]=\"{ $implicit: module }\" />\n @if (module.cause; as cause) {\n <span class=\"nol-modules-cause\">{{ cause }}</span>\n }\n </dd>\n @if (module.switchSetting; as setting) {\n <dt>{{ resources.moduleSwitchTitle }}</dt>\n <dd class=\"nol-modules-fact-switch\"><nol-module-switch [setting]=\"setting\" /></dd>\n }\n @if (overview().findBlocker(module); as blocker) {\n <dt>{{ resources.blockedByTitle }}</dt>\n <dd class=\"nol-modules-fact-blocker\"><ng-container [ngTemplateOutlet]=\"links\" [ngTemplateOutletContext]=\"{ $implicit: [blocker] }\" /></dd>\n }\n <dt>{{ resources.dependenciesTitle }}</dt>\n <dd class=\"nol-modules-fact-dependencies\"><ng-container [ngTemplateOutlet]=\"links\" [ngTemplateOutletContext]=\"{ $implicit: overview().listDependencies(module) }\" /></dd>\n @let optional = overview().listOptionalDependencies(module);\n @if (optional.length > 0) {\n <dt>{{ resources.optionalDependenciesTitle }}</dt>\n <dd class=\"nol-modules-fact-optional-dependencies\"><ng-container [ngTemplateOutlet]=\"links\" [ngTemplateOutletContext]=\"{ $implicit: optional }\" /></dd>\n }\n <dt>{{ resources.dependentsTitle }}</dt>\n <dd class=\"nol-modules-fact-dependents\"><ng-container [ngTemplateOutlet]=\"links\" [ngTemplateOutletContext]=\"{ $implicit: overview().listDependents(module) }\" /></dd>\n </dl>\n @if (module.state !== active && module.state !== off && module.state !== unavailable) {\n <nol-module-actions [module]=\"module\" />\n }\n <h3 class=\"nol-modules-section-title\">{{ resources.programsTitle }}</h3>\n @if (programs.length > 0) {\n <ul class=\"nol-modules-programs\">\n @for (program of programs; track program.processId) {\n @let isCopied = copiedProcess() === program.processId;\n @let copyLabel = isCopied ? resources.copiedLabel : resources.copyPathLabel;\n <li class=\"nol-modules-program\" [attr.data-process]=\"program.processId\" [nolTooltip]=\"program.details\">\n <span class=\"nol-modules-program-name\" data-truncates>{{ program.name }}</span>\n <span class=\"nol-modules-program-state\">{{ program.state }}</span>\n <button type=\"button\" nol-icon-button class=\"nol-modules-program-copy\" [class.nol-modules-program-copied]=\"isCopied\"\n [icon]=\"isCopied ? resources.copiedGlyph : resources.copyGlyph\" [label]=\"copyLabel\"\n [nolTooltip]=\"resources.formatCopyPathTooltip(copyLabel, program.details)\" (click)=\"copyPath(program)\"></button>\n </li>\n }\n </ul>\n } @else {\n <p class=\"nol-modules-none\">{{ resources.noPrograms }}</p>\n }\n <h3 class=\"nol-modules-section-title\">{{ resources.contributionsTitle }}</h3>\n @if (contributions.length > 0) {\n @for (group of contributions; track group.kind) {\n @let isGroupOpen = isOpen(module, group.kind);\n @let listId = 'nol-modules-contributions-' + module.id + '-' + group.kind;\n <nol-group-header class=\"nol-modules-group\" [attr.data-kind]=\"group.kind\" [label]=\"group.title\" [count]=\"group.rows.length\" [level]=\"4\" [controls]=\"isGroupOpen ? listId : null\"\n [expanded]=\"isGroupOpen\" (expandedChange)=\"setOpen(module, group.kind, $event)\" />\n @if (isGroupOpen) {\n <ul class=\"nol-modules-contributions\" [id]=\"listId\" [attr.data-kind]=\"group.kind\">\n @for (row of group.rows; track row.name) {\n <li class=\"nol-modules-contribution\">\n @if (row.title; as title) {\n <span class=\"nol-modules-contribution-title\">{{ title }}</span>\n }\n <span class=\"nol-modules-contribution-name\">{{ row.name }}</span>\n </li>\n }\n </ul>\n }\n }\n } @else {\n <p class=\"nol-modules-none\">{{ resources.noContributions }}</p>\n }\n </section>\n </div>\n }\n</div>\n\n<ng-template #state let-module>\n <span class=\"nol-modules-state\" [class.nol-modules-state-down]=\"module.state !== active && module.state !== off && module.state !== unavailable\">\n @if (module.state === off) {\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.moduleOffGlyph }}</span>\n } @else if (module.state === unavailable) {\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.moduleUnavailableGlyph }}</span>\n } @else if (module.state !== active) {\n <span class=\"material-symbols-rounded nol-modules-state-icon\" aria-hidden=\"true\">{{ resources.moduleFailureGlyph }}</span>\n }\n <span class=\"nol-modules-state-label\">{{ labelOf(module.state) }}</span>\n </span>\n</ng-template>\n\n<ng-template #links let-references>\n @for (reference of references; track reference.id; let isLast = $last) {\n @if (reference.module; as module) {<button type=\"button\" class=\"nol-modules-link\" (click)=\"follow(module.id)\">{{ module.displayName }}</button>} @else {<span class=\"nol-modules-unknown\">{{ reference.id }}</span>}@if (!isLast) {<span>, </span>}\n } @empty {\n <span class=\"nol-modules-none\">{{ resources.noModulesNamed }}</span>\n }\n</ng-template>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: flex;\n flex-direction: column;\n height: 100%;\n min-height: 0;\n box-sizing: border-box;\n padding-block: var(--nol-space-4) 0;\n padding-inline: var(--nol-space-6) 0;\n}\n\n.nol-modules-header {\n display: flex;\n flex: none;\n flex-wrap: wrap;\n align-items: baseline;\n gap: var(--nol-space-1) var(--nol-space-3);\n padding-inline-end: var(--nol-space-6);\n padding-bottom: var(--nol-space-4);\n}\n\n.nol-modules-title {\n margin: 0;\n color: var(--nol-setting-title);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.nol-modules-version {\n color: var(--nol-text-muted);\n}\n\n.nol-modules-body {\n display: flex;\n flex: auto;\n min-height: 0;\n}\n\n.nol-modules-list {\n display: flex;\n flex: 0 1 var(--nol-modules-list-width);\n flex-direction: column;\n gap: var(--nol-row-gap);\n min-width: 0;\n overflow-y: auto;\n padding-bottom: var(--nol-space-6);\n}\n\n.nol-modules-row {\n display: flex;\n flex: none;\n flex-direction: column;\n gap: var(--nol-space-1);\n box-sizing: border-box;\n margin: 0;\n padding: var(--nol-space-2);\n border: none;\n border-radius: var(--nol-radius-small);\n background-color: transparent;\n color: var(--nol-text);\n font: inherit;\n text-align: start;\n}\n\n.nol-modules-row:hover {\n background-color: var(--nol-hover);\n\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.nol-modules-row-current,\n.nol-modules-row-current:hover {\n --nol-text-muted: var(--nol-text);\n background-color: var(--nol-selected);\n}\n\n@media (forced-colors: active) {\n .nol-modules-row-current,\n .nol-modules-row-current:hover {\n --nol-text: HighlightText;\n --nol-text-muted: HighlightText;\n --nol-menu-text: HighlightText;\n --nol-icon-color: HighlightText;\n --nol-list-highlight: HighlightText;\n --nol-list-active-text: HighlightText;\n\n color: HighlightText;\n forced-color-adjust: none;\n background-color: Highlight;\n }\n}\n\n.nol-modules-row-head {\n display: flex;\n align-items: baseline;\n justify-content: space-between;\n gap: 0 var(--nol-space-2);\n}\n\n.nol-modules-row-meta {\n display: flex;\n gap: var(--nol-space-2);\n min-width: 0;\n}\n\n.nol-modules-row-version,\n.nol-modules-row-programs,\n.nol-modules-program-state {\n flex: none;\n}\n\n.nol-modules-row-meta,\n.nol-modules-detail-id,\n.nol-modules-contribution-name,\n.nol-modules-program-state {\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n}\n\n.nol-modules-detail-id,\n.nol-modules-contribution-name {\n overflow-wrap: anywhere;\n}\n\n.nol-modules-description {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.nol-modules-state {\n display: inline-flex;\n flex: none;\n align-items: center;\n gap: var(--nol-space-1);\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n}\n\n.nol-modules-state-label {\n align-self: baseline;\n}\n\n.nol-modules-state-down {\n color: var(--nol-text);\n}\n\n.nol-modules-state-icon {\n color: var(--nol-error);\n}\n\n.nol-modules-fact-state .nol-modules-state {\n color: var(--nol-text);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.nol-modules-detail-scroller {\n flex: 1 1 0;\n min-width: 0;\n overflow-y: auto;\n padding-inline: var(--nol-space-6);\n}\n\n.nol-modules-detail {\n max-width: var(--nol-modules-detail-width);\n padding-bottom: var(--nol-space-6);\n}\n\n.nol-modules-detail-title {\n margin: 0;\n font-size: var(--nol-text-title);\n font-weight: var(--nol-weight-emphasis);\n color: var(--nol-text-strong);\n line-height: var(--nol-line-title);\n overflow-wrap: anywhere;\n}\n\n.nol-modules-detail-id {\n margin: 0;\n}\n\n.nol-modules-detail-description {\n margin: var(--nol-space-2) 0 var(--nol-space-4);\n overflow-wrap: anywhere;\n}\n\n.nol-modules-facts {\n display: grid;\n grid-template-columns: max-content minmax(0, 1fr);\n gap: var(--nol-space-2) var(--nol-space-4);\n margin: 0;\n}\n\n.nol-modules-facts dt {\n color: var(--nol-text-muted);\n}\n\n.nol-modules-facts dd {\n min-width: 0;\n margin: 0;\n overflow-wrap: anywhere;\n}\n\n.nol-modules-fact-state {\n display: flex;\n flex-wrap: wrap;\n align-items: baseline;\n gap: 0 var(--nol-space-2);\n}\n\n.nol-modules-cause {\n color: var(--nol-text-muted);\n}\n\n.nol-module-actions {\n margin-top: var(--nol-space-4);\n}\n\n.nol-modules-section-title {\n margin: calc(var(--nol-space-4) * 2) 0 var(--nol-space-3);\n font-size: var(--nol-text-label);\n font-weight: var(--nol-weight-emphasis);\n color: var(--nol-text-strong);\n line-height: var(--nol-line-label);\n}\n\n.nol-modules-programs,\n.nol-modules-contributions {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-1);\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n.nol-modules-program {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n min-width: 0;\n}\n\n.nol-modules-program-name {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.nol-modules-program-state {\n margin-inline-start: auto;\n}\n\n.nol-modules-program-copy {\n flex: none;\n}\n\n.nol-modules-program-copied {\n --nol-icon-color: var(--nol-added);\n}\n\n.nol-modules-group {\n margin-inline-start: calc(var(--nol-space-2) * -1);\n}\n\n.nol-modules-contributions {\n margin-top: var(--nol-space-1);\n padding-inline-start: calc(var(--nol-icon) + var(--nol-space-1));\n}\n\n.nol-modules-contribution {\n display: flex;\n flex-wrap: wrap;\n align-items: baseline;\n gap: 0 var(--nol-space-2);\n}\n\n.nol-modules-link {\n margin: 0;\n padding: 0;\n border: 0;\n background: none;\n color: var(--nol-link);\n font: inherit;\n text-align: start;\n}\n\n.nol-modules-link:hover {\n text-decoration: underline;\n}\n\n.nol-modules-none,\n.nol-modules-empty {\n margin: 0;\n color: var(--nol-text-muted);\n}\n"], dependencies: [{ kind: "component", type: GroupHeaderComponent, selector: "nol-group-header", inputs: ["label", "count", "countLabel", "level", "controls", "expanded"], outputs: ["expandedChange"] }, { kind: "component", type: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { kind: "component", type: ModuleActionsComponent, selector: "nol-module-actions", inputs: ["module"] }, { kind: "component", type: ModuleSwitchComponent, selector: "nol-module-switch", inputs: ["setting"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
|
|
125
125
|
}
|
|
126
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
126
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: ModulesComponent, decorators: [{
|
|
127
127
|
type: Component,
|
|
128
128
|
args: [{ selector: "nol-modules", imports: [GroupHeaderComponent, IconButtonComponent, ModuleActionsComponent, ModuleSwitchComponent, NgTemplateOutlet, TooltipDirective], host: {
|
|
129
129
|
"class": "nol-modules"
|
|
@@ -25,10 +25,10 @@ export class NotificationsComponent {
|
|
|
25
25
|
if (this.unread() > 0)
|
|
26
26
|
this.notifications.markAllRead();
|
|
27
27
|
}
|
|
28
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
29
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
28
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NotificationsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
29
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: NotificationsComponent, isStandalone: true, selector: "nol-notifications", 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<button #trigger=\"nolPopoverTrigger\" type=\"button\" class=\"nol-notifications-item\" [class.nol-notifications-counted]=\"unread() > 0\" [attr.aria-label]=\"label()\" [nolTooltip]=\"label()\" [nolTooltipSide]=\"above\" [nolPopoverTrigger]=\"popover\" (opened)=\"markRead()\">\n <span class=\"material-symbols-rounded nol-notifications-icon\" aria-hidden=\"true\">{{ isQuiet() ? resources.notificationsOffGlyph : resources.notificationsGlyph }}</span>\n @if (unread() > 0) {\n <span class=\"nol-notifications-count\" aria-hidden=\"true\">{{ resources.formatUnreadCount(unread()) }}</span>\n }\n</button>\n<ng-template #popover>\n <nol-notifications-popover [label]=\"resources.notificationsTitle\" (closed)=\"trigger.close()\" />\n</ng-template>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: flex;\n height: var(--nol-status-bar-item-height);\n}\n\n.nol-notifications-item {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: var(--nol-space-1);\n box-sizing: border-box;\n width: var(--nol-status-bar-item-height);\n margin: 0;\n padding: 0;\n border: 0;\n border-radius: var(--nol-radius-hover);\n background-color: transparent;\n color: inherit;\n font: inherit;\n white-space: nowrap;\n}\n\n.nol-notifications-counted {\n width: auto;\n padding: 0 var(--nol-pill-padding);\n}\n\n.nol-notifications-item:hover {\n background-color: var(--nol-toolbar-hover);\n\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.nol-notifications-item:focus-visible {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: calc(var(--nol-border-width) * -1);\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n.nol-notifications-icon {\n color: var(--nol-icon-color);\n font-size: var(--nol-icon);\n}\n"], dependencies: [{ kind: "component", type: NotificationsPopoverComponent, selector: "nol-notifications-popover", outputs: ["closed"] }, { kind: "directive", type: PopoverTriggerDirective, selector: "[nolPopoverTrigger]", inputs: ["nolPopoverTrigger", "nolPopoverSide", "nolPopoverAlignment"], outputs: ["opened"], exportAs: ["nolPopoverTrigger"] }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
|
|
30
30
|
}
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NotificationsComponent, decorators: [{
|
|
32
32
|
type: Component,
|
|
33
33
|
args: [{ selector: "nol-notifications", imports: [NotificationsPopoverComponent, PopoverTriggerDirective, TooltipDirective], 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<button #trigger=\"nolPopoverTrigger\" type=\"button\" class=\"nol-notifications-item\" [class.nol-notifications-counted]=\"unread() > 0\" [attr.aria-label]=\"label()\" [nolTooltip]=\"label()\" [nolTooltipSide]=\"above\" [nolPopoverTrigger]=\"popover\" (opened)=\"markRead()\">\n <span class=\"material-symbols-rounded nol-notifications-icon\" aria-hidden=\"true\">{{ isQuiet() ? resources.notificationsOffGlyph : resources.notificationsGlyph }}</span>\n @if (unread() > 0) {\n <span class=\"nol-notifications-count\" aria-hidden=\"true\">{{ resources.formatUnreadCount(unread()) }}</span>\n }\n</button>\n<ng-template #popover>\n <nol-notifications-popover [label]=\"resources.notificationsTitle\" (closed)=\"trigger.close()\" />\n</ng-template>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: flex;\n height: var(--nol-status-bar-item-height);\n}\n\n.nol-notifications-item {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: var(--nol-space-1);\n box-sizing: border-box;\n width: var(--nol-status-bar-item-height);\n margin: 0;\n padding: 0;\n border: 0;\n border-radius: var(--nol-radius-hover);\n background-color: transparent;\n color: inherit;\n font: inherit;\n white-space: nowrap;\n}\n\n.nol-notifications-counted {\n width: auto;\n padding: 0 var(--nol-pill-padding);\n}\n\n.nol-notifications-item:hover {\n background-color: var(--nol-toolbar-hover);\n\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.nol-notifications-item:focus-visible {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: calc(var(--nol-border-width) * -1);\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n.nol-notifications-icon {\n color: var(--nol-icon-color);\n font-size: var(--nol-icon);\n}\n"] }]
|
|
34
34
|
}] });
|
|
@@ -66,10 +66,10 @@ export class NotificationsPopoverComponent {
|
|
|
66
66
|
const progress = notification.post.progress;
|
|
67
67
|
return progress === NotificationPost.indeterminate || (Object.isNumber(progress) && progress < 1);
|
|
68
68
|
}
|
|
69
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
70
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
69
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NotificationsPopoverComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
70
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: NotificationsPopoverComponent, isStandalone: true, selector: "nol-notifications-popover", outputs: { closed: "closed" }, host: { classAttribute: "nol-notifications-popover" }, hostDirectives: [{ directive: i1.PopoverDirective, inputs: ["label", "label"] }], 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-notifications-header\">\n <h2 class=\"nol-notifications-title\">{{ resources.notificationsTitle }}</h2>\n <button type=\"button\" nol-button class=\"nol-notifications-clear\" [variant]=\"secondary\" [disabled]=\"!hasFinished()\" (click)=\"clear()\">{{ resources.clearAllLabel }}</button>\n</div>\n<nol-checkbox class=\"nol-notifications-quiet\" [checked]=\"isQuiet()\" (checkedChange)=\"setQuiet($event)\">{{ resources.doNotDisturbLabel }}</nol-checkbox>\n@if (notifications().length === 0) {\n <p class=\"nol-notifications-empty\">{{ resources.noNotifications }}</p>\n}\n@else {\n <ul class=\"nol-notifications-list\">\n @for (notification of notifications(); track notification.id) {\n <li class=\"nol-notifications-row\" [attr.data-notification]=\"notification.id\" [attr.data-severity]=\"notification.post.severity\">\n <span class=\"material-symbols-rounded nol-notifications-severity\" role=\"img\" [attr.aria-label]=\"severityName(notification.post.severity)\">{{ glyph(notification.post.severity) }}</span>\n <div class=\"nol-notifications-body\">\n @if (notification.post.open !== null) {\n <button type=\"button\" class=\"nol-notifications-row-title nol-notifications-open\" [disabled]=\"!isAvailable(notification.post.open)\" (click)=\"run(notification.post.open)\">{{ notification.post.title }}</button>\n }\n @else {\n <span class=\"nol-notifications-row-title\">{{ notification.post.title }}</span>\n }\n @if (notification.post.text !== null) {\n <span class=\"nol-notifications-text\">{{ notification.post.text }}</span>\n }\n @if (isIndeterminate(notification) || progressOf(notification) !== null) {\n <nol-progress [value]=\"progressOf(notification)\" [label]=\"notification.post.title\" />\n }\n <span class=\"nol-notifications-meta\">{{ moduleName(notification) }} \u00B7 {{ timeOf(notification) }}</span>\n @if (notification.post.actions.length > 0) {\n <div class=\"nol-notifications-actions\">\n @for (action of notification.post.actions; track $index) {\n <button type=\"button\" nol-button class=\"nol-notifications-action\" [variant]=\"secondary\" [disabled]=\"!isAvailable(action.command)\" (click)=\"run(action.command)\">{{ action.title }}</button>\n }\n </div>\n }\n </div>\n <button type=\"button\" nol-icon-button class=\"nol-notifications-dismiss\" [icon]=\"resources.closeGlyph\" [label]=\"resources.dismissLabel\" [nolTooltip]=\"resources.dismissLabel\" (click)=\"dismiss(notification)\"></button>\n </li>\n }\n </ul>\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.nol-notifications-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: var(--nol-space-2);\n}\n\n.nol-notifications-title {\n margin: 0;\n font-size: inherit;\n font-weight: var(--nol-weight-emphasis);\n color: var(--nol-text-strong);\n line-height: inherit;\n}\n\n.nol-notifications-empty {\n margin: 0;\n color: var(--nol-text-muted);\n}\n\n.nol-notifications-list {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n min-height: 0;\n margin: 0 calc(-1 * var(--nol-space-3)) calc(-1 * var(--nol-space-3));\n padding: 0 var(--nol-space-3) var(--nol-space-3);\n overflow: auto;\n scroll-padding-block-end: var(--nol-space-3);\n list-style: none;\n}\n\n.nol-notifications-row {\n display: grid;\n grid-template-columns: auto minmax(0, 1fr) auto;\n align-items: start;\n column-gap: var(--nol-space-2);\n}\n\n.nol-notifications-severity {\n color: var(--nol-icon-color);\n font-size: var(--nol-icon);\n line-height: var(--nol-line-panel);\n}\n\n.nol-notifications-row[data-severity=\"Error\"] .nol-notifications-severity {\n color: var(--nol-error);\n}\n\n.nol-notifications-row[data-severity=\"Success\"] .nol-notifications-severity {\n color: var(--nol-added);\n}\n\n.nol-notifications-body {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-1);\n min-width: 0;\n}\n\n.nol-notifications-row-title {\n font-weight: var(--nol-weight-emphasis);\n color: var(--nol-text-strong);\n overflow-wrap: anywhere;\n}\n\n.nol-notifications-open {\n margin: 0;\n padding: 0;\n border: 0;\n background: none;\n color: var(--nol-link);\n font: inherit;\n font-weight: var(--nol-weight-emphasis);\n text-align: start;\n cursor: pointer;\n}\n\n.nol-notifications-open:disabled {\n color: inherit;\n cursor: default;\n}\n\n.nol-notifications-open:focus-visible {\n outline: var(--nol-border-width) solid var(--nol-accent);\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n.nol-notifications-text {\n overflow-wrap: anywhere;\n}\n\n.nol-notifications-meta {\n color: var(--nol-text-muted);\n}\n\n.nol-notifications-actions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2);\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: CheckboxComponent, selector: "nol-checkbox", inputs: ["checked", "disabled"], outputs: ["checkedChange"] }, { kind: "component", type: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { kind: "component", type: ProgressComponent, selector: "nol-progress", inputs: ["label", "value"] }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
|
|
71
71
|
}
|
|
72
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
72
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: NotificationsPopoverComponent, decorators: [{
|
|
73
73
|
type: Component,
|
|
74
74
|
args: [{ selector: "nol-notifications-popover", imports: [ButtonComponent, CheckboxComponent, IconButtonComponent, ProgressComponent, TooltipDirective], hostDirectives: [{ directive: PopoverDirective, inputs: ["label"] }], host: {
|
|
75
75
|
"class": "nol-notifications-popover"
|
|
@@ -30,10 +30,10 @@ export class PlaceMenuComponent {
|
|
|
30
30
|
run(row) {
|
|
31
31
|
this.commands.runAsync(row.command, row.commandArguments).catch((error) => this.errors.handleError(error));
|
|
32
32
|
}
|
|
33
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
34
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
33
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: PlaceMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
34
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: PlaceMenuComponent, isStandalone: true, selector: "nol-place-menu", inputs: { place: { classPropertyName: "place", publicName: "place", isSignal: true, isRequired: false, transformFunction: null }, rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, context: { classPropertyName: "context", publicName: "context", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "menu", first: true, predicate: ["placeMenu"], descendants: true, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<ng-template #placeMenu>\n <nol-menu class=\"nol-place-menu\" [attr.data-place]=\"place()\">\n @for (section of sections(); track section.group; let first = $first) {\n @if (!first) {\n <nol-menu-separator />\n }\n @for (row of section.rows; track $index) {\n @if (row.isSubmenu) {\n <nol-place-menu #nested [place]=\"row.place\" [context]=\"context()\" />\n <button nol-menu-item class=\"nol-place-menu-submenu\" [attr.data-submenu]=\"row.place\" [label]=\"row.title\" [icon]=\"row.icon\" [nolMenuTriggerFor]=\"nested.menu()\"></button>\n } @else {\n <button nol-menu-item class=\"nol-place-menu-item\" [attr.data-command]=\"row.command\" [label]=\"row.title\" [icon]=\"row.icon\"\n [shortcut]=\"row.key\" [checked]=\"row.check === menuCheck.None ? null : row.isChecked\" [checkbox]=\"row.check === menuCheck.Checkbox\"\n [disabled]=\"!row.isEnabled\" (triggered)=\"run(row)\"></button>\n }\n }\n }\n </nol-menu>\n</ng-template>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: contents;\n}\n"], dependencies: [{ kind: "component", type: PlaceMenuComponent, selector: "nol-place-menu", inputs: ["place", "rows", "context"] }, { kind: "component", type: MenuComponent, selector: "nol-menu", inputs: ["minWidth"] }, { kind: "component", type: MenuItemComponent, selector: "button[nol-menu-item]", inputs: ["label", "icon", "checked", "checkbox", "shortcut", "description", "value", "tag", "danger", "isShowingChevron"] }, { kind: "component", type: MenuSeparatorComponent, selector: "nol-menu-separator" }, { kind: "directive", type: MenuTriggerDirective, selector: "[nolMenuTriggerFor]", inputs: ["nolMenuTriggerFor", "nolMenuAlignment"], exportAs: ["nolMenuTriggerFor"] }] });
|
|
35
35
|
}
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: PlaceMenuComponent, decorators: [{
|
|
37
37
|
type: Component,
|
|
38
38
|
args: [{ selector: "nol-place-menu", imports: [MenuComponent, MenuItemComponent, MenuSeparatorComponent, MenuTriggerDirective], 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<ng-template #placeMenu>\n <nol-menu class=\"nol-place-menu\" [attr.data-place]=\"place()\">\n @for (section of sections(); track section.group; let first = $first) {\n @if (!first) {\n <nol-menu-separator />\n }\n @for (row of section.rows; track $index) {\n @if (row.isSubmenu) {\n <nol-place-menu #nested [place]=\"row.place\" [context]=\"context()\" />\n <button nol-menu-item class=\"nol-place-menu-submenu\" [attr.data-submenu]=\"row.place\" [label]=\"row.title\" [icon]=\"row.icon\" [nolMenuTriggerFor]=\"nested.menu()\"></button>\n } @else {\n <button nol-menu-item class=\"nol-place-menu-item\" [attr.data-command]=\"row.command\" [label]=\"row.title\" [icon]=\"row.icon\"\n [shortcut]=\"row.key\" [checked]=\"row.check === menuCheck.None ? null : row.isChecked\" [checkbox]=\"row.check === menuCheck.Checkbox\"\n [disabled]=\"!row.isEnabled\" (triggered)=\"run(row)\"></button>\n }\n }\n }\n </nol-menu>\n</ng-template>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: contents;\n}\n"] }]
|
|
39
39
|
}], propDecorators: { place: [{ type: i0.Input, args: [{ isSignal: true, alias: "place", required: false }] }], rows: [{ type: i0.Input, args: [{ isSignal: true, alias: "rows", required: false }] }], context: [{ type: i0.Input, args: [{ isSignal: true, alias: "context", required: false }] }], menu: [{ type: i0.ViewChild, args: ["placeMenu", { isSignal: true }] }] } });
|
|
@@ -43,10 +43,10 @@ export class PlaceholderContentComponent {
|
|
|
43
43
|
});
|
|
44
44
|
return new TabContent(component, injector, {}, match.padding, pagePadding);
|
|
45
45
|
}
|
|
46
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
47
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
46
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: PlaceholderContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
47
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: PlaceholderContentComponent, isStandalone: true, selector: "nol-placeholder-content", inputs: { match: { classPropertyName: "match", publicName: "match", isSignal: true, isRequired: true, transformFunction: null } }, host: { properties: { "class.nol-placeholder-content-padded": "isPadded()" } }, ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (content.hasValue()) {\n @let value = content.value();\n <ng-container *ngComponentOutlet=\"value.type; injector: value.injector; inputs: value.inputs\" />\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: 1;\n flex-direction: column;\n min-height: 0;\n overflow: auto;\n}\n\n:host(.nol-placeholder-content-padded) {\n scrollbar-gutter: stable;\n padding: var(--nol-document-padding-block) var(--nol-content-padding-inline);\n}\n"], dependencies: [{ kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }] });
|
|
48
48
|
}
|
|
49
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: PlaceholderContentComponent, decorators: [{
|
|
50
50
|
type: Component,
|
|
51
51
|
args: [{ selector: "nol-placeholder-content", imports: [NgComponentOutlet], host: {
|
|
52
52
|
"[class.nol-placeholder-content-padded]": "isPadded()"
|