@ardimedia/angular-portal-azure 0.2.68 → 0.2.69

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 -2
  2. package/apn.js +4 -4
  3. package/package.json +1 -1
package/apn.d.ts CHANGED
@@ -333,9 +333,8 @@ declare namespace angularportalazure {
333
333
  }
334
334
  declare namespace angularportalazure {
335
335
  class BladeGrid extends angularportalazure.BladeData {
336
- getItemsFunction: any;
337
336
  items: any[];
338
- constructor(portalService: angularportalazure.PortalService, path: string, title: string, subtitle: string, width: number, getItemsFunction: any);
337
+ constructor(portalService: angularportalazure.PortalService, path: string, title: string, subtitle?: string, width?: number);
339
338
  activate(): void;
340
339
  loadItems(func: () => any): void;
341
340
  onFilter(actual: Object, expected: string): boolean;
package/apn.js CHANGED
@@ -1224,11 +1224,10 @@ var angularportalazure;
1224
1224
  __extends(BladeGrid, _super);
1225
1225
  //#endregion
1226
1226
  //#region Constructor
1227
- function BladeGrid(portalService, path, title, subtitle, width, getItemsFunction) {
1227
+ function BladeGrid(portalService, path, title, subtitle, width) {
1228
1228
  if (subtitle === void 0) { subtitle = ''; }
1229
1229
  if (width === void 0) { width = 200; }
1230
1230
  var _this = _super.call(this, portalService, path, title, subtitle, width) || this;
1231
- _this.getItemsFunction = getItemsFunction;
1232
1231
  //#region Properties
1233
1232
  _this.items = [];
1234
1233
  angularportalazure.Debug.write('[angularportalazure-debug] \'BladeGrid\' constructor called.', [_this, portalService, path, title, subtitle, width]);
@@ -1239,13 +1238,14 @@ var angularportalazure;
1239
1238
  //#endregion
1240
1239
  //#region Methods
1241
1240
  BladeGrid.prototype.activate = function () {
1242
- var _this = this;
1243
- this.loadItems(function () { return _this.getItemsFunction; });
1241
+ var that = this;
1242
+ //this.loadItems(() => this.getItemsFunction);
1244
1243
  //angularportalazure.Debug.write('[angularportalazure-debug] \'BladeGrid.activate\' called.', [this]);
1245
1244
  //console.log('BladeGrid.activate()');
1246
1245
  //var that = this;
1247
1246
  //that.statusbar = 'Daten laden...';
1248
1247
  //that.statusbarClass = '';
1248
+ that.onActivate();
1249
1249
  ////var onActivate = that.onActivate();
1250
1250
  ////if (that.onActivate === null || that.onActivate === undefined) {
1251
1251
  ////} else {
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.68",
5
+ "version": "0.2.69",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {