Comparing version
@@ -107,2 +107,20 @@ /** | ||
/** | ||
* 时间维度类型 | ||
*/ | ||
export declare enum TimeRegionInBackend { | ||
yearRegion = "year", | ||
quarterRegion = "year-quarter", | ||
monthRegion = "year-month", | ||
weekRegion = "year-week", | ||
dateRegion = "year-month-day", | ||
hourRegion = "hour", | ||
minRegion = "hour-minute", | ||
secRegion = "hour-minute-second", | ||
ymdHmsRegion = "datetime" | ||
} | ||
/** | ||
* formatAllGranularityTime dimGranularity 枚举值 | ||
*/ | ||
export declare type DimGranularity = 'year' | 'year-quarter' | 'year-month' | 'year-week' | 'year-month-day' | 'hour' | 'hour-minute' | 'hour-minute-second' | 'datetime'; | ||
/** | ||
* bi 组件通用属性模型 | ||
@@ -127,2 +145,4 @@ */ | ||
utils?: { | ||
formatNumberWithConfig: (num: number | string, config: any) => void; | ||
formatAllGranularityTime: (dimGranularity: DimGranularity, formatType: string, raw: string) => void; | ||
[key: string]: any; | ||
@@ -129,0 +149,0 @@ }; |
@@ -1,1 +0,20 @@ | ||
"use strict"; | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.TimeRegionInBackend = void 0; | ||
var TimeRegionInBackend; | ||
exports.TimeRegionInBackend = TimeRegionInBackend; | ||
(function (TimeRegionInBackend) { | ||
TimeRegionInBackend["yearRegion"] = "year"; | ||
TimeRegionInBackend["quarterRegion"] = "year-quarter"; | ||
TimeRegionInBackend["monthRegion"] = "year-month"; | ||
TimeRegionInBackend["weekRegion"] = "year-week"; | ||
TimeRegionInBackend["dateRegion"] = "year-month-day"; | ||
TimeRegionInBackend["hourRegion"] = "hour"; | ||
TimeRegionInBackend["minRegion"] = "hour-minute"; | ||
TimeRegionInBackend["secRegion"] = "hour-minute-second"; | ||
TimeRegionInBackend["ymdHmsRegion"] = "datetime"; | ||
})(TimeRegionInBackend || (exports.TimeRegionInBackend = TimeRegionInBackend = {})); |
{ | ||
"name": "bi-types", | ||
"version": "3.0.23", | ||
"version": "3.0.24", | ||
"sideEffects": [ | ||
@@ -5,0 +5,0 @@ "**/*.scss", |
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
130085
1.67%3887
1.25%0
-100%2
100%