@ardimedia/angular-portal-azure 0.2.296 → 0.2.297
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 +13 -13
- package/apn.js +47 -55
- package/package.json +1 -1
package/apn.d.ts
CHANGED
|
@@ -23,6 +23,8 @@ declare namespace angularportalazure {
|
|
|
23
23
|
$scope: angular.IScope;
|
|
24
24
|
portalService: angularportalazure.PortalService;
|
|
25
25
|
windowResizeHandler: () => void;
|
|
26
|
+
statusBar: string;
|
|
27
|
+
statusBarClass: string;
|
|
26
28
|
/** angular1: $onInit(), $onChanges(changesObj), $doCheck(), $onDestroy(), $postLink() */
|
|
27
29
|
$onDestroy(): void;
|
|
28
30
|
/** angular2: ngOnChanges(), ngOnInit, ngDoCheck, ngAfterContentInit, ngAfterContentChecked, ngAfterViewInit, ngAfterViewChecked, ngOnDestroy */
|
|
@@ -32,6 +34,17 @@ declare namespace angularportalazure {
|
|
|
32
34
|
isNumberUndefinedNullOr0(value: number): boolean;
|
|
33
35
|
isStringNullOrEmpty(value: string): boolean;
|
|
34
36
|
getRandomString(length?: number): string;
|
|
37
|
+
clearStatusBar(): void;
|
|
38
|
+
setStatusBar(text?: string, style?: string): void;
|
|
39
|
+
setStatusBarCopyData(): void;
|
|
40
|
+
setStatusBarLoadData(): void;
|
|
41
|
+
setStatusBarSaveData(): void;
|
|
42
|
+
setStatusBarDeleteData(): void;
|
|
43
|
+
setStatusBarDeleteDataCanceled(): void;
|
|
44
|
+
setStatusBarInfo(text: string): void;
|
|
45
|
+
setStatusBarError(text: string): void;
|
|
46
|
+
setStatusBarNoDataFound(): void;
|
|
47
|
+
setStatusBarException(exception: angularportalazure.Exception): void;
|
|
35
48
|
}
|
|
36
49
|
}
|
|
37
50
|
declare namespace angularportalazure {
|
|
@@ -61,8 +74,6 @@ declare namespace angularportalazure {
|
|
|
61
74
|
'width': string;
|
|
62
75
|
};
|
|
63
76
|
isInnerHtml: boolean;
|
|
64
|
-
statusBar: string;
|
|
65
|
-
statusBarClass: string;
|
|
66
77
|
formblade: any;
|
|
67
78
|
private _path;
|
|
68
79
|
path: string;
|
|
@@ -136,17 +147,6 @@ declare namespace angularportalazure {
|
|
|
136
147
|
close(): void;
|
|
137
148
|
/** Override */
|
|
138
149
|
onClose(): boolean;
|
|
139
|
-
clearStatusBar(): void;
|
|
140
|
-
setStatusBar(text?: string, style?: string): void;
|
|
141
|
-
setStatusBarCopyData(): void;
|
|
142
|
-
setStatusBarLoadData(): void;
|
|
143
|
-
setStatusBarSaveData(): void;
|
|
144
|
-
setStatusBarDeleteData(): void;
|
|
145
|
-
setStatusBarDeleteDataCanceled(): void;
|
|
146
|
-
setStatusBarInfo(text: string): void;
|
|
147
|
-
setStatusBarError(text: string): void;
|
|
148
|
-
setStatusBarNoDataFound(): void;
|
|
149
|
-
setStatusBarException(exception: angularportalazure.Exception): void;
|
|
150
150
|
onCommandBrowse(): void;
|
|
151
151
|
onCommandCancel(): void;
|
|
152
152
|
onCommandCopy(): void;
|
package/apn.js
CHANGED
|
@@ -94,6 +94,8 @@ var angularportalazure;
|
|
|
94
94
|
var UserControlBase = /** @class */ (function () {
|
|
95
95
|
// #region Constructor
|
|
96
96
|
function UserControlBase($scope, portalService) {
|
|
97
|
+
this.statusBar = '';
|
|
98
|
+
this.statusBarClass = '';
|
|
97
99
|
this.$scope = $scope;
|
|
98
100
|
this.portalService = portalService;
|
|
99
101
|
}
|
|
@@ -121,13 +123,6 @@ var angularportalazure;
|
|
|
121
123
|
});
|
|
122
124
|
};
|
|
123
125
|
UserControlBase.prototype.isNumberUndefinedNullOr0 = function (value) {
|
|
124
|
-
//if ((typeof value == 'undefined')
|
|
125
|
-
// || (value == null)
|
|
126
|
-
// || (value == 0)) {
|
|
127
|
-
// return true;
|
|
128
|
-
//} else {
|
|
129
|
-
// return false;
|
|
130
|
-
//}
|
|
131
126
|
if (value && value > 0) {
|
|
132
127
|
return false;
|
|
133
128
|
}
|
|
@@ -147,6 +142,51 @@ var angularportalazure;
|
|
|
147
142
|
if (length === void 0) { length = 20; }
|
|
148
143
|
return 'a' + Math.round((Math.pow(36, length + 1) - Math.random() * Math.pow(36, length))).toString(36).replace('.', '').replace('(e+', '').replace(')', '').slice(1);
|
|
149
144
|
};
|
|
145
|
+
// #region Set StatusBar
|
|
146
|
+
UserControlBase.prototype.clearStatusBar = function () {
|
|
147
|
+
this.statusBar = '';
|
|
148
|
+
this.statusBarClass = '';
|
|
149
|
+
};
|
|
150
|
+
UserControlBase.prototype.setStatusBar = function (text, style) {
|
|
151
|
+
this.statusBar = text ? text : '';
|
|
152
|
+
this.statusBarClass = style ? style : '';
|
|
153
|
+
};
|
|
154
|
+
UserControlBase.prototype.setStatusBarCopyData = function () {
|
|
155
|
+
this.statusBar = 'Daten kopieren...';
|
|
156
|
+
this.statusBarClass = 'apa-statusbar-info';
|
|
157
|
+
};
|
|
158
|
+
UserControlBase.prototype.setStatusBarLoadData = function () {
|
|
159
|
+
this.statusBar = 'Daten laden...';
|
|
160
|
+
this.statusBarClass = 'apa-statusbar-info';
|
|
161
|
+
};
|
|
162
|
+
UserControlBase.prototype.setStatusBarSaveData = function () {
|
|
163
|
+
this.statusBar = 'Daten speichern...';
|
|
164
|
+
this.statusBarClass = 'apa-statusbar-info';
|
|
165
|
+
};
|
|
166
|
+
UserControlBase.prototype.setStatusBarDeleteData = function () {
|
|
167
|
+
this.statusBar = 'Daten löschen...';
|
|
168
|
+
this.statusBarClass = 'apa-statusbar-info';
|
|
169
|
+
};
|
|
170
|
+
UserControlBase.prototype.setStatusBarDeleteDataCanceled = function () {
|
|
171
|
+
this.statusBar = 'Löschen abgebrochen.';
|
|
172
|
+
this.statusBarClass = 'apa-statusbar-info';
|
|
173
|
+
};
|
|
174
|
+
UserControlBase.prototype.setStatusBarInfo = function (text) {
|
|
175
|
+
this.statusBar = text;
|
|
176
|
+
this.statusBarClass = 'apa-statusbar-info';
|
|
177
|
+
};
|
|
178
|
+
UserControlBase.prototype.setStatusBarError = function (text) {
|
|
179
|
+
this.statusBar = text;
|
|
180
|
+
this.statusBarClass = 'apa-statusbar-error';
|
|
181
|
+
};
|
|
182
|
+
UserControlBase.prototype.setStatusBarNoDataFound = function () {
|
|
183
|
+
this.statusBar = 'Keine Daten gefunden!';
|
|
184
|
+
this.statusBarClass = 'apa-statusbar-error';
|
|
185
|
+
};
|
|
186
|
+
UserControlBase.prototype.setStatusBarException = function (exception) {
|
|
187
|
+
this.statusBar = angularportalazure.Exception.getOneLineMessage(exception);
|
|
188
|
+
this.statusBarClass = 'apa-statusbar-error';
|
|
189
|
+
};
|
|
150
190
|
return UserControlBase;
|
|
151
191
|
}());
|
|
152
192
|
angularportalazure.UserControlBase = UserControlBase;
|
|
@@ -190,8 +230,6 @@ var angularportalazure;
|
|
|
190
230
|
_this.width = { 'width': '0' };
|
|
191
231
|
_this.widthStackLayout = { 'width': '50px' };
|
|
192
232
|
_this.isInnerHtml = true;
|
|
193
|
-
_this.statusBar = '';
|
|
194
|
-
_this.statusBarClass = '';
|
|
195
233
|
// #endregion
|
|
196
234
|
// #endregion
|
|
197
235
|
// #region Commands
|
|
@@ -351,52 +389,6 @@ var angularportalazure;
|
|
|
351
389
|
Blade.prototype.onClose = function () {
|
|
352
390
|
return true;
|
|
353
391
|
};
|
|
354
|
-
// #region Set StatusBar
|
|
355
|
-
Blade.prototype.clearStatusBar = function () {
|
|
356
|
-
this.statusBar = '';
|
|
357
|
-
this.statusBarClass = '';
|
|
358
|
-
};
|
|
359
|
-
Blade.prototype.setStatusBar = function (text, style) {
|
|
360
|
-
this.statusBar = text ? text : '';
|
|
361
|
-
this.statusBarClass = style ? style : '';
|
|
362
|
-
};
|
|
363
|
-
Blade.prototype.setStatusBarCopyData = function () {
|
|
364
|
-
this.statusBar = 'Daten kopieren...';
|
|
365
|
-
this.statusBarClass = 'apa-statusbar-info';
|
|
366
|
-
};
|
|
367
|
-
Blade.prototype.setStatusBarLoadData = function () {
|
|
368
|
-
this.statusBar = 'Daten laden...';
|
|
369
|
-
this.statusBarClass = 'apa-statusbar-info';
|
|
370
|
-
};
|
|
371
|
-
Blade.prototype.setStatusBarSaveData = function () {
|
|
372
|
-
this.statusBar = 'Daten speichern...';
|
|
373
|
-
this.statusBarClass = 'apa-statusbar-info';
|
|
374
|
-
};
|
|
375
|
-
Blade.prototype.setStatusBarDeleteData = function () {
|
|
376
|
-
this.statusBar = 'Daten löschen...';
|
|
377
|
-
this.statusBarClass = 'apa-statusbar-info';
|
|
378
|
-
};
|
|
379
|
-
Blade.prototype.setStatusBarDeleteDataCanceled = function () {
|
|
380
|
-
this.statusBar = 'Löschen abgebrochen.';
|
|
381
|
-
this.statusBarClass = 'apa-statusbar-info';
|
|
382
|
-
};
|
|
383
|
-
Blade.prototype.setStatusBarInfo = function (text) {
|
|
384
|
-
this.statusBar = text;
|
|
385
|
-
this.statusBarClass = 'apa-statusbar-info';
|
|
386
|
-
};
|
|
387
|
-
Blade.prototype.setStatusBarError = function (text) {
|
|
388
|
-
this.statusBar = text;
|
|
389
|
-
this.statusBarClass = 'apa-statusbar-error';
|
|
390
|
-
};
|
|
391
|
-
Blade.prototype.setStatusBarNoDataFound = function () {
|
|
392
|
-
this.statusBar = 'Keine Daten gefunden!';
|
|
393
|
-
this.statusBarClass = 'apa-statusbar-error';
|
|
394
|
-
};
|
|
395
|
-
Blade.prototype.setStatusBarException = function (exception) {
|
|
396
|
-
this.statusBar = angularportalazure.Exception.getOneLineMessage(exception);
|
|
397
|
-
this.statusBarClass = 'apa-statusbar-error';
|
|
398
|
-
};
|
|
399
|
-
// #endregion
|
|
400
392
|
// #region Commands
|
|
401
393
|
Blade.prototype.onCommandBrowse = function () {
|
|
402
394
|
throw new Error('[angularportalazure.Blade] \'onCommandBrowse\' is an abstract function. Define one in the derived class.');
|
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.297",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|