@ardimedia/angular-portal-azure 0.2.79 → 0.2.81

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.js CHANGED
@@ -308,7 +308,6 @@ var angularportalazure;
308
308
  };
309
309
  Blade.prototype.onActivate = function () {
310
310
  //throw new Error('[angularportalazure.Blade] \'onActivate\' is an abstract function. Define one in the derived class.');
311
- console.log('function call: Blade.onActivate() - we should override this, but does it work?');
312
311
  };
313
312
  Blade.prototype.onActivated = function () {
314
313
  };
@@ -1093,6 +1092,7 @@ var angularportalazure;
1093
1092
  function nav($window) {
1094
1093
  return {
1095
1094
  restrict: 'E',
1095
+ transclude: true,
1096
1096
  scope: {},
1097
1097
  bindToController: { vm: '=' },
1098
1098
  templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/nav/nav.html',
@@ -1442,7 +1442,7 @@ var angularportalazure;
1442
1442
  function BladeNav(portalService, path, title, subtitle, width) {
1443
1443
  if (title === void 0) { title = ''; }
1444
1444
  if (subtitle === void 0) { subtitle = ''; }
1445
- if (width === void 0) { width = 200; }
1445
+ if (width === void 0) { width = 315; }
1446
1446
  var _this = _super.call(this, portalService, path, title, subtitle, width) || this;
1447
1447
  //#endregion
1448
1448
  //#region Properties
@@ -1,4 +1,4 @@
1
- <table class="azc-grid-full azc-grid-multiselectable" aria-readonly="true">
1
+ <table class="azc-grid-full azc-grid-multiselectable">
2
2
  <caption data-bind="text: data.summary"></caption>
3
3
  <colgroup>
4
4
  <col class="col0" style="width: 41px;">
@@ -1,17 +1,22 @@
1
- <table class="azc-grid-full azc-grid-multiselectable" aria-readonly="true">
2
- <caption data-bind="text: data.summary"></caption>
3
- <colgroup>
4
- <col class="col0" style="width: 15px;">
5
- <col class="col1">
6
- </colgroup>
7
- <tbody class="azc-grid-groupdata" role="rowgroup">
8
- <tr data-ng-repeat="item in $ctrl.vm.items track by $index" data-ng-click="$ctrl.vm.navigateTo(item.bladePath);item.onNavItemClick();" role="row" aria-selected="false" data-grid-row-activated="false" data-grid-selectable="true" data-grid-focusable="true" data-grid-activateable="true" ng-show="item.isVisible" style="cursor:pointer" ng-style="item.style">
9
- <td class="msportalfx-gridcolumn-asseticon" role="gridcell" data-grid-cell-activated="false">
10
- <i ng-class="item.cssClass"></i>
11
- </td>
12
- <td tabindex="0" role="gridcell" data-activatable="true" data-grid-cell-activated="false">
13
- <a ng-href="{{item.hrefPath}}" target="_blank" style="color:black">{{item.title}}</a>
14
- </td>
15
- </tr>
16
- </tbody>
17
- </table>
1
+ <div>
2
+ <table class="azc-grid-full azc-grid-multiselectable" ng-if="!$ctrl.vm.blade.isInnerHtml">
3
+ <caption data-bind="text: data.summary"></caption>
4
+ <colgroup>
5
+ <col class="col0" style="width: 15px;">
6
+ <col class="col1">
7
+ </colgroup>
8
+ <tbody class="azc-grid-groupdata" role="rowgroup">
9
+ <tr data-ng-repeat="item in $ctrl.vm.items track by $index" data-ng-click="$ctrl.vm.navigateTo(item.bladePath);item.onNavItemClick();" role="row" aria-selected="false" data-grid-row-activated="false" data-grid-selectable="true" data-grid-focusable="true" data-grid-activateable="true" ng-show="item.isVisible" style="cursor:pointer" ng-style="item.style">
10
+ <td class="msportalfx-gridcolumn-asseticon" role="gridcell" data-grid-cell-activated="false">
11
+ <i ng-class="item.cssClass"></i>
12
+ </td>
13
+ <td tabindex="0" role="gridcell" data-activatable="true" data-grid-cell-activated="false">
14
+ <a ng-href="{{item.hrefPath}}" target="_blank" style="color:black">{{item.title}}</a>
15
+ </td>
16
+ </tr>
17
+ </tbody>
18
+ </table>
19
+ <div ng-if="$ctrl.vm.blade.isInnerHtml">
20
+ <div ng-transclude></div>
21
+ </div>
22
+ </div>
@@ -2,6 +2,7 @@
2
2
  function nav($window) {
3
3
  return {
4
4
  restrict: 'E',
5
+ transclude: true,
5
6
  scope: {},
6
7
  bindToController: { vm: '=' },
7
8
  templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/nav/nav.html',
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.79",
5
+ "version": "0.2.81",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {