@noldova/ui.components.angular 0.0.11 → 0.0.12
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 +4 -2
- package/api/testing.d.ts +1 -0
- package/api/testing.js.map +1 -1
- package/app/components/diff-view/diff-view.component.d.ts +1 -0
- package/app/components/diff-view/diff-view.component.js +10 -3
- package/app/components/diff-view/diff-view.component.js.map +1 -1
- package/app/components/gallery/gallery-content.component.d.ts +0 -30
- package/app/components/gallery/gallery-content.component.js +10 -79
- package/app/components/gallery/gallery-content.component.js.map +1 -1
- package/app/components/gallery/gallery-diff-view.component.d.ts +23 -0
- package/app/components/gallery/gallery-diff-view.component.js +74 -0
- package/app/components/gallery/gallery-diff-view.component.js.map +1 -0
- package/app/components/gallery/gallery-mention-field.component.d.ts +18 -0
- package/app/components/gallery/gallery-mention-field.component.js +45 -0
- package/app/components/gallery/gallery-mention-field.component.js.map +1 -0
- package/app/components/gallery/gallery-navigation.component.d.ts +0 -4
- package/app/components/gallery/gallery-navigation.component.js +4 -16
- package/app/components/gallery/gallery-navigation.component.js.map +1 -1
- package/app/components/gallery/gallery-overlays.component.d.ts +0 -13
- package/app/components/gallery/gallery-overlays.component.js +6 -32
- package/app/components/gallery/gallery-overlays.component.js.map +1 -1
- package/app/components/gallery/gallery-permission-card.component.d.ts +13 -0
- package/app/components/gallery/gallery-permission-card.component.js +31 -0
- package/app/components/gallery/gallery-permission-card.component.js.map +1 -0
- package/app/components/gallery/gallery-plan.component.d.ts +11 -0
- package/app/components/gallery/gallery-plan.component.js +28 -0
- package/app/components/gallery/gallery-plan.component.js.map +1 -0
- package/app/components/gallery/gallery-popover.component.d.ts +11 -0
- package/app/components/gallery/gallery-popover.component.js +30 -0
- package/app/components/gallery/gallery-popover.component.js.map +1 -0
- package/app/components/gallery/gallery-status-colors.component.d.ts +8 -0
- package/app/components/gallery/gallery-status-colors.component.js +23 -0
- package/app/components/gallery/gallery-status-colors.component.js.map +1 -0
- package/app/components/gallery/gallery-terminal-colors.component.d.ts +11 -0
- package/app/components/gallery/gallery-terminal-colors.component.js +26 -0
- package/app/components/gallery/gallery-terminal-colors.component.js.map +1 -0
- package/app/components/gallery/gallery-tool-call.component.d.ts +12 -0
- package/app/components/gallery/gallery-tool-call.component.js +31 -0
- package/app/components/gallery/gallery-tool-call.component.js.map +1 -0
- package/app/components/gallery/gallery-toolbar.component.d.ts +9 -0
- package/app/components/gallery/gallery-toolbar.component.js +30 -0
- package/app/components/gallery/gallery-toolbar.component.js.map +1 -0
- package/app/components/tool-call/tool-call.component.d.ts +2 -0
- package/app/components/tool-call/tool-call.component.js +15 -4
- package/app/components/tool-call/tool-call.component.js.map +1 -1
- package/app/components/virtual-list/virtual-list.component.d.ts +3 -1
- package/app/components/virtual-list/virtual-list.component.js +21 -4
- package/app/components/virtual-list/virtual-list.component.js.map +1 -1
- package/app/components/virtual-list/virtual-list.resources.d.ts +1 -1
- package/app/components/virtual-list/virtual-list.resources.js +2 -1
- package/app/components/virtual-list/virtual-list.resources.js.map +1 -1
- package/app/models/code-tokenizer.d.ts +1 -0
- package/app/models/code-tokenizer.js +2 -1
- package/app/models/code-tokenizer.js.map +1 -1
- package/app/models/default-theme.js +10 -0
- package/app/models/default-theme.js.map +1 -1
- package/app/models/row-answer.d.ts +16 -0
- package/app/models/row-answer.js +28 -0
- package/app/models/row-answer.js.map +1 -0
- package/package.json +4 -4
- package/resources.d.ts +2 -0
- package/resources.js +12 -0
- package/resources.js.map +1 -1
- package/styles/base.css +2 -0
- package/styles/theme.css +10 -0
- package/testing/interfaces/i-pointer-hover-options.d.ts +18 -0
- package/testing/interfaces/i-pointer-hover-options.js +8 -0
- package/testing/interfaces/i-pointer-hover-options.js.map +1 -0
- package/testing/models/fixture-theme.js +10 -0
- package/testing/models/fixture-theme.js.map +1 -1
- package/testing/services/appearance-fixture.d.ts +6 -2
- package/testing/services/appearance-fixture.js +39 -3
- package/testing/services/appearance-fixture.js.map +1 -1
- package/testing/services/pointer-fixture.d.ts +4 -1
- package/testing/services/pointer-fixture.js +2 -2
- package/testing/services/pointer-fixture.js.map +1 -1
|
@@ -6,97 +6,28 @@
|
|
|
6
6
|
* LICENSE file in the root directory of this source tree.
|
|
7
7
|
*/
|
|
8
8
|
import { Component } from "@angular/core";
|
|
9
|
-
import { DiffFileStatus } from "../../enums/diff-file-status.js";
|
|
10
|
-
import { DiffLayout } from "../../enums/diff-layout.js";
|
|
11
|
-
import { DiffReviewState } from "../../enums/diff-review-state.js";
|
|
12
|
-
import { GallerySize } from "../../enums/gallery-size.js";
|
|
13
|
-
import { DiffAddedLine } from "../../models/diff-added-line.js";
|
|
14
|
-
import { DiffBinary } from "../../models/diff-binary.js";
|
|
15
|
-
import { DiffCollapseLimit } from "../../models/diff-collapse-limit.js";
|
|
16
|
-
import { DiffContextLine } from "../../models/diff-context-line.js";
|
|
17
|
-
import { DiffFile } from "../../models/diff-file.js";
|
|
18
|
-
import { DiffFileReview } from "../../models/diff-file-review.js";
|
|
19
|
-
import { DiffHunk } from "../../models/diff-hunk.js";
|
|
20
|
-
import { DiffHunks } from "../../models/diff-hunks.js";
|
|
21
|
-
import { DiffPending } from "../../models/diff-pending.js";
|
|
22
|
-
import { DiffReadFailure } from "../../models/diff-read-failure.js";
|
|
23
|
-
import { DiffRemovedLine } from "../../models/diff-removed-line.js";
|
|
24
|
-
import { CodeBlockComponent } from "../code-block/code-block.component.js";
|
|
25
|
-
import { DiffViewComponent } from "../diff-view/diff-view.component.js";
|
|
26
|
-
import { MarkdownViewComponent } from "../markdown-view/markdown-view.component.js";
|
|
27
|
-
import { PermissionCardComponent } from "../permission-card/permission-card.component.js";
|
|
28
|
-
import { PlanComponent } from "../plan/plan.component.js";
|
|
29
|
-
import { ToolCallOutputDirective } from "../tool-call/tool-call-output.directive.js";
|
|
30
|
-
import { ToolCallComponent } from "../tool-call/tool-call.component.js";
|
|
31
9
|
import { GalleryAvatarComponent } from "./gallery-avatar.component.js";
|
|
32
10
|
import { GalleryCardComponent } from "./gallery-card.component.js";
|
|
33
|
-
import { GalleryCellComponent } from "./gallery-cell.component.js";
|
|
34
11
|
import { GalleryCodeBlockComponent } from "./gallery-code-block.component.js";
|
|
12
|
+
import { GalleryDiffViewComponent } from "./gallery-diff-view.component.js";
|
|
35
13
|
import { GalleryFileBadgeComponent } from "./gallery-file-badge.component.js";
|
|
36
14
|
import { GalleryInlineCodeComponent } from "./gallery-inline-code.component.js";
|
|
37
15
|
import { GalleryMarkdownViewComponent } from "./gallery-markdown-view.component.js";
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import { GallerySpecimenComponent } from "./gallery-specimen.component.js";
|
|
43
|
-
import { GalleryStateDirective } from "./gallery-state.directive.js";
|
|
16
|
+
import { GalleryPermissionCardComponent } from "./gallery-permission-card.component.js";
|
|
17
|
+
import { GalleryPlanComponent } from "./gallery-plan.component.js";
|
|
18
|
+
import { GalleryStatusColorsComponent } from "./gallery-status-colors.component.js";
|
|
19
|
+
import { GalleryTerminalColorsComponent } from "./gallery-terminal-colors.component.js";
|
|
44
20
|
import { GalleryTerminalOutputComponent } from "./gallery-terminal-output.component.js";
|
|
45
|
-
import {
|
|
21
|
+
import { GalleryToolCallComponent } from "./gallery-tool-call.component.js";
|
|
46
22
|
import * as i0 from "@angular/core";
|
|
47
23
|
export class GalleryContentComponent {
|
|
48
|
-
static text = GalleryResources.text;
|
|
49
|
-
static service = new DiffFile("notes", GalleryContentComponent.text.diffPath, null, DiffFileStatus.Modified, 2, 1, GalleryContentComponent.text.diffLanguage, new DiffHunks([new DiffHunk("h1", 12, 3, 12, 4, [
|
|
50
|
-
new DiffContextLine(12, 12, GalleryContentComponent.text.diffContext),
|
|
51
|
-
new DiffRemovedLine(13, GalleryContentComponent.text.diffRemoved),
|
|
52
|
-
new DiffAddedLine(13, GalleryContentComponent.text.diffAdded),
|
|
53
|
-
new DiffAddedLine(14, GalleryContentComponent.text.diffAddedNext),
|
|
54
|
-
new DiffContextLine(14, 15, GalleryContentComponent.text.diffClosing)
|
|
55
|
-
], GalleryContentComponent.text.diffSection)]));
|
|
56
|
-
text = GalleryResources.text;
|
|
57
|
-
sizes = GallerySize;
|
|
58
|
-
calls = new GalleryToolCalls(new Date());
|
|
59
|
-
toggle = GalleryResources.toolCallToggle;
|
|
60
|
-
terminalColors = GalleryResources.terminalColors;
|
|
61
|
-
terminalSurfaces = [["window", this.text.terminalWindowCaption], ["panel", this.text.terminalPanelCaption]];
|
|
62
|
-
statusSurfaces = [["window", this.text.statusWindowCaption], ["panel", this.text.statusPanelCaption]];
|
|
63
|
-
plans = new GalleryPlans();
|
|
64
|
-
permissions = new GalleryPermissionCards(new Date());
|
|
65
|
-
option = GalleryResources.permissionOption;
|
|
66
|
-
alwaysAllow = GalleryResources.permissionAlwaysAllow;
|
|
67
|
-
sideBySide = DiffLayout.SideBySide;
|
|
68
|
-
diffFiles = [
|
|
69
|
-
GalleryContentComponent.service,
|
|
70
|
-
new DiffFile("store", this.text.diffNewPath, this.text.diffOldPath, DiffFileStatus.Renamed, 0, 0, this.text.diffLanguage, new DiffHunks([])),
|
|
71
|
-
new DiffFile("icon", this.text.diffImagePath, null, DiffFileStatus.Added, 0, 0, null, new DiffBinary())
|
|
72
|
-
];
|
|
73
|
-
diffStates = [
|
|
74
|
-
GalleryContentComponent.service,
|
|
75
|
-
new DiffFile("reminders", this.text.diffLazyPath, null, DiffFileStatus.Modified, 4, 2, this.text.diffLanguage, new DiffPending()),
|
|
76
|
-
new DiffFile("archive", this.text.diffFailedPath, null, DiffFileStatus.Deleted, 0, 12, this.text.diffLanguage, new DiffReadFailure(this.text.diffFailure))
|
|
77
|
-
];
|
|
78
|
-
diffLong = [
|
|
79
|
-
new DiffFile("long", this.text.diffLongPath, null, DiffFileStatus.Added, 1, 0, this.text.diffLanguage, new DiffHunks([new DiffHunk("h1", 0, 0, 1, 1, [new DiffAddedLine(1, this.text.diffLongLine)])]))
|
|
80
|
-
];
|
|
81
|
-
diffReviews = new Map([
|
|
82
|
-
["notes", new DiffFileReview(new Map([["h1", DiffReviewState.Accepted]]))],
|
|
83
|
-
["store", new DiffFileReview(new Map(), DiffReviewState.Rejected)]
|
|
84
|
-
]);
|
|
85
|
-
diffHeldLimit = new DiffCollapseLimit(1, 1000);
|
|
86
|
-
diffPartial = [
|
|
87
|
-
new DiffFile("notes", this.text.diffPath, null, DiffFileStatus.Modified, 3, 2, this.text.diffLanguage, new DiffHunks([...GalleryContentComponent.service.content.hunks, new DiffHunk("h2", 30, 1, 31, 1, [
|
|
88
|
-
new DiffRemovedLine(30, this.text.diffRemovedLater),
|
|
89
|
-
new DiffAddedLine(31, this.text.diffAddedLater)
|
|
90
|
-
], this.text.diffSection)]))
|
|
91
|
-
];
|
|
92
|
-
diffCollapsed = new Set(["notes"]);
|
|
93
24
|
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.toolCallNoteCaption\"><nol-tool-call [call]=\"calls.noted\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.toolCallNoteBareCaption\"><nol-tool-call [call]=\"calls.notedBare\" /></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]" }] });
|
|
25
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.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-diff-view />\n\n<nol-gallery-file-badge />\n\n<nol-gallery-inline-code />\n\n<nol-gallery-markdown-view />\n\n<nol-gallery-terminal-colors />\n\n<nol-gallery-terminal-output />\n\n<nol-gallery-status-colors />\n\n<nol-gallery-tool-call />\n\n<nol-gallery-plan />\n\n<nol-gallery-permission-card />\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: 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: GalleryAvatarComponent, selector: "nol-gallery-avatar" }, { kind: "component", type: GalleryCardComponent, selector: "nol-gallery-card" }, { kind: "component", type: GalleryCodeBlockComponent, selector: "nol-gallery-code-block" }, { kind: "component", type: GalleryDiffViewComponent, selector: "nol-gallery-diff-view" }, { 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: "component", type: GalleryPermissionCardComponent, selector: "nol-gallery-permission-card" }, { kind: "component", type: GalleryPlanComponent, selector: "nol-gallery-plan" }, { kind: "component", type: GalleryStatusColorsComponent, selector: "nol-gallery-status-colors" }, { kind: "component", type: GalleryTerminalColorsComponent, selector: "nol-gallery-terminal-colors" }, { kind: "component", type: GalleryTerminalOutputComponent, selector: "nol-gallery-terminal-output" }, { kind: "component", type: GalleryToolCallComponent, selector: "nol-gallery-tool-call" }] });
|
|
95
26
|
}
|
|
96
27
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryContentComponent, decorators: [{
|
|
97
28
|
type: Component,
|
|
98
|
-
args: [{ selector: "nol-gallery-content", imports: [
|
|
99
|
-
GalleryMarkdownViewComponent,
|
|
100
|
-
ToolCallComponent, ToolCallOutputDirective], 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.toolCallNoteCaption\"><nol-tool-call [call]=\"calls.noted\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.toolCallNoteBareCaption\"><nol-tool-call [call]=\"calls.notedBare\" /></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"] }]
|
|
29
|
+
args: [{ selector: "nol-gallery-content", imports: [GalleryAvatarComponent, GalleryCardComponent, GalleryCodeBlockComponent, GalleryDiffViewComponent, GalleryFileBadgeComponent, GalleryInlineCodeComponent,
|
|
30
|
+
GalleryMarkdownViewComponent, GalleryPermissionCardComponent, GalleryPlanComponent, GalleryStatusColorsComponent, GalleryTerminalColorsComponent, GalleryTerminalOutputComponent,
|
|
31
|
+
GalleryToolCallComponent], 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-diff-view />\n\n<nol-gallery-file-badge />\n\n<nol-gallery-inline-code />\n\n<nol-gallery-markdown-view />\n\n<nol-gallery-terminal-colors />\n\n<nol-gallery-terminal-output />\n\n<nol-gallery-status-colors />\n\n<nol-gallery-tool-call />\n\n<nol-gallery-plan />\n\n<nol-gallery-permission-card />\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: 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"] }]
|
|
101
32
|
}] });
|
|
102
33
|
//# sourceMappingURL=gallery-content.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gallery-content.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-content.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-content.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"gallery-content.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-content.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-content.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AACpF,OAAO,EAAE,8BAA8B,EAAE,MAAM,wCAAwC,CAAC;AACxF,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AACpF,OAAO,EAAE,8BAA8B,EAAE,MAAM,wCAAwC,CAAC;AACxF,OAAO,EAAE,8BAA8B,EAAE,MAAM,wCAAwC,CAAC;AACxF,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;;AAU5E,MAAM,OAAO,uBAAuB;uGAAvB,uBAAuB;2FAAvB,uBAAuB,+EChCpC,ijBAiCA,s/DDPY,sBAAsB,+DAAE,oBAAoB,6DAAE,yBAAyB,mEAAE,wBAAwB,kEAAE,yBAAyB,mEAAE,0BAA0B,oEAChK,4BAA4B,sEAAE,8BAA8B,wEAAE,oBAAoB,6DAAE,4BAA4B,sEAAE,8BAA8B,wEAAE,8BAA8B,wEAChL,wBAAwB;;2FAIf,uBAAuB;kBARnC,SAAS;+BACE,qBAAqB,WACtB,CAAC,sBAAsB,EAAE,oBAAoB,EAAE,yBAAyB,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,0BAA0B;wBAChK,4BAA4B,EAAE,8BAA8B,EAAE,oBAAoB,EAAE,4BAA4B,EAAE,8BAA8B,EAAE,8BAA8B;wBAChL,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { DiffLayout } from "../../enums/diff-layout.js";
|
|
2
|
+
import { GallerySize } from "../../enums/gallery-size.js";
|
|
3
|
+
import { DiffCollapseLimit } from "../../models/diff-collapse-limit.js";
|
|
4
|
+
import { DiffFile } from "../../models/diff-file.js";
|
|
5
|
+
import { DiffFileReview } from "../../models/diff-file-review.js";
|
|
6
|
+
import { GalleryResources } from "./gallery-resources.js";
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class GalleryDiffViewComponent {
|
|
9
|
+
private static readonly text;
|
|
10
|
+
private static readonly service;
|
|
11
|
+
protected readonly text: typeof GalleryResources.text;
|
|
12
|
+
protected readonly sizes: typeof GallerySize;
|
|
13
|
+
protected readonly sideBySide: DiffLayout;
|
|
14
|
+
protected readonly diffFiles: readonly DiffFile[];
|
|
15
|
+
protected readonly diffStates: readonly DiffFile[];
|
|
16
|
+
protected readonly diffLong: readonly DiffFile[];
|
|
17
|
+
protected readonly diffReviews: ReadonlyMap<string, DiffFileReview>;
|
|
18
|
+
protected readonly diffHeldLimit: DiffCollapseLimit;
|
|
19
|
+
protected readonly diffPartial: readonly DiffFile[];
|
|
20
|
+
protected readonly diffCollapsed: ReadonlySet<string>;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GalleryDiffViewComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GalleryDiffViewComponent, "nol-gallery-diff-view", never, {}, {}, never, never, true, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
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 { DiffFileStatus } from "../../enums/diff-file-status.js";
|
|
10
|
+
import { DiffLayout } from "../../enums/diff-layout.js";
|
|
11
|
+
import { DiffReviewState } from "../../enums/diff-review-state.js";
|
|
12
|
+
import { GallerySize } from "../../enums/gallery-size.js";
|
|
13
|
+
import { DiffAddedLine } from "../../models/diff-added-line.js";
|
|
14
|
+
import { DiffBinary } from "../../models/diff-binary.js";
|
|
15
|
+
import { DiffCollapseLimit } from "../../models/diff-collapse-limit.js";
|
|
16
|
+
import { DiffContextLine } from "../../models/diff-context-line.js";
|
|
17
|
+
import { DiffFile } from "../../models/diff-file.js";
|
|
18
|
+
import { DiffFileReview } from "../../models/diff-file-review.js";
|
|
19
|
+
import { DiffHunk } from "../../models/diff-hunk.js";
|
|
20
|
+
import { DiffHunks } from "../../models/diff-hunks.js";
|
|
21
|
+
import { DiffPending } from "../../models/diff-pending.js";
|
|
22
|
+
import { DiffReadFailure } from "../../models/diff-read-failure.js";
|
|
23
|
+
import { DiffRemovedLine } from "../../models/diff-removed-line.js";
|
|
24
|
+
import { DiffViewComponent } from "../diff-view/diff-view.component.js";
|
|
25
|
+
import { GalleryCellComponent } from "./gallery-cell.component.js";
|
|
26
|
+
import { GalleryResources } from "./gallery-resources.js";
|
|
27
|
+
import { GallerySpecimenComponent } from "./gallery-specimen.component.js";
|
|
28
|
+
import { GalleryStateDirective } from "./gallery-state.directive.js";
|
|
29
|
+
import * as i0 from "@angular/core";
|
|
30
|
+
export class GalleryDiffViewComponent {
|
|
31
|
+
static text = GalleryResources.text;
|
|
32
|
+
static service = new DiffFile("notes", GalleryDiffViewComponent.text.diffPath, null, DiffFileStatus.Modified, 2, 1, GalleryDiffViewComponent.text.diffLanguage, new DiffHunks([new DiffHunk("h1", 12, 3, 12, 4, [
|
|
33
|
+
new DiffContextLine(12, 12, GalleryDiffViewComponent.text.diffContext),
|
|
34
|
+
new DiffRemovedLine(13, GalleryDiffViewComponent.text.diffRemoved),
|
|
35
|
+
new DiffAddedLine(13, GalleryDiffViewComponent.text.diffAdded),
|
|
36
|
+
new DiffAddedLine(14, GalleryDiffViewComponent.text.diffAddedNext),
|
|
37
|
+
new DiffContextLine(14, 15, GalleryDiffViewComponent.text.diffClosing)
|
|
38
|
+
], GalleryDiffViewComponent.text.diffSection)]));
|
|
39
|
+
text = GalleryResources.text;
|
|
40
|
+
sizes = GallerySize;
|
|
41
|
+
sideBySide = DiffLayout.SideBySide;
|
|
42
|
+
diffFiles = [
|
|
43
|
+
GalleryDiffViewComponent.service,
|
|
44
|
+
new DiffFile("store", this.text.diffNewPath, this.text.diffOldPath, DiffFileStatus.Renamed, 0, 0, this.text.diffLanguage, new DiffHunks([])),
|
|
45
|
+
new DiffFile("icon", this.text.diffImagePath, null, DiffFileStatus.Added, 0, 0, null, new DiffBinary())
|
|
46
|
+
];
|
|
47
|
+
diffStates = [
|
|
48
|
+
GalleryDiffViewComponent.service,
|
|
49
|
+
new DiffFile("reminders", this.text.diffLazyPath, null, DiffFileStatus.Modified, 4, 2, this.text.diffLanguage, new DiffPending()),
|
|
50
|
+
new DiffFile("archive", this.text.diffFailedPath, null, DiffFileStatus.Deleted, 0, 12, this.text.diffLanguage, new DiffReadFailure(this.text.diffFailure))
|
|
51
|
+
];
|
|
52
|
+
diffLong = [
|
|
53
|
+
new DiffFile("long", this.text.diffLongPath, null, DiffFileStatus.Added, 1, 0, this.text.diffLanguage, new DiffHunks([new DiffHunk("h1", 0, 0, 1, 1, [new DiffAddedLine(1, this.text.diffLongLine)])]))
|
|
54
|
+
];
|
|
55
|
+
diffReviews = new Map([
|
|
56
|
+
["notes", new DiffFileReview(new Map([["h1", DiffReviewState.Accepted]]))],
|
|
57
|
+
["store", new DiffFileReview(new Map(), DiffReviewState.Rejected)]
|
|
58
|
+
]);
|
|
59
|
+
diffHeldLimit = new DiffCollapseLimit(1, 1000);
|
|
60
|
+
diffPartial = [
|
|
61
|
+
new DiffFile("notes", this.text.diffPath, null, DiffFileStatus.Modified, 3, 2, this.text.diffLanguage, new DiffHunks([...GalleryDiffViewComponent.service.content.hunks, new DiffHunk("h2", 30, 1, 31, 1, [
|
|
62
|
+
new DiffRemovedLine(30, this.text.diffRemovedLater),
|
|
63
|
+
new DiffAddedLine(31, this.text.diffAddedLater)
|
|
64
|
+
], this.text.diffSection)]))
|
|
65
|
+
];
|
|
66
|
+
diffCollapsed = new Set(["notes"]);
|
|
67
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryDiffViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
68
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryDiffViewComponent, isStandalone: true, selector: "nol-gallery-diff-view", 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.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", 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: 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: 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"] }] });
|
|
69
|
+
}
|
|
70
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryDiffViewComponent, decorators: [{
|
|
71
|
+
type: Component,
|
|
72
|
+
args: [{ selector: "nol-gallery-diff-view", imports: [DiffViewComponent, 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.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", 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"] }]
|
|
73
|
+
}] });
|
|
74
|
+
//# sourceMappingURL=gallery-diff-view.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gallery-diff-view.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-diff-view.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-diff-view.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,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,wBAAwB;IAC3B,MAAM,CAAU,IAAI,GAAiC,gBAAgB,CAAC,IAAI,CAAC;IAC3E,MAAM,CAAU,OAAO,GAAa,IAAI,QAAQ,CAAC,OAAO,EAAE,wBAAwB,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,EAAE,cAAc,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAC,EAAE,wBAAwB,CAAC,IAAI,CAAC,YAAY,EACvL,IAAI,SAAS,CAAC,CAAC,IAAI,QAAQ,CAAC,IAAI,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE;YAC9C,IAAI,eAAe,CAAC,EAAE,EAAE,EAAE,EAAE,wBAAwB,CAAC,IAAI,CAAC,WAAW,CAAC;YACtE,IAAI,eAAe,CAAC,EAAE,EAAE,wBAAwB,CAAC,IAAI,CAAC,WAAW,CAAC;YAClE,IAAI,aAAa,CAAC,EAAE,EAAE,wBAAwB,CAAC,IAAI,CAAC,SAAS,CAAC;YAC9D,IAAI,aAAa,CAAC,EAAE,EAAE,wBAAwB,CAAC,IAAI,CAAC,aAAa,CAAC;YAClE,IAAI,eAAe,CAAC,EAAE,EAAE,EAAE,EAAE,wBAAwB,CAAC,IAAI,CAAC,WAAW,CAAC;SACvE,EAAE,wBAAwB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IAEhC,IAAI,GAAiC,gBAAgB,CAAC,IAAI,CAAC;IAC3D,KAAK,GAAuB,WAAW,CAAC;IACxC,UAAU,GAAe,UAAU,CAAC,UAAU,CAAC;IAC/C,SAAS,GAAwB;QAClD,wBAAwB,CAAC,OAAO;QAChC,IAAI,QAAQ,CAAC,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,cAAc,CAAC,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,SAAS,CAAC,EAAE,CAAC,CAAC;QAC5I,IAAI,QAAQ,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,IAAI,EAAE,cAAc,CAAC,KAAK,EAAE,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,UAAU,EAAE,CAAC;KACxG,CAAC;IACiB,UAAU,GAAwB;QACnD,wBAAwB,CAAC,OAAO;QAChC,IAAI,QAAQ,CAAC,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,WAAW,EAAE,CAAC;QACjI,IAAI,QAAQ,CAAC,SAAS,EAAE,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,IAAI,EAAE,cAAc,CAAC,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;KAC3J,CAAC;IACiB,QAAQ,GAAwB;QACjD,IAAI,QAAQ,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,CAAC,KAAK,EAAE,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,YAAY,EACnG,IAAI,SAAS,CAAC,CAAC,IAAI,QAAQ,CAAC,IAAI,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;KACnG,CAAC;IACiB,WAAW,GAAwC,IAAI,GAAG,CAAC;QAC5E,CAAC,OAAO,EAAE,IAAI,cAAc,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC,IAAI,EAAE,eAAe,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;QAC1E,CAAC,OAAO,EAAE,IAAI,cAAc,CAAC,IAAI,GAAG,EAAE,EAAE,eAAe,CAAC,QAAQ,CAAC,CAAC;KACnE,CAAC,CAAC;IACgB,aAAa,GAAsB,IAAI,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC;IAClE,WAAW,GAAwB;QACpD,IAAI,QAAQ,CAAC,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,EAAE,cAAc,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,YAAY,EACnG,IAAI,SAAS,CAAC,CAAC,GAAG,wBAAwB,CAAC,OAAO,CAAC,OAAO,CAAC,KAAK,EAAE,IAAI,QAAQ,CAAC,IAAI,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE;gBACjG,IAAI,eAAe,CAAC,EAAE,EAAE,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC;gBACnD,IAAI,aAAa,CAAC,EAAE,EAAE,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC;aAChD,EAAE,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;KAC/B,CAAC;IACiB,aAAa,GAAwB,IAAI,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;uGAxChE,wBAAwB;2FAAxB,wBAAwB,iFCrCrC,u0EA0BA,s/DDOY,iBAAiB,iYAAE,oBAAoB,kFAAE,wBAAwB,2FAAE,qBAAqB;;2FAIvF,wBAAwB;kBANpC,SAAS;+BACE,uBAAuB,WACxB,CAAC,iBAAiB,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { GallerySize } from "../../enums/gallery-size.js";
|
|
2
|
+
import { MentionCandidate } from "../../models/mention-candidate.js";
|
|
3
|
+
import { GalleryResources } from "./gallery-resources.js";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class GalleryMentionFieldComponent {
|
|
6
|
+
private static count;
|
|
7
|
+
protected readonly text: typeof GalleryResources.text;
|
|
8
|
+
protected readonly sizes: typeof GallerySize;
|
|
9
|
+
protected readonly hoveredMention: string;
|
|
10
|
+
protected readonly mentionListId: string;
|
|
11
|
+
protected readonly hoveredMentionListId: string;
|
|
12
|
+
protected readonly longMentionListId: string;
|
|
13
|
+
protected readonly mentions: readonly MentionCandidate[];
|
|
14
|
+
protected readonly longMentions: readonly MentionCandidate[];
|
|
15
|
+
private static nextMentionListId;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GalleryMentionFieldComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GalleryMentionFieldComponent, "nol-gallery-mention-field", never, {}, {}, never, never, true, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 { MentionCandidate } from "../../models/mention-candidate.js";
|
|
11
|
+
import { MentionFieldDirective } from "../mention-field/mention-field.directive.js";
|
|
12
|
+
import { MentionListComponent } from "../mention-field/mention-list.component.js";
|
|
13
|
+
import { GalleryCellComponent } from "./gallery-cell.component.js";
|
|
14
|
+
import { GalleryResources } from "./gallery-resources.js";
|
|
15
|
+
import { GallerySpecimenComponent } from "./gallery-specimen.component.js";
|
|
16
|
+
import { GalleryStateDirective } from "./gallery-state.directive.js";
|
|
17
|
+
import * as i0 from "@angular/core";
|
|
18
|
+
export class GalleryMentionFieldComponent {
|
|
19
|
+
static count = 0;
|
|
20
|
+
text = GalleryResources.text;
|
|
21
|
+
sizes = GallerySize;
|
|
22
|
+
hoveredMention = GalleryResources.hoveredMention;
|
|
23
|
+
mentionListId = GalleryMentionFieldComponent.nextMentionListId();
|
|
24
|
+
hoveredMentionListId = GalleryMentionFieldComponent.nextMentionListId();
|
|
25
|
+
longMentionListId = GalleryMentionFieldComponent.nextMentionListId();
|
|
26
|
+
mentions = [
|
|
27
|
+
new MentionCandidate("person-1", GalleryResources.text.mentionAda, { section: GalleryResources.text.mentionPeople }),
|
|
28
|
+
new MentionCandidate("person-2", GalleryResources.text.mentionAdrian, { section: GalleryResources.text.mentionPeople, note: GalleryResources.text.mentionAdrianNote, unavailable: true }),
|
|
29
|
+
new MentionCandidate("agent-1", GalleryResources.text.mentionAssistant, { section: GalleryResources.text.mentionAgents })
|
|
30
|
+
];
|
|
31
|
+
longMentions = [
|
|
32
|
+
new MentionCandidate("agent-2", GalleryResources.text.mentionLong),
|
|
33
|
+
new MentionCandidate("person-3", GalleryResources.text.mentionLongNoted, { note: GalleryResources.text.mentionAdrianNote, unavailable: true })
|
|
34
|
+
];
|
|
35
|
+
static nextMentionListId() {
|
|
36
|
+
return `${GalleryResources.mentionListIdPrefix}${GalleryMentionFieldComponent.count++}`;
|
|
37
|
+
}
|
|
38
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryMentionFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
39
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryMentionFieldComponent, isStandalone: true, selector: "nol-gallery-mention-field", 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.mentionField\" [size]=\"sizes.Wide\" noFocus>\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <nol-mention-list class=\"nol-gallery-menu\" [choices]=\"mentions\" [active]=\"0\" [listId]=\"mentionListId\" [label]=\"text.mentionLabel\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\">\n <nol-mention-list class=\"nol-gallery-menu\" [nolGalleryHover]=\"hoveredMention\" [choices]=\"mentions\" [active]=\"0\" [listId]=\"hoveredMentionListId\" [label]=\"text.mentionLabel\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.mentionFieldCaption\">\n <div class=\"nol-gallery-mention-box\"><textarea class=\"nol-gallery-mention-field\" [nolMentionField]=\"mentions\" [attr.aria-label]=\"text.mentionFieldLabel\" [placeholder]=\"text.mentionPlaceholder\"></textarea></div>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <nol-mention-list class=\"nol-gallery-menu nol-gallery-narrow\" [choices]=\"longMentions\" [active]=\"0\" [listId]=\"longMentionListId\" [label]=\"text.mentionLabel\" />\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: 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: MentionFieldDirective, selector: "textarea[nolMentionField]", inputs: ["nolMentionField", "nolMentionFieldLabel", "nolMentionValue"], outputs: ["nolMentioned", "nolMentionValueChange"] }, { kind: "component", type: MentionListComponent, selector: "nol-mention-list", inputs: ["choices", "active", "listId", "label"], outputs: ["chosen"] }] });
|
|
40
|
+
}
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryMentionFieldComponent, decorators: [{
|
|
42
|
+
type: Component,
|
|
43
|
+
args: [{ selector: "nol-gallery-mention-field", imports: [GalleryCellComponent, GallerySpecimenComponent, GalleryStateDirective, MentionFieldDirective, MentionListComponent], 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.mentionField\" [size]=\"sizes.Wide\" noFocus>\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <nol-mention-list class=\"nol-gallery-menu\" [choices]=\"mentions\" [active]=\"0\" [listId]=\"mentionListId\" [label]=\"text.mentionLabel\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\">\n <nol-mention-list class=\"nol-gallery-menu\" [nolGalleryHover]=\"hoveredMention\" [choices]=\"mentions\" [active]=\"0\" [listId]=\"hoveredMentionListId\" [label]=\"text.mentionLabel\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.mentionFieldCaption\">\n <div class=\"nol-gallery-mention-box\"><textarea class=\"nol-gallery-mention-field\" [nolMentionField]=\"mentions\" [attr.aria-label]=\"text.mentionFieldLabel\" [placeholder]=\"text.mentionPlaceholder\"></textarea></div>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <nol-mention-list class=\"nol-gallery-menu nol-gallery-narrow\" [choices]=\"longMentions\" [active]=\"0\" [listId]=\"longMentionListId\" [label]=\"text.mentionLabel\" />\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"] }]
|
|
44
|
+
}] });
|
|
45
|
+
//# sourceMappingURL=gallery-mention-field.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gallery-mention-field.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-mention-field.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-mention-field.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,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AACpF,OAAO,EAAE,oBAAoB,EAAE,MAAM,4CAA4C,CAAC;AAClF,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,4BAA4B;IAC/B,MAAM,CAAC,KAAK,GAAW,CAAC,CAAC;IAEd,IAAI,GAAiC,gBAAgB,CAAC,IAAI,CAAC;IAC3D,KAAK,GAAuB,WAAW,CAAC;IACxC,cAAc,GAAW,gBAAgB,CAAC,cAAc,CAAC;IACzD,aAAa,GAAW,4BAA4B,CAAC,iBAAiB,EAAE,CAAC;IACzE,oBAAoB,GAAW,4BAA4B,CAAC,iBAAiB,EAAE,CAAC;IAChF,iBAAiB,GAAW,4BAA4B,CAAC,iBAAiB,EAAE,CAAC;IAC7E,QAAQ,GAAgC;QACzD,IAAI,gBAAgB,CAAC,UAAU,EAAE,gBAAgB,CAAC,IAAI,CAAC,UAAU,EAAE,EAAE,OAAO,EAAE,gBAAgB,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC;QACpH,IAAI,gBAAgB,CAAC,UAAU,EAAE,gBAAgB,CAAC,IAAI,CAAC,aAAa,EAAE,EAAE,OAAO,EAAE,gBAAgB,CAAC,IAAI,CAAC,aAAa,EAAE,IAAI,EAAE,gBAAgB,CAAC,IAAI,CAAC,iBAAiB,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;QACzL,IAAI,gBAAgB,CAAC,SAAS,EAAE,gBAAgB,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,OAAO,EAAE,gBAAgB,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC;KAC1H,CAAC;IACiB,YAAY,GAAgC;QAC7D,IAAI,gBAAgB,CAAC,SAAS,EAAE,gBAAgB,CAAC,IAAI,CAAC,WAAW,CAAC;QAClE,IAAI,gBAAgB,CAAC,UAAU,EAAE,gBAAgB,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,gBAAgB,CAAC,IAAI,CAAC,iBAAiB,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;KAC/I,CAAC;IAEM,MAAM,CAAC,iBAAiB;QAC9B,OAAO,GAAG,gBAAgB,CAAC,mBAAmB,GAAG,4BAA4B,CAAC,KAAK,EAAE,EAAE,CAAC;IAC1F,CAAC;uGArBU,4BAA4B;2FAA5B,4BAA4B,qFCzBzC,kzCAsBA,2+DDDY,oBAAoB,kFAAE,wBAAwB,2FAAE,qBAAqB,iIAAE,qBAAqB,kMAAE,oBAAoB;;2FAIjH,4BAA4B;kBANxC,SAAS;+BACE,2BAA2B,WAC5B,CAAC,oBAAoB,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,oBAAoB,CAAC"}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
import { GallerySize } from "../../enums/gallery-size.js";
|
|
2
|
-
import { GalleryResources } from "./gallery-resources.js";
|
|
3
1
|
import * as i0 from "@angular/core";
|
|
4
2
|
export declare class GalleryNavigationComponent {
|
|
5
|
-
protected readonly text: typeof GalleryResources.text;
|
|
6
|
-
protected readonly sizes: typeof GallerySize;
|
|
7
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<GalleryNavigationComponent, never>;
|
|
8
4
|
static ɵcmp: i0.ɵɵComponentDeclaration<GalleryNavigationComponent, "nol-gallery-navigation", never, {}, {}, never, never, true, never>;
|
|
9
5
|
}
|
|
@@ -6,37 +6,25 @@
|
|
|
6
6
|
* LICENSE file in the root directory of this source tree.
|
|
7
7
|
*/
|
|
8
8
|
import { Component } from "@angular/core";
|
|
9
|
-
import { GallerySize } from "../../enums/gallery-size.js";
|
|
10
|
-
import { IconButtonComponent } from "../icon-button/icon-button.component.js";
|
|
11
|
-
import { ToolbarButtonComponent } from "../toolbar-button/toolbar-button.component.js";
|
|
12
|
-
import { ToolbarItemDirective } from "../toolbar/toolbar-item.directive.js";
|
|
13
|
-
import { ToolbarDirective } from "../toolbar/toolbar.directive.js";
|
|
14
|
-
import { TooltipDirective } from "../tooltip/tooltip.directive.js";
|
|
15
|
-
import { GalleryCellComponent } from "./gallery-cell.component.js";
|
|
16
9
|
import { GalleryFeedComponent } from "./gallery-feed.component.js";
|
|
17
10
|
import { GalleryGroupHeaderComponent } from "./gallery-group-header.component.js";
|
|
18
11
|
import { GalleryPanelCardComponent } from "./gallery-panel-card.component.js";
|
|
19
|
-
import { GalleryResources } from "./gallery-resources.js";
|
|
20
12
|
import { GallerySashComponent } from "./gallery-sash.component.js";
|
|
21
13
|
import { GallerySectionHeaderComponent } from "./gallery-section-header.component.js";
|
|
22
|
-
import { GallerySpecimenComponent } from "./gallery-specimen.component.js";
|
|
23
|
-
import { GalleryStateDirective } from "./gallery-state.directive.js";
|
|
24
14
|
import { GalleryTabComponent } from "./gallery-tab.component.js";
|
|
25
15
|
import { GalleryToolbarButtonComponent } from "./gallery-toolbar-button.component.js";
|
|
16
|
+
import { GalleryToolbarComponent } from "./gallery-toolbar.component.js";
|
|
26
17
|
import { GalleryTreeComponent } from "./gallery-tree.component.js";
|
|
27
18
|
import { GalleryViewBadgeComponent } from "./gallery-view-badge.component.js";
|
|
28
19
|
import { GalleryVirtualListComponent } from "./gallery-virtual-list.component.js";
|
|
29
20
|
import * as i0 from "@angular/core";
|
|
30
21
|
export class GalleryNavigationComponent {
|
|
31
|
-
text = GalleryResources.text;
|
|
32
|
-
sizes = GallerySize;
|
|
33
22
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryNavigationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
34
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryNavigationComponent, isStandalone: true, selector: "nol-gallery-navigation", 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-tab />\n\n<nol-gallery-view-badge />\n\n<nol-gallery-tree />\n\n<nol-gallery-virtual-list />\n\n<nol-gallery-feed />\n\n<nol-gallery-section-header />\n\n<nol-gallery-group-header />\n\n<nol-gallery-
|
|
23
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryNavigationComponent, isStandalone: true, selector: "nol-gallery-navigation", 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-tab />\n\n<nol-gallery-view-badge />\n\n<nol-gallery-tree />\n\n<nol-gallery-virtual-list />\n\n<nol-gallery-feed />\n\n<nol-gallery-section-header />\n\n<nol-gallery-group-header />\n\n<nol-gallery-toolbar />\n\n<nol-gallery-toolbar-button />\n\n<nol-gallery-sash />\n\n<nol-gallery-panel-card />\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n gap: var(--nol-space-6);\n}\n\n.nol-gallery-strip {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-tree,\n.nol-gallery-sections {\n width: 16rem;\n}\n\n.nol-gallery-list {\n width: 16rem;\n height: 12rem;\n}\n\n.nol-gallery-toolbar {\n display: flex;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-sash-box {\n display: flex;\n align-items: stretch;\n width: 12.5rem;\n height: 4rem;\n}\n\n.nol-gallery-sash-box-column {\n flex-direction: column;\n height: 8rem;\n}\n\n.nol-gallery-pane {\n flex: 1 1 0;\n background-color: var(--nol-raised);\n}\n\n.nol-gallery-card {\n width: 12.5rem;\n padding: var(--nol-space-3);\n box-sizing: border-box;\n}\n"], dependencies: [{ kind: "component", type: GalleryFeedComponent, selector: "nol-gallery-feed" }, { kind: "component", type: GalleryGroupHeaderComponent, selector: "nol-gallery-group-header" }, { kind: "component", type: GalleryPanelCardComponent, selector: "nol-gallery-panel-card" }, { kind: "component", type: GallerySashComponent, selector: "nol-gallery-sash" }, { kind: "component", type: GallerySectionHeaderComponent, selector: "nol-gallery-section-header" }, { kind: "component", type: GalleryTabComponent, selector: "nol-gallery-tab" }, { kind: "component", type: GalleryToolbarButtonComponent, selector: "nol-gallery-toolbar-button" }, { kind: "component", type: GalleryToolbarComponent, selector: "nol-gallery-toolbar" }, { kind: "component", type: GalleryTreeComponent, selector: "nol-gallery-tree" }, { kind: "component", type: GalleryViewBadgeComponent, selector: "nol-gallery-view-badge" }, { kind: "component", type: GalleryVirtualListComponent, selector: "nol-gallery-virtual-list" }] });
|
|
35
24
|
}
|
|
36
25
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryNavigationComponent, decorators: [{
|
|
37
26
|
type: Component,
|
|
38
|
-
args: [{ selector: "nol-gallery-navigation", imports: [
|
|
39
|
-
|
|
40
|
-
ToolbarDirective, ToolbarItemDirective, TooltipDirective], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-gallery-tab />\n\n<nol-gallery-view-badge />\n\n<nol-gallery-tree />\n\n<nol-gallery-virtual-list />\n\n<nol-gallery-feed />\n\n<nol-gallery-section-header />\n\n<nol-gallery-group-header />\n\n<nol-gallery-specimen [name]=\"text.toolbar\" [size]=\"sizes.Wide\" noHover>\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <div nolToolbar [nolToolbarLabel]=\"text.toolbarLabel\" class=\"nol-gallery-toolbar\">\n <button type=\"button\" nol-icon-button nolToolbarItem [icon]=\"text.glyphAdd\" [label]=\"text.button\"></button>\n <button type=\"button\" nol-icon-button nolToolbarItem [icon]=\"text.glyphSave\" [label]=\"text.pressed\" [pressed]=\"true\"></button>\n <button type=\"button\" nol-icon-button nolToolbarItem [icon]=\"text.iconGlyph\" [label]=\"text.disabled\" aria-disabled=\"true\"></button>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <div nolToolbar [nolToolbarLabel]=\"text.toolbarLabel\" class=\"nol-gallery-toolbar\" nolGalleryFocus=\"button\">\n <button type=\"button\" nol-icon-button nolToolbarItem [icon]=\"text.glyphAdd\" [label]=\"text.button\"></button>\n <button type=\"button\" nol-icon-button nolToolbarItem [icon]=\"text.glyphSave\" [label]=\"text.pressed\" [pressed]=\"true\"></button>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <div nolToolbar [nolToolbarLabel]=\"text.toolbarLabel\" class=\"nol-gallery-toolbar nol-gallery-narrow\">\n <button type=\"button\" nol-toolbar-button nolToolbarItem [icon]=\"text.glyphSave\" [label]=\"text.longText\" [isShowingLabel]=\"true\" [nolTooltip]=\"text.longText\"\n [nolTooltipTruncated]=\"true\"></button>\n </div>\n </nol-gallery-cell>\n</nol-gallery-specimen>\n\n<nol-gallery-toolbar-button />\n\n<nol-gallery-sash />\n\n<nol-gallery-panel-card />\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n gap: var(--nol-space-6);\n}\n\n.nol-gallery-strip {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-tree,\n.nol-gallery-sections {\n width: 16rem;\n}\n\n.nol-gallery-list {\n width: 16rem;\n height: 12rem;\n}\n\n.nol-gallery-toolbar {\n display: flex;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-sash-box {\n display: flex;\n align-items: stretch;\n width: 12.5rem;\n height: 4rem;\n}\n\n.nol-gallery-sash-box-column {\n flex-direction: column;\n height: 8rem;\n}\n\n.nol-gallery-pane {\n flex: 1 1 0;\n background-color: var(--nol-raised);\n}\n\n.nol-gallery-card {\n width: 12.5rem;\n padding: var(--nol-space-3);\n box-sizing: border-box;\n}\n"] }]
|
|
27
|
+
args: [{ selector: "nol-gallery-navigation", imports: [GalleryFeedComponent, GalleryGroupHeaderComponent, GalleryPanelCardComponent, GallerySashComponent, GallerySectionHeaderComponent, GalleryTabComponent, GalleryToolbarButtonComponent,
|
|
28
|
+
GalleryToolbarComponent, GalleryTreeComponent, GalleryViewBadgeComponent, GalleryVirtualListComponent], 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-tab />\n\n<nol-gallery-view-badge />\n\n<nol-gallery-tree />\n\n<nol-gallery-virtual-list />\n\n<nol-gallery-feed />\n\n<nol-gallery-section-header />\n\n<nol-gallery-group-header />\n\n<nol-gallery-toolbar />\n\n<nol-gallery-toolbar-button />\n\n<nol-gallery-sash />\n\n<nol-gallery-panel-card />\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n gap: var(--nol-space-6);\n}\n\n.nol-gallery-strip {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-tree,\n.nol-gallery-sections {\n width: 16rem;\n}\n\n.nol-gallery-list {\n width: 16rem;\n height: 12rem;\n}\n\n.nol-gallery-toolbar {\n display: flex;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-sash-box {\n display: flex;\n align-items: stretch;\n width: 12.5rem;\n height: 4rem;\n}\n\n.nol-gallery-sash-box-column {\n flex-direction: column;\n height: 8rem;\n}\n\n.nol-gallery-pane {\n flex: 1 1 0;\n background-color: var(--nol-raised);\n}\n\n.nol-gallery-card {\n width: 12.5rem;\n padding: var(--nol-space-3);\n box-sizing: border-box;\n}\n"] }]
|
|
41
29
|
}] });
|
|
42
30
|
//# sourceMappingURL=gallery-navigation.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gallery-navigation.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-navigation.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-navigation.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"gallery-navigation.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-navigation.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-navigation.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AAClF,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,6BAA6B,EAAE,MAAM,uCAAuC,CAAC;AACtF,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,6BAA6B,EAAE,MAAM,uCAAuC,CAAC;AACtF,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;;AASlF,MAAM,OAAO,0BAA0B;uGAA1B,0BAA0B;2FAA1B,0BAA0B,kFC7BvC,ieA6BA,y/BDLY,oBAAoB,6DAAE,2BAA2B,qEAAE,yBAAyB,mEAAE,oBAAoB,6DAAE,6BAA6B,uEAAE,mBAAmB,4DAAE,6BAA6B,uEAC7L,uBAAuB,gEAAE,oBAAoB,6DAAE,yBAAyB,mEAAE,2BAA2B;;2FAI5F,0BAA0B;kBAPtC,SAAS;+BACE,wBAAwB,WACzB,CAAC,oBAAoB,EAAE,2BAA2B,EAAE,yBAAyB,EAAE,oBAAoB,EAAE,6BAA6B,EAAE,mBAAmB,EAAE,6BAA6B;wBAC7L,uBAAuB,EAAE,oBAAoB,EAAE,yBAAyB,EAAE,2BAA2B,CAAC"}
|
|
@@ -1,22 +1,9 @@
|
|
|
1
|
-
import { ButtonVariant } from "../../enums/button-variant.js";
|
|
2
1
|
import { DockingDirection } from "../../enums/docking-direction.js";
|
|
3
|
-
import { GallerySize } from "../../enums/gallery-size.js";
|
|
4
|
-
import { MentionCandidate } from "../../models/mention-candidate.js";
|
|
5
2
|
import { GalleryResources } from "./gallery-resources.js";
|
|
6
3
|
import * as i0 from "@angular/core";
|
|
7
4
|
export declare class GalleryOverlaysComponent {
|
|
8
|
-
private static count;
|
|
9
5
|
protected readonly text: typeof GalleryResources.text;
|
|
10
|
-
protected readonly sizes: typeof GallerySize;
|
|
11
|
-
protected readonly variants: typeof ButtonVariant;
|
|
12
6
|
protected readonly directions: typeof DockingDirection;
|
|
13
|
-
protected readonly hoveredMention: string;
|
|
14
|
-
protected readonly mentionListId: string;
|
|
15
|
-
protected readonly hoveredMentionListId: string;
|
|
16
|
-
protected readonly longMentionListId: string;
|
|
17
|
-
protected readonly mentions: readonly MentionCandidate[];
|
|
18
|
-
protected readonly longMentions: readonly MentionCandidate[];
|
|
19
|
-
private static nextMentionListId;
|
|
20
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<GalleryOverlaysComponent, never>;
|
|
21
8
|
static ɵcmp: i0.ɵɵComponentDeclaration<GalleryOverlaysComponent, "nol-gallery-overlays", never, {}, {}, never, never, true, never>;
|
|
22
9
|
}
|