@7365admin1/layer-common 3.2.2-staging.87 → 3.2.2-staging.89

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.
@@ -643,12 +643,16 @@ onUnmounted(() => {
643
643
  gap: 12px;
644
644
  padding: 12px 0;
645
645
  background: transparent;
646
+ /* The title, the 260px search and the invite button do not fit a phone on
647
+ one line, and without this the whole page scrolled sideways. */
648
+ flex-wrap: wrap;
646
649
  }
647
650
  .topbar-right {
648
651
  margin-left: auto;
649
652
  display: flex;
650
653
  align-items: center;
651
654
  gap: 12px;
655
+ flex-wrap: wrap;
652
656
  }
653
657
  .btn-invite {
654
658
  background: var(--card);
@@ -667,6 +671,7 @@ onUnmounted(() => {
667
671
  .search-wrap {
668
672
  position: relative;
669
673
  width: 260px;
674
+ max-width: 100%;
670
675
  flex-shrink: 0;
671
676
  }
672
677
  .search-input {
@@ -709,7 +714,14 @@ onUnmounted(() => {
709
714
  .filter-wrap {
710
715
  display: flex;
711
716
  gap: 10px;
712
- flex-shrink: 0;
717
+ /* Three filters do not fit a phone beside the search box. `flex-shrink: 0`
718
+ kept this row at its 463px content width, so it never wrapped and the
719
+ whole page scrolled sideways at 360. */
720
+ flex-wrap: wrap;
721
+ min-width: 0;
722
+ }
723
+ .filter-wrap > * {
724
+ max-width: 100%;
713
725
  }
714
726
  .filter-field {
715
727
  position: relative;
@@ -38,7 +38,7 @@
38
38
  <div class="d-flex mt-3 pb-5 pr-5">
39
39
  <p class="mr-6 font-weight-medium flex-grow-1">
40
40
  NFC / QR Code Pass
41
- <span class="d-block text-caption text-grey-darken-1 mt-1">
41
+ <span class="d-block text-caption screen-hint mt-1">
42
42
  NFC Card Pass uses Near Field Communication (NFC) technology
43
43
  to enable secure and convenient entry within ~4 cm proximity.
44
44
  </span>
@@ -59,7 +59,7 @@
59
59
  <div class="mt-5 pb-5">
60
60
  <p class="font-weight-medium mb-1">
61
61
  Access Door / Lift
62
- <span class="d-block text-caption text-grey-darken-1 mt-1">
62
+ <span class="d-block text-caption screen-hint mt-1">
63
63
  Choose the access method(s) for door and lift control.
64
64
  At least one method must be enabled.
65
65
  </span>
@@ -190,7 +190,7 @@
190
190
  <div class="d-flex mt-3 pb-5">
191
191
  <p class="font-weight-medium flex-grow-1">
192
192
  Upload Access Cards Template
193
- <span class="d-block text-caption text-grey-darken-1 mt-1">
193
+ <span class="d-block text-caption screen-hint mt-1">
194
194
  <a
195
195
  v-if="currentEntryPassSettings.template?.id"
196
196
  href="#"
@@ -1,8 +1,13 @@
1
1
  <template>
2
2
  <v-row no-gutters>
3
- <v-expansion-panels multiple v-model="openPanels">
3
+ <!--
4
+ The design draws settings as a stack of bordered sections with one open
5
+ at a time. `multiple` is BEHAVIOUR - which sections a user may have open
6
+ together - so it is left exactly as it was and only the drawing changes.
7
+ -->
8
+ <v-expansion-panels multiple v-model="openPanels" class="screen-accordion">
4
9
  <!-- SITE SETTINGS -->
5
- <v-expansion-panel v-if="canManageSiteInformation" color="primary">
10
+ <v-expansion-panel v-if="canManageSiteInformation">
6
11
  <v-expansion-panel-title>
7
12
  <v-icon class="mr-2">mdi-cog</v-icon>
8
13
  Site Information
@@ -22,7 +27,7 @@
22
27
  <v-img v-if="coverPhotoUrl" :src="coverPhotoUrl" aspect-ratio="16/9" cover rounded="lg"
23
28
  class="w-100 border" />
24
29
  <div v-else
25
- class="w-100 d-flex align-center justify-center rounded-lg bg-grey-lighten-4 border border-dashed"
30
+ class="w-100 d-flex align-center justify-center rounded-lg border border-dashed site-settings__placeholder"
26
31
  style="aspect-ratio: 16/9">
27
32
  <span class="text-caption text-medium-emphasis">No cover photo uploaded</span>
28
33
  </div>
@@ -76,7 +81,7 @@
76
81
  </v-expansion-panel>
77
82
 
78
83
  <!-- ANPR CAMERA -->
79
- <v-expansion-panel v-if="showAnprCamera && canManageANPRCamera" color="primary">
84
+ <v-expansion-panel v-if="showAnprCamera && canManageANPRCamera">
80
85
  <v-expansion-panel-title>
81
86
  <v-icon class="mr-2">mdi-camera</v-icon>
82
87
  ANPR Camera
@@ -118,7 +123,7 @@
118
123
  </v-expansion-panel>
119
124
 
120
125
  <!-- CCTV CAMERA -->
121
- <v-expansion-panel v-if="showCctvCamera && canManageCCTVCamera" color="primary">
126
+ <v-expansion-panel v-if="showCctvCamera && canManageCCTVCamera">
122
127
  <v-expansion-panel-title>
123
128
  <v-icon class="mr-2">mdi-cctv</v-icon>
124
129
  CCTV Camera
@@ -129,7 +134,7 @@
129
134
  </v-expansion-panel-text>
130
135
  </v-expansion-panel>
131
136
 
132
- <v-expansion-panel v-if="showDeliveryCompanies && canManageDeliveryCompanies" color="primary">
137
+ <v-expansion-panel v-if="showDeliveryCompanies && canManageDeliveryCompanies">
133
138
  <v-expansion-panel-title>
134
139
  <v-icon class="mr-2">mdi-truck</v-icon>
135
140
  Delivery Companies
@@ -140,7 +145,7 @@
140
145
  </v-expansion-panel-text>
141
146
  </v-expansion-panel>
142
147
 
143
- <v-expansion-panel v-if="showResidentVisitors && canManageResidentVisitors" color="primary">
148
+ <v-expansion-panel v-if="showResidentVisitors && canManageResidentVisitors">
144
149
  <v-expansion-panel-title>
145
150
  <v-icon class="mr-2">mdi-car</v-icon>
146
151
  Resident Visitors
@@ -150,7 +155,7 @@
150
155
  </v-expansion-panel-text>
151
156
  </v-expansion-panel>
152
157
 
153
- <v-expansion-panel color="primary">
158
+ <v-expansion-panel>
154
159
  <v-expansion-panel-title>
155
160
  <v-icon class="mr-2">mdi-face-recognition</v-icon>
156
161
  HID Face Reader
@@ -421,3 +426,11 @@ const saveANPRSettings = async () => {
421
426
  }
422
427
  };
423
428
  </script>
429
+
430
+ <style scoped>
431
+ /* Was `bg-grey-lighten-4`: a literal light grey, so the empty cover-photo tile
432
+ stayed a white slab on the dark page. */
433
+ .site-settings__placeholder {
434
+ background: var(--thead);
435
+ }
436
+ </style>
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@7365admin1/layer-common",
3
3
  "license": "MIT",
4
4
  "type": "module",
5
- "version": "3.2.2-staging.87",
5
+ "version": "3.2.2-staging.89",
6
6
  "author": "7365admin1",
7
7
  "main": "./nuxt.config.ts",
8
8
  "publishConfig": {