@afeefa/vue-app 0.0.183 → 0.0.185
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/.afeefa/package/release/version.txt +1 -1
- package/package.json +1 -1
- package/src/components/ATabs.vue +3 -2
- package/src-admin/components/InformationBar.vue +4 -4
- package/src-admin/components/NavigationBar.vue +1 -1
- package/src-admin/components/StickyFooterContainer.vue +2 -2
- package/src-admin/components/StickyHeader.vue +3 -3
- package/src-admin/components/app/AppBarTitle.vue +1 -1
- package/src-admin/components/menu/SidebarMenuItem.vue +4 -1
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.185
|
package/package.json
CHANGED
package/src/components/ATabs.vue
CHANGED
@@ -49,7 +49,8 @@ export default class ATabs extends Vue {
|
|
49
49
|
|
50
50
|
setTab (index) {
|
51
51
|
this.currentIndex = index
|
52
|
-
this.$
|
52
|
+
const tabs = this.$slots.default.map(s => s.componentInstance)
|
53
|
+
tabs.forEach((tab, i) => {
|
53
54
|
if (i === this.currentIndex) {
|
54
55
|
tab.show()
|
55
56
|
} else {
|
@@ -92,7 +93,7 @@ export default class ATabs extends Vue {
|
|
92
93
|
}
|
93
94
|
|
94
95
|
&.selected {
|
95
|
-
background: #
|
96
|
+
background: #EEEEEE;
|
96
97
|
color: #666666;
|
97
98
|
}
|
98
99
|
}
|
@@ -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) {
|
@@ -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')
|