@sgcloud-sgsistemas/base 1.0.9 → 1.0.11

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.0.9",
3
+ "version": "1.0.11",
4
4
  "description": "Base para os sistemas da mobiage",
5
5
  "repository": {
6
6
  "type": "private",
@@ -60,7 +60,7 @@
60
60
  }
61
61
 
62
62
  .mb-pl-color3 {
63
- fill: #ddd;
63
+ fill: #dddddd1c;
64
64
 
65
65
  @include themify(fill, color1);
66
66
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  .mb[side-menu-btn] {
4
4
  color: #ccc;
5
- @include themify(color, neutral2);
5
+ @include themify(color, font2);
6
6
  font-size: 12px;
7
7
  font-weight: 400;
8
8
  width: 100%;
@@ -36,9 +36,9 @@
36
36
 
37
37
  > .mbg-smc-detail-path {
38
38
  fill: #ccc;
39
- @include themify(fill, neutral3);
39
+ @include themify(fill, font3);
40
40
  stroke: #ccc;
41
- @include themify(stroke, neutral3);
41
+ @include themify(stroke, font3);
42
42
  stroke-miterlimit: 10;
43
43
  stroke-width: 2px;
44
44
  }
@@ -42,7 +42,7 @@
42
42
  font-size: 12px;
43
43
  text-decoration: underline;
44
44
  color: #ccc;
45
- @include themify(color, neutral2);
45
+ @include themify(color, font2);
46
46
  padding-top: 10px;
47
47
  padding-left: 30px;
48
48
  cursor: pointer;
@@ -23,7 +23,10 @@ $themes: (
23
23
  quickMenuBtnBackground: var(--contrast),
24
24
  quickMenuBackground: var(--quickMenuBackground),
25
25
  backgroundSideMenu: var(--bgColor),
26
- backgroundTopBar: var(--backgroundTopBar)
26
+ backgroundTopBar: var(--backgroundTopBar),
27
+ font1: var(--font1),
28
+ font2: var(--font2),
29
+ font3: var(--font3)
27
30
  ),
28
31
  theme1: (
29
32
  color1: #0747a6,
@@ -37,7 +40,10 @@ $themes: (
37
40
  quickMenuBtnBackground: #0747a6,
38
41
  quickMenuBackground: #063c8e,
39
42
  backgroundSideMenu: #fcfcfc,
40
- backgroundTopBar: #fff
43
+ backgroundTopBar: #fff,
44
+ font1: var(--font1),
45
+ font2: var(--font2),
46
+ font3: var(--font3)
41
47
  ),
42
48
  theme2: (
43
49
  color1: #e8c553,
@@ -51,7 +57,10 @@ $themes: (
51
57
  quickMenuBtnBackground: #e8c553,
52
58
  quickMenuBackground: #fff7e1,
53
59
  backgroundSideMenu: #fcfcfc,
54
- backgroundTopBar: #fff
60
+ backgroundTopBar: #fff,
61
+ font1: var(--font1),
62
+ font2: var(--font2),
63
+ font3: var(--font3)
55
64
  ),
56
65
  theme3: (
57
66
  color1: #02ce69,
@@ -65,7 +74,10 @@ $themes: (
65
74
  quickMenuBtnBackground: #02ce69,
66
75
  quickMenuBackground: #03914b,
67
76
  backgroundSideMenu: #fcfcfc,
68
- backgroundTopBar: #fff
77
+ backgroundTopBar: #fff,
78
+ font1: var(--font1),
79
+ font2: var(--font2),
80
+ font3: var(--font3)
69
81
  ),
70
82
  theme4: (
71
83
  color1: #c73444,
@@ -79,7 +91,10 @@ $themes: (
79
91
  quickMenuBtnBackground: #c73444,
80
92
  quickMenuBackground: #972733,
81
93
  backgroundSideMenu: #fcfcfc,
82
- backgroundTopBar: #fff
94
+ backgroundTopBar: #fff,
95
+ font1: var(--font1),
96
+ font2: var(--font2),
97
+ font3: var(--font3)
83
98
  ),
84
99
  theme5: (
85
100
  color1: #540095,
@@ -93,7 +108,10 @@ $themes: (
93
108
  quickMenuBtnBackground: #540095,
94
109
  quickMenuBackground: #37085c,
95
110
  backgroundSideMenu: #fcfcfc,
96
- backgroundTopBar: #fff
111
+ backgroundTopBar: #fff,
112
+ font1: var(--font1),
113
+ font2: var(--font2),
114
+ font3: var(--font3)
97
115
  ),
98
116
  theme6: (
99
117
  color1: #de6d28,
@@ -107,7 +125,10 @@ $themes: (
107
125
  quickMenuBtnBackground: #de6d28,
108
126
  quickMenuBackground: #a04e1d,
109
127
  backgroundSideMenu: #fcfcfc,
110
- backgroundTopBar: #fff
128
+ backgroundTopBar: #fff,
129
+ font1: var(--font1),
130
+ font2: var(--font2),
131
+ font3: var(--font3)
111
132
  ),
112
133
  theme7: (
113
134
  color1: #ea4c89,
@@ -121,7 +142,10 @@ $themes: (
121
142
  quickMenuBtnBackground: #ea4c89,
122
143
  quickMenuBackground: #a24267,
123
144
  backgroundSideMenu: #fcfcfc,
124
- backgroundTopBar: #fff
145
+ backgroundTopBar: #fff,
146
+ font1: var(--font1),
147
+ font2: var(--font2),
148
+ font3: var(--font3)
125
149
  ),
126
150
  theme8: (
127
151
  color1: #000000,
@@ -135,7 +159,10 @@ $themes: (
135
159
  quickMenuBtnBackground: #000000,
136
160
  quickMenuBackground: #3f3f3f,
137
161
  backgroundSideMenu: #fcfcfc,
138
- backgroundTopBar: #fff
162
+ backgroundTopBar: #fff,
163
+ font1: var(--font1),
164
+ font2: var(--font2),
165
+ font3: var(--font3)
139
166
  ),
140
167
  theme9: (
141
168
  color1: #3acbc7,
@@ -149,7 +176,10 @@ $themes: (
149
176
  quickMenuBtnBackground: #3acbc7,
150
177
  quickMenuBackground: #25a5a1,
151
178
  backgroundSideMenu: #fcfcfc,
152
- backgroundTopBar: #fff
179
+ backgroundTopBar: #fff,
180
+ font1: var(--font1),
181
+ font2: var(--font2),
182
+ font3: var(--font3)
153
183
  ),
154
184
  /* Tema da Mobiage */
155
185
  theme10: (
@@ -164,7 +194,10 @@ $themes: (
164
194
  quickMenuBtnBackground: #635596,
165
195
  quickMenuBackground: #493E6E,
166
196
  backgroundSideMenu: #fcfcfc,
167
- backgroundTopBar: #fff
197
+ backgroundTopBar: #fff,
198
+ font1: var(--font1),
199
+ font2: var(--font2),
200
+ font3: var(--font3)
168
201
  ),
169
202
  /* Tema do Finance */
170
203
  theme11: (
@@ -179,7 +212,10 @@ $themes: (
179
212
  quickMenuBtnBackground: #00c74d,
180
213
  quickMenuBackground: #009338,
181
214
  backgroundSideMenu: #f6f6f6,
182
- backgroundTopBar: #f6f6f6
215
+ backgroundTopBar: #f6f6f6,
216
+ font1: var(--font1),
217
+ font2: var(--font2),
218
+ font3: var(--font3)
183
219
  ),
184
220
  /* Tema Kigi */
185
221
  theme12: (
@@ -194,7 +230,10 @@ $themes: (
194
230
  quickMenuBtnBackground: #E81756,
195
231
  quickMenuBackground: #ba1546,
196
232
  backgroundSideMenu: #fcfcfc,
197
- backgroundTopBar: #fff
233
+ backgroundTopBar: #fff,
234
+ font1: var(--font1),
235
+ font2: var(--font2),
236
+ font3: var(--font3)
198
237
  )
199
238
  );
200
239
 
@@ -11,7 +11,7 @@ mb-topbar-notifications {
11
11
 
12
12
  .link {
13
13
  border-bottom: none;
14
- color: var(--neutral2);
14
+ color: var(--font2);
15
15
  font-size: 1.1rem;
16
16
  margin-top: 0px;
17
17
  &:hover {
@@ -36,7 +36,7 @@ mb-topbar-notifications {
36
36
  }
37
37
 
38
38
  .button-see-more {
39
- color: #666;
39
+ color: var(--font2);
40
40
  width: 100%;
41
41
  font-size: 14px;
42
42
  text-align: center;
@@ -45,7 +45,7 @@ mb-topbar-notifications {
45
45
  }
46
46
 
47
47
  .button-see-more:hover {
48
- color: #666;
48
+ color: var(--font2);
49
49
  font-weight: bold;
50
50
  }
51
51
 
@@ -125,13 +125,13 @@ mb-topbar-notifications {
125
125
  * {
126
126
  line-height: normal;
127
127
  font-size: 11px;
128
- color: #666;
128
+ color: var(--font2);
129
129
  }
130
130
 
131
131
  label {
132
132
  text-align: left;
133
133
  margin: 0;
134
- color: #666;
134
+ color: var(--font2);
135
135
  font-weight: 100;
136
136
  }
137
137
  .notification-time {
@@ -162,7 +162,7 @@ mb-topbar-notifications {
162
162
  font-size: 12px;
163
163
  line-height: 1.4;
164
164
  border-radius: 4px;
165
- color: #666;
165
+ color: var(--font2);
166
166
  padding: 5px 8px;
167
167
  cursor: pointer;
168
168
  outline: none;
@@ -178,11 +178,11 @@ mb-topbar-notifications {
178
178
  padding: 44px 0;
179
179
  svg {
180
180
  width: 84px;
181
- fill: #666;
181
+ fill: var(--font2);
182
182
  }
183
183
  label {
184
184
  font-size: 14px;
185
- color: #666;
185
+ color: var(--font2);
186
186
  padding: 0;
187
187
  margin: 0;
188
188
  }
@@ -244,7 +244,7 @@ mb-topbar-notifications {
244
244
  }
245
245
  .info-import {
246
246
  span {
247
- color: #666;
247
+ color: var(--font2);
248
248
  }
249
249
  }
250
250
  }
@@ -275,12 +275,12 @@ mb-topbar-notifications {
275
275
 
276
276
  .fas.fa-eye {
277
277
  font-size: 18px;
278
- color: #666;
278
+ color: var(--font2);
279
279
  }
280
280
 
281
281
  .fas.fa-times {
282
282
  font-size: 18px;
283
- color: #666;
283
+ color: var(--font2);
284
284
  }
285
285
 
286
286
  .notification-bottom {
@@ -57,7 +57,7 @@
57
57
  tabindex="-1"
58
58
  ng-click="openSetting()"
59
59
  style="margin: 12px 12px 0px 0px;
60
- color: #666;
60
+ color: var(--font2);
61
61
  font-size: 16px;
62
62
  cursor: pointer;"></i>
63
63
  </div>
@@ -27,7 +27,7 @@
27
27
  width: 30px;
28
28
  text-align: center;
29
29
  color: #ccc;
30
- @include themify(color, neutral3);
30
+ @include themify(color, font3);
31
31
  font-size: 16px;
32
32
 
33
33
  &.mb-tsi-active {
@@ -62,7 +62,7 @@
62
62
  &::placeholder {
63
63
  // color: #ccc;
64
64
  // @include themify(color, neutral3);
65
- color: #555555;
65
+ color: var(--font2);
66
66
  font-weight: 500;
67
67
  }
68
68
 
@@ -8,7 +8,7 @@ $background: #f2f2f2;
8
8
  align-items: flex-start;
9
9
  color: #ccc;
10
10
 
11
- @include themify(color, neutral2);
11
+ @include themify(color, font2);
12
12
 
13
13
  background-color: $background;
14
14
  transition: background-color 100ms linear;
@@ -50,7 +50,7 @@ const controller = function ($scope, $timeout, mbSidemenuService, hotkeys) {
50
50
  decrementSelected();
51
51
  },
52
52
  allowIn: ['INPUT']
53
- });
53
+ });
54
54
  hotkeys.bindTo($scope).add({
55
55
  combo: 'down',
56
56
  callback(event) {
@@ -130,7 +130,7 @@ const controller = function ($scope, $timeout, mbSidemenuService, hotkeys) {
130
130
  }
131
131
  });
132
132
  // TO-DO (Limitar resultados parando o algoritmo ao chegar no limite de resultados)
133
- return elements.slice(0, 5).sort((a, b) => a.matchesCount > b.matchesCount).reverse();
133
+ return elements.sort((a, b) => a.matchesCount > b.matchesCount).reverse();
134
134
  };
135
135
 
136
136
  /* Para cada tipo, faz um elemento no array */
@@ -224,13 +224,8 @@ const controller = function ($scope, $timeout, mbSidemenuService, hotkeys) {
224
224
  });
225
225
  }
226
226
  };
227
- // if (config.quickMenu !== undefined && config.quickMenu.links !== undefined && config.quickMenu.links.length > 0) {
228
- // config.quickMenu.links.forEach((element) => {
229
- // prepareLink(element);
230
- // });
231
- // }
232
- if (config.structure !== undefined && config.structure.length > 0) {
233
- config.structure.forEach((element) => {
227
+ if (config.completeStructure !== undefined && config.completeStructure.length > 0) {
228
+ config.completeStructure.forEach((element) => {
234
229
  prepareLink(element);
235
230
  });
236
231
  }
@@ -83,7 +83,7 @@ $background: #f2f2f2;
83
83
  font-weight: 400;
84
84
  font-size: 14px;
85
85
  color: #ccc;
86
- @include themify(color, neutral2);
86
+ @include themify(color, font2);
87
87
 
88
88
  > .mb-ts-autocomplete-notfound-search {
89
89
  font-weight: 700;
@@ -3,7 +3,7 @@
3
3
  .mb[topbar-user-btn] {
4
4
  color: #ccc;
5
5
 
6
- @include themify(color, neutral2);
6
+ @include themify(color, font2);
7
7
 
8
8
  font-size: 12px;
9
9
  font-weight: 700;
@@ -567,7 +567,7 @@
567
567
  text-align: right;
568
568
  color: #ccc;
569
569
 
570
- @include themify(color, neutral3);
570
+ @include themify(color, font3);
571
571
 
572
572
  font-size: 12px;
573
573
  font-weight: 400;
@@ -736,7 +736,7 @@
736
736
  .mb-tu-menu-company-info-text {
737
737
  color: #ccc;
738
738
 
739
- @include themify(color, neutral2);
739
+ @include themify(color, font2);
740
740
 
741
741
  font-weight: 400;
742
742
  font-size: 14px;
@@ -769,7 +769,7 @@
769
769
  flex-direction: row;
770
770
  color: #fff;
771
771
 
772
- @include themify(color, neutral2);
772
+ @include themify(color, font2);
773
773
 
774
774
  cursor: pointer;
775
775
 
@@ -816,7 +816,7 @@
816
816
  > .mb-tu-m-ca-t-text {
817
817
  color: #ccc;
818
818
 
819
- @include themify(color, neutral2);
819
+ @include themify(color, font2);
820
820
 
821
821
  font-weight: 700;
822
822
  font-size: 16px;
@@ -833,11 +833,11 @@
833
833
  > .mb-tu-m-ca-t-d-path {
834
834
  fill: #ccc;
835
835
 
836
- @include themify(fill, neutral3);
836
+ @include themify(fill, font3);
837
837
 
838
838
  stroke: #ccc;
839
839
 
840
- @include themify(stroke, neutral3);
840
+ @include themify(stroke, font3);
841
841
 
842
842
  stroke-miterlimit: 10;
843
843
  stroke-width: 2px;
@@ -888,7 +888,7 @@
888
888
  transition: 200ms linear;
889
889
  text-align: left;
890
890
 
891
- @include themify(color, neutral2);
891
+ @include themify(color, font2);
892
892
  }
893
893
 
894
894
  > .mb-tu-m-ca-company-confirm {
@@ -116,7 +116,7 @@
116
116
  justify-items: center;
117
117
 
118
118
  span{
119
- color: var(--color1);
119
+ color: var(--font1);
120
120
  font-size: 22px;
121
121
  font-weight: bolder;
122
122
  }