File tree Expand file tree Collapse file tree 11 files changed +788
-31
lines changed Expand file tree Collapse file tree 11 files changed +788
-31
lines changed Original file line number Diff line number Diff line change 1818 "private" : false ,
1919 "dependencies" : {
2020 "@angular/animations" : " ^15.0.4" ,
21- "@angular/cdk" : " ^14.2.7 " ,
21+ "@angular/cdk" : " ^15.0.4 " ,
2222 "@angular/common" : " ^15.0.4" ,
2323 "@angular/compiler" : " ^15.0.4" ,
2424 "@angular/core" : " ^15.0.4" ,
2525 "@angular/forms" : " ^15.0.4" ,
26- "@angular/material" : " ^14.2.7 " ,
26+ "@angular/material" : " ^15.0.4 " ,
2727 "@angular/platform-browser" : " ^15.0.4" ,
2828 "@angular/platform-browser-dynamic" : " ^15.0.4" ,
2929 "@angular/router" : " ^15.0.4" ,
8282 " modal" ,
8383 " notifier"
8484 ]
85- }
85+ }
Original file line number Diff line number Diff line change 11import { NgModule , ModuleWithProviders } from '@angular/core' ;
2- import { MatButtonModule } from '@angular/material/button' ;
3- import { MatDialogModule } from '@angular/material/dialog' ;
2+ import { MatLegacyButtonModule as MatButtonModule } from '@angular/material/legacy- button' ;
3+ import { MatLegacyDialogModule as MatDialogModule } from '@angular/material/legacy- dialog' ;
44import { TranslateModule } from '@ngx-translate/core' ;
55import { CommonModule } from '@angular/common' ;
66import { CoreModule } from '@craftsjs/core' ;
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import {
1313 AfterViewInit ,
1414 TemplateRef
1515} from '@angular/core' ;
16- import { MatDialogRef , MAT_DIALOG_DATA } from '@angular/material/dialog' ;
16+ import { MatLegacyDialogRef as MatDialogRef , MAT_LEGACY_DIALOG_DATA as MAT_DIALOG_DATA } from '@angular/material/legacy- dialog' ;
1717import { AlertModel } from '../../models/alert.model' ;
1818import { alertComponents } from './components/components' ;
1919import { DynamicDirective } from '@craftsjs/core' ;
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import {
1313 AfterViewInit ,
1414 TemplateRef
1515} from '@angular/core' ;
16- import { MatDialogRef , MAT_DIALOG_DATA } from '@angular/material/dialog' ;
16+ import { MatLegacyDialogRef as MatDialogRef , MAT_LEGACY_DIALOG_DATA as MAT_DIALOG_DATA } from '@angular/material/legacy- dialog' ;
1717import { AlertModel } from '../../models/alert.model' ;
1818import { alertComponents } from './components/components' ;
1919import { DynamicDirective } from '@craftsjs/core' ;
Original file line number Diff line number Diff line change 11import { NgModule , ModuleWithProviders } from '@angular/core' ;
2- import { MatButtonModule } from '@angular/material/button' ;
3- import { MatDialogModule } from '@angular/material/dialog' ;
2+ import { MatLegacyButtonModule as MatButtonModule } from '@angular/material/legacy- button' ;
3+ import { MatLegacyDialogModule as MatDialogModule } from '@angular/material/legacy- dialog' ;
44import { TranslateModule } from '@ngx-translate/core' ;
55import { CommonModule } from '@angular/common' ;
66import { CoreModule } from '@craftsjs/core' ;
Original file line number Diff line number Diff line change 11import { Injectable } from '@angular/core' ;
2- import { MatDialog } from '@angular/material/dialog' ;
2+ import { MatLegacyDialog as MatDialog } from '@angular/material/legacy- dialog' ;
33import { AlertModel } from '../models/alert.model' ;
44import { AlertEnum } from '../models/alert-enum.model' ;
55import { DialogAlertComponent } from '../components/dialog-alert/dialog-alert.component' ;
Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ import { MenuUserComponent } from './components/menu-user/menu-user.component';
1313import { MenuStore } from './store/menu.store' ;
1414import { SharedPrintMenuComponent } from './components/menu-items-link/components/shared-print-menu/shared-print-menu.component' ;
1515import { CollapseButtonMobileComponent } from './components/collapse-button-mobile/collapse-button-mobile.component' ;
16- import { MatButtonModule } from '@angular/material/button' ;
16+ import { MatLegacyButtonModule as MatButtonModule } from '@angular/material/legacy- button' ;
1717import { MatIconModule } from '@angular/material/icon' ;
18- import { MatTooltipModule } from '@angular/material/tooltip' ;
18+ import { MatLegacyTooltipModule as MatTooltipModule } from '@angular/material/legacy- tooltip' ;
1919
2020@NgModule ( {
2121 imports : [
Original file line number Diff line number Diff line change 11import { NgModule } from '@angular/core' ;
22import { ReduxRegisterModule } from '@craftsjs/ngrx-action' ;
3- import { MatTooltipModule } from '@angular/material/tooltip' ;
3+ import { MatLegacyTooltipModule as MatTooltipModule } from '@angular/material/legacy- tooltip' ;
44import { MatIconModule } from '@angular/material/icon' ;
5- import { MatButtonModule } from '@angular/material/button' ;
5+ import { MatLegacyButtonModule as MatButtonModule } from '@angular/material/legacy- button' ;
66import { CommonModule } from '@angular/common' ;
77import { RouterModule } from '@angular/router' ;
88import { TranslateModule } from '@ngx-translate/core' ;
Original file line number Diff line number Diff line change 11import { NgModule , ModuleWithProviders } from '@angular/core' ;
22import { CommonModule } from '@angular/common' ;
3- import { MatDialogModule } from '@angular/material/dialog' ;
3+ import { MatLegacyDialogModule as MatDialogModule } from '@angular/material/legacy- dialog' ;
44import { ModalComponent } from './modal.component' ;
55import { ModalHeaderDirective } from './directives/modal-header.directive' ;
66import { ModalFooterDirective } from './directives/modal-footer.directive' ;
Original file line number Diff line number Diff line change 11import { Injectable , TemplateRef , Inject } from '@angular/core' ;
2- import { MatDialog } from '@angular/material/dialog' ;
2+ import { MatLegacyDialog as MatDialog } from '@angular/material/legacy- dialog' ;
33import { ComponentType } from '@angular/cdk/portal' ;
44import { CRAFTSJS_MODAL_CONFIG } from '../tokens' ;
55import { ModalConfig } from '../models/modal-config.model' ;
You can’t perform that action at this time.
0 commit comments