@progress/kendo-themes-html 14.7.1-dev.5 → 14.7.1-dev.7
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
package/dist/cjs/datainsights-composer/templates/datainsights-composer-data-source-fields-popup.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var Va=Object.create;var Gt=Object.defineProperty;var Wa=Object.getOwnPropertyDescriptor;var $a=Object.getOwnPropertyNames;var Xa=Object.getPrototypeOf,Ja=Object.prototype.hasOwnProperty;var qa=(e,t)=>{for(var o in t)Gt(e,o,{get:t[o],enumerable:!0})},Ss=(e,t,o,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of $a(t))!Ja.call(e,a)&&a!==o&&Gt(e,a,{get:()=>t[a],enumerable:!(s=Wa(t,a))||s.enumerable});return e};var Qe=(e,t,o)=>(o=e!=null?Va(Xa(e)):{},Ss(t||!e||!e.__esModule?Gt(o,"default",{value:e,enumerable:!0}):o,e)),Ya=e=>Ss(Gt({},"__esModule",{value:!0}),e);var _p={};qa(_p,{DataInsightsComposerDataSourceFieldsPopup:()=>Ga,default:()=>kp});module.exports=Ya(_p);var n=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?n(...t):typeof t=="object"?Object.keys(t).map((o,s)=>t[s]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var C=(e,t)=>n({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),A=(e,t)=>{let{valid:o,invalid:s,hover:a,focus:i,checked:d,active:c,selected:N,disabled:b,indeterminate:L,loading:I,empty:u,readonly:O,highlighted:k,...D}=t;return n({"k-valid":o,"k-invalid":s,"k-hover":a,"k-focus":i,"k-checked":d,"k-active":c,"k-selected":N,"k-disabled":b,"k-indeterminate":L&&!d,"k-loading":I,"k-empty":u,"k-readonly":O,"k-highlighted":k},Object.keys(D).reduce((_,R)=>(R.startsWith("k-")?_[R]=D[R]:_[`k-${R}`]=D[R],_),{}))};function ys(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(s=>[`k-${s}`,!0]))}var l={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},f={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},x={undefined:void 0,solid:"solid",tint:"tint",flat:"flat",outline:"outline",clear:"clear",link:"link"},ie={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},m={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},r={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var go={};function G(e){return go[e]=(go[e]||0)+1,`k-${e}-${go[e]}`}var Lt=require("react/jsx-runtime"),Lo="k-font-icon",Za=[],Qa={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info]},ja={},It=e=>{let{size:t,themeColor:o,icon:s,rotate:a,flip:i,...d}=e;return s?(0,Lt.jsx)("span",{...d,className:n(e.className,Lo,C(Lo,{size:t}),{[`k-i-${s}`]:s,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),"aria-hidden":"true"}):(0,Lt.jsx)(Lt.Fragment,{})};It.states=Za;It.options=Qa;It.className=Lo;It.defaultOptions=ja;var ks=It;var ke=require("react/jsx-runtime"),Io="k-svg-icon",er=[],tr={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info],variant:[ie.outline,ie.solid,ie.duotone]},vo={viewBox:"0 0 24 24",variant:ie.outline},vt=e=>{var I,u;let{size:t,themeColor:o,rotate:s,flip:a,viewBox:i=vo.viewBox,variant:d=vo.variant,icon:c,...N}=e;if(!c)return(0,ke.jsx)(ke.Fragment,{});if(c==="none")return(0,ke.jsx)("span",{...N,className:n(e.className,Io,C("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let b=typeof c=="object"&&c.name&&c.name,L=typeof c=="object"?d&&((I=c.variants)==null?void 0:I[d])||((u=c.variants)==null?void 0:u.outline)||c.content:void 0;return(0,ke.jsx)("span",{...N,className:n(e.className,Io,C("k-icon",{size:t}),{[`k-svg-i-${b}`]:b,[`k-color-${o}`]:o,[`k-rotate-${s}`]:s,"k-flip-h":a==="h"||a==="both","k-flip-v":a==="v"||a==="both"}),"aria-hidden":"true",children:(0,ke.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:i,dangerouslySetInnerHTML:L!==void 0?{__html:L}:void 0,children:c?void 0:e.children})})};vt.states=er;vt.options=tr;vt.className=Io;vt.defaultOptions=vo;var Mo=vt;var To=Qe(require("@progress/kendo-svg-icons"));var _s="icon",Ds="icons";var Hs=require("react");var Rs=require("react"),Ps=(0,Rs.createContext)({iconsType:"svg"});var ce=require("react/jsx-runtime"),Ut="k-icon",or=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),sr=[],nr={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info],variant:[ie.outline,ie.solid,ie.duotone]},Ft={viewBox:"0 0 24 24",type:"svg",variant:ie.outline},h=e=>{let{iconsType:t}=(0,Hs.useContext)(Ps),{size:o,themeColor:s,icon:a,type:i=t||Ft.type,rotate:d,flip:c,viewBox:N=Ft.viewBox,variant:b=Ft.variant,...L}=e;if(!a)return(0,ce.jsx)(ce.Fragment,{});if((t||i)==="svg"){if(a==="none")return(0,ce.jsx)(Mo,{...L,className:n(e.className,Ut),icon:a,size:o,variant:b});let u=To[a]?a:or(`${a}-icon`);return To[u]?(0,ce.jsx)(Mo,{...L,className:n(e.className,Ut),icon:To[u],size:o,themeColor:s,rotate:d,flip:c,viewBox:N,variant:b}):(0,ce.jsx)(ce.Fragment,{})}return(0,ce.jsx)(ks,{...L,className:n(e.className,Ut),icon:a,size:o,themeColor:s,rotate:d,flip:c})};h.states=sr;h.options=nr;h.defaultOptions=Ft;h.className=Ut;h.moduleName=_s;h.folderName=Ds;var Mt=require("react/jsx-runtime"),ar="k-chip-action";var fe=e=>{let{type:t,...o}=e,s;switch(t){case"remove":s=(0,Mt.jsx)(h,{icon:"x-circle",size:"small"});break;case"more":s=(0,Mt.jsx)(h,{icon:"more-vertical",size:"small"});break;default:return(0,Mt.jsx)(h,{icon:t,size:"small"})}return(0,Mt.jsx)("span",{...o,className:n(e.className,ar,`k-chip-${t}-action`),children:s})};var Ao="avatar",Ks=Ao;var Oo=require("react/jsx-runtime"),Tt="k-avatar";var rr=[r.hover,r.focus,r.active,r.selected,r.disabled],ir={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.outline],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary]},Eo={type:"text",border:!1},$=e=>{let{size:t,rounded:o,fillMode:s,themeColor:a,type:i=Eo.type,border:d=Eo.border,...c}=e;return(0,Oo.jsx)("div",{...c,className:n(e.className,Tt,C(Tt,{size:t,rounded:o,fillMode:s,themeColor:a}),{[`${Tt}-bordered`]:d}),children:(0,Oo.jsx)("span",{className:`${Tt}-${i}`,children:e.children})})};$.states=rr;$.options=ir;$.className=Tt;$.defaultOptions=Eo;$.moduleName=Ao;$.folderName=Ks;var _e=$;var ws=require("react/jsx-runtime"),At=e=>(0,ws.jsx)(_e,{type:"icon",...e});var zs=require("react/jsx-runtime"),Bs=e=>(0,zs.jsx)(_e,{type:"text",...e});var Us=require("react/jsx-runtime"),Gs=e=>(0,Us.jsx)(_e,{type:"image",...e});var lr=require("react/jsx-runtime");var je=require("react/jsx-runtime"),pr=$.options,mr=$.states,dr={...$.defaultOptions,variant:"image"},cr=[{name:"image",title:"Image"},{name:"icon",title:"Icon Avatar"},{name:"text",title:"Text Avatar"}],fr=[],et=e=>{let{variant:t,...o}=e;switch(t){case"icon":return(0,je.jsx)(At,{...o,children:(0,je.jsx)(h,{icon:"star"})});case"text":return(0,je.jsx)(Bs,{...o,children:"JO"});default:return(0,je.jsx)(Gs,{...o,children:(0,je.jsx)("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})}};et.options=pr;et.states=mr;et.variants=cr;et.defaultOptions=dr;et.modifiers=fr;et.className=$.className;var Et="chip",Vt=Et,Wt="https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg";var ue=require("react/jsx-runtime"),$t="k-chip",ur=[r.hover,r.focus,r.active,r.selected,r.disabled],hr={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.outline],themeColor:[m.undefined,m.base,m.success,m.warning,m.error,m.info]},Fs={avatarImage:"/packages/html/assets/avatar.jpg"},T=e=>{let{size:t,rounded:o,fillMode:s,themeColor:a,text:i,icon:d,actions:c,showAvatar:N,avatarImage:b=Fs.avatarImage,hover:L,focus:I,active:u,selected:O,disabled:k,...D}=e;return(0,ue.jsxs)("div",{...D,className:n(e.className,$t,C($t,{size:t,rounded:o,fillMode:s,themeColor:a}),A($t,{hover:L,focus:I,active:u,disabled:k,selected:O})),role:e.role||"button","aria-pressed":e.role==="option"||e.role==="listitem"||e.role==="presentation"||e["aria-haspopup"]?void 0:O?"true":"false",...e.role==="option"&&O!==void 0&&{"aria-selected":O?"true":"false"},"aria-disabled":k?"true":void 0,children:[d&&(0,ue.jsx)(h,{className:"k-chip-icon",icon:d,size:"small"}),N&&(0,ue.jsx)($,{className:"k-chip-avatar",type:"image",children:(0,ue.jsx)("img",{src:b,alt:""})}),(0,ue.jsx)("span",{className:"k-chip-content",children:e.children?e.children:i&&(0,ue.jsx)("span",{className:"k-chip-label",children:i})}),c&&(0,ue.jsx)("span",{className:"k-chip-actions",children:c})]})};T.states=ur;T.options=hr;T.className=$t;T.defaultOptions=Fs;T.moduleName=Et;T.folderName=Vt;var ee=T;var Vs=require("react/jsx-runtime"),So="k-chip-list",xr=[],Nr={size:[l.undefined,l.small,l.medium,l.large]},Cr={},E=e=>{let{size:t,multiselectable:o,ariaLabel:s,...a}=e;return(0,Vs.jsx)("div",{...a,className:n(e.className,So,C(So,{size:t})),role:e.role||"listbox","aria-label":e.role==="none"?void 0:s||"chip list","aria-orientation":e.role==="none"||e.role==="group"?void 0:"horizontal","aria-multiselectable":o?"true":void 0,children:e.children})};E.states=xr;E.options=Nr;E.className=So;E.defaultOptions=Cr;E.moduleName=Et;E.folderName=Vt;var br=require("react/jsx-runtime");var gr=require("react/jsx-runtime");var Ws=require("react/jsx-runtime"),Xt=e=>(0,Ws.jsx)(ee,{text:"text",...e});var Lr=require("react/jsx-runtime");var Ir=require("react/jsx-runtime");var yo=require("react/jsx-runtime");var $s=require("react/jsx-runtime");var Xs=require("react/jsx-runtime");var Js=require("react/jsx-runtime");var he=require("react/jsx-runtime"),vr={...ee.options,...E.options},Mr=[],Tr=E.states,Ar={...ee.defaultOptions,...E.defaultOptions},Er=[{name:"icon",title:"Icon",type:"boolean"},{name:"actions",title:"Actions",type:"boolean"},{name:"avatar",title:"Avatar",type:"boolean"}],tt=e=>{let{modifiers:t,className:o,...s}=e,a=t==null?void 0:t.icon,i=t==null?void 0:t.actions,d=t==null?void 0:t.avatar,c=d?Wt:void 0;return(0,he.jsxs)(E,{size:s.size,className:o,children:[(0,he.jsx)(Xt,{...s,role:"option","aria-selected":"false","aria-pressed":void 0,icon:a?"star":void 0,actions:i?(0,he.jsx)(fe,{type:"remove"}):void 0,showAvatar:d,avatarImage:c,children:"Chip"}),(0,he.jsx)(Xt,{...s,role:"option","aria-selected":"false","aria-pressed":void 0,icon:a?"star":void 0,actions:i?(0,he.jsx)(fe,{type:"remove"}):void 0,showAvatar:d,avatarImage:c,children:"Chip"}),(0,he.jsx)(Xt,{...s,role:"option","aria-selected":"false","aria-pressed":void 0,icon:a?"star":void 0,actions:i?(0,he.jsx)(fe,{type:"remove"}):void 0,showAvatar:d,avatarImage:c,children:"Chip"})]})};tt.options=vr;tt.states=Tr;tt.variants=Mr;tt.defaultOptions=Ar;tt.modifiers=Er;tt.className=E.className;var Jt=require("react/jsx-runtime"),Or=T.states,Sr=T.defaultOptions,yr=T.options,kr=[],_r=[{name:"icon",title:"Icon"},{name:"avatar",title:"Avatar"},{name:"remove-icon",title:"`Remove` Icon"},{name:"more-options",title:"`More options` Icon"}],ot=e=>{let{modifiers:t,...o}=e,s={};return Object.keys(t||{}).forEach(a=>{switch(a){case"icon":s.icon=t!=null&&t[a]?"arrow-down":void 0;break;case"avatar":s.showAvatar=!!(t!=null&&t[a]),s.avatarImage=t!=null&&t[a]?Wt:void 0;break;case"more-options":s.actions||(s.actions=[]),s.actions[0]=t!=null&&t[a]?(0,Jt.jsx)(fe,{type:"more"}):void 0;break;case"remove-icon":s.actions||(s.actions=[]),s.actions[1]=t!=null&&t[a]?(0,Jt.jsx)(fe,{type:"remove"}):void 0;break;default:break}}),(0,Jt.jsx)(T,{...o,...s,children:"Chip component"})};ot.options=yr;ot.states=Or;ot.variants=kr;ot.defaultOptions=Sr;ot.modifiers=_r;ot.className=T.className;var v="datainsights-composer",M=v;var Ys=require("react/jsx-runtime"),qs="k-datainsights-composer",Y=e=>{let{className:t,children:o,...s}=e;return(0,Ys.jsx)("div",{className:n(qs,t),...s,children:o})};Y.states=[];Y.options={};Y.className=qs;Y.defaultOptions={};Y.moduleName=v;Y.folderName=M;var Qs=require("react/jsx-runtime"),Zs="k-datainsights-composer-actions",Me=e=>{let{className:t,children:o,...s}=e;return(0,Qs.jsx)("div",{className:n(Zs,t),...s,children:o})};Me.states=[];Me.options={};Me.className=Zs;Me.defaultOptions={};Me.moduleName=v;Me.folderName=M;var ko="dataviz",js=ko;var _o=require("react/jsx-runtime"),en="k-chart",Dr=[],Rr={},Pr={},De=e=>{let{ariaRoleDescription:t="chart",children:o,...s}=e;return(0,_o.jsx)("div",{...s,className:en,children:(0,_o.jsx)("div",{className:"k-chart-surface",tabIndex:0,role:"graphics-document document","aria-roledescription":t,children:o})})};De.states=Dr;De.options=Rr;De.className=en;De.defaultOptions=Pr;De.moduleName=ko;De.folderName=js;var tn=De;var p=require("react/jsx-runtime"),Hr={},Kr=[],wr=[],Br={},zr=[],Re=()=>(0,p.jsx)(tn,{ariaRoleDescription:"Units sold",style:{position:"relative",width:"660px",height:"400px"},children:Gr}),Gr=(0,p.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",version:"1.1",style:{width:"100%",height:"100%",overflow:"hidden",left:"-0.999998px",top:"-0.999998px"},children:[(0,p.jsx)("defs",{children:(0,p.jsx)("clipPath",{clipRule:"evenodd",id:"kdef108",children:(0,p.jsx)("path",{d:"M34.5 50.5 L 648.5 50.5 648.5 347.5 34.5 347.5Z",stroke:"#000",strokeLinejoin:"miter",fill:"none"})})}),(0,p.jsxs)("g",{children:[(0,p.jsx)("path",{d:"M0 0 L 660 0 660 400 0 400Z",stroke:"none",fill:"rgb(255, 255, 255)"}),(0,p.jsx)("path",{d:"M34 49.5 L 647.5 49.5 647.5 347 34 347Z",stroke:"none",fill:"#fff",fillOpacity:0}),(0,p.jsxs)("g",{children:[(0,p.jsxs)("g",{children:[(0,p.jsx)("path",{d:"M136.5 50.5 L 136.5 347.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M239.5 50.5 L 239.5 347.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M341.5 50.5 L 341.5 347.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M443.5 50.5 L 443.5 347.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M545.5 50.5 L 545.5 347.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M648.5 50.5 L 648.5 347.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"})]}),(0,p.jsxs)("g",{children:[(0,p.jsx)("path",{d:"M34.5 305.5 L 648.5 305.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M34.5 262.5 L 648.5 262.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M34.5 220.5 L 648.5 220.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M34.5 177.5 L 648.5 177.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M34.5 135.5 L 648.5 135.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M34.5 92.5 L 648.5 92.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M34.5 50.5 L 648.5 50.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"})]}),(0,p.jsx)("g",{children:(0,p.jsx)("g",{children:(0,p.jsxs)("g",{children:[(0,p.jsx)("path",{d:"M34.5 347.5 L 648.5 347.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M34.5 347.5 L 34.5 351.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M136.5 347.5 L 136.5 351.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M239.5 347.5 L 239.5 351.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M341.5 347.5 L 341.5 351.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M443.5 347.5 L 443.5 351.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M545.5 347.5 L 545.5 351.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M648.5 347.5 L 648.5 351.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"})]})})}),(0,p.jsx)("g",{clipPath:"url(#kdef108)",children:(0,p.jsxs)("g",{children:[(0,p.jsx)("g",{children:(0,p.jsx)("path",{d:"M34 242.45 L 136.25 112.4 238.5 83.5 340.75 166.8 443 143 545.25 214.4 647.5 263.7 647.5 347 34 347",stroke:"none",fill:"rgb(18, 116, 172)",fillOpacity:"0.6"})}),(0,p.jsx)("g",{children:(0,p.jsx)("path",{d:"M34 206.75 L 136.25 168.5 238.5 103.05 340.75 224.6 443 185.5 545.25 205.05 647.5 166.8 647.5 347 34 347",stroke:"none",fill:"rgb(255, 225, 98)",fillOpacity:"0.6"})}),(0,p.jsx)("g",{children:(0,p.jsx)("path",{d:"M34 299.4 L 136.25 228 238.5 181.25 340.75 307.9 443 242.45 545.25 280.7 647.5 266.25 647.5 347 34 347",stroke:"none",fill:"rgb(76, 209, 128)",fillOpacity:"0.6"})})]})}),(0,p.jsx)("g",{children:(0,p.jsx)("text",{x:"318.25",y:387,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 14px sans-serif",whiteSpace:"pre"},children:"Months"})}),(0,p.jsx)("g",{children:(0,p.jsx)("text",{x:"24.5",y:367,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"Jan"})}),(0,p.jsx)("g",{children:(0,p.jsx)("text",{x:"125.75",y:367,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"Feb"})}),(0,p.jsx)("g",{children:(0,p.jsx)("text",{x:228,y:367,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"Mar"})}),(0,p.jsx)("g",{children:(0,p.jsx)("text",{x:"331.25",y:367,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"Apr"})}),(0,p.jsx)("g",{children:(0,p.jsx)("text",{x:"431.5",y:367,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"May"})}),(0,p.jsx)("g",{children:(0,p.jsx)("text",{x:"535.75",y:367,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"Jun"})}),(0,p.jsx)("g",{children:(0,p.jsx)("text",{x:640,y:367,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"Jul"})}),(0,p.jsx)("g",{children:(0,p.jsxs)("g",{children:[(0,p.jsx)("path",{d:"M34.5 50.5 L 34.5 347.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M30.5 347.5 L 34.5 347.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M30.5 305.5 L 34.5 305.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M30.5 262.5 L 34.5 262.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M30.5 220.5 L 34.5 220.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M30.5 177.5 L 34.5 177.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M30.5 135.5 L 34.5 135.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M30.5 92.5 L 34.5 92.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M30.5 50.5 L 34.5 50.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"})]})}),(0,p.jsx)("g",{children:(0,p.jsx)("text",{x:18,y:"351.5",stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"0"})}),(0,p.jsx)("g",{children:(0,p.jsx)("text",{x:12,y:309,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"50"})}),(0,p.jsx)("g",{children:(0,p.jsx)("text",{x:5,y:"266.5",stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"100"})}),(0,p.jsx)("g",{children:(0,p.jsx)("text",{x:5,y:224,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"150"})}),(0,p.jsx)("g",{children:(0,p.jsx)("text",{x:5,y:"181.5",stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"200"})}),(0,p.jsx)("g",{children:(0,p.jsx)("text",{x:5,y:139,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"250"})}),(0,p.jsx)("g",{children:(0,p.jsx)("text",{x:5,y:"96.5",stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"300"})}),(0,p.jsx)("g",{children:(0,p.jsx)("text",{x:5,y:54,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"350"})})]}),(0,p.jsx)("g",{children:(0,p.jsx)("g",{children:(0,p.jsx)("text",{x:295,y:29,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 16.002px sans-serif",whiteSpace:"pre"},children:"Units sold"})})}),(0,p.jsx)("g",{})]})]});Re.options=Hr;Re.states=Kr;Re.variants=wr;Re.defaultOptions=Br;Re.modifiers=zr;var Do=require("react/jsx-runtime"),on="k-datainsights-composer-report-output",Te=e=>{let{className:t,titleId:o,...s}=e;return(0,Do.jsx)("div",{...s,className:n(on,t),role:"group","aria-labelledby":o,children:(0,Do.jsx)(Re,{})})};Te.states=[];Te.options={};Te.className=on;Te.defaultOptions={};Te.moduleName=v;Te.folderName=M;var nn=require("react/jsx-runtime"),sn="k-datainsights-composer-fields",te=e=>{let{className:t,children:o,...s}=e;return(0,nn.jsx)("div",{className:n(sn,t),...s,children:o})};te.states=[];te.options={};te.className=sn;te.defaultOptions={};te.moduleName=v;te.folderName=M;var Ro="button",an=Ro;var B=require("react/jsx-runtime"),Ot="k-button",Ur=["icon-button"],Fr=[r.hover,r.focus,r.active,r.selected,r.disabled,r.generating],Vr={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.inverse]},Po={showArrow:!1,arrowIconName:"chevron-down"},g=e=>{let{as:t="button",size:o,rounded:s,fillMode:a,themeColor:i,showArrow:d=Po.showArrow,arrowIconName:c=Po.arrowIconName,variant:N,hover:b,focus:L,active:I,selected:u,disabled:O,togglable:k,ariaDisabled:D,icon:_,endIcon:R,iconSize:Ye,text:ve,iconClassName:Ze,className:gt,...bo}=e,Ua=_!=null,Fa=e.children!==void 0;return(0,B.jsxs)(t,{className:n(gt,Ot,ys(Ot,N),C(Ot,{size:o,rounded:s,fillMode:a,themeColor:i}),A(Ot,{hover:b,focus:L,active:I,disabled:O||D,selected:u}),{"k-icon-button":!ve&&!Fa&&Ua}),"aria-pressed":k?u?"true":"false":void 0,...bo,"aria-disabled":D?"true":void 0,disabled:O||void 0,children:[typeof _=="string"&&_&&(0,B.jsx)(h,{className:n(Ze,"k-button-icon"),icon:_,size:Ye}),_&&typeof _!="string"&&(0,B.jsx)(B.Fragment,{children:_}),ve?(0,B.jsxs)(B.Fragment,{children:[ve&&(0,B.jsx)("span",{className:"k-button-text",children:ve}),e.children]}):e.children&&(0,B.jsx)("span",{className:"k-button-text",children:e.children}),typeof R=="string"&&R&&(0,B.jsx)(h,{className:n(Ze,"k-button-icon"),icon:R,size:Ye}),R&&typeof R!="string"&&(0,B.jsx)(B.Fragment,{children:R}),d&&(0,B.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,B.jsx)(h,{icon:c})})]})};g.states=Fr;g.options=Vr;g.variants=Ur;g.className=Ot;g.defaultOptions=Po;g.moduleName=Ro;g.folderName=an;var rn=require("react/jsx-runtime"),Z=e=>(0,rn.jsx)(g,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var pn=require("react/jsx-runtime"),ln=e=>(0,pn.jsx)(g,{icon:"folder",children:"Button",...e});var Wr=require("react/jsx-runtime");var mn=require("react/jsx-runtime"),qt=e=>(0,mn.jsx)(g,{children:"Button",...e});var Yt=require("react/jsx-runtime"),$r=g.options,Xr=g.states,Jr={...g.defaultOptions,variant:"text"},qr=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Yr=[],st=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,Yt.jsx)(Z,{...o,icon:"star"});case"icon-and-text":return(0,Yt.jsx)(ln,{...o,icon:"star",children:"Button"});default:return(0,Yt.jsx)(qt,{...o,children:"Button"})}};st.options=$r;st.states=Xr;st.variants=qr;st.defaultOptions=Jr;st.modifiers=Yr;st.className=g.className;var Zt=Qe(require("react"));var Ho=require("react/jsx-runtime"),Zr="k-list-group-sticky-header",Ko=e=>(0,Ho.jsx)("div",{className:n(Zr,e.className),children:(0,Ho.jsx)("div",{className:"k-list-header-text",children:e.children})});var dn=require("react/jsx-runtime"),Qr="k-no-data",wo=e=>{let{live:t,...o}=e;return(0,dn.jsx)("span",{...o,className:n(Qr,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Pe="list",nt=Pe;var at=require("react/jsx-runtime"),Bo="k-list",jr=[],ei={size:[l.undefined,l.small,l.medium,l.large]},ti={},X=e=>{var k;let{size:t,virtualization:o,children:s,header:a,selectAll:i,optionLabel:d,customValue:c,noData:N,screenReaders:b,...L}=e,u=Zt.default.Children.toArray(s)[0],O=(k=u==null?void 0:u.props)!=null&&k.children?Zt.default.Children.count(u.props.children):Zt.default.Children.count(s);return(0,at.jsxs)("div",{...L,className:n(e.className,Bo,C(Bo,{size:t}),{"k-virtual-list":o}),children:[d,i,c,a&&(0,at.jsx)(Ko,{children:a}),s||(N!==void 0?N:(0,at.jsx)(wo,{live:!0,children:"No data found."})),b&&s&&(0,at.jsxs)(wo,{className:"k-sr-only",live:!0,children:[O," items found."]})]})};X.states=jr;X.options=ei;X.className=Bo;X.defaultOptions=ti;X.moduleName=Pe;X.folderName=nt;var fn=require("react/jsx-runtime"),cn="k-list-container",oi=[],si={},ni={},rt=e=>{let{...t}=e;return(0,fn.jsx)("div",{...t,className:n(e.className,cn),children:e.children})};rt.states=oi;rt.options=si;rt.className=cn;rt.defaultOptions=ni;rt.moduleName=Pe;rt.folderName=nt;var He="checkbox",it=He;var zo=require("react/jsx-runtime"),Qt="k-checkbox",ai=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked,r.indeterminate],ri={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full]},ii={},U=e=>{let{id:t,checked:o,indeterminate:s,hover:a,focus:i,disabled:d,invalid:c,valid:N,required:b,size:L,rounded:I,wrapperRole:u,...O}=e;return(0,zo.jsx)("span",{className:"k-checkbox-wrap",role:u,children:(0,zo.jsx)("input",{...O,id:t,type:"checkbox",defaultChecked:o,required:b,disabled:d||void 0,"aria-invalid":c?"true":void 0,className:n(e.className,Qt,C(Qt,{size:L,rounded:I}),A(Qt,{hover:a,focus:i,disabled:d,invalid:c,valid:N,indeterminate:s,checked:o}))})})};U.states=ai;U.options=ri;U.className=Qt;U.defaultOptions=ii;U.moduleName=He;U.folderName=it;var re=U;var xn=require("react/jsx-runtime"),un="k-checkbox-list",li=[],pi={},hn={layout:"vertical"},F=e=>{let{layout:t=hn.layout,...o}=e;return(0,xn.jsx)("ul",{...o,className:n(e.className,un,{[`k-list-${t}`]:t}),children:e.children})};F.states=li;F.options=pi;F.className=un;F.defaultOptions=hn;F.moduleName=He;F.folderName=it;var Cn=require("react/jsx-runtime"),Nn="k-checkbox-list-item",mi=[],di={},ci={},V=e=>{let{...t}=e;return(0,Cn.jsx)("li",{...t,className:n(e.className,Nn),children:e.children})};V.states=mi;V.options=di;V.className=Nn;V.defaultOptions=ci;V.moduleName=He;V.folderName=it;var Ke=require("react/jsx-runtime"),xe=({children:e="Label",id:t="cb-label-after",...o})=>(0,Ke.jsxs)(Ke.Fragment,{children:[(0,Ke.jsx)(re,{id:t,...o}),(0,Ke.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var Go=require("react/jsx-runtime");var Uo=require("react/jsx-runtime");var Fo=require("react/jsx-runtime");var fi=require("react/jsx-runtime");var ui=require("react/jsx-runtime");var hi=require("react/jsx-runtime");var z=require("react/jsx-runtime"),xi=F.options,Ni=F.states,Ci={...F.defaultOptions,variant:"vertical"},bi=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],gi=[],lt=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,z.jsxs)(F,{layout:"horizontal",...o,children:[(0,z.jsx)(V,{children:(0,z.jsx)(xe,{id:G("cb"),defaultChecked:!0,children:"Label"})}),(0,z.jsx)(V,{children:(0,z.jsx)(xe,{id:G("cb"),children:"Label"})}),(0,z.jsx)(V,{children:(0,z.jsx)(xe,{id:G("cb"),children:"Label"})})]}):(0,z.jsxs)(F,{...o,children:[(0,z.jsx)(V,{children:(0,z.jsx)(xe,{id:G("cb"),defaultChecked:!0,children:"Label"})}),(0,z.jsx)(V,{children:(0,z.jsx)(xe,{id:G("cb"),children:"Label"})}),(0,z.jsx)(V,{children:(0,z.jsx)(xe,{id:G("cb"),children:"Label"})})]})};lt.options=xi;lt.states=Ni;lt.variants=bi;lt.defaultOptions=Ci;lt.modifiers=gi;lt.className=F.className;var bn=require("react/jsx-runtime"),Li=re.options,Ii=re.states,vi=re.defaultOptions,Mi=[],Ti=[],pt=e=>(0,bn.jsx)(xe,{id:G("checkbox"),...e,defaultChecked:!0,children:"Label"});pt.options=Li;pt.states=Ii;pt.variants=Mi;pt.defaultOptions=vi;pt.modifiers=Ti;pt.className=re.className;var Ne=require("react/jsx-runtime"),Vo="k-list-item",Ai=[r.hover,r.focus,r.selected,r.disabled],Ei={},Oi={},J=e=>{let{text:t,iconName:o,iconClassName:s,showCheckbox:a,checked:i,hover:d,focus:c,selected:N,disabled:b,actions:L,description:I,id:u,...O}=e,k=t||e.children,D=t||(typeof k=="string"?k:void 0);return(0,Ne.jsxs)("li",{...O,id:u,role:"option",tabIndex:c?0:-1,"aria-selected":N?"true":"false","aria-disabled":b?"true":void 0,className:n(e.className,Vo,A(Vo,{hover:d,focus:c,disabled:b,selected:N})),children:[a&&(0,Ne.jsx)(U,{checked:i,disabled:b,"aria-label":D,tabIndex:-1}),o&&(0,Ne.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,Ne.jsx)(h,{icon:o,className:n("k-list-item-icon",s)})}),(0,Ne.jsx)("span",{className:"k-list-item-text",children:k}),L&&(0,Ne.jsx)("div",{className:"k-list-item-actions",children:L}),I&&(0,Ne.jsx)("span",{className:"k-list-item-description",children:I})]})};J.states=Ai;J.options=Ei;J.className=Vo;J.defaultOptions=Oi;J.moduleName=Pe;J.folderName=nt;var Si=require("react/jsx-runtime");var Ln=require("react/jsx-runtime");var mt=require("react/jsx-runtime"),jt="k-list-sticky-header",yi=[r.hover,r.focus,r.selected],ki={},_i={},eo=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:s,indeterminate:a,hover:i,focus:d,selected:c,...N}=e;return(0,mt.jsx)("div",{...N,className:n(jt,e.className),children:(0,mt.jsxs)("div",{className:n(`${jt}-item`,A(`${jt}-item`,{hover:i,focus:d,selected:c})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":c?"true":"false"},children:[o&&(0,mt.jsx)(U,{checked:s,indeterminate:a,"aria-label":t}),(0,mt.jsx)("span",{className:"k-list-item-text",children:t})]})})};eo.states=yi;eo.options=ki;eo.className=jt;eo.defaultOptions=_i;var Wo=require("react/jsx-runtime");var In=require("react/jsx-runtime");var vn=require("react/jsx-runtime"),$o="k-list-optionlabel",Di=[r.hover,r.focus,r.selected,r.disabled],Ri={},Pi={},to=e=>{let{text:t,hover:o,focus:s,selected:a,disabled:i,...d}=e;return(0,vn.jsx)("div",{...d,className:n($o,A($o,{hover:o,focus:s,selected:a,disabled:i})),children:t})};to.states=Di;to.options=Ri;to.className=$o;to.defaultOptions=Pi;var Mn=require("react/jsx-runtime"),Xo="k-list-custom-value",Hi=[r.hover,r.focus,r.selected,r.disabled],Ki={},wi={},oo=e=>{let{text:t,hover:o,focus:s,selected:a,disabled:i,...d}=e;return(0,Mn.jsx)("div",{...d,className:n(Xo,A(Xo,{hover:o,focus:s,selected:a,disabled:i})),children:t})};oo.states=Hi;oo.options=Ki;oo.className=Xo;oo.defaultOptions=wi;var Jo=require("react/jsx-runtime");var qo=require("react/jsx-runtime");var Yo=require("react/jsx-runtime");var Zo=require("react/jsx-runtime");var zi=require("react/jsx-runtime");var Qo=require("react/jsx-runtime");var jo=require("react/jsx-runtime");var es=require("react/jsx-runtime"),Tn="k-datainsights-composer-history-checkpoint",Be=e=>{let{label:t,timestamp:o,hover:s,current:a,focus:i,className:d,...c}=e;return(0,es.jsx)(J,{...c,focus:i,className:n(Tn,d),description:o,hover:s,actions:a?void 0:(0,es.jsx)(Z,{className:"k-datainsights-composer-history-restore",icon:"arrow-rotate-ccw",size:"xsmall",fillMode:"flat",title:"Restore to this version","aria-label":`Restore ${t}`,tabIndex:i?0:-1}),children:t})};Be.states=[];Be.options={};Be.className=Tn;Be.defaultOptions={};Be.moduleName=v;Be.folderName=M;var En=require("react/jsx-runtime"),An="k-datainsights-composer-loading",ze=e=>{let{className:t,children:o,...s}=e;return(0,En.jsx)("div",{className:n(An,t),...s,children:o})};ze.states=[];ze.options={};ze.className=An;ze.defaultOptions={};ze.moduleName=v;ze.folderName=M;var Sn=require("react/jsx-runtime"),On="k-datainsights-composer-loading-message",Ge=e=>{let{className:t,children:o,...s}=e;return(0,Sn.jsx)("span",{className:n(On,t),...s,children:o})};Ge.states=[];Ge.options={};Ge.className=On;Ge.defaultOptions={};Ge.moduleName=v;Ge.folderName=M;var ts="popup",yn=ts;var ss=require("react/jsx-runtime"),kn="k-animation-container",Gi=[],Ui={},os={positionMode:"absolute",shown:!0},Ae=e=>{let{positionMode:t=os.positionMode,shown:o=os.shown,animationStyle:s,offset:a,...i}=e;return(0,ss.jsx)("div",{...i,style:{...a,...e.style},className:n(e.className,kn,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:(0,ss.jsx)("div",{className:"k-child-animation-container",style:s,children:e.children})})};Ae.states=Gi;Ae.options=Ui;Ae.className=kn;Ae.defaultOptions=os;Ae.moduleName=ts;Ae.folderName=yn;var ns="popup",_n=ns;var as=require("react/jsx-runtime"),Dn="k-popup",Fi=[],Vi={},Rn={positionMode:"absolute"},Ce=e=>{let{offset:t,positionMode:o=Rn.positionMode,animationStyle:s,containerClassName:a,containerRole:i,containerAriaLabel:d,...c}=e;return(0,as.jsx)(Ae,{positionMode:o,offset:t,animationStyle:s,className:a,role:i,"aria-label":d,children:(0,as.jsx)("div",{...c,className:n(e.className,Dn),children:e.children})})};Ce.states=Fi;Ce.options=Vi;Ce.className=Dn;Ce.defaultOptions=Rn;Ce.moduleName=ns;Ce.folderName=_n;var Hn=require("react/jsx-runtime"),Pn="k-datainsights-composer-popup",be=e=>{let{className:t,children:o,...s}=e;return(0,Hn.jsx)(Ce,{...s,className:n(Pn,t),containerRole:"region",containerAriaLabel:"Data sources",children:o})};be.states=[];be.options={};be.className=Pn;be.defaultOptions={};be.moduleName=v;be.folderName=M;var wn=require("react/jsx-runtime"),Kn="k-datainsights-composer-popup-title",ge=e=>{let{className:t,children:o,...s}=e;return(0,wn.jsx)("div",{className:n(Kn,t),...s,children:o})};ge.states=[];ge.options={};ge.className=Kn;ge.defaultOptions={};ge.moduleName=v;ge.folderName=M;var zn=require("react/jsx-runtime"),Bn="k-datainsights-composer-preview",Ue=e=>{let{className:t,children:o,...s}=e;return(0,zn.jsx)("div",{className:n(Bn,t),...s,children:o})};Ue.states=[];Ue.options={};Ue.className=Bn;Ue.defaultOptions={};Ue.moduleName=v;Ue.folderName=M;var Un=require("react/jsx-runtime"),Gn="k-datainsights-composer-card",oe=e=>{let{className:t,children:o,...s}=e;return(0,Un.jsx)("div",{className:n(Gn,t),...s,children:o})};oe.states=[];oe.options={};oe.className=Gn;oe.defaultOptions={};oe.moduleName=v;oe.folderName=M;var Vn=require("react/jsx-runtime"),Fn="k-datainsights-composer-report-header",Ee=e=>{let{className:t,children:o,...s}=e;return(0,Vn.jsx)("div",{className:n(Fn,t),...s,children:o})};Ee.states=[];Ee.options={};Ee.className=Fn;Ee.defaultOptions={};Ee.moduleName=v;Ee.folderName=M;var $n=require("react/jsx-runtime"),Wn="k-datainsights-composer-report-content",Oe=e=>{let{className:t,children:o,...s}=e;return(0,$n.jsx)("div",{className:n(Wn,t),...s,children:o})};Oe.states=[];Oe.options={};Oe.className=Wn;Oe.defaultOptions={};Oe.moduleName=v;Oe.folderName=M;var Jn=require("react/jsx-runtime"),Xn="k-datainsights-composer-report-title",Fe=e=>{let{className:t,children:o,...s}=e;return(0,Jn.jsx)("h2",{className:n(Xn,t),...s,children:o})};Fe.states=[];Fe.options={};Fe.className=Xn;Fe.defaultOptions={};Fe.moduleName=v;Fe.folderName=M;var Yn=require("react/jsx-runtime"),qn="k-datainsights-composer-title",Q=e=>{let{className:t,children:o,...s}=e;return(0,Yn.jsx)("h2",{className:n(qn,t),...s,children:o})};Q.states=[];Q.options={};Q.className=qn;Q.defaultOptions={};Q.moduleName=v;Q.folderName=M;var Qn=Qe(require("react"));var rs="badge",Zn=rs;var yt=require("react/jsx-runtime"),St="k-badge",Wi=[],$i={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.tint,x.outline],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary,m.info,m.success,m.warning,m.error]},so={cutoutBorder:!1,position:null,align:null},S=e=>{let{size:t,fillMode:o,themeColor:s,icon:a,endIcon:i,cutoutBorder:d=so.cutoutBorder,rounded:c,position:N=so.position,align:b=so.align,...L}=e,I=u=>typeof u=="string"?(0,yt.jsx)(h,{className:"k-badge-icon",icon:u}):u;return(0,yt.jsxs)("span",{...L,className:n(e.className,St,C(St,{size:t,rounded:c,fillMode:o,themeColor:s}),{[`${St}-${N}`]:N,[`k-${b}`]:b,[`${St}-border-cutout`]:d}),children:[a&&I(a),Qn.Children.map(e.children,u=>typeof u=="string"||typeof u=="number"?(0,yt.jsx)("span",{className:"k-badge-text",children:u}):u),i&&I(i)]})};S.states=Wi;S.options=$i;S.className=St;S.defaultOptions=so;S.moduleName=rs;S.folderName=Zn;var Xi=require("react/jsx-runtime");var Ji=require("react/jsx-runtime");var qi=require("react/jsx-runtime");var le=require("react/jsx-runtime"),Yi={...S.options,cutoutBorder:{type:"boolean"}},Zi=S.states,jn={...S.defaultOptions,themeColor:"error",variant:"icon"},Qi=[{name:"icon",title:"Icon Badge"},{name:"text",title:"Text Badge"}],dt=e=>{let{variant:t,...o}={...jn,...e},s={};return t==="text"?(0,le.jsxs)("div",{className:"k-badge-container",children:[(0,le.jsx)(At,{children:(0,le.jsx)(h,{icon:"user"})}),(0,le.jsx)(S,{align:"bottom-end",position:"edge",...o,...s,children:"26"})]}):(0,le.jsxs)("div",{className:"k-badge-container",children:[(0,le.jsx)(At,{children:(0,le.jsx)(h,{icon:"user"})}),(0,le.jsx)(S,{align:"bottom-end",position:"edge",icon:"minus",...o,...s})]})};dt.options=Yi;dt.states=Zi;dt.variants=Qi;dt.defaultOptions=jn;dt.modifiers=[];dt.className=S.className;var ea=require("react/jsx-runtime"),is="k-input-inner",ji=[],el={},no={type:"text",autocomplete:"off",value:"",placeholder:""},Le=e=>{let{value:t=no.value,type:o=no.type,placeholder:s=no.placeholder,autocomplete:a=no.autocomplete,disabled:i,readOnly:d,...c}=e;return(0,ea.jsx)("input",{...c,type:o,className:n(e.className,is,C(is,e)),placeholder:s,autoComplete:a,defaultValue:t,disabled:i||void 0,readOnly:d||void 0})};Le.states=ji;Le.options=el;Le.className=is;var oa=require("react/jsx-runtime"),ls="k-input-inner",tl=[],ol={},ta={value:"",placeholder:""},kt=e=>{let{value:t=ta.value,placeholder:o=ta.placeholder,rows:s,disabled:a,...i}=e;return(0,oa.jsx)("textarea",{...i,className:n(e.className,ls,C(ls,e)),placeholder:o,rows:s,defaultValue:t,disabled:a||void 0})};kt.states=tl;kt.options=ol;kt.className=ls;var ps="prompt-box",sa=ps;var ms="speech-to-text-button",na=ms;var ia=require("react/jsx-runtime"),aa="k-speech-to-text-button",ra={icon:"microphone"},j=e=>{let{listening:t=!1,icon:o=ra.icon,...s}=e;return(0,ia.jsx)(g,{...s,icon:t?"stop":o,className:n(e.className,aa,{"k-listening":t}),"aria-pressed":t?"true":"false","aria-label":t?"Stop listening":"Start listening"})};j.states=g.states;j.options=g.options;j.className=aa;j.defaultOptions=ra;j.moduleName=ms;j.folderName=na;var sl=require("react/jsx-runtime");var nl=require("react/jsx-runtime");var pa=require("react/jsx-runtime"),al=g.states,la={...g.defaultOptions,variant:"normal"},rl={...g.options,fillMode:g.options.fillMode.filter(e=>e!=="clear"&&e!=="link")},il=[],ll=[{name:"normal",title:"Normal"},{name:"listening",title:"Listening"}],ct=e=>{let{variant:t,...o}={...la,...e},s={};return t==="listening"&&(s.listening=!0),(0,pa.jsx)(j,{...o,...s})};ct.options=rl;ct.states=al;ct.variants=ll;ct.defaultOptions=la;ct.modifiers=il;ct.className=j.className;var se=require("react/jsx-runtime"),pe="k-prompt-box",pl=[r.hover,r.focus,r.disabled],ml={fillMode:[x.undefined,x.solid,x.flat,x.outline]},ds={lineMode:"auto",isExpanded:!1},P=e=>{let{fillMode:t,lineMode:o=ds.lineMode,startAffix:s,endAffix:a,header:i,isExpanded:d=ds.isExpanded,className:c,children:N,value:b,placeholder:L,generating:I,actionButtonConfig:u,speechToTextButtonConfig:O,uploadButtonConfig:k,hover:D,focus:_,disabled:R,...Ye}=e,ve=o==="multi"||o==="auto"&&d;return(0,se.jsxs)("div",{...Ye,className:n(c,"k-input",pe,{[`${pe}-singleline`]:o==="single",[`${pe}-multiline`]:ve,[`k-input-${t}`]:t,"k-hover":D,"k-focus":_,"k-disabled":R}),children:[i&&(0,se.jsx)("div",{className:`${pe}-header`,children:i}),(0,se.jsxs)("div",{className:`${pe}-content`,children:[s&&(0,se.jsx)("div",{className:`${pe}-affix`,children:s}),o==="single"?(0,se.jsx)(Le,{value:b,placeholder:L,className:`${pe}-input`,type:"text","aria-label":"Prompt input"}):(0,se.jsx)(kt,{value:b,placeholder:L,className:`${pe}-textarea`,rows:o==="multi"||d?3:1,"aria-label":"Prompt input","aria-multiline":"true"}),(0,se.jsxs)("div",{className:`${pe}-affix`,children:[a,k&&(0,se.jsx)(Z,{icon:"paperclip",size:"small",fillMode:"flat",rounded:"full","aria-label":"Attach files",...k}),O!==!1&&(0,se.jsx)(j,{size:"small",fillMode:"flat",rounded:"full",...O}),(0,se.jsx)(Z,{icon:I?"stop":"arrow-up",size:"small",rounded:"full",active:I,disabled:!b&&!I,"aria-label":I?"Stop generating":"Send prompt","aria-live":"polite",...u,className:n({"k-generating":I},u==null?void 0:u.className)})]})]}),N]})};P.states=pl;P.options=ml;P.className=pe;P.defaultOptions=ds;P.moduleName=ps;P.folderName=sa;var dl=require("react/jsx-runtime");var cl=require("react/jsx-runtime");var fl=require("react/jsx-runtime");var ul=require("react/jsx-runtime");var hl=require("react/jsx-runtime");var W=require("react/jsx-runtime"),xl=P.options,Nl=P.states,Cl={...P.defaultOptions,variant:"Single"},bl=[{name:"Single",title:"Singleline"},{name:"Multi",title:"Multiline"}],gl=[{name:"header",title:"Header"},{name:"endAffix",title:"End Affix"},{name:"startAffix",title:"Start Affix"}],ft=e=>{let{variant:t,modifiers:o,...s}=e,a={},i=(0,W.jsx)(W.Fragment,{children:(0,W.jsx)(Z,{size:"small",icon:"send",fillMode:"flat"})});return Object.keys(o||{}).forEach(d=>{switch(d){case"header":a.header=o!=null&&o[d]?(0,W.jsx)(g,{children:"Button in header"}):void 0;break;case"endAffix":o!=null&&o[d]&&(a.endAffix=(0,W.jsxs)(W.Fragment,{children:[i,(0,W.jsx)(Z,{icon:"paperclip",size:"small",fillMode:"flat"})]}));break;case"startAffix":a.startAffix=o!=null&&o[d]?(0,W.jsx)(W.Fragment,{children:(0,W.jsx)(Z,{icon:"plus",size:"small",fillMode:"flat"})}):void 0;break;default:break}}),t==="Multi"?(0,W.jsx)(P,{style:{width:300},lineMode:"multi",endAffix:i,placeholder:"Enter your prompt...",...s,...a}):(0,W.jsx)(P,{style:{width:300},lineMode:"single",endAffix:i,placeholder:"Enter your prompt...",...s,...a})};ft.options=xl;ft.states=Nl;ft.variants=bl;ft.defaultOptions=Cl;ft.modifiers=gl;ft.className=P.className;var cs=require("react/jsx-runtime");var fs=require("react/jsx-runtime");var _t="loader",ro=_t;var ne=require("react/jsx-runtime"),us="k-loader",Ll={pulsing:"pulsing-2","infinite-spinner":"spinner-3","converging-spinner":"spinner-4"},Il=[],vl={size:[l.undefined,l.small,l.medium,l.large],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary]},ma={animation:"pulsing"},H=e=>{let{size:t,themeColor:o,animation:s=ma.animation,...a}=e,i=(0,ne.jsx)("span",{className:"k-loader-segment"});return(0,ne.jsx)("div",{...a,className:n(e.className,us,{[`k-loader-${Ll[s]||s}`]:s},C(us,{size:t,themeColor:o})),role:"status","aria-label":a["aria-label"]||"Loading",children:(0,ne.jsxs)("div",{className:"k-loader-canvas",children:[s==="pulsing"&&(0,ne.jsxs)(ne.Fragment,{children:[i,i]}),s==="infinite-spinner"&&(0,ne.jsxs)(ne.Fragment,{children:[i,i,i]}),s==="converging-spinner"&&(0,ne.jsxs)(ne.Fragment,{children:[i,i,i,i]})]})})};H.states=Il;H.options=vl;H.className=us;H.defaultOptions=ma;H.moduleName=_t;H.folderName=ro;var da=H;var hs="overlay",ca=hs;var ha=require("react/jsx-runtime"),fa="k-overlay",Ml=[],Tl={},Al={},Ve=e=>{let{...t}=e;return(0,ha.jsx)("div",{...t,className:n(e.className,fa),children:e.children})};Ve.states=Ml;Ve.options=Tl;Ve.className=fa;Ve.defaultOptions=Al;Ve.moduleName=hs;Ve.folderName=ca;var ua=Ve;var We=require("react/jsx-runtime"),xs="k-loader-container",El=[],Ol={size:[l.undefined,l.small,l.medium,l.large],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary]},io={loaderType:"pulsing",position:"top",panel:!1},$e=e=>{let{size:t,themeColor:o,loaderType:s=io.loaderType,position:a=io.position,panel:i=io.panel,...d}=e;return(0,We.jsxs)("div",{...d,className:n(e.className,xs,C(xs,{size:t}),{[`k-loader-${a}`]:a}),role:"status","aria-live":"polite","aria-label":d["aria-label"]||"Loading",children:[(0,We.jsx)(ua,{className:"k-loader-container-overlay"}),(0,We.jsxs)("div",{className:n("k-loader-container-inner",{"k-loader-container-panel":i}),children:[(0,We.jsx)(da,{size:t,themeColor:o,animation:s}),(0,We.jsx)("div",{className:"k-loader-container-label",children:"Loading..."})]})]})};$e.states=El;$e.options=Ol;$e.className=xs;$e.defaultOptions=io;$e.moduleName=_t;$e.folderName=ro;var Sl=require("react/jsx-runtime");var yl=require("react/jsx-runtime");var kl=require("react/jsx-runtime");var _l=require("react/jsx-runtime");var lo=require("react/jsx-runtime"),Dl=H.options,Rl=H.states,Pl={...H.defaultOptions,variant:"infinite-spinner"},Hl=[{name:"infinite-spinner",title:"Infinite"},{name:"pulsing",title:"Pulsing"},{name:"converging-spinner",title:"Converging"}],Kl=[],ut=e=>{let{variant:t,...o}=e;switch(t){case"pulsing":return(0,lo.jsx)(H,{animation:"pulsing",...o});case"converging-spinner":return(0,lo.jsx)(H,{animation:"converging-spinner",...o});default:return(0,lo.jsx)(H,{animation:"infinite-spinner",...o})}};ut.options=Dl;ut.states=Rl;ut.variants=Hl;ut.defaultOptions=Pl;ut.modifiers=Kl;ut.className=H.className;var Ns=require("react/jsx-runtime");var xa="messagebox",Na="message-box";var Ca=require("react/jsx-runtime"),Cs="k-messagebox",wl=[],Bl={themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.inverse]},zl={},Se=e=>{let{themeColor:t,...o}=e;return(0,Ca.jsx)("div",{...o,className:n(e.className,Cs,C(Cs,{themeColor:t})),children:e.children})};Se.states=wl;Se.options=Bl;Se.className=Cs;Se.defaultOptions=zl;Se.moduleName=xa;Se.folderName=Na;var bs=require("react/jsx-runtime");var ba=require("react/jsx-runtime");var gs=require("react/jsx-runtime");var Ls=require("react/jsx-runtime");var ga=require("react/jsx-runtime");var Dt="input",po=Dt;var La=require("react/jsx-runtime"),mo="k-input",Gl=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Ul={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Fl={},q=e=>{let{hover:t,focus:o,disabled:s,invalid:a,valid:i,loading:d,readonly:c,size:N,rounded:b,fillMode:L,...I}=e;return(0,La.jsx)("span",{...I,className:n(e.className,mo,C(mo,{size:N,rounded:b,fillMode:L}),A(mo,{hover:t,focus:o,disabled:s,invalid:a,valid:i,loading:d,readonly:c}))})};q.states=Gl;q.options=Ul;q.className=mo;q.defaultOptions=Fl;q.moduleName=Dt;q.folderName=po;var Ia=require("react/jsx-runtime"),co="k-picker",Vl=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Wl={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},$l={},ht=e=>{let{hover:t,focus:o,disabled:s,invalid:a,valid:i,loading:d,readonly:c,size:N,rounded:b,fillMode:L,...I}=e;return(0,Ia.jsx)("span",{...I,className:n(e.className,co,C(co,{size:N,rounded:b,fillMode:L}),A(co,{hover:t,focus:o,disabled:s,invalid:a,valid:i,loading:d,readonly:c})),children:e.children})};ht.states=Vl;ht.options=Wl;ht.className=co;ht.defaultOptions=$l;ht.moduleName=Dt;ht.folderName=po;var xt=require("react/jsx-runtime"),va="k-clear-value",Xl=[r.disabled,r.loading,r.readonly],Jl={},Xe=e=>{let{disabled:t,loading:o,readonly:s,value:a}=e;return t||s||o||!a?(0,xt.jsx)(xt.Fragment,{}):(0,xt.jsx)("span",{className:n(e.className,va),children:(0,xt.jsx)(h,{icon:"x"})})};Xe.states=Xl;Xe.options=Jl;Xe.className=va;var Rt=require("react/jsx-runtime"),Is="k-input-inner",ql=[],Yl={},vs=e=>{let{value:t,placeholder:o,showValue:s,valueIcon:a,valueIconName:i,...d}=e;return(0,Rt.jsxs)("span",{...d,className:n(e.className,Is,C(Is,e)),children:[a,!a&&i&&(0,Rt.jsx)(h,{className:"k-input-value-icon",icon:i}),s&&!t&&o,s&&t&&(0,Rt.jsx)("span",{className:"k-input-value-text",children:t})]})};vs.states=ql;vs.options=Yl;vs.className=Is;var Pt=require("react/jsx-runtime"),Ma="k-input-loading-icon",Zl=[r.disabled,r.loading],Nt=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,Pt.jsx)(Pt.Fragment,{}):(0,Pt.jsx)("span",{className:n(e.className,Ma,"k-icon k-i-loading")})};Nt.states=Zl;Nt.className=Ma;var Ht=require("react/jsx-runtime"),Ta="k-input-validation-icon",Ql=[r.valid,r.invalid,r.disabled,r.loading],jl={},Je=e=>{let{valid:t,invalid:o,disabled:s,loading:a}=e,i=o?"warning-circle":"check-circle";return s||a||!!!(t||o)?(0,Ht.jsx)(Ht.Fragment,{}):(0,Ht.jsx)(h,{className:n(Ta),icon:i})};Je.states=Ql;Je.options=jl;Je.className=Ta;var Kt=require("react/jsx-runtime"),ep="k-input-prefix",tp={direction:"horizontal"},Aa=e=>{let{direction:t=tp.direction,...o}=e;return e.children?(0,Kt.jsx)("span",{...o,className:n(ep,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,Kt.jsx)(Kt.Fragment,{})};var wt=require("react/jsx-runtime"),op="k-input-suffix",sp={direction:"horizontal"},Ea=e=>{let{direction:t=sp.direction,...o}=e;return e.children?(0,wt.jsx)("span",{...o,className:n(op,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,wt.jsx)(wt.Fragment,{})};var np=require("react/jsx-runtime");var ap=require("react/jsx-runtime");var Sa=require("react/jsx-runtime"),Oa="k-input-separator",rp={direction:"vertical"},Ms=e=>{let{direction:t=rp.direction,...o}=e;return(0,Sa.jsx)("span",{...o,className:n(Oa,e.className,{[`${Oa}-${t}`]:t})})};var w=require("react/jsx-runtime"),ip=q.states,lp=q.defaultOptions,pp=q.options,mp=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],dp=[],Ct=e=>{let{modifiers:t,valid:o,invalid:s,loading:a,disabled:i,readonly:d,...c}=e,N=t==null?void 0:t.prefix,b=t==null?void 0:t.suffix,L=t==null?void 0:t["clear-button"],I=t==null?void 0:t["validation-icon"],u=t==null?void 0:t.separators;return(0,w.jsxs)(q,{...c,valid:o,invalid:s,loading:a,disabled:i,readonly:d,style:{width:300},children:[N&&(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(Aa,{children:(0,w.jsx)(h,{icon:"lock"})}),u&&(0,w.jsx)(Ms,{})]}),(0,w.jsx)(Le,{placeholder:"Placeholder",value:"Value"}),I&&(0,w.jsx)(Je,{valid:o,invalid:s,loading:a,disabled:i}),(0,w.jsx)(Nt,{loading:a,disabled:i}),L&&(0,w.jsx)(Xe,{loading:a,disabled:i,readonly:d,value:"Value"}),b&&(0,w.jsxs)(w.Fragment,{children:[u&&(0,w.jsx)(Ms,{}),(0,w.jsx)(Ea,{children:(0,w.jsx)(qt,{size:c.size,fillMode:"clear",children:"Send"})})]})]})};Ct.options=pp;Ct.states=ip;Ct.variants=dp;Ct.defaultOptions=lp;Ct.modifiers=mp;Ct.className=q.className;var Ts="searchbox",ya=Ts;var ye=require("react/jsx-runtime"),ka="k-searchbox",cp=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading],fp={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},fo={showIcon:!0,showClearButton:!0,icon:"search"},qe=e=>{let{value:t,placeholder:o,size:s,rounded:a,fillMode:i,hover:d,focus:c,valid:N,invalid:b,required:L,loading:I,disabled:u,showIcon:O=fo.showIcon,showClearButton:k=fo.showClearButton,icon:D=fo.icon,"aria-label":_,...R}=e;return(0,ye.jsxs)(q,{...R,size:s,rounded:a,fillMode:i,hover:d,focus:c,valid:N,invalid:b,required:L,loading:I,disabled:u,className:n(e.className,ka),children:[O&&(0,ye.jsx)(h,{className:"k-input-icon",icon:D}),(0,ye.jsx)(Le,{placeholder:o,value:t,"aria-label":_}),(0,ye.jsx)(Nt,{...e}),(0,ye.jsx)(Je,{...e}),k&&(0,ye.jsx)(Xe,{...e})]})};qe.states=cp;qe.options=fp;qe.className=ka;qe.defaultOptions=fo;qe.moduleName=Ts;qe.folderName=ya;var up=require("react/jsx-runtime");var xo=Qe(require("react"));var uo=Qe(require("react"));var _a=require("react/jsx-runtime"),hp="k-treeview-group",me=e=>{let{children:t,dir:o,level:s=1,role:a="group",...i}=e;return(0,_a.jsx)("ul",{...i,className:n(e.className,hp),role:a,children:uo.default.Children.map(t,(d,c)=>uo.default.isValidElement(d)?uo.default.cloneElement(d,{dir:o,level:s,key:c}):d)})};var Bt="treeview",ho=Bt;var Es=require("react/jsx-runtime"),As="k-treeview",xp=[],Np={size:[l.undefined,l.small,l.medium,l.large]},Cp={},K=e=>{let{size:t,children:o,dir:s,...a}=e;return(0,Es.jsx)("div",{...a,dir:s,className:n(e.className,As,C(As,{size:t})),children:(0,Es.jsx)(me,{className:"k-treeview-lines",role:"tree",dir:s,children:xo.default.Children.map(o,(i,d)=>xo.default.isValidElement(i)?xo.default.cloneElement(i,{dir:s,key:d}):i)})})};K.states=xp;K.options=Np;K.className=As;K.defaultOptions=Cp;K.moduleName=Bt;K.folderName=ho;var Co=Qe(require("react"));var zt=require("react/jsx-runtime"),Os="k-treeview-leaf",bp=[r.hover,r.focus,r.selected],gp={},No=e=>{let{text:t,showIcon:o,icon:s,children:a,hover:i,focus:d,selected:c,...N}=e;return(0,zt.jsxs)("span",{...N,className:n(e.className,Os,A(Os,{hover:i,focus:d,selected:c})),children:[o&&(0,zt.jsx)(h,{icon:s}),t!==void 0&&(0,zt.jsx)("span",{className:"k-treeview-leaf-text",children:t}),a]})};No.states=bp;No.options=gp;No.className=Os;var Da=No;var Ie=require("react/jsx-runtime"),Ra="k-treeview-item",Lp=[r.hover,r.focus,r.selected,r.disabled],Ip={},vp={},y=e=>{let{leafClassName:t,children:o,hasChildren:s,expanded:a,loading:i,text:d,content:c,showIcon:N,icon:b,showCheckbox:L,checked:I,hover:u,focus:O,selected:k,disabled:D,dir:_,level:R=1,ariaSelected:Ye,...ve}=e,Ze=s||o||i;return(0,Ie.jsxs)("li",{...ve,className:n(e.className,Ra),style:{"--kendo-treeview-level":R},role:"treeitem","aria-expanded":Ze?a?"true":"false":void 0,"aria-checked":L?I?"true":"false":void 0,"aria-selected":Ye?"true":void 0,"aria-disabled":D?"true":void 0,children:[(0,Ie.jsxs)("span",{className:n("k-treeview-item-content",A("k-treeview-item-content",{hover:u,focus:O,selected:k,disabled:D})),children:[Ze&&(0,Ie.jsx)("span",{className:n("k-treeview-toggle",A("k-treeview-toggle",{disabled:D})),children:i?(0,Ie.jsx)("span",{className:"k-icon k-i-loading"}):(0,Ie.jsx)(h,{icon:a?"chevron-down":_==="rtl"?"chevron-left":"chevron-right"})}),L&&(0,Ie.jsx)(U,{checked:I,disabled:D,"aria-label":d,tabIndex:-1}),(0,Ie.jsx)(Da,{className:t,text:d,showIcon:N,icon:b,children:c})]}),a&&Ze&&Co.default.Children.map(o,(gt,bo)=>Co.default.isValidElement(gt)?Co.default.cloneElement(gt,{dir:_,level:R+1,key:bo}):gt)]})};y.states=Lp;y.options=Ip;y.className=Ra;y.defaultOptions=vp;y.moduleName=Bt;y.folderName=ho;var Mp=require("react/jsx-runtime");var Pa=require("react/jsx-runtime");var Ha=require("react/jsx-runtime");var Ka=require("react/jsx-runtime");var wa=require("react/jsx-runtime");var Ba=require("react/jsx-runtime");var ae=require("react/jsx-runtime"),Tp=K.options,Ap=K.states,Ep=K.defaultOptions,Op=[{name:"checkboxes",title:"Show `Checkbox`",default:!1}],Sp=[],bt=e=>{let{modifiers:t,...o}=e,s={};return Object.keys(t||{}).forEach(a=>{a==="checkboxes"&&(s.showCheckbox=t==null?void 0:t[a])}),(0,ae.jsxs)(K,{...o,children:[(0,ae.jsx)(y,{text:"Furniture",expanded:!0,...s,children:(0,ae.jsxs)(me,{children:[(0,ae.jsx)(y,{text:"Tables & Chairs",...s}),(0,ae.jsx)(y,{text:"Sofas",...s}),(0,ae.jsx)(y,{text:"Occasional Furniture",...s})]})}),(0,ae.jsxs)(y,{text:"Decor",expanded:!1,...s,children:[(0,ae.jsx)(y,{text:"Bed Linen",...s}),(0,ae.jsx)(y,{text:"Curtains & Blinds",...s}),(0,ae.jsx)(y,{text:"Carpets",...s})]})]})};bt.options=Tp;bt.states=Ap;bt.variants=Sp;bt.defaultOptions=Ep;bt.modifiers=Op;bt.className=K.className;var za=require("react/jsx-runtime");var yp=require("react/jsx-runtime");var de=require("react/jsx-runtime"),Ga=e=>(0,de.jsxs)(be,{...e,children:[(0,de.jsx)(ge,{children:"sales_order"}),(0,de.jsxs)(E,{className:"k-datainsights-composer-popup-field-list",role:"none",children:[(0,de.jsx)(T,{role:"presentation",tabIndex:0,rounded:"full",fillMode:"outline",text:"SalesOrderID"}),(0,de.jsx)(T,{role:"presentation",tabIndex:-1,rounded:"full",fillMode:"outline",text:"OrderDate"}),(0,de.jsx)(T,{role:"presentation",tabIndex:-1,rounded:"full",fillMode:"outline",text:"ShipDate"}),(0,de.jsx)(T,{role:"presentation",tabIndex:-1,rounded:"full",fillMode:"outline",text:"SubTotal"}),(0,de.jsx)(T,{role:"presentation",tabIndex:-1,rounded:"full",fillMode:"outline",text:"TaxAmt"})]})]}),kp=Ga;
|
|
1
|
+
var Wn=Object.create;var Gt=Object.defineProperty;var $n=Object.getOwnPropertyDescriptor;var Xn=Object.getOwnPropertyNames;var Jn=Object.getPrototypeOf,qn=Object.prototype.hasOwnProperty;var Yn=(e,t)=>{for(var o in t)Gt(e,o,{get:t[o],enumerable:!0})},Ss=(e,t,o,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Xn(t))!qn.call(e,n)&&n!==o&&Gt(e,n,{get:()=>t[n],enumerable:!(s=$n(t,n))||s.enumerable});return e};var Qe=(e,t,o)=>(o=e!=null?Wn(Jn(e)):{},Ss(t||!e||!e.__esModule?Gt(o,"default",{value:e,enumerable:!0}):o,e)),Zn=e=>Ss(Gt({},"__esModule",{value:!0}),e);var Dp={};Yn(Dp,{DataInsightsComposerDataSourceFieldsPopup:()=>Un,default:()=>_p});module.exports=Zn(Dp);var a=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?a(...t):typeof t=="object"?Object.keys(t).map((o,s)=>t[s]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var N=(e,t)=>a({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),E=(e,t)=>{let{valid:o,invalid:s,hover:n,focus:i,checked:d,active:c,selected:C,disabled:g,indeterminate:L,loading:I,empty:u,readonly:O,highlighted:k,...R}=t;return a({"k-valid":o,"k-invalid":s,"k-hover":n,"k-focus":i,"k-checked":d,"k-active":c,"k-selected":C,"k-disabled":g,"k-indeterminate":L&&!d,"k-loading":I,"k-empty":u,"k-readonly":O,"k-highlighted":k},Object.keys(R).reduce((_,P)=>(P.startsWith("k-")?_[P]=R[P]:_[`k-${P}`]=R[P],_),{}))};function ks(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(s=>[`k-${s}`,!0]))}var l={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},f={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},x={undefined:void 0,solid:"solid",tint:"tint",flat:"flat",outline:"outline",clear:"clear",link:"link"},ie={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},m={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},r={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var go={};function G(e){return go[e]=(go[e]||0)+1,`k-${e}-${go[e]}`}var Lt=require("react/jsx-runtime"),Lo="k-font-icon",Qn=[],jn={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info]},er={},It=e=>{let{size:t,themeColor:o,icon:s,rotate:n,flip:i,...d}=e;return s?(0,Lt.jsx)("span",{...d,className:a(e.className,Lo,N(Lo,{size:t}),{[`k-i-${s}`]:s,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),"aria-hidden":"true"}):(0,Lt.jsx)(Lt.Fragment,{})};It.states=Qn;It.options=jn;It.className=Lo;It.defaultOptions=er;var _s=It;var _e=require("react/jsx-runtime"),Io="k-svg-icon",tr=[],or={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info],variant:[ie.outline,ie.solid,ie.duotone]},vo={viewBox:"0 0 24 24",variant:ie.outline},vt=e=>{var I,u;let{size:t,themeColor:o,rotate:s,flip:n,viewBox:i=vo.viewBox,variant:d=vo.variant,icon:c,...C}=e;if(!c)return(0,_e.jsx)(_e.Fragment,{});if(c==="none")return(0,_e.jsx)("span",{...C,className:a(e.className,Io,N("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let g=typeof c=="object"&&c.name&&c.name,L=typeof c=="object"?d&&((I=c.variants)==null?void 0:I[d])||((u=c.variants)==null?void 0:u.outline)||c.content:void 0;return(0,_e.jsx)("span",{...C,className:a(e.className,Io,N("k-icon",{size:t}),{[`k-svg-i-${g}`]:g,[`k-color-${o}`]:o,[`k-rotate-${s}`]:s,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:(0,_e.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:i,dangerouslySetInnerHTML:L!==void 0?{__html:L}:void 0,children:c?void 0:e.children})})};vt.states=tr;vt.options=or;vt.className=Io;vt.defaultOptions=vo;var Mo=vt;var To=Qe(require("@progress/kendo-svg-icons"));var Ds="icon",Rs="icons";var ws=require("react");var Ps=require("react"),Hs=(0,Ps.createContext)({iconsType:"svg"});var ce=require("react/jsx-runtime"),Ut="k-icon",sr=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),ar=[],nr={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info],variant:[ie.outline,ie.solid,ie.duotone]},Ft={viewBox:"0 0 24 24",type:"svg",variant:ie.outline},h=e=>{let{iconsType:t}=(0,ws.useContext)(Hs),{size:o,themeColor:s,icon:n,type:i=t||Ft.type,rotate:d,flip:c,viewBox:C=Ft.viewBox,variant:g=Ft.variant,...L}=e;if(!n)return(0,ce.jsx)(ce.Fragment,{});if((t||i)==="svg"){if(n==="none")return(0,ce.jsx)(Mo,{...L,className:a(e.className,Ut),icon:n,size:o,variant:g});let u=To[n]?n:sr(`${n}-icon`);return To[u]?(0,ce.jsx)(Mo,{...L,className:a(e.className,Ut),icon:To[u],size:o,themeColor:s,rotate:d,flip:c,viewBox:C,variant:g}):(0,ce.jsx)(ce.Fragment,{})}return(0,ce.jsx)(_s,{...L,className:a(e.className,Ut),icon:n,size:o,themeColor:s,rotate:d,flip:c})};h.states=ar;h.options=nr;h.defaultOptions=Ft;h.className=Ut;h.moduleName=Ds;h.folderName=Rs;var Mt=require("react/jsx-runtime"),rr="k-chip-action";var fe=e=>{let{type:t,...o}=e,s;switch(t){case"remove":s=(0,Mt.jsx)(h,{icon:"x-circle",size:"small"});break;case"more":s=(0,Mt.jsx)(h,{icon:"more-vertical",size:"small"});break;default:return(0,Mt.jsx)(h,{icon:t,size:"small"})}return(0,Mt.jsx)("span",{...o,className:a(e.className,rr,`k-chip-${t}-action`),children:s})};var Ao="avatar",Ks=Ao;var yo=require("react/jsx-runtime"),Tt="k-avatar";var ir=[r.hover,r.focus,r.active,r.selected,r.disabled],lr={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.outline],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary]},Eo={type:"text",border:!1},$=e=>{let{size:t,rounded:o,fillMode:s,themeColor:n,type:i=Eo.type,border:d=Eo.border,...c}=e;return(0,yo.jsx)("div",{...c,className:a(e.className,Tt,N(Tt,{size:t,rounded:o,fillMode:s,themeColor:n}),{[`${Tt}-bordered`]:d}),children:(0,yo.jsx)("span",{className:`${Tt}-${i}`,children:e.children})})};$.states=ir;$.options=lr;$.className=Tt;$.defaultOptions=Eo;$.moduleName=Ao;$.folderName=Ks;var De=$;var Bs=require("react/jsx-runtime"),At=e=>(0,Bs.jsx)(De,{type:"icon",...e});var Gs=require("react/jsx-runtime"),zs=e=>(0,Gs.jsx)(De,{type:"text",...e});var Fs=require("react/jsx-runtime"),Us=e=>(0,Fs.jsx)(De,{type:"image",...e});var pr=require("react/jsx-runtime");var je=require("react/jsx-runtime"),mr=$.options,dr=$.states,cr={...$.defaultOptions,variant:"image"},fr=[{name:"image",title:"Image"},{name:"icon",title:"Icon Avatar"},{name:"text",title:"Text Avatar"}],ur=[],et=e=>{let{variant:t,...o}=e;switch(t){case"icon":return(0,je.jsx)(At,{...o,children:(0,je.jsx)(h,{icon:"star"})});case"text":return(0,je.jsx)(zs,{...o,children:"JO"});default:return(0,je.jsx)(Us,{...o,children:(0,je.jsx)("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})}};et.options=mr;et.states=dr;et.variants=fr;et.defaultOptions=cr;et.modifiers=ur;et.className=$.className;var Et="chip",Vt=Et,Wt="https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg";var ue=require("react/jsx-runtime"),$t="k-chip",hr=[r.hover,r.focus,r.active,r.selected,r.disabled],xr={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.outline],themeColor:[m.undefined,m.base,m.success,m.warning,m.error,m.info]},Vs={avatarImage:"/packages/html/assets/avatar.jpg"},T=e=>{let{size:t,rounded:o,fillMode:s,themeColor:n,text:i,icon:d,actions:c,showAvatar:C,avatarImage:g=Vs.avatarImage,hover:L,focus:I,active:u,selected:O,disabled:k,...R}=e;return(0,ue.jsxs)("div",{...R,className:a(e.className,$t,N($t,{size:t,rounded:o,fillMode:s,themeColor:n}),E($t,{hover:L,focus:I,active:u,disabled:k,selected:O})),role:e.role||"button","aria-pressed":e.role==="option"||e.role==="listitem"||e.role==="presentation"||e["aria-haspopup"]?void 0:O?"true":"false",...e.role==="option"&&O!==void 0&&{"aria-selected":O?"true":"false"},"aria-disabled":k?"true":void 0,children:[d&&(0,ue.jsx)(h,{className:"k-chip-icon",icon:d,size:"small"}),C&&(0,ue.jsx)($,{className:"k-chip-avatar",type:"image",children:(0,ue.jsx)("img",{src:g,alt:""})}),(0,ue.jsx)("span",{className:"k-chip-content",children:e.children?e.children:i&&(0,ue.jsx)("span",{className:"k-chip-label",children:i})}),c&&(0,ue.jsx)("span",{className:"k-chip-actions",children:c})]})};T.states=hr;T.options=xr;T.className=$t;T.defaultOptions=Vs;T.moduleName=Et;T.folderName=Vt;var oe=T;var Ws=require("react/jsx-runtime"),Oo="k-chip-list",Cr=[],Nr={size:[l.undefined,l.small,l.medium,l.large]},br={},A=e=>{let{size:t,multiselectable:o,ariaLabel:s,...n}=e;return(0,Ws.jsx)("div",{...n,className:a(e.className,Oo,N(Oo,{size:t})),role:e.role||"listbox","aria-label":e.role==="none"?void 0:s||"chip list","aria-orientation":e.role==="none"||e.role==="group"?void 0:"horizontal","aria-multiselectable":o?"true":void 0,children:e.children})};A.states=Cr;A.options=Nr;A.className=Oo;A.defaultOptions=br;A.moduleName=Et;A.folderName=Vt;var gr=require("react/jsx-runtime");var Lr=require("react/jsx-runtime");var $s=require("react/jsx-runtime"),Xt=e=>(0,$s.jsx)(oe,{text:"text",...e});var Ir=require("react/jsx-runtime");var vr=require("react/jsx-runtime");var So=require("react/jsx-runtime");var Xs=require("react/jsx-runtime");var Js=require("react/jsx-runtime");var qs=require("react/jsx-runtime");var he=require("react/jsx-runtime"),Mr={...oe.options,...A.options},Tr=[],Ar=A.states,Er={...oe.defaultOptions,...A.defaultOptions},yr=[{name:"icon",title:"Icon",type:"boolean"},{name:"actions",title:"Actions",type:"boolean"},{name:"avatar",title:"Avatar",type:"boolean"}],tt=e=>{let{modifiers:t,className:o,...s}=e,n=t==null?void 0:t.icon,i=t==null?void 0:t.actions,d=t==null?void 0:t.avatar,c=d?Wt:void 0;return(0,he.jsxs)(A,{size:s.size,className:o,children:[(0,he.jsx)(Xt,{...s,role:"option","aria-selected":"false","aria-pressed":void 0,icon:n?"star":void 0,actions:i?(0,he.jsx)(fe,{type:"remove"}):void 0,showAvatar:d,avatarImage:c,children:"Chip"}),(0,he.jsx)(Xt,{...s,role:"option","aria-selected":"false","aria-pressed":void 0,icon:n?"star":void 0,actions:i?(0,he.jsx)(fe,{type:"remove"}):void 0,showAvatar:d,avatarImage:c,children:"Chip"}),(0,he.jsx)(Xt,{...s,role:"option","aria-selected":"false","aria-pressed":void 0,icon:n?"star":void 0,actions:i?(0,he.jsx)(fe,{type:"remove"}):void 0,showAvatar:d,avatarImage:c,children:"Chip"})]})};tt.options=Mr;tt.states=Ar;tt.variants=Tr;tt.defaultOptions=Er;tt.modifiers=yr;tt.className=A.className;var Jt=require("react/jsx-runtime"),Or=T.states,Sr=T.defaultOptions,kr=T.options,_r=[],Dr=[{name:"icon",title:"Icon"},{name:"avatar",title:"Avatar"},{name:"remove-icon",title:"`Remove` Icon"},{name:"more-options",title:"`More options` Icon"}],ot=e=>{let{modifiers:t,...o}=e,s={};return Object.keys(t||{}).forEach(n=>{switch(n){case"icon":s.icon=t!=null&&t[n]?"arrow-down":void 0;break;case"avatar":s.showAvatar=!!(t!=null&&t[n]),s.avatarImage=t!=null&&t[n]?Wt:void 0;break;case"more-options":s.actions||(s.actions=[]),s.actions[0]=t!=null&&t[n]?(0,Jt.jsx)(fe,{type:"more"}):void 0;break;case"remove-icon":s.actions||(s.actions=[]),s.actions[1]=t!=null&&t[n]?(0,Jt.jsx)(fe,{type:"remove"}):void 0;break;default:break}}),(0,Jt.jsx)(T,{...o,...s,children:"Chip component"})};ot.options=kr;ot.states=Or;ot.variants=_r;ot.defaultOptions=Sr;ot.modifiers=Dr;ot.className=T.className;var v="datainsights-composer",M=v;var Zs=require("react/jsx-runtime"),Ys="k-datainsights-composer",X=e=>{let{className:t,children:o,...s}=e;return(0,Zs.jsx)("div",{className:a(Ys,t),...s,children:o})};X.states=[];X.options={};X.className=Ys;X.defaultOptions={};X.moduleName=v;X.folderName=M;var js=require("react/jsx-runtime"),Qs="k-datainsights-composer-actions",xe=e=>{let{className:t,children:o,...s}=e;return(0,js.jsx)("div",{className:a(Qs,t),...s,children:o})};xe.states=[];xe.options={};xe.className=Qs;xe.defaultOptions={};xe.moduleName=v;xe.folderName=M;var ko="dataviz",ea=ko;var _o=require("react/jsx-runtime"),ta="k-chart",Rr=[],Pr={},Hr={},Re=e=>{let{ariaRoleDescription:t="chart",children:o,...s}=e;return(0,_o.jsx)("div",{...s,className:ta,children:(0,_o.jsx)("div",{className:"k-chart-surface",tabIndex:0,role:"graphics-document document","aria-roledescription":t,children:o})})};Re.states=Rr;Re.options=Pr;Re.className=ta;Re.defaultOptions=Hr;Re.moduleName=ko;Re.folderName=ea;var oa=Re;var p=require("react/jsx-runtime"),wr={},Kr=[],Br=[],zr={},Gr=[],Pe=()=>(0,p.jsx)(oa,{ariaRoleDescription:"Units sold",style:{position:"relative",width:"660px",height:"400px"},children:Ur}),Ur=(0,p.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",version:"1.1",style:{width:"100%",height:"100%",overflow:"hidden",left:"-0.999998px",top:"-0.999998px"},children:[(0,p.jsx)("defs",{children:(0,p.jsx)("clipPath",{clipRule:"evenodd",id:"kdef108",children:(0,p.jsx)("path",{d:"M34.5 50.5 L 648.5 50.5 648.5 347.5 34.5 347.5Z",stroke:"#000",strokeLinejoin:"miter",fill:"none"})})}),(0,p.jsxs)("g",{children:[(0,p.jsx)("path",{d:"M0 0 L 660 0 660 400 0 400Z",stroke:"none",fill:"rgb(255, 255, 255)"}),(0,p.jsx)("path",{d:"M34 49.5 L 647.5 49.5 647.5 347 34 347Z",stroke:"none",fill:"#fff",fillOpacity:0}),(0,p.jsxs)("g",{children:[(0,p.jsxs)("g",{children:[(0,p.jsx)("path",{d:"M136.5 50.5 L 136.5 347.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M239.5 50.5 L 239.5 347.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M341.5 50.5 L 341.5 347.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M443.5 50.5 L 443.5 347.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M545.5 50.5 L 545.5 347.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M648.5 50.5 L 648.5 347.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"})]}),(0,p.jsxs)("g",{children:[(0,p.jsx)("path",{d:"M34.5 305.5 L 648.5 305.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M34.5 262.5 L 648.5 262.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M34.5 220.5 L 648.5 220.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M34.5 177.5 L 648.5 177.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M34.5 135.5 L 648.5 135.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M34.5 92.5 L 648.5 92.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M34.5 50.5 L 648.5 50.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"})]}),(0,p.jsx)("g",{children:(0,p.jsx)("g",{children:(0,p.jsxs)("g",{children:[(0,p.jsx)("path",{d:"M34.5 347.5 L 648.5 347.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M34.5 347.5 L 34.5 351.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M136.5 347.5 L 136.5 351.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M239.5 347.5 L 239.5 351.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M341.5 347.5 L 341.5 351.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M443.5 347.5 L 443.5 351.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M545.5 347.5 L 545.5 351.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M648.5 347.5 L 648.5 351.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"})]})})}),(0,p.jsx)("g",{clipPath:"url(#kdef108)",children:(0,p.jsxs)("g",{children:[(0,p.jsx)("g",{children:(0,p.jsx)("path",{d:"M34 242.45 L 136.25 112.4 238.5 83.5 340.75 166.8 443 143 545.25 214.4 647.5 263.7 647.5 347 34 347",stroke:"none",fill:"rgb(18, 116, 172)",fillOpacity:"0.6"})}),(0,p.jsx)("g",{children:(0,p.jsx)("path",{d:"M34 206.75 L 136.25 168.5 238.5 103.05 340.75 224.6 443 185.5 545.25 205.05 647.5 166.8 647.5 347 34 347",stroke:"none",fill:"rgb(255, 225, 98)",fillOpacity:"0.6"})}),(0,p.jsx)("g",{children:(0,p.jsx)("path",{d:"M34 299.4 L 136.25 228 238.5 181.25 340.75 307.9 443 242.45 545.25 280.7 647.5 266.25 647.5 347 34 347",stroke:"none",fill:"rgb(76, 209, 128)",fillOpacity:"0.6"})})]})}),(0,p.jsx)("g",{children:(0,p.jsx)("text",{x:"318.25",y:387,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 14px sans-serif",whiteSpace:"pre"},children:"Months"})}),(0,p.jsx)("g",{children:(0,p.jsx)("text",{x:"24.5",y:367,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"Jan"})}),(0,p.jsx)("g",{children:(0,p.jsx)("text",{x:"125.75",y:367,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"Feb"})}),(0,p.jsx)("g",{children:(0,p.jsx)("text",{x:228,y:367,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"Mar"})}),(0,p.jsx)("g",{children:(0,p.jsx)("text",{x:"331.25",y:367,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"Apr"})}),(0,p.jsx)("g",{children:(0,p.jsx)("text",{x:"431.5",y:367,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"May"})}),(0,p.jsx)("g",{children:(0,p.jsx)("text",{x:"535.75",y:367,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"Jun"})}),(0,p.jsx)("g",{children:(0,p.jsx)("text",{x:640,y:367,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"Jul"})}),(0,p.jsx)("g",{children:(0,p.jsxs)("g",{children:[(0,p.jsx)("path",{d:"M34.5 50.5 L 34.5 347.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M30.5 347.5 L 34.5 347.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M30.5 305.5 L 34.5 305.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M30.5 262.5 L 34.5 262.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M30.5 220.5 L 34.5 220.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M30.5 177.5 L 34.5 177.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M30.5 135.5 L 34.5 135.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M30.5 92.5 L 34.5 92.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,p.jsx)("path",{d:"M30.5 50.5 L 34.5 50.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"})]})}),(0,p.jsx)("g",{children:(0,p.jsx)("text",{x:18,y:"351.5",stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"0"})}),(0,p.jsx)("g",{children:(0,p.jsx)("text",{x:12,y:309,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"50"})}),(0,p.jsx)("g",{children:(0,p.jsx)("text",{x:5,y:"266.5",stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"100"})}),(0,p.jsx)("g",{children:(0,p.jsx)("text",{x:5,y:224,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"150"})}),(0,p.jsx)("g",{children:(0,p.jsx)("text",{x:5,y:"181.5",stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"200"})}),(0,p.jsx)("g",{children:(0,p.jsx)("text",{x:5,y:139,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"250"})}),(0,p.jsx)("g",{children:(0,p.jsx)("text",{x:5,y:"96.5",stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"300"})}),(0,p.jsx)("g",{children:(0,p.jsx)("text",{x:5,y:54,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"350"})})]}),(0,p.jsx)("g",{children:(0,p.jsx)("g",{children:(0,p.jsx)("text",{x:295,y:29,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 16.002px sans-serif",whiteSpace:"pre"},children:"Units sold"})})}),(0,p.jsx)("g",{})]})]});Pe.options=wr;Pe.states=Kr;Pe.variants=Br;Pe.defaultOptions=zr;Pe.modifiers=Gr;var Do=require("react/jsx-runtime"),sa="k-datainsights-composer-report-output",Ce=e=>{let{className:t,titleId:o,...s}=e;return(0,Do.jsx)("div",{...s,className:a(sa,t),role:"group","aria-labelledby":o,children:(0,Do.jsx)(Pe,{})})};Ce.states=[];Ce.options={};Ce.className=sa;Ce.defaultOptions={};Ce.moduleName=v;Ce.folderName=M;var na=require("react/jsx-runtime"),aa="k-datainsights-composer-fields",j=e=>{let{className:t,children:o,...s}=e;return(0,na.jsx)("div",{className:a(aa,t),...s,children:o})};j.states=[];j.options={};j.className=aa;j.defaultOptions={};j.moduleName=v;j.folderName=M;var Ro="button",ra=Ro;var B=require("react/jsx-runtime"),yt="k-button",Fr=["icon-button"],Vr=[r.hover,r.focus,r.active,r.selected,r.disabled,r.generating],Wr={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.inverse]},Po={showArrow:!1,arrowIconName:"chevron-down"},b=e=>{let{as:t="button",size:o,rounded:s,fillMode:n,themeColor:i,showArrow:d=Po.showArrow,arrowIconName:c=Po.arrowIconName,variant:C,hover:g,focus:L,active:I,selected:u,disabled:O,togglable:k,ariaDisabled:R,icon:_,endIcon:P,iconSize:Ye,text:Ae,iconClassName:Ze,className:gt,...bo}=e,Fn=_!=null,Vn=e.children!==void 0;return(0,B.jsxs)(t,{className:a(gt,yt,ks(yt,C),N(yt,{size:o,rounded:s,fillMode:n,themeColor:i}),E(yt,{hover:g,focus:L,active:I,disabled:O||R,selected:u}),{"k-icon-button":!Ae&&!Vn&&Fn}),"aria-pressed":k?u?"true":"false":void 0,...bo,"aria-disabled":R?"true":void 0,disabled:O||void 0,children:[typeof _=="string"&&_&&(0,B.jsx)(h,{className:a(Ze,"k-button-icon"),icon:_,size:Ye}),_&&typeof _!="string"&&(0,B.jsx)(B.Fragment,{children:_}),Ae?(0,B.jsxs)(B.Fragment,{children:[Ae&&(0,B.jsx)("span",{className:"k-button-text",children:Ae}),e.children]}):e.children&&(0,B.jsx)("span",{className:"k-button-text",children:e.children}),typeof P=="string"&&P&&(0,B.jsx)(h,{className:a(Ze,"k-button-icon"),icon:P,size:Ye}),P&&typeof P!="string"&&(0,B.jsx)(B.Fragment,{children:P}),d&&(0,B.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,B.jsx)(h,{icon:c})})]})};b.states=Vr;b.options=Wr;b.variants=Fr;b.className=yt;b.defaultOptions=Po;b.moduleName=Ro;b.folderName=ra;var ia=require("react/jsx-runtime"),J=e=>(0,ia.jsx)(b,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var pa=require("react/jsx-runtime"),la=e=>(0,pa.jsx)(b,{icon:"folder",children:"Button",...e});var $r=require("react/jsx-runtime");var ma=require("react/jsx-runtime"),qt=e=>(0,ma.jsx)(b,{children:"Button",...e});var Yt=require("react/jsx-runtime"),Xr=b.options,Jr=b.states,qr={...b.defaultOptions,variant:"text"},Yr=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Zr=[],st=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,Yt.jsx)(J,{...o,icon:"star"});case"icon-and-text":return(0,Yt.jsx)(la,{...o,icon:"star",children:"Button"});default:return(0,Yt.jsx)(qt,{...o,children:"Button"})}};st.options=Xr;st.states=Jr;st.variants=Yr;st.defaultOptions=qr;st.modifiers=Zr;st.className=b.className;var Zt=Qe(require("react"));var Ho=require("react/jsx-runtime"),Qr="k-list-group-sticky-header",wo=e=>(0,Ho.jsx)("div",{className:a(Qr,e.className),children:(0,Ho.jsx)("div",{className:"k-list-header-text",children:e.children})});var da=require("react/jsx-runtime"),jr="k-no-data",Ko=e=>{let{live:t,...o}=e;return(0,da.jsx)("span",{...o,className:a(jr,e.className),"aria-live":t?"polite":void 0,children:e.children})};var He="list",at=He;var nt=require("react/jsx-runtime"),Bo="k-list",ei=[],ti={size:[l.undefined,l.small,l.medium,l.large]},oi={},q=e=>{var k;let{size:t,virtualization:o,children:s,header:n,selectAll:i,optionLabel:d,customValue:c,noData:C,screenReaders:g,...L}=e,u=Zt.default.Children.toArray(s)[0],O=(k=u==null?void 0:u.props)!=null&&k.children?Zt.default.Children.count(u.props.children):Zt.default.Children.count(s);return(0,nt.jsxs)("div",{...L,className:a(e.className,Bo,N(Bo,{size:t}),{"k-virtual-list":o}),children:[d,i,c,n&&(0,nt.jsx)(wo,{children:n}),s||(C!==void 0?C:(0,nt.jsx)(Ko,{live:!0,children:"No data found."})),g&&s&&(0,nt.jsxs)(Ko,{className:"k-sr-only",live:!0,children:[O," items found."]})]})};q.states=ei;q.options=ti;q.className=Bo;q.defaultOptions=oi;q.moduleName=He;q.folderName=at;var fa=require("react/jsx-runtime"),ca="k-list-container",si=[],ai={},ni={},rt=e=>{let{...t}=e;return(0,fa.jsx)("div",{...t,className:a(e.className,ca),children:e.children})};rt.states=si;rt.options=ai;rt.className=ca;rt.defaultOptions=ni;rt.moduleName=He;rt.folderName=at;var we="checkbox",it=we;var zo=require("react/jsx-runtime"),Qt="k-checkbox",ri=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked,r.indeterminate],ii={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full]},li={},U=e=>{let{id:t,checked:o,indeterminate:s,hover:n,focus:i,disabled:d,invalid:c,valid:C,required:g,size:L,rounded:I,wrapperRole:u,...O}=e;return(0,zo.jsx)("span",{className:"k-checkbox-wrap",role:u,children:(0,zo.jsx)("input",{...O,id:t,type:"checkbox",defaultChecked:o,required:g,disabled:d||void 0,"aria-invalid":c?"true":void 0,className:a(e.className,Qt,N(Qt,{size:L,rounded:I}),E(Qt,{hover:n,focus:i,disabled:d,invalid:c,valid:C,indeterminate:s,checked:o}))})})};U.states=ri;U.options=ii;U.className=Qt;U.defaultOptions=li;U.moduleName=we;U.folderName=it;var re=U;var xa=require("react/jsx-runtime"),ua="k-checkbox-list",pi=[],mi={},ha={layout:"vertical"},F=e=>{let{layout:t=ha.layout,...o}=e;return(0,xa.jsx)("ul",{...o,className:a(e.className,ua,{[`k-list-${t}`]:t}),children:e.children})};F.states=pi;F.options=mi;F.className=ua;F.defaultOptions=ha;F.moduleName=we;F.folderName=it;var Na=require("react/jsx-runtime"),Ca="k-checkbox-list-item",di=[],ci={},fi={},V=e=>{let{...t}=e;return(0,Na.jsx)("li",{...t,className:a(e.className,Ca),children:e.children})};V.states=di;V.options=ci;V.className=Ca;V.defaultOptions=fi;V.moduleName=we;V.folderName=it;var Ke=require("react/jsx-runtime"),Ne=({children:e="Label",id:t="cb-label-after",...o})=>(0,Ke.jsxs)(Ke.Fragment,{children:[(0,Ke.jsx)(re,{id:t,...o}),(0,Ke.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var Go=require("react/jsx-runtime");var Uo=require("react/jsx-runtime");var Fo=require("react/jsx-runtime");var ui=require("react/jsx-runtime");var hi=require("react/jsx-runtime");var xi=require("react/jsx-runtime");var z=require("react/jsx-runtime"),Ci=F.options,Ni=F.states,bi={...F.defaultOptions,variant:"vertical"},gi=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Li=[],lt=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,z.jsxs)(F,{layout:"horizontal",...o,children:[(0,z.jsx)(V,{children:(0,z.jsx)(Ne,{id:G("cb"),defaultChecked:!0,children:"Label"})}),(0,z.jsx)(V,{children:(0,z.jsx)(Ne,{id:G("cb"),children:"Label"})}),(0,z.jsx)(V,{children:(0,z.jsx)(Ne,{id:G("cb"),children:"Label"})})]}):(0,z.jsxs)(F,{...o,children:[(0,z.jsx)(V,{children:(0,z.jsx)(Ne,{id:G("cb"),defaultChecked:!0,children:"Label"})}),(0,z.jsx)(V,{children:(0,z.jsx)(Ne,{id:G("cb"),children:"Label"})}),(0,z.jsx)(V,{children:(0,z.jsx)(Ne,{id:G("cb"),children:"Label"})})]})};lt.options=Ci;lt.states=Ni;lt.variants=gi;lt.defaultOptions=bi;lt.modifiers=Li;lt.className=F.className;var ba=require("react/jsx-runtime"),Ii=re.options,vi=re.states,Mi=re.defaultOptions,Ti=[],Ai=[],pt=e=>(0,ba.jsx)(Ne,{id:G("checkbox"),...e,defaultChecked:!0,children:"Label"});pt.options=Ii;pt.states=vi;pt.variants=Ti;pt.defaultOptions=Mi;pt.modifiers=Ai;pt.className=re.className;var be=require("react/jsx-runtime"),Vo="k-list-item",Ei=[r.hover,r.focus,r.selected,r.disabled],yi={},Oi={},Y=e=>{let{text:t,iconName:o,iconClassName:s,showCheckbox:n,checked:i,hover:d,focus:c,selected:C,disabled:g,actions:L,description:I,id:u,...O}=e,k=t||e.children,R=t||(typeof k=="string"?k:void 0);return(0,be.jsxs)("li",{...O,id:u,role:"option",tabIndex:c?0:-1,"aria-selected":C?"true":"false","aria-disabled":g?"true":void 0,className:a(e.className,Vo,E(Vo,{hover:d,focus:c,disabled:g,selected:C})),children:[n&&(0,be.jsx)(U,{checked:i,disabled:g,"aria-label":R,tabIndex:-1}),o&&(0,be.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,be.jsx)(h,{icon:o,className:a("k-list-item-icon",s)})}),(0,be.jsx)("span",{className:"k-list-item-text",children:k}),L&&(0,be.jsx)("div",{className:"k-list-item-actions",children:L}),I&&(0,be.jsx)("span",{className:"k-list-item-description",children:I})]})};Y.states=Ei;Y.options=yi;Y.className=Vo;Y.defaultOptions=Oi;Y.moduleName=He;Y.folderName=at;var Si=require("react/jsx-runtime");var La=require("react/jsx-runtime");var mt=require("react/jsx-runtime"),jt="k-list-sticky-header",ki=[r.hover,r.focus,r.selected],_i={},Di={},eo=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:s,indeterminate:n,hover:i,focus:d,selected:c,...C}=e;return(0,mt.jsx)("div",{...C,className:a(jt,e.className),children:(0,mt.jsxs)("div",{className:a(`${jt}-item`,E(`${jt}-item`,{hover:i,focus:d,selected:c})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":c?"true":"false"},children:[o&&(0,mt.jsx)(U,{checked:s,indeterminate:n,"aria-label":t}),(0,mt.jsx)("span",{className:"k-list-item-text",children:t})]})})};eo.states=ki;eo.options=_i;eo.className=jt;eo.defaultOptions=Di;var Wo=require("react/jsx-runtime");var Ia=require("react/jsx-runtime");var va=require("react/jsx-runtime"),$o="k-list-optionlabel",Ri=[r.hover,r.focus,r.selected,r.disabled],Pi={},Hi={},to=e=>{let{text:t,hover:o,focus:s,selected:n,disabled:i,...d}=e;return(0,va.jsx)("div",{...d,className:a($o,E($o,{hover:o,focus:s,selected:n,disabled:i})),children:t})};to.states=Ri;to.options=Pi;to.className=$o;to.defaultOptions=Hi;var Ma=require("react/jsx-runtime"),Xo="k-list-custom-value",wi=[r.hover,r.focus,r.selected,r.disabled],Ki={},Bi={},oo=e=>{let{text:t,hover:o,focus:s,selected:n,disabled:i,...d}=e;return(0,Ma.jsx)("div",{...d,className:a(Xo,E(Xo,{hover:o,focus:s,selected:n,disabled:i})),children:t})};oo.states=wi;oo.options=Ki;oo.className=Xo;oo.defaultOptions=Bi;var Jo=require("react/jsx-runtime");var qo=require("react/jsx-runtime");var Yo=require("react/jsx-runtime");var Zo=require("react/jsx-runtime");var Gi=require("react/jsx-runtime");var Qo=require("react/jsx-runtime");var jo=require("react/jsx-runtime");var es=require("react/jsx-runtime"),Ta="k-datainsights-composer-history-checkpoint",ze=e=>{let{label:t,timestamp:o,hover:s,current:n,focus:i,className:d,...c}=e;return(0,es.jsx)(Y,{...c,focus:i,className:a(Ta,d),description:o,hover:s,actions:n?void 0:(0,es.jsx)(J,{className:"k-datainsights-composer-history-restore",icon:"arrow-rotate-ccw",size:"xsmall",fillMode:"flat",title:"Restore to this version","aria-label":`Restore ${t}`,tabIndex:i?0:-1}),children:t})};ze.states=[];ze.options={};ze.className=Ta;ze.defaultOptions={};ze.moduleName=v;ze.folderName=M;var Ea=require("react/jsx-runtime"),Aa="k-datainsights-composer-loading",Ge=e=>{let{className:t,children:o,...s}=e;return(0,Ea.jsx)("div",{className:a(Aa,t),...s,children:o})};Ge.states=[];Ge.options={};Ge.className=Aa;Ge.defaultOptions={};Ge.moduleName=v;Ge.folderName=M;var Oa=require("react/jsx-runtime"),ya="k-datainsights-composer-loading-message",Ue=e=>{let{className:t,children:o,...s}=e;return(0,Oa.jsx)("span",{className:a(ya,t),...s,children:o})};Ue.states=[];Ue.options={};Ue.className=ya;Ue.defaultOptions={};Ue.moduleName=v;Ue.folderName=M;var ts="popup",Sa=ts;var ss=require("react/jsx-runtime"),ka="k-animation-container",Ui=[],Fi={},os={positionMode:"absolute",shown:!0},Ee=e=>{let{positionMode:t=os.positionMode,shown:o=os.shown,animationStyle:s,offset:n,...i}=e;return(0,ss.jsx)("div",{...i,style:{...n,...e.style},className:a(e.className,ka,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:(0,ss.jsx)("div",{className:"k-child-animation-container",style:s,children:e.children})})};Ee.states=Ui;Ee.options=Fi;Ee.className=ka;Ee.defaultOptions=os;Ee.moduleName=ts;Ee.folderName=Sa;var as="popup",_a=as;var ns=require("react/jsx-runtime"),Da="k-popup",Vi=[],Wi={},Ra={positionMode:"absolute"},ge=e=>{let{offset:t,positionMode:o=Ra.positionMode,animationStyle:s,containerClassName:n,containerRole:i,containerAriaLabel:d,...c}=e;return(0,ns.jsx)(Ee,{positionMode:o,offset:t,animationStyle:s,className:n,role:i,"aria-label":d,children:(0,ns.jsx)("div",{...c,className:a(e.className,Da),children:e.children})})};ge.states=Vi;ge.options=Wi;ge.className=Da;ge.defaultOptions=Ra;ge.moduleName=as;ge.folderName=_a;var Ha=require("react/jsx-runtime"),Pa="k-datainsights-composer-popup",Le=e=>{let{className:t,children:o,...s}=e;return(0,Ha.jsx)(ge,{...s,className:a(Pa,t),containerRole:"region",containerAriaLabel:"Data sources",children:o})};Le.states=[];Le.options={};Le.className=Pa;Le.defaultOptions={};Le.moduleName=v;Le.folderName=M;var Ka=require("react/jsx-runtime"),wa="k-datainsights-composer-popup-title",Ie=e=>{let{className:t,children:o,...s}=e;return(0,Ka.jsx)("div",{className:a(wa,t),...s,children:o})};Ie.states=[];Ie.options={};Ie.className=wa;Ie.defaultOptions={};Ie.moduleName=v;Ie.folderName=M;var za=require("react/jsx-runtime"),Ba="k-datainsights-composer-preview",Fe=e=>{let{className:t,children:o,...s}=e;return(0,za.jsx)("div",{className:a(Ba,t),...s,children:o})};Fe.states=[];Fe.options={};Fe.className=Ba;Fe.defaultOptions={};Fe.moduleName=v;Fe.folderName=M;var Ua=require("react/jsx-runtime"),Ga="k-datainsights-composer-card",ee=e=>{let{className:t,children:o,...s}=e;return(0,Ua.jsx)("div",{className:a(Ga,t),...s,children:o})};ee.states=[];ee.options={};ee.className=Ga;ee.defaultOptions={};ee.moduleName=v;ee.folderName=M;var Va=require("react/jsx-runtime"),Fa="k-datainsights-composer-report-header",ve=e=>{let{className:t,children:o,...s}=e;return(0,Va.jsx)("div",{className:a(Fa,t),...s,children:o})};ve.states=[];ve.options={};ve.className=Fa;ve.defaultOptions={};ve.moduleName=v;ve.folderName=M;var $a=require("react/jsx-runtime"),Wa="k-datainsights-composer-report-content",ye=e=>{let{className:t,children:o,...s}=e;return(0,$a.jsx)("div",{className:a(Wa,t),...s,children:o})};ye.states=[];ye.options={};ye.className=Wa;ye.defaultOptions={};ye.moduleName=v;ye.folderName=M;var Ja=require("react/jsx-runtime"),Xa="k-datainsights-composer-report-title",Oe=e=>{let{className:t,children:o,...s}=e;return(0,Ja.jsx)("h2",{className:a(Xa,t),...s,children:o})};Oe.states=[];Oe.options={};Oe.className=Xa;Oe.defaultOptions={};Oe.moduleName=v;Oe.folderName=M;var Ya=require("react/jsx-runtime"),qa="k-datainsights-composer-title",Z=e=>{let{className:t,children:o,...s}=e;return(0,Ya.jsx)("h2",{className:a(qa,t),...s,children:o})};Z.states=[];Z.options={};Z.className=qa;Z.defaultOptions={};Z.moduleName=v;Z.folderName=M;var Qa=Qe(require("react"));var rs="badge",Za=rs;var St=require("react/jsx-runtime"),Ot="k-badge",$i=[],Xi={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.tint,x.outline],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary,m.info,m.success,m.warning,m.error]},so={cutoutBorder:!1,position:null,align:null},y=e=>{let{size:t,fillMode:o,themeColor:s,icon:n,endIcon:i,cutoutBorder:d=so.cutoutBorder,rounded:c,position:C=so.position,align:g=so.align,...L}=e,I=u=>typeof u=="string"?(0,St.jsx)(h,{className:"k-badge-icon",icon:u}):u;return(0,St.jsxs)("span",{...L,className:a(e.className,Ot,N(Ot,{size:t,rounded:c,fillMode:o,themeColor:s}),{[`${Ot}-${C}`]:C,[`k-${g}`]:g,[`${Ot}-border-cutout`]:d}),children:[n&&I(n),Qa.Children.map(e.children,u=>typeof u=="string"||typeof u=="number"?(0,St.jsx)("span",{className:"k-badge-text",children:u}):u),i&&I(i)]})};y.states=$i;y.options=Xi;y.className=Ot;y.defaultOptions=so;y.moduleName=rs;y.folderName=Za;var Ji=require("react/jsx-runtime");var qi=require("react/jsx-runtime");var Yi=require("react/jsx-runtime");var le=require("react/jsx-runtime"),Zi={...y.options,cutoutBorder:{type:"boolean"}},Qi=y.states,ja={...y.defaultOptions,themeColor:"error",variant:"icon"},ji=[{name:"icon",title:"Icon Badge"},{name:"text",title:"Text Badge"}],dt=e=>{let{variant:t,...o}={...ja,...e},s={};return t==="text"?(0,le.jsxs)("div",{className:"k-badge-container",children:[(0,le.jsx)(At,{children:(0,le.jsx)(h,{icon:"user"})}),(0,le.jsx)(y,{align:"bottom-end",position:"edge",...o,...s,children:"26"})]}):(0,le.jsxs)("div",{className:"k-badge-container",children:[(0,le.jsx)(At,{children:(0,le.jsx)(h,{icon:"user"})}),(0,le.jsx)(y,{align:"bottom-end",position:"edge",icon:"minus",...o,...s})]})};dt.options=Zi;dt.states=Qi;dt.variants=ji;dt.defaultOptions=ja;dt.modifiers=[];dt.className=y.className;var en=require("react/jsx-runtime"),is="k-input-inner",el=[],tl={},ao={type:"text",autocomplete:"off",value:"",placeholder:""},Me=e=>{let{value:t=ao.value,type:o=ao.type,placeholder:s=ao.placeholder,autocomplete:n=ao.autocomplete,disabled:i,readOnly:d,...c}=e;return(0,en.jsx)("input",{...c,type:o,className:a(e.className,is,N(is,e)),placeholder:s,autoComplete:n,defaultValue:t,disabled:i||void 0,readOnly:d||void 0})};Me.states=el;Me.options=tl;Me.className=is;var on=require("react/jsx-runtime"),ls="k-input-inner",ol=[],sl={},tn={value:"",placeholder:""},kt=e=>{let{value:t=tn.value,placeholder:o=tn.placeholder,rows:s,disabled:n,...i}=e;return(0,on.jsx)("textarea",{...i,className:a(e.className,ls,N(ls,e)),placeholder:o,rows:s,defaultValue:t,disabled:n||void 0})};kt.states=ol;kt.options=sl;kt.className=ls;var ps="prompt-box",sn=ps;var ms="speech-to-text-button",an=ms;var ln=require("react/jsx-runtime"),nn="k-speech-to-text-button",rn={icon:"microphone"},te=e=>{let{listening:t=!1,icon:o=rn.icon,...s}=e;return(0,ln.jsx)(b,{...s,icon:t?"stop":o,className:a(e.className,nn,{"k-listening":t}),"aria-pressed":t?"true":"false","aria-label":t?"Stop listening":"Start listening"})};te.states=b.states;te.options=b.options;te.className=nn;te.defaultOptions=rn;te.moduleName=ms;te.folderName=an;var al=require("react/jsx-runtime");var nl=require("react/jsx-runtime");var mn=require("react/jsx-runtime"),rl=b.states,pn={...b.defaultOptions,variant:"normal"},il={...b.options,fillMode:b.options.fillMode.filter(e=>e!=="clear"&&e!=="link")},ll=[],pl=[{name:"normal",title:"Normal"},{name:"listening",title:"Listening"}],ct=e=>{let{variant:t,...o}={...pn,...e},s={};return t==="listening"&&(s.listening=!0),(0,mn.jsx)(te,{...o,...s})};ct.options=il;ct.states=rl;ct.variants=pl;ct.defaultOptions=pn;ct.modifiers=ll;ct.className=te.className;var se=require("react/jsx-runtime"),pe="k-prompt-box",ml=[r.hover,r.focus,r.disabled],dl={fillMode:[x.undefined,x.solid,x.flat,x.outline]},ds={lineMode:"auto",isExpanded:!1},D=e=>{let{fillMode:t,lineMode:o=ds.lineMode,startAffix:s,endAffix:n,header:i,isExpanded:d=ds.isExpanded,className:c,children:C,value:g,placeholder:L,generating:I,actionButtonConfig:u,speechToTextButtonConfig:O,uploadButtonConfig:k,hover:R,focus:_,disabled:P,...Ye}=e,Ae=o==="multi"||o==="auto"&&d;return(0,se.jsxs)("div",{...Ye,className:a(c,"k-input",pe,{[`${pe}-singleline`]:o==="single",[`${pe}-multiline`]:Ae,[`k-input-${t}`]:t,"k-hover":R,"k-focus":_,"k-disabled":P}),children:[i&&(0,se.jsx)("div",{className:`${pe}-header`,children:i}),(0,se.jsxs)("div",{className:`${pe}-content`,children:[s&&(0,se.jsx)("div",{className:`${pe}-affix`,children:s}),o==="single"?(0,se.jsx)(Me,{value:g,placeholder:L,className:`${pe}-input`,type:"text","aria-label":"Prompt input"}):(0,se.jsx)(kt,{value:g,placeholder:L,className:`${pe}-textarea`,rows:o==="multi"||d?3:1,"aria-label":"Prompt input","aria-multiline":"true"}),(0,se.jsxs)("div",{className:`${pe}-affix`,children:[n,k&&(0,se.jsx)(J,{icon:"paperclip",size:"small",fillMode:"flat",rounded:"full","aria-label":"Attach files",...k}),O!==!1&&(0,se.jsx)(te,{size:"small",fillMode:"flat",rounded:"full",...O}),(0,se.jsx)(J,{icon:I?"stop":"arrow-up",size:"small",rounded:"full",active:I,disabled:!g&&!I,"aria-label":I?"Stop generating":"Send prompt","aria-live":"polite",...u,className:a({"k-generating":I},u==null?void 0:u.className)})]})]}),C]})};D.states=ml;D.options=dl;D.className=pe;D.defaultOptions=ds;D.moduleName=ps;D.folderName=sn;var cl=require("react/jsx-runtime");var fl=require("react/jsx-runtime");var ul=require("react/jsx-runtime");var hl=require("react/jsx-runtime");var xl=require("react/jsx-runtime");var W=require("react/jsx-runtime"),Cl=D.options,Nl=D.states,bl={...D.defaultOptions,variant:"Single"},gl=[{name:"Single",title:"Singleline"},{name:"Multi",title:"Multiline"}],Ll=[{name:"header",title:"Header"},{name:"endAffix",title:"End Affix"},{name:"startAffix",title:"Start Affix"}],ft=e=>{let{variant:t,modifiers:o,...s}=e,n={},i=(0,W.jsx)(W.Fragment,{children:(0,W.jsx)(J,{size:"small",icon:"send",fillMode:"flat"})});return Object.keys(o||{}).forEach(d=>{switch(d){case"header":n.header=o!=null&&o[d]?(0,W.jsx)(b,{children:"Button in header"}):void 0;break;case"endAffix":o!=null&&o[d]&&(n.endAffix=(0,W.jsxs)(W.Fragment,{children:[i,(0,W.jsx)(J,{icon:"paperclip",size:"small",fillMode:"flat"})]}));break;case"startAffix":n.startAffix=o!=null&&o[d]?(0,W.jsx)(W.Fragment,{children:(0,W.jsx)(J,{icon:"plus",size:"small",fillMode:"flat"})}):void 0;break;default:break}}),t==="Multi"?(0,W.jsx)(D,{style:{width:300},lineMode:"multi",endAffix:i,placeholder:"Enter your prompt...",...s,...n}):(0,W.jsx)(D,{style:{width:300},lineMode:"single",endAffix:i,placeholder:"Enter your prompt...",...s,...n})};ft.options=Cl;ft.states=Nl;ft.variants=gl;ft.defaultOptions=bl;ft.modifiers=Ll;ft.className=D.className;var cs=require("react/jsx-runtime");var fs=require("react/jsx-runtime");var _t="loader",ro=_t;var ae=require("react/jsx-runtime"),us="k-loader",Il={pulsing:"pulsing-2","infinite-spinner":"spinner-3","converging-spinner":"spinner-4"},vl=[],Ml={size:[l.undefined,l.small,l.medium,l.large],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary]},dn={animation:"pulsing"},H=e=>{let{size:t,themeColor:o,animation:s=dn.animation,...n}=e,i=(0,ae.jsx)("span",{className:"k-loader-segment"});return(0,ae.jsx)("div",{...n,className:a(e.className,us,{[`k-loader-${Il[s]||s}`]:s},N(us,{size:t,themeColor:o})),role:"status","aria-label":n["aria-label"]||"Loading",children:(0,ae.jsxs)("div",{className:"k-loader-canvas",children:[s==="pulsing"&&(0,ae.jsxs)(ae.Fragment,{children:[i,i]}),s==="infinite-spinner"&&(0,ae.jsxs)(ae.Fragment,{children:[i,i,i]}),s==="converging-spinner"&&(0,ae.jsxs)(ae.Fragment,{children:[i,i,i,i]})]})})};H.states=vl;H.options=Ml;H.className=us;H.defaultOptions=dn;H.moduleName=_t;H.folderName=ro;var cn=H;var hs="overlay",fn=hs;var xn=require("react/jsx-runtime"),un="k-overlay",Tl=[],Al={},El={},Ve=e=>{let{...t}=e;return(0,xn.jsx)("div",{...t,className:a(e.className,un),children:e.children})};Ve.states=Tl;Ve.options=Al;Ve.className=un;Ve.defaultOptions=El;Ve.moduleName=hs;Ve.folderName=fn;var hn=Ve;var We=require("react/jsx-runtime"),xs="k-loader-container",yl=[],Ol={size:[l.undefined,l.small,l.medium,l.large],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary]},io={loaderType:"pulsing",position:"top",panel:!1},$e=e=>{let{size:t,themeColor:o,loaderType:s=io.loaderType,position:n=io.position,panel:i=io.panel,...d}=e;return(0,We.jsxs)("div",{...d,className:a(e.className,xs,N(xs,{size:t}),{[`k-loader-${n}`]:n}),role:"status","aria-live":"polite","aria-label":d["aria-label"]||"Loading",children:[(0,We.jsx)(hn,{className:"k-loader-container-overlay"}),(0,We.jsxs)("div",{className:a("k-loader-container-inner",{"k-loader-container-panel":i}),children:[(0,We.jsx)(cn,{size:t,themeColor:o,animation:s}),(0,We.jsx)("div",{className:"k-loader-container-label",children:"Loading..."})]})]})};$e.states=yl;$e.options=Ol;$e.className=xs;$e.defaultOptions=io;$e.moduleName=_t;$e.folderName=ro;var Sl=require("react/jsx-runtime");var kl=require("react/jsx-runtime");var _l=require("react/jsx-runtime");var Dl=require("react/jsx-runtime");var lo=require("react/jsx-runtime"),Rl=H.options,Pl=H.states,Hl={...H.defaultOptions,variant:"infinite-spinner"},wl=[{name:"infinite-spinner",title:"Infinite"},{name:"pulsing",title:"Pulsing"},{name:"converging-spinner",title:"Converging"}],Kl=[],ut=e=>{let{variant:t,...o}=e;switch(t){case"pulsing":return(0,lo.jsx)(H,{animation:"pulsing",...o});case"converging-spinner":return(0,lo.jsx)(H,{animation:"converging-spinner",...o});default:return(0,lo.jsx)(H,{animation:"infinite-spinner",...o})}};ut.options=Rl;ut.states=Pl;ut.variants=wl;ut.defaultOptions=Hl;ut.modifiers=Kl;ut.className=H.className;var Cs=require("react/jsx-runtime");var Cn="messagebox",Nn="message-box";var bn=require("react/jsx-runtime"),Ns="k-messagebox",Bl=[],zl={themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.inverse]},Gl={},Se=e=>{let{themeColor:t,...o}=e;return(0,bn.jsx)("div",{...o,className:a(e.className,Ns,N(Ns,{themeColor:t})),children:e.children})};Se.states=Bl;Se.options=zl;Se.className=Ns;Se.defaultOptions=Gl;Se.moduleName=Cn;Se.folderName=Nn;var bs=require("react/jsx-runtime");var gn=require("react/jsx-runtime");var gs=require("react/jsx-runtime");var Ls=require("react/jsx-runtime");var Is=require("react/jsx-runtime");var Ln=require("react/jsx-runtime");var Dt="input",po=Dt;var In=require("react/jsx-runtime"),mo="k-input",Ul=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Fl={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Vl={},Q=e=>{let{hover:t,focus:o,disabled:s,invalid:n,valid:i,loading:d,readonly:c,size:C,rounded:g,fillMode:L,...I}=e;return(0,In.jsx)("span",{...I,className:a(e.className,mo,N(mo,{size:C,rounded:g,fillMode:L}),E(mo,{hover:t,focus:o,disabled:s,invalid:n,valid:i,loading:d,readonly:c}))})};Q.states=Ul;Q.options=Fl;Q.className=mo;Q.defaultOptions=Vl;Q.moduleName=Dt;Q.folderName=po;var vn=require("react/jsx-runtime"),co="k-picker",Wl=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],$l={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Xl={},ht=e=>{let{hover:t,focus:o,disabled:s,invalid:n,valid:i,loading:d,readonly:c,size:C,rounded:g,fillMode:L,...I}=e;return(0,vn.jsx)("span",{...I,className:a(e.className,co,N(co,{size:C,rounded:g,fillMode:L}),E(co,{hover:t,focus:o,disabled:s,invalid:n,valid:i,loading:d,readonly:c})),children:e.children})};ht.states=Wl;ht.options=$l;ht.className=co;ht.defaultOptions=Xl;ht.moduleName=Dt;ht.folderName=po;var xt=require("react/jsx-runtime"),Mn="k-clear-value",Jl=[r.disabled,r.loading,r.readonly],ql={},Xe=e=>{let{disabled:t,loading:o,readonly:s,value:n}=e;return t||s||o||!n?(0,xt.jsx)(xt.Fragment,{}):(0,xt.jsx)("span",{className:a(e.className,Mn),children:(0,xt.jsx)(h,{icon:"x"})})};Xe.states=Jl;Xe.options=ql;Xe.className=Mn;var Rt=require("react/jsx-runtime"),vs="k-input-inner",Yl=[],Zl={},Ms=e=>{let{value:t,placeholder:o,showValue:s,valueIcon:n,valueIconName:i,...d}=e;return(0,Rt.jsxs)("span",{...d,className:a(e.className,vs,N(vs,e)),children:[n,!n&&i&&(0,Rt.jsx)(h,{className:"k-input-value-icon",icon:i}),s&&!t&&o,s&&t&&(0,Rt.jsx)("span",{className:"k-input-value-text",children:t})]})};Ms.states=Yl;Ms.options=Zl;Ms.className=vs;var Pt=require("react/jsx-runtime"),Tn="k-input-loading-icon",Ql=[r.disabled,r.loading],Ct=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,Pt.jsx)(Pt.Fragment,{}):(0,Pt.jsx)("span",{className:a(e.className,Tn,"k-icon k-i-loading")})};Ct.states=Ql;Ct.className=Tn;var Ht=require("react/jsx-runtime"),An="k-input-validation-icon",jl=[r.valid,r.invalid,r.disabled,r.loading],ep={},Je=e=>{let{valid:t,invalid:o,disabled:s,loading:n}=e,i=o?"warning-circle":"check-circle";return s||n||!!!(t||o)?(0,Ht.jsx)(Ht.Fragment,{}):(0,Ht.jsx)(h,{className:a(An),icon:i})};Je.states=jl;Je.options=ep;Je.className=An;var wt=require("react/jsx-runtime"),tp="k-input-prefix",op={direction:"horizontal"},En=e=>{let{direction:t=op.direction,...o}=e;return e.children?(0,wt.jsx)("span",{...o,className:a(tp,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,wt.jsx)(wt.Fragment,{})};var Kt=require("react/jsx-runtime"),sp="k-input-suffix",ap={direction:"horizontal"},yn=e=>{let{direction:t=ap.direction,...o}=e;return e.children?(0,Kt.jsx)("span",{...o,className:a(sp,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,Kt.jsx)(Kt.Fragment,{})};var np=require("react/jsx-runtime");var rp=require("react/jsx-runtime");var Sn=require("react/jsx-runtime"),On="k-input-separator",ip={direction:"vertical"},Ts=e=>{let{direction:t=ip.direction,...o}=e;return(0,Sn.jsx)("span",{...o,className:a(On,e.className,{[`${On}-${t}`]:t})})};var K=require("react/jsx-runtime"),lp=Q.states,pp=Q.defaultOptions,mp=Q.options,dp=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],cp=[],Nt=e=>{let{modifiers:t,valid:o,invalid:s,loading:n,disabled:i,readonly:d,...c}=e,C=t==null?void 0:t.prefix,g=t==null?void 0:t.suffix,L=t==null?void 0:t["clear-button"],I=t==null?void 0:t["validation-icon"],u=t==null?void 0:t.separators;return(0,K.jsxs)(Q,{...c,valid:o,invalid:s,loading:n,disabled:i,readonly:d,style:{width:300},children:[C&&(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(En,{children:(0,K.jsx)(h,{icon:"lock"})}),u&&(0,K.jsx)(Ts,{})]}),(0,K.jsx)(Me,{placeholder:"Placeholder",value:"Value"}),I&&(0,K.jsx)(Je,{valid:o,invalid:s,loading:n,disabled:i}),(0,K.jsx)(Ct,{loading:n,disabled:i}),L&&(0,K.jsx)(Xe,{loading:n,disabled:i,readonly:d,value:"Value"}),g&&(0,K.jsxs)(K.Fragment,{children:[u&&(0,K.jsx)(Ts,{}),(0,K.jsx)(yn,{children:(0,K.jsx)(qt,{size:c.size,fillMode:"clear",children:"Send"})})]})]})};Nt.options=mp;Nt.states=lp;Nt.variants=cp;Nt.defaultOptions=pp;Nt.modifiers=dp;Nt.className=Q.className;var As="searchbox",kn=As;var ke=require("react/jsx-runtime"),_n="k-searchbox",fp=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading],up={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},fo={showIcon:!0,showClearButton:!0,icon:"search"},qe=e=>{let{value:t,placeholder:o,size:s,rounded:n,fillMode:i,hover:d,focus:c,valid:C,invalid:g,required:L,loading:I,disabled:u,showIcon:O=fo.showIcon,showClearButton:k=fo.showClearButton,icon:R=fo.icon,"aria-label":_,...P}=e;return(0,ke.jsxs)(Q,{...P,size:s,rounded:n,fillMode:i,hover:d,focus:c,valid:C,invalid:g,required:L,loading:I,disabled:u,className:a(e.className,_n),children:[O&&(0,ke.jsx)(h,{className:"k-input-icon",icon:R}),(0,ke.jsx)(Me,{placeholder:o,value:t,"aria-label":_}),(0,ke.jsx)(Ct,{...e}),(0,ke.jsx)(Je,{...e}),k&&(0,ke.jsx)(Xe,{...e})]})};qe.states=fp;qe.options=up;qe.className=_n;qe.defaultOptions=fo;qe.moduleName=As;qe.folderName=kn;var hp=require("react/jsx-runtime");var xo=Qe(require("react"));var uo=Qe(require("react"));var Dn=require("react/jsx-runtime"),xp="k-treeview-group",me=e=>{let{children:t,dir:o,level:s=1,role:n="group",...i}=e;return(0,Dn.jsx)("ul",{...i,className:a(e.className,xp),role:n,children:uo.default.Children.map(t,(d,c)=>uo.default.isValidElement(d)?uo.default.cloneElement(d,{dir:o,level:s,key:c}):d)})};var Bt="treeview",ho=Bt;var ys=require("react/jsx-runtime"),Es="k-treeview",Cp=[],Np={size:[l.undefined,l.small,l.medium,l.large]},bp={},w=e=>{let{size:t,children:o,dir:s,...n}=e;return(0,ys.jsx)("div",{...n,dir:s,className:a(e.className,Es,N(Es,{size:t})),children:(0,ys.jsx)(me,{className:"k-treeview-lines",role:"tree",dir:s,children:xo.default.Children.map(o,(i,d)=>xo.default.isValidElement(i)?xo.default.cloneElement(i,{dir:s,key:d}):i)})})};w.states=Cp;w.options=Np;w.className=Es;w.defaultOptions=bp;w.moduleName=Bt;w.folderName=ho;var No=Qe(require("react"));var zt=require("react/jsx-runtime"),Os="k-treeview-leaf",gp=[r.hover,r.focus,r.selected],Lp={},Co=e=>{let{text:t,showIcon:o,icon:s,children:n,hover:i,focus:d,selected:c,...C}=e;return(0,zt.jsxs)("span",{...C,className:a(e.className,Os,E(Os,{hover:i,focus:d,selected:c})),children:[o&&(0,zt.jsx)(h,{icon:s}),t!==void 0&&(0,zt.jsx)("span",{className:"k-treeview-leaf-text",children:t}),n]})};Co.states=gp;Co.options=Lp;Co.className=Os;var Rn=Co;var Te=require("react/jsx-runtime"),Pn="k-treeview-item",Ip=[r.hover,r.focus,r.selected,r.disabled],vp={},Mp={},S=e=>{let{leafClassName:t,children:o,hasChildren:s,expanded:n,loading:i,text:d,content:c,showIcon:C,icon:g,showCheckbox:L,checked:I,hover:u,focus:O,selected:k,disabled:R,dir:_,level:P=1,ariaSelected:Ye,...Ae}=e,Ze=s||o||i;return(0,Te.jsxs)("li",{...Ae,className:a(e.className,Pn),style:{"--kendo-treeview-level":P},role:"treeitem","aria-expanded":Ze?n?"true":"false":void 0,"aria-checked":L?I?"true":"false":void 0,"aria-selected":Ye?"true":void 0,"aria-disabled":R?"true":void 0,children:[(0,Te.jsxs)("span",{className:a("k-treeview-item-content",E("k-treeview-item-content",{hover:u,focus:O,selected:k,disabled:R})),children:[Ze&&(0,Te.jsx)("span",{className:a("k-treeview-toggle",E("k-treeview-toggle",{disabled:R})),children:i?(0,Te.jsx)("span",{className:"k-icon k-i-loading"}):(0,Te.jsx)(h,{icon:n?"chevron-down":_==="rtl"?"chevron-left":"chevron-right"})}),L&&(0,Te.jsx)(U,{checked:I,disabled:R,"aria-label":d,tabIndex:-1}),(0,Te.jsx)(Rn,{className:t,text:d,showIcon:C,icon:g,children:c})]}),n&&Ze&&No.default.Children.map(o,(gt,bo)=>No.default.isValidElement(gt)?No.default.cloneElement(gt,{dir:_,level:P+1,key:bo}):gt)]})};S.states=Ip;S.options=vp;S.className=Pn;S.defaultOptions=Mp;S.moduleName=Bt;S.folderName=ho;var Tp=require("react/jsx-runtime");var Hn=require("react/jsx-runtime");var wn=require("react/jsx-runtime");var Kn=require("react/jsx-runtime");var Bn=require("react/jsx-runtime");var zn=require("react/jsx-runtime");var ne=require("react/jsx-runtime"),Ap=w.options,Ep=w.states,yp=w.defaultOptions,Op=[{name:"checkboxes",title:"Show `Checkbox`",default:!1}],Sp=[],bt=e=>{let{modifiers:t,...o}=e,s={};return Object.keys(t||{}).forEach(n=>{n==="checkboxes"&&(s.showCheckbox=t==null?void 0:t[n])}),(0,ne.jsxs)(w,{...o,children:[(0,ne.jsx)(S,{text:"Furniture",expanded:!0,...s,children:(0,ne.jsxs)(me,{children:[(0,ne.jsx)(S,{text:"Tables & Chairs",...s}),(0,ne.jsx)(S,{text:"Sofas",...s}),(0,ne.jsx)(S,{text:"Occasional Furniture",...s})]})}),(0,ne.jsxs)(S,{text:"Decor",expanded:!1,...s,children:[(0,ne.jsx)(S,{text:"Bed Linen",...s}),(0,ne.jsx)(S,{text:"Curtains & Blinds",...s}),(0,ne.jsx)(S,{text:"Carpets",...s})]})]})};bt.options=Ap;bt.states=Ep;bt.variants=Sp;bt.defaultOptions=yp;bt.modifiers=Op;bt.className=w.className;var Gn=require("react/jsx-runtime");var kp=require("react/jsx-runtime");var de=require("react/jsx-runtime"),Un=e=>(0,de.jsxs)(Le,{...e,children:[(0,de.jsx)(Ie,{children:"sales_order"}),(0,de.jsxs)(A,{className:"k-datainsights-composer-popup-field-list",role:"none",children:[(0,de.jsx)(T,{role:"presentation",tabIndex:0,rounded:"full",fillMode:"outline",text:"SalesOrderID"}),(0,de.jsx)(T,{role:"presentation",tabIndex:-1,rounded:"full",fillMode:"outline",text:"OrderDate"}),(0,de.jsx)(T,{role:"presentation",tabIndex:-1,rounded:"full",fillMode:"outline",text:"ShipDate"}),(0,de.jsx)(T,{role:"presentation",tabIndex:-1,rounded:"full",fillMode:"outline",text:"SubTotal"}),(0,de.jsx)(T,{role:"presentation",tabIndex:-1,rounded:"full",fillMode:"outline",text:"TaxAmt"})]})]}),_p=Un;
|