@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.
@@ -1 +1 @@
1
- 0.0.273
1
+ 0.0.275
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@afeefa/vue-app",
3
- "version": "0.0.273",
3
+ "version": "0.0.275",
4
4
  "description": "",
5
5
  "author": "Afeefa Kollektiv <kollektiv@afeefa.de>",
6
6
  "license": "MIT",
@@ -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
- &:not(.selected) {
413
- cursor: pointer;
414
- }
415
-
416
- &.selected {
417
- pointer-events: none;
418
- }
412
+ cursor: pointer;
419
413
  }
420
414
  }
421
415
 
@@ -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
  }
@@ -8,6 +8,7 @@ class AdminConfig {
8
8
  rootRouteName: null,
9
9
  appLoaderMinDuration: null,
10
10
  saveLoaderMinDuration: null,
11
+ show_dev_skin: false,
11
12
 
12
13
  components: {
13
14
  Splash: null,