powerbi-visuals-api
Advanced tools
Comparing version 3.4.0 to 3.5.0
# Change Log - Power BI Custom Visuals API | ||
## 3.5.0 | ||
* `VisualEnumerationInstanceKinds` : add enum to support different formatting types | ||
* `VisualObjectInstance` : new `propertyInstanceKind` and `altConstantValueSelector` optional properties to support conditional formatting. | ||
## 3.4.0 | ||
@@ -4,0 +8,0 @@ * `fetchMoreData` : new `aggregateSegments` parameter (default true), for supporting no-aggregation fetchMoreData. |
@@ -1098,2 +1098,8 @@ declare namespace powerbi { | ||
export const enum VisualEnumerationInstanceKinds { | ||
Constant = 1 << 0, | ||
Rule = 1 << 1, | ||
ConstantOrRule = Constant | Rule, | ||
} | ||
export interface VisualObjectInstance { | ||
@@ -1114,2 +1120,5 @@ /** The name of the object (as defined in VisualCapabilities). */ | ||
/** Additional selector used for conditional formatting at the static level for performance optimization. */ | ||
altConstantValueSelector?: Selector; | ||
/** (Optional) Defines the constrained set of valid values for a property. */ | ||
@@ -1127,2 +1136,7 @@ validValues?: { | ||
}; | ||
/** (Optional) Description of the type of instance that the property pane should display. If it doesn't exist, we assume constant only. */ | ||
propertyInstanceKind?: { | ||
[propertyName: string]: VisualEnumerationInstanceKinds; | ||
}; | ||
} | ||
@@ -1129,0 +1143,0 @@ |
{ | ||
"name": "powerbi-visuals-api", | ||
"version": "3.4.0", | ||
"version": "3.5.0", | ||
"description": "Power BI Custom Visuals API type definitions for typescript", | ||
@@ -5,0 +5,0 @@ "types": "index", |
120120
2805