@ardimedia/angular-portal-azure 0.2.284 → 0.2.285
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 -0
- package/apn.js +2 -0
- package/directives/blade/blade.html +2 -2
- package/package.json +1 -1
package/apn.d.ts
CHANGED
|
@@ -72,9 +72,11 @@ declare namespace angularportalazure {
|
|
|
72
72
|
commandCancel: () => void;
|
|
73
73
|
commandCancelText: string;
|
|
74
74
|
isCommandCopy: boolean;
|
|
75
|
+
isCommandCopyEnabled: boolean;
|
|
75
76
|
commandCopy: () => void;
|
|
76
77
|
commandCopyText: string;
|
|
77
78
|
isCommandDelete: boolean;
|
|
79
|
+
isCommandDeleteEnabled: boolean;
|
|
78
80
|
commandDelete: () => void;
|
|
79
81
|
commandDeleteText: string;
|
|
80
82
|
isCommandDocument: boolean;
|
package/apn.js
CHANGED
|
@@ -184,9 +184,11 @@ var angularportalazure;
|
|
|
184
184
|
_this.commandCancel = function () { _this.onCommandCancel(); };
|
|
185
185
|
_this.commandCancelText = '';
|
|
186
186
|
_this.isCommandCopy = false;
|
|
187
|
+
_this.isCommandCopyEnabled = true;
|
|
187
188
|
_this.commandCopy = function () { _this.onCommandCopy(); };
|
|
188
189
|
_this.commandCopyText = '';
|
|
189
190
|
_this.isCommandDelete = false;
|
|
191
|
+
_this.isCommandDeleteEnabled = true;
|
|
190
192
|
_this.commandDelete = function () { _this.onCommandDelete(); };
|
|
191
193
|
_this.commandDeleteText = '';
|
|
192
194
|
_this.isCommandDocument = false;
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
</a>
|
|
69
69
|
</li>
|
|
70
70
|
<!-- COPY -->
|
|
71
|
-
<li ng-show="$ctrl.vm.isCommandCopy">
|
|
71
|
+
<li ng-show="$ctrl.vm.isCommandCopy" ng-class="{'apa-disable-click': !$ctrl.vm.isCommandCopyEnabled}">
|
|
72
72
|
<a data-ng-click="$ctrl.vm.commandCopy()" class="fxs-commandBar-item" href="#"
|
|
73
73
|
data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
|
|
74
74
|
<div class="fxs-commandBar-item-text" data-bind="text: text()">{{$ctrl.vm.commandCopyText || 'kopieren'}}</div>
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
</a>
|
|
96
96
|
</li>
|
|
97
97
|
<!-- DELETE -->
|
|
98
|
-
<li ng-show="$ctrl.vm.isCommandDelete">
|
|
98
|
+
<li ng-show="$ctrl.vm.isCommandDelete" ng-class="{'apa-disable-click': !$ctrl.vm.isCommandDeleteEnabled}">
|
|
99
99
|
<a data-ng-click="$ctrl.vm.commandDelete()" class="fxs-commandBar-item" href="#" data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
|
|
100
100
|
<div class="fxs-commandBar-item-text" data-bind="text: text()">{{$ctrl.vm.commandDeleteText || 'löschen'}}</div>
|
|
101
101
|
<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.285",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|