@kigi/components 1.45.1 → 1.46.0-beta.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 +1 -1
- package/src/components/mbg-average-customer-time/mbg-average-customer-time.scss +7 -5
- package/src/components/mbg-select/mbg-select.ts +5 -0
- 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
|
@@ -6,6 +6,13 @@ mbg-average-customer-time {
|
|
|
6
6
|
box-sizing: border-box;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
+
.average-customer-time-wrapper {
|
|
10
|
+
.tooltip-inner {
|
|
11
|
+
background: #0EBCBD !important;
|
|
12
|
+
width: 250px;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
9
16
|
.customer-average {
|
|
10
17
|
padding: 0px 32px;
|
|
11
18
|
}
|
|
@@ -25,12 +32,7 @@ mbg-average-customer-time {
|
|
|
25
32
|
.opacity-dash{
|
|
26
33
|
opacity: 0.6;
|
|
27
34
|
}
|
|
28
|
-
.tooltip-inner {
|
|
29
|
-
background: #0EBCBD !important;
|
|
30
|
-
width: 250px;
|
|
31
|
-
}
|
|
32
35
|
|
|
33
|
-
|
|
34
36
|
.play-interval{
|
|
35
37
|
color: #0EBCBD;
|
|
36
38
|
}
|
|
@@ -48,6 +48,7 @@ class MbgSelectController {
|
|
|
48
48
|
private executeAfterOnInit: Function
|
|
49
49
|
private mountValue
|
|
50
50
|
private strMountValue
|
|
51
|
+
private callBackFavorite: Function
|
|
51
52
|
|
|
52
53
|
constructor(
|
|
53
54
|
public $scope,
|
|
@@ -615,6 +616,9 @@ class MbgSelectController {
|
|
|
615
616
|
favorite = MbgCookie.get(this.getFavoriteKey())
|
|
616
617
|
if (favorite && this.enableFavorite && !this.ngModel) {
|
|
617
618
|
this.selectOption(favorite)
|
|
619
|
+
if(this.callBackFavorite){
|
|
620
|
+
this.callBackFavorite({value: favorite})
|
|
621
|
+
}
|
|
618
622
|
if (this.executeAfterOnInit) {
|
|
619
623
|
this.executeAfterOnInit()
|
|
620
624
|
}
|
|
@@ -717,6 +721,7 @@ const mbgSelect = {
|
|
|
717
721
|
manyFavorite: '=?',
|
|
718
722
|
executeAfterOnInit: '&?',
|
|
719
723
|
mountValue: '&?',
|
|
724
|
+
callBackFavorite: '&?'
|
|
720
725
|
},
|
|
721
726
|
controller: MbgSelectController,
|
|
722
727
|
template,
|
|
@@ -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;
|