@odx/angular 7.2.0 → 8.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/components/datepicker/lib/datepicker.component.d.ts +2 -0
- package/components/daterangepicker/lib/daterangepicker.component.d.ts +2 -0
- package/esm2022/components/datepicker/lib/datepicker.component.mjs +11 -6
- package/esm2022/components/daterangepicker/lib/daterangepicker.component.mjs +14 -10
- package/fesm2022/odx-angular-components-datepicker.mjs +10 -5
- package/fesm2022/odx-angular-components-datepicker.mjs.map +1 -1
- package/fesm2022/odx-angular-components-daterangepicker.mjs +13 -9
- package/fesm2022/odx-angular-components-daterangepicker.mjs.map +1 -1
- package/package.json +1 -17
- package/charts-config/README.md +0 -3
- package/charts-config/index.d.ts +0 -3
- package/charts-config/lib/charts-theme.directive.d.ts +0 -10
- package/charts-config/lib/charts-theme.module.d.ts +0 -8
- package/charts-config/lib/charts-theme.service.d.ts +0 -68
- package/esm2022/charts-config/index.mjs +0 -4
- package/esm2022/charts-config/lib/charts-theme.directive.mjs +0 -27
- package/esm2022/charts-config/lib/charts-theme.module.mjs +0 -33
- package/esm2022/charts-config/lib/charts-theme.service.mjs +0 -120
- package/esm2022/charts-config/odx-angular-charts-config.mjs +0 -5
- package/fesm2022/odx-angular-charts-config.mjs +0 -177
- package/fesm2022/odx-angular-charts-config.mjs.map +0 -1
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, Injectable, Directive, NgModule } from '@angular/core';
|
|
3
|
-
import { createMutationObserver, untilDestroyed } from '@odx/angular/utils';
|
|
4
|
-
import * as i1 from 'ng2-charts';
|
|
5
|
-
import { ThemeService, BaseChartDirective, NgChartsModule, NgChartsConfiguration } from 'ng2-charts';
|
|
6
|
-
import { DOCUMENT } from '@angular/common';
|
|
7
|
-
import { WindowRef } from '@odx/angular';
|
|
8
|
-
import { ThemingService } from '@odx/angular/theming';
|
|
9
|
-
import { distinctUntilChanged, Observable } from 'rxjs';
|
|
10
|
-
|
|
11
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
12
|
-
class ChartsThemeService {
|
|
13
|
-
constructor() {
|
|
14
|
-
this.coreChartThemeService = inject(ThemeService);
|
|
15
|
-
this.document = inject(DOCUMENT);
|
|
16
|
-
this.windowRef = inject(WindowRef);
|
|
17
|
-
this.themingService = inject(ThemingService);
|
|
18
|
-
this.getOverrides = {
|
|
19
|
-
borderColor: this.windowRef.getCSSVariable('gray-200'),
|
|
20
|
-
backgroundColor: 'rgba(0,0,0,0)',
|
|
21
|
-
color: this.windowRef.getCSSVariable('blue-700'),
|
|
22
|
-
font: {
|
|
23
|
-
family: 'PangeaText',
|
|
24
|
-
size: 13.333,
|
|
25
|
-
},
|
|
26
|
-
plugins: {
|
|
27
|
-
colors: { enabled: false },
|
|
28
|
-
tooltip: {
|
|
29
|
-
backgroundColor: this.windowRef.getCSSVariable('blue-800'),
|
|
30
|
-
cornerRadius: 3,
|
|
31
|
-
},
|
|
32
|
-
},
|
|
33
|
-
datasets: {
|
|
34
|
-
line: {
|
|
35
|
-
backgroundColor: (context) => `${this.seriesColors[context.datasetIndex]}66`,
|
|
36
|
-
borderColor: (context) => `${this.seriesColors[context.datasetIndex]}`,
|
|
37
|
-
pointBackgroundColor: (context) => `${this.seriesColors[context.datasetIndex]}`,
|
|
38
|
-
pointBorderColor: '#fff',
|
|
39
|
-
},
|
|
40
|
-
bar: {
|
|
41
|
-
backgroundColor: (context) => `${this.seriesColors[context.datasetIndex]}99`,
|
|
42
|
-
borderColor: (context) => `${this.seriesColors[context.datasetIndex]}`,
|
|
43
|
-
},
|
|
44
|
-
scatter: {
|
|
45
|
-
backgroundColor: (context) => `${this.seriesColors[context.datasetIndex]}`,
|
|
46
|
-
elements: {
|
|
47
|
-
point: {
|
|
48
|
-
radius: 6,
|
|
49
|
-
hoverRadius: 8,
|
|
50
|
-
},
|
|
51
|
-
},
|
|
52
|
-
},
|
|
53
|
-
doughnut: {
|
|
54
|
-
backgroundColor: (context) => `${this.seriesColors[context.dataIndex]}`,
|
|
55
|
-
borderColor: this.windowRef.getCSSVariable('gray-200'),
|
|
56
|
-
},
|
|
57
|
-
polarArea: {
|
|
58
|
-
backgroundColor: (context) => `${this.seriesColors[context.dataIndex]}99`,
|
|
59
|
-
borderColor: (context) => `${this.seriesColors[context.dataIndex]}`,
|
|
60
|
-
},
|
|
61
|
-
get pie() {
|
|
62
|
-
return this.doughnut;
|
|
63
|
-
},
|
|
64
|
-
get bubble() {
|
|
65
|
-
return this.doughnut;
|
|
66
|
-
},
|
|
67
|
-
get area() {
|
|
68
|
-
return this.polarArea;
|
|
69
|
-
},
|
|
70
|
-
get radar() {
|
|
71
|
-
return this.line;
|
|
72
|
-
},
|
|
73
|
-
},
|
|
74
|
-
};
|
|
75
|
-
this.seriesColors = Object.values(this.windowRef.getCSSColorStyles('charts-series'));
|
|
76
|
-
this.observeThemeChanging$ = this.document.body.className.includes('sb-')
|
|
77
|
-
? this.buildBodyObserver().pipe(distinctUntilChanged())
|
|
78
|
-
: this.themingService.theme$;
|
|
79
|
-
}
|
|
80
|
-
setTheme(chartConf) {
|
|
81
|
-
const type = (chartConf && chartConf['type']) || 'bar';
|
|
82
|
-
this.coreChartThemeService.setColorschemesOptions(this.themeColorsOverrides(type));
|
|
83
|
-
}
|
|
84
|
-
themeColorsOverrides(type) {
|
|
85
|
-
const scales = type === 'pie' || type === 'doughnut'
|
|
86
|
-
? undefined
|
|
87
|
-
: {
|
|
88
|
-
x: {
|
|
89
|
-
ticks: { color: this.windowRef.getCSSVariable('blue-700') },
|
|
90
|
-
grid: { color: this.windowRef.getCSSVariable('gray-200') },
|
|
91
|
-
},
|
|
92
|
-
y: {
|
|
93
|
-
ticks: { color: this.windowRef.getCSSVariable('blue-700') },
|
|
94
|
-
grid: { color: this.windowRef.getCSSVariable('gray-200') },
|
|
95
|
-
},
|
|
96
|
-
};
|
|
97
|
-
return {
|
|
98
|
-
color: this.windowRef.getCSSVariable('blue-700'),
|
|
99
|
-
scales,
|
|
100
|
-
plugins: {
|
|
101
|
-
colors: {
|
|
102
|
-
forceOverride: true,
|
|
103
|
-
},
|
|
104
|
-
legend: {},
|
|
105
|
-
},
|
|
106
|
-
};
|
|
107
|
-
}
|
|
108
|
-
buildBodyObserver() {
|
|
109
|
-
return new Observable((observer) => {
|
|
110
|
-
const mutation = createMutationObserver(observer, (mutations) => mutations.some(({ type }) => type === 'attributes'));
|
|
111
|
-
mutation.observe(this.document.body, { attributes: true });
|
|
112
|
-
return () => mutation.disconnect();
|
|
113
|
-
});
|
|
114
|
-
}
|
|
115
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ChartsThemeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
116
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ChartsThemeService, providedIn: 'root' }); }
|
|
117
|
-
}
|
|
118
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ChartsThemeService, decorators: [{
|
|
119
|
-
type: Injectable,
|
|
120
|
-
args: [{ providedIn: 'root' }]
|
|
121
|
-
}] });
|
|
122
|
-
|
|
123
|
-
class ChartThemeDirective extends BaseChartDirective {
|
|
124
|
-
constructor(element, ngzone, themeService) {
|
|
125
|
-
super(element, ngzone, themeService);
|
|
126
|
-
this.chartsThemeService = inject(ChartsThemeService);
|
|
127
|
-
this.takeUntilDestroyed = untilDestroyed();
|
|
128
|
-
this.chartsThemeService.observeThemeChanging$
|
|
129
|
-
.pipe(this.takeUntilDestroyed())
|
|
130
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
131
|
-
.subscribe(() => this.chartsThemeService.setTheme(this.chart?.config));
|
|
132
|
-
}
|
|
133
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ChartThemeDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i1.ThemeService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
134
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ChartThemeDirective, isStandalone: true, selector: "canvas[odxChart]", usesInheritance: true, ngImport: i0 }); }
|
|
135
|
-
}
|
|
136
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ChartThemeDirective, decorators: [{
|
|
137
|
-
type: Directive,
|
|
138
|
-
args: [{
|
|
139
|
-
selector: 'canvas[odxChart]',
|
|
140
|
-
standalone: true,
|
|
141
|
-
}]
|
|
142
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i1.ThemeService }]; } });
|
|
143
|
-
|
|
144
|
-
class ChartThemeModule {
|
|
145
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ChartThemeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
146
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: ChartThemeModule, imports: [NgChartsModule, ChartThemeDirective], exports: [NgChartsModule, ChartThemeDirective] }); }
|
|
147
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ChartThemeModule, providers: [
|
|
148
|
-
{
|
|
149
|
-
provide: NgChartsConfiguration,
|
|
150
|
-
useFactory: (service) => ({ defaults: service.getOverrides, generateColors: false }),
|
|
151
|
-
deps: [ChartsThemeService],
|
|
152
|
-
},
|
|
153
|
-
BaseChartDirective,
|
|
154
|
-
], imports: [NgChartsModule, NgChartsModule] }); }
|
|
155
|
-
}
|
|
156
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ChartThemeModule, decorators: [{
|
|
157
|
-
type: NgModule,
|
|
158
|
-
args: [{
|
|
159
|
-
imports: [NgChartsModule, ChartThemeDirective],
|
|
160
|
-
providers: [
|
|
161
|
-
{
|
|
162
|
-
provide: NgChartsConfiguration,
|
|
163
|
-
useFactory: (service) => ({ defaults: service.getOverrides, generateColors: false }),
|
|
164
|
-
deps: [ChartsThemeService],
|
|
165
|
-
},
|
|
166
|
-
BaseChartDirective,
|
|
167
|
-
],
|
|
168
|
-
exports: [NgChartsModule, ChartThemeDirective],
|
|
169
|
-
}]
|
|
170
|
-
}] });
|
|
171
|
-
|
|
172
|
-
/**
|
|
173
|
-
* Generated bundle index. Do not edit.
|
|
174
|
-
*/
|
|
175
|
-
|
|
176
|
-
export { ChartThemeDirective, ChartThemeModule, ChartsThemeService };
|
|
177
|
-
//# sourceMappingURL=odx-angular-charts-config.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"odx-angular-charts-config.mjs","sources":["../../../../libs/angular/charts-config/src/lib/charts-theme.service.ts","../../../../libs/angular/charts-config/src/lib/charts-theme.directive.ts","../../../../libs/angular/charts-config/src/lib/charts-theme.module.ts","../../../../libs/angular/charts-config/src/odx-angular-charts-config.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { DOCUMENT } from '@angular/common';\nimport { inject, Injectable } from '@angular/core';\nimport { WindowRef } from '@odx/angular';\nimport { Theme, ThemingService } from '@odx/angular/theming';\nimport { createMutationObserver } from '@odx/angular/utils';\nimport { ChartConfiguration, ChartType, Color } from 'chart.js';\nimport { ThemeService } from 'ng2-charts';\nimport { distinctUntilChanged, Observable } from 'rxjs';\n\n@Injectable({ providedIn: 'root' })\nexport class ChartsThemeService {\n private readonly coreChartThemeService = inject(ThemeService);\n private readonly document = inject(DOCUMENT);\n private readonly windowRef = inject(WindowRef);\n private readonly themingService = inject(ThemingService);\n\n public getOverrides = {\n borderColor: this.windowRef.getCSSVariable('gray-200'),\n backgroundColor: 'rgba(0,0,0,0)',\n color: this.windowRef.getCSSVariable('blue-700'),\n font: {\n family: 'PangeaText',\n size: 13.333,\n },\n plugins: {\n colors: { enabled: false },\n tooltip: {\n backgroundColor: this.windowRef.getCSSVariable('blue-800'),\n cornerRadius: 3,\n },\n },\n datasets: {\n line: {\n backgroundColor: (context: any) => `${this.seriesColors[context.datasetIndex]}66`,\n borderColor: (context: any) => `${this.seriesColors[context.datasetIndex]}`,\n pointBackgroundColor: (context: any) => `${this.seriesColors[context.datasetIndex]}`,\n pointBorderColor: '#fff',\n },\n bar: {\n backgroundColor: (context: any) => `${this.seriesColors[context.datasetIndex]}99`,\n borderColor: (context: any) => `${this.seriesColors[context.datasetIndex]}`,\n },\n scatter: {\n backgroundColor: (context: any) => `${this.seriesColors[context.datasetIndex]}`,\n elements: {\n point: {\n radius: 6,\n hoverRadius: 8,\n },\n },\n },\n doughnut: {\n backgroundColor: (context: any) => `${this.seriesColors[context.dataIndex]}`,\n borderColor: this.windowRef.getCSSVariable('gray-200'),\n },\n polarArea: {\n backgroundColor: (context: any) => `${this.seriesColors[context.dataIndex]}99`,\n borderColor: (context: any) => `${this.seriesColors[context.dataIndex]}`,\n },\n get pie(): Record<string, ((context: any) => Color) | Color> {\n return this.doughnut;\n },\n get bubble(): Record<string, ((context: any) => Color) | Color> {\n return this.doughnut;\n },\n get area(): Record<string, ((context: any) => Color) | Color> {\n return this.polarArea;\n },\n get radar(): Record<string, ((context: any) => Color) | Color> {\n return this.line;\n },\n },\n };\n\n public seriesColors = Object.values(this.windowRef.getCSSColorStyles('charts-series'));\n public observeThemeChanging$: Observable<MutationRecord | Theme> = this.document.body.className.includes('sb-')\n ? this.buildBodyObserver().pipe(distinctUntilChanged())\n : this.themingService.theme$;\n\n public setTheme(chartConf: ChartConfiguration) {\n const type: ChartType = (chartConf && chartConf['type']) || 'bar';\n this.coreChartThemeService.setColorschemesOptions(this.themeColorsOverrides(type));\n }\n\n private themeColorsOverrides(type?: ChartType): ChartConfiguration['options'] {\n const scales =\n type === 'pie' || type === 'doughnut'\n ? undefined\n : {\n x: {\n ticks: { color: this.windowRef.getCSSVariable('blue-700') },\n grid: { color: this.windowRef.getCSSVariable('gray-200') },\n },\n y: {\n ticks: { color: this.windowRef.getCSSVariable('blue-700') },\n grid: { color: this.windowRef.getCSSVariable('gray-200') },\n },\n };\n return {\n color: this.windowRef.getCSSVariable('blue-700'),\n scales,\n plugins: {\n colors: {\n forceOverride: true,\n },\n legend: {},\n },\n };\n }\n\n private buildBodyObserver(): Observable<MutationRecord> {\n return new Observable((observer) => {\n const mutation: MutationObserver = createMutationObserver(observer, (mutations) => mutations.some(({ type }) => type === 'attributes'));\n mutation.observe(this.document.body, { attributes: true });\n return () => mutation.disconnect();\n });\n }\n}\n","import { Directive, ElementRef, inject, NgZone } from '@angular/core';\nimport { untilDestroyed } from '@odx/angular/utils';\nimport { BaseChartDirective, ThemeService } from 'ng2-charts';\nimport { ChartsThemeService } from './charts-theme.service';\n\n@Directive({\n selector: 'canvas[odxChart]',\n standalone: true,\n})\nexport class ChartThemeDirective extends BaseChartDirective {\n private readonly chartsThemeService = inject(ChartsThemeService);\n private readonly takeUntilDestroyed = untilDestroyed();\n\n constructor(element: ElementRef, ngzone: NgZone, themeService: ThemeService) {\n super(element, ngzone, themeService);\n this.chartsThemeService.observeThemeChanging$\n .pipe(this.takeUntilDestroyed())\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n .subscribe(() => this.chartsThemeService.setTheme(this.chart?.config as any));\n }\n}\n","import { NgModule } from '@angular/core';\nimport { BaseChartDirective, NgChartsConfiguration, NgChartsModule } from 'ng2-charts';\nimport { ChartThemeDirective } from './charts-theme.directive';\nimport { ChartsThemeService } from './charts-theme.service';\n\n@NgModule({\n imports: [NgChartsModule, ChartThemeDirective],\n providers: [\n {\n provide: NgChartsConfiguration,\n useFactory: (service: ChartsThemeService) => ({ defaults: service.getOverrides, generateColors: false }),\n deps: [ChartsThemeService],\n },\n BaseChartDirective,\n ],\n exports: [NgChartsModule, ChartThemeDirective],\n})\nexport class ChartThemeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAAA;MAWa,kBAAkB,CAAA;AAD/B,IAAA,WAAA,GAAA;AAEmB,QAAA,IAAA,CAAA,qBAAqB,GAAG,MAAM,CAAC,YAAY,CAAC,CAAC;AAC7C,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC;AAC5B,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;AAC9B,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,cAAc,CAAC,CAAC;AAElD,QAAA,IAAA,CAAA,YAAY,GAAG;YACpB,WAAW,EAAE,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,UAAU,CAAC;AACtD,YAAA,eAAe,EAAE,eAAe;YAChC,KAAK,EAAE,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,UAAU,CAAC;AAChD,YAAA,IAAI,EAAE;AACJ,gBAAA,MAAM,EAAE,YAAY;AACpB,gBAAA,IAAI,EAAE,MAAM;AACb,aAAA;AACD,YAAA,OAAO,EAAE;AACP,gBAAA,MAAM,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE;AAC1B,gBAAA,OAAO,EAAE;oBACP,eAAe,EAAE,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,UAAU,CAAC;AAC1D,oBAAA,YAAY,EAAE,CAAC;AAChB,iBAAA;AACF,aAAA;AACD,YAAA,QAAQ,EAAE;AACR,gBAAA,IAAI,EAAE;AACJ,oBAAA,eAAe,EAAE,CAAC,OAAY,KAAK,CAAA,EAAG,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,YAAY,CAAC,CAAI,EAAA,CAAA;AACjF,oBAAA,WAA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