@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
2 lines (1 loc) • 975 B
JavaScript
var o=(...t)=>t.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?o(...e):typeof e=="object"?Object.keys(e).map((l,a)=>e[a]||e[l]&&l||null).filter(l=>l!==null).join(" "):e).filter(e=>!!e).join(" ");var n="scheduler",s=n;import{jsx as g}from"react/jsx-runtime";var c="k-scheduler-layout",f=[],x={},E={},r=t=>{let{as:e="div",view:l,...a}=t;return g(e,{...a,className:o(t.className,c,{[`k-scheduler-${l}view`]:l}),children:t.children})};r.states=f;r.options=x;r.className=c;r.defaultOptions=E;r.moduleName=n;r.folderName=s;var m=r;import{jsx as y,jsxs as b}from"react/jsx-runtime";var u="k-scheduler",v=[],k={},M={},i=t=>{let{view:e,toolbar:l,footer:a,layout:d,...h}=t;return b("div",{...h,className:o(t.className,u),children:[l,y(m,{className:o({"k-scheduler-layout-flex":d==="flex"}),as:d==="table"?"table":"div",view:e,children:t.children}),a]})};i.states=v;i.options=k;i.className=u;i.defaultOptions=M;i.moduleName=n;i.folderName=s;var z=i;export{i as Scheduler,z as default};