Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dist/ifilterable.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import * as models from 'powerbi-models';
/**
* Decorates embed components that support filters
* Examples include reports, pages and visuals
* Examples include reports and pages
*
* @export
* @interface IFilterable
Expand Down
30 changes: 0 additions & 30 deletions dist/page.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/*! powerbi-client v2.1.1 | (c) 2016 Microsoft Corporation MIT */
import { IFilterable } from './ifilterable';
import { IReportNode } from './report';
import { Visual } from './visual';
import * as models from 'powerbi-models';
/**
* A Page node within a report hierarchy
Expand Down Expand Up @@ -59,17 +58,6 @@ export declare class Page implements IPageNode, IFilterable {
* @returns {(Promise<models.IFilter[]>)}
*/
getFilters(): Promise<models.IFilter[]>;
/**
* Gets all the visuals on the page.
*
* ```javascript
* page.getVisuals()
* .then(visuals => { ... });
* ```
*
* @returns {Promise<Visual[]>}
*/
getVisuals(): Promise<Visual[]>;
/**
* Removes all filters from this page of the report.
*
Expand Down Expand Up @@ -102,22 +90,4 @@ export declare class Page implements IPageNode, IFilterable {
* @returns {Promise<void>}
*/
setFilters(filters: models.IFilter[]): Promise<void>;
/**
* Creates a Visual object given a name for the visual.
*
* Normally you would get Visual objects by calling `page.getVisuals()` but in the case
* that the visual name is known and you want to perform an action on a visual such as setting a filter
* without having to retrieve it first you can create it directly.
*
* Note: Because you are creating the visual manually there is no guarantee that the visual actually exists in the report and the subsequence requests could fail.
*
* ```javascript
* const visual = report.page('ReportSection1').visual('BarChart1');
* visual.setFilters(filters);
* ```
*
* @param {string} name
* @returns {Visual}
*/
visual(name: string): Visual;
}
1 change: 0 additions & 1 deletion dist/powerbi.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ export { Report } from './report';
export { Tile } from './tile';
export { IEmbedConfiguration, Embed } from './embed';
export { Page } from './page';
export { Visual } from './visual';
declare global {
interface Window {
powerbi: service.Service;
Expand Down
151 changes: 15 additions & 136 deletions dist/powerbi.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/powerbi.js.map

Large diffs are not rendered by default.

Loading