diff --git a/package.json b/package.json index 388f13b..b0ed9f4 100644 --- a/package.json +++ b/package.json @@ -17,15 +17,15 @@ }, "private": false, "dependencies": { - "@angular/animations": "^18.0.1", - "@angular/cdk": "^18.0.1", - "@angular/common": "^18.0.1", - "@angular/compiler": "^18.0.1", - "@angular/core": "^18.0.1", - "@angular/forms": "^18.0.1", - "@angular/platform-browser": "^18.0.1", - "@angular/platform-browser-dynamic": "^18.0.1", - "@angular/router": "^18.0.1", + "@angular/animations": "^19.0.0", + "@angular/cdk": "^19.0.0", + "@angular/common": "^19.0.0", + "@angular/compiler": "^19.0.0", + "@angular/core": "^19.0.0", + "@angular/forms": "^19.0.0", + "@angular/platform-browser": "^19.0.0", + "@angular/platform-browser-dynamic": "^19.0.0", + "@angular/router": "^19.0.0", "@ikilote/json2html": "0.4.1", "bowser": "2.11.0", "core-js": "^2.5.4", @@ -34,18 +34,18 @@ "ngx-highlightjs": "12.0.0", "ngx-infinite-scroll": ">=18.0.0", "rxjs": "^7.8.1", - "zone.js": "~0.14.2" + "zone.js": "~0.15.0" }, "devDependencies": { - "@angular-devkit/build-angular": "18.0.2", - "@angular-eslint/builder": "18.0.1", - "@angular-eslint/eslint-plugin": "18.0.1", - "@angular-eslint/eslint-plugin-template": "18.0.1", - "@angular-eslint/schematics": "18.0.1", - "@angular-eslint/template-parser": "18.0.1", - "@angular/cli": "^18.0.2", - "@angular/compiler-cli": "^18.0.1", - "@angular/language-service": "^18.0.1", + "@angular-devkit/build-angular": "19.0.0", + "@angular-eslint/builder": "18.4.1", + "@angular-eslint/eslint-plugin": "18.4.1", + "@angular-eslint/eslint-plugin-template": "18.4.1", + "@angular-eslint/schematics": "18.4.1", + "@angular-eslint/template-parser": "18.4.1", + "@angular/cli": "^19.0.0", + "@angular/compiler-cli": "^19.0.0", + "@angular/language-service": "^19.0.0", "@trivago/prettier-plugin-sort-imports": "^4.3.0", "@types/jasmine": "~3.6.0", "@types/jasminewd2": "~2.0.3", @@ -65,11 +65,11 @@ "karma-coverage-istanbul-reporter": "~2.0.0", "karma-jasmine": "~4.0.0", "karma-jasmine-html-reporter": "^1.5.0", - "ng-packagr": "^18.0.0", + "ng-packagr": "^19.0.0", "prettier": "^3.3.3", "protractor": "^7.0.0", "ts-node": "~7.0.1", "tslib": "^2.3.0", - "typescript": "~5.4.5" + "typescript": "~5.6.3" } } diff --git a/projects/ng-select2-component/src/lib/select2-hint.component.ts b/projects/ng-select2-component/src/lib/select2-hint.component.ts index b61663d..2365fbf 100644 --- a/projects/ng-select2-component/src/lib/select2-hint.component.ts +++ b/projects/ng-select2-component/src/lib/select2-hint.component.ts @@ -1,4 +1,7 @@ import { Directive } from '@angular/core'; -@Directive({ selector: 'select2-hint' }) +@Directive({ + selector: 'select2-hint', + standalone: false +}) export class Select2Hint {} diff --git a/projects/ng-select2-component/src/lib/select2-label.component.ts b/projects/ng-select2-component/src/lib/select2-label.component.ts index 3a54069..a20758e 100644 --- a/projects/ng-select2-component/src/lib/select2-label.component.ts +++ b/projects/ng-select2-component/src/lib/select2-label.component.ts @@ -1,4 +1,7 @@ import { Directive } from '@angular/core'; -@Directive({ selector: 'select2-label' }) +@Directive({ + selector: 'select2-label', + standalone: false +}) export class Select2Label {} diff --git a/projects/ng-select2-component/src/lib/select2.component.ts b/projects/ng-select2-component/src/lib/select2.component.ts index 4518fd4..17c4a6b 100644 --- a/projects/ng-select2-component/src/lib/select2.component.ts +++ b/projects/ng-select2-component/src/lib/select2.component.ts @@ -54,6 +54,7 @@ const displaySearchStatusList = ['default', 'hidden', 'always']; selector: 'select2', templateUrl: './select2.component.html', styleUrls: ['./select2.component.scss'], + standalone: false }) export class Select2 implements ControlValueAccessor, OnInit, DoCheck, AfterViewInit { _data: Select2Data; diff --git a/src/app/app-examples.component.ts b/src/app/app-examples.component.ts index da85c7d..fbf5082 100644 --- a/src/app/app-examples.component.ts +++ b/src/app/app-examples.component.ts @@ -36,6 +36,7 @@ import { selector: 'app-root', templateUrl: './app-examples.component.html', styleUrls: ['./app-examples.component.scss'], + standalone: false }) export class AppExamplesComponent { data1 = data1; diff --git a/src/app/app-gen.component.ts b/src/app/app-gen.component.ts index 73cc99c..a5d88db 100644 --- a/src/app/app-gen.component.ts +++ b/src/app/app-gen.component.ts @@ -11,6 +11,7 @@ import { data24 } from './app.data'; selector: 'app-root', templateUrl: './app-gen.component.html', styleUrls: ['./app-gen.component.scss'], + standalone: false }) export class AppGenComponent implements AfterContentInit { data = data24; diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 12e4830..69f17bd 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -5,5 +5,6 @@ import { Component, ViewEncapsulation } from '@angular/core'; templateUrl: './app.component.html', encapsulation: ViewEncapsulation.None, styleUrls: ['./app.component.scss'], + standalone: false }) export class AppComponent {}