Showing
73 changed files
with
146 additions
and
134 deletions
... | ... | @@ -301,12 +301,11 @@ |
301 | 301 | "integrity": "sha512-jB8+SC3vMztW5zt5UYVmtVwqIWE33UyEjbP5JPba3I3bLRK5E059LcJmN1rSdJHItgIAdG9Y1I0WJ6aiSFyp4Q==" |
302 | 302 | }, |
303 | 303 | "@angular/cdk": { |
304 | - "version": "8.2.3", | |
305 | - "resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-8.2.3.tgz", | |
306 | - "integrity": "sha512-ZwO5Sn720RA2YvBqud0JAHkZXjmjxM0yNzCO8RVtRE9i8Gl26Wk0j0nQeJkVm4zwv2QO8MwbKUKGTMt8evsokA==", | |
304 | + "version": "9.0.0", | |
305 | + "resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-9.0.0.tgz", | |
306 | + "integrity": "sha512-2kYpyYbewIB6fubSIDMvSprJLNplRZoL/AtXW3od4dLyRxtzX+7iWTAtzUG/dhq8CKev0lpd1HENh5lLR/Lhjw==", | |
307 | 307 | "requires": { |
308 | - "parse5": "^5.0.0", | |
309 | - "tslib": "^1.7.1" | |
308 | + "parse5": "^5.0.0" | |
310 | 309 | } |
311 | 310 | }, |
312 | 311 | "@angular/cli": { |
... | ... | @@ -524,12 +523,9 @@ |
524 | 523 | "dev": true |
525 | 524 | }, |
526 | 525 | "@angular/material": { |
527 | - "version": "8.2.3", | |
528 | - "resolved": "https://registry.npmjs.org/@angular/material/-/material-8.2.3.tgz", | |
529 | - "integrity": "sha512-SOczkIaqes+r+9XF/UUiokidfFKBpHkOPIaFK857sFD0FBNPvPEpOr5oHKCG3feERRwAFqHS7Wo2ohVEWypb5A==", | |
530 | - "requires": { | |
531 | - "tslib": "^1.7.1" | |
532 | - } | |
526 | + "version": "9.0.0", | |
527 | + "resolved": "https://registry.npmjs.org/@angular/material/-/material-9.0.0.tgz", | |
528 | + "integrity": "sha512-QxN2rmR5mvg2YE1NoIGWLpbnmcJq0iFidzy6odzvN17+XkoCJBZ65IdYsHrJgfwGpoIy6bywuixrDHHcSh9I5w==" | |
533 | 529 | }, |
534 | 530 | "@angular/platform-browser": { |
535 | 531 | "version": "9.0.0", | ... | ... |
... | ... | @@ -13,13 +13,13 @@ |
13 | 13 | "private": true, |
14 | 14 | "dependencies": { |
15 | 15 | "@angular/animations": "~9.0.0", |
16 | - "@angular/cdk": "~8.2.3", | |
16 | + "@angular/cdk": "~9.0.0", | |
17 | 17 | "@angular/common": "~9.0.0", |
18 | 18 | "@angular/compiler": "~9.0.0", |
19 | 19 | "@angular/core": "~9.0.0", |
20 | 20 | "@angular/flex-layout": "^9.0.0-beta.29", |
21 | 21 | "@angular/forms": "~9.0.0", |
22 | - "@angular/material": "^8.2.3", | |
22 | + "@angular/material": "^9.0.0", | |
23 | 23 | "@angular/platform-browser": "~9.0.0", |
24 | 24 | "@angular/platform-browser-dynamic": "~9.0.0", |
25 | 25 | "@angular/router": "~9.0.0", |
... | ... | @@ -48,7 +48,6 @@ |
48 | 48 | "flot": "git://github.com/thingsboard/flot.git#0.9-work", |
49 | 49 | "flot.curvedlines": "git://github.com/MichaelZinsmaier/CurvedLines.git#master", |
50 | 50 | "font-awesome": "^4.7.0", |
51 | - "hammerjs": "^2.0.8", | |
52 | 51 | "javascript-detect-element-resize": "^0.5.3", |
53 | 52 | "jquery": "^3.4.1", |
54 | 53 | "jquery.terminal": "^1.5.0", | ... | ... |
... | ... | @@ -23,7 +23,7 @@ import { select, Store } from '@ngrx/store'; |
23 | 23 | import { AppState } from '@core/core.state'; |
24 | 24 | import { LocalStorageService } from '@core/local-storage/local-storage.service'; |
25 | 25 | import { DomSanitizer } from '@angular/platform-browser'; |
26 | -import { MatIconRegistry } from '@angular/material'; | |
26 | +import { MatIconRegistry } from '@angular/material/icon'; | |
27 | 27 | import { combineLatest } from 'rxjs'; |
28 | 28 | import { selectIsAuthenticated, selectIsUserLoaded } from '@core/auth/auth.selectors'; |
29 | 29 | import { distinctUntilChanged, filter, map, skip } from 'rxjs/operators'; | ... | ... |
... | ... | @@ -32,7 +32,9 @@ import { |
32 | 32 | } from '@ngx-translate/core'; |
33 | 33 | import { TranslateHttpLoader } from '@ngx-translate/http-loader'; |
34 | 34 | import { TbMissingTranslationHandler } from './translate/missing-translate-handler'; |
35 | -import { MatButtonModule, MatDialogModule, MatSnackBarModule } from '@angular/material'; | |
35 | +import { MatButtonModule } from '@angular/material/button'; | |
36 | +import { MatDialogModule } from '@angular/material/dialog'; | |
37 | +import { MatSnackBarModule } from '@angular/material/snack-bar'; | |
36 | 38 | import { ConfirmDialogComponent } from '@core/services/dialog/confirm-dialog.component'; |
37 | 39 | import { FlexLayoutModule } from '@angular/flex-layout'; |
38 | 40 | import { TranslateDefaultCompiler } from '@core/translate/translate-default-compiler'; | ... | ... |
... | ... | @@ -16,7 +16,7 @@ |
16 | 16 | |
17 | 17 | import { Injectable } from '@angular/core'; |
18 | 18 | import { Observable } from 'rxjs'; |
19 | -import { MatDialog, MatDialogConfig } from '@angular/material'; | |
19 | +import { MatDialog, MatDialogConfig } from '@angular/material/dialog'; | |
20 | 20 | import { ConfirmDialogComponent } from '@core/services/dialog/confirm-dialog.component'; |
21 | 21 | import { TranslateService } from '@ngx-translate/core'; |
22 | 22 | import { AlertDialogComponent } from '@core/services/dialog/alert-dialog.component'; | ... | ... |
... | ... | @@ -15,7 +15,7 @@ |
15 | 15 | /// |
16 | 16 | |
17 | 17 | import { Component, Inject } from '@angular/core'; |
18 | -import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material'; | |
18 | +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; | |
19 | 19 | |
20 | 20 | export interface AlertDialogData { |
21 | 21 | title: string; | ... | ... |
... | ... | @@ -15,7 +15,7 @@ |
15 | 15 | /// |
16 | 16 | |
17 | 17 | import { Component, Inject } from '@angular/core'; |
18 | -import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material'; | |
18 | +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; | |
19 | 19 | |
20 | 20 | export interface ConfirmDialogData { |
21 | 21 | title: string; | ... | ... |
... | ... | @@ -18,7 +18,7 @@ import { Injectable } from '@angular/core'; |
18 | 18 | import { Observable, of } from 'rxjs'; |
19 | 19 | import { RuleChainService } from '@core/http/rule-chain.service'; |
20 | 20 | import { map, switchMap } from 'rxjs/operators'; |
21 | -import { MatDialog } from '@angular/material'; | |
21 | +import { MatDialog } from '@angular/material/dialog'; | |
22 | 22 | import { NodeScriptTestDialogComponent, NodeScriptTestDialogData } from '@shared/components/dialog/node-script-test-dialog.component'; |
23 | 23 | |
24 | 24 | @Injectable({ | ... | ... |
... | ... | @@ -15,7 +15,7 @@ |
15 | 15 | /// |
16 | 16 | |
17 | 17 | import { Component, Inject, OnInit } from '@angular/core'; |
18 | -import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material'; | |
18 | +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; | |
19 | 19 | import { Store } from '@ngrx/store'; |
20 | 20 | import { AppState } from '@core/core.state'; |
21 | 21 | import { FormBuilder, FormGroup } from '@angular/forms'; | ... | ... |
... | ... | @@ -23,7 +23,7 @@ import { EntityType, EntityTypeResource, entityTypeTranslations } from '@shared/ |
23 | 23 | import { TranslateService } from '@ngx-translate/core'; |
24 | 24 | import { DatePipe } from '@angular/common'; |
25 | 25 | import { Direction } from '@shared/models/page/sort-order'; |
26 | -import { MatDialog } from '@angular/material'; | |
26 | +import { MatDialog } from '@angular/material/dialog'; | |
27 | 27 | import { TimePageLink } from '@shared/models/page/page-link'; |
28 | 28 | import { Observable } from 'rxjs'; |
29 | 29 | import { PageData } from '@shared/models/page/page-data'; | ... | ... |
... | ... | @@ -17,7 +17,7 @@ |
17 | 17 | import { Component, Input, OnInit, ViewChild } from '@angular/core'; |
18 | 18 | import { TranslateService } from '@ngx-translate/core'; |
19 | 19 | import { DatePipe } from '@angular/common'; |
20 | -import { MatDialog } from '@angular/material'; | |
20 | +import { MatDialog } from '@angular/material/dialog'; | |
21 | 21 | import { EntityId } from '@shared/models/id/entity-id'; |
22 | 22 | import { EntitiesTableComponent } from '@home/components/entity/entities-table.component'; |
23 | 23 | import { Store } from '@ngrx/store'; | ... | ... |
... | ... | @@ -15,7 +15,7 @@ |
15 | 15 | /// |
16 | 16 | |
17 | 17 | import { Component, Inject, Input, OnDestroy, OnInit, ViewChild, ViewContainerRef } from '@angular/core'; |
18 | -import { TooltipPosition } from '@angular/material'; | |
18 | +import { TooltipPosition } from '@angular/material/tooltip'; | |
19 | 19 | import { IAliasController } from '@core/api/widget-api.models'; |
20 | 20 | import { CdkOverlayOrigin, ConnectedPosition, Overlay, OverlayConfig, OverlayRef } from '@angular/cdk/overlay'; |
21 | 21 | import { TranslateService } from '@ngx-translate/core'; | ... | ... |
... | ... | @@ -15,7 +15,8 @@ |
15 | 15 | /// |
16 | 16 | |
17 | 17 | import { Component, Inject, OnInit, SkipSelf } from '@angular/core'; |
18 | -import { ErrorStateMatcher, MAT_DIALOG_DATA, MatDialogRef } from '@angular/material'; | |
18 | +import { ErrorStateMatcher } from '@angular/material/core'; | |
19 | +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; | |
19 | 20 | import { Store } from '@ngrx/store'; |
20 | 21 | import { AppState } from '@core/core.state'; |
21 | 22 | import { | ... | ... |
... | ... | @@ -15,7 +15,8 @@ |
15 | 15 | /// |
16 | 16 | |
17 | 17 | import { Component, Inject, OnInit, SkipSelf } from '@angular/core'; |
18 | -import { ErrorStateMatcher, MAT_DIALOG_DATA, MatDialogRef } from '@angular/material'; | |
18 | +import { ErrorStateMatcher } from '@angular/material/core'; | |
19 | +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; | |
19 | 20 | import { Store } from '@ngrx/store'; |
20 | 21 | import { AppState } from '@core/core.state'; |
21 | 22 | import { | ... | ... |
... | ... | @@ -15,7 +15,8 @@ |
15 | 15 | /// |
16 | 16 | |
17 | 17 | import { Component, Inject, OnInit, SkipSelf, ViewChild } from '@angular/core'; |
18 | -import { ErrorStateMatcher, MAT_DIALOG_DATA, MatDialogRef } from '@angular/material'; | |
18 | +import { ErrorStateMatcher } from '@angular/material/core'; | |
19 | +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; | |
19 | 20 | import { Store } from '@ngrx/store'; |
20 | 21 | import { AppState } from '@core/core.state'; |
21 | 22 | import { FormBuilder, FormControl, FormGroup, FormGroupDirective, NgForm, Validators } from '@angular/forms'; | ... | ... |
... | ... | @@ -15,7 +15,8 @@ |
15 | 15 | /// |
16 | 16 | |
17 | 17 | import { Component, Inject, OnInit, SkipSelf } from '@angular/core'; |
18 | -import { ErrorStateMatcher, MAT_DIALOG_DATA, MatDialogRef } from '@angular/material'; | |
18 | +import { ErrorStateMatcher } from '@angular/material/core'; | |
19 | +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; | |
19 | 20 | import { Store } from '@ngrx/store'; |
20 | 21 | import { AppState } from '@core/core.state'; |
21 | 22 | import { FormBuilder, FormControl, FormGroup, FormGroupDirective, NgForm, Validators } from '@angular/forms'; | ... | ... |
... | ... | @@ -15,7 +15,8 @@ |
15 | 15 | /// |
16 | 16 | |
17 | 17 | import { Component, Inject, InjectionToken, OnInit, SkipSelf, ViewChild } from '@angular/core'; |
18 | -import { ErrorStateMatcher, MAT_DIALOG_DATA, MatDialogRef } from '@angular/material'; | |
18 | +import { ErrorStateMatcher } from '@angular/material/core'; | |
19 | +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; | |
19 | 20 | import { Store } from '@ngrx/store'; |
20 | 21 | import { AppState } from '@core/core.state'; |
21 | 22 | import { FormBuilder, FormControl, FormGroup, FormGroupDirective, NgForm, Validators } from '@angular/forms'; | ... | ... |
... | ... | @@ -15,7 +15,7 @@ |
15 | 15 | /// |
16 | 16 | |
17 | 17 | import { Component, ElementRef, Inject, OnInit, Renderer2, ViewChild } from '@angular/core'; |
18 | -import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material'; | |
18 | +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; | |
19 | 19 | import { Store } from '@ngrx/store'; |
20 | 20 | import { AppState } from '@core/core.state'; |
21 | 21 | import { ActionStatus, AuditLog } from '@shared/models/audit-log.models'; | ... | ... |
... | ... | @@ -34,7 +34,7 @@ import { AuditLogService } from '@core/http/audit-log.service'; |
34 | 34 | import { TranslateService } from '@ngx-translate/core'; |
35 | 35 | import { DatePipe } from '@angular/common'; |
36 | 36 | import { Direction } from '@shared/models/page/sort-order'; |
37 | -import { MatDialog } from '@angular/material'; | |
37 | +import { MatDialog } from '@angular/material/dialog'; | |
38 | 38 | import { PageLink, TimePageLink } from '@shared/models/page/page-link'; |
39 | 39 | import { Observable } from 'rxjs'; |
40 | 40 | import { PageData } from '@shared/models/page/page-data'; | ... | ... |
... | ... | @@ -18,7 +18,7 @@ import { Component, Input, OnInit, ViewChild } from '@angular/core'; |
18 | 18 | import { AuditLogService } from '@core/http/audit-log.service'; |
19 | 19 | import { TranslateService } from '@ngx-translate/core'; |
20 | 20 | import { DatePipe } from '@angular/common'; |
21 | -import { MatDialog } from '@angular/material'; | |
21 | +import { MatDialog } from '@angular/material/dialog'; | |
22 | 22 | import { AuditLogMode } from '@shared/models/audit-log.models'; |
23 | 23 | import { EntityId } from '@shared/models/id/entity-id'; |
24 | 24 | import { UserId } from '@shared/models/id/user-id'; | ... | ... |
... | ... | @@ -49,7 +49,7 @@ import { BreakpointObserver } from '@angular/cdk/layout'; |
49 | 49 | import { MediaBreakpoints } from '@shared/models/constants'; |
50 | 50 | import { IAliasController, IStateController } from '@app/core/api/widget-api.models'; |
51 | 51 | import { Widget, WidgetPosition } from '@app/shared/models/widget.models'; |
52 | -import { MatMenuTrigger } from '@angular/material'; | |
52 | +import { MatMenuTrigger } from '@angular/material/menu'; | |
53 | 53 | import { SafeStyle } from '@angular/platform-browser'; |
54 | 54 | |
55 | 55 | @Component({ | ... | ... |
... | ... | @@ -15,7 +15,8 @@ |
15 | 15 | /// |
16 | 16 | |
17 | 17 | import {Component, ComponentFactoryResolver, Inject, OnInit, SkipSelf, ViewChild} from '@angular/core'; |
18 | -import {ErrorStateMatcher, MAT_DIALOG_DATA, MatDialogRef} from '@angular/material'; | |
18 | +import { ErrorStateMatcher } from '@angular/material/core'; | |
19 | +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; | |
19 | 20 | import {PageComponent} from '@shared/components/page.component'; |
20 | 21 | import {Store} from '@ngrx/store'; |
21 | 22 | import {AppState} from '@core/core.state'; | ... | ... |
... | ... | @@ -28,7 +28,9 @@ import { PageComponent } from '@shared/components/page.component'; |
28 | 28 | import { Store } from '@ngrx/store'; |
29 | 29 | import { AppState } from '@core/core.state'; |
30 | 30 | import { PageLink, TimePageLink } from '@shared/models/page/page-link'; |
31 | -import { MatDialog, MatPaginator, MatSort } from '@angular/material'; | |
31 | +import { MatDialog } from '@angular/material/dialog'; | |
32 | +import { MatPaginator } from '@angular/material/paginator'; | |
33 | +import { MatSort } from '@angular/material/sort'; | |
32 | 34 | import { EntitiesDataSource } from '@home/models/datasource/entity-datasource'; |
33 | 35 | import { debounceTime, distinctUntilChanged, tap } from 'rxjs/operators'; |
34 | 36 | import { Direction, SortOrder } from '@shared/models/page/sort-order'; | ... | ... |
... | ... | @@ -43,7 +43,7 @@ import { EntityComponent } from './entity.component'; |
43 | 43 | import { TbAnchorComponent } from '@shared/components/tb-anchor.component'; |
44 | 44 | import { EntityAction } from '@home/models/entity/entity-component.models'; |
45 | 45 | import { Subscription } from 'rxjs'; |
46 | -import { MatTabGroup, MatTab } from '@angular/material'; | |
46 | +import { MatTabGroup, MatTab } from '@angular/material/tabs'; | |
47 | 47 | import { EntityTabsComponent } from '@home/components/entity/entity-tabs.component'; |
48 | 48 | |
49 | 49 | @Component({ | ... | ... |
... | ... | @@ -20,7 +20,7 @@ import { AfterViewInit, ContentChildren, EventEmitter, Input, OnInit, Output, Qu |
20 | 20 | import { Store } from '@ngrx/store'; |
21 | 21 | import { AppState } from '@core/core.state'; |
22 | 22 | import { EntityTableConfig } from '@home/models/entity/entities-table-config.models'; |
23 | -import { MatTab } from '@angular/material'; | |
23 | +import { MatTab } from '@angular/material/tabs'; | |
24 | 24 | import { EntityAction } from '@home/models/entity/entity-component.models'; |
25 | 25 | import { BehaviorSubject } from 'rxjs'; |
26 | 26 | import { Authority } from '@app/shared/models/authority.enum'; | ... | ... |
... | ... | @@ -15,7 +15,7 @@ |
15 | 15 | /// |
16 | 16 | |
17 | 17 | import { Component, ElementRef, Inject, OnInit, Renderer2, ViewChild } from '@angular/core'; |
18 | -import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material'; | |
18 | +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; | |
19 | 19 | import { Store } from '@ngrx/store'; |
20 | 20 | import { AppState } from '@core/core.state'; |
21 | 21 | ... | ... |
... | ... | @@ -18,7 +18,7 @@ import { Component, Input, OnInit, ViewChild } from '@angular/core'; |
18 | 18 | import { AuditLogService } from '@core/http/audit-log.service'; |
19 | 19 | import { TranslateService } from '@ngx-translate/core'; |
20 | 20 | import { DatePipe } from '@angular/common'; |
21 | -import { MatDialog } from '@angular/material'; | |
21 | +import { MatDialog } from '@angular/material/dialog'; | |
22 | 22 | import { AuditLogMode } from '@shared/models/audit-log.models'; |
23 | 23 | import { EntityId } from '@shared/models/id/entity-id'; |
24 | 24 | import { UserId } from '@shared/models/id/user-id'; | ... | ... |
... | ... | @@ -15,7 +15,7 @@ |
15 | 15 | /// |
16 | 16 | |
17 | 17 | import { Component, Inject, OnInit, ViewChild } from '@angular/core'; |
18 | -import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material'; | |
18 | +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; | |
19 | 19 | import { Store } from '@ngrx/store'; |
20 | 20 | import { AppState } from '@core/core.state'; |
21 | 21 | import { FormBuilder, FormGroup, Validators } from '@angular/forms'; | ... | ... |
... | ... | @@ -15,7 +15,8 @@ |
15 | 15 | /// |
16 | 16 | |
17 | 17 | import { Component, Inject, OnInit, SkipSelf } from '@angular/core'; |
18 | -import { ErrorStateMatcher, MAT_DIALOG_DATA, MatDialogRef } from '@angular/material'; | |
18 | +import { ErrorStateMatcher } from '@angular/material/core'; | |
19 | +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; | |
19 | 20 | import { Store } from '@ngrx/store'; |
20 | 21 | import { AppState } from '@core/core.state'; |
21 | 22 | import { | ... | ... |
... | ... | @@ -15,7 +15,8 @@ |
15 | 15 | /// |
16 | 16 | |
17 | 17 | import { Component, Inject, OnInit, SkipSelf, ViewChild } from '@angular/core'; |
18 | -import { ErrorStateMatcher, MAT_DIALOG_DATA, MatDialogRef } from '@angular/material'; | |
18 | +import { ErrorStateMatcher } from '@angular/material/core'; | |
19 | +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; | |
19 | 20 | import { Store } from '@ngrx/store'; |
20 | 21 | import { AppState } from '@core/core.state'; |
21 | 22 | import { FormBuilder, FormControl, FormGroup, FormGroupDirective, NgForm, Validators } from '@angular/forms'; | ... | ... |
... | ... | @@ -15,7 +15,8 @@ |
15 | 15 | /// |
16 | 16 | |
17 | 17 | import { Component, ElementRef, Inject, OnInit, SkipSelf, ViewChild } from '@angular/core'; |
18 | -import { ErrorStateMatcher, MAT_DIALOG_DATA, MatDialogRef } from '@angular/material'; | |
18 | +import { ErrorStateMatcher } from '@angular/material/core'; | |
19 | +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; | |
19 | 20 | import { Store } from '@ngrx/store'; |
20 | 21 | import { AppState } from '@core/core.state'; |
21 | 22 | import { | ... | ... |
... | ... | @@ -15,7 +15,8 @@ |
15 | 15 | /// |
16 | 16 | |
17 | 17 | import { Component, Inject, OnInit, SkipSelf, ViewChild } from '@angular/core'; |
18 | -import { ErrorStateMatcher, MAT_DIALOG_DATA, MatDialogRef } from '@angular/material'; | |
18 | +import { ErrorStateMatcher } from '@angular/material/core'; | |
19 | +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; | |
19 | 20 | import { Store } from '@ngrx/store'; |
20 | 21 | import { AppState } from '@core/core.state'; |
21 | 22 | import { FormBuilder, FormControl, FormGroup, FormGroupDirective, NgForm, Validators } from '@angular/forms'; | ... | ... |
... | ... | @@ -39,7 +39,8 @@ import { filter, map, mergeMap, share, tap } from 'rxjs/operators'; |
39 | 39 | import { Store } from '@ngrx/store'; |
40 | 40 | import { AppState } from '@app/core/core.state'; |
41 | 41 | import { TranslateService } from '@ngx-translate/core'; |
42 | -import { MatAutocomplete, MatChipInputEvent, MatChipList } from '@angular/material'; | |
42 | +import { MatAutocomplete } from '@angular/material/autocomplete'; | |
43 | +import { MatChipInputEvent, MatChipList } from '@angular/material/chips'; | |
43 | 44 | import { coerceBooleanProperty } from '@angular/cdk/coercion'; |
44 | 45 | import { DataKeyType } from '@shared/models/telemetry/telemetry.models'; |
45 | 46 | import { DataKey, DatasourceType, widgetType } from '@shared/models/widget.models'; | ... | ... |
... | ... | @@ -16,7 +16,7 @@ |
16 | 16 | |
17 | 17 | import { Injectable, Injector, NgModule } from '@angular/core'; |
18 | 18 | import { Observable } from 'rxjs'; |
19 | -import { MatDialog } from '@angular/material'; | |
19 | +import { MatDialog } from '@angular/material/dialog'; | |
20 | 20 | import { TranslateService } from '@ngx-translate/core'; |
21 | 21 | import { AuthService } from '@core/auth/auth.service'; |
22 | 22 | import { DynamicComponentFactoryService } from '@core/services/dynamic-component-factory.service'; | ... | ... |
... | ... | @@ -15,7 +15,8 @@ |
15 | 15 | /// |
16 | 16 | |
17 | 17 | import {Component, Inject, OnInit, SkipSelf} from '@angular/core'; |
18 | -import {ErrorStateMatcher, MAT_DIALOG_DATA, MatDialogRef} from '@angular/material'; | |
18 | +import { ErrorStateMatcher } from '@angular/material/core'; | |
19 | +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; | |
19 | 20 | import {PageComponent} from '@shared/components/page.component'; |
20 | 21 | import {Store} from '@ngrx/store'; |
21 | 22 | import {AppState} from '@core/core.state'; | ... | ... |
... | ... | @@ -15,7 +15,8 @@ |
15 | 15 | /// |
16 | 16 | |
17 | 17 | import {Component, Inject, OnInit, SkipSelf} from '@angular/core'; |
18 | -import {ErrorStateMatcher, MAT_DIALOG_DATA, MatDialogRef} from '@angular/material'; | |
18 | +import { ErrorStateMatcher } from '@angular/material/core'; | |
19 | +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; | |
19 | 20 | import {PageComponent} from '@shared/components/page.component'; |
20 | 21 | import {Store} from '@ngrx/store'; |
21 | 22 | import {AppState} from '@core/core.state'; | ... | ... |
... | ... | @@ -31,7 +31,7 @@ import { MediaBreakpoints } from '@shared/models/constants'; |
31 | 31 | import { ActionNotificationShow } from '@core/notification/notification.actions'; |
32 | 32 | import { Router } from '@angular/router'; |
33 | 33 | import * as screenfull from 'screenfull'; |
34 | -import { MatSidenav } from '@angular/material'; | |
34 | +import { MatSidenav } from '@angular/material/sidenav'; | |
35 | 35 | import { AuthState } from '@core/auth/auth.models'; |
36 | 36 | import { WINDOW } from '@core/services/window.service'; |
37 | 37 | import { ISearchableComponent, instanceOfSearchableComponent } from '@home/models/searchable-component.models'; | ... | ... |
... | ... | @@ -40,7 +40,7 @@ import { CustomerService } from '@core/http/customer.service'; |
40 | 40 | import { Customer } from '@app/shared/models/customer.model'; |
41 | 41 | import { NULL_UUID } from '@shared/models/id/has-uuid'; |
42 | 42 | import { BroadcastService } from '@core/services/broadcast.service'; |
43 | -import { MatDialog } from '@angular/material'; | |
43 | +import { MatDialog } from '@angular/material/dialog'; | |
44 | 44 | import { DialogService } from '@core/services/dialog.service'; |
45 | 45 | import { |
46 | 46 | AssignToCustomerDialogComponent, | ... | ... |
... | ... | @@ -15,7 +15,8 @@ |
15 | 15 | /// |
16 | 16 | |
17 | 17 | import { Component, Inject, OnInit, SkipSelf } from '@angular/core'; |
18 | -import { ErrorStateMatcher, MAT_DIALOG_DATA, MatDialogRef } from '@angular/material'; | |
18 | +import { ErrorStateMatcher } from '@angular/material/core'; | |
19 | +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; | |
19 | 20 | import { Store } from '@ngrx/store'; |
20 | 21 | import { AppState } from '@core/core.state'; |
21 | 22 | import { FormBuilder, FormControl, FormGroup, FormGroupDirective, NgForm } from '@angular/forms'; | ... | ... |
... | ... | @@ -15,7 +15,8 @@ |
15 | 15 | /// |
16 | 16 | |
17 | 17 | import { Component, Inject, OnInit, SkipSelf } from '@angular/core'; |
18 | -import { ErrorStateMatcher, MAT_DIALOG_DATA, MatDialogRef } from '@angular/material'; | |
18 | +import { ErrorStateMatcher } from '@angular/material/core'; | |
19 | +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; | |
19 | 20 | import { Store } from '@ngrx/store'; |
20 | 21 | import { AppState } from '@core/core.state'; |
21 | 22 | import { FormBuilder, FormControl, FormGroup, FormGroupDirective, NgForm, Validators } from '@angular/forms'; | ... | ... |
... | ... | @@ -38,7 +38,7 @@ import {AppState} from '@core/core.state'; |
38 | 38 | import {Authority} from '@app/shared/models/authority.enum'; |
39 | 39 | import {CustomerService} from '@core/http/customer.service'; |
40 | 40 | import {Customer} from '@app/shared/models/customer.model'; |
41 | -import {MatDialog} from '@angular/material'; | |
41 | +import { MatDialog } from '@angular/material/dialog'; | |
42 | 42 | import {DialogService} from '@core/services/dialog.service'; |
43 | 43 | import { |
44 | 44 | AddEntitiesToCustomerDialogComponent, | ... | ... |
... | ... | @@ -15,7 +15,8 @@ |
15 | 15 | /// |
16 | 16 | |
17 | 17 | import { Component, Inject, OnInit, SkipSelf } from '@angular/core'; |
18 | -import { ErrorStateMatcher, MAT_DIALOG_DATA, MatDialogRef } from '@angular/material'; | |
18 | +import { ErrorStateMatcher } from '@angular/material/core'; | |
19 | +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; | |
19 | 20 | import { Store } from '@ngrx/store'; |
20 | 21 | import { AppState } from '@core/core.state'; |
21 | 22 | import { FormBuilder, FormControl, FormGroup, FormGroupDirective, NgForm } from '@angular/forms'; | ... | ... |
... | ... | @@ -15,7 +15,7 @@ |
15 | 15 | /// |
16 | 16 | |
17 | 17 | import { Component, OnInit } from '@angular/core'; |
18 | -import { MatDialogRef } from '@angular/material'; | |
18 | +import { MatDialogRef } from '@angular/material/dialog'; | |
19 | 19 | import { Store } from '@ngrx/store'; |
20 | 20 | import { AppState } from '@core/core.state'; |
21 | 21 | import { Router } from '@angular/router'; | ... | ... |
... | ... | @@ -15,7 +15,8 @@ |
15 | 15 | /// |
16 | 16 | |
17 | 17 | import {Component, Inject, OnInit, SkipSelf} from '@angular/core'; |
18 | -import {ErrorStateMatcher, MAT_DIALOG_DATA, MatDialogRef} from '@angular/material'; | |
18 | +import { ErrorStateMatcher } from '@angular/material/core'; | |
19 | +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; | |
19 | 20 | import {PageComponent} from '@shared/components/page.component'; |
20 | 21 | import {Store} from '@ngrx/store'; |
21 | 22 | import {AppState} from '@core/core.state'; | ... | ... |
... | ... | @@ -15,7 +15,8 @@ |
15 | 15 | /// |
16 | 16 | |
17 | 17 | import {Component, Inject, OnInit, SkipSelf} from '@angular/core'; |
18 | -import {ErrorStateMatcher, MAT_DIALOG_DATA, MatDialogRef} from '@angular/material'; | |
18 | +import { ErrorStateMatcher } from '@angular/material/core'; | |
19 | +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; | |
19 | 20 | import {PageComponent} from '@shared/components/page.component'; |
20 | 21 | import {Store} from '@ngrx/store'; |
21 | 22 | import {AppState} from '@core/core.state'; | ... | ... |
... | ... | @@ -15,7 +15,8 @@ |
15 | 15 | /// |
16 | 16 | |
17 | 17 | import { Component, Inject, OnInit, SkipSelf } from '@angular/core'; |
18 | -import { ErrorStateMatcher, MAT_DIALOG_DATA, MatDialogRef } from '@angular/material'; | |
18 | +import { ErrorStateMatcher } from '@angular/material/core'; | |
19 | +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; | |
19 | 20 | import { Store } from '@ngrx/store'; |
20 | 21 | import { AppState } from '@core/core.state'; |
21 | 22 | import { | ... | ... |
... | ... | @@ -15,7 +15,8 @@ |
15 | 15 | /// |
16 | 16 | |
17 | 17 | import { AfterViewInit, Component, ElementRef, Inject, OnInit, SkipSelf, ViewChild } from '@angular/core'; |
18 | -import { ErrorStateMatcher, MAT_DIALOG_DATA, MatDialogRef } from '@angular/material'; | |
18 | +import { ErrorStateMatcher } from '@angular/material/core'; | |
19 | +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; | |
19 | 20 | import { Store } from '@ngrx/store'; |
20 | 21 | import { AppState } from '@core/core.state'; |
21 | 22 | import { FormBuilder, FormControl, FormGroup, FormGroupDirective, NgForm } from '@angular/forms'; | ... | ... |
... | ... | @@ -15,7 +15,8 @@ |
15 | 15 | /// |
16 | 16 | |
17 | 17 | import { Component, Inject, OnInit, SkipSelf } from '@angular/core'; |
18 | -import { ErrorStateMatcher, MAT_DIALOG_DATA, MatDialogRef } from '@angular/material'; | |
18 | +import { ErrorStateMatcher } from '@angular/material/core'; | |
19 | +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; | |
19 | 20 | import { Store } from '@ngrx/store'; |
20 | 21 | import { AppState } from '@core/core.state'; |
21 | 22 | import { FormBuilder, FormControl, FormGroup, FormGroupDirective, NgForm, Validators } from '@angular/forms'; | ... | ... |
... | ... | @@ -15,7 +15,8 @@ |
15 | 15 | /// |
16 | 16 | |
17 | 17 | import {Component, OnInit, SkipSelf, Inject} from '@angular/core'; |
18 | -import {ErrorStateMatcher, MatDialogRef, MAT_DIALOG_DATA} from '@angular/material'; | |
18 | +import { ErrorStateMatcher } from '@angular/material/core'; | |
19 | +import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; | |
19 | 20 | import { PageComponent } from '@shared/components/page.component'; |
20 | 21 | import { Store } from '@ngrx/store'; |
21 | 22 | import { AppState } from '@core/core.state'; | ... | ... |
... | ... | @@ -44,7 +44,7 @@ import { Customer } from '@app/shared/models/customer.model'; |
44 | 44 | import { NULL_UUID } from '@shared/models/id/has-uuid'; |
45 | 45 | import { BroadcastService } from '@core/services/broadcast.service'; |
46 | 46 | import { DeviceTableHeaderComponent } from '@modules/home/pages/device/device-table-header.component'; |
47 | -import { MatDialog } from '@angular/material'; | |
47 | +import { MatDialog } from '@angular/material/dialog'; | |
48 | 48 | import { |
49 | 49 | DeviceCredentialsDialogComponent, |
50 | 50 | DeviceCredentialsDialogData | ... | ... |
... | ... | @@ -40,7 +40,7 @@ import {CustomerService} from '@core/http/customer.service'; |
40 | 40 | import {Customer} from '@app/shared/models/customer.model'; |
41 | 41 | import {NULL_UUID} from '@shared/models/id/has-uuid'; |
42 | 42 | import {BroadcastService} from '@core/services/broadcast.service'; |
43 | -import {MatDialog} from '@angular/material'; | |
43 | +import { MatDialog } from '@angular/material/dialog'; | |
44 | 44 | import {DialogService} from '@core/services/dialog.service'; |
45 | 45 | import { |
46 | 46 | AssignToCustomerDialogComponent, | ... | ... |
... | ... | @@ -15,7 +15,7 @@ |
15 | 15 | /// |
16 | 16 | |
17 | 17 | import { Component, OnInit } from '@angular/core'; |
18 | -import { MatDialogRef } from '@angular/material'; | |
18 | +import { MatDialogRef } from '@angular/material/dialog'; | |
19 | 19 | import { PageComponent } from '@shared/components/page.component'; |
20 | 20 | import { Store } from '@ngrx/store'; |
21 | 21 | import { AppState } from '@core/core.state'; | ... | ... |
... | ... | @@ -28,7 +28,7 @@ import {environment as env} from '@env/environment'; |
28 | 28 | import {TranslateService} from '@ngx-translate/core'; |
29 | 29 | import {ActionSettingsChangeLanguage} from '@core/settings/settings.actions'; |
30 | 30 | import {ChangePasswordDialogComponent} from '@modules/home/pages/profile/change-password-dialog.component'; |
31 | -import {MatDialog} from '@angular/material'; | |
31 | +import { MatDialog } from '@angular/material/dialog'; | |
32 | 32 | import {DialogService} from '@core/services/dialog.service'; |
33 | 33 | import {AuthService} from '@core/auth/auth.service'; |
34 | 34 | import {ActivatedRoute} from '@angular/router'; | ... | ... |
... | ... | @@ -21,7 +21,8 @@ import { Observable, of } from 'rxjs'; |
21 | 21 | import { coerceBooleanProperty } from '@angular/cdk/coercion'; |
22 | 22 | import { deepClone } from '@core/utils'; |
23 | 23 | import { TruncatePipe } from '@shared/pipe/truncate.pipe'; |
24 | -import { MatAutocomplete, MatAutocompleteSelectedEvent, MatChipInputEvent, MatChipList } from '@angular/material'; | |
24 | +import { MatAutocomplete, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete'; | |
25 | +import { MatChipInputEvent, MatChipList } from '@angular/material/chips'; | |
25 | 26 | import { TranslateService } from '@ngx-translate/core'; |
26 | 27 | import { COMMA, ENTER, SEMICOLON } from '@angular/cdk/keycodes'; |
27 | 28 | import { map, mergeMap, share, startWith } from 'rxjs/operators'; | ... | ... |
... | ... | @@ -33,7 +33,9 @@ import { AppState } from '@core/core.state'; |
33 | 33 | import { FormBuilder, FormControl, FormGroup, FormGroupDirective, NgForm, Validators } from '@angular/forms'; |
34 | 34 | import { HasDirtyFlag } from '@core/guards/confirm-on-exit.guard'; |
35 | 35 | import { TranslateService } from '@ngx-translate/core'; |
36 | -import { ErrorStateMatcher, MAT_DIALOG_DATA, MatDialog, MatDialogRef, MatExpansionPanel } from '@angular/material'; | |
36 | +import { ErrorStateMatcher } from '@angular/material/core'; | |
37 | +import { MAT_DIALOG_DATA, MatDialog, MatDialogRef } from '@angular/material/dialog'; | |
38 | +import { MatExpansionPanel } from '@angular/material/expansion'; | |
37 | 39 | import { DialogService } from '@core/services/dialog.service'; |
38 | 40 | import { AuthService } from '@core/auth/auth.service'; |
39 | 41 | import { ActivatedRoute, Router } from '@angular/router'; | ... | ... |
... | ... | @@ -15,7 +15,7 @@ |
15 | 15 | /// |
16 | 16 | |
17 | 17 | import { Component, Inject, OnInit } from '@angular/core'; |
18 | -import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material'; | |
18 | +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; | |
19 | 19 | import { PageComponent } from '@shared/components/page.component'; |
20 | 20 | import { Store } from '@ngrx/store'; |
21 | 21 | import { AppState } from '@core/core.state'; | ... | ... |
... | ... | @@ -15,7 +15,7 @@ |
15 | 15 | /// |
16 | 16 | |
17 | 17 | import { Component, Inject, OnInit, ViewChild } from '@angular/core'; |
18 | -import { MAT_DIALOG_DATA, MatDialog, MatDialogRef } from '@angular/material'; | |
18 | +import { MAT_DIALOG_DATA, MatDialog, MatDialogRef } from '@angular/material/dialog'; | |
19 | 19 | import { PageComponent } from '@shared/components/page.component'; |
20 | 20 | import { Store } from '@ngrx/store'; |
21 | 21 | import { AppState } from '@core/core.state'; | ... | ... |
... | ... | @@ -37,7 +37,7 @@ import { map, mergeMap, take, tap } from 'rxjs/operators'; |
37 | 37 | import { forkJoin, noop, Observable, of } from 'rxjs'; |
38 | 38 | import { Authority } from '@shared/models/authority.enum'; |
39 | 39 | import { CustomerId } from '@shared/models/id/customer-id'; |
40 | -import { MatDialog } from '@angular/material'; | |
40 | +import { MatDialog } from '@angular/material/dialog'; | |
41 | 41 | import { EntityAction } from '@home/models/entity/entity-component.models'; |
42 | 42 | import { |
43 | 43 | AddUserDialogComponent, | ... | ... |
... | ... | @@ -15,7 +15,7 @@ |
15 | 15 | /// |
16 | 16 | |
17 | 17 | import { Component, OnInit } from '@angular/core'; |
18 | -import { MatDialogRef } from '@angular/material'; | |
18 | +import { MatDialogRef } from '@angular/material/dialog'; | |
19 | 19 | import { Store } from '@ngrx/store'; |
20 | 20 | import { AppState } from '@core/core.state'; |
21 | 21 | import { FormBuilder, FormGroup, Validators } from '@angular/forms'; | ... | ... |
... | ... | @@ -15,7 +15,7 @@ |
15 | 15 | /// |
16 | 16 | |
17 | 17 | import { Component } from '@angular/core'; |
18 | -import { MatDialogRef } from '@angular/material'; | |
18 | +import { MatDialogRef } from '@angular/material/dialog'; | |
19 | 19 | import { Store } from '@ngrx/store'; |
20 | 20 | import { AppState } from '@core/core.state'; |
21 | 21 | import { DialogComponent } from '@shared/components/dialog.component'; | ... | ... |
... | ... | @@ -16,7 +16,8 @@ |
16 | 16 | |
17 | 17 | import { Directive, ElementRef, ViewContainerRef, ComponentFactoryResolver, ComponentRef, Input } from '@angular/core'; |
18 | 18 | import { Overlay } from '@angular/cdk/overlay'; |
19 | -import { MatProgressBar, MatSpinner } from '@angular/material'; | |
19 | +import { MatProgressBar } from '@angular/material/progress-bar'; | |
20 | +import { MatSpinner } from '@angular/material/progress-spinner'; | |
20 | 21 | |
21 | 22 | @Directive({ |
22 | 23 | selector: '[tb-circular-progress]' | ... | ... |
... | ... | @@ -15,7 +15,8 @@ |
15 | 15 | /// |
16 | 16 | |
17 | 17 | import { Component, Inject, OnInit, SkipSelf, ViewChild } from '@angular/core'; |
18 | -import { ErrorStateMatcher, MAT_DIALOG_DATA, MatDialogRef } from '@angular/material'; | |
18 | +import { ErrorStateMatcher } from '@angular/material/core'; | |
19 | +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; | |
19 | 20 | import { Store } from '@ngrx/store'; |
20 | 21 | import { AppState } from '@core/core.state'; |
21 | 22 | import { FormBuilder, FormControl, FormGroup, FormGroupDirective, NgForm, Validators } from '@angular/forms'; | ... | ... |
... | ... | @@ -15,7 +15,7 @@ |
15 | 15 | /// |
16 | 16 | |
17 | 17 | import { Component, Inject, OnInit, QueryList, ViewChildren, TemplateRef, AfterViewInit } from '@angular/core'; |
18 | -import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material'; | |
18 | +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; | |
19 | 19 | import { Store } from '@ngrx/store'; |
20 | 20 | import { AppState } from '@core/core.state'; |
21 | 21 | import { Router } from '@angular/router'; | ... | ... |
... | ... | @@ -25,7 +25,8 @@ import { |
25 | 25 | ViewChildren, |
26 | 26 | ViewEncapsulation |
27 | 27 | } from '@angular/core'; |
28 | -import { ErrorStateMatcher, MAT_DIALOG_DATA, MatDialogRef } from '@angular/material'; | |
28 | +import { ErrorStateMatcher } from '@angular/material/core'; | |
29 | +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; | |
29 | 30 | import { Store } from '@ngrx/store'; |
30 | 31 | import { AppState } from '@core/core.state'; |
31 | 32 | import { FormBuilder, FormControl, FormGroup, FormGroupDirective, NgForm, Validators } from '@angular/forms'; | ... | ... |
... | ... | @@ -33,7 +33,9 @@ import {AliasEntityType, EntityType} from '@shared/models/entity-type.models'; |
33 | 33 | import {BaseData} from '@shared/models/base-data'; |
34 | 34 | import {EntityId} from '@shared/models/id/entity-id'; |
35 | 35 | import {EntityService} from '@core/http/entity.service'; |
36 | -import {ErrorStateMatcher, MatAutocomplete, MatAutocompleteSelectedEvent, MatChipList, MatChipInputEvent} from '@angular/material'; | |
36 | +import { MatAutocomplete, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete'; | |
37 | +import { MatChipList, MatChipInputEvent } from '@angular/material/chips'; | |
38 | +import { ErrorStateMatcher } from '@angular/material/core'; | |
37 | 39 | import { coerceBooleanProperty } from '@angular/cdk/coercion'; |
38 | 40 | import {DataKeyType} from '@shared/models/telemetry/telemetry.models'; |
39 | 41 | import * as equal from 'deep-equal'; | ... | ... |
... | ... | @@ -42,7 +42,9 @@ import {AliasEntityType, EntityType} from '@shared/models/entity-type.models'; |
42 | 42 | import {BaseData} from '@shared/models/base-data'; |
43 | 43 | import {EntityId} from '@shared/models/id/entity-id'; |
44 | 44 | import {EntityService} from '@core/http/entity.service'; |
45 | -import {ErrorStateMatcher, MatAutocomplete, MatAutocompleteSelectedEvent, MatChipList} from '@angular/material'; | |
45 | +import { MatAutocomplete, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete'; | |
46 | +import { MatChipList } from '@angular/material/chips'; | |
47 | +import { ErrorStateMatcher } from '@angular/material/core'; | |
46 | 48 | import { coerceBooleanProperty } from '@angular/cdk/coercion'; |
47 | 49 | import { emptyPageData } from '@shared/models/page/page-data'; |
48 | 50 | ... | ... |
... | ... | @@ -42,7 +42,9 @@ import { AliasEntityType, EntitySubtype, EntityType, entityTypeTranslations } fr |
42 | 42 | import {BaseData} from '@shared/models/base-data'; |
43 | 43 | import {EntityId} from '@shared/models/id/entity-id'; |
44 | 44 | import {EntityService} from '@core/http/entity.service'; |
45 | -import {ErrorStateMatcher, MatAutocomplete, MatAutocompleteSelectedEvent, MatChipList} from '@angular/material'; | |
45 | +import { MatAutocomplete, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete'; | |
46 | +import { MatChipList } from '@angular/material/chips'; | |
47 | +import { ErrorStateMatcher } from '@angular/material/core'; | |
46 | 48 | import { coerceBooleanProperty } from '@angular/cdk/coercion'; |
47 | 49 | import { emptyPageData } from '@shared/models/page/page-data'; |
48 | 50 | import { AssetService } from '@core/http/asset.service'; | ... | ... |
... | ... | @@ -42,7 +42,9 @@ import { AliasEntityType, EntityType, entityTypeTranslations } from '@shared/mod |
42 | 42 | import {BaseData} from '@shared/models/base-data'; |
43 | 43 | import {EntityId} from '@shared/models/id/entity-id'; |
44 | 44 | import {EntityService} from '@core/http/entity.service'; |
45 | -import {ErrorStateMatcher, MatAutocomplete, MatAutocompleteSelectedEvent, MatChipList} from '@angular/material'; | |
45 | +import { MatAutocomplete, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete'; | |
46 | +import { MatChipList } from '@angular/material/chips'; | |
47 | +import { ErrorStateMatcher } from '@angular/material/core'; | |
46 | 48 | import { coerceBooleanProperty } from '@angular/cdk/coercion'; |
47 | 49 | import { emptyPageData } from '@shared/models/page/page-data'; |
48 | 50 | ... | ... |
... | ... | @@ -27,7 +27,7 @@ import { |
27 | 27 | } from '@angular/core'; |
28 | 28 | import { PageComponent } from '@shared/components/page.component'; |
29 | 29 | import { WINDOW } from '@core/services/window.service'; |
30 | -import { mixinColor, CanColorCtor } from '@angular/material'; | |
30 | +import { mixinColor, CanColorCtor } from '@angular/material/core'; | |
31 | 31 | |
32 | 32 | export declare type FabToolbarDirection = 'left' | 'right'; |
33 | 33 | ... | ... |
... | ... | @@ -23,12 +23,7 @@ import { |
23 | 23 | OnDestroy, ViewChild, |
24 | 24 | ViewContainerRef |
25 | 25 | } from '@angular/core'; |
26 | -import { | |
27 | - MAT_SNACK_BAR_DATA, | |
28 | - MatSnackBar, | |
29 | - MatSnackBarConfig, | |
30 | - MatSnackBarRef | |
31 | -} from '@angular/material'; | |
26 | +import { MAT_SNACK_BAR_DATA, MatSnackBar, MatSnackBarConfig, MatSnackBarRef } from '@angular/material/snack-bar'; | |
32 | 27 | import { NotificationMessage } from '@app/core/notification/notification.models'; |
33 | 28 | import { onParentScrollOrWindowResize } from '@app/core/utils'; |
34 | 29 | import { Subscription } from 'rxjs'; | ... | ... |
... | ... | @@ -24,36 +24,34 @@ import { NgxFlowModule, FlowInjectionToken } from '@flowjs/ngx-flow'; |
24 | 24 | import { NgxFlowchartModule } from 'ngx-flowchart/dist/ngx-flowchart'; |
25 | 25 | import Flow from '@flowjs/flow.js'; |
26 | 26 | |
27 | -import { | |
28 | - MatAutocompleteModule, | |
29 | - MatButtonModule, | |
30 | - MatCardModule, | |
31 | - MatCheckboxModule, | |
32 | - MatChipsModule, | |
33 | - MatDatepickerModule, | |
34 | - MatDialogModule, | |
35 | - MatDividerModule, | |
36 | - MatExpansionModule, | |
37 | - MatGridListModule, | |
38 | - MatIconModule, | |
39 | - MatInputModule, | |
40 | - MatMenuModule, | |
41 | - MatPaginatorModule, | |
42 | - MatProgressBarModule, | |
43 | - MatProgressSpinnerModule, | |
44 | - MatRadioModule, | |
45 | - MatSelectModule, | |
46 | - MatSidenavModule, | |
47 | - MatSliderModule, | |
48 | - MatSlideToggleModule, | |
49 | - MatSnackBarModule, | |
50 | - MatSortModule, | |
51 | - MatStepperModule, | |
52 | - MatTableModule, | |
53 | - MatTabsModule, | |
54 | - MatToolbarModule, | |
55 | - MatTooltipModule | |
56 | -} from '@angular/material'; | |
27 | +import { MatAutocompleteModule } from '@angular/material/autocomplete'; | |
28 | +import { MatButtonModule } from '@angular/material/button'; | |
29 | +import { MatCardModule } from '@angular/material/card'; | |
30 | +import { MatCheckboxModule } from '@angular/material/checkbox'; | |
31 | +import { MatChipsModule } from '@angular/material/chips'; | |
32 | +import { MatDatepickerModule } from '@angular/material/datepicker'; | |
33 | +import { MatDialogModule } from '@angular/material/dialog'; | |
34 | +import { MatDividerModule } from '@angular/material/divider'; | |
35 | +import { MatExpansionModule } from '@angular/material/expansion'; | |
36 | +import { MatGridListModule } from '@angular/material/grid-list'; | |
37 | +import { MatIconModule } from '@angular/material/icon'; | |
38 | +import { MatInputModule } from '@angular/material/input'; | |
39 | +import { MatMenuModule } from '@angular/material/menu'; | |
40 | +import { MatPaginatorModule } from '@angular/material/paginator'; | |
41 | +import { MatProgressBarModule } from '@angular/material/progress-bar'; | |
42 | +import { MatProgressSpinnerModule } from '@angular/material/progress-spinner'; | |
43 | +import { MatRadioModule } from '@angular/material/radio'; | |
44 | +import { MatSelectModule } from '@angular/material/select'; | |
45 | +import { MatSidenavModule } from '@angular/material/sidenav'; | |
46 | +import { MatSlideToggleModule } from '@angular/material/slide-toggle'; | |
47 | +import { MatSliderModule } from '@angular/material/slider'; | |
48 | +import { MatSnackBarModule } from '@angular/material/snack-bar'; | |
49 | +import { MatSortModule } from '@angular/material/sort'; | |
50 | +import { MatStepperModule } from '@angular/material/stepper'; | |
51 | +import { MatTableModule } from '@angular/material/table'; | |
52 | +import { MatTabsModule } from '@angular/material/tabs'; | |
53 | +import { MatToolbarModule } from '@angular/material/toolbar'; | |
54 | +import { MatTooltipModule } from '@angular/material/tooltip'; | |
57 | 55 | import { MatDatetimepickerModule, MatNativeDatetimeModule } from '@mat-datetimepicker/core'; |
58 | 56 | import { GridsterModule } from 'angular-gridster2'; |
59 | 57 | import { FlexLayoutModule } from '@angular/flex-layout'; | ... | ... |
1 | -/// | |
2 | -/// Copyright © 2016-2019 The Thingsboard Authors | |
3 | -/// | |
4 | -/// Licensed under the Apache License, Version 2.0 (the "License"); | |
5 | -/// you may not use this file except in compliance with the License. | |
6 | -/// You may obtain a copy of the License at | |
7 | -/// | |
8 | -/// http://www.apache.org/licenses/LICENSE-2.0 | |
9 | -/// | |
10 | -/// Unless required by applicable law or agreed to in writing, software | |
11 | -/// distributed under the License is distributed on an "AS IS" BASIS, | |
12 | -/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
13 | -/// See the License for the specific language governing permissions and | |
14 | -/// limitations under the License. | |
15 | -/// | |
16 | 1 | |
17 | -import 'hammerjs'; | |
18 | 2 | |
19 | 3 | import { enableProdMode } from '@angular/core'; |
20 | 4 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; | ... | ... |