Angular 18 upgrade
This commit is contained in:
@@ -12,6 +12,7 @@ import 'codemirror/mode/clike/clike';
|
||||
import 'codemirror/addon/lint/javascript-lint';
|
||||
import {PropertiesEditorService} from './properties-editor.service';
|
||||
import {dia} from 'jointjs';
|
||||
import {setTheme} from "ngx-bootstrap/utils";
|
||||
|
||||
@Component({
|
||||
selector: 'demo-app',
|
||||
@@ -36,6 +37,7 @@ export class AppComponent {
|
||||
this.renderer = new Renderer();
|
||||
this.editor = new Editor(propertiesEditor);
|
||||
this.dsl = '';
|
||||
setTheme('bs5'); // or 'bs4'
|
||||
}
|
||||
|
||||
arrangeAll() {
|
||||
|
||||
@@ -10,7 +10,6 @@ import { AppComponent } from './app.component';
|
||||
@NgModule({
|
||||
imports: [ BrowserModule, FormsModule, FloModule, ModalModule.forRoot() ],
|
||||
declarations: [ AppComponent, PropertiesDialogComponent ],
|
||||
entryComponents: [ PropertiesDialogComponent ],
|
||||
bootstrap: [ AppComponent ]
|
||||
})
|
||||
export class AppModule { }
|
||||
|
||||
@@ -9,7 +9,8 @@ import { FormGroup } from '@angular/forms';
|
||||
@Component({
|
||||
selector: 'properties-dialog-content',
|
||||
templateUrl: './properties.dialog.component.html',
|
||||
encapsulation: ViewEncapsulation.None
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
standalone: false
|
||||
})
|
||||
export class PropertiesDialogComponent {
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
/***************************************************************************************************
|
||||
* Zone JS is required by Angular itself.
|
||||
*/
|
||||
import 'zone.js/dist/zone'; // Included with Angular CLI.
|
||||
import 'zone.js'; // Included with Angular CLI.
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user