@kigi/components 1.27.6-alpha → 1.27.7-alpha
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/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<div class="mbg-btn-form-wrapper"
|
|
2
2
|
ng-click="$ctrl.handleClick($event)">
|
|
3
3
|
<button type="button"
|
|
4
|
+
ng-class="{'btn-tray': $ctrl.trayIntegration}"
|
|
4
5
|
ng-disabled="$ctrl.ngDisabled || $ctrl.loading || $ctrl.virtualDisable">
|
|
5
6
|
<span ng-if="!$ctrl.loading && !$ctrl.virtualDisable">
|
|
6
7
|
{{$ctrl.label}}
|
|
@@ -8,4 +9,4 @@
|
|
|
8
9
|
<span ng-if="$ctrl.loading || $ctrl.virtualDisable"
|
|
9
10
|
class="mbg-btn-loading"></span>
|
|
10
11
|
</button>
|
|
11
|
-
</div>
|
|
12
|
+
</div>
|
|
@@ -7,6 +7,7 @@ class MbgBtnFormController {
|
|
|
7
7
|
private ngDisabled: boolean
|
|
8
8
|
private loading: boolean
|
|
9
9
|
private virtualDisable = false
|
|
10
|
+
private trayIntegration: boolean = false
|
|
10
11
|
|
|
11
12
|
constructor(public $scope, public $element, public $attrs, public $timeout) {}
|
|
12
13
|
|
|
@@ -23,7 +24,7 @@ class MbgBtnFormController {
|
|
|
23
24
|
}
|
|
24
25
|
}
|
|
25
26
|
}
|
|
26
|
-
MbgBtnFormController
|
|
27
|
+
MbgBtnFormController['$inject'] = ['$scope', '$element', '$attrs', '$timeout']
|
|
27
28
|
|
|
28
29
|
const mbgBtnForm = {
|
|
29
30
|
bindings: {
|
|
@@ -32,6 +33,7 @@ const mbgBtnForm = {
|
|
|
32
33
|
loading: '=?',
|
|
33
34
|
ngClick: '&?',
|
|
34
35
|
virtualDisable: `=?`,
|
|
36
|
+
trayIntegration: '=?',
|
|
35
37
|
},
|
|
36
38
|
template,
|
|
37
39
|
controller: MbgBtnFormController,
|