bt-core-app 2.0.262 → 2.0.264
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/dist/bt-core-app.js +2 -1
- package/dist/index.d.ts +8 -7
- package/package.json +1 -1
package/dist/bt-core-app.js
CHANGED
|
@@ -42568,7 +42568,8 @@ function sj(e) {
|
|
|
42568
42568
|
datasets: r.map((i) => {
|
|
42569
42569
|
var o = n(i);
|
|
42570
42570
|
return {
|
|
42571
|
-
data: o
|
|
42571
|
+
data: o,
|
|
42572
|
+
label: i.label
|
|
42572
42573
|
};
|
|
42573
42574
|
})
|
|
42574
42575
|
},
|
package/dist/index.d.ts
CHANGED
|
@@ -518,17 +518,17 @@ export declare interface BulkActionResult<T> {
|
|
|
518
518
|
|
|
519
519
|
export declare function capitalizeWords(val?: string): string | undefined;
|
|
520
520
|
|
|
521
|
-
declare interface ChartJSData {
|
|
521
|
+
export declare interface ChartJSData {
|
|
522
522
|
datasets: ChartJSDataSet[];
|
|
523
523
|
labels?: string[];
|
|
524
524
|
}
|
|
525
525
|
|
|
526
|
-
declare interface ChartJSDataPoint {
|
|
526
|
+
export declare interface ChartJSDataPoint {
|
|
527
527
|
x: string | number;
|
|
528
528
|
y: string | number;
|
|
529
529
|
}
|
|
530
530
|
|
|
531
|
-
declare interface ChartJSDataSet {
|
|
531
|
+
export declare interface ChartJSDataSet {
|
|
532
532
|
backgroundColor?: string;
|
|
533
533
|
borderColor?: string;
|
|
534
534
|
data: number[] | any[][] | ChartJSDataPoint[] | any[];
|
|
@@ -536,12 +536,12 @@ declare interface ChartJSDataSet {
|
|
|
536
536
|
parsing?: ChartJSParsing;
|
|
537
537
|
}
|
|
538
538
|
|
|
539
|
-
declare interface ChartJSOptions {
|
|
539
|
+
export declare interface ChartJSOptions {
|
|
540
540
|
responsive?: boolean;
|
|
541
541
|
parsing?: ChartJSParsing;
|
|
542
542
|
}
|
|
543
543
|
|
|
544
|
-
declare interface ChartJSParsing {
|
|
544
|
+
export declare interface ChartJSParsing {
|
|
545
545
|
yAxisKey?: string;
|
|
546
546
|
xAxisKey?: string;
|
|
547
547
|
}
|
|
@@ -720,7 +720,7 @@ export declare function createFilters(options: UseFiltersOptions): BTFilters;
|
|
|
720
720
|
|
|
721
721
|
export declare function createGraphs(opt: CreateGraphsOptions): BTGraphs;
|
|
722
722
|
|
|
723
|
-
declare interface CreateGraphsOptions {
|
|
723
|
+
export declare interface CreateGraphsOptions {
|
|
724
724
|
dates: BTDates;
|
|
725
725
|
}
|
|
726
726
|
|
|
@@ -978,7 +978,7 @@ export declare interface GetAllOptions<T, TReturn> extends StoreAction, StorePat
|
|
|
978
978
|
onGetSuccessAsync?: OnGetAllSuccessAsync<T, TReturn>;
|
|
979
979
|
}
|
|
980
980
|
|
|
981
|
-
declare interface GetChartResult {
|
|
981
|
+
export declare interface GetChartResult {
|
|
982
982
|
data: ChartJSData;
|
|
983
983
|
options?: ChartJSOptions;
|
|
984
984
|
}
|
|
@@ -1041,6 +1041,7 @@ export declare interface GetStorageKeyOptions {
|
|
|
1041
1041
|
|
|
1042
1042
|
export declare interface GetXYOptions<T> extends GetRawXYOptions<T> {
|
|
1043
1043
|
fillGaps?: boolean;
|
|
1044
|
+
label?: string;
|
|
1044
1045
|
list: T[];
|
|
1045
1046
|
/**can be a filter or a time format */
|
|
1046
1047
|
xLabelFilter?: string;
|
package/package.json
CHANGED