@sgcloud-sgsistemas/base 1.1.1 → 1.2.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": "@sgcloud-sgsistemas/base",
3
- "version": "1.1.1",
3
+ "version": "1.2.1",
4
4
  "description": "Base para os sistemas da mobiage",
5
5
  "repository": {
6
6
  "type": "private",
@@ -15,7 +15,7 @@
15
15
  > .mb-cc-content {
16
16
  height: calc(100vh - calc(150px - #{$topbarHeight}));
17
17
  width: 100%;
18
- overflow: hidden;
18
+ overflow: hidden auto;
19
19
  position: relative;
20
20
 
21
21
  @media screen and (max-width: 1368px) {
@@ -29,9 +29,5 @@
29
29
  height: calc(134vh - 88px);
30
30
  }
31
31
  }
32
-
33
- &:hover {
34
- overflow-y: auto;
35
- }
36
32
  }
37
33
  }
@@ -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"