Skip to content

Commit 5c7aab6

Browse files
committed
Merged PR 21610: Add isActive to Page class
Add isActive to Page class
1 parent 888685f commit 5c7aab6

21 files changed

Lines changed: 71 additions & 41 deletions

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';

dist/powerbi.js

Lines changed: 14 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/powerbi.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)