@ardimedia/angular-portal-azure 0.2.185 → 0.2.186
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 -2
- package/apn.js +3 -3
- package/package.json +1 -1
package/apn.d.ts
CHANGED
|
@@ -349,9 +349,9 @@ declare namespace angularportalazure {
|
|
|
349
349
|
}
|
|
350
350
|
declare namespace angularportalazure {
|
|
351
351
|
class BladeDetail<T> extends angularportalazure.BladeData {
|
|
352
|
-
item: T | null;
|
|
353
352
|
constructor($scope: angular.IScope, portalService: angularportalazure.PortalService, path: string, title: string, subtitle?: string, width?: number);
|
|
354
|
-
|
|
353
|
+
item: T;
|
|
354
|
+
loadItem(func: () => angular.IPromise<any>): void;
|
|
355
355
|
onLoadItem(): void;
|
|
356
356
|
onLoadedItem(): void;
|
|
357
357
|
saveItem(func: () => any): void;
|
package/apn.js
CHANGED
|
@@ -1071,14 +1071,14 @@ var angularportalazure;
|
|
|
1071
1071
|
(function (angularportalazure) {
|
|
1072
1072
|
var BladeDetail = (function (_super) {
|
|
1073
1073
|
__extends(BladeDetail, _super);
|
|
1074
|
-
//#endregion
|
|
1075
1074
|
//#region Constructor
|
|
1076
1075
|
function BladeDetail($scope, portalService, path, title, subtitle, width) {
|
|
1077
1076
|
if (subtitle === void 0) { subtitle = ''; }
|
|
1078
1077
|
if (width === void 0) { width = 200; }
|
|
1079
1078
|
var _this = _super.call(this, $scope, portalService, path, title, subtitle, width) || this;
|
|
1079
|
+
//#endregion
|
|
1080
1080
|
//#region Properties
|
|
1081
|
-
_this.item =
|
|
1081
|
+
_this.item = {};
|
|
1082
1082
|
_this.commandNewText = 'neu';
|
|
1083
1083
|
_this.commandSaveText = 'speichern';
|
|
1084
1084
|
_this.commandDeleteText = 'löschen';
|
|
@@ -1092,7 +1092,6 @@ var angularportalazure;
|
|
|
1092
1092
|
this.onLoadItem();
|
|
1093
1093
|
func().then(function (data) {
|
|
1094
1094
|
_this.item = data;
|
|
1095
|
-
_this.clearStatusBar();
|
|
1096
1095
|
_this.onLoadedItem();
|
|
1097
1096
|
}).catch(function (exception) {
|
|
1098
1097
|
_this.setStatusBarException(exception);
|
|
@@ -1102,6 +1101,7 @@ var angularportalazure;
|
|
|
1102
1101
|
this.setStatusBarLoadData();
|
|
1103
1102
|
};
|
|
1104
1103
|
BladeDetail.prototype.onLoadedItem = function () {
|
|
1104
|
+
this.clearStatusBar();
|
|
1105
1105
|
};
|
|
1106
1106
|
BladeDetail.prototype.saveItem = function (func) {
|
|
1107
1107
|
var _this = this;
|
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.186",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|