@ardimedia/angular-portal-azure 0.2.212 → 0.2.214

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 +10 -7
  3. package/package.json +4 -4
package/apn.d.ts CHANGED
@@ -48,7 +48,7 @@ declare namespace angularportalazure {
48
48
  We don't know how to provide [this] to the directive.
49
49
  So we came up with this [vm] property.*/
50
50
  vm: any;
51
- visibility: string;
51
+ isVisible: boolean;
52
52
  private watcherTitle;
53
53
  bladeContentHeight: number;
54
54
  bladeContentHeightInner: number;
package/apn.js CHANGED
@@ -160,7 +160,7 @@ var angularportalazure;
160
160
  We don't know how to provide [this] to the directive.
161
161
  So we came up with this [vm] property.*/
162
162
  _this.vm = {};
163
- _this.visibility = 'collapse';
163
+ _this.isVisible = true;
164
164
  _this.title = '';
165
165
  _this.subTitle = '';
166
166
  _this.width = { 'width': '0' };
@@ -630,19 +630,19 @@ var angularportalazure;
630
630
  }
631
631
  //#endregion
632
632
  BladeData.prototype.onLoadItem = function () {
633
- this.visibility = 'collapse';
633
+ this.isVisible = false;
634
634
  this.setStatusBarLoadData();
635
635
  };
636
636
  BladeData.prototype.onLoadItems = function () {
637
- this.visibility = 'collapse';
637
+ this.isVisible = false;
638
638
  this.setStatusBarLoadData();
639
639
  };
640
640
  BladeData.prototype.onLoadedItem = function () {
641
- this.visibility = 'visible';
641
+ this.isVisible = true;
642
642
  this.clearStatusBar();
643
643
  };
644
644
  BladeData.prototype.onLoadedItems = function () {
645
- this.visibility = 'visible';
645
+ this.isVisible = true;
646
646
  this.clearStatusBar();
647
647
  };
648
648
  return BladeData;
@@ -1171,9 +1171,12 @@ var angularportalazure;
1171
1171
  var _this = this;
1172
1172
  this.onLoadItems();
1173
1173
  func().then(function (data) {
1174
+ console.log('ok');
1175
+ console.log(data);
1174
1176
  _this.items = data;
1175
1177
  _this.onLoadedItems();
1176
1178
  }).catch(function (exception) {
1179
+ console.log('error');
1177
1180
  _this.setStatusBarException(exception);
1178
1181
  });
1179
1182
  };
@@ -1349,7 +1352,7 @@ var angularportalazure;
1349
1352
  var ValidationsExceptionDotNet = (function (_super) {
1350
1353
  __extends(ValidationsExceptionDotNet, _super);
1351
1354
  function ValidationsExceptionDotNet() {
1352
- return _super.apply(this, arguments) || this;
1355
+ return _super !== null && _super.apply(this, arguments) || this;
1353
1356
  }
1354
1357
  return ValidationsExceptionDotNet;
1355
1358
  }(ExceptionDotNet));
@@ -1362,7 +1365,7 @@ var angularportalazure;
1362
1365
  var Exception = (function (_super) {
1363
1366
  __extends(Exception, _super);
1364
1367
  function Exception() {
1365
- return _super.apply(this, arguments) || this;
1368
+ return _super !== null && _super.apply(this, arguments) || this;
1366
1369
  }
1367
1370
  //#endregion
1368
1371
  //#region Static Methods
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.212",
5
+ "version": "0.2.214",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {
@@ -16,13 +16,13 @@
16
16
  "ng-dialog": "^0.6.6"
17
17
  },
18
18
  "devDependencies": {
19
- "@types/angular": "^1.5.23",
19
+ "@types/angular": "^1.6.0",
20
20
  "@types/angular-resource": "^1.5.8",
21
21
  "@types/angular-translate": "^2.4.34",
22
22
  "@types/angulartics": "^1.3.1",
23
23
  "@types/ng-dialog": "^0.6.0",
24
- "@types/node": "^6.0.58",
24
+ "@types/node": "^7.0.0",
25
25
  "tslint": "^4.3.1",
26
- "typescript": "^2.1.4"
26
+ "typescript": "^2.1.5"
27
27
  }
28
28
  }