Skip to content

Commit

Permalink
chore: update packages
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbyg603 committed Dec 4, 2024
1 parent 93c2ab4 commit f5b9f4d
Show file tree
Hide file tree
Showing 94 changed files with 746 additions and 1,855 deletions.
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"prettier"
],
"rules": {
"@angular-eslint/prefer-standalone": "off",
"@typescript-eslint/no-empty-object-type": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": "off",
Expand Down
1,271 changes: 71 additions & 1,200 deletions package-lock.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@
"@angular-devkit/architect": "^0.1900.2",
"@angular-devkit/build-angular": "~19.0.2",
"@angular-devkit/build-ng-packagr": "0.1002.0",
"@angular-eslint/builder": "~18.2.0",
"@angular-eslint/eslint-plugin": "^18.4.0",
"@angular-eslint/eslint-plugin-template": "^18.4.0",
"@angular-eslint/schematics": "~18.2.0",
"@angular-eslint/template-parser": "^18.4.0",
"@angular-eslint/builder": "~19.0.0",
"@angular-eslint/eslint-plugin": "^19.0.0",
"@angular-eslint/eslint-plugin-template": "^19.0.0",
"@angular-eslint/schematics": "~19.0.0",
"@angular-eslint/template-parser": "^19.0.0",
"@angular/cli": "~19.0.2",
"@angular/compiler-cli": "~19.0.1",
"@angular/language-service": "~19.0.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import { ScaleType } from '../common/types/scale-type.enum';
import { ViewDimensions } from '../common/types/view-dimension.interface';

@Component({
selector: 'ngx-charts-area-chart-normalized',
template: `
selector: 'ngx-charts-area-chart-normalized',
template: `
<ngx-charts-chart
[view]="[width, height]"
[showLegend]="legend"
Expand Down Expand Up @@ -161,10 +161,10 @@ import { ViewDimensions } from '../common/types/view-dimension.interface';
</svg:g>
</ngx-charts-chart>
`,
changeDetection: ChangeDetectionStrategy.OnPush,
styleUrls: ['../common/base-chart.component.scss'],
encapsulation: ViewEncapsulation.None,
standalone: false
changeDetection: ChangeDetectionStrategy.OnPush,
styleUrls: ['../common/base-chart.component.scss'],
encapsulation: ViewEncapsulation.None,
standalone: false
})
export class AreaChartNormalizedComponent extends BaseChartComponent {
@Input() legend = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import { ViewDimensions } from '../common/types/view-dimension.interface';
import { ScaleType } from '../common/types/scale-type.enum';

@Component({
selector: 'ngx-charts-area-chart-stacked',
template: `
selector: 'ngx-charts-area-chart-stacked',
template: `
<ngx-charts-chart
[view]="[width, height]"
[showLegend]="legend"
Expand Down Expand Up @@ -158,10 +158,10 @@ import { ScaleType } from '../common/types/scale-type.enum';
</svg:g>
</ngx-charts-chart>
`,
changeDetection: ChangeDetectionStrategy.OnPush,
styleUrls: ['../common/base-chart.component.scss'],
encapsulation: ViewEncapsulation.None,
standalone: false
changeDetection: ChangeDetectionStrategy.OnPush,
styleUrls: ['../common/base-chart.component.scss'],
encapsulation: ViewEncapsulation.None,
standalone: false
})
export class AreaChartStackedComponent extends BaseChartComponent {
@Input() legend: boolean = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jasmine.DEFAULT_TIMEOUT_INTERVAL = 30000;
const colors = ['#5AA454', '#A10A28', '#C7B42C', '#AAAAAA'];

@Component({
selector: 'test-component',
template: '',
standalone: false
selector: 'test-component',
template: '',
standalone: false
})
class TestComponent {
data: any = multi;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ import { ScaleType } from '../common/types/scale-type.enum';
import { select } from 'd3-selection';

@Component({
selector: 'ngx-charts-area-chart',
template: `
selector: 'ngx-charts-area-chart',
template: `
<ngx-charts-chart
[view]="[width, height]"
[showLegend]="legend"
Expand Down Expand Up @@ -163,10 +163,10 @@ import { select } from 'd3-selection';
</svg:g>
</ngx-charts-chart>
`,
changeDetection: ChangeDetectionStrategy.OnPush,
styleUrls: ['../common/base-chart.component.scss'],
encapsulation: ViewEncapsulation.None,
standalone: false
changeDetection: ChangeDetectionStrategy.OnPush,
styleUrls: ['../common/base-chart.component.scss'],
encapsulation: ViewEncapsulation.None,
standalone: false
})
export class AreaChartComponent extends BaseChartComponent {
@Input() legend: boolean = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import { AreaChartSeries } from '../models/chart-data.model';
import { sortLinear, sortByTime, sortByDomain } from '../utils/sort';

@Component({
selector: 'g[ngx-charts-area-series]',
template: `
selector: 'g[ngx-charts-area-series]',
template: `
<svg:g
ngx-charts-area
class="area-series"
Expand All @@ -32,8 +32,8 @@ import { sortLinear, sortByTime, sortByDomain } from '../utils/sort';
[class.inactive]="isInactive(data)"
/>
`,
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: false
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: false
})
export class AreaSeriesComponent implements OnChanges {
@Input() data: AreaChartSeries;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import { ViewDimensions } from '../common/types/view-dimension.interface';
import { BarOrientation } from '../common/types/bar-orientation.enum';

@Component({
selector: 'ngx-charts-bar-horizontal-2d',
template: `
selector: 'ngx-charts-bar-horizontal-2d',
template: `
<ngx-charts-chart
[view]="[width, height]"
[showLegend]="legend"
Expand Down Expand Up @@ -140,21 +140,21 @@ import { BarOrientation } from '../common/types/bar-orientation.enum';
</svg:g>
</ngx-charts-chart>
`,
changeDetection: ChangeDetectionStrategy.OnPush,
styleUrls: ['../common/base-chart.component.scss'],
encapsulation: ViewEncapsulation.None,
animations: [
trigger('animationState', [
transition(':leave', [
style({
opacity: 1,
transform: '*'
}),
animate(500, style({ opacity: 0, transform: 'scale(0)' }))
])
])
],
standalone: false
changeDetection: ChangeDetectionStrategy.OnPush,
styleUrls: ['../common/base-chart.component.scss'],
encapsulation: ViewEncapsulation.None,
animations: [
trigger('animationState', [
transition(':leave', [
style({
opacity: 1,
transform: '*'
}),
animate(500, style({ opacity: 0, transform: 'scale(0)' }))
])
])
],
standalone: false
})
export class BarHorizontal2DComponent extends BaseChartComponent {
@Input() legend: boolean = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import { ViewDimensions } from '../common/types/view-dimension.interface';
import { isPlatformServer } from '@angular/common';

@Component({
selector: 'ngx-charts-bar-horizontal-normalized',
template: `
selector: 'ngx-charts-bar-horizontal-normalized',
template: `
<ngx-charts-chart
[view]="[width, height]"
[showLegend]="legend"
Expand Down Expand Up @@ -121,21 +121,21 @@ import { isPlatformServer } from '@angular/common';
</svg:g>
</ngx-charts-chart>
`,
changeDetection: ChangeDetectionStrategy.OnPush,
styleUrls: ['../common/base-chart.component.scss'],
encapsulation: ViewEncapsulation.None,
animations: [
trigger('animationState', [
transition(':leave', [
style({
opacity: 1,
transform: '*'
}),
animate(500, style({ opacity: 0, transform: 'scale(0)' }))
])
])
],
standalone: false
changeDetection: ChangeDetectionStrategy.OnPush,
styleUrls: ['../common/base-chart.component.scss'],
encapsulation: ViewEncapsulation.None,
animations: [
trigger('animationState', [
transition(':leave', [
style({
opacity: 1,
transform: '*'
}),
animate(500, style({ opacity: 0, transform: 'scale(0)' }))
])
])
],
standalone: false
})
export class BarHorizontalNormalizedComponent extends BaseChartComponent {
@Input() legend: boolean = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import { ScaleType } from '../common/types/scale-type.enum';
import { ViewDimensions } from '../common/types/view-dimension.interface';

@Component({
selector: 'ngx-charts-bar-horizontal-stacked',
template: `
selector: 'ngx-charts-bar-horizontal-stacked',
template: `
<ngx-charts-chart
[view]="[width, height]"
[showLegend]="legend"
Expand Down Expand Up @@ -130,21 +130,21 @@ import { ViewDimensions } from '../common/types/view-dimension.interface';
</svg:g>
</ngx-charts-chart>
`,
changeDetection: ChangeDetectionStrategy.OnPush,
styleUrls: ['../common/base-chart.component.scss'],
encapsulation: ViewEncapsulation.None,
animations: [
trigger('animationState', [
transition(':leave', [
style({
opacity: 1,
transform: '*'
}),
animate(500, style({ opacity: 0, transform: 'scale(0)' }))
])
])
],
standalone: false
changeDetection: ChangeDetectionStrategy.OnPush,
styleUrls: ['../common/base-chart.component.scss'],
encapsulation: ViewEncapsulation.None,
animations: [
trigger('animationState', [
transition(':leave', [
style({
opacity: 1,
transform: '*'
}),
animate(500, style({ opacity: 0, transform: 'scale(0)' }))
])
])
],
standalone: false
})
export class BarHorizontalStackedComponent extends BaseChartComponent {
@Input() legend: boolean = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import { YAxisTicksComponent } from '../common/axes/y-axis-ticks.component';
jasmine.DEFAULT_TIMEOUT_INTERVAL = 30000;

@Component({
selector: 'test-component',
template: '',
standalone: false
selector: 'test-component',
template: '',
standalone: false
})
class TestComponent {
single: any = single;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import { ViewDimensions } from '../common/types/view-dimension.interface';
import { select } from 'd3-selection';

@Component({
selector: 'ngx-charts-bar-horizontal',
template: `
selector: 'ngx-charts-bar-horizontal',
template: `
<ngx-charts-chart
[view]="[width, height]"
[showLegend]="legend"
Expand Down Expand Up @@ -90,10 +90,10 @@ import { select } from 'd3-selection';
</svg:g>
</ngx-charts-chart>
`,
changeDetection: ChangeDetectionStrategy.OnPush,
styleUrls: ['../common/base-chart.component.scss'],
encapsulation: ViewEncapsulation.None,
standalone: false
changeDetection: ChangeDetectionStrategy.OnPush,
styleUrls: ['../common/base-chart.component.scss'],
encapsulation: ViewEncapsulation.None,
standalone: false
})
export class BarHorizontalComponent extends BaseChartComponent {
@Input() legend = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import { formatLabel } from '../common/label.helper';
import { BarOrientation } from '../common/types/bar-orientation.enum';

@Component({
selector: 'g[ngx-charts-bar-label]',
template: `
selector: 'g[ngx-charts-bar-label]',
template: `
<svg:text
class="textDataLabel"
alignment-baseline="middle"
Expand All @@ -25,9 +25,9 @@ import { BarOrientation } from '../common/types/bar-orientation.enum';
{{ formatedValue }}
</svg:text>
`,
styleUrls: ['./bar-label.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: false
styleUrls: ['./bar-label.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: false
})
export class BarLabelComponent implements OnChanges {
@Input() value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import { BarOrientation } from '../common/types/bar-orientation.enum';
import { isPlatformServer } from '@angular/common';

@Component({
selector: 'ngx-charts-bar-vertical-2d',
template: `
selector: 'ngx-charts-bar-vertical-2d',
template: `
<ngx-charts-chart
[view]="[width, height]"
[showLegend]="legend"
Expand Down Expand Up @@ -132,21 +132,21 @@ import { isPlatformServer } from '@angular/common';
</svg:g>
</ngx-charts-chart>
`,
styleUrls: ['../common/base-chart.component.scss'],
encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush,
animations: [
trigger('animationState', [
transition(':leave', [
style({
opacity: 1,
transform: '*'
}),
animate(500, style({ opacity: 0, transform: 'scale(0)' }))
])
])
],
standalone: false
styleUrls: ['../common/base-chart.component.scss'],
encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush,
animations: [
trigger('animationState', [
transition(':leave', [
style({
opacity: 1,
transform: '*'
}),
animate(500, style({ opacity: 0, transform: 'scale(0)' }))
])
])
],
standalone: false
})
export class BarVertical2DComponent extends BaseChartComponent {
@Input() legend: boolean = false;
Expand Down
Loading

0 comments on commit f5b9f4d

Please sign in to comment.