@kigi/components 1.45.0 → 1.45.1

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.45.0",
3
+ "version": "1.45.1",
4
4
  "description": "@kigi/components",
5
5
  "main": "src/components/index.ts",
6
6
  "scripts": {
@@ -1,39 +1,39 @@
1
- <div class="average-customer-time-wrapper"
2
- ng-if="!$ctrl.loading">
3
- <div class="row customer-average">
4
- <div class="description-container-dash"
5
- ng-show="$ctrl.percentagesReturnCustomerTime.length">
6
- <span class="description-dash">Tempo médio de retorno do cliente</span>
7
- <div class="mbg-h-c-tone-s-icon-dash">
8
- <i class="fa fa-lock lock-dash-store"
9
- aria-hidden="true"
10
- uib-tooltip="Sem permissão para visualizar"
11
- tooltip-placement="left"
12
- ng-if="$ctrl.isBlockValuesDashboarReturnCustomer"></i>
13
- <i class="fa fa-play-circle-o play-interval"
14
- uib-tooltip="Clique no painel e escolha um intervalo"
15
- aria-hidden="true"></i>
16
- <i ng-if="$ctrl.hideValue && !$ctrl.isBlockValuesDashboarReturnCustomer"
17
- disable-animate
18
- class="far fa-eye eye-board-target"
19
- ng-click="$ctrl.toggleShowValuesReturnCustomer(false)"></i>
20
- <i ng-if="!$ctrl.hideValue && !$ctrl.isBlockValuesDashboarReturnCustomer"
21
- ng-click="$ctrl.toggleShowValuesReturnCustomer(false)"
22
- disable-animate
23
- class="far fa-eye-slash eye-board-target"></i>
24
- </div>
25
-
26
- </div>
27
-
28
- <div class="line-pay"
29
- ng-if="!$ctrl.loading"></div>
30
- <div class="chart-container"
31
- id="container">
1
+ <div class="average-customer-time-wrapper">
2
+ <div class="row customer-average">
3
+ <div class="description-container-dash"
4
+ ng-show="$ctrl.percentagesReturnCustomerTime.length">
5
+ <span class="description-dash">Tempo médio de retorno do cliente</span>
6
+ <div class="mbg-h-c-tone-s-icon-dash">
7
+ <i class="fa fa-lock lock-dash-store"
8
+ aria-hidden="true"
9
+ uib-tooltip="Sem permissão para visualizar"
10
+ tooltip-placement="left"
11
+ ng-if="$ctrl.isBlockValuesDashboarReturnCustomer"></i>
12
+ <i class="fa fa-play-circle-o play-interval"
13
+ uib-tooltip="Clique no painel e escolha um intervalo"
14
+ aria-hidden="true"></i>
15
+ <i ng-if="$ctrl.hideValue && !$ctrl.isBlockValuesDashboarReturnCustomer"
16
+ disable-animate
17
+ class="far fa-eye eye-board-target"
18
+ ng-click="$ctrl.toggleShowValuesReturnCustomer(false)"></i>
19
+ <i ng-if="!$ctrl.hideValue && !$ctrl.isBlockValuesDashboarReturnCustomer"
20
+ ng-click="$ctrl.toggleShowValuesReturnCustomer(false)"
21
+ disable-animate
22
+ class="far fa-eye-slash eye-board-target"></i>
32
23
  </div>
33
- </div>
24
+
25
+ </div>
26
+
27
+ <div class="line-pay"
28
+ ng-if="!$ctrl.loading"
29
+ ></div>
30
+ <div class="chart-container"
31
+ id="container">
32
+ </div>
33
+ </div>
34
34
  </div>
35
35
 
36
36
  <div class="fake-chart"
37
37
  ng-if="$ctrl.loading">
38
- <mbg-skeleton></mbg-skeleton>
38
+ <mbg-skeleton></mbg-skeleton>
39
39
  </div>
@@ -17,7 +17,7 @@ class MbgAverageCustomerTimeController {
17
17
  private boundAdjustContainerWidth
18
18
  private allowDashBoardAutoValues
19
19
  private callBackInstanceZapi: Function
20
- private loadingChartCustomer: boolean
20
+
21
21
 
22
22
  constructor(
23
23
  public $scope,
@@ -29,7 +29,7 @@ class MbgAverageCustomerTimeController {
29
29
  ) {}
30
30
 
31
31
  async $onInit() {
32
- this.loadingChartCustomer = true
32
+
33
33
  this.isBlockValuesDashboarReturnCustomer =
34
34
  !this.allowedToSee || !this.isPermissionAverageCustomerReturnTime
35
35
  this.initialize()
@@ -127,8 +127,6 @@ class MbgAverageCustomerTimeController {
127
127
  }
128
128
  })
129
129
 
130
- this.loadingChartCustomer = false
131
-
132
130
  Highcharts.chart('container', {
133
131
  chart: {
134
132
  type: 'pie',
@@ -252,6 +250,7 @@ class MbgAverageCustomerTimeController {
252
250
  this.configPanelPercentagesReturnCustomerTime()
253
251
  }
254
252
  }
253
+
255
254
  MbgAverageCustomerTimeController['$inject'] = [
256
255
  '$scope',
257
256
  '$element',
@@ -270,7 +269,7 @@ const mbgAverageCustomerTime = {
270
269
  isBlockValuesDashboarReturnCustomer: '=?',
271
270
  allowDashBoardAutoValues: '=?',
272
271
  callBackInstanceZapi: '&?',
273
- loading: '=?',
272
+ loading: '=?'
274
273
  },
275
274
  template,
276
275
  controller: MbgAverageCustomerTimeController,