@ardimedia/angular-portal-azure 0.2.191 → 0.2.193

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 +30 -15
  2. package/apn.js +36 -12
  3. package/package.json +1 -1
package/apn.d.ts CHANGED
@@ -30,6 +30,7 @@ declare namespace angularportalazure {
30
30
  ngOnDestroy(): void;
31
31
  private removeWindowResizeListener();
32
32
  setupWindowResizeListener(callback: () => void): void;
33
+ IsStringNullOrEmpty(value: string): boolean;
33
34
  }
34
35
  }
35
36
  declare namespace angularportalazure {
@@ -387,29 +388,43 @@ declare namespace angularportalazure {
387
388
  }
388
389
  }
389
390
  declare namespace angularportalazure {
390
- class Exception implements angularportalazure.IExceptionDotNet {
391
+ class ExceptionDotNet {
392
+ Data: {
393
+ key: number;
394
+ value: string;
395
+ }[];
396
+ HelpLink: string;
397
+ HResult: number;
398
+ InnerException: Exception;
399
+ Message: string;
400
+ Source: string;
401
+ StackTrace: string;
402
+ ExceptionMessage: string;
391
403
  ExceptionType: string;
392
404
  ClassName: string;
393
- Data: Object;
394
- Type: string;
395
- Messages: string[];
396
- Message: string;
397
- MessageDetail: string;
398
- Status: number | undefined;
399
- StatusText: string | undefined;
400
- Url: string;
401
- processException(response: angular.IHttpPromiseCallbackArg<any>): void;
402
- convertFromWebApiException(ex: angularportalazure.IExceptionDotNet): void;
405
+ }
406
+ class ValidationResultDotNet {
407
+ ErrorMessage: string;
408
+ MemberNames: string[];
409
+ }
410
+ class ValidationsExceptionDotNet extends ExceptionDotNet {
411
+ ValidationResults: ValidationResultDotNet[];
403
412
  }
404
413
  }
405
414
  declare namespace angularportalazure {
406
- class IExceptionDotNet {
415
+ class Exception extends angularportalazure.ExceptionDotNet {
416
+ ExceptionMessage: string;
407
417
  ExceptionType: string;
408
- ClassName: string;
409
- Data: Object;
410
- Type: string;
411
418
  Message: string;
419
+ StackTrace: string;
420
+ Type: string;
421
+ MessageDetail: string;
412
422
  Messages: string[];
423
+ Status: number | undefined;
424
+ StatusText: string | undefined;
425
+ Url: string;
426
+ processException(response: angular.IHttpPromiseCallbackArg<any>): void;
427
+ convertFromWebApiException(ex: angularportalazure.Exception): void;
413
428
  }
414
429
  }
415
430
  declare namespace angularportalazure {
package/apn.js CHANGED
@@ -121,6 +121,14 @@ var angularportalazure;
121
121
  id = setTimeout(function () { callback(); }, 50);
122
122
  });
123
123
  };
124
+ UserControlBase.prototype.IsStringNullOrEmpty = function (value) {
125
+ if (value && value.replace(' ', '').length > 0) {
126
+ return false;
127
+ }
128
+ else {
129
+ return true;
130
+ }
131
+ };
124
132
  return UserControlBase;
125
133
  }());
126
134
  angularportalazure.UserControlBase = UserControlBase;
@@ -1339,8 +1347,34 @@ var angularportalazure;
1339
1347
  "use strict";
1340
1348
  var angularportalazure;
1341
1349
  (function (angularportalazure) {
1342
- var Exception = (function () {
1350
+ var ExceptionDotNet = (function () {
1351
+ function ExceptionDotNet() {
1352
+ }
1353
+ return ExceptionDotNet;
1354
+ }());
1355
+ angularportalazure.ExceptionDotNet = ExceptionDotNet;
1356
+ var ValidationResultDotNet = (function () {
1357
+ function ValidationResultDotNet() {
1358
+ }
1359
+ return ValidationResultDotNet;
1360
+ }());
1361
+ angularportalazure.ValidationResultDotNet = ValidationResultDotNet;
1362
+ var ValidationsExceptionDotNet = (function (_super) {
1363
+ __extends(ValidationsExceptionDotNet, _super);
1364
+ function ValidationsExceptionDotNet() {
1365
+ return _super.apply(this, arguments) || this;
1366
+ }
1367
+ return ValidationsExceptionDotNet;
1368
+ }(ExceptionDotNet));
1369
+ angularportalazure.ValidationsExceptionDotNet = ValidationsExceptionDotNet;
1370
+ })(angularportalazure || (angularportalazure = {}));
1371
+ "use strict";
1372
+ var angularportalazure;
1373
+ (function (angularportalazure) {
1374
+ var Exception = (function (_super) {
1375
+ __extends(Exception, _super);
1343
1376
  function Exception() {
1377
+ return _super.apply(this, arguments) || this;
1344
1378
  }
1345
1379
  //#endregion
1346
1380
  Exception.prototype.processException = function (response) {
@@ -1385,19 +1419,9 @@ var angularportalazure;
1385
1419
  //#endregion
1386
1420
  };
1387
1421
  return Exception;
1388
- }());
1422
+ }(angularportalazure.ExceptionDotNet));
1389
1423
  angularportalazure.Exception = Exception;
1390
1424
  })(angularportalazure || (angularportalazure = {}));
1391
- "use strict";
1392
- var angularportalazure;
1393
- (function (angularportalazure) {
1394
- var IExceptionDotNet = (function () {
1395
- function IExceptionDotNet() {
1396
- }
1397
- return IExceptionDotNet;
1398
- }());
1399
- angularportalazure.IExceptionDotNet = IExceptionDotNet;
1400
- })(angularportalazure || (angularportalazure = {}));
1401
1425
  /// <reference types="angular" />
1402
1426
  "use strict";
1403
1427
  var angularportalazure;
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.191",
5
+ "version": "0.2.193",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {