@7365admin1/layer-common 4.97.1-staging.728 → 4.97.1-staging.729

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.
@@ -366,8 +366,10 @@ const { getAvailableContractorCards, generateQrVms } = useAccessManagement();
366
366
  const { debounce } = useUtils();
367
367
 
368
368
  const nfcEnabled = computed(() => props.settings?.data?.settings?.nfcPass ?? false);
369
+ // HID QR Code pass type is hidden for now. Set to true to show it again.
370
+ const SHOW_HID_QR_PASS_TYPE = false;
369
371
  const hidQrCodeEnabled = computed(() => {
370
- return props.hidQrCodeEnabled && ["guest", "contractor", "walk-in"].includes(String(props.visitorType || ""));
372
+ return SHOW_HID_QR_PASS_TYPE && props.hidQrCodeEnabled &&["guest", "contractor", "walk-in"].includes(String(props.visitorType || ""));
371
373
  });
372
374
  const printer = computed(() => props.settings?.data?.settings?.printer ?? { vendorId: null, productId: null });
373
375
  const hasPrinter = computed(() => !!printer.value.vendorId && !!printer.value.productId);
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.728",
5
+ "version": "4.97.1-staging.729",
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.",