Files
archie/ui/dist/assets/table.js
T
sam f727d54d75 feat(ui): schedules table, runs page and Schedule trigger
Schedules list as a table with enable, run now, edit, duplicate, delete and
view runs; built-ins only enable, retime and run. The runs page links each
run's tasks through its capture's dispatches. The Start node gains a Schedule
trigger that picks or creates a schedule and binds the schedule source to the
workflow. Times show in a per-browser display zone set under Appearance; the
cron time zone and run retention are edited on the Schedules page.
2026-10-26 00:57:52 +11:00

1 line
2.1 KiB
JavaScript

import{C as e,M as t,_t as n,b as r,er as i,jn as a,r as o,wt as s}from"./PageHeader.js";var c=t({__name:`Skeleton`,props:{class:{type:[Boolean,null,String,Object,Array]}},setup(t){let r=t;return(t,s)=>(n(),e(`div`,{"data-slot":`skeleton`,class:i(a(o)(`bg-muted rounded-md animate-pulse`,r.class))},null,2))}}),l=t({__name:`Table`,props:{class:{type:[Boolean,null,String,Object,Array]},containerClass:{type:[Boolean,null,String,Object,Array]}},setup(t){let c=t;return(t,l)=>(n(),e(`div`,{"data-slot":`table-container`,class:i(a(o)(`relative w-full overflow-x-auto`,c.containerClass))},[r(`table`,{"data-slot":`table`,class:i(a(o)(`w-full caption-bottom text-sm`,c.class))},[s(t.$slots,`default`)],2)],2))}}),u=t({__name:`TableBody`,props:{class:{type:[Boolean,null,String,Object,Array]}},setup(t){let r=t;return(t,c)=>(n(),e(`tbody`,{"data-slot":`table-body`,class:i(a(o)(`[&_tr:last-child]:border-0`,r.class))},[s(t.$slots,`default`)],2))}}),d=t({__name:`TableCell`,props:{class:{type:[Boolean,null,String,Object,Array]}},setup(t){let r=t;return(t,c)=>(n(),e(`td`,{"data-slot":`table-cell`,class:i(a(o)(`p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0`,r.class))},[s(t.$slots,`default`)],2))}}),f=t({__name:`TableRow`,props:{class:{type:[Boolean,null,String,Object,Array]}},setup(t){let r=t;return(t,c)=>(n(),e(`tr`,{"data-slot":`table-row`,class:i(a(o)(`hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors has-aria-expanded:bg-muted/50`,r.class))},[s(t.$slots,`default`)],2))}}),p=t({__name:`TableHead`,props:{class:{type:[Boolean,null,String,Object,Array]}},setup(t){let r=t;return(t,c)=>(n(),e(`th`,{"data-slot":`table-head`,class:i(a(o)(`text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0`,r.class))},[s(t.$slots,`default`)],2))}}),m=t({__name:`TableHeader`,props:{class:{type:[Boolean,null,String,Object,Array]}},setup(t){let r=t;return(t,c)=>(n(),e(`thead`,{"data-slot":`table-header`,class:i(a(o)(`[&_tr]:border-b`,r.class))},[s(t.$slots,`default`)],2))}});export{u as a,d as i,p as n,l as o,f as r,c as s,m as t};