@afeefa/vue-app 0.0.273 → 0.0.275
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/ASearchSelect.vue +1 -7
- package/src-admin/AfeefaAdmin.js +8 -0
- package/src-admin/components/App.vue +14 -0
- package/src-admin/components/NavigationBar.vue +10 -0
- package/src-admin/config/AdminConfig.js +1 -0
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.275
|
package/package.json
CHANGED
@@ -409,13 +409,7 @@ export default class ASearchSelect extends Mixins(ComponentWidthMixin, UsesPosit
|
|
409
409
|
overscroll-behavior: contain;
|
410
410
|
|
411
411
|
:deep(.a-table-row) {
|
412
|
-
|
413
|
-
cursor: pointer;
|
414
|
-
}
|
415
|
-
|
416
|
-
&.selected {
|
417
|
-
pointer-events: none;
|
418
|
-
}
|
412
|
+
cursor: pointer;
|
419
413
|
}
|
420
414
|
}
|
421
415
|
|
package/src-admin/AfeefaAdmin.js
CHANGED
@@ -29,6 +29,14 @@ export class AfeefaAdmin {
|
|
29
29
|
return this
|
30
30
|
}
|
31
31
|
|
32
|
+
appConfig (appConfig) {
|
33
|
+
adminConfig.app = {
|
34
|
+
...adminConfig.app,
|
35
|
+
...appConfig
|
36
|
+
}
|
37
|
+
return this
|
38
|
+
}
|
39
|
+
|
32
40
|
customConfig (customConfig) {
|
33
41
|
adminConfig.config = {
|
34
42
|
...adminConfig.config,
|
@@ -6,6 +6,11 @@
|
|
6
6
|
@click="closeFloatingSidebars"
|
7
7
|
/>
|
8
8
|
|
9
|
+
<div
|
10
|
+
v-if="showDevSkin"
|
11
|
+
class="showDevSkin"
|
12
|
+
/>
|
13
|
+
|
9
14
|
<div class="main-layout">
|
10
15
|
<navigation-bar :has="$has" />
|
11
16
|
|
@@ -148,6 +153,10 @@ export default class App extends Vue {
|
|
148
153
|
return adminConfig.app.loaderColor
|
149
154
|
}
|
150
155
|
|
156
|
+
get showDevSkin () {
|
157
|
+
return adminConfig.app.show_dev_skin
|
158
|
+
}
|
159
|
+
|
151
160
|
startLoading () {
|
152
161
|
this.numLoadingRequests++
|
153
162
|
}
|
@@ -160,6 +169,11 @@ export default class App extends Vue {
|
|
160
169
|
|
161
170
|
|
162
171
|
<style lang="scss" scoped>
|
172
|
+
.showDevSkin {
|
173
|
+
background: orange;
|
174
|
+
height: 1px;
|
175
|
+
}
|
176
|
+
|
163
177
|
.isLoading {
|
164
178
|
opacity: .6;
|
165
179
|
}
|
@@ -16,6 +16,12 @@
|
|
16
16
|
:to="{name: rootRouteName}"
|
17
17
|
class="logoContainer d-flex flex-column align-center pa-6"
|
18
18
|
>
|
19
|
+
<div
|
20
|
+
v-if="show_dev_skin"
|
21
|
+
class="text-button mt-n6"
|
22
|
+
>
|
23
|
+
DEV
|
24
|
+
</div>
|
19
25
|
<img
|
20
26
|
v-if="logoUrl"
|
21
27
|
class="logo"
|
@@ -126,6 +132,10 @@ export default class NavigationBar extends Vue {
|
|
126
132
|
return adminConfig.app.title
|
127
133
|
}
|
128
134
|
|
135
|
+
get show_dev_skin () {
|
136
|
+
return adminConfig.app.show_dev_skin
|
137
|
+
}
|
138
|
+
|
129
139
|
get SidebarMenu () {
|
130
140
|
return adminConfig.app.components.SidebarMenu
|
131
141
|
}
|