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/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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "2.1.4",
3
+ "version": "2.1.6",
4
4
  "description": "Core app tools for some basic features like navigation, authentication, server apis, and cosmetics",
5
5
  "homepage": "https://github.com/BlitzItTech/bt-core",
6
6
  "bugs": {