@ardimedia/angular-portal-azure 0.2.92 → 0.2.94

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 -1
  2. package/apn.js +9 -7
  3. package/package.json +1 -1
package/apn.d.ts CHANGED
@@ -332,8 +332,8 @@ declare namespace angularportalazure {
332
332
  }
333
333
  declare namespace angularportalazure {
334
334
  class BladeGrid extends angularportalazure.BladeData {
335
- items: any[];
336
335
  constructor(portalService: angularportalazure.PortalService, path: string, title: string, subtitle?: string, width?: number);
336
+ items: any[];
337
337
  loadItems(func: () => any): void;
338
338
  onFilter(actual: Object, expected: string): boolean;
339
339
  /** Obsolete */
package/apn.js CHANGED
@@ -1222,18 +1222,17 @@ var angularportalazure;
1222
1222
  (function (angularportalazure) {
1223
1223
  var BladeGrid = (function (_super) {
1224
1224
  __extends(BladeGrid, _super);
1225
- //#endregion
1226
1225
  //#region Constructor
1227
1226
  function BladeGrid(portalService, path, title, subtitle, width) {
1228
1227
  if (subtitle === void 0) { subtitle = ''; }
1229
1228
  if (width === void 0) { width = 200; }
1230
1229
  var _this = _super.call(this, portalService, path, title, subtitle, width) || this;
1230
+ //#endregion
1231
1231
  //#region Properties
1232
1232
  _this.items = [];
1233
- angularportalazure.Debug.write('[angularportalazure-debug] \'BladeGrid\' constructor called.', [_this, portalService, path, title, subtitle, width]);
1234
- _this.isCommandNew = true;
1235
- _this.commandNewText = 'neu';
1236
1233
  return _this;
1234
+ //this.isCommandNew = true;
1235
+ //this.commandNewText = 'neu';
1237
1236
  }
1238
1237
  //#endregion
1239
1238
  //#region Methods
@@ -1278,13 +1277,17 @@ var angularportalazure;
1278
1277
  that.statusbarClass = '';
1279
1278
  that.onActivated();
1280
1279
  }).catch(function (exception) {
1281
- that.statusbar = 'FEHLER: ' + exception.Message;
1280
+ if (exception.Message === undefined) {
1281
+ that.statusbar = 'FEHLER: ' + exception;
1282
+ }
1283
+ else {
1284
+ that.statusbar = 'FEHLER: ' + exception.Message;
1285
+ }
1282
1286
  that.statusbarClass = 'message-error message-off';
1283
1287
  });
1284
1288
  };
1285
1289
  //#region Filter
1286
1290
  BladeGrid.prototype.onFilter = function (actual, expected) {
1287
- angularportalazure.Debug.write('[angularportalazure-debug] \'BladeGrid.filter\' called.', [this, actual, expected]);
1288
1291
  //#region Documentation
1289
1292
  // > onFilter will be called for each item in an array
1290
1293
  // > If the item is an native type (string, number), the filter will be called with the native type in the parameter 'actual'
@@ -1370,7 +1373,6 @@ var angularportalazure;
1370
1373
  //#region OBSOLETE
1371
1374
  /** Obsolete */
1372
1375
  BladeGrid.prototype.setObsoleteLayoutProperites = function () {
1373
- angularportalazure.Debug.write('[angularportalazure-debug] \'BladeGrid.setObsoleteLayoutProperites\' called.', [this]);
1374
1376
  if (this.items.length !== 0) {
1375
1377
  this.blade.navGrid.items = this.items; //--> needed, otherwise nav html pages will no longer work.
1376
1378
  }
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.92",
5
+ "version": "0.2.94",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {