- Persistent header: clock countdown, level, blinds, player count (red pulse <10s, PAUSED/BREAK badges) - Bottom tab bar (mobile): Overview, Players, Tables, Financials, More with 48px touch targets - Desktop sidebar (>=768px): vertical nav replacing bottom tabs - FAB: expandable quick actions (Bust, Buy In, Rebuy, Add-On, Pause/Resume) with backdrop - Toast notification system: success/info/warning/error with auto-dismiss and stacking - DataTable: sortable columns, sticky header, search/filter, mobile swipe actions, skeleton loading - Multi-tournament tabs: horizontal scrollable selector when 2+ tournaments active - Loading components: spinner (sm/md/lg), skeleton rows, full-page overlay - Root layout: auth guard, responsive shell (mobile bottom tabs / desktop sidebar) - Route pages: overview, players, tables, financials, more with placeholder content Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 line
1.2 KiB
JavaScript
1 line
1.2 KiB
JavaScript
import{a as o,f as i}from"../chunks/Q5CB4WY5.js";import{i as n}from"../chunks/BViIIwgj.js";import{p as b,a as p,s as u,c,r as d}from"../chunks/C4An0dnW.js";import{t as m}from"../chunks/C5aWxL5p.js";import{D as y}from"../chunks/WPMya0VZ.js";var h=i('<div class="page-content svelte-wtkzqx"><h2 class="svelte-wtkzqx">Players</h2> <p class="text-secondary svelte-wtkzqx">Registered players and chip counts.</p> <!></div>');function x(a,t){b(t,!1);const s=[{key:"name",label:"Name",sortable:!0},{key:"status",label:"Status",sortable:!0},{key:"chips",label:"Chips",sortable:!0,align:"right",render:r=>r.chips.toLocaleString()},{key:"table_id",label:"Table",hideMobile:!0,sortable:!0},{key:"seat",label:"Seat",hideMobile:!0,sortable:!0,align:"center"},{key:"rebuys",label:"Rebuys",hideMobile:!0,sortable:!0,align:"center"}];n();var e=h(),l=u(c(e),4);y(l,{get columns(){return s},get data(){return m.players},sortable:!0,searchable:!0,loading:!1,emptyMessage:"No players registered yet",rowKey:r=>String(r.id),swipeActions:[{id:"bust",label:"Bust",color:"var(--color-error)",handler:()=>{}},{id:"rebuy",label:"Rebuy",color:"var(--color-primary)",handler:()=>{}}]}),d(e),o(a,e),p()}export{x as component};
|