Fix image import
This commit is contained in:
parent
3615597851
commit
367bae32bb
@ -30,7 +30,6 @@ import { MatSidenav } from '@angular/material/sidenav';
|
|||||||
import { AuthState } from '@core/auth/auth.models';
|
import { AuthState } from '@core/auth/auth.models';
|
||||||
import { WINDOW } from '@core/services/window.service';
|
import { WINDOW } from '@core/services/window.service';
|
||||||
import { instanceOfSearchableComponent, ISearchableComponent } from '@home/models/searchable-component.models';
|
import { instanceOfSearchableComponent, ISearchableComponent } from '@home/models/searchable-component.models';
|
||||||
import logo from '../../../assets/logo_title_white.svg';
|
|
||||||
|
|
||||||
const screenfull = _screenfull as _screenfull.Screenfull;
|
const screenfull = _screenfull as _screenfull.Screenfull;
|
||||||
|
|
||||||
@ -51,7 +50,7 @@ export class HomeComponent extends PageComponent implements AfterViewInit, OnIni
|
|||||||
sidenavMode: 'over' | 'push' | 'side' = 'side';
|
sidenavMode: 'over' | 'push' | 'side' = 'side';
|
||||||
sidenavOpened = true;
|
sidenavOpened = true;
|
||||||
|
|
||||||
logo = logo;
|
logo = require('../../../assets/logo_title_white.svg').default;
|
||||||
|
|
||||||
@ViewChild('sidenav')
|
@ViewChild('sidenav')
|
||||||
sidenav: MatSidenav;
|
sidenav: MatSidenav;
|
||||||
|
|||||||
@ -17,7 +17,7 @@
|
|||||||
-->
|
-->
|
||||||
<h2 mat-dialog-title>Coming soon!</h2>
|
<h2 mat-dialog-title>Coming soon!</h2>
|
||||||
<div mat-dialog-content>
|
<div mat-dialog-content>
|
||||||
<img [src]="comingSoon"/>
|
<h1>COMING SOON!</h1>
|
||||||
</div>
|
</div>
|
||||||
<div mat-dialog-actions fxLayout="row" fxLayoutAlign="end center">
|
<div mat-dialog-actions fxLayout="row" fxLayoutAlign="end center">
|
||||||
<button mat-button color="primary" [mat-dialog-close]="true" cdkFocusInitial>Ok</button>
|
<button mat-button color="primary" [mat-dialog-close]="true" cdkFocusInitial>Ok</button>
|
||||||
|
|||||||
@ -16,7 +16,6 @@
|
|||||||
|
|
||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
import { MatDialogRef } from '@angular/material/dialog';
|
import { MatDialogRef } from '@angular/material/dialog';
|
||||||
import comingSoon from '@assets/coming-soon.jpg';
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'tb-todo-dialog',
|
selector: 'tb-todo-dialog',
|
||||||
@ -24,9 +23,6 @@ import comingSoon from '@assets/coming-soon.jpg';
|
|||||||
styleUrls: ['./todo-dialog.component.scss']
|
styleUrls: ['./todo-dialog.component.scss']
|
||||||
})
|
})
|
||||||
export class TodoDialogComponent {
|
export class TodoDialogComponent {
|
||||||
|
|
||||||
comingSoon = comingSoon;
|
|
||||||
|
|
||||||
constructor(public dialogRef: MatDialogRef<TodoDialogComponent>) {
|
constructor(public dialogRef: MatDialogRef<TodoDialogComponent>) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,19 @@
|
|||||||
|
///
|
||||||
|
/// Copyright © 2016-2020 The Thingsboard Authors
|
||||||
|
///
|
||||||
|
/// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
/// you may not use this file except in compliance with the License.
|
||||||
|
/// You may obtain a copy of the License at
|
||||||
|
///
|
||||||
|
/// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
///
|
||||||
|
/// Unless required by applicable law or agreed to in writing, software
|
||||||
|
/// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
/// See the License for the specific language governing permissions and
|
||||||
|
/// limitations under the License.
|
||||||
|
///
|
||||||
|
|
||||||
export function enumerable(value: boolean) {
|
export function enumerable(value: boolean) {
|
||||||
return (
|
return (
|
||||||
target: any,
|
target: any,
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 277 KiB |
14
ui-ngx/src/typings/imageloader.typings.d.ts
vendored
14
ui-ngx/src/typings/imageloader.typings.d.ts
vendored
@ -1,14 +0,0 @@
|
|||||||
declare module '*.png' {
|
|
||||||
const value: any;
|
|
||||||
export = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
declare module '*.jpg' {
|
|
||||||
const value: any;
|
|
||||||
export = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
declare module '*.svg' {
|
|
||||||
const value: any;
|
|
||||||
export = value;
|
|
||||||
}
|
|
||||||
@ -21,8 +21,7 @@
|
|||||||
"src/typings/jquery.jstree.typings.d.ts",
|
"src/typings/jquery.jstree.typings.d.ts",
|
||||||
"src/typings/split.js.typings.d.ts",
|
"src/typings/split.js.typings.d.ts",
|
||||||
"src/typings/add-marker.d.ts",
|
"src/typings/add-marker.d.ts",
|
||||||
"src/typings/leaflet-editable.d.ts",
|
"src/typings/leaflet-editable.d.ts"
|
||||||
"src/typings/imageloader.typings.d.ts"
|
|
||||||
],
|
],
|
||||||
"paths": {
|
"paths": {
|
||||||
"@app/*": ["src/app/*"],
|
"@app/*": ["src/app/*"],
|
||||||
@ -33,7 +32,6 @@
|
|||||||
"@modules/*": ["src/app/modules/*"],
|
"@modules/*": ["src/app/modules/*"],
|
||||||
"@shared/*": ["src/app/shared/*"],
|
"@shared/*": ["src/app/shared/*"],
|
||||||
"@home/*": ["src/app/modules/home/*"],
|
"@home/*": ["src/app/modules/home/*"],
|
||||||
"@assets/*": ["src/assets/*"],
|
|
||||||
"jszip": [
|
"jszip": [
|
||||||
"node_modules/jszip/dist/jszip.min.js"
|
"node_modules/jszip/dist/jszip.min.js"
|
||||||
]
|
]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user