mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-09 12:05:08 +00:00
(fuse/fullscreen) Added Fullscreen toggle component
This commit is contained in:
parent
5ffe0d0efa
commit
072dbce6d4
|
@ -0,0 +1,7 @@
|
||||||
|
<!-- Button -->
|
||||||
|
<button
|
||||||
|
mat-icon-button
|
||||||
|
[matTooltip]="'Toggle Fullscreen'"
|
||||||
|
(click)="toggleFullscreen()">
|
||||||
|
<mat-icon [svgIcon]="'heroicons_outline:arrows-expand'"></mat-icon>
|
||||||
|
</button>
|
164
src/@fuse/components/fullscreen/fullscreen.component.ts
Normal file
164
src/@fuse/components/fullscreen/fullscreen.component.ts
Normal file
|
@ -0,0 +1,164 @@
|
||||||
|
import { ChangeDetectionStrategy, Component, Inject, OnInit, ViewEncapsulation } from '@angular/core';
|
||||||
|
import { DOCUMENT } from '@angular/common';
|
||||||
|
import { FSDocument, FSDocumentElement } from '@fuse/components/fullscreen/fullscreen.types';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector : 'fuse-fullscreen',
|
||||||
|
templateUrl : './fullscreen.component.html',
|
||||||
|
encapsulation : ViewEncapsulation.None,
|
||||||
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||||
|
exportAs : 'fuseFullscreen'
|
||||||
|
})
|
||||||
|
export class FuseFullscreenComponent implements OnInit
|
||||||
|
{
|
||||||
|
private _fsDoc: FSDocument;
|
||||||
|
private _fsDocEl: FSDocumentElement;
|
||||||
|
private _isFullscreen: boolean = false;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*/
|
||||||
|
constructor(@Inject(DOCUMENT) private _document: Document)
|
||||||
|
{
|
||||||
|
this._fsDoc = _document as FSDocument;
|
||||||
|
}
|
||||||
|
|
||||||
|
// -----------------------------------------------------------------------------------------------------
|
||||||
|
// @ Lifecycle hooks
|
||||||
|
// -----------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
/**
|
||||||
|
* On init
|
||||||
|
*/
|
||||||
|
ngOnInit(): void
|
||||||
|
{
|
||||||
|
this._fsDocEl = document.documentElement as FSDocumentElement;
|
||||||
|
}
|
||||||
|
|
||||||
|
// -----------------------------------------------------------------------------------------------------
|
||||||
|
// @ Public methods
|
||||||
|
// -----------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Toggle the fullscreen mode
|
||||||
|
*/
|
||||||
|
toggleFullscreen(): void
|
||||||
|
{
|
||||||
|
// Check if the fullscreen is open
|
||||||
|
this._isFullscreen = this._getBrowserFullscreenElement() !== null;
|
||||||
|
|
||||||
|
// Toggle the fullscreen
|
||||||
|
if ( this._isFullscreen )
|
||||||
|
{
|
||||||
|
this._closeFullscreen();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
this._openFullscreen();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// -----------------------------------------------------------------------------------------------------
|
||||||
|
// @ Private methods
|
||||||
|
// -----------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get browser's fullscreen element
|
||||||
|
*
|
||||||
|
* @private
|
||||||
|
*/
|
||||||
|
private _getBrowserFullscreenElement(): Element
|
||||||
|
{
|
||||||
|
if ( typeof this._fsDoc.fullscreenElement !== 'undefined' )
|
||||||
|
{
|
||||||
|
return this._fsDoc.fullscreenElement;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( typeof this._fsDoc.mozFullScreenElement !== 'undefined' )
|
||||||
|
{
|
||||||
|
return this._fsDoc.mozFullScreenElement;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( typeof this._fsDoc.msFullscreenElement !== 'undefined' )
|
||||||
|
{
|
||||||
|
return this._fsDoc.msFullscreenElement;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( typeof this._fsDoc.webkitFullscreenElement !== 'undefined' )
|
||||||
|
{
|
||||||
|
return this._fsDoc.webkitFullscreenElement;
|
||||||
|
}
|
||||||
|
|
||||||
|
throw new Error('Fullscreen mode is not supported by this browser');
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Open the fullscreen
|
||||||
|
*
|
||||||
|
* @private
|
||||||
|
*/
|
||||||
|
private _openFullscreen(): void
|
||||||
|
{
|
||||||
|
if ( this._fsDocEl.requestFullscreen )
|
||||||
|
{
|
||||||
|
this._fsDocEl.requestFullscreen();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Firefox
|
||||||
|
if ( this._fsDocEl.mozRequestFullScreen )
|
||||||
|
{
|
||||||
|
this._fsDocEl.mozRequestFullScreen();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Chrome, Safari and Opera
|
||||||
|
if ( this._fsDocEl.webkitRequestFullscreen )
|
||||||
|
{
|
||||||
|
this._fsDocEl.webkitRequestFullscreen();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// IE/Edge
|
||||||
|
if ( this._fsDocEl.msRequestFullscreen )
|
||||||
|
{
|
||||||
|
this._fsDocEl.msRequestFullscreen();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Close the fullscreen
|
||||||
|
*
|
||||||
|
* @private
|
||||||
|
*/
|
||||||
|
private _closeFullscreen(): void
|
||||||
|
{
|
||||||
|
if ( this._fsDoc.exitFullscreen )
|
||||||
|
{
|
||||||
|
this._fsDoc.exitFullscreen();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Firefox
|
||||||
|
if ( this._fsDoc.mozCancelFullScreen )
|
||||||
|
{
|
||||||
|
this._fsDoc.mozCancelFullScreen();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Chrome, Safari and Opera
|
||||||
|
if ( this._fsDoc.webkitExitFullscreen )
|
||||||
|
{
|
||||||
|
this._fsDoc.webkitExitFullscreen();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// IE/Edge
|
||||||
|
else if ( this._fsDoc.msExitFullscreen )
|
||||||
|
{
|
||||||
|
this._fsDoc.msExitFullscreen();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
22
src/@fuse/components/fullscreen/fullscreen.module.ts
Normal file
22
src/@fuse/components/fullscreen/fullscreen.module.ts
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
import { NgModule } from '@angular/core';
|
||||||
|
import { MatButtonModule } from '@angular/material/button';
|
||||||
|
import { MatIconModule } from '@angular/material/icon';
|
||||||
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
||||||
|
import { FuseFullscreenComponent } from '@fuse/components/fullscreen/fullscreen.component';
|
||||||
|
|
||||||
|
@NgModule({
|
||||||
|
declarations: [
|
||||||
|
FuseFullscreenComponent
|
||||||
|
],
|
||||||
|
imports : [
|
||||||
|
MatButtonModule,
|
||||||
|
MatIconModule,
|
||||||
|
MatTooltipModule
|
||||||
|
],
|
||||||
|
exports : [
|
||||||
|
FuseFullscreenComponent
|
||||||
|
]
|
||||||
|
})
|
||||||
|
export class FuseFullscreenModule
|
||||||
|
{
|
||||||
|
}
|
16
src/@fuse/components/fullscreen/fullscreen.types.ts
Normal file
16
src/@fuse/components/fullscreen/fullscreen.types.ts
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
export interface FSDocument extends HTMLDocument
|
||||||
|
{
|
||||||
|
mozFullScreenElement?: Element;
|
||||||
|
mozCancelFullScreen?: () => void;
|
||||||
|
msFullscreenElement?: Element;
|
||||||
|
msExitFullscreen?: () => void;
|
||||||
|
webkitFullscreenElement?: Element;
|
||||||
|
webkitExitFullscreen?: () => void;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface FSDocumentElement extends HTMLElement
|
||||||
|
{
|
||||||
|
mozRequestFullScreen?: () => void;
|
||||||
|
msRequestFullscreen?: () => void;
|
||||||
|
webkitRequestFullscreen?: () => void;
|
||||||
|
}
|
1
src/@fuse/components/fullscreen/index.ts
Normal file
1
src/@fuse/components/fullscreen/index.ts
Normal file
|
@ -0,0 +1 @@
|
||||||
|
export * from '@fuse/components/fullscreen/public-api';
|
3
src/@fuse/components/fullscreen/public-api.ts
Normal file
3
src/@fuse/components/fullscreen/public-api.ts
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
export * from '@fuse/components/fullscreen/fullscreen.component';
|
||||||
|
export * from '@fuse/components/fullscreen/fullscreen.module';
|
||||||
|
export * from '@fuse/components/fullscreen/fullscreen.types';
|
|
@ -63,6 +63,7 @@
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<!-- Components -->
|
<!-- Components -->
|
||||||
<div class="flex items-center pl-2 ml-auto space-x-2">
|
<div class="flex items-center pl-2 ml-auto space-x-2">
|
||||||
|
<fuse-fullscreen></fuse-fullscreen>
|
||||||
<search [appearance]="'bar'"></search>
|
<search [appearance]="'bar'"></search>
|
||||||
<shortcuts [shortcuts]="data.shortcuts"></shortcuts>
|
<shortcuts [shortcuts]="data.shortcuts"></shortcuts>
|
||||||
<messages [messages]="data.messages"></messages>
|
<messages [messages]="data.messages"></messages>
|
||||||
|
|
|
@ -5,6 +5,7 @@ import { MatButtonModule } from '@angular/material/button';
|
||||||
import { MatDividerModule } from '@angular/material/divider';
|
import { MatDividerModule } from '@angular/material/divider';
|
||||||
import { MatIconModule } from '@angular/material/icon';
|
import { MatIconModule } from '@angular/material/icon';
|
||||||
import { MatMenuModule } from '@angular/material/menu';
|
import { MatMenuModule } from '@angular/material/menu';
|
||||||
|
import { FuseFullscreenModule } from '@fuse/components/fullscreen';
|
||||||
import { FuseNavigationModule } from '@fuse/components/navigation';
|
import { FuseNavigationModule } from '@fuse/components/navigation';
|
||||||
import { MessagesModule } from 'app/layout/common/messages/messages.module';
|
import { MessagesModule } from 'app/layout/common/messages/messages.module';
|
||||||
import { NotificationsModule } from 'app/layout/common/notifications/notifications.module';
|
import { NotificationsModule } from 'app/layout/common/notifications/notifications.module';
|
||||||
|
@ -25,6 +26,7 @@ import { CenteredLayoutComponent } from 'app/layout/layouts/horizontal/centered/
|
||||||
MatDividerModule,
|
MatDividerModule,
|
||||||
MatIconModule,
|
MatIconModule,
|
||||||
MatMenuModule,
|
MatMenuModule,
|
||||||
|
FuseFullscreenModule,
|
||||||
FuseNavigationModule,
|
FuseNavigationModule,
|
||||||
MessagesModule,
|
MessagesModule,
|
||||||
NotificationsModule,
|
NotificationsModule,
|
||||||
|
|
|
@ -46,6 +46,7 @@
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<!-- Components -->
|
<!-- Components -->
|
||||||
<div class="flex items-center pl-2 ml-auto space-x-2">
|
<div class="flex items-center pl-2 ml-auto space-x-2">
|
||||||
|
<fuse-fullscreen></fuse-fullscreen>
|
||||||
<search [appearance]="'bar'"></search>
|
<search [appearance]="'bar'"></search>
|
||||||
<shortcuts [shortcuts]="data.shortcuts"></shortcuts>
|
<shortcuts [shortcuts]="data.shortcuts"></shortcuts>
|
||||||
<messages [messages]="data.messages"></messages>
|
<messages [messages]="data.messages"></messages>
|
||||||
|
|
|
@ -5,6 +5,7 @@ import { MatButtonModule } from '@angular/material/button';
|
||||||
import { MatDividerModule } from '@angular/material/divider';
|
import { MatDividerModule } from '@angular/material/divider';
|
||||||
import { MatIconModule } from '@angular/material/icon';
|
import { MatIconModule } from '@angular/material/icon';
|
||||||
import { MatMenuModule } from '@angular/material/menu';
|
import { MatMenuModule } from '@angular/material/menu';
|
||||||
|
import { FuseFullscreenModule } from '@fuse/components/fullscreen';
|
||||||
import { FuseNavigationModule } from '@fuse/components/navigation';
|
import { FuseNavigationModule } from '@fuse/components/navigation';
|
||||||
import { MessagesModule } from 'app/layout/common/messages/messages.module';
|
import { MessagesModule } from 'app/layout/common/messages/messages.module';
|
||||||
import { NotificationsModule } from 'app/layout/common/notifications/notifications.module';
|
import { NotificationsModule } from 'app/layout/common/notifications/notifications.module';
|
||||||
|
@ -25,6 +26,7 @@ import { EnterpriseLayoutComponent } from 'app/layout/layouts/horizontal/enterpr
|
||||||
MatDividerModule,
|
MatDividerModule,
|
||||||
MatIconModule,
|
MatIconModule,
|
||||||
MatMenuModule,
|
MatMenuModule,
|
||||||
|
FuseFullscreenModule,
|
||||||
FuseNavigationModule,
|
FuseNavigationModule,
|
||||||
MessagesModule,
|
MessagesModule,
|
||||||
NotificationsModule,
|
NotificationsModule,
|
||||||
|
|
|
@ -52,6 +52,7 @@
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<!-- Components -->
|
<!-- Components -->
|
||||||
<div class="flex items-center pl-2 ml-auto space-x-2">
|
<div class="flex items-center pl-2 ml-auto space-x-2">
|
||||||
|
<fuse-fullscreen></fuse-fullscreen>
|
||||||
<search [appearance]="'bar'"></search>
|
<search [appearance]="'bar'"></search>
|
||||||
<shortcuts [shortcuts]="data.shortcuts"></shortcuts>
|
<shortcuts [shortcuts]="data.shortcuts"></shortcuts>
|
||||||
<messages [messages]="data.messages"></messages>
|
<messages [messages]="data.messages"></messages>
|
||||||
|
|
|
@ -5,6 +5,7 @@ import { MatButtonModule } from '@angular/material/button';
|
||||||
import { MatDividerModule } from '@angular/material/divider';
|
import { MatDividerModule } from '@angular/material/divider';
|
||||||
import { MatIconModule } from '@angular/material/icon';
|
import { MatIconModule } from '@angular/material/icon';
|
||||||
import { MatMenuModule } from '@angular/material/menu';
|
import { MatMenuModule } from '@angular/material/menu';
|
||||||
|
import { FuseFullscreenModule } from '@fuse/components/fullscreen';
|
||||||
import { FuseNavigationModule } from '@fuse/components/navigation';
|
import { FuseNavigationModule } from '@fuse/components/navigation';
|
||||||
import { MessagesModule } from 'app/layout/common/messages/messages.module';
|
import { MessagesModule } from 'app/layout/common/messages/messages.module';
|
||||||
import { NotificationsModule } from 'app/layout/common/notifications/notifications.module';
|
import { NotificationsModule } from 'app/layout/common/notifications/notifications.module';
|
||||||
|
@ -25,6 +26,7 @@ import { MaterialLayoutComponent } from 'app/layout/layouts/horizontal/material/
|
||||||
MatDividerModule,
|
MatDividerModule,
|
||||||
MatIconModule,
|
MatIconModule,
|
||||||
MatMenuModule,
|
MatMenuModule,
|
||||||
|
FuseFullscreenModule,
|
||||||
FuseNavigationModule,
|
FuseNavigationModule,
|
||||||
MessagesModule,
|
MessagesModule,
|
||||||
NotificationsModule,
|
NotificationsModule,
|
||||||
|
|
|
@ -55,6 +55,7 @@
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<!-- Components -->
|
<!-- Components -->
|
||||||
<div class="flex items-center pl-2 ml-auto space-x-2">
|
<div class="flex items-center pl-2 ml-auto space-x-2">
|
||||||
|
<fuse-fullscreen></fuse-fullscreen>
|
||||||
<search [appearance]="'bar'"></search>
|
<search [appearance]="'bar'"></search>
|
||||||
<shortcuts [shortcuts]="data.shortcuts"></shortcuts>
|
<shortcuts [shortcuts]="data.shortcuts"></shortcuts>
|
||||||
<messages [messages]="data.messages"></messages>
|
<messages [messages]="data.messages"></messages>
|
||||||
|
|
|
@ -5,6 +5,7 @@ import { MatButtonModule } from '@angular/material/button';
|
||||||
import { MatDividerModule } from '@angular/material/divider';
|
import { MatDividerModule } from '@angular/material/divider';
|
||||||
import { MatIconModule } from '@angular/material/icon';
|
import { MatIconModule } from '@angular/material/icon';
|
||||||
import { MatMenuModule } from '@angular/material/menu';
|
import { MatMenuModule } from '@angular/material/menu';
|
||||||
|
import { FuseFullscreenModule } from '@fuse/components/fullscreen';
|
||||||
import { FuseNavigationModule } from '@fuse/components/navigation';
|
import { FuseNavigationModule } from '@fuse/components/navigation';
|
||||||
import { MessagesModule } from 'app/layout/common/messages/messages.module';
|
import { MessagesModule } from 'app/layout/common/messages/messages.module';
|
||||||
import { NotificationsModule } from 'app/layout/common/notifications/notifications.module';
|
import { NotificationsModule } from 'app/layout/common/notifications/notifications.module';
|
||||||
|
@ -25,6 +26,7 @@ import { ModernLayoutComponent } from 'app/layout/layouts/horizontal/modern/mode
|
||||||
MatDividerModule,
|
MatDividerModule,
|
||||||
MatIconModule,
|
MatIconModule,
|
||||||
MatMenuModule,
|
MatMenuModule,
|
||||||
|
FuseFullscreenModule,
|
||||||
FuseNavigationModule,
|
FuseNavigationModule,
|
||||||
MessagesModule,
|
MessagesModule,
|
||||||
NotificationsModule,
|
NotificationsModule,
|
||||||
|
|
|
@ -36,6 +36,7 @@
|
||||||
</button>
|
</button>
|
||||||
<!-- Components -->
|
<!-- Components -->
|
||||||
<div class="flex items-center pl-2 ml-auto space-x-2">
|
<div class="flex items-center pl-2 ml-auto space-x-2">
|
||||||
|
<fuse-fullscreen></fuse-fullscreen>
|
||||||
<search [appearance]="'bar'"></search>
|
<search [appearance]="'bar'"></search>
|
||||||
<shortcuts [shortcuts]="data.shortcuts"></shortcuts>
|
<shortcuts [shortcuts]="data.shortcuts"></shortcuts>
|
||||||
<messages [messages]="data.messages"></messages>
|
<messages [messages]="data.messages"></messages>
|
||||||
|
|
|
@ -5,6 +5,7 @@ import { MatButtonModule } from '@angular/material/button';
|
||||||
import { MatDividerModule } from '@angular/material/divider';
|
import { MatDividerModule } from '@angular/material/divider';
|
||||||
import { MatIconModule } from '@angular/material/icon';
|
import { MatIconModule } from '@angular/material/icon';
|
||||||
import { MatMenuModule } from '@angular/material/menu';
|
import { MatMenuModule } from '@angular/material/menu';
|
||||||
|
import { FuseFullscreenModule } from '@fuse/components/fullscreen';
|
||||||
import { FuseNavigationModule } from '@fuse/components/navigation';
|
import { FuseNavigationModule } from '@fuse/components/navigation';
|
||||||
import { MessagesModule } from 'app/layout/common/messages/messages.module';
|
import { MessagesModule } from 'app/layout/common/messages/messages.module';
|
||||||
import { NotificationsModule } from 'app/layout/common/notifications/notifications.module';
|
import { NotificationsModule } from 'app/layout/common/notifications/notifications.module';
|
||||||
|
@ -25,6 +26,7 @@ import { ClassicLayoutComponent } from 'app/layout/layouts/vertical/classic/clas
|
||||||
MatDividerModule,
|
MatDividerModule,
|
||||||
MatIconModule,
|
MatIconModule,
|
||||||
MatMenuModule,
|
MatMenuModule,
|
||||||
|
FuseFullscreenModule,
|
||||||
FuseNavigationModule,
|
FuseNavigationModule,
|
||||||
MessagesModule,
|
MessagesModule,
|
||||||
NotificationsModule,
|
NotificationsModule,
|
||||||
|
|
|
@ -66,6 +66,7 @@
|
||||||
</button>
|
</button>
|
||||||
<!-- Components -->
|
<!-- Components -->
|
||||||
<div class="flex items-center pl-2 ml-auto space-x-2">
|
<div class="flex items-center pl-2 ml-auto space-x-2">
|
||||||
|
<fuse-fullscreen></fuse-fullscreen>
|
||||||
<search [appearance]="'bar'"></search>
|
<search [appearance]="'bar'"></search>
|
||||||
<shortcuts [shortcuts]="data.shortcuts"></shortcuts>
|
<shortcuts [shortcuts]="data.shortcuts"></shortcuts>
|
||||||
<messages [messages]="data.messages"></messages>
|
<messages [messages]="data.messages"></messages>
|
||||||
|
|
|
@ -6,6 +6,7 @@ import { MatDividerModule } from '@angular/material/divider';
|
||||||
import { MatIconModule } from '@angular/material/icon';
|
import { MatIconModule } from '@angular/material/icon';
|
||||||
import { MatMenuModule } from '@angular/material/menu';
|
import { MatMenuModule } from '@angular/material/menu';
|
||||||
import { FuseNavigationModule } from '@fuse/components/navigation';
|
import { FuseNavigationModule } from '@fuse/components/navigation';
|
||||||
|
import { FuseFullscreenModule } from '@fuse/components/fullscreen/fullscreen.module';
|
||||||
import { MessagesModule } from 'app/layout/common/messages/messages.module';
|
import { MessagesModule } from 'app/layout/common/messages/messages.module';
|
||||||
import { NotificationsModule } from 'app/layout/common/notifications/notifications.module';
|
import { NotificationsModule } from 'app/layout/common/notifications/notifications.module';
|
||||||
import { SearchModule } from 'app/layout/common/search/search.module';
|
import { SearchModule } from 'app/layout/common/search/search.module';
|
||||||
|
@ -25,6 +26,7 @@ import { ClassyLayoutComponent } from 'app/layout/layouts/vertical/classy/classy
|
||||||
MatDividerModule,
|
MatDividerModule,
|
||||||
MatIconModule,
|
MatIconModule,
|
||||||
MatMenuModule,
|
MatMenuModule,
|
||||||
|
FuseFullscreenModule,
|
||||||
FuseNavigationModule,
|
FuseNavigationModule,
|
||||||
MessagesModule,
|
MessagesModule,
|
||||||
NotificationsModule,
|
NotificationsModule,
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
</button>
|
</button>
|
||||||
<!-- Components -->
|
<!-- Components -->
|
||||||
<div class="flex items-center pl-2 ml-auto space-x-2">
|
<div class="flex items-center pl-2 ml-auto space-x-2">
|
||||||
|
<fuse-fullscreen></fuse-fullscreen>
|
||||||
<search [appearance]="'bar'"></search>
|
<search [appearance]="'bar'"></search>
|
||||||
<shortcuts [shortcuts]="data.shortcuts"></shortcuts>
|
<shortcuts [shortcuts]="data.shortcuts"></shortcuts>
|
||||||
<messages [messages]="data.messages"></messages>
|
<messages [messages]="data.messages"></messages>
|
||||||
|
|
|
@ -5,6 +5,7 @@ import { MatButtonModule } from '@angular/material/button';
|
||||||
import { MatDividerModule } from '@angular/material/divider';
|
import { MatDividerModule } from '@angular/material/divider';
|
||||||
import { MatIconModule } from '@angular/material/icon';
|
import { MatIconModule } from '@angular/material/icon';
|
||||||
import { MatMenuModule } from '@angular/material/menu';
|
import { MatMenuModule } from '@angular/material/menu';
|
||||||
|
import { FuseFullscreenModule } from '@fuse/components/fullscreen';
|
||||||
import { FuseNavigationModule } from '@fuse/components/navigation';
|
import { FuseNavigationModule } from '@fuse/components/navigation';
|
||||||
import { MessagesModule } from 'app/layout/common/messages/messages.module';
|
import { MessagesModule } from 'app/layout/common/messages/messages.module';
|
||||||
import { NotificationsModule } from 'app/layout/common/notifications/notifications.module';
|
import { NotificationsModule } from 'app/layout/common/notifications/notifications.module';
|
||||||
|
@ -25,6 +26,7 @@ import { CompactLayoutComponent } from 'app/layout/layouts/vertical/compact/comp
|
||||||
MatDividerModule,
|
MatDividerModule,
|
||||||
MatIconModule,
|
MatIconModule,
|
||||||
MatMenuModule,
|
MatMenuModule,
|
||||||
|
FuseFullscreenModule,
|
||||||
FuseNavigationModule,
|
FuseNavigationModule,
|
||||||
MessagesModule,
|
MessagesModule,
|
||||||
NotificationsModule,
|
NotificationsModule,
|
||||||
|
|
|
@ -40,6 +40,7 @@
|
||||||
</div>
|
</div>
|
||||||
<!-- Components -->
|
<!-- Components -->
|
||||||
<div class="flex items-center pl-2 ml-auto space-x-2">
|
<div class="flex items-center pl-2 ml-auto space-x-2">
|
||||||
|
<fuse-fullscreen></fuse-fullscreen>
|
||||||
<search [appearance]="'bar'"></search>
|
<search [appearance]="'bar'"></search>
|
||||||
<shortcuts [shortcuts]="data.shortcuts"></shortcuts>
|
<shortcuts [shortcuts]="data.shortcuts"></shortcuts>
|
||||||
<messages [messages]="data.messages"></messages>
|
<messages [messages]="data.messages"></messages>
|
||||||
|
|
|
@ -5,6 +5,7 @@ import { MatButtonModule } from '@angular/material/button';
|
||||||
import { MatDividerModule } from '@angular/material/divider';
|
import { MatDividerModule } from '@angular/material/divider';
|
||||||
import { MatIconModule } from '@angular/material/icon';
|
import { MatIconModule } from '@angular/material/icon';
|
||||||
import { MatMenuModule } from '@angular/material/menu';
|
import { MatMenuModule } from '@angular/material/menu';
|
||||||
|
import { FuseFullscreenModule } from '@fuse/components/fullscreen';
|
||||||
import { FuseNavigationModule } from '@fuse/components/navigation';
|
import { FuseNavigationModule } from '@fuse/components/navigation';
|
||||||
import { MessagesModule } from 'app/layout/common/messages/messages.module';
|
import { MessagesModule } from 'app/layout/common/messages/messages.module';
|
||||||
import { NotificationsModule } from 'app/layout/common/notifications/notifications.module';
|
import { NotificationsModule } from 'app/layout/common/notifications/notifications.module';
|
||||||
|
@ -25,6 +26,7 @@ import { DenseLayoutComponent } from 'app/layout/layouts/vertical/dense/dense.co
|
||||||
MatDividerModule,
|
MatDividerModule,
|
||||||
MatIconModule,
|
MatIconModule,
|
||||||
MatMenuModule,
|
MatMenuModule,
|
||||||
|
FuseFullscreenModule,
|
||||||
FuseNavigationModule,
|
FuseNavigationModule,
|
||||||
MessagesModule,
|
MessagesModule,
|
||||||
NotificationsModule,
|
NotificationsModule,
|
||||||
|
|
|
@ -45,6 +45,7 @@
|
||||||
</button>
|
</button>
|
||||||
<!-- Components -->
|
<!-- Components -->
|
||||||
<div class="flex items-center pl-2 ml-auto space-x-2">
|
<div class="flex items-center pl-2 ml-auto space-x-2">
|
||||||
|
<fuse-fullscreen></fuse-fullscreen>
|
||||||
<search [appearance]="'bar'"></search>
|
<search [appearance]="'bar'"></search>
|
||||||
<shortcuts [shortcuts]="data.shortcuts"></shortcuts>
|
<shortcuts [shortcuts]="data.shortcuts"></shortcuts>
|
||||||
<messages [messages]="data.messages"></messages>
|
<messages [messages]="data.messages"></messages>
|
||||||
|
|
|
@ -5,6 +5,7 @@ import { MatButtonModule } from '@angular/material/button';
|
||||||
import { MatDividerModule } from '@angular/material/divider';
|
import { MatDividerModule } from '@angular/material/divider';
|
||||||
import { MatIconModule } from '@angular/material/icon';
|
import { MatIconModule } from '@angular/material/icon';
|
||||||
import { MatMenuModule } from '@angular/material/menu';
|
import { MatMenuModule } from '@angular/material/menu';
|
||||||
|
import { FuseFullscreenModule } from '@fuse/components/fullscreen';
|
||||||
import { FuseNavigationModule } from '@fuse/components/navigation';
|
import { FuseNavigationModule } from '@fuse/components/navigation';
|
||||||
import { MessagesModule } from 'app/layout/common/messages/messages.module';
|
import { MessagesModule } from 'app/layout/common/messages/messages.module';
|
||||||
import { NotificationsModule } from 'app/layout/common/notifications/notifications.module';
|
import { NotificationsModule } from 'app/layout/common/notifications/notifications.module';
|
||||||
|
@ -25,6 +26,7 @@ import { FuturisticLayoutComponent } from 'app/layout/layouts/vertical/futuristi
|
||||||
MatDividerModule,
|
MatDividerModule,
|
||||||
MatIconModule,
|
MatIconModule,
|
||||||
MatMenuModule,
|
MatMenuModule,
|
||||||
|
FuseFullscreenModule,
|
||||||
FuseNavigationModule,
|
FuseNavigationModule,
|
||||||
MessagesModule,
|
MessagesModule,
|
||||||
NotificationsModule,
|
NotificationsModule,
|
||||||
|
|
|
@ -32,6 +32,7 @@
|
||||||
</button>
|
</button>
|
||||||
<!-- Components -->
|
<!-- Components -->
|
||||||
<div class="flex items-center pl-2 ml-auto space-x-2">
|
<div class="flex items-center pl-2 ml-auto space-x-2">
|
||||||
|
<fuse-fullscreen></fuse-fullscreen>
|
||||||
<search [appearance]="'bar'"></search>
|
<search [appearance]="'bar'"></search>
|
||||||
<shortcuts [shortcuts]="data.shortcuts"></shortcuts>
|
<shortcuts [shortcuts]="data.shortcuts"></shortcuts>
|
||||||
<messages [messages]="data.messages"></messages>
|
<messages [messages]="data.messages"></messages>
|
||||||
|
|
|
@ -5,6 +5,7 @@ import { MatButtonModule } from '@angular/material/button';
|
||||||
import { MatDividerModule } from '@angular/material/divider';
|
import { MatDividerModule } from '@angular/material/divider';
|
||||||
import { MatIconModule } from '@angular/material/icon';
|
import { MatIconModule } from '@angular/material/icon';
|
||||||
import { MatMenuModule } from '@angular/material/menu';
|
import { MatMenuModule } from '@angular/material/menu';
|
||||||
|
import { FuseFullscreenModule } from '@fuse/components/fullscreen';
|
||||||
import { FuseNavigationModule } from '@fuse/components/navigation';
|
import { FuseNavigationModule } from '@fuse/components/navigation';
|
||||||
import { MessagesModule } from 'app/layout/common/messages/messages.module';
|
import { MessagesModule } from 'app/layout/common/messages/messages.module';
|
||||||
import { NotificationsModule } from 'app/layout/common/notifications/notifications.module';
|
import { NotificationsModule } from 'app/layout/common/notifications/notifications.module';
|
||||||
|
@ -25,6 +26,7 @@ import { ThinLayoutComponent } from 'app/layout/layouts/vertical/thin/thin.compo
|
||||||
MatDividerModule,
|
MatDividerModule,
|
||||||
MatIconModule,
|
MatIconModule,
|
||||||
MatMenuModule,
|
MatMenuModule,
|
||||||
|
FuseFullscreenModule,
|
||||||
FuseNavigationModule,
|
FuseNavigationModule,
|
||||||
MessagesModule,
|
MessagesModule,
|
||||||
NotificationsModule,
|
NotificationsModule,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user