@sgcloud-sgsistemas/base 1.0.33 → 1.0.34
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
|
@@ -190,6 +190,8 @@ hotbar {
|
|
|
190
190
|
white-space: nowrap;
|
|
191
191
|
left: -100vw;
|
|
192
192
|
position: absolute;
|
|
193
|
+
min-height: 50px;
|
|
194
|
+
min-width: 150px;
|
|
193
195
|
width: max-content;
|
|
194
196
|
display: flex;
|
|
195
197
|
flex-direction: column;
|
|
@@ -223,6 +225,11 @@ hotbar {
|
|
|
223
225
|
>div {
|
|
224
226
|
color: var(--contrast);
|
|
225
227
|
}
|
|
228
|
+
|
|
229
|
+
> .favorite-module {
|
|
230
|
+
min-width: 150px;
|
|
231
|
+
min-height: 50px;
|
|
232
|
+
}
|
|
226
233
|
}
|
|
227
234
|
}
|
|
228
235
|
|
|
@@ -254,6 +261,12 @@ hotbar {
|
|
|
254
261
|
>div{
|
|
255
262
|
color: var(--contrast);
|
|
256
263
|
}
|
|
264
|
+
|
|
265
|
+
> .favorite-module {
|
|
266
|
+
min-width: 150px;
|
|
267
|
+
min-height: 50px;
|
|
268
|
+
}
|
|
269
|
+
|
|
257
270
|
>sub-module {
|
|
258
271
|
left: 100%;
|
|
259
272
|
grid-template-columns: 1fr;
|
|
@@ -5,7 +5,6 @@ import { MbSidemenuService } from "./../services/sidemenu-service";
|
|
|
5
5
|
class SideMenuController {
|
|
6
6
|
public menuOpen: boolean = false
|
|
7
7
|
private watchConfig: Function
|
|
8
|
-
private unWatchRootConfig: Function
|
|
9
8
|
|
|
10
9
|
constructor(
|
|
11
10
|
public $timeout: $Timeout,
|
|
@@ -23,12 +22,6 @@ class SideMenuController {
|
|
|
23
22
|
this.$scope.quickMenu = config ? config.quickMenu : null;
|
|
24
23
|
})
|
|
25
24
|
|
|
26
|
-
this.unWatchRootConfig = this.$rootScope.$on('onChangeFavoritesConfig', (event: Event, config: Config): void => {
|
|
27
|
-
if (this.$scope.vm) {
|
|
28
|
-
this.$scope.vm.config = config
|
|
29
|
-
}
|
|
30
|
-
})
|
|
31
|
-
|
|
32
25
|
this.mbSidemenuService.addCallback((value: boolean): any => {
|
|
33
26
|
this.menuOpen = value
|
|
34
27
|
})
|
|
@@ -36,7 +29,6 @@ class SideMenuController {
|
|
|
36
29
|
|
|
37
30
|
$onDestroy(): void {
|
|
38
31
|
this.__unWatch(this.watchConfig)
|
|
39
|
-
this.__unWatch(this.unWatchRootConfig)
|
|
40
32
|
}
|
|
41
33
|
|
|
42
34
|
private __unWatch(watch: Function): void {
|