@progress/kendo-angular-conversational-ui 26.2.0-develop.9 → 27.0.0-develop.10
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.
|
@@ -170,9 +170,9 @@ class BaseView {
|
|
|
170
170
|
get svgIcon() {
|
|
171
171
|
return this._svgIcon();
|
|
172
172
|
}
|
|
173
|
-
_buttonText = signal(undefined, ...(ngDevMode ? [{ debugName: "_buttonText" }] : []));
|
|
174
|
-
_icon = signal(undefined, ...(ngDevMode ? [{ debugName: "_icon" }] : []));
|
|
175
|
-
_svgIcon = signal(undefined, ...(ngDevMode ? [{ debugName: "_svgIcon" }] : []));
|
|
173
|
+
_buttonText = signal(undefined, ...(ngDevMode ? [{ debugName: "_buttonText" }] : /* istanbul ignore next */ []));
|
|
174
|
+
_icon = signal(undefined, ...(ngDevMode ? [{ debugName: "_icon" }] : /* istanbul ignore next */ []));
|
|
175
|
+
_svgIcon = signal(undefined, ...(ngDevMode ? [{ debugName: "_svgIcon" }] : /* istanbul ignore next */ []));
|
|
176
176
|
constructor(viewType, localization) {
|
|
177
177
|
this.viewType = viewType;
|
|
178
178
|
this.localization = localization;
|
|
@@ -187,10 +187,10 @@ class BaseView {
|
|
|
187
187
|
messageFor(text) {
|
|
188
188
|
return this.localization.get(text);
|
|
189
189
|
}
|
|
190
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
191
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
190
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: BaseView, deps: [{ token: MY_TOKEN }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
191
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: BaseView, isStandalone: true, inputs: { buttonText: "buttonText", icon: "icon", svgIcon: "svgIcon" }, host: { properties: { "class.k-prompt-view": "this.hostClasses" } }, viewQueries: [{ propertyName: "template", first: true, predicate: ["content"], descendants: true, static: true }], ngImport: i0 });
|
|
192
192
|
}
|
|
193
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
193
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: BaseView, decorators: [{
|
|
194
194
|
type: Directive
|
|
195
195
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
196
196
|
type: Inject,
|
|
@@ -217,8 +217,8 @@ const packageMetadata = {
|
|
|
217
217
|
productName: 'Kendo UI for Angular',
|
|
218
218
|
productCode: 'KENDOUIANGULAR',
|
|
219
219
|
productCodes: ['KENDOUIANGULAR'],
|
|
220
|
-
publishDate:
|
|
221
|
-
version: '
|
|
220
|
+
publishDate: 1795792966,
|
|
221
|
+
version: '27.0.0-develop.10',
|
|
222
222
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
223
223
|
};
|
|
224
224
|
|
|
@@ -275,15 +275,15 @@ class AIPromptService {
|
|
|
275
275
|
this._speechToTextButton.set({ ...settings });
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
|
-
_promptValue = signal('', ...(ngDevMode ? [{ debugName: "_promptValue" }] : []));
|
|
279
|
-
_showOutputRating = signal(false, ...(ngDevMode ? [{ debugName: "_showOutputRating" }] : []));
|
|
280
|
-
_promptCommands = signal(undefined, ...(ngDevMode ? [{ debugName: "_promptCommands" }] : []));
|
|
281
|
-
_promptOutputs = signal(undefined, ...(ngDevMode ? [{ debugName: "_promptOutputs" }] : []));
|
|
282
|
-
_promptSuggestions = signal(undefined, ...(ngDevMode ? [{ debugName: "_promptSuggestions" }] : []));
|
|
283
|
-
_textAreaSettings = signal(undefined, ...(ngDevMode ? [{ debugName: "_textAreaSettings" }] : []));
|
|
284
|
-
_speechToTextButton = signal(null, ...(ngDevMode ? [{ debugName: "_speechToTextButton" }] : []));
|
|
285
|
-
_outputTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_outputTemplate" }] : []));
|
|
286
|
-
_outputBodyTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_outputBodyTemplate" }] : []));
|
|
278
|
+
_promptValue = signal('', ...(ngDevMode ? [{ debugName: "_promptValue" }] : /* istanbul ignore next */ []));
|
|
279
|
+
_showOutputRating = signal(false, ...(ngDevMode ? [{ debugName: "_showOutputRating" }] : /* istanbul ignore next */ []));
|
|
280
|
+
_promptCommands = signal(undefined, ...(ngDevMode ? [{ debugName: "_promptCommands" }] : /* istanbul ignore next */ []));
|
|
281
|
+
_promptOutputs = signal(undefined, ...(ngDevMode ? [{ debugName: "_promptOutputs" }] : /* istanbul ignore next */ []));
|
|
282
|
+
_promptSuggestions = signal(undefined, ...(ngDevMode ? [{ debugName: "_promptSuggestions" }] : /* istanbul ignore next */ []));
|
|
283
|
+
_textAreaSettings = signal(undefined, ...(ngDevMode ? [{ debugName: "_textAreaSettings" }] : /* istanbul ignore next */ []));
|
|
284
|
+
_speechToTextButton = signal(null, ...(ngDevMode ? [{ debugName: "_speechToTextButton" }] : /* istanbul ignore next */ []));
|
|
285
|
+
_outputTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_outputTemplate" }] : /* istanbul ignore next */ []));
|
|
286
|
+
_outputBodyTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_outputBodyTemplate" }] : /* istanbul ignore next */ []));
|
|
287
287
|
getFlattenPromptCommands(commands = this.promptCommands) {
|
|
288
288
|
let newArr = [];
|
|
289
289
|
commands.forEach(c => {
|
|
@@ -297,10 +297,10 @@ class AIPromptService {
|
|
|
297
297
|
});
|
|
298
298
|
return newArr.concat(this.promptCommands);
|
|
299
299
|
}
|
|
300
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
301
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
300
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: AIPromptService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
301
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: AIPromptService });
|
|
302
302
|
}
|
|
303
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
303
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: AIPromptService, decorators: [{
|
|
304
304
|
type: Injectable
|
|
305
305
|
}] });
|
|
306
306
|
|
|
@@ -325,10 +325,10 @@ class AIPromptToolbarActionsDirective {
|
|
|
325
325
|
constructor(templateRef) {
|
|
326
326
|
this.templateRef = templateRef;
|
|
327
327
|
}
|
|
328
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
329
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
328
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: AIPromptToolbarActionsDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
329
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: AIPromptToolbarActionsDirective, isStandalone: true, selector: "[kendoAIPromptToolbarActionsTemplate]", ngImport: i0 });
|
|
330
330
|
}
|
|
331
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
331
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: AIPromptToolbarActionsDirective, decorators: [{
|
|
332
332
|
type: Directive,
|
|
333
333
|
args: [{
|
|
334
334
|
selector: '[kendoAIPromptToolbarActionsTemplate]',
|
|
@@ -380,10 +380,10 @@ class ToolbarNavigationService {
|
|
|
380
380
|
focusFirst() {
|
|
381
381
|
this.focusableElements[this.currentFocusedIndex].activate();
|
|
382
382
|
}
|
|
383
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
384
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
383
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ToolbarNavigationService, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
384
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ToolbarNavigationService });
|
|
385
385
|
}
|
|
386
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
386
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ToolbarNavigationService, decorators: [{
|
|
387
387
|
type: Injectable
|
|
388
388
|
}], ctorParameters: () => [{ type: i1.LocalizationService }] });
|
|
389
389
|
|
|
@@ -440,10 +440,10 @@ class AIPromptToolbarFocusableDirective {
|
|
|
440
440
|
clickHandler = () => {
|
|
441
441
|
this.navigationService.setActiveIndex(this);
|
|
442
442
|
};
|
|
443
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
444
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
443
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: AIPromptToolbarFocusableDirective, deps: [{ token: i0.ElementRef }, { token: ToolbarNavigationService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
444
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: AIPromptToolbarFocusableDirective, isStandalone: true, selector: "[kendoAIPromptToolbarFocusable]", ngImport: i0 });
|
|
445
445
|
}
|
|
446
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
446
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: AIPromptToolbarFocusableDirective, decorators: [{
|
|
447
447
|
type: Directive,
|
|
448
448
|
args: [{
|
|
449
449
|
selector: '[kendoAIPromptToolbarFocusable]',
|
|
@@ -554,21 +554,21 @@ let Messages$3 = class Messages extends ComponentMessages {
|
|
|
554
554
|
get toolbarLabel() {
|
|
555
555
|
return this._toolbarLabel();
|
|
556
556
|
}
|
|
557
|
-
_promptView = signal(undefined, ...(ngDevMode ? [{ debugName: "_promptView" }] : []));
|
|
558
|
-
_outputView = signal(undefined, ...(ngDevMode ? [{ debugName: "_outputView" }] : []));
|
|
559
|
-
_generateOutput = signal(undefined, ...(ngDevMode ? [{ debugName: "_generateOutput" }] : []));
|
|
560
|
-
_promptPlaceholder = signal(undefined, ...(ngDevMode ? [{ debugName: "_promptPlaceholder" }] : []));
|
|
561
|
-
_copyOutput = signal(undefined, ...(ngDevMode ? [{ debugName: "_copyOutput" }] : []));
|
|
562
|
-
_retryGeneration = signal(undefined, ...(ngDevMode ? [{ debugName: "_retryGeneration" }] : []));
|
|
563
|
-
_outputTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_outputTitle" }] : []));
|
|
564
|
-
_outputRetryTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_outputRetryTitle" }] : []));
|
|
565
|
-
_promptSuggestions = signal(undefined, ...(ngDevMode ? [{ debugName: "_promptSuggestions" }] : []));
|
|
566
|
-
_speechToTextButton = signal(undefined, ...(ngDevMode ? [{ debugName: "_speechToTextButton" }] : []));
|
|
567
|
-
_toolbarLabel = signal(undefined, ...(ngDevMode ? [{ debugName: "_toolbarLabel" }] : []));
|
|
568
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
569
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
557
|
+
_promptView = signal(undefined, ...(ngDevMode ? [{ debugName: "_promptView" }] : /* istanbul ignore next */ []));
|
|
558
|
+
_outputView = signal(undefined, ...(ngDevMode ? [{ debugName: "_outputView" }] : /* istanbul ignore next */ []));
|
|
559
|
+
_generateOutput = signal(undefined, ...(ngDevMode ? [{ debugName: "_generateOutput" }] : /* istanbul ignore next */ []));
|
|
560
|
+
_promptPlaceholder = signal(undefined, ...(ngDevMode ? [{ debugName: "_promptPlaceholder" }] : /* istanbul ignore next */ []));
|
|
561
|
+
_copyOutput = signal(undefined, ...(ngDevMode ? [{ debugName: "_copyOutput" }] : /* istanbul ignore next */ []));
|
|
562
|
+
_retryGeneration = signal(undefined, ...(ngDevMode ? [{ debugName: "_retryGeneration" }] : /* istanbul ignore next */ []));
|
|
563
|
+
_outputTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_outputTitle" }] : /* istanbul ignore next */ []));
|
|
564
|
+
_outputRetryTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_outputRetryTitle" }] : /* istanbul ignore next */ []));
|
|
565
|
+
_promptSuggestions = signal(undefined, ...(ngDevMode ? [{ debugName: "_promptSuggestions" }] : /* istanbul ignore next */ []));
|
|
566
|
+
_speechToTextButton = signal(undefined, ...(ngDevMode ? [{ debugName: "_speechToTextButton" }] : /* istanbul ignore next */ []));
|
|
567
|
+
_toolbarLabel = signal(undefined, ...(ngDevMode ? [{ debugName: "_toolbarLabel" }] : /* istanbul ignore next */ []));
|
|
568
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
569
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: Messages, isStandalone: true, inputs: { promptView: "promptView", outputView: "outputView", generateOutput: "generateOutput", promptPlaceholder: "promptPlaceholder", copyOutput: "copyOutput", retryGeneration: "retryGeneration", outputTitle: "outputTitle", outputRetryTitle: "outputRetryTitle", promptSuggestions: "promptSuggestions", speechToTextButton: "speechToTextButton", toolbarLabel: "toolbarLabel" }, usesInheritance: true, ngImport: i0 });
|
|
570
570
|
};
|
|
571
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
571
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: Messages$3, decorators: [{
|
|
572
572
|
type: Directive
|
|
573
573
|
}], propDecorators: { promptView: [{
|
|
574
574
|
type: Input
|
|
@@ -603,15 +603,15 @@ let LocalizedMessagesDirective$4 = class LocalizedMessagesDirective extends Mess
|
|
|
603
603
|
super();
|
|
604
604
|
this.service = service;
|
|
605
605
|
}
|
|
606
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
607
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
606
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
607
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoAIPromptLocalizedMessages]", providers: [
|
|
608
608
|
{
|
|
609
609
|
provide: Messages$3,
|
|
610
610
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
611
611
|
}
|
|
612
612
|
], usesInheritance: true, ngImport: i0 });
|
|
613
613
|
};
|
|
614
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
614
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: LocalizedMessagesDirective$4, decorators: [{
|
|
615
615
|
type: Directive,
|
|
616
616
|
args: [{
|
|
617
617
|
providers: [
|
|
@@ -642,10 +642,10 @@ class AIPromptOutputTemplateDirective {
|
|
|
642
642
|
constructor(templateRef) {
|
|
643
643
|
this.templateRef = templateRef;
|
|
644
644
|
}
|
|
645
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
646
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
645
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: AIPromptOutputTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
646
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: AIPromptOutputTemplateDirective, isStandalone: true, selector: "[kendoAIPromptOutputTemplate]", ngImport: i0 });
|
|
647
647
|
}
|
|
648
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
648
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: AIPromptOutputTemplateDirective, decorators: [{
|
|
649
649
|
type: Directive,
|
|
650
650
|
args: [{
|
|
651
651
|
selector: '[kendoAIPromptOutputTemplate]',
|
|
@@ -670,10 +670,10 @@ class AIPromptOutputBodyTemplateDirective {
|
|
|
670
670
|
constructor(templateRef) {
|
|
671
671
|
this.templateRef = templateRef;
|
|
672
672
|
}
|
|
673
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
674
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
673
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: AIPromptOutputBodyTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
674
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: AIPromptOutputBodyTemplateDirective, isStandalone: true, selector: "[kendoAIPromptOutputBodyTemplate]", ngImport: i0 });
|
|
675
675
|
}
|
|
676
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
676
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: AIPromptOutputBodyTemplateDirective, decorators: [{
|
|
677
677
|
type: Directive,
|
|
678
678
|
args: [{
|
|
679
679
|
selector: '[kendoAIPromptOutputBodyTemplate]',
|
|
@@ -962,24 +962,24 @@ class AIPromptComponent {
|
|
|
962
962
|
*/
|
|
963
963
|
fabAlignment = { vertical: 'bottom', horizontal: 'end' };
|
|
964
964
|
direction;
|
|
965
|
-
_activeView = signal(0, ...(ngDevMode ? [{ debugName: "_activeView" }] : []));
|
|
966
|
-
_promptCommands = signal(undefined, ...(ngDevMode ? [{ debugName: "_promptCommands" }] : []));
|
|
967
|
-
_promptSuggestions = signal(undefined, ...(ngDevMode ? [{ debugName: "_promptSuggestions" }] : []));
|
|
968
|
-
_promptOutputs = signal(undefined, ...(ngDevMode ? [{ debugName: "_promptOutputs" }] : []));
|
|
969
|
-
_showOutputRating = signal(false, ...(ngDevMode ? [{ debugName: "_showOutputRating" }] : []));
|
|
970
|
-
_streaming = signal(false, ...(ngDevMode ? [{ debugName: "_streaming" }] : []));
|
|
971
|
-
_speechToTextButton = signal(undefined, ...(ngDevMode ? [{ debugName: "_speechToTextButton" }] : []));
|
|
972
|
-
_textAreaSettings = signal(undefined, ...(ngDevMode ? [{ debugName: "_textAreaSettings" }] : []));
|
|
973
|
-
_generateButtonSVGIcon = signal(sparklesIcon, ...(ngDevMode ? [{ debugName: "_generateButtonSVGIcon" }] : []));
|
|
974
|
-
_generateButtonIcon = signal('sparkles', ...(ngDevMode ? [{ debugName: "_generateButtonIcon" }] : []));
|
|
975
|
-
_disabledGenerateButton = signal(false, ...(ngDevMode ? [{ debugName: "_disabledGenerateButton" }] : []));
|
|
965
|
+
_activeView = signal(0, ...(ngDevMode ? [{ debugName: "_activeView" }] : /* istanbul ignore next */ []));
|
|
966
|
+
_promptCommands = signal(undefined, ...(ngDevMode ? [{ debugName: "_promptCommands" }] : /* istanbul ignore next */ []));
|
|
967
|
+
_promptSuggestions = signal(undefined, ...(ngDevMode ? [{ debugName: "_promptSuggestions" }] : /* istanbul ignore next */ []));
|
|
968
|
+
_promptOutputs = signal(undefined, ...(ngDevMode ? [{ debugName: "_promptOutputs" }] : /* istanbul ignore next */ []));
|
|
969
|
+
_showOutputRating = signal(false, ...(ngDevMode ? [{ debugName: "_showOutputRating" }] : /* istanbul ignore next */ []));
|
|
970
|
+
_streaming = signal(false, ...(ngDevMode ? [{ debugName: "_streaming" }] : /* istanbul ignore next */ []));
|
|
971
|
+
_speechToTextButton = signal(undefined, ...(ngDevMode ? [{ debugName: "_speechToTextButton" }] : /* istanbul ignore next */ []));
|
|
972
|
+
_textAreaSettings = signal(undefined, ...(ngDevMode ? [{ debugName: "_textAreaSettings" }] : /* istanbul ignore next */ []));
|
|
973
|
+
_generateButtonSVGIcon = signal(sparklesIcon, ...(ngDevMode ? [{ debugName: "_generateButtonSVGIcon" }] : /* istanbul ignore next */ []));
|
|
974
|
+
_generateButtonIcon = signal('sparkles', ...(ngDevMode ? [{ debugName: "_generateButtonIcon" }] : /* istanbul ignore next */ []));
|
|
975
|
+
_disabledGenerateButton = signal(false, ...(ngDevMode ? [{ debugName: "_disabledGenerateButton" }] : /* istanbul ignore next */ []));
|
|
976
976
|
streamingEffect = effect(() => {
|
|
977
977
|
if (this._streaming()) {
|
|
978
978
|
afterNextRender(() => {
|
|
979
979
|
this.fabButton?.focus();
|
|
980
980
|
}, { injector: this.injector });
|
|
981
981
|
}
|
|
982
|
-
}, ...(ngDevMode ? [{ debugName: "streamingEffect" }] : []));
|
|
982
|
+
}, ...(ngDevMode ? [{ debugName: "streamingEffect" }] : /* istanbul ignore next */ []));
|
|
983
983
|
/**
|
|
984
984
|
* @hidden
|
|
985
985
|
*/
|
|
@@ -1013,8 +1013,8 @@ class AIPromptComponent {
|
|
|
1013
1013
|
};
|
|
1014
1014
|
this.promptRequest.emit(eventArgs);
|
|
1015
1015
|
}
|
|
1016
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1017
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1016
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: AIPromptComponent, deps: [{ token: i1.LocalizationService }, { token: AIPromptService }, { token: ToolbarNavigationService }, { token: i0.NgZone }, { token: i0.Injector }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
1017
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.26", type: AIPromptComponent, isStandalone: true, selector: "kendo-aiprompt", inputs: { activeView: "activeView", promptCommands: "promptCommands", promptSuggestions: "promptSuggestions", promptOutputs: "promptOutputs", showOutputRating: "showOutputRating", streaming: "streaming", speechToTextButton: "speechToTextButton", textAreaSettings: "textAreaSettings", generateButtonSVGIcon: "generateButtonSVGIcon", generateButtonIcon: "generateButtonIcon", disabledGenerateButton: "disabledGenerateButton" }, outputs: { activeViewChange: "activeViewChange", promptRequest: "promptRequest", commandExecute: "commandExecute", outputCopy: "outputCopy", outputRatingChange: "outputRatingChange", promptRequestCancel: "promptRequestCancel" }, host: { properties: { "class.k-prompt": "this.hostClasses", "attr.dir": "this.dirAttr" } }, providers: [
|
|
1018
1018
|
LocalizationService,
|
|
1019
1019
|
AIPromptService,
|
|
1020
1020
|
ToolbarNavigationService,
|
|
@@ -1114,7 +1114,7 @@ class AIPromptComponent {
|
|
|
1114
1114
|
}
|
|
1115
1115
|
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective$4, selector: "[kendoAIPromptLocalizedMessages]" }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "endIcon", "endSvgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: AIPromptToolbarFocusableDirective, selector: "[kendoAIPromptToolbarFocusable]" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: FloatingActionButtonComponent, selector: "kendo-floatingactionbutton", inputs: ["themeColor", "size", "rounded", "disabled", "align", "offset", "positionMode", "icon", "svgIcon", "iconClass", "buttonClass", "dialClass", "text", "dialItemAnimation", "tabIndex", "dialItems"], outputs: ["blur", "focus", "dialItemClick", "open", "close"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1116
1116
|
}
|
|
1117
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: AIPromptComponent, decorators: [{
|
|
1118
1118
|
type: Component,
|
|
1119
1119
|
args: [{
|
|
1120
1120
|
exportAs: 'kendoAIPrompt',
|
|
@@ -1322,7 +1322,7 @@ class CommandViewComponent extends BaseView {
|
|
|
1322
1322
|
_items = computed(() => {
|
|
1323
1323
|
const commands = this.service.promptCommands;
|
|
1324
1324
|
return commands ? this.getPanelBarItems(commands) : [];
|
|
1325
|
-
}, ...(ngDevMode ? [{ debugName: "_items" }] : []));
|
|
1325
|
+
}, ...(ngDevMode ? [{ debugName: "_items" }] : /* istanbul ignore next */ []));
|
|
1326
1326
|
getPanelBarItems(commands) {
|
|
1327
1327
|
return commands.map(c => ({
|
|
1328
1328
|
title: c.text,
|
|
@@ -1332,8 +1332,8 @@ class CommandViewComponent extends BaseView {
|
|
|
1332
1332
|
children: c.children ? this.getPanelBarItems(c.children) : null
|
|
1333
1333
|
}));
|
|
1334
1334
|
}
|
|
1335
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1336
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1335
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: CommandViewComponent, deps: [{ token: i1.LocalizationService }, { token: AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1336
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.26", type: CommandViewComponent, isStandalone: true, selector: "kendo-aiprompt-command-view", providers: [{
|
|
1337
1337
|
provide: BaseView,
|
|
1338
1338
|
useExisting: forwardRef(() => CommandViewComponent)
|
|
1339
1339
|
}], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -1347,7 +1347,7 @@ class CommandViewComponent extends BaseView {
|
|
|
1347
1347
|
</ng-template>
|
|
1348
1348
|
`, isInline: true, dependencies: [{ kind: "component", type: PanelBarComponent, selector: "kendo-panelbar", inputs: ["expandMode", "selectable", "animate", "height", "keepItemContent", "items"], outputs: ["stateChange", "select", "expand", "collapse", "itemClick"], exportAs: ["kendoPanelbar"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1349
1349
|
}
|
|
1350
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1350
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: CommandViewComponent, decorators: [{
|
|
1351
1351
|
type: Component,
|
|
1352
1352
|
args: [{
|
|
1353
1353
|
selector: 'kendo-aiprompt-command-view',
|
|
@@ -1394,15 +1394,15 @@ class AIPromptCustomMessagesComponent extends Messages$3 {
|
|
|
1394
1394
|
get override() {
|
|
1395
1395
|
return true;
|
|
1396
1396
|
}
|
|
1397
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1398
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1397
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: AIPromptCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1398
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.26", type: AIPromptCustomMessagesComponent, isStandalone: true, selector: "kendo-aiprompt-messages", providers: [
|
|
1399
1399
|
{
|
|
1400
1400
|
provide: Messages$3,
|
|
1401
1401
|
useExisting: forwardRef(() => AIPromptCustomMessagesComponent)
|
|
1402
1402
|
}
|
|
1403
1403
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
1404
1404
|
}
|
|
1405
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1405
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: AIPromptCustomMessagesComponent, decorators: [{
|
|
1406
1406
|
type: Component,
|
|
1407
1407
|
args: [{
|
|
1408
1408
|
providers: [
|
|
@@ -1443,14 +1443,14 @@ class CustomViewComponent extends BaseView {
|
|
|
1443
1443
|
get viewTemplate() {
|
|
1444
1444
|
return this._viewTemplate();
|
|
1445
1445
|
}
|
|
1446
|
-
_viewTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_viewTemplate" }] : []));
|
|
1447
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1448
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1446
|
+
_viewTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_viewTemplate" }] : /* istanbul ignore next */ []));
|
|
1447
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: CustomViewComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1448
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.26", type: CustomViewComponent, isStandalone: true, selector: "kendo-aiprompt-custom-view", inputs: { viewTemplate: "viewTemplate" }, providers: [{
|
|
1449
1449
|
provide: BaseView,
|
|
1450
1450
|
useExisting: forwardRef(() => CustomViewComponent)
|
|
1451
1451
|
}], usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1452
1452
|
}
|
|
1453
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1453
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: CustomViewComponent, decorators: [{
|
|
1454
1454
|
type: Component,
|
|
1455
1455
|
args: [{
|
|
1456
1456
|
selector: 'kendo-aiprompt-custom-view',
|
|
@@ -1504,7 +1504,7 @@ class AIPromptOutputCardComponent {
|
|
|
1504
1504
|
positiveRatingIcon = thumbUpIcon;
|
|
1505
1505
|
negativeRatingIcon = thumbDownIcon;
|
|
1506
1506
|
titleId = `k-output-card-${guid()}`;
|
|
1507
|
-
_promptOutput = signal(undefined, ...(ngDevMode ? [{ debugName: "_promptOutput" }] : []));
|
|
1507
|
+
_promptOutput = signal(undefined, ...(ngDevMode ? [{ debugName: "_promptOutput" }] : /* istanbul ignore next */ []));
|
|
1508
1508
|
messageFor(text) {
|
|
1509
1509
|
return this.localization.get(text);
|
|
1510
1510
|
}
|
|
@@ -1563,8 +1563,8 @@ class AIPromptOutputCardComponent {
|
|
|
1563
1563
|
get customBodyTemplate() {
|
|
1564
1564
|
return this.service.outputBodyTemplate?.templateRef;
|
|
1565
1565
|
}
|
|
1566
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1567
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1566
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: AIPromptOutputCardComponent, deps: [{ token: i1.LocalizationService }, { token: AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1567
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.26", type: AIPromptOutputCardComponent, isStandalone: true, selector: "[kendoAIPromptOutputCard]", inputs: { promptOutput: "promptOutput" }, host: { properties: { "class.k-card": "this.hostClass", "attr.role": "this.listItemRole", "attr.tabindex": "this.tabIndex", "attr.aria-describedby": "this.ariaDescribedBy", "attr.aria-keyshortcuts": "this.ariaKeyShortcuts" } }, ngImport: i0, template: `
|
|
1568
1568
|
<div class="k-card-header">
|
|
1569
1569
|
<div
|
|
1570
1570
|
class="k-card-title"
|
|
@@ -1612,7 +1612,7 @@ class AIPromptOutputCardComponent {
|
|
|
1612
1612
|
</div>
|
|
1613
1613
|
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "endIcon", "endSvgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1614
1614
|
}
|
|
1615
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1615
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: AIPromptOutputCardComponent, decorators: [{
|
|
1616
1616
|
type: Component,
|
|
1617
1617
|
args: [{
|
|
1618
1618
|
selector: '[kendoAIPromptOutputCard]',
|
|
@@ -1714,8 +1714,8 @@ class OutputViewComponent extends BaseView {
|
|
|
1714
1714
|
get customTemplate() {
|
|
1715
1715
|
return this.service.outputTemplate?.templateRef;
|
|
1716
1716
|
}
|
|
1717
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1718
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1717
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: OutputViewComponent, deps: [{ token: i1.LocalizationService }, { token: AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1718
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.26", type: OutputViewComponent, isStandalone: true, selector: "kendo-aiprompt-output-view", providers: [{
|
|
1719
1719
|
provide: BaseView,
|
|
1720
1720
|
useExisting: forwardRef(() => OutputViewComponent)
|
|
1721
1721
|
}], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -1735,7 +1735,7 @@ class OutputViewComponent extends BaseView {
|
|
|
1735
1735
|
</ng-template>
|
|
1736
1736
|
`, isInline: true, dependencies: [{ kind: "component", type: AIPromptOutputCardComponent, selector: "[kendoAIPromptOutputCard]", inputs: ["promptOutput"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1737
1737
|
}
|
|
1738
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1738
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: OutputViewComponent, decorators: [{
|
|
1739
1739
|
type: Component,
|
|
1740
1740
|
args: [{
|
|
1741
1741
|
selector: 'kendo-aiprompt-output-view',
|
|
@@ -1855,8 +1855,8 @@ class PromptViewComponent extends BaseView {
|
|
|
1855
1855
|
console.error('Speech to Text error:', event.errorMessage);
|
|
1856
1856
|
}
|
|
1857
1857
|
}
|
|
1858
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1859
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1858
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: PromptViewComponent, deps: [{ token: i1.LocalizationService }, { token: AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1859
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.26", type: PromptViewComponent, isStandalone: true, selector: "kendo-aiprompt-prompt-view", providers: [
|
|
1860
1860
|
{
|
|
1861
1861
|
provide: BaseView,
|
|
1862
1862
|
useExisting: forwardRef(() => PromptViewComponent)
|
|
@@ -1943,7 +1943,7 @@ class PromptViewComponent extends BaseView {
|
|
|
1943
1943
|
</ng-template>
|
|
1944
1944
|
`, isInline: true, dependencies: [{ kind: "component", type: TextAreaComponent, selector: "kendo-textarea", inputs: ["focusableId", "flow", "inputAttributes", "adornmentsOrientation", "rows", "cols", "maxlength", "maxResizableRows", "tabindex", "tabIndex", "resizable", "size", "rounded", "fillMode", "showPrefixSeparator", "showSuffixSeparator", "value"], outputs: ["focus", "blur", "valueChange"], exportAs: ["kendoTextArea"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "endIcon", "endSvgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: TextAreaSuffixComponent, selector: "kendo-textarea-suffix", inputs: ["flow", "orientation"], exportAs: ["kendoTextAreaSuffix"] }, { kind: "component", type: SpeechToTextButtonComponent, selector: "button[kendoSpeechToTextButton]", inputs: ["disabled", "size", "rounded", "fillMode", "themeColor", "integrationMode", "lang", "continuous", "interimResults", "maxAlternatives"], outputs: ["start", "end", "result", "error", "click"], exportAs: ["kendoSpeechToTextButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1945
1945
|
}
|
|
1946
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1946
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: PromptViewComponent, decorators: [{
|
|
1947
1947
|
type: Component,
|
|
1948
1948
|
args: [{
|
|
1949
1949
|
selector: 'kendo-aiprompt-prompt-view',
|
|
@@ -2101,10 +2101,10 @@ class AttachmentTemplateDirective {
|
|
|
2101
2101
|
constructor(templateRef) {
|
|
2102
2102
|
this.templateRef = templateRef;
|
|
2103
2103
|
}
|
|
2104
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2105
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2104
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: AttachmentTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2105
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: AttachmentTemplateDirective, isStandalone: true, selector: "[kendoChatAttachmentTemplate]", ngImport: i0 });
|
|
2106
2106
|
}
|
|
2107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2107
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: AttachmentTemplateDirective, decorators: [{
|
|
2108
2108
|
type: Directive,
|
|
2109
2109
|
args: [{
|
|
2110
2110
|
selector: '[kendoChatAttachmentTemplate]',
|
|
@@ -2135,10 +2135,10 @@ class MessageContentTemplateDirective {
|
|
|
2135
2135
|
constructor(templateRef) {
|
|
2136
2136
|
this.templateRef = templateRef;
|
|
2137
2137
|
}
|
|
2138
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2139
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2138
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: MessageContentTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2139
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: MessageContentTemplateDirective, isStandalone: true, selector: "[kendoChatMessageContentTemplate]", ngImport: i0 });
|
|
2140
2140
|
}
|
|
2141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: MessageContentTemplateDirective, decorators: [{
|
|
2142
2142
|
type: Directive,
|
|
2143
2143
|
args: [{
|
|
2144
2144
|
selector: '[kendoChatMessageContentTemplate]',
|
|
@@ -2169,10 +2169,10 @@ class MessageTemplateDirective {
|
|
|
2169
2169
|
constructor(templateRef) {
|
|
2170
2170
|
this.templateRef = templateRef;
|
|
2171
2171
|
}
|
|
2172
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2173
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2172
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: MessageTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2173
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: MessageTemplateDirective, isStandalone: true, selector: "[kendoChatMessageTemplate]", ngImport: i0 });
|
|
2174
2174
|
}
|
|
2175
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2175
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: MessageTemplateDirective, decorators: [{
|
|
2176
2176
|
type: Directive,
|
|
2177
2177
|
args: [{
|
|
2178
2178
|
selector: '[kendoChatMessageTemplate]',
|
|
@@ -2202,10 +2202,10 @@ class ChatUserStatusTemplateDirective {
|
|
|
2202
2202
|
constructor(templateRef) {
|
|
2203
2203
|
this.templateRef = templateRef;
|
|
2204
2204
|
}
|
|
2205
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2206
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2205
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ChatUserStatusTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2206
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: ChatUserStatusTemplateDirective, isStandalone: true, selector: "[kendoChatUserStatusTemplate]", ngImport: i0 });
|
|
2207
2207
|
}
|
|
2208
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2208
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ChatUserStatusTemplateDirective, decorators: [{
|
|
2209
2209
|
type: Directive,
|
|
2210
2210
|
args: [{
|
|
2211
2211
|
selector: '[kendoChatUserStatusTemplate]',
|
|
@@ -2235,10 +2235,10 @@ class ChatMessageBoxTemplateDirective {
|
|
|
2235
2235
|
constructor(templateRef) {
|
|
2236
2236
|
this.templateRef = templateRef;
|
|
2237
2237
|
}
|
|
2238
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2239
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2238
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ChatMessageBoxTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2239
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: ChatMessageBoxTemplateDirective, isStandalone: true, selector: "[kendoChatMessageBoxTemplate]", ngImport: i0 });
|
|
2240
2240
|
}
|
|
2241
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ChatMessageBoxTemplateDirective, decorators: [{
|
|
2242
2242
|
type: Directive,
|
|
2243
2243
|
args: [{
|
|
2244
2244
|
selector: '[kendoChatMessageBoxTemplate]',
|
|
@@ -2263,10 +2263,10 @@ class ChatHeaderTemplateDirective {
|
|
|
2263
2263
|
constructor(templateRef) {
|
|
2264
2264
|
this.templateRef = templateRef;
|
|
2265
2265
|
}
|
|
2266
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2267
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2266
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ChatHeaderTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2267
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: ChatHeaderTemplateDirective, isStandalone: true, selector: "[kendoChatHeaderTemplate]", ngImport: i0 });
|
|
2268
2268
|
}
|
|
2269
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2269
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ChatHeaderTemplateDirective, decorators: [{
|
|
2270
2270
|
type: Directive,
|
|
2271
2271
|
args: [{
|
|
2272
2272
|
selector: '[kendoChatHeaderTemplate]',
|
|
@@ -2294,10 +2294,10 @@ class NoDataTemplateDirective {
|
|
|
2294
2294
|
constructor(templateRef) {
|
|
2295
2295
|
this.templateRef = templateRef;
|
|
2296
2296
|
}
|
|
2297
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2298
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2297
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: NoDataTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2298
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: NoDataTemplateDirective, isStandalone: true, selector: "[kendoChatNoDataTemplate]", ngImport: i0 });
|
|
2299
2299
|
}
|
|
2300
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2300
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: NoDataTemplateDirective, decorators: [{
|
|
2301
2301
|
type: Directive,
|
|
2302
2302
|
args: [{
|
|
2303
2303
|
selector: '[kendoChatNoDataTemplate]',
|
|
@@ -2331,10 +2331,10 @@ class ChatTimestampTemplateDirective {
|
|
|
2331
2331
|
constructor(templateRef) {
|
|
2332
2332
|
this.templateRef = templateRef;
|
|
2333
2333
|
}
|
|
2334
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2335
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2334
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ChatTimestampTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2335
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: ChatTimestampTemplateDirective, isStandalone: true, selector: "[kendoChatTimestampTemplate]", ngImport: i0 });
|
|
2336
2336
|
}
|
|
2337
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2337
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ChatTimestampTemplateDirective, decorators: [{
|
|
2338
2338
|
type: Directive,
|
|
2339
2339
|
args: [{
|
|
2340
2340
|
selector: '[kendoChatTimestampTemplate]',
|
|
@@ -2361,10 +2361,10 @@ class ChatStatusTemplateDirective {
|
|
|
2361
2361
|
constructor(templateRef) {
|
|
2362
2362
|
this.templateRef = templateRef;
|
|
2363
2363
|
}
|
|
2364
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2365
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2364
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ChatStatusTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2365
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: ChatStatusTemplateDirective, isStandalone: true, selector: "[kendoChatStatusTemplate]", ngImport: i0 });
|
|
2366
2366
|
}
|
|
2367
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2367
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ChatStatusTemplateDirective, decorators: [{
|
|
2368
2368
|
type: Directive,
|
|
2369
2369
|
args: [{
|
|
2370
2370
|
selector: '[kendoChatStatusTemplate]',
|
|
@@ -2393,10 +2393,10 @@ class AuthorMessageContentTemplateDirective {
|
|
|
2393
2393
|
constructor(templateRef) {
|
|
2394
2394
|
this.templateRef = templateRef;
|
|
2395
2395
|
}
|
|
2396
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2397
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2396
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: AuthorMessageContentTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2397
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: AuthorMessageContentTemplateDirective, isStandalone: true, selector: "[kendoChatAuthorMessageContentTemplate]", ngImport: i0 });
|
|
2398
2398
|
}
|
|
2399
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2399
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: AuthorMessageContentTemplateDirective, decorators: [{
|
|
2400
2400
|
type: Directive,
|
|
2401
2401
|
args: [{
|
|
2402
2402
|
selector: '[kendoChatAuthorMessageContentTemplate]',
|
|
@@ -2427,10 +2427,10 @@ class ReceiverMessageContentTemplateDirective {
|
|
|
2427
2427
|
constructor(templateRef) {
|
|
2428
2428
|
this.templateRef = templateRef;
|
|
2429
2429
|
}
|
|
2430
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2431
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2430
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ReceiverMessageContentTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2431
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: ReceiverMessageContentTemplateDirective, isStandalone: true, selector: "[kendoChatReceiverMessageContentTemplate]", ngImport: i0 });
|
|
2432
2432
|
}
|
|
2433
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2433
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ReceiverMessageContentTemplateDirective, decorators: [{
|
|
2434
2434
|
type: Directive,
|
|
2435
2435
|
args: [{
|
|
2436
2436
|
selector: '[kendoChatReceiverMessageContentTemplate]',
|
|
@@ -2461,10 +2461,10 @@ class ReceiverMessageTemplateDirective {
|
|
|
2461
2461
|
constructor(templateRef) {
|
|
2462
2462
|
this.templateRef = templateRef;
|
|
2463
2463
|
}
|
|
2464
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2465
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2464
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ReceiverMessageTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2465
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: ReceiverMessageTemplateDirective, isStandalone: true, selector: "[kendoChatReceiverMessageTemplate]", ngImport: i0 });
|
|
2466
2466
|
}
|
|
2467
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2467
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ReceiverMessageTemplateDirective, decorators: [{
|
|
2468
2468
|
type: Directive,
|
|
2469
2469
|
args: [{
|
|
2470
2470
|
selector: '[kendoChatReceiverMessageTemplate]',
|
|
@@ -2495,10 +2495,10 @@ class AuthorMessageTemplateDirective {
|
|
|
2495
2495
|
constructor(templateRef) {
|
|
2496
2496
|
this.templateRef = templateRef;
|
|
2497
2497
|
}
|
|
2498
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2499
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2498
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: AuthorMessageTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2499
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: AuthorMessageTemplateDirective, isStandalone: true, selector: "[kendoChatAuthorMessageTemplate]", ngImport: i0 });
|
|
2500
2500
|
}
|
|
2501
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2501
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: AuthorMessageTemplateDirective, decorators: [{
|
|
2502
2502
|
type: Directive,
|
|
2503
2503
|
args: [{
|
|
2504
2504
|
selector: '[kendoChatAuthorMessageTemplate]',
|
|
@@ -2543,8 +2543,11 @@ const scrollButtonThreshold = 100;
|
|
|
2543
2543
|
* Pins a scroll container to a computed target across layout shifts.
|
|
2544
2544
|
* Observers extend the idle window until layout has settled; the initial and
|
|
2545
2545
|
* final pins bracket the settle window so the viewport lands exactly on target.
|
|
2546
|
+
* A newer call on the same element supersedes an unfinished one.
|
|
2546
2547
|
*/
|
|
2548
|
+
const activeSettles = new WeakMap();
|
|
2547
2549
|
const settleScroll = (zone, el, computeTarget, onComplete, idleMs = 120, timeoutMs = 1000) => {
|
|
2550
|
+
activeSettles.get(el)?.();
|
|
2548
2551
|
const pin = () => {
|
|
2549
2552
|
const t = computeTarget();
|
|
2550
2553
|
if (t !== null) {
|
|
@@ -2558,10 +2561,7 @@ const settleScroll = (zone, el, computeTarget, onComplete, idleMs = 120, timeout
|
|
|
2558
2561
|
let mutationObserver = null;
|
|
2559
2562
|
let resizeObserver = null;
|
|
2560
2563
|
let finished = false;
|
|
2561
|
-
const
|
|
2562
|
-
if (finished) {
|
|
2563
|
-
return;
|
|
2564
|
-
}
|
|
2564
|
+
const dispose = () => {
|
|
2565
2565
|
finished = true;
|
|
2566
2566
|
if (mutationObserver) {
|
|
2567
2567
|
mutationObserver.disconnect();
|
|
@@ -2571,6 +2571,15 @@ const settleScroll = (zone, el, computeTarget, onComplete, idleMs = 120, timeout
|
|
|
2571
2571
|
}
|
|
2572
2572
|
clearTimeout(idleTimer);
|
|
2573
2573
|
clearTimeout(safetyTimer);
|
|
2574
|
+
if (activeSettles.get(el) === dispose) {
|
|
2575
|
+
activeSettles.delete(el);
|
|
2576
|
+
}
|
|
2577
|
+
};
|
|
2578
|
+
const finish = () => {
|
|
2579
|
+
if (finished) {
|
|
2580
|
+
return;
|
|
2581
|
+
}
|
|
2582
|
+
dispose();
|
|
2574
2583
|
pin();
|
|
2575
2584
|
zone.run(() => {
|
|
2576
2585
|
onComplete();
|
|
@@ -2608,6 +2617,7 @@ const settleScroll = (zone, el, computeTarget, onComplete, idleMs = 120, timeout
|
|
|
2608
2617
|
return;
|
|
2609
2618
|
}
|
|
2610
2619
|
safetyTimer = setTimeout(finish, timeoutMs);
|
|
2620
|
+
activeSettles.set(el, dispose);
|
|
2611
2621
|
resetIdle();
|
|
2612
2622
|
});
|
|
2613
2623
|
};
|
|
@@ -2808,26 +2818,26 @@ class ChatService {
|
|
|
2808
2818
|
set showUsername(v) { this._showUsername.set(v); }
|
|
2809
2819
|
get showAvatar() { return this._showAvatar(); }
|
|
2810
2820
|
set showAvatar(v) { this._showAvatar.set(v); }
|
|
2811
|
-
_speechToTextButton = signal(STB_DEFAULT_SETTINGS$1, ...(ngDevMode ? [{ debugName: "_speechToTextButton" }] : []));
|
|
2812
|
-
_fileSelectButton = signal(FILESELECT_BUTTON_DEFAULT_SETTINGS$1, ...(ngDevMode ? [{ debugName: "_fileSelectButton" }] : []));
|
|
2813
|
-
_sendButtonSettings = signal(SEND_BTN_DEFAULT_SETTINGS, ...(ngDevMode ? [{ debugName: "_sendButtonSettings" }] : []));
|
|
2814
|
-
_messageBoxSettings = signal(MESSAGE_BOX_SETTINGS, ...(ngDevMode ? [{ debugName: "_messageBoxSettings" }] : []));
|
|
2815
|
-
_suggestionsLayout = signal(SUGGESTIONS_LAYOUT_DEFAULT_SETTINGS, ...(ngDevMode ? [{ debugName: "_suggestionsLayout" }] : []));
|
|
2816
|
-
_quickActionsLayout = signal(SUGGESTIONS_LAYOUT_DEFAULT_SETTINGS, ...(ngDevMode ? [{ debugName: "_quickActionsLayout" }] : []));
|
|
2817
|
-
_messageToolbarActions = signal([], ...(ngDevMode ? [{ debugName: "_messageToolbarActions" }] : []));
|
|
2818
|
-
_authorMessageSettings = signal(undefined, ...(ngDevMode ? [{ debugName: "_authorMessageSettings" }] : []));
|
|
2819
|
-
_receiverMessageSettings = signal(undefined, ...(ngDevMode ? [{ debugName: "_receiverMessageSettings" }] : []));
|
|
2820
|
-
_allowMessageCollapse = signal(undefined, ...(ngDevMode ? [{ debugName: "_allowMessageCollapse" }] : []));
|
|
2821
|
-
_messageWidthMode = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageWidthMode" }] : []));
|
|
2822
|
-
_toggleMessageState = signal(false, ...(ngDevMode ? [{ debugName: "_toggleMessageState" }] : []));
|
|
2823
|
-
_activeMessage = signal(undefined, ...(ngDevMode ? [{ debugName: "_activeMessage" }] : []));
|
|
2824
|
-
_active = signal(false, ...(ngDevMode ? [{ debugName: "_active" }] : []));
|
|
2825
|
-
_messageFilesLayout = signal('vertical', ...(ngDevMode ? [{ debugName: "_messageFilesLayout" }] : []));
|
|
2826
|
-
_timestampVisibility = signal('focus', ...(ngDevMode ? [{ debugName: "_timestampVisibility" }] : []));
|
|
2827
|
-
_showUsername = signal(true, ...(ngDevMode ? [{ debugName: "_showUsername" }] : []));
|
|
2828
|
-
_showAvatar = signal(true, ...(ngDevMode ? [{ debugName: "_showAvatar" }] : []));
|
|
2829
|
-
_reply = signal(undefined, ...(ngDevMode ? [{ debugName: "_reply" }] : []));
|
|
2830
|
-
_calculatedContextMenuActions = signal([], ...(ngDevMode ? [{ debugName: "_calculatedContextMenuActions" }] : []));
|
|
2821
|
+
_speechToTextButton = signal(STB_DEFAULT_SETTINGS$1, ...(ngDevMode ? [{ debugName: "_speechToTextButton" }] : /* istanbul ignore next */ []));
|
|
2822
|
+
_fileSelectButton = signal(FILESELECT_BUTTON_DEFAULT_SETTINGS$1, ...(ngDevMode ? [{ debugName: "_fileSelectButton" }] : /* istanbul ignore next */ []));
|
|
2823
|
+
_sendButtonSettings = signal(SEND_BTN_DEFAULT_SETTINGS, ...(ngDevMode ? [{ debugName: "_sendButtonSettings" }] : /* istanbul ignore next */ []));
|
|
2824
|
+
_messageBoxSettings = signal(MESSAGE_BOX_SETTINGS, ...(ngDevMode ? [{ debugName: "_messageBoxSettings" }] : /* istanbul ignore next */ []));
|
|
2825
|
+
_suggestionsLayout = signal(SUGGESTIONS_LAYOUT_DEFAULT_SETTINGS, ...(ngDevMode ? [{ debugName: "_suggestionsLayout" }] : /* istanbul ignore next */ []));
|
|
2826
|
+
_quickActionsLayout = signal(SUGGESTIONS_LAYOUT_DEFAULT_SETTINGS, ...(ngDevMode ? [{ debugName: "_quickActionsLayout" }] : /* istanbul ignore next */ []));
|
|
2827
|
+
_messageToolbarActions = signal([], ...(ngDevMode ? [{ debugName: "_messageToolbarActions" }] : /* istanbul ignore next */ []));
|
|
2828
|
+
_authorMessageSettings = signal(undefined, ...(ngDevMode ? [{ debugName: "_authorMessageSettings" }] : /* istanbul ignore next */ []));
|
|
2829
|
+
_receiverMessageSettings = signal(undefined, ...(ngDevMode ? [{ debugName: "_receiverMessageSettings" }] : /* istanbul ignore next */ []));
|
|
2830
|
+
_allowMessageCollapse = signal(undefined, ...(ngDevMode ? [{ debugName: "_allowMessageCollapse" }] : /* istanbul ignore next */ []));
|
|
2831
|
+
_messageWidthMode = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageWidthMode" }] : /* istanbul ignore next */ []));
|
|
2832
|
+
_toggleMessageState = signal(false, ...(ngDevMode ? [{ debugName: "_toggleMessageState" }] : /* istanbul ignore next */ []));
|
|
2833
|
+
_activeMessage = signal(undefined, ...(ngDevMode ? [{ debugName: "_activeMessage" }] : /* istanbul ignore next */ []));
|
|
2834
|
+
_active = signal(false, ...(ngDevMode ? [{ debugName: "_active" }] : /* istanbul ignore next */ []));
|
|
2835
|
+
_messageFilesLayout = signal('vertical', ...(ngDevMode ? [{ debugName: "_messageFilesLayout" }] : /* istanbul ignore next */ []));
|
|
2836
|
+
_timestampVisibility = signal('focus', ...(ngDevMode ? [{ debugName: "_timestampVisibility" }] : /* istanbul ignore next */ []));
|
|
2837
|
+
_showUsername = signal(true, ...(ngDevMode ? [{ debugName: "_showUsername" }] : /* istanbul ignore next */ []));
|
|
2838
|
+
_showAvatar = signal(true, ...(ngDevMode ? [{ debugName: "_showAvatar" }] : /* istanbul ignore next */ []));
|
|
2839
|
+
_reply = signal(undefined, ...(ngDevMode ? [{ debugName: "_reply" }] : /* istanbul ignore next */ []));
|
|
2840
|
+
_calculatedContextMenuActions = signal([], ...(ngDevMode ? [{ debugName: "_calculatedContextMenuActions" }] : /* istanbul ignore next */ []));
|
|
2831
2841
|
subjects = {
|
|
2832
2842
|
toolbarAction: new Subject(),
|
|
2833
2843
|
contextMenuAction: new Subject(),
|
|
@@ -3020,10 +3030,10 @@ class ChatService {
|
|
|
3020
3030
|
}
|
|
3021
3031
|
this[property].set(newValue);
|
|
3022
3032
|
}
|
|
3023
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3024
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3033
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ChatService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3034
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ChatService });
|
|
3025
3035
|
}
|
|
3026
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3036
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ChatService, decorators: [{
|
|
3027
3037
|
type: Injectable
|
|
3028
3038
|
}], ctorParameters: () => [{ type: i0.NgZone }] });
|
|
3029
3039
|
|
|
@@ -3095,9 +3105,9 @@ class ScrollAnchorDirective {
|
|
|
3095
3105
|
_scrollingToMessage = false;
|
|
3096
3106
|
_initialScrollDone = false;
|
|
3097
3107
|
_subs = new Subscription();
|
|
3098
|
-
_autoScroll = signal(true, ...(ngDevMode ? [{ debugName: "_autoScroll" }] : []));
|
|
3099
|
-
_autoScrollThreshold = signal('20%', ...(ngDevMode ? [{ debugName: "_autoScrollThreshold" }] : []));
|
|
3100
|
-
_rangeIsAtEnd = signal(true, ...(ngDevMode ? [{ debugName: "_rangeIsAtEnd" }] : []));
|
|
3108
|
+
_autoScroll = signal(true, ...(ngDevMode ? [{ debugName: "_autoScroll" }] : /* istanbul ignore next */ []));
|
|
3109
|
+
_autoScrollThreshold = signal('20%', ...(ngDevMode ? [{ debugName: "_autoScrollThreshold" }] : /* istanbul ignore next */ []));
|
|
3110
|
+
_rangeIsAtEnd = signal(true, ...(ngDevMode ? [{ debugName: "_rangeIsAtEnd" }] : /* istanbul ignore next */ []));
|
|
3101
3111
|
// Need to ensure that the scroll follows a new streaming message
|
|
3102
3112
|
// until the scroll threshold is reached.
|
|
3103
3113
|
_streamingFollow = false;
|
|
@@ -3423,10 +3433,10 @@ class ScrollAnchorDirective {
|
|
|
3423
3433
|
el.scrollTo({ top: target, behavior });
|
|
3424
3434
|
this.scrolling = true;
|
|
3425
3435
|
}
|
|
3426
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3427
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
3436
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ScrollAnchorDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3437
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: ScrollAnchorDirective, isStandalone: true, selector: "[kendoChatScrollAnchor]", inputs: { autoScroll: "autoScroll", autoScrollThreshold: "autoScrollThreshold", endlessMode: "endlessMode", rangeIsAtEnd: "rangeIsAtEnd" }, outputs: { autoScrollChange: "autoScrollChange", nearTop: "nearTop", nearBottom: "nearBottom" }, host: { properties: { "style.overflow-anchor": "this.overflowAnchor", "style.scroll-behavior": "this.scrollBehaviorStyle" } }, exportAs: ["scrollAnchor"], ngImport: i0 });
|
|
3428
3438
|
}
|
|
3429
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3439
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ScrollAnchorDirective, decorators: [{
|
|
3430
3440
|
type: Directive,
|
|
3431
3441
|
args: [{
|
|
3432
3442
|
selector: '[kendoChatScrollAnchor]',
|
|
@@ -3549,10 +3559,10 @@ class SuggestionsScrollService {
|
|
|
3549
3559
|
this.scrollButtonActiveStateChange.next({ buttonType, active });
|
|
3550
3560
|
}
|
|
3551
3561
|
isDisabled = (buttonType) => this.owner[`${buttonType}ScrollButton`]?.nativeElement.classList.contains('k-disabled');
|
|
3552
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3553
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3562
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: SuggestionsScrollService, deps: [{ token: i0.NgZone }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3563
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: SuggestionsScrollService });
|
|
3554
3564
|
}
|
|
3555
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3565
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: SuggestionsScrollService, decorators: [{
|
|
3556
3566
|
type: Injectable
|
|
3557
3567
|
}], ctorParameters: () => [{ type: i0.NgZone }, { type: i1.LocalizationService }] });
|
|
3558
3568
|
|
|
@@ -3855,33 +3865,33 @@ let Messages$2 = class Messages extends ComponentMessages {
|
|
|
3855
3865
|
get attachedFilesLabel() {
|
|
3856
3866
|
return this._attachedFilesLabel();
|
|
3857
3867
|
}
|
|
3858
|
-
_deletedMessageSenderText = signal(undefined, ...(ngDevMode ? [{ debugName: "_deletedMessageSenderText" }] : []));
|
|
3859
|
-
_deletedMessageReceiverText = signal(undefined, ...(ngDevMode ? [{ debugName: "_deletedMessageReceiverText" }] : []));
|
|
3860
|
-
_messageFailedText = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageFailedText" }] : []));
|
|
3861
|
-
_downloadAllFilesText = signal(undefined, ...(ngDevMode ? [{ debugName: "_downloadAllFilesText" }] : []));
|
|
3862
|
-
_messagePlaceholder = signal(undefined, ...(ngDevMode ? [{ debugName: "_messagePlaceholder" }] : []));
|
|
3863
|
-
_messageBoxTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageBoxTitle" }] : []));
|
|
3864
|
-
_actionButtonTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_actionButtonTitle" }] : []));
|
|
3865
|
-
_messageListLabel = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageListLabel" }] : []));
|
|
3866
|
-
_messageBoxInputLabel = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageBoxInputLabel" }] : []));
|
|
3867
|
-
_messageAttachmentLeftArrow = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageAttachmentLeftArrow" }] : []));
|
|
3868
|
-
_messageAttachmentRightArrow = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageAttachmentRightArrow" }] : []));
|
|
3869
|
-
_speechToTextButtonTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_speechToTextButtonTitle" }] : []));
|
|
3870
|
-
_fileSelectButtonTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_fileSelectButtonTitle" }] : []));
|
|
3871
|
-
_removeReplyTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_removeReplyTitle" }] : []));
|
|
3872
|
-
_removeFileTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_removeFileTitle" }] : []));
|
|
3873
|
-
_expandTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_expandTitle" }] : []));
|
|
3874
|
-
_collapseTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_collapseTitle" }] : []));
|
|
3875
|
-
_fileActionsTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_fileActionsTitle" }] : []));
|
|
3876
|
-
_nextSuggestionsButtonTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_nextSuggestionsButtonTitle" }] : []));
|
|
3877
|
-
_previousSuggestionsButtonTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_previousSuggestionsButtonTitle" }] : []));
|
|
3878
|
-
_unpinMessageTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_unpinMessageTitle" }] : []));
|
|
3879
|
-
_resendButtonTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_resendButtonTitle" }] : []));
|
|
3880
|
-
_attachedFilesLabel = signal(undefined, ...(ngDevMode ? [{ debugName: "_attachedFilesLabel" }] : []));
|
|
3881
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3882
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
3868
|
+
_deletedMessageSenderText = signal(undefined, ...(ngDevMode ? [{ debugName: "_deletedMessageSenderText" }] : /* istanbul ignore next */ []));
|
|
3869
|
+
_deletedMessageReceiverText = signal(undefined, ...(ngDevMode ? [{ debugName: "_deletedMessageReceiverText" }] : /* istanbul ignore next */ []));
|
|
3870
|
+
_messageFailedText = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageFailedText" }] : /* istanbul ignore next */ []));
|
|
3871
|
+
_downloadAllFilesText = signal(undefined, ...(ngDevMode ? [{ debugName: "_downloadAllFilesText" }] : /* istanbul ignore next */ []));
|
|
3872
|
+
_messagePlaceholder = signal(undefined, ...(ngDevMode ? [{ debugName: "_messagePlaceholder" }] : /* istanbul ignore next */ []));
|
|
3873
|
+
_messageBoxTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageBoxTitle" }] : /* istanbul ignore next */ []));
|
|
3874
|
+
_actionButtonTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_actionButtonTitle" }] : /* istanbul ignore next */ []));
|
|
3875
|
+
_messageListLabel = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageListLabel" }] : /* istanbul ignore next */ []));
|
|
3876
|
+
_messageBoxInputLabel = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageBoxInputLabel" }] : /* istanbul ignore next */ []));
|
|
3877
|
+
_messageAttachmentLeftArrow = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageAttachmentLeftArrow" }] : /* istanbul ignore next */ []));
|
|
3878
|
+
_messageAttachmentRightArrow = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageAttachmentRightArrow" }] : /* istanbul ignore next */ []));
|
|
3879
|
+
_speechToTextButtonTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_speechToTextButtonTitle" }] : /* istanbul ignore next */ []));
|
|
3880
|
+
_fileSelectButtonTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_fileSelectButtonTitle" }] : /* istanbul ignore next */ []));
|
|
3881
|
+
_removeReplyTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_removeReplyTitle" }] : /* istanbul ignore next */ []));
|
|
3882
|
+
_removeFileTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_removeFileTitle" }] : /* istanbul ignore next */ []));
|
|
3883
|
+
_expandTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_expandTitle" }] : /* istanbul ignore next */ []));
|
|
3884
|
+
_collapseTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_collapseTitle" }] : /* istanbul ignore next */ []));
|
|
3885
|
+
_fileActionsTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_fileActionsTitle" }] : /* istanbul ignore next */ []));
|
|
3886
|
+
_nextSuggestionsButtonTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_nextSuggestionsButtonTitle" }] : /* istanbul ignore next */ []));
|
|
3887
|
+
_previousSuggestionsButtonTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_previousSuggestionsButtonTitle" }] : /* istanbul ignore next */ []));
|
|
3888
|
+
_unpinMessageTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_unpinMessageTitle" }] : /* istanbul ignore next */ []));
|
|
3889
|
+
_resendButtonTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_resendButtonTitle" }] : /* istanbul ignore next */ []));
|
|
3890
|
+
_attachedFilesLabel = signal(undefined, ...(ngDevMode ? [{ debugName: "_attachedFilesLabel" }] : /* istanbul ignore next */ []));
|
|
3891
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
3892
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: Messages, isStandalone: true, selector: "kendoConversationalUIMessages", inputs: { deletedMessageSenderText: "deletedMessageSenderText", deletedMessageReceiverText: "deletedMessageReceiverText", messageFailedText: "messageFailedText", downloadAllFilesText: "downloadAllFilesText", messagePlaceholder: "messagePlaceholder", messageBoxTitle: "messageBoxTitle", actionButtonTitle: "actionButtonTitle", messageListLabel: "messageListLabel", messageBoxInputLabel: "messageBoxInputLabel", messageAttachmentLeftArrow: "messageAttachmentLeftArrow", messageAttachmentRightArrow: "messageAttachmentRightArrow", speechToTextButtonTitle: "speechToTextButtonTitle", fileSelectButtonTitle: "fileSelectButtonTitle", removeReplyTitle: "removeReplyTitle", removeFileTitle: "removeFileTitle", expandTitle: "expandTitle", collapseTitle: "collapseTitle", fileActionsTitle: "fileActionsTitle", nextSuggestionsButtonTitle: "nextSuggestionsButtonTitle", previousSuggestionsButtonTitle: "previousSuggestionsButtonTitle", unpinMessageTitle: "unpinMessageTitle", resendButtonTitle: "resendButtonTitle", attachedFilesLabel: "attachedFilesLabel" }, usesInheritance: true, ngImport: i0 });
|
|
3883
3893
|
};
|
|
3884
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3894
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: Messages$2, decorators: [{
|
|
3885
3895
|
type: Directive,
|
|
3886
3896
|
args: [{
|
|
3887
3897
|
selector: 'kendoConversationalUIMessages'
|
|
@@ -3944,15 +3954,15 @@ let LocalizedMessagesDirective$3 = class LocalizedMessagesDirective extends Mess
|
|
|
3944
3954
|
super();
|
|
3945
3955
|
this.service = service;
|
|
3946
3956
|
}
|
|
3947
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3948
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
3957
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3958
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoChatLocalizedMessages]", providers: [
|
|
3949
3959
|
{
|
|
3950
3960
|
provide: Messages$2,
|
|
3951
3961
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
3952
3962
|
}
|
|
3953
3963
|
], usesInheritance: true, ngImport: i0 });
|
|
3954
3964
|
};
|
|
3955
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3965
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: LocalizedMessagesDirective$3, decorators: [{
|
|
3956
3966
|
type: Directive,
|
|
3957
3967
|
args: [{
|
|
3958
3968
|
providers: [
|
|
@@ -3983,10 +3993,10 @@ class PromptBoxEndAffixComponent {
|
|
|
3983
3993
|
* @hidden
|
|
3984
3994
|
*/
|
|
3985
3995
|
templateRef;
|
|
3986
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3987
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
3996
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: PromptBoxEndAffixComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3997
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.26", type: PromptBoxEndAffixComponent, isStandalone: true, selector: "kendo-promptbox-end-affix", viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["template"], descendants: true, static: true }], exportAs: ["kendoPromptBoxEndAffix"], ngImport: i0, template: `<ng-template #template><ng-content></ng-content></ng-template>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3988
3998
|
}
|
|
3989
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3999
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: PromptBoxEndAffixComponent, decorators: [{
|
|
3990
4000
|
type: Component,
|
|
3991
4001
|
args: [{
|
|
3992
4002
|
exportAs: 'kendoPromptBoxEndAffix',
|
|
@@ -4017,10 +4027,10 @@ class PromptBoxStartAffixComponent {
|
|
|
4017
4027
|
* @hidden
|
|
4018
4028
|
*/
|
|
4019
4029
|
templateRef;
|
|
4020
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4021
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
4030
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: PromptBoxStartAffixComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4031
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.26", type: PromptBoxStartAffixComponent, isStandalone: true, selector: "kendo-promptbox-start-affix", viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["template"], descendants: true, static: true }], exportAs: ["kendoPromptBoxStartAffix"], ngImport: i0, template: `<ng-template #template><ng-content></ng-content></ng-template>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4022
4032
|
}
|
|
4023
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4033
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: PromptBoxStartAffixComponent, decorators: [{
|
|
4024
4034
|
type: Component,
|
|
4025
4035
|
args: [{
|
|
4026
4036
|
exportAs: 'kendoPromptBoxStartAffix',
|
|
@@ -4051,10 +4061,10 @@ class PromptBoxTopAffixComponent {
|
|
|
4051
4061
|
* @hidden
|
|
4052
4062
|
*/
|
|
4053
4063
|
templateRef;
|
|
4054
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4055
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
4064
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: PromptBoxTopAffixComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4065
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.26", type: PromptBoxTopAffixComponent, isStandalone: true, selector: "kendo-promptbox-top-affix", viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["template"], descendants: true, static: true }], exportAs: ["kendoPromptBoxTopAffix"], ngImport: i0, template: `<ng-template #template><ng-content></ng-content></ng-template>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4056
4066
|
}
|
|
4057
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4067
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: PromptBoxTopAffixComponent, decorators: [{
|
|
4058
4068
|
type: Component,
|
|
4059
4069
|
args: [{
|
|
4060
4070
|
exportAs: 'kendoPromptBoxTopAffix',
|
|
@@ -4078,10 +4088,10 @@ class PromptBoxHeaderTemplateDirective {
|
|
|
4078
4088
|
constructor(templateRef) {
|
|
4079
4089
|
this.templateRef = templateRef;
|
|
4080
4090
|
}
|
|
4081
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4082
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4091
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: PromptBoxHeaderTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4092
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: PromptBoxHeaderTemplateDirective, isStandalone: true, selector: "[kendoPromptBoxHeaderTemplate]", ngImport: i0 });
|
|
4083
4093
|
}
|
|
4084
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4094
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: PromptBoxHeaderTemplateDirective, decorators: [{
|
|
4085
4095
|
type: Directive,
|
|
4086
4096
|
args: [{
|
|
4087
4097
|
selector: '[kendoPromptBoxHeaderTemplate]',
|
|
@@ -4158,17 +4168,17 @@ let Messages$1 = class Messages extends ComponentMessages {
|
|
|
4158
4168
|
get attachedFilesLabel() {
|
|
4159
4169
|
return this._attachedFilesLabel();
|
|
4160
4170
|
}
|
|
4161
|
-
_fileSelectButtonTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_fileSelectButtonTitle" }] : []));
|
|
4162
|
-
_actionButtonTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_actionButtonTitle" }] : []));
|
|
4163
|
-
_stopGeneratingTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_stopGeneratingTitle" }] : []));
|
|
4164
|
-
_speechToTextButtonTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_speechToTextButtonTitle" }] : []));
|
|
4165
|
-
_removeFileTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_removeFileTitle" }] : []));
|
|
4166
|
-
_messageBoxTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageBoxTitle" }] : []));
|
|
4167
|
-
_attachedFilesLabel = signal(undefined, ...(ngDevMode ? [{ debugName: "_attachedFilesLabel" }] : []));
|
|
4168
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4169
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4171
|
+
_fileSelectButtonTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_fileSelectButtonTitle" }] : /* istanbul ignore next */ []));
|
|
4172
|
+
_actionButtonTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_actionButtonTitle" }] : /* istanbul ignore next */ []));
|
|
4173
|
+
_stopGeneratingTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_stopGeneratingTitle" }] : /* istanbul ignore next */ []));
|
|
4174
|
+
_speechToTextButtonTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_speechToTextButtonTitle" }] : /* istanbul ignore next */ []));
|
|
4175
|
+
_removeFileTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_removeFileTitle" }] : /* istanbul ignore next */ []));
|
|
4176
|
+
_messageBoxTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageBoxTitle" }] : /* istanbul ignore next */ []));
|
|
4177
|
+
_attachedFilesLabel = signal(undefined, ...(ngDevMode ? [{ debugName: "_attachedFilesLabel" }] : /* istanbul ignore next */ []));
|
|
4178
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4179
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: Messages, isStandalone: true, inputs: { fileSelectButtonTitle: "fileSelectButtonTitle", actionButtonTitle: "actionButtonTitle", stopGeneratingTitle: "stopGeneratingTitle", speechToTextButtonTitle: "speechToTextButtonTitle", removeFileTitle: "removeFileTitle", messageBoxTitle: "messageBoxTitle", attachedFilesLabel: "attachedFilesLabel" }, usesInheritance: true, ngImport: i0 });
|
|
4170
4180
|
};
|
|
4171
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4181
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: Messages$1, decorators: [{
|
|
4172
4182
|
type: Directive
|
|
4173
4183
|
}], propDecorators: { fileSelectButtonTitle: [{
|
|
4174
4184
|
type: Input
|
|
@@ -4207,15 +4217,15 @@ class PromptBoxCustomMessagesComponent extends Messages$1 {
|
|
|
4207
4217
|
get override() {
|
|
4208
4218
|
return true;
|
|
4209
4219
|
}
|
|
4210
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4211
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
4220
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: PromptBoxCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4221
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.26", type: PromptBoxCustomMessagesComponent, isStandalone: true, selector: "kendo-promptbox-messages", providers: [
|
|
4212
4222
|
{
|
|
4213
4223
|
provide: Messages$1,
|
|
4214
4224
|
useExisting: forwardRef(() => PromptBoxCustomMessagesComponent)
|
|
4215
4225
|
}
|
|
4216
4226
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4217
4227
|
}
|
|
4218
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4228
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: PromptBoxCustomMessagesComponent, decorators: [{
|
|
4219
4229
|
type: Component,
|
|
4220
4230
|
args: [{
|
|
4221
4231
|
providers: [
|
|
@@ -4319,15 +4329,15 @@ let LocalizedMessagesDirective$2 = class LocalizedMessagesDirective extends Mess
|
|
|
4319
4329
|
super();
|
|
4320
4330
|
this.service = service;
|
|
4321
4331
|
}
|
|
4322
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4323
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4332
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4333
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoPromptBoxLocalizedMessages]", providers: [
|
|
4324
4334
|
{
|
|
4325
4335
|
provide: Messages$1,
|
|
4326
4336
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
4327
4337
|
}
|
|
4328
4338
|
], usesInheritance: true, ngImport: i0 });
|
|
4329
4339
|
};
|
|
4330
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4340
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: LocalizedMessagesDirective$2, decorators: [{
|
|
4331
4341
|
type: Directive,
|
|
4332
4342
|
args: [{
|
|
4333
4343
|
providers: [
|
|
@@ -4446,20 +4456,20 @@ class PromptBoxBaseTool {
|
|
|
4446
4456
|
* @hidden
|
|
4447
4457
|
*/
|
|
4448
4458
|
sizeChange = new EventEmitter();
|
|
4449
|
-
_disabled = signal(undefined, ...(ngDevMode ? [{ debugName: "_disabled" }] : []));
|
|
4450
|
-
_fillMode = signal(undefined, ...(ngDevMode ? [{ debugName: "_fillMode" }] : []));
|
|
4451
|
-
_icon = signal(undefined, ...(ngDevMode ? [{ debugName: "_icon" }] : []));
|
|
4452
|
-
_iconClass = signal(undefined, ...(ngDevMode ? [{ debugName: "_iconClass" }] : []));
|
|
4453
|
-
_imageUrl = signal(undefined, ...(ngDevMode ? [{ debugName: "_imageUrl" }] : []));
|
|
4454
|
-
_svgIcon = signal(undefined, ...(ngDevMode ? [{ debugName: "_svgIcon" }] : []));
|
|
4455
|
-
_rounded = signal(undefined, ...(ngDevMode ? [{ debugName: "_rounded" }] : []));
|
|
4456
|
-
_size = signal(undefined, ...(ngDevMode ? [{ debugName: "_size" }] : []));
|
|
4457
|
-
_themeColor = signal(undefined, ...(ngDevMode ? [{ debugName: "_themeColor" }] : []));
|
|
4458
|
-
_title = signal(undefined, ...(ngDevMode ? [{ debugName: "_title" }] : []));
|
|
4459
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4460
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4459
|
+
_disabled = signal(undefined, ...(ngDevMode ? [{ debugName: "_disabled" }] : /* istanbul ignore next */ []));
|
|
4460
|
+
_fillMode = signal(undefined, ...(ngDevMode ? [{ debugName: "_fillMode" }] : /* istanbul ignore next */ []));
|
|
4461
|
+
_icon = signal(undefined, ...(ngDevMode ? [{ debugName: "_icon" }] : /* istanbul ignore next */ []));
|
|
4462
|
+
_iconClass = signal(undefined, ...(ngDevMode ? [{ debugName: "_iconClass" }] : /* istanbul ignore next */ []));
|
|
4463
|
+
_imageUrl = signal(undefined, ...(ngDevMode ? [{ debugName: "_imageUrl" }] : /* istanbul ignore next */ []));
|
|
4464
|
+
_svgIcon = signal(undefined, ...(ngDevMode ? [{ debugName: "_svgIcon" }] : /* istanbul ignore next */ []));
|
|
4465
|
+
_rounded = signal(undefined, ...(ngDevMode ? [{ debugName: "_rounded" }] : /* istanbul ignore next */ []));
|
|
4466
|
+
_size = signal(undefined, ...(ngDevMode ? [{ debugName: "_size" }] : /* istanbul ignore next */ []));
|
|
4467
|
+
_themeColor = signal(undefined, ...(ngDevMode ? [{ debugName: "_themeColor" }] : /* istanbul ignore next */ []));
|
|
4468
|
+
_title = signal(undefined, ...(ngDevMode ? [{ debugName: "_title" }] : /* istanbul ignore next */ []));
|
|
4469
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: PromptBoxBaseTool, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4470
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: PromptBoxBaseTool, isStandalone: true, inputs: { disabled: "disabled", fillMode: "fillMode", icon: "icon", iconClass: "iconClass", imageUrl: "imageUrl", svgIcon: "svgIcon", rounded: "rounded", size: "size", themeColor: "themeColor", title: "title" }, outputs: { sizeChange: "sizeChange" }, ngImport: i0 });
|
|
4461
4471
|
}
|
|
4462
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4472
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: PromptBoxBaseTool, decorators: [{
|
|
4463
4473
|
type: Directive
|
|
4464
4474
|
}], propDecorators: { disabled: [{
|
|
4465
4475
|
type: Input
|
|
@@ -4546,10 +4556,10 @@ class PromptBoxActionButtonComponent extends PromptBoxBaseTool {
|
|
|
4546
4556
|
* @hidden
|
|
4547
4557
|
*/
|
|
4548
4558
|
promptAction = new EventEmitter();
|
|
4549
|
-
_buttonClass = signal(undefined, ...(ngDevMode ? [{ debugName: "_buttonClass" }] : []));
|
|
4550
|
-
_loading = signal(false, ...(ngDevMode ? [{ debugName: "_loading" }] : []));
|
|
4551
|
-
_loadingIcon = signal('stop', ...(ngDevMode ? [{ debugName: "_loadingIcon" }] : []));
|
|
4552
|
-
_loadingSVGIcon = signal(stopIcon, ...(ngDevMode ? [{ debugName: "_loadingSVGIcon" }] : []));
|
|
4559
|
+
_buttonClass = signal(undefined, ...(ngDevMode ? [{ debugName: "_buttonClass" }] : /* istanbul ignore next */ []));
|
|
4560
|
+
_loading = signal(false, ...(ngDevMode ? [{ debugName: "_loading" }] : /* istanbul ignore next */ []));
|
|
4561
|
+
_loadingIcon = signal('stop', ...(ngDevMode ? [{ debugName: "_loadingIcon" }] : /* istanbul ignore next */ []));
|
|
4562
|
+
_loadingSVGIcon = signal(stopIcon, ...(ngDevMode ? [{ debugName: "_loadingSVGIcon" }] : /* istanbul ignore next */ []));
|
|
4553
4563
|
constructor(localization) {
|
|
4554
4564
|
super();
|
|
4555
4565
|
this.localization = localization;
|
|
@@ -4572,8 +4582,8 @@ class PromptBoxActionButtonComponent extends PromptBoxBaseTool {
|
|
|
4572
4582
|
textFor(key) {
|
|
4573
4583
|
return this.localization.get(key);
|
|
4574
4584
|
}
|
|
4575
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4576
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
4585
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: PromptBoxActionButtonComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4586
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.26", type: PromptBoxActionButtonComponent, isStandalone: true, selector: "kendo-promptbox-action-button", inputs: { buttonClass: "buttonClass", loading: "loading", loadingIcon: "loadingIcon", loadingSVGIcon: "loadingSVGIcon" }, outputs: { promptAction: "promptAction" }, providers: [
|
|
4577
4587
|
{
|
|
4578
4588
|
provide: PromptBoxBaseTool,
|
|
4579
4589
|
useExisting: forwardRef(() => PromptBoxActionButtonComponent),
|
|
@@ -4598,7 +4608,7 @@ class PromptBoxActionButtonComponent extends PromptBoxBaseTool {
|
|
|
4598
4608
|
></button>
|
|
4599
4609
|
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "endIcon", "endSvgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4600
4610
|
}
|
|
4601
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4611
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: PromptBoxActionButtonComponent, decorators: [{
|
|
4602
4612
|
type: Component,
|
|
4603
4613
|
args: [{
|
|
4604
4614
|
exportAs: 'kendoPromptBoxActionButton',
|
|
@@ -4697,9 +4707,9 @@ class PromptBoxFileSelectButtonComponent extends PromptBoxBaseTool {
|
|
|
4697
4707
|
* @hidden
|
|
4698
4708
|
*/
|
|
4699
4709
|
selectAttachments = new EventEmitter();
|
|
4700
|
-
_restrictions = signal(null, ...(ngDevMode ? [{ debugName: "_restrictions" }] : []));
|
|
4701
|
-
_multiple = signal(true, ...(ngDevMode ? [{ debugName: "_multiple" }] : []));
|
|
4702
|
-
_accept = signal(null, ...(ngDevMode ? [{ debugName: "_accept" }] : []));
|
|
4710
|
+
_restrictions = signal(null, ...(ngDevMode ? [{ debugName: "_restrictions" }] : /* istanbul ignore next */ []));
|
|
4711
|
+
_multiple = signal(true, ...(ngDevMode ? [{ debugName: "_multiple" }] : /* istanbul ignore next */ []));
|
|
4712
|
+
_accept = signal(null, ...(ngDevMode ? [{ debugName: "_accept" }] : /* istanbul ignore next */ []));
|
|
4703
4713
|
constructor(localization) {
|
|
4704
4714
|
super();
|
|
4705
4715
|
this.localization = localization;
|
|
@@ -4731,8 +4741,8 @@ class PromptBoxFileSelectButtonComponent extends PromptBoxBaseTool {
|
|
|
4731
4741
|
event.files = allowedFiles;
|
|
4732
4742
|
this.selectAttachments.emit(event);
|
|
4733
4743
|
}
|
|
4734
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4735
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
4744
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: PromptBoxFileSelectButtonComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4745
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.26", type: PromptBoxFileSelectButtonComponent, isStandalone: true, selector: "kendo-promptbox-fileselect-button", inputs: { restrictions: "restrictions", multiple: "multiple", accept: "accept" }, outputs: { selectAttachments: "selectAttachments" }, providers: [
|
|
4736
4746
|
{
|
|
4737
4747
|
provide: PromptBoxBaseTool,
|
|
4738
4748
|
useExisting: forwardRef(() => PromptBoxFileSelectButtonComponent),
|
|
@@ -4764,7 +4774,7 @@ class PromptBoxFileSelectButtonComponent extends PromptBoxBaseTool {
|
|
|
4764
4774
|
></kendo-fileselect>
|
|
4765
4775
|
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "endIcon", "endSvgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: FileSelectComponent, selector: "kendo-fileselect", inputs: ["name"], outputs: ["valueChange"], exportAs: ["kendoFileSelect"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4766
4776
|
}
|
|
4767
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4777
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: PromptBoxFileSelectButtonComponent, decorators: [{
|
|
4768
4778
|
type: Component,
|
|
4769
4779
|
args: [{
|
|
4770
4780
|
exportAs: 'kendoPromptBoxFileSelectButton',
|
|
@@ -4852,10 +4862,10 @@ class PromptBoxFileComponent {
|
|
|
4852
4862
|
return `${this.promptBoxFile?.name || ''} ${this.getTotalFilesSizeMessage(this.promptBoxFile)}`.trim();
|
|
4853
4863
|
}
|
|
4854
4864
|
remove = new EventEmitter();
|
|
4855
|
-
_promptBoxFile = signal(undefined, ...(ngDevMode ? [{ debugName: "_promptBoxFile" }] : []));
|
|
4856
|
-
_removable = signal(false, ...(ngDevMode ? [{ debugName: "_removable" }] : []));
|
|
4857
|
-
_fileActions = signal(undefined, ...(ngDevMode ? [{ debugName: "_fileActions" }] : []));
|
|
4858
|
-
_disabled = signal(false, ...(ngDevMode ? [{ debugName: "_disabled" }] : []));
|
|
4865
|
+
_promptBoxFile = signal(undefined, ...(ngDevMode ? [{ debugName: "_promptBoxFile" }] : /* istanbul ignore next */ []));
|
|
4866
|
+
_removable = signal(false, ...(ngDevMode ? [{ debugName: "_removable" }] : /* istanbul ignore next */ []));
|
|
4867
|
+
_fileActions = signal(undefined, ...(ngDevMode ? [{ debugName: "_fileActions" }] : /* istanbul ignore next */ []));
|
|
4868
|
+
_disabled = signal(false, ...(ngDevMode ? [{ debugName: "_disabled" }] : /* istanbul ignore next */ []));
|
|
4859
4869
|
deleteIcon = xCircleIcon;
|
|
4860
4870
|
moreIcon = moreVerticalIcon;
|
|
4861
4871
|
constructor(localization) {
|
|
@@ -4874,8 +4884,8 @@ class PromptBoxFileComponent {
|
|
|
4874
4884
|
return this.localization.get(key);
|
|
4875
4885
|
}
|
|
4876
4886
|
focus() { }
|
|
4877
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4878
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
4887
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: PromptBoxFileComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4888
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.26", type: PromptBoxFileComponent, isStandalone: true, selector: "li[promptBoxFile]", inputs: { promptBoxFile: "promptBoxFile", removable: "removable", fileActions: "fileActions", disabled: "disabled" }, outputs: { remove: "remove" }, host: { properties: { "attr.role": "this.role", "attr.aria-label": "this.ariaLabel" } }, ngImport: i0, template: `
|
|
4879
4889
|
<kendo-icon-wrapper
|
|
4880
4890
|
size="xlarge"
|
|
4881
4891
|
[name]="fileGroupClass(promptBoxFile.extension)"
|
|
@@ -4900,7 +4910,7 @@ class PromptBoxFileComponent {
|
|
|
4900
4910
|
}
|
|
4901
4911
|
`, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "endIcon", "endSvgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4902
4912
|
}
|
|
4903
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4913
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: PromptBoxFileComponent, decorators: [{
|
|
4904
4914
|
type: Component,
|
|
4905
4915
|
args: [{
|
|
4906
4916
|
selector: 'li[promptBoxFile]',
|
|
@@ -5019,11 +5029,11 @@ class PromptBoxSpeechToTextButtonComponent extends PromptBoxBaseTool {
|
|
|
5019
5029
|
get maxAlternatives() {
|
|
5020
5030
|
return this._maxAlternatives();
|
|
5021
5031
|
}
|
|
5022
|
-
_continuous = signal(false, ...(ngDevMode ? [{ debugName: "_continuous" }] : []));
|
|
5023
|
-
_integrationMode = signal('webSpeech', ...(ngDevMode ? [{ debugName: "_integrationMode" }] : []));
|
|
5024
|
-
_interimResults = signal(false, ...(ngDevMode ? [{ debugName: "_interimResults" }] : []));
|
|
5025
|
-
_lang = signal('en-US', ...(ngDevMode ? [{ debugName: "_lang" }] : []));
|
|
5026
|
-
_maxAlternatives = signal(1, ...(ngDevMode ? [{ debugName: "_maxAlternatives" }] : []));
|
|
5032
|
+
_continuous = signal(false, ...(ngDevMode ? [{ debugName: "_continuous" }] : /* istanbul ignore next */ []));
|
|
5033
|
+
_integrationMode = signal('webSpeech', ...(ngDevMode ? [{ debugName: "_integrationMode" }] : /* istanbul ignore next */ []));
|
|
5034
|
+
_interimResults = signal(false, ...(ngDevMode ? [{ debugName: "_interimResults" }] : /* istanbul ignore next */ []));
|
|
5035
|
+
_lang = signal('en-US', ...(ngDevMode ? [{ debugName: "_lang" }] : /* istanbul ignore next */ []));
|
|
5036
|
+
_maxAlternatives = signal(1, ...(ngDevMode ? [{ debugName: "_maxAlternatives" }] : /* istanbul ignore next */ []));
|
|
5027
5037
|
/**
|
|
5028
5038
|
* Fires when the user clicks the **Speech to Text** button.
|
|
5029
5039
|
* @hidden
|
|
@@ -5062,8 +5072,8 @@ class PromptBoxSpeechToTextButtonComponent extends PromptBoxBaseTool {
|
|
|
5062
5072
|
textFor(key) {
|
|
5063
5073
|
return this.localization.get(key);
|
|
5064
5074
|
}
|
|
5065
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5066
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
5075
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: PromptBoxSpeechToTextButtonComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
5076
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.26", type: PromptBoxSpeechToTextButtonComponent, isStandalone: true, selector: "kendo-promptbox-speech-to-text-button", inputs: { continuous: "continuous", integrationMode: "integrationMode", interimResults: "interimResults", lang: "lang", maxAlternatives: "maxAlternatives" }, outputs: { stbClick: "stbClick", stbStart: "stbStart", stbEnd: "stbEnd", stbError: "stbError", stbResult: "stbResult" }, providers: [
|
|
5067
5077
|
{
|
|
5068
5078
|
provide: PromptBoxBaseTool,
|
|
5069
5079
|
useExisting: forwardRef(() => PromptBoxSpeechToTextButtonComponent),
|
|
@@ -5091,7 +5101,7 @@ class PromptBoxSpeechToTextButtonComponent extends PromptBoxBaseTool {
|
|
|
5091
5101
|
></button>
|
|
5092
5102
|
`, isInline: true, dependencies: [{ kind: "component", type: SpeechToTextButtonComponent, selector: "button[kendoSpeechToTextButton]", inputs: ["disabled", "size", "rounded", "fillMode", "themeColor", "integrationMode", "lang", "continuous", "interimResults", "maxAlternatives"], outputs: ["start", "end", "result", "error", "click"], exportAs: ["kendoSpeechToTextButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5093
5103
|
}
|
|
5094
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: PromptBoxSpeechToTextButtonComponent, decorators: [{
|
|
5095
5105
|
type: Component,
|
|
5096
5106
|
args: [{
|
|
5097
5107
|
exportAs: 'kendoPromptBoxSpeechToTextButton',
|
|
@@ -5553,30 +5563,30 @@ class PromptBoxComponent {
|
|
|
5553
5563
|
get hasFilesOverflow() {
|
|
5554
5564
|
return this._hasFilesOverflow();
|
|
5555
5565
|
}
|
|
5556
|
-
_value = signal('', ...(ngDevMode ? [{ debugName: "_value" }] : []));
|
|
5557
|
-
_mode = signal('auto', ...(ngDevMode ? [{ debugName: "_mode" }] : []));
|
|
5558
|
-
_rows = signal(1, ...(ngDevMode ? [{ debugName: "_rows" }] : []));
|
|
5566
|
+
_value = signal('', ...(ngDevMode ? [{ debugName: "_value" }] : /* istanbul ignore next */ []));
|
|
5567
|
+
_mode = signal('auto', ...(ngDevMode ? [{ debugName: "_mode" }] : /* istanbul ignore next */ []));
|
|
5568
|
+
_rows = signal(1, ...(ngDevMode ? [{ debugName: "_rows" }] : /* istanbul ignore next */ []));
|
|
5559
5569
|
initialHeight = 0;
|
|
5560
5570
|
singleRowHeight = 0;
|
|
5561
5571
|
singleLineWidth = 0;
|
|
5562
|
-
_maxTextAreaHeight = signal(undefined, ...(ngDevMode ? [{ debugName: "_maxTextAreaHeight" }] : []));
|
|
5563
|
-
_actionButtonSettings = signal(ACTION_BUTTON_DEFAULT_SETTINGS, ...(ngDevMode ? [{ debugName: "_actionButtonSettings" }] : []));
|
|
5564
|
-
_fileSelectButtonSettings = signal(null, ...(ngDevMode ? [{ debugName: "_fileSelectButtonSettings" }] : []));
|
|
5565
|
-
_speechToTextButtonSettings = signal(STB_DEFAULT_SETTINGS, ...(ngDevMode ? [{ debugName: "_speechToTextButtonSettings" }] : []));
|
|
5572
|
+
_maxTextAreaHeight = signal(undefined, ...(ngDevMode ? [{ debugName: "_maxTextAreaHeight" }] : /* istanbul ignore next */ []));
|
|
5573
|
+
_actionButtonSettings = signal(ACTION_BUTTON_DEFAULT_SETTINGS, ...(ngDevMode ? [{ debugName: "_actionButtonSettings" }] : /* istanbul ignore next */ []));
|
|
5574
|
+
_fileSelectButtonSettings = signal(null, ...(ngDevMode ? [{ debugName: "_fileSelectButtonSettings" }] : /* istanbul ignore next */ []));
|
|
5575
|
+
_speechToTextButtonSettings = signal(STB_DEFAULT_SETTINGS, ...(ngDevMode ? [{ debugName: "_speechToTextButtonSettings" }] : /* istanbul ignore next */ []));
|
|
5566
5576
|
hostWidthAtCapture = 0;
|
|
5567
5577
|
minMultiRowHeight = 0;
|
|
5568
|
-
_disabled = signal(false, ...(ngDevMode ? [{ debugName: "_disabled" }] : []));
|
|
5569
|
-
_focusableId = signal(`k-${guid()}`, ...(ngDevMode ? [{ debugName: "_focusableId" }] : []));
|
|
5570
|
-
_loading = signal(false, ...(ngDevMode ? [{ debugName: "_loading" }] : []));
|
|
5571
|
-
_placeholder = signal('', ...(ngDevMode ? [{ debugName: "_placeholder" }] : []));
|
|
5572
|
-
_readonly = signal(false, ...(ngDevMode ? [{ debugName: "_readonly" }] : []));
|
|
5573
|
-
_title = signal('', ...(ngDevMode ? [{ debugName: "_title" }] : []));
|
|
5574
|
-
_hasExpanded = signal(false, ...(ngDevMode ? [{ debugName: "_hasExpanded" }] : []));
|
|
5575
|
-
_isListening = signal(false, ...(ngDevMode ? [{ debugName: "_isListening" }] : []));
|
|
5576
|
-
_attachments = signal([], ...(ngDevMode ? [{ debugName: "_attachments" }] : []));
|
|
5577
|
-
_filesListScrollAtStart = signal(false, ...(ngDevMode ? [{ debugName: "_filesListScrollAtStart" }] : []));
|
|
5578
|
-
_filesListScrollAtEnd = signal(false, ...(ngDevMode ? [{ debugName: "_filesListScrollAtEnd" }] : []));
|
|
5579
|
-
_hasFilesOverflow = signal(false, ...(ngDevMode ? [{ debugName: "_hasFilesOverflow" }] : []));
|
|
5578
|
+
_disabled = signal(false, ...(ngDevMode ? [{ debugName: "_disabled" }] : /* istanbul ignore next */ []));
|
|
5579
|
+
_focusableId = signal(`k-${guid()}`, ...(ngDevMode ? [{ debugName: "_focusableId" }] : /* istanbul ignore next */ []));
|
|
5580
|
+
_loading = signal(false, ...(ngDevMode ? [{ debugName: "_loading" }] : /* istanbul ignore next */ []));
|
|
5581
|
+
_placeholder = signal('', ...(ngDevMode ? [{ debugName: "_placeholder" }] : /* istanbul ignore next */ []));
|
|
5582
|
+
_readonly = signal(false, ...(ngDevMode ? [{ debugName: "_readonly" }] : /* istanbul ignore next */ []));
|
|
5583
|
+
_title = signal('', ...(ngDevMode ? [{ debugName: "_title" }] : /* istanbul ignore next */ []));
|
|
5584
|
+
_hasExpanded = signal(false, ...(ngDevMode ? [{ debugName: "_hasExpanded" }] : /* istanbul ignore next */ []));
|
|
5585
|
+
_isListening = signal(false, ...(ngDevMode ? [{ debugName: "_isListening" }] : /* istanbul ignore next */ []));
|
|
5586
|
+
_attachments = signal([], ...(ngDevMode ? [{ debugName: "_attachments" }] : /* istanbul ignore next */ []));
|
|
5587
|
+
_filesListScrollAtStart = signal(false, ...(ngDevMode ? [{ debugName: "_filesListScrollAtStart" }] : /* istanbul ignore next */ []));
|
|
5588
|
+
_filesListScrollAtEnd = signal(false, ...(ngDevMode ? [{ debugName: "_filesListScrollAtEnd" }] : /* istanbul ignore next */ []));
|
|
5589
|
+
_hasFilesOverflow = signal(false, ...(ngDevMode ? [{ debugName: "_hasFilesOverflow" }] : /* istanbul ignore next */ []));
|
|
5580
5590
|
resizeSubscription;
|
|
5581
5591
|
speechToTextSubscription = new Subscription();
|
|
5582
5592
|
actionButtonSubscription = new Subscription();
|
|
@@ -6039,8 +6049,8 @@ class PromptBoxComponent {
|
|
|
6039
6049
|
this.fileSelectSubscription.add(this.fileSelectButtonComponent.selectAttachments.subscribe((event) => this.handleFileSelectAttachments(event)));
|
|
6040
6050
|
this.fileSelectSubscription.add(this.fileSelectButtonComponent.sizeChange.subscribe(() => this.update()));
|
|
6041
6051
|
}
|
|
6042
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6043
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
6052
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: PromptBoxComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i1.LocalizationService }, { token: i0.ElementRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
6053
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.26", type: PromptBoxComponent, isStandalone: true, selector: "kendo-promptbox", inputs: { disabled: "disabled", focusableId: "focusableId", loading: "loading", placeholder: "placeholder", readonly: "readonly", title: "title", mode: "mode", rows: "rows", maxTextAreaHeight: "maxTextAreaHeight", value: "value", actionButton: "actionButton", fileSelectButton: "fileSelectButton", speechToTextButton: "speechToTextButton" }, outputs: { valueChange: "valueChange", onFocus: "focus", onBlur: "blur", inputFocus: "inputFocus", inputBlur: "inputBlur", promptAction: "promptAction", selectAttachments: "selectAttachments", fileRemove: "fileRemove", speechToTextClick: "speechToTextClick", speechToTextStart: "speechToTextStart", speechToTextEnd: "speechToTextEnd", speechToTextError: "speechToTextError", speechToTextResult: "speechToTextResult" }, host: { properties: { "class.k-prompt-box-singleline": "this.hostSinglelineClass", "class.k-prompt-box-multiline": "this.hostMultilineClass", "class.k-disabled": "this.hostDisabledClass" } }, providers: [
|
|
6044
6054
|
LocalizationService,
|
|
6045
6055
|
{
|
|
6046
6056
|
provide: L10N_PREFIX,
|
|
@@ -6239,7 +6249,7 @@ class PromptBoxComponent {
|
|
|
6239
6249
|
}
|
|
6240
6250
|
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective$2, selector: "[kendoPromptBoxLocalizedMessages]" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: PromptBoxActionButtonComponent, selector: "kendo-promptbox-action-button", inputs: ["buttonClass", "loading", "loadingIcon", "loadingSVGIcon"], outputs: ["promptAction"], exportAs: ["kendoPromptBoxActionButton"] }, { kind: "component", type: PromptBoxFileSelectButtonComponent, selector: "kendo-promptbox-fileselect-button", inputs: ["restrictions", "multiple", "accept"], outputs: ["selectAttachments"], exportAs: ["kendoPromptBoxFileSelectButton"] }, { kind: "component", type: PromptBoxSpeechToTextButtonComponent, selector: "kendo-promptbox-speech-to-text-button", inputs: ["continuous", "integrationMode", "interimResults", "lang", "maxAlternatives"], outputs: ["stbClick", "stbStart", "stbEnd", "stbError", "stbResult"], exportAs: ["kendoPromptBoxSpeechToTextButton"] }, { kind: "component", type: PromptBoxFileComponent, selector: "li[promptBoxFile]", inputs: ["promptBoxFile", "removable", "fileActions", "disabled"], outputs: ["remove"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
6241
6251
|
}
|
|
6242
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6252
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: PromptBoxComponent, decorators: [{
|
|
6243
6253
|
type: Component,
|
|
6244
6254
|
args: [{
|
|
6245
6255
|
exportAs: 'kendoPromptBox',
|
|
@@ -6554,7 +6564,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImpo
|
|
|
6554
6564
|
* @hidden
|
|
6555
6565
|
*/
|
|
6556
6566
|
class ChatItem {
|
|
6557
|
-
_selected = signal(undefined, ...(ngDevMode ? [{ debugName: "_selected" }] : []));
|
|
6567
|
+
_selected = signal(undefined, ...(ngDevMode ? [{ debugName: "_selected" }] : /* istanbul ignore next */ []));
|
|
6558
6568
|
get selected() {
|
|
6559
6569
|
return this._selected();
|
|
6560
6570
|
}
|
|
@@ -6596,9 +6606,9 @@ class ChatFileComponent extends ChatItem {
|
|
|
6596
6606
|
actionButtonClick = new EventEmitter();
|
|
6597
6607
|
deleteIcon = xIcon;
|
|
6598
6608
|
moreIcon = moreVerticalIcon;
|
|
6599
|
-
_chatFile = signal(undefined, ...(ngDevMode ? [{ debugName: "_chatFile" }] : []));
|
|
6600
|
-
_removable = signal(false, ...(ngDevMode ? [{ debugName: "_removable" }] : []));
|
|
6601
|
-
_fileActions = signal(undefined, ...(ngDevMode ? [{ debugName: "_fileActions" }] : []));
|
|
6609
|
+
_chatFile = signal(undefined, ...(ngDevMode ? [{ debugName: "_chatFile" }] : /* istanbul ignore next */ []));
|
|
6610
|
+
_removable = signal(false, ...(ngDevMode ? [{ debugName: "_removable" }] : /* istanbul ignore next */ []));
|
|
6611
|
+
_fileActions = signal(undefined, ...(ngDevMode ? [{ debugName: "_fileActions" }] : /* istanbul ignore next */ []));
|
|
6602
6612
|
constructor(localization) {
|
|
6603
6613
|
super();
|
|
6604
6614
|
this.localization = localization;
|
|
@@ -6616,8 +6626,8 @@ class ChatFileComponent extends ChatItem {
|
|
|
6616
6626
|
return this.localization.get(key);
|
|
6617
6627
|
}
|
|
6618
6628
|
focus() { }
|
|
6619
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6620
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
6629
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ChatFileComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6630
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.26", type: ChatFileComponent, isStandalone: true, selector: "li[chatFile]", inputs: { chatFile: "chatFile", removable: "removable", fileActions: "fileActions" }, outputs: { remove: "remove", actionClick: "actionClick", actionsToggle: "actionsToggle", actionButtonClick: "actionButtonClick" }, host: { properties: { "attr.role": "this.role", "attr.aria-label": "this.ariaLabel" } }, providers: [{
|
|
6621
6631
|
provide: ChatItem,
|
|
6622
6632
|
useExisting: forwardRef(() => ChatFileComponent)
|
|
6623
6633
|
}], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -6658,7 +6668,7 @@ class ChatFileComponent extends ChatItem {
|
|
|
6658
6668
|
}
|
|
6659
6669
|
`, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "endIcon", "endSvgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: DropDownButtonComponent, selector: "kendo-dropdownbutton", inputs: ["arrowIcon", "icon", "svgIcon", "endIcon", "endSvgIcon", "iconClass", "imageUrl", "textField", "data", "size", "rounded", "fillMode", "themeColor", "buttonAttributes"], outputs: ["itemClick", "focus", "blur"], exportAs: ["kendoDropDownButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
6660
6670
|
}
|
|
6661
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6671
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ChatFileComponent, decorators: [{
|
|
6662
6672
|
type: Component,
|
|
6663
6673
|
args: [{
|
|
6664
6674
|
selector: 'li[chatFile]',
|
|
@@ -6818,7 +6828,7 @@ class MessageReferenceComponent extends ChatItem {
|
|
|
6818
6828
|
get message() {
|
|
6819
6829
|
return this._message();
|
|
6820
6830
|
}
|
|
6821
|
-
_message = signal(undefined, ...(ngDevMode ? [{ debugName: "_message" }] : []));
|
|
6831
|
+
_message = signal(undefined, ...(ngDevMode ? [{ debugName: "_message" }] : /* istanbul ignore next */ []));
|
|
6822
6832
|
constructor(localization, chatService) {
|
|
6823
6833
|
super();
|
|
6824
6834
|
this.localization = localization;
|
|
@@ -6831,8 +6841,8 @@ class MessageReferenceComponent extends ChatItem {
|
|
|
6831
6841
|
return this.localization.get(key);
|
|
6832
6842
|
}
|
|
6833
6843
|
focus() { }
|
|
6834
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6835
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
6844
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: MessageReferenceComponent, deps: [{ token: i1.LocalizationService }, { token: ChatService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6845
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.26", type: MessageReferenceComponent, isStandalone: true, selector: "chat-message-reference-content", inputs: { message: "message" }, host: { properties: { "class.k-message-reference-content": "this.hostClass" } }, providers: [{
|
|
6836
6846
|
provide: ChatItem,
|
|
6837
6847
|
useExisting: forwardRef(() => MessageReferenceComponent)
|
|
6838
6848
|
}], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -6851,7 +6861,7 @@ class MessageReferenceComponent extends ChatItem {
|
|
|
6851
6861
|
}
|
|
6852
6862
|
`, isInline: true, dependencies: [{ kind: "component", type: ChatFileComponent, selector: "li[chatFile]", inputs: ["chatFile", "removable", "fileActions"], outputs: ["remove", "actionClick", "actionsToggle", "actionButtonClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
6853
6863
|
}
|
|
6854
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6864
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: MessageReferenceComponent, decorators: [{
|
|
6855
6865
|
type: Component,
|
|
6856
6866
|
args: [{
|
|
6857
6867
|
selector: 'chat-message-reference-content',
|
|
@@ -6905,10 +6915,10 @@ class ChatSuggestionTemplateDirective {
|
|
|
6905
6915
|
constructor(templateRef) {
|
|
6906
6916
|
this.templateRef = templateRef;
|
|
6907
6917
|
}
|
|
6908
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6909
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
6918
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ChatSuggestionTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6919
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: ChatSuggestionTemplateDirective, isStandalone: true, selector: "[kendoChatSuggestionTemplate]", ngImport: i0 });
|
|
6910
6920
|
}
|
|
6911
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6921
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ChatSuggestionTemplateDirective, decorators: [{
|
|
6912
6922
|
type: Directive,
|
|
6913
6923
|
args: [{
|
|
6914
6924
|
selector: '[kendoChatSuggestionTemplate]',
|
|
@@ -6962,12 +6972,12 @@ class ChatScrollableButtonComponent {
|
|
|
6962
6972
|
const buttonType = this.prev ? 'prev' : 'next';
|
|
6963
6973
|
this.onClick.emit(buttonType);
|
|
6964
6974
|
}
|
|
6965
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6966
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
6975
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ChatScrollableButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6976
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.26", type: ChatScrollableButtonComponent, isStandalone: true, selector: "[kendoChatScrollableButton]", inputs: { prev: "prev" }, outputs: { onClick: "onClick" }, host: { properties: { "attr.role": "this.role" } }, ngImport: i0, template: `
|
|
6967
6977
|
<kendo-icon-wrapper [name]="scrollButtonIconClass" [svgIcon]="scrollButtonSVGIcon" innerCssClass="k-button-icon"> </kendo-icon-wrapper>
|
|
6968
6978
|
`, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
|
|
6969
6979
|
}
|
|
6970
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6980
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ChatScrollableButtonComponent, decorators: [{
|
|
6971
6981
|
type: Component,
|
|
6972
6982
|
args: [{
|
|
6973
6983
|
template: `
|
|
@@ -7083,11 +7093,11 @@ class SuggestedActionsComponent extends ChatItem {
|
|
|
7083
7093
|
: this.chatService.quickActionsLayout === 'scrollbuttons';
|
|
7084
7094
|
}
|
|
7085
7095
|
subscriptions = new Subscription();
|
|
7086
|
-
_actions = signal(undefined, ...(ngDevMode ? [{ debugName: "_actions" }] : []));
|
|
7087
|
-
_suggestions = signal(undefined, ...(ngDevMode ? [{ debugName: "_suggestions" }] : []));
|
|
7088
|
-
_tabbable = signal(undefined, ...(ngDevMode ? [{ debugName: "_tabbable" }] : []));
|
|
7089
|
-
_type = signal(undefined, ...(ngDevMode ? [{ debugName: "_type" }] : []));
|
|
7090
|
-
_suggestionTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_suggestionTemplate" }] : []));
|
|
7096
|
+
_actions = signal(undefined, ...(ngDevMode ? [{ debugName: "_actions" }] : /* istanbul ignore next */ []));
|
|
7097
|
+
_suggestions = signal(undefined, ...(ngDevMode ? [{ debugName: "_suggestions" }] : /* istanbul ignore next */ []));
|
|
7098
|
+
_tabbable = signal(undefined, ...(ngDevMode ? [{ debugName: "_tabbable" }] : /* istanbul ignore next */ []));
|
|
7099
|
+
_type = signal(undefined, ...(ngDevMode ? [{ debugName: "_type" }] : /* istanbul ignore next */ []));
|
|
7100
|
+
_suggestionTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_suggestionTemplate" }] : /* istanbul ignore next */ []));
|
|
7091
7101
|
actionKeyHandlers = {
|
|
7092
7102
|
[Keys.Tab]: (e) => this.changeSelectedIndex(e),
|
|
7093
7103
|
[Keys.Enter]: (e, action) => {
|
|
@@ -7237,8 +7247,8 @@ class SuggestedActionsComponent extends ChatItem {
|
|
|
7237
7247
|
const prevIndex = this.selectedIndex;
|
|
7238
7248
|
this.selectedIndex = Math.max(0, Math.min(prevIndex + offset, this.items.length - 1));
|
|
7239
7249
|
}
|
|
7240
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7241
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
7250
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: SuggestedActionsComponent, deps: [{ token: ChatService }, { token: i1.LocalizationService }, { token: SuggestionsScrollService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
7251
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.26", type: SuggestedActionsComponent, isStandalone: true, selector: "kendo-chat-suggested-actions", inputs: { actions: "actions", suggestions: "suggestions", tabbable: "tabbable", type: "type", suggestionTemplate: "suggestionTemplate" }, outputs: { dispatchAction: "dispatchAction", dispatchSuggestion: "dispatchSuggestion" }, host: { properties: { "class.k-suggestion-group": "this.defaultClass", "class.k-suggestion-group-scrollable": "this.scrollableClass", "class.k-suggestion-scrollwrap": "this.scrollButtonsClass", "class.k-suggestion-group-scrollable-start": "this.scrollStartClass", "class.k-suggestion-group-scrollable-end": "this.scrollEndClass", "attr.role": "this.role" } }, providers: [
|
|
7242
7252
|
{
|
|
7243
7253
|
provide: ChatItem,
|
|
7244
7254
|
useExisting: forwardRef(() => SuggestedActionsComponent),
|
|
@@ -7329,7 +7339,7 @@ class SuggestedActionsComponent extends ChatItem {
|
|
|
7329
7339
|
}
|
|
7330
7340
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ChatScrollableButtonComponent, selector: "[kendoChatScrollableButton]", inputs: ["prev"], outputs: ["onClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
7331
7341
|
}
|
|
7332
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7342
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: SuggestedActionsComponent, decorators: [{
|
|
7333
7343
|
type: Component,
|
|
7334
7344
|
args: [{
|
|
7335
7345
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -7496,10 +7506,10 @@ class ChatMessageBoxEndAffixTemplateDirective {
|
|
|
7496
7506
|
constructor(templateRef) {
|
|
7497
7507
|
this.templateRef = templateRef;
|
|
7498
7508
|
}
|
|
7499
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7500
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
7509
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ChatMessageBoxEndAffixTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
7510
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: ChatMessageBoxEndAffixTemplateDirective, isStandalone: true, selector: "[kendoChatMessageBoxEndAffixTemplate]", ngImport: i0 });
|
|
7501
7511
|
}
|
|
7502
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7512
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ChatMessageBoxEndAffixTemplateDirective, decorators: [{
|
|
7503
7513
|
type: Directive,
|
|
7504
7514
|
args: [{
|
|
7505
7515
|
selector: '[kendoChatMessageBoxEndAffixTemplate]',
|
|
@@ -7526,10 +7536,10 @@ class ChatMessageBoxStartAffixTemplateDirective {
|
|
|
7526
7536
|
constructor(templateRef) {
|
|
7527
7537
|
this.templateRef = templateRef;
|
|
7528
7538
|
}
|
|
7529
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7530
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
7539
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ChatMessageBoxStartAffixTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
7540
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: ChatMessageBoxStartAffixTemplateDirective, isStandalone: true, selector: "[kendoChatMessageBoxStartAffixTemplate]", ngImport: i0 });
|
|
7531
7541
|
}
|
|
7532
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7542
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ChatMessageBoxStartAffixTemplateDirective, decorators: [{
|
|
7533
7543
|
type: Directive,
|
|
7534
7544
|
args: [{
|
|
7535
7545
|
selector: '[kendoChatMessageBoxStartAffixTemplate]',
|
|
@@ -7556,10 +7566,10 @@ class ChatMessageBoxTopAffixTemplateDirective {
|
|
|
7556
7566
|
constructor(templateRef) {
|
|
7557
7567
|
this.templateRef = templateRef;
|
|
7558
7568
|
}
|
|
7559
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7560
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
7569
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ChatMessageBoxTopAffixTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
7570
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: ChatMessageBoxTopAffixTemplateDirective, isStandalone: true, selector: "[kendoChatMessageBoxTopAffixTemplate]", ngImport: i0 });
|
|
7561
7571
|
}
|
|
7562
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7572
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ChatMessageBoxTopAffixTemplateDirective, decorators: [{
|
|
7563
7573
|
type: Directive,
|
|
7564
7574
|
args: [{
|
|
7565
7575
|
selector: '[kendoChatMessageBoxTopAffixTemplate]',
|
|
@@ -7662,18 +7672,18 @@ class MessageBoxComponent {
|
|
|
7662
7672
|
}
|
|
7663
7673
|
selectedItem;
|
|
7664
7674
|
subs = new Subscription();
|
|
7665
|
-
_authorId = signal(undefined, ...(ngDevMode ? [{ debugName: "_authorId" }] : []));
|
|
7666
|
-
_autoScroll = signal(undefined, ...(ngDevMode ? [{ debugName: "_autoScroll" }] : []));
|
|
7667
|
-
_suggestions = signal(undefined, ...(ngDevMode ? [{ debugName: "_suggestions" }] : []));
|
|
7668
|
-
_placeholder = signal(undefined, ...(ngDevMode ? [{ debugName: "_placeholder" }] : []));
|
|
7669
|
-
_inputValue = signal('', ...(ngDevMode ? [{ debugName: "_inputValue" }] : []));
|
|
7670
|
-
_localization = signal(undefined, ...(ngDevMode ? [{ debugName: "_localization" }] : []));
|
|
7671
|
-
_messageBoxTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageBoxTemplate" }] : []));
|
|
7672
|
-
_messageBoxStartAffixTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageBoxStartAffixTemplate" }] : []));
|
|
7673
|
-
_messageBoxEndAffixTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageBoxEndAffixTemplate" }] : []));
|
|
7674
|
-
_messageBoxTopAffixTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageBoxTopAffixTemplate" }] : []));
|
|
7675
|
-
_suggestionTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_suggestionTemplate" }] : []));
|
|
7676
|
-
_loading = signal(undefined, ...(ngDevMode ? [{ debugName: "_loading" }] : []));
|
|
7675
|
+
_authorId = signal(undefined, ...(ngDevMode ? [{ debugName: "_authorId" }] : /* istanbul ignore next */ []));
|
|
7676
|
+
_autoScroll = signal(undefined, ...(ngDevMode ? [{ debugName: "_autoScroll" }] : /* istanbul ignore next */ []));
|
|
7677
|
+
_suggestions = signal(undefined, ...(ngDevMode ? [{ debugName: "_suggestions" }] : /* istanbul ignore next */ []));
|
|
7678
|
+
_placeholder = signal(undefined, ...(ngDevMode ? [{ debugName: "_placeholder" }] : /* istanbul ignore next */ []));
|
|
7679
|
+
_inputValue = signal('', ...(ngDevMode ? [{ debugName: "_inputValue" }] : /* istanbul ignore next */ []));
|
|
7680
|
+
_localization = signal(undefined, ...(ngDevMode ? [{ debugName: "_localization" }] : /* istanbul ignore next */ []));
|
|
7681
|
+
_messageBoxTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageBoxTemplate" }] : /* istanbul ignore next */ []));
|
|
7682
|
+
_messageBoxStartAffixTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageBoxStartAffixTemplate" }] : /* istanbul ignore next */ []));
|
|
7683
|
+
_messageBoxEndAffixTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageBoxEndAffixTemplate" }] : /* istanbul ignore next */ []));
|
|
7684
|
+
_messageBoxTopAffixTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageBoxTopAffixTemplate" }] : /* istanbul ignore next */ []));
|
|
7685
|
+
_suggestionTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_suggestionTemplate" }] : /* istanbul ignore next */ []));
|
|
7686
|
+
_loading = signal(undefined, ...(ngDevMode ? [{ debugName: "_loading" }] : /* istanbul ignore next */ []));
|
|
7677
7687
|
constructor(chatService, cdr, element, renderer) {
|
|
7678
7688
|
this.chatService = chatService;
|
|
7679
7689
|
this.cdr = cdr;
|
|
@@ -7853,8 +7863,8 @@ class MessageBoxComponent {
|
|
|
7853
7863
|
dispatchSuggestion(suggestion) {
|
|
7854
7864
|
this.executeSuggestion.emit(suggestion);
|
|
7855
7865
|
}
|
|
7856
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7857
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
7866
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: MessageBoxComponent, deps: [{ token: ChatService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
7867
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.26", type: MessageBoxComponent, isStandalone: true, selector: "kendo-message-box", inputs: { authorId: "authorId", autoScroll: "autoScroll", suggestions: "suggestions", placeholder: "placeholder", inputValue: "inputValue", localization: "localization", messageBoxTemplate: "messageBoxTemplate", messageBoxStartAffixTemplate: "messageBoxStartAffixTemplate", messageBoxEndAffixTemplate: "messageBoxEndAffixTemplate", messageBoxTopAffixTemplate: "messageBoxTopAffixTemplate", suggestionTemplate: "suggestionTemplate", loading: "loading" }, outputs: { sendMessage: "sendMessage", executeSuggestion: "executeSuggestion", fileSelect: "fileSelect", fileRemove: "fileRemove" }, host: { properties: { "style.border-color": "this.borderColor", "class.k-message-box-wrapper": "this.messageBoxWrapperClass" } }, viewQueries: [{ propertyName: "messageBoxInput", first: true, predicate: ["messageBoxInput"], descendants: true }, { propertyName: "suggestedActionsComponent", first: true, predicate: SuggestedActionsComponent, descendants: true }], ngImport: i0, template: `
|
|
7858
7868
|
@if (suggestions?.length > 0) {
|
|
7859
7869
|
<kendo-chat-suggested-actions
|
|
7860
7870
|
#suggestedActions
|
|
@@ -7947,7 +7957,7 @@ class MessageBoxComponent {
|
|
|
7947
7957
|
}
|
|
7948
7958
|
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "endIcon", "endSvgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: PromptBoxComponent, selector: "kendo-promptbox", inputs: ["disabled", "focusableId", "loading", "placeholder", "readonly", "title", "mode", "rows", "maxTextAreaHeight", "value", "actionButton", "fileSelectButton", "speechToTextButton"], outputs: ["valueChange", "focus", "blur", "inputFocus", "inputBlur", "promptAction", "selectAttachments", "fileRemove", "speechToTextClick", "speechToTextStart", "speechToTextEnd", "speechToTextError", "speechToTextResult"], exportAs: ["kendoPromptBox"] }, { kind: "component", type: PromptBoxCustomMessagesComponent, selector: "kendo-promptbox-messages" }, { kind: "directive", type: PromptBoxHeaderTemplateDirective, selector: "[kendoPromptBoxHeaderTemplate]" }, { kind: "component", type: PromptBoxStartAffixComponent, selector: "kendo-promptbox-start-affix", exportAs: ["kendoPromptBoxStartAffix"] }, { kind: "component", type: PromptBoxTopAffixComponent, selector: "kendo-promptbox-top-affix", exportAs: ["kendoPromptBoxTopAffix"] }, { kind: "component", type: PromptBoxEndAffixComponent, selector: "kendo-promptbox-end-affix", exportAs: ["kendoPromptBoxEndAffix"] }, { kind: "component", type: PromptBoxFileSelectButtonComponent, selector: "kendo-promptbox-fileselect-button", inputs: ["restrictions", "multiple", "accept"], outputs: ["selectAttachments"], exportAs: ["kendoPromptBoxFileSelectButton"] }, { kind: "component", type: MessageReferenceComponent, selector: "chat-message-reference-content", inputs: ["message"] }, { kind: "component", type: SuggestedActionsComponent, selector: "kendo-chat-suggested-actions", inputs: ["actions", "suggestions", "tabbable", "type", "suggestionTemplate"], outputs: ["dispatchAction", "dispatchSuggestion"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
7949
7959
|
}
|
|
7950
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7960
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: MessageBoxComponent, decorators: [{
|
|
7951
7961
|
type: Component,
|
|
7952
7962
|
args: [{
|
|
7953
7963
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -8275,19 +8285,19 @@ class MessageComponent extends ChatItem {
|
|
|
8275
8285
|
return hasComponentActions || hasMessageActions;
|
|
8276
8286
|
}
|
|
8277
8287
|
subs = new Subscription();
|
|
8278
|
-
_message = signal(undefined, ...(ngDevMode ? [{ debugName: "_message" }] : []));
|
|
8279
|
-
_tabbable = signal(undefined, ...(ngDevMode ? [{ debugName: "_tabbable" }] : []));
|
|
8280
|
-
_authorMessageContentTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_authorMessageContentTemplate" }] : []));
|
|
8281
|
-
_receiverMessageContentTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_receiverMessageContentTemplate" }] : []));
|
|
8282
|
-
_messageContentTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageContentTemplate" }] : []));
|
|
8283
|
-
_authorMessageTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_authorMessageTemplate" }] : []));
|
|
8284
|
-
_receiverMessageTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_receiverMessageTemplate" }] : []));
|
|
8285
|
-
_messageTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageTemplate" }] : []));
|
|
8286
|
-
_statusTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_statusTemplate" }] : []));
|
|
8287
|
-
_showMessageTime = signal(true, ...(ngDevMode ? [{ debugName: "_showMessageTime" }] : []));
|
|
8288
|
-
_authorId = signal(undefined, ...(ngDevMode ? [{ debugName: "_authorId" }] : []));
|
|
8289
|
-
_isMessageExpanded = signal(false, ...(ngDevMode ? [{ debugName: "_isMessageExpanded" }] : []));
|
|
8290
|
-
_showExpandCollapseIcon = signal(false, ...(ngDevMode ? [{ debugName: "_showExpandCollapseIcon" }] : []));
|
|
8288
|
+
_message = signal(undefined, ...(ngDevMode ? [{ debugName: "_message" }] : /* istanbul ignore next */ []));
|
|
8289
|
+
_tabbable = signal(undefined, ...(ngDevMode ? [{ debugName: "_tabbable" }] : /* istanbul ignore next */ []));
|
|
8290
|
+
_authorMessageContentTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_authorMessageContentTemplate" }] : /* istanbul ignore next */ []));
|
|
8291
|
+
_receiverMessageContentTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_receiverMessageContentTemplate" }] : /* istanbul ignore next */ []));
|
|
8292
|
+
_messageContentTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageContentTemplate" }] : /* istanbul ignore next */ []));
|
|
8293
|
+
_authorMessageTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_authorMessageTemplate" }] : /* istanbul ignore next */ []));
|
|
8294
|
+
_receiverMessageTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_receiverMessageTemplate" }] : /* istanbul ignore next */ []));
|
|
8295
|
+
_messageTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageTemplate" }] : /* istanbul ignore next */ []));
|
|
8296
|
+
_statusTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_statusTemplate" }] : /* istanbul ignore next */ []));
|
|
8297
|
+
_showMessageTime = signal(true, ...(ngDevMode ? [{ debugName: "_showMessageTime" }] : /* istanbul ignore next */ []));
|
|
8298
|
+
_authorId = signal(undefined, ...(ngDevMode ? [{ debugName: "_authorId" }] : /* istanbul ignore next */ []));
|
|
8299
|
+
_isMessageExpanded = signal(false, ...(ngDevMode ? [{ debugName: "_isMessageExpanded" }] : /* istanbul ignore next */ []));
|
|
8300
|
+
_showExpandCollapseIcon = signal(false, ...(ngDevMode ? [{ debugName: "_showExpandCollapseIcon" }] : /* istanbul ignore next */ []));
|
|
8291
8301
|
constructor(element, intl, chatService, localization, cdr, zone, injector) {
|
|
8292
8302
|
super();
|
|
8293
8303
|
this.element = element;
|
|
@@ -8520,8 +8530,8 @@ class MessageComponent extends ChatItem {
|
|
|
8520
8530
|
this._showExpandCollapseIcon.set(this.calculateExpandCollapseIconVisibility());
|
|
8521
8531
|
}, { injector: this.injector });
|
|
8522
8532
|
}
|
|
8523
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8524
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
8533
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: MessageComponent, deps: [{ token: i0.ElementRef }, { token: i1$1.IntlService }, { token: ChatService }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
8534
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.26", type: MessageComponent, isStandalone: true, selector: "kendo-chat-message", inputs: { message: "message", tabbable: "tabbable", authorMessageContentTemplate: "authorMessageContentTemplate", receiverMessageContentTemplate: "receiverMessageContentTemplate", messageContentTemplate: "messageContentTemplate", authorMessageTemplate: "authorMessageTemplate", receiverMessageTemplate: "receiverMessageTemplate", messageTemplate: "messageTemplate", statusTemplate: "statusTemplate", showMessageTime: "showMessageTime", authorId: "authorId" }, host: { listeners: { "keydown": "onKeyDown($event)" }, properties: { "class.k-message": "this.cssClass", "class.k-message-failed": "this.failedClass", "class.k-message-removed": "this.removedClass", "attr.tabIndex": "this.tabIndex" } }, providers: [
|
|
8525
8535
|
{
|
|
8526
8536
|
provide: ChatItem,
|
|
8527
8537
|
useExisting: forwardRef(() => MessageComponent),
|
|
@@ -8737,7 +8747,7 @@ class MessageComponent extends ChatItem {
|
|
|
8737
8747
|
}
|
|
8738
8748
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: i2.ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "endIcon", "endSvgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: ChatFileComponent, selector: "li[chatFile]", inputs: ["chatFile", "removable", "fileActions"], outputs: ["remove", "actionClick", "actionsToggle", "actionButtonClick"] }, { kind: "component", type: ToolBarComponent, selector: "kendo-toolbar", inputs: ["overflow", "resizable", "popupSettings", "fillMode", "tabindex", "size", "tabIndex", "showIcon", "showText", "toolsSource"], outputs: ["open", "close"], exportAs: ["kendoToolBar"] }, { kind: "component", type: ToolBarButtonComponent, selector: "kendo-toolbar-button", inputs: ["showText", "showIcon", "text", "style", "className", "title", "disabled", "toggleable", "look", "togglable", "selected", "fillMode", "rounded", "themeColor", "icon", "iconClass", "svgIcon", "imageUrl"], outputs: ["click", "pointerdown", "selectedChange"], exportAs: ["kendoToolBarButton"] }, { kind: "component", type: MessageReferenceComponent, selector: "chat-message-reference-content", inputs: ["message"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8739
8749
|
}
|
|
8740
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8750
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: MessageComponent, decorators: [{
|
|
8741
8751
|
type: Component,
|
|
8742
8752
|
args: [{
|
|
8743
8753
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -9032,9 +9042,9 @@ class AttachmentComponent {
|
|
|
9032
9042
|
get contentType() {
|
|
9033
9043
|
return this.attachment.contentType || '';
|
|
9034
9044
|
}
|
|
9035
|
-
_attachment = signal(undefined, ...(ngDevMode ? [{ debugName: "_attachment" }] : []));
|
|
9036
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9037
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
9045
|
+
_attachment = signal(undefined, ...(ngDevMode ? [{ debugName: "_attachment" }] : /* istanbul ignore next */ []));
|
|
9046
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: AttachmentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9047
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.26", type: AttachmentComponent, isStandalone: true, selector: "kendo-chat-attachment", inputs: { attachment: "attachment", template: "template" }, ngImport: i0, template: `
|
|
9038
9048
|
@if (template) {
|
|
9039
9049
|
<ng-container *ngTemplateOutlet="template.templateRef; context: context;">
|
|
9040
9050
|
</ng-container>
|
|
@@ -9064,7 +9074,7 @@ class AttachmentComponent {
|
|
|
9064
9074
|
}
|
|
9065
9075
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
9066
9076
|
}
|
|
9067
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9077
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: AttachmentComponent, decorators: [{
|
|
9068
9078
|
type: Component,
|
|
9069
9079
|
args: [{
|
|
9070
9080
|
selector: 'kendo-chat-attachment',
|
|
@@ -9157,17 +9167,17 @@ class MessageAttachmentsComponent extends ChatItem {
|
|
|
9157
9167
|
}
|
|
9158
9168
|
deck;
|
|
9159
9169
|
items;
|
|
9160
|
-
_scrollPosition = signal(0, ...(ngDevMode ? [{ debugName: "_scrollPosition" }] : []));
|
|
9170
|
+
_scrollPosition = signal(0, ...(ngDevMode ? [{ debugName: "_scrollPosition" }] : /* istanbul ignore next */ []));
|
|
9161
9171
|
get scrollPosition() { return this._scrollPosition(); }
|
|
9162
9172
|
set scrollPosition(v) { this._scrollPosition.set(v); }
|
|
9163
9173
|
selectedIndex = 0;
|
|
9164
9174
|
scrollSubscription;
|
|
9165
9175
|
direction;
|
|
9166
|
-
_attachments = signal(undefined, ...(ngDevMode ? [{ debugName: "_attachments" }] : []));
|
|
9167
|
-
_layout = signal(undefined, ...(ngDevMode ? [{ debugName: "_layout" }] : []));
|
|
9168
|
-
_tabbable = signal(undefined, ...(ngDevMode ? [{ debugName: "_tabbable" }] : []));
|
|
9169
|
-
_template = signal(undefined, ...(ngDevMode ? [{ debugName: "_template" }] : []));
|
|
9170
|
-
_localization = signal(undefined, ...(ngDevMode ? [{ debugName: "_localization" }] : []));
|
|
9176
|
+
_attachments = signal(undefined, ...(ngDevMode ? [{ debugName: "_attachments" }] : /* istanbul ignore next */ []));
|
|
9177
|
+
_layout = signal(undefined, ...(ngDevMode ? [{ debugName: "_layout" }] : /* istanbul ignore next */ []));
|
|
9178
|
+
_tabbable = signal(undefined, ...(ngDevMode ? [{ debugName: "_tabbable" }] : /* istanbul ignore next */ []));
|
|
9179
|
+
_template = signal(undefined, ...(ngDevMode ? [{ debugName: "_template" }] : /* istanbul ignore next */ []));
|
|
9180
|
+
_localization = signal(undefined, ...(ngDevMode ? [{ debugName: "_localization" }] : /* istanbul ignore next */ []));
|
|
9171
9181
|
get showLeftArrow() {
|
|
9172
9182
|
return this.carousel && (this.direction === 'rtl' ? this.scrollPosition > -1 : this.scrollPosition > 0);
|
|
9173
9183
|
}
|
|
@@ -9254,8 +9264,8 @@ class MessageAttachmentsComponent extends ChatItem {
|
|
|
9254
9264
|
textFor(key) {
|
|
9255
9265
|
return this.localization.get(key);
|
|
9256
9266
|
}
|
|
9257
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9258
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
9267
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: MessageAttachmentsComponent, deps: [{ token: i0.NgZone }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
9268
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.26", type: MessageAttachmentsComponent, isStandalone: true, selector: "kendo-chat-message-attachments", inputs: { attachments: "attachments", layout: "layout", tabbable: "tabbable", template: "template", localization: "localization" }, host: { properties: { "class.k-card-deck-scrollwrap": "this.carousel" } }, providers: [{
|
|
9259
9269
|
provide: ChatItem,
|
|
9260
9270
|
useExisting: forwardRef(() => MessageAttachmentsComponent)
|
|
9261
9271
|
}], viewQueries: [{ propertyName: "deck", first: true, predicate: ["deck"], descendants: true, read: ElementRef, static: true }, { propertyName: "items", predicate: ["item"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -9304,7 +9314,7 @@ class MessageAttachmentsComponent extends ChatItem {
|
|
|
9304
9314
|
}
|
|
9305
9315
|
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "endIcon", "endSvgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: AttachmentComponent, selector: "kendo-chat-attachment", inputs: ["attachment", "template"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
9306
9316
|
}
|
|
9307
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9317
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: MessageAttachmentsComponent, decorators: [{
|
|
9308
9318
|
type: Component,
|
|
9309
9319
|
args: [{
|
|
9310
9320
|
providers: [{
|
|
@@ -9477,19 +9487,19 @@ class MessageListComponent {
|
|
|
9477
9487
|
items;
|
|
9478
9488
|
cssClass = true;
|
|
9479
9489
|
view = [];
|
|
9480
|
-
_messages = signal([], ...(ngDevMode ? [{ debugName: "_messages" }] : []));
|
|
9481
|
-
_attachmentTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_attachmentTemplate" }] : []));
|
|
9482
|
-
_authorMessageContentTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_authorMessageContentTemplate" }] : []));
|
|
9483
|
-
_receiverMessageContentTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_receiverMessageContentTemplate" }] : []));
|
|
9484
|
-
_messageContentTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageContentTemplate" }] : []));
|
|
9485
|
-
_authorMessageTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_authorMessageTemplate" }] : []));
|
|
9486
|
-
_receiverMessageTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_receiverMessageTemplate" }] : []));
|
|
9487
|
-
_messageTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageTemplate" }] : []));
|
|
9488
|
-
_timestampTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_timestampTemplate" }] : []));
|
|
9489
|
-
_statusTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_statusTemplate" }] : []));
|
|
9490
|
-
_userStatusTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_userStatusTemplate" }] : []));
|
|
9491
|
-
_localization = signal(undefined, ...(ngDevMode ? [{ debugName: "_localization" }] : []));
|
|
9492
|
-
_authorId = signal(undefined, ...(ngDevMode ? [{ debugName: "_authorId" }] : []));
|
|
9490
|
+
_messages = signal([], ...(ngDevMode ? [{ debugName: "_messages" }] : /* istanbul ignore next */ []));
|
|
9491
|
+
_attachmentTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_attachmentTemplate" }] : /* istanbul ignore next */ []));
|
|
9492
|
+
_authorMessageContentTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_authorMessageContentTemplate" }] : /* istanbul ignore next */ []));
|
|
9493
|
+
_receiverMessageContentTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_receiverMessageContentTemplate" }] : /* istanbul ignore next */ []));
|
|
9494
|
+
_messageContentTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageContentTemplate" }] : /* istanbul ignore next */ []));
|
|
9495
|
+
_authorMessageTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_authorMessageTemplate" }] : /* istanbul ignore next */ []));
|
|
9496
|
+
_receiverMessageTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_receiverMessageTemplate" }] : /* istanbul ignore next */ []));
|
|
9497
|
+
_messageTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageTemplate" }] : /* istanbul ignore next */ []));
|
|
9498
|
+
_timestampTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_timestampTemplate" }] : /* istanbul ignore next */ []));
|
|
9499
|
+
_statusTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_statusTemplate" }] : /* istanbul ignore next */ []));
|
|
9500
|
+
_userStatusTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_userStatusTemplate" }] : /* istanbul ignore next */ []));
|
|
9501
|
+
_localization = signal(undefined, ...(ngDevMode ? [{ debugName: "_localization" }] : /* istanbul ignore next */ []));
|
|
9502
|
+
_authorId = signal(undefined, ...(ngDevMode ? [{ debugName: "_authorId" }] : /* istanbul ignore next */ []));
|
|
9493
9503
|
subs = new Subscription();
|
|
9494
9504
|
selectedItem;
|
|
9495
9505
|
keyActions = {
|
|
@@ -9586,7 +9596,7 @@ class MessageListComponent {
|
|
|
9586
9596
|
const isActionClick = closest(next, (node) => node?.classList?.contains('k-context-menu-popup')) ||
|
|
9587
9597
|
closest(next, (node) => node?.classList?.contains('k-menu-popup'));
|
|
9588
9598
|
if (outside && !isActionClick) {
|
|
9589
|
-
this.
|
|
9599
|
+
this.updateSelection(null, false);
|
|
9590
9600
|
}
|
|
9591
9601
|
}
|
|
9592
9602
|
isOwnMessage(msg) {
|
|
@@ -9624,6 +9634,9 @@ class MessageListComponent {
|
|
|
9624
9634
|
return;
|
|
9625
9635
|
}
|
|
9626
9636
|
}
|
|
9637
|
+
this.updateSelection(item, true);
|
|
9638
|
+
}
|
|
9639
|
+
updateSelection(item, syncRender) {
|
|
9627
9640
|
if (!this.chatService.toggleMessageState) {
|
|
9628
9641
|
const prevItem = this.selectedItem;
|
|
9629
9642
|
if (prevItem) {
|
|
@@ -9634,7 +9647,12 @@ class MessageListComponent {
|
|
|
9634
9647
|
this.selectedItem = item;
|
|
9635
9648
|
}
|
|
9636
9649
|
this.chatService.layoutChangeInProgress = true;
|
|
9637
|
-
|
|
9650
|
+
if (syncRender) {
|
|
9651
|
+
this.cdr.detectChanges();
|
|
9652
|
+
}
|
|
9653
|
+
else {
|
|
9654
|
+
this.cdr.markForCheck();
|
|
9655
|
+
}
|
|
9638
9656
|
}
|
|
9639
9657
|
this.chatService.toggleMessageState = false;
|
|
9640
9658
|
}
|
|
@@ -9748,8 +9766,8 @@ class MessageListComponent {
|
|
|
9748
9766
|
return componentElement && (componentElement === clickedElement || componentElement.contains(clickedElement));
|
|
9749
9767
|
});
|
|
9750
9768
|
}
|
|
9751
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9752
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
9769
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: MessageListComponent, deps: [{ token: i0.ElementRef }, { token: i1$1.IntlService }, { token: i0.Renderer2 }, { token: ChatService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
9770
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.26", type: MessageListComponent, isStandalone: true, selector: "kendo-chat-message-list", inputs: { messages: "messages", attachmentTemplate: "attachmentTemplate", authorMessageContentTemplate: "authorMessageContentTemplate", receiverMessageContentTemplate: "receiverMessageContentTemplate", messageContentTemplate: "messageContentTemplate", authorMessageTemplate: "authorMessageTemplate", receiverMessageTemplate: "receiverMessageTemplate", messageTemplate: "messageTemplate", timestampTemplate: "timestampTemplate", statusTemplate: "statusTemplate", userStatusTemplate: "userStatusTemplate", localization: "localization", authorId: "authorId" }, outputs: { executeAction: "executeAction", navigate: "navigate", resize: "resize" }, host: { properties: { "class.k-message-list-content": "this.cssClass" } }, viewQueries: [{ propertyName: "items", predicate: ChatItem, descendants: true }], ngImport: i0, template: `
|
|
9753
9771
|
@for (group of view; track trackGroup($index, group); let lastGroup = $last) { @switch (group.type) { @case
|
|
9754
9772
|
('date-marker') {
|
|
9755
9773
|
<div class="k-timestamp">
|
|
@@ -9853,7 +9871,7 @@ class MessageListComponent {
|
|
|
9853
9871
|
<kendo-resize-sensor (resize)="onResize()"> </kendo-resize-sensor>
|
|
9854
9872
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: MessageComponent, selector: "kendo-chat-message", inputs: ["message", "tabbable", "authorMessageContentTemplate", "receiverMessageContentTemplate", "messageContentTemplate", "authorMessageTemplate", "receiverMessageTemplate", "messageTemplate", "statusTemplate", "showMessageTime", "authorId"] }, { kind: "component", type: AttachmentComponent, selector: "kendo-chat-attachment", inputs: ["attachment", "template"] }, { kind: "component", type: MessageAttachmentsComponent, selector: "kendo-chat-message-attachments", inputs: ["attachments", "layout", "tabbable", "template", "localization"] }, { kind: "component", type: SuggestedActionsComponent, selector: "kendo-chat-suggested-actions", inputs: ["actions", "suggestions", "tabbable", "type", "suggestionTemplate"], outputs: ["dispatchAction", "dispatchSuggestion"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "ngmodule", type: ButtonsModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
9855
9873
|
}
|
|
9856
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9874
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: MessageListComponent, decorators: [{
|
|
9857
9875
|
type: Component,
|
|
9858
9876
|
args: [{
|
|
9859
9877
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -10712,73 +10730,73 @@ class ChatComponent {
|
|
|
10712
10730
|
this.chatService.authorMessageSettings = this.authorMessageSettings;
|
|
10713
10731
|
this.chatService.receiverMessageSettings = this.receiverMessageSettings;
|
|
10714
10732
|
this.chatService.authorId = this.authorId;
|
|
10715
|
-
}, ...(ngDevMode ? [{ debugName: "syncChatServiceState" }] : []));
|
|
10733
|
+
}, ...(ngDevMode ? [{ debugName: "syncChatServiceState" }] : /* istanbul ignore next */ []));
|
|
10716
10734
|
syncRepliedToMessages = effect(() => {
|
|
10717
10735
|
this.chatService.repliedToMessages = this.repliedToMessages || [];
|
|
10718
|
-
}, ...(ngDevMode ? [{ debugName: "syncRepliedToMessages" }] : []));
|
|
10736
|
+
}, ...(ngDevMode ? [{ debugName: "syncRepliedToMessages" }] : /* istanbul ignore next */ []));
|
|
10719
10737
|
syncHeight = effect(() => {
|
|
10720
10738
|
if (isPresent(this.height)) {
|
|
10721
10739
|
this.renderer.setStyle(this.element.nativeElement, 'height', `${processCssValue(this.height)}`);
|
|
10722
10740
|
}
|
|
10723
|
-
}, ...(ngDevMode ? [{ debugName: "syncHeight" }] : []));
|
|
10741
|
+
}, ...(ngDevMode ? [{ debugName: "syncHeight" }] : /* istanbul ignore next */ []));
|
|
10724
10742
|
syncWidth = effect(() => {
|
|
10725
10743
|
if (isPresent(this.width)) {
|
|
10726
10744
|
this.renderer.setStyle(this.element.nativeElement, 'width', `${processCssValue(this.width)}`);
|
|
10727
10745
|
}
|
|
10728
|
-
}, ...(ngDevMode ? [{ debugName: "syncWidth" }] : []));
|
|
10729
|
-
_messages = signal(undefined, ...(ngDevMode ? [{ debugName: "_messages" }] : []));
|
|
10730
|
-
_authorId = signal(undefined, ...(ngDevMode ? [{ debugName: "_authorId" }] : []));
|
|
10731
|
-
_messageBoxType = signal('textarea', ...(ngDevMode ? [{ debugName: "_messageBoxType" }] : []));
|
|
10732
|
-
_height = signal(undefined, ...(ngDevMode ? [{ debugName: "_height" }] : []));
|
|
10733
|
-
_width = signal(undefined, ...(ngDevMode ? [{ debugName: "_width" }] : []));
|
|
10734
|
-
_placeholder = signal(undefined, ...(ngDevMode ? [{ debugName: "_placeholder" }] : []));
|
|
10735
|
-
_messageWidthMode = signal('standard', ...(ngDevMode ? [{ debugName: "_messageWidthMode" }] : []));
|
|
10736
|
-
_timestampVisibility = signal('focus', ...(ngDevMode ? [{ debugName: "_timestampVisibility" }] : []));
|
|
10737
|
-
_showUsername = signal(true, ...(ngDevMode ? [{ debugName: "_showUsername" }] : []));
|
|
10738
|
-
_showAvatar = signal(true, ...(ngDevMode ? [{ debugName: "_showAvatar" }] : []));
|
|
10739
|
-
_allowMessageCollapse = signal(false, ...(ngDevMode ? [{ debugName: "_allowMessageCollapse" }] : []));
|
|
10740
|
-
_speechToTextButton = signal(true, ...(ngDevMode ? [{ debugName: "_speechToTextButton" }] : []));
|
|
10741
|
-
_fileSelectButton = signal(true, ...(ngDevMode ? [{ debugName: "_fileSelectButton" }] : []));
|
|
10742
|
-
_messageBoxSettings = signal(MESSAGE_BOX_SETTINGS, ...(ngDevMode ? [{ debugName: "_messageBoxSettings" }] : []));
|
|
10743
|
-
_messageToolbarActions = signal([], ...(ngDevMode ? [{ debugName: "_messageToolbarActions" }] : []));
|
|
10744
|
-
_inputValue = signal('', ...(ngDevMode ? [{ debugName: "_inputValue" }] : []));
|
|
10745
|
-
_authorMessageSettings = signal(undefined, ...(ngDevMode ? [{ debugName: "_authorMessageSettings" }] : []));
|
|
10746
|
-
_receiverMessageSettings = signal(undefined, ...(ngDevMode ? [{ debugName: "_receiverMessageSettings" }] : []));
|
|
10747
|
-
_messageContextMenuActions = signal(CONTEXT_MENU_ACTIONS, ...(ngDevMode ? [{ debugName: "_messageContextMenuActions" }] : []));
|
|
10748
|
-
_fileActions = signal(FILE_ACTIONS, ...(ngDevMode ? [{ debugName: "_fileActions" }] : []));
|
|
10749
|
-
_messageFilesLayout = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageFilesLayout" }] : []));
|
|
10750
|
-
_suggestionsLayout = signal(undefined, ...(ngDevMode ? [{ debugName: "_suggestionsLayout" }] : []));
|
|
10751
|
-
_quickActionsLayout = signal(undefined, ...(ngDevMode ? [{ debugName: "_quickActionsLayout" }] : []));
|
|
10752
|
-
_suggestions = signal([], ...(ngDevMode ? [{ debugName: "_suggestions" }] : []));
|
|
10753
|
-
_sendButton = signal(true, ...(ngDevMode ? [{ debugName: "_sendButton" }] : []));
|
|
10754
|
-
_scrollMode = signal('scrollable', ...(ngDevMode ? [{ debugName: "_scrollMode" }] : []));
|
|
10755
|
-
_pageSize = signal(50, ...(ngDevMode ? [{ debugName: "_pageSize" }] : []));
|
|
10756
|
-
_autoScrollThreshold = signal('20%', ...(ngDevMode ? [{ debugName: "_autoScrollThreshold" }] : []));
|
|
10757
|
-
_total = signal(undefined, ...(ngDevMode ? [{ debugName: "_total" }] : []));
|
|
10758
|
-
_startIndex = signal(undefined, ...(ngDevMode ? [{ debugName: "_startIndex" }] : []));
|
|
10759
|
-
_endIndex = signal(undefined, ...(ngDevMode ? [{ debugName: "_endIndex" }] : []));
|
|
10760
|
-
_pinnedMessages = signal([], ...(ngDevMode ? [{ debugName: "_pinnedMessages" }] : []));
|
|
10761
|
-
_repliedToMessages = signal([], ...(ngDevMode ? [{ debugName: "_repliedToMessages" }] : []));
|
|
10762
|
-
_modelFields = signal(defaultModelFields, ...(ngDevMode ? [{ debugName: "_modelFields" }] : []));
|
|
10763
|
-
_scrollToBottomButton = signal(true, ...(ngDevMode ? [{ debugName: "_scrollToBottomButton" }] : []));
|
|
10764
|
-
_loading = signal(false, ...(ngDevMode ? [{ debugName: "_loading" }] : []));
|
|
10765
|
-
_attachmentTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_attachmentTemplate" }] : []));
|
|
10766
|
-
_chatHeaderTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_chatHeaderTemplate" }] : []));
|
|
10767
|
-
_chatNoDataTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_chatNoDataTemplate" }] : []));
|
|
10768
|
-
_authorMessageContentTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_authorMessageContentTemplate" }] : []));
|
|
10769
|
-
_receiverMessageContentTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_receiverMessageContentTemplate" }] : []));
|
|
10770
|
-
_messageContentTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageContentTemplate" }] : []));
|
|
10771
|
-
_authorMessageTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_authorMessageTemplate" }] : []));
|
|
10772
|
-
_receiverMessageTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_receiverMessageTemplate" }] : []));
|
|
10773
|
-
_messageTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageTemplate" }] : []));
|
|
10774
|
-
_timestampTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_timestampTemplate" }] : []));
|
|
10775
|
-
_suggestionTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_suggestionTemplate" }] : []));
|
|
10776
|
-
_statusTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_statusTemplate" }] : []));
|
|
10777
|
-
_messageBoxTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageBoxTemplate" }] : []));
|
|
10778
|
-
_messageBoxStartAffixTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageBoxStartAffixTemplate" }] : []));
|
|
10779
|
-
_messageBoxEndAffixTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageBoxEndAffixTemplate" }] : []));
|
|
10780
|
-
_messageBoxTopAffixTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageBoxTopAffixTemplate" }] : []));
|
|
10781
|
-
_userStatusTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_userStatusTemplate" }] : []));
|
|
10746
|
+
}, ...(ngDevMode ? [{ debugName: "syncWidth" }] : /* istanbul ignore next */ []));
|
|
10747
|
+
_messages = signal(undefined, ...(ngDevMode ? [{ debugName: "_messages" }] : /* istanbul ignore next */ []));
|
|
10748
|
+
_authorId = signal(undefined, ...(ngDevMode ? [{ debugName: "_authorId" }] : /* istanbul ignore next */ []));
|
|
10749
|
+
_messageBoxType = signal('textarea', ...(ngDevMode ? [{ debugName: "_messageBoxType" }] : /* istanbul ignore next */ []));
|
|
10750
|
+
_height = signal(undefined, ...(ngDevMode ? [{ debugName: "_height" }] : /* istanbul ignore next */ []));
|
|
10751
|
+
_width = signal(undefined, ...(ngDevMode ? [{ debugName: "_width" }] : /* istanbul ignore next */ []));
|
|
10752
|
+
_placeholder = signal(undefined, ...(ngDevMode ? [{ debugName: "_placeholder" }] : /* istanbul ignore next */ []));
|
|
10753
|
+
_messageWidthMode = signal('standard', ...(ngDevMode ? [{ debugName: "_messageWidthMode" }] : /* istanbul ignore next */ []));
|
|
10754
|
+
_timestampVisibility = signal('focus', ...(ngDevMode ? [{ debugName: "_timestampVisibility" }] : /* istanbul ignore next */ []));
|
|
10755
|
+
_showUsername = signal(true, ...(ngDevMode ? [{ debugName: "_showUsername" }] : /* istanbul ignore next */ []));
|
|
10756
|
+
_showAvatar = signal(true, ...(ngDevMode ? [{ debugName: "_showAvatar" }] : /* istanbul ignore next */ []));
|
|
10757
|
+
_allowMessageCollapse = signal(false, ...(ngDevMode ? [{ debugName: "_allowMessageCollapse" }] : /* istanbul ignore next */ []));
|
|
10758
|
+
_speechToTextButton = signal(true, ...(ngDevMode ? [{ debugName: "_speechToTextButton" }] : /* istanbul ignore next */ []));
|
|
10759
|
+
_fileSelectButton = signal(true, ...(ngDevMode ? [{ debugName: "_fileSelectButton" }] : /* istanbul ignore next */ []));
|
|
10760
|
+
_messageBoxSettings = signal(MESSAGE_BOX_SETTINGS, ...(ngDevMode ? [{ debugName: "_messageBoxSettings" }] : /* istanbul ignore next */ []));
|
|
10761
|
+
_messageToolbarActions = signal([], ...(ngDevMode ? [{ debugName: "_messageToolbarActions" }] : /* istanbul ignore next */ []));
|
|
10762
|
+
_inputValue = signal('', ...(ngDevMode ? [{ debugName: "_inputValue" }] : /* istanbul ignore next */ []));
|
|
10763
|
+
_authorMessageSettings = signal(undefined, ...(ngDevMode ? [{ debugName: "_authorMessageSettings" }] : /* istanbul ignore next */ []));
|
|
10764
|
+
_receiverMessageSettings = signal(undefined, ...(ngDevMode ? [{ debugName: "_receiverMessageSettings" }] : /* istanbul ignore next */ []));
|
|
10765
|
+
_messageContextMenuActions = signal(CONTEXT_MENU_ACTIONS, ...(ngDevMode ? [{ debugName: "_messageContextMenuActions" }] : /* istanbul ignore next */ []));
|
|
10766
|
+
_fileActions = signal(FILE_ACTIONS, ...(ngDevMode ? [{ debugName: "_fileActions" }] : /* istanbul ignore next */ []));
|
|
10767
|
+
_messageFilesLayout = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageFilesLayout" }] : /* istanbul ignore next */ []));
|
|
10768
|
+
_suggestionsLayout = signal(undefined, ...(ngDevMode ? [{ debugName: "_suggestionsLayout" }] : /* istanbul ignore next */ []));
|
|
10769
|
+
_quickActionsLayout = signal(undefined, ...(ngDevMode ? [{ debugName: "_quickActionsLayout" }] : /* istanbul ignore next */ []));
|
|
10770
|
+
_suggestions = signal([], ...(ngDevMode ? [{ debugName: "_suggestions" }] : /* istanbul ignore next */ []));
|
|
10771
|
+
_sendButton = signal(true, ...(ngDevMode ? [{ debugName: "_sendButton" }] : /* istanbul ignore next */ []));
|
|
10772
|
+
_scrollMode = signal('scrollable', ...(ngDevMode ? [{ debugName: "_scrollMode" }] : /* istanbul ignore next */ []));
|
|
10773
|
+
_pageSize = signal(50, ...(ngDevMode ? [{ debugName: "_pageSize" }] : /* istanbul ignore next */ []));
|
|
10774
|
+
_autoScrollThreshold = signal('20%', ...(ngDevMode ? [{ debugName: "_autoScrollThreshold" }] : /* istanbul ignore next */ []));
|
|
10775
|
+
_total = signal(undefined, ...(ngDevMode ? [{ debugName: "_total" }] : /* istanbul ignore next */ []));
|
|
10776
|
+
_startIndex = signal(undefined, ...(ngDevMode ? [{ debugName: "_startIndex" }] : /* istanbul ignore next */ []));
|
|
10777
|
+
_endIndex = signal(undefined, ...(ngDevMode ? [{ debugName: "_endIndex" }] : /* istanbul ignore next */ []));
|
|
10778
|
+
_pinnedMessages = signal([], ...(ngDevMode ? [{ debugName: "_pinnedMessages" }] : /* istanbul ignore next */ []));
|
|
10779
|
+
_repliedToMessages = signal([], ...(ngDevMode ? [{ debugName: "_repliedToMessages" }] : /* istanbul ignore next */ []));
|
|
10780
|
+
_modelFields = signal(defaultModelFields, ...(ngDevMode ? [{ debugName: "_modelFields" }] : /* istanbul ignore next */ []));
|
|
10781
|
+
_scrollToBottomButton = signal(true, ...(ngDevMode ? [{ debugName: "_scrollToBottomButton" }] : /* istanbul ignore next */ []));
|
|
10782
|
+
_loading = signal(false, ...(ngDevMode ? [{ debugName: "_loading" }] : /* istanbul ignore next */ []));
|
|
10783
|
+
_attachmentTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_attachmentTemplate" }] : /* istanbul ignore next */ []));
|
|
10784
|
+
_chatHeaderTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_chatHeaderTemplate" }] : /* istanbul ignore next */ []));
|
|
10785
|
+
_chatNoDataTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_chatNoDataTemplate" }] : /* istanbul ignore next */ []));
|
|
10786
|
+
_authorMessageContentTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_authorMessageContentTemplate" }] : /* istanbul ignore next */ []));
|
|
10787
|
+
_receiverMessageContentTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_receiverMessageContentTemplate" }] : /* istanbul ignore next */ []));
|
|
10788
|
+
_messageContentTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageContentTemplate" }] : /* istanbul ignore next */ []));
|
|
10789
|
+
_authorMessageTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_authorMessageTemplate" }] : /* istanbul ignore next */ []));
|
|
10790
|
+
_receiverMessageTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_receiverMessageTemplate" }] : /* istanbul ignore next */ []));
|
|
10791
|
+
_messageTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageTemplate" }] : /* istanbul ignore next */ []));
|
|
10792
|
+
_timestampTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_timestampTemplate" }] : /* istanbul ignore next */ []));
|
|
10793
|
+
_suggestionTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_suggestionTemplate" }] : /* istanbul ignore next */ []));
|
|
10794
|
+
_statusTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_statusTemplate" }] : /* istanbul ignore next */ []));
|
|
10795
|
+
_messageBoxTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageBoxTemplate" }] : /* istanbul ignore next */ []));
|
|
10796
|
+
_messageBoxStartAffixTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageBoxStartAffixTemplate" }] : /* istanbul ignore next */ []));
|
|
10797
|
+
_messageBoxEndAffixTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageBoxEndAffixTemplate" }] : /* istanbul ignore next */ []));
|
|
10798
|
+
_messageBoxTopAffixTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_messageBoxTopAffixTemplate" }] : /* istanbul ignore next */ []));
|
|
10799
|
+
_userStatusTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_userStatusTemplate" }] : /* istanbul ignore next */ []));
|
|
10782
10800
|
_cachedProcessedMessages = [];
|
|
10783
10801
|
_lastMessagesReference = null;
|
|
10784
10802
|
_lastModelFields = null;
|
|
@@ -11355,8 +11373,8 @@ class ChatComponent {
|
|
|
11355
11373
|
return userAction;
|
|
11356
11374
|
});
|
|
11357
11375
|
}
|
|
11358
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11359
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
11376
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ChatComponent, deps: [{ token: i1.LocalizationService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: ChatService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
11377
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.26", type: ChatComponent, isStandalone: true, selector: "kendo-chat", inputs: { messages: "messages", authorId: "authorId", messageBoxType: "messageBoxType", height: "height", width: "width", placeholder: "placeholder", messageWidthMode: "messageWidthMode", timestampVisibility: "timestampVisibility", showUsername: "showUsername", showAvatar: "showAvatar", allowMessageCollapse: "allowMessageCollapse", speechToTextButton: "speechToTextButton", fileSelectButton: "fileSelectButton", messageBoxSettings: "messageBoxSettings", messageToolbarActions: "messageToolbarActions", inputValue: "inputValue", authorMessageSettings: "authorMessageSettings", receiverMessageSettings: "receiverMessageSettings", messageContextMenuActions: "messageContextMenuActions", fileActions: "fileActions", messageFilesLayout: "messageFilesLayout", suggestionsLayout: "suggestionsLayout", quickActionsLayout: "quickActionsLayout", suggestions: "suggestions", sendButton: "sendButton", sendButtonSettings: "sendButtonSettings", scrollMode: "scrollMode", pageSize: "pageSize", autoScrollThreshold: "autoScrollThreshold", total: "total", startIndex: "startIndex", endIndex: "endIndex", pinnedMessages: "pinnedMessages", repliedToMessages: "repliedToMessages", modelFields: "modelFields", scrollToBottomButton: "scrollToBottomButton", loading: "loading" }, outputs: { sendMessage: "sendMessage", resendMessage: "resendMessage", toolbarActionClick: "toolbarActionClick", contextMenuActionClick: "contextMenuActionClick", fileActionClick: "fileActionClick", download: "download", executeAction: "executeAction", suggestionExecute: "suggestionExecute", fileSelect: "fileSelect", fileRemove: "fileRemove", unpin: "unpin", inputValueChange: "inputValueChange", loadMore: "loadMore", referencedMessageClick: "referencedMessageClick" }, host: { properties: { "class": "this.className", "attr.dir": "this.dirAttr" } }, providers: [
|
|
11360
11378
|
LocalizationService,
|
|
11361
11379
|
ChatService,
|
|
11362
11380
|
SuggestionsScrollService,
|
|
@@ -11562,7 +11580,7 @@ class ChatComponent {
|
|
|
11562
11580
|
}
|
|
11563
11581
|
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective$3, selector: "[kendoChatLocalizedMessages]" }, { kind: "directive", type: ScrollAnchorDirective, selector: "[kendoChatScrollAnchor]", inputs: ["autoScroll", "autoScrollThreshold", "endlessMode", "rangeIsAtEnd"], outputs: ["autoScrollChange", "nearTop", "nearBottom"], exportAs: ["scrollAnchor"] }, { kind: "component", type: MessageListComponent, selector: "kendo-chat-message-list", inputs: ["messages", "attachmentTemplate", "authorMessageContentTemplate", "receiverMessageContentTemplate", "messageContentTemplate", "authorMessageTemplate", "receiverMessageTemplate", "messageTemplate", "timestampTemplate", "statusTemplate", "userStatusTemplate", "localization", "authorId"], outputs: ["executeAction", "navigate", "resize"] }, { kind: "component", type: MessageBoxComponent, selector: "kendo-message-box", inputs: ["authorId", "autoScroll", "suggestions", "placeholder", "inputValue", "localization", "messageBoxTemplate", "messageBoxStartAffixTemplate", "messageBoxEndAffixTemplate", "messageBoxTopAffixTemplate", "suggestionTemplate", "loading"], outputs: ["sendMessage", "executeSuggestion", "fileSelect", "fileRemove"] }, { kind: "component", type: MessageReferenceComponent, selector: "chat-message-reference-content", inputs: ["message"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "endIcon", "endSvgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: ContextMenuComponent, selector: "kendo-contextmenu", inputs: ["showOn", "target", "filter", "alignToAnchor", "vertical", "popupAnimate", "popupAlign", "anchorAlign", "collision", "appendTo", "ariaLabel"], outputs: ["popupOpen", "popupClose", "select", "open", "close"], exportAs: ["kendoContextMenu"] }, { kind: "component", type: FloatingActionButtonComponent, selector: "kendo-floatingactionbutton", inputs: ["themeColor", "size", "rounded", "disabled", "align", "offset", "positionMode", "icon", "svgIcon", "iconClass", "buttonClass", "dialClass", "text", "dialItemAnimation", "tabIndex", "dialItems"], outputs: ["blur", "focus", "dialItemClick", "open", "close"] }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay], kendo-watermark-overlay", inputs: ["licenseMessage"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
11564
11582
|
}
|
|
11565
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11583
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ChatComponent, decorators: [{
|
|
11566
11584
|
type: Component,
|
|
11567
11585
|
args: [{
|
|
11568
11586
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -11985,15 +12003,15 @@ class CustomMessagesComponent extends Messages$2 {
|
|
|
11985
12003
|
get override() {
|
|
11986
12004
|
return true;
|
|
11987
12005
|
}
|
|
11988
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11989
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
12006
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
12007
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.26", type: CustomMessagesComponent, isStandalone: true, selector: "kendo-chat-messages", providers: [
|
|
11990
12008
|
{
|
|
11991
12009
|
provide: Messages$2,
|
|
11992
12010
|
useExisting: forwardRef(() => CustomMessagesComponent)
|
|
11993
12011
|
}
|
|
11994
12012
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
11995
12013
|
}
|
|
11996
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12014
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: CustomMessagesComponent, decorators: [{
|
|
11997
12015
|
type: Component,
|
|
11998
12016
|
args: [{
|
|
11999
12017
|
providers: [
|
|
@@ -12049,8 +12067,8 @@ class HeroCardComponent {
|
|
|
12049
12067
|
onClick(action) {
|
|
12050
12068
|
this.executeAction.next(action);
|
|
12051
12069
|
}
|
|
12052
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12053
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
12070
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: HeroCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
12071
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.26", type: HeroCardComponent, isStandalone: true, selector: "kendo-chat-hero-card", inputs: { imageUrl: "imageUrl", title: "title", subtitle: "subtitle", actions: "actions" }, outputs: { executeAction: "executeAction" }, host: { properties: { "class.k-card": "this.cssClass" } }, ngImport: i0, template: `
|
|
12054
12072
|
@if (imageUrl) {
|
|
12055
12073
|
<img class="k-card-image" [src]="imageUrl" />
|
|
12056
12074
|
}
|
|
@@ -12081,7 +12099,7 @@ class HeroCardComponent {
|
|
|
12081
12099
|
</div>
|
|
12082
12100
|
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "endIcon", "endSvgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
12083
12101
|
}
|
|
12084
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12102
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: HeroCardComponent, decorators: [{
|
|
12085
12103
|
type: Component,
|
|
12086
12104
|
args: [{
|
|
12087
12105
|
selector: 'kendo-chat-hero-card',
|
|
@@ -12164,13 +12182,13 @@ class Messages extends ComponentMessages {
|
|
|
12164
12182
|
get speechToTextButtonTitle() {
|
|
12165
12183
|
return this._speechToTextButtonTitle();
|
|
12166
12184
|
}
|
|
12167
|
-
_commandsButtonTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_commandsButtonTitle" }] : []));
|
|
12168
|
-
_generateButtonTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_generateButtonTitle" }] : []));
|
|
12169
|
-
_speechToTextButtonTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_speechToTextButtonTitle" }] : []));
|
|
12170
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12171
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
12185
|
+
_commandsButtonTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_commandsButtonTitle" }] : /* istanbul ignore next */ []));
|
|
12186
|
+
_generateButtonTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_generateButtonTitle" }] : /* istanbul ignore next */ []));
|
|
12187
|
+
_speechToTextButtonTitle = signal(undefined, ...(ngDevMode ? [{ debugName: "_speechToTextButtonTitle" }] : /* istanbul ignore next */ []));
|
|
12188
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
12189
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: Messages, isStandalone: true, inputs: { commandsButtonTitle: "commandsButtonTitle", generateButtonTitle: "generateButtonTitle", speechToTextButtonTitle: "speechToTextButtonTitle" }, usesInheritance: true, ngImport: i0 });
|
|
12172
12190
|
}
|
|
12173
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12191
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: Messages, decorators: [{
|
|
12174
12192
|
type: Directive
|
|
12175
12193
|
}], propDecorators: { commandsButtonTitle: [{
|
|
12176
12194
|
type: Input
|
|
@@ -12189,15 +12207,15 @@ let LocalizedMessagesDirective$1 = class LocalizedMessagesDirective extends Mess
|
|
|
12189
12207
|
super();
|
|
12190
12208
|
this.service = service;
|
|
12191
12209
|
}
|
|
12192
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12193
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
12210
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
12211
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoInlineAIPromptLocalizedMessages]", providers: [
|
|
12194
12212
|
{
|
|
12195
12213
|
provide: Messages,
|
|
12196
12214
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
12197
12215
|
}
|
|
12198
12216
|
], usesInheritance: true, ngImport: i0 });
|
|
12199
12217
|
};
|
|
12200
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12218
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: LocalizedMessagesDirective$1, decorators: [{
|
|
12201
12219
|
type: Directive,
|
|
12202
12220
|
args: [{
|
|
12203
12221
|
providers: [
|
|
@@ -12390,20 +12408,20 @@ class InlineAIPromptContentComponent {
|
|
|
12390
12408
|
get isListening() {
|
|
12391
12409
|
return this._isListening();
|
|
12392
12410
|
}
|
|
12393
|
-
_popupElement = signal(undefined, ...(ngDevMode ? [{ debugName: "_popupElement" }] : []));
|
|
12394
|
-
_promptValue = signal('', ...(ngDevMode ? [{ debugName: "_promptValue" }] : []));
|
|
12395
|
-
_placeholder = signal(undefined, ...(ngDevMode ? [{ debugName: "_placeholder" }] : []));
|
|
12396
|
-
_promptOutput = signal(undefined, ...(ngDevMode ? [{ debugName: "_promptOutput" }] : []));
|
|
12397
|
-
_enableSpeechToText = signal(true, ...(ngDevMode ? [{ debugName: "_enableSpeechToText" }] : []));
|
|
12398
|
-
_streaming = signal(false, ...(ngDevMode ? [{ debugName: "_streaming" }] : []));
|
|
12399
|
-
_width = signal(550, ...(ngDevMode ? [{ debugName: "_width" }] : []));
|
|
12400
|
-
_maxHeight = signal(undefined, ...(ngDevMode ? [{ debugName: "_maxHeight" }] : []));
|
|
12401
|
-
_appendTo = signal(undefined, ...(ngDevMode ? [{ debugName: "_appendTo" }] : []));
|
|
12402
|
-
_outputTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_outputTemplate" }] : []));
|
|
12403
|
-
_outputActions = signal(defaultOutputActions, ...(ngDevMode ? [{ debugName: "_outputActions" }] : []));
|
|
12404
|
-
_promptCommands = signal([], ...(ngDevMode ? [{ debugName: "_promptCommands" }] : []));
|
|
12405
|
-
_direction = signal('ltr', ...(ngDevMode ? [{ debugName: "_direction" }] : []));
|
|
12406
|
-
_isListening = signal(false, ...(ngDevMode ? [{ debugName: "_isListening" }] : []));
|
|
12411
|
+
_popupElement = signal(undefined, ...(ngDevMode ? [{ debugName: "_popupElement" }] : /* istanbul ignore next */ []));
|
|
12412
|
+
_promptValue = signal('', ...(ngDevMode ? [{ debugName: "_promptValue" }] : /* istanbul ignore next */ []));
|
|
12413
|
+
_placeholder = signal(undefined, ...(ngDevMode ? [{ debugName: "_placeholder" }] : /* istanbul ignore next */ []));
|
|
12414
|
+
_promptOutput = signal(undefined, ...(ngDevMode ? [{ debugName: "_promptOutput" }] : /* istanbul ignore next */ []));
|
|
12415
|
+
_enableSpeechToText = signal(true, ...(ngDevMode ? [{ debugName: "_enableSpeechToText" }] : /* istanbul ignore next */ []));
|
|
12416
|
+
_streaming = signal(false, ...(ngDevMode ? [{ debugName: "_streaming" }] : /* istanbul ignore next */ []));
|
|
12417
|
+
_width = signal(550, ...(ngDevMode ? [{ debugName: "_width" }] : /* istanbul ignore next */ []));
|
|
12418
|
+
_maxHeight = signal(undefined, ...(ngDevMode ? [{ debugName: "_maxHeight" }] : /* istanbul ignore next */ []));
|
|
12419
|
+
_appendTo = signal(undefined, ...(ngDevMode ? [{ debugName: "_appendTo" }] : /* istanbul ignore next */ []));
|
|
12420
|
+
_outputTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_outputTemplate" }] : /* istanbul ignore next */ []));
|
|
12421
|
+
_outputActions = signal(defaultOutputActions, ...(ngDevMode ? [{ debugName: "_outputActions" }] : /* istanbul ignore next */ []));
|
|
12422
|
+
_promptCommands = signal([], ...(ngDevMode ? [{ debugName: "_promptCommands" }] : /* istanbul ignore next */ []));
|
|
12423
|
+
_direction = signal('ltr', ...(ngDevMode ? [{ debugName: "_direction" }] : /* istanbul ignore next */ []));
|
|
12424
|
+
_isListening = signal(false, ...(ngDevMode ? [{ debugName: "_isListening" }] : /* istanbul ignore next */ []));
|
|
12407
12425
|
localizationSubs = new Subscription();
|
|
12408
12426
|
subs = new Subscription();
|
|
12409
12427
|
constructor(ngZone, renderer, element, localization) {
|
|
@@ -12552,8 +12570,8 @@ class InlineAIPromptContentComponent {
|
|
|
12552
12570
|
});
|
|
12553
12571
|
}
|
|
12554
12572
|
}
|
|
12555
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12556
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
12573
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: InlineAIPromptContentComponent, deps: [{ token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i1.LocalizationService, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
12574
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.26", type: InlineAIPromptContentComponent, isStandalone: true, selector: "kendo-inlineaiprompt-content", inputs: { popupElement: "popupElement", promptValue: "promptValue", placeholder: "placeholder", promptOutput: "promptOutput", enableSpeechToText: "enableSpeechToText", streaming: "streaming", width: "width", maxHeight: "maxHeight", appendTo: "appendTo", outputActions: "outputActions", promptCommands: "promptCommands", outputTemplate: "outputTemplate" }, outputs: { promptRequest: "promptRequest", commandExecute: "commandExecute", outputActionClick: "outputActionClick", promptRequestCancel: "promptRequestCancel", close: "close", promptValueChange: "promptValueChange" }, host: { listeners: { "keydown": "onEscapeKey($event)" }, properties: { "class.k-prompt": "this.className", "attr.dir": "this.dirAttr", "style.max-height": "this.maxHeightStyle", "style.width": "this.widthStyle" } }, providers: [
|
|
12557
12575
|
LocalizationService,
|
|
12558
12576
|
{
|
|
12559
12577
|
provide: L10N_PREFIX,
|
|
@@ -12672,7 +12690,7 @@ class InlineAIPromptContentComponent {
|
|
|
12672
12690
|
</kendo-contextmenu>
|
|
12673
12691
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: LocalizedMessagesDirective$1, selector: "[kendoInlineAIPromptLocalizedMessages]" }, { kind: "component", type: i2.ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "endIcon", "endSvgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: i2.SpeechToTextButtonComponent, selector: "button[kendoSpeechToTextButton]", inputs: ["disabled", "size", "rounded", "fillMode", "themeColor", "integrationMode", "lang", "continuous", "interimResults", "maxAlternatives"], outputs: ["start", "end", "result", "error", "click"], exportAs: ["kendoSpeechToTextButton"] }, { kind: "component", type: i3.TextAreaComponent, selector: "kendo-textarea", inputs: ["focusableId", "flow", "inputAttributes", "adornmentsOrientation", "rows", "cols", "maxlength", "maxResizableRows", "tabindex", "tabIndex", "resizable", "size", "rounded", "fillMode", "showPrefixSeparator", "showSuffixSeparator", "value"], outputs: ["focus", "blur", "valueChange"], exportAs: ["kendoTextArea"] }, { kind: "component", type: i3.TextAreaPrefixComponent, selector: "kendo-textarea-prefix", inputs: ["flow", "orientation"], exportAs: ["kendoTextAreaPrefix"] }, { kind: "component", type: i3.TextAreaSuffixComponent, selector: "kendo-textarea-suffix", inputs: ["flow", "orientation"], exportAs: ["kendoTextAreaSuffix"] }, { kind: "component", type: i4.ContextMenuComponent, selector: "kendo-contextmenu", inputs: ["showOn", "target", "filter", "alignToAnchor", "vertical", "popupAnimate", "popupAlign", "anchorAlign", "collision", "appendTo", "ariaLabel"], outputs: ["popupOpen", "popupClose", "select", "open", "close"], exportAs: ["kendoContextMenu"] }, { kind: "component", type: i5.CardComponent, selector: "kendo-card", inputs: ["orientation", "width"] }, { kind: "component", type: i5.CardActionsComponent, selector: "kendo-card-actions", inputs: ["orientation", "layout", "actions"], outputs: ["action"] }, { kind: "component", type: i5.CardBodyComponent, selector: "kendo-card-body" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
12674
12692
|
}
|
|
12675
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12693
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: InlineAIPromptContentComponent, decorators: [{
|
|
12676
12694
|
type: Component,
|
|
12677
12695
|
args: [{
|
|
12678
12696
|
selector: 'kendo-inlineaiprompt-content',
|
|
@@ -12883,10 +12901,10 @@ class InlineAIPromptOutputTemplateDirective {
|
|
|
12883
12901
|
constructor(templateRef) {
|
|
12884
12902
|
this.templateRef = templateRef;
|
|
12885
12903
|
}
|
|
12886
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12887
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
12904
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: InlineAIPromptOutputTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
12905
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: InlineAIPromptOutputTemplateDirective, isStandalone: true, selector: "[kendoInlineAIPromptOutputTemplate]", ngImport: i0 });
|
|
12888
12906
|
}
|
|
12889
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12907
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: InlineAIPromptOutputTemplateDirective, decorators: [{
|
|
12890
12908
|
type: Directive,
|
|
12891
12909
|
args: [{
|
|
12892
12910
|
selector: '[kendoInlineAIPromptOutputTemplate]',
|
|
@@ -13057,16 +13075,16 @@ class InlineAIPromptComponent {
|
|
|
13057
13075
|
* @hidden
|
|
13058
13076
|
*/
|
|
13059
13077
|
calculateMeasurement = calculateMeasurement;
|
|
13060
|
-
_promptValue = signal('', ...(ngDevMode ? [{ debugName: "_promptValue" }] : []));
|
|
13061
|
-
_placeholder = signal(undefined, ...(ngDevMode ? [{ debugName: "_placeholder" }] : []));
|
|
13062
|
-
_promptOutput = signal(undefined, ...(ngDevMode ? [{ debugName: "_promptOutput" }] : []));
|
|
13063
|
-
_enableSpeechToText = signal(true, ...(ngDevMode ? [{ debugName: "_enableSpeechToText" }] : []));
|
|
13064
|
-
_streaming = signal(false, ...(ngDevMode ? [{ debugName: "_streaming" }] : []));
|
|
13065
|
-
_width = signal(550, ...(ngDevMode ? [{ debugName: "_width" }] : []));
|
|
13066
|
-
_maxHeight = signal(undefined, ...(ngDevMode ? [{ debugName: "_maxHeight" }] : []));
|
|
13067
|
-
_outputActions = signal(defaultOutputActions, ...(ngDevMode ? [{ debugName: "_outputActions" }] : []));
|
|
13068
|
-
_promptCommands = signal(undefined, ...(ngDevMode ? [{ debugName: "_promptCommands" }] : []));
|
|
13069
|
-
_popupSettings = signal(defaultPopupSettings, ...(ngDevMode ? [{ debugName: "_popupSettings" }] : []));
|
|
13078
|
+
_promptValue = signal('', ...(ngDevMode ? [{ debugName: "_promptValue" }] : /* istanbul ignore next */ []));
|
|
13079
|
+
_placeholder = signal(undefined, ...(ngDevMode ? [{ debugName: "_placeholder" }] : /* istanbul ignore next */ []));
|
|
13080
|
+
_promptOutput = signal(undefined, ...(ngDevMode ? [{ debugName: "_promptOutput" }] : /* istanbul ignore next */ []));
|
|
13081
|
+
_enableSpeechToText = signal(true, ...(ngDevMode ? [{ debugName: "_enableSpeechToText" }] : /* istanbul ignore next */ []));
|
|
13082
|
+
_streaming = signal(false, ...(ngDevMode ? [{ debugName: "_streaming" }] : /* istanbul ignore next */ []));
|
|
13083
|
+
_width = signal(550, ...(ngDevMode ? [{ debugName: "_width" }] : /* istanbul ignore next */ []));
|
|
13084
|
+
_maxHeight = signal(undefined, ...(ngDevMode ? [{ debugName: "_maxHeight" }] : /* istanbul ignore next */ []));
|
|
13085
|
+
_outputActions = signal(defaultOutputActions, ...(ngDevMode ? [{ debugName: "_outputActions" }] : /* istanbul ignore next */ []));
|
|
13086
|
+
_promptCommands = signal(undefined, ...(ngDevMode ? [{ debugName: "_promptCommands" }] : /* istanbul ignore next */ []));
|
|
13087
|
+
_popupSettings = signal(defaultPopupSettings, ...(ngDevMode ? [{ debugName: "_popupSettings" }] : /* istanbul ignore next */ []));
|
|
13070
13088
|
subs = new Subscription();
|
|
13071
13089
|
constructor(injector, element) {
|
|
13072
13090
|
this.injector = injector;
|
|
@@ -13130,8 +13148,8 @@ class InlineAIPromptComponent {
|
|
|
13130
13148
|
onPromptValueChange(value) {
|
|
13131
13149
|
this.promptValueChange.emit(value);
|
|
13132
13150
|
}
|
|
13133
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13134
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
13151
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: InlineAIPromptComponent, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
13152
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.26", type: InlineAIPromptComponent, isStandalone: true, selector: "kendo-inlineaiprompt", inputs: { promptValue: "promptValue", placeholder: "placeholder", promptOutput: "promptOutput", enableSpeechToText: "enableSpeechToText", streaming: "streaming", width: "width", maxHeight: "maxHeight", outputActions: "outputActions", promptCommands: "promptCommands", popupSettings: "popupSettings" }, outputs: { promptRequest: "promptRequest", commandExecute: "commandExecute", outputActionClick: "outputActionClick", promptRequestCancel: "promptRequestCancel", close: "close", promptValueChange: "promptValueChange" }, providers: [
|
|
13135
13153
|
LocalizationService,
|
|
13136
13154
|
{
|
|
13137
13155
|
provide: L10N_PREFIX,
|
|
@@ -13182,7 +13200,7 @@ class InlineAIPromptComponent {
|
|
|
13182
13200
|
</kendo-popup>
|
|
13183
13201
|
`, isInline: true, dependencies: [{ kind: "component", type: i1$2.PopupComponent, selector: "kendo-popup", inputs: ["animate", "anchor", "anchorAlign", "collision", "popupAlign", "copyAnchorStyles", "popupClass", "positionMode", "offset", "margin"], outputs: ["anchorViewportLeave", "close", "open", "positionChange"], exportAs: ["kendo-popup"] }, { kind: "component", type: InlineAIPromptContentComponent, selector: "kendo-inlineaiprompt-content", inputs: ["popupElement", "promptValue", "placeholder", "promptOutput", "enableSpeechToText", "streaming", "width", "maxHeight", "appendTo", "outputActions", "promptCommands", "outputTemplate"], outputs: ["promptRequest", "commandExecute", "outputActionClick", "promptRequestCancel", "close", "promptValueChange"], exportAs: ["kendoInlineAIPromptContent"] }, { kind: "directive", type: LocalizedMessagesDirective$1, selector: "[kendoInlineAIPromptLocalizedMessages]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
13184
13202
|
}
|
|
13185
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13203
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: InlineAIPromptComponent, decorators: [{
|
|
13186
13204
|
type: Component,
|
|
13187
13205
|
args: [{
|
|
13188
13206
|
selector: 'kendo-inlineaiprompt',
|
|
@@ -13308,15 +13326,15 @@ class InlineAIPromptCustomMessagesComponent extends Messages {
|
|
|
13308
13326
|
get override() {
|
|
13309
13327
|
return true;
|
|
13310
13328
|
}
|
|
13311
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13312
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
13329
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: InlineAIPromptCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
13330
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.26", type: InlineAIPromptCustomMessagesComponent, isStandalone: true, selector: "kendo-inlineaiprompt-messages", providers: [
|
|
13313
13331
|
{
|
|
13314
13332
|
provide: Messages,
|
|
13315
13333
|
useExisting: forwardRef(() => InlineAIPromptCustomMessagesComponent)
|
|
13316
13334
|
}
|
|
13317
13335
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
13318
13336
|
}
|
|
13319
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13337
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: InlineAIPromptCustomMessagesComponent, decorators: [{
|
|
13320
13338
|
type: Component,
|
|
13321
13339
|
args: [{
|
|
13322
13340
|
providers: [
|
|
@@ -13395,10 +13413,10 @@ class LlmKitMessages extends ComponentMessages {
|
|
|
13395
13413
|
* Sets the default ToolCall badge text for the error state.
|
|
13396
13414
|
*/
|
|
13397
13415
|
errorStatus;
|
|
13398
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13399
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
13416
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: LlmKitMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
13417
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: LlmKitMessages, isStandalone: true, inputs: { expandLabel: "expandLabel", collapseLabel: "collapseLabel", approveAction: "approveAction", rejectAction: "rejectAction", startOverAction: "startOverAction", restoreAction: "restoreAction", redoAction: "redoAction", checkpointRestoredText: "checkpointRestoredText", previousSourceAction: "previousSourceAction", nextSourceAction: "nextSourceAction", parametersLabel: "parametersLabel", resultLabel: "resultLabel", awaitingApprovalStatus: "awaitingApprovalStatus", completedStatus: "completedStatus", errorStatus: "errorStatus" }, usesInheritance: true, ngImport: i0 });
|
|
13400
13418
|
}
|
|
13401
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13419
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: LlmKitMessages, decorators: [{
|
|
13402
13420
|
type: Directive
|
|
13403
13421
|
}], propDecorators: { expandLabel: [{
|
|
13404
13422
|
type: Input
|
|
@@ -13441,15 +13459,15 @@ class LocalizedMessagesDirective extends LlmKitMessages {
|
|
|
13441
13459
|
super();
|
|
13442
13460
|
this.service = service;
|
|
13443
13461
|
}
|
|
13444
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13445
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
13462
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
13463
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoLlmKitLocalizedMessages]", providers: [
|
|
13446
13464
|
{
|
|
13447
13465
|
provide: LlmKitMessages,
|
|
13448
13466
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
13449
13467
|
}
|
|
13450
13468
|
], usesInheritance: true, ngImport: i0 });
|
|
13451
13469
|
}
|
|
13452
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13470
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
13453
13471
|
type: Directive,
|
|
13454
13472
|
args: [{
|
|
13455
13473
|
providers: [
|
|
@@ -13536,15 +13554,15 @@ class AgentStepBase {
|
|
|
13536
13554
|
collapseSvgIcon = chevronUpIcon;
|
|
13537
13555
|
expandIcon = 'chevron-right';
|
|
13538
13556
|
collapseIcon = 'chevron-up';
|
|
13539
|
-
_label = signal(undefined, ...(ngDevMode ? [{ debugName: "_label" }] : []));
|
|
13540
|
-
_secondaryLabel = signal(undefined, ...(ngDevMode ? [{ debugName: "_secondaryLabel" }] : []));
|
|
13541
|
-
_icon = signal(undefined, ...(ngDevMode ? [{ debugName: "_icon" }] : []));
|
|
13542
|
-
_svgIcon = signal(undefined, ...(ngDevMode ? [{ debugName: "_svgIcon" }] : []));
|
|
13543
|
-
_completed = signal(false, ...(ngDevMode ? [{ debugName: "_completed" }] : []));
|
|
13544
|
-
_expandable = signal(false, ...(ngDevMode ? [{ debugName: "_expandable" }] : []));
|
|
13545
|
-
_expanded = signal(false, ...(ngDevMode ? [{ debugName: "_expanded" }] : []));
|
|
13546
|
-
_linesAdded = signal(undefined, ...(ngDevMode ? [{ debugName: "_linesAdded" }] : []));
|
|
13547
|
-
_linesRemoved = signal(undefined, ...(ngDevMode ? [{ debugName: "_linesRemoved" }] : []));
|
|
13557
|
+
_label = signal(undefined, ...(ngDevMode ? [{ debugName: "_label" }] : /* istanbul ignore next */ []));
|
|
13558
|
+
_secondaryLabel = signal(undefined, ...(ngDevMode ? [{ debugName: "_secondaryLabel" }] : /* istanbul ignore next */ []));
|
|
13559
|
+
_icon = signal(undefined, ...(ngDevMode ? [{ debugName: "_icon" }] : /* istanbul ignore next */ []));
|
|
13560
|
+
_svgIcon = signal(undefined, ...(ngDevMode ? [{ debugName: "_svgIcon" }] : /* istanbul ignore next */ []));
|
|
13561
|
+
_completed = signal(false, ...(ngDevMode ? [{ debugName: "_completed" }] : /* istanbul ignore next */ []));
|
|
13562
|
+
_expandable = signal(false, ...(ngDevMode ? [{ debugName: "_expandable" }] : /* istanbul ignore next */ []));
|
|
13563
|
+
_expanded = signal(false, ...(ngDevMode ? [{ debugName: "_expanded" }] : /* istanbul ignore next */ []));
|
|
13564
|
+
_linesAdded = signal(undefined, ...(ngDevMode ? [{ debugName: "_linesAdded" }] : /* istanbul ignore next */ []));
|
|
13565
|
+
_linesRemoved = signal(undefined, ...(ngDevMode ? [{ debugName: "_linesRemoved" }] : /* istanbul ignore next */ []));
|
|
13548
13566
|
subs = new Subscription();
|
|
13549
13567
|
constructor(renderer, ngZone, localization) {
|
|
13550
13568
|
this.renderer = renderer;
|
|
@@ -13584,8 +13602,8 @@ class AgentStepBase {
|
|
|
13584
13602
|
this.expandedChange.emit(expanded);
|
|
13585
13603
|
});
|
|
13586
13604
|
}
|
|
13587
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13588
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
13605
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: AgentStepBase, deps: [{ token: i0.Renderer2 }, { token: i0.NgZone }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
13606
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.26", type: AgentStepBase, isStandalone: true, selector: "[kendoLlmKitAgentStep]", inputs: { label: "label", secondaryLabel: "secondaryLabel", icon: "icon", svgIcon: "svgIcon", completed: "completed", expandable: "expandable", expanded: "expanded", linesAdded: "linesAdded", linesRemoved: "linesRemoved" }, outputs: { expandedChange: "expandedChange" }, host: { properties: { "class.k-agent-step": "this.hostClass", "class.k-agent-completed": "this.completedClass" } }, viewQueries: [{ propertyName: "head", first: true, predicate: ["head"], descendants: true, static: true }], ngImport: i0, template: `
|
|
13589
13607
|
<ng-container
|
|
13590
13608
|
kendoLlmKitLocalizedMessages
|
|
13591
13609
|
i18n-expandLabel="kendo.llmkit.expandLabel|The aria-label for a collapsed disclosure head without visible text."
|
|
@@ -13642,7 +13660,7 @@ class AgentStepBase {
|
|
|
13642
13660
|
}
|
|
13643
13661
|
`, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoLlmKitLocalizedMessages]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
13644
13662
|
}
|
|
13645
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13663
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: AgentStepBase, decorators: [{
|
|
13646
13664
|
type: Component,
|
|
13647
13665
|
args: [{
|
|
13648
13666
|
selector: '[kendoLlmKitAgentStep]',
|
|
@@ -13754,10 +13772,10 @@ class ReasoningContentTemplateDirective {
|
|
|
13754
13772
|
constructor(templateRef) {
|
|
13755
13773
|
this.templateRef = templateRef;
|
|
13756
13774
|
}
|
|
13757
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13758
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
13775
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ReasoningContentTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
13776
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: ReasoningContentTemplateDirective, isStandalone: true, selector: "[kendoReasoningContentTemplate]", ngImport: i0 });
|
|
13759
13777
|
}
|
|
13760
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13778
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ReasoningContentTemplateDirective, decorators: [{
|
|
13761
13779
|
type: Directive,
|
|
13762
13780
|
args: [{
|
|
13763
13781
|
selector: '[kendoReasoningContentTemplate]',
|
|
@@ -13879,15 +13897,15 @@ class ReasoningComponent {
|
|
|
13879
13897
|
set direction(value) {
|
|
13880
13898
|
this._direction.set(value);
|
|
13881
13899
|
}
|
|
13882
|
-
_label = signal('Reasoning', ...(ngDevMode ? [{ debugName: "_label" }] : []));
|
|
13883
|
-
_secondaryLabel = signal(undefined, ...(ngDevMode ? [{ debugName: "_secondaryLabel" }] : []));
|
|
13884
|
-
_content = signal(undefined, ...(ngDevMode ? [{ debugName: "_content" }] : []));
|
|
13885
|
-
_icon = signal('sparkles', ...(ngDevMode ? [{ debugName: "_icon" }] : []));
|
|
13886
|
-
_svgIcon = signal(sparklesIcon, ...(ngDevMode ? [{ debugName: "_svgIcon" }] : []));
|
|
13887
|
-
_completed = signal(false, ...(ngDevMode ? [{ debugName: "_completed" }] : []));
|
|
13888
|
-
_expandable = signal(false, ...(ngDevMode ? [{ debugName: "_expandable" }] : []));
|
|
13889
|
-
_expanded = signal(false, ...(ngDevMode ? [{ debugName: "_expanded" }] : []));
|
|
13890
|
-
_direction = signal(undefined, ...(ngDevMode ? [{ debugName: "_direction" }] : []));
|
|
13900
|
+
_label = signal('Reasoning', ...(ngDevMode ? [{ debugName: "_label" }] : /* istanbul ignore next */ []));
|
|
13901
|
+
_secondaryLabel = signal(undefined, ...(ngDevMode ? [{ debugName: "_secondaryLabel" }] : /* istanbul ignore next */ []));
|
|
13902
|
+
_content = signal(undefined, ...(ngDevMode ? [{ debugName: "_content" }] : /* istanbul ignore next */ []));
|
|
13903
|
+
_icon = signal('sparkles', ...(ngDevMode ? [{ debugName: "_icon" }] : /* istanbul ignore next */ []));
|
|
13904
|
+
_svgIcon = signal(sparklesIcon, ...(ngDevMode ? [{ debugName: "_svgIcon" }] : /* istanbul ignore next */ []));
|
|
13905
|
+
_completed = signal(false, ...(ngDevMode ? [{ debugName: "_completed" }] : /* istanbul ignore next */ []));
|
|
13906
|
+
_expandable = signal(false, ...(ngDevMode ? [{ debugName: "_expandable" }] : /* istanbul ignore next */ []));
|
|
13907
|
+
_expanded = signal(false, ...(ngDevMode ? [{ debugName: "_expanded" }] : /* istanbul ignore next */ []));
|
|
13908
|
+
_direction = signal(undefined, ...(ngDevMode ? [{ debugName: "_direction" }] : /* istanbul ignore next */ []));
|
|
13891
13909
|
subscription;
|
|
13892
13910
|
constructor(localization) {
|
|
13893
13911
|
this.localization = localization;
|
|
@@ -13907,8 +13925,8 @@ class ReasoningComponent {
|
|
|
13907
13925
|
this.expanded = expanded;
|
|
13908
13926
|
this.expandedChange.emit(expanded);
|
|
13909
13927
|
}
|
|
13910
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13911
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
13928
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ReasoningComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
13929
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.26", type: ReasoningComponent, isStandalone: true, selector: "kendo-reasoning", inputs: { label: "label", secondaryLabel: "secondaryLabel", content: "content", icon: "icon", svgIcon: "svgIcon", completed: "completed", expandable: "expandable", expanded: "expanded" }, outputs: { expandedChange: "expandedChange" }, host: { properties: { "attr.dir": "this.direction" } }, providers: [
|
|
13912
13930
|
LocalizationService,
|
|
13913
13931
|
{ provide: L10N_PREFIX, useValue: 'kendo.llmkit' }
|
|
13914
13932
|
], queries: [{ propertyName: "contentTemplate", first: true, predicate: ReasoningContentTemplateDirective, descendants: true }], exportAs: ["kendoReasoning"], ngImport: i0, template: `
|
|
@@ -13932,7 +13950,7 @@ class ReasoningComponent {
|
|
|
13932
13950
|
</div>
|
|
13933
13951
|
`, isInline: true, dependencies: [{ kind: "component", type: AgentStepBase, selector: "[kendoLlmKitAgentStep]", inputs: ["label", "secondaryLabel", "icon", "svgIcon", "completed", "expandable", "expanded", "linesAdded", "linesRemoved"], outputs: ["expandedChange"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
13934
13952
|
}
|
|
13935
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13953
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ReasoningComponent, decorators: [{
|
|
13936
13954
|
type: Component,
|
|
13937
13955
|
args: [{
|
|
13938
13956
|
exportAs: 'kendoReasoning',
|
|
@@ -14009,10 +14027,10 @@ class ThoughtTemplateDirective {
|
|
|
14009
14027
|
constructor(templateRef) {
|
|
14010
14028
|
this.templateRef = templateRef;
|
|
14011
14029
|
}
|
|
14012
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14013
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
14030
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ThoughtTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14031
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: ThoughtTemplateDirective, isStandalone: true, selector: "[kendoThoughtTemplate]", ngImport: i0 });
|
|
14014
14032
|
}
|
|
14015
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14033
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ThoughtTemplateDirective, decorators: [{
|
|
14016
14034
|
type: Directive,
|
|
14017
14035
|
args: [{
|
|
14018
14036
|
selector: '[kendoThoughtTemplate]',
|
|
@@ -14037,7 +14055,7 @@ class ThoughtRowComponent {
|
|
|
14037
14055
|
get completedClass() {
|
|
14038
14056
|
return this.thought?.completed === true;
|
|
14039
14057
|
}
|
|
14040
|
-
_thought = signal(undefined, ...(ngDevMode ? [{ debugName: "_thought" }] : []));
|
|
14058
|
+
_thought = signal(undefined, ...(ngDevMode ? [{ debugName: "_thought" }] : /* istanbul ignore next */ []));
|
|
14041
14059
|
/**
|
|
14042
14060
|
* A middle-dot separator precedes `secondaryLabel` only when `label` is also shown—otherwise
|
|
14043
14061
|
* `secondaryLabel` would be the first segment in the content region.
|
|
@@ -14045,8 +14063,8 @@ class ThoughtRowComponent {
|
|
|
14045
14063
|
get showSepBeforeSecondary() {
|
|
14046
14064
|
return !!this.thought?.label && !!this.thought?.secondaryLabel;
|
|
14047
14065
|
}
|
|
14048
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14049
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
14066
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ThoughtRowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
14067
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.26", type: ThoughtRowComponent, isStandalone: true, selector: "[kendoLlmKitThoughtRow]", inputs: { thoughtTemplate: "thoughtTemplate", thought: "thought" }, host: { properties: { "class.k-thought": "this.hostClass", "class.k-thought-completed": "this.completedClass" } }, ngImport: i0, template: `
|
|
14050
14068
|
<span class="k-agent-step-icon-col">
|
|
14051
14069
|
@if (thought?.icon || thought?.svgIcon) {
|
|
14052
14070
|
<kendo-icon-wrapper
|
|
@@ -14086,7 +14104,7 @@ class ThoughtRowComponent {
|
|
|
14086
14104
|
</span>
|
|
14087
14105
|
`, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14088
14106
|
}
|
|
14089
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14107
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ThoughtRowComponent, decorators: [{
|
|
14090
14108
|
type: Component,
|
|
14091
14109
|
args: [{
|
|
14092
14110
|
selector: '[kendoLlmKitThoughtRow]',
|
|
@@ -14275,18 +14293,18 @@ class ChainOfThoughtComponent {
|
|
|
14275
14293
|
set direction(value) {
|
|
14276
14294
|
this._direction.set(value);
|
|
14277
14295
|
}
|
|
14278
|
-
_thoughts = signal([], ...(ngDevMode ? [{ debugName: "_thoughts" }] : []));
|
|
14279
|
-
_label = signal(undefined, ...(ngDevMode ? [{ debugName: "_label" }] : []));
|
|
14280
|
-
_secondaryLabel = signal(undefined, ...(ngDevMode ? [{ debugName: "_secondaryLabel" }] : []));
|
|
14281
|
-
_icon = signal('sparkles', ...(ngDevMode ? [{ debugName: "_icon" }] : []));
|
|
14282
|
-
_svgIcon = signal(sparklesIcon, ...(ngDevMode ? [{ debugName: "_svgIcon" }] : []));
|
|
14283
|
-
_linesAdded = signal(undefined, ...(ngDevMode ? [{ debugName: "_linesAdded" }] : []));
|
|
14284
|
-
_linesRemoved = signal(undefined, ...(ngDevMode ? [{ debugName: "_linesRemoved" }] : []));
|
|
14285
|
-
_completed = signal(false, ...(ngDevMode ? [{ debugName: "_completed" }] : []));
|
|
14286
|
-
_expandable = signal(false, ...(ngDevMode ? [{ debugName: "_expandable" }] : []));
|
|
14287
|
-
_expanded = signal(false, ...(ngDevMode ? [{ debugName: "_expanded" }] : []));
|
|
14288
|
-
_direction = signal(undefined, ...(ngDevMode ? [{ debugName: "_direction" }] : []));
|
|
14289
|
-
_isExpandable = computed(() => this._expandable() && this._thoughts().length > 0, ...(ngDevMode ? [{ debugName: "_isExpandable" }] : []));
|
|
14296
|
+
_thoughts = signal([], ...(ngDevMode ? [{ debugName: "_thoughts" }] : /* istanbul ignore next */ []));
|
|
14297
|
+
_label = signal(undefined, ...(ngDevMode ? [{ debugName: "_label" }] : /* istanbul ignore next */ []));
|
|
14298
|
+
_secondaryLabel = signal(undefined, ...(ngDevMode ? [{ debugName: "_secondaryLabel" }] : /* istanbul ignore next */ []));
|
|
14299
|
+
_icon = signal('sparkles', ...(ngDevMode ? [{ debugName: "_icon" }] : /* istanbul ignore next */ []));
|
|
14300
|
+
_svgIcon = signal(sparklesIcon, ...(ngDevMode ? [{ debugName: "_svgIcon" }] : /* istanbul ignore next */ []));
|
|
14301
|
+
_linesAdded = signal(undefined, ...(ngDevMode ? [{ debugName: "_linesAdded" }] : /* istanbul ignore next */ []));
|
|
14302
|
+
_linesRemoved = signal(undefined, ...(ngDevMode ? [{ debugName: "_linesRemoved" }] : /* istanbul ignore next */ []));
|
|
14303
|
+
_completed = signal(false, ...(ngDevMode ? [{ debugName: "_completed" }] : /* istanbul ignore next */ []));
|
|
14304
|
+
_expandable = signal(false, ...(ngDevMode ? [{ debugName: "_expandable" }] : /* istanbul ignore next */ []));
|
|
14305
|
+
_expanded = signal(false, ...(ngDevMode ? [{ debugName: "_expanded" }] : /* istanbul ignore next */ []));
|
|
14306
|
+
_direction = signal(undefined, ...(ngDevMode ? [{ debugName: "_direction" }] : /* istanbul ignore next */ []));
|
|
14307
|
+
_isExpandable = computed(() => this._expandable() && this._thoughts().length > 0, ...(ngDevMode ? [{ debugName: "_isExpandable" }] : /* istanbul ignore next */ []));
|
|
14290
14308
|
subscription;
|
|
14291
14309
|
constructor(localization) {
|
|
14292
14310
|
this.localization = localization;
|
|
@@ -14312,8 +14330,8 @@ class ChainOfThoughtComponent {
|
|
|
14312
14330
|
this._expanded.set(expanded);
|
|
14313
14331
|
this.expandedChange.emit(expanded);
|
|
14314
14332
|
}
|
|
14315
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14316
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
14333
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ChainOfThoughtComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14334
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.26", type: ChainOfThoughtComponent, isStandalone: true, selector: "kendo-chainofthought", inputs: { thoughts: "thoughts", label: "label", secondaryLabel: "secondaryLabel", icon: "icon", svgIcon: "svgIcon", linesAdded: "linesAdded", linesRemoved: "linesRemoved", completed: "completed", expandable: "expandable", expanded: "expanded" }, outputs: { expandedChange: "expandedChange" }, host: { properties: { "attr.dir": "this.direction" } }, providers: [
|
|
14317
14335
|
LocalizationService,
|
|
14318
14336
|
{ provide: L10N_PREFIX, useValue: 'kendo.llmkit' }
|
|
14319
14337
|
], queries: [{ propertyName: "thoughtTemplate", first: true, predicate: ThoughtTemplateDirective, descendants: true }], exportAs: ["kendoChainOfThought"], ngImport: i0, template: `
|
|
@@ -14341,7 +14359,7 @@ class ChainOfThoughtComponent {
|
|
|
14341
14359
|
</div>
|
|
14342
14360
|
`, isInline: true, dependencies: [{ kind: "component", type: AgentStepBase, selector: "[kendoLlmKitAgentStep]", inputs: ["label", "secondaryLabel", "icon", "svgIcon", "completed", "expandable", "expanded", "linesAdded", "linesRemoved"], outputs: ["expandedChange"] }, { kind: "component", type: ThoughtRowComponent, selector: "[kendoLlmKitThoughtRow]", inputs: ["thoughtTemplate", "thought"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14343
14361
|
}
|
|
14344
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14362
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ChainOfThoughtComponent, decorators: [{
|
|
14345
14363
|
type: Component,
|
|
14346
14364
|
args: [{
|
|
14347
14365
|
exportAs: 'kendoChainOfThought',
|
|
@@ -14415,10 +14433,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImpo
|
|
|
14415
14433
|
* `ToolCallComponent` for its status badge.
|
|
14416
14434
|
*/
|
|
14417
14435
|
class AgentStepBadgeDirective {
|
|
14418
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14419
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
14436
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: AgentStepBadgeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
14437
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: AgentStepBadgeDirective, isStandalone: true, selector: "[kendoLlmKitAgentStepBadge]", ngImport: i0 });
|
|
14420
14438
|
}
|
|
14421
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14439
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: AgentStepBadgeDirective, decorators: [{
|
|
14422
14440
|
type: Directive,
|
|
14423
14441
|
args: [{
|
|
14424
14442
|
selector: '[kendoLlmKitAgentStepBadge]',
|
|
@@ -14443,10 +14461,10 @@ class ToolCallParametersTemplateDirective {
|
|
|
14443
14461
|
constructor(templateRef) {
|
|
14444
14462
|
this.templateRef = templateRef;
|
|
14445
14463
|
}
|
|
14446
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14447
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
14464
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ToolCallParametersTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14465
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: ToolCallParametersTemplateDirective, isStandalone: true, selector: "[kendoToolCallParametersTemplate]", ngImport: i0 });
|
|
14448
14466
|
}
|
|
14449
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14467
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ToolCallParametersTemplateDirective, decorators: [{
|
|
14450
14468
|
type: Directive,
|
|
14451
14469
|
args: [{
|
|
14452
14470
|
selector: '[kendoToolCallParametersTemplate]',
|
|
@@ -14471,10 +14489,10 @@ class ToolCallApprovalTemplateDirective {
|
|
|
14471
14489
|
constructor(templateRef) {
|
|
14472
14490
|
this.templateRef = templateRef;
|
|
14473
14491
|
}
|
|
14474
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14475
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
14492
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ToolCallApprovalTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14493
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: ToolCallApprovalTemplateDirective, isStandalone: true, selector: "[kendoToolCallApprovalTemplate]", ngImport: i0 });
|
|
14476
14494
|
}
|
|
14477
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14495
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ToolCallApprovalTemplateDirective, decorators: [{
|
|
14478
14496
|
type: Directive,
|
|
14479
14497
|
args: [{
|
|
14480
14498
|
selector: '[kendoToolCallApprovalTemplate]',
|
|
@@ -14499,10 +14517,10 @@ class ToolCallResultTemplateDirective {
|
|
|
14499
14517
|
constructor(templateRef) {
|
|
14500
14518
|
this.templateRef = templateRef;
|
|
14501
14519
|
}
|
|
14502
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14503
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
14520
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ToolCallResultTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14521
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: ToolCallResultTemplateDirective, isStandalone: true, selector: "[kendoToolCallResultTemplate]", ngImport: i0 });
|
|
14504
14522
|
}
|
|
14505
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14523
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ToolCallResultTemplateDirective, decorators: [{
|
|
14506
14524
|
type: Directive,
|
|
14507
14525
|
args: [{
|
|
14508
14526
|
selector: '[kendoToolCallResultTemplate]',
|
|
@@ -14527,10 +14545,10 @@ class ToolCallErrorTemplateDirective {
|
|
|
14527
14545
|
constructor(templateRef) {
|
|
14528
14546
|
this.templateRef = templateRef;
|
|
14529
14547
|
}
|
|
14530
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14531
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
14548
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ToolCallErrorTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14549
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: ToolCallErrorTemplateDirective, isStandalone: true, selector: "[kendoToolCallErrorTemplate]", ngImport: i0 });
|
|
14532
14550
|
}
|
|
14533
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14551
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ToolCallErrorTemplateDirective, decorators: [{
|
|
14534
14552
|
type: Directive,
|
|
14535
14553
|
args: [{
|
|
14536
14554
|
selector: '[kendoToolCallErrorTemplate]',
|
|
@@ -14770,22 +14788,22 @@ class ToolCallComponent {
|
|
|
14770
14788
|
set direction(value) {
|
|
14771
14789
|
this._direction.set(value);
|
|
14772
14790
|
}
|
|
14773
|
-
_parameters = signal(undefined, ...(ngDevMode ? [{ debugName: "_parameters" }] : []));
|
|
14774
|
-
_result = signal(undefined, ...(ngDevMode ? [{ debugName: "_result" }] : []));
|
|
14775
|
-
_errorText = signal(undefined, ...(ngDevMode ? [{ debugName: "_errorText" }] : []));
|
|
14776
|
-
_label = signal(undefined, ...(ngDevMode ? [{ debugName: "_label" }] : []));
|
|
14777
|
-
_secondaryLabel = signal(undefined, ...(ngDevMode ? [{ debugName: "_secondaryLabel" }] : []));
|
|
14778
|
-
_approvalText = signal(undefined, ...(ngDevMode ? [{ debugName: "_approvalText" }] : []));
|
|
14779
|
-
_icon = signal('wrench', ...(ngDevMode ? [{ debugName: "_icon" }] : []));
|
|
14780
|
-
_svgIcon = signal(wrenchIcon, ...(ngDevMode ? [{ debugName: "_svgIcon" }] : []));
|
|
14781
|
-
_statusIconName = signal(undefined, ...(ngDevMode ? [{ debugName: "_statusIconName" }] : []));
|
|
14782
|
-
_statusIconNameSet = signal(false, ...(ngDevMode ? [{ debugName: "_statusIconNameSet" }] : []));
|
|
14783
|
-
_statusIcon = signal(undefined, ...(ngDevMode ? [{ debugName: "_statusIcon" }] : []));
|
|
14784
|
-
_statusIconSet = signal(false, ...(ngDevMode ? [{ debugName: "_statusIconSet" }] : []));
|
|
14785
|
-
_state = signal('active', ...(ngDevMode ? [{ debugName: "_state" }] : []));
|
|
14786
|
-
_expandable = signal(false, ...(ngDevMode ? [{ debugName: "_expandable" }] : []));
|
|
14787
|
-
_expanded = signal(false, ...(ngDevMode ? [{ debugName: "_expanded" }] : []));
|
|
14788
|
-
_direction = signal(undefined, ...(ngDevMode ? [{ debugName: "_direction" }] : []));
|
|
14791
|
+
_parameters = signal(undefined, ...(ngDevMode ? [{ debugName: "_parameters" }] : /* istanbul ignore next */ []));
|
|
14792
|
+
_result = signal(undefined, ...(ngDevMode ? [{ debugName: "_result" }] : /* istanbul ignore next */ []));
|
|
14793
|
+
_errorText = signal(undefined, ...(ngDevMode ? [{ debugName: "_errorText" }] : /* istanbul ignore next */ []));
|
|
14794
|
+
_label = signal(undefined, ...(ngDevMode ? [{ debugName: "_label" }] : /* istanbul ignore next */ []));
|
|
14795
|
+
_secondaryLabel = signal(undefined, ...(ngDevMode ? [{ debugName: "_secondaryLabel" }] : /* istanbul ignore next */ []));
|
|
14796
|
+
_approvalText = signal(undefined, ...(ngDevMode ? [{ debugName: "_approvalText" }] : /* istanbul ignore next */ []));
|
|
14797
|
+
_icon = signal('wrench', ...(ngDevMode ? [{ debugName: "_icon" }] : /* istanbul ignore next */ []));
|
|
14798
|
+
_svgIcon = signal(wrenchIcon, ...(ngDevMode ? [{ debugName: "_svgIcon" }] : /* istanbul ignore next */ []));
|
|
14799
|
+
_statusIconName = signal(undefined, ...(ngDevMode ? [{ debugName: "_statusIconName" }] : /* istanbul ignore next */ []));
|
|
14800
|
+
_statusIconNameSet = signal(false, ...(ngDevMode ? [{ debugName: "_statusIconNameSet" }] : /* istanbul ignore next */ []));
|
|
14801
|
+
_statusIcon = signal(undefined, ...(ngDevMode ? [{ debugName: "_statusIcon" }] : /* istanbul ignore next */ []));
|
|
14802
|
+
_statusIconSet = signal(false, ...(ngDevMode ? [{ debugName: "_statusIconSet" }] : /* istanbul ignore next */ []));
|
|
14803
|
+
_state = signal('active', ...(ngDevMode ? [{ debugName: "_state" }] : /* istanbul ignore next */ []));
|
|
14804
|
+
_expandable = signal(false, ...(ngDevMode ? [{ debugName: "_expandable" }] : /* istanbul ignore next */ []));
|
|
14805
|
+
_expanded = signal(false, ...(ngDevMode ? [{ debugName: "_expanded" }] : /* istanbul ignore next */ []));
|
|
14806
|
+
_direction = signal(undefined, ...(ngDevMode ? [{ debugName: "_direction" }] : /* istanbul ignore next */ []));
|
|
14789
14807
|
subscription;
|
|
14790
14808
|
constructor(localization) {
|
|
14791
14809
|
this.localization = localization;
|
|
@@ -14823,8 +14841,8 @@ class ToolCallComponent {
|
|
|
14823
14841
|
messageFor(key) {
|
|
14824
14842
|
return this.localization.get(key);
|
|
14825
14843
|
}
|
|
14826
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14827
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
14844
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ToolCallComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14845
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.26", type: ToolCallComponent, isStandalone: true, selector: "kendo-toolcall", inputs: { parameters: "parameters", result: "result", errorText: "errorText", label: "label", secondaryLabel: "secondaryLabel", approvalText: "approvalText", icon: "icon", svgIcon: "svgIcon", statusFontIcon: "statusFontIcon", statusSVGIcon: "statusSVGIcon", state: "state", expandable: "expandable", expanded: "expanded" }, outputs: { expandedChange: "expandedChange", action: "action" }, host: { properties: { "attr.dir": "this.direction" } }, providers: [LocalizationService, { provide: L10N_PREFIX, useValue: 'kendo.llmkit' }], queries: [{ propertyName: "paramsTemplate", first: true, predicate: ToolCallParametersTemplateDirective, descendants: true }, { propertyName: "approvalTemplate", first: true, predicate: ToolCallApprovalTemplateDirective, descendants: true }, { propertyName: "resultTemplate", first: true, predicate: ToolCallResultTemplateDirective, descendants: true }, { propertyName: "errorTemplate", first: true, predicate: ToolCallErrorTemplateDirective, descendants: true }], exportAs: ["kendoToolCall"], ngImport: i0, template: `
|
|
14828
14846
|
<ng-container
|
|
14829
14847
|
kendoLlmKitLocalizedMessages
|
|
14830
14848
|
i18n-approveAction="kendo.llmkit.approveAction|The text for the ToolCall's default Approve action."
|
|
@@ -14928,7 +14946,7 @@ class ToolCallComponent {
|
|
|
14928
14946
|
</div>
|
|
14929
14947
|
`, isInline: true, dependencies: [{ kind: "component", type: AgentStepBase, selector: "[kendoLlmKitAgentStep]", inputs: ["label", "secondaryLabel", "icon", "svgIcon", "completed", "expandable", "expanded", "linesAdded", "linesRemoved"], outputs: ["expandedChange"] }, { kind: "directive", type: AgentStepBadgeDirective, selector: "[kendoLlmKitAgentStepBadge]" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "endIcon", "endSvgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: CardComponent, selector: "kendo-card", inputs: ["orientation", "width"] }, { kind: "component", type: CardBodyComponent, selector: "kendo-card-body" }, { kind: "component", type: CardActionsComponent, selector: "kendo-card-actions", inputs: ["orientation", "layout", "actions"], outputs: ["action"] }, { kind: "component", type: BadgeComponent, selector: "kendo-badge", inputs: ["align", "size", "fillMode", "fill", "themeColor", "rounded", "position", "cutoutBorder"] }, { kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoLlmKitLocalizedMessages]" }, { kind: "pipe", type: JsonPipe, name: "json" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14930
14948
|
}
|
|
14931
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14949
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ToolCallComponent, decorators: [{
|
|
14932
14950
|
type: Component,
|
|
14933
14951
|
args: [{
|
|
14934
14952
|
exportAs: 'kendoToolCall',
|
|
@@ -15118,10 +15136,10 @@ class CitationBodyTemplateDirective {
|
|
|
15118
15136
|
constructor(templateRef) {
|
|
15119
15137
|
this.templateRef = templateRef;
|
|
15120
15138
|
}
|
|
15121
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15122
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
15139
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: CitationBodyTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
15140
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: CitationBodyTemplateDirective, isStandalone: true, selector: "[kendoCitationBodyTemplate]", ngImport: i0 });
|
|
15123
15141
|
}
|
|
15124
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: CitationBodyTemplateDirective, decorators: [{
|
|
15125
15143
|
type: Directive,
|
|
15126
15144
|
args: [{
|
|
15127
15145
|
selector: '[kendoCitationBodyTemplate]',
|
|
@@ -15267,20 +15285,20 @@ class CitationComponent {
|
|
|
15267
15285
|
}
|
|
15268
15286
|
previousIcon = arrowLeftIcon;
|
|
15269
15287
|
nextIcon = arrowRightIcon;
|
|
15270
|
-
_sources = signal([], ...(ngDevMode ? [{ debugName: "_sources" }] : []));
|
|
15271
|
-
_label = signal(undefined, ...(ngDevMode ? [{ debugName: "_label" }] : []));
|
|
15272
|
-
_labelSet = signal(false, ...(ngDevMode ? [{ debugName: "_labelSet" }] : []));
|
|
15273
|
-
_icon = signal('globe', ...(ngDevMode ? [{ debugName: "_icon" }] : []));
|
|
15274
|
-
_svgIcon = signal(globeIcon, ...(ngDevMode ? [{ debugName: "_svgIcon" }] : []));
|
|
15275
|
-
_sourceIcon = signal('globe', ...(ngDevMode ? [{ debugName: "_sourceIcon" }] : []));
|
|
15276
|
-
_sourceSVGIcon = signal(globeIcon, ...(ngDevMode ? [{ debugName: "_sourceSVGIcon" }] : []));
|
|
15277
|
-
_showAdditionalCount = signal(true, ...(ngDevMode ? [{ debugName: "_showAdditionalCount" }] : []));
|
|
15278
|
-
_showOn = signal('hover', ...(ngDevMode ? [{ debugName: "_showOn" }] : []));
|
|
15279
|
-
_popoverVisible = signal(false, ...(ngDevMode ? [{ debugName: "_popoverVisible" }] : []));
|
|
15280
|
-
_currentPage = signal(1, ...(ngDevMode ? [{ debugName: "_currentPage" }] : []));
|
|
15281
|
-
_direction = signal(undefined, ...(ngDevMode ? [{ debugName: "_direction" }] : []));
|
|
15282
|
-
_defaultLabel = computed(() => this.getDefaultLabel(), ...(ngDevMode ? [{ debugName: "_defaultLabel" }] : []));
|
|
15283
|
-
_popoverElement = signal(undefined, ...(ngDevMode ? [{ debugName: "_popoverElement" }] : []));
|
|
15288
|
+
_sources = signal([], ...(ngDevMode ? [{ debugName: "_sources" }] : /* istanbul ignore next */ []));
|
|
15289
|
+
_label = signal(undefined, ...(ngDevMode ? [{ debugName: "_label" }] : /* istanbul ignore next */ []));
|
|
15290
|
+
_labelSet = signal(false, ...(ngDevMode ? [{ debugName: "_labelSet" }] : /* istanbul ignore next */ []));
|
|
15291
|
+
_icon = signal('globe', ...(ngDevMode ? [{ debugName: "_icon" }] : /* istanbul ignore next */ []));
|
|
15292
|
+
_svgIcon = signal(globeIcon, ...(ngDevMode ? [{ debugName: "_svgIcon" }] : /* istanbul ignore next */ []));
|
|
15293
|
+
_sourceIcon = signal('globe', ...(ngDevMode ? [{ debugName: "_sourceIcon" }] : /* istanbul ignore next */ []));
|
|
15294
|
+
_sourceSVGIcon = signal(globeIcon, ...(ngDevMode ? [{ debugName: "_sourceSVGIcon" }] : /* istanbul ignore next */ []));
|
|
15295
|
+
_showAdditionalCount = signal(true, ...(ngDevMode ? [{ debugName: "_showAdditionalCount" }] : /* istanbul ignore next */ []));
|
|
15296
|
+
_showOn = signal('hover', ...(ngDevMode ? [{ debugName: "_showOn" }] : /* istanbul ignore next */ []));
|
|
15297
|
+
_popoverVisible = signal(false, ...(ngDevMode ? [{ debugName: "_popoverVisible" }] : /* istanbul ignore next */ []));
|
|
15298
|
+
_currentPage = signal(1, ...(ngDevMode ? [{ debugName: "_currentPage" }] : /* istanbul ignore next */ []));
|
|
15299
|
+
_direction = signal(undefined, ...(ngDevMode ? [{ debugName: "_direction" }] : /* istanbul ignore next */ []));
|
|
15300
|
+
_defaultLabel = computed(() => this.getDefaultLabel(), ...(ngDevMode ? [{ debugName: "_defaultLabel" }] : /* istanbul ignore next */ []));
|
|
15301
|
+
_popoverElement = signal(undefined, ...(ngDevMode ? [{ debugName: "_popoverElement" }] : /* istanbul ignore next */ []));
|
|
15284
15302
|
subscription;
|
|
15285
15303
|
popoverViewPositionEffect = effect(() => {
|
|
15286
15304
|
const popoverElement = this._popoverElement();
|
|
@@ -15288,7 +15306,7 @@ class CitationComponent {
|
|
|
15288
15306
|
if (popoverElement) {
|
|
15289
15307
|
this.renderer.setStyle(popoverElement, '--kendo-citation-popover-view-current', `${currentPage}`, RendererStyleFlags2.DashCase);
|
|
15290
15308
|
}
|
|
15291
|
-
}, ...(ngDevMode ? [{ debugName: "popoverViewPositionEffect" }] : []));
|
|
15309
|
+
}, ...(ngDevMode ? [{ debugName: "popoverViewPositionEffect" }] : /* istanbul ignore next */ []));
|
|
15292
15310
|
constructor(localization, renderer) {
|
|
15293
15311
|
this.localization = localization;
|
|
15294
15312
|
this.renderer = renderer;
|
|
@@ -15378,8 +15396,8 @@ class CitationComponent {
|
|
|
15378
15396
|
getPopoverElement(anchor) {
|
|
15379
15397
|
return anchor.popupRef.popupElement.querySelector('.k-popover') ?? undefined;
|
|
15380
15398
|
}
|
|
15381
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15382
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
15399
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: CitationComponent, deps: [{ token: i1.LocalizationService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
15400
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.26", type: CitationComponent, isStandalone: true, selector: "kendo-citation", inputs: { sources: "sources", label: "label", icon: "icon", svgIcon: "svgIcon", sourceIcon: "sourceIcon", sourceSVGIcon: "sourceSVGIcon", showAdditionalCount: "showAdditionalCount", showOn: "showOn" }, outputs: { open: "open" }, host: { properties: { "attr.dir": "this.direction" } }, providers: [
|
|
15383
15401
|
LocalizationService,
|
|
15384
15402
|
{ provide: L10N_PREFIX, useValue: 'kendo.llmkit' }
|
|
15385
15403
|
], queries: [{ propertyName: "popoverBodyTemplate", first: true, predicate: CitationBodyTemplateDirective, descendants: true }], exportAs: ["kendoCitation"], ngImport: i0, template: `
|
|
@@ -15479,7 +15497,7 @@ class CitationComponent {
|
|
|
15479
15497
|
}
|
|
15480
15498
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ChipComponent, selector: "kendo-chip", inputs: ["label", "icon", "svgIcon", "iconClass", "avatarSettings", "selected", "removable", "removeIcon", "removeSvgIcon", "hasMenu", "menuIcon", "menuSvgIcon", "disabled", "size", "rounded", "fillMode", "themeColor"], outputs: ["remove", "menuToggle", "contentClick"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "endIcon", "endSvgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex", "navigable"], outputs: ["navigate"], exportAs: ["kendoButtonGroup"] }, { kind: "component", type: PopoverComponent, selector: "kendo-popover", inputs: ["popupClass", "actionsLayout", "collision", "position", "offset", "width", "height", "title", "subtitle", "body", "callout", "animation", "templateData"], outputs: ["show", "shown", "hide", "hidden", "closeOnKeyDown"] }, { kind: "directive", type: PopoverAnchorDirective, selector: "[kendoPopoverAnchor]", exportAs: ["kendoPopoverAnchor"] }, { kind: "directive", type: PopoverTitleTemplateDirective, selector: "[kendoPopoverTitleTemplate]" }, { kind: "directive", type: PopoverBodyTemplateDirective, selector: "[kendoPopoverBodyTemplate]" }, { kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoLlmKitLocalizedMessages]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
15481
15499
|
}
|
|
15482
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15500
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: CitationComponent, decorators: [{
|
|
15483
15501
|
type: Component,
|
|
15484
15502
|
args: [{
|
|
15485
15503
|
exportAs: 'kendoCitation',
|
|
@@ -15643,10 +15661,10 @@ class CheckpointTemplateDirective {
|
|
|
15643
15661
|
constructor(templateRef) {
|
|
15644
15662
|
this.templateRef = templateRef;
|
|
15645
15663
|
}
|
|
15646
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15647
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
15664
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: CheckpointTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
15665
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.26", type: CheckpointTemplateDirective, isStandalone: true, selector: "[kendoCheckpointTemplate]", ngImport: i0 });
|
|
15648
15666
|
}
|
|
15649
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15667
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: CheckpointTemplateDirective, decorators: [{
|
|
15650
15668
|
type: Directive,
|
|
15651
15669
|
args: [{
|
|
15652
15670
|
selector: '[kendoCheckpointTemplate]',
|
|
@@ -15705,9 +15723,9 @@ class CheckpointComponent {
|
|
|
15705
15723
|
set direction(value) {
|
|
15706
15724
|
this._direction.set(value);
|
|
15707
15725
|
}
|
|
15708
|
-
_state = signal(undefined, ...(ngDevMode ? [{ debugName: "_state" }] : []));
|
|
15709
|
-
_displayMode = signal('hover', ...(ngDevMode ? [{ debugName: "_displayMode" }] : []));
|
|
15710
|
-
_direction = signal(undefined, ...(ngDevMode ? [{ debugName: "_direction" }] : []));
|
|
15726
|
+
_state = signal(undefined, ...(ngDevMode ? [{ debugName: "_state" }] : /* istanbul ignore next */ []));
|
|
15727
|
+
_displayMode = signal('hover', ...(ngDevMode ? [{ debugName: "_displayMode" }] : /* istanbul ignore next */ []));
|
|
15728
|
+
_direction = signal(undefined, ...(ngDevMode ? [{ debugName: "_direction" }] : /* istanbul ignore next */ []));
|
|
15711
15729
|
subscription;
|
|
15712
15730
|
constructor(localization) {
|
|
15713
15731
|
this.localization = localization;
|
|
@@ -15733,8 +15751,8 @@ class CheckpointComponent {
|
|
|
15733
15751
|
messageFor(key) {
|
|
15734
15752
|
return this.localization.get(key);
|
|
15735
15753
|
}
|
|
15736
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15737
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
15754
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: CheckpointComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
15755
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.26", type: CheckpointComponent, isStandalone: true, selector: "kendo-checkpoint", inputs: { state: "state", displayMode: "displayMode" }, outputs: { action: "action" }, host: { properties: { "class.k-checkpoint": "this.hostClass", "class.k-checkpoint-visible": "this.checkpointVisibleClass", "attr.dir": "this.direction" } }, providers: [
|
|
15738
15756
|
LocalizationService,
|
|
15739
15757
|
{ provide: L10N_PREFIX, useValue: 'kendo.llmkit' }
|
|
15740
15758
|
], queries: [{ propertyName: "template", first: true, predicate: CheckpointTemplateDirective, descendants: true }], exportAs: ["kendoCheckpoint"], ngImport: i0, template: `
|
|
@@ -15770,7 +15788,7 @@ class CheckpointComponent {
|
|
|
15770
15788
|
<span class="k-checkpoint-line" aria-hidden="true"></span>
|
|
15771
15789
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "endIcon", "endSvgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoLlmKitLocalizedMessages]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
15772
15790
|
}
|
|
15773
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15791
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: CheckpointComponent, decorators: [{
|
|
15774
15792
|
type: Component,
|
|
15775
15793
|
args: [{
|
|
15776
15794
|
exportAs: 'kendoCheckpoint',
|
|
@@ -15859,15 +15877,15 @@ class LlmKitCustomMessagesComponent extends LlmKitMessages {
|
|
|
15859
15877
|
get override() {
|
|
15860
15878
|
return true;
|
|
15861
15879
|
}
|
|
15862
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15863
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
15880
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: LlmKitCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
15881
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.26", type: LlmKitCustomMessagesComponent, isStandalone: true, selector: "kendo-llmkit-messages", providers: [
|
|
15864
15882
|
{
|
|
15865
15883
|
provide: LlmKitMessages,
|
|
15866
15884
|
useExisting: forwardRef(() => LlmKitCustomMessagesComponent)
|
|
15867
15885
|
}
|
|
15868
15886
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
15869
15887
|
}
|
|
15870
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15888
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: LlmKitCustomMessagesComponent, decorators: [{
|
|
15871
15889
|
type: Component,
|
|
15872
15890
|
args: [{
|
|
15873
15891
|
providers: [
|
|
@@ -16132,11 +16150,11 @@ const KENDO_CONVERSATIONALUI = [
|
|
|
16132
16150
|
* ```
|
|
16133
16151
|
*/
|
|
16134
16152
|
class AIPromptModule {
|
|
16135
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16136
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
16137
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
16153
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: AIPromptModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16154
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.26", ngImport: i0, type: AIPromptModule, imports: [AIPromptComponent, PromptViewComponent, OutputViewComponent, CommandViewComponent, CustomViewComponent, AIPromptCustomMessagesComponent, AIPromptToolbarActionsDirective, AIPromptToolbarFocusableDirective, AIPromptOutputTemplateDirective, AIPromptOutputBodyTemplateDirective], exports: [AIPromptComponent, PromptViewComponent, OutputViewComponent, CommandViewComponent, CustomViewComponent, AIPromptCustomMessagesComponent, AIPromptToolbarActionsDirective, AIPromptToolbarFocusableDirective, AIPromptOutputTemplateDirective, AIPromptOutputBodyTemplateDirective] });
|
|
16155
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: AIPromptModule, providers: [IconsService, PopupService, ResizeBatchService, DialogContainerService, DialogService, WindowService, WindowContainerService], imports: [AIPromptComponent, PromptViewComponent, OutputViewComponent, CommandViewComponent] });
|
|
16138
16156
|
}
|
|
16139
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16157
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: AIPromptModule, decorators: [{
|
|
16140
16158
|
type: NgModule,
|
|
16141
16159
|
args: [{
|
|
16142
16160
|
exports: [...KENDO_AIPROMPT],
|
|
@@ -16168,11 +16186,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImpo
|
|
|
16168
16186
|
* ```
|
|
16169
16187
|
*/
|
|
16170
16188
|
class ChatModule {
|
|
16171
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16172
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
16173
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
16189
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ChatModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16190
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.26", ngImport: i0, type: ChatModule, imports: [ChatComponent, CustomMessagesComponent, AttachmentTemplateDirective, AuthorMessageContentTemplateDirective, ReceiverMessageContentTemplateDirective, MessageContentTemplateDirective, AuthorMessageTemplateDirective, ReceiverMessageTemplateDirective, MessageTemplateDirective, HeroCardComponent, ChatMessageBoxTemplateDirective, ChatMessageBoxStartAffixTemplateDirective, ChatMessageBoxEndAffixTemplateDirective, ChatMessageBoxTopAffixTemplateDirective, ChatHeaderTemplateDirective, NoDataTemplateDirective, ChatTimestampTemplateDirective, ChatStatusTemplateDirective, ChatSuggestionTemplateDirective, ChatUserStatusTemplateDirective], exports: [ChatComponent, CustomMessagesComponent, AttachmentTemplateDirective, AuthorMessageContentTemplateDirective, ReceiverMessageContentTemplateDirective, MessageContentTemplateDirective, AuthorMessageTemplateDirective, ReceiverMessageTemplateDirective, MessageTemplateDirective, HeroCardComponent, ChatMessageBoxTemplateDirective, ChatMessageBoxStartAffixTemplateDirective, ChatMessageBoxEndAffixTemplateDirective, ChatMessageBoxTopAffixTemplateDirective, ChatHeaderTemplateDirective, NoDataTemplateDirective, ChatTimestampTemplateDirective, ChatStatusTemplateDirective, ChatSuggestionTemplateDirective, ChatUserStatusTemplateDirective] });
|
|
16191
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ChatModule, providers: [IconsService, ResizeBatchService], imports: [ChatComponent, HeroCardComponent] });
|
|
16174
16192
|
}
|
|
16175
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16193
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ChatModule, decorators: [{
|
|
16176
16194
|
type: NgModule,
|
|
16177
16195
|
args: [{
|
|
16178
16196
|
exports: [...KENDO_CHAT],
|
|
@@ -16201,11 +16219,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImpo
|
|
|
16201
16219
|
* ```
|
|
16202
16220
|
*/
|
|
16203
16221
|
class ConversationalUIModule {
|
|
16204
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16205
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
16206
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
16222
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ConversationalUIModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16223
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.26", ngImport: i0, type: ConversationalUIModule, imports: [AIPromptComponent, PromptViewComponent, OutputViewComponent, CommandViewComponent, CustomViewComponent, AIPromptCustomMessagesComponent, AIPromptToolbarActionsDirective, AIPromptToolbarFocusableDirective, AIPromptOutputTemplateDirective, AIPromptOutputBodyTemplateDirective, ChatComponent, CustomMessagesComponent, AttachmentTemplateDirective, AuthorMessageContentTemplateDirective, ReceiverMessageContentTemplateDirective, MessageContentTemplateDirective, AuthorMessageTemplateDirective, ReceiverMessageTemplateDirective, MessageTemplateDirective, HeroCardComponent, ChatMessageBoxTemplateDirective, ChatMessageBoxStartAffixTemplateDirective, ChatMessageBoxEndAffixTemplateDirective, ChatMessageBoxTopAffixTemplateDirective, ChatHeaderTemplateDirective, NoDataTemplateDirective, ChatTimestampTemplateDirective, ChatStatusTemplateDirective, ChatSuggestionTemplateDirective, ChatUserStatusTemplateDirective, InlineAIPromptComponent, InlineAIPromptOutputTemplateDirective, InlineAIPromptCustomMessagesComponent, PromptBoxComponent, PromptBoxCustomMessagesComponent, PromptBoxStartAffixComponent, PromptBoxEndAffixComponent, PromptBoxTopAffixComponent, PromptBoxSpeechToTextButtonComponent, PromptBoxActionButtonComponent, PromptBoxFileSelectButtonComponent, PromptBoxHeaderTemplateDirective, ReasoningComponent, ChainOfThoughtComponent, ToolCallComponent, CitationComponent, CheckpointComponent, LlmKitCustomMessagesComponent, ReasoningContentTemplateDirective, ThoughtTemplateDirective, ToolCallParametersTemplateDirective, ToolCallApprovalTemplateDirective, ToolCallResultTemplateDirective, ToolCallErrorTemplateDirective, CitationBodyTemplateDirective, CheckpointTemplateDirective], exports: [AIPromptComponent, PromptViewComponent, OutputViewComponent, CommandViewComponent, CustomViewComponent, AIPromptCustomMessagesComponent, AIPromptToolbarActionsDirective, AIPromptToolbarFocusableDirective, AIPromptOutputTemplateDirective, AIPromptOutputBodyTemplateDirective, ChatComponent, CustomMessagesComponent, AttachmentTemplateDirective, AuthorMessageContentTemplateDirective, ReceiverMessageContentTemplateDirective, MessageContentTemplateDirective, AuthorMessageTemplateDirective, ReceiverMessageTemplateDirective, MessageTemplateDirective, HeroCardComponent, ChatMessageBoxTemplateDirective, ChatMessageBoxStartAffixTemplateDirective, ChatMessageBoxEndAffixTemplateDirective, ChatMessageBoxTopAffixTemplateDirective, ChatHeaderTemplateDirective, NoDataTemplateDirective, ChatTimestampTemplateDirective, ChatStatusTemplateDirective, ChatSuggestionTemplateDirective, ChatUserStatusTemplateDirective, InlineAIPromptComponent, InlineAIPromptOutputTemplateDirective, InlineAIPromptCustomMessagesComponent, PromptBoxComponent, PromptBoxCustomMessagesComponent, PromptBoxStartAffixComponent, PromptBoxEndAffixComponent, PromptBoxTopAffixComponent, PromptBoxSpeechToTextButtonComponent, PromptBoxActionButtonComponent, PromptBoxFileSelectButtonComponent, PromptBoxHeaderTemplateDirective, ReasoningComponent, ChainOfThoughtComponent, ToolCallComponent, CitationComponent, CheckpointComponent, LlmKitCustomMessagesComponent, ReasoningContentTemplateDirective, ThoughtTemplateDirective, ToolCallParametersTemplateDirective, ToolCallApprovalTemplateDirective, ToolCallResultTemplateDirective, ToolCallErrorTemplateDirective, CitationBodyTemplateDirective, CheckpointTemplateDirective] });
|
|
16224
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ConversationalUIModule, providers: [IconsService, PopupService, ResizeBatchService, DialogContainerService, DialogService, WindowService, WindowContainerService], imports: [AIPromptComponent, PromptViewComponent, OutputViewComponent, CommandViewComponent, ChatComponent, HeroCardComponent, InlineAIPromptComponent, PromptBoxComponent, PromptBoxSpeechToTextButtonComponent, PromptBoxActionButtonComponent, PromptBoxFileSelectButtonComponent, ReasoningComponent, ChainOfThoughtComponent, ToolCallComponent, CitationComponent, CheckpointComponent] });
|
|
16207
16225
|
}
|
|
16208
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16226
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ConversationalUIModule, decorators: [{
|
|
16209
16227
|
type: NgModule,
|
|
16210
16228
|
args: [{
|
|
16211
16229
|
exports: [...KENDO_CONVERSATIONALUI],
|
|
@@ -16234,11 +16252,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImpo
|
|
|
16234
16252
|
* ```
|
|
16235
16253
|
*/
|
|
16236
16254
|
class InlineAIPromptModule {
|
|
16237
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16238
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
16239
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
16255
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: InlineAIPromptModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16256
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.26", ngImport: i0, type: InlineAIPromptModule, imports: [InlineAIPromptComponent, InlineAIPromptOutputTemplateDirective, InlineAIPromptCustomMessagesComponent], exports: [InlineAIPromptComponent, InlineAIPromptOutputTemplateDirective, InlineAIPromptCustomMessagesComponent] });
|
|
16257
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: InlineAIPromptModule, providers: [IconsService, PopupService, ResizeBatchService, DialogContainerService, DialogService, WindowService, WindowContainerService], imports: [InlineAIPromptComponent] });
|
|
16240
16258
|
}
|
|
16241
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16259
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: InlineAIPromptModule, decorators: [{
|
|
16242
16260
|
type: NgModule,
|
|
16243
16261
|
args: [{
|
|
16244
16262
|
exports: [...KENDO_INLINEAIPROMPT],
|
|
@@ -16320,10 +16338,10 @@ class InlineAIPromptService {
|
|
|
16320
16338
|
});
|
|
16321
16339
|
return component;
|
|
16322
16340
|
}
|
|
16323
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16324
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
16341
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: InlineAIPromptService, deps: [{ token: i1$2.PopupService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16342
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: InlineAIPromptService, providedIn: 'root' });
|
|
16325
16343
|
}
|
|
16326
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16344
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: InlineAIPromptService, decorators: [{
|
|
16327
16345
|
type: Injectable,
|
|
16328
16346
|
args: [{
|
|
16329
16347
|
providedIn: 'root'
|