@noldova/ui.components.angular 0.0.3 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (174) hide show
  1. package/README.md +2 -2
  2. package/app/components/avatar/avatar-initials-fitter.js +3 -3
  3. package/app/components/avatar/avatar.component.js +3 -3
  4. package/app/components/button/button.component.js +4 -4
  5. package/app/components/card/card.component.js +3 -3
  6. package/app/components/checkbox/checkbox.component.js +3 -3
  7. package/app/components/chip/chip.component.js +3 -3
  8. package/app/components/choice-pills/choice-pills.component.js +3 -3
  9. package/app/components/choice-row/choice-row.component.js +3 -3
  10. package/app/components/code-block/code-block.component.js +3 -3
  11. package/app/components/code-block/shell-run-output.component.js +3 -3
  12. package/app/components/code-block/shell-run-output.directive.js +3 -3
  13. package/app/components/configuration-table/configuration-table-action.directive.js +3 -3
  14. package/app/components/configuration-table/configuration-table-fill.directive.js +3 -3
  15. package/app/components/configuration-table/configuration-table-row-actions.directive.js +3 -3
  16. package/app/components/configuration-table/configuration-table-share.directive.js +3 -3
  17. package/app/components/configuration-table/configuration-table.component.js +3 -3
  18. package/app/components/configuration-table/configuration-table.directive.js +3 -3
  19. package/app/components/dialog/dialog-description.directive.js +3 -3
  20. package/app/components/dialog/dialog.component.js +3 -3
  21. package/app/components/diff-view/diff-code.directive.js +3 -3
  22. package/app/components/diff-view/diff-view.component.js +3 -3
  23. package/app/components/docking-guide/docking-guide.component.js +3 -3
  24. package/app/components/docking-plate/docking-plate.component.js +3 -3
  25. package/app/components/field-message/field-message.component.js +3 -3
  26. package/app/components/file-badge/file-badge.component.js +3 -3
  27. package/app/components/gallery/gallery-avatar.component.js +3 -3
  28. package/app/components/gallery/gallery-button.component.js +3 -3
  29. package/app/components/gallery/gallery-card.component.js +3 -3
  30. package/app/components/gallery/gallery-cell.component.js +3 -3
  31. package/app/components/gallery/gallery-checkbox.component.js +3 -3
  32. package/app/components/gallery/gallery-chip.component.js +3 -3
  33. package/app/components/gallery/gallery-choice-pills.component.js +3 -3
  34. package/app/components/gallery/gallery-choice-row.component.js +3 -3
  35. package/app/components/gallery/gallery-code-block.component.js +3 -3
  36. package/app/components/gallery/gallery-configuration-table.component.js +3 -3
  37. package/app/components/gallery/gallery-content.component.js +3 -3
  38. package/app/components/gallery/gallery-dialog.component.js +3 -3
  39. package/app/components/gallery/gallery-feed.component.js +3 -3
  40. package/app/components/gallery/gallery-file-badge.component.js +3 -3
  41. package/app/components/gallery/gallery-forms.component.js +3 -3
  42. package/app/components/gallery/gallery-group-header.component.js +3 -3
  43. package/app/components/gallery/gallery-icon-button.component.js +3 -3
  44. package/app/components/gallery/gallery-inline-code.component.js +3 -3
  45. package/app/components/gallery/gallery-markdown-view.component.js +3 -3
  46. package/app/components/gallery/gallery-menu.component.js +4 -4
  47. package/app/components/gallery/gallery-menu.component.js.map +1 -1
  48. package/app/components/gallery/gallery-message.component.js +3 -3
  49. package/app/components/gallery/gallery-meter.component.js +3 -3
  50. package/app/components/gallery/gallery-navigation.component.js +3 -3
  51. package/app/components/gallery/gallery-overlays.component.js +3 -3
  52. package/app/components/gallery/gallery-panel-card.component.js +3 -3
  53. package/app/components/gallery/gallery-press.directive.js +3 -3
  54. package/app/components/gallery/gallery-progress.component.js +3 -3
  55. package/app/components/gallery/gallery-quick-input.component.js +3 -3
  56. package/app/components/gallery/gallery-radio.component.js +3 -3
  57. package/app/components/gallery/gallery-refusing-clipboard.directive.js +3 -3
  58. package/app/components/gallery/gallery-refusing-clipboard.js +3 -3
  59. package/app/components/gallery/gallery-resources.d.ts +3 -1
  60. package/app/components/gallery/gallery-resources.js +3 -1
  61. package/app/components/gallery/gallery-resources.js.map +1 -1
  62. package/app/components/gallery/gallery-sash.component.js +3 -3
  63. package/app/components/gallery/gallery-scope.directive.js +3 -3
  64. package/app/components/gallery/gallery-section-header.component.js +3 -3
  65. package/app/components/gallery/gallery-select.component.js +3 -3
  66. package/app/components/gallery/gallery-specimen.component.js +3 -3
  67. package/app/components/gallery/gallery-spinner.component.js +3 -3
  68. package/app/components/gallery/gallery-split-button.component.js +3 -3
  69. package/app/components/gallery/gallery-split-button.component.js.map +1 -1
  70. package/app/components/gallery/gallery-state.directive.js +3 -3
  71. package/app/components/gallery/gallery-switch.component.js +3 -3
  72. package/app/components/gallery/gallery-tab.component.js +3 -3
  73. package/app/components/gallery/gallery-terminal-output.component.js +3 -3
  74. package/app/components/gallery/gallery-text-field.component.js +3 -3
  75. package/app/components/gallery/gallery-toolbar-button.component.js +3 -3
  76. package/app/components/gallery/gallery-tooltip.component.js +3 -3
  77. package/app/components/gallery/gallery-tree.component.js +3 -3
  78. package/app/components/gallery/gallery-view-badge.component.js +3 -3
  79. package/app/components/gallery/gallery-virtual-list.component.js +3 -3
  80. package/app/components/gallery/gallery.component.js +3 -3
  81. package/app/components/group-header/group-header.component.js +3 -3
  82. package/app/components/icon-button/icon-button.component.js +4 -4
  83. package/app/components/icon-button/icon-button.component.js.map +1 -1
  84. package/app/components/inline-code/inline-code.component.js +3 -3
  85. package/app/components/link-reference/link-reference-card.component.js +3 -3
  86. package/app/components/link-reference/link-reference-chip.component.js +3 -3
  87. package/app/components/link-reference/link-reference-image.component.js +3 -3
  88. package/app/components/link-reference/link-reference-work-item-state.component.js +3 -3
  89. package/app/components/markdown-view/markdown-math.component.js +3 -3
  90. package/app/components/markdown-view/markdown-view-nodes.component.js +3 -3
  91. package/app/components/markdown-view/markdown-view.component.js +3 -3
  92. package/app/components/mention-field/mention-field.directive.js +3 -3
  93. package/app/components/mention-field/mention-list.component.js +3 -3
  94. package/app/components/menu/context-menu-trigger.directive.js +3 -3
  95. package/app/components/menu/kept-open-menu-item.directive.js +3 -3
  96. package/app/components/menu/menu-group-action.directive.js +3 -3
  97. package/app/components/menu/menu-group.component.js +3 -3
  98. package/app/components/menu/menu-item.component.d.ts +10 -1
  99. package/app/components/menu/menu-item.component.js +7 -5
  100. package/app/components/menu/menu-item.component.js.map +1 -1
  101. package/app/components/menu/menu-opens-on.directive.js +3 -3
  102. package/app/components/menu/menu-separator.component.js +3 -3
  103. package/app/components/menu/menu-trigger.directive.js +3 -3
  104. package/app/components/menu/menu.component.js +3 -3
  105. package/app/components/menu-bar/menu-bar-item.component.js +3 -3
  106. package/app/components/menu-bar/menu-bar.component.js +3 -3
  107. package/app/components/message/message-action.directive.js +3 -3
  108. package/app/components/message/message-footer-end.directive.js +3 -3
  109. package/app/components/message/message-image.directive.js +3 -3
  110. package/app/components/message/message-run.component.js +3 -3
  111. package/app/components/message/message-slot.directive.js +3 -3
  112. package/app/components/message/message.component.js +3 -3
  113. package/app/components/meter/meter.component.js +3 -3
  114. package/app/components/panel-card/panel-card.component.js +3 -3
  115. package/app/components/permission-card/permission-card.component.js +3 -3
  116. package/app/components/plan/plan.component.js +3 -3
  117. package/app/components/popover/popover-trigger.directive.js +3 -3
  118. package/app/components/popover/popover.directive.js +3 -3
  119. package/app/components/progress/progress.component.js +3 -3
  120. package/app/components/progress/reveal-delay.directive.js +3 -3
  121. package/app/components/quick-input/quick-input.component.js +4 -4
  122. package/app/components/quick-input/quick-input.component.js.map +1 -1
  123. package/app/components/radio/radio-group.component.js +3 -3
  124. package/app/components/radio/radio.component.js +3 -3
  125. package/app/components/sash/sash.component.js +3 -3
  126. package/app/components/section-header/section-header.component.d.ts +4 -4
  127. package/app/components/section-header/section-header.component.js +4 -4
  128. package/app/components/select/select.component.js +3 -3
  129. package/app/components/spinner/spinner.component.js +4 -4
  130. package/app/components/split-button/split-button.component.js +3 -3
  131. package/app/components/switch/switch.component.js +3 -3
  132. package/app/components/tab/tab.component.js +4 -4
  133. package/app/components/tab/tab.component.js.map +1 -1
  134. package/app/components/terminal-output/terminal-output.component.js +3 -3
  135. package/app/components/text-field/text-field-box.component.js +3 -3
  136. package/app/components/text-field/text-field-end.directive.js +3 -3
  137. package/app/components/text-field/text-field.component.js +3 -3
  138. package/app/components/tool-call/tool-call-output.directive.js +3 -3
  139. package/app/components/tool-call/tool-call.component.js +3 -3
  140. package/app/components/toolbar/toolbar-item.directive.js +3 -3
  141. package/app/components/toolbar/toolbar.directive.js +3 -3
  142. package/app/components/toolbar-button/toolbar-button.component.js +4 -4
  143. package/app/components/toolbar-button/toolbar-button.component.js.map +1 -1
  144. package/app/components/tooltip/tooltip.component.js +3 -3
  145. package/app/components/tooltip/tooltip.directive.js +3 -3
  146. package/app/components/tree/tree-row.directive.js +3 -3
  147. package/app/components/tree/tree.component.js +3 -3
  148. package/app/components/view-badge/view-badge.component.js +3 -3
  149. package/app/components/virtual-list/virtual-list.component.js +4 -4
  150. package/app/components/virtual-list/virtual-list.component.js.map +1 -1
  151. package/app/components/virtual-list/virtual-row.directive.js +3 -3
  152. package/app/models/default-theme.js +1 -0
  153. package/app/models/default-theme.js.map +1 -1
  154. package/app/services/announcer.js +3 -3
  155. package/app/services/appearance.service.js +3 -3
  156. package/app/services/code-highlighter.js +3 -3
  157. package/app/services/code-highlights.js +3 -3
  158. package/app/services/dialog.service.js +3 -3
  159. package/app/services/diff-highlights.js +3 -3
  160. package/app/services/duration-formatter.js +3 -3
  161. package/app/services/markdown-math.renderer.js +3 -3
  162. package/app/services/markdown.parser.js +3 -3
  163. package/app/services/overlay-bounds.service.js +3 -3
  164. package/app/services/pending-permissions.js +3 -3
  165. package/app/services/scroll-reveal.service.js +3 -3
  166. package/app/services/shared-clock.js +3 -3
  167. package/app/services/tooltip-pace.js +3 -3
  168. package/package.json +7 -7
  169. package/resources.js +1 -0
  170. package/resources.js.map +1 -1
  171. package/styles/theme.css +1 -0
  172. package/testing/models/fixture-theme.js +1 -0
  173. package/testing/models/fixture-theme.js.map +1 -1
  174. package/testing/services/clipboard-writer-fixture.js +3 -3
@@ -13,10 +13,10 @@ import * as i1 from "@angular/cdk/menu";
13
13
  export class MenuBarComponent {
14
14
  label = input(null, /* @ts-ignore */
15
15
  ...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
16
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.5", ngImport: i0, type: MenuBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
17
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.2.5", type: MenuBarComponent, isStandalone: true, selector: "nol-menu-bar", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.aria-label": "label()" } }, providers: [ElementDirectionality.provide()], hostDirectives: [{ directive: i1.CdkMenuBar }], 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<ng-content />\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: flex;\n align-items: center;\n min-width: 0;\n white-space: nowrap;\n}\n"] });
16
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: MenuBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
17
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.2.6", type: MenuBarComponent, isStandalone: true, selector: "nol-menu-bar", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.aria-label": "label()" } }, providers: [ElementDirectionality.provide()], hostDirectives: [{ directive: i1.CdkMenuBar }], 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<ng-content />\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: flex;\n align-items: center;\n min-width: 0;\n white-space: nowrap;\n}\n"] });
18
18
  }
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.5", ngImport: i0, type: MenuBarComponent, decorators: [{
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: MenuBarComponent, decorators: [{
20
20
  type: Component,
21
21
  args: [{ selector: "nol-menu-bar", providers: [ElementDirectionality.provide()], hostDirectives: [CdkMenuBar], host: {
22
22
  "[attr.aria-label]": "label()"
@@ -11,10 +11,10 @@ import * as i0 from "@angular/core";
11
11
  import * as i1 from "../toolbar/toolbar-item.directive.js";
12
12
  export class MessageActionDirective {
13
13
  item = inject(ToolbarItemDirective);
14
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.5", ngImport: i0, type: MessageActionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
15
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.2.5", type: MessageActionDirective, isStandalone: true, selector: "[nolMessageAction]", hostDirectives: [{ directive: i1.ToolbarItemDirective }], ngImport: i0 });
14
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: MessageActionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
15
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.2.6", type: MessageActionDirective, isStandalone: true, selector: "[nolMessageAction]", hostDirectives: [{ directive: i1.ToolbarItemDirective }], ngImport: i0 });
16
16
  }
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.5", ngImport: i0, type: MessageActionDirective, decorators: [{
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: MessageActionDirective, decorators: [{
18
18
  type: Directive,
19
19
  args: [{
20
20
  selector: "[nolMessageAction]",
@@ -10,10 +10,10 @@ import { MessageFooterPlacement } from "../../enums/message-footer-placement.js"
10
10
  import * as i0 from "@angular/core";
11
11
  export class MessageFooterEndDirective {
12
12
  placement = input(MessageFooterPlacement.AfterTime, { ...(ngDevMode ? { debugName: "placement" } : /* istanbul ignore next */ {}), alias: "nolMessageFooterEndPlacement" });
13
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.5", ngImport: i0, type: MessageFooterEndDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
14
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.2.5", type: MessageFooterEndDirective, isStandalone: true, selector: "[nolMessageFooterEnd]", inputs: { placement: { classPropertyName: "placement", publicName: "nolMessageFooterEndPlacement", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.data-nol-placement": "placement()" } }, ngImport: i0 });
13
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: MessageFooterEndDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
14
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.2.6", type: MessageFooterEndDirective, isStandalone: true, selector: "[nolMessageFooterEnd]", inputs: { placement: { classPropertyName: "placement", publicName: "nolMessageFooterEndPlacement", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.data-nol-placement": "placement()" } }, ngImport: i0 });
15
15
  }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.5", ngImport: i0, type: MessageFooterEndDirective, decorators: [{
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: MessageFooterEndDirective, decorators: [{
17
17
  type: Directive,
18
18
  args: [{
19
19
  selector: "[nolMessageFooterEnd]",
@@ -12,10 +12,10 @@ export class MessageImageDirective {
12
12
  static ngTemplateContextGuard(_, _context) {
13
13
  return true;
14
14
  }
15
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.5", ngImport: i0, type: MessageImageDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
16
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.2.5", type: MessageImageDirective, isStandalone: true, selector: "ng-template[nolMessageImage]", ngImport: i0 });
15
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: MessageImageDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
16
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.2.6", type: MessageImageDirective, isStandalone: true, selector: "ng-template[nolMessageImage]", ngImport: i0 });
17
17
  }
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.5", ngImport: i0, type: MessageImageDirective, decorators: [{
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: MessageImageDirective, decorators: [{
19
19
  type: Directive,
20
20
  args: [{ selector: "ng-template[nolMessageImage]" }]
21
21
  }] });
@@ -102,10 +102,10 @@ export class MessageRunComponent {
102
102
  measure() {
103
103
  this.isLong.set(this.content().nativeElement.getBoundingClientRect().height > this.limit().nativeElement.getBoundingClientRect().height);
104
104
  }
105
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.5", ngImport: i0, type: MessageRunComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
106
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.5", type: MessageRunComponent, isStandalone: true, selector: "nol-message-run", inputs: { blocks: { classPropertyName: "blocks", publicName: "blocks", isSignal: true, isRequired: true, transformFunction: null }, streaming: { classPropertyName: "streaming", publicName: "streaming", isSignal: true, isRequired: false, transformFunction: null }, collapsible: { classPropertyName: "collapsible", publicName: "collapsible", isSignal: true, isRequired: false, transformFunction: null }, mentions: { classPropertyName: "mentions", publicName: "mentions", isSignal: true, isRequired: false, transformFunction: null }, mentionNames: { classPropertyName: "mentionNames", publicName: "mentionNames", isSignal: true, isRequired: false, transformFunction: null }, entering: { classPropertyName: "entering", publicName: "entering", isSignal: true, isRequired: false, transformFunction: null }, fileLinks: { classPropertyName: "fileLinks", publicName: "fileLinks", isSignal: true, isRequired: false, transformFunction: null }, linkSchemes: { classPropertyName: "linkSchemes", publicName: "linkSchemes", isSignal: true, isRequired: false, transformFunction: null }, folderLinks: { classPropertyName: "folderLinks", publicName: "folderLinks", isSignal: true, isRequired: false, transformFunction: null }, references: { classPropertyName: "references", publicName: "references", isSignal: true, isRequired: false, transformFunction: null }, shellRuns: { classPropertyName: "shellRuns", publicName: "shellRuns", isSignal: true, isRequired: false, transformFunction: null }, math: { classPropertyName: "math", publicName: "math", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { linkActivate: "linkActivate", linkOpen: "linkOpen", linkMenu: "linkMenu", fileActivate: "fileActivate", shellRun: "shellRun" }, host: { classAttribute: "nol-message-run" }, providers: [{ provide: MarkdownViewTokens.codeHeight, useValue: MessageRunResources.messageCodeHeight }], viewQueries: [{ propertyName: "body", first: true, predicate: ["body"], descendants: true, isSignal: true }, { propertyName: "content", first: true, predicate: ["content"], descendants: true, isSignal: true }, { propertyName: "limit", first: true, predicate: ["limit"], 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<span class=\"nol-message-run-limit\" aria-hidden=\"true\"><span class=\"nol-message-run-limit-height\" #limit></span></span>\n<div class=\"nol-message-run-body\" #body [id]=\"bodyId\" [class.nol-message-collapsed]=\"isCollapsed()\" [class.nol-message-clipped]=\"isCollapsed() && canCollapse()\"\n (focusin)=\"reveal($event)\">\n <div class=\"nol-message-run-content\" #content>\n @for (block of blocks(); track $index) {\n @if (isText(block)) {\n <nol-markdown-view [class.nol-message-interim]=\"block.interim\" [text]=\"block.text\" [streaming]=\"streaming() && $last && !block.interim\" [paced]=\"streaming()\" [entering]=\"entering().has(block)\"\n [mentions]=\"mentions()\" [mentionNames]=\"mentionNames()\" [fileLinks]=\"fileLinks()\" [folderLinks]=\"folderLinks()\" [references]=\"references()\" [linkSchemes]=\"linkSchemes()\" [shellRuns]=\"shellRuns() && !streaming()\" [math]=\"math()\" (linkActivate)=\"linkActivate.emit($event)\" (linkOpen)=\"linkOpen.emit($event)\" (linkMenu)=\"linkMenu.emit($event)\"\n (fileActivate)=\"fileActivate.emit($event)\" (shellRun)=\"shellRun.emit($event)\" />\n } @else if (isCode(block)) {\n <nol-code-block #codeBlock [code]=\"block.code\" [language]=\"block.language\" [maxHeight]=\"partResources.messageCodeHeight\" [streaming]=\"streaming() && $last\"\n [runnable]=\"shellRuns() && !streaming()\" (run)=\"shellRun.emit($event)\" />\n <nol-shell-run-output [codeBlock]=\"codeBlock\" [area]=\"content\" />\n }\n }\n </div>\n</div>\n@if (canCollapse()) {\n <button type=\"button\" nol-button class=\"nol-message-more\" data-nol-resizes-row [variant]=\"variants.Secondary\" [attr.aria-expanded]=\"isExpanded()\" [attr.aria-controls]=\"bodyId\"\n (click)=\"toggle()\">{{ isExpanded() ? resources.messageShowLessLabel : resources.messageShowMoreLabel }}</button>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n.nol-message-run {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n position: relative;\n min-width: 0;\n}\n\n.nol-message-run-limit {\n position: absolute;\n width: 0;\n height: 0;\n overflow: hidden;\n visibility: hidden;\n pointer-events: none;\n}\n\n.nol-message-run-limit-height {\n display: block;\n height: var(--nol-message-collapsed-height);\n}\n\n.nol-message-run-body {\n min-width: 0;\n}\n\n.nol-message-collapsed {\n max-height: var(--nol-message-collapsed-height);\n overflow: hidden;\n}\n\n.nol-message-clipped {\n scroll-padding-block-end: var(--nol-space-6);\n mask-image: linear-gradient(to bottom, black calc(100% - var(--nol-space-6)), transparent);\n}\n\n.nol-message-run-content {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n}\n\n.nol-markdown-view.nol-message-interim {\n padding-inline-start: var(--nol-space-3);\n border-inline-start: calc(var(--nol-border-width) * 2) solid var(--nol-border);\n color: var(--nol-text-muted);\n}\n\n.nol-message-more {\n align-self: flex-start;\n}\n\n@media (forced-colors: active) {\n .nol-message-clipped {\n mask-image: none;\n }\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: CodeBlockComponent, selector: "nol-code-block", inputs: ["code", "language", "wrapped", "maxHeight", "streaming", "runnable", "runState"], outputs: ["wrappedChange", "run"] }, { kind: "component", type: MarkdownViewComponent, selector: "nol-markdown-view", inputs: ["text", "streaming", "entering", "paced", "mentions", "mentionNames", "fileLinks", "linkSchemes", "folderLinks", "references", "shellRuns", "math", "shellRunStates", "shellRunOutputs"], outputs: ["linkActivate", "linkOpen", "linkMenu", "fileActivate", "filePathsChange", "shellRun"] }, { kind: "component", type: ShellRunOutputComponent, selector: "nol-shell-run-output", inputs: ["codeBlock", "area"] }], encapsulation: i0.ViewEncapsulation.None });
105
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: MessageRunComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
106
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: MessageRunComponent, isStandalone: true, selector: "nol-message-run", inputs: { blocks: { classPropertyName: "blocks", publicName: "blocks", isSignal: true, isRequired: true, transformFunction: null }, streaming: { classPropertyName: "streaming", publicName: "streaming", isSignal: true, isRequired: false, transformFunction: null }, collapsible: { classPropertyName: "collapsible", publicName: "collapsible", isSignal: true, isRequired: false, transformFunction: null }, mentions: { classPropertyName: "mentions", publicName: "mentions", isSignal: true, isRequired: false, transformFunction: null }, mentionNames: { classPropertyName: "mentionNames", publicName: "mentionNames", isSignal: true, isRequired: false, transformFunction: null }, entering: { classPropertyName: "entering", publicName: "entering", isSignal: true, isRequired: false, transformFunction: null }, fileLinks: { classPropertyName: "fileLinks", publicName: "fileLinks", isSignal: true, isRequired: false, transformFunction: null }, linkSchemes: { classPropertyName: "linkSchemes", publicName: "linkSchemes", isSignal: true, isRequired: false, transformFunction: null }, folderLinks: { classPropertyName: "folderLinks", publicName: "folderLinks", isSignal: true, isRequired: false, transformFunction: null }, references: { classPropertyName: "references", publicName: "references", isSignal: true, isRequired: false, transformFunction: null }, shellRuns: { classPropertyName: "shellRuns", publicName: "shellRuns", isSignal: true, isRequired: false, transformFunction: null }, math: { classPropertyName: "math", publicName: "math", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { linkActivate: "linkActivate", linkOpen: "linkOpen", linkMenu: "linkMenu", fileActivate: "fileActivate", shellRun: "shellRun" }, host: { classAttribute: "nol-message-run" }, providers: [{ provide: MarkdownViewTokens.codeHeight, useValue: MessageRunResources.messageCodeHeight }], viewQueries: [{ propertyName: "body", first: true, predicate: ["body"], descendants: true, isSignal: true }, { propertyName: "content", first: true, predicate: ["content"], descendants: true, isSignal: true }, { propertyName: "limit", first: true, predicate: ["limit"], 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<span class=\"nol-message-run-limit\" aria-hidden=\"true\"><span class=\"nol-message-run-limit-height\" #limit></span></span>\n<div class=\"nol-message-run-body\" #body [id]=\"bodyId\" [class.nol-message-collapsed]=\"isCollapsed()\" [class.nol-message-clipped]=\"isCollapsed() && canCollapse()\"\n (focusin)=\"reveal($event)\">\n <div class=\"nol-message-run-content\" #content>\n @for (block of blocks(); track $index) {\n @if (isText(block)) {\n <nol-markdown-view [class.nol-message-interim]=\"block.interim\" [text]=\"block.text\" [streaming]=\"streaming() && $last && !block.interim\" [paced]=\"streaming()\" [entering]=\"entering().has(block)\"\n [mentions]=\"mentions()\" [mentionNames]=\"mentionNames()\" [fileLinks]=\"fileLinks()\" [folderLinks]=\"folderLinks()\" [references]=\"references()\" [linkSchemes]=\"linkSchemes()\" [shellRuns]=\"shellRuns() && !streaming()\" [math]=\"math()\" (linkActivate)=\"linkActivate.emit($event)\" (linkOpen)=\"linkOpen.emit($event)\" (linkMenu)=\"linkMenu.emit($event)\"\n (fileActivate)=\"fileActivate.emit($event)\" (shellRun)=\"shellRun.emit($event)\" />\n } @else if (isCode(block)) {\n <nol-code-block #codeBlock [code]=\"block.code\" [language]=\"block.language\" [maxHeight]=\"partResources.messageCodeHeight\" [streaming]=\"streaming() && $last\"\n [runnable]=\"shellRuns() && !streaming()\" (run)=\"shellRun.emit($event)\" />\n <nol-shell-run-output [codeBlock]=\"codeBlock\" [area]=\"content\" />\n }\n }\n </div>\n</div>\n@if (canCollapse()) {\n <button type=\"button\" nol-button class=\"nol-message-more\" data-nol-resizes-row [variant]=\"variants.Secondary\" [attr.aria-expanded]=\"isExpanded()\" [attr.aria-controls]=\"bodyId\"\n (click)=\"toggle()\">{{ isExpanded() ? resources.messageShowLessLabel : resources.messageShowMoreLabel }}</button>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n.nol-message-run {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n position: relative;\n min-width: 0;\n}\n\n.nol-message-run-limit {\n position: absolute;\n width: 0;\n height: 0;\n overflow: hidden;\n visibility: hidden;\n pointer-events: none;\n}\n\n.nol-message-run-limit-height {\n display: block;\n height: var(--nol-message-collapsed-height);\n}\n\n.nol-message-run-body {\n min-width: 0;\n}\n\n.nol-message-collapsed {\n max-height: var(--nol-message-collapsed-height);\n overflow: hidden;\n}\n\n.nol-message-clipped {\n scroll-padding-block-end: var(--nol-space-6);\n mask-image: linear-gradient(to bottom, black calc(100% - var(--nol-space-6)), transparent);\n}\n\n.nol-message-run-content {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n}\n\n.nol-markdown-view.nol-message-interim {\n padding-inline-start: var(--nol-space-3);\n border-inline-start: calc(var(--nol-border-width) * 2) solid var(--nol-border);\n color: var(--nol-text-muted);\n}\n\n.nol-message-more {\n align-self: flex-start;\n}\n\n@media (forced-colors: active) {\n .nol-message-clipped {\n mask-image: none;\n }\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: CodeBlockComponent, selector: "nol-code-block", inputs: ["code", "language", "wrapped", "maxHeight", "streaming", "runnable", "runState"], outputs: ["wrappedChange", "run"] }, { kind: "component", type: MarkdownViewComponent, selector: "nol-markdown-view", inputs: ["text", "streaming", "entering", "paced", "mentions", "mentionNames", "fileLinks", "linkSchemes", "folderLinks", "references", "shellRuns", "math", "shellRunStates", "shellRunOutputs"], outputs: ["linkActivate", "linkOpen", "linkMenu", "fileActivate", "filePathsChange", "shellRun"] }, { kind: "component", type: ShellRunOutputComponent, selector: "nol-shell-run-output", inputs: ["codeBlock", "area"] }], encapsulation: i0.ViewEncapsulation.None });
107
107
  }
108
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.5", ngImport: i0, type: MessageRunComponent, decorators: [{
108
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: MessageRunComponent, decorators: [{
109
109
  type: Component,
110
110
  args: [{ selector: "nol-message-run", imports: [ButtonComponent, CodeBlockComponent, MarkdownViewComponent, ShellRunOutputComponent], encapsulation: ViewEncapsulation.None, providers: [{ provide: MarkdownViewTokens.codeHeight, useValue: MessageRunResources.messageCodeHeight }], host: {
111
111
  "class": "nol-message-run"
@@ -10,10 +10,10 @@ import * as i0 from "@angular/core";
10
10
  export class MessageSlotDirective {
11
11
  template = inject(TemplateRef);
12
12
  id = input.required({ ...(ngDevMode ? { debugName: "id" } : /* istanbul ignore next */ {}), alias: "nolMessageSlot" });
13
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.5", ngImport: i0, type: MessageSlotDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
14
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.2.5", type: MessageSlotDirective, isStandalone: true, selector: "ng-template[nolMessageSlot]", inputs: { id: { classPropertyName: "id", publicName: "nolMessageSlot", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 });
13
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: MessageSlotDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
14
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.2.6", type: MessageSlotDirective, isStandalone: true, selector: "ng-template[nolMessageSlot]", inputs: { id: { classPropertyName: "id", publicName: "nolMessageSlot", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 });
15
15
  }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.5", ngImport: i0, type: MessageSlotDirective, decorators: [{
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: MessageSlotDirective, decorators: [{
17
17
  type: Directive,
18
18
  args: [{ selector: "ng-template[nolMessageSlot]" }]
19
19
  }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "nolMessageSlot", required: true }] }] } });
@@ -384,11 +384,11 @@ export class MessageComponent {
384
384
  this.cancelCopy?.();
385
385
  this.cancelCopy = null;
386
386
  }
387
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.5", ngImport: i0, type: MessageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
388
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.5", type: MessageComponent, isStandalone: true, selector: "nol-message", inputs: { author: { classPropertyName: "author", publicName: "author", isSignal: true, isRequired: true, transformFunction: null }, authorDescription: { classPropertyName: "authorDescription", publicName: "authorDescription", isSignal: true, isRequired: false, transformFunction: null }, time: { classPropertyName: "time", publicName: "time", isSignal: true, isRequired: true, transformFunction: null }, blocks: { classPropertyName: "blocks", publicName: "blocks", isSignal: true, isRequired: true, transformFunction: null }, status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: false, transformFunction: null }, error: { classPropertyName: "error", publicName: "error", isSignal: true, isRequired: false, transformFunction: null }, key: { classPropertyName: "key", publicName: "key", isSignal: true, isRequired: false, transformFunction: null }, continuation: { classPropertyName: "continuation", publicName: "continuation", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null }, selectionLook: { classPropertyName: "selectionLook", publicName: "selectionLook", isSignal: true, isRequired: false, transformFunction: null }, header: { classPropertyName: "header", publicName: "header", isSignal: true, isRequired: false, transformFunction: null }, footer: { classPropertyName: "footer", publicName: "footer", isSignal: true, isRequired: false, transformFunction: null }, actionsTop: { classPropertyName: "actionsTop", publicName: "actionsTop", isSignal: true, isRequired: false, transformFunction: null }, actionsEnd: { classPropertyName: "actionsEnd", publicName: "actionsEnd", isSignal: true, isRequired: false, transformFunction: null }, flashStart: { classPropertyName: "flashStart", publicName: "flashStart", isSignal: true, isRequired: false, transformFunction: null }, labelId: { classPropertyName: "labelId", publicName: "labelId", isSignal: true, isRequired: false, transformFunction: null }, collapsedHeight: { classPropertyName: "collapsedHeight", publicName: "collapsedHeight", isSignal: true, isRequired: false, transformFunction: null }, layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, transformFunction: null }, timeFormat: { classPropertyName: "timeFormat", publicName: "timeFormat", isSignal: true, isRequired: false, transformFunction: null }, twentyFourHour: { classPropertyName: "twentyFourHour", publicName: "twentyFourHour", isSignal: true, isRequired: false, transformFunction: null }, mentions: { classPropertyName: "mentions", publicName: "mentions", isSignal: true, isRequired: false, transformFunction: null }, mentionNames: { classPropertyName: "mentionNames", publicName: "mentionNames", isSignal: true, isRequired: false, transformFunction: null }, fileLinks: { classPropertyName: "fileLinks", publicName: "fileLinks", isSignal: true, isRequired: false, transformFunction: null }, linkSchemes: { classPropertyName: "linkSchemes", publicName: "linkSchemes", isSignal: true, isRequired: false, transformFunction: null }, copyText: { classPropertyName: "copyText", publicName: "copyText", isSignal: true, isRequired: false, transformFunction: null }, folderLinks: { classPropertyName: "folderLinks", publicName: "folderLinks", isSignal: true, isRequired: false, transformFunction: null }, references: { classPropertyName: "references", publicName: "references", isSignal: true, isRequired: false, transformFunction: null }, shellRuns: { classPropertyName: "shellRuns", publicName: "shellRuns", isSignal: true, isRequired: false, transformFunction: null }, shellRunStates: { classPropertyName: "shellRunStates", publicName: "shellRunStates", isSignal: true, isRequired: false, transformFunction: null }, shellRunOutputs: { classPropertyName: "shellRunOutputs", publicName: "shellRunOutputs", isSignal: true, isRequired: false, transformFunction: null }, math: { classPropertyName: "math", publicName: "math", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { copied: "copied", retry: "retry", attachmentOpen: "attachmentOpen", linkActivate: "linkActivate", linkOpen: "linkOpen", linkMenu: "linkMenu", fileActivate: "fileActivate", filePathsChange: "filePathsChange", shellRun: "shellRun", contextMenuRequest: "contextMenuRequest" }, host: { listeners: { "keydown.escape": "leave($event)", "keydown": "requestMenuFromKeyboard($event)", "keyup": "releaseMenuKey($event)", "contextmenu": "requestMenu($event)", "animationstart": "continueFlash($event)" }, properties: { "class.nol-message-bubble": "isBubble()", "class.nol-message-column": "isColumn()", "class.nol-message-headless": "isHeadless()", "class.nol-message-continuation": "isContinued()", "class.nol-message-selected": "selected()", "class.nol-message-raised-selection": "isRaisedSelection()", "class.nol-message-flashing": "flashStart() !== null", "class.nol-message-system": "author().kind === authorKinds.System", "style.--nol-message-collapsed-height": "collapsedLength()", "style.--nol-message-action-count": "actionItems().length + 1", "style.--nol-message-actions-top": "actionsTop()", "style.--nol-message-actions-end": "actionsEnd()" }, classAttribute: "nol-message" }, providers: [{ provide: MarkdownViewTokens.images, useFactory: () => new MarkdownImages() }], queries: [{ propertyName: "slots", predicate: MessageSlotDirective, isSignal: true }, { propertyName: "actions", predicate: MessageActionDirective, isSignal: true }, { propertyName: "footerEnds", predicate: MessageFooterEndDirective, isSignal: true }, { propertyName: "image", first: true, predicate: MessageImageDirective, isSignal: true }, { propertyName: "shellRunOutput", first: true, predicate: ShellRunOutputDirective, isSignal: true }], viewQueries: [{ propertyName: "tools", first: true, predicate: ["tools"], 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<ng-template #timeTemplate>\n <time class=\"nol-message-time\" tabindex=\"0\" [attr.datetime]=\"isoTime()\" [attr.aria-label]=\"absoluteTime()\" [nolTooltip]=\"absoluteTime()\">{{ shownTime() }}</time>\n</ng-template>\n<ng-template #actionsTemplate>\n <div class=\"nol-message-actions\" nolToolbar [nolToolbarLabel]=\"partResources.messageActionsLabel\" [nolToolbarItems]=\"actionItems()\">\n <ng-content select=\"[nolMessageAction]\" />\n <button type=\"button\" nol-icon-button nolToolbarItem class=\"nol-message-copy\" [class.nol-message-copied]=\"isCopied()\" [icon]=\"copyGlyph()\" [label]=\"copyLabel()\"\n [nolTooltip]=\"copyLabel()\" (click)=\"copy()\"></button>\n </div>\n</ng-template>\n<ng-template #footerEndTemplate>\n <div class=\"nol-message-footer-end\">\n <ng-content select=\"[nolMessageFooterEnd]\" />\n </div>\n</ng-template>\n<ng-template #footerTemplate>\n <div class=\"nol-message-footer\">\n <ng-container *ngTemplateOutlet=\"actionsTemplate\" />\n <ng-container *ngTemplateOutlet=\"timeTemplate\" />\n @if (hasFooterEnd()) {\n <ng-container *ngTemplateOutlet=\"footerEndTemplate\" />\n }\n </div>\n</ng-template>\n<ng-template #avatarTemplate>\n <nol-avatar class=\"nol-message-avatar\" [name]=\"author().name\" [image]=\"author().avatar\" [initials]=\"author().initials\" [color]=\"author().accent\" [decorative]=\"true\"\n [size]=\"isColumn() ? avatarSizes.Small : avatarSizes.Normal\" [filledColor]=\"author().avatarColor\" [unavailable]=\"author().unavailable\"\n [nolTooltip]=\"author().name\" [nolTooltipDescription]=\"authorDescription()\" [nolTooltipDisabled]=\"!authorDescription()\" />\n</ng-template>\n@if (isRow()) {\n <div class=\"nol-message-gutter\">\n @if (!continuation()) {\n <ng-container *ngTemplateOutlet=\"avatarTemplate\" />\n }\n </div>\n}\n<div class=\"nol-message-main\">\n <span class=\"nol-message-label\" hidden [attr.id]=\"labelId()\">{{ label() }}</span>\n @if (isRow() && !continuation()) {\n <div class=\"nol-message-header\">\n <span class=\"nol-message-author\" [class.nol-message-author-unavailable]=\"author().unavailable\" data-truncates [attr.tabindex]=\"authorDescription() ? 0 : null\"\n [nolTooltip]=\"author().name\" [nolTooltipDescription]=\"authorDescription()\" [nolTooltipDisabled]=\"!authorDescription()\">{{ author().name }}</span>\n <ng-container *ngTemplateOutlet=\"timeTemplate\" />\n </div>\n } @else if (isColumn() && !isBubble() && header()) {\n <div class=\"nol-message-header\">\n @if (author().kind !== authorKinds.System) {\n <ng-container *ngTemplateOutlet=\"avatarTemplate\" />\n }\n <span class=\"nol-message-author\" [class.nol-message-author-unavailable]=\"author().unavailable\" data-truncates [attr.tabindex]=\"authorDescription() ? 0 : null\"\n [nolTooltip]=\"author().name\" [nolTooltipDescription]=\"authorDescription()\" [nolTooltipDisabled]=\"!authorDescription()\">{{ author().name }}</span>\n <ng-content select=\"[nolMessageHeader]\" />\n @if (!hasFooter()) {\n <ng-container *ngTemplateOutlet=\"actionsTemplate\" />\n }\n </div>\n } @else if (isColumn() && !isBubble() && !hasFooter()) {\n <ng-container *ngTemplateOutlet=\"actionsTemplate\" />\n }\n <div class=\"nol-message-content\">\n @if (isEmpty()) {\n @if (!isStreaming()) {\n <p class=\"nol-message-empty\">{{ partResources.messageEmptyText }}</p>\n }\n } @else {\n @for (part of parts(); track part.key) {\n @if (part.isRun) {\n <nol-message-run [blocks]=\"part.blocks\" [streaming]=\"isStreaming()\" [collapsible]=\"!isColumn()\" [entering]=\"entering()\" [mentions]=\"mentions()\"\n [mentionNames]=\"mentionNames()\" [fileLinks]=\"fileLinks()\" [folderLinks]=\"folderLinks()\" [references]=\"references()\" [linkSchemes]=\"linkSchemes()\" [shellRuns]=\"shellRuns()\" [math]=\"math()\" (linkActivate)=\"linkActivate.emit($event)\" (linkOpen)=\"linkOpen.emit($event)\" (linkMenu)=\"linkMenu.emit($event)\"\n (fileActivate)=\"fileActivate.emit($event)\" (shellRun)=\"shellRun.emit($event)\" />\n } @else {\n @for (block of part.blocks; track $index) {\n @if (isAttachment(block) && block.picture; as picture) {\n <button type=\"button\" class=\"nol-message-picture\" [attr.data-nol-attachment]=\"block.id\" [attr.aria-label]=\"block.name\" [nolTooltip]=\"block.tooltip ?? ''\" [nolTooltipDisabled]=\"!block.tooltip\"\n [style.--nol-message-picture-width]=\"picture.width + 'px'\" [style.--nol-message-picture-ratio]=\"picture.ratio\" (click)=\"attachmentOpen.emit(block.id)\">\n <img class=\"nol-message-picture-image\" [src]=\"picture.source\" alt=\"\" [width]=\"picture.width\" [height]=\"picture.height\">\n </button>\n } @else if (isAttachment(block)) {\n <button type=\"button\" class=\"nol-message-attachment\" [attr.data-nol-attachment]=\"block.id\" [nolTooltip]=\"block.tooltip ?? ''\" [nolTooltipDisabled]=\"!block.tooltip\" (click)=\"attachmentOpen.emit(block.id)\">\n @if (block.preview; as preview) {\n <img class=\"nol-message-attachment-preview\" [src]=\"preview\" alt=\"\">\n } @else {\n <span class=\"nol-message-attachment-mark\"><nol-file-badge [fileName]=\"block.name\" /></span>\n }\n <span class=\"nol-message-attachment-text\">\n <span class=\"nol-message-attachment-name\" data-truncates>{{ block.name }}</span>\n <span class=\"nol-message-attachment-size\">{{ sizeOf(block) }}</span>\n </span>\n </button>\n } @else if (isSlot(block)) {\n @if (slotOf(block.id); as slot) {\n <ng-container *ngTemplateOutlet=\"slot\" />\n }\n }\n }\n }\n }\n }\n </div>\n @if (isBubble() && hasFooter()) {\n <ng-container *ngTemplateOutlet=\"footerTemplate\" />\n }\n @if (!isColumn()) {\n @switch (status()) {\n @case (statuses.Streaming) {\n <div class=\"nol-message-status\">\n <nol-spinner [isDelayed]=\"false\" />\n <span>{{ partResources.messageStreamingLabel }}</span>\n </div>\n }\n @case (statuses.Cancelled) {\n <div class=\"nol-message-status\">\n <span class=\"material-symbols-rounded nol-message-status-glyph\" aria-hidden=\"true\">{{ partResources.messageCancelledGlyph }}</span>\n <span>{{ partResources.messageCancelledLabel }}</span>\n </div>\n }\n @case (statuses.Error) {\n <div class=\"nol-message-error\">\n <span class=\"material-symbols-rounded nol-message-status-glyph\" aria-hidden=\"true\">{{ partResources.messageErrorGlyph }}</span>\n <span class=\"nol-message-error-text\">{{ errorText() }}</span>\n @if (retries.isListened()) {\n <button type=\"button\" nol-button class=\"nol-message-retry\" [variant]=\"variants.Secondary\" (click)=\"retries.emit()\">{{ partResources.messageRetryLabel }}</button>\n }\n </div>\n }\n }\n }\n @if (isColumn() && !isBubble()) {\n @if (hasFooter()) {\n <ng-container *ngTemplateOutlet=\"footerTemplate\" />\n }\n } @else if (isRow()) {\n @if (hasFooterEnd()) {\n <div #tools class=\"nol-message-tools\">\n <ng-container *ngTemplateOutlet=\"actionsTemplate\" />\n <ng-container *ngTemplateOutlet=\"footerEndTemplate\" />\n </div>\n } @else {\n <ng-container *ngTemplateOutlet=\"actionsTemplate\" />\n }\n }\n</div>\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.nol-message {\n --nol-message-actions-top: initial;\n --nol-message-actions-end: initial;\n\n display: flex;\n gap: var(--nol-space-3);\n position: relative;\n box-sizing: border-box;\n min-width: 0;\n padding: var(--nol-space-2) var(--nol-space-3);\n border-inline-start: calc(var(--nol-border-width) * 3) solid transparent;\n color: var(--nol-text);\n font-size: var(--nol-text-message);\n}\n\n.nol-message-continuation {\n padding-top: 0;\n}\n\n.nol-message-column {\n padding: var(--nol-space-6) 0 0;\n border-inline-start-width: 0;\n}\n\n.nol-message-column.nol-message-bubble .nol-message-content {\n max-width: 70%;\n}\n\n.nol-message-column:not(.nol-message-bubble) .nol-message-main {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n}\n\n.nol-message-column:not(.nol-message-bubble) .nol-message-header {\n grid-area: 1 / 1;\n}\n\n.nol-message-column:not(.nol-message-bubble) .nol-message-content {\n grid-area: 2 / 1;\n}\n\n.nol-message-column:not(.nol-message-bubble) .nol-message-footer {\n grid-area: 3 / 1;\n}\n\n.nol-message-column .nol-message-header {\n flex-wrap: wrap;\n align-items: center;\n gap: var(--nol-space-1) var(--nol-space-3);\n padding-inline-end: 0;\n color: var(--nol-text-muted);\n}\n\n.nol-message-column .nol-message-author {\n color: inherit;\n font-weight: 400;\n}\n\n.nol-message-column :is(.nol-message-header, .nol-message-time) {\n font-size: var(--nol-text-panel);\n}\n\n.nol-message-column.nol-message-system .nol-message-content {\n color: var(--nol-text);\n}\n\n.nol-message-column.nol-message-selected {\n box-shadow: inset calc(var(--nol-border-width) * 3) 0 var(--nol-accent);\n}\n\n.nol-message-column.nol-message-selected:dir(rtl) {\n box-shadow: inset calc(var(--nol-border-width) * -3) 0 var(--nol-accent);\n}\n\n.nol-message-author-unavailable {\n opacity: 0.5;\n}\n\n.nol-message-copied .nol-icon-button-glyph {\n color: var(--nol-added);\n animation: nol-copied-pop 200ms ease-out;\n\n @media (prefers-reduced-motion: reduce) {\n animation: none;\n }\n}\n\n.nol-message-bubble {\n padding-inline-end: 0;\n}\n\n.nol-message-bubble .nol-message-main {\n align-items: flex-end;\n gap: var(--nol-space-1);\n}\n\n.nol-message-bubble .nol-message-content {\n box-sizing: border-box;\n max-width: calc((100% + var(--nol-space-3) + var(--nol-border-width) * 3) * 0.7);\n padding: var(--nol-space-3) var(--nol-space-4);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-raised);\n}\n\n.nol-message-footer {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n opacity: 0;\n transition: opacity 120ms linear;\n\n @media (prefers-reduced-motion: reduce) {\n transition: none;\n }\n}\n\n.nol-message-footer .nol-message-time {\n margin-inline-start: var(--nol-space-1);\n}\n\n.nol-message-footer .nol-message-actions,\n.nol-message-tools .nol-message-actions {\n position: static;\n opacity: 1;\n}\n\n.nol-message-header .nol-message-actions {\n position: static;\n margin-block: calc((var(--nol-line-panel) - var(--nol-icon-button-target)) / 2);\n transition: opacity 120ms linear;\n\n @media (prefers-reduced-motion: reduce) {\n transition: none;\n }\n}\n\n.nol-message-footer-end {\n display: flex;\n flex: 1 0 auto;\n align-items: center;\n gap: var(--nol-space-1);\n}\n\n.nol-message-footer-end > [data-nol-placement=\"End\"] {\n margin-inline-start: auto;\n}\n\n.nol-message-tools {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n position: absolute;\n top: var(--nol-space-1);\n inset-inline-end: var(--nol-space-2);\n opacity: 0;\n}\n\n.nol-message:has(.nol-message-tools) .nol-message-header {\n padding-inline-end: calc(var(--nol-message-tools-width, 0px) + var(--nol-space-2));\n}\n\n.nol-message-selected {\n border-inline-start-color: var(--nol-accent);\n background-color: var(--nol-selected);\n}\n\n.nol-message-selected.nol-message-raised-selection {\n border-inline-start-color: transparent;\n border-radius: var(--nol-radius-large);\n background-color: var(--nol-raised);\n box-shadow: none;\n}\n\n.nol-message-column.nol-message-selected.nol-message-raised-selection {\n box-shadow: none;\n}\n\n.nol-message-flashing:not(.nol-message-bubble) {\n --nol-message-flash: color-mix(in srgb, var(--nol-accent) 18%, transparent);\n}\n\n.nol-message-flashing.nol-message-selected:not(.nol-message-bubble, .nol-message-column) {\n --nol-message-flash: color-mix(in srgb, var(--nol-accent) 18%, var(--nol-selected));\n}\n\n.nol-message-flashing.nol-message-selected.nol-message-raised-selection:not(.nol-message-bubble) {\n --nol-message-flash: color-mix(in srgb, var(--nol-accent) 18%, var(--nol-raised));\n}\n\n.nol-message-flashing.nol-message-column:not(.nol-message-bubble, .nol-message-selected.nol-message-raised-selection) .nol-message-main::before {\n content: \"\";\n grid-area: 1 / 1 / 3 / 2;\n margin: calc(var(--nol-space-3) * -1) calc(var(--nol-space-4) * -1);\n border-radius: var(--nol-radius-medium);\n pointer-events: none;\n}\n\n.nol-message-column.nol-message-headless:not(.nol-message-bubble) .nol-message-content {\n grid-row: 1;\n}\n\n.nol-message-column.nol-message-headless:not(.nol-message-bubble) .nol-message-footer {\n grid-row: 2;\n}\n\n.nol-message-flashing.nol-message-column.nol-message-headless:not(.nol-message-bubble, .nol-message-selected.nol-message-raised-selection) .nol-message-main::before {\n grid-row: 1;\n}\n\n.nol-message-flashing.nol-message-bubble .nol-message-content {\n --nol-message-flash: color-mix(in srgb, var(--nol-accent) 18%, var(--nol-raised));\n}\n\n.nol-message-flashing:not(.nol-message-bubble, .nol-message-column),\n.nol-message-flashing.nol-message-column.nol-message-selected.nol-message-raised-selection:not(.nol-message-bubble),\n.nol-message-flashing.nol-message-column:not(.nol-message-bubble, .nol-message-selected.nol-message-raised-selection) .nol-message-main::before,\n.nol-message-flashing.nol-message-bubble .nol-message-content {\n animation: nol-message-flash 1.6s ease-out var(--nol-message-flash-delay, 0ms);\n\n @media (prefers-reduced-motion: reduce) {\n animation-timing-function: step-end;\n }\n}\n\n@keyframes nol-message-flash {\n from {\n background-color: var(--nol-message-flash);\n }\n}\n\n@keyframes nol-message-flash-outline {\n from {\n opacity: 1;\n }\n}\n\n.nol-message-gutter {\n display: flex;\n flex: none;\n flex-direction: column;\n width: var(--nol-avatar);\n}\n\n.nol-message-main {\n display: flex;\n flex: 1;\n flex-direction: column;\n gap: var(--nol-space-2);\n min-width: 0;\n}\n\n.nol-message-header {\n display: flex;\n align-items: baseline;\n gap: var(--nol-space-2);\n min-width: 0;\n padding-inline-end: calc(var(--nol-message-action-count, 1) * (var(--nol-icon-button-target) + var(--nol-space-1)) + var(--nol-space-1));\n}\n\n.nol-message-author {\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.nol-message-time {\n flex: none;\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n}\n\n.nol-message-system .nol-message-content {\n color: var(--nol-text-muted);\n}\n\n.nol-message-content {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n min-width: 0;\n user-select: text;\n}\n\n.nol-message-empty {\n margin: 0;\n color: var(--nol-text-muted);\n font-style: italic;\n}\n\n.nol-message-attachment {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n box-sizing: border-box;\n max-width: 100%;\n padding: var(--nol-space-2);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-panel);\n color: inherit;\n font: inherit;\n text-align: start;\n cursor: pointer;\n align-self: flex-start;\n}\n\n.nol-message-attachment:is(:hover, [data-nol-state=\"Hover\"]) {\n background-color: var(--nol-hover);\n}\n\n.nol-message-attachment:is(:hover, [data-nol-state=\"Hover\"]):not(:focus-visible, [data-nol-state=\"Focus\"]) {\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.nol-message-picture {\n position: relative;\n display: block;\n box-sizing: border-box;\n width: max(var(--nol-pointer-target), min(var(--nol-message-picture-width), var(--nol-message-picture-height) * var(--nol-message-picture-ratio)));\n max-width: 100%;\n min-height: var(--nol-pointer-target);\n max-height: max(var(--nol-pointer-target), var(--nol-message-picture-height));\n aspect-ratio: var(--nol-message-picture-ratio);\n padding: 0;\n border: 0;\n border-radius: var(--nol-radius-medium);\n overflow: hidden;\n background-color: transparent;\n cursor: zoom-in;\n align-self: flex-start;\n}\n\n.nol-message-picture::after {\n content: \"\";\n position: absolute;\n inset: 0;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: inherit;\n pointer-events: none;\n\n @media (forced-colors: active) {\n border-color: CanvasText;\n }\n}\n\n.nol-message-picture:is(:hover, [data-nol-state=\"Hover\"]):not(:focus-visible, [data-nol-state=\"Focus\"]) {\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.nol-message-picture-image {\n display: block;\n width: 100%;\n height: 100%;\n object-fit: scale-down;\n}\n\n.nol-message-attachment-preview {\n width: 3rem;\n height: 3rem;\n flex: none;\n border-radius: var(--nol-radius-small);\n object-fit: cover;\n}\n\n.nol-message-attachment-mark {\n display: flex;\n flex: none;\n align-self: flex-start;\n align-items: center;\n height: 1lh;\n}\n\n.nol-message-attachment-text {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n\n.nol-message-attachment-size {\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n}\n\n.nol-message-status,\n.nol-message-error {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n}\n\n.nol-message-error {\n flex-wrap: wrap;\n color: var(--nol-text);\n}\n\n.nol-message-error .nol-message-status-glyph {\n color: var(--nol-error);\n}\n\n.nol-message-selected :is(.nol-message-time, .nol-message-empty, .nol-message-status, .nol-markdown-quote, .nol-markdown-view.nol-message-interim),\n.nol-message-selected.nol-message-column .nol-message-header,\n.nol-message-selected.nol-message-system .nol-message-content {\n color: var(--nol-text);\n}\n\n.nol-message-actions {\n display: flex;\n gap: var(--nol-space-1);\n position: absolute;\n top: var(--nol-message-actions-top, var(--nol-space-1));\n inset-inline-end: var(--nol-message-actions-end, var(--nol-space-2));\n opacity: 0;\n}\n\n.nol-message:is(:hover, :focus-within, :has([data-nol-state=\"Hover\"], [data-nol-state=\"Focus\"])) :is(.nol-message-actions, .nol-message-footer, .nol-message-tools),\n.nol-message:has(:is(.nol-message-actions, .nol-message-footer, .nol-message-tools) [aria-expanded=\"true\"]) :is(.nol-message-actions, .nol-message-footer, .nol-message-tools),\n:is(:focus-within, [data-nol-state=\"Focus\"]) > .nol-message :is(.nol-message-actions, .nol-message-footer, .nol-message-tools) {\n opacity: 1;\n}\n\n:is(.nol-message-footer, .nol-message-tools):has(> .nol-message-footer-end > [data-nol-placement=\"End\"]) {\n opacity: 1;\n}\n\n@media (hover: none) {\n :is(.nol-message-actions, .nol-message-footer, .nol-message-tools) {\n opacity: 1;\n }\n}\n\n@media (forced-colors: active) {\n .nol-message {\n border-inline-start-color: Canvas;\n }\n\n .nol-message-selected {\n border-inline-start-color: Highlight;\n }\n\n .nol-message-selected.nol-message-raised-selection {\n border-inline-start-color: Canvas;\n }\n\n .nol-message-column.nol-message-selected,\n .nol-message-selected.nol-message-raised-selection {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n outline-offset: calc(var(--nol-border-width) * -2);\n }\n\n .nol-message-bubble .nol-message-content {\n outline: var(--nol-border-width) solid CanvasText;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n\n .nol-message-flashing:not(.nol-message-bubble, .nol-message-column),\n .nol-message-flashing.nol-message-column.nol-message-selected.nol-message-raised-selection:not(.nol-message-bubble),\n .nol-message-flashing.nol-message-bubble .nol-message-content {\n animation: none;\n }\n\n .nol-message-flashing.nol-message-bubble .nol-message-content {\n position: relative;\n }\n\n .nol-message-flashing:not(.nol-message-bubble, .nol-message-column)::after,\n .nol-message-flashing.nol-message-column.nol-message-selected.nol-message-raised-selection:not(.nol-message-bubble)::after,\n .nol-message-flashing.nol-message-bubble .nol-message-content::after {\n content: \"\";\n position: absolute;\n inset: 0;\n border-radius: inherit;\n }\n\n .nol-message-flashing:not(.nol-message-bubble, .nol-message-column)::after,\n .nol-message-flashing.nol-message-column.nol-message-selected.nol-message-raised-selection:not(.nol-message-bubble)::after,\n .nol-message-flashing.nol-message-column:not(.nol-message-bubble, .nol-message-selected.nol-message-raised-selection) .nol-message-main::before,\n .nol-message-flashing.nol-message-bubble .nol-message-content::after {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n outline-offset: calc(var(--nol-border-width) * -2);\n opacity: 0;\n pointer-events: none;\n animation: nol-message-flash-outline 1.6s ease-out var(--nol-message-flash-delay, 0ms);\n\n @media (prefers-reduced-motion: reduce) {\n animation-timing-function: step-end;\n }\n }\n\n .nol-message-flashing:not(.nol-message-bubble, .nol-message-column)::after {\n inset-inline-start: calc(var(--nol-border-width) * -3);\n }\n\n .nol-message-flashing.nol-message-selected.nol-message-raised-selection:not(.nol-message-bubble)::after,\n .nol-message-flashing.nol-message-column.nol-message-selected.nol-message-raised-selection:not(.nol-message-bubble)::after {\n outline-offset: calc(var(--nol-border-width) * -4);\n }\n}\n"], dependencies: [{ kind: "component", type: AvatarComponent, selector: "nol-avatar", inputs: ["name", "image", "initials", "color", "colorKey", "size", "label", "decorative", "unavailable", "filled", "filledColor"] }, { kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: FileBadgeComponent, selector: "nol-file-badge", inputs: ["fileName", "isFolder"] }, { kind: "component", type: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { kind: "component", type: MessageRunComponent, selector: "nol-message-run", inputs: ["blocks", "streaming", "collapsible", "mentions", "mentionNames", "entering", "fileLinks", "linkSchemes", "folderLinks", "references", "shellRuns", "math"], outputs: ["linkActivate", "linkOpen", "linkMenu", "fileActivate", "shellRun"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: SpinnerComponent, selector: "nol-spinner", inputs: ["label"] }, { kind: "directive", type: ToolbarDirective, selector: "[nolToolbar]", inputs: ["nolToolbarOrientation", "nolToolbarLabel", "nolToolbarWrap", "nolToolbarStart", "nolToolbarItems"] }, { kind: "directive", type: ToolbarItemDirective, selector: "[nolToolbarItem]" }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }], viewProviders: [{ provide: MarkdownFilePaths, useFactory: () => new MarkdownFilePaths() },
387
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: MessageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
388
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: MessageComponent, isStandalone: true, selector: "nol-message", inputs: { author: { classPropertyName: "author", publicName: "author", isSignal: true, isRequired: true, transformFunction: null }, authorDescription: { classPropertyName: "authorDescription", publicName: "authorDescription", isSignal: true, isRequired: false, transformFunction: null }, time: { classPropertyName: "time", publicName: "time", isSignal: true, isRequired: true, transformFunction: null }, blocks: { classPropertyName: "blocks", publicName: "blocks", isSignal: true, isRequired: true, transformFunction: null }, status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: false, transformFunction: null }, error: { classPropertyName: "error", publicName: "error", isSignal: true, isRequired: false, transformFunction: null }, key: { classPropertyName: "key", publicName: "key", isSignal: true, isRequired: false, transformFunction: null }, continuation: { classPropertyName: "continuation", publicName: "continuation", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null }, selectionLook: { classPropertyName: "selectionLook", publicName: "selectionLook", isSignal: true, isRequired: false, transformFunction: null }, header: { classPropertyName: "header", publicName: "header", isSignal: true, isRequired: false, transformFunction: null }, footer: { classPropertyName: "footer", publicName: "footer", isSignal: true, isRequired: false, transformFunction: null }, actionsTop: { classPropertyName: "actionsTop", publicName: "actionsTop", isSignal: true, isRequired: false, transformFunction: null }, actionsEnd: { classPropertyName: "actionsEnd", publicName: "actionsEnd", isSignal: true, isRequired: false, transformFunction: null }, flashStart: { classPropertyName: "flashStart", publicName: "flashStart", isSignal: true, isRequired: false, transformFunction: null }, labelId: { classPropertyName: "labelId", publicName: "labelId", isSignal: true, isRequired: false, transformFunction: null }, collapsedHeight: { classPropertyName: "collapsedHeight", publicName: "collapsedHeight", isSignal: true, isRequired: false, transformFunction: null }, layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, transformFunction: null }, timeFormat: { classPropertyName: "timeFormat", publicName: "timeFormat", isSignal: true, isRequired: false, transformFunction: null }, twentyFourHour: { classPropertyName: "twentyFourHour", publicName: "twentyFourHour", isSignal: true, isRequired: false, transformFunction: null }, mentions: { classPropertyName: "mentions", publicName: "mentions", isSignal: true, isRequired: false, transformFunction: null }, mentionNames: { classPropertyName: "mentionNames", publicName: "mentionNames", isSignal: true, isRequired: false, transformFunction: null }, fileLinks: { classPropertyName: "fileLinks", publicName: "fileLinks", isSignal: true, isRequired: false, transformFunction: null }, linkSchemes: { classPropertyName: "linkSchemes", publicName: "linkSchemes", isSignal: true, isRequired: false, transformFunction: null }, copyText: { classPropertyName: "copyText", publicName: "copyText", isSignal: true, isRequired: false, transformFunction: null }, folderLinks: { classPropertyName: "folderLinks", publicName: "folderLinks", isSignal: true, isRequired: false, transformFunction: null }, references: { classPropertyName: "references", publicName: "references", isSignal: true, isRequired: false, transformFunction: null }, shellRuns: { classPropertyName: "shellRuns", publicName: "shellRuns", isSignal: true, isRequired: false, transformFunction: null }, shellRunStates: { classPropertyName: "shellRunStates", publicName: "shellRunStates", isSignal: true, isRequired: false, transformFunction: null }, shellRunOutputs: { classPropertyName: "shellRunOutputs", publicName: "shellRunOutputs", isSignal: true, isRequired: false, transformFunction: null }, math: { classPropertyName: "math", publicName: "math", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { copied: "copied", retry: "retry", attachmentOpen: "attachmentOpen", linkActivate: "linkActivate", linkOpen: "linkOpen", linkMenu: "linkMenu", fileActivate: "fileActivate", filePathsChange: "filePathsChange", shellRun: "shellRun", contextMenuRequest: "contextMenuRequest" }, host: { listeners: { "keydown.escape": "leave($event)", "keydown": "requestMenuFromKeyboard($event)", "keyup": "releaseMenuKey($event)", "contextmenu": "requestMenu($event)", "animationstart": "continueFlash($event)" }, properties: { "class.nol-message-bubble": "isBubble()", "class.nol-message-column": "isColumn()", "class.nol-message-headless": "isHeadless()", "class.nol-message-continuation": "isContinued()", "class.nol-message-selected": "selected()", "class.nol-message-raised-selection": "isRaisedSelection()", "class.nol-message-flashing": "flashStart() !== null", "class.nol-message-system": "author().kind === authorKinds.System", "style.--nol-message-collapsed-height": "collapsedLength()", "style.--nol-message-action-count": "actionItems().length + 1", "style.--nol-message-actions-top": "actionsTop()", "style.--nol-message-actions-end": "actionsEnd()" }, classAttribute: "nol-message" }, providers: [{ provide: MarkdownViewTokens.images, useFactory: () => new MarkdownImages() }], queries: [{ propertyName: "slots", predicate: MessageSlotDirective, isSignal: true }, { propertyName: "actions", predicate: MessageActionDirective, isSignal: true }, { propertyName: "footerEnds", predicate: MessageFooterEndDirective, isSignal: true }, { propertyName: "image", first: true, predicate: MessageImageDirective, isSignal: true }, { propertyName: "shellRunOutput", first: true, predicate: ShellRunOutputDirective, isSignal: true }], viewQueries: [{ propertyName: "tools", first: true, predicate: ["tools"], 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<ng-template #timeTemplate>\n <time class=\"nol-message-time\" tabindex=\"0\" [attr.datetime]=\"isoTime()\" [attr.aria-label]=\"absoluteTime()\" [nolTooltip]=\"absoluteTime()\">{{ shownTime() }}</time>\n</ng-template>\n<ng-template #actionsTemplate>\n <div class=\"nol-message-actions\" nolToolbar [nolToolbarLabel]=\"partResources.messageActionsLabel\" [nolToolbarItems]=\"actionItems()\">\n <ng-content select=\"[nolMessageAction]\" />\n <button type=\"button\" nol-icon-button nolToolbarItem class=\"nol-message-copy\" [class.nol-message-copied]=\"isCopied()\" [icon]=\"copyGlyph()\" [label]=\"copyLabel()\"\n [nolTooltip]=\"copyLabel()\" (click)=\"copy()\"></button>\n </div>\n</ng-template>\n<ng-template #footerEndTemplate>\n <div class=\"nol-message-footer-end\">\n <ng-content select=\"[nolMessageFooterEnd]\" />\n </div>\n</ng-template>\n<ng-template #footerTemplate>\n <div class=\"nol-message-footer\">\n <ng-container *ngTemplateOutlet=\"actionsTemplate\" />\n <ng-container *ngTemplateOutlet=\"timeTemplate\" />\n @if (hasFooterEnd()) {\n <ng-container *ngTemplateOutlet=\"footerEndTemplate\" />\n }\n </div>\n</ng-template>\n<ng-template #avatarTemplate>\n <nol-avatar class=\"nol-message-avatar\" [name]=\"author().name\" [image]=\"author().avatar\" [initials]=\"author().initials\" [color]=\"author().accent\" [decorative]=\"true\"\n [size]=\"isColumn() ? avatarSizes.Small : avatarSizes.Normal\" [filledColor]=\"author().avatarColor\" [unavailable]=\"author().unavailable\"\n [nolTooltip]=\"author().name\" [nolTooltipDescription]=\"authorDescription()\" [nolTooltipDisabled]=\"!authorDescription()\" />\n</ng-template>\n@if (isRow()) {\n <div class=\"nol-message-gutter\">\n @if (!continuation()) {\n <ng-container *ngTemplateOutlet=\"avatarTemplate\" />\n }\n </div>\n}\n<div class=\"nol-message-main\">\n <span class=\"nol-message-label\" hidden [attr.id]=\"labelId()\">{{ label() }}</span>\n @if (isRow() && !continuation()) {\n <div class=\"nol-message-header\">\n <span class=\"nol-message-author\" [class.nol-message-author-unavailable]=\"author().unavailable\" data-truncates [attr.tabindex]=\"authorDescription() ? 0 : null\"\n [nolTooltip]=\"author().name\" [nolTooltipDescription]=\"authorDescription()\" [nolTooltipDisabled]=\"!authorDescription()\">{{ author().name }}</span>\n <ng-container *ngTemplateOutlet=\"timeTemplate\" />\n </div>\n } @else if (isColumn() && !isBubble() && header()) {\n <div class=\"nol-message-header\">\n @if (author().kind !== authorKinds.System) {\n <ng-container *ngTemplateOutlet=\"avatarTemplate\" />\n }\n <span class=\"nol-message-author\" [class.nol-message-author-unavailable]=\"author().unavailable\" data-truncates [attr.tabindex]=\"authorDescription() ? 0 : null\"\n [nolTooltip]=\"author().name\" [nolTooltipDescription]=\"authorDescription()\" [nolTooltipDisabled]=\"!authorDescription()\">{{ author().name }}</span>\n <ng-content select=\"[nolMessageHeader]\" />\n @if (!hasFooter()) {\n <ng-container *ngTemplateOutlet=\"actionsTemplate\" />\n }\n </div>\n } @else if (isColumn() && !isBubble() && !hasFooter()) {\n <ng-container *ngTemplateOutlet=\"actionsTemplate\" />\n }\n <div class=\"nol-message-content\">\n @if (isEmpty()) {\n @if (!isStreaming()) {\n <p class=\"nol-message-empty\">{{ partResources.messageEmptyText }}</p>\n }\n } @else {\n @for (part of parts(); track part.key) {\n @if (part.isRun) {\n <nol-message-run [blocks]=\"part.blocks\" [streaming]=\"isStreaming()\" [collapsible]=\"!isColumn()\" [entering]=\"entering()\" [mentions]=\"mentions()\"\n [mentionNames]=\"mentionNames()\" [fileLinks]=\"fileLinks()\" [folderLinks]=\"folderLinks()\" [references]=\"references()\" [linkSchemes]=\"linkSchemes()\" [shellRuns]=\"shellRuns()\" [math]=\"math()\" (linkActivate)=\"linkActivate.emit($event)\" (linkOpen)=\"linkOpen.emit($event)\" (linkMenu)=\"linkMenu.emit($event)\"\n (fileActivate)=\"fileActivate.emit($event)\" (shellRun)=\"shellRun.emit($event)\" />\n } @else {\n @for (block of part.blocks; track $index) {\n @if (isAttachment(block) && block.picture; as picture) {\n <button type=\"button\" class=\"nol-message-picture\" [attr.data-nol-attachment]=\"block.id\" [attr.aria-label]=\"block.name\" [nolTooltip]=\"block.tooltip ?? ''\" [nolTooltipDisabled]=\"!block.tooltip\"\n [style.--nol-message-picture-width]=\"picture.width + 'px'\" [style.--nol-message-picture-ratio]=\"picture.ratio\" (click)=\"attachmentOpen.emit(block.id)\">\n <img class=\"nol-message-picture-image\" [src]=\"picture.source\" alt=\"\" [width]=\"picture.width\" [height]=\"picture.height\">\n </button>\n } @else if (isAttachment(block)) {\n <button type=\"button\" class=\"nol-message-attachment\" [attr.data-nol-attachment]=\"block.id\" [nolTooltip]=\"block.tooltip ?? ''\" [nolTooltipDisabled]=\"!block.tooltip\" (click)=\"attachmentOpen.emit(block.id)\">\n @if (block.preview; as preview) {\n <img class=\"nol-message-attachment-preview\" [src]=\"preview\" alt=\"\">\n } @else {\n <span class=\"nol-message-attachment-mark\"><nol-file-badge [fileName]=\"block.name\" /></span>\n }\n <span class=\"nol-message-attachment-text\">\n <span class=\"nol-message-attachment-name\" data-truncates>{{ block.name }}</span>\n <span class=\"nol-message-attachment-size\">{{ sizeOf(block) }}</span>\n </span>\n </button>\n } @else if (isSlot(block)) {\n @if (slotOf(block.id); as slot) {\n <ng-container *ngTemplateOutlet=\"slot\" />\n }\n }\n }\n }\n }\n }\n </div>\n @if (isBubble() && hasFooter()) {\n <ng-container *ngTemplateOutlet=\"footerTemplate\" />\n }\n @if (!isColumn()) {\n @switch (status()) {\n @case (statuses.Streaming) {\n <div class=\"nol-message-status\">\n <nol-spinner [isDelayed]=\"false\" />\n <span>{{ partResources.messageStreamingLabel }}</span>\n </div>\n }\n @case (statuses.Cancelled) {\n <div class=\"nol-message-status\">\n <span class=\"material-symbols-rounded nol-message-status-glyph\" aria-hidden=\"true\">{{ partResources.messageCancelledGlyph }}</span>\n <span>{{ partResources.messageCancelledLabel }}</span>\n </div>\n }\n @case (statuses.Error) {\n <div class=\"nol-message-error\">\n <span class=\"material-symbols-rounded nol-message-status-glyph\" aria-hidden=\"true\">{{ partResources.messageErrorGlyph }}</span>\n <span class=\"nol-message-error-text\">{{ errorText() }}</span>\n @if (retries.isListened()) {\n <button type=\"button\" nol-button class=\"nol-message-retry\" [variant]=\"variants.Secondary\" (click)=\"retries.emit()\">{{ partResources.messageRetryLabel }}</button>\n }\n </div>\n }\n }\n }\n @if (isColumn() && !isBubble()) {\n @if (hasFooter()) {\n <ng-container *ngTemplateOutlet=\"footerTemplate\" />\n }\n } @else if (isRow()) {\n @if (hasFooterEnd()) {\n <div #tools class=\"nol-message-tools\">\n <ng-container *ngTemplateOutlet=\"actionsTemplate\" />\n <ng-container *ngTemplateOutlet=\"footerEndTemplate\" />\n </div>\n } @else {\n <ng-container *ngTemplateOutlet=\"actionsTemplate\" />\n }\n }\n</div>\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.nol-message {\n --nol-message-actions-top: initial;\n --nol-message-actions-end: initial;\n\n display: flex;\n gap: var(--nol-space-3);\n position: relative;\n box-sizing: border-box;\n min-width: 0;\n padding: var(--nol-space-2) var(--nol-space-3);\n border-inline-start: calc(var(--nol-border-width) * 3) solid transparent;\n color: var(--nol-text);\n font-size: var(--nol-text-message);\n}\n\n.nol-message-continuation {\n padding-top: 0;\n}\n\n.nol-message-column {\n padding: var(--nol-space-6) 0 0;\n border-inline-start-width: 0;\n}\n\n.nol-message-column.nol-message-bubble .nol-message-content {\n max-width: 70%;\n}\n\n.nol-message-column:not(.nol-message-bubble) .nol-message-main {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n}\n\n.nol-message-column:not(.nol-message-bubble) .nol-message-header {\n grid-area: 1 / 1;\n}\n\n.nol-message-column:not(.nol-message-bubble) .nol-message-content {\n grid-area: 2 / 1;\n}\n\n.nol-message-column:not(.nol-message-bubble) .nol-message-footer {\n grid-area: 3 / 1;\n}\n\n.nol-message-column .nol-message-header {\n flex-wrap: wrap;\n align-items: center;\n gap: var(--nol-space-1) var(--nol-space-3);\n padding-inline-end: 0;\n color: var(--nol-text-muted);\n}\n\n.nol-message-column .nol-message-author {\n color: inherit;\n font-weight: 400;\n}\n\n.nol-message-column :is(.nol-message-header, .nol-message-time) {\n font-size: var(--nol-text-panel);\n}\n\n.nol-message-column.nol-message-system .nol-message-content {\n color: var(--nol-text);\n}\n\n.nol-message-column.nol-message-selected {\n box-shadow: inset calc(var(--nol-border-width) * 3) 0 var(--nol-accent);\n}\n\n.nol-message-column.nol-message-selected:dir(rtl) {\n box-shadow: inset calc(var(--nol-border-width) * -3) 0 var(--nol-accent);\n}\n\n.nol-message-author-unavailable {\n opacity: 0.5;\n}\n\n.nol-message-copied .nol-icon-button-glyph {\n color: var(--nol-added);\n animation: nol-copied-pop 200ms ease-out;\n\n @media (prefers-reduced-motion: reduce) {\n animation: none;\n }\n}\n\n.nol-message-bubble {\n padding-inline-end: 0;\n}\n\n.nol-message-bubble .nol-message-main {\n align-items: flex-end;\n gap: var(--nol-space-1);\n}\n\n.nol-message-bubble .nol-message-content {\n box-sizing: border-box;\n max-width: calc((100% + var(--nol-space-3) + var(--nol-border-width) * 3) * 0.7);\n padding: var(--nol-space-3) var(--nol-space-4);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-raised);\n}\n\n.nol-message-footer {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n opacity: 0;\n transition: opacity 120ms linear;\n\n @media (prefers-reduced-motion: reduce) {\n transition: none;\n }\n}\n\n.nol-message-footer .nol-message-time {\n margin-inline-start: var(--nol-space-1);\n}\n\n.nol-message-footer .nol-message-actions,\n.nol-message-tools .nol-message-actions {\n position: static;\n opacity: 1;\n}\n\n.nol-message-header .nol-message-actions {\n position: static;\n margin-block: calc((var(--nol-line-panel) - var(--nol-icon-button-target)) / 2);\n transition: opacity 120ms linear;\n\n @media (prefers-reduced-motion: reduce) {\n transition: none;\n }\n}\n\n.nol-message-footer-end {\n display: flex;\n flex: 1 0 auto;\n align-items: center;\n gap: var(--nol-space-1);\n}\n\n.nol-message-footer-end > [data-nol-placement=\"End\"] {\n margin-inline-start: auto;\n}\n\n.nol-message-tools {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n position: absolute;\n top: var(--nol-space-1);\n inset-inline-end: var(--nol-space-2);\n opacity: 0;\n}\n\n.nol-message:has(.nol-message-tools) .nol-message-header {\n padding-inline-end: calc(var(--nol-message-tools-width, 0px) + var(--nol-space-2));\n}\n\n.nol-message-selected {\n border-inline-start-color: var(--nol-accent);\n background-color: var(--nol-selected);\n}\n\n.nol-message-selected.nol-message-raised-selection {\n border-inline-start-color: transparent;\n border-radius: var(--nol-radius-large);\n background-color: var(--nol-raised);\n box-shadow: none;\n}\n\n.nol-message-column.nol-message-selected.nol-message-raised-selection {\n box-shadow: none;\n}\n\n.nol-message-flashing:not(.nol-message-bubble) {\n --nol-message-flash: color-mix(in srgb, var(--nol-accent) 18%, transparent);\n}\n\n.nol-message-flashing.nol-message-selected:not(.nol-message-bubble, .nol-message-column) {\n --nol-message-flash: color-mix(in srgb, var(--nol-accent) 18%, var(--nol-selected));\n}\n\n.nol-message-flashing.nol-message-selected.nol-message-raised-selection:not(.nol-message-bubble) {\n --nol-message-flash: color-mix(in srgb, var(--nol-accent) 18%, var(--nol-raised));\n}\n\n.nol-message-flashing.nol-message-column:not(.nol-message-bubble, .nol-message-selected.nol-message-raised-selection) .nol-message-main::before {\n content: \"\";\n grid-area: 1 / 1 / 3 / 2;\n margin: calc(var(--nol-space-3) * -1) calc(var(--nol-space-4) * -1);\n border-radius: var(--nol-radius-medium);\n pointer-events: none;\n}\n\n.nol-message-column.nol-message-headless:not(.nol-message-bubble) .nol-message-content {\n grid-row: 1;\n}\n\n.nol-message-column.nol-message-headless:not(.nol-message-bubble) .nol-message-footer {\n grid-row: 2;\n}\n\n.nol-message-flashing.nol-message-column.nol-message-headless:not(.nol-message-bubble, .nol-message-selected.nol-message-raised-selection) .nol-message-main::before {\n grid-row: 1;\n}\n\n.nol-message-flashing.nol-message-bubble .nol-message-content {\n --nol-message-flash: color-mix(in srgb, var(--nol-accent) 18%, var(--nol-raised));\n}\n\n.nol-message-flashing:not(.nol-message-bubble, .nol-message-column),\n.nol-message-flashing.nol-message-column.nol-message-selected.nol-message-raised-selection:not(.nol-message-bubble),\n.nol-message-flashing.nol-message-column:not(.nol-message-bubble, .nol-message-selected.nol-message-raised-selection) .nol-message-main::before,\n.nol-message-flashing.nol-message-bubble .nol-message-content {\n animation: nol-message-flash 1.6s ease-out var(--nol-message-flash-delay, 0ms);\n\n @media (prefers-reduced-motion: reduce) {\n animation-timing-function: step-end;\n }\n}\n\n@keyframes nol-message-flash {\n from {\n background-color: var(--nol-message-flash);\n }\n}\n\n@keyframes nol-message-flash-outline {\n from {\n opacity: 1;\n }\n}\n\n.nol-message-gutter {\n display: flex;\n flex: none;\n flex-direction: column;\n width: var(--nol-avatar);\n}\n\n.nol-message-main {\n display: flex;\n flex: 1;\n flex-direction: column;\n gap: var(--nol-space-2);\n min-width: 0;\n}\n\n.nol-message-header {\n display: flex;\n align-items: baseline;\n gap: var(--nol-space-2);\n min-width: 0;\n padding-inline-end: calc(var(--nol-message-action-count, 1) * (var(--nol-icon-button-target) + var(--nol-space-1)) + var(--nol-space-1));\n}\n\n.nol-message-author {\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.nol-message-time {\n flex: none;\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n}\n\n.nol-message-system .nol-message-content {\n color: var(--nol-text-muted);\n}\n\n.nol-message-content {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n min-width: 0;\n user-select: text;\n}\n\n.nol-message-empty {\n margin: 0;\n color: var(--nol-text-muted);\n font-style: italic;\n}\n\n.nol-message-attachment {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n box-sizing: border-box;\n max-width: 100%;\n padding: var(--nol-space-2);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-panel);\n color: inherit;\n font: inherit;\n text-align: start;\n cursor: pointer;\n align-self: flex-start;\n}\n\n.nol-message-attachment:is(:hover, [data-nol-state=\"Hover\"]) {\n background-color: var(--nol-hover);\n}\n\n.nol-message-attachment:is(:hover, [data-nol-state=\"Hover\"]):not(:focus-visible, [data-nol-state=\"Focus\"]) {\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.nol-message-picture {\n position: relative;\n display: block;\n box-sizing: border-box;\n width: max(var(--nol-pointer-target), min(var(--nol-message-picture-width), var(--nol-message-picture-height) * var(--nol-message-picture-ratio)));\n max-width: 100%;\n min-height: var(--nol-pointer-target);\n max-height: max(var(--nol-pointer-target), var(--nol-message-picture-height));\n aspect-ratio: var(--nol-message-picture-ratio);\n padding: 0;\n border: 0;\n border-radius: var(--nol-radius-medium);\n overflow: hidden;\n background-color: transparent;\n cursor: zoom-in;\n align-self: flex-start;\n}\n\n.nol-message-picture::after {\n content: \"\";\n position: absolute;\n inset: 0;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: inherit;\n pointer-events: none;\n\n @media (forced-colors: active) {\n border-color: CanvasText;\n }\n}\n\n.nol-message-picture:is(:hover, [data-nol-state=\"Hover\"]):not(:focus-visible, [data-nol-state=\"Focus\"]) {\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.nol-message-picture-image {\n display: block;\n width: 100%;\n height: 100%;\n object-fit: scale-down;\n}\n\n.nol-message-attachment-preview {\n width: 3rem;\n height: 3rem;\n flex: none;\n border-radius: var(--nol-radius-small);\n object-fit: cover;\n}\n\n.nol-message-attachment-mark {\n display: flex;\n flex: none;\n align-self: flex-start;\n align-items: center;\n height: 1lh;\n}\n\n.nol-message-attachment-text {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n\n.nol-message-attachment-size {\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n}\n\n.nol-message-status,\n.nol-message-error {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n}\n\n.nol-message-error {\n flex-wrap: wrap;\n color: var(--nol-text);\n}\n\n.nol-message-error .nol-message-status-glyph {\n color: var(--nol-error);\n}\n\n.nol-message-selected :is(.nol-message-time, .nol-message-empty, .nol-message-status, .nol-markdown-quote, .nol-markdown-view.nol-message-interim),\n.nol-message-selected.nol-message-column .nol-message-header,\n.nol-message-selected.nol-message-system .nol-message-content {\n color: var(--nol-text);\n}\n\n.nol-message-actions {\n display: flex;\n gap: var(--nol-space-1);\n position: absolute;\n top: var(--nol-message-actions-top, var(--nol-space-1));\n inset-inline-end: var(--nol-message-actions-end, var(--nol-space-2));\n opacity: 0;\n}\n\n.nol-message:is(:hover, :focus-within, :has([data-nol-state=\"Hover\"], [data-nol-state=\"Focus\"])) :is(.nol-message-actions, .nol-message-footer, .nol-message-tools),\n.nol-message:has(:is(.nol-message-actions, .nol-message-footer, .nol-message-tools) [aria-expanded=\"true\"]) :is(.nol-message-actions, .nol-message-footer, .nol-message-tools),\n:is(:focus-within, [data-nol-state=\"Focus\"]) > .nol-message :is(.nol-message-actions, .nol-message-footer, .nol-message-tools) {\n opacity: 1;\n}\n\n:is(.nol-message-footer, .nol-message-tools):has(> .nol-message-footer-end > [data-nol-placement=\"End\"]) {\n opacity: 1;\n}\n\n@media (hover: none) {\n :is(.nol-message-actions, .nol-message-footer, .nol-message-tools) {\n opacity: 1;\n }\n}\n\n@media (forced-colors: active) {\n .nol-message {\n border-inline-start-color: Canvas;\n }\n\n .nol-message-selected {\n border-inline-start-color: Highlight;\n }\n\n .nol-message-selected.nol-message-raised-selection {\n border-inline-start-color: Canvas;\n }\n\n .nol-message-column.nol-message-selected,\n .nol-message-selected.nol-message-raised-selection {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n outline-offset: calc(var(--nol-border-width) * -2);\n }\n\n .nol-message-bubble .nol-message-content {\n outline: var(--nol-border-width) solid CanvasText;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n\n .nol-message-flashing:not(.nol-message-bubble, .nol-message-column),\n .nol-message-flashing.nol-message-column.nol-message-selected.nol-message-raised-selection:not(.nol-message-bubble),\n .nol-message-flashing.nol-message-bubble .nol-message-content {\n animation: none;\n }\n\n .nol-message-flashing.nol-message-bubble .nol-message-content {\n position: relative;\n }\n\n .nol-message-flashing:not(.nol-message-bubble, .nol-message-column)::after,\n .nol-message-flashing.nol-message-column.nol-message-selected.nol-message-raised-selection:not(.nol-message-bubble)::after,\n .nol-message-flashing.nol-message-bubble .nol-message-content::after {\n content: \"\";\n position: absolute;\n inset: 0;\n border-radius: inherit;\n }\n\n .nol-message-flashing:not(.nol-message-bubble, .nol-message-column)::after,\n .nol-message-flashing.nol-message-column.nol-message-selected.nol-message-raised-selection:not(.nol-message-bubble)::after,\n .nol-message-flashing.nol-message-column:not(.nol-message-bubble, .nol-message-selected.nol-message-raised-selection) .nol-message-main::before,\n .nol-message-flashing.nol-message-bubble .nol-message-content::after {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n outline-offset: calc(var(--nol-border-width) * -2);\n opacity: 0;\n pointer-events: none;\n animation: nol-message-flash-outline 1.6s ease-out var(--nol-message-flash-delay, 0ms);\n\n @media (prefers-reduced-motion: reduce) {\n animation-timing-function: step-end;\n }\n }\n\n .nol-message-flashing:not(.nol-message-bubble, .nol-message-column)::after {\n inset-inline-start: calc(var(--nol-border-width) * -3);\n }\n\n .nol-message-flashing.nol-message-selected.nol-message-raised-selection:not(.nol-message-bubble)::after,\n .nol-message-flashing.nol-message-column.nol-message-selected.nol-message-raised-selection:not(.nol-message-bubble)::after {\n outline-offset: calc(var(--nol-border-width) * -4);\n }\n}\n"], dependencies: [{ kind: "component", type: AvatarComponent, selector: "nol-avatar", inputs: ["name", "image", "initials", "color", "colorKey", "size", "label", "decorative", "unavailable", "filled", "filledColor"] }, { kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: FileBadgeComponent, selector: "nol-file-badge", inputs: ["fileName", "isFolder"] }, { kind: "component", type: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { kind: "component", type: MessageRunComponent, selector: "nol-message-run", inputs: ["blocks", "streaming", "collapsible", "mentions", "mentionNames", "entering", "fileLinks", "linkSchemes", "folderLinks", "references", "shellRuns", "math"], outputs: ["linkActivate", "linkOpen", "linkMenu", "fileActivate", "shellRun"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: SpinnerComponent, selector: "nol-spinner", inputs: ["label"] }, { kind: "directive", type: ToolbarDirective, selector: "[nolToolbar]", inputs: ["nolToolbarOrientation", "nolToolbarLabel", "nolToolbarWrap", "nolToolbarStart", "nolToolbarItems"] }, { kind: "directive", type: ToolbarItemDirective, selector: "[nolToolbarItem]" }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }], viewProviders: [{ provide: MarkdownFilePaths, useFactory: () => new MarkdownFilePaths() },
389
389
  { provide: MarkdownViewTokens.filePaths, useExisting: MarkdownFilePaths }, { provide: ShellRunBlocks, useFactory: () => new ShellRunBlocks() }], encapsulation: i0.ViewEncapsulation.None });
390
390
  }
391
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.5", ngImport: i0, type: MessageComponent, decorators: [{
391
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: MessageComponent, decorators: [{
392
392
  type: Component,
393
393
  args: [{ selector: "nol-message", imports: [AvatarComponent, ButtonComponent, FileBadgeComponent, IconButtonComponent, MessageRunComponent, NgTemplateOutlet, SpinnerComponent, ToolbarDirective, ToolbarItemDirective, TooltipDirective], encapsulation: ViewEncapsulation.None, providers: [{ provide: MarkdownViewTokens.images, useFactory: () => new MarkdownImages() }], viewProviders: [{ provide: MarkdownFilePaths, useFactory: () => new MarkdownFilePaths() },
394
394
  { provide: MarkdownViewTokens.filePaths, useExisting: MarkdownFilePaths }, { provide: ShellRunBlocks, useFactory: () => new ShellRunBlocks() }], host: {
@@ -38,10 +38,10 @@ export class MeterComponent {
38
38
  }
39
39
  });
40
40
  }
41
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.5", ngImport: i0, type: MeterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
42
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.2.5", type: MeterComponent, isStandalone: true, selector: "nol-meter", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, warning: { classPropertyName: "warning", publicName: "warning", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "meter" }, properties: { "attr.aria-label": "label()", "attr.aria-valuemin": "minimum", "attr.aria-valuemax": "maximum", "attr.aria-valuenow": "fraction()", "attr.aria-valuetext": "valueText()", "class.nol-meter-warning": "warning()", "style.--nol-meter-fraction": "fraction()" } }, viewQueries: [{ propertyName: "text", first: true, predicate: ["text"], 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<span class=\"nol-meter-track\"><span class=\"nol-meter-fill\"></span></span>\n<span #text class=\"nol-meter-text\"><ng-content /></span>\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 --nol-meter-color: var(--nol-progress);\n\n display: inline-flex;\n align-items: center;\n gap: var(--nol-meter-gap);\n box-sizing: border-box;\n min-width: 0;\n max-width: 100%;\n color: var(--nol-text-muted);\n font-size: var(--nol-text-panel);\n white-space: nowrap;\n}\n\n:host(.nol-meter-warning) {\n --nol-meter-color: var(--nol-warning);\n\n color: var(--nol-warning);\n}\n\n.nol-meter-track {\n display: block;\n flex: none;\n width: var(--nol-meter);\n height: var(--nol-meter-height);\n overflow: hidden;\n border-radius: calc(var(--nol-meter-height) / 2);\n background: color-mix(in srgb, var(--nol-meter-color) 25%, transparent);\n\n @media (forced-colors: active) {\n outline: var(--nol-border-width) solid CanvasText;\n background: Canvas;\n forced-color-adjust: none;\n }\n}\n\n.nol-meter-fill {\n display: block;\n width: calc(var(--nol-meter-fraction) * 100%);\n height: 100%;\n border-radius: inherit;\n background: var(--nol-meter-color);\n\n @media (forced-colors: active) {\n background: CanvasText;\n forced-color-adjust: none;\n }\n}\n\n.nol-meter-text {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.nol-meter-text:empty {\n display: none;\n}\n"] });
41
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: MeterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
42
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.2.6", type: MeterComponent, isStandalone: true, selector: "nol-meter", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, warning: { classPropertyName: "warning", publicName: "warning", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "meter" }, properties: { "attr.aria-label": "label()", "attr.aria-valuemin": "minimum", "attr.aria-valuemax": "maximum", "attr.aria-valuenow": "fraction()", "attr.aria-valuetext": "valueText()", "class.nol-meter-warning": "warning()", "style.--nol-meter-fraction": "fraction()" } }, viewQueries: [{ propertyName: "text", first: true, predicate: ["text"], 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<span class=\"nol-meter-track\"><span class=\"nol-meter-fill\"></span></span>\n<span #text class=\"nol-meter-text\"><ng-content /></span>\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 --nol-meter-color: var(--nol-progress);\n\n display: inline-flex;\n align-items: center;\n gap: var(--nol-meter-gap);\n box-sizing: border-box;\n min-width: 0;\n max-width: 100%;\n color: var(--nol-text-muted);\n font-size: var(--nol-text-panel);\n white-space: nowrap;\n}\n\n:host(.nol-meter-warning) {\n --nol-meter-color: var(--nol-warning);\n\n color: var(--nol-warning);\n}\n\n.nol-meter-track {\n display: block;\n flex: none;\n width: var(--nol-meter);\n height: var(--nol-meter-height);\n overflow: hidden;\n border-radius: calc(var(--nol-meter-height) / 2);\n background: color-mix(in srgb, var(--nol-meter-color) 25%, transparent);\n\n @media (forced-colors: active) {\n outline: var(--nol-border-width) solid CanvasText;\n background: Canvas;\n forced-color-adjust: none;\n }\n}\n\n.nol-meter-fill {\n display: block;\n width: calc(var(--nol-meter-fraction) * 100%);\n height: 100%;\n border-radius: inherit;\n background: var(--nol-meter-color);\n\n @media (forced-colors: active) {\n background: CanvasText;\n forced-color-adjust: none;\n }\n}\n\n.nol-meter-text {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.nol-meter-text:empty {\n display: none;\n}\n"] });
43
43
  }
44
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.5", ngImport: i0, type: MeterComponent, decorators: [{
44
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: MeterComponent, decorators: [{
45
45
  type: Component,
46
46
  args: [{ selector: "nol-meter", host: {
47
47
  "role": "meter",
@@ -13,10 +13,10 @@ export class PanelCardComponent {
13
13
  ...(ngDevMode ? [{ debugName: "isShell" }] : /* istanbul ignore next */ []));
14
14
  surface = input(PanelSurface.Panel, /* @ts-ignore */
15
15
  ...(ngDevMode ? [{ debugName: "surface" }] : /* istanbul ignore next */ []));
16
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.5", ngImport: i0, type: PanelCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
17
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.2.5", type: PanelCardComponent, isStandalone: true, selector: "nol-panel-card", inputs: { surface: { classPropertyName: "surface", publicName: "surface", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.nol-panel-card-shell": "isShell()" } }, 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<ng-content />\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: flex;\n flex-direction: column;\n box-sizing: border-box;\n min-width: 0;\n min-height: 0;\n overflow: hidden;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-large);\n background-color: var(--nol-panel);\n color: var(--nol-text);\n}\n\n:host(.nol-panel-card-shell) {\n background-color: var(--nol-window);\n}\n"] });
16
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: PanelCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
17
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.2.6", type: PanelCardComponent, isStandalone: true, selector: "nol-panel-card", inputs: { surface: { classPropertyName: "surface", publicName: "surface", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.nol-panel-card-shell": "isShell()" } }, 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<ng-content />\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: flex;\n flex-direction: column;\n box-sizing: border-box;\n min-width: 0;\n min-height: 0;\n overflow: hidden;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-large);\n background-color: var(--nol-panel);\n color: var(--nol-text);\n}\n\n:host(.nol-panel-card-shell) {\n background-color: var(--nol-window);\n}\n"] });
18
18
  }
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.5", ngImport: i0, type: PanelCardComponent, decorators: [{
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: PanelCardComponent, decorators: [{
20
20
  type: Component,
21
21
  args: [{ selector: "nol-panel-card", host: {
22
22
  "[class.nol-panel-card-shell]": "isShell()"
@@ -205,10 +205,10 @@ export class PermissionCardComponent {
205
205
  optionButton(option) {
206
206
  return this.host.querySelector(`[data-nol-option="${CSS.escape(option.id)}"]`);
207
207
  }
208
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.5", ngImport: i0, type: PermissionCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
209
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.5", type: PermissionCardComponent, isStandalone: true, selector: "nol-permission-card", inputs: { request: { classPropertyName: "request", publicName: "request", isSignal: true, isRequired: true, transformFunction: null }, detailsExpanded: { classPropertyName: "detailsExpanded", publicName: "detailsExpanded", isSignal: true, isRequired: false, transformFunction: null }, detailLines: { classPropertyName: "detailLines", publicName: "detailLines", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { detailsExpanded: "detailsExpandedChange", decide: "decide" }, host: { attributes: { "role": "group", "tabindex": "-1" }, properties: { "class": "riskClass()", "attr.aria-labelledby": "id + '-heading'", "attr.aria-describedby": "describedBy()" }, classAttribute: "nol-permission-card" }, viewQueries: [{ propertyName: "cancelButton", first: true, predicate: ["cancel"], descendants: true, read: ElementRef, 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<div class=\"nol-permission-card-header\">\n <span class=\"nol-permission-card-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ partResources.permissionGlyph }}</span>\n <span class=\"nol-permission-card-title\">\n <span class=\"nol-permission-card-heading\" [id]=\"id + '-heading'\">{{ request().heading }}</span>\n @if (request().kind; as kind) {\n <span class=\"nol-permission-card-kind\" [id]=\"id + '-kind'\">{{ kind }}</span>\n }\n </span>\n @if (request().risk; as risk) {\n <span class=\"nol-permission-card-risk\" [id]=\"id + '-risk'\">\n <span class=\"nol-permission-card-risk-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ partResources.permissionRiskGlyphs[risk] }}</span>\n <span>{{ partResources.permissionRiskLabels[risk] }}</span>\n </span>\n }\n @if (expiryText(); as expiry) {\n <span class=\"nol-permission-card-expiry\">{{ expiry }}</span>\n }\n</div>\n<span class=\"nol-permission-card-requester\" [id]=\"id + '-requester'\">{{ requesterText() }}</span>\n@if (request().description; as description) {\n <p class=\"nol-permission-card-description\" [id]=\"id + '-description'\">{{ description }}</p>\n}\n@if (lines().length > 0) {\n <div class=\"nol-permission-card-details\">\n <pre class=\"nol-permission-card-code\" [id]=\"id + '-details'\" [class.nol-permission-card-code-scrolls]=\"isCut() && detailsExpanded()\" [style.--nol-permission-card-scroll-lines]=\"scrollLines()\"\n [attr.tabindex]=\"isCut() && detailsExpanded() ? 0 : null\" [attr.role]=\"isCut() && detailsExpanded() ? 'region' : null\"\n [attr.aria-label]=\"isCut() && detailsExpanded() ? partResources.permissionDetailsLabel : null\">{{ shownDetails() }}</pre>\n @if (isCut()) {\n <button type=\"button\" class=\"nol-permission-card-more\" data-nol-resizes-row [attr.aria-expanded]=\"detailsExpanded()\" [attr.aria-controls]=\"id + '-details'\" (click)=\"toggleDetails()\">{{\n detailsExpanded() ? partResources.permissionShowFewerLines : partResources.formatPermissionShowAllLines(lines().length) }}</button>\n }\n </div>\n}\n@if (confirmOption(); as option) {\n <div class=\"nol-permission-card-answer\">\n <span class=\"nol-permission-card-question\" [id]=\"id + '-question'\">{{ confirmQuestion(option) }}</span>\n <div class=\"nol-permission-card-options\" nolToolbar [nolToolbarLabel]=\"confirmToolbarLabel(option)\" [nolToolbarStart]=\"1\" [attr.aria-describedby]=\"id + '-question'\">\n <button type=\"button\" nol-button nolToolbarItem class=\"nol-permission-card-confirm\" [variant]=\"variants.Secondary\" (click)=\"confirm(option, $event)\">{{ partResources.permissionConfirmLabel }}</button>\n <button #cancel type=\"button\" nol-button nolToolbarItem class=\"nol-permission-card-cancel\" [variant]=\"variants.Secondary\" (click)=\"leaveConfirmation(option)\">{{ partResources.permissionCancelLabel }}</button>\n </div>\n </div>\n} @else if (isOpen()) {\n <div class=\"nol-permission-card-answer\">\n <div class=\"nol-permission-card-options\" nolToolbar [nolToolbarLabel]=\"partResources.permissionOptionsLabel\" [nolToolbarStart]=\"defaultIndex()\" [nolToolbarWrap]=\"true\">\n @for (option of request().options; track option.id) {\n <button type=\"button\" nol-button nolToolbarItem class=\"nol-permission-card-option\" [attr.data-nol-option]=\"option.id\"\n [variant]=\"variants.Secondary\" [attr.aria-disabled]=\"isLocked() ? 'true' : null\" (click)=\"choose(option)\">{{ option.label }}</button>\n }\n </div>\n @if (isSending()) {\n <span class=\"nol-permission-card-sending\"><nol-spinner /><span>{{ partResources.permissionSending }}</span></span>\n }\n </div>\n} @else {\n @switch (request().status) {\n @case (statuses.SendFailed) {\n <div class=\"nol-permission-card-answer nol-permission-card-failed\">\n <span class=\"nol-permission-card-outcome-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ partResources.permissionSendFailedGlyph }}</span>\n <span>{{ partResources.permissionSendFailed }}</span>\n @if (request().chosenOption; as chosen) {\n <button type=\"button\" nol-button class=\"nol-permission-card-retry\" [variant]=\"variants.Secondary\" [attr.aria-disabled]=\"isLocked() ? 'true' : null\" (click)=\"retry(chosen)\">{{ partResources.permissionRetryLabel }}</button>\n }\n </div>\n }\n @case (statuses.Decided) {\n @if (request().chosenOption; as chosen) {\n <p class=\"nol-permission-card-outcome\" [class.nol-permission-card-allowed]=\"chosen.isAllow\" [class.nol-permission-card-denied]=\"!chosen.isAllow\">\n <span class=\"nol-permission-card-outcome-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ partResources.permissionDecidedGlyphs[chosen.effect] }}</span>\n <span class=\"nol-permission-card-outcome-label\">{{ decidedLabel(chosen) }}</span>\n @if (request().decision; as decision) {\n <span class=\"nol-permission-card-decided-by\">{{ decidedText(decision) }}</span>\n }\n </p>\n }\n }\n @case (statuses.Expired) {\n <p class=\"nol-permission-card-outcome\">\n <span class=\"nol-permission-card-outcome-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ partResources.permissionExpiredGlyph }}</span>\n <span class=\"nol-permission-card-outcome-label\">{{ partResources.permissionExpiredLabel }}</span>\n </p>\n }\n @default {\n <p class=\"nol-permission-card-outcome\">\n <span class=\"nol-permission-card-outcome-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ partResources.permissionWithdrawnGlyph }}</span>\n <span class=\"nol-permission-card-outcome-label\">{{ partResources.permissionWithdrawnLabel }}</span>\n </p>\n }\n }\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n.nol-permission-card {\n position: relative;\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n box-sizing: border-box;\n width: 100%;\n min-width: 0;\n padding: var(--nol-space-3);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n outline: none;\n color: var(--nol-text);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.nol-permission-card:is(:focus-visible, [data-nol-state=\"Focus\"]) {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: calc(var(--nol-border-width) * -1);\n}\n\n@media (forced-colors: active) {\n .nol-permission-card:is(:focus-visible, [data-nol-state=\"Focus\"]) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n.nol-permission-card-header {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--nol-space-1) var(--nol-space-2);\n min-width: 0;\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n}\n\n.nol-permission-card-title {\n display: flex;\n flex: 1 1 0;\n flex-direction: column;\n min-width: 0;\n}\n\n.nol-permission-card-kind {\n overflow-wrap: anywhere;\n}\n\n.nol-permission-card-risk {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n min-width: 0;\n}\n\n.nol-permission-card-requester {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n}\n\n.nol-permission-card-glyph,\n.nol-permission-card-risk-glyph,\n.nol-permission-card-outcome-glyph {\n flex: none;\n font-size: var(--nol-icon);\n}\n\n.nol-permission-card-glyph {\n color: var(--nol-accent);\n}\n\n.nol-permission-card-risk-glyph {\n color: var(--nol-icon-color);\n}\n\n.nol-permission-card-high .nol-permission-card-risk-glyph,\n.nol-permission-card-denied .nol-permission-card-outcome-glyph,\n.nol-permission-card-failed .nol-permission-card-outcome-glyph {\n color: var(--nol-error);\n}\n\n.nol-permission-card-high .nol-permission-card-risk {\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.nol-permission-card-decided-by {\n padding-inline-start: var(--nol-space-2);\n border-inline-start: var(--nol-border-width) solid var(--nol-card-border);\n}\n\n.nol-permission-card-expiry {\n font-variant-numeric: tabular-nums;\n white-space: nowrap;\n}\n\n.nol-permission-card-heading {\n color: var(--nol-text-strong);\n font-size: var(--nol-text-panel);\n font-weight: var(--nol-weight-emphasis);\n line-height: var(--nol-line-panel);\n overflow-wrap: anywhere;\n}\n\n.nol-permission-card-description {\n margin: 0;\n color: var(--nol-text-muted);\n overflow-wrap: anywhere;\n}\n\n.nol-permission-card-details {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-1);\n min-width: 0;\n}\n\n.nol-permission-card-code {\n box-sizing: border-box;\n margin: 0;\n outline: none;\n font-family: var(--nol-font-mono);\n font-size: var(--nol-text-code);\n line-height: var(--nol-line-code);\n overflow-wrap: anywhere;\n white-space: pre-wrap;\n direction: ltr;\n unicode-bidi: isolate;\n}\n\n.nol-permission-card-code-scrolls {\n max-height: calc(var(--nol-text-code) * var(--nol-line-code) * var(--nol-permission-card-scroll-lines));\n overflow-y: auto;\n}\n\n.nol-permission-card-code:is(:focus-visible, [data-nol-state=\"Focus\"]) {\n outline: var(--nol-border-width) solid var(--nol-accent);\n}\n\n@media (forced-colors: active) {\n .nol-permission-card-code:is(:focus-visible, [data-nol-state=\"Focus\"]) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n.nol-permission-card-more {\n align-self: flex-start;\n min-height: var(--nol-pointer-target);\n padding-inline: var(--nol-space-1);\n margin-inline-start: calc(var(--nol-space-1) * -1);\n border: 0;\n border-radius: var(--nol-radius-hover);\n background: none;\n color: var(--nol-link);\n font: inherit;\n}\n\n.nol-permission-card-more:is(:hover, [data-nol-state=\"Hover\"]) {\n background-color: var(--nol-hover);\n}\n\n@media (forced-colors: active) {\n .nol-permission-card-more:is(:hover, [data-nol-state=\"Hover\"]) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.nol-permission-card-answer {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--nol-space-2);\n min-width: 0;\n}\n\n.nol-permission-card-options {\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-end;\n gap: var(--nol-space-2);\n min-width: 0;\n margin-inline-start: auto;\n}\n\n.nol-permission-card-question {\n flex-basis: 100%;\n overflow-wrap: anywhere;\n}\n\n.nol-permission-card-sending,\n.nol-permission-card-failed {\n color: var(--nol-text-muted);\n}\n\n.nol-permission-card-sending {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n}\n\n.nol-permission-card-outcome {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--nol-space-1) var(--nol-space-2);\n margin: 0;\n}\n\n.nol-permission-card-outcome-label {\n margin-inline-start: calc(var(--nol-space-1) - var(--nol-space-2));\n}\n\n.nol-permission-card-allowed .nol-permission-card-outcome-glyph {\n color: var(--nol-added);\n}\n\n.nol-permission-card-decided-by {\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: SpinnerComponent, selector: "nol-spinner", inputs: ["label"] }, { kind: "directive", type: ToolbarDirective, selector: "[nolToolbar]", inputs: ["nolToolbarOrientation", "nolToolbarLabel", "nolToolbarWrap", "nolToolbarStart", "nolToolbarItems"] }, { kind: "directive", type: ToolbarItemDirective, selector: "[nolToolbarItem]" }], encapsulation: i0.ViewEncapsulation.None });
208
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: PermissionCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
209
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: PermissionCardComponent, isStandalone: true, selector: "nol-permission-card", inputs: { request: { classPropertyName: "request", publicName: "request", isSignal: true, isRequired: true, transformFunction: null }, detailsExpanded: { classPropertyName: "detailsExpanded", publicName: "detailsExpanded", isSignal: true, isRequired: false, transformFunction: null }, detailLines: { classPropertyName: "detailLines", publicName: "detailLines", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { detailsExpanded: "detailsExpandedChange", decide: "decide" }, host: { attributes: { "role": "group", "tabindex": "-1" }, properties: { "class": "riskClass()", "attr.aria-labelledby": "id + '-heading'", "attr.aria-describedby": "describedBy()" }, classAttribute: "nol-permission-card" }, viewQueries: [{ propertyName: "cancelButton", first: true, predicate: ["cancel"], descendants: true, read: ElementRef, 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<div class=\"nol-permission-card-header\">\n <span class=\"nol-permission-card-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ partResources.permissionGlyph }}</span>\n <span class=\"nol-permission-card-title\">\n <span class=\"nol-permission-card-heading\" [id]=\"id + '-heading'\">{{ request().heading }}</span>\n @if (request().kind; as kind) {\n <span class=\"nol-permission-card-kind\" [id]=\"id + '-kind'\">{{ kind }}</span>\n }\n </span>\n @if (request().risk; as risk) {\n <span class=\"nol-permission-card-risk\" [id]=\"id + '-risk'\">\n <span class=\"nol-permission-card-risk-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ partResources.permissionRiskGlyphs[risk] }}</span>\n <span>{{ partResources.permissionRiskLabels[risk] }}</span>\n </span>\n }\n @if (expiryText(); as expiry) {\n <span class=\"nol-permission-card-expiry\">{{ expiry }}</span>\n }\n</div>\n<span class=\"nol-permission-card-requester\" [id]=\"id + '-requester'\">{{ requesterText() }}</span>\n@if (request().description; as description) {\n <p class=\"nol-permission-card-description\" [id]=\"id + '-description'\">{{ description }}</p>\n}\n@if (lines().length > 0) {\n <div class=\"nol-permission-card-details\">\n <pre class=\"nol-permission-card-code\" [id]=\"id + '-details'\" [class.nol-permission-card-code-scrolls]=\"isCut() && detailsExpanded()\" [style.--nol-permission-card-scroll-lines]=\"scrollLines()\"\n [attr.tabindex]=\"isCut() && detailsExpanded() ? 0 : null\" [attr.role]=\"isCut() && detailsExpanded() ? 'region' : null\"\n [attr.aria-label]=\"isCut() && detailsExpanded() ? partResources.permissionDetailsLabel : null\">{{ shownDetails() }}</pre>\n @if (isCut()) {\n <button type=\"button\" class=\"nol-permission-card-more\" data-nol-resizes-row [attr.aria-expanded]=\"detailsExpanded()\" [attr.aria-controls]=\"id + '-details'\" (click)=\"toggleDetails()\">{{\n detailsExpanded() ? partResources.permissionShowFewerLines : partResources.formatPermissionShowAllLines(lines().length) }}</button>\n }\n </div>\n}\n@if (confirmOption(); as option) {\n <div class=\"nol-permission-card-answer\">\n <span class=\"nol-permission-card-question\" [id]=\"id + '-question'\">{{ confirmQuestion(option) }}</span>\n <div class=\"nol-permission-card-options\" nolToolbar [nolToolbarLabel]=\"confirmToolbarLabel(option)\" [nolToolbarStart]=\"1\" [attr.aria-describedby]=\"id + '-question'\">\n <button type=\"button\" nol-button nolToolbarItem class=\"nol-permission-card-confirm\" [variant]=\"variants.Secondary\" (click)=\"confirm(option, $event)\">{{ partResources.permissionConfirmLabel }}</button>\n <button #cancel type=\"button\" nol-button nolToolbarItem class=\"nol-permission-card-cancel\" [variant]=\"variants.Secondary\" (click)=\"leaveConfirmation(option)\">{{ partResources.permissionCancelLabel }}</button>\n </div>\n </div>\n} @else if (isOpen()) {\n <div class=\"nol-permission-card-answer\">\n <div class=\"nol-permission-card-options\" nolToolbar [nolToolbarLabel]=\"partResources.permissionOptionsLabel\" [nolToolbarStart]=\"defaultIndex()\" [nolToolbarWrap]=\"true\">\n @for (option of request().options; track option.id) {\n <button type=\"button\" nol-button nolToolbarItem class=\"nol-permission-card-option\" [attr.data-nol-option]=\"option.id\"\n [variant]=\"variants.Secondary\" [attr.aria-disabled]=\"isLocked() ? 'true' : null\" (click)=\"choose(option)\">{{ option.label }}</button>\n }\n </div>\n @if (isSending()) {\n <span class=\"nol-permission-card-sending\"><nol-spinner /><span>{{ partResources.permissionSending }}</span></span>\n }\n </div>\n} @else {\n @switch (request().status) {\n @case (statuses.SendFailed) {\n <div class=\"nol-permission-card-answer nol-permission-card-failed\">\n <span class=\"nol-permission-card-outcome-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ partResources.permissionSendFailedGlyph }}</span>\n <span>{{ partResources.permissionSendFailed }}</span>\n @if (request().chosenOption; as chosen) {\n <button type=\"button\" nol-button class=\"nol-permission-card-retry\" [variant]=\"variants.Secondary\" [attr.aria-disabled]=\"isLocked() ? 'true' : null\" (click)=\"retry(chosen)\">{{ partResources.permissionRetryLabel }}</button>\n }\n </div>\n }\n @case (statuses.Decided) {\n @if (request().chosenOption; as chosen) {\n <p class=\"nol-permission-card-outcome\" [class.nol-permission-card-allowed]=\"chosen.isAllow\" [class.nol-permission-card-denied]=\"!chosen.isAllow\">\n <span class=\"nol-permission-card-outcome-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ partResources.permissionDecidedGlyphs[chosen.effect] }}</span>\n <span class=\"nol-permission-card-outcome-label\">{{ decidedLabel(chosen) }}</span>\n @if (request().decision; as decision) {\n <span class=\"nol-permission-card-decided-by\">{{ decidedText(decision) }}</span>\n }\n </p>\n }\n }\n @case (statuses.Expired) {\n <p class=\"nol-permission-card-outcome\">\n <span class=\"nol-permission-card-outcome-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ partResources.permissionExpiredGlyph }}</span>\n <span class=\"nol-permission-card-outcome-label\">{{ partResources.permissionExpiredLabel }}</span>\n </p>\n }\n @default {\n <p class=\"nol-permission-card-outcome\">\n <span class=\"nol-permission-card-outcome-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ partResources.permissionWithdrawnGlyph }}</span>\n <span class=\"nol-permission-card-outcome-label\">{{ partResources.permissionWithdrawnLabel }}</span>\n </p>\n }\n }\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n.nol-permission-card {\n position: relative;\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n box-sizing: border-box;\n width: 100%;\n min-width: 0;\n padding: var(--nol-space-3);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n outline: none;\n color: var(--nol-text);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.nol-permission-card:is(:focus-visible, [data-nol-state=\"Focus\"]) {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: calc(var(--nol-border-width) * -1);\n}\n\n@media (forced-colors: active) {\n .nol-permission-card:is(:focus-visible, [data-nol-state=\"Focus\"]) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n.nol-permission-card-header {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--nol-space-1) var(--nol-space-2);\n min-width: 0;\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n}\n\n.nol-permission-card-title {\n display: flex;\n flex: 1 1 0;\n flex-direction: column;\n min-width: 0;\n}\n\n.nol-permission-card-kind {\n overflow-wrap: anywhere;\n}\n\n.nol-permission-card-risk {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n min-width: 0;\n}\n\n.nol-permission-card-requester {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n}\n\n.nol-permission-card-glyph,\n.nol-permission-card-risk-glyph,\n.nol-permission-card-outcome-glyph {\n flex: none;\n font-size: var(--nol-icon);\n}\n\n.nol-permission-card-glyph {\n color: var(--nol-accent);\n}\n\n.nol-permission-card-risk-glyph {\n color: var(--nol-icon-color);\n}\n\n.nol-permission-card-high .nol-permission-card-risk-glyph,\n.nol-permission-card-denied .nol-permission-card-outcome-glyph,\n.nol-permission-card-failed .nol-permission-card-outcome-glyph {\n color: var(--nol-error);\n}\n\n.nol-permission-card-high .nol-permission-card-risk {\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.nol-permission-card-decided-by {\n padding-inline-start: var(--nol-space-2);\n border-inline-start: var(--nol-border-width) solid var(--nol-card-border);\n}\n\n.nol-permission-card-expiry {\n font-variant-numeric: tabular-nums;\n white-space: nowrap;\n}\n\n.nol-permission-card-heading {\n color: var(--nol-text-strong);\n font-size: var(--nol-text-panel);\n font-weight: var(--nol-weight-emphasis);\n line-height: var(--nol-line-panel);\n overflow-wrap: anywhere;\n}\n\n.nol-permission-card-description {\n margin: 0;\n color: var(--nol-text-muted);\n overflow-wrap: anywhere;\n}\n\n.nol-permission-card-details {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-1);\n min-width: 0;\n}\n\n.nol-permission-card-code {\n box-sizing: border-box;\n margin: 0;\n outline: none;\n font-family: var(--nol-font-mono);\n font-size: var(--nol-text-code);\n line-height: var(--nol-line-code);\n overflow-wrap: anywhere;\n white-space: pre-wrap;\n direction: ltr;\n unicode-bidi: isolate;\n}\n\n.nol-permission-card-code-scrolls {\n max-height: calc(var(--nol-text-code) * var(--nol-line-code) * var(--nol-permission-card-scroll-lines));\n overflow-y: auto;\n}\n\n.nol-permission-card-code:is(:focus-visible, [data-nol-state=\"Focus\"]) {\n outline: var(--nol-border-width) solid var(--nol-accent);\n}\n\n@media (forced-colors: active) {\n .nol-permission-card-code:is(:focus-visible, [data-nol-state=\"Focus\"]) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n.nol-permission-card-more {\n align-self: flex-start;\n min-height: var(--nol-pointer-target);\n padding-inline: var(--nol-space-1);\n margin-inline-start: calc(var(--nol-space-1) * -1);\n border: 0;\n border-radius: var(--nol-radius-hover);\n background: none;\n color: var(--nol-link);\n font: inherit;\n}\n\n.nol-permission-card-more:is(:hover, [data-nol-state=\"Hover\"]) {\n background-color: var(--nol-hover);\n}\n\n@media (forced-colors: active) {\n .nol-permission-card-more:is(:hover, [data-nol-state=\"Hover\"]) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.nol-permission-card-answer {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--nol-space-2);\n min-width: 0;\n}\n\n.nol-permission-card-options {\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-end;\n gap: var(--nol-space-2);\n min-width: 0;\n margin-inline-start: auto;\n}\n\n.nol-permission-card-question {\n flex-basis: 100%;\n overflow-wrap: anywhere;\n}\n\n.nol-permission-card-sending,\n.nol-permission-card-failed {\n color: var(--nol-text-muted);\n}\n\n.nol-permission-card-sending {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n}\n\n.nol-permission-card-outcome {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--nol-space-1) var(--nol-space-2);\n margin: 0;\n}\n\n.nol-permission-card-outcome-label {\n margin-inline-start: calc(var(--nol-space-1) - var(--nol-space-2));\n}\n\n.nol-permission-card-allowed .nol-permission-card-outcome-glyph {\n color: var(--nol-added);\n}\n\n.nol-permission-card-decided-by {\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: SpinnerComponent, selector: "nol-spinner", inputs: ["label"] }, { kind: "directive", type: ToolbarDirective, selector: "[nolToolbar]", inputs: ["nolToolbarOrientation", "nolToolbarLabel", "nolToolbarWrap", "nolToolbarStart", "nolToolbarItems"] }, { kind: "directive", type: ToolbarItemDirective, selector: "[nolToolbarItem]" }], encapsulation: i0.ViewEncapsulation.None });
210
210
  }
211
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.5", ngImport: i0, type: PermissionCardComponent, decorators: [{
211
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: PermissionCardComponent, decorators: [{
212
212
  type: Component,
213
213
  args: [{ selector: "nol-permission-card", imports: [ButtonComponent, SpinnerComponent, ToolbarDirective, ToolbarItemDirective], encapsulation: ViewEncapsulation.None, host: {
214
214
  "class": "nol-permission-card",
@@ -52,10 +52,10 @@ export class PlanComponent {
52
52
  for (const announcement of changed.length > PlanComponentResources.planChangesAnnounced ? [PlanComponentResources.formatPlanLabel(plan.completedCount, count)] : changed)
53
53
  this.announcer.announce(announcement, AnnouncementPoliteness.Polite);
54
54
  }
55
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.5", ngImport: i0, type: PlanComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
56
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.5", type: PlanComponent, isStandalone: true, selector: "nol-plan", inputs: { plan: { classPropertyName: "plan", publicName: "plan", isSignal: true, isRequired: true, transformFunction: null }, framed: { classPropertyName: "framed", publicName: "framed", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.nol-plan-unframed": "!framed()" }, classAttribute: "nol-plan" }, ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<svg class=\"nol-plan-defs\" aria-hidden=\"true\" focusable=\"false\">\n <mask [attr.id]=\"checkId\"><circle cx=\"8\" cy=\"8\" r=\"8\" fill=\"white\" /><path d=\"M4.75 8.25 7 10.5 11.25 6\" fill=\"none\" stroke=\"black\" stroke-width=\"1.5\" stroke-linecap=\"round\"\n stroke-linejoin=\"round\" /></mask>\n</svg>\n<ul class=\"nol-plan-steps\" role=\"list\" [attr.aria-label]=\"label()\">\n @for (step of plan().steps; track $index) {\n <li class=\"nol-plan-step\" [class]=\"partResources.planStepStatusClasses[step.status]\" [attr.aria-label]=\"stepLabel(step)\">\n <span class=\"nol-plan-marker\" aria-hidden=\"true\">\n @switch (step.status) {\n @case (statuses.Completed) {\n <svg class=\"nol-plan-mark\" viewBox=\"0 0 16 16\" focusable=\"false\"><circle cx=\"8\" cy=\"8\" r=\"8\" [attr.mask]=\"checkMask\" /></svg>\n }\n @case (statuses.InProgress) {\n <nol-spinner class=\"nol-plan-spinner\" />\n }\n @default {\n <svg class=\"nol-plan-mark\" viewBox=\"0 0 16 16\" focusable=\"false\"><circle cx=\"8\" cy=\"8\" r=\"7.25\" pathLength=\"16\" /></svg>\n }\n }\n </span>\n <span class=\"nol-plan-text\">{{ shown(step) }}</span>\n </li>\n }\n</ul>\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.nol-plan {\n display: block;\n box-sizing: border-box;\n width: 100%;\n min-width: 0;\n padding: var(--nol-space-1) var(--nol-space-3);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n color: var(--nol-text);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.nol-plan-unframed {\n padding: 0;\n border: none;\n border-radius: 0;\n}\n\n.nol-plan-defs {\n position: absolute;\n width: 0;\n height: 0;\n overflow: hidden;\n forced-color-adjust: none;\n}\n\n.nol-plan-steps {\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n.nol-plan-step {\n display: flex;\n gap: var(--nol-space-2);\n padding-block: calc((var(--nol-space-6) - var(--nol-line-panel)) / 2);\n}\n\n.nol-plan-marker {\n display: flex;\n flex: none;\n width: var(--nol-icon);\n height: var(--nol-icon);\n margin-block: calc((var(--nol-line-panel) - var(--nol-icon)) / 2);\n color: var(--nol-text-muted);\n\n @media (forced-colors: active) {\n color: CanvasText;\n }\n}\n\n.nol-plan-mark {\n display: block;\n width: 100%;\n height: 100%;\n fill: currentColor;\n forced-color-adjust: none;\n}\n\n.nol-plan-marker > .nol-plan-spinner {\n --nol-spinner-ring: 100%;\n\n width: 100%;\n height: 100%;\n}\n\n.nol-plan-step-pending .nol-plan-mark {\n fill: none;\n stroke: currentColor;\n stroke-width: 1.5;\n stroke-dasharray: 1.25 0.75;\n}\n\n.nol-plan-text {\n min-width: 0;\n overflow-wrap: anywhere;\n}\n"], dependencies: [{ kind: "component", type: SpinnerComponent, selector: "nol-spinner", inputs: ["label"] }], encapsulation: i0.ViewEncapsulation.None });
55
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: PlanComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
56
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: PlanComponent, isStandalone: true, selector: "nol-plan", inputs: { plan: { classPropertyName: "plan", publicName: "plan", isSignal: true, isRequired: true, transformFunction: null }, framed: { classPropertyName: "framed", publicName: "framed", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.nol-plan-unframed": "!framed()" }, classAttribute: "nol-plan" }, ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<svg class=\"nol-plan-defs\" aria-hidden=\"true\" focusable=\"false\">\n <mask [attr.id]=\"checkId\"><circle cx=\"8\" cy=\"8\" r=\"8\" fill=\"white\" /><path d=\"M4.75 8.25 7 10.5 11.25 6\" fill=\"none\" stroke=\"black\" stroke-width=\"1.5\" stroke-linecap=\"round\"\n stroke-linejoin=\"round\" /></mask>\n</svg>\n<ul class=\"nol-plan-steps\" role=\"list\" [attr.aria-label]=\"label()\">\n @for (step of plan().steps; track $index) {\n <li class=\"nol-plan-step\" [class]=\"partResources.planStepStatusClasses[step.status]\" [attr.aria-label]=\"stepLabel(step)\">\n <span class=\"nol-plan-marker\" aria-hidden=\"true\">\n @switch (step.status) {\n @case (statuses.Completed) {\n <svg class=\"nol-plan-mark\" viewBox=\"0 0 16 16\" focusable=\"false\"><circle cx=\"8\" cy=\"8\" r=\"8\" [attr.mask]=\"checkMask\" /></svg>\n }\n @case (statuses.InProgress) {\n <nol-spinner class=\"nol-plan-spinner\" />\n }\n @default {\n <svg class=\"nol-plan-mark\" viewBox=\"0 0 16 16\" focusable=\"false\"><circle cx=\"8\" cy=\"8\" r=\"7.25\" pathLength=\"16\" /></svg>\n }\n }\n </span>\n <span class=\"nol-plan-text\">{{ shown(step) }}</span>\n </li>\n }\n</ul>\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.nol-plan {\n display: block;\n box-sizing: border-box;\n width: 100%;\n min-width: 0;\n padding: var(--nol-space-1) var(--nol-space-3);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n color: var(--nol-text);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.nol-plan-unframed {\n padding: 0;\n border: none;\n border-radius: 0;\n}\n\n.nol-plan-defs {\n position: absolute;\n width: 0;\n height: 0;\n overflow: hidden;\n forced-color-adjust: none;\n}\n\n.nol-plan-steps {\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n.nol-plan-step {\n display: flex;\n gap: var(--nol-space-2);\n padding-block: calc((var(--nol-space-6) - var(--nol-line-panel)) / 2);\n}\n\n.nol-plan-marker {\n display: flex;\n flex: none;\n width: var(--nol-icon);\n height: var(--nol-icon);\n margin-block: calc((var(--nol-line-panel) - var(--nol-icon)) / 2);\n color: var(--nol-text-muted);\n\n @media (forced-colors: active) {\n color: CanvasText;\n }\n}\n\n.nol-plan-mark {\n display: block;\n width: 100%;\n height: 100%;\n fill: currentColor;\n forced-color-adjust: none;\n}\n\n.nol-plan-marker > .nol-plan-spinner {\n --nol-spinner-ring: 100%;\n\n width: 100%;\n height: 100%;\n}\n\n.nol-plan-step-pending .nol-plan-mark {\n fill: none;\n stroke: currentColor;\n stroke-width: 1.5;\n stroke-dasharray: 1.25 0.75;\n}\n\n.nol-plan-text {\n min-width: 0;\n overflow-wrap: anywhere;\n}\n"], dependencies: [{ kind: "component", type: SpinnerComponent, selector: "nol-spinner", inputs: ["label"] }], encapsulation: i0.ViewEncapsulation.None });
57
57
  }
58
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.5", ngImport: i0, type: PlanComponent, decorators: [{
58
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: PlanComponent, decorators: [{
59
59
  type: Component,
60
60
  args: [{ selector: "nol-plan", imports: [SpinnerComponent], encapsulation: ViewEncapsulation.None, host: {
61
61
  "class": "nol-plan",
@@ -78,10 +78,10 @@ export class PopoverTriggerDirective {
78
78
  return ![...pane.querySelectorAll(Resources.focusableSelector)]
79
79
  .some(t => t.tabIndex >= 0 && !t.matches(":disabled") && t.checkVisibility({ visibilityProperty: true }) && (focused.compareDocumentPosition(t) & toward) !== 0);
80
80
  }
81
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.5", ngImport: i0, type: PopoverTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
82
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.2.5", type: PopoverTriggerDirective, isStandalone: true, selector: "[nolPopoverTrigger]", inputs: { template: { classPropertyName: "template", publicName: "nolPopoverTrigger", isSignal: true, isRequired: true, transformFunction: null }, side: { classPropertyName: "side", publicName: "nolPopoverSide", isSignal: true, isRequired: false, transformFunction: null }, alignment: { classPropertyName: "alignment", publicName: "nolPopoverAlignment", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { opened: "opened" }, host: { attributes: { "aria-haspopup": "dialog" }, listeners: { "click": "toggle()" }, properties: { "attr.aria-expanded": "isOpen()" } }, exportAs: ["nolPopoverTrigger"], ngImport: i0 });
81
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: PopoverTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
82
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.2.6", type: PopoverTriggerDirective, isStandalone: true, selector: "[nolPopoverTrigger]", inputs: { template: { classPropertyName: "template", publicName: "nolPopoverTrigger", isSignal: true, isRequired: true, transformFunction: null }, side: { classPropertyName: "side", publicName: "nolPopoverSide", isSignal: true, isRequired: false, transformFunction: null }, alignment: { classPropertyName: "alignment", publicName: "nolPopoverAlignment", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { opened: "opened" }, host: { attributes: { "aria-haspopup": "dialog" }, listeners: { "click": "toggle()" }, properties: { "attr.aria-expanded": "isOpen()" } }, exportAs: ["nolPopoverTrigger"], ngImport: i0 });
83
83
  }
84
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.5", ngImport: i0, type: PopoverTriggerDirective, decorators: [{
84
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: PopoverTriggerDirective, decorators: [{
85
85
  type: Directive,
86
86
  args: [{
87
87
  selector: "[nolPopoverTrigger]",
@@ -10,10 +10,10 @@ import * as i0 from "@angular/core";
10
10
  export class PopoverDirective {
11
11
  label = input.required(/* @ts-ignore */
12
12
  ...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
13
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.5", ngImport: i0, type: PopoverDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
14
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.2.5", type: PopoverDirective, isStandalone: true, selector: "[nolPopover]", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null } }, host: { attributes: { "role": "dialog", "tabindex": "-1" }, properties: { "attr.aria-label": "label()" }, classAttribute: "nol-popover" }, ngImport: i0 });
13
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: PopoverDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
14
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.2.6", type: PopoverDirective, isStandalone: true, selector: "[nolPopover]", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null } }, host: { attributes: { "role": "dialog", "tabindex": "-1" }, properties: { "attr.aria-label": "label()" }, classAttribute: "nol-popover" }, ngImport: i0 });
15
15
  }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.5", ngImport: i0, type: PopoverDirective, decorators: [{
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: PopoverDirective, decorators: [{
17
17
  type: Directive,
18
18
  args: [{
19
19
  selector: "[nolPopover]",
@@ -24,10 +24,10 @@ export class ProgressComponent {
24
24
  ...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
25
25
  value = input(null, /* @ts-ignore */
26
26
  ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
27
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.5", ngImport: i0, type: ProgressComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
28
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.2.5", type: ProgressComponent, isStandalone: true, selector: "nol-progress", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "progressbar" }, properties: { "attr.aria-label": "label()", "attr.aria-valuemin": "minimum", "attr.aria-valuemax": "maximum", "attr.aria-valuenow": "fraction()", "class.nol-progress-indeterminate": "isIndeterminate()", "style.--nol-progress-fraction": "fraction()" } }, hostDirectives: [{ directive: i1.RevealDelayDirective, inputs: ["isDelayed", "isDelayed"] }], 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<span class=\"nol-progress-bar\"></span>\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 box-sizing: border-box;\n width: 100%;\n height: 2px;\n overflow: hidden;\n background: color-mix(in srgb, var(--nol-progress) 25%, transparent);\n\n @media (forced-colors: active) {\n outline: var(--nol-border-width) solid CanvasText;\n background: Canvas;\n forced-color-adjust: none;\n }\n}\n\n:host(.nol-reveal-pending) {\n visibility: hidden;\n}\n\n.nol-progress-bar {\n display: block;\n width: calc(var(--nol-progress-fraction) * 100%);\n height: 100%;\n background: var(--nol-progress);\n\n @media (forced-colors: active) {\n background: Highlight;\n forced-color-adjust: none;\n }\n}\n\n:host(.nol-progress-indeterminate) .nol-progress-bar {\n width: 40%;\n animation: nol-progress-slide 1.2s ease-in-out infinite;\n}\n\n@media (prefers-reduced-motion: reduce) {\n :host(.nol-progress-indeterminate) .nol-progress-bar {\n margin-inline-start: 30%;\n animation: none;\n }\n}\n\n@keyframes nol-progress-slide {\n from {\n transform: translateX(-100%);\n }\n\n to {\n transform: translateX(250%);\n }\n}\n"] });
27
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: ProgressComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
28
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.2.6", type: ProgressComponent, isStandalone: true, selector: "nol-progress", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "progressbar" }, properties: { "attr.aria-label": "label()", "attr.aria-valuemin": "minimum", "attr.aria-valuemax": "maximum", "attr.aria-valuenow": "fraction()", "class.nol-progress-indeterminate": "isIndeterminate()", "style.--nol-progress-fraction": "fraction()" } }, hostDirectives: [{ directive: i1.RevealDelayDirective, inputs: ["isDelayed", "isDelayed"] }], 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<span class=\"nol-progress-bar\"></span>\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 box-sizing: border-box;\n width: 100%;\n height: 2px;\n overflow: hidden;\n background: color-mix(in srgb, var(--nol-progress) 25%, transparent);\n\n @media (forced-colors: active) {\n outline: var(--nol-border-width) solid CanvasText;\n background: Canvas;\n forced-color-adjust: none;\n }\n}\n\n:host(.nol-reveal-pending) {\n visibility: hidden;\n}\n\n.nol-progress-bar {\n display: block;\n width: calc(var(--nol-progress-fraction) * 100%);\n height: 100%;\n background: var(--nol-progress);\n\n @media (forced-colors: active) {\n background: Highlight;\n forced-color-adjust: none;\n }\n}\n\n:host(.nol-progress-indeterminate) .nol-progress-bar {\n width: 40%;\n animation: nol-progress-slide 1.2s ease-in-out infinite;\n}\n\n@media (prefers-reduced-motion: reduce) {\n :host(.nol-progress-indeterminate) .nol-progress-bar {\n margin-inline-start: 30%;\n animation: none;\n }\n}\n\n@keyframes nol-progress-slide {\n from {\n transform: translateX(-100%);\n }\n\n to {\n transform: translateX(250%);\n }\n}\n"] });
29
29
  }
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.5", ngImport: i0, type: ProgressComponent, decorators: [{
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: ProgressComponent, decorators: [{
31
31
  type: Component,
32
32
  args: [{ selector: "nol-progress", hostDirectives: [{ directive: RevealDelayDirective, inputs: ["isDelayed"] }], host: {
33
33
  "role": "progressbar",
@@ -26,10 +26,10 @@ export class RevealDelayDirective {
26
26
  onCleanup(this.timeSource.after(() => this.pending.set(false), RevealDelayResources.revealDelay));
27
27
  });
28
28
  }
29
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.5", ngImport: i0, type: RevealDelayDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
30
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.2.5", type: RevealDelayDirective, isStandalone: true, inputs: { isDelayed: { classPropertyName: "isDelayed", publicName: "isDelayed", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.nol-reveal-pending": "isPending()" } }, ngImport: i0 });
29
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: RevealDelayDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
30
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.2.6", type: RevealDelayDirective, isStandalone: true, inputs: { isDelayed: { classPropertyName: "isDelayed", publicName: "isDelayed", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.nol-reveal-pending": "isPending()" } }, ngImport: i0 });
31
31
  }
32
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.5", ngImport: i0, type: RevealDelayDirective, decorators: [{
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: RevealDelayDirective, decorators: [{
33
33
  type: Directive,
34
34
  args: [{
35
35
  host: {