Skip to content

Commit 165a584

Browse files
committed
merge master branch
2 parents dda5840 + df29625 commit 165a584

22 files changed

+93
-40
lines changed

demo/code-demo/step_authorize.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
<!DOCTYPE html>
22
<div id="authStepDiv">
33
<div id="sampleReport" class="pbi-line">
4+
<div id="deprecationNote">
5+
<div class="pageTitle">
6+
<h3>Deprecation Note</h3>
7+
</div>
8+
This sample is deprecated. please use the new sample available
9+
<a href="https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html">here</a>.
10+
11+
<br/>
12+
13+
The new sample accommodates the changes announced in the embedded offering described in
14+
<a href="https://powerbi.microsoft.com/en-us/documentation/powerbi-developer-embedding/">Power BI Documentation page</a>.
15+
</div>
16+
417
<div class="pageTitle">
518
<h3>Sample Report</h3>
619
<h8>You can embed a sample report and interact with Power BI Embedded firsthand by clicking below.</h8>

demo/code-demo/style/style.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,16 @@ a:hover, a:visited, a:link, a:active
8787
margin-right: 30px;
8888
}
8989

90+
#deprecationNote {
91+
margin-bottom: 30px;
92+
}
93+
94+
#deprecationNote .pageTitle {
95+
margin-bottom: 15px;
96+
font-weight: normal;
97+
color: red;
98+
}
99+
90100
#sampleReportImgDiv img {
91101
width: 265px;
92102
height: 180px;

dist/config.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! powerbi-client v2.3.1 | (c) 2016 Microsoft Corporation MIT */
1+
/*! powerbi-client v2.3.2 | (c) 2016 Microsoft Corporation MIT */
22
declare const config: {
33
version: string;
44
type: string;

dist/create.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! powerbi-client v2.3.1 | (c) 2016 Microsoft Corporation MIT */
1+
/*! powerbi-client v2.3.2 | (c) 2016 Microsoft Corporation MIT */
22
import * as service from './service';
33
import * as models from 'powerbi-models';
44
import * as embed from './embed';

dist/dashboard.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! powerbi-client v2.3.1 | (c) 2016 Microsoft Corporation MIT */
1+
/*! powerbi-client v2.3.2 | (c) 2016 Microsoft Corporation MIT */
22
import * as service from './service';
33
import * as embed from './embed';
44
import * as models from 'powerbi-models';

dist/embed.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! powerbi-client v2.3.1 | (c) 2016 Microsoft Corporation MIT */
1+
/*! powerbi-client v2.3.2 | (c) 2016 Microsoft Corporation MIT */
22
import * as service from './service';
33
import * as models from 'powerbi-models';
44
declare global {

dist/factories.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! powerbi-client v2.3.1 | (c) 2016 Microsoft Corporation MIT */
1+
/*! powerbi-client v2.3.2 | (c) 2016 Microsoft Corporation MIT */
22
/**
33
* TODO: Need to find better place for these factory functions or refactor how we handle dependency injection
44
*/

dist/ifilterable.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! powerbi-client v2.3.1 | (c) 2016 Microsoft Corporation MIT */
1+
/*! powerbi-client v2.3.2 | (c) 2016 Microsoft Corporation MIT */
22
import * as models from 'powerbi-models';
33
/**
44
* Decorates embed components that support filters

dist/page.d.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! powerbi-client v2.3.1 | (c) 2016 Microsoft Corporation MIT */
1+
/*! powerbi-client v2.3.2 | (c) 2016 Microsoft Corporation MIT */
22
import { IFilterable } from './ifilterable';
33
import { IReportNode } from './report';
44
import * as models from 'powerbi-models';
@@ -39,14 +39,21 @@ export declare class Page implements IPageNode, IFilterable {
3939
* @type {string}
4040
*/
4141
displayName: string;
42+
/**
43+
* Is this page is the active page
44+
*
45+
* @type {boolean}
46+
*/
47+
isActive: boolean;
4248
/**
4349
* Creates an instance of a Power BI report page.
4450
*
4551
* @param {IReportNode} report
4652
* @param {string} name
4753
* @param {string} [displayName]
54+
* @param {boolean} [isActivePage]
4855
*/
49-
constructor(report: IReportNode, name: string, displayName?: string);
56+
constructor(report: IReportNode, name: string, displayName?: string, isActivePage?: boolean);
5057
/**
5158
* Gets all page level filters within the report.
5259
*

dist/powerbi.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! powerbi-client v2.3.1 | (c) 2016 Microsoft Corporation MIT */
1+
/*! powerbi-client v2.3.2 | (c) 2016 Microsoft Corporation MIT */
22
import * as service from './service';
33
import * as factories from './factories';
44
import * as models from 'powerbi-models';

0 commit comments

Comments
 (0)