@copilotkitnext/angular 0.0.34-pr.fix-express-endpoint → 2.0.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.
- package/dist/esm2022/lib/agent.mjs +3 -3
- package/dist/esm2022/lib/chat-state.mjs +3 -3
- package/dist/esm2022/lib/components/chat/copilot-chat-assistant-message-buttons.mjs +18 -18
- package/dist/esm2022/lib/components/chat/copilot-chat-assistant-message-renderer.mjs +3 -3
- package/dist/esm2022/lib/components/chat/copilot-chat-assistant-message-toolbar.mjs +3 -3
- package/dist/esm2022/lib/components/chat/copilot-chat-assistant-message.mjs +6 -6
- package/dist/esm2022/lib/components/chat/copilot-chat-audio-recorder.mjs +3 -3
- package/dist/esm2022/lib/components/chat/copilot-chat-buttons.mjs +18 -18
- package/dist/esm2022/lib/components/chat/copilot-chat-input.mjs +3 -3
- package/dist/esm2022/lib/components/chat/copilot-chat-message-view-cursor.mjs +3 -3
- package/dist/esm2022/lib/components/chat/copilot-chat-message-view.mjs +3 -3
- package/dist/esm2022/lib/components/chat/copilot-chat-textarea.mjs +3 -3
- package/dist/esm2022/lib/components/chat/copilot-chat-tool-calls-view.mjs +3 -3
- package/dist/esm2022/lib/components/chat/copilot-chat-toolbar.mjs +3 -3
- package/dist/esm2022/lib/components/chat/copilot-chat-tools-menu.mjs +3 -3
- package/dist/esm2022/lib/components/chat/copilot-chat-user-message-branch-navigation.mjs +3 -3
- package/dist/esm2022/lib/components/chat/copilot-chat-user-message-buttons.mjs +9 -9
- package/dist/esm2022/lib/components/chat/copilot-chat-user-message-renderer.mjs +3 -3
- package/dist/esm2022/lib/components/chat/copilot-chat-user-message-toolbar.mjs +3 -3
- package/dist/esm2022/lib/components/chat/copilot-chat-user-message.mjs +3 -3
- package/dist/esm2022/lib/components/chat/copilot-chat-user-message.types.mjs +1 -1
- package/dist/esm2022/lib/components/chat/copilot-chat-view-disclaimer.mjs +3 -3
- package/dist/esm2022/lib/components/chat/copilot-chat-view-feather.mjs +3 -3
- package/dist/esm2022/lib/components/chat/copilot-chat-view-handlers.mjs +3 -3
- package/dist/esm2022/lib/components/chat/copilot-chat-view-input-container.mjs +3 -3
- package/dist/esm2022/lib/components/chat/copilot-chat-view-scroll-to-bottom-button.mjs +3 -3
- package/dist/esm2022/lib/components/chat/copilot-chat-view-scroll-view.mjs +3 -3
- package/dist/esm2022/lib/components/chat/copilot-chat-view.mjs +3 -3
- package/dist/esm2022/lib/components/chat/copilot-chat.mjs +3 -3
- package/dist/esm2022/lib/copilotkit.mjs +3 -3
- package/dist/esm2022/lib/directives/copilotkit-agent-context.mjs +3 -3
- package/dist/esm2022/lib/directives/stick-to-bottom.mjs +3 -3
- package/dist/esm2022/lib/directives/tooltip.mjs +6 -6
- package/dist/esm2022/lib/human-in-the-loop.mjs +3 -3
- package/dist/esm2022/lib/render-tool-calls.mjs +3 -3
- package/dist/esm2022/lib/resize-observer.mjs +3 -3
- package/dist/esm2022/lib/scroll-position.mjs +3 -3
- package/dist/esm2022/lib/slots/copilot-slot.mjs +3 -3
- package/dist/fesm2022/copilotkitnext-angular.mjs +152 -152
- package/dist/fesm2022/copilotkitnext-angular.mjs.map +1 -1
- package/dist/styles.css +21 -6
- package/package.json +13 -10
|
@@ -165,8 +165,8 @@ export class CopilotChatAudioRecorder {
|
|
|
165
165
|
}
|
|
166
166
|
return samples;
|
|
167
167
|
}
|
|
168
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
169
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.
|
|
168
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatAudioRecorder, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
169
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.14", type: CopilotChatAudioRecorder, isStandalone: true, selector: "copilot-chat-audio-recorder", inputs: { inputClass: { classPropertyName: "inputClass", publicName: "inputClass", isSignal: true, isRequired: false, transformFunction: null }, inputShowControls: { classPropertyName: "inputShowControls", publicName: "inputShowControls", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { stateChange: "stateChange", error: "error" }, host: { properties: { "class.copilot-chat-audio-recorder": "true" } }, viewQueries: [{ propertyName: "canvasRef", first: true, predicate: ["canvasRef"], descendants: true, static: true }], ngImport: i0, template: `
|
|
170
170
|
<div [class]="computedClass()">
|
|
171
171
|
<canvas
|
|
172
172
|
#canvasRef
|
|
@@ -176,7 +176,7 @@ export class CopilotChatAudioRecorder {
|
|
|
176
176
|
</div>
|
|
177
177
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
178
178
|
}
|
|
179
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
179
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatAudioRecorder, decorators: [{
|
|
180
180
|
type: Component,
|
|
181
181
|
args: [{ selector: "copilot-chat-audio-recorder", standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: `
|
|
182
182
|
<div [class]="computedClass()">
|
|
@@ -48,8 +48,8 @@ export class CopilotChatSendButton {
|
|
|
48
48
|
this.clicked.emit();
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
52
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.
|
|
51
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatSendButton, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
52
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.14", type: CopilotChatSendButton, isStandalone: true, selector: "copilot-chat-send-button", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { clicked: "clicked" }, ngImport: i0, template: `
|
|
53
53
|
<div class="mr-[10px]">
|
|
54
54
|
<button
|
|
55
55
|
type="button"
|
|
@@ -62,7 +62,7 @@ export class CopilotChatSendButton {
|
|
|
62
62
|
</div>
|
|
63
63
|
`, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: LucideAngularModule }, { kind: "component", type: i1.LucideAngularComponent, selector: "lucide-angular, lucide-icon, i-lucide, span-lucide", inputs: ["class", "name", "img", "color", "absoluteStrokeWidth", "size", "strokeWidth"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
64
64
|
}
|
|
65
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
65
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatSendButton, decorators: [{
|
|
66
66
|
type: Component,
|
|
67
67
|
args: [{ standalone: true, selector: "copilot-chat-send-button", imports: [CommonModule, LucideAngularModule], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: `
|
|
68
68
|
<div class="mr-[10px]">
|
|
@@ -91,8 +91,8 @@ export class CopilotChatStartTranscribeButton {
|
|
|
91
91
|
this.clicked.emit();
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
95
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.
|
|
94
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatStartTranscribeButton, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
95
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.14", type: CopilotChatStartTranscribeButton, isStandalone: true, selector: "copilot-chat-start-transcribe-button", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { clicked: "clicked" }, ngImport: i0, template: `
|
|
96
96
|
<button
|
|
97
97
|
type="button"
|
|
98
98
|
[disabled]="disabled()"
|
|
@@ -105,7 +105,7 @@ export class CopilotChatStartTranscribeButton {
|
|
|
105
105
|
</button>
|
|
106
106
|
`, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: LucideAngularModule }, { kind: "component", type: i1.LucideAngularComponent, selector: "lucide-angular, lucide-icon, i-lucide, span-lucide", inputs: ["class", "name", "img", "color", "absoluteStrokeWidth", "size", "strokeWidth"] }, { kind: "directive", type: CopilotTooltip, selector: "[copilotTooltip]", inputs: ["copilotTooltip", "tooltipPosition", "tooltipDelay"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
107
107
|
}
|
|
108
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
108
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatStartTranscribeButton, decorators: [{
|
|
109
109
|
type: Component,
|
|
110
110
|
args: [{ standalone: true, selector: "copilot-chat-start-transcribe-button", imports: [CommonModule, LucideAngularModule, CopilotTooltip], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: `
|
|
111
111
|
<button
|
|
@@ -134,8 +134,8 @@ export class CopilotChatCancelTranscribeButton {
|
|
|
134
134
|
this.clicked.emit();
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
138
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.
|
|
137
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatCancelTranscribeButton, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
138
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.14", type: CopilotChatCancelTranscribeButton, isStandalone: true, selector: "copilot-chat-cancel-transcribe-button", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { clicked: "clicked" }, ngImport: i0, template: `
|
|
139
139
|
<button
|
|
140
140
|
type="button"
|
|
141
141
|
[disabled]="disabled()"
|
|
@@ -148,7 +148,7 @@ export class CopilotChatCancelTranscribeButton {
|
|
|
148
148
|
</button>
|
|
149
149
|
`, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: LucideAngularModule }, { kind: "component", type: i1.LucideAngularComponent, selector: "lucide-angular, lucide-icon, i-lucide, span-lucide", inputs: ["class", "name", "img", "color", "absoluteStrokeWidth", "size", "strokeWidth"] }, { kind: "directive", type: CopilotTooltip, selector: "[copilotTooltip]", inputs: ["copilotTooltip", "tooltipPosition", "tooltipDelay"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
150
150
|
}
|
|
151
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
151
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatCancelTranscribeButton, decorators: [{
|
|
152
152
|
type: Component,
|
|
153
153
|
args: [{ standalone: true, selector: "copilot-chat-cancel-transcribe-button", imports: [CommonModule, LucideAngularModule, CopilotTooltip], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: `
|
|
154
154
|
<button
|
|
@@ -177,8 +177,8 @@ export class CopilotChatFinishTranscribeButton {
|
|
|
177
177
|
this.clicked.emit();
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
181
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.
|
|
180
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatFinishTranscribeButton, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
181
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.14", type: CopilotChatFinishTranscribeButton, isStandalone: true, selector: "copilot-chat-finish-transcribe-button", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { clicked: "clicked" }, ngImport: i0, template: `
|
|
182
182
|
<button
|
|
183
183
|
type="button"
|
|
184
184
|
[disabled]="disabled()"
|
|
@@ -191,7 +191,7 @@ export class CopilotChatFinishTranscribeButton {
|
|
|
191
191
|
</button>
|
|
192
192
|
`, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: LucideAngularModule }, { kind: "component", type: i1.LucideAngularComponent, selector: "lucide-angular, lucide-icon, i-lucide, span-lucide", inputs: ["class", "name", "img", "color", "absoluteStrokeWidth", "size", "strokeWidth"] }, { kind: "directive", type: CopilotTooltip, selector: "[copilotTooltip]", inputs: ["copilotTooltip", "tooltipPosition", "tooltipDelay"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
193
193
|
}
|
|
194
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
194
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatFinishTranscribeButton, decorators: [{
|
|
195
195
|
type: Component,
|
|
196
196
|
args: [{ standalone: true, selector: "copilot-chat-finish-transcribe-button", imports: [CommonModule, LucideAngularModule, CopilotTooltip], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: `
|
|
197
197
|
<button
|
|
@@ -220,8 +220,8 @@ export class CopilotChatAddFileButton {
|
|
|
220
220
|
this.clicked.emit();
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
224
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.
|
|
223
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatAddFileButton, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
224
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.14", type: CopilotChatAddFileButton, isStandalone: true, selector: "copilot-chat-add-file-button", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { clicked: "clicked" }, ngImport: i0, template: `
|
|
225
225
|
<button
|
|
226
226
|
type="button"
|
|
227
227
|
[disabled]="disabled()"
|
|
@@ -234,7 +234,7 @@ export class CopilotChatAddFileButton {
|
|
|
234
234
|
</button>
|
|
235
235
|
`, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: LucideAngularModule }, { kind: "component", type: i1.LucideAngularComponent, selector: "lucide-angular, lucide-icon, i-lucide, span-lucide", inputs: ["class", "name", "img", "color", "absoluteStrokeWidth", "size", "strokeWidth"] }, { kind: "directive", type: CopilotTooltip, selector: "[copilotTooltip]", inputs: ["copilotTooltip", "tooltipPosition", "tooltipDelay"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
236
236
|
}
|
|
237
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
237
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatAddFileButton, decorators: [{
|
|
238
238
|
type: Component,
|
|
239
239
|
args: [{ standalone: true, selector: "copilot-chat-add-file-button", imports: [CommonModule, LucideAngularModule, CopilotTooltip], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: `
|
|
240
240
|
<button
|
|
@@ -267,8 +267,8 @@ export class CopilotChatToolbarButton {
|
|
|
267
267
|
this.clicked.emit();
|
|
268
268
|
}
|
|
269
269
|
}
|
|
270
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
271
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.
|
|
270
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatToolbarButton, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
271
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: CopilotChatToolbarButton, isStandalone: true, selector: "copilot-chat-toolbar-button", outputs: { clicked: "clicked" }, ngImport: i0, template: `
|
|
272
272
|
<button
|
|
273
273
|
type="button"
|
|
274
274
|
[disabled]="disabled()"
|
|
@@ -281,7 +281,7 @@ export class CopilotChatToolbarButton {
|
|
|
281
281
|
</button>
|
|
282
282
|
`, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: CopilotTooltip, selector: "[copilotTooltip]", inputs: ["copilotTooltip", "tooltipPosition", "tooltipDelay"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
283
283
|
}
|
|
284
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
284
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatToolbarButton, decorators: [{
|
|
285
285
|
type: Component,
|
|
286
286
|
args: [{ standalone: true, selector: "copilot-chat-toolbar-button", imports: [CommonModule, CopilotTooltip], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: `
|
|
287
287
|
<button
|
|
@@ -223,8 +223,8 @@ export class CopilotChatInput {
|
|
|
223
223
|
handleAddFile() {
|
|
224
224
|
this.addFile.emit();
|
|
225
225
|
}
|
|
226
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
227
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.
|
|
226
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatInput, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
227
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: CopilotChatInput, isStandalone: true, selector: "copilot-chat-input", inputs: { sendButtonClass: { classPropertyName: "sendButtonClass", publicName: "sendButtonClass", isSignal: true, isRequired: false, transformFunction: null }, toolbarClass: { classPropertyName: "toolbarClass", publicName: "toolbarClass", isSignal: true, isRequired: false, transformFunction: null }, textAreaClass: { classPropertyName: "textAreaClass", publicName: "textAreaClass", isSignal: true, isRequired: false, transformFunction: null }, textAreaMaxRows: { classPropertyName: "textAreaMaxRows", publicName: "textAreaMaxRows", isSignal: true, isRequired: false, transformFunction: null }, textAreaPlaceholder: { classPropertyName: "textAreaPlaceholder", publicName: "textAreaPlaceholder", isSignal: true, isRequired: false, transformFunction: null }, audioRecorderClass: { classPropertyName: "audioRecorderClass", publicName: "audioRecorderClass", isSignal: true, isRequired: false, transformFunction: null }, startTranscribeButtonClass: { classPropertyName: "startTranscribeButtonClass", publicName: "startTranscribeButtonClass", isSignal: true, isRequired: false, transformFunction: null }, cancelTranscribeButtonClass: { classPropertyName: "cancelTranscribeButtonClass", publicName: "cancelTranscribeButtonClass", isSignal: true, isRequired: false, transformFunction: null }, finishTranscribeButtonClass: { classPropertyName: "finishTranscribeButtonClass", publicName: "finishTranscribeButtonClass", isSignal: true, isRequired: false, transformFunction: null }, addFileButtonClass: { classPropertyName: "addFileButtonClass", publicName: "addFileButtonClass", isSignal: true, isRequired: false, transformFunction: null }, toolsButtonClass: { classPropertyName: "toolsButtonClass", publicName: "toolsButtonClass", isSignal: true, isRequired: false, transformFunction: null }, sendButtonComponent: { classPropertyName: "sendButtonComponent", publicName: "sendButtonComponent", isSignal: true, isRequired: false, transformFunction: null }, toolbarComponent: { classPropertyName: "toolbarComponent", publicName: "toolbarComponent", isSignal: true, isRequired: false, transformFunction: null }, textAreaComponent: { classPropertyName: "textAreaComponent", publicName: "textAreaComponent", isSignal: true, isRequired: false, transformFunction: null }, audioRecorderComponent: { classPropertyName: "audioRecorderComponent", publicName: "audioRecorderComponent", isSignal: true, isRequired: false, transformFunction: null }, startTranscribeButtonComponent: { classPropertyName: "startTranscribeButtonComponent", publicName: "startTranscribeButtonComponent", isSignal: true, isRequired: false, transformFunction: null }, cancelTranscribeButtonComponent: { classPropertyName: "cancelTranscribeButtonComponent", publicName: "cancelTranscribeButtonComponent", isSignal: true, isRequired: false, transformFunction: null }, finishTranscribeButtonComponent: { classPropertyName: "finishTranscribeButtonComponent", publicName: "finishTranscribeButtonComponent", isSignal: true, isRequired: false, transformFunction: null }, addFileButtonComponent: { classPropertyName: "addFileButtonComponent", publicName: "addFileButtonComponent", isSignal: true, isRequired: false, transformFunction: null }, toolsButtonComponent: { classPropertyName: "toolsButtonComponent", publicName: "toolsButtonComponent", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, toolsMenu: { classPropertyName: "toolsMenu", publicName: "toolsMenu", isSignal: true, isRequired: false, transformFunction: null }, autoFocus: { classPropertyName: "autoFocus", publicName: "autoFocus", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, inputClass: { classPropertyName: "inputClass", publicName: "inputClass", isSignal: true, isRequired: false, transformFunction: null }, additionalToolbarItems: { classPropertyName: "additionalToolbarItems", publicName: "additionalToolbarItems", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { submitMessage: "submitMessage", startTranscribe: "startTranscribe", cancelTranscribe: "cancelTranscribe", finishTranscribe: "finishTranscribe", addFile: "addFile", valueChange: "valueChange" }, queries: [{ propertyName: "sendButtonTemplate", first: true, predicate: ["sendButton"], descendants: true, read: TemplateRef }, { propertyName: "toolbarTemplate", first: true, predicate: ["toolbar"], descendants: true, read: TemplateRef }, { propertyName: "textAreaTemplate", first: true, predicate: ["textArea"], descendants: true, read: TemplateRef }, { propertyName: "audioRecorderTemplate", first: true, predicate: ["audioRecorder"], descendants: true, read: TemplateRef }, { propertyName: "startTranscribeButtonTemplate", first: true, predicate: ["startTranscribeButton"], descendants: true, read: TemplateRef }, { propertyName: "cancelTranscribeButtonTemplate", first: true, predicate: ["cancelTranscribeButton"], descendants: true, read: TemplateRef }, { propertyName: "finishTranscribeButtonTemplate", first: true, predicate: ["finishTranscribeButton"], descendants: true, read: TemplateRef }, { propertyName: "addFileButtonTemplate", first: true, predicate: ["addFileButton"], descendants: true, read: TemplateRef }, { propertyName: "toolsButtonTemplate", first: true, predicate: ["toolsButton"], descendants: true, read: TemplateRef }], viewQueries: [{ propertyName: "textAreaRef", first: true, predicate: CopilotChatTextarea, descendants: true, read: CopilotChatTextarea }, { propertyName: "audioRecorderRef", first: true, predicate: CopilotChatAudioRecorder, descendants: true }], ngImport: i0, template: `
|
|
228
228
|
<div [class]="computedClass()">
|
|
229
229
|
<!-- Main input area: either textarea or audio recorder -->
|
|
230
230
|
@if (computedMode() === "transcribe") {
|
|
@@ -404,7 +404,7 @@ export class CopilotChatInput {
|
|
|
404
404
|
</div>
|
|
405
405
|
`, isInline: true, styles: [":host{display:block;width:100%}.shadow-\\[0_4px_4px_0_\\#0000000a\\,_0_0_1px_0_\\#0000009e\\]{box-shadow:0 4px 4px #0000000a,0 0 1px #0000009e!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: CopilotSlot, selector: "copilot-slot", inputs: ["slot", "context", "defaultComponent", "outputs"] }, { 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: CopilotChatTextarea, selector: "textarea[copilotChatTextarea]", inputs: ["inputValue", "inputPlaceholder", "inputMaxRows", "inputAutoFocus", "inputDisabled", "inputClass"], outputs: ["valueChange", "keyDown"] }, { kind: "component", type: CopilotChatAudioRecorder, selector: "copilot-chat-audio-recorder", inputs: ["inputClass", "inputShowControls"], outputs: ["stateChange", "error"] }, { kind: "component", type: CopilotChatStartTranscribeButton, selector: "copilot-chat-start-transcribe-button", inputs: ["disabled"], outputs: ["clicked"] }, { kind: "component", type: CopilotChatCancelTranscribeButton, selector: "copilot-chat-cancel-transcribe-button", inputs: ["disabled"], outputs: ["clicked"] }, { kind: "component", type: CopilotChatFinishTranscribeButton, selector: "copilot-chat-finish-transcribe-button", inputs: ["disabled"], outputs: ["clicked"] }, { kind: "component", type: CopilotChatAddFileButton, selector: "copilot-chat-add-file-button", inputs: ["disabled"], outputs: ["clicked"] }, { kind: "component", type: CopilotChatToolbar, selector: "div[copilotChatToolbar]", inputs: ["inputClass"] }, { kind: "component", type: CopilotChatToolsMenu, selector: "copilot-chat-tools-menu", inputs: ["inputToolsMenu", "inputDisabled", "inputClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
406
406
|
}
|
|
407
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
407
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatInput, decorators: [{
|
|
408
408
|
type: Component,
|
|
409
409
|
args: [{ standalone: true, selector: "copilot-chat-input", imports: [
|
|
410
410
|
CommonModule,
|
|
@@ -10,10 +10,10 @@ export class CopilotChatMessageViewCursor {
|
|
|
10
10
|
inputClass = input();
|
|
11
11
|
// Computed class that matches React exactly: w-[11px] h-[11px] rounded-full bg-foreground animate-pulse-cursor ml-1
|
|
12
12
|
computedClass = computed(() => cn("w-[11px] h-[11px] rounded-full bg-foreground animate-pulse-cursor ml-1", this.inputClass()));
|
|
13
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
14
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.
|
|
13
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatMessageViewCursor, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
14
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.14", type: CopilotChatMessageViewCursor, isStandalone: true, selector: "copilot-chat-message-view-cursor", inputs: { inputClass: { classPropertyName: "inputClass", publicName: "inputClass", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: ` <div [class]="computedClass()"></div> `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
15
15
|
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatMessageViewCursor, decorators: [{
|
|
17
17
|
type: Component,
|
|
18
18
|
args: [{
|
|
19
19
|
selector: "copilot-chat-message-view-cursor",
|
|
@@ -94,8 +94,8 @@ export class CopilotChatMessageView {
|
|
|
94
94
|
handleAssistantRegenerate(event) {
|
|
95
95
|
this.assistantMessageRegenerate.emit(event);
|
|
96
96
|
}
|
|
97
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
98
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.
|
|
97
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatMessageView, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
98
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: CopilotChatMessageView, isStandalone: true, selector: "copilot-chat-message-view", inputs: { messages: { classPropertyName: "messages", publicName: "messages", isSignal: true, isRequired: false, transformFunction: null }, showCursor: { classPropertyName: "showCursor", publicName: "showCursor", isSignal: true, isRequired: false, transformFunction: null }, isLoading: { classPropertyName: "isLoading", publicName: "isLoading", isSignal: true, isRequired: false, transformFunction: null }, inputClass: { classPropertyName: "inputClass", publicName: "inputClass", isSignal: true, isRequired: false, transformFunction: null }, assistantMessageComponent: { classPropertyName: "assistantMessageComponent", publicName: "assistantMessageComponent", isSignal: true, isRequired: false, transformFunction: null }, assistantMessageTemplate: { classPropertyName: "assistantMessageTemplate", publicName: "assistantMessageTemplate", isSignal: true, isRequired: false, transformFunction: null }, assistantMessageClass: { classPropertyName: "assistantMessageClass", publicName: "assistantMessageClass", isSignal: true, isRequired: false, transformFunction: null }, userMessageComponent: { classPropertyName: "userMessageComponent", publicName: "userMessageComponent", isSignal: true, isRequired: false, transformFunction: null }, userMessageTemplate: { classPropertyName: "userMessageTemplate", publicName: "userMessageTemplate", isSignal: true, isRequired: false, transformFunction: null }, userMessageClass: { classPropertyName: "userMessageClass", publicName: "userMessageClass", isSignal: true, isRequired: false, transformFunction: null }, cursorComponent: { classPropertyName: "cursorComponent", publicName: "cursorComponent", isSignal: true, isRequired: false, transformFunction: null }, cursorTemplate: { classPropertyName: "cursorTemplate", publicName: "cursorTemplate", isSignal: true, isRequired: false, transformFunction: null }, cursorClass: { classPropertyName: "cursorClass", publicName: "cursorClass", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { assistantMessageThumbsUp: "assistantMessageThumbsUp", assistantMessageThumbsDown: "assistantMessageThumbsDown", assistantMessageReadAloud: "assistantMessageReadAloud", assistantMessageRegenerate: "assistantMessageRegenerate", userMessageCopy: "userMessageCopy", userMessageEdit: "userMessageEdit" }, queries: [{ propertyName: "customLayoutTemplate", first: true, predicate: ["customLayout"], descendants: true }], ngImport: i0, template: `
|
|
99
99
|
<!-- Custom layout template support (render prop pattern) -->
|
|
100
100
|
@if (customLayoutTemplate) {
|
|
101
101
|
<ng-container
|
|
@@ -171,7 +171,7 @@ export class CopilotChatMessageView {
|
|
|
171
171
|
}
|
|
172
172
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: CopilotSlot, selector: "copilot-slot", inputs: ["slot", "context", "defaultComponent", "outputs"] }, { kind: "component", type: CopilotChatAssistantMessage, selector: "copilot-chat-assistant-message", inputs: ["markdownRendererClass", "toolbarClass", "copyButtonClass", "thumbsUpButtonClass", "thumbsDownButtonClass", "readAloudButtonClass", "regenerateButtonClass", "toolCallsViewClass", "markdownRendererComponent", "toolbarComponent", "copyButtonComponent", "thumbsUpButtonComponent", "thumbsDownButtonComponent", "readAloudButtonComponent", "regenerateButtonComponent", "toolCallsViewComponent", "message", "messages", "isLoading", "additionalToolbarItems", "toolbarVisible", "inputClass"], outputs: ["thumbsUp", "thumbsDown", "readAloud", "regenerate"] }, { kind: "component", type: CopilotChatUserMessage, selector: "copilot-chat-user-message", inputs: ["messageRendererClass", "toolbarClass", "copyButtonClass", "editButtonClass", "branchNavigationClass", "messageRendererComponent", "toolbarComponent", "copyButtonComponent", "editButtonComponent", "branchNavigationComponent", "message", "branchIndex", "numberOfBranches", "additionalToolbarItems", "inputClass"], outputs: ["editMessage", "switchToBranch"] }, { kind: "component", type: CopilotChatMessageViewCursor, selector: "copilot-chat-message-view-cursor", inputs: ["inputClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
173
173
|
}
|
|
174
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
174
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatMessageView, decorators: [{
|
|
175
175
|
type: Component,
|
|
176
176
|
args: [{
|
|
177
177
|
selector: "copilot-chat-message-view",
|
|
@@ -118,10 +118,10 @@ export class CopilotChatTextarea {
|
|
|
118
118
|
this.chatState.changeInput(value);
|
|
119
119
|
setTimeout(() => this.adjustHeight());
|
|
120
120
|
}
|
|
121
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
122
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.
|
|
121
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatTextarea, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
122
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.14", type: CopilotChatTextarea, isStandalone: true, selector: "textarea[copilotChatTextarea]", inputs: { inputValue: { classPropertyName: "inputValue", publicName: "inputValue", isSignal: true, isRequired: false, transformFunction: null }, inputPlaceholder: { classPropertyName: "inputPlaceholder", publicName: "inputPlaceholder", isSignal: true, isRequired: false, transformFunction: null }, inputMaxRows: { classPropertyName: "inputMaxRows", publicName: "inputMaxRows", isSignal: true, isRequired: false, transformFunction: null }, inputAutoFocus: { classPropertyName: "inputAutoFocus", publicName: "inputAutoFocus", isSignal: true, isRequired: false, transformFunction: null }, inputDisabled: { classPropertyName: "inputDisabled", publicName: "inputDisabled", isSignal: true, isRequired: false, transformFunction: null }, inputClass: { classPropertyName: "inputClass", publicName: "inputClass", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { valueChange: "valueChange", keyDown: "keyDown" }, host: { listeners: { "input": "onInput($event)", "keydown": "onKeyDown($event)" }, properties: { "value": "computedValue()", "placeholder": "placeholder()", "disabled": "disabled()", "class": "computedClass()", "style.max-height.px": "maxHeight()", "style.overflow": "'auto'", "style.resize": "'none'", "attr.rows": "1" } }, ngImport: i0, template: "", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
123
123
|
}
|
|
124
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
124
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatTextarea, decorators: [{
|
|
125
125
|
type: Component,
|
|
126
126
|
args: [{ selector: "textarea[copilotChatTextarea]", standalone: true, imports: [], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
127
127
|
"[value]": "computedValue()",
|
|
@@ -6,8 +6,8 @@ export class CopilotChatToolCallsView {
|
|
|
6
6
|
message = input.required();
|
|
7
7
|
messages = input.required();
|
|
8
8
|
isLoading = input(false);
|
|
9
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
10
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.
|
|
9
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatToolCallsView, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.14", type: CopilotChatToolCallsView, isStandalone: true, selector: "copilot-chat-tool-calls-view", inputs: { message: { classPropertyName: "message", publicName: "message", isSignal: true, isRequired: true, transformFunction: null }, messages: { classPropertyName: "messages", publicName: "messages", isSignal: true, isRequired: true, transformFunction: null }, isLoading: { classPropertyName: "isLoading", publicName: "isLoading", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
11
11
|
<copilot-render-tool-calls
|
|
12
12
|
[message]="message()"
|
|
13
13
|
[messages]="messages()"
|
|
@@ -16,7 +16,7 @@ export class CopilotChatToolCallsView {
|
|
|
16
16
|
</copilot-render-tool-calls>
|
|
17
17
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: RenderToolCalls, selector: "copilot-render-tool-calls", inputs: ["message", "messages", "isLoading"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
18
18
|
}
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatToolCallsView, decorators: [{
|
|
20
20
|
type: Component,
|
|
21
21
|
args: [{
|
|
22
22
|
standalone: true,
|
|
@@ -8,10 +8,10 @@ export class CopilotChatToolbar {
|
|
|
8
8
|
const baseClasses = "w-full h-[60px] bg-transparent flex items-center justify-between";
|
|
9
9
|
return cn(baseClasses, this.inputClass());
|
|
10
10
|
});
|
|
11
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
12
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.
|
|
11
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatToolbar, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
12
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.14", type: CopilotChatToolbar, isStandalone: true, selector: "div[copilotChatToolbar]", inputs: { inputClass: { classPropertyName: "inputClass", publicName: "inputClass", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "computedClass()" } }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
13
13
|
}
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatToolbar, decorators: [{
|
|
15
15
|
type: Component,
|
|
16
16
|
args: [{ selector: "div[copilotChatToolbar]", standalone: true, imports: [CommonModule], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
17
17
|
"[class]": "computedClass()",
|
|
@@ -39,8 +39,8 @@ export class CopilotChatToolsMenu {
|
|
|
39
39
|
item.action();
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
43
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.
|
|
42
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatToolsMenu, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
43
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: CopilotChatToolsMenu, isStandalone: true, selector: "copilot-chat-tools-menu", inputs: { inputToolsMenu: { classPropertyName: "inputToolsMenu", publicName: "inputToolsMenu", isSignal: true, isRequired: false, transformFunction: null }, inputDisabled: { classPropertyName: "inputDisabled", publicName: "inputDisabled", isSignal: true, isRequired: false, transformFunction: null }, inputClass: { classPropertyName: "inputClass", publicName: "inputClass", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
44
44
|
@if (hasItems()) {
|
|
45
45
|
<button
|
|
46
46
|
type="button"
|
|
@@ -119,7 +119,7 @@ export class CopilotChatToolsMenu {
|
|
|
119
119
|
}
|
|
120
120
|
`, isInline: true, styles: [".cdk-overlay-pane{position:absolute;pointer-events:auto;z-index:1000}.cdk-overlay-container{position:fixed;z-index:1000}[cdkMenu]{animation:menuFadeIn .15s ease-out}@keyframes menuFadeIn{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: CdkMenuModule }, { kind: "directive", type: i1.CdkMenu, selector: "[cdkMenu]", outputs: ["closed"], exportAs: ["cdkMenu"] }, { kind: "directive", type: i1.CdkMenuItem, selector: "[cdkMenuItem]", inputs: ["cdkMenuItemDisabled", "cdkMenuitemTypeaheadLabel"], outputs: ["cdkMenuItemTriggered"], exportAs: ["cdkMenuItem"] }, { kind: "directive", type: i1.CdkMenuTrigger, selector: "[cdkMenuTriggerFor]", inputs: ["cdkMenuTriggerFor", "cdkMenuPosition", "cdkMenuTriggerData"], outputs: ["cdkMenuOpened", "cdkMenuClosed"], exportAs: ["cdkMenuTriggerFor"] }, { kind: "ngmodule", type: OverlayModule }, { 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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
121
121
|
}
|
|
122
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
122
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatToolsMenu, decorators: [{
|
|
123
123
|
type: Component,
|
|
124
124
|
args: [{ selector: "copilot-chat-tools-menu", standalone: true, imports: [CommonModule, CdkMenuModule, OverlayModule, LucideAngularModule], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: `
|
|
125
125
|
@if (hasItems()) {
|
|
@@ -53,8 +53,8 @@ export class CopilotChatUserMessageBranchNavigation {
|
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
57
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.
|
|
56
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatUserMessageBranchNavigation, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
57
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: CopilotChatUserMessageBranchNavigation, isStandalone: true, selector: "copilot-chat-user-message-branch-navigation", inputs: { currentBranch: { classPropertyName: "currentBranch", publicName: "currentBranch", isSignal: true, isRequired: false, transformFunction: null }, numberOfBranches: { classPropertyName: "numberOfBranches", publicName: "numberOfBranches", isSignal: true, isRequired: false, transformFunction: null }, message: { classPropertyName: "message", publicName: "message", isSignal: true, isRequired: false, transformFunction: null }, inputClass: { classPropertyName: "inputClass", publicName: "inputClass", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { switchToBranch: "switchToBranch" }, ngImport: i0, template: `
|
|
58
58
|
@if (showNavigation()) {
|
|
59
59
|
<div [class]="computedClass()">
|
|
60
60
|
<button type="button" [class]="buttonClass" [disabled]="!canGoPrev()" (click)="handlePrevious()">
|
|
@@ -70,7 +70,7 @@ export class CopilotChatUserMessageBranchNavigation {
|
|
|
70
70
|
}
|
|
71
71
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: LucideAngularModule }, { kind: "component", type: i1.LucideAngularComponent, selector: "lucide-angular, lucide-icon, i-lucide, span-lucide", inputs: ["class", "name", "img", "color", "absoluteStrokeWidth", "size", "strokeWidth"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
72
72
|
}
|
|
73
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
73
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatUserMessageBranchNavigation, decorators: [{
|
|
74
74
|
type: Component,
|
|
75
75
|
args: [{
|
|
76
76
|
standalone: true,
|
|
@@ -33,10 +33,10 @@ export class CopilotChatUserMessageToolbarButton {
|
|
|
33
33
|
// Disabled state
|
|
34
34
|
"disabled:opacity-50 disabled:cursor-not-allowed", this.inputClass());
|
|
35
35
|
});
|
|
36
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
37
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.
|
|
36
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatUserMessageToolbarButton, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
37
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.14", type: CopilotChatUserMessageToolbarButton, isStandalone: true, selector: "button[copilotChatUserMessageToolbarButton]", 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 });
|
|
38
38
|
}
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatUserMessageToolbarButton, decorators: [{
|
|
40
40
|
type: Component,
|
|
41
41
|
args: [{
|
|
42
42
|
selector: "button[copilotChatUserMessageToolbarButton]",
|
|
@@ -82,8 +82,8 @@ export class CopilotChatUserMessageCopyButton {
|
|
|
82
82
|
this.copied.set(false);
|
|
83
83
|
});
|
|
84
84
|
}
|
|
85
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
86
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.
|
|
85
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatUserMessageCopyButton, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
86
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: CopilotChatUserMessageCopyButton, isStandalone: true, selector: "copilot-chat-user-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: `
|
|
87
87
|
<button
|
|
88
88
|
copilotChatUserMessageToolbarButton
|
|
89
89
|
[title]="title() || labels.userMessageToolbarCopyMessageLabel"
|
|
@@ -99,7 +99,7 @@ export class CopilotChatUserMessageCopyButton {
|
|
|
99
99
|
</button>
|
|
100
100
|
`, 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: CopilotChatUserMessageToolbarButton, selector: "button[copilotChatUserMessageToolbarButton]", inputs: ["title", "disabled", "inputClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
101
101
|
}
|
|
102
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
102
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatUserMessageCopyButton, decorators: [{
|
|
103
103
|
type: Component,
|
|
104
104
|
args: [{
|
|
105
105
|
standalone: true,
|
|
@@ -141,8 +141,8 @@ export class CopilotChatUserMessageEditButton {
|
|
|
141
141
|
this.clicked.emit();
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
145
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.
|
|
144
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatUserMessageEditButton, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
145
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.14", type: CopilotChatUserMessageEditButton, isStandalone: true, selector: "copilot-chat-user-message-edit-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: `
|
|
146
146
|
<button
|
|
147
147
|
copilotChatUserMessageToolbarButton
|
|
148
148
|
[title]="title() || labels.userMessageToolbarEditMessageLabel"
|
|
@@ -154,7 +154,7 @@ export class CopilotChatUserMessageEditButton {
|
|
|
154
154
|
</button>
|
|
155
155
|
`, 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: CopilotChatUserMessageToolbarButton, selector: "button[copilotChatUserMessageToolbarButton]", inputs: ["title", "disabled", "inputClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
156
156
|
}
|
|
157
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
157
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatUserMessageEditButton, decorators: [{
|
|
158
158
|
type: Component,
|
|
159
159
|
args: [{
|
|
160
160
|
selector: "copilot-chat-user-message-edit-button",
|
|
@@ -8,10 +8,10 @@ export class CopilotChatUserMessageRenderer {
|
|
|
8
8
|
computedClass = computed(() => {
|
|
9
9
|
return cn("prose dark:prose-invert bg-muted relative max-w-[80%] rounded-[18px] px-4 py-1.5 data-[multiline]:py-3 inline-block whitespace-pre-wrap", this.inputClass());
|
|
10
10
|
});
|
|
11
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
12
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.
|
|
11
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatUserMessageRenderer, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
12
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.14", type: CopilotChatUserMessageRenderer, isStandalone: true, selector: "copilot-chat-user-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 } }, host: { properties: { "class": "computedClass()" } }, ngImport: i0, template: `{{ content() }}`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
13
13
|
}
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatUserMessageRenderer, decorators: [{
|
|
15
15
|
type: Component,
|
|
16
16
|
args: [{
|
|
17
17
|
selector: "copilot-chat-user-message-renderer",
|
|
@@ -5,10 +5,10 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export class CopilotChatUserMessageToolbar {
|
|
6
6
|
inputClass = input();
|
|
7
7
|
computedClass = computed(() => cn("w-full bg-transparent flex items-center justify-end mt-[4px] invisible group-hover:visible", this.inputClass()));
|
|
8
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
9
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.
|
|
8
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatUserMessageToolbar, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.14", type: CopilotChatUserMessageToolbar, isStandalone: true, selector: "div[copilotChatUserMessageToolbar]", inputs: { inputClass: { classPropertyName: "inputClass", publicName: "inputClass", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "computedClass()" } }, ngImport: i0, template: ` <ng-content></ng-content> `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
10
10
|
}
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatUserMessageToolbar, decorators: [{
|
|
12
12
|
type: Component,
|
|
13
13
|
args: [{
|
|
14
14
|
selector: "div[copilotChatUserMessageToolbar]",
|
|
@@ -97,8 +97,8 @@ export class CopilotChatUserMessage {
|
|
|
97
97
|
this.switchToBranch.emit(props);
|
|
98
98
|
}
|
|
99
99
|
constructor() { }
|
|
100
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
101
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.
|
|
100
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatUserMessage, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
101
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: CopilotChatUserMessage, isStandalone: true, selector: "copilot-chat-user-message", inputs: { messageRendererClass: { classPropertyName: "messageRendererClass", publicName: "messageRendererClass", isSignal: true, isRequired: false, transformFunction: null }, toolbarClass: { classPropertyName: "toolbarClass", publicName: "toolbarClass", isSignal: true, isRequired: false, transformFunction: null }, copyButtonClass: { classPropertyName: "copyButtonClass", publicName: "copyButtonClass", isSignal: true, isRequired: false, transformFunction: null }, editButtonClass: { classPropertyName: "editButtonClass", publicName: "editButtonClass", isSignal: true, isRequired: false, transformFunction: null }, branchNavigationClass: { classPropertyName: "branchNavigationClass", publicName: "branchNavigationClass", isSignal: true, isRequired: false, transformFunction: null }, messageRendererComponent: { classPropertyName: "messageRendererComponent", publicName: "messageRendererComponent", isSignal: true, isRequired: false, transformFunction: null }, toolbarComponent: { classPropertyName: "toolbarComponent", publicName: "toolbarComponent", isSignal: true, isRequired: false, transformFunction: null }, copyButtonComponent: { classPropertyName: "copyButtonComponent", publicName: "copyButtonComponent", isSignal: true, isRequired: false, transformFunction: null }, editButtonComponent: { classPropertyName: "editButtonComponent", publicName: "editButtonComponent", isSignal: true, isRequired: false, transformFunction: null }, branchNavigationComponent: { classPropertyName: "branchNavigationComponent", publicName: "branchNavigationComponent", isSignal: true, isRequired: false, transformFunction: null }, message: { classPropertyName: "message", publicName: "message", isSignal: true, isRequired: false, transformFunction: null }, branchIndex: { classPropertyName: "branchIndex", publicName: "branchIndex", isSignal: true, isRequired: false, transformFunction: null }, numberOfBranches: { classPropertyName: "numberOfBranches", publicName: "numberOfBranches", isSignal: true, isRequired: false, transformFunction: null }, additionalToolbarItems: { classPropertyName: "additionalToolbarItems", publicName: "additionalToolbarItems", isSignal: true, isRequired: false, transformFunction: null }, inputClass: { classPropertyName: "inputClass", publicName: "inputClass", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { editMessage: "editMessage", switchToBranch: "switchToBranch" }, queries: [{ propertyName: "messageRendererTemplate", first: true, predicate: ["messageRenderer"], descendants: true, read: TemplateRef }, { propertyName: "toolbarTemplate", first: true, predicate: ["toolbar"], descendants: true, read: TemplateRef }, { propertyName: "copyButtonTemplate", first: true, predicate: ["copyButton"], descendants: true, read: TemplateRef }, { propertyName: "editButtonTemplate", first: true, predicate: ["editButton"], descendants: true, read: TemplateRef }, { propertyName: "branchNavigationTemplate", first: true, predicate: ["branchNavigation"], descendants: true, read: TemplateRef }], ngImport: i0, template: `
|
|
102
102
|
<div [class]="computedClass()" [attr.data-message-id]="message()?.id">
|
|
103
103
|
<!-- Message Renderer -->
|
|
104
104
|
@if (messageRendererTemplate || messageRendererComponent()) {
|
|
@@ -189,7 +189,7 @@ export class CopilotChatUserMessage {
|
|
|
189
189
|
</div>
|
|
190
190
|
`, isInline: true, styles: [":host{display:block;width:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: CopilotSlot, selector: "copilot-slot", inputs: ["slot", "context", "defaultComponent", "outputs"] }, { kind: "component", type: CopilotChatUserMessageRenderer, selector: "copilot-chat-user-message-renderer", inputs: ["content", "inputClass"] }, { kind: "component", type: CopilotChatUserMessageCopyButton, selector: "copilot-chat-user-message-copy-button", inputs: ["title", "disabled", "inputClass", "content"], outputs: ["clicked"] }, { kind: "component", type: CopilotChatUserMessageEditButton, selector: "copilot-chat-user-message-edit-button", inputs: ["title", "disabled", "inputClass"], outputs: ["clicked"] }, { kind: "component", type: CopilotChatUserMessageToolbar, selector: "div[copilotChatUserMessageToolbar]", inputs: ["inputClass"] }, { kind: "component", type: CopilotChatUserMessageBranchNavigation, selector: "copilot-chat-user-message-branch-navigation", inputs: ["currentBranch", "numberOfBranches", "message", "inputClass"], outputs: ["switchToBranch"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
191
191
|
}
|
|
192
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
192
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatUserMessage, decorators: [{
|
|
193
193
|
type: Component,
|
|
194
194
|
args: [{ standalone: true, selector: "copilot-chat-user-message", imports: [
|
|
195
195
|
CommonModule,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29waWxvdC1jaGF0LXVzZXItbWVzc2FnZS50eXBlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9jaGF0L2NvcGlsb3QtY2hhdC11c2VyLW1lc3NhZ2UudHlwZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB0eXBlIHsgVXNlck1lc3NhZ2UgfSBmcm9tIFwiQGFnLXVpL2NvcmVcIjtcblxuZXhwb3J0IGludGVyZmFjZSBDb3BpbG90Q2hhdFVzZXJNZXNzYWdlT25FZGl0TWVzc2FnZVByb3BzIHtcbiAgbWVzc2FnZTogVXNlck1lc3NhZ2U7XG59XG5cbmV4cG9ydCBpbnRlcmZhY2UgQ29waWxvdENoYXRVc2VyTWVzc2FnZU9uU3dpdGNoVG9CcmFuY2hQcm9wcyB7XG4gIG1lc3NhZ2U6IFVzZXJNZXNzYWdlO1xuICBicmFuY2hJbmRleDogbnVtYmVyO1xuICBudW1iZXJPZkJyYW5jaGVzOiBudW1iZXI7XG59XG5cbi8vIENvbnRleHQgaW50ZXJmYWNlcyBmb3Igc2xvdHNcbmV4cG9ydCBpbnRlcmZhY2UgTWVzc2FnZVJlbmRlcmVyQ29udGV4dCB7XG4gIGNvbnRlbnQ6IHN0cmluZztcbn1cblxuZXhwb3J0IGludGVyZmFjZSBDb3B5QnV0dG9uQ29udGV4dCB7XG4gIGNvbnRlbnQ/
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29waWxvdC1jaGF0LXVzZXItbWVzc2FnZS50eXBlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9jaGF0L2NvcGlsb3QtY2hhdC11c2VyLW1lc3NhZ2UudHlwZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB0eXBlIHsgVXNlck1lc3NhZ2UgfSBmcm9tIFwiQGFnLXVpL2NvcmVcIjtcblxuZXhwb3J0IGludGVyZmFjZSBDb3BpbG90Q2hhdFVzZXJNZXNzYWdlT25FZGl0TWVzc2FnZVByb3BzIHtcbiAgbWVzc2FnZTogVXNlck1lc3NhZ2U7XG59XG5cbmV4cG9ydCBpbnRlcmZhY2UgQ29waWxvdENoYXRVc2VyTWVzc2FnZU9uU3dpdGNoVG9CcmFuY2hQcm9wcyB7XG4gIG1lc3NhZ2U6IFVzZXJNZXNzYWdlO1xuICBicmFuY2hJbmRleDogbnVtYmVyO1xuICBudW1iZXJPZkJyYW5jaGVzOiBudW1iZXI7XG59XG5cbi8vIENvbnRleHQgaW50ZXJmYWNlcyBmb3Igc2xvdHNcbmV4cG9ydCBpbnRlcmZhY2UgTWVzc2FnZVJlbmRlcmVyQ29udGV4dCB7XG4gIGNvbnRlbnQ6IHN0cmluZztcbn1cblxuZXhwb3J0IGludGVyZmFjZSBDb3B5QnV0dG9uQ29udGV4dCB7XG4gIGNvbnRlbnQ/OiBzdHJpbmc7XG4gIGNvcGllZD86IGJvb2xlYW47XG59XG5cbi8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBAdHlwZXNjcmlwdC1lc2xpbnQvbm8tZW1wdHktb2JqZWN0LXR5cGVcbmV4cG9ydCBpbnRlcmZhY2UgRWRpdEJ1dHRvbkNvbnRleHQge1xuICAvLyBFbXB0eSBjb250ZXh0IC0gY2xpY2sgaGFuZGxlZCB2aWEgb3V0cHV0cyBtYXBcbn1cblxuZXhwb3J0IGludGVyZmFjZSBCcmFuY2hOYXZpZ2F0aW9uQ29udGV4dCB7XG4gIGN1cnJlbnRCcmFuY2g6IG51bWJlcjtcbiAgbnVtYmVyT2ZCcmFuY2hlczogbnVtYmVyO1xuICBvblN3aXRjaFRvQnJhbmNoPzogKHByb3BzOiBDb3BpbG90Q2hhdFVzZXJNZXNzYWdlT25Td2l0Y2hUb0JyYW5jaFByb3BzKSA9PiB2b2lkO1xuICBtZXNzYWdlOiBVc2VyTWVzc2FnZTtcbn1cblxuZXhwb3J0IGludGVyZmFjZSBVc2VyTWVzc2FnZVRvb2xiYXJDb250ZXh0IHtcbiAgY2hpbGRyZW4/OiBhbnk7XG59XG4iXX0=
|
|
@@ -23,14 +23,14 @@ export class CopilotChatViewDisclaimer {
|
|
|
23
23
|
get computedClass() {
|
|
24
24
|
return cn("text-center text-xs text-muted-foreground py-3 px-4 max-w-3xl mx-auto", this.inputClass());
|
|
25
25
|
}
|
|
26
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
27
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.
|
|
26
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatViewDisclaimer, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
27
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.14", type: CopilotChatViewDisclaimer, isStandalone: true, selector: "copilot-chat-view-disclaimer", inputs: { inputClass: { classPropertyName: "inputClass", publicName: "inputClass", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
28
28
|
<div [class]="computedClass">
|
|
29
29
|
{{ disclaimerText }}
|
|
30
30
|
</div>
|
|
31
31
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
32
32
|
}
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatViewDisclaimer, decorators: [{
|
|
34
34
|
type: Component,
|
|
35
35
|
args: [{
|
|
36
36
|
selector: "copilot-chat-view-disclaimer",
|
|
@@ -24,10 +24,10 @@ export class CopilotChatViewFeather {
|
|
|
24
24
|
// Custom classes
|
|
25
25
|
this.inputClass());
|
|
26
26
|
}
|
|
27
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
28
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.
|
|
27
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatViewFeather, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
28
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.14", type: CopilotChatViewFeather, isStandalone: true, selector: "copilot-chat-view-feather", inputs: { inputClass: { classPropertyName: "inputClass", publicName: "inputClass", isSignal: true, isRequired: false, transformFunction: null }, style: { classPropertyName: "style", publicName: "style", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: ` <div [class]="computedClass" [style]="style()"></div> `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
29
29
|
}
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CopilotChatViewFeather, decorators: [{
|
|
31
31
|
type: Component,
|
|
32
32
|
args: [{
|
|
33
33
|
selector: "copilot-chat-view-feather",
|