Merged PR 9241: updating models and copyright
updating models and copyright
This commit is contained in:
Родитель
68d4655228
Коммит
2cea15763d
|
@ -11,7 +11,7 @@
|
|||
<requireLicenseAcceptance>true</requireLicenseAcceptance>
|
||||
<summary>JavaScript web components for Power BI</summary>
|
||||
<description>A suite of JavaScript web components for integrating Power BI into your app</description>
|
||||
<copyright>Copyright (c) Microsoft Corporation</copyright>
|
||||
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
|
||||
<tags>Microsoft Power BI JavaScript JS</tags>
|
||||
</metadata>
|
||||
<files>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/*! powerbi-client v2.6.1 | (c) 2016 Microsoft Corporation MIT */
|
||||
/*! powerbi-client v2.6.2 | (c) 2016 Microsoft Corporation MIT */
|
||||
declare module "util" {
|
||||
/**
|
||||
* Raises a custom event with event data on the specified HTML element.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/*! powerbi-client v2.6.1 | (c) 2016 Microsoft Corporation MIT */
|
||||
/*! powerbi-client v2.6.2 | (c) 2016 Microsoft Corporation MIT */
|
||||
(function webpackUniversalModuleDefinition(root, factory) {
|
||||
if(typeof exports === 'object' && typeof module === 'object')
|
||||
module.exports = factory();
|
||||
|
@ -1016,7 +1016,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|||
/* 4 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
/*! powerbi-models v1.0.8 | (c) 2016 Microsoft Corporation MIT */
|
||||
/*! powerbi-models v1.0.12 | (c) 2016 Microsoft Corporation MIT */
|
||||
(function webpackUniversalModuleDefinition(root, factory) {
|
||||
if(true)
|
||||
module.exports = factory();
|
||||
|
@ -1440,6 +1440,16 @@ return /******/ (function(modules) { // webpackBootstrap
|
|||
BookmarksPlayMode[BookmarksPlayMode["Off"] = 0] = "Off";
|
||||
BookmarksPlayMode[BookmarksPlayMode["Presentation"] = 1] = "Presentation";
|
||||
})(BookmarksPlayMode = exports.BookmarksPlayMode || (exports.BookmarksPlayMode = {}));
|
||||
// This is not an enum because enum strings require
|
||||
// us to upgrade typeScript version and change SDK build definition
|
||||
exports.CommonErrorCodes = {
|
||||
TokenExpired: 'TokenExpired',
|
||||
NotFound: 'PowerBIEntityNotFound',
|
||||
InvalidParameters: 'Invalid parameters',
|
||||
LoadReportFailed: 'LoadReportFailed',
|
||||
NotAuthorized: 'PowerBINotAuthorizedException',
|
||||
FailedToLoadModel: 'ExplorationContainer_FailedToLoadModel_DefaultDetails',
|
||||
};
|
||||
var Selector = /** @class */ (function () {
|
||||
function Selector(schema) {
|
||||
this.$schema = schema;
|
||||
|
@ -1469,6 +1479,22 @@ return /******/ (function(modules) { // webpackBootstrap
|
|||
return VisualSelector;
|
||||
}(Selector));
|
||||
exports.VisualSelector = VisualSelector;
|
||||
var VisualTypeSelector = /** @class */ (function (_super) {
|
||||
__extends(VisualTypeSelector, _super);
|
||||
function VisualTypeSelector(visualType) {
|
||||
var _this = _super.call(this, VisualSelector.schemaUrl) || this;
|
||||
_this.visualType = visualType;
|
||||
return _this;
|
||||
}
|
||||
VisualTypeSelector.prototype.toJSON = function () {
|
||||
var selector = _super.prototype.toJSON.call(this);
|
||||
selector.visualType = this.visualType;
|
||||
return selector;
|
||||
};
|
||||
VisualTypeSelector.schemaUrl = "http://powerbi.com/product/schema#visualTypeSelector";
|
||||
return VisualTypeSelector;
|
||||
}(Selector));
|
||||
exports.VisualTypeSelector = VisualTypeSelector;
|
||||
function normalizeError(error) {
|
||||
var message = error.message;
|
||||
if (!message) {
|
||||
|
@ -1613,6 +1639,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|||
var layoutValidator_1 = __webpack_require__(18);
|
||||
var exportDataValidator_1 = __webpack_require__(19);
|
||||
var selectorsValidator_1 = __webpack_require__(20);
|
||||
var selectorsValidator_2 = __webpack_require__(20);
|
||||
var slicersValidator_1 = __webpack_require__(21);
|
||||
var visualSettingsValidator_1 = __webpack_require__(22);
|
||||
var visualSettingsValidator_2 = __webpack_require__(22);
|
||||
|
@ -1692,7 +1719,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|||
visualHeaderValidator: new visualSettingsValidator_2.VisualHeaderValidator(),
|
||||
visualLayoutValidator: new layoutValidator_1.VisualLayoutValidator(),
|
||||
visualHeadersValidator: new typeValidator_1.ArrayValidator([new visualSettingsValidator_2.VisualHeaderValidator()]),
|
||||
visualHeaderSelectorValidator: new anyOfValidator_1.AnyOfValidator([new selectorsValidator_1.VisualSelectorValidator(), new selectorsValidator_2.VisualTypeSelectorValidator()]),
|
||||
visualSelectorValidator: new selectorsValidator_1.VisualSelectorValidator(),
|
||||
visualTypeSelectorValidator: new selectorsValidator_2.VisualTypeSelectorValidator(),
|
||||
visualSettingsValidator: new visualSettingsValidator_3.VisualSettingsValidator(),
|
||||
};
|
||||
|
||||
|
@ -1829,6 +1858,19 @@ return /******/ (function(modules) { // webpackBootstrap
|
|||
return ValueValidator;
|
||||
}());
|
||||
exports.ValueValidator = ValueValidator;
|
||||
var SchemaValidator = /** @class */ (function (_super) {
|
||||
__extends(SchemaValidator, _super);
|
||||
function SchemaValidator(schemaValue) {
|
||||
var _this = _super.call(this, [schemaValue]) || this;
|
||||
_this.schemaValue = schemaValue;
|
||||
return _this;
|
||||
}
|
||||
SchemaValidator.prototype.validate = function (input, path, field) {
|
||||
return _super.prototype.validate.call(this, input, path, field);
|
||||
};
|
||||
return SchemaValidator;
|
||||
}(ValueValidator));
|
||||
exports.SchemaValidator = SchemaValidator;
|
||||
var EnumValidator = /** @class */ (function (_super) {
|
||||
__extends(EnumValidator, _super);
|
||||
function EnumValidator(possibleValues) {
|
||||
|
@ -3596,6 +3638,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|||
var validator_1 = __webpack_require__(1);
|
||||
var multipleFieldsValidator_1 = __webpack_require__(4);
|
||||
var typeValidator_1 = __webpack_require__(2);
|
||||
var typeValidator_2 = __webpack_require__(2);
|
||||
var VisualSelectorValidator = /** @class */ (function (_super) {
|
||||
__extends(VisualSelectorValidator, _super);
|
||||
function VisualSelectorValidator() {
|
||||
|
@ -3610,6 +3653,11 @@ return /******/ (function(modules) { // webpackBootstrap
|
|||
return errors;
|
||||
}
|
||||
var fields = [
|
||||
{
|
||||
// Not required for this selector only - Backward compatibility
|
||||
field: "$schema",
|
||||
validators: [validator_1.Validators.stringValidator, new typeValidator_2.SchemaValidator("http://powerbi.com/product/schema#visualSelector")]
|
||||
},
|
||||
{
|
||||
field: "visualName",
|
||||
validators: [validator_1.Validators.fieldRequiredValidator, validator_1.Validators.stringValidator]
|
||||
|
@ -3621,6 +3669,35 @@ return /******/ (function(modules) { // webpackBootstrap
|
|||
return VisualSelectorValidator;
|
||||
}(typeValidator_1.ObjectValidator));
|
||||
exports.VisualSelectorValidator = VisualSelectorValidator;
|
||||
var VisualTypeSelectorValidator = /** @class */ (function (_super) {
|
||||
__extends(VisualTypeSelectorValidator, _super);
|
||||
function VisualTypeSelectorValidator() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
VisualTypeSelectorValidator.prototype.validate = function (input, path, field) {
|
||||
if (input == null) {
|
||||
return null;
|
||||
}
|
||||
var errors = _super.prototype.validate.call(this, input, path, field);
|
||||
if (errors) {
|
||||
return errors;
|
||||
}
|
||||
var fields = [
|
||||
{
|
||||
field: "$schema",
|
||||
validators: [validator_1.Validators.fieldRequiredValidator, validator_1.Validators.stringValidator, new typeValidator_2.SchemaValidator("http://powerbi.com/product/schema#visualTypeSelector")]
|
||||
},
|
||||
{
|
||||
field: "visualType",
|
||||
validators: [validator_1.Validators.fieldRequiredValidator, validator_1.Validators.stringValidator]
|
||||
}
|
||||
];
|
||||
var multipleFieldsValidator = new multipleFieldsValidator_1.MultipleFieldsValidator(fields);
|
||||
return multipleFieldsValidator.validate(input, path, field);
|
||||
};
|
||||
return VisualTypeSelectorValidator;
|
||||
}(typeValidator_1.ObjectValidator));
|
||||
exports.VisualTypeSelectorValidator = VisualTypeSelectorValidator;
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
@ -3785,7 +3862,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|||
},
|
||||
{
|
||||
field: "selector",
|
||||
validators: [validator_1.Validators.visualSelectorValidator]
|
||||
validators: [validator_1.Validators.visualHeaderSelectorValidator]
|
||||
},
|
||||
];
|
||||
var multipleFieldsValidator = new multipleFieldsValidator_1.MultipleFieldsValidator(fields);
|
||||
|
@ -5052,7 +5129,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|||
/***/ (function(module, exports) {
|
||||
|
||||
var config = {
|
||||
version: '2.6.1',
|
||||
version: '2.6.2',
|
||||
type: 'js'
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
|
@ -5063,7 +5140,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|||
/* 17 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
/*! window-post-message-proxy v0.2.4 | (c) 2016 Microsoft Corporation MIT */
|
||||
/*! window-post-message-proxy v0.2.5 | (c) 2016 Microsoft Corporation MIT */
|
||||
(function webpackUniversalModuleDefinition(root, factory) {
|
||||
if(true)
|
||||
module.exports = factory();
|
||||
|
@ -5118,7 +5195,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|||
/************************************************************************/
|
||||
/******/ ([
|
||||
/* 0 */
|
||||
/***/ function(module, exports) {
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
"use strict";
|
||||
var WindowPostMessageProxy = (function () {
|
||||
|
@ -5353,7 +5430,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|||
exports.WindowPostMessageProxy = WindowPostMessageProxy;
|
||||
|
||||
|
||||
/***/ }
|
||||
/***/ })
|
||||
/******/ ])
|
||||
});
|
||||
;
|
||||
|
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "powerbi-client",
|
||||
"version": "2.6.1",
|
||||
"version": "2.6.2",
|
||||
"description": "JavaScript library for embedding Power BI into your apps. Provides service which makes it easy to embed different types of components and an object model which allows easy interaction with these components such as changing pages, applying filters, and responding to data selection.",
|
||||
"main": "dist/powerbi.js",
|
||||
"typings": "dist/powerbi-client.d.ts",
|
||||
|
@ -75,7 +75,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"http-post-message": "^0.2",
|
||||
"powerbi-models": "^1.0.8",
|
||||
"powerbi-models": "^1.0.12",
|
||||
"powerbi-router": "^0.1",
|
||||
"window-post-message-proxy": "^0.2"
|
||||
},
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
const config = {
|
||||
version: '2.6.1',
|
||||
version: '2.6.2',
|
||||
type: 'js'
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче