UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

2 lines (1 loc) 3.27 kB
var v=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames;var y=Object.prototype.hasOwnProperty;var p=(t,i)=>{for(var l in i)v(t,l,{get:i[l],enumerable:!0})},b=(t,i,l,a)=>{if(i&&typeof i=="object"||typeof i=="function")for(let d of k(i))!y.call(t,d)&&d!==l&&v(t,d,{get:()=>i[d],enumerable:!(a=f(i,d))||a.enumerable});return t};var S=t=>b(v({},"__esModule",{value:!0}),t);var M={};p(M,{SPREADSHEETCOLUMNHEADER_CLASSNAME:()=>h,SpreadsheetColumnHeader:()=>n,default:()=>$});module.exports=S(M);var s=(...t)=>t.filter(i=>i!==!0&&!!i).map(i=>Array.isArray(i)?s(...i):typeof i=="object"?Object.keys(i).map((l,a)=>i[a]||i[l]&&l||null).filter(l=>l!==null).join(" "):i).filter(i=>!!i).join(" ");var e=require("react/jsx-runtime"),h="k-spreadsheet-column-header",w=[],N={},x={configureSelection:{A:"partial"}},n=t=>{let{configureSelection:i=x.configureSelection,...l}=t,a=[(0,e.jsx)("div",{style:{position:"absolute",left:"0px",width:"100px",height:"30px"},children:(0,e.jsx)("div",{className:"k-vertical-align-center",children:"A"})}),(0,e.jsx)("div",{style:{position:"absolute",left:"100px",width:"215px",height:"30px"},children:(0,e.jsx)("div",{className:"k-vertical-align-center",children:"B"})}),(0,e.jsx)("div",{style:{position:"absolute",left:"315px",width:"115px",height:"30px"},children:(0,e.jsx)("div",{className:"k-vertical-align-center",children:"C"})}),(0,e.jsx)("div",{style:{position:"absolute",left:"430px",width:"115px",height:"30px"},children:(0,e.jsx)("div",{className:"k-vertical-align-center",children:"D"})}),(0,e.jsx)("div",{style:{position:"absolute",left:"545px",width:"115px",height:"30px"},children:(0,e.jsx)("div",{className:"k-vertical-align-center",children:"E"})}),(0,e.jsx)("div",{style:{position:"absolute",left:"660px",width:"155px",height:"30px"},children:(0,e.jsx)("div",{className:"k-vertical-align-center",children:"F"})}),(0,e.jsx)("div",{style:{position:"absolute",left:"815px",width:"64px",height:"30px"},children:(0,e.jsx)("div",{className:"k-vertical-align-center",children:"G"})}),(0,e.jsx)("div",{style:{position:"absolute",left:"879px",width:"64px",height:"30px"},children:(0,e.jsx)("div",{className:"k-vertical-align-center",children:"H"})}),(0,e.jsx)("div",{style:{position:"absolute",left:"943px",width:"64px",height:"30px"},children:(0,e.jsx)("div",{className:"k-vertical-align-center",children:"I"})}),(0,e.jsx)("div",{style:{position:"absolute",left:"1007px",width:"64px",height:"30px"},children:(0,e.jsx)("div",{className:"k-vertical-align-center",children:"J"})}),(0,e.jsx)("div",{style:{position:"absolute",left:"1071px",width:"64px",height:"30px"},children:(0,e.jsx)("div",{className:"k-vertical-align-center",children:"K"})}),(0,e.jsx)("div",{style:{position:"absolute",left:"1135px",width:"64px",height:"30px"},children:(0,e.jsx)("div",{className:"k-vertical-align-center",children:"L"})})],u=i?((m,o)=>m.map((r,g)=>{let c=r.props.children.props.children;return(0,e.jsx)("div",{style:r.props.style,className:s({"k-selection-partial":o[c]==="partial","k-selection-full":o[c]==="full","k-selection-none":!o[c]}),children:r.props.children},g)}))(a,i):a;return(0,e.jsx)("div",{...l,className:s(h,t.className),children:u})};n.states=w;n.options=N;n.className=h;n.defaultOptions=x;var $=n;