@progress/kendo-themes-html 14.7.0-dev.2 → 14.7.0-dev.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/chat/chat-message.spec.js +1 -1
- package/dist/cjs/chat/chat.spec.js +1 -1
- package/dist/cjs/chat/demos/chat.js +1 -1
- package/dist/cjs/chat/templates/chat-empty.js +1 -1
- package/dist/cjs/chat/templates/chat-expandable.js +1 -1
- package/dist/cjs/chat/templates/chat-failed.js +1 -1
- package/dist/cjs/chat/templates/chat-message-skeleton.js +1 -1
- package/dist/cjs/chat/templates/chat-message-toolbar.js +1 -1
- package/dist/cjs/chat/templates/chat-normal.js +1 -1
- package/dist/cjs/chat/templates/chat-pinned.js +1 -1
- package/dist/cjs/chat/templates/chat-stop-response.js +1 -1
- package/dist/cjs/chat/templates/chat-textarea-file.js +1 -1
- package/dist/cjs/chat/templates/chat-typing.js +1 -1
- package/dist/cjs/chat/templates/chat-upload.js +1 -1
- package/dist/cjs/dropdowntree/demos/dropdowntree.js +1 -1
- package/dist/cjs/dropdowntree/dropdowntree.spec.js +1 -1
- package/dist/cjs/dropdowntree/templates/dropdowntree-adaptive.js +1 -1
- package/dist/cjs/dropdowntree/templates/dropdowntree-disabled.js +1 -1
- package/dist/cjs/dropdowntree/templates/dropdowntree-filtering.js +1 -1
- package/dist/cjs/dropdowntree/templates/dropdowntree-normal.js +1 -1
- package/dist/cjs/dropdowntree/templates/dropdowntree-popup.js +1 -1
- package/dist/cjs/filemanager/demos/filemanager.js +1 -1
- package/dist/cjs/filemanager/file-info.js +1 -1
- package/dist/cjs/filemanager/filemanager-treeview.spec.js +1 -1
- package/dist/cjs/filemanager/templates/filemanager-grid-preview.js +1 -1
- package/dist/cjs/filemanager/templates/filemanager-grid.js +1 -1
- package/dist/cjs/filemanager/templates/filemanager-normal.js +1 -1
- package/dist/cjs/filemanager/templates/filemanager-preview.js +1 -1
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/multiselecttree/demos/multiselecttree.js +1 -1
- package/dist/cjs/multiselecttree/multiselecttree.spec.js +1 -1
- package/dist/cjs/multiselecttree/templates/multiselecttree-adaptive.js +1 -1
- package/dist/cjs/multiselecttree/templates/multiselecttree-arrow-button.js +1 -1
- package/dist/cjs/multiselecttree/templates/multiselecttree-disabled.js +1 -1
- package/dist/cjs/multiselecttree/templates/multiselecttree-filtering.js +1 -1
- package/dist/cjs/multiselecttree/templates/multiselecttree-normal.js +1 -1
- package/dist/cjs/multiselecttree/templates/multiselecttree-popup.js +1 -1
- package/dist/cjs/multiselecttree/templates/multiselecttree-value.js +1 -1
- package/dist/cjs/pivotgrid/demos/pivotgrid.js +1 -1
- package/dist/cjs/pivotgrid/templates/pivotgrid-normal.js +1 -1
- package/dist/cjs/pivotgrid/templates/pivotgrid-with-configurator-disabled-actions.js +1 -1
- package/dist/cjs/pivotgrid/templates/pivotgrid-with-configurator-opened.js +1 -1
- package/dist/cjs/pivotgrid/templates/pivotgrid-with-configurator.js +1 -1
- package/dist/cjs/prompt-box/demos/prompt-box.js +1 -1
- package/dist/cjs/prompt-box/prompt-box.spec.js +1 -1
- package/dist/cjs/prompt-box/templates/prompt-box-auto-expanded.js +1 -1
- package/dist/cjs/prompt-box/templates/prompt-box-auto.js +1 -1
- package/dist/cjs/prompt-box/templates/prompt-box-multi.js +1 -1
- package/dist/cjs/prompt-box/templates/prompt-box-single.js +1 -1
- package/dist/cjs/prompt-box/templates/prompt-box-stop-response.js +1 -1
- package/dist/cjs/treeview/demos/treeview.js +1 -1
- package/dist/cjs/treeview/templates/treeview-checkboxes.js +1 -1
- package/dist/cjs/treeview/templates/treeview-hierarchy.js +1 -1
- package/dist/cjs/treeview/templates/treeview-icons.js +1 -1
- package/dist/cjs/treeview/templates/treeview-load-more.js +1 -1
- package/dist/cjs/treeview/templates/treeview-normal.js +1 -1
- package/dist/cjs/treeview/templates/treeview-selected.js +1 -1
- package/dist/cjs/treeview/treeview-item.spec.js +1 -1
- package/dist/cjs/treeview/treeview-leaf.js +1 -1
- package/dist/esm/chat/chat-message.spec.mjs +1 -1
- package/dist/esm/chat/chat.spec.mjs +1 -1
- package/dist/esm/chat/demos/chat.mjs +1 -1
- package/dist/esm/chat/templates/chat-empty.mjs +1 -1
- package/dist/esm/chat/templates/chat-expandable.mjs +1 -1
- package/dist/esm/chat/templates/chat-failed.mjs +1 -1
- package/dist/esm/chat/templates/chat-message-skeleton.mjs +1 -1
- package/dist/esm/chat/templates/chat-message-toolbar.mjs +1 -1
- package/dist/esm/chat/templates/chat-normal.mjs +1 -1
- package/dist/esm/chat/templates/chat-pinned.mjs +1 -1
- package/dist/esm/chat/templates/chat-stop-response.mjs +1 -1
- package/dist/esm/chat/templates/chat-textarea-file.mjs +1 -1
- package/dist/esm/chat/templates/chat-typing.mjs +1 -1
- package/dist/esm/chat/templates/chat-upload.mjs +1 -1
- package/dist/esm/dropdowntree/demos/dropdowntree.mjs +1 -1
- package/dist/esm/dropdowntree/dropdowntree.spec.mjs +1 -1
- package/dist/esm/dropdowntree/templates/dropdowntree-adaptive.mjs +1 -1
- package/dist/esm/dropdowntree/templates/dropdowntree-disabled.mjs +1 -1
- package/dist/esm/dropdowntree/templates/dropdowntree-filtering.mjs +1 -1
- package/dist/esm/dropdowntree/templates/dropdowntree-normal.mjs +1 -1
- package/dist/esm/dropdowntree/templates/dropdowntree-popup.mjs +1 -1
- package/dist/esm/filemanager/demos/filemanager.mjs +1 -1
- package/dist/esm/filemanager/file-info.mjs +1 -1
- package/dist/esm/filemanager/filemanager-treeview.spec.mjs +1 -1
- package/dist/esm/filemanager/templates/filemanager-grid-preview.mjs +1 -1
- package/dist/esm/filemanager/templates/filemanager-grid.mjs +1 -1
- package/dist/esm/filemanager/templates/filemanager-normal.mjs +1 -1
- package/dist/esm/filemanager/templates/filemanager-preview.mjs +1 -1
- package/dist/esm/index.mjs +4 -4
- package/dist/esm/multiselecttree/demos/multiselecttree.mjs +1 -1
- package/dist/esm/multiselecttree/multiselecttree.spec.mjs +1 -1
- package/dist/esm/multiselecttree/templates/multiselecttree-adaptive.mjs +1 -1
- package/dist/esm/multiselecttree/templates/multiselecttree-arrow-button.mjs +1 -1
- package/dist/esm/multiselecttree/templates/multiselecttree-disabled.mjs +1 -1
- package/dist/esm/multiselecttree/templates/multiselecttree-filtering.mjs +1 -1
- package/dist/esm/multiselecttree/templates/multiselecttree-normal.mjs +1 -1
- package/dist/esm/multiselecttree/templates/multiselecttree-popup.mjs +1 -1
- package/dist/esm/multiselecttree/templates/multiselecttree-value.mjs +1 -1
- package/dist/esm/pivotgrid/demos/pivotgrid.mjs +1 -1
- package/dist/esm/pivotgrid/templates/pivotgrid-normal.mjs +1 -1
- package/dist/esm/pivotgrid/templates/pivotgrid-with-configurator-disabled-actions.mjs +1 -1
- package/dist/esm/pivotgrid/templates/pivotgrid-with-configurator-opened.mjs +1 -1
- package/dist/esm/pivotgrid/templates/pivotgrid-with-configurator.mjs +1 -1
- package/dist/esm/prompt-box/demos/prompt-box.mjs +1 -1
- package/dist/esm/prompt-box/prompt-box.spec.mjs +1 -1
- package/dist/esm/prompt-box/templates/prompt-box-auto-expanded.mjs +1 -1
- package/dist/esm/prompt-box/templates/prompt-box-auto.mjs +1 -1
- package/dist/esm/prompt-box/templates/prompt-box-multi.mjs +1 -1
- package/dist/esm/prompt-box/templates/prompt-box-single.mjs +1 -1
- package/dist/esm/prompt-box/templates/prompt-box-stop-response.mjs +1 -1
- package/dist/esm/treeview/demos/treeview.mjs +1 -1
- package/dist/esm/treeview/templates/treeview-checkboxes.mjs +1 -1
- package/dist/esm/treeview/templates/treeview-hierarchy.mjs +1 -1
- package/dist/esm/treeview/templates/treeview-icons.mjs +1 -1
- package/dist/esm/treeview/templates/treeview-load-more.mjs +1 -1
- package/dist/esm/treeview/templates/treeview-normal.mjs +1 -1
- package/dist/esm/treeview/templates/treeview-selected.mjs +1 -1
- package/dist/esm/treeview/treeview-item.spec.mjs +1 -1
- package/dist/esm/treeview/treeview-leaf.mjs +1 -1
- package/dist/types/prompt-box/prompt-box.spec.d.ts +1 -1
- package/dist/types/treeview/treeview-item.spec.d.ts +1 -0
- package/dist/types/treeview/treeview-leaf.d.ts +1 -0
- package/package.json +1 -1
- package/src/prompt-box/prompt-box.spec.tsx +9 -7
- package/src/treeview/treeview-item.spec.tsx +5 -1
- package/src/treeview/treeview-leaf.tsx +3 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var n=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?n(...t):typeof t=="object"?Object.keys(t).map((o,i)=>t[i]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var A=(e,t)=>n({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),E=(e,t)=>{let{valid:o,invalid:i,hover:a,focus:s,checked:l,active:p,selected:u,disabled:m,indeterminate:f,loading:v,empty:T,readonly:y,highlighted:R,...O}=t;return n({"k-valid":o,"k-invalid":i,"k-hover":a,"k-focus":s,"k-checked":l,"k-active":p,"k-selected":u,"k-disabled":m,"k-indeterminate":f&&!l,"k-loading":v,"k-empty":T,"k-readonly":y,"k-highlighted":R},Object.keys(O).reduce((S,k)=>(k.startsWith("k-")?S[k]=O[k]:S[`k-${k}`]=O[k],S),{}))};function ya(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(i=>[`k-${i}`,!0]))}var d={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},c={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},x={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},Pe={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},N={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},r={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var ii={};function I(e){return ii[e]=(ii[e]||0)+1,`k-${e}-${ii[e]}`}import{Fragment as Zn,jsx as Aa}from"react/jsx-runtime";var ai="k-font-icon",qn=[],Yn={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[N.undefined,N.base,N.primary,N.secondary,N.tertiary,N.success,N.warning,N.error,N.info]},Qn={},jt=e=>{let{size:t,themeColor:o,icon:i,rotate:a,flip:s,...l}=e;return i?Aa("span",{...l,className:n(e.className,ai,A(ai,{size:t}),{[`k-i-${i}`]:i,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true"}):Aa(Zn,{})};jt.states=qn;jt.options=Yn;jt.className=ai;jt.defaultOptions=Qn;var Ea=jt;import{Fragment as ts,jsx as Co}from"react/jsx-runtime";var ri="k-svg-icon",jn=[],es={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[N.undefined,N.base,N.primary,N.secondary,N.tertiary,N.success,N.warning,N.error,N.info],variant:[Pe.outline,Pe.solid,Pe.duotone]},ni={viewBox:"0 0 24 24",variant:Pe.outline},eo=e=>{let{size:t,themeColor:o,rotate:i,flip:a,viewBox:s=ni.viewBox,variant:l=ni.variant,icon:p,...u}=e;if(!p)return Co(ts,{});if(p==="none")return Co("span",{...u,className:n(e.className,ri,A("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let m=typeof p=="object"&&p.name&&p.name,f=typeof p=="object"?l&&p.variants?.[l]||p.variants?.outline||p.content:void 0;return Co("span",{...u,className:n(e.className,ri,A("k-icon",{size:t}),{[`k-svg-i-${m}`]:m,[`k-color-${o}`]:o,[`k-rotate-${i}`]:i,"k-flip-h":a==="h"||a==="both","k-flip-v":a==="v"||a==="both"}),"aria-hidden":"true",children:Co("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof p=="object"?p.viewBox:s,dangerouslySetInnerHTML:f!==void 0?{__html:f}:void 0,children:p?void 0:e.children})})};eo.states=jn;eo.options=es;eo.className=ri;eo.defaultOptions=ni;var si=eo;import*as li from"@progress/kendo-svg-icons";var ka="icon",Ma="icons";import{useContext as is}from"react";import{createContext as os}from"react";var Ra=os({iconsType:"svg"});import{Fragment as Oa,jsx as to}from"react/jsx-runtime";var To="k-icon",as=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),rs=[],ns={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[N.undefined,N.base,N.primary,N.secondary,N.tertiary,N.success,N.warning,N.error,N.info],variant:[Pe.outline,Pe.solid,Pe.duotone]},Io={viewBox:"0 0 24 24",type:"svg",variant:Pe.outline},C=e=>{let{iconsType:t}=is(Ra),{size:o,themeColor:i,icon:a,type:s=t||Io.type,rotate:l,flip:p,viewBox:u=Io.viewBox,variant:m=Io.variant,...f}=e;if(!a)return to(Oa,{});if((t||s)==="svg"){if(a==="none")return to(si,{...f,className:n(e.className,To),icon:a,size:o,variant:m});let T=li[a]?a:as(`${a}-icon`);return li[T]?to(si,{...f,className:n(e.className,To),icon:li[T],size:o,themeColor:i,rotate:l,flip:p,viewBox:u,variant:m}):to(Oa,{})}return to(Ea,{...f,className:n(e.className,To),icon:a,size:o,themeColor:i,rotate:l,flip:p})};C.states=rs;C.options=ns;C.defaultOptions=Io;C.className=To;C.moduleName=ka;C.folderName=Ma;import{jsx as wa,jsxs as ps}from"react/jsx-runtime";var Pa="k-pivotgrid-configurator-button",ss=[],ls={},ds={},Ge=e=>{let{...t}=e;return wa("div",{...t,className:n(e.className,Pa),"aria-hidden":"true",children:ps("span",{children:["Change settings",wa(C,{icon:"gear"})]})})};Ge.states=ss;Ge.options=ls;Ge.className=Pa;Ge.moduleName=null;Ge.folderName=null;Ge.defaultOptions=ds;var Ka=Ge;import ms from"react";var di="pivotgrid",Da=di;import{jsx as Ke,jsxs as _a}from"react/jsx-runtime";var Ha="k-pivotgrid",cs=[],us={},go={emptyCell:Ke("div",{className:"k-pivotgrid-empty-cell",role:"none",children:Ke("table",{role:"none",children:Ke("thead",{role:"none",children:Ke("tr",{role:"none",children:Ke("th",{"aria-colspan":1,"aria-rowspan":1,id:I("pivotgrid-empty"),children:Ke("span",{className:"k-sr-only",children:"PivotGrid component. Use the arrow keys to navigate."})})})})})}),configuratorDisplay:"none",configuratorPosition:"right"},be=e=>{let{emptyCell:t=go.emptyCell,configuratorDisplay:o=go.configuratorDisplay,configuratorPosition:i=go.configuratorPosition,configurator:a,columnHeaders:s,rowHeaders:l,children:p,...u}=e;return _a("div",{className:{left:"k-d-flex k-flex-row-reverse k-pos-relative",bottom:"k-d-flex k-flex-col k-pos-relative",top:"k-d-flex k-flex-col-reverse k-pos-relative",right:"k-d-flex k-flex-row k-pos-relative"}[i],children:[_a("div",{...u,className:n(e.className,Ha),role:"grid",children:[t,Ke("div",{className:"k-pivotgrid-column-headers",role:"none",children:s}),Ke("div",{className:"k-pivotgrid-row-headers",role:"none",children:l}),Ke("div",{className:"k-pivotgrid-values",role:"none",children:p})]}),a&&o==="opened"&&a,a&&o==="closed"&&ms.cloneElement(a,{"aria-hidden":"true"}),o!=="none"&&Ke(Ka,{})]})};be.states=cs;be.options=us;be.className=Ha;be.defaultOptions=go;be.moduleName=di;be.folderName=Da;import{jsx as hs}from"react/jsx-runtime";var za="k-pivotgrid-table",fs=[],bs={},xs={},pe=e=>{let{children:t,...o}=e;return hs("table",{...o,className:n(e.className,za),children:t})};pe.states=fs;pe.options=bs;pe.className=za;pe.moduleName=null;pe.folderName=null;pe.defaultOptions=xs;import{jsx as Cs}from"react/jsx-runtime";var Ba="k-pivotgrid-tbody",vs=[],Ns={},Ls={},Le=e=>{let{children:t,...o}=e;return Cs("tbody",{...o,className:n(e.className,Ba),children:t})};Le.states=vs;Le.options=Ns;Le.className=Ba;Le.defaultOptions=Ls;import{jsx as Ss}from"react/jsx-runtime";var pi="k-pivotgrid-row",Ts=[r.hover,r.selected],Is={},gs={},M=e=>{let{columnTotal:t,children:o,hover:i,selected:a,...s}=e;return Ss("tr",{...s,className:n(e.className,pi,{"k-pivotgrid-column-total":t},E(pi,{hover:i,selected:a})),children:o})};M.states=Ts;M.options=Is;M.className=pi;M.defaultOptions=gs;import{jsx as mi,jsxs as ks}from"react/jsx-runtime";var ci="k-pivotgrid-cell",ys=[r.focus,r.selected],As={},Es={},b=e=>{let{as:t="td",toggle:o,headerTitle:i,content:a,headerRootCell:s,totalCell:l,headerTotalCell:p,rowTotalCell:u,focus:m,selected:f,...v}=e,T={up:"up",down:"down"};return ks(t,{...v,className:n(e.className,ci,{"k-pivotgrid-expanded":o==="up","k-pivotgrid-header-root":s,"k-pivotgrid-total":l,"k-pivotgrid-header-total":p,"k-pivotgrid-row-total":u},E(ci,{focus:m,selected:f})),children:[o&&mi(C,{className:"k-pivotgrid-toggle",icon:`chevron-${T[o]}`}),i&&mi("span",{className:"k-pivotgrid-header-title",children:i}),(a||a==="")&&mi("span",{className:"k-pivotgrid-content",children:a})]})};b.states=ys;b.options=As;b.className=ci;b.defaultOptions=Es;var ui="action-buttons",Fa=ui;import{jsx as Os}from"react/jsx-runtime";var So="k-actions",Ms=[],Rs={},fi={alignment:"start",orientation:"horizontal"},De=e=>{let{alignment:t=fi.alignment,orientation:o=fi.orientation,...i}=e;return Os("div",{...i,className:n(So,{[`${So}-${t}`]:t,[`${So}-${o}`]:o},e.className),children:e.children})};De.states=Ms;De.options=Rs;De.className=So;De.defaultOptions=fi;De.moduleName=ui;De.folderName=Fa;var bi="button",Ga=bi;import{Fragment as Ua,jsx as ct,jsxs as $a}from"react/jsx-runtime";var oo="k-button",ws=["icon-button"],Ps=[r.hover,r.focus,r.active,r.selected,r.disabled,r.generating],Ks={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[N.undefined,N.base,N.primary,N.secondary,N.tertiary,N.success,N.warning,N.error,N.info,N.inverse]},xi={showArrow:!1,arrowIconName:"chevron-down"},g=e=>{let{as:t="button",size:o,rounded:i,fillMode:a,themeColor:s,showArrow:l=xi.showArrow,arrowIconName:p=xi.arrowIconName,variant:u,hover:m,focus:f,active:v,selected:T,disabled:y,togglable:R,ariaDisabled:O,icon:S,iconSize:k,text:B,iconClassName:$,className:X,...fe}=e,Fe=S!=null,at=e.children!==void 0;return $a(t,{className:n(X,oo,ya(oo,u),A(oo,{size:o,rounded:i,fillMode:a,themeColor:s}),E(oo,{hover:m,focus:f,active:v,disabled:y||O,selected:T}),{"k-icon-button":!B&&!at&&Fe}),"aria-pressed":R?T?"true":"false":void 0,...fe,"aria-disabled":O?"true":void 0,disabled:y||void 0,children:[typeof S=="string"&&S&&ct(C,{className:n($,"k-button-icon"),icon:S,size:k}),S&&typeof S!="string"&&ct(Ua,{children:S}),B?$a(Ua,{children:[B&&ct("span",{className:"k-button-text",children:B}),e.children]}):e.children&&ct("span",{className:"k-button-text",children:e.children}),l&&ct("span",{className:"k-menu-button-arrow k-button-arrow",children:ct(C,{icon:p})})]})};g.states=Ps;g.options=Ks;g.variants=ws;g.className=oo;g.defaultOptions=xi;g.moduleName=bi;g.folderName=Ga;import{jsx as Ds}from"react/jsx-runtime";var hi=e=>Ds(g,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as _s}from"react/jsx-runtime";var Va=e=>_s(g,{icon:"folder",children:"Button",...e});import{jsx as Hs}from"react/jsx-runtime";var rt=e=>Hs(g,{children:"Button",...e});import{jsx as vi}from"react/jsx-runtime";var zs=g.options,Bs=g.states,Fs={...g.defaultOptions,variant:"text"},Gs=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Us=[],ut=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return vi(hi,{...o,icon:"star"});case"icon-and-text":return vi(Va,{...o,icon:"star",children:"Button"});default:return vi(rt,{...o,children:"Button"})}};ut.options=zs;ut.states=Bs;ut.variants=Gs;ut.defaultOptions=Fs;ut.modifiers=Us;ut.className=g.className;import{Fragment as Ws,jsx as nt,jsxs as Xa}from"react/jsx-runtime";var yo="k-pivotgrid-configurator",$s=[],Vs={},Xs=Xa(Ws,{children:[nt(g,{children:"Cancel"}),nt(g,{themeColor:"primary",children:"Apply"})]}),io={orientation:"vertical",mode:"push",actionButtons:Xs,header:"Settings"},Ce=e=>{let{orientation:t=io.orientation,mode:o=io.mode,actionButtons:i=io.actionButtons,header:a=io.header,headerId:s,children:l,...p}=e,u=s||I("pivotgrid-configurator-header");return nt("div",{...p,className:n(e.className,yo),role:"dialog","aria-labelledby":u,children:Xa("div",{className:n("k-pivotgrid-configurator-panel",{[`${yo}-${t}`]:t,[`${yo}-${o}`]:o}),children:[nt("div",{className:"k-pivotgrid-configurator-header",children:nt("div",{className:"k-pivotgrid-configurator-header-text",id:u,children:a})}),nt("div",{className:"k-pivotgrid-configurator-content",children:l}),nt(De,{alignment:"end",className:"k-pivotgrid-configurator-actions",children:i})]})})};Ce.states=$s;Ce.options=Vs;Ce.className=yo;Ce.moduleName=null;Ce.folderName=null;Ce.defaultOptions=io;var ao="input",Ao=ao;import{jsx as Qs}from"react/jsx-runtime";var Eo="k-input",Js=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],qs={size:[d.undefined,d.small,d.medium,d.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Ys={},D=e=>{let{hover:t,focus:o,disabled:i,invalid:a,valid:s,loading:l,readonly:p,size:u,rounded:m,fillMode:f,...v}=e;return Qs("span",{...v,className:n(e.className,Eo,A(Eo,{size:u,rounded:m,fillMode:f}),E(Eo,{hover:t,focus:o,disabled:i,invalid:a,valid:s,loading:l,readonly:p}))})};D.states=Js;D.options=qs;D.className=Eo;D.defaultOptions=Ys;D.moduleName=ao;D.folderName=Ao;import{jsx as tl}from"react/jsx-runtime";var ko="k-picker",Zs=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],js={size:[d.undefined,d.small,d.medium,d.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},el={},Je=e=>{let{hover:t,focus:o,disabled:i,invalid:a,valid:s,loading:l,readonly:p,size:u,rounded:m,fillMode:f,...v}=e;return tl("span",{...v,className:n(e.className,ko,A(ko,{size:u,rounded:m,fillMode:f}),E(ko,{hover:t,focus:o,disabled:i,invalid:a,valid:s,loading:l,readonly:p})),children:e.children})};Je.states=Zs;Je.options=js;Je.className=ko;Je.defaultOptions=el;Je.moduleName=ao;Je.folderName=Ao;import{Fragment as al,jsx as Ni}from"react/jsx-runtime";var Wa="k-clear-value",ol=[r.disabled,r.loading,r.readonly],il={},oe=e=>{let{disabled:t,loading:o,readonly:i,value:a}=e;return t||i||o||!a?Ni(al,{}):Ni("span",{className:n(e.className,Wa),children:Ni(C,{icon:"x"})})};oe.states=ol;oe.options=il;oe.className=Wa;import{jsx as sl}from"react/jsx-runtime";var Li="k-input-inner",rl=[],nl={},Mo={type:"text",autocomplete:"off",value:"",placeholder:""},ie=e=>{let{value:t=Mo.value,type:o=Mo.type,placeholder:i=Mo.placeholder,autocomplete:a=Mo.autocomplete,disabled:s,readOnly:l,...p}=e;return sl("input",{...p,type:o,className:n(e.className,Li,A(Li,e)),placeholder:i,autoComplete:a,defaultValue:t,disabled:s||void 0,readOnly:l||void 0})};ie.states=rl;ie.options=nl;ie.className=Li;import{jsx as Ja,jsxs as pl}from"react/jsx-runtime";var Ci="k-input-inner",ll=[],dl={},ro=e=>{let{value:t,placeholder:o,showValue:i,valueIcon:a,valueIconName:s,...l}=e;return pl("span",{...l,className:n(e.className,Ci,A(Ci,e)),children:[a,!a&&s&&Ja(C,{className:"k-input-value-icon",icon:s}),i&&!t&&o,i&&t&&Ja("span",{className:"k-input-value-text",children:t})]})};ro.states=ll;ro.options=dl;ro.className=Ci;import{jsx as ul}from"react/jsx-runtime";var Ti="k-input-inner",ml=[],cl={},qa={value:"",placeholder:""},no=e=>{let{value:t=qa.value,placeholder:o=qa.placeholder,rows:i,disabled:a,...s}=e;return ul("textarea",{...s,className:n(e.className,Ti,A(Ti,e)),placeholder:o,rows:i,defaultValue:t,disabled:a||void 0})};no.states=ml;no.options=cl;no.className=Ti;import{Fragment as bl,jsx as Ya}from"react/jsx-runtime";var Qa="k-input-loading-icon",fl=[r.disabled,r.loading],Q=e=>{let{disabled:t,loading:o}=e;return t||!o?Ya(bl,{}):Ya("span",{className:n(e.className,Qa,"k-icon k-i-loading")})};Q.states=fl;Q.className=Qa;import{Fragment as vl,jsx as Za}from"react/jsx-runtime";var ja="k-input-validation-icon",xl=[r.valid,r.invalid,r.disabled,r.loading],hl={},q=e=>{let{valid:t,invalid:o,disabled:i,loading:a}=e,s=o?"warning-circle":"check-circle";return i||a||!!!(t||o)?Za(vl,{}):Za(C,{className:n(ja),icon:s})};q.states=xl;q.options=hl;q.className=ja;import{Fragment as Cl,jsx as er}from"react/jsx-runtime";var Nl="k-input-prefix",Ll={direction:"horizontal"},Te=e=>{let{direction:t=Ll.direction,...o}=e;return e.children?er("span",{...o,className:n(Nl,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):er(Cl,{})};import{Fragment as gl,jsx as tr}from"react/jsx-runtime";var Tl="k-input-suffix",Il={direction:"horizontal"},Ie=e=>{let{direction:t=Il.direction,...o}=e;return e.children?tr("span",{...o,className:n(Tl,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):tr(gl,{})};import{jsx as qb}from"react/jsx-runtime";import{jsx as yl}from"react/jsx-runtime";var Sl="k-input-suffix-text",Ii=e=>{let{children:t,...o}=e;return yl("span",{...o,className:n(Sl,e.className),children:t})};import{jsx as El}from"react/jsx-runtime";var or="k-input-separator",Al={direction:"vertical"},ae=e=>{let{direction:t=Al.direction,...o}=e;return El("span",{...o,className:n(or,e.className,{[`${or}-${t}`]:t})})};import{Fragment as ir,jsx as _e,jsxs as gi}from"react/jsx-runtime";var kl=D.states,Ml=D.defaultOptions,Rl=D.options,Ol=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],wl=[],ft=e=>{let{modifiers:t,valid:o,invalid:i,loading:a,disabled:s,readonly:l,...p}=e,u=t?.prefix,m=t?.suffix,f=t?.["clear-button"],v=t?.["validation-icon"],T=t?.separators;return gi(D,{...p,valid:o,invalid:i,loading:a,disabled:s,readonly:l,style:{width:300},children:[u&&gi(ir,{children:[_e(Te,{children:_e(C,{icon:"lock"})}),T&&_e(ae,{})]}),_e(ie,{placeholder:"Placeholder",value:"Value"}),v&&_e(q,{valid:o,invalid:i,loading:a,disabled:s}),_e(Q,{loading:a,disabled:s}),f&&_e(oe,{loading:a,disabled:s,readonly:l,value:"Value"}),m&&gi(ir,{children:[T&&_e(ae,{}),_e(Ie,{children:_e(rt,{size:p.size,fillMode:"clear",children:"Send"})})]})]})};ft.options=Rl;ft.states=kl;ft.variants=wl;ft.defaultOptions=Ml;ft.modifiers=Ol;ft.className=D.className;var Si="popup",ar=Si;import{jsx as rr}from"react/jsx-runtime";var nr="k-animation-container",Pl=[],Kl={},yi={positionMode:"absolute",shown:!0},He=e=>{let{positionMode:t=yi.positionMode,shown:o=yi.shown,animationStyle:i,offset:a,...s}=e;return rr("div",{...s,style:{...a,...e.style},className:n(e.className,nr,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:rr("div",{className:"k-child-animation-container",style:i,children:e.children})})};He.states=Pl;He.options=Kl;He.className=nr;He.defaultOptions=yi;He.moduleName=Si;He.folderName=ar;var Ai="popup",sr=Ai;import{jsx as lr}from"react/jsx-runtime";var dr="k-popup",Dl=[],_l={},pr={positionMode:"absolute"},qe=e=>{let{offset:t,positionMode:o=pr.positionMode,animationStyle:i,containerClassName:a,containerRole:s,containerAriaLabel:l,...p}=e;return lr(He,{positionMode:o,offset:t,animationStyle:i,className:a,role:s,"aria-label":l,children:lr("div",{...p,className:n(e.className,dr),children:e.children})})};qe.states=Dl;qe.options=_l;qe.className=dr;qe.defaultOptions=pr;qe.moduleName=Ai;qe.folderName=sr;import{jsx as zl}from"react/jsx-runtime";var Hl="k-actionsheet-footer",mr={alignment:"stretched",orientation:"horizontal"},bt=e=>{let{alignment:t=mr.alignment,orientation:o=mr.orientation,template:i,as:a=i?"div":De,...s}=e;return zl(a,{...s,...!i&&{alignment:t,orientation:o},className:n(e.className,Hl),children:e.children})};var Ei="searchbox",cr=Ei;import{jsx as so,jsxs as Gl}from"react/jsx-runtime";var ur="k-searchbox",Bl=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading],Fl={size:[d.undefined,d.small,d.medium,d.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Ro={showIcon:!0,showClearButton:!0,icon:"search"},ge=e=>{let{value:t,placeholder:o,size:i,rounded:a,fillMode:s,hover:l,focus:p,valid:u,invalid:m,required:f,loading:v,disabled:T,showIcon:y=Ro.showIcon,showClearButton:R=Ro.showClearButton,icon:O=Ro.icon,"aria-label":S,...k}=e;return Gl(D,{...k,size:i,rounded:a,fillMode:s,hover:l,focus:p,valid:u,invalid:m,required:f,loading:v,disabled:T,className:n(e.className,ur),children:[y&&so(C,{className:"k-input-icon",icon:O}),so(ie,{placeholder:o,value:t,"aria-label":S}),so(Q,{...e}),so(q,{...e}),R&&so(oe,{...e})]})};ge.states=Bl;ge.options=Fl;ge.className=ur;ge.defaultOptions=Ro;ge.moduleName=Ei;ge.folderName=cr;import{jsx as sh}from"react/jsx-runtime";var ki="textbox",fr=ki;import{Fragment as br,jsx as Ye,jsxs as Mi}from"react/jsx-runtime";var xr="k-textbox",Ul=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],$l={size:[d.undefined,d.small,d.medium,d.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Oo={showClearButton:!0,showValidationIcon:!0,separators:!0},_=e=>{let{size:t,rounded:o,fillMode:i,separators:a=Oo.separators,showClearButton:s=Oo.showClearButton,showValidationIcon:l=Oo.showValidationIcon,prefix:p,suffix:u,type:m,value:f,placeholder:v,hover:T,focus:y,valid:R,invalid:O,required:S,loading:k,disabled:B,readonly:$,id:X,"aria-label":fe,"aria-describedby":Fe,...at}=e;return Mi(D,{...at,size:t,rounded:o,fillMode:i,hover:T,focus:y,valid:R,invalid:O,required:S,loading:k,disabled:B,readonly:$,className:n(e.className,xr),children:[p&&Mi(br,{children:[Ye(Te,{children:p}),a&&Ye(ae,{})]}),Ye(ie,{id:X,placeholder:v,value:f,type:m,disabled:B,"aria-label":fe,"aria-describedby":Fe,"aria-invalid":O?"true":void 0}),l&&Ye(q,{valid:R,invalid:O,loading:k,disabled:B}),Ye(Q,{loading:k,disabled:B}),s&&Ye(oe,{loading:k,disabled:B,readonly:$,value:f}),u&&Mi(br,{children:[a&&Ye(ae,{}),Ye(Ie,{children:u})]})]})};_.states=Ul;_.options=$l;_.className=xr;_.defaultOptions=Oo;_.moduleName=ki;_.folderName=fr;var lo=_;import{jsx as Vl}from"react/jsx-runtime";var hr=e=>Vl(lo,{...e});import{Fragment as Sh,jsx as gh}from"react/jsx-runtime";import{Fragment as Rh,jsx as Mh}from"react/jsx-runtime";import{jsx as Kh}from"react/jsx-runtime";import{jsx as Ri}from"react/jsx-runtime";var Xl=_.states,Wl=_.defaultOptions,Jl=_.options,ql=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Yl=[],xt=e=>{let{modifiers:t,...o}=e,i={};return Object.keys(t||{}).forEach(a=>{switch(a){case"prefix":i.prefix=t?.[a]?Ri(C,{icon:"lock"}):void 0;break;case"suffix":i.suffix=t?.[a]?Ri(rt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":i.showClearButton=t?.[a];break;default:break}}),Ri(hr,{value:"Value",style:{width:300},...o,...i})};xt.options=Jl;xt.states=Xl;xt.variants=Yl;xt.defaultOptions=Wl;xt.modifiers=ql;xt.className=_.className;import{jsx as Qe,jsxs as Oi}from"react/jsx-runtime";var vr="k-actionsheet-titlebar",Ql={},Re=e=>{let{title:t,subtitle:o,actionsStart:i,actionsEnd:a,filter:s,input:l,inputValue:p,inputPlaceholder:u,adaptive:m,titleId:f,children:v,...T}=e;return Oi("div",{...T,className:n(e.className,vr),children:[Oi("div",{className:"k-actionsheet-titlebar-group",children:[i&&Qe("div",{className:"k-actionsheet-actions",children:i}),!v&&Oi("div",{className:"k-actionsheet-title",id:f,children:[t&&Qe("div",{className:"k-text-center",children:t}),o&&Qe("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),v&&Qe("div",{className:"k-actionsheet-title",id:f,children:v}),a&&Qe("div",{className:"k-actionsheet-actions",children:a})]}),(l||s)&&Qe("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:l?Qe(_,{value:p,placeholder:u,size:m?"large":"medium","aria-label":t||u||"Input"}):Qe(ge,{placeholder:"Filter",size:m?"large":"medium","aria-label":"Filter options"})})]})};Re.className=vr;Re.defaultOptions=Ql;import{jsx as wi,jsxs as td}from"react/jsx-runtime";var Pi="k-actionsheet-view",Zl=[],jl={},ed={},ht=e=>{let{adaptive:t,animated:o,children:i,header:a,footer:s,titleId:l,...p}=e,u=a?.type===Re&&wi(Re,{adaptive:t,titleId:l,...a?.props}),m=s?.type===bt&&wi(bt,{...s?.props});return td("div",{...p,className:n(e.className,Pi,{[`${Pi}-animated`]:o}),children:[u,wi("div",{className:"k-actionsheet-content",children:i}),m]})};ht.states=Zl;ht.options=jl;ht.className=Pi;ht.defaultOptions=ed;var po="action-sheet",wo=po;var Ki="overlay",Nr=Ki;import{jsx as rd}from"react/jsx-runtime";var Lr="k-overlay",od=[],id={},ad={},Ze=e=>{let{...t}=e;return rd("div",{...t,className:n(e.className,Lr),children:e.children})};Ze.states=od;Ze.options=id;Ze.className=Lr;Ze.defaultOptions=ad;Ze.moduleName=Ki;Ze.folderName=Nr;import{jsx as Po,jsxs as ld}from"react/jsx-runtime";var Cr="k-actionsheet",nd=[],sd={},mo={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Z=e=>{let{side:t=mo.side,fullscreen:o=mo.fullscreen,adaptive:i=mo.adaptive,overlay:a=mo.overlay,template:s,children:l,header:p,footer:u,id:m,...f}=e,v=m&&!s&&p?`${m}-title`:void 0;return ld("div",{className:"k-actionsheet-container",children:[a&&Po(Ze,{}),Po(He,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:Po("div",{...f,id:m,role:"dialog","aria-modal":a?"true":void 0,"aria-labelledby":v,className:n(e.className,Cr,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":i}),children:s||Po(ht,{header:p,footer:u,adaptive:i,titleId:v,...e,children:l})})})]})};Z.states=nd;Z.options=sd;Z.className=Cr;Z.defaultOptions=mo;Z.moduleName=po;Z.folderName=wo;import{jsx as cd}from"react/jsx-runtime";var Tr="k-actionsheet-container",dd=[],pd={},md={},vt=e=>{let{children:t,...o}=e;return cd("div",{...o,className:Tr,children:t})};vt.states=dd;vt.options=pd;vt.className=Tr;vt.defaultOptions=md;vt.moduleName=po;vt.folderName=wo;import{jsx as ud}from"react/jsx-runtime";var Di=e=>{let{...t}=e;return ud("div",{...t,className:n(e.className,"k-list-ul"),children:e.children})};import{Fragment as bd,jsx as co,jsxs as _i}from"react/jsx-runtime";var Hi="k-actionsheet-item",fd=[r.hover,r.focus,r.selected,r.disabled],je=e=>{let{iconName:t,text:o,description:i,hover:a,focus:s,selected:l,disabled:p,...u}=e;return _i("span",{...u,className:n(e.className,Hi,E(Hi,{hover:a,focus:s,selected:l,disabled:p})),children:[!e.children&&co(bd,{children:_i("span",{className:"k-actionsheet-action",children:[t&&co("span",{className:"k-icon-wrap",children:co(C,{className:"k-actionsheet-item-icon",icon:t})}),_i("span",{className:"k-actionsheet-item-text",children:[o&&co("span",{className:"k-actionsheet-item-title",children:o}),i&&co("span",{className:"k-actionsheet-item-description",children:i})]})]})}),e.children]})};je.states=fd;je.className=Hi;import{jsx as Pv,jsxs as Kv}from"react/jsx-runtime";import{jsx as zv}from"react/jsx-runtime";import{jsx as Uv}from"react/jsx-runtime";import{jsx as Wv}from"react/jsx-runtime";import{jsx as Y,jsxs as zi}from"react/jsx-runtime";var xd=Z.options,hd=Z.states,gr={...Z.defaultOptions,variant:"normal"},vd=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Nd=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Nt=e=>{let{variant:t,modifiers:o,...i}={...gr,...e},a={},s=zi(Di,{children:[Y(je,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),Y(je,{text:"Add to Favorites",iconName:"heart"}),Y(je,{text:"Upload New",iconName:"upload",disabled:!0}),Y("hr",{className:"k-hr"}),Y(je,{text:"Cancel",iconName:"cancel"})]}),l="Choose from the items below",p="Select Item";return t==="fullScreen"&&(a.fullScreen=!0),Object.keys(o||{}).forEach(u=>{switch(u){case"actions":a.actionsStart=!!o?.[u],a.actionsEnd=!!o?.[u];break;case"subtitle":a.subtitle=o?.[u]?l:void 0;break;case"footer":a.footer=!!o?.[u];break;default:break}}),t==="adaptive"?Y(Z,{...i,adaptive:!0,fullscreen:a.fullScreen,header:Y(Re,{actionsStart:a.actionsStart?Y(g,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:a.actionsEnd?Y(g,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:p,subtitle:a.subtitle}),footer:a.footer?zi(bt,{alignment:"stretched",children:[Y(g,{text:"Cancel",size:"large",themeColor:"base"}),Y(g,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):Y(Z,{...i,fullscreen:a.fullScreen,header:Y(Re,{actionsStart:a.actionsStart?Y(g,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:a.actionsEnd?Y(g,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:a.subtitle}),footer:a.footer?zi(bt,{alignment:"stretched",children:[Y(g,{text:"Apply",themeColor:"primary"}),Y(g,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};Nt.options=xd;Nt.states=hd;Nt.variants=vd;Nt.defaultOptions=gr;Nt.modifiers=Nd;Nt.className=Z.className;import Gi from"react";import{jsx as Sr}from"react/jsx-runtime";var Ld="k-list-group-sticky-header",Bi=e=>Sr("div",{className:n(Ld,e.className),children:Sr("div",{className:"k-list-header-text",children:e.children})});import{jsx as Td}from"react/jsx-runtime";var Cd="k-no-data",Fi=e=>{let{live:t,...o}=e;return Td("span",{...o,className:n(Cd,e.className),"aria-live":t?"polite":void 0,children:e.children})};var st="list",Lt=st;import{jsx as yr,jsxs as Ar}from"react/jsx-runtime";var Ui="k-list",Id=[],gd={size:[d.undefined,d.small,d.medium,d.large]},Sd={},G=e=>{let{size:t,virtualization:o,children:i,header:a,selectAll:s,optionLabel:l,customValue:p,noData:u,screenReaders:m,...f}=e,T=Gi.Children.toArray(i)[0],y=T?.props?.children?Gi.Children.count(T.props.children):Gi.Children.count(i);return Ar("div",{...f,className:n(e.className,Ui,A(Ui,{size:t}),{"k-virtual-list":o}),children:[l,s,p,a&&yr(Bi,{children:a}),i||(u!==void 0?u:yr(Fi,{live:!0,children:"No data found."})),m&&i&&Ar(Fi,{className:"k-sr-only",live:!0,children:[y," items found."]})]})};G.states=Id;G.options=gd;G.className=Ui;G.defaultOptions=Sd;G.moduleName=st;G.folderName=Lt;import{jsx as kd}from"react/jsx-runtime";var Er="k-list-container",yd=[],Ad={},Ed={},Ct=e=>{let{...t}=e;return kd("div",{...t,className:n(e.className,Er),children:e.children})};Ct.states=yd;Ct.options=Ad;Ct.className=Er;Ct.defaultOptions=Ed;Ct.moduleName=st;Ct.folderName=Lt;var lt="checkbox",Tt=lt;import{jsx as kr}from"react/jsx-runtime";var Ko="k-checkbox",Md=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked,r.indeterminate],Rd={size:[d.undefined,d.small,d.medium,d.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full]},Od={},j=e=>{let{id:t,checked:o,indeterminate:i,hover:a,focus:s,disabled:l,invalid:p,valid:u,required:m,size:f,rounded:v,wrapperRole:T,...y}=e;return kr("span",{className:"k-checkbox-wrap",role:T,children:kr("input",{...y,id:t,type:"checkbox",defaultChecked:o,required:m,disabled:l||void 0,"aria-invalid":p?"true":void 0,className:n(e.className,Ko,A(Ko,{size:f,rounded:v}),E(Ko,{hover:a,focus:s,disabled:l,invalid:p,valid:u,indeterminate:i,checked:o}))})})};j.states=Md;j.options=Rd;j.className=Ko;j.defaultOptions=Od;j.moduleName=lt;j.folderName=Tt;var Oe=j;import{jsx as Kd}from"react/jsx-runtime";var Mr="k-checkbox-list",wd=[],Pd={},Rr={layout:"vertical"},re=e=>{let{layout:t=Rr.layout,...o}=e;return Kd("ul",{...o,className:n(e.className,Mr,{[`k-list-${t}`]:t}),children:e.children})};re.states=wd;re.options=Pd;re.className=Mr;re.defaultOptions=Rr;re.moduleName=lt;re.folderName=Tt;import{jsx as zd}from"react/jsx-runtime";var Or="k-checkbox-list-item",Dd=[],_d={},Hd={},ne=e=>{let{...t}=e;return zd("li",{...t,className:n(e.className,Or),children:e.children})};ne.states=Dd;ne.options=_d;ne.className=Or;ne.defaultOptions=Hd;ne.moduleName=lt;ne.folderName=Tt;import{Fragment as Bd,jsx as wr,jsxs as Fd}from"react/jsx-runtime";var Ue=({children:e="Label",id:t="cb-label-after",...o})=>Fd(Bd,{children:[wr(Oe,{id:t,...o}),wr("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as oL,jsx as tL,jsxs as iL}from"react/jsx-runtime";import{Fragment as lL,jsx as sL,jsxs as dL}from"react/jsx-runtime";import{Fragment as fL,jsx as uL,jsxs as bL}from"react/jsx-runtime";import{jsx as NL}from"react/jsx-runtime";import{jsx as IL}from"react/jsx-runtime";import{jsx as AL}from"react/jsx-runtime";import{jsx as Se,jsxs as Pr}from"react/jsx-runtime";var Gd=re.options,Ud=re.states,$d={...re.defaultOptions,variant:"vertical"},Vd=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Xd=[],It=e=>{let{variant:t,...o}=e;return t==="horizontal"?Pr(re,{layout:"horizontal",...o,children:[Se(ne,{children:Se(Ue,{id:I("cb"),defaultChecked:!0,children:"Label"})}),Se(ne,{children:Se(Ue,{id:I("cb"),children:"Label"})}),Se(ne,{children:Se(Ue,{id:I("cb"),children:"Label"})})]}):Pr(re,{...o,children:[Se(ne,{children:Se(Ue,{id:I("cb"),defaultChecked:!0,children:"Label"})}),Se(ne,{children:Se(Ue,{id:I("cb"),children:"Label"})}),Se(ne,{children:Se(Ue,{id:I("cb"),children:"Label"})})]})};It.options=Gd;It.states=Ud;It.variants=Vd;It.defaultOptions=$d;It.modifiers=Xd;It.className=re.className;import{jsx as Zd}from"react/jsx-runtime";var Wd=Oe.options,Jd=Oe.states,qd=Oe.defaultOptions,Yd=[],Qd=[],gt=e=>Zd(Ue,{id:I("checkbox"),...e,defaultChecked:!0,children:"Label"});gt.options=Wd;gt.states=Jd;gt.variants=Yd;gt.defaultOptions=qd;gt.modifiers=Qd;gt.className=Oe.className;import{jsx as St,jsxs as op}from"react/jsx-runtime";var $i="k-list-item",jd=[r.hover,r.focus,r.selected,r.disabled],ep={},tp={},H=e=>{let{text:t,iconName:o,iconClassName:i,showCheckbox:a,checked:s,hover:l,focus:p,selected:u,disabled:m,actions:f,description:v,id:T,...y}=e,R=t||e.children,O=t||(typeof R=="string"?R:void 0);return op("li",{...y,id:T,role:"option",tabIndex:p?0:-1,"aria-selected":u?"true":"false","aria-disabled":m?"true":void 0,className:n(e.className,$i,E($i,{hover:l,focus:p,disabled:m,selected:u})),children:[a&&St(j,{checked:s,disabled:m,"aria-label":O,tabIndex:-1}),o&&St("span",{className:"k-list-item-icon-wrapper",children:St(C,{icon:o,className:n("k-list-item-icon",i)})}),St("span",{className:"k-list-item-text",children:R}),f&&St("div",{className:"k-list-item-actions",children:f}),v&&St("span",{className:"k-list-item-description",children:v})]})};H.states=jd;H.options=ep;H.className=$i;H.defaultOptions=tp;H.moduleName=st;H.folderName=Lt;import{jsx as ap}from"react/jsx-runtime";var ip="k-list-ul",yt=e=>{let{children:t,role:o,id:i,...a}=e;return ap("ul",{...a,id:i,role:o,className:n(ip,e.className),children:t})};import{jsx as Vi,jsxs as np}from"react/jsx-runtime";var rp="k-list-content",se=e=>{let{virtualization:t,grouping:o,"aria-label":i,"aria-labelledby":a,listboxId:s,...l}=e;return np("div",{...l,className:n(rp,e.className),role:o?"listbox":void 0,id:o?s:void 0,"aria-label":o?i:void 0,"aria-labelledby":o?a:void 0,children:[o?e.children:Vi(yt,{role:"listbox",id:s,"aria-label":i,"aria-labelledby":a,children:e.children}),t&&Vi("div",{className:"k-height-container",children:Vi("div",{})})]})};import{jsx as Xi,jsxs as pp}from"react/jsx-runtime";var Do="k-list-sticky-header",sp=[r.hover,r.focus,r.selected],lp={},dp={},_o=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:i,indeterminate:a,hover:s,focus:l,selected:p,...u}=e;return Xi("div",{...u,className:n(Do,e.className),children:pp("div",{className:n(`${Do}-item`,E(`${Do}-item`,{hover:s,focus:l,selected:p})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":p?"true":"false"},children:[o&&Xi(j,{checked:i,indeterminate:a,"aria-label":t}),Xi("span",{className:"k-list-item-text",children:t})]})})};_o.states=sp;_o.options=lp;_o.className=Do;_o.defaultOptions=dp;import{Fragment as CC,jsx as LC,jsxs as TC}from"react/jsx-runtime";import{jsx as AC,jsxs as EC}from"react/jsx-runtime";import{jsx as fp}from"react/jsx-runtime";var Wi="k-list-optionlabel",mp=[r.hover,r.focus,r.selected,r.disabled],cp={},up={},Ho=e=>{let{text:t,hover:o,focus:i,selected:a,disabled:s,...l}=e;return fp("div",{...l,className:n(Wi,E(Wi,{hover:o,focus:i,selected:a,disabled:s})),children:t})};Ho.states=mp;Ho.options=cp;Ho.className=Wi;Ho.defaultOptions=up;import{jsx as vp}from"react/jsx-runtime";var Ji="k-list-custom-value",bp=[r.hover,r.focus,r.selected,r.disabled],xp={},hp={},zo=e=>{let{text:t,hover:o,focus:i,selected:a,disabled:s,...l}=e;return vp("div",{...l,className:n(Ji,E(Ji,{hover:o,focus:i,selected:a,disabled:s})),children:t})};zo.states=bp;zo.options=xp;zo.className=Ji;zo.defaultOptions=hp;import{Fragment as BC,jsx as zC,jsxs as FC}from"react/jsx-runtime";import{Fragment as WC,jsx as XC,jsxs as JC}from"react/jsx-runtime";import{Fragment as tT,jsx as jC,jsxs as eT}from"react/jsx-runtime";import{Fragment as lT,jsx as nT,jsxs as sT}from"react/jsx-runtime";import{jsx as cT}from"react/jsx-runtime";import{Fragment as vT,jsx as hT,jsxs as NT}from"react/jsx-runtime";import{Fragment as ST,jsx as gT,jsxs as yT}from"react/jsx-runtime";var Kr="dropdown-list",Dr="dropdownlist";import{Fragment as Cp,jsx as le,jsxs as Yi}from"react/jsx-runtime";var _r="k-dropdownlist",Np=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Lp={size:[d.undefined,d.small,d.medium,d.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Qi={showValue:!0,arrowIconName:"chevron-down"},w=e=>{let{size:t,rounded:o,fillMode:i,arrowIconName:a=Qi.arrowIconName,showValue:s=Qi.showValue,valueIconName:l,prefix:p,suffix:u,value:m,placeholder:f,hover:v,focus:T,valid:y,invalid:R,required:O,loading:S,disabled:k,readonly:B,popup:$,opened:X,adaptive:fe,adaptiveSettings:Fe,adaptiveTitle:at,adaptiveSubtitle:$n,adaptiveFilter:Vn,id:Zt,activeDescendant:ga,"aria-label":Xn,...Wn}=e,Jn=Zt?`${Zt}-listbox`:void 0,Sa=Zt?`${Zt}-value`:void 0;return Yi(Cp,{children:[Yi(Je,{...Wn,id:Zt,size:t,rounded:o,fillMode:i,hover:v,focus:T,valid:y,invalid:R,required:O,loading:S,disabled:k,readonly:B,className:n(e.className,_r,{"k-icon-picker":!s&&l}),role:"combobox","aria-haspopup":"listbox","aria-expanded":X?"true":"false","aria-controls":X?Jn:void 0,"aria-activedescendant":X&&ga?ga:void 0,"aria-describedby":X?Sa:void 0,"aria-disabled":k?"true":void 0,"aria-label":Xn,tabIndex:0,children:[le(Te,{children:p}),le(ro,{placeholder:f,value:m,showValue:s,valueIconName:l,id:Sa}),le(q,{valid:y,invalid:R,loading:S,disabled:k}),le(Q,{loading:S,disabled:k}),le(Ie,{children:u}),le(g,{className:"k-input-button",icon:a,size:e.size,fillMode:e.fillMode,"aria-label":f||"Toggle dropdown",tabIndex:-1})]}),X&&$&&le(qe,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:$}),fe&&le(Z,{adaptive:!0,...Fe,header:le(Re,{actionsEnd:le(g,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:Vn,inputValue:m,inputPlaceholder:f,title:at,subtitle:$n}),children:le("div",{className:"k-list-container",children:le(G,{size:"large",children:Yi(se,{"aria-label":"Options",children:[le(H,{text:"List item"}),le(H,{text:"List item"}),le(H,{text:"List item"})]})})})})]})};w.states=Np;w.options=Lp;w.className=_r;w.defaultOptions=Qi;w.moduleName=Kr;w.folderName=Dr;import{Fragment as zr,jsx as we,jsxs as Fo}from"react/jsx-runtime";var Hr="k-calculated-field",Tp=[],Ip={},gp=Fo(zr,{children:[we(C,{icon:"sum"}),we(w,{value:"SUM"}),we("span",{className:"k-spacer"}),we(C,{icon:"eye"}),we(w,{value:"Default"})]}),Bo={headerContent:we("div",{className:"k-calculated-field-header-text",children:"Date.Calendar"}),headerActions:we(g,{fillMode:"flat",icon:"x"}),fieldActions:gp},Go=e=>{let{headerContent:t=Bo.headerContent,headerActions:o=Bo.headerActions,fieldActions:i=Bo.fieldActions,children:a,...s}=e;return Fo("div",{...s,className:n(e.className,Hr),children:[Fo("div",{className:"k-calculated-field-header",children:[t,o&&Fo(zr,{children:[we("span",{className:"k-spacer"}),we("div",{className:"k-calculated-field-header-actions",children:o})]})]}),a&&we("div",{className:"k-calculated-field-content",children:a}),we("div",{className:"k-calculated-field-actions",children:i})]})};Go.states=Tp;Go.options=Ip;Go.className=Hr;Go.defaultOptions=Bo;import{jsx as L,jsxs as z}from"react/jsx-runtime";var At=e=>{let t=I("pivotgrid-empty"),o=I("ch"),i=I("ch"),a=I("ch"),s=I("ch"),l=I("ch"),p=I("ch"),u=I("ch"),m=[];for(let f=0;f<6;f++){m[f]=[];for(let v=0;v<3;v++)m[f][v]=I("dc")}return L(be,{style:{gridTemplateRows:"111px 1fr",gridTemplateColumns:"369px 1fr"},emptyCell:L("div",{className:"k-pivotgrid-empty-cell",role:"none",children:L("table",{role:"none",children:L("thead",{role:"none",children:L("tr",{role:"none",children:L("th",{id:t,children:L("span",{className:"k-sr-only",children:"PivotGrid component. Use the arrow keys to navigate."})})})})})}),columnHeaders:z(pe,{role:"none",children:[z("colgroup",{children:[L("col",{width:"200"}),L("col",{width:"200"}),L("col",{width:"200"})]}),z(Le,{role:"rowgroup",children:[z(M,{role:"row","aria-owns":`${t} ${o} ${i}`,children:[L(b,{as:"th",colSpan:2,toggle:"up",headerTitle:"Categories",headerRootCell:!0,role:"columnheader","aria-expanded":"true",id:o}),L(b,{as:"th",colSpan:1,rowSpan:2,headerTitle:"Categories",headerRootCell:!0,headerTotalCell:!0,role:"columnheader",id:i})]}),z(M,{role:"row",children:[L(b,{as:"th",colSpan:1,headerTitle:"Seafood",role:"columnheader",id:a}),L(b,{as:"th",colSpan:1,headerTitle:"Beverages",role:"columnheader",id:s})]}),z(M,{role:"row",children:[L(b,{as:"th",colSpan:1,toggle:"down",headerTitle:"Products",headerRootCell:!0,role:"columnheader","aria-expanded":"false",id:l}),L(b,{as:"th",colSpan:1,toggle:"down",headerTitle:"Products",headerRootCell:!0,role:"columnheader","aria-expanded":"false",id:p}),L(b,{as:"th",colSpan:1,headerTitle:"Products",headerRootCell:!0,headerTotalCell:!0,role:"columnheader",id:u})]})]})]}),rowHeaders:z(pe,{role:"none",children:[z("colgroup",{children:[L("col",{}),L("col",{}),L("col",{})]}),z(Le,{role:"rowgroup",children:[z(M,{role:"row","aria-owns":`${m[0][0]} ${m[0][1]} ${m[0][2]}`,children:[L(b,{as:"th",colSpan:1,rowSpan:5,toggle:"up",headerTitle:"Regions",headerRootCell:!0,role:"rowheader","aria-expanded":"true"}),L(b,{as:"th",colSpan:1,headerTitle:"South America",role:"rowheader"}),L(b,{as:"th",colSpan:1,rowSpan:1,toggle:"down",headerTitle:"Countries",headerRootCell:!0,role:"rowheader","aria-expanded":"false"})]}),z(M,{role:"row","aria-owns":`${m[1][0]} ${m[1][1]} ${m[1][2]}`,children:[L(b,{as:"th",colSpan:1,headerTitle:"North America",role:"rowheader"}),L(b,{as:"th",colSpan:1,rowSpan:1,toggle:"down",headerTitle:"Countries",headerRootCell:!0,role:"rowheader","aria-expanded":"false"})]}),z(M,{role:"row","aria-owns":`${m[2][0]} ${m[2][1]} ${m[2][2]}`,children:[L(b,{as:"th",colSpan:1,headerTitle:"Europe",role:"rowheader"}),L(b,{as:"th",colSpan:1,rowSpan:1,toggle:"down",headerTitle:"Countries",headerRootCell:!0,role:"rowheader","aria-expanded":"false"})]}),z(M,{role:"row","aria-owns":`${m[3][0]} ${m[3][1]} ${m[3][2]}`,children:[L(b,{as:"th",colSpan:1,headerTitle:"Asia",role:"rowheader"}),L(b,{as:"th",colSpan:1,rowSpan:1,toggle:"down",headerTitle:"Countries",headerRootCell:!0,role:"rowheader","aria-expanded":"false"})]}),z(M,{role:"row","aria-owns":`${m[4][0]} ${m[4][1]} ${m[4][2]}`,children:[L(b,{as:"th",colSpan:1,headerTitle:"Africa",role:"rowheader"}),L(b,{as:"th",colSpan:1,rowSpan:1,toggle:"down",headerTitle:"Countries",headerRootCell:!0,role:"rowheader","aria-expanded":"false"})]}),z(M,{role:"row","aria-owns":`${m[5][0]} ${m[5][1]} ${m[5][2]}`,children:[L(b,{as:"th",colSpan:2,headerTitle:"Regions",headerRootCell:!0,headerTotalCell:!0,role:"rowheader"}),L(b,{as:"th",colSpan:1,rowSpan:1,headerTitle:"Countries",headerRootCell:!0,headerTotalCell:!0,role:"rowheader"})]})]})]}),children:z(pe,{role:"none",children:[z("colgroup",{children:[L("col",{width:"200"}),L("col",{width:"200"}),L("col",{width:"200"})]}),z(Le,{role:"none",children:[z(M,{role:"none",children:[L(b,{as:"td",role:"gridcell",colSpan:1,content:"1847.00",id:m[0][0],"aria-describedby":`${a} ${o} ${l}`}),L(b,{as:"td",role:"gridcell",colSpan:1,content:"1488.00",id:m[0][1],"aria-describedby":`${s} ${o} ${p}`}),L(b,{as:"td",role:"gridcell",colSpan:1,content:"3335.00",totalCell:!0,id:m[0][2],"aria-describedby":`${i} ${u}`})]}),z(M,{role:"none",children:[L(b,{as:"td",role:"gridcell",colSpan:1,content:"1998.00",id:m[1][0],"aria-describedby":`${a} ${o} ${l}`}),L(b,{as:"td",role:"gridcell",colSpan:1,content:"1406.00",id:m[1][1],"aria-describedby":`${s} ${o} ${p}`}),L(b,{as:"td",role:"gridcell",colSpan:1,content:"3404.00",totalCell:!0,id:m[1][2],"aria-describedby":`${i} ${u}`})]}),z(M,{role:"none",children:[L(b,{as:"td",role:"gridcell",colSpan:1,content:"2065.00",id:m[2][0],"aria-describedby":`${a} ${o} ${l}`}),L(b,{as:"td",role:"gridcell",colSpan:1,content:"1242.00",id:m[2][1],"aria-describedby":`${s} ${o} ${p}`}),L(b,{as:"td",role:"gridcell",colSpan:1,content:"3307.00",totalCell:!0,id:m[2][2],"aria-describedby":`${i} ${u}`})]}),z(M,{role:"none",children:[L(b,{as:"td",role:"gridcell",colSpan:1,content:"1830.00",id:m[3][0],"aria-describedby":`${a} ${o} ${l}`}),L(b,{as:"td",role:"gridcell",colSpan:1,content:"1579.00",id:m[3][1],"aria-describedby":`${s} ${o} ${p}`}),L(b,{as:"td",role:"gridcell",colSpan:1,content:"3409.00",totalCell:!0,id:m[3][2],"aria-describedby":`${i} ${u}`})]}),z(M,{role:"none",children:[L(b,{as:"td",role:"gridcell",colSpan:1,content:"2005.00",id:m[4][0],"aria-describedby":`${a} ${o} ${l}`}),L(b,{as:"td",role:"gridcell",colSpan:1,content:"1441.00",id:m[4][1],"aria-describedby":`${s} ${o} ${p}`}),L(b,{as:"td",role:"gridcell",colSpan:1,content:"3446.00",totalCell:!0,id:m[4][2],"aria-describedby":`${i} ${u}`})]}),z(M,{role:"none",children:[L(b,{as:"td",role:"gridcell",colSpan:1,content:"9745.00",totalCell:!0,id:m[5][0],"aria-describedby":`${a} ${o} ${l}`}),L(b,{as:"td",role:"gridcell",colSpan:1,content:"7156.00",totalCell:!0,id:m[5][1],"aria-describedby":`${s} ${o} ${p}`}),L(b,{as:"td",role:"gridcell",colSpan:1,content:"16901.00",totalCell:!0,id:m[5][2],"aria-describedby":`${i} ${u}`})]})]})]}),...e})};import{jsx as Uo}from"react/jsx-runtime";var Sp="k-chip-action";var J=e=>{let{type:t,...o}=e,i;switch(t){case"remove":i=Uo(C,{icon:"x-circle",size:"small"});break;case"more":i=Uo(C,{icon:"more-vertical",size:"small"});break;default:return Uo(C,{icon:t,size:"small"})}return Uo("span",{...o,className:n(e.className,Sp,`k-chip-${t}-action`),children:i})};var Zi="avatar",Br=Zi;import{jsx as Fr}from"react/jsx-runtime";var uo="k-avatar";var yp=[r.hover,r.focus,r.active,r.selected,r.disabled],Ap={size:[d.undefined,d.small,d.medium,d.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[x.undefined,x.solid,x.outline],themeColor:[N.undefined,N.base,N.primary,N.secondary,N.tertiary]},ji={type:"text",border:!1},me=e=>{let{size:t,rounded:o,fillMode:i,themeColor:a,type:s=ji.type,border:l=ji.border,...p}=e;return Fr("div",{...p,className:n(e.className,uo,A(uo,{size:t,rounded:o,fillMode:i,themeColor:a}),{[`${uo}-bordered`]:l}),children:Fr("span",{className:`${uo}-${s}`,children:e.children})})};me.states=yp;me.options=Ap;me.className=uo;me.defaultOptions=ji;me.moduleName=Zi;me.folderName=Br;var dt=me;import{jsx as Ep}from"react/jsx-runtime";var Gr=e=>Ep(dt,{type:"icon",...e});import{jsx as kp}from"react/jsx-runtime";var Ur=e=>kp(dt,{type:"text",...e});import{jsx as Mp}from"react/jsx-runtime";var $r=e=>Mp(dt,{type:"image",...e});import{jsx as PI}from"react/jsx-runtime";import{jsx as fo}from"react/jsx-runtime";var Rp=me.options,Op=me.states,wp={...me.defaultOptions,variant:"image"},Pp=[{name:"image",title:"Image"},{name:"icon",title:"Icon Avatar"},{name:"text",title:"Text Avatar"}],Kp=[],Et=e=>{let{variant:t,...o}=e;switch(t){case"icon":return fo(Gr,{...o,children:fo(C,{icon:"star"})});case"text":return fo(Ur,{...o,children:"JO"});default:return fo($r,{...o,children:fo("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})}};Et.options=Rp;Et.states=Op;Et.variants=Pp;Et.defaultOptions=wp;Et.modifiers=Kp;Et.className=me.className;var bo="chip",$o=bo,Vo="https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg";import{jsx as kt,jsxs as Hp}from"react/jsx-runtime";var Xo="k-chip",Dp=[r.hover,r.focus,r.active,r.selected,r.disabled],_p={size:[d.undefined,d.small,d.medium,d.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[x.undefined,x.solid,x.outline],themeColor:[N.undefined,N.base,N.success,N.warning,N.error,N.info]},Vr={avatarImage:"/packages/html/assets/avatar.jpg"},W=e=>{let{size:t,rounded:o,fillMode:i,themeColor:a,text:s,icon:l,actions:p,showAvatar:u,avatarImage:m=Vr.avatarImage,hover:f,focus:v,active:T,selected:y,disabled:R,...O}=e;return Hp("div",{...O,className:n(e.className,Xo,A(Xo,{size:t,rounded:o,fillMode:i,themeColor:a}),E(Xo,{hover:f,focus:v,active:T,disabled:R,selected:y})),role:e.role||"button","aria-pressed":e.role==="option"?void 0:y?"true":"false",...e.role==="option"&&y!==void 0&&{"aria-selected":y?"true":"false"},"aria-disabled":R?"true":void 0,children:[l&&kt(C,{className:"k-chip-icon",icon:l,size:"small"}),u&&kt(me,{className:"k-chip-avatar",type:"image",children:kt("img",{src:m,alt:""})}),kt("span",{className:"k-chip-content",children:e.children?e.children:s&&kt("span",{className:"k-chip-label",children:s})}),p&&kt("span",{className:"k-chip-actions",children:p})]})};W.states=Dp;W.options=_p;W.className=Xo;W.defaultOptions=Vr;W.moduleName=bo;W.folderName=$o;var ye=W;import{jsx as Gp}from"react/jsx-runtime";var ea="k-chip-list",zp=[],Bp={size:[d.undefined,d.small,d.medium,d.large]},Fp={},V=e=>{let{size:t,multiselectable:o,ariaLabel:i,...a}=e;return Gp("div",{...a,className:n(e.className,ea,A(ea,{size:t})),role:e.role||"listbox","aria-label":e.role==="none"?void 0:i||"chip list","aria-orientation":e.role==="none"?void 0:"horizontal","aria-multiselectable":o?"true":void 0,children:e.children})};V.states=zp;V.options=Bp;V.className=ea;V.defaultOptions=Fp;V.moduleName=bo;V.folderName=$o;import{jsx as pg}from"react/jsx-runtime";import{jsx as fg}from"react/jsx-runtime";import{jsx as Up}from"react/jsx-runtime";var Wo=e=>Up(ye,{text:"text",...e});import{jsx as Tg}from"react/jsx-runtime";import{jsx as yg}from"react/jsx-runtime";import{Fragment as Og,jsx as Rg,jsxs as wg}from"react/jsx-runtime";import{jsx as Hg,jsxs as zg}from"react/jsx-runtime";import{jsx as $g,jsxs as Vg}from"react/jsx-runtime";import{jsx as Qg,jsxs as Zg}from"react/jsx-runtime";import{jsx as Mt,jsxs as qp}from"react/jsx-runtime";var $p={...ye.options,...V.options},Vp=[],Xp=V.states,Wp={...ye.defaultOptions,...V.defaultOptions},Jp=[{name:"icon",title:"Icon",type:"boolean"},{name:"actions",title:"Actions",type:"boolean"},{name:"avatar",title:"Avatar",type:"boolean"}],Rt=e=>{let{modifiers:t,className:o,...i}=e,a=t?.icon,s=t?.actions,l=t?.avatar,p=l?Vo:void 0;return qp(V,{size:i.size,className:o,children:[Mt(Wo,{...i,role:"option","aria-selected":"false","aria-pressed":void 0,icon:a?"star":void 0,actions:s?Mt(J,{type:"remove"}):void 0,showAvatar:l,avatarImage:p,children:"Chip"}),Mt(Wo,{...i,role:"option","aria-selected":"false","aria-pressed":void 0,icon:a?"star":void 0,actions:s?Mt(J,{type:"remove"}):void 0,showAvatar:l,avatarImage:p,children:"Chip"}),Mt(Wo,{...i,role:"option","aria-selected":"false","aria-pressed":void 0,icon:a?"star":void 0,actions:s?Mt(J,{type:"remove"}):void 0,showAvatar:l,avatarImage:p,children:"Chip"})]})};Rt.options=$p;Rt.states=Xp;Rt.variants=Vp;Rt.defaultOptions=Wp;Rt.modifiers=Jp;Rt.className=V.className;import{jsx as ta}from"react/jsx-runtime";var Yp=W.states,Qp=W.defaultOptions,Zp=W.options,jp=[],em=[{name:"icon",title:"Icon"},{name:"avatar",title:"Avatar"},{name:"remove-icon",title:"`Remove` Icon"},{name:"more-options",title:"`More options` Icon"}],Ot=e=>{let{modifiers:t,...o}=e,i={};return Object.keys(t||{}).forEach(a=>{switch(a){case"icon":i.icon=t?.[a]?"arrow-down":void 0;break;case"avatar":i.showAvatar=!!t?.[a],i.avatarImage=t?.[a]?Vo:void 0;break;case"more-options":i.actions||(i.actions=[]),i.actions[0]=t?.[a]?ta(J,{type:"more"}):void 0;break;case"remove-icon":i.actions||(i.actions=[]),i.actions[1]=t?.[a]?ta(J,{type:"remove"}):void 0;break;default:break}}),ta(W,{...o,...i,children:"Chip component"})};Ot.options=Zp;Ot.states=Yp;Ot.variants=jp;Ot.defaultOptions=Qp;Ot.modifiers=em;Ot.className=W.className;var Xr="form",Wr="forms";import{Fragment as Jr,jsx as Jo,jsxs as im}from"react/jsx-runtime";var qo="k-form",tm=[],om={size:[d.undefined,d.small,d.medium,d.large]},oa={layout:"basic",tag:"form"},U=e=>{let{size:t,orientation:o,layout:i=oa.layout,formButtons:a,cols:s,gutters:l,tag:p=oa.tag,children:u,style:m}=e,f=p,v=n(e.className,qo,A(qo,{size:t}),{[`${qo}-${o}`]:o}),T=im(Jr,{children:[i==="grid"?Jo("div",{className:n("k-form-layout","k-d-grid",{[`k-grid-cols-${s}`]:s}),style:{...typeof l=="string"&&{gap:l},...typeof l=="object"&&l.rows&&{rowGap:l.rows},...typeof l=="object"&&l.cols&&{columnGap:l.cols},...m},children:u}):Jo(Jr,{children:u}),a&&Jo("div",{className:"k-form-buttons",children:a})]}),{role:y,"aria-labelledby":R,"aria-label":O,id:S}=e;return Jo(f,{className:v,role:y,"aria-labelledby":R,"aria-label":O,id:S,children:T})};U.states=tm;U.options=om;U.className=qo;U.defaultOptions=oa;U.moduleName=Xr;U.folderName=Wr;var qr="label",Yr="label";import{jsx as Qr,jsxs as sm}from"react/jsx-runtime";var ia="k-label",am=[r.disabled],rm={},nm={},et=e=>{let{disabled:t,optional:o,info:i,text:a,children:s,...l}=e;return sm("label",{...l,className:n(e.className,ia,E(ia,{disabled:t})),children:[a||s,o&&Qr("span",{className:"k-label-optional",children:"(Optional)"}),i&&Qr("span",{className:"k-field-info",children:i})]})};et.states=am;et.options=rm;et.className=ia;et.defaultOptions=nm;et.moduleName=qr;et.folderName=Yr;import{jsx as mm}from"react/jsx-runtime";var Zr="k-form-hint",lm=[],dm={},pm={},Ae=e=>{let{text:t,children:o,...i}=e;return mm("div",{...i,className:n(e.className,Zr),children:t||o})};Ae.states=lm;Ae.options=dm;Ae.className=Zr;Ae.defaultOptions=pm;import{jsx as bm}from"react/jsx-runtime";var jr="k-form-error",cm=[],um={},fm={},Ee=e=>{let{text:t,children:o,...i}=e;return bm("div",{...i,className:n(e.className,jr),children:t||o})};Ee.states=cm;Ee.options=um;Ee.className=jr;Ee.defaultOptions=fm;import{jsx as Yo,jsxs as en}from"react/jsx-runtime";var aa="k-form-field",xm=[r.disabled],ze=e=>{let{editorId:t,label:o,orientation:i,optional:a,editor:s,hint:l,error:p,info:u,disabled:m,dir:f,colSpan:v,...T}=e;return en("div",{...T,className:n(aa,e.className,E(aa,{disabled:m}),{[`k-col-span-${v}`]:v}),dir:f,children:[o&&Yo(et,{className:"k-form-label",id:t?`${t}-label`:void 0,htmlFor:t||void 0,optional:a,info:u?"(field info)":void 0,children:o}),i==="horizontal"&&!o&&Yo("span",{className:"k-label k-form-label k-label-empty"}),en("div",{className:"k-form-field-wrap",children:[s,l&&Yo(Ae,{id:t?`${t}-hint`:void 0,children:l}),p&&Yo(Ee,{id:t?`${t}-error`:void 0,children:p})]})]})};ze.states=xm;ze.className=aa;import{Fragment as hm,jsx as ra,jsxs as vm}from"react/jsx-runtime";var tn="k-form-fieldset",wt=e=>{let{legend:t,layout:o,cols:i,gutters:a,colSpan:s}=e;return vm("fieldset",{className:n(tn,{[`k-col-span-${s}`]:s}),children:[t&&ra("legend",{className:"k-form-legend",children:t}),o==="grid"?ra("div",{className:n("k-form-layout","k-d-grid",{[`k-grid-cols-${i}`]:i}),style:{...typeof a=="string"&&{gap:a},...typeof a=="object"&&a.rows&&{rowGap:a.rows},...typeof a=="object"&&a.cols&&{columnGap:a.cols}},children:e.children}):ra(hm,{children:e.children})]})};wt.className=tn;import{jsx as ay}from"react/jsx-runtime";import{jsx as py,jsxs as my}from"react/jsx-runtime";import{Fragment as Ly,jsx as vy,jsxs as Ny}from"react/jsx-runtime";import{jsx as Sy}from"react/jsx-runtime";import{jsx as Ry,jsxs as Oy}from"react/jsx-runtime";import{Fragment as Fy,jsx as zy,jsxs as By}from"react/jsx-runtime";import{jsx as Xy}from"react/jsx-runtime";import{Fragment as gm,jsx as tt,jsxs as on}from"react/jsx-runtime";var Nm=w.states,Lm=w.defaultOptions,Cm=w.options,Tm=[{name:"opened",title:"Opened"}],Im=[],Kt=e=>{let{modifiers:t,...o}=e,i={},a=on(gm,{children:[tt("div",{className:"k-list-filter",children:tt(ge,{})}),tt(G,{style:{width:300},size:o.size,children:on(se,{children:[tt(H,{children:"List item"}),tt(H,{children:"List item"}),tt(H,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(s=>{s==="opened"&&(i.opened=!!t?.[s],i.popup=t?.[s]?a:void 0)}),tt("div",{children:tt(w,{placeholder:"Value",style:{width:300},...o,...i})})};Kt.options=Cm;Kt.states=Nm;Kt.variants=Im;Kt.defaultOptions=Lm;Kt.modifiers=Tm;Kt.className=w.className;var pt="radio",Dt=pt;import{jsx as an}from"react/jsx-runtime";var Qo="k-radio",Sm=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked],ym={size:[d.undefined,d.small,d.medium,d.large]},Am={},xe=e=>{let{id:t,checked:o,hover:i,focus:a,disabled:s,invalid:l,valid:p,required:u,size:m,...f}=e;return an("span",{className:"k-radio-wrap",children:an("input",{...f,id:t,type:"radio",checked:o,required:u,disabled:s||void 0,"aria-invalid":l?"true":void 0,className:n(e.className,Qo,A(Qo,{size:m}),E(Qo,{hover:i,focus:a,disabled:s,invalid:l,valid:p,checked:o}))})})};xe.states=Sm;xe.options=ym;xe.className=Qo;xe.defaultOptions=Am;xe.moduleName=pt;xe.folderName=Dt;var ke=xe;import{jsx as Mm}from"react/jsx-runtime";var rn="k-radio-list",Em=[],km={},nn={layout:"vertical"},ee=e=>{let{layout:t=nn.layout,...o}=e;return Mm("ul",{...o,className:n(e.className,rn,{[`k-list-${t}`]:t}),role:"radiogroup",children:e.children})};ee.states=Em;ee.options=km;ee.className=rn;ee.defaultOptions=nn;ee.moduleName=pt;ee.folderName=Dt;import{jsx as Pm}from"react/jsx-runtime";var sn="k-radio-list-item",Rm=[],Om={},wm={},te=e=>{let{...t}=e;return Pm("li",{...t,className:n(e.className,sn),role:"none",children:e.children})};te.states=Rm;te.options=Om;te.className=sn;te.defaultOptions=wm;te.moduleName=pt;te.folderName=Dt;import{jsx as SA}from"react/jsx-runtime";import{Fragment as Km,jsx as ln,jsxs as Dm}from"react/jsx-runtime";var $e=({children:e,id:t,...o})=>Dm(Km,{children:[ln(ke,{...o,id:t}),ln("label",{className:"k-radio-label",htmlFor:t,children:e})]});import{Fragment as wA,jsx as OA,jsxs as PA}from"react/jsx-runtime";import{Fragment as BA,jsx as HA,jsxs as zA}from"react/jsx-runtime";import{Fragment as VA,jsx as $A,jsxs as XA}from"react/jsx-runtime";import{Fragment as QA,jsx as YA,jsxs as ZA}from"react/jsx-runtime";import{Fragment as rE,jsx as aE,jsxs as nE}from"react/jsx-runtime";import{jsx as pE}from"react/jsx-runtime";import{jsx as Um}from"react/jsx-runtime";var Hm=ke.options,zm=ke.states,Bm=ke.defaultOptions,Fm=[],Gm=[],_t=e=>Um($e,{id:I("radio"),name:"value",...e,children:"Label"});_t.options=Hm;_t.states=zm;_t.variants=Fm;_t.defaultOptions=Bm;_t.modifiers=Gm;_t.className=ke.className;import{jsx as Me,jsxs as dn}from"react/jsx-runtime";var $m=ee.options,Vm=ee.states,Xm={...ee.defaultOptions,variant:"vertical"},Wm=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Jm=[],Ht=e=>{let{variant:t,...o}=e;return t==="horizontal"?dn(ee,{layout:"horizontal",...o,children:[Me(te,{children:Me($e,{id:I("rb"),name:"value",defaultChecked:!0,children:"Label"})}),Me(te,{children:Me($e,{id:I("rb"),name:"value",children:"Label"})}),Me(te,{children:Me($e,{id:I("rb"),name:"value",children:"Label"})})]}):dn(ee,{...o,children:[Me(te,{children:Me($e,{id:I("rb"),name:"value",defaultChecked:!0,children:"Label"})}),Me(te,{children:Me($e,{id:I("rb"),name:"value",children:"Label"})}),Me(te,{children:Me($e,{id:I("rb"),name:"value",children:"Label"})})]})};Ht.options=$m;Ht.states=Vm;Ht.variants=Wm;Ht.defaultOptions=Xm;Ht.modifiers=Jm;Ht.className=ee.className;import{Fragment as XE,jsx as VE,jsxs as WE}from"react/jsx-runtime";import{Fragment as ok,jsx as tk,jsxs as ik}from"react/jsx-runtime";import{Fragment as pk,jsx as dk,jsxs as mk}from"react/jsx-runtime";import{jsx as pn,jsxs as jm}from"react/jsx-runtime";var mn="k-spin-button",Qm=[],Zm={size:[d.undefined,d.small,d.medium,d.large],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link]},na={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Be=e=>{let{size:t,fillMode:o,disabled:i,increaseLabel:a=na.increaseLabel,decreaseLabel:s=na.decreaseLabel,...l}=e;return jm("span",{...l,className:n(mn,e.className),children:[pn(g,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:i,"aria-label":a}),pn(g,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:i,"aria-label":s})]})};Be.states=Qm;Be.options=Zm;Be.className=mn;Be.defaultOptions=na;Be.moduleName=null;Be.folderName=null;var cn="date-input",un="dateinput";import{jsx as xo,jsxs as ic}from"react/jsx-runtime";var fn="k-dateinput",ec=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],tc={size:[d.undefined,d.small,d.medium,d.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},oc={},he=e=>{let{size:t,rounded:o,fillMode:i,value:a,placeholder:s,hover:l,focus:p,valid:u,invalid:m,required:f,loading:v,disabled:T,readonly:y,showClearButton:R,showSpinButton:O,id:S,"aria-label":k,"aria-describedby":B,...$}=e;return ic(D,{...$,size:t,rounded:o,fillMode:i,hover:l,focus:p,valid:u,invalid:m,required:f,loading:v,disabled:T,readonly:y,className:n(e.className,fn),children:[xo(ie,{id:S,placeholder:s,value:a,disabled:T,"aria-label":k,"aria-describedby":B,"aria-invalid":m?"true":void 0}),xo(q,{valid:u,invalid:m,loading:v,disabled:T}),xo(Q,{loading:v,disabled:T}),R&&xo(oe,{loading:v,disabled:T,readonly:y,value:a}),O&&xo(Be,{className:"k-input-spinner",size:t,fillMode:i,disabled:T})]})};he.states=ec;he.options=tc;he.className=fn;he.defaultOptions=oc;he.moduleName=cn;he.folderName=un;var sa=he;import{jsx as ac}from"react/jsx-runtime";var bn=e=>ac(sa,{...e});import{jsx as wk}from"react/jsx-runtime";import{jsx as pc}from"react/jsx-runtime";var rc=he.options,nc=he.states,sc=he.defaultOptions,lc=[{name:"spin-button",title:"`Spin` Button"}],dc=[],zt=e=>{let{modifiers:t,...o}=e,i={};return Object.keys(t||{}).forEach(a=>{a==="spin-button"&&(i.showSpinButton=!!t?.[a])}),pc(bn,{value:"2/04/2021",style:{width:"300px"},...o,...i})};zt.options=rc;zt.states=nc;zt.variants=dc;zt.defaultOptions=sc;zt.modifiers=lc;zt.className=he.className;var xn="masked-textbox",hn="maskedtextbox";import{Fragment as vn,jsx as ot,jsxs as la}from"react/jsx-runtime";var Nn="k-maskedtextbox",mc=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],cc={size:[d.undefined,d.small,d.medium,d.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},da={showClearButton:!0,separators:!0},ve=e=>{let{size:t,rounded:o,fillMode:i,separators:a=da.separators,showClearButton:s=da.showClearButton,prefix:l,suffix:p,value:u,placeholder:m,hover:f,focus:v,valid:T,invalid:y,required:R,loading:O,disabled:S,readonly:k,id:B,"aria-label":$,"aria-describedby":X,...fe}=e;return la(D,{...fe,size:t,rounded:o,fillMode:i,hover:f,focus:v,valid:T,invalid:y,required:R,loading:O,disabled:S,readonly:k,className:n(e.className,Nn),children:[l&&la(vn,{children:[ot(Te,{children:l}),a&&ot(ae,{})]}),ot(ie,{id:B,placeholder:m,value:u,disabled:S,"aria-label":$,"aria-describedby":X,"aria-invalid":y?"true":void 0}),ot(q,{valid:T,invalid:y,loading:O,disabled:S}),ot(Q,{loading:O,disabled:S}),s&&ot(oe,{loading:O,disabled:S,readonly:k,value:u}),p&&la(vn,{children:[a&&ot(ae,{}),ot(Ie,{children:p})]})]})};ve.states=mc;ve.options=cc;ve.className=Nn;ve.defaultOptions=da;ve.moduleName=xn;ve.folderName=hn;var Bt=ve;import{jsx as uc}from"react/jsx-runtime";var Ln=e=>uc(Bt,{...e});import{Fragment as aM,jsx as iM}from"react/jsx-runtime";import{Fragment as pM,jsx as dM}from"react/jsx-runtime";import{jsx as fM}from"react/jsx-runtime";import{jsx as vM}from"react/jsx-runtime";import{jsx as pa}from"react/jsx-runtime";var fc=ve.states,bc=ve.defaultOptions,xc=ve.options,hc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],vc=[],Ft=e=>{let{modifiers:t,...o}=e,i={};return Object.keys(t||{}).forEach(a=>{switch(a){case"prefix":i.prefix=t?.[a]?pa(w,{size:o.size,value:"Choose",fillMode:"flat"}):void 0;break;case"suffix":i.suffix=t?.[a]?pa(C,{icon:"lock"}):void 0;break;case"clear-button":i.showClearButton=t?.[a];break;default:break}}),pa(Ln,{value:"Value",style:{width:300},...o,...i})};Ft.options=xc;Ft.states=fc;Ft.variants=vc;Ft.defaultOptions=bc;Ft.modifiers=hc;Ft.className=ve.className;var Cn="numeric-textbox",Tn="numerictextbox";import{Fragment as In,jsx as Ve,jsxs as ma}from"react/jsx-runtime";var gn="k-numerictextbox",Nc=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],Lc={size:[d.undefined,d.small,d.medium,d.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Zo={showSpinButton:!0,showClearButton:!0,separators:!0},Ne=e=>{let{size:t,rounded:o,fillMode:i,separators:a=Zo.separators,showClearButton:s=Zo.showClearButton,showSpinButton:l=Zo.showSpinButton,prefix:p,suffix:u,value:m,placeholder:f,hover:v,focus:T,valid:y,invalid:R,required:O,loading:S,disabled:k,readonly:B,id:$,"aria-label":X,"aria-describedby":fe,...Fe}=e;return ma(D,{...Fe,size:t,rounded:o,fillMode:i,hover:v,focus:T,valid:y,invalid:R,required:O,loading:S,disabled:k,readonly:B,className:n(e.className,gn),children:[p&&ma(In,{children:[Ve(Te,{children:p}),a&&Ve(ae,{})]}),Ve(ie,{id:$,placeholder:f,value:m,role:"spinbutton",disabled:k,"aria-label":X,"aria-describedby":fe,"aria-invalid":R?"true":void 0}),Ve(q,{valid:y,invalid:R,loading:S,disabled:k}),Ve(Q,{loading:S,disabled:k}),s&&Ve(oe,{loading:S,disabled:k,readonly:B,value:m}),u&&ma(In,{children:[a&&Ve(ae,{}),Ve(Ie,{children:u})]}),l&&Ve(Be,{className:"k-input-spinner",size:t,fillMode:i,disabled:k})]})};Ne.states=Nc;Ne.options=Lc;Ne.className=gn;Ne.defaultOptions=Zo;Ne.moduleName=Cn;Ne.folderName=Tn;var ho=Ne;import{jsx as Cc}from"react/jsx-runtime";var Sn=e=>Cc(ho,{...e});import{Fragment as qM,jsx as JM}from"react/jsx-runtime";import{Fragment as tR,jsx as eR}from"react/jsx-runtime";import{jsx as rR}from"react/jsx-runtime";import{jsx as ca}from"react/jsx-runtime";var Tc=Ne.states,Ic=Ne.defaultOptions,gc=Ne.options,Sc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],yc=[],Gt=e=>{let{modifiers:t,...o}=e,i={};return Object.keys(t||{}).forEach(a=>{switch(a){case"prefix":i.prefix=t?.[a]?ca(w,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":i.suffix=t?.[a]?ca(Ii,{children:"mm"}):void 0;break;case"clear-button":i.showClearButton=t?.[a];break;case"spin-button":i.showSpinButton=t?.[a];break;default:break}}),ca(Sn,{value:"Value",style:{width:300},...o,...i})};Gt.options=gc;Gt.states=Tc;Gt.variants=yc;Gt.defaultOptions=Ic;Gt.modifiers=Sc;Gt.className=Ne.className;var ua="switch",yn=ua;import{jsx as jo,jsxs as An}from"react/jsx-runtime";var it="k-switch",Ac=[r.hover,r.focus,r.disabled,r.readonly,r.checked],Ec={size:[d.undefined,d.small,d.medium,d.large],trackRounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],thumbRounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full]},kc={},ce=e=>{let{checked:t,onLabel:o,offLabel:i,size:a,trackRounded:s,thumbRounded:l,hover:p,focus:u,disabled:m,readonly:f,...v}=e;return An("span",{...v,className:n(e.className,it,A(it,{size:a}),E(it,{hover:p,focus:u,disabled:m,readonly:f}),{[`${it}-on`]:t,[`${it}-off`]:!t}),role:"switch","aria-checked":t?"true":"false",tabIndex:m?void 0:0,"aria-disabled":m?"true":void 0,"aria-readonly":f?"true":void 0,children:[An("span",{className:n("k-switch-track",A(it,{rounded:s})),children:[o&&jo("span",{className:"k-switch-label-on",children:o}),i&&jo("span",{className:"k-switch-label-off",children:i})]}),jo("span",{className:"k-switch-thumb-wrap",children:jo("span",{className:n("k-switch-thumb",A(it,{rounded:l}))})})]})};ce.states=Ac;ce.options=Ec;ce.className=it;ce.defaultOptions=kc;ce.moduleName=ua;ce.folderName=yn;import{jsx as ER}from"react/jsx-runtime";import{jsx as OR}from"react/jsx-runtime";import{jsx as DR}from"react/jsx-runtime";import{jsx as BR}from"react/jsx-runtime";import{jsx as En}from"react/jsx-runtime";var Mc=ce.options,Rc=ce.states,Oc={...ce.defaultOptions,variant:"on"},wc=[{name:"on",title:"On"},{name:"off",title:"Off"}],Pc=[],Ut=e=>{let{variant:t,...o}=e;return t==="off"?En(ce,{checked:!1,onLabel:"On",offLabel:"Off",...o}):En(ce,{checked:!0,onLabel:"On",offLabel:"Off",...o})};Ut.options=Mc;Ut.states=Rc;Ut.variants=wc;Ut.defaultOptions=Oc;Ut.modifiers=Pc;Ut.className=ce.className;var ba="textarea",kn=ba;import{Fragment as Mn,jsx as vo,jsxs as xa}from"react/jsx-runtime";var Rn="k-textarea",Kc=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled],Dc={size:[d.undefined,d.small,d.medium,d.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},$t={flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},ue=e=>{let{size:t,rounded:o,fillMode:i,prefixSeparator:a=$t.prefixSeparator,suffixSeparator:s=$t.prefixSeparator,affixesOrientation:l=$t.affixesOrientation,flow:p=$t.flow,resize:u=$t.resize,prefix:m,suffix:f,rows:v,value:T,placeholder:y,hover:R,focus:O,valid:S,invalid:k,required:B,disabled:$,id:X,"aria-label":fe,"aria-describedby":Fe,...at}=e;return xa(D,{...at,size:t,rounded:o,fillMode:i,hover:R,focus:O,valid:S,invalid:k,required:B,disabled:$,className:n(e.className,Rn,{"!k-flex-col":p==="vertical","!k-flex-row":p==="horizontal"}),children:[m&&xa(Mn,{children:[vo(Te,{className:n({"!k-align-items-start":p===l}),direction:l,children:m}),a&&vo(ae,{direction:p==="horizontal"?"vertical":"horizontal"})]}),vo(no,{className:n("!k-overflow-auto",{"!k-flex-none":p==="vertical","k-resize-x":u==="x","k-resize-y":u==="y","k-resize":u==="both","k-resize-none":u==="none"}),value:T,placeholder:y,rows:v,disabled:$,id:X,"aria-label":fe,"aria-describedby":Fe,"aria-invalid":k?"true":void 0}),f&&xa(Mn,{children:[s&&vo(ae,{direction:p==="horizontal"?"vertical":"horizontal"}),vo(Ie,{className:n({"!k-align-items-start":p===l}),direction:l,children:f})]})]})};ue.states=Kc;ue.options=Dc;ue.className=Rn;ue.defaultOptions=$t;ue.moduleName=ba;ue.folderName=kn;import{jsx as sO}from"react/jsx-runtime";import{Fragment as uO,jsx as cO}from"react/jsx-runtime";import{Fragment as NO,jsx as vO}from"react/jsx-runtime";import{jsx as IO}from"react/jsx-runtime";import{jsx as ei}from"react/jsx-runtime";var _c=ue.options,Hc=ue.states,On={...ue.defaultOptions,variant:"vertical"},zc=[{name:"vertical",title:"Flow vertical"},{name:"horizontal",title:"Flow horizontal"}],Bc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"}],Vt=e=>{let{variant:t,modifiers:o,...i}={...On,...e},a={resize:"y"};return Object.keys(o||{}).forEach(s=>{switch(s){case"prefix":a.prefix=o?.[s]?ei(C,{icon:"comment"}):void 0;break;case"suffix":a.suffix=o?.[s]?ei(C,{icon:"volume-up"}):void 0;break;default:break}}),t==="horizontal"?ei(ue,{flow:"horizontal",placeholder:"Enter text...",style:{width:300},...i,...a}):ei(ue,{flow:"vertical",placeholder:"Enter text...",style:{width:300},...i,...a})};Vt.options=_c;Vt.states=Hc;Vt.variants=zc;Vt.defaultOptions=On;Vt.modifiers=Bc;Vt.className=ue.className;import{Fragment as WO,jsx as XO,jsxs as JO}from"react/jsx-runtime";import{Fragment as Xc,jsx as de,jsxs as Xt}from"react/jsx-runtime";var Fc=U.options,Gc=U.states,Uc={...U.defaultOptions,variant:"vertical"},$c=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Vc=[],Wt=e=>{let{variant:t,size:o,...i}=e,a=Xt(wt,{legend:"Form Legend",children:[de(ze,{label:"Label",editor:de(_,{size:o})}),de(ze,{label:"Label",hint:"Hint text",editor:de(w,{value:"Dropdown List",size:o})}),de(ze,{label:"City",editor:Xt("ul",{className:"k-radio-list k-list-horizontal",children:[Xt("li",{className:"k-radio-list-item",children:[de(xe,{checked:!0,size:o}),de("label",{className:"k-radio-label",children:"Label"})]}),Xt("li",{className:"k-radio-list-item",children:[de(xe,{size:o}),de("label",{className:"k-radio-label",children:"Label"})]}),Xt("li",{className:"k-radio-list-item",children:[de(xe,{size:o}),de("label",{className:"k-radio-label",children:"Label"})]})]})})]}),s=Xt(Xc,{children:[de(g,{className:"k-form-submit",themeColor:"primary",size:o,children:"Submit"}),de(g,{className:"k-form-clear",size:o,children:"Clear"})]});return t==="horizontal"?de(U,{orientation:"horizontal",size:o,...i,formButtons:s,children:a}):de(U,{size:o,...i,formButtons:s,children:a})};Wt.options=Fc;Wt.states=Gc;Wt.variants=$c;Wt.defaultOptions=Uc;Wt.modifiers=Vc;Wt.className=U.className;import{jsx as wn,jsxs as Qc}from"react/jsx-runtime";var Wc=Ae.options,Jc=Ae.states,Pn={...Ae.defaultOptions},qc=[],Yc=[{name:"showHint",title:"Show Hint"}],Jt=e=>{let{modifiers:t,...o}={...Pn,...e},i=t?.showHint??!0;return Qc("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[wn(_,{placeholder:"Component",style:{width:"200px"}}),i&&wn(Ae,{...o,children:"Hint text"})]})};Jt.options=Wc;Jt.states=Jc;Jt.variants=qc;Jt.defaultOptions=Pn;Jt.modifiers=Yc;Jt.className=Ae.className;import{jsx as Kn,jsxs as ou}from"react/jsx-runtime";var Zc=Ee.options,jc=Ee.states,Dn={...Ee.defaultOptions},eu=[],tu=[{name:"showError",title:"Show Error"}],qt=e=>{let{modifiers:t,...o}={...Dn,...e},i=t?.showError??!0;return ou("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[Kn(_,{placeholder:"Component",invalid:i,style:{width:"200px"}}),i&&Kn(Ee,{...o,children:"Error text"})]})};qt.options=Zc;qt.states=jc;qt.variants=eu;qt.defaultOptions=Dn;qt.modifiers=tu;qt.className=Ee.className;import Na from"react";import va from"react";import{jsx as au}from"react/jsx-runtime";var iu="k-treeview-group",Xe=e=>{let{children:t,dir:o,level:i=1,role:a="group",...s}=e;return au("ul",{...s,className:n(e.className,iu),role:a,children:va.Children.map(t,(l,p)=>va.isValidElement(l)?va.cloneElement(l,{dir:o,level:i,key:p}):l)})};var No="treeview",ti=No;import{jsx as _n}from"react/jsx-runtime";var La="k-treeview",ru=[],nu={size:[d.undefined,d.small,d.medium,d.large]},su={},F=e=>{let{size:t,children:o,dir:i,...a}=e;return _n("div",{...a,dir:i,className:n(e.className,La,A(La,{size:t})),children:_n(Xe,{className:"k-treeview-lines",role:"tree",dir:i,children:Na.Children.map(o,(s,l)=>Na.isValidElement(s)?Na.cloneElement(s,{dir:i,key:l}):s)})})};F.states=ru;F.options=nu;F.className=La;F.defaultOptions=su;F.moduleName=No;F.folderName=ti;import Ta from"react";import{jsx as Hn,jsxs as pu}from"react/jsx-runtime";var Ca="k-treeview-leaf",lu=[r.hover,r.focus,r.selected],du={},oi=e=>{let{text:t,showIcon:o,icon:i,hover:a,focus:s,selected:l,...p}=e;return pu("span",{...p,className:n(e.className,Ca,E(Ca,{hover:a,focus:s,selected:l})),children:[o&&Hn(C,{icon:i}),Hn("span",{className:"k-treeview-leaf-text",children:t})]})};oi.states=lu;oi.options=du;oi.className=Ca;var zn=oi;import{jsx as Lo,jsxs as Bn}from"react/jsx-runtime";var Fn="k-treeview-item",mu=[r.hover,r.focus,r.selected,r.disabled],cu={},uu={},P=e=>{let{leafClassName:t,children:o,hasChildren:i,expanded:a,loading:s,text:l,showIcon:p,icon:u,showCheckbox:m,checked:f,hover:v,focus:T,selected:y,disabled:R,dir:O,level:S=1,ariaSelected:k,...B}=e,$=i||o||s;return Bn("li",{...B,className:n(e.className,Fn),style:{"--kendo-treeview-level":S},role:"treeitem","aria-expanded":$?a?"true":"false":void 0,"aria-checked":m?f?"true":"false":void 0,"aria-selected":k?"true":void 0,"aria-disabled":R?"true":void 0,children:[Bn("span",{className:n("k-treeview-item-content",E("k-treeview-item-content",{hover:v,focus:T,selected:y,disabled:R})),children:[$&&Lo("span",{className:n("k-treeview-toggle",E("k-treeview-toggle",{disabled:R})),children:s?Lo("span",{className:"k-icon k-i-loading"}):Lo(C,{icon:a?"chevron-down":O==="rtl"?"chevron-left":"chevron-right"})}),m&&Lo(j,{checked:f,disabled:R,"aria-label":l,tabIndex:-1}),Lo(zn,{className:t,text:l,showIcon:p,icon:u})]}),a&&$&&Ta.Children.map(o,(X,fe)=>Ta.isValidElement(X)?Ta.cloneElement(X,{dir:O,level:S+1,key:fe}):X)]})};P.states=mu;P.options=cu;P.className=Fn;P.defaultOptions=uu;P.moduleName=No;P.folderName=ti;import{jsx as eP}from"react/jsx-runtime";import{jsx as aP,jsxs as rP}from"react/jsx-runtime";import{jsx as dP,jsxs as pP}from"react/jsx-runtime";import{jsx as fP,jsxs as bP}from"react/jsx-runtime";import{jsx as NP,jsxs as LP}from"react/jsx-runtime";import{jsx as gP,jsxs as SP}from"react/jsx-runtime";import{jsx as mt,jsxs as Ia}from"react/jsx-runtime";var fu=F.options,bu=F.states,xu=F.defaultOptions,hu=[{name:"checkboxes",title:"Show `Checkbox`",default:!1}],vu=[],Yt=e=>{let{modifiers:t,...o}=e,i={};return Object.keys(t||{}).forEach(a=>{a==="checkboxes"&&(i.showCheckbox=t?.[a])}),Ia(F,{...o,children:[mt(P,{text:"Furniture",expanded:!0,...i,children:Ia(Xe,{children:[mt(P,{text:"Tables & Chairs",...i}),mt(P,{text:"Sofas",...i}),mt(P,{text:"Occasional Furniture",...i})]})}),Ia(P,{text:"Decor",expanded:!1,...i,children:[mt(P,{text:"Bed Linen",...i}),mt(P,{text:"Curtains & Blinds",...i}),mt(P,{text:"Carpets",...i})]})]})};Yt.options=fu;Yt.states=bu;Yt.variants=vu;Yt.defaultOptions=xu;Yt.modifiers=hu;Yt.className=F.className;import{Fragment as jP,jsx as ZP,jsxs as eK}from"react/jsx-runtime";import{Fragment as pK,jsx as dK,jsxs as mK}from"react/jsx-runtime";import{Fragment as We,jsx as h,jsxs as K}from"react/jsx-runtime";var Nu=be.options,Lu=be.states,Gn={...be.defaultOptions,variant:"top"},Cu=[{name:"top",title:"Top"},{name:"right",title:"Right"},{name:"left",title:"Left"},{name:"bottom",title:"Bottom"}],Tu=[{name:"open",title:"Open Settings"}],Qt=e=>{let{variant:t,modifiers:o,...i}={...Gn,...e},a=h(We,{children:K(pe,{children:[K("colgroup",{children:[h("col",{}),h("col",{})]}),K(Le,{children:[K(M,{children:[h(b,{as:"th",colSpan:1,rowSpan:5,toggle:"up",headerTitle:"Regions",headerRootCell:!0}),h(b,{as:"th",colSpan:1,headerTitle:"South America"})]}),h(M,{children:h(b,{as:"th",colSpan:1,headerTitle:"North America"})}),h(M,{children:h(b,{as:"th",colSpan:1,headerTitle:"Europe"})}),h(M,{children:h(b,{as:"th",colSpan:1,headerTitle:"Asia"})}),h(M,{children:h(b,{as:"th",colSpan:1,headerTitle:"Africa"})}),h(M,{children:h(b,{as:"th",colSpan:2,headerTitle:"Regions",headerRootCell:!0,headerTotalCell:!0})})]})]})}),s=h(We,{children:K(pe,{children:[K("colgroup",{children:[h("col",{width:"150"}),h("col",{width:"150"})]}),K(Le,{children:[h(M,{children:h(b,{as:"th",colSpan:2,toggle:"up",headerTitle:"Categories",headerRootCell:!0})}),K(M,{children:[h(b,{as:"th",colSpan:1,headerTitle:"Seafood"}),h(b,{as:"th",colSpan:1,headerTitle:"Beverages"})]}),K(M,{children:[h(b,{as:"th",colSpan:1,toggle:"down",headerTitle:"Products",headerRootCell:!0}),h(b,{as:"th",colSpan:1,toggle:"down",headerTitle:"Products",headerRootCell:!0})]})]})]})}),l=h(We,{children:K(pe,{children:[K("colgroup",{children:[h("col",{width:"150"}),h("col",{width:"150"})]}),K(Le,{children:[K(M,{children:[h(b,{as:"td",colSpan:1,content:"1847.00"}),h(b,{as:"td",colSpan:1,content:"1488.00"})]}),K(M,{children:[h(b,{as:"td",colSpan:1,content:"1998.00"}),h(b,{as:"td",colSpan:1,content:"1406.00"})]}),K(M,{children:[h(b,{as:"td",colSpan:1,content:"2065.00"}),h(b,{as:"td",colSpan:1,content:"1242.00"})]}),K(M,{children:[h(b,{as:"td",colSpan:1,content:"1830.00"}),h(b,{as:"td",colSpan:1,content:"1579.00"})]}),K(M,{children:[h(b,{as:"td",colSpan:1,content:"2005.00"}),h(b,{as:"td",colSpan:1,content:"1441.00"})]}),K(M,{children:[h(b,{as:"td",colSpan:1,content:"9745.00",totalCell:!0}),h(b,{as:"td",colSpan:1,content:"7156.00",totalCell:!0})]})]})]})}),p=h(We,{children:h(Ce,{mode:"overlay",children:K(U,{className:"k-form-horizontal",children:[h("div",{className:"k-form-field",children:h("label",{className:"k-label",children:"Fields"})}),h("div",{className:"k-form-field",children:h("div",{className:"k-fields-list-wrapper",children:K(F,{children:[h(P,{checked:!0,showCheckbox:!0,text:"Category"}),h(P,{checked:!0,showCheckbox:!0,text:"Product"})]})})}),h("div",{className:"k-form-field",children:h("label",{className:"k-label",children:"Columns"})}),K(V,{className:"k-column-fields",children:[h(W,{text:"Category",actions:K(We,{children:[h(J,{type:"more"}),h(J,{type:"remove"})]})}),h(W,{text:"Product",actions:K(We,{children:[h(J,{type:"more"}),h(J,{type:"remove"})]})})]}),h("div",{className:"k-form-field",children:h("label",{className:"k-label",children:"Rows"})}),h(V,{className:"k-row-fields",children:h(W,{text:"Region",actions:K(We,{children:[h(J,{type:"more"}),h(J,{type:"remove"})]})})})]})})}),u=h(We,{});Object.keys(o||{}).forEach(v=>{v==="open"&&(u=o?.[v]?p:h(We,{}))});let m={left:"k-d-flex k-flex-row-reverse k-pos-relative",bottom:"k-d-flex k-flex-col k-pos-relative",top:"k-d-flex k-flex-col-reverse k-pos-relative",right:"k-d-flex k-flex-row k-pos-relative"},f=m[t]||m.right;return K("div",{className:f,children:[h(At,{rowHeaders:a,columnHeaders:s,children:l,style:{gridTemplateRows:"111px 1fr",gridTemplateColumns:"236px 1fr"},...i}),u,h(Ge,{})]})};Qt.options=Nu;Qt.states=Lu;Qt.variants=Cu;Qt.defaultOptions=Gn;Qt.modifiers=Tu;Qt.className=be.className;import{jsx as Un}from"react/jsx-runtime";var GK=e=>Un(At,{configurator:Un(Ce,{}),configuratorDisplay:"closed",...e});export{GK as PivotGridWithConfigurator};
|
|
1
|
+
var n=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?n(...t):typeof t=="object"?Object.keys(t).map((o,i)=>t[i]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var E=(e,t)=>n({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),k=(e,t)=>{let{valid:o,invalid:i,hover:a,focus:s,checked:l,active:p,selected:u,disabled:m,indeterminate:f,loading:v,empty:T,readonly:y,highlighted:O,...M}=t;return n({"k-valid":o,"k-invalid":i,"k-hover":a,"k-focus":s,"k-checked":l,"k-active":p,"k-selected":u,"k-disabled":m,"k-indeterminate":f&&!l,"k-loading":v,"k-empty":T,"k-readonly":y,"k-highlighted":O},Object.keys(M).reduce((S,A)=>(A.startsWith("k-")?S[A]=M[A]:S[`k-${A}`]=M[A],S),{}))};function ya(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(i=>[`k-${i}`,!0]))}var d={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},c={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},x={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},Ke={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},N={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},r={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var ii={};function I(e){return ii[e]=(ii[e]||0)+1,`k-${e}-${ii[e]}`}import{Fragment as Zn,jsx as Aa}from"react/jsx-runtime";var ai="k-font-icon",qn=[],Yn={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[N.undefined,N.base,N.primary,N.secondary,N.tertiary,N.success,N.warning,N.error,N.info]},Qn={},jt=e=>{let{size:t,themeColor:o,icon:i,rotate:a,flip:s,...l}=e;return i?Aa("span",{...l,className:n(e.className,ai,E(ai,{size:t}),{[`k-i-${i}`]:i,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true"}):Aa(Zn,{})};jt.states=qn;jt.options=Yn;jt.className=ai;jt.defaultOptions=Qn;var Ea=jt;import{Fragment as ts,jsx as Co}from"react/jsx-runtime";var ri="k-svg-icon",jn=[],es={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[N.undefined,N.base,N.primary,N.secondary,N.tertiary,N.success,N.warning,N.error,N.info],variant:[Ke.outline,Ke.solid,Ke.duotone]},ni={viewBox:"0 0 24 24",variant:Ke.outline},eo=e=>{let{size:t,themeColor:o,rotate:i,flip:a,viewBox:s=ni.viewBox,variant:l=ni.variant,icon:p,...u}=e;if(!p)return Co(ts,{});if(p==="none")return Co("span",{...u,className:n(e.className,ri,E("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let m=typeof p=="object"&&p.name&&p.name,f=typeof p=="object"?l&&p.variants?.[l]||p.variants?.outline||p.content:void 0;return Co("span",{...u,className:n(e.className,ri,E("k-icon",{size:t}),{[`k-svg-i-${m}`]:m,[`k-color-${o}`]:o,[`k-rotate-${i}`]:i,"k-flip-h":a==="h"||a==="both","k-flip-v":a==="v"||a==="both"}),"aria-hidden":"true",children:Co("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof p=="object"?p.viewBox:s,dangerouslySetInnerHTML:f!==void 0?{__html:f}:void 0,children:p?void 0:e.children})})};eo.states=jn;eo.options=es;eo.className=ri;eo.defaultOptions=ni;var si=eo;import*as li from"@progress/kendo-svg-icons";var ka="icon",Ma="icons";import{useContext as is}from"react";import{createContext as os}from"react";var Ra=os({iconsType:"svg"});import{Fragment as Oa,jsx as to}from"react/jsx-runtime";var To="k-icon",as=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),rs=[],ns={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[N.undefined,N.base,N.primary,N.secondary,N.tertiary,N.success,N.warning,N.error,N.info],variant:[Ke.outline,Ke.solid,Ke.duotone]},Io={viewBox:"0 0 24 24",type:"svg",variant:Ke.outline},C=e=>{let{iconsType:t}=is(Ra),{size:o,themeColor:i,icon:a,type:s=t||Io.type,rotate:l,flip:p,viewBox:u=Io.viewBox,variant:m=Io.variant,...f}=e;if(!a)return to(Oa,{});if((t||s)==="svg"){if(a==="none")return to(si,{...f,className:n(e.className,To),icon:a,size:o,variant:m});let T=li[a]?a:as(`${a}-icon`);return li[T]?to(si,{...f,className:n(e.className,To),icon:li[T],size:o,themeColor:i,rotate:l,flip:p,viewBox:u,variant:m}):to(Oa,{})}return to(Ea,{...f,className:n(e.className,To),icon:a,size:o,themeColor:i,rotate:l,flip:p})};C.states=rs;C.options=ns;C.defaultOptions=Io;C.className=To;C.moduleName=ka;C.folderName=Ma;import{jsx as wa,jsxs as ps}from"react/jsx-runtime";var Pa="k-pivotgrid-configurator-button",ss=[],ls={},ds={},Ge=e=>{let{...t}=e;return wa("div",{...t,className:n(e.className,Pa),"aria-hidden":"true",children:ps("span",{children:["Change settings",wa(C,{icon:"gear"})]})})};Ge.states=ss;Ge.options=ls;Ge.className=Pa;Ge.moduleName=null;Ge.folderName=null;Ge.defaultOptions=ds;var Ka=Ge;import ms from"react";var di="pivotgrid",Da=di;import{jsx as De,jsxs as _a}from"react/jsx-runtime";var Ha="k-pivotgrid",cs=[],us={},go={emptyCell:De("div",{className:"k-pivotgrid-empty-cell",role:"none",children:De("table",{role:"none",children:De("thead",{role:"none",children:De("tr",{role:"none",children:De("th",{"aria-colspan":1,"aria-rowspan":1,id:I("pivotgrid-empty"),children:De("span",{className:"k-sr-only",children:"PivotGrid component. Use the arrow keys to navigate."})})})})})}),configuratorDisplay:"none",configuratorPosition:"right"},be=e=>{let{emptyCell:t=go.emptyCell,configuratorDisplay:o=go.configuratorDisplay,configuratorPosition:i=go.configuratorPosition,configurator:a,columnHeaders:s,rowHeaders:l,children:p,...u}=e;return _a("div",{className:{left:"k-d-flex k-flex-row-reverse k-pos-relative",bottom:"k-d-flex k-flex-col k-pos-relative",top:"k-d-flex k-flex-col-reverse k-pos-relative",right:"k-d-flex k-flex-row k-pos-relative"}[i],children:[_a("div",{...u,className:n(e.className,Ha),role:"grid",children:[t,De("div",{className:"k-pivotgrid-column-headers",role:"none",children:s}),De("div",{className:"k-pivotgrid-row-headers",role:"none",children:l}),De("div",{className:"k-pivotgrid-values",role:"none",children:p})]}),a&&o==="opened"&&a,a&&o==="closed"&&ms.cloneElement(a,{"aria-hidden":"true"}),o!=="none"&&De(Ka,{})]})};be.states=cs;be.options=us;be.className=Ha;be.defaultOptions=go;be.moduleName=di;be.folderName=Da;import{jsx as hs}from"react/jsx-runtime";var za="k-pivotgrid-table",fs=[],bs={},xs={},me=e=>{let{children:t,...o}=e;return hs("table",{...o,className:n(e.className,za),children:t})};me.states=fs;me.options=bs;me.className=za;me.moduleName=null;me.folderName=null;me.defaultOptions=xs;import{jsx as Cs}from"react/jsx-runtime";var Ba="k-pivotgrid-tbody",vs=[],Ns={},Ls={},Le=e=>{let{children:t,...o}=e;return Cs("tbody",{...o,className:n(e.className,Ba),children:t})};Le.states=vs;Le.options=Ns;Le.className=Ba;Le.defaultOptions=Ls;import{jsx as Ss}from"react/jsx-runtime";var pi="k-pivotgrid-row",Ts=[r.hover,r.selected],Is={},gs={},R=e=>{let{columnTotal:t,children:o,hover:i,selected:a,...s}=e;return Ss("tr",{...s,className:n(e.className,pi,{"k-pivotgrid-column-total":t},k(pi,{hover:i,selected:a})),children:o})};R.states=Ts;R.options=Is;R.className=pi;R.defaultOptions=gs;import{jsx as mi,jsxs as ks}from"react/jsx-runtime";var ci="k-pivotgrid-cell",ys=[r.focus,r.selected],As={},Es={},b=e=>{let{as:t="td",toggle:o,headerTitle:i,content:a,headerRootCell:s,totalCell:l,headerTotalCell:p,rowTotalCell:u,focus:m,selected:f,...v}=e,T={up:"up",down:"down"};return ks(t,{...v,className:n(e.className,ci,{"k-pivotgrid-expanded":o==="up","k-pivotgrid-header-root":s,"k-pivotgrid-total":l,"k-pivotgrid-header-total":p,"k-pivotgrid-row-total":u},k(ci,{focus:m,selected:f})),children:[o&&mi(C,{className:"k-pivotgrid-toggle",icon:`chevron-${T[o]}`}),i&&mi("span",{className:"k-pivotgrid-header-title",children:i}),(a||a==="")&&mi("span",{className:"k-pivotgrid-content",children:a})]})};b.states=ys;b.options=As;b.className=ci;b.defaultOptions=Es;var ui="action-buttons",Fa=ui;import{jsx as Os}from"react/jsx-runtime";var So="k-actions",Ms=[],Rs={},fi={alignment:"start",orientation:"horizontal"},_e=e=>{let{alignment:t=fi.alignment,orientation:o=fi.orientation,...i}=e;return Os("div",{...i,className:n(So,{[`${So}-${t}`]:t,[`${So}-${o}`]:o},e.className),children:e.children})};_e.states=Ms;_e.options=Rs;_e.className=So;_e.defaultOptions=fi;_e.moduleName=ui;_e.folderName=Fa;var bi="button",Ga=bi;import{Fragment as Ua,jsx as ct,jsxs as $a}from"react/jsx-runtime";var oo="k-button",ws=["icon-button"],Ps=[r.hover,r.focus,r.active,r.selected,r.disabled,r.generating],Ks={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[N.undefined,N.base,N.primary,N.secondary,N.tertiary,N.success,N.warning,N.error,N.info,N.inverse]},xi={showArrow:!1,arrowIconName:"chevron-down"},g=e=>{let{as:t="button",size:o,rounded:i,fillMode:a,themeColor:s,showArrow:l=xi.showArrow,arrowIconName:p=xi.arrowIconName,variant:u,hover:m,focus:f,active:v,selected:T,disabled:y,togglable:O,ariaDisabled:M,icon:S,iconSize:A,text:B,iconClassName:W,className:V,...oe}=e,Re=S!=null,at=e.children!==void 0;return $a(t,{className:n(V,oo,ya(oo,u),E(oo,{size:o,rounded:i,fillMode:a,themeColor:s}),k(oo,{hover:m,focus:f,active:v,disabled:y||M,selected:T}),{"k-icon-button":!B&&!at&&Re}),"aria-pressed":O?T?"true":"false":void 0,...oe,"aria-disabled":M?"true":void 0,disabled:y||void 0,children:[typeof S=="string"&&S&&ct(C,{className:n(W,"k-button-icon"),icon:S,size:A}),S&&typeof S!="string"&&ct(Ua,{children:S}),B?$a(Ua,{children:[B&&ct("span",{className:"k-button-text",children:B}),e.children]}):e.children&&ct("span",{className:"k-button-text",children:e.children}),l&&ct("span",{className:"k-menu-button-arrow k-button-arrow",children:ct(C,{icon:p})})]})};g.states=Ps;g.options=Ks;g.variants=ws;g.className=oo;g.defaultOptions=xi;g.moduleName=bi;g.folderName=Ga;import{jsx as Ds}from"react/jsx-runtime";var hi=e=>Ds(g,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as _s}from"react/jsx-runtime";var Va=e=>_s(g,{icon:"folder",children:"Button",...e});import{jsx as Hs}from"react/jsx-runtime";var rt=e=>Hs(g,{children:"Button",...e});import{jsx as vi}from"react/jsx-runtime";var zs=g.options,Bs=g.states,Fs={...g.defaultOptions,variant:"text"},Gs=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Us=[],ut=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return vi(hi,{...o,icon:"star"});case"icon-and-text":return vi(Va,{...o,icon:"star",children:"Button"});default:return vi(rt,{...o,children:"Button"})}};ut.options=zs;ut.states=Bs;ut.variants=Gs;ut.defaultOptions=Fs;ut.modifiers=Us;ut.className=g.className;import{Fragment as Ws,jsx as nt,jsxs as Xa}from"react/jsx-runtime";var yo="k-pivotgrid-configurator",$s=[],Vs={},Xs=Xa(Ws,{children:[nt(g,{children:"Cancel"}),nt(g,{themeColor:"primary",children:"Apply"})]}),io={orientation:"vertical",mode:"push",actionButtons:Xs,header:"Settings"},Ce=e=>{let{orientation:t=io.orientation,mode:o=io.mode,actionButtons:i=io.actionButtons,header:a=io.header,headerId:s,children:l,...p}=e,u=s||I("pivotgrid-configurator-header");return nt("div",{...p,className:n(e.className,yo),role:"dialog","aria-labelledby":u,children:Xa("div",{className:n("k-pivotgrid-configurator-panel",{[`${yo}-${t}`]:t,[`${yo}-${o}`]:o}),children:[nt("div",{className:"k-pivotgrid-configurator-header",children:nt("div",{className:"k-pivotgrid-configurator-header-text",id:u,children:a})}),nt("div",{className:"k-pivotgrid-configurator-content",children:l}),nt(_e,{alignment:"end",className:"k-pivotgrid-configurator-actions",children:i})]})})};Ce.states=$s;Ce.options=Vs;Ce.className=yo;Ce.moduleName=null;Ce.folderName=null;Ce.defaultOptions=io;var ao="input",Ao=ao;import{jsx as Qs}from"react/jsx-runtime";var Eo="k-input",Js=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],qs={size:[d.undefined,d.small,d.medium,d.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Ys={},D=e=>{let{hover:t,focus:o,disabled:i,invalid:a,valid:s,loading:l,readonly:p,size:u,rounded:m,fillMode:f,...v}=e;return Qs("span",{...v,className:n(e.className,Eo,E(Eo,{size:u,rounded:m,fillMode:f}),k(Eo,{hover:t,focus:o,disabled:i,invalid:a,valid:s,loading:l,readonly:p}))})};D.states=Js;D.options=qs;D.className=Eo;D.defaultOptions=Ys;D.moduleName=ao;D.folderName=Ao;import{jsx as tl}from"react/jsx-runtime";var ko="k-picker",Zs=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],js={size:[d.undefined,d.small,d.medium,d.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},el={},Je=e=>{let{hover:t,focus:o,disabled:i,invalid:a,valid:s,loading:l,readonly:p,size:u,rounded:m,fillMode:f,...v}=e;return tl("span",{...v,className:n(e.className,ko,E(ko,{size:u,rounded:m,fillMode:f}),k(ko,{hover:t,focus:o,disabled:i,invalid:a,valid:s,loading:l,readonly:p})),children:e.children})};Je.states=Zs;Je.options=js;Je.className=ko;Je.defaultOptions=el;Je.moduleName=ao;Je.folderName=Ao;import{Fragment as al,jsx as Ni}from"react/jsx-runtime";var Wa="k-clear-value",ol=[r.disabled,r.loading,r.readonly],il={},ie=e=>{let{disabled:t,loading:o,readonly:i,value:a}=e;return t||i||o||!a?Ni(al,{}):Ni("span",{className:n(e.className,Wa),children:Ni(C,{icon:"x"})})};ie.states=ol;ie.options=il;ie.className=Wa;import{jsx as sl}from"react/jsx-runtime";var Li="k-input-inner",rl=[],nl={},Mo={type:"text",autocomplete:"off",value:"",placeholder:""},ae=e=>{let{value:t=Mo.value,type:o=Mo.type,placeholder:i=Mo.placeholder,autocomplete:a=Mo.autocomplete,disabled:s,readOnly:l,...p}=e;return sl("input",{...p,type:o,className:n(e.className,Li,E(Li,e)),placeholder:i,autoComplete:a,defaultValue:t,disabled:s||void 0,readOnly:l||void 0})};ae.states=rl;ae.options=nl;ae.className=Li;import{jsx as Ja,jsxs as pl}from"react/jsx-runtime";var Ci="k-input-inner",ll=[],dl={},ro=e=>{let{value:t,placeholder:o,showValue:i,valueIcon:a,valueIconName:s,...l}=e;return pl("span",{...l,className:n(e.className,Ci,E(Ci,e)),children:[a,!a&&s&&Ja(C,{className:"k-input-value-icon",icon:s}),i&&!t&&o,i&&t&&Ja("span",{className:"k-input-value-text",children:t})]})};ro.states=ll;ro.options=dl;ro.className=Ci;import{jsx as ul}from"react/jsx-runtime";var Ti="k-input-inner",ml=[],cl={},qa={value:"",placeholder:""},no=e=>{let{value:t=qa.value,placeholder:o=qa.placeholder,rows:i,disabled:a,...s}=e;return ul("textarea",{...s,className:n(e.className,Ti,E(Ti,e)),placeholder:o,rows:i,defaultValue:t,disabled:a||void 0})};no.states=ml;no.options=cl;no.className=Ti;import{Fragment as bl,jsx as Ya}from"react/jsx-runtime";var Qa="k-input-loading-icon",fl=[r.disabled,r.loading],Q=e=>{let{disabled:t,loading:o}=e;return t||!o?Ya(bl,{}):Ya("span",{className:n(e.className,Qa,"k-icon k-i-loading")})};Q.states=fl;Q.className=Qa;import{Fragment as vl,jsx as Za}from"react/jsx-runtime";var ja="k-input-validation-icon",xl=[r.valid,r.invalid,r.disabled,r.loading],hl={},q=e=>{let{valid:t,invalid:o,disabled:i,loading:a}=e,s=o?"warning-circle":"check-circle";return i||a||!!!(t||o)?Za(vl,{}):Za(C,{className:n(ja),icon:s})};q.states=xl;q.options=hl;q.className=ja;import{Fragment as Cl,jsx as er}from"react/jsx-runtime";var Nl="k-input-prefix",Ll={direction:"horizontal"},Te=e=>{let{direction:t=Ll.direction,...o}=e;return e.children?er("span",{...o,className:n(Nl,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):er(Cl,{})};import{Fragment as gl,jsx as tr}from"react/jsx-runtime";var Tl="k-input-suffix",Il={direction:"horizontal"},Ie=e=>{let{direction:t=Il.direction,...o}=e;return e.children?tr("span",{...o,className:n(Tl,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):tr(gl,{})};import{jsx as qb}from"react/jsx-runtime";import{jsx as yl}from"react/jsx-runtime";var Sl="k-input-suffix-text",Ii=e=>{let{children:t,...o}=e;return yl("span",{...o,className:n(Sl,e.className),children:t})};import{jsx as El}from"react/jsx-runtime";var or="k-input-separator",Al={direction:"vertical"},re=e=>{let{direction:t=Al.direction,...o}=e;return El("span",{...o,className:n(or,e.className,{[`${or}-${t}`]:t})})};import{Fragment as ir,jsx as He,jsxs as gi}from"react/jsx-runtime";var kl=D.states,Ml=D.defaultOptions,Rl=D.options,Ol=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],wl=[],ft=e=>{let{modifiers:t,valid:o,invalid:i,loading:a,disabled:s,readonly:l,...p}=e,u=t?.prefix,m=t?.suffix,f=t?.["clear-button"],v=t?.["validation-icon"],T=t?.separators;return gi(D,{...p,valid:o,invalid:i,loading:a,disabled:s,readonly:l,style:{width:300},children:[u&&gi(ir,{children:[He(Te,{children:He(C,{icon:"lock"})}),T&&He(re,{})]}),He(ae,{placeholder:"Placeholder",value:"Value"}),v&&He(q,{valid:o,invalid:i,loading:a,disabled:s}),He(Q,{loading:a,disabled:s}),f&&He(ie,{loading:a,disabled:s,readonly:l,value:"Value"}),m&&gi(ir,{children:[T&&He(re,{}),He(Ie,{children:He(rt,{size:p.size,fillMode:"clear",children:"Send"})})]})]})};ft.options=Rl;ft.states=kl;ft.variants=wl;ft.defaultOptions=Ml;ft.modifiers=Ol;ft.className=D.className;var Si="popup",ar=Si;import{jsx as rr}from"react/jsx-runtime";var nr="k-animation-container",Pl=[],Kl={},yi={positionMode:"absolute",shown:!0},ze=e=>{let{positionMode:t=yi.positionMode,shown:o=yi.shown,animationStyle:i,offset:a,...s}=e;return rr("div",{...s,style:{...a,...e.style},className:n(e.className,nr,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:rr("div",{className:"k-child-animation-container",style:i,children:e.children})})};ze.states=Pl;ze.options=Kl;ze.className=nr;ze.defaultOptions=yi;ze.moduleName=Si;ze.folderName=ar;var Ai="popup",sr=Ai;import{jsx as lr}from"react/jsx-runtime";var dr="k-popup",Dl=[],_l={},pr={positionMode:"absolute"},qe=e=>{let{offset:t,positionMode:o=pr.positionMode,animationStyle:i,containerClassName:a,containerRole:s,containerAriaLabel:l,...p}=e;return lr(ze,{positionMode:o,offset:t,animationStyle:i,className:a,role:s,"aria-label":l,children:lr("div",{...p,className:n(e.className,dr),children:e.children})})};qe.states=Dl;qe.options=_l;qe.className=dr;qe.defaultOptions=pr;qe.moduleName=Ai;qe.folderName=sr;import{jsx as zl}from"react/jsx-runtime";var Hl="k-actionsheet-footer",mr={alignment:"stretched",orientation:"horizontal"},bt=e=>{let{alignment:t=mr.alignment,orientation:o=mr.orientation,template:i,as:a=i?"div":_e,...s}=e;return zl(a,{...s,...!i&&{alignment:t,orientation:o},className:n(e.className,Hl),children:e.children})};var Ei="searchbox",cr=Ei;import{jsx as so,jsxs as Gl}from"react/jsx-runtime";var ur="k-searchbox",Bl=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading],Fl={size:[d.undefined,d.small,d.medium,d.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Ro={showIcon:!0,showClearButton:!0,icon:"search"},ge=e=>{let{value:t,placeholder:o,size:i,rounded:a,fillMode:s,hover:l,focus:p,valid:u,invalid:m,required:f,loading:v,disabled:T,showIcon:y=Ro.showIcon,showClearButton:O=Ro.showClearButton,icon:M=Ro.icon,"aria-label":S,...A}=e;return Gl(D,{...A,size:i,rounded:a,fillMode:s,hover:l,focus:p,valid:u,invalid:m,required:f,loading:v,disabled:T,className:n(e.className,ur),children:[y&&so(C,{className:"k-input-icon",icon:M}),so(ae,{placeholder:o,value:t,"aria-label":S}),so(Q,{...e}),so(q,{...e}),O&&so(ie,{...e})]})};ge.states=Bl;ge.options=Fl;ge.className=ur;ge.defaultOptions=Ro;ge.moduleName=Ei;ge.folderName=cr;import{jsx as sh}from"react/jsx-runtime";var ki="textbox",fr=ki;import{Fragment as br,jsx as Ye,jsxs as Mi}from"react/jsx-runtime";var xr="k-textbox",Ul=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],$l={size:[d.undefined,d.small,d.medium,d.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Oo={showClearButton:!0,showValidationIcon:!0,separators:!0},_=e=>{let{size:t,rounded:o,fillMode:i,separators:a=Oo.separators,showClearButton:s=Oo.showClearButton,showValidationIcon:l=Oo.showValidationIcon,prefix:p,suffix:u,type:m,value:f,placeholder:v,hover:T,focus:y,valid:O,invalid:M,required:S,loading:A,disabled:B,readonly:W,id:V,"aria-label":oe,"aria-describedby":Re,...at}=e;return Mi(D,{...at,size:t,rounded:o,fillMode:i,hover:T,focus:y,valid:O,invalid:M,required:S,loading:A,disabled:B,readonly:W,className:n(e.className,xr),children:[p&&Mi(br,{children:[Ye(Te,{children:p}),a&&Ye(re,{})]}),Ye(ae,{id:V,placeholder:v,value:f,type:m,disabled:B,"aria-label":oe,"aria-describedby":Re,"aria-invalid":M?"true":void 0}),l&&Ye(q,{valid:O,invalid:M,loading:A,disabled:B}),Ye(Q,{loading:A,disabled:B}),s&&Ye(ie,{loading:A,disabled:B,readonly:W,value:f}),u&&Mi(br,{children:[a&&Ye(re,{}),Ye(Ie,{children:u})]})]})};_.states=Ul;_.options=$l;_.className=xr;_.defaultOptions=Oo;_.moduleName=ki;_.folderName=fr;var lo=_;import{jsx as Vl}from"react/jsx-runtime";var hr=e=>Vl(lo,{...e});import{Fragment as Sh,jsx as gh}from"react/jsx-runtime";import{Fragment as Rh,jsx as Mh}from"react/jsx-runtime";import{jsx as Kh}from"react/jsx-runtime";import{jsx as Ri}from"react/jsx-runtime";var Xl=_.states,Wl=_.defaultOptions,Jl=_.options,ql=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Yl=[],xt=e=>{let{modifiers:t,...o}=e,i={};return Object.keys(t||{}).forEach(a=>{switch(a){case"prefix":i.prefix=t?.[a]?Ri(C,{icon:"lock"}):void 0;break;case"suffix":i.suffix=t?.[a]?Ri(rt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":i.showClearButton=t?.[a];break;default:break}}),Ri(hr,{value:"Value",style:{width:300},...o,...i})};xt.options=Jl;xt.states=Xl;xt.variants=Yl;xt.defaultOptions=Wl;xt.modifiers=ql;xt.className=_.className;import{jsx as Qe,jsxs as Oi}from"react/jsx-runtime";var vr="k-actionsheet-titlebar",Ql={},Oe=e=>{let{title:t,subtitle:o,actionsStart:i,actionsEnd:a,filter:s,input:l,inputValue:p,inputPlaceholder:u,adaptive:m,titleId:f,children:v,...T}=e;return Oi("div",{...T,className:n(e.className,vr),children:[Oi("div",{className:"k-actionsheet-titlebar-group",children:[i&&Qe("div",{className:"k-actionsheet-actions",children:i}),!v&&Oi("div",{className:"k-actionsheet-title",id:f,children:[t&&Qe("div",{className:"k-text-center",children:t}),o&&Qe("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),v&&Qe("div",{className:"k-actionsheet-title",id:f,children:v}),a&&Qe("div",{className:"k-actionsheet-actions",children:a})]}),(l||s)&&Qe("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:l?Qe(_,{value:p,placeholder:u,size:m?"large":"medium","aria-label":t||u||"Input"}):Qe(ge,{placeholder:"Filter",size:m?"large":"medium","aria-label":"Filter options"})})]})};Oe.className=vr;Oe.defaultOptions=Ql;import{jsx as wi,jsxs as td}from"react/jsx-runtime";var Pi="k-actionsheet-view",Zl=[],jl={},ed={},ht=e=>{let{adaptive:t,animated:o,children:i,header:a,footer:s,titleId:l,...p}=e,u=a?.type===Oe&&wi(Oe,{adaptive:t,titleId:l,...a?.props}),m=s?.type===bt&&wi(bt,{...s?.props});return td("div",{...p,className:n(e.className,Pi,{[`${Pi}-animated`]:o}),children:[u,wi("div",{className:"k-actionsheet-content",children:i}),m]})};ht.states=Zl;ht.options=jl;ht.className=Pi;ht.defaultOptions=ed;var po="action-sheet",wo=po;var Ki="overlay",Nr=Ki;import{jsx as rd}from"react/jsx-runtime";var Lr="k-overlay",od=[],id={},ad={},Ze=e=>{let{...t}=e;return rd("div",{...t,className:n(e.className,Lr),children:e.children})};Ze.states=od;Ze.options=id;Ze.className=Lr;Ze.defaultOptions=ad;Ze.moduleName=Ki;Ze.folderName=Nr;import{jsx as Po,jsxs as ld}from"react/jsx-runtime";var Cr="k-actionsheet",nd=[],sd={},mo={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Z=e=>{let{side:t=mo.side,fullscreen:o=mo.fullscreen,adaptive:i=mo.adaptive,overlay:a=mo.overlay,template:s,children:l,header:p,footer:u,id:m,...f}=e,v=m&&!s&&p?`${m}-title`:void 0;return ld("div",{className:"k-actionsheet-container",children:[a&&Po(Ze,{}),Po(ze,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:Po("div",{...f,id:m,role:"dialog","aria-modal":a?"true":void 0,"aria-labelledby":v,className:n(e.className,Cr,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":i}),children:s||Po(ht,{header:p,footer:u,adaptive:i,titleId:v,...e,children:l})})})]})};Z.states=nd;Z.options=sd;Z.className=Cr;Z.defaultOptions=mo;Z.moduleName=po;Z.folderName=wo;import{jsx as cd}from"react/jsx-runtime";var Tr="k-actionsheet-container",dd=[],pd={},md={},vt=e=>{let{children:t,...o}=e;return cd("div",{...o,className:Tr,children:t})};vt.states=dd;vt.options=pd;vt.className=Tr;vt.defaultOptions=md;vt.moduleName=po;vt.folderName=wo;import{jsx as ud}from"react/jsx-runtime";var Di=e=>{let{...t}=e;return ud("div",{...t,className:n(e.className,"k-list-ul"),children:e.children})};import{Fragment as bd,jsx as co,jsxs as _i}from"react/jsx-runtime";var Hi="k-actionsheet-item",fd=[r.hover,r.focus,r.selected,r.disabled],je=e=>{let{iconName:t,text:o,description:i,hover:a,focus:s,selected:l,disabled:p,...u}=e;return _i("span",{...u,className:n(e.className,Hi,k(Hi,{hover:a,focus:s,selected:l,disabled:p})),children:[!e.children&&co(bd,{children:_i("span",{className:"k-actionsheet-action",children:[t&&co("span",{className:"k-icon-wrap",children:co(C,{className:"k-actionsheet-item-icon",icon:t})}),_i("span",{className:"k-actionsheet-item-text",children:[o&&co("span",{className:"k-actionsheet-item-title",children:o}),i&&co("span",{className:"k-actionsheet-item-description",children:i})]})]})}),e.children]})};je.states=fd;je.className=Hi;import{jsx as Pv,jsxs as Kv}from"react/jsx-runtime";import{jsx as zv}from"react/jsx-runtime";import{jsx as Uv}from"react/jsx-runtime";import{jsx as Wv}from"react/jsx-runtime";import{jsx as Y,jsxs as zi}from"react/jsx-runtime";var xd=Z.options,hd=Z.states,gr={...Z.defaultOptions,variant:"normal"},vd=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Nd=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Nt=e=>{let{variant:t,modifiers:o,...i}={...gr,...e},a={},s=zi(Di,{children:[Y(je,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),Y(je,{text:"Add to Favorites",iconName:"heart"}),Y(je,{text:"Upload New",iconName:"upload",disabled:!0}),Y("hr",{className:"k-hr"}),Y(je,{text:"Cancel",iconName:"cancel"})]}),l="Choose from the items below",p="Select Item";return t==="fullScreen"&&(a.fullScreen=!0),Object.keys(o||{}).forEach(u=>{switch(u){case"actions":a.actionsStart=!!o?.[u],a.actionsEnd=!!o?.[u];break;case"subtitle":a.subtitle=o?.[u]?l:void 0;break;case"footer":a.footer=!!o?.[u];break;default:break}}),t==="adaptive"?Y(Z,{...i,adaptive:!0,fullscreen:a.fullScreen,header:Y(Oe,{actionsStart:a.actionsStart?Y(g,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:a.actionsEnd?Y(g,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:p,subtitle:a.subtitle}),footer:a.footer?zi(bt,{alignment:"stretched",children:[Y(g,{text:"Cancel",size:"large",themeColor:"base"}),Y(g,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):Y(Z,{...i,fullscreen:a.fullScreen,header:Y(Oe,{actionsStart:a.actionsStart?Y(g,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:a.actionsEnd?Y(g,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:a.subtitle}),footer:a.footer?zi(bt,{alignment:"stretched",children:[Y(g,{text:"Apply",themeColor:"primary"}),Y(g,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};Nt.options=xd;Nt.states=hd;Nt.variants=vd;Nt.defaultOptions=gr;Nt.modifiers=Nd;Nt.className=Z.className;import Gi from"react";import{jsx as Sr}from"react/jsx-runtime";var Ld="k-list-group-sticky-header",Bi=e=>Sr("div",{className:n(Ld,e.className),children:Sr("div",{className:"k-list-header-text",children:e.children})});import{jsx as Td}from"react/jsx-runtime";var Cd="k-no-data",Fi=e=>{let{live:t,...o}=e;return Td("span",{...o,className:n(Cd,e.className),"aria-live":t?"polite":void 0,children:e.children})};var st="list",Lt=st;import{jsx as yr,jsxs as Ar}from"react/jsx-runtime";var Ui="k-list",Id=[],gd={size:[d.undefined,d.small,d.medium,d.large]},Sd={},G=e=>{let{size:t,virtualization:o,children:i,header:a,selectAll:s,optionLabel:l,customValue:p,noData:u,screenReaders:m,...f}=e,T=Gi.Children.toArray(i)[0],y=T?.props?.children?Gi.Children.count(T.props.children):Gi.Children.count(i);return Ar("div",{...f,className:n(e.className,Ui,E(Ui,{size:t}),{"k-virtual-list":o}),children:[l,s,p,a&&yr(Bi,{children:a}),i||(u!==void 0?u:yr(Fi,{live:!0,children:"No data found."})),m&&i&&Ar(Fi,{className:"k-sr-only",live:!0,children:[y," items found."]})]})};G.states=Id;G.options=gd;G.className=Ui;G.defaultOptions=Sd;G.moduleName=st;G.folderName=Lt;import{jsx as kd}from"react/jsx-runtime";var Er="k-list-container",yd=[],Ad={},Ed={},Ct=e=>{let{...t}=e;return kd("div",{...t,className:n(e.className,Er),children:e.children})};Ct.states=yd;Ct.options=Ad;Ct.className=Er;Ct.defaultOptions=Ed;Ct.moduleName=st;Ct.folderName=Lt;var lt="checkbox",Tt=lt;import{jsx as kr}from"react/jsx-runtime";var Ko="k-checkbox",Md=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked,r.indeterminate],Rd={size:[d.undefined,d.small,d.medium,d.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full]},Od={},j=e=>{let{id:t,checked:o,indeterminate:i,hover:a,focus:s,disabled:l,invalid:p,valid:u,required:m,size:f,rounded:v,wrapperRole:T,...y}=e;return kr("span",{className:"k-checkbox-wrap",role:T,children:kr("input",{...y,id:t,type:"checkbox",defaultChecked:o,required:m,disabled:l||void 0,"aria-invalid":p?"true":void 0,className:n(e.className,Ko,E(Ko,{size:f,rounded:v}),k(Ko,{hover:a,focus:s,disabled:l,invalid:p,valid:u,indeterminate:i,checked:o}))})})};j.states=Md;j.options=Rd;j.className=Ko;j.defaultOptions=Od;j.moduleName=lt;j.folderName=Tt;var we=j;import{jsx as Kd}from"react/jsx-runtime";var Mr="k-checkbox-list",wd=[],Pd={},Rr={layout:"vertical"},ne=e=>{let{layout:t=Rr.layout,...o}=e;return Kd("ul",{...o,className:n(e.className,Mr,{[`k-list-${t}`]:t}),children:e.children})};ne.states=wd;ne.options=Pd;ne.className=Mr;ne.defaultOptions=Rr;ne.moduleName=lt;ne.folderName=Tt;import{jsx as zd}from"react/jsx-runtime";var Or="k-checkbox-list-item",Dd=[],_d={},Hd={},se=e=>{let{...t}=e;return zd("li",{...t,className:n(e.className,Or),children:e.children})};se.states=Dd;se.options=_d;se.className=Or;se.defaultOptions=Hd;se.moduleName=lt;se.folderName=Tt;import{Fragment as Bd,jsx as wr,jsxs as Fd}from"react/jsx-runtime";var Ue=({children:e="Label",id:t="cb-label-after",...o})=>Fd(Bd,{children:[wr(we,{id:t,...o}),wr("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as oL,jsx as tL,jsxs as iL}from"react/jsx-runtime";import{Fragment as lL,jsx as sL,jsxs as dL}from"react/jsx-runtime";import{Fragment as fL,jsx as uL,jsxs as bL}from"react/jsx-runtime";import{jsx as NL}from"react/jsx-runtime";import{jsx as IL}from"react/jsx-runtime";import{jsx as AL}from"react/jsx-runtime";import{jsx as Se,jsxs as Pr}from"react/jsx-runtime";var Gd=ne.options,Ud=ne.states,$d={...ne.defaultOptions,variant:"vertical"},Vd=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Xd=[],It=e=>{let{variant:t,...o}=e;return t==="horizontal"?Pr(ne,{layout:"horizontal",...o,children:[Se(se,{children:Se(Ue,{id:I("cb"),defaultChecked:!0,children:"Label"})}),Se(se,{children:Se(Ue,{id:I("cb"),children:"Label"})}),Se(se,{children:Se(Ue,{id:I("cb"),children:"Label"})})]}):Pr(ne,{...o,children:[Se(se,{children:Se(Ue,{id:I("cb"),defaultChecked:!0,children:"Label"})}),Se(se,{children:Se(Ue,{id:I("cb"),children:"Label"})}),Se(se,{children:Se(Ue,{id:I("cb"),children:"Label"})})]})};It.options=Gd;It.states=Ud;It.variants=Vd;It.defaultOptions=$d;It.modifiers=Xd;It.className=ne.className;import{jsx as Zd}from"react/jsx-runtime";var Wd=we.options,Jd=we.states,qd=we.defaultOptions,Yd=[],Qd=[],gt=e=>Zd(Ue,{id:I("checkbox"),...e,defaultChecked:!0,children:"Label"});gt.options=Wd;gt.states=Jd;gt.variants=Yd;gt.defaultOptions=qd;gt.modifiers=Qd;gt.className=we.className;import{jsx as St,jsxs as op}from"react/jsx-runtime";var $i="k-list-item",jd=[r.hover,r.focus,r.selected,r.disabled],ep={},tp={},H=e=>{let{text:t,iconName:o,iconClassName:i,showCheckbox:a,checked:s,hover:l,focus:p,selected:u,disabled:m,actions:f,description:v,id:T,...y}=e,O=t||e.children,M=t||(typeof O=="string"?O:void 0);return op("li",{...y,id:T,role:"option",tabIndex:p?0:-1,"aria-selected":u?"true":"false","aria-disabled":m?"true":void 0,className:n(e.className,$i,k($i,{hover:l,focus:p,disabled:m,selected:u})),children:[a&&St(j,{checked:s,disabled:m,"aria-label":M,tabIndex:-1}),o&&St("span",{className:"k-list-item-icon-wrapper",children:St(C,{icon:o,className:n("k-list-item-icon",i)})}),St("span",{className:"k-list-item-text",children:O}),f&&St("div",{className:"k-list-item-actions",children:f}),v&&St("span",{className:"k-list-item-description",children:v})]})};H.states=jd;H.options=ep;H.className=$i;H.defaultOptions=tp;H.moduleName=st;H.folderName=Lt;import{jsx as ap}from"react/jsx-runtime";var ip="k-list-ul",yt=e=>{let{children:t,role:o,id:i,...a}=e;return ap("ul",{...a,id:i,role:o,className:n(ip,e.className),children:t})};import{jsx as Vi,jsxs as np}from"react/jsx-runtime";var rp="k-list-content",le=e=>{let{virtualization:t,grouping:o,"aria-label":i,"aria-labelledby":a,listboxId:s,...l}=e;return np("div",{...l,className:n(rp,e.className),role:o?"listbox":void 0,id:o?s:void 0,"aria-label":o?i:void 0,"aria-labelledby":o?a:void 0,children:[o?e.children:Vi(yt,{role:"listbox",id:s,"aria-label":i,"aria-labelledby":a,children:e.children}),t&&Vi("div",{className:"k-height-container",children:Vi("div",{})})]})};import{jsx as Xi,jsxs as pp}from"react/jsx-runtime";var Do="k-list-sticky-header",sp=[r.hover,r.focus,r.selected],lp={},dp={},_o=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:i,indeterminate:a,hover:s,focus:l,selected:p,...u}=e;return Xi("div",{...u,className:n(Do,e.className),children:pp("div",{className:n(`${Do}-item`,k(`${Do}-item`,{hover:s,focus:l,selected:p})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":p?"true":"false"},children:[o&&Xi(j,{checked:i,indeterminate:a,"aria-label":t}),Xi("span",{className:"k-list-item-text",children:t})]})})};_o.states=sp;_o.options=lp;_o.className=Do;_o.defaultOptions=dp;import{Fragment as CC,jsx as LC,jsxs as TC}from"react/jsx-runtime";import{jsx as AC,jsxs as EC}from"react/jsx-runtime";import{jsx as fp}from"react/jsx-runtime";var Wi="k-list-optionlabel",mp=[r.hover,r.focus,r.selected,r.disabled],cp={},up={},Ho=e=>{let{text:t,hover:o,focus:i,selected:a,disabled:s,...l}=e;return fp("div",{...l,className:n(Wi,k(Wi,{hover:o,focus:i,selected:a,disabled:s})),children:t})};Ho.states=mp;Ho.options=cp;Ho.className=Wi;Ho.defaultOptions=up;import{jsx as vp}from"react/jsx-runtime";var Ji="k-list-custom-value",bp=[r.hover,r.focus,r.selected,r.disabled],xp={},hp={},zo=e=>{let{text:t,hover:o,focus:i,selected:a,disabled:s,...l}=e;return vp("div",{...l,className:n(Ji,k(Ji,{hover:o,focus:i,selected:a,disabled:s})),children:t})};zo.states=bp;zo.options=xp;zo.className=Ji;zo.defaultOptions=hp;import{Fragment as BC,jsx as zC,jsxs as FC}from"react/jsx-runtime";import{Fragment as WC,jsx as XC,jsxs as JC}from"react/jsx-runtime";import{Fragment as tT,jsx as jC,jsxs as eT}from"react/jsx-runtime";import{Fragment as lT,jsx as nT,jsxs as sT}from"react/jsx-runtime";import{jsx as cT}from"react/jsx-runtime";import{Fragment as vT,jsx as hT,jsxs as NT}from"react/jsx-runtime";import{Fragment as ST,jsx as gT,jsxs as yT}from"react/jsx-runtime";var Kr="dropdown-list",Dr="dropdownlist";import{Fragment as Cp,jsx as de,jsxs as Yi}from"react/jsx-runtime";var _r="k-dropdownlist",Np=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Lp={size:[d.undefined,d.small,d.medium,d.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Qi={showValue:!0,arrowIconName:"chevron-down"},w=e=>{let{size:t,rounded:o,fillMode:i,arrowIconName:a=Qi.arrowIconName,showValue:s=Qi.showValue,valueIconName:l,prefix:p,suffix:u,value:m,placeholder:f,hover:v,focus:T,valid:y,invalid:O,required:M,loading:S,disabled:A,readonly:B,popup:W,opened:V,adaptive:oe,adaptiveSettings:Re,adaptiveTitle:at,adaptiveSubtitle:$n,adaptiveFilter:Vn,id:Zt,activeDescendant:ga,"aria-label":Xn,...Wn}=e,Jn=Zt?`${Zt}-listbox`:void 0,Sa=Zt?`${Zt}-value`:void 0;return Yi(Cp,{children:[Yi(Je,{...Wn,id:Zt,size:t,rounded:o,fillMode:i,hover:v,focus:T,valid:y,invalid:O,required:M,loading:S,disabled:A,readonly:B,className:n(e.className,_r,{"k-icon-picker":!s&&l}),role:"combobox","aria-haspopup":"listbox","aria-expanded":V?"true":"false","aria-controls":V?Jn:void 0,"aria-activedescendant":V&&ga?ga:void 0,"aria-describedby":V?Sa:void 0,"aria-disabled":A?"true":void 0,"aria-label":Xn,tabIndex:0,children:[de(Te,{children:p}),de(ro,{placeholder:f,value:m,showValue:s,valueIconName:l,id:Sa}),de(q,{valid:y,invalid:O,loading:S,disabled:A}),de(Q,{loading:S,disabled:A}),de(Ie,{children:u}),de(g,{className:"k-input-button",icon:a,size:e.size,fillMode:e.fillMode,"aria-label":f||"Toggle dropdown",tabIndex:-1})]}),V&&W&&de(qe,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:W}),oe&&de(Z,{adaptive:!0,...Re,header:de(Oe,{actionsEnd:de(g,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:Vn,inputValue:m,inputPlaceholder:f,title:at,subtitle:$n}),children:de("div",{className:"k-list-container",children:de(G,{size:"large",children:Yi(le,{"aria-label":"Options",children:[de(H,{text:"List item"}),de(H,{text:"List item"}),de(H,{text:"List item"})]})})})})]})};w.states=Np;w.options=Lp;w.className=_r;w.defaultOptions=Qi;w.moduleName=Kr;w.folderName=Dr;import{Fragment as zr,jsx as Pe,jsxs as Fo}from"react/jsx-runtime";var Hr="k-calculated-field",Tp=[],Ip={},gp=Fo(zr,{children:[Pe(C,{icon:"sum"}),Pe(w,{value:"SUM"}),Pe("span",{className:"k-spacer"}),Pe(C,{icon:"eye"}),Pe(w,{value:"Default"})]}),Bo={headerContent:Pe("div",{className:"k-calculated-field-header-text",children:"Date.Calendar"}),headerActions:Pe(g,{fillMode:"flat",icon:"x"}),fieldActions:gp},Go=e=>{let{headerContent:t=Bo.headerContent,headerActions:o=Bo.headerActions,fieldActions:i=Bo.fieldActions,children:a,...s}=e;return Fo("div",{...s,className:n(e.className,Hr),children:[Fo("div",{className:"k-calculated-field-header",children:[t,o&&Fo(zr,{children:[Pe("span",{className:"k-spacer"}),Pe("div",{className:"k-calculated-field-header-actions",children:o})]})]}),a&&Pe("div",{className:"k-calculated-field-content",children:a}),Pe("div",{className:"k-calculated-field-actions",children:i})]})};Go.states=Tp;Go.options=Ip;Go.className=Hr;Go.defaultOptions=Bo;import{jsx as L,jsxs as z}from"react/jsx-runtime";var At=e=>{let t=I("pivotgrid-empty"),o=I("ch"),i=I("ch"),a=I("ch"),s=I("ch"),l=I("ch"),p=I("ch"),u=I("ch"),m=[];for(let f=0;f<6;f++){m[f]=[];for(let v=0;v<3;v++)m[f][v]=I("dc")}return L(be,{style:{gridTemplateRows:"111px 1fr",gridTemplateColumns:"369px 1fr"},emptyCell:L("div",{className:"k-pivotgrid-empty-cell",role:"none",children:L("table",{role:"none",children:L("thead",{role:"none",children:L("tr",{role:"none",children:L("th",{id:t,children:L("span",{className:"k-sr-only",children:"PivotGrid component. Use the arrow keys to navigate."})})})})})}),columnHeaders:z(me,{role:"none",children:[z("colgroup",{children:[L("col",{width:"200"}),L("col",{width:"200"}),L("col",{width:"200"})]}),z(Le,{role:"rowgroup",children:[z(R,{role:"row","aria-owns":`${t} ${o} ${i}`,children:[L(b,{as:"th",colSpan:2,toggle:"up",headerTitle:"Categories",headerRootCell:!0,role:"columnheader","aria-expanded":"true",id:o}),L(b,{as:"th",colSpan:1,rowSpan:2,headerTitle:"Categories",headerRootCell:!0,headerTotalCell:!0,role:"columnheader",id:i})]}),z(R,{role:"row",children:[L(b,{as:"th",colSpan:1,headerTitle:"Seafood",role:"columnheader",id:a}),L(b,{as:"th",colSpan:1,headerTitle:"Beverages",role:"columnheader",id:s})]}),z(R,{role:"row",children:[L(b,{as:"th",colSpan:1,toggle:"down",headerTitle:"Products",headerRootCell:!0,role:"columnheader","aria-expanded":"false",id:l}),L(b,{as:"th",colSpan:1,toggle:"down",headerTitle:"Products",headerRootCell:!0,role:"columnheader","aria-expanded":"false",id:p}),L(b,{as:"th",colSpan:1,headerTitle:"Products",headerRootCell:!0,headerTotalCell:!0,role:"columnheader",id:u})]})]})]}),rowHeaders:z(me,{role:"none",children:[z("colgroup",{children:[L("col",{}),L("col",{}),L("col",{})]}),z(Le,{role:"rowgroup",children:[z(R,{role:"row","aria-owns":`${m[0][0]} ${m[0][1]} ${m[0][2]}`,children:[L(b,{as:"th",colSpan:1,rowSpan:5,toggle:"up",headerTitle:"Regions",headerRootCell:!0,role:"rowheader","aria-expanded":"true"}),L(b,{as:"th",colSpan:1,headerTitle:"South America",role:"rowheader"}),L(b,{as:"th",colSpan:1,rowSpan:1,toggle:"down",headerTitle:"Countries",headerRootCell:!0,role:"rowheader","aria-expanded":"false"})]}),z(R,{role:"row","aria-owns":`${m[1][0]} ${m[1][1]} ${m[1][2]}`,children:[L(b,{as:"th",colSpan:1,headerTitle:"North America",role:"rowheader"}),L(b,{as:"th",colSpan:1,rowSpan:1,toggle:"down",headerTitle:"Countries",headerRootCell:!0,role:"rowheader","aria-expanded":"false"})]}),z(R,{role:"row","aria-owns":`${m[2][0]} ${m[2][1]} ${m[2][2]}`,children:[L(b,{as:"th",colSpan:1,headerTitle:"Europe",role:"rowheader"}),L(b,{as:"th",colSpan:1,rowSpan:1,toggle:"down",headerTitle:"Countries",headerRootCell:!0,role:"rowheader","aria-expanded":"false"})]}),z(R,{role:"row","aria-owns":`${m[3][0]} ${m[3][1]} ${m[3][2]}`,children:[L(b,{as:"th",colSpan:1,headerTitle:"Asia",role:"rowheader"}),L(b,{as:"th",colSpan:1,rowSpan:1,toggle:"down",headerTitle:"Countries",headerRootCell:!0,role:"rowheader","aria-expanded":"false"})]}),z(R,{role:"row","aria-owns":`${m[4][0]} ${m[4][1]} ${m[4][2]}`,children:[L(b,{as:"th",colSpan:1,headerTitle:"Africa",role:"rowheader"}),L(b,{as:"th",colSpan:1,rowSpan:1,toggle:"down",headerTitle:"Countries",headerRootCell:!0,role:"rowheader","aria-expanded":"false"})]}),z(R,{role:"row","aria-owns":`${m[5][0]} ${m[5][1]} ${m[5][2]}`,children:[L(b,{as:"th",colSpan:2,headerTitle:"Regions",headerRootCell:!0,headerTotalCell:!0,role:"rowheader"}),L(b,{as:"th",colSpan:1,rowSpan:1,headerTitle:"Countries",headerRootCell:!0,headerTotalCell:!0,role:"rowheader"})]})]})]}),children:z(me,{role:"none",children:[z("colgroup",{children:[L("col",{width:"200"}),L("col",{width:"200"}),L("col",{width:"200"})]}),z(Le,{role:"none",children:[z(R,{role:"none",children:[L(b,{as:"td",role:"gridcell",colSpan:1,content:"1847.00",id:m[0][0],"aria-describedby":`${a} ${o} ${l}`}),L(b,{as:"td",role:"gridcell",colSpan:1,content:"1488.00",id:m[0][1],"aria-describedby":`${s} ${o} ${p}`}),L(b,{as:"td",role:"gridcell",colSpan:1,content:"3335.00",totalCell:!0,id:m[0][2],"aria-describedby":`${i} ${u}`})]}),z(R,{role:"none",children:[L(b,{as:"td",role:"gridcell",colSpan:1,content:"1998.00",id:m[1][0],"aria-describedby":`${a} ${o} ${l}`}),L(b,{as:"td",role:"gridcell",colSpan:1,content:"1406.00",id:m[1][1],"aria-describedby":`${s} ${o} ${p}`}),L(b,{as:"td",role:"gridcell",colSpan:1,content:"3404.00",totalCell:!0,id:m[1][2],"aria-describedby":`${i} ${u}`})]}),z(R,{role:"none",children:[L(b,{as:"td",role:"gridcell",colSpan:1,content:"2065.00",id:m[2][0],"aria-describedby":`${a} ${o} ${l}`}),L(b,{as:"td",role:"gridcell",colSpan:1,content:"1242.00",id:m[2][1],"aria-describedby":`${s} ${o} ${p}`}),L(b,{as:"td",role:"gridcell",colSpan:1,content:"3307.00",totalCell:!0,id:m[2][2],"aria-describedby":`${i} ${u}`})]}),z(R,{role:"none",children:[L(b,{as:"td",role:"gridcell",colSpan:1,content:"1830.00",id:m[3][0],"aria-describedby":`${a} ${o} ${l}`}),L(b,{as:"td",role:"gridcell",colSpan:1,content:"1579.00",id:m[3][1],"aria-describedby":`${s} ${o} ${p}`}),L(b,{as:"td",role:"gridcell",colSpan:1,content:"3409.00",totalCell:!0,id:m[3][2],"aria-describedby":`${i} ${u}`})]}),z(R,{role:"none",children:[L(b,{as:"td",role:"gridcell",colSpan:1,content:"2005.00",id:m[4][0],"aria-describedby":`${a} ${o} ${l}`}),L(b,{as:"td",role:"gridcell",colSpan:1,content:"1441.00",id:m[4][1],"aria-describedby":`${s} ${o} ${p}`}),L(b,{as:"td",role:"gridcell",colSpan:1,content:"3446.00",totalCell:!0,id:m[4][2],"aria-describedby":`${i} ${u}`})]}),z(R,{role:"none",children:[L(b,{as:"td",role:"gridcell",colSpan:1,content:"9745.00",totalCell:!0,id:m[5][0],"aria-describedby":`${a} ${o} ${l}`}),L(b,{as:"td",role:"gridcell",colSpan:1,content:"7156.00",totalCell:!0,id:m[5][1],"aria-describedby":`${s} ${o} ${p}`}),L(b,{as:"td",role:"gridcell",colSpan:1,content:"16901.00",totalCell:!0,id:m[5][2],"aria-describedby":`${i} ${u}`})]})]})]}),...e})};import{jsx as Uo}from"react/jsx-runtime";var Sp="k-chip-action";var J=e=>{let{type:t,...o}=e,i;switch(t){case"remove":i=Uo(C,{icon:"x-circle",size:"small"});break;case"more":i=Uo(C,{icon:"more-vertical",size:"small"});break;default:return Uo(C,{icon:t,size:"small"})}return Uo("span",{...o,className:n(e.className,Sp,`k-chip-${t}-action`),children:i})};var Zi="avatar",Br=Zi;import{jsx as Fr}from"react/jsx-runtime";var uo="k-avatar";var yp=[r.hover,r.focus,r.active,r.selected,r.disabled],Ap={size:[d.undefined,d.small,d.medium,d.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[x.undefined,x.solid,x.outline],themeColor:[N.undefined,N.base,N.primary,N.secondary,N.tertiary]},ji={type:"text",border:!1},ce=e=>{let{size:t,rounded:o,fillMode:i,themeColor:a,type:s=ji.type,border:l=ji.border,...p}=e;return Fr("div",{...p,className:n(e.className,uo,E(uo,{size:t,rounded:o,fillMode:i,themeColor:a}),{[`${uo}-bordered`]:l}),children:Fr("span",{className:`${uo}-${s}`,children:e.children})})};ce.states=yp;ce.options=Ap;ce.className=uo;ce.defaultOptions=ji;ce.moduleName=Zi;ce.folderName=Br;var dt=ce;import{jsx as Ep}from"react/jsx-runtime";var Gr=e=>Ep(dt,{type:"icon",...e});import{jsx as kp}from"react/jsx-runtime";var Ur=e=>kp(dt,{type:"text",...e});import{jsx as Mp}from"react/jsx-runtime";var $r=e=>Mp(dt,{type:"image",...e});import{jsx as PI}from"react/jsx-runtime";import{jsx as fo}from"react/jsx-runtime";var Rp=ce.options,Op=ce.states,wp={...ce.defaultOptions,variant:"image"},Pp=[{name:"image",title:"Image"},{name:"icon",title:"Icon Avatar"},{name:"text",title:"Text Avatar"}],Kp=[],Et=e=>{let{variant:t,...o}=e;switch(t){case"icon":return fo(Gr,{...o,children:fo(C,{icon:"star"})});case"text":return fo(Ur,{...o,children:"JO"});default:return fo($r,{...o,children:fo("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})}};Et.options=Rp;Et.states=Op;Et.variants=Pp;Et.defaultOptions=wp;Et.modifiers=Kp;Et.className=ce.className;var bo="chip",$o=bo,Vo="https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg";import{jsx as kt,jsxs as Hp}from"react/jsx-runtime";var Xo="k-chip",Dp=[r.hover,r.focus,r.active,r.selected,r.disabled],_p={size:[d.undefined,d.small,d.medium,d.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[x.undefined,x.solid,x.outline],themeColor:[N.undefined,N.base,N.success,N.warning,N.error,N.info]},Vr={avatarImage:"/packages/html/assets/avatar.jpg"},X=e=>{let{size:t,rounded:o,fillMode:i,themeColor:a,text:s,icon:l,actions:p,showAvatar:u,avatarImage:m=Vr.avatarImage,hover:f,focus:v,active:T,selected:y,disabled:O,...M}=e;return Hp("div",{...M,className:n(e.className,Xo,E(Xo,{size:t,rounded:o,fillMode:i,themeColor:a}),k(Xo,{hover:f,focus:v,active:T,disabled:O,selected:y})),role:e.role||"button","aria-pressed":e.role==="option"?void 0:y?"true":"false",...e.role==="option"&&y!==void 0&&{"aria-selected":y?"true":"false"},"aria-disabled":O?"true":void 0,children:[l&&kt(C,{className:"k-chip-icon",icon:l,size:"small"}),u&&kt(ce,{className:"k-chip-avatar",type:"image",children:kt("img",{src:m,alt:""})}),kt("span",{className:"k-chip-content",children:e.children?e.children:s&&kt("span",{className:"k-chip-label",children:s})}),p&&kt("span",{className:"k-chip-actions",children:p})]})};X.states=Dp;X.options=_p;X.className=Xo;X.defaultOptions=Vr;X.moduleName=bo;X.folderName=$o;var ye=X;import{jsx as Gp}from"react/jsx-runtime";var ea="k-chip-list",zp=[],Bp={size:[d.undefined,d.small,d.medium,d.large]},Fp={},$=e=>{let{size:t,multiselectable:o,ariaLabel:i,...a}=e;return Gp("div",{...a,className:n(e.className,ea,E(ea,{size:t})),role:e.role||"listbox","aria-label":e.role==="none"?void 0:i||"chip list","aria-orientation":e.role==="none"?void 0:"horizontal","aria-multiselectable":o?"true":void 0,children:e.children})};$.states=zp;$.options=Bp;$.className=ea;$.defaultOptions=Fp;$.moduleName=bo;$.folderName=$o;import{jsx as pg}from"react/jsx-runtime";import{jsx as fg}from"react/jsx-runtime";import{jsx as Up}from"react/jsx-runtime";var Wo=e=>Up(ye,{text:"text",...e});import{jsx as Tg}from"react/jsx-runtime";import{jsx as yg}from"react/jsx-runtime";import{Fragment as Og,jsx as Rg,jsxs as wg}from"react/jsx-runtime";import{jsx as Hg,jsxs as zg}from"react/jsx-runtime";import{jsx as $g,jsxs as Vg}from"react/jsx-runtime";import{jsx as Qg,jsxs as Zg}from"react/jsx-runtime";import{jsx as Mt,jsxs as qp}from"react/jsx-runtime";var $p={...ye.options,...$.options},Vp=[],Xp=$.states,Wp={...ye.defaultOptions,...$.defaultOptions},Jp=[{name:"icon",title:"Icon",type:"boolean"},{name:"actions",title:"Actions",type:"boolean"},{name:"avatar",title:"Avatar",type:"boolean"}],Rt=e=>{let{modifiers:t,className:o,...i}=e,a=t?.icon,s=t?.actions,l=t?.avatar,p=l?Vo:void 0;return qp($,{size:i.size,className:o,children:[Mt(Wo,{...i,role:"option","aria-selected":"false","aria-pressed":void 0,icon:a?"star":void 0,actions:s?Mt(J,{type:"remove"}):void 0,showAvatar:l,avatarImage:p,children:"Chip"}),Mt(Wo,{...i,role:"option","aria-selected":"false","aria-pressed":void 0,icon:a?"star":void 0,actions:s?Mt(J,{type:"remove"}):void 0,showAvatar:l,avatarImage:p,children:"Chip"}),Mt(Wo,{...i,role:"option","aria-selected":"false","aria-pressed":void 0,icon:a?"star":void 0,actions:s?Mt(J,{type:"remove"}):void 0,showAvatar:l,avatarImage:p,children:"Chip"})]})};Rt.options=$p;Rt.states=Xp;Rt.variants=Vp;Rt.defaultOptions=Wp;Rt.modifiers=Jp;Rt.className=$.className;import{jsx as ta}from"react/jsx-runtime";var Yp=X.states,Qp=X.defaultOptions,Zp=X.options,jp=[],em=[{name:"icon",title:"Icon"},{name:"avatar",title:"Avatar"},{name:"remove-icon",title:"`Remove` Icon"},{name:"more-options",title:"`More options` Icon"}],Ot=e=>{let{modifiers:t,...o}=e,i={};return Object.keys(t||{}).forEach(a=>{switch(a){case"icon":i.icon=t?.[a]?"arrow-down":void 0;break;case"avatar":i.showAvatar=!!t?.[a],i.avatarImage=t?.[a]?Vo:void 0;break;case"more-options":i.actions||(i.actions=[]),i.actions[0]=t?.[a]?ta(J,{type:"more"}):void 0;break;case"remove-icon":i.actions||(i.actions=[]),i.actions[1]=t?.[a]?ta(J,{type:"remove"}):void 0;break;default:break}}),ta(X,{...o,...i,children:"Chip component"})};Ot.options=Zp;Ot.states=Yp;Ot.variants=jp;Ot.defaultOptions=Qp;Ot.modifiers=em;Ot.className=X.className;var Xr="form",Wr="forms";import{Fragment as Jr,jsx as Jo,jsxs as im}from"react/jsx-runtime";var qo="k-form",tm=[],om={size:[d.undefined,d.small,d.medium,d.large]},oa={layout:"basic",tag:"form"},U=e=>{let{size:t,orientation:o,layout:i=oa.layout,formButtons:a,cols:s,gutters:l,tag:p=oa.tag,children:u,style:m}=e,f=p,v=n(e.className,qo,E(qo,{size:t}),{[`${qo}-${o}`]:o}),T=im(Jr,{children:[i==="grid"?Jo("div",{className:n("k-form-layout","k-d-grid",{[`k-grid-cols-${s}`]:s}),style:{...typeof l=="string"&&{gap:l},...typeof l=="object"&&l.rows&&{rowGap:l.rows},...typeof l=="object"&&l.cols&&{columnGap:l.cols},...m},children:u}):Jo(Jr,{children:u}),a&&Jo("div",{className:"k-form-buttons",children:a})]}),{role:y,"aria-labelledby":O,"aria-label":M,id:S}=e;return Jo(f,{className:v,role:y,"aria-labelledby":O,"aria-label":M,id:S,children:T})};U.states=tm;U.options=om;U.className=qo;U.defaultOptions=oa;U.moduleName=Xr;U.folderName=Wr;var qr="label",Yr="label";import{jsx as Qr,jsxs as sm}from"react/jsx-runtime";var ia="k-label",am=[r.disabled],rm={},nm={},et=e=>{let{disabled:t,optional:o,info:i,text:a,children:s,...l}=e;return sm("label",{...l,className:n(e.className,ia,k(ia,{disabled:t})),children:[a||s,o&&Qr("span",{className:"k-label-optional",children:"(Optional)"}),i&&Qr("span",{className:"k-field-info",children:i})]})};et.states=am;et.options=rm;et.className=ia;et.defaultOptions=nm;et.moduleName=qr;et.folderName=Yr;import{jsx as mm}from"react/jsx-runtime";var Zr="k-form-hint",lm=[],dm={},pm={},Ae=e=>{let{text:t,children:o,...i}=e;return mm("div",{...i,className:n(e.className,Zr),children:t||o})};Ae.states=lm;Ae.options=dm;Ae.className=Zr;Ae.defaultOptions=pm;import{jsx as bm}from"react/jsx-runtime";var jr="k-form-error",cm=[],um={},fm={},Ee=e=>{let{text:t,children:o,...i}=e;return bm("div",{...i,className:n(e.className,jr),children:t||o})};Ee.states=cm;Ee.options=um;Ee.className=jr;Ee.defaultOptions=fm;import{jsx as Yo,jsxs as en}from"react/jsx-runtime";var aa="k-form-field",xm=[r.disabled],Be=e=>{let{editorId:t,label:o,orientation:i,optional:a,editor:s,hint:l,error:p,info:u,disabled:m,dir:f,colSpan:v,...T}=e;return en("div",{...T,className:n(aa,e.className,k(aa,{disabled:m}),{[`k-col-span-${v}`]:v}),dir:f,children:[o&&Yo(et,{className:"k-form-label",id:t?`${t}-label`:void 0,htmlFor:t||void 0,optional:a,info:u?"(field info)":void 0,children:o}),i==="horizontal"&&!o&&Yo("span",{className:"k-label k-form-label k-label-empty"}),en("div",{className:"k-form-field-wrap",children:[s,l&&Yo(Ae,{id:t?`${t}-hint`:void 0,children:l}),p&&Yo(Ee,{id:t?`${t}-error`:void 0,children:p})]})]})};Be.states=xm;Be.className=aa;import{Fragment as hm,jsx as ra,jsxs as vm}from"react/jsx-runtime";var tn="k-form-fieldset",wt=e=>{let{legend:t,layout:o,cols:i,gutters:a,colSpan:s}=e;return vm("fieldset",{className:n(tn,{[`k-col-span-${s}`]:s}),children:[t&&ra("legend",{className:"k-form-legend",children:t}),o==="grid"?ra("div",{className:n("k-form-layout","k-d-grid",{[`k-grid-cols-${i}`]:i}),style:{...typeof a=="string"&&{gap:a},...typeof a=="object"&&a.rows&&{rowGap:a.rows},...typeof a=="object"&&a.cols&&{columnGap:a.cols}},children:e.children}):ra(hm,{children:e.children})]})};wt.className=tn;import{jsx as ay}from"react/jsx-runtime";import{jsx as py,jsxs as my}from"react/jsx-runtime";import{Fragment as Ly,jsx as vy,jsxs as Ny}from"react/jsx-runtime";import{jsx as Sy}from"react/jsx-runtime";import{jsx as Ry,jsxs as Oy}from"react/jsx-runtime";import{Fragment as Fy,jsx as zy,jsxs as By}from"react/jsx-runtime";import{jsx as Xy}from"react/jsx-runtime";import{Fragment as gm,jsx as tt,jsxs as on}from"react/jsx-runtime";var Nm=w.states,Lm=w.defaultOptions,Cm=w.options,Tm=[{name:"opened",title:"Opened"}],Im=[],Kt=e=>{let{modifiers:t,...o}=e,i={},a=on(gm,{children:[tt("div",{className:"k-list-filter",children:tt(ge,{})}),tt(G,{style:{width:300},size:o.size,children:on(le,{children:[tt(H,{children:"List item"}),tt(H,{children:"List item"}),tt(H,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(s=>{s==="opened"&&(i.opened=!!t?.[s],i.popup=t?.[s]?a:void 0)}),tt("div",{children:tt(w,{placeholder:"Value",style:{width:300},...o,...i})})};Kt.options=Cm;Kt.states=Nm;Kt.variants=Im;Kt.defaultOptions=Lm;Kt.modifiers=Tm;Kt.className=w.className;var pt="radio",Dt=pt;import{jsx as an}from"react/jsx-runtime";var Qo="k-radio",Sm=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked],ym={size:[d.undefined,d.small,d.medium,d.large]},Am={},xe=e=>{let{id:t,checked:o,hover:i,focus:a,disabled:s,invalid:l,valid:p,required:u,size:m,...f}=e;return an("span",{className:"k-radio-wrap",children:an("input",{...f,id:t,type:"radio",checked:o,required:u,disabled:s||void 0,"aria-invalid":l?"true":void 0,className:n(e.className,Qo,E(Qo,{size:m}),k(Qo,{hover:i,focus:a,disabled:s,invalid:l,valid:p,checked:o}))})})};xe.states=Sm;xe.options=ym;xe.className=Qo;xe.defaultOptions=Am;xe.moduleName=pt;xe.folderName=Dt;var ke=xe;import{jsx as Mm}from"react/jsx-runtime";var rn="k-radio-list",Em=[],km={},nn={layout:"vertical"},ee=e=>{let{layout:t=nn.layout,...o}=e;return Mm("ul",{...o,className:n(e.className,rn,{[`k-list-${t}`]:t}),role:"radiogroup",children:e.children})};ee.states=Em;ee.options=km;ee.className=rn;ee.defaultOptions=nn;ee.moduleName=pt;ee.folderName=Dt;import{jsx as Pm}from"react/jsx-runtime";var sn="k-radio-list-item",Rm=[],Om={},wm={},te=e=>{let{...t}=e;return Pm("li",{...t,className:n(e.className,sn),role:"none",children:e.children})};te.states=Rm;te.options=Om;te.className=sn;te.defaultOptions=wm;te.moduleName=pt;te.folderName=Dt;import{jsx as SA}from"react/jsx-runtime";import{Fragment as Km,jsx as ln,jsxs as Dm}from"react/jsx-runtime";var $e=({children:e,id:t,...o})=>Dm(Km,{children:[ln(ke,{...o,id:t}),ln("label",{className:"k-radio-label",htmlFor:t,children:e})]});import{Fragment as wA,jsx as OA,jsxs as PA}from"react/jsx-runtime";import{Fragment as BA,jsx as HA,jsxs as zA}from"react/jsx-runtime";import{Fragment as VA,jsx as $A,jsxs as XA}from"react/jsx-runtime";import{Fragment as QA,jsx as YA,jsxs as ZA}from"react/jsx-runtime";import{Fragment as rE,jsx as aE,jsxs as nE}from"react/jsx-runtime";import{jsx as pE}from"react/jsx-runtime";import{jsx as Um}from"react/jsx-runtime";var Hm=ke.options,zm=ke.states,Bm=ke.defaultOptions,Fm=[],Gm=[],_t=e=>Um($e,{id:I("radio"),name:"value",...e,children:"Label"});_t.options=Hm;_t.states=zm;_t.variants=Fm;_t.defaultOptions=Bm;_t.modifiers=Gm;_t.className=ke.className;import{jsx as Me,jsxs as dn}from"react/jsx-runtime";var $m=ee.options,Vm=ee.states,Xm={...ee.defaultOptions,variant:"vertical"},Wm=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Jm=[],Ht=e=>{let{variant:t,...o}=e;return t==="horizontal"?dn(ee,{layout:"horizontal",...o,children:[Me(te,{children:Me($e,{id:I("rb"),name:"value",defaultChecked:!0,children:"Label"})}),Me(te,{children:Me($e,{id:I("rb"),name:"value",children:"Label"})}),Me(te,{children:Me($e,{id:I("rb"),name:"value",children:"Label"})})]}):dn(ee,{...o,children:[Me(te,{children:Me($e,{id:I("rb"),name:"value",defaultChecked:!0,children:"Label"})}),Me(te,{children:Me($e,{id:I("rb"),name:"value",children:"Label"})}),Me(te,{children:Me($e,{id:I("rb"),name:"value",children:"Label"})})]})};Ht.options=$m;Ht.states=Vm;Ht.variants=Wm;Ht.defaultOptions=Xm;Ht.modifiers=Jm;Ht.className=ee.className;import{Fragment as XE,jsx as VE,jsxs as WE}from"react/jsx-runtime";import{Fragment as ok,jsx as tk,jsxs as ik}from"react/jsx-runtime";import{Fragment as pk,jsx as dk,jsxs as mk}from"react/jsx-runtime";import{jsx as pn,jsxs as jm}from"react/jsx-runtime";var mn="k-spin-button",Qm=[],Zm={size:[d.undefined,d.small,d.medium,d.large],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link]},na={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Fe=e=>{let{size:t,fillMode:o,disabled:i,increaseLabel:a=na.increaseLabel,decreaseLabel:s=na.decreaseLabel,...l}=e;return jm("span",{...l,className:n(mn,e.className),children:[pn(g,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:i,"aria-label":a}),pn(g,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:i,"aria-label":s})]})};Fe.states=Qm;Fe.options=Zm;Fe.className=mn;Fe.defaultOptions=na;Fe.moduleName=null;Fe.folderName=null;var cn="date-input",un="dateinput";import{jsx as xo,jsxs as ic}from"react/jsx-runtime";var fn="k-dateinput",ec=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],tc={size:[d.undefined,d.small,d.medium,d.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},oc={},he=e=>{let{size:t,rounded:o,fillMode:i,value:a,placeholder:s,hover:l,focus:p,valid:u,invalid:m,required:f,loading:v,disabled:T,readonly:y,showClearButton:O,showSpinButton:M,id:S,"aria-label":A,"aria-describedby":B,...W}=e;return ic(D,{...W,size:t,rounded:o,fillMode:i,hover:l,focus:p,valid:u,invalid:m,required:f,loading:v,disabled:T,readonly:y,className:n(e.className,fn),children:[xo(ae,{id:S,placeholder:s,value:a,disabled:T,"aria-label":A,"aria-describedby":B,"aria-invalid":m?"true":void 0}),xo(q,{valid:u,invalid:m,loading:v,disabled:T}),xo(Q,{loading:v,disabled:T}),O&&xo(ie,{loading:v,disabled:T,readonly:y,value:a}),M&&xo(Fe,{className:"k-input-spinner",size:t,fillMode:i,disabled:T})]})};he.states=ec;he.options=tc;he.className=fn;he.defaultOptions=oc;he.moduleName=cn;he.folderName=un;var sa=he;import{jsx as ac}from"react/jsx-runtime";var bn=e=>ac(sa,{...e});import{jsx as wk}from"react/jsx-runtime";import{jsx as pc}from"react/jsx-runtime";var rc=he.options,nc=he.states,sc=he.defaultOptions,lc=[{name:"spin-button",title:"`Spin` Button"}],dc=[],zt=e=>{let{modifiers:t,...o}=e,i={};return Object.keys(t||{}).forEach(a=>{a==="spin-button"&&(i.showSpinButton=!!t?.[a])}),pc(bn,{value:"2/04/2021",style:{width:"300px"},...o,...i})};zt.options=rc;zt.states=nc;zt.variants=dc;zt.defaultOptions=sc;zt.modifiers=lc;zt.className=he.className;var xn="masked-textbox",hn="maskedtextbox";import{Fragment as vn,jsx as ot,jsxs as la}from"react/jsx-runtime";var Nn="k-maskedtextbox",mc=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],cc={size:[d.undefined,d.small,d.medium,d.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},da={showClearButton:!0,separators:!0},ve=e=>{let{size:t,rounded:o,fillMode:i,separators:a=da.separators,showClearButton:s=da.showClearButton,prefix:l,suffix:p,value:u,placeholder:m,hover:f,focus:v,valid:T,invalid:y,required:O,loading:M,disabled:S,readonly:A,id:B,"aria-label":W,"aria-describedby":V,...oe}=e;return la(D,{...oe,size:t,rounded:o,fillMode:i,hover:f,focus:v,valid:T,invalid:y,required:O,loading:M,disabled:S,readonly:A,className:n(e.className,Nn),children:[l&&la(vn,{children:[ot(Te,{children:l}),a&&ot(re,{})]}),ot(ae,{id:B,placeholder:m,value:u,disabled:S,"aria-label":W,"aria-describedby":V,"aria-invalid":y?"true":void 0}),ot(q,{valid:T,invalid:y,loading:M,disabled:S}),ot(Q,{loading:M,disabled:S}),s&&ot(ie,{loading:M,disabled:S,readonly:A,value:u}),p&&la(vn,{children:[a&&ot(re,{}),ot(Ie,{children:p})]})]})};ve.states=mc;ve.options=cc;ve.className=Nn;ve.defaultOptions=da;ve.moduleName=xn;ve.folderName=hn;var Bt=ve;import{jsx as uc}from"react/jsx-runtime";var Ln=e=>uc(Bt,{...e});import{Fragment as aM,jsx as iM}from"react/jsx-runtime";import{Fragment as pM,jsx as dM}from"react/jsx-runtime";import{jsx as fM}from"react/jsx-runtime";import{jsx as vM}from"react/jsx-runtime";import{jsx as pa}from"react/jsx-runtime";var fc=ve.states,bc=ve.defaultOptions,xc=ve.options,hc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],vc=[],Ft=e=>{let{modifiers:t,...o}=e,i={};return Object.keys(t||{}).forEach(a=>{switch(a){case"prefix":i.prefix=t?.[a]?pa(w,{size:o.size,value:"Choose",fillMode:"flat"}):void 0;break;case"suffix":i.suffix=t?.[a]?pa(C,{icon:"lock"}):void 0;break;case"clear-button":i.showClearButton=t?.[a];break;default:break}}),pa(Ln,{value:"Value",style:{width:300},...o,...i})};Ft.options=xc;Ft.states=fc;Ft.variants=vc;Ft.defaultOptions=bc;Ft.modifiers=hc;Ft.className=ve.className;var Cn="numeric-textbox",Tn="numerictextbox";import{Fragment as In,jsx as Ve,jsxs as ma}from"react/jsx-runtime";var gn="k-numerictextbox",Nc=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],Lc={size:[d.undefined,d.small,d.medium,d.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Zo={showSpinButton:!0,showClearButton:!0,separators:!0},Ne=e=>{let{size:t,rounded:o,fillMode:i,separators:a=Zo.separators,showClearButton:s=Zo.showClearButton,showSpinButton:l=Zo.showSpinButton,prefix:p,suffix:u,value:m,placeholder:f,hover:v,focus:T,valid:y,invalid:O,required:M,loading:S,disabled:A,readonly:B,id:W,"aria-label":V,"aria-describedby":oe,...Re}=e;return ma(D,{...Re,size:t,rounded:o,fillMode:i,hover:v,focus:T,valid:y,invalid:O,required:M,loading:S,disabled:A,readonly:B,className:n(e.className,gn),children:[p&&ma(In,{children:[Ve(Te,{children:p}),a&&Ve(re,{})]}),Ve(ae,{id:W,placeholder:f,value:m,role:"spinbutton",disabled:A,"aria-label":V,"aria-describedby":oe,"aria-invalid":O?"true":void 0}),Ve(q,{valid:y,invalid:O,loading:S,disabled:A}),Ve(Q,{loading:S,disabled:A}),s&&Ve(ie,{loading:S,disabled:A,readonly:B,value:m}),u&&ma(In,{children:[a&&Ve(re,{}),Ve(Ie,{children:u})]}),l&&Ve(Fe,{className:"k-input-spinner",size:t,fillMode:i,disabled:A})]})};Ne.states=Nc;Ne.options=Lc;Ne.className=gn;Ne.defaultOptions=Zo;Ne.moduleName=Cn;Ne.folderName=Tn;var ho=Ne;import{jsx as Cc}from"react/jsx-runtime";var Sn=e=>Cc(ho,{...e});import{Fragment as qM,jsx as JM}from"react/jsx-runtime";import{Fragment as tR,jsx as eR}from"react/jsx-runtime";import{jsx as rR}from"react/jsx-runtime";import{jsx as ca}from"react/jsx-runtime";var Tc=Ne.states,Ic=Ne.defaultOptions,gc=Ne.options,Sc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],yc=[],Gt=e=>{let{modifiers:t,...o}=e,i={};return Object.keys(t||{}).forEach(a=>{switch(a){case"prefix":i.prefix=t?.[a]?ca(w,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":i.suffix=t?.[a]?ca(Ii,{children:"mm"}):void 0;break;case"clear-button":i.showClearButton=t?.[a];break;case"spin-button":i.showSpinButton=t?.[a];break;default:break}}),ca(Sn,{value:"Value",style:{width:300},...o,...i})};Gt.options=gc;Gt.states=Tc;Gt.variants=yc;Gt.defaultOptions=Ic;Gt.modifiers=Sc;Gt.className=Ne.className;var ua="switch",yn=ua;import{jsx as jo,jsxs as An}from"react/jsx-runtime";var it="k-switch",Ac=[r.hover,r.focus,r.disabled,r.readonly,r.checked],Ec={size:[d.undefined,d.small,d.medium,d.large],trackRounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],thumbRounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full]},kc={},ue=e=>{let{checked:t,onLabel:o,offLabel:i,size:a,trackRounded:s,thumbRounded:l,hover:p,focus:u,disabled:m,readonly:f,...v}=e;return An("span",{...v,className:n(e.className,it,E(it,{size:a}),k(it,{hover:p,focus:u,disabled:m,readonly:f}),{[`${it}-on`]:t,[`${it}-off`]:!t}),role:"switch","aria-checked":t?"true":"false",tabIndex:m?void 0:0,"aria-disabled":m?"true":void 0,"aria-readonly":f?"true":void 0,children:[An("span",{className:n("k-switch-track",E(it,{rounded:s})),children:[o&&jo("span",{className:"k-switch-label-on",children:o}),i&&jo("span",{className:"k-switch-label-off",children:i})]}),jo("span",{className:"k-switch-thumb-wrap",children:jo("span",{className:n("k-switch-thumb",E(it,{rounded:l}))})})]})};ue.states=Ac;ue.options=Ec;ue.className=it;ue.defaultOptions=kc;ue.moduleName=ua;ue.folderName=yn;import{jsx as ER}from"react/jsx-runtime";import{jsx as OR}from"react/jsx-runtime";import{jsx as DR}from"react/jsx-runtime";import{jsx as BR}from"react/jsx-runtime";import{jsx as En}from"react/jsx-runtime";var Mc=ue.options,Rc=ue.states,Oc={...ue.defaultOptions,variant:"on"},wc=[{name:"on",title:"On"},{name:"off",title:"Off"}],Pc=[],Ut=e=>{let{variant:t,...o}=e;return t==="off"?En(ue,{checked:!1,onLabel:"On",offLabel:"Off",...o}):En(ue,{checked:!0,onLabel:"On",offLabel:"Off",...o})};Ut.options=Mc;Ut.states=Rc;Ut.variants=wc;Ut.defaultOptions=Oc;Ut.modifiers=Pc;Ut.className=ue.className;var ba="textarea",kn=ba;import{Fragment as Mn,jsx as vo,jsxs as xa}from"react/jsx-runtime";var Rn="k-textarea",Kc=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled],Dc={size:[d.undefined,d.small,d.medium,d.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},$t={flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},fe=e=>{let{size:t,rounded:o,fillMode:i,prefixSeparator:a=$t.prefixSeparator,suffixSeparator:s=$t.prefixSeparator,affixesOrientation:l=$t.affixesOrientation,flow:p=$t.flow,resize:u=$t.resize,prefix:m,suffix:f,rows:v,value:T,placeholder:y,hover:O,focus:M,valid:S,invalid:A,required:B,disabled:W,id:V,"aria-label":oe,"aria-describedby":Re,...at}=e;return xa(D,{...at,size:t,rounded:o,fillMode:i,hover:O,focus:M,valid:S,invalid:A,required:B,disabled:W,className:n(e.className,Rn,{"!k-flex-col":p==="vertical","!k-flex-row":p==="horizontal"}),children:[m&&xa(Mn,{children:[vo(Te,{className:n({"!k-align-items-start":p===l}),direction:l,children:m}),a&&vo(re,{direction:p==="horizontal"?"vertical":"horizontal"})]}),vo(no,{className:n("!k-overflow-auto",{"!k-flex-none":p==="vertical","k-resize-x":u==="x","k-resize-y":u==="y","k-resize":u==="both","k-resize-none":u==="none"}),value:T,placeholder:y,rows:v,disabled:W,id:V,"aria-label":oe,"aria-describedby":Re,"aria-invalid":A?"true":void 0}),f&&xa(Mn,{children:[s&&vo(re,{direction:p==="horizontal"?"vertical":"horizontal"}),vo(Ie,{className:n({"!k-align-items-start":p===l}),direction:l,children:f})]})]})};fe.states=Kc;fe.options=Dc;fe.className=Rn;fe.defaultOptions=$t;fe.moduleName=ba;fe.folderName=kn;import{jsx as sO}from"react/jsx-runtime";import{Fragment as uO,jsx as cO}from"react/jsx-runtime";import{Fragment as NO,jsx as vO}from"react/jsx-runtime";import{jsx as IO}from"react/jsx-runtime";import{jsx as ei}from"react/jsx-runtime";var _c=fe.options,Hc=fe.states,On={...fe.defaultOptions,variant:"vertical"},zc=[{name:"vertical",title:"Flow vertical"},{name:"horizontal",title:"Flow horizontal"}],Bc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"}],Vt=e=>{let{variant:t,modifiers:o,...i}={...On,...e},a={resize:"y"};return Object.keys(o||{}).forEach(s=>{switch(s){case"prefix":a.prefix=o?.[s]?ei(C,{icon:"comment"}):void 0;break;case"suffix":a.suffix=o?.[s]?ei(C,{icon:"volume-up"}):void 0;break;default:break}}),t==="horizontal"?ei(fe,{flow:"horizontal",placeholder:"Enter text...",style:{width:300},...i,...a}):ei(fe,{flow:"vertical",placeholder:"Enter text...",style:{width:300},...i,...a})};Vt.options=_c;Vt.states=Hc;Vt.variants=zc;Vt.defaultOptions=On;Vt.modifiers=Bc;Vt.className=fe.className;import{Fragment as WO,jsx as XO,jsxs as JO}from"react/jsx-runtime";import{Fragment as Xc,jsx as pe,jsxs as Xt}from"react/jsx-runtime";var Fc=U.options,Gc=U.states,Uc={...U.defaultOptions,variant:"vertical"},$c=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Vc=[],Wt=e=>{let{variant:t,size:o,...i}=e,a=Xt(wt,{legend:"Form Legend",children:[pe(Be,{label:"Label",editor:pe(_,{size:o})}),pe(Be,{label:"Label",hint:"Hint text",editor:pe(w,{value:"Dropdown List",size:o})}),pe(Be,{label:"City",editor:Xt("ul",{className:"k-radio-list k-list-horizontal",children:[Xt("li",{className:"k-radio-list-item",children:[pe(xe,{checked:!0,size:o}),pe("label",{className:"k-radio-label",children:"Label"})]}),Xt("li",{className:"k-radio-list-item",children:[pe(xe,{size:o}),pe("label",{className:"k-radio-label",children:"Label"})]}),Xt("li",{className:"k-radio-list-item",children:[pe(xe,{size:o}),pe("label",{className:"k-radio-label",children:"Label"})]})]})})]}),s=Xt(Xc,{children:[pe(g,{className:"k-form-submit",themeColor:"primary",size:o,children:"Submit"}),pe(g,{className:"k-form-clear",size:o,children:"Clear"})]});return t==="horizontal"?pe(U,{orientation:"horizontal",size:o,...i,formButtons:s,children:a}):pe(U,{size:o,...i,formButtons:s,children:a})};Wt.options=Fc;Wt.states=Gc;Wt.variants=$c;Wt.defaultOptions=Uc;Wt.modifiers=Vc;Wt.className=U.className;import{jsx as wn,jsxs as Qc}from"react/jsx-runtime";var Wc=Ae.options,Jc=Ae.states,Pn={...Ae.defaultOptions},qc=[],Yc=[{name:"showHint",title:"Show Hint"}],Jt=e=>{let{modifiers:t,...o}={...Pn,...e},i=t?.showHint??!0;return Qc("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[wn(_,{placeholder:"Component",style:{width:"200px"}}),i&&wn(Ae,{...o,children:"Hint text"})]})};Jt.options=Wc;Jt.states=Jc;Jt.variants=qc;Jt.defaultOptions=Pn;Jt.modifiers=Yc;Jt.className=Ae.className;import{jsx as Kn,jsxs as ou}from"react/jsx-runtime";var Zc=Ee.options,jc=Ee.states,Dn={...Ee.defaultOptions},eu=[],tu=[{name:"showError",title:"Show Error"}],qt=e=>{let{modifiers:t,...o}={...Dn,...e},i=t?.showError??!0;return ou("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[Kn(_,{placeholder:"Component",invalid:i,style:{width:"200px"}}),i&&Kn(Ee,{...o,children:"Error text"})]})};qt.options=Zc;qt.states=jc;qt.variants=eu;qt.defaultOptions=Dn;qt.modifiers=tu;qt.className=Ee.className;import Na from"react";import va from"react";import{jsx as au}from"react/jsx-runtime";var iu="k-treeview-group",Xe=e=>{let{children:t,dir:o,level:i=1,role:a="group",...s}=e;return au("ul",{...s,className:n(e.className,iu),role:a,children:va.Children.map(t,(l,p)=>va.isValidElement(l)?va.cloneElement(l,{dir:o,level:i,key:p}):l)})};var No="treeview",ti=No;import{jsx as _n}from"react/jsx-runtime";var La="k-treeview",ru=[],nu={size:[d.undefined,d.small,d.medium,d.large]},su={},F=e=>{let{size:t,children:o,dir:i,...a}=e;return _n("div",{...a,dir:i,className:n(e.className,La,E(La,{size:t})),children:_n(Xe,{className:"k-treeview-lines",role:"tree",dir:i,children:Na.Children.map(o,(s,l)=>Na.isValidElement(s)?Na.cloneElement(s,{dir:i,key:l}):s)})})};F.states=ru;F.options=nu;F.className=La;F.defaultOptions=su;F.moduleName=No;F.folderName=ti;import Ta from"react";import{jsx as Hn,jsxs as pu}from"react/jsx-runtime";var Ca="k-treeview-leaf",lu=[r.hover,r.focus,r.selected],du={},oi=e=>{let{text:t,showIcon:o,icon:i,children:a,hover:s,focus:l,selected:p,...u}=e;return pu("span",{...u,className:n(e.className,Ca,k(Ca,{hover:s,focus:l,selected:p})),children:[o&&Hn(C,{icon:i}),Hn("span",{className:"k-treeview-leaf-text",children:a??t})]})};oi.states=lu;oi.options=du;oi.className=Ca;var zn=oi;import{jsx as Lo,jsxs as Bn}from"react/jsx-runtime";var Fn="k-treeview-item",mu=[r.hover,r.focus,r.selected,r.disabled],cu={},uu={},P=e=>{let{leafClassName:t,children:o,hasChildren:i,expanded:a,loading:s,text:l,content:p,showIcon:u,icon:m,showCheckbox:f,checked:v,hover:T,focus:y,selected:O,disabled:M,dir:S,level:A=1,ariaSelected:B,...W}=e,V=i||o||s;return Bn("li",{...W,className:n(e.className,Fn),style:{"--kendo-treeview-level":A},role:"treeitem","aria-expanded":V?a?"true":"false":void 0,"aria-checked":f?v?"true":"false":void 0,"aria-selected":B?"true":void 0,"aria-disabled":M?"true":void 0,children:[Bn("span",{className:n("k-treeview-item-content",k("k-treeview-item-content",{hover:T,focus:y,selected:O,disabled:M})),children:[V&&Lo("span",{className:n("k-treeview-toggle",k("k-treeview-toggle",{disabled:M})),children:s?Lo("span",{className:"k-icon k-i-loading"}):Lo(C,{icon:a?"chevron-down":S==="rtl"?"chevron-left":"chevron-right"})}),f&&Lo(j,{checked:v,disabled:M,"aria-label":l,tabIndex:-1}),Lo(zn,{className:t,text:l,showIcon:u,icon:m,children:p})]}),a&&V&&Ta.Children.map(o,(oe,Re)=>Ta.isValidElement(oe)?Ta.cloneElement(oe,{dir:S,level:A+1,key:Re}):oe)]})};P.states=mu;P.options=cu;P.className=Fn;P.defaultOptions=uu;P.moduleName=No;P.folderName=ti;import{jsx as eP}from"react/jsx-runtime";import{jsx as aP,jsxs as rP}from"react/jsx-runtime";import{jsx as dP,jsxs as pP}from"react/jsx-runtime";import{jsx as fP,jsxs as bP}from"react/jsx-runtime";import{jsx as NP,jsxs as LP}from"react/jsx-runtime";import{jsx as gP,jsxs as SP}from"react/jsx-runtime";import{jsx as mt,jsxs as Ia}from"react/jsx-runtime";var fu=F.options,bu=F.states,xu=F.defaultOptions,hu=[{name:"checkboxes",title:"Show `Checkbox`",default:!1}],vu=[],Yt=e=>{let{modifiers:t,...o}=e,i={};return Object.keys(t||{}).forEach(a=>{a==="checkboxes"&&(i.showCheckbox=t?.[a])}),Ia(F,{...o,children:[mt(P,{text:"Furniture",expanded:!0,...i,children:Ia(Xe,{children:[mt(P,{text:"Tables & Chairs",...i}),mt(P,{text:"Sofas",...i}),mt(P,{text:"Occasional Furniture",...i})]})}),Ia(P,{text:"Decor",expanded:!1,...i,children:[mt(P,{text:"Bed Linen",...i}),mt(P,{text:"Curtains & Blinds",...i}),mt(P,{text:"Carpets",...i})]})]})};Yt.options=fu;Yt.states=bu;Yt.variants=vu;Yt.defaultOptions=xu;Yt.modifiers=hu;Yt.className=F.className;import{Fragment as jP,jsx as ZP,jsxs as eK}from"react/jsx-runtime";import{Fragment as pK,jsx as dK,jsxs as mK}from"react/jsx-runtime";import{Fragment as We,jsx as h,jsxs as K}from"react/jsx-runtime";var Nu=be.options,Lu=be.states,Gn={...be.defaultOptions,variant:"top"},Cu=[{name:"top",title:"Top"},{name:"right",title:"Right"},{name:"left",title:"Left"},{name:"bottom",title:"Bottom"}],Tu=[{name:"open",title:"Open Settings"}],Qt=e=>{let{variant:t,modifiers:o,...i}={...Gn,...e},a=h(We,{children:K(me,{children:[K("colgroup",{children:[h("col",{}),h("col",{})]}),K(Le,{children:[K(R,{children:[h(b,{as:"th",colSpan:1,rowSpan:5,toggle:"up",headerTitle:"Regions",headerRootCell:!0}),h(b,{as:"th",colSpan:1,headerTitle:"South America"})]}),h(R,{children:h(b,{as:"th",colSpan:1,headerTitle:"North America"})}),h(R,{children:h(b,{as:"th",colSpan:1,headerTitle:"Europe"})}),h(R,{children:h(b,{as:"th",colSpan:1,headerTitle:"Asia"})}),h(R,{children:h(b,{as:"th",colSpan:1,headerTitle:"Africa"})}),h(R,{children:h(b,{as:"th",colSpan:2,headerTitle:"Regions",headerRootCell:!0,headerTotalCell:!0})})]})]})}),s=h(We,{children:K(me,{children:[K("colgroup",{children:[h("col",{width:"150"}),h("col",{width:"150"})]}),K(Le,{children:[h(R,{children:h(b,{as:"th",colSpan:2,toggle:"up",headerTitle:"Categories",headerRootCell:!0})}),K(R,{children:[h(b,{as:"th",colSpan:1,headerTitle:"Seafood"}),h(b,{as:"th",colSpan:1,headerTitle:"Beverages"})]}),K(R,{children:[h(b,{as:"th",colSpan:1,toggle:"down",headerTitle:"Products",headerRootCell:!0}),h(b,{as:"th",colSpan:1,toggle:"down",headerTitle:"Products",headerRootCell:!0})]})]})]})}),l=h(We,{children:K(me,{children:[K("colgroup",{children:[h("col",{width:"150"}),h("col",{width:"150"})]}),K(Le,{children:[K(R,{children:[h(b,{as:"td",colSpan:1,content:"1847.00"}),h(b,{as:"td",colSpan:1,content:"1488.00"})]}),K(R,{children:[h(b,{as:"td",colSpan:1,content:"1998.00"}),h(b,{as:"td",colSpan:1,content:"1406.00"})]}),K(R,{children:[h(b,{as:"td",colSpan:1,content:"2065.00"}),h(b,{as:"td",colSpan:1,content:"1242.00"})]}),K(R,{children:[h(b,{as:"td",colSpan:1,content:"1830.00"}),h(b,{as:"td",colSpan:1,content:"1579.00"})]}),K(R,{children:[h(b,{as:"td",colSpan:1,content:"2005.00"}),h(b,{as:"td",colSpan:1,content:"1441.00"})]}),K(R,{children:[h(b,{as:"td",colSpan:1,content:"9745.00",totalCell:!0}),h(b,{as:"td",colSpan:1,content:"7156.00",totalCell:!0})]})]})]})}),p=h(We,{children:h(Ce,{mode:"overlay",children:K(U,{className:"k-form-horizontal",children:[h("div",{className:"k-form-field",children:h("label",{className:"k-label",children:"Fields"})}),h("div",{className:"k-form-field",children:h("div",{className:"k-fields-list-wrapper",children:K(F,{children:[h(P,{checked:!0,showCheckbox:!0,text:"Category"}),h(P,{checked:!0,showCheckbox:!0,text:"Product"})]})})}),h("div",{className:"k-form-field",children:h("label",{className:"k-label",children:"Columns"})}),K($,{className:"k-column-fields",children:[h(X,{text:"Category",actions:K(We,{children:[h(J,{type:"more"}),h(J,{type:"remove"})]})}),h(X,{text:"Product",actions:K(We,{children:[h(J,{type:"more"}),h(J,{type:"remove"})]})})]}),h("div",{className:"k-form-field",children:h("label",{className:"k-label",children:"Rows"})}),h($,{className:"k-row-fields",children:h(X,{text:"Region",actions:K(We,{children:[h(J,{type:"more"}),h(J,{type:"remove"})]})})})]})})}),u=h(We,{});Object.keys(o||{}).forEach(v=>{v==="open"&&(u=o?.[v]?p:h(We,{}))});let m={left:"k-d-flex k-flex-row-reverse k-pos-relative",bottom:"k-d-flex k-flex-col k-pos-relative",top:"k-d-flex k-flex-col-reverse k-pos-relative",right:"k-d-flex k-flex-row k-pos-relative"},f=m[t]||m.right;return K("div",{className:f,children:[h(At,{rowHeaders:a,columnHeaders:s,children:l,style:{gridTemplateRows:"111px 1fr",gridTemplateColumns:"236px 1fr"},...i}),u,h(Ge,{})]})};Qt.options=Nu;Qt.states=Lu;Qt.variants=Cu;Qt.defaultOptions=Gn;Qt.modifiers=Tu;Qt.className=be.className;import{jsx as Un}from"react/jsx-runtime";var GK=e=>Un(At,{configurator:Un(Ce,{}),configuratorDisplay:"closed",...e});export{GK as PivotGridWithConfigurator};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var l=(...t)=>t.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?l(...e):typeof e=="object"?Object.keys(e).map((o,s)=>e[s]||e[o]&&o||null).filter(o=>o!==null).join(" "):e).filter(e=>!!e).join(" ");var T=(t,e)=>l({[`${t}-xs`]:e.size==="xsmall",[`${t}-sm`]:e.size==="small",[`${t}-md`]:e.size==="medium",[`${t}-lg`]:e.size==="large",[`${t}-xl`]:e.size==="xlarge",[`${t}-xxl`]:e.size==="xxlarge",[`${t}-xxxl`]:e.size==="xxxlarge"},{[`${t}-${e.fillMode}`]:e.fillMode},{[`${t}-${e.themeColor}`]:e.themeColor},{"k-rounded-sm":e.rounded==="small","k-rounded-md":e.rounded==="medium","k-rounded-lg":e.rounded==="large","k-rounded-full":e.rounded==="full","k-rounded-none":e.rounded==="none"}),pe=(t,e)=>{let{valid:o,invalid:s,hover:r,focus:d,checked:p,active:c,selected:v,disabled:m,indeterminate:f,loading:N,empty:B,readonly:_,highlighted:K,...C}=e;return l({"k-valid":o,"k-invalid":s,"k-hover":r,"k-focus":d,"k-checked":p,"k-active":c,"k-selected":v,"k-disabled":m,"k-indeterminate":f&&!p,"k-loading":N,"k-empty":B,"k-readonly":_,"k-highlighted":K},Object.keys(C).reduce((u,O)=>(O.startsWith("k-")?u[O]=C[O]:u[`k-${O}`]=C[O],u),{}))};function ue(t,e){if(!e)return{};let o=Array.isArray(e)?e:[e];return Object.fromEntries(o.map(s=>[`k-${s}`,!0]))}var a={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},A={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},g={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},y={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},n={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},b={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};import{jsx as we}from"react/jsx-runtime";var Q="k-input-inner",Ke=[],Le={},V={type:"text",autocomplete:"off",value:"",placeholder:""},H=t=>{let{value:e=V.value,type:o=V.type,placeholder:s=V.placeholder,autocomplete:r=V.autocomplete,disabled:d,readOnly:p,...c}=t;return we("input",{...c,type:o,className:l(t.className,Q,T(Q,t)),placeholder:s,autoComplete:r,defaultValue:e,disabled:d||void 0,readOnly:p||void 0})};H.states=Ke;H.options=Le;H.className=Q;import{jsx as He}from"react/jsx-runtime";var Y="k-input-inner",ze=[],Re={},me={value:"",placeholder:""},$=t=>{let{value:e=me.value,placeholder:o=me.placeholder,rows:s,disabled:r,...d}=t;return He("textarea",{...d,className:l(t.className,Y,T(Y,t)),placeholder:o,rows:s,defaultValue:e,disabled:r||void 0})};$.states=ze;$.options=Re;$.className=Y;var Z="prompt-box",fe=Z;import{Fragment as Fe,jsx as xe}from"react/jsx-runtime";var j="k-font-icon",$e=[],De={size:[a.undefined,a.xsmall,a.small,a.medium,a.large,a.xlarge,a.xxlarge,a.xxxlarge],themeColor:[n.undefined,n.base,n.primary,n.secondary,n.tertiary,n.success,n.warning,n.error,n.info]},Ue={},D=t=>{let{size:e,themeColor:o,icon:s,rotate:r,flip:d,...p}=t;return s?xe("span",{...p,className:l(t.className,j,T(j,{size:e}),{[`k-i-${s}`]:s,[`k-color-${o}`]:o,[`k-rotate-${r}`]:r,"k-flip-h":d==="h"||d==="both","k-flip-v":d==="v"||d==="both"}),"aria-hidden":"true"}):xe(Fe,{})};D.states=$e;D.options=De;D.className=j;D.defaultOptions=Ue;var he=D;import{Fragment as Ge,jsx as G}from"react/jsx-runtime";var ee="k-svg-icon",Xe=[],Ve={size:[a.undefined,a.xsmall,a.small,a.medium,a.large,a.xlarge,a.xxlarge,a.xxxlarge],themeColor:[n.undefined,n.base,n.primary,n.secondary,n.tertiary,n.success,n.warning,n.error,n.info],variant:[y.outline,y.solid,y.duotone]},te={viewBox:"0 0 24 24",variant:y.outline},U=t=>{let{size:e,themeColor:o,rotate:s,flip:r,viewBox:d=te.viewBox,variant:p=te.variant,icon:c,...v}=t;if(!c)return G(Ge,{});if(c==="none")return G("span",{...v,className:l(t.className,ee,T("k-icon",{size:e}),"k-none"),"aria-hidden":"true"});let m=typeof c=="object"&&c.name&&c.name,f=typeof c=="object"?p&&c.variants?.[p]||c.variants?.outline||c.content:void 0;return G("span",{...v,className:l(t.className,ee,T("k-icon",{size:e}),{[`k-svg-i-${m}`]:m,[`k-color-${o}`]:o,[`k-rotate-${s}`]:s,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),"aria-hidden":"true",children:G("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:d,dangerouslySetInnerHTML:f!==void 0?{__html:f}:void 0,children:c?void 0:t.children})})};U.states=Xe;U.options=Ve;U.className=ee;U.defaultOptions=te;var oe=U;import*as ne from"@progress/kendo-svg-icons";var ge="icon",Te="icons";import{useContext as qe}from"react";import{createContext as Je}from"react";var be=Je({iconsType:"svg"});import{Fragment as ve,jsx as F}from"react/jsx-runtime";var J="k-icon",We=t=>t.replace(/([-_][a-z0-9])/gi,e=>e.toUpperCase().replace("-","").replace("_","")),Qe=[],Ye={size:[a.undefined,a.xsmall,a.small,a.medium,a.large,a.xlarge,a.xxlarge,a.xxxlarge],themeColor:[n.undefined,n.base,n.primary,n.secondary,n.tertiary,n.success,n.warning,n.error,n.info],variant:[y.outline,y.solid,y.duotone]},q={viewBox:"0 0 24 24",type:"svg",variant:y.outline},S=t=>{let{iconsType:e}=qe(be),{size:o,themeColor:s,icon:r,type:d=e||q.type,rotate:p,flip:c,viewBox:v=q.viewBox,variant:m=q.variant,...f}=t;if(!r)return F(ve,{});if((e||d)==="svg"){if(r==="none")return F(oe,{...f,className:l(t.className,J),icon:r,size:o,variant:m});let B=ne[r]?r:We(`${r}-icon`);return ne[B]?F(oe,{...f,className:l(t.className,J),icon:ne[B],size:o,themeColor:s,rotate:p,flip:c,viewBox:v,variant:m}):F(ve,{})}return F(he,{...f,className:l(t.className,J),icon:r,size:o,themeColor:s,rotate:p,flip:c})};S.states=Qe;S.options=Ye;S.defaultOptions=q;S.className=J;S.moduleName=ge;S.folderName=Te;var ae="button",Ne=ae;import{Fragment as Be,jsx as w,jsxs as ye}from"react/jsx-runtime";var X="k-button",Ze=["icon-button"],je=[b.hover,b.focus,b.active,b.selected,b.disabled,b.generating],et={size:[a.undefined,a.xsmall,a.small,a.medium,a.large],rounded:[A.undefined,A.none,A.small,A.medium,A.large,A.full],fillMode:[g.undefined,g.solid,g.flat,g.outline,g.clear,g.link],themeColor:[n.undefined,n.base,n.primary,n.secondary,n.tertiary,n.success,n.warning,n.error,n.info,n.inverse]},se={showArrow:!1,arrowIconName:"chevron-down"},i=t=>{let{as:e="button",size:o,rounded:s,fillMode:r,themeColor:d,showArrow:p=se.showArrow,arrowIconName:c=se.arrowIconName,variant:v,hover:m,focus:f,active:N,selected:B,disabled:_,togglable:K,ariaDisabled:C,icon:u,iconSize:O,text:L,iconClassName:W,className:Ae,...Ie}=t,Pe=u!=null,_e=t.children!==void 0;return ye(e,{className:l(Ae,X,ue(X,v),T(X,{size:o,rounded:s,fillMode:r,themeColor:d}),pe(X,{hover:m,focus:f,active:N,disabled:_||C,selected:B}),{"k-icon-button":!L&&!_e&&Pe}),"aria-pressed":K?B?"true":"false":void 0,...Ie,"aria-disabled":C?"true":void 0,disabled:_||void 0,children:[typeof u=="string"&&u&&w(S,{className:l(W,"k-button-icon"),icon:u,size:O}),u&&typeof u!="string"&&w(Be,{children:u}),L?ye(Be,{children:[L&&w("span",{className:"k-button-text",children:L}),t.children]}):t.children&&w("span",{className:"k-button-text",children:t.children}),p&&w("span",{className:"k-menu-button-arrow k-button-arrow",children:w(S,{icon:c})})]})};i.states=je;i.options=et;i.variants=Ze;i.className=X;i.defaultOptions=se;i.moduleName=ae;i.folderName=Ne;import{jsx as tt}from"react/jsx-runtime";var E=t=>tt(i,{icon:"folder",...t,"aria-label":t["aria-label"]||"Folder",children:void 0});import{jsx as ot}from"react/jsx-runtime";var Me=t=>ot(i,{icon:"folder",children:"Button",...t});import{jsx as nt}from"react/jsx-runtime";var Oe=t=>nt(i,{children:"Button",...t});import{jsx as re}from"react/jsx-runtime";var at=i.options,st=i.states,rt={...i.defaultOptions,variant:"text"},it=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],lt=[],z=t=>{let{variant:e,...o}=t;switch(e){case"icon-only":return re(E,{...o,icon:"star"});case"icon-and-text":return re(Me,{...o,icon:"star",children:"Button"});default:return re(Oe,{...o,children:"Button"})}};z.options=at;z.states=st;z.variants=it;z.defaultOptions=rt;z.modifiers=lt;z.className=i.className;var ie="speech-to-text-button",Se=ie;import{jsx as dt}from"react/jsx-runtime";var Ee="k-speech-to-text-button",Ce={icon:"microphone"},x=t=>{let{listening:e=!1,icon:o=Ce.icon,...s}=t;return dt(i,{...s,icon:e?"stop":o,className:l(t.className,Ee,{"k-listening":e}),"aria-pressed":e?"true":"false","aria-label":e?"Stop listening":"Start listening"})};x.states=i.states;x.options=i.options;x.className=Ee;x.defaultOptions=Ce;x.moduleName=ie;x.folderName=Se;import{jsx as Jo}from"react/jsx-runtime";import{jsx as Yo}from"react/jsx-runtime";import{jsx as ft}from"react/jsx-runtime";var ct=i.states,ke={...i.defaultOptions,variant:"normal"},pt={...i.options,fillMode:i.options.fillMode.filter(t=>t!=="clear"&&t!=="link")},ut=[],mt=[{name:"normal",title:"Normal"},{name:"listening",title:"Listening"}],R=t=>{let{variant:e,...o}={...ke,...t},s={};return e==="listening"&&(s.listening=!0),ft(x,{...o,...s})};R.options=pt;R.states=ct;R.variants=mt;R.defaultOptions=ke;R.modifiers=ut;R.className=x.className;import{jsx as I,jsxs as le}from"react/jsx-runtime";var M="k-prompt-box",xt=[b.hover,b.focus,b.disabled],ht={fillMode:[g.undefined,g.solid,g.flat,g.outline]},de={lineMode:"auto",isExpanded:!1},h=t=>{let{fillMode:e,lineMode:o=de.lineMode,startAffix:s,endAffix:r,header:d,isExpanded:p=de.isExpanded,className:c,children:v,value:m,placeholder:f,generating:N,actionButtonConfig:B,speechToTextButtonConfig:_,uploadButtonConfig:K,hover:C,focus:u,disabled:O,...L}=t,W=o==="multi"||o==="auto"&&p;return le("div",{...L,className:l(c,"k-input",M,{[`${M}-singleline`]:o==="single",[`${M}-multiline`]:W,[`k-input-${e}`]:e,"k-hover":C,"k-focus":u,"k-disabled":O}),children:[d&&I("div",{className:`${M}-header`,children:d}),le("div",{className:`${M}-content`,children:[s&&I("div",{className:`${M}-affix`,children:s}),o==="single"?I(H,{value:m,placeholder:f,className:`${M}-input`,type:"text","aria-label":"Prompt input"}):I($,{value:m,placeholder:f,className:`${M}-textarea`,rows:o==="multi"||p?3:1,"aria-label":"Prompt input","aria-multiline":"true"}),le("div",{className:`${M}-affix`,children:[r,K&&I(E,{icon:"paperclip",size:"small",fillMode:"flat",rounded:"full","aria-label":"Attach files",...K}),I(x,{size:"small",fillMode:"flat",rounded:"full",..._}),I(E,{icon:N?"stop":"arrow-up",size:"small",rounded:"full",active:N,disabled:!m&&!N,"aria-label":N?"Stop generating":"Send prompt","aria-live":"polite",...B,className:l({"k-generating":N},B?.className)})]})]}),v]})};h.states=xt;h.options=ht;h.className=M;h.defaultOptions=de;h.moduleName=Z;h.folderName=fe;import{Fragment as ce,jsx as k,jsxs as Bt}from"react/jsx-runtime";var gt=h.options,Tt=h.states,bt={...h.defaultOptions,variant:"Single"},vt=[{name:"Single",title:"Singleline"},{name:"Multi",title:"Multiline"}],Nt=[{name:"header",title:"Header"},{name:"endAffix",title:"End Affix"},{name:"startAffix",title:"Start Affix"}],P=t=>{let{variant:e,modifiers:o,...s}=t,r={},d=k(ce,{children:k(E,{size:"small",icon:"send",fillMode:"flat"})});return Object.keys(o||{}).forEach(p=>{switch(p){case"header":r.header=o?.[p]?k(i,{children:"Button in header"}):void 0;break;case"endAffix":o?.[p]&&(r.endAffix=Bt(ce,{children:[d,k(E,{icon:"paperclip",size:"small",fillMode:"flat"})]}));break;case"startAffix":r.startAffix=o?.[p]?k(ce,{children:k(E,{icon:"plus",size:"small",fillMode:"flat"})}):void 0;break;default:break}}),e==="Multi"?k(h,{style:{width:300},lineMode:"multi",endAffix:d,placeholder:"Enter your prompt...",...s,...r}):k(h,{style:{width:300},lineMode:"single",endAffix:d,placeholder:"Enter your prompt...",...s,...r})};P.options=gt;P.states=Tt;P.variants=vt;P.defaultOptions=bt;P.modifiers=Nt;P.className=h.className;var Mn=P;export{P as PromptBoxDemo,Mn as default};
|
|
1
|
+
var l=(...t)=>t.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?l(...e):typeof e=="object"?Object.keys(e).map((o,s)=>e[s]||e[o]&&o||null).filter(o=>o!==null).join(" "):e).filter(e=>!!e).join(" ");var T=(t,e)=>l({[`${t}-xs`]:e.size==="xsmall",[`${t}-sm`]:e.size==="small",[`${t}-md`]:e.size==="medium",[`${t}-lg`]:e.size==="large",[`${t}-xl`]:e.size==="xlarge",[`${t}-xxl`]:e.size==="xxlarge",[`${t}-xxxl`]:e.size==="xxxlarge"},{[`${t}-${e.fillMode}`]:e.fillMode},{[`${t}-${e.themeColor}`]:e.themeColor},{"k-rounded-sm":e.rounded==="small","k-rounded-md":e.rounded==="medium","k-rounded-lg":e.rounded==="large","k-rounded-full":e.rounded==="full","k-rounded-none":e.rounded==="none"}),pe=(t,e)=>{let{valid:o,invalid:s,hover:r,focus:d,checked:p,active:c,selected:v,disabled:m,indeterminate:f,loading:N,empty:B,readonly:A,highlighted:K,...C}=e;return l({"k-valid":o,"k-invalid":s,"k-hover":r,"k-focus":d,"k-checked":p,"k-active":c,"k-selected":v,"k-disabled":m,"k-indeterminate":f&&!p,"k-loading":N,"k-empty":B,"k-readonly":A,"k-highlighted":K},Object.keys(C).reduce((u,O)=>(O.startsWith("k-")?u[O]=C[O]:u[`k-${O}`]=C[O],u),{}))};function ue(t,e){if(!e)return{};let o=Array.isArray(e)?e:[e];return Object.fromEntries(o.map(s=>[`k-${s}`,!0]))}var a={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},I={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},g={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},y={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},n={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},b={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};import{jsx as we}from"react/jsx-runtime";var Q="k-input-inner",Ke=[],Le={},V={type:"text",autocomplete:"off",value:"",placeholder:""},H=t=>{let{value:e=V.value,type:o=V.type,placeholder:s=V.placeholder,autocomplete:r=V.autocomplete,disabled:d,readOnly:p,...c}=t;return we("input",{...c,type:o,className:l(t.className,Q,T(Q,t)),placeholder:s,autoComplete:r,defaultValue:e,disabled:d||void 0,readOnly:p||void 0})};H.states=Ke;H.options=Le;H.className=Q;import{jsx as He}from"react/jsx-runtime";var Y="k-input-inner",ze=[],Re={},me={value:"",placeholder:""},$=t=>{let{value:e=me.value,placeholder:o=me.placeholder,rows:s,disabled:r,...d}=t;return He("textarea",{...d,className:l(t.className,Y,T(Y,t)),placeholder:o,rows:s,defaultValue:e,disabled:r||void 0})};$.states=ze;$.options=Re;$.className=Y;var Z="prompt-box",fe=Z;import{Fragment as Fe,jsx as xe}from"react/jsx-runtime";var j="k-font-icon",$e=[],De={size:[a.undefined,a.xsmall,a.small,a.medium,a.large,a.xlarge,a.xxlarge,a.xxxlarge],themeColor:[n.undefined,n.base,n.primary,n.secondary,n.tertiary,n.success,n.warning,n.error,n.info]},Ue={},D=t=>{let{size:e,themeColor:o,icon:s,rotate:r,flip:d,...p}=t;return s?xe("span",{...p,className:l(t.className,j,T(j,{size:e}),{[`k-i-${s}`]:s,[`k-color-${o}`]:o,[`k-rotate-${r}`]:r,"k-flip-h":d==="h"||d==="both","k-flip-v":d==="v"||d==="both"}),"aria-hidden":"true"}):xe(Fe,{})};D.states=$e;D.options=De;D.className=j;D.defaultOptions=Ue;var he=D;import{Fragment as Ge,jsx as G}from"react/jsx-runtime";var ee="k-svg-icon",Xe=[],Ve={size:[a.undefined,a.xsmall,a.small,a.medium,a.large,a.xlarge,a.xxlarge,a.xxxlarge],themeColor:[n.undefined,n.base,n.primary,n.secondary,n.tertiary,n.success,n.warning,n.error,n.info],variant:[y.outline,y.solid,y.duotone]},te={viewBox:"0 0 24 24",variant:y.outline},U=t=>{let{size:e,themeColor:o,rotate:s,flip:r,viewBox:d=te.viewBox,variant:p=te.variant,icon:c,...v}=t;if(!c)return G(Ge,{});if(c==="none")return G("span",{...v,className:l(t.className,ee,T("k-icon",{size:e}),"k-none"),"aria-hidden":"true"});let m=typeof c=="object"&&c.name&&c.name,f=typeof c=="object"?p&&c.variants?.[p]||c.variants?.outline||c.content:void 0;return G("span",{...v,className:l(t.className,ee,T("k-icon",{size:e}),{[`k-svg-i-${m}`]:m,[`k-color-${o}`]:o,[`k-rotate-${s}`]:s,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),"aria-hidden":"true",children:G("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:d,dangerouslySetInnerHTML:f!==void 0?{__html:f}:void 0,children:c?void 0:t.children})})};U.states=Xe;U.options=Ve;U.className=ee;U.defaultOptions=te;var oe=U;import*as ne from"@progress/kendo-svg-icons";var ge="icon",Te="icons";import{useContext as qe}from"react";import{createContext as Je}from"react";var be=Je({iconsType:"svg"});import{Fragment as ve,jsx as F}from"react/jsx-runtime";var J="k-icon",We=t=>t.replace(/([-_][a-z0-9])/gi,e=>e.toUpperCase().replace("-","").replace("_","")),Qe=[],Ye={size:[a.undefined,a.xsmall,a.small,a.medium,a.large,a.xlarge,a.xxlarge,a.xxxlarge],themeColor:[n.undefined,n.base,n.primary,n.secondary,n.tertiary,n.success,n.warning,n.error,n.info],variant:[y.outline,y.solid,y.duotone]},q={viewBox:"0 0 24 24",type:"svg",variant:y.outline},S=t=>{let{iconsType:e}=qe(be),{size:o,themeColor:s,icon:r,type:d=e||q.type,rotate:p,flip:c,viewBox:v=q.viewBox,variant:m=q.variant,...f}=t;if(!r)return F(ve,{});if((e||d)==="svg"){if(r==="none")return F(oe,{...f,className:l(t.className,J),icon:r,size:o,variant:m});let B=ne[r]?r:We(`${r}-icon`);return ne[B]?F(oe,{...f,className:l(t.className,J),icon:ne[B],size:o,themeColor:s,rotate:p,flip:c,viewBox:v,variant:m}):F(ve,{})}return F(he,{...f,className:l(t.className,J),icon:r,size:o,themeColor:s,rotate:p,flip:c})};S.states=Qe;S.options=Ye;S.defaultOptions=q;S.className=J;S.moduleName=ge;S.folderName=Te;var ae="button",Ne=ae;import{Fragment as Be,jsx as w,jsxs as ye}from"react/jsx-runtime";var X="k-button",Ze=["icon-button"],je=[b.hover,b.focus,b.active,b.selected,b.disabled,b.generating],et={size:[a.undefined,a.xsmall,a.small,a.medium,a.large],rounded:[I.undefined,I.none,I.small,I.medium,I.large,I.full],fillMode:[g.undefined,g.solid,g.flat,g.outline,g.clear,g.link],themeColor:[n.undefined,n.base,n.primary,n.secondary,n.tertiary,n.success,n.warning,n.error,n.info,n.inverse]},se={showArrow:!1,arrowIconName:"chevron-down"},i=t=>{let{as:e="button",size:o,rounded:s,fillMode:r,themeColor:d,showArrow:p=se.showArrow,arrowIconName:c=se.arrowIconName,variant:v,hover:m,focus:f,active:N,selected:B,disabled:A,togglable:K,ariaDisabled:C,icon:u,iconSize:O,text:L,iconClassName:W,className:Ae,...Ie}=t,Pe=u!=null,_e=t.children!==void 0;return ye(e,{className:l(Ae,X,ue(X,v),T(X,{size:o,rounded:s,fillMode:r,themeColor:d}),pe(X,{hover:m,focus:f,active:N,disabled:A||C,selected:B}),{"k-icon-button":!L&&!_e&&Pe}),"aria-pressed":K?B?"true":"false":void 0,...Ie,"aria-disabled":C?"true":void 0,disabled:A||void 0,children:[typeof u=="string"&&u&&w(S,{className:l(W,"k-button-icon"),icon:u,size:O}),u&&typeof u!="string"&&w(Be,{children:u}),L?ye(Be,{children:[L&&w("span",{className:"k-button-text",children:L}),t.children]}):t.children&&w("span",{className:"k-button-text",children:t.children}),p&&w("span",{className:"k-menu-button-arrow k-button-arrow",children:w(S,{icon:c})})]})};i.states=je;i.options=et;i.variants=Ze;i.className=X;i.defaultOptions=se;i.moduleName=ae;i.folderName=Ne;import{jsx as tt}from"react/jsx-runtime";var E=t=>tt(i,{icon:"folder",...t,"aria-label":t["aria-label"]||"Folder",children:void 0});import{jsx as ot}from"react/jsx-runtime";var Me=t=>ot(i,{icon:"folder",children:"Button",...t});import{jsx as nt}from"react/jsx-runtime";var Oe=t=>nt(i,{children:"Button",...t});import{jsx as re}from"react/jsx-runtime";var at=i.options,st=i.states,rt={...i.defaultOptions,variant:"text"},it=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],lt=[],z=t=>{let{variant:e,...o}=t;switch(e){case"icon-only":return re(E,{...o,icon:"star"});case"icon-and-text":return re(Me,{...o,icon:"star",children:"Button"});default:return re(Oe,{...o,children:"Button"})}};z.options=at;z.states=st;z.variants=it;z.defaultOptions=rt;z.modifiers=lt;z.className=i.className;var ie="speech-to-text-button",Se=ie;import{jsx as dt}from"react/jsx-runtime";var Ee="k-speech-to-text-button",Ce={icon:"microphone"},x=t=>{let{listening:e=!1,icon:o=Ce.icon,...s}=t;return dt(i,{...s,icon:e?"stop":o,className:l(t.className,Ee,{"k-listening":e}),"aria-pressed":e?"true":"false","aria-label":e?"Stop listening":"Start listening"})};x.states=i.states;x.options=i.options;x.className=Ee;x.defaultOptions=Ce;x.moduleName=ie;x.folderName=Se;import{jsx as Jo}from"react/jsx-runtime";import{jsx as Yo}from"react/jsx-runtime";import{jsx as ft}from"react/jsx-runtime";var ct=i.states,ke={...i.defaultOptions,variant:"normal"},pt={...i.options,fillMode:i.options.fillMode.filter(t=>t!=="clear"&&t!=="link")},ut=[],mt=[{name:"normal",title:"Normal"},{name:"listening",title:"Listening"}],R=t=>{let{variant:e,...o}={...ke,...t},s={};return e==="listening"&&(s.listening=!0),ft(x,{...o,...s})};R.options=pt;R.states=ct;R.variants=mt;R.defaultOptions=ke;R.modifiers=ut;R.className=x.className;import{jsx as P,jsxs as le}from"react/jsx-runtime";var M="k-prompt-box",xt=[b.hover,b.focus,b.disabled],ht={fillMode:[g.undefined,g.solid,g.flat,g.outline]},de={lineMode:"auto",isExpanded:!1},h=t=>{let{fillMode:e,lineMode:o=de.lineMode,startAffix:s,endAffix:r,header:d,isExpanded:p=de.isExpanded,className:c,children:v,value:m,placeholder:f,generating:N,actionButtonConfig:B,speechToTextButtonConfig:A,uploadButtonConfig:K,hover:C,focus:u,disabled:O,...L}=t,W=o==="multi"||o==="auto"&&p;return le("div",{...L,className:l(c,"k-input",M,{[`${M}-singleline`]:o==="single",[`${M}-multiline`]:W,[`k-input-${e}`]:e,"k-hover":C,"k-focus":u,"k-disabled":O}),children:[d&&P("div",{className:`${M}-header`,children:d}),le("div",{className:`${M}-content`,children:[s&&P("div",{className:`${M}-affix`,children:s}),o==="single"?P(H,{value:m,placeholder:f,className:`${M}-input`,type:"text","aria-label":"Prompt input"}):P($,{value:m,placeholder:f,className:`${M}-textarea`,rows:o==="multi"||p?3:1,"aria-label":"Prompt input","aria-multiline":"true"}),le("div",{className:`${M}-affix`,children:[r,K&&P(E,{icon:"paperclip",size:"small",fillMode:"flat",rounded:"full","aria-label":"Attach files",...K}),A!==!1&&P(x,{size:"small",fillMode:"flat",rounded:"full",...A}),P(E,{icon:N?"stop":"arrow-up",size:"small",rounded:"full",active:N,disabled:!m&&!N,"aria-label":N?"Stop generating":"Send prompt","aria-live":"polite",...B,className:l({"k-generating":N},B?.className)})]})]}),v]})};h.states=xt;h.options=ht;h.className=M;h.defaultOptions=de;h.moduleName=Z;h.folderName=fe;import{Fragment as ce,jsx as k,jsxs as Bt}from"react/jsx-runtime";var gt=h.options,Tt=h.states,bt={...h.defaultOptions,variant:"Single"},vt=[{name:"Single",title:"Singleline"},{name:"Multi",title:"Multiline"}],Nt=[{name:"header",title:"Header"},{name:"endAffix",title:"End Affix"},{name:"startAffix",title:"Start Affix"}],_=t=>{let{variant:e,modifiers:o,...s}=t,r={},d=k(ce,{children:k(E,{size:"small",icon:"send",fillMode:"flat"})});return Object.keys(o||{}).forEach(p=>{switch(p){case"header":r.header=o?.[p]?k(i,{children:"Button in header"}):void 0;break;case"endAffix":o?.[p]&&(r.endAffix=Bt(ce,{children:[d,k(E,{icon:"paperclip",size:"small",fillMode:"flat"})]}));break;case"startAffix":r.startAffix=o?.[p]?k(ce,{children:k(E,{icon:"plus",size:"small",fillMode:"flat"})}):void 0;break;default:break}}),e==="Multi"?k(h,{style:{width:300},lineMode:"multi",endAffix:d,placeholder:"Enter your prompt...",...s,...r}):k(h,{style:{width:300},lineMode:"single",endAffix:d,placeholder:"Enter your prompt...",...s,...r})};_.options=gt;_.states=Tt;_.variants=vt;_.defaultOptions=bt;_.modifiers=Nt;_.className=h.className;var Mn=_;export{_ as PromptBoxDemo,Mn as default};
|