@christianriedl/media 1.0.188 → 1.0.190

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/dist/iBooks.d.ts CHANGED
@@ -42,10 +42,14 @@ export interface IBookPlace {
42
42
  breite: number;
43
43
  buchstaben: string;
44
44
  buchstaben2: string;
45
+ zweitBuchstaben: string;
46
+ zweitBuchstaben2: string;
45
47
  }
46
48
  export interface IPlace {
47
49
  vorne: string;
50
+ vorne2: string;
48
51
  hinten: string;
52
+ hinten2: string;
49
53
  color: string;
50
54
  }
51
55
  export interface IBooksService {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@christianriedl/media",
3
- "version": "1.0.188",
3
+ "version": "1.0.190",
4
4
  "description": "RIC media interfaces",
5
5
 
6
6
  "main": "dist/index.js",
@@ -8,11 +8,11 @@
8
8
 
9
9
  <template>
10
10
  <v-row dense :class="[place.color,'place']" :style="heightStyle" >
11
- <v-col cols="12" >
12
- <p v-if="place.vorne" class="vorne">{{"V: " + place.vorne}}</p>
11
+ <v-col v-if="place.vorne" cols="12" >
12
+ <p class="vorne">{{place.vorne}}<br>{{place.vorne2}}</p>
13
13
  </v-col>
14
- <v-col cols="12" >
15
- <p v-if="place.hinten" class="hinten">{{"H: " + place.hinten}}</p>
14
+ <v-col v-if="place.hinten" cols="12" >
15
+ <p class="hinten">{{place.hinten}}<br>{{place.hinten2}}</p>
16
16
  </v-col>
17
17
  </v-row>
18
18
  <v-divider></v-divider>
@@ -25,11 +25,13 @@
25
25
  border-width: medium;
26
26
  }
27
27
  .vorne {
28
- font-size: small;
28
+ font-size: large;
29
+ font-family: monospace;
29
30
  background-color: white;
30
31
  }
31
32
  .hinten {
32
- font-size: small;
33
+ font-size: large;
34
+ font-family: monospace;
33
35
  background-color: lightgrey;
34
36
  }
35
37
  </style>
@@ -14,7 +14,7 @@
14
14
  const regalColor = "bg-brown-lighten-3";
15
15
  const doorColor = "bg-brown-darken-1";
16
16
  const glassColor = "bg-blue-grey-lighten-1";
17
- const placeHeight = ref(80);
17
+ const placeHeight = ref(120);
18
18
  const regale = reactive<Regal[]>(initPlaces());
19
19
 
20
20
  start();
@@ -24,7 +24,7 @@
24
24
  for (let i = 0; i < 10; i++) {
25
25
  let regal: Regal = { faecher: [], faecher2: [] };
26
26
  for (let j = 0; j < 6; j++) {
27
- const fach: IPlace = { vorne: "", hinten: "", color: regalColor };
27
+ const fach: IPlace = { vorne: "", hinten: "", vorne2: "", hinten2: "", color: regalColor };
28
28
  if (i < 8) {
29
29
  // Wohnzimmer
30
30
  if ((i < 2 || i > 5) && j > 2)
@@ -33,7 +33,7 @@
33
33
  fach.color = glassColor;
34
34
  }
35
35
  regal.faecher.push(fach);
36
- const fach2: IPlace = { vorne: "", hinten: "", color: regalColor };
36
+ const fach2: IPlace = { vorne: "", hinten: "", vorne2: "", hinten2: "", color: regalColor };
37
37
  if (i < 8) {
38
38
  // Wohnzimmer
39
39
  if ((i < 2 || i > 5) && j > 2)
@@ -62,16 +62,20 @@
62
62
  let fach = regal.faecher[place.fachVonOben - 1];
63
63
  if (place.hinten) {
64
64
  fach.hinten = place.buchstaben;
65
+ fach.hinten2 = place.zweitBuchstaben;
65
66
  }
66
67
  else {
67
68
  fach.vorne = place.buchstaben;
69
+ fach.vorne2 = place.zweitBuchstaben;
68
70
  }
69
71
  fach = regal.faecher2[place.fachVonOben - 1];
70
72
  if (place.hinten) {
71
73
  fach.hinten = place.buchstaben2;
74
+ fach.hinten2 = place.zweitBuchstaben2;
72
75
  }
73
76
  else {
74
77
  fach.vorne = place.buchstaben2;
78
+ fach.vorne2 = place.zweitBuchstaben2;
75
79
  }
76
80
  }
77
81
  }
@@ -79,10 +83,9 @@
79
83
 
80
84
  <template>
81
85
  <v-container fluid class="bg-office" >
82
- <h1>SOLL</h1>
83
86
  <v-row dense>
84
87
  <v-col cols="9">
85
- <h2>WOHNZIMMER</h2>
88
+ <h2>SOLL - WOHNZIMMER</h2>
86
89
  </v-col>
87
90
  <v-col cols="3">
88
91
  <h2>VORZIMMER</h2>
@@ -100,10 +103,9 @@
100
103
  <book-place v-for="m in 6" :place="regale[9].faecher[m-1]" :height="placeHeight" ></book-place>
101
104
  </v-col>
102
105
  </v-row>
103
- <h1>IST</h1>
104
106
  <v-row dense>
105
107
  <v-col cols="9">
106
- <h2>WOHNZIMMER</h2>
108
+ <h2>IST - WOHNZIMMER</h2>
107
109
  </v-col>
108
110
  <v-col cols="3">
109
111
  <h2>VORZIMMER</h2>