Headless CMS and Content Managment Hub
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

34 lines
954 B

/*
* Squidex Headless CMS
*
* @license
* Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved.
*/
import { AsyncPipe } from '@angular/common';
import { ChangeDetectionStrategy, Component, inject } from '@angular/core';
import { AppsState, AuthService, ChatDialogComponent, DialogModel, ModalDirective, UIOptions } from '@app/shared';
@Component({
standalone: true,
selector: 'sqx-chat-menu',
styleUrls: ['./chat-menu.component.scss'],
templateUrl: './chat-menu.component.html',
changeDetection: ChangeDetectionStrategy.OnPush,
imports: [
AsyncPipe,
ChatDialogComponent,
ModalDirective,
],
})
export class ChatMenuComponent {
public readonly chatDialog = new DialogModel();
public readonly hasChatBot = inject(UIOptions).value.canUseChatBot;
constructor(
public readonly appsState: AppsState,
public readonly authService: AuthService,
) {
}
}