@ardimedia/angular-portal-azure 0.2.67 → 0.2.69
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 +1 -0
- package/apn.js +28 -25
- package/package.json +1 -1
package/apn.d.ts
CHANGED
|
@@ -335,6 +335,7 @@ declare namespace angularportalazure {
|
|
|
335
335
|
class BladeGrid extends angularportalazure.BladeData {
|
|
336
336
|
items: any[];
|
|
337
337
|
constructor(portalService: angularportalazure.PortalService, path: string, title: string, subtitle?: string, width?: number);
|
|
338
|
+
activate(): void;
|
|
338
339
|
loadItems(func: () => any): void;
|
|
339
340
|
onFilter(actual: Object, expected: string): boolean;
|
|
340
341
|
/** Obsolete */
|
package/apn.js
CHANGED
|
@@ -1237,31 +1237,34 @@ var angularportalazure;
|
|
|
1237
1237
|
}
|
|
1238
1238
|
//#endregion
|
|
1239
1239
|
//#region Methods
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1240
|
+
BladeGrid.prototype.activate = function () {
|
|
1241
|
+
var that = this;
|
|
1242
|
+
//this.loadItems(() => this.getItemsFunction);
|
|
1243
|
+
//angularportalazure.Debug.write('[angularportalazure-debug] \'BladeGrid.activate\' called.', [this]);
|
|
1244
|
+
//console.log('BladeGrid.activate()');
|
|
1245
|
+
//var that = this;
|
|
1246
|
+
//that.statusbar = 'Daten laden...';
|
|
1247
|
+
//that.statusbarClass = '';
|
|
1248
|
+
that.onActivate();
|
|
1249
|
+
////var onActivate = that.onActivate();
|
|
1250
|
+
////if (that.onActivate === null || that.onActivate === undefined) {
|
|
1251
|
+
////} else {
|
|
1252
|
+
// //that.loadItems(onActivate);
|
|
1253
|
+
// console.log('call onActivate()');
|
|
1254
|
+
// that.onActivate()
|
|
1255
|
+
// .then(function (data: any) {
|
|
1256
|
+
// console.log('OK');
|
|
1257
|
+
// that.items = data;
|
|
1258
|
+
// that.statusbar = '';
|
|
1259
|
+
// that.statusbarClass = '';
|
|
1260
|
+
// }).catch(function (exception: angularportalazure.Exception) {
|
|
1261
|
+
// console.log('exception');
|
|
1262
|
+
// console.log(exception);
|
|
1263
|
+
// that.statusbar = 'FEHLER: ' + exception.Message;
|
|
1264
|
+
// that.statusbarClass = 'message-info message-off';
|
|
1265
|
+
// });
|
|
1266
|
+
////}
|
|
1267
|
+
};
|
|
1265
1268
|
//onActivate(): angular.IHttpPromise<any> { // any should be: angular.IHttpPromise<any>
|
|
1266
1269
|
// throw new Error('[angularportalazure.BladeGrid] \'onActivate\' is an abstract function. Define one in the derived class.');
|
|
1267
1270
|
//}
|
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.69",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|