@ardimedia/angular-portal-azure 0.2.342 → 0.2.344
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 +18 -5
- package/apn.js +21 -10
- package/directives/blade/blade.html +15 -15
- package/package.json +1 -1
package/apn.d.ts
CHANGED
|
@@ -83,9 +83,11 @@ declare namespace angularportalazure {
|
|
|
83
83
|
private _path;
|
|
84
84
|
path: string;
|
|
85
85
|
isCommandBrowse: boolean;
|
|
86
|
+
isCommandBrowseEnabled: boolean;
|
|
86
87
|
commandBrowse: () => void;
|
|
87
88
|
commandBrowseText: string;
|
|
88
89
|
isCommandCancel: boolean;
|
|
90
|
+
isCommandCnacelEnabled: boolean;
|
|
89
91
|
commandCancel: () => void;
|
|
90
92
|
commandCancelText: string;
|
|
91
93
|
isCommandCopy: boolean;
|
|
@@ -97,27 +99,35 @@ declare namespace angularportalazure {
|
|
|
97
99
|
commandDelete: () => void;
|
|
98
100
|
commandDeleteText: string;
|
|
99
101
|
isCommandDocument: boolean;
|
|
102
|
+
isCommandDocumentEnabled: boolean;
|
|
100
103
|
commandDocument: () => void;
|
|
101
104
|
commandDocumentText: string;
|
|
102
105
|
isCommandDocument2: boolean;
|
|
106
|
+
isCommandDocument2Enabled: boolean;
|
|
103
107
|
commandDocument2: () => void;
|
|
104
108
|
commandDocument2Text: string;
|
|
105
109
|
isCommandDocument3: boolean;
|
|
110
|
+
isCommandDocument3Enabled: boolean;
|
|
106
111
|
commandDocument3: () => void;
|
|
107
112
|
commandDocument3Text: string;
|
|
108
113
|
isCommandDocument4: boolean;
|
|
114
|
+
isCommandDocument4Enabled: boolean;
|
|
109
115
|
commandDocument4: () => void;
|
|
110
116
|
commandDocument4Text: string;
|
|
111
117
|
isCommandDocument5: boolean;
|
|
118
|
+
isCommandDocument5Enabled: boolean;
|
|
112
119
|
commandDocument5: () => void;
|
|
113
120
|
commandDocument5Text: string;
|
|
114
121
|
isCommandNew: boolean;
|
|
122
|
+
isCommandNewEnabled: boolean;
|
|
115
123
|
commandNew: () => void;
|
|
116
124
|
commandNewText: string;
|
|
117
125
|
isCommandOrder: boolean;
|
|
126
|
+
isCommandOrderEnabled: boolean;
|
|
118
127
|
commandOrder: () => void;
|
|
119
128
|
commandOrderText: string;
|
|
120
129
|
isCommandRestart: boolean;
|
|
130
|
+
isCommandRestartEnabled: boolean;
|
|
121
131
|
commandRestart: () => void;
|
|
122
132
|
commandRestartText: string;
|
|
123
133
|
isCommandSave: boolean;
|
|
@@ -125,18 +135,23 @@ declare namespace angularportalazure {
|
|
|
125
135
|
commandSave: () => void;
|
|
126
136
|
commandSaveText: string;
|
|
127
137
|
isCommandSearch: boolean;
|
|
138
|
+
isCommandSearchEnabled: boolean;
|
|
128
139
|
commandSearch: () => void;
|
|
129
140
|
commandSearchText: string;
|
|
130
141
|
isCommandStart: boolean;
|
|
142
|
+
isCommandStartEnabled: boolean;
|
|
131
143
|
commandStart: () => void;
|
|
132
144
|
commandStartText: string;
|
|
133
145
|
isCommandStop: boolean;
|
|
146
|
+
isCommandStopEnabled: boolean;
|
|
134
147
|
commandStop: () => void;
|
|
135
148
|
commandStopText: string;
|
|
136
149
|
isCommandSwap: boolean;
|
|
150
|
+
isCommandSwapEnabled: boolean;
|
|
137
151
|
commandSwap: () => void;
|
|
138
152
|
commandSwapText: string;
|
|
139
153
|
isCommandExcel: boolean;
|
|
154
|
+
isCommandExcelEnabled: boolean;
|
|
140
155
|
commandExcel: () => void;
|
|
141
156
|
commandExcelText: string;
|
|
142
157
|
activate(): void;
|
|
@@ -234,7 +249,6 @@ declare namespace angularportalazure {
|
|
|
234
249
|
* THEN
|
|
235
250
|
* - call this.clearStatusBar()
|
|
236
251
|
* - set this.isCommandSaveEnabled = true
|
|
237
|
-
* - set this.isCommandDeleteEnabled = true
|
|
238
252
|
* - set this.item to the saved data
|
|
239
253
|
* - call this.onSavedItem()
|
|
240
254
|
* - returns the saved data
|
|
@@ -260,7 +274,6 @@ declare namespace angularportalazure {
|
|
|
260
274
|
* THEN
|
|
261
275
|
* - call this.clearStatusBar()
|
|
262
276
|
* - set this.isCommandSaveEnabled = true
|
|
263
|
-
* - set this.isCommandDeleteEnabled = true
|
|
264
277
|
* - call this.onSavedObject()
|
|
265
278
|
* - returns the saved data
|
|
266
279
|
* CATCH
|
|
@@ -288,16 +301,16 @@ declare namespace angularportalazure {
|
|
|
288
301
|
* Default behavior for executing
|
|
289
302
|
* - validates ngForm. if not valid, returns without executing
|
|
290
303
|
* - call this.setStatusBarInfo();
|
|
291
|
-
* - set this.
|
|
304
|
+
* - set this.isCommandStartEnabled = false
|
|
292
305
|
* - call this.onExecute()
|
|
293
306
|
* - call the provided function
|
|
294
307
|
* THEN
|
|
295
308
|
* - call this.clearStatusBar()
|
|
296
|
-
* - set this.
|
|
309
|
+
* - set this.isCommandStartEnabled = true
|
|
297
310
|
* - call this.onExecuted()
|
|
298
311
|
* - returns the data
|
|
299
312
|
* CATCH
|
|
300
|
-
* - set this.
|
|
313
|
+
* - set this.isCommandStartEnabled = true
|
|
301
314
|
* - call this.setStatusBarException
|
|
302
315
|
* - call this.onExecuteException
|
|
303
316
|
*/
|
package/apn.js
CHANGED
|
@@ -257,9 +257,11 @@ var angularportalazure;
|
|
|
257
257
|
// #endregion
|
|
258
258
|
// #region Commands
|
|
259
259
|
_this.isCommandBrowse = false;
|
|
260
|
+
_this.isCommandBrowseEnabled = true;
|
|
260
261
|
_this.commandBrowse = function () { _this.onCommandBrowse(); };
|
|
261
262
|
_this.commandBrowseText = '';
|
|
262
263
|
_this.isCommandCancel = false;
|
|
264
|
+
_this.isCommandCnacelEnabled = true;
|
|
263
265
|
_this.commandCancel = function () { _this.onCommandCancel(); };
|
|
264
266
|
_this.commandCancelText = '';
|
|
265
267
|
_this.isCommandCopy = false;
|
|
@@ -271,27 +273,35 @@ var angularportalazure;
|
|
|
271
273
|
_this.commandDelete = function () { _this.onCommandDelete(); };
|
|
272
274
|
_this.commandDeleteText = '';
|
|
273
275
|
_this.isCommandDocument = false;
|
|
276
|
+
_this.isCommandDocumentEnabled = true;
|
|
274
277
|
_this.commandDocument = function () { _this.onCommandDocument(); };
|
|
275
278
|
_this.commandDocumentText = '';
|
|
276
279
|
_this.isCommandDocument2 = false;
|
|
280
|
+
_this.isCommandDocument2Enabled = true;
|
|
277
281
|
_this.commandDocument2 = function () { _this.onCommandDocument2(); };
|
|
278
282
|
_this.commandDocument2Text = '';
|
|
279
283
|
_this.isCommandDocument3 = false;
|
|
284
|
+
_this.isCommandDocument3Enabled = true;
|
|
280
285
|
_this.commandDocument3 = function () { _this.onCommandDocument3(); };
|
|
281
286
|
_this.commandDocument3Text = '';
|
|
282
287
|
_this.isCommandDocument4 = false;
|
|
288
|
+
_this.isCommandDocument4Enabled = true;
|
|
283
289
|
_this.commandDocument4 = function () { _this.onCommandDocument4(); };
|
|
284
290
|
_this.commandDocument4Text = '';
|
|
285
291
|
_this.isCommandDocument5 = false;
|
|
292
|
+
_this.isCommandDocument5Enabled = true;
|
|
286
293
|
_this.commandDocument5 = function () { _this.onCommandDocument5(); };
|
|
287
294
|
_this.commandDocument5Text = '';
|
|
288
295
|
_this.isCommandNew = false;
|
|
296
|
+
_this.isCommandNewEnabled = true;
|
|
289
297
|
_this.commandNew = function () { _this.onCommandNew(); };
|
|
290
298
|
_this.commandNewText = '';
|
|
291
299
|
_this.isCommandOrder = false;
|
|
300
|
+
_this.isCommandOrderEnabled = true;
|
|
292
301
|
_this.commandOrder = function () { _this.onCommandOrder(); };
|
|
293
302
|
_this.commandOrderText = '';
|
|
294
303
|
_this.isCommandRestart = false;
|
|
304
|
+
_this.isCommandRestartEnabled = true;
|
|
295
305
|
_this.commandRestart = function () { _this.onCommandRestart(); };
|
|
296
306
|
_this.commandRestartText = '';
|
|
297
307
|
_this.isCommandSave = false;
|
|
@@ -299,18 +309,23 @@ var angularportalazure;
|
|
|
299
309
|
_this.commandSave = function () { _this.onCommandSave(); };
|
|
300
310
|
_this.commandSaveText = '';
|
|
301
311
|
_this.isCommandSearch = false;
|
|
312
|
+
_this.isCommandSearchEnabled = true;
|
|
302
313
|
_this.commandSearch = function () { _this.onCommandSearch(); };
|
|
303
314
|
_this.commandSearchText = '';
|
|
304
315
|
_this.isCommandStart = false;
|
|
316
|
+
_this.isCommandStartEnabled = true;
|
|
305
317
|
_this.commandStart = function () { _this.onCommandStart(); };
|
|
306
318
|
_this.commandStartText = '';
|
|
307
319
|
_this.isCommandStop = false;
|
|
320
|
+
_this.isCommandStopEnabled = true;
|
|
308
321
|
_this.commandStop = function () { _this.onCommandStop(); };
|
|
309
322
|
_this.commandStopText = '';
|
|
310
323
|
_this.isCommandSwap = false;
|
|
324
|
+
_this.isCommandSwapEnabled = true;
|
|
311
325
|
_this.commandSwap = function () { _this.onCommandSwap(); };
|
|
312
326
|
_this.commandSwapText = '';
|
|
313
327
|
_this.isCommandExcel = false;
|
|
328
|
+
_this.isCommandExcelEnabled = true;
|
|
314
329
|
_this.commandExcel = function () { _this.onCommandExcel(); };
|
|
315
330
|
_this.commandExcelText = '';
|
|
316
331
|
_this.vm = _this;
|
|
@@ -808,7 +823,6 @@ var angularportalazure;
|
|
|
808
823
|
* THEN
|
|
809
824
|
* - call this.clearStatusBar()
|
|
810
825
|
* - set this.isCommandSaveEnabled = true
|
|
811
|
-
* - set this.isCommandDeleteEnabled = true
|
|
812
826
|
* - set this.item to the saved data
|
|
813
827
|
* - call this.onSavedItem()
|
|
814
828
|
* - returns the saved data
|
|
@@ -829,7 +843,6 @@ var angularportalazure;
|
|
|
829
843
|
return func().then(function (data) {
|
|
830
844
|
_this.clearStatusBar();
|
|
831
845
|
_this.isCommandSaveEnabled = true;
|
|
832
|
-
_this.isCommandDeleteEnabled = true;
|
|
833
846
|
_this.item = data;
|
|
834
847
|
_this.onSavedItem();
|
|
835
848
|
return data;
|
|
@@ -860,7 +873,6 @@ var angularportalazure;
|
|
|
860
873
|
* THEN
|
|
861
874
|
* - call this.clearStatusBar()
|
|
862
875
|
* - set this.isCommandSaveEnabled = true
|
|
863
|
-
* - set this.isCommandDeleteEnabled = true
|
|
864
876
|
* - call this.onSavedObject()
|
|
865
877
|
* - returns the saved data
|
|
866
878
|
* CATCH
|
|
@@ -880,7 +892,6 @@ var angularportalazure;
|
|
|
880
892
|
return func().then(function (data) {
|
|
881
893
|
_this.clearStatusBar();
|
|
882
894
|
_this.isCommandSaveEnabled = true;
|
|
883
|
-
_this.isCommandDeleteEnabled = true;
|
|
884
895
|
_this.onSavedObject();
|
|
885
896
|
return data;
|
|
886
897
|
}).catch(function (ex) {
|
|
@@ -942,16 +953,16 @@ var angularportalazure;
|
|
|
942
953
|
* Default behavior for executing
|
|
943
954
|
* - validates ngForm. if not valid, returns without executing
|
|
944
955
|
* - call this.setStatusBarInfo();
|
|
945
|
-
* - set this.
|
|
956
|
+
* - set this.isCommandStartEnabled = false
|
|
946
957
|
* - call this.onExecute()
|
|
947
958
|
* - call the provided function
|
|
948
959
|
* THEN
|
|
949
960
|
* - call this.clearStatusBar()
|
|
950
|
-
* - set this.
|
|
961
|
+
* - set this.isCommandStartEnabled = true
|
|
951
962
|
* - call this.onExecuted()
|
|
952
963
|
* - returns the data
|
|
953
964
|
* CATCH
|
|
954
|
-
* - set this.
|
|
965
|
+
* - set this.isCommandStartEnabled = true
|
|
955
966
|
* - call this.setStatusBarException
|
|
956
967
|
* - call this.onExecuteException
|
|
957
968
|
*/
|
|
@@ -962,15 +973,15 @@ var angularportalazure;
|
|
|
962
973
|
return;
|
|
963
974
|
}
|
|
964
975
|
this.setStatusBarInfo(message);
|
|
965
|
-
this.
|
|
976
|
+
this.isCommandStartEnabled = false;
|
|
966
977
|
this.onExecute();
|
|
967
978
|
return func().then(function (data) {
|
|
968
979
|
_this.clearStatusBar();
|
|
969
|
-
_this.
|
|
980
|
+
_this.isCommandStartEnabled = true;
|
|
970
981
|
_this.onExecuted();
|
|
971
982
|
return data;
|
|
972
983
|
}).catch(function (ex) {
|
|
973
|
-
_this.
|
|
984
|
+
_this.isCommandStartEnabled = true;
|
|
974
985
|
_this.setStatusBarException(ex);
|
|
975
986
|
_this.onExecuteException(ex);
|
|
976
987
|
});
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
<a title="Fewer" class="fxs-commandBar-item fxs-commandBar-item-expandList" href="" data-bind="click: func._ellipsisCommandHandler, attr: { title: data.ellipsisCommandText }"></a>
|
|
32
32
|
</li>
|
|
33
33
|
<!-- SERACH -->
|
|
34
|
-
<li ng-show="$ctrl.vm.isCommandSearch">
|
|
34
|
+
<li ng-show="$ctrl.vm.isCommandSearch" ng-class="{'apa-disable-click': !$ctrl.vm.isCommandSearchEnabled}">
|
|
35
35
|
<a data-ng-click="$ctrl.vm.commandSearch()" class="fxs-commandBar-item" href="#"
|
|
36
36
|
data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
|
|
37
37
|
<div class="fxs-commandBar-item-text" data-bind="text: text()">{{$ctrl.vm.commandSearchText || 'suchen'}}</div>
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
</a>
|
|
47
47
|
</li>
|
|
48
48
|
<!-- ORDER -->
|
|
49
|
-
<li ng-show="$ctrl.vm.isCommandOrder">
|
|
49
|
+
<li ng-show="$ctrl.vm.isCommandOrder" ng-class="{'apa-disable-click': !$ctrl.vm.isCommandOrderEnabled}">
|
|
50
50
|
<a data-ng-click="$ctrl.vm.commandOrder()" class="fxs-commandBar-item" href="#"
|
|
51
51
|
data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
|
|
52
52
|
<div class="fxs-commandBar-item-text" data-bind="text: text()">{{$ctrl.vm.commandOrderText || 'bestellen'}}</div>
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
</a>
|
|
59
59
|
</li>
|
|
60
60
|
<!-- NEW -->
|
|
61
|
-
<li ng-show="$ctrl.vm.isCommandNew">
|
|
61
|
+
<li ng-show="$ctrl.vm.isCommandNew" ng-class="{'apa-disable-click': !$ctrl.vm.isCommandNewEnabled}">
|
|
62
62
|
<a data-ng-click="$ctrl.vm.commandNew()" class="fxs-commandBar-item" href="#"
|
|
63
63
|
data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
|
|
64
64
|
<div class="fxs-commandBar-item-text" data-bind="text: text()">{{$ctrl.vm.commandNewText || 'neu'}}</div>
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
</a>
|
|
111
111
|
</li>
|
|
112
112
|
<!-- BROWSE -->
|
|
113
|
-
<li ng-show="$ctrl.vm.isCommandBrowse">
|
|
113
|
+
<li ng-show="$ctrl.vm.isCommandBrowse" ng-class="{'apa-disable-click': !$ctrl.vm.isCommandBrowseEnabled}">
|
|
114
114
|
<a data-ng-click="$ctrl.vm.commandBrowse()" class="fxs-commandBar-item" href="#" data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
|
|
115
115
|
<div class="fxs-commandBar-item-text" data-bind="text: text()">{{$ctrl.vm.commandBrowseText || 'Browse'}}</div>
|
|
116
116
|
<div class="fxs-commandBar-item-icon" data-bind="image: icon">
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
</a>
|
|
120
120
|
</li>
|
|
121
121
|
<!-- START -->
|
|
122
|
-
<li ng-show="$ctrl.vm.isCommandStart">
|
|
122
|
+
<li ng-show="$ctrl.vm.isCommandStart" ng-class="{'apa-disable-click': !$ctrl.vm.isCommandStartEnabled}">
|
|
123
123
|
<a data-ng-click="$ctrl.vm.commandStart()" class="fxs-commandBar-item" href="#" data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
|
|
124
124
|
<div class="fxs-commandBar-item-text" data-bind="text: text()">{{$ctrl.vm.commandStartText || 'Start'}}</div>
|
|
125
125
|
<div class="fxs-commandBar-item-icon" data-bind="image: icon">
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
</a>
|
|
129
129
|
</li>
|
|
130
130
|
<!-- STOP -->
|
|
131
|
-
<li ng-show="$ctrl.vm.isCommandStop">
|
|
131
|
+
<li ng-show="$ctrl.vm.isCommandStop" ng-class="{'apa-disable-click': !$ctrl.vm.isCommandStopEnabled}">
|
|
132
132
|
<a data-ng-click="$ctrl.vm.commandStop()" class="fxs-commandBar-item" href="#" data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
|
|
133
133
|
<div class="fxs-commandBar-item-text" data-bind="text: text()">{{$ctrl.vm.commandStopText || 'Stop'}}</div>
|
|
134
134
|
<div class="fxs-commandBar-item-icon" data-bind="image: icon">
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
</a>
|
|
138
138
|
</li>
|
|
139
139
|
<!-- RESTART -->
|
|
140
|
-
<li ng-show="$ctrl.vm.isCommandRestart">
|
|
140
|
+
<li ng-show="$ctrl.vm.isCommandRestart" ng-class="{'apa-disable-click': !$ctrl.vm.isCommandRestartEnabled}">
|
|
141
141
|
<a data-ng-click="$ctrl.vm.commandRestart()" class="fxs-commandBar-item" href="#" data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
|
|
142
142
|
<div class="fxs-commandBar-item-text" data-bind="text: text()">{{$ctrl.vm.commandRestartText || 'Restart'}}</div>
|
|
143
143
|
<div class="fxs-commandBar-item-icon" data-bind="image: icon">
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
</a>
|
|
147
147
|
</li>
|
|
148
148
|
<!-- SWAP -->
|
|
149
|
-
<li ng-show="$ctrl.vm.isCommandSwap">
|
|
149
|
+
<li ng-show="$ctrl.vm.isCommandSwap" ng-class="{'apa-disable-click': !$ctrl.vm.isCommandSwapEnabled}">
|
|
150
150
|
<a data-ng-click="$ctrl.vm.commandSwap()" class="fxs-commandBar-item" href="#" data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
|
|
151
151
|
<div class="fxs-commandBar-item-text" data-bind="text: text()">{{$ctrl.vm.commandSwapText || 'Swap'}}</div>
|
|
152
152
|
<div class="fxs-commandBar-item-icon" data-bind="image: icon">
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
</a>
|
|
156
156
|
</li>
|
|
157
157
|
<!-- CANCEL -->
|
|
158
|
-
<li ng-show="$ctrl.vm.isCommandCancel">
|
|
158
|
+
<li ng-show="$ctrl.vm.isCommandCancel" ng-class="{'apa-disable-click': !$ctrl.vm.isCommandCancelEnabled}">
|
|
159
159
|
<a data-ng-click="$ctrl.vm.commandCancel()" class="fxs-commandBar-item" href="#" data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
|
|
160
160
|
<div class="fxs-commandBar-item-text" data-bind="text: text()">{{$ctrl.vm.commandCancelText || 'abbrechen'}}</div>
|
|
161
161
|
<div class="fxs-commandBar-item-icon" data-bind="image: icon">
|
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
</a>
|
|
165
165
|
</li>
|
|
166
166
|
<!-- EXCEL -->
|
|
167
|
-
<li ng-show="$ctrl.vm.isCommandExcel">
|
|
167
|
+
<li ng-show="$ctrl.vm.isCommandExcel" ng-class="{'apa-disable-click': !$ctrl.vm.isCommandExcelEnabled}">
|
|
168
168
|
<a data-ng-click="$ctrl.vm.commandExcel()" class="fxs-commandBar-item" href="#" data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
|
|
169
169
|
<div class="fxs-commandBar-item-text" data-bind="text: text()">{{$ctrl.vm.commandExcelText || 'Export Excel'}}</div>
|
|
170
170
|
<div class="apa-commandbar-icon">
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
</a>
|
|
174
174
|
</li>
|
|
175
175
|
<!-- DOCUMENT -->
|
|
176
|
-
<li ng-show="$ctrl.vm.isCommandDocument">
|
|
176
|
+
<li ng-show="$ctrl.vm.isCommandDocument" ng-class="{'apa-disable-click': !$ctrl.vm.isCommandDocumentEnabled}">
|
|
177
177
|
<a data-ng-click="$ctrl.vm.commandDocument()" class="fxs-commandBar-item" href="#" data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
|
|
178
178
|
<div class="fxs-commandBar-item-text" data-bind="text: text()">{{$ctrl.vm.commandDocumentText || 'Dokument'}}</div>
|
|
179
179
|
<div class="fxs-commandBar-item-icon" data-bind="image: icon">
|
|
@@ -184,7 +184,7 @@
|
|
|
184
184
|
</a>
|
|
185
185
|
</li>
|
|
186
186
|
<!-- DOCUMENT2 -->
|
|
187
|
-
<li ng-show="$ctrl.vm.isCommandDocument2">
|
|
187
|
+
<li ng-show="$ctrl.vm.isCommandDocument2" ng-class="{'apa-disable-click': !$ctrl.vm.isCommandDocument2Enabled}">
|
|
188
188
|
<a data-ng-click="$ctrl.vm.commandDocument2()" class="fxs-commandBar-item" href="#" data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
|
|
189
189
|
<div class="fxs-commandBar-item-text" data-bind="text: text()">{{$ctrl.vm.commandDocument2Text || 'Dokument'}}</div>
|
|
190
190
|
<div class="fxs-commandBar-item-icon" data-bind="image: icon">
|
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
</a>
|
|
196
196
|
</li>
|
|
197
197
|
<!-- DOCUMENT3 -->
|
|
198
|
-
<li ng-show="$ctrl.vm.isCommandDocument3">
|
|
198
|
+
<li ng-show="$ctrl.vm.isCommandDocument3" ng-class="{'apa-disable-click': !$ctrl.vm.isCommandDocument3Enabled}">
|
|
199
199
|
<a data-ng-click="$ctrl.vm.commandDocument3()" class="fxs-commandBar-item" href="#" data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
|
|
200
200
|
<div class="fxs-commandBar-item-text" data-bind="text: text()">{{$ctrl.vm.commandDocument3Text || 'Dokument'}}</div>
|
|
201
201
|
<div class="fxs-commandBar-item-icon" data-bind="image: icon">
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
</a>
|
|
207
207
|
</li>
|
|
208
208
|
<!-- DOCUMENT4 -->
|
|
209
|
-
<li ng-show="$ctrl.vm.isCommandDocument4">
|
|
209
|
+
<li ng-show="$ctrl.vm.isCommandDocument4" ng-class="{'apa-disable-click': !$ctrl.vm.isCommandDocument4Enabled}">
|
|
210
210
|
<a data-ng-click="$ctrl.vm.commandDocument4()" class="fxs-commandBar-item" href="#" data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
|
|
211
211
|
<div class="fxs-commandBar-item-text" data-bind="text: text()">{{$ctrl.vm.commandDocument4Text || 'Dokument'}}</div>
|
|
212
212
|
<div class="fxs-commandBar-item-icon" data-bind="image: icon">
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
</a>
|
|
218
218
|
</li>
|
|
219
219
|
<!-- Document5 -->
|
|
220
|
-
<li ng-show="$ctrl.vm.isCommandDocument5">
|
|
220
|
+
<li ng-show="$ctrl.vm.isCommandDocument5" ng-class="{'apa-disable-click': !$ctrl.vm.isCommandDocument5Enabled}">
|
|
221
221
|
<a data-ng-click="$ctrl.vm.commandDocument5()" class="fxs-commandBar-item" href="#" data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
|
|
222
222
|
<div class="fxs-commandBar-item-text" data-bind="text: text()">{{$ctrl.vm.commandDocument5Text || 'Dokument'}}</div>
|
|
223
223
|
<div class="fxs-commandBar-item-icon" data-bind="image: icon">
|
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.344",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|