Skip to content

Commit 54dd902

Browse files
committed
Merge remote-tracking branch 'External/master'
2 parents 93d7da5 + 2bccefe commit 54dd902

File tree

11 files changed

+149
-25
lines changed

11 files changed

+149
-25
lines changed

dist/powerbi-client.d.ts

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! powerbi-client v2.3.2 | (c) 2016 Microsoft Corporation MIT */
1+
/*! powerbi-client v2.3.3 | (c) 2016 Microsoft Corporation MIT */
22
declare module "config" {
33
const config: {
44
version: string;
@@ -52,6 +52,16 @@ declare module "util" {
5252
* @returns {string}
5353
*/
5454
export function createRandomString(): string;
55+
/**
56+
* Adds a parameter to the given url
57+
*
58+
* @export
59+
* @param {string} url
60+
* @param {string} paramName
61+
* @param {string} value
62+
* @returns {string}
63+
*/
64+
export function addParamToUrl(url: string, paramName: string, value: string): string;
5565
}
5666
declare module "embed" {
5767
import * as service from "service";
@@ -78,7 +88,7 @@ declare module "embed" {
7888
uniqueId?: string;
7989
embedUrl?: string;
8090
accessToken?: string;
81-
settings?: models.ISettings;
91+
settings?: IEmbedSettings;
8292
pageName?: string;
8393
filters?: models.IFilter[];
8494
pageView?: models.PageView;
@@ -91,6 +101,13 @@ declare module "embed" {
91101
height?: number;
92102
width?: number;
93103
}
104+
export interface ILocaleSettings {
105+
language?: string;
106+
formatLocale?: string;
107+
}
108+
export interface IEmbedSettings extends models.ISettings {
109+
localeSettings?: ILocaleSettings;
110+
}
94111
export interface IInternalEmbedConfiguration extends models.IReportLoadConfiguration {
95112
uniqueId: string;
96113
type: string;
@@ -291,6 +308,13 @@ declare module "embed" {
291308
* @returns {void}
292309
*/
293310
private populateConfig(config);
311+
/**
312+
* Adds locale parameters to embedUrl
313+
*
314+
* @private
315+
* @param {IEmbedConfiguration} config
316+
*/
317+
private addLocaleToEmbedUrl(config);
294318
/**
295319
* Gets an embed url from the first available location: options, attribute.
296320
*
@@ -986,6 +1010,7 @@ declare module "powerbi" {
9861010
import { IFilterable } from "ifilterable";
9871011
export { IFilterable, service, factories, models };
9881012
export { Report } from "report";
1013+
export { Dashboard } from "dashboard";
9891014
export { Tile } from "tile";
9901015
export { IEmbedConfiguration, Embed } from "embed";
9911016
export { Page } from "page";

dist/powerbi.js

Lines changed: 41 additions & 7 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)