powerbi-client-react 1.4.0 → 2.0.1
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/PowerBIEmbed.d.ts +1 -17
- package/dist/powerbi-client-react.js +2 -342
- package/dist/powerbi-client-react.js.map +1 -1
- package/dist/utils.d.ts +1 -1
- package/package.json +20 -17
- package/LICENSE.txt +0 -23
- package/README.md +0 -219
package/dist/PowerBIEmbed.d.ts
CHANGED
|
@@ -4,9 +4,7 @@ import { IReportCreateConfiguration, IPaginatedReportLoadConfiguration } from 'p
|
|
|
4
4
|
/**
|
|
5
5
|
* Type for event handler function of embedded entity
|
|
6
6
|
*/
|
|
7
|
-
export type EventHandler =
|
|
8
|
-
(event?: service.ICustomEvent<any>, embeddedEntity?: Embed): void | null;
|
|
9
|
-
};
|
|
7
|
+
export type EventHandler = ((event?: service.ICustomEvent<any>, embeddedEntity?: Embed) => void) | null;
|
|
10
8
|
/**
|
|
11
9
|
* Props interface for PowerBIEmbed component
|
|
12
10
|
*/
|
|
@@ -47,14 +45,6 @@ export declare class PowerBIEmbed extends React.Component<EmbedProps> {
|
|
|
47
45
|
* Embed the powerbi entity (Load for phased embedding)
|
|
48
46
|
*/
|
|
49
47
|
private embedEntity;
|
|
50
|
-
/**
|
|
51
|
-
* When component updates, choose to _embed_ the powerbi entity or _update the accessToken_ in the embedded entity
|
|
52
|
-
* or do nothing if the embedUrl and accessToken did not update in the new props
|
|
53
|
-
*
|
|
54
|
-
* @param prevProps EmbedProps
|
|
55
|
-
* @returns void
|
|
56
|
-
*/
|
|
57
|
-
private embedOrUpdateAccessToken;
|
|
58
48
|
/**
|
|
59
49
|
* Sets all event handlers from the props on the embedded entity
|
|
60
50
|
*
|
|
@@ -69,10 +59,4 @@ export declare class PowerBIEmbed extends React.Component<EmbedProps> {
|
|
|
69
59
|
* @returns void
|
|
70
60
|
*/
|
|
71
61
|
private invokeGetEmbedCallback;
|
|
72
|
-
/**
|
|
73
|
-
* Update settings from props of the embedded artifact
|
|
74
|
-
*
|
|
75
|
-
* @returns void
|
|
76
|
-
*/
|
|
77
|
-
private updateSettings;
|
|
78
62
|
}
|