@ardimedia/angular-portal-azure 0.2.44 → 0.2.45
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 +15 -15
- package/directives/blade/blade.html +2 -2
- package/package.json +1 -1
package/apn.d.ts
CHANGED
|
@@ -339,7 +339,7 @@ declare namespace angularportalazure {
|
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
341
|
declare namespace angularportalazure {
|
|
342
|
-
class
|
|
342
|
+
class BladeGrid extends angularportalazure.BladeData {
|
|
343
343
|
items: any[];
|
|
344
344
|
constructor(portalService: angularportalazure.PortalService, path: string, title: string, subtitle?: string, width?: number);
|
|
345
345
|
activate(): void;
|
package/apn.js
CHANGED
|
@@ -1181,24 +1181,24 @@ var angularportalazure;
|
|
|
1181
1181
|
/// <reference path="portalservice.ts" />
|
|
1182
1182
|
var angularportalazure;
|
|
1183
1183
|
(function (angularportalazure) {
|
|
1184
|
-
var
|
|
1185
|
-
__extends(
|
|
1184
|
+
var BladeGrid = (function (_super) {
|
|
1185
|
+
__extends(BladeGrid, _super);
|
|
1186
1186
|
//#endregion
|
|
1187
1187
|
//#region Constructor
|
|
1188
|
-
function
|
|
1188
|
+
function BladeGrid(portalService, path, title, subtitle, width) {
|
|
1189
1189
|
if (subtitle === void 0) { subtitle = ''; }
|
|
1190
1190
|
if (width === void 0) { width = 200; }
|
|
1191
1191
|
_super.call(this, portalService, path, title, subtitle, width);
|
|
1192
1192
|
//#region Properties
|
|
1193
1193
|
this.items = [];
|
|
1194
|
-
angularportalazure.Debug.write('[angularportalazure-debug] \'
|
|
1194
|
+
angularportalazure.Debug.write('[angularportalazure-debug] \'BladeGrid\' constructor called.', [this, portalService, path, title, subtitle, width]);
|
|
1195
1195
|
this.isCommandNew = true;
|
|
1196
1196
|
this.commandNewText = 'neu';
|
|
1197
1197
|
}
|
|
1198
1198
|
//#endregion
|
|
1199
1199
|
//#region Methods
|
|
1200
|
-
|
|
1201
|
-
angularportalazure.Debug.write('[angularportalazure-debug] \'
|
|
1200
|
+
BladeGrid.prototype.activate = function () {
|
|
1201
|
+
angularportalazure.Debug.write('[angularportalazure-debug] \'BladeGrid.activate\' called.', [this]);
|
|
1202
1202
|
var that = this;
|
|
1203
1203
|
that.statusbar = 'Daten laden...';
|
|
1204
1204
|
that.statusbarClass = '';
|
|
@@ -1209,10 +1209,10 @@ var angularportalazure;
|
|
|
1209
1209
|
that.loadItems(onActivate);
|
|
1210
1210
|
}
|
|
1211
1211
|
};
|
|
1212
|
-
|
|
1213
|
-
throw new Error('[angularportalazure.
|
|
1212
|
+
BladeGrid.prototype.onActivate = function () {
|
|
1213
|
+
throw new Error('[angularportalazure.BladeGrid] \'onActivate\' is an abstract function. Define one in the derived class.');
|
|
1214
1214
|
};
|
|
1215
|
-
|
|
1215
|
+
BladeGrid.prototype.loadItems = function (f) {
|
|
1216
1216
|
var that = this;
|
|
1217
1217
|
f.success(function (data) {
|
|
1218
1218
|
that.items = data;
|
|
@@ -1224,8 +1224,8 @@ var angularportalazure;
|
|
|
1224
1224
|
});
|
|
1225
1225
|
};
|
|
1226
1226
|
//#region Filter
|
|
1227
|
-
|
|
1228
|
-
angularportalazure.Debug.write('[angularportalazure-debug] \'
|
|
1227
|
+
BladeGrid.prototype.onFilter = function (actual, expected) {
|
|
1228
|
+
angularportalazure.Debug.write('[angularportalazure-debug] \'BladeGrid.filter\' called.', [this, actual, expected]);
|
|
1229
1229
|
//#region Documentation
|
|
1230
1230
|
// > onFilter will be called for each item in an array
|
|
1231
1231
|
// > If the item is an native type (string, number), the filter will be called with the native type in the parameter 'actual'
|
|
@@ -1310,17 +1310,17 @@ var angularportalazure;
|
|
|
1310
1310
|
//#endregion
|
|
1311
1311
|
//#region OBSOLETE
|
|
1312
1312
|
/** Obsolete */
|
|
1313
|
-
|
|
1314
|
-
angularportalazure.Debug.write('[angularportalazure-debug] \'
|
|
1313
|
+
BladeGrid.prototype.setObsoleteLayoutProperites = function () {
|
|
1314
|
+
angularportalazure.Debug.write('[angularportalazure-debug] \'BladeGrid.setObsoleteLayoutProperites\' called.', [this]);
|
|
1315
1315
|
if (this.items.length !== 0) {
|
|
1316
1316
|
this.blade.navGrid.items = this.items; //--> needed, otherwise nav html pages will no longer work.
|
|
1317
1317
|
}
|
|
1318
1318
|
this.blade.isNavGrid = this.isNavGrid;
|
|
1319
1319
|
_super.prototype.setObsoleteLayoutProperites.call(this);
|
|
1320
1320
|
};
|
|
1321
|
-
return
|
|
1321
|
+
return BladeGrid;
|
|
1322
1322
|
}(angularportalazure.BladeData));
|
|
1323
|
-
angularportalazure.
|
|
1323
|
+
angularportalazure.BladeGrid = BladeGrid;
|
|
1324
1324
|
})(angularportalazure || (angularportalazure = {}));
|
|
1325
1325
|
/// <reference path="debug.ts" />
|
|
1326
1326
|
/// <reference path="bladenav.ts" />
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<section data-ng-form="formblade" class="fxs-blade-locked fxs-blade fx-rightClick fxs-bladesize-small" ng-style="$ctrl.vm.width">
|
|
1
|
+
<section data-ng-form="formblade" class="fxs-blade-locked fxs-blade fx-rightClick fxs-bladesize-small" ng-style="$ctrl.vm.blade.width">
|
|
2
2
|
<header class="fxs-blade-header">
|
|
3
3
|
<div class="fxs-blade-statusbar-wrapper">
|
|
4
4
|
<div class="fxs-blade-statusbar">
|
|
@@ -228,7 +228,7 @@
|
|
|
228
228
|
</div>
|
|
229
229
|
</header>
|
|
230
230
|
<div class="fxs-blade-content fxs-pannable" style="height:calc(100% - 175px);">
|
|
231
|
-
<div class="fxs-blade-stacklayout fxs-stacklayout fxs-stacklayout-vertical" ng-style="$ctrl.vm.widthStackLayout">
|
|
231
|
+
<div class="fxs-blade-stacklayout fxs-stacklayout fxs-stacklayout-vertical" ng-style="$ctrl.vm.blade.widthStackLayout">
|
|
232
232
|
<div class="fxs-stacklayout-child">
|
|
233
233
|
<div class="fxs-lens">
|
|
234
234
|
<h2 class="fxs-lens-title"></h2>
|
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.45",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|