@afeefa/vue-app 0.0.184 → 0.0.186
Sign up to get free protection for your applications and to get access to all the features.
- package/.afeefa/package/release/version.txt +1 -1
- package/package.json +1 -1
- package/src-admin/components/InformationBar.vue +4 -4
- package/src-admin/components/NavigationBar.vue +5 -1
- package/src-admin/components/StickyFooterContainer.vue +2 -2
- package/src-admin/components/StickyHeader.vue +3 -3
- package/src-admin/components/menu/SidebarMenuItem.vue +4 -1
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.186
|
package/package.json
CHANGED
@@ -53,9 +53,9 @@ export default class InformationBar extends Vue {
|
|
53
53
|
}
|
54
54
|
|
55
55
|
mounted () {
|
56
|
-
|
57
|
-
|
58
|
-
|
56
|
+
const mutationWatcher = new MutationObserver(this.domChanged)
|
57
|
+
mutationWatcher.observe(this.$el.querySelector('#information-bar__children > .top'), { childList: true })
|
58
|
+
mutationWatcher.observe(this.$el.querySelector('#information-bar__children > .bottom'), { childList: true })
|
59
59
|
|
60
60
|
this.domChanged()
|
61
61
|
}
|
@@ -192,7 +192,7 @@ export default class InformationBar extends Vue {
|
|
192
192
|
|
193
193
|
&.mobile {
|
194
194
|
position: fixed;
|
195
|
-
z-index:
|
195
|
+
z-index: 199;
|
196
196
|
right: 0;
|
197
197
|
|
198
198
|
&:not(.rail) {
|
@@ -136,6 +136,10 @@ export default class NavigationBar extends Vue {
|
|
136
136
|
}
|
137
137
|
return null
|
138
138
|
}
|
139
|
+
|
140
|
+
logout () {
|
141
|
+
this.$auth.logout()
|
142
|
+
}
|
139
143
|
}
|
140
144
|
</script>
|
141
145
|
|
@@ -161,7 +165,7 @@ export default class NavigationBar extends Vue {
|
|
161
165
|
&.mobile {
|
162
166
|
position: fixed;
|
163
167
|
box-shadow: 0 0 7px #00000066;
|
164
|
-
z-index:
|
168
|
+
z-index: 199;
|
165
169
|
}
|
166
170
|
}
|
167
171
|
|
@@ -20,8 +20,8 @@ export default class StickyFooterContainer extends Vue {
|
|
20
20
|
visible = false
|
21
21
|
|
22
22
|
mounted () {
|
23
|
-
|
24
|
-
|
23
|
+
const mutationWatcher = new MutationObserver(this.domChanged)
|
24
|
+
mutationWatcher.observe(this.getChildrenContainer(), { childList: true })
|
25
25
|
}
|
26
26
|
|
27
27
|
domChanged () {
|
@@ -45,9 +45,9 @@ export default class StickyHeader extends Vue {
|
|
45
45
|
|
46
46
|
mounted () {
|
47
47
|
// watch mutation
|
48
|
-
|
49
|
-
|
50
|
-
|
48
|
+
const mutationWatcher = new MutationObserver(this.domChanged)
|
49
|
+
mutationWatcher.observe(this.$el.querySelector('.appBarTitle'), { childList: true })
|
50
|
+
mutationWatcher.observe(this.$el.querySelector('.appBarButtons'), { childList: true })
|
51
51
|
|
52
52
|
// watch intersection
|
53
53
|
const el = document.querySelector('#stickyHeader')
|