@ardimedia/angular-portal-azure 0.2.156 → 0.2.157

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/apn.d.ts +1 -0
  2. package/apn.js +8 -6
  3. package/package.json +1 -1
package/apn.d.ts CHANGED
@@ -36,6 +36,7 @@ declare var $: JQueryStatic;
36
36
  declare namespace angularportalazure {
37
37
  class Blade extends angularportalazure.UserControlBase {
38
38
  constructor($scope: angular.IScope, portalService: angularportalazure.PortalService, path: string, title: string, subtitle?: string, width?: number);
39
+ vm: {};
39
40
  private watcherTitle;
40
41
  bladeContentHeight: number;
41
42
  bladeContentHeightInner: number;
package/apn.js CHANGED
@@ -134,6 +134,9 @@ var angularportalazure;
134
134
  if (subtitle === void 0) { subtitle = ''; }
135
135
  if (width === void 0) { width = 200; }
136
136
  var _this = _super.call(this, $scope, portalService) || this;
137
+ //#endregion
138
+ //#region Properties
139
+ _this.vm = {};
137
140
  _this.title = '';
138
141
  _this.subTitle = '';
139
142
  _this.width = { 'width': '0' };
@@ -198,7 +201,7 @@ var angularportalazure;
198
201
  _this.isCommandExcel = false;
199
202
  _this.commandExcel = function () { this.onCommandExcel(); };
200
203
  _this.commandExcelText = '';
201
- var that = _this;
204
+ _this.vm = _this;
202
205
  _this.path = path;
203
206
  _this.title = title;
204
207
  _this.subTitle = subtitle;
@@ -303,19 +306,18 @@ var angularportalazure;
303
306
  this.statusBarClass = '';
304
307
  };
305
308
  Blade.prototype.setStatusBarException = function (exception) {
306
- var that = this;
307
309
  if (exception.Message === undefined) {
308
- that.statusBar = 'FEHLER: ' + exception;
310
+ this.statusBar = 'FEHLER: ' + exception;
309
311
  }
310
312
  else {
311
- that.statusBar = 'FEHLER: ' + exception.Message;
313
+ this.statusBar = 'FEHLER: ' + exception.Message;
312
314
  }
313
315
  if (exception.Messages !== undefined) {
314
316
  exception.Messages.forEach(function (item) {
315
- that.statusBar += ' - ' + item;
317
+ this.statusBar += ' - ' + item;
316
318
  });
317
319
  }
318
- that.statusBarClass = 'message-error message-off';
320
+ this.statusBarClass = 'message-error message-off';
319
321
  };
320
322
  //#endregion
321
323
  //#endregion
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@ardimedia/angular-portal-azure",
3
3
  "description": "Angular Portal Azure - GUI Framework.",
4
4
  "author": "Ardimedia Anstalt <info@ardimedia.com> (http://www.ardimedia.com)",
5
- "version": "0.2.156",
5
+ "version": "0.2.157",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {