@ardimedia/angular-portal-azure 0.2.318 → 0.2.319
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.
- package/apn.d.ts +0 -1
- package/apn.js +11 -12
- package/package.json +1 -1
package/apn.d.ts
CHANGED
|
@@ -442,7 +442,6 @@ declare namespace angularportalazure {
|
|
|
442
442
|
declare namespace angularportalazure {
|
|
443
443
|
class BladeGrid extends angularportalazure.BladeData<any> {
|
|
444
444
|
constructor($scope: angular.IScope, portalService: angularportalazure.PortalService, path: string, title: string, subtitle?: string, width?: number);
|
|
445
|
-
loadItems(func: () => any | angular.IPromise<any> | Promise<any>): void;
|
|
446
445
|
onFilter(actual: Object, expected: string): boolean;
|
|
447
446
|
}
|
|
448
447
|
}
|
package/apn.js
CHANGED
|
@@ -752,7 +752,7 @@ var angularportalazure;
|
|
|
752
752
|
func().then(function (data) {
|
|
753
753
|
_this.visibility = 'visible';
|
|
754
754
|
_this.clearStatusBar();
|
|
755
|
-
_this.
|
|
755
|
+
_this.items = data;
|
|
756
756
|
_this.onLoadedItems();
|
|
757
757
|
}).catch(function (ex) {
|
|
758
758
|
_this.setStatusBarException(ex);
|
|
@@ -1452,16 +1452,15 @@ var angularportalazure;
|
|
|
1452
1452
|
//items: T[] = [];
|
|
1453
1453
|
// #endregion
|
|
1454
1454
|
// #region Methods
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
};
|
|
1455
|
+
//loadItems(func: () => any | angular.IPromise<any> | Promise<any>): void {
|
|
1456
|
+
// this.onLoadItems();
|
|
1457
|
+
// func().then((data: any) => {
|
|
1458
|
+
// this.items = data;
|
|
1459
|
+
// this.onLoadedItems();
|
|
1460
|
+
// }).catch((exception: angularportalazure.Exception) => {
|
|
1461
|
+
// this.setStatusBarException(exception);
|
|
1462
|
+
// });
|
|
1463
|
+
//}
|
|
1465
1464
|
// #region Filter
|
|
1466
1465
|
BladeGrid.prototype.onFilter = function (actual, expected) {
|
|
1467
1466
|
// #region Documentation
|
|
@@ -1471,7 +1470,7 @@ var angularportalazure;
|
|
|
1471
1470
|
// > If the item is an object, the filter will also be called with the object in the parameter 'actual'
|
|
1472
1471
|
// #endregion
|
|
1473
1472
|
// #region Helper functions
|
|
1474
|
-
//
|
|
1473
|
+
// Implementation detail:
|
|
1475
1474
|
// > We implemented the following functions with in-line-functions, since onFilter is not called within the scope of a class (this. not working).
|
|
1476
1475
|
// Function to convert 'number' to 'string'
|
|
1477
1476
|
var convertToString = function (value) {
|
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.
|
|
5
|
+
"version": "0.2.319",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|