@ardimedia/angular-portal-azure 0.2.237 → 0.2.239
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 +3 -2
- package/apn.js +6 -1
- package/directives/home/home.html +3 -1
- package/package.json +1 -1
package/apn.d.ts
CHANGED
|
@@ -217,14 +217,15 @@ declare namespace angularportalazure {
|
|
|
217
217
|
declare namespace angularportalazure {
|
|
218
218
|
class AreaNotification extends angularportalazure.UserControlBase {
|
|
219
219
|
constructor($scope: angular.IScope, portalService: angularportalazure.PortalService);
|
|
220
|
-
|
|
220
|
+
path: string;
|
|
221
221
|
widthAreaUsed: number;
|
|
222
|
+
private areaNotification;
|
|
222
223
|
private _width;
|
|
223
224
|
width: number;
|
|
224
225
|
private _backgroundColor;
|
|
225
226
|
backgroundColor: string;
|
|
226
227
|
hide(): void;
|
|
227
|
-
show(): void;
|
|
228
|
+
show(width?: number): void;
|
|
228
229
|
private calcualteCssStyles();
|
|
229
230
|
}
|
|
230
231
|
}
|
package/apn.js
CHANGED
|
@@ -732,6 +732,9 @@ var angularportalazure;
|
|
|
732
732
|
//#region Constructor
|
|
733
733
|
function AreaNotification($scope, portalService) {
|
|
734
734
|
var _this = _super.call(this, $scope, portalService) || this;
|
|
735
|
+
//#endregion
|
|
736
|
+
//#region Properties
|
|
737
|
+
_this.path = '';
|
|
735
738
|
_this.widthAreaUsed = 0;
|
|
736
739
|
_this._width = 250;
|
|
737
740
|
_this._backgroundColor = '#32383f';
|
|
@@ -769,7 +772,9 @@ var angularportalazure;
|
|
|
769
772
|
this.areaNotification.style.display = 'none';
|
|
770
773
|
this.portalService.$rootScope.$broadcast('AreaNotification.Hide');
|
|
771
774
|
};
|
|
772
|
-
AreaNotification.prototype.show = function () {
|
|
775
|
+
AreaNotification.prototype.show = function (width) {
|
|
776
|
+
if (width === void 0) { width = 250; }
|
|
777
|
+
this.width = width;
|
|
773
778
|
this.widthAreaUsed = 1; // Indicate to the calcualteCssStyles function, that we need to set this value
|
|
774
779
|
this.calcualteCssStyles();
|
|
775
780
|
this.areaNotification.style.display = 'inline-block';
|
|
@@ -64,7 +64,9 @@
|
|
|
64
64
|
</div>
|
|
65
65
|
<!--apa-notification-area-->
|
|
66
66
|
<div id="apa-notification-area" style="display: none;">
|
|
67
|
-
<button ng-click="$ctrl.vm.portalService.areaNotification.hide();">CLOSE</button>
|
|
67
|
+
<button ng-click="$ctrl.vm.portalService.areaNotification.hide();" >CLOSE</button>
|
|
68
|
+
{{$ctrl.vm.portalService.areaNotification.path}}
|
|
69
|
+
<div ng-include="$ctrl.vm.portalService.areaNotification.path"></div>
|
|
68
70
|
</div>
|
|
69
71
|
</div>
|
|
70
72
|
</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.239",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|