@progress/kendo-themes-html 14.7.1-dev.5 → 14.7.1-dev.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/chat/chat-message.spec.js +1 -1
- package/dist/cjs/chat/demos/chat.js +1 -1
- package/dist/cjs/chat/templates/chat-empty.js +1 -1
- package/dist/cjs/chat/templates/chat-expandable.js +1 -1
- package/dist/cjs/chat/templates/chat-failed.js +1 -1
- package/dist/cjs/chat/templates/chat-message-skeleton.js +1 -1
- package/dist/cjs/chat/templates/chat-message-toolbar.js +1 -1
- package/dist/cjs/chat/templates/chat-normal.js +1 -1
- package/dist/cjs/chat/templates/chat-pinned.js +1 -1
- package/dist/cjs/chat/templates/chat-stop-response.js +1 -1
- package/dist/cjs/chat/templates/chat-textarea-file.js +1 -1
- package/dist/cjs/chat/templates/chat-typing.js +1 -1
- package/dist/cjs/chat/templates/chat-upload.js +1 -1
- package/dist/cjs/datainsights-composer/demos/datainsights-composer.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-data-source-browser-popup.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-data-source-fields-popup.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-error.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-followup.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-history-popup.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-loading.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-prompt-many-data-sources.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-prompt.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-report-edit-panel-compact.js +1 -0
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-report-edit-panel.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-report.js +1 -1
- package/dist/cjs/index.js +8 -8
- package/dist/cjs/prompt/demos/prompt.js +1 -1
- package/dist/cjs/prompt/templates/prompt-inline-input-only.js +1 -1
- package/dist/cjs/prompt/templates/prompt-inline.js +1 -1
- package/dist/cjs/prompt/templates/prompt-more-actions.js +1 -1
- package/dist/cjs/prompt/templates/prompt-normal.js +1 -1
- package/dist/cjs/prompt/templates/prompt-output.js +1 -1
- package/dist/cjs/prompt/templates/prompt-popup.js +1 -1
- package/dist/cjs/prompt/templates/prompt-settings.js +1 -1
- package/dist/cjs/prompt/templates/prompt-suggestions.js +1 -1
- package/dist/cjs/suggestion/suggestion.js +1 -1
- package/dist/cjs/suggestion/templates/suggestion-group-normal.js +1 -1
- package/dist/cjs/suggestion/templates/suggestion-group-scrollable-buttons.js +1 -1
- package/dist/cjs/suggestion/templates/suggestion-group-wrap.js +1 -1
- package/dist/cjs/timepicker/demos/timepicker.js +1 -1
- package/dist/cjs/timepicker/templates/timepicker-adaptive.js +1 -1
- package/dist/cjs/timepicker/templates/timepicker-disabled.js +1 -1
- package/dist/cjs/timepicker/templates/timepicker-invalid.js +1 -1
- package/dist/cjs/timepicker/templates/timepicker-normal.js +1 -1
- package/dist/cjs/timepicker/templates/timepicker-popup.js +1 -1
- package/dist/cjs/timepicker/timepicker.spec.js +1 -1
- package/dist/esm/chat/chat-message.spec.mjs +1 -1
- package/dist/esm/chat/demos/chat.mjs +1 -1
- package/dist/esm/chat/templates/chat-empty.mjs +1 -1
- package/dist/esm/chat/templates/chat-expandable.mjs +1 -1
- package/dist/esm/chat/templates/chat-failed.mjs +1 -1
- package/dist/esm/chat/templates/chat-message-skeleton.mjs +1 -1
- package/dist/esm/chat/templates/chat-message-toolbar.mjs +1 -1
- package/dist/esm/chat/templates/chat-normal.mjs +1 -1
- package/dist/esm/chat/templates/chat-pinned.mjs +1 -1
- package/dist/esm/chat/templates/chat-stop-response.mjs +1 -1
- package/dist/esm/chat/templates/chat-textarea-file.mjs +1 -1
- package/dist/esm/chat/templates/chat-typing.mjs +1 -1
- package/dist/esm/chat/templates/chat-upload.mjs +1 -1
- package/dist/esm/datainsights-composer/demos/datainsights-composer.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-data-source-browser-popup.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-data-source-fields-popup.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-error.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-followup.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-history-popup.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-loading.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-prompt-many-data-sources.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-prompt.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-report-edit-panel-compact.mjs +1 -0
- package/dist/esm/datainsights-composer/templates/datainsights-composer-report-edit-panel.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-report.mjs +1 -1
- package/dist/esm/index.mjs +8 -8
- package/dist/esm/prompt/demos/prompt.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-inline-input-only.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-inline.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-more-actions.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-normal.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-output.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-popup.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-settings.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-suggestions.mjs +1 -1
- package/dist/esm/suggestion/suggestion.mjs +1 -1
- package/dist/esm/suggestion/templates/suggestion-group-normal.mjs +1 -1
- package/dist/esm/suggestion/templates/suggestion-group-scrollable-buttons.mjs +1 -1
- package/dist/esm/suggestion/templates/suggestion-group-wrap.mjs +1 -1
- package/dist/esm/timepicker/demos/timepicker.mjs +1 -1
- package/dist/esm/timepicker/templates/timepicker-adaptive.mjs +1 -1
- package/dist/esm/timepicker/templates/timepicker-disabled.mjs +1 -1
- package/dist/esm/timepicker/templates/timepicker-invalid.mjs +1 -1
- package/dist/esm/timepicker/templates/timepicker-normal.mjs +1 -1
- package/dist/esm/timepicker/templates/timepicker-popup.mjs +1 -1
- package/dist/esm/timepicker/timepicker.spec.mjs +1 -1
- package/dist/types/datainsights-composer/index.d.ts +1 -0
- package/dist/types/datainsights-composer/templates/datainsights-composer-report-edit-panel-compact.d.ts +2 -0
- package/package.json +1 -1
- package/src/action-sheet/tests/action-sheet-date-time-selector.tsx +1 -1
- package/src/action-sheet/tests/action-sheet-time-selector.tsx +2 -2
- package/src/datainsights-composer/index.ts +1 -0
- package/src/datainsights-composer/templates/datainsights-composer-report-edit-panel-compact.tsx +65 -0
- package/src/datainsights-composer/templates/datainsights-composer-report-edit-panel.tsx +3 -3
- package/src/datainsights-composer/tests/datainsights-composer-edit-mode-compact.tsx +10 -0
- package/src/suggestion/suggestion.tsx +3 -2
- package/src/timepicker/timepicker.spec.tsx +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var i=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?i(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var I=(e,t)=>i({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),z=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:r,checked:d,active:c,selected:m,disabled:x,indeterminate:h,loading:b,empty:A,readonly:w,highlighted:L,...M}=t;return i({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":r,"k-checked":d,"k-active":c,"k-selected":m,"k-disabled":x,"k-indeterminate":h&&!d,"k-loading":b,"k-empty":A,"k-readonly":w,"k-highlighted":L},Object.keys(M).reduce((E,v)=>(v.startsWith("k-")?E[v]=M[v]:E[`k-${v}`]=M[v],E),{}))};function Et(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var l={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},p={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},N={undefined:void 0,solid:"solid",tint:"tint",flat:"flat",outline:"outline",clear:"clear",link:"link"},D={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},u={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},s={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var Fe={};function It(e){return Fe[e]=(Fe[e]||0)+1,`k-${e}-${Fe[e]}`}var he="input",Oe=he;import{jsx as ko}from"react/jsx-runtime";var Ce="k-input",go=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Oo={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Co={},y=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c,size:m,rounded:x,fillMode:h,...b}=e;return ko("span",{...b,className:i(e.className,Ce,I(Ce,{size:m,rounded:x,fillMode:h}),z(Ce,{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c}))})};y.states=go;y.options=Oo;y.className=Ce;y.defaultOptions=Co;y.moduleName=he;y.folderName=Oe;import{jsx as _o}from"react/jsx-runtime";var ke="k-picker",Lo=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Po={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Ho={},ae=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c,size:m,rounded:x,fillMode:h,...b}=e;return _o("span",{...b,className:i(e.className,ke,I(ke,{size:m,rounded:x,fillMode:h}),z(ke,{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c})),children:e.children})};ae.states=Lo;ae.options=Po;ae.className=ke;ae.defaultOptions=Ho;ae.moduleName=he;ae.folderName=Oe;import{Fragment as wo,jsx as yt}from"react/jsx-runtime";var Ve="k-font-icon",Ro=[],Ko={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info]},Bo={},be=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:r,...d}=e;return a?yt("span",{...d,className:i(e.className,Ve,I(Ve,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),"aria-hidden":"true"}):yt(wo,{})};be.states=Ro;be.options=Ko;be.className=Ve;be.defaultOptions=Bo;var gt=be;import{Fragment as Fo,jsx as Le}from"react/jsx-runtime";var Ue="k-svg-icon",zo=[],Do={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info],variant:[D.outline,D.solid,D.duotone]},$e={viewBox:"0 0 24 24",variant:D.outline},Se=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:r=$e.viewBox,variant:d=$e.variant,icon:c,...m}=e;if(!c)return Le(Fo,{});if(c==="none")return Le("span",{...m,className:i(e.className,Ue,I("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let x=typeof c=="object"&&c.name&&c.name,h=typeof c=="object"?d&&c.variants?.[d]||c.variants?.outline||c.content:void 0;return Le("span",{...m,className:i(e.className,Ue,I("k-icon",{size:t}),{[`k-svg-i-${x}`]:x,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:Le("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:r,dangerouslySetInnerHTML:h!==void 0?{__html:h}:void 0,children:c?void 0:e.children})})};Se.states=zo;Se.options=Do;Se.className=Ue;Se.defaultOptions=$e;var Xe=Se;import*as Je from"@progress/kendo-svg-icons";var Ot="icon",Ct="icons";import{useContext as Uo}from"react";import{createContext as Vo}from"react";var kt=Vo({iconsType:"svg"});import{Fragment as Lt,jsx as ve}from"react/jsx-runtime";var Pe="k-icon",$o=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Xo=[],Jo={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info],variant:[D.outline,D.solid,D.duotone]},He={viewBox:"0 0 24 24",type:"svg",variant:D.outline},S=e=>{let{iconsType:t}=Uo(kt),{size:o,themeColor:a,icon:n,type:r=t||He.type,rotate:d,flip:c,viewBox:m=He.viewBox,variant:x=He.variant,...h}=e;if(!n)return ve(Lt,{});if((t||r)==="svg"){if(n==="none")return ve(Xe,{...h,className:i(e.className,Pe),icon:n,size:o,variant:x});let A=Je[n]?n:$o(`${n}-icon`);return Je[A]?ve(Xe,{...h,className:i(e.className,Pe),icon:Je[A],size:o,themeColor:a,rotate:d,flip:c,viewBox:m,variant:x}):ve(Lt,{})}return ve(gt,{...h,className:i(e.className,Pe),icon:n,size:o,themeColor:a,rotate:d,flip:c})};S.states=Xo;S.options=Jo;S.defaultOptions=He;S.className=Pe;S.moduleName=Ot;S.folderName=Ct;import{Fragment as Yo,jsx as qe}from"react/jsx-runtime";var Pt="k-clear-value",qo=[s.disabled,s.loading,s.readonly],Go={},H=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?qe(Yo,{}):qe("span",{className:i(e.className,Pt),children:qe(S,{icon:"x"})})};H.states=qo;H.options=Go;H.className=Pt;import{jsx as Zo}from"react/jsx-runtime";var Ge="k-input-inner",Wo=[],Qo={},_e={type:"text",autocomplete:"off",value:"",placeholder:""},_=e=>{let{value:t=_e.value,type:o=_e.type,placeholder:a=_e.placeholder,autocomplete:n=_e.autocomplete,disabled:r,readOnly:d,...c}=e;return Zo("input",{...c,type:o,className:i(e.className,Ge,I(Ge,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:r||void 0,readOnly:d||void 0})};_.states=Wo;_.options=Qo;_.className=Ge;import{jsx as Ht,jsxs as tn}from"react/jsx-runtime";var Ye="k-input-inner",jo=[],en={},We=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:r,...d}=e;return tn("span",{...d,className:i(e.className,Ye,I(Ye,e)),children:[n,!n&&r&&Ht(S,{className:"k-input-value-icon",icon:r}),a&&!t&&o,a&&t&&Ht("span",{className:"k-input-value-text",children:t})]})};We.states=jo;We.options=en;We.className=Ye;import{jsx as an}from"react/jsx-runtime";var Qe="k-input-inner",on=[],nn={},_t={value:"",placeholder:""},Ze=e=>{let{value:t=_t.value,placeholder:o=_t.placeholder,rows:a,disabled:n,...r}=e;return an("textarea",{...r,className:i(e.className,Qe,I(Qe,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};Ze.states=on;Ze.options=nn;Ze.className=Qe;import{Fragment as rn,jsx as Rt}from"react/jsx-runtime";var Kt="k-input-loading-icon",sn=[s.disabled,s.loading],F=e=>{let{disabled:t,loading:o}=e;return t||!o?Rt(rn,{}):Rt("span",{className:i(e.className,Kt,"k-icon k-i-loading")})};F.states=sn;F.className=Kt;import{Fragment as dn,jsx as Bt}from"react/jsx-runtime";var wt="k-input-validation-icon",ln=[s.valid,s.invalid,s.disabled,s.loading],cn={},R=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,r=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?Bt(dn,{}):Bt(S,{className:i(wt),icon:r})};R.states=ln;R.options=cn;R.className=wt;import{Fragment as un,jsx as zt}from"react/jsx-runtime";var mn="k-input-prefix",pn={direction:"horizontal"},ie=e=>{let{direction:t=pn.direction,...o}=e;return e.children?zt("span",{...o,className:i(mn,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):zt(un,{})};import{Fragment as Nn,jsx as Dt}from"react/jsx-runtime";var fn="k-input-suffix",xn={direction:"horizontal"},se=e=>{let{direction:t=xn.direction,...o}=e;return e.children?Dt("span",{...o,className:i(fn,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Dt(Nn,{})};import{jsx as Qi}from"react/jsx-runtime";import{jsx as ts}from"react/jsx-runtime";import{jsx as bn}from"react/jsx-runtime";var Ft="k-input-separator",hn={direction:"vertical"},re=e=>{let{direction:t=hn.direction,...o}=e;return bn("span",{...o,className:i(Ft,e.className,{[`${Ft}-${t}`]:t})})};var je="button",Vt=je;import{Fragment as et,jsx as J,jsxs as Ut}from"react/jsx-runtime";var Ae="k-button",Sn=["icon-button"],vn=[s.hover,s.focus,s.active,s.selected,s.disabled,s.generating],An={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline,N.clear,N.link],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.inverse]},tt={showArrow:!1,arrowIconName:"chevron-down"},f=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:r,showArrow:d=tt.showArrow,arrowIconName:c=tt.arrowIconName,variant:m,hover:x,focus:h,active:b,selected:A,disabled:w,togglable:L,ariaDisabled:M,icon:E,endIcon:v,iconSize:P,text:$,iconClassName:ne,className:xe,...Ne}=e,j=E!=null,yo=e.children!==void 0;return Ut(t,{className:i(xe,Ae,Et(Ae,m),I(Ae,{size:o,rounded:a,fillMode:n,themeColor:r}),z(Ae,{hover:x,focus:h,active:b,disabled:w||M,selected:A}),{"k-icon-button":!$&&!yo&&j}),"aria-pressed":L?A?"true":"false":void 0,...Ne,"aria-disabled":M?"true":void 0,disabled:w||void 0,children:[typeof E=="string"&&E&&J(S,{className:i(ne,"k-button-icon"),icon:E,size:P}),E&&typeof E!="string"&&J(et,{children:E}),$?Ut(et,{children:[$&&J("span",{className:"k-button-text",children:$}),e.children]}):e.children&&J("span",{className:"k-button-text",children:e.children}),typeof v=="string"&&v&&J(S,{className:i(ne,"k-button-icon"),icon:v,size:P}),v&&typeof v!="string"&&J(et,{children:v}),d&&J("span",{className:"k-menu-button-arrow k-button-arrow",children:J(S,{icon:c})})]})};f.states=vn;f.options=An;f.variants=Sn;f.className=Ae;f.defaultOptions=tt;f.moduleName=je;f.folderName=Vt;import{jsx as Tn}from"react/jsx-runtime";var ee=e=>Tn(f,{children:"Button",...e});import{Fragment as $t,jsx as V,jsxs as ot}from"react/jsx-runtime";var Mn=y.states,En=y.defaultOptions,In=y.options,yn=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],gn=[],le=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:r,readonly:d,...c}=e,m=t?.prefix,x=t?.suffix,h=t?.["clear-button"],b=t?.["validation-icon"],A=t?.separators;return ot(y,{...c,valid:o,invalid:a,loading:n,disabled:r,readonly:d,style:{width:300},children:[m&&ot($t,{children:[V(ie,{children:V(S,{icon:"lock"})}),A&&V(re,{})]}),V(_,{placeholder:"Placeholder",value:"Value"}),b&&V(R,{valid:o,invalid:a,loading:n,disabled:r}),V(F,{loading:n,disabled:r}),h&&V(H,{loading:n,disabled:r,readonly:d,value:"Value"}),x&&ot($t,{children:[A&&V(re,{}),V(se,{children:V(ee,{size:c.size,fillMode:"clear",children:"Send"})})]})]})};le.options=In;le.states=Mn;le.variants=gn;le.defaultOptions=En;le.modifiers=yn;le.className=y.className;import{jsx as On}from"react/jsx-runtime";var Xt=e=>On(f,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as Cn}from"react/jsx-runtime";var Jt=e=>Cn(f,{icon:"folder",children:"Button",...e});import{jsx as Zs}from"react/jsx-runtime";import{jsx as nt}from"react/jsx-runtime";var kn=f.options,Ln=f.states,Pn={...f.defaultOptions,variant:"text"},Hn=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],_n=[],ce=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return nt(Xt,{...o,icon:"star"});case"icon-and-text":return nt(Jt,{...o,icon:"star",children:"Button"});default:return nt(ee,{...o,children:"Button"})}};ce.options=kn;ce.states=Ln;ce.variants=Hn;ce.defaultOptions=Pn;ce.modifiers=_n;ce.className=f.className;var at="popup",qt=at;import{jsx as Gt}from"react/jsx-runtime";var Yt="k-animation-container",Rn=[],Kn={},it={positionMode:"absolute",shown:!0},U=e=>{let{positionMode:t=it.positionMode,shown:o=it.shown,animationStyle:a,offset:n,...r}=e;return Gt("div",{...r,style:{...n,...e.style},className:i(e.className,Yt,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:Gt("div",{className:"k-child-animation-container",style:a,children:e.children})})};U.states=Rn;U.options=Kn;U.className=Yt;U.defaultOptions=it;U.moduleName=at;U.folderName=qt;var st="popup",Wt=st;import{jsx as Qt}from"react/jsx-runtime";var Zt="k-popup",Bn=[],wn={},jt={positionMode:"absolute"},K=e=>{let{offset:t,positionMode:o=jt.positionMode,animationStyle:a,containerClassName:n,containerRole:r,containerAriaLabel:d,...c}=e;return Qt(U,{positionMode:o,offset:t,animationStyle:a,className:n,role:r,"aria-label":d,children:Qt("div",{...c,className:i(e.className,Zt),children:e.children})})};K.states=Bn;K.options=wn;K.className=Zt;K.defaultOptions=jt;K.moduleName=st;K.folderName=Wt;var eo="time-selector",to="timeselector";import{Fragment as oo,jsx as Re,jsxs as no}from"react/jsx-runtime";var rt="k-timeselector",zn=[],Dn={size:[l.undefined,l.small,l.medium,l.large]},Fn={},X=e=>{let{size:t,header:o,fastSelection:a,columns:n,focusedColumn:r,...d}=e,c=n.map(function(m,x){let h=!1,b=!0;return m===r&&(h=!0),(x===0||m==="tt")&&(b=!1),Re(lt,{type:m,focus:h,separator:b},x)});return no("div",{...d,className:i(e.className,rt,I(rt,{size:t})),role:"group","aria-label":"Time selector",children:[Re(oo,{children:o}),Re(oo,{children:a}),no("div",{className:"k-time-list-container",children:[Re("span",{className:"k-time-highlight"}),c]})]})};X.states=zn;X.options=Dn;X.className=rt;X.defaultOptions=Fn;X.moduleName=eo;X.folderName=to;import{Fragment as Un,jsx as te,jsxs as ct}from"react/jsx-runtime";var Vn=[s.focus],lt=e=>{let{type:t,focus:o,separator:a,...n}=e,r,d=["00","01","02","03","04","05","06","07","08","09"];switch(t){case"dd":r="Day";break;case"HH":r="Hour";break;case"mm":r="Minute";break;case"ss":r="Second";break;case"SSS":r="Millisecond",d=["000","001","002","003","004","005","006","007","008","009"];break;case"tt":r="AM/PM",d=["AM","PM"];break;default:r="Column Name";break}let c=d.map((m,x)=>te("li",{className:"k-item",role:"option","aria-selected":"false",children:te("span",{children:m})},x));return ct(Un,{children:[a&&te("div",{className:"k-time-separator",children:":"}),ct("div",{...n,className:i(e.className,"k-time-list-wrapper",z("k-time-list-wrapper",{focus:o})),children:[te("span",{className:"k-title",children:r}),te("div",{className:"k-time-list",role:"listbox","aria-label":r,children:ct("div",{className:"k-content k-scrollable k-time-container",children:[te("ul",{className:"k-reset",style:{transform:"translateY(97px)"},role:"none",children:c}),te("div",{className:"k-scrollable-placeholder"})]})})]})]})};lt.states=Vn;import{jsx as Xn,jsxs as Jn}from"react/jsx-runtime";var $n="k-time-header",de=e=>{let{title:t,...o}=e;return Jn("div",{...o,className:i(e.className,$n),children:[t!=null&&Xn("span",{className:"k-title",children:t}),e.children]})};var dt="action-buttons",ao=dt;import{jsx as Yn}from"react/jsx-runtime";var Ke="k-actions",qn=[],Gn={},mt={alignment:"start",orientation:"horizontal"},C=e=>{let{alignment:t=mt.alignment,orientation:o=mt.orientation,...a}=e;return Yn("div",{...a,className:i(Ke,{[`${Ke}-${t}`]:t,[`${Ke}-${o}`]:o},e.className),children:e.children})};C.states=qn;C.options=Gn;C.className=Ke;C.defaultOptions=mt;C.moduleName=dt;C.folderName=ao;import{jsx as Zr,jsxs as jr}from"react/jsx-runtime";import{Fragment as cl,jsx as rl,jsxs as ll}from"react/jsx-runtime";import{Fragment as Sl,jsx as hl,jsxs as bl}from"react/jsx-runtime";import{Fragment as Cl,jsx as gl,jsxs as Ol}from"react/jsx-runtime";import{jsx as Qn}from"react/jsx-runtime";var Wn="k-actionsheet-footer",so={alignment:"stretched",orientation:"horizontal"},q=e=>{let{alignment:t=so.alignment,orientation:o=so.orientation,template:a,as:n=a?"div":C,...r}=e;return Qn(n,{...r,...!a&&{alignment:t,orientation:o},className:i(e.className,Wn),children:e.children})};var pt="searchbox",ro=pt;import{jsx as Te,jsxs as ea}from"react/jsx-runtime";var lo="k-searchbox",Zn=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading],jn={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Be={showIcon:!0,showClearButton:!0,icon:"search"},G=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:r,hover:d,focus:c,valid:m,invalid:x,required:h,loading:b,disabled:A,showIcon:w=Be.showIcon,showClearButton:L=Be.showClearButton,icon:M=Be.icon,"aria-label":E,...v}=e;return ea(y,{...v,size:a,rounded:n,fillMode:r,hover:d,focus:c,valid:m,invalid:x,required:h,loading:b,disabled:A,className:i(e.className,lo),children:[w&&Te(S,{className:"k-input-icon",icon:M}),Te(_,{placeholder:o,value:t,"aria-label":E}),Te(F,{...e}),Te(R,{...e}),L&&Te(H,{...e})]})};G.states=Zn;G.options=jn;G.className=lo;G.defaultOptions=Be;G.moduleName=pt;G.folderName=ro;import{jsx as jl}from"react/jsx-runtime";var ut="textbox",co=ut;import{Fragment as mo,jsx as Y,jsxs as ft}from"react/jsx-runtime";var po="k-textbox",ta=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],oa={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},we={showClearButton:!0,showValidationIcon:!0,separators:!0},k=e=>{let{size:t,rounded:o,fillMode:a,separators:n=we.separators,showClearButton:r=we.showClearButton,showValidationIcon:d=we.showValidationIcon,prefix:c,suffix:m,type:x,value:h,placeholder:b,hover:A,focus:w,valid:L,invalid:M,required:E,loading:v,disabled:P,readonly:$,id:ne,"aria-label":xe,"aria-describedby":Ne,...j}=e;return ft(y,{...j,size:t,rounded:o,fillMode:a,hover:A,focus:w,valid:L,invalid:M,required:E,loading:v,disabled:P,readonly:$,className:i(e.className,po),children:[c&&ft(mo,{children:[Y(ie,{children:c}),n&&Y(re,{})]}),Y(_,{id:ne,placeholder:b,value:h,type:x,disabled:P,"aria-label":xe,"aria-describedby":Ne,"aria-invalid":M?"true":void 0}),d&&Y(R,{valid:L,invalid:M,loading:v,disabled:P}),Y(F,{loading:v,disabled:P}),r&&Y(H,{loading:v,disabled:P,readonly:$,value:h}),m&&ft(mo,{children:[n&&Y(re,{}),Y(se,{children:m})]})]})};k.states=ta;k.options=oa;k.className=po;k.defaultOptions=we;k.moduleName=ut;k.folderName=co;var Me=k;import{jsx as na}from"react/jsx-runtime";var uo=e=>na(Me,{...e});import{Fragment as hc,jsx as Nc}from"react/jsx-runtime";import{Fragment as Mc,jsx as Tc}from"react/jsx-runtime";import{jsx as gc}from"react/jsx-runtime";import{jsx as xt}from"react/jsx-runtime";var aa=k.states,ia=k.defaultOptions,sa=k.options,ra=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],la=[],me=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?xt(S,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[n]?xt(ee,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;default:break}}),xt(uo,{value:"Value",style:{width:300},...o,...a})};me.options=sa;me.states=aa;me.variants=la;me.defaultOptions=ia;me.modifiers=ra;me.className=k.className;import{jsx as W,jsxs as Nt}from"react/jsx-runtime";var fo="k-actionsheet-titlebar",ca={},B=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:r,input:d,inputValue:c,inputPlaceholder:m,adaptive:x,titleId:h,children:b,...A}=e;return Nt("div",{...A,className:i(e.className,fo),children:[Nt("div",{className:"k-actionsheet-titlebar-group",children:[a&&W("div",{className:"k-actionsheet-actions",children:a}),!b&&Nt("div",{className:"k-actionsheet-title",id:h,children:[t&&W("div",{className:"k-text-center",children:t}),o&&W("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),b&&W("div",{className:"k-actionsheet-title",id:h,children:b}),n&&W("div",{className:"k-actionsheet-actions",children:n})]}),(d||r)&&W("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?W(k,{value:c,placeholder:m,size:x?"large":"medium","aria-label":t||m||"Input"}):W(G,{placeholder:"Filter",size:x?"large":"medium","aria-label":"Filter options"})})]})};B.className=fo;B.defaultOptions=ca;import{jsx as ht,jsxs as ua}from"react/jsx-runtime";var bt="k-actionsheet-view",da=[],ma={},pa={},pe=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:r,titleId:d,...c}=e,m=n?.type===B&&ht(B,{adaptive:t,titleId:d,...n?.props}),x=r?.type===q&&ht(q,{...r?.props});return ua("div",{...c,className:i(e.className,bt,{[`${bt}-animated`]:o}),children:[m,ht("div",{className:"k-actionsheet-content",children:a}),x]})};pe.states=da;pe.options=ma;pe.className=bt;pe.defaultOptions=pa;var Ee="action-sheet",ze=Ee;var St="overlay",xo=St;import{jsx as ha}from"react/jsx-runtime";var No="k-overlay",fa=[],xa={},Na={},Q=e=>{let{...t}=e;return ha("div",{...t,className:i(e.className,No),children:e.children})};Q.states=fa;Q.options=xa;Q.className=No;Q.defaultOptions=Na;Q.moduleName=St;Q.folderName=xo;import{jsx as De,jsxs as va}from"react/jsx-runtime";var ho="k-actionsheet",ba=[],Sa={},Ie={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},O=e=>{let{side:t=Ie.side,fullscreen:o=Ie.fullscreen,adaptive:a=Ie.adaptive,overlay:n=Ie.overlay,template:r,children:d,header:c,footer:m,id:x,...h}=e,b=x&&!r&&c?`${x}-title`:void 0;return va("div",{className:"k-actionsheet-container",children:[n&&De(Q,{}),De(U,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:De("div",{...h,id:x,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":b,className:i(e.className,ho,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:r||De(pe,{header:c,footer:m,adaptive:a,titleId:b,...e,children:d})})})]})};O.states=ba;O.options=Sa;O.className=ho;O.defaultOptions=Ie;O.moduleName=Ee;O.folderName=ze;import{jsx as Ea}from"react/jsx-runtime";var bo="k-actionsheet-container",Aa=[],Ta={},Ma={},ue=e=>{let{children:t,...o}=e;return Ea("div",{...o,className:bo,children:t})};ue.states=Aa;ue.options=Ta;ue.className=bo;ue.defaultOptions=Ma;ue.moduleName=Ee;ue.folderName=ze;import{jsx as Ia}from"react/jsx-runtime";var vt=e=>{let{...t}=e;return Ia("div",{...t,className:i(e.className,"k-list-ul"),children:e.children})};import{Fragment as ga,jsx as ye,jsxs as At}from"react/jsx-runtime";var Tt="k-actionsheet-item",ya=[s.hover,s.focus,s.selected,s.disabled],Z=e=>{let{iconName:t,text:o,description:a,hover:n,focus:r,selected:d,disabled:c,...m}=e;return At("span",{...m,className:i(e.className,Tt,z(Tt,{hover:n,focus:r,selected:d,disabled:c})),children:[!e.children&&ye(ga,{children:At("span",{className:"k-actionsheet-action",children:[t&&ye("span",{className:"k-icon-wrap",children:ye(S,{className:"k-actionsheet-item-icon",icon:t})}),At("span",{className:"k-actionsheet-item-text",children:[o&&ye("span",{className:"k-actionsheet-item-title",children:o}),a&&ye("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Z.states=ya;Z.className=Tt;import{jsx as yd,jsxs as gd}from"react/jsx-runtime";import{jsx as Ld}from"react/jsx-runtime";import{jsx as Rd}from"react/jsx-runtime";import{jsx as zd}from"react/jsx-runtime";import{jsx as g,jsxs as Mt}from"react/jsx-runtime";var Oa=O.options,Ca=O.states,vo={...O.defaultOptions,variant:"normal"},ka=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],La=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],fe=e=>{let{variant:t,modifiers:o,...a}={...vo,...e},n={},r=Mt(vt,{children:[g(Z,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),g(Z,{text:"Add to Favorites",iconName:"heart"}),g(Z,{text:"Upload New",iconName:"upload",disabled:!0}),g("hr",{className:"k-hr"}),g(Z,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",c="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(m=>{switch(m){case"actions":n.actionsStart=!!o?.[m],n.actionsEnd=!!o?.[m];break;case"subtitle":n.subtitle=o?.[m]?d:void 0;break;case"footer":n.footer=!!o?.[m];break;default:break}}),t==="adaptive"?g(O,{...a,adaptive:!0,fullscreen:n.fullScreen,header:g(B,{actionsStart:n.actionsStart?g(f,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?g(f,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:c,subtitle:n.subtitle}),footer:n.footer?Mt(q,{alignment:"stretched",children:[g(f,{text:"Cancel",size:"large",themeColor:"base"}),g(f,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:r}):g(O,{...a,fullscreen:n.fullScreen,header:g(B,{actionsStart:n.actionsStart?g(f,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?g(f,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?Mt(q,{alignment:"stretched",children:[g(f,{text:"Apply",themeColor:"primary"}),g(f,{text:"Cancel",themeColor:"base"})]}):void 0,children:r})};fe.options=Oa;fe.states=Ca;fe.variants=ka;fe.defaultOptions=vo;fe.modifiers=La;fe.className=O.className;var Ao="time-picker",To="timepicker";import{Fragment as _a,jsx as T,jsxs as ge}from"react/jsx-runtime";var Mo="k-timepicker",Pa=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Ha={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Eo={showClearButton:!0},oe=e=>{let{size:t,rounded:o,fillMode:a,prefix:n,suffix:r,value:d,placeholder:c,showClearButton:m=Eo.showClearButton,hover:x,focus:h,valid:b,invalid:A,required:w,loading:L,disabled:M,readonly:E,opened:v,adaptive:P,adaptiveSettings:$,adaptiveTitle:ne,adaptiveSubtitle:xe,...Ne}=e,j=It("timepicker-popup");return ge(_a,{children:[ge(y,{...Ne,size:t,rounded:o,fillMode:a,hover:x,focus:h,valid:b,invalid:A,required:w,loading:L,disabled:M,readonly:E,className:i(e.className,Mo),children:[T(ie,{children:n}),T(_,{placeholder:c,value:d,role:"combobox","aria-haspopup":"dialog","aria-expanded":v?"true":"false","aria-controls":v||P?j:void 0,"aria-invalid":A?"true":void 0,"aria-label":"Select time",disabled:M}),T(R,{valid:b,invalid:A,loading:L,disabled:M}),T(F,{loading:L,disabled:M}),m&&T(H,{loading:L,disabled:M,readonly:E,value:d}),T(se,{children:r}),T(f,{className:"k-input-button",icon:"clock",size:t,fillMode:a,tabIndex:-1,"aria-label":"Select time",disabled:M})]}),v&&ge(K,{id:j,className:"k-list-container k-timepicker-popup",children:[T(X,{columns:["HH","mm","ss","tt"],focusedColumn:"mm",header:T(de,{title:"10:00:00 AM",children:T(f,{fillMode:"flat",className:"k-time-now",children:"Now"})})}),ge(C,{alignment:"stretched",className:"k-time-footer",children:[T(f,{themeColor:"primary",className:"k-time-accept",children:"Set"}),T(f,{className:"k-time-cancel",children:"Cancel"})]})]}),P&&T(O,{adaptive:!0,id:j,...$,header:T(B,{actionsEnd:T(f,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:ne,subtitle:xe}),footer:ge(q,{children:[T(f,{text:"Cancel",size:"large"}),T(f,{text:"Set time",size:"large",themeColor:"primary"})]}),children:T(X,{size:"large",columns:["HH","mm","ss","tt"],focusedColumn:"HH",header:T(de,{title:"10:00:00 \u0410\u041C",children:T(f,{size:"large",fillMode:"flat",className:"k-time-now",children:"Now"})})})})]})};oe.states=Pa;oe.options=Ha;oe.className=Mo;oe.defaultOptions=Eo;oe.moduleName=Ao;oe.folderName=To;var Io=oe;import{jsx as Ra}from"react/jsx-runtime";var Tm=e=>Ra(Io,{opened:!0,...e});export{Tm as TimePickerPopup};
|
|
1
|
+
var i=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?i(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var I=(e,t)=>i({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),z=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:r,checked:d,active:c,selected:m,disabled:x,indeterminate:h,loading:b,empty:A,readonly:w,highlighted:L,...M}=t;return i({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":r,"k-checked":d,"k-active":c,"k-selected":m,"k-disabled":x,"k-indeterminate":h&&!d,"k-loading":b,"k-empty":A,"k-readonly":w,"k-highlighted":L},Object.keys(M).reduce((E,v)=>(v.startsWith("k-")?E[v]=M[v]:E[`k-${v}`]=M[v],E),{}))};function Et(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var l={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},p={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},N={undefined:void 0,solid:"solid",tint:"tint",flat:"flat",outline:"outline",clear:"clear",link:"link"},D={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},u={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},s={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var Fe={};function It(e){return Fe[e]=(Fe[e]||0)+1,`k-${e}-${Fe[e]}`}var he="input",Oe=he;import{jsx as ko}from"react/jsx-runtime";var Ce="k-input",go=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Oo={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Co={},y=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c,size:m,rounded:x,fillMode:h,...b}=e;return ko("span",{...b,className:i(e.className,Ce,I(Ce,{size:m,rounded:x,fillMode:h}),z(Ce,{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c}))})};y.states=go;y.options=Oo;y.className=Ce;y.defaultOptions=Co;y.moduleName=he;y.folderName=Oe;import{jsx as _o}from"react/jsx-runtime";var ke="k-picker",Lo=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Po={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Ho={},ae=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c,size:m,rounded:x,fillMode:h,...b}=e;return _o("span",{...b,className:i(e.className,ke,I(ke,{size:m,rounded:x,fillMode:h}),z(ke,{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c})),children:e.children})};ae.states=Lo;ae.options=Po;ae.className=ke;ae.defaultOptions=Ho;ae.moduleName=he;ae.folderName=Oe;import{Fragment as wo,jsx as yt}from"react/jsx-runtime";var Ve="k-font-icon",Ro=[],Ko={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info]},Bo={},be=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:r,...d}=e;return a?yt("span",{...d,className:i(e.className,Ve,I(Ve,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),"aria-hidden":"true"}):yt(wo,{})};be.states=Ro;be.options=Ko;be.className=Ve;be.defaultOptions=Bo;var gt=be;import{Fragment as Fo,jsx as Le}from"react/jsx-runtime";var Ue="k-svg-icon",zo=[],Do={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info],variant:[D.outline,D.solid,D.duotone]},$e={viewBox:"0 0 24 24",variant:D.outline},Se=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:r=$e.viewBox,variant:d=$e.variant,icon:c,...m}=e;if(!c)return Le(Fo,{});if(c==="none")return Le("span",{...m,className:i(e.className,Ue,I("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let x=typeof c=="object"&&c.name&&c.name,h=typeof c=="object"?d&&c.variants?.[d]||c.variants?.outline||c.content:void 0;return Le("span",{...m,className:i(e.className,Ue,I("k-icon",{size:t}),{[`k-svg-i-${x}`]:x,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:Le("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:r,dangerouslySetInnerHTML:h!==void 0?{__html:h}:void 0,children:c?void 0:e.children})})};Se.states=zo;Se.options=Do;Se.className=Ue;Se.defaultOptions=$e;var Xe=Se;import*as Je from"@progress/kendo-svg-icons";var Ot="icon",Ct="icons";import{useContext as Uo}from"react";import{createContext as Vo}from"react";var kt=Vo({iconsType:"svg"});import{Fragment as Lt,jsx as ve}from"react/jsx-runtime";var Pe="k-icon",$o=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Xo=[],Jo={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info],variant:[D.outline,D.solid,D.duotone]},He={viewBox:"0 0 24 24",type:"svg",variant:D.outline},S=e=>{let{iconsType:t}=Uo(kt),{size:o,themeColor:a,icon:n,type:r=t||He.type,rotate:d,flip:c,viewBox:m=He.viewBox,variant:x=He.variant,...h}=e;if(!n)return ve(Lt,{});if((t||r)==="svg"){if(n==="none")return ve(Xe,{...h,className:i(e.className,Pe),icon:n,size:o,variant:x});let A=Je[n]?n:$o(`${n}-icon`);return Je[A]?ve(Xe,{...h,className:i(e.className,Pe),icon:Je[A],size:o,themeColor:a,rotate:d,flip:c,viewBox:m,variant:x}):ve(Lt,{})}return ve(gt,{...h,className:i(e.className,Pe),icon:n,size:o,themeColor:a,rotate:d,flip:c})};S.states=Xo;S.options=Jo;S.defaultOptions=He;S.className=Pe;S.moduleName=Ot;S.folderName=Ct;import{Fragment as Yo,jsx as qe}from"react/jsx-runtime";var Pt="k-clear-value",qo=[s.disabled,s.loading,s.readonly],Go={},H=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?qe(Yo,{}):qe("span",{className:i(e.className,Pt),children:qe(S,{icon:"x"})})};H.states=qo;H.options=Go;H.className=Pt;import{jsx as Zo}from"react/jsx-runtime";var Ge="k-input-inner",Wo=[],Qo={},_e={type:"text",autocomplete:"off",value:"",placeholder:""},_=e=>{let{value:t=_e.value,type:o=_e.type,placeholder:a=_e.placeholder,autocomplete:n=_e.autocomplete,disabled:r,readOnly:d,...c}=e;return Zo("input",{...c,type:o,className:i(e.className,Ge,I(Ge,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:r||void 0,readOnly:d||void 0})};_.states=Wo;_.options=Qo;_.className=Ge;import{jsx as Ht,jsxs as tn}from"react/jsx-runtime";var Ye="k-input-inner",jo=[],en={},We=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:r,...d}=e;return tn("span",{...d,className:i(e.className,Ye,I(Ye,e)),children:[n,!n&&r&&Ht(S,{className:"k-input-value-icon",icon:r}),a&&!t&&o,a&&t&&Ht("span",{className:"k-input-value-text",children:t})]})};We.states=jo;We.options=en;We.className=Ye;import{jsx as an}from"react/jsx-runtime";var Qe="k-input-inner",on=[],nn={},_t={value:"",placeholder:""},Ze=e=>{let{value:t=_t.value,placeholder:o=_t.placeholder,rows:a,disabled:n,...r}=e;return an("textarea",{...r,className:i(e.className,Qe,I(Qe,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};Ze.states=on;Ze.options=nn;Ze.className=Qe;import{Fragment as rn,jsx as Rt}from"react/jsx-runtime";var Kt="k-input-loading-icon",sn=[s.disabled,s.loading],F=e=>{let{disabled:t,loading:o}=e;return t||!o?Rt(rn,{}):Rt("span",{className:i(e.className,Kt,"k-icon k-i-loading")})};F.states=sn;F.className=Kt;import{Fragment as dn,jsx as Bt}from"react/jsx-runtime";var wt="k-input-validation-icon",ln=[s.valid,s.invalid,s.disabled,s.loading],cn={},R=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,r=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?Bt(dn,{}):Bt(S,{className:i(wt),icon:r})};R.states=ln;R.options=cn;R.className=wt;import{Fragment as un,jsx as zt}from"react/jsx-runtime";var mn="k-input-prefix",pn={direction:"horizontal"},ie=e=>{let{direction:t=pn.direction,...o}=e;return e.children?zt("span",{...o,className:i(mn,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):zt(un,{})};import{Fragment as Nn,jsx as Dt}from"react/jsx-runtime";var fn="k-input-suffix",xn={direction:"horizontal"},se=e=>{let{direction:t=xn.direction,...o}=e;return e.children?Dt("span",{...o,className:i(fn,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Dt(Nn,{})};import{jsx as Qi}from"react/jsx-runtime";import{jsx as ts}from"react/jsx-runtime";import{jsx as bn}from"react/jsx-runtime";var Ft="k-input-separator",hn={direction:"vertical"},re=e=>{let{direction:t=hn.direction,...o}=e;return bn("span",{...o,className:i(Ft,e.className,{[`${Ft}-${t}`]:t})})};var je="button",Vt=je;import{Fragment as et,jsx as J,jsxs as Ut}from"react/jsx-runtime";var Ae="k-button",Sn=["icon-button"],vn=[s.hover,s.focus,s.active,s.selected,s.disabled,s.generating],An={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline,N.clear,N.link],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.inverse]},tt={showArrow:!1,arrowIconName:"chevron-down"},f=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:r,showArrow:d=tt.showArrow,arrowIconName:c=tt.arrowIconName,variant:m,hover:x,focus:h,active:b,selected:A,disabled:w,togglable:L,ariaDisabled:M,icon:E,endIcon:v,iconSize:P,text:$,iconClassName:ne,className:xe,...Ne}=e,j=E!=null,yo=e.children!==void 0;return Ut(t,{className:i(xe,Ae,Et(Ae,m),I(Ae,{size:o,rounded:a,fillMode:n,themeColor:r}),z(Ae,{hover:x,focus:h,active:b,disabled:w||M,selected:A}),{"k-icon-button":!$&&!yo&&j}),"aria-pressed":L?A?"true":"false":void 0,...Ne,"aria-disabled":M?"true":void 0,disabled:w||void 0,children:[typeof E=="string"&&E&&J(S,{className:i(ne,"k-button-icon"),icon:E,size:P}),E&&typeof E!="string"&&J(et,{children:E}),$?Ut(et,{children:[$&&J("span",{className:"k-button-text",children:$}),e.children]}):e.children&&J("span",{className:"k-button-text",children:e.children}),typeof v=="string"&&v&&J(S,{className:i(ne,"k-button-icon"),icon:v,size:P}),v&&typeof v!="string"&&J(et,{children:v}),d&&J("span",{className:"k-menu-button-arrow k-button-arrow",children:J(S,{icon:c})})]})};f.states=vn;f.options=An;f.variants=Sn;f.className=Ae;f.defaultOptions=tt;f.moduleName=je;f.folderName=Vt;import{jsx as Tn}from"react/jsx-runtime";var ee=e=>Tn(f,{children:"Button",...e});import{Fragment as $t,jsx as V,jsxs as ot}from"react/jsx-runtime";var Mn=y.states,En=y.defaultOptions,In=y.options,yn=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],gn=[],le=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:r,readonly:d,...c}=e,m=t?.prefix,x=t?.suffix,h=t?.["clear-button"],b=t?.["validation-icon"],A=t?.separators;return ot(y,{...c,valid:o,invalid:a,loading:n,disabled:r,readonly:d,style:{width:300},children:[m&&ot($t,{children:[V(ie,{children:V(S,{icon:"lock"})}),A&&V(re,{})]}),V(_,{placeholder:"Placeholder",value:"Value"}),b&&V(R,{valid:o,invalid:a,loading:n,disabled:r}),V(F,{loading:n,disabled:r}),h&&V(H,{loading:n,disabled:r,readonly:d,value:"Value"}),x&&ot($t,{children:[A&&V(re,{}),V(se,{children:V(ee,{size:c.size,fillMode:"clear",children:"Send"})})]})]})};le.options=In;le.states=Mn;le.variants=gn;le.defaultOptions=En;le.modifiers=yn;le.className=y.className;import{jsx as On}from"react/jsx-runtime";var Xt=e=>On(f,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as Cn}from"react/jsx-runtime";var Jt=e=>Cn(f,{icon:"folder",children:"Button",...e});import{jsx as Zs}from"react/jsx-runtime";import{jsx as nt}from"react/jsx-runtime";var kn=f.options,Ln=f.states,Pn={...f.defaultOptions,variant:"text"},Hn=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],_n=[],ce=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return nt(Xt,{...o,icon:"star"});case"icon-and-text":return nt(Jt,{...o,icon:"star",children:"Button"});default:return nt(ee,{...o,children:"Button"})}};ce.options=kn;ce.states=Ln;ce.variants=Hn;ce.defaultOptions=Pn;ce.modifiers=_n;ce.className=f.className;var at="popup",qt=at;import{jsx as Gt}from"react/jsx-runtime";var Yt="k-animation-container",Rn=[],Kn={},it={positionMode:"absolute",shown:!0},U=e=>{let{positionMode:t=it.positionMode,shown:o=it.shown,animationStyle:a,offset:n,...r}=e;return Gt("div",{...r,style:{...n,...e.style},className:i(e.className,Yt,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:Gt("div",{className:"k-child-animation-container",style:a,children:e.children})})};U.states=Rn;U.options=Kn;U.className=Yt;U.defaultOptions=it;U.moduleName=at;U.folderName=qt;var st="popup",Wt=st;import{jsx as Qt}from"react/jsx-runtime";var Zt="k-popup",Bn=[],wn={},jt={positionMode:"absolute"},K=e=>{let{offset:t,positionMode:o=jt.positionMode,animationStyle:a,containerClassName:n,containerRole:r,containerAriaLabel:d,...c}=e;return Qt(U,{positionMode:o,offset:t,animationStyle:a,className:n,role:r,"aria-label":d,children:Qt("div",{...c,className:i(e.className,Zt),children:e.children})})};K.states=Bn;K.options=wn;K.className=Zt;K.defaultOptions=jt;K.moduleName=st;K.folderName=Wt;var eo="time-selector",to="timeselector";import{Fragment as oo,jsx as Re,jsxs as no}from"react/jsx-runtime";var rt="k-timeselector",zn=[],Dn={size:[l.undefined,l.small,l.medium,l.large]},Fn={},X=e=>{let{size:t,header:o,fastSelection:a,columns:n,focusedColumn:r,...d}=e,c=n.map(function(m,x){let h=!1,b=!0;return m===r&&(h=!0),(x===0||m==="tt")&&(b=!1),Re(lt,{type:m,focus:h,separator:b},x)});return no("div",{...d,className:i(e.className,rt,I(rt,{size:t})),role:"group","aria-label":"Time selector",children:[Re(oo,{children:o}),Re(oo,{children:a}),no("div",{className:"k-time-list-container",children:[Re("span",{className:"k-time-highlight"}),c]})]})};X.states=zn;X.options=Dn;X.className=rt;X.defaultOptions=Fn;X.moduleName=eo;X.folderName=to;import{Fragment as Un,jsx as te,jsxs as ct}from"react/jsx-runtime";var Vn=[s.focus],lt=e=>{let{type:t,focus:o,separator:a,...n}=e,r,d=["00","01","02","03","04","05","06","07","08","09"];switch(t){case"dd":r="Day";break;case"HH":r="Hour";break;case"mm":r="Minute";break;case"ss":r="Second";break;case"SSS":r="Millisecond",d=["000","001","002","003","004","005","006","007","008","009"];break;case"tt":r="AM/PM",d=["AM","PM"];break;default:r="Column Name";break}let c=d.map((m,x)=>te("li",{className:"k-item",role:"option","aria-selected":"false",children:te("span",{children:m})},x));return ct(Un,{children:[a&&te("div",{className:"k-time-separator",children:":"}),ct("div",{...n,className:i(e.className,"k-time-list-wrapper",z("k-time-list-wrapper",{focus:o})),children:[te("span",{className:"k-title",children:r}),te("div",{className:"k-time-list",role:"listbox","aria-label":r,children:ct("div",{className:"k-content k-scrollable k-time-container",children:[te("ul",{className:"k-reset",style:{transform:"translateY(97px)"},role:"none",children:c}),te("div",{className:"k-scrollable-placeholder"})]})})]})]})};lt.states=Vn;import{jsx as Xn,jsxs as Jn}from"react/jsx-runtime";var $n="k-time-header",de=e=>{let{title:t,...o}=e;return Jn("div",{...o,className:i(e.className,$n),children:[t!=null&&Xn("span",{className:"k-title",children:t}),e.children]})};var dt="action-buttons",ao=dt;import{jsx as Yn}from"react/jsx-runtime";var Ke="k-actions",qn=[],Gn={},mt={alignment:"start",orientation:"horizontal"},C=e=>{let{alignment:t=mt.alignment,orientation:o=mt.orientation,...a}=e;return Yn("div",{...a,className:i(Ke,{[`${Ke}-${t}`]:t,[`${Ke}-${o}`]:o},e.className),children:e.children})};C.states=qn;C.options=Gn;C.className=Ke;C.defaultOptions=mt;C.moduleName=dt;C.folderName=ao;import{jsx as Zr,jsxs as jr}from"react/jsx-runtime";import{Fragment as cl,jsx as rl,jsxs as ll}from"react/jsx-runtime";import{Fragment as Sl,jsx as hl,jsxs as bl}from"react/jsx-runtime";import{Fragment as Cl,jsx as gl,jsxs as Ol}from"react/jsx-runtime";import{jsx as Qn}from"react/jsx-runtime";var Wn="k-actionsheet-footer",so={alignment:"stretched",orientation:"horizontal"},q=e=>{let{alignment:t=so.alignment,orientation:o=so.orientation,template:a,as:n=a?"div":C,...r}=e;return Qn(n,{...r,...!a&&{alignment:t,orientation:o},className:i(e.className,Wn),children:e.children})};var pt="searchbox",ro=pt;import{jsx as Te,jsxs as ea}from"react/jsx-runtime";var lo="k-searchbox",Zn=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading],jn={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Be={showIcon:!0,showClearButton:!0,icon:"search"},G=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:r,hover:d,focus:c,valid:m,invalid:x,required:h,loading:b,disabled:A,showIcon:w=Be.showIcon,showClearButton:L=Be.showClearButton,icon:M=Be.icon,"aria-label":E,...v}=e;return ea(y,{...v,size:a,rounded:n,fillMode:r,hover:d,focus:c,valid:m,invalid:x,required:h,loading:b,disabled:A,className:i(e.className,lo),children:[w&&Te(S,{className:"k-input-icon",icon:M}),Te(_,{placeholder:o,value:t,"aria-label":E}),Te(F,{...e}),Te(R,{...e}),L&&Te(H,{...e})]})};G.states=Zn;G.options=jn;G.className=lo;G.defaultOptions=Be;G.moduleName=pt;G.folderName=ro;import{jsx as jl}from"react/jsx-runtime";var ut="textbox",co=ut;import{Fragment as mo,jsx as Y,jsxs as ft}from"react/jsx-runtime";var po="k-textbox",ta=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],oa={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},we={showClearButton:!0,showValidationIcon:!0,separators:!0},k=e=>{let{size:t,rounded:o,fillMode:a,separators:n=we.separators,showClearButton:r=we.showClearButton,showValidationIcon:d=we.showValidationIcon,prefix:c,suffix:m,type:x,value:h,placeholder:b,hover:A,focus:w,valid:L,invalid:M,required:E,loading:v,disabled:P,readonly:$,id:ne,"aria-label":xe,"aria-describedby":Ne,...j}=e;return ft(y,{...j,size:t,rounded:o,fillMode:a,hover:A,focus:w,valid:L,invalid:M,required:E,loading:v,disabled:P,readonly:$,className:i(e.className,po),children:[c&&ft(mo,{children:[Y(ie,{children:c}),n&&Y(re,{})]}),Y(_,{id:ne,placeholder:b,value:h,type:x,disabled:P,"aria-label":xe,"aria-describedby":Ne,"aria-invalid":M?"true":void 0}),d&&Y(R,{valid:L,invalid:M,loading:v,disabled:P}),Y(F,{loading:v,disabled:P}),r&&Y(H,{loading:v,disabled:P,readonly:$,value:h}),m&&ft(mo,{children:[n&&Y(re,{}),Y(se,{children:m})]})]})};k.states=ta;k.options=oa;k.className=po;k.defaultOptions=we;k.moduleName=ut;k.folderName=co;var Me=k;import{jsx as na}from"react/jsx-runtime";var uo=e=>na(Me,{...e});import{Fragment as hc,jsx as Nc}from"react/jsx-runtime";import{Fragment as Mc,jsx as Tc}from"react/jsx-runtime";import{jsx as gc}from"react/jsx-runtime";import{jsx as xt}from"react/jsx-runtime";var aa=k.states,ia=k.defaultOptions,sa=k.options,ra=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],la=[],me=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?xt(S,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[n]?xt(ee,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;default:break}}),xt(uo,{value:"Value",style:{width:300},...o,...a})};me.options=sa;me.states=aa;me.variants=la;me.defaultOptions=ia;me.modifiers=ra;me.className=k.className;import{jsx as W,jsxs as Nt}from"react/jsx-runtime";var fo="k-actionsheet-titlebar",ca={},B=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:r,input:d,inputValue:c,inputPlaceholder:m,adaptive:x,titleId:h,children:b,...A}=e;return Nt("div",{...A,className:i(e.className,fo),children:[Nt("div",{className:"k-actionsheet-titlebar-group",children:[a&&W("div",{className:"k-actionsheet-actions",children:a}),!b&&Nt("div",{className:"k-actionsheet-title",id:h,children:[t&&W("div",{className:"k-text-center",children:t}),o&&W("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),b&&W("div",{className:"k-actionsheet-title",id:h,children:b}),n&&W("div",{className:"k-actionsheet-actions",children:n})]}),(d||r)&&W("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?W(k,{value:c,placeholder:m,size:x?"large":"medium","aria-label":t||m||"Input"}):W(G,{placeholder:"Filter",size:x?"large":"medium","aria-label":"Filter options"})})]})};B.className=fo;B.defaultOptions=ca;import{jsx as ht,jsxs as ua}from"react/jsx-runtime";var bt="k-actionsheet-view",da=[],ma={},pa={},pe=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:r,titleId:d,...c}=e,m=n?.type===B&&ht(B,{adaptive:t,titleId:d,...n?.props}),x=r?.type===q&&ht(q,{...r?.props});return ua("div",{...c,className:i(e.className,bt,{[`${bt}-animated`]:o}),children:[m,ht("div",{className:"k-actionsheet-content",children:a}),x]})};pe.states=da;pe.options=ma;pe.className=bt;pe.defaultOptions=pa;var Ee="action-sheet",ze=Ee;var St="overlay",xo=St;import{jsx as ha}from"react/jsx-runtime";var No="k-overlay",fa=[],xa={},Na={},Q=e=>{let{...t}=e;return ha("div",{...t,className:i(e.className,No),children:e.children})};Q.states=fa;Q.options=xa;Q.className=No;Q.defaultOptions=Na;Q.moduleName=St;Q.folderName=xo;import{jsx as De,jsxs as va}from"react/jsx-runtime";var ho="k-actionsheet",ba=[],Sa={},Ie={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},O=e=>{let{side:t=Ie.side,fullscreen:o=Ie.fullscreen,adaptive:a=Ie.adaptive,overlay:n=Ie.overlay,template:r,children:d,header:c,footer:m,id:x,...h}=e,b=x&&!r&&c?`${x}-title`:void 0;return va("div",{className:"k-actionsheet-container",children:[n&&De(Q,{}),De(U,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:De("div",{...h,id:x,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":b,className:i(e.className,ho,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:r||De(pe,{header:c,footer:m,adaptive:a,titleId:b,...e,children:d})})})]})};O.states=ba;O.options=Sa;O.className=ho;O.defaultOptions=Ie;O.moduleName=Ee;O.folderName=ze;import{jsx as Ea}from"react/jsx-runtime";var bo="k-actionsheet-container",Aa=[],Ta={},Ma={},ue=e=>{let{children:t,...o}=e;return Ea("div",{...o,className:bo,children:t})};ue.states=Aa;ue.options=Ta;ue.className=bo;ue.defaultOptions=Ma;ue.moduleName=Ee;ue.folderName=ze;import{jsx as Ia}from"react/jsx-runtime";var vt=e=>{let{...t}=e;return Ia("div",{...t,className:i(e.className,"k-list-ul"),children:e.children})};import{Fragment as ga,jsx as ye,jsxs as At}from"react/jsx-runtime";var Tt="k-actionsheet-item",ya=[s.hover,s.focus,s.selected,s.disabled],Z=e=>{let{iconName:t,text:o,description:a,hover:n,focus:r,selected:d,disabled:c,...m}=e;return At("span",{...m,className:i(e.className,Tt,z(Tt,{hover:n,focus:r,selected:d,disabled:c})),children:[!e.children&&ye(ga,{children:At("span",{className:"k-actionsheet-action",children:[t&&ye("span",{className:"k-icon-wrap",children:ye(S,{className:"k-actionsheet-item-icon",icon:t})}),At("span",{className:"k-actionsheet-item-text",children:[o&&ye("span",{className:"k-actionsheet-item-title",children:o}),a&&ye("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Z.states=ya;Z.className=Tt;import{jsx as yd,jsxs as gd}from"react/jsx-runtime";import{jsx as Ld}from"react/jsx-runtime";import{jsx as Rd}from"react/jsx-runtime";import{jsx as zd}from"react/jsx-runtime";import{jsx as g,jsxs as Mt}from"react/jsx-runtime";var Oa=O.options,Ca=O.states,vo={...O.defaultOptions,variant:"normal"},ka=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],La=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],fe=e=>{let{variant:t,modifiers:o,...a}={...vo,...e},n={},r=Mt(vt,{children:[g(Z,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),g(Z,{text:"Add to Favorites",iconName:"heart"}),g(Z,{text:"Upload New",iconName:"upload",disabled:!0}),g("hr",{className:"k-hr"}),g(Z,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",c="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(m=>{switch(m){case"actions":n.actionsStart=!!o?.[m],n.actionsEnd=!!o?.[m];break;case"subtitle":n.subtitle=o?.[m]?d:void 0;break;case"footer":n.footer=!!o?.[m];break;default:break}}),t==="adaptive"?g(O,{...a,adaptive:!0,fullscreen:n.fullScreen,header:g(B,{actionsStart:n.actionsStart?g(f,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?g(f,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:c,subtitle:n.subtitle}),footer:n.footer?Mt(q,{alignment:"stretched",children:[g(f,{text:"Cancel",size:"large",themeColor:"base"}),g(f,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:r}):g(O,{...a,fullscreen:n.fullScreen,header:g(B,{actionsStart:n.actionsStart?g(f,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?g(f,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?Mt(q,{alignment:"stretched",children:[g(f,{text:"Apply",themeColor:"primary"}),g(f,{text:"Cancel",themeColor:"base"})]}):void 0,children:r})};fe.options=Oa;fe.states=Ca;fe.variants=ka;fe.defaultOptions=vo;fe.modifiers=La;fe.className=O.className;var Ao="time-picker",To="timepicker";import{Fragment as _a,jsx as T,jsxs as ge}from"react/jsx-runtime";var Mo="k-timepicker",Pa=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Ha={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Eo={showClearButton:!0},oe=e=>{let{size:t,rounded:o,fillMode:a,prefix:n,suffix:r,value:d,placeholder:c,showClearButton:m=Eo.showClearButton,hover:x,focus:h,valid:b,invalid:A,required:w,loading:L,disabled:M,readonly:E,opened:v,adaptive:P,adaptiveSettings:$,adaptiveTitle:ne,adaptiveSubtitle:xe,...Ne}=e,j=It("timepicker-popup");return ge(_a,{children:[ge(y,{...Ne,size:t,rounded:o,fillMode:a,hover:x,focus:h,valid:b,invalid:A,required:w,loading:L,disabled:M,readonly:E,className:i(e.className,Mo),children:[T(ie,{children:n}),T(_,{placeholder:c,value:d,role:"combobox","aria-haspopup":"dialog","aria-expanded":v?"true":"false","aria-controls":v||P?j:void 0,"aria-invalid":A?"true":void 0,"aria-label":"Select time",disabled:M}),T(R,{valid:b,invalid:A,loading:L,disabled:M}),T(F,{loading:L,disabled:M}),m&&T(H,{loading:L,disabled:M,readonly:E,value:d}),T(se,{children:r}),T(f,{className:"k-input-button",icon:"clock",size:t,fillMode:a,tabIndex:-1,"aria-label":"Select time",disabled:M})]}),v&&ge(K,{id:j,className:"k-list-container k-timepicker-popup",children:[T(X,{columns:["HH","mm","ss","tt"],focusedColumn:"mm",header:T(de,{title:"10:00:00 AM",children:T(f,{fillMode:"flat",className:"k-time-now",children:"Now"})})}),ge(C,{alignment:"stretched",className:"k-time-footer",children:[T(f,{themeColor:"primary",className:"k-time-accept",children:"Set"}),T(f,{className:"k-time-cancel",children:"Cancel"})]})]}),P&&T(O,{adaptive:!0,id:j,...$,header:T(B,{actionsEnd:T(f,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:ne,subtitle:xe}),footer:ge(q,{children:[T(f,{text:"Cancel",size:"large"}),T(f,{text:"Set time",size:"large",themeColor:"primary"})]}),children:T(X,{size:"large",columns:["HH","mm","ss","tt"],focusedColumn:"HH",header:T(de,{title:"10:00:00 AM",children:T(f,{size:"large",fillMode:"flat",className:"k-time-now",children:"Now"})})})})]})};oe.states=Pa;oe.options=Ha;oe.className=Mo;oe.defaultOptions=Eo;oe.moduleName=Ao;oe.folderName=To;var Io=oe;import{jsx as Ra}from"react/jsx-runtime";var Tm=e=>Ra(Io,{opened:!0,...e});export{Tm as TimePickerPopup};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var i=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?i(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var I=(e,t)=>i({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),z=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:r,checked:d,active:c,selected:m,disabled:x,indeterminate:h,loading:b,empty:A,readonly:w,highlighted:L,...M}=t;return i({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":r,"k-checked":d,"k-active":c,"k-selected":m,"k-disabled":x,"k-indeterminate":h&&!d,"k-loading":b,"k-empty":A,"k-readonly":w,"k-highlighted":L},Object.keys(M).reduce((E,v)=>(v.startsWith("k-")?E[v]=M[v]:E[`k-${v}`]=M[v],E),{}))};function Et(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var l={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},p={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},N={undefined:void 0,solid:"solid",tint:"tint",flat:"flat",outline:"outline",clear:"clear",link:"link"},D={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},u={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},s={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var Fe={};function It(e){return Fe[e]=(Fe[e]||0)+1,`k-${e}-${Fe[e]}`}var he="input",Oe=he;import{jsx as Co}from"react/jsx-runtime";var Ce="k-input",yo=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],go={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Oo={},y=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c,size:m,rounded:x,fillMode:h,...b}=e;return Co("span",{...b,className:i(e.className,Ce,I(Ce,{size:m,rounded:x,fillMode:h}),z(Ce,{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c}))})};y.states=yo;y.options=go;y.className=Ce;y.defaultOptions=Oo;y.moduleName=he;y.folderName=Oe;import{jsx as Po}from"react/jsx-runtime";var ke="k-picker",ko=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Lo={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Ho={},ae=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c,size:m,rounded:x,fillMode:h,...b}=e;return Po("span",{...b,className:i(e.className,ke,I(ke,{size:m,rounded:x,fillMode:h}),z(ke,{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c})),children:e.children})};ae.states=ko;ae.options=Lo;ae.className=ke;ae.defaultOptions=Ho;ae.moduleName=he;ae.folderName=Oe;import{Fragment as Bo,jsx as yt}from"react/jsx-runtime";var Ve="k-font-icon",_o=[],Ro={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info]},Ko={},be=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:r,...d}=e;return a?yt("span",{...d,className:i(e.className,Ve,I(Ve,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),"aria-hidden":"true"}):yt(Bo,{})};be.states=_o;be.options=Ro;be.className=Ve;be.defaultOptions=Ko;var gt=be;import{Fragment as Do,jsx as Le}from"react/jsx-runtime";var Ue="k-svg-icon",wo=[],zo={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info],variant:[D.outline,D.solid,D.duotone]},$e={viewBox:"0 0 24 24",variant:D.outline},Se=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:r=$e.viewBox,variant:d=$e.variant,icon:c,...m}=e;if(!c)return Le(Do,{});if(c==="none")return Le("span",{...m,className:i(e.className,Ue,I("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let x=typeof c=="object"&&c.name&&c.name,h=typeof c=="object"?d&&c.variants?.[d]||c.variants?.outline||c.content:void 0;return Le("span",{...m,className:i(e.className,Ue,I("k-icon",{size:t}),{[`k-svg-i-${x}`]:x,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:Le("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:r,dangerouslySetInnerHTML:h!==void 0?{__html:h}:void 0,children:c?void 0:e.children})})};Se.states=wo;Se.options=zo;Se.className=Ue;Se.defaultOptions=$e;var Xe=Se;import*as Je from"@progress/kendo-svg-icons";var Ot="icon",Ct="icons";import{useContext as Vo}from"react";import{createContext as Fo}from"react";var kt=Fo({iconsType:"svg"});import{Fragment as Lt,jsx as ve}from"react/jsx-runtime";var He="k-icon",Uo=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),$o=[],Xo={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info],variant:[D.outline,D.solid,D.duotone]},Pe={viewBox:"0 0 24 24",type:"svg",variant:D.outline},S=e=>{let{iconsType:t}=Vo(kt),{size:o,themeColor:a,icon:n,type:r=t||Pe.type,rotate:d,flip:c,viewBox:m=Pe.viewBox,variant:x=Pe.variant,...h}=e;if(!n)return ve(Lt,{});if((t||r)==="svg"){if(n==="none")return ve(Xe,{...h,className:i(e.className,He),icon:n,size:o,variant:x});let A=Je[n]?n:Uo(`${n}-icon`);return Je[A]?ve(Xe,{...h,className:i(e.className,He),icon:Je[A],size:o,themeColor:a,rotate:d,flip:c,viewBox:m,variant:x}):ve(Lt,{})}return ve(gt,{...h,className:i(e.className,He),icon:n,size:o,themeColor:a,rotate:d,flip:c})};S.states=$o;S.options=Xo;S.defaultOptions=Pe;S.className=He;S.moduleName=Ot;S.folderName=Ct;import{Fragment as Go,jsx as qe}from"react/jsx-runtime";var Ht="k-clear-value",Jo=[s.disabled,s.loading,s.readonly],qo={},P=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?qe(Go,{}):qe("span",{className:i(e.className,Ht),children:qe(S,{icon:"x"})})};P.states=Jo;P.options=qo;P.className=Ht;import{jsx as Qo}from"react/jsx-runtime";var Ge="k-input-inner",Yo=[],Wo={},_e={type:"text",autocomplete:"off",value:"",placeholder:""},_=e=>{let{value:t=_e.value,type:o=_e.type,placeholder:a=_e.placeholder,autocomplete:n=_e.autocomplete,disabled:r,readOnly:d,...c}=e;return Qo("input",{...c,type:o,className:i(e.className,Ge,I(Ge,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:r||void 0,readOnly:d||void 0})};_.states=Yo;_.options=Wo;_.className=Ge;import{jsx as Pt,jsxs as en}from"react/jsx-runtime";var Ye="k-input-inner",Zo=[],jo={},We=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:r,...d}=e;return en("span",{...d,className:i(e.className,Ye,I(Ye,e)),children:[n,!n&&r&&Pt(S,{className:"k-input-value-icon",icon:r}),a&&!t&&o,a&&t&&Pt("span",{className:"k-input-value-text",children:t})]})};We.states=Zo;We.options=jo;We.className=Ye;import{jsx as nn}from"react/jsx-runtime";var Qe="k-input-inner",tn=[],on={},_t={value:"",placeholder:""},Ze=e=>{let{value:t=_t.value,placeholder:o=_t.placeholder,rows:a,disabled:n,...r}=e;return nn("textarea",{...r,className:i(e.className,Qe,I(Qe,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};Ze.states=tn;Ze.options=on;Ze.className=Qe;import{Fragment as sn,jsx as Rt}from"react/jsx-runtime";var Kt="k-input-loading-icon",an=[s.disabled,s.loading],F=e=>{let{disabled:t,loading:o}=e;return t||!o?Rt(sn,{}):Rt("span",{className:i(e.className,Kt,"k-icon k-i-loading")})};F.states=an;F.className=Kt;import{Fragment as cn,jsx as Bt}from"react/jsx-runtime";var wt="k-input-validation-icon",rn=[s.valid,s.invalid,s.disabled,s.loading],ln={},R=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,r=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?Bt(cn,{}):Bt(S,{className:i(wt),icon:r})};R.states=rn;R.options=ln;R.className=wt;import{Fragment as pn,jsx as zt}from"react/jsx-runtime";var dn="k-input-prefix",mn={direction:"horizontal"},ie=e=>{let{direction:t=mn.direction,...o}=e;return e.children?zt("span",{...o,className:i(dn,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):zt(pn,{})};import{Fragment as xn,jsx as Dt}from"react/jsx-runtime";var un="k-input-suffix",fn={direction:"horizontal"},se=e=>{let{direction:t=fn.direction,...o}=e;return e.children?Dt("span",{...o,className:i(un,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Dt(xn,{})};import{jsx as Yi}from"react/jsx-runtime";import{jsx as ji}from"react/jsx-runtime";import{jsx as hn}from"react/jsx-runtime";var Ft="k-input-separator",Nn={direction:"vertical"},re=e=>{let{direction:t=Nn.direction,...o}=e;return hn("span",{...o,className:i(Ft,e.className,{[`${Ft}-${t}`]:t})})};var je="button",Vt=je;import{Fragment as et,jsx as J,jsxs as Ut}from"react/jsx-runtime";var Ae="k-button",bn=["icon-button"],Sn=[s.hover,s.focus,s.active,s.selected,s.disabled,s.generating],vn={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline,N.clear,N.link],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.inverse]},tt={showArrow:!1,arrowIconName:"chevron-down"},f=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:r,showArrow:d=tt.showArrow,arrowIconName:c=tt.arrowIconName,variant:m,hover:x,focus:h,active:b,selected:A,disabled:w,togglable:L,ariaDisabled:M,icon:E,endIcon:v,iconSize:H,text:$,iconClassName:ne,className:xe,...Ne}=e,j=E!=null,Io=e.children!==void 0;return Ut(t,{className:i(xe,Ae,Et(Ae,m),I(Ae,{size:o,rounded:a,fillMode:n,themeColor:r}),z(Ae,{hover:x,focus:h,active:b,disabled:w||M,selected:A}),{"k-icon-button":!$&&!Io&&j}),"aria-pressed":L?A?"true":"false":void 0,...Ne,"aria-disabled":M?"true":void 0,disabled:w||void 0,children:[typeof E=="string"&&E&&J(S,{className:i(ne,"k-button-icon"),icon:E,size:H}),E&&typeof E!="string"&&J(et,{children:E}),$?Ut(et,{children:[$&&J("span",{className:"k-button-text",children:$}),e.children]}):e.children&&J("span",{className:"k-button-text",children:e.children}),typeof v=="string"&&v&&J(S,{className:i(ne,"k-button-icon"),icon:v,size:H}),v&&typeof v!="string"&&J(et,{children:v}),d&&J("span",{className:"k-menu-button-arrow k-button-arrow",children:J(S,{icon:c})})]})};f.states=Sn;f.options=vn;f.variants=bn;f.className=Ae;f.defaultOptions=tt;f.moduleName=je;f.folderName=Vt;import{jsx as An}from"react/jsx-runtime";var ee=e=>An(f,{children:"Button",...e});import{Fragment as $t,jsx as V,jsxs as ot}from"react/jsx-runtime";var Tn=y.states,Mn=y.defaultOptions,En=y.options,In=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],yn=[],le=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:r,readonly:d,...c}=e,m=t?.prefix,x=t?.suffix,h=t?.["clear-button"],b=t?.["validation-icon"],A=t?.separators;return ot(y,{...c,valid:o,invalid:a,loading:n,disabled:r,readonly:d,style:{width:300},children:[m&&ot($t,{children:[V(ie,{children:V(S,{icon:"lock"})}),A&&V(re,{})]}),V(_,{placeholder:"Placeholder",value:"Value"}),b&&V(R,{valid:o,invalid:a,loading:n,disabled:r}),V(F,{loading:n,disabled:r}),h&&V(P,{loading:n,disabled:r,readonly:d,value:"Value"}),x&&ot($t,{children:[A&&V(re,{}),V(se,{children:V(ee,{size:c.size,fillMode:"clear",children:"Send"})})]})]})};le.options=En;le.states=Tn;le.variants=yn;le.defaultOptions=Mn;le.modifiers=In;le.className=y.className;import{jsx as gn}from"react/jsx-runtime";var Xt=e=>gn(f,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as On}from"react/jsx-runtime";var Jt=e=>On(f,{icon:"folder",children:"Button",...e});import{jsx as Ws}from"react/jsx-runtime";import{jsx as nt}from"react/jsx-runtime";var Cn=f.options,kn=f.states,Ln={...f.defaultOptions,variant:"text"},Hn=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Pn=[],ce=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return nt(Xt,{...o,icon:"star"});case"icon-and-text":return nt(Jt,{...o,icon:"star",children:"Button"});default:return nt(ee,{...o,children:"Button"})}};ce.options=Cn;ce.states=kn;ce.variants=Hn;ce.defaultOptions=Ln;ce.modifiers=Pn;ce.className=f.className;var at="popup",qt=at;import{jsx as Gt}from"react/jsx-runtime";var Yt="k-animation-container",_n=[],Rn={},it={positionMode:"absolute",shown:!0},U=e=>{let{positionMode:t=it.positionMode,shown:o=it.shown,animationStyle:a,offset:n,...r}=e;return Gt("div",{...r,style:{...n,...e.style},className:i(e.className,Yt,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:Gt("div",{className:"k-child-animation-container",style:a,children:e.children})})};U.states=_n;U.options=Rn;U.className=Yt;U.defaultOptions=it;U.moduleName=at;U.folderName=qt;var st="popup",Wt=st;import{jsx as Qt}from"react/jsx-runtime";var Zt="k-popup",Kn=[],Bn={},jt={positionMode:"absolute"},K=e=>{let{offset:t,positionMode:o=jt.positionMode,animationStyle:a,containerClassName:n,containerRole:r,containerAriaLabel:d,...c}=e;return Qt(U,{positionMode:o,offset:t,animationStyle:a,className:n,role:r,"aria-label":d,children:Qt("div",{...c,className:i(e.className,Zt),children:e.children})})};K.states=Kn;K.options=Bn;K.className=Zt;K.defaultOptions=jt;K.moduleName=st;K.folderName=Wt;var eo="time-selector",to="timeselector";import{Fragment as oo,jsx as Re,jsxs as no}from"react/jsx-runtime";var rt="k-timeselector",wn=[],zn={size:[l.undefined,l.small,l.medium,l.large]},Dn={},X=e=>{let{size:t,header:o,fastSelection:a,columns:n,focusedColumn:r,...d}=e,c=n.map(function(m,x){let h=!1,b=!0;return m===r&&(h=!0),(x===0||m==="tt")&&(b=!1),Re(lt,{type:m,focus:h,separator:b},x)});return no("div",{...d,className:i(e.className,rt,I(rt,{size:t})),role:"group","aria-label":"Time selector",children:[Re(oo,{children:o}),Re(oo,{children:a}),no("div",{className:"k-time-list-container",children:[Re("span",{className:"k-time-highlight"}),c]})]})};X.states=wn;X.options=zn;X.className=rt;X.defaultOptions=Dn;X.moduleName=eo;X.folderName=to;import{Fragment as Vn,jsx as te,jsxs as ct}from"react/jsx-runtime";var Fn=[s.focus],lt=e=>{let{type:t,focus:o,separator:a,...n}=e,r,d=["00","01","02","03","04","05","06","07","08","09"];switch(t){case"dd":r="Day";break;case"HH":r="Hour";break;case"mm":r="Minute";break;case"ss":r="Second";break;case"SSS":r="Millisecond",d=["000","001","002","003","004","005","006","007","008","009"];break;case"tt":r="AM/PM",d=["AM","PM"];break;default:r="Column Name";break}let c=d.map((m,x)=>te("li",{className:"k-item",role:"option","aria-selected":"false",children:te("span",{children:m})},x));return ct(Vn,{children:[a&&te("div",{className:"k-time-separator",children:":"}),ct("div",{...n,className:i(e.className,"k-time-list-wrapper",z("k-time-list-wrapper",{focus:o})),children:[te("span",{className:"k-title",children:r}),te("div",{className:"k-time-list",role:"listbox","aria-label":r,children:ct("div",{className:"k-content k-scrollable k-time-container",children:[te("ul",{className:"k-reset",style:{transform:"translateY(97px)"},role:"none",children:c}),te("div",{className:"k-scrollable-placeholder"})]})})]})]})};lt.states=Fn;import{jsx as $n,jsxs as Xn}from"react/jsx-runtime";var Un="k-time-header",de=e=>{let{title:t,...o}=e;return Xn("div",{...o,className:i(e.className,Un),children:[t!=null&&$n("span",{className:"k-title",children:t}),e.children]})};var dt="action-buttons",ao=dt;import{jsx as Gn}from"react/jsx-runtime";var Ke="k-actions",Jn=[],qn={},mt={alignment:"start",orientation:"horizontal"},C=e=>{let{alignment:t=mt.alignment,orientation:o=mt.orientation,...a}=e;return Gn("div",{...a,className:i(Ke,{[`${Ke}-${t}`]:t,[`${Ke}-${o}`]:o},e.className),children:e.children})};C.states=Jn;C.options=qn;C.className=Ke;C.defaultOptions=mt;C.moduleName=dt;C.folderName=ao;import{jsx as Wr,jsxs as Qr}from"react/jsx-runtime";import{Fragment as rl,jsx as il,jsxs as sl}from"react/jsx-runtime";import{Fragment as hl,jsx as xl,jsxs as Nl}from"react/jsx-runtime";import{Fragment as gl,jsx as Il,jsxs as yl}from"react/jsx-runtime";import{jsx as Wn}from"react/jsx-runtime";var Yn="k-actionsheet-footer",so={alignment:"stretched",orientation:"horizontal"},q=e=>{let{alignment:t=so.alignment,orientation:o=so.orientation,template:a,as:n=a?"div":C,...r}=e;return Wn(n,{...r,...!a&&{alignment:t,orientation:o},className:i(e.className,Yn),children:e.children})};var pt="searchbox",ro=pt;import{jsx as Te,jsxs as jn}from"react/jsx-runtime";var lo="k-searchbox",Qn=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading],Zn={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Be={showIcon:!0,showClearButton:!0,icon:"search"},G=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:r,hover:d,focus:c,valid:m,invalid:x,required:h,loading:b,disabled:A,showIcon:w=Be.showIcon,showClearButton:L=Be.showClearButton,icon:M=Be.icon,"aria-label":E,...v}=e;return jn(y,{...v,size:a,rounded:n,fillMode:r,hover:d,focus:c,valid:m,invalid:x,required:h,loading:b,disabled:A,className:i(e.className,lo),children:[w&&Te(S,{className:"k-input-icon",icon:M}),Te(_,{placeholder:o,value:t,"aria-label":E}),Te(F,{...e}),Te(R,{...e}),L&&Te(P,{...e})]})};G.states=Qn;G.options=Zn;G.className=lo;G.defaultOptions=Be;G.moduleName=pt;G.folderName=ro;import{jsx as Ql}from"react/jsx-runtime";var ut="textbox",co=ut;import{Fragment as mo,jsx as Y,jsxs as ft}from"react/jsx-runtime";var po="k-textbox",ea=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],ta={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},we={showClearButton:!0,showValidationIcon:!0,separators:!0},k=e=>{let{size:t,rounded:o,fillMode:a,separators:n=we.separators,showClearButton:r=we.showClearButton,showValidationIcon:d=we.showValidationIcon,prefix:c,suffix:m,type:x,value:h,placeholder:b,hover:A,focus:w,valid:L,invalid:M,required:E,loading:v,disabled:H,readonly:$,id:ne,"aria-label":xe,"aria-describedby":Ne,...j}=e;return ft(y,{...j,size:t,rounded:o,fillMode:a,hover:A,focus:w,valid:L,invalid:M,required:E,loading:v,disabled:H,readonly:$,className:i(e.className,po),children:[c&&ft(mo,{children:[Y(ie,{children:c}),n&&Y(re,{})]}),Y(_,{id:ne,placeholder:b,value:h,type:x,disabled:H,"aria-label":xe,"aria-describedby":Ne,"aria-invalid":M?"true":void 0}),d&&Y(R,{valid:L,invalid:M,loading:v,disabled:H}),Y(F,{loading:v,disabled:H}),r&&Y(P,{loading:v,disabled:H,readonly:$,value:h}),m&&ft(mo,{children:[n&&Y(re,{}),Y(se,{children:m})]})]})};k.states=ea;k.options=ta;k.className=po;k.defaultOptions=we;k.moduleName=ut;k.folderName=co;var Me=k;import{jsx as oa}from"react/jsx-runtime";var uo=e=>oa(Me,{...e});import{Fragment as xc,jsx as fc}from"react/jsx-runtime";import{Fragment as Ac,jsx as vc}from"react/jsx-runtime";import{jsx as Ic}from"react/jsx-runtime";import{jsx as xt}from"react/jsx-runtime";var na=k.states,aa=k.defaultOptions,ia=k.options,sa=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],ra=[],me=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?xt(S,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[n]?xt(ee,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;default:break}}),xt(uo,{value:"Value",style:{width:300},...o,...a})};me.options=ia;me.states=na;me.variants=ra;me.defaultOptions=aa;me.modifiers=sa;me.className=k.className;import{jsx as W,jsxs as Nt}from"react/jsx-runtime";var fo="k-actionsheet-titlebar",la={},B=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:r,input:d,inputValue:c,inputPlaceholder:m,adaptive:x,titleId:h,children:b,...A}=e;return Nt("div",{...A,className:i(e.className,fo),children:[Nt("div",{className:"k-actionsheet-titlebar-group",children:[a&&W("div",{className:"k-actionsheet-actions",children:a}),!b&&Nt("div",{className:"k-actionsheet-title",id:h,children:[t&&W("div",{className:"k-text-center",children:t}),o&&W("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),b&&W("div",{className:"k-actionsheet-title",id:h,children:b}),n&&W("div",{className:"k-actionsheet-actions",children:n})]}),(d||r)&&W("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?W(k,{value:c,placeholder:m,size:x?"large":"medium","aria-label":t||m||"Input"}):W(G,{placeholder:"Filter",size:x?"large":"medium","aria-label":"Filter options"})})]})};B.className=fo;B.defaultOptions=la;import{jsx as ht,jsxs as pa}from"react/jsx-runtime";var bt="k-actionsheet-view",ca=[],da={},ma={},pe=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:r,titleId:d,...c}=e,m=n?.type===B&&ht(B,{adaptive:t,titleId:d,...n?.props}),x=r?.type===q&&ht(q,{...r?.props});return pa("div",{...c,className:i(e.className,bt,{[`${bt}-animated`]:o}),children:[m,ht("div",{className:"k-actionsheet-content",children:a}),x]})};pe.states=ca;pe.options=da;pe.className=bt;pe.defaultOptions=ma;var Ee="action-sheet",ze=Ee;var St="overlay",xo=St;import{jsx as Na}from"react/jsx-runtime";var No="k-overlay",ua=[],fa={},xa={},Q=e=>{let{...t}=e;return Na("div",{...t,className:i(e.className,No),children:e.children})};Q.states=ua;Q.options=fa;Q.className=No;Q.defaultOptions=xa;Q.moduleName=St;Q.folderName=xo;import{jsx as De,jsxs as Sa}from"react/jsx-runtime";var ho="k-actionsheet",ha=[],ba={},Ie={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},O=e=>{let{side:t=Ie.side,fullscreen:o=Ie.fullscreen,adaptive:a=Ie.adaptive,overlay:n=Ie.overlay,template:r,children:d,header:c,footer:m,id:x,...h}=e,b=x&&!r&&c?`${x}-title`:void 0;return Sa("div",{className:"k-actionsheet-container",children:[n&&De(Q,{}),De(U,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:De("div",{...h,id:x,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":b,className:i(e.className,ho,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:r||De(pe,{header:c,footer:m,adaptive:a,titleId:b,...e,children:d})})})]})};O.states=ha;O.options=ba;O.className=ho;O.defaultOptions=Ie;O.moduleName=Ee;O.folderName=ze;import{jsx as Ma}from"react/jsx-runtime";var bo="k-actionsheet-container",va=[],Aa={},Ta={},ue=e=>{let{children:t,...o}=e;return Ma("div",{...o,className:bo,children:t})};ue.states=va;ue.options=Aa;ue.className=bo;ue.defaultOptions=Ta;ue.moduleName=Ee;ue.folderName=ze;import{jsx as Ea}from"react/jsx-runtime";var vt=e=>{let{...t}=e;return Ea("div",{...t,className:i(e.className,"k-list-ul"),children:e.children})};import{Fragment as ya,jsx as ye,jsxs as At}from"react/jsx-runtime";var Tt="k-actionsheet-item",Ia=[s.hover,s.focus,s.selected,s.disabled],Z=e=>{let{iconName:t,text:o,description:a,hover:n,focus:r,selected:d,disabled:c,...m}=e;return At("span",{...m,className:i(e.className,Tt,z(Tt,{hover:n,focus:r,selected:d,disabled:c})),children:[!e.children&&ye(ya,{children:At("span",{className:"k-actionsheet-action",children:[t&&ye("span",{className:"k-icon-wrap",children:ye(S,{className:"k-actionsheet-item-icon",icon:t})}),At("span",{className:"k-actionsheet-item-text",children:[o&&ye("span",{className:"k-actionsheet-item-title",children:o}),a&&ye("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Z.states=Ia;Z.className=Tt;import{jsx as Ed,jsxs as Id}from"react/jsx-runtime";import{jsx as Cd}from"react/jsx-runtime";import{jsx as Pd}from"react/jsx-runtime";import{jsx as Bd}from"react/jsx-runtime";import{jsx as g,jsxs as Mt}from"react/jsx-runtime";var ga=O.options,Oa=O.states,vo={...O.defaultOptions,variant:"normal"},Ca=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],ka=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],fe=e=>{let{variant:t,modifiers:o,...a}={...vo,...e},n={},r=Mt(vt,{children:[g(Z,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),g(Z,{text:"Add to Favorites",iconName:"heart"}),g(Z,{text:"Upload New",iconName:"upload",disabled:!0}),g("hr",{className:"k-hr"}),g(Z,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",c="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(m=>{switch(m){case"actions":n.actionsStart=!!o?.[m],n.actionsEnd=!!o?.[m];break;case"subtitle":n.subtitle=o?.[m]?d:void 0;break;case"footer":n.footer=!!o?.[m];break;default:break}}),t==="adaptive"?g(O,{...a,adaptive:!0,fullscreen:n.fullScreen,header:g(B,{actionsStart:n.actionsStart?g(f,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?g(f,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:c,subtitle:n.subtitle}),footer:n.footer?Mt(q,{alignment:"stretched",children:[g(f,{text:"Cancel",size:"large",themeColor:"base"}),g(f,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:r}):g(O,{...a,fullscreen:n.fullScreen,header:g(B,{actionsStart:n.actionsStart?g(f,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?g(f,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?Mt(q,{alignment:"stretched",children:[g(f,{text:"Apply",themeColor:"primary"}),g(f,{text:"Cancel",themeColor:"base"})]}):void 0,children:r})};fe.options=ga;fe.states=Oa;fe.variants=Ca;fe.defaultOptions=vo;fe.modifiers=ka;fe.className=O.className;var Ao="time-picker",To="timepicker";import{Fragment as Pa,jsx as T,jsxs as ge}from"react/jsx-runtime";var Mo="k-timepicker",La=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Ha={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Eo={showClearButton:!0},oe=e=>{let{size:t,rounded:o,fillMode:a,prefix:n,suffix:r,value:d,placeholder:c,showClearButton:m=Eo.showClearButton,hover:x,focus:h,valid:b,invalid:A,required:w,loading:L,disabled:M,readonly:E,opened:v,adaptive:H,adaptiveSettings:$,adaptiveTitle:ne,adaptiveSubtitle:xe,...Ne}=e,j=It("timepicker-popup");return ge(Pa,{children:[ge(y,{...Ne,size:t,rounded:o,fillMode:a,hover:x,focus:h,valid:b,invalid:A,required:w,loading:L,disabled:M,readonly:E,className:i(e.className,Mo),children:[T(ie,{children:n}),T(_,{placeholder:c,value:d,role:"combobox","aria-haspopup":"dialog","aria-expanded":v?"true":"false","aria-controls":v||H?j:void 0,"aria-invalid":A?"true":void 0,"aria-label":"Select time",disabled:M}),T(R,{valid:b,invalid:A,loading:L,disabled:M}),T(F,{loading:L,disabled:M}),m&&T(P,{loading:L,disabled:M,readonly:E,value:d}),T(se,{children:r}),T(f,{className:"k-input-button",icon:"clock",size:t,fillMode:a,tabIndex:-1,"aria-label":"Select time",disabled:M})]}),v&&ge(K,{id:j,className:"k-list-container k-timepicker-popup",children:[T(X,{columns:["HH","mm","ss","tt"],focusedColumn:"mm",header:T(de,{title:"10:00:00 AM",children:T(f,{fillMode:"flat",className:"k-time-now",children:"Now"})})}),ge(C,{alignment:"stretched",className:"k-time-footer",children:[T(f,{themeColor:"primary",className:"k-time-accept",children:"Set"}),T(f,{className:"k-time-cancel",children:"Cancel"})]})]}),H&&T(O,{adaptive:!0,id:j,...$,header:T(B,{actionsEnd:T(f,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:ne,subtitle:xe}),footer:ge(q,{children:[T(f,{text:"Cancel",size:"large"}),T(f,{text:"Set time",size:"large",themeColor:"primary"})]}),children:T(X,{size:"large",columns:["HH","mm","ss","tt"],focusedColumn:"HH",header:T(de,{title:"10:00:00 \u0410\u041C",children:T(f,{size:"large",fillMode:"flat",className:"k-time-now",children:"Now"})})})})]})};oe.states=La;oe.options=Ha;oe.className=Mo;oe.defaultOptions=Eo;oe.moduleName=Ao;oe.folderName=To;var hm=oe;export{Mo as TIMEPICKER_CLASSNAME,oe as TimePicker,hm as default};
|
|
1
|
+
var i=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?i(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var I=(e,t)=>i({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),z=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:r,checked:d,active:c,selected:m,disabled:x,indeterminate:h,loading:b,empty:A,readonly:w,highlighted:L,...M}=t;return i({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":r,"k-checked":d,"k-active":c,"k-selected":m,"k-disabled":x,"k-indeterminate":h&&!d,"k-loading":b,"k-empty":A,"k-readonly":w,"k-highlighted":L},Object.keys(M).reduce((E,v)=>(v.startsWith("k-")?E[v]=M[v]:E[`k-${v}`]=M[v],E),{}))};function Et(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var l={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},p={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},N={undefined:void 0,solid:"solid",tint:"tint",flat:"flat",outline:"outline",clear:"clear",link:"link"},D={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},u={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},s={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var Fe={};function It(e){return Fe[e]=(Fe[e]||0)+1,`k-${e}-${Fe[e]}`}var he="input",Oe=he;import{jsx as Co}from"react/jsx-runtime";var Ce="k-input",yo=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],go={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Oo={},y=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c,size:m,rounded:x,fillMode:h,...b}=e;return Co("span",{...b,className:i(e.className,Ce,I(Ce,{size:m,rounded:x,fillMode:h}),z(Ce,{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c}))})};y.states=yo;y.options=go;y.className=Ce;y.defaultOptions=Oo;y.moduleName=he;y.folderName=Oe;import{jsx as Po}from"react/jsx-runtime";var ke="k-picker",ko=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Lo={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Ho={},ae=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c,size:m,rounded:x,fillMode:h,...b}=e;return Po("span",{...b,className:i(e.className,ke,I(ke,{size:m,rounded:x,fillMode:h}),z(ke,{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c})),children:e.children})};ae.states=ko;ae.options=Lo;ae.className=ke;ae.defaultOptions=Ho;ae.moduleName=he;ae.folderName=Oe;import{Fragment as Bo,jsx as yt}from"react/jsx-runtime";var Ve="k-font-icon",_o=[],Ro={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info]},Ko={},be=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:r,...d}=e;return a?yt("span",{...d,className:i(e.className,Ve,I(Ve,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),"aria-hidden":"true"}):yt(Bo,{})};be.states=_o;be.options=Ro;be.className=Ve;be.defaultOptions=Ko;var gt=be;import{Fragment as Do,jsx as Le}from"react/jsx-runtime";var Ue="k-svg-icon",wo=[],zo={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info],variant:[D.outline,D.solid,D.duotone]},$e={viewBox:"0 0 24 24",variant:D.outline},Se=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:r=$e.viewBox,variant:d=$e.variant,icon:c,...m}=e;if(!c)return Le(Do,{});if(c==="none")return Le("span",{...m,className:i(e.className,Ue,I("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let x=typeof c=="object"&&c.name&&c.name,h=typeof c=="object"?d&&c.variants?.[d]||c.variants?.outline||c.content:void 0;return Le("span",{...m,className:i(e.className,Ue,I("k-icon",{size:t}),{[`k-svg-i-${x}`]:x,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:Le("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:r,dangerouslySetInnerHTML:h!==void 0?{__html:h}:void 0,children:c?void 0:e.children})})};Se.states=wo;Se.options=zo;Se.className=Ue;Se.defaultOptions=$e;var Xe=Se;import*as Je from"@progress/kendo-svg-icons";var Ot="icon",Ct="icons";import{useContext as Vo}from"react";import{createContext as Fo}from"react";var kt=Fo({iconsType:"svg"});import{Fragment as Lt,jsx as ve}from"react/jsx-runtime";var He="k-icon",Uo=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),$o=[],Xo={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info],variant:[D.outline,D.solid,D.duotone]},Pe={viewBox:"0 0 24 24",type:"svg",variant:D.outline},S=e=>{let{iconsType:t}=Vo(kt),{size:o,themeColor:a,icon:n,type:r=t||Pe.type,rotate:d,flip:c,viewBox:m=Pe.viewBox,variant:x=Pe.variant,...h}=e;if(!n)return ve(Lt,{});if((t||r)==="svg"){if(n==="none")return ve(Xe,{...h,className:i(e.className,He),icon:n,size:o,variant:x});let A=Je[n]?n:Uo(`${n}-icon`);return Je[A]?ve(Xe,{...h,className:i(e.className,He),icon:Je[A],size:o,themeColor:a,rotate:d,flip:c,viewBox:m,variant:x}):ve(Lt,{})}return ve(gt,{...h,className:i(e.className,He),icon:n,size:o,themeColor:a,rotate:d,flip:c})};S.states=$o;S.options=Xo;S.defaultOptions=Pe;S.className=He;S.moduleName=Ot;S.folderName=Ct;import{Fragment as Go,jsx as qe}from"react/jsx-runtime";var Ht="k-clear-value",Jo=[s.disabled,s.loading,s.readonly],qo={},P=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?qe(Go,{}):qe("span",{className:i(e.className,Ht),children:qe(S,{icon:"x"})})};P.states=Jo;P.options=qo;P.className=Ht;import{jsx as Qo}from"react/jsx-runtime";var Ge="k-input-inner",Yo=[],Wo={},_e={type:"text",autocomplete:"off",value:"",placeholder:""},_=e=>{let{value:t=_e.value,type:o=_e.type,placeholder:a=_e.placeholder,autocomplete:n=_e.autocomplete,disabled:r,readOnly:d,...c}=e;return Qo("input",{...c,type:o,className:i(e.className,Ge,I(Ge,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:r||void 0,readOnly:d||void 0})};_.states=Yo;_.options=Wo;_.className=Ge;import{jsx as Pt,jsxs as en}from"react/jsx-runtime";var Ye="k-input-inner",Zo=[],jo={},We=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:r,...d}=e;return en("span",{...d,className:i(e.className,Ye,I(Ye,e)),children:[n,!n&&r&&Pt(S,{className:"k-input-value-icon",icon:r}),a&&!t&&o,a&&t&&Pt("span",{className:"k-input-value-text",children:t})]})};We.states=Zo;We.options=jo;We.className=Ye;import{jsx as nn}from"react/jsx-runtime";var Qe="k-input-inner",tn=[],on={},_t={value:"",placeholder:""},Ze=e=>{let{value:t=_t.value,placeholder:o=_t.placeholder,rows:a,disabled:n,...r}=e;return nn("textarea",{...r,className:i(e.className,Qe,I(Qe,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};Ze.states=tn;Ze.options=on;Ze.className=Qe;import{Fragment as sn,jsx as Rt}from"react/jsx-runtime";var Kt="k-input-loading-icon",an=[s.disabled,s.loading],F=e=>{let{disabled:t,loading:o}=e;return t||!o?Rt(sn,{}):Rt("span",{className:i(e.className,Kt,"k-icon k-i-loading")})};F.states=an;F.className=Kt;import{Fragment as cn,jsx as Bt}from"react/jsx-runtime";var wt="k-input-validation-icon",rn=[s.valid,s.invalid,s.disabled,s.loading],ln={},R=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,r=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?Bt(cn,{}):Bt(S,{className:i(wt),icon:r})};R.states=rn;R.options=ln;R.className=wt;import{Fragment as pn,jsx as zt}from"react/jsx-runtime";var dn="k-input-prefix",mn={direction:"horizontal"},ie=e=>{let{direction:t=mn.direction,...o}=e;return e.children?zt("span",{...o,className:i(dn,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):zt(pn,{})};import{Fragment as xn,jsx as Dt}from"react/jsx-runtime";var un="k-input-suffix",fn={direction:"horizontal"},se=e=>{let{direction:t=fn.direction,...o}=e;return e.children?Dt("span",{...o,className:i(un,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Dt(xn,{})};import{jsx as Yi}from"react/jsx-runtime";import{jsx as ji}from"react/jsx-runtime";import{jsx as hn}from"react/jsx-runtime";var Ft="k-input-separator",Nn={direction:"vertical"},re=e=>{let{direction:t=Nn.direction,...o}=e;return hn("span",{...o,className:i(Ft,e.className,{[`${Ft}-${t}`]:t})})};var je="button",Vt=je;import{Fragment as et,jsx as J,jsxs as Ut}from"react/jsx-runtime";var Ae="k-button",bn=["icon-button"],Sn=[s.hover,s.focus,s.active,s.selected,s.disabled,s.generating],vn={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline,N.clear,N.link],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.inverse]},tt={showArrow:!1,arrowIconName:"chevron-down"},f=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:r,showArrow:d=tt.showArrow,arrowIconName:c=tt.arrowIconName,variant:m,hover:x,focus:h,active:b,selected:A,disabled:w,togglable:L,ariaDisabled:M,icon:E,endIcon:v,iconSize:H,text:$,iconClassName:ne,className:xe,...Ne}=e,j=E!=null,Io=e.children!==void 0;return Ut(t,{className:i(xe,Ae,Et(Ae,m),I(Ae,{size:o,rounded:a,fillMode:n,themeColor:r}),z(Ae,{hover:x,focus:h,active:b,disabled:w||M,selected:A}),{"k-icon-button":!$&&!Io&&j}),"aria-pressed":L?A?"true":"false":void 0,...Ne,"aria-disabled":M?"true":void 0,disabled:w||void 0,children:[typeof E=="string"&&E&&J(S,{className:i(ne,"k-button-icon"),icon:E,size:H}),E&&typeof E!="string"&&J(et,{children:E}),$?Ut(et,{children:[$&&J("span",{className:"k-button-text",children:$}),e.children]}):e.children&&J("span",{className:"k-button-text",children:e.children}),typeof v=="string"&&v&&J(S,{className:i(ne,"k-button-icon"),icon:v,size:H}),v&&typeof v!="string"&&J(et,{children:v}),d&&J("span",{className:"k-menu-button-arrow k-button-arrow",children:J(S,{icon:c})})]})};f.states=Sn;f.options=vn;f.variants=bn;f.className=Ae;f.defaultOptions=tt;f.moduleName=je;f.folderName=Vt;import{jsx as An}from"react/jsx-runtime";var ee=e=>An(f,{children:"Button",...e});import{Fragment as $t,jsx as V,jsxs as ot}from"react/jsx-runtime";var Tn=y.states,Mn=y.defaultOptions,En=y.options,In=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],yn=[],le=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:r,readonly:d,...c}=e,m=t?.prefix,x=t?.suffix,h=t?.["clear-button"],b=t?.["validation-icon"],A=t?.separators;return ot(y,{...c,valid:o,invalid:a,loading:n,disabled:r,readonly:d,style:{width:300},children:[m&&ot($t,{children:[V(ie,{children:V(S,{icon:"lock"})}),A&&V(re,{})]}),V(_,{placeholder:"Placeholder",value:"Value"}),b&&V(R,{valid:o,invalid:a,loading:n,disabled:r}),V(F,{loading:n,disabled:r}),h&&V(P,{loading:n,disabled:r,readonly:d,value:"Value"}),x&&ot($t,{children:[A&&V(re,{}),V(se,{children:V(ee,{size:c.size,fillMode:"clear",children:"Send"})})]})]})};le.options=En;le.states=Tn;le.variants=yn;le.defaultOptions=Mn;le.modifiers=In;le.className=y.className;import{jsx as gn}from"react/jsx-runtime";var Xt=e=>gn(f,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as On}from"react/jsx-runtime";var Jt=e=>On(f,{icon:"folder",children:"Button",...e});import{jsx as Ws}from"react/jsx-runtime";import{jsx as nt}from"react/jsx-runtime";var Cn=f.options,kn=f.states,Ln={...f.defaultOptions,variant:"text"},Hn=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Pn=[],ce=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return nt(Xt,{...o,icon:"star"});case"icon-and-text":return nt(Jt,{...o,icon:"star",children:"Button"});default:return nt(ee,{...o,children:"Button"})}};ce.options=Cn;ce.states=kn;ce.variants=Hn;ce.defaultOptions=Ln;ce.modifiers=Pn;ce.className=f.className;var at="popup",qt=at;import{jsx as Gt}from"react/jsx-runtime";var Yt="k-animation-container",_n=[],Rn={},it={positionMode:"absolute",shown:!0},U=e=>{let{positionMode:t=it.positionMode,shown:o=it.shown,animationStyle:a,offset:n,...r}=e;return Gt("div",{...r,style:{...n,...e.style},className:i(e.className,Yt,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:Gt("div",{className:"k-child-animation-container",style:a,children:e.children})})};U.states=_n;U.options=Rn;U.className=Yt;U.defaultOptions=it;U.moduleName=at;U.folderName=qt;var st="popup",Wt=st;import{jsx as Qt}from"react/jsx-runtime";var Zt="k-popup",Kn=[],Bn={},jt={positionMode:"absolute"},K=e=>{let{offset:t,positionMode:o=jt.positionMode,animationStyle:a,containerClassName:n,containerRole:r,containerAriaLabel:d,...c}=e;return Qt(U,{positionMode:o,offset:t,animationStyle:a,className:n,role:r,"aria-label":d,children:Qt("div",{...c,className:i(e.className,Zt),children:e.children})})};K.states=Kn;K.options=Bn;K.className=Zt;K.defaultOptions=jt;K.moduleName=st;K.folderName=Wt;var eo="time-selector",to="timeselector";import{Fragment as oo,jsx as Re,jsxs as no}from"react/jsx-runtime";var rt="k-timeselector",wn=[],zn={size:[l.undefined,l.small,l.medium,l.large]},Dn={},X=e=>{let{size:t,header:o,fastSelection:a,columns:n,focusedColumn:r,...d}=e,c=n.map(function(m,x){let h=!1,b=!0;return m===r&&(h=!0),(x===0||m==="tt")&&(b=!1),Re(lt,{type:m,focus:h,separator:b},x)});return no("div",{...d,className:i(e.className,rt,I(rt,{size:t})),role:"group","aria-label":"Time selector",children:[Re(oo,{children:o}),Re(oo,{children:a}),no("div",{className:"k-time-list-container",children:[Re("span",{className:"k-time-highlight"}),c]})]})};X.states=wn;X.options=zn;X.className=rt;X.defaultOptions=Dn;X.moduleName=eo;X.folderName=to;import{Fragment as Vn,jsx as te,jsxs as ct}from"react/jsx-runtime";var Fn=[s.focus],lt=e=>{let{type:t,focus:o,separator:a,...n}=e,r,d=["00","01","02","03","04","05","06","07","08","09"];switch(t){case"dd":r="Day";break;case"HH":r="Hour";break;case"mm":r="Minute";break;case"ss":r="Second";break;case"SSS":r="Millisecond",d=["000","001","002","003","004","005","006","007","008","009"];break;case"tt":r="AM/PM",d=["AM","PM"];break;default:r="Column Name";break}let c=d.map((m,x)=>te("li",{className:"k-item",role:"option","aria-selected":"false",children:te("span",{children:m})},x));return ct(Vn,{children:[a&&te("div",{className:"k-time-separator",children:":"}),ct("div",{...n,className:i(e.className,"k-time-list-wrapper",z("k-time-list-wrapper",{focus:o})),children:[te("span",{className:"k-title",children:r}),te("div",{className:"k-time-list",role:"listbox","aria-label":r,children:ct("div",{className:"k-content k-scrollable k-time-container",children:[te("ul",{className:"k-reset",style:{transform:"translateY(97px)"},role:"none",children:c}),te("div",{className:"k-scrollable-placeholder"})]})})]})]})};lt.states=Fn;import{jsx as $n,jsxs as Xn}from"react/jsx-runtime";var Un="k-time-header",de=e=>{let{title:t,...o}=e;return Xn("div",{...o,className:i(e.className,Un),children:[t!=null&&$n("span",{className:"k-title",children:t}),e.children]})};var dt="action-buttons",ao=dt;import{jsx as Gn}from"react/jsx-runtime";var Ke="k-actions",Jn=[],qn={},mt={alignment:"start",orientation:"horizontal"},C=e=>{let{alignment:t=mt.alignment,orientation:o=mt.orientation,...a}=e;return Gn("div",{...a,className:i(Ke,{[`${Ke}-${t}`]:t,[`${Ke}-${o}`]:o},e.className),children:e.children})};C.states=Jn;C.options=qn;C.className=Ke;C.defaultOptions=mt;C.moduleName=dt;C.folderName=ao;import{jsx as Wr,jsxs as Qr}from"react/jsx-runtime";import{Fragment as rl,jsx as il,jsxs as sl}from"react/jsx-runtime";import{Fragment as hl,jsx as xl,jsxs as Nl}from"react/jsx-runtime";import{Fragment as gl,jsx as Il,jsxs as yl}from"react/jsx-runtime";import{jsx as Wn}from"react/jsx-runtime";var Yn="k-actionsheet-footer",so={alignment:"stretched",orientation:"horizontal"},q=e=>{let{alignment:t=so.alignment,orientation:o=so.orientation,template:a,as:n=a?"div":C,...r}=e;return Wn(n,{...r,...!a&&{alignment:t,orientation:o},className:i(e.className,Yn),children:e.children})};var pt="searchbox",ro=pt;import{jsx as Te,jsxs as jn}from"react/jsx-runtime";var lo="k-searchbox",Qn=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading],Zn={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Be={showIcon:!0,showClearButton:!0,icon:"search"},G=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:r,hover:d,focus:c,valid:m,invalid:x,required:h,loading:b,disabled:A,showIcon:w=Be.showIcon,showClearButton:L=Be.showClearButton,icon:M=Be.icon,"aria-label":E,...v}=e;return jn(y,{...v,size:a,rounded:n,fillMode:r,hover:d,focus:c,valid:m,invalid:x,required:h,loading:b,disabled:A,className:i(e.className,lo),children:[w&&Te(S,{className:"k-input-icon",icon:M}),Te(_,{placeholder:o,value:t,"aria-label":E}),Te(F,{...e}),Te(R,{...e}),L&&Te(P,{...e})]})};G.states=Qn;G.options=Zn;G.className=lo;G.defaultOptions=Be;G.moduleName=pt;G.folderName=ro;import{jsx as Ql}from"react/jsx-runtime";var ut="textbox",co=ut;import{Fragment as mo,jsx as Y,jsxs as ft}from"react/jsx-runtime";var po="k-textbox",ea=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],ta={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},we={showClearButton:!0,showValidationIcon:!0,separators:!0},k=e=>{let{size:t,rounded:o,fillMode:a,separators:n=we.separators,showClearButton:r=we.showClearButton,showValidationIcon:d=we.showValidationIcon,prefix:c,suffix:m,type:x,value:h,placeholder:b,hover:A,focus:w,valid:L,invalid:M,required:E,loading:v,disabled:H,readonly:$,id:ne,"aria-label":xe,"aria-describedby":Ne,...j}=e;return ft(y,{...j,size:t,rounded:o,fillMode:a,hover:A,focus:w,valid:L,invalid:M,required:E,loading:v,disabled:H,readonly:$,className:i(e.className,po),children:[c&&ft(mo,{children:[Y(ie,{children:c}),n&&Y(re,{})]}),Y(_,{id:ne,placeholder:b,value:h,type:x,disabled:H,"aria-label":xe,"aria-describedby":Ne,"aria-invalid":M?"true":void 0}),d&&Y(R,{valid:L,invalid:M,loading:v,disabled:H}),Y(F,{loading:v,disabled:H}),r&&Y(P,{loading:v,disabled:H,readonly:$,value:h}),m&&ft(mo,{children:[n&&Y(re,{}),Y(se,{children:m})]})]})};k.states=ea;k.options=ta;k.className=po;k.defaultOptions=we;k.moduleName=ut;k.folderName=co;var Me=k;import{jsx as oa}from"react/jsx-runtime";var uo=e=>oa(Me,{...e});import{Fragment as xc,jsx as fc}from"react/jsx-runtime";import{Fragment as Ac,jsx as vc}from"react/jsx-runtime";import{jsx as Ic}from"react/jsx-runtime";import{jsx as xt}from"react/jsx-runtime";var na=k.states,aa=k.defaultOptions,ia=k.options,sa=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],ra=[],me=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?xt(S,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[n]?xt(ee,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;default:break}}),xt(uo,{value:"Value",style:{width:300},...o,...a})};me.options=ia;me.states=na;me.variants=ra;me.defaultOptions=aa;me.modifiers=sa;me.className=k.className;import{jsx as W,jsxs as Nt}from"react/jsx-runtime";var fo="k-actionsheet-titlebar",la={},B=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:r,input:d,inputValue:c,inputPlaceholder:m,adaptive:x,titleId:h,children:b,...A}=e;return Nt("div",{...A,className:i(e.className,fo),children:[Nt("div",{className:"k-actionsheet-titlebar-group",children:[a&&W("div",{className:"k-actionsheet-actions",children:a}),!b&&Nt("div",{className:"k-actionsheet-title",id:h,children:[t&&W("div",{className:"k-text-center",children:t}),o&&W("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),b&&W("div",{className:"k-actionsheet-title",id:h,children:b}),n&&W("div",{className:"k-actionsheet-actions",children:n})]}),(d||r)&&W("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?W(k,{value:c,placeholder:m,size:x?"large":"medium","aria-label":t||m||"Input"}):W(G,{placeholder:"Filter",size:x?"large":"medium","aria-label":"Filter options"})})]})};B.className=fo;B.defaultOptions=la;import{jsx as ht,jsxs as pa}from"react/jsx-runtime";var bt="k-actionsheet-view",ca=[],da={},ma={},pe=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:r,titleId:d,...c}=e,m=n?.type===B&&ht(B,{adaptive:t,titleId:d,...n?.props}),x=r?.type===q&&ht(q,{...r?.props});return pa("div",{...c,className:i(e.className,bt,{[`${bt}-animated`]:o}),children:[m,ht("div",{className:"k-actionsheet-content",children:a}),x]})};pe.states=ca;pe.options=da;pe.className=bt;pe.defaultOptions=ma;var Ee="action-sheet",ze=Ee;var St="overlay",xo=St;import{jsx as Na}from"react/jsx-runtime";var No="k-overlay",ua=[],fa={},xa={},Q=e=>{let{...t}=e;return Na("div",{...t,className:i(e.className,No),children:e.children})};Q.states=ua;Q.options=fa;Q.className=No;Q.defaultOptions=xa;Q.moduleName=St;Q.folderName=xo;import{jsx as De,jsxs as Sa}from"react/jsx-runtime";var ho="k-actionsheet",ha=[],ba={},Ie={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},O=e=>{let{side:t=Ie.side,fullscreen:o=Ie.fullscreen,adaptive:a=Ie.adaptive,overlay:n=Ie.overlay,template:r,children:d,header:c,footer:m,id:x,...h}=e,b=x&&!r&&c?`${x}-title`:void 0;return Sa("div",{className:"k-actionsheet-container",children:[n&&De(Q,{}),De(U,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:De("div",{...h,id:x,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":b,className:i(e.className,ho,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:r||De(pe,{header:c,footer:m,adaptive:a,titleId:b,...e,children:d})})})]})};O.states=ha;O.options=ba;O.className=ho;O.defaultOptions=Ie;O.moduleName=Ee;O.folderName=ze;import{jsx as Ma}from"react/jsx-runtime";var bo="k-actionsheet-container",va=[],Aa={},Ta={},ue=e=>{let{children:t,...o}=e;return Ma("div",{...o,className:bo,children:t})};ue.states=va;ue.options=Aa;ue.className=bo;ue.defaultOptions=Ta;ue.moduleName=Ee;ue.folderName=ze;import{jsx as Ea}from"react/jsx-runtime";var vt=e=>{let{...t}=e;return Ea("div",{...t,className:i(e.className,"k-list-ul"),children:e.children})};import{Fragment as ya,jsx as ye,jsxs as At}from"react/jsx-runtime";var Tt="k-actionsheet-item",Ia=[s.hover,s.focus,s.selected,s.disabled],Z=e=>{let{iconName:t,text:o,description:a,hover:n,focus:r,selected:d,disabled:c,...m}=e;return At("span",{...m,className:i(e.className,Tt,z(Tt,{hover:n,focus:r,selected:d,disabled:c})),children:[!e.children&&ye(ya,{children:At("span",{className:"k-actionsheet-action",children:[t&&ye("span",{className:"k-icon-wrap",children:ye(S,{className:"k-actionsheet-item-icon",icon:t})}),At("span",{className:"k-actionsheet-item-text",children:[o&&ye("span",{className:"k-actionsheet-item-title",children:o}),a&&ye("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Z.states=Ia;Z.className=Tt;import{jsx as Ed,jsxs as Id}from"react/jsx-runtime";import{jsx as Cd}from"react/jsx-runtime";import{jsx as Pd}from"react/jsx-runtime";import{jsx as Bd}from"react/jsx-runtime";import{jsx as g,jsxs as Mt}from"react/jsx-runtime";var ga=O.options,Oa=O.states,vo={...O.defaultOptions,variant:"normal"},Ca=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],ka=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],fe=e=>{let{variant:t,modifiers:o,...a}={...vo,...e},n={},r=Mt(vt,{children:[g(Z,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),g(Z,{text:"Add to Favorites",iconName:"heart"}),g(Z,{text:"Upload New",iconName:"upload",disabled:!0}),g("hr",{className:"k-hr"}),g(Z,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",c="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(m=>{switch(m){case"actions":n.actionsStart=!!o?.[m],n.actionsEnd=!!o?.[m];break;case"subtitle":n.subtitle=o?.[m]?d:void 0;break;case"footer":n.footer=!!o?.[m];break;default:break}}),t==="adaptive"?g(O,{...a,adaptive:!0,fullscreen:n.fullScreen,header:g(B,{actionsStart:n.actionsStart?g(f,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?g(f,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:c,subtitle:n.subtitle}),footer:n.footer?Mt(q,{alignment:"stretched",children:[g(f,{text:"Cancel",size:"large",themeColor:"base"}),g(f,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:r}):g(O,{...a,fullscreen:n.fullScreen,header:g(B,{actionsStart:n.actionsStart?g(f,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?g(f,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?Mt(q,{alignment:"stretched",children:[g(f,{text:"Apply",themeColor:"primary"}),g(f,{text:"Cancel",themeColor:"base"})]}):void 0,children:r})};fe.options=ga;fe.states=Oa;fe.variants=Ca;fe.defaultOptions=vo;fe.modifiers=ka;fe.className=O.className;var Ao="time-picker",To="timepicker";import{Fragment as Pa,jsx as T,jsxs as ge}from"react/jsx-runtime";var Mo="k-timepicker",La=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Ha={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Eo={showClearButton:!0},oe=e=>{let{size:t,rounded:o,fillMode:a,prefix:n,suffix:r,value:d,placeholder:c,showClearButton:m=Eo.showClearButton,hover:x,focus:h,valid:b,invalid:A,required:w,loading:L,disabled:M,readonly:E,opened:v,adaptive:H,adaptiveSettings:$,adaptiveTitle:ne,adaptiveSubtitle:xe,...Ne}=e,j=It("timepicker-popup");return ge(Pa,{children:[ge(y,{...Ne,size:t,rounded:o,fillMode:a,hover:x,focus:h,valid:b,invalid:A,required:w,loading:L,disabled:M,readonly:E,className:i(e.className,Mo),children:[T(ie,{children:n}),T(_,{placeholder:c,value:d,role:"combobox","aria-haspopup":"dialog","aria-expanded":v?"true":"false","aria-controls":v||H?j:void 0,"aria-invalid":A?"true":void 0,"aria-label":"Select time",disabled:M}),T(R,{valid:b,invalid:A,loading:L,disabled:M}),T(F,{loading:L,disabled:M}),m&&T(P,{loading:L,disabled:M,readonly:E,value:d}),T(se,{children:r}),T(f,{className:"k-input-button",icon:"clock",size:t,fillMode:a,tabIndex:-1,"aria-label":"Select time",disabled:M})]}),v&&ge(K,{id:j,className:"k-list-container k-timepicker-popup",children:[T(X,{columns:["HH","mm","ss","tt"],focusedColumn:"mm",header:T(de,{title:"10:00:00 AM",children:T(f,{fillMode:"flat",className:"k-time-now",children:"Now"})})}),ge(C,{alignment:"stretched",className:"k-time-footer",children:[T(f,{themeColor:"primary",className:"k-time-accept",children:"Set"}),T(f,{className:"k-time-cancel",children:"Cancel"})]})]}),H&&T(O,{adaptive:!0,id:j,...$,header:T(B,{actionsEnd:T(f,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:ne,subtitle:xe}),footer:ge(q,{children:[T(f,{text:"Cancel",size:"large"}),T(f,{text:"Set time",size:"large",themeColor:"primary"})]}),children:T(X,{size:"large",columns:["HH","mm","ss","tt"],focusedColumn:"HH",header:T(de,{title:"10:00:00 AM",children:T(f,{size:"large",fillMode:"flat",className:"k-time-now",children:"Now"})})})})]})};oe.states=La;oe.options=Ha;oe.className=Mo;oe.defaultOptions=Eo;oe.moduleName=Ao;oe.folderName=To;var hm=oe;export{Mo as TIMEPICKER_CLASSNAME,oe as TimePicker,hm as default};
|
|
@@ -19,6 +19,7 @@ export * from './templates/datainsights-composer-loading';
|
|
|
19
19
|
export * from './templates/datainsights-composer-error';
|
|
20
20
|
export * from './templates/datainsights-composer-report';
|
|
21
21
|
export * from './templates/datainsights-composer-report-edit-panel';
|
|
22
|
+
export * from './templates/datainsights-composer-report-edit-panel-compact';
|
|
22
23
|
export * from './templates/datainsights-composer-followup';
|
|
23
24
|
export * from './templates/datainsights-composer-history-popup';
|
|
24
25
|
export * from './templates/datainsights-composer-data-source-browser-popup';
|
package/package.json
CHANGED
|
@@ -90,7 +90,7 @@ export default () => (
|
|
|
90
90
|
</div>
|
|
91
91
|
<div className="k-datetime-time-wrap">
|
|
92
92
|
<TimeSelector size="large" columns={["HH", "mm", "ss", "tt"]} focusedColumn="HH" header={(
|
|
93
|
-
<TimeSelectorHeader title="10:00:00
|
|
93
|
+
<TimeSelectorHeader title="10:00:00 AM">
|
|
94
94
|
<Button fillMode="flat" className="k-time-now">Now</Button>
|
|
95
95
|
</TimeSelectorHeader>
|
|
96
96
|
)} />
|
|
@@ -38,7 +38,7 @@ export default () => (
|
|
|
38
38
|
}
|
|
39
39
|
>
|
|
40
40
|
<TimeSelector size="large" columns={["HH", "mm", "ss", "tt"]} focusedColumn="HH" header={(
|
|
41
|
-
<TimeSelectorHeader title="10:00:00
|
|
41
|
+
<TimeSelectorHeader title="10:00:00 AM">
|
|
42
42
|
<Button fillMode="flat" className="k-time-now">Now</Button>
|
|
43
43
|
</TimeSelectorHeader>
|
|
44
44
|
)} />
|
|
@@ -58,7 +58,7 @@ export default () => (
|
|
|
58
58
|
}
|
|
59
59
|
>
|
|
60
60
|
<TimeSelector size="large" columns={["HH", "mm", "ss", "tt"]} focusedColumn="HH" header={(
|
|
61
|
-
<TimeSelectorHeader title="10:00:00
|
|
61
|
+
<TimeSelectorHeader title="10:00:00 AM">
|
|
62
62
|
<Button fillMode="flat" className="k-time-now">Now</Button>
|
|
63
63
|
</TimeSelectorHeader>
|
|
64
64
|
)} />
|
|
@@ -20,6 +20,7 @@ export * from './templates/datainsights-composer-loading';
|
|
|
20
20
|
export * from './templates/datainsights-composer-error';
|
|
21
21
|
export * from './templates/datainsights-composer-report';
|
|
22
22
|
export * from './templates/datainsights-composer-report-edit-panel';
|
|
23
|
+
export * from './templates/datainsights-composer-report-edit-panel-compact';
|
|
23
24
|
export * from './templates/datainsights-composer-followup';
|
|
24
25
|
export * from './templates/datainsights-composer-history-popup';
|
|
25
26
|
export * from './templates/datainsights-composer-data-source-browser-popup';
|
package/src/datainsights-composer/templates/datainsights-composer-report-edit-panel-compact.tsx
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { Badge } from '../../badge';
|
|
2
|
+
import { Button } from '../../button';
|
|
3
|
+
import { Chip, ChipList } from '../../chip';
|
|
4
|
+
import { IconButton } from '../../button';
|
|
5
|
+
import { PromptBox } from '../../prompt-box';
|
|
6
|
+
import {
|
|
7
|
+
DataInsightsComposer,
|
|
8
|
+
DataInsightsComposerActions,
|
|
9
|
+
DataInsightsComposerCardPanel,
|
|
10
|
+
DataInsightsComposerFields,
|
|
11
|
+
DataInsightsComposerOutput,
|
|
12
|
+
DataInsightsComposerReportHeader,
|
|
13
|
+
DataInsightsComposerReportTitle,
|
|
14
|
+
DataInsightsComposerTitle,
|
|
15
|
+
} from '..';
|
|
16
|
+
|
|
17
|
+
// Icon-only variant of the Confirm/Discard/History actions, used in narrow
|
|
18
|
+
// containers (e.g. under the component's 650px container-query breakpoint)
|
|
19
|
+
// where only the icons fit. Dropping the `text` prop gives these buttons the
|
|
20
|
+
// real `.k-icon-button` class/sizing instead of faking it in CSS.
|
|
21
|
+
export const DataInsightsComposerReportEditPanelCompact = (props: any) => (
|
|
22
|
+
<DataInsightsComposer {...props}>
|
|
23
|
+
<DataInsightsComposerCardPanel>
|
|
24
|
+
<DataInsightsComposerReportHeader>
|
|
25
|
+
<DataInsightsComposerTitle>Refine this report</DataInsightsComposerTitle>
|
|
26
|
+
</DataInsightsComposerReportHeader>
|
|
27
|
+
<div className="k-datainsights-composer-promptbox-group">
|
|
28
|
+
<PromptBox
|
|
29
|
+
lineMode="auto"
|
|
30
|
+
isExpanded
|
|
31
|
+
speechToTextButtonConfig={false}
|
|
32
|
+
actionButtonConfig={{ icon: 'paper-plane', text: 'Generate' }}
|
|
33
|
+
placeholder="Describe the report you want to generate..."
|
|
34
|
+
endAffix={(
|
|
35
|
+
<>
|
|
36
|
+
<Button icon="data" size="small" fillMode="flat" text="Data Source">
|
|
37
|
+
<Badge rounded="full" themeColor="base" size="small">2</Badge>
|
|
38
|
+
</Button>
|
|
39
|
+
<span className="k-spacer" />
|
|
40
|
+
</>
|
|
41
|
+
)}
|
|
42
|
+
/>
|
|
43
|
+
<DataInsightsComposerFields>
|
|
44
|
+
<ChipList role="group" ariaLabel="Data sources">
|
|
45
|
+
<Chip tabIndex={0} aria-haspopup="true" rounded="full" size="small" icon="data-json" text="sales_orders" />
|
|
46
|
+
<Chip tabIndex={-1} aria-haspopup="true" rounded="full" size="small" icon="data-json" text="sales_persona" />
|
|
47
|
+
</ChipList>
|
|
48
|
+
</DataInsightsComposerFields>
|
|
49
|
+
</div>
|
|
50
|
+
<div className="k-datainsights-composer-report-content">
|
|
51
|
+
<DataInsightsComposerReportHeader>
|
|
52
|
+
<DataInsightsComposerReportTitle id="datainsights-composer-report-title">Revenue by region</DataInsightsComposerReportTitle>
|
|
53
|
+
<DataInsightsComposerActions>
|
|
54
|
+
<IconButton icon="check" fillMode="flat" title="Confirm" aria-label="Confirm" />
|
|
55
|
+
<IconButton icon="x" fillMode="flat" title="Discard" aria-label="Discard" />
|
|
56
|
+
<IconButton icon="clock-arrow-rotate" fillMode="flat" title="Version History" aria-label="History" />
|
|
57
|
+
</DataInsightsComposerActions>
|
|
58
|
+
</DataInsightsComposerReportHeader>
|
|
59
|
+
<DataInsightsComposerOutput titleId="datainsights-composer-report-title" />
|
|
60
|
+
</div>
|
|
61
|
+
</DataInsightsComposerCardPanel>
|
|
62
|
+
</DataInsightsComposer>
|
|
63
|
+
);
|
|
64
|
+
|
|
65
|
+
export default DataInsightsComposerReportEditPanelCompact;
|
|
@@ -47,9 +47,9 @@ export const DataInsightsComposerReportEditPanel = (props: any) => (
|
|
|
47
47
|
<DataInsightsComposerReportHeader>
|
|
48
48
|
<DataInsightsComposerReportTitle id="datainsights-composer-report-title">Revenue by region</DataInsightsComposerReportTitle>
|
|
49
49
|
<DataInsightsComposerActions>
|
|
50
|
-
<IconButton icon="check" text="
|
|
51
|
-
<IconButton icon="x" text="Discard"
|
|
52
|
-
<IconButton icon="clock-arrow-rotate"
|
|
50
|
+
<IconButton icon="check" text="Confirm" fillMode="flat" title="Confirm" aria-label="Confirm" />
|
|
51
|
+
<IconButton icon="x" text="Discard" fillMode="flat" title="Discard" aria-label="Discard" />
|
|
52
|
+
<IconButton icon="clock-arrow-rotate" text="History" fillMode="flat" title="Version History" aria-label="History" />
|
|
53
53
|
</DataInsightsComposerActions>
|
|
54
54
|
</DataInsightsComposerReportHeader>
|
|
55
55
|
<DataInsightsComposerOutput titleId="datainsights-composer-report-title" />
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DataInsightsComposerReportEditPanelCompact } from '../templates/datainsights-composer-report-edit-panel-compact';
|
|
2
|
+
|
|
3
|
+
// Narrow container: demonstrates the Confirm/Discard/History actions as
|
|
4
|
+
// icon-only buttons, which is how the component is expected to render them
|
|
5
|
+
// once the surrounding layout drops below ~650px.
|
|
6
|
+
export default () => (
|
|
7
|
+
<div id="test-area" style={{ width: '600px', maxWidth: '100%' }}>
|
|
8
|
+
<DataInsightsComposerReportEditPanelCompact />
|
|
9
|
+
</div>
|
|
10
|
+
);
|
|
@@ -43,6 +43,7 @@ export const Suggestion = (
|
|
|
43
43
|
hover,
|
|
44
44
|
focus,
|
|
45
45
|
text,
|
|
46
|
+
children,
|
|
46
47
|
...other
|
|
47
48
|
} = props;
|
|
48
49
|
|
|
@@ -63,9 +64,9 @@ export const Suggestion = (
|
|
|
63
64
|
)}
|
|
64
65
|
role="button"
|
|
65
66
|
tabIndex={0}
|
|
66
|
-
aria-label={text}
|
|
67
|
+
aria-label={props['aria-label'] || text}
|
|
67
68
|
>
|
|
68
|
-
{text}
|
|
69
|
+
{children || text}
|
|
69
70
|
</span>
|
|
70
71
|
);
|
|
71
72
|
};
|
|
@@ -193,7 +193,7 @@ export const TimePicker: KendoComponent<KendoTimePickerProps & KendoTimePickerSt
|
|
|
193
193
|
}
|
|
194
194
|
>
|
|
195
195
|
<TimeSelector size="large" columns={["HH", "mm", "ss", "tt"]} focusedColumn="HH" header={(
|
|
196
|
-
<TimeSelectorHeader title="10:00:00
|
|
196
|
+
<TimeSelectorHeader title="10:00:00 AM">
|
|
197
197
|
<Button size="large" fillMode="flat" className="k-time-now">Now</Button>
|
|
198
198
|
</TimeSelectorHeader>
|
|
199
199
|
)} />
|