@kigi/components 1.45.0 → 1.45.1-beta.2
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 +1 -1
- package/src/components/mbg-average-customer-time/mbg-average-customer-time.html +33 -33
- package/src/components/mbg-average-customer-time/mbg-average-customer-time.scss +7 -0
- package/src/components/mbg-average-customer-time/mbg-average-customer-time.ts +4 -5
- package/src/components/mbg-store-goal/mbg-store-goal.scss +9 -7
- package/src/components/mbg-top-sellings-products/mbg-top-sellings-products.scss +9 -5
package/package.json
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
<div class="average-customer-time-wrapper"
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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,
|
|
@@ -4,6 +4,14 @@
|
|
|
4
4
|
overflow: hidden;
|
|
5
5
|
padding: 0px 16px;
|
|
6
6
|
|
|
7
|
+
.lock-permition {
|
|
8
|
+
.tooltip-inner {
|
|
9
|
+
background: #0EBCBD !important;
|
|
10
|
+
color: #000000 !important;
|
|
11
|
+
width: 300px;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
7
15
|
.loading-indicator {
|
|
8
16
|
display: flex;
|
|
9
17
|
align-items: center;
|
|
@@ -164,13 +172,7 @@
|
|
|
164
172
|
|
|
165
173
|
}
|
|
166
174
|
|
|
167
|
-
|
|
168
|
-
.tooltip-inner {
|
|
169
|
-
background: #0EBCBD !important;
|
|
170
|
-
color: #000000 !important;
|
|
171
|
-
width: 300px;
|
|
172
|
-
}
|
|
173
|
-
}
|
|
175
|
+
|
|
174
176
|
|
|
175
177
|
.goal-day {
|
|
176
178
|
display: flex;
|
|
@@ -6,6 +6,14 @@ mbg-top-sellings-products {
|
|
|
6
6
|
box-sizing: border-box;
|
|
7
7
|
// padding: 0px 16px;
|
|
8
8
|
}
|
|
9
|
+
|
|
10
|
+
.top-sellings-products-wrapper {
|
|
11
|
+
.tooltip-inner {
|
|
12
|
+
background: #0EBCBD !important;
|
|
13
|
+
font-weight: bold;
|
|
14
|
+
color: #FFFFFF;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
9
17
|
|
|
10
18
|
.loading-chart{
|
|
11
19
|
padding: 0;
|
|
@@ -167,11 +175,7 @@ mbg-top-sellings-products {
|
|
|
167
175
|
color: #5f5b5b;
|
|
168
176
|
}
|
|
169
177
|
|
|
170
|
-
|
|
171
|
-
background: #0EBCBD !important;
|
|
172
|
-
font-weight: bold;
|
|
173
|
-
color: #FFFFFF;
|
|
174
|
-
}
|
|
178
|
+
|
|
175
179
|
|
|
176
180
|
.line-block-top{
|
|
177
181
|
height: 1px;
|