Skip to content
This repository was archived by the owner on Feb 2, 2025. It is now read-only.

Commit fe8582b

Browse files
authored
Merge pull request #1814 from l-lin/feat-ng19
chore: upgrade to Angular 19
2 parents 89e14f9 + e431f24 commit fe8582b

35 files changed

+5784
-3195
lines changed

angular.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,5 +186,8 @@
186186
"@schematics/angular:directive": {
187187
"prefix": "app"
188188
}
189+
},
190+
"cli": {
191+
"analytics": false
189192
}
190193
}

demo/src/app/advanced/custom-range-search.component.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ import { Config } from 'datatables.net';
55

66
// Example from https://datatables.net/examples/plug-ins/range_filtering.html
77
@Component({
8-
selector: 'app-custom-range-search',
9-
templateUrl: 'custom-range-search.component.html'
8+
selector: 'app-custom-range-search',
9+
templateUrl: 'custom-range-search.component.html',
10+
standalone: false
1011
})
1112
export class CustomRangeSearchComponent implements OnDestroy, OnInit {
1213

demo/src/app/advanced/demo-ng-template-ref.component.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ import { Subject } from 'rxjs';
33
import { IDemoNgComponentEventType } from './demo-ng-template-ref-event-type';
44

55
@Component({
6-
selector: 'app-demo-ng-template-ref',
7-
templateUrl: './demo-ng-template-ref.component.html',
6+
selector: 'app-demo-ng-template-ref',
7+
templateUrl: './demo-ng-template-ref.component.html',
8+
standalone: false
89
})
910
export class DemoNgComponent implements OnInit {
1011

demo/src/app/advanced/dt-instance.component.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ import { DataTableDirective } from 'angular-datatables';
44
import { Config } from 'datatables.net';
55

66
@Component({
7-
selector: 'app-dt-instance',
8-
templateUrl: 'dt-instance.component.html'
7+
selector: 'app-dt-instance',
8+
templateUrl: 'dt-instance.component.html',
9+
standalone: false
910
})
1011
export class DtInstanceComponent implements OnInit {
1112

demo/src/app/advanced/individual-column-filtering.component.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ import { DataTableDirective } from 'angular-datatables';
44
import { Config } from 'datatables.net';
55

66
@Component({
7-
selector: 'app-individual-column-filtering',
8-
templateUrl: 'individual-column-filtering.component.html'
7+
selector: 'app-individual-column-filtering',
8+
templateUrl: 'individual-column-filtering.component.html',
9+
standalone: false
910
})
1011
export class IndividualColumnFilteringComponent implements OnInit, AfterViewInit {
1112

demo/src/app/advanced/load-dt-options-with-promise.component.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ import { HttpClient } from '@angular/common/http';
33
import { Config } from 'datatables.net';
44

55
@Component({
6-
selector: 'app-load-dt-options-with-promise',
7-
templateUrl: 'load-dt-options-with-promise.component.html'
6+
selector: 'app-load-dt-options-with-promise',
7+
templateUrl: 'load-dt-options-with-promise.component.html',
8+
standalone: false
89
})
910
export class LoadDtOptionsWithPromiseComponent implements OnInit {
1011

demo/src/app/advanced/multiple-tables.component.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ import { DataTableDirective } from 'angular-datatables';
33
import { Config } from 'datatables.net';
44

55
@Component({
6-
selector: 'app-multiple-tables',
7-
templateUrl: 'multiple-tables.component.html'
6+
selector: 'app-multiple-tables',
7+
templateUrl: 'multiple-tables.component.html',
8+
standalone: false
89
})
910
export class MultipleTablesComponent implements OnInit {
1011

demo/src/app/advanced/rerender.component.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ import { Config } from 'datatables.net';
44
import { Subject } from 'rxjs';
55

66
@Component({
7-
selector: 'app-rerender',
8-
templateUrl: 'rerender.component.html'
7+
selector: 'app-rerender',
8+
templateUrl: 'rerender.component.html',
9+
standalone: false
910
})
1011
export class RerenderComponent implements AfterViewInit, OnDestroy, OnInit {
1112

demo/src/app/advanced/router-link.component.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ import { DemoNgComponent } from './demo-ng-template-ref.component';
66
import { ADTSettings } from 'angular-datatables/src/models/settings';
77

88
@Component({
9-
selector: 'app-router-link',
10-
templateUrl: 'router-link.component.html'
9+
selector: 'app-router-link',
10+
templateUrl: 'router-link.component.html',
11+
standalone: false
1112
})
1213
export class RouterLinkComponent implements AfterViewInit, OnInit, OnDestroy {
1314

demo/src/app/advanced/row-click-event.component.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ import { Component, OnInit } from '@angular/core';
22
import { Config } from 'datatables.net';
33

44
@Component({
5-
selector: 'app-row-click-event',
6-
templateUrl: 'row-click-event.component.html'
5+
selector: 'app-row-click-event',
6+
templateUrl: 'row-click-event.component.html',
7+
standalone: false
78
})
89
export class RowClickEventComponent implements OnInit {
910

0 commit comments

Comments
 (0)