@ardimedia/angular-portal-azure 0.2.50 → 0.2.52
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 -4
- package/apn.js +162 -136
- package/package.json +6 -6
package/apn.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
/// <reference types="angular-resource" />
|
|
2
|
-
/// <reference types="angular" />
|
|
3
1
|
declare namespace angularportalazure {
|
|
4
2
|
}
|
|
5
3
|
declare namespace angularportalazure {
|
|
@@ -123,8 +121,8 @@ declare namespace angularportalazure {
|
|
|
123
121
|
};
|
|
124
122
|
activate(): void;
|
|
125
123
|
onActivate(): void;
|
|
126
|
-
navigateTo(
|
|
127
|
-
onNavigateTo(
|
|
124
|
+
navigateTo(path: any): void;
|
|
125
|
+
onNavigateTo(path: any): void;
|
|
128
126
|
comparePaths(path1: string, path2: string): boolean;
|
|
129
127
|
/** close blade. */
|
|
130
128
|
close(): void;
|
package/apn.js
CHANGED
|
@@ -80,13 +80,13 @@ var angularportalazure;
|
|
|
80
80
|
}
|
|
81
81
|
return false;
|
|
82
82
|
};
|
|
83
|
-
//#endregion
|
|
84
|
-
//#region Properties
|
|
85
|
-
Debug.isEnabled = false;
|
|
86
|
-
Debug.isWithObjects = false;
|
|
87
|
-
Debug.keys = new Array();
|
|
88
83
|
return Debug;
|
|
89
84
|
}());
|
|
85
|
+
//#endregion
|
|
86
|
+
//#region Properties
|
|
87
|
+
Debug.isEnabled = false;
|
|
88
|
+
Debug.isWithObjects = false;
|
|
89
|
+
Debug.keys = new Array();
|
|
90
90
|
angularportalazure.Debug = Debug;
|
|
91
91
|
})(angularportalazure || (angularportalazure = {}));
|
|
92
92
|
/// <reference path="debug.ts" />
|
|
@@ -172,83 +172,83 @@ var angularportalazure;
|
|
|
172
172
|
function Blade(portalService, path, title, subtitle, width) {
|
|
173
173
|
if (subtitle === void 0) { subtitle = ''; }
|
|
174
174
|
if (width === void 0) { width = 200; }
|
|
175
|
-
_super.call(this, portalService);
|
|
175
|
+
var _this = _super.call(this, portalService) || this;
|
|
176
176
|
//#endregion
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
177
|
+
_this.title = '';
|
|
178
|
+
_this.subTitle = '';
|
|
179
|
+
_this.width = { 'width': '0' };
|
|
180
|
+
_this.widthStackLayout = { 'width': '50px' };
|
|
181
|
+
_this.isInnerHtml = true;
|
|
182
|
+
_this.statusbar = '';
|
|
183
|
+
_this.statusbarClass = '';
|
|
184
184
|
//#endregion
|
|
185
185
|
//#region Commands
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
186
|
+
_this.isCommandBrowse = false;
|
|
187
|
+
_this.commandBrowse = function () { this.onCommandBrowse(); };
|
|
188
|
+
_this.commandBrowseText = '';
|
|
189
|
+
_this.isCommandCancel = false;
|
|
190
|
+
_this.commandCancel = function () { this.onCommandCancel(); };
|
|
191
|
+
_this.commandCancelText = '';
|
|
192
|
+
_this.isCommandCopy = false;
|
|
193
|
+
_this.commandCopy = function () { this.onCommandCopy(); };
|
|
194
|
+
_this.commandCopyText = '';
|
|
195
|
+
_this.isCommandDelete = false;
|
|
196
|
+
_this.commandDelete = function () { this.onCommandDelete(); };
|
|
197
|
+
_this.commandDeleteText = '';
|
|
198
|
+
_this.isCommandDocument = false;
|
|
199
|
+
_this.commandDocument = function () { this.onCommandDocument(); };
|
|
200
|
+
_this.commandDocumentText = '';
|
|
201
|
+
_this.isCommandDocument2 = false;
|
|
202
|
+
_this.commandDocument2 = function () { this.onCommandDocument2(); };
|
|
203
|
+
_this.commandDocument2Text = '';
|
|
204
|
+
_this.isCommandDocument3 = false;
|
|
205
|
+
_this.commandDocument3 = function () { this.onCommandDocument3(); };
|
|
206
|
+
_this.commandDocument3Text = '';
|
|
207
|
+
_this.isCommandDocument4 = false;
|
|
208
|
+
_this.commandDocument4 = function () { this.onCommandDocument4(); };
|
|
209
|
+
_this.commandDocument4Text = '';
|
|
210
|
+
_this.isCommandDocument5 = false;
|
|
211
|
+
_this.commandDocument5 = function () { this.onCommandDocument5(); };
|
|
212
|
+
_this.commandDocument5Text = '';
|
|
213
|
+
_this.isCommandNew = false;
|
|
214
|
+
_this.commandNew = function () { this.onCommandNew(); };
|
|
215
|
+
_this.commandNewText = '';
|
|
216
|
+
_this.isCommandOrder = false;
|
|
217
|
+
_this.commandOrder = function () { this.onCommandOrder(); };
|
|
218
|
+
_this.commandOrderText = '';
|
|
219
|
+
_this.isCommandRestart = false;
|
|
220
|
+
_this.commandRestart = function () { this.onCommandRestart(); };
|
|
221
|
+
_this.commandRestartText = '';
|
|
222
|
+
_this.isCommandSave = false;
|
|
223
|
+
_this.commandSave = function () { this.onCommandSave(); };
|
|
224
|
+
_this.commandSaveText = '';
|
|
225
|
+
_this.isCommandSearch = false;
|
|
226
|
+
_this.commandSearch = function () { this.onCommandSearch(); };
|
|
227
|
+
_this.commandSearchText = '';
|
|
228
|
+
_this.isCommandStart = false;
|
|
229
|
+
_this.commandStart = function () { this.onCommandStart(); };
|
|
230
|
+
_this.commandStartText = '';
|
|
231
|
+
_this.isCommandStop = false;
|
|
232
|
+
_this.commandStop = function () { this.onCommandStop(); };
|
|
233
|
+
_this.commandStopText = '';
|
|
234
|
+
_this.isCommandSwap = false;
|
|
235
|
+
_this.commandSwap = function () { this.onCommandSwap(); };
|
|
236
|
+
_this.commandSwapText = '';
|
|
237
237
|
/** Obsolete */
|
|
238
|
-
|
|
238
|
+
_this.navGrid = {
|
|
239
239
|
portalService: null,
|
|
240
240
|
items: [],
|
|
241
241
|
navigateTo: function (path) { }
|
|
242
242
|
};
|
|
243
|
-
angularportalazure.Debug.write('[angularportalazure-debug] \'Blade\' constructor called.', [
|
|
244
|
-
var that =
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
243
|
+
angularportalazure.Debug.write('[angularportalazure-debug] \'Blade\' constructor called.', [_this, portalService, path, title, subtitle, width]);
|
|
244
|
+
var that = _this;
|
|
245
|
+
_this.blade = _this;
|
|
246
|
+
_this.path = path;
|
|
247
|
+
_this.title = title;
|
|
248
|
+
_this.subTitle = subtitle;
|
|
249
|
+
_this.width.width = width + 'px';
|
|
250
|
+
_this.widthStackLayout.width = width - 50 + 'px';
|
|
251
|
+
_this.navGrid.portalService = portalService;
|
|
252
252
|
if (!portalService) {
|
|
253
253
|
throw new Error('[angularportalazure.Blade] constructor parameter \'portalService\' must be provided.');
|
|
254
254
|
}
|
|
@@ -270,16 +270,17 @@ var angularportalazure;
|
|
|
270
270
|
//#region Add BladeArea.AddBlade event listener
|
|
271
271
|
/** OBSOLETE: remove when all OBSOLETE code has been removed */
|
|
272
272
|
if (portalService instanceof angularportalazure.PortalService == false) {
|
|
273
|
-
return;
|
|
273
|
+
return _this;
|
|
274
274
|
}
|
|
275
275
|
/** OBSOLETE: end */
|
|
276
276
|
// Register listener1
|
|
277
|
-
|
|
277
|
+
_this.listener1 = that.portalService.$rootScope.$on('BladeArea.AddBlade', function (event, args) {
|
|
278
278
|
angularportalazure.Debug.write('[angularportalazure-debug] \'Blade\' BladeArea.AddBlade event processing.', [this, event, args]);
|
|
279
279
|
if (that.blade.comparePaths(args.path, that.blade.path)) {
|
|
280
280
|
that.activate();
|
|
281
281
|
}
|
|
282
282
|
});
|
|
283
|
+
return _this;
|
|
283
284
|
//#endregion
|
|
284
285
|
}
|
|
285
286
|
Object.defineProperty(Blade.prototype, "path", {
|
|
@@ -289,6 +290,9 @@ var angularportalazure;
|
|
|
289
290
|
},
|
|
290
291
|
// For the moment we do not distinguish between lower and upper case path name
|
|
291
292
|
set: function (newPath) {
|
|
293
|
+
if (newPath == null) {
|
|
294
|
+
return;
|
|
295
|
+
}
|
|
292
296
|
this._path = newPath.toLowerCase();
|
|
293
297
|
},
|
|
294
298
|
enumerable: true,
|
|
@@ -305,17 +309,21 @@ var angularportalazure;
|
|
|
305
309
|
Blade.prototype.onActivate = function () {
|
|
306
310
|
angularportalazure.Debug.write('[angularportalazure-debug] \'Blade.onActivate\' not overriden. You could override this.', [this]);
|
|
307
311
|
};
|
|
308
|
-
Blade.prototype.navigateTo = function (
|
|
309
|
-
angularportalazure.Debug.write('[angularportalazure-debug] \'Blade.navigateTo\' called. You should not override this, use onNavigateTo instead.', [this,
|
|
310
|
-
|
|
311
|
-
this.portalService.$analytics.pageTrack(arg);
|
|
312
|
-
this.onNavigateTo(arg);
|
|
312
|
+
Blade.prototype.navigateTo = function (path) {
|
|
313
|
+
angularportalazure.Debug.write('[angularportalazure-debug] \'Blade.navigateTo\' called. You should not override this, use onNavigateTo instead.', [this, path]);
|
|
314
|
+
this.onNavigateTo(path);
|
|
313
315
|
};
|
|
314
|
-
Blade.prototype.onNavigateTo = function (
|
|
316
|
+
Blade.prototype.onNavigateTo = function (path) {
|
|
315
317
|
throw new Error('[angularportalazure.Blade] \'onNavigateTo\' is an abstract function. Define one in the derived class.');
|
|
316
318
|
};
|
|
317
319
|
// At the moment we do not distinguish between lower and upper case path name
|
|
318
320
|
Blade.prototype.comparePaths = function (path1, path2) {
|
|
321
|
+
if (path1 == null) {
|
|
322
|
+
return false;
|
|
323
|
+
}
|
|
324
|
+
if (path2 == null) {
|
|
325
|
+
return false;
|
|
326
|
+
}
|
|
319
327
|
if (path1.toLowerCase() === path2.toLowerCase()) {
|
|
320
328
|
return true;
|
|
321
329
|
}
|
|
@@ -433,24 +441,25 @@ var angularportalazure;
|
|
|
433
441
|
__extends(BladeArea, _super);
|
|
434
442
|
//#region Constructor
|
|
435
443
|
function BladeArea(portalService) {
|
|
436
|
-
_super.call(this, portalService);
|
|
437
|
-
|
|
438
|
-
angularportalazure.Debug.write('[angularportalazure-debug] \'BladeArea\' constructor called.', [
|
|
439
|
-
var that =
|
|
444
|
+
var _this = _super.call(this, portalService) || this;
|
|
445
|
+
_this.blades = new Array();
|
|
446
|
+
angularportalazure.Debug.write('[angularportalazure-debug] \'BladeArea\' constructor called.', [_this, portalService]);
|
|
447
|
+
var that = _this;
|
|
440
448
|
// Set dependencies
|
|
441
|
-
|
|
442
|
-
|
|
449
|
+
_this.portalService = portalService;
|
|
450
|
+
_this.portalService.bladeArea = _this;
|
|
443
451
|
//#region Add BladeArea.AddBlade event listener
|
|
444
452
|
/** OBSOLETE: remove when all OBSOLETE code has been removed */
|
|
445
453
|
if (portalService instanceof angularportalazure.PortalService == false) {
|
|
446
|
-
return;
|
|
454
|
+
return _this;
|
|
447
455
|
}
|
|
448
456
|
/** OBSOLETE: end */
|
|
449
457
|
// Register listener1
|
|
450
|
-
|
|
458
|
+
_this.listener1 = that.portalService.$rootScope.$on('BladeArea.AddBlade', function (event, args) {
|
|
451
459
|
angularportalazure.Debug.write('[angularportalazure-debug] \'BladeArea\' BladeArea.AddBlade event processing.', [this, event, args]);
|
|
452
460
|
that.addBlade(args.path, args.pathSender);
|
|
453
461
|
});
|
|
462
|
+
return _this;
|
|
454
463
|
//#endregion
|
|
455
464
|
}
|
|
456
465
|
//#endregion
|
|
@@ -468,7 +477,14 @@ var angularportalazure;
|
|
|
468
477
|
BladeArea.prototype.addBlade = function (path, senderPath) {
|
|
469
478
|
if (senderPath === void 0) { senderPath = ''; }
|
|
470
479
|
angularportalazure.Debug.write('[angularportalazure-debug] \'BladeArea.addBlade\' called.', [this, senderPath, path]);
|
|
480
|
+
if (path == null) {
|
|
481
|
+
return;
|
|
482
|
+
}
|
|
483
|
+
if (senderPath == null) {
|
|
484
|
+
return;
|
|
485
|
+
}
|
|
471
486
|
var that = this;
|
|
487
|
+
this.portalService.$analytics.pageTrack(path);
|
|
472
488
|
path = path.toLowerCase();
|
|
473
489
|
senderPath = senderPath.toLowerCase();
|
|
474
490
|
//#region Verify
|
|
@@ -633,6 +649,7 @@ var angularportalazure;
|
|
|
633
649
|
'use strict';
|
|
634
650
|
angular.module('angularportalazure').service('angularportalazure.bladeArea', ['$window', BladeArea]);
|
|
635
651
|
})();
|
|
652
|
+
//#endregion
|
|
636
653
|
})(angularportalazure || (angularportalazure = {}));
|
|
637
654
|
/// <reference path="debug.ts" />
|
|
638
655
|
/// <reference path="portalservice.ts" />
|
|
@@ -644,8 +661,9 @@ var angularportalazure;
|
|
|
644
661
|
__extends(AvatarMenu, _super);
|
|
645
662
|
//#region Constructor
|
|
646
663
|
function AvatarMenu(portalService) {
|
|
647
|
-
_super.call(this, portalService);
|
|
648
|
-
angularportalazure.Debug.write('[angularportalazure-debug] \'AvatarMenu\' constructor called.', [
|
|
664
|
+
var _this = _super.call(this, portalService) || this;
|
|
665
|
+
angularportalazure.Debug.write('[angularportalazure-debug] \'AvatarMenu\' constructor called.', [_this]);
|
|
666
|
+
return _this;
|
|
649
667
|
}
|
|
650
668
|
return AvatarMenu;
|
|
651
669
|
}(angularportalazure.UserControlBase));
|
|
@@ -654,13 +672,13 @@ var angularportalazure;
|
|
|
654
672
|
var angularportalazure;
|
|
655
673
|
(function (angularportalazure) {
|
|
656
674
|
/** The names are used in CSS for layouting, e.g. style='mini' */
|
|
675
|
+
var TileSizes;
|
|
657
676
|
(function (TileSizes) {
|
|
658
677
|
TileSizes[TileSizes["small"] = 0] = "small";
|
|
659
678
|
TileSizes[TileSizes["mini"] = 1] = "mini";
|
|
660
679
|
TileSizes[TileSizes["normal"] = 2] = "normal";
|
|
661
680
|
TileSizes[TileSizes["herowide"] = 3] = "herowide";
|
|
662
|
-
})(angularportalazure.TileSizes || (angularportalazure.TileSizes = {}));
|
|
663
|
-
var TileSizes = angularportalazure.TileSizes;
|
|
681
|
+
})(TileSizes = angularportalazure.TileSizes || (angularportalazure.TileSizes = {}));
|
|
664
682
|
})(angularportalazure || (angularportalazure = {}));
|
|
665
683
|
/// <reference path="debug.ts" />
|
|
666
684
|
/// <reference path="tilesizes.ts" />
|
|
@@ -743,6 +761,7 @@ var angularportalazure;
|
|
|
743
761
|
this.nextLeft = 0;
|
|
744
762
|
this.nextTop = 0;
|
|
745
763
|
this.columnHeightMax = 0;
|
|
764
|
+
//#endregion
|
|
746
765
|
}
|
|
747
766
|
//#endregion
|
|
748
767
|
//#region Methods
|
|
@@ -779,9 +798,10 @@ var angularportalazure;
|
|
|
779
798
|
//#endregion
|
|
780
799
|
//#region Constructor
|
|
781
800
|
function Startboard(portalService) {
|
|
782
|
-
_super.call(this, portalService);
|
|
783
|
-
angularportalazure.Debug.write('[angularportalazure-debug] \'Startboard\' constructor called.', [
|
|
784
|
-
|
|
801
|
+
var _this = _super.call(this, portalService) || this;
|
|
802
|
+
angularportalazure.Debug.write('[angularportalazure-debug] \'Startboard\' constructor called.', [_this]);
|
|
803
|
+
_this.tiles = new angularportalazure.Tiles();
|
|
804
|
+
return _this;
|
|
785
805
|
}
|
|
786
806
|
return Startboard;
|
|
787
807
|
}(angularportalazure.UserControlBase));
|
|
@@ -799,13 +819,14 @@ var angularportalazure;
|
|
|
799
819
|
//#endregion
|
|
800
820
|
//#region Constructor
|
|
801
821
|
function Panorama(title, portalService) {
|
|
802
|
-
_super.call(this, portalService);
|
|
803
|
-
|
|
804
|
-
angularportalazure.Debug.write('[angularportalazure-debug] \'Panorama\' constructor called.', [
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
822
|
+
var _this = _super.call(this, portalService) || this;
|
|
823
|
+
_this.isVisible = true;
|
|
824
|
+
angularportalazure.Debug.write('[angularportalazure-debug] \'Panorama\' constructor called.', [_this, title]);
|
|
825
|
+
_this.title = title;
|
|
826
|
+
_this.portalService.panorama = _this;
|
|
827
|
+
_this.avatarMenu = new angularportalazure.AvatarMenu(_this.portalService);
|
|
828
|
+
_this.startboard = new angularportalazure.Startboard(_this.portalService);
|
|
829
|
+
return _this;
|
|
809
830
|
}
|
|
810
831
|
return Panorama;
|
|
811
832
|
}(angularportalazure.UserControlBase));
|
|
@@ -825,13 +846,14 @@ var angularportalazure;
|
|
|
825
846
|
//#endregion
|
|
826
847
|
//#region Constructor
|
|
827
848
|
function PortalShell(title, portalService) {
|
|
828
|
-
_super.call(this, portalService);
|
|
829
|
-
angularportalazure.Debug.write('[angularportalazure-debug] \'PortalShell\' constructor called.', [
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
849
|
+
var _this = _super.call(this, portalService) || this;
|
|
850
|
+
angularportalazure.Debug.write('[angularportalazure-debug] \'PortalShell\' constructor called.', [_this, title, portalService]);
|
|
851
|
+
_this.portalService = portalService;
|
|
852
|
+
_this.portalService.portalShell = _this;
|
|
853
|
+
_this.portalService.panorama = new angularportalazure.Panorama(title, _this.portalService);
|
|
854
|
+
_this.portalService.bladeArea = new angularportalazure.BladeArea(portalService);
|
|
855
|
+
_this.initialize();
|
|
856
|
+
return _this;
|
|
835
857
|
}
|
|
836
858
|
//#endregion
|
|
837
859
|
//#region Methods
|
|
@@ -887,10 +909,10 @@ var angularportalazure;
|
|
|
887
909
|
this.ngDialog = $injector.get('ngDialog');
|
|
888
910
|
this.ngDialog.openConfirm;
|
|
889
911
|
}
|
|
890
|
-
//#region Constructor
|
|
891
|
-
PortalService.$inject = ['$injector'];
|
|
892
912
|
return PortalService;
|
|
893
913
|
}());
|
|
914
|
+
//#region Constructor
|
|
915
|
+
PortalService.$inject = ['$injector'];
|
|
894
916
|
angularportalazure.PortalService = PortalService;
|
|
895
917
|
angular.module('angularportalazure').service('angularportalazure.portalService', PortalService);
|
|
896
918
|
})(angularportalazure || (angularportalazure = {}));
|
|
@@ -1102,8 +1124,9 @@ var angularportalazure;
|
|
|
1102
1124
|
function BladeData(portalService, path, title, subtitle, width) {
|
|
1103
1125
|
if (subtitle === void 0) { subtitle = ''; }
|
|
1104
1126
|
if (width === void 0) { width = 300; }
|
|
1105
|
-
_super.call(this, portalService, path, title, subtitle, width);
|
|
1106
|
-
angularportalazure.Debug.write('[angularportalazure-debug] \'BladeData\' constructor called.', [
|
|
1127
|
+
var _this = _super.call(this, portalService, path, title, subtitle, width) || this;
|
|
1128
|
+
angularportalazure.Debug.write('[angularportalazure-debug] \'BladeData\' constructor called.', [_this, portalService, path, title, subtitle, width]);
|
|
1129
|
+
return _this;
|
|
1107
1130
|
}
|
|
1108
1131
|
//#endregion
|
|
1109
1132
|
//#region Methods
|
|
@@ -1131,18 +1154,19 @@ var angularportalazure;
|
|
|
1131
1154
|
function BladeDetail(portalService, path, title, subtitle, width) {
|
|
1132
1155
|
if (subtitle === void 0) { subtitle = ''; }
|
|
1133
1156
|
if (width === void 0) { width = 200; }
|
|
1134
|
-
_super.call(this, portalService, path, title, subtitle, width);
|
|
1157
|
+
var _this = _super.call(this, portalService, path, title, subtitle, width) || this;
|
|
1135
1158
|
//#region Properties
|
|
1136
|
-
|
|
1137
|
-
angularportalazure.Debug.write('[angularportalazure-debug] \'BladeDetail\' constructor called.', [
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1159
|
+
_this.item = null;
|
|
1160
|
+
angularportalazure.Debug.write('[angularportalazure-debug] \'BladeDetail\' constructor called.', [_this, portalService, path, title, subtitle, width]);
|
|
1161
|
+
_this.isCommandNew = true;
|
|
1162
|
+
_this.commandNewText = 'neu';
|
|
1163
|
+
_this.isCommandSave = true;
|
|
1164
|
+
_this.commandSaveText = 'speichern';
|
|
1165
|
+
_this.isCommandDelete = true;
|
|
1166
|
+
_this.commandDeleteText = 'löschen';
|
|
1167
|
+
_this.isCommandCancel = true;
|
|
1168
|
+
_this.commandCancelText = 'abbrechen';
|
|
1169
|
+
return _this;
|
|
1146
1170
|
}
|
|
1147
1171
|
//#endregion
|
|
1148
1172
|
//#region Methods
|
|
@@ -1195,12 +1219,13 @@ var angularportalazure;
|
|
|
1195
1219
|
function BladeGrid(portalService, path, title, subtitle, width) {
|
|
1196
1220
|
if (subtitle === void 0) { subtitle = ''; }
|
|
1197
1221
|
if (width === void 0) { width = 200; }
|
|
1198
|
-
_super.call(this, portalService, path, title, subtitle, width);
|
|
1222
|
+
var _this = _super.call(this, portalService, path, title, subtitle, width) || this;
|
|
1199
1223
|
//#region Properties
|
|
1200
|
-
|
|
1201
|
-
angularportalazure.Debug.write('[angularportalazure-debug] \'BladeGrid\' constructor called.', [
|
|
1202
|
-
|
|
1203
|
-
|
|
1224
|
+
_this.items = [];
|
|
1225
|
+
angularportalazure.Debug.write('[angularportalazure-debug] \'BladeGrid\' constructor called.', [_this, portalService, path, title, subtitle, width]);
|
|
1226
|
+
_this.isCommandNew = true;
|
|
1227
|
+
_this.commandNewText = 'neu';
|
|
1228
|
+
return _this;
|
|
1204
1229
|
}
|
|
1205
1230
|
//#endregion
|
|
1206
1231
|
//#region Methods
|
|
@@ -1378,12 +1403,13 @@ var angularportalazure;
|
|
|
1378
1403
|
if (title === void 0) { title = ''; }
|
|
1379
1404
|
if (subtitle === void 0) { subtitle = ''; }
|
|
1380
1405
|
if (width === void 0) { width = 200; }
|
|
1381
|
-
_super.call(this, portalService, path, title, subtitle, width);
|
|
1406
|
+
var _this = _super.call(this, portalService, path, title, subtitle, width) || this;
|
|
1382
1407
|
//#region Properties
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
angularportalazure.Debug.write('[angularportalazure-debug] \'BladeNav\' constructor called.', [
|
|
1386
|
-
_super.prototype.navigateTo =
|
|
1408
|
+
_this.items = new Array();
|
|
1409
|
+
_this.isNav = true;
|
|
1410
|
+
angularportalazure.Debug.write('[angularportalazure-debug] \'BladeNav\' constructor called.', [_this, portalService, path, title, subtitle, width]);
|
|
1411
|
+
_super.prototype.navigateTo = _this.navigateTo;
|
|
1412
|
+
return _this;
|
|
1387
1413
|
}
|
|
1388
1414
|
return BladeNav;
|
|
1389
1415
|
}(angularportalazure.BladeData));
|
package/package.json
CHANGED
|
@@ -2,20 +2,20 @@
|
|
|
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.52",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@types/angular": "^1.5.
|
|
10
|
-
"@types/angular-resource": "^1.5.
|
|
9
|
+
"@types/angular": "^1.5.20",
|
|
10
|
+
"@types/angular-resource": "^1.5.8",
|
|
11
11
|
"@types/ng-dialog": "0.0.31",
|
|
12
|
-
"angular": "^1.5.
|
|
13
|
-
"angular-resource": "^1.5.
|
|
12
|
+
"angular": "^1.5.9",
|
|
13
|
+
"angular-resource": "^1.5.9",
|
|
14
14
|
"angulartics": "^1.3.0",
|
|
15
15
|
"angulartics-google-analytics": "^0.4.0",
|
|
16
16
|
"ng-dialog": "^0.6.4"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"typescript": "^2.
|
|
19
|
+
"typescript": "^2.1.4"
|
|
20
20
|
}
|
|
21
21
|
}
|