@ardimedia/angular-portal-azure 0.2.48 → 0.2.50
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 -0
- package/apn.js +8 -2
- package/directives/home/home.html +39 -39
- package/package.json +3 -1
package/apn.d.ts
CHANGED
|
@@ -59,6 +59,7 @@ declare namespace angularportalazure {
|
|
|
59
59
|
isInnerHtml: boolean;
|
|
60
60
|
statusbar: string;
|
|
61
61
|
statusbarClass: string;
|
|
62
|
+
formblade: any;
|
|
62
63
|
isCommandBrowse: boolean;
|
|
63
64
|
commandBrowse: () => void;
|
|
64
65
|
commandBrowseText: string;
|
|
@@ -271,6 +272,7 @@ declare namespace angularportalazure {
|
|
|
271
272
|
static $inject: string[];
|
|
272
273
|
constructor($injector: any);
|
|
273
274
|
parameter: angularportalazure.IBladeParameter;
|
|
275
|
+
$analytics: any;
|
|
274
276
|
animate: any;
|
|
275
277
|
animation: any;
|
|
276
278
|
component: any;
|
package/apn.js
CHANGED
|
@@ -5,7 +5,9 @@ var angularportalazure;
|
|
|
5
5
|
var angularModule = angular.module('angularportalazure', [
|
|
6
6
|
// Angular modules
|
|
7
7
|
'ngResource',
|
|
8
|
-
'ngDialog'
|
|
8
|
+
'ngDialog',
|
|
9
|
+
'angulartics',
|
|
10
|
+
'angulartics.google.analytics'
|
|
9
11
|
]);
|
|
10
12
|
angularModule.config([function () {
|
|
11
13
|
//Debug.enable('[angularportalazure-debug]');
|
|
@@ -151,6 +153,7 @@ var angularportalazure;
|
|
|
151
153
|
}());
|
|
152
154
|
angularportalazure.UserControlBase = UserControlBase;
|
|
153
155
|
})(angularportalazure || (angularportalazure = {}));
|
|
156
|
+
/// <reference types="angular" />
|
|
154
157
|
/// <reference path="debug.ts" />
|
|
155
158
|
/// <reference path="useraccount.ts" />
|
|
156
159
|
/// <reference path="portalservice.ts" />
|
|
@@ -304,6 +307,8 @@ var angularportalazure;
|
|
|
304
307
|
};
|
|
305
308
|
Blade.prototype.navigateTo = function (arg) {
|
|
306
309
|
angularportalazure.Debug.write('[angularportalazure-debug] \'Blade.navigateTo\' called. You should not override this, use onNavigateTo instead.', [this, arg]);
|
|
310
|
+
console.log(arg);
|
|
311
|
+
this.portalService.$analytics.pageTrack(arg);
|
|
307
312
|
this.onNavigateTo(arg);
|
|
308
313
|
};
|
|
309
314
|
Blade.prototype.onNavigateTo = function (arg) {
|
|
@@ -878,6 +883,7 @@ var angularportalazure;
|
|
|
878
883
|
this.$q = $injector.get('$q');
|
|
879
884
|
this.$rootScope = $injector.get('$rootScope');
|
|
880
885
|
this.$window = $injector.get('$window');
|
|
886
|
+
this.$analytics = $injector.get('$analytics');
|
|
881
887
|
this.ngDialog = $injector.get('ngDialog');
|
|
882
888
|
this.ngDialog.openConfirm;
|
|
883
889
|
}
|
|
@@ -1377,7 +1383,7 @@ var angularportalazure;
|
|
|
1377
1383
|
this.items = new Array();
|
|
1378
1384
|
this.isNav = true;
|
|
1379
1385
|
angularportalazure.Debug.write('[angularportalazure-debug] \'BladeNav\' constructor called.', [this, portalService, path, title, subtitle, width]);
|
|
1380
|
-
_super.prototype.
|
|
1386
|
+
_super.prototype.navigateTo = this.navigateTo;
|
|
1381
1387
|
}
|
|
1382
1388
|
return BladeNav;
|
|
1383
1389
|
}(angularportalazure.BladeData));
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
<div class="fxs-portal">
|
|
2
|
-
<div class="fxs-portal-top-bar fxs-portal-appbar"></div>
|
|
3
|
-
<div id="azureportalscroll" class="fxs-portal-content fxs-panorama">
|
|
4
|
-
|
|
5
|
-
<div class="fxs-panorama-homearea" ng-class="{collapsed: !$ctrl.vm.portalService.panorama.startboard.tiles.showTiles}" ng-show="$ctrl.vm.portalService.panorama.isVisible">
|
|
6
|
-
<header class="fxs-pannable" ng-class="{collapsed: !$ctrl.vm.portalService.panorama.startboard.tiles.showTiles}">
|
|
7
|
-
<h1 class="fxs-panorama-title fxs-pannable">{{$ctrl.vm.title}}</h1>
|
|
8
|
-
<div class="fxs-avatarmenu-target fxs-avatarmenu" ng-class="{collapsed: !$ctrl.vm.portalService.panorama.startboard.tiles.showTiles}">
|
|
9
|
-
<a class="fxs-avatarmenu-header" href="/Account/Manage">
|
|
10
|
-
<img alt="" src="/node_modules/@ardimedia/angular-portal-azure/images/avatar.jpg" />
|
|
11
|
-
<div class="fxs-avatarmenu-username">{{$ctrl.vm.user.name}}</div>
|
|
12
|
-
<div class="fxs-avatarmenu-emailaddresse">{{$ctrl.vm.user.emailaddress}}</div>
|
|
13
|
-
</a>
|
|
14
|
-
</div>
|
|
15
|
-
</header>
|
|
16
|
-
<div class="fxs-startboard-target fxs-startboard fx-rightClick" ng-class="{collapsed: !$ctrl.vm.portalService.panorama.startboard.tiles.showTiles}">
|
|
17
|
-
<div class="fxs-startboard-layout fxs-flowlayout">
|
|
18
|
-
<div class="fxs-flowlayout-childcontainer">
|
|
19
|
-
<section data-ng-repeat="tile in $ctrl.vm.tiles track by $index" class="fxs-tile fx-rightClick fxs-flowlayout-element" data-ng-class="{'fxs-tilesize-normal':tile.size=='normal', 'fxs-tilesize-mini':tile.size=='mini', 'fxs-tilesize-herowide':tile.size=='herowide'}" data-ng-style="{'left': tile.left, 'top': tile.top}">
|
|
20
|
-
<div class="fxs-part fxs-part-clickable" ng-click="$ctrl.vm.navigateTo(tile.bladePath);tile.clicked();" style="cursor:pointer;">
|
|
21
|
-
<header class="fxs-part-title">
|
|
22
|
-
<h2 class="msportalfx-tooltip-overflow">{{tile.title}}</h2>
|
|
23
|
-
<h3 class="msportalfx-tooltip-overflow">{{tile.subTitle}}</h3>
|
|
24
|
-
</header>
|
|
25
|
-
<section class="fxs-part-content css-scope-HubsExtension"></section>
|
|
26
|
-
</div>
|
|
27
|
-
<div class="fxs-title-overlay"></div>
|
|
28
|
-
</section>
|
|
29
|
-
</div>
|
|
30
|
-
</div>
|
|
31
|
-
</div>
|
|
32
|
-
</div>
|
|
33
|
-
<div class="fxs-journey-target fxs-journey">
|
|
34
|
-
<div class="fxs-journey-layout fxs-stacklayout fxs-stacklayout-horizontal">
|
|
35
|
-
<div data-ng-repeat="blade in $ctrl.vm.blades track by $index" class="azureportalblade fxs-stacklayout-child" ng-include="blade.path"></div>
|
|
36
|
-
</div>
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
39
|
-
</div>
|
|
1
|
+
<div class="fxs-portal">
|
|
2
|
+
<div class="fxs-portal-top-bar fxs-portal-appbar"></div>
|
|
3
|
+
<div id="azureportalscroll" class="fxs-portal-content fxs-panorama">
|
|
4
|
+
|
|
5
|
+
<div class="fxs-panorama-homearea" ng-class="{collapsed: !$ctrl.vm.portalService.panorama.startboard.tiles.showTiles}" ng-show="$ctrl.vm.portalService.panorama.isVisible">
|
|
6
|
+
<header class="fxs-pannable" ng-class="{collapsed: !$ctrl.vm.portalService.panorama.startboard.tiles.showTiles}">
|
|
7
|
+
<h1 class="fxs-panorama-title fxs-pannable">{{$ctrl.vm.title}}</h1>
|
|
8
|
+
<div class="fxs-avatarmenu-target fxs-avatarmenu" ng-class="{collapsed: !$ctrl.vm.portalService.panorama.startboard.tiles.showTiles}">
|
|
9
|
+
<a class="fxs-avatarmenu-header" href="/Account/Manage">
|
|
10
|
+
<img alt="" src="/node_modules/@ardimedia/angular-portal-azure/images/avatar.jpg" />
|
|
11
|
+
<div class="fxs-avatarmenu-username">{{$ctrl.vm.user.name}}</div>
|
|
12
|
+
<div class="fxs-avatarmenu-emailaddresse">{{$ctrl.vm.user.emailaddress}}</div>
|
|
13
|
+
</a>
|
|
14
|
+
</div>
|
|
15
|
+
</header>
|
|
16
|
+
<div class="fxs-startboard-target fxs-startboard fx-rightClick" ng-class="{collapsed: !$ctrl.vm.portalService.panorama.startboard.tiles.showTiles}">
|
|
17
|
+
<div class="fxs-startboard-layout fxs-flowlayout">
|
|
18
|
+
<div class="fxs-flowlayout-childcontainer">
|
|
19
|
+
<section data-ng-repeat="tile in $ctrl.vm.tiles track by $index" class="fxs-tile fx-rightClick fxs-flowlayout-element" data-ng-class="{'fxs-tilesize-normal':tile.size=='normal', 'fxs-tilesize-mini':tile.size=='mini', 'fxs-tilesize-herowide':tile.size=='herowide'}" data-ng-style="{'left': tile.left, 'top': tile.top}">
|
|
20
|
+
<div class="fxs-part fxs-part-clickable" ng-click="$ctrl.vm.navigateTo(tile.bladePath);tile.clicked();" style="cursor:pointer;">
|
|
21
|
+
<header class="fxs-part-title">
|
|
22
|
+
<h2 class="msportalfx-tooltip-overflow">{{tile.title}}</h2>
|
|
23
|
+
<h3 class="msportalfx-tooltip-overflow">{{tile.subTitle}}</h3>
|
|
24
|
+
</header>
|
|
25
|
+
<section class="fxs-part-content css-scope-HubsExtension"></section>
|
|
26
|
+
</div>
|
|
27
|
+
<div class="fxs-title-overlay"></div>
|
|
28
|
+
</section>
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
<div class="fxs-journey-target fxs-journey">
|
|
34
|
+
<div class="fxs-journey-layout fxs-stacklayout fxs-stacklayout-horizontal">
|
|
35
|
+
<div data-ng-repeat="blade in $ctrl.vm.blades track by $index" class="azureportalblade fxs-stacklayout-child" ng-include="blade.path"></div>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
</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.50",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
"@types/ng-dialog": "0.0.31",
|
|
12
12
|
"angular": "^1.5.8",
|
|
13
13
|
"angular-resource": "^1.5.8",
|
|
14
|
+
"angulartics": "^1.3.0",
|
|
15
|
+
"angulartics-google-analytics": "^0.4.0",
|
|
14
16
|
"ng-dialog": "^0.6.4"
|
|
15
17
|
},
|
|
16
18
|
"devDependencies": {
|