@progress/kendo-themes-html 14.5.1-dev.7 → 14.5.1-dev.8
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/colorgradient/demos/colorgradient.js +1 -1
- package/dist/cjs/colorpicker/colorpicker.spec.js +1 -1
- package/dist/cjs/colorpicker/templates/colorpicker-adaptive.js +1 -1
- package/dist/cjs/colorpicker/templates/colorpicker-disabled.js +1 -1
- package/dist/cjs/colorpicker/templates/colorpicker-normal.js +1 -1
- package/dist/cjs/combobox/demos/combobox.js +1 -1
- package/dist/cjs/combobox/templates/combobox-grouping-modern-custom-value.js +1 -1
- package/dist/cjs/filemanager/filemanager-listview.spec.js +1 -1
- package/dist/cjs/floating-toolbar/floating-toolbar.spec.js +1 -1
- package/dist/cjs/imageeditor/imageeditor-option-list.js +1 -0
- package/dist/cjs/imageeditor/imageeditor-option-preview.js +1 -0
- package/dist/cjs/imageeditor/imageeditor-pane.js +1 -0
- package/dist/cjs/imageeditor/imageeditor-placeholder.js +1 -0
- package/dist/cjs/imageeditor/imageeditor-preview-thumbnail.js +1 -0
- package/dist/cjs/imageeditor/imageeditor-resize-handles.js +1 -0
- package/dist/cjs/imageeditor/imageeditor-sidebar.js +1 -0
- package/dist/cjs/imageeditor/imageeditor-toolbar.js +1 -1
- package/dist/cjs/imageeditor/imageeditor.spec.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-adjustments.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-blur.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-crop.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-disabled.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-filters.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-frames.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-insert-line.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-insert-shape.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-insert-text.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-normal.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-pixelate.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-resize.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-rotate.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-shadow.js +1 -0
- package/dist/cjs/index.js +8 -8
- package/dist/cjs/listview/demos/listview.js +1 -1
- package/dist/cjs/listview/listview.spec.js +1 -1
- package/dist/cjs/listview/templates/listview-no-data.js +1 -1
- package/dist/cjs/listview/templates/listview-normal.js +1 -1
- package/dist/cjs/listview/templates/listview-selectable.js +1 -1
- package/dist/cjs/pager/index.js +1 -1
- package/dist/cjs/prompt/templates/prompt-inline-input-only.js +1 -1
- package/dist/cjs/prompt/templates/prompt-inline.js +1 -1
- package/dist/cjs/prompt/templates/prompt-more-actions.js +1 -1
- package/dist/cjs/prompt/templates/prompt-normal.js +1 -1
- package/dist/cjs/prompt/templates/prompt-output.js +1 -1
- package/dist/cjs/prompt/templates/prompt-popup.js +1 -1
- package/dist/cjs/prompt/templates/prompt-settings.js +1 -1
- package/dist/cjs/prompt/templates/prompt-suggestions.js +1 -1
- package/dist/cjs/scheduler/scheduler-toolbar.spec.js +1 -1
- package/dist/cjs/spreadsheet/spreadsheet-action-bar.js +1 -1
- package/dist/cjs/toolbar/demos/toolbar.js +1 -1
- package/dist/cjs/toolbar/templates/toolbar-scrollable-buttons-hidden.js +1 -1
- package/dist/cjs/toolbar/templates/toolbar-scrollable.js +1 -1
- package/dist/esm/colorgradient/demos/colorgradient.mjs +1 -1
- package/dist/esm/colorpicker/colorpicker.spec.mjs +1 -1
- package/dist/esm/colorpicker/templates/colorpicker-adaptive.mjs +1 -1
- package/dist/esm/colorpicker/templates/colorpicker-disabled.mjs +1 -1
- package/dist/esm/colorpicker/templates/colorpicker-normal.mjs +1 -1
- package/dist/esm/combobox/demos/combobox.mjs +1 -1
- package/dist/esm/combobox/templates/combobox-grouping-modern-custom-value.mjs +1 -1
- package/dist/esm/filemanager/filemanager-listview.spec.mjs +1 -1
- package/dist/esm/floating-toolbar/floating-toolbar.spec.mjs +1 -1
- package/dist/esm/imageeditor/imageeditor-option-list.mjs +1 -0
- package/dist/esm/imageeditor/imageeditor-option-preview.mjs +1 -0
- package/dist/esm/imageeditor/imageeditor-pane.mjs +1 -0
- package/dist/esm/imageeditor/imageeditor-placeholder.mjs +1 -0
- package/dist/esm/imageeditor/imageeditor-preview-thumbnail.mjs +1 -0
- package/dist/esm/imageeditor/imageeditor-resize-handles.mjs +1 -0
- package/dist/esm/imageeditor/imageeditor-sidebar.mjs +1 -0
- package/dist/esm/imageeditor/imageeditor-toolbar.mjs +1 -1
- package/dist/esm/imageeditor/imageeditor.spec.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-adjustments.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-blur.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-crop.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-disabled.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-filters.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-frames.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-insert-line.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-insert-shape.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-insert-text.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-normal.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-pixelate.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-resize.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-rotate.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-shadow.mjs +1 -0
- package/dist/esm/index.mjs +8 -8
- package/dist/esm/listview/demos/listview.mjs +1 -1
- package/dist/esm/listview/templates/listview-no-data.mjs +1 -1
- package/dist/esm/listview/templates/listview-normal.mjs +1 -1
- package/dist/esm/listview/templates/listview-selectable.mjs +1 -1
- package/dist/esm/pager/index.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-inline-input-only.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-inline.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-more-actions.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-normal.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-output.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-popup.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-settings.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-suggestions.mjs +1 -1
- package/dist/esm/scheduler/scheduler-toolbar.spec.mjs +1 -1
- package/dist/esm/spreadsheet/spreadsheet-action-bar.mjs +1 -1
- package/dist/esm/toolbar/demos/toolbar.mjs +1 -1
- package/dist/esm/toolbar/templates/toolbar-scrollable-buttons-hidden.mjs +1 -1
- package/dist/esm/toolbar/templates/toolbar-scrollable.mjs +1 -1
- package/dist/types/combobox/combobox.spec.d.ts +1 -1
- package/dist/types/imageeditor/imageeditor-option-list.d.ts +18 -0
- package/dist/types/imageeditor/imageeditor-option-preview.d.ts +18 -0
- package/dist/types/imageeditor/imageeditor-pane.d.ts +21 -0
- package/dist/types/imageeditor/imageeditor-placeholder.d.ts +7 -0
- package/dist/types/imageeditor/imageeditor-preview-thumbnail.d.ts +12 -0
- package/dist/types/imageeditor/imageeditor-resize-handles.d.ts +14 -0
- package/dist/types/imageeditor/imageeditor-sidebar.d.ts +11 -0
- package/dist/types/imageeditor/imageeditor-toolbar.d.ts +1 -0
- package/dist/types/imageeditor/imageeditor.spec.d.ts +40 -4
- package/dist/types/imageeditor/index.d.ts +18 -0
- package/dist/types/imageeditor/templates/imageeditor-adjustments.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-blur.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-disabled.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-filters.d.ts +6 -0
- package/dist/types/imageeditor/templates/imageeditor-frames.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-insert-line.d.ts +2 -0
- package/dist/types/imageeditor/templates/imageeditor-insert-shape.d.ts +2 -0
- package/dist/types/imageeditor/templates/imageeditor-insert-text.d.ts +2 -0
- package/dist/types/imageeditor/templates/imageeditor-pixelate.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-rotate.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-shadow.d.ts +1 -0
- package/dist/types/numerictextbox/numerictextbox.spec.d.ts +1 -1
- package/package.json +4 -4
- package/src/combobox/combobox.spec.tsx +2 -2
- package/src/imageeditor/imageeditor-option-list.tsx +53 -0
- package/src/imageeditor/imageeditor-option-preview.tsx +56 -0
- package/src/imageeditor/imageeditor-pane.tsx +70 -0
- package/src/imageeditor/imageeditor-placeholder.tsx +51 -0
- package/src/imageeditor/imageeditor-preview-thumbnail.tsx +42 -0
- package/src/imageeditor/imageeditor-resize-handles.tsx +37 -0
- package/src/imageeditor/imageeditor-sidebar.tsx +66 -0
- package/src/imageeditor/imageeditor-toolbar.tsx +14 -13
- package/src/imageeditor/imageeditor.spec.tsx +79 -13
- package/src/imageeditor/index.ts +19 -0
- package/src/imageeditor/templates/imageeditor-adjustments.tsx +88 -0
- package/src/imageeditor/templates/imageeditor-blur.tsx +92 -0
- package/src/imageeditor/templates/imageeditor-crop.tsx +64 -59
- package/src/imageeditor/templates/imageeditor-disabled.tsx +45 -0
- package/src/imageeditor/templates/imageeditor-filters.tsx +98 -0
- package/src/imageeditor/templates/imageeditor-frames.tsx +180 -0
- package/src/imageeditor/templates/imageeditor-insert-line.tsx +141 -0
- package/src/imageeditor/templates/imageeditor-insert-shape.tsx +195 -0
- package/src/imageeditor/templates/imageeditor-insert-text.tsx +143 -0
- package/src/imageeditor/templates/imageeditor-normal.tsx +20 -1
- package/src/imageeditor/templates/imageeditor-pixelate.tsx +92 -0
- package/src/imageeditor/templates/imageeditor-resize.tsx +68 -50
- package/src/imageeditor/templates/imageeditor-rotate.tsx +98 -0
- package/src/imageeditor/templates/imageeditor-shadow.tsx +96 -0
- package/src/imageeditor/tests/imageeditor-adaptive-small.tsx +373 -0
- package/src/imageeditor/tests/imageeditor-adjustments-pane.tsx +14 -0
- package/src/imageeditor/tests/imageeditor-blur-pane.tsx +29 -0
- package/src/imageeditor/tests/imageeditor-crop-pane.tsx +3 -2
- package/src/imageeditor/tests/imageeditor-export-dialog.tsx +85 -0
- package/src/imageeditor/tests/imageeditor-filters-pane.tsx +14 -0
- package/src/imageeditor/tests/imageeditor-frames-pane.tsx +22 -0
- package/src/imageeditor/tests/imageeditor-insert-line-pane.tsx +52 -0
- package/src/imageeditor/tests/imageeditor-insert-shape-pane.tsx +57 -0
- package/src/imageeditor/tests/imageeditor-insert-text-pane.tsx +51 -0
- package/src/imageeditor/tests/imageeditor-interactive-states.tsx +79 -0
- package/src/imageeditor/tests/imageeditor-option-list-states.tsx +17 -0
- package/src/imageeditor/tests/imageeditor-pixelate-pane.tsx +29 -0
- package/src/imageeditor/tests/imageeditor-resize-pane.tsx +15 -1
- package/src/imageeditor/tests/imageeditor-responsive.tsx +71 -0
- package/src/imageeditor/tests/imageeditor-rotate-pane.tsx +27 -0
- package/src/imageeditor/tests/imageeditor-shadow-pane.tsx +14 -0
- package/src/imageeditor/tests/imageeditor-sidebar-scrollable.tsx +97 -0
- package/src/numerictextbox/numerictextbox.spec.tsx +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var Zm=Object.create;var gi=Object.defineProperty;var Qm=Object.getOwnPropertyDescriptor;var jm=Object.getOwnPropertyNames;var ec=Object.getPrototypeOf,tc=Object.prototype.hasOwnProperty;var oc=(e,t)=>{for(var o in t)gi(e,o,{get:t[o],enumerable:!0})},Ul=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of jm(t))!tc.call(e,i)&&i!==o&&gi(e,i,{get:()=>t[i],enumerable:!(a=Qm(t,i))||a.enumerable});return e};var Gl=(e,t,o)=>(o=e!=null?Zm(ec(e)):{},Ul(t||!e||!e.__esModule?gi(o,"default",{value:e,enumerable:!0}):o,e)),ac=e=>Ul(gi({},"__esModule",{value:!0}),e);var Hg={};oc(Hg,{ImageEditorFrames:()=>_g});module.exports=ac(Hg);var l=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?l(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var I=(e,t)=>l({[`${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"}),T=(e,t)=>{let{valid:o,invalid:a,hover:i,focus:n,checked:p,active:m,selected:f,disabled:x,indeterminate:h,loading:N,empty:c,readonly:k,highlighted:g,...M}=t;return l({"k-valid":o,"k-invalid":a,"k-hover":i,"k-focus":n,"k-checked":p,"k-active":m,"k-selected":f,"k-disabled":x,"k-indeterminate":h&&!p,"k-loading":N,"k-empty":c,"k-readonly":k,"k-highlighted":g},Object.keys(M).reduce((y,E)=>(E.startsWith("k-")?y[E]=M[E]:y[`k-${E}`]=M[E],y),{}))};function $l(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var s={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},u={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},b={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},Dt={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},v={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"},Vl={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};var sr={};function O(e){return sr[e]=(sr[e]||0)+1,`k-${e}-${sr[e]}`}var $a=require("react/jsx-runtime"),dr="k-font-icon",ic=[],rc={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info]},nc={},Va=e=>{let{size:t,themeColor:o,icon:a,rotate:i,flip:n,...p}=e;return a?(0,$a.jsx)("span",{...p,className:l(e.className,dr,I(dr,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${i}`]:i,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true"}):(0,$a.jsx)($a.Fragment,{})};Va.states=ic;Va.options=rc;Va.className=dr;Va.defaultOptions=nc;var Xl=Va;var Mo=require("react/jsx-runtime"),pr="k-svg-icon",lc=[],sc={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info],variant:[Dt.outline,Dt.solid,Dt.duotone]},mr={viewBox:"0 0 24 24",variant:Dt.outline},Xa=e=>{var N,c;let{size:t,themeColor:o,rotate:a,flip:i,viewBox:n=mr.viewBox,variant:p=mr.variant,icon:m,...f}=e;if(!m)return(0,Mo.jsx)(Mo.Fragment,{});if(m==="none")return(0,Mo.jsx)("span",{...f,className:l(e.className,pr,I("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let x=typeof m=="object"&&m.name&&m.name,h=typeof m=="object"?p&&((N=m.variants)==null?void 0:N[p])||((c=m.variants)==null?void 0:c.outline)||m.content:void 0;return(0,Mo.jsx)("span",{...f,className:l(e.className,pr,I("k-icon",{size:t}),{[`k-svg-i-${x}`]:x,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),"aria-hidden":"true",children:(0,Mo.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof m=="object"?m.viewBox:n,dangerouslySetInnerHTML:h!==void 0?{__html:h}:void 0,children:m?void 0:e.children})})};Xa.states=lc;Xa.options=sc;Xa.className=pr;Xa.defaultOptions=mr;var cr=Xa;var ur=Gl(require("@progress/kendo-svg-icons"));var Wl="icon",Jl="icons";var Zl=require("react");var ql=require("react"),Yl=(0,ql.createContext)({iconsType:"svg"});var Qt=require("react/jsx-runtime"),vi="k-icon",dc=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),pc=[],mc={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info],variant:[Dt.outline,Dt.solid,Dt.duotone]},Li={viewBox:"0 0 24 24",type:"svg",variant:Dt.outline},L=e=>{let{iconsType:t}=(0,Zl.useContext)(Yl),{size:o,themeColor:a,icon:i,type:n=t||Li.type,rotate:p,flip:m,viewBox:f=Li.viewBox,variant:x=Li.variant,...h}=e;if(!i)return(0,Qt.jsx)(Qt.Fragment,{});if((t||n)==="svg"){if(i==="none")return(0,Qt.jsx)(cr,{...h,className:l(e.className,vi),icon:i,size:o,variant:x});let c=ur[i]?i:dc(`${i}-icon`);return ur[c]?(0,Qt.jsx)(cr,{...h,className:l(e.className,vi),icon:ur[c],size:o,themeColor:a,rotate:p,flip:m,viewBox:f,variant:x}):(0,Qt.jsx)(Qt.Fragment,{})}return(0,Qt.jsx)(Xl,{...h,className:l(e.className,vi),icon:i,size:o,themeColor:a,rotate:p,flip:m})};L.states=pc;L.options=mc;L.defaultOptions=Li;L.className=vi;L.moduleName=Wl;L.folderName=Jl;var fr="button",Ql=fr;var rt=require("react/jsx-runtime"),Wa="k-button",cc=["icon-button"],uc=[r.hover,r.focus,r.active,r.selected,r.disabled,r.generating],fc={size:[s.undefined,s.xsmall,s.small,s.medium,s.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info,v.inverse]},br={showArrow:!1,arrowIconName:"chevron-down"},d=e=>{let{as:t="button",size:o,rounded:a,fillMode:i,themeColor:n,showArrow:p=br.showArrow,arrowIconName:m=br.arrowIconName,variant:f,hover:x,focus:h,active:N,selected:c,disabled:k,togglable:g,ariaDisabled:M,icon:y,iconSize:E,text:B,iconClassName:G,className:j,...re}=e,xe=y!=null,he=e.children!==void 0;return(0,rt.jsxs)(t,{className:l(j,Wa,$l(Wa,f),I(Wa,{size:o,rounded:a,fillMode:i,themeColor:n}),T(Wa,{hover:x,focus:h,active:N,disabled:k||M,selected:c}),{"k-icon-button":!B&&!he&&xe}),"aria-pressed":g?c?"true":"false":void 0,...re,"aria-disabled":M?"true":void 0,disabled:k||void 0,children:[typeof y=="string"&&y&&(0,rt.jsx)(L,{className:l(G,"k-button-icon"),icon:y,size:E}),y&&typeof y!="string"&&(0,rt.jsx)(rt.Fragment,{children:y}),B?(0,rt.jsxs)(rt.Fragment,{children:[B&&(0,rt.jsx)("span",{className:"k-button-text",children:B}),e.children]}):e.children&&(0,rt.jsx)("span",{className:"k-button-text",children:e.children}),p&&(0,rt.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,rt.jsx)(L,{icon:m})})]})};d.states=uc;d.options=fc;d.variants=cc;d.className=Wa;d.defaultOptions=br;d.moduleName=fr;d.folderName=Ql;var jl=require("react/jsx-runtime"),jt=e=>(0,jl.jsx)(d,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var es=require("react/jsx-runtime"),Ja=e=>(0,es.jsx)(d,{icon:"folder",children:"Button",...e});var ts=require("react/jsx-runtime"),_t=e=>(0,ts.jsx)(d,{children:"Button",...e});var ki=require("react/jsx-runtime"),bc=d.options,xc=d.states,hc={...d.defaultOptions,variant:"text"},Nc=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],gc=[],Ho=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,ki.jsx)(jt,{...o,icon:"star"});case"icon-and-text":return(0,ki.jsx)(Ja,{...o,icon:"star",children:"Button"});default:return(0,ki.jsx)(_t,{...o,children:"Button"})}};Ho.options=bc;Ho.states=xc;Ho.variants=Nc;Ho.defaultOptions=hc;Ho.modifiers=gc;Ho.className=d.className;var xr="button",os=xr;var as=require("react/jsx-runtime"),qa="k-button-group",vc=[r.disabled],Lc={fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link]},kc={},w=e=>{let{fillMode:t,disabled:o,stretched:a,...i}=e;return(0,as.jsx)("div",{role:"group",...i,className:l(e.className,qa,I(qa,{fillMode:t}),T(qa,{disabled:o}),{[`${qa}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};w.states=vc;w.options=Lc;w.className=qa;w.defaultOptions=kc;w.moduleName=xr;w.folderName=os;var hr=require("react/jsx-runtime");var Nr=require("react/jsx-runtime");var gr=require("react/jsx-runtime");var vr=require("react/jsx-runtime");var Lr=require("react/jsx-runtime");var kr=require("react/jsx-runtime");var Ye=require("react/jsx-runtime"),Mc={...d.options,...w.options},Ic=d.states,Sc={...d.defaultOptions,...w.defaultOptions,variant:"text-button"},yc=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Ec=[],Fo=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?(0,Ye.jsxs)(w,{fillMode:a.fillMode,className:o,children:[(0,Ye.jsx)(d,{...a,icon:"star"}),(0,Ye.jsx)(d,{...a,icon:"star"}),(0,Ye.jsx)(d,{...a,icon:"star"})]}):t==="icon-text-button"?(0,Ye.jsxs)(w,{fillMode:a.fillMode,className:o,children:[(0,Ye.jsx)(d,{...a,icon:"star",children:"First"}),(0,Ye.jsx)(d,{...a,icon:"star",children:"Middle"}),(0,Ye.jsx)(d,{...a,icon:"star",children:"Last"})]}):(0,Ye.jsxs)(w,{fillMode:a.fillMode,className:o,children:[(0,Ye.jsx)(d,{...a,children:"First"}),(0,Ye.jsx)(d,{...a,children:"Middle"}),(0,Ye.jsx)(d,{...a,children:"Last"})]})};Fo.options=Mc;Fo.states=Ic;Fo.variants=yc;Fo.defaultOptions=Sc;Fo.modifiers=Ec;Fo.className=w.className;var Ya="input",Mi=Ya;var is=require("react/jsx-runtime"),Ii="k-input",Cc=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Tc={size:[s.undefined,s.small,s.medium,s.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Oc={},W=e=>{let{hover:t,focus:o,disabled:a,invalid:i,valid:n,loading:p,readonly:m,size:f,rounded:x,fillMode:h,...N}=e;return(0,is.jsx)("span",{...N,className:l(e.className,Ii,I(Ii,{size:f,rounded:x,fillMode:h}),T(Ii,{hover:t,focus:o,disabled:a,invalid:i,valid:n,loading:p,readonly:m}))})};W.states=Cc;W.options=Tc;W.className=Ii;W.defaultOptions=Oc;W.moduleName=Ya;W.folderName=Mi;var rs=require("react/jsx-runtime"),Si="k-picker",Ac=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Bc={size:[s.undefined,s.small,s.medium,s.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Rc={},Ht=e=>{let{hover:t,focus:o,disabled:a,invalid:i,valid:n,loading:p,readonly:m,size:f,rounded:x,fillMode:h,...N}=e;return(0,rs.jsx)("span",{...N,className:l(e.className,Si,I(Si,{size:f,rounded:x,fillMode:h}),T(Si,{hover:t,focus:o,disabled:a,invalid:i,valid:n,loading:p,readonly:m})),children:e.children})};Ht.states=Ac;Ht.options=Bc;Ht.className=Si;Ht.defaultOptions=Rc;Ht.moduleName=Ya;Ht.folderName=Mi;var Uo=require("react/jsx-runtime"),ns="k-clear-value",Pc=[r.disabled,r.loading,r.readonly],wc={},Ne=e=>{let{disabled:t,loading:o,readonly:a,value:i}=e;return t||a||o||!i?(0,Uo.jsx)(Uo.Fragment,{}):(0,Uo.jsx)("span",{className:l(e.className,ns),children:(0,Uo.jsx)(L,{icon:"x"})})};Ne.states=Pc;Ne.options=wc;Ne.className=ns;var ls=require("react/jsx-runtime"),Mr="k-input-inner",Kc=[],zc={},yi={type:"text",autocomplete:"off",value:"",placeholder:""},ge=e=>{let{value:t=yi.value,type:o=yi.type,placeholder:a=yi.placeholder,autocomplete:i=yi.autocomplete,disabled:n,readOnly:p,...m}=e;return(0,ls.jsx)("input",{...m,type:o,className:l(e.className,Mr,I(Mr,e)),placeholder:a,autoComplete:i,defaultValue:t,disabled:n||void 0,readOnly:p||void 0})};ge.states=Kc;ge.options=zc;ge.className=Mr;var Za=require("react/jsx-runtime"),Ir="k-input-inner",Dc=[],_c={},Io=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:i,valueIconName:n,...p}=e;return(0,Za.jsxs)("span",{...p,className:l(e.className,Ir,I(Ir,e)),children:[i,!i&&n&&(0,Za.jsx)(L,{className:"k-input-value-icon",icon:n}),a&&!t&&o,a&&t&&(0,Za.jsx)("span",{className:"k-input-value-text",children:t})]})};Io.states=Dc;Io.options=_c;Io.className=Ir;var ds=require("react/jsx-runtime"),Sr="k-input-inner",Hc=[],Fc={},ss={value:"",placeholder:""},Qa=e=>{let{value:t=ss.value,placeholder:o=ss.placeholder,rows:a,disabled:i,...n}=e;return(0,ds.jsx)("textarea",{...n,className:l(e.className,Sr,I(Sr,e)),placeholder:o,rows:a,defaultValue:t,disabled:i||void 0})};Qa.states=Hc;Qa.options=Fc;Qa.className=Sr;var ja=require("react/jsx-runtime"),ps="k-input-loading-icon",Uc=[r.disabled,r.loading],de=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,ja.jsx)(ja.Fragment,{}):(0,ja.jsx)("span",{className:l(e.className,ps,"k-icon k-i-loading")})};de.states=Uc;de.className=ps;var ei=require("react/jsx-runtime"),ms="k-input-validation-icon",Gc=[r.valid,r.invalid,r.disabled,r.loading],$c={},ne=e=>{let{valid:t,invalid:o,disabled:a,loading:i}=e,n=o?"warning-circle":"check-circle";return a||i||!!!(t||o)?(0,ei.jsx)(ei.Fragment,{}):(0,ei.jsx)(L,{className:l(ms),icon:n})};ne.states=Gc;ne.options=$c;ne.className=ms;var ti=require("react/jsx-runtime"),Vc="k-input-prefix",Xc={direction:"horizontal"},Me=e=>{let{direction:t=Xc.direction,...o}=e;return e.children?(0,ti.jsx)("span",{...o,className:l(Vc,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,ti.jsx)(ti.Fragment,{})};var oi=require("react/jsx-runtime"),Wc="k-input-suffix",Jc={direction:"horizontal"},Ie=e=>{let{direction:t=Jc.direction,...o}=e;return e.children?(0,oi.jsx)("span",{...o,className:l(Wc,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,oi.jsx)(oi.Fragment,{})};var qc=require("react/jsx-runtime");var cs=require("react/jsx-runtime"),Yc="k-input-suffix-text",Ei=e=>{let{children:t,...o}=e;return(0,cs.jsx)("span",{...o,className:l(Yc,e.className),children:t})};var fs=require("react/jsx-runtime"),us="k-input-separator",Zc={direction:"vertical"},le=e=>{let{direction:t=Zc.direction,...o}=e;return(0,fs.jsx)("span",{...o,className:l(us,e.className,{[`${us}-${t}`]:t})})};var Se=require("react/jsx-runtime"),Qc=W.states,jc=W.defaultOptions,eu=W.options,tu=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],ou=[],Go=e=>{let{modifiers:t,valid:o,invalid:a,loading:i,disabled:n,readonly:p,...m}=e,f=t==null?void 0:t.prefix,x=t==null?void 0:t.suffix,h=t==null?void 0:t["clear-button"],N=t==null?void 0:t["validation-icon"],c=t==null?void 0:t.separators;return(0,Se.jsxs)(W,{...m,valid:o,invalid:a,loading:i,disabled:n,readonly:p,style:{width:300},children:[f&&(0,Se.jsxs)(Se.Fragment,{children:[(0,Se.jsx)(Me,{children:(0,Se.jsx)(L,{icon:"lock"})}),c&&(0,Se.jsx)(le,{})]}),(0,Se.jsx)(ge,{placeholder:"Placeholder",value:"Value"}),N&&(0,Se.jsx)(ne,{valid:o,invalid:a,loading:i,disabled:n}),(0,Se.jsx)(de,{loading:i,disabled:n}),h&&(0,Se.jsx)(Ne,{loading:i,disabled:n,readonly:p,value:"Value"}),x&&(0,Se.jsxs)(Se.Fragment,{children:[c&&(0,Se.jsx)(le,{}),(0,Se.jsx)(Ie,{children:(0,Se.jsx)(_t,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};Go.options=eu;Go.states=Qc;Go.variants=ou;Go.defaultOptions=jc;Go.modifiers=tu;Go.className=W.className;var ai=require("react/jsx-runtime"),bs="k-color-preview",au=[],iu={},po=e=>{let{color:t,iconName:o,...a}=e;return(0,ai.jsxs)("span",{...a,className:l(e.className,bs,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,ai.jsx)(L,{icon:o,className:"k-color-preview-icon"}),(0,ai.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};po.states=au;po.options=iu;po.className=bs;var yr="popup",xs=yr;var Cr=require("react/jsx-runtime"),hs="k-animation-container",ru=[],nu={},Er={positionMode:"absolute",shown:!0},xt=e=>{let{positionMode:t=Er.positionMode,shown:o=Er.shown,animationStyle:a,offset:i,...n}=e;return(0,Cr.jsx)("div",{...n,style:{...i,...e.style},className:l(e.className,hs,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:(0,Cr.jsx)("div",{className:"k-child-animation-container",style:a,children:e.children})})};xt.states=ru;xt.options=nu;xt.className=hs;xt.defaultOptions=Er;xt.moduleName=yr;xt.folderName=xs;var Tr="popup",Ns=Tr;var Or=require("react/jsx-runtime"),gs="k-popup",lu=[],su={},vs={positionMode:"absolute"},q=e=>{let{offset:t,positionMode:o=vs.positionMode,animationStyle:a,containerClassName:i,containerRole:n,containerAriaLabel:p,...m}=e;return(0,Or.jsx)(xt,{positionMode:o,offset:t,animationStyle:a,className:i,role:n,"aria-label":p,children:(0,Or.jsx)("div",{...m,className:l(e.className,gs),children:e.children})})};q.states=lu;q.options=su;q.className=gs;q.defaultOptions=vs;q.moduleName=Tr;q.folderName=Ns;var Ar="action-buttons",Ls=Ar;var ks=require("react/jsx-runtime"),Ci="k-actions",du=[],pu={},Br={alignment:"start",orientation:"horizontal"},ht=e=>{let{alignment:t=Br.alignment,orientation:o=Br.orientation,...a}=e;return(0,ks.jsx)("div",{...a,className:l(Ci,{[`${Ci}-${t}`]:t,[`${Ci}-${o}`]:o},e.className),children:e.children})};ht.states=du;ht.options=pu;ht.className=Ci;ht.defaultOptions=Br;ht.moduleName=Ar;ht.folderName=Ls;var Is=require("react/jsx-runtime"),mu="k-actionsheet-footer",Ms={alignment:"stretched",orientation:"horizontal"},mo=e=>{let{alignment:t=Ms.alignment,orientation:o=Ms.orientation,template:a,as:i=a?"div":ht,...n}=e;return(0,Is.jsx)(i,{...n,...!a&&{alignment:t,orientation:o},className:l(e.className,mu),children:e.children})};var Rr="searchbox",Ss=Rr;var co=require("react/jsx-runtime"),ys="k-searchbox",cu=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading],uu={size:[s.undefined,s.small,s.medium,s.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Pr={showIcon:!0,icon:"search"},Nt=e=>{let{value:t,placeholder:o,size:a,rounded:i,fillMode:n,hover:p,focus:m,valid:f,invalid:x,required:h,loading:N,disabled:c,showIcon:k=Pr.showIcon,icon:g=Pr.icon,"aria-label":M,...y}=e;return(0,co.jsxs)(W,{...y,size:a,rounded:i,fillMode:n,hover:p,focus:m,valid:f,invalid:x,required:h,loading:N,disabled:c,className:l(e.className,ys),children:[k&&(0,co.jsx)(L,{className:"k-input-icon",icon:g}),(0,co.jsx)(ge,{placeholder:o,value:t,"aria-label":M}),(0,co.jsx)(de,{...e}),(0,co.jsx)(ne,{...e}),(0,co.jsx)(Ne,{...e})]})};Nt.states=cu;Nt.options=uu;Nt.className=ys;Nt.defaultOptions=Pr;Nt.moduleName=Rr;Nt.folderName=Ss;var fu=require("react/jsx-runtime");var wr="textbox",Es=wr;var ze=require("react/jsx-runtime"),Cs="k-textbox",bu=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],xu={size:[s.undefined,s.small,s.medium,s.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Ti={showClearButton:!0,showValidationIcon:!0,separators:!0},H=e=>{let{size:t,rounded:o,fillMode:a,separators:i=Ti.separators,showClearButton:n=Ti.showClearButton,showValidationIcon:p=Ti.showValidationIcon,prefix:m,suffix:f,type:x,value:h,placeholder:N,hover:c,focus:k,valid:g,invalid:M,required:y,loading:E,disabled:B,readonly:G,id:j,"aria-label":re,"aria-describedby":xe,...he}=e;return(0,ze.jsxs)(W,{...he,size:t,rounded:o,fillMode:a,hover:c,focus:k,valid:g,invalid:M,required:y,loading:E,disabled:B,readonly:G,className:l(e.className,Cs),children:[m&&(0,ze.jsxs)(ze.Fragment,{children:[(0,ze.jsx)(Me,{children:m}),i&&(0,ze.jsx)(le,{})]}),(0,ze.jsx)(ge,{id:j,placeholder:N,value:h,type:x,disabled:B,"aria-label":re,"aria-describedby":xe,"aria-invalid":M?"true":void 0}),p&&(0,ze.jsx)(ne,{valid:g,invalid:M,loading:E,disabled:B}),(0,ze.jsx)(de,{loading:E,disabled:B}),n&&(0,ze.jsx)(Ne,{loading:E,disabled:B,readonly:G,value:h}),f&&(0,ze.jsxs)(ze.Fragment,{children:[i&&(0,ze.jsx)(le,{}),(0,ze.jsx)(Ie,{children:f})]})]})};H.states=bu;H.options=xu;H.className=Cs;H.defaultOptions=Ti;H.moduleName=wr;H.folderName=Es;var ii=H;var Os=require("react/jsx-runtime"),Ts=e=>(0,Os.jsx)(ii,{...e});var As=require("react/jsx-runtime");var Bs=require("react/jsx-runtime");var hu=require("react/jsx-runtime");var Oi=require("react/jsx-runtime"),Nu=H.states,gu=H.defaultOptions,vu=H.options,Lu=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],ku=[],$o=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t!=null&&t[i]?(0,Oi.jsx)(L,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t!=null&&t[i]?(0,Oi.jsx)(_t,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[i];break;default:break}}),(0,Oi.jsx)(Ts,{value:"Value",style:{width:300},...o,...a})};$o.options=vu;$o.states=Nu;$o.variants=ku;$o.defaultOptions=gu;$o.modifiers=Lu;$o.className=H.className;var nt=require("react/jsx-runtime"),Rs="k-actionsheet-titlebar",Mu={},Ee=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:i,filter:n,input:p,inputValue:m,inputPlaceholder:f,adaptive:x,titleId:h,children:N,...c}=e;return(0,nt.jsxs)("div",{...c,className:l(e.className,Rs),children:[(0,nt.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[a&&(0,nt.jsx)("div",{className:"k-actionsheet-actions",children:a}),!N&&(0,nt.jsxs)("div",{className:"k-actionsheet-title",id:h,children:[t&&(0,nt.jsx)("div",{className:"k-text-center",children:t}),o&&(0,nt.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),N&&(0,nt.jsx)("div",{className:"k-actionsheet-title",id:h,children:N}),i&&(0,nt.jsx)("div",{className:"k-actionsheet-actions",children:i})]}),(p||n)&&(0,nt.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:p?(0,nt.jsx)(H,{value:m,placeholder:f,size:x?"large":"medium","aria-label":t||f||"Input"}):(0,nt.jsx)(Nt,{placeholder:"Filter",size:x?"large":"medium","aria-label":"Filter options"})})]})};Ee.className=Rs;Ee.defaultOptions=Mu;var Vo=require("react/jsx-runtime"),Kr="k-actionsheet-view",Iu=[],Su={},yu={},Xo=e=>{let{adaptive:t,animated:o,children:a,header:i,footer:n,titleId:p,...m}=e,f=(i==null?void 0:i.type)===Ee&&(0,Vo.jsx)(Ee,{adaptive:t,titleId:p,...i==null?void 0:i.props}),x=(n==null?void 0:n.type)===mo&&(0,Vo.jsx)(mo,{...n==null?void 0:n.props});return(0,Vo.jsxs)("div",{...m,className:l(e.className,Kr,{[`${Kr}-animated`]:o}),children:[f,(0,Vo.jsx)("div",{className:"k-actionsheet-content",children:a}),x]})};Xo.states=Iu;Xo.options=Su;Xo.className=Kr;Xo.defaultOptions=yu;var ri="action-sheet",Ai=ri;var zr="overlay",Ps=zr;var zs=require("react/jsx-runtime"),ws="k-overlay",Eu=[],Cu={},Tu={},Tt=e=>{let{...t}=e;return(0,zs.jsx)("div",{...t,className:l(e.className,ws),children:e.children})};Tt.states=Eu;Tt.options=Cu;Tt.className=ws;Tt.defaultOptions=Tu;Tt.moduleName=zr;Tt.folderName=Ps;var Ks=Tt;var So=require("react/jsx-runtime"),Ds="k-actionsheet",Ou=[],Au={},ni={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},ee=e=>{let{side:t=ni.side,fullscreen:o=ni.fullscreen,adaptive:a=ni.adaptive,overlay:i=ni.overlay,template:n,children:p,header:m,footer:f,id:x,...h}=e,N=x&&!n&&m?`${x}-title`:void 0;return(0,So.jsxs)("div",{className:"k-actionsheet-container",children:[i&&(0,So.jsx)(Tt,{}),(0,So.jsx)(xt,{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:(0,So.jsx)("div",{...h,id:x,role:"dialog","aria-modal":i?"true":void 0,"aria-labelledby":N,className:l(e.className,Ds,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:n||(0,So.jsx)(Xo,{header:m,footer:f,adaptive:a,titleId:N,...e,children:p})})})]})};ee.states=Ou;ee.options=Au;ee.className=Ds;ee.defaultOptions=ni;ee.moduleName=ri;ee.folderName=Ai;var Hs=require("react/jsx-runtime"),_s="k-actionsheet-container",Bu=[],Ru={},Pu={},Wo=e=>{let{children:t,...o}=e;return(0,Hs.jsx)("div",{...o,className:_s,children:t})};Wo.states=Bu;Wo.options=Ru;Wo.className=_s;Wo.defaultOptions=Pu;Wo.moduleName=ri;Wo.folderName=Ai;var Fs=require("react/jsx-runtime"),Dr=e=>{let{...t}=e;return(0,Fs.jsx)("div",{...t,className:l(e.className,"k-list-ul"),children:e.children})};var gt=require("react/jsx-runtime"),_r="k-actionsheet-item",wu=[r.hover,r.focus,r.selected,r.disabled],uo=e=>{let{iconName:t,text:o,description:a,hover:i,focus:n,selected:p,disabled:m,...f}=e;return(0,gt.jsxs)("span",{...f,className:l(e.className,_r,T(_r,{hover:i,focus:n,selected:p,disabled:m})),children:[!e.children&&(0,gt.jsx)(gt.Fragment,{children:(0,gt.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,gt.jsx)("span",{className:"k-icon-wrap",children:(0,gt.jsx)(L,{className:"k-actionsheet-item-icon",icon:t})}),(0,gt.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,gt.jsx)("span",{className:"k-actionsheet-item-title",children:o}),a&&(0,gt.jsx)("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};uo.states=wu;uo.className=_r;var Us=require("react/jsx-runtime");var Ku=require("react/jsx-runtime");var zu=require("react/jsx-runtime");var Du=require("react/jsx-runtime");var te=require("react/jsx-runtime"),_u=ee.options,Hu=ee.states,$s={...ee.defaultOptions,variant:"normal"},Fu=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Uu=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Jo=e=>{let{variant:t,modifiers:o,...a}={...$s,...e},i={},n=(0,te.jsxs)(Dr,{children:[(0,te.jsx)(uo,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,te.jsx)(uo,{text:"Add to Favorites",iconName:"heart"}),(0,te.jsx)(uo,{text:"Upload New",iconName:"upload",disabled:!0}),(0,te.jsx)("hr",{className:"k-hr"}),(0,te.jsx)(uo,{text:"Cancel",iconName:"cancel"})]}),p="Choose from the items below",m="Select Item";return t==="fullScreen"&&(i.fullScreen=!0),Object.keys(o||{}).forEach(f=>{switch(f){case"actions":i.actionsStart=!!(o!=null&&o[f]),i.actionsEnd=!!(o!=null&&o[f]);break;case"subtitle":i.subtitle=o!=null&&o[f]?p:void 0;break;case"footer":i.footer=!!(o!=null&&o[f]);break;default:break}}),t==="adaptive"?(0,te.jsx)(ee,{...a,adaptive:!0,fullscreen:i.fullScreen,header:(0,te.jsx)(Ee,{actionsStart:i.actionsStart?(0,te.jsx)(d,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:i.actionsEnd?(0,te.jsx)(d,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:i.subtitle}),footer:i.footer?(0,te.jsxs)(mo,{alignment:"stretched",children:[(0,te.jsx)(d,{text:"Cancel",size:"large",themeColor:"base"}),(0,te.jsx)(d,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:n}):(0,te.jsx)(ee,{...a,fullscreen:i.fullScreen,header:(0,te.jsx)(Ee,{actionsStart:i.actionsStart?(0,te.jsx)(d,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:i.actionsEnd?(0,te.jsx)(d,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:i.subtitle}),footer:i.footer?(0,te.jsxs)(mo,{alignment:"stretched",children:[(0,te.jsx)(d,{text:"Apply",themeColor:"primary"}),(0,te.jsx)(d,{text:"Cancel",themeColor:"base"})]}):void 0,children:n})};Jo.options=_u;Jo.states=Hu;Jo.variants=Fu;Jo.defaultOptions=$s;Jo.modifiers=Uu;Jo.className=ee.className;var Hr="slider",Vs=Hr;var Ot=require("react/jsx-runtime"),li="k-slider",Gu=[r.hover,r.focus,r.active,r.disabled,r.readonly],$u={},vt={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},$=e=>{let{type:t=vt.type,orientation:o=vt.orientation,gradientType:a=vt.gradientType,readonly:i=vt.readonly,disabled:n=vt.disabled,handlePosition:p=vt.handlePosition,showButtons:m=vt.showButtons,showTicks:f=vt.showTicks,value:x=vt.value,min:h=vt.min,max:N=vt.max,startValue:c,endValue:k,hover:g,focus:M,active:y,trackStyle:E,dir:B,...G}=e,re=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),xe,he;return o==="horizontal"?(xe=B==="rtl"?"chevron-left":"chevron-right",he=B==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(xe="chevron-up",he="chevron-down"),(0,Ot.jsxs)("div",{...G,className:l(li,e.className,T(li,{readonly:i,disabled:n}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:B,children:[m&&(0,Ot.jsx)(d,{className:"k-button-decrease",rounded:"full",icon:he,tabIndex:-1,title:"Decrease"}),(0,Ot.jsxs)("div",{className:"k-slider-track-wrap",children:[f&&(0,Ot.jsx)("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),(0,Ot.jsxs)("div",{className:"k-slider-track",style:E,children:[(0,Ot.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,Ot.jsx)("span",{className:l("k-draghandle","k-draghandle-start",T(li,{hover:g,focus:M,active:y})),role:"slider",tabIndex:n?void 0:0,"aria-valuenow":c??h,"aria-valuemin":h,"aria-valuemax":k??N,"aria-orientation":re,"aria-disabled":n?"true":void 0,"aria-readonly":i?"true":void 0,"aria-label":G["aria-label"]?`${G["aria-label"]} start`:"Range start"}),(0,Ot.jsx)("span",{className:l("k-draghandle",`k-draghandle-${p}`,T(li,{hover:g,focus:M,active:y})),role:"slider",tabIndex:n?void 0:0,"aria-valuenow":t==="range"?k??N:x,"aria-valuemin":t==="range"?c??h:h,"aria-valuemax":N,"aria-orientation":re,"aria-disabled":n?"true":void 0,"aria-readonly":i?"true":void 0,"aria-label":t==="range"?G["aria-label"]?`${G["aria-label"]} end`:"Range end":G["aria-label"]})]})]}),m&&(0,Ot.jsx)(d,{className:"k-button-increase",rounded:"full",icon:xe,tabIndex:-1,title:"Increase"})]})};$.states=Gu;$.options=$u;$.className=li;$.defaultOptions=vt;$.moduleName=Hr;$.folderName=Vs;var Fr=require("react/jsx-runtime"),Xs="k-tick",Vu=[],Xu={},Ws={label:!1},R=e=>{let{style:t,label:o=Ws.label,orientation:a,large:i,text:n,...p}=e;return(0,Fr.jsx)("li",{...p,role:"presentation",title:n||"Tick",className:l(e.className,Xs,{[`k-tick-${a}`]:a,"k-tick-large":i}),style:t,children:o&&(0,Fr.jsx)("span",{className:"k-label",children:n})})};R.states=Vu;R.options=Xu;R.className=Xs;R.defaultOptions=Ws;var Ce=require("react/jsx-runtime"),Js=e=>(0,Ce.jsx)($,{"aria-label":e["aria-label"]||"Slider",children:(0,Ce.jsxs)(Ce.Fragment,{children:[(0,Ce.jsx)(R,{className:"k-first",label:!0,large:!0,text:"0"}),(0,Ce.jsx)(R,{}),(0,Ce.jsx)(R,{}),(0,Ce.jsx)(R,{}),(0,Ce.jsx)(R,{}),(0,Ce.jsx)(R,{label:!0,large:!0,text:"5"}),(0,Ce.jsx)(R,{}),(0,Ce.jsx)(R,{}),(0,Ce.jsx)(R,{}),(0,Ce.jsx)(R,{}),(0,Ce.jsx)(R,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});var Te=require("react/jsx-runtime"),qs=e=>(0,Te.jsx)($,{children:(0,Te.jsxs)(Te.Fragment,{children:[(0,Te.jsx)(R,{className:"k-first",label:!0,large:!0,text:"0"}),(0,Te.jsx)(R,{}),(0,Te.jsx)(R,{}),(0,Te.jsx)(R,{}),(0,Te.jsx)(R,{}),(0,Te.jsx)(R,{label:!0,large:!0,text:"5"}),(0,Te.jsx)(R,{}),(0,Te.jsx)(R,{}),(0,Te.jsx)(R,{}),(0,Te.jsx)(R,{}),(0,Te.jsx)(R,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});var Ur=require("react/jsx-runtime");var Gr=require("react/jsx-runtime");var Ys=require("react/jsx-runtime"),$r=e=>(0,Ys.jsx)($,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var Zs=require("react/jsx-runtime"),Vr=e=>(0,Zs.jsx)($,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var Xr=require("react/jsx-runtime");var Wr=require("react/jsx-runtime");var Ze=require("react/jsx-runtime"),Wu=$.options,Ju=$.states,Qs={...$.defaultOptions,variant:"horizontal",label:!0},qu=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Yu=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],qo=e=>{let{variant:t,modifiers:o,...a}=e,i=Qs.label,n={};Object.keys(o||{}).forEach(m=>{switch(m){case"button":{n.showButtons=!!(o!=null&&o[m]);break}case"label":{i=!!(o!=null&&o[m]);break}case"tick":{n.showTicks=!!(o!=null&&o[m]);break}}});let p={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?(0,Ze.jsxs)(qs,{style:{height:"300px",...p},...a,...n,children:[(0,Ze.jsx)(R,{label:i,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),(0,Ze.jsx)(R,{label:i,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),(0,Ze.jsx)(R,{label:i,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),(0,Ze.jsx)(R,{label:i,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),(0,Ze.jsx)(R,{label:i,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):(0,Ze.jsxs)(Js,{style:{width:"400px",...p},...a,...n,children:[(0,Ze.jsx)(R,{label:i,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),(0,Ze.jsx)(R,{label:i,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),(0,Ze.jsx)(R,{label:i,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),(0,Ze.jsx)(R,{label:i,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),(0,Ze.jsx)(R,{label:i,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};qo.options=Wu;qo.states=Ju;qo.variants=qu;qo.defaultOptions=Qs;qo.modifiers=Yu;qo.className=$.className;var si=require("react/jsx-runtime"),js="k-spin-button",ju=[],ef={size:[s.undefined,s.small,s.medium,s.large],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link]},Jr={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Ft=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:i=Jr.increaseLabel,decreaseLabel:n=Jr.decreaseLabel,...p}=e;return(0,si.jsxs)("span",{...p,className:l(js,e.className),children:[(0,si.jsx)(d,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":i}),(0,si.jsx)(d,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":n})]})};Ft.states=ju;Ft.options=ef;Ft.className=js;Ft.defaultOptions=Jr;Ft.moduleName=null;Ft.folderName=null;var ed="numeric-textbox",td="numerictextbox";var Oe=require("react/jsx-runtime"),od="k-numerictextbox",tf=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],of={size:[s.undefined,s.small,s.medium,s.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Bi={showSpinButton:!0,showClearButton:!0,separators:!0},K=e=>{let{size:t,rounded:o,fillMode:a,separators:i=Bi.separators,showClearButton:n=Bi.showClearButton,showSpinButton:p=Bi.showSpinButton,prefix:m,suffix:f,value:x,placeholder:h,hover:N,focus:c,valid:k,invalid:g,required:M,loading:y,disabled:E,readonly:B,id:G,"aria-label":j,"aria-describedby":re,...xe}=e;return(0,Oe.jsxs)(W,{...xe,size:t,rounded:o,fillMode:a,hover:N,focus:c,valid:k,invalid:g,required:M,loading:y,disabled:E,readonly:B,className:l(e.className,od),children:[m&&(0,Oe.jsxs)(Oe.Fragment,{children:[(0,Oe.jsx)(Me,{children:m}),i&&(0,Oe.jsx)(le,{})]}),(0,Oe.jsx)(ge,{id:G,placeholder:h,value:x,role:"spinbutton",disabled:E,"aria-label":j,"aria-describedby":re,"aria-invalid":g?"true":void 0}),(0,Oe.jsx)(ne,{valid:k,invalid:g,loading:y,disabled:E}),(0,Oe.jsx)(de,{loading:y,disabled:E}),n&&(0,Oe.jsx)(Ne,{loading:y,disabled:E,readonly:B,value:x}),f&&(0,Oe.jsxs)(Oe.Fragment,{children:[i&&(0,Oe.jsx)(le,{}),(0,Oe.jsx)(Ie,{children:f})]}),p&&(0,Oe.jsx)(Ft,{className:"k-input-spinner",size:t,fillMode:a,disabled:E})]})};K.states=tf;K.options=of;K.className=od;K.defaultOptions=Bi;K.moduleName=ed;K.folderName=td;var di=K;var id=require("react/jsx-runtime"),ad=e=>(0,id.jsx)(di,{...e});var Pi=Gl(require("react"));var qr=require("react/jsx-runtime"),af="k-list-group-sticky-header",Yr=e=>(0,qr.jsx)("div",{className:l(af,e.className),children:(0,qr.jsx)("div",{className:"k-list-header-text",children:e.children})});var rd=require("react/jsx-runtime"),rf="k-no-data",Ri=e=>{let{live:t,...o}=e;return(0,rd.jsx)("span",{...o,className:l(rf,e.className),"aria-live":t?"polite":void 0,children:e.children})};var yo="list",Yo=yo;var Zo=require("react/jsx-runtime"),Zr="k-list",nf=[],lf={size:[s.undefined,s.small,s.medium,s.large]},sf={},z=e=>{var g;let{size:t,virtualization:o,children:a,header:i,selectAll:n,optionLabel:p,customValue:m,noData:f,screenReaders:x,...h}=e,c=Pi.default.Children.toArray(a)[0],k=(g=c==null?void 0:c.props)!=null&&g.children?Pi.default.Children.count(c.props.children):Pi.default.Children.count(a);return(0,Zo.jsxs)("div",{...h,className:l(e.className,Zr,I(Zr,{size:t}),{"k-virtual-list":o}),children:[p,n,m,i&&(0,Zo.jsx)(Yr,{children:i}),a||(f!==void 0?f:(0,Zo.jsx)(Ri,{live:!0,children:"No data found."})),x&&a&&(0,Zo.jsxs)(Ri,{className:"k-sr-only",live:!0,children:[k," items found."]})]})};z.states=nf;z.options=lf;z.className=Zr;z.defaultOptions=sf;z.moduleName=yo;z.folderName=Yo;var ld=require("react/jsx-runtime"),nd="k-list-container",df=[],pf={},mf={},Qo=e=>{let{...t}=e;return(0,ld.jsx)("div",{...t,className:l(e.className,nd),children:e.children})};Qo.states=df;Qo.options=pf;Qo.className=nd;Qo.defaultOptions=mf;Qo.moduleName=yo;Qo.folderName=Yo;var Eo="checkbox",jo=Eo;var Qr=require("react/jsx-runtime"),wi="k-checkbox",cf=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked,r.indeterminate],uf={size:[s.undefined,s.small,s.medium,s.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},ff={},Qe=e=>{let{id:t,checked:o,indeterminate:a,hover:i,focus:n,disabled:p,invalid:m,valid:f,required:x,size:h,rounded:N,wrapperRole:c,...k}=e;return(0,Qr.jsx)("span",{className:"k-checkbox-wrap",role:c,children:(0,Qr.jsx)("input",{...k,id:t,type:"checkbox",defaultChecked:o,required:x,disabled:p||void 0,"aria-invalid":m?"true":void 0,className:l(e.className,wi,I(wi,{size:h,rounded:N}),T(wi,{hover:i,focus:n,disabled:p,invalid:m,valid:f,indeterminate:a,checked:o}))})})};Qe.states=cf;Qe.options=uf;Qe.className=wi;Qe.defaultOptions=ff;Qe.moduleName=Eo;Qe.folderName=jo;var At=Qe;var pd=require("react/jsx-runtime"),sd="k-checkbox-list",bf=[],xf={},dd={layout:"vertical"},We=e=>{let{layout:t=dd.layout,...o}=e;return(0,pd.jsx)("ul",{...o,className:l(e.className,sd,{[`k-list-${t}`]:t}),children:e.children})};We.states=bf;We.options=xf;We.className=sd;We.defaultOptions=dd;We.moduleName=Eo;We.folderName=jo;var cd=require("react/jsx-runtime"),md="k-checkbox-list-item",hf=[],Nf={},gf={},Je=e=>{let{...t}=e;return(0,cd.jsx)("li",{...t,className:l(e.className,md),children:e.children})};Je.states=hf;Je.options=Nf;Je.className=md;Je.defaultOptions=gf;Je.moduleName=Eo;Je.folderName=jo;var Co=require("react/jsx-runtime"),Bt=({children:e="Label",id:t="cb-label-after",...o})=>(0,Co.jsxs)(Co.Fragment,{children:[(0,Co.jsx)(At,{id:t,...o}),(0,Co.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var jr=require("react/jsx-runtime");var en=require("react/jsx-runtime");var tn=require("react/jsx-runtime");var vf=require("react/jsx-runtime");var Lf=require("react/jsx-runtime");var kf=require("react/jsx-runtime");var De=require("react/jsx-runtime"),Mf=We.options,If=We.states,Sf={...We.defaultOptions,variant:"vertical"},yf=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Ef=[],ea=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,De.jsxs)(We,{layout:"horizontal",...o,children:[(0,De.jsx)(Je,{children:(0,De.jsx)(Bt,{id:O("cb"),defaultChecked:!0,children:"Label"})}),(0,De.jsx)(Je,{children:(0,De.jsx)(Bt,{id:O("cb"),children:"Label"})}),(0,De.jsx)(Je,{children:(0,De.jsx)(Bt,{id:O("cb"),children:"Label"})})]}):(0,De.jsxs)(We,{...o,children:[(0,De.jsx)(Je,{children:(0,De.jsx)(Bt,{id:O("cb"),defaultChecked:!0,children:"Label"})}),(0,De.jsx)(Je,{children:(0,De.jsx)(Bt,{id:O("cb"),children:"Label"})}),(0,De.jsx)(Je,{children:(0,De.jsx)(Bt,{id:O("cb"),children:"Label"})})]})};ea.options=Mf;ea.states=If;ea.variants=yf;ea.defaultOptions=Sf;ea.modifiers=Ef;ea.className=We.className;var ud=require("react/jsx-runtime"),Cf=At.options,Tf=At.states,Of=At.defaultOptions,Af=[],Bf=[],ta=e=>(0,ud.jsx)(Bt,{id:O("checkbox"),...e,defaultChecked:!0,children:"Label"});ta.options=Cf;ta.states=Tf;ta.variants=Af;ta.defaultOptions=Of;ta.modifiers=Bf;ta.className=At.className;var eo=require("react/jsx-runtime"),on="k-list-item",Rf=[r.hover,r.focus,r.selected,r.disabled],Pf={},wf={},A=e=>{let{text:t,iconName:o,iconClassName:a,showCheckbox:i,checked:n,hover:p,focus:m,selected:f,disabled:x,actions:h,description:N,id:c,...k}=e,g=t||e.children,M=t||(typeof g=="string"?g:void 0);return(0,eo.jsxs)("li",{...k,id:c,role:"option",tabIndex:m?0:-1,"aria-selected":f?"true":"false","aria-disabled":x?"true":void 0,className:l(e.className,on,T(on,{hover:p,focus:m,disabled:x,selected:f})),children:[i&&(0,eo.jsx)(Qe,{checked:n,disabled:x,"aria-label":M,tabIndex:-1}),o&&(0,eo.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,eo.jsx)(L,{icon:o,className:l("k-list-item-icon",a)})}),(0,eo.jsx)("span",{className:"k-list-item-text",children:g}),h&&(0,eo.jsx)("div",{className:"k-list-item-actions",children:h}),N&&(0,eo.jsx)("span",{className:"k-list-item-description",children:N})]})};A.states=Rf;A.options=Pf;A.className=on;A.defaultOptions=wf;A.moduleName=yo;A.folderName=Yo;var fd=require("react/jsx-runtime"),Kf="k-list-ul",Ut=e=>{let{children:t,role:o,id:a,...i}=e;return(0,fd.jsx)("ul",{...i,id:a,role:o,className:l(Kf,e.className),children:t})};var oa=require("react/jsx-runtime"),zf="k-list-content",D=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":i,listboxId:n,...p}=e;return(0,oa.jsxs)("div",{...p,className:l(zf,e.className),role:o?"listbox":void 0,id:o?n:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?i:void 0,children:[o?e.children:(0,oa.jsx)(Ut,{role:"listbox",id:n,"aria-label":a,"aria-labelledby":i,children:e.children}),t&&(0,oa.jsx)("div",{className:"k-height-container",children:(0,oa.jsx)("div",{})})]})};var aa=require("react/jsx-runtime"),Ki="k-list-sticky-header",Df=[r.hover,r.focus,r.selected],_f={},Hf={},zi=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:i,hover:n,focus:p,selected:m,...f}=e;return(0,aa.jsx)("div",{...f,className:l(Ki,e.className),children:(0,aa.jsxs)("div",{className:l(`${Ki}-item`,T(`${Ki}-item`,{hover:n,focus:p,selected:m})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":m?"true":"false"},children:[o&&(0,aa.jsx)(Qe,{checked:a,indeterminate:i,"aria-label":t}),(0,aa.jsx)("span",{className:"k-list-item-text",children:t})]})})};zi.states=Df;zi.options=_f;zi.className=Ki;zi.defaultOptions=Hf;var an=require("react/jsx-runtime");var bd=require("react/jsx-runtime");var xd=require("react/jsx-runtime"),rn="k-list-optionlabel",Ff=[r.hover,r.focus,r.selected,r.disabled],Uf={},Gf={},Di=e=>{let{text:t,hover:o,focus:a,selected:i,disabled:n,...p}=e;return(0,xd.jsx)("div",{...p,className:l(rn,T(rn,{hover:o,focus:a,selected:i,disabled:n})),children:t})};Di.states=Ff;Di.options=Uf;Di.className=rn;Di.defaultOptions=Gf;var hd=require("react/jsx-runtime"),nn="k-list-custom-value",$f=[r.hover,r.focus,r.selected,r.disabled],Vf={},Xf={},Lt=e=>{let{text:t,hover:o,focus:a,selected:i,disabled:n,...p}=e;return(0,hd.jsx)("div",{...p,className:l(nn,T(nn,{hover:o,focus:a,selected:i,disabled:n})),children:t})};Lt.states=$f;Lt.options=Vf;Lt.className=nn;Lt.defaultOptions=Xf;var ln=require("react/jsx-runtime");var sn=require("react/jsx-runtime");var dn=require("react/jsx-runtime");var pn=require("react/jsx-runtime");var Wf=require("react/jsx-runtime");var mn=require("react/jsx-runtime");var cn=require("react/jsx-runtime");var Nd="dropdown-list",gd="dropdownlist";var oe=require("react/jsx-runtime"),vd="k-dropdownlist",Jf=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],qf={size:[s.undefined,s.small,s.medium,s.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},un={showValue:!0,arrowIconName:"chevron-down"},V=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:i=un.arrowIconName,showValue:n=un.showValue,valueIconName:p,prefix:m,suffix:f,value:x,placeholder:h,hover:N,focus:c,valid:k,invalid:g,required:M,loading:y,disabled:E,readonly:B,popup:G,opened:j,adaptive:re,adaptiveSettings:xe,adaptiveTitle:he,adaptiveSubtitle:zt,adaptiveFilter:Fa,id:Ct,activeDescendant:_o,"aria-label":Ua,...Ga}=e,Ym=Ct?`${Ct}-listbox`:void 0,Fl=Ct?`${Ct}-value`:void 0;return(0,oe.jsxs)(oe.Fragment,{children:[(0,oe.jsxs)(Ht,{...Ga,id:Ct,size:t,rounded:o,fillMode:a,hover:N,focus:c,valid:k,invalid:g,required:M,loading:y,disabled:E,readonly:B,className:l(e.className,vd,{"k-icon-picker":!n&&p}),role:"combobox","aria-haspopup":"listbox","aria-expanded":j?"true":"false","aria-controls":j?Ym:void 0,"aria-activedescendant":j&&_o?_o:void 0,"aria-describedby":j?Fl:void 0,"aria-disabled":E?"true":void 0,"aria-label":Ua,tabIndex:0,children:[(0,oe.jsx)(Me,{children:m}),(0,oe.jsx)(Io,{placeholder:h,value:x,showValue:n,valueIconName:p,id:Fl}),(0,oe.jsx)(ne,{valid:k,invalid:g,loading:y,disabled:E}),(0,oe.jsx)(de,{loading:y,disabled:E}),(0,oe.jsx)(Ie,{children:f}),(0,oe.jsx)(d,{className:"k-input-button",icon:i,size:e.size,fillMode:e.fillMode,"aria-label":h||"Toggle dropdown",tabIndex:-1})]}),j&&G&&(0,oe.jsx)(q,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:G}),re&&(0,oe.jsx)(ee,{adaptive:!0,...xe,header:(0,oe.jsx)(Ee,{actionsEnd:(0,oe.jsx)(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:Fa,inputValue:x,inputPlaceholder:h,title:he,subtitle:zt}),children:(0,oe.jsx)("div",{className:"k-list-container",children:(0,oe.jsx)(z,{size:"large",children:(0,oe.jsxs)(D,{"aria-label":"Options",children:[(0,oe.jsx)(A,{text:"List item"}),(0,oe.jsx)(A,{text:"List item"}),(0,oe.jsx)(A,{text:"List item"})]})})})})]})};V.states=Jf;V.options=qf;V.className=vd;V.defaultOptions=un;V.moduleName=Nd;V.folderName=gd;var Yf=require("react/jsx-runtime");var Ld=require("react/jsx-runtime");var fn=require("react/jsx-runtime");var Zf=require("react/jsx-runtime");var kd=require("react/jsx-runtime");var bn=require("react/jsx-runtime");var Qf=require("react/jsx-runtime");var je=require("react/jsx-runtime"),jf=V.states,eb=V.defaultOptions,tb=V.options,ob=[{name:"opened",title:"Opened"}],ab=[],ra=e=>{let{modifiers:t,...o}=e,a={},i=(0,je.jsxs)(je.Fragment,{children:[(0,je.jsx)("div",{className:"k-list-filter",children:(0,je.jsx)(Nt,{})}),(0,je.jsx)(z,{style:{width:300},size:o.size,children:(0,je.jsxs)(D,{children:[(0,je.jsx)(A,{children:"List item"}),(0,je.jsx)(A,{children:"List item"}),(0,je.jsx)(A,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(n=>{n==="opened"&&(a.opened=!!(t!=null&&t[n]),a.popup=t!=null&&t[n]?i:void 0)}),(0,je.jsx)("div",{children:(0,je.jsx)(V,{placeholder:"Value",style:{width:300},...o,...a})})};ra.options=tb;ra.states=jf;ra.variants=ab;ra.defaultOptions=eb;ra.modifiers=ob;ra.className=V.className;var Md=require("react/jsx-runtime");var Id=require("react/jsx-runtime");var ib=require("react/jsx-runtime");var _i=require("react/jsx-runtime"),rb=K.states,nb=K.defaultOptions,lb=K.options,sb=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],db=[],na=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t!=null&&t[i]?(0,_i.jsx)(V,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t!=null&&t[i]?(0,_i.jsx)(Ei,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[i];break;case"spin-button":a.showSpinButton=t==null?void 0:t[i];break;default:break}}),(0,_i.jsx)(ad,{value:"Value",style:{width:300},...o,...a})};na.options=lb;na.states=rb;na.variants=db;na.defaultOptions=nb;na.modifiers=sb;na.className=K.className;var S=require("react/jsx-runtime"),Sd="k-colorgradient-inputs",pb=[],mb={size:[s.undefined,s.small,s.medium,s.large]},yd={mode:"rgba"},la=e=>{let{mode:t=yd.mode,size:o,...a}=e;return(0,S.jsxs)("div",{...a,className:l(Sd,"k-hstack"),children:[(0,S.jsx)("div",{className:"k-vstack",children:(0,S.jsx)(d,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&(0,S.jsx)(S.Fragment,{children:(0,S.jsxs)("div",{className:"k-vstack k-flex-1",children:[(0,S.jsx)(H,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};la.states=pb;la.options=mb;la.className=Sd;la.defaultOptions=yd;var _e=require("react/jsx-runtime"),Ed="k-colorgradient-color-contrast",cb=[],ub={},fb={},sa=()=>(0,_e.jsxs)("div",{className:l(Ed,"k-vbox"),children:[(0,_e.jsxs)("div",{className:"k-contrast-ratio",children:[(0,_e.jsx)("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),(0,_e.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:[(0,_e.jsx)(L,{icon:"check"}),(0,_e.jsx)(L,{icon:"check"})]})]}),(0,_e.jsxs)("div",{children:[(0,_e.jsx)("span",{children:"AA: 4.5"}),(0,_e.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:["Pass",(0,_e.jsx)(L,{icon:"check"})]})]}),(0,_e.jsxs)("div",{children:[(0,_e.jsx)("span",{children:"AAA: 7.0"}),(0,_e.jsxs)("span",{className:"k-contrast-validation !k-text-error",children:["Fail",(0,_e.jsx)(L,{icon:"x"})]})]})]});sa.states=cb;sa.options=ub;sa.className=Ed;sa.defaultOptions=fb;var Cd="color-gradient",Td="colorgradient";var ve=require("react/jsx-runtime"),Hi="k-colorgradient",bb=[r.hover,r.focus,r.readonly,r.disabled],xb={size:[s.undefined,s.small,s.medium,s.large]},Gt={mode:"rgba",readonly:!1,disabled:!1,contrast:!1,gradientStyle:{background:"rgb(255, 0, 0 )"},dragHandleStyle:{top:"50px",left:"73px"},alphaStyle:{background:"linear-gradient(to top, transparent, rgb(255, 0, 0))"},alphaStyleHorizontal:{background:"linear-gradient(to right, transparent, rgb(255, 0, 0))"},canvasOrientation:"horizontal"},Ae=e=>{let{size:t,mode:o=Gt.mode,readonly:a=Gt.readonly,disabled:i=Gt.disabled,gradientStyle:n=Gt.gradientStyle,dragHandleStyle:p=Gt.dragHandleStyle,alphaStyle:m=Gt.alphaStyle,alphaStyleHorizontal:f=Gt.alphaStyleHorizontal,contrast:x=Gt.contrast,dir:h,hover:N,focus:c,hoverHandle:k,focusHandle:g,canvasOrientation:M=Gt.canvasOrientation,role:y,tabIndex:E,...B}=e;return(0,ve.jsxs)("div",{...B,role:y??"textbox","aria-label":y==="none"?void 0:"Color gradient",tabIndex:E??0,"aria-disabled":i?"true":void 0,className:l(e.className,Hi,I(Hi,{size:t}),T(Hi,{hover:N,focus:c,readonly:a,disabled:i})),dir:h,children:[!M||M==="horizontal"&&(0,ve.jsxs)("div",{className:"k-colorgradient-canvas k-hstack",children:[(0,ve.jsx)("div",{className:"k-hsv-rectangle",style:n,children:(0,ve.jsx)("div",{className:"k-hsv-gradient",children:(0,ve.jsx)("div",{className:l("k-hsv-draghandle","k-draghandle",{"k-hover":k,"k-focus":g}),style:p,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),(0,ve.jsxs)("div",{className:"k-hsv-controls k-hstack",children:[(0,ve.jsx)(Vr,{className:"k-hue-slider",hover:k,focus:g}),o!=="rgb"&&o!=="hsv"&&(0,ve.jsx)(Vr,{className:"k-alpha-slider",hover:k,focus:g,trackStyle:m})]})]}),M==="vertical"&&(0,ve.jsxs)("div",{className:"k-colorgradient-canvas k-vstack",children:[(0,ve.jsx)("div",{className:"k-hsv-rectangle",style:n,children:(0,ve.jsx)("div",{className:"k-hsv-gradient",children:(0,ve.jsx)("div",{className:l("k-hsv-draghandle","k-draghandle",{"k-hover":k,"k-focus":g}),style:p,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),(0,ve.jsxs)("div",{className:"k-hsv-controls k-vstack",children:[(0,ve.jsx)($r,{className:"k-hue-slider",hover:k,focus:g}),o!=="rgb"&&o!=="hsv"&&(0,ve.jsx)($r,{className:"k-alpha-slider",hover:k,focus:g,trackStyle:f})]})]}),(0,ve.jsx)(la,{mode:e.mode,size:t}),x&&(0,ve.jsx)(sa,{})]})};Ae.states=bb;Ae.options=xb;Ae.className=Hi;Ae.defaultOptions=Gt;Ae.moduleName=Cd;Ae.folderName=Td;var Od=require("react/jsx-runtime"),Fi=e=>(0,Od.jsx)(Ae,{...e});var hb=require("react/jsx-runtime");var Nb=require("react/jsx-runtime");var Ui=require("react/jsx-runtime"),gb=Ae.options,vb=Ae.states,Lb={...Ae.defaultOptions,variant:"rgba"},kb=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],Mb=[],da=e=>{let{variant:t,...o}=e;switch(t){case"hex":return(0,Ui.jsx)(Fi,{...o,mode:t});case"rgb":return(0,Ui.jsx)(Fi,{...o,mode:t});default:return(0,Ui.jsx)(Fi,{...o,mode:t})}};da.options=gb;da.states=vb;da.variants=kb;da.defaultOptions=Lb;da.modifiers=Mb;da.className=Ae.className;var Ad=require("react/jsx-runtime"),xn=e=>(0,Ad.jsx)("tr",{role:"row",children:e.children});var Bd=require("react/jsx-runtime"),hn="k-colorpalette-tile",Ib=[r.hover,r.focus,r.selected],Sb={},fo=e=>{let{color:t,tileSize:o,hover:a,focus:i,selected:n,...p}=e,m={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return(0,Bd.jsx)("td",{...p,role:"gridcell","aria-label":t,"aria-selected":n?"true":void 0,className:l(e.className,hn,T(hn,{hover:a,focus:i,selected:n})),style:m})};fo.states=Ib;fo.options=Sb;fo.className=hn;fo.moduleName=null;fo.folderName=null;var Rd="color-palette",Pd="colorpalette";var pa=require("react/jsx-runtime"),Gi="k-colorpalette",yb=[r.disabled],Eb={size:[s.undefined,s.small,s.medium,s.large]},wd={columns:10},et=e=>{let{size:t,palette:o,columns:a=wd.columns,tileSize:i,disabled:n,...p}=e,m=[];if(o){let f=a||o.columns,x=o.colors?o.colors:o;Array.isArray(x)&&Array.from({length:Math.ceil(x.length/f)},(h,N)=>{let c=[];x.slice(N*f,(N+1)*f).map((g,M)=>{c.push((0,pa.jsx)(fo,{color:g,tileSize:i},M))});let k=(0,pa.jsx)(xn,{children:c},N);m.push(k)})}return(0,pa.jsx)("div",{...p,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":n?"true":void 0,className:l(e.className,Gi,T(Gi,{disabled:n}),I(Gi,{size:t})),children:(0,pa.jsx)("table",{className:"k-colorpalette-table",role:"none",children:(0,pa.jsx)("tbody",{children:m.length>0?m:e.children})})})};et.states=yb;et.options=Eb;et.className=Gi;et.defaultOptions=wd;et.moduleName=Rd;et.folderName=Pd;var $i=et;var pi={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},office:{colors:["#ffffff","#000000","#e6e6e6","#435569","#4371c4","#ed7e32","#a5a4a5","#febf04","#5a9bd5","#71ae48","#f2f2f3","#7f7f7f","#d1cece","#d5dde3","#dae1f4","#fce5d4","#deeded","#fff2cc","#deeaf6","#e1efd9","#d7d8d8","#585959","#aeabab","#adbaca","#b4c5e7","#f6caac","#dbdbdb","#ffe498","#bcd6ee","#c5e0b2","#bfbfc0","#3f3f3f","#767070","#8595b1","#8fabdb","#f5b183","#c9c8c9","#fed965","#9bc4e5","#a8d08d","#a5a5a6","#262625","#393939","#334050","#2e5496","#c45a11","#7b7b7a","#bf9000","#2f75b5","#548235","#7f7f7f","#0b0c0c","#161616","#222a34","#203764","#843d0b","#525252","#7f6000","#1d4d79","#375623"],columns:10},apex:{colors:["#ffffff","#000000","#c9c2d1","#69676d","#ceb966","#9cb084","#6bb1c9","#6585cf","#7e6bc9","#a379bb","#f2f2f2","#7f7f7f","#f4f2f5","#e0e0e2","#f5f1e0","#ebefe6","#e1eff4","#e0e6f5","#e5e1f4","#ece4f1","#d8d8d8","#595959","#e9e6ec","#c2c1c5","#ebe3c1","#d7dfcd","#c3dfe9","#c1ceeb","#cbc3e9","#dac9e3","#bfbfbf","#3f3f3f","#dedae3","#a4a3a8","#e1d5a3","#c3cfb5","#a6d0de","#a2b5e2","#b1a6de","#c7aed6","#a5a5a5","#262626","#9688a5","#4e4d51","#ae9638","#758c5a","#3d8da9","#365bb0","#533da9","#7d4d99","#7f7f7f","#0c0c0c","#635672","#343336","#746425","#4e5d3c","#295e70","#243c75","#372970","#533366"],columns:10},austin:{colors:["#ffffff","#000000","#caf278","#3e3d2d","#94c600","#71685a","#ff6700","#909465","#956b43","#fea022","#f2f2f2","#7f7f7f","#f4fce4","#dddcd0","#efffc0","#e3e1dc","#ffe0cb","#e8e9df","#ece1d6","#feecd2","#d8d8d8","#595959","#e9f9c9","#bbb9a1","#dfff82","#c8c3ba","#ffc299","#d2d4c0","#dac3ad","#fed9a6","#bfbfbf","#3f3f3f","#dff7ae","#ada598","#cfff43","#ada598","#ffa365","#bcbfa1","#c8a585","#fec67a","#a5a5a5","#262626","#a9ea25","#2e2d21","#6f9400","#544e43","#bf4d00","#6c6f4b","#6f5032","#d77b00","#7f7f7f","#0c0c0c","#74a50f","#1f1e16","#4a6300","#38342d","#7f3300","#484a32","#4a3521","#8f5200"],columns:10},clarity:{colors:["#ffffff","#292934","#f3f2dc","#d2533c","#93a299","#ad8f67","#726056","#4c5a6a","#808da0","#79463d","#f2f2f2","#e7e7ec","#e7e5b9","#f6dcd8","#e9ecea","#eee8e0","#e4dedb","#d8dde3","#e5e8ec","#e9d6d3","#d8d8d8","#c4c4d1","#d5d185","#edbab1","#d3d9d6","#ded2c2","#c9beb8","#b2bcc8","#ccd1d9","#d3aea7","#bfbfbf","#8a8aa3","#aca73b","#e4978a","#bec7c1","#cdbba3","#af9e94","#8c9bac","#b2bac6","#bd857c","#a5a5a5","#56566e","#56531d","#a43925","#6b7c72","#866b48","#554840","#39434f","#5c697b","#5a342d","#7f7f7f","#3b3b4b","#22210b","#6d2619","#47534c","#594730","#39302b","#262d35","#3d4652","#3c231e"],columns:10},slipstream:{colors:["#ffffff","#000000","#b4dcfa","#212745","#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124","#f2f2f2","#7f7f7f","#8bc9f7","#c7cce4","#dbe0f4","#def4fc","#edfadc","#def5ef","#ffe5d2","#fcd9d3","#d8d8d8","#595959","#4facf3","#909aca","#b8c2e9","#beeafa","#dbf6b9","#beebdf","#ffcca6","#f9b3a7","#bfbfbf","#3f3f3f","#0d78c9","#5967af","#94a3de","#9ee0f7","#caf297","#9de1cf","#ffb279","#f68d7b","#a5a5a5","#262626","#063c64","#181d33","#31479f","#11b2eb","#81d319","#34ac8b","#d85c00","#c3260c","#7f7f7f","#0c0c0c","#021828","#101322","#202f6a","#0b769c","#568c11","#22725c","#903d00","#821908"],columns:10},metro:{colors:["#ffffff","#000000","#d6ecff","#4e5b6f","#7fd13b","#ea157a","#feb80a","#00addc","#738ac8","#1ab39f","#f2f2f2","#7f7f7f","#a7d6ff","#d9dde4","#e5f5d7","#fad0e4","#fef0cd","#c5f2ff","#e2e7f4","#c9f7f1","#d8d8d8","#595959","#60b5ff","#b3bcca","#cbecb0","#f6a1c9","#fee29c","#8be6ff","#c7d0e9","#94efe3","#bfbfbf","#3f3f3f","#007dea","#8d9baf","#b2e389","#f272af","#fed46b","#51d9ff","#aab8de","#5fe7d5","#a5a5a5","#262626","#003e75","#3a4453","#5ea226","#af0f5b","#c58c00","#0081a5","#425ea9","#138677","#7f7f7f","#0c0c0c","#00192e","#272d37","#3f6c19","#750a3d","#835d00","#00566e","#2c3f71","#0c594f"],columns:10},flow:{colors:["#ffffff","#000000","#dbf5f9","#04617b","#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249","#f2f2f2","#7f7f7f","#b2e9f2","#b4ecfc","#c7e2fa","#c4eeff","#c9fafc","#c9faed","#e4f4df","#edf2da","#d8d8d8","#595959","#76d9e8","#6adafa","#90c6f6","#89deff","#93f5f9","#94f6db","#cae9c0","#dbe6b6","#bfbfbf","#3f3f3f","#21b2c8","#20c8f7","#59a9f2","#4fceff","#5df0f6","#5ff2ca","#b0dfa0","#c9da91","#a5a5a5","#262626","#105964","#02485c","#0b5394","#0075a2","#089ca2","#0b9b74","#54a838","#7e9532","#7f7f7f","#0c0c0c","#062328","#01303d","#073763","#004e6c","#05686c","#07674d","#387025","#546321"],columns:10},hardcover:{colors:["#ffffff","#000000","#ece9c6","#895d1d","#873624","#d6862d","#d0be40","#877f6c","#972109","#aeb795","#f2f2f2","#7f7f7f","#e1dca5","#f2e0c6","#f0d0c9","#f6e6d5","#f5f2d8","#e7e5e1","#fbc7bc","#eef0e9","#d8d8d8","#595959","#d0c974","#e6c28d","#e2a293","#eeceaa","#ece5b2","#cfccc3","#f78f7a","#dee2d4","#bfbfbf","#3f3f3f","#a29a36","#daa454","#d4735e","#e6b681","#e2d88c","#b7b2a5","#f35838","#ced3bf","#a5a5a5","#262626","#514d1b","#664515","#65281a","#a2641f","#a39428","#655f50","#711806","#879464","#7f7f7f","#0c0c0c","#201e0a","#442e0e","#431b11","#6c4315","#6d621a","#433f35","#4b1004","#5a6243"],columns:10},trek:{colors:["#ffffff","#000000","#fbeec9","#4e3b30","#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529","#f2f2f2","#7f7f7f","#f7e09e","#e1d6cf","#fcecd5","#eddfda","#f0e7e5","#f3eae1","#ece9e3","#f5e3d1","#d8d8d8","#595959","#f3cc5f","#c4ad9f","#f9d9ab","#dcc0b6","#e1d0cc","#e7d5c4","#d9d4c7","#ebc7a3","#bfbfbf","#3f3f3f","#d29f0f","#a78470","#f6c781","#cba092","#d2b9b2","#dbc1a7","#c6bfab","#e1ac76","#a5a5a5","#262626","#694f07","#3a2c24","#c87d0e","#7b4b3a","#926255","#a17242","#7b7153","#90571e","#7f7f7f","#0c0c0c","#2a1f03","#271d18","#855309","#523226","#614138","#6b4c2c","#524b37","#603a14"],columns:10},verve:{colors:["#ffffff","#000000","#d2d2d2","#666666","#ff388c","#e40059","#9c007f","#68007f","#005bd3","#00349e","#f2f2f2","#7f7f7f","#bdbdbd","#e0e0e0","#ffd7e8","#ffc6dc","#ffb8f1","#f1b2ff","#c3dcff","#b8cfff","#d8d8d8","#595959","#9d9d9d","#c1c1c1","#ffafd1","#ff8eba","#ff71e4","#e365ff","#87baff","#72a0ff","#bfbfbf","#3f3f3f","#696969","#a3a3a3","#ff87ba","#ff5597","#ff2ad7","#d519ff","#4b98ff","#2b71ff","#a5a5a5","#262626","#343434","#4c4c4c","#e90062","#ab0042","#75005f","#4e005f","#00449e","#002676","#7f7f7f","#0c0c0c","#151515","#333333","#9b0041","#72002c","#4e003f","#34003f","#002d69","#00194f"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}};var zd=require("react/jsx-runtime"),Kd=e=>(0,zd.jsx)($i,{palette:pi.basic,...e});var Cb=require("react/jsx-runtime");var Dd=require("react/jsx-runtime");var _d=require("react/jsx-runtime"),Tb=et.options,Ob=et.states,Ab={...et.defaultOptions,variant:"basic"},Bb=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],Rb={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}},Pb=[],ma=e=>{let{variant:t="basic",...o}=e,a=Rb[t];return(0,_d.jsx)(Kd,{columns:a.columns,palette:a,...o})};ma.options=Tb;ma.states=Ob;ma.variants=Bb;ma.defaultOptions=Ab;ma.modifiers=Pb;ma.className=et.className;var Hd="color-editor",Fd="coloreditor";var pe=require("react/jsx-runtime"),Vi="k-coloreditor",wb=[r.focus],Kb={size:[s.undefined,s.small,s.medium,s.large]},mi={view:"gradient",palette:pi.office,actionButtons:!0,canvasOrientation:"horizontal"},me=e=>{let{size:t,view:o=mi.view,palette:a=mi.palette,color:i,currentColor:n,focus:p,focusView:m,dir:f,group:x,actionButtons:h=mi.actionButtons,canvasOrientation:N=mi.canvasOrientation,...c}=e;return(0,pe.jsxs)("div",{...c,role:"textbox","aria-label":"Color editor",tabIndex:0,className:l(e.className,"k-flatcolorpicker",Vi,I(Vi,{size:t}),T(Vi,{focus:p})),dir:f,children:[(0,pe.jsxs)("div",{className:"k-coloreditor-header k-hstack",children:[(0,pe.jsx)("div",{className:"k-coloreditor-header-actions k-hstack",children:x&&(0,pe.jsxs)(w,{fillMode:"flat",children:[(0,pe.jsx)(d,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),(0,pe.jsx)(d,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),(0,pe.jsx)("div",{className:"k-spacer"}),(0,pe.jsxs)("div",{className:"k-coloreditor-header-actions k-hstack",children:[(0,pe.jsx)(d,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),(0,pe.jsxs)("div",{className:"k-coloreditor-preview k-vstack",children:[(0,pe.jsx)(po,{className:"k-coloreditor-preview-color",color:i}),(0,pe.jsx)(po,{className:"k-coloreditor-current-color",color:n})]})]})]}),(0,pe.jsx)("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?(0,pe.jsx)(Ae,{focus:m,size:t,canvasOrientation:N,role:"none",tabIndex:-1}):(0,pe.jsx)(et,{palette:a,size:t})}),h&&(0,pe.jsxs)(ht,{className:"k-coloreditor-footer",alignment:"start",children:[(0,pe.jsx)(d,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),(0,pe.jsx)(d,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};me.states=wb;me.options=Kb;me.className=Vi;me.defaultOptions=mi;me.moduleName=Hd;me.folderName=Fd;var ca=me;var zb=require("react/jsx-runtime");var Db=require("react/jsx-runtime");var Gd=require("react/jsx-runtime"),Ud=e=>(0,Gd.jsx)(ca,{group:!0,currentColor:"fuchsia",...e});var Vd=require("react/jsx-runtime"),$d=e=>(0,Vd.jsx)(ca,{view:"palette",group:!0,currentColor:"fuchsia",...e});var Nn=require("react/jsx-runtime"),_b=me.options,Hb=me.states,Fb={...me.defaultOptions,variant:"gradient"},Ub=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],Gb=[],ua=e=>{let{variant:t,...o}=e;return t==="palette"?(0,Nn.jsx)($d,{...o,color:"white"}):(0,Nn.jsx)(Ud,{...o,color:"rgba(183, 118 , 118, 1.00)"})};ua.options=_b;ua.states=Hb;ua.variants=Ub;ua.defaultOptions=Fb;ua.modifiers=Gb;ua.className=me.className;var Xd="color-picker",Wd="colorpicker";var Le=require("react/jsx-runtime"),Jd="k-colorpicker",$b=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled],Vb={size:[s.undefined,s.small,s.medium,s.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},qd={arrowIconName:"chevron-down"},ye=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:i=qd.arrowIconName,prefix:n,suffix:p,value:m,placeholder:f,hover:x,focus:h,valid:N,invalid:c,required:k,disabled:g,valueIconName:M,popup:y,opened:E,adaptive:B,adaptiveSettings:G,adaptiveTitle:j,adaptiveSubtitle:re,...xe}=e,he="colorpicker-popup";return(0,Le.jsxs)(Le.Fragment,{children:[(0,Le.jsxs)(Ht,{...xe,size:t,rounded:o,fillMode:a,hover:x,focus:h,valid:N,invalid:c,required:k,disabled:g,role:"combobox","aria-haspopup":"dialog","aria-expanded":E?"true":"false","aria-controls":E||B?he:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":g?"true":void 0,className:l(e.className,Jd,"k-icon-picker"),children:[(0,Le.jsx)(Me,{children:n}),(0,Le.jsx)(Io,{placeholder:f,value:m,showValue:!1,valueIcon:(0,Le.jsx)(po,{className:"k-value-icon",color:m,iconName:M}),valueIconName:M}),(0,Le.jsx)(Ie,{children:p}),(0,Le.jsx)(d,{className:"k-input-button",icon:i,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:g})]}),E&&y&&(0,Le.jsx)(q,{id:he,className:"k-colorpicker-popup",children:y}),B&&(0,Le.jsx)(ee,{adaptive:!0,id:he,...G,header:(0,Le.jsx)(Ee,{actionsEnd:(0,Le.jsx)(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:j,subtitle:re}),footer:(0,Le.jsxs)(mo,{children:[(0,Le.jsx)(d,{text:"Cancel",size:"large"}),(0,Le.jsx)(d,{text:"Set",size:"large",themeColor:"primary"})]}),children:(0,Le.jsx)(me,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};ye.states=$b;ye.options=Vb;ye.className=Jd;ye.defaultOptions=qd;ye.moduleName=Xd;ye.folderName=Wd;var to=ye;var Yd=require("react/jsx-runtime"),Xi=e=>(0,Yd.jsx)(to,{...e});var Xb=require("react/jsx-runtime");var Wb=require("react/jsx-runtime");var Jb=require("react/jsx-runtime");var qb=require("react/jsx-runtime");var Yb=require("react/jsx-runtime");var Zb=require("react/jsx-runtime");var bo=require("react/jsx-runtime"),Qb=to.options,jb=to.states,Zd={...to.defaultOptions,variant:"color"},ex=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],tx=[{name:"opened",title:"Opened"}],fa=e=>{let{variant:t,modifiers:o,...a}={...Zd,...e},i={};Object.keys(o||{}).forEach(p=>{p==="opened"&&(i.opened=!!(o!=null&&o[p]),i.popup=o!=null&&o[p]?(0,bo.jsx)(me,{size:a.size,color:"rgba(183, 118 , 118, 1.00)",group:!0}):"")});let n=i.opened?{width:"272px",height:"390px"}:{};switch(t){case"no color":return(0,bo.jsx)("div",{style:n,children:(0,bo.jsx)(Xi,{...a,...i})});case"icon":return(0,bo.jsx)("div",{style:n,children:(0,bo.jsx)(Xi,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...i})});default:return(0,bo.jsx)("div",{style:n,children:(0,bo.jsx)(Xi,{value:"rgba(183, 118 , 118, 1.00)",...a,...i})})}};fa.options=Qb;fa.states=jb;fa.variants=ex;fa.defaultOptions=Zd;fa.modifiers=tx;fa.className=to.className;var gn="combobox",Qd=gn;var F=require("react/jsx-runtime"),jd="k-combobox",ox=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],ax={size:[s.undefined,s.small,s.medium,s.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},ep={separators:!0},Be=e=>{let{size:t,rounded:o,fillMode:a,separators:i=ep.separators,prefix:n,suffix:p,value:m,placeholder:f,hover:x,focus:h,valid:N,invalid:c,required:k,loading:g,disabled:M,popup:y,opened:E,readonly:B,adaptive:G,adaptiveSettings:j,adaptiveTitle:re,adaptiveSubtitle:xe,adaptiveCustomValue:he,id:zt,autocomplete:Fa,activeDescendant:Ct,"aria-label":_o,...Ua}=e,Ga=zt?`${zt}-listbox`:void 0;return(0,F.jsxs)(F.Fragment,{children:[(0,F.jsxs)(W,{...Ua,size:t,rounded:o,fillMode:a,hover:x,focus:h,valid:N,invalid:c,required:k,loading:g,disabled:M,readonly:B,className:l(e.className,jd),children:[n&&(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(Me,{children:n}),i&&(0,F.jsx)(le,{})]}),(0,F.jsx)(ge,{id:zt,placeholder:f,value:m,role:"combobox","aria-haspopup":"listbox","aria-expanded":E?"true":"false","aria-controls":E?Ga:void 0,"aria-activedescendant":E&&Ct?Ct:void 0,"aria-autocomplete":Fa,"aria-invalid":c?"true":void 0,"aria-busy":g?"true":void 0,"aria-label":_o,disabled:M,readOnly:B}),(0,F.jsx)(ne,{valid:N,invalid:c,loading:g,disabled:M}),(0,F.jsx)(de,{loading:g,disabled:M}),(0,F.jsx)(Ne,{loading:g,disabled:M,readonly:B,value:m}),p&&(0,F.jsxs)(F.Fragment,{children:[i&&(0,F.jsx)(le,{}),(0,F.jsx)(Ie,{children:p})]}),(0,F.jsx)(d,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:M})]}),E&&y&&(0,F.jsx)(q,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:y}),G&&(0,F.jsx)(ee,{adaptive:!0,id:zt?`${zt}-adaptive`:void 0,...j,header:(0,F.jsx)(Ee,{actionsEnd:(0,F.jsx)(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:m,inputPlaceholder:f,title:re,subtitle:xe}),children:(0,F.jsx)("div",{className:"k-list-container",children:(0,F.jsx)(z,{customValue:he?(0,F.jsx)(Lt,{text:`Use "${m}"`}):void 0,size:"large",children:(0,F.jsxs)(D,{"aria-label":re||"Options",children:[(0,F.jsx)(A,{text:"List item"}),(0,F.jsx)(A,{text:"List item"}),(0,F.jsx)(A,{text:"List item"})]})})})})]})};Be.states=ox;Be.options=ax;Be.className=jd;Be.defaultOptions=ep;Be.moduleName=gn;Be.folderName=Qd;var lt=Be;var op=require("react/jsx-runtime"),tp=e=>(0,op.jsx)(lt,{...e});var ap=require("react/jsx-runtime");var ip=require("react/jsx-runtime");var rp=require("react/jsx-runtime");var np=require("react/jsx-runtime");var lp=require("react/jsx-runtime");var sp=require("react/jsx-runtime");var vn=require("react/jsx-runtime");var ix=require("react/jsx-runtime");var rx=require("react/jsx-runtime");var dp=require("react/jsx-runtime");var pp=require("react/jsx-runtime");var Rt=require("react/jsx-runtime"),nx=Be.states,lx=Be.defaultOptions,sx=Be.options,dx=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],px=[],ba=e=>{let{modifiers:t,...o}=e,a={},i=(0,Rt.jsx)(z,{style:{width:300},size:o.size,children:(0,Rt.jsxs)(D,{children:[(0,Rt.jsx)(A,{children:"List item"}),(0,Rt.jsx)(A,{children:"List item"}),(0,Rt.jsx)(A,{children:"List item"})]})});return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t!=null&&t[n]?(0,Rt.jsx)(L,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t!=null&&t[n]?(0,Rt.jsx)(jt,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!(t!=null&&t[n]),a.popup=t!=null&&t[n]?i:void 0;break;default:break}}),(0,Rt.jsx)("div",{children:(0,Rt.jsx)(tp,{value:"Value",style:{width:300},...o,...a})})};ba.options=sx;ba.states=nx;ba.variants=px;ba.defaultOptions=lx;ba.modifiers=dx;ba.className=Be.className;var Ln="menu-button",mp=Ln;var up=require("react/jsx-runtime"),cp="k-menu-button",mx=[r.hover,r.focus,r.active,r.selected,r.disabled],cx={size:[s.undefined,s.xsmall,s.small,s.medium,s.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info,v.inverse]},kn={showArrow:!0,arrowIconName:"chevron-down"},Z=e=>{let{size:t,rounded:o,fillMode:a,themeColor:i,hover:n,focus:p,active:m,selected:f,disabled:x,icon:h,text:N,showArrow:c=kn.showArrow,arrowIconName:k=kn.arrowIconName,expanded:g,...M}=e;return(0,up.jsx)(d,{...M,className:l(e.className,cp),text:N,size:t,rounded:o,fillMode:a,themeColor:i,hover:n,focus:p,active:m,selected:f,disabled:x,ariaDisabled:x||void 0,icon:h,showArrow:c,arrowIconName:k,"aria-expanded":g?"true":"false",...!N&&h&&!e["aria-label"]&&{"aria-label":"Menu"}})};Z.states=mx;Z.options=cx;Z.className=cp;Z.defaultOptions=kn;Z.moduleName=Ln;Z.folderName=mp;var ux=require("react/jsx-runtime");var fx=require("react/jsx-runtime");var bx=require("react/jsx-runtime");var st="menu",kt=st;var oo=require("react/jsx-runtime"),Mn="k-menu-item",xx=[r.hover,r.focus,r.active,r.selected,r.disabled],hx={},fp={iconPosition:"before"},He=e=>{let{hover:t,focus:o,active:a,selected:i,disabled:n,icon:p,text:m,showArrow:f,arrowIconName:x,iconPosition:h=fp.iconPosition,dir:N,children:c,expanded:k,...g}=e,M=x;return M||(M=N==="rtl"?"chevron-left":"chevron-right"),(0,oo.jsxs)("li",{...g,className:l(e.className,Mn,"k-item",T(Mn,{focus:o,disabled:n,hover:t,active:a,selected:i})),role:"menuitem",...f&&{"aria-haspopup":"menu"},...f&&{"aria-expanded":k?"true":"false"},...n&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,oo.jsxs)("span",{className:l("k-link k-menu-link"),children:[p&&h==="before"&&(0,oo.jsx)(L,{className:"k-menu-link-icon",icon:p}),(0,oo.jsx)("span",{className:"k-menu-link-text",children:m}),p&&h==="after"&&(0,oo.jsx)(L,{className:"k-menu-link-icon",icon:p}),f&&(0,oo.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,oo.jsx)(L,{icon:M})})]}),c]})};He.states=xx;He.options=hx;He.className=Mn;He.defaultOptions=fp;He.moduleName=st;He.folderName=kt;var Pt=require("react/jsx-runtime"),In="k-menu-item",Nx=[r.hover,r.focus,r.active,r.selected,r.disabled],gx={},Sn={dir:"ltr",iconPosition:"before"},ae=e=>{let{hover:t,focus:o,active:a,selected:i,disabled:n,icon:p,text:m,showArrow:f,arrowIconName:x,iconPosition:h=Sn.iconPosition,dir:N=Sn.dir,children:c,popup:k,expanded:g,actions:M,description:y,...E}=e,B=x;return B||(B=N==="rtl"?"chevron-left":"chevron-right"),(0,Pt.jsxs)("li",{role:"menuitem",...E,className:l(e.className,In,"k-item",T(In,{focus:o,disabled:n})),...f&&{"aria-haspopup":"menu"},...f&&{"aria-expanded":g?"true":"false"},...n&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,Pt.jsxs)("span",{className:l("k-link k-menu-link",T("k-menu-link",{hover:t,active:a,selected:i,disabled:n})),children:[p&&h==="before"&&(0,Pt.jsx)(L,{className:"k-menu-link-icon",icon:p}),(0,Pt.jsx)("span",{className:"k-menu-link-text",children:m}),p&&h==="after"&&(0,Pt.jsx)(L,{className:"k-menu-link-icon",icon:p}),M&&(0,Pt.jsx)("span",{className:"k-menu-link-actions",children:M}),f&&(0,Pt.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,Pt.jsx)(L,{icon:B})}),y&&(0,Pt.jsx)("span",{className:"k-menu-link-description",children:y})]}),c,k]})};ae.states=Nx;ae.options=gx;ae.className=In;ae.defaultOptions=Sn;ae.moduleName=st;ae.folderName=kt;var hp=require("react/jsx-runtime"),bp="k-menu-scroll-wrapper",vx=[],Lx={},kx={},Oo=e=>{let{className:t,children:o,orientation:a,...i}=e;return(0,hp.jsx)("div",{...i,className:l(t,bp,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};Oo.states=vx;Oo.options=Lx;Oo.className=bp;Oo.defaultOptions=kx;Oo.moduleName=st;Oo.folderName=kt;var xp=Oo;var Re=require("react/jsx-runtime"),Ji="k-menu",Mx=[],Ix={size:[s.undefined,s.small,s.medium,s.large]},qi={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},Pe=e=>{let{children:t,orientation:o=qi.orientation,header:a=qi.header,scrollable:i,scrollButtonsPosition:n=qi.scrollButtonsPosition,wrapperStyles:p,dir:m,size:f,popup:x,contextMenu:h,...N}=e,c={horizontal:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},k=(0,Re.jsx)("ul",{dir:m,...N,className:l(e.className,"k-reset",Ji,{[`${Ji}-${o}`]:o,"k-header":a},I(Ji,{size:f})),role:h?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return(0,Re.jsxs)(Re.Fragment,{children:[i?(0,Re.jsxs)(xp,{orientation:o,style:p,dir:e.dir,children:[n==="start"&&(0,Re.jsxs)(Re.Fragment,{children:[(0,Re.jsx)(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,Re.jsx)(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),n==="around"&&(0,Re.jsx)(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),k,n==="end"&&(0,Re.jsxs)(Re.Fragment,{children:[(0,Re.jsx)(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,Re.jsx)(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),n==="around"&&(0,Re.jsx)(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):k,x]})};Pe.states=Mx;Pe.options=Ix;Pe.className=Ji;Pe.defaultOptions=qi;Pe.moduleName=st;Pe.folderName=kt;var gp=require("react/jsx-runtime"),yn="k-separator",Np={orientation:"horizontal"},xa=e=>{let{orientation:t=Np.orientation,...o}=e;return(0,gp.jsx)("li",{...o,className:l(e.className,"k-item",yn,{[`${yn}-${t}`]:t}),role:"separator"})};xa.className=yn;xa.defaultOptions=Np;xa.moduleName=st;xa.folderName=kt;var vp=require("react/jsx-runtime");var Lp=require("react/jsx-runtime"),En="k-menu-group",Sx=[],yx={size:[s.undefined,s.small,s.medium,s.large]},Ex={},Fe=e=>{let{children:t,size:o,...a}=e;return(0,Lp.jsx)("ul",{role:"menu",...a,className:l(e.className,En,I(En,{size:o})),children:t})};Fe.states=Sx;Fe.options=yx;Fe.className=En;Fe.defaultOptions=Ex;Fe.moduleName=st;Fe.folderName=kt;var kp=require("react/jsx-runtime");var wt=require("react/jsx-runtime"),Cn=e=>(0,wt.jsx)(Pe,{children:(0,wt.jsxs)(wt.Fragment,{children:[(0,wt.jsx)(He,{text:"Item 1"}),(0,wt.jsx)(He,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),(0,wt.jsx)(He,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),(0,wt.jsx)(He,{text:"Item 4"}),(0,wt.jsx)(He,{text:"Item 5"})]}),...e});var Tn=require("react/jsx-runtime");var On=require("react/jsx-runtime");var An=require("react/jsx-runtime");var Bn=require("react/jsx-runtime");var $t=require("react/jsx-runtime"),Cx={...Pe.options,scrollable:{type:"boolean"}},Tx=Pe.states,Mp={...Pe.defaultOptions,variant:"horizontal"},Ox=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Ax=[{name:"opened",title:"Opened"}],ha=e=>{let{variant:t,modifiers:o,...a}={...Mp,...e},i={},n=t==="vertical"?{left:"200px",top:"30px"}:{left:"90px",top:"auto"};return Object.keys(o||{}).forEach(p=>{p==="opened"&&(i.opened=!!(o!=null&&o[p]),i.popup=o!=null&&o[p]?(0,$t.jsx)(q,{className:"k-menu-popup",offset:n,children:(0,$t.jsxs)(Fe,{children:[(0,$t.jsx)(ae,{text:"Item 1"}),(0,$t.jsx)(ae,{text:"Item 2"}),(0,$t.jsx)(xa,{}),(0,$t.jsx)(ae,{text:"Item 3"})]})}):null)}),t==="vertical"?(0,$t.jsx)(Cn,{...a,...i,orientation:"vertical",style:{width:"200px"}}):(0,$t.jsx)(Cn,{...a,...i})};ha.options=Cx;ha.states=Tx;ha.variants=Ox;ha.defaultOptions=Mp;ha.modifiers=Ax;ha.className=Pe.className;var Rn=require("react/jsx-runtime");var Bx=require("react/jsx-runtime");var Ue=require("react/jsx-runtime"),Rx=d.states,Ip={...d.defaultOptions,variant:"text"},Px=d.options,wx=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Kx=[{name:"opened",title:"Opened"}],Na=e=>{let{variant:t,modifiers:o,...a}={...Ip,...e},i={},n=(0,Ue.jsx)(q,{className:"k-menu-popup",children:(0,Ue.jsxs)(Fe,{size:a.size,children:[(0,Ue.jsx)(ae,{text:"Menu Item"}),(0,Ue.jsx)(ae,{text:"Menu Item"}),(0,Ue.jsx)(ae,{text:"Menu Item"})]})}),p;switch(t){case"icon-only":p=(0,Ue.jsx)("div",{children:(0,Ue.jsx)(Z,{...a,...i,icon:"star"})});break;case"icon-and-text":p=(0,Ue.jsx)("div",{children:(0,Ue.jsx)(Z,{...a,...i,icon:"star",children:"Dropdown Button"})});break;default:p=(0,Ue.jsx)("div",{children:(0,Ue.jsx)(Z,{...a,...i,children:"Dropdown Button"})});break}return(0,Ue.jsxs)(Ue.Fragment,{children:[p,(o==null?void 0:o.opened)&&n]})};Na.options=Px;Na.states=Rx;Na.variants=wx;Na.defaultOptions=Ip;Na.modifiers=Kx;Na.className=Z.className;var Pn="split-button",Sp=Pn;var ao=require("react/jsx-runtime"),wn="k-split-button",zx=[r.hover,r.focus,r.active,r.selected,r.disabled],Dx={size:[s.undefined,s.small,s.medium,s.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info,v.inverse]},yp={arrowIconName:"chevron-down"},_=e=>{let{size:t,rounded:o,fillMode:a,themeColor:i,hover:n,focus:p,active:m,selected:f,disabled:x,icon:h,text:N,arrowIconName:c=yp.arrowIconName,popup:k,opened:g,popupId:M,...y}=e;return(0,ao.jsxs)(ao.Fragment,{children:[(0,ao.jsxs)("div",{...y,className:l(e.className,wn,"k-button-group",I(wn,{rounded:o})),children:[(0,ao.jsx)(d,{text:N,icon:h,size:t,rounded:o,fillMode:a,themeColor:i,hover:n,focus:p,active:m,selected:f,disabled:x,...!N&&!e.children&&h&&{"aria-label":"Action"},children:e.children}),(0,ao.jsx)(d,{className:"k-split-button-arrow",icon:c,size:t,rounded:o,fillMode:a,disabled:x,ariaDisabled:x||void 0,"aria-label":"Toggle dropdown","aria-expanded":g?"true":"false","aria-controls":g?M:void 0,tabIndex:-1})]}),g&&k&&(0,ao.jsx)(q,{className:"k-menu-popup",children:k})]})};_.states=zx;_.options=Dx;_.className=wn;_.defaultOptions=yp;_.moduleName=Pn;_.folderName=Sp;var Kn=_;var Ep=require("react/jsx-runtime"),_x="k-toolbar-separator",Ge=e=>(0,Ep.jsx)("div",{className:l(_x,e.className,"k-separator")});var Ao="toolbar",ga=Ao;var P=require("react/jsx-runtime"),io="k-toolbar",Hx=[r.focus],Fx={size:[s.undefined,s.small,s.medium,s.large],fillMode:[b.undefined,b.solid,b.outline,b.flat]},Ux={scrollButtons:"around"},Y=e=>{let{size:t,fillMode:o,focus:a,resizable:i,scrollable:n,scrollButtons:p,scrollingPosition:m,section:f,...x}=e,h=[],N=(c,k)=>{let g=[];if(c.type===d&&c.props.className&&c.props.className.includes("k-toolbar-overflow-button"))g.push((0,P.jsx)(d,{...c.props,className:`${c.props.className?c.props.className:""}`},`${k}-${new Date().getTime()}`));else if(c.type===d)g.push((0,P.jsx)(d,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${k}-${new Date().getTime()}`));else if(c.type===Ja)g.push((0,P.jsx)(Ja,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${k}-${new Date().getTime()}`));else if(c.type===jt)g.push((0,P.jsx)(jt,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${k}-${new Date().getTime()}`));else if(c.type===Z)g.push((0,P.jsx)(Z,{...c.props,className:`k-toolbar-menu-button ${c.props.className?c.props.className:""}`},`${k}-${new Date().getTime()}`));else if(c.type===Kn)g.push((0,P.jsx)(Kn,{...c.props,className:`k-toolbar-split-button ${c.props.className?c.props.className:""}`},`${k}-${new Date().getTime()}`));else if(c.type===w||c.props.className&&c.props.className.includes("k-button-group")){let M=[];(Array.isArray(c.props.children)?c.props.children:[c.props.children]).forEach((E,B)=>{M.push((0,P.jsx)(d,{...E.props,className:`${E.props.className?E.props.className:""}`},`${B}-${new Date().getTime()}`))}),g.push((0,P.jsx)(w,{...c.props,className:`k-toolbar-button-group ${c.props.className?c.props.className:""}`,children:M},`${k}-${new Date().getTime()}`))}else c.type===Be?g.push((0,P.jsx)(Be,{...c.props,className:`k-toolbar-combobox ${c.props.className?c.props.className:""}`},`${k}-${new Date().getTime()}`)):c.type===V?g.push((0,P.jsx)(V,{...c.props,className:`k-toolbar-dropdownlist ${c.props.className?c.props.className:""}`},`${k}-${new Date().getTime()}`)):c.type===ye?g.push((0,P.jsx)(ye,{...c.props,className:`k-toolbar-colorpicker ${c.props.className?c.props.className:""}`},`${k}-${new Date().getTime()}`)):g.push(c);g.forEach(M=>{h.push(M)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((k,g)=>{N(k,g)}),(0,P.jsxs)("div",{...x,className:l(e.className,io,I(io,{size:t,fillMode:o}),T(io,{focus:a}),{[`${io}-resizable`]:i,[`${io}-scrollable`]:n,[`${io}-scrollable-overlay`]:n&&p==="hidden",[`${io}-scrollable-${m}`]:m&&m!=="both",[`${io}-section`]:f}),role:"toolbar","aria-label":"Toolbar",children:[!n&&h,n&&p==="hidden"&&(0,P.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),n&&p==="start"&&(0,P.jsxs)(P.Fragment,{children:[(0,P.jsxs)(w,{children:[(0,P.jsx)("span",{className:l("k-toolbar-prev","k-button",I("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,P.jsx)(L,{className:"k-button-icon",icon:"chevron-left"})}),(0,P.jsx)("span",{className:l("k-toolbar-next","k-button",I("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,P.jsx)(L,{className:"k-button-icon",icon:"chevron-right"})})]}),(0,P.jsx)(Ge,{className:"k-toolbar-button-separator"}),(0,P.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h})]}),n&&p==="end"&&(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),(0,P.jsx)(Ge,{className:"k-toolbar-button-separator"}),(0,P.jsxs)(w,{children:[(0,P.jsx)("span",{className:l("k-toolbar-prev","k-button",I("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,P.jsx)(L,{className:"k-button-icon",icon:"chevron-left"})}),(0,P.jsx)("span",{className:l("k-toolbar-next","k-button",I("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,P.jsx)(L,{className:"k-button-icon",icon:"chevron-right"})})]})]}),n&&(p==="around"||!p)&&(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)("span",{className:l("k-toolbar-prev","k-button",I("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,P.jsx)(L,{className:"k-button-icon",icon:"chevron-left"})}),(0,P.jsx)(Ge,{className:"k-toolbar-button-separator"}),(0,P.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),(0,P.jsx)(Ge,{className:"k-toolbar-button-separator"}),(0,P.jsx)("span",{className:l("k-toolbar-next","k-button",I("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,P.jsx)(L,{className:"k-button-icon",icon:"chevron-right"})})]})]})};Y.states=Hx;Y.options=Fx;Y.className=io;Y.defaultOptions=Ux;Y.moduleName=Ao;Y.folderName=ga;var Cp=require("react/jsx-runtime"),zn="k-toolbar-item",Gx=[r.focus],$x={},Vx={},Vt=e=>{let{focus:t,...o}=e;return(0,Cp.jsx)("div",{...o,className:l(e.className,zn,T(zn,{focus:t})),children:e.children})};Vt.states=Gx;Vt.options=$x;Vt.className=zn;Vt.defaultOptions=Vx;Vt.moduleName=Ao;Vt.folderName=ga;var Dn=require("react/jsx-runtime"),Tp="k-toolbar-popup",Xx=[],Wx={size:[s.undefined,s.small,s.medium,s.large],fillMode:[b.undefined,b.solid,b.outline,b.flat]},Jx={},Bo=e=>{let{size:t,fillMode:o,section:a,...i}=e;return(0,Dn.jsx)(q,{...i,className:l(e.className,Tp),children:a?(0,Dn.jsx)("span",{className:l("k-toolbar-items-list",I("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};Bo.states=Xx;Bo.options=Wx;Bo.className=Tp;Bo.defaultOptions=Jx;Bo.moduleName=Ao;Bo.folderName=ga;var Yi=Bo;var qx=require("react/jsx-runtime");var Yx=require("react/jsx-runtime");var Zx=require("react/jsx-runtime");var Op=require("react/jsx-runtime");var Qx=require("react/jsx-runtime");var Mt=require("react/jsx-runtime"),jx=_.states,Ap={..._.defaultOptions,variant:"text"},eh=_.options,th=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],oh=[{name:"opened",title:"Opened"}],va=e=>{let{variant:t,modifiers:o,...a}={...Ap,...e},i={},n=(0,Mt.jsxs)(Fe,{size:a.size,children:[(0,Mt.jsx)(ae,{text:"Menu Item"}),(0,Mt.jsx)(ae,{text:"Menu Item"}),(0,Mt.jsx)(ae,{text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(p=>{p==="opened"&&(i.opened=!!(o!=null&&o[p]),i.popup=o!=null&&o[p]?n:"")}),t){case"icon-only":return(0,Mt.jsx)("div",{children:(0,Mt.jsx)(_,{...a,...i,icon:"star"})});case"icon-and-text":return(0,Mt.jsx)("div",{children:(0,Mt.jsx)(_,{...a,...i,icon:"star",children:"Split Button"})});default:return(0,Mt.jsx)("div",{children:(0,Mt.jsx)(_,{...a,...i,children:"Split Button"})})}};va.options=eh;va.states=jx;va.variants=th;va.defaultOptions=Ap;va.modifiers=oh;va.className=_.className;var Xt=require("react/jsx-runtime"),Bp=e=>(0,Xt.jsx)(Y,{children:[(0,Xt.jsx)(d,{children:"Button"},"toolbar-button"),(0,Xt.jsx)(Z,{text:"Menu button"},"toolbar-menu-button"),(0,Xt.jsx)(_,{children:"Split button"},"toolbar-split-button"),(0,Xt.jsxs)(w,{children:[(0,Xt.jsx)(d,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Xt.jsx)(d,{icon:"align-center",children:"Center"}),(0,Xt.jsx)(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});var Rp=require("react/jsx-runtime");var we=require("react/jsx-runtime"),Pp=e=>(0,we.jsx)(Y,{scrollable:!0,...e,children:[(0,we.jsx)(d,{children:"Button"},"toolbar-button"),(0,we.jsx)(Z,{text:"Menu button"},"toolbar-menu-button"),(0,we.jsx)(_,{children:"Split button"},"toolbar-split-button"),(0,we.jsxs)(w,{children:[(0,we.jsx)(d,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,we.jsx)(d,{icon:"align-center",children:"Center"}),(0,we.jsx)(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),(0,we.jsx)(d,{children:"Button"},"toolbar-button"),(0,we.jsx)(Z,{text:"Menu button"},"toolbar-menu-button"),(0,we.jsx)(_,{children:"Split button"},"toolbar-split-button"),(0,we.jsxs)(w,{children:[(0,we.jsx)(d,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,we.jsx)(d,{icon:"align-center",children:"Center"}),(0,we.jsx)(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});var Ke=require("react/jsx-runtime"),wp=({scrollingPosition:e="start",...t})=>(0,Ke.jsx)(Y,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[(0,Ke.jsx)(d,{children:"Button"},"toolbar-button"),(0,Ke.jsx)(Z,{text:"Menu button"},"toolbar-menu-button"),(0,Ke.jsx)(_,{children:"Split button"},"toolbar-split-button"),(0,Ke.jsxs)(w,{children:[(0,Ke.jsx)(d,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Ke.jsx)(d,{icon:"align-center",children:"Center"}),(0,Ke.jsx)(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),(0,Ke.jsx)(d,{children:"Button"},"toolbar-button"),(0,Ke.jsx)(Z,{text:"Menu button"},"toolbar-menu-button"),(0,Ke.jsx)(_,{children:"Split button"},"toolbar-split-button"),(0,Ke.jsxs)(w,{children:[(0,Ke.jsx)(d,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Ke.jsx)(d,{icon:"align-center",children:"Center"}),(0,Ke.jsx)(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});var ie=require("react/jsx-runtime"),Kp=({fillMode:e,size:t,...o})=>(0,ie.jsxs)(ie.Fragment,{children:[(0,ie.jsx)(Y,{section:!0,fillMode:e,size:t,children:[(0,ie.jsx)(d,{fillMode:e,size:t,children:"Button"},"toolbar-button"),(0,ie.jsxs)(w,{fillMode:e,children:[(0,ie.jsx)(d,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),(0,ie.jsx)(d,{icon:"align-center",fillMode:e,size:t,children:"Center"}),(0,ie.jsx)(d,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),(0,ie.jsx)(Ge,{className:"k-toolbar-button-separator"}),(0,ie.jsx)(d,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,"aria-label":"More options","aria-expanded":"false"})],...o}),(0,ie.jsxs)(Yi,{size:t,fillMode:e,section:!0,...o,children:[(0,ie.jsx)(_,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),(0,ie.jsx)(d,{fillMode:e,size:t,children:"Button"},"toolbar-button"),(0,ie.jsx)(Ge,{}),(0,ie.jsx)(Z,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),(0,ie.jsxs)(w,{fillMode:e,children:[(0,ie.jsx)(d,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),(0,ie.jsx)(d,{icon:"align-center",fillMode:e,size:t,children:"Center"}),(0,ie.jsx)(d,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});var _n=require("react/jsx-runtime");var Hn=require("react/jsx-runtime");var ro=require("react/jsx-runtime"),ah=Y.options,ih=Y.states,zp={...Y.defaultOptions,variant:"default"},rh=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],nh=[],La=e=>{let{variant:t,...o}={...zp,...e};switch(t){case"responsive":return(0,ro.jsx)("div",{children:(0,ro.jsx)(Kp,{style:{width:"583px"},...o})});case"overlay":return(0,ro.jsx)("div",{children:(0,ro.jsx)(wp,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return(0,ro.jsx)("div",{children:(0,ro.jsx)(Pp,{style:{width:"583px"},...o})});default:return(0,ro.jsx)("div",{children:(0,ro.jsx)(Bp,{style:{width:"583px"},...o})})}};La.options=ah;La.states=ih;La.variants=rh;La.defaultOptions=zp;La.modifiers=nh;La.className=Y.className;var Fn="autocomplete",Dp=Fn;var X=require("react/jsx-runtime"),_p="k-autocomplete",lh=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],sh={size:[s.undefined,s.small,s.medium,s.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Hp={separators:!0},dt=e=>{let{size:t,rounded:o,fillMode:a,separators:i=Hp.separators,prefix:n,suffix:p,value:m,placeholder:f,hover:x,focus:h,valid:N,invalid:c,required:k,loading:g,disabled:M,popup:y,opened:E,readonly:B,adaptive:G,adaptiveSettings:j,adaptiveTitle:re,adaptiveSubtitle:xe,adaptiveCustomValue:he,id:zt,autocomplete:Fa,activeDescendant:Ct,"aria-label":_o,...Ua}=e,Ga=zt?`${zt}-listbox`:void 0;return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(W,{...Ua,size:t,rounded:o,fillMode:a,hover:x,focus:h,valid:N,invalid:c,required:k,loading:g,disabled:M,readonly:B,className:l(e.className,_p),children:[n&&(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Me,{children:n}),i&&(0,X.jsx)(le,{})]}),(0,X.jsx)(ge,{placeholder:f,value:m,role:"combobox","aria-haspopup":"listbox","aria-expanded":E?"true":"false","aria-controls":E?Ga:void 0,"aria-activedescendant":E&&Ct?Ct:void 0,"aria-autocomplete":Fa,"aria-invalid":c?"true":void 0,"aria-busy":g?"true":void 0,"aria-label":_o,disabled:M,readOnly:B}),(0,X.jsx)(ne,{valid:N,invalid:c,loading:g,disabled:M}),(0,X.jsx)(de,{loading:g,disabled:M}),(0,X.jsx)(Ne,{loading:g,disabled:M,readonly:B,value:m}),p&&(0,X.jsxs)(X.Fragment,{children:[i&&(0,X.jsx)(le,{}),(0,X.jsx)(Ie,{children:p})]})]}),E&&y&&(0,X.jsx)(q,{className:"k-list-container k-autocomplete-popup",containerRole:"region",containerAriaLabel:"Autocomplete suggestions",children:y}),G&&(0,X.jsx)(ee,{adaptive:!0,...j,header:(0,X.jsx)(Ee,{actionsEnd:(0,X.jsx)(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:m,inputPlaceholder:f,title:re,subtitle:xe}),children:(0,X.jsx)("div",{className:"k-list-container",children:(0,X.jsx)(z,{customValue:he?(0,X.jsx)(Lt,{text:`Use "${m}"`}):void 0,size:"large",children:(0,X.jsxs)(D,{"aria-label":"Options",children:[(0,X.jsx)(A,{text:"List item"}),(0,X.jsx)(A,{text:"List item"}),(0,X.jsx)(A,{text:"List item"})]})})})})]})};dt.states=lh;dt.options=sh;dt.className=_p;dt.defaultOptions=Hp;dt.moduleName=Fn;dt.folderName=Dp;var Wt=dt;var Up=require("react/jsx-runtime"),Fp=e=>(0,Up.jsx)(Wt,{id:O("ac"),"aria-label":"Search",...e});var Gp=require("react/jsx-runtime");var dh=require("react/jsx-runtime");var $p=require("react/jsx-runtime");var Vp=require("react/jsx-runtime");var Xp=require("react/jsx-runtime");var Wp=require("react/jsx-runtime");var Jp=require("react/jsx-runtime");var ph=require("react/jsx-runtime");var Jt=require("react/jsx-runtime"),mh=H.states,ch=H.defaultOptions,uh=H.options,fh=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],bh=[],ka=e=>{let{modifiers:t,...o}=e,a={},i=(0,Jt.jsx)(z,{style:{width:300},size:o.size,children:(0,Jt.jsxs)(D,{children:[(0,Jt.jsx)(A,{children:"List item"}),(0,Jt.jsx)(A,{children:"List item"}),(0,Jt.jsx)(A,{children:"List item"})]})});return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t!=null&&t[n]?(0,Jt.jsx)(L,{icon:"search"}):void 0;break;case"suffix":a.suffix=t!=null&&t[n]?(0,Jt.jsx)(_t,{size:o.size,fillMode:"clear",children:"Search"}):void 0;break;case"opened":a.opened=!!(t!=null&&t[n]),a.popup=t!=null&&t[n]?i:void 0;break;default:break}}),(0,Jt.jsx)(Fp,{value:"Value",style:{width:300},...o,...a})};ka.options=uh;ka.states=mh;ka.variants=bh;ka.defaultOptions=ch;ka.modifiers=fh;ka.className=dt.className;var pt=require("react/jsx-runtime"),qp="k-imageeditor-toolbar",xh=[],hh={},Nh=[(0,pt.jsx)(d,{fillMode:"flat",icon:"image-add","aria-label":"Image Add"},"toolbar-button-1"),(0,pt.jsx)(Ge,{},"toolbar-separator-1"),(0,pt.jsx)(d,{fillMode:"flat",icon:"undo","aria-label":"Undo"},"toolbar-button-2"),(0,pt.jsx)(d,{fillMode:"flat",icon:"redo","aria-label":"Redo"},"toolbar-button-3"),(0,pt.jsx)(Ge,{},"toolbar-separator-2"),(0,pt.jsx)(d,{fillMode:"flat",icon:"download","aria-label":"Download"},"toolbar-button-4"),(0,pt.jsx)("div",{className:"k-spacer"},"toolbar-spacer"),(0,pt.jsx)(d,{fillMode:"flat",icon:"zoom-in","aria-label":"Zoom In"},"toolbar-button-5"),(0,pt.jsx)(Vt,{children:(0,pt.jsx)(dt,{fillMode:"flat",value:"Fit","aria-label":"Zoom options"})},"toolbar-item-1"),(0,pt.jsx)(d,{fillMode:"flat",icon:"zoom-out","aria-label":"Zoom Out"},"toolbar-button-6")],Yp={toolbarItems:Nh},Ma=e=>{let{toolbarItems:t=Yp.toolbarItems,...o}=e;return(0,pt.jsx)(Y,{...o,className:l(e.className,qp),fillMode:"flat",children:t})};Ma.states=xh;Ma.options=hh;Ma.className=qp;Ma.defaultOptions=Yp;var $e=require("react/jsx-runtime"),Un="k-imageeditor-sidebar",gh=[(0,$e.jsx)(d,{fillMode:"flat",icon:"image-resize","aria-label":"Resize"},"sidebar-button-1"),(0,$e.jsx)(d,{fillMode:"flat",icon:"crop","aria-label":"Crop"},"sidebar-button-2"),(0,$e.jsx)(d,{fillMode:"flat",icon:"rotate","aria-label":"Rotate"},"sidebar-button-3"),(0,$e.jsx)("div",{className:"k-separator"},"sidebar-separator-1"),(0,$e.jsx)(d,{fillMode:"flat",icon:"free-text","aria-label":"Text"},"sidebar-button-4"),(0,$e.jsx)(d,{fillMode:"flat",icon:"shapes","aria-label":"Shapes"},"sidebar-button-5"),(0,$e.jsx)("div",{className:"k-separator"},"sidebar-separator-2"),(0,$e.jsx)(d,{fillMode:"flat",icon:"drop-half-pixelated","aria-label":"Blur"},"sidebar-button-6"),(0,$e.jsx)(d,{fillMode:"flat",icon:"sliders-horizontal","aria-label":"Adjustments"},"sidebar-button-7"),(0,$e.jsx)(d,{fillMode:"flat",icon:"circles-three-intersecting","aria-label":"Filters"},"sidebar-button-8"),(0,$e.jsx)("div",{className:"k-separator"},"sidebar-separator-3"),(0,$e.jsx)(d,{fillMode:"flat",icon:"frame-corners","aria-label":"Frame"},"sidebar-button-9"),(0,$e.jsx)(d,{fillMode:"flat",icon:"circle-half-tilted","aria-label":"Shadow"},"sidebar-button-10")],Gn={sidebarItems:gh,scrollable:!1,scrollingPosition:"start"},Zp=e=>{let{sidebarItems:t=Gn.sidebarItems,scrollable:o=Gn.scrollable,scrollingPosition:a=Gn.scrollingPosition,...i}=e;return(0,$e.jsx)("div",{...i,className:l(e.className,Un,{[`${Un}-scrollable`]:o,[`${Un}-scrollable-${a}`]:o}),children:(0,$e.jsx)("div",{className:"k-imageeditor-sidebar-items",role:"toolbar","aria-label":"Tools",children:t??e.children})})};var ci="loader",Zi=ci;var It=require("react/jsx-runtime"),$n="k-loader",vh={pulsing:"pulsing-2","infinite-spinner":"spinner-3","converging-spinner":"spinner-4"},Lh=[],kh={size:[s.undefined,s.small,s.medium,s.large],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary]},Qp={animation:"pulsing"},ce=e=>{let{size:t,themeColor:o,animation:a=Qp.animation,...i}=e,n=(0,It.jsx)("span",{className:"k-loader-segment"});return(0,It.jsx)("div",{...i,className:l(e.className,$n,{[`k-loader-${vh[a]||a}`]:a},I($n,{size:t,themeColor:o})),role:"status","aria-label":i["aria-label"]||"Loading",children:(0,It.jsxs)("div",{className:"k-loader-canvas",children:[a==="pulsing"&&(0,It.jsxs)(It.Fragment,{children:[n,n]}),a==="infinite-spinner"&&(0,It.jsxs)(It.Fragment,{children:[n,n,n]}),a==="converging-spinner"&&(0,It.jsxs)(It.Fragment,{children:[n,n,n,n]})]})})};ce.states=Lh;ce.options=kh;ce.className=$n;ce.defaultOptions=Qp;ce.moduleName=ci;ce.folderName=Zi;var jp=ce;var Ro=require("react/jsx-runtime"),Vn="k-loader-container",Mh=[],Ih={size:[s.undefined,s.small,s.medium,s.large],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary]},Qi={loaderType:"pulsing",position:"top",panel:!1},Po=e=>{let{size:t,themeColor:o,loaderType:a=Qi.loaderType,position:i=Qi.position,panel:n=Qi.panel,...p}=e;return(0,Ro.jsxs)("div",{...p,className:l(e.className,Vn,I(Vn,{size:t}),{[`k-loader-${i}`]:i}),role:"status","aria-live":"polite","aria-label":p["aria-label"]||"Loading",children:[(0,Ro.jsx)(Ks,{className:"k-loader-container-overlay"}),(0,Ro.jsxs)("div",{className:l("k-loader-container-inner",{"k-loader-container-panel":n}),children:[(0,Ro.jsx)(jp,{size:t,themeColor:o,animation:a}),(0,Ro.jsx)("div",{className:"k-loader-container-label",children:"Loading..."})]})]})};Po.states=Mh;Po.options=Ih;Po.className=Vn;Po.defaultOptions=Qi;Po.moduleName=ci;Po.folderName=Zi;var Sh=require("react/jsx-runtime");var yh=require("react/jsx-runtime");var Eh=require("react/jsx-runtime");var Ch=require("react/jsx-runtime");var ji=require("react/jsx-runtime"),Th=ce.options,Oh=ce.states,Ah={...ce.defaultOptions,variant:"infinite-spinner"},Bh=[{name:"infinite-spinner",title:"Infinite"},{name:"pulsing",title:"Pulsing"},{name:"converging-spinner",title:"Converging"}],Rh=[],Ia=e=>{let{variant:t,...o}=e;switch(t){case"pulsing":return(0,ji.jsx)(ce,{animation:"pulsing",...o});case"converging-spinner":return(0,ji.jsx)(ce,{animation:"converging-spinner",...o});default:return(0,ji.jsx)(ce,{animation:"infinite-spinner",...o})}};Ia.options=Th;Ia.states=Oh;Ia.variants=Bh;Ia.defaultOptions=Ah;Ia.modifiers=Rh;Ia.className=ce.className;var em="image-editor",tm="imageeditor";var ue=require("react/jsx-runtime"),Xn="k-imageeditor",Ph=[],wh={},Kh={},se=e=>{let{toolbarItems:t,actionPane:o,sidebarItems:a,placeholder:i,contentHeight:n,exporting:p,adaptive:m,sidebarScrollable:f,sidebarScrollingPosition:x,children:h,...N}=e,c=(0,ue.jsx)("div",{className:"k-imageeditor-canvas-container",children:i??(0,ue.jsx)("div",{className:"k-imageeditor-canvas",children:h})}),k=o&&(0,ue.jsx)("div",{className:"k-imageeditor-action-pane",children:o}),g=(0,ue.jsx)(Zp,{sidebarItems:a,scrollable:f,scrollingPosition:x});return(0,ue.jsxs)("div",{...N,className:l(e.className,Xn,{[`${Xn}-adaptive`]:m}),children:[(0,ue.jsx)("div",{className:"k-imageeditor-header",children:(0,ue.jsx)(Ma,{toolbarItems:t})}),(0,ue.jsx)("div",{className:"k-imageeditor-content",style:{height:n},children:m?(0,ue.jsxs)(ue.Fragment,{children:[c,k,g]}):(0,ue.jsxs)(ue.Fragment,{children:[g,k,c]})}),p&&(0,ue.jsxs)("div",{className:"k-loader-container k-loader-top",role:"status","aria-live":"polite","aria-label":"Exporting",children:[(0,ue.jsx)(Tt,{className:"k-loader-container-overlay"}),(0,ue.jsxs)("div",{className:"k-loader-container-inner k-loader-container-panel",children:[(0,ue.jsx)(ce,{animation:"pulsing",themeColor:"base",size:"medium","aria-label":"Exporting"}),(0,ue.jsx)("div",{className:"k-loader-container-label",children:"Exporting"})]})]})]})};se.states=Ph;se.options=wh;se.className=Xn;se.defaultOptions=Kh;se.moduleName=em;se.folderName=tm;var Wn=require("react/jsx-runtime");var qt=require("react/jsx-runtime"),om="k-imageeditor-pane",zh=[],Dh={},_h={},ke=e=>{let{title:t,actions:o,adaptive:a,children:i,...n}=e;return(0,qt.jsxs)("div",{...n,className:l(e.className,om),children:[(0,qt.jsxs)("div",{className:"k-imageeditor-pane-header",children:[a&&(0,qt.jsx)(d,{fillMode:"flat",icon:"x","aria-label":"Close",title:"Close"}),(0,qt.jsx)("div",{className:"k-imageeditor-pane-title",children:t}),a?(0,qt.jsx)(d,{fillMode:"flat",icon:"check","aria-label":"Confirm",title:"Confirm"}):(0,qt.jsx)(d,{fillMode:"flat",icon:"x","aria-label":"Close",title:"Close"})]}),(0,qt.jsx)("div",{className:"k-imageeditor-pane-content",children:i}),!a&&o&&(0,qt.jsx)(ht,{alignment:"end",className:"k-imageeditor-pane-footer",children:o})]})};ke.states=zh;ke.options=Dh;ke.className=om;ke.moduleName=null;ke.folderName=null;ke.defaultOptions=_h;var am=require("react/jsx-runtime"),Jn="k-imageeditor-option-preview",Hh=[r.hover,r.focus,r.selected],Fh={},Uh={},Kt=e=>{let{label:t,hover:o,focus:a,selected:i,children:n,...p}=e;return(0,am.jsx)("div",{...p,className:l(e.className,Jn,T(Jn,{hover:o,focus:a,selected:i})),role:"button","aria-pressed":i?"true":"false",children:n??t})};Kt.states=Hh;Kt.options=Fh;Kt.className=Jn;Kt.moduleName=null;Kt.folderName=null;Kt.defaultOptions=Uh;var qn=require("react/jsx-runtime"),ui="k-imageeditor-option-list",er={scrollable:!1,scrollableStart:!1,scrollableEnd:!1},Sa=e=>{let{scrollable:t=er.scrollable,scrollableStart:o=er.scrollableStart,scrollableEnd:a=er.scrollableEnd,children:i,...n}=e;return(0,qn.jsx)("div",{...n,className:l(e.className,ui,{[`${ui}-scrollable`]:t,[`${ui}-scrollable-start`]:o,[`${ui}-scrollable-end`]:a}),children:(0,qn.jsx)("div",{className:"k-imageeditor-option-list-items",children:i})})};Sa.className=ui;Sa.moduleName=null;Sa.folderName=null;Sa.defaultOptions=er;var wo=require("react/jsx-runtime"),Gh={},ya=e=>{let{label:t,style:o,children:a}=e;return(0,wo.jsxs)(wo.Fragment,{children:[(0,wo.jsx)("span",{"aria-hidden":"true",style:{position:"relative",display:"block",width:"100%",height:"40px",borderRadius:"2px",backgroundImage:"url('/packages/html/assets/sofia.jpg')",backgroundSize:"cover",boxSizing:"border-box",...o},children:a}),t&&(0,wo.jsx)("span",{className:"k-imageeditor-preview-thumbnail-label",children:t})]})};ya.moduleName=null;ya.folderName=null;ya.defaultOptions=Gh;var tt=require("react/jsx-runtime"),im={variant:"crop"},xo=e=>{let{variant:t=im.variant,grid:o}=e,a=t==="crop"?"k-resize-handle":"k-scale-handle",i=t==="scale"?"k-scale-handle":"k-resize-handle";return(0,tt.jsxs)(tt.Fragment,{children:[o&&(0,tt.jsx)("div",{className:"k-imageeditor-crop-grid"}),(0,tt.jsx)("span",{className:`${a} k-resize-nw`}),(0,tt.jsx)("span",{className:`${a} k-resize-ne`}),(0,tt.jsx)("span",{className:`${a} k-resize-sw`}),(0,tt.jsx)("span",{className:`${a} k-resize-se`}),(0,tt.jsx)("span",{className:`${i} k-resize-n`}),(0,tt.jsx)("span",{className:`${i} k-resize-s`}),(0,tt.jsx)("span",{className:`${i} k-resize-w`}),(0,tt.jsx)("span",{className:`${i} k-resize-e`})]})};xo.moduleName=null;xo.folderName=null;xo.defaultOptions=im;var $h=require("react/jsx-runtime");var rm="form",nm="forms";var Yt=require("react/jsx-runtime"),tr="k-form",Vh=[],Xh={size:[s.undefined,s.small,s.medium,s.large]},Yn={layout:"basic",tag:"form"},U=e=>{let{size:t,orientation:o,layout:a=Yn.layout,formButtons:i,cols:n,gutters:p,tag:m=Yn.tag,children:f,style:x}=e,h=m,N=l(e.className,tr,I(tr,{size:t}),{[`${tr}-${o}`]:o}),c=(0,Yt.jsxs)(Yt.Fragment,{children:[a==="grid"?(0,Yt.jsx)("div",{className:l("k-form-layout","k-d-grid",{[`k-grid-cols-${n}`]:n}),style:{...typeof p=="string"&&{gap:p},...typeof p=="object"&&p.rows&&{rowGap:p.rows},...typeof p=="object"&&p.cols&&{columnGap:p.cols},...x},children:f}):(0,Yt.jsx)(Yt.Fragment,{children:f}),i&&(0,Yt.jsx)("div",{className:"k-form-buttons",children:i})]}),{role:k,"aria-labelledby":g,"aria-label":M,id:y}=e;return(0,Yt.jsx)(h,{className:N,role:k,"aria-labelledby":g,"aria-label":M,id:y,children:c})};U.states=Vh;U.options=Xh;U.className=tr;U.defaultOptions=Yn;U.moduleName=rm;U.folderName=nm;var lm="label",sm="label";var fi=require("react/jsx-runtime"),Zn="k-label",Wh=[r.disabled],Jh={},qh={},ho=e=>{let{disabled:t,optional:o,info:a,text:i,children:n,...p}=e;return(0,fi.jsxs)("label",{...p,className:l(e.className,Zn,T(Zn,{disabled:t})),children:[i||n,o&&(0,fi.jsx)("span",{className:"k-label-optional",children:"(Optional)"}),a&&(0,fi.jsx)("span",{className:"k-field-info",children:a})]})};ho.states=Wh;ho.options=Jh;ho.className=Zn;ho.defaultOptions=qh;ho.moduleName=lm;ho.folderName=sm;var pm=require("react/jsx-runtime"),dm="k-form-hint",Yh=[],Zh={},Qh={},St=e=>{let{text:t,children:o,...a}=e;return(0,pm.jsx)("div",{...a,className:l(e.className,dm),children:t||o})};St.states=Yh;St.options=Zh;St.className=dm;St.defaultOptions=Qh;var cm=require("react/jsx-runtime"),mm="k-form-error",jh=[],eN={},tN={},yt=e=>{let{text:t,children:o,...a}=e;return(0,cm.jsx)("div",{...a,className:l(e.className,mm),children:t||o})};yt.states=jh;yt.options=eN;yt.className=mm;yt.defaultOptions=tN;var No=require("react/jsx-runtime"),Qn="k-form-field",oN=[r.disabled],J=e=>{let{editorId:t,label:o,orientation:a,optional:i,editor:n,hint:p,error:m,info:f,disabled:x,dir:h,colSpan:N,...c}=e;return(0,No.jsxs)("div",{...c,className:l(Qn,e.className,T(Qn,{disabled:x}),{[`k-col-span-${N}`]:N}),dir:h,children:[o&&(0,No.jsx)(ho,{className:"k-form-label",id:t?`${t}-label`:void 0,htmlFor:t||void 0,optional:i,info:f?"(field info)":void 0,children:o}),a==="horizontal"&&!o&&(0,No.jsx)("span",{className:"k-label k-form-label k-label-empty"}),(0,No.jsxs)("div",{className:"k-form-field-wrap",children:[n,p&&(0,No.jsx)(St,{id:t?`${t}-hint`:void 0,children:p}),m&&(0,No.jsx)(yt,{id:t?`${t}-error`:void 0,children:m})]})]})};J.states=oN;J.className=Qn;var go=require("react/jsx-runtime"),um="k-form-fieldset",qe=e=>{let{legend:t,layout:o,cols:a,gutters:i,colSpan:n}=e;return(0,go.jsxs)("fieldset",{className:l(um,{[`k-col-span-${n}`]:n}),children:[t&&(0,go.jsx)("legend",{className:"k-form-legend",children:t}),o==="grid"?(0,go.jsx)("div",{className:l("k-form-layout","k-d-grid",{[`k-grid-cols-${a}`]:a}),style:{...typeof i=="string"&&{gap:i},...typeof i=="object"&&i.rows&&{rowGap:i.rows},...typeof i=="object"&&i.cols&&{columnGap:i.cols}},children:e.children}):(0,go.jsx)(go.Fragment,{children:e.children})]})};qe.className=um;var Ko="radio",Ea=Ko;var jn=require("react/jsx-runtime"),or="k-radio",aN=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked],iN={size:[s.undefined,s.small,s.medium,s.large]},rN={},mt=e=>{let{id:t,checked:o,hover:a,focus:i,disabled:n,invalid:p,valid:m,required:f,size:x,...h}=e;return(0,jn.jsx)("span",{className:"k-radio-wrap",children:(0,jn.jsx)("input",{...h,id:t,type:"radio",checked:o,required:f,disabled:n||void 0,"aria-invalid":p?"true":void 0,className:l(e.className,or,I(or,{size:x}),T(or,{hover:a,focus:i,disabled:n,invalid:p,valid:m,checked:o}))})})};mt.states=aN;mt.options=iN;mt.className=or;mt.defaultOptions=rN;mt.moduleName=Ko;mt.folderName=Ea;var Et=mt;var xm=require("react/jsx-runtime"),fm="k-radio-list",nN=[],lN={},bm={layout:"vertical"},fe=e=>{let{layout:t=bm.layout,...o}=e;return(0,xm.jsx)("ul",{...o,className:l(e.className,fm,{[`k-list-${t}`]:t}),role:"radiogroup",children:e.children})};fe.states=nN;fe.options=lN;fe.className=fm;fe.defaultOptions=bm;fe.moduleName=Ko;fe.folderName=Ea;var Nm=require("react/jsx-runtime"),hm="k-radio-list-item",sN=[],dN={},pN={},be=e=>{let{...t}=e;return(0,Nm.jsx)("li",{...t,className:l(e.className,hm),role:"none",children:e.children})};be.states=sN;be.options=dN;be.className=hm;be.defaultOptions=pN;be.moduleName=Ko;be.folderName=Ea;var mN=require("react/jsx-runtime");var zo=require("react/jsx-runtime"),ct=({children:e,id:t,...o})=>(0,zo.jsxs)(zo.Fragment,{children:[(0,zo.jsx)(Et,{...o,id:t}),(0,zo.jsx)("label",{className:"k-radio-label",htmlFor:t,children:e})]});var el=require("react/jsx-runtime");var tl=require("react/jsx-runtime");var ol=require("react/jsx-runtime");var al=require("react/jsx-runtime");var il=require("react/jsx-runtime");var uN=require("react/jsx-runtime");var gm=require("react/jsx-runtime"),fN=Et.options,bN=Et.states,xN=Et.defaultOptions,hN=[],NN=[],Ca=e=>(0,gm.jsx)(ct,{id:O("radio"),name:"value",...e,children:"Label"});Ca.options=fN;Ca.states=bN;Ca.variants=hN;Ca.defaultOptions=xN;Ca.modifiers=NN;Ca.className=Et.className;var Ve=require("react/jsx-runtime"),gN=fe.options,vN=fe.states,LN={...fe.defaultOptions,variant:"vertical"},kN=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],MN=[],Ta=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,Ve.jsxs)(fe,{layout:"horizontal",...o,children:[(0,Ve.jsx)(be,{children:(0,Ve.jsx)(ct,{id:O("rb"),name:"value",defaultChecked:!0,children:"Label"})}),(0,Ve.jsx)(be,{children:(0,Ve.jsx)(ct,{id:O("rb"),name:"value",children:"Label"})}),(0,Ve.jsx)(be,{children:(0,Ve.jsx)(ct,{id:O("rb"),name:"value",children:"Label"})})]}):(0,Ve.jsxs)(fe,{...o,children:[(0,Ve.jsx)(be,{children:(0,Ve.jsx)(ct,{id:O("rb"),name:"value",defaultChecked:!0,children:"Label"})}),(0,Ve.jsx)(be,{children:(0,Ve.jsx)(ct,{id:O("rb"),name:"value",children:"Label"})}),(0,Ve.jsx)(be,{children:(0,Ve.jsx)(ct,{id:O("rb"),name:"value",children:"Label"})})]})};Ta.options=gN;Ta.states=vN;Ta.variants=kN;Ta.defaultOptions=LN;Ta.modifiers=MN;Ta.className=fe.className;var rl=require("react/jsx-runtime");var nl=require("react/jsx-runtime");var ll=require("react/jsx-runtime");var vm="date-input",Lm="dateinput";var vo=require("react/jsx-runtime"),km="k-dateinput",IN=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],SN={size:[s.undefined,s.small,s.medium,s.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},yN={},ut=e=>{let{size:t,rounded:o,fillMode:a,value:i,placeholder:n,hover:p,focus:m,valid:f,invalid:x,required:h,loading:N,disabled:c,readonly:k,showClearButton:g,showSpinButton:M,id:y,"aria-label":E,"aria-describedby":B,...G}=e;return(0,vo.jsxs)(W,{...G,size:t,rounded:o,fillMode:a,hover:p,focus:m,valid:f,invalid:x,required:h,loading:N,disabled:c,readonly:k,className:l(e.className,km),children:[(0,vo.jsx)(ge,{id:y,placeholder:n,value:i,disabled:c,"aria-label":E,"aria-describedby":B,"aria-invalid":x?"true":void 0}),(0,vo.jsx)(ne,{valid:f,invalid:x,loading:N,disabled:c}),(0,vo.jsx)(de,{loading:N,disabled:c}),g&&(0,vo.jsx)(Ne,{loading:N,disabled:c,readonly:k,value:i}),M&&(0,vo.jsx)(Ft,{className:"k-input-spinner",size:t,fillMode:a,disabled:c})]})};ut.states=IN;ut.options=SN;ut.className=km;ut.defaultOptions=yN;ut.moduleName=vm;ut.folderName=Lm;var sl=ut;var Im=require("react/jsx-runtime"),Mm=e=>(0,Im.jsx)(sl,{...e});var EN=require("react/jsx-runtime");var Sm=require("react/jsx-runtime"),CN=ut.options,TN=ut.states,ON=ut.defaultOptions,AN=[{name:"spin-button",title:"`Spin` Button"}],BN=[],Oa=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{i==="spin-button"&&(a.showSpinButton=!!(t!=null&&t[i]))}),(0,Sm.jsx)(Mm,{value:"2/04/2021",style:{width:"300px"},...o,...a})};Oa.options=CN;Oa.states=TN;Oa.variants=BN;Oa.defaultOptions=ON;Oa.modifiers=AN;Oa.className=ut.className;var ym="masked-textbox",Em="maskedtextbox";var Xe=require("react/jsx-runtime"),Cm="k-maskedtextbox",RN=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],PN={size:[s.undefined,s.small,s.medium,s.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},dl={showClearButton:!0,separators:!0},ft=e=>{let{size:t,rounded:o,fillMode:a,separators:i=dl.separators,showClearButton:n=dl.showClearButton,prefix:p,suffix:m,value:f,placeholder:x,hover:h,focus:N,valid:c,invalid:k,required:g,loading:M,disabled:y,readonly:E,id:B,"aria-label":G,"aria-describedby":j,...re}=e;return(0,Xe.jsxs)(W,{...re,size:t,rounded:o,fillMode:a,hover:h,focus:N,valid:c,invalid:k,required:g,loading:M,disabled:y,readonly:E,className:l(e.className,Cm),children:[p&&(0,Xe.jsxs)(Xe.Fragment,{children:[(0,Xe.jsx)(Me,{children:p}),i&&(0,Xe.jsx)(le,{})]}),(0,Xe.jsx)(ge,{id:B,placeholder:x,value:f,disabled:y,"aria-label":G,"aria-describedby":j,"aria-invalid":k?"true":void 0}),(0,Xe.jsx)(ne,{valid:c,invalid:k,loading:M,disabled:y}),(0,Xe.jsx)(de,{loading:M,disabled:y}),n&&(0,Xe.jsx)(Ne,{loading:M,disabled:y,readonly:E,value:f}),m&&(0,Xe.jsxs)(Xe.Fragment,{children:[i&&(0,Xe.jsx)(le,{}),(0,Xe.jsx)(Ie,{children:m})]})]})};ft.states=RN;ft.options=PN;ft.className=Cm;ft.defaultOptions=dl;ft.moduleName=ym;ft.folderName=Em;var Aa=ft;var Om=require("react/jsx-runtime"),Tm=e=>(0,Om.jsx)(Aa,{...e});var Am=require("react/jsx-runtime");var Bm=require("react/jsx-runtime");var wN=require("react/jsx-runtime");var KN=require("react/jsx-runtime");var ar=require("react/jsx-runtime"),zN=ft.states,DN=ft.defaultOptions,_N=ft.options,HN=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],FN=[],Ba=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t!=null&&t[i]?(0,ar.jsx)(V,{size:o.size,value:"Choose",fillMode:"flat"}):void 0;break;case"suffix":a.suffix=t!=null&&t[i]?(0,ar.jsx)(L,{icon:"lock"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[i];break;default:break}}),(0,ar.jsx)(Tm,{value:"Value",style:{width:300},...o,...a})};Ba.options=_N;Ba.states=zN;Ba.variants=FN;Ba.defaultOptions=DN;Ba.modifiers=HN;Ba.className=ft.className;var pl="switch",Rm=pl;var ko=require("react/jsx-runtime"),Lo="k-switch",UN=[r.hover,r.focus,r.disabled,r.readonly,r.checked],GN={size:[s.undefined,s.small,s.medium,s.large],trackRounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],thumbRounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},$N={},ot=e=>{let{checked:t,onLabel:o,offLabel:a,size:i,trackRounded:n,thumbRounded:p,hover:m,focus:f,disabled:x,readonly:h,...N}=e;return(0,ko.jsxs)("span",{...N,className:l(e.className,Lo,I(Lo,{size:i}),T(Lo,{hover:m,focus:f,disabled:x,readonly:h}),{[`${Lo}-on`]:t,[`${Lo}-off`]:!t}),role:"switch","aria-checked":t?"true":"false",tabIndex:x?void 0:0,"aria-disabled":x?"true":void 0,"aria-readonly":h?"true":void 0,children:[(0,ko.jsxs)("span",{className:l("k-switch-track",I(Lo,{rounded:n})),children:[o&&(0,ko.jsx)("span",{className:"k-switch-label-on",children:o}),a&&(0,ko.jsx)("span",{className:"k-switch-label-off",children:a})]}),(0,ko.jsx)("span",{className:"k-switch-thumb-wrap",children:(0,ko.jsx)("span",{className:l("k-switch-thumb",I(Lo,{rounded:p}))})})]})};ot.states=UN;ot.options=GN;ot.className=Lo;ot.defaultOptions=$N;ot.moduleName=pl;ot.folderName=Rm;var VN=require("react/jsx-runtime");var XN=require("react/jsx-runtime");var WN=require("react/jsx-runtime");var JN=require("react/jsx-runtime");var cl=require("react/jsx-runtime"),qN=ot.options,YN=ot.states,ZN={...ot.defaultOptions,variant:"on"},QN=[{name:"on",title:"On"},{name:"off",title:"Off"}],jN=[],Ra=e=>{let{variant:t,...o}=e;return t==="off"?(0,cl.jsx)(ot,{checked:!1,onLabel:"On",offLabel:"Off",...o}):(0,cl.jsx)(ot,{checked:!0,onLabel:"On",offLabel:"Off",...o})};Ra.options=qN;Ra.states=YN;Ra.variants=QN;Ra.defaultOptions=ZN;Ra.modifiers=jN;Ra.className=ot.className;var ul="textarea",Pm=ul;var bt=require("react/jsx-runtime"),wm="k-textarea",eg=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled],tg={size:[s.undefined,s.small,s.medium,s.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Pa={flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},at=e=>{let{size:t,rounded:o,fillMode:a,prefixSeparator:i=Pa.prefixSeparator,suffixSeparator:n=Pa.prefixSeparator,affixesOrientation:p=Pa.affixesOrientation,flow:m=Pa.flow,resize:f=Pa.resize,prefix:x,suffix:h,rows:N,value:c,placeholder:k,hover:g,focus:M,valid:y,invalid:E,required:B,disabled:G,id:j,"aria-label":re,"aria-describedby":xe,...he}=e;return(0,bt.jsxs)(W,{...he,size:t,rounded:o,fillMode:a,hover:g,focus:M,valid:y,invalid:E,required:B,disabled:G,className:l(e.className,wm,{"!k-flex-col":m==="vertical","!k-flex-row":m==="horizontal"}),children:[x&&(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsx)(Me,{className:l({"!k-align-items-start":m===p}),direction:p,children:x}),i&&(0,bt.jsx)(le,{direction:m==="horizontal"?"vertical":"horizontal"})]}),(0,bt.jsx)(Qa,{className:l("!k-overflow-auto",{"!k-flex-none":m==="vertical","k-resize-x":f==="x","k-resize-y":f==="y","k-resize":f==="both","k-resize-none":f==="none"}),value:c,placeholder:k,rows:N,disabled:G,id:j,"aria-label":re,"aria-describedby":xe,"aria-invalid":E?"true":void 0}),h&&(0,bt.jsxs)(bt.Fragment,{children:[n&&(0,bt.jsx)(le,{direction:m==="horizontal"?"vertical":"horizontal"}),(0,bt.jsx)(Ie,{className:l({"!k-align-items-start":m===p}),direction:p,children:h})]})]})};at.states=eg;at.options=tg;at.className=wm;at.defaultOptions=Pa;at.moduleName=ul;at.folderName=Pm;var og=require("react/jsx-runtime");var Km=require("react/jsx-runtime");var zm=require("react/jsx-runtime");var ag=require("react/jsx-runtime");var bi=require("react/jsx-runtime"),ig=at.options,rg=at.states,Dm={...at.defaultOptions,variant:"vertical"},ng=[{name:"vertical",title:"Flow vertical"},{name:"horizontal",title:"Flow horizontal"}],lg=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"}],wa=e=>{let{variant:t,modifiers:o,...a}={...Dm,...e},i={resize:"y"};return Object.keys(o||{}).forEach(n=>{switch(n){case"prefix":i.prefix=o!=null&&o[n]?(0,bi.jsx)(L,{icon:"comment"}):void 0;break;case"suffix":i.suffix=o!=null&&o[n]?(0,bi.jsx)(L,{icon:"volume-up"}):void 0;break;default:break}}),t==="horizontal"?(0,bi.jsx)(at,{flow:"horizontal",placeholder:"Enter text...",style:{width:300},...a,...i}):(0,bi.jsx)(at,{flow:"vertical",placeholder:"Enter text...",style:{width:300},...a,...i})};wa.options=ig;wa.states=rg;wa.variants=ng;wa.defaultOptions=Dm;wa.modifiers=lg;wa.className=at.className;var bl=require("react/jsx-runtime");var Q=require("react/jsx-runtime"),sg=U.options,dg=U.states,pg={...U.defaultOptions,variant:"vertical"},mg=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],cg=[],Ka=e=>{let{variant:t,size:o,...a}=e,i=(0,Q.jsxs)(qe,{legend:"Form Legend",children:[(0,Q.jsx)(J,{label:"Label",editor:(0,Q.jsx)(H,{size:o})}),(0,Q.jsx)(J,{label:"Label",hint:"Hint text",editor:(0,Q.jsx)(V,{value:"Dropdown List",size:o})}),(0,Q.jsx)(J,{label:"City",editor:(0,Q.jsxs)("ul",{className:"k-radio-list k-list-horizontal",children:[(0,Q.jsxs)("li",{className:"k-radio-list-item",children:[(0,Q.jsx)(mt,{checked:!0,size:o}),(0,Q.jsx)("label",{className:"k-radio-label",children:"Label"})]}),(0,Q.jsxs)("li",{className:"k-radio-list-item",children:[(0,Q.jsx)(mt,{size:o}),(0,Q.jsx)("label",{className:"k-radio-label",children:"Label"})]}),(0,Q.jsxs)("li",{className:"k-radio-list-item",children:[(0,Q.jsx)(mt,{size:o}),(0,Q.jsx)("label",{className:"k-radio-label",children:"Label"})]})]})})]}),n=(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(d,{className:"k-form-submit",themeColor:"primary",size:o,children:"Submit"}),(0,Q.jsx)(d,{className:"k-form-clear",size:o,children:"Clear"})]});return t==="horizontal"?(0,Q.jsx)(U,{orientation:"horizontal",size:o,...a,formButtons:n,children:i}):(0,Q.jsx)(U,{size:o,...a,formButtons:n,children:i})};Ka.options=sg;Ka.states=dg;Ka.variants=mg;Ka.defaultOptions=pg;Ka.modifiers=cg;Ka.className=U.className;var xi=require("react/jsx-runtime"),ug=St.options,fg=St.states,_m={...St.defaultOptions},bg=[],xg=[{name:"showHint",title:"Show Hint"}],za=e=>{let{modifiers:t,...o}={..._m,...e},a=(t==null?void 0:t.showHint)??!0;return(0,xi.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[(0,xi.jsx)(H,{placeholder:"Component",style:{width:"200px"}}),a&&(0,xi.jsx)(St,{...o,children:"Hint text"})]})};za.options=ug;za.states=fg;za.variants=bg;za.defaultOptions=_m;za.modifiers=xg;za.className=St.className;var hi=require("react/jsx-runtime"),hg=yt.options,Ng=yt.states,Hm={...yt.defaultOptions},gg=[],vg=[{name:"showError",title:"Show Error"}],Da=e=>{let{modifiers:t,...o}={...Hm,...e},a=(t==null?void 0:t.showError)??!0;return(0,hi.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[(0,hi.jsx)(H,{placeholder:"Component",invalid:a,style:{width:"200px"}}),a&&(0,hi.jsx)(yt,{...o,children:"Error text"})]})};Da.options=hg;Da.states=Ng;Da.variants=gg;Da.defaultOptions=Hm;Da.modifiers=vg;Da.className=yt.className;var xl="tooltip",Fm=xl;var no=require("react/jsx-runtime"),hl="k-tooltip",Lg=[],kg={themeColor:[v.undefined,v.base,v.inverse,v.info,v.success,v.warning,v.error]},Um={closable:!1},it=e=>{let{closable:t=Um.closable,callout:o,themeColor:a,title:i,content:n,icon:p,id:m=O("tooltip"),...f}=e;return(0,no.jsxs)("div",{...f,className:l(e.className,hl,I(hl,{themeColor:a}),{"k-tooltip-closable":t}),role:"tooltip",id:m,children:[p&&(0,no.jsx)(L,{className:"k-tooltip-icon",icon:p}),(0,no.jsxs)("div",{className:"k-tooltip-content",children:[i&&(0,no.jsx)("div",{className:"k-tooltip-title",children:i}),n]}),t&&(0,no.jsx)("div",{className:"k-tooltip-button",role:"button","aria-label":"Close",tabIndex:0,children:(0,no.jsx)(L,{icon:"x"})}),o&&(0,no.jsx)("div",{className:l("k-callout",{[`k-callout-${Vl.calloutMap[o]||o}`]:o})})]})};it.states=Lg;it.options=kg;it.className=hl;it.defaultOptions=Um;it.moduleName=xl;it.folderName=Fm;var Nl=it;var $m=require("react/jsx-runtime"),Gm=e=>(0,$m.jsx)(Nl,{content:"Tooltip Content",...e});var Mg=require("react/jsx-runtime");var _a=require("react/jsx-runtime"),Ig={...it.options,closable:{type:"boolean"},callout:["none","top","bottom","left","right"]},Sg=it.states,Vm={...it.defaultOptions,callout:"top"},yg=[],Ha=e=>{let{callout:t="top",...o}={...Vm,...e},a={none:{top:"-33px",left:"-17px",calloutDirection:null},right:{top:"2px",left:"61px",calloutDirection:"left"},left:{top:"2px",left:"-94px",calloutDirection:"right"},bottom:{top:"38px",left:"-17px",calloutDirection:"top"},top:{top:"-33px",left:"-17px",calloutDirection:"bottom"}},{top:i,left:n,calloutDirection:p}=a[t]||{};return(0,_a.jsxs)("div",{style:{position:"absolute"},children:[(0,_a.jsx)(xt,{style:{top:i,left:n},children:(0,_a.jsx)(Gm,{style:{width:"86px",textAlign:"center"},callout:p,content:"Content",...o})}),(0,_a.jsx)(d,{text:"Show"})]})};Ha.options=Ig;Ha.states=Sg;Ha.variants=yg;Ha.defaultOptions=Vm;Ha.modifiers=[];Ha.className=it.className;var gl=require("react/jsx-runtime");var vl=require("react/jsx-runtime");var Ll=require("react/jsx-runtime");var Eg=require("react/jsx-runtime");var kl="floating-toolbar",Xm=kl;var Do=require("react/jsx-runtime"),Ml="k-floating-toolbar",Cg="k-floating-toolbar-drag-handle",Tg=[],Og={size:[s.undefined,s.small,s.medium,s.large],fillMode:[b.undefined,b.solid,b.outline,b.flat]},Ag={scrollButtons:"around"},lo=e=>{let{size:t,fillMode:o,resizable:a,scrollable:i,scrollButtons:n,scrollingPosition:p,section:m,draggable:f,dragHandleAriaLabel:x="Drag to reposition",...h}=e,N=f?[(0,Do.jsx)("div",{className:Cg,role:"button",tabIndex:0,"aria-label":x,children:(0,Do.jsx)(L,{icon:"handle-drag-dots"})},"drag-handle"),(0,Do.jsx)("div",{className:l("k-separator","k-separator-vertical")},"drag-handle-separator")]:[];return(0,Do.jsxs)(q,{...h,className:l(e.className,Ml,I(Ml,{size:t,fillMode:o})),children:[N,(0,Do.jsx)(Y,{size:t,fillMode:o,resizable:a,scrollable:i,scrollButtons:n,scrollingPosition:p,section:m,children:e.children})]})};lo.states=Tg;lo.options=Og;lo.className=Ml;lo.defaultOptions=Ag;lo.moduleName=kl;lo.folderName=Xm;var Il=require("react/jsx-runtime");var Sl="segmented-control",Wm=Sl,Jm="segmented-control-button",qm="segmented-control";var rr=require("react/jsx-runtime"),ir="k-segmented-control",Bg=[],Rg={size:[s.undefined,s.small,s.medium,s.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},so=e=>{let{size:t,rounded:o,stretched:a,children:i,thumbStyles:n,...p}=e;return(0,rr.jsxs)("div",{...p,className:l(e.className,ir,I(ir,{size:t,rounded:o}),{[`${ir}-stretched`]:a}),role:"group",children:[(0,rr.jsx)("div",{className:"k-segmented-control-thumb","aria-hidden":"true",style:n}),i]})};so.states=Bg;so.options=Rg;so.className=ir;so.moduleName=Sl;so.folderName=Wm;var Ni=require("react/jsx-runtime"),yl="k-segmented-control-button",Pg=[r.selected,r.hover,r.focus,r.disabled],wg={},Kg={},Zt=e=>{let{hover:t,focus:o,selected:a,disabled:i,icon:n,text:p,iconClassName:m,...f}=e;return(0,Ni.jsxs)("button",{...f,className:l(e.className,yl,T(yl,{hover:t,focus:o,disabled:i,selected:a})),"aria-pressed":a?"true":"false","aria-disabled":i?"true":void 0,tabIndex:a?0:-1,children:[n&&(0,Ni.jsx)(L,{className:l(m,"k-segmented-control-button-icon"),icon:n}),(p||e.children)&&(0,Ni.jsx)("span",{className:"k-segmented-control-button-text",children:p||e.children})]})};Zt.states=Pg;Zt.options=wg;Zt.className=yl;Zt.defaultOptions=Kg;Zt.moduleName=Jm;Zt.folderName=qm;var El=require("react/jsx-runtime");var Cl=require("react/jsx-runtime");var Tl=require("react/jsx-runtime");var Ol=require("react/jsx-runtime");var Al=require("react/jsx-runtime");var Bl=require("react/jsx-runtime");var Rl=require("react/jsx-runtime");var Pl=require("react/jsx-runtime");var wl=require("react/jsx-runtime");var Kl=require("react/jsx-runtime");var zl=require("react/jsx-runtime");var Dl=require("react/jsx-runtime");var C=require("react/jsx-runtime"),zg=[(0,C.jsx)(d,{fillMode:"flat",icon:"image-resize","aria-label":"Resize"},"sidebar-button-1"),(0,C.jsx)(d,{fillMode:"flat",icon:"crop","aria-label":"Crop"},"sidebar-button-2"),(0,C.jsx)(d,{fillMode:"flat",icon:"rotate","aria-label":"Rotate"},"sidebar-button-3"),(0,C.jsx)("div",{className:"k-separator"},"sidebar-separator-1"),(0,C.jsx)(d,{fillMode:"flat",icon:"free-text","aria-label":"Text"},"sidebar-button-4"),(0,C.jsx)(d,{fillMode:"flat",icon:"shapes","aria-label":"Shapes"},"sidebar-button-5"),(0,C.jsx)("div",{className:"k-separator"},"sidebar-separator-2"),(0,C.jsx)(d,{fillMode:"flat",icon:"drop-half-pixelated","aria-label":"Blur"},"sidebar-button-6"),(0,C.jsx)(d,{fillMode:"flat",icon:"sliders-horizontal","aria-label":"Adjustments"},"sidebar-button-7"),(0,C.jsx)(d,{fillMode:"flat",icon:"circles-three-intersecting","aria-label":"Filters"},"sidebar-button-8"),(0,C.jsx)("div",{className:"k-separator"},"sidebar-separator-3"),(0,C.jsx)(d,{fillMode:"flat",icon:"frame-corners",selected:!0,"aria-label":"Frame"},"sidebar-button-9"),(0,C.jsx)(d,{fillMode:"flat",icon:"circle-half-tilted","aria-label":"Shadow"},"sidebar-button-10")],_l=({id:e,label:t,value:o})=>(0,C.jsx)(J,{label:t,editorId:e,editor:(0,C.jsxs)("div",{className:"k-imageeditor-field-row",children:[(0,C.jsx)($,{style:{flex:1,"--kendo-slider-start":0,"--kendo-slider-end":o},"aria-label":t,showButtons:!1,showTicks:!1,value:o,min:0,max:100}),(0,C.jsx)(K,{id:e,style:{width:"80px",flex:"none"},showClearButton:!1,showSpinButton:!1,value:String(o)})]})}),Dg={none:{},single:{border:"3px dashed #b0e855",borderRadius:"4px"},multiple:{border:"3px dashed #b0e855",borderRadius:"4px"}},Hl=({styleKey:e,label:t,selected:o})=>(0,C.jsx)(Kt,{selected:o,"aria-label":t,children:(0,C.jsx)(ya,{label:t,style:Dg[e],children:e==="multiple"&&(0,C.jsx)("span",{style:{position:"absolute",inset:"6px",border:"3px dashed #b0e855",borderRadius:"1px",boxSizing:"border-box",pointerEvents:"none"}})})}),_g=({style:e="single",imageRoundness:t=24,framesAmount:o=3,frameThickness:a=12,frameRoundness:i=e==="multiple"?40:16,offset:n=12,strokeColor:p="#b0e855",...m})=>(0,C.jsx)(se,{sidebarItems:zg,actionPane:(0,C.jsx)(ke,{title:"Frame",actions:(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(d,{children:"Reset"}),(0,C.jsx)(d,{themeColor:"primary",children:"Apply"})]}),children:(0,C.jsxs)(U,{tag:"div",children:[(0,C.jsx)(J,{label:"Frame Style",editor:(0,C.jsxs)("div",{className:"k-imageeditor-option-grid",children:[(0,C.jsx)(Hl,{styleKey:"none",label:"None",selected:e==="none"}),(0,C.jsx)(Hl,{styleKey:"single",label:"Single",selected:e==="single"}),(0,C.jsx)(Hl,{styleKey:"multiple",label:"Multiple",selected:e==="multiple"})]})}),(0,C.jsx)(_l,{id:"frame-image-roundness",label:"Image Roundness",value:t}),e==="multiple"&&(0,C.jsx)(J,{label:"Frames Amount",editorId:"frame-frames-amount",editor:(0,C.jsx)(K,{id:"frame-frames-amount",showClearButton:!1,value:String(o)})}),e!=="none"&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(_l,{id:"frame-thickness",label:"Frame Thickness",value:a}),(0,C.jsx)(_l,{id:"frame-roundness",label:"Frame Roundness",value:i}),(0,C.jsxs)(qe,{layout:"grid",cols:2,gutters:{cols:"16px"},children:[(0,C.jsx)(J,{label:"Stroke Type",editor:(0,C.jsx)(V,{id:"frame-stroke-type",value:"Dashed",prefix:(0,C.jsx)(L,{icon:"border-style"}),"aria-label":"Stroke Type"})}),(0,C.jsx)(J,{label:"Offset",editorId:"frame-offset",editor:(0,C.jsx)(K,{id:"frame-offset",showSpinButton:!1,value:String(n),prefix:(0,C.jsx)(L,{icon:"max-width"})})})]}),(0,C.jsx)(J,{label:"Stroke Color",editor:(0,C.jsx)(ye,{id:"frame-stroke-color",value:p,"aria-label":"Stroke Color"})})]})]})}),children:e==="none"?(0,C.jsx)("canvas",{width:"494",height:"307",role:"img","aria-label":"Image being edited",style:{backgroundImage:"url('/packages/html/assets/sofia.jpg')",backgroundSize:"cover",borderRadius:`${t}px`}}):(0,C.jsxs)("div",{style:{position:"relative",width:"494px",height:"307px"},children:[(0,C.jsx)("canvas",{width:"494",height:"307",role:"img","aria-label":"Image being edited",style:{position:"absolute",top:"0px",left:"0px",backgroundImage:"url('/packages/html/assets/sofia.jpg')",backgroundSize:"cover",borderRadius:`${t}px`}}),(0,C.jsx)("div",{style:{position:"absolute",top:"0px",left:"0px",width:"494px",height:"307px",border:`${a}px dashed ${p}`,borderRadius:`${i}px`,boxSizing:"border-box",pointerEvents:"none"}}),e==="multiple"&&(0,C.jsx)("div",{style:{position:"absolute",top:`${0+a+n}px`,left:`${0+a+n}px`,width:`${494-(a+n)*2}px`,height:`${307-(a+n)*2}px`,border:`${a}px dashed ${p}`,borderRadius:`${Math.max(i-a-n,0)}px`,boxSizing:"border-box",pointerEvents:"none"}})]}),...m});
|