@ardimedia/angular-portal-azure 0.2.277 → 0.2.279
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 +1 -1
- package/apn.js +7 -4
- package/package.json +1 -1
package/apn.d.ts
CHANGED
|
@@ -156,7 +156,7 @@ declare namespace angularportalazure {
|
|
|
156
156
|
onCommandOrder(): void;
|
|
157
157
|
onCommandRestart(): void;
|
|
158
158
|
onCommandSaveBefore(): void;
|
|
159
|
-
onCommandSave(): Promise<void
|
|
159
|
+
onCommandSave(): (Promise<void> & angular.IHttpPromise<any>);
|
|
160
160
|
onCommandSearch(): void;
|
|
161
161
|
onCommandStart(): void;
|
|
162
162
|
onCommandStop(): void;
|
package/apn.js
CHANGED
|
@@ -415,14 +415,17 @@ var angularportalazure;
|
|
|
415
415
|
};
|
|
416
416
|
Blade.prototype.onCommandSaveBefore = function () {
|
|
417
417
|
var _this = this;
|
|
418
|
+
console.log('onCommandSave');
|
|
418
419
|
if (this.isCommandSave) {
|
|
420
|
+
console.log('isCommandSave true');
|
|
419
421
|
this.isCommandSave = false;
|
|
420
422
|
this.setStatusBarSaveData();
|
|
421
423
|
this.onCommandSave().then(function () {
|
|
424
|
+
console.log('onCommandSave...then');
|
|
422
425
|
_this.setStatusBar('');
|
|
423
|
-
console.log('onCommandSave');
|
|
424
426
|
_this.isCommandSave = true;
|
|
425
427
|
}).catch(function () {
|
|
428
|
+
console.log('onCommandSave...catch');
|
|
426
429
|
_this.isCommandSave = true;
|
|
427
430
|
});
|
|
428
431
|
}
|
|
@@ -1563,9 +1566,9 @@ var angularportalazure;
|
|
|
1563
1566
|
// #endregion
|
|
1564
1567
|
// #region Methods
|
|
1565
1568
|
DataService.prototype.getData = function (url) {
|
|
1566
|
-
return this.$http({ method: 'GET', url: url })
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
+
return this.$http({ method: 'GET', url: url });
|
|
1570
|
+
//.then((response: angular.IHttpResponseTransformer) => { })
|
|
1571
|
+
//.catch((response: angular.IHttpResponseTransformer) => { });
|
|
1569
1572
|
};
|
|
1570
1573
|
return DataService;
|
|
1571
1574
|
}());
|
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.279",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|