@valtimo/dashboard 0.0.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/fesm2022/valtimo-dashboard.mjs +4344 -0
- package/fesm2022/valtimo-dashboard.mjs.map +1 -0
- package/index.d.ts +6 -0
- package/lib/components/dashboard/dashboard.component.d.ts +25 -0
- package/lib/components/dashboard/dashboard.component.d.ts.map +1 -0
- package/lib/components/widget-dashboard/widget-dashboard.component.d.ts +21 -0
- package/lib/components/widget-dashboard/widget-dashboard.component.d.ts.map +1 -0
- package/lib/components/widget-dashboard-content/widget-dashboard-content.component.d.ts +43 -0
- package/lib/components/widget-dashboard-content/widget-dashboard-content.component.d.ts.map +1 -0
- package/lib/constants/data-features.constants.d.ts +7 -0
- package/lib/constants/data-features.constants.d.ts.map +1 -0
- package/lib/constants/index.d.ts +4 -0
- package/lib/constants/index.d.ts.map +1 -0
- package/lib/constants/injection-tokens.d.ts +6 -0
- package/lib/constants/injection-tokens.d.ts.map +1 -0
- package/lib/constants/layout.constants.d.ts +4 -0
- package/lib/constants/layout.constants.d.ts.map +1 -0
- package/lib/dashboard-routing.module.d.ts +9 -0
- package/lib/dashboard-routing.module.d.ts.map +1 -0
- package/lib/dashboard.module.d.ts +22 -0
- package/lib/dashboard.module.d.ts.map +1 -0
- package/lib/data-sources/case-count/case-count.module.d.ts +13 -0
- package/lib/data-sources/case-count/case-count.module.d.ts.map +1 -0
- package/lib/data-sources/case-count/case-count.specification.d.ts +3 -0
- package/lib/data-sources/case-count/case-count.specification.d.ts.map +1 -0
- package/lib/data-sources/case-count/components/case-count-configuration/case-count-configuration.component.d.ts +43 -0
- package/lib/data-sources/case-count/components/case-count-configuration/case-count-configuration.component.d.ts.map +1 -0
- package/lib/data-sources/case-count/components/case-count-configuration/index.d.ts +2 -0
- package/lib/data-sources/case-count/components/case-count-configuration/index.d.ts.map +1 -0
- package/lib/data-sources/case-count/components/index.d.ts +2 -0
- package/lib/data-sources/case-count/components/index.d.ts.map +1 -0
- package/lib/data-sources/case-count/index.d.ts +5 -0
- package/lib/data-sources/case-count/index.d.ts.map +1 -0
- package/lib/data-sources/case-count/models/case-count.model.d.ts +7 -0
- package/lib/data-sources/case-count/models/case-count.model.d.ts.map +1 -0
- package/lib/data-sources/case-count/models/index.d.ts +2 -0
- package/lib/data-sources/case-count/models/index.d.ts.map +1 -0
- package/lib/data-sources/case-counts/case-counts.module.d.ts +13 -0
- package/lib/data-sources/case-counts/case-counts.module.d.ts.map +1 -0
- package/lib/data-sources/case-counts/case-counts.specification.d.ts +3 -0
- package/lib/data-sources/case-counts/case-counts.specification.d.ts.map +1 -0
- package/lib/data-sources/case-counts/components/case-counts-configuration/case-counts-configuration.component.d.ts +51 -0
- package/lib/data-sources/case-counts/components/case-counts-configuration/case-counts-configuration.component.d.ts.map +1 -0
- package/lib/data-sources/case-counts/components/case-counts-configuration/index.d.ts +2 -0
- package/lib/data-sources/case-counts/components/case-counts-configuration/index.d.ts.map +1 -0
- package/lib/data-sources/case-counts/components/index.d.ts +2 -0
- package/lib/data-sources/case-counts/components/index.d.ts.map +1 -0
- package/lib/data-sources/case-counts/index.d.ts +5 -0
- package/lib/data-sources/case-counts/index.d.ts.map +1 -0
- package/lib/data-sources/case-counts/models/case-counts.model.d.ts +16 -0
- package/lib/data-sources/case-counts/models/case-counts.model.d.ts.map +1 -0
- package/lib/data-sources/case-counts/models/index.d.ts +2 -0
- package/lib/data-sources/case-counts/models/index.d.ts.map +1 -0
- package/lib/data-sources/case-group-by/case-group-by.module.d.ts +13 -0
- package/lib/data-sources/case-group-by/case-group-by.module.d.ts.map +1 -0
- package/lib/data-sources/case-group-by/case-group-by.specification.d.ts +3 -0
- package/lib/data-sources/case-group-by/case-group-by.specification.d.ts.map +1 -0
- package/lib/data-sources/case-group-by/components/case-group-by-configuration/case-group-by-configuration.component.d.ts +53 -0
- package/lib/data-sources/case-group-by/components/case-group-by-configuration/case-group-by-configuration.component.d.ts.map +1 -0
- package/lib/data-sources/case-group-by/components/case-group-by-configuration/index.d.ts +2 -0
- package/lib/data-sources/case-group-by/components/case-group-by-configuration/index.d.ts.map +1 -0
- package/lib/data-sources/case-group-by/components/index.d.ts +2 -0
- package/lib/data-sources/case-group-by/components/index.d.ts.map +1 -0
- package/lib/data-sources/case-group-by/index.d.ts +5 -0
- package/lib/data-sources/case-group-by/index.d.ts.map +1 -0
- package/lib/data-sources/case-group-by/models/case-group-by.model.d.ts +19 -0
- package/lib/data-sources/case-group-by/models/case-group-by.model.d.ts.map +1 -0
- package/lib/data-sources/case-group-by/models/index.d.ts +2 -0
- package/lib/data-sources/case-group-by/models/index.d.ts.map +1 -0
- package/lib/data-sources/data-sources.module.d.ts +11 -0
- package/lib/data-sources/data-sources.module.d.ts.map +1 -0
- package/lib/data-sources/index.d.ts +5 -0
- package/lib/data-sources/index.d.ts.map +1 -0
- package/lib/data-sources/shared/conditions.d.ts +7 -0
- package/lib/data-sources/shared/conditions.d.ts.map +1 -0
- package/lib/data-sources/shared/index.d.ts +2 -0
- package/lib/data-sources/shared/index.d.ts.map +1 -0
- package/lib/data-sources/task-count/components/index.d.ts +2 -0
- package/lib/data-sources/task-count/components/index.d.ts.map +1 -0
- package/lib/data-sources/task-count/components/task-count-configuration/index.d.ts +2 -0
- package/lib/data-sources/task-count/components/task-count-configuration/index.d.ts.map +1 -0
- package/lib/data-sources/task-count/components/task-count-configuration/task-count-configuration.component.d.ts +34 -0
- package/lib/data-sources/task-count/components/task-count-configuration/task-count-configuration.component.d.ts.map +1 -0
- package/lib/data-sources/task-count/index.d.ts +5 -0
- package/lib/data-sources/task-count/index.d.ts.map +1 -0
- package/lib/data-sources/task-count/models/index.d.ts +2 -0
- package/lib/data-sources/task-count/models/index.d.ts.map +1 -0
- package/lib/data-sources/task-count/models/task-count.model.d.ts +6 -0
- package/lib/data-sources/task-count/models/task-count.model.d.ts.map +1 -0
- package/lib/data-sources/task-count/task-count.module.d.ts +13 -0
- package/lib/data-sources/task-count/task-count.module.d.ts.map +1 -0
- package/lib/data-sources/task-count/task-count.specification.d.ts +3 -0
- package/lib/data-sources/task-count/task-count.specification.d.ts.map +1 -0
- package/lib/display-types/bar-chart/bar-chart.module.d.ts +16 -0
- package/lib/display-types/bar-chart/bar-chart.module.d.ts.map +1 -0
- package/lib/display-types/bar-chart/bar-chart.specification.d.ts +3 -0
- package/lib/display-types/bar-chart/bar-chart.specification.d.ts.map +1 -0
- package/lib/display-types/bar-chart/components/bar-chart-configuration/bar-chart-configuration.component.d.ts +26 -0
- package/lib/display-types/bar-chart/components/bar-chart-configuration/bar-chart-configuration.component.d.ts.map +1 -0
- package/lib/display-types/bar-chart/components/bar-chart-configuration/index.d.ts +2 -0
- package/lib/display-types/bar-chart/components/bar-chart-configuration/index.d.ts.map +1 -0
- package/lib/display-types/bar-chart/components/bar-chart-display/bar-chart-display.component.d.ts +19 -0
- package/lib/display-types/bar-chart/components/bar-chart-display/bar-chart-display.component.d.ts.map +1 -0
- package/lib/display-types/bar-chart/components/bar-chart-display/index.d.ts +2 -0
- package/lib/display-types/bar-chart/components/bar-chart-display/index.d.ts.map +1 -0
- package/lib/display-types/bar-chart/components/index.d.ts +3 -0
- package/lib/display-types/bar-chart/components/index.d.ts.map +1 -0
- package/lib/display-types/bar-chart/index.d.ts +5 -0
- package/lib/display-types/bar-chart/index.d.ts.map +1 -0
- package/lib/display-types/bar-chart/models/bar-chart.model.d.ts +13 -0
- package/lib/display-types/bar-chart/models/bar-chart.model.d.ts.map +1 -0
- package/lib/display-types/bar-chart/models/index.d.ts +2 -0
- package/lib/display-types/bar-chart/models/index.d.ts.map +1 -0
- package/lib/display-types/big-number/big-number.module.d.ts +13 -0
- package/lib/display-types/big-number/big-number.module.d.ts.map +1 -0
- package/lib/display-types/big-number/big-number.specification.d.ts +3 -0
- package/lib/display-types/big-number/big-number.specification.d.ts.map +1 -0
- package/lib/display-types/big-number/components/big-number-configuration/big-number-configuration.component.d.ts +37 -0
- package/lib/display-types/big-number/components/big-number-configuration/big-number-configuration.component.d.ts.map +1 -0
- package/lib/display-types/big-number/components/big-number-configuration/index.d.ts +2 -0
- package/lib/display-types/big-number/components/big-number-configuration/index.d.ts.map +1 -0
- package/lib/display-types/big-number/components/big-number-display/big-number-display.component.d.ts +13 -0
- package/lib/display-types/big-number/components/big-number-display/big-number-display.component.d.ts.map +1 -0
- package/lib/display-types/big-number/components/big-number-display/index.d.ts +2 -0
- package/lib/display-types/big-number/components/big-number-display/index.d.ts.map +1 -0
- package/lib/display-types/big-number/components/index.d.ts +3 -0
- package/lib/display-types/big-number/components/index.d.ts.map +1 -0
- package/lib/display-types/big-number/index.d.ts +5 -0
- package/lib/display-types/big-number/index.d.ts.map +1 -0
- package/lib/display-types/big-number/models/big-number.model.d.ts +14 -0
- package/lib/display-types/big-number/models/big-number.model.d.ts.map +1 -0
- package/lib/display-types/big-number/models/index.d.ts +2 -0
- package/lib/display-types/big-number/models/index.d.ts.map +1 -0
- package/lib/display-types/display-widget-types.module.d.ts +12 -0
- package/lib/display-types/display-widget-types.module.d.ts.map +1 -0
- package/lib/display-types/donut/components/donut-configuration/donut-configuration.component.d.ts +29 -0
- package/lib/display-types/donut/components/donut-configuration/donut-configuration.component.d.ts.map +1 -0
- package/lib/display-types/donut/components/donut-configuration/index.d.ts +2 -0
- package/lib/display-types/donut/components/donut-configuration/index.d.ts.map +1 -0
- package/lib/display-types/donut/components/donut-display/donut-display.component.d.ts +19 -0
- package/lib/display-types/donut/components/donut-display/donut-display.component.d.ts.map +1 -0
- package/lib/display-types/donut/components/donut-display/index.d.ts +2 -0
- package/lib/display-types/donut/components/donut-display/index.d.ts.map +1 -0
- package/lib/display-types/donut/components/index.d.ts +3 -0
- package/lib/display-types/donut/components/index.d.ts.map +1 -0
- package/lib/display-types/donut/donut.module.d.ts +16 -0
- package/lib/display-types/donut/donut.module.d.ts.map +1 -0
- package/lib/display-types/donut/donut.specification.d.ts +3 -0
- package/lib/display-types/donut/donut.specification.d.ts.map +1 -0
- package/lib/display-types/donut/index.d.ts +5 -0
- package/lib/display-types/donut/index.d.ts.map +1 -0
- package/lib/display-types/donut/models/donut.model.d.ts +14 -0
- package/lib/display-types/donut/models/donut.model.d.ts.map +1 -0
- package/lib/display-types/donut/models/index.d.ts +2 -0
- package/lib/display-types/donut/models/index.d.ts.map +1 -0
- package/lib/display-types/gauge/components/gauge-configuration/gauge-configuration.component.d.ts +29 -0
- package/lib/display-types/gauge/components/gauge-configuration/gauge-configuration.component.d.ts.map +1 -0
- package/lib/display-types/gauge/components/gauge-configuration/index.d.ts +2 -0
- package/lib/display-types/gauge/components/gauge-configuration/index.d.ts.map +1 -0
- package/lib/display-types/gauge/components/gauge-display/gauge-display.component.d.ts +24 -0
- package/lib/display-types/gauge/components/gauge-display/gauge-display.component.d.ts.map +1 -0
- package/lib/display-types/gauge/components/gauge-display/index.d.ts +2 -0
- package/lib/display-types/gauge/components/gauge-display/index.d.ts.map +1 -0
- package/lib/display-types/gauge/components/index.d.ts +3 -0
- package/lib/display-types/gauge/components/index.d.ts.map +1 -0
- package/lib/display-types/gauge/gauge.module.d.ts +14 -0
- package/lib/display-types/gauge/gauge.module.d.ts.map +1 -0
- package/lib/display-types/gauge/gauge.specification.d.ts +3 -0
- package/lib/display-types/gauge/gauge.specification.d.ts.map +1 -0
- package/lib/display-types/gauge/index.d.ts +5 -0
- package/lib/display-types/gauge/index.d.ts.map +1 -0
- package/lib/display-types/gauge/models/gauge.model.d.ts +11 -0
- package/lib/display-types/gauge/models/gauge.model.d.ts.map +1 -0
- package/lib/display-types/gauge/models/index.d.ts +2 -0
- package/lib/display-types/gauge/models/index.d.ts.map +1 -0
- package/lib/display-types/index.d.ts +5 -0
- package/lib/display-types/index.d.ts.map +1 -0
- package/lib/display-types/meter/components/index.d.ts +3 -0
- package/lib/display-types/meter/components/index.d.ts.map +1 -0
- package/lib/display-types/meter/components/meter-configuration/index.d.ts +2 -0
- package/lib/display-types/meter/components/meter-configuration/index.d.ts.map +1 -0
- package/lib/display-types/meter/components/meter-configuration/meter-configuration.component.d.ts +26 -0
- package/lib/display-types/meter/components/meter-configuration/meter-configuration.component.d.ts.map +1 -0
- package/lib/display-types/meter/components/meter-display/index.d.ts +2 -0
- package/lib/display-types/meter/components/meter-display/index.d.ts.map +1 -0
- package/lib/display-types/meter/components/meter-display/meter-display.component.d.ts +19 -0
- package/lib/display-types/meter/components/meter-display/meter-display.component.d.ts.map +1 -0
- package/lib/display-types/meter/index.d.ts +5 -0
- package/lib/display-types/meter/index.d.ts.map +1 -0
- package/lib/display-types/meter/meter.module.d.ts +16 -0
- package/lib/display-types/meter/meter.module.d.ts.map +1 -0
- package/lib/display-types/meter/meter.specification.d.ts +3 -0
- package/lib/display-types/meter/meter.specification.d.ts.map +1 -0
- package/lib/display-types/meter/models/index.d.ts +2 -0
- package/lib/display-types/meter/models/index.d.ts.map +1 -0
- package/lib/display-types/meter/models/meter.model.d.ts +13 -0
- package/lib/display-types/meter/models/meter.model.d.ts.map +1 -0
- package/lib/models/configuration.model.d.ts +18 -0
- package/lib/models/configuration.model.d.ts.map +1 -0
- package/lib/models/dashboard.model.d.ts +16 -0
- package/lib/models/dashboard.model.d.ts.map +1 -0
- package/lib/models/data-source.model.d.ts +19 -0
- package/lib/models/data-source.model.d.ts.map +1 -0
- package/lib/models/display-type.model.d.ts +23 -0
- package/lib/models/display-type.model.d.ts.map +1 -0
- package/lib/models/index.d.ts +8 -0
- package/lib/models/index.d.ts.map +1 -0
- package/lib/models/layout.model.d.ts +18 -0
- package/lib/models/layout.model.d.ts.map +1 -0
- package/lib/models/widget-data.model.d.ts +6 -0
- package/lib/models/widget-data.model.d.ts.map +1 -0
- package/lib/models/widget-display.model.d.ts +9 -0
- package/lib/models/widget-display.model.d.ts.map +1 -0
- package/lib/pipes/index.d.ts +2 -0
- package/lib/pipes/index.d.ts.map +1 -0
- package/lib/pipes/widget-translate/index.d.ts +3 -0
- package/lib/pipes/widget-translate/index.d.ts.map +1 -0
- package/lib/pipes/widget-translate/widget-translate-pipe.module.d.ts +9 -0
- package/lib/pipes/widget-translate/widget-translate-pipe.module.d.ts.map +1 -0
- package/lib/pipes/widget-translate/widget-translate.pipe.d.ts +12 -0
- package/lib/pipes/widget-translate/widget-translate.pipe.d.ts.map +1 -0
- package/lib/services/dashboard.service.d.ts +15 -0
- package/lib/services/dashboard.service.d.ts.map +1 -0
- package/lib/services/index.d.ts +4 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/widget-api.service.d.ts +15 -0
- package/lib/services/widget-api.service.d.ts.map +1 -0
- package/lib/services/widget-layout.service.d.ts +24 -0
- package/lib/services/widget-layout.service.d.ts.map +1 -0
- package/lib/services/widget-translation.service.d.ts +15 -0
- package/lib/services/widget-translation.service.d.ts.map +1 -0
- package/lib/services/widget.service.d.ts +19 -0
- package/lib/services/widget.service.d.ts.map +1 -0
- package/package.json +34 -0
- package/public_api.d.ts +13 -0
- package/public_api.d.ts.map +1 -0
- package/valtimo-dashboard.d.ts.map +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dashboard/src/lib/pipes/index.ts"],"names":[],"mappings":"AAgBA,cAAc,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/dashboard/src/lib/pipes/widget-translate/index.ts"],"names":[],"mappings":"AAgBA,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./widget-translate.pipe";
|
|
3
|
+
import * as i2 from "@ngx-translate/core";
|
|
4
|
+
export declare class WidgetTranslatePipeModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetTranslatePipeModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<WidgetTranslatePipeModule, [typeof i1.WidgetTranslatePipe], [typeof i2.TranslateModule], [typeof i1.WidgetTranslatePipe]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<WidgetTranslatePipeModule>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=widget-translate-pipe.module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-translate-pipe.module.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/dashboard/src/lib/pipes/widget-translate/widget-translate-pipe.module.ts"],"names":[],"mappings":";;;AAoBA,qBAKa,yBAAyB;yCAAzB,yBAAyB;0CAAzB,yBAAyB;0CAAzB,yBAAyB;CAAG"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { WidgetTranslationService } from '../../services';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class WidgetTranslatePipe implements PipeTransform {
|
|
6
|
+
private readonly widgetTranslationService;
|
|
7
|
+
constructor(widgetTranslationService: WidgetTranslationService);
|
|
8
|
+
transform(translateKey: string, key: string): Observable<string>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetTranslatePipe, never>;
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<WidgetTranslatePipe, "widgetTranslate", false>;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=widget-translate.pipe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-translate.pipe.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/dashboard/src/lib/pipes/widget-translate/widget-translate.pipe.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAO,aAAa,EAAC,MAAM,eAAe,CAAC;AAClD,OAAO,EAAC,UAAU,EAAC,MAAM,MAAM,CAAC;AAChC,OAAO,EAAC,wBAAwB,EAAC,MAAM,gBAAgB,CAAC;;AAExD,qBAIa,mBAAoB,YAAW,aAAa;IAC3C,OAAO,CAAC,QAAQ,CAAC,wBAAwB;gBAAxB,wBAAwB,EAAE,wBAAwB;IAE/E,SAAS,CAAC,YAAY,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;yCAHrD,mBAAmB;uCAAnB,mBAAmB;CAM/B"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { Dashboard } from '../models';
|
|
3
|
+
import { HttpClient } from '@angular/common/http';
|
|
4
|
+
import { ConfigService } from '@valtimo/shared';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class DashboardService {
|
|
7
|
+
private readonly http;
|
|
8
|
+
private readonly configService;
|
|
9
|
+
private _endpointUri;
|
|
10
|
+
constructor(http: HttpClient, configService: ConfigService);
|
|
11
|
+
getDashboards(): Observable<Array<Dashboard>>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DashboardService>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=dashboard.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dashboard.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dashboard/src/lib/services/dashboard.service.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,UAAU,EAAC,MAAM,MAAM,CAAC;AAChC,OAAO,EAAC,SAAS,EAAC,MAAM,WAAW,CAAC;AACpC,OAAO,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;;AAE9C,qBAGa,gBAAgB;IAIzB,OAAO,CAAC,QAAQ,CAAC,IAAI;IACrB,OAAO,CAAC,QAAQ,CAAC,aAAa;IAJhC,OAAO,CAAC,YAAY,CAAS;gBAGV,IAAI,EAAE,UAAU,EAChB,aAAa,EAAE,aAAa;IAKxC,aAAa,IAAI,UAAU,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;yCAVzC,gBAAgB;6CAAhB,gBAAgB;CAa5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dashboard/src/lib/services/index.ts"],"names":[],"mappings":"AAgBA,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ConfigService } from '@valtimo/shared';
|
|
2
|
+
import { HttpClient } from '@angular/common/http';
|
|
3
|
+
import { WidgetData } from '../models';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class WidgetApiService {
|
|
7
|
+
private readonly configService;
|
|
8
|
+
private readonly http;
|
|
9
|
+
private _endpointUri;
|
|
10
|
+
constructor(configService: ConfigService, http: HttpClient);
|
|
11
|
+
getWidgetData(dashboardKey: string): Observable<WidgetData[]>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetApiService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<WidgetApiService>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=widget-api.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-api.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dashboard/src/lib/services/widget-api.service.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAC,UAAU,EAAC,MAAM,WAAW,CAAC;AACrC,OAAO,EAAC,UAAU,EAAC,MAAM,MAAM,CAAC;;AAEhC,qBAGa,gBAAgB;IAIzB,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,IAAI;IAJvB,OAAO,CAAC,YAAY,CAAS;gBAGV,aAAa,EAAE,aAAa,EAC5B,IAAI,EAAE,UAAU;IAK5B,aAAa,CAAC,YAAY,EAAE,MAAM,GAAG,UAAU,CAAC,UAAU,EAAE,CAAC;yCAVzD,gBAAgB;6CAAhB,gBAAgB;CAa5B"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { DashboardWidgetConfiguration } from '../models';
|
|
3
|
+
import Muuri from 'muuri';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class WidgetLayoutService {
|
|
6
|
+
private readonly _widgetContainerWidth$;
|
|
7
|
+
private readonly _widgetConfigurations$;
|
|
8
|
+
private readonly _muuriSubject$;
|
|
9
|
+
private readonly _triggerMuuriLayout$;
|
|
10
|
+
get muuri$(): Observable<Muuri>;
|
|
11
|
+
get muuriSubject$(): Observable<Muuri | null>;
|
|
12
|
+
private get widgetContainerWidth$();
|
|
13
|
+
get amountOfColumns$(): Observable<number>;
|
|
14
|
+
private readonly _subscriptions;
|
|
15
|
+
constructor();
|
|
16
|
+
setWidgetContainerWidth(width: number): void;
|
|
17
|
+
setWidgetConfigurations(configurations: Array<DashboardWidgetConfiguration>): void;
|
|
18
|
+
setMuuri(muuri: Muuri): void;
|
|
19
|
+
triggerMuuriLayout(): void;
|
|
20
|
+
private openMuuriSubscription;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetLayoutService, never>;
|
|
22
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<WidgetLayoutService>;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=widget-layout.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-layout.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dashboard/src/lib/services/widget-layout.service.ts"],"names":[],"mappings":"AAiBA,OAAO,EAML,UAAU,EAGX,MAAM,MAAM,CAAC;AACd,OAAO,EAAC,4BAA4B,EAAC,MAAM,WAAW,CAAC;AAEvD,OAAO,KAAK,MAAM,OAAO,CAAC;;AAE1B,qBACa,mBAAmB;IAC9B,OAAO,CAAC,QAAQ,CAAC,sBAAsB,CAA4C;IACnF,OAAO,CAAC,QAAQ,CAAC,sBAAsB,CAEjC;IACN,OAAO,CAAC,QAAQ,CAAC,cAAc,CAA2C;IAC1E,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAuB;IAE5D,IAAW,MAAM,IAAI,UAAU,CAAC,KAAK,CAAC,CAErC;IAED,IAAW,aAAa,IAAI,UAAU,CAAC,KAAK,GAAG,IAAI,CAAC,CAEnD;IAED,OAAO,KAAK,qBAAqB,GAEhC;IAED,IAAW,gBAAgB,IAAI,UAAU,CAAC,MAAM,CAAC,CAIhD;IAED,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAsB;;IAM9C,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAI5C,uBAAuB,CAAC,cAAc,EAAE,KAAK,CAAC,4BAA4B,CAAC,GAAG,IAAI;IAIlF,QAAQ,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAI5B,kBAAkB,IAAI,IAAI;IAIjC,OAAO,CAAC,qBAAqB;yCAhDlB,mBAAmB;6CAAnB,mBAAmB;CA0D/B"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { WidgetService } from './widget.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class WidgetTranslationService {
|
|
6
|
+
private readonly translateService;
|
|
7
|
+
private readonly widgetService;
|
|
8
|
+
constructor(translateService: TranslateService, widgetService: WidgetService);
|
|
9
|
+
translate(translateKey: string, key: string): Observable<string>;
|
|
10
|
+
instant(translateKey: string, displayTypeKey: string): string;
|
|
11
|
+
private getTranslation;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetTranslationService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<WidgetTranslationService>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=widget-translation.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-translation.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dashboard/src/lib/services/widget-translation.service.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AAErD,OAAO,EAAgB,UAAU,EAAC,MAAM,MAAM,CAAC;AAE/C,OAAO,EAAC,aAAa,EAAC,MAAM,kBAAkB,CAAC;;AAE/C,qBAGa,wBAAwB;IAEjC,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,aAAa;gBADb,gBAAgB,EAAE,gBAAgB,EAClC,aAAa,EAAE,aAAa;IAG/C,SAAS,CAAC,YAAY,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAYhE,OAAO,CAAC,YAAY,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,GAAG,MAAM;IAS7D,OAAO,CAAC,cAAc;yCA3BX,wBAAwB;6CAAxB,wBAAwB;CAyDpC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { DataSourceSpecification, DisplayTypeSpecification } from '../models';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class WidgetService {
|
|
5
|
+
private readonly supportedDisplayTypesFromToken;
|
|
6
|
+
private readonly supportedDataSourcesFromToken;
|
|
7
|
+
private readonly _supportedDisplayTypes$;
|
|
8
|
+
private readonly _supportedDataSources$;
|
|
9
|
+
get supportedDisplayTypes$(): Observable<Array<DisplayTypeSpecification>>;
|
|
10
|
+
get supportedDataSources$(): Observable<Array<DataSourceSpecification>>;
|
|
11
|
+
get supportedDisplayTypes(): Array<DisplayTypeSpecification>;
|
|
12
|
+
get supportedDataSources(): Array<DataSourceSpecification>;
|
|
13
|
+
constructor(supportedDisplayTypesFromToken: Array<DisplayTypeSpecification | null>, supportedDataSourcesFromToken: Array<DataSourceSpecification | null>);
|
|
14
|
+
private setSupportedDisplayTypes;
|
|
15
|
+
private setSupportedDataSources;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetService, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<WidgetService>;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=widget.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/dashboard/src/lib/services/widget.service.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAC,uBAAuB,EAAE,wBAAwB,EAAC,MAAM,WAAW,CAAC;AAC5E,OAAO,EAA0B,UAAU,EAAC,MAAM,MAAM,CAAC;;AAEzD,qBAGa,aAAa;IAyBtB,OAAO,CAAC,QAAQ,CAAC,8BAA8B;IAE/C,OAAO,CAAC,QAAQ,CAAC,6BAA6B;IA1BhD,OAAO,CAAC,QAAQ,CAAC,uBAAuB,CAC4B;IAEpE,OAAO,CAAC,QAAQ,CAAC,sBAAsB,CAC4B;IAEnE,IAAW,sBAAsB,IAAI,UAAU,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC,CAE/E;IAED,IAAW,qBAAqB,IAAI,UAAU,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC,CAE7E;IAED,IAAW,qBAAqB,IAAI,KAAK,CAAC,wBAAwB,CAAC,CAElE;IAED,IAAW,oBAAoB,IAAI,KAAK,CAAC,uBAAuB,CAAC,CAEhE;gBAIkB,8BAA8B,EAAE,KAAK,CAAC,wBAAwB,GAAG,IAAI,CAAC,EAEtE,6BAA6B,EAAE,KAAK,CAAC,uBAAuB,GAAG,IAAI,CAAC;IAMvF,OAAO,CAAC,wBAAwB;IAMhC,OAAO,CAAC,uBAAuB;yCAvCpB,aAAa;6CAAb,aAAa;CA4CzB"}
|
package/package.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@valtimo/dashboard",
|
|
3
|
+
"license": "EUPL-1.2",
|
|
4
|
+
"version": "0.0.0",
|
|
5
|
+
"peerDependencies": {
|
|
6
|
+
"@angular/common": "^19.2.8",
|
|
7
|
+
"@angular/core": "^19.2.8"
|
|
8
|
+
},
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"moment": "2.30.1",
|
|
11
|
+
"d3": "7.9.0",
|
|
12
|
+
"d3-cloud": "1.2.7",
|
|
13
|
+
"d3-sankey": "0.12.3",
|
|
14
|
+
"d3-shape": "3.2.0",
|
|
15
|
+
"@ngx-translate/core": "16.0.4",
|
|
16
|
+
"@ngx-translate/http-loader": "16.0.1",
|
|
17
|
+
"tslib": "2.8.1",
|
|
18
|
+
"muuri": "0.9.5",
|
|
19
|
+
"@carbon/charts-angular": "1.23.6",
|
|
20
|
+
"@types/topojson": "3.2.6"
|
|
21
|
+
},
|
|
22
|
+
"module": "fesm2022/valtimo-dashboard.mjs",
|
|
23
|
+
"typings": "index.d.ts",
|
|
24
|
+
"exports": {
|
|
25
|
+
"./package.json": {
|
|
26
|
+
"default": "./package.json"
|
|
27
|
+
},
|
|
28
|
+
".": {
|
|
29
|
+
"types": "./index.d.ts",
|
|
30
|
+
"default": "./fesm2022/valtimo-dashboard.mjs"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"sideEffects": false
|
|
34
|
+
}
|
package/public_api.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from './lib/components/dashboard/dashboard.component';
|
|
2
|
+
export * from './lib/components/widget-dashboard-content/widget-dashboard-content.component';
|
|
3
|
+
export * from './lib/components/widget-dashboard/widget-dashboard.component';
|
|
4
|
+
export * from './lib/display-types/display-widget-types.module';
|
|
5
|
+
export * from './lib/data-sources/data-sources.module';
|
|
6
|
+
export * from './lib/constants';
|
|
7
|
+
export * from './lib/dashboard.module';
|
|
8
|
+
export * from './lib/data-sources';
|
|
9
|
+
export * from './lib/display-types';
|
|
10
|
+
export * from './lib/models';
|
|
11
|
+
export * from './lib/pipes';
|
|
12
|
+
export * from './lib/services';
|
|
13
|
+
//# sourceMappingURL=public_api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public_api.d.ts","sourceRoot":"","sources":["../../../projects/valtimo/dashboard/src/public_api.ts"],"names":[],"mappings":"AAoBA,cAAc,gDAAgD,CAAC;AAC/D,cAAc,8EAA8E,CAAC;AAC7F,cAAc,8DAA8D,CAAC;AAC7E,cAAc,iDAAiD,CAAC;AAChE,cAAc,wCAAwC,CAAC;AACvD,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"valtimo-dashboard.d.ts","sourceRoot":"","sources":["../../../projects/valtimo/dashboard/src/valtimo-dashboard.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,cAAc,CAAC"}
|