@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,57 +6,31 @@
|
|
|
6
6
|
* LICENSE file in the root directory of this source tree.
|
|
7
7
|
*/
|
|
8
8
|
import { Component } from "@angular/core";
|
|
9
|
-
import { ButtonVariant } from "../../enums/button-variant.js";
|
|
10
9
|
import { DockingDirection } from "../../enums/docking-direction.js";
|
|
11
|
-
import { GallerySize } from "../../enums/gallery-size.js";
|
|
12
|
-
import { MentionCandidate } from "../../models/mention-candidate.js";
|
|
13
|
-
import { ButtonComponent } from "../button/button.component.js";
|
|
14
10
|
import { DockingGuideComponent } from "../docking-guide/docking-guide.component.js";
|
|
15
11
|
import { DockingPlateComponent } from "../docking-plate/docking-plate.component.js";
|
|
16
|
-
import { MentionFieldDirective } from "../mention-field/mention-field.directive.js";
|
|
17
|
-
import { MentionListComponent } from "../mention-field/mention-list.component.js";
|
|
18
|
-
import { PopoverDirective } from "../popover/popover.directive.js";
|
|
19
|
-
import { PopoverTriggerDirective } from "../popover/popover-trigger.directive.js";
|
|
20
12
|
import { GalleryCellComponent } from "./gallery-cell.component.js";
|
|
21
13
|
import { GalleryCompletionListComponent } from "./gallery-completion-list.component.js";
|
|
22
14
|
import { GalleryDialogComponent } from "./gallery-dialog.component.js";
|
|
15
|
+
import { GalleryMentionFieldComponent } from "./gallery-mention-field.component.js";
|
|
23
16
|
import { GalleryMenuComponent } from "./gallery-menu.component.js";
|
|
17
|
+
import { GalleryPopoverComponent } from "./gallery-popover.component.js";
|
|
24
18
|
import { GalleryQuickInputComponent } from "./gallery-quick-input.component.js";
|
|
25
19
|
import { GalleryResources } from "./gallery-resources.js";
|
|
26
20
|
import { GallerySpecimenComponent } from "./gallery-specimen.component.js";
|
|
27
|
-
import { GalleryStateDirective } from "./gallery-state.directive.js";
|
|
28
21
|
import { GalleryTooltipComponent } from "./gallery-tooltip.component.js";
|
|
29
22
|
import * as i0 from "@angular/core";
|
|
30
23
|
export class GalleryOverlaysComponent {
|
|
31
|
-
static count = 0;
|
|
32
24
|
text = GalleryResources.text;
|
|
33
|
-
sizes = GallerySize;
|
|
34
|
-
variants = ButtonVariant;
|
|
35
25
|
directions = DockingDirection;
|
|
36
|
-
hoveredMention = GalleryResources.hoveredMention;
|
|
37
|
-
mentionListId = GalleryOverlaysComponent.nextMentionListId();
|
|
38
|
-
hoveredMentionListId = GalleryOverlaysComponent.nextMentionListId();
|
|
39
|
-
longMentionListId = GalleryOverlaysComponent.nextMentionListId();
|
|
40
|
-
mentions = [
|
|
41
|
-
new MentionCandidate("person-1", GalleryResources.text.mentionAda, { section: GalleryResources.text.mentionPeople }),
|
|
42
|
-
new MentionCandidate("person-2", GalleryResources.text.mentionAdrian, { section: GalleryResources.text.mentionPeople, note: GalleryResources.text.mentionAdrianNote, unavailable: true }),
|
|
43
|
-
new MentionCandidate("agent-1", GalleryResources.text.mentionAssistant, { section: GalleryResources.text.mentionAgents })
|
|
44
|
-
];
|
|
45
|
-
longMentions = [
|
|
46
|
-
new MentionCandidate("agent-2", GalleryResources.text.mentionLong),
|
|
47
|
-
new MentionCandidate("person-3", GalleryResources.text.mentionLongNoted, { note: GalleryResources.text.mentionAdrianNote, unavailable: true })
|
|
48
|
-
];
|
|
49
|
-
static nextMentionListId() {
|
|
50
|
-
return `${GalleryResources.mentionListIdPrefix}${GalleryOverlaysComponent.count++}`;
|
|
51
|
-
}
|
|
52
26
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryOverlaysComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
53
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryOverlaysComponent, isStandalone: true, selector: "nol-gallery-overlays", 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-menu />\n\n<nol-gallery-completion-list />\n\n<nol-gallery-
|
|
27
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryOverlaysComponent, isStandalone: true, selector: "nol-gallery-overlays", 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-menu />\n\n<nol-gallery-completion-list />\n\n<nol-gallery-mention-field />\n\n<nol-gallery-popover />\n\n<nol-gallery-tooltip />\n\n<nol-gallery-dialog />\n\n<nol-gallery-quick-input />\n\n<nol-gallery-specimen [name]=\"text.docking\" noHover noFocus noLongText>\n <nol-gallery-cell [caption]=\"text.dockingGuideCaption\"><nol-docking-guide [direction]=\"directions.Left\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.dockingChosenCaption\"><nol-docking-guide [direction]=\"directions.Right\" [chosen]=\"true\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.dockingPlateCaption\"><nol-docking-plate [chosen]=\"directions.Center\" /></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: DockingGuideComponent, selector: "nol-docking-guide", inputs: ["direction", "chosen"] }, { kind: "component", type: DockingPlateComponent, selector: "nol-docking-plate", inputs: ["chosen"] }, { kind: "component", type: GalleryCellComponent, selector: "nol-gallery-cell", inputs: ["caption"] }, { kind: "component", type: GalleryCompletionListComponent, selector: "nol-gallery-completion-list" }, { kind: "component", type: GalleryDialogComponent, selector: "nol-gallery-dialog" }, { kind: "component", type: GalleryMentionFieldComponent, selector: "nol-gallery-mention-field" }, { kind: "component", type: GalleryMenuComponent, selector: "nol-gallery-menu" }, { kind: "component", type: GalleryPopoverComponent, selector: "nol-gallery-popover" }, { kind: "component", type: GalleryQuickInputComponent, selector: "nol-gallery-quick-input" }, { kind: "component", type: GallerySpecimenComponent, selector: "nol-gallery-specimen", inputs: ["name", "size"] }, { kind: "component", type: GalleryTooltipComponent, selector: "nol-gallery-tooltip" }] });
|
|
54
28
|
}
|
|
55
29
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryOverlaysComponent, decorators: [{
|
|
56
30
|
type: Component,
|
|
57
31
|
args: [{ selector: "nol-gallery-overlays", imports: [
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
], 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-menu />\n\n<nol-gallery-completion-list />\n\n<nol-gallery-
|
|
32
|
+
DockingGuideComponent, DockingPlateComponent, GalleryCellComponent, GalleryCompletionListComponent, GalleryDialogComponent, GalleryMentionFieldComponent, GalleryMenuComponent, GalleryPopoverComponent,
|
|
33
|
+
GalleryQuickInputComponent, GallerySpecimenComponent, GalleryTooltipComponent
|
|
34
|
+
], 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-menu />\n\n<nol-gallery-completion-list />\n\n<nol-gallery-mention-field />\n\n<nol-gallery-popover />\n\n<nol-gallery-tooltip />\n\n<nol-gallery-dialog />\n\n<nol-gallery-quick-input />\n\n<nol-gallery-specimen [name]=\"text.docking\" noHover noFocus noLongText>\n <nol-gallery-cell [caption]=\"text.dockingGuideCaption\"><nol-docking-guide [direction]=\"directions.Left\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.dockingChosenCaption\"><nol-docking-guide [direction]=\"directions.Right\" [chosen]=\"true\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.dockingPlateCaption\"><nol-docking-plate [chosen]=\"directions.Center\" /></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"] }]
|
|
61
35
|
}] });
|
|
62
36
|
//# sourceMappingURL=gallery-overlays.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gallery-overlays.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-overlays.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-overlays.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"gallery-overlays.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-overlays.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-overlays.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AACpF,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AACpF,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,8BAA8B,EAAE,MAAM,wCAAwC,CAAC;AACxF,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AACpF,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;;AAWzE,MAAM,OAAO,wBAAwB;IAChB,IAAI,GAAiC,gBAAgB,CAAC,IAAI,CAAC;IAC3D,UAAU,GAA4B,gBAAgB,CAAC;uGAF/D,wBAAwB;2FAAxB,wBAAwB,gFCjCrC,03BA2BA,2+DDAI,qBAAqB,+FAAE,qBAAqB,kFAAE,oBAAoB,kFAAE,8BAA8B,wEAAE,sBAAsB,+DAAE,4BAA4B,sEAAE,oBAAoB,6DAAE,uBAAuB,gEACvM,0BAA0B,oEAAE,wBAAwB,2FAAE,uBAAuB;;2FAKpE,wBAAwB;kBATpC,SAAS;+BACE,sBAAsB,WACvB;wBACP,qBAAqB,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,8BAA8B,EAAE,sBAAsB,EAAE,4BAA4B,EAAE,oBAAoB,EAAE,uBAAuB;wBACvM,0BAA0B,EAAE,wBAAwB,EAAE,uBAAuB;qBAC9E"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { GallerySize } from "../../enums/gallery-size.js";
|
|
2
|
+
import { GalleryPermissionCards } from "./gallery-permission-cards.js";
|
|
3
|
+
import { GalleryResources } from "./gallery-resources.js";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class GalleryPermissionCardComponent {
|
|
6
|
+
protected readonly text: typeof GalleryResources.text;
|
|
7
|
+
protected readonly sizes: typeof GallerySize;
|
|
8
|
+
protected readonly permissions: GalleryPermissionCards;
|
|
9
|
+
protected readonly option: string;
|
|
10
|
+
protected readonly alwaysAllow: string;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GalleryPermissionCardComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GalleryPermissionCardComponent, "nol-gallery-permission-card", never, {}, {}, never, never, true, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { PermissionCardComponent } from "../permission-card/permission-card.component.js";
|
|
11
|
+
import { GalleryCellComponent } from "./gallery-cell.component.js";
|
|
12
|
+
import { GalleryPermissionCards } from "./gallery-permission-cards.js";
|
|
13
|
+
import { GalleryPressDirective } from "./gallery-press.directive.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 GalleryPermissionCardComponent {
|
|
19
|
+
text = GalleryResources.text;
|
|
20
|
+
sizes = GallerySize;
|
|
21
|
+
permissions = new GalleryPermissionCards(new Date());
|
|
22
|
+
option = GalleryResources.permissionOption;
|
|
23
|
+
alwaysAllow = GalleryResources.permissionAlwaysAllow;
|
|
24
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryPermissionCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
25
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryPermissionCardComponent, isStandalone: true, selector: "nol-gallery-permission-card", ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<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: GalleryCellComponent, selector: "nol-gallery-cell", inputs: ["caption"] }, { 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: PermissionCardComponent, selector: "nol-permission-card", inputs: ["request", "detailsExpanded", "detailLines"], outputs: ["detailsExpandedChange", "decide"] }] });
|
|
26
|
+
}
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryPermissionCardComponent, decorators: [{
|
|
28
|
+
type: Component,
|
|
29
|
+
args: [{ selector: "nol-gallery-permission-card", imports: [GalleryCellComponent, GalleryPressDirective, GallerySpecimenComponent, GalleryStateDirective, PermissionCardComponent], 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.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"] }]
|
|
30
|
+
}] });
|
|
31
|
+
//# sourceMappingURL=gallery-permission-card.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gallery-permission-card.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-permission-card.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-permission-card.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,uBAAuB,EAAE,MAAM,iDAAiD,CAAC;AAC1F,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;;AAQrE,MAAM,OAAO,8BAA8B;IACtB,IAAI,GAAiC,gBAAgB,CAAC,IAAI,CAAC;IAC3D,KAAK,GAAuB,WAAW,CAAC;IACxC,WAAW,GAA2B,IAAI,sBAAsB,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC;IAC7E,MAAM,GAAW,gBAAgB,CAAC,gBAAgB,CAAC;IACnD,WAAW,GAAW,gBAAgB,CAAC,qBAAqB,CAAC;uGALrE,8BAA8B;2FAA9B,8BAA8B,uFCzB3C,yiGA+BA,s/DDVY,oBAAoB,kFAAE,qBAAqB,2FAAE,wBAAwB,2FAAE,qBAAqB,iIAAE,uBAAuB;;2FAIpH,8BAA8B;kBAN1C,SAAS;+BACE,6BAA6B,WAC9B,CAAC,oBAAoB,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { GallerySize } from "../../enums/gallery-size.js";
|
|
2
|
+
import { GalleryPlans } from "./gallery-plans.js";
|
|
3
|
+
import { GalleryResources } from "./gallery-resources.js";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class GalleryPlanComponent {
|
|
6
|
+
protected readonly text: typeof GalleryResources.text;
|
|
7
|
+
protected readonly sizes: typeof GallerySize;
|
|
8
|
+
protected readonly plans: GalleryPlans;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GalleryPlanComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GalleryPlanComponent, "nol-gallery-plan", never, {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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 { MarkdownViewComponent } from "../markdown-view/markdown-view.component.js";
|
|
11
|
+
import { PlanComponent } from "../plan/plan.component.js";
|
|
12
|
+
import { GalleryCellComponent } from "./gallery-cell.component.js";
|
|
13
|
+
import { GalleryPlans } from "./gallery-plans.js";
|
|
14
|
+
import { GalleryResources } from "./gallery-resources.js";
|
|
15
|
+
import { GallerySpecimenComponent } from "./gallery-specimen.component.js";
|
|
16
|
+
import * as i0 from "@angular/core";
|
|
17
|
+
export class GalleryPlanComponent {
|
|
18
|
+
text = GalleryResources.text;
|
|
19
|
+
sizes = GallerySize;
|
|
20
|
+
plans = new GalleryPlans();
|
|
21
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryPlanComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
22
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryPlanComponent, isStandalone: true, selector: "nol-gallery-plan", 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.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", 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: GalleryCellComponent, selector: "nol-gallery-cell", inputs: ["caption"] }, { kind: "component", type: GallerySpecimenComponent, selector: "nol-gallery-specimen", inputs: ["name", "size"] }, { 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: PlanComponent, selector: "nol-plan", inputs: ["plan", "framed"] }] });
|
|
23
|
+
}
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryPlanComponent, decorators: [{
|
|
25
|
+
type: Component,
|
|
26
|
+
args: [{ selector: "nol-gallery-plan", imports: [GalleryCellComponent, GallerySpecimenComponent, MarkdownViewComponent, PlanComponent], 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.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", 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"] }]
|
|
27
|
+
}] });
|
|
28
|
+
//# sourceMappingURL=gallery-plan.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gallery-plan.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-plan.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-plan.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,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AACpF,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;;AAQ3E,MAAM,OAAO,oBAAoB;IACZ,IAAI,GAAiC,gBAAgB,CAAC,IAAI,CAAC;IAC3D,KAAK,GAAuB,WAAW,CAAC;IACxC,KAAK,GAAiB,IAAI,YAAY,EAAE,CAAC;uGAHjD,oBAAoB;2FAApB,oBAAoB,4ECxBjC,o4BAiBA,s/DDGY,oBAAoB,kFAAE,wBAAwB,2FAAE,qBAAqB,mWAAE,aAAa;;2FAInF,oBAAoB;kBANhC,SAAS;+BACE,kBAAkB,WACnB,CAAC,oBAAoB,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,aAAa,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ButtonVariant } from "../../enums/button-variant.js";
|
|
2
|
+
import { GallerySize } from "../../enums/gallery-size.js";
|
|
3
|
+
import { GalleryResources } from "./gallery-resources.js";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class GalleryPopoverComponent {
|
|
6
|
+
protected readonly text: typeof GalleryResources.text;
|
|
7
|
+
protected readonly sizes: typeof GallerySize;
|
|
8
|
+
protected readonly variants: typeof ButtonVariant;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GalleryPopoverComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GalleryPopoverComponent, "nol-gallery-popover", never, {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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 { ButtonVariant } from "../../enums/button-variant.js";
|
|
10
|
+
import { GallerySize } from "../../enums/gallery-size.js";
|
|
11
|
+
import { ButtonComponent } from "../button/button.component.js";
|
|
12
|
+
import { PopoverDirective } from "../popover/popover.directive.js";
|
|
13
|
+
import { PopoverTriggerDirective } from "../popover/popover-trigger.directive.js";
|
|
14
|
+
import { GalleryCellComponent } from "./gallery-cell.component.js";
|
|
15
|
+
import { GalleryResources } from "./gallery-resources.js";
|
|
16
|
+
import { GallerySpecimenComponent } from "./gallery-specimen.component.js";
|
|
17
|
+
import { GalleryStateDirective } from "./gallery-state.directive.js";
|
|
18
|
+
import * as i0 from "@angular/core";
|
|
19
|
+
export class GalleryPopoverComponent {
|
|
20
|
+
text = GalleryResources.text;
|
|
21
|
+
sizes = GallerySize;
|
|
22
|
+
variants = ButtonVariant;
|
|
23
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryPopoverComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
24
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryPopoverComponent, isStandalone: true, selector: "nol-gallery-popover", 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.popover\" [size]=\"sizes.Full\" noHover>\n <nol-gallery-cell [caption]=\"text.openCaption\">\n <div nolPopover class=\"nol-gallery-popover\" [label]=\"text.popoverLabel\">\n <h2 class=\"nol-gallery-popover-title\">{{ text.popoverTitle }}</h2>\n <p class=\"nol-gallery-popover-text\">{{ text.popoverBody }}</p>\n <p class=\"nol-gallery-popover-text\">{{ text.popoverLong }}</p>\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\">{{ text.popoverClose }}</button>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.triggerCaption\">\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" [nolPopoverTrigger]=\"popover\">{{ text.popoverTrigger }}</button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <div nolPopover class=\"nol-gallery-popover\" nolGalleryFocus=\"button\" [label]=\"text.popoverLabel\">\n <h2 class=\"nol-gallery-popover-title\">{{ text.popoverTitle }}</h2>\n <p class=\"nol-gallery-popover-text\">{{ text.popoverBody }}</p>\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\">{{ text.popoverClose }}</button>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <div nolPopover class=\"nol-gallery-popover nol-gallery-narrow\" [label]=\"text.popoverLabel\">\n <p class=\"nol-gallery-popover-text\">{{ text.popoverLong }}</p>\n </div>\n </nol-gallery-cell>\n <ng-template #popover>\n <div nolPopover [label]=\"text.popoverLabel\">\n <h2 class=\"nol-gallery-popover-title\">{{ text.popoverTitle }}</h2>\n <p class=\"nol-gallery-popover-text\">{{ text.popoverBody }}</p>\n </div>\n </ng-template>\n</nol-gallery-specimen>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n gap: var(--nol-space-6);\n}\n\n.nol-gallery-menu {\n width: 16rem;\n}\n\n.nol-gallery-fit {\n max-width: 100%;\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-large-dialog {\n --nol-dialog-large-width: 36rem;\n --nol-dialog-large-height: 14rem;\n --nol-dialog-large-min-height: 14rem;\n}\n\n.nol-gallery-large-dialog-body {\n margin: 0;\n padding: var(--nol-dialog-body-padding);\n padding-block: var(--nol-space-3);\n}\n\n.nol-gallery-context {\n padding: var(--nol-space-2) var(--nol-space-3);\n border: var(--nol-border-width) dashed var(--nol-border);\n border-radius: var(--nol-radius-medium);\n}\n\n.nol-gallery-popover-title {\n margin: 0;\n font-size: inherit;\n font-weight: var(--nol-weight-emphasis);\n line-height: inherit;\n}\n\n.nol-gallery-popover-text {\n margin: 0;\n overflow-wrap: anywhere;\n}\n\n.nol-gallery-mention-box {\n position: relative;\n border-radius: var(--nol-radius-small);\n background-color: var(--nol-input);\n}\n\n.nol-gallery-mention-field {\n display: block;\n box-sizing: border-box;\n width: 100%;\n min-height: calc(var(--nol-field-height) * 2);\n margin: 0;\n padding: var(--nol-space-1) var(--nol-field-padding);\n border: var(--nol-border-width) solid var(--nol-input-border);\n border-radius: var(--nol-radius-small);\n color: var(--nol-input-text);\n font: inherit;\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n resize: none;\n}\n\n.nol-gallery-mention-field::placeholder {\n color: var(--nol-placeholder);\n opacity: 1;\n}\n\n.nol-gallery-mention-field:focus {\n border-color: var(--nol-accent);\n outline: none;\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: 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: PopoverDirective, selector: "[nolPopover]", inputs: ["label"] }, { kind: "directive", type: PopoverTriggerDirective, selector: "[nolPopoverTrigger]", inputs: ["nolPopoverTrigger", "nolPopoverSide", "nolPopoverAlignment"], outputs: ["opened"], exportAs: ["nolPopoverTrigger"] }] });
|
|
25
|
+
}
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryPopoverComponent, decorators: [{
|
|
27
|
+
type: Component,
|
|
28
|
+
args: [{ selector: "nol-gallery-popover", imports: [ButtonComponent, GalleryCellComponent, GallerySpecimenComponent, GalleryStateDirective, PopoverDirective, PopoverTriggerDirective], 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.popover\" [size]=\"sizes.Full\" noHover>\n <nol-gallery-cell [caption]=\"text.openCaption\">\n <div nolPopover class=\"nol-gallery-popover\" [label]=\"text.popoverLabel\">\n <h2 class=\"nol-gallery-popover-title\">{{ text.popoverTitle }}</h2>\n <p class=\"nol-gallery-popover-text\">{{ text.popoverBody }}</p>\n <p class=\"nol-gallery-popover-text\">{{ text.popoverLong }}</p>\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\">{{ text.popoverClose }}</button>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.triggerCaption\">\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" [nolPopoverTrigger]=\"popover\">{{ text.popoverTrigger }}</button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <div nolPopover class=\"nol-gallery-popover\" nolGalleryFocus=\"button\" [label]=\"text.popoverLabel\">\n <h2 class=\"nol-gallery-popover-title\">{{ text.popoverTitle }}</h2>\n <p class=\"nol-gallery-popover-text\">{{ text.popoverBody }}</p>\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\">{{ text.popoverClose }}</button>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <div nolPopover class=\"nol-gallery-popover nol-gallery-narrow\" [label]=\"text.popoverLabel\">\n <p class=\"nol-gallery-popover-text\">{{ text.popoverLong }}</p>\n </div>\n </nol-gallery-cell>\n <ng-template #popover>\n <div nolPopover [label]=\"text.popoverLabel\">\n <h2 class=\"nol-gallery-popover-title\">{{ text.popoverTitle }}</h2>\n <p class=\"nol-gallery-popover-text\">{{ text.popoverBody }}</p>\n </div>\n </ng-template>\n</nol-gallery-specimen>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n gap: var(--nol-space-6);\n}\n\n.nol-gallery-menu {\n width: 16rem;\n}\n\n.nol-gallery-fit {\n max-width: 100%;\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-large-dialog {\n --nol-dialog-large-width: 36rem;\n --nol-dialog-large-height: 14rem;\n --nol-dialog-large-min-height: 14rem;\n}\n\n.nol-gallery-large-dialog-body {\n margin: 0;\n padding: var(--nol-dialog-body-padding);\n padding-block: var(--nol-space-3);\n}\n\n.nol-gallery-context {\n padding: var(--nol-space-2) var(--nol-space-3);\n border: var(--nol-border-width) dashed var(--nol-border);\n border-radius: var(--nol-radius-medium);\n}\n\n.nol-gallery-popover-title {\n margin: 0;\n font-size: inherit;\n font-weight: var(--nol-weight-emphasis);\n line-height: inherit;\n}\n\n.nol-gallery-popover-text {\n margin: 0;\n overflow-wrap: anywhere;\n}\n\n.nol-gallery-mention-box {\n position: relative;\n border-radius: var(--nol-radius-small);\n background-color: var(--nol-input);\n}\n\n.nol-gallery-mention-field {\n display: block;\n box-sizing: border-box;\n width: 100%;\n min-height: calc(var(--nol-field-height) * 2);\n margin: 0;\n padding: var(--nol-space-1) var(--nol-field-padding);\n border: var(--nol-border-width) solid var(--nol-input-border);\n border-radius: var(--nol-radius-small);\n color: var(--nol-input-text);\n font: inherit;\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n resize: none;\n}\n\n.nol-gallery-mention-field::placeholder {\n color: var(--nol-placeholder);\n opacity: 1;\n}\n\n.nol-gallery-mention-field:focus {\n border-color: var(--nol-accent);\n outline: none;\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n"] }]
|
|
29
|
+
}] });
|
|
30
|
+
//# sourceMappingURL=gallery-popover.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gallery-popover.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-popover.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-popover.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,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,uBAAuB;IACf,IAAI,GAAiC,gBAAgB,CAAC,IAAI,CAAC;IAC3D,KAAK,GAAuB,WAAW,CAAC;IACxC,QAAQ,GAAyB,aAAa,CAAC;uGAHvD,uBAAuB;2FAAvB,uBAAuB,+EC1BpC,s6DAuCA,2+DDjBY,eAAe,oJAAE,oBAAoB,kFAAE,wBAAwB,2FAAE,qBAAqB,iIAAE,gBAAgB,4EAAE,uBAAuB;;2FAIhI,uBAAuB;kBANnC,SAAS;+BACE,qBAAqB,WACtB,CAAC,eAAe,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { GalleryResources } from "./gallery-resources.js";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class GalleryStatusColorsComponent {
|
|
4
|
+
protected readonly text: typeof GalleryResources.text;
|
|
5
|
+
protected readonly statusSurfaces: readonly (readonly [string, string])[];
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GalleryStatusColorsComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GalleryStatusColorsComponent, "nol-gallery-status-colors", never, {}, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
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 { GalleryCellComponent } from "./gallery-cell.component.js";
|
|
10
|
+
import { GalleryResources } from "./gallery-resources.js";
|
|
11
|
+
import { GallerySpecimenComponent } from "./gallery-specimen.component.js";
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
export class GalleryStatusColorsComponent {
|
|
14
|
+
text = GalleryResources.text;
|
|
15
|
+
statusSurfaces = [["window", this.text.statusWindowCaption], ["panel", this.text.statusPanelCaption]];
|
|
16
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryStatusColorsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: GalleryStatusColorsComponent, isStandalone: true, selector: "nol-gallery-status-colors", 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.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", 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: GalleryCellComponent, selector: "nol-gallery-cell", inputs: ["caption"] }, { kind: "component", type: GallerySpecimenComponent, selector: "nol-gallery-specimen", inputs: ["name", "size"] }] });
|
|
18
|
+
}
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryStatusColorsComponent, decorators: [{
|
|
20
|
+
type: Component,
|
|
21
|
+
args: [{ selector: "nol-gallery-status-colors", imports: [GalleryCellComponent, GallerySpecimenComponent], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-gallery-specimen [name]=\"text.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", 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"] }]
|
|
22
|
+
}] });
|
|
23
|
+
//# sourceMappingURL=gallery-status-colors.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gallery-status-colors.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-status-colors.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-status-colors.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,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;;AAQ3E,MAAM,OAAO,4BAA4B;IACpB,IAAI,GAAiC,gBAAgB,CAAC,IAAI,CAAC;IAC3D,cAAc,GAA2C,CAAC,CAAC,QAAQ,EAAE,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,EAAE,CAAC,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC;uGAFtJ,4BAA4B;2FAA5B,4BAA4B,qFCpBzC,owBAmBA,s/DDHY,oBAAoB,kFAAE,wBAAwB;;2FAI7C,4BAA4B;kBANxC,SAAS;+BACE,2BAA2B,WAC5B,CAAC,oBAAoB,EAAE,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { GallerySize } from "../../enums/gallery-size.js";
|
|
2
|
+
import { GalleryResources } from "./gallery-resources.js";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class GalleryTerminalColorsComponent {
|
|
5
|
+
protected readonly text: typeof GalleryResources.text;
|
|
6
|
+
protected readonly sizes: typeof GallerySize;
|
|
7
|
+
protected readonly terminalColors: readonly string[];
|
|
8
|
+
protected readonly terminalSurfaces: readonly (readonly [string, string])[];
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GalleryTerminalColorsComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GalleryTerminalColorsComponent, "nol-gallery-terminal-colors", never, {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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 { GalleryCellComponent } from "./gallery-cell.component.js";
|
|
11
|
+
import { GalleryResources } from "./gallery-resources.js";
|
|
12
|
+
import { GallerySpecimenComponent } from "./gallery-specimen.component.js";
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
14
|
+
export class GalleryTerminalColorsComponent {
|
|
15
|
+
text = GalleryResources.text;
|
|
16
|
+
sizes = GallerySize;
|
|
17
|
+
terminalColors = GalleryResources.terminalColors;
|
|
18
|
+
terminalSurfaces = [["window", this.text.terminalWindowCaption], ["panel", this.text.terminalPanelCaption]];
|
|
19
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryTerminalColorsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
20
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: GalleryTerminalColorsComponent, isStandalone: true, selector: "nol-gallery-terminal-colors", 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.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", 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: GalleryCellComponent, selector: "nol-gallery-cell", inputs: ["caption"] }, { kind: "component", type: GallerySpecimenComponent, selector: "nol-gallery-specimen", inputs: ["name", "size"] }] });
|
|
21
|
+
}
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryTerminalColorsComponent, decorators: [{
|
|
23
|
+
type: Component,
|
|
24
|
+
args: [{ selector: "nol-gallery-terminal-colors", imports: [GalleryCellComponent, GallerySpecimenComponent], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-gallery-specimen [name]=\"text.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", 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"] }]
|
|
25
|
+
}] });
|
|
26
|
+
//# sourceMappingURL=gallery-terminal-colors.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gallery-terminal-colors.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-terminal-colors.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-terminal-colors.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,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;;AAQ3E,MAAM,OAAO,8BAA8B;IACtB,IAAI,GAAiC,gBAAgB,CAAC,IAAI,CAAC;IAC3D,KAAK,GAAuB,WAAW,CAAC;IACxC,cAAc,GAAsB,gBAAgB,CAAC,cAAc,CAAC;IACpE,gBAAgB,GAA2C,CAAC,CAAC,QAAQ,EAAE,IAAI,CAAC,IAAI,CAAC,qBAAqB,CAAC,EAAE,CAAC,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC;uGAJ5J,8BAA8B;2FAA9B,8BAA8B,uFCrB3C,+mCAwBA,s/DDPY,oBAAoB,kFAAE,wBAAwB;;2FAI7C,8BAA8B;kBAN1C,SAAS;+BACE,6BAA6B,WAC9B,CAAC,oBAAoB,EAAE,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { GallerySize } from "../../enums/gallery-size.js";
|
|
2
|
+
import { GalleryResources } from "./gallery-resources.js";
|
|
3
|
+
import { GalleryToolCalls } from "./gallery-tool-calls.js";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class GalleryToolCallComponent {
|
|
6
|
+
protected readonly text: typeof GalleryResources.text;
|
|
7
|
+
protected readonly sizes: typeof GallerySize;
|
|
8
|
+
protected readonly calls: GalleryToolCalls;
|
|
9
|
+
protected readonly toggle: string;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GalleryToolCallComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GalleryToolCallComponent, "nol-gallery-tool-call", never, {}, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { CodeBlockComponent } from "../code-block/code-block.component.js";
|
|
11
|
+
import { ToolCallOutputDirective } from "../tool-call/tool-call-output.directive.js";
|
|
12
|
+
import { ToolCallComponent } from "../tool-call/tool-call.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 { GalleryToolCalls } from "./gallery-tool-calls.js";
|
|
18
|
+
import * as i0 from "@angular/core";
|
|
19
|
+
export class GalleryToolCallComponent {
|
|
20
|
+
text = GalleryResources.text;
|
|
21
|
+
sizes = GallerySize;
|
|
22
|
+
calls = new GalleryToolCalls(new Date());
|
|
23
|
+
toggle = GalleryResources.toolCallToggle;
|
|
24
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryToolCallComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
25
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryToolCallComponent, isStandalone: true, selector: "nol-gallery-tool-call", 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.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", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n gap: var(--nol-space-6);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-content-run {\n width: 100%;\n}\n\n.nol-gallery-content-card {\n width: 12.5rem;\n}\n\n.nol-gallery-content-paragraph {\n margin: 0;\n}\n\n.nol-gallery-files {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2) var(--nol-space-4);\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n.nol-gallery-file {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n min-width: 0;\n font-size: var(--nol-text-panel);\n overflow-wrap: anywhere;\n}\n\n.nol-gallery-terminal {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2) var(--nol-space-4);\n padding: var(--nol-space-3);\n background: var(--nol-terminal-background);\n color: var(--nol-terminal-foreground);\n font-family: var(--nol-font-mono);\n}\n\n.nol-gallery-terminal-color {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n}\n\n.nol-gallery-terminal-swatch {\n width: 1rem;\n height: 1rem;\n}\n\n.nol-gallery-status {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n padding: var(--nol-space-3);\n color: var(--nol-text);\n}\n\n.nol-gallery-status-row {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n}\n\n.nol-gallery-status-dot {\n flex: none;\n width: 0.5rem;\n height: 0.5rem;\n border-radius: 50%;\n forced-color-adjust: none;\n}\n\n.nol-gallery-terminal-cursor {\n background: var(--nol-terminal-cursor);\n}\n\n.nol-gallery-terminal-selection {\n background: var(--nol-terminal-selection);\n color: var(--nol-terminal-selection-foreground);\n}\n\n.nol-gallery-content-message {\n font-size: var(--nol-text-message);\n line-height: var(--nol-line-message);\n}\n"], dependencies: [{ kind: "component", type: CodeBlockComponent, selector: "nol-code-block", inputs: ["code", "language", "wrapped", "maxHeight", "streaming", "runnable", "runState"], outputs: ["wrappedChange", "run"] }, { kind: "component", type: GalleryCellComponent, selector: "nol-gallery-cell", inputs: ["caption"] }, { kind: "component", type: GallerySpecimenComponent, selector: "nol-gallery-specimen", inputs: ["name", "size"] }, { kind: "directive", type: GalleryStateDirective, selector: "[nolGalleryHover], [nolGalleryFocus]", inputs: ["nolGalleryHover", "nolGalleryFocus"] }, { 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]" }] });
|
|
26
|
+
}
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryToolCallComponent, decorators: [{
|
|
28
|
+
type: Component,
|
|
29
|
+
args: [{ selector: "nol-gallery-tool-call", imports: [CodeBlockComponent, GalleryCellComponent, GallerySpecimenComponent, GalleryStateDirective, 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-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", 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"] }]
|
|
30
|
+
}] });
|
|
31
|
+
//# sourceMappingURL=gallery-tool-call.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gallery-tool-call.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-tool-call.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-tool-call.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,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AACrF,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;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;;AAQ3D,MAAM,OAAO,wBAAwB;IAChB,IAAI,GAAiC,gBAAgB,CAAC,IAAI,CAAC;IAC3D,KAAK,GAAuB,WAAW,CAAC;IACxC,KAAK,GAAqB,IAAI,gBAAgB,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC;IAC3D,MAAM,GAAW,gBAAgB,CAAC,cAAc,CAAC;uGAJzD,wBAAwB;2FAAxB,wBAAwB,iFC1BrC,0wGAqCA,s/DDfY,kBAAkB,yLAAE,oBAAoB,kFAAE,wBAAwB,2FAAE,qBAAqB,iIAAE,iBAAiB,qOAAE,uBAAuB;;2FAIpI,wBAAwB;kBANpC,SAAS;+BACE,uBAAuB,WACxB,CAAC,kBAAkB,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { GallerySize } from "../../enums/gallery-size.js";
|
|
2
|
+
import { GalleryResources } from "./gallery-resources.js";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class GalleryToolbarComponent {
|
|
5
|
+
protected readonly text: typeof GalleryResources.text;
|
|
6
|
+
protected readonly sizes: typeof GallerySize;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GalleryToolbarComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GalleryToolbarComponent, "nol-gallery-toolbar", never, {}, {}, never, never, true, never>;
|
|
9
|
+
}
|