@kigi/components 1.19.2-beta.1 → 1.19.2-beta.3

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.19.2-beta.1",
3
+ "version": "1.19.2-beta.3",
4
4
  "description": "@kigi/components",
5
5
  "main": "src/components/index.ts",
6
6
  "scripts": {
@@ -41,9 +41,7 @@
41
41
  ng-click="$ctrl.handleDisplayValues()"><i class="fas fa-eye-slash"></i> <span>Esconder valores</span></a>
42
42
  </div>
43
43
  </div>
44
- <a target="_self" ng-click="$ctrl.redirectReport()" class="link">
45
- Gerar extrato
46
- </a>
44
+
47
45
  <div class="mbg-h-card-container">
48
46
  <mbg-card-typeone ng-repeat="card in $ctrl.cards"
49
47
  allowed-to-see="$ctrl.allowedToSee"
@@ -140,14 +140,5 @@ mbg-homescreen {
140
140
  }
141
141
  }
142
142
  }
143
- .link {
144
- color: #9c9c9c;
145
- display: flex;
146
- justify-content: center;
147
- top: 40px;
148
- position: relative;
149
- width: 10%;
150
- left: 40.5%;
151
- }
152
143
  }
153
144
  }
@@ -15,7 +15,7 @@ class MbgHomescreenController {
15
15
  private activeIndex: number
16
16
  private activeFilter: any
17
17
 
18
- constructor(public $scope, public $element, public $attrs, public $timeout, public $state) {}
18
+ constructor(public $scope, public $element, public $attrs, public $timeout) {}
19
19
 
20
20
  $onInit() {
21
21
  this.$scope.$watch('$ctrl.config', (data) => {
@@ -37,12 +37,6 @@ class MbgHomescreenController {
37
37
  })
38
38
  }
39
39
 
40
- redirectReport() {
41
- this.$state.go('app.mobiage-report.list-extract', {
42
- report: 'sales-and-payments',
43
- })
44
- }
45
-
46
40
  selectFilter(item) {
47
41
  if (this.tabs[this.activeIndex]) {
48
42
  this.tabs[this.activeIndex].filters = this.tabs[this.activeIndex].filters.map((tab) => {
@@ -81,7 +75,7 @@ class MbgHomescreenController {
81
75
  }
82
76
  }
83
77
 
84
- MbgHomescreenController['$inject'] = ['$scope', '$element', '$attrs', '$timeout', '$state']
78
+ MbgHomescreenController.$inject = ['$scope', '$element', '$attrs', '$timeout']
85
79
 
86
80
  const mbgHomescreen = {
87
81
  bindings: {
@@ -138,7 +138,7 @@ export class MbgSelectMultiListController {
138
138
 
139
139
  searchNgModel() {
140
140
  this.$timeout(() => {
141
- const search = (this.selectOptionRight !== "all" ? this.selectOptionRight : this.label).split(',')
141
+ const search = (this.selectOptionRight !== "issuername" ? this.selectOptionRight : this.label).split(',')
142
142
  const keys = search.map((word) => word.trim())
143
143
  const dataModel = JSON.parse(JSON.stringify(this.ngModel))
144
144
  const options = {