@ardimedia/angular-portal-azure 0.2.99 → 0.2.101
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 +2 -3
- package/apn.js +41 -37
- package/directives/nav/nav.html +2 -2
- package/package.json +1 -1
package/apn.d.ts
CHANGED
|
@@ -113,7 +113,6 @@ declare namespace angularportalazure {
|
|
|
113
113
|
commandSwap: () => void;
|
|
114
114
|
commandSwapText: string;
|
|
115
115
|
/** Obsolete */
|
|
116
|
-
blade: Blade;
|
|
117
116
|
/** Obsolete */
|
|
118
117
|
isNavGrid: boolean;
|
|
119
118
|
/** Obsolete */
|
|
@@ -150,8 +149,6 @@ declare namespace angularportalazure {
|
|
|
150
149
|
onCommandStop(): void;
|
|
151
150
|
onCommandSwap(): void;
|
|
152
151
|
/** Obsolete */
|
|
153
|
-
setObsoleteLayoutProperites(): void;
|
|
154
|
-
/** Obsolete */
|
|
155
152
|
bladeClose(): void;
|
|
156
153
|
}
|
|
157
154
|
}
|
|
@@ -328,6 +325,7 @@ declare namespace angularportalazure {
|
|
|
328
325
|
item: any;
|
|
329
326
|
constructor(portalService: angularportalazure.PortalService, path: string, title: string, subtitle?: string, width?: number);
|
|
330
327
|
loadItem(func: () => any): void;
|
|
328
|
+
onLoadedItem(): void;
|
|
331
329
|
onCommandCancel(): void;
|
|
332
330
|
}
|
|
333
331
|
}
|
|
@@ -336,6 +334,7 @@ declare namespace angularportalazure {
|
|
|
336
334
|
constructor(portalService: angularportalazure.PortalService, path: string, title: string, subtitle?: string, width?: number);
|
|
337
335
|
items: any[];
|
|
338
336
|
loadItems(func: () => any): void;
|
|
337
|
+
onLoadedItems(): void;
|
|
339
338
|
onFilter(actual: Object, expected: string): boolean;
|
|
340
339
|
/** Obsolete */
|
|
341
340
|
setObsoleteLayoutProperites(): void;
|
package/apn.js
CHANGED
|
@@ -242,7 +242,7 @@ var angularportalazure;
|
|
|
242
242
|
};
|
|
243
243
|
angularportalazure.Debug.write('[angularportalazure-debug] \'Blade\' constructor called.', [_this, portalService, path, title, subtitle, width]);
|
|
244
244
|
var that = _this;
|
|
245
|
-
|
|
245
|
+
//this.blade = this;
|
|
246
246
|
_this.path = path;
|
|
247
247
|
_this.title = title;
|
|
248
248
|
_this.subTitle = subtitle;
|
|
@@ -275,7 +275,7 @@ var angularportalazure;
|
|
|
275
275
|
/** OBSOLETE: end */
|
|
276
276
|
// Register listener1
|
|
277
277
|
_this.listener1 = that.portalService.$rootScope.$on('BladeArea.AddBlade', function (event, args) {
|
|
278
|
-
if (that.
|
|
278
|
+
if (that.comparePaths(args.path, that.path)) {
|
|
279
279
|
console.log('listener1-BladeArea.AddBlade - function call: that.activate() will probably not work since this/that is not pointing to the right object. - deactivated');
|
|
280
280
|
}
|
|
281
281
|
});
|
|
@@ -417,30 +417,30 @@ var angularportalazure;
|
|
|
417
417
|
};
|
|
418
418
|
//#endregion
|
|
419
419
|
//#region OBSOLETE
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
}
|
|
420
|
+
///** Obsolete */
|
|
421
|
+
//setObsoleteLayoutProperites() {
|
|
422
|
+
// angularportalazure.Debug.write('[angularportalazure-debug] \'Blade.setObsoleteLayoutProperites\' called.', [this]);
|
|
423
|
+
// //this.blade.title = this.title;
|
|
424
|
+
// //this.blade.statusbar = this.statusbar;
|
|
425
|
+
// //this.blade.statusbarClass = this.statusbarClass;
|
|
426
|
+
// //this.blade.isCommandBrowse = this.isCommandBrowse;
|
|
427
|
+
// //this.blade.isCommandCancel = this.isCommandCancel;
|
|
428
|
+
// //this.blade.isCommandCopy = this.isCommandCopy;
|
|
429
|
+
// //this.blade.isCommandDelete = this.isCommandDelete;
|
|
430
|
+
// //this.blade.isCommandDocument = this.isCommandDocument;
|
|
431
|
+
// //this.blade.isCommandDocument2 = this.isCommandDocument2;
|
|
432
|
+
// //this.blade.isCommandDocument3 = this.isCommandDocument3;
|
|
433
|
+
// //this.blade.isCommandDocument4 = this.isCommandDocument4;
|
|
434
|
+
// //this.blade.isCommandDocument5 = this.isCommandDocument5;
|
|
435
|
+
// //this.blade.isCommandNew = this.isCommandNew;
|
|
436
|
+
// //this.blade.isCommandOrder = this.isCommandOrder;
|
|
437
|
+
// //this.blade.isCommandRestart = this.isCommandRestart;
|
|
438
|
+
// //this.blade.isCommandSave = this.isCommandSave;
|
|
439
|
+
// //this.blade.isCommandSearch = this.isCommandSearch;
|
|
440
|
+
// //this.blade.isCommandStart = this.isCommandStart;
|
|
441
|
+
// //this.blade.isCommandStop = this.isCommandStop;
|
|
442
|
+
// //this.blade.isCommandSwap = this.isCommandSwap;
|
|
443
|
+
//}
|
|
444
444
|
/** Obsolete */
|
|
445
445
|
Blade.prototype.bladeClose = function () {
|
|
446
446
|
this.close();
|
|
@@ -892,11 +892,11 @@ var angularportalazure;
|
|
|
892
892
|
emailaddress: this.portalService.panorama.avatarMenu.userAccount.userName
|
|
893
893
|
};
|
|
894
894
|
}
|
|
895
|
-
if (this.portalService.bladeArea != null) {
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
}
|
|
895
|
+
//if (this.portalService.bladeArea != null) {
|
|
896
|
+
// this.portalService.bladeArea.blades.forEach(function (blade) {
|
|
897
|
+
// //blade.setObsoleteLayoutProperites();
|
|
898
|
+
// });
|
|
899
|
+
//}
|
|
900
900
|
};
|
|
901
901
|
return PortalShell;
|
|
902
902
|
}(angularportalazure.UserControlBase));
|
|
@@ -1208,11 +1208,13 @@ var angularportalazure;
|
|
|
1208
1208
|
func().then(function (data) {
|
|
1209
1209
|
that.item = data;
|
|
1210
1210
|
that.clearStatusbar();
|
|
1211
|
-
that.
|
|
1211
|
+
that.onLoadedItem();
|
|
1212
1212
|
}).catch(function (exception) {
|
|
1213
1213
|
that.showExceptionOnStatusbar(exception);
|
|
1214
1214
|
});
|
|
1215
1215
|
};
|
|
1216
|
+
BladeDetail.prototype.onLoadedItem = function () {
|
|
1217
|
+
};
|
|
1216
1218
|
BladeDetail.prototype.onCommandCancel = function () {
|
|
1217
1219
|
this.close();
|
|
1218
1220
|
};
|
|
@@ -1277,11 +1279,13 @@ var angularportalazure;
|
|
|
1277
1279
|
func().then(function (data) {
|
|
1278
1280
|
that.items = data;
|
|
1279
1281
|
that.clearStatusbar();
|
|
1280
|
-
that.
|
|
1282
|
+
that.onLoadedItems();
|
|
1281
1283
|
}).catch(function (exception) {
|
|
1282
1284
|
that.showExceptionOnStatusbar(exception);
|
|
1283
1285
|
});
|
|
1284
1286
|
};
|
|
1287
|
+
BladeGrid.prototype.onLoadedItems = function () {
|
|
1288
|
+
};
|
|
1285
1289
|
//#region Filter
|
|
1286
1290
|
BladeGrid.prototype.onFilter = function (actual, expected) {
|
|
1287
1291
|
//#region Documentation
|
|
@@ -1370,10 +1374,10 @@ var angularportalazure;
|
|
|
1370
1374
|
/** Obsolete */
|
|
1371
1375
|
BladeGrid.prototype.setObsoleteLayoutProperites = function () {
|
|
1372
1376
|
if (this.items.length !== 0) {
|
|
1373
|
-
this.
|
|
1377
|
+
this.navGrid.items = this.items; //--> needed, otherwise nav html pages will no longer work.
|
|
1374
1378
|
}
|
|
1375
|
-
this.
|
|
1376
|
-
|
|
1379
|
+
this.isNavGrid = this.isNavGrid;
|
|
1380
|
+
//super.setObsoleteLayoutProperites();
|
|
1377
1381
|
};
|
|
1378
1382
|
return BladeGrid;
|
|
1379
1383
|
}(angularportalazure.BladeData));
|
|
@@ -1443,7 +1447,7 @@ var angularportalazure;
|
|
|
1443
1447
|
if (path === '') {
|
|
1444
1448
|
return;
|
|
1445
1449
|
}
|
|
1446
|
-
this.portalService.bladeArea.raiseAddBladeEvent({ path: path, pathSender: this.
|
|
1450
|
+
this.portalService.bladeArea.raiseAddBladeEvent({ path: path, pathSender: this.path });
|
|
1447
1451
|
};
|
|
1448
1452
|
return BladeNav;
|
|
1449
1453
|
}(angularportalazure.BladeData));
|
package/directives/nav/nav.html
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<div>
|
|
2
|
-
<table class="azc-grid-full azc-grid-multiselectable" ng-if="!$ctrl.vm.
|
|
2
|
+
<table class="azc-grid-full azc-grid-multiselectable" ng-if="!$ctrl.vm.isInnerHtml">
|
|
3
3
|
<caption data-bind="text: data.summary"></caption>
|
|
4
4
|
<colgroup>
|
|
5
5
|
<col class="col0" style="width: 20px;">
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
</tr>
|
|
17
17
|
</tbody>
|
|
18
18
|
</table>
|
|
19
|
-
<div ng-if="$ctrl.vm.
|
|
19
|
+
<div ng-if="$ctrl.vm.isInnerHtml">
|
|
20
20
|
<div ng-transclude></div>
|
|
21
21
|
</div>
|
|
22
22
|
</div>
|
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.101",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|