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 p=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var k=Object.prototype.hasOwnProperty;var y=(i,t)=>{for(var l in t)v(i,l,{get:t[l],enumerable:!0})},b=(i,t,l,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of f(t))!k.call(i,s)&&s!==l&&v(i,s,{get:()=>t[s],enumerable:!(a=p(t,s))||a.enumerable});return i};var S=i=>b(v({},"__esModule",{value:!0}),i);var A={};y(A,{SPREADSHEETCOLUMNHEADER_CLASSNAME:()=>x,SpreadsheetColumnHeader:()=>d,default:()=>w});module.exports=S(A);var n=(...i)=>i.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?n(...t):typeof t=="object"?Object.keys(t).map((l,a)=>t[a]||t[l]&&l||null).filter(l=>l!==null).join(" "):t).filter(t=>!!t).join(" ");var e=require("react/jsx-runtime"),x="k-spreadsheet-column-header",N=[],$={},h={configureSelection:{A:"partial"}},d=i=>{let{configureSelection:t=h.configureSelection,...l}=i,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=t?((m,r)=>m.map((o,g)=>{let c=o.props.children.props.children;return(0,e.jsx)("div",{style:o.props.style,className:n({"k-selection-partial":r[c]==="partial","k-selection-full":r[c]==="full","k-selection-none":!r[c]}),children:o.props.children},g)}))(a,t):a;return(0,e.jsx)("div",{...l,className:n(x,i.className),children:u})};d.states=N;d.options=$;d.className=x;d.defaultOptions=h;var w=d;