UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

2 lines (1 loc) 893 B
var a=(...t)=>t.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?a(...e):typeof e=="object"?Object.keys(e).map((l,i)=>e[i]||e[l]&&l||null).filter(l=>l!==null).join(" "):e).filter(e=>!!e).join(" ");import{jsx as h}from"react/jsx-runtime";var r="k-scheduler-layout",m=[],x={},f={},n=t=>{let{as:e="div",view:l,...i}=t;return h(e,{...i,className:a(t.className,r,{[`k-scheduler-${l}view`]:l}),children:t.children})};n.states=m;n.options=x;n.className=r;n.defaultOptions=f;var s=n;import{jsx as g,jsxs as S}from"react/jsx-runtime";var c="k-scheduler",k=[],v={},y={},o=t=>{let{view:e,toolbar:l,footer:i,layout:d,...u}=t;return S("div",{...u,className:a(t.className,c),children:[l,g(s,{className:a({"k-scheduler-layout-flex":d==="flex"}),as:d==="table"?"table":"div",view:e,children:t.children}),i]})};o.states=k;o.options=v;o.className=c;o.defaultOptions=y;var C=o;export{o as Scheduler,C as default};