@progress/kendo-themes-html 14.7.0-dev.2 → 14.7.0-dev.3
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 r=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?r(...t):typeof t=="object"?Object.keys(t).map((o,n)=>t[n]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var A=(e,t)=>r({[`${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"}),g=(e,t)=>{let{valid:o,invalid:n,hover:a,focus:l,checked:d,active:p,selected:u,disabled:h,indeterminate:b,loading:C,empty:I,readonly:y,highlighted:k,...L}=t;return r({"k-valid":o,"k-invalid":n,"k-hover":a,"k-focus":l,"k-checked":d,"k-active":p,"k-selected":u,"k-disabled":h,"k-indeterminate":b&&!d,"k-loading":C,"k-empty":I,"k-readonly":y,"k-highlighted":k},Object.keys(L).reduce((E,S)=>(S.startsWith("k-")?E[S]=L[S]:E[`k-${S}`]=L[S],E),{}))};function xo(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(n=>[`k-${n}`,!0]))}var s={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"},f={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},j={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},m={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},i={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 Et={};function X(e){return Et[e]=(Et[e]||0)+1,`k-${e}-${Et[e]}`}var Fe="input",nt=Fe;import{jsx as Dn}from"react/jsx-runtime";var at="k-input",Pn=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Hn={size:[s.undefined,s.small,s.medium,s.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},zn={},O=e=>{let{hover:t,focus:o,disabled:n,invalid:a,valid:l,loading:d,readonly:p,size:u,rounded:h,fillMode:b,...C}=e;return Dn("span",{...C,className:r(e.className,at,A(at,{size:u,rounded:h,fillMode:b}),g(at,{hover:t,focus:o,disabled:n,invalid:a,valid:l,loading:d,readonly:p}))})};O.states=Pn;O.options=Hn;O.className=at;O.defaultOptions=zn;O.moduleName=Fe;O.folderName=nt;import{jsx as Un}from"react/jsx-runtime";var it="k-picker",Bn=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Fn={size:[s.undefined,s.small,s.medium,s.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Vn={},ve=e=>{let{hover:t,focus:o,disabled:n,invalid:a,valid:l,loading:d,readonly:p,size:u,rounded:h,fillMode:b,...C}=e;return Un("span",{...C,className:r(e.className,it,A(it,{size:u,rounded:h,fillMode:b}),g(it,{hover:t,focus:o,disabled:n,invalid:a,valid:l,loading:d,readonly:p})),children:e.children})};ve.states=Bn;ve.options=Fn;ve.className=it;ve.defaultOptions=Vn;ve.moduleName=Fe;ve.folderName=nt;import{Fragment as Wn,jsx as bo}from"react/jsx-runtime";var St="k-font-icon",Gn=[],Xn={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info]},$n={},Ve=e=>{let{size:t,themeColor:o,icon:n,rotate:a,flip:l,...d}=e;return n?bo("span",{...d,className:r(e.className,St,A(St,{size:t}),{[`k-i-${n}`]:n,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"}),"aria-hidden":"true"}):bo(Wn,{})};Ve.states=Gn;Ve.options=Xn;Ve.className=St;Ve.defaultOptions=$n;var vo=Ve;import{Fragment as Yn,jsx as rt}from"react/jsx-runtime";var yt="k-svg-icon",Jn=[],qn={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info],variant:[j.outline,j.solid,j.duotone]},Mt={viewBox:"0 0 24 24",variant:j.outline},Ue=e=>{let{size:t,themeColor:o,rotate:n,flip:a,viewBox:l=Mt.viewBox,variant:d=Mt.variant,icon:p,...u}=e;if(!p)return rt(Yn,{});if(p==="none")return rt("span",{...u,className:r(e.className,yt,A("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let h=typeof p=="object"&&p.name&&p.name,b=typeof p=="object"?d&&p.variants?.[d]||p.variants?.outline||p.content:void 0;return rt("span",{...u,className:r(e.className,yt,A("k-icon",{size:t}),{[`k-svg-i-${h}`]:h,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":a==="h"||a==="both","k-flip-v":a==="v"||a==="both"}),"aria-hidden":"true",children:rt("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof p=="object"?p.viewBox:l,dangerouslySetInnerHTML:b!==void 0?{__html:b}:void 0,children:p?void 0:e.children})})};Ue.states=Jn;Ue.options=qn;Ue.className=yt;Ue.defaultOptions=Mt;var kt=Ue;import*as Lt from"@progress/kendo-svg-icons";var No="icon",Co="icons";import{useContext as Zn}from"react";import{createContext as Qn}from"react";var Ao=Qn({iconsType:"svg"});import{Fragment as To,jsx as Ge}from"react/jsx-runtime";var st="k-icon",jn=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),ea=[],ta={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info],variant:[j.outline,j.solid,j.duotone]},lt={viewBox:"0 0 24 24",type:"svg",variant:j.outline},x=e=>{let{iconsType:t}=Zn(Ao),{size:o,themeColor:n,icon:a,type:l=t||lt.type,rotate:d,flip:p,viewBox:u=lt.viewBox,variant:h=lt.variant,...b}=e;if(!a)return Ge(To,{});if((t||l)==="svg"){if(a==="none")return Ge(kt,{...b,className:r(e.className,st),icon:a,size:o,variant:h});let I=Lt[a]?a:jn(`${a}-icon`);return Lt[I]?Ge(kt,{...b,className:r(e.className,st),icon:Lt[I],size:o,themeColor:n,rotate:d,flip:p,viewBox:u,variant:h}):Ge(To,{})}return Ge(vo,{...b,className:r(e.className,st),icon:a,size:o,themeColor:n,rotate:d,flip:p})};x.states=ea;x.options=ta;x.defaultOptions=lt;x.className=st;x.moduleName=No;x.folderName=Co;import{Fragment as aa,jsx as Ot}from"react/jsx-runtime";var Io="k-clear-value",oa=[i.disabled,i.loading,i.readonly],na={},$=e=>{let{disabled:t,loading:o,readonly:n,value:a}=e;return t||n||o||!a?Ot(aa,{}):Ot("span",{className:r(e.className,Io),children:Ot(x,{icon:"x"})})};$.states=oa;$.options=na;$.className=Io;import{jsx as sa}from"react/jsx-runtime";var gt="k-input-inner",ia=[],ra={},dt={type:"text",autocomplete:"off",value:"",placeholder:""},ne=e=>{let{value:t=dt.value,type:o=dt.type,placeholder:n=dt.placeholder,autocomplete:a=dt.autocomplete,disabled:l,readOnly:d,...p}=e;return sa("input",{...p,type:o,className:r(e.className,gt,A(gt,e)),placeholder:n,autoComplete:a,defaultValue:t,disabled:l||void 0,readOnly:d||void 0})};ne.states=ia;ne.options=ra;ne.className=gt;import{jsx as Eo,jsxs as pa}from"react/jsx-runtime";var wt="k-input-inner",la=[],da={},Rt=e=>{let{value:t,placeholder:o,showValue:n,valueIcon:a,valueIconName:l,...d}=e;return pa("span",{...d,className:r(e.className,wt,A(wt,e)),children:[a,!a&&l&&Eo(x,{className:"k-input-value-icon",icon:l}),n&&!t&&o,n&&t&&Eo("span",{className:"k-input-value-text",children:t})]})};Rt.states=la;Rt.options=da;Rt.className=wt;import{jsx as ua}from"react/jsx-runtime";var Kt="k-input-inner",ca=[],ma={},So={value:"",placeholder:""},_t=e=>{let{value:t=So.value,placeholder:o=So.placeholder,rows:n,disabled:a,...l}=e;return ua("textarea",{...l,className:r(e.className,Kt,A(Kt,e)),placeholder:o,rows:n,defaultValue:t,disabled:a||void 0})};_t.states=ca;_t.options=ma;_t.className=Kt;import{Fragment as ha,jsx as yo}from"react/jsx-runtime";var Mo="k-input-loading-icon",fa=[i.disabled,i.loading],ee=e=>{let{disabled:t,loading:o}=e;return t||!o?yo(ha,{}):yo("span",{className:r(e.className,Mo,"k-icon k-i-loading")})};ee.states=fa;ee.className=Mo;import{Fragment as va,jsx as ko}from"react/jsx-runtime";var Lo="k-input-validation-icon",xa=[i.valid,i.invalid,i.disabled,i.loading],ba={},W=e=>{let{valid:t,invalid:o,disabled:n,loading:a}=e,l=o?"warning-circle":"check-circle";return n||a||!!!(t||o)?ko(va,{}):ko(x,{className:r(Lo),icon:l})};W.states=xa;W.options=ba;W.className=Lo;import{Fragment as Aa,jsx as Oo}from"react/jsx-runtime";var Na="k-input-prefix",Ca={direction:"horizontal"},Ne=e=>{let{direction:t=Ca.direction,...o}=e;return e.children?Oo("span",{...o,className:r(Na,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Oo(Aa,{})};import{Fragment as Ea,jsx as go}from"react/jsx-runtime";var Ta="k-input-suffix",Ia={direction:"horizontal"},Ce=e=>{let{direction:t=Ia.direction,...o}=e;return e.children?go("span",{...o,className:r(Ta,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):go(Ea,{})};import{jsx as cl}from"react/jsx-runtime";import{jsx as hl}from"react/jsx-runtime";import{jsx as ya}from"react/jsx-runtime";var wo="k-input-separator",Sa={direction:"vertical"},Ae=e=>{let{direction:t=Sa.direction,...o}=e;return ya("span",{...o,className:r(wo,e.className,{[`${wo}-${t}`]:t})})};var Pt="button",Ro=Pt;import{Fragment as Ko,jsx as Te,jsxs as _o}from"react/jsx-runtime";var Xe="k-button",Ma=["icon-button"],ka=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],La={size:[s.undefined,s.xsmall,s.small,s.medium,s.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.inverse]},Ht={showArrow:!1,arrowIconName:"chevron-down"},N=e=>{let{as:t="button",size:o,rounded:n,fillMode:a,themeColor:l,showArrow:d=Ht.showArrow,arrowIconName:p=Ht.arrowIconName,variant:u,hover:h,focus:b,active:C,selected:I,disabled:y,togglable:k,ariaDisabled:L,icon:E,iconSize:S,text:_,iconClassName:V,className:Z,...me}=e,De=E!=null,Be=e.children!==void 0;return _o(t,{className:r(Z,Xe,xo(Xe,u),A(Xe,{size:o,rounded:n,fillMode:a,themeColor:l}),g(Xe,{hover:h,focus:b,active:C,disabled:y||L,selected:I}),{"k-icon-button":!_&&!Be&&De}),"aria-pressed":k?I?"true":"false":void 0,...me,"aria-disabled":L?"true":void 0,disabled:y||void 0,children:[typeof E=="string"&&E&&Te(x,{className:r(V,"k-button-icon"),icon:E,size:S}),E&&typeof E!="string"&&Te(Ko,{children:E}),_?_o(Ko,{children:[_&&Te("span",{className:"k-button-text",children:_}),e.children]}):e.children&&Te("span",{className:"k-button-text",children:e.children}),d&&Te("span",{className:"k-menu-button-arrow k-button-arrow",children:Te(x,{icon:p})})]})};N.states=ka;N.options=La;N.variants=Ma;N.className=Xe;N.defaultOptions=Ht;N.moduleName=Pt;N.folderName=Ro;import{jsx as Oa}from"react/jsx-runtime";var ue=e=>Oa(N,{children:"Button",...e});import{Fragment as Po,jsx as te,jsxs as zt}from"react/jsx-runtime";var ga=O.states,wa=O.defaultOptions,Ra=O.options,Ka=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],_a=[],Ie=e=>{let{modifiers:t,valid:o,invalid:n,loading:a,disabled:l,readonly:d,...p}=e,u=t?.prefix,h=t?.suffix,b=t?.["clear-button"],C=t?.["validation-icon"],I=t?.separators;return zt(O,{...p,valid:o,invalid:n,loading:a,disabled:l,readonly:d,style:{width:300},children:[u&&zt(Po,{children:[te(Ne,{children:te(x,{icon:"lock"})}),I&&te(Ae,{})]}),te(ne,{placeholder:"Placeholder",value:"Value"}),C&&te(W,{valid:o,invalid:n,loading:a,disabled:l}),te(ee,{loading:a,disabled:l}),b&&te($,{loading:a,disabled:l,readonly:d,value:"Value"}),h&&zt(Po,{children:[I&&te(Ae,{}),te(Ce,{children:te(ue,{size:p.size,fillMode:"clear",children:"Send"})})]})]})};Ie.options=Ra;Ie.states=ga;Ie.variants=_a;Ie.defaultOptions=wa;Ie.modifiers=Ka;Ie.className=O.className;import{jsx as Pa}from"react/jsx-runtime";var Ho=e=>Pa(N,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as Ha}from"react/jsx-runtime";var zo=e=>Ha(N,{icon:"folder",children:"Button",...e});import{jsx as Dt}from"react/jsx-runtime";var za=N.options,Da=N.states,Ba={...N.defaultOptions,variant:"text"},Fa=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Va=[],Ee=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return Dt(Ho,{...o,icon:"star"});case"icon-and-text":return Dt(zo,{...o,icon:"star",children:"Button"});default:return Dt(ue,{...o,children:"Button"})}};Ee.options=za;Ee.states=Da;Ee.variants=Fa;Ee.defaultOptions=Ba;Ee.modifiers=Va;Ee.className=N.className;import{jsx as pt}from"react/jsx-runtime";var Ua="k-chip-action";var J=e=>{let{type:t,...o}=e,n;switch(t){case"remove":n=pt(x,{icon:"x-circle",size:"small"});break;case"more":n=pt(x,{icon:"more-vertical",size:"small"});break;default:return pt(x,{icon:t,size:"small"})}return pt("span",{...o,className:r(e.className,Ua,`k-chip-${t}-action`),children:n})};var Bt="avatar",Do=Bt;import{jsx as Bo}from"react/jsx-runtime";var $e="k-avatar";var Ga=[i.hover,i.focus,i.active,i.selected,i.disabled],Xa={size:[s.undefined,s.small,s.medium,s.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[f.undefined,f.solid,f.outline],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary]},Ft={type:"text",border:!1},D=e=>{let{size:t,rounded:o,fillMode:n,themeColor:a,type:l=Ft.type,border:d=Ft.border,...p}=e;return Bo("div",{...p,className:r(e.className,$e,A($e,{size:t,rounded:o,fillMode:n,themeColor:a}),{[`${$e}-bordered`]:d}),children:Bo("span",{className:`${$e}-${l}`,children:e.children})})};D.states=Ga;D.options=Xa;D.className=$e;D.defaultOptions=Ft;D.moduleName=Bt;D.folderName=Do;var fe=D;import{jsx as $a}from"react/jsx-runtime";var Fo=e=>$a(fe,{type:"icon",...e});import{jsx as Wa}from"react/jsx-runtime";var Vo=e=>Wa(fe,{type:"text",...e});import{jsx as Ja}from"react/jsx-runtime";var Uo=e=>Ja(fe,{type:"image",...e});import{jsx as Ud}from"react/jsx-runtime";import{jsx as We}from"react/jsx-runtime";var qa=D.options,Ya=D.states,Qa={...D.defaultOptions,variant:"image"},Za=[{name:"image",title:"Image"},{name:"icon",title:"Icon Avatar"},{name:"text",title:"Text Avatar"}],ja=[],Se=e=>{let{variant:t,...o}=e;switch(t){case"icon":return We(Fo,{...o,children:We(x,{icon:"star"})});case"text":return We(Vo,{...o,children:"JO"});default:return We(Uo,{...o,children:We("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})}};Se.options=qa;Se.states=Ya;Se.variants=Za;Se.defaultOptions=Qa;Se.modifiers=ja;Se.className=D.className;var Je="chip",ct=Je,mt="https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg";import{jsx as ye,jsxs as oi}from"react/jsx-runtime";var ut="k-chip",ei=[i.hover,i.focus,i.active,i.selected,i.disabled],ti={size:[s.undefined,s.small,s.medium,s.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[f.undefined,f.solid,f.outline],themeColor:[m.undefined,m.base,m.success,m.warning,m.error,m.info]},Go={avatarImage:"/packages/html/assets/avatar.jpg"},P=e=>{let{size:t,rounded:o,fillMode:n,themeColor:a,text:l,icon:d,actions:p,showAvatar:u,avatarImage:h=Go.avatarImage,hover:b,focus:C,active:I,selected:y,disabled:k,...L}=e;return oi("div",{...L,className:r(e.className,ut,A(ut,{size:t,rounded:o,fillMode:n,themeColor:a}),g(ut,{hover:b,focus:C,active:I,disabled:k,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":k?"true":void 0,children:[d&&ye(x,{className:"k-chip-icon",icon:d,size:"small"}),u&&ye(D,{className:"k-chip-avatar",type:"image",children:ye("img",{src:h,alt:""})}),ye("span",{className:"k-chip-content",children:e.children?e.children:l&&ye("span",{className:"k-chip-label",children:l})}),p&&ye("span",{className:"k-chip-actions",children:p})]})};P.states=ei;P.options=ti;P.className=ut;P.defaultOptions=Go;P.moduleName=Je;P.folderName=ct;var U=P;import{jsx as ri}from"react/jsx-runtime";var Vt="k-chip-list",ni=[],ai={size:[s.undefined,s.small,s.medium,s.large]},ii={},w=e=>{let{size:t,multiselectable:o,ariaLabel:n,...a}=e;return ri("div",{...a,className:r(e.className,Vt,A(Vt,{size:t})),role:e.role||"listbox","aria-label":e.role==="none"?void 0:n||"chip list","aria-orientation":e.role==="none"?void 0:"horizontal","aria-multiselectable":o?"true":void 0,children:e.children})};w.states=ni;w.options=ai;w.className=Vt;w.defaultOptions=ii;w.moduleName=Je;w.folderName=ct;import{jsx as Np}from"react/jsx-runtime";import{jsx as Ip}from"react/jsx-runtime";import{jsx as si}from"react/jsx-runtime";var ft=e=>si(U,{text:"text",...e});import{jsx as gp}from"react/jsx-runtime";import{jsx as _p}from"react/jsx-runtime";import{Fragment as Fp,jsx as Bp,jsxs as Vp}from"react/jsx-runtime";import{jsx as Wp,jsxs as Jp}from"react/jsx-runtime";import{jsx as jp,jsxs as ec}from"react/jsx-runtime";import{jsx as rc,jsxs as sc}from"react/jsx-runtime";import{jsx as Me,jsxs as ui}from"react/jsx-runtime";var li={...U.options,...w.options},di=[],pi=w.states,ci={...U.defaultOptions,...w.defaultOptions},mi=[{name:"icon",title:"Icon",type:"boolean"},{name:"actions",title:"Actions",type:"boolean"},{name:"avatar",title:"Avatar",type:"boolean"}],ke=e=>{let{modifiers:t,className:o,...n}=e,a=t?.icon,l=t?.actions,d=t?.avatar,p=d?mt:void 0;return ui(w,{size:n.size,className:o,children:[Me(ft,{...n,role:"option","aria-selected":"false","aria-pressed":void 0,icon:a?"star":void 0,actions:l?Me(J,{type:"remove"}):void 0,showAvatar:d,avatarImage:p,children:"Chip"}),Me(ft,{...n,role:"option","aria-selected":"false","aria-pressed":void 0,icon:a?"star":void 0,actions:l?Me(J,{type:"remove"}):void 0,showAvatar:d,avatarImage:p,children:"Chip"}),Me(ft,{...n,role:"option","aria-selected":"false","aria-pressed":void 0,icon:a?"star":void 0,actions:l?Me(J,{type:"remove"}):void 0,showAvatar:d,avatarImage:p,children:"Chip"})]})};ke.options=li;ke.states=pi;ke.variants=di;ke.defaultOptions=ci;ke.modifiers=mi;ke.className=w.className;import{jsx as Ut}from"react/jsx-runtime";var fi=P.states,hi=P.defaultOptions,xi=P.options,bi=[],vi=[{name:"icon",title:"Icon"},{name:"avatar",title:"Avatar"},{name:"remove-icon",title:"`Remove` Icon"},{name:"more-options",title:"`More options` Icon"}],Le=e=>{let{modifiers:t,...o}=e,n={};return Object.keys(t||{}).forEach(a=>{switch(a){case"icon":n.icon=t?.[a]?"arrow-down":void 0;break;case"avatar":n.showAvatar=!!t?.[a],n.avatarImage=t?.[a]?mt:void 0;break;case"more-options":n.actions||(n.actions=[]),n.actions[0]=t?.[a]?Ut(J,{type:"more"}):void 0;break;case"remove-icon":n.actions||(n.actions=[]),n.actions[1]=t?.[a]?Ut(J,{type:"remove"}):void 0;break;default:break}}),Ut(P,{...o,...n,children:"Chip component"})};Le.options=xi;Le.states=fi;Le.variants=bi;Le.defaultOptions=hi;Le.modifiers=vi;Le.className=P.className;var Gt="popup",Xo=Gt;import{jsx as $o}from"react/jsx-runtime";var Wo="k-animation-container",Ni=[],Ci={},Xt={positionMode:"absolute",shown:!0},oe=e=>{let{positionMode:t=Xt.positionMode,shown:o=Xt.shown,animationStyle:n,offset:a,...l}=e;return $o("div",{...l,style:{...a,...e.style},className:r(e.className,Wo,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:$o("div",{className:"k-child-animation-container",style:n,children:e.children})})};oe.states=Ni;oe.options=Ci;oe.className=Wo;oe.defaultOptions=Xt;oe.moduleName=Gt;oe.folderName=Xo;var $t="popup",Jo=$t;import{jsx as qo}from"react/jsx-runtime";var Yo="k-popup",Ai=[],Ti={},Qo={positionMode:"absolute"},ie=e=>{let{offset:t,positionMode:o=Qo.positionMode,animationStyle:n,containerClassName:a,containerRole:l,containerAriaLabel:d,...p}=e;return qo(oe,{positionMode:o,offset:t,animationStyle:n,className:a,role:l,"aria-label":d,children:qo("div",{...p,className:r(e.className,Yo),children:e.children})})};ie.states=Ai;ie.options=Ti;ie.className=Yo;ie.defaultOptions=Qo;ie.moduleName=$t;ie.folderName=Jo;var Wt="action-buttons",Zo=Wt;import{jsx as Si}from"react/jsx-runtime";var ht="k-actions",Ii=[],Ei={},Jt={alignment:"start",orientation:"horizontal"},re=e=>{let{alignment:t=Jt.alignment,orientation:o=Jt.orientation,...n}=e;return Si("div",{...n,className:r(ht,{[`${ht}-${t}`]:t,[`${ht}-${o}`]:o},e.className),children:e.children})};re.states=Ii;re.options=Ei;re.className=ht;re.defaultOptions=Jt;re.moduleName=Wt;re.folderName=Zo;import{jsx as Mi}from"react/jsx-runtime";var yi="k-actionsheet-footer",jo={alignment:"stretched",orientation:"horizontal"},Oe=e=>{let{alignment:t=jo.alignment,orientation:o=jo.orientation,template:n,as:a=n?"div":re,...l}=e;return Mi(a,{...l,...!n&&{alignment:t,orientation:o},className:r(e.className,yi),children:e.children})};var qt="searchbox",en=qt;import{jsx as qe,jsxs as Oi}from"react/jsx-runtime";var tn="k-searchbox",ki=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],Li={size:[s.undefined,s.small,s.medium,s.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},xt={showIcon:!0,showClearButton:!0,icon:"search"},se=e=>{let{value:t,placeholder:o,size:n,rounded:a,fillMode:l,hover:d,focus:p,valid:u,invalid:h,required:b,loading:C,disabled:I,showIcon:y=xt.showIcon,showClearButton:k=xt.showClearButton,icon:L=xt.icon,"aria-label":E,...S}=e;return Oi(O,{...S,size:n,rounded:a,fillMode:l,hover:d,focus:p,valid:u,invalid:h,required:b,loading:C,disabled:I,className:r(e.className,tn),children:[y&&qe(x,{className:"k-input-icon",icon:L}),qe(ne,{placeholder:o,value:t,"aria-label":E}),qe(ee,{...e}),qe(W,{...e}),k&&qe($,{...e})]})};se.states=ki;se.options=Li;se.className=tn;se.defaultOptions=xt;se.moduleName=qt;se.folderName=en;import{jsx as Am}from"react/jsx-runtime";var Yt="textbox",on=Yt;import{Fragment as nn,jsx as le,jsxs as Qt}from"react/jsx-runtime";var an="k-textbox",gi=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],wi={size:[s.undefined,s.small,s.medium,s.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},bt={showClearButton:!0,showValidationIcon:!0,separators:!0},B=e=>{let{size:t,rounded:o,fillMode:n,separators:a=bt.separators,showClearButton:l=bt.showClearButton,showValidationIcon:d=bt.showValidationIcon,prefix:p,suffix:u,type:h,value:b,placeholder:C,hover:I,focus:y,valid:k,invalid:L,required:E,loading:S,disabled:_,readonly:V,id:Z,"aria-label":me,"aria-describedby":De,...Be}=e;return Qt(O,{...Be,size:t,rounded:o,fillMode:n,hover:I,focus:y,valid:k,invalid:L,required:E,loading:S,disabled:_,readonly:V,className:r(e.className,an),children:[p&&Qt(nn,{children:[le(Ne,{children:p}),a&&le(Ae,{})]}),le(ne,{id:Z,placeholder:C,value:b,type:h,disabled:_,"aria-label":me,"aria-describedby":De,"aria-invalid":L?"true":void 0}),d&&le(W,{valid:k,invalid:L,loading:S,disabled:_}),le(ee,{loading:S,disabled:_}),l&&le($,{loading:S,disabled:_,readonly:V,value:b}),u&&Qt(nn,{children:[a&&le(Ae,{}),le(Ce,{children:u})]})]})};B.states=gi;B.options=wi;B.className=an;B.defaultOptions=bt;B.moduleName=Yt;B.folderName=on;var Ye=B;import{jsx as Ri}from"react/jsx-runtime";var rn=e=>Ri(Ye,{...e});import{Fragment as Dm,jsx as zm}from"react/jsx-runtime";import{Fragment as Xm,jsx as Gm}from"react/jsx-runtime";import{jsx as qm}from"react/jsx-runtime";import{jsx as Zt}from"react/jsx-runtime";var Ki=B.states,_i=B.defaultOptions,Pi=B.options,Hi=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],zi=[],ge=e=>{let{modifiers:t,...o}=e,n={};return Object.keys(t||{}).forEach(a=>{switch(a){case"prefix":n.prefix=t?.[a]?Zt(x,{icon:"lock"}):void 0;break;case"suffix":n.suffix=t?.[a]?Zt(ue,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":n.showClearButton=t?.[a];break;default:break}}),Zt(rn,{value:"Value",style:{width:300},...o,...n})};ge.options=Pi;ge.states=Ki;ge.variants=zi;ge.defaultOptions=_i;ge.modifiers=Hi;ge.className=B.className;import{jsx as de,jsxs as jt}from"react/jsx-runtime";var sn="k-actionsheet-titlebar",Di={},q=e=>{let{title:t,subtitle:o,actionsStart:n,actionsEnd:a,filter:l,input:d,inputValue:p,inputPlaceholder:u,adaptive:h,titleId:b,children:C,...I}=e;return jt("div",{...I,className:r(e.className,sn),children:[jt("div",{className:"k-actionsheet-titlebar-group",children:[n&&de("div",{className:"k-actionsheet-actions",children:n}),!C&&jt("div",{className:"k-actionsheet-title",id:b,children:[t&&de("div",{className:"k-text-center",children:t}),o&&de("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),C&&de("div",{className:"k-actionsheet-title",id:b,children:C}),a&&de("div",{className:"k-actionsheet-actions",children:a})]}),(d||l)&&de("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?de(B,{value:p,placeholder:u,size:h?"large":"medium","aria-label":t||u||"Input"}):de(se,{placeholder:"Filter",size:h?"large":"medium","aria-label":"Filter options"})})]})};q.className=sn;q.defaultOptions=Di;import{jsx as eo,jsxs as Ui}from"react/jsx-runtime";var to="k-actionsheet-view",Bi=[],Fi={},Vi={},we=e=>{let{adaptive:t,animated:o,children:n,header:a,footer:l,titleId:d,...p}=e,u=a?.type===q&&eo(q,{adaptive:t,titleId:d,...a?.props}),h=l?.type===Oe&&eo(Oe,{...l?.props});return Ui("div",{...p,className:r(e.className,to,{[`${to}-animated`]:o}),children:[u,eo("div",{className:"k-actionsheet-content",children:n}),h]})};we.states=Bi;we.options=Fi;we.className=to;we.defaultOptions=Vi;var Qe="action-sheet",vt=Qe;var oo="overlay",ln=oo;import{jsx as Wi}from"react/jsx-runtime";var dn="k-overlay",Gi=[],Xi={},$i={},pe=e=>{let{...t}=e;return Wi("div",{...t,className:r(e.className,dn),children:e.children})};pe.states=Gi;pe.options=Xi;pe.className=dn;pe.defaultOptions=$i;pe.moduleName=oo;pe.folderName=ln;import{jsx as Nt,jsxs as Yi}from"react/jsx-runtime";var pn="k-actionsheet",Ji=[],qi={},Ze={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},K=e=>{let{side:t=Ze.side,fullscreen:o=Ze.fullscreen,adaptive:n=Ze.adaptive,overlay:a=Ze.overlay,template:l,children:d,header:p,footer:u,id:h,...b}=e,C=h&&!l&&p?`${h}-title`:void 0;return Yi("div",{className:"k-actionsheet-container",children:[a&&Nt(pe,{}),Nt(oe,{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:Nt("div",{...b,id:h,role:"dialog","aria-modal":a?"true":void 0,"aria-labelledby":C,className:r(e.className,pn,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":n}),children:l||Nt(we,{header:p,footer:u,adaptive:n,titleId:C,...e,children:d})})})]})};K.states=Ji;K.options=qi;K.className=pn;K.defaultOptions=Ze;K.moduleName=Qe;K.folderName=vt;import{jsx as er}from"react/jsx-runtime";var cn="k-actionsheet-container",Qi=[],Zi={},ji={},Re=e=>{let{children:t,...o}=e;return er("div",{...o,className:cn,children:t})};Re.states=Qi;Re.options=Zi;Re.className=cn;Re.defaultOptions=ji;Re.moduleName=Qe;Re.folderName=vt;import{jsx as tr}from"react/jsx-runtime";var no=e=>{let{...t}=e;return tr("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as nr,jsx as je,jsxs as ao}from"react/jsx-runtime";var io="k-actionsheet-item",or=[i.hover,i.focus,i.selected,i.disabled],ce=e=>{let{iconName:t,text:o,description:n,hover:a,focus:l,selected:d,disabled:p,...u}=e;return ao("span",{...u,className:r(e.className,io,g(io,{hover:a,focus:l,selected:d,disabled:p})),children:[!e.children&&je(nr,{children:ao("span",{className:"k-actionsheet-action",children:[t&&je("span",{className:"k-icon-wrap",children:je(x,{className:"k-actionsheet-item-icon",icon:t})}),ao("span",{className:"k-actionsheet-item-text",children:[o&&je("span",{className:"k-actionsheet-item-title",children:o}),n&&je("span",{className:"k-actionsheet-item-description",children:n})]})]})}),e.children]})};ce.states=or;ce.className=io;import{jsx as Ju,jsxs as qu}from"react/jsx-runtime";import{jsx as ju}from"react/jsx-runtime";import{jsx as nf}from"react/jsx-runtime";import{jsx as lf}from"react/jsx-runtime";import{jsx as R,jsxs as ro}from"react/jsx-runtime";var ar=K.options,ir=K.states,un={...K.defaultOptions,variant:"normal"},rr=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],sr=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Ke=e=>{let{variant:t,modifiers:o,...n}={...un,...e},a={},l=ro(no,{children:[R(ce,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),R(ce,{text:"Add to Favorites",iconName:"heart"}),R(ce,{text:"Upload New",iconName:"upload",disabled:!0}),R("hr",{className:"k-hr"}),R(ce,{text:"Cancel",iconName:"cancel"})]}),d="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]?d:void 0;break;case"footer":a.footer=!!o?.[u];break;default:break}}),t==="adaptive"?R(K,{...n,adaptive:!0,fullscreen:a.fullScreen,header:R(q,{actionsStart:a.actionsStart?R(N,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:a.actionsEnd?R(N,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:p,subtitle:a.subtitle}),footer:a.footer?ro(Oe,{alignment:"stretched",children:[R(N,{text:"Cancel",size:"large",themeColor:"base"}),R(N,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:l}):R(K,{...n,fullscreen:a.fullScreen,header:R(q,{actionsStart:a.actionsStart?R(N,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:a.actionsEnd?R(N,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:a.subtitle}),footer:a.footer?ro(Oe,{alignment:"stretched",children:[R(N,{text:"Apply",themeColor:"primary"}),R(N,{text:"Cancel",themeColor:"base"})]}):void 0,children:l})};Ke.options=ar;Ke.states=ir;Ke.variants=rr;Ke.defaultOptions=un;Ke.modifiers=sr;Ke.className=K.className;import lo from"react";import so from"react";import{jsx as dr}from"react/jsx-runtime";var lr="k-treeview-group",F=e=>{let{children:t,dir:o,level:n=1,role:a="group",...l}=e;return dr("ul",{...l,className:r(e.className,lr),role:a,children:so.Children.map(t,(d,p)=>so.isValidElement(d)?so.cloneElement(d,{dir:o,level:n,key:p}):d)})};var et="treeview",Ct=et;import{jsx as fn}from"react/jsx-runtime";var po="k-treeview",pr=[],cr={size:[s.undefined,s.small,s.medium,s.large]},mr={},M=e=>{let{size:t,children:o,dir:n,...a}=e;return fn("div",{...a,dir:n,className:r(e.className,po,A(po,{size:t})),children:fn(F,{className:"k-treeview-lines",role:"tree",dir:n,children:lo.Children.map(o,(l,d)=>lo.isValidElement(l)?lo.cloneElement(l,{dir:n,key:d}):l)})})};M.states=pr;M.options=cr;M.className=po;M.defaultOptions=mr;M.moduleName=et;M.folderName=Ct;import mo from"react";var he="checkbox",_e=he;import{jsx as hn}from"react/jsx-runtime";var At="k-checkbox",ur=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.checked,i.indeterminate],fr={size:[s.undefined,s.small,s.medium,s.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full]},hr={},Y=e=>{let{id:t,checked:o,indeterminate:n,hover:a,focus:l,disabled:d,invalid:p,valid:u,required:h,size:b,rounded:C,wrapperRole:I,...y}=e;return hn("span",{className:"k-checkbox-wrap",role:I,children:hn("input",{...y,id:t,type:"checkbox",defaultChecked:o,required:h,disabled:d||void 0,"aria-invalid":p?"true":void 0,className:r(e.className,At,A(At,{size:b,rounded:C}),g(At,{hover:a,focus:l,disabled:d,invalid:p,valid:u,indeterminate:n,checked:o}))})})};Y.states=ur;Y.options=fr;Y.className=At;Y.defaultOptions=hr;Y.moduleName=he;Y.folderName=_e;var Q=Y;import{jsx as vr}from"react/jsx-runtime";var xn="k-checkbox-list",xr=[],br={},bn={layout:"vertical"},H=e=>{let{layout:t=bn.layout,...o}=e;return vr("ul",{...o,className:r(e.className,xn,{[`k-list-${t}`]:t}),children:e.children})};H.states=xr;H.options=br;H.className=xn;H.defaultOptions=bn;H.moduleName=he;H.folderName=_e;import{jsx as Tr}from"react/jsx-runtime";var vn="k-checkbox-list-item",Nr=[],Cr={},Ar={},z=e=>{let{...t}=e;return Tr("li",{...t,className:r(e.className,vn),children:e.children})};z.states=Nr;z.options=Cr;z.className=vn;z.defaultOptions=Ar;z.moduleName=he;z.folderName=_e;import{Fragment as Ir,jsx as Nn,jsxs as Er}from"react/jsx-runtime";var ae=({children:e="Label",id:t="cb-label-after",...o})=>Er(Ir,{children:[Nn(Q,{id:t,...o}),Nn("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as lh,jsx as sh,jsxs as dh}from"react/jsx-runtime";import{Fragment as fh,jsx as uh,jsxs as hh}from"react/jsx-runtime";import{Fragment as Ch,jsx as Nh,jsxs as Ah}from"react/jsx-runtime";import{jsx as Sh}from"react/jsx-runtime";import{jsx as Lh}from"react/jsx-runtime";import{jsx as Rh}from"react/jsx-runtime";import{jsx as G,jsxs as Cn}from"react/jsx-runtime";var Sr=H.options,yr=H.states,Mr={...H.defaultOptions,variant:"vertical"},kr=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Lr=[],Pe=e=>{let{variant:t,...o}=e;return t==="horizontal"?Cn(H,{layout:"horizontal",...o,children:[G(z,{children:G(ae,{id:X("cb"),defaultChecked:!0,children:"Label"})}),G(z,{children:G(ae,{id:X("cb"),children:"Label"})}),G(z,{children:G(ae,{id:X("cb"),children:"Label"})})]}):Cn(H,{...o,children:[G(z,{children:G(ae,{id:X("cb"),defaultChecked:!0,children:"Label"})}),G(z,{children:G(ae,{id:X("cb"),children:"Label"})}),G(z,{children:G(ae,{id:X("cb"),children:"Label"})})]})};Pe.options=Sr;Pe.states=yr;Pe.variants=kr;Pe.defaultOptions=Mr;Pe.modifiers=Lr;Pe.className=H.className;import{jsx as _r}from"react/jsx-runtime";var Or=Q.options,gr=Q.states,wr=Q.defaultOptions,Rr=[],Kr=[],He=e=>_r(ae,{id:X("checkbox"),...e,defaultChecked:!0,children:"Label"});He.options=Or;He.states=gr;He.variants=Rr;He.defaultOptions=wr;He.modifiers=Kr;He.className=Q.className;import{jsx as An,jsxs as zr}from"react/jsx-runtime";var co="k-treeview-leaf",Pr=[i.hover,i.focus,i.selected],Hr={},Tt=e=>{let{text:t,showIcon:o,icon:n,hover:a,focus:l,selected:d,...p}=e;return zr("span",{...p,className:r(e.className,co,g(co,{hover:a,focus:l,selected:d})),children:[o&&An(x,{icon:n}),An("span",{className:"k-treeview-leaf-text",children:t})]})};Tt.states=Pr;Tt.options=Hr;Tt.className=co;var Tn=Tt;import{jsx as tt,jsxs as In}from"react/jsx-runtime";var En="k-treeview-item",Dr=[i.hover,i.focus,i.selected,i.disabled],Br={},Fr={},v=e=>{let{leafClassName:t,children:o,hasChildren:n,expanded:a,loading:l,text:d,showIcon:p,icon:u,showCheckbox:h,checked:b,hover:C,focus:I,selected:y,disabled:k,dir:L,level:E=1,ariaSelected:S,..._}=e,V=n||o||l;return In("li",{..._,className:r(e.className,En),style:{"--kendo-treeview-level":E},role:"treeitem","aria-expanded":V?a?"true":"false":void 0,"aria-checked":h?b?"true":"false":void 0,"aria-selected":S?"true":void 0,"aria-disabled":k?"true":void 0,children:[In("span",{className:r("k-treeview-item-content",g("k-treeview-item-content",{hover:C,focus:I,selected:y,disabled:k})),children:[V&&tt("span",{className:r("k-treeview-toggle",g("k-treeview-toggle",{disabled:k})),children:l?tt("span",{className:"k-icon k-i-loading"}):tt(x,{icon:a?"chevron-down":L==="rtl"?"chevron-left":"chevron-right"})}),h&&tt(Y,{checked:b,disabled:k,"aria-label":d,tabIndex:-1}),tt(Tn,{className:t,text:d,showIcon:p,icon:u})]}),a&&V&&mo.Children.map(o,(Z,me)=>mo.isValidElement(Z)?mo.cloneElement(Z,{dir:L,level:E+1,key:me}):Z)]})};v.states=Dr;v.options=Br;v.className=En;v.defaultOptions=Fr;v.moduleName=et;v.folderName=Ct;import{jsx as Ax}from"react/jsx-runtime";import{jsx as Sx,jsxs as yx}from"react/jsx-runtime";import{jsx as Ox,jsxs as gx}from"react/jsx-runtime";import{jsx as _x,jsxs as Px}from"react/jsx-runtime";import{jsx as Bx,jsxs as Fx}from"react/jsx-runtime";import{jsx as Xx,jsxs as $x}from"react/jsx-runtime";import{jsx as xe,jsxs as uo}from"react/jsx-runtime";var Vr=M.options,Ur=M.states,Gr=M.defaultOptions,Xr=[{name:"checkboxes",title:"Show `Checkbox`",default:!1}],$r=[],ze=e=>{let{modifiers:t,...o}=e,n={};return Object.keys(t||{}).forEach(a=>{a==="checkboxes"&&(n.showCheckbox=t?.[a])}),uo(M,{...o,children:[xe(v,{text:"Furniture",expanded:!0,...n,children:uo(F,{children:[xe(v,{text:"Tables & Chairs",...n}),xe(v,{text:"Sofas",...n}),xe(v,{text:"Occasional Furniture",...n})]})}),uo(v,{text:"Decor",expanded:!1,...n,children:[xe(v,{text:"Bed Linen",...n}),xe(v,{text:"Curtains & Blinds",...n}),xe(v,{text:"Carpets",...n})]})]})};ze.options=Vr;ze.states=Ur;ze.variants=$r;ze.defaultOptions=Gr;ze.modifiers=Xr;ze.className=M.className;var Sn="dropdown-tree",yn="dropdowntree";import{Fragment as Mn,jsx as T,jsxs as ot}from"react/jsx-runtime";var kn="k-multiselecttree",Wr=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Jr={size:[s.undefined,s.small,s.medium,s.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Ln={showClearButton:!0},be=e=>{let{size:t,rounded:o,fillMode:n,showClearButton:a=Ln.showClearButton,prefix:l,suffix:d,placeholder:p,tags:u,popup:h,showArrowButton:b,hover:C,focus:I,valid:y,invalid:k,required:L,loading:E,disabled:S,readonly:_,opened:V,dir:Z,adaptive:me,adaptiveSettings:De,adaptiveTitle:Be,adaptiveSubtitle:gn,adaptiveFilter:wn,id:fo,treeviewId:Rn,"aria-label":Kn,..._n}=e,ho=fo?`${fo}-taglist`:void 0;return ot(Mn,{children:[ot(O,{..._n,dir:Z,size:t,rounded:o,fillMode:n,hover:C,focus:I,valid:y,invalid:k,required:L,loading:E,disabled:S,readonly:_,className:r(e.className,kn),children:[T(Ne,{children:l}),T(w,{size:t,className:"k-input-values",id:ho,children:T(Mn,{children:u})}),T("span",{className:"k-input-inner",role:"combobox","aria-haspopup":"tree","aria-expanded":V?"true":"false","aria-controls":V?Rn:void 0,"aria-autocomplete":"list","aria-describedby":u?ho:void 0,"aria-disabled":S?"true":void 0,"aria-label":Kn,tabIndex:0,children:!u&&T("span",{className:"k-input-value-text",children:p})}),T(W,{valid:y,invalid:k,loading:E,disabled:S}),T(ee,{loading:E,disabled:S}),a&&T($,{loading:E,disabled:S,readonly:_,value:u?"value":""}),T(Ce,{children:d}),b&&T(N,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:n,"aria-label":"Toggle dropdown",tabIndex:-1})]}),V&&h&&T(ie,{className:"k-multiselecttree-popup",dir:Z,containerRole:"region",containerAriaLabel:"MultiSelectTree options",children:h}),me&&T(K,{adaptive:!0,...De,header:T(q,{actionsEnd:T(N,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:wn,inputPlaceholder:p,title:Be,subtitle:gn}),children:ot(M,{size:"large",children:[T(v,{text:"Root 1"}),T(v,{text:"Root 2",expanded:!0,children:ot(F,{children:[T(v,{text:"Child 2.1"}),T(v,{text:"Child 2.2",children:T(F,{children:T(v,{text:"Child 2.2.1"})})}),T(v,{text:"Child 2.3"}),T(v,{leafClassName:"k-treeview-load-more-button",text:"Load more ..."})]})}),T(v,{text:"Root 3",children:ot(F,{children:[T(v,{text:"Child 3.1"}),T(v,{text:"Child 3.2"}),T(v,{text:"Child 3.3"})]})})]})})]})};be.states=Wr;be.options=Jr;be.className=kn;be.defaultOptions=Ln;be.moduleName=Sn;be.folderName=yn;var On=be;import{Fragment as qr,jsx as It}from"react/jsx-runtime";var Mb=({size:e,rounded:t,children:o="Tag",...n})=>It(qr,{children:It(On,{id:X("mst"),"aria-label":"Select options",size:e,rounded:t,tags:It(P,{text:o,actions:It(J,{type:"remove"}),size:e,rounded:t,role:"option","aria-selected":"true"}),...n})});export{Mb as MultiSelectTreeValue};
|
|
1
|
+
var r=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?r(...t):typeof t=="object"?Object.keys(t).map((o,n)=>t[n]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var A=(e,t)=>r({[`${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"}),O=(e,t)=>{let{valid:o,invalid:n,hover:a,focus:l,checked:d,active:c,selected:u,disabled:h,indeterminate:b,loading:N,empty:I,readonly:M,highlighted:R,...y}=t;return r({"k-valid":o,"k-invalid":n,"k-hover":a,"k-focus":l,"k-checked":d,"k-active":c,"k-selected":u,"k-disabled":h,"k-indeterminate":b&&!d,"k-loading":N,"k-empty":I,"k-readonly":M,"k-highlighted":R},Object.keys(y).reduce((E,S)=>(S.startsWith("k-")?E[S]=y[S]:E[`k-${S}`]=y[S],E),{}))};function xo(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(n=>[`k-${n}`,!0]))}var s={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},p={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},f={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},j={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},m={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},i={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 Et={};function G(e){return Et[e]=(Et[e]||0)+1,`k-${e}-${Et[e]}`}var Fe="input",nt=Fe;import{jsx as Dn}from"react/jsx-runtime";var at="k-input",Pn=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Hn={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},zn={},L=e=>{let{hover:t,focus:o,disabled:n,invalid:a,valid:l,loading:d,readonly:c,size:u,rounded:h,fillMode:b,...N}=e;return Dn("span",{...N,className:r(e.className,at,A(at,{size:u,rounded:h,fillMode:b}),O(at,{hover:t,focus:o,disabled:n,invalid:a,valid:l,loading:d,readonly:c}))})};L.states=Pn;L.options=Hn;L.className=at;L.defaultOptions=zn;L.moduleName=Fe;L.folderName=nt;import{jsx as Un}from"react/jsx-runtime";var it="k-picker",Bn=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Fn={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Vn={},Ne=e=>{let{hover:t,focus:o,disabled:n,invalid:a,valid:l,loading:d,readonly:c,size:u,rounded:h,fillMode:b,...N}=e;return Un("span",{...N,className:r(e.className,it,A(it,{size:u,rounded:h,fillMode:b}),O(it,{hover:t,focus:o,disabled:n,invalid:a,valid:l,loading:d,readonly:c})),children:e.children})};Ne.states=Bn;Ne.options=Fn;Ne.className=it;Ne.defaultOptions=Vn;Ne.moduleName=Fe;Ne.folderName=nt;import{Fragment as Wn,jsx as bo}from"react/jsx-runtime";var St="k-font-icon",Gn=[],Xn={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info]},$n={},Ve=e=>{let{size:t,themeColor:o,icon:n,rotate:a,flip:l,...d}=e;return n?bo("span",{...d,className:r(e.className,St,A(St,{size:t}),{[`k-i-${n}`]:n,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"}),"aria-hidden":"true"}):bo(Wn,{})};Ve.states=Gn;Ve.options=Xn;Ve.className=St;Ve.defaultOptions=$n;var vo=Ve;import{Fragment as Yn,jsx as rt}from"react/jsx-runtime";var yt="k-svg-icon",Jn=[],qn={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info],variant:[j.outline,j.solid,j.duotone]},Mt={viewBox:"0 0 24 24",variant:j.outline},Ue=e=>{let{size:t,themeColor:o,rotate:n,flip:a,viewBox:l=Mt.viewBox,variant:d=Mt.variant,icon:c,...u}=e;if(!c)return rt(Yn,{});if(c==="none")return rt("span",{...u,className:r(e.className,yt,A("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let h=typeof c=="object"&&c.name&&c.name,b=typeof c=="object"?d&&c.variants?.[d]||c.variants?.outline||c.content:void 0;return rt("span",{...u,className:r(e.className,yt,A("k-icon",{size:t}),{[`k-svg-i-${h}`]:h,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":a==="h"||a==="both","k-flip-v":a==="v"||a==="both"}),"aria-hidden":"true",children:rt("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:l,dangerouslySetInnerHTML:b!==void 0?{__html:b}:void 0,children:c?void 0:e.children})})};Ue.states=Jn;Ue.options=qn;Ue.className=yt;Ue.defaultOptions=Mt;var kt=Ue;import*as Lt from"@progress/kendo-svg-icons";var No="icon",Co="icons";import{useContext as Zn}from"react";import{createContext as Qn}from"react";var Ao=Qn({iconsType:"svg"});import{Fragment as To,jsx as Ge}from"react/jsx-runtime";var st="k-icon",jn=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),ea=[],ta={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info],variant:[j.outline,j.solid,j.duotone]},lt={viewBox:"0 0 24 24",type:"svg",variant:j.outline},x=e=>{let{iconsType:t}=Zn(Ao),{size:o,themeColor:n,icon:a,type:l=t||lt.type,rotate:d,flip:c,viewBox:u=lt.viewBox,variant:h=lt.variant,...b}=e;if(!a)return Ge(To,{});if((t||l)==="svg"){if(a==="none")return Ge(kt,{...b,className:r(e.className,st),icon:a,size:o,variant:h});let I=Lt[a]?a:jn(`${a}-icon`);return Lt[I]?Ge(kt,{...b,className:r(e.className,st),icon:Lt[I],size:o,themeColor:n,rotate:d,flip:c,viewBox:u,variant:h}):Ge(To,{})}return Ge(vo,{...b,className:r(e.className,st),icon:a,size:o,themeColor:n,rotate:d,flip:c})};x.states=ea;x.options=ta;x.defaultOptions=lt;x.className=st;x.moduleName=No;x.folderName=Co;import{Fragment as aa,jsx as Ot}from"react/jsx-runtime";var Io="k-clear-value",oa=[i.disabled,i.loading,i.readonly],na={},X=e=>{let{disabled:t,loading:o,readonly:n,value:a}=e;return t||n||o||!a?Ot(aa,{}):Ot("span",{className:r(e.className,Io),children:Ot(x,{icon:"x"})})};X.states=oa;X.options=na;X.className=Io;import{jsx as sa}from"react/jsx-runtime";var gt="k-input-inner",ia=[],ra={},dt={type:"text",autocomplete:"off",value:"",placeholder:""},ae=e=>{let{value:t=dt.value,type:o=dt.type,placeholder:n=dt.placeholder,autocomplete:a=dt.autocomplete,disabled:l,readOnly:d,...c}=e;return sa("input",{...c,type:o,className:r(e.className,gt,A(gt,e)),placeholder:n,autoComplete:a,defaultValue:t,disabled:l||void 0,readOnly:d||void 0})};ae.states=ia;ae.options=ra;ae.className=gt;import{jsx as Eo,jsxs as ca}from"react/jsx-runtime";var wt="k-input-inner",la=[],da={},Rt=e=>{let{value:t,placeholder:o,showValue:n,valueIcon:a,valueIconName:l,...d}=e;return ca("span",{...d,className:r(e.className,wt,A(wt,e)),children:[a,!a&&l&&Eo(x,{className:"k-input-value-icon",icon:l}),n&&!t&&o,n&&t&&Eo("span",{className:"k-input-value-text",children:t})]})};Rt.states=la;Rt.options=da;Rt.className=wt;import{jsx as ua}from"react/jsx-runtime";var Kt="k-input-inner",pa=[],ma={},So={value:"",placeholder:""},_t=e=>{let{value:t=So.value,placeholder:o=So.placeholder,rows:n,disabled:a,...l}=e;return ua("textarea",{...l,className:r(e.className,Kt,A(Kt,e)),placeholder:o,rows:n,defaultValue:t,disabled:a||void 0})};_t.states=pa;_t.options=ma;_t.className=Kt;import{Fragment as ha,jsx as yo}from"react/jsx-runtime";var Mo="k-input-loading-icon",fa=[i.disabled,i.loading],ee=e=>{let{disabled:t,loading:o}=e;return t||!o?yo(ha,{}):yo("span",{className:r(e.className,Mo,"k-icon k-i-loading")})};ee.states=fa;ee.className=Mo;import{Fragment as va,jsx as ko}from"react/jsx-runtime";var Lo="k-input-validation-icon",xa=[i.valid,i.invalid,i.disabled,i.loading],ba={},$=e=>{let{valid:t,invalid:o,disabled:n,loading:a}=e,l=o?"warning-circle":"check-circle";return n||a||!!!(t||o)?ko(va,{}):ko(x,{className:r(Lo),icon:l})};$.states=xa;$.options=ba;$.className=Lo;import{Fragment as Aa,jsx as Oo}from"react/jsx-runtime";var Na="k-input-prefix",Ca={direction:"horizontal"},Ce=e=>{let{direction:t=Ca.direction,...o}=e;return e.children?Oo("span",{...o,className:r(Na,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Oo(Aa,{})};import{Fragment as Ea,jsx as go}from"react/jsx-runtime";var Ta="k-input-suffix",Ia={direction:"horizontal"},Ae=e=>{let{direction:t=Ia.direction,...o}=e;return e.children?go("span",{...o,className:r(Ta,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):go(Ea,{})};import{jsx as pl}from"react/jsx-runtime";import{jsx as hl}from"react/jsx-runtime";import{jsx as ya}from"react/jsx-runtime";var wo="k-input-separator",Sa={direction:"vertical"},Te=e=>{let{direction:t=Sa.direction,...o}=e;return ya("span",{...o,className:r(wo,e.className,{[`${wo}-${t}`]:t})})};var Pt="button",Ro=Pt;import{Fragment as Ko,jsx as Ie,jsxs as _o}from"react/jsx-runtime";var Xe="k-button",Ma=["icon-button"],ka=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],La={size:[s.undefined,s.xsmall,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.inverse]},Ht={showArrow:!1,arrowIconName:"chevron-down"},C=e=>{let{as:t="button",size:o,rounded:n,fillMode:a,themeColor:l,showArrow:d=Ht.showArrow,arrowIconName:c=Ht.arrowIconName,variant:u,hover:h,focus:b,active:N,selected:I,disabled:M,togglable:R,ariaDisabled:y,icon:E,iconSize:S,text:_,iconClassName:Q,className:Z,...ne}=e,ue=E!=null,Be=e.children!==void 0;return _o(t,{className:r(Z,Xe,xo(Xe,u),A(Xe,{size:o,rounded:n,fillMode:a,themeColor:l}),O(Xe,{hover:h,focus:b,active:N,disabled:M||y,selected:I}),{"k-icon-button":!_&&!Be&&ue}),"aria-pressed":R?I?"true":"false":void 0,...ne,"aria-disabled":y?"true":void 0,disabled:M||void 0,children:[typeof E=="string"&&E&&Ie(x,{className:r(Q,"k-button-icon"),icon:E,size:S}),E&&typeof E!="string"&&Ie(Ko,{children:E}),_?_o(Ko,{children:[_&&Ie("span",{className:"k-button-text",children:_}),e.children]}):e.children&&Ie("span",{className:"k-button-text",children:e.children}),d&&Ie("span",{className:"k-menu-button-arrow k-button-arrow",children:Ie(x,{icon:c})})]})};C.states=ka;C.options=La;C.variants=Ma;C.className=Xe;C.defaultOptions=Ht;C.moduleName=Pt;C.folderName=Ro;import{jsx as Oa}from"react/jsx-runtime";var fe=e=>Oa(C,{children:"Button",...e});import{Fragment as Po,jsx as te,jsxs as zt}from"react/jsx-runtime";var ga=L.states,wa=L.defaultOptions,Ra=L.options,Ka=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],_a=[],Ee=e=>{let{modifiers:t,valid:o,invalid:n,loading:a,disabled:l,readonly:d,...c}=e,u=t?.prefix,h=t?.suffix,b=t?.["clear-button"],N=t?.["validation-icon"],I=t?.separators;return zt(L,{...c,valid:o,invalid:n,loading:a,disabled:l,readonly:d,style:{width:300},children:[u&&zt(Po,{children:[te(Ce,{children:te(x,{icon:"lock"})}),I&&te(Te,{})]}),te(ae,{placeholder:"Placeholder",value:"Value"}),N&&te($,{valid:o,invalid:n,loading:a,disabled:l}),te(ee,{loading:a,disabled:l}),b&&te(X,{loading:a,disabled:l,readonly:d,value:"Value"}),h&&zt(Po,{children:[I&&te(Te,{}),te(Ae,{children:te(fe,{size:c.size,fillMode:"clear",children:"Send"})})]})]})};Ee.options=Ra;Ee.states=ga;Ee.variants=_a;Ee.defaultOptions=wa;Ee.modifiers=Ka;Ee.className=L.className;import{jsx as Pa}from"react/jsx-runtime";var Ho=e=>Pa(C,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as Ha}from"react/jsx-runtime";var zo=e=>Ha(C,{icon:"folder",children:"Button",...e});import{jsx as Dt}from"react/jsx-runtime";var za=C.options,Da=C.states,Ba={...C.defaultOptions,variant:"text"},Fa=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Va=[],Se=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return Dt(Ho,{...o,icon:"star"});case"icon-and-text":return Dt(zo,{...o,icon:"star",children:"Button"});default:return Dt(fe,{...o,children:"Button"})}};Se.options=za;Se.states=Da;Se.variants=Fa;Se.defaultOptions=Ba;Se.modifiers=Va;Se.className=C.className;import{jsx as ct}from"react/jsx-runtime";var Ua="k-chip-action";var W=e=>{let{type:t,...o}=e,n;switch(t){case"remove":n=ct(x,{icon:"x-circle",size:"small"});break;case"more":n=ct(x,{icon:"more-vertical",size:"small"});break;default:return ct(x,{icon:t,size:"small"})}return ct("span",{...o,className:r(e.className,Ua,`k-chip-${t}-action`),children:n})};var Bt="avatar",Do=Bt;import{jsx as Bo}from"react/jsx-runtime";var $e="k-avatar";var Ga=[i.hover,i.focus,i.active,i.selected,i.disabled],Xa={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[f.undefined,f.solid,f.outline],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary]},Ft={type:"text",border:!1},D=e=>{let{size:t,rounded:o,fillMode:n,themeColor:a,type:l=Ft.type,border:d=Ft.border,...c}=e;return Bo("div",{...c,className:r(e.className,$e,A($e,{size:t,rounded:o,fillMode:n,themeColor:a}),{[`${$e}-bordered`]:d}),children:Bo("span",{className:`${$e}-${l}`,children:e.children})})};D.states=Ga;D.options=Xa;D.className=$e;D.defaultOptions=Ft;D.moduleName=Bt;D.folderName=Do;var he=D;import{jsx as $a}from"react/jsx-runtime";var Fo=e=>$a(he,{type:"icon",...e});import{jsx as Wa}from"react/jsx-runtime";var Vo=e=>Wa(he,{type:"text",...e});import{jsx as Ja}from"react/jsx-runtime";var Uo=e=>Ja(he,{type:"image",...e});import{jsx as Ud}from"react/jsx-runtime";import{jsx as We}from"react/jsx-runtime";var qa=D.options,Ya=D.states,Qa={...D.defaultOptions,variant:"image"},Za=[{name:"image",title:"Image"},{name:"icon",title:"Icon Avatar"},{name:"text",title:"Text Avatar"}],ja=[],ye=e=>{let{variant:t,...o}=e;switch(t){case"icon":return We(Fo,{...o,children:We(x,{icon:"star"})});case"text":return We(Vo,{...o,children:"JO"});default:return We(Uo,{...o,children:We("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})}};ye.options=qa;ye.states=Ya;ye.variants=Za;ye.defaultOptions=Qa;ye.modifiers=ja;ye.className=D.className;var Je="chip",pt=Je,mt="https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg";import{jsx as Me,jsxs as oi}from"react/jsx-runtime";var ut="k-chip",ei=[i.hover,i.focus,i.active,i.selected,i.disabled],ti={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[f.undefined,f.solid,f.outline],themeColor:[m.undefined,m.base,m.success,m.warning,m.error,m.info]},Go={avatarImage:"/packages/html/assets/avatar.jpg"},P=e=>{let{size:t,rounded:o,fillMode:n,themeColor:a,text:l,icon:d,actions:c,showAvatar:u,avatarImage:h=Go.avatarImage,hover:b,focus:N,active:I,selected:M,disabled:R,...y}=e;return oi("div",{...y,className:r(e.className,ut,A(ut,{size:t,rounded:o,fillMode:n,themeColor:a}),O(ut,{hover:b,focus:N,active:I,disabled:R,selected:M})),role:e.role||"button","aria-pressed":e.role==="option"?void 0:M?"true":"false",...e.role==="option"&&M!==void 0&&{"aria-selected":M?"true":"false"},"aria-disabled":R?"true":void 0,children:[d&&Me(x,{className:"k-chip-icon",icon:d,size:"small"}),u&&Me(D,{className:"k-chip-avatar",type:"image",children:Me("img",{src:h,alt:""})}),Me("span",{className:"k-chip-content",children:e.children?e.children:l&&Me("span",{className:"k-chip-label",children:l})}),c&&Me("span",{className:"k-chip-actions",children:c})]})};P.states=ei;P.options=ti;P.className=ut;P.defaultOptions=Go;P.moduleName=Je;P.folderName=pt;var V=P;import{jsx as ri}from"react/jsx-runtime";var Vt="k-chip-list",ni=[],ai={size:[s.undefined,s.small,s.medium,s.large]},ii={},g=e=>{let{size:t,multiselectable:o,ariaLabel:n,...a}=e;return ri("div",{...a,className:r(e.className,Vt,A(Vt,{size:t})),role:e.role||"listbox","aria-label":e.role==="none"?void 0:n||"chip list","aria-orientation":e.role==="none"?void 0:"horizontal","aria-multiselectable":o?"true":void 0,children:e.children})};g.states=ni;g.options=ai;g.className=Vt;g.defaultOptions=ii;g.moduleName=Je;g.folderName=pt;import{jsx as Nc}from"react/jsx-runtime";import{jsx as Ic}from"react/jsx-runtime";import{jsx as si}from"react/jsx-runtime";var ft=e=>si(V,{text:"text",...e});import{jsx as gc}from"react/jsx-runtime";import{jsx as _c}from"react/jsx-runtime";import{Fragment as Fc,jsx as Bc,jsxs as Vc}from"react/jsx-runtime";import{jsx as Wc,jsxs as Jc}from"react/jsx-runtime";import{jsx as jc,jsxs as ep}from"react/jsx-runtime";import{jsx as rp,jsxs as sp}from"react/jsx-runtime";import{jsx as ke,jsxs as ui}from"react/jsx-runtime";var li={...V.options,...g.options},di=[],ci=g.states,pi={...V.defaultOptions,...g.defaultOptions},mi=[{name:"icon",title:"Icon",type:"boolean"},{name:"actions",title:"Actions",type:"boolean"},{name:"avatar",title:"Avatar",type:"boolean"}],Le=e=>{let{modifiers:t,className:o,...n}=e,a=t?.icon,l=t?.actions,d=t?.avatar,c=d?mt:void 0;return ui(g,{size:n.size,className:o,children:[ke(ft,{...n,role:"option","aria-selected":"false","aria-pressed":void 0,icon:a?"star":void 0,actions:l?ke(W,{type:"remove"}):void 0,showAvatar:d,avatarImage:c,children:"Chip"}),ke(ft,{...n,role:"option","aria-selected":"false","aria-pressed":void 0,icon:a?"star":void 0,actions:l?ke(W,{type:"remove"}):void 0,showAvatar:d,avatarImage:c,children:"Chip"}),ke(ft,{...n,role:"option","aria-selected":"false","aria-pressed":void 0,icon:a?"star":void 0,actions:l?ke(W,{type:"remove"}):void 0,showAvatar:d,avatarImage:c,children:"Chip"})]})};Le.options=li;Le.states=ci;Le.variants=di;Le.defaultOptions=pi;Le.modifiers=mi;Le.className=g.className;import{jsx as Ut}from"react/jsx-runtime";var fi=P.states,hi=P.defaultOptions,xi=P.options,bi=[],vi=[{name:"icon",title:"Icon"},{name:"avatar",title:"Avatar"},{name:"remove-icon",title:"`Remove` Icon"},{name:"more-options",title:"`More options` Icon"}],Oe=e=>{let{modifiers:t,...o}=e,n={};return Object.keys(t||{}).forEach(a=>{switch(a){case"icon":n.icon=t?.[a]?"arrow-down":void 0;break;case"avatar":n.showAvatar=!!t?.[a],n.avatarImage=t?.[a]?mt:void 0;break;case"more-options":n.actions||(n.actions=[]),n.actions[0]=t?.[a]?Ut(W,{type:"more"}):void 0;break;case"remove-icon":n.actions||(n.actions=[]),n.actions[1]=t?.[a]?Ut(W,{type:"remove"}):void 0;break;default:break}}),Ut(P,{...o,...n,children:"Chip component"})};Oe.options=xi;Oe.states=fi;Oe.variants=bi;Oe.defaultOptions=hi;Oe.modifiers=vi;Oe.className=P.className;var Gt="popup",Xo=Gt;import{jsx as $o}from"react/jsx-runtime";var Wo="k-animation-container",Ni=[],Ci={},Xt={positionMode:"absolute",shown:!0},oe=e=>{let{positionMode:t=Xt.positionMode,shown:o=Xt.shown,animationStyle:n,offset:a,...l}=e;return $o("div",{...l,style:{...a,...e.style},className:r(e.className,Wo,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:$o("div",{className:"k-child-animation-container",style:n,children:e.children})})};oe.states=Ni;oe.options=Ci;oe.className=Wo;oe.defaultOptions=Xt;oe.moduleName=Gt;oe.folderName=Xo;var $t="popup",Jo=$t;import{jsx as qo}from"react/jsx-runtime";var Yo="k-popup",Ai=[],Ti={},Qo={positionMode:"absolute"},re=e=>{let{offset:t,positionMode:o=Qo.positionMode,animationStyle:n,containerClassName:a,containerRole:l,containerAriaLabel:d,...c}=e;return qo(oe,{positionMode:o,offset:t,animationStyle:n,className:a,role:l,"aria-label":d,children:qo("div",{...c,className:r(e.className,Yo),children:e.children})})};re.states=Ai;re.options=Ti;re.className=Yo;re.defaultOptions=Qo;re.moduleName=$t;re.folderName=Jo;var Wt="action-buttons",Zo=Wt;import{jsx as Si}from"react/jsx-runtime";var ht="k-actions",Ii=[],Ei={},Jt={alignment:"start",orientation:"horizontal"},se=e=>{let{alignment:t=Jt.alignment,orientation:o=Jt.orientation,...n}=e;return Si("div",{...n,className:r(ht,{[`${ht}-${t}`]:t,[`${ht}-${o}`]:o},e.className),children:e.children})};se.states=Ii;se.options=Ei;se.className=ht;se.defaultOptions=Jt;se.moduleName=Wt;se.folderName=Zo;import{jsx as Mi}from"react/jsx-runtime";var yi="k-actionsheet-footer",jo={alignment:"stretched",orientation:"horizontal"},ge=e=>{let{alignment:t=jo.alignment,orientation:o=jo.orientation,template:n,as:a=n?"div":se,...l}=e;return Mi(a,{...l,...!n&&{alignment:t,orientation:o},className:r(e.className,yi),children:e.children})};var qt="searchbox",en=qt;import{jsx as qe,jsxs as Oi}from"react/jsx-runtime";var tn="k-searchbox",ki=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],Li={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},xt={showIcon:!0,showClearButton:!0,icon:"search"},le=e=>{let{value:t,placeholder:o,size:n,rounded:a,fillMode:l,hover:d,focus:c,valid:u,invalid:h,required:b,loading:N,disabled:I,showIcon:M=xt.showIcon,showClearButton:R=xt.showClearButton,icon:y=xt.icon,"aria-label":E,...S}=e;return Oi(L,{...S,size:n,rounded:a,fillMode:l,hover:d,focus:c,valid:u,invalid:h,required:b,loading:N,disabled:I,className:r(e.className,tn),children:[M&&qe(x,{className:"k-input-icon",icon:y}),qe(ae,{placeholder:o,value:t,"aria-label":E}),qe(ee,{...e}),qe($,{...e}),R&&qe(X,{...e})]})};le.states=ki;le.options=Li;le.className=tn;le.defaultOptions=xt;le.moduleName=qt;le.folderName=en;import{jsx as Am}from"react/jsx-runtime";var Yt="textbox",on=Yt;import{Fragment as nn,jsx as de,jsxs as Qt}from"react/jsx-runtime";var an="k-textbox",gi=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],wi={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},bt={showClearButton:!0,showValidationIcon:!0,separators:!0},B=e=>{let{size:t,rounded:o,fillMode:n,separators:a=bt.separators,showClearButton:l=bt.showClearButton,showValidationIcon:d=bt.showValidationIcon,prefix:c,suffix:u,type:h,value:b,placeholder:N,hover:I,focus:M,valid:R,invalid:y,required:E,loading:S,disabled:_,readonly:Q,id:Z,"aria-label":ne,"aria-describedby":ue,...Be}=e;return Qt(L,{...Be,size:t,rounded:o,fillMode:n,hover:I,focus:M,valid:R,invalid:y,required:E,loading:S,disabled:_,readonly:Q,className:r(e.className,an),children:[c&&Qt(nn,{children:[de(Ce,{children:c}),a&&de(Te,{})]}),de(ae,{id:Z,placeholder:N,value:b,type:h,disabled:_,"aria-label":ne,"aria-describedby":ue,"aria-invalid":y?"true":void 0}),d&&de($,{valid:R,invalid:y,loading:S,disabled:_}),de(ee,{loading:S,disabled:_}),l&&de(X,{loading:S,disabled:_,readonly:Q,value:b}),u&&Qt(nn,{children:[a&&de(Te,{}),de(Ae,{children:u})]})]})};B.states=gi;B.options=wi;B.className=an;B.defaultOptions=bt;B.moduleName=Yt;B.folderName=on;var Ye=B;import{jsx as Ri}from"react/jsx-runtime";var rn=e=>Ri(Ye,{...e});import{Fragment as Dm,jsx as zm}from"react/jsx-runtime";import{Fragment as Xm,jsx as Gm}from"react/jsx-runtime";import{jsx as qm}from"react/jsx-runtime";import{jsx as Zt}from"react/jsx-runtime";var Ki=B.states,_i=B.defaultOptions,Pi=B.options,Hi=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],zi=[],we=e=>{let{modifiers:t,...o}=e,n={};return Object.keys(t||{}).forEach(a=>{switch(a){case"prefix":n.prefix=t?.[a]?Zt(x,{icon:"lock"}):void 0;break;case"suffix":n.suffix=t?.[a]?Zt(fe,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":n.showClearButton=t?.[a];break;default:break}}),Zt(rn,{value:"Value",style:{width:300},...o,...n})};we.options=Pi;we.states=Ki;we.variants=zi;we.defaultOptions=_i;we.modifiers=Hi;we.className=B.className;import{jsx as ce,jsxs as jt}from"react/jsx-runtime";var sn="k-actionsheet-titlebar",Di={},J=e=>{let{title:t,subtitle:o,actionsStart:n,actionsEnd:a,filter:l,input:d,inputValue:c,inputPlaceholder:u,adaptive:h,titleId:b,children:N,...I}=e;return jt("div",{...I,className:r(e.className,sn),children:[jt("div",{className:"k-actionsheet-titlebar-group",children:[n&&ce("div",{className:"k-actionsheet-actions",children:n}),!N&&jt("div",{className:"k-actionsheet-title",id:b,children:[t&&ce("div",{className:"k-text-center",children:t}),o&&ce("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),N&&ce("div",{className:"k-actionsheet-title",id:b,children:N}),a&&ce("div",{className:"k-actionsheet-actions",children:a})]}),(d||l)&&ce("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?ce(B,{value:c,placeholder:u,size:h?"large":"medium","aria-label":t||u||"Input"}):ce(le,{placeholder:"Filter",size:h?"large":"medium","aria-label":"Filter options"})})]})};J.className=sn;J.defaultOptions=Di;import{jsx as eo,jsxs as Ui}from"react/jsx-runtime";var to="k-actionsheet-view",Bi=[],Fi={},Vi={},Re=e=>{let{adaptive:t,animated:o,children:n,header:a,footer:l,titleId:d,...c}=e,u=a?.type===J&&eo(J,{adaptive:t,titleId:d,...a?.props}),h=l?.type===ge&&eo(ge,{...l?.props});return Ui("div",{...c,className:r(e.className,to,{[`${to}-animated`]:o}),children:[u,eo("div",{className:"k-actionsheet-content",children:n}),h]})};Re.states=Bi;Re.options=Fi;Re.className=to;Re.defaultOptions=Vi;var Qe="action-sheet",vt=Qe;var oo="overlay",ln=oo;import{jsx as Wi}from"react/jsx-runtime";var dn="k-overlay",Gi=[],Xi={},$i={},pe=e=>{let{...t}=e;return Wi("div",{...t,className:r(e.className,dn),children:e.children})};pe.states=Gi;pe.options=Xi;pe.className=dn;pe.defaultOptions=$i;pe.moduleName=oo;pe.folderName=ln;import{jsx as Nt,jsxs as Yi}from"react/jsx-runtime";var cn="k-actionsheet",Ji=[],qi={},Ze={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},K=e=>{let{side:t=Ze.side,fullscreen:o=Ze.fullscreen,adaptive:n=Ze.adaptive,overlay:a=Ze.overlay,template:l,children:d,header:c,footer:u,id:h,...b}=e,N=h&&!l&&c?`${h}-title`:void 0;return Yi("div",{className:"k-actionsheet-container",children:[a&&Nt(pe,{}),Nt(oe,{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:Nt("div",{...b,id:h,role:"dialog","aria-modal":a?"true":void 0,"aria-labelledby":N,className:r(e.className,cn,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":n}),children:l||Nt(Re,{header:c,footer:u,adaptive:n,titleId:N,...e,children:d})})})]})};K.states=Ji;K.options=qi;K.className=cn;K.defaultOptions=Ze;K.moduleName=Qe;K.folderName=vt;import{jsx as er}from"react/jsx-runtime";var pn="k-actionsheet-container",Qi=[],Zi={},ji={},Ke=e=>{let{children:t,...o}=e;return er("div",{...o,className:pn,children:t})};Ke.states=Qi;Ke.options=Zi;Ke.className=pn;Ke.defaultOptions=ji;Ke.moduleName=Qe;Ke.folderName=vt;import{jsx as tr}from"react/jsx-runtime";var no=e=>{let{...t}=e;return tr("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as nr,jsx as je,jsxs as ao}from"react/jsx-runtime";var io="k-actionsheet-item",or=[i.hover,i.focus,i.selected,i.disabled],me=e=>{let{iconName:t,text:o,description:n,hover:a,focus:l,selected:d,disabled:c,...u}=e;return ao("span",{...u,className:r(e.className,io,O(io,{hover:a,focus:l,selected:d,disabled:c})),children:[!e.children&&je(nr,{children:ao("span",{className:"k-actionsheet-action",children:[t&&je("span",{className:"k-icon-wrap",children:je(x,{className:"k-actionsheet-item-icon",icon:t})}),ao("span",{className:"k-actionsheet-item-text",children:[o&&je("span",{className:"k-actionsheet-item-title",children:o}),n&&je("span",{className:"k-actionsheet-item-description",children:n})]})]})}),e.children]})};me.states=or;me.className=io;import{jsx as Ju,jsxs as qu}from"react/jsx-runtime";import{jsx as ju}from"react/jsx-runtime";import{jsx as nf}from"react/jsx-runtime";import{jsx as lf}from"react/jsx-runtime";import{jsx as w,jsxs as ro}from"react/jsx-runtime";var ar=K.options,ir=K.states,un={...K.defaultOptions,variant:"normal"},rr=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],sr=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],_e=e=>{let{variant:t,modifiers:o,...n}={...un,...e},a={},l=ro(no,{children:[w(me,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),w(me,{text:"Add to Favorites",iconName:"heart"}),w(me,{text:"Upload New",iconName:"upload",disabled:!0}),w("hr",{className:"k-hr"}),w(me,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",c="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]?d:void 0;break;case"footer":a.footer=!!o?.[u];break;default:break}}),t==="adaptive"?w(K,{...n,adaptive:!0,fullscreen:a.fullScreen,header:w(J,{actionsStart:a.actionsStart?w(C,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:a.actionsEnd?w(C,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:c,subtitle:a.subtitle}),footer:a.footer?ro(ge,{alignment:"stretched",children:[w(C,{text:"Cancel",size:"large",themeColor:"base"}),w(C,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:l}):w(K,{...n,fullscreen:a.fullScreen,header:w(J,{actionsStart:a.actionsStart?w(C,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:a.actionsEnd?w(C,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:a.subtitle}),footer:a.footer?ro(ge,{alignment:"stretched",children:[w(C,{text:"Apply",themeColor:"primary"}),w(C,{text:"Cancel",themeColor:"base"})]}):void 0,children:l})};_e.options=ar;_e.states=ir;_e.variants=rr;_e.defaultOptions=un;_e.modifiers=sr;_e.className=K.className;import lo from"react";import so from"react";import{jsx as dr}from"react/jsx-runtime";var lr="k-treeview-group",F=e=>{let{children:t,dir:o,level:n=1,role:a="group",...l}=e;return dr("ul",{...l,className:r(e.className,lr),role:a,children:so.Children.map(t,(d,c)=>so.isValidElement(d)?so.cloneElement(d,{dir:o,level:n,key:c}):d)})};var et="treeview",Ct=et;import{jsx as fn}from"react/jsx-runtime";var co="k-treeview",cr=[],pr={size:[s.undefined,s.small,s.medium,s.large]},mr={},k=e=>{let{size:t,children:o,dir:n,...a}=e;return fn("div",{...a,dir:n,className:r(e.className,co,A(co,{size:t})),children:fn(F,{className:"k-treeview-lines",role:"tree",dir:n,children:lo.Children.map(o,(l,d)=>lo.isValidElement(l)?lo.cloneElement(l,{dir:n,key:d}):l)})})};k.states=cr;k.options=pr;k.className=co;k.defaultOptions=mr;k.moduleName=et;k.folderName=Ct;import mo from"react";var xe="checkbox",Pe=xe;import{jsx as hn}from"react/jsx-runtime";var At="k-checkbox",ur=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.checked,i.indeterminate],fr={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full]},hr={},q=e=>{let{id:t,checked:o,indeterminate:n,hover:a,focus:l,disabled:d,invalid:c,valid:u,required:h,size:b,rounded:N,wrapperRole:I,...M}=e;return hn("span",{className:"k-checkbox-wrap",role:I,children:hn("input",{...M,id:t,type:"checkbox",defaultChecked:o,required:h,disabled:d||void 0,"aria-invalid":c?"true":void 0,className:r(e.className,At,A(At,{size:b,rounded:N}),O(At,{hover:a,focus:l,disabled:d,invalid:c,valid:u,indeterminate:n,checked:o}))})})};q.states=ur;q.options=fr;q.className=At;q.defaultOptions=hr;q.moduleName=xe;q.folderName=Pe;var Y=q;import{jsx as vr}from"react/jsx-runtime";var xn="k-checkbox-list",xr=[],br={},bn={layout:"vertical"},H=e=>{let{layout:t=bn.layout,...o}=e;return vr("ul",{...o,className:r(e.className,xn,{[`k-list-${t}`]:t}),children:e.children})};H.states=xr;H.options=br;H.className=xn;H.defaultOptions=bn;H.moduleName=xe;H.folderName=Pe;import{jsx as Tr}from"react/jsx-runtime";var vn="k-checkbox-list-item",Nr=[],Cr={},Ar={},z=e=>{let{...t}=e;return Tr("li",{...t,className:r(e.className,vn),children:e.children})};z.states=Nr;z.options=Cr;z.className=vn;z.defaultOptions=Ar;z.moduleName=xe;z.folderName=Pe;import{Fragment as Ir,jsx as Nn,jsxs as Er}from"react/jsx-runtime";var ie=({children:e="Label",id:t="cb-label-after",...o})=>Er(Ir,{children:[Nn(Y,{id:t,...o}),Nn("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as lh,jsx as sh,jsxs as dh}from"react/jsx-runtime";import{Fragment as fh,jsx as uh,jsxs as hh}from"react/jsx-runtime";import{Fragment as Ch,jsx as Nh,jsxs as Ah}from"react/jsx-runtime";import{jsx as Sh}from"react/jsx-runtime";import{jsx as Lh}from"react/jsx-runtime";import{jsx as Rh}from"react/jsx-runtime";import{jsx as U,jsxs as Cn}from"react/jsx-runtime";var Sr=H.options,yr=H.states,Mr={...H.defaultOptions,variant:"vertical"},kr=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Lr=[],He=e=>{let{variant:t,...o}=e;return t==="horizontal"?Cn(H,{layout:"horizontal",...o,children:[U(z,{children:U(ie,{id:G("cb"),defaultChecked:!0,children:"Label"})}),U(z,{children:U(ie,{id:G("cb"),children:"Label"})}),U(z,{children:U(ie,{id:G("cb"),children:"Label"})})]}):Cn(H,{...o,children:[U(z,{children:U(ie,{id:G("cb"),defaultChecked:!0,children:"Label"})}),U(z,{children:U(ie,{id:G("cb"),children:"Label"})}),U(z,{children:U(ie,{id:G("cb"),children:"Label"})})]})};He.options=Sr;He.states=yr;He.variants=kr;He.defaultOptions=Mr;He.modifiers=Lr;He.className=H.className;import{jsx as _r}from"react/jsx-runtime";var Or=Y.options,gr=Y.states,wr=Y.defaultOptions,Rr=[],Kr=[],ze=e=>_r(ie,{id:G("checkbox"),...e,defaultChecked:!0,children:"Label"});ze.options=Or;ze.states=gr;ze.variants=Rr;ze.defaultOptions=wr;ze.modifiers=Kr;ze.className=Y.className;import{jsx as An,jsxs as zr}from"react/jsx-runtime";var po="k-treeview-leaf",Pr=[i.hover,i.focus,i.selected],Hr={},Tt=e=>{let{text:t,showIcon:o,icon:n,children:a,hover:l,focus:d,selected:c,...u}=e;return zr("span",{...u,className:r(e.className,po,O(po,{hover:l,focus:d,selected:c})),children:[o&&An(x,{icon:n}),An("span",{className:"k-treeview-leaf-text",children:a??t})]})};Tt.states=Pr;Tt.options=Hr;Tt.className=po;var Tn=Tt;import{jsx as tt,jsxs as In}from"react/jsx-runtime";var En="k-treeview-item",Dr=[i.hover,i.focus,i.selected,i.disabled],Br={},Fr={},v=e=>{let{leafClassName:t,children:o,hasChildren:n,expanded:a,loading:l,text:d,content:c,showIcon:u,icon:h,showCheckbox:b,checked:N,hover:I,focus:M,selected:R,disabled:y,dir:E,level:S=1,ariaSelected:_,...Q}=e,Z=n||o||l;return In("li",{...Q,className:r(e.className,En),style:{"--kendo-treeview-level":S},role:"treeitem","aria-expanded":Z?a?"true":"false":void 0,"aria-checked":b?N?"true":"false":void 0,"aria-selected":_?"true":void 0,"aria-disabled":y?"true":void 0,children:[In("span",{className:r("k-treeview-item-content",O("k-treeview-item-content",{hover:I,focus:M,selected:R,disabled:y})),children:[Z&&tt("span",{className:r("k-treeview-toggle",O("k-treeview-toggle",{disabled:y})),children:l?tt("span",{className:"k-icon k-i-loading"}):tt(x,{icon:a?"chevron-down":E==="rtl"?"chevron-left":"chevron-right"})}),b&&tt(q,{checked:N,disabled:y,"aria-label":d,tabIndex:-1}),tt(Tn,{className:t,text:d,showIcon:u,icon:h,children:c})]}),a&&Z&&mo.Children.map(o,(ne,ue)=>mo.isValidElement(ne)?mo.cloneElement(ne,{dir:E,level:S+1,key:ue}):ne)]})};v.states=Dr;v.options=Br;v.className=En;v.defaultOptions=Fr;v.moduleName=et;v.folderName=Ct;import{jsx as Ax}from"react/jsx-runtime";import{jsx as Sx,jsxs as yx}from"react/jsx-runtime";import{jsx as Ox,jsxs as gx}from"react/jsx-runtime";import{jsx as _x,jsxs as Px}from"react/jsx-runtime";import{jsx as Bx,jsxs as Fx}from"react/jsx-runtime";import{jsx as Xx,jsxs as $x}from"react/jsx-runtime";import{jsx as be,jsxs as uo}from"react/jsx-runtime";var Vr=k.options,Ur=k.states,Gr=k.defaultOptions,Xr=[{name:"checkboxes",title:"Show `Checkbox`",default:!1}],$r=[],De=e=>{let{modifiers:t,...o}=e,n={};return Object.keys(t||{}).forEach(a=>{a==="checkboxes"&&(n.showCheckbox=t?.[a])}),uo(k,{...o,children:[be(v,{text:"Furniture",expanded:!0,...n,children:uo(F,{children:[be(v,{text:"Tables & Chairs",...n}),be(v,{text:"Sofas",...n}),be(v,{text:"Occasional Furniture",...n})]})}),uo(v,{text:"Decor",expanded:!1,...n,children:[be(v,{text:"Bed Linen",...n}),be(v,{text:"Curtains & Blinds",...n}),be(v,{text:"Carpets",...n})]})]})};De.options=Vr;De.states=Ur;De.variants=$r;De.defaultOptions=Gr;De.modifiers=Xr;De.className=k.className;var Sn="dropdown-tree",yn="dropdowntree";import{Fragment as Mn,jsx as T,jsxs as ot}from"react/jsx-runtime";var kn="k-multiselecttree",Wr=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Jr={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Ln={showClearButton:!0},ve=e=>{let{size:t,rounded:o,fillMode:n,showClearButton:a=Ln.showClearButton,prefix:l,suffix:d,placeholder:c,tags:u,popup:h,showArrowButton:b,hover:N,focus:I,valid:M,invalid:R,required:y,loading:E,disabled:S,readonly:_,opened:Q,dir:Z,adaptive:ne,adaptiveSettings:ue,adaptiveTitle:Be,adaptiveSubtitle:gn,adaptiveFilter:wn,id:fo,treeviewId:Rn,"aria-label":Kn,..._n}=e,ho=fo?`${fo}-taglist`:void 0;return ot(Mn,{children:[ot(L,{..._n,dir:Z,size:t,rounded:o,fillMode:n,hover:N,focus:I,valid:M,invalid:R,required:y,loading:E,disabled:S,readonly:_,className:r(e.className,kn),children:[T(Ce,{children:l}),T(g,{size:t,className:"k-input-values",id:ho,children:T(Mn,{children:u})}),T("span",{className:"k-input-inner",role:"combobox","aria-haspopup":"tree","aria-expanded":Q?"true":"false","aria-controls":Q?Rn:void 0,"aria-autocomplete":"list","aria-describedby":u?ho:void 0,"aria-disabled":S?"true":void 0,"aria-label":Kn,tabIndex:0,children:!u&&T("span",{className:"k-input-value-text",children:c})}),T($,{valid:M,invalid:R,loading:E,disabled:S}),T(ee,{loading:E,disabled:S}),a&&T(X,{loading:E,disabled:S,readonly:_,value:u?"value":""}),T(Ae,{children:d}),b&&T(C,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:n,"aria-label":"Toggle dropdown",tabIndex:-1})]}),Q&&h&&T(re,{className:"k-multiselecttree-popup",dir:Z,containerRole:"region",containerAriaLabel:"MultiSelectTree options",children:h}),ne&&T(K,{adaptive:!0,...ue,header:T(J,{actionsEnd:T(C,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:wn,inputPlaceholder:c,title:Be,subtitle:gn}),children:ot(k,{size:"large",children:[T(v,{text:"Root 1"}),T(v,{text:"Root 2",expanded:!0,children:ot(F,{children:[T(v,{text:"Child 2.1"}),T(v,{text:"Child 2.2",children:T(F,{children:T(v,{text:"Child 2.2.1"})})}),T(v,{text:"Child 2.3"}),T(v,{leafClassName:"k-treeview-load-more-button",text:"Load more ..."})]})}),T(v,{text:"Root 3",children:ot(F,{children:[T(v,{text:"Child 3.1"}),T(v,{text:"Child 3.2"}),T(v,{text:"Child 3.3"})]})})]})})]})};ve.states=Wr;ve.options=Jr;ve.className=kn;ve.defaultOptions=Ln;ve.moduleName=Sn;ve.folderName=yn;var On=ve;import{Fragment as qr,jsx as It}from"react/jsx-runtime";var Mb=({size:e,rounded:t,children:o="Tag",...n})=>It(qr,{children:It(On,{id:G("mst"),"aria-label":"Select options",size:e,rounded:t,tags:It(P,{text:o,actions:It(W,{type:"remove"}),size:e,rounded:t,role:"option","aria-selected":"true"}),...n})});export{Mb as MultiSelectTreeValue};
|