@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
|
@@ -15,10 +15,10 @@ import * as i0 from "@angular/core";
|
|
|
15
15
|
export class GalleryChipComponent {
|
|
16
16
|
text = GalleryResources.text;
|
|
17
17
|
chipKinds = ChipKind;
|
|
18
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
19
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.
|
|
18
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryChipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
19
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryChipComponent, isStandalone: true, selector: "nol-gallery-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<nol-gallery-specimen [name]=\"text.chip\" noHover noFocus>\n <nol-gallery-cell [caption]=\"text.chipCount\"><nol-chip [count]=\"3\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.chipLargeCount\"><nol-chip [count]=\"128\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.chipAdded\"><nol-chip [kind]=\"chipKinds.Added\" [count]=\"12\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.chipRemoved\"><nol-chip [kind]=\"chipKinds.Removed\" [count]=\"4\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.chipKeyCaption\"><nol-chip [kind]=\"chipKinds.Key\">{{ text.chipKey }}</nol-chip></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.chipStatusCaption\"><nol-chip [kind]=\"chipKinds.Status\">{{ text.chipStatus }}</nol-chip></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.chipFailed\"><nol-chip [kind]=\"chipKinds.Failed\">{{ text.chipFailed }}</nol-chip></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.chipWarningCaption\"><nol-chip [kind]=\"chipKinds.Warning\">{{ text.chipWarning }}</nol-chip></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.chipOnCaption\"><nol-chip [kind]=\"chipKinds.On\">{{ text.chipOn }}</nol-chip></nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\"><nol-chip class=\"nol-gallery-narrow\" [kind]=\"chipKinds.Key\">{{ text.chipLong }}</nol-chip></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-table {\n width: min(36rem, 100%);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-table-holder {\n width: 100%;\n box-sizing: border-box;\n margin-block: calc(var(--nol-space-1) * -1);\n padding: var(--nol-space-1) var(--nol-space-2);\n overflow-x: auto;\n}\n\n.nol-gallery-bar {\n width: 12.5rem;\n}\n\n.nol-gallery-invalid,\n.nol-gallery-noted {\n display: grid;\n}\n\n.nol-gallery-table-actions {\n display: flex;\n gap: var(--nol-space-2);\n justify-content: flex-end;\n}\n\n.nol-gallery-picture {\n position: relative;\n display: block;\n width: 7rem;\n height: 4.5rem;\n border-radius: var(--nol-radius-large);\n background: linear-gradient(135deg, var(--nol-panel), var(--nol-text));\n}\n\n.nol-gallery-picture-action {\n position: absolute;\n inset-block-start: 0.125rem;\n inset-inline-end: 0.125rem;\n}\n\n.nol-gallery-picture-tools {\n display: grid;\n place-items: end center;\n box-sizing: border-box;\n padding-block-end: 0.25rem;\n}\n\n.nol-gallery-picture-wide {\n width: 10rem;\n}\n\n.nol-gallery-backdrop {\n background: var(--nol-overlay);\n}\n\n.nol-gallery-picture-row,\n.nol-gallery-compact-row {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-attachment {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n padding: var(--nol-space-1) var(--nol-space-2);\n border: var(--nol-border-width) solid var(--nol-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-attachment);\n color: var(--nol-text);\n}\n\n.nol-gallery-attachment-glyph {\n color: var(--nol-icon-color);\n font-size: var(--nol-icon);\n}\n\n.nol-gallery-attachment-size {\n color: var(--nol-text-muted);\n}\n"], dependencies: [{ kind: "component", type: ChipComponent, selector: "nol-chip", inputs: ["kind", "count"] }, { kind: "component", type: GalleryCellComponent, selector: "nol-gallery-cell", inputs: ["caption"] }, { kind: "component", type: GallerySpecimenComponent, selector: "nol-gallery-specimen", inputs: ["name", "size"] }] });
|
|
20
20
|
}
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryChipComponent, decorators: [{
|
|
22
22
|
type: Component,
|
|
23
23
|
args: [{ selector: "nol-gallery-chip", imports: [ChipComponent, GalleryCellComponent, GallerySpecimenComponent], 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.chip\" noHover noFocus>\n <nol-gallery-cell [caption]=\"text.chipCount\"><nol-chip [count]=\"3\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.chipLargeCount\"><nol-chip [count]=\"128\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.chipAdded\"><nol-chip [kind]=\"chipKinds.Added\" [count]=\"12\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.chipRemoved\"><nol-chip [kind]=\"chipKinds.Removed\" [count]=\"4\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.chipKeyCaption\"><nol-chip [kind]=\"chipKinds.Key\">{{ text.chipKey }}</nol-chip></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.chipStatusCaption\"><nol-chip [kind]=\"chipKinds.Status\">{{ text.chipStatus }}</nol-chip></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.chipFailed\"><nol-chip [kind]=\"chipKinds.Failed\">{{ text.chipFailed }}</nol-chip></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.chipWarningCaption\"><nol-chip [kind]=\"chipKinds.Warning\">{{ text.chipWarning }}</nol-chip></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.chipOnCaption\"><nol-chip [kind]=\"chipKinds.On\">{{ text.chipOn }}</nol-chip></nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\"><nol-chip class=\"nol-gallery-narrow\" [kind]=\"chipKinds.Key\">{{ text.chipLong }}</nol-chip></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-table {\n width: min(36rem, 100%);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-table-holder {\n width: 100%;\n box-sizing: border-box;\n margin-block: calc(var(--nol-space-1) * -1);\n padding: var(--nol-space-1) var(--nol-space-2);\n overflow-x: auto;\n}\n\n.nol-gallery-bar {\n width: 12.5rem;\n}\n\n.nol-gallery-invalid,\n.nol-gallery-noted {\n display: grid;\n}\n\n.nol-gallery-table-actions {\n display: flex;\n gap: var(--nol-space-2);\n justify-content: flex-end;\n}\n\n.nol-gallery-picture {\n position: relative;\n display: block;\n width: 7rem;\n height: 4.5rem;\n border-radius: var(--nol-radius-large);\n background: linear-gradient(135deg, var(--nol-panel), var(--nol-text));\n}\n\n.nol-gallery-picture-action {\n position: absolute;\n inset-block-start: 0.125rem;\n inset-inline-end: 0.125rem;\n}\n\n.nol-gallery-picture-tools {\n display: grid;\n place-items: end center;\n box-sizing: border-box;\n padding-block-end: 0.25rem;\n}\n\n.nol-gallery-picture-wide {\n width: 10rem;\n}\n\n.nol-gallery-backdrop {\n background: var(--nol-overlay);\n}\n\n.nol-gallery-picture-row,\n.nol-gallery-compact-row {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-attachment {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n padding: var(--nol-space-1) var(--nol-space-2);\n border: var(--nol-border-width) solid var(--nol-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-attachment);\n color: var(--nol-text);\n}\n\n.nol-gallery-attachment-glyph {\n color: var(--nol-icon-color);\n font-size: var(--nol-icon);\n}\n\n.nol-gallery-attachment-size {\n color: var(--nol-text-muted);\n}\n"] }]
|
|
24
24
|
}] });
|
|
@@ -23,10 +23,10 @@ export class GalleryChoicePillsComponent {
|
|
|
23
23
|
longPillOptions = GalleryResources.text.choicePillOptionsLong.map(t => new SelectOption(t.value, t.title));
|
|
24
24
|
pill = signal(GalleryResources.text.choicePillInitial, /* @ts-ignore */
|
|
25
25
|
...(ngDevMode ? [{ debugName: "pill" }] : /* istanbul ignore next */ []));
|
|
26
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
27
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.
|
|
26
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryChoicePillsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
27
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryChoicePillsComponent, isStandalone: true, selector: "nol-gallery-choice-pills", 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.choicePills\" [size]=\"sizes.Wide\">\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <nol-choice-pills [options]=\"pillOptions\" [value]=\"pill()\" [label]=\"text.choicePillsLabel\" (valueChange)=\"pill.set($event)\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\">\n <nol-choice-pills [nolGalleryHover]=\"hoveredPill\" [options]=\"pillOptions\" [value]=\"text.choicePillInitial\" [label]=\"text.hover\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\"><nol-choice-pills [nolGalleryFocus]=\"focusedPill\" [options]=\"pillOptions\" [value]=\"text.choicePillInitial\" [label]=\"text.focus\" /></nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <nol-choice-pills class=\"nol-gallery-narrow\" [options]=\"longPillOptions\" value=\"long\" [label]=\"text.choicePillsLong\" />\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-table {\n width: min(36rem, 100%);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-table-holder {\n width: 100%;\n box-sizing: border-box;\n margin-block: calc(var(--nol-space-1) * -1);\n padding: var(--nol-space-1) var(--nol-space-2);\n overflow-x: auto;\n}\n\n.nol-gallery-bar {\n width: 12.5rem;\n}\n\n.nol-gallery-invalid,\n.nol-gallery-noted {\n display: grid;\n}\n\n.nol-gallery-table-actions {\n display: flex;\n gap: var(--nol-space-2);\n justify-content: flex-end;\n}\n\n.nol-gallery-picture {\n position: relative;\n display: block;\n width: 7rem;\n height: 4.5rem;\n border-radius: var(--nol-radius-large);\n background: linear-gradient(135deg, var(--nol-panel), var(--nol-text));\n}\n\n.nol-gallery-picture-action {\n position: absolute;\n inset-block-start: 0.125rem;\n inset-inline-end: 0.125rem;\n}\n\n.nol-gallery-picture-tools {\n display: grid;\n place-items: end center;\n box-sizing: border-box;\n padding-block-end: 0.25rem;\n}\n\n.nol-gallery-picture-wide {\n width: 10rem;\n}\n\n.nol-gallery-backdrop {\n background: var(--nol-overlay);\n}\n\n.nol-gallery-picture-row,\n.nol-gallery-compact-row {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-attachment {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n padding: var(--nol-space-1) var(--nol-space-2);\n border: var(--nol-border-width) solid var(--nol-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-attachment);\n color: var(--nol-text);\n}\n\n.nol-gallery-attachment-glyph {\n color: var(--nol-icon-color);\n font-size: var(--nol-icon);\n}\n\n.nol-gallery-attachment-size {\n color: var(--nol-text-muted);\n}\n"], dependencies: [{ kind: "component", type: ChoicePillsComponent, selector: "nol-choice-pills", inputs: ["options", "value", "label", "describedBy"], outputs: ["valueChange"] }, { 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"] }] });
|
|
28
28
|
}
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryChoicePillsComponent, decorators: [{
|
|
30
30
|
type: Component,
|
|
31
31
|
args: [{ selector: "nol-gallery-choice-pills", imports: [ChoicePillsComponent, GalleryCellComponent, GallerySpecimenComponent, GalleryStateDirective], 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.choicePills\" [size]=\"sizes.Wide\">\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <nol-choice-pills [options]=\"pillOptions\" [value]=\"pill()\" [label]=\"text.choicePillsLabel\" (valueChange)=\"pill.set($event)\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\">\n <nol-choice-pills [nolGalleryHover]=\"hoveredPill\" [options]=\"pillOptions\" [value]=\"text.choicePillInitial\" [label]=\"text.hover\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\"><nol-choice-pills [nolGalleryFocus]=\"focusedPill\" [options]=\"pillOptions\" [value]=\"text.choicePillInitial\" [label]=\"text.focus\" /></nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <nol-choice-pills class=\"nol-gallery-narrow\" [options]=\"longPillOptions\" value=\"long\" [label]=\"text.choicePillsLong\" />\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-table {\n width: min(36rem, 100%);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-table-holder {\n width: 100%;\n box-sizing: border-box;\n margin-block: calc(var(--nol-space-1) * -1);\n padding: var(--nol-space-1) var(--nol-space-2);\n overflow-x: auto;\n}\n\n.nol-gallery-bar {\n width: 12.5rem;\n}\n\n.nol-gallery-invalid,\n.nol-gallery-noted {\n display: grid;\n}\n\n.nol-gallery-table-actions {\n display: flex;\n gap: var(--nol-space-2);\n justify-content: flex-end;\n}\n\n.nol-gallery-picture {\n position: relative;\n display: block;\n width: 7rem;\n height: 4.5rem;\n border-radius: var(--nol-radius-large);\n background: linear-gradient(135deg, var(--nol-panel), var(--nol-text));\n}\n\n.nol-gallery-picture-action {\n position: absolute;\n inset-block-start: 0.125rem;\n inset-inline-end: 0.125rem;\n}\n\n.nol-gallery-picture-tools {\n display: grid;\n place-items: end center;\n box-sizing: border-box;\n padding-block-end: 0.25rem;\n}\n\n.nol-gallery-picture-wide {\n width: 10rem;\n}\n\n.nol-gallery-backdrop {\n background: var(--nol-overlay);\n}\n\n.nol-gallery-picture-row,\n.nol-gallery-compact-row {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-attachment {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n padding: var(--nol-space-1) var(--nol-space-2);\n border: var(--nol-border-width) solid var(--nol-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-attachment);\n color: var(--nol-text);\n}\n\n.nol-gallery-attachment-glyph {\n color: var(--nol-icon-color);\n font-size: var(--nol-icon);\n}\n\n.nol-gallery-attachment-size {\n color: var(--nol-text-muted);\n}\n"] }]
|
|
32
32
|
}] });
|
|
@@ -25,10 +25,10 @@ export class GalleryChoiceRowComponent {
|
|
|
25
25
|
toggleCheck(label, isChecked) {
|
|
26
26
|
this.checks.update(t => isChecked ? [...t, label] : t.filter(u => u !== label));
|
|
27
27
|
}
|
|
28
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
29
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.
|
|
28
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryChoiceRowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
29
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: GalleryChoiceRowComponent, isStandalone: true, selector: "nol-gallery-choice-row", ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-gallery-specimen [name]=\"text.choiceRow\">\n <nol-gallery-cell long [caption]=\"text.choiceRowRadiosCaption\">\n <nol-radio-group class=\"nol-gallery-narrow\" [label]=\"text.choiceRowQuestion\" [(value)]=\"branch\">\n @for (option of text.choiceRowOptions; track option.value) {\n <nol-choice-row [value]=\"option.value\" [label]=\"option.label\" [description]=\"option.description\" />\n }\n </nol-radio-group>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.choiceRowCheckboxesCaption\">\n <div class=\"nol-gallery-narrow\" role=\"group\" [attr.aria-label]=\"text.choiceRowChecks\">\n @for (option of text.choiceRowCheckOptions; track option.label) {\n <nol-choice-row [type]=\"choiceTypes.Checkbox\" [label]=\"option.label\" [description]=\"option.description\" [checked]=\"checks().includes(option.label)\"\n (checkedChange)=\"toggleCheck(option.label, $event)\" />\n }\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\">\n <nol-choice-row nolGalleryHover [type]=\"choiceTypes.Checkbox\" [label]=\"text.choiceRowHover\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <nol-choice-row [nolGalleryFocus]=\"focusedRadio\" [value]=\"text.choiceRowFocus\" [label]=\"text.choiceRowFocus\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.choiceRowDisabled\">\n <nol-choice-row [type]=\"choiceTypes.Checkbox\" [label]=\"text.choiceRowDisabled\" [checked]=\"true\" [disabled]=\"true\" />\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <nol-choice-row class=\"nol-gallery-narrow\" [type]=\"choiceTypes.Checkbox\" [label]=\"text.longText\" [description]=\"text.longValue\" />\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-table {\n width: min(36rem, 100%);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-table-holder {\n width: 100%;\n box-sizing: border-box;\n margin-block: calc(var(--nol-space-1) * -1);\n padding: var(--nol-space-1) var(--nol-space-2);\n overflow-x: auto;\n}\n\n.nol-gallery-bar {\n width: 12.5rem;\n}\n\n.nol-gallery-invalid,\n.nol-gallery-noted {\n display: grid;\n}\n\n.nol-gallery-table-actions {\n display: flex;\n gap: var(--nol-space-2);\n justify-content: flex-end;\n}\n\n.nol-gallery-picture {\n position: relative;\n display: block;\n width: 7rem;\n height: 4.5rem;\n border-radius: var(--nol-radius-large);\n background: linear-gradient(135deg, var(--nol-panel), var(--nol-text));\n}\n\n.nol-gallery-picture-action {\n position: absolute;\n inset-block-start: 0.125rem;\n inset-inline-end: 0.125rem;\n}\n\n.nol-gallery-picture-tools {\n display: grid;\n place-items: end center;\n box-sizing: border-box;\n padding-block-end: 0.25rem;\n}\n\n.nol-gallery-picture-wide {\n width: 10rem;\n}\n\n.nol-gallery-backdrop {\n background: var(--nol-overlay);\n}\n\n.nol-gallery-picture-row,\n.nol-gallery-compact-row {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-attachment {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n padding: var(--nol-space-1) var(--nol-space-2);\n border: var(--nol-border-width) solid var(--nol-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-attachment);\n color: var(--nol-text);\n}\n\n.nol-gallery-attachment-glyph {\n color: var(--nol-icon-color);\n font-size: var(--nol-icon);\n}\n\n.nol-gallery-attachment-size {\n color: var(--nol-text-muted);\n}\n"], dependencies: [{ kind: "component", type: ChoiceRowComponent, selector: "nol-choice-row", inputs: ["type", "value", "label", "description", "checked", "disabled"], outputs: ["checkedChange"] }, { 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: RadioGroupComponent, selector: "nol-radio-group", inputs: ["label", "value"], outputs: ["valueChange"] }] });
|
|
30
30
|
}
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryChoiceRowComponent, decorators: [{
|
|
32
32
|
type: Component,
|
|
33
33
|
args: [{ selector: "nol-gallery-choice-row", imports: [ChoiceRowComponent, GalleryCellComponent, GallerySpecimenComponent, GalleryStateDirective, RadioGroupComponent], 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.choiceRow\">\n <nol-gallery-cell long [caption]=\"text.choiceRowRadiosCaption\">\n <nol-radio-group class=\"nol-gallery-narrow\" [label]=\"text.choiceRowQuestion\" [(value)]=\"branch\">\n @for (option of text.choiceRowOptions; track option.value) {\n <nol-choice-row [value]=\"option.value\" [label]=\"option.label\" [description]=\"option.description\" />\n }\n </nol-radio-group>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.choiceRowCheckboxesCaption\">\n <div class=\"nol-gallery-narrow\" role=\"group\" [attr.aria-label]=\"text.choiceRowChecks\">\n @for (option of text.choiceRowCheckOptions; track option.label) {\n <nol-choice-row [type]=\"choiceTypes.Checkbox\" [label]=\"option.label\" [description]=\"option.description\" [checked]=\"checks().includes(option.label)\"\n (checkedChange)=\"toggleCheck(option.label, $event)\" />\n }\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\">\n <nol-choice-row nolGalleryHover [type]=\"choiceTypes.Checkbox\" [label]=\"text.choiceRowHover\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <nol-choice-row [nolGalleryFocus]=\"focusedRadio\" [value]=\"text.choiceRowFocus\" [label]=\"text.choiceRowFocus\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.choiceRowDisabled\">\n <nol-choice-row [type]=\"choiceTypes.Checkbox\" [label]=\"text.choiceRowDisabled\" [checked]=\"true\" [disabled]=\"true\" />\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <nol-choice-row class=\"nol-gallery-narrow\" [type]=\"choiceTypes.Checkbox\" [label]=\"text.longText\" [description]=\"text.longValue\" />\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-table {\n width: min(36rem, 100%);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-table-holder {\n width: 100%;\n box-sizing: border-box;\n margin-block: calc(var(--nol-space-1) * -1);\n padding: var(--nol-space-1) var(--nol-space-2);\n overflow-x: auto;\n}\n\n.nol-gallery-bar {\n width: 12.5rem;\n}\n\n.nol-gallery-invalid,\n.nol-gallery-noted {\n display: grid;\n}\n\n.nol-gallery-table-actions {\n display: flex;\n gap: var(--nol-space-2);\n justify-content: flex-end;\n}\n\n.nol-gallery-picture {\n position: relative;\n display: block;\n width: 7rem;\n height: 4.5rem;\n border-radius: var(--nol-radius-large);\n background: linear-gradient(135deg, var(--nol-panel), var(--nol-text));\n}\n\n.nol-gallery-picture-action {\n position: absolute;\n inset-block-start: 0.125rem;\n inset-inline-end: 0.125rem;\n}\n\n.nol-gallery-picture-tools {\n display: grid;\n place-items: end center;\n box-sizing: border-box;\n padding-block-end: 0.25rem;\n}\n\n.nol-gallery-picture-wide {\n width: 10rem;\n}\n\n.nol-gallery-backdrop {\n background: var(--nol-overlay);\n}\n\n.nol-gallery-picture-row,\n.nol-gallery-compact-row {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-attachment {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n padding: var(--nol-space-1) var(--nol-space-2);\n border: var(--nol-border-width) solid var(--nol-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-attachment);\n color: var(--nol-text);\n}\n\n.nol-gallery-attachment-glyph {\n color: var(--nol-icon-color);\n font-size: var(--nol-icon);\n}\n\n.nol-gallery-attachment-size {\n color: var(--nol-text-muted);\n}\n"] }]
|
|
34
34
|
}] });
|
|
@@ -23,10 +23,10 @@ export class GalleryCodeBlockComponent {
|
|
|
23
23
|
runStates = ShellRunState;
|
|
24
24
|
endedRun = new Map([[0, ShellRunState.Ended]]);
|
|
25
25
|
runOutputs = new Set([0]);
|
|
26
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
27
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.
|
|
26
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryCodeBlockComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
27
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryCodeBlockComponent, isStandalone: true, selector: "nol-gallery-code-block", 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.codeBlock\" [size]=\"sizes.Full\" noHover>\n <nol-gallery-cell [caption]=\"text.defaultState\"><nol-code-block [language]=\"text.codeLanguage\" [code]=\"text.codeSample\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.codeWrappedCaption\"><nol-code-block [language]=\"text.codeLanguage\" [code]=\"text.codeSample\" [wrapped]=\"true\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.codeNoLanguageCaption\"><nol-code-block [code]=\"text.codeCommand\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.codeRunCaption\"><nol-code-block [language]=\"text.codeShell\" [code]=\"text.codeCommand\" [runnable]=\"true\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.codeRunningCaption\">\n <nol-code-block [language]=\"text.codeShell\" [code]=\"text.codeCommand\" [runnable]=\"true\" [runState]=\"runStates.Running\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.codeOutputCaption\">\n <nol-markdown-view class=\"nol-gallery-content-run\" [text]=\"text.codeOutputFence\" [shellRuns]=\"true\" [shellRunStates]=\"endedRun\" [shellRunOutputs]=\"runOutputs\">\n <ng-template nolShellRunOutput><p>{{ text.codeOutputSample }}</p></ng-template>\n </nol-markdown-view>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.codeEndedCaption\"><nol-code-block [language]=\"text.codeShell\" [code]=\"text.codeCommand\" [runnable]=\"true\" [runState]=\"runStates.Ended\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.codeRefusedCaption\"><nol-code-block nolGalleryRefusingClipboard [language]=\"text.codeShell\" [code]=\"text.codeCommand\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\"><nol-code-block nolGalleryFocus=\".nol-code-block-copy\" [language]=\"text.codeShell\" [code]=\"text.codeCommand\" /></nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <nol-code-block class=\"nol-gallery-narrow\" [language]=\"text.codeLongLanguage\" [code]=\"text.codeLongLine\" />\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-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-content-run {\n width: 100%;\n}\n\n.nol-gallery-content-card {\n width: 12.5rem;\n}\n\n.nol-gallery-content-paragraph {\n margin: 0;\n}\n\n.nol-gallery-files {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2) var(--nol-space-4);\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n.nol-gallery-file {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n min-width: 0;\n font-size: var(--nol-text-panel);\n overflow-wrap: anywhere;\n}\n\n.nol-gallery-terminal {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2) var(--nol-space-4);\n padding: var(--nol-space-3);\n background: var(--nol-terminal-background);\n color: var(--nol-terminal-foreground);\n font-family: var(--nol-font-mono);\n}\n\n.nol-gallery-terminal-color {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n}\n\n.nol-gallery-terminal-swatch {\n width: 1rem;\n height: 1rem;\n}\n\n.nol-gallery-status {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n padding: var(--nol-space-3);\n color: var(--nol-text);\n}\n\n.nol-gallery-status-row {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n}\n\n.nol-gallery-status-dot {\n flex: none;\n width: 0.5rem;\n height: 0.5rem;\n border-radius: 50%;\n forced-color-adjust: none;\n}\n\n.nol-gallery-terminal-cursor {\n background: var(--nol-terminal-cursor);\n}\n\n.nol-gallery-terminal-selection {\n background: var(--nol-terminal-selection);\n color: var(--nol-terminal-selection-foreground);\n}\n\n.nol-gallery-content-message {\n font-size: var(--nol-text-message);\n line-height: var(--nol-line-message);\n}\n"], dependencies: [{ kind: "component", type: CodeBlockComponent, selector: "nol-code-block", inputs: ["code", "language", "wrapped", "maxHeight", "streaming", "runnable", "runState"], outputs: ["wrappedChange", "run"] }, { kind: "component", type: GalleryCellComponent, selector: "nol-gallery-cell", inputs: ["caption"] }, { kind: "directive", type: GalleryRefusingClipboardDirective, selector: "[nolGalleryRefusingClipboard]" }, { kind: "component", type: GallerySpecimenComponent, selector: "nol-gallery-specimen", inputs: ["name", "size"] }, { kind: "directive", type: GalleryStateDirective, selector: "[nolGalleryHover], [nolGalleryFocus]", inputs: ["nolGalleryHover", "nolGalleryFocus"] }, { kind: "component", type: MarkdownViewComponent, selector: "nol-markdown-view", inputs: ["text", "streaming", "entering", "paced", "mentions", "mentionNames", "fileLinks", "linkSchemes", "folderLinks", "references", "shellRuns", "math", "shellRunStates", "shellRunOutputs"], outputs: ["linkActivate", "linkOpen", "linkMenu", "fileActivate", "filePathsChange", "shellRun"] }, { kind: "directive", type: ShellRunOutputDirective, selector: "ng-template[nolShellRunOutput]" }] });
|
|
28
28
|
}
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryCodeBlockComponent, decorators: [{
|
|
30
30
|
type: Component,
|
|
31
31
|
args: [{ selector: "nol-gallery-code-block", imports: [CodeBlockComponent, GalleryCellComponent, GalleryRefusingClipboardDirective, GallerySpecimenComponent, GalleryStateDirective, MarkdownViewComponent, ShellRunOutputDirective], 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.codeBlock\" [size]=\"sizes.Full\" noHover>\n <nol-gallery-cell [caption]=\"text.defaultState\"><nol-code-block [language]=\"text.codeLanguage\" [code]=\"text.codeSample\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.codeWrappedCaption\"><nol-code-block [language]=\"text.codeLanguage\" [code]=\"text.codeSample\" [wrapped]=\"true\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.codeNoLanguageCaption\"><nol-code-block [code]=\"text.codeCommand\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.codeRunCaption\"><nol-code-block [language]=\"text.codeShell\" [code]=\"text.codeCommand\" [runnable]=\"true\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.codeRunningCaption\">\n <nol-code-block [language]=\"text.codeShell\" [code]=\"text.codeCommand\" [runnable]=\"true\" [runState]=\"runStates.Running\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.codeOutputCaption\">\n <nol-markdown-view class=\"nol-gallery-content-run\" [text]=\"text.codeOutputFence\" [shellRuns]=\"true\" [shellRunStates]=\"endedRun\" [shellRunOutputs]=\"runOutputs\">\n <ng-template nolShellRunOutput><p>{{ text.codeOutputSample }}</p></ng-template>\n </nol-markdown-view>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.codeEndedCaption\"><nol-code-block [language]=\"text.codeShell\" [code]=\"text.codeCommand\" [runnable]=\"true\" [runState]=\"runStates.Ended\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.codeRefusedCaption\"><nol-code-block nolGalleryRefusingClipboard [language]=\"text.codeShell\" [code]=\"text.codeCommand\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\"><nol-code-block nolGalleryFocus=\".nol-code-block-copy\" [language]=\"text.codeShell\" [code]=\"text.codeCommand\" /></nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <nol-code-block class=\"nol-gallery-narrow\" [language]=\"text.codeLongLanguage\" [code]=\"text.codeLongLine\" />\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-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-content-run {\n width: 100%;\n}\n\n.nol-gallery-content-card {\n width: 12.5rem;\n}\n\n.nol-gallery-content-paragraph {\n margin: 0;\n}\n\n.nol-gallery-files {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2) var(--nol-space-4);\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n.nol-gallery-file {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n min-width: 0;\n font-size: var(--nol-text-panel);\n overflow-wrap: anywhere;\n}\n\n.nol-gallery-terminal {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2) var(--nol-space-4);\n padding: var(--nol-space-3);\n background: var(--nol-terminal-background);\n color: var(--nol-terminal-foreground);\n font-family: var(--nol-font-mono);\n}\n\n.nol-gallery-terminal-color {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n}\n\n.nol-gallery-terminal-swatch {\n width: 1rem;\n height: 1rem;\n}\n\n.nol-gallery-status {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n padding: var(--nol-space-3);\n color: var(--nol-text);\n}\n\n.nol-gallery-status-row {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n}\n\n.nol-gallery-status-dot {\n flex: none;\n width: 0.5rem;\n height: 0.5rem;\n border-radius: 50%;\n forced-color-adjust: none;\n}\n\n.nol-gallery-terminal-cursor {\n background: var(--nol-terminal-cursor);\n}\n\n.nol-gallery-terminal-selection {\n background: var(--nol-terminal-selection);\n color: var(--nol-terminal-selection-foreground);\n}\n\n.nol-gallery-content-message {\n font-size: var(--nol-text-message);\n line-height: var(--nol-line-message);\n}\n"] }]
|
|
32
32
|
}] });
|
|
@@ -29,10 +29,10 @@ export class GalleryConfigurationTableComponent {
|
|
|
29
29
|
wideTable = GalleryResources.text.configurationWideTable;
|
|
30
30
|
narrowTable = GalleryResources.text.configurationNarrowTable;
|
|
31
31
|
unheadedTable = GalleryResources.text.configurationUnheadedTable;
|
|
32
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
33
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.
|
|
32
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryConfigurationTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
33
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: GalleryConfigurationTableComponent, isStandalone: true, selector: "nol-gallery-configuration-table", 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.configurationTable\" [size]=\"sizes.Full\" noFocus>\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <ng-container [ngTemplateOutlet]=\"configurationTable\" [ngTemplateOutletContext]=\"{ $implicit: wideTable }\" />\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <ng-container [ngTemplateOutlet]=\"configurationTable\" [ngTemplateOutletContext]=\"{ $implicit: narrowTable }\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.noHeadingCaption\">\n <ng-container [ngTemplateOutlet]=\"configurationTable\" [ngTemplateOutletContext]=\"{ $implicit: unheadedTable }\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.configurationSharedCaption\">\n <ng-container [ngTemplateOutlet]=\"sharedTable\" [ngTemplateOutletContext]=\"{ $implicit: false }\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\">\n <ng-container [ngTemplateOutlet]=\"sharedTable\" [ngTemplateOutletContext]=\"{ $implicit: true }\" />\n </nol-gallery-cell>\n</nol-gallery-specimen>\n\n<ng-template #sharedTable let-hover>\n <div class=\"nol-gallery-table-holder\">\n <nol-configuration-table class=\"nol-gallery-table\" [level]=\"4\" [label]=\"text.configurationSharedCaption\" [nolGalleryHover]=\"hover ? 'tbody > tr' : undefined\">\n <table nolConfigurationTable>\n <thead>\n <tr>\n <th scope=\"col\" [nolConfigurationTableShare]=\"2\">{{ text.configurationName }}</th>\n <th scope=\"col\" [nolConfigurationTableShare]=\"4\" nolConfigurationTableFill>{{ text.configurationValue }}</th>\n <th scope=\"col\" [nolConfigurationTableShare]=\"2\">{{ text.configurationScope }}</th>\n <th scope=\"col\" [nolConfigurationTableShare]=\"2\" [nolConfigurationTableRowActions]=\"text.configurationActions\"></th>\n </tr>\n </thead>\n <tbody>\n @for (row of text.configurationRows.slice(0, 2); track row.name) {\n <tr>\n <td>{{ row.name }}</td>\n <td nolConfigurationTableFill>{{ row.value }}</td>\n <td>{{ row.scope }}</td>\n <td nolConfigurationTableRowActions>\n <button type=\"button\" nol-icon-button [icon]=\"text.glyphEdit\" [label]=\"row.edit\"></button>\n <button type=\"button\" nol-icon-button [danger]=\"true\" [icon]=\"text.glyphClose\" [label]=\"row.remove\"></button>\n </td>\n </tr>\n }\n </tbody>\n </table>\n </nol-configuration-table>\n </div>\n</ng-template>\n\n<ng-template #configurationTable let-table>\n <div class=\"nol-gallery-table-holder\" [class.nol-gallery-narrow]=\"table.isNarrow\">\n <nol-configuration-table class=\"nol-gallery-table\" [heading]=\"table.heading\" [level]=\"4\" [label]=\"table.label\" [explanation]=\"table.explanation\">\n @if (table.hasAdd) {\n <button type=\"button\" nol-button nolConfigurationTableAction [variant]=\"variants.Secondary\">{{ text.configurationAdd }}</button>\n }\n <table nolConfigurationTable>\n <thead>\n <tr>\n <th scope=\"col\">{{ text.configurationName }}</th>\n <th scope=\"col\" nolConfigurationTableFill>{{ text.configurationValue }}</th>\n <th scope=\"col\">{{ text.configurationScope }}</th>\n <th scope=\"col\" [attr.aria-label]=\"text.configurationActions\"></th>\n </tr>\n </thead>\n <tbody>\n @for (row of text.configurationRows.slice(0, table.rowCount); track row.name) {\n <tr>\n <td>{{ row.name }}</td>\n <td nolConfigurationTableFill>{{ row.value }}</td>\n <td>{{ row.scope }}</td>\n <td>\n <span class=\"nol-gallery-table-actions\">\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" [attr.aria-label]=\"row.edit\">{{ text.configurationEdit }}</button>\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" [attr.aria-label]=\"row.remove\">{{ text.configurationRemove }}</button>\n </span>\n </td>\n </tr>\n }\n </tbody>\n </table>\n </nol-configuration-table>\n </div>\n</ng-template>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n gap: var(--nol-space-6);\n}\n\n.nol-gallery-table {\n width: min(36rem, 100%);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-table-holder {\n width: 100%;\n box-sizing: border-box;\n margin-block: calc(var(--nol-space-1) * -1);\n padding: var(--nol-space-1) var(--nol-space-2);\n overflow-x: auto;\n}\n\n.nol-gallery-bar {\n width: 12.5rem;\n}\n\n.nol-gallery-invalid,\n.nol-gallery-noted {\n display: grid;\n}\n\n.nol-gallery-table-actions {\n display: flex;\n gap: var(--nol-space-2);\n justify-content: flex-end;\n}\n\n.nol-gallery-picture {\n position: relative;\n display: block;\n width: 7rem;\n height: 4.5rem;\n border-radius: var(--nol-radius-large);\n background: linear-gradient(135deg, var(--nol-panel), var(--nol-text));\n}\n\n.nol-gallery-picture-action {\n position: absolute;\n inset-block-start: 0.125rem;\n inset-inline-end: 0.125rem;\n}\n\n.nol-gallery-picture-tools {\n display: grid;\n place-items: end center;\n box-sizing: border-box;\n padding-block-end: 0.25rem;\n}\n\n.nol-gallery-picture-wide {\n width: 10rem;\n}\n\n.nol-gallery-backdrop {\n background: var(--nol-overlay);\n}\n\n.nol-gallery-picture-row,\n.nol-gallery-compact-row {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-attachment {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n padding: var(--nol-space-1) var(--nol-space-2);\n border: var(--nol-border-width) solid var(--nol-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-attachment);\n color: var(--nol-text);\n}\n\n.nol-gallery-attachment-glyph {\n color: var(--nol-icon-color);\n font-size: var(--nol-icon);\n}\n\n.nol-gallery-attachment-size {\n color: var(--nol-text-muted);\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "directive", type: ConfigurationTableActionDirective, selector: "[nolConfigurationTableAction]" }, { kind: "component", type: ConfigurationTableComponent, selector: "nol-configuration-table", inputs: ["heading", "label", "level", "explanation"] }, { kind: "directive", type: ConfigurationTableDirective, selector: "table[nolConfigurationTable]" }, { kind: "directive", type: ConfigurationTableFillDirective, selector: "th[nolConfigurationTableFill], td[nolConfigurationTableFill]", inputs: ["nolConfigurationTableFillMinWidth"] }, { kind: "directive", type: ConfigurationTableRowActionsDirective, selector: "th[nolConfigurationTableRowActions], td[nolConfigurationTableRowActions]", inputs: ["nolConfigurationTableRowActions"] }, { kind: "directive", type: ConfigurationTableShareDirective, selector: "th[nolConfigurationTableShare]", inputs: ["nolConfigurationTableShare"] }, { 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: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
34
34
|
}
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryConfigurationTableComponent, decorators: [{
|
|
36
36
|
type: Component,
|
|
37
37
|
args: [{ selector: "nol-gallery-configuration-table", imports: [ButtonComponent, ConfigurationTableActionDirective, ConfigurationTableComponent, ConfigurationTableDirective, ConfigurationTableFillDirective, ConfigurationTableRowActionsDirective,
|
|
38
38
|
ConfigurationTableShareDirective, GalleryCellComponent, GallerySpecimenComponent, GalleryStateDirective, IconButtonComponent, NgTemplateOutlet], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-gallery-specimen [name]=\"text.configurationTable\" [size]=\"sizes.Full\" noFocus>\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <ng-container [ngTemplateOutlet]=\"configurationTable\" [ngTemplateOutletContext]=\"{ $implicit: wideTable }\" />\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <ng-container [ngTemplateOutlet]=\"configurationTable\" [ngTemplateOutletContext]=\"{ $implicit: narrowTable }\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.noHeadingCaption\">\n <ng-container [ngTemplateOutlet]=\"configurationTable\" [ngTemplateOutletContext]=\"{ $implicit: unheadedTable }\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.configurationSharedCaption\">\n <ng-container [ngTemplateOutlet]=\"sharedTable\" [ngTemplateOutletContext]=\"{ $implicit: false }\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\">\n <ng-container [ngTemplateOutlet]=\"sharedTable\" [ngTemplateOutletContext]=\"{ $implicit: true }\" />\n </nol-gallery-cell>\n</nol-gallery-specimen>\n\n<ng-template #sharedTable let-hover>\n <div class=\"nol-gallery-table-holder\">\n <nol-configuration-table class=\"nol-gallery-table\" [level]=\"4\" [label]=\"text.configurationSharedCaption\" [nolGalleryHover]=\"hover ? 'tbody > tr' : undefined\">\n <table nolConfigurationTable>\n <thead>\n <tr>\n <th scope=\"col\" [nolConfigurationTableShare]=\"2\">{{ text.configurationName }}</th>\n <th scope=\"col\" [nolConfigurationTableShare]=\"4\" nolConfigurationTableFill>{{ text.configurationValue }}</th>\n <th scope=\"col\" [nolConfigurationTableShare]=\"2\">{{ text.configurationScope }}</th>\n <th scope=\"col\" [nolConfigurationTableShare]=\"2\" [nolConfigurationTableRowActions]=\"text.configurationActions\"></th>\n </tr>\n </thead>\n <tbody>\n @for (row of text.configurationRows.slice(0, 2); track row.name) {\n <tr>\n <td>{{ row.name }}</td>\n <td nolConfigurationTableFill>{{ row.value }}</td>\n <td>{{ row.scope }}</td>\n <td nolConfigurationTableRowActions>\n <button type=\"button\" nol-icon-button [icon]=\"text.glyphEdit\" [label]=\"row.edit\"></button>\n <button type=\"button\" nol-icon-button [danger]=\"true\" [icon]=\"text.glyphClose\" [label]=\"row.remove\"></button>\n </td>\n </tr>\n }\n </tbody>\n </table>\n </nol-configuration-table>\n </div>\n</ng-template>\n\n<ng-template #configurationTable let-table>\n <div class=\"nol-gallery-table-holder\" [class.nol-gallery-narrow]=\"table.isNarrow\">\n <nol-configuration-table class=\"nol-gallery-table\" [heading]=\"table.heading\" [level]=\"4\" [label]=\"table.label\" [explanation]=\"table.explanation\">\n @if (table.hasAdd) {\n <button type=\"button\" nol-button nolConfigurationTableAction [variant]=\"variants.Secondary\">{{ text.configurationAdd }}</button>\n }\n <table nolConfigurationTable>\n <thead>\n <tr>\n <th scope=\"col\">{{ text.configurationName }}</th>\n <th scope=\"col\" nolConfigurationTableFill>{{ text.configurationValue }}</th>\n <th scope=\"col\">{{ text.configurationScope }}</th>\n <th scope=\"col\" [attr.aria-label]=\"text.configurationActions\"></th>\n </tr>\n </thead>\n <tbody>\n @for (row of text.configurationRows.slice(0, table.rowCount); track row.name) {\n <tr>\n <td>{{ row.name }}</td>\n <td nolConfigurationTableFill>{{ row.value }}</td>\n <td>{{ row.scope }}</td>\n <td>\n <span class=\"nol-gallery-table-actions\">\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" [attr.aria-label]=\"row.edit\">{{ text.configurationEdit }}</button>\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" [attr.aria-label]=\"row.remove\">{{ text.configurationRemove }}</button>\n </span>\n </td>\n </tr>\n }\n </tbody>\n </table>\n </nol-configuration-table>\n </div>\n</ng-template>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n gap: var(--nol-space-6);\n}\n\n.nol-gallery-table {\n width: min(36rem, 100%);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-table-holder {\n width: 100%;\n box-sizing: border-box;\n margin-block: calc(var(--nol-space-1) * -1);\n padding: var(--nol-space-1) var(--nol-space-2);\n overflow-x: auto;\n}\n\n.nol-gallery-bar {\n width: 12.5rem;\n}\n\n.nol-gallery-invalid,\n.nol-gallery-noted {\n display: grid;\n}\n\n.nol-gallery-table-actions {\n display: flex;\n gap: var(--nol-space-2);\n justify-content: flex-end;\n}\n\n.nol-gallery-picture {\n position: relative;\n display: block;\n width: 7rem;\n height: 4.5rem;\n border-radius: var(--nol-radius-large);\n background: linear-gradient(135deg, var(--nol-panel), var(--nol-text));\n}\n\n.nol-gallery-picture-action {\n position: absolute;\n inset-block-start: 0.125rem;\n inset-inline-end: 0.125rem;\n}\n\n.nol-gallery-picture-tools {\n display: grid;\n place-items: end center;\n box-sizing: border-box;\n padding-block-end: 0.25rem;\n}\n\n.nol-gallery-picture-wide {\n width: 10rem;\n}\n\n.nol-gallery-backdrop {\n background: var(--nol-overlay);\n}\n\n.nol-gallery-picture-row,\n.nol-gallery-compact-row {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-attachment {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n padding: var(--nol-space-1) var(--nol-space-2);\n border: var(--nol-border-width) solid var(--nol-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-attachment);\n color: var(--nol-text);\n}\n\n.nol-gallery-attachment-glyph {\n color: var(--nol-icon-color);\n font-size: var(--nol-icon);\n}\n\n.nol-gallery-attachment-size {\n color: var(--nol-text-muted);\n}\n"] }]
|
|
@@ -90,10 +90,10 @@ export class GalleryContentComponent {
|
|
|
90
90
|
], this.text.diffSection)]))
|
|
91
91
|
];
|
|
92
92
|
diffCollapsed = new Set(["notes"]);
|
|
93
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
94
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.5", type: GalleryContentComponent, isStandalone: true, selector: "nol-gallery-content", 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-avatar />\n\n<nol-gallery-card />\n\n<nol-gallery-code-block />\n\n<nol-gallery-specimen [name]=\"text.diffView\" [size]=\"sizes.Full\" noHover>\n <nol-gallery-cell [caption]=\"text.defaultState\"><nol-diff-view [label]=\"text.diffLabel\" [files]=\"diffFiles\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.diffSideBySideCaption\"><nol-diff-view [label]=\"text.diffLabel\" [files]=\"diffFiles\" [layout]=\"sideBySide\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.diffReviewedCaption\"><nol-diff-view [label]=\"text.diffLabel\" [files]=\"diffFiles\" [reviews]=\"diffReviews\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.diffPartlyReviewedCaption\"><nol-diff-view [label]=\"text.diffLabel\" [files]=\"diffPartial\" [reviews]=\"diffReviews\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.diffCollapsedCaption\"><nol-diff-view [label]=\"text.diffLabel\" [files]=\"diffFiles\" [collapsed]=\"diffCollapsed\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.diffReadOnlyCaption\"><nol-diff-view [label]=\"text.diffLabel\" [files]=\"diffFiles\" [reviews]=\"diffReviews\" [readOnly]=\"true\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.diffNoOpeningCaption\"><nol-diff-view [label]=\"text.diffLabel\" [files]=\"diffFiles\" [readOnly]=\"true\" [canOpenFiles]=\"false\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.diffStatesCaption\"><nol-diff-view [label]=\"text.diffLabel\" [files]=\"diffStates\" [collapseLimit]=\"diffHeldLimit\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.diffEmptyCaption\"><nol-diff-view [label]=\"text.diffLabel\" [files]=\"[]\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\"><nol-diff-view nolGalleryFocus=\".nol-diff-cell-changed\" [label]=\"text.diffLabel\" [files]=\"diffFiles\" /></nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <nol-diff-view class=\"nol-gallery-narrow\" [label]=\"text.diffLabel\" [files]=\"diffLong\" />\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.diffWrappedCaption\">\n <nol-diff-view class=\"nol-gallery-narrow\" [label]=\"text.diffLabel\" [files]=\"diffLong\" [wrapped]=\"true\" />\n </nol-gallery-cell>\n</nol-gallery-specimen>\n\n<nol-gallery-file-badge />\n\n<nol-gallery-inline-code />\n\n<nol-gallery-markdown-view />\n\n<nol-gallery-specimen [name]=\"text.terminal\" [size]=\"sizes.Full\" noHover noFocus noLongText>\n @for (surface of terminalSurfaces; track surface[0]) {\n <nol-gallery-cell [caption]=\"surface[1]\">\n <div class=\"nol-gallery-terminal\" [style.background]=\"'var(--nol-' + surface[0] + ')'\">\n @for (color of terminalColors; track color) {\n <span class=\"nol-gallery-terminal-color\"><span class=\"nol-gallery-terminal-swatch\" [style.background]=\"'var(--nol-terminal-ansi-' + color + ')'\"></span>{{ color }}</span>\n }\n </div>\n </nol-gallery-cell>\n }\n <nol-gallery-cell [caption]=\"text.terminalTextCaption\">\n <div class=\"nol-gallery-terminal\">\n <span>{{ text.terminalText }}<span class=\"nol-gallery-terminal-cursor\">{{ text.terminalCursor }}</span><span class=\"nol-gallery-terminal-selection\">{{ text.terminalSelected }}</span></span>\n </div>\n </nol-gallery-cell>\n</nol-gallery-specimen>\n\n<nol-gallery-terminal-output />\n\n<nol-gallery-specimen [name]=\"text.statusColors\" noHover noFocus noLongText>\n @for (surface of statusSurfaces; track surface[0]) {\n <nol-gallery-cell [caption]=\"surface[1]\">\n <div class=\"nol-gallery-status\" [style.background]=\"'var(--nol-' + surface[0] + ')'\">\n @for (status of text.statuses; track status.token) {\n <span class=\"nol-gallery-status-row\"><span class=\"nol-gallery-status-dot\" [style.background]=\"'var(--nol-' + status.token + ')'\"></span>{{ status.label }}</span>\n }\n </div>\n </nol-gallery-cell>\n }\n</nol-gallery-specimen>\n\n<nol-gallery-specimen [name]=\"text.toolCall\" [size]=\"sizes.Full\">\n <nol-gallery-cell [caption]=\"text.defaultState\"><nol-tool-call [call]=\"calls.read\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.toolCallRunningCaption\"><nol-tool-call [call]=\"calls.running\" [views]=\"calls.runningViews\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.toolCallQueuedCaption\"><nol-tool-call [call]=\"calls.queued\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.toolCallPermissionCaption\"><nol-tool-call [call]=\"calls.awaiting\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.toolCallAnswerCaption\"><nol-tool-call [call]=\"calls.answering\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.toolCallCancelledCaption\"><nol-tool-call [call]=\"calls.cancelled\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.toolCallDeniedCaption\"><nol-tool-call [call]=\"calls.denied\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.toolCallNothingCaption\"><nol-tool-call [call]=\"calls.nothing\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.toolCallNestedCaption\"><nol-tool-call [call]=\"calls.nested\" [views]=\"calls.nestedViews\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.toolCallNestedClosedCaption\"><nol-tool-call [call]=\"calls.nestedClosed\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.toolCallLongOutputCaption\"><nol-tool-call [call]=\"calls.longOutput\" [views]=\"calls.openViews\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.toolCallAllLinesCaption\"><nol-tool-call [call]=\"calls.allLines\" [views]=\"calls.openViews\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.toolCallControlCaption\">\n <nol-tool-call [call]=\"calls.control\" [views]=\"calls.openViews\">\n <ng-template nolToolCallOutput let-call><nol-code-block [language]=\"text.toolCallDiff\" [code]=\"call.output ?? text.toolCallNoDiff\" /></ng-template>\n </nol-tool-call>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.toolCallLoadingCaption\"><nol-tool-call [call]=\"calls.loading\" [views]=\"calls.openViews\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\"><nol-tool-call [nolGalleryHover]=\"toggle\" [call]=\"calls.read\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\"><nol-tool-call [nolGalleryFocus]=\"toggle\" [call]=\"calls.read\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.toolCallFailedCaption\"><nol-tool-call [call]=\"calls.failed\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.toolCallLoadFailedCaption\"><nol-tool-call [call]=\"calls.loadFailed\" [views]=\"calls.openViews\" /></nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <nol-tool-call class=\"nol-gallery-narrow\" [call]=\"calls.long\" />\n </nol-gallery-cell>\n</nol-gallery-specimen>\n\n<nol-gallery-specimen [name]=\"text.planSection\" [size]=\"sizes.Full\" noHover noFocus>\n <nol-gallery-cell [caption]=\"text.defaultState\"><nol-plan [plan]=\"plans.working\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.planTypedCaption\"><nol-markdown-view [text]=\"text.planTyped\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.planDoneCaption\"><nol-plan [plan]=\"plans.done\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.planNotStartedCaption\"><nol-plan [plan]=\"plans.notStarted\" /></nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <nol-plan class=\"nol-gallery-narrow\" [plan]=\"plans.long\" />\n </nol-gallery-cell>\n</nol-gallery-specimen>\n\n<nol-gallery-specimen [name]=\"text.permissionCard\" [size]=\"sizes.Full\">\n <nol-gallery-cell [caption]=\"text.defaultState\"><nol-permission-card [request]=\"permissions.pending\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionMediumCaption\"><nol-permission-card [request]=\"permissions.medium\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionHighCaption\"><nol-permission-card [request]=\"permissions.high\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionConfirmCaption\"><nol-permission-card [nolGalleryPress]=\"alwaysAllow\" [request]=\"permissions.confirming\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionAppOptionsCaption\"><nol-permission-card [request]=\"permissions.appOptions\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionSendingCaption\"><nol-permission-card [request]=\"permissions.sending\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionSendFailedCaption\"><nol-permission-card [request]=\"permissions.sendFailed\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionAllowedOnceCaption\"><nol-permission-card [request]=\"permissions.allowedOnce\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionAlwaysAllowedCaption\"><nol-permission-card [request]=\"permissions.alwaysAllowed\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionDeniedCaption\"><nol-permission-card [request]=\"permissions.denied\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionAlwaysDeniedCaption\"><nol-permission-card [request]=\"permissions.alwaysDenied\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionUnscopedCaption\"><nol-permission-card [request]=\"permissions.unscoped\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionExpiredCaption\"><nol-permission-card [request]=\"permissions.expired\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionWithdrawnCaption\"><nol-permission-card [request]=\"permissions.withdrawn\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionLongDetailsCaption\"><nol-permission-card [request]=\"permissions.longDetails\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionExpandedCaption\"><nol-permission-card [request]=\"permissions.expanded\" [detailsExpanded]=\"true\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\"><nol-permission-card [nolGalleryHover]=\"option\" [request]=\"permissions.hover\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\"><nol-permission-card [nolGalleryFocus]=\"option\" [request]=\"permissions.focus\" /></nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <nol-permission-card class=\"nol-gallery-narrow\" [request]=\"permissions.long\" />\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-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-content-run {\n width: 100%;\n}\n\n.nol-gallery-content-card {\n width: 12.5rem;\n}\n\n.nol-gallery-content-paragraph {\n margin: 0;\n}\n\n.nol-gallery-files {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2) var(--nol-space-4);\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n.nol-gallery-file {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n min-width: 0;\n font-size: var(--nol-text-panel);\n overflow-wrap: anywhere;\n}\n\n.nol-gallery-terminal {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2) var(--nol-space-4);\n padding: var(--nol-space-3);\n background: var(--nol-terminal-background);\n color: var(--nol-terminal-foreground);\n font-family: var(--nol-font-mono);\n}\n\n.nol-gallery-terminal-color {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n}\n\n.nol-gallery-terminal-swatch {\n width: 1rem;\n height: 1rem;\n}\n\n.nol-gallery-status {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n padding: var(--nol-space-3);\n color: var(--nol-text);\n}\n\n.nol-gallery-status-row {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n}\n\n.nol-gallery-status-dot {\n flex: none;\n width: 0.5rem;\n height: 0.5rem;\n border-radius: 50%;\n forced-color-adjust: none;\n}\n\n.nol-gallery-terminal-cursor {\n background: var(--nol-terminal-cursor);\n}\n\n.nol-gallery-terminal-selection {\n background: var(--nol-terminal-selection);\n color: var(--nol-terminal-selection-foreground);\n}\n\n.nol-gallery-content-message {\n font-size: var(--nol-text-message);\n line-height: var(--nol-line-message);\n}\n"], dependencies: [{ kind: "component", type: CodeBlockComponent, selector: "nol-code-block", inputs: ["code", "language", "wrapped", "maxHeight", "streaming", "runnable", "runState"], outputs: ["wrappedChange", "run"] }, { kind: "component", type: DiffViewComponent, selector: "nol-diff-view", inputs: ["files", "label", "layout", "wrapped", "readOnly", "canOpenFiles", "reviews", "collapsed", "revealed", "collapseLimit", "hasShortcuts"], outputs: ["layoutChange", "wrappedChange", "collapsedChange", "revealedChange", "reviewRequested", "fileOpenRequested", "contextRequested", "fileExpanded", "lineCommentRequested"] }, { kind: "component", type: GalleryAvatarComponent, selector: "nol-gallery-avatar" }, { kind: "component", type: GalleryCardComponent, selector: "nol-gallery-card" }, { kind: "component", type: GalleryCellComponent, selector: "nol-gallery-cell", inputs: ["caption"] }, { kind: "component", type: GalleryCodeBlockComponent, selector: "nol-gallery-code-block" }, { kind: "component", type: GalleryFileBadgeComponent, selector: "nol-gallery-file-badge" }, { kind: "component", type: GalleryInlineCodeComponent, selector: "nol-gallery-inline-code" }, { kind: "component", type: GalleryMarkdownViewComponent, selector: "nol-gallery-markdown-view" }, { kind: "directive", type: GalleryPressDirective, selector: "[nolGalleryPress]", inputs: ["nolGalleryPress"] }, { kind: "component", type: GallerySpecimenComponent, selector: "nol-gallery-specimen", inputs: ["name", "size"] }, { kind: "directive", type: GalleryStateDirective, selector: "[nolGalleryHover], [nolGalleryFocus]", inputs: ["nolGalleryHover", "nolGalleryFocus"] }, { kind: "component", type: GalleryTerminalOutputComponent, selector: "nol-gallery-terminal-output" }, { kind: "component", type: MarkdownViewComponent, selector: "nol-markdown-view", inputs: ["text", "streaming", "entering", "paced", "mentions", "mentionNames", "fileLinks", "linkSchemes", "folderLinks", "references", "shellRuns", "math", "shellRunStates", "shellRunOutputs"], outputs: ["linkActivate", "linkOpen", "linkMenu", "fileActivate", "filePathsChange", "shellRun"] }, { kind: "component", type: PermissionCardComponent, selector: "nol-permission-card", inputs: ["request", "detailsExpanded", "detailLines"], outputs: ["detailsExpandedChange", "decide"] }, { kind: "component", type: PlanComponent, selector: "nol-plan", inputs: ["plan", "framed"] }, { kind: "component", type: ToolCallComponent, selector: "nol-tool-call", inputs: ["call", "views", "outputLines", "childrenStep", "titleTooltip", "cancelLabel", "shownTitles"], outputs: ["viewsChange", "cancel", "openTarget", "outputRequest"] }, { kind: "directive", type: ToolCallOutputDirective, selector: "ng-template[nolToolCallOutput]" }] });
|
|
93
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
94
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: GalleryContentComponent, isStandalone: true, selector: "nol-gallery-content", 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-avatar />\n\n<nol-gallery-card />\n\n<nol-gallery-code-block />\n\n<nol-gallery-specimen [name]=\"text.diffView\" [size]=\"sizes.Full\" noHover>\n <nol-gallery-cell [caption]=\"text.defaultState\"><nol-diff-view [label]=\"text.diffLabel\" [files]=\"diffFiles\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.diffSideBySideCaption\"><nol-diff-view [label]=\"text.diffLabel\" [files]=\"diffFiles\" [layout]=\"sideBySide\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.diffReviewedCaption\"><nol-diff-view [label]=\"text.diffLabel\" [files]=\"diffFiles\" [reviews]=\"diffReviews\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.diffPartlyReviewedCaption\"><nol-diff-view [label]=\"text.diffLabel\" [files]=\"diffPartial\" [reviews]=\"diffReviews\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.diffCollapsedCaption\"><nol-diff-view [label]=\"text.diffLabel\" [files]=\"diffFiles\" [collapsed]=\"diffCollapsed\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.diffReadOnlyCaption\"><nol-diff-view [label]=\"text.diffLabel\" [files]=\"diffFiles\" [reviews]=\"diffReviews\" [readOnly]=\"true\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.diffNoOpeningCaption\"><nol-diff-view [label]=\"text.diffLabel\" [files]=\"diffFiles\" [readOnly]=\"true\" [canOpenFiles]=\"false\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.diffStatesCaption\"><nol-diff-view [label]=\"text.diffLabel\" [files]=\"diffStates\" [collapseLimit]=\"diffHeldLimit\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.diffEmptyCaption\"><nol-diff-view [label]=\"text.diffLabel\" [files]=\"[]\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\"><nol-diff-view nolGalleryFocus=\".nol-diff-cell-changed\" [label]=\"text.diffLabel\" [files]=\"diffFiles\" /></nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <nol-diff-view class=\"nol-gallery-narrow\" [label]=\"text.diffLabel\" [files]=\"diffLong\" />\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.diffWrappedCaption\">\n <nol-diff-view class=\"nol-gallery-narrow\" [label]=\"text.diffLabel\" [files]=\"diffLong\" [wrapped]=\"true\" />\n </nol-gallery-cell>\n</nol-gallery-specimen>\n\n<nol-gallery-file-badge />\n\n<nol-gallery-inline-code />\n\n<nol-gallery-markdown-view />\n\n<nol-gallery-specimen [name]=\"text.terminal\" [size]=\"sizes.Full\" noHover noFocus noLongText>\n @for (surface of terminalSurfaces; track surface[0]) {\n <nol-gallery-cell [caption]=\"surface[1]\">\n <div class=\"nol-gallery-terminal\" [style.background]=\"'var(--nol-' + surface[0] + ')'\">\n @for (color of terminalColors; track color) {\n <span class=\"nol-gallery-terminal-color\"><span class=\"nol-gallery-terminal-swatch\" [style.background]=\"'var(--nol-terminal-ansi-' + color + ')'\"></span>{{ color }}</span>\n }\n </div>\n </nol-gallery-cell>\n }\n <nol-gallery-cell [caption]=\"text.terminalTextCaption\">\n <div class=\"nol-gallery-terminal\">\n <span>{{ text.terminalText }}<span class=\"nol-gallery-terminal-cursor\">{{ text.terminalCursor }}</span><span class=\"nol-gallery-terminal-selection\">{{ text.terminalSelected }}</span></span>\n </div>\n </nol-gallery-cell>\n</nol-gallery-specimen>\n\n<nol-gallery-terminal-output />\n\n<nol-gallery-specimen [name]=\"text.statusColors\" noHover noFocus noLongText>\n @for (surface of statusSurfaces; track surface[0]) {\n <nol-gallery-cell [caption]=\"surface[1]\">\n <div class=\"nol-gallery-status\" [style.background]=\"'var(--nol-' + surface[0] + ')'\">\n @for (status of text.statuses; track status.token) {\n <span class=\"nol-gallery-status-row\"><span class=\"nol-gallery-status-dot\" [style.background]=\"'var(--nol-' + status.token + ')'\"></span>{{ status.label }}</span>\n }\n </div>\n </nol-gallery-cell>\n }\n</nol-gallery-specimen>\n\n<nol-gallery-specimen [name]=\"text.toolCall\" [size]=\"sizes.Full\">\n <nol-gallery-cell [caption]=\"text.defaultState\"><nol-tool-call [call]=\"calls.read\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.toolCallRunningCaption\"><nol-tool-call [call]=\"calls.running\" [views]=\"calls.runningViews\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.toolCallQueuedCaption\"><nol-tool-call [call]=\"calls.queued\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.toolCallPermissionCaption\"><nol-tool-call [call]=\"calls.awaiting\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.toolCallAnswerCaption\"><nol-tool-call [call]=\"calls.answering\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.toolCallCancelledCaption\"><nol-tool-call [call]=\"calls.cancelled\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.toolCallDeniedCaption\"><nol-tool-call [call]=\"calls.denied\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.toolCallNothingCaption\"><nol-tool-call [call]=\"calls.nothing\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.toolCallNestedCaption\"><nol-tool-call [call]=\"calls.nested\" [views]=\"calls.nestedViews\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.toolCallNestedClosedCaption\"><nol-tool-call [call]=\"calls.nestedClosed\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.toolCallLongOutputCaption\"><nol-tool-call [call]=\"calls.longOutput\" [views]=\"calls.openViews\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.toolCallAllLinesCaption\"><nol-tool-call [call]=\"calls.allLines\" [views]=\"calls.openViews\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.toolCallControlCaption\">\n <nol-tool-call [call]=\"calls.control\" [views]=\"calls.openViews\">\n <ng-template nolToolCallOutput let-call><nol-code-block [language]=\"text.toolCallDiff\" [code]=\"call.output ?? text.toolCallNoDiff\" /></ng-template>\n </nol-tool-call>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.toolCallLoadingCaption\"><nol-tool-call [call]=\"calls.loading\" [views]=\"calls.openViews\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\"><nol-tool-call [nolGalleryHover]=\"toggle\" [call]=\"calls.read\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\"><nol-tool-call [nolGalleryFocus]=\"toggle\" [call]=\"calls.read\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.toolCallFailedCaption\"><nol-tool-call [call]=\"calls.failed\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.toolCallLoadFailedCaption\"><nol-tool-call [call]=\"calls.loadFailed\" [views]=\"calls.openViews\" /></nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <nol-tool-call class=\"nol-gallery-narrow\" [call]=\"calls.long\" />\n </nol-gallery-cell>\n</nol-gallery-specimen>\n\n<nol-gallery-specimen [name]=\"text.planSection\" [size]=\"sizes.Full\" noHover noFocus>\n <nol-gallery-cell [caption]=\"text.defaultState\"><nol-plan [plan]=\"plans.working\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.planTypedCaption\"><nol-markdown-view [text]=\"text.planTyped\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.planDoneCaption\"><nol-plan [plan]=\"plans.done\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.planNotStartedCaption\"><nol-plan [plan]=\"plans.notStarted\" /></nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <nol-plan class=\"nol-gallery-narrow\" [plan]=\"plans.long\" />\n </nol-gallery-cell>\n</nol-gallery-specimen>\n\n<nol-gallery-specimen [name]=\"text.permissionCard\" [size]=\"sizes.Full\">\n <nol-gallery-cell [caption]=\"text.defaultState\"><nol-permission-card [request]=\"permissions.pending\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionMediumCaption\"><nol-permission-card [request]=\"permissions.medium\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionHighCaption\"><nol-permission-card [request]=\"permissions.high\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionConfirmCaption\"><nol-permission-card [nolGalleryPress]=\"alwaysAllow\" [request]=\"permissions.confirming\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionAppOptionsCaption\"><nol-permission-card [request]=\"permissions.appOptions\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionSendingCaption\"><nol-permission-card [request]=\"permissions.sending\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionSendFailedCaption\"><nol-permission-card [request]=\"permissions.sendFailed\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionAllowedOnceCaption\"><nol-permission-card [request]=\"permissions.allowedOnce\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionAlwaysAllowedCaption\"><nol-permission-card [request]=\"permissions.alwaysAllowed\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionDeniedCaption\"><nol-permission-card [request]=\"permissions.denied\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionAlwaysDeniedCaption\"><nol-permission-card [request]=\"permissions.alwaysDenied\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionUnscopedCaption\"><nol-permission-card [request]=\"permissions.unscoped\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionExpiredCaption\"><nol-permission-card [request]=\"permissions.expired\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionWithdrawnCaption\"><nol-permission-card [request]=\"permissions.withdrawn\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionLongDetailsCaption\"><nol-permission-card [request]=\"permissions.longDetails\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionExpandedCaption\"><nol-permission-card [request]=\"permissions.expanded\" [detailsExpanded]=\"true\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\"><nol-permission-card [nolGalleryHover]=\"option\" [request]=\"permissions.hover\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\"><nol-permission-card [nolGalleryFocus]=\"option\" [request]=\"permissions.focus\" /></nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <nol-permission-card class=\"nol-gallery-narrow\" [request]=\"permissions.long\" />\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-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-content-run {\n width: 100%;\n}\n\n.nol-gallery-content-card {\n width: 12.5rem;\n}\n\n.nol-gallery-content-paragraph {\n margin: 0;\n}\n\n.nol-gallery-files {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2) var(--nol-space-4);\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n.nol-gallery-file {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n min-width: 0;\n font-size: var(--nol-text-panel);\n overflow-wrap: anywhere;\n}\n\n.nol-gallery-terminal {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2) var(--nol-space-4);\n padding: var(--nol-space-3);\n background: var(--nol-terminal-background);\n color: var(--nol-terminal-foreground);\n font-family: var(--nol-font-mono);\n}\n\n.nol-gallery-terminal-color {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n}\n\n.nol-gallery-terminal-swatch {\n width: 1rem;\n height: 1rem;\n}\n\n.nol-gallery-status {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n padding: var(--nol-space-3);\n color: var(--nol-text);\n}\n\n.nol-gallery-status-row {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n}\n\n.nol-gallery-status-dot {\n flex: none;\n width: 0.5rem;\n height: 0.5rem;\n border-radius: 50%;\n forced-color-adjust: none;\n}\n\n.nol-gallery-terminal-cursor {\n background: var(--nol-terminal-cursor);\n}\n\n.nol-gallery-terminal-selection {\n background: var(--nol-terminal-selection);\n color: var(--nol-terminal-selection-foreground);\n}\n\n.nol-gallery-content-message {\n font-size: var(--nol-text-message);\n line-height: var(--nol-line-message);\n}\n"], dependencies: [{ kind: "component", type: CodeBlockComponent, selector: "nol-code-block", inputs: ["code", "language", "wrapped", "maxHeight", "streaming", "runnable", "runState"], outputs: ["wrappedChange", "run"] }, { kind: "component", type: DiffViewComponent, selector: "nol-diff-view", inputs: ["files", "label", "layout", "wrapped", "readOnly", "canOpenFiles", "reviews", "collapsed", "revealed", "collapseLimit", "hasShortcuts"], outputs: ["layoutChange", "wrappedChange", "collapsedChange", "revealedChange", "reviewRequested", "fileOpenRequested", "contextRequested", "fileExpanded", "lineCommentRequested"] }, { kind: "component", type: GalleryAvatarComponent, selector: "nol-gallery-avatar" }, { kind: "component", type: GalleryCardComponent, selector: "nol-gallery-card" }, { kind: "component", type: GalleryCellComponent, selector: "nol-gallery-cell", inputs: ["caption"] }, { kind: "component", type: GalleryCodeBlockComponent, selector: "nol-gallery-code-block" }, { kind: "component", type: GalleryFileBadgeComponent, selector: "nol-gallery-file-badge" }, { kind: "component", type: GalleryInlineCodeComponent, selector: "nol-gallery-inline-code" }, { kind: "component", type: GalleryMarkdownViewComponent, selector: "nol-gallery-markdown-view" }, { kind: "directive", type: GalleryPressDirective, selector: "[nolGalleryPress]", inputs: ["nolGalleryPress"] }, { kind: "component", type: GallerySpecimenComponent, selector: "nol-gallery-specimen", inputs: ["name", "size"] }, { kind: "directive", type: GalleryStateDirective, selector: "[nolGalleryHover], [nolGalleryFocus]", inputs: ["nolGalleryHover", "nolGalleryFocus"] }, { kind: "component", type: GalleryTerminalOutputComponent, selector: "nol-gallery-terminal-output" }, { kind: "component", type: MarkdownViewComponent, selector: "nol-markdown-view", inputs: ["text", "streaming", "entering", "paced", "mentions", "mentionNames", "fileLinks", "linkSchemes", "folderLinks", "references", "shellRuns", "math", "shellRunStates", "shellRunOutputs"], outputs: ["linkActivate", "linkOpen", "linkMenu", "fileActivate", "filePathsChange", "shellRun"] }, { kind: "component", type: PermissionCardComponent, selector: "nol-permission-card", inputs: ["request", "detailsExpanded", "detailLines"], outputs: ["detailsExpandedChange", "decide"] }, { kind: "component", type: PlanComponent, selector: "nol-plan", inputs: ["plan", "framed"] }, { kind: "component", type: ToolCallComponent, selector: "nol-tool-call", inputs: ["call", "views", "outputLines", "childrenStep", "titleTooltip", "cancelLabel", "shownTitles"], outputs: ["viewsChange", "cancel", "openTarget", "outputRequest"] }, { kind: "directive", type: ToolCallOutputDirective, selector: "ng-template[nolToolCallOutput]" }] });
|
|
95
95
|
}
|
|
96
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
96
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryContentComponent, decorators: [{
|
|
97
97
|
type: Component,
|
|
98
98
|
args: [{ selector: "nol-gallery-content", imports: [CodeBlockComponent, DiffViewComponent, GalleryAvatarComponent, GalleryCardComponent, GalleryCellComponent, GalleryCodeBlockComponent, GalleryFileBadgeComponent, GalleryInlineCodeComponent,
|
|
99
99
|
GalleryMarkdownViewComponent, GalleryPressDirective, GallerySpecimenComponent, GalleryStateDirective, GalleryTerminalOutputComponent, MarkdownViewComponent, PermissionCardComponent, PlanComponent,
|
|
@@ -37,10 +37,10 @@ export class GalleryDialogComponent {
|
|
|
37
37
|
parent: this.injector
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
41
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.
|
|
40
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
41
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryDialogComponent, isStandalone: true, selector: "nol-gallery-dialog", 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.dialog\" [size]=\"sizes.Full\" noHover>\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <ng-container [ngTemplateOutlet]=\"dialog\" [ngTemplateOutletInjector]=\"dialogInjector\" />\n </nol-gallery-cell>\n <ng-template #dialog>\n <nol-dialog class=\"nol-gallery-fit\" [title]=\"text.dialogTitle\">\n <span nolDialogDescription>{{ text.dialogBody }}</span>\n <button type=\"button\" nol-button nolDialogAction [variant]=\"variants.Secondary\">{{ text.dialogCancel }}</button>\n <button type=\"button\" nol-button nolDialogAction [danger]=\"true\">{{ text.dialogConfirm }}</button>\n </nol-dialog>\n </ng-template>\n <nol-gallery-cell [caption]=\"text.mediumCaption\">\n <ng-container [ngTemplateOutlet]=\"mediumDialog\" [ngTemplateOutletInjector]=\"mediumDialogInjector\" />\n </nol-gallery-cell>\n <ng-template #mediumDialog>\n <nol-dialog class=\"nol-gallery-fit\" [title]=\"text.dialogTitle\" [size]=\"dialogSizes.Medium\">\n <span nolDialogDescription>{{ text.dialogBody }}</span>\n <button type=\"button\" nol-button nolDialogAction [variant]=\"variants.Secondary\">{{ text.dialogCancel }}</button>\n <button type=\"button\" nol-button nolDialogAction [danger]=\"true\">{{ text.dialogConfirm }}</button>\n </nol-dialog>\n </ng-template>\n <nol-gallery-cell [caption]=\"text.largeCaption\">\n <ng-container [ngTemplateOutlet]=\"largeDialog\" [ngTemplateOutletInjector]=\"largeDialogInjector\" />\n </nol-gallery-cell>\n <ng-template #largeDialog>\n <nol-dialog class=\"nol-gallery-fit nol-gallery-large-dialog\" [title]=\"text.largeDialogTitle\" [size]=\"dialogSizes.Large\">\n <p class=\"nol-gallery-large-dialog-body\">{{ text.largeDialogBody }}</p>\n </nol-dialog>\n </ng-template>\n <nol-gallery-cell [caption]=\"text.focus\">\n <ng-container [ngTemplateOutlet]=\"focusDialog\" [ngTemplateOutletInjector]=\"focusDialogInjector\" />\n </nol-gallery-cell>\n <ng-template #focusDialog>\n <nol-dialog class=\"nol-gallery-fit\" [title]=\"text.dialogTitle\">\n {{ text.dialogBody }}\n <button type=\"button\" nol-button nolDialogAction nolGalleryFocus [variant]=\"variants.Secondary\">{{ text.dialogCancel }}</button>\n <button type=\"button\" nol-button nolDialogAction [danger]=\"true\">{{ text.dialogConfirm }}</button>\n </nol-dialog>\n </ng-template>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <ng-container [ngTemplateOutlet]=\"longDialog\" [ngTemplateOutletInjector]=\"longDialogInjector\" />\n </nol-gallery-cell>\n <ng-template #longDialog>\n <nol-dialog class=\"nol-gallery-fit nol-gallery-narrow\" [title]=\"text.dialogLongTitle\">\n {{ text.dialogBody }}\n <button type=\"button\" nol-button nolDialogAction [danger]=\"true\">{{ text.dialogConfirm }}</button>\n </nol-dialog>\n </ng-template>\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-menu {\n width: 16rem;\n}\n\n.nol-gallery-fit {\n max-width: 100%;\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-large-dialog {\n --nol-dialog-large-width: 36rem;\n --nol-dialog-large-height: 14rem;\n --nol-dialog-large-min-height: 14rem;\n}\n\n.nol-gallery-large-dialog-body {\n margin: 0;\n padding: var(--nol-dialog-body-padding);\n padding-block: var(--nol-space-3);\n}\n\n.nol-gallery-context {\n padding: var(--nol-space-2) var(--nol-space-3);\n border: var(--nol-border-width) dashed var(--nol-border);\n border-radius: var(--nol-radius-medium);\n}\n\n.nol-gallery-popover-title {\n margin: 0;\n font-size: inherit;\n font-weight: var(--nol-weight-emphasis);\n line-height: inherit;\n}\n\n.nol-gallery-popover-text {\n margin: 0;\n overflow-wrap: anywhere;\n}\n\n.nol-gallery-mention-box {\n position: relative;\n border-radius: var(--nol-radius-small);\n background-color: var(--nol-input);\n}\n\n.nol-gallery-mention-field {\n display: block;\n box-sizing: border-box;\n width: 100%;\n min-height: calc(var(--nol-field-height) * 2);\n margin: 0;\n padding: var(--nol-space-1) var(--nol-field-padding);\n border: var(--nol-border-width) solid var(--nol-input-border);\n border-radius: var(--nol-radius-small);\n color: var(--nol-input-text);\n font: inherit;\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n resize: none;\n}\n\n.nol-gallery-mention-field::placeholder {\n color: var(--nol-placeholder);\n opacity: 1;\n}\n\n.nol-gallery-mention-field:focus {\n border-color: var(--nol-accent);\n outline: none;\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: DialogComponent, selector: "nol-dialog", inputs: ["title", "size"], outputs: ["dismissed"] }, { kind: "directive", type: DialogDescriptionDirective, selector: "[nolDialogDescription]" }, { 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: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
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: GalleryDialogComponent, decorators: [{
|
|
44
44
|
type: Component,
|
|
45
45
|
args: [{ selector: "nol-gallery-dialog", imports: [ButtonComponent, DialogComponent, DialogDescriptionDirective, GalleryCellComponent, GallerySpecimenComponent, GalleryStateDirective, NgTemplateOutlet], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-gallery-specimen [name]=\"text.dialog\" [size]=\"sizes.Full\" noHover>\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <ng-container [ngTemplateOutlet]=\"dialog\" [ngTemplateOutletInjector]=\"dialogInjector\" />\n </nol-gallery-cell>\n <ng-template #dialog>\n <nol-dialog class=\"nol-gallery-fit\" [title]=\"text.dialogTitle\">\n <span nolDialogDescription>{{ text.dialogBody }}</span>\n <button type=\"button\" nol-button nolDialogAction [variant]=\"variants.Secondary\">{{ text.dialogCancel }}</button>\n <button type=\"button\" nol-button nolDialogAction [danger]=\"true\">{{ text.dialogConfirm }}</button>\n </nol-dialog>\n </ng-template>\n <nol-gallery-cell [caption]=\"text.mediumCaption\">\n <ng-container [ngTemplateOutlet]=\"mediumDialog\" [ngTemplateOutletInjector]=\"mediumDialogInjector\" />\n </nol-gallery-cell>\n <ng-template #mediumDialog>\n <nol-dialog class=\"nol-gallery-fit\" [title]=\"text.dialogTitle\" [size]=\"dialogSizes.Medium\">\n <span nolDialogDescription>{{ text.dialogBody }}</span>\n <button type=\"button\" nol-button nolDialogAction [variant]=\"variants.Secondary\">{{ text.dialogCancel }}</button>\n <button type=\"button\" nol-button nolDialogAction [danger]=\"true\">{{ text.dialogConfirm }}</button>\n </nol-dialog>\n </ng-template>\n <nol-gallery-cell [caption]=\"text.largeCaption\">\n <ng-container [ngTemplateOutlet]=\"largeDialog\" [ngTemplateOutletInjector]=\"largeDialogInjector\" />\n </nol-gallery-cell>\n <ng-template #largeDialog>\n <nol-dialog class=\"nol-gallery-fit nol-gallery-large-dialog\" [title]=\"text.largeDialogTitle\" [size]=\"dialogSizes.Large\">\n <p class=\"nol-gallery-large-dialog-body\">{{ text.largeDialogBody }}</p>\n </nol-dialog>\n </ng-template>\n <nol-gallery-cell [caption]=\"text.focus\">\n <ng-container [ngTemplateOutlet]=\"focusDialog\" [ngTemplateOutletInjector]=\"focusDialogInjector\" />\n </nol-gallery-cell>\n <ng-template #focusDialog>\n <nol-dialog class=\"nol-gallery-fit\" [title]=\"text.dialogTitle\">\n {{ text.dialogBody }}\n <button type=\"button\" nol-button nolDialogAction nolGalleryFocus [variant]=\"variants.Secondary\">{{ text.dialogCancel }}</button>\n <button type=\"button\" nol-button nolDialogAction [danger]=\"true\">{{ text.dialogConfirm }}</button>\n </nol-dialog>\n </ng-template>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <ng-container [ngTemplateOutlet]=\"longDialog\" [ngTemplateOutletInjector]=\"longDialogInjector\" />\n </nol-gallery-cell>\n <ng-template #longDialog>\n <nol-dialog class=\"nol-gallery-fit nol-gallery-narrow\" [title]=\"text.dialogLongTitle\">\n {{ text.dialogBody }}\n <button type=\"button\" nol-button nolDialogAction [danger]=\"true\">{{ text.dialogConfirm }}</button>\n </nol-dialog>\n </ng-template>\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-menu {\n width: 16rem;\n}\n\n.nol-gallery-fit {\n max-width: 100%;\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-large-dialog {\n --nol-dialog-large-width: 36rem;\n --nol-dialog-large-height: 14rem;\n --nol-dialog-large-min-height: 14rem;\n}\n\n.nol-gallery-large-dialog-body {\n margin: 0;\n padding: var(--nol-dialog-body-padding);\n padding-block: var(--nol-space-3);\n}\n\n.nol-gallery-context {\n padding: var(--nol-space-2) var(--nol-space-3);\n border: var(--nol-border-width) dashed var(--nol-border);\n border-radius: var(--nol-radius-medium);\n}\n\n.nol-gallery-popover-title {\n margin: 0;\n font-size: inherit;\n font-weight: var(--nol-weight-emphasis);\n line-height: inherit;\n}\n\n.nol-gallery-popover-text {\n margin: 0;\n overflow-wrap: anywhere;\n}\n\n.nol-gallery-mention-box {\n position: relative;\n border-radius: var(--nol-radius-small);\n background-color: var(--nol-input);\n}\n\n.nol-gallery-mention-field {\n display: block;\n box-sizing: border-box;\n width: 100%;\n min-height: calc(var(--nol-field-height) * 2);\n margin: 0;\n padding: var(--nol-space-1) var(--nol-field-padding);\n border: var(--nol-border-width) solid var(--nol-input-border);\n border-radius: var(--nol-radius-small);\n color: var(--nol-input-text);\n font: inherit;\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n resize: none;\n}\n\n.nol-gallery-mention-field::placeholder {\n color: var(--nol-placeholder);\n opacity: 1;\n}\n\n.nol-gallery-mention-field:focus {\n border-color: var(--nol-accent);\n outline: none;\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n"] }]
|
|
46
46
|
}] });
|
|
@@ -103,10 +103,10 @@ export class GalleryFeedComponent {
|
|
|
103
103
|
}, GalleryResources.feedReplyInterval);
|
|
104
104
|
this.timers.add(cancel);
|
|
105
105
|
}
|
|
106
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
107
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.
|
|
106
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryFeedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
107
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryFeedComponent, isStandalone: true, selector: "nol-gallery-feed", 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-message />\n\n<nol-gallery-specimen [name]=\"text.referenceChips\" [size]=\"sizes.Wide\" noHover>\n <nol-gallery-cell [caption]=\"text.referenceStates\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"referenced\" [references]=\"references\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceRuns\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"runs\" [references]=\"references\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceMoreKinds\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"moreKinds\" [references]=\"references\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceMarks\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"marked\" [references]=\"references\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceReadingCaption\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"reading\" [references]=\"references\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referencePullCard\"><nol-link-reference-card [reference]=\"pullRequest\" [state]=\"open\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceIssueCard\"><nol-link-reference-card [reference]=\"issue\" [state]=\"open\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceRunCard\"><nol-link-reference-card [reference]=\"run\" [state]=\"failed\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceMergeCard\"><nol-link-reference-card [reference]=\"mergeRequest\" [state]=\"open\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceWorkItemCard\"><nol-link-reference-card [reference]=\"workItem\" [state]=\"bug\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceCommitCard\"><nol-link-reference-card [reference]=\"commit\" [state]=\"commitState\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <a class=\"nol-markdown-link\" nol-link-reference-chip nolGalleryFocus=\"\" [reference]=\"pullRequest\" [href]=\"pullUrl\" (click)=\"$event.preventDefault()\"></a>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <div class=\"nol-gallery-message nol-gallery-narrow\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"longReference\" [references]=\"references\" /></div>\n </nol-gallery-cell>\n</nol-gallery-specimen>\n\n<nol-gallery-specimen [name]=\"text.virtualFeed\" [size]=\"sizes.Wide\" noHover>\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <div class=\"nol-gallery-feed\">\n <nol-virtual-list class=\"nol-gallery-feed-list\" [kind]=\"kinds.Feed\" [label]=\"text.virtualFeedLabel\" [source]=\"messages\" [busy]=\"replies() > 0\">\n <ng-template [nolVirtualRow]=\"messages\" let-message let-labelId=\"labelId\">\n <ng-container [ngTemplateOutlet]=\"row\" [ngTemplateOutletContext]=\"{ $implicit: message, labelId }\" />\n </ng-template>\n </nol-virtual-list>\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" (click)=\"streamReply()\">{{ text.virtualFeedStream }}</button>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.virtualFeedSlow\">\n <nol-virtual-list class=\"nol-gallery-feed-list nol-gallery-feed-slow\" [kind]=\"kinds.Feed\" [label]=\"text.virtualFeedLabel\" [source]=\"slowMessages\">\n <ng-template [nolVirtualRow]=\"slowMessages\" let-message let-labelId=\"labelId\">\n <ng-container [ngTemplateOutlet]=\"row\" [ngTemplateOutletContext]=\"{ $implicit: message, labelId }\" />\n </ng-template>\n </nol-virtual-list>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.virtualFeedNewest\">\n <div class=\"nol-gallery-feed\">\n <nol-virtual-list class=\"nol-gallery-feed-list nol-gallery-feed-newest\" [kind]=\"kinds.Feed\" [latest]=\"edges.Start\" [label]=\"text.virtualFeedLabel\" [source]=\"newestMessages\">\n <ng-template [nolVirtualRow]=\"newestMessages\" let-message let-labelId=\"labelId\">\n <ng-container [ngTemplateOutlet]=\"row\" [ngTemplateOutletContext]=\"{ $implicit: message, labelId }\" />\n </ng-template>\n </nol-virtual-list>\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" (click)=\"addNewest()\">{{ text.virtualFeedAdd }}</button>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <nol-virtual-list class=\"nol-gallery-feed-list nol-gallery-feed-short\" [nolGalleryFocus]=\"focusedFeed\" [kind]=\"kinds.Feed\" [label]=\"text.virtualFeedLabel\" [source]=\"shortMessages\">\n <ng-template [nolVirtualRow]=\"shortMessages\" let-message let-labelId=\"labelId\">\n <ng-container [ngTemplateOutlet]=\"row\" [ngTemplateOutletContext]=\"{ $implicit: message, labelId }\" />\n </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-feed-list nol-gallery-feed-short nol-gallery-narrow\" [kind]=\"kinds.Feed\" [label]=\"text.virtualFeedLabel\" [source]=\"longMessages\">\n <ng-template [nolVirtualRow]=\"longMessages\" let-message let-labelId=\"labelId\">\n <ng-container [ngTemplateOutlet]=\"row\" [ngTemplateOutletContext]=\"{ $implicit: message, labelId }\" />\n </ng-template>\n </nol-virtual-list>\n </nol-gallery-cell>\n <ng-template #row let-message let-labelId=\"labelId\">\n <nol-message [author]=\"message.author\" [time]=\"message.time\" [blocks]=\"message.blocks\" [status]=\"message.status\" [key]=\"message.key\" [labelId]=\"labelId\" />\n </ng-template>\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: block;\n}\n\n.nol-gallery-feed {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n justify-items: start;\n gap: var(--nol-space-2);\n}\n\n.nol-gallery-feed-list {\n width: 30rem;\n max-width: 100%;\n height: 24rem;\n}\n\n.nol-gallery-feed-short {\n height: 10rem;\n}\n\n.nol-gallery-message {\n display: block;\n width: 30rem;\n max-width: 100%;\n}\n\n.nol-gallery-message-slot {\n margin: 0;\n color: var(--nol-text-muted);\n}\n\n.nol-gallery-message-image {\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n width: 12rem;\n height: 4rem;\n border: var(--nol-border-width) dashed var(--nol-border);\n border-radius: var(--nol-radius-medium);\n color: var(--nol-text-muted);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: GalleryCellComponent, selector: "nol-gallery-cell", inputs: ["caption"] }, { kind: "component", type: GalleryMessageComponent, selector: "nol-gallery-message" }, { kind: "component", type: GallerySpecimenComponent, selector: "nol-gallery-specimen", inputs: ["name", "size"] }, { kind: "directive", type: GalleryStateDirective, selector: "[nolGalleryHover], [nolGalleryFocus]", inputs: ["nolGalleryHover", "nolGalleryFocus"] }, { kind: "component", type: LinkReferenceCardComponent, selector: "nol-link-reference-card", inputs: ["reference", "state"], outputs: ["linkActivate", "linkMenu"] }, { kind: "component", type: LinkReferenceChipComponent, selector: "a[nol-link-reference-chip]", inputs: ["reference"], outputs: ["linkActivate", "linkMenu"] }, { kind: "component", type: MessageComponent, selector: "nol-message", inputs: ["author", "authorDescription", "time", "blocks", "status", "error", "key", "continuation", "selected", "selectionLook", "header", "footer", "actionsTop", "actionsEnd", "flashStart", "labelId", "collapsedHeight", "layout", "timeFormat", "twentyFourHour", "mentions", "mentionNames", "fileLinks", "linkSchemes", "copyText", "folderLinks", "references", "shellRuns", "shellRunStates", "shellRunOutputs", "math"], outputs: ["copied", "retry", "attachmentOpen", "linkActivate", "linkOpen", "linkMenu", "fileActivate", "filePathsChange", "shellRun", "contextMenuRequest"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { 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"] }] });
|
|
108
108
|
}
|
|
109
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
109
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryFeedComponent, decorators: [{
|
|
110
110
|
type: Component,
|
|
111
111
|
args: [{ selector: "nol-gallery-feed", imports: [ButtonComponent, GalleryCellComponent, GalleryMessageComponent, GallerySpecimenComponent, GalleryStateDirective, LinkReferenceCardComponent, LinkReferenceChipComponent,
|
|
112
112
|
MessageComponent, NgTemplateOutlet, 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-message />\n\n<nol-gallery-specimen [name]=\"text.referenceChips\" [size]=\"sizes.Wide\" noHover>\n <nol-gallery-cell [caption]=\"text.referenceStates\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"referenced\" [references]=\"references\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceRuns\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"runs\" [references]=\"references\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceMoreKinds\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"moreKinds\" [references]=\"references\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceMarks\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"marked\" [references]=\"references\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceReadingCaption\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"reading\" [references]=\"references\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referencePullCard\"><nol-link-reference-card [reference]=\"pullRequest\" [state]=\"open\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceIssueCard\"><nol-link-reference-card [reference]=\"issue\" [state]=\"open\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceRunCard\"><nol-link-reference-card [reference]=\"run\" [state]=\"failed\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceMergeCard\"><nol-link-reference-card [reference]=\"mergeRequest\" [state]=\"open\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceWorkItemCard\"><nol-link-reference-card [reference]=\"workItem\" [state]=\"bug\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceCommitCard\"><nol-link-reference-card [reference]=\"commit\" [state]=\"commitState\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <a class=\"nol-markdown-link\" nol-link-reference-chip nolGalleryFocus=\"\" [reference]=\"pullRequest\" [href]=\"pullUrl\" (click)=\"$event.preventDefault()\"></a>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <div class=\"nol-gallery-message nol-gallery-narrow\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"longReference\" [references]=\"references\" /></div>\n </nol-gallery-cell>\n</nol-gallery-specimen>\n\n<nol-gallery-specimen [name]=\"text.virtualFeed\" [size]=\"sizes.Wide\" noHover>\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <div class=\"nol-gallery-feed\">\n <nol-virtual-list class=\"nol-gallery-feed-list\" [kind]=\"kinds.Feed\" [label]=\"text.virtualFeedLabel\" [source]=\"messages\" [busy]=\"replies() > 0\">\n <ng-template [nolVirtualRow]=\"messages\" let-message let-labelId=\"labelId\">\n <ng-container [ngTemplateOutlet]=\"row\" [ngTemplateOutletContext]=\"{ $implicit: message, labelId }\" />\n </ng-template>\n </nol-virtual-list>\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" (click)=\"streamReply()\">{{ text.virtualFeedStream }}</button>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.virtualFeedSlow\">\n <nol-virtual-list class=\"nol-gallery-feed-list nol-gallery-feed-slow\" [kind]=\"kinds.Feed\" [label]=\"text.virtualFeedLabel\" [source]=\"slowMessages\">\n <ng-template [nolVirtualRow]=\"slowMessages\" let-message let-labelId=\"labelId\">\n <ng-container [ngTemplateOutlet]=\"row\" [ngTemplateOutletContext]=\"{ $implicit: message, labelId }\" />\n </ng-template>\n </nol-virtual-list>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.virtualFeedNewest\">\n <div class=\"nol-gallery-feed\">\n <nol-virtual-list class=\"nol-gallery-feed-list nol-gallery-feed-newest\" [kind]=\"kinds.Feed\" [latest]=\"edges.Start\" [label]=\"text.virtualFeedLabel\" [source]=\"newestMessages\">\n <ng-template [nolVirtualRow]=\"newestMessages\" let-message let-labelId=\"labelId\">\n <ng-container [ngTemplateOutlet]=\"row\" [ngTemplateOutletContext]=\"{ $implicit: message, labelId }\" />\n </ng-template>\n </nol-virtual-list>\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" (click)=\"addNewest()\">{{ text.virtualFeedAdd }}</button>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <nol-virtual-list class=\"nol-gallery-feed-list nol-gallery-feed-short\" [nolGalleryFocus]=\"focusedFeed\" [kind]=\"kinds.Feed\" [label]=\"text.virtualFeedLabel\" [source]=\"shortMessages\">\n <ng-template [nolVirtualRow]=\"shortMessages\" let-message let-labelId=\"labelId\">\n <ng-container [ngTemplateOutlet]=\"row\" [ngTemplateOutletContext]=\"{ $implicit: message, labelId }\" />\n </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-feed-list nol-gallery-feed-short nol-gallery-narrow\" [kind]=\"kinds.Feed\" [label]=\"text.virtualFeedLabel\" [source]=\"longMessages\">\n <ng-template [nolVirtualRow]=\"longMessages\" let-message let-labelId=\"labelId\">\n <ng-container [ngTemplateOutlet]=\"row\" [ngTemplateOutletContext]=\"{ $implicit: message, labelId }\" />\n </ng-template>\n </nol-virtual-list>\n </nol-gallery-cell>\n <ng-template #row let-message let-labelId=\"labelId\">\n <nol-message [author]=\"message.author\" [time]=\"message.time\" [blocks]=\"message.blocks\" [status]=\"message.status\" [key]=\"message.key\" [labelId]=\"labelId\" />\n </ng-template>\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: block;\n}\n\n.nol-gallery-feed {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n justify-items: start;\n gap: var(--nol-space-2);\n}\n\n.nol-gallery-feed-list {\n width: 30rem;\n max-width: 100%;\n height: 24rem;\n}\n\n.nol-gallery-feed-short {\n height: 10rem;\n}\n\n.nol-gallery-message {\n display: block;\n width: 30rem;\n max-width: 100%;\n}\n\n.nol-gallery-message-slot {\n margin: 0;\n color: var(--nol-text-muted);\n}\n\n.nol-gallery-message-image {\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n width: 12rem;\n height: 4rem;\n border: var(--nol-border-width) dashed var(--nol-border);\n border-radius: var(--nol-radius-medium);\n color: var(--nol-text-muted);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n"] }]
|