@ardimedia/angular-portal-azure 0.2.312 → 0.2.314

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 +5 -6
  2. package/apn.js +7 -8
  3. package/package.json +1 -1
package/apn.d.ts CHANGED
@@ -255,9 +255,9 @@ declare namespace angularportalazure {
255
255
  }
256
256
  }
257
257
  declare namespace angularportalazure {
258
- class BladeNav<T> extends angularportalazure.BladeData<T> {
258
+ class BladeNav extends angularportalazure.BladeData<any> {
259
259
  constructor($scope: angular.IScope, portalService: angularportalazure.PortalService, path: string, title?: string, subtitle?: string, width?: number);
260
- navItems: Array<angularportalazure.BladeNavItem>;
260
+ items: Array<angularportalazure.BladeNavItem>;
261
261
  isNav: boolean;
262
262
  onNavigateTo(path: string): void;
263
263
  }
@@ -271,8 +271,8 @@ declare namespace angularportalazure {
271
271
  roles: string;
272
272
  isVisible: boolean;
273
273
  callback: () => any;
274
- bladeNav: angularportalazure.BladeNav<any> | null;
275
- constructor(title?: string, cssClass?: string, bladePath?: string, hrefPath?: string, roles?: string, isVisible?: boolean, callback?: () => any, bladeNav?: angularportalazure.BladeNav<any> | null);
274
+ bladeNav: angularportalazure.BladeNav | null;
275
+ constructor(title?: string, cssClass?: string, bladePath?: string, hrefPath?: string, roles?: string, isVisible?: boolean, callback?: () => any, bladeNav?: angularportalazure.BladeNav | null);
276
276
  onNavItemClick(): void;
277
277
  }
278
278
  }
@@ -413,9 +413,8 @@ declare namespace angularportalazure {
413
413
  }
414
414
  }
415
415
  declare namespace angularportalazure {
416
- class BladeGrid<T> extends angularportalazure.BladeData<T> {
416
+ class BladeGrid extends angularportalazure.BladeData<any> {
417
417
  constructor($scope: angular.IScope, portalService: angularportalazure.PortalService, path: string, title: string, subtitle?: string, width?: number);
418
- items: T[];
419
418
  loadItems(func: () => any | angular.IPromise<any> | Promise<any>): void;
420
419
  onFilter(actual: Object, expected: string): boolean;
421
420
  }
package/apn.js CHANGED
@@ -696,12 +696,12 @@ var angularportalazure;
696
696
  // #endregion
697
697
  // #region newItem
698
698
  BladeData.prototype.newItem = function (func) {
699
- //this.onLoadItem();
700
699
  var _this = this;
700
+ this.onNewItem();
701
701
  func().then(function (data) {
702
702
  _this.isCommandDeleteEnabled = false;
703
703
  _this.item = data;
704
- //this.onLoadedItem();
704
+ _this.onNewedItem();
705
705
  }).catch(function (ex) {
706
706
  _this.setStatusBarException(ex);
707
707
  });
@@ -905,7 +905,7 @@ var angularportalazure;
905
905
  var _this = _super.call(this, $scope, portalService, path, title, subtitle, width) || this;
906
906
  // #endregion
907
907
  // #region Properties
908
- _this.navItems = new Array();
908
+ _this.items = new Array();
909
909
  _this.isNav = true;
910
910
  _this.isInnerHtml = false;
911
911
  return _this;
@@ -1400,13 +1400,12 @@ var angularportalazure;
1400
1400
  function BladeGrid($scope, portalService, path, title, subtitle, width) {
1401
1401
  if (subtitle === void 0) { subtitle = ''; }
1402
1402
  if (width === void 0) { width = 200; }
1403
- var _this = _super.call(this, $scope, portalService, path, title, subtitle, width) || this;
1404
- // #endregion
1405
- // #region Properties
1406
- _this.items = [];
1407
- return _this;
1403
+ return _super.call(this, $scope, portalService, path, title, subtitle, width) || this;
1408
1404
  }
1409
1405
  // #endregion
1406
+ // #region Properties
1407
+ //items: T[] = [];
1408
+ // #endregion
1410
1409
  // #region Methods
1411
1410
  BladeGrid.prototype.loadItems = function (func) {
1412
1411
  var _this = this;
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.312",
5
+ "version": "0.2.314",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {