bt-core-app 2.1.4 → 2.1.6
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 +554 -531
- package/dist/index.d.ts +8 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -983,6 +983,14 @@ export declare interface GetChartResult {
|
|
|
983
983
|
|
|
984
984
|
export declare function getColors(): string[];
|
|
985
985
|
|
|
986
|
+
export declare function getCSVItems<T>(csvTxt: string, options: GetCSVOption[], onProcessItem?: (csvItem: string[], item: T) => void): T[];
|
|
987
|
+
|
|
988
|
+
export declare interface GetCSVOption {
|
|
989
|
+
csvColumnNames: string[];
|
|
990
|
+
onProcessProp?: <T>(v: string, ret?: T) => void;
|
|
991
|
+
propName: string;
|
|
992
|
+
}
|
|
993
|
+
|
|
986
994
|
export declare interface GetDataSetOptions<T> {
|
|
987
995
|
backgroundColor?: string;
|
|
988
996
|
borderColor?: string;
|
package/package.json
CHANGED