@7365admin1/layer-common 4.97.1-staging.563 → 4.97.1-staging.565
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/components/HidAccessPermissions.vue +2 -2
- package/components/HidQrCodeConfiguration.vue +2 -2
- package/components/HidServiceSettingsPanel.vue +2 -2
- package/components/SiteSettings.vue +1 -1
- package/composables/useHidNavigation.ts +2 -2
- package/package.json +1 -1
- package/pages/accept-terms.vue +2 -2
- package/utils/nav-sections.ts +1 -1
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
density="compact"
|
|
21
21
|
class="ma-4"
|
|
22
22
|
>
|
|
23
|
-
Set a location on this HID
|
|
23
|
+
Set a location on this HID Reader before managing permissions.
|
|
24
24
|
</v-alert>
|
|
25
25
|
|
|
26
26
|
<template v-else>
|
|
@@ -293,7 +293,7 @@ const open = computed({
|
|
|
293
293
|
const readerId = computed(() => String(props.reader?._id ?? ""));
|
|
294
294
|
const readerLocation = computed(() => String(props.reader?.location ?? "").trim());
|
|
295
295
|
const readerLabel = computed(() => {
|
|
296
|
-
const name = String(props.reader?.name ?? "").trim() || "HID
|
|
296
|
+
const name = String(props.reader?.name ?? "").trim() || "HID Reader";
|
|
297
297
|
return readerLocation.value ? `${name} · ${readerLocation.value}` : name;
|
|
298
298
|
});
|
|
299
299
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
<!--
|
|
2
2
|
HID QR CODE CONFIGURATION - the reader's own settings, inside Site Settings.
|
|
3
3
|
|
|
4
|
-
It is mounted in `SiteSettings.vue`'s "HID
|
|
4
|
+
It is mounted in `SiteSettings.vue`'s "HID Reader" expansion panel, next
|
|
5
5
|
to `HidServiceSettingsPanel`, so it takes the shape the handoff gives a
|
|
6
6
|
settings module BODY: section labels at 13px/700, explanatory lines at
|
|
7
7
|
12-13px/600 in `--muted`, the 38x22 toggle, 40px fields and 38px buttons.
|
|
8
8
|
|
|
9
9
|
Two pieces of legacy chrome are gone rather than restyled:
|
|
10
10
|
* the `#082e43` navy title bar. The design puts NO card inside an accordion
|
|
11
|
-
body - the accordion head ("HID
|
|
11
|
+
body - the accordion head ("HID Reader") is the card, and a second
|
|
12
12
|
titled panel inside it is a header the design does not draw. Its title is
|
|
13
13
|
kept as the body's first section label.
|
|
14
14
|
* the chevron button that sat on that bar. It had no `@click` and no model:
|
|
@@ -115,7 +115,7 @@ function buildHidServices(enabled: boolean) {
|
|
|
115
115
|
|
|
116
116
|
const service = {
|
|
117
117
|
key: "hid_amico",
|
|
118
|
-
name: "HID
|
|
118
|
+
name: "HID Reader",
|
|
119
119
|
enabled,
|
|
120
120
|
status: enabled ? "active" : "inactive",
|
|
121
121
|
};
|
|
@@ -154,7 +154,7 @@ async function saveHidService(value: boolean) {
|
|
|
154
154
|
hidEnabled.value = value;
|
|
155
155
|
emit("refresh");
|
|
156
156
|
await refreshNuxtData(`layout-selected-site-details-${useRuntimeConfig().public.APP}`);
|
|
157
|
-
showMessage(`HID
|
|
157
|
+
showMessage(`HID Reader ${value ? "enabled" : "disabled"} successfully`, "success");
|
|
158
158
|
} catch (error: unknown) {
|
|
159
159
|
hidEnabled.value = previousValue;
|
|
160
160
|
showMessage(errorConverter(error), "error");
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
<v-expansion-panel v-if="canManageHidSettings">
|
|
192
192
|
<v-expansion-panel-title>
|
|
193
193
|
<v-icon class="mr-2">mdi-face-recognition</v-icon>
|
|
194
|
-
HID
|
|
194
|
+
HID Reader
|
|
195
195
|
</v-expansion-panel-title>
|
|
196
196
|
<v-expansion-panel-text>
|
|
197
197
|
<HidServiceSettingsPanel
|
|
@@ -3,7 +3,7 @@ import type { ComputedRef, Ref } from "vue";
|
|
|
3
3
|
/**
|
|
4
4
|
* THE HID FACE READER MENU IS A PERMISSION, NOT A SERVICE FLAG.
|
|
5
5
|
*
|
|
6
|
-
* This composable used to draw the six item "HID
|
|
6
|
+
* This composable used to draw the six item "HID Reader" group whenever
|
|
7
7
|
* `getHidServiceEnabled(site)` was true. That is a SITE SERVICE FLAG: it says
|
|
8
8
|
* the estate bought HID, not that this member may use it. A module a member
|
|
9
9
|
* cannot use should not be in the menu at all, so the menu asks the same
|
|
@@ -42,7 +42,7 @@ export default function useHidNavigation() {
|
|
|
42
42
|
*/
|
|
43
43
|
function getHidFaceReaderMenu({ org, site }: HidNavigationParams) {
|
|
44
44
|
return {
|
|
45
|
-
title: "HID
|
|
45
|
+
title: "HID Reader",
|
|
46
46
|
children: [
|
|
47
47
|
{
|
|
48
48
|
title: "Face Reader",
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@7365admin1/layer-common",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "4.97.1-staging.
|
|
5
|
+
"version": "4.97.1-staging.565",
|
|
6
6
|
"author": "7365admin1",
|
|
7
7
|
"main": "./nuxt.config.ts",
|
|
8
8
|
"//files": "What a consumer extending this layer actually loads. Without this npm ships the whole working tree - the changesets, the CI workflows, the render harness in tools/ and any scratch directory that happened to exist at publish time. Nuxt resolves a layer by directory, so every runtime directory below has to stay listed; adding a new top-level runtime directory means adding it here too.",
|
package/pages/accept-terms.vue
CHANGED
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
<div class="terms-scroll mb-4">
|
|
16
16
|
<h2 v-if="termsHtml" class="text-subtitle-1 font-weight-bold mb-2">Terms & Conditions</h2>
|
|
17
17
|
<!-- Published by Seven365 in Super Admin -> Terms & Privacy Policy. -->
|
|
18
|
-
<div v-if="termsHtml" class="platform-terms mb-6" v-html="
|
|
18
|
+
<div v-if="termsHtml" class="platform-terms mb-6" v-html="sanitizeHtml(latest?.terms)" />
|
|
19
19
|
<h2 v-if="policiesHtml" class="text-subtitle-1 font-weight-bold mb-2">Privacy Policy</h2>
|
|
20
|
-
<div v-if="policiesHtml" class="platform-terms" v-html="
|
|
20
|
+
<div v-if="policiesHtml" class="platform-terms" v-html="sanitizeHtml(latest?.policies)" />
|
|
21
21
|
</div>
|
|
22
22
|
|
|
23
23
|
<v-checkbox
|
package/utils/nav-sections.ts
CHANGED
|
@@ -74,7 +74,7 @@ export const NAV_SECTIONS: Record<string, string> = {
|
|
|
74
74
|
"SOA Mgmt": "PROPERTY",
|
|
75
75
|
|
|
76
76
|
// SECURITY OPERATIONS
|
|
77
|
-
"HID
|
|
77
|
+
"HID Reader": "SECURITY OPERATIONS",
|
|
78
78
|
"Daily Occurrence Books": "SECURITY OPERATIONS",
|
|
79
79
|
Manpower: "SECURITY OPERATIONS",
|
|
80
80
|
"Virtual Patrol": "SECURITY OPERATIONS",
|