@ardimedia/angular-portal-azure 0.2.254 → 0.2.256

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 +10 -1
  3. package/package.json +1 -1
package/apn.d.ts CHANGED
@@ -134,6 +134,7 @@ declare namespace angularportalazure {
134
134
  clearStatusBar(): void;
135
135
  setStatusBarLoadData(): void;
136
136
  setStatusBarSaveData(): void;
137
+ setStatusBarNoDataFound(): void;
137
138
  setStatusBarException(exception: angularportalazure.Exception): void;
138
139
  onCommandBrowse(): void;
139
140
  onCommandCancel(): void;
package/apn.js CHANGED
@@ -334,6 +334,10 @@ var angularportalazure;
334
334
  this.statusBar = 'Daten speichern...';
335
335
  this.statusBarClass = 'apa-statusbar-info';
336
336
  };
337
+ Blade.prototype.setStatusBarNoDataFound = function () {
338
+ this.statusBar = 'Keine Daten gefunden!';
339
+ this.statusBarClass = 'apa-statusbar-error';
340
+ };
337
341
  Blade.prototype.setStatusBarException = function (exception) {
338
342
  this.statusBar = angularportalazure.Exception.getOneLineMessage(exception);
339
343
  this.statusBarClass = 'apa-statusbar-error';
@@ -1434,7 +1438,12 @@ var angularportalazure;
1434
1438
  }
1435
1439
  if (exception.ExceptionMessage !== undefined && exception.ExceptionMessage.toLowerCase().indexOf('see the inner exception for details') > 0) {
1436
1440
  if (exception.InnerException !== undefined) {
1437
- message = message + ': ' + exception.InnerException.ExceptionMessage + ' ';
1441
+ if (exception.InnerException.InnerException !== undefined) {
1442
+ message = message + ': ' + exception.InnerException.InnerException.ExceptionMessage + ' ';
1443
+ }
1444
+ else {
1445
+ message = message + ': ' + exception.InnerException.ExceptionMessage + ' ';
1446
+ }
1438
1447
  }
1439
1448
  }
1440
1449
  if (exception.Messages !== undefined) {
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.254",
5
+ "version": "0.2.256",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {