@noldova/ui.components.angular 0.0.8 → 0.0.10
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/api/index.d.ts +2 -0
- package/api/index.js +2 -0
- package/api/index.js.map +1 -1
- package/app/components/completion-list/completion-list.component.d.ts +115 -0
- package/app/components/completion-list/completion-list.component.js +72 -0
- package/app/components/completion-list/completion-list.component.js.map +1 -0
- package/app/components/completion-list/completion-list.resources.d.ts +13 -0
- package/app/components/completion-list/completion-list.resources.js +20 -0
- package/app/components/completion-list/completion-list.resources.js.map +1 -0
- package/app/components/gallery/gallery-completion-list.component.d.ts +22 -0
- package/app/components/gallery/gallery-completion-list.component.js +52 -0
- package/app/components/gallery/gallery-completion-list.component.js.map +1 -0
- package/app/components/gallery/gallery-message.component.d.ts +1 -0
- package/app/components/gallery/gallery-message.component.js +3 -2
- package/app/components/gallery/gallery-message.component.js.map +1 -1
- package/app/components/gallery/gallery-overlays.component.js +4 -3
- package/app/components/gallery/gallery-overlays.component.js.map +1 -1
- package/app/components/gallery/gallery-resources.d.ts +22 -0
- package/app/components/gallery/gallery-resources.js +22 -0
- package/app/components/gallery/gallery-resources.js.map +1 -1
- package/app/components/menu/menu-trigger.directive.d.ts +2 -0
- package/app/components/menu/menu-trigger.directive.js +7 -1
- package/app/components/menu/menu-trigger.directive.js.map +1 -1
- package/app/components/message/message-slot.directive.d.ts +8 -1
- package/app/components/message/message-slot.directive.js +3 -2
- package/app/components/message/message-slot.directive.js.map +1 -1
- package/app/components/message/message.component.d.ts +1 -0
- package/app/components/message/message.component.js +6 -2
- package/app/components/message/message.component.js.map +1 -1
- package/app/components/toolbar-button/toolbar-button.component.d.ts +7 -6
- package/app/components/toolbar-button/toolbar-button.component.js +2 -2
- package/app/components/toolbar-button/toolbar-button.component.js.map +1 -1
- package/app/models/completion-choice.d.ts +32 -0
- package/app/models/completion-choice.js +22 -0
- package/app/models/completion-choice.js.map +1 -0
- package/app/models/completion-choice.resources.d.ts +11 -0
- package/app/models/completion-choice.resources.js +12 -0
- package/app/models/completion-choice.resources.js.map +1 -0
- package/package.json +2 -2
package/api/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export { ChoicePillsComponent } from "../app/components/choice-pills/choice-pill
|
|
|
15
15
|
export { ChoiceRowComponent } from "../app/components/choice-row/choice-row.component.js";
|
|
16
16
|
export { CodeBlockComponent } from "../app/components/code-block/code-block.component.js";
|
|
17
17
|
export { ShellRunOutputDirective } from "../app/components/code-block/shell-run-output.directive.js";
|
|
18
|
+
export { CompletionListComponent } from "../app/components/completion-list/completion-list.component.js";
|
|
18
19
|
export { ConfigurationTableActionDirective } from "../app/components/configuration-table/configuration-table-action.directive.js";
|
|
19
20
|
export { ConfigurationTableFillDirective } from "../app/components/configuration-table/configuration-table-fill.directive.js";
|
|
20
21
|
export { ConfigurationTableRowActionsDirective } from "../app/components/configuration-table/configuration-table-row-actions.directive.js";
|
|
@@ -145,6 +146,7 @@ export type { IVirtualListObserver } from "../app/interfaces/i-virtual-list-obse
|
|
|
145
146
|
export type { IVirtualRowContext } from "../app/interfaces/i-virtual-row-context.js";
|
|
146
147
|
export { ArrayVirtualListSource } from "../app/models/array-virtual-list-source.js";
|
|
147
148
|
export { ColorToken } from "../app/models/color-token.js";
|
|
149
|
+
export { CompletionChoice } from "../app/models/completion-choice.js";
|
|
148
150
|
export { DialogTokens } from "../app/models/dialog-tokens.js";
|
|
149
151
|
export { DiffAddedLine } from "../app/models/diff-added-line.js";
|
|
150
152
|
export { DiffBinary } from "../app/models/diff-binary.js";
|
package/api/index.js
CHANGED
|
@@ -15,6 +15,7 @@ export { ChoicePillsComponent } from "../app/components/choice-pills/choice-pill
|
|
|
15
15
|
export { ChoiceRowComponent } from "../app/components/choice-row/choice-row.component.js";
|
|
16
16
|
export { CodeBlockComponent } from "../app/components/code-block/code-block.component.js";
|
|
17
17
|
export { ShellRunOutputDirective } from "../app/components/code-block/shell-run-output.directive.js";
|
|
18
|
+
export { CompletionListComponent } from "../app/components/completion-list/completion-list.component.js";
|
|
18
19
|
export { ConfigurationTableActionDirective } from "../app/components/configuration-table/configuration-table-action.directive.js";
|
|
19
20
|
export { ConfigurationTableFillDirective } from "../app/components/configuration-table/configuration-table-fill.directive.js";
|
|
20
21
|
export { ConfigurationTableRowActionsDirective } from "../app/components/configuration-table/configuration-table-row-actions.directive.js";
|
|
@@ -134,6 +135,7 @@ export { TreeMoveException } from "../app/exceptions/tree-move.exception.js";
|
|
|
134
135
|
export { VirtualListException } from "../app/exceptions/virtual-list.exception.js";
|
|
135
136
|
export { ArrayVirtualListSource } from "../app/models/array-virtual-list-source.js";
|
|
136
137
|
export { ColorToken } from "../app/models/color-token.js";
|
|
138
|
+
export { CompletionChoice } from "../app/models/completion-choice.js";
|
|
137
139
|
export { DialogTokens } from "../app/models/dialog-tokens.js";
|
|
138
140
|
export { DiffAddedLine } from "../app/models/diff-added-line.js";
|
|
139
141
|
export { DiffBinary } from "../app/models/diff-binary.js";
|
package/api/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/noldova.ui.components.angular/src/api/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,sDAAsD,CAAC;AAC1F,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAC/E,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAC/E,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kDAAkD,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AAChG,OAAO,EAAE,kBAAkB,EAAE,MAAM,sDAAsD,CAAC;AAC1F,OAAO,EAAE,kBAAkB,EAAE,MAAM,sDA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AE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AACtE,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAC7E,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { type Signal } from "@angular/core";
|
|
9
|
+
import "@noldova/context.core";
|
|
10
|
+
import type { CompletionChoice } from "../../models/completion-choice.js";
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
/**
|
|
13
|
+
* A completion list, `nol-completion-list`: the choices a field offers for
|
|
14
|
+
* what the person is typing, such as commands after a slash or names in
|
|
15
|
+
* code, each a label with an optional note at the row's end. The owner keeps
|
|
16
|
+
* the focus in its field, filters the choices, moves the active one with the
|
|
17
|
+
* keys and points the field's `aria-activedescendant` at
|
|
18
|
+
* {@link CompletionListComponent.optionId}; the list shows the choices, marks
|
|
19
|
+
* and scrolls to the active one and reports the one clicked. A press on the
|
|
20
|
+
* list never takes the focus from the field.
|
|
21
|
+
*
|
|
22
|
+
* The host element is the listbox: it has the `listbox` role, its id is
|
|
23
|
+
* {@link CompletionListComponent.listId} and its accessible name is
|
|
24
|
+
* {@link CompletionListComponent.label}, so the field's `aria-controls`
|
|
25
|
+
* names it. Each choice is an `option` whose accessible name is its label,
|
|
26
|
+
* then a comma and its note when it has one; the note is plain text with no
|
|
27
|
+
* role of its own.
|
|
28
|
+
*
|
|
29
|
+
* The host carries the menu's box, its border, corner, fill and shadow, and
|
|
30
|
+
* the menu item's rows, with the active row filled as a hovered menu item
|
|
31
|
+
* is. The kit sets no position, z-index or width: the owner places the list,
|
|
32
|
+
* such as in an overlay above its field, and sizes it. Its height is at most
|
|
33
|
+
* twelve rows, or {@link CompletionListComponent.maxHeight} when that is
|
|
34
|
+
* less, and the rows scroll inside it.
|
|
35
|
+
*/
|
|
36
|
+
export declare class CompletionListComponent {
|
|
37
|
+
private readonly host;
|
|
38
|
+
protected readonly ids: Signal<readonly string[]>;
|
|
39
|
+
protected readonly names: Signal<readonly string[]>;
|
|
40
|
+
protected readonly room: Signal<string | null>;
|
|
41
|
+
/**
|
|
42
|
+
* The choices in the order shown.
|
|
43
|
+
*/
|
|
44
|
+
readonly choices: import("@angular/core").InputSignal<readonly CompletionChoice[]>;
|
|
45
|
+
/**
|
|
46
|
+
* The index of the active choice, marked `aria-selected` and scrolled into
|
|
47
|
+
* view, or -1, or any index past the end, for none.
|
|
48
|
+
*/
|
|
49
|
+
readonly active: import("@angular/core").InputSignal<number>;
|
|
50
|
+
/**
|
|
51
|
+
* The id of the host, unique in the page; each option's id is made from it
|
|
52
|
+
* by {@link CompletionListComponent.optionId}.
|
|
53
|
+
*/
|
|
54
|
+
readonly listId: import("@angular/core").InputSignal<string>;
|
|
55
|
+
/**
|
|
56
|
+
* The list's accessible name.
|
|
57
|
+
*/
|
|
58
|
+
readonly label: import("@angular/core").InputSignal<string>;
|
|
59
|
+
/**
|
|
60
|
+
* Whether the labels are code, shown in the code font; false when not bound.
|
|
61
|
+
*/
|
|
62
|
+
readonly isCode: import("@angular/core").InputSignal<boolean>;
|
|
63
|
+
/**
|
|
64
|
+
* The most the list's height may be, in CSS pixels, such as the room
|
|
65
|
+
* between its field and the window's edge, or null, the default, for twelve
|
|
66
|
+
* rows. The list is never taller than twelve rows.
|
|
67
|
+
*/
|
|
68
|
+
readonly maxHeight: import("@angular/core").InputSignal<number | null>;
|
|
69
|
+
/**
|
|
70
|
+
* Emits the choice the person clicked, the same instance the owner gave in
|
|
71
|
+
* {@link CompletionListComponent.choices}.
|
|
72
|
+
*/
|
|
73
|
+
readonly chosen: import("@angular/core").OutputEmitterRef<CompletionChoice>;
|
|
74
|
+
/**
|
|
75
|
+
* Creates the component, which Angular does for each `nol-completion-list`
|
|
76
|
+
* element.
|
|
77
|
+
*
|
|
78
|
+
* @example
|
|
79
|
+
* ```ts
|
|
80
|
+
* import { Component, type Signal, type WritableSignal, computed, signal } from "@angular/core";
|
|
81
|
+
* import { CompletionChoice, CompletionListComponent } from "@noldova/ui.components.angular";
|
|
82
|
+
*
|
|
83
|
+
* @Component({
|
|
84
|
+
* selector: "nol-command-field",
|
|
85
|
+
* imports: [CompletionListComponent],
|
|
86
|
+
* template: `
|
|
87
|
+
* <input aria-label="Command" role="combobox" aria-controls="nol-commands" [attr.aria-activedescendant]="activeId()"
|
|
88
|
+
* [value]="query()" (input)="query.set($any($event.target).value)" />
|
|
89
|
+
* <nol-completion-list listId="nol-commands" label="Commands" [choices]="choices()" [active]="0" (chosen)="query.set($event.label)" />
|
|
90
|
+
* `
|
|
91
|
+
* })
|
|
92
|
+
* export class CommandFieldComponent {
|
|
93
|
+
* private readonly all: readonly CompletionChoice[] = [new CompletionChoice("/review", "Review the changes"), new CompletionChoice("/clear")];
|
|
94
|
+
*
|
|
95
|
+
* protected readonly query: WritableSignal<string> = signal("/");
|
|
96
|
+
* protected readonly choices: Signal<readonly CompletionChoice[]> = computed(() => this.all.filter(t => t.label.startsWith(this.query())));
|
|
97
|
+
* protected readonly activeId: Signal<string | null> = computed(() =>
|
|
98
|
+
* this.choices().length > 0 ? CompletionListComponent.optionId("nol-commands", 0) : null);
|
|
99
|
+
* }
|
|
100
|
+
* ```
|
|
101
|
+
*/
|
|
102
|
+
constructor();
|
|
103
|
+
/**
|
|
104
|
+
* The id of the option at an index in the list with an id, `<listId>-option-<index>`,
|
|
105
|
+
* for the field's `aria-activedescendant`.
|
|
106
|
+
*
|
|
107
|
+
* @param listId The list's {@link CompletionListComponent.listId}.
|
|
108
|
+
* @param index The option's index in {@link CompletionListComponent.choices}.
|
|
109
|
+
* @returns The option's id.
|
|
110
|
+
*/
|
|
111
|
+
static optionId(listId: string, index: number): string;
|
|
112
|
+
private static reveal;
|
|
113
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CompletionListComponent, never>;
|
|
114
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CompletionListComponent, "nol-completion-list", never, { "choices": { "alias": "choices"; "required": true; "isSignal": true; }; "active": { "alias": "active"; "required": true; "isSignal": true; }; "listId": { "alias": "listId"; "required": true; "isSignal": true; }; "label": { "alias": "label"; "required": true; "isSignal": true; }; "isCode": { "alias": "isCode"; "required": false; "isSignal": true; }; "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; }, { "chosen": "chosen"; }, never, never, true, never>;
|
|
115
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { Component, ElementRef, afterRenderEffect, computed, inject, input, output } from "@angular/core";
|
|
9
|
+
import "@noldova/context.core";
|
|
10
|
+
import { CompletionListResources } from "./completion-list.resources.js";
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export class CompletionListComponent {
|
|
13
|
+
host = inject(ElementRef).nativeElement;
|
|
14
|
+
ids = computed(() => {
|
|
15
|
+
const listId = this.listId();
|
|
16
|
+
return this.choices().map((_, index) => CompletionListComponent.optionId(listId, index));
|
|
17
|
+
}, /* @ts-ignore */
|
|
18
|
+
...(ngDevMode ? [{ debugName: "ids" }] : /* istanbul ignore next */ []));
|
|
19
|
+
names = computed(() => this.choices().map(t => CompletionListResources.formatCompletionOption(t.label, t.note)), /* @ts-ignore */
|
|
20
|
+
...(ngDevMode ? [{ debugName: "names" }] : /* istanbul ignore next */ []));
|
|
21
|
+
room = computed(() => {
|
|
22
|
+
const maxHeight = this.maxHeight();
|
|
23
|
+
return Object.isNull(maxHeight) ? null : CompletionListResources.formatCompletionListRoom(maxHeight);
|
|
24
|
+
}, /* @ts-ignore */
|
|
25
|
+
...(ngDevMode ? [{ debugName: "room" }] : /* istanbul ignore next */ []));
|
|
26
|
+
choices = input.required(/* @ts-ignore */
|
|
27
|
+
...(ngDevMode ? [{ debugName: "choices" }] : /* istanbul ignore next */ []));
|
|
28
|
+
active = input.required(/* @ts-ignore */
|
|
29
|
+
...(ngDevMode ? [{ debugName: "active" }] : /* istanbul ignore next */ []));
|
|
30
|
+
listId = input.required(/* @ts-ignore */
|
|
31
|
+
...(ngDevMode ? [{ debugName: "listId" }] : /* istanbul ignore next */ []));
|
|
32
|
+
label = input.required(/* @ts-ignore */
|
|
33
|
+
...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
|
|
34
|
+
isCode = input(false, /* @ts-ignore */
|
|
35
|
+
...(ngDevMode ? [{ debugName: "isCode" }] : /* istanbul ignore next */ []));
|
|
36
|
+
maxHeight = input(null, /* @ts-ignore */
|
|
37
|
+
...(ngDevMode ? [{ debugName: "maxHeight" }] : /* istanbul ignore next */ []));
|
|
38
|
+
chosen = output();
|
|
39
|
+
constructor() {
|
|
40
|
+
afterRenderEffect(() => {
|
|
41
|
+
const row = this.host.querySelector(`#${CSS.escape(CompletionListComponent.optionId(this.listId(), this.active()))}`);
|
|
42
|
+
if (!Object.isNull(row))
|
|
43
|
+
CompletionListComponent.reveal(this.host, row);
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
static optionId(listId, index) {
|
|
47
|
+
return CompletionListResources.formatCompletionOptionId(listId, index);
|
|
48
|
+
}
|
|
49
|
+
static reveal(list, row) {
|
|
50
|
+
const top = row.getBoundingClientRect().top - list.getBoundingClientRect().top - list.clientTop + list.scrollTop;
|
|
51
|
+
const bottom = top + row.offsetHeight;
|
|
52
|
+
if (top < list.scrollTop)
|
|
53
|
+
list.scrollTop = top;
|
|
54
|
+
else if (bottom > list.scrollTop + list.clientHeight)
|
|
55
|
+
list.scrollTop = bottom - list.clientHeight;
|
|
56
|
+
}
|
|
57
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: CompletionListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
58
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: CompletionListComponent, isStandalone: true, selector: "nol-completion-list", inputs: { choices: { classPropertyName: "choices", publicName: "choices", isSignal: true, isRequired: true, transformFunction: null }, active: { classPropertyName: "active", publicName: "active", isSignal: true, isRequired: true, transformFunction: null }, listId: { classPropertyName: "listId", publicName: "listId", isSignal: true, isRequired: true, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, isCode: { classPropertyName: "isCode", publicName: "isCode", isSignal: true, isRequired: false, transformFunction: null }, maxHeight: { classPropertyName: "maxHeight", publicName: "maxHeight", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { chosen: "chosen" }, host: { attributes: { "role": "listbox" }, listeners: { "mousedown": "$event.preventDefault()" }, properties: { "id": "listId()", "attr.aria-label": "label()", "class.nol-completion-list-code": "isCode()", "style.--nol-completion-list-room": "room()" }, classAttribute: "nol-completion-list" }, ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@for (choice of choices(); track $index) {\n <div class=\"nol-completion-option\" role=\"option\" [id]=\"ids()[$index]\" [attr.aria-selected]=\"$index === active()\" [attr.aria-label]=\"names()[$index]\" (click)=\"chosen.emit(choice)\">\n <span class=\"nol-completion-label\" data-truncates>{{ choice.label }}</span>\n @if (choice.note; as note) {\n <span class=\"nol-completion-note\">{{ note }}</span>\n }\n </div>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n grid-template-columns: minmax(0, 1fr) auto;\n grid-auto-rows: min-content;\n align-content: start;\n box-sizing: border-box;\n --nol-completion-list-limit: calc(12 * (var(--nol-menu-item-height) + var(--nol-row-gap)) + 2 * (var(--nol-menu-padding) + var(--nol-border-width)));\n\n max-height: min(var(--nol-completion-list-room, var(--nol-completion-list-limit)), var(--nol-completion-list-limit));\n padding-block: var(--nol-menu-padding);\n overflow-x: hidden;\n overflow-y: auto;\n border: var(--nol-border-width) solid var(--nol-menu-border);\n border-radius: var(--nol-radius-large);\n background-color: var(--nol-menu);\n box-shadow: var(--nol-shadow-large);\n color: var(--nol-menu-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.nol-completion-option {\n position: relative;\n isolation: isolate;\n display: grid;\n grid-column: 1 / -1;\n grid-template-columns: subgrid;\n column-gap: var(--nol-menu-item-padding);\n align-items: center;\n box-sizing: border-box;\n min-width: 0;\n min-height: calc(var(--nol-menu-item-height) + var(--nol-row-gap));\n padding-block: var(--nol-tab-inset);\n padding-inline: calc(var(--nol-menu-item-inset) + var(--nol-menu-item-padding));\n white-space: nowrap;\n cursor: pointer;\n}\n\n.nol-completion-option::before {\n position: absolute;\n z-index: -1;\n inset-block: var(--nol-tab-inset);\n inset-inline: var(--nol-menu-item-inset);\n border-radius: var(--nol-radius-medium);\n content: \"\";\n}\n\n.nol-completion-option:is(:hover, [data-nol-state=\"Hover\"], [aria-selected=\"true\"])::before {\n background-color: var(--nol-hover);\n}\n\n@media (forced-colors: active) {\n .nol-completion-option:is(:hover, [data-nol-state=\"Hover\"], [aria-selected=\"true\"])::before {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n\n .nol-completion-option[aria-selected=\"true\"]::before {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n.nol-completion-label {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n:host(.nol-completion-list-code) .nol-completion-label {\n font-family: var(--nol-font-mono);\n}\n\n.nol-completion-note {\n grid-column: 2;\n color: var(--nol-text-muted);\n}\n"] });
|
|
59
|
+
}
|
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: CompletionListComponent, decorators: [{
|
|
61
|
+
type: Component,
|
|
62
|
+
args: [{ selector: "nol-completion-list", host: {
|
|
63
|
+
"class": "nol-completion-list",
|
|
64
|
+
"role": "listbox",
|
|
65
|
+
"[id]": "listId()",
|
|
66
|
+
"[attr.aria-label]": "label()",
|
|
67
|
+
"[class.nol-completion-list-code]": "isCode()",
|
|
68
|
+
"[style.--nol-completion-list-room]": "room()",
|
|
69
|
+
"(mousedown)": "$event.preventDefault()"
|
|
70
|
+
}, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@for (choice of choices(); track $index) {\n <div class=\"nol-completion-option\" role=\"option\" [id]=\"ids()[$index]\" [attr.aria-selected]=\"$index === active()\" [attr.aria-label]=\"names()[$index]\" (click)=\"chosen.emit(choice)\">\n <span class=\"nol-completion-label\" data-truncates>{{ choice.label }}</span>\n @if (choice.note; as note) {\n <span class=\"nol-completion-note\">{{ note }}</span>\n }\n </div>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n grid-template-columns: minmax(0, 1fr) auto;\n grid-auto-rows: min-content;\n align-content: start;\n box-sizing: border-box;\n --nol-completion-list-limit: calc(12 * (var(--nol-menu-item-height) + var(--nol-row-gap)) + 2 * (var(--nol-menu-padding) + var(--nol-border-width)));\n\n max-height: min(var(--nol-completion-list-room, var(--nol-completion-list-limit)), var(--nol-completion-list-limit));\n padding-block: var(--nol-menu-padding);\n overflow-x: hidden;\n overflow-y: auto;\n border: var(--nol-border-width) solid var(--nol-menu-border);\n border-radius: var(--nol-radius-large);\n background-color: var(--nol-menu);\n box-shadow: var(--nol-shadow-large);\n color: var(--nol-menu-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.nol-completion-option {\n position: relative;\n isolation: isolate;\n display: grid;\n grid-column: 1 / -1;\n grid-template-columns: subgrid;\n column-gap: var(--nol-menu-item-padding);\n align-items: center;\n box-sizing: border-box;\n min-width: 0;\n min-height: calc(var(--nol-menu-item-height) + var(--nol-row-gap));\n padding-block: var(--nol-tab-inset);\n padding-inline: calc(var(--nol-menu-item-inset) + var(--nol-menu-item-padding));\n white-space: nowrap;\n cursor: pointer;\n}\n\n.nol-completion-option::before {\n position: absolute;\n z-index: -1;\n inset-block: var(--nol-tab-inset);\n inset-inline: var(--nol-menu-item-inset);\n border-radius: var(--nol-radius-medium);\n content: \"\";\n}\n\n.nol-completion-option:is(:hover, [data-nol-state=\"Hover\"], [aria-selected=\"true\"])::before {\n background-color: var(--nol-hover);\n}\n\n@media (forced-colors: active) {\n .nol-completion-option:is(:hover, [data-nol-state=\"Hover\"], [aria-selected=\"true\"])::before {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n\n .nol-completion-option[aria-selected=\"true\"]::before {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n.nol-completion-label {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n:host(.nol-completion-list-code) .nol-completion-label {\n font-family: var(--nol-font-mono);\n}\n\n.nol-completion-note {\n grid-column: 2;\n color: var(--nol-text-muted);\n}\n"] }]
|
|
71
|
+
}], ctorParameters: () => [], propDecorators: { choices: [{ type: i0.Input, args: [{ isSignal: true, alias: "choices", required: true }] }], active: [{ type: i0.Input, args: [{ isSignal: true, alias: "active", required: true }] }], listId: [{ type: i0.Input, args: [{ isSignal: true, alias: "listId", required: true }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: true }] }], isCode: [{ type: i0.Input, args: [{ isSignal: true, alias: "isCode", required: false }] }], maxHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxHeight", required: false }] }], chosen: [{ type: i0.Output, args: ["chosen"] }] } });
|
|
72
|
+
//# sourceMappingURL=completion-list.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"completion-list.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/completion-list/completion-list.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/completion-list/completion-list.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,UAAU,EAAe,iBAAiB,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEvH,OAAO,uBAAuB,CAAC;AAG/B,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;;AAgBzE,MAAM,OAAO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C,oCAAoC,EAAE,QAAQ;wBAC9C,aAAa,EAAE,yBAAyB;qBACzC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import "@noldova/context.core";
|
|
9
|
+
export declare class CompletionListResources {
|
|
10
|
+
static formatCompletionOption(label: string, note: string | null): string;
|
|
11
|
+
static formatCompletionOptionId(listId: string, index: number): string;
|
|
12
|
+
static formatCompletionListRoom(maxHeight: number): string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import "@noldova/context.core";
|
|
9
|
+
export class CompletionListResources {
|
|
10
|
+
static formatCompletionOption(label, note) {
|
|
11
|
+
return Object.isNull(note) ? label : `${label}, ${note}`;
|
|
12
|
+
}
|
|
13
|
+
static formatCompletionOptionId(listId, index) {
|
|
14
|
+
return `${listId}-option-${index}`;
|
|
15
|
+
}
|
|
16
|
+
static formatCompletionListRoom(maxHeight) {
|
|
17
|
+
return `${maxHeight}px`;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=completion-list.resources.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"completion-list.resources.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/completion-list/completion-list.resources.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,uBAAuB,CAAC;AAE/B,MAAM,OAAO,uBAAuB;IAC3B,MAAM,CAAC,sBAAsB,CAAC,KAAa,EAAE,IAAmB;QACrE,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,KAAK,KAAK,IAAI,EAAE,CAAC;IAC3D,CAAC;IACM,MAAM,CAAC,wBAAwB,CAAC,MAAc,EAAE,KAAa;QAClE,OAAO,GAAG,MAAM,WAAW,KAAK,EAAE,CAAC;IACrC,CAAC;IACM,MAAM,CAAC,wBAAwB,CAAC,SAAiB;QACtD,OAAO,GAAG,SAAS,IAAI,CAAC;IAC1B,CAAC;CACF"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { GallerySize } from "../../enums/gallery-size.js";
|
|
2
|
+
import { CompletionChoice } from "../../models/completion-choice.js";
|
|
3
|
+
import { GalleryResources } from "./gallery-resources.js";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class GalleryCompletionListComponent {
|
|
6
|
+
private static count;
|
|
7
|
+
protected readonly text: typeof GalleryResources.text;
|
|
8
|
+
protected readonly sizes: typeof GallerySize;
|
|
9
|
+
protected readonly hovered: string;
|
|
10
|
+
protected readonly room: number;
|
|
11
|
+
protected readonly defaultListId: string;
|
|
12
|
+
protected readonly hoveredListId: string;
|
|
13
|
+
protected readonly codeListId: string;
|
|
14
|
+
protected readonly roomListId: string;
|
|
15
|
+
protected readonly longListId: string;
|
|
16
|
+
protected readonly commands: readonly CompletionChoice[];
|
|
17
|
+
protected readonly code: readonly CompletionChoice[];
|
|
18
|
+
protected readonly long: readonly CompletionChoice[];
|
|
19
|
+
private static nextListId;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GalleryCompletionListComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GalleryCompletionListComponent, "nol-gallery-completion-list", never, {}, {}, never, never, true, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { Component } from "@angular/core";
|
|
9
|
+
import { GallerySize } from "../../enums/gallery-size.js";
|
|
10
|
+
import { CompletionChoice } from "../../models/completion-choice.js";
|
|
11
|
+
import { CompletionListComponent } from "../completion-list/completion-list.component.js";
|
|
12
|
+
import { GalleryCellComponent } from "./gallery-cell.component.js";
|
|
13
|
+
import { GalleryResources } from "./gallery-resources.js";
|
|
14
|
+
import { GallerySpecimenComponent } from "./gallery-specimen.component.js";
|
|
15
|
+
import { GalleryStateDirective } from "./gallery-state.directive.js";
|
|
16
|
+
import * as i0 from "@angular/core";
|
|
17
|
+
export class GalleryCompletionListComponent {
|
|
18
|
+
static count = 0;
|
|
19
|
+
text = GalleryResources.text;
|
|
20
|
+
sizes = GallerySize;
|
|
21
|
+
hovered = GalleryResources.hoveredCompletion;
|
|
22
|
+
room = GalleryResources.completionRoom;
|
|
23
|
+
defaultListId = GalleryCompletionListComponent.nextListId();
|
|
24
|
+
hoveredListId = GalleryCompletionListComponent.nextListId();
|
|
25
|
+
codeListId = GalleryCompletionListComponent.nextListId();
|
|
26
|
+
roomListId = GalleryCompletionListComponent.nextListId();
|
|
27
|
+
longListId = GalleryCompletionListComponent.nextListId();
|
|
28
|
+
commands = [
|
|
29
|
+
new CompletionChoice(GalleryResources.text.completionReview, GalleryResources.text.completionReviewNote),
|
|
30
|
+
new CompletionChoice(GalleryResources.text.completionPlan, GalleryResources.text.completionPlanNote),
|
|
31
|
+
new CompletionChoice(GalleryResources.text.completionClear)
|
|
32
|
+
];
|
|
33
|
+
code = [
|
|
34
|
+
new CompletionChoice(GalleryResources.text.completionReadFile, GalleryResources.text.completionFunction),
|
|
35
|
+
new CompletionChoice(GalleryResources.text.completionReadonly, GalleryResources.text.completionKeyword),
|
|
36
|
+
new CompletionChoice(GalleryResources.text.completionReadableStream, GalleryResources.text.completionClass)
|
|
37
|
+
];
|
|
38
|
+
long = [
|
|
39
|
+
new CompletionChoice(GalleryResources.text.completionLong, GalleryResources.text.completionReviewNote),
|
|
40
|
+
new CompletionChoice(GalleryResources.text.completionLong)
|
|
41
|
+
];
|
|
42
|
+
static nextListId() {
|
|
43
|
+
return `${GalleryResources.completionListIdPrefix}${GalleryCompletionListComponent.count++}`;
|
|
44
|
+
}
|
|
45
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryCompletionListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
46
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryCompletionListComponent, isStandalone: true, selector: "nol-gallery-completion-list", ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-gallery-specimen [name]=\"text.completionList\" [size]=\"sizes.Wide\" noFocus>\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <nol-completion-list class=\"nol-gallery-menu\" [choices]=\"commands\" [active]=\"0\" [listId]=\"defaultListId\" [label]=\"text.completionLabel\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\">\n <nol-completion-list class=\"nol-gallery-menu\" [nolGalleryHover]=\"hovered\" [choices]=\"commands\" [active]=\"0\" [listId]=\"hoveredListId\" [label]=\"text.completionLabel\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.completionCode\">\n <nol-completion-list class=\"nol-gallery-menu\" [choices]=\"code\" [active]=\"1\" [listId]=\"codeListId\" [label]=\"text.completionLabel\" [isCode]=\"true\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.completionRoom\">\n <nol-completion-list class=\"nol-gallery-menu\" [choices]=\"code\" [active]=\"2\" [listId]=\"roomListId\" [label]=\"text.completionLabel\" [maxHeight]=\"room\" [isCode]=\"true\" />\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <nol-completion-list class=\"nol-gallery-menu nol-gallery-narrow\" [choices]=\"long\" [active]=\"0\" [listId]=\"longListId\" [label]=\"text.completionLabel\" />\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-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: CompletionListComponent, selector: "nol-completion-list", inputs: ["choices", "active", "listId", "label", "isCode", "maxHeight"], outputs: ["chosen"] }, { 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"] }] });
|
|
47
|
+
}
|
|
48
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryCompletionListComponent, decorators: [{
|
|
49
|
+
type: Component,
|
|
50
|
+
args: [{ selector: "nol-gallery-completion-list", imports: [CompletionListComponent, 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.completionList\" [size]=\"sizes.Wide\" noFocus>\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <nol-completion-list class=\"nol-gallery-menu\" [choices]=\"commands\" [active]=\"0\" [listId]=\"defaultListId\" [label]=\"text.completionLabel\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\">\n <nol-completion-list class=\"nol-gallery-menu\" [nolGalleryHover]=\"hovered\" [choices]=\"commands\" [active]=\"0\" [listId]=\"hoveredListId\" [label]=\"text.completionLabel\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.completionCode\">\n <nol-completion-list class=\"nol-gallery-menu\" [choices]=\"code\" [active]=\"1\" [listId]=\"codeListId\" [label]=\"text.completionLabel\" [isCode]=\"true\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.completionRoom\">\n <nol-completion-list class=\"nol-gallery-menu\" [choices]=\"code\" [active]=\"2\" [listId]=\"roomListId\" [label]=\"text.completionLabel\" [maxHeight]=\"room\" [isCode]=\"true\" />\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <nol-completion-list class=\"nol-gallery-menu nol-gallery-narrow\" [choices]=\"long\" [active]=\"0\" [listId]=\"longListId\" [label]=\"text.completionLabel\" />\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-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"] }]
|
|
51
|
+
}] });
|
|
52
|
+
//# sourceMappingURL=gallery-completion-list.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gallery-completion-list.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-completion-list.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-completion-list.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,uBAAuB,EAAE,MAAM,iDAAiD,CAAC;AAC1F,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;;AAQrE,MAAM,OAAO,8BAA8B;IACjC,MAAM,CAAC,KAAK,GAAW,CAAC,CAAC;IAEd,IAAI,GAAiC,gBAAgB,CAAC,IAAI,CAAC;IAC3D,KAAK,GAAuB,WAAW,CAAC;IACxC,OAAO,GAAW,gBAAgB,CAAC,iBAAiB,CAAC;IACrD,IAAI,GAAW,gBAAgB,CAAC,cAAc,CAAC;IAC/C,aAAa,GAAW,8BAA8B,CAAC,UAAU,EAAE,CAAC;IACpE,aAAa,GAAW,8BA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LY,uBAAuB,8JAAE,oBAAoB,kFAAE,wBAAwB,2FAAE,qBAAqB;;2FAI7F,8BAA8B;kBAN1C,SAAS;+BACE,6BAA6B,WAC9B,CAAC,uBAAuB,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,qBAAqB,CAAC"}
|
|
@@ -42,6 +42,7 @@ export declare class GalleryMessageComponent {
|
|
|
42
42
|
protected readonly answer: readonly MessageBlock[];
|
|
43
43
|
protected readonly continued: readonly MessageBlock[];
|
|
44
44
|
protected readonly attached: readonly MessageBlock[];
|
|
45
|
+
protected readonly attachedSlot: readonly MessageBlock[];
|
|
45
46
|
protected readonly pictureAttached: readonly MessageBlock[];
|
|
46
47
|
protected readonly hovered: readonly MessageBlock[];
|
|
47
48
|
protected readonly partial: readonly MessageBlock[];
|
|
@@ -63,6 +63,7 @@ export class GalleryMessageComponent {
|
|
|
63
63
|
new MessageAttachment(this.text.messageAttachmentId, this.text.messageAttachmentName, GalleryResources.messageAttachmentSize, this.text.messageAttachmentType),
|
|
64
64
|
new MessageSlot(this.text.messageSlotId)
|
|
65
65
|
];
|
|
66
|
+
attachedSlot = [new MessageText(this.text.messageStopped), new MessageSlot(this.text.messageAttachedSlotId)];
|
|
66
67
|
pictureAttached = [
|
|
67
68
|
new MessageAttachment(this.text.messagePictureId, this.text.messagePictureName, GalleryResources.messagePictureSize, this.text.messagePictureType, null, null, new MessageAttachmentPicture(GalleryResources.messagePicture, GalleryResources.messagePictureWidth, GalleryResources.messagePictureHeight)),
|
|
68
69
|
new MessageText(this.text.messagePictureText)
|
|
@@ -92,11 +93,11 @@ export class GalleryMessageComponent {
|
|
|
92
93
|
this.timers.add(cancel);
|
|
93
94
|
}
|
|
94
95
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryMessageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
95
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.2.6", type: GalleryMessageComponent, isStandalone: true, selector: "nol-gallery-message", viewQueries: [{ propertyName: "slot", first: true, predicate: MessageSlotDirective, descendants: true, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-gallery-specimen [name]=\"text.message\" [size]=\"sizes.Wide\">\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"answer\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\">\n <div class=\"nol-gallery-message\"><nol-message nolGalleryHover=\".nol-message-attachment\" [author]=\"reviewer\" [time]=\"time\" [blocks]=\"hovered\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <div class=\"nol-gallery-message\"><nol-message nolGalleryFocus=\".nol-message-copy\" [author]=\"reviewer\" [time]=\"time\" [blocks]=\"answer\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageContinuation\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"answer\" />\n <nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"continued\" [continuation]=\"true\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageBubble\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Bubble\" [timeFormat]=\"timeFormats.Clock\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageBubbleHover\">\n <div class=\"nol-gallery-message\">\n <nol-message nolGalleryHover=\".nol-message-copy\" [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Bubble\" [timeFormat]=\"timeFormats.Clock\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageClock\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"continued\" [timeFormat]=\"timeFormats.Clock\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageAttachments\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"attached\">\n <ng-template [nolMessageSlot]=\"text.messageSlotId\"><p class=\"nol-gallery-message-slot\">{{ text.messageSlotText }}</p></ng-template>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messagePicture\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"pictureAttached\" [layout]=\"layouts.Bubble\" [timeFormat]=\"timeFormats.Clock\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageFileLinks\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"linked\" [fileLinks]=\"true\" [folderLinks]=\"linkedFolders\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageImage\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"pictured\">\n <ng-template nolMessageImage let-alt=\"alt\" let-title=\"title\"><span class=\"nol-gallery-message-image\" role=\"img\" [attr.aria-label]=\"alt\">{{ title }}</span></ng-template>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.selected\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [selected]=\"true\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.working\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"partial\" [status]=\"statuses.Streaming\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageCancelled\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"stopped\" [status]=\"statuses.Cancelled\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.error\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"stopped\" [status]=\"statuses.Error\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageErrorRetry\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"stopped\" [status]=\"retryStatus()\" (retry)=\"retry()\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageColumn\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"assistant\" [time]=\"time\" [blocks]=\"columnBlocks\" [layout]=\"layouts.Column\" [mentions]=\"mentions\">\n <nol-chip nolMessageHeader [kind]=\"chipKinds.Status\">{{ text.messageColumnStatus }}</nol-chip>\n <button type=\"button\" nol-icon-button nolMessageAction [icon]=\"text.messageRewindGlyph\" [label]=\"text.messageRewind\"></button>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageActionsPlaced\">\n <div class=\"nol-gallery-message\">\n <nol-message nolGalleryFocus=\".nol-message-copy\" [author]=\"assistant\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\" [header]=\"false\" [footer]=\"false\"\n [actionsTop]=\"actionsTop\" [actionsEnd]=\"actionsEnd\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageColumnPerson\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\" [timeFormat]=\"timeFormats.Clock\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageColumnApp\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"app\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\">\n <nol-chip nolMessageHeader [kind]=\"chipKinds.Failed\">{{ text.chipFailed }}</nol-chip>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageFooterEnd\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"assistant\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\">\n <button type=\"button\" nol-icon-button nolMessageFooterEnd [icon]=\"text.messageStatsGlyph\" [label]=\"text.messageStats\"></button>\n </nol-message>\n <nol-message [author]=\"assistant\" [time]=\"time\" [blocks]=\"partial\" [layout]=\"layouts.Column\" [status]=\"statuses.Streaming\">\n <button type=\"button\" nol-icon-button nolMessageFooterEnd [nolMessageFooterEndPlacement]=\"footerPlacements.End\" [icon]=\"text.messageStopGlyph\"\n [label]=\"text.messageStop\"></button>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <div class=\"nol-gallery-message nol-gallery-narrow\"><nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"long\" [timeFormat]=\"timeFormats.Clock\" /></div>\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: 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: 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"] }, { 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: MessageActionDirective, selector: "[nolMessageAction]" }, { 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: MessageFooterEndDirective, selector: "[nolMessageFooterEnd]", inputs: ["nolMessageFooterEndPlacement"] }, { kind: "directive", type: MessageImageDirective, selector: "ng-template[nolMessageImage]" }, { kind: "directive", type: MessageSlotDirective, selector: "ng-template[nolMessageSlot]", inputs: ["nolMessageSlot"] }] });
|
|
96
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.2.6", type: GalleryMessageComponent, isStandalone: true, selector: "nol-gallery-message", viewQueries: [{ propertyName: "slot", first: true, predicate: MessageSlotDirective, descendants: true, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-gallery-specimen [name]=\"text.message\" [size]=\"sizes.Wide\">\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"answer\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\">\n <div class=\"nol-gallery-message\"><nol-message nolGalleryHover=\".nol-message-attachment\" [author]=\"reviewer\" [time]=\"time\" [blocks]=\"hovered\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <div class=\"nol-gallery-message\"><nol-message nolGalleryFocus=\".nol-message-copy\" [author]=\"reviewer\" [time]=\"time\" [blocks]=\"answer\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageContinuation\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"answer\" />\n <nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"continued\" [continuation]=\"true\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageBubble\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Bubble\" [timeFormat]=\"timeFormats.Clock\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageBubbleHover\">\n <div class=\"nol-gallery-message\">\n <nol-message nolGalleryHover=\".nol-message-copy\" [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Bubble\" [timeFormat]=\"timeFormats.Clock\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageClock\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"continued\" [timeFormat]=\"timeFormats.Clock\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageAttachments\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"attached\">\n <ng-template [nolMessageSlot]=\"text.messageSlotId\"><p class=\"nol-gallery-message-slot\">{{ text.messageSlotText }}</p></ng-template>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageAttachedSlot\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"attachedSlot\">\n <ng-template [nolMessageSlot]=\"text.messageAttachedSlotId\" [nolMessageSlotAttached]=\"true\"><p class=\"nol-gallery-message-slot\">{{ text.messageAttachedSlotText }}</p></ng-template>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messagePicture\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"pictureAttached\" [layout]=\"layouts.Bubble\" [timeFormat]=\"timeFormats.Clock\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageFileLinks\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"linked\" [fileLinks]=\"true\" [folderLinks]=\"linkedFolders\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageImage\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"pictured\">\n <ng-template nolMessageImage let-alt=\"alt\" let-title=\"title\"><span class=\"nol-gallery-message-image\" role=\"img\" [attr.aria-label]=\"alt\">{{ title }}</span></ng-template>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.selected\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [selected]=\"true\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.working\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"partial\" [status]=\"statuses.Streaming\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageCancelled\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"stopped\" [status]=\"statuses.Cancelled\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.error\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"stopped\" [status]=\"statuses.Error\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageErrorRetry\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"stopped\" [status]=\"retryStatus()\" (retry)=\"retry()\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageColumn\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"assistant\" [time]=\"time\" [blocks]=\"columnBlocks\" [layout]=\"layouts.Column\" [mentions]=\"mentions\">\n <nol-chip nolMessageHeader [kind]=\"chipKinds.Status\">{{ text.messageColumnStatus }}</nol-chip>\n <button type=\"button\" nol-icon-button nolMessageAction [icon]=\"text.messageRewindGlyph\" [label]=\"text.messageRewind\"></button>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageActionsPlaced\">\n <div class=\"nol-gallery-message\">\n <nol-message nolGalleryFocus=\".nol-message-copy\" [author]=\"assistant\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\" [header]=\"false\" [footer]=\"false\"\n [actionsTop]=\"actionsTop\" [actionsEnd]=\"actionsEnd\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageColumnPerson\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\" [timeFormat]=\"timeFormats.Clock\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageColumnApp\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"app\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\">\n <nol-chip nolMessageHeader [kind]=\"chipKinds.Failed\">{{ text.chipFailed }}</nol-chip>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageFooterEnd\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"assistant\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\">\n <button type=\"button\" nol-icon-button nolMessageFooterEnd [icon]=\"text.messageStatsGlyph\" [label]=\"text.messageStats\"></button>\n </nol-message>\n <nol-message [author]=\"assistant\" [time]=\"time\" [blocks]=\"partial\" [layout]=\"layouts.Column\" [status]=\"statuses.Streaming\">\n <button type=\"button\" nol-icon-button nolMessageFooterEnd [nolMessageFooterEndPlacement]=\"footerPlacements.End\" [icon]=\"text.messageStopGlyph\"\n [label]=\"text.messageStop\"></button>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <div class=\"nol-gallery-message nol-gallery-narrow\"><nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"long\" [timeFormat]=\"timeFormats.Clock\" /></div>\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: 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: 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"] }, { 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: MessageActionDirective, selector: "[nolMessageAction]" }, { 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: MessageFooterEndDirective, selector: "[nolMessageFooterEnd]", inputs: ["nolMessageFooterEndPlacement"] }, { kind: "directive", type: MessageImageDirective, selector: "ng-template[nolMessageImage]" }, { kind: "directive", type: MessageSlotDirective, selector: "ng-template[nolMessageSlot]", inputs: ["nolMessageSlot", "nolMessageSlotAttached"] }] });
|
|
96
97
|
}
|
|
97
98
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryMessageComponent, decorators: [{
|
|
98
99
|
type: Component,
|
|
99
100
|
args: [{ selector: "nol-gallery-message", imports: [ChipComponent, GalleryCellComponent, GallerySpecimenComponent, GalleryStateDirective, IconButtonComponent, MessageActionDirective, MessageComponent, MessageFooterEndDirective,
|
|
100
|
-
MessageImageDirective, MessageSlotDirective], 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.message\" [size]=\"sizes.Wide\">\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"answer\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\">\n <div class=\"nol-gallery-message\"><nol-message nolGalleryHover=\".nol-message-attachment\" [author]=\"reviewer\" [time]=\"time\" [blocks]=\"hovered\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <div class=\"nol-gallery-message\"><nol-message nolGalleryFocus=\".nol-message-copy\" [author]=\"reviewer\" [time]=\"time\" [blocks]=\"answer\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageContinuation\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"answer\" />\n <nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"continued\" [continuation]=\"true\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageBubble\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Bubble\" [timeFormat]=\"timeFormats.Clock\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageBubbleHover\">\n <div class=\"nol-gallery-message\">\n <nol-message nolGalleryHover=\".nol-message-copy\" [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Bubble\" [timeFormat]=\"timeFormats.Clock\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageClock\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"continued\" [timeFormat]=\"timeFormats.Clock\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageAttachments\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"attached\">\n <ng-template [nolMessageSlot]=\"text.messageSlotId\"><p class=\"nol-gallery-message-slot\">{{ text.messageSlotText }}</p></ng-template>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messagePicture\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"pictureAttached\" [layout]=\"layouts.Bubble\" [timeFormat]=\"timeFormats.Clock\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageFileLinks\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"linked\" [fileLinks]=\"true\" [folderLinks]=\"linkedFolders\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageImage\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"pictured\">\n <ng-template nolMessageImage let-alt=\"alt\" let-title=\"title\"><span class=\"nol-gallery-message-image\" role=\"img\" [attr.aria-label]=\"alt\">{{ title }}</span></ng-template>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.selected\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [selected]=\"true\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.working\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"partial\" [status]=\"statuses.Streaming\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageCancelled\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"stopped\" [status]=\"statuses.Cancelled\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.error\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"stopped\" [status]=\"statuses.Error\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageErrorRetry\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"stopped\" [status]=\"retryStatus()\" (retry)=\"retry()\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageColumn\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"assistant\" [time]=\"time\" [blocks]=\"columnBlocks\" [layout]=\"layouts.Column\" [mentions]=\"mentions\">\n <nol-chip nolMessageHeader [kind]=\"chipKinds.Status\">{{ text.messageColumnStatus }}</nol-chip>\n <button type=\"button\" nol-icon-button nolMessageAction [icon]=\"text.messageRewindGlyph\" [label]=\"text.messageRewind\"></button>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageActionsPlaced\">\n <div class=\"nol-gallery-message\">\n <nol-message nolGalleryFocus=\".nol-message-copy\" [author]=\"assistant\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\" [header]=\"false\" [footer]=\"false\"\n [actionsTop]=\"actionsTop\" [actionsEnd]=\"actionsEnd\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageColumnPerson\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\" [timeFormat]=\"timeFormats.Clock\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageColumnApp\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"app\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\">\n <nol-chip nolMessageHeader [kind]=\"chipKinds.Failed\">{{ text.chipFailed }}</nol-chip>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageFooterEnd\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"assistant\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\">\n <button type=\"button\" nol-icon-button nolMessageFooterEnd [icon]=\"text.messageStatsGlyph\" [label]=\"text.messageStats\"></button>\n </nol-message>\n <nol-message [author]=\"assistant\" [time]=\"time\" [blocks]=\"partial\" [layout]=\"layouts.Column\" [status]=\"statuses.Streaming\">\n <button type=\"button\" nol-icon-button nolMessageFooterEnd [nolMessageFooterEndPlacement]=\"footerPlacements.End\" [icon]=\"text.messageStopGlyph\"\n [label]=\"text.messageStop\"></button>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <div class=\"nol-gallery-message nol-gallery-narrow\"><nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"long\" [timeFormat]=\"timeFormats.Clock\" /></div>\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: 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"] }]
|
|
101
|
+
MessageImageDirective, MessageSlotDirective], 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.message\" [size]=\"sizes.Wide\">\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"answer\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\">\n <div class=\"nol-gallery-message\"><nol-message nolGalleryHover=\".nol-message-attachment\" [author]=\"reviewer\" [time]=\"time\" [blocks]=\"hovered\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <div class=\"nol-gallery-message\"><nol-message nolGalleryFocus=\".nol-message-copy\" [author]=\"reviewer\" [time]=\"time\" [blocks]=\"answer\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageContinuation\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"answer\" />\n <nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"continued\" [continuation]=\"true\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageBubble\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Bubble\" [timeFormat]=\"timeFormats.Clock\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageBubbleHover\">\n <div class=\"nol-gallery-message\">\n <nol-message nolGalleryHover=\".nol-message-copy\" [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Bubble\" [timeFormat]=\"timeFormats.Clock\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageClock\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"continued\" [timeFormat]=\"timeFormats.Clock\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageAttachments\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"attached\">\n <ng-template [nolMessageSlot]=\"text.messageSlotId\"><p class=\"nol-gallery-message-slot\">{{ text.messageSlotText }}</p></ng-template>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageAttachedSlot\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"attachedSlot\">\n <ng-template [nolMessageSlot]=\"text.messageAttachedSlotId\" [nolMessageSlotAttached]=\"true\"><p class=\"nol-gallery-message-slot\">{{ text.messageAttachedSlotText }}</p></ng-template>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messagePicture\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"pictureAttached\" [layout]=\"layouts.Bubble\" [timeFormat]=\"timeFormats.Clock\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageFileLinks\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"linked\" [fileLinks]=\"true\" [folderLinks]=\"linkedFolders\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageImage\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"pictured\">\n <ng-template nolMessageImage let-alt=\"alt\" let-title=\"title\"><span class=\"nol-gallery-message-image\" role=\"img\" [attr.aria-label]=\"alt\">{{ title }}</span></ng-template>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.selected\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [selected]=\"true\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.working\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"partial\" [status]=\"statuses.Streaming\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageCancelled\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"stopped\" [status]=\"statuses.Cancelled\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.error\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"stopped\" [status]=\"statuses.Error\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageErrorRetry\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"stopped\" [status]=\"retryStatus()\" (retry)=\"retry()\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageColumn\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"assistant\" [time]=\"time\" [blocks]=\"columnBlocks\" [layout]=\"layouts.Column\" [mentions]=\"mentions\">\n <nol-chip nolMessageHeader [kind]=\"chipKinds.Status\">{{ text.messageColumnStatus }}</nol-chip>\n <button type=\"button\" nol-icon-button nolMessageAction [icon]=\"text.messageRewindGlyph\" [label]=\"text.messageRewind\"></button>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageActionsPlaced\">\n <div class=\"nol-gallery-message\">\n <nol-message nolGalleryFocus=\".nol-message-copy\" [author]=\"assistant\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\" [header]=\"false\" [footer]=\"false\"\n [actionsTop]=\"actionsTop\" [actionsEnd]=\"actionsEnd\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageColumnPerson\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\" [timeFormat]=\"timeFormats.Clock\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageColumnApp\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"app\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\">\n <nol-chip nolMessageHeader [kind]=\"chipKinds.Failed\">{{ text.chipFailed }}</nol-chip>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageFooterEnd\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"assistant\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\">\n <button type=\"button\" nol-icon-button nolMessageFooterEnd [icon]=\"text.messageStatsGlyph\" [label]=\"text.messageStats\"></button>\n </nol-message>\n <nol-message [author]=\"assistant\" [time]=\"time\" [blocks]=\"partial\" [layout]=\"layouts.Column\" [status]=\"statuses.Streaming\">\n <button type=\"button\" nol-icon-button nolMessageFooterEnd [nolMessageFooterEndPlacement]=\"footerPlacements.End\" [icon]=\"text.messageStopGlyph\"\n [label]=\"text.messageStop\"></button>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <div class=\"nol-gallery-message nol-gallery-narrow\"><nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"long\" [timeFormat]=\"timeFormats.Clock\" /></div>\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: 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"] }]
|
|
101
102
|
}], ctorParameters: () => [], propDecorators: { slot: [{ type: i0.ViewChild, args: [i0.forwardRef(() => MessageSlotDirective), { isSignal: true }] }] } });
|
|
102
103
|
//# sourceMappingURL=gallery-message.component.js.map
|