@progress/kendo-react-common 8.3.0-develop.3 → 8.3.0-develop.5

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.
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("@progress/kendo-licensing"),require("react-dom"),require("prop-types"),require("@progress/kendo-draggable-common")):"function"==typeof define&&define.amd?define(["exports","react","@progress/kendo-licensing","react-dom","prop-types","@progress/kendo-draggable-common"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).KendoReactCommon={},e.React,e.KendoLicensing,e.ReactDOM,e.PropTypes,e.KendoDraggableCommon)}(this,(function(e,t,n,r,o,s){"use strict";function l(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var i=l(t),a=l(r);const c="",u="_";function d(e){return g(e)?e:e.split(u)[0]}function f(e){if(g(e))return e;{const t=e.indexOf(u);return e.substring(t+1)}}function h(e,t){return e=e.toString(),t?t+u+e:e}function m(e){const t=e.lastIndexOf(u);return t<0?c:e.substring(0,t)}function g(e){return e===c||e.indexOf(u)<0}function v(e){return e!==c&&e.indexOf(u)<0}function p(e){return e.split(u)}function b(e){const t=e.lastIndexOf(u);return t<0?e:e.substring(t+1)}var C=Object.freeze({__proto__:null,EMPTY_ID:c,SEPARATOR:u,ZERO_LEVEL_ZERO_NODE_ID:"0",createId:h,getAllShortIds:p,getDecrementedItemIdAfterRemoval:function(e,t){const n=t;t="r"+u+t;const r=m(e="r"+u+e)+u;if(t.startsWith(r)){const n=t.substring(r.length);if(n){const t=d(n);if(Number(b(e))<Number(t)){return f(r+(Number(t)-1).toString()+n.substring(t.length))}}}return n},getDirectParentId:m,getFirstChildId:function(e){return h("0",e)},getIdWithoutRootParentId:f,getItemById:function e(t,n,r){if(v(t))return n[Number(t)];{const o=n[Number(d(t))],s=o&&o[r]||[];return s.length?e(f(t),s,r):void 0}},getRootParentId:d,getShortId:b,isIdEmptyOrZeroLevel:g,isIdZeroLevel:v,isItemFirstFromSiblings:function(e){return"0"===b(e)}});const E=i.createContext(0);E.displayName="KendoReactZIndexContext";let x=class{constructor(){this.scrollbar=0}get scrollbarWidth(){const e="undefined"!=typeof document?document:{};if(!this.scrollbar&&e&&e.createElement){const t=e.createElement("div");t.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",t.innerHTML="&nbsp;",e.body.appendChild(t),this.scrollbar=t.offsetWidth-t.scrollWidth,e.body.removeChild(t)}return this.scrollbar}};const y=!("undefined"==typeof window||!window.document||!window.document.createElement),k=(...e)=>{const t={},n=e=>e.filter((e=>!0!==e&&!!e)).map((e=>Array.isArray(e)?n(e):(e=>"object"==typeof e?Object.keys(e).forEach((n=>{t[n]=e[n]})):t[e]=!0)(e)));return n(e),Object.keys(t).map((e=>t[e]&&e||null)).filter((e=>null!==e)).join(" ")},A=e=>e?new Date(e.getTime()):null;function I(e,t){for(let n in e)if(e.hasOwnProperty(n)){const r=e[n];t[n]=w(r,t[n])}}function w(e,t){if(Array.isArray(e))return D(e);if(e instanceof Date)return A(e);if(i.isValidElement(e))return i.cloneElement(e,e.props);if(e&&"object"==typeof e){const n=t||{};return I(e,n),n}return e}function D(e){return e.map((e=>w(e,void 0)))}const P={backspace:8,tab:9,enter:13,shift:16,esc:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,delete:46},O=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g,L=":not(.k-dropdownlist button):not(.k-colorpicker button):not(.k-numerictextbox button):not(.k-split-button .k-split-button-arrow)",R=":not(.k-dropdownlist select)",F=["input:not([disabled]):not([type=hidden])","select:not([disabled]):not(.k-dropdownlist select)","textarea:not([disabled])",`button:not([disabled])${L}`,"a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],M=[...F,`[tabindex]${L}${R}`],S=[...F,`[tabindex]${L}${R}`].map((e=>e+':not([tabindex="-1"])')),T=(e,t=M)=>e.querySelectorAll(t.join(",")),B=(e,t=M)=>{if(e){const n=T(e,t);if(n.length&&n[0].focus)return n[0]}},N=(e,t=M)=>{if(e){const n=T(e,t);if(n.length&&n[n.length-1].focus)return n[n.length-1]}},H=(e,t)=>{if(e){const n=B(e,t);n&&n.focus()}},j=(e,t,n)=>{if(t&&e.keyCode===P.tab&&t){const r=B(t,n),o=N(t,n);r&&o&&!e.shiftKey&&e.target===o&&(e.preventDefault(),r.focus()),r&&o&&e.shiftKey&&e.target===r&&(e.preventDefault(),o.focus()),r||e.preventDefault()}};function Q(e){const t=[];return e.replace(O,(function(e,n,r,o){t.push(void 0!==n?n:r||o)})),t}const z={};z.undefined=()=>{};const X=()=>{let e,t,n="";for(e=0;e<32;e++)t=16*Math.random()|0,(8===e||12===e||16===e||20===e)&&(n+="-"),n+=(12===e?4:16===e?3&t|8:t).toString(16);return n},Y=function(){},J={undefined:e=>e},G=(e,t)=>t&&t.arrays&&!isNaN(Number(e))?[]:{};function U(e,t,n){return n?{...e,[t]:n.length?[...n]:void 0}:e&&e[t]?[...e[t]]:[]}function q(e,t,n){if(e[t]){let r=U(e,t).map((e=>q(e,t,n)));return n(U(e,t,r))}return n(e)}const K=["telerik.com","progress.com","stackblitz.io","csb.app"],V=n.validatePackage;let Z=!1;function W({onFocus:e,onBlur:t,onSyncFocus:n,onSyncBlur:r}){const o=i.useRef(!1),s=i.useRef(0),l=i.useCallback((e=>{clearTimeout(s.current),s.current=window.setTimeout((()=>e()))}),[s]),a=i.useCallback(((...t)=>{clearTimeout(s.current),n&&n.call(void 0,t[0]),!o.current&&(o.current=!0,e&&e.call(void 0,...t))}),[o,e,n]),c=i.useCallback(((...e)=>{r&&r.call(void 0,e[0]),l((()=>{o.current&&t&&(o.current=!1,t.call(void 0,...e))}))}),[o,l,t,r]);return i.useEffect((()=>()=>{clearTimeout(s.current)}),[]),{onFocus:a,onBlur:c}}const _=(e,t)=>i.useContext(e)(t),$="undefined"!=typeof window?i.useLayoutEffect:i.useEffect;function ee(e){const[t,n]=i.useState(!1);i.useEffect((()=>{n(!0)}),[]);const[r,o]=i.useState((()=>e||(t?X():void 0)));$((()=>{void 0===r&&o(X())}),[]);const s=i[`useId${X()}`.slice(0,5)];if(void 0!==s){const t=s();return null!=e?e:t}return r}const te=(e,t,n={})=>{const r=i.useCallback((r=>{n.onMouseDown&&n.onMouseDown.call(void 0,r),e.onMouseDown&&e.onMouseDown.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseDown,e.onMouseDown,t]),o=i.useCallback((r=>{n.onMouseUp&&n.onMouseUp.call(void 0,r),e.onMouseUp&&e.onMouseUp.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseUp,e.onMouseUp,t]),s=i.useCallback((r=>{n.onClick&&n.onClick.call(void 0,r),e.onClick&&e.onClick.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onClick,e.onClick,t]),l=i.useCallback((r=>{n.onDoubleClick&&n.onDoubleClick.call(void 0,r),e.onDoubleClick&&e.onDoubleClick.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onDoubleClick,e.onDoubleClick,t]),a=i.useCallback((r=>{n.onMouseEnter&&n.onMouseEnter.call(void 0,r),e.onMouseEnter&&e.onMouseEnter.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseEnter,e.onMouseEnter,t]),c=i.useCallback((r=>{n.onMouseLeave&&n.onMouseLeave.call(void 0,r),e.onMouseLeave&&e.onMouseLeave.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseLeave,e.onMouseLeave,t]),u=i.useCallback((r=>{n.onMouseMove&&n.onMouseMove.call(void 0,r),e.onMouseMove&&e.onMouseMove.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseMove,e.onMouseMove,t]),d=i.useCallback((r=>{n.onMouseOut&&n.onMouseOut.call(void 0,r),e.onMouseOut&&e.onMouseOut.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseOut,e.onMouseOut,t]),f=i.useCallback((r=>{n.onMouseOver&&n.onMouseOver.call(void 0,r),e.onMouseOver&&e.onMouseOver.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseOver,e.onMouseOver,t]);return{onClick:s,onMouseUp:o,onMouseDown:r,onDoubleClick:l,onMouseEnter:a,onMouseLeave:c,onMouseMove:u,onMouseOut:d,onMouseOver:f}},ne=()=>null,re=({children:e})=>e;var oe=(e=>(e[e.add=0]="add",e[e.remove=1]="remove",e))(oe||{});const se=(e=[])=>{const t=i.useRef(e),n=i.useCallback((e=>{switch(e.type){case 0:t.current.push(e.item);break;case 1:{const n=t.current.indexOf(e.item);t.current.splice(n,1);break}}}),[]);return[t.current,n]},le=e=>{const t=i.useCallback((()=>e.current&&e.current.element?e.current.element:e.current),[e]);return i.useCallback((()=>{const e=t();return e&&e.ownerDocument||document}),[t])},ie={default:"",xsmall:"k-icon-xs",small:"k-icon-sm",medium:"k-icon-md",large:"k-icon-lg",xlarge:"k-icon-xl",xxlarge:"k-icon-xxl",xxxlarge:"k-icon-xxxl"},ae=e=>"k-i-"+e,ce=o.shape({name:o.string.isRequired,content:o.string.isRequired,viewBox:o.string.isRequired}),ue=i.forwardRef(((e,t)=>{const{className:n,name:r,themeColor:o,size:s,flip:l,style:a,id:c,tabIndex:u,...d}=e,f=i.useRef(null),h=i.useRef(null);i.useImperativeHandle(f,(()=>({element:h.current}))),i.useImperativeHandle(t,(()=>f.current));const m=i.useMemo((()=>s||de.size),[s]),g=i.useMemo((()=>l||de.flip),[l]),v=i.useMemo((()=>k("k-icon","k-font-icon",r&&ae(r),{[`k-color-${o}`]:o,"k-flip-h":"horizontal"===g||"both"===g,"k-flip-v":"vertical"===g||"both"===g},ie[m],n)),[r,o,m,g,n]),p=te(e,f);return i.createElement("span",{ref:h,...d,...p,className:v,id:c,tabIndex:u,style:a,role:"presentation"})}));ue.propTypes={style:o.object,classNames:o.string,name:o.string,themeColor:o.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:o.oneOf(["default","xsmall","small","medium","large","xlarge","xxlarge","xxxlarge"]),flip:o.oneOf(["default","horizontal","vertical","both"])};const de={size:"default",flip:"default"};ue.displayName="KendoIcon";const fe=i.forwardRef(((e,t)=>{const{children:n,className:r,svgClassName:o,icon:s,flip:l,id:a,tabIndex:c,size:u,style:d,svgStyle:f,themeColor:h,viewBox:m,name:g,onClick:v,...p}=e,b=i.useRef(null);i.useImperativeHandle(t,(()=>({element:b.current})));const C=i.useMemo((()=>s?s.name:he.icon),[s]),E=i.useMemo((()=>u||he.size),[u]),x=i.useMemo((()=>l||he.flip),[l]),y=i.useMemo((()=>m||he.viewBox),[m]),A=i.useMemo((()=>k("k-icon","k-svg-icon","k-svg-i-"+C,{[`k-color-${h}`]:h,"k-flip-h":"horizontal"===x||"both"===x,"k-flip-v":"vertical"===x||"both"===x},ie[E],r)),[C,h,E,x,r]),I=i.useMemo((()=>e.width&&e.height?{width:e.width,height:e.height,...d}:e.width?{width:e.width,height:e.width,...d}:e.height?{width:e.height,height:e.height,...d}:{...d}),[e.width,e.height,d]);return i.createElement("span",{className:A,style:I,ref:b,onClick:v,"aria-hidden":!0},i.createElement("svg",{id:a,className:o,style:f,"aria-hidden":!0,tabIndex:c,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:s?s.viewBox:y,dangerouslySetInnerHTML:s?{__html:s.content}:void 0,...p},s?void 0:n))}));fe.propTypes={style:o.object,classNames:o.string,children:o.any,icon:o.object,themeColor:o.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:o.oneOf(["default","xsmall","small","medium","large","xlarge","xxlarge","xxxlarge"]),flip:o.oneOf(["default","horizontal","vertical","both"])};const he={size:"default",flip:"default",icon:"",viewBox:"0 0 24 24"};fe.displayName="KendoSvgIcon";const me=i.createContext({type:"svg"});me.displayName="KendoReactIconsContext";const ge=i.forwardRef(((e,t)=>{var n,r;const{type:o,icons:s}=i.useContext(me),{icon:l,...a}=e;let c="svg"===o?(null==(n=e.icon)?void 0:n.name)||e.name:e.name||(null==(r=e.icon)?void 0:r.name);c=c&&s&&s[c]&&"string"==typeof s[c]?s[c]:c;const u=c&&s&&s[c]&&"string"!=typeof s[c]?s[c]:l;return"svg"===o&&u?i.createElement(fe,{...e,icon:u,ref:t}):i.createElement(ue,{...a,name:c,ref:t})}));ge.displayName="KendoIconWrap";const ve={xsmall:"k-fs-xs",small:"k-fs-sm",medium:"k-fs-md",large:"k-fs-lg",xlarge:"k-fs-xl"},pe={light:"k-font-weight-light",normal:"k-font-weight-normal",bold:"k-font-weight-bold"},be={xsmall:"k-m-xs",small:"k-m-sm",medium:"k-m-md",large:"k-m-lg",xlarge:"k-m-xl",thin:"k-m-thin",hair:"k-m-hair"},Ce={xsmall:"xs",small:"sm",medium:"md",large:"lg",xlarge:"xl",thin:"thin",hair:"hair"},Ee={top:"k-mt-",right:"k-mr-",bottom:"k-mb-",left:"k-ml-"},xe={left:"k-text-left",right:"k-text-right",center:"k-text-center",justify:"k-text-justify"},ye={lowercase:"k-text-lowercase",uppercase:"k-text-uppercase",capitalize:"k-text-capitalize"},ke={inherit:"k-color-inherit",primary:"k-color-primary",secondary:"k-color-secondary",tertiary:"k-color-tertiary",info:"k-color-info",success:"k-color-success",warning:"k-color-warning",error:"k-color-error",dark:"k-color-dark",light:"k-color-light",inverse:"k-color-inverse"},Ae=e=>{const t=i.forwardRef(((t,n)=>{const{id:r,style:o,className:s,fontSize:l,fontWeight:a,textAlign:c,textTransform:u,themeColor:d,margin:f,...h}=t,m=i.useRef(null),g=i.useRef(null);i.useImperativeHandle(m,(()=>({element:g.current,props:t}))),i.useImperativeHandle(n,(()=>m.current));const v=e,p=()=>{if(void 0!==f){if("string"==typeof f)return[be[f]];if("number"==typeof f&&f>=0&&f<=24)return[`k-m-${f}`];if("object"==typeof f){const e=[];return Object.keys(f).forEach((t=>{null!==f[t]&&void 0!==f[t]&&e.push(((e,t)=>`${Ee[e]}${"string"==typeof t?Ce[t]:t}`)(t,f[t]))})),e.join(" ")}}};return i.createElement(v,{id:r,ref:g,className:[`k-${"p"===e?"paragraph":e}`,ve[l],pe[a],xe[c],ye[u],ke[d],p(),s].filter((e=>void 0!==e)).join(" "),style:o,...h},t.children)}));return t.propTypes={style:o.object,className:o.string,fontSize:o.oneOf(["xsmall","small","medium","large","xlarge"]),fontWeight:o.oneOf(["light","normal","bold"]),margin:o.oneOfType([o.number,o.object,o.oneOf(["xsmall","small","medium","large","xlarge","thin","hair"])]),textAlign:o.oneOf(["left","right","center","justify"]),textTransform:o.oneOf(["lowercase","uppercase","capitalize"]),themeColor:o.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"])},t.displayName=`KendoReactTypography${e.toUpperCase()}`,t},Ie={h1:Ae("h1"),h2:Ae("h2"),h3:Ae("h3"),h4:Ae("h4"),h5:Ae("h5"),h6:Ae("h6"),p:Ae("p"),code:Ae("code"),pre:Ae("pre")},we=i.createContext([void 0,Y]),De=i.createContext([void 0,Y]),Pe=i.createContext([[],Y,Y]),Oe=i.createContext([[],Y,Y]),Le=(e,t,n)=>{const[r,o]=i.useState(e),s=i.useCallback(((e,t)=>{o(e)}),[n,o]);return[r,s]},Re=e=>{const[t,n]=Le(null),[r,o]=Le(null),[s,l]=se([]),[a,c]=se([]);return i.createElement(we.Provider,{value:[t,n]},i.createElement(De.Provider,{value:[r,o]},i.createElement(Pe.Provider,{value:[s,e=>{l({type:oe.add,item:e})},e=>{l({type:oe.remove,item:e})}]},i.createElement(Oe.Provider,{value:[a,e=>{c({type:oe.add,item:e})},e=>{c({type:oe.remove,item:e})}]},e.children))))};Re.displayName="KendoReactDragAndDrop";const Fe=(e,t)=>{const[n,r]=i.useContext(e),[o,s]=i.useState(t);return[void 0!==n?n:o,(...e)=>{void 0!==n?r(...e):s(e[0])}]};function Me(e,t,n={}){const{onPress:r=Y,onRelease:o=Y,onDragStart:l=Y,onDrag:a=Y,onDragEnd:c=Y}=t,{hint:u=null,mouseOnly:d=!1,autoScroll:f=!0,scrollContainer:h=null}=n,[m,g]=i.useState(!1),[v,p]=i.useState(!1),[b]=Fe(De),[C,E]=Fe(we),[x]=i.useContext(Oe),[y,k,A]=i.useContext(Pe),I=i.useRef({x:0,y:0}),w=i.useRef(),D=i.useRef(!1),P=i.useRef(),O=i.useRef(null),L=i.useRef(!1),R=i.useRef({x:0,y:0}),F=i.useRef({x:0,y:0}),M=i.useRef({x:0,y:0}),S=i.useRef({x:0,y:0}),T=i.useRef({x:0,y:0}),B=i.useRef({x:0,y:0}),N=!("undefined"==typeof window||!window.PointerEvent),H=!d&&N,j=i.useCallback((()=>e.current&&e.current.element?e.current.element:e.current),[e]),Q=i.useCallback((()=>u&&u.current&&u.current.element?u.current.element:u?u.current:null),[u]),z=i.useCallback((()=>h&&h.current&&h.current.element?h.current.element:h?h.current:null),[h]),X=i.useCallback((()=>"object"==typeof f&&f.boundaryElementRef&&f.boundaryElementRef.current&&f.boundaryElementRef.current.element?f.boundaryElementRef.current.element:"object"==typeof f&&f.boundaryElementRef&&f.boundaryElementRef.current?f.boundaryElementRef.current:null),[f]),J=i.useRef(null);i.useImperativeHandle(J,(()=>({element:j(),hint:Q(),onPress:oe,onDragStart:le,onDrag:ie,onDragEnd:ae,onRelease:se,data:e.current})));const G=i.useCallback((()=>{const e=j();return e&&e.ownerDocument||document}),[j]),U=i.useCallback((()=>{const e=G();return e&&e.defaultView||window}),[G]),q=i.useCallback((()=>({drag:C?C.current:null,drop:b?b.current:null,drags:y.map((e=>e.current)),drops:x.map((e=>e.current)),pressed:m,ignoreMouse:D.current,scrollOffset:T.current,offset:R.current,pageOffset:F.current,initialScrollOffset:B.current,clientOffset:M.current,initialClientOffset:S.current,velocity:I.current,autoScroll:!!("object"==typeof f?!1!==f.enabled:f),scrollableParent:X(),autoScrollDirection:"object"==typeof f?f.direction:{horizontal:!0,vertical:!0},isScrolling:v})),[C,b,y,x,m,f,X,v]),K=i.useCallback((e=>{g(e)}),[]),V=i.useCallback((e=>{p(e)}),[]),Z=i.useCallback((e=>{I.current=e}),[]),W=i.useCallback((e=>{R.current=e}),[]),_=i.useCallback((e=>{M.current=e}),[]),ee=i.useCallback((e=>{F.current=e}),[]),te=i.useCallback((e=>{S.current=e}),[]),ne=i.useCallback((e=>{T.current=e}),[]),re=i.useCallback((e=>{B.current=e}),[]),oe=i.useCallback((e=>{r(e)}),[r]),se=i.useCallback((e=>{o(e)}),[o]),le=i.useCallback((t=>{E(J,{target:e.current,event:t}),l(t)}),[E,e,l]),ie=i.useCallback((e=>{a(e)}),[a]),ae=i.useCallback((t=>{L.current||(E(null,{target:e.current,event:t}),c(t))}),[c,E,e]),ce=i.useCallback((e=>{s.dispatchDragAndDrop(q(),{event:e,payload:J.current},{onVelocityChange:Z,onOffsetChange:W,onClientOffsetChange:_,onPageOffsetChange:ee,onInitialClientOffsetChange:te,onScrollOffsetChange:ne,onInitialScrollOffsetChange:re,onIsPressedChange:K,onIsScrollingChange:V})}),[q,Z,W,ee,_,te,re,K,ne,V]),ue=i.useCallback((e=>{ce(e)}),[ce]),de=i.useCallback((e=>{ce(e)}),[ce]),fe=i.useCallback((e=>{ce(e)}),[ce]),he=i.useCallback((e=>{ce(e)}),[ce]),me=i.useCallback((e=>{ce(e)}),[ce]),ge=i.useCallback((e=>{ce(e)}),[ce]),ve=i.useCallback((e=>{ce(e)}),[ce]),pe=i.useCallback((e=>{e.preventDefault(),ce(e)}),[ce]),be=i.useCallback((e=>{e.preventDefault(),ce(e)}),[ce]),Ce=i.useCallback((e=>{e.preventDefault(),ce(e)}),[ce]),Ee=i.useCallback((e=>{if(0===e.touches.length&&1===e.changedTouches.length){const e=U();D.current=!0,P.current=e.setTimeout((()=>{D.current=!1}),2e3)}ce(e)}),[ce,U]),xe=i.useCallback((e=>{ce(e)}),[ce]),ye=i.useCallback((()=>{const e=j();if(e){const t=e.style.touchAction;return e.style.touchAction="none",()=>{e.style.touchAction=t}}}),[j]),ke=i.useCallback((()=>(k(J),()=>{A(J)})),[A,k]);i.useEffect((()=>{const e=U();if(v){const t=z()||s.getScrollableParent(document.elementFromPoint(M.current.x,M.current.y));e.clearInterval(w.current),w.current=e.setInterval((()=>{s.autoScroll(t,{x:I.current.x,y:I.current.y})}),50)}return()=>{e.clearInterval(w.current)}}),[j,z,U,v]),i.useEffect(ye,[ye]),i.useEffect((()=>{const e=U(),t=j(),n=G();return H?(t&&(O.current=s.getScrollableParent(t),O.current&&O.current.addEventListener("scroll",xe,{passive:!0}),t.addEventListener("pointerdown",ue,{passive:!0})),m&&(n.addEventListener("pointermove",de),n.addEventListener("pointerup",he,!0),n.addEventListener("contextmenu",pe),n.addEventListener("pointercancel",fe,{passive:!0}))):(e.addEventListener("touchmove",Y,{capture:!1,passive:!1}),t&&(t.addEventListener("mousedown",me,{passive:!0}),d||(t.addEventListener("touchstart",be,{passive:!0}),m&&(t.addEventListener("touchmove",Ce,{passive:!0}),t.addEventListener("touchend",Ee,{passive:!0})))),m&&(n.addEventListener("mousemove",ge,{passive:!0}),n.addEventListener("mouseup",ve,{passive:!0}))),()=>{O.current&&O.current.removeEventListener("scroll",xe),t&&(t.removeEventListener("pointerdown",ue),t.removeEventListener("mousedown",me),t.removeEventListener("touchstart",be),t.removeEventListener("touchmove",Ce),t.removeEventListener("touchend",Ee)),n.removeEventListener("pointermove",de),n.removeEventListener("pointerup",he,!0),n.removeEventListener("contextmenu",pe),n.removeEventListener("pointercancel",fe),n.removeEventListener("mousemove",ge),n.removeEventListener("mouseup",ve),e.removeEventListener("touchmove",Y),e.clearTimeout(P.current)}}),[m,U,j,G,d,H,pe,me,ge,ve,fe,ue,de,he,Ee,Ce,be,xe]),i.useEffect((()=>(L.current=!1,()=>{L.current=!0})),[]),$(ke,[ke])}const Se=i.forwardRef(((e,t)=>{const n=i.useRef(null),r=i.useRef(null),o=i.useCallback((()=>n.current&&n.current.element?n.current.element:n.current),[n]);i.useImperativeHandle(r,(()=>({element:o()||null}))),i.useImperativeHandle(t,(()=>r.current)),i.useImperativeHandle(e.childRef,(()=>n.current));const s=i.useCallback((t=>{e.onPress&&e.onPress({element:o(),target:r.current,event:t})}),[o,e.onPress]),l=i.useCallback((t=>{e.onRelease&&e.onRelease({element:o(),target:r.current,event:t})}),[o,e.onRelease]),a=i.useCallback((t=>{e.onDragStart&&e.onDragStart({element:o(),target:r.current,event:t})}),[e,o]),c=i.useCallback((t=>{e.onDrag&&e.onDrag({element:o(),target:r.current,event:t})}),[o,e.onDrag]),u=i.useCallback((t=>{e.onDragEnd&&e.onDragEnd({element:o(),target:r.current,event:t})}),[o,e.onDragEnd]);return Me(n,{onPress:s,onRelease:l,onDragStart:a,onDrag:c,onDragEnd:u},{mouseOnly:e.mouseOnly,autoScroll:e.autoScroll,hint:e.hint,scrollContainer:e.scrollContainer}),e.children?i.cloneElement(i.Children.only(e.children),{ref:n}):null}));function Te(e,t={onDragEnter:Y,onDragOver:Y,onDragLeave:Y,onDrop:Y}){const{onDragEnter:n=Y,onDragOver:r=Y,onDragLeave:o=Y,onDrop:s=Y}=t,[,l]=Fe(De),[,a,c]=i.useContext(Oe),u=i.useCallback((()=>e.current&&e.current.element?e.current.element:e.current),[e]),d=i.useRef(null);i.useImperativeHandle(d,(()=>({element:u(),onDragEnter:f,onDragOver:h,onDragLeave:m,onDrop:g,data:e.current})));const f=i.useCallback((t=>{l(d,{target:e.current,event:t}),n(t)}),[l,e,n]),h=i.useCallback((e=>{r(e)}),[r]),m=i.useCallback((t=>{l(null,{target:e.current,event:t}),o(t)}),[l,e,o]),g=i.useCallback((t=>{l(null,{target:e.current,event:t}),s(t)}),[l,e,s]),v=i.useCallback((()=>(a(d),()=>{c(d)})),[c,a]);$(v,[v])}Se.displayName="KendoReactDraggable";const Be=i.forwardRef(((e,t)=>{const n=i.useRef(null),r=i.useRef(null),o=i.useCallback((()=>n.current&&n.current.element?n.current.element:n.current),[n]);i.useImperativeHandle(r,(()=>({element:o()||void 0}))),i.useImperativeHandle(t,(()=>r.current)),i.useImperativeHandle(e.childRef,(()=>n.current));const s=i.useCallback((t=>{e.onDragEnter&&e.onDragEnter({element:o(),target:r.current,event:t})}),[e.onDragEnter,o]),l=i.useCallback((t=>{e.onDragOver&&e.onDragOver({element:o(),target:r.current,event:t})}),[o,e.onDragOver]),a=i.useCallback((t=>{e.onDragLeave&&e.onDragLeave({element:o(),target:r.current,event:t})}),[e.onDragLeave,o]),c=i.useCallback((t=>{e.onDrop&&e.onDrop({element:o(),target:r.current,event:t})}),[e.onDrop,o]);return Te(n,{onDragEnter:s,onDragOver:l,onDragLeave:a,onDrop:c}),e.children?i.cloneElement(i.Children.only(e.children),{ref:n}):null}));Be.displayName="KendoReactDroppable";function Ne(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}function He(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!Ne(e[n],t[n]))return!1;return!0}const je=e=>{const t=e.shadowRoot,n=e.contentDocument;return t&&t.activeElement?je(t.activeElement):n&&n.activeElement?je(n.activeElement):e};function Qe(e,t){const n=(e||"").split(".");let r=t;return n.forEach((e=>{r=r?r[e]:void 0})),r}class ze{constructor(){this.objects=[]}init(e){let t;for(let n=0;n<e.length;n++)n%5e4==0&&(t={},this.objects.push(t)),t[e[n]]=!0}hasId(e){return this.objects.some((t=>t[e]))}}function Xe(e,t){const n=Qe(t,e);return!(!n||!n.length)}function Ye(e,t,n,r){const o=[],s=new ze;return s.init(e),Je(s,t,n,c,o,r),o}function Je(e,t,n,r,o,s){for(let l=0;l<n.length;l++){const i=n[l],a=h(l,r);e.hasId(Qe(t,i))&&o.push(a),Xe(i,s)&&Je(e,t,Qe(s,i),a,o,s)}}e.AsyncFocusBlur=({children:e,onFocus:t,onBlur:n,onSyncFocus:r,onSyncBlur:o})=>{const s=W({onFocus:t,onBlur:n,onSyncFocus:r,onSyncBlur:o});return i.createElement(i.Fragment,null,e.call(void 0,{...s}))},e.BrowserSupportService=x,e.COLLECTION_ACTION=oe,e.DragAndDrop=Re,e.Draggable=Se,e.Droppable=Be,e.FIELD_REGEX=O,e.FOCUSABLE_ELEMENTS=M,e.FOCUSABLE_ELEMENTS_BASE=F,e.FormComponent=class{},e.Icon=ue,e.IconWrap=ge,e.IconsContext=me,e.KEYS={backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",esc:"Escape",space:" ",pageUp:"PageUp",pageDown:"PageDown",end:"End",home:"Home",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",delete:"Delete"},e.Keys=P,e.Navigation=class{constructor(e){this.rovingTabIndex=!0,this.update=()=>{},this.setFocusClass=e=>{e.target.classList.add(this.focusClass)},this.disableTabindexForRest=e=>{this.elements.forEach((t=>{t!==e&&t.setAttribute("tabindex","-1")}))},this.focusNextIndex=(e,t,n)=>{const r=1===t?this.next(e,n):this.previous(e,n);return this.focusElement(r,e),r},this.tabIndex=e.tabIndex||0,this.root=e.root,this.selectors=e.selectors,this.focusOptions=e.focusOptions||{preventScroll:!0},this.rovingTabIndex=void 0===e.rovingTabIndex||e.rovingTabIndex,this.mouseEvents=e.mouseEvents||{},this.keyboardEvents=e.keyboardEvents||{},this.focusClass=e.focusClass,this.lastFocused=null}get elements(){return this.root.current?Array.from(this.root.current.querySelectorAll(this.selectors.join(","))):[]}get first(){return this.root.current&&this.root.current.querySelector(this.selectors.join(","))||null}get last(){const e=this.elements;return e[e.length-1]||null}get current(){return this.elements.find((e=>e.matches(":focus")))||null}next(e,t){const n=t?this.customElements(t):this.elements;let r=n.indexOf(e)+1;return r=r<0?n.length-1:r,n[r%n.length]}previous(e,t){const n=t?this.customElements(t):this.elements;let r=n.indexOf(e)-1;return r=r<0?n.length-1:r,n[r%n.length]}focusNext(e,t){return this.focusNextIndex(e,1,t)}focusPrevious(e,t){return this.focusNextIndex(e,-1,t)}triggerKeyboardEvent(e,t){const n=this.target(e.target),r=n&&n.closest(this.selectors.join(",")),o=" "===e.key?"Space":e.key,s=e.nativeEvent.type;r&&this.keyboardEvents[s][o]&&this.keyboardEvents[s][o].call(void 0,r,this,e,t)}triggerMouseEvent(e){const t=this.target(e.target),n=t&&t.closest(this.selectors.join(",")),r=e.nativeEvent.type;n&&this.mouseEvents[r].call(void 0,n,this,e)}focusElement(e,t){e&&(t&&(this.rovingTabIndex&&t.setAttribute("tabindex","-1"),this.focusClass&&(this.removeFocusClass(t),t.removeEventListener("focus",this.setFocusClass))),this.rovingTabIndex&&e.setAttribute("tabindex",String(this.tabIndex)),this.focusClass&&(e.classList.add(this.focusClass),e.addEventListener("focus",this.setFocusClass)),e.focus(this.focusOptions),this.lastFocused=e)}initializeRovingTab(e){const t=e?this.elements[e]:this.first;t&&(this.focusClass&&t.addEventListener("focus",this.setFocusClass),t.setAttribute("tabindex",String(this.tabIndex)),this.disableTabindexForRest(t))}removeFocusListener(){this.lastFocused&&this.lastFocused.removeEventListener("focus",this.setFocusClass)}removeFocusClass(e){this.focusClass&&e.classList.remove(this.focusClass)}customElements(e){return this.root.current?Array.from(this.root.current.querySelectorAll(e.join(","))):[]}target(e){var t;const n=e&&e.ownerDocument||null;return e instanceof(n&&(null==(t=null==n?void 0:n.defaultView)?void 0:t.Element)||Element)?e:null}},e.RowHeightService=class{constructor(e=0,t,n,r){this.total=e,this.offsets=[],this.heights=[];let o=0;for(let s=0;s<e;s++){this.offsets.push(o);const e=r&&r[s].expanded&&"data"===r[s].rowType?n:t;o+=e,this.heights.push(e)}}height(e){return this.heights[e]}index(e){for(let t=0;t<this.offsets.length;t++){if(e===this.offsets[t])return t;if(e<this.offsets[t])return t-1}return this.total-1}offset(e){return this.offsets[e]}totalHeight(){return this.offsets[this.offsets.length-1]+this.heights[this.heights.length-1]}},e.SortedPublicItemIds=ze,e.SvgIcon=fe,e.TABBABLE_ELEMENTS=S,e.TreeFieldsService=class{constructor(e){this.expandField=e.expandField,this.selectField=e.selectField,this.hasChildrenField=e.hasChildrenField,this.childrenField=e.childrenField,this.textField=e.textField,this.disableField=e.disableField,this.checkField=e.checkField,this.checkIndeterminateField=e.checkIndeterminateField,this.focusIdField=e.focusIdField}expanded(e){return Qe(this.expandField,e)}selected(e){return Qe(this.selectField,e)}text(e){return Qe(this.textField,e)}disabled(e){return Qe(this.disableField,e)}hasChildren(e){return Qe(this.hasChildrenField,e)}children(e){return Qe(this.childrenField,e)||[]}checked(e){return Qe(this.checkField,e)}checkIndeterminate(e){return Qe(this.checkIndeterminateField,e)}focusId(e){return this.focusIdField&&Qe(this.focusIdField,e)}getChildrenField(){return this.childrenField}},e.Typography=Ie,e.WatermarkOverlay=()=>{const[e,t]=i.useState(!0),[n,r]=i.useState(!1);i.useEffect((()=>{Z||(r(!0),Z=!0)}),[]);const o=i.createElement(i.Fragment,null,e&&i.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",position:"fixed",top:"16px",right:"16px",padding:"12px",borderRadius:"4px",boxShadow:"0px 4px 5px 0px rgba(0, 0, 0, 0.04), 0px 2px 4px 0px rgba(0, 0, 0, 0.03)",fontSize:"14px",fontWeight:400,lineHeight:"20px",backgroundColor:"#FFC000",color:"#1E1E1E",zIndex:2e3}},i.createElement("span",{style:{display:"flex",alignSelf:"center",marginRight:"8px"}},i.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 1L0 15H16L8 1ZM7 6V11H9V6H7ZM7 14V12H9V14H7Z",fill:"#1E1E1E"}))),i.createElement("span",null,"No valid license found for KendoReact. Learn how to activate your license."),i.createElement("div",{style:{display:"flex",alignItems:"center",marginLeft:"24px"}},i.createElement("a",{href:"https://www.telerik.com/kendo-react-ui/components/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-banner",style:{marginRight:"8px",display:"flex"}},i.createElement("button",{title:"Learn More",style:{display:"inline-flex",position:"relative",border:"none",borderRadius:"4px",padding:"5px",backgroundColor:"transparent",transition:"color 0.2s ease-in-out",outline:"none",cursor:"pointer"}},i.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},i.createElement("path",{d:"M15 8C15 11.8656 11.8656 15 8 15C4.13437 15 1 11.8656 1 8C1 4.13437 4.13437 1 8 1C11.8656 1 15 4.13437 15 8ZM14 8C14 4.6875 11.3125 2 8 2C4.6875 2 2 4.6875 2 8C2 11.3125 4.6875 14 8 14C11.3125 14 14 11.3125 14 8ZM11 6C11 7.4125 10.2687 8.05937 9.73125 8.53125C9.25937 8.94688 9 9.17813 9 10H7C7 8.275 7.84688 7.525 8.40938 7.03125C8.84062 6.65312 9 6.50938 9 6C9 5.45 8.55 5 8 5C7.45 5 7 5.45 7 6H5C5 4.34375 6.34375 3 8 3C9.65625 3 11 4.34375 11 6ZM9 13V11H7V13H9Z",fill:"#1E1E1E"})))),i.createElement("button",{title:"Close",style:{display:"inline-flex",position:"relative",border:"none",borderRadius:"4px",padding:"5px",backgroundColor:"transparent",transition:"color 0.2s ease-in-out",outline:"none",cursor:"pointer"},onClick:()=>{t(!1)}},i.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},i.createElement("path",{d:"M13 4.41562L9.41563 8L13 11.5844L11.5844 13L8 9.41563L4.41562 13L3 11.5844L6.58437 8L3 4.41562L4.41562 3L8 6.58437L11.5844 3L13 4.41562Z",fill:"#1E1E1E"}))))));return i.createElement(i.Fragment,null,i.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:0,left:0,right:0,bottom:0,opacity:.12,zIndex:101,pointerEvents:"none",backgroundImage:"url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUA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vB8wAngbH8UN/ZQ/45IwfgNDoLwvOUEtLw3qr6N1D8wiOimYvxGwyAYC2lFkxNAjCCGmf8Q6h8QRHeR7knF+A0bBJqqmgr5NO6gGYc5gTYHe/qC+gfC7bv3jCUx3K5ibepYmPJp3BvNXNyut+M0xpn/EOpPyBG4AM1cCCEJkmLMhxASiKenp3saf4Fg2Vc9FsjpSuZo3hr/115r1lMAe+bNZrPO2fip/wH+nq9iKZkD8ZknLhfq79EQ8MneK7JYpGyov5JShV9oOAjKvnSjeP1LNn6j5EHgWl7akgPF6k/j31PiIGCef09x+jPP+5qSBgGd/2uKcgIHEdCJkBp/EOSaCaHxv00J+tdoDnRJ8V+jtePLHGshaPzvk7P+pGC47SOkYCqDn6FvH42fkAJxuyPdaN01FlIGbnc/37TkFE8o3L4nAmvHCyQ5/S3gw24oYXAvuyKxbLgwktK/xNr+rsFqKpU8sa78Zlz5hSMZ/Znq6Y4UikVMf72oYyYkGNHrT+PvnpgHAVd+3ROt/jT+/ohxEFD//ohOf4rfPzENAurfP1E5AVzPRPH7xx8EuJ1WBoDGPxyH+ruhjlTjbnR9AxMhvYLPHA4YGkjPIMpP4x+WIfUnhYMZx2voMRFCSFlohVqR3XwIIaQc3O5OtrGQJFC9RkKKRCsyRxICi/YuFgvs986ERA3Eh1ahUkT4GQg0Vc9XQqInqP6ODRyTA046VJ7Y1x/XdgmJnmD6M8+bLiGKRVjemy6t9WeeN30aBsGHI/bUP33a6M88bybYIPjs9o3658Gx+tuLmefNgGN1pP55QB0JIYQQQgghhBBCCJGy+T9ftRg+rVNPfAAAAABJRU5ErkJggg==')"}}),n&&a.createPortal(o,document.body))},e.ZIndexContext=E,e.addItem=function e(t,n,r,o,s){const l=s.slice();if(v(o))if("child"===n){const e=l[Number(o)]={...l[Number(o)]};e[r]?(e[r]=e[r].slice(),e[r].push(t)):e[r]=[t]}else l.splice(Number(o)+("after"===n?1:0),0,t);else{const s=Number(d(o)),i=l[s]={...l[s]};i[r]=e(t,n,r,f(o),i[r])}return l},e.applyTrappedFocus=(e,t,n,r)=>{let o=!0;e.keyCode===P.enter||e.target!==t?(e.keyCode===P.enter&&e.target===t?(o=!0,setTimeout((()=>{H(t,r)}),1)):e.keyCode===P.esc?(o=!1,t.focus()):j(e,t,r),n&&n(o)):n&&n(!1)},e.areAllDirectChildrenChecked=function(e,t,n,r,o){return(e[r]||[]).every(((e,r)=>o.indexOf(n?Qe(n,e):h(r,t))>-1))},e.canUseDOM=y,e.canUseRef=e=>"string"!=typeof Comment&&((e=>{var t;return!("function"!=typeof e||null==(t=e.prototype)||!t.isReactComponent)})(e)||(e=>!(!e.$$typeof||"function"!=typeof e.render))(e)),e.classNames=k,e.clone=function(e){const t={};return I(e,t),t},e.cloneArray=D,e.cloneDate=A,e.cloneObject=I,e.cloneValue=w,e.createPropsContext=()=>i.createContext((e=>e)),e.disableNavigatableContainer=(e,t)=>{const n=T(e,t);n&&n.forEach((e=>{e.tabIndex=-1}))},e.dispatchEvent=function(e,t,n,r){if(e){const o={syntheticEvent:t,nativeEvent:t.nativeEvent,target:n};e.call(void 0,Object.assign(o,r))}},e.enableNavigatableContainer=(e,t)=>{const n=T(e,t);n&&n.forEach((e=>{e.tabIndex=0}))},e.extendDataItem=(e,t,n)=>Object.assign({},e,e[t]?{[t]:e[t].slice()}:{},n||{}),e.firstFocusableChild=B,e.focusFirstFocusableChild=H,e.focusLastFocusableChild=(e,t)=>{if(e){const n=N(e,t);n&&n.focus()}},e.focusableChildren=T,e.getActiveElement=e=>{if(e&&e.activeElement)return je(e.activeElement)},e.getAllDirectIndirectChildrenIds=function(e,t,n,r){return r?function e(t){let o=[];const s=t[n]||[];for(let t=0;t<s.length;t++)o.push(Qe(r,s[t])),o=o.concat(e(s[t]));return o}(e):function e(t,r){let o=[];const s=t[n]||[];for(let t=0;t<s.length;t++){const n=h(t,r);o.push(n),o=o.concat(e(s[t],n))}return o}(e,t)},e.getAllParents=function(e,t,n){const r=[],o=p(e);let s=n;for(let e=0;e<o.length-1&&s;e++){const n=s[Number(o[e])];r.push(n),s=n[t]}return r},e.getInnerActiveElement=je,e.getItemPath=(e,t,n)=>{const r=[],o=[...t];if(o.length){let t=e[o.shift()||0];for(r.push(t);o.length&&n;)t=t[n][o.shift()||0],r.push(t)}return r},e.getNestedValue=Qe,e.getScrollbarWidth=()=>!(!y||!document.body)&&(new x).scrollbarWidth,e.getTabIndex=(e,t,n)=>{const r="string"==typeof e?parseInt(e):e;if(!Number.isNaN(r))return void 0!==r?r:t?n?void 0:-1:0},e.getter=function(e){if(z[e])return z[e];const t=Q(e);return z[e]=function(e){let n=e;for(let e=0;e<t.length&&n;e++)n=n[t[e]];return n},z[e]},e.guid=X,e.hasChildren=Xe,e.hasRelativeStackingContext=e=>{if(!y)return!1;const t=e?e.ownerDocument:document;if(!t||!t.body)return!1;const n=t.createElement("div");n.style.transform="matrix(10, 0, 0, 10, 0, 0)";const r=t.createElement("div");r.appendChild(t.createTextNode("child")),r.style.position="fixed",r.style.top="10px",n.appendChild(r),t.body.appendChild(n);const o=10!==r.getBoundingClientRect().top;return t.body.removeChild(n),o},e.isArray=function(e){return void 0!==e.length},e.isEnabledAndAllParentsEnabled=function(e,t,n){const r=p(e);let o=t;for(let e=0;e<r.length;e++){const t=o[Number(r[e])];if(n.disabled(t))return!1;o=t[n.getChildrenField()]}return!0},e.isItemExpandedAndWithChildren=function(e,t){return t.expanded(e)&&Xe(e,t.getChildrenField())},e.keepFocusInContainer=j,e.kendoThemeMaps={sizeMap:{small:"sm",medium:"md",large:"lg"},roundedMap:{small:"sm",medium:"md",large:"lg"},orientationMap:{vertical:"vstack",horizontal:"hstack"}},e.lastFocusableChild=N,e.mapTree=(e,t,n)=>[...e.map((e=>q(e,t,n)))],e.mapTreeItem=(e,t,n,r)=>{let o=e;const s=[];for(let e=0;e<t.length;e++)o=o[t[e]],o=Array.isArray(o)?o:o[n],s.push(o);const l=s.length>1?s[s.length-2]:e,i=t[t.length-1],a=r(l[i]);l.splice(i,1,a)},e.memoizeOne=function(e,t=He){let n=null;function r(...r){if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;const o=e.apply(this,r);return n={lastResult:o,lastArgs:r,lastThis:this},o}return r.clear=function(){n=null},r},e.noop=Y,e.removeItem=function e(t,n,r){const o=r.slice();if(v(t))o.splice(Number(t),1);else{const r=Number(d(t)),s=o[r]={...o[r]};s[n]=e(f(t),n,s[n])}return o},e.resolveItemId=function(e,t,n,r){const o=Ye([e],t,n,r);return o.length?o[0]:void 0},e.resolveItemsIds=Ye,e.setScrollbarWidth=e=>{if(!y||!document.body)return!1;const t=e||(new x).scrollbarWidth;document.body.style.setProperty("--kendo-scrollbar-width",`${t}px`)},e.setter=function(e){if(J[e])return J[e];const t=Q(e);return J[e]=(e,n,r)=>{let o=e;const s=t.length-1;for(let e=0;e<s&&o;e++)o=o[t[e]]=o[t[e]]||G(t[e+1],r);o[t[s]]=n},J[e]},e.shouldShowValidationUI=function(e){return!K.some((e=>{var t;return null==(t=globalThis.document)?void 0:t.location.hostname.endsWith(e)}))&&!n.validatePackage(e)},e.svgIconPropType=ce,e.toIconClass=ae,e.toIconName=e=>e.replace(/^k-i-/,""),e.treeIdUtils=C,e.updateItem=function e(t,n,r,o,s){const l=Number(d(n));if(l>=t.length)return t;let i=t,a=t[l];return a[o]||(i=t.slice(),a=i[l]=Object.assign({},a,{[o]:!0})),v(n)?r(a):a[s]&&(a[s]=e(a[s],f(n),r,o,s)),i},e.useAsyncFocusBlur=W,e.useCollection=se,e.useCustomComponent=e=>e?e===i.Fragment?[re,{}]:i.isValidElement(e)?[e.type,e.props]:[e,{}]:[ne,{}],e.useDir=function(e,t,n){const[r,o]=i.useState(t);return i.useEffect((()=>{if(!r&&window&&e.current){const t=window.getComputedStyle(e.current).direction;t&&o(t)}}),n),r},e.useDocument=le,e.useDraggable=Me,e.useDroppable=Te,e.useId=ee,e.useIsomorphicLayoutEffect=$,e.useMouse=te,e.usePropsContext=_,e.useRtl=function(e,t,n){const[r,o]=i.useState(t);return i.useEffect((()=>{if(!r&&window&&e.current){const t=window.getComputedStyle(e.current).direction;t&&o(t)}}),n),r},e.useWindow=e=>{const t=le(e);return i.useCallback((()=>{const e=t();return e&&e.defaultView||window}),[t])},e.useZIndexContext=()=>i.useContext(E),e.validatePackage=V,e.withIdHOC=e=>i.forwardRef(((t,n)=>{const r=ee(t.id);return i.createElement(e,{...t,id:r,ref:n})})),e.withPropsContext=(e,t)=>i.forwardRef(((n,r)=>{const o=_(e,n);return i.createElement(t,{...o,ref:r})}))}));
8
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("@progress/kendo-licensing"),require("react-dom"),require("prop-types"),require("@progress/kendo-draggable-common")):"function"==typeof define&&define.amd?define(["exports","react","@progress/kendo-licensing","react-dom","prop-types","@progress/kendo-draggable-common"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).KendoReactCommon={},e.React,e.KendoLicensing,e.ReactDOM,e.PropTypes,e.KendoDraggableCommon)}(this,(function(e,t,r,n,i,o){"use strict";function l(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var a=l(t),s=l(n);const c="",u="_";function d(e){return h(e)?e:e.split(u)[0]}function p(e){if(h(e))return e;{const t=e.indexOf(u);return e.substring(t+1)}}function f(e,t){return e=e.toString(),t?t+u+e:e}function $(e){const t=e.lastIndexOf(u);return t<0?c:e.substring(0,t)}function h(e){return e===c||e.indexOf(u)<0}function m(e){return e!==c&&e.indexOf(u)<0}function x(e){return e.split(u)}function v(e){const t=e.lastIndexOf(u);return t<0?e:e.substring(t+1)}var g=Object.freeze({__proto__:null,EMPTY_ID:c,SEPARATOR:u,ZERO_LEVEL_ZERO_NODE_ID:"0",createId:f,getAllShortIds:x,getDecrementedItemIdAfterRemoval:function(e,t){const r=t;t="r"+u+t;const n=$(e="r"+u+e)+u;if(t.startsWith(n)){const r=t.substring(n.length);if(r){const t=d(r);if(Number(v(e))<Number(t)){return p(n+(Number(t)-1).toString()+r.substring(t.length))}}}return r},getDirectParentId:$,getFirstChildId:function(e){return f("0",e)},getIdWithoutRootParentId:p,getItemById:function e(t,r,n){if(m(t))return r[Number(t)];{const i=r[Number(d(t))],o=i&&i[n]||[];return o.length?e(p(t),o,n):void 0}},getRootParentId:d,getShortId:v,isIdEmptyOrZeroLevel:h,isIdZeroLevel:m,isItemFirstFromSiblings:function(e){return"0"===v(e)}});const b=a.createContext(0);b.displayName="KendoReactZIndexContext";let C=class{constructor(){this.scrollbar=0}get scrollbarWidth(){const e="undefined"!=typeof document?document:{};if(!this.scrollbar&&e&&e.createElement){const t=e.createElement("div");t.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",t.innerHTML="&nbsp;",e.body.appendChild(t),this.scrollbar=t.offsetWidth-t.scrollWidth,e.body.removeChild(t)}return this.scrollbar}};const k=!("undefined"==typeof window||!window.document||!window.document.createElement),y=(...e)=>{const t={},r=e=>e.filter((e=>!0!==e&&!!e)).map((e=>Array.isArray(e)?r(e):(e=>"object"==typeof e?Object.keys(e).forEach((r=>{t[r]=e[r]})):t[e]=!0)(e)));return r(e),Object.keys(t).map((e=>t[e]&&e||null)).filter((e=>null!==e)).join(" ")},w=e=>e?new Date(e.getTime()):null;function E(e,t){for(let r in e)if(e.hasOwnProperty(r)){const n=e[r];t[r]=A(n,t[r])}}function A(e,t){if(Array.isArray(e))return I(e);if(e instanceof Date)return w(e);if(a.isValidElement(e))return a.cloneElement(e,e.props);if(e&&"object"==typeof e){const r=t||{};return E(e,r),r}return e}function I(e){return e.map((e=>A(e,void 0)))}const D={backspace:8,tab:9,enter:13,shift:16,esc:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,delete:46},z=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g,R=":not(.k-dropdownlist button):not(.k-colorpicker button):not(.k-numerictextbox button):not(.k-split-button .k-split-button-arrow)",O=":not(.k-dropdownlist select)",P=["input:not([disabled]):not([type=hidden])","select:not([disabled]):not(.k-dropdownlist select)","textarea:not([disabled])",`button:not([disabled])${R}`,"a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],M=[...P,`[tabindex]${R}${O}`],L=[...P,`[tabindex]${R}${O}`].map((e=>e+':not([tabindex="-1"])')),T=(e,t=M)=>e.querySelectorAll(t.join(",")),F=(e,t=M)=>{if(e){const r=T(e,t);if(r.length&&r[0].focus)return r[0]}},S=(e,t=M)=>{if(e){const r=T(e,t);if(r.length&&r[r.length-1].focus)return r[r.length-1]}},H=(e,t)=>{if(e){const r=F(e,t);r&&r.focus()}},B=(e,t,r)=>{if(t&&e.keyCode===D.tab&&t){const n=F(t,r),i=S(t,r);n&&i&&!e.shiftKey&&e.target===i&&(e.preventDefault(),n.focus()),n&&i&&e.shiftKey&&e.target===n&&(e.preventDefault(),i.focus()),n||e.preventDefault()}};function N(e){const t=[];return e.replace(z,(function(e,r,n,i){t.push(void 0!==r?r:n||i)})),t}const j={};j.undefined=()=>{};const Q=()=>{let e,t,r="";for(e=0;e<32;e++)t=16*Math.random()|0,(8===e||12===e||16===e||20===e)&&(r+="-"),r+=(12===e?4:16===e?3&t|8:t).toString(16);return r},U=function(){},V={undefined:e=>e},X=(e,t)=>t&&t.arrays&&!isNaN(Number(e))?[]:{};function Y(e,t,r){return r?{...e,[t]:r.length?[...r]:void 0}:e&&e[t]?[...e[t]]:[]}function J(e,t,r){if(e[t]){let n=Y(e,t).map((e=>J(e,t,r)));return r(Y(e,t,n))}return r(e)}const G=["telerik.com","progress.com","stackblitz.io","csb.app"],q=r.validatePackage;let K=!1;function Z({onFocus:e,onBlur:t,onSyncFocus:r,onSyncBlur:n}){const i=a.useRef(!1),o=a.useRef(0),l=a.useCallback((e=>{clearTimeout(o.current),o.current=window.setTimeout((()=>e()))}),[o]),s=a.useCallback(((...t)=>{clearTimeout(o.current),r&&r.call(void 0,t[0]),!i.current&&(i.current=!0,e&&e.call(void 0,...t))}),[i,e,r]),c=a.useCallback(((...e)=>{n&&n.call(void 0,e[0]),l((()=>{i.current&&t&&(i.current=!1,t.call(void 0,...e))}))}),[i,l,t,n]);return a.useEffect((()=>()=>{clearTimeout(o.current)}),[]),{onFocus:s,onBlur:c}}const W=(e,t)=>a.useContext(e)(t),_="undefined"!=typeof window?a.useLayoutEffect:a.useEffect;function ee(e){const[t,r]=a.useState(!1);a.useEffect((()=>{r(!0)}),[]);const[n,i]=a.useState((()=>e||(t?Q():void 0)));_((()=>{void 0===n&&i(Q())}),[]);const o=a[`useId${Q()}`.slice(0,5)];if(void 0!==o){const t=o();return null!=e?e:t}return n}const te=t.createContext(void 0),re=()=>t.useContext(te);const ne=(e,t,r={})=>{const n=a.useCallback((n=>{r.onMouseDown&&r.onMouseDown.call(void 0,n),e.onMouseDown&&e.onMouseDown.call(void 0,{target:t.current,syntheticEvent:n})}),[r.onMouseDown,e.onMouseDown,t]),i=a.useCallback((n=>{r.onMouseUp&&r.onMouseUp.call(void 0,n),e.onMouseUp&&e.onMouseUp.call(void 0,{target:t.current,syntheticEvent:n})}),[r.onMouseUp,e.onMouseUp,t]),o=a.useCallback((n=>{r.onClick&&r.onClick.call(void 0,n),e.onClick&&e.onClick.call(void 0,{target:t.current,syntheticEvent:n})}),[r.onClick,e.onClick,t]),l=a.useCallback((n=>{r.onDoubleClick&&r.onDoubleClick.call(void 0,n),e.onDoubleClick&&e.onDoubleClick.call(void 0,{target:t.current,syntheticEvent:n})}),[r.onDoubleClick,e.onDoubleClick,t]),s=a.useCallback((n=>{r.onMouseEnter&&r.onMouseEnter.call(void 0,n),e.onMouseEnter&&e.onMouseEnter.call(void 0,{target:t.current,syntheticEvent:n})}),[r.onMouseEnter,e.onMouseEnter,t]),c=a.useCallback((n=>{r.onMouseLeave&&r.onMouseLeave.call(void 0,n),e.onMouseLeave&&e.onMouseLeave.call(void 0,{target:t.current,syntheticEvent:n})}),[r.onMouseLeave,e.onMouseLeave,t]),u=a.useCallback((n=>{r.onMouseMove&&r.onMouseMove.call(void 0,n),e.onMouseMove&&e.onMouseMove.call(void 0,{target:t.current,syntheticEvent:n})}),[r.onMouseMove,e.onMouseMove,t]),d=a.useCallback((n=>{r.onMouseOut&&r.onMouseOut.call(void 0,n),e.onMouseOut&&e.onMouseOut.call(void 0,{target:t.current,syntheticEvent:n})}),[r.onMouseOut,e.onMouseOut,t]),p=a.useCallback((n=>{r.onMouseOver&&r.onMouseOver.call(void 0,n),e.onMouseOver&&e.onMouseOver.call(void 0,{target:t.current,syntheticEvent:n})}),[r.onMouseOver,e.onMouseOver,t]);return{onClick:o,onMouseUp:i,onMouseDown:n,onDoubleClick:l,onMouseEnter:s,onMouseLeave:c,onMouseMove:u,onMouseOut:d,onMouseOver:p}},ie=()=>null,oe=({children:e})=>e;var le=(e=>(e[e.add=0]="add",e[e.remove=1]="remove",e))(le||{});const ae=(e=[])=>{const t=a.useRef(e),r=a.useCallback((e=>{switch(e.type){case 0:t.current.push(e.item);break;case 1:{const r=t.current.indexOf(e.item);t.current.splice(r,1);break}}}),[]);return[t.current,r]},se=e=>{const t=a.useCallback((()=>e.current&&e.current.element?e.current.element:e.current),[e]);return a.useCallback((()=>{const e=t();return e&&e.ownerDocument||document}),[t])},ce={default:"",xsmall:"k-icon-xs",small:"k-icon-sm",medium:"k-icon-md",large:"k-icon-lg",xlarge:"k-icon-xl",xxlarge:"k-icon-xxl",xxxlarge:"k-icon-xxxl"},ue=e=>"k-i-"+e,de=i.shape({name:i.string.isRequired,content:i.string.isRequired,viewBox:i.string.isRequired}),pe=a.forwardRef(((e,t)=>{const{className:r,name:n,themeColor:i,size:o,flip:l,style:s,id:c,tabIndex:u,...d}=e,p=a.useRef(null),f=a.useRef(null);a.useImperativeHandle(p,(()=>({element:f.current}))),a.useImperativeHandle(t,(()=>p.current));const $=a.useMemo((()=>o||fe.size),[o]),h=a.useMemo((()=>l||fe.flip),[l]),m=a.useMemo((()=>y("k-icon","k-font-icon",n&&ue(n),{[`k-color-${i}`]:i,"k-flip-h":"horizontal"===h||"both"===h,"k-flip-v":"vertical"===h||"both"===h},ce[$],r)),[n,i,$,h,r]),x=ne(e,p);return a.createElement("span",{ref:f,...d,...x,className:m,id:c,tabIndex:u,style:s,role:"presentation"})}));pe.propTypes={style:i.object,classNames:i.string,name:i.string,themeColor:i.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:i.oneOf(["default","xsmall","small","medium","large","xlarge","xxlarge","xxxlarge"]),flip:i.oneOf(["default","horizontal","vertical","both"])};const fe={size:"default",flip:"default"};pe.displayName="KendoIcon";const $e={prefix:"k",important:"!",rtl:"rtl",rounded:"rounded"},he={xsmall:"xs",small:"sm",medium:"md",large:"lg",xlarge:"xl",xxlarge:"xxl",xxxlarge:"xxxl"},me={solid:"solid",outline:"outline",flat:"flat",link:"link",clear:"clear"},xe={base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inherit:"inherit",inverse:"inverse"},ve={small:"sm",medium:"md",large:"lg",full:"full"},ge={height:"height",width:"width"},be={default:"cursor-default"},Ce={up:"up",down:"down",left:"left",right:"right"},ke={container:"container",content:"content",wrap:"wrap",list:"list",popup:"popup",item:"item"},ye={table:"table",text:"text",tbody:"tbody",thead:"thead",th:"th",td:"td",header:"header",footer:"footer",icon:"icon",title:"title",link:"link",label:"label"},we={first:"first",focus:"focus",last:"last",draggable:"draggable",filterable:"filterable",grouping:"grouping",selected:"selected",disabled:"disabled",invalid:"invalid",checked:"checked",sorted:"sorted",sort:"sort",order:"order",alt:"alt",edit:"edit",template:"template",shown:"shown",horizontal:"horizontal",vertical:"vertical"},Ee={prefix:"animation",child:"child",relative:"relative",slide:"slide",appear:"appear",active:"active",enter:"enter",exit:"exit",pushRight:"push-right",pushLeft:"push-left",pushDown:"push-down",pushUp:"push-up",expandVertical:"expand-vertical",expandHorizontal:"expand-horizontal",fade:"fade",zoomIn:"zoom-in",zoomOut:"zoom-out",slideIn:"slide-in",slideDown:"slide-down",slideUp:"slide-up",slideRight:"slide-right",slideLeft:"slide-left",revealVertical:"reveal-vertical",revealHorizontal:"reveal-horizontal","animation-container":"animation-container","animation-container-shown":"animation-container-shown","animation-container-relative":"animation-container-relative","animation-container-fixed":"animation-container-fixed","child-animation-container":"child-animation-container"},Ae={prefix:"button"},Ie={prefix:"input",inner:"inner",maskedtextbox:"maskedtextbox",radio:"radio"},De={prefix:"menu",group:"group"},ze={prefix:"icon",svg:"svg",i:"i",color:"color",flipH:"flip-h",flipV:"flip-v"},Re={prefix:"popup"},Oe={prefix:"grid",virtual:"virtual",ariaRoot:"aria-root",tableWrap:"table-wrap",sticky:"sticky",master:"master",column:"column",cell:"cell",cellInner:"cell-inner",row:"row",group:"group",hierarchy:"hierarchy",detail:"detail",noRecords:"norecords",pager:"pager"},Pe={base:$e,animation:Ee,sizeMap:he,directionMap:Ce,fillModeMap:me,themeColorMap:xe,roundedMap:ve,elements:ye,states:we,dimensions:ge,containers:ke,cursor:be,button:Ae,input:Ie,ddb:De,popup:Re,icon:ze,grid:Oe},Me={prefix:`${$e.prefix}-${ze.prefix}`,svgPrefix:`${$e.prefix}-${ze.svg}-${ze.prefix}`,flipH:`${$e.prefix}-${ze.flipH}`,flipV:`${$e.prefix}-${ze.flipV}`,themeColor:{inherit:`${$e.prefix}-${ze.color}-${xe.inherit}`,primary:`${$e.prefix}-${ze.color}-${xe.primary}`,secondary:`${$e.prefix}-${ze.color}-${xe.secondary}`,tertiary:`${$e.prefix}-${ze.color}-${xe.tertiary}`,info:`${$e.prefix}-${ze.color}-${xe.info}`,success:`${$e.prefix}-${ze.color}-${xe.success}`,warning:`${$e.prefix}-${ze.color}-${xe.warning}`,error:`${$e.prefix}-${ze.color}-${xe.error}`,dark:`${$e.prefix}-${ze.color}-${xe.dark}`,light:`${$e.prefix}-${ze.color}-${xe.light}`,inverse:`${$e.prefix}-${ze.color}-${xe.inverse}`},size:{xsmall:`${$e.prefix}-${ze.prefix}-${he.xsmall}`,small:`${$e.prefix}-${ze.prefix}-${he.small}`,medium:`${$e.prefix}-${ze.prefix}-${he.medium}`,large:`${$e.prefix}-${ze.prefix}-${he.large}`,xlarge:`${$e.prefix}-${ze.prefix}-${he.xlarge}`,xxlarge:`${$e.prefix}-${ze.prefix}-${he.xxlarge}`,xxxlarge:`${$e.prefix}-${ze.prefix}-${he.xxxlarge}`}},Le={wrapper:e=>{const{iconNameProp:t,themeColor:r,flipH:n,flipV:i,size:o,c:l=Me}=e;return{[l.prefix]:!0,[l.svgPrefix]:!0,[`${$e.prefix}-${ze.svg}-${ze.i}-${t}`]:t,[l.themeColor[r]]:r,[l.flipH]:n,[l.flipV]:i,[l.size[o]]:l.size[o]}}},Te=a.forwardRef(((e,t)=>{const{children:r,className:n,svgClassName:i,icon:o,flip:l,id:s,tabIndex:c,size:u,style:d,svgStyle:p,themeColor:f,viewBox:$,name:h,onClick:m,...x}=e,v=a.useRef(null),g=re(),b=g&&g.uSvgIcon?g.uSvgIcon:Le;a.useImperativeHandle(t,(()=>({element:v.current})));const C=a.useMemo((()=>o?o.name:Fe.icon),[o]),k=a.useMemo((()=>u||Fe.size),[u]),w=a.useMemo((()=>l||Fe.flip),[l]),E=a.useMemo((()=>$||Fe.viewBox),[$]),A=a.useMemo((()=>y(b.wrapper({iconNameProp:C,themeColor:f,flipH:"horizontal"===w||"both"===w,flipV:"vertical"===w||"both"===w,size:k}),n)),[C,f,k,w,n]),I=a.useMemo((()=>e.width&&e.height?{width:e.width,height:e.height,...d}:e.width?{width:e.width,height:e.width,...d}:e.height?{width:e.height,height:e.height,...d}:{...d}),[e.width,e.height,d]);return a.createElement("span",{className:A,style:I,ref:v,onClick:m,"aria-hidden":!0},a.createElement("svg",{id:s,className:i,style:p,"aria-hidden":!0,tabIndex:c,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:o?o.viewBox:E,dangerouslySetInnerHTML:o?{__html:o.content}:void 0,...x},o?void 0:r))}));Te.propTypes={style:i.object,classNames:i.string,children:i.any,icon:i.object,themeColor:i.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:i.oneOf(["default","xsmall","small","medium","large","xlarge","xxlarge","xxxlarge"]),flip:i.oneOf(["default","horizontal","vertical","both"])};const Fe={size:"default",flip:"default",icon:"",viewBox:"0 0 24 24"};Te.displayName="KendoSvgIcon";const Se=a.createContext({type:"svg"});Se.displayName="KendoReactIconsContext";const He=a.forwardRef(((e,t)=>{var r,n;const{type:i,icons:o}=a.useContext(Se),{icon:l,...s}=e;let c="svg"===i?(null==(r=e.icon)?void 0:r.name)||e.name:e.name||(null==(n=e.icon)?void 0:n.name);c=c&&o&&o[c]&&"string"==typeof o[c]?o[c]:c;const u=c&&o&&o[c]&&"string"!=typeof o[c]?o[c]:l;return"svg"===i&&u?a.createElement(Te,{...e,icon:u,ref:t}):a.createElement(pe,{...s,name:c,ref:t})}));He.displayName="KendoIconWrap";const Be={xsmall:"k-fs-xs",small:"k-fs-sm",medium:"k-fs-md",large:"k-fs-lg",xlarge:"k-fs-xl"},Ne={light:"k-font-weight-light",normal:"k-font-weight-normal",bold:"k-font-weight-bold"},je={xsmall:"k-m-xs",small:"k-m-sm",medium:"k-m-md",large:"k-m-lg",xlarge:"k-m-xl",thin:"k-m-thin",hair:"k-m-hair"},Qe={xsmall:"xs",small:"sm",medium:"md",large:"lg",xlarge:"xl",thin:"thin",hair:"hair"},Ue={top:"k-mt-",right:"k-mr-",bottom:"k-mb-",left:"k-ml-"},Ve={left:"k-text-left",right:"k-text-right",center:"k-text-center",justify:"k-text-justify"},Xe={lowercase:"k-text-lowercase",uppercase:"k-text-uppercase",capitalize:"k-text-capitalize"},Ye={inherit:"k-color-inherit",primary:"k-color-primary",secondary:"k-color-secondary",tertiary:"k-color-tertiary",info:"k-color-info",success:"k-color-success",warning:"k-color-warning",error:"k-color-error",dark:"k-color-dark",light:"k-color-light",inverse:"k-color-inverse"},Je=e=>{const t=a.forwardRef(((t,r)=>{const{id:n,style:i,className:o,fontSize:l,fontWeight:s,textAlign:c,textTransform:u,themeColor:d,margin:p,...f}=t,$=a.useRef(null),h=a.useRef(null);a.useImperativeHandle($,(()=>({element:h.current,props:t}))),a.useImperativeHandle(r,(()=>$.current));const m=e,x=()=>{if(void 0!==p){if("string"==typeof p)return[je[p]];if("number"==typeof p&&p>=0&&p<=24)return[`k-m-${p}`];if("object"==typeof p){const e=[];return Object.keys(p).forEach((t=>{null!==p[t]&&void 0!==p[t]&&e.push(((e,t)=>`${Ue[e]}${"string"==typeof t?Qe[t]:t}`)(t,p[t]))})),e.join(" ")}}};return a.createElement(m,{id:n,ref:h,className:[`k-${"p"===e?"paragraph":e}`,Be[l],Ne[s],Ve[c],Xe[u],Ye[d],x(),o].filter((e=>void 0!==e)).join(" "),style:i,...f},t.children)}));return t.propTypes={style:i.object,className:i.string,fontSize:i.oneOf(["xsmall","small","medium","large","xlarge"]),fontWeight:i.oneOf(["light","normal","bold"]),margin:i.oneOfType([i.number,i.object,i.oneOf(["xsmall","small","medium","large","xlarge","thin","hair"])]),textAlign:i.oneOf(["left","right","center","justify"]),textTransform:i.oneOf(["lowercase","uppercase","capitalize"]),themeColor:i.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"])},t.displayName=`KendoReactTypography${e.toUpperCase()}`,t},Ge={h1:Je("h1"),h2:Je("h2"),h3:Je("h3"),h4:Je("h4"),h5:Je("h5"),h6:Je("h6"),p:Je("p"),code:Je("code"),pre:Je("pre")},qe=a.createContext([void 0,U]),Ke=a.createContext([void 0,U]),Ze=a.createContext([[],U,U]),We=a.createContext([[],U,U]),_e=(e,t,r)=>{const[n,i]=a.useState(e),o=a.useCallback(((e,t)=>{i(e)}),[r,i]);return[n,o]},et=e=>{const[t,r]=_e(null),[n,i]=_e(null),[o,l]=ae([]),[s,c]=ae([]);return a.createElement(qe.Provider,{value:[t,r]},a.createElement(Ke.Provider,{value:[n,i]},a.createElement(Ze.Provider,{value:[o,e=>{l({type:le.add,item:e})},e=>{l({type:le.remove,item:e})}]},a.createElement(We.Provider,{value:[s,e=>{c({type:le.add,item:e})},e=>{c({type:le.remove,item:e})}]},e.children))))};et.displayName="KendoReactDragAndDrop";const tt=(e,t)=>{const[r,n]=a.useContext(e),[i,o]=a.useState(t);return[void 0!==r?r:i,(...e)=>{void 0!==r?n(...e):o(e[0])}]};function rt(e,t,r={}){const{onPress:n=U,onRelease:i=U,onDragStart:l=U,onDrag:s=U,onDragEnd:c=U}=t,{hint:u=null,mouseOnly:d=!1,autoScroll:p=!0,scrollContainer:f=null}=r,[$,h]=a.useState(!1),[m,x]=a.useState(!1),[v]=tt(Ke),[g,b]=tt(qe),[C]=a.useContext(We),[k,y,w]=a.useContext(Ze),E=a.useRef({x:0,y:0}),A=a.useRef(),I=a.useRef(!1),D=a.useRef(),z=a.useRef(null),R=a.useRef(!1),O=a.useRef({x:0,y:0}),P=a.useRef({x:0,y:0}),M=a.useRef({x:0,y:0}),L=a.useRef({x:0,y:0}),T=a.useRef({x:0,y:0}),F=a.useRef({x:0,y:0}),S=!("undefined"==typeof window||!window.PointerEvent),H=!d&&S,B=a.useCallback((()=>e.current&&e.current.element?e.current.element:e.current),[e]),N=a.useCallback((()=>u&&u.current&&u.current.element?u.current.element:u?u.current:null),[u]),j=a.useCallback((()=>f&&f.current&&f.current.element?f.current.element:f?f.current:null),[f]),Q=a.useCallback((()=>"object"==typeof p&&p.boundaryElementRef&&p.boundaryElementRef.current&&p.boundaryElementRef.current.element?p.boundaryElementRef.current.element:"object"==typeof p&&p.boundaryElementRef&&p.boundaryElementRef.current?p.boundaryElementRef.current:null),[p]),V=a.useRef(null);a.useImperativeHandle(V,(()=>({element:B(),hint:N(),onPress:ie,onDragStart:le,onDrag:ae,onDragEnd:se,onRelease:oe,data:e.current})));const X=a.useCallback((()=>{const e=B();return e&&e.ownerDocument||document}),[B]),Y=a.useCallback((()=>{const e=X();return e&&e.defaultView||window}),[X]),J=a.useCallback((()=>({drag:g?g.current:null,drop:v?v.current:null,drags:k.map((e=>e.current)),drops:C.map((e=>e.current)),pressed:$,ignoreMouse:I.current,scrollOffset:T.current,offset:O.current,pageOffset:P.current,initialScrollOffset:F.current,clientOffset:M.current,initialClientOffset:L.current,velocity:E.current,autoScroll:!!("object"==typeof p?!1!==p.enabled:p),scrollableParent:Q(),autoScrollDirection:"object"==typeof p?p.direction:{horizontal:!0,vertical:!0},isScrolling:m})),[g,v,k,C,$,p,Q,m]),G=a.useCallback((e=>{h(e)}),[]),q=a.useCallback((e=>{x(e)}),[]),K=a.useCallback((e=>{E.current=e}),[]),Z=a.useCallback((e=>{O.current=e}),[]),W=a.useCallback((e=>{M.current=e}),[]),ee=a.useCallback((e=>{P.current=e}),[]),te=a.useCallback((e=>{L.current=e}),[]),re=a.useCallback((e=>{T.current=e}),[]),ne=a.useCallback((e=>{F.current=e}),[]),ie=a.useCallback((e=>{n(e)}),[n]),oe=a.useCallback((e=>{i(e)}),[i]),le=a.useCallback((t=>{b(V,{target:e.current,event:t}),l(t)}),[b,e,l]),ae=a.useCallback((e=>{s(e)}),[s]),se=a.useCallback((t=>{R.current||(b(null,{target:e.current,event:t}),c(t))}),[c,b,e]),ce=a.useCallback((e=>{o.dispatchDragAndDrop(J(),{event:e,payload:V.current},{onVelocityChange:K,onOffsetChange:Z,onClientOffsetChange:W,onPageOffsetChange:ee,onInitialClientOffsetChange:te,onScrollOffsetChange:re,onInitialScrollOffsetChange:ne,onIsPressedChange:G,onIsScrollingChange:q})}),[J,K,Z,ee,W,te,ne,G,re,q]),ue=a.useCallback((e=>{ce(e)}),[ce]),de=a.useCallback((e=>{ce(e)}),[ce]),pe=a.useCallback((e=>{ce(e)}),[ce]),fe=a.useCallback((e=>{ce(e)}),[ce]),$e=a.useCallback((e=>{ce(e)}),[ce]),he=a.useCallback((e=>{ce(e)}),[ce]),me=a.useCallback((e=>{ce(e)}),[ce]),xe=a.useCallback((e=>{e.preventDefault(),ce(e)}),[ce]),ve=a.useCallback((e=>{e.preventDefault(),ce(e)}),[ce]),ge=a.useCallback((e=>{e.preventDefault(),ce(e)}),[ce]),be=a.useCallback((e=>{if(0===e.touches.length&&1===e.changedTouches.length){const e=Y();I.current=!0,D.current=e.setTimeout((()=>{I.current=!1}),2e3)}ce(e)}),[ce,Y]),Ce=a.useCallback((e=>{ce(e)}),[ce]),ke=a.useCallback((()=>{const e=B();if(e){const t=e.style.touchAction;return e.style.touchAction="none",()=>{e.style.touchAction=t}}}),[B]),ye=a.useCallback((()=>(y(V),()=>{w(V)})),[w,y]);a.useEffect((()=>{const e=Y();if(m){const t=j()||o.getScrollableParent(document.elementFromPoint(M.current.x,M.current.y));e.clearInterval(A.current),A.current=e.setInterval((()=>{o.autoScroll(t,{x:E.current.x,y:E.current.y})}),50)}return()=>{e.clearInterval(A.current)}}),[B,j,Y,m]),a.useEffect(ke,[ke]),a.useEffect((()=>{const e=Y(),t=B(),r=X();return H?(t&&(z.current=o.getScrollableParent(t),z.current&&z.current.addEventListener("scroll",Ce,{passive:!0}),t.addEventListener("pointerdown",ue,{passive:!0})),$&&(r.addEventListener("pointermove",de),r.addEventListener("pointerup",fe,!0),r.addEventListener("contextmenu",xe),r.addEventListener("pointercancel",pe,{passive:!0}))):(e.addEventListener("touchmove",U,{capture:!1,passive:!1}),t&&(t.addEventListener("mousedown",$e,{passive:!0}),d||(t.addEventListener("touchstart",ve,{passive:!0}),$&&(t.addEventListener("touchmove",ge,{passive:!0}),t.addEventListener("touchend",be,{passive:!0})))),$&&(r.addEventListener("mousemove",he,{passive:!0}),r.addEventListener("mouseup",me,{passive:!0}))),()=>{z.current&&z.current.removeEventListener("scroll",Ce),t&&(t.removeEventListener("pointerdown",ue),t.removeEventListener("mousedown",$e),t.removeEventListener("touchstart",ve),t.removeEventListener("touchmove",ge),t.removeEventListener("touchend",be)),r.removeEventListener("pointermove",de),r.removeEventListener("pointerup",fe,!0),r.removeEventListener("contextmenu",xe),r.removeEventListener("pointercancel",pe),r.removeEventListener("mousemove",he),r.removeEventListener("mouseup",me),e.removeEventListener("touchmove",U),e.clearTimeout(D.current)}}),[$,Y,B,X,d,H,xe,$e,he,me,pe,ue,de,fe,be,ge,ve,Ce]),a.useEffect((()=>(R.current=!1,()=>{R.current=!0})),[]),_(ye,[ye])}const nt=a.forwardRef(((e,t)=>{const r=a.useRef(null),n=a.useRef(null),i=a.useCallback((()=>r.current&&r.current.element?r.current.element:r.current),[r]);a.useImperativeHandle(n,(()=>({element:i()||null}))),a.useImperativeHandle(t,(()=>n.current)),a.useImperativeHandle(e.childRef,(()=>r.current));const o=a.useCallback((t=>{e.onPress&&e.onPress({element:i(),target:n.current,event:t})}),[i,e.onPress]),l=a.useCallback((t=>{e.onRelease&&e.onRelease({element:i(),target:n.current,event:t})}),[i,e.onRelease]),s=a.useCallback((t=>{e.onDragStart&&e.onDragStart({element:i(),target:n.current,event:t})}),[e,i]),c=a.useCallback((t=>{e.onDrag&&e.onDrag({element:i(),target:n.current,event:t})}),[i,e.onDrag]),u=a.useCallback((t=>{e.onDragEnd&&e.onDragEnd({element:i(),target:n.current,event:t})}),[i,e.onDragEnd]);return rt(r,{onPress:o,onRelease:l,onDragStart:s,onDrag:c,onDragEnd:u},{mouseOnly:e.mouseOnly,autoScroll:e.autoScroll,hint:e.hint,scrollContainer:e.scrollContainer}),e.children?a.cloneElement(a.Children.only(e.children),{ref:r}):null}));function it(e,t={onDragEnter:U,onDragOver:U,onDragLeave:U,onDrop:U}){const{onDragEnter:r=U,onDragOver:n=U,onDragLeave:i=U,onDrop:o=U}=t,[,l]=tt(Ke),[,s,c]=a.useContext(We),u=a.useCallback((()=>e.current&&e.current.element?e.current.element:e.current),[e]),d=a.useRef(null);a.useImperativeHandle(d,(()=>({element:u(),onDragEnter:p,onDragOver:f,onDragLeave:$,onDrop:h,data:e.current})));const p=a.useCallback((t=>{l(d,{target:e.current,event:t}),r(t)}),[l,e,r]),f=a.useCallback((e=>{n(e)}),[n]),$=a.useCallback((t=>{l(null,{target:e.current,event:t}),i(t)}),[l,e,i]),h=a.useCallback((t=>{l(null,{target:e.current,event:t}),o(t)}),[l,e,o]),m=a.useCallback((()=>(s(d),()=>{c(d)})),[c,s]);_(m,[m])}nt.displayName="KendoReactDraggable";const ot=a.forwardRef(((e,t)=>{const r=a.useRef(null),n=a.useRef(null),i=a.useCallback((()=>r.current&&r.current.element?r.current.element:r.current),[r]);a.useImperativeHandle(n,(()=>({element:i()||void 0}))),a.useImperativeHandle(t,(()=>n.current)),a.useImperativeHandle(e.childRef,(()=>r.current));const o=a.useCallback((t=>{e.onDragEnter&&e.onDragEnter({element:i(),target:n.current,event:t})}),[e.onDragEnter,i]),l=a.useCallback((t=>{e.onDragOver&&e.onDragOver({element:i(),target:n.current,event:t})}),[i,e.onDragOver]),s=a.useCallback((t=>{e.onDragLeave&&e.onDragLeave({element:i(),target:n.current,event:t})}),[e.onDragLeave,i]),c=a.useCallback((t=>{e.onDrop&&e.onDrop({element:i(),target:n.current,event:t})}),[e.onDrop,i]);return it(r,{onDragEnter:o,onDragOver:l,onDragLeave:s,onDrop:c}),e.children?a.cloneElement(a.Children.only(e.children),{ref:r}):null}));ot.displayName="KendoReactDroppable";function lt(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}function at(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!lt(e[r],t[r]))return!1;return!0}const st=e=>{const t=e.shadowRoot,r=e.contentDocument;return t&&t.activeElement?st(t.activeElement):r&&r.activeElement?st(r.activeElement):e};function ct(e,t){const r=(e||"").split(".");let n=t;return r.forEach((e=>{n=n?n[e]:void 0})),n}class ut{constructor(){this.objects=[]}init(e){let t;for(let r=0;r<e.length;r++)r%5e4==0&&(t={},this.objects.push(t)),t[e[r]]=!0}hasId(e){return this.objects.some((t=>t[e]))}}function dt(e,t){const r=ct(t,e);return!(!r||!r.length)}function pt(e,t,r,n){const i=[],o=new ut;return o.init(e),ft(o,t,r,c,i,n),i}function ft(e,t,r,n,i,o){for(let l=0;l<r.length;l++){const a=r[l],s=f(l,n);e.hasId(ct(t,a))&&i.push(s),dt(a,o)&&ft(e,t,ct(o,a),s,i,o)}}const $t=`${$e.prefix}-${Ae.prefix}`,ht=`${$e.prefix}-${De.prefix}`,mt={wrapper:{main:$t,size:{small:`${$t}-${he.small}`,medium:`${$t}-${he.medium}`,large:`${$t}-${he.large}`},fillMode:{solid:`${$t}-${me.solid}`,outline:`${$t}-${me.outline}`,flat:`${$t}-${me.flat}`,link:`${$t}-${me.link}`,clear:`${$t}-${me.clear}`},themeColor:{base:{fillMode:{solid:`${$t}-${me.solid}-${xe.base}`,outline:`${$t}-${me.outline}-${xe.base}`,flat:`${$t}-${me.flat}-${xe.base}`,link:`${$t}-${me.link}-${xe.base}`,clear:`${$t}-${me.clear}-${xe.base}`}},primary:{fillMode:{solid:`${$t}-${me.solid}-${xe.primary}`,outline:`${$t}-${me.outline}-${xe.primary}`,flat:`${$t}-${me.flat}-${xe.primary}`,link:`${$t}-${me.link}-${xe.primary}`,clear:`${$t}-${me.clear}-${xe.primary}`}},secondary:{fillMode:{solid:`${$t}-${me.solid}-${xe.secondary}`,outline:`${$t}-${me.outline}-${xe.secondary}`,flat:`${$t}-${me.flat}-${xe.secondary}`,link:`${$t}-${me.link}-${xe.secondary}`,clear:`${$t}-${me.clear}-${xe.secondary}`}},tertiary:{fillMode:{solid:`${$t}-${me.solid}-${xe.tertiary}`,outline:`${$t}-${me.outline}-${xe.tertiary}`,flat:`${$t}-${me.flat}-${xe.tertiary}`,link:`${$t}-${me.link}-${xe.tertiary}`,clear:`${$t}-${me.clear}-${xe.tertiary}`}},info:{fillMode:{solid:`${$t}-${me.solid}-${xe.info}`,outline:`${$t}-${me.outline}-${xe.info}`,flat:`${$t}-${me.flat}-${xe.info}`,link:`${$t}-${me.link}-${xe.info}`,clear:`${$t}-${me.clear}-${xe.info}`}},success:{fillMode:{solid:`${$t}-${me.solid}-${xe.success}`,outline:`${$t}-${me.outline}-${xe.success}`,flat:`${$t}-${me.flat}-${xe.success}`,link:`${$t}-${me.link}-${xe.success}`,clear:`${$t}-${me.clear}-${xe.success}`}},warning:{fillMode:{solid:`${$t}-${me.solid}-${xe.warning}`,outline:`${$t}-${me.outline}-${xe.warning}`,flat:`${$t}-${me.flat}-${xe.warning}`,link:`${$t}-${me.link}-${xe.warning}`,clear:`${$t}-${me.clear}-${xe.warning}`}},error:{fillMode:{solid:`${$t}-${me.solid}-${xe.error}`,outline:`${$t}-${me.outline}-${xe.error}`,flat:`${$t}-${me.flat}-${xe.error}`,link:`${$t}-${me.link}-${xe.error}`,clear:`${$t}-${me.clear}-${xe.error}`}},dark:{fillMode:{solid:`${$t}-${me.solid}-${xe.dark}`,outline:`${$t}-${me.outline}-${xe.dark}`,flat:`${$t}-${me.flat}-${xe.dark}`,link:`${$t}-${me.link}-${xe.dark}`,clear:`${$t}-${me.clear}-${xe.dark}`}},light:{fillMode:{solid:`${$t}-${me.solid}-${xe.light}`,outline:`${$t}-${me.outline}-${xe.light}`,flat:`${$t}-${me.flat}-${xe.light}`,link:`${$t}-${me.link}-${xe.light}`,clear:`${$t}-${me.clear}-${xe.light}`}},inverse:{fillMode:{solid:`${$t}-${me.solid}-${xe.inverse}`,outline:`${$t}-${me.outline}-${xe.inverse}`,flat:`${$t}-${me.flat}-${xe.inverse}`,link:`${$t}-${me.link}-${xe.inverse}`,clear:`${$t}-${me.clear}-${xe.inverse}`}}},rounded:{small:`${$e.prefix}-${$e.rounded}-${ve.small}`,medium:`${$e.prefix}-${$e.rounded}-${ve.medium}`,large:`${$e.prefix}-${$e.rounded}-${ve.large}`},iconButton:`${$e.prefix}-${ye.icon}-${Ae.prefix}`,disabled:`${$e.prefix}-${we.disabled}`,selected:`${$e.prefix}-${we.selected}`,isRtl:`${$e.prefix}-${$e.rtl}`},text:`${$t}-${ye.text}`,icon:`${$t}-${ye.icon}`},xt={wrapper:e=>{const{isRtl:t,selected:r,disabled:n,size:i,fillMode:o,rounded:l,themeColor:a,iconButton:s,c:c=mt}=e,u=c.wrapper,d=u.themeColor[a],p=d.fillMode[o];return{[u.main]:!0,[u.size[i]]:u.size[i],[`${$t}-${i}`]:!u.size[i],[u.fillMode[o]]:u.fillMode[o],[p]:p,[u.rounded[l]]:u.rounded[l],[`${$e.prefix}-${$e.rounded}-${l}`]:l&&!u.rounded[l],[u.iconButton]:s,[d.disabled]:n&&d&&d.disabled,[d.selected]:r&&d&&d.selected,[u.disabled]:n,[u.selected]:r,[u.isRtl]:t}},text:e=>{const{c:t=mt}=e;return{[t.text]:!0}},icon:e=>{const{c:t=mt}=e;return{[t.icon]:!0}}},vt={wrapper:{main:`${ht}-${Ae.prefix}`,focus:`${$e.prefix}-${we.focus}`,disabled:`${$e.prefix}-${we.disabled}`},ul:{group:`${ht}-${De.group}`,size:{small:`${ht}-${De.group}-${he.small}`,medium:`${ht}-${De.group}-${he.medium}`,large:`${ht}-${De.group}-${he.large}`}},li:{item:`${$e.prefix}-${ke.item}`,focus:`${$e.prefix}-${we.focus}`},item:`${ht}-${ke.item}`,link:{main:`${$e.prefix}-${ye.link}`,link:`${ht}-${ye.link}`,selected:`${$e.prefix}-${we.selected}`,disabled:`${$e.prefix}-${we.disabled}`},popup:`${ht}-${ke.popup}`},gt={wrapper:e=>{const{focused:t,disabled:r,c:n=vt}=e,i=n.wrapper;return{[i.main]:!0,[i.focus]:t,[i.disabled]:r}},ul:e=>{const{size:t,c:r=vt}=e,n=r.ul;return{[n.group]:!0,[n.size[t]]:n.size[t],[`${ht}-${De.group}-${t}`]:!n.size[t]}},li:e=>{const{focused:t,c:r=vt}=e,n=r.li;return{[n.item]:!0,[n.focus]:t}},item:e=>{const{c:t=vt}=e;return t.item},link:e=>{const{selected:t,disabled:r,c:n=vt}=e,i=n.link;return{[i.main]:!0,[i.link]:!0,[i.selected]:t,[i.disabled]:r}},popup:e=>{const{c:t=vt}=e;return{[t.popup]:!0}}},bt=`${$e.prefix}-${Ie.prefix}`,Ct=`${$e.prefix}-${Ie.radio}`,kt={input:{radio:Ct,size:{small:`${Ct}-${he.small}`,medium:`${Ct}-${he.medium}`,large:`${Ct}-${he.large}`},invalid:`${$e.prefix}-${we.invalid}`,checked:`${$e.prefix}-${we.checked}`},wrap:`${Ct}-${ke.wrap}`,label:`${Ct}-${ye.label}`},yt={input:e=>{const{size:t,invalid:r,checked:n,c:i=kt}=e,o=i.input;return{[o.radio]:!0,[o.size[t]]:o.size[t],[`${Ct}-${t}`]:!o.size[t],[o.invalid]:r,[o.checked]:n}},label:e=>{const{c:t=kt}=e;return{[t.label]:!0}},wrap:e=>{const{c:t=kt}=e;return{[t.wrap]:!0}}},wt={ul:{main:`${Ct}-${ke.list}`,horizontal:`${$e.prefix}-${ke.list}-${we.horizontal}`,vertical:`${$e.prefix}-${ke.list}-${we.vertical}`},item:{main:`${Ct}-${ke.list}-${ke.item}`,disabled:`${$e.prefix}-${we.disabled}`}},Et={ul:e=>{const{horizontal:t,vertical:r,c:n=wt}=e,i=n.ul;return{[i.main]:!0,[i.horizontal]:t,[i.vertical]:r}},item:e=>{const{disabled:t,c:r=wt}=e,n=r.item;return{[n.main]:!0,[n.disabled]:t}}},At={wrapper:{main:`${$e.prefix}-${Ie.maskedtextbox}`,input:bt,size:{small:`${bt}-${he.small}`,medium:`${bt}-${he.medium}`,large:`${bt}-${he.large}`},fillMode:{solid:`${bt}-${me.solid}`,outline:`${bt}-${me.outline}`,flat:`${bt}-${me.flat}`,link:`${bt}-${me.link}`,clear:`${bt}-${me.clear}`},rounded:{small:`${$e.prefix}-${$e.rounded}-${ve.small}`,medium:`${$e.prefix}-${$e.rounded}-${ve.medium}`,large:`${$e.prefix}-${$e.rounded}-${ve.large}`},disabled:`${$e.prefix}-${we.disabled}`,invalid:`${$e.prefix}-${we.invalid}`,isRtl:`${$e.prefix}-${$e.rtl}`},input:`${bt}-${Ie.inner}`},It={wrapper:e=>{const{invalid:t,disabled:r,size:n,fillMode:i,rounded:o,c:l=At}=e,a=l.wrapper;return{[a.main]:!0,[a.input]:!0,[a.size[n]]:a.size[n],[`${bt}-${n}`]:!a.size[n],[a.fillMode[i]]:a.fillMode[i],[a.rounded[o]]:a.rounded[o],[`${$e.prefix}-${$e.rounded}-${o}`]:o&&!a.rounded[o],[a.disabled]:r,[a.invalid]:t}},input:e=>{const{c:t=At}=e;return{[t.input]:!0}}},Dt={child:{container:`${$e.prefix}-${Ee[`${Ee.prefix}-${ke.container}`]}`,relative:`${$e.prefix}-${Ee[`${Ee.prefix}-${ke.container}-${Ee.relative}`]}`},childContainer:{container:`${$e.prefix}-${Ee[`${Ee.child}-${Ee.prefix}-${ke.container}`]}`},appear:{"push-right":`${$e.prefix}-${Ee.pushRight}-${Ee.appear}`,"push-left":`${$e.prefix}-${Ee.pushLeft}-${Ee.appear}`,"push-down":`${$e.prefix}-${Ee.pushDown}-${Ee.appear}`,"push-up":`${$e.prefix}-${Ee.pushUp}-${Ee.appear}`,"expand-vertical":`${$e.prefix}-${Ee.expandVertical}-${Ee.appear}`,"expand-horizontal":`${$e.prefix}-${Ee.expandHorizontal}-${Ee.appear}`,fade:`${$e.prefix}-${Ee.fade}-${Ee.appear}`,"zoom-in":`${$e.prefix}-${Ee.zoomIn}-${Ee.appear}`,"zoom-out":`${$e.prefix}-${Ee.zoomOut}-${Ee.appear}`,"slide-in":`${$e.prefix}-${Ee.slideIn}-${Ee.appear}`,"slide-down":`${$e.prefix}-${Ee.slideDown}-${Ee.appear}`,"slide-up":`${$e.prefix}-${Ee.slideUp}-${Ee.appear}`,"slide-right":`${$e.prefix}-${Ee.slideRight}-${Ee.appear}`,"slide-left":`${$e.prefix}-${Ee.slideLeft}-${Ee.appear}`,"reveal-vertical":`${$e.prefix}-${Ee.revealVertical}-${Ee.appear}`,"reveal-horizontal":`${$e.prefix}-${Ee.revealHorizontal}-${Ee.appear}`},appearActive:{"push-right":`${$e.prefix}-${Ee.pushRight}-${Ee.appear}-${Ee.active}`,"push-left":`${$e.prefix}-${Ee.pushLeft}-${Ee.appear}-${Ee.active}`,"push-down":`${$e.prefix}-${Ee.pushDown}-${Ee.appear}-${Ee.active}`,"push-up":`${$e.prefix}-${Ee.pushUp}-${Ee.appear}-${Ee.active}`,"expand-vertical":`${$e.prefix}-${Ee.expandVertical}-${Ee.appear}-${Ee.active}`,"expand-horizontal":`${$e.prefix}-${Ee.expandHorizontal}-${Ee.appear}-${Ee.active}`,fade:`${$e.prefix}-${Ee.fade}-${Ee.appear}-${Ee.active}`,"zoom-in":`${$e.prefix}-${Ee.zoomIn}-${Ee.appear}-${Ee.active}`,"zoom-out":`${$e.prefix}-${Ee.zoomOut}-${Ee.appear}-${Ee.active}`,"slide-in":`${$e.prefix}-${Ee.slideIn}-${Ee.appear}-${Ee.active}`,"slide-down":`${$e.prefix}-${Ee.slideDown}-${Ee.appear}-${Ee.active}`,"slide-up":`${$e.prefix}-${Ee.slideUp}-${Ee.appear}-${Ee.active}`,"slide-right":`${$e.prefix}-${Ee.slideRight}-${Ee.appear}-${Ee.active}`,"slide-left":`${$e.prefix}-${Ee.slideLeft}-${Ee.appear}-${Ee.active}`,"reveal-vertical":`${$e.prefix}-${Ee.revealVertical}-${Ee.appear}-${Ee.active}`,"reveal-horizontal":`${$e.prefix}-${Ee.revealHorizontal}-${Ee.appear}-${Ee.active}`},enter:{"push-right":`${$e.prefix}-${Ee.pushRight}-${Ee.enter}`,"push-left":`${$e.prefix}-${Ee.pushLeft}-${Ee.enter}`,"push-down":`${$e.prefix}-${Ee.pushDown}-${Ee.enter}`,"push-up":`${$e.prefix}-${Ee.pushUp}-${Ee.enter}`,"expand-vertical":`${$e.prefix}-${Ee.expandVertical}-${Ee.enter}`,"expand-horizontal":`${$e.prefix}-${Ee.expandHorizontal}-${Ee.enter}`,fade:`${$e.prefix}-${Ee.fade}-${Ee.enter}`,"zoom-in":`${$e.prefix}-${Ee.zoomIn}-${Ee.enter}`,"zoom-out":`${$e.prefix}-${Ee.zoomOut}-${Ee.enter}`,"slide-in":`${$e.prefix}-${Ee.slideIn}-${Ee.enter}`,"slide-down":`${$e.prefix}-${Ee.slideDown}-${Ee.enter}`,"slide-up":`${$e.prefix}-${Ee.slideUp}-${Ee.enter}`,"slide-right":`${$e.prefix}-${Ee.slideRight}-${Ee.enter}`,"slide-left":`${$e.prefix}-${Ee.slideLeft}-${Ee.enter}`,"reveal-vertical":`${$e.prefix}-${Ee.revealVertical}-${Ee.enter}`,"reveal-horizontal":`${$e.prefix}-${Ee.revealHorizontal}-${Ee.enter}`},enterActive:{"push-right":`${$e.prefix}-${Ee.pushRight}-${Ee.enter}-${Ee.active}`,"push-left":`${$e.prefix}-${Ee.pushLeft}-${Ee.enter}-${Ee.active}`,"push-down":`${$e.prefix}-${Ee.pushDown}-${Ee.enter}-${Ee.active}`,"push-up":`${$e.prefix}-${Ee.pushUp}-${Ee.enter}-${Ee.active}`,"expand-vertical":`${$e.prefix}-${Ee.expandVertical}-${Ee.enter}-${Ee.active}`,"expand-horizontal":`${$e.prefix}-${Ee.expandHorizontal}-${Ee.enter}-${Ee.active}`,fade:`${$e.prefix}-${Ee.fade}-${Ee.enter}-${Ee.active}`,"zoom-in":`${$e.prefix}-${Ee.zoomIn}-${Ee.enter}-${Ee.active}`,"zoom-out":`${$e.prefix}-${Ee.zoomOut}-${Ee.enter}-${Ee.active}`,"slide-in":`${$e.prefix}-${Ee.slideIn}-${Ee.enter}-${Ee.active}`,"slide-down":`${$e.prefix}-${Ee.slideDown}-${Ee.enter}-${Ee.active}`,"slide-up":`${$e.prefix}-${Ee.slideUp}-${Ee.enter}-${Ee.active}`,"slide-right":`${$e.prefix}-${Ee.slideRight}-${Ee.enter}-${Ee.active}`,"slide-left":`${$e.prefix}-${Ee.slideLeft}-${Ee.enter}-${Ee.active}`,"reveal-vertical":`${$e.prefix}-${Ee.revealVertical}-${Ee.enter}-${Ee.active}`,"reveal-horizontal":`${$e.prefix}-${Ee.revealHorizontal}-${Ee.enter}-${Ee.active}`},exit:{"push-right":`${$e.prefix}-${Ee.pushRight}-${Ee.exit}`,"push-left":`${$e.prefix}-${Ee.pushLeft}-${Ee.exit}`,"push-down":`${$e.prefix}-${Ee.pushDown}-${Ee.exit}`,"push-up":`${$e.prefix}-${Ee.pushUp}-${Ee.exit}`,"expand-vertical":`${$e.prefix}-${Ee.expandVertical}-${Ee.exit}`,"expand-horizontal":`${$e.prefix}-${Ee.expandHorizontal}-${Ee.exit}`,fade:`${$e.prefix}-${Ee.fade}-${Ee.exit}`,"zoom-in":`${$e.prefix}-${Ee.zoomIn}-${Ee.exit}`,"zoom-out":`${$e.prefix}-${Ee.zoomOut}-${Ee.exit}`,"slide-in":`${$e.prefix}-${Ee.slideIn}-${Ee.exit}`,"slide-down":`${$e.prefix}-${Ee.slideDown}-${Ee.exit}`,"slide-up":`${$e.prefix}-${Ee.slideUp}-${Ee.exit}`,"slide-right":`${$e.prefix}-${Ee.slideRight}-${Ee.exit}`,"slide-left":`${$e.prefix}-${Ee.slideLeft}-${Ee.exit}`,"reveal-vertical":`${$e.prefix}-${Ee.revealVertical}-${Ee.exit}`,"reveal-horizontal":`${$e.prefix}-${Ee.revealHorizontal}-${Ee.exit}`},exitActive:{"push-right":`${$e.prefix}-${Ee.pushRight}-${Ee.exit}-${Ee.active}`,"push-left":`${$e.prefix}-${Ee.pushLeft}-${Ee.exit}-${Ee.active}`,"push-down":`${$e.prefix}-${Ee.pushDown}-${Ee.exit}-${Ee.active}`,"push-up":`${$e.prefix}-${Ee.pushUp}-${Ee.exit}-${Ee.active}`,"expand-vertical":`${$e.prefix}-${Ee.expandVertical}-${Ee.exit}-${Ee.active}`,"expand-horizontal":`${$e.prefix}-${Ee.expandHorizontal}-${Ee.exit}-${Ee.active}`,fade:`${$e.prefix}-${Ee.fade}-${Ee.exit}-${Ee.active}`,"zoom-in":`${$e.prefix}-${Ee.zoomIn}-${Ee.exit}-${Ee.active}`,"zoom-out":`${$e.prefix}-${Ee.zoomOut}-${Ee.exit}-${Ee.active}`,"slide-in":`${$e.prefix}-${Ee.slideIn}-${Ee.exit}-${Ee.active}`,"slide-down":`${$e.prefix}-${Ee.slideDown}-${Ee.exit}-${Ee.active}`,"slide-up":`${$e.prefix}-${Ee.slideUp}-${Ee.exit}-${Ee.active}`,"slide-right":`${$e.prefix}-${Ee.slideRight}-${Ee.exit}-${Ee.active}`,"slide-left":`${$e.prefix}-${Ee.slideLeft}-${Ee.exit}-${Ee.active}`,"reveal-vertical":`${$e.prefix}-${Ee.revealVertical}-${Ee.exit}-${Ee.active}`,"reveal-horizontal":`${$e.prefix}-${Ee.revealHorizontal}-${Ee.exit}-${Ee.active}`}},zt={child:e=>{const{c:t=Dt}=e;return{[t.child.container]:!0,[t.child.relative]:!0}},childContainer:e=>{const{c:t=Dt}=e;return{[t.childContainer.container]:!0}},appear:e=>{const{c:t=Dt,transitionName:r}=e;return{[`${t.appear[r]}`]:t.appear[r],[`${r}-${Ee.appear}`]:!t.appear[r]}},appearActive:e=>{const{c:t=Dt,transitionName:r}=e;return{[`${t.appearActive[r]}`]:t.appearActive[r],[`${r}-${Ee.appear}-${Ee.active}`]:!t.appearActive[r]}},enter:e=>{const{c:t=Dt,transitionName:r}=e;return{[`${t.enter[r]}`]:t.enter[r],[`${r}-${Ee.enter}`]:!t.enter[r]}},enterActive:e=>{const{c:t=Dt,transitionName:r}=e;return{[`${t.enterActive[r]}`]:t.enterActive[r],[`${r}-${Ee.enter}-${Ee.active}`]:!t.enterActive[r]}},exit:e=>{const{c:t=Dt,transitionName:r}=e;return{[`${t.exit[r]}`]:t.exit[r],[`${r}-${Ee.exit}`]:!t.exit[r]}},exitActive:e=>{const{c:t=Dt,transitionName:r}=e;return{[`${t.exitActive[r]}`]:t.exitActive[r],[`${r}-${Ee.exit}-${Ee.active}`]:!t.exitActive[r]}}},Rt={animationContainer:`${$e.prefix}-${Ee.prefix}-${ke.container}`,animationContainerShown:`${$e.prefix}-${Ee.prefix}-${ke.container}-${we.shown}`,animationChild:`${$e.prefix}-${Ee.child}-${Ee.prefix}-${ke.container}`,popup:`${$e.prefix}-${Re.prefix}`,slide:{up:{enter:`${$e.prefix}-${Ee.slide}-${Ce.up}-${Ee.enter}`,exit:`${$e.prefix}-${Ee.slide}-${Ce.up}-${Ee.exit}`},down:{enter:`${$e.prefix}-${Ee.slide}-${Ce.down}-${Ee.enter}`,exit:`${$e.prefix}-${Ee.slide}-${Ce.down}-${Ee.exit}`},left:{enter:`${$e.prefix}-${Ee.slide}-${Ce.left}-${Ee.enter}`,exit:`${$e.prefix}-${Ee.slide}-${Ce.left}-${Ee.exit}`},right:{enter:`${$e.prefix}-${Ee.slide}-${Ce.right}-${Ee.enter}`,exit:`${$e.prefix}-${Ee.slide}-${Ce.right}-${Ee.exit}`}},slideActive:{up:{enter:`${$e.prefix}-${Ee.slide}-${Ce.up}-${Ee.enter}-${Ee.active}`,exit:`${$e.prefix}-${Ee.slide}-${Ce.up}-${Ee.exit}-${Ee.active}`},down:{enter:`${$e.prefix}-${Ee.slide}-${Ce.down}-${Ee.enter}-${Ee.active}`,exit:`${$e.prefix}-${Ee.slide}-${Ce.down}-${Ee.exit}-${Ee.active}`},left:{enter:`${$e.prefix}-${Ee.slide}-${Ce.left}-${Ee.enter}-${Ee.active}`,exit:`${$e.prefix}-${Ee.slide}-${Ce.left}-${Ee.exit}-${Ee.active}`},right:{enter:`${$e.prefix}-${Ee.slide}-${Ce.right}-${Ee.enter}-${Ee.active}`,exit:`${$e.prefix}-${Ee.slide}-${Ce.right}-${Ee.exit}-${Ee.active}`}}},Ot={animationContainer:e=>{const{c:t=Rt}=e;return{[t.animationContainer]:!0}},animationContainerShown:e=>{const{c:t=Rt}=e;return{[t.animationContainerShown]:!0}},animationChild:e=>{const{c:t=Rt}=e;return{[t.animationChild]:!0}},popup:e=>{const{c:t=Rt}=e;return{[t.popup]:!0}},slide:e=>{const{direction:t,type:r,c:n=Rt}=e;return{[n.slide[t][r]]:n.slide[t]&&n.slide[t][r]}},slideActive:e=>{const{direction:t,type:r,c:n=Rt}=e;return{[n.slideActive[t][r]]:n.slideActive[t]&&n.slideActive[t][r]}}},Pt=`${$e.prefix}-${Oe.prefix}`,Mt={wrapper:{main:Pt,size:{small:`${Pt}-${he.small}`,medium:`${Pt}-${he.medium}`},virtual:`${Pt}-${Oe.virtual}`},ariaRoot:`${Pt}-${Oe.ariaRoot}`,container:`${Pt}-${ke.container}`,content:{main:`${Pt}-${ke.content}`,virtual:`${$e.prefix}-${Oe.virtual}-${ke.content}`},tableWrap:`${Pt}-${Oe.tableWrap}`,table:{main:`${$e.prefix}-${ye.table}`,gridTable:`${Pt}-${ye.table}`,size:{small:`${$e.prefix}-${ye.table}-${he.small}`,medium:`${$e.prefix}-${ye.table}-${he.medium}`}},tbody:`${$e.prefix}-${ye.table}-${ye.tbody}`,thead:{main:`${Pt}-${ye.table}-${ye.thead}`,draggable:`${Pt}-${we.draggable}-${ye.header}`},header:{main:`${Pt}-${ye.header}`,draggable:`${Pt}-${we.draggable}-${ye.header}`},headerWrap:`${Pt}-${ye.header}-${ke.wrap}`,headerTable:{main:`${$e.prefix}-${ye.table}`,header:`${Pt}-${ye.header}-${ye.table}`,size:{small:`${$e.prefix}-${ye.table}-${he.small}`,medium:`${$e.prefix}-${ye.table}-${he.medium}`}},headerTh:{main:`${$e.prefix}-${ye.table}-${ye.th}`,header:`${$e.prefix}-${ye.header}`,first:`${$e.prefix}-${we.first}`,filterable:`${$e.prefix}-${we.filterable}`,locked:`${Pt}-${ye.header}-${Oe.sticky}`,sorted:`${$e.prefix}-${we.sorted}`},tableThead:`${$e.prefix}-${ye.table}-${ye.thead}`,heightContainer:`${$e.prefix}-${ge.height}-${ke.container}`,sortIcon:`${$e.prefix}-${we.sort}-${ye.icon}`,sortOrder:`${$e.prefix}-${we.sort}-${we.order}`,tr:{main:`${$e.prefix}-${ye.table}-${Oe.row}`,header:`${$e.prefix}-${ye.table}-${Oe.group}-${Oe.row}`,grouping:`${$e.prefix}-${we.grouping}-${Oe.row}`,footer:`${$e.prefix}-${Oe.group}-${ye.footer}`,master:`${$e.prefix}-${Oe.master}-${Oe.row}`,rowAlt:`${$e.prefix}-${ye.table}-${we.alt}-${Oe.row}`,alt:`${$e.prefix}-${we.alt}`,selected:`${$e.prefix}-${we.selected}`,isInEdit:`${Pt}-${we.edit}-${Oe.row}`},detailTr:{main:`${$e.prefix}-${ye.table}-${Oe.row}`,row:`${$e.prefix}-${Oe.detail}-${Oe.row}`,rowAlt:`${$e.prefix}-${ye.table}-${we.alt}-${Oe.row}`,alt:`${$e.prefix}-${we.alt}`},simpleTr:`${$e.prefix}-${ye.table}-${Oe.row}`,headerCellInner:`${$e.prefix}-${Oe.cellInner}`,columnTitle:`${$e.prefix}-${Oe.column}-${ye.title}`,headerCellLink:{main:`${$e.prefix}-${ye.link}`,notSortable:`${$e.important}${$e.prefix}-${be.default}`},noRecords:`${Pt}-${Oe.noRecords}`,noRecordsTemplate:`${Pt}-${Oe.noRecords}-${we.template}`,pager:`${Pt}-${Oe.pager}`,sorted:`${$e.prefix}-${we.sorted}`,contentSticky:`${Pt}-${ke.content}-${Oe.sticky}`,hierarchyCell:{main:`${$e.prefix}-${Oe.hierarchy}-${Oe.cell}`,header:`${$e.prefix}-${ye.header}`},td:{main:`${$e.prefix}-${ye.table}-${ye.td}`,selected:`${$e.prefix}-${we.selected}`},detailTd:{main:`${$e.prefix}-${ye.table}-${ye.td}`,cell:`${$e.prefix}-${Oe.detail}-${Oe.cell}`},editTd:{main:`${$e.prefix}-${ye.table}-${ye.td}`,cell:`${Pt}-${we.edit}-${Oe.cell}`,selected:`${$e.prefix}-${we.selected}`},hierarchyTd:{main:`${$e.prefix}-${ye.table}-${ye.td}`,cell:`${$e.prefix}-${Oe.hierarchy}-${Oe.cell}`}},Lt={wrapper:e=>{const{size:t,virtual:r,c:n=Mt.wrapper}=e;return{[n.main]:!0,[n.size[t]]:n.size[t],[`${Pt}-${t}`]:!n.size[t],[n.virtual]:r}},ariaRoot:e=>{const{c:t=Mt}=e;return t.ariaRoot},container:e=>{const{c:t=Mt}=e;return t.container},content:e=>{const{c:t=Mt.content}=e;return{[t.main]:!0,[t.virtual]:!0}},tableWrap:e=>{const{c:t=Mt}=e;return t.tableWrap},table:e=>{const{size:t,c:r=Mt.table}=e;return{[r.main]:!0,[r.gridTable]:!0,[r.size[t]]:r.size[t],[`${$e.prefix}-${ye}-${t}`]:!r.size[t]}},tbody:e=>{const{c:t=Mt}=e;return t.tbody},thead:e=>{const{draggable:t,c:r=Mt.thead}=e;return{[r.main]:!0,[r.draggable]:t}},header:e=>{const{draggable:t,c:r=Mt.header}=e;return{[r.main]:!0,[r.draggable]:t}},headerWrap:e=>{const{c:t=Mt}=e;return t.headerWrap},headerTable:e=>{const{size:t,c:r=Mt.headerTable}=e;return{[r.main]:!0,[r.header]:!0,[r.size[t]]:r.size[t],[`${$e.prefix}-${ye.table}-${t}`]:!r.size[t]}},headerTh:e=>{const{first:t,filterable:r,locked:n,sorted:i,c:o=Mt.headerTh}=e;return{[o.main]:!0,[o.header]:!0,[o.first]:t,[o.filterable]:r,[o.locked]:n,[o.sorted]:i}},tableThead:e=>{const{c:t=Mt}=e;return t.tableThead},heightContainer:e=>{const{c:t=Mt}=e;return t.heightContainer},sortIcon:e=>{const{c:t=Mt}=e;return t.sortIcon},sortOrder:e=>{const{c:t=Mt}=e;return t.sortOrder},tr:e=>{const{isHeader:t,isFooter:r,isMaster:n,isAltRow:i,selected:o,isInEdit:l,c:a=Mt.tr}=e;return{[a.main]:!0,[a.header]:t,[a.grouping]:t,[a.footer]:r,[a.master]:n,[a.rowAlt]:n&&i,[a.alt]:n&&i,[a.selected]:o,[a.isInEdit]:l}},detailTr:e=>{const{isAlt:t,c:r=Mt.detailTr}=e;return{[r.main]:!0,[r.row]:!0,[r.rowAlt]:t,[r.alt]:t}},simpleTr:e=>{const{c:t=Mt}=e;return t.simpleTr},headerCellInner:e=>{const{c:t=Mt}=e;return t.headerCellInner},columnTitle:e=>{const{c:t=Mt}=e;return t.columnTitle},headerCellLink:e=>{const{sortable:t,c:r=Mt.headerCellLink}=e;return{[r.main]:!0,[r.notSortable]:!t}},noRecords:e=>{const{c:t=Mt}=e;return t.noRecords},noRecordsTemplate:e=>{const{c:t=Mt}=e;return t.noRecordsTemplate},pager:e=>{const{c:t=Mt}=e;return t.pager},sorted:e=>{const{c:t=Mt}=e;return t.sorted},contentSticky:e=>{const{locked:t,c:r=Mt}=e;return{[r.contentSticky]:t}},hierarchyCell:e=>{const{c:t=Mt.hierarchyCell}=e;return{[t.main]:!0,[t.header]:!0}},td:e=>{const{selected:t,c:r=Mt.td}=e;return{[r.main]:!0,[r.selected]:t}},detailTd:e=>{const{c:t=Mt.detailTd}=e;return{[t.main]:!0,[t.cell]:!0}},editTd:e=>{const{selected:t,c:r=Mt.editTd}=e;return{[r.main]:!0,[r.cell]:!0,[r.selected]:t}},hierarchyTd:e=>{const{c:t=Mt.hierarchyTd}=e;return{[t.main]:!0,[t.cell]:!0}}};e.AsyncFocusBlur=({children:e,onFocus:t,onBlur:r,onSyncFocus:n,onSyncBlur:i})=>{const o=Z({onFocus:t,onBlur:r,onSyncFocus:n,onSyncBlur:i});return a.createElement(a.Fragment,null,e.call(void 0,{...o}))},e.BrowserSupportService=C,e.COLLECTION_ACTION=le,e.DragAndDrop=et,e.Draggable=nt,e.Droppable=ot,e.FIELD_REGEX=z,e.FOCUSABLE_ELEMENTS=M,e.FOCUSABLE_ELEMENTS_BASE=P,e.FormComponent=class{},e.Icon=pe,e.IconWrap=He,e.IconsContext=Se,e.KEYS={backspace:"Backspace",tab:"Tab",enter:"Enter",shift:"Shift",esc:"Escape",space:" ",pageUp:"PageUp",pageDown:"PageDown",end:"End",home:"Home",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",delete:"Delete"},e.Keys=D,e.Navigation=class{constructor(e){this.rovingTabIndex=!0,this.update=()=>{},this.setFocusClass=e=>{e.target.classList.add(this.focusClass)},this.disableTabindexForRest=e=>{this.elements.forEach((t=>{t!==e&&t.setAttribute("tabindex","-1")}))},this.focusNextIndex=(e,t,r)=>{const n=1===t?this.next(e,r):this.previous(e,r);return this.focusElement(n,e),n},this.tabIndex=e.tabIndex||0,this.root=e.root,this.selectors=e.selectors,this.focusOptions=e.focusOptions||{preventScroll:!0},this.rovingTabIndex=void 0===e.rovingTabIndex||e.rovingTabIndex,this.mouseEvents=e.mouseEvents||{},this.keyboardEvents=e.keyboardEvents||{},this.focusClass=e.focusClass,this.lastFocused=null}get elements(){return this.root.current?Array.from(this.root.current.querySelectorAll(this.selectors.join(","))):[]}get first(){return this.root.current&&this.root.current.querySelector(this.selectors.join(","))||null}get last(){const e=this.elements;return e[e.length-1]||null}get current(){return this.elements.find((e=>e.matches(":focus")))||null}next(e,t){const r=t?this.customElements(t):this.elements;let n=r.indexOf(e)+1;return n=n<0?r.length-1:n,r[n%r.length]}previous(e,t){const r=t?this.customElements(t):this.elements;let n=r.indexOf(e)-1;return n=n<0?r.length-1:n,r[n%r.length]}focusNext(e,t){return this.focusNextIndex(e,1,t)}focusPrevious(e,t){return this.focusNextIndex(e,-1,t)}triggerKeyboardEvent(e,t){const r=this.target(e.target),n=r&&r.closest(this.selectors.join(",")),i=" "===e.key?"Space":e.key,o=e.nativeEvent.type;n&&this.keyboardEvents[o][i]&&this.keyboardEvents[o][i].call(void 0,n,this,e,t)}triggerMouseEvent(e){const t=this.target(e.target),r=t&&t.closest(this.selectors.join(",")),n=e.nativeEvent.type;r&&this.mouseEvents[n].call(void 0,r,this,e)}focusElement(e,t){e&&(t&&(this.rovingTabIndex&&t.setAttribute("tabindex","-1"),this.focusClass&&(this.removeFocusClass(t),t.removeEventListener("focus",this.setFocusClass))),this.rovingTabIndex&&e.setAttribute("tabindex",String(this.tabIndex)),this.focusClass&&(e.classList.add(this.focusClass),e.addEventListener("focus",this.setFocusClass)),e.focus(this.focusOptions),this.lastFocused=e)}initializeRovingTab(e){const t=e?this.elements[e]:this.first;t&&(this.focusClass&&t.addEventListener("focus",this.setFocusClass),t.setAttribute("tabindex",String(this.tabIndex)),this.disableTabindexForRest(t))}removeFocusListener(){this.lastFocused&&this.lastFocused.removeEventListener("focus",this.setFocusClass)}removeFocusClass(e){this.focusClass&&e.classList.remove(this.focusClass)}customElements(e){return this.root.current?Array.from(this.root.current.querySelectorAll(e.join(","))):[]}target(e){var t;const r=e&&e.ownerDocument||null;return e instanceof(r&&(null==(t=null==r?void 0:r.defaultView)?void 0:t.Element)||Element)?e:null}},e.RowHeightService=class{constructor(e=0,t,r,n){this.total=e,this.offsets=[],this.heights=[];let i=0;for(let o=0;o<e;o++){this.offsets.push(i);const e=n&&n[o].expanded&&"data"===n[o].rowType?r:t;i+=e,this.heights.push(e)}}height(e){return this.heights[e]}index(e){for(let t=0;t<this.offsets.length;t++){if(e===this.offsets[t])return t;if(e<this.offsets[t])return t-1}return this.total-1}offset(e){return this.offsets[e]}totalHeight(){return this.offsets[this.offsets.length-1]+this.heights[this.heights.length-1]}},e.SortedPublicItemIds=ut,e.SvgIcon=Te,e.TABBABLE_ELEMENTS=L,e.TreeFieldsService=class{constructor(e){this.expandField=e.expandField,this.selectField=e.selectField,this.hasChildrenField=e.hasChildrenField,this.childrenField=e.childrenField,this.textField=e.textField,this.disableField=e.disableField,this.checkField=e.checkField,this.checkIndeterminateField=e.checkIndeterminateField,this.focusIdField=e.focusIdField}expanded(e){return ct(this.expandField,e)}selected(e){return ct(this.selectField,e)}text(e){return ct(this.textField,e)}disabled(e){return ct(this.disableField,e)}hasChildren(e){return ct(this.hasChildrenField,e)}children(e){return ct(this.childrenField,e)||[]}checked(e){return ct(this.checkField,e)}checkIndeterminate(e){return ct(this.checkIndeterminateField,e)}focusId(e){return this.focusIdField&&ct(this.focusIdField,e)}getChildrenField(){return this.childrenField}},e.Typography=Ge,e.UnstyledContext=te,e.WatermarkOverlay=()=>{const[e,t]=a.useState(!0),[r,n]=a.useState(!1);a.useEffect((()=>{K||(n(!0),K=!0)}),[]);const i=a.createElement(a.Fragment,null,e&&a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",position:"fixed",top:"16px",right:"16px",padding:"12px",borderRadius:"4px",boxShadow:"0px 4px 5px 0px rgba(0, 0, 0, 0.04), 0px 2px 4px 0px rgba(0, 0, 0, 0.03)",fontSize:"14px",fontWeight:400,lineHeight:"20px",backgroundColor:"#FFC000",color:"#1E1E1E",zIndex:2e3}},a.createElement("span",{style:{display:"flex",alignSelf:"center",marginRight:"8px"}},a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 1L0 15H16L8 1ZM7 6V11H9V6H7ZM7 14V12H9V14H7Z",fill:"#1E1E1E"}))),a.createElement("span",null,"No valid license found for KendoReact. Learn how to activate your license."),a.createElement("div",{style:{display:"flex",alignItems:"center",marginLeft:"24px"}},a.createElement("a",{href:"https://www.telerik.com/kendo-react-ui/components/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-banner",style:{marginRight:"8px",display:"flex"}},a.createElement("button",{title:"Learn More",style:{display:"inline-flex",position:"relative",border:"none",borderRadius:"4px",padding:"5px",backgroundColor:"transparent",transition:"color 0.2s ease-in-out",outline:"none",cursor:"pointer"}},a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},a.createElement("path",{d:"M15 8C15 11.8656 11.8656 15 8 15C4.13437 15 1 11.8656 1 8C1 4.13437 4.13437 1 8 1C11.8656 1 15 4.13437 15 8ZM14 8C14 4.6875 11.3125 2 8 2C4.6875 2 2 4.6875 2 8C2 11.3125 4.6875 14 8 14C11.3125 14 14 11.3125 14 8ZM11 6C11 7.4125 10.2687 8.05937 9.73125 8.53125C9.25937 8.94688 9 9.17813 9 10H7C7 8.275 7.84688 7.525 8.40938 7.03125C8.84062 6.65312 9 6.50938 9 6C9 5.45 8.55 5 8 5C7.45 5 7 5.45 7 6H5C5 4.34375 6.34375 3 8 3C9.65625 3 11 4.34375 11 6ZM9 13V11H7V13H9Z",fill:"#1E1E1E"})))),a.createElement("button",{title:"Close",style:{display:"inline-flex",position:"relative",border:"none",borderRadius:"4px",padding:"5px",backgroundColor:"transparent",transition:"color 0.2s ease-in-out",outline:"none",cursor:"pointer"},onClick:()=>{t(!1)}},a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},a.createElement("path",{d:"M13 4.41562L9.41563 8L13 11.5844L11.5844 13L8 9.41563L4.41562 13L3 11.5844L6.58437 8L3 4.41562L4.41562 3L8 6.58437L11.5844 3L13 4.41562Z",fill:"#1E1E1E"}))))));return a.createElement(a.Fragment,null,a.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:0,left:0,right:0,bottom:0,opacity:.12,zIndex:101,pointerEvents:"none",backgroundImage:"url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABVxSURBVHgB7Z3tVRtJE4WL9zgANgLLGRCCnAGOADmCxRGgDFAGYiOADKQMIAGO9J8ji42g37mjqlUjBgOanpn+uM85sjC2sKzbVd1dVV0tQgghhBBCCCGEEEIIKRPn3Gn1GAlJmmN1pP558J6OX9540ejh4WGlX09OTk7+EZIclXYXlY43+vVflY7PH3wd9c+AY/Wvvcb9/b0bjUYOz/hBQpICmh1oOPrEa6l/4rTR337AhIMgTSqtzg+0m8gnof7p0mD8EzmGhkFwJiR6np6e7luLL9Q/RTDTBzF+7wfWg2CxWOCHjYVET6XTdLPZrFuLL9Q/NeCkoVUQ4/d+6Ijev1yof1rAUVMvQgjJHebrSRu+CEmWo/O8hISgCjStKpgiGoDWed4AUP/hwGf++Pi4hQYyFHgDzBP3T7A8b0uo/zD4+sMBy1CwWKR/YjF+fS/Uv2di0t/eEAdBT0QnvlD/PolR/xoO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a78Zlz5hSMZ/Znq6Y4UikVMf72oYyYkGNHrT+PvnpgHAVd+3ROt/jT+/ohxEFD//ohOf4rfPzENAurfP1E5AVzPRPH7xx8EuJ1WBoDGPxyH+ruhjlTjbnR9AxMhvYLPHA4YGkjPIMpP4x+WIfUnhYMZx2voMRFCSFlohVqR3XwIIaQc3O5OtrGQJFC9RkKKRCsyRxICi/YuFgvs986ERA3Eh1ahUkT4GQg0Vc9XQqInqP6ODRyTA046VJ7Y1x/XdgmJnmD6M8+bLiGKRVjemy6t9WeeN30aBsGHI/bUP33a6M88bybYIPjs9o3658Gx+tuLmefNgGN1pP55QB0JIYQQQgghhBBCCJGy+T9ftRg+rVNPfAAAAABJRU5ErkJggg==')"}}),r&&s.createPortal(i,document.body))},e.ZIndexContext=b,e.addItem=function e(t,r,n,i,o){const l=o.slice();if(m(i))if("child"===r){const e=l[Number(i)]={...l[Number(i)]};e[n]?(e[n]=e[n].slice(),e[n].push(t)):e[n]=[t]}else l.splice(Number(i)+("after"===r?1:0),0,t);else{const o=Number(d(i)),a=l[o]={...l[o]};a[n]=e(t,r,n,p(i),a[n])}return l},e.animationStyles=Ee,e.applyTrappedFocus=(e,t,r,n)=>{let i=!0;e.keyCode===D.enter||e.target!==t?(e.keyCode===D.enter&&e.target===t?(i=!0,setTimeout((()=>{H(t,n)}),1)):e.keyCode===D.esc?(i=!1,t.focus()):B(e,t,n),r&&r(i)):r&&r(!1)},e.areAllDirectChildrenChecked=function(e,t,r,n,i){return(e[n]||[]).every(((e,n)=>i.indexOf(r?ct(r,e):f(n,t))>-1))},e.canUseDOM=k,e.canUseRef=e=>"string"!=typeof Comment&&((e=>{var t;return!("function"!=typeof e||null==(t=e.prototype)||!t.isReactComponent)})(e)||(e=>!(!e.$$typeof||"function"!=typeof e.render))(e)),e.classNames=y,e.clone=function(e){const t={};return E(e,t),t},e.cloneArray=I,e.cloneDate=w,e.cloneObject=E,e.cloneValue=A,e.createPropsContext=()=>a.createContext((e=>e)),e.disableNavigatableContainer=(e,t)=>{const r=T(e,t);r&&r.forEach((e=>{e.tabIndex=-1}))},e.dispatchEvent=function(e,t,r,n){if(e){const i={syntheticEvent:t,nativeEvent:t.nativeEvent,target:r};e.call(void 0,Object.assign(i,n))}},e.enableNavigatableContainer=(e,t)=>{const r=T(e,t);r&&r.forEach((e=>{e.tabIndex=0}))},e.extendDataItem=(e,t,r)=>Object.assign({},e,e[t]?{[t]:e[t].slice()}:{},r||{}),e.firstFocusableChild=F,e.focusFirstFocusableChild=H,e.focusLastFocusableChild=(e,t)=>{if(e){const r=S(e,t);r&&r.focus()}},e.focusableChildren=T,e.getActiveElement=e=>{if(e&&e.activeElement)return st(e.activeElement)},e.getAllDirectIndirectChildrenIds=function(e,t,r,n){return n?function e(t){let i=[];const o=t[r]||[];for(let t=0;t<o.length;t++)i.push(ct(n,o[t])),i=i.concat(e(o[t]));return i}(e):function e(t,n){let i=[];const o=t[r]||[];for(let t=0;t<o.length;t++){const r=f(t,n);i.push(r),i=i.concat(e(o[t],r))}return i}(e,t)},e.getAllParents=function(e,t,r){const n=[],i=x(e);let o=r;for(let e=0;e<i.length-1&&o;e++){const r=o[Number(i[e])];n.push(r),o=r[t]}return n},e.getInnerActiveElement=st,e.getItemPath=(e,t,r)=>{const n=[],i=[...t];if(i.length){let t=e[i.shift()||0];for(n.push(t);i.length&&r;)t=t[r][i.shift()||0],n.push(t)}return n},e.getNestedValue=ct,e.getScrollbarWidth=()=>!(!k||!document.body)&&(new C).scrollbarWidth,e.getTabIndex=(e,t,r)=>{const n="string"==typeof e?parseInt(e):e;if(!Number.isNaN(n))return void 0!==n?n:t?r?void 0:-1:0},e.getter=function(e){if(j[e])return j[e];const t=N(e);return j[e]=function(e){let r=e;for(let e=0;e<t.length&&r;e++)r=r[t[e]];return r},j[e]},e.guid=Q,e.hasChildren=dt,e.hasRelativeStackingContext=e=>{if(!k)return!1;const t=e?e.ownerDocument:document;if(!t||!t.body)return!1;const r=t.createElement("div");r.style.transform="matrix(10, 0, 0, 10, 0, 0)";const n=t.createElement("div");n.appendChild(t.createTextNode("child")),n.style.position="fixed",n.style.top="10px",r.appendChild(n),t.body.appendChild(r);const i=10!==n.getBoundingClientRect().top;return t.body.removeChild(r),i},e.isArray=function(e){return void 0!==e.length},e.isEnabledAndAllParentsEnabled=function(e,t,r){const n=x(e);let i=t;for(let e=0;e<n.length;e++){const t=i[Number(n[e])];if(r.disabled(t))return!1;i=t[r.getChildrenField()]}return!0},e.isItemExpandedAndWithChildren=function(e,t){return t.expanded(e)&&dt(e,t.getChildrenField())},e.jsonTheme=Pe,e.keepFocusInContainer=B,e.kendoThemeMaps={sizeMap:{small:"sm",medium:"md",large:"lg"},roundedMap:{small:"sm",medium:"md",large:"lg"},orientationMap:{vertical:"vstack",horizontal:"hstack"}},e.lastFocusableChild=S,e.mapTree=(e,t,r)=>[...e.map((e=>J(e,t,r)))],e.mapTreeItem=(e,t,r,n)=>{let i=e;const o=[];for(let e=0;e<t.length;e++)i=i[t[e]],i=Array.isArray(i)?i:i[r],o.push(i);const l=o.length>1?o[o.length-2]:e,a=t[t.length-1],s=n(l[a]);l.splice(a,1,s)},e.memoizeOne=function(e,t=at){let r=null;function n(...n){if(r&&r.lastThis===this&&t(n,r.lastArgs))return r.lastResult;const i=e.apply(this,n);return r={lastResult:i,lastArgs:n,lastThis:this},i}return n.clear=function(){r=null},n},e.noop=U,e.removeItem=function e(t,r,n){const i=n.slice();if(m(t))i.splice(Number(t),1);else{const n=Number(d(t)),o=i[n]={...i[n]};o[r]=e(p(t),r,o[r])}return i},e.resolveItemId=function(e,t,r,n){const i=pt([e],t,r,n);return i.length?i[0]:void 0},e.resolveItemsIds=pt,e.setScrollbarWidth=e=>{if(!k||!document.body)return!1;const t=e||(new C).scrollbarWidth;document.body.style.setProperty("--kendo-scrollbar-width",`${t}px`)},e.setter=function(e){if(V[e])return V[e];const t=N(e);return V[e]=(e,r,n)=>{let i=e;const o=t.length-1;for(let e=0;e<o&&i;e++)i=i[t[e]]=i[t[e]]||X(t[e+1],n);i[t[o]]=r},V[e]},e.shouldShowValidationUI=function(e){return!G.some((e=>{var t;return null==(t=globalThis.document)?void 0:t.location.hostname.endsWith(e)}))&&!r.validatePackage(e)},e.svgIconPropType=de,e.toIconClass=ue,e.toIconName=e=>e.replace(/^k-i-/,""),e.treeIdUtils=g,e.uAnimation=zt,e.uButton=xt,e.uDropDownButton=gt,e.uGrid=Lt,e.uMaskedTextBox=It,e.uPopup=Ot,e.uRadioButton=yt,e.uRadioGroup=Et,e.uSvgIcon=Le,e.updateItem=function e(t,r,n,i,o){const l=Number(d(r));if(l>=t.length)return t;let a=t,s=t[l];return s[i]||(a=t.slice(),s=a[l]=Object.assign({},s,{[i]:!0})),m(r)?n(s):s[o]&&(s[o]=e(s[o],p(r),n,i,o)),a},e.useAsyncFocusBlur=Z,e.useCollection=ae,e.useCustomComponent=e=>e?e===a.Fragment?[oe,{}]:a.isValidElement(e)?[e.type,e.props]:[e,{}]:[ie,{}],e.useDir=function(e,t,r){const[n,i]=a.useState(t);return a.useEffect((()=>{if(!n&&window&&e.current){const t=window.getComputedStyle(e.current).direction;t&&i(t)}}),r),n},e.useDocument=se,e.useDraggable=rt,e.useDroppable=it,e.useId=ee,e.useIsomorphicLayoutEffect=_,e.useMouse=ne,e.usePropsContext=W,e.useRtl=function(e,t,r){const[n,i]=a.useState(t);return a.useEffect((()=>{if(!n&&window&&e.current){const t=window.getComputedStyle(e.current).direction;t&&i(t)}}),r),n},e.useUnstyled=re,e.useWindow=e=>{const t=se(e);return a.useCallback((()=>{const e=t();return e&&e.defaultView||window}),[t])},e.useZIndexContext=()=>a.useContext(b),e.validatePackage=q,e.withIdHOC=e=>a.forwardRef(((t,r)=>{const n=ee(t.id);return a.createElement(e,{...t,id:n,ref:r})})),e.withPropsContext=(e,t)=>a.forwardRef(((r,n)=>{const i=W(e,r);return a.createElement(t,{...i,ref:n})})),e.withUnstyledHOC=e=>a.forwardRef(((t,r)=>{const n=re();return a.createElement(e,{...t,ref:r,unstyled:n})}))}));
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),s=require("../unstyled/main.js");function u(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const c=u(o),a=e=>c.forwardRef((n,t)=>{const r=s.useUnstyled();return c.createElement(e,{...n,ref:t,unstyled:r})});exports.withUnstyledHOC=a;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ "use client";
9
+ import * as e from "react";
10
+ import { useUnstyled as s } from "../unstyled/main.mjs";
11
+ const l = (t) => e.forwardRef((r, n) => {
12
+ const o = s();
13
+ return /* @__PURE__ */ e.createElement(t, { ...r, ref: n, unstyled: o });
14
+ });
15
+ export {
16
+ l as withUnstyledHOC
17
+ };
package/icons/SvgIcon.js CHANGED
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const z=require("react"),n=require("prop-types"),j=require("../classNames.js"),I=require("./constants.js");function B(e){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const l=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(s,o,l.get?l:{enumerable:!0,get:()=>e[o]})}}return s.default=e,Object.freeze(s)}const t=B(z),u=t.forwardRef((e,s)=>{const{children:o,className:l,svgClassName:y,icon:i,flip:d,id:b,tabIndex:x,size:m,style:r,svgStyle:S,themeColor:h,viewBox:f,name:C,onClick:N,...k}=e,g=t.useRef(null);t.useImperativeHandle(s,()=>({element:g.current}));const v=t.useMemo(()=>i?i.name:c.icon,[i]),w=t.useMemo(()=>m||c.size,[m]),a=t.useMemo(()=>d||c.flip,[d]),M=t.useMemo(()=>f||c.viewBox,[f]),O=t.useMemo(()=>j.classNames("k-icon","k-svg-icon","k-svg-i-"+v,{[`k-color-${h}`]:h,"k-flip-h":a==="horizontal"||a==="both","k-flip-v":a==="vertical"||a==="both"},I.SIZE_CLASSES[w],l),[v,h,w,a,l]),P=t.useMemo(()=>e.width&&e.height?{width:e.width,height:e.height,...r}:e.width?{width:e.width,height:e.width,...r}:e.height?{width:e.height,height:e.height,...r}:{...r},[e.width,e.height,r]);return t.createElement("span",{className:O,style:P,ref:g,onClick:N,"aria-hidden":!0},t.createElement("svg",{id:b,className:y,style:S,"aria-hidden":!0,tabIndex:x,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:i?i.viewBox:M,dangerouslySetInnerHTML:i?{__html:i.content}:void 0,...k},i?void 0:o))});u.propTypes={style:n.object,classNames:n.string,children:n.any,icon:n.object,themeColor:n.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:n.oneOf(["default","xsmall","small","medium","large","xlarge","xxlarge","xxxlarge"]),flip:n.oneOf(["default","horizontal","vertical","both"])};const c={size:"default",flip:"default",icon:"",viewBox:"0 0 24 24"};u.displayName="KendoSvgIcon";exports.SvgIcon=u;
8
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("react"),i=require("prop-types"),B=require("../classNames.js"),C=require("../unstyled/icons.js"),q=require("../unstyled/main.js");function R(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const s in e)if(s!=="default"){const l=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(o,s,l.get?l:{enumerable:!0,get:()=>e[s]})}}return o.default=e,Object.freeze(o)}const t=R(p),h=t.forwardRef((e,o)=>{const{children:s,className:l,svgClassName:b,icon:n,flip:d,id:x,tabIndex:S,size:m,style:r,svgStyle:N,themeColor:f,viewBox:g,name:T,onClick:I,...z}=e,v=t.useRef(null),u=q.useUnstyled(),M=u&&u.uSvgIcon?u.uSvgIcon:C.uSvgIcon;t.useImperativeHandle(o,()=>({element:v.current}));const w=t.useMemo(()=>n?n.name:c.icon,[n]),y=t.useMemo(()=>m||c.size,[m]),a=t.useMemo(()=>d||c.flip,[d]),O=t.useMemo(()=>g||c.viewBox,[g]),P=t.useMemo(()=>B.classNames(M.wrapper({iconNameProp:w,themeColor:f,flipH:a==="horizontal"||a==="both",flipV:a==="vertical"||a==="both",size:y}),l),[w,f,y,a,l]),j=t.useMemo(()=>e.width&&e.height?{width:e.width,height:e.height,...r}:e.width?{width:e.width,height:e.width,...r}:e.height?{width:e.height,height:e.height,...r}:{...r},[e.width,e.height,r]);return t.createElement("span",{className:P,style:j,ref:v,onClick:I,"aria-hidden":!0},t.createElement("svg",{id:x,className:b,style:N,"aria-hidden":!0,tabIndex:S,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:n?n.viewBox:O,dangerouslySetInnerHTML:n?{__html:n.content}:void 0,...z},n?void 0:s))});h.propTypes={style:i.object,classNames:i.string,children:i.any,icon:i.object,themeColor:i.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:i.oneOf(["default","xsmall","small","medium","large","xlarge","xxlarge","xxxlarge"]),flip:i.oneOf(["default","horizontal","vertical","both"])};const c={size:"default",flip:"default",icon:"",viewBox:"0 0 24 24"};h.displayName="KendoSvgIcon";exports.SvgIcon=h;
package/icons/SvgIcon.mjs CHANGED
@@ -8,90 +8,86 @@
8
8
  "use client";
9
9
  import * as t from "react";
10
10
  import o from "prop-types";
11
- import { classNames as C } from "../classNames.mjs";
12
- import { SIZE_CLASSES as I } from "./constants.mjs";
13
- const g = t.forwardRef((e, v) => {
11
+ import { classNames as P } from "../classNames.mjs";
12
+ import { uSvgIcon as R } from "../unstyled/icons.mjs";
13
+ import { useUnstyled as H } from "../unstyled/main.mjs";
14
+ const v = t.forwardRef((e, w) => {
14
15
  const {
15
- children: w,
16
- className: r,
17
- svgClassName: x,
16
+ children: x,
17
+ className: a,
18
+ svgClassName: y,
18
19
  icon: i,
19
- flip: h,
20
- id: y,
20
+ flip: c,
21
+ id: I,
21
22
  tabIndex: N,
22
- size: c,
23
- style: l,
24
- svgStyle: S,
25
- themeColor: a,
26
- viewBox: m,
27
- name: P,
28
- onClick: k,
23
+ size: h,
24
+ style: n,
25
+ svgStyle: z,
26
+ themeColor: m,
27
+ viewBox: d,
28
+ name: O,
29
+ onClick: S,
29
30
  ...b
30
- } = e, d = t.useRef(null);
31
+ } = e, u = t.useRef(null), r = H(), M = r && r.uSvgIcon ? r.uSvgIcon : R;
31
32
  t.useImperativeHandle(
32
- v,
33
+ w,
33
34
  () => ({
34
- element: d.current
35
+ element: u.current
35
36
  })
36
37
  );
37
38
  const f = t.useMemo(
38
- () => i ? i.name : s.icon,
39
+ () => i ? i.name : l.icon,
39
40
  [i]
40
- ), u = t.useMemo(
41
- () => c || s.size,
42
- [c]
43
- ), n = t.useMemo(
44
- () => h || s.flip,
41
+ ), g = t.useMemo(
42
+ () => h || l.size,
45
43
  [h]
46
- ), z = t.useMemo(
47
- () => m || s.viewBox,
48
- [m]
49
- ), M = t.useMemo(
50
- () => C(
51
- "k-icon",
52
- "k-svg-icon",
53
- "k-svg-i-" + f,
54
- {
55
- [`k-color-${a}`]: a,
56
- "k-flip-h": n === "horizontal" || n === "both",
57
- "k-flip-v": n === "vertical" || n === "both"
58
- },
59
- I[u],
60
- r
61
- ),
62
- [f, a, u, n, r]
44
+ ), s = t.useMemo(
45
+ () => c || l.flip,
46
+ [c]
47
+ ), p = t.useMemo(
48
+ () => d || l.viewBox,
49
+ [d]
63
50
  ), B = t.useMemo(
64
- () => e.width && e.height ? { width: e.width, height: e.height, ...l } : e.width ? { width: e.width, height: e.width, ...l } : e.height ? { width: e.height, height: e.height, ...l } : { ...l },
65
- [e.width, e.height, l]
51
+ () => P(M.wrapper({
52
+ iconNameProp: f,
53
+ themeColor: m,
54
+ flipH: s === "horizontal" || s === "both",
55
+ flipV: s === "vertical" || s === "both",
56
+ size: g
57
+ }), a),
58
+ [f, m, g, s, a]
59
+ ), C = t.useMemo(
60
+ () => e.width && e.height ? { width: e.width, height: e.height, ...n } : e.width ? { width: e.width, height: e.width, ...n } : e.height ? { width: e.height, height: e.height, ...n } : { ...n },
61
+ [e.width, e.height, n]
66
62
  );
67
63
  return /* @__PURE__ */ t.createElement(
68
64
  "span",
69
65
  {
70
- className: M,
71
- style: B,
72
- ref: d,
73
- onClick: k,
66
+ className: B,
67
+ style: C,
68
+ ref: u,
69
+ onClick: S,
74
70
  "aria-hidden": !0
75
71
  },
76
72
  /* @__PURE__ */ t.createElement(
77
73
  "svg",
78
74
  {
79
- id: y,
80
- className: x,
81
- style: S,
75
+ id: I,
76
+ className: y,
77
+ style: z,
82
78
  "aria-hidden": !0,
83
79
  tabIndex: N,
84
80
  focusable: !1,
85
81
  xmlns: "http://www.w3.org/2000/svg",
86
- viewBox: i ? i.viewBox : z,
82
+ viewBox: i ? i.viewBox : p,
87
83
  dangerouslySetInnerHTML: i ? { __html: i.content } : void 0,
88
84
  ...b
89
85
  },
90
- i ? void 0 : w
86
+ i ? void 0 : x
91
87
  )
92
88
  );
93
89
  });
94
- g.propTypes = {
90
+ v.propTypes = {
95
91
  style: o.object,
96
92
  classNames: o.string,
97
93
  children: o.any,
@@ -112,13 +108,13 @@ g.propTypes = {
112
108
  size: o.oneOf(["default", "xsmall", "small", "medium", "large", "xlarge", "xxlarge", "xxxlarge"]),
113
109
  flip: o.oneOf(["default", "horizontal", "vertical", "both"])
114
110
  };
115
- const s = {
111
+ const l = {
116
112
  size: "default",
117
113
  flip: "default",
118
114
  icon: "",
119
115
  viewBox: "0 0 24 24"
120
116
  };
121
- g.displayName = "KendoSvgIcon";
117
+ v.displayName = "KendoSvgIcon";
122
118
  export {
123
- g as SvgIcon
119
+ v as SvgIcon
124
120
  };