@noldova/ui.components.angular 0.0.3 → 0.0.6
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/README.md +2 -2
- package/app/components/avatar/avatar-initials-fitter.js +3 -3
- package/app/components/avatar/avatar.component.js +3 -3
- package/app/components/button/button.component.js +4 -4
- package/app/components/card/card.component.js +3 -3
- package/app/components/checkbox/checkbox.component.js +3 -3
- package/app/components/chip/chip.component.js +3 -3
- package/app/components/choice-pills/choice-pills.component.js +3 -3
- package/app/components/choice-row/choice-row.component.js +3 -3
- package/app/components/code-block/code-block.component.js +3 -3
- package/app/components/code-block/shell-run-output.component.js +3 -3
- package/app/components/code-block/shell-run-output.directive.js +3 -3
- package/app/components/configuration-table/configuration-table-action.directive.js +3 -3
- package/app/components/configuration-table/configuration-table-fill.directive.js +3 -3
- package/app/components/configuration-table/configuration-table-row-actions.directive.js +3 -3
- package/app/components/configuration-table/configuration-table-share.directive.js +3 -3
- package/app/components/configuration-table/configuration-table.component.js +3 -3
- package/app/components/configuration-table/configuration-table.directive.js +3 -3
- package/app/components/dialog/dialog-description.directive.js +3 -3
- package/app/components/dialog/dialog.component.js +3 -3
- package/app/components/diff-view/diff-code.directive.js +3 -3
- package/app/components/diff-view/diff-view.component.js +3 -3
- package/app/components/docking-guide/docking-guide.component.js +3 -3
- package/app/components/docking-plate/docking-plate.component.js +3 -3
- package/app/components/field-message/field-message.component.js +3 -3
- package/app/components/file-badge/file-badge.component.js +3 -3
- package/app/components/gallery/gallery-avatar.component.js +3 -3
- package/app/components/gallery/gallery-button.component.js +3 -3
- package/app/components/gallery/gallery-card.component.js +3 -3
- package/app/components/gallery/gallery-cell.component.js +3 -3
- package/app/components/gallery/gallery-checkbox.component.js +3 -3
- package/app/components/gallery/gallery-chip.component.js +3 -3
- package/app/components/gallery/gallery-choice-pills.component.js +3 -3
- package/app/components/gallery/gallery-choice-row.component.js +3 -3
- package/app/components/gallery/gallery-code-block.component.js +3 -3
- package/app/components/gallery/gallery-configuration-table.component.js +3 -3
- package/app/components/gallery/gallery-content.component.js +3 -3
- package/app/components/gallery/gallery-dialog.component.js +3 -3
- package/app/components/gallery/gallery-feed.component.js +3 -3
- package/app/components/gallery/gallery-file-badge.component.js +3 -3
- package/app/components/gallery/gallery-forms.component.js +3 -3
- package/app/components/gallery/gallery-group-header.component.js +3 -3
- package/app/components/gallery/gallery-icon-button.component.js +3 -3
- package/app/components/gallery/gallery-inline-code.component.js +3 -3
- package/app/components/gallery/gallery-markdown-view.component.js +3 -3
- package/app/components/gallery/gallery-menu.component.js +4 -4
- package/app/components/gallery/gallery-menu.component.js.map +1 -1
- package/app/components/gallery/gallery-message.component.js +3 -3
- package/app/components/gallery/gallery-meter.component.js +3 -3
- package/app/components/gallery/gallery-navigation.component.js +3 -3
- package/app/components/gallery/gallery-overlays.component.js +3 -3
- package/app/components/gallery/gallery-panel-card.component.js +3 -3
- package/app/components/gallery/gallery-press.directive.js +3 -3
- package/app/components/gallery/gallery-progress.component.js +3 -3
- package/app/components/gallery/gallery-quick-input.component.js +3 -3
- package/app/components/gallery/gallery-radio.component.js +3 -3
- package/app/components/gallery/gallery-refusing-clipboard.directive.js +3 -3
- package/app/components/gallery/gallery-refusing-clipboard.js +3 -3
- package/app/components/gallery/gallery-resources.d.ts +3 -1
- package/app/components/gallery/gallery-resources.js +3 -1
- package/app/components/gallery/gallery-resources.js.map +1 -1
- package/app/components/gallery/gallery-sash.component.js +3 -3
- package/app/components/gallery/gallery-scope.directive.js +3 -3
- package/app/components/gallery/gallery-section-header.component.js +3 -3
- package/app/components/gallery/gallery-select.component.js +3 -3
- package/app/components/gallery/gallery-specimen.component.js +3 -3
- package/app/components/gallery/gallery-spinner.component.js +3 -3
- package/app/components/gallery/gallery-split-button.component.js +3 -3
- package/app/components/gallery/gallery-split-button.component.js.map +1 -1
- package/app/components/gallery/gallery-state.directive.js +3 -3
- package/app/components/gallery/gallery-switch.component.js +3 -3
- package/app/components/gallery/gallery-tab.component.js +3 -3
- package/app/components/gallery/gallery-terminal-output.component.js +3 -3
- package/app/components/gallery/gallery-text-field.component.js +3 -3
- package/app/components/gallery/gallery-toolbar-button.component.js +3 -3
- package/app/components/gallery/gallery-tooltip.component.js +3 -3
- package/app/components/gallery/gallery-tree.component.js +3 -3
- package/app/components/gallery/gallery-view-badge.component.js +3 -3
- package/app/components/gallery/gallery-virtual-list.component.js +3 -3
- package/app/components/gallery/gallery.component.js +3 -3
- package/app/components/group-header/group-header.component.js +3 -3
- package/app/components/icon-button/icon-button.component.js +4 -4
- package/app/components/icon-button/icon-button.component.js.map +1 -1
- package/app/components/inline-code/inline-code.component.js +3 -3
- package/app/components/link-reference/link-reference-card.component.js +3 -3
- package/app/components/link-reference/link-reference-chip.component.js +3 -3
- package/app/components/link-reference/link-reference-image.component.js +3 -3
- package/app/components/link-reference/link-reference-work-item-state.component.js +3 -3
- package/app/components/markdown-view/markdown-math.component.js +3 -3
- package/app/components/markdown-view/markdown-view-nodes.component.js +3 -3
- package/app/components/markdown-view/markdown-view.component.js +3 -3
- package/app/components/mention-field/mention-field.directive.js +3 -3
- package/app/components/mention-field/mention-list.component.js +3 -3
- package/app/components/menu/context-menu-trigger.directive.js +3 -3
- package/app/components/menu/kept-open-menu-item.directive.js +3 -3
- package/app/components/menu/menu-group-action.directive.js +3 -3
- package/app/components/menu/menu-group.component.js +3 -3
- package/app/components/menu/menu-item.component.d.ts +10 -1
- package/app/components/menu/menu-item.component.js +7 -5
- package/app/components/menu/menu-item.component.js.map +1 -1
- package/app/components/menu/menu-opens-on.directive.js +3 -3
- package/app/components/menu/menu-separator.component.js +3 -3
- package/app/components/menu/menu-trigger.directive.js +3 -3
- package/app/components/menu/menu.component.js +3 -3
- package/app/components/menu-bar/menu-bar-item.component.js +3 -3
- package/app/components/menu-bar/menu-bar.component.js +3 -3
- package/app/components/message/message-action.directive.js +3 -3
- package/app/components/message/message-footer-end.directive.js +3 -3
- package/app/components/message/message-image.directive.js +3 -3
- package/app/components/message/message-run.component.js +3 -3
- package/app/components/message/message-slot.directive.js +3 -3
- package/app/components/message/message.component.js +3 -3
- package/app/components/meter/meter.component.js +3 -3
- package/app/components/panel-card/panel-card.component.js +3 -3
- package/app/components/permission-card/permission-card.component.js +3 -3
- package/app/components/plan/plan.component.js +3 -3
- package/app/components/popover/popover-trigger.directive.js +3 -3
- package/app/components/popover/popover.directive.js +3 -3
- package/app/components/progress/progress.component.js +3 -3
- package/app/components/progress/reveal-delay.directive.js +3 -3
- package/app/components/quick-input/quick-input.component.js +4 -4
- package/app/components/quick-input/quick-input.component.js.map +1 -1
- package/app/components/radio/radio-group.component.js +3 -3
- package/app/components/radio/radio.component.js +3 -3
- package/app/components/sash/sash.component.js +3 -3
- package/app/components/section-header/section-header.component.d.ts +4 -4
- package/app/components/section-header/section-header.component.js +4 -4
- package/app/components/select/select.component.js +3 -3
- package/app/components/spinner/spinner.component.js +4 -4
- package/app/components/split-button/split-button.component.js +3 -3
- package/app/components/switch/switch.component.js +3 -3
- package/app/components/tab/tab.component.js +4 -4
- package/app/components/tab/tab.component.js.map +1 -1
- package/app/components/terminal-output/terminal-output.component.js +3 -3
- package/app/components/text-field/text-field-box.component.js +3 -3
- package/app/components/text-field/text-field-end.directive.js +3 -3
- package/app/components/text-field/text-field.component.js +3 -3
- package/app/components/tool-call/tool-call-output.directive.js +3 -3
- package/app/components/tool-call/tool-call.component.js +3 -3
- package/app/components/toolbar/toolbar-item.directive.js +3 -3
- package/app/components/toolbar/toolbar.directive.js +3 -3
- package/app/components/toolbar-button/toolbar-button.component.js +4 -4
- package/app/components/toolbar-button/toolbar-button.component.js.map +1 -1
- package/app/components/tooltip/tooltip.component.js +3 -3
- package/app/components/tooltip/tooltip.directive.js +3 -3
- package/app/components/tree/tree-row.directive.js +3 -3
- package/app/components/tree/tree.component.js +3 -3
- package/app/components/view-badge/view-badge.component.js +3 -3
- package/app/components/virtual-list/virtual-list.component.js +4 -4
- package/app/components/virtual-list/virtual-list.component.js.map +1 -1
- package/app/components/virtual-list/virtual-row.directive.js +3 -3
- package/app/models/default-theme.js +1 -0
- package/app/models/default-theme.js.map +1 -1
- package/app/services/announcer.js +3 -3
- package/app/services/appearance.service.js +3 -3
- package/app/services/code-highlighter.js +3 -3
- package/app/services/code-highlights.js +3 -3
- package/app/services/dialog.service.js +3 -3
- package/app/services/diff-highlights.js +3 -3
- package/app/services/duration-formatter.js +3 -3
- package/app/services/markdown-math.renderer.js +3 -3
- package/app/services/markdown.parser.js +3 -3
- package/app/services/overlay-bounds.service.js +3 -3
- package/app/services/pending-permissions.js +3 -3
- package/app/services/scroll-reveal.service.js +3 -3
- package/app/services/shared-clock.js +3 -3
- package/app/services/tooltip-pace.js +3 -3
- package/package.json +7 -7
- package/resources.js +1 -0
- package/resources.js.map +1 -1
- package/styles/theme.css +1 -0
- package/testing/models/fixture-theme.js +1 -0
- package/testing/models/fixture-theme.js.map +1 -1
- package/testing/services/clipboard-writer-fixture.js +3 -3
|
@@ -39,10 +39,10 @@ export class GalleryTreeComponent {
|
|
|
39
39
|
moveTreeNode(move) {
|
|
40
40
|
this.treeNodes.update(t => move.apply(t));
|
|
41
41
|
}
|
|
42
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
43
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.
|
|
42
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryTreeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
43
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryTreeComponent, isStandalone: true, selector: "nol-gallery-tree", 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-gallery-specimen [name]=\"text.tree\" [size]=\"sizes.Wide\" noHover>\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <nol-tree class=\"nol-gallery-tree\" [nodes]=\"treeNodes()\" [movable]=\"true\" [label]=\"text.treeLabel\" [current]=\"treeCurrent()\" (activated)=\"treeCurrent.set($event.id)\" (moved)=\"moveTreeNode($event)\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <nol-tree class=\"nol-gallery-tree\" nolGalleryFocus=\"[role=treeitem]\" [nodes]=\"recentRows\" [label]=\"text.treeLabel\" />\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <nol-tree class=\"nol-gallery-tree nol-gallery-narrow\" [nodes]=\"longRows\" [label]=\"text.treeLabel\" />\n </nol-gallery-cell>\n</nol-gallery-specimen>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n gap: var(--nol-space-6);\n}\n\n.nol-gallery-strip {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-tree,\n.nol-gallery-sections {\n width: 16rem;\n}\n\n.nol-gallery-list {\n width: 16rem;\n height: 12rem;\n}\n\n.nol-gallery-toolbar {\n display: flex;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-sash-box {\n display: flex;\n align-items: stretch;\n width: 12.5rem;\n height: 4rem;\n}\n\n.nol-gallery-sash-box-column {\n flex-direction: column;\n height: 8rem;\n}\n\n.nol-gallery-pane {\n flex: 1 1 0;\n background-color: var(--nol-raised);\n}\n\n.nol-gallery-card {\n width: 12.5rem;\n padding: var(--nol-space-3);\n box-sizing: border-box;\n}\n"], dependencies: [{ kind: "component", type: GalleryCellComponent, selector: "nol-gallery-cell", inputs: ["caption"] }, { kind: "component", type: GallerySpecimenComponent, selector: "nol-gallery-specimen", inputs: ["name", "size"] }, { kind: "directive", type: GalleryStateDirective, selector: "[nolGalleryHover], [nolGalleryFocus]", inputs: ["nolGalleryHover", "nolGalleryFocus"] }, { kind: "component", type: TreeComponent, selector: "nol-tree", inputs: ["nodes", "label", "current", "movable"], outputs: ["activated", "moved"] }] });
|
|
44
44
|
}
|
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryTreeComponent, decorators: [{
|
|
46
46
|
type: Component,
|
|
47
47
|
args: [{ selector: "nol-gallery-tree", imports: [GalleryCellComponent, GallerySpecimenComponent, GalleryStateDirective, TreeComponent], 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-gallery-specimen [name]=\"text.tree\" [size]=\"sizes.Wide\" noHover>\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <nol-tree class=\"nol-gallery-tree\" [nodes]=\"treeNodes()\" [movable]=\"true\" [label]=\"text.treeLabel\" [current]=\"treeCurrent()\" (activated)=\"treeCurrent.set($event.id)\" (moved)=\"moveTreeNode($event)\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <nol-tree class=\"nol-gallery-tree\" nolGalleryFocus=\"[role=treeitem]\" [nodes]=\"recentRows\" [label]=\"text.treeLabel\" />\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <nol-tree class=\"nol-gallery-tree nol-gallery-narrow\" [nodes]=\"longRows\" [label]=\"text.treeLabel\" />\n </nol-gallery-cell>\n</nol-gallery-specimen>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n gap: var(--nol-space-6);\n}\n\n.nol-gallery-strip {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-tree,\n.nol-gallery-sections {\n width: 16rem;\n}\n\n.nol-gallery-list {\n width: 16rem;\n height: 12rem;\n}\n\n.nol-gallery-toolbar {\n display: flex;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-sash-box {\n display: flex;\n align-items: stretch;\n width: 12.5rem;\n height: 4rem;\n}\n\n.nol-gallery-sash-box-column {\n flex-direction: column;\n height: 8rem;\n}\n\n.nol-gallery-pane {\n flex: 1 1 0;\n background-color: var(--nol-raised);\n}\n\n.nol-gallery-card {\n width: 12.5rem;\n padding: var(--nol-space-3);\n box-sizing: border-box;\n}\n"] }]
|
|
48
48
|
}] });
|
|
@@ -13,10 +13,10 @@ import { GallerySpecimenComponent } from "./gallery-specimen.component.js";
|
|
|
13
13
|
import * as i0 from "@angular/core";
|
|
14
14
|
export class GalleryViewBadgeComponent {
|
|
15
15
|
text = GalleryResources.text;
|
|
16
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
17
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.
|
|
16
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryViewBadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryViewBadgeComponent, isStandalone: true, selector: "nol-gallery-view-badge", 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-gallery-specimen [name]=\"text.viewBadge\" noHover noFocus noLongText>\n <nol-gallery-cell [caption]=\"text.defaultState\"><nol-view-badge /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.chipCount\"><nol-view-badge [count]=\"3\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.chipLargeCount\"><nol-view-badge [count]=\"120\" /></nol-gallery-cell>\n</nol-gallery-specimen>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n gap: var(--nol-space-6);\n}\n\n.nol-gallery-strip {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-tree,\n.nol-gallery-sections {\n width: 16rem;\n}\n\n.nol-gallery-list {\n width: 16rem;\n height: 12rem;\n}\n\n.nol-gallery-toolbar {\n display: flex;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-sash-box {\n display: flex;\n align-items: stretch;\n width: 12.5rem;\n height: 4rem;\n}\n\n.nol-gallery-sash-box-column {\n flex-direction: column;\n height: 8rem;\n}\n\n.nol-gallery-pane {\n flex: 1 1 0;\n background-color: var(--nol-raised);\n}\n\n.nol-gallery-card {\n width: 12.5rem;\n padding: var(--nol-space-3);\n box-sizing: border-box;\n}\n"], dependencies: [{ kind: "component", type: GalleryCellComponent, selector: "nol-gallery-cell", inputs: ["caption"] }, { kind: "component", type: GallerySpecimenComponent, selector: "nol-gallery-specimen", inputs: ["name", "size"] }, { kind: "component", type: ViewBadgeComponent, selector: "nol-view-badge", inputs: ["count"] }] });
|
|
18
18
|
}
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryViewBadgeComponent, decorators: [{
|
|
20
20
|
type: Component,
|
|
21
21
|
args: [{ selector: "nol-gallery-view-badge", imports: [GalleryCellComponent, GallerySpecimenComponent, ViewBadgeComponent], 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-gallery-specimen [name]=\"text.viewBadge\" noHover noFocus noLongText>\n <nol-gallery-cell [caption]=\"text.defaultState\"><nol-view-badge /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.chipCount\"><nol-view-badge [count]=\"3\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.chipLargeCount\"><nol-view-badge [count]=\"120\" /></nol-gallery-cell>\n</nol-gallery-specimen>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n gap: var(--nol-space-6);\n}\n\n.nol-gallery-strip {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-tree,\n.nol-gallery-sections {\n width: 16rem;\n}\n\n.nol-gallery-list {\n width: 16rem;\n height: 12rem;\n}\n\n.nol-gallery-toolbar {\n display: flex;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-sash-box {\n display: flex;\n align-items: stretch;\n width: 12.5rem;\n height: 4rem;\n}\n\n.nol-gallery-sash-box-column {\n flex-direction: column;\n height: 8rem;\n}\n\n.nol-gallery-pane {\n flex: 1 1 0;\n background-color: var(--nol-raised);\n}\n\n.nol-gallery-card {\n width: 12.5rem;\n padding: var(--nol-space-3);\n box-sizing: border-box;\n}\n"] }]
|
|
22
22
|
}] });
|
|
@@ -27,10 +27,10 @@ export class GalleryVirtualListComponent {
|
|
|
27
27
|
listFailing = new GalleryVirtualListSource(GalleryResources.virtualListLength, GalleryResources.virtualListEstimate, () => Promise.reject(new VirtualListException(this.text.virtualListRefusal)));
|
|
28
28
|
listSelected = signal(GalleryResources.virtualListSelected, /* @ts-ignore */
|
|
29
29
|
...(ngDevMode ? [{ debugName: "listSelected" }] : /* istanbul ignore next */ []));
|
|
30
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
31
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.
|
|
30
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryVirtualListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
31
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryVirtualListComponent, isStandalone: true, selector: "nol-gallery-virtual-list", 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-gallery-specimen [name]=\"text.virtualList\" [size]=\"sizes.Wide\" noHover>\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <nol-virtual-list class=\"nol-gallery-list\" [label]=\"text.virtualListLabel\" [source]=\"listItems\" [selected]=\"listSelected()\" (activated)=\"listSelected.set($event.index)\">\n <ng-template [nolVirtualRow]=\"listItems\" let-item>{{ item }}</ng-template>\n </nol-virtual-list>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.virtualListLoadingCaption\">\n <nol-virtual-list class=\"nol-gallery-list\" [label]=\"text.virtualListLabel\" [source]=\"listLoading\">\n <ng-template [nolVirtualRow]=\"listLoading\" let-item>{{ item }}</ng-template>\n </nol-virtual-list>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <nol-virtual-list class=\"nol-gallery-list\" [nolGalleryFocus]=\"focusedRow\" [label]=\"text.virtualListLabel\" [source]=\"listItems\">\n <ng-template [nolVirtualRow]=\"listItems\" let-item>{{ item }}</ng-template>\n </nol-virtual-list>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.error\">\n <nol-virtual-list class=\"nol-gallery-list\" [label]=\"text.virtualListLabel\" [source]=\"listFailing\">\n <ng-template [nolVirtualRow]=\"listFailing\" let-item>{{ item }}</ng-template>\n </nol-virtual-list>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <nol-virtual-list class=\"nol-gallery-list nol-gallery-narrow\" [label]=\"text.virtualListLabel\" [source]=\"listLong\">\n <ng-template [nolVirtualRow]=\"listLong\" let-item>{{ item }}</ng-template>\n </nol-virtual-list>\n </nol-gallery-cell>\n</nol-gallery-specimen>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n gap: var(--nol-space-6);\n}\n\n.nol-gallery-strip {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-tree,\n.nol-gallery-sections {\n width: 16rem;\n}\n\n.nol-gallery-list {\n width: 16rem;\n height: 12rem;\n}\n\n.nol-gallery-toolbar {\n display: flex;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-sash-box {\n display: flex;\n align-items: stretch;\n width: 12.5rem;\n height: 4rem;\n}\n\n.nol-gallery-sash-box-column {\n flex-direction: column;\n height: 8rem;\n}\n\n.nol-gallery-pane {\n flex: 1 1 0;\n background-color: var(--nol-raised);\n}\n\n.nol-gallery-card {\n width: 12.5rem;\n padding: var(--nol-space-3);\n box-sizing: border-box;\n}\n"], dependencies: [{ kind: "component", type: GalleryCellComponent, selector: "nol-gallery-cell", inputs: ["caption"] }, { kind: "component", type: GallerySpecimenComponent, selector: "nol-gallery-specimen", inputs: ["name", "size"] }, { kind: "directive", type: GalleryStateDirective, selector: "[nolGalleryHover], [nolGalleryFocus]", inputs: ["nolGalleryHover", "nolGalleryFocus"] }, { kind: "component", type: VirtualListComponent, selector: "nol-virtual-list", inputs: ["source", "label", "kind", "selected", "position", "busy", "readAhead", "latest"], outputs: ["activated", "positionChange", "jumped", "failed"] }, { kind: "directive", type: VirtualRowDirective, selector: "ng-template[nolVirtualRow]", inputs: ["nolVirtualRow", "nolVirtualRowDescribed", "nolVirtualRowHidden"] }] });
|
|
32
32
|
}
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryVirtualListComponent, decorators: [{
|
|
34
34
|
type: Component,
|
|
35
35
|
args: [{ selector: "nol-gallery-virtual-list", imports: [GalleryCellComponent, GallerySpecimenComponent, GalleryStateDirective, VirtualListComponent, VirtualRowDirective], 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-gallery-specimen [name]=\"text.virtualList\" [size]=\"sizes.Wide\" noHover>\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <nol-virtual-list class=\"nol-gallery-list\" [label]=\"text.virtualListLabel\" [source]=\"listItems\" [selected]=\"listSelected()\" (activated)=\"listSelected.set($event.index)\">\n <ng-template [nolVirtualRow]=\"listItems\" let-item>{{ item }}</ng-template>\n </nol-virtual-list>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.virtualListLoadingCaption\">\n <nol-virtual-list class=\"nol-gallery-list\" [label]=\"text.virtualListLabel\" [source]=\"listLoading\">\n <ng-template [nolVirtualRow]=\"listLoading\" let-item>{{ item }}</ng-template>\n </nol-virtual-list>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <nol-virtual-list class=\"nol-gallery-list\" [nolGalleryFocus]=\"focusedRow\" [label]=\"text.virtualListLabel\" [source]=\"listItems\">\n <ng-template [nolVirtualRow]=\"listItems\" let-item>{{ item }}</ng-template>\n </nol-virtual-list>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.error\">\n <nol-virtual-list class=\"nol-gallery-list\" [label]=\"text.virtualListLabel\" [source]=\"listFailing\">\n <ng-template [nolVirtualRow]=\"listFailing\" let-item>{{ item }}</ng-template>\n </nol-virtual-list>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <nol-virtual-list class=\"nol-gallery-list nol-gallery-narrow\" [label]=\"text.virtualListLabel\" [source]=\"listLong\">\n <ng-template [nolVirtualRow]=\"listLong\" let-item>{{ item }}</ng-template>\n </nol-virtual-list>\n </nol-gallery-cell>\n</nol-gallery-specimen>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n gap: var(--nol-space-6);\n}\n\n.nol-gallery-strip {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-tree,\n.nol-gallery-sections {\n width: 16rem;\n}\n\n.nol-gallery-list {\n width: 16rem;\n height: 12rem;\n}\n\n.nol-gallery-toolbar {\n display: flex;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-sash-box {\n display: flex;\n align-items: stretch;\n width: 12.5rem;\n height: 4rem;\n}\n\n.nol-gallery-sash-box-column {\n flex-direction: column;\n height: 8rem;\n}\n\n.nol-gallery-pane {\n flex: 1 1 0;\n background-color: var(--nol-raised);\n}\n\n.nol-gallery-card {\n width: 12.5rem;\n padding: var(--nol-space-3);\n box-sizing: border-box;\n}\n"] }]
|
|
36
36
|
}] });
|
|
@@ -44,10 +44,10 @@ export class GalleryComponent {
|
|
|
44
44
|
}
|
|
45
45
|
return injector;
|
|
46
46
|
}
|
|
47
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
48
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.
|
|
47
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
48
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: GalleryComponent, isStandalone: true, selector: "nol-gallery", inputs: { themes: { classPropertyName: "themes", publicName: "themes", isSignal: true, isRequired: false, transformFunction: null }, modes: { classPropertyName: "modes", publicName: "modes", isSignal: true, isRequired: false, transformFunction: null }, sections: { classPropertyName: "sections", publicName: "sections", isSignal: true, isRequired: false, transformFunction: null } }, providers: [{ provide: CodeHighlighterTokens.highlighter, useExisting: CodeHighlighter }, { provide: MarkdownViewTokens.parser, useExisting: MarkdownParser }], 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@for (scope of scopes(); track scope.id) {\n <section #frame class=\"nol-gallery-scope-frame\" [nolGalleryScope]=\"scope.theme\" [nolGalleryMode]=\"scope.mode\" [attr.aria-label]=\"scope.label\" [attr.data-theme]=\"scope.theme.id\"\n [attr.data-mode]=\"scope.mode\">\n <h2 class=\"nol-gallery-scope-title\">{{ scope.label }}</h2>\n @for (section of kitSections; track $index) {\n <ng-container *ngComponentOutlet=\"section; injector: injectorOf(frame)\" />\n }\n @for (section of sections(); track $index) {\n <ng-container *ngComponentOutlet=\"section; injector: injectorOf(frame)\" />\n }\n </section>\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: grid;\n gap: var(--nol-space-4);\n}\n\n.nol-gallery-scope-frame {\n display: grid;\n gap: var(--nol-space-6);\n padding: var(--nol-space-4);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-large);\n background-color: var(--nol-panel);\n color: var(--nol-text);\n}\n\n.nol-gallery-scope-title {\n margin: 0;\n color: var(--nol-text-strong);\n font-size: var(--nol-text-panel);\n font-weight: var(--nol-weight-emphasis);\n}\n"], dependencies: [{ kind: "directive", type: GalleryScopeDirective, selector: "[nolGalleryScope]", inputs: ["nolGalleryScope", "nolGalleryMode"] }, { kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }] });
|
|
49
49
|
}
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryComponent, decorators: [{
|
|
51
51
|
type: Component,
|
|
52
52
|
args: [{ selector: "nol-gallery", imports: [GalleryScopeDirective, NgComponentOutlet], providers: [{ provide: CodeHighlighterTokens.highlighter, useExisting: CodeHighlighter }, { provide: MarkdownViewTokens.parser, useExisting: MarkdownParser }], 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@for (scope of scopes(); track scope.id) {\n <section #frame class=\"nol-gallery-scope-frame\" [nolGalleryScope]=\"scope.theme\" [nolGalleryMode]=\"scope.mode\" [attr.aria-label]=\"scope.label\" [attr.data-theme]=\"scope.theme.id\"\n [attr.data-mode]=\"scope.mode\">\n <h2 class=\"nol-gallery-scope-title\">{{ scope.label }}</h2>\n @for (section of kitSections; track $index) {\n <ng-container *ngComponentOutlet=\"section; injector: injectorOf(frame)\" />\n }\n @for (section of sections(); track $index) {\n <ng-container *ngComponentOutlet=\"section; injector: injectorOf(frame)\" />\n }\n </section>\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: grid;\n gap: var(--nol-space-4);\n}\n\n.nol-gallery-scope-frame {\n display: grid;\n gap: var(--nol-space-6);\n padding: var(--nol-space-4);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-large);\n background-color: var(--nol-panel);\n color: var(--nol-text);\n}\n\n.nol-gallery-scope-title {\n margin: 0;\n color: var(--nol-text-strong);\n font-size: var(--nol-text-panel);\n font-weight: var(--nol-weight-emphasis);\n}\n"] }]
|
|
53
53
|
}], propDecorators: { themes: [{ type: i0.Input, args: [{ isSignal: true, alias: "themes", required: false }] }], modes: [{ type: i0.Input, args: [{ isSignal: true, alias: "modes", required: false }] }], sections: [{ type: i0.Input, args: [{ isSignal: true, alias: "sections", required: false }] }] } });
|
|
@@ -33,10 +33,10 @@ export class GroupHeaderComponent {
|
|
|
33
33
|
toggle() {
|
|
34
34
|
this.expanded.set(!this.expanded());
|
|
35
35
|
}
|
|
36
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
37
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.
|
|
36
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GroupHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
37
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: GroupHeaderComponent, isStandalone: true, selector: "nol-group-header", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, count: { classPropertyName: "count", publicName: "count", isSignal: true, isRequired: false, transformFunction: null }, countLabel: { classPropertyName: "countLabel", publicName: "countLabel", isSignal: true, isRequired: false, transformFunction: null }, level: { classPropertyName: "level", publicName: "level", isSignal: true, isRequired: false, transformFunction: null }, controls: { classPropertyName: "controls", publicName: "controls", isSignal: true, isRequired: false, transformFunction: null }, expanded: { classPropertyName: "expanded", publicName: "expanded", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { expanded: "expandedChange" }, host: { properties: { "class.nol-group-header-expanded": "expanded()" }, classAttribute: "nol-group-header" }, 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-group-header-heading\" role=\"heading\" [attr.aria-level]=\"level()\">\n <button type=\"button\" class=\"nol-group-header-toggle\" [attr.aria-expanded]=\"expanded()\" [attr.aria-controls]=\"controls()\" [attr.aria-label]=\"name()\" [nolTooltip]=\"label()\" [nolTooltipTruncated]=\"true\"\n (click)=\"toggle()\">\n <span class=\"nol-group-header-twistie material-symbols-rounded\" aria-hidden=\"true\">{{ resources.twistieGlyph }}</span>\n <span class=\"nol-group-header-title\" data-truncates>{{ label() }}</span>\n @if (count() !== null) {\n <span class=\"nol-group-header-count\">{{ count() }}</span>\n }\n </button>\n</div>\n<div class=\"nol-group-header-actions\">\n <ng-content />\n</div>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n box-sizing: border-box;\n min-height: var(--nol-section-header-height);\n border-radius: var(--nol-radius-small);\n}\n\n:host(:not(:first-child)) {\n margin-block-start: var(--nol-space-3);\n}\n\n:host(:is(:hover, [data-nol-state=\"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-group-header-heading {\n display: flex;\n flex: 1 1 0;\n min-width: calc-size(min-content, min(size, 100%));\n align-self: stretch;\n}\n\n.nol-group-header-toggle {\n display: flex;\n flex: auto;\n align-items: center;\n gap: var(--nol-space-1);\n box-sizing: border-box;\n min-width: 0;\n min-height: var(--nol-section-header-height);\n padding-block: 0;\n padding-inline: var(--nol-space-2);\n border: 0;\n border-radius: var(--nol-radius-small);\n background: none;\n color: var(--nol-text-strong);\n font: inherit;\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n text-align: start;\n}\n\n.nol-group-header-twistie {\n --nol-group-header-bearing: 0.361em;\n\n flex: none;\n margin-inline: calc(var(--nol-group-header-bearing) * -1) var(--nol-group-header-bearing);\n color: var(--nol-icon-color);\n font-size: var(--nol-icon);\n}\n\n.nol-group-header-twistie:dir(rtl) {\n margin-inline: var(--nol-group-header-bearing) calc(var(--nol-group-header-bearing) * -1);\n}\n\n:host(.nol-group-header-expanded) .nol-group-header-twistie {\n --nol-group-header-bearing: 0.265em;\n\n rotate: 90deg;\n}\n\n:host(:not(.nol-group-header-expanded)) .nol-group-header-twistie:dir(rtl) {\n rotate: 180deg;\n}\n\n.nol-group-header-title {\n flex: 1 1 auto;\n width: calc-size(max-content, min(size, 4rem));\n min-width: 0;\n max-width: max-content;\n overflow: hidden;\n font-weight: var(--nol-weight-emphasis);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.nol-group-header-count {\n flex: none;\n margin-inline-start: calc(var(--nol-space-2) - var(--nol-space-1));\n color: var(--nol-text-muted);\n}\n\n.nol-group-header-actions {\n display: flex;\n flex: none;\n align-items: center;\n margin-inline-start: auto;\n gap: var(--nol-space-1);\n padding-inline-end: var(--nol-space-1);\n}\n\n.nol-group-header-actions:empty {\n display: none;\n}\n"], dependencies: [{ kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
|
|
38
38
|
}
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GroupHeaderComponent, decorators: [{
|
|
40
40
|
type: Component,
|
|
41
41
|
args: [{ selector: "nol-group-header", imports: [TooltipDirective], host: {
|
|
42
42
|
"class": "nol-group-header",
|
|
@@ -37,10 +37,10 @@ export class IconButtonComponent {
|
|
|
37
37
|
constructor() {
|
|
38
38
|
BusyGuard.watch(inject(ElementRef).nativeElement, () => this.busy() && !this.busyPressable());
|
|
39
39
|
}
|
|
40
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
41
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.5", type: IconButtonComponent, isStandalone: true, selector: "button[nol-icon-button]", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: true, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, pressed: { classPropertyName: "pressed", publicName: "pressed", isSignal: true, isRequired: false, transformFunction: null }, filled: { classPropertyName: "filled", publicName: "filled", isSignal: true, isRequired: false, transformFunction: null }, overlay: { classPropertyName: "overlay", publicName: "overlay", isSignal: true, isRequired: false, transformFunction: null }, backdrop: { classPropertyName: "backdrop", publicName: "backdrop", isSignal: true, isRequired: false, transformFunction: null }, buttonHeight: { classPropertyName: "buttonHeight", publicName: "buttonHeight", isSignal: true, isRequired: false, transformFunction: null }, danger: { classPropertyName: "danger", publicName: "danger", isSignal: true, isRequired: false, transformFunction: null }, tabAction: { classPropertyName: "tabAction", publicName: "tabAction", isSignal: true, isRequired: false, transformFunction: null }, busy: { classPropertyName: "busy", publicName: "busy", isSignal: true, isRequired: false, transformFunction: null }, busyPressable: { classPropertyName: "busyPressable", publicName: "busyPressable", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.aria-label": "label()", "attr.aria-pressed": "pressed() ?? null", "class.nol-icon-button-filled": "filled()", "class.nol-icon-button-overlay": "overlay() && !filled()", "class.nol-icon-button-backdrop": "overlay() && backdrop() && !filled()", "class.nol-icon-button-tall": "buttonHeight() && !filled() && (overlay() || !tabAction())", "class.nol-icon-button-tab-action": "tabAction() && !filled() && !overlay()", "class.nol-icon-button-danger": "danger() && !filled() && !overlay()", "class.nol-icon-button-busy": "busy()", "attr.aria-busy": "busy() ? resources.trueValue : null" }, classAttribute: "nol-icon-button" }, 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<span class=\"nol-icon-button-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ icon() }}</span>\n<ng-content />\n@if (busy()) {\n <nol-spinner class=\"nol-icon-button-spinner\" [isDelayed]=\"false\" />\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: inline-grid;\n place-items: center;\n box-sizing: border-box;\n min-width: var(--nol-icon-button-target);\n min-height: var(--nol-icon-button-target);\n padding: 0;\n border: 0;\n background: none;\n color: var(--nol-icon-color);\n outline: none;\n}\n\n:host(.nol-icon-button-danger) {\n color: var(--nol-error);\n}\n\n:host::before {\n content: \"\";\n grid-area: 1 / 1;\n width: var(--nol-icon-button);\n height: var(--nol-icon-button);\n border-radius: var(--nol-radius-small);\n}\n\n:host(:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"]))::before,\n:host([aria-pressed=\"true\"])::before {\n background-color: var(--nol-toolbar-hover);\n}\n\n@media (forced-colors: active) {\n :host(:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"]))::before {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n:host([aria-pressed=\"true\"]) {\n @media (forced-colors: active) {\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\n &::before {\n background-color: Highlight;\n }\n }\n}\n\n@media (forced-colors: active) {\n :host([aria-pressed=\"true\"]:is(:disabled, [aria-disabled=\"true\"])) {\n --nol-text: GrayText;\n --nol-text-muted: GrayText;\n --nol-menu-text: GrayText;\n --nol-icon-color: GrayText;\n --nol-list-highlight: GrayText;\n --nol-list-active-text: GrayText;\n\n color: GrayText;\n }\n\n :host([aria-pressed=\"true\"]:is(:disabled, [aria-disabled=\"true\"]))::before {\n background-color: Canvas;\n }\n\n :host([aria-pressed=\"true\"]:is(:disabled, [aria-disabled=\"true\"]):not(:focus-visible, [data-nol-state=\"Focus\"]))::before {\n outline: var(--nol-border-width) solid GrayText;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n:host(:is(:focus-visible, [data-nol-state=\"Focus\"]))::before {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: calc(var(--nol-border-width) * -1);\n}\n\n@media (forced-colors: active) {\n :host(:is(:focus-visible, [data-nol-state=\"Focus\"]))::before {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n:host(:is(:disabled, [aria-disabled=\"true\"])) {\n opacity: 0.5;\n cursor: default;\n\n @media (forced-colors: active) {\n color: GrayText;\n }\n}\n\n.nol-icon-button-glyph {\n grid-area: 1 / 1;\n font-size: var(--nol-icon);\n}\n\n:host(.nol-icon-button-filled) {\n min-width: max(var(--nol-icon-button-target), var(--nol-button-height));\n min-height: max(var(--nol-icon-button-target), var(--nol-button-height));\n color: var(--nol-button-text);\n}\n\n:host(.nol-icon-button-filled)::before {\n box-sizing: border-box;\n width: var(--nol-button-height);\n height: var(--nol-button-height);\n border: var(--nol-border-width) solid transparent;\n border-radius: 50%;\n background-color: var(--nol-button);\n}\n\n:host(.nol-icon-button-filled:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"]))::before {\n background-color: var(--nol-button);\n}\n\n:host(.nol-icon-button-filled:is(:focus-visible, [data-nol-state=\"Focus\"]))::before {\n outline-offset: calc(var(--nol-border-width) * 2);\n}\n\n:host(.nol-icon-button-filled:is(:disabled, [aria-disabled=\"true\"])) {\n opacity: 1;\n color: var(--nol-text-muted);\n}\n\n:host(.nol-icon-button-filled:is(:disabled, [aria-disabled=\"true\"]))::before {\n background-color: var(--nol-widget-border);\n}\n\n@media (forced-colors: active) {\n :host(.nol-icon-button-filled) {\n color: ButtonText;\n }\n\n :host(.nol-icon-button-filled)::before {\n border-color: ButtonText;\n }\n\n :host(.nol-icon-button-filled:is(:disabled, [aria-disabled=\"true\"])) {\n color: GrayText;\n }\n\n :host(.nol-icon-button-filled:is(:disabled, [aria-disabled=\"true\"]))::before {\n border-color: GrayText;\n }\n}\n\n:host(.nol-icon-button-overlay) {\n color: var(--nol-overlay-text);\n}\n\n:host(.nol-icon-button-overlay)::before {\n box-sizing: border-box;\n border: var(--nol-border-width) solid transparent;\n border-radius: 50%;\n background-color: var(--nol-overlay);\n}\n\n:host(.nol-icon-button-overlay:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"]))::before,\n:host(.nol-icon-button-overlay[aria-pressed=\"true\"])::before {\n background: linear-gradient(var(--nol-toolbar-hover), var(--nol-toolbar-hover)), var(--nol-overlay);\n}\n\n:host(.nol-icon-button-overlay:is(:focus-visible, [data-nol-state=\"Focus\"]))::before {\n outline-offset: calc(var(--nol-border-width) * 2);\n}\n\n@media (forced-colors: none) {\n :host(.nol-icon-button-backdrop) {\n color: var(--nol-overlay-control-text);\n }\n\n :host(.nol-icon-button-backdrop:is(:disabled, [aria-disabled=\"true\"])) {\n opacity: 0.35;\n }\n\n :host(.nol-icon-button-backdrop)::before {\n background-color: var(--nol-overlay-control);\n }\n\n :host(.nol-icon-button-backdrop:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"]))::before,\n :host(.nol-icon-button-backdrop[aria-pressed=\"true\"])::before {\n background: linear-gradient(var(--nol-overlay-control-hover), var(--nol-overlay-control-hover)), var(--nol-overlay-control);\n }\n}\n\n:host(.nol-icon-button-tab-action) {\n min-width: max(var(--nol-pointer-target), var(--nol-tab-action-slot));\n min-height: max(var(--nol-pointer-target), var(--nol-tab-action-slot));\n}\n\n:host(.nol-icon-button-tab-action)::before {\n width: var(--nol-tab-close);\n height: var(--nol-tab-close);\n}\n\n:host(.nol-icon-button-tall) {\n min-width: max(var(--nol-icon-button-target), var(--nol-button-height));\n min-height: max(var(--nol-icon-button-target), var(--nol-button-height));\n}\n\n:host(.nol-icon-button-tall)::before {\n width: var(--nol-button-height);\n height: var(--nol-button-height);\n}\n\n@media (forced-colors: active) {\n :host(.nol-icon-button-overlay) {\n color: ButtonText;\n }\n\n :host(.nol-icon-button-overlay)::before {\n border-color: ButtonText;\n background-color: ButtonFace;\n }\n\n :host(.nol-icon-button-overlay:is(:disabled, [aria-disabled=\"true\"])) {\n color: GrayText;\n }\n\n :host(.nol-icon-button-overlay:is(:disabled, [aria-disabled=\"true\"]))::before {\n border-color: GrayText;\n }\n\n :host(.nol-icon-button-overlay[aria-pressed=\"true\"]:not(:disabled, [aria-disabled=\"true\"])) {\n color: HighlightText;\n }\n\n :host(.nol-icon-button-overlay[aria-pressed=\"true\"])::before {\n background-color: Highlight;\n }\n\n :host(.nol-icon-button-overlay[aria-pressed=\"true\"]:is(:disabled, [aria-disabled=\"true\"]))::before {\n background: Canvas;\n }\n}\n\n:host(.nol-icon-button-busy) {\n --nol-progress: currentColor;\n}\n\n:host(.nol-icon-button-busy) > :not(.nol-icon-button-spinner) {\n opacity: 0;\n}\n\n.nol-icon-button-spinner {\n grid-area: 1 / 1;\n}\n"], dependencies: [{ kind: "component", type: SpinnerComponent, selector: "nol-spinner", inputs: ["label"] }] });
|
|
40
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: IconButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
41
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: IconButtonComponent, isStandalone: true, selector: "button[nol-icon-button]", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: true, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, pressed: { classPropertyName: "pressed", publicName: "pressed", isSignal: true, isRequired: false, transformFunction: null }, filled: { classPropertyName: "filled", publicName: "filled", isSignal: true, isRequired: false, transformFunction: null }, overlay: { classPropertyName: "overlay", publicName: "overlay", isSignal: true, isRequired: false, transformFunction: null }, backdrop: { classPropertyName: "backdrop", publicName: "backdrop", isSignal: true, isRequired: false, transformFunction: null }, buttonHeight: { classPropertyName: "buttonHeight", publicName: "buttonHeight", isSignal: true, isRequired: false, transformFunction: null }, danger: { classPropertyName: "danger", publicName: "danger", isSignal: true, isRequired: false, transformFunction: null }, tabAction: { classPropertyName: "tabAction", publicName: "tabAction", isSignal: true, isRequired: false, transformFunction: null }, busy: { classPropertyName: "busy", publicName: "busy", isSignal: true, isRequired: false, transformFunction: null }, busyPressable: { classPropertyName: "busyPressable", publicName: "busyPressable", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.aria-label": "label()", "attr.aria-pressed": "pressed() ?? null", "class.nol-icon-button-filled": "filled()", "class.nol-icon-button-overlay": "overlay() && !filled()", "class.nol-icon-button-backdrop": "overlay() && backdrop() && !filled()", "class.nol-icon-button-tall": "buttonHeight() && !filled() && (overlay() || !tabAction())", "class.nol-icon-button-tab-action": "tabAction() && !filled() && !overlay()", "class.nol-icon-button-danger": "danger() && !filled() && !overlay()", "class.nol-icon-button-busy": "busy()", "attr.aria-busy": "busy() ? resources.trueValue : null" }, classAttribute: "nol-icon-button" }, 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<span class=\"nol-icon-button-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ icon() }}</span>\n<ng-content />\n@if (busy()) {\n <nol-spinner class=\"nol-icon-button-spinner\" [isDelayed]=\"false\" />\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: inline-grid;\n place-items: center;\n box-sizing: border-box;\n min-width: var(--nol-icon-button-target);\n min-height: var(--nol-icon-button-target);\n padding: 0;\n border: 0;\n background: none;\n color: var(--nol-icon-color);\n outline: none;\n}\n\n:host(.nol-icon-button-danger) {\n color: var(--nol-error);\n}\n\n:host::before {\n content: \"\";\n grid-area: 1 / 1;\n width: var(--nol-icon-button);\n height: var(--nol-icon-button);\n border-radius: var(--nol-radius-small);\n}\n\n:host(:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"]))::before,\n:host([aria-pressed=\"true\"])::before {\n background-color: var(--nol-toolbar-hover);\n}\n\n@media (forced-colors: active) {\n :host(:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"]))::before {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -3);\n }\n}\n\n:host([aria-pressed=\"true\"]) {\n @media (forced-colors: active) {\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 --nol-spinner-forced-arc: HighlightText;\n --nol-spinner-forced-ring: HighlightText;\n\n color: HighlightText;\n forced-color-adjust: none;\n\n &::before {\n background-color: Highlight;\n }\n }\n}\n\n@media (forced-colors: active) {\n :host([aria-pressed=\"true\"]:is(:disabled, [aria-disabled=\"true\"])) {\n --nol-text: GrayText;\n --nol-text-muted: GrayText;\n --nol-menu-text: GrayText;\n --nol-icon-color: GrayText;\n --nol-list-highlight: GrayText;\n --nol-list-active-text: GrayText;\n --nol-spinner-forced-arc: Highlight;\n --nol-spinner-forced-ring: GrayText;\n\n color: GrayText;\n }\n\n :host([aria-pressed=\"true\"]:is(:disabled, [aria-disabled=\"true\"]))::before {\n background-color: Canvas;\n }\n\n :host([aria-pressed=\"true\"]:is(:disabled, [aria-disabled=\"true\"]):not(:focus-visible, [data-nol-state=\"Focus\"]))::before {\n outline: var(--nol-border-width) solid GrayText;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n:host(:is(:focus-visible, [data-nol-state=\"Focus\"]))::before {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: calc(var(--nol-border-width) * -1);\n}\n\n@media (forced-colors: active) {\n :host(:is(:focus-visible, [data-nol-state=\"Focus\"]))::before {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n:host(:is(:disabled, [aria-disabled=\"true\"])) {\n opacity: 0.5;\n cursor: default;\n\n @media (forced-colors: active) {\n color: GrayText;\n }\n}\n\n.nol-icon-button-glyph {\n grid-area: 1 / 1;\n font-size: var(--nol-icon);\n}\n\n:host(.nol-icon-button-filled) {\n min-width: max(var(--nol-icon-button-target), var(--nol-button-height));\n min-height: max(var(--nol-icon-button-target), var(--nol-button-height));\n color: var(--nol-button-text);\n}\n\n:host(.nol-icon-button-filled)::before {\n box-sizing: border-box;\n width: var(--nol-button-height);\n height: var(--nol-button-height);\n border: var(--nol-border-width) solid transparent;\n border-radius: 50%;\n background-color: var(--nol-button);\n}\n\n:host(.nol-icon-button-filled:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"]))::before {\n background-color: var(--nol-button);\n}\n\n:host(.nol-icon-button-filled:is(:focus-visible, [data-nol-state=\"Focus\"]))::before {\n outline-offset: calc(var(--nol-border-width) * 2);\n}\n\n:host(.nol-icon-button-filled:is(:disabled, [aria-disabled=\"true\"])) {\n opacity: 1;\n color: var(--nol-text-muted);\n}\n\n:host(.nol-icon-button-filled:is(:disabled, [aria-disabled=\"true\"]))::before {\n background-color: var(--nol-widget-border);\n}\n\n@media (forced-colors: active) {\n :host(.nol-icon-button-filled) {\n color: ButtonText;\n }\n\n :host(.nol-icon-button-filled)::before {\n border-color: ButtonText;\n }\n\n :host(.nol-icon-button-filled:is(:disabled, [aria-disabled=\"true\"])) {\n color: GrayText;\n }\n\n :host(.nol-icon-button-filled:is(:disabled, [aria-disabled=\"true\"]))::before {\n border-color: GrayText;\n }\n}\n\n:host(.nol-icon-button-overlay) {\n color: var(--nol-overlay-text);\n}\n\n:host(.nol-icon-button-overlay)::before {\n box-sizing: border-box;\n border: var(--nol-border-width) solid transparent;\n border-radius: 50%;\n background-color: var(--nol-overlay);\n}\n\n:host(.nol-icon-button-overlay:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"]))::before,\n:host(.nol-icon-button-overlay[aria-pressed=\"true\"])::before {\n background: linear-gradient(var(--nol-toolbar-hover), var(--nol-toolbar-hover)), var(--nol-overlay);\n}\n\n:host(.nol-icon-button-overlay:is(:focus-visible, [data-nol-state=\"Focus\"]))::before {\n outline-offset: calc(var(--nol-border-width) * 2);\n}\n\n@media (forced-colors: none) {\n :host(.nol-icon-button-backdrop) {\n color: var(--nol-overlay-control-text);\n }\n\n :host(.nol-icon-button-backdrop:is(:disabled, [aria-disabled=\"true\"])) {\n opacity: 0.35;\n }\n\n :host(.nol-icon-button-backdrop)::before {\n background-color: var(--nol-overlay-control);\n }\n\n :host(.nol-icon-button-backdrop:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"]))::before,\n :host(.nol-icon-button-backdrop[aria-pressed=\"true\"])::before {\n background: linear-gradient(var(--nol-overlay-control-hover), var(--nol-overlay-control-hover)), var(--nol-overlay-control);\n }\n}\n\n:host(.nol-icon-button-tab-action) {\n min-width: max(var(--nol-pointer-target), var(--nol-tab-action-slot));\n min-height: max(var(--nol-pointer-target), var(--nol-tab-action-slot));\n}\n\n:host(.nol-icon-button-tab-action)::before {\n width: var(--nol-tab-close);\n height: var(--nol-tab-close);\n}\n\n:host(.nol-icon-button-tall) {\n min-width: max(var(--nol-icon-button-target), var(--nol-button-height));\n min-height: max(var(--nol-icon-button-target), var(--nol-button-height));\n}\n\n:host(.nol-icon-button-tall)::before {\n width: var(--nol-button-height);\n height: var(--nol-button-height);\n}\n\n@media (forced-colors: active) {\n :host(.nol-icon-button-overlay) {\n color: ButtonText;\n }\n\n :host(.nol-icon-button-overlay)::before {\n border-color: ButtonText;\n background-color: ButtonFace;\n }\n\n :host(.nol-icon-button-overlay:is(:disabled, [aria-disabled=\"true\"])) {\n color: GrayText;\n }\n\n :host(.nol-icon-button-overlay:is(:disabled, [aria-disabled=\"true\"]))::before {\n border-color: GrayText;\n }\n\n :host(.nol-icon-button-overlay[aria-pressed=\"true\"]:not(:disabled, [aria-disabled=\"true\"])) {\n color: HighlightText;\n }\n\n :host(.nol-icon-button-overlay[aria-pressed=\"true\"])::before {\n background-color: Highlight;\n }\n\n :host(.nol-icon-button-overlay[aria-pressed=\"true\"]:is(:disabled, [aria-disabled=\"true\"]))::before {\n background: Canvas;\n }\n}\n\n:host(.nol-icon-button-busy) {\n --nol-progress: currentColor;\n}\n\n:host(.nol-icon-button-busy) > :not(.nol-icon-button-spinner) {\n opacity: 0;\n}\n\n.nol-icon-button-spinner {\n grid-area: 1 / 1;\n}\n"], dependencies: [{ kind: "component", type: SpinnerComponent, selector: "nol-spinner", inputs: ["label"] }] });
|
|
42
42
|
}
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: IconButtonComponent, decorators: [{
|
|
44
44
|
type: Component,
|
|
45
45
|
args: [{ selector: "button[nol-icon-button]", imports: [SpinnerComponent], host: {
|
|
46
46
|
"class": "nol-icon-button",
|
|
@@ -54,6 +54,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.5", ngImpor
|
|
|
54
54
|
"[class.nol-icon-button-danger]": "danger() && !filled() && !overlay()",
|
|
55
55
|
"[class.nol-icon-button-busy]": "busy()",
|
|
56
56
|
"[attr.aria-busy]": "busy() ? resources.trueValue : null"
|
|
57
|
-
}, 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<span class=\"nol-icon-button-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ icon() }}</span>\n<ng-content />\n@if (busy()) {\n <nol-spinner class=\"nol-icon-button-spinner\" [isDelayed]=\"false\" />\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: inline-grid;\n place-items: center;\n box-sizing: border-box;\n min-width: var(--nol-icon-button-target);\n min-height: var(--nol-icon-button-target);\n padding: 0;\n border: 0;\n background: none;\n color: var(--nol-icon-color);\n outline: none;\n}\n\n:host(.nol-icon-button-danger) {\n color: var(--nol-error);\n}\n\n:host::before {\n content: \"\";\n grid-area: 1 / 1;\n width: var(--nol-icon-button);\n height: var(--nol-icon-button);\n border-radius: var(--nol-radius-small);\n}\n\n:host(:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"]))::before,\n:host([aria-pressed=\"true\"])::before {\n background-color: var(--nol-toolbar-hover);\n}\n\n@media (forced-colors: active) {\n :host(:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"]))::before {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -
|
|
57
|
+
}, 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<span class=\"nol-icon-button-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ icon() }}</span>\n<ng-content />\n@if (busy()) {\n <nol-spinner class=\"nol-icon-button-spinner\" [isDelayed]=\"false\" />\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: inline-grid;\n place-items: center;\n box-sizing: border-box;\n min-width: var(--nol-icon-button-target);\n min-height: var(--nol-icon-button-target);\n padding: 0;\n border: 0;\n background: none;\n color: var(--nol-icon-color);\n outline: none;\n}\n\n:host(.nol-icon-button-danger) {\n color: var(--nol-error);\n}\n\n:host::before {\n content: \"\";\n grid-area: 1 / 1;\n width: var(--nol-icon-button);\n height: var(--nol-icon-button);\n border-radius: var(--nol-radius-small);\n}\n\n:host(:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"]))::before,\n:host([aria-pressed=\"true\"])::before {\n background-color: var(--nol-toolbar-hover);\n}\n\n@media (forced-colors: active) {\n :host(:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"]))::before {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -3);\n }\n}\n\n:host([aria-pressed=\"true\"]) {\n @media (forced-colors: active) {\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 --nol-spinner-forced-arc: HighlightText;\n --nol-spinner-forced-ring: HighlightText;\n\n color: HighlightText;\n forced-color-adjust: none;\n\n &::before {\n background-color: Highlight;\n }\n }\n}\n\n@media (forced-colors: active) {\n :host([aria-pressed=\"true\"]:is(:disabled, [aria-disabled=\"true\"])) {\n --nol-text: GrayText;\n --nol-text-muted: GrayText;\n --nol-menu-text: GrayText;\n --nol-icon-color: GrayText;\n --nol-list-highlight: GrayText;\n --nol-list-active-text: GrayText;\n --nol-spinner-forced-arc: Highlight;\n --nol-spinner-forced-ring: GrayText;\n\n color: GrayText;\n }\n\n :host([aria-pressed=\"true\"]:is(:disabled, [aria-disabled=\"true\"]))::before {\n background-color: Canvas;\n }\n\n :host([aria-pressed=\"true\"]:is(:disabled, [aria-disabled=\"true\"]):not(:focus-visible, [data-nol-state=\"Focus\"]))::before {\n outline: var(--nol-border-width) solid GrayText;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n:host(:is(:focus-visible, [data-nol-state=\"Focus\"]))::before {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: calc(var(--nol-border-width) * -1);\n}\n\n@media (forced-colors: active) {\n :host(:is(:focus-visible, [data-nol-state=\"Focus\"]))::before {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n:host(:is(:disabled, [aria-disabled=\"true\"])) {\n opacity: 0.5;\n cursor: default;\n\n @media (forced-colors: active) {\n color: GrayText;\n }\n}\n\n.nol-icon-button-glyph {\n grid-area: 1 / 1;\n font-size: var(--nol-icon);\n}\n\n:host(.nol-icon-button-filled) {\n min-width: max(var(--nol-icon-button-target), var(--nol-button-height));\n min-height: max(var(--nol-icon-button-target), var(--nol-button-height));\n color: var(--nol-button-text);\n}\n\n:host(.nol-icon-button-filled)::before {\n box-sizing: border-box;\n width: var(--nol-button-height);\n height: var(--nol-button-height);\n border: var(--nol-border-width) solid transparent;\n border-radius: 50%;\n background-color: var(--nol-button);\n}\n\n:host(.nol-icon-button-filled:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"]))::before {\n background-color: var(--nol-button);\n}\n\n:host(.nol-icon-button-filled:is(:focus-visible, [data-nol-state=\"Focus\"]))::before {\n outline-offset: calc(var(--nol-border-width) * 2);\n}\n\n:host(.nol-icon-button-filled:is(:disabled, [aria-disabled=\"true\"])) {\n opacity: 1;\n color: var(--nol-text-muted);\n}\n\n:host(.nol-icon-button-filled:is(:disabled, [aria-disabled=\"true\"]))::before {\n background-color: var(--nol-widget-border);\n}\n\n@media (forced-colors: active) {\n :host(.nol-icon-button-filled) {\n color: ButtonText;\n }\n\n :host(.nol-icon-button-filled)::before {\n border-color: ButtonText;\n }\n\n :host(.nol-icon-button-filled:is(:disabled, [aria-disabled=\"true\"])) {\n color: GrayText;\n }\n\n :host(.nol-icon-button-filled:is(:disabled, [aria-disabled=\"true\"]))::before {\n border-color: GrayText;\n }\n}\n\n:host(.nol-icon-button-overlay) {\n color: var(--nol-overlay-text);\n}\n\n:host(.nol-icon-button-overlay)::before {\n box-sizing: border-box;\n border: var(--nol-border-width) solid transparent;\n border-radius: 50%;\n background-color: var(--nol-overlay);\n}\n\n:host(.nol-icon-button-overlay:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"]))::before,\n:host(.nol-icon-button-overlay[aria-pressed=\"true\"])::before {\n background: linear-gradient(var(--nol-toolbar-hover), var(--nol-toolbar-hover)), var(--nol-overlay);\n}\n\n:host(.nol-icon-button-overlay:is(:focus-visible, [data-nol-state=\"Focus\"]))::before {\n outline-offset: calc(var(--nol-border-width) * 2);\n}\n\n@media (forced-colors: none) {\n :host(.nol-icon-button-backdrop) {\n color: var(--nol-overlay-control-text);\n }\n\n :host(.nol-icon-button-backdrop:is(:disabled, [aria-disabled=\"true\"])) {\n opacity: 0.35;\n }\n\n :host(.nol-icon-button-backdrop)::before {\n background-color: var(--nol-overlay-control);\n }\n\n :host(.nol-icon-button-backdrop:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"]))::before,\n :host(.nol-icon-button-backdrop[aria-pressed=\"true\"])::before {\n background: linear-gradient(var(--nol-overlay-control-hover), var(--nol-overlay-control-hover)), var(--nol-overlay-control);\n }\n}\n\n:host(.nol-icon-button-tab-action) {\n min-width: max(var(--nol-pointer-target), var(--nol-tab-action-slot));\n min-height: max(var(--nol-pointer-target), var(--nol-tab-action-slot));\n}\n\n:host(.nol-icon-button-tab-action)::before {\n width: var(--nol-tab-close);\n height: var(--nol-tab-close);\n}\n\n:host(.nol-icon-button-tall) {\n min-width: max(var(--nol-icon-button-target), var(--nol-button-height));\n min-height: max(var(--nol-icon-button-target), var(--nol-button-height));\n}\n\n:host(.nol-icon-button-tall)::before {\n width: var(--nol-button-height);\n height: var(--nol-button-height);\n}\n\n@media (forced-colors: active) {\n :host(.nol-icon-button-overlay) {\n color: ButtonText;\n }\n\n :host(.nol-icon-button-overlay)::before {\n border-color: ButtonText;\n background-color: ButtonFace;\n }\n\n :host(.nol-icon-button-overlay:is(:disabled, [aria-disabled=\"true\"])) {\n color: GrayText;\n }\n\n :host(.nol-icon-button-overlay:is(:disabled, [aria-disabled=\"true\"]))::before {\n border-color: GrayText;\n }\n\n :host(.nol-icon-button-overlay[aria-pressed=\"true\"]:not(:disabled, [aria-disabled=\"true\"])) {\n color: HighlightText;\n }\n\n :host(.nol-icon-button-overlay[aria-pressed=\"true\"])::before {\n background-color: Highlight;\n }\n\n :host(.nol-icon-button-overlay[aria-pressed=\"true\"]:is(:disabled, [aria-disabled=\"true\"]))::before {\n background: Canvas;\n }\n}\n\n:host(.nol-icon-button-busy) {\n --nol-progress: currentColor;\n}\n\n:host(.nol-icon-button-busy) > :not(.nol-icon-button-spinner) {\n opacity: 0;\n}\n\n.nol-icon-button-spinner {\n grid-area: 1 / 1;\n}\n"] }]
|
|
58
58
|
}], ctorParameters: () => [], propDecorators: { icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: true }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: true }] }], pressed: [{ type: i0.Input, args: [{ isSignal: true, alias: "pressed", required: false }] }], filled: [{ type: i0.Input, args: [{ isSignal: true, alias: "filled", required: false }] }], overlay: [{ type: i0.Input, args: [{ isSignal: true, alias: "overlay", required: false }] }], backdrop: [{ type: i0.Input, args: [{ isSignal: true, alias: "backdrop", required: false }] }], buttonHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "buttonHeight", required: false }] }], danger: [{ type: i0.Input, args: [{ isSignal: true, alias: "danger", required: false }] }], tabAction: [{ type: i0.Input, args: [{ isSignal: true, alias: "tabAction", required: false }] }], busy: [{ type: i0.Input, args: [{ isSignal: true, alias: "busy", required: false }] }], busyPressable: [{ type: i0.Input, args: [{ isSignal: true, alias: "busyPressable", required: false }] }] } });
|
|
59
59
|
//# sourceMappingURL=icon-button.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-button.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/icon-button/icon-button.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/icon-button/icon-button.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAErE,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;;AAqBnE,MAAM,OAAO,mBAAmB;IACX,SAAS,GAAqB,SAAS,CAAC;IAE3C,IAAI,GAAG,KAAK,CAAC,QAAQ;6EAAU,CAAC;IAChC,KAAK,GAAG,KAAK,CAAC,QAAQ;8EAAU,CAAC;IACjC,OAAO,GAAG,KAAK;2FAAW,CAAC;IAC3B,MAAM,GAAG,KAAK,CAAU,KAAK;+EAAC,CAAC;IAC/B,OAAO,GAAG,KAAK,CAAU,KAAK;gFAAC,CAAC;IAChC,QAAQ,GAAG,KAAK,CAAU,KAAK;iFAAC,CAAC;IACjC,YAAY,GAAG,KAAK,CAAU,KAAK;qFAAC,CAAC;IACrC,MAAM,GAAG,KAAK,CAAU,KAAK;+EAAC,CAAC;IAC/B,SAAS,GAAG,KAAK,CAAU,KAAK;kFAAC,CAAC;IAClC,IAAI,GAAG,KAAK,CAAU,KAAK;6EAAC,CAAC;IAC7B,aAAa,GAAG,KAAK,CAAU,KAAK;sFAAC,CAAC;IAEtD;QACE,SAAS,CAAC,KAAK,CAAC,MAAM,CAA0B,UAAU,CAAC,CAAC,aAAa,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC,CAAC;IACzH,CAAC;uGAjBU,mBAAmB;2FAAnB,mBAAmB,2lECjChC,gYAaA,
|
|
1
|
+
{"version":3,"file":"icon-button.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/icon-button/icon-button.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/icon-button/icon-button.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAErE,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;;AAqBnE,MAAM,OAAO,mBAAmB;IACX,SAAS,GAAqB,SAAS,CAAC;IAE3C,IAAI,GAAG,KAAK,CAAC,QAAQ;6EAAU,CAAC;IAChC,KAAK,GAAG,KAAK,CAAC,QAAQ;8EAAU,CAAC;IACjC,OAAO,GAAG,KAAK;2FAAW,CAAC;IAC3B,MAAM,GAAG,KAAK,CAAU,KAAK;+EAAC,CAAC;IAC/B,OAAO,GAAG,KAAK,CAAU,KAAK;gFAAC,CAAC;IAChC,QAAQ,GAAG,KAAK,CAAU,KAAK;iFAAC,CAAC;IACjC,YAAY,GAAG,KAAK,CAAU,KAAK;qFAAC,CAAC;IACrC,MAAM,GAAG,KAAK,CAAU,KAAK;+EAAC,CAAC;IAC/B,SAAS,GAAG,KAAK,CAAU,KAAK;kFAAC,CAAC;IAClC,IAAI,GAAG,KAAK,CAAU,KAAK;6EAAC,CAAC;IAC7B,aAAa,GAAG,KAAK,CAAU,KAAK;sFAAC,CAAC;IAEtD;QACE,SAAS,CAAC,KAAK,CAAC,MAAM,CAA0B,UAAU,CAAC,CAAC,aAAa,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC,CAAC;IACzH,CAAC;uGAjBU,mBAAmB;2FAAnB,mBAAmB,2lECjChC,gYAaA,w+ODGY,gBAAgB;;2FAiBf,mBAAmB;kBAnB/B,SAAS;+BACE,yBAAyB,WAC1B,CAAC,gBAAgB,CAAC,QAGrB;wBACJ,OAAO,EAAE,iBAAiB;wBAC1B,mBAAmB,EAAE,SAAS;wBAC9B,qBAAqB,EAAE,mBAAmB;wBAC1C,gCAAgC,EAAE,UAAU;wBAC5C,iCAAiC,EAAE,wBAAwB;wBAC3D,kCAAkC,EAAE,sCAAsC;wBAC1E,8BAA8B,EAAE,4DAA4D;wBAC5F,oCAAoC,EAAE,wCAAwC;wBAC9E,gCAAgC,EAAE,qCAAqC;wBACvE,8BAA8B,EAAE,QAAQ;wBACxC,kBAAkB,EAAE,qCAAqC;qBAC1D"}
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
import { Component } from "@angular/core";
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export class InlineCodeComponent {
|
|
11
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
12
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.
|
|
11
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: InlineCodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
12
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: InlineCodeComponent, isStandalone: true, selector: "code[nol-inline-code]", 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-content />\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 padding-inline: var(--nol-space-1);\n border-radius: var(--nol-radius-small);\n background-color: var(--nol-inline-code);\n color: inherit;\n font-family: var(--nol-font-mono);\n font-size: var(--nol-text-code);\n line-height: 0;\n overflow-wrap: anywhere;\n box-decoration-break: slice;\n}\n"] });
|
|
13
13
|
}
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: InlineCodeComponent, decorators: [{
|
|
15
15
|
type: Component,
|
|
16
16
|
args: [{ selector: "code[nol-inline-code]", 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-content />\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 padding-inline: var(--nol-space-1);\n border-radius: var(--nol-radius-small);\n background-color: var(--nol-inline-code);\n color: inherit;\n font-family: var(--nol-font-mono);\n font-size: var(--nol-text-code);\n line-height: 0;\n overflow-wrap: anywhere;\n box-decoration-break: slice;\n}\n"] }]
|
|
17
17
|
}] });
|
|
@@ -83,10 +83,10 @@ export class LinkReferenceCardComponent {
|
|
|
83
83
|
if (event.button === Resources.middleButton)
|
|
84
84
|
this.activate(event, href);
|
|
85
85
|
}
|
|
86
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
87
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.5", type: LinkReferenceCardComponent, isStandalone: true, selector: "nol-link-reference-card", inputs: { reference: { classPropertyName: "reference", publicName: "reference", isSignal: true, isRequired: true, transformFunction: null }, state: { classPropertyName: "state", publicName: "state", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { linkActivate: "linkActivate", linkMenu: "linkMenu" }, host: { properties: { "style.--nol-link-reference-state": "stateColor()", "style.--nol-link-reference-state-background": "stateBackground()" }, classAttribute: "nol-link-reference-card" }, 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 #stateContent><nol-link-reference-image class=\"nol-link-reference-card-state-icon\" [image]=\"reference().icon\" />{{ state().label }}</ng-template>\n@let itemHref = reference().itemHref;\n<div class=\"nol-link-reference-card-top\">\n @if (itemHref !== null) {\n <a class=\"nol-link-reference-card-state nol-link-reference-card-link\" [href]=\"itemHref\" draggable=\"false\" (click)=\"activate($event, itemHref)\" (auxclick)=\"activateAuxiliary($event, itemHref)\" (keydown)=\"activateKey($event, itemHref)\" (contextmenu)=\"openMenu($event, itemHref)\"><ng-container\n [ngTemplateOutlet]=\"stateContent\" /></a>\n }\n @else {\n <span class=\"nol-link-reference-card-state\"><ng-container [ngTemplateOutlet]=\"stateContent\" /></span>\n }\n @if (place(); as place) {\n @let locationHref = reference().locationHref;\n <span class=\"nol-link-reference-card-location\">@if (locationHref !== null) {<a class=\"nol-link-reference-card-link nol-link-reference-card-text-link\" [href]=\"locationHref\"\n draggable=\"false\" (click)=\"activate($event, locationHref)\" (auxclick)=\"activateAuxiliary($event, locationHref)\" (keydown)=\"activateKey($event, locationHref)\" (contextmenu)=\"openMenu($event, locationHref)\">{{ place.name }}</a>}\n @else {{{ place.name }}}@if (place.number !== null) {{{ partResources.linkReferenceLocationSeparator }}@if (itemHref !== null) {<a\n class=\"nol-link-reference-card-link nol-link-reference-card-text-link\" [href]=\"itemHref\" draggable=\"false\" (click)=\"activate($event, itemHref)\" (auxclick)=\"activateAuxiliary($event, itemHref)\" (keydown)=\"activateKey($event, itemHref)\" (contextmenu)=\"openMenu($event, itemHref)\">{{ place.number }}</a>}\n @else {{{ place.number }}}}</span>\n }\n @if (age(); as age) {\n <span class=\"nol-link-reference-card-age\" [nolTooltip]=\"age.full\">{{ age.short }}</span>\n }\n</div>\n@if (reference().title; as title) {\n <div class=\"nol-link-reference-card-title\">@if (itemHref !== null) {<a class=\"nol-link-reference-card-link nol-link-reference-card-text-link\" [href]=\"itemHref\"\n draggable=\"false\" (click)=\"activate($event, itemHref)\" (auxclick)=\"activateAuxiliary($event, itemHref)\" (keydown)=\"activateKey($event, itemHref)\" (contextmenu)=\"openMenu($event, itemHref)\">{{ title }}</a>}\n @else {{{ title }}}</div>\n}\n@if (reference().details.length > 0) {\n <dl class=\"nol-link-reference-card-details\">\n @for (detail of reference().details; track $index) {\n <dt class=\"nol-link-reference-card-detail-label\">{{ detail.label }}</dt>\n <dd class=\"nol-link-reference-card-detail-value\">{{ detail.value }}</dd>\n }\n </dl>\n}\n@if (hasFoot()) {\n <div class=\"nol-link-reference-card-foot\">\n @let workItemState = reference().workItemState;\n @if (workItemState !== null) {\n <nol-link-reference-work-item-state [state]=\"workItemState\" />\n <span class=\"nol-link-reference-card-spacer\"></span>\n }\n @if (reference().footnote; as footnote) {\n <span class=\"nol-link-reference-card-footnote\">{{ footnote }}</span>\n }\n @else if (reference().author; as author) {\n @let authorHref = reference().authorHref;\n @if (authorHref !== null) {\n <a class=\"nol-link-reference-card-link nol-link-reference-card-author-link\" [href]=\"authorHref\" draggable=\"false\" (click)=\"activate($event, authorHref)\" (auxclick)=\"activateAuxiliary($event, authorHref)\" (keydown)=\"activateKey($event, authorHref)\" (contextmenu)=\"openMenu($event, authorHref)\"><nol-avatar\n [name]=\"author.name\" [image]=\"author.image\" [colorKey]=\"author.name\" [size]=\"avatarSizes.Byline\" [decorative]=\"true\" /><span\n class=\"nol-link-reference-card-author nol-link-reference-card-text-link\">{{ author.name }}</span></a>\n }\n @else {\n <nol-avatar [name]=\"author.name\" [image]=\"author.image\" [colorKey]=\"author.name\" [size]=\"avatarSizes.Byline\" [decorative]=\"true\" />\n <span class=\"nol-link-reference-card-author\">{{ author.name }}</span>\n }\n }\n @if (workItemState === null) {\n <span class=\"nol-link-reference-card-spacer\"></span>\n }\n @for (status of reference().statuses; track $index) {\n <span class=\"nol-link-reference-card-pill nol-link-reference-card-status\">@if (status.icon; as icon) {<nol-link-reference-image class=\"nol-link-reference-card-status-icon\"\n [image]=\"icon\" [style.--nol-link-reference-status-tone]=\"toneOf(status)\" />}{{ status.text }}</span>\n }\n @if (reference().diff; as diff) {\n <ng-template #linesContent><span class=\"nol-link-reference-card-added\">{{ resources.formatLinkReferenceAdded(diff.added) }}</span><span\n class=\"nol-link-reference-card-removed\">{{ resources.formatLinkReferenceRemoved(diff.removed) }}</span></ng-template>\n @let diffHref = reference().diffHref;\n @if (diffHref !== null) {\n <a class=\"nol-link-reference-card-pill nol-link-reference-card-link\" [href]=\"diffHref\" draggable=\"false\" (click)=\"activate($event, diffHref)\" (auxclick)=\"activateAuxiliary($event, diffHref)\" (keydown)=\"activateKey($event, diffHref)\" (contextmenu)=\"openMenu($event, diffHref)\"><ng-container\n [ngTemplateOutlet]=\"linesContent\" /></a>\n <a class=\"nol-link-reference-card-pill nol-link-reference-card-link\" [href]=\"diffHref\" draggable=\"false\" (click)=\"activate($event, diffHref)\" (auxclick)=\"activateAuxiliary($event, diffHref)\" (keydown)=\"activateKey($event, diffHref)\" (contextmenu)=\"openMenu($event, diffHref)\">{{\n resources.formatLinkReferenceFiles(diff.files) }}</a>\n }\n @else {\n <span class=\"nol-link-reference-card-pill\"><ng-container [ngTemplateOutlet]=\"linesContent\" /></span>\n <span class=\"nol-link-reference-card-pill\">{{ resources.formatLinkReferenceFiles(diff.files) }}</span>\n }\n }\n @let comments = reference().comments;\n @if (comments !== null) {\n <ng-template #commentsContent><span class=\"nol-link-reference-card-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ resources.linkReferenceCommentsGlyph }}</span>{{\n comments }}</ng-template>\n @let commentsHref = reference().commentsHref;\n @if (commentsHref !== null) {\n <a class=\"nol-link-reference-card-pill nol-link-reference-card-link\" [href]=\"commentsHref\" draggable=\"false\" (click)=\"activate($event, commentsHref)\" (auxclick)=\"activateAuxiliary($event, commentsHref)\" (keydown)=\"activateKey($event, commentsHref)\" (contextmenu)=\"openMenu($event, commentsHref)\"><ng-container\n [ngTemplateOutlet]=\"commentsContent\" /></a>\n }\n @else {\n <span class=\"nol-link-reference-card-pill\"><ng-container [ngTemplateOutlet]=\"commentsContent\" /></span>\n }\n }\n @let duration = reference().duration;\n @if (duration !== null) {\n <span class=\"nol-link-reference-card-pill\">{{ resources.formatLinkReferenceDuration(duration) }}</span>\n }\n @if (reference().action; as action) {\n <a class=\"nol-link-reference-card-pill nol-link-reference-card-action nol-link-reference-card-link\" [href]=\"action.href\" draggable=\"false\" (click)=\"activate($event, action.href)\" (auxclick)=\"activateAuxiliary($event, action.href)\" (keydown)=\"activateKey($event, action.href)\" (contextmenu)=\"openMenu($event, action.href)\"><span class=\"nol-link-reference-card-glyph material-symbols-rounded\"\n aria-hidden=\"true\">{{ action.glyph }}</span>{{ action.label }}</a>\n }\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 display: grid;\n gap: var(--nol-space-3);\n box-sizing: border-box;\n width: var(--nol-reference-card-width);\n max-width: calc(100cqw - var(--nol-space-4));\n padding: var(--nol-reference-card-padding);\n border: var(--nol-border-width) solid var(--nol-hover-widget-border);\n border-radius: var(--nol-reference-card-radius);\n background-color: var(--nol-raised);\n box-shadow: var(--nol-shadow-xlarge);\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-message);\n line-height: max(var(--nol-line-panel), calc(var(--nol-text-message) + 0.3125rem));\n}\n\n.nol-link-reference-card-top,\n.nol-link-reference-card-foot {\n display: flex;\n align-items: center;\n min-width: 0;\n color: var(--nol-text-muted);\n}\n\n.nol-link-reference-card-top {\n gap: var(--nol-reference-card-top-gap);\n}\n\n.nol-link-reference-card-foot {\n gap: var(--nol-space-2);\n}\n\n.nol-link-reference-card-state,\n.nol-link-reference-card-pill {\n display: inline-flex;\n flex: none;\n align-items: center;\n gap: var(--nol-reference-item-gap);\n}\n\n.nol-link-reference-card-state {\n height: var(--nol-reference-badge-height);\n padding-inline: var(--nol-space-3);\n border-radius: 999px;\n background-color: var(--nol-link-reference-state-background);\n color: var(--nol-link-reference-state);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.nol-link-reference-card-state-icon {\n width: var(--nol-icon);\n height: var(--nol-icon);\n}\n\n.nol-link-reference-card-location {\n min-width: 0;\n overflow-wrap: anywhere;\n}\n\n.nol-link-reference-card-author {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.nol-link-reference-card-age {\n flex: none;\n margin-inline-start: auto;\n white-space: nowrap;\n font-variant-numeric: tabular-nums;\n}\n\n.nol-link-reference-card-title {\n color: var(--nol-text-strong);\n font-size: var(--nol-text-message);\n font-weight: var(--nol-weight-emphasis);\n line-height: var(--nol-line-reference-title);\n overflow-wrap: anywhere;\n}\n\n.nol-link-reference-card-details {\n display: grid;\n grid-template-columns: auto 1fr;\n gap: var(--nol-space-1) var(--nol-space-3);\n margin: 0;\n color: var(--nol-text-muted);\n font-size: max(12px, calc(var(--nol-text-message) - 1px));\n}\n\n.nol-link-reference-card-detail-value {\n min-width: 0;\n margin: 0;\n color: var(--nol-text);\n overflow-wrap: anywhere;\n}\n\n.nol-link-reference-card-footnote {\n min-width: 0;\n overflow-wrap: anywhere;\n}\n\n.nol-link-reference-card-status-icon {\n width: var(--nol-icon);\n height: var(--nol-icon);\n color: var(--nol-link-reference-status-tone, currentColor);\n}\n\n.nol-link-reference-card-spacer {\n flex: 1;\n}\n\n.nol-link-reference-card-pill {\n height: var(--nol-reference-pill-height);\n padding-inline: var(--nol-reference-pill-padding);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-hover);\n font-variant-numeric: tabular-nums;\n}\n\n:where(.nol-link-reference-card-link) {\n color: inherit;\n text-decoration: none;\n}\n\n.nol-link-reference-card-link:is(:hover, [data-nol-state=\"Hover\"]) .nol-link-reference-card-text-link,\n.nol-link-reference-card-text-link:is(:hover, [data-nol-state=\"Hover\"]) {\n text-decoration: underline;\n}\n\n.nol-link-reference-card-author-link {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n min-width: 0;\n}\n\n.nol-link-reference-card-added {\n color: var(--nol-added);\n}\n\n.nol-link-reference-card-removed {\n color: var(--nol-removed);\n}\n\n.nol-link-reference-card-glyph {\n font-size: var(--nol-icon);\n}\n\n@media (forced-colors: active) {\n :host,\n .nol-link-reference-card-state,\n .nol-link-reference-card-pill {\n border: var(--nol-border-width) solid CanvasText;\n }\n\n .nol-link-reference-card-state,\n .nol-link-reference-card-added,\n .nol-link-reference-card-removed,\n .nol-link-reference-card-status-icon {\n color: CanvasText;\n }\n\n .nol-link-reference-card-state.nol-link-reference-card-link,\n .nol-link-reference-card-link .nol-link-reference-card-added,\n .nol-link-reference-card-link .nol-link-reference-card-removed {\n color: LinkText;\n }\n}\n"], dependencies: [{ kind: "component", type: AvatarComponent, selector: "nol-avatar", inputs: ["name", "image", "initials", "color", "colorKey", "size", "label", "decorative", "unavailable", "filled", "filledColor"] }, { kind: "component", type: LinkReferenceImageComponent, selector: "nol-link-reference-image", inputs: ["image"] }, { kind: "component", type: LinkReferenceWorkItemStateComponent, selector: "nol-link-reference-work-item-state", inputs: ["state"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
|
|
86
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: LinkReferenceCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
87
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: LinkReferenceCardComponent, isStandalone: true, selector: "nol-link-reference-card", inputs: { reference: { classPropertyName: "reference", publicName: "reference", isSignal: true, isRequired: true, transformFunction: null }, state: { classPropertyName: "state", publicName: "state", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { linkActivate: "linkActivate", linkMenu: "linkMenu" }, host: { properties: { "style.--nol-link-reference-state": "stateColor()", "style.--nol-link-reference-state-background": "stateBackground()" }, classAttribute: "nol-link-reference-card" }, 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 #stateContent><nol-link-reference-image class=\"nol-link-reference-card-state-icon\" [image]=\"reference().icon\" />{{ state().label }}</ng-template>\n@let itemHref = reference().itemHref;\n<div class=\"nol-link-reference-card-top\">\n @if (itemHref !== null) {\n <a class=\"nol-link-reference-card-state nol-link-reference-card-link\" [href]=\"itemHref\" draggable=\"false\" (click)=\"activate($event, itemHref)\" (auxclick)=\"activateAuxiliary($event, itemHref)\" (keydown)=\"activateKey($event, itemHref)\" (contextmenu)=\"openMenu($event, itemHref)\"><ng-container\n [ngTemplateOutlet]=\"stateContent\" /></a>\n }\n @else {\n <span class=\"nol-link-reference-card-state\"><ng-container [ngTemplateOutlet]=\"stateContent\" /></span>\n }\n @if (place(); as place) {\n @let locationHref = reference().locationHref;\n <span class=\"nol-link-reference-card-location\">@if (locationHref !== null) {<a class=\"nol-link-reference-card-link nol-link-reference-card-text-link\" [href]=\"locationHref\"\n draggable=\"false\" (click)=\"activate($event, locationHref)\" (auxclick)=\"activateAuxiliary($event, locationHref)\" (keydown)=\"activateKey($event, locationHref)\" (contextmenu)=\"openMenu($event, locationHref)\">{{ place.name }}</a>}\n @else {{{ place.name }}}@if (place.number !== null) {{{ partResources.linkReferenceLocationSeparator }}@if (itemHref !== null) {<a\n class=\"nol-link-reference-card-link nol-link-reference-card-text-link\" [href]=\"itemHref\" draggable=\"false\" (click)=\"activate($event, itemHref)\" (auxclick)=\"activateAuxiliary($event, itemHref)\" (keydown)=\"activateKey($event, itemHref)\" (contextmenu)=\"openMenu($event, itemHref)\">{{ place.number }}</a>}\n @else {{{ place.number }}}}</span>\n }\n @if (age(); as age) {\n <span class=\"nol-link-reference-card-age\" [nolTooltip]=\"age.full\">{{ age.short }}</span>\n }\n</div>\n@if (reference().title; as title) {\n <div class=\"nol-link-reference-card-title\">@if (itemHref !== null) {<a class=\"nol-link-reference-card-link nol-link-reference-card-text-link\" [href]=\"itemHref\"\n draggable=\"false\" (click)=\"activate($event, itemHref)\" (auxclick)=\"activateAuxiliary($event, itemHref)\" (keydown)=\"activateKey($event, itemHref)\" (contextmenu)=\"openMenu($event, itemHref)\">{{ title }}</a>}\n @else {{{ title }}}</div>\n}\n@if (reference().details.length > 0) {\n <dl class=\"nol-link-reference-card-details\">\n @for (detail of reference().details; track $index) {\n <dt class=\"nol-link-reference-card-detail-label\">{{ detail.label }}</dt>\n <dd class=\"nol-link-reference-card-detail-value\">{{ detail.value }}</dd>\n }\n </dl>\n}\n@if (hasFoot()) {\n <div class=\"nol-link-reference-card-foot\">\n @let workItemState = reference().workItemState;\n @if (workItemState !== null) {\n <nol-link-reference-work-item-state [state]=\"workItemState\" />\n <span class=\"nol-link-reference-card-spacer\"></span>\n }\n @if (reference().footnote; as footnote) {\n <span class=\"nol-link-reference-card-footnote\">{{ footnote }}</span>\n }\n @else if (reference().author; as author) {\n @let authorHref = reference().authorHref;\n @if (authorHref !== null) {\n <a class=\"nol-link-reference-card-link nol-link-reference-card-author-link\" [href]=\"authorHref\" draggable=\"false\" (click)=\"activate($event, authorHref)\" (auxclick)=\"activateAuxiliary($event, authorHref)\" (keydown)=\"activateKey($event, authorHref)\" (contextmenu)=\"openMenu($event, authorHref)\"><nol-avatar\n [name]=\"author.name\" [image]=\"author.image\" [colorKey]=\"author.name\" [size]=\"avatarSizes.Byline\" [decorative]=\"true\" /><span\n class=\"nol-link-reference-card-author nol-link-reference-card-text-link\">{{ author.name }}</span></a>\n }\n @else {\n <nol-avatar [name]=\"author.name\" [image]=\"author.image\" [colorKey]=\"author.name\" [size]=\"avatarSizes.Byline\" [decorative]=\"true\" />\n <span class=\"nol-link-reference-card-author\">{{ author.name }}</span>\n }\n }\n @if (workItemState === null) {\n <span class=\"nol-link-reference-card-spacer\"></span>\n }\n @for (status of reference().statuses; track $index) {\n <span class=\"nol-link-reference-card-pill nol-link-reference-card-status\">@if (status.icon; as icon) {<nol-link-reference-image class=\"nol-link-reference-card-status-icon\"\n [image]=\"icon\" [style.--nol-link-reference-status-tone]=\"toneOf(status)\" />}{{ status.text }}</span>\n }\n @if (reference().diff; as diff) {\n <ng-template #linesContent><span class=\"nol-link-reference-card-added\">{{ resources.formatLinkReferenceAdded(diff.added) }}</span><span\n class=\"nol-link-reference-card-removed\">{{ resources.formatLinkReferenceRemoved(diff.removed) }}</span></ng-template>\n @let diffHref = reference().diffHref;\n @if (diffHref !== null) {\n <a class=\"nol-link-reference-card-pill nol-link-reference-card-link\" [href]=\"diffHref\" draggable=\"false\" (click)=\"activate($event, diffHref)\" (auxclick)=\"activateAuxiliary($event, diffHref)\" (keydown)=\"activateKey($event, diffHref)\" (contextmenu)=\"openMenu($event, diffHref)\"><ng-container\n [ngTemplateOutlet]=\"linesContent\" /></a>\n <a class=\"nol-link-reference-card-pill nol-link-reference-card-link\" [href]=\"diffHref\" draggable=\"false\" (click)=\"activate($event, diffHref)\" (auxclick)=\"activateAuxiliary($event, diffHref)\" (keydown)=\"activateKey($event, diffHref)\" (contextmenu)=\"openMenu($event, diffHref)\">{{\n resources.formatLinkReferenceFiles(diff.files) }}</a>\n }\n @else {\n <span class=\"nol-link-reference-card-pill\"><ng-container [ngTemplateOutlet]=\"linesContent\" /></span>\n <span class=\"nol-link-reference-card-pill\">{{ resources.formatLinkReferenceFiles(diff.files) }}</span>\n }\n }\n @let comments = reference().comments;\n @if (comments !== null) {\n <ng-template #commentsContent><span class=\"nol-link-reference-card-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ resources.linkReferenceCommentsGlyph }}</span>{{\n comments }}</ng-template>\n @let commentsHref = reference().commentsHref;\n @if (commentsHref !== null) {\n <a class=\"nol-link-reference-card-pill nol-link-reference-card-link\" [href]=\"commentsHref\" draggable=\"false\" (click)=\"activate($event, commentsHref)\" (auxclick)=\"activateAuxiliary($event, commentsHref)\" (keydown)=\"activateKey($event, commentsHref)\" (contextmenu)=\"openMenu($event, commentsHref)\"><ng-container\n [ngTemplateOutlet]=\"commentsContent\" /></a>\n }\n @else {\n <span class=\"nol-link-reference-card-pill\"><ng-container [ngTemplateOutlet]=\"commentsContent\" /></span>\n }\n }\n @let duration = reference().duration;\n @if (duration !== null) {\n <span class=\"nol-link-reference-card-pill\">{{ resources.formatLinkReferenceDuration(duration) }}</span>\n }\n @if (reference().action; as action) {\n <a class=\"nol-link-reference-card-pill nol-link-reference-card-action nol-link-reference-card-link\" [href]=\"action.href\" draggable=\"false\" (click)=\"activate($event, action.href)\" (auxclick)=\"activateAuxiliary($event, action.href)\" (keydown)=\"activateKey($event, action.href)\" (contextmenu)=\"openMenu($event, action.href)\"><span class=\"nol-link-reference-card-glyph material-symbols-rounded\"\n aria-hidden=\"true\">{{ action.glyph }}</span>{{ action.label }}</a>\n }\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 display: grid;\n gap: var(--nol-space-3);\n box-sizing: border-box;\n width: var(--nol-reference-card-width);\n max-width: calc(100cqw - var(--nol-space-4));\n padding: var(--nol-reference-card-padding);\n border: var(--nol-border-width) solid var(--nol-hover-widget-border);\n border-radius: var(--nol-reference-card-radius);\n background-color: var(--nol-raised);\n box-shadow: var(--nol-shadow-xlarge);\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-message);\n line-height: max(var(--nol-line-panel), calc(var(--nol-text-message) + 0.3125rem));\n}\n\n.nol-link-reference-card-top,\n.nol-link-reference-card-foot {\n display: flex;\n align-items: center;\n min-width: 0;\n color: var(--nol-text-muted);\n}\n\n.nol-link-reference-card-top {\n gap: var(--nol-reference-card-top-gap);\n}\n\n.nol-link-reference-card-foot {\n gap: var(--nol-space-2);\n}\n\n.nol-link-reference-card-state,\n.nol-link-reference-card-pill {\n display: inline-flex;\n flex: none;\n align-items: center;\n gap: var(--nol-reference-item-gap);\n}\n\n.nol-link-reference-card-state {\n height: var(--nol-reference-badge-height);\n padding-inline: var(--nol-space-3);\n border-radius: 999px;\n background-color: var(--nol-link-reference-state-background);\n color: var(--nol-link-reference-state);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.nol-link-reference-card-state-icon {\n width: var(--nol-icon);\n height: var(--nol-icon);\n}\n\n.nol-link-reference-card-location {\n min-width: 0;\n overflow-wrap: anywhere;\n}\n\n.nol-link-reference-card-author {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.nol-link-reference-card-age {\n flex: none;\n margin-inline-start: auto;\n white-space: nowrap;\n font-variant-numeric: tabular-nums;\n}\n\n.nol-link-reference-card-title {\n color: var(--nol-text-strong);\n font-size: var(--nol-text-message);\n font-weight: var(--nol-weight-emphasis);\n line-height: var(--nol-line-reference-title);\n overflow-wrap: anywhere;\n}\n\n.nol-link-reference-card-details {\n display: grid;\n grid-template-columns: auto 1fr;\n gap: var(--nol-space-1) var(--nol-space-3);\n margin: 0;\n color: var(--nol-text-muted);\n font-size: max(12px, calc(var(--nol-text-message) - 1px));\n}\n\n.nol-link-reference-card-detail-value {\n min-width: 0;\n margin: 0;\n color: var(--nol-text);\n overflow-wrap: anywhere;\n}\n\n.nol-link-reference-card-footnote {\n min-width: 0;\n overflow-wrap: anywhere;\n}\n\n.nol-link-reference-card-status-icon {\n width: var(--nol-icon);\n height: var(--nol-icon);\n color: var(--nol-link-reference-status-tone, currentColor);\n}\n\n.nol-link-reference-card-spacer {\n flex: 1;\n}\n\n.nol-link-reference-card-pill {\n height: var(--nol-reference-pill-height);\n padding-inline: var(--nol-reference-pill-padding);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-hover);\n font-variant-numeric: tabular-nums;\n}\n\n:where(.nol-link-reference-card-link) {\n color: inherit;\n text-decoration: none;\n}\n\n.nol-link-reference-card-link:is(:hover, [data-nol-state=\"Hover\"]) .nol-link-reference-card-text-link,\n.nol-link-reference-card-text-link:is(:hover, [data-nol-state=\"Hover\"]) {\n text-decoration: underline;\n}\n\n.nol-link-reference-card-author-link {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n min-width: 0;\n}\n\n.nol-link-reference-card-added {\n color: var(--nol-added);\n}\n\n.nol-link-reference-card-removed {\n color: var(--nol-removed);\n}\n\n.nol-link-reference-card-glyph {\n font-size: var(--nol-icon);\n}\n\n@media (forced-colors: active) {\n :host,\n .nol-link-reference-card-state,\n .nol-link-reference-card-pill {\n border: var(--nol-border-width) solid CanvasText;\n }\n\n .nol-link-reference-card-state,\n .nol-link-reference-card-added,\n .nol-link-reference-card-removed,\n .nol-link-reference-card-status-icon {\n color: CanvasText;\n }\n\n .nol-link-reference-card-state.nol-link-reference-card-link,\n .nol-link-reference-card-link .nol-link-reference-card-added,\n .nol-link-reference-card-link .nol-link-reference-card-removed {\n color: LinkText;\n }\n}\n"], dependencies: [{ kind: "component", type: AvatarComponent, selector: "nol-avatar", inputs: ["name", "image", "initials", "color", "colorKey", "size", "label", "decorative", "unavailable", "filled", "filledColor"] }, { kind: "component", type: LinkReferenceImageComponent, selector: "nol-link-reference-image", inputs: ["image"] }, { kind: "component", type: LinkReferenceWorkItemStateComponent, selector: "nol-link-reference-work-item-state", inputs: ["state"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
|
|
88
88
|
}
|
|
89
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
89
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: LinkReferenceCardComponent, decorators: [{
|
|
90
90
|
type: Component,
|
|
91
91
|
args: [{ selector: "nol-link-reference-card", imports: [AvatarComponent, LinkReferenceImageComponent, LinkReferenceWorkItemStateComponent, NgTemplateOutlet, TooltipDirective], host: {
|
|
92
92
|
"class": "nol-link-reference-card",
|
|
@@ -202,10 +202,10 @@ export class LinkReferenceChipComponent {
|
|
|
202
202
|
static pointOf(event) {
|
|
203
203
|
return new DOMPoint(event.clientX, event.clientY);
|
|
204
204
|
}
|
|
205
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
206
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.
|
|
205
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: LinkReferenceChipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
206
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: LinkReferenceChipComponent, isStandalone: true, selector: "a[nol-link-reference-chip]", inputs: { reference: { classPropertyName: "reference", publicName: "reference", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { linkActivate: "linkActivate", linkMenu: "linkMenu" }, host: { listeners: { "pointerenter": "scheduleShow()", "pointerleave": "leaveChip($event)", "pointerdown": "hide()", "focusout": "leaveFocus($event)", "keydown": "enterCard($event)" }, properties: { "style.--nol-link-reference-state": "stateColor()" }, classAttribute: "nol-link-reference-chip" }, 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 (reference().mark; as mark) {\n <nol-link-reference-image class=\"nol-link-reference-chip-mark\" [image]=\"mark\" />\n}\n@else if (reference().isMarkPending) {\n <span class=\"nol-link-reference-chip-slot\" aria-hidden=\"true\"></span>\n}\n<nol-link-reference-image class=\"nol-link-reference-chip-icon\" [image]=\"reference().icon\" />\n<span class=\"nol-link-reference-chip-text\">{{ text() }}</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: inline-flex;\n align-items: baseline;\n gap: var(--nol-space-1);\n max-width: min(100%, var(--nol-reference-chip-max-width));\n text-decoration-color: color-mix(in srgb, var(--nol-link) 45%, transparent);\n text-underline-offset: 0.2em;\n}\n\n.nol-link-reference-chip-mark,\n.nol-link-reference-chip-slot,\n.nol-link-reference-chip-icon {\n align-self: center;\n}\n\n.nol-link-reference-chip-slot {\n flex: none;\n box-sizing: border-box;\n width: var(--nol-reference-mark);\n height: var(--nol-reference-mark);\n border: var(--nol-border-width) dashed color-mix(in srgb, currentColor 70%, transparent);\n border-radius: var(--nol-reference-mark-slot-radius);\n}\n\n.nol-link-reference-chip-mark {\n width: var(--nol-reference-mark);\n height: var(--nol-reference-mark);\n color: var(--nol-text-strong);\n}\n\n.nol-link-reference-chip-icon {\n width: var(--nol-icon);\n height: var(--nol-icon);\n color: var(--nol-link-reference-state, var(--nol-text-muted));\n}\n\n.nol-link-reference-chip-text {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n@media (forced-colors: active) {\n :host {\n text-decoration-color: LinkText;\n }\n\n .nol-link-reference-chip-mark,\n .nol-link-reference-chip-icon {\n color: LinkText;\n }\n\n .nol-link-reference-chip-slot {\n border-color: LinkText;\n }\n}\n"], dependencies: [{ kind: "component", type: LinkReferenceImageComponent, selector: "nol-link-reference-image", inputs: ["image"] }] });
|
|
207
207
|
}
|
|
208
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
208
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: LinkReferenceChipComponent, decorators: [{
|
|
209
209
|
type: Component,
|
|
210
210
|
args: [{ selector: "a[nol-link-reference-chip]", imports: [LinkReferenceImageComponent], host: {
|
|
211
211
|
"class": "nol-link-reference-chip",
|
|
@@ -13,10 +13,10 @@ export class LinkReferenceImageComponent {
|
|
|
13
13
|
...(ngDevMode ? [{ debugName: "mask" }] : /* istanbul ignore next */ []));
|
|
14
14
|
image = input.required(/* @ts-ignore */
|
|
15
15
|
...(ngDevMode ? [{ debugName: "image" }] : /* istanbul ignore next */ []));
|
|
16
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
17
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.
|
|
16
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: LinkReferenceImageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: LinkReferenceImageComponent, isStandalone: true, selector: "nol-link-reference-image", inputs: { image: { classPropertyName: "image", publicName: "image", isSignal: true, isRequired: true, transformFunction: null } }, host: { attributes: { "aria-hidden": "true" }, properties: { "class.nol-link-reference-image-monochrome": "image().isMonochrome", "style.--nol-link-reference-image": "mask()" }, classAttribute: "nol-link-reference-image" }, ngImport: i0, template: `@if (!image().isMonochrome) {<img class="nol-link-reference-image-picture" [src]="image().url" alt="">}`, isInline: true, 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: inline-block;\n flex: none;\n}\n\n:host(.nol-link-reference-image-monochrome) {\n background-color: currentColor;\n mask: var(--nol-link-reference-image) center / contain no-repeat;\n forced-color-adjust: none;\n}\n\n.nol-link-reference-image-picture {\n display: block;\n width: 100%;\n height: 100%;\n object-fit: contain;\n}\n"] });
|
|
18
18
|
}
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: LinkReferenceImageComponent, decorators: [{
|
|
20
20
|
type: Component,
|
|
21
21
|
args: [{ selector: "nol-link-reference-image", template: `@if (!image().isMonochrome) {<img class="nol-link-reference-image-picture" [src]="image().url" alt="">}`, host: {
|
|
22
22
|
"class": "nol-link-reference-image",
|
|
@@ -13,10 +13,10 @@ export class LinkReferenceWorkItemStateComponent {
|
|
|
13
13
|
...(ngDevMode ? [{ debugName: "tone" }] : /* istanbul ignore next */ []));
|
|
14
14
|
state = input.required(/* @ts-ignore */
|
|
15
15
|
...(ngDevMode ? [{ debugName: "state" }] : /* istanbul ignore next */ []));
|
|
16
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
17
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.2.
|
|
16
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: LinkReferenceWorkItemStateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.2.6", type: LinkReferenceWorkItemStateComponent, isStandalone: true, selector: "nol-link-reference-work-item-state", inputs: { state: { classPropertyName: "state", publicName: "state", isSignal: true, isRequired: true, transformFunction: null } }, host: { properties: { "style.--nol-link-reference-dot": "tone()" }, classAttribute: "nol-link-reference-work-item-state" }, ngImport: i0, template: `<span class="nol-link-reference-work-item-dot" aria-hidden="true"></span>{{ state().label }}`, isInline: true, 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: inline-flex;\n flex: none;\n align-items: center;\n gap: var(--nol-reference-dot-gap);\n color: var(--nol-text-muted);\n}\n\n.nol-link-reference-work-item-dot {\n flex: none;\n width: var(--nol-reference-dot);\n height: var(--nol-reference-dot);\n border-radius: 50%;\n background-color: var(--nol-link-reference-dot);\n}\n\n@media (forced-colors: active) {\n .nol-link-reference-work-item-dot {\n background-color: CanvasText;\n forced-color-adjust: none;\n }\n}\n"] });
|
|
18
18
|
}
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: LinkReferenceWorkItemStateComponent, decorators: [{
|
|
20
20
|
type: Component,
|
|
21
21
|
args: [{ selector: "nol-link-reference-work-item-state", template: `<span class="nol-link-reference-work-item-dot" aria-hidden="true"></span>{{ state().label }}`, host: {
|
|
22
22
|
"class": "nol-link-reference-work-item-state",
|
|
@@ -28,10 +28,10 @@ export class MarkdownMathComponent {
|
|
|
28
28
|
isDisplay() {
|
|
29
29
|
return this.node().kind === MarkdownNodeKind.MathDisplay;
|
|
30
30
|
}
|
|
31
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
32
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.2.
|
|
31
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: MarkdownMathComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
32
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.2.6", type: MarkdownMathComponent, isStandalone: true, selector: "span[nol-markdown-math]", inputs: { node: { classPropertyName: "node", publicName: "nol-markdown-math", isSignal: true, isRequired: true, transformFunction: null } }, host: { properties: { "class.nol-markdown-math-display": "isDisplay()" }, classAttribute: "nol-markdown-math" }, ngImport: i0, template: "", isInline: true });
|
|
33
33
|
}
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: MarkdownMathComponent, decorators: [{
|
|
35
35
|
type: Component,
|
|
36
36
|
args: [{
|
|
37
37
|
selector: "span[nol-markdown-math]",
|