@stanfordspezi/spezi-web-design-system
Version:
Stanford Biodesign Digital Health Spezi Web Design System
377 lines (376 loc) • 13.3 kB
JavaScript
import { A as r, a as t, b as s, c as n } from "./Accordion-58czteQS.mjs";
import { A as l } from "./Async-ChHqeAKy.mjs";
import { q as m } from "./Async.utils-leuZZsMQ.mjs";
import { A as g, a as f, b as u, g as d } from "./Avatar-B8qd3jSh.mjs";
import { B as x, b as S } from "./Badge-98kREz_v.mjs";
import { B as T, b as D, a as I } from "./Button-nH76KtOO.mjs";
import { S as h } from "./SaveButton-C1YqPmPD.mjs";
import { C as N } from "./Calendar-lRSZF8zv.mjs";
import { C as w, a as R, b as F, c as y, d as A } from "./Card-a0uoXiXo.mjs";
import { C as E } from "./Checkbox-DJfQtvL9.mjs";
import { C as G } from "./CheckboxGroup-D5o4Fy8-.mjs";
import { C as V, a as O, b as z, c as H, d as U } from "./Collapsible-e01o3cFu.mjs";
import { C as X, a as q, b as Q, c as W, d as J, e as K, f as Y, g as Z, h as _ } from "./Command-tGp1Ep9F.mjs";
import { C as oo } from "./CopyText-S8kB40qu.mjs";
import { D as eo, a as ro, b as to, G as so, c as no, d as io, e as lo, R as po, f as mo, g as co, h as go, u as fo } from "./DataTable.columns-CRdguRTM.mjs";
import { D as bo } from "./DatePicker-CwYTitCY.mjs";
import { D as So, a as Co, b as To, c as Do, d as Io, e as Po, f as ho, g as Mo, h as No, i as vo, j as wo, k as Ro } from "./Dialog-Df-tvqUy.mjs";
import { D as yo, a as Ao, b as Bo, c as Eo, d as ko, e as Go, f as Lo, g as Vo, h as Oo, i as zo, j as Ho, k as Uo, l as jo, m as Xo, n as qo } from "./DropdownMenu-C4npQDBE.mjs";
import { E as Wo } from "./EmptyState-DBPSyIlu.mjs";
import { E as Ko } from "./Error-BTeTwGKx.mjs";
import { E as Zo } from "./ErrorState-CVgGRS0u.mjs";
import { I as $o, a as oa } from "./IconSearchGrid-D3rPhw53.mjs";
import { I as ea } from "./IconPicker-CiF-2aD-.mjs";
import { I as ta } from "./InfoButton-B-iIr4px.mjs";
import { I as na } from "./Input--4rYD9Q2.mjs";
import { I as la, a as pa, b as ma, c as ca, d as ga } from "./InputOTP-BBGuem0t.mjs";
import { L as ua, a as da } from "./Label-DwiiPc06.mjs";
import { M as xa, a as Sa, b as Ca, c as Ta, d as Da, e as Ia, f as Pa } from "./MultiSelect-DMx9Z24x.mjs";
import { N as Ma } from "./NavigationBlocker-hjTlci4I.mjs";
import { B as va, P as wa, a as Ra, b as Fa, c as ya, d as Aa, e as Ba, f as Ea, g as ka, h as Ga } from "./ButtonPagination-NOYlcyA8.mjs";
import { L as Va } from "./LinkPagination-TSlqpVKO.mjs";
import { P as za, a as Ha, b as Ua, c as ja, d as Xa, e as qa, f as Qa, g as Wa } from "./Popover-B_eTNIg4.mjs";
import { P as Ka } from "./Progress-BpPPgsaw.mjs";
import { R as Za, a as _a } from "./Radio-CzJvf9VA.mjs";
import { R as oe } from "./RadioGroup-DPju6e2i.mjs";
import { R as ee } from "./RangeCounter-CKrf0MDc.mjs";
import { S as te, a as se } from "./ScrollArea-Bj5h_EU-.mjs";
import { S as ie, a as le, b as pe, c as me, d as ce, e as ge, f as fe, g as ue, u as de, h as be } from "./Select-6uAWOsbr.mjs";
import { S as Se, a as Ce } from "./SeparatorText-JZL1YX52.mjs";
import { D as De } from "./DashedSeparator-DuoSEtem.mjs";
import { S as Pe, a as he, b as Me, c as Ne, d as ve, e as we, f as Re, g as Fe, h as ye, i as Ae, j as Be, k as Ee, s as ke } from "./Sheet-B5imHJrO.mjs";
import { S as Le } from "./SideLabel-BKQ9iBHW.mjs";
import { S as Oe } from "./Skeleton-PmmX7Y-7.mjs";
import { S as He } from "./Spinner-D_20zat4.mjs";
import { S as je } from "./StateContainer-D7lYvK4y.mjs";
import { S as qe, s as Qe } from "./StatusDot-B4PdKfRA.mjs";
import { S as Je } from "./Switch-Bwu2xUMl.mjs";
import { T as Ye, a as Ze, b as _e, c as $e, d as or, e as ar, f as er } from "./Table-CrC0RSgH.mjs";
import { T as tr, a as sr, b as nr, c as ir } from "./Tabs-CxgGEraS.mjs";
import { T as pr } from "./Textarea-BDHSCWsm.mjs";
import { T as cr } from "./TimeSelect-CWbAMX5-.mjs";
import { T as fr, t as ur } from "./Toaster-BOgUkztH.mjs";
import { T as br, a as xr, b as Sr, c as Cr, d as Tr, t as Dr, e as Ir } from "./Tooltip-Rs8aEg_1.mjs";
import { F as hr, a as Mr, u as Nr } from "./FormError-DWMWtHfu.mjs";
import { g as wr, a as Rr, u as Fr } from "./user-DT9CJg4V.mjs";
import { E as Ar, S as Br, m as Er } from "./SignInForm-mZh0yQy5.mjs";
import { A as Gr, a as Lr, b as Vr } from "./AsideBrandLayout-C41D6W2c.mjs";
import { C as zr } from "./ConfirmDeleteDialog-BS36J2Hs.mjs";
import { C as Ur, a as jr, b as Xr, c as qr, d as Qr, u as Wr } from "./ConsentDialog-o16_Ich6.mjs";
import { D as Kr, M as Yr, P as Zr, U as _r } from "./UserMenuItem-CD6Sd6nG.mjs";
import { N as ot, a as at, b as et, c as rt, d as tt, e as st } from "./NotFound-CeJXDWQ2.mjs";
import { N as it, a as lt, b as pt, c as mt, d as ct, e as gt, f as ft, g as ut, h as dt, i as bt } from "./Notification-5aQSs2Q2.mjs";
import { SpeziContext as St, SpeziProvider as Ct, useSpeziContext as Tt } from "./SpeziProvider.js";
import { c as It } from "./index-2NvaPZWc.mjs";
import { syncData as ht } from "./utils/data.js";
import { formatDate as Nt, formatDateRange as vt, formatDateTime as wt, formatNilDate as Rt, formatNilDateRange as Ft, formatNilDateTime as yt } from "./utils/date.js";
import { logPerformance as Bt, notImplementedAlert as Et, notImplementedError as kt, sleep as Gt } from "./utils/dev.js";
import { base64ToBlob as Vt, downloadFile as Ot } from "./utils/file.js";
import { c as Ht, e as Ut, f as jt, a as Xt, i as qt, b as Qt, j as Wt, n as Jt, s as Kt, t as Yt, u as Zt } from "./misc-CHmrAmhc.mjs";
import { getNavigatorLanguage as $t } from "./utils/navigator.js";
import { c as as, p as es } from "./query-BszLGcZK.mjs";
import { sizeToMaxWidthRecord as ts, sizes as ss } from "./utils/tailwind.js";
import { u as is } from "./useIsScrolled-lRCtmEJI.mjs";
import { c as ps, u as ms, a as cs } from "./useMedia-BQYczMmP.mjs";
import { u as fs, a as us } from "./useOpenState-D7bIra9A.mjs";
import { u as bs } from "./useTimedFlag-CwyaTvF_.mjs";
import { r as Ss } from "./react-D55FPuWj.mjs";
import { getOrdinalSuffix as Ts } from "./utils/getOrdinalSuffix.js";
import { n as Is } from "./notImplementedToast-8RndmWbj.mjs";
const o = {
"color-surface": "rgb(250 250 249)",
"color-surface-primary": "rgb(255 255 255)",
"color-foreground": "rgb(9 4 4)",
"color-card": "rgb(255 255 255)",
"color-card-foreground": "rgb(9 4 4)",
"color-popover": "rgb(255 255 255)",
"color-popover-foreground": "rgb(9 4 4)",
"color-primary": "rgb(62 176 85)",
"color-primary-foreground": "rgb(243 243 243)",
"color-secondary": "rgb(242 240 240)",
"color-secondary-foreground": "rgb(30 15 15)",
"color-muted": "rgb(242 240 240)",
"color-muted-foreground": "rgb(159 159 159)",
"color-accent": "rgb(242 240 240)",
"color-accent-foreground": "rgb(30 15 15)",
"color-border": "rgb(232 215 221)",
"color-input": "rgb(232 215 221)",
"color-destructive": "rgb(222 65 38)",
"color-destructive-foreground": "rgb(243 243 243)",
"color-success": "rgb(34 197 94)",
"color-success-foreground": "rgb(243 243 243)",
"color-warning": "rgb(252 211 3)",
"color-warning-dark": "rgb(153 101 21)",
"color-warning-foreground": "rgb(9 4 4)",
"color-inverted": "rgb(9 4 4)",
"color-inverted-foreground": "rgb(243 243 243)",
"color-ring": "rgb(62 176 85)"
};
export {
r as AccordionContent,
t as AccordionItem,
s as AccordionRoot,
n as AccordionTrigger,
Gr as AsideBrandLayoutAside,
Lr as AsideBrandLayoutMain,
Vr as AsideBrandLayoutRoot,
l as Async,
g as Avatar,
x as Badge,
T as Button,
va as ButtonPagination,
N as Calendar,
w as Card,
R as CardHeader,
F as CardTitle,
E as Checkbox,
G as CheckboxGroup,
V as CollapsibleContent,
O as CollapsibleContentInner,
z as CollapsibleContentRoot,
H as CollapsibleRoot,
U as CollapsibleTrigger,
X as Command,
q as CommandDialogContent,
Q as CommandEmpty,
W as CommandGroup,
J as CommandInput,
K as CommandItem,
Y as CommandList,
Z as CommandSeparator,
_ as CommandShortcut,
zr as ConfirmDeleteDialog,
Ur as ConsentDialog,
jr as ConsentDialogCheckbox,
Xr as ConsentDialogContent,
qr as ConsentDialogContext,
Qr as ConsentDialogSubmit,
oo as CopyText,
Kr as DashboardLayout,
De as DashedSeparator,
eo as DataTable,
ro as DataTablePagination,
to as DataTableTableView,
bo as DatePicker,
So as Dialog,
Co as DialogClose,
To as DialogCloseX,
Do as DialogContent,
Io as DialogContentElement,
Po as DialogDescription,
ho as DialogFooter,
Mo as DialogHeader,
No as DialogOverlay,
vo as DialogPortal,
wo as DialogTitle,
Ro as DialogTrigger,
yo as DropdownMenu,
Ao as DropdownMenuCheckboxItem,
Bo as DropdownMenuContent,
Eo as DropdownMenuGroup,
ko as DropdownMenuItem,
Go as DropdownMenuLabel,
Lo as DropdownMenuPortal,
Vo as DropdownMenuRadioGroup,
Oo as DropdownMenuRadioItem,
zo as DropdownMenuSeparator,
Ho as DropdownMenuShortcut,
Uo as DropdownMenuSub,
jo as DropdownMenuSubContent,
Xo as DropdownMenuSubTrigger,
qo as DropdownMenuTrigger,
Ar as EmailPasswordForm,
Wo as EmptyState,
Ko as Error,
Zo as ErrorState,
hr as Field,
Mr as FormError,
so as GlobalFilterInput,
no as GlobalFilterInputContainer,
io as GlobalFilterInputIcon,
lo as GlobalFilterInputInput,
$o as IconGrid,
ea as IconPicker,
oa as IconSearchGrid,
ta as InfoButton,
na as Input,
la as InputOTP,
pa as InputOTPGroup,
ma as InputOTPRoot,
ca as InputOTPSeparator,
ga as InputOTPSlot,
ua as Label,
da as LabelContainer,
Va as LinkPagination,
Yr as MenuItem,
xa as MultiSelect,
Sa as MultiSelectContent,
Ca as MultiSelectGroup,
Ta as MultiSelectItem,
Da as MultiSelectSeparator,
Ia as MultiSelectTrigger,
Pa as MultiSelectValue,
Ma as NavigationBlocker,
ot as NotFound,
at as NotFoundAction,
et as NotFoundContainer,
rt as NotFoundIcon,
tt as NotFoundParagraph,
st as NotFoundTitle,
it as Notification,
lt as NotificationActions,
pt as NotificationContentContainer,
mt as NotificationHeader,
ct as NotificationImage,
gt as NotificationLink,
ft as NotificationMessage,
ut as NotificationRoot,
dt as NotificationTime,
bt as NotificationTitle,
Zr as PageTitle,
wa as Pagination,
Ra as PaginationContent,
Fa as PaginationEllipsis,
ya as PaginationItem,
Aa as PaginationItemContainer,
Ba as PaginationNext,
Ea as PaginationNextIcon,
ka as PaginationPrevious,
Ga as PaginationPreviousIcon,
za as PopoverArrow,
Ha as PopoverCloseX,
Ua as PopoverContent,
ja as PopoverDescription,
Xa as PopoverHeader,
qa as PopoverRoot,
Qa as PopoverTitle,
Wa as PopoverTrigger,
Ka as Progress,
Za as Radio,
oe as RadioGroup,
_a as RadioRoot,
ee as RangeCounter,
po as RowDropdownMenu,
h as SaveButton,
te as ScrollArea,
se as ScrollBar,
ie as Select,
le as SelectContent,
pe as SelectCreateItem,
me as SelectGroup,
ce as SelectItem,
ge as SelectSeparator,
fe as SelectTrigger,
ue as SelectValue,
Se as Separator,
Ce as SeparatorText,
Pe as Sheet,
he as SheetClose,
Me as SheetCloseX,
Ne as SheetContent,
ve as SheetContentElement,
we as SheetDescription,
Re as SheetFooter,
Fe as SheetHeader,
ye as SheetOverlay,
Ae as SheetPortal,
Be as SheetTitle,
Ee as SheetTrigger,
Le as SideLabel,
Br as SignInForm,
Oe as Skeleton,
St as SpeziContext,
Ct as SpeziProvider,
He as Spinner,
je as StateContainer,
qe as StatusDot,
Je as Switch,
Ye as Table,
Ze as TableBody,
_e as TableCell,
$e as TableFooter,
or as TableHead,
ar as TableHeader,
er as TableRow,
tr as Tabs,
sr as TabsContent,
nr as TabsList,
ir as TabsTrigger,
pr as Textarea,
cr as TimeSelect,
fr as Toaster,
br as Tooltip,
xr as TooltipContent,
Sr as TooltipProvider,
Cr as TooltipRoot,
Tr as TooltipTrigger,
_r as UserMenuItem,
f as avatarVariance,
u as avatarVariants,
S as badgeVariance,
Vt as base64ToBlob,
D as buttonVariance,
I as buttonVariants,
y as cardVariance,
A as cardVariants,
It as cn,
as as combineQueries,
Ht as copyToClipboard,
ps as createUseIsScreen,
mo as dateColumn,
co as dateTimeColumn,
Ot as downloadFile,
Ut as ensureString,
jt as formatBoolean,
Nt as formatDate,
vt as formatDateRange,
wt as formatDateTime,
Xt as formatNilBoolean,
Rt as formatNilDate,
Ft as formatNilDateRange,
yt as formatNilDateTime,
go as fuzzyFilter,
d as getInitials,
$t as getNavigatorLanguage,
Ts as getOrdinalSuffix,
wr as getUserInfo,
Rr as getUserName,
qt as isEmpty,
Qt as isObject,
Wt as joinPaths,
o as lightTheme,
Bt as logPerformance,
Er as messages,
Jt as not,
Et as notImplementedAlert,
kt as notImplementedError,
Is as notImplementedToast,
es as parseUnknownError,
m as queriesToAsyncProps,
Ss as reactNodeToText,
ke as sheetSides,
ts as sizeToMaxWidthRecord,
ss as sizes,
Gt as sleep,
Qe as statusDotVariance,
Kt as strategy,
ht as syncData,
Yt as times,
ur as toast,
Dr as tooltipVariance,
Ir as tooltipVariants,
Zt as upperFirst,
Fr as useAuthUser,
Wr as useConsentDialog,
fo as useDataTable,
Nr as useForm,
ms as useIsScreen,
is as useIsScrolled,
cs as useIsTouchDevice,
fs as useOpenState,
de as useSelectContext,
be as useSelectProvider,
Tt as useSpeziContext,
us as useStatefulOpenState,
bs as useTimedFlag
};