@telia-ace/widget-components-widget-header-flamingo 1.1.120-rc.6 → 1.1.120-rc.7

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.
@@ -4,16 +4,16 @@ import { WidgetHeaderOption } from './widget-header-option';
4
4
  declare const WidgetElement: (new (...args: any[]) => import('../../core/src/index.ts').WidgetComponentType) & typeof LitElement;
5
5
  type authStateType = 'non-authenticated' | 'authenticating' | 'authenticated' | 'chat-ended';
6
6
  export declare class WidgetHeader extends WidgetElement {
7
- static styles: import('lit').CSSResultGroup[];
7
+ static readonly styles: import('lit').CSSResultGroup[];
8
8
  optionsIsVisible: boolean;
9
9
  authState: authStateType;
10
10
  UserName: string;
11
11
  authUrl: string;
12
12
  provider: any;
13
13
  idref: any;
14
- private options;
15
- private optionsRef;
16
- private optionsTriggerRef;
14
+ private readonly options;
15
+ private readonly optionsRef;
16
+ private readonly optionsTriggerRef;
17
17
  addOption(option: CreateWidgetHeaderOption): WidgetHeaderOption;
18
18
  removeOption(option: WidgetHeaderOption): void;
19
19
  private _onToggleOptionsMenuClick;
@@ -21,11 +21,13 @@ export declare class WidgetHeader extends WidgetElement {
21
21
  notify(type: string, data?: Record<string, any>): void;
22
22
  connectedCallback(): void;
23
23
  disconnectedCallback(): void;
24
- private _onClickOutside;
24
+ private readonly _onClickOutside;
25
25
  private _onStartAuth;
26
26
  private _showLogoutForm;
27
27
  private shouldUseAuth;
28
28
  _logout(state?: authStateType): void;
29
+ private renderAuthSection;
30
+ private renderAuthStatus;
29
31
  render(): import('lit-html').TemplateResult<1>;
30
32
  }
31
33
  export default WidgetHeader;