@ardimedia/angular-portal-azure 0.2.99 → 0.2.100
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 -3
- package/apn.js +35 -35
- 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
|
}
|
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));
|
|
@@ -1370,10 +1370,10 @@ var angularportalazure;
|
|
|
1370
1370
|
/** Obsolete */
|
|
1371
1371
|
BladeGrid.prototype.setObsoleteLayoutProperites = function () {
|
|
1372
1372
|
if (this.items.length !== 0) {
|
|
1373
|
-
this.
|
|
1373
|
+
this.navGrid.items = this.items; //--> needed, otherwise nav html pages will no longer work.
|
|
1374
1374
|
}
|
|
1375
|
-
this.
|
|
1376
|
-
|
|
1375
|
+
this.isNavGrid = this.isNavGrid;
|
|
1376
|
+
//super.setObsoleteLayoutProperites();
|
|
1377
1377
|
};
|
|
1378
1378
|
return BladeGrid;
|
|
1379
1379
|
}(angularportalazure.BladeData));
|
|
@@ -1443,7 +1443,7 @@ var angularportalazure;
|
|
|
1443
1443
|
if (path === '') {
|
|
1444
1444
|
return;
|
|
1445
1445
|
}
|
|
1446
|
-
this.portalService.bladeArea.raiseAddBladeEvent({ path: path, pathSender: this.
|
|
1446
|
+
this.portalService.bladeArea.raiseAddBladeEvent({ path: path, pathSender: this.path });
|
|
1447
1447
|
};
|
|
1448
1448
|
return BladeNav;
|
|
1449
1449
|
}(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.100",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|