@sgcloud-sgsistemas/base 1.1.1 → 1.2.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
|
@@ -24,6 +24,12 @@ const controller = function (mbSidemenuService) {
|
|
|
24
24
|
const onlineStatus = JSON.parse(SessionStorageBase.getItem('online-status'))
|
|
25
25
|
SessionStorageBase.setItem('online-status', JSON.stringify({change: true, online: !(onlineStatus && onlineStatus.online)}))
|
|
26
26
|
}
|
|
27
|
+
|
|
28
|
+
vm.searchPrice = async () => {
|
|
29
|
+
if(vm.config && vm.config.searchPrice){
|
|
30
|
+
await vm.config.searchPrice.goToSearchPrice()
|
|
31
|
+
}
|
|
32
|
+
}
|
|
27
33
|
};
|
|
28
34
|
|
|
29
35
|
export default controller;
|
|
@@ -208,6 +208,14 @@
|
|
|
208
208
|
transition: transform 350ms ease;
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
|
+
|
|
212
|
+
> .mb-price-check {
|
|
213
|
+
display: flex;
|
|
214
|
+
align-items: center;
|
|
215
|
+
font-size: 25px;
|
|
216
|
+
padding: 12px;
|
|
217
|
+
cursor: pointer;
|
|
218
|
+
}
|
|
211
219
|
}
|
|
212
220
|
|
|
213
221
|
@media screen and (max-width: 768px) {
|
|
@@ -52,6 +52,11 @@
|
|
|
52
52
|
tabindex="-1"
|
|
53
53
|
ng-if="!vm.config.hideCashier"></mb-cashier>
|
|
54
54
|
</div>
|
|
55
|
+
|
|
56
|
+
<div class="mb-price-check"
|
|
57
|
+
ng-click="vm.searchPrice()">
|
|
58
|
+
<i class="fas fa-search-dollar" uib-tooltip="Consulta preço" tooltip-append-to-body="true" tooltip-placement="bottom"></i>
|
|
59
|
+
</div>
|
|
55
60
|
|
|
56
61
|
<div class="mb-birthday-wrapper"
|
|
57
62
|
tabindex="-1"
|