@ardimedia/angular-portal-azure 0.2.33 → 0.2.34

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.
Files changed (3) hide show
  1. package/apn.d.ts +0 -7
  2. package/apn.js +36 -34
  3. package/package.json +1 -1
package/apn.d.ts CHANGED
@@ -111,14 +111,7 @@ declare namespace angularportalazure {
111
111
  commandSwap: () => void;
112
112
  commandSwapText: string;
113
113
  /** Obsolete */
114
- blade: Blade;
115
114
  /** Obsolete */
116
- /** Obsolete */
117
- navGrid: {
118
- portalService: any;
119
- items: any[];
120
- navigateTo: (path: string) => void;
121
- };
122
115
  activate(): void;
123
116
  onActivate(): void;
124
117
  navigateTo(arg: any): void;
package/apn.js CHANGED
@@ -231,23 +231,15 @@ var angularportalazure;
231
231
  this.isCommandSwap = false;
232
232
  this.commandSwap = function () { this.onCommandSwap(); };
233
233
  this.commandSwapText = '';
234
- /** Obsolete */
235
- //isNavGrid: boolean;
236
- /** Obsolete */
237
- this.navGrid = {
238
- portalService: null,
239
- items: [],
240
- navigateTo: function (path) { }
241
- };
242
234
  angularportalazure.Debug.write('[angularportalazure-debug] \'Blade\' constructor called.', [this, portalService, path, title, subtitle, width]);
243
235
  var that = this;
244
- this.blade = this;
236
+ //this.blade = this;
245
237
  this.path = path;
246
238
  this.title = title;
247
239
  this.subTitle = subtitle;
248
240
  this.width.width = width + 'px';
249
241
  this.widthStackLayout.width = width - 50 + 'px';
250
- this.navGrid.portalService = portalService;
242
+ //this.navGrid.portalService = portalService;
251
243
  if (!portalService) {
252
244
  throw new Error('[angularportalazure.Blade] constructor parameter \'portalService\' must be provided.');
253
245
  }
@@ -275,7 +267,7 @@ var angularportalazure;
275
267
  // Register listener1
276
268
  this.listener1 = that.portalService.$rootScope.$on('BladeArea.AddBlade', function (event, args) {
277
269
  angularportalazure.Debug.write('[angularportalazure-debug] \'Blade\' BladeArea.AddBlade event processing.', [this, event, args]);
278
- if (that.blade.comparePaths(args.path, that.blade.path)) {
270
+ if (that.comparePaths(args.path, that.path)) {
279
271
  that.activate();
280
272
  }
281
273
  });
@@ -294,6 +286,16 @@ var angularportalazure;
294
286
  configurable: true
295
287
  });
296
288
  //#endregion
289
+ //#region OBSOLETE
290
+ /** Obsolete */
291
+ //blade: Blade;
292
+ /** Obsolete */
293
+ //navGrid = {
294
+ // portalService: null,
295
+ // items: [],
296
+ // navigateTo: function (path: string) { }
297
+ //};
298
+ //#endregion
297
299
  //#endregion
298
300
  //#region Methods
299
301
  //#region Methods
@@ -389,26 +391,26 @@ var angularportalazure;
389
391
  /** Obsolete */
390
392
  Blade.prototype.setObsoleteLayoutProperites = function () {
391
393
  angularportalazure.Debug.write('[angularportalazure-debug] \'Blade.setObsoleteLayoutProperites\' called.', [this]);
392
- this.blade.title = this.title;
393
- this.blade.statusbar = this.statusbar;
394
- this.blade.statusbarClass = this.statusbarClass;
395
- this.blade.isCommandBrowse = this.isCommandBrowse;
396
- this.blade.isCommandCancel = this.isCommandCancel;
397
- this.blade.isCommandCopy = this.isCommandCopy;
398
- this.blade.isCommandDelete = this.isCommandDelete;
399
- this.blade.isCommandDocument = this.isCommandDocument;
400
- this.blade.isCommandDocument2 = this.isCommandDocument2;
401
- this.blade.isCommandDocument3 = this.isCommandDocument3;
402
- this.blade.isCommandDocument4 = this.isCommandDocument4;
403
- this.blade.isCommandDocument5 = this.isCommandDocument5;
404
- this.blade.isCommandNew = this.isCommandNew;
405
- this.blade.isCommandOrder = this.isCommandOrder;
406
- this.blade.isCommandRestart = this.isCommandRestart;
407
- this.blade.isCommandSave = this.isCommandSave;
408
- this.blade.isCommandSearch = this.isCommandSearch;
409
- this.blade.isCommandStart = this.isCommandStart;
410
- this.blade.isCommandStop = this.isCommandStop;
411
- this.blade.isCommandSwap = this.isCommandSwap;
394
+ //this.blade.title = this.title;
395
+ //this.blade.statusbar = this.statusbar;
396
+ //this.blade.statusbarClass = this.statusbarClass;
397
+ //this.blade.isCommandBrowse = this.isCommandBrowse;
398
+ //this.blade.isCommandCancel = this.isCommandCancel;
399
+ //this.blade.isCommandCopy = this.isCommandCopy;
400
+ //this.blade.isCommandDelete = this.isCommandDelete;
401
+ //this.blade.isCommandDocument = this.isCommandDocument;
402
+ //this.blade.isCommandDocument2 = this.isCommandDocument2;
403
+ //this.blade.isCommandDocument3 = this.isCommandDocument3;
404
+ //this.blade.isCommandDocument4 = this.isCommandDocument4;
405
+ //this.blade.isCommandDocument5 = this.isCommandDocument5;
406
+ //this.blade.isCommandNew = this.isCommandNew;
407
+ //this.blade.isCommandOrder = this.isCommandOrder;
408
+ //this.blade.isCommandRestart = this.isCommandRestart;
409
+ //this.blade.isCommandSave = this.isCommandSave;
410
+ //this.blade.isCommandSearch = this.isCommandSearch;
411
+ //this.blade.isCommandStart = this.isCommandStart;
412
+ //this.blade.isCommandStop = this.isCommandStop;
413
+ //this.blade.isCommandSwap = this.isCommandSwap;
412
414
  };
413
415
  /** Obsolete */
414
416
  Blade.prototype.bladeClose = function () {
@@ -1280,9 +1282,9 @@ var angularportalazure;
1280
1282
  /** Obsolete */
1281
1283
  BladeList.prototype.setObsoleteLayoutProperites = function () {
1282
1284
  angularportalazure.Debug.write('[angularportalazure-debug] \'BladeList.setObsoleteLayoutProperites\' called.', [this]);
1283
- if (this.items.length !== 0) {
1284
- this.blade.navGrid.items = this.items; //--> needed, otherwise nav html pages will no longer work.
1285
- }
1285
+ //if (this.items.length !== 0) {
1286
+ // this.blade.navGrid.items = this.items; //--> needed, otherwise nav html pages will no longer work.
1287
+ //}
1286
1288
  _super.prototype.setObsoleteLayoutProperites.call(this);
1287
1289
  };
1288
1290
  return BladeList;
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.33",
5
+ "version": "0.2.34",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {