// @xenia/access — what this venue has turned on and what the signed-in user may do, // for every frontend (plan step 2.5, APPS_PLATFORM §5, §6, §9). React; imported from source. // // loads bootstrap, sets language, // … mounts the manager-approval dialog // useAccess() → { venue, user, permissions, modules, license, refresh } // useModule('kds') · useCan('catalog.menu.manage') · useCan([a, b]) (any) · useCan([a, b], { all: true }) // useAllowed('ordering.orders.cancel') → 'yes' | 'approve' (a manager's PIN) | 'no' (4.3) // · // // SALES_POINTS, IN_PERSON, DIGITAL where an order is sold (phase 3S) // ALLERGENS, allergenList, setAllergen the 14 EU allergens (6.3) // // UI hiding only: the backend checks every request (CS-14). export { AccessProvider } from './AccessProvider.jsx' export { useAccess, useModule, useCan, can, useAllowed, allowed } from './hooks.js' export { Can, RequireModule, ModuleOff, NoAccess } from './guards.jsx' export { OverrideHost } from './OverrideHost.jsx' export { SALES_POINTS, IN_PERSON, DIGITAL, normalizeSalesPoints } from './salesPoints.js' export { ALLERGENS, ALLERGEN_LEVELS, allergenList, nextAllergenLevel, setAllergen } from './allergens.js' export { Allergens } from './Allergens.jsx' export { MENU_LANGUAGES, translatedLanguages, inLanguage } from './menuLanguages.js'