@noldova/ui.components.angular 0.0.9 → 0.0.11

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.
Files changed (80) hide show
  1. package/README.md +4 -3
  2. package/api/index.d.ts +2 -0
  3. package/api/index.js +2 -0
  4. package/api/index.js.map +1 -1
  5. package/app/components/avatar/avatar-initials-fitter.d.ts +4 -0
  6. package/app/components/avatar/avatar-initials-fitter.js +35 -4
  7. package/app/components/avatar/avatar-initials-fitter.js.map +1 -1
  8. package/app/components/avatar/avatar.component.d.ts +9 -5
  9. package/app/components/avatar/avatar.component.js +2 -2
  10. package/app/components/avatar/avatar.resources.d.ts +2 -0
  11. package/app/components/avatar/avatar.resources.js +3 -1
  12. package/app/components/avatar/avatar.resources.js.map +1 -1
  13. package/app/components/configuration-table/configuration-table.component.d.ts +8 -1
  14. package/app/components/configuration-table/configuration-table.component.js +10 -4
  15. package/app/components/configuration-table/configuration-table.component.js.map +1 -1
  16. package/app/components/gallery/gallery-configuration-table.component.d.ts +3 -0
  17. package/app/components/gallery/gallery-configuration-table.component.js +5 -2
  18. package/app/components/gallery/gallery-configuration-table.component.js.map +1 -1
  19. package/app/components/gallery/gallery-feed.component.d.ts +0 -25
  20. package/app/components/gallery/gallery-feed.component.js +6 -65
  21. package/app/components/gallery/gallery-feed.component.js.map +1 -1
  22. package/app/components/gallery/gallery-message.component.d.ts +1 -0
  23. package/app/components/gallery/gallery-message.component.js +3 -2
  24. package/app/components/gallery/gallery-message.component.js.map +1 -1
  25. package/app/components/gallery/gallery-resources.d.ts +16 -0
  26. package/app/components/gallery/gallery-resources.js +8 -3
  27. package/app/components/gallery/gallery-resources.js.map +1 -1
  28. package/app/components/gallery/gallery-virtual-feed.component.d.ts +38 -0
  29. package/app/components/gallery/gallery-virtual-feed.component.js +91 -0
  30. package/app/components/gallery/gallery-virtual-feed.component.js.map +1 -0
  31. package/app/components/message/message-slot.directive.d.ts +8 -1
  32. package/app/components/message/message-slot.directive.js +3 -2
  33. package/app/components/message/message-slot.directive.js.map +1 -1
  34. package/app/components/message/message.component.d.ts +1 -0
  35. package/app/components/message/message.component.js +6 -2
  36. package/app/components/message/message.component.js.map +1 -1
  37. package/app/components/toolbar-button/toolbar-button.component.d.ts +7 -6
  38. package/app/components/toolbar-button/toolbar-button.component.js +2 -2
  39. package/app/components/toolbar-button/toolbar-button.component.js.map +1 -1
  40. package/app/enums/avatar-size.d.ts +3 -3
  41. package/app/enums/configuration-table-density.d.ts +32 -0
  42. package/app/enums/configuration-table-density.js +13 -0
  43. package/app/enums/configuration-table-density.js.map +1 -0
  44. package/app/exceptions/code-highlighting.exception.d.ts +3 -2
  45. package/app/exceptions/code-highlighting.exception.js +2 -2
  46. package/app/exceptions/code-highlighting.exception.js.map +1 -1
  47. package/app/exceptions/diff.exception.d.ts +2 -2
  48. package/app/exceptions/diff.exception.js +2 -2
  49. package/app/exceptions/diff.exception.js.map +1 -1
  50. package/app/exceptions/link-reference.exception.d.ts +2 -2
  51. package/app/exceptions/link-reference.exception.js +2 -2
  52. package/app/exceptions/link-reference.exception.js.map +1 -1
  53. package/app/exceptions/markdown.exception.d.ts +2 -2
  54. package/app/exceptions/markdown.exception.js +2 -2
  55. package/app/exceptions/markdown.exception.js.map +1 -1
  56. package/app/exceptions/theme.exception.d.ts +2 -2
  57. package/app/exceptions/theme.exception.js +2 -2
  58. package/app/exceptions/theme.exception.js.map +1 -1
  59. package/app/exceptions/tree-move.exception.d.ts +2 -2
  60. package/app/exceptions/tree-move.exception.js +2 -2
  61. package/app/exceptions/tree-move.exception.js.map +1 -1
  62. package/app/exceptions/ui-components.exception.d.ts +48 -0
  63. package/app/exceptions/ui-components.exception.js +15 -0
  64. package/app/exceptions/ui-components.exception.js.map +1 -0
  65. package/app/exceptions/virtual-list.exception.d.ts +2 -2
  66. package/app/exceptions/virtual-list.exception.js +2 -2
  67. package/app/exceptions/virtual-list.exception.js.map +1 -1
  68. package/app/models/markdown-link.js +3 -1
  69. package/app/models/markdown-link.js.map +1 -1
  70. package/app/models/mention-value.js +3 -1
  71. package/app/models/mention-value.js.map +1 -1
  72. package/app/services/dialog.service.d.ts +1 -0
  73. package/app/services/dialog.service.js +4 -2
  74. package/app/services/dialog.service.js.map +1 -1
  75. package/app/services/markdown-math.renderer.js +3 -1
  76. package/app/services/markdown-math.renderer.js.map +1 -1
  77. package/package.json +5 -4
  78. package/testing/services/kit-stylesheet-fixture.d.ts +2 -0
  79. package/testing/services/kit-stylesheet-fixture.js +7 -1
  80. package/testing/services/kit-stylesheet-fixture.js.map +1 -1
@@ -8,6 +8,7 @@
8
8
  import { NgTemplateOutlet } from "@angular/common";
9
9
  import { Component } from "@angular/core";
10
10
  import { ButtonVariant } from "../../enums/button-variant.js";
11
+ import { ConfigurationTableDensity } from "../../enums/configuration-table-density.js";
11
12
  import { GallerySize } from "../../enums/gallery-size.js";
12
13
  import { ButtonComponent } from "../button/button.component.js";
13
14
  import { ConfigurationTableActionDirective } from "../configuration-table/configuration-table-action.directive.js";
@@ -26,15 +27,17 @@ export class GalleryConfigurationTableComponent {
26
27
  text = GalleryResources.text;
27
28
  sizes = GallerySize;
28
29
  variants = ButtonVariant;
30
+ densities = ConfigurationTableDensity;
29
31
  wideTable = GalleryResources.text.configurationWideTable;
32
+ compactTable = GalleryResources.text.configurationCompactTable;
30
33
  narrowTable = GalleryResources.text.configurationNarrowTable;
31
34
  unheadedTable = GalleryResources.text.configurationUnheadedTable;
32
35
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryConfigurationTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
33
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: GalleryConfigurationTableComponent, isStandalone: true, selector: "nol-gallery-configuration-table", ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-gallery-specimen [name]=\"text.configurationTable\" [size]=\"sizes.Full\" noFocus>\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <ng-container [ngTemplateOutlet]=\"configurationTable\" [ngTemplateOutletContext]=\"{ $implicit: wideTable }\" />\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <ng-container [ngTemplateOutlet]=\"configurationTable\" [ngTemplateOutletContext]=\"{ $implicit: narrowTable }\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.noHeadingCaption\">\n <ng-container [ngTemplateOutlet]=\"configurationTable\" [ngTemplateOutletContext]=\"{ $implicit: unheadedTable }\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.configurationSharedCaption\">\n <ng-container [ngTemplateOutlet]=\"sharedTable\" [ngTemplateOutletContext]=\"{ $implicit: false }\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\">\n <ng-container [ngTemplateOutlet]=\"sharedTable\" [ngTemplateOutletContext]=\"{ $implicit: true }\" />\n </nol-gallery-cell>\n</nol-gallery-specimen>\n\n<ng-template #sharedTable let-hover>\n <div class=\"nol-gallery-table-holder\">\n <nol-configuration-table class=\"nol-gallery-table\" [level]=\"4\" [label]=\"text.configurationSharedCaption\" [nolGalleryHover]=\"hover ? 'tbody > tr' : undefined\">\n <table nolConfigurationTable>\n <thead>\n <tr>\n <th scope=\"col\" [nolConfigurationTableShare]=\"2\">{{ text.configurationName }}</th>\n <th scope=\"col\" [nolConfigurationTableShare]=\"4\" nolConfigurationTableFill>{{ text.configurationValue }}</th>\n <th scope=\"col\" [nolConfigurationTableShare]=\"2\">{{ text.configurationScope }}</th>\n <th scope=\"col\" [nolConfigurationTableShare]=\"2\" [nolConfigurationTableRowActions]=\"text.configurationActions\"></th>\n </tr>\n </thead>\n <tbody>\n @for (row of text.configurationRows.slice(0, 2); track row.name) {\n <tr>\n <td>{{ row.name }}</td>\n <td nolConfigurationTableFill>{{ row.value }}</td>\n <td>{{ row.scope }}</td>\n <td nolConfigurationTableRowActions>\n <button type=\"button\" nol-icon-button [icon]=\"text.glyphEdit\" [label]=\"row.edit\"></button>\n <button type=\"button\" nol-icon-button [danger]=\"true\" [icon]=\"text.glyphClose\" [label]=\"row.remove\"></button>\n </td>\n </tr>\n }\n </tbody>\n </table>\n </nol-configuration-table>\n </div>\n</ng-template>\n\n<ng-template #configurationTable let-table>\n <div class=\"nol-gallery-table-holder\" [class.nol-gallery-narrow]=\"table.isNarrow\">\n <nol-configuration-table class=\"nol-gallery-table\" [heading]=\"table.heading\" [level]=\"4\" [label]=\"table.label\" [explanation]=\"table.explanation\">\n @if (table.hasAdd) {\n <button type=\"button\" nol-button nolConfigurationTableAction [variant]=\"variants.Secondary\">{{ text.configurationAdd }}</button>\n }\n <table nolConfigurationTable>\n <thead>\n <tr>\n <th scope=\"col\">{{ text.configurationName }}</th>\n <th scope=\"col\" nolConfigurationTableFill>{{ text.configurationValue }}</th>\n <th scope=\"col\">{{ text.configurationScope }}</th>\n <th scope=\"col\" [attr.aria-label]=\"text.configurationActions\"></th>\n </tr>\n </thead>\n <tbody>\n @for (row of text.configurationRows.slice(0, table.rowCount); track row.name) {\n <tr>\n <td>{{ row.name }}</td>\n <td nolConfigurationTableFill>{{ row.value }}</td>\n <td>{{ row.scope }}</td>\n <td>\n <span class=\"nol-gallery-table-actions\">\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" [attr.aria-label]=\"row.edit\">{{ text.configurationEdit }}</button>\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" [attr.aria-label]=\"row.remove\">{{ text.configurationRemove }}</button>\n </span>\n </td>\n </tr>\n }\n </tbody>\n </table>\n </nol-configuration-table>\n </div>\n</ng-template>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n gap: var(--nol-space-6);\n}\n\n.nol-gallery-table {\n width: min(36rem, 100%);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-table-holder {\n width: 100%;\n box-sizing: border-box;\n margin-block: calc(var(--nol-space-1) * -1);\n padding: var(--nol-space-1) var(--nol-space-2);\n overflow-x: auto;\n}\n\n.nol-gallery-bar {\n width: 12.5rem;\n}\n\n.nol-gallery-invalid,\n.nol-gallery-noted {\n display: grid;\n}\n\n.nol-gallery-table-actions {\n display: flex;\n gap: var(--nol-space-2);\n justify-content: flex-end;\n}\n\n.nol-gallery-picture {\n position: relative;\n display: block;\n width: 7rem;\n height: 4.5rem;\n border-radius: var(--nol-radius-large);\n background: linear-gradient(135deg, var(--nol-panel), var(--nol-text));\n}\n\n.nol-gallery-picture-action {\n position: absolute;\n inset-block-start: 0.125rem;\n inset-inline-end: 0.125rem;\n}\n\n.nol-gallery-picture-tools {\n display: grid;\n place-items: end center;\n box-sizing: border-box;\n padding-block-end: 0.25rem;\n}\n\n.nol-gallery-picture-wide {\n width: 10rem;\n}\n\n.nol-gallery-backdrop {\n background: var(--nol-overlay);\n}\n\n.nol-gallery-picture-row,\n.nol-gallery-compact-row {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-attachment {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n padding: var(--nol-space-1) var(--nol-space-2);\n border: var(--nol-border-width) solid var(--nol-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-attachment);\n color: var(--nol-text);\n}\n\n.nol-gallery-attachment-glyph {\n color: var(--nol-icon-color);\n font-size: var(--nol-icon);\n}\n\n.nol-gallery-attachment-size {\n color: var(--nol-text-muted);\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "directive", type: ConfigurationTableActionDirective, selector: "[nolConfigurationTableAction]" }, { kind: "component", type: ConfigurationTableComponent, selector: "nol-configuration-table", inputs: ["heading", "label", "level", "explanation"] }, { kind: "directive", type: ConfigurationTableDirective, selector: "table[nolConfigurationTable]" }, { kind: "directive", type: ConfigurationTableFillDirective, selector: "th[nolConfigurationTableFill], td[nolConfigurationTableFill]", inputs: ["nolConfigurationTableFillMinWidth"] }, { kind: "directive", type: ConfigurationTableRowActionsDirective, selector: "th[nolConfigurationTableRowActions], td[nolConfigurationTableRowActions]", inputs: ["nolConfigurationTableRowActions"] }, { kind: "directive", type: ConfigurationTableShareDirective, selector: "th[nolConfigurationTableShare]", inputs: ["nolConfigurationTableShare"] }, { kind: "component", type: GalleryCellComponent, selector: "nol-gallery-cell", inputs: ["caption"] }, { kind: "component", type: GallerySpecimenComponent, selector: "nol-gallery-specimen", inputs: ["name", "size"] }, { kind: "directive", type: GalleryStateDirective, selector: "[nolGalleryHover], [nolGalleryFocus]", inputs: ["nolGalleryHover", "nolGalleryFocus"] }, { kind: "component", type: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
36
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: GalleryConfigurationTableComponent, isStandalone: true, selector: "nol-gallery-configuration-table", ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-gallery-specimen [name]=\"text.configurationTable\" [size]=\"sizes.Full\" noFocus>\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <ng-container [ngTemplateOutlet]=\"configurationTable\" [ngTemplateOutletContext]=\"{ $implicit: wideTable }\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.configurationCompactCaption\">\n <ng-container [ngTemplateOutlet]=\"configurationTable\" [ngTemplateOutletContext]=\"{ $implicit: compactTable }\" />\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <ng-container [ngTemplateOutlet]=\"configurationTable\" [ngTemplateOutletContext]=\"{ $implicit: narrowTable }\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.noHeadingCaption\">\n <ng-container [ngTemplateOutlet]=\"configurationTable\" [ngTemplateOutletContext]=\"{ $implicit: unheadedTable }\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.configurationSharedCaption\">\n <ng-container [ngTemplateOutlet]=\"sharedTable\" [ngTemplateOutletContext]=\"{ $implicit: false }\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\">\n <ng-container [ngTemplateOutlet]=\"sharedTable\" [ngTemplateOutletContext]=\"{ $implicit: true }\" />\n </nol-gallery-cell>\n</nol-gallery-specimen>\n\n<ng-template #sharedTable let-hover>\n <div class=\"nol-gallery-table-holder\">\n <nol-configuration-table class=\"nol-gallery-table\" [level]=\"4\" [label]=\"text.configurationSharedCaption\" [nolGalleryHover]=\"hover ? 'tbody > tr' : undefined\">\n <table nolConfigurationTable>\n <thead>\n <tr>\n <th scope=\"col\" [nolConfigurationTableShare]=\"2\">{{ text.configurationName }}</th>\n <th scope=\"col\" [nolConfigurationTableShare]=\"4\" nolConfigurationTableFill>{{ text.configurationValue }}</th>\n <th scope=\"col\" [nolConfigurationTableShare]=\"2\">{{ text.configurationScope }}</th>\n <th scope=\"col\" [nolConfigurationTableShare]=\"2\" [nolConfigurationTableRowActions]=\"text.configurationActions\"></th>\n </tr>\n </thead>\n <tbody>\n @for (row of text.configurationRows.slice(0, 2); track row.name) {\n <tr>\n <td>{{ row.name }}</td>\n <td nolConfigurationTableFill>{{ row.value }}</td>\n <td>{{ row.scope }}</td>\n <td nolConfigurationTableRowActions>\n <button type=\"button\" nol-icon-button [icon]=\"text.glyphEdit\" [label]=\"row.edit\"></button>\n <button type=\"button\" nol-icon-button [danger]=\"true\" [icon]=\"text.glyphClose\" [label]=\"row.remove\"></button>\n </td>\n </tr>\n }\n </tbody>\n </table>\n </nol-configuration-table>\n </div>\n</ng-template>\n\n<ng-template #configurationTable let-table>\n <div class=\"nol-gallery-table-holder\" [class.nol-gallery-narrow]=\"table.isNarrow\">\n <nol-configuration-table class=\"nol-gallery-table\" [heading]=\"table.heading\" [level]=\"4\" [label]=\"table.label\" [explanation]=\"table.explanation\" [density]=\"table.isCompact ? densities.Compact : densities.Normal\">\n @if (table.hasAdd) {\n <button type=\"button\" nol-button nolConfigurationTableAction [variant]=\"variants.Secondary\">{{ text.configurationAdd }}</button>\n }\n <table nolConfigurationTable>\n <thead>\n <tr>\n <th scope=\"col\">{{ text.configurationName }}</th>\n <th scope=\"col\" nolConfigurationTableFill>{{ text.configurationValue }}</th>\n <th scope=\"col\">{{ text.configurationScope }}</th>\n <th scope=\"col\" [attr.aria-label]=\"text.configurationActions\"></th>\n </tr>\n </thead>\n <tbody>\n @for (row of text.configurationRows.slice(0, table.rowCount); track row.name) {\n <tr>\n <td>{{ row.name }}</td>\n <td nolConfigurationTableFill>{{ row.value }}</td>\n <td>{{ row.scope }}</td>\n <td>\n <span class=\"nol-gallery-table-actions\">\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" [attr.aria-label]=\"row.edit\">{{ text.configurationEdit }}</button>\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" [attr.aria-label]=\"row.remove\">{{ text.configurationRemove }}</button>\n </span>\n </td>\n </tr>\n }\n </tbody>\n </table>\n </nol-configuration-table>\n </div>\n</ng-template>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n gap: var(--nol-space-6);\n}\n\n.nol-gallery-table {\n width: min(36rem, 100%);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-table-holder {\n width: 100%;\n box-sizing: border-box;\n margin-block: calc(var(--nol-space-1) * -1);\n padding: var(--nol-space-1) var(--nol-space-2);\n overflow-x: auto;\n}\n\n.nol-gallery-bar {\n width: 12.5rem;\n}\n\n.nol-gallery-invalid,\n.nol-gallery-noted {\n display: grid;\n}\n\n.nol-gallery-table-actions {\n display: flex;\n gap: var(--nol-space-2);\n justify-content: flex-end;\n}\n\n.nol-gallery-picture {\n position: relative;\n display: block;\n width: 7rem;\n height: 4.5rem;\n border-radius: var(--nol-radius-large);\n background: linear-gradient(135deg, var(--nol-panel), var(--nol-text));\n}\n\n.nol-gallery-picture-action {\n position: absolute;\n inset-block-start: 0.125rem;\n inset-inline-end: 0.125rem;\n}\n\n.nol-gallery-picture-tools {\n display: grid;\n place-items: end center;\n box-sizing: border-box;\n padding-block-end: 0.25rem;\n}\n\n.nol-gallery-picture-wide {\n width: 10rem;\n}\n\n.nol-gallery-backdrop {\n background: var(--nol-overlay);\n}\n\n.nol-gallery-picture-row,\n.nol-gallery-compact-row {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-attachment {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n padding: var(--nol-space-1) var(--nol-space-2);\n border: var(--nol-border-width) solid var(--nol-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-attachment);\n color: var(--nol-text);\n}\n\n.nol-gallery-attachment-glyph {\n color: var(--nol-icon-color);\n font-size: var(--nol-icon);\n}\n\n.nol-gallery-attachment-size {\n color: var(--nol-text-muted);\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "directive", type: ConfigurationTableActionDirective, selector: "[nolConfigurationTableAction]" }, { kind: "component", type: ConfigurationTableComponent, selector: "nol-configuration-table", inputs: ["heading", "label", "level", "explanation", "density"] }, { kind: "directive", type: ConfigurationTableDirective, selector: "table[nolConfigurationTable]" }, { kind: "directive", type: ConfigurationTableFillDirective, selector: "th[nolConfigurationTableFill], td[nolConfigurationTableFill]", inputs: ["nolConfigurationTableFillMinWidth"] }, { kind: "directive", type: ConfigurationTableRowActionsDirective, selector: "th[nolConfigurationTableRowActions], td[nolConfigurationTableRowActions]", inputs: ["nolConfigurationTableRowActions"] }, { kind: "directive", type: ConfigurationTableShareDirective, selector: "th[nolConfigurationTableShare]", inputs: ["nolConfigurationTableShare"] }, { kind: "component", type: GalleryCellComponent, selector: "nol-gallery-cell", inputs: ["caption"] }, { kind: "component", type: GallerySpecimenComponent, selector: "nol-gallery-specimen", inputs: ["name", "size"] }, { kind: "directive", type: GalleryStateDirective, selector: "[nolGalleryHover], [nolGalleryFocus]", inputs: ["nolGalleryHover", "nolGalleryFocus"] }, { kind: "component", type: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
34
37
  }
35
38
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryConfigurationTableComponent, decorators: [{
36
39
  type: Component,
37
40
  args: [{ selector: "nol-gallery-configuration-table", imports: [ButtonComponent, ConfigurationTableActionDirective, ConfigurationTableComponent, ConfigurationTableDirective, ConfigurationTableFillDirective, ConfigurationTableRowActionsDirective,
38
- ConfigurationTableShareDirective, GalleryCellComponent, GallerySpecimenComponent, GalleryStateDirective, IconButtonComponent, NgTemplateOutlet], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-gallery-specimen [name]=\"text.configurationTable\" [size]=\"sizes.Full\" noFocus>\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <ng-container [ngTemplateOutlet]=\"configurationTable\" [ngTemplateOutletContext]=\"{ $implicit: wideTable }\" />\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <ng-container [ngTemplateOutlet]=\"configurationTable\" [ngTemplateOutletContext]=\"{ $implicit: narrowTable }\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.noHeadingCaption\">\n <ng-container [ngTemplateOutlet]=\"configurationTable\" [ngTemplateOutletContext]=\"{ $implicit: unheadedTable }\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.configurationSharedCaption\">\n <ng-container [ngTemplateOutlet]=\"sharedTable\" [ngTemplateOutletContext]=\"{ $implicit: false }\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\">\n <ng-container [ngTemplateOutlet]=\"sharedTable\" [ngTemplateOutletContext]=\"{ $implicit: true }\" />\n </nol-gallery-cell>\n</nol-gallery-specimen>\n\n<ng-template #sharedTable let-hover>\n <div class=\"nol-gallery-table-holder\">\n <nol-configuration-table class=\"nol-gallery-table\" [level]=\"4\" [label]=\"text.configurationSharedCaption\" [nolGalleryHover]=\"hover ? 'tbody > tr' : undefined\">\n <table nolConfigurationTable>\n <thead>\n <tr>\n <th scope=\"col\" [nolConfigurationTableShare]=\"2\">{{ text.configurationName }}</th>\n <th scope=\"col\" [nolConfigurationTableShare]=\"4\" nolConfigurationTableFill>{{ text.configurationValue }}</th>\n <th scope=\"col\" [nolConfigurationTableShare]=\"2\">{{ text.configurationScope }}</th>\n <th scope=\"col\" [nolConfigurationTableShare]=\"2\" [nolConfigurationTableRowActions]=\"text.configurationActions\"></th>\n </tr>\n </thead>\n <tbody>\n @for (row of text.configurationRows.slice(0, 2); track row.name) {\n <tr>\n <td>{{ row.name }}</td>\n <td nolConfigurationTableFill>{{ row.value }}</td>\n <td>{{ row.scope }}</td>\n <td nolConfigurationTableRowActions>\n <button type=\"button\" nol-icon-button [icon]=\"text.glyphEdit\" [label]=\"row.edit\"></button>\n <button type=\"button\" nol-icon-button [danger]=\"true\" [icon]=\"text.glyphClose\" [label]=\"row.remove\"></button>\n </td>\n </tr>\n }\n </tbody>\n </table>\n </nol-configuration-table>\n </div>\n</ng-template>\n\n<ng-template #configurationTable let-table>\n <div class=\"nol-gallery-table-holder\" [class.nol-gallery-narrow]=\"table.isNarrow\">\n <nol-configuration-table class=\"nol-gallery-table\" [heading]=\"table.heading\" [level]=\"4\" [label]=\"table.label\" [explanation]=\"table.explanation\">\n @if (table.hasAdd) {\n <button type=\"button\" nol-button nolConfigurationTableAction [variant]=\"variants.Secondary\">{{ text.configurationAdd }}</button>\n }\n <table nolConfigurationTable>\n <thead>\n <tr>\n <th scope=\"col\">{{ text.configurationName }}</th>\n <th scope=\"col\" nolConfigurationTableFill>{{ text.configurationValue }}</th>\n <th scope=\"col\">{{ text.configurationScope }}</th>\n <th scope=\"col\" [attr.aria-label]=\"text.configurationActions\"></th>\n </tr>\n </thead>\n <tbody>\n @for (row of text.configurationRows.slice(0, table.rowCount); track row.name) {\n <tr>\n <td>{{ row.name }}</td>\n <td nolConfigurationTableFill>{{ row.value }}</td>\n <td>{{ row.scope }}</td>\n <td>\n <span class=\"nol-gallery-table-actions\">\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" [attr.aria-label]=\"row.edit\">{{ text.configurationEdit }}</button>\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" [attr.aria-label]=\"row.remove\">{{ text.configurationRemove }}</button>\n </span>\n </td>\n </tr>\n }\n </tbody>\n </table>\n </nol-configuration-table>\n </div>\n</ng-template>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n gap: var(--nol-space-6);\n}\n\n.nol-gallery-table {\n width: min(36rem, 100%);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-table-holder {\n width: 100%;\n box-sizing: border-box;\n margin-block: calc(var(--nol-space-1) * -1);\n padding: var(--nol-space-1) var(--nol-space-2);\n overflow-x: auto;\n}\n\n.nol-gallery-bar {\n width: 12.5rem;\n}\n\n.nol-gallery-invalid,\n.nol-gallery-noted {\n display: grid;\n}\n\n.nol-gallery-table-actions {\n display: flex;\n gap: var(--nol-space-2);\n justify-content: flex-end;\n}\n\n.nol-gallery-picture {\n position: relative;\n display: block;\n width: 7rem;\n height: 4.5rem;\n border-radius: var(--nol-radius-large);\n background: linear-gradient(135deg, var(--nol-panel), var(--nol-text));\n}\n\n.nol-gallery-picture-action {\n position: absolute;\n inset-block-start: 0.125rem;\n inset-inline-end: 0.125rem;\n}\n\n.nol-gallery-picture-tools {\n display: grid;\n place-items: end center;\n box-sizing: border-box;\n padding-block-end: 0.25rem;\n}\n\n.nol-gallery-picture-wide {\n width: 10rem;\n}\n\n.nol-gallery-backdrop {\n background: var(--nol-overlay);\n}\n\n.nol-gallery-picture-row,\n.nol-gallery-compact-row {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-attachment {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n padding: var(--nol-space-1) var(--nol-space-2);\n border: var(--nol-border-width) solid var(--nol-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-attachment);\n color: var(--nol-text);\n}\n\n.nol-gallery-attachment-glyph {\n color: var(--nol-icon-color);\n font-size: var(--nol-icon);\n}\n\n.nol-gallery-attachment-size {\n color: var(--nol-text-muted);\n}\n"] }]
41
+ ConfigurationTableShareDirective, GalleryCellComponent, GallerySpecimenComponent, GalleryStateDirective, IconButtonComponent, NgTemplateOutlet], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-gallery-specimen [name]=\"text.configurationTable\" [size]=\"sizes.Full\" noFocus>\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <ng-container [ngTemplateOutlet]=\"configurationTable\" [ngTemplateOutletContext]=\"{ $implicit: wideTable }\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.configurationCompactCaption\">\n <ng-container [ngTemplateOutlet]=\"configurationTable\" [ngTemplateOutletContext]=\"{ $implicit: compactTable }\" />\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <ng-container [ngTemplateOutlet]=\"configurationTable\" [ngTemplateOutletContext]=\"{ $implicit: narrowTable }\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.noHeadingCaption\">\n <ng-container [ngTemplateOutlet]=\"configurationTable\" [ngTemplateOutletContext]=\"{ $implicit: unheadedTable }\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.configurationSharedCaption\">\n <ng-container [ngTemplateOutlet]=\"sharedTable\" [ngTemplateOutletContext]=\"{ $implicit: false }\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\">\n <ng-container [ngTemplateOutlet]=\"sharedTable\" [ngTemplateOutletContext]=\"{ $implicit: true }\" />\n </nol-gallery-cell>\n</nol-gallery-specimen>\n\n<ng-template #sharedTable let-hover>\n <div class=\"nol-gallery-table-holder\">\n <nol-configuration-table class=\"nol-gallery-table\" [level]=\"4\" [label]=\"text.configurationSharedCaption\" [nolGalleryHover]=\"hover ? 'tbody > tr' : undefined\">\n <table nolConfigurationTable>\n <thead>\n <tr>\n <th scope=\"col\" [nolConfigurationTableShare]=\"2\">{{ text.configurationName }}</th>\n <th scope=\"col\" [nolConfigurationTableShare]=\"4\" nolConfigurationTableFill>{{ text.configurationValue }}</th>\n <th scope=\"col\" [nolConfigurationTableShare]=\"2\">{{ text.configurationScope }}</th>\n <th scope=\"col\" [nolConfigurationTableShare]=\"2\" [nolConfigurationTableRowActions]=\"text.configurationActions\"></th>\n </tr>\n </thead>\n <tbody>\n @for (row of text.configurationRows.slice(0, 2); track row.name) {\n <tr>\n <td>{{ row.name }}</td>\n <td nolConfigurationTableFill>{{ row.value }}</td>\n <td>{{ row.scope }}</td>\n <td nolConfigurationTableRowActions>\n <button type=\"button\" nol-icon-button [icon]=\"text.glyphEdit\" [label]=\"row.edit\"></button>\n <button type=\"button\" nol-icon-button [danger]=\"true\" [icon]=\"text.glyphClose\" [label]=\"row.remove\"></button>\n </td>\n </tr>\n }\n </tbody>\n </table>\n </nol-configuration-table>\n </div>\n</ng-template>\n\n<ng-template #configurationTable let-table>\n <div class=\"nol-gallery-table-holder\" [class.nol-gallery-narrow]=\"table.isNarrow\">\n <nol-configuration-table class=\"nol-gallery-table\" [heading]=\"table.heading\" [level]=\"4\" [label]=\"table.label\" [explanation]=\"table.explanation\" [density]=\"table.isCompact ? densities.Compact : densities.Normal\">\n @if (table.hasAdd) {\n <button type=\"button\" nol-button nolConfigurationTableAction [variant]=\"variants.Secondary\">{{ text.configurationAdd }}</button>\n }\n <table nolConfigurationTable>\n <thead>\n <tr>\n <th scope=\"col\">{{ text.configurationName }}</th>\n <th scope=\"col\" nolConfigurationTableFill>{{ text.configurationValue }}</th>\n <th scope=\"col\">{{ text.configurationScope }}</th>\n <th scope=\"col\" [attr.aria-label]=\"text.configurationActions\"></th>\n </tr>\n </thead>\n <tbody>\n @for (row of text.configurationRows.slice(0, table.rowCount); track row.name) {\n <tr>\n <td>{{ row.name }}</td>\n <td nolConfigurationTableFill>{{ row.value }}</td>\n <td>{{ row.scope }}</td>\n <td>\n <span class=\"nol-gallery-table-actions\">\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" [attr.aria-label]=\"row.edit\">{{ text.configurationEdit }}</button>\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" [attr.aria-label]=\"row.remove\">{{ text.configurationRemove }}</button>\n </span>\n </td>\n </tr>\n }\n </tbody>\n </table>\n </nol-configuration-table>\n </div>\n</ng-template>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n gap: var(--nol-space-6);\n}\n\n.nol-gallery-table {\n width: min(36rem, 100%);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-table-holder {\n width: 100%;\n box-sizing: border-box;\n margin-block: calc(var(--nol-space-1) * -1);\n padding: var(--nol-space-1) var(--nol-space-2);\n overflow-x: auto;\n}\n\n.nol-gallery-bar {\n width: 12.5rem;\n}\n\n.nol-gallery-invalid,\n.nol-gallery-noted {\n display: grid;\n}\n\n.nol-gallery-table-actions {\n display: flex;\n gap: var(--nol-space-2);\n justify-content: flex-end;\n}\n\n.nol-gallery-picture {\n position: relative;\n display: block;\n width: 7rem;\n height: 4.5rem;\n border-radius: var(--nol-radius-large);\n background: linear-gradient(135deg, var(--nol-panel), var(--nol-text));\n}\n\n.nol-gallery-picture-action {\n position: absolute;\n inset-block-start: 0.125rem;\n inset-inline-end: 0.125rem;\n}\n\n.nol-gallery-picture-tools {\n display: grid;\n place-items: end center;\n box-sizing: border-box;\n padding-block-end: 0.25rem;\n}\n\n.nol-gallery-picture-wide {\n width: 10rem;\n}\n\n.nol-gallery-backdrop {\n background: var(--nol-overlay);\n}\n\n.nol-gallery-picture-row,\n.nol-gallery-compact-row {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-attachment {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n padding: var(--nol-space-1) var(--nol-space-2);\n border: var(--nol-border-width) solid var(--nol-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-attachment);\n color: var(--nol-text);\n}\n\n.nol-gallery-attachment-glyph {\n color: var(--nol-icon-color);\n font-size: var(--nol-icon);\n}\n\n.nol-gallery-attachment-size {\n color: var(--nol-text-muted);\n}\n"] }]
39
42
  }] });
40
43
  //# sourceMappingURL=gallery-configuration-table.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"gallery-configuration-table.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-configuration-table.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-configuration-table.component.html"],"names":[],"mappings":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A0FA,0gED9DY,eAAe,oJAAE,iCAAiC,0EAAE,2BAA2B,0HAAE,2BAA2B,yEAAE,+BAA+B,wJAAE,qCAAqC,kKAC5L,gCAAgC,mHAAE,oBAAoB,kFAAE,wBAAwB,2FAAE,qBAAqB,iIAAE,mBAAmB,2MAAE,gBAAgB;;2FAIrI,kCAAkC;kBAP9C,SAAS;+BACE,iCAAiC,WAClC,CAAC,eAAe,EAAE,iCAAiC,EAAE,2BAA2B,EAAE,2BAA2B,EAAE,+BAA+B,EAAE,qCAAqC;wBAC5L,gCAAgC,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,gBAAgB,CAAC"}
1
+ {"version":3,"file":"gallery-configuration-table.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-configuration-table.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-configuration-table.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,yBAAyB,EAAE,MAAM,4CAA4C,CAAC;AACvF,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,iCAAiC,EAAE,MAAM,gEAAgE,CAAC;AACnH,OAAO,EAAE,+BAA+B,EAAE,MAAM,8DAA8D,CAAC;AAC/G,OAAO,EAAE,qCAAqC,EAAE,MAAM,qEAAqE,CAAC;AAC5H,OAAO,EAAE,gCAAgC,EAAE,MAAM,+DAA+D,CAAC;AACjH,OAAO,EAAE,2BAA2B,EAAE,MAAM,yDAAyD,CAAC;AACtG,OAAO,EAAE,2BAA2B,EAAE,MAAM,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ant } from "../../enums/button-variant.js";
3
1
  import { GallerySize } from "../../enums/gallery-size.js";
4
- import { VirtualListEdge } from "../../enums/virtual-list-edge.js";
5
- import { VirtualListKind } from "../../enums/virtual-list-kind.js";
6
- import { ArrayVirtualListSource } from "../../models/array-virtual-list-source.js";
7
2
  import type { LinkReference } from "../../models/link-reference.js";
8
3
  import type { LinkReferenceState } from "../../models/link-reference-state.js";
9
4
  import { MessageAuthor } from "../../models/message-author.js";
10
5
  import type { MessageBlock } from "../../models/message-block.js";
11
- import { GalleryFeedSource } from "./gallery-feed-source.js";
12
- import { GalleryMessage } from "./gallery-message.js";
13
6
  import { GalleryReferences } from "./gallery-references.js";
14
7
  import { GalleryResources } from "./gallery-resources.js";
15
8
  import * as i0 from "@angular/core";
16
9
  export declare class GalleryFeedComponent {
17
- private readonly timeSource;
18
- private readonly timers;
19
- private added;
20
10
  protected readonly text: typeof GalleryResources.text;
21
11
  protected readonly sizes: typeof GallerySize;
22
- protected readonly kinds: typeof VirtualListKind;
23
- protected readonly edges: typeof VirtualListEdge;
24
- protected readonly variants: typeof ButtonVariant;
25
- protected readonly replies: WritableSignal<number>;
26
- protected readonly messages: GalleryFeedSource;
27
- protected readonly slowMessages: GalleryFeedSource;
28
12
  protected readonly time: Date;
29
13
  protected readonly reviewer: MessageAuthor;
30
- protected readonly person: MessageAuthor;
31
- protected readonly continued: readonly MessageBlock[];
32
14
  protected readonly references: GalleryReferences;
33
15
  protected readonly referenced: readonly MessageBlock[];
34
16
  protected readonly runs: readonly MessageBlock[];
@@ -47,13 +29,6 @@ export declare class GalleryFeedComponent {
47
29
  protected readonly commitState: LinkReferenceState;
48
30
  protected readonly open: LinkReferenceState;
49
31
  protected readonly failed: LinkReferenceState;
50
- protected readonly focusedFeed: string;
51
- protected readonly shortMessages: ArrayVirtualListSource<GalleryMessage>;
52
- protected readonly longMessages: ArrayVirtualListSource<GalleryMessage>;
53
- protected readonly newestMessages: ArrayVirtualListSource<GalleryMessage>;
54
- constructor();
55
- protected addNewest(): void;
56
- protected streamReply(): void;
57
32
  static ɵfac: i0.ɵɵFactoryDeclaration<GalleryFeedComponent, never>;
58
33
  static ɵcmp: i0.ɵɵComponentDeclaration<GalleryFeedComponent, "nol-gallery-feed", never, {}, {}, never, never, true, never>;
59
34
  }
@@ -5,50 +5,27 @@
5
5
  * This source code is licensed under the license found in the
6
6
  * LICENSE file in the root directory of this source tree.
7
7
  */
8
- import { NgTemplateOutlet } from "@angular/common";
9
- import { Component, DestroyRef, inject, signal } from "@angular/core";
10
- import { ButtonVariant } from "../../enums/button-variant.js";
8
+ import { Component } from "@angular/core";
11
9
  import { GallerySize } from "../../enums/gallery-size.js";
12
10
  import { MessageAuthorKind } from "../../enums/message-author-kind.js";
13
- import { MessageStatus } from "../../enums/message-status.js";
14
- import { VirtualListEdge } from "../../enums/virtual-list-edge.js";
15
- import { VirtualListKind } from "../../enums/virtual-list-kind.js";
16
- import { ArrayVirtualListSource } from "../../models/array-virtual-list-source.js";
17
- import { ClockTokens } from "../../models/clock-tokens.js";
18
11
  import { MessageAuthor } from "../../models/message-author.js";
19
12
  import { MessageText } from "../../models/message-text.js";
20
- import { ButtonComponent } from "../button/button.component.js";
21
13
  import { LinkReferenceCardComponent } from "../link-reference/link-reference-card.component.js";
22
14
  import { LinkReferenceChipComponent } from "../link-reference/link-reference-chip.component.js";
23
15
  import { MessageComponent } from "../message/message.component.js";
24
- import { VirtualListComponent } from "../virtual-list/virtual-list.component.js";
25
- import { VirtualRowDirective } from "../virtual-list/virtual-row.directive.js";
26
16
  import { GalleryCellComponent } from "./gallery-cell.component.js";
27
- import { GalleryFeedSource } from "./gallery-feed-source.js";
28
- import { GalleryMessage } from "./gallery-message.js";
29
17
  import { GalleryMessageComponent } from "./gallery-message.component.js";
30
18
  import { GalleryReferences } from "./gallery-references.js";
31
19
  import { GalleryResources } from "./gallery-resources.js";
32
20
  import { GallerySpecimenComponent } from "./gallery-specimen.component.js";
33
21
  import { GalleryStateDirective } from "./gallery-state.directive.js";
22
+ import { GalleryVirtualFeedComponent } from "./gallery-virtual-feed.component.js";
34
23
  import * as i0 from "@angular/core";
35
24
  export class GalleryFeedComponent {
36
- timeSource = inject(ClockTokens.timeSource);
37
- timers = new Set();
38
- added = GalleryResources.feedNewestLength;
39
25
  text = GalleryResources.text;
40
26
  sizes = GallerySize;
41
- kinds = VirtualListKind;
42
- edges = VirtualListEdge;
43
- variants = ButtonVariant;
44
- replies = signal(0, /* @ts-ignore */
45
- ...(ngDevMode ? [{ debugName: "replies" }] : /* istanbul ignore next */ []));
46
- messages = new GalleryFeedSource(GalleryResources.feedLength, GalleryResources.feedReadDelay, Date.now(), this.timeSource);
47
- slowMessages = new GalleryFeedSource(GalleryResources.feedLength, GalleryResources.feedSlowDelay, Date.now(), this.timeSource);
48
27
  time = new Date(Date.now() - GalleryResources.messageAgo);
49
28
  reviewer = new MessageAuthor(this.text.messageReviewer, this.text.messageReviewer, MessageAuthorKind.Agent, null, this.text.messageReviewerInitials, GalleryResources.messageReviewerAccent);
50
- person = new MessageAuthor(this.text.feedAuthors[0], this.text.feedAuthors[0], MessageAuthorKind.Person);
51
- continued = [new MessageText(this.text.messageContinued)];
52
29
  references = new GalleryReferences();
53
30
  referenced = [new MessageText(this.text.referenceStatesText)];
54
31
  runs = [new MessageText(this.text.referenceRunsText)];
@@ -67,48 +44,12 @@ export class GalleryFeedComponent {
67
44
  commitState = GalleryReferences.commitState;
68
45
  open = GalleryReferences.open;
69
46
  failed = GalleryReferences.failed;
70
- focusedFeed = GalleryResources.focusedFeed;
71
- shortMessages = new ArrayVirtualListSource([
72
- new GalleryMessage("first", this.person, this.time, this.continued, MessageStatus.Complete),
73
- new GalleryMessage("second", this.reviewer, this.time, this.continued, MessageStatus.Complete)
74
- ], t => t.key, GalleryResources.virtualListEstimate);
75
- longMessages = new ArrayVirtualListSource([
76
- new GalleryMessage("long", this.person, this.time, [new MessageText(this.text.feedLongText)], MessageStatus.Complete)
77
- ], t => t.key, GalleryResources.virtualListEstimate);
78
- newestMessages = new ArrayVirtualListSource(Array.from({ length: GalleryResources.feedNewestLength }, (_, t) => new GalleryMessage(`newest-${GalleryResources.feedNewestLength - t}`, t % 2 === 0 ? this.reviewer : this.person, new Date(this.time.getTime() - t * GalleryResources.feedNewestStep), this.continued, MessageStatus.Complete)), t => t.key, GalleryResources.virtualListEstimate);
79
- constructor() {
80
- inject(DestroyRef).onDestroy(() => {
81
- for (const cancel of this.timers)
82
- cancel();
83
- });
84
- }
85
- addNewest() {
86
- this.added++;
87
- this.newestMessages.insert(0, [new GalleryMessage(`newest-${this.added}`, this.reviewer, new Date(), this.continued, MessageStatus.Complete)]);
88
- }
89
- streamReply() {
90
- const index = this.messages.startReply(new Date());
91
- this.replies.update(t => t + 1);
92
- const { feedWords } = this.text;
93
- let step = 0;
94
- const cancel = this.timeSource.every(() => {
95
- this.messages.extendReply(index, String(feedWords[step % feedWords.length]));
96
- step++;
97
- if (step < GalleryResources.feedReplyWords)
98
- return;
99
- cancel();
100
- this.timers.delete(cancel);
101
- this.messages.finishReply(index);
102
- this.replies.update(t => t - 1);
103
- }, GalleryResources.feedReplyInterval);
104
- this.timers.add(cancel);
105
- }
106
47
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryFeedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
107
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryFeedComponent, isStandalone: true, selector: "nol-gallery-feed", ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-gallery-message />\n\n<nol-gallery-specimen [name]=\"text.referenceChips\" [size]=\"sizes.Wide\" noHover>\n <nol-gallery-cell [caption]=\"text.referenceStates\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"referenced\" [references]=\"references\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceRuns\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"runs\" [references]=\"references\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceMoreKinds\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"moreKinds\" [references]=\"references\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceMarks\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"marked\" [references]=\"references\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceReadingCaption\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"reading\" [references]=\"references\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referencePullCard\"><nol-link-reference-card [reference]=\"pullRequest\" [state]=\"open\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceIssueCard\"><nol-link-reference-card [reference]=\"issue\" [state]=\"open\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceRunCard\"><nol-link-reference-card [reference]=\"run\" [state]=\"failed\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceMergeCard\"><nol-link-reference-card [reference]=\"mergeRequest\" [state]=\"open\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceWorkItemCard\"><nol-link-reference-card [reference]=\"workItem\" [state]=\"bug\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceCommitCard\"><nol-link-reference-card [reference]=\"commit\" [state]=\"commitState\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <a class=\"nol-markdown-link\" nol-link-reference-chip nolGalleryFocus=\"\" [reference]=\"pullRequest\" [href]=\"pullUrl\" (click)=\"$event.preventDefault()\"></a>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <div class=\"nol-gallery-message nol-gallery-narrow\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"longReference\" [references]=\"references\" /></div>\n </nol-gallery-cell>\n</nol-gallery-specimen>\n\n<nol-gallery-specimen [name]=\"text.virtualFeed\" [size]=\"sizes.Wide\" noHover>\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <div class=\"nol-gallery-feed\">\n <nol-virtual-list class=\"nol-gallery-feed-list\" [kind]=\"kinds.Feed\" [label]=\"text.virtualFeedLabel\" [source]=\"messages\" [busy]=\"replies() > 0\">\n <ng-template [nolVirtualRow]=\"messages\" let-message let-labelId=\"labelId\">\n <ng-container [ngTemplateOutlet]=\"row\" [ngTemplateOutletContext]=\"{ $implicit: message, labelId }\" />\n </ng-template>\n </nol-virtual-list>\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" (click)=\"streamReply()\">{{ text.virtualFeedStream }}</button>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.virtualFeedSlow\">\n <nol-virtual-list class=\"nol-gallery-feed-list nol-gallery-feed-slow\" [kind]=\"kinds.Feed\" [label]=\"text.virtualFeedLabel\" [source]=\"slowMessages\">\n <ng-template [nolVirtualRow]=\"slowMessages\" let-message let-labelId=\"labelId\">\n <ng-container [ngTemplateOutlet]=\"row\" [ngTemplateOutletContext]=\"{ $implicit: message, labelId }\" />\n </ng-template>\n </nol-virtual-list>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.virtualFeedNewest\">\n <div class=\"nol-gallery-feed\">\n <nol-virtual-list class=\"nol-gallery-feed-list nol-gallery-feed-newest\" [kind]=\"kinds.Feed\" [latest]=\"edges.Start\" [label]=\"text.virtualFeedLabel\" [source]=\"newestMessages\">\n <ng-template [nolVirtualRow]=\"newestMessages\" let-message let-labelId=\"labelId\">\n <ng-container [ngTemplateOutlet]=\"row\" [ngTemplateOutletContext]=\"{ $implicit: message, labelId }\" />\n </ng-template>\n </nol-virtual-list>\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" (click)=\"addNewest()\">{{ text.virtualFeedAdd }}</button>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <nol-virtual-list class=\"nol-gallery-feed-list nol-gallery-feed-short\" [nolGalleryFocus]=\"focusedFeed\" [kind]=\"kinds.Feed\" [label]=\"text.virtualFeedLabel\" [source]=\"shortMessages\">\n <ng-template [nolVirtualRow]=\"shortMessages\" let-message let-labelId=\"labelId\">\n <ng-container [ngTemplateOutlet]=\"row\" [ngTemplateOutletContext]=\"{ $implicit: message, labelId }\" />\n </ng-template>\n </nol-virtual-list>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <nol-virtual-list class=\"nol-gallery-feed-list nol-gallery-feed-short nol-gallery-narrow\" [kind]=\"kinds.Feed\" [label]=\"text.virtualFeedLabel\" [source]=\"longMessages\">\n <ng-template [nolVirtualRow]=\"longMessages\" let-message let-labelId=\"labelId\">\n <ng-container [ngTemplateOutlet]=\"row\" [ngTemplateOutletContext]=\"{ $implicit: message, labelId }\" />\n </ng-template>\n </nol-virtual-list>\n </nol-gallery-cell>\n <ng-template #row let-message let-labelId=\"labelId\">\n <nol-message [author]=\"message.author\" [time]=\"message.time\" [blocks]=\"message.blocks\" [status]=\"message.status\" [key]=\"message.key\" [labelId]=\"labelId\" />\n </ng-template>\n</nol-gallery-specimen>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n}\n\n.nol-gallery-feed {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n justify-items: start;\n gap: var(--nol-space-2);\n}\n\n.nol-gallery-feed-list {\n width: 30rem;\n max-width: 100%;\n height: 24rem;\n}\n\n.nol-gallery-feed-short {\n height: 10rem;\n}\n\n.nol-gallery-message {\n display: block;\n width: 30rem;\n max-width: 100%;\n}\n\n.nol-gallery-message-slot {\n margin: 0;\n color: var(--nol-text-muted);\n}\n\n.nol-gallery-message-image {\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n width: 12rem;\n height: 4rem;\n border: var(--nol-border-width) dashed var(--nol-border);\n border-radius: var(--nol-radius-medium);\n color: var(--nol-text-muted);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: GalleryCellComponent, selector: "nol-gallery-cell", inputs: ["caption"] }, { kind: "component", type: GalleryMessageComponent, selector: "nol-gallery-message" }, { kind: "component", type: GallerySpecimenComponent, selector: "nol-gallery-specimen", inputs: ["name", "size"] }, { kind: "directive", type: GalleryStateDirective, selector: "[nolGalleryHover], [nolGalleryFocus]", inputs: ["nolGalleryHover", "nolGalleryFocus"] }, { kind: "component", type: LinkReferenceCardComponent, selector: "nol-link-reference-card", inputs: ["reference", "state"], outputs: ["linkActivate", "linkMenu"] }, { kind: "component", type: LinkReferenceChipComponent, selector: "a[nol-link-reference-chip]", inputs: ["reference"], outputs: ["linkActivate", "linkMenu"] }, { kind: "component", type: MessageComponent, selector: "nol-message", inputs: ["author", "authorDescription", "time", "blocks", "status", "error", "key", "continuation", "selected", "selectionLook", "header", "footer", "actionsTop", "actionsEnd", "flashStart", "labelId", "collapsedHeight", "layout", "timeFormat", "twentyFourHour", "mentions", "mentionNames", "fileLinks", "linkSchemes", "copyText", "folderLinks", "references", "shellRuns", "shellRunStates", "shellRunOutputs", "math"], outputs: ["copied", "retry", "attachmentOpen", "linkActivate", "linkOpen", "linkMenu", "fileActivate", "filePathsChange", "shellRun", "contextMenuRequest"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: VirtualListComponent, selector: "nol-virtual-list", inputs: ["source", "label", "kind", "selected", "position", "busy", "readAhead", "latest"], outputs: ["activated", "positionChange", "jumped", "failed"] }, { kind: "directive", type: VirtualRowDirective, selector: "ng-template[nolVirtualRow]", inputs: ["nolVirtualRow", "nolVirtualRowDescribed", "nolVirtualRowHidden"] }] });
48
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryFeedComponent, isStandalone: true, selector: "nol-gallery-feed", ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-gallery-message />\n\n<nol-gallery-specimen [name]=\"text.referenceChips\" [size]=\"sizes.Wide\" noHover>\n <nol-gallery-cell [caption]=\"text.referenceStates\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"referenced\" [references]=\"references\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceRuns\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"runs\" [references]=\"references\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceMoreKinds\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"moreKinds\" [references]=\"references\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceMarks\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"marked\" [references]=\"references\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceReadingCaption\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"reading\" [references]=\"references\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referencePullCard\"><nol-link-reference-card [reference]=\"pullRequest\" [state]=\"open\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceIssueCard\"><nol-link-reference-card [reference]=\"issue\" [state]=\"open\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceRunCard\"><nol-link-reference-card [reference]=\"run\" [state]=\"failed\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceMergeCard\"><nol-link-reference-card [reference]=\"mergeRequest\" [state]=\"open\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceWorkItemCard\"><nol-link-reference-card [reference]=\"workItem\" [state]=\"bug\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceCommitCard\"><nol-link-reference-card [reference]=\"commit\" [state]=\"commitState\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <a class=\"nol-markdown-link\" nol-link-reference-chip nolGalleryFocus=\"\" [reference]=\"pullRequest\" [href]=\"pullUrl\" (click)=\"$event.preventDefault()\"></a>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <div class=\"nol-gallery-message nol-gallery-narrow\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"longReference\" [references]=\"references\" /></div>\n </nol-gallery-cell>\n</nol-gallery-specimen>\n\n<nol-gallery-virtual-feed />\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n}\n\n.nol-gallery-feed {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n justify-items: start;\n gap: var(--nol-space-2);\n}\n\n.nol-gallery-feed-list {\n width: 30rem;\n max-width: 100%;\n height: 24rem;\n}\n\n.nol-gallery-feed-short {\n height: 10rem;\n}\n\n.nol-gallery-message {\n display: block;\n width: 30rem;\n max-width: 100%;\n}\n\n.nol-gallery-message-slot {\n margin: 0;\n color: var(--nol-text-muted);\n}\n\n.nol-gallery-message-image {\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n width: 12rem;\n height: 4rem;\n border: var(--nol-border-width) dashed var(--nol-border);\n border-radius: var(--nol-radius-medium);\n color: var(--nol-text-muted);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n"], dependencies: [{ kind: "component", type: GalleryCellComponent, selector: "nol-gallery-cell", inputs: ["caption"] }, { kind: "component", type: GalleryMessageComponent, selector: "nol-gallery-message" }, { kind: "component", type: GallerySpecimenComponent, selector: "nol-gallery-specimen", inputs: ["name", "size"] }, { kind: "directive", type: GalleryStateDirective, selector: "[nolGalleryHover], [nolGalleryFocus]", inputs: ["nolGalleryHover", "nolGalleryFocus"] }, { kind: "component", type: GalleryVirtualFeedComponent, selector: "nol-gallery-virtual-feed" }, { kind: "component", type: LinkReferenceCardComponent, selector: "nol-link-reference-card", inputs: ["reference", "state"], outputs: ["linkActivate", "linkMenu"] }, { kind: "component", type: LinkReferenceChipComponent, selector: "a[nol-link-reference-chip]", inputs: ["reference"], outputs: ["linkActivate", "linkMenu"] }, { kind: "component", type: MessageComponent, selector: "nol-message", inputs: ["author", "authorDescription", "time", "blocks", "status", "error", "key", "continuation", "selected", "selectionLook", "header", "footer", "actionsTop", "actionsEnd", "flashStart", "labelId", "collapsedHeight", "layout", "timeFormat", "twentyFourHour", "mentions", "mentionNames", "fileLinks", "linkSchemes", "copyText", "folderLinks", "references", "shellRuns", "shellRunStates", "shellRunOutputs", "math"], outputs: ["copied", "retry", "attachmentOpen", "linkActivate", "linkOpen", "linkMenu", "fileActivate", "filePathsChange", "shellRun", "contextMenuRequest"] }] });
108
49
  }
109
50
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryFeedComponent, decorators: [{
110
51
  type: Component,
111
- args: [{ selector: "nol-gallery-feed", imports: [ButtonComponent, GalleryCellComponent, GalleryMessageComponent, GallerySpecimenComponent, GalleryStateDirective, LinkReferenceCardComponent, LinkReferenceChipComponent,
112
- MessageComponent, NgTemplateOutlet, VirtualListComponent, VirtualRowDirective], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-gallery-message />\n\n<nol-gallery-specimen [name]=\"text.referenceChips\" [size]=\"sizes.Wide\" noHover>\n <nol-gallery-cell [caption]=\"text.referenceStates\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"referenced\" [references]=\"references\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceRuns\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"runs\" [references]=\"references\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceMoreKinds\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"moreKinds\" [references]=\"references\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceMarks\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"marked\" [references]=\"references\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceReadingCaption\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"reading\" [references]=\"references\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referencePullCard\"><nol-link-reference-card [reference]=\"pullRequest\" [state]=\"open\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceIssueCard\"><nol-link-reference-card [reference]=\"issue\" [state]=\"open\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceRunCard\"><nol-link-reference-card [reference]=\"run\" [state]=\"failed\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceMergeCard\"><nol-link-reference-card [reference]=\"mergeRequest\" [state]=\"open\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceWorkItemCard\"><nol-link-reference-card [reference]=\"workItem\" [state]=\"bug\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceCommitCard\"><nol-link-reference-card [reference]=\"commit\" [state]=\"commitState\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <a class=\"nol-markdown-link\" nol-link-reference-chip nolGalleryFocus=\"\" [reference]=\"pullRequest\" [href]=\"pullUrl\" (click)=\"$event.preventDefault()\"></a>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <div class=\"nol-gallery-message nol-gallery-narrow\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"longReference\" [references]=\"references\" /></div>\n </nol-gallery-cell>\n</nol-gallery-specimen>\n\n<nol-gallery-specimen [name]=\"text.virtualFeed\" [size]=\"sizes.Wide\" noHover>\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <div class=\"nol-gallery-feed\">\n <nol-virtual-list class=\"nol-gallery-feed-list\" [kind]=\"kinds.Feed\" [label]=\"text.virtualFeedLabel\" [source]=\"messages\" [busy]=\"replies() > 0\">\n <ng-template [nolVirtualRow]=\"messages\" let-message let-labelId=\"labelId\">\n <ng-container [ngTemplateOutlet]=\"row\" [ngTemplateOutletContext]=\"{ $implicit: message, labelId }\" />\n </ng-template>\n </nol-virtual-list>\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" (click)=\"streamReply()\">{{ text.virtualFeedStream }}</button>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.virtualFeedSlow\">\n <nol-virtual-list class=\"nol-gallery-feed-list nol-gallery-feed-slow\" [kind]=\"kinds.Feed\" [label]=\"text.virtualFeedLabel\" [source]=\"slowMessages\">\n <ng-template [nolVirtualRow]=\"slowMessages\" let-message let-labelId=\"labelId\">\n <ng-container [ngTemplateOutlet]=\"row\" [ngTemplateOutletContext]=\"{ $implicit: message, labelId }\" />\n </ng-template>\n </nol-virtual-list>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.virtualFeedNewest\">\n <div class=\"nol-gallery-feed\">\n <nol-virtual-list class=\"nol-gallery-feed-list nol-gallery-feed-newest\" [kind]=\"kinds.Feed\" [latest]=\"edges.Start\" [label]=\"text.virtualFeedLabel\" [source]=\"newestMessages\">\n <ng-template [nolVirtualRow]=\"newestMessages\" let-message let-labelId=\"labelId\">\n <ng-container [ngTemplateOutlet]=\"row\" [ngTemplateOutletContext]=\"{ $implicit: message, labelId }\" />\n </ng-template>\n </nol-virtual-list>\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" (click)=\"addNewest()\">{{ text.virtualFeedAdd }}</button>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <nol-virtual-list class=\"nol-gallery-feed-list nol-gallery-feed-short\" [nolGalleryFocus]=\"focusedFeed\" [kind]=\"kinds.Feed\" [label]=\"text.virtualFeedLabel\" [source]=\"shortMessages\">\n <ng-template [nolVirtualRow]=\"shortMessages\" let-message let-labelId=\"labelId\">\n <ng-container [ngTemplateOutlet]=\"row\" [ngTemplateOutletContext]=\"{ $implicit: message, labelId }\" />\n </ng-template>\n </nol-virtual-list>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <nol-virtual-list class=\"nol-gallery-feed-list nol-gallery-feed-short nol-gallery-narrow\" [kind]=\"kinds.Feed\" [label]=\"text.virtualFeedLabel\" [source]=\"longMessages\">\n <ng-template [nolVirtualRow]=\"longMessages\" let-message let-labelId=\"labelId\">\n <ng-container [ngTemplateOutlet]=\"row\" [ngTemplateOutletContext]=\"{ $implicit: message, labelId }\" />\n </ng-template>\n </nol-virtual-list>\n </nol-gallery-cell>\n <ng-template #row let-message let-labelId=\"labelId\">\n <nol-message [author]=\"message.author\" [time]=\"message.time\" [blocks]=\"message.blocks\" [status]=\"message.status\" [key]=\"message.key\" [labelId]=\"labelId\" />\n </ng-template>\n</nol-gallery-specimen>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n}\n\n.nol-gallery-feed {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n justify-items: start;\n gap: var(--nol-space-2);\n}\n\n.nol-gallery-feed-list {\n width: 30rem;\n max-width: 100%;\n height: 24rem;\n}\n\n.nol-gallery-feed-short {\n height: 10rem;\n}\n\n.nol-gallery-message {\n display: block;\n width: 30rem;\n max-width: 100%;\n}\n\n.nol-gallery-message-slot {\n margin: 0;\n color: var(--nol-text-muted);\n}\n\n.nol-gallery-message-image {\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n width: 12rem;\n height: 4rem;\n border: var(--nol-border-width) dashed var(--nol-border);\n border-radius: var(--nol-radius-medium);\n color: var(--nol-text-muted);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n"] }]
113
- }], ctorParameters: () => [] });
52
+ args: [{ selector: "nol-gallery-feed", imports: [GalleryCellComponent, GalleryMessageComponent, GallerySpecimenComponent, GalleryStateDirective, GalleryVirtualFeedComponent, LinkReferenceCardComponent,
53
+ LinkReferenceChipComponent, MessageComponent], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-gallery-message />\n\n<nol-gallery-specimen [name]=\"text.referenceChips\" [size]=\"sizes.Wide\" noHover>\n <nol-gallery-cell [caption]=\"text.referenceStates\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"referenced\" [references]=\"references\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceRuns\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"runs\" [references]=\"references\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceMoreKinds\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"moreKinds\" [references]=\"references\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceMarks\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"marked\" [references]=\"references\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceReadingCaption\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"reading\" [references]=\"references\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referencePullCard\"><nol-link-reference-card [reference]=\"pullRequest\" [state]=\"open\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceIssueCard\"><nol-link-reference-card [reference]=\"issue\" [state]=\"open\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceRunCard\"><nol-link-reference-card [reference]=\"run\" [state]=\"failed\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceMergeCard\"><nol-link-reference-card [reference]=\"mergeRequest\" [state]=\"open\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceWorkItemCard\"><nol-link-reference-card [reference]=\"workItem\" [state]=\"bug\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.referenceCommitCard\"><nol-link-reference-card [reference]=\"commit\" [state]=\"commitState\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <a class=\"nol-markdown-link\" nol-link-reference-chip nolGalleryFocus=\"\" [reference]=\"pullRequest\" [href]=\"pullUrl\" (click)=\"$event.preventDefault()\"></a>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <div class=\"nol-gallery-message nol-gallery-narrow\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"longReference\" [references]=\"references\" /></div>\n </nol-gallery-cell>\n</nol-gallery-specimen>\n\n<nol-gallery-virtual-feed />\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n}\n\n.nol-gallery-feed {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n justify-items: start;\n gap: var(--nol-space-2);\n}\n\n.nol-gallery-feed-list {\n width: 30rem;\n max-width: 100%;\n height: 24rem;\n}\n\n.nol-gallery-feed-short {\n height: 10rem;\n}\n\n.nol-gallery-message {\n display: block;\n width: 30rem;\n max-width: 100%;\n}\n\n.nol-gallery-message-slot {\n margin: 0;\n color: var(--nol-text-muted);\n}\n\n.nol-gallery-message-image {\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n width: 12rem;\n height: 4rem;\n border: var(--nol-border-width) dashed var(--nol-border);\n border-radius: var(--nol-radius-medium);\n color: var(--nol-text-muted);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n"] }]
54
+ }] });
114
55
  //# sourceMappingURL=gallery-feed.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"gallery-feed.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-feed.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-feed.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,UAAU,EAAuB,MAAM,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAE3F,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,E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G,CAAC,MAAM,CAAC,CAAC;IAC1B,CAAC;uGA5EU,oBAAoB;2FAApB,oBAAoB,4EC/CjC,o/LAsFA,uiCD5CY,eAAe,oJAAE,oBAAoB,kFAAE,uBAAuB,gEAAE,wBAAwB,2FAAE,qBAAqB,iIAAE,0BAA0B,2IAAE,0BAA0B,qIAC/K,gBAAgB,wnBAAE,gBAAgB,oJAAE,oBAAoB,uNAAE,mBAAmB;;2FAIpE,oBAAoB;kBAPhC,SAAS;+BACE,kBAAkB,WACnB,CAAC,eAAe,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,0BAA0B,EAAE,0BAA0B;wBAC/K,gBAAgB,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,mBAAmB,CAAC"}
1
+ {"version":3,"file":"gallery-feed.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-feed.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-feed.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,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAGvE,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAE/D,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,0BAA0B,EAAE,MAAM,oDAAoD,CAAC;AAChG,OAAO,EAAE,0BAA0B,EAAE,MAAM,oDAAoD,CAAC;AAChG,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAy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AAC,iBAAiB,CAAC,CAAC,CAAC;IACxF,WAAW,GAAkB,iBAAiB,CAAC,WAAW,CAAC;IAC3D,OAAO,GAAW,gBAAgB,CAAC,aAAa,CAAC,GAAG,CAAC;IACrD,KAAK,GAAkB,iBAAiB,CAAC,KAAK,CAAC;IAC/C,GAAG,GAAkB,iBAAiB,CAAC,GAAG,CAAC;IAC3C,YAAY,GAAkB,iBAAiB,CAAC,YAAY,CAAC;IAC7D,QAAQ,GAAkB,iBAAiB,CAAC,QAAQ,CAAC;IACrD,MAAM,GAAkB,iBAAiB,CAAC,MAAM,CAAC;IACjD,GAAG,GAAuB,iBAAiB,CAAC,GAAG,CAAC;IAChD,WAAW,GAAuB,iBAAiB,CAAC,WAAW,CAAC;IAChE,IAAI,GAAuB,iBAAiB,CAAC,IAAI,CAAC;IAClD,MAAM,GAAuB,iBAAiB,CAAC,MAAM,CAAC;uGAvB9D,oBAAoB;2FAApB,oBAAoB,4ECnCjC,g0FAyCA,uiCDXY,oBAAoB,kFAAE,uBAAuB,gEAAE,wBAAwB,2FAAE,qBAAqB,iIAAE,2BAA2B,qEAAE,0BAA0B,2IAC/J,0BAA0B,qIAAE,gBAAgB;;2FAInC,oBAAoB;kBAPhC,SAAS;+BACE,kBAAkB,WACnB,CAAC,oBAAoB,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,2BAA2B,EAAE,0BAA0B;wBAC/J,0BAA0B,EAAE,gBAAgB,CAAC"}
@@ -42,6 +42,7 @@ export declare class GalleryMessageComponent {
42
42
  protected readonly answer: readonly MessageBlock[];
43
43
  protected readonly continued: readonly MessageBlock[];
44
44
  protected readonly attached: readonly MessageBlock[];
45
+ protected readonly attachedSlot: readonly MessageBlock[];
45
46
  protected readonly pictureAttached: readonly MessageBlock[];
46
47
  protected readonly hovered: readonly MessageBlock[];
47
48
  protected readonly partial: readonly MessageBlock[];
@@ -63,6 +63,7 @@ export class GalleryMessageComponent {
63
63
  new MessageAttachment(this.text.messageAttachmentId, this.text.messageAttachmentName, GalleryResources.messageAttachmentSize, this.text.messageAttachmentType),
64
64
  new MessageSlot(this.text.messageSlotId)
65
65
  ];
66
+ attachedSlot = [new MessageText(this.text.messageStopped), new MessageSlot(this.text.messageAttachedSlotId)];
66
67
  pictureAttached = [
67
68
  new MessageAttachment(this.text.messagePictureId, this.text.messagePictureName, GalleryResources.messagePictureSize, this.text.messagePictureType, null, null, new MessageAttachmentPicture(GalleryResources.messagePicture, GalleryResources.messagePictureWidth, GalleryResources.messagePictureHeight)),
68
69
  new MessageText(this.text.messagePictureText)
@@ -92,11 +93,11 @@ export class GalleryMessageComponent {
92
93
  this.timers.add(cancel);
93
94
  }
94
95
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryMessageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
95
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.2.6", type: GalleryMessageComponent, isStandalone: true, selector: "nol-gallery-message", viewQueries: [{ propertyName: "slot", first: true, predicate: MessageSlotDirective, descendants: true, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-gallery-specimen [name]=\"text.message\" [size]=\"sizes.Wide\">\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"answer\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\">\n <div class=\"nol-gallery-message\"><nol-message nolGalleryHover=\".nol-message-attachment\" [author]=\"reviewer\" [time]=\"time\" [blocks]=\"hovered\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <div class=\"nol-gallery-message\"><nol-message nolGalleryFocus=\".nol-message-copy\" [author]=\"reviewer\" [time]=\"time\" [blocks]=\"answer\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageContinuation\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"answer\" />\n <nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"continued\" [continuation]=\"true\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageBubble\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Bubble\" [timeFormat]=\"timeFormats.Clock\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageBubbleHover\">\n <div class=\"nol-gallery-message\">\n <nol-message nolGalleryHover=\".nol-message-copy\" [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Bubble\" [timeFormat]=\"timeFormats.Clock\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageClock\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"continued\" [timeFormat]=\"timeFormats.Clock\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageAttachments\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"attached\">\n <ng-template [nolMessageSlot]=\"text.messageSlotId\"><p class=\"nol-gallery-message-slot\">{{ text.messageSlotText }}</p></ng-template>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messagePicture\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"pictureAttached\" [layout]=\"layouts.Bubble\" [timeFormat]=\"timeFormats.Clock\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageFileLinks\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"linked\" [fileLinks]=\"true\" [folderLinks]=\"linkedFolders\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageImage\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"pictured\">\n <ng-template nolMessageImage let-alt=\"alt\" let-title=\"title\"><span class=\"nol-gallery-message-image\" role=\"img\" [attr.aria-label]=\"alt\">{{ title }}</span></ng-template>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.selected\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [selected]=\"true\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.working\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"partial\" [status]=\"statuses.Streaming\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageCancelled\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"stopped\" [status]=\"statuses.Cancelled\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.error\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"stopped\" [status]=\"statuses.Error\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageErrorRetry\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"stopped\" [status]=\"retryStatus()\" (retry)=\"retry()\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageColumn\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"assistant\" [time]=\"time\" [blocks]=\"columnBlocks\" [layout]=\"layouts.Column\" [mentions]=\"mentions\">\n <nol-chip nolMessageHeader [kind]=\"chipKinds.Status\">{{ text.messageColumnStatus }}</nol-chip>\n <button type=\"button\" nol-icon-button nolMessageAction [icon]=\"text.messageRewindGlyph\" [label]=\"text.messageRewind\"></button>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageActionsPlaced\">\n <div class=\"nol-gallery-message\">\n <nol-message nolGalleryFocus=\".nol-message-copy\" [author]=\"assistant\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\" [header]=\"false\" [footer]=\"false\"\n [actionsTop]=\"actionsTop\" [actionsEnd]=\"actionsEnd\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageColumnPerson\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\" [timeFormat]=\"timeFormats.Clock\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageColumnApp\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"app\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\">\n <nol-chip nolMessageHeader [kind]=\"chipKinds.Failed\">{{ text.chipFailed }}</nol-chip>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageFooterEnd\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"assistant\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\">\n <button type=\"button\" nol-icon-button nolMessageFooterEnd [icon]=\"text.messageStatsGlyph\" [label]=\"text.messageStats\"></button>\n </nol-message>\n <nol-message [author]=\"assistant\" [time]=\"time\" [blocks]=\"partial\" [layout]=\"layouts.Column\" [status]=\"statuses.Streaming\">\n <button type=\"button\" nol-icon-button nolMessageFooterEnd [nolMessageFooterEndPlacement]=\"footerPlacements.End\" [icon]=\"text.messageStopGlyph\"\n [label]=\"text.messageStop\"></button>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <div class=\"nol-gallery-message nol-gallery-narrow\"><nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"long\" [timeFormat]=\"timeFormats.Clock\" /></div>\n </nol-gallery-cell>\n</nol-gallery-specimen>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n}\n\n.nol-gallery-feed {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n justify-items: start;\n gap: var(--nol-space-2);\n}\n\n.nol-gallery-feed-list {\n width: 30rem;\n max-width: 100%;\n height: 24rem;\n}\n\n.nol-gallery-feed-short {\n height: 10rem;\n}\n\n.nol-gallery-message {\n display: block;\n width: 30rem;\n max-width: 100%;\n}\n\n.nol-gallery-message-slot {\n margin: 0;\n color: var(--nol-text-muted);\n}\n\n.nol-gallery-message-image {\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n width: 12rem;\n height: 4rem;\n border: var(--nol-border-width) dashed var(--nol-border);\n border-radius: var(--nol-radius-medium);\n color: var(--nol-text-muted);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n"], dependencies: [{ kind: "component", type: ChipComponent, selector: "nol-chip", inputs: ["kind", "count"] }, { kind: "component", type: GalleryCellComponent, selector: "nol-gallery-cell", inputs: ["caption"] }, { kind: "component", type: GallerySpecimenComponent, selector: "nol-gallery-specimen", inputs: ["name", "size"] }, { kind: "directive", type: GalleryStateDirective, selector: "[nolGalleryHover], [nolGalleryFocus]", inputs: ["nolGalleryHover", "nolGalleryFocus"] }, { kind: "component", type: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { kind: "directive", type: MessageActionDirective, selector: "[nolMessageAction]" }, { kind: "component", type: MessageComponent, selector: "nol-message", inputs: ["author", "authorDescription", "time", "blocks", "status", "error", "key", "continuation", "selected", "selectionLook", "header", "footer", "actionsTop", "actionsEnd", "flashStart", "labelId", "collapsedHeight", "layout", "timeFormat", "twentyFourHour", "mentions", "mentionNames", "fileLinks", "linkSchemes", "copyText", "folderLinks", "references", "shellRuns", "shellRunStates", "shellRunOutputs", "math"], outputs: ["copied", "retry", "attachmentOpen", "linkActivate", "linkOpen", "linkMenu", "fileActivate", "filePathsChange", "shellRun", "contextMenuRequest"] }, { kind: "directive", type: MessageFooterEndDirective, selector: "[nolMessageFooterEnd]", inputs: ["nolMessageFooterEndPlacement"] }, { kind: "directive", type: MessageImageDirective, selector: "ng-template[nolMessageImage]" }, { kind: "directive", type: MessageSlotDirective, selector: "ng-template[nolMessageSlot]", inputs: ["nolMessageSlot"] }] });
96
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.2.6", type: GalleryMessageComponent, isStandalone: true, selector: "nol-gallery-message", viewQueries: [{ propertyName: "slot", first: true, predicate: MessageSlotDirective, descendants: true, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-gallery-specimen [name]=\"text.message\" [size]=\"sizes.Wide\">\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"answer\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\">\n <div class=\"nol-gallery-message\"><nol-message nolGalleryHover=\".nol-message-attachment\" [author]=\"reviewer\" [time]=\"time\" [blocks]=\"hovered\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <div class=\"nol-gallery-message\"><nol-message nolGalleryFocus=\".nol-message-copy\" [author]=\"reviewer\" [time]=\"time\" [blocks]=\"answer\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageContinuation\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"answer\" />\n <nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"continued\" [continuation]=\"true\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageBubble\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Bubble\" [timeFormat]=\"timeFormats.Clock\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageBubbleHover\">\n <div class=\"nol-gallery-message\">\n <nol-message nolGalleryHover=\".nol-message-copy\" [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Bubble\" [timeFormat]=\"timeFormats.Clock\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageClock\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"continued\" [timeFormat]=\"timeFormats.Clock\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageAttachments\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"attached\">\n <ng-template [nolMessageSlot]=\"text.messageSlotId\"><p class=\"nol-gallery-message-slot\">{{ text.messageSlotText }}</p></ng-template>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageAttachedSlot\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"attachedSlot\">\n <ng-template [nolMessageSlot]=\"text.messageAttachedSlotId\" [nolMessageSlotAttached]=\"true\"><p class=\"nol-gallery-message-slot\">{{ text.messageAttachedSlotText }}</p></ng-template>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messagePicture\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"pictureAttached\" [layout]=\"layouts.Bubble\" [timeFormat]=\"timeFormats.Clock\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageFileLinks\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"linked\" [fileLinks]=\"true\" [folderLinks]=\"linkedFolders\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageImage\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"pictured\">\n <ng-template nolMessageImage let-alt=\"alt\" let-title=\"title\"><span class=\"nol-gallery-message-image\" role=\"img\" [attr.aria-label]=\"alt\">{{ title }}</span></ng-template>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.selected\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [selected]=\"true\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.working\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"partial\" [status]=\"statuses.Streaming\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageCancelled\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"stopped\" [status]=\"statuses.Cancelled\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.error\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"stopped\" [status]=\"statuses.Error\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageErrorRetry\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"stopped\" [status]=\"retryStatus()\" (retry)=\"retry()\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageColumn\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"assistant\" [time]=\"time\" [blocks]=\"columnBlocks\" [layout]=\"layouts.Column\" [mentions]=\"mentions\">\n <nol-chip nolMessageHeader [kind]=\"chipKinds.Status\">{{ text.messageColumnStatus }}</nol-chip>\n <button type=\"button\" nol-icon-button nolMessageAction [icon]=\"text.messageRewindGlyph\" [label]=\"text.messageRewind\"></button>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageActionsPlaced\">\n <div class=\"nol-gallery-message\">\n <nol-message nolGalleryFocus=\".nol-message-copy\" [author]=\"assistant\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\" [header]=\"false\" [footer]=\"false\"\n [actionsTop]=\"actionsTop\" [actionsEnd]=\"actionsEnd\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageColumnPerson\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\" [timeFormat]=\"timeFormats.Clock\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageColumnApp\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"app\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\">\n <nol-chip nolMessageHeader [kind]=\"chipKinds.Failed\">{{ text.chipFailed }}</nol-chip>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageFooterEnd\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"assistant\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\">\n <button type=\"button\" nol-icon-button nolMessageFooterEnd [icon]=\"text.messageStatsGlyph\" [label]=\"text.messageStats\"></button>\n </nol-message>\n <nol-message [author]=\"assistant\" [time]=\"time\" [blocks]=\"partial\" [layout]=\"layouts.Column\" [status]=\"statuses.Streaming\">\n <button type=\"button\" nol-icon-button nolMessageFooterEnd [nolMessageFooterEndPlacement]=\"footerPlacements.End\" [icon]=\"text.messageStopGlyph\"\n [label]=\"text.messageStop\"></button>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <div class=\"nol-gallery-message nol-gallery-narrow\"><nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"long\" [timeFormat]=\"timeFormats.Clock\" /></div>\n </nol-gallery-cell>\n</nol-gallery-specimen>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n}\n\n.nol-gallery-feed {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n justify-items: start;\n gap: var(--nol-space-2);\n}\n\n.nol-gallery-feed-list {\n width: 30rem;\n max-width: 100%;\n height: 24rem;\n}\n\n.nol-gallery-feed-short {\n height: 10rem;\n}\n\n.nol-gallery-message {\n display: block;\n width: 30rem;\n max-width: 100%;\n}\n\n.nol-gallery-message-slot {\n margin: 0;\n color: var(--nol-text-muted);\n}\n\n.nol-gallery-message-image {\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n width: 12rem;\n height: 4rem;\n border: var(--nol-border-width) dashed var(--nol-border);\n border-radius: var(--nol-radius-medium);\n color: var(--nol-text-muted);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n"], dependencies: [{ kind: "component", type: ChipComponent, selector: "nol-chip", inputs: ["kind", "count"] }, { kind: "component", type: GalleryCellComponent, selector: "nol-gallery-cell", inputs: ["caption"] }, { kind: "component", type: GallerySpecimenComponent, selector: "nol-gallery-specimen", inputs: ["name", "size"] }, { kind: "directive", type: GalleryStateDirective, selector: "[nolGalleryHover], [nolGalleryFocus]", inputs: ["nolGalleryHover", "nolGalleryFocus"] }, { kind: "component", type: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { kind: "directive", type: MessageActionDirective, selector: "[nolMessageAction]" }, { kind: "component", type: MessageComponent, selector: "nol-message", inputs: ["author", "authorDescription", "time", "blocks", "status", "error", "key", "continuation", "selected", "selectionLook", "header", "footer", "actionsTop", "actionsEnd", "flashStart", "labelId", "collapsedHeight", "layout", "timeFormat", "twentyFourHour", "mentions", "mentionNames", "fileLinks", "linkSchemes", "copyText", "folderLinks", "references", "shellRuns", "shellRunStates", "shellRunOutputs", "math"], outputs: ["copied", "retry", "attachmentOpen", "linkActivate", "linkOpen", "linkMenu", "fileActivate", "filePathsChange", "shellRun", "contextMenuRequest"] }, { kind: "directive", type: MessageFooterEndDirective, selector: "[nolMessageFooterEnd]", inputs: ["nolMessageFooterEndPlacement"] }, { kind: "directive", type: MessageImageDirective, selector: "ng-template[nolMessageImage]" }, { kind: "directive", type: MessageSlotDirective, selector: "ng-template[nolMessageSlot]", inputs: ["nolMessageSlot", "nolMessageSlotAttached"] }] });
96
97
  }
97
98
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryMessageComponent, decorators: [{
98
99
  type: Component,
99
100
  args: [{ selector: "nol-gallery-message", imports: [ChipComponent, GalleryCellComponent, GallerySpecimenComponent, GalleryStateDirective, IconButtonComponent, MessageActionDirective, MessageComponent, MessageFooterEndDirective,
100
- MessageImageDirective, MessageSlotDirective], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-gallery-specimen [name]=\"text.message\" [size]=\"sizes.Wide\">\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"answer\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\">\n <div class=\"nol-gallery-message\"><nol-message nolGalleryHover=\".nol-message-attachment\" [author]=\"reviewer\" [time]=\"time\" [blocks]=\"hovered\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <div class=\"nol-gallery-message\"><nol-message nolGalleryFocus=\".nol-message-copy\" [author]=\"reviewer\" [time]=\"time\" [blocks]=\"answer\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageContinuation\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"answer\" />\n <nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"continued\" [continuation]=\"true\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageBubble\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Bubble\" [timeFormat]=\"timeFormats.Clock\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageBubbleHover\">\n <div class=\"nol-gallery-message\">\n <nol-message nolGalleryHover=\".nol-message-copy\" [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Bubble\" [timeFormat]=\"timeFormats.Clock\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageClock\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"continued\" [timeFormat]=\"timeFormats.Clock\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageAttachments\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"attached\">\n <ng-template [nolMessageSlot]=\"text.messageSlotId\"><p class=\"nol-gallery-message-slot\">{{ text.messageSlotText }}</p></ng-template>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messagePicture\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"pictureAttached\" [layout]=\"layouts.Bubble\" [timeFormat]=\"timeFormats.Clock\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageFileLinks\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"linked\" [fileLinks]=\"true\" [folderLinks]=\"linkedFolders\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageImage\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"pictured\">\n <ng-template nolMessageImage let-alt=\"alt\" let-title=\"title\"><span class=\"nol-gallery-message-image\" role=\"img\" [attr.aria-label]=\"alt\">{{ title }}</span></ng-template>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.selected\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [selected]=\"true\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.working\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"partial\" [status]=\"statuses.Streaming\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageCancelled\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"stopped\" [status]=\"statuses.Cancelled\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.error\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"stopped\" [status]=\"statuses.Error\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageErrorRetry\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"stopped\" [status]=\"retryStatus()\" (retry)=\"retry()\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageColumn\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"assistant\" [time]=\"time\" [blocks]=\"columnBlocks\" [layout]=\"layouts.Column\" [mentions]=\"mentions\">\n <nol-chip nolMessageHeader [kind]=\"chipKinds.Status\">{{ text.messageColumnStatus }}</nol-chip>\n <button type=\"button\" nol-icon-button nolMessageAction [icon]=\"text.messageRewindGlyph\" [label]=\"text.messageRewind\"></button>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageActionsPlaced\">\n <div class=\"nol-gallery-message\">\n <nol-message nolGalleryFocus=\".nol-message-copy\" [author]=\"assistant\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\" [header]=\"false\" [footer]=\"false\"\n [actionsTop]=\"actionsTop\" [actionsEnd]=\"actionsEnd\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageColumnPerson\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\" [timeFormat]=\"timeFormats.Clock\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageColumnApp\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"app\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\">\n <nol-chip nolMessageHeader [kind]=\"chipKinds.Failed\">{{ text.chipFailed }}</nol-chip>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageFooterEnd\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"assistant\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\">\n <button type=\"button\" nol-icon-button nolMessageFooterEnd [icon]=\"text.messageStatsGlyph\" [label]=\"text.messageStats\"></button>\n </nol-message>\n <nol-message [author]=\"assistant\" [time]=\"time\" [blocks]=\"partial\" [layout]=\"layouts.Column\" [status]=\"statuses.Streaming\">\n <button type=\"button\" nol-icon-button nolMessageFooterEnd [nolMessageFooterEndPlacement]=\"footerPlacements.End\" [icon]=\"text.messageStopGlyph\"\n [label]=\"text.messageStop\"></button>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <div class=\"nol-gallery-message nol-gallery-narrow\"><nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"long\" [timeFormat]=\"timeFormats.Clock\" /></div>\n </nol-gallery-cell>\n</nol-gallery-specimen>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n}\n\n.nol-gallery-feed {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n justify-items: start;\n gap: var(--nol-space-2);\n}\n\n.nol-gallery-feed-list {\n width: 30rem;\n max-width: 100%;\n height: 24rem;\n}\n\n.nol-gallery-feed-short {\n height: 10rem;\n}\n\n.nol-gallery-message {\n display: block;\n width: 30rem;\n max-width: 100%;\n}\n\n.nol-gallery-message-slot {\n margin: 0;\n color: var(--nol-text-muted);\n}\n\n.nol-gallery-message-image {\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n width: 12rem;\n height: 4rem;\n border: var(--nol-border-width) dashed var(--nol-border);\n border-radius: var(--nol-radius-medium);\n color: var(--nol-text-muted);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n"] }]
101
+ MessageImageDirective, MessageSlotDirective], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-gallery-specimen [name]=\"text.message\" [size]=\"sizes.Wide\">\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"answer\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\">\n <div class=\"nol-gallery-message\"><nol-message nolGalleryHover=\".nol-message-attachment\" [author]=\"reviewer\" [time]=\"time\" [blocks]=\"hovered\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <div class=\"nol-gallery-message\"><nol-message nolGalleryFocus=\".nol-message-copy\" [author]=\"reviewer\" [time]=\"time\" [blocks]=\"answer\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageContinuation\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"answer\" />\n <nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"continued\" [continuation]=\"true\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageBubble\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Bubble\" [timeFormat]=\"timeFormats.Clock\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageBubbleHover\">\n <div class=\"nol-gallery-message\">\n <nol-message nolGalleryHover=\".nol-message-copy\" [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Bubble\" [timeFormat]=\"timeFormats.Clock\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageClock\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"continued\" [timeFormat]=\"timeFormats.Clock\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageAttachments\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"attached\">\n <ng-template [nolMessageSlot]=\"text.messageSlotId\"><p class=\"nol-gallery-message-slot\">{{ text.messageSlotText }}</p></ng-template>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageAttachedSlot\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"attachedSlot\">\n <ng-template [nolMessageSlot]=\"text.messageAttachedSlotId\" [nolMessageSlotAttached]=\"true\"><p class=\"nol-gallery-message-slot\">{{ text.messageAttachedSlotText }}</p></ng-template>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messagePicture\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"pictureAttached\" [layout]=\"layouts.Bubble\" [timeFormat]=\"timeFormats.Clock\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageFileLinks\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"linked\" [fileLinks]=\"true\" [folderLinks]=\"linkedFolders\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageImage\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"pictured\">\n <ng-template nolMessageImage let-alt=\"alt\" let-title=\"title\"><span class=\"nol-gallery-message-image\" role=\"img\" [attr.aria-label]=\"alt\">{{ title }}</span></ng-template>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.selected\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [selected]=\"true\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.working\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"partial\" [status]=\"statuses.Streaming\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageCancelled\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"stopped\" [status]=\"statuses.Cancelled\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.error\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"stopped\" [status]=\"statuses.Error\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageErrorRetry\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"stopped\" [status]=\"retryStatus()\" (retry)=\"retry()\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageColumn\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"assistant\" [time]=\"time\" [blocks]=\"columnBlocks\" [layout]=\"layouts.Column\" [mentions]=\"mentions\">\n <nol-chip nolMessageHeader [kind]=\"chipKinds.Status\">{{ text.messageColumnStatus }}</nol-chip>\n <button type=\"button\" nol-icon-button nolMessageAction [icon]=\"text.messageRewindGlyph\" [label]=\"text.messageRewind\"></button>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageActionsPlaced\">\n <div class=\"nol-gallery-message\">\n <nol-message nolGalleryFocus=\".nol-message-copy\" [author]=\"assistant\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\" [header]=\"false\" [footer]=\"false\"\n [actionsTop]=\"actionsTop\" [actionsEnd]=\"actionsEnd\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageColumnPerson\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\" [timeFormat]=\"timeFormats.Clock\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageColumnApp\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"app\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\">\n <nol-chip nolMessageHeader [kind]=\"chipKinds.Failed\">{{ text.chipFailed }}</nol-chip>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageFooterEnd\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"assistant\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\">\n <button type=\"button\" nol-icon-button nolMessageFooterEnd [icon]=\"text.messageStatsGlyph\" [label]=\"text.messageStats\"></button>\n </nol-message>\n <nol-message [author]=\"assistant\" [time]=\"time\" [blocks]=\"partial\" [layout]=\"layouts.Column\" [status]=\"statuses.Streaming\">\n <button type=\"button\" nol-icon-button nolMessageFooterEnd [nolMessageFooterEndPlacement]=\"footerPlacements.End\" [icon]=\"text.messageStopGlyph\"\n [label]=\"text.messageStop\"></button>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <div class=\"nol-gallery-message nol-gallery-narrow\"><nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"long\" [timeFormat]=\"timeFormats.Clock\" /></div>\n </nol-gallery-cell>\n</nol-gallery-specimen>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n}\n\n.nol-gallery-feed {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n justify-items: start;\n gap: var(--nol-space-2);\n}\n\n.nol-gallery-feed-list {\n width: 30rem;\n max-width: 100%;\n height: 24rem;\n}\n\n.nol-gallery-feed-short {\n height: 10rem;\n}\n\n.nol-gallery-message {\n display: block;\n width: 30rem;\n max-width: 100%;\n}\n\n.nol-gallery-message-slot {\n margin: 0;\n color: var(--nol-text-muted);\n}\n\n.nol-gallery-message-image {\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n width: 12rem;\n height: 4rem;\n border: var(--nol-border-width) dashed var(--nol-border);\n border-radius: var(--nol-radius-medium);\n color: var(--nol-text-muted);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n"] }]
101
102
  }], ctorParameters: () => [], propDecorators: { slot: [{ type: i0.ViewChild, args: [i0.forwardRef(() => MessageSlotDirective), { isSignal: true }] }] } });
102
103
  //# sourceMappingURL=gallery-message.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"gallery-message.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-message.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-message.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAE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AAyB;wBACtL,qBAAqB,EAAE,oBAAoB,CAAC;gHAgB6B,oBAAoB"}
1
+ {"version":3,"file":"gallery-message.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-message.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-message.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,UAAU,EAAoC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAEnH,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;AACjF,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAEvE,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,EAAE,wBAAwB,EAAE,MAAM,4CAA4C,CAAC;AACtF,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAE/D,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OA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