@copilotkitnext/angular 0.0.34-pr.fix-express-endpoint → 1.51.0-next.1

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 (42) hide show
  1. package/dist/esm2022/lib/agent.mjs +3 -3
  2. package/dist/esm2022/lib/chat-state.mjs +3 -3
  3. package/dist/esm2022/lib/components/chat/copilot-chat-assistant-message-buttons.mjs +18 -18
  4. package/dist/esm2022/lib/components/chat/copilot-chat-assistant-message-renderer.mjs +3 -3
  5. package/dist/esm2022/lib/components/chat/copilot-chat-assistant-message-toolbar.mjs +3 -3
  6. package/dist/esm2022/lib/components/chat/copilot-chat-assistant-message.mjs +6 -6
  7. package/dist/esm2022/lib/components/chat/copilot-chat-audio-recorder.mjs +3 -3
  8. package/dist/esm2022/lib/components/chat/copilot-chat-buttons.mjs +18 -18
  9. package/dist/esm2022/lib/components/chat/copilot-chat-input.mjs +3 -3
  10. package/dist/esm2022/lib/components/chat/copilot-chat-message-view-cursor.mjs +3 -3
  11. package/dist/esm2022/lib/components/chat/copilot-chat-message-view.mjs +3 -3
  12. package/dist/esm2022/lib/components/chat/copilot-chat-textarea.mjs +3 -3
  13. package/dist/esm2022/lib/components/chat/copilot-chat-tool-calls-view.mjs +3 -3
  14. package/dist/esm2022/lib/components/chat/copilot-chat-toolbar.mjs +3 -3
  15. package/dist/esm2022/lib/components/chat/copilot-chat-tools-menu.mjs +3 -3
  16. package/dist/esm2022/lib/components/chat/copilot-chat-user-message-branch-navigation.mjs +3 -3
  17. package/dist/esm2022/lib/components/chat/copilot-chat-user-message-buttons.mjs +9 -9
  18. package/dist/esm2022/lib/components/chat/copilot-chat-user-message-renderer.mjs +3 -3
  19. package/dist/esm2022/lib/components/chat/copilot-chat-user-message-toolbar.mjs +3 -3
  20. package/dist/esm2022/lib/components/chat/copilot-chat-user-message.mjs +3 -3
  21. package/dist/esm2022/lib/components/chat/copilot-chat-user-message.types.mjs +1 -1
  22. package/dist/esm2022/lib/components/chat/copilot-chat-view-disclaimer.mjs +3 -3
  23. package/dist/esm2022/lib/components/chat/copilot-chat-view-feather.mjs +3 -3
  24. package/dist/esm2022/lib/components/chat/copilot-chat-view-handlers.mjs +3 -3
  25. package/dist/esm2022/lib/components/chat/copilot-chat-view-input-container.mjs +3 -3
  26. package/dist/esm2022/lib/components/chat/copilot-chat-view-scroll-to-bottom-button.mjs +3 -3
  27. package/dist/esm2022/lib/components/chat/copilot-chat-view-scroll-view.mjs +3 -3
  28. package/dist/esm2022/lib/components/chat/copilot-chat-view.mjs +3 -3
  29. package/dist/esm2022/lib/components/chat/copilot-chat.mjs +3 -3
  30. package/dist/esm2022/lib/copilotkit.mjs +3 -3
  31. package/dist/esm2022/lib/directives/copilotkit-agent-context.mjs +3 -3
  32. package/dist/esm2022/lib/directives/stick-to-bottom.mjs +3 -3
  33. package/dist/esm2022/lib/directives/tooltip.mjs +6 -6
  34. package/dist/esm2022/lib/human-in-the-loop.mjs +3 -3
  35. package/dist/esm2022/lib/render-tool-calls.mjs +3 -3
  36. package/dist/esm2022/lib/resize-observer.mjs +3 -3
  37. package/dist/esm2022/lib/scroll-position.mjs +3 -3
  38. package/dist/esm2022/lib/slots/copilot-slot.mjs +3 -3
  39. package/dist/fesm2022/copilotkitnext-angular.mjs +152 -152
  40. package/dist/fesm2022/copilotkitnext-angular.mjs.map +1 -1
  41. package/dist/styles.css +21 -6
  42. package/package.json +13 -10
@@ -57,10 +57,10 @@ export class CopilotkitAgentFactory {
57
57
  return lastAgentStore;
58
58
  });
59
59
  }
60
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CopilotkitAgentFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
61
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CopilotkitAgentFactory, providedIn: "root" });
60
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotkitAgentFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
61
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotkitAgentFactory, providedIn: "root" });
62
62
  }
63
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CopilotkitAgentFactory, decorators: [{
63
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotkitAgentFactory, decorators: [{
64
64
  type: Injectable,
65
65
  args: [{ providedIn: "root" }]
66
66
  }] });
@@ -1,10 +1,10 @@
1
1
  import { inject, Injectable } from "@angular/core";
2
2
  import * as i0 from "@angular/core";
3
3
  export class ChatState {
4
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ChatState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ChatState });
4
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChatState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChatState });
6
6
  }
7
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ChatState, decorators: [{
7
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChatState, decorators: [{
8
8
  type: Injectable
9
9
  }] });
10
10
  export function injectChatState() {
@@ -37,10 +37,10 @@ export class CopilotChatAssistantMessageToolbarButton {
37
37
  // Ensure proper sizing
38
38
  "shrink-0", this.inputClass());
39
39
  });
40
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CopilotChatAssistantMessageToolbarButton, deps: [], target: i0.ɵɵFactoryTarget.Component });
41
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.13", type: CopilotChatAssistantMessageToolbarButton, isStandalone: true, selector: "button[copilotChatAssistantMessageToolbarButton]", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, inputClass: { classPropertyName: "inputClass", publicName: "inputClass", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "type": "button" }, properties: { "class": "computedClass()", "attr.disabled": "disabled() ? true : null", "attr.aria-label": "title()" } }, hostDirectives: [{ directive: i1.CopilotTooltip, inputs: ["copilotTooltip", "title", "tooltipPosition", "tooltipPosition", "tooltipDelay", "tooltipDelay"] }], ngImport: i0, template: ` <ng-content></ng-content> `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
40
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatAssistantMessageToolbarButton, deps: [], target: i0.ɵɵFactoryTarget.Component });
41
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.14", type: CopilotChatAssistantMessageToolbarButton, isStandalone: true, selector: "button[copilotChatAssistantMessageToolbarButton]", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, inputClass: { classPropertyName: "inputClass", publicName: "inputClass", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "type": "button" }, properties: { "class": "computedClass()", "attr.disabled": "disabled() ? true : null", "attr.aria-label": "title()" } }, hostDirectives: [{ directive: i1.CopilotTooltip, inputs: ["copilotTooltip", "title", "tooltipPosition", "tooltipPosition", "tooltipDelay", "tooltipDelay"] }], ngImport: i0, template: ` <ng-content></ng-content> `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
42
42
  }
43
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CopilotChatAssistantMessageToolbarButton, decorators: [{
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatAssistantMessageToolbarButton, decorators: [{
44
44
  type: Component,
45
45
  args: [{
46
46
  standalone: true,
@@ -87,8 +87,8 @@ export class CopilotChatAssistantMessageCopyButton {
87
87
  this.copied.set(false);
88
88
  });
89
89
  }
90
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CopilotChatAssistantMessageCopyButton, deps: [], target: i0.ɵɵFactoryTarget.Component });
91
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: CopilotChatAssistantMessageCopyButton, isStandalone: true, selector: "copilot-chat-assistant-message-copy-button", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, inputClass: { classPropertyName: "inputClass", publicName: "inputClass", isSignal: true, isRequired: false, transformFunction: null }, content: { classPropertyName: "content", publicName: "content", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { clicked: "clicked" }, ngImport: i0, template: `
90
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatAssistantMessageCopyButton, deps: [], target: i0.ɵɵFactoryTarget.Component });
91
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: CopilotChatAssistantMessageCopyButton, isStandalone: true, selector: "copilot-chat-assistant-message-copy-button", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, inputClass: { classPropertyName: "inputClass", publicName: "inputClass", isSignal: true, isRequired: false, transformFunction: null }, content: { classPropertyName: "content", publicName: "content", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { clicked: "clicked" }, ngImport: i0, template: `
92
92
  <button
93
93
  copilotChatAssistantMessageToolbarButton
94
94
  [title]="title() || labels.assistantMessageToolbarCopyMessageLabel"
@@ -104,7 +104,7 @@ export class CopilotChatAssistantMessageCopyButton {
104
104
  </button>
105
105
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: LucideAngularModule }, { kind: "component", type: i2.LucideAngularComponent, selector: "lucide-angular, lucide-icon, i-lucide, span-lucide", inputs: ["class", "name", "img", "color", "absoluteStrokeWidth", "size", "strokeWidth"] }, { kind: "component", type: CopilotChatAssistantMessageToolbarButton, selector: "button[copilotChatAssistantMessageToolbarButton]", inputs: ["title", "disabled", "inputClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
106
106
  }
107
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CopilotChatAssistantMessageCopyButton, decorators: [{
107
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatAssistantMessageCopyButton, decorators: [{
108
108
  type: Component,
109
109
  args: [{
110
110
  standalone: true,
@@ -147,8 +147,8 @@ export class CopilotChatAssistantMessageThumbsUpButton {
147
147
  this.clicked.emit();
148
148
  }
149
149
  }
150
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CopilotChatAssistantMessageThumbsUpButton, deps: [], target: i0.ɵɵFactoryTarget.Component });
151
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.13", type: CopilotChatAssistantMessageThumbsUpButton, isStandalone: true, selector: "copilot-chat-assistant-message-thumbs-up-button", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, inputClass: { classPropertyName: "inputClass", publicName: "inputClass", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { clicked: "clicked" }, ngImport: i0, template: `
150
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatAssistantMessageThumbsUpButton, deps: [], target: i0.ɵɵFactoryTarget.Component });
151
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.14", type: CopilotChatAssistantMessageThumbsUpButton, isStandalone: true, selector: "copilot-chat-assistant-message-thumbs-up-button", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, inputClass: { classPropertyName: "inputClass", publicName: "inputClass", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { clicked: "clicked" }, ngImport: i0, template: `
152
152
  <button
153
153
  copilotChatAssistantMessageToolbarButton
154
154
  [title]="title() || labels.assistantMessageToolbarThumbsUpLabel"
@@ -160,7 +160,7 @@ export class CopilotChatAssistantMessageThumbsUpButton {
160
160
  </button>
161
161
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: LucideAngularModule }, { kind: "component", type: i2.LucideAngularComponent, selector: "lucide-angular, lucide-icon, i-lucide, span-lucide", inputs: ["class", "name", "img", "color", "absoluteStrokeWidth", "size", "strokeWidth"] }, { kind: "component", type: CopilotChatAssistantMessageToolbarButton, selector: "button[copilotChatAssistantMessageToolbarButton]", inputs: ["title", "disabled", "inputClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
162
162
  }
163
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CopilotChatAssistantMessageThumbsUpButton, decorators: [{
163
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatAssistantMessageThumbsUpButton, decorators: [{
164
164
  type: Component,
165
165
  args: [{
166
166
  standalone: true,
@@ -199,8 +199,8 @@ export class CopilotChatAssistantMessageThumbsDownButton {
199
199
  this.clicked.emit();
200
200
  }
201
201
  }
202
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CopilotChatAssistantMessageThumbsDownButton, deps: [], target: i0.ɵɵFactoryTarget.Component });
203
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.13", type: CopilotChatAssistantMessageThumbsDownButton, isStandalone: true, selector: "copilot-chat-assistant-message-thumbs-down-button", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, inputClass: { classPropertyName: "inputClass", publicName: "inputClass", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { clicked: "clicked" }, ngImport: i0, template: `
202
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatAssistantMessageThumbsDownButton, deps: [], target: i0.ɵɵFactoryTarget.Component });
203
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.14", type: CopilotChatAssistantMessageThumbsDownButton, isStandalone: true, selector: "copilot-chat-assistant-message-thumbs-down-button", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, inputClass: { classPropertyName: "inputClass", publicName: "inputClass", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { clicked: "clicked" }, ngImport: i0, template: `
204
204
  <button
205
205
  copilotChatAssistantMessageToolbarButton
206
206
  [title]="title() || labels.assistantMessageToolbarThumbsDownLabel"
@@ -212,7 +212,7 @@ export class CopilotChatAssistantMessageThumbsDownButton {
212
212
  </button>
213
213
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: LucideAngularModule }, { kind: "component", type: i2.LucideAngularComponent, selector: "lucide-angular, lucide-icon, i-lucide, span-lucide", inputs: ["class", "name", "img", "color", "absoluteStrokeWidth", "size", "strokeWidth"] }, { kind: "component", type: CopilotChatAssistantMessageToolbarButton, selector: "button[copilotChatAssistantMessageToolbarButton]", inputs: ["title", "disabled", "inputClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
214
214
  }
215
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CopilotChatAssistantMessageThumbsDownButton, decorators: [{
215
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatAssistantMessageThumbsDownButton, decorators: [{
216
216
  type: Component,
217
217
  args: [{
218
218
  standalone: true,
@@ -251,8 +251,8 @@ export class CopilotChatAssistantMessageReadAloudButton {
251
251
  this.clicked.emit();
252
252
  }
253
253
  }
254
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CopilotChatAssistantMessageReadAloudButton, deps: [], target: i0.ɵɵFactoryTarget.Component });
255
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.13", type: CopilotChatAssistantMessageReadAloudButton, isStandalone: true, selector: "copilot-chat-assistant-message-read-aloud-button", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, inputClass: { classPropertyName: "inputClass", publicName: "inputClass", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { clicked: "clicked" }, ngImport: i0, template: `
254
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatAssistantMessageReadAloudButton, deps: [], target: i0.ɵɵFactoryTarget.Component });
255
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.14", type: CopilotChatAssistantMessageReadAloudButton, isStandalone: true, selector: "copilot-chat-assistant-message-read-aloud-button", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, inputClass: { classPropertyName: "inputClass", publicName: "inputClass", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { clicked: "clicked" }, ngImport: i0, template: `
256
256
  <button
257
257
  copilotChatAssistantMessageToolbarButton
258
258
  [title]="title() || labels.assistantMessageToolbarReadAloudLabel"
@@ -264,7 +264,7 @@ export class CopilotChatAssistantMessageReadAloudButton {
264
264
  </button>
265
265
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: LucideAngularModule }, { kind: "component", type: i2.LucideAngularComponent, selector: "lucide-angular, lucide-icon, i-lucide, span-lucide", inputs: ["class", "name", "img", "color", "absoluteStrokeWidth", "size", "strokeWidth"] }, { kind: "component", type: CopilotChatAssistantMessageToolbarButton, selector: "button[copilotChatAssistantMessageToolbarButton]", inputs: ["title", "disabled", "inputClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
266
266
  }
267
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CopilotChatAssistantMessageReadAloudButton, decorators: [{
267
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatAssistantMessageReadAloudButton, decorators: [{
268
268
  type: Component,
269
269
  args: [{
270
270
  standalone: true,
@@ -303,8 +303,8 @@ export class CopilotChatAssistantMessageRegenerateButton {
303
303
  this.clicked.emit();
304
304
  }
305
305
  }
306
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CopilotChatAssistantMessageRegenerateButton, deps: [], target: i0.ɵɵFactoryTarget.Component });
307
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.13", type: CopilotChatAssistantMessageRegenerateButton, isStandalone: true, selector: "copilot-chat-assistant-message-regenerate-button", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, inputClass: { classPropertyName: "inputClass", publicName: "inputClass", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { clicked: "clicked" }, ngImport: i0, template: `
306
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatAssistantMessageRegenerateButton, deps: [], target: i0.ɵɵFactoryTarget.Component });
307
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.14", type: CopilotChatAssistantMessageRegenerateButton, isStandalone: true, selector: "copilot-chat-assistant-message-regenerate-button", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, inputClass: { classPropertyName: "inputClass", publicName: "inputClass", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { clicked: "clicked" }, ngImport: i0, template: `
308
308
  <button
309
309
  copilotChatAssistantMessageToolbarButton
310
310
  [title]="title() || labels.assistantMessageToolbarRegenerateLabel"
@@ -316,7 +316,7 @@ export class CopilotChatAssistantMessageRegenerateButton {
316
316
  </button>
317
317
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: LucideAngularModule }, { kind: "component", type: i2.LucideAngularComponent, selector: "lucide-angular, lucide-icon, i-lucide, span-lucide", inputs: ["class", "name", "img", "color", "absoluteStrokeWidth", "size", "strokeWidth"] }, { kind: "component", type: CopilotChatAssistantMessageToolbarButton, selector: "button[copilotChatAssistantMessageToolbarButton]", inputs: ["title", "disabled", "inputClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
318
318
  }
319
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CopilotChatAssistantMessageRegenerateButton, decorators: [{
319
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatAssistantMessageRegenerateButton, decorators: [{
320
320
  type: Component,
321
321
  args: [{
322
322
  standalone: true,
@@ -235,8 +235,8 @@ export class CopilotChatAssistantMessageRenderer {
235
235
  div.textContent = text;
236
236
  return div.innerHTML;
237
237
  }
238
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CopilotChatAssistantMessageRenderer, deps: [], target: i0.ɵɵFactoryTarget.Component });
239
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.13", type: CopilotChatAssistantMessageRenderer, isStandalone: true, selector: "copilot-chat-assistant-message-renderer", inputs: { content: { classPropertyName: "content", publicName: "content", isSignal: true, isRequired: false, transformFunction: null }, inputClass: { classPropertyName: "inputClass", publicName: "inputClass", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "markdownContainer", first: true, predicate: ["markdownContainer"], descendants: true }], ngImport: i0, template: `
238
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatAssistantMessageRenderer, deps: [], target: i0.ɵɵFactoryTarget.Component });
239
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.14", type: CopilotChatAssistantMessageRenderer, isStandalone: true, selector: "copilot-chat-assistant-message-renderer", inputs: { content: { classPropertyName: "content", publicName: "content", isSignal: true, isRequired: false, transformFunction: null }, inputClass: { classPropertyName: "inputClass", publicName: "inputClass", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "markdownContainer", first: true, predicate: ["markdownContainer"], descendants: true }], ngImport: i0, template: `
240
240
  <div
241
241
  #markdownContainer
242
242
  [class]="inputClass()"
@@ -244,7 +244,7 @@ export class CopilotChatAssistantMessageRenderer {
244
244
  ></div>
245
245
  `, isInline: true, styles: ["copilot-chat-assistant-message-renderer{display:block;width:100%}copilot-chat-assistant-message-renderer code:not(pre code){padding:2.5px 4.8px;background-color:#ececec;border-radius:.25rem;font-size:.875rem;font-family:ui-monospace,SFMono-Regular,SF Mono,Consolas,Liberation Mono,Menlo,monospace;font-weight:500;color:#000}.dark copilot-chat-assistant-message-renderer code:not(pre code){background-color:#171717;color:#f8fafc}copilot-chat-assistant-message-renderer .code-block-container{position:relative;margin:.25rem 0;background-color:#f9f9f9;border-radius:1rem}.dark copilot-chat-assistant-message-renderer .code-block-container{background-color:#171717}copilot-chat-assistant-message-renderer .code-block-header{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem;font-size:.75rem;background-color:transparent}copilot-chat-assistant-message-renderer .code-block-language{font-weight:400;color:#737373}.dark copilot-chat-assistant-message-renderer .code-block-language{color:#fff}copilot-chat-assistant-message-renderer .code-block-copy-button{display:flex;align-items:center;gap:.125rem;padding:0 .5rem;font-size:.75rem;color:#737373;cursor:pointer;background:none;border:none;transition:opacity .2s}.dark copilot-chat-assistant-message-renderer .code-block-copy-button{color:#fff}copilot-chat-assistant-message-renderer .code-block-copy-button:hover{opacity:.8}copilot-chat-assistant-message-renderer .code-block-copy-button svg{width:10px;height:10px}copilot-chat-assistant-message-renderer .code-block-copy-button span{font-size:11px}copilot-chat-assistant-message-renderer pre{margin:0;padding:0 1rem 1rem;overflow-x:auto;background-color:transparent;border-radius:1rem}.dark copilot-chat-assistant-message-renderer pre{background-color:transparent}copilot-chat-assistant-message-renderer pre code{background-color:transparent;padding:0;font-size:.875rem;font-family:ui-monospace,SFMono-Regular,SF Mono,Consolas,Liberation Mono,Menlo,monospace}copilot-chat-assistant-message-renderer .hljs{background:transparent;color:#383a42}.dark copilot-chat-assistant-message-renderer .hljs{background:transparent;color:#abb2bf}copilot-chat-assistant-message-renderer .katex-display{overflow-x:auto;overflow-y:hidden;padding:1rem 0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: LucideAngularModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
246
246
  }
247
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CopilotChatAssistantMessageRenderer, decorators: [{
247
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatAssistantMessageRenderer, decorators: [{
248
248
  type: Component,
249
249
  args: [{ standalone: true, selector: "copilot-chat-assistant-message-renderer", imports: [CommonModule, LucideAngularModule], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: `
250
250
  <div
@@ -6,10 +6,10 @@ export class CopilotChatAssistantMessageToolbar {
6
6
  computedClass = computed(() => {
7
7
  return cn("w-full bg-transparent flex items-center -ml-[5px] -mt-[0px]", this.inputClass());
8
8
  });
9
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CopilotChatAssistantMessageToolbar, deps: [], target: i0.ɵɵFactoryTarget.Directive });
10
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.13", type: CopilotChatAssistantMessageToolbar, isStandalone: true, selector: "[copilotChatAssistantMessageToolbar]", inputs: { inputClass: { classPropertyName: "inputClass", publicName: "inputClass", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "computedClass()" } }, ngImport: i0 });
9
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatAssistantMessageToolbar, deps: [], target: i0.ɵɵFactoryTarget.Directive });
10
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.14", type: CopilotChatAssistantMessageToolbar, isStandalone: true, selector: "[copilotChatAssistantMessageToolbar]", inputs: { inputClass: { classPropertyName: "inputClass", publicName: "inputClass", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "computedClass()" } }, ngImport: i0 });
11
11
  }
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CopilotChatAssistantMessageToolbar, decorators: [{
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatAssistantMessageToolbar, decorators: [{
13
13
  type: Directive,
14
14
  args: [{
15
15
  standalone: true,