@ardimedia/angular-portal-azure 0.2.291 → 0.2.293

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 +0 -16
  2. package/apn.js +67 -34
  3. package/package.json +27 -27
package/apn.d.ts CHANGED
@@ -332,22 +332,6 @@ declare namespace angularportalazure {
332
332
  constructor($injector: angular.auto.IInjectorService);
333
333
  parameter: angularportalazure.BladeParameter;
334
334
  $analytics: angulartics.IAnalyticsService;
335
- animate: any;
336
- animation: any;
337
- component: any;
338
- config: any;
339
- constant: any;
340
- controller: any;
341
- directive: any;
342
- factory: any;
343
- filter: any;
344
- provider: any;
345
- run: any;
346
- service: any;
347
- value: any;
348
- decorator: any;
349
- name: any;
350
- requires: any;
351
335
  portalShell: angularportalazure.PortalShell;
352
336
  panorama: angularportalazure.Panorama;
353
337
  areaBlades: angularportalazure.AreaBlades;
package/apn.js CHANGED
@@ -40,7 +40,7 @@ var angularportalazure;
40
40
  })(angularportalazure || (angularportalazure = {}));
41
41
  var angularportalazure;
42
42
  (function (angularportalazure) {
43
- var UserAccount = (function () {
43
+ var UserAccount = /** @class */ (function () {
44
44
  // #region Constructor
45
45
  function UserAccount(username, firstName, lastName) {
46
46
  if (firstName === void 0) { firstName = ''; }
@@ -85,10 +85,13 @@ var angularportalazure;
85
85
  }());
86
86
  angularportalazure.UserAccount = UserAccount;
87
87
  })(angularportalazure || (angularportalazure = {}));
88
+ // #region Declarations
89
+ /// <reference path="useraccount.ts" />
88
90
  /// <reference path="portalservice.ts" />
91
+ // #endregion
89
92
  var angularportalazure;
90
93
  (function (angularportalazure) {
91
- var UserControlBase = (function () {
94
+ var UserControlBase = /** @class */ (function () {
92
95
  // #region Constructor
93
96
  function UserControlBase($scope, portalService) {
94
97
  this.$scope = $scope;
@@ -127,7 +130,7 @@ var angularportalazure;
127
130
  };
128
131
  UserControlBase.prototype.getRandomString = function (length) {
129
132
  if (length === void 0) { length = 20; }
130
- return Math.round((Math.pow(36, length + 1) - Math.random() * Math.pow(36, length))).toString(36).replace('.', '').replace('(e+', '').replace(')', '').slice(1);
133
+ return 'a' + Math.round((Math.pow(36, length + 1) - Math.random() * Math.pow(36, length))).toString(36).replace('.', '').replace('(e+', '').replace(')', '').slice(1);
131
134
  };
132
135
  return UserControlBase;
133
136
  }());
@@ -145,14 +148,14 @@ var __extends = (this && this.__extends) || (function () {
145
148
  };
146
149
  })();
147
150
  /// <reference types="angular" />
148
- /// <reference path="useraccount.ts" />
149
151
  /// <reference path="portalservice.ts" />
152
+ /// <reference path="useraccount.ts" />
150
153
  /// <reference path="usercontrolbase.ts" />
151
154
  /// <reference path="iaddbladeeventargs.ts" />
152
155
  // #endregion
153
156
  var angularportalazure;
154
157
  (function (angularportalazure) {
155
- var Blade = (function (_super) {
158
+ var Blade = /** @class */ (function (_super) {
156
159
  __extends(Blade, _super);
157
160
  // #region Constructor
158
161
  function Blade($scope, portalService, path, title, subtitle, width) {
@@ -435,7 +438,7 @@ var angularportalazure;
435
438
  throw new Error('[angularportalazure.Blade] \'onCommandExcel\' is an abstract function. Define one in the derived class.');
436
439
  };
437
440
  // #endregion
438
- //#endregion
441
+ // #endregion
439
442
  /** Change title, as soon as watchExpression changes. watchExpression is either a variable ore an expression, e.g. [name1 + name2] */
440
443
  Blade.prototype.setTitle = function (watchExpression, func) {
441
444
  var _this = this;
@@ -461,19 +464,20 @@ var angularportalazure;
461
464
  }(angularportalazure.UserControlBase));
462
465
  angularportalazure.Blade = Blade;
463
466
  })(angularportalazure || (angularportalazure = {}));
467
+ // #region Declarations
464
468
  /// <reference types="angular" />
465
469
  /// <reference path="blade.ts" />
466
470
  /// <reference path="usercontrolbase.ts" />
467
471
  /// <reference path="portalservice.ts" />
468
472
  /// <reference path="iaddbladeeventargs.ts" />
473
+ // #endregion
469
474
  var angularportalazure;
470
475
  (function (angularportalazure) {
471
- var AreaBlades = (function (_super) {
476
+ var AreaBlades = /** @class */ (function (_super) {
472
477
  __extends(AreaBlades, _super);
473
478
  function AreaBlades($scope, portalService) {
474
479
  var _this = _super.call(this, $scope, portalService) || this;
475
480
  _this.blades = new Array();
476
- // this.areaBlades = this.portalService.$window.document.getElementById('apa-blade-area');
477
481
  _this.portalScroll = _this.portalService.$window.document.getElementById('apa-portal-scroll');
478
482
  _this.setupAddBladeListener();
479
483
  _this.setupShowHideNotificationAreaListener();
@@ -669,7 +673,7 @@ var angularportalazure;
669
673
  // #endregion
670
674
  var angularportalazure;
671
675
  (function (angularportalazure) {
672
- var BladeData = (function (_super) {
676
+ var BladeData = /** @class */ (function (_super) {
673
677
  __extends(BladeData, _super);
674
678
  // #region Constructor
675
679
  function BladeData($scope, portalService, path, title, subtitle, width) {
@@ -698,12 +702,14 @@ var angularportalazure;
698
702
  }(angularportalazure.Blade));
699
703
  angularportalazure.BladeData = BladeData;
700
704
  })(angularportalazure || (angularportalazure = {}));
705
+ // #region Declarations
701
706
  /// <reference path="bladedata.ts" />
702
707
  /// <reference path="bladenavitem.ts" />
703
708
  /// <reference path="portalservice.ts" />
709
+ // #endregion
704
710
  var angularportalazure;
705
711
  (function (angularportalazure) {
706
- var BladeNav = (function (_super) {
712
+ var BladeNav = /** @class */ (function (_super) {
707
713
  __extends(BladeNav, _super);
708
714
  // #region Constructor
709
715
  function BladeNav($scope, portalService, path, title, subtitle, width) {
@@ -730,10 +736,12 @@ var angularportalazure;
730
736
  }(angularportalazure.BladeData));
731
737
  angularportalazure.BladeNav = BladeNav;
732
738
  })(angularportalazure || (angularportalazure = {}));
739
+ // #region Declarations
733
740
  /// <reference path="bladenav.ts" />
741
+ // #endregion
734
742
  var angularportalazure;
735
743
  (function (angularportalazure) {
736
- var BladeNavItem = (function () {
744
+ var BladeNavItem = /** @class */ (function () {
737
745
  // #region Constructor
738
746
  function BladeNavItem(title, cssClass, bladePath, hrefPath, roles, isVisible, callback, bladeNav) {
739
747
  if (title === void 0) { title = ''; }
@@ -765,6 +773,7 @@ var angularportalazure;
765
773
  angularportalazure.BladeNavItem = BladeNavItem;
766
774
  })(angularportalazure || (angularportalazure = {}));
767
775
  // #region Declarations
776
+ /// <reference path="blade.ts" />
768
777
  /// <reference path="bladedata.ts" />
769
778
  /// <reference path="bladenavitem.ts" />
770
779
  /// <reference path="portalservice.ts" />
@@ -772,7 +781,7 @@ var angularportalazure;
772
781
  // #endregion
773
782
  var angularportalazure;
774
783
  (function (angularportalazure) {
775
- var AreaNotification = (function (_super) {
784
+ var AreaNotification = /** @class */ (function (_super) {
776
785
  __extends(AreaNotification, _super);
777
786
  // #region Constructor
778
787
  function AreaNotification($scope, portalService) {
@@ -858,12 +867,15 @@ var angularportalazure;
858
867
  }(angularportalazure.UserControlBase));
859
868
  angularportalazure.AreaNotification = AreaNotification;
860
869
  })(angularportalazure || (angularportalazure = {}));
870
+ // #region Declarations
871
+ /// <reference path="blade.ts" />
861
872
  /// <reference path="portalservice.ts" />
862
873
  /// <reference path="useraccount.ts" />
863
874
  /// <reference path="usercontrolbase.ts" />
875
+ // #endregion
864
876
  var angularportalazure;
865
877
  (function (angularportalazure) {
866
- var AvatarMenu = (function (_super) {
878
+ var AvatarMenu = /** @class */ (function (_super) {
867
879
  __extends(AvatarMenu, _super);
868
880
  // #region Constructor
869
881
  function AvatarMenu($scope, portalService) {
@@ -884,10 +896,12 @@ var angularportalazure;
884
896
  TileSizes[TileSizes["herowide"] = 3] = "herowide";
885
897
  })(TileSizes = angularportalazure.TileSizes || (angularportalazure.TileSizes = {}));
886
898
  })(angularportalazure || (angularportalazure = {}));
899
+ // #region Declarations
887
900
  /// <reference path="tilesizes.ts" />
901
+ // #endregion
888
902
  var angularportalazure;
889
903
  (function (angularportalazure) {
890
- var TileSize = (function () {
904
+ var TileSize = /** @class */ (function () {
891
905
  // #region Constructor
892
906
  function TileSize(tileSizes, width, height) {
893
907
  this.tileSizes = tileSizes;
@@ -908,12 +922,14 @@ var angularportalazure;
908
922
  }());
909
923
  angularportalazure.TileSize = TileSize;
910
924
  })(angularportalazure || (angularportalazure = {}));
925
+ // #region Declarations
911
926
  /// <reference path="blade.ts" />
912
927
  /// <reference path="portalservice.ts" />
913
928
  /// <reference path="tilesize.ts" />
929
+ // #endregion
914
930
  var angularportalazure;
915
931
  (function (angularportalazure) {
916
- var Tile = (function () {
932
+ var Tile = /** @class */ (function () {
917
933
  // #region Constructor
918
934
  function Tile(title, bladePath, portalService) {
919
935
  this.portalService = portalService;
@@ -942,12 +958,14 @@ var angularportalazure;
942
958
  }());
943
959
  angularportalazure.Tile = Tile;
944
960
  })(angularportalazure || (angularportalazure = {}));
961
+ // #region Declarations
945
962
  /// <reference path="tile.ts" />
946
963
  /// <reference path="tilesize.ts" />
947
964
  /// <reference path="tilesizes.ts" />
965
+ // #endregion
948
966
  var angularportalazure;
949
967
  (function (angularportalazure) {
950
- var Tiles = (function () {
968
+ var Tiles = /** @class */ (function () {
951
969
  function Tiles() {
952
970
  // #region Properties
953
971
  this.showTiles = true;
@@ -984,12 +1002,14 @@ var angularportalazure;
984
1002
  }());
985
1003
  angularportalazure.Tiles = Tiles;
986
1004
  })(angularportalazure || (angularportalazure = {}));
1005
+ // #region Declarations
987
1006
  /// <reference path="portalservice.ts" />
988
1007
  /// <reference path="tiles.ts" />
989
1008
  /// <reference path="usercontrolbase.ts" />
1009
+ // #endregion
990
1010
  var angularportalazure;
991
1011
  (function (angularportalazure) {
992
- var Startboard = (function (_super) {
1012
+ var Startboard = /** @class */ (function (_super) {
993
1013
  __extends(Startboard, _super);
994
1014
  // #region Constructor
995
1015
  function Startboard($scope, portalService) {
@@ -1001,13 +1021,15 @@ var angularportalazure;
1001
1021
  }(angularportalazure.UserControlBase));
1002
1022
  angularportalazure.Startboard = Startboard;
1003
1023
  })(angularportalazure || (angularportalazure = {}));
1024
+ // #region Declarations
1004
1025
  /// <reference path="avatarmenu.ts" />
1005
1026
  /// <reference path="startboard.ts" />
1006
1027
  /// <reference path="portalservice.ts" />
1007
1028
  /// <reference path="usercontrolbase.ts" />
1029
+ // #endregion
1008
1030
  var angularportalazure;
1009
1031
  (function (angularportalazure) {
1010
- var Panorama = (function (_super) {
1032
+ var Panorama = /** @class */ (function (_super) {
1011
1033
  __extends(Panorama, _super);
1012
1034
  // #endregion
1013
1035
  // #region Constructor
@@ -1024,14 +1046,16 @@ var angularportalazure;
1024
1046
  }(angularportalazure.UserControlBase));
1025
1047
  angularportalazure.Panorama = Panorama;
1026
1048
  })(angularportalazure || (angularportalazure = {}));
1049
+ // #region Declarations
1027
1050
  /// <reference path="areablades.ts" />
1028
1051
  /// <reference path="usercontrolbase.ts" />
1029
1052
  /// <reference path="panorama.ts" />
1030
1053
  /// <reference path="portalservice.ts" />
1031
1054
  /// <reference path="tiles.ts" />
1055
+ // #endregion
1032
1056
  var angularportalazure;
1033
1057
  (function (angularportalazure) {
1034
- var PortalShell = (function () {
1058
+ var PortalShell = /** @class */ (function () {
1035
1059
  // #region Constructor
1036
1060
  function PortalShell(portalService, title) {
1037
1061
  if (title === void 0) { title = null; }
@@ -1049,16 +1073,19 @@ var angularportalazure;
1049
1073
  }());
1050
1074
  angularportalazure.PortalShell = PortalShell;
1051
1075
  })(angularportalazure || (angularportalazure = {}));
1076
+ // #region Declarations
1052
1077
  /// <reference types="angular" />
1078
+ /// <reference types="angulartics" />
1053
1079
  /// <reference path="areanotification.ts" />
1054
1080
  /// <reference path="areablades.ts" />
1081
+ /// <reference path="blade.ts" />
1055
1082
  /// <reference path="bladeparameter.ts" />
1056
1083
  /// <reference path="panorama.ts" />
1057
1084
  /// <reference path="portalshell.ts" />
1058
- /// <reference types="angulartics" />
1085
+ // #endregion
1059
1086
  var angularportalazure;
1060
1087
  (function (angularportalazure) {
1061
- var PortalService = (function () {
1088
+ var PortalService = /** @class */ (function () {
1062
1089
  function PortalService($injector) {
1063
1090
  // #endregion
1064
1091
  // #region Properties
@@ -1144,11 +1171,13 @@ var angularportalazure;
1144
1171
  };
1145
1172
  angular.module('angularportalazure').component('angularPortalNav', angularPortalNav);
1146
1173
  })(angularportalazure || (angularportalazure = {}));
1174
+ // #region Declarations
1147
1175
  /// <reference path="bladedata.ts" />
1148
1176
  /// <reference path="portalservice.ts" />
1177
+ // #endregion
1149
1178
  var angularportalazure;
1150
1179
  (function (angularportalazure) {
1151
- var BladeDetail = (function (_super) {
1180
+ var BladeDetail = /** @class */ (function (_super) {
1152
1181
  __extends(BladeDetail, _super);
1153
1182
  // #region Constructor
1154
1183
  function BladeDetail($scope, portalService, path, title, subtitle, width) {
@@ -1198,7 +1227,7 @@ var angularportalazure;
1198
1227
  if (ngForm === void 0) { ngForm = undefined; }
1199
1228
  this.setStatusBarSaveData();
1200
1229
  this.onSaveItem();
1201
- //#region form valid?
1230
+ // #region form valid?
1202
1231
  // angularjs: if form valid
1203
1232
  if (!this.formblade.$valid) {
1204
1233
  this.statusBar = 'Speichern nicht möglich! [Console] enthält weitere Informationen.';
@@ -1212,7 +1241,7 @@ var angularportalazure;
1212
1241
  return;
1213
1242
  }
1214
1243
  }
1215
- //#endregion
1244
+ // #endregion
1216
1245
  this.isCommandSaveEnabled = false;
1217
1246
  return func().then(function (data) {
1218
1247
  _this.clearStatusBar();
@@ -1243,7 +1272,7 @@ var angularportalazure;
1243
1272
  if (ngForm === void 0) { ngForm = undefined; }
1244
1273
  this.setStatusBarSaveData();
1245
1274
  this.onSaveItem();
1246
- //#region form valid?
1275
+ // #region form valid?
1247
1276
  // angularjs: if form valid
1248
1277
  if (!this.formblade.$valid) {
1249
1278
  this.statusBar = 'Speichern nicht möglich! [Console] enthält weitere Informationen.';
@@ -1257,7 +1286,7 @@ var angularportalazure;
1257
1286
  return;
1258
1287
  }
1259
1288
  }
1260
- //#endregion
1289
+ // #endregion
1261
1290
  return func().then(function (data) {
1262
1291
  _this.clearStatusBar();
1263
1292
  _this.onSavedItem();
@@ -1279,11 +1308,13 @@ var angularportalazure;
1279
1308
  }(angularportalazure.BladeData));
1280
1309
  angularportalazure.BladeDetail = BladeDetail;
1281
1310
  })(angularportalazure || (angularportalazure = {}));
1311
+ // #region Declarations
1282
1312
  /// <reference path="bladedata.ts" />
1283
1313
  /// <reference path="portalservice.ts" />
1314
+ // #endregion
1284
1315
  var angularportalazure;
1285
1316
  (function (angularportalazure) {
1286
- var BladeGrid = (function (_super) {
1317
+ var BladeGrid = /** @class */ (function (_super) {
1287
1318
  __extends(BladeGrid, _super);
1288
1319
  // #region Constructor
1289
1320
  function BladeGrid($scope, portalService, path, title, subtitle, width) {
@@ -1395,7 +1426,7 @@ var angularportalazure;
1395
1426
  })(angularportalazure || (angularportalazure = {}));
1396
1427
  var angularportalazure;
1397
1428
  (function (angularportalazure) {
1398
- var Debug = (function () {
1429
+ var Debug = /** @class */ (function () {
1399
1430
  // #region Constructor
1400
1431
  function Debug() {
1401
1432
  }
@@ -1461,19 +1492,19 @@ var angularportalazure;
1461
1492
  })(angularportalazure || (angularportalazure = {}));
1462
1493
  var angularportalazure;
1463
1494
  (function (angularportalazure) {
1464
- var ExceptionDotNet = (function () {
1495
+ var ExceptionDotNet = /** @class */ (function () {
1465
1496
  function ExceptionDotNet() {
1466
1497
  }
1467
1498
  return ExceptionDotNet;
1468
1499
  }());
1469
1500
  angularportalazure.ExceptionDotNet = ExceptionDotNet;
1470
- var ValidationResultDotNet = (function () {
1501
+ var ValidationResultDotNet = /** @class */ (function () {
1471
1502
  function ValidationResultDotNet() {
1472
1503
  }
1473
1504
  return ValidationResultDotNet;
1474
1505
  }());
1475
1506
  angularportalazure.ValidationResultDotNet = ValidationResultDotNet;
1476
- var ValidationsExceptionDotNet = (function (_super) {
1507
+ var ValidationsExceptionDotNet = /** @class */ (function (_super) {
1477
1508
  __extends(ValidationsExceptionDotNet, _super);
1478
1509
  function ValidationsExceptionDotNet() {
1479
1510
  return _super !== null && _super.apply(this, arguments) || this;
@@ -1524,10 +1555,12 @@ var angularportalazure;
1524
1555
  }(ExceptionDotNet));
1525
1556
  angularportalazure.ValidationsExceptionDotNet = ValidationsExceptionDotNet;
1526
1557
  })(angularportalazure || (angularportalazure = {}));
1558
+ // #region Declarations
1527
1559
  /// <reference path="exceptiondotnet.ts" />
1560
+ // #endregion
1528
1561
  var angularportalazure;
1529
1562
  (function (angularportalazure) {
1530
- var Exception = (function (_super) {
1563
+ var Exception = /** @class */ (function (_super) {
1531
1564
  __extends(Exception, _super);
1532
1565
  function Exception() {
1533
1566
  return _super !== null && _super.apply(this, arguments) || this;
@@ -1569,11 +1602,11 @@ var angularportalazure;
1569
1602
  var exception = new angularportalazure.Exception();
1570
1603
  if (response.headers === undefined) {
1571
1604
  console.log('> Get information from [processDotNetException1.data].');
1572
- exception = Exception.processDotNetException1(response);
1605
+ exception = angularportalazure.Exception.processDotNetException1(response);
1573
1606
  }
1574
1607
  else {
1575
1608
  console.log('> Get information from [processDotNetException2.json()].');
1576
- exception = Exception.processDotNetException2(response);
1609
+ exception = angularportalazure.Exception.processDotNetException2(response);
1577
1610
  }
1578
1611
  exception.convertResponse(response);
1579
1612
  exception.Url = response.url;
package/package.json CHANGED
@@ -2,41 +2,41 @@
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.291",
5
+ "version": "0.2.293",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {
9
- "@angular/animations": "^4.2.5",
10
- "@angular/common": "^4.2.5",
11
- "@angular/compiler": "^4.2.5",
12
- "@angular/core": "^4.2.5",
13
- "@angular/forms": "^4.2.5",
14
- "@angular/http": "^4.2.5",
15
- "@angular/platform-browser": "^4.2.5",
16
- "@angular/platform-browser-dynamic": "^4.2.5",
17
- "@angular/platform-server": "^4.2.5",
18
- "@angular/router": "^4.2.5",
19
- "@angular/upgrade": "^4.2.5",
20
- "angular": "^1.6.5",
21
- "angular-resource": "^1.6.5",
22
- "angular-translate": "^2.15.2",
23
- "angular-translate-storage-cookie": "^2.15.2",
24
- "angulartics": "^1.4.0",
9
+ "@angular/animations": "^5.2.5",
10
+ "@angular/common": "^5.2.5",
11
+ "@angular/compiler": "^5.2.5",
12
+ "@angular/core": "^5.2.5",
13
+ "@angular/forms": "^5.2.5",
14
+ "@angular/http": "^5.2.5",
15
+ "@angular/platform-browser": "^5.2.5",
16
+ "@angular/platform-browser-dynamic": "^5.2.5",
17
+ "@angular/platform-server": "^5.2.5",
18
+ "@angular/router": "^5.2.5",
19
+ "@angular/upgrade": "^5.2.5",
20
+ "angular": "^1.6.9",
21
+ "angular-resource": "^1.6.9",
22
+ "angular-translate": "^2.17.0",
23
+ "angular-translate-storage-cookie": "^2.17.0",
24
+ "angulartics": "^1.5.0",
25
25
  "angulartics-google-analytics": "^0.4.0",
26
- "bootstrap": "^3.3.7",
27
- "ng-dialog": "^1.3.0",
28
- "rxjs": "^5.4.2",
29
- "zone.js": "^0.8.12"
26
+ "bootstrap": "^4.0.0",
27
+ "ng-dialog": "^1.4.0",
28
+ "rxjs": "^5.5.6",
29
+ "zone.js": "^0.8.20"
30
30
  },
31
31
  "devDependencies": {
32
- "@angular/compiler-cli": "^4.2.5",
32
+ "@angular/compiler-cli": "^5.2.5",
33
33
  "@types/angular": "https://registry.npmjs.org/@types/angular/-/angular-1.6.17.tgz",
34
- "@types/angular-resource": "^1.5.9",
34
+ "@types/angular-resource": "^1.5.14",
35
35
  "@types/angular-translate": "^2.15.1",
36
- "@types/angulartics": "^1.3.2",
36
+ "@types/angulartics": "^1.4.1",
37
37
  "@types/ng-dialog": "^0.6.2",
38
- "@types/node": "^8.0.7",
39
- "tslint": "^5.4.3",
40
- "typescript": "^2.4.1"
38
+ "@types/node": "^9.4.6",
39
+ "tslint": "^5.9.1",
40
+ "typescript": "^2.7.2"
41
41
  }
42
42
  }