Spaces:
Running
Running
Cover Charge apps v0.1.8: Assistant (Managers only)
Browse files- CHECKSUMS.txt +11 -11
- HOW-TO-INSTALL.txt +2 -1
- README.md +1 -1
- chef-app/_expo/static/js/web/__common-df8a6faf62f8bb4cf3018b0dde5ffddf.js +0 -0
- chef-app/_expo/static/js/web/entry-150468ab35496daeab70fe36d0b9be9d.js +0 -0
- chef-app/_expo/static/js/web/index-569ec9f9c4f74238b35e76e14779687a.js +0 -0
- chef-app/index.html +1 -1
- chef-app/sw.js +2 -2
- customer-app/_expo/static/js/web/__common-c09655d4ffbf54d14edb4dc0a43b1609.js +0 -0
- customer-app/_expo/static/js/web/entry-15574291a681f69882430450b4c962cf.js +0 -0
- customer-app/_expo/static/js/web/index-569ec9f9c4f74238b35e76e14779687a.js +0 -0
- customer-app/index.html +1 -1
- customer-app/sw.js +2 -2
- display-app/_expo/static/js/web/__common-b26acc67134511214cc654452c756be7.js +0 -0
- display-app/_expo/static/js/web/entry-899786e611d4f2b5e5d534d161ad4b7c.js +0 -0
- display-app/_expo/static/js/web/index-569ec9f9c4f74238b35e76e14779687a.js +0 -0
- display-app/index.html +1 -1
- display-app/sw.js +2 -2
- index.html +3 -3
- owner-app/_expo/static/js/web/__common-e9777987fa500f4bbe1f23c71d68d69d.js +0 -0
- owner-app/_expo/static/js/web/_layout-60d906ee9f539290ee6800e48108f3b1.js +34 -0
- owner-app/_expo/static/js/web/entry-f88bb7d4beed4a0d7ffa3bafba0ee86c.js +0 -0
- owner-app/_expo/static/js/web/index-11532b306833ea14634e803b79d5e84d.js +0 -0
- owner-app/_expo/static/js/web/index-5a99093a0c2fe017cb857e6f5af51697.js +2 -0
CHECKSUMS.txt
CHANGED
|
@@ -1,23 +1,23 @@
|
|
| 1 |
-
Cover Charge prototype v0.1.
|
| 2 |
SHA-256 of each web app's start page, service worker, manifest and logo:
|
| 3 |
|
| 4 |
-
|
| 5 |
-
|
| 6 |
f55e319dbc2c60a4fdc484584098bc3c80b780d7ee8b8df280c30a673f94e69d owner-app/manifest.webmanifest
|
| 7 |
cc3dd9b8a359ba6c3f28d625c27cc6a01a46233311c2a5f5c8aaf09e91be8239 owner-app/brand-logo.png
|
| 8 |
-
|
| 9 |
-
|
| 10 |
18923b63d620744c81e8ae77204858313f0e3c54683b0c68a4ef6417975b92e3 staff-app/manifest.webmanifest
|
| 11 |
cc3dd9b8a359ba6c3f28d625c27cc6a01a46233311c2a5f5c8aaf09e91be8239 staff-app/brand-logo.png
|
| 12 |
-
|
| 13 |
-
|
| 14 |
559816eba2698515c255da3cb9240a338f5bf8f5a4826a64e332cf51d5522e09 customer-app/manifest.webmanifest
|
| 15 |
cc3dd9b8a359ba6c3f28d625c27cc6a01a46233311c2a5f5c8aaf09e91be8239 customer-app/brand-logo.png
|
| 16 |
-
|
| 17 |
-
|
| 18 |
8212811f397e23840df0b7ecb6a753ce5532c9383d6fdcad71b2deea30665077 display-app/manifest.webmanifest
|
| 19 |
cc3dd9b8a359ba6c3f28d625c27cc6a01a46233311c2a5f5c8aaf09e91be8239 display-app/brand-logo.png
|
| 20 |
-
|
| 21 |
-
|
| 22 |
7aa962371046330167f56dd74180ed58cba417770e3e4bae9ec8289b1837c461 chef-app/manifest.webmanifest
|
| 23 |
cc3dd9b8a359ba6c3f28d625c27cc6a01a46233311c2a5f5c8aaf09e91be8239 chef-app/brand-logo.png
|
|
|
|
| 1 |
+
Cover Charge prototype v0.1.8: web apps only. No APKs were built for v0.1.2 to v0.1.8.
|
| 2 |
SHA-256 of each web app's start page, service worker, manifest and logo:
|
| 3 |
|
| 4 |
+
7c63cde79c2c2975233228c4292cae2e15dabe81bc96c73fad8eb5cb4662e4de owner-app/index.html
|
| 5 |
+
667fe4c96f0545400c3d0a6b04f08a46080000e6da53eb0eeba5319d03ac1d2f owner-app/sw.js
|
| 6 |
f55e319dbc2c60a4fdc484584098bc3c80b780d7ee8b8df280c30a673f94e69d owner-app/manifest.webmanifest
|
| 7 |
cc3dd9b8a359ba6c3f28d625c27cc6a01a46233311c2a5f5c8aaf09e91be8239 owner-app/brand-logo.png
|
| 8 |
+
2b31e23fad051e82b0656c330ccb164e1c94535f071746574df1b080da76a90b staff-app/index.html
|
| 9 |
+
864e2b7ede409ab741c0a027360e0b175f149901c81f7c25035295a7d4a2cf05 staff-app/sw.js
|
| 10 |
18923b63d620744c81e8ae77204858313f0e3c54683b0c68a4ef6417975b92e3 staff-app/manifest.webmanifest
|
| 11 |
cc3dd9b8a359ba6c3f28d625c27cc6a01a46233311c2a5f5c8aaf09e91be8239 staff-app/brand-logo.png
|
| 12 |
+
1984ee224a8d46ddab5341c63e19539c91920eb670808cb9d4f725d7ef64abe8 customer-app/index.html
|
| 13 |
+
94023a294967420b7340af2a4b6d7dec1081184581a6c145c83532845d207354 customer-app/sw.js
|
| 14 |
559816eba2698515c255da3cb9240a338f5bf8f5a4826a64e332cf51d5522e09 customer-app/manifest.webmanifest
|
| 15 |
cc3dd9b8a359ba6c3f28d625c27cc6a01a46233311c2a5f5c8aaf09e91be8239 customer-app/brand-logo.png
|
| 16 |
+
c4b0219c3f3c835ec5589922c63e78d7db7fcf38d22f6c98eb5f8878654cddd7 display-app/index.html
|
| 17 |
+
045519775849c1f6b1f9f539fa4ea1b00e2ced80a3ed29e036265daec79d23ce display-app/sw.js
|
| 18 |
8212811f397e23840df0b7ecb6a753ce5532c9383d6fdcad71b2deea30665077 display-app/manifest.webmanifest
|
| 19 |
cc3dd9b8a359ba6c3f28d625c27cc6a01a46233311c2a5f5c8aaf09e91be8239 display-app/brand-logo.png
|
| 20 |
+
6baebdd932f16a30f9dd30b1122061ccf8a6e9ba759b764dd138da310202bd90 chef-app/index.html
|
| 21 |
+
fced9ef5fcabefb85fc727d5a8e16778fdbad1bd140eea36427437d340dfd28e chef-app/sw.js
|
| 22 |
7aa962371046330167f56dd74180ed58cba417770e3e4bae9ec8289b1837c461 chef-app/manifest.webmanifest
|
| 23 |
cc3dd9b8a359ba6c3f28d625c27cc6a01a46233311c2a5f5c8aaf09e91be8239 chef-app/brand-logo.png
|
HOW-TO-INSTALL.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
Cover Charge prototype apps, v0.1.
|
| 2 |
Pilot restaurant: The Anchorage, Harbour View, Dunure
|
| 3 |
|
| 4 |
These are test versions with made-up demo data. No real payments, messages, social posts or location tracking happen.
|
|
@@ -35,6 +35,7 @@ TIPS
|
|
| 35 |
- Cover Charge for Managers: More > Branding sets your logo and accent colour for all five apps.
|
| 36 |
- Cover Charge for Managers: More > Your apps has an Open button and a Copy link button for each of the five apps (each opens in a new tab).
|
| 37 |
- Home screen icons are labelled The Anchorage (customers), Managers · Anchorage, Staff · Anchorage, Display · Anchorage and Head Chef · Anchorage.
|
|
|
|
| 38 |
- Cover Charge for Managers: tap the role pill at the top to preview what staff see. More > All features gives a guided tour.
|
| 39 |
- Cover Charge for Display: best on a tablet held sideways. The big + Walk-in and + Booking buttons are always at the top.
|
| 40 |
- Display tabs: Floor (tap a table for quick actions; drag a seated party to move it), Timeline (drag bookings to another table or time, drag the right edge to change the length), Board and Edit plan.
|
|
|
|
| 1 |
+
Cover Charge prototype apps, v0.1.8 (web apps)
|
| 2 |
Pilot restaurant: The Anchorage, Harbour View, Dunure
|
| 3 |
|
| 4 |
These are test versions with made-up demo data. No real payments, messages, social posts or location tracking happen.
|
|
|
|
| 35 |
- Cover Charge for Managers: More > Branding sets your logo and accent colour for all five apps.
|
| 36 |
- Cover Charge for Managers: More > Your apps has an Open button and a Copy link button for each of the five apps (each opens in a new tab).
|
| 37 |
- Home screen icons are labelled The Anchorage (customers), Managers · Anchorage, Staff · Anchorage, Display · Anchorage and Head Chef · Anchorage.
|
| 38 |
+
- Cover Charge for Managers: the gold Assistant button (owners and managers) takes requests in plain English, e.g. 'Add a walk-in for 4 at table 7'. It always shows what it will do and waits for Confirm. Facebook, Instagram, Gmail and Wix are not connected: those are previews only and nothing is sent. More > Assistant has the activity log; More > Assistant settings turns it off or turns voice off.
|
| 39 |
- Cover Charge for Managers: tap the role pill at the top to preview what staff see. More > All features gives a guided tour.
|
| 40 |
- Cover Charge for Display: best on a tablet held sideways. The big + Walk-in and + Booking buttons are always at the top.
|
| 41 |
- Display tabs: Floor (tap a table for quick actions; drag a seated party to move it), Timeline (drag bookings to another table or time, drag the right edge to change the length), Board and Edit plan.
|
README.md
CHANGED
|
@@ -9,7 +9,7 @@ pinned: false
|
|
| 9 |
short_description: Cover Charge prototype, five web apps, demo data
|
| 10 |
---
|
| 11 |
|
| 12 |
-
# Cover Charge apps (prototype v0.1.
|
| 13 |
|
| 14 |
Web apps (PWAs) for The Anchorage, Harbour View, Dunure: Managers, Staff, the customer app, Display and Head Chef.
|
| 15 |
Each one opens in the browser and can be added to the Home screen (Chrome, Huawei Browser, Safari).
|
|
|
|
| 9 |
short_description: Cover Charge prototype, five web apps, demo data
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Cover Charge apps (prototype v0.1.8)
|
| 13 |
|
| 14 |
Web apps (PWAs) for The Anchorage, Harbour View, Dunure: Managers, Staff, the customer app, Display and Head Chef.
|
| 15 |
Each one opens in the browser and can be added to the Home screen (Chrome, Huawei Browser, Safari).
|
chef-app/_expo/static/js/web/__common-df8a6faf62f8bb4cf3018b0dde5ffddf.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
chef-app/_expo/static/js/web/entry-150468ab35496daeab70fe36d0b9be9d.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
chef-app/_expo/static/js/web/index-569ec9f9c4f74238b35e76e14779687a.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
chef-app/index.html
CHANGED
|
@@ -42,7 +42,7 @@
|
|
| 42 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 43 |
<!-- The root element for your Expo app. -->
|
| 44 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/chef-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 45 |
-
<script src="/chef-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/chef-app/_expo/static/js/web/__common-
|
| 46 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 47 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 48 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
|
|
|
| 42 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 43 |
<!-- The root element for your Expo app. -->
|
| 44 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/chef-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 45 |
+
<script src="/chef-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/chef-app/_expo/static/js/web/__common-df8a6faf62f8bb4cf3018b0dde5ffddf.js" defer></script><script src="/chef-app/_expo/static/js/web/entry-150468ab35496daeab70fe36d0b9be9d.js" defer></script>
|
| 46 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 47 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 48 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
chef-app/sw.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
// The Anchorage · Head Chef service worker: precache the app shell so it opens offline after the first visit.
|
| 2 |
-
const V = "cc-chef-
|
| 3 |
const BASE = "/chef-app/";
|
| 4 |
-
const PRECACHE = ["/chef-app/_expo/static/js/web/+not-found-da8ea3ec55bebb0779db542f35c6adf9.js", "/chef-app/_expo/static/js/web/[did]-91eaf603d23bc2b2b79e4e95467ef972.js", "/chef-app/_expo/static/js/web/[n]-e07421962f3951aaf0f9cdf16bfbce72.js", "/chef-app/_expo/static/js/web/[oid]-a911bc47304589ae845932228484acd1.js", "/chef-app/_expo/static/js/web/[section]-11e4dec81ff7b7cd85a190186e1ec965.js", "/chef-app/_expo/static/js/web/__common-
|
| 5 |
// Hugging Face serves large files (fonts) through a redirect to its CDN. Browsers refuse to hand a *redirected* cached
|
| 6 |
// response to a page, so store a plain copy instead (otherwise fonts, and so the app, fail to load offline).
|
| 7 |
const plain = r => r.redirected ? r.blob().then(b => new Response(b, { status: 200, headers: { 'Content-Type': r.headers.get('Content-Type') || b.type || 'application/octet-stream' } })) : Promise.resolve(r);
|
|
|
|
| 1 |
// The Anchorage · Head Chef service worker: precache the app shell so it opens offline after the first visit.
|
| 2 |
+
const V = "cc-chef-54e75fe7f5";
|
| 3 |
const BASE = "/chef-app/";
|
| 4 |
+
const PRECACHE = ["/chef-app/_expo/static/js/web/+not-found-da8ea3ec55bebb0779db542f35c6adf9.js", "/chef-app/_expo/static/js/web/[did]-91eaf603d23bc2b2b79e4e95467ef972.js", "/chef-app/_expo/static/js/web/[n]-e07421962f3951aaf0f9cdf16bfbce72.js", "/chef-app/_expo/static/js/web/[oid]-a911bc47304589ae845932228484acd1.js", "/chef-app/_expo/static/js/web/[section]-11e4dec81ff7b7cd85a190186e1ec965.js", "/chef-app/_expo/static/js/web/__common-df8a6faf62f8bb4cf3018b0dde5ffddf.js", "/chef-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js", "/chef-app/_expo/static/js/web/_layout-5abba7b00f254ff98f10c570b1cbe8cd.js", "/chef-app/_expo/static/js/web/basket-4eb21aa32dca70bb07c6366854d109ba.js", "/chef-app/_expo/static/js/web/book-73d16fd431095875bb01cc0a0c784d3b.js", "/chef-app/_expo/static/js/web/demo-2aeda33db335ba3a45d18733444a4df6.js", "/chef-app/_expo/static/js/web/entry-150468ab35496daeab70fe36d0b9be9d.js", "/chef-app/_expo/static/js/web/feedback-c3022e0683297c445b34cc46bbd3da7c.js", "/chef-app/_expo/static/js/web/gift-0647b216e00344da5b09e74268994259.js", "/chef-app/_expo/static/js/web/index-3ce55512f207e0f4e938fcea314e34d2.js", "/chef-app/_expo/static/js/web/index-42c772ae8e6fc8ffb457607b71499331.js", "/chef-app/_expo/static/js/web/index-569ec9f9c4f74238b35e76e14779687a.js", "/chef-app/_expo/static/js/web/index-6c06c3a978a74bc78b73a5091dd451ca.js", "/chef-app/_expo/static/js/web/index-720c6529b100261d585df74ac570af08.js", "/chef-app/_expo/static/js/web/index-74ed5e3887809c4259d725a2965aa3f3.js", "/chef-app/_expo/static/js/web/index-99af37ed24577194995c700759e20e13.js", "/chef-app/_expo/static/js/web/index-af3e5ccc851b8a4e8e2a3b86ef9e9d20.js", "/chef-app/_expo/static/js/web/index-e57a61ccf8b16e38bf91548a01cebbf1.js", "/chef-app/_expo/static/js/web/lost-7b007fea2d20e11c896c10e43db314be.js", "/chef-app/_expo/static/js/web/loyalty-d61b997ba39f99d118b493617d57703f.js", "/chef-app/_expo/static/js/web/merch-14abbe5512f1b6eed03bc33e186d67f4.js", "/chef-app/_expo/static/js/web/offers-5900fcc1d50a10eb3a8ff2fd4b42777f.js", "/chef-app/_expo/static/js/web/profile-6f51fd327a235cc35956151e575e911e.js", "/chef-app/_expo/static/js/web/refer-0e20085c049a276476e1c515770e9648.js", "/chef-app/_expo/static/js/web/waitlist-a5a0b1c64dc88c053754737447f661af.js", "/chef-app/_expo/static/js/web/whatson-7bba1c8989b9be2fc455c8ddd8bbc99d.js", "/chef-app/apple-touch-icon.png", "/chef-app/assets/assets/brand/anchorage-hero.0450b828e4f9c1f4456240096598f6f5.png", "/chef-app/assets/assets/brand/anchorage.fea5ce2f6fd18bf2950aa21c0980ed8e.png", "/chef-app/assets/assets/brand/brae.8de9e89ac30966c6669de990370d8e40.png", "/chef-app/assets/assets/brand/saltmarsh.84acbc30d810d7a1cd3bbeb7b62651e8.png", "/chef-app/assets/node_modules/@expo-google-fonts/poppins/400Regular/Poppins_400Regular.093ee89be9ede30383f39a899c485a82.ttf", "/chef-app/assets/node_modules/@expo-google-fonts/poppins/500Medium/Poppins_500Medium.bf59c687bc6d3a70204d3944082c5cc0.ttf", "/chef-app/assets/node_modules/@expo-google-fonts/poppins/600SemiBold/Poppins_600SemiBold.6f1520d107205975713ba09df778f93f.ttf", "/chef-app/assets/node_modules/@expo-google-fonts/poppins/700Bold/Poppins_700Bold.08c20a487911694291bd8c5de41315ad.ttf", "/chef-app/assets/node_modules/expo-router/assets/arrow_down.017bc6ba3fc25503e5eb5e53826d48a8.png", "/chef-app/assets/node_modules/expo-router/assets/error.d1ea1496f9057eb392d5bbf3732a61b7.png", "/chef-app/assets/node_modules/expo-router/assets/file.19eeb73b9593a38f8e9f418337fc7d10.png", "/chef-app/assets/node_modules/expo-router/assets/forward.d8b800c443b8972542883e0b9de2bdc6.png", "/chef-app/assets/node_modules/expo-router/assets/pkg.ab19f4cbc543357183a20571f68380a3.png", "/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon-mask.0a328cd9c1afd0afe8e3b1ec5165b1b4.png", "/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon.35ba0eaec5a4f5ed12ca16fabeae451d.png", "/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55.png", "/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@2x.png", "/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@3x.png", "/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@4x.png", "/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7.png", "/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@2x.png", "/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@3x.png", "/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@4x.png", "/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/search-icon.286d67d3f74808a60a78d3ebf1a5fb57.png", "/chef-app/assets/node_modules/expo-router/assets/sitemap.412dd9275b6b48ad28f5e3d81bb1f626.png", "/chef-app/assets/node_modules/expo-router/assets/unmatched.20e71bdf79e3a97bf55fd9e164041578.png", "/chef-app/brand-logo.png", "/chef-app/favicon.ico", "/chef-app/icon-192.png", "/chef-app/icon-512.png", "/chef-app/icon-maskable-512.png", "/chef-app/manifest.webmanifest", "/chef-app/index.html"];
|
| 5 |
// Hugging Face serves large files (fonts) through a redirect to its CDN. Browsers refuse to hand a *redirected* cached
|
| 6 |
// response to a page, so store a plain copy instead (otherwise fonts, and so the app, fail to load offline).
|
| 7 |
const plain = r => r.redirected ? r.blob().then(b => new Response(b, { status: 200, headers: { 'Content-Type': r.headers.get('Content-Type') || b.type || 'application/octet-stream' } })) : Promise.resolve(r);
|
customer-app/_expo/static/js/web/__common-c09655d4ffbf54d14edb4dc0a43b1609.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
customer-app/_expo/static/js/web/entry-15574291a681f69882430450b4c962cf.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
customer-app/_expo/static/js/web/index-569ec9f9c4f74238b35e76e14779687a.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
customer-app/index.html
CHANGED
|
@@ -42,7 +42,7 @@
|
|
| 42 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 43 |
<!-- The root element for your Expo app. -->
|
| 44 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/customer-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 45 |
-
<script src="/customer-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/customer-app/_expo/static/js/web/__common-
|
| 46 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 47 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 48 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
|
|
|
| 42 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 43 |
<!-- The root element for your Expo app. -->
|
| 44 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/customer-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 45 |
+
<script src="/customer-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/customer-app/_expo/static/js/web/__common-c09655d4ffbf54d14edb4dc0a43b1609.js" defer></script><script src="/customer-app/_expo/static/js/web/entry-15574291a681f69882430450b4c962cf.js" defer></script>
|
| 46 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 47 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 48 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
customer-app/sw.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
// The Anchorage service worker: precache the app shell so it opens offline after the first visit.
|
| 2 |
-
const V = "cc-customer-
|
| 3 |
const BASE = "/customer-app/";
|
| 4 |
-
const PRECACHE = ["/customer-app/_expo/static/js/web/+not-found-da8ea3ec55bebb0779db542f35c6adf9.js", "/customer-app/_expo/static/js/web/[did]-91eaf603d23bc2b2b79e4e95467ef972.js", "/customer-app/_expo/static/js/web/[n]-e07421962f3951aaf0f9cdf16bfbce72.js", "/customer-app/_expo/static/js/web/[oid]-a911bc47304589ae845932228484acd1.js", "/customer-app/_expo/static/js/web/[section]-11e4dec81ff7b7cd85a190186e1ec965.js", "/customer-app/_expo/static/js/web/__common-
|
| 5 |
// Hugging Face serves large files (fonts) through a redirect to its CDN. Browsers refuse to hand a *redirected* cached
|
| 6 |
// response to a page, so store a plain copy instead (otherwise fonts, and so the app, fail to load offline).
|
| 7 |
const plain = r => r.redirected ? r.blob().then(b => new Response(b, { status: 200, headers: { 'Content-Type': r.headers.get('Content-Type') || b.type || 'application/octet-stream' } })) : Promise.resolve(r);
|
|
|
|
| 1 |
// The Anchorage service worker: precache the app shell so it opens offline after the first visit.
|
| 2 |
+
const V = "cc-customer-677a45169b";
|
| 3 |
const BASE = "/customer-app/";
|
| 4 |
+
const PRECACHE = ["/customer-app/_expo/static/js/web/+not-found-da8ea3ec55bebb0779db542f35c6adf9.js", "/customer-app/_expo/static/js/web/[did]-91eaf603d23bc2b2b79e4e95467ef972.js", "/customer-app/_expo/static/js/web/[n]-e07421962f3951aaf0f9cdf16bfbce72.js", "/customer-app/_expo/static/js/web/[oid]-a911bc47304589ae845932228484acd1.js", "/customer-app/_expo/static/js/web/[section]-11e4dec81ff7b7cd85a190186e1ec965.js", "/customer-app/_expo/static/js/web/__common-c09655d4ffbf54d14edb4dc0a43b1609.js", "/customer-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js", "/customer-app/_expo/static/js/web/_layout-13bb0f9f37a0502e9761240f7b273ca5.js", "/customer-app/_expo/static/js/web/basket-4eb21aa32dca70bb07c6366854d109ba.js", "/customer-app/_expo/static/js/web/book-73d16fd431095875bb01cc0a0c784d3b.js", "/customer-app/_expo/static/js/web/demo-2aeda33db335ba3a45d18733444a4df6.js", "/customer-app/_expo/static/js/web/entry-15574291a681f69882430450b4c962cf.js", "/customer-app/_expo/static/js/web/feedback-c3022e0683297c445b34cc46bbd3da7c.js", "/customer-app/_expo/static/js/web/gift-0647b216e00344da5b09e74268994259.js", "/customer-app/_expo/static/js/web/index-3ce55512f207e0f4e938fcea314e34d2.js", "/customer-app/_expo/static/js/web/index-42c772ae8e6fc8ffb457607b71499331.js", "/customer-app/_expo/static/js/web/index-569ec9f9c4f74238b35e76e14779687a.js", "/customer-app/_expo/static/js/web/index-6c06c3a978a74bc78b73a5091dd451ca.js", "/customer-app/_expo/static/js/web/index-720c6529b100261d585df74ac570af08.js", "/customer-app/_expo/static/js/web/index-74ed5e3887809c4259d725a2965aa3f3.js", "/customer-app/_expo/static/js/web/index-99af37ed24577194995c700759e20e13.js", "/customer-app/_expo/static/js/web/index-af3e5ccc851b8a4e8e2a3b86ef9e9d20.js", "/customer-app/_expo/static/js/web/index-e57a61ccf8b16e38bf91548a01cebbf1.js", "/customer-app/_expo/static/js/web/lost-7b007fea2d20e11c896c10e43db314be.js", "/customer-app/_expo/static/js/web/loyalty-d61b997ba39f99d118b493617d57703f.js", "/customer-app/_expo/static/js/web/merch-14abbe5512f1b6eed03bc33e186d67f4.js", "/customer-app/_expo/static/js/web/offers-5900fcc1d50a10eb3a8ff2fd4b42777f.js", "/customer-app/_expo/static/js/web/profile-6f51fd327a235cc35956151e575e911e.js", "/customer-app/_expo/static/js/web/refer-0e20085c049a276476e1c515770e9648.js", "/customer-app/_expo/static/js/web/waitlist-a5a0b1c64dc88c053754737447f661af.js", "/customer-app/_expo/static/js/web/whatson-7bba1c8989b9be2fc455c8ddd8bbc99d.js", "/customer-app/apple-touch-icon.png", "/customer-app/assets/assets/brand/anchorage-hero.0450b828e4f9c1f4456240096598f6f5.png", "/customer-app/assets/assets/brand/anchorage.fea5ce2f6fd18bf2950aa21c0980ed8e.png", "/customer-app/assets/assets/brand/brae.8de9e89ac30966c6669de990370d8e40.png", "/customer-app/assets/assets/brand/saltmarsh.84acbc30d810d7a1cd3bbeb7b62651e8.png", "/customer-app/assets/node_modules/@expo-google-fonts/poppins/400Regular/Poppins_400Regular.093ee89be9ede30383f39a899c485a82.ttf", "/customer-app/assets/node_modules/@expo-google-fonts/poppins/500Medium/Poppins_500Medium.bf59c687bc6d3a70204d3944082c5cc0.ttf", "/customer-app/assets/node_modules/@expo-google-fonts/poppins/600SemiBold/Poppins_600SemiBold.6f1520d107205975713ba09df778f93f.ttf", "/customer-app/assets/node_modules/@expo-google-fonts/poppins/700Bold/Poppins_700Bold.08c20a487911694291bd8c5de41315ad.ttf", "/customer-app/assets/node_modules/expo-router/assets/arrow_down.017bc6ba3fc25503e5eb5e53826d48a8.png", "/customer-app/assets/node_modules/expo-router/assets/error.d1ea1496f9057eb392d5bbf3732a61b7.png", "/customer-app/assets/node_modules/expo-router/assets/file.19eeb73b9593a38f8e9f418337fc7d10.png", "/customer-app/assets/node_modules/expo-router/assets/forward.d8b800c443b8972542883e0b9de2bdc6.png", "/customer-app/assets/node_modules/expo-router/assets/pkg.ab19f4cbc543357183a20571f68380a3.png", "/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon-mask.0a328cd9c1afd0afe8e3b1ec5165b1b4.png", "/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon.35ba0eaec5a4f5ed12ca16fabeae451d.png", "/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55.png", "/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@2x.png", "/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@3x.png", "/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@4x.png", "/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7.png", "/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@2x.png", "/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@3x.png", "/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@4x.png", "/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/search-icon.286d67d3f74808a60a78d3ebf1a5fb57.png", "/customer-app/assets/node_modules/expo-router/assets/sitemap.412dd9275b6b48ad28f5e3d81bb1f626.png", "/customer-app/assets/node_modules/expo-router/assets/unmatched.20e71bdf79e3a97bf55fd9e164041578.png", "/customer-app/brand-logo.png", "/customer-app/favicon.ico", "/customer-app/icon-192.png", "/customer-app/icon-512.png", "/customer-app/icon-maskable-512.png", "/customer-app/manifest.webmanifest", "/customer-app/index.html"];
|
| 5 |
// Hugging Face serves large files (fonts) through a redirect to its CDN. Browsers refuse to hand a *redirected* cached
|
| 6 |
// response to a page, so store a plain copy instead (otherwise fonts, and so the app, fail to load offline).
|
| 7 |
const plain = r => r.redirected ? r.blob().then(b => new Response(b, { status: 200, headers: { 'Content-Type': r.headers.get('Content-Type') || b.type || 'application/octet-stream' } })) : Promise.resolve(r);
|
display-app/_expo/static/js/web/__common-b26acc67134511214cc654452c756be7.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
display-app/_expo/static/js/web/entry-899786e611d4f2b5e5d534d161ad4b7c.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
display-app/_expo/static/js/web/index-569ec9f9c4f74238b35e76e14779687a.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
display-app/index.html
CHANGED
|
@@ -42,7 +42,7 @@
|
|
| 42 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 43 |
<!-- The root element for your Expo app. -->
|
| 44 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 45 |
-
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-
|
| 46 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 47 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 48 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
|
|
|
| 42 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 43 |
<!-- The root element for your Expo app. -->
|
| 44 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 45 |
+
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-b26acc67134511214cc654452c756be7.js" defer></script><script src="/display-app/_expo/static/js/web/entry-899786e611d4f2b5e5d534d161ad4b7c.js" defer></script>
|
| 46 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 47 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 48 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
display-app/sw.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
// The Anchorage · Display service worker: precache the app shell so it opens offline after the first visit.
|
| 2 |
-
const V = "cc-display-
|
| 3 |
const BASE = "/display-app/";
|
| 4 |
-
const PRECACHE = ["/display-app/_expo/static/js/web/+not-found-da8ea3ec55bebb0779db542f35c6adf9.js", "/display-app/_expo/static/js/web/[did]-91eaf603d23bc2b2b79e4e95467ef972.js", "/display-app/_expo/static/js/web/[n]-e07421962f3951aaf0f9cdf16bfbce72.js", "/display-app/_expo/static/js/web/[oid]-a911bc47304589ae845932228484acd1.js", "/display-app/_expo/static/js/web/[section]-11e4dec81ff7b7cd85a190186e1ec965.js", "/display-app/_expo/static/js/web/__common-
|
| 5 |
// Hugging Face serves large files (fonts) through a redirect to its CDN. Browsers refuse to hand a *redirected* cached
|
| 6 |
// response to a page, so store a plain copy instead (otherwise fonts, and so the app, fail to load offline).
|
| 7 |
const plain = r => r.redirected ? r.blob().then(b => new Response(b, { status: 200, headers: { 'Content-Type': r.headers.get('Content-Type') || b.type || 'application/octet-stream' } })) : Promise.resolve(r);
|
|
|
|
| 1 |
// The Anchorage · Display service worker: precache the app shell so it opens offline after the first visit.
|
| 2 |
+
const V = "cc-display-7120aca165";
|
| 3 |
const BASE = "/display-app/";
|
| 4 |
+
const PRECACHE = ["/display-app/_expo/static/js/web/+not-found-da8ea3ec55bebb0779db542f35c6adf9.js", "/display-app/_expo/static/js/web/[did]-91eaf603d23bc2b2b79e4e95467ef972.js", "/display-app/_expo/static/js/web/[n]-e07421962f3951aaf0f9cdf16bfbce72.js", "/display-app/_expo/static/js/web/[oid]-a911bc47304589ae845932228484acd1.js", "/display-app/_expo/static/js/web/[section]-11e4dec81ff7b7cd85a190186e1ec965.js", "/display-app/_expo/static/js/web/__common-b26acc67134511214cc654452c756be7.js", "/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js", "/display-app/_expo/static/js/web/_layout-6953b03c6715ea86807997e20d7220af.js", "/display-app/_expo/static/js/web/basket-4eb21aa32dca70bb07c6366854d109ba.js", "/display-app/_expo/static/js/web/book-73d16fd431095875bb01cc0a0c784d3b.js", "/display-app/_expo/static/js/web/demo-2aeda33db335ba3a45d18733444a4df6.js", "/display-app/_expo/static/js/web/entry-899786e611d4f2b5e5d534d161ad4b7c.js", "/display-app/_expo/static/js/web/feedback-c3022e0683297c445b34cc46bbd3da7c.js", "/display-app/_expo/static/js/web/gift-0647b216e00344da5b09e74268994259.js", "/display-app/_expo/static/js/web/index-3ce55512f207e0f4e938fcea314e34d2.js", "/display-app/_expo/static/js/web/index-42c772ae8e6fc8ffb457607b71499331.js", "/display-app/_expo/static/js/web/index-569ec9f9c4f74238b35e76e14779687a.js", "/display-app/_expo/static/js/web/index-6c06c3a978a74bc78b73a5091dd451ca.js", "/display-app/_expo/static/js/web/index-720c6529b100261d585df74ac570af08.js", "/display-app/_expo/static/js/web/index-74ed5e3887809c4259d725a2965aa3f3.js", "/display-app/_expo/static/js/web/index-99af37ed24577194995c700759e20e13.js", "/display-app/_expo/static/js/web/index-af3e5ccc851b8a4e8e2a3b86ef9e9d20.js", "/display-app/_expo/static/js/web/index-e57a61ccf8b16e38bf91548a01cebbf1.js", "/display-app/_expo/static/js/web/lost-7b007fea2d20e11c896c10e43db314be.js", "/display-app/_expo/static/js/web/loyalty-d61b997ba39f99d118b493617d57703f.js", "/display-app/_expo/static/js/web/merch-14abbe5512f1b6eed03bc33e186d67f4.js", "/display-app/_expo/static/js/web/offers-5900fcc1d50a10eb3a8ff2fd4b42777f.js", "/display-app/_expo/static/js/web/profile-6f51fd327a235cc35956151e575e911e.js", "/display-app/_expo/static/js/web/refer-0e20085c049a276476e1c515770e9648.js", "/display-app/_expo/static/js/web/waitlist-a5a0b1c64dc88c053754737447f661af.js", "/display-app/_expo/static/js/web/whatson-7bba1c8989b9be2fc455c8ddd8bbc99d.js", "/display-app/apple-touch-icon.png", "/display-app/assets/assets/brand/anchorage-hero.0450b828e4f9c1f4456240096598f6f5.png", "/display-app/assets/assets/brand/anchorage.fea5ce2f6fd18bf2950aa21c0980ed8e.png", "/display-app/assets/assets/brand/brae.8de9e89ac30966c6669de990370d8e40.png", "/display-app/assets/assets/brand/saltmarsh.84acbc30d810d7a1cd3bbeb7b62651e8.png", "/display-app/assets/node_modules/@expo-google-fonts/poppins/400Regular/Poppins_400Regular.093ee89be9ede30383f39a899c485a82.ttf", "/display-app/assets/node_modules/@expo-google-fonts/poppins/500Medium/Poppins_500Medium.bf59c687bc6d3a70204d3944082c5cc0.ttf", "/display-app/assets/node_modules/@expo-google-fonts/poppins/600SemiBold/Poppins_600SemiBold.6f1520d107205975713ba09df778f93f.ttf", "/display-app/assets/node_modules/@expo-google-fonts/poppins/700Bold/Poppins_700Bold.08c20a487911694291bd8c5de41315ad.ttf", "/display-app/assets/node_modules/expo-router/assets/arrow_down.017bc6ba3fc25503e5eb5e53826d48a8.png", "/display-app/assets/node_modules/expo-router/assets/error.d1ea1496f9057eb392d5bbf3732a61b7.png", "/display-app/assets/node_modules/expo-router/assets/file.19eeb73b9593a38f8e9f418337fc7d10.png", "/display-app/assets/node_modules/expo-router/assets/forward.d8b800c443b8972542883e0b9de2bdc6.png", "/display-app/assets/node_modules/expo-router/assets/pkg.ab19f4cbc543357183a20571f68380a3.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon-mask.0a328cd9c1afd0afe8e3b1ec5165b1b4.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon.35ba0eaec5a4f5ed12ca16fabeae451d.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@2x.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@3x.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@4x.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@2x.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@3x.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@4x.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/search-icon.286d67d3f74808a60a78d3ebf1a5fb57.png", "/display-app/assets/node_modules/expo-router/assets/sitemap.412dd9275b6b48ad28f5e3d81bb1f626.png", "/display-app/assets/node_modules/expo-router/assets/unmatched.20e71bdf79e3a97bf55fd9e164041578.png", "/display-app/brand-logo.png", "/display-app/favicon.ico", "/display-app/icon-192.png", "/display-app/icon-512.png", "/display-app/icon-maskable-512.png", "/display-app/manifest.webmanifest", "/display-app/index.html"];
|
| 5 |
// Hugging Face serves large files (fonts) through a redirect to its CDN. Browsers refuse to hand a *redirected* cached
|
| 6 |
// response to a page, so store a plain copy instead (otherwise fonts, and so the app, fail to load offline).
|
| 7 |
const plain = r => r.redirected ? r.blob().then(b => new Response(b, { status: 200, headers: { 'Content-Type': r.headers.get('Content-Type') || b.type || 'application/octet-stream' } })) : Promise.resolve(r);
|
index.html
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
<head>
|
| 4 |
<meta charset="utf-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
| 6 |
-
<title>Cover Charge: try the apps (prototype v0.1.
|
| 7 |
<meta name="description" content="Try the five Cover Charge prototype web apps: Cover Charge for Managers, Cover Charge for Staff, Cover Charge, Cover Charge for Display and Cover Charge for Head Chef. Demo data only, no real payments.">
|
| 8 |
<meta name="theme-color" content="#000000">
|
| 9 |
<link rel="icon" href="favicon.ico">
|
|
@@ -60,7 +60,7 @@ footer{margin-top:28px;color:var(--muted);font-size:.8rem;text-align:center}
|
|
| 60 |
<img src="assets/logo-256.png" alt="Cover Charge logo" width="112" height="112">
|
| 61 |
<p class="word"><span class="c">cover</span><span class="g">charge</span></p>
|
| 62 |
<p class="tag">All in one restaurant booking app</p>
|
| 63 |
-
<h1>Cover Charge: try the apps (prototype v0.1.
|
| 64 |
<p class="pilot">Pilot: The Anchorage, Harbour View, Dunure · demo data only, no real payments</p>
|
| 65 |
<span class="pill">Prototype · nothing is sent or charged</span>
|
| 66 |
</header>
|
|
@@ -118,7 +118,7 @@ footer{margin-top:28px;color:var(--muted);font-size:.8rem;text-align:center}
|
|
| 118 |
</section>
|
| 119 |
|
| 120 |
<footer>
|
| 121 |
-
<p>Cover Charge prototype v0.1.
|
| 122 |
</footer>
|
| 123 |
</main>
|
| 124 |
</body>
|
|
|
|
| 3 |
<head>
|
| 4 |
<meta charset="utf-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
| 6 |
+
<title>Cover Charge: try the apps (prototype v0.1.8)</title>
|
| 7 |
<meta name="description" content="Try the five Cover Charge prototype web apps: Cover Charge for Managers, Cover Charge for Staff, Cover Charge, Cover Charge for Display and Cover Charge for Head Chef. Demo data only, no real payments.">
|
| 8 |
<meta name="theme-color" content="#000000">
|
| 9 |
<link rel="icon" href="favicon.ico">
|
|
|
|
| 60 |
<img src="assets/logo-256.png" alt="Cover Charge logo" width="112" height="112">
|
| 61 |
<p class="word"><span class="c">cover</span><span class="g">charge</span></p>
|
| 62 |
<p class="tag">All in one restaurant booking app</p>
|
| 63 |
+
<h1>Cover Charge: try the apps (prototype v0.1.8)</h1>
|
| 64 |
<p class="pilot">Pilot: The Anchorage, Harbour View, Dunure · demo data only, no real payments</p>
|
| 65 |
<span class="pill">Prototype · nothing is sent or charged</span>
|
| 66 |
</header>
|
|
|
|
| 118 |
</section>
|
| 119 |
|
| 120 |
<footer>
|
| 121 |
+
<p>Cover Charge prototype v0.1.8 · Demo data only. No real payments, messages or location tracking.</p>
|
| 122 |
</footer>
|
| 123 |
</main>
|
| 124 |
</body>
|
owner-app/_expo/static/js/web/__common-e9777987fa500f4bbe1f23c71d68d69d.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
owner-app/_expo/static/js/web/_layout-60d906ee9f539290ee6800e48108f3b1.js
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
__d(function(g,r,i,a,m,_e,_d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return E}});var t=r(_d[0]),s=r(_d[1]),o=(function(e){if(e&&e.__esModule)return e;var t={};return e&&Object.keys(e).forEach(function(s){if('default'!==s){var o=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(t,s,o.get?o:{enumerable:!0,get:function(){return e[s]}})}}),t.default=e,t})(r(_d[2])),n=r(_d[3]),u=r(_d[4]),c=e(r(_d[5])),d=e(r(_d[6]));r(_d[7]);var l=e(r(_d[8])),f=e(r(_d[9])),p=r(_d[10]),h=r(_d[11]),y=r(_d[12]),b=r(_d[13]),O=r(_d[14]),S=r(_d[15]),_=r(_d[16]),j=r(_d[17]);const w=r(_d[18]),P=r(_d[19]),v=r(_d[20]),A=r(_d[21]);function E(){const[e]=(0,t.useFonts)({Poppins_400Regular:w,Poppins_500Medium:P,Poppins_600SemiBold:v,Poppins_700Bold:A}),[E,x]=(0,u.useState)(b.useStore.persist.hasHydrated()),[H,k]=(0,u.useState)(S.useOwner.persist.hasHydrated()),F=E&&H;(0,u.useEffect)(()=>{const e=b.useStore.persist.onFinishHydration(()=>x(!0)),t=S.useOwner.persist.onFinishHydration(()=>k(!0));return b.useStore.persist.hasHydrated()&&x(!0),S.useOwner.persist.hasHydrated()&&k(!0),()=>{e(),t()}},[]),(0,u.useEffect)(()=>{if('undefined'==typeof window)return;const e=e=>{e.key===b.useStore.persist.getOptions().name&&b.useStore.persist.rehydrate(),e.key===O.useFloor.persist.getOptions().name&&O.useFloor.persist.rehydrate()};return window.addEventListener('storage',e),()=>window.removeEventListener('storage',e)},[]);const M=e&&F,T=(0,s.usePathname)(),C=M&&!(0,h.isAllowedPath)(T||'/');return(0,u.useEffect)(()=>{if(!C)return;const e=setTimeout(()=>s.router.replace(h.ENTRY[h.APP_VARIANT]),0);return()=>clearTimeout(e)},[C,T]),(0,u.useEffect)(()=>{M&&o.hideAsync().catch(()=>{})},[M]),M?(0,j.jsxs)(y.SafeAreaProvider,{children:[(0,j.jsx)(n.StatusBar,{style:"light"}),(0,j.jsx)(s.Stack,{screenOptions:{headerShown:!1,contentStyle:{backgroundColor:_.colours.bg}}}),C?(0,j.jsx)(f.default,{style:[l.default.absoluteFill,{backgroundColor:_.colours.bg}]}):null]}):(0,j.jsxs)(f.default,{style:{flex:1,backgroundColor:_.colours.bg,alignItems:'center',justifyContent:'center',gap:18},children:[(0,j.jsx)(d.default,{source:p.HERO_LOGOS.anchorage,accessibilityLabel:"The Anchorage logo",style:{width:180,height:180},resizeMode:"contain"}),(0,j.jsx)(c.default,{color:_.colours.gold})]})}o.preventAutoHideAsync().catch(()=>{})},783,[863,785,890,549,12,228,178,104,28,109,813,787,271,796,819,802,797,6,892,893,894,895]);
|
| 2 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"useFonts",{enumerable:!0,get:function(){return o.useFonts}});var t=r(d[0]);Object.keys(t).forEach(function(n){'default'===n||Object.prototype.hasOwnProperty.call(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}})});var n=r(d[1]);Object.keys(n).forEach(function(t){'default'===t||Object.prototype.hasOwnProperty.call(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})});var o=r(d[2])},863,[864,887,889]);
|
| 3 |
+
__d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"FontDisplay",{enumerable:!0,get:function(){return y.FontDisplay}}),_e.isLoaded=F,_e.getLoadedFonts=function(){return t.default.getLoadedFonts()},_e.isLoading=function(e){return e in c.loadPromises},_e.loadAsync=function(e,n){const t='undefined'==typeof window;if(Array.isArray(e)){if(n)return Promise.reject(new o.CodedError("ERR_FONT_API",`No fontFamily can be used for the provided source: ${n}. The second argument of \`loadAsync()\` can only be used with a \`string\` value as the first argument.`));const s=e;if(t){(0,l.assertValidFontFamilyDefinitions)(s);for(const{fontFamily:e,fontDefinitions:o}of s){(0,l.assertValidFontFaces)(e,o);for(const n of o)(0,u.registerStaticFont)(e,(0,f.fontSourceFromFace)(n))}return Promise.resolve()}try{(0,l.assertValidFontFamilyDefinitions)(s)}catch(e){return Promise.reject(e)}return Promise.all(s.map(w)).then(()=>{})}if('object'==typeof e){if(n)return Promise.reject(new o.CodedError("ERR_FONT_API",`No fontFamily can be used for the provided source: ${n}. The second argument of \`loadAsync()\` can only be used with a \`string\` value as the first argument.`));const s=e,l=Object.keys(s);return t?(l.map(e=>(0,u.registerStaticFont)(e,s[e])),Promise.resolve()):Promise.all(l.map(e=>h(e,s[e]))).then(()=>{})}if(t)return(0,u.registerStaticFont)(e,n),Promise.resolve();return h(e,n)},_e.unloadAllAsync=async function(){if(!t.default.unloadAllAsync)throw new o.UnavailabilityError('expo-font','unloadAllAsync');if(Object.keys(c.loadPromises).length)throw new o.CodedError("ERR_UNLOAD",`Cannot unload fonts while they're still loading: ${Object.keys(c.loadPromises).join(', ')}`);(0,c.purgeCache)(),await t.default.unloadAllAsync()},_e.unloadAsync=async function(e,n){if(!t.default.unloadAsync)throw new o.UnavailabilityError('expo-font','unloadAsync');if('object'==typeof e){if(n)throw new o.CodedError("ERR_FONT_API",`No fontFamily can be used for the provided options: ${n}. The second argument of \`unloadAsync()\` can only be used with a \`string\` value as the first argument.`);const t=e,s=Object.keys(t);return void await Promise.all(s.map(e=>p(e,t[e])))}return await p(e,n)};var e,o=r(d[0]),n=r(d[1]),t=(e=n)&&e.__esModule?e:{default:e},s=r(d[2]),l=r(d[3]),f=r(d[4]),c=r(d[5]),u=r(d[6]),y=r(d[7]);function F(e){if('function'!=typeof t.default.isLoaded)throw new Error("expected ExpoFontLoader.isLoaded to be a function, was "+typeof t.default.isLoaded);return(0,c.isLoadedInCache)(e)||t.default.isLoaded(e)}async function w(e){const{fontFamily:o,fontDefinitions:n}=e;if((0,l.assertValidFontFaces)(o,n),c.loadPromises.hasOwnProperty(o))return c.loadPromises[o];F(o)||(c.loadPromises[o]=(async()=>{try{await(0,s.loadFontFamilyAsync)(o,n),(0,c.markLoaded)(o)}finally{delete c.loadPromises[o]}})(),await c.loadPromises[o])}async function h(e,n){if(!n)throw new o.CodedError("ERR_FONT_SOURCE",`Cannot load null or undefined font source: { "${e}": ${n} }. Expected asset of type \`FontSource\` for fontFamily of name: "${e}"`);if(c.loadPromises.hasOwnProperty(e))return c.loadPromises[e];if(F(e))return;const t=(0,s.getAssetForSource)(n);c.loadPromises[e]=(async()=>{try{await(0,s.loadSingleFontAsync)(e,t),(0,c.markLoaded)(e)}finally{delete c.loadPromises[e]}})(),await c.loadPromises[e]}async function p(e,n){if(F(e)){if((0,c.purgeFontFamilyFromCache)(e),!e)throw new o.CodedError("ERR_FONT_FAMILY","Cannot unload an empty name");if(!t.default.unloadAsync)throw new o.UnavailabilityError('expo-font','unloadAsync');await t.default.unloadAsync(e,n)}}},864,[283,865,868,882,883,884,885,886]);
|
| 4 |
+
__d(function(g,r,_i,_a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return p}}),e._matchesFontFaceOptions=l,e._fontFaceRuleSrcMatches=f,e._createWebFontTemplate=R;var t=r(d[0]),n=r(d[1]);function s(){if('undefined'==typeof window)return null;const t=S();return t.sheet?t.sheet:null}function o(){const t=s();if(t){const n=[...t.cssRules],s=[];for(let t=0;t<n.length;t++){const o=n[t];o instanceof CSSFontFaceRule&&s.push({rule:o,index:t})}return s}return[]}function i(t){const n=t?.trim();if(!n)return'';const s=n[0];return n.length>=2&&('"'===s||"'"===s)&&n.endsWith(s)?n.slice(1,-1).replace(/\\(.)/g,'$1'):n}function u(t){if(null==t||''===t)return;if('number'==typeof t)return Number.isFinite(t)?t:void 0;const n=t.trim().toLowerCase();if('normal'===n)return 400;if('bold'===n)return 700;const s=Number(n);return Number.isFinite(s)?s:n}function l(t,n,s){return i(t.style.fontFamily)===n&&((!s?.display||s.display===t.style.fontDisplay)&&((null==s?.weight||u(s.weight)===u(t.style.fontWeight))&&(null==s?.style||s.style===t.style.fontStyle)))}function c(t,n){return o().filter(({rule:s})=>l(s,t,n))}function f(t,n){const s=t.style.getPropertyValue('src').match(/url\((['"]?)([^'")]*)\1\)/);if(!s)return!0;let o=s[2]??'';try{o=decodeURIComponent(o)}catch{}return o===String(n)}const a={async unloadAllAsync(){if('undefined'==typeof window)return;const t=document.getElementById(w);t&&t instanceof HTMLStyleElement&&document.removeChild(t)},async unloadAsync(t,n){const o=s();if(!o)return;const i=[...c(t,n)].sort((t,n)=>n.index-t.index);for(const t of i)o.deleteRule(t.index)},getServerResources:()=>(0,n.getServerResourceDescriptors)().map(t=>{switch(t.type){case'style':return`<style id="${t.id}">${t.css}</style>`;case'link':return`<link rel="${t.rel}" href="${t.href}" as="${t.as}" crossorigin="${t.crossOrigin}" />`;default:return''}}).filter(Boolean),getServerResourceDescriptors:()=>(0,n.getServerResourceDescriptors)(),getLoadedFonts(){if('undefined'==typeof window)return(0,n.getLoadedServerFonts)();const t=new Set,s=[];for(const{rule:n}of o()){const o=i(n.style.fontFamily);t.has(o)||(t.add(o),s.push(o))}return s},isLoaded:(t,s={})=>'undefined'==typeof window?(0,n.isServerFontLoaded)(t):c(t,s)?.length>0,loadAsync(s,o){if('undefined'==typeof window)return(0,n.addServerFont)({name:s,css:R(s,o),resourceId:o.uri}),Promise.resolve();if(!(document.head&&'function'==typeof document.head.appendChild))throw new t.CodedError('ERR_WEB_ENVIRONMENT',"The browser's `document.head` element doesn't support injecting fonts.");const i=S();i.isConnected||document.head.appendChild(i);if(c(s,o).some(({rule:t})=>f(t,o.uri))||b(s,o),'function'!=typeof document.fonts?.load)return Promise.resolve();let u='';return'string'==typeof o.style&&$.test(o.style)&&(u+=`${o.style} `),('number'==typeof o.weight&&Number.isFinite(o.weight)||'string'==typeof o.weight&&($.test(o.weight)||F.test(o.weight)&&!o.weight.includes(' ')))&&(u+=`${o.weight} `),h(document.fonts.load(`${u}1em ${JSON.stringify(s)}`),s)}},y=12e3;function h(n,s){let o;const i=new Promise((n,i)=>{o=setTimeout(()=>{i(new t.CodedError('ERR_DOWNLOAD',`Fetching the font family "${s}" timed out after ${y}ms. Check that the font URL is reachable and served with CORS headers.`))},y)});return Promise.race([n,i]).finally(()=>clearTimeout(o)).then(()=>{})}var p='undefined'==typeof window?a:(0,t.registerWebModule)(function(){return a},'ExpoFontLoader');const w='expo-generated-fonts';function S(){const t=document.getElementById(w);if(t&&t instanceof HTMLStyleElement)return t;const n=document.createElement('style');return n.id=w,n}const $=/^[a-zA-Z_-][\w-]*$/,F=/^(1000|[1-9]\d{0,2})( (1000|[1-9]\d{0,2}))?$/;function R(t,n){const s=[`font-family:${JSON.stringify(t)}`,`src:url(${JSON.stringify(n.uri)})`];return'string'==typeof n.display&&$.test(n.display)&&s.push(`font-display:${n.display}`),('number'==typeof n.weight&&Number.isFinite(n.weight)||'string'==typeof n.weight&&($.test(n.weight)||F.test(n.weight)))&&s.push(`font-weight:${n.weight}`),'string'==typeof n.style&&$.test(n.style)&&s.push(`font-style:${n.style}`),`@font-face{${s.join(';')}}`}function b(t,n){const s=R(t,n),o=S();if(o.styleSheet){const t=o;t.styleSheet.cssText=t.styleSheet.cssText?t.styleSheet.cssText+s:s}else if(o.sheet)o.sheet.insertRule(s,o.sheet.cssRules.length);else{const t=document.createTextNode(s);o.appendChild(t)}return o}},865,[283,866]);
|
| 5 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.withServerContext=function(n){if('undefined'!=typeof window)return n();return s().run(new Map,n)},e.addServerFont=function(n){const t=u();t.has(n.css)||t.set(n.css,n)},e.getServerResourceDescriptors=function(){const n=[...u().values()];if(!n.length)return[];const o=n.map(({css:n})=>n).join('\n'),s=[...new Set(n.map(({resourceId:n})=>n))];return[{css:o,id:t,type:'style'},...s.map(n=>({as:'font',crossOrigin:'',href:n,rel:'preload',type:'link'}))]},e.getLoadedServerFonts=function(){const n=s().getStore();if(!n)return[];return[...new Set([...n.values()].map(({name:n})=>n))]},e.isServerFontLoaded=function(n){const t=s().getStore();if(!t)return!1;for(const o of t.values())if(o.name===n)return!0;return!1};var n=r(d[0]);const t='expo-generated-fonts';let o=null;function s(){if('undefined'!=typeof window)throw new Error('expo-font server context is server-only and cannot be used in the browser.');return o||(o=new n.AsyncLocalStorage),o}function u(){const n=s().getStore();if(!n)throw new Error("expo-font server context accessed outside of withServerContext(). Wrap your server-side font usage in withServerContext(() => /* server code */).");return n}},866,[867]);
|
| 6 |
+
__d(function(g,r,i,a,m,e,d){},867,[]);
|
| 7 |
+
__d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),_e.getAssetForSource=p,_e.loadFontFamilyAsync=async function(t,e){await Promise.all(e.map(e=>{const o=p((0,f.fontSourceFromFace)(e));return j(t,o)}))},_e.loadSingleFontAsync=j;var t,e=r(d[0]),o=r(d[1]),n=r(d[2]),u=(t=n)&&t.__esModule?t:{default:t};r(d[3]);var f=r(d[4]);function s(t){return'string'==typeof t?t||null:'number'==typeof t?s(e.Asset.fromModule(t)):'object'==typeof t&&'number'==typeof t.uri?s(t.uri):'object'==typeof t&&(t.uri||t.localUri||t.default)||null}function c(t){if('object'==typeof t&&'display'in t)return t.display??void 0}function l(t){if('object'==typeof t&&'weight'in t)return t.weight??void 0}function y(t){if('object'==typeof t&&'style'in t)return t.style??void 0}function p(t){const e=s(t),o=c(t),n=l(t),u=y(t);return e&&'string'==typeof e||b(e),{uri:e,display:o,weight:n,style:u}}function b(t){let e=typeof t;throw'object'===e&&(e=JSON.stringify(t,null,2)),new o.CodedError("ERR_FONT_SOURCE",`Expected font asset of type \`string | FontResource | Asset\` instead got: ${e}`)}function j(t,e){return('object'!=typeof e||'string'!=typeof e.uri||e.downloadAsync)&&b(e),u.default.loadAsync(t,e)}},868,[869,283,865,882,883]);
|
| 8 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),r(d[0]);var t=r(d[1]);Object.keys(t).forEach(function(n){'default'===n||Object.prototype.hasOwnProperty.call(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}})});var n=r(d[2]);Object.keys(n).forEach(function(t){'default'===t||Object.prototype.hasOwnProperty.call(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})})},869,[870,871,881]);
|
| 9 |
+
__d(function(g,r,i,a,m,_e,d){"use strict";var e,t=r(d[0]),s=r(d[1]),u=r(d[2]),o=(e=u)&&e.__esModule?e:{default:e};if(s.IS_ENV_WITH_LOCAL_ASSETS){(o.default.setCustomSourceTransformer||u.setCustomSourceTransformer)(function(e){try{if('fileHashes'in e.asset&&e.asset.fileHashes){const s=t.Asset.fromMetadata(e.asset);return s.uri.startsWith(t.ANDROID_EMBEDDED_URL_BASE_RESOURCE)?e.resourceIdentifierWithoutScale():e.fromSource(s.downloaded?s.localUri:s.uri)}return e.defaultAsset()}catch{return e.defaultAsset()}})}},870,[871,875,880]);
|
| 10 |
+
__d(function(g,r,i,a,m,_e,_d){"use strict";function t(t){return t&&t.__esModule?t:{default:t}}function e(t){if(t&&t.__esModule)return t;var e={};return t&&Object.keys(t).forEach(function(s){if('default'!==s){var n=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(e,s,n.get?n:{enumerable:!0,get:function(){return t[s]}})}}),e.default=t,e}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"ANDROID_EMBEDDED_URL_BASE_RESOURCE",{enumerable:!0,get:function(){return y}}),Object.defineProperty(_e,"Asset",{enumerable:!0,get:function(){return w}}),r(_d[0]);var s=t(r(_d[1])),n=r(_d[2]),h=e(r(_d[3])),o=r(_d[4]),l=e(r(_d[5])),u=r(_d[6]),d=r(_d[7]),c=t(r(_d[8]));function f(t){return!!t&&'object'==typeof t&&'uri'in t&&'string'==typeof t.uri}const y='file:///android_res/';class w{static byHash={};static byUri={};hash=null;localUri=null;width=null;height=null;downloading=!1;downloaded=!1;_downloadCallbacks=[];constructor({name:t,type:e,hash:s=null,uri:n,width:o,height:l}){this.name=t,this.type=e,this.hash=s,this.uri=n,'number'==typeof o&&(this.width=o),'number'==typeof l&&(this.height=l),s&&(this.localUri=(0,u.getLocalAssetUri)(s,e),this.localUri?.startsWith(y)?(this.uri=this.localUri,this.localUri=null):this.localUri&&(this.downloaded=!0)),t||(this.name=h.getFilename(n)),e||(this.type=h.getFileExtension(n))}static loadAsync(t){const e=Array.isArray(t)?t:[t];return Promise.all(e.map(t=>w.fromModule(t).downloadAsync()))}static fromModule(t){if('string'==typeof t)return w.fromURI(t);if(f(t)){const e=h.getFileExtension(t.uri);return new w({name:'',type:e.startsWith('.')?e.substring(1):e,hash:null,uri:t.uri,width:t.width,height:t.height})}const e=s.default.getAssetByID(t);if(!e)throw new Error(`Module "${t}" is missing from the asset registry`);if(!d.IS_ENV_WITH_LOCAL_ASSETS){const{uri:s}=(0,c.default)(t),n=new w({name:e.name,type:e.type,hash:e.hash,uri:s,width:e.width,height:e.height});return w.byHash[e.hash]=n,n}return w.fromMetadata(e)}static fromMetadata(t){const e=t.hash,s=w.byHash[e];if(s)return s;const{uri:h,hash:o}=(0,n.selectAssetSource)(t),l=new w({name:t.name,type:t.type,hash:o,uri:h,width:t.width,height:t.height});return w.byHash[e]=l,l}static fromURI(t){if(w.byUri[t])return w.byUri[t];let e='';if(t.indexOf(';base64')>-1)e=t.split(';')[0]?.split('/')[1]??'';else{const s=h.getFileExtension(t);e=s.startsWith('.')?s.substring(1):s}const s=new w({name:'',type:e,hash:null,uri:t});return w.byUri[t]=s,s}async downloadAsync(){if(this.downloaded)return this;if(this.downloading)return await new Promise((t,e)=>{this._downloadCallbacks.push({resolve:t,reject:e})}),this;this.downloading=!0;try{if(l.isImageType(this.type)){const{width:t,height:e,name:s}=await l.getImageInfoAsync(this.uri);this.width=t,this.height=e,this.name=s}else this.name=h.getFilename(this.uri);this.localUri=await(0,o.downloadAsync)(this.uri,this.hash,this.type),this.downloaded=!0,this._downloadCallbacks.forEach(({resolve:t})=>t())}catch(t){throw this._downloadCallbacks.forEach(({reject:e})=>e(t)),t}finally{this.downloading=!1,this._downloadCallbacks=[]}return this}}},871,[283,214,872,876,877,878,879,875,880]);
|
| 11 |
+
__d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),_e.selectAssetSource=function(e){const t=o.default.pickScale(e.scales,s.default.get()),f=e.scales.findIndex(e=>e===t),l=e.fileHashes?.[f]??e.fileHashes?.[0]??e.hash,p=e.fileUris?e.fileUris[f]??e.fileUris[0]:e.uri;if(p)return{uri:c(p),hash:l};const U=1===t?'':`@${t}x`,v=e.type?`.${encodeURIComponent(e.type)}`:'',x=`/${encodeURIComponent(e.name)}${U}${v}`,L=new URLSearchParams({platform:"web",hash:e.hash});if(/^https?:\/\//.test(e.httpServerLocation)){return{uri:e.httpServerLocation+x+'?'+L,hash:l}}const R=(0,h.getManifest2)(),S=R?.extra?.expoGo?.developer?u(R):null;if(S){const t=new URL(e.httpServerLocation+x,S);return t.searchParams.set('platform',"web"),t.searchParams.set('hash',e.hash),{uri:t.href,hash:l}}if(n.default.ExponentKernel)return{uri:`https://classic-assets.eascdn.net/~assets/${encodeURIComponent(l)}`,hash:l};return{uri:'',hash:l}},_e.resolveUri=c,r(d[0]);var t=r(d[1]),s=e(r(d[2])),n=e(r(d[3])),o=e(r(d[4])),h=r(d[5]);function u(e){const s=(0,t.getBundleOrigin)();if(s)return s;const n=e.extra?.expoGo?.debuggerHost;if(!n)return null;return(h.manifestBaseUrl?.startsWith('https://')?'https://':'http://')+n}function c(e){return h.manifestBaseUrl?new URL(e,h.manifestBaseUrl).href:e}},872,[283,873,181,94,874,875]);
|
| 12 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"getBundleUrl",{enumerable:!0,get:function(){return t.getBundleUrl}}),e.getBundleOrigin=function(n=(0,t.getBundleUrl)()){if(!n)return null;try{const{protocol:t,origin:u}=new URL(n);return'http:'===t||'https:'===t?u:null}catch{return null}};var t=r(d[0])},873,[557]);
|
| 13 |
+
__d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return n}}),r(d[0]);var e,t=r(d[1]),s=(e=t)&&e.__esModule?e:{default:e};function c(e){const t=n.pickScale(e.scales,s.default.get()),c=1===t?'':'@'+t+'x',o=e.type?`.${e.type}`:'';return e.httpServerLocation.replace(/\.\.\//g,'_')+'/'+e.name+c+o}class n{constructor(e,t,s){this.serverUrl=e||'https://expo.dev',this.jsbundleUrl=null,this.asset=s}isLoadedFromServer(){return!0}isLoadedFromFileSystem(){return!1}defaultAsset(){return this.assetServerURL()}assetServerURL(){const e=new URL(c(this.asset),this.serverUrl);return e.searchParams.set('platform',"web"),e.searchParams.set('hash',this.asset.hash),this.fromSource(e.toString().replace(e.origin,''))}fromSource(e){return{__packager_asset:!0,width:this.asset.width??void 0,height:this.asset.height??void 0,uri:e,scale:n.pickScale(this.asset.scales,s.default.get())}}static pickScale(e,t){for(const s of e)if(s>=t)return s;return e[e.length-1]||1}}},874,[283,181]);
|
| 14 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"IS_ENV_WITH_LOCAL_ASSETS",{enumerable:!0,get:function(){return t}}),e.getLocalAssets=function(){return{}},e.getManifest2=function(){return{}},Object.defineProperty(e,"manifestBaseUrl",{enumerable:!0,get:function(){return n}});const t=!1;const n=null},875,[]);
|
| 15 |
+
__d(function(g,r,i,a,m,e,d){"use strict";function t(t){const{pathname:s,searchParams:o}=new URL(t,'https://e');return n(s)}function n(t){return t.substring(t.lastIndexOf('/')+1)}Object.defineProperty(e,'__esModule',{value:!0}),e.getFilename=t,e.getFileExtension=function(n){const s=t(n),o=s.lastIndexOf('.');return o>0?s.substring(o):''},e.getManifestBaseUrl=function(t){const n=new URL(t);let s=n.protocol;'exp:'===s?s='http:':'exps:'===s&&(s='https:');n.protocol=s;const o=n.pathname.substring(0,n.pathname.lastIndexOf('/')+1);return n.pathname=o,n.search='',n.hash='',n.protocol!==s?n.href.replace(n.protocol,s):n.href}},876,[]);
|
| 16 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.downloadAsync=async function(n,t,c){return n}},877,[]);
|
| 17 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.isImageType=function(n){return/^(jpeg|jpg|gif|png|bmp|webp|heic)$/i.test(n)},e.getImageInfoAsync=function(t){if('undefined'==typeof window)return Promise.resolve({name:(0,n.getFilename)(t),width:0,height:0});return new Promise((o,u)=>{const s=new Image;s.onerror=u,s.onload=()=>{o({name:(0,n.getFilename)(t),width:s.naturalWidth,height:s.naturalHeight})},s.src=t})};var n=r(d[0])},878,[876]);
|
| 18 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.getLocalAssetUri=function(t,n){return null}},879,[]);
|
| 19 |
+
__d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return f}}),_e.setCustomSourceTransformer=o,Object.defineProperty(_e,"pickScale",{enumerable:!0,get:function(){return l}});var t=e(r(d[0])),n=e(r(d[1]));let u;function o(e){u=e}function c(e){if('object'==typeof e)return e;const o=t.default.getAssetByID(e);if(!o)return null;const c=new n.default('https://expo.dev',null,o);return u?u(c):c.defaultAsset()}Object.defineProperty(c,'setCustomSourceTransformer',{get:()=>o});var f=c;const{pickScale:l}=n.default},880,[214,874]);
|
| 20 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.useAssets=function(u){const[c,n]=(0,t.useState)(),[o,f]=(0,t.useState)();return(0,t.useEffect)(()=>{s.Asset.loadAsync(u).then(n).catch(f)},[]),[c,o]};var t=r(d[0]),s=r(d[1])},881,[12,871]);
|
| 21 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.normalizeWeight=o,e.normalizeStyle=f,e.resolveFaceWeight=l,e.resolveFaceStyle=c,e.assertValidFontFaces=function(t,s){if('string'!=typeof t||0===t.length)throw new n.CodedError("ERR_FONT_API",`Expected a non-empty string for \`fontFamily\`, instead got ${JSON.stringify(t)}. Set \`fontFamily\` to the name to use as the \`fontFamily\` style prop.`);if(!Array.isArray(s)||0===s.length)throw new n.CodedError("ERR_FONT_API",`No font faces were provided for font family "${t}". Set \`fontDefinitions\` to a non-empty array of \`FontFaceDefinition\`s.`);const y=new Set;for(const u of s){if('object'!=typeof u||null===u||null==u.path)throw new n.CodedError("ERR_FONT_API",`A face of font family "${t}" has no \`path\`. Set the face's \`path\` to a \`FontSource\`.`);const s=o(l(u)),h=f(c(u));if(void 0===s||void 0===h)continue;const F=`${s}/${h}`;if(y.has(F))throw new n.CodedError("ERR_FONT_API",`Font family "${t}" declares two faces with weight ${s} and style "${h}". Give each face a distinct weight or style so the correct face is selected at render time.`);y.add(F)}},e.assertValidFontFamilyDefinitions=function(t){const o=new Set;for(const f of t){if('object'!=typeof f||null===f||Array.isArray(f)||!('fontFamily'in f)||!('fontDefinitions'in f))throw new n.CodedError("ERR_FONT_API",`Expected an object with \`fontFamily\` and \`fontDefinitions\`, instead got ${JSON.stringify(f)}. Set each array element to \`{ fontFamily, fontDefinitions }\`.`);const{fontFamily:t}=f;if(o.has(t))throw new n.CodedError("ERR_FONT_API",`Font family "${t}" is declared more than once in this \`loadAsync\` call. Declare each \`fontFamily\` once, with all of its faces in one \`fontDefinitions\` array.`);o.add(t)}};var t=r(d[0]),n=r(d[1]);function o(t){if(null==t)return;if('number'==typeof t)return Number.isFinite(t)?t:void 0;const n=t.trim().toLowerCase();if('normal'===n)return 400;if('bold'===n)return 700;const o=Number(n);return Number.isFinite(o)?o:void 0}function f(t){if(null==t)return;const n=t.trim().toLowerCase();return'italic'===n||'oblique'===n?'italic':'normal'}function s(n){if(!(n instanceof t.Asset||'string'==typeof n||'number'==typeof n))return n}function l(t){return t.weight??s(t.path)?.weight}function c(t){return t.style??s(t.path)?.style}},882,[869,283]);
|
| 22 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.fontSourceFromFace=function(n){const{path:o,display:s}=n,u=(0,l.resolveFaceWeight)(n),c=(0,l.resolveFaceStyle)(n);if(o instanceof t.Asset)return{uri:o.uri,...void 0!==u?{weight:u}:null,...void 0!==c?{style:c}:null,...void 0!==s?{display:s}:null};const y='string'==typeof o||'number'==typeof o?{uri:o}:o;return{...y,weight:u,style:c,display:s??y.display}};var t=r(d[0]),l=r(d[1])},883,[869,882]);
|
| 23 |
+
__d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"loadPromises",{enumerable:!0,get:function(){return o}}),_e.markLoaded=function(e){u[e]=!0},_e.isLoadedInCache=c,_e.isLoadedNative=function(e){if(c(e))return!0;{const n=t.default.getLoadedFonts();return!!n?.length&&(n.forEach(e=>{u[e]=!0}),e in u)}},_e.purgeFontFamilyFromCache=function(e){delete u[e]},_e.purgeCache=function(){u={}};var e,n=r(d[0]),t=(e=n)&&e.__esModule?e:{default:e};const o={};let u={};function c(e){return e in u}},884,[865]);
|
| 24 |
+
__d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"withServerContext",{enumerable:!0,get:function(){return u.withServerContext}}),_e.getServerResources=function(){if(!n.default.getServerResources)throw new t.UnavailabilityError('expo-font','getServerResources');return n.default.getServerResources()},_e.getServerResourceDescriptors=function(){if(!n.default.getServerResourceDescriptors)throw new t.UnavailabilityError('expo-font','getServerResourceDescriptors');return n.default.getServerResourceDescriptors()},_e.registerStaticFont=function(e,o){if(!o)throw new t.CodedError("ERR_FONT_SOURCE",`Cannot load null or undefined font source: { "${e}": ${o} }. Expected asset of type \`FontSource\` for fontFamily of name: "${e}"`);const n=(0,s.getAssetForSource)(o);(0,s.loadSingleFontAsync)(e,n)};var e,t=r(d[0]),o=r(d[1]),n=(e=o)&&e.__esModule?e:{default:e},s=r(d[2]),u=r(d[3])},885,[283,865,868,866]);
|
| 25 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"FontDisplay",{enumerable:!0,get:function(){return t}});var t=(function(t){return t.AUTO="auto",t.SWAP="swap",t.BLOCK="block",t.FALLBACK="fallback",t.OPTIONAL="optional",t})({})},886,[]);
|
| 26 |
+
__d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),_e.renderToImageAsync=async function(e,l){if(!t.default)throw new o.UnavailabilityError('expo-font','ExpoFontUtils.renderToImageAsync');return await t.default.renderToImageAsync(e,{...l,color:l?.color?(0,n.default)(l.color):void 0})};var o=r(d[0]),n=e(r(d[1])),t=e(r(d[2]))},887,[283,35,888]);
|
| 27 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return o}});var t=r(d[0]);class n extends t.NativeModule{async renderToImageAsync(n,o){throw new t.UnavailabilityError('expo-font','renderToImageAsync')}}var o=(0,t.registerWebModule)(n,'ExpoFontUtils')},888,[283]);
|
| 28 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"useFonts",{enumerable:!0,get:function(){return u}});var t=r(d[0]),n=r(d[1]);function o(t){return'string'==typeof t?(0,n.isLoaded)(t):Array.isArray(t)?t.every(t=>{const o=t?.fontFamily;return'string'==typeof o&&(0,n.isLoaded)(o)}):Object.keys(t).every(t=>(0,n.isLoaded)(t))}const u='undefined'==typeof window?function(t){return(0,n.loadAsync)(t),[!0,null]}:function(u){const[s,c]=(0,t.useState)(o(u)),[f,y]=(0,t.useState)(null);return(0,t.useEffect)(()=>{let t=!0;return(0,n.loadAsync)(u).then(()=>{t&&c(!0)}).catch(n=>{t&&y(n)}),()=>{t=!1}},[]),[s,f]}},889,[12,864]);
|
| 29 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0});var t=r(d[0]);Object.keys(t).forEach(function(n){'default'===n||Object.prototype.hasOwnProperty.call(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}})})},890,[891]);
|
| 30 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.preventAutoHideAsync=async function(){return!1},e.setOptions=function(n){},e.hide=function(){},e.hideAsync=async function(){}},891,[]);
|
| 31 |
+
__d(function(e,o,s,p,t,n,a){"use strict";t.exports="/owner-app/assets/node_modules/@expo-google-fonts/poppins/400Regular/Poppins_400Regular.093ee89be9ede30383f39a899c485a82.ttf"},892,[]);
|
| 32 |
+
__d(function(o,e,s,p,t,c,d){"use strict";t.exports="/owner-app/assets/node_modules/@expo-google-fonts/poppins/500Medium/Poppins_500Medium.bf59c687bc6d3a70204d3944082c5cc0.ttf"},893,[]);
|
| 33 |
+
__d(function(o,e,s,p,t,d,f){"use strict";t.exports="/owner-app/assets/node_modules/@expo-google-fonts/poppins/600SemiBold/Poppins_600SemiBold.6f1520d107205975713ba09df778f93f.ttf"},894,[]);
|
| 34 |
+
__d(function(o,s,e,p,d,t,n){"use strict";d.exports="/owner-app/assets/node_modules/@expo-google-fonts/poppins/700Bold/Poppins_700Bold.08c20a487911694291bd8c5de41315ad.ttf"},895,[]);
|
owner-app/_expo/static/js/web/entry-f88bb7d4beed4a0d7ffa3bafba0ee86c.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
owner-app/_expo/static/js/web/index-11532b306833ea14634e803b79d5e84d.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
owner-app/_expo/static/js/web/index-5a99093a0c2fe017cb857e6f5af51697.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return c}});var t=r(d[0]);r(d[1]);var n=r(d[2]),f=r(d[3]),u=r(d[4]);function c(){return(0,n.canShow)('staff')?(0,u.jsx)(f.StaffApp,{}):(0,u.jsx)(t.Redirect,{href:n.ENTRY[n.APP_VARIANT]})}},781,[785,12,787,862,6]);
|
| 2 |
+
__d(function(g,_r,_i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),_e.StaffApp=function(){return(0,k.jsx)(p.StaffAppCtx.Provider,{value:!0,children:(0,k.jsx)(M,{})})};var t=_r(d[0]),s=e(_r(d[1])),o=e(_r(d[2])),i=e(_r(d[3])),l=e(_r(d[4])),r=_r(d[5]),n=_r(d[6]),c=_r(d[7]),u=_r(d[8]),h=_r(d[9]),f=_r(d[10]),p=_r(d[11]),b=_r(d[12]),y=_r(d[13]),x=_r(d[14]),j=_r(d[15]),C=_r(d[16]),w=_r(d[17]),k=_r(d[18]);const S=[{id:'home',label:'Home',icon:'home'},{id:'clock',label:'Clock',icon:'clock'},{id:'rota',label:'Rota',icon:'bookings'},{id:'chat',label:'Chat',icon:'chat'},{id:'me',label:'Me',icon:'user'}],T={home:'Today',clock:'Clock in / out',rota:'Rota, swaps & leave',chat:'Staff chat',me:'Me'},v=[{id:'mypay',title:'My hours & pay',sub:'Shifts, paid hours and estimated pay'},{id:'mytips',title:'My tips',sub:'Your share of the tronc each period'},{id:'timesheets',title:'My timesheets',sub:'Your clock-ins, breaks and any changes'},{id:'suppliers',title:'Suppliers',sub:'Contacts and order days (if your manager allows)'},{id:'privacy',title:'Privacy & location',sub:'What Cover Charge for Staff stores about you'}];function M(){const{r:e,me:M,meId:R,today:P,now:z}=(0,p.useCtx)(3e4),L=(0,u.useOwner)(e=>e.staff),W=(0,u.useOwner)(e=>e.staffCanViewSuppliers),[_,B]=(0,t.useState)('home'),[I,O]=(0,t.useState)(null),[A,H]=(0,t.useState)(!1),V=(0,t.useRef)(null);(0,t.useEffect)(()=>{(0,p.ensureAttendance)(P,z),(0,f.ensureChat)(z)},[P]),globalThis.__ccNow=z.getTime();const Y=(0,f.useChatUnread)().total,D=(0,t.useCallback)((e,t=null)=>{B(e),O(t),V.current?.scrollTo({y:0,animated:!1})},[]),E=(0,t.useCallback)((e,t=null)=>'chat'===e?D('chat'):'clock'===t?D('clock'):'rota'===t?D('rota'):t&&v.some(e=>e.id===t)?D('me',t):void D('home'===e?'home':'me'),[D]);(0,t.useEffect)(()=>{const e=s.default.addEventListener('hardwareBackPress',()=>I?(O(null),!0):'home'!==_&&(B('home'),!0));return()=>e.remove()},[_,I]);const N='me'===_&&I?v.find(e=>e.id===I):void 0,$=v.filter(e=>'suppliers'!==e.id||W),U=L.filter(e=>e.active&&'staff'===e.role);return(0,k.jsxs)(r.SafeAreaView,{style:{flex:1,backgroundColor:h.colours.bg},edges:['top','left','right','bottom'],children:[(0,k.jsxs)(l.default,{style:{paddingHorizontal:14,paddingTop:8,paddingBottom:8,borderBottomWidth:1,borderColor:h.colours.border},children:[(0,k.jsx)(c.PoweredBy,{}),(0,k.jsxs)(n.Row,{children:[(0,k.jsx)(c.RestaurantLogo,{rid:e.id}),(0,k.jsxs)(l.default,{style:{flex:1},children:[(0,k.jsx)(n.T,{weight:"semibold",numberOfLines:1,children:e.name}),(0,k.jsx)(n.Muted,{numberOfLines:1,children:"Staff \xb7 Harbour View, Dunure"})]}),(0,k.jsx)(o.default,{accessibilityRole:"button",accessibilityLabel:"Signed in as",onPress:()=>H(!0),style:{borderWidth:1,borderColor:h.colours.gold,borderRadius:14,paddingHorizontal:8,paddingVertical:3},children:(0,k.jsx)(n.T,{size:12,colour:h.colours.gold,children:M.replace(' (example)','')})})]})]}),(0,k.jsxs)(i.default,{ref:V,contentContainerStyle:{padding:14,paddingBottom:30,gap:12,width:'100%',maxWidth:760,alignSelf:'center'},keyboardShouldPersistTaps:"handled",children:[(0,k.jsxs)(n.Row,{style:{justifyContent:'space-between'},children:[N?(0,k.jsx)(o.default,{accessibilityRole:"button",accessibilityLabel:"Back",onPress:()=>O(null),hitSlop:10,children:(0,k.jsx)(n.T,{size:15,colour:h.colours.gold,children:"\u2039 Me"})}):null,(0,k.jsx)(n.T,{size:22,weight:"bold",style:{flex:1,textAlign:N?'right':'left'},children:N?N.title:T[_]})]}),'home'===_?(0,k.jsx)(w.StaffHome,{go:E}):null,'clock'===_?(0,k.jsx)(j.ClockInOut,{}):null,'rota'===_?(0,k.jsx)(j.Rota,{}):null,'chat'===_?(0,k.jsx)(f.Chat,{go:E}):null,'me'!==_||N?null:(0,k.jsxs)(l.default,{style:{gap:10},children:[(0,k.jsx)(l.default,{style:{borderRadius:14,borderWidth:1,borderColor:h.colours.border,backgroundColor:h.colours.surface,overflow:'hidden'},children:$.map((e,t)=>(0,k.jsx)(o.default,{accessibilityRole:"button",accessibilityLabel:e.title,onPress:()=>O(e.id),style:({pressed:e})=>({padding:12,borderTopWidth:t?1:0,borderColor:h.colours.border,backgroundColor:e?'#1d1a14':'transparent'}),children:(0,k.jsxs)(n.Row,{style:{justifyContent:'space-between'},children:[(0,k.jsxs)(l.default,{style:{flex:1},children:[(0,k.jsx)(n.T,{weight:"medium",children:e.title}),(0,k.jsx)(n.Muted,{children:e.sub})]}),(0,k.jsx)(n.T,{colour:h.colours.muted,children:"\u203a"})]})},e.id))}),W?null:(0,k.jsx)(n.Muted,{children:"Suppliers are hidden: your manager hasn't shared them with staff."}),(0,k.jsx)(n.Muted,{center:!0,children:"Staff app \xb7 prototype v0.1.8 \xb7 data is stored on this device only"})]}),'mypay'===N?.id?(0,k.jsx)(y.MyHoursPay,{staffId:R}):null,'mytips'===N?.id?(0,k.jsx)(C.MyTips,{}):null,'timesheets'===N?.id?(0,k.jsx)(j.Timesheets,{}):null,'suppliers'===N?.id?W?(0,k.jsx)(x.Suppliers,{}):(0,k.jsx)(n.Muted,{children:"Your manager hasn't shared suppliers with staff."}):null,'privacy'===N?.id?(0,k.jsxs)(l.default,{style:{gap:8},children:[(0,k.jsx)(n.T,{size:14,children:"\u2022 Location is checked only when you tap Clock in or Clock out, never in the background."}),(0,k.jsx)(n.T,{size:14,children:"\u2022 We keep \"inside / outside the venue area\" and the time, not your coordinates."}),(0,k.jsx)(n.T,{size:14,children:"\u2022 You see only your own hours, pay estimates and tips. Managers see the team's."}),(0,k.jsxs)(n.T,{size:14,children:["\u2022 Chat messages stay within ",e.name,"'s team."]}),(0,k.jsx)(n.T,{size:14,children:"\u2022 Pay figures are estimates before tax and deductions; your payslip is the official record."}),(0,k.jsx)(n.Muted,{children:"Prototype: everything is stored on this device. Nothing is sent."})]}):null]}),(0,k.jsx)(l.default,{style:{flexDirection:'row',borderTopWidth:1,borderColor:h.colours.border,backgroundColor:'#0d0d0d'},children:S.map(e=>{const t=_===e.id;return(0,k.jsxs)(o.default,{accessibilityRole:"tab",accessibilityState:{selected:t},accessibilityLabel:e.label,onPress:()=>D(e.id),style:{flex:1,alignItems:'center',paddingVertical:8,gap:2},children:[(0,k.jsxs)(l.default,{children:[(0,k.jsx)(b.Icon,{name:e.icon,colour:t?h.colours.gold:h.colours.muted}),'chat'===e.id&&Y?(0,k.jsx)(l.default,{style:{position:'absolute',right:-8,top:-4,backgroundColor:h.colours.red,borderRadius:8,minWidth:16,height:16,alignItems:'center',justifyContent:'center'},children:(0,k.jsx)(n.T,{size:10,weight:"bold",children:Y})}):null]}),(0,k.jsx)(n.T,{size:11,colour:t?h.colours.gold:h.colours.muted,children:e.label})]},e.id)})}),(0,k.jsxs)(n.Sheet,{visible:A,onClose:()=>H(!1),title:"Signed in as",children:[(0,k.jsx)(n.Muted,{children:"Demo sign-in: pick a team member to see the app as them. In production each person signs in with their own account."}),U.map(e=>(0,k.jsx)(n.Button,{kind:e.id===R?'primary':'secondary',label:`${e.name.replace(' (example)','')} \xb7 ${e.job}`,onPress:()=>{u.useOwner.setState({staffAs:e.id}),H(!1),D('home')}},e.id))]})]})}},862,[12,215,245,133,109,271,790,813,802,797,816,818,848,855,856,853,854,847,6]);
|