chore(pos): wire slip-layout.js into receipt/cashup/settings, bump SW cache

This commit is contained in:
Dave 2026-09-04 13:25:31 +02:00
parent 8e879d1447
commit c56211d35e
4 changed files with 5 additions and 1 deletions

View file

@ -244,6 +244,7 @@ button:focus-visible,input:focus-visible,select:focus-visible{outline:0;box-shad
<script src="pos-config.js"></script>
<script src="theme.js"></script>
<script src="letterhead-config.js"></script>
<script src="slip-layout.js"></script>
<script src="epos-print.js"></script>
<script>
(function(){

View file

@ -336,6 +336,7 @@ input,select{font:inherit;color:inherit}
<script src="pos-config.js"></script>
<script src="theme.js"></script>
<script src="slip-layout.js"></script>
<script src="epos-print.js"></script>
<script>
(function(){

View file

@ -257,6 +257,7 @@ body{display:flex;flex-direction:column;min-height:100dvh;max-width:480px;margin
<script src="pos-config.js"></script>
<script src="theme.js"></script>
<script src="letterhead-config.js"></script>
<script src="slip-layout.js"></script>
<script src="epos-print.js"></script>
<script>
'use strict';

View file

@ -1,5 +1,5 @@
// Service worker — cache app shell, network-first for HTML + theme.js, cache-first for other static.
const CACHE = "pos-v22";
const CACHE = "pos-v23";
const APP_SHELL = [
'./',
'./index.html',
@ -11,6 +11,7 @@ const APP_SHELL = [
'./pos-config.js',
'./pos-app.js',
'./letterhead-config.js',
'./slip-layout.js',
'./epos-print.js',
'./theme.js',
'./manifest.json',