powerbi-client-angular
Advanced tools
Comparing version 3.0.5 to 4.0.0
@@ -35,3 +35,3 @@ import { AfterViewInit, OnChanges, OnInit, SimpleChanges } from '@angular/core'; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<PowerBIDashboardEmbedComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<PowerBIDashboardEmbedComponent, "powerbi-dashboard[embedConfig]", never, { "embedConfig": "embedConfig"; "eventHandlers": "eventHandlers"; }, {}, never, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<PowerBIDashboardEmbedComponent, "powerbi-dashboard[embedConfig]", never, { "embedConfig": { "alias": "embedConfig"; "required": false; }; "eventHandlers": { "alias": "eventHandlers"; "required": false; }; }, {}, never, never, false, never>; | ||
} |
@@ -7,3 +7,3 @@ import { OnInit } from '@angular/core'; | ||
*/ | ||
export declare type EventHandler = (event?: service.ICustomEvent<any>, embeddedEntity?: Embed) => void | null; | ||
export type EventHandler = (event?: service.ICustomEvent<any>, embeddedEntity?: Embed) => void | null; | ||
/** | ||
@@ -13,2 +13,3 @@ * Base component to hold common properties for all the Power BI entities | ||
export declare class PowerBIEmbedComponent implements OnInit { | ||
private static _powerbi; | ||
cssClassName?: string; | ||
@@ -28,3 +29,3 @@ service?: service.Service; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<PowerBIEmbedComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<PowerBIEmbedComponent, "powerbi-embed", never, { "cssClassName": "cssClassName"; "service": "service"; }, {}, never, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<PowerBIEmbedComponent, "powerbi-embed", never, { "cssClassName": { "alias": "cssClassName"; "required": false; }; "service": { "alias": "service"; "required": false; }; }, {}, never, never, false, never>; | ||
} |
import { AfterViewInit, OnChanges, OnInit, SimpleChanges } from '@angular/core'; | ||
import { IEmbedConfiguration } from 'powerbi-client'; | ||
import { IPaginatedReportLoadConfiguration } from 'powerbi-models'; | ||
import { PowerBIEmbedComponent } from '../powerbi-embed/powerbi-embed.component'; | ||
@@ -9,3 +9,3 @@ import * as i0 from "@angular/core"; | ||
export declare class PowerBIPaginatedReportEmbedComponent extends PowerBIEmbedComponent implements OnInit, OnChanges, AfterViewInit { | ||
embedConfig: IEmbedConfiguration; | ||
embedConfig: IPaginatedReportLoadConfiguration; | ||
private containerRef; | ||
@@ -29,3 +29,3 @@ private _embed?; | ||
* | ||
* @param prevEmbedConfig IEmbedConfiguration | ||
* @param prevEmbedConfig IPaginatedReportLoadConfiguration | ||
* @returns void | ||
@@ -35,3 +35,3 @@ */ | ||
static ɵfac: i0.ɵɵFactoryDeclaration<PowerBIPaginatedReportEmbedComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<PowerBIPaginatedReportEmbedComponent, "powerbi-paginated-report[embedConfig]", never, { "embedConfig": "embedConfig"; }, {}, never, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<PowerBIPaginatedReportEmbedComponent, "powerbi-paginated-report[embedConfig]", never, { "embedConfig": { "alias": "embedConfig"; "required": false; }; }, {}, never, never, false, never>; | ||
} |
@@ -35,3 +35,3 @@ import { AfterViewInit, OnChanges, OnInit, SimpleChanges } from '@angular/core'; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<PowerBIQnaEmbedComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<PowerBIQnaEmbedComponent, "powerbi-qna[embedConfig]", never, { "embedConfig": "embedConfig"; "eventHandlers": "eventHandlers"; }, {}, never, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<PowerBIQnaEmbedComponent, "powerbi-qna[embedConfig]", never, { "embedConfig": { "alias": "embedConfig"; "required": false; }; "eventHandlers": { "alias": "eventHandlers"; "required": false; }; }, {}, never, never, false, never>; | ||
} |
@@ -36,3 +36,3 @@ import { AfterViewInit, OnChanges, OnInit, SimpleChanges } from '@angular/core'; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<PowerBIReportEmbedComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<PowerBIReportEmbedComponent, "powerbi-report[embedConfig]", never, { "embedConfig": "embedConfig"; "phasedEmbedding": "phasedEmbedding"; "eventHandlers": "eventHandlers"; }, {}, never, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<PowerBIReportEmbedComponent, "powerbi-report[embedConfig]", never, { "embedConfig": { "alias": "embedConfig"; "required": false; }; "phasedEmbedding": { "alias": "phasedEmbedding"; "required": false; }; "eventHandlers": { "alias": "eventHandlers"; "required": false; }; }, {}, never, never, false, never>; | ||
} |
@@ -35,3 +35,3 @@ import { AfterViewInit, OnChanges, OnInit, SimpleChanges } from '@angular/core'; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<PowerBITileEmbedComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<PowerBITileEmbedComponent, "powerbi-tile[embedConfig]", never, { "embedConfig": "embedConfig"; "eventHandlers": "eventHandlers"; }, {}, never, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<PowerBITileEmbedComponent, "powerbi-tile[embedConfig]", never, { "embedConfig": { "alias": "embedConfig"; "required": false; }; "eventHandlers": { "alias": "eventHandlers"; "required": false; }; }, {}, never, never, false, never>; | ||
} |
@@ -35,3 +35,3 @@ import { AfterViewInit, OnChanges, OnInit, SimpleChanges } from '@angular/core'; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<PowerBIVisualEmbedComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<PowerBIVisualEmbedComponent, "powerbi-visual[embedConfig]", never, { "embedConfig": "embedConfig"; "eventHandlers": "eventHandlers"; }, {}, never, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<PowerBIVisualEmbedComponent, "powerbi-visual[embedConfig]", never, { "embedConfig": { "alias": "embedConfig"; "required": false; }; "eventHandlers": { "alias": "eventHandlers"; "required": false; }; }, {}, never, never, false, never>; | ||
} |
{ | ||
"name": "powerbi-client-angular", | ||
"version": "3.0.5", | ||
"version": "4.0.0", | ||
"description": "Angular wrapper for powerbi-client library", | ||
"main": "./dist/powerbi-client-angular/bundles/powerbi-client-angular.umd.js", | ||
"typings": "powerbi-client-angular.d.ts", | ||
"typings": "index.d.ts", | ||
"keywords": [ | ||
@@ -25,10 +25,6 @@ "microsoft", | ||
"dependencies": { | ||
"powerbi-client": "^2.21.1", | ||
"powerbi-client": "^2.23.1", | ||
"tslib": "^2.1.0" | ||
}, | ||
"module": "fesm2015/powerbi-client-angular.mjs", | ||
"es2020": "fesm2020/powerbi-client-angular.mjs", | ||
"esm2020": "esm2020/powerbi-client-angular.mjs", | ||
"fesm2020": "fesm2020/powerbi-client-angular.mjs", | ||
"fesm2015": "fesm2015/powerbi-client-angular.mjs", | ||
"module": "fesm2022/powerbi-client-angular.mjs", | ||
"exports": { | ||
@@ -39,8 +35,6 @@ "./package.json": { | ||
".": { | ||
"types": "./powerbi-client-angular.d.ts", | ||
"esm2020": "./esm2020/powerbi-client-angular.mjs", | ||
"es2020": "./fesm2020/powerbi-client-angular.mjs", | ||
"es2015": "./fesm2015/powerbi-client-angular.mjs", | ||
"node": "./fesm2015/powerbi-client-angular.mjs", | ||
"default": "./fesm2020/powerbi-client-angular.mjs" | ||
"types": "./index.d.ts", | ||
"esm2022": "./esm2022/powerbi-client-angular.mjs", | ||
"esm": "./esm2022/powerbi-client-angular.mjs", | ||
"default": "./fesm2022/powerbi-client-angular.mjs" | ||
} | ||
@@ -47,0 +41,0 @@ }, |
@@ -9,6 +9,7 @@ import * as i0 from "@angular/core"; | ||
import * as i7 from "./components/powerbi-visual-embed/powerbi-visual-embed.component"; | ||
import * as i8 from "./components/powerbi-create-report/powerbi-create-report.component"; | ||
export declare class PowerBIEmbedModule { | ||
static ɵfac: i0.ɵɵFactoryDeclaration<PowerBIEmbedModule, never>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<PowerBIEmbedModule, [typeof i1.PowerBIEmbedComponent, typeof i2.PowerBIDashboardEmbedComponent, typeof i3.PowerBIPaginatedReportEmbedComponent, typeof i4.PowerBIQnaEmbedComponent, typeof i5.PowerBIReportEmbedComponent, typeof i6.PowerBITileEmbedComponent, typeof i7.PowerBIVisualEmbedComponent], never, [typeof i2.PowerBIDashboardEmbedComponent, typeof i3.PowerBIPaginatedReportEmbedComponent, typeof i4.PowerBIQnaEmbedComponent, typeof i5.PowerBIReportEmbedComponent, typeof i6.PowerBITileEmbedComponent, typeof i7.PowerBIVisualEmbedComponent]>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<PowerBIEmbedModule, [typeof i1.PowerBIEmbedComponent, typeof i2.PowerBIDashboardEmbedComponent, typeof i3.PowerBIPaginatedReportEmbedComponent, typeof i4.PowerBIQnaEmbedComponent, typeof i5.PowerBIReportEmbedComponent, typeof i6.PowerBITileEmbedComponent, typeof i7.PowerBIVisualEmbedComponent, typeof i8.PowerBICreateReportEmbedComponent], never, [typeof i2.PowerBIDashboardEmbedComponent, typeof i3.PowerBIPaginatedReportEmbedComponent, typeof i4.PowerBIQnaEmbedComponent, typeof i5.PowerBIReportEmbedComponent, typeof i6.PowerBITileEmbedComponent, typeof i7.PowerBIVisualEmbedComponent, typeof i8.PowerBICreateReportEmbedComponent]>; | ||
static ɵinj: i0.ɵɵInjectorDeclaration<PowerBIEmbedModule>; | ||
} |
@@ -7,2 +7,3 @@ export * from './components/powerbi-report-embed/powerbi-report-embed.component'; | ||
export * from './components/powerbi-qna-embed/powerbi-qna-embed.component'; | ||
export * from './components/powerbi-create-report/powerbi-create-report.component'; | ||
export * from './powerbi-embed.module'; |
# powerbi-client-angular | ||
Power BI Angular component. This library lets you embed Power BI reports, dashboards, tiles, report visuals, Q&As and paginated reports in your Angular application. | ||
Power BI Angular component. This library enables you to embed Power BI reports, dashboards, dashboard tiles, report visuals, Q&A or paginated reports in your Angular application, and to create new Power BI reports directly in your application. | ||
@@ -85,2 +85,3 @@ ## Quick Start | ||
|PowerBIPaginatedReportEmbedComponent|```<powerbi-paginated-report>```| | ||
|PowerBICreateReportEmbedComponent|```powerbi-create-report```| | ||
<br> | ||
@@ -123,2 +124,3 @@ | ||
|Phased embedding (Report type only)|Set the phasedEmbedding property value to `true` <br/> Refer to the [Phased embedding article](https://docs.microsoft.com/javascript/api/overview/powerbi/phased-embedding).| | ||
|Create report|To create a new report, pass the component with at least _type_, _embedUrl_ and _datasetId_ in _embedConfig_ prop.| | ||
@@ -125,0 +127,0 @@ <br /> |
@@ -10,2 +10,2 @@ import { EventHandler } from '../components/powerbi-embed/powerbi-embed.component'; | ||
export declare const sdkType = "powerbi-client-angular"; | ||
export declare const sdkWrapperVersion = "3.0.5"; | ||
export declare const sdkWrapperVersion = "4.0.0"; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
255
236259
2081
1
Updatedpowerbi-client@^2.23.1