@kigi/components 1.23.0-release → 1.24.0

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,6 @@
1
1
  {
2
2
  "name": "@kigi/components",
3
- "version": "1.23.0-release",
3
+ "version": "1.24.0",
4
4
  "description": "@kigi/components",
5
5
  "main": "src/components/index.ts",
6
6
  "scripts": {
@@ -97,4 +97,4 @@
97
97
  "webpack": "^2.5.1",
98
98
  "webpack-dev-server": "^2.6.1"
99
99
  }
100
- }
100
+ }
@@ -27,7 +27,8 @@
27
27
  align-items: center;
28
28
  color: var(--neutral2);
29
29
  padding: 6px 20px;
30
-
30
+ width: 100%;
31
+
31
32
  i {
32
33
  color: var(--neutral2);
33
34
  margin-right: 10px;
@@ -76,7 +76,7 @@ class MbgDropdownController {
76
76
  }
77
77
  }
78
78
 
79
- MbgDropdownController.$inject = ['$scope', '$element', '$attrs', '$timeout']
79
+ MbgDropdownController['.$inject'] = ['$scope', '$element', '$attrs', '$timeout']
80
80
 
81
81
  const mbgDropdown = {
82
82
  bindings: {
@@ -25,7 +25,7 @@ export class MbgListController {
25
25
  public dinamic
26
26
  public dinamicColumns
27
27
 
28
- constructor(public $scope, public $element, public $attrs, public $timeout, public $transclude) {}
28
+ constructor(public $scope, public $element, public $attrs, public $timeout, public $transclude) { }
29
29
 
30
30
  $onInit() {
31
31
  this.enableOnSelectByRow =
@@ -264,7 +264,7 @@ export class MbgListController {
264
264
  )
265
265
  }) %
266
266
  2 ===
267
- 0
267
+ 0
268
268
  ? '#eaeaea'
269
269
  : '#F5F5F5',
270
270
  }
@@ -23,12 +23,16 @@
23
23
  </mbg-input-search>
24
24
  <div ng-if="$ctrl.listHeaderDataTransclude"
25
25
  mbg-dynamic-html="$ctrl.listHeaderDataTransclude"></div>
26
- <div class="mbg-multi-list-wrapper"
27
- ng-show="$ctrl.data.length > 0">
26
+ <div class="mbg-multi-list-wrapper">
28
27
  <div ng-if="$ctrl.listRowTransclude"
29
28
  ng-click="$ctrl.selectRow($row)"
30
29
  ng-repeat="$row in $ctrl.data track by $index"
31
- mbg-dynamic-html="$ctrl.listRowTransclude"></div>
30
+ mbg-dynamic-html="$ctrl.listRowTransclude">
31
+ </div>
32
+ <div ng-show="!$ctrl.data.length"
33
+ class="not-data">
34
+ <span>Todos os cheques dessa página já foram selecionados.</span>
35
+ </div>
32
36
  <div class="row-content"
33
37
  ng-click="$ctrl.selectRow($row)"
34
38
  ng-if="!$ctrl.listRowTransclude && $ctrl.label"
@@ -40,8 +44,7 @@
40
44
  ng-show="$ctrl.count">
41
45
  <span>{{$ctrl.data.length}} / {{$ctrl.count}}</span>
42
46
  </div>
43
- <div class="row m-b-24 m-t-14"
44
- ng-show="$ctrl.pagination.data.length > 0">
47
+ <div class="row m-b-24 m-t-14">
45
48
  <div class="col-md-12">
46
49
  <mbg-pagination active-page="$ctrl.pagination.page"
47
50
  page-size="$ctrl.pagination.pageSize"
@@ -1,11 +1,11 @@
1
1
  .mbg-select-multi-list-wrapper {
2
- .message-text{
2
+ .message-text {
3
3
  display: flex;
4
4
  justify-content: center;
5
5
  align-items: center;
6
6
  padding-top: 102px;
7
- margin-bottom: 152px;
8
- }
7
+ margin-bottom: 152px;
8
+ }
9
9
 
10
10
  mbg-input-search .mbg-input-search-wrapper .input-group-search {
11
11
  border: none;
@@ -17,11 +17,19 @@
17
17
 
18
18
  .mbg-multi-list-wrapper {
19
19
  max-height: 280px;
20
+ height: 280px;
20
21
  overflow: auto;
21
22
  padding: 14px 14px 6px 14px;
22
23
  background-color: #f5f5f5;
23
24
  }
24
-
25
+ .not-data {
26
+ display: flex;
27
+ width: 100%;
28
+ overflow: hidden;
29
+ height: 260px;
30
+ justify-content: center;
31
+ align-items: center;
32
+ }
25
33
  .row-content {
26
34
  align-items: center;
27
35
  border-radius: 5px;
@@ -35,7 +43,7 @@
35
43
  cursor: pointer;
36
44
 
37
45
  &:hover {
38
- opacity: 0.7;
46
+ opacity: 0.7;
39
47
  }
40
48
  }
41
49
 
@@ -1,6 +1,7 @@
1
- <div class="mbg-text-wrapper mb-text-area-wrapper">
1
+ <div class="mbg-text-wrapper mbg-text-area-wrapper">
2
2
  <textarea type="text"
3
3
  ng-model="$ctrl.ngModel"
4
+ ng-class="{'max-height': $ctrl.maxHeight}"
4
5
  ng-change="$ctrl.onChange()"
5
6
  ng-required="$ctrl.ngRequired"
6
7
  ng-disabled="$ctrl.ngDisabled"
@@ -1,3 +1,9 @@
1
- // .mbg-text-area-wrapper {
2
-
3
- // }
1
+ .mbg-text-wrapper {
2
+
3
+ .max-height{
4
+ min-height: 42px;
5
+ max-height: 65px;
6
+ height: 42px;
7
+ padding: 11px;
8
+ }
9
+ }
@@ -22,7 +22,7 @@ class MbgTextAreaController {
22
22
  }
23
23
  }
24
24
  }
25
- MbgTextAreaController.$inject = ['$scope', '$element', '$attrs']
25
+ MbgTextAreaController['$inject'] = ['$scope', '$element', '$attrs']
26
26
 
27
27
  const mbgTextArea = {
28
28
  bindings: {
@@ -37,6 +37,7 @@ const mbgTextArea = {
37
37
  ngKeydown: '&?',
38
38
  placeholder: '@?',
39
39
  maxLength: '@?',
40
+ maxHeight: '=?'
40
41
  },
41
42
  template,
42
43
  controller: MbgTextAreaController,