@progress/kendo-themes-html 14.4.1-dev.0 → 14.4.1-dev.1
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/agent-response/agent-step.js +1 -1
- package/dist/cjs/agent-response/chain-of-thought.spec.js +1 -1
- package/dist/cjs/agent-response/reasoning.spec.js +1 -1
- package/dist/cjs/agent-response/templates/chain-of-thought-expanded.js +1 -1
- package/dist/cjs/agent-response/templates/chain-of-thought-normal.js +1 -1
- package/dist/cjs/agent-response/templates/reasoning-expanded.js +1 -1
- package/dist/cjs/agent-response/templates/reasoning-normal.js +1 -1
- package/dist/cjs/agent-response/templates/tool-call-expanded.js +1 -1
- package/dist/cjs/agent-response/templates/tool-call-normal.js +1 -1
- package/dist/cjs/agent-response/thought.spec.js +1 -1
- package/dist/cjs/agent-response/tool-call.spec.js +1 -1
- package/dist/cjs/chart-wizard/templates/chart-wizard-data.js +1 -1
- package/dist/cjs/chart-wizard/templates/chart-wizard-format.js +1 -1
- package/dist/cjs/chart-wizard/templates/chart-wizard-normal.js +1 -1
- package/dist/cjs/citation/citation-popover-view.spec.js +1 -0
- package/dist/cjs/citation/citation-popover.spec.js +1 -1
- package/dist/cjs/citation/templates/citation-opened.js +1 -1
- package/dist/cjs/datepicker/datepicker.spec.js +1 -1
- package/dist/cjs/datepicker/demos/datepicker.js +1 -1
- package/dist/cjs/datepicker/templates/datepicker-adaptive.js +1 -1
- package/dist/cjs/datepicker/templates/datepicker-disabled.js +1 -1
- package/dist/cjs/datepicker/templates/datepicker-invalid.js +1 -1
- package/dist/cjs/datepicker/templates/datepicker-normal.js +1 -1
- package/dist/cjs/datepicker/templates/datepicker-popup.js +1 -1
- package/dist/cjs/filter/demos/filter.js +1 -1
- package/dist/cjs/filter/templates/filter-normal.js +1 -1
- package/dist/cjs/filter/templates/filter-preview.js +1 -1
- package/dist/cjs/form/demos/form.js +1 -1
- package/dist/cjs/form/form-field.js +1 -1
- package/dist/cjs/form/form.spec.js +1 -1
- package/dist/cjs/form/templates/form-grid-layout.js +1 -1
- package/dist/cjs/form/templates/form-horizontal.js +1 -1
- package/dist/cjs/form/templates/form-normal.js +1 -1
- package/dist/cjs/form/templates/form-with-hints.js +1 -1
- package/dist/cjs/grid/templates/grid-hierarchy.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-crop.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-normal.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-resize.js +1 -1
- package/dist/cjs/index.js +8 -8
- package/dist/cjs/pivotgrid/demos/pivotgrid.js +1 -1
- package/dist/cjs/pivotgrid/templates/pivotgrid-normal.js +1 -1
- package/dist/cjs/pivotgrid/templates/pivotgrid-with-configurator-disabled-actions.js +1 -1
- package/dist/cjs/pivotgrid/templates/pivotgrid-with-configurator-opened.js +1 -1
- package/dist/cjs/pivotgrid/templates/pivotgrid-with-configurator.js +1 -1
- package/dist/cjs/scheduler/demos/scheduler.js +1 -1
- package/dist/cjs/scheduler/scheduler-cell.spec.js +1 -1
- package/dist/cjs/scheduler/scheduler-event.spec.js +1 -1
- package/dist/cjs/scheduler/scheduler-toolbar.spec.js +1 -1
- package/dist/cjs/scheduler/templates/scheduler-agenda.js +1 -1
- package/dist/cjs/scheduler/templates/scheduler-day.js +1 -1
- package/dist/cjs/scheduler/templates/scheduler-flex-agenda.js +1 -1
- package/dist/cjs/scheduler/templates/scheduler-flex-day.js +1 -1
- package/dist/cjs/scheduler/templates/scheduler-flex-horizontal-grouping.js +1 -1
- package/dist/cjs/scheduler/templates/scheduler-flex-month.js +1 -1
- package/dist/cjs/scheduler/templates/scheduler-flex-timeline.js +1 -1
- package/dist/cjs/scheduler/templates/scheduler-flex-vertical-grouping.js +1 -1
- package/dist/cjs/scheduler/templates/scheduler-flex-week.js +1 -1
- package/dist/cjs/scheduler/templates/scheduler-flex-year.js +1 -1
- package/dist/cjs/scheduler/templates/scheduler-horizontal-grouping.js +1 -1
- package/dist/cjs/scheduler/templates/scheduler-month.js +1 -1
- package/dist/cjs/scheduler/templates/scheduler-timeline.js +1 -1
- package/dist/cjs/scheduler/templates/scheduler-vertical-grouping.js +1 -1
- package/dist/cjs/scheduler/templates/scheduler-week.js +1 -1
- package/dist/cjs/taskboard/demos/taskboard.js +1 -1
- package/dist/cjs/taskboard/taskboard.spec.js +1 -1
- package/dist/cjs/taskboard/templates/taskboard-normal.js +1 -1
- package/dist/cjs/taskboard/templates/taskboard-pane.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/agent-response/agent-step.mjs +1 -1
- package/dist/esm/agent-response/chain-of-thought.spec.mjs +1 -1
- package/dist/esm/agent-response/reasoning.spec.mjs +1 -1
- package/dist/esm/agent-response/templates/chain-of-thought-expanded.mjs +1 -1
- package/dist/esm/agent-response/templates/chain-of-thought-normal.mjs +1 -1
- package/dist/esm/agent-response/templates/reasoning-expanded.mjs +1 -1
- package/dist/esm/agent-response/templates/reasoning-normal.mjs +1 -1
- package/dist/esm/agent-response/templates/tool-call-expanded.mjs +1 -1
- package/dist/esm/agent-response/templates/tool-call-normal.mjs +1 -1
- package/dist/esm/agent-response/thought.spec.mjs +1 -1
- package/dist/esm/agent-response/tool-call.spec.mjs +1 -1
- package/dist/esm/chart-wizard/templates/chart-wizard-data.mjs +1 -1
- package/dist/esm/chart-wizard/templates/chart-wizard-format.mjs +1 -1
- package/dist/esm/chart-wizard/templates/chart-wizard-normal.mjs +1 -1
- package/dist/esm/citation/citation-popover-view.spec.mjs +1 -0
- package/dist/esm/citation/citation-popover.spec.mjs +1 -1
- package/dist/esm/citation/templates/citation-opened.mjs +1 -1
- package/dist/esm/datepicker/datepicker.spec.mjs +1 -1
- package/dist/esm/datepicker/demos/datepicker.mjs +1 -1
- package/dist/esm/datepicker/templates/datepicker-adaptive.mjs +1 -1
- package/dist/esm/datepicker/templates/datepicker-disabled.mjs +1 -1
- package/dist/esm/datepicker/templates/datepicker-invalid.mjs +1 -1
- package/dist/esm/datepicker/templates/datepicker-normal.mjs +1 -1
- package/dist/esm/datepicker/templates/datepicker-popup.mjs +1 -1
- package/dist/esm/filter/demos/filter.mjs +1 -1
- package/dist/esm/filter/templates/filter-normal.mjs +1 -1
- package/dist/esm/filter/templates/filter-preview.mjs +1 -1
- package/dist/esm/form/demos/form.mjs +1 -1
- package/dist/esm/form/form-field.mjs +1 -1
- package/dist/esm/form/form.spec.mjs +1 -1
- package/dist/esm/form/templates/form-grid-layout.mjs +1 -1
- package/dist/esm/form/templates/form-horizontal.mjs +1 -1
- package/dist/esm/form/templates/form-normal.mjs +1 -1
- package/dist/esm/form/templates/form-with-hints.mjs +1 -1
- package/dist/esm/grid/templates/grid-hierarchy.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-crop.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-normal.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-resize.mjs +1 -1
- package/dist/esm/index.mjs +8 -8
- package/dist/esm/pivotgrid/demos/pivotgrid.mjs +1 -1
- package/dist/esm/pivotgrid/templates/pivotgrid-normal.mjs +1 -1
- package/dist/esm/pivotgrid/templates/pivotgrid-with-configurator-disabled-actions.mjs +1 -1
- package/dist/esm/pivotgrid/templates/pivotgrid-with-configurator-opened.mjs +1 -1
- package/dist/esm/pivotgrid/templates/pivotgrid-with-configurator.mjs +1 -1
- package/dist/esm/scheduler/demos/scheduler.mjs +1 -1
- package/dist/esm/scheduler/scheduler-cell.spec.mjs +1 -1
- package/dist/esm/scheduler/scheduler-event.spec.mjs +1 -1
- package/dist/esm/scheduler/scheduler-toolbar.spec.mjs +1 -1
- package/dist/esm/scheduler/templates/scheduler-agenda.mjs +1 -1
- package/dist/esm/scheduler/templates/scheduler-day.mjs +1 -1
- package/dist/esm/scheduler/templates/scheduler-flex-agenda.mjs +1 -1
- package/dist/esm/scheduler/templates/scheduler-flex-day.mjs +1 -1
- package/dist/esm/scheduler/templates/scheduler-flex-horizontal-grouping.mjs +1 -1
- package/dist/esm/scheduler/templates/scheduler-flex-month.mjs +1 -1
- package/dist/esm/scheduler/templates/scheduler-flex-timeline.mjs +1 -1
- package/dist/esm/scheduler/templates/scheduler-flex-vertical-grouping.mjs +1 -1
- package/dist/esm/scheduler/templates/scheduler-flex-week.mjs +1 -1
- package/dist/esm/scheduler/templates/scheduler-flex-year.mjs +1 -1
- package/dist/esm/scheduler/templates/scheduler-horizontal-grouping.mjs +1 -1
- package/dist/esm/scheduler/templates/scheduler-month.mjs +1 -1
- package/dist/esm/scheduler/templates/scheduler-timeline.mjs +1 -1
- package/dist/esm/scheduler/templates/scheduler-vertical-grouping.mjs +1 -1
- package/dist/esm/scheduler/templates/scheduler-week.mjs +1 -1
- package/dist/esm/taskboard/demos/taskboard.mjs +1 -1
- package/dist/esm/taskboard/taskboard.spec.mjs +1 -1
- package/dist/esm/taskboard/templates/taskboard-normal.mjs +1 -1
- package/dist/esm/taskboard/templates/taskboard-pane.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/agent-response/agent-step.d.ts +0 -2
- package/dist/types/agent-response/thought.spec.d.ts +0 -2
- package/dist/types/citation/citation-popover-view.spec.d.ts +18 -0
- package/dist/types/citation/citation-popover.spec.d.ts +0 -1
- package/dist/types/citation/index.d.ts +1 -0
- package/dist/types/datepicker/datepicker.spec.d.ts +1 -0
- package/dist/types/form/form-field.d.ts +1 -1
- package/dist/types/scheduler/scheduler-cell.spec.d.ts +1 -0
- package/dist/types/scheduler/scheduler-event.spec.d.ts +9 -3
- package/dist/types/scheduler/scheduler.spec.d.ts +19 -2
- package/dist/types/timepicker/timepicker.spec.d.ts +1 -0
- package/package.json +1 -1
- package/src/agent-response/agent-step.tsx +1 -9
- package/src/agent-response/templates/chain-of-thought-expanded.tsx +1 -1
- package/src/agent-response/templates/chain-of-thought-normal.tsx +1 -1
- package/src/agent-response/templates/reasoning-expanded.tsx +1 -1
- package/src/agent-response/templates/reasoning-normal.tsx +1 -1
- package/src/agent-response/templates/tool-call-expanded.tsx +1 -1
- package/src/agent-response/templates/tool-call-normal.tsx +1 -1
- package/src/agent-response/tests/chain-of-thought.tsx +3 -3
- package/src/agent-response/tests/reasoning.tsx +2 -2
- package/src/agent-response/tests/tool-call.tsx +19 -35
- package/src/agent-response/thought.spec.tsx +1 -9
- package/src/citation/citation-popover-view.spec.tsx +54 -0
- package/src/citation/citation-popover.spec.tsx +5 -7
- package/src/citation/index.ts +1 -0
- package/src/citation/templates/citation-opened.tsx +3 -6
- package/src/citation/tests/citation.tsx +19 -19
- package/src/datepicker/datepicker.spec.tsx +5 -2
- package/src/form/form-field.tsx +1 -1
- package/src/form/form.spec.tsx +4 -2
- package/src/grid/templates/grid-hierarchy.tsx +1 -1
- package/src/scheduler/scheduler-cell.spec.tsx +13 -6
- package/src/scheduler/scheduler-event.spec.tsx +108 -88
- package/src/scheduler/scheduler-toolbar.spec.tsx +7 -8
- package/src/scheduler/scheduler.spec.tsx +19 -2
- package/src/scheduler/templates/scheduler-agenda.tsx +9 -7
- package/src/scheduler/templates/scheduler-day.tsx +3 -6
- package/src/scheduler/templates/scheduler-flex-agenda.tsx +8 -6
- package/src/scheduler/templates/scheduler-flex-day.tsx +10 -11
- package/src/scheduler/templates/scheduler-flex-horizontal-grouping.tsx +6 -12
- package/src/scheduler/templates/scheduler-flex-month.tsx +13 -35
- package/src/scheduler/templates/scheduler-flex-timeline.tsx +8 -6
- package/src/scheduler/templates/scheduler-flex-vertical-grouping.tsx +4 -10
- package/src/scheduler/templates/scheduler-flex-week.tsx +15 -13
- package/src/scheduler/templates/scheduler-flex-year.tsx +9 -5
- package/src/scheduler/templates/scheduler-horizontal-grouping.tsx +5 -11
- package/src/scheduler/templates/scheduler-month.tsx +14 -35
- package/src/scheduler/templates/scheduler-timeline.tsx +9 -7
- package/src/scheduler/templates/scheduler-vertical-grouping.tsx +2 -2
- package/src/scheduler/templates/scheduler-week.tsx +19 -26
- package/src/scheduler/tests/scheduler-adaptive-agenda.tsx +17 -12
- package/src/scheduler/tests/scheduler-adaptive-day-resource-group.tsx +18 -27
- package/src/scheduler/tests/scheduler-adaptive-day.tsx +18 -27
- package/src/scheduler/tests/scheduler-adaptive-edit-no-height.tsx +9 -3
- package/src/scheduler/tests/scheduler-adaptive-edit-time-zones.tsx +10 -4
- package/src/scheduler/tests/scheduler-adaptive-edit.tsx +9 -3
- package/src/scheduler/tests/scheduler-adaptive-month.tsx +21 -28
- package/src/scheduler/tests/scheduler-agenda-view.tsx +7 -0
- package/src/scheduler/tests/scheduler-current-time-marker.tsx +28 -34
- package/src/scheduler/tests/scheduler-day-view.tsx +7 -0
- package/src/scheduler/tests/scheduler-edit-event-dialog.tsx +144 -0
- package/src/scheduler/tests/scheduler-events-popover.tsx +122 -0
- package/src/scheduler/tests/scheduler-events-responsive.tsx +71 -0
- package/src/scheduler/tests/scheduler-events.tsx +503 -508
- package/src/scheduler/tests/scheduler-month-view.tsx +7 -0
- package/src/scheduler/tests/scheduler-new-event-dialog.tsx +191 -0
- package/src/scheduler/tests/scheduler-quick-actions-popover.tsx +114 -0
- package/src/scheduler/tests/scheduler-react-timeline-multi.tsx +568 -673
- package/src/scheduler/tests/scheduler-recurrence-dialog.tsx +437 -0
- package/src/scheduler/tests/scheduler-timeline-view.tsx +7 -0
- package/src/scheduler/tests/scheduler-toolbar-responsive.tsx +226 -0
- package/src/scheduler/tests/scheduler-week-view.tsx +7 -0
- package/src/scheduler/tests/scheduler-year-view.tsx +3 -0
- package/src/timepicker/timepicker.spec.tsx +5 -2
- package/src/scheduler/tests/scheduler-edit-dialog.tsx +0 -103
- package/src/scheduler/tests/scheduler-editing-weekly.tsx +0 -128
- package/src/scheduler/tests/scheduler-tooltip.tsx +0 -82
|
@@ -1 +1 @@
|
|
|
1
|
-
var a=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?a(...t):typeof t=="object"?Object.keys(t).map((o,n)=>t[n]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var A=(e,t)=>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"}),g=(e,t)=>{let{valid:o,invalid:n,hover:i,focus:r,checked:d,active:p,selected:m,disabled:u,indeterminate:f,loading:x,empty:I,readonly:M,highlighted:P,...y}=t;return a({"k-valid":o,"k-invalid":n,"k-hover":i,"k-focus":r,"k-checked":d,"k-active":p,"k-selected":m,"k-disabled":u,"k-indeterminate":f&&!d,"k-loading":x,"k-empty":I,"k-readonly":M,"k-highlighted":P},Object.keys(y).reduce((S,O)=>(O.startsWith("k-")?S[O]=y[O]:S[`k-${O}`]=y[O],S),{}))};function To(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(n=>[`k-${n}`,!0]))}var l={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},c={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},h={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},ee={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},b={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},s={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var Rt={};function N(e){return Rt[e]=(Rt[e]||0)+1,`k-${e}-${Rt[e]}`}var Ro="form",Ko="forms";import{Fragment as _o,jsx as ct,jsxs as sn}from"react/jsx-runtime";var ut="k-form",nn=[],an={size:[l.undefined,l.small,l.medium,l.large]},Kt={layout:"basic",tag:"form"},V=e=>{let{size:t,orientation:o,layout:n=Kt.layout,formButtons:i,cols:r,gutters:d,tag:p=Kt.tag,children:m}=e,u=p,f=a(e.className,ut,A(ut,{size:t}),{[`${ut}-${o}`]:o}),x=sn(_o,{children:[n==="grid"?ct("div",{className:a("k-form-layout","k-d-grid",{[`k-grid-cols-${r}`]:r}),style:{...typeof d=="string"&&{gap:d},...typeof d=="object"&&d.rows&&{rowGap:d.rows},...typeof d=="object"&&d.cols&&{columnGap:d.cols}},children:m}):ct(_o,{children:m}),i&&ct("div",{className:"k-form-buttons",children:i})]}),{role:I,"aria-labelledby":M,"aria-label":P,id:y}=e;return ct(u,{className:f,role:I,"aria-labelledby":M,"aria-label":P,id:y,children:x})};V.states=nn;V.options=an;V.className=ut;V.defaultOptions=Kt;V.moduleName=Ro;V.folderName=Ko;import{Fragment as rn,jsx as _t,jsxs as ln}from"react/jsx-runtime";var Ho="k-form-fieldset",Ht=e=>{let{legend:t,layout:o,cols:n,gutters:i,colSpan:r}=e;return ln("fieldset",{className:a(Ho,{[`k-col-span-${r}`]:r}),children:[t&&_t("legend",{className:"k-form-legend",children:t}),o==="grid"?_t("div",{className:a("k-form-layout","k-d-grid",{[`k-grid-cols-${n}`]:n}),style:{...typeof i=="string"&&{gap:i},...typeof i=="object"&&i.rows&&{rowGap:i.rows},...typeof i=="object"&&i.cols&&{columnGap:i.cols}},children:e.children}):_t(rn,{children:e.children})]})};Ht.className=Ho;var Po="label",Do="label";import{jsx as wo,jsxs as cn}from"react/jsx-runtime";var Pt="k-label",dn=[s.disabled],pn={},mn={},pe=e=>{let{disabled:t,optional:o,info:n,text:i,children:r,...d}=e;return cn("label",{...d,className:a(e.className,Pt,g(Pt,{disabled:t})),children:[i||r,o&&wo("span",{className:"k-label-optional",children:"(Optional)"}),n&&wo("span",{className:"k-field-info",children:n})]})};pe.states=dn;pe.options=pn;pe.className=Pt;pe.defaultOptions=mn;pe.moduleName=Po;pe.folderName=Do;import{jsx as xn}from"react/jsx-runtime";var Bo="k-form-hint",un=[],fn={},bn={},Ce=e=>{let{text:t,children:o,...n}=e;return xn("div",{...n,className:a(e.className,Bo),children:t||o})};Ce.states=un;Ce.options=fn;Ce.className=Bo;Ce.defaultOptions=bn;import{jsx as In}from"react/jsx-runtime";var zo="k-form-error",Ln=[],hn={},Nn={},Ee=e=>{let{text:t,children:o,...n}=e;return In("div",{...n,className:a(e.className,zo),children:t||o})};Ee.states=Ln;Ee.options=hn;Ee.className=zo;Ee.defaultOptions=Nn;import{jsx as ft,jsxs as Fo}from"react/jsx-runtime";var Dt="k-form-field",vn=[s.disabled],Me=e=>{let{editorId:t,label:o,orientation:n,optional:i,editor:r,hint:d,error:p,info:m,disabled:u,dir:f,colSpan:x,...I}=e;return Fo("div",{...I,className:a(Dt,e.className,g(Dt,{disabled:u}),{[`k-col-span-${x}`]:x}),dir:f,children:[o&&ft(pe,{className:"k-form-label",id:t?`${t}-label`:void 0,htmlFor:t||void 0,optional:i,info:m?"(field info)":void 0,children:o}),n==="horizontal"&&!o&&ft("span",{className:"k-label k-form-label k-label-empty"}),Fo("div",{className:"k-form-field-wrap",children:[r,d&&ft(Ce,{id:t?`${t}-hint`:void 0,children:d}),p&&ft(Ee,{id:t?`${t}-error`:void 0,children:p})]})]})};Me.states=vn;Me.className=Dt;import{Fragment as Cn,jsx as Uo}from"react/jsx-runtime";var wt="k-font-icon",An=[],Sn={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[b.undefined,b.base,b.primary,b.secondary,b.tertiary,b.success,b.warning,b.error,b.info]},gn={},tt=e=>{let{size:t,themeColor:o,icon:n,rotate:i,flip:r,...d}=e;return n?Uo("span",{...d,className:a(e.className,wt,A(wt,{size:t}),{[`k-i-${n}`]:n,[`k-color-${o}`]:o,[`k-rotate-${i}`]:i,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),"aria-hidden":"true"}):Uo(Cn,{})};tt.states=An;tt.options=Sn;tt.className=wt;tt.defaultOptions=gn;var Go=tt;import{Fragment as On,jsx as bt}from"react/jsx-runtime";var Bt="k-svg-icon",En=[],Mn={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[b.undefined,b.base,b.primary,b.secondary,b.tertiary,b.success,b.warning,b.error,b.info],variant:[ee.outline,ee.solid,ee.duotone]},zt={viewBox:"0 0 24 24",variant:ee.outline},ot=e=>{let{size:t,themeColor:o,rotate:n,flip:i,viewBox:r=zt.viewBox,variant:d=zt.variant,icon:p,...m}=e;if(!p)return bt(On,{});if(p==="none")return bt("span",{...m,className:a(e.className,Bt,A("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let u=typeof p=="object"&&p.name&&p.name,f=typeof p=="object"?d&&p.variants?.[d]||p.variants?.outline||p.content:void 0;return bt("span",{...m,className:a(e.className,Bt,A("k-icon",{size:t}),{[`k-svg-i-${u}`]:u,[`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",children:bt("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof p=="object"?p.viewBox:r,dangerouslySetInnerHTML:f!==void 0?{__html:f}:void 0,children:p?void 0:e.children})})};ot.states=En;ot.options=Mn;ot.className=Bt;ot.defaultOptions=zt;var Ft=ot;import*as Ut from"@progress/kendo-svg-icons";var Vo="icon",$o="icons";import{useContext as kn}from"react";import{createContext as yn}from"react";var Xo=yn({iconsType:"svg"});import{Fragment as Wo,jsx as it}from"react/jsx-runtime";var xt="k-icon",Tn=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Rn=[],Kn={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[b.undefined,b.base,b.primary,b.secondary,b.tertiary,b.success,b.warning,b.error,b.info],variant:[ee.outline,ee.solid,ee.duotone]},Lt={viewBox:"0 0 24 24",type:"svg",variant:ee.outline},v=e=>{let{iconsType:t}=kn(Xo),{size:o,themeColor:n,icon:i,type:r=t||Lt.type,rotate:d,flip:p,viewBox:m=Lt.viewBox,variant:u=Lt.variant,...f}=e;if(!i)return it(Wo,{});if((t||r)==="svg"){if(i==="none")return it(Ft,{...f,className:a(e.className,xt),icon:i,size:o,variant:u});let I=Ut[i]?i:Tn(`${i}-icon`);return Ut[I]?it(Ft,{...f,className:a(e.className,xt),icon:Ut[I],size:o,themeColor:n,rotate:d,flip:p,viewBox:m,variant:u}):it(Wo,{})}return it(Go,{...f,className:a(e.className,xt),icon:i,size:o,themeColor:n,rotate:d,flip:p})};v.states=Rn;v.options=Kn;v.defaultOptions=Lt;v.className=xt;v.moduleName=Vo;v.folderName=$o;var Gt="button",qo=Gt;import{Fragment as Jo,jsx as Oe,jsxs as Yo}from"react/jsx-runtime";var nt="k-button",_n=["icon-button"],Hn=[s.hover,s.focus,s.active,s.selected,s.disabled,s.generating],Pn={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[b.undefined,b.base,b.primary,b.secondary,b.tertiary,b.success,b.warning,b.error,b.info,b.inverse]},Vt={showArrow:!1,arrowIconName:"chevron-down"},L=e=>{let{as:t="button",size:o,rounded:n,fillMode:i,themeColor:r,showArrow:d=Vt.showArrow,arrowIconName:p=Vt.arrowIconName,variant:m,hover:u,focus:f,active:x,selected:I,disabled:M,togglable:P,ariaDisabled:y,icon:S,iconSize:O,text:G,iconClassName:de,className:ne,...Qe}=e,Ze=S!=null,je=e.children!==void 0;return Yo(t,{className:a(ne,nt,To(nt,m),A(nt,{size:o,rounded:n,fillMode:i,themeColor:r}),g(nt,{hover:u,focus:f,active:x,disabled:M||y,selected:I}),{"k-icon-button":!G&&!je&&Ze}),"aria-pressed":P?I?"true":"false":void 0,...Qe,"aria-disabled":y?"true":void 0,disabled:M||void 0,children:[typeof S=="string"&&S&&Oe(v,{className:a(de,"k-button-icon"),icon:S,size:O}),S&&typeof S!="string"&&Oe(Jo,{children:S}),G?Yo(Jo,{children:[G&&Oe("span",{className:"k-button-text",children:G}),e.children]}):e.children&&Oe("span",{className:"k-button-text",children:e.children}),d&&Oe("span",{className:"k-menu-button-arrow k-button-arrow",children:Oe(v,{icon:p})})]})};L.states=Hn;L.options=Pn;L.variants=_n;L.className=nt;L.defaultOptions=Vt;L.moduleName=Gt;L.folderName=qo;import{jsx as Dn}from"react/jsx-runtime";var Qo=e=>Dn(L,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as wn}from"react/jsx-runtime";var Zo=e=>wn(L,{icon:"folder",children:"Button",...e});import{jsx as Bn}from"react/jsx-runtime";var Ne=e=>Bn(L,{children:"Button",...e});import{jsx as $t}from"react/jsx-runtime";var zn=L.options,Fn=L.states,Un={...L.defaultOptions,variant:"text"},Gn=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Vn=[],ye=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return $t(Qo,{...o,icon:"star"});case"icon-and-text":return $t(Zo,{...o,icon:"star",children:"Button"});default:return $t(Ne,{...o,children:"Button"})}};ye.options=zn;ye.states=Fn;ye.variants=Gn;ye.defaultOptions=Un;ye.modifiers=Vn;ye.className=L.className;var at="input",ht=at;import{jsx as qn}from"react/jsx-runtime";var Nt="k-input",$n=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Xn={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Wn={},T=e=>{let{hover:t,focus:o,disabled:n,invalid:i,valid:r,loading:d,readonly:p,size:m,rounded:u,fillMode:f,...x}=e;return qn("span",{...x,className:a(e.className,Nt,A(Nt,{size:m,rounded:u,fillMode:f}),g(Nt,{hover:t,focus:o,disabled:n,invalid:i,valid:r,loading:d,readonly:p}))})};T.states=$n;T.options=Xn;T.className=Nt;T.defaultOptions=Wn;T.moduleName=at;T.folderName=ht;import{jsx as Zn}from"react/jsx-runtime";var It="k-picker",Jn=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Yn={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Qn={},me=e=>{let{hover:t,focus:o,disabled:n,invalid:i,valid:r,loading:d,readonly:p,size:m,rounded:u,fillMode:f,...x}=e;return Zn("span",{...x,className:a(e.className,It,A(It,{size:m,rounded:u,fillMode:f}),g(It,{hover:t,focus:o,disabled:n,invalid:i,valid:r,loading:d,readonly:p})),children:e.children})};me.states=Jn;me.options=Yn;me.className=It;me.defaultOptions=Qn;me.moduleName=at;me.folderName=ht;import{Fragment as ta,jsx as Xt}from"react/jsx-runtime";var jo="k-clear-value",jn=[s.disabled,s.loading,s.readonly],ea={},ae=e=>{let{disabled:t,loading:o,readonly:n,value:i}=e;return t||n||o||!i?Xt(ta,{}):Xt("span",{className:a(e.className,jo),children:Xt(v,{icon:"x"})})};ae.states=jn;ae.options=ea;ae.className=jo;import{jsx as na}from"react/jsx-runtime";var Wt="k-input-inner",oa=[],ia={},vt={type:"text",autocomplete:"off",value:"",placeholder:""},se=e=>{let{value:t=vt.value,type:o=vt.type,placeholder:n=vt.placeholder,autocomplete:i=vt.autocomplete,disabled:r,readOnly:d,...p}=e;return na("input",{...p,type:o,className:a(e.className,Wt,A(Wt,e)),placeholder:n,autoComplete:i,defaultValue:t,disabled:r||void 0,readOnly:d||void 0})};se.states=oa;se.options=ia;se.className=Wt;import{jsx as ei,jsxs as ra}from"react/jsx-runtime";var qt="k-input-inner",aa=[],sa={},st=e=>{let{value:t,placeholder:o,showValue:n,valueIcon:i,valueIconName:r,...d}=e;return ra("span",{...d,className:a(e.className,qt,A(qt,e)),children:[i,!i&&r&&ei(v,{className:"k-input-value-icon",icon:r}),n&&!t&&o,n&&t&&ei("span",{className:"k-input-value-text",children:t})]})};st.states=aa;st.options=sa;st.className=qt;import{jsx as pa}from"react/jsx-runtime";var Jt="k-input-inner",la=[],da={},ti={value:"",placeholder:""},Yt=e=>{let{value:t=ti.value,placeholder:o=ti.placeholder,rows:n,disabled:i,...r}=e;return pa("textarea",{...r,className:a(e.className,Jt,A(Jt,e)),placeholder:o,rows:n,defaultValue:t,disabled:i||void 0})};Yt.states=la;Yt.options=da;Yt.className=Jt;import{Fragment as ca,jsx as oi}from"react/jsx-runtime";var ii="k-input-loading-icon",ma=[s.disabled,s.loading],te=e=>{let{disabled:t,loading:o}=e;return t||!o?oi(ca,{}):oi("span",{className:a(e.className,ii,"k-icon k-i-loading")})};te.states=ma;te.className=ii;import{Fragment as ba,jsx as ni}from"react/jsx-runtime";var ai="k-input-validation-icon",ua=[s.valid,s.invalid,s.disabled,s.loading],fa={},Y=e=>{let{valid:t,invalid:o,disabled:n,loading:i}=e,r=o?"warning-circle":"check-circle";return n||i||!!!(t||o)?ni(ba,{}):ni(v,{className:a(ai),icon:r})};Y.states=ua;Y.options=fa;Y.className=ai;import{Fragment as ha,jsx as si}from"react/jsx-runtime";var xa="k-input-prefix",La={direction:"horizontal"},ke=e=>{let{direction:t=La.direction,...o}=e;return e.children?si("span",{...o,className:a(xa,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):si(ha,{})};import{Fragment as va,jsx as ri}from"react/jsx-runtime";var Na="k-input-suffix",Ia={direction:"horizontal"},Te=e=>{let{direction:t=Ia.direction,...o}=e;return e.children?ri("span",{...o,className:a(Na,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):ri(va,{})};import{jsx as xp}from"react/jsx-runtime";import{jsx as Ip}from"react/jsx-runtime";import{jsx as Sa}from"react/jsx-runtime";var li="k-input-separator",Aa={direction:"vertical"},Re=e=>{let{direction:t=Aa.direction,...o}=e;return Sa("span",{...o,className:a(li,e.className,{[`${li}-${t}`]:t})})};import{Fragment as di,jsx as oe,jsxs as Qt}from"react/jsx-runtime";var ga=T.states,Ca=T.defaultOptions,Ea=T.options,Ma=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Oa=[],Ke=e=>{let{modifiers:t,valid:o,invalid:n,loading:i,disabled:r,readonly:d,...p}=e,m=t?.prefix,u=t?.suffix,f=t?.["clear-button"],x=t?.["validation-icon"],I=t?.separators;return Qt(T,{...p,valid:o,invalid:n,loading:i,disabled:r,readonly:d,style:{width:300},children:[m&&Qt(di,{children:[oe(ke,{children:oe(v,{icon:"lock"})}),I&&oe(Re,{})]}),oe(se,{placeholder:"Placeholder",value:"Value"}),x&&oe(Y,{valid:o,invalid:n,loading:i,disabled:r}),oe(te,{loading:i,disabled:r}),f&&oe(ae,{loading:i,disabled:r,readonly:d,value:"Value"}),u&&Qt(di,{children:[I&&oe(Re,{}),oe(Te,{children:oe(Ne,{size:p.size,fillMode:"clear",children:"Send"})})]})]})};Ke.options=Ea;Ke.states=ga;Ke.variants=Oa;Ke.defaultOptions=Ca;Ke.modifiers=Ma;Ke.className=T.className;var Zt="popup",pi=Zt;import{jsx as mi}from"react/jsx-runtime";var ci="k-animation-container",ya=[],ka={},jt={positionMode:"absolute",shown:!0},ie=e=>{let{positionMode:t=jt.positionMode,shown:o=jt.shown,animationStyle:n,offset:i,...r}=e;return mi("div",{...r,style:{...i,...e.style},className:a(e.className,ci,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:mi("div",{className:"k-child-animation-container",style:n,children:e.children})})};ie.states=ya;ie.options=ka;ie.className=ci;ie.defaultOptions=jt;ie.moduleName=Zt;ie.folderName=pi;var eo="popup",ui=eo;import{jsx as fi}from"react/jsx-runtime";var bi="k-popup",Ta=[],Ra={},xi={positionMode:"absolute"},ce=e=>{let{offset:t,positionMode:o=xi.positionMode,animationStyle:n,containerClassName:i,containerRole:r,containerAriaLabel:d,...p}=e;return fi(ie,{positionMode:o,offset:t,animationStyle:n,className:i,role:r,"aria-label":d,children:fi("div",{...p,className:a(e.className,bi),children:e.children})})};ce.states=Ta;ce.options=Ra;ce.className=bi;ce.defaultOptions=xi;ce.moduleName=eo;ce.folderName=ui;var to="action-buttons",Li=to;import{jsx as Ha}from"react/jsx-runtime";var At="k-actions",Ka=[],_a={},oo={alignment:"start",orientation:"horizontal"},ue=e=>{let{alignment:t=oo.alignment,orientation:o=oo.orientation,...n}=e;return Ha("div",{...n,className:a(At,{[`${At}-${t}`]:t,[`${At}-${o}`]:o},e.className),children:e.children})};ue.states=Ka;ue.options=_a;ue.className=At;ue.defaultOptions=oo;ue.moduleName=to;ue.folderName=Li;import{jsx as Da}from"react/jsx-runtime";var Pa="k-actionsheet-footer",hi={alignment:"stretched",orientation:"horizontal"},_e=e=>{let{alignment:t=hi.alignment,orientation:o=hi.orientation,template:n,as:i=n?"div":ue,...r}=e;return Da(i,{...r,...!n&&{alignment:t,orientation:o},className:a(e.className,Pa),children:e.children})};var io="searchbox",Ni=io;import{jsx as rt,jsxs as za}from"react/jsx-runtime";var Ii="k-searchbox",wa=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading],Ba={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},no={showIcon:!0,icon:"search"},X=e=>{let{value:t,placeholder:o,size:n,rounded:i,fillMode:r,hover:d,focus:p,valid:m,invalid:u,required:f,loading:x,disabled:I,showIcon:M=no.showIcon,icon:P=no.icon,"aria-label":y,...S}=e;return za(T,{...S,size:n,rounded:i,fillMode:r,hover:d,focus:p,valid:m,invalid:u,required:f,loading:x,disabled:I,className:a(e.className,Ii),children:[M&&rt(v,{className:"k-input-icon",icon:P}),rt(se,{placeholder:o,value:t,"aria-label":y}),rt(te,{...e}),rt(Y,{...e}),rt(ae,{...e})]})};X.states=wa;X.options=Ba;X.className=Ii;X.defaultOptions=no;X.moduleName=io;X.folderName=Ni;import{jsx as Pm}from"react/jsx-runtime";var ao="textbox",vi=ao;import{Fragment as Ai,jsx as fe,jsxs as so}from"react/jsx-runtime";var Si="k-textbox",Fa=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Ua={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},St={showClearButton:!0,showValidationIcon:!0,separators:!0},R=e=>{let{size:t,rounded:o,fillMode:n,separators:i=St.separators,showClearButton:r=St.showClearButton,showValidationIcon:d=St.showValidationIcon,prefix:p,suffix:m,type:u,value:f,placeholder:x,hover:I,focus:M,valid:P,invalid:y,required:S,loading:O,disabled:G,readonly:de,id:ne,"aria-label":Qe,"aria-describedby":Ze,...je}=e;return so(T,{...je,size:t,rounded:o,fillMode:n,hover:I,focus:M,valid:P,invalid:y,required:S,loading:O,disabled:G,readonly:de,className:a(e.className,Si),children:[p&&so(Ai,{children:[fe(ke,{children:p}),i&&fe(Re,{})]}),fe(se,{id:ne,placeholder:x,value:f,type:u,disabled:G,"aria-label":Qe,"aria-describedby":Ze,"aria-invalid":y?"true":void 0}),d&&fe(Y,{valid:P,invalid:y,loading:O,disabled:G}),fe(te,{loading:O,disabled:G}),r&&fe(ae,{loading:O,disabled:G,readonly:de,value:f}),m&&so(Ai,{children:[i&&fe(Re,{}),fe(Te,{children:m})]})]})};R.states=Fa;R.options=Ua;R.className=Si;R.defaultOptions=St;R.moduleName=ao;R.folderName=vi;var lt=R;import{jsx as Ga}from"react/jsx-runtime";var gi=e=>Ga(lt,{...e});import{Fragment as ec,jsx as jm}from"react/jsx-runtime";import{Fragment as sc,jsx as ac}from"react/jsx-runtime";import{jsx as pc}from"react/jsx-runtime";import{jsx as ro}from"react/jsx-runtime";var Va=R.states,$a=R.defaultOptions,Xa=R.options,Wa=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],qa=[],He=e=>{let{modifiers:t,...o}=e,n={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":n.prefix=t?.[i]?ro(v,{icon:"lock"}):void 0;break;case"suffix":n.suffix=t?.[i]?ro(Ne,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":n.showClearButton=t?.[i];break;default:break}}),ro(gi,{value:"Value",style:{width:300},...o,...n})};He.options=Xa;He.states=Va;He.variants=qa;He.defaultOptions=$a;He.modifiers=Wa;He.className=R.className;import{jsx as be,jsxs as lo}from"react/jsx-runtime";var Ci="k-actionsheet-titlebar",Ja={},Q=e=>{let{title:t,subtitle:o,actionsStart:n,actionsEnd:i,filter:r,input:d,inputValue:p,inputPlaceholder:m,adaptive:u,titleId:f,children:x,...I}=e;return lo("div",{...I,className:a(e.className,Ci),children:[lo("div",{className:"k-actionsheet-titlebar-group",children:[n&&be("div",{className:"k-actionsheet-actions",children:n}),!x&&lo("div",{className:"k-actionsheet-title",id:f,children:[t&&be("div",{className:"k-text-center",children:t}),o&&be("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),x&&be("div",{className:"k-actionsheet-title",id:f,children:x}),i&&be("div",{className:"k-actionsheet-actions",children:i})]}),(d||r)&&be("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?be(R,{value:p,placeholder:m,size:u?"large":"medium","aria-label":t||m||"Input"}):be(X,{placeholder:"Filter",size:u?"large":"medium","aria-label":"Filter options"})})]})};Q.className=Ci;Q.defaultOptions=Ja;import{jsx as po,jsxs as ja}from"react/jsx-runtime";var mo="k-actionsheet-view",Ya=[],Qa={},Za={},Pe=e=>{let{adaptive:t,animated:o,children:n,header:i,footer:r,titleId:d,...p}=e,m=i?.type===Q&&po(Q,{adaptive:t,titleId:d,...i?.props}),u=r?.type===_e&&po(_e,{...r?.props});return ja("div",{...p,className:a(e.className,mo,{[`${mo}-animated`]:o}),children:[m,po("div",{className:"k-actionsheet-content",children:n}),u]})};Pe.states=Ya;Pe.options=Qa;Pe.className=mo;Pe.defaultOptions=Za;var dt="action-sheet",gt=dt;var co="overlay",Ei=co;import{jsx as is}from"react/jsx-runtime";var Mi="k-overlay",es=[],ts={},os={},xe=e=>{let{...t}=e;return is("div",{...t,className:a(e.className,Mi),children:e.children})};xe.states=es;xe.options=ts;xe.className=Mi;xe.defaultOptions=os;xe.moduleName=co;xe.folderName=Ei;import{jsx as Ct,jsxs as ss}from"react/jsx-runtime";var Oi="k-actionsheet",ns=[],as={},pt={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},K=e=>{let{side:t=pt.side,fullscreen:o=pt.fullscreen,adaptive:n=pt.adaptive,overlay:i=pt.overlay,template:r,children:d,header:p,footer:m,id:u,...f}=e,x=u&&!r&&p?`${u}-title`:void 0;return ss("div",{className:"k-actionsheet-container",children:[i&&Ct(xe,{}),Ct(ie,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:Ct("div",{...f,id:u,role:"dialog","aria-modal":i?"true":void 0,"aria-labelledby":x,className:a(e.className,Oi,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":n}),children:r||Ct(Pe,{header:p,footer:m,adaptive:n,titleId:x,...e,children:d})})})]})};K.states=ns;K.options=as;K.className=Oi;K.defaultOptions=pt;K.moduleName=dt;K.folderName=gt;import{jsx as ps}from"react/jsx-runtime";var yi="k-actionsheet-container",rs=[],ls={},ds={},De=e=>{let{children:t,...o}=e;return ps("div",{...o,className:yi,children:t})};De.states=rs;De.options=ls;De.className=yi;De.defaultOptions=ds;De.moduleName=dt;De.folderName=gt;import{jsx as ms}from"react/jsx-runtime";var uo=e=>{let{...t}=e;return ms("div",{...t,className:a(e.className,"k-list-ul"),children:e.children})};import{Fragment as us,jsx as mt,jsxs as fo}from"react/jsx-runtime";var bo="k-actionsheet-item",cs=[s.hover,s.focus,s.selected,s.disabled],Le=e=>{let{iconName:t,text:o,description:n,hover:i,focus:r,selected:d,disabled:p,...m}=e;return fo("span",{...m,className:a(e.className,bo,g(bo,{hover:i,focus:r,selected:d,disabled:p})),children:[!e.children&&mt(us,{children:fo("span",{className:"k-actionsheet-action",children:[t&&mt("span",{className:"k-icon-wrap",children:mt(v,{className:"k-actionsheet-item-icon",icon:t})}),fo("span",{className:"k-actionsheet-item-text",children:[o&&mt("span",{className:"k-actionsheet-item-title",children:o}),n&&mt("span",{className:"k-actionsheet-item-description",children:n})]})]})}),e.children]})};Le.states=cs;Le.className=bo;import{jsx as du,jsxs as pu}from"react/jsx-runtime";import{jsx as fu}from"react/jsx-runtime";import{jsx as hu}from"react/jsx-runtime";import{jsx as Au}from"react/jsx-runtime";import{jsx as k,jsxs as xo}from"react/jsx-runtime";var fs=K.options,bs=K.states,Ti={...K.defaultOptions,variant:"normal"},xs=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Ls=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],we=e=>{let{variant:t,modifiers:o,...n}={...Ti,...e},i={},r=xo(uo,{children:[k(Le,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),k(Le,{text:"Add to Favorites",iconName:"heart"}),k(Le,{text:"Upload New",iconName:"upload",disabled:!0}),k("hr",{className:"k-hr"}),k(Le,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",p="Select Item";return t==="fullScreen"&&(i.fullScreen=!0),Object.keys(o||{}).forEach(m=>{switch(m){case"actions":i.actionsStart=!!o?.[m],i.actionsEnd=!!o?.[m];break;case"subtitle":i.subtitle=o?.[m]?d:void 0;break;case"footer":i.footer=!!o?.[m];break;default:break}}),t==="adaptive"?k(K,{...n,adaptive:!0,fullscreen:i.fullScreen,header:k(Q,{actionsStart:i.actionsStart?k(L,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:i.actionsEnd?k(L,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:p,subtitle:i.subtitle}),footer:i.footer?xo(_e,{alignment:"stretched",children:[k(L,{text:"Cancel",size:"large",themeColor:"base"}),k(L,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:r}):k(K,{...n,fullscreen:i.fullScreen,header:k(Q,{actionsStart:i.actionsStart?k(L,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:i.actionsEnd?k(L,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:i.subtitle}),footer:i.footer?xo(_e,{alignment:"stretched",children:[k(L,{text:"Apply",themeColor:"primary"}),k(L,{text:"Cancel",themeColor:"base"})]}):void 0,children:r})};we.options=fs;we.states=bs;we.variants=xs;we.defaultOptions=Ti;we.modifiers=Ls;we.className=K.className;import No from"react";import{jsx as Ri}from"react/jsx-runtime";var hs="k-list-group-sticky-header",Lo=e=>Ri("div",{className:a(hs,e.className),children:Ri("div",{className:"k-list-header-text",children:e.children})});import{jsx as Is}from"react/jsx-runtime";var Ns="k-no-data",ho=e=>{let{live:t,...o}=e;return Is("span",{...o,className:a(Ns,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Ie="list",Be=Ie;import{jsx as Ki,jsxs as _i}from"react/jsx-runtime";var Io="k-list",vs=[],As={size:[l.undefined,l.small,l.medium,l.large]},Ss={},E=e=>{let{size:t,virtualization:o,children:n,header:i,selectAll:r,optionLabel:d,customValue:p,noData:m,screenReaders:u,...f}=e,I=No.Children.toArray(n)[0],M=I?.props?.children?No.Children.count(I.props.children):No.Children.count(n);return _i("div",{...f,className:a(e.className,Io,A(Io,{size:t}),{"k-virtual-list":o}),children:[d,r,p,i&&Ki(Lo,{children:i}),n||(m!==void 0?m:Ki(ho,{live:!0,children:"No data found."})),u&&n&&_i(ho,{className:"k-sr-only",live:!0,children:[M," items found."]})]})};E.states=vs;E.options=As;E.className=Io;E.defaultOptions=Ss;E.moduleName=Ie;E.folderName=Be;import{jsx as Ms}from"react/jsx-runtime";var Hi="k-list-container",gs=[],Cs={},Es={},ze=e=>{let{...t}=e;return Ms("div",{...t,className:a(e.className,Hi),children:e.children})};ze.states=gs;ze.options=Cs;ze.className=Hi;ze.defaultOptions=Es;ze.moduleName=Ie;ze.folderName=Be;var ve="checkbox",Fe=ve;import{jsx as Pi}from"react/jsx-runtime";var Et="k-checkbox",Os=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.checked,s.indeterminate],ys={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full]},ks={},$=e=>{let{id:t,checked:o,indeterminate:n,hover:i,focus:r,disabled:d,invalid:p,valid:m,required:u,size:f,rounded:x,wrapperRole:I,...M}=e;return Pi("span",{className:"k-checkbox-wrap",role:I,children:Pi("input",{...M,id:t,type:"checkbox",defaultChecked:o,required:u,disabled:d||void 0,"aria-invalid":p?"true":void 0,className:a(e.className,Et,A(Et,{size:f,rounded:x}),g(Et,{hover:i,focus:r,disabled:d,invalid:p,valid:m,indeterminate:n,checked:o}))})})};$.states=Os;$.options=ys;$.className=Et;$.defaultOptions=ks;$.moduleName=ve;$.folderName=Fe;var Z=$;import{jsx as Ks}from"react/jsx-runtime";var Di="k-checkbox-list",Ts=[],Rs={},wi={layout:"vertical"},D=e=>{let{layout:t=wi.layout,...o}=e;return Ks("ul",{...o,className:a(e.className,Di,{[`k-list-${t}`]:t}),children:e.children})};D.states=Ts;D.options=Rs;D.className=Di;D.defaultOptions=wi;D.moduleName=ve;D.folderName=Fe;import{jsx as Ds}from"react/jsx-runtime";var Bi="k-checkbox-list-item",_s=[],Hs={},Ps={},w=e=>{let{...t}=e;return Ds("li",{...t,className:a(e.className,Bi),children:e.children})};w.states=_s;w.options=Hs;w.className=Bi;w.defaultOptions=Ps;w.moduleName=ve;w.folderName=Fe;import{Fragment as ws,jsx as zi,jsxs as Bs}from"react/jsx-runtime";var re=({children:e="Label",id:t="cb-label-after",...o})=>Bs(ws,{children:[zi(Z,{id:t,...o}),zi("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as Rf,jsx as Tf,jsxs as Kf}from"react/jsx-runtime";import{Fragment as wf,jsx as Df,jsxs as Bf}from"react/jsx-runtime";import{Fragment as Vf,jsx as Gf,jsxs as $f}from"react/jsx-runtime";import{jsx as Jf}from"react/jsx-runtime";import{jsx as jf}from"react/jsx-runtime";import{jsx as ib}from"react/jsx-runtime";import{jsx as W,jsxs as Fi}from"react/jsx-runtime";var zs=D.options,Fs=D.states,Us={...D.defaultOptions,variant:"vertical"},Gs=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Vs=[],Ue=e=>{let{variant:t,...o}=e;return t==="horizontal"?Fi(D,{layout:"horizontal",...o,children:[W(w,{children:W(re,{id:N("cb"),defaultChecked:!0,children:"Label"})}),W(w,{children:W(re,{id:N("cb"),children:"Label"})}),W(w,{children:W(re,{id:N("cb"),children:"Label"})})]}):Fi(D,{...o,children:[W(w,{children:W(re,{id:N("cb"),defaultChecked:!0,children:"Label"})}),W(w,{children:W(re,{id:N("cb"),children:"Label"})}),W(w,{children:W(re,{id:N("cb"),children:"Label"})})]})};Ue.options=zs;Ue.states=Fs;Ue.variants=Gs;Ue.defaultOptions=Us;Ue.modifiers=Vs;Ue.className=D.className;import{jsx as Ys}from"react/jsx-runtime";var $s=Z.options,Xs=Z.states,Ws=Z.defaultOptions,qs=[],Js=[],Ge=e=>Ys(re,{id:N("checkbox"),...e,defaultChecked:!0,children:"Label"});Ge.options=$s;Ge.states=Xs;Ge.variants=qs;Ge.defaultOptions=Ws;Ge.modifiers=Js;Ge.className=Z.className;import{jsx as Ae,jsxs as er}from"react/jsx-runtime";var vo="k-list-item",Qs=[s.hover,s.focus,s.selected,s.disabled],Zs={},js={},C=e=>{let{text:t,groupLabel:o,group:n,iconName:i,iconClassName:r,showCheckbox:d,checked:p,hover:m,focus:u,selected:f,disabled:x,actions:I,description:M,id:P,...y}=e,S=t||e.children,O=t||(typeof S=="string"?S:void 0);return er("li",{...y,id:P,role:n?"presentation":"option",tabIndex:n?void 0:u?0:-1,"aria-selected":!n&&f?"true":n?void 0:"false","aria-disabled":!n&&x?"true":void 0,className:a(e.className,n?"k-list-group-item":vo,g(vo,{hover:m,focus:u,disabled:x,selected:f})),children:[d&&Ae($,{checked:p,disabled:x,"aria-label":O,tabIndex:-1}),i&&Ae("span",{className:"k-list-item-icon-wrapper",children:Ae(v,{icon:i,className:a("k-list-item-icon",r)})}),Ae("span",{className:"k-list-item-text",children:S}),I&&Ae("div",{className:"k-list-item-actions",children:I}),M&&Ae("span",{className:"k-list-item-description",children:M}),o&&o!==""&&Ae("div",{className:"k-list-item-group-label",children:o})]})};C.states=Qs;C.options=Zs;C.className=vo;C.defaultOptions=js;C.moduleName=Ie;C.folderName=Be;import{jsx as or}from"react/jsx-runtime";var tr="k-list-ul",Ve=e=>{let{children:t,role:o,id:n,...i}=e;return or("ul",{...i,id:n,role:o,className:a(tr,e.className),children:t})};import{jsx as Ao,jsxs as nr}from"react/jsx-runtime";var ir="k-list-content",B=e=>{let{virtualization:t,grouping:o,"aria-label":n,"aria-labelledby":i,listboxId:r,...d}=e;return nr("div",{...d,className:a(ir,e.className),role:o?"listbox":void 0,id:o?r:void 0,"aria-label":o?n:void 0,"aria-labelledby":o?i:void 0,children:[o?e.children:Ao(Ve,{role:"listbox",id:r,"aria-label":n,"aria-labelledby":i,children:e.children}),t&&Ao("div",{className:"k-height-container",children:Ao("div",{})})]})};import{jsx as So,jsxs as lr}from"react/jsx-runtime";var Mt="k-list-sticky-header",ar=[s.hover,s.focus,s.selected],sr={},rr={},Ot=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:n,indeterminate:i,hover:r,focus:d,selected:p,...m}=e;return So("div",{...m,className:a(Mt,e.className),children:lr("div",{className:a(`${Mt}-item`,g(`${Mt}-item`,{hover:r,focus:d,selected:p})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":p?"true":"false"},children:[o&&So($,{checked:n,indeterminate:i,"aria-label":t}),So("span",{className:"k-list-item-text",children:t})]})})};Ot.states=ar;Ot.options=sr;Ot.className=Mt;Ot.defaultOptions=rr;import{Fragment as Qb,jsx as Yb,jsxs as Zb}from"react/jsx-runtime";import{jsx as ix,jsxs as nx}from"react/jsx-runtime";import{jsx as cr}from"react/jsx-runtime";var go="k-list-optionlabel",dr=[s.hover,s.focus,s.selected,s.disabled],pr={},mr={},yt=e=>{let{text:t,hover:o,focus:n,selected:i,disabled:r,...d}=e;return cr("div",{...d,className:a(go,g(go,{hover:o,focus:n,selected:i,disabled:r})),children:t})};yt.states=dr;yt.options=pr;yt.className=go;yt.defaultOptions=mr;import{jsx as xr}from"react/jsx-runtime";var Co="k-list-custom-value",ur=[s.hover,s.focus,s.selected,s.disabled],fr={},br={},kt=e=>{let{text:t,hover:o,focus:n,selected:i,disabled:r,...d}=e;return xr("div",{...d,className:a(Co,g(Co,{hover:o,focus:n,selected:i,disabled:r})),children:t})};kt.states=ur;kt.options=fr;kt.className=Co;kt.defaultOptions=br;import{Fragment as xx,jsx as bx,jsxs as Lx}from"react/jsx-runtime";import{Fragment as Sx,jsx as Ax,jsxs as gx}from"react/jsx-runtime";import{Fragment as Tx,jsx as yx,jsxs as kx}from"react/jsx-runtime";import{Fragment as wx,jsx as Px,jsxs as Dx}from"react/jsx-runtime";import{jsx as Ux}from"react/jsx-runtime";import{Fragment as qx,jsx as Wx,jsxs as Jx}from"react/jsx-runtime";import{Fragment as tL,jsx as eL,jsxs as oL}from"react/jsx-runtime";var Ui="dropdown-list",Gi="dropdownlist";import{Fragment as Nr,jsx as z,jsxs as Mo}from"react/jsx-runtime";var Vi="k-dropdownlist",Lr=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],hr={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Oo={showValue:!0,arrowIconName:"chevron-down"},U=e=>{let{size:t,rounded:o,fillMode:n,arrowIconName:i=Oo.arrowIconName,showValue:r=Oo.showValue,valueIconName:d,prefix:p,suffix:m,value:u,placeholder:f,hover:x,focus:I,valid:M,invalid:P,required:y,loading:S,disabled:O,readonly:G,popup:de,opened:ne,adaptive:Qe,adaptiveSettings:Ze,adaptiveTitle:je,adaptiveSubtitle:Zi,adaptiveFilter:ji,id:et,activeDescendant:yo,"aria-label":en,...tn}=e,on=et?`${et}-listbox`:void 0,ko=et?`${et}-value`:void 0;return Mo(Nr,{children:[Mo(me,{...tn,id:et,size:t,rounded:o,fillMode:n,hover:x,focus:I,valid:M,invalid:P,required:y,loading:S,disabled:O,readonly:G,className:a(e.className,Vi,{"k-icon-picker":!r&&d}),role:"combobox","aria-haspopup":"listbox","aria-expanded":ne?"true":"false","aria-controls":ne?on:void 0,"aria-activedescendant":ne&&yo?yo:void 0,"aria-describedby":ne?ko:void 0,"aria-disabled":O?"true":void 0,"aria-label":en,tabIndex:0,children:[z(ke,{children:p}),z(st,{placeholder:f,value:u,showValue:r,valueIconName:d,id:ko}),z(Y,{valid:M,invalid:P,loading:S,disabled:O}),z(te,{loading:S,disabled:O}),z(Te,{children:m}),z(L,{className:"k-input-button",icon:i,size:e.size,fillMode:e.fillMode,"aria-label":f||"Toggle dropdown",tabIndex:-1})]}),ne&&de&&z(ce,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:de}),Qe&&z(K,{adaptive:!0,...Ze,header:z(Q,{actionsEnd:z(L,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:ji,inputValue:u,inputPlaceholder:f,title:je,subtitle:Zi}),children:z("div",{className:"k-list-container",children:z(E,{size:"large",children:Mo(B,{"aria-label":"Options",children:[z(C,{text:"List item"}),z(C,{text:"List item"}),z(C,{text:"List item"})]})})})})]})};U.states=Lr;U.options=hr;U.className=Vi;U.defaultOptions=Oo;U.moduleName=Ui;U.folderName=Gi;import{jsx as DL}from"react/jsx-runtime";import{jsx as GL,jsxs as VL}from"react/jsx-runtime";import{Fragment as jL,jsx as QL,jsxs as ZL}from"react/jsx-runtime";import{jsx as nh}from"react/jsx-runtime";import{jsx as ph,jsxs as mh}from"react/jsx-runtime";import{Fragment as Ih,jsx as hh,jsxs as Nh}from"react/jsx-runtime";import{jsx as Ch}from"react/jsx-runtime";import{Fragment as Cr,jsx as he,jsxs as $i}from"react/jsx-runtime";var Ir=U.states,vr=U.defaultOptions,Ar=U.options,Sr=[{name:"opened",title:"Opened"}],gr=[],Xe=e=>{let{modifiers:t,...o}=e,n={},i=$i(Cr,{children:[he("div",{className:"k-list-filter",children:he(X,{})}),he(E,{style:{width:300},size:o.size,children:$i(B,{children:[he(C,{children:"List item"}),he(C,{children:"List item"}),he(C,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(r=>{r==="opened"&&(n.opened=!!t?.[r],n.popup=t?.[r]?i:void 0)}),he("div",{children:he(U,{placeholder:"Value",style:{width:300},...o,...n})})};Xe.options=Ar;Xe.states=Ir;Xe.variants=gr;Xe.defaultOptions=vr;Xe.modifiers=Sr;Xe.className=U.className;var Se="radio",We=Se;import{jsx as Xi}from"react/jsx-runtime";var Tt="k-radio",Er=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.checked],Mr={size:[l.undefined,l.small,l.medium,l.large]},Or={},j=e=>{let{id:t,checked:o,hover:n,focus:i,disabled:r,invalid:d,valid:p,required:m,size:u,...f}=e;return Xi("span",{className:"k-radio-wrap",children:Xi("input",{...f,id:t,type:"radio",checked:o,required:m,disabled:r||void 0,"aria-invalid":d?"true":void 0,className:a(e.className,Tt,A(Tt,{size:u}),g(Tt,{hover:n,focus:i,disabled:r,invalid:d,valid:p,checked:o}))})})};j.states=Er;j.options=Mr;j.className=Tt;j.defaultOptions=Or;j.moduleName=Se;j.folderName=We;var q=j;import{jsx as Tr}from"react/jsx-runtime";var Wi="k-radio-list",yr=[],kr={},qi={layout:"vertical"},_=e=>{let{layout:t=qi.layout,...o}=e;return Tr("ul",{...o,className:a(e.className,Wi,{[`k-list-${t}`]:t}),role:"radiogroup",children:e.children})};_.states=yr;_.options=kr;_.className=Wi;_.defaultOptions=qi;_.moduleName=Se;_.folderName=We;import{jsx as Hr}from"react/jsx-runtime";var Ji="k-radio-list-item",Rr=[],Kr={},_r={},H=e=>{let{...t}=e;return Hr("li",{...t,className:a(e.className,Ji),role:"none",children:e.children})};H.states=Rr;H.options=Kr;H.className=Ji;H.defaultOptions=_r;H.moduleName=Se;H.folderName=We;import{jsx as nN}from"react/jsx-runtime";import{Fragment as Pr,jsx as Yi,jsxs as Dr}from"react/jsx-runtime";var le=({children:e,id:t,...o})=>Dr(Pr,{children:[Yi(q,{...o,id:t}),Yi("label",{className:"k-radio-label",htmlFor:t,children:e})]});import{Fragment as cN,jsx as mN,jsxs as uN}from"react/jsx-runtime";import{Fragment as NN,jsx as LN,jsxs as hN}from"react/jsx-runtime";import{Fragment as gN,jsx as SN,jsxs as CN}from"react/jsx-runtime";import{Fragment as kN,jsx as yN,jsxs as TN}from"react/jsx-runtime";import{Fragment as wN,jsx as DN,jsxs as BN}from"react/jsx-runtime";import{jsx as GN}from"react/jsx-runtime";import{jsx as Vr}from"react/jsx-runtime";var Br=q.options,zr=q.states,Fr=q.defaultOptions,Ur=[],Gr=[],qe=e=>Vr(le,{id:N("radio"),name:"value",...e,children:"Label"});qe.options=Br;qe.states=zr;qe.variants=Ur;qe.defaultOptions=Fr;qe.modifiers=Gr;qe.className=q.className;import{jsx as J,jsxs as Qi}from"react/jsx-runtime";var $r=_.options,Xr=_.states,Wr={..._.defaultOptions,variant:"vertical"},qr=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Jr=[],Je=e=>{let{variant:t,...o}=e;return t==="horizontal"?Qi(_,{layout:"horizontal",...o,children:[J(H,{children:J(le,{id:N("rb"),name:"value",defaultChecked:!0,children:"Label"})}),J(H,{children:J(le,{id:N("rb"),name:"value",children:"Label"})}),J(H,{children:J(le,{id:N("rb"),name:"value",children:"Label"})})]}):Qi(_,{...o,children:[J(H,{children:J(le,{id:N("rb"),name:"value",defaultChecked:!0,children:"Label"})}),J(H,{children:J(le,{id:N("rb"),name:"value",children:"Label"})}),J(H,{children:J(le,{id:N("rb"),name:"value",children:"Label"})})]})};Je.options=$r;Je.states=Xr;Je.variants=qr;Je.defaultOptions=Wr;Je.modifiers=Jr;Je.className=_.className;import{Fragment as tl,jsx as F,jsxs as Ye}from"react/jsx-runtime";var Yr=V.options,Qr=V.states,Zr={...V.defaultOptions,variant:"vertical"},jr=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],el=[],ge=e=>{let{variant:t,size:o,...n}=e,i=Ye(Ht,{legend:"Form Legend",children:[F(Me,{label:"Label",editor:F(R,{size:o})}),F(Me,{label:"Label",hint:"Hint text",editor:F(U,{value:"Dropdown List",size:o})}),F(Me,{label:"City",editor:Ye("ul",{className:"k-radio-list k-list-horizontal",children:[Ye("li",{className:"k-radio-list-item",children:[F(j,{checked:!0,size:o}),F("label",{className:"k-radio-label",children:"Label"})]}),Ye("li",{className:"k-radio-list-item",children:[F(j,{size:o}),F("label",{className:"k-radio-label",children:"Label"})]}),Ye("li",{className:"k-radio-list-item",children:[F(j,{size:o}),F("label",{className:"k-radio-label",children:"Label"})]})]})})]}),r=Ye(tl,{children:[F(L,{className:"k-form-submit",themeColor:"primary",size:o,children:"Submit"}),F(L,{className:"k-form-clear",size:o,children:"Clear"})]});return t==="horizontal"?F(V,{orientation:"horizontal",size:o,...n,formButtons:r,children:i}):F(V,{size:o,...n,formButtons:r,children:i})};ge.options=Yr;ge.states=Qr;ge.variants=jr;ge.defaultOptions=Zr;ge.modifiers=el;ge.className=V.className;var EI=ge;export{ge as FormDemo,EI as default};
|
|
1
|
+
var a=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?a(...t):typeof t=="object"?Object.keys(t).map((o,n)=>t[n]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var S=(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"}),g=(e,t)=>{let{valid:o,invalid:n,hover:i,focus:r,checked:d,active:p,selected:m,disabled:u,indeterminate:f,loading:x,empty:I,readonly:M,highlighted:P,...y}=t;return a({"k-valid":o,"k-invalid":n,"k-hover":i,"k-focus":r,"k-checked":d,"k-active":p,"k-selected":m,"k-disabled":u,"k-indeterminate":f&&!d,"k-loading":x,"k-empty":I,"k-readonly":M,"k-highlighted":P},Object.keys(y).reduce((A,O)=>(O.startsWith("k-")?A[O]=y[O]:A[`k-${O}`]=y[O],A),{}))};function To(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(n=>[`k-${n}`,!0]))}var l={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},c={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},h={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},ee={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},b={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},s={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var Rt={};function N(e){return Rt[e]=(Rt[e]||0)+1,`k-${e}-${Rt[e]}`}var Ro="form",Ko="forms";import{Fragment as _o,jsx as ct,jsxs as sn}from"react/jsx-runtime";var ut="k-form",nn=[],an={size:[l.undefined,l.small,l.medium,l.large]},Kt={layout:"basic",tag:"form"},V=e=>{let{size:t,orientation:o,layout:n=Kt.layout,formButtons:i,cols:r,gutters:d,tag:p=Kt.tag,children:m,style:u}=e,f=p,x=a(e.className,ut,S(ut,{size:t}),{[`${ut}-${o}`]:o}),I=sn(_o,{children:[n==="grid"?ct("div",{className:a("k-form-layout","k-d-grid",{[`k-grid-cols-${r}`]:r}),style:{...typeof d=="string"&&{gap:d},...typeof d=="object"&&d.rows&&{rowGap:d.rows},...typeof d=="object"&&d.cols&&{columnGap:d.cols},...u},children:m}):ct(_o,{children:m}),i&&ct("div",{className:"k-form-buttons",children:i})]}),{role:M,"aria-labelledby":P,"aria-label":y,id:A}=e;return ct(f,{className:x,role:M,"aria-labelledby":P,"aria-label":y,id:A,children:I})};V.states=nn;V.options=an;V.className=ut;V.defaultOptions=Kt;V.moduleName=Ro;V.folderName=Ko;import{Fragment as rn,jsx as _t,jsxs as ln}from"react/jsx-runtime";var Ho="k-form-fieldset",Ht=e=>{let{legend:t,layout:o,cols:n,gutters:i,colSpan:r}=e;return ln("fieldset",{className:a(Ho,{[`k-col-span-${r}`]:r}),children:[t&&_t("legend",{className:"k-form-legend",children:t}),o==="grid"?_t("div",{className:a("k-form-layout","k-d-grid",{[`k-grid-cols-${n}`]:n}),style:{...typeof i=="string"&&{gap:i},...typeof i=="object"&&i.rows&&{rowGap:i.rows},...typeof i=="object"&&i.cols&&{columnGap:i.cols}},children:e.children}):_t(rn,{children:e.children})]})};Ht.className=Ho;var Po="label",Do="label";import{jsx as wo,jsxs as cn}from"react/jsx-runtime";var Pt="k-label",dn=[s.disabled],pn={},mn={},pe=e=>{let{disabled:t,optional:o,info:n,text:i,children:r,...d}=e;return cn("label",{...d,className:a(e.className,Pt,g(Pt,{disabled:t})),children:[i||r,o&&wo("span",{className:"k-label-optional",children:"(Optional)"}),n&&wo("span",{className:"k-field-info",children:n})]})};pe.states=dn;pe.options=pn;pe.className=Pt;pe.defaultOptions=mn;pe.moduleName=Po;pe.folderName=Do;import{jsx as xn}from"react/jsx-runtime";var Bo="k-form-hint",un=[],fn={},bn={},Ce=e=>{let{text:t,children:o,...n}=e;return xn("div",{...n,className:a(e.className,Bo),children:t||o})};Ce.states=un;Ce.options=fn;Ce.className=Bo;Ce.defaultOptions=bn;import{jsx as In}from"react/jsx-runtime";var zo="k-form-error",Ln=[],hn={},Nn={},Ee=e=>{let{text:t,children:o,...n}=e;return In("div",{...n,className:a(e.className,zo),children:t||o})};Ee.states=Ln;Ee.options=hn;Ee.className=zo;Ee.defaultOptions=Nn;import{jsx as ft,jsxs as Fo}from"react/jsx-runtime";var Dt="k-form-field",vn=[s.disabled],Me=e=>{let{editorId:t,label:o,orientation:n,optional:i,editor:r,hint:d,error:p,info:m,disabled:u,dir:f,colSpan:x,...I}=e;return Fo("div",{...I,className:a(Dt,e.className,g(Dt,{disabled:u}),{[`k-col-span-${x}`]:x}),dir:f,children:[o&&ft(pe,{className:"k-form-label",id:t?`${t}-label`:void 0,htmlFor:t||void 0,optional:i,info:m?"(field info)":void 0,children:o}),n==="horizontal"&&!o&&ft("span",{className:"k-label k-form-label k-label-empty"}),Fo("div",{className:"k-form-field-wrap",children:[r,d&&ft(Ce,{id:t?`${t}-hint`:void 0,children:d}),p&&ft(Ee,{id:t?`${t}-error`:void 0,children:p})]})]})};Me.states=vn;Me.className=Dt;import{Fragment as Cn,jsx as Uo}from"react/jsx-runtime";var wt="k-font-icon",An=[],Sn={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[b.undefined,b.base,b.primary,b.secondary,b.tertiary,b.success,b.warning,b.error,b.info]},gn={},tt=e=>{let{size:t,themeColor:o,icon:n,rotate:i,flip:r,...d}=e;return n?Uo("span",{...d,className:a(e.className,wt,S(wt,{size:t}),{[`k-i-${n}`]:n,[`k-color-${o}`]:o,[`k-rotate-${i}`]:i,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),"aria-hidden":"true"}):Uo(Cn,{})};tt.states=An;tt.options=Sn;tt.className=wt;tt.defaultOptions=gn;var Go=tt;import{Fragment as On,jsx as bt}from"react/jsx-runtime";var Bt="k-svg-icon",En=[],Mn={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[b.undefined,b.base,b.primary,b.secondary,b.tertiary,b.success,b.warning,b.error,b.info],variant:[ee.outline,ee.solid,ee.duotone]},zt={viewBox:"0 0 24 24",variant:ee.outline},ot=e=>{let{size:t,themeColor:o,rotate:n,flip:i,viewBox:r=zt.viewBox,variant:d=zt.variant,icon:p,...m}=e;if(!p)return bt(On,{});if(p==="none")return bt("span",{...m,className:a(e.className,Bt,S("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let u=typeof p=="object"&&p.name&&p.name,f=typeof p=="object"?d&&p.variants?.[d]||p.variants?.outline||p.content:void 0;return bt("span",{...m,className:a(e.className,Bt,S("k-icon",{size:t}),{[`k-svg-i-${u}`]:u,[`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",children:bt("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof p=="object"?p.viewBox:r,dangerouslySetInnerHTML:f!==void 0?{__html:f}:void 0,children:p?void 0:e.children})})};ot.states=En;ot.options=Mn;ot.className=Bt;ot.defaultOptions=zt;var Ft=ot;import*as Ut from"@progress/kendo-svg-icons";var Vo="icon",$o="icons";import{useContext as kn}from"react";import{createContext as yn}from"react";var Xo=yn({iconsType:"svg"});import{Fragment as Wo,jsx as it}from"react/jsx-runtime";var xt="k-icon",Tn=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Rn=[],Kn={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[b.undefined,b.base,b.primary,b.secondary,b.tertiary,b.success,b.warning,b.error,b.info],variant:[ee.outline,ee.solid,ee.duotone]},Lt={viewBox:"0 0 24 24",type:"svg",variant:ee.outline},v=e=>{let{iconsType:t}=kn(Xo),{size:o,themeColor:n,icon:i,type:r=t||Lt.type,rotate:d,flip:p,viewBox:m=Lt.viewBox,variant:u=Lt.variant,...f}=e;if(!i)return it(Wo,{});if((t||r)==="svg"){if(i==="none")return it(Ft,{...f,className:a(e.className,xt),icon:i,size:o,variant:u});let I=Ut[i]?i:Tn(`${i}-icon`);return Ut[I]?it(Ft,{...f,className:a(e.className,xt),icon:Ut[I],size:o,themeColor:n,rotate:d,flip:p,viewBox:m,variant:u}):it(Wo,{})}return it(Go,{...f,className:a(e.className,xt),icon:i,size:o,themeColor:n,rotate:d,flip:p})};v.states=Rn;v.options=Kn;v.defaultOptions=Lt;v.className=xt;v.moduleName=Vo;v.folderName=$o;var Gt="button",qo=Gt;import{Fragment as Jo,jsx as Oe,jsxs as Yo}from"react/jsx-runtime";var nt="k-button",_n=["icon-button"],Hn=[s.hover,s.focus,s.active,s.selected,s.disabled,s.generating],Pn={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[b.undefined,b.base,b.primary,b.secondary,b.tertiary,b.success,b.warning,b.error,b.info,b.inverse]},Vt={showArrow:!1,arrowIconName:"chevron-down"},L=e=>{let{as:t="button",size:o,rounded:n,fillMode:i,themeColor:r,showArrow:d=Vt.showArrow,arrowIconName:p=Vt.arrowIconName,variant:m,hover:u,focus:f,active:x,selected:I,disabled:M,togglable:P,ariaDisabled:y,icon:A,iconSize:O,text:G,iconClassName:de,className:ne,...Qe}=e,Ze=A!=null,je=e.children!==void 0;return Yo(t,{className:a(ne,nt,To(nt,m),S(nt,{size:o,rounded:n,fillMode:i,themeColor:r}),g(nt,{hover:u,focus:f,active:x,disabled:M||y,selected:I}),{"k-icon-button":!G&&!je&&Ze}),"aria-pressed":P?I?"true":"false":void 0,...Qe,"aria-disabled":y?"true":void 0,disabled:M||void 0,children:[typeof A=="string"&&A&&Oe(v,{className:a(de,"k-button-icon"),icon:A,size:O}),A&&typeof A!="string"&&Oe(Jo,{children:A}),G?Yo(Jo,{children:[G&&Oe("span",{className:"k-button-text",children:G}),e.children]}):e.children&&Oe("span",{className:"k-button-text",children:e.children}),d&&Oe("span",{className:"k-menu-button-arrow k-button-arrow",children:Oe(v,{icon:p})})]})};L.states=Hn;L.options=Pn;L.variants=_n;L.className=nt;L.defaultOptions=Vt;L.moduleName=Gt;L.folderName=qo;import{jsx as Dn}from"react/jsx-runtime";var Qo=e=>Dn(L,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as wn}from"react/jsx-runtime";var Zo=e=>wn(L,{icon:"folder",children:"Button",...e});import{jsx as Bn}from"react/jsx-runtime";var Ne=e=>Bn(L,{children:"Button",...e});import{jsx as $t}from"react/jsx-runtime";var zn=L.options,Fn=L.states,Un={...L.defaultOptions,variant:"text"},Gn=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Vn=[],ye=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return $t(Qo,{...o,icon:"star"});case"icon-and-text":return $t(Zo,{...o,icon:"star",children:"Button"});default:return $t(Ne,{...o,children:"Button"})}};ye.options=zn;ye.states=Fn;ye.variants=Gn;ye.defaultOptions=Un;ye.modifiers=Vn;ye.className=L.className;var at="input",ht=at;import{jsx as qn}from"react/jsx-runtime";var Nt="k-input",$n=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Xn={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Wn={},T=e=>{let{hover:t,focus:o,disabled:n,invalid:i,valid:r,loading:d,readonly:p,size:m,rounded:u,fillMode:f,...x}=e;return qn("span",{...x,className:a(e.className,Nt,S(Nt,{size:m,rounded:u,fillMode:f}),g(Nt,{hover:t,focus:o,disabled:n,invalid:i,valid:r,loading:d,readonly:p}))})};T.states=$n;T.options=Xn;T.className=Nt;T.defaultOptions=Wn;T.moduleName=at;T.folderName=ht;import{jsx as Zn}from"react/jsx-runtime";var It="k-picker",Jn=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Yn={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Qn={},me=e=>{let{hover:t,focus:o,disabled:n,invalid:i,valid:r,loading:d,readonly:p,size:m,rounded:u,fillMode:f,...x}=e;return Zn("span",{...x,className:a(e.className,It,S(It,{size:m,rounded:u,fillMode:f}),g(It,{hover:t,focus:o,disabled:n,invalid:i,valid:r,loading:d,readonly:p})),children:e.children})};me.states=Jn;me.options=Yn;me.className=It;me.defaultOptions=Qn;me.moduleName=at;me.folderName=ht;import{Fragment as ta,jsx as Xt}from"react/jsx-runtime";var jo="k-clear-value",jn=[s.disabled,s.loading,s.readonly],ea={},ae=e=>{let{disabled:t,loading:o,readonly:n,value:i}=e;return t||n||o||!i?Xt(ta,{}):Xt("span",{className:a(e.className,jo),children:Xt(v,{icon:"x"})})};ae.states=jn;ae.options=ea;ae.className=jo;import{jsx as na}from"react/jsx-runtime";var Wt="k-input-inner",oa=[],ia={},vt={type:"text",autocomplete:"off",value:"",placeholder:""},se=e=>{let{value:t=vt.value,type:o=vt.type,placeholder:n=vt.placeholder,autocomplete:i=vt.autocomplete,disabled:r,readOnly:d,...p}=e;return na("input",{...p,type:o,className:a(e.className,Wt,S(Wt,e)),placeholder:n,autoComplete:i,defaultValue:t,disabled:r||void 0,readOnly:d||void 0})};se.states=oa;se.options=ia;se.className=Wt;import{jsx as ei,jsxs as ra}from"react/jsx-runtime";var qt="k-input-inner",aa=[],sa={},st=e=>{let{value:t,placeholder:o,showValue:n,valueIcon:i,valueIconName:r,...d}=e;return ra("span",{...d,className:a(e.className,qt,S(qt,e)),children:[i,!i&&r&&ei(v,{className:"k-input-value-icon",icon:r}),n&&!t&&o,n&&t&&ei("span",{className:"k-input-value-text",children:t})]})};st.states=aa;st.options=sa;st.className=qt;import{jsx as pa}from"react/jsx-runtime";var Jt="k-input-inner",la=[],da={},ti={value:"",placeholder:""},Yt=e=>{let{value:t=ti.value,placeholder:o=ti.placeholder,rows:n,disabled:i,...r}=e;return pa("textarea",{...r,className:a(e.className,Jt,S(Jt,e)),placeholder:o,rows:n,defaultValue:t,disabled:i||void 0})};Yt.states=la;Yt.options=da;Yt.className=Jt;import{Fragment as ca,jsx as oi}from"react/jsx-runtime";var ii="k-input-loading-icon",ma=[s.disabled,s.loading],te=e=>{let{disabled:t,loading:o}=e;return t||!o?oi(ca,{}):oi("span",{className:a(e.className,ii,"k-icon k-i-loading")})};te.states=ma;te.className=ii;import{Fragment as ba,jsx as ni}from"react/jsx-runtime";var ai="k-input-validation-icon",ua=[s.valid,s.invalid,s.disabled,s.loading],fa={},Y=e=>{let{valid:t,invalid:o,disabled:n,loading:i}=e,r=o?"warning-circle":"check-circle";return n||i||!!!(t||o)?ni(ba,{}):ni(v,{className:a(ai),icon:r})};Y.states=ua;Y.options=fa;Y.className=ai;import{Fragment as ha,jsx as si}from"react/jsx-runtime";var xa="k-input-prefix",La={direction:"horizontal"},ke=e=>{let{direction:t=La.direction,...o}=e;return e.children?si("span",{...o,className:a(xa,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):si(ha,{})};import{Fragment as va,jsx as ri}from"react/jsx-runtime";var Na="k-input-suffix",Ia={direction:"horizontal"},Te=e=>{let{direction:t=Ia.direction,...o}=e;return e.children?ri("span",{...o,className:a(Na,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):ri(va,{})};import{jsx as xp}from"react/jsx-runtime";import{jsx as Ip}from"react/jsx-runtime";import{jsx as Sa}from"react/jsx-runtime";var li="k-input-separator",Aa={direction:"vertical"},Re=e=>{let{direction:t=Aa.direction,...o}=e;return Sa("span",{...o,className:a(li,e.className,{[`${li}-${t}`]:t})})};import{Fragment as di,jsx as oe,jsxs as Qt}from"react/jsx-runtime";var ga=T.states,Ca=T.defaultOptions,Ea=T.options,Ma=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Oa=[],Ke=e=>{let{modifiers:t,valid:o,invalid:n,loading:i,disabled:r,readonly:d,...p}=e,m=t?.prefix,u=t?.suffix,f=t?.["clear-button"],x=t?.["validation-icon"],I=t?.separators;return Qt(T,{...p,valid:o,invalid:n,loading:i,disabled:r,readonly:d,style:{width:300},children:[m&&Qt(di,{children:[oe(ke,{children:oe(v,{icon:"lock"})}),I&&oe(Re,{})]}),oe(se,{placeholder:"Placeholder",value:"Value"}),x&&oe(Y,{valid:o,invalid:n,loading:i,disabled:r}),oe(te,{loading:i,disabled:r}),f&&oe(ae,{loading:i,disabled:r,readonly:d,value:"Value"}),u&&Qt(di,{children:[I&&oe(Re,{}),oe(Te,{children:oe(Ne,{size:p.size,fillMode:"clear",children:"Send"})})]})]})};Ke.options=Ea;Ke.states=ga;Ke.variants=Oa;Ke.defaultOptions=Ca;Ke.modifiers=Ma;Ke.className=T.className;var Zt="popup",pi=Zt;import{jsx as mi}from"react/jsx-runtime";var ci="k-animation-container",ya=[],ka={},jt={positionMode:"absolute",shown:!0},ie=e=>{let{positionMode:t=jt.positionMode,shown:o=jt.shown,animationStyle:n,offset:i,...r}=e;return mi("div",{...r,style:{...i,...e.style},className:a(e.className,ci,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:mi("div",{className:"k-child-animation-container",style:n,children:e.children})})};ie.states=ya;ie.options=ka;ie.className=ci;ie.defaultOptions=jt;ie.moduleName=Zt;ie.folderName=pi;var eo="popup",ui=eo;import{jsx as fi}from"react/jsx-runtime";var bi="k-popup",Ta=[],Ra={},xi={positionMode:"absolute"},ce=e=>{let{offset:t,positionMode:o=xi.positionMode,animationStyle:n,containerClassName:i,containerRole:r,containerAriaLabel:d,...p}=e;return fi(ie,{positionMode:o,offset:t,animationStyle:n,className:i,role:r,"aria-label":d,children:fi("div",{...p,className:a(e.className,bi),children:e.children})})};ce.states=Ta;ce.options=Ra;ce.className=bi;ce.defaultOptions=xi;ce.moduleName=eo;ce.folderName=ui;var to="action-buttons",Li=to;import{jsx as Ha}from"react/jsx-runtime";var At="k-actions",Ka=[],_a={},oo={alignment:"start",orientation:"horizontal"},ue=e=>{let{alignment:t=oo.alignment,orientation:o=oo.orientation,...n}=e;return Ha("div",{...n,className:a(At,{[`${At}-${t}`]:t,[`${At}-${o}`]:o},e.className),children:e.children})};ue.states=Ka;ue.options=_a;ue.className=At;ue.defaultOptions=oo;ue.moduleName=to;ue.folderName=Li;import{jsx as Da}from"react/jsx-runtime";var Pa="k-actionsheet-footer",hi={alignment:"stretched",orientation:"horizontal"},_e=e=>{let{alignment:t=hi.alignment,orientation:o=hi.orientation,template:n,as:i=n?"div":ue,...r}=e;return Da(i,{...r,...!n&&{alignment:t,orientation:o},className:a(e.className,Pa),children:e.children})};var io="searchbox",Ni=io;import{jsx as rt,jsxs as za}from"react/jsx-runtime";var Ii="k-searchbox",wa=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading],Ba={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},no={showIcon:!0,icon:"search"},X=e=>{let{value:t,placeholder:o,size:n,rounded:i,fillMode:r,hover:d,focus:p,valid:m,invalid:u,required:f,loading:x,disabled:I,showIcon:M=no.showIcon,icon:P=no.icon,"aria-label":y,...A}=e;return za(T,{...A,size:n,rounded:i,fillMode:r,hover:d,focus:p,valid:m,invalid:u,required:f,loading:x,disabled:I,className:a(e.className,Ii),children:[M&&rt(v,{className:"k-input-icon",icon:P}),rt(se,{placeholder:o,value:t,"aria-label":y}),rt(te,{...e}),rt(Y,{...e}),rt(ae,{...e})]})};X.states=wa;X.options=Ba;X.className=Ii;X.defaultOptions=no;X.moduleName=io;X.folderName=Ni;import{jsx as Pm}from"react/jsx-runtime";var ao="textbox",vi=ao;import{Fragment as Ai,jsx as fe,jsxs as so}from"react/jsx-runtime";var Si="k-textbox",Fa=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Ua={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},St={showClearButton:!0,showValidationIcon:!0,separators:!0},R=e=>{let{size:t,rounded:o,fillMode:n,separators:i=St.separators,showClearButton:r=St.showClearButton,showValidationIcon:d=St.showValidationIcon,prefix:p,suffix:m,type:u,value:f,placeholder:x,hover:I,focus:M,valid:P,invalid:y,required:A,loading:O,disabled:G,readonly:de,id:ne,"aria-label":Qe,"aria-describedby":Ze,...je}=e;return so(T,{...je,size:t,rounded:o,fillMode:n,hover:I,focus:M,valid:P,invalid:y,required:A,loading:O,disabled:G,readonly:de,className:a(e.className,Si),children:[p&&so(Ai,{children:[fe(ke,{children:p}),i&&fe(Re,{})]}),fe(se,{id:ne,placeholder:x,value:f,type:u,disabled:G,"aria-label":Qe,"aria-describedby":Ze,"aria-invalid":y?"true":void 0}),d&&fe(Y,{valid:P,invalid:y,loading:O,disabled:G}),fe(te,{loading:O,disabled:G}),r&&fe(ae,{loading:O,disabled:G,readonly:de,value:f}),m&&so(Ai,{children:[i&&fe(Re,{}),fe(Te,{children:m})]})]})};R.states=Fa;R.options=Ua;R.className=Si;R.defaultOptions=St;R.moduleName=ao;R.folderName=vi;var lt=R;import{jsx as Ga}from"react/jsx-runtime";var gi=e=>Ga(lt,{...e});import{Fragment as ec,jsx as jm}from"react/jsx-runtime";import{Fragment as sc,jsx as ac}from"react/jsx-runtime";import{jsx as pc}from"react/jsx-runtime";import{jsx as ro}from"react/jsx-runtime";var Va=R.states,$a=R.defaultOptions,Xa=R.options,Wa=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],qa=[],He=e=>{let{modifiers:t,...o}=e,n={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":n.prefix=t?.[i]?ro(v,{icon:"lock"}):void 0;break;case"suffix":n.suffix=t?.[i]?ro(Ne,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":n.showClearButton=t?.[i];break;default:break}}),ro(gi,{value:"Value",style:{width:300},...o,...n})};He.options=Xa;He.states=Va;He.variants=qa;He.defaultOptions=$a;He.modifiers=Wa;He.className=R.className;import{jsx as be,jsxs as lo}from"react/jsx-runtime";var Ci="k-actionsheet-titlebar",Ja={},Q=e=>{let{title:t,subtitle:o,actionsStart:n,actionsEnd:i,filter:r,input:d,inputValue:p,inputPlaceholder:m,adaptive:u,titleId:f,children:x,...I}=e;return lo("div",{...I,className:a(e.className,Ci),children:[lo("div",{className:"k-actionsheet-titlebar-group",children:[n&&be("div",{className:"k-actionsheet-actions",children:n}),!x&&lo("div",{className:"k-actionsheet-title",id:f,children:[t&&be("div",{className:"k-text-center",children:t}),o&&be("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),x&&be("div",{className:"k-actionsheet-title",id:f,children:x}),i&&be("div",{className:"k-actionsheet-actions",children:i})]}),(d||r)&&be("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?be(R,{value:p,placeholder:m,size:u?"large":"medium","aria-label":t||m||"Input"}):be(X,{placeholder:"Filter",size:u?"large":"medium","aria-label":"Filter options"})})]})};Q.className=Ci;Q.defaultOptions=Ja;import{jsx as po,jsxs as ja}from"react/jsx-runtime";var mo="k-actionsheet-view",Ya=[],Qa={},Za={},Pe=e=>{let{adaptive:t,animated:o,children:n,header:i,footer:r,titleId:d,...p}=e,m=i?.type===Q&&po(Q,{adaptive:t,titleId:d,...i?.props}),u=r?.type===_e&&po(_e,{...r?.props});return ja("div",{...p,className:a(e.className,mo,{[`${mo}-animated`]:o}),children:[m,po("div",{className:"k-actionsheet-content",children:n}),u]})};Pe.states=Ya;Pe.options=Qa;Pe.className=mo;Pe.defaultOptions=Za;var dt="action-sheet",gt=dt;var co="overlay",Ei=co;import{jsx as is}from"react/jsx-runtime";var Mi="k-overlay",es=[],ts={},os={},xe=e=>{let{...t}=e;return is("div",{...t,className:a(e.className,Mi),children:e.children})};xe.states=es;xe.options=ts;xe.className=Mi;xe.defaultOptions=os;xe.moduleName=co;xe.folderName=Ei;import{jsx as Ct,jsxs as ss}from"react/jsx-runtime";var Oi="k-actionsheet",ns=[],as={},pt={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},K=e=>{let{side:t=pt.side,fullscreen:o=pt.fullscreen,adaptive:n=pt.adaptive,overlay:i=pt.overlay,template:r,children:d,header:p,footer:m,id:u,...f}=e,x=u&&!r&&p?`${u}-title`:void 0;return ss("div",{className:"k-actionsheet-container",children:[i&&Ct(xe,{}),Ct(ie,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:Ct("div",{...f,id:u,role:"dialog","aria-modal":i?"true":void 0,"aria-labelledby":x,className:a(e.className,Oi,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":n}),children:r||Ct(Pe,{header:p,footer:m,adaptive:n,titleId:x,...e,children:d})})})]})};K.states=ns;K.options=as;K.className=Oi;K.defaultOptions=pt;K.moduleName=dt;K.folderName=gt;import{jsx as ps}from"react/jsx-runtime";var yi="k-actionsheet-container",rs=[],ls={},ds={},De=e=>{let{children:t,...o}=e;return ps("div",{...o,className:yi,children:t})};De.states=rs;De.options=ls;De.className=yi;De.defaultOptions=ds;De.moduleName=dt;De.folderName=gt;import{jsx as ms}from"react/jsx-runtime";var uo=e=>{let{...t}=e;return ms("div",{...t,className:a(e.className,"k-list-ul"),children:e.children})};import{Fragment as us,jsx as mt,jsxs as fo}from"react/jsx-runtime";var bo="k-actionsheet-item",cs=[s.hover,s.focus,s.selected,s.disabled],Le=e=>{let{iconName:t,text:o,description:n,hover:i,focus:r,selected:d,disabled:p,...m}=e;return fo("span",{...m,className:a(e.className,bo,g(bo,{hover:i,focus:r,selected:d,disabled:p})),children:[!e.children&&mt(us,{children:fo("span",{className:"k-actionsheet-action",children:[t&&mt("span",{className:"k-icon-wrap",children:mt(v,{className:"k-actionsheet-item-icon",icon:t})}),fo("span",{className:"k-actionsheet-item-text",children:[o&&mt("span",{className:"k-actionsheet-item-title",children:o}),n&&mt("span",{className:"k-actionsheet-item-description",children:n})]})]})}),e.children]})};Le.states=cs;Le.className=bo;import{jsx as du,jsxs as pu}from"react/jsx-runtime";import{jsx as fu}from"react/jsx-runtime";import{jsx as hu}from"react/jsx-runtime";import{jsx as Au}from"react/jsx-runtime";import{jsx as k,jsxs as xo}from"react/jsx-runtime";var fs=K.options,bs=K.states,Ti={...K.defaultOptions,variant:"normal"},xs=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Ls=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],we=e=>{let{variant:t,modifiers:o,...n}={...Ti,...e},i={},r=xo(uo,{children:[k(Le,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),k(Le,{text:"Add to Favorites",iconName:"heart"}),k(Le,{text:"Upload New",iconName:"upload",disabled:!0}),k("hr",{className:"k-hr"}),k(Le,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",p="Select Item";return t==="fullScreen"&&(i.fullScreen=!0),Object.keys(o||{}).forEach(m=>{switch(m){case"actions":i.actionsStart=!!o?.[m],i.actionsEnd=!!o?.[m];break;case"subtitle":i.subtitle=o?.[m]?d:void 0;break;case"footer":i.footer=!!o?.[m];break;default:break}}),t==="adaptive"?k(K,{...n,adaptive:!0,fullscreen:i.fullScreen,header:k(Q,{actionsStart:i.actionsStart?k(L,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:i.actionsEnd?k(L,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:p,subtitle:i.subtitle}),footer:i.footer?xo(_e,{alignment:"stretched",children:[k(L,{text:"Cancel",size:"large",themeColor:"base"}),k(L,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:r}):k(K,{...n,fullscreen:i.fullScreen,header:k(Q,{actionsStart:i.actionsStart?k(L,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:i.actionsEnd?k(L,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:i.subtitle}),footer:i.footer?xo(_e,{alignment:"stretched",children:[k(L,{text:"Apply",themeColor:"primary"}),k(L,{text:"Cancel",themeColor:"base"})]}):void 0,children:r})};we.options=fs;we.states=bs;we.variants=xs;we.defaultOptions=Ti;we.modifiers=Ls;we.className=K.className;import No from"react";import{jsx as Ri}from"react/jsx-runtime";var hs="k-list-group-sticky-header",Lo=e=>Ri("div",{className:a(hs,e.className),children:Ri("div",{className:"k-list-header-text",children:e.children})});import{jsx as Is}from"react/jsx-runtime";var Ns="k-no-data",ho=e=>{let{live:t,...o}=e;return Is("span",{...o,className:a(Ns,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Ie="list",Be=Ie;import{jsx as Ki,jsxs as _i}from"react/jsx-runtime";var Io="k-list",vs=[],As={size:[l.undefined,l.small,l.medium,l.large]},Ss={},E=e=>{let{size:t,virtualization:o,children:n,header:i,selectAll:r,optionLabel:d,customValue:p,noData:m,screenReaders:u,...f}=e,I=No.Children.toArray(n)[0],M=I?.props?.children?No.Children.count(I.props.children):No.Children.count(n);return _i("div",{...f,className:a(e.className,Io,S(Io,{size:t}),{"k-virtual-list":o}),children:[d,r,p,i&&Ki(Lo,{children:i}),n||(m!==void 0?m:Ki(ho,{live:!0,children:"No data found."})),u&&n&&_i(ho,{className:"k-sr-only",live:!0,children:[M," items found."]})]})};E.states=vs;E.options=As;E.className=Io;E.defaultOptions=Ss;E.moduleName=Ie;E.folderName=Be;import{jsx as Ms}from"react/jsx-runtime";var Hi="k-list-container",gs=[],Cs={},Es={},ze=e=>{let{...t}=e;return Ms("div",{...t,className:a(e.className,Hi),children:e.children})};ze.states=gs;ze.options=Cs;ze.className=Hi;ze.defaultOptions=Es;ze.moduleName=Ie;ze.folderName=Be;var ve="checkbox",Fe=ve;import{jsx as Pi}from"react/jsx-runtime";var Et="k-checkbox",Os=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.checked,s.indeterminate],ys={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full]},ks={},$=e=>{let{id:t,checked:o,indeterminate:n,hover:i,focus:r,disabled:d,invalid:p,valid:m,required:u,size:f,rounded:x,wrapperRole:I,...M}=e;return Pi("span",{className:"k-checkbox-wrap",role:I,children:Pi("input",{...M,id:t,type:"checkbox",defaultChecked:o,required:u,disabled:d||void 0,"aria-invalid":p?"true":void 0,className:a(e.className,Et,S(Et,{size:f,rounded:x}),g(Et,{hover:i,focus:r,disabled:d,invalid:p,valid:m,indeterminate:n,checked:o}))})})};$.states=Os;$.options=ys;$.className=Et;$.defaultOptions=ks;$.moduleName=ve;$.folderName=Fe;var Z=$;import{jsx as Ks}from"react/jsx-runtime";var Di="k-checkbox-list",Ts=[],Rs={},wi={layout:"vertical"},D=e=>{let{layout:t=wi.layout,...o}=e;return Ks("ul",{...o,className:a(e.className,Di,{[`k-list-${t}`]:t}),children:e.children})};D.states=Ts;D.options=Rs;D.className=Di;D.defaultOptions=wi;D.moduleName=ve;D.folderName=Fe;import{jsx as Ds}from"react/jsx-runtime";var Bi="k-checkbox-list-item",_s=[],Hs={},Ps={},w=e=>{let{...t}=e;return Ds("li",{...t,className:a(e.className,Bi),children:e.children})};w.states=_s;w.options=Hs;w.className=Bi;w.defaultOptions=Ps;w.moduleName=ve;w.folderName=Fe;import{Fragment as ws,jsx as zi,jsxs as Bs}from"react/jsx-runtime";var re=({children:e="Label",id:t="cb-label-after",...o})=>Bs(ws,{children:[zi(Z,{id:t,...o}),zi("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as Rf,jsx as Tf,jsxs as Kf}from"react/jsx-runtime";import{Fragment as wf,jsx as Df,jsxs as Bf}from"react/jsx-runtime";import{Fragment as Vf,jsx as Gf,jsxs as $f}from"react/jsx-runtime";import{jsx as Jf}from"react/jsx-runtime";import{jsx as jf}from"react/jsx-runtime";import{jsx as ib}from"react/jsx-runtime";import{jsx as W,jsxs as Fi}from"react/jsx-runtime";var zs=D.options,Fs=D.states,Us={...D.defaultOptions,variant:"vertical"},Gs=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Vs=[],Ue=e=>{let{variant:t,...o}=e;return t==="horizontal"?Fi(D,{layout:"horizontal",...o,children:[W(w,{children:W(re,{id:N("cb"),defaultChecked:!0,children:"Label"})}),W(w,{children:W(re,{id:N("cb"),children:"Label"})}),W(w,{children:W(re,{id:N("cb"),children:"Label"})})]}):Fi(D,{...o,children:[W(w,{children:W(re,{id:N("cb"),defaultChecked:!0,children:"Label"})}),W(w,{children:W(re,{id:N("cb"),children:"Label"})}),W(w,{children:W(re,{id:N("cb"),children:"Label"})})]})};Ue.options=zs;Ue.states=Fs;Ue.variants=Gs;Ue.defaultOptions=Us;Ue.modifiers=Vs;Ue.className=D.className;import{jsx as Ys}from"react/jsx-runtime";var $s=Z.options,Xs=Z.states,Ws=Z.defaultOptions,qs=[],Js=[],Ge=e=>Ys(re,{id:N("checkbox"),...e,defaultChecked:!0,children:"Label"});Ge.options=$s;Ge.states=Xs;Ge.variants=qs;Ge.defaultOptions=Ws;Ge.modifiers=Js;Ge.className=Z.className;import{jsx as Ae,jsxs as er}from"react/jsx-runtime";var vo="k-list-item",Qs=[s.hover,s.focus,s.selected,s.disabled],Zs={},js={},C=e=>{let{text:t,groupLabel:o,group:n,iconName:i,iconClassName:r,showCheckbox:d,checked:p,hover:m,focus:u,selected:f,disabled:x,actions:I,description:M,id:P,...y}=e,A=t||e.children,O=t||(typeof A=="string"?A:void 0);return er("li",{...y,id:P,role:n?"presentation":"option",tabIndex:n?void 0:u?0:-1,"aria-selected":!n&&f?"true":n?void 0:"false","aria-disabled":!n&&x?"true":void 0,className:a(e.className,n?"k-list-group-item":vo,g(vo,{hover:m,focus:u,disabled:x,selected:f})),children:[d&&Ae($,{checked:p,disabled:x,"aria-label":O,tabIndex:-1}),i&&Ae("span",{className:"k-list-item-icon-wrapper",children:Ae(v,{icon:i,className:a("k-list-item-icon",r)})}),Ae("span",{className:"k-list-item-text",children:A}),I&&Ae("div",{className:"k-list-item-actions",children:I}),M&&Ae("span",{className:"k-list-item-description",children:M}),o&&o!==""&&Ae("div",{className:"k-list-item-group-label",children:o})]})};C.states=Qs;C.options=Zs;C.className=vo;C.defaultOptions=js;C.moduleName=Ie;C.folderName=Be;import{jsx as or}from"react/jsx-runtime";var tr="k-list-ul",Ve=e=>{let{children:t,role:o,id:n,...i}=e;return or("ul",{...i,id:n,role:o,className:a(tr,e.className),children:t})};import{jsx as Ao,jsxs as nr}from"react/jsx-runtime";var ir="k-list-content",B=e=>{let{virtualization:t,grouping:o,"aria-label":n,"aria-labelledby":i,listboxId:r,...d}=e;return nr("div",{...d,className:a(ir,e.className),role:o?"listbox":void 0,id:o?r:void 0,"aria-label":o?n:void 0,"aria-labelledby":o?i:void 0,children:[o?e.children:Ao(Ve,{role:"listbox",id:r,"aria-label":n,"aria-labelledby":i,children:e.children}),t&&Ao("div",{className:"k-height-container",children:Ao("div",{})})]})};import{jsx as So,jsxs as lr}from"react/jsx-runtime";var Mt="k-list-sticky-header",ar=[s.hover,s.focus,s.selected],sr={},rr={},Ot=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:n,indeterminate:i,hover:r,focus:d,selected:p,...m}=e;return So("div",{...m,className:a(Mt,e.className),children:lr("div",{className:a(`${Mt}-item`,g(`${Mt}-item`,{hover:r,focus:d,selected:p})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":p?"true":"false"},children:[o&&So($,{checked:n,indeterminate:i,"aria-label":t}),So("span",{className:"k-list-item-text",children:t})]})})};Ot.states=ar;Ot.options=sr;Ot.className=Mt;Ot.defaultOptions=rr;import{Fragment as Qb,jsx as Yb,jsxs as Zb}from"react/jsx-runtime";import{jsx as ix,jsxs as nx}from"react/jsx-runtime";import{jsx as cr}from"react/jsx-runtime";var go="k-list-optionlabel",dr=[s.hover,s.focus,s.selected,s.disabled],pr={},mr={},yt=e=>{let{text:t,hover:o,focus:n,selected:i,disabled:r,...d}=e;return cr("div",{...d,className:a(go,g(go,{hover:o,focus:n,selected:i,disabled:r})),children:t})};yt.states=dr;yt.options=pr;yt.className=go;yt.defaultOptions=mr;import{jsx as xr}from"react/jsx-runtime";var Co="k-list-custom-value",ur=[s.hover,s.focus,s.selected,s.disabled],fr={},br={},kt=e=>{let{text:t,hover:o,focus:n,selected:i,disabled:r,...d}=e;return xr("div",{...d,className:a(Co,g(Co,{hover:o,focus:n,selected:i,disabled:r})),children:t})};kt.states=ur;kt.options=fr;kt.className=Co;kt.defaultOptions=br;import{Fragment as xx,jsx as bx,jsxs as Lx}from"react/jsx-runtime";import{Fragment as Sx,jsx as Ax,jsxs as gx}from"react/jsx-runtime";import{Fragment as Tx,jsx as yx,jsxs as kx}from"react/jsx-runtime";import{Fragment as wx,jsx as Px,jsxs as Dx}from"react/jsx-runtime";import{jsx as Ux}from"react/jsx-runtime";import{Fragment as qx,jsx as Wx,jsxs as Jx}from"react/jsx-runtime";import{Fragment as tL,jsx as eL,jsxs as oL}from"react/jsx-runtime";var Ui="dropdown-list",Gi="dropdownlist";import{Fragment as Nr,jsx as z,jsxs as Mo}from"react/jsx-runtime";var Vi="k-dropdownlist",Lr=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],hr={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Oo={showValue:!0,arrowIconName:"chevron-down"},U=e=>{let{size:t,rounded:o,fillMode:n,arrowIconName:i=Oo.arrowIconName,showValue:r=Oo.showValue,valueIconName:d,prefix:p,suffix:m,value:u,placeholder:f,hover:x,focus:I,valid:M,invalid:P,required:y,loading:A,disabled:O,readonly:G,popup:de,opened:ne,adaptive:Qe,adaptiveSettings:Ze,adaptiveTitle:je,adaptiveSubtitle:Zi,adaptiveFilter:ji,id:et,activeDescendant:yo,"aria-label":en,...tn}=e,on=et?`${et}-listbox`:void 0,ko=et?`${et}-value`:void 0;return Mo(Nr,{children:[Mo(me,{...tn,id:et,size:t,rounded:o,fillMode:n,hover:x,focus:I,valid:M,invalid:P,required:y,loading:A,disabled:O,readonly:G,className:a(e.className,Vi,{"k-icon-picker":!r&&d}),role:"combobox","aria-haspopup":"listbox","aria-expanded":ne?"true":"false","aria-controls":ne?on:void 0,"aria-activedescendant":ne&&yo?yo:void 0,"aria-describedby":ne?ko:void 0,"aria-disabled":O?"true":void 0,"aria-label":en,tabIndex:0,children:[z(ke,{children:p}),z(st,{placeholder:f,value:u,showValue:r,valueIconName:d,id:ko}),z(Y,{valid:M,invalid:P,loading:A,disabled:O}),z(te,{loading:A,disabled:O}),z(Te,{children:m}),z(L,{className:"k-input-button",icon:i,size:e.size,fillMode:e.fillMode,"aria-label":f||"Toggle dropdown",tabIndex:-1})]}),ne&&de&&z(ce,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:de}),Qe&&z(K,{adaptive:!0,...Ze,header:z(Q,{actionsEnd:z(L,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:ji,inputValue:u,inputPlaceholder:f,title:je,subtitle:Zi}),children:z("div",{className:"k-list-container",children:z(E,{size:"large",children:Mo(B,{"aria-label":"Options",children:[z(C,{text:"List item"}),z(C,{text:"List item"}),z(C,{text:"List item"})]})})})})]})};U.states=Lr;U.options=hr;U.className=Vi;U.defaultOptions=Oo;U.moduleName=Ui;U.folderName=Gi;import{jsx as DL}from"react/jsx-runtime";import{jsx as GL,jsxs as VL}from"react/jsx-runtime";import{Fragment as jL,jsx as QL,jsxs as ZL}from"react/jsx-runtime";import{jsx as nh}from"react/jsx-runtime";import{jsx as ph,jsxs as mh}from"react/jsx-runtime";import{Fragment as Ih,jsx as hh,jsxs as Nh}from"react/jsx-runtime";import{jsx as Ch}from"react/jsx-runtime";import{Fragment as Cr,jsx as he,jsxs as $i}from"react/jsx-runtime";var Ir=U.states,vr=U.defaultOptions,Ar=U.options,Sr=[{name:"opened",title:"Opened"}],gr=[],Xe=e=>{let{modifiers:t,...o}=e,n={},i=$i(Cr,{children:[he("div",{className:"k-list-filter",children:he(X,{})}),he(E,{style:{width:300},size:o.size,children:$i(B,{children:[he(C,{children:"List item"}),he(C,{children:"List item"}),he(C,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(r=>{r==="opened"&&(n.opened=!!t?.[r],n.popup=t?.[r]?i:void 0)}),he("div",{children:he(U,{placeholder:"Value",style:{width:300},...o,...n})})};Xe.options=Ar;Xe.states=Ir;Xe.variants=gr;Xe.defaultOptions=vr;Xe.modifiers=Sr;Xe.className=U.className;var Se="radio",We=Se;import{jsx as Xi}from"react/jsx-runtime";var Tt="k-radio",Er=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.checked],Mr={size:[l.undefined,l.small,l.medium,l.large]},Or={},j=e=>{let{id:t,checked:o,hover:n,focus:i,disabled:r,invalid:d,valid:p,required:m,size:u,...f}=e;return Xi("span",{className:"k-radio-wrap",children:Xi("input",{...f,id:t,type:"radio",checked:o,required:m,disabled:r||void 0,"aria-invalid":d?"true":void 0,className:a(e.className,Tt,S(Tt,{size:u}),g(Tt,{hover:n,focus:i,disabled:r,invalid:d,valid:p,checked:o}))})})};j.states=Er;j.options=Mr;j.className=Tt;j.defaultOptions=Or;j.moduleName=Se;j.folderName=We;var q=j;import{jsx as Tr}from"react/jsx-runtime";var Wi="k-radio-list",yr=[],kr={},qi={layout:"vertical"},_=e=>{let{layout:t=qi.layout,...o}=e;return Tr("ul",{...o,className:a(e.className,Wi,{[`k-list-${t}`]:t}),role:"radiogroup",children:e.children})};_.states=yr;_.options=kr;_.className=Wi;_.defaultOptions=qi;_.moduleName=Se;_.folderName=We;import{jsx as Hr}from"react/jsx-runtime";var Ji="k-radio-list-item",Rr=[],Kr={},_r={},H=e=>{let{...t}=e;return Hr("li",{...t,className:a(e.className,Ji),role:"none",children:e.children})};H.states=Rr;H.options=Kr;H.className=Ji;H.defaultOptions=_r;H.moduleName=Se;H.folderName=We;import{jsx as nN}from"react/jsx-runtime";import{Fragment as Pr,jsx as Yi,jsxs as Dr}from"react/jsx-runtime";var le=({children:e,id:t,...o})=>Dr(Pr,{children:[Yi(q,{...o,id:t}),Yi("label",{className:"k-radio-label",htmlFor:t,children:e})]});import{Fragment as cN,jsx as mN,jsxs as uN}from"react/jsx-runtime";import{Fragment as NN,jsx as LN,jsxs as hN}from"react/jsx-runtime";import{Fragment as gN,jsx as SN,jsxs as CN}from"react/jsx-runtime";import{Fragment as kN,jsx as yN,jsxs as TN}from"react/jsx-runtime";import{Fragment as wN,jsx as DN,jsxs as BN}from"react/jsx-runtime";import{jsx as GN}from"react/jsx-runtime";import{jsx as Vr}from"react/jsx-runtime";var Br=q.options,zr=q.states,Fr=q.defaultOptions,Ur=[],Gr=[],qe=e=>Vr(le,{id:N("radio"),name:"value",...e,children:"Label"});qe.options=Br;qe.states=zr;qe.variants=Ur;qe.defaultOptions=Fr;qe.modifiers=Gr;qe.className=q.className;import{jsx as J,jsxs as Qi}from"react/jsx-runtime";var $r=_.options,Xr=_.states,Wr={..._.defaultOptions,variant:"vertical"},qr=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Jr=[],Je=e=>{let{variant:t,...o}=e;return t==="horizontal"?Qi(_,{layout:"horizontal",...o,children:[J(H,{children:J(le,{id:N("rb"),name:"value",defaultChecked:!0,children:"Label"})}),J(H,{children:J(le,{id:N("rb"),name:"value",children:"Label"})}),J(H,{children:J(le,{id:N("rb"),name:"value",children:"Label"})})]}):Qi(_,{...o,children:[J(H,{children:J(le,{id:N("rb"),name:"value",defaultChecked:!0,children:"Label"})}),J(H,{children:J(le,{id:N("rb"),name:"value",children:"Label"})}),J(H,{children:J(le,{id:N("rb"),name:"value",children:"Label"})})]})};Je.options=$r;Je.states=Xr;Je.variants=qr;Je.defaultOptions=Wr;Je.modifiers=Jr;Je.className=_.className;import{Fragment as tl,jsx as F,jsxs as Ye}from"react/jsx-runtime";var Yr=V.options,Qr=V.states,Zr={...V.defaultOptions,variant:"vertical"},jr=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],el=[],ge=e=>{let{variant:t,size:o,...n}=e,i=Ye(Ht,{legend:"Form Legend",children:[F(Me,{label:"Label",editor:F(R,{size:o})}),F(Me,{label:"Label",hint:"Hint text",editor:F(U,{value:"Dropdown List",size:o})}),F(Me,{label:"City",editor:Ye("ul",{className:"k-radio-list k-list-horizontal",children:[Ye("li",{className:"k-radio-list-item",children:[F(j,{checked:!0,size:o}),F("label",{className:"k-radio-label",children:"Label"})]}),Ye("li",{className:"k-radio-list-item",children:[F(j,{size:o}),F("label",{className:"k-radio-label",children:"Label"})]}),Ye("li",{className:"k-radio-list-item",children:[F(j,{size:o}),F("label",{className:"k-radio-label",children:"Label"})]})]})})]}),r=Ye(tl,{children:[F(L,{className:"k-form-submit",themeColor:"primary",size:o,children:"Submit"}),F(L,{className:"k-form-clear",size:o,children:"Clear"})]});return t==="horizontal"?F(V,{orientation:"horizontal",size:o,...n,formButtons:r,children:i}):F(V,{size:o,...n,formButtons:r,children:i})};ge.options=Yr;ge.states=Qr;ge.variants=jr;ge.defaultOptions=Zr;ge.modifiers=el;ge.className=V.className;var EI=ge;export{ge as FormDemo,EI as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var r=(...o)=>o.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?r(...e):typeof e=="object"?Object.keys(e).map((t,n)=>e[n]||e[t]&&t||null).filter(t=>t!==null).join(" "):e).filter(e=>!!e).join(" ");var p=(o,e)=>{let{valid:t,invalid:n,hover:d,focus:m,checked:
|
|
1
|
+
var r=(...o)=>o.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?r(...e):typeof e=="object"?Object.keys(e).map((t,n)=>e[n]||e[t]&&t||null).filter(t=>t!==null).join(" "):e).filter(e=>!!e).join(" ");var p=(o,e)=>{let{valid:t,invalid:n,hover:d,focus:m,checked:a,active:u,selected:g,disabled:h,indeterminate:L,loading:f,empty:k,readonly:O,highlighted:H,...N}=e;return r({"k-valid":t,"k-invalid":n,"k-hover":d,"k-focus":m,"k-checked":a,"k-active":u,"k-selected":g,"k-disabled":h,"k-indeterminate":L&&!a,"k-loading":f,"k-empty":k,"k-readonly":O,"k-highlighted":H},Object.keys(N).reduce((E,c)=>(c.startsWith("k-")?E[c]=N[c]:E[`k-${c}`]=N[c],E),{}))};var x={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 F="label",A="label";import{jsx as S,jsxs as P}from"react/jsx-runtime";var v="k-label",_=[x.disabled],T={},z={},l=o=>{let{disabled:e,optional:t,info:n,text:d,children:m,...a}=o;return P("label",{...a,className:r(o.className,v,p(v,{disabled:e})),children:[d||m,t&&S("span",{className:"k-label-optional",children:"(Optional)"}),n&&S("span",{className:"k-field-info",children:n})]})};l.states=_;l.options=T;l.className=v;l.defaultOptions=z;l.moduleName=F;l.folderName=A;import{jsx as I}from"react/jsx-runtime";var R="k-form-hint",C=[],D={},B={},i=o=>{let{text:e,children:t,...n}=o;return I("div",{...n,className:r(o.className,R),children:e||t})};i.states=C;i.options=D;i.className=R;i.defaultOptions=B;import{jsx as U}from"react/jsx-runtime";var $="k-form-error",w=[],j={},q={},s=o=>{let{text:e,children:t,...n}=o;return U("div",{...n,className:r(o.className,$),children:e||t})};s.states=w;s.options=j;s.className=$;s.defaultOptions=q;import{jsx as b,jsxs as K}from"react/jsx-runtime";var y="k-form-field",J=[x.disabled],M=o=>{let{editorId:e,label:t,orientation:n,optional:d,editor:m,hint:a,error:u,info:g,disabled:h,dir:L,colSpan:f,...k}=o;return K("div",{...k,className:r(y,o.className,p(y,{disabled:h}),{[`k-col-span-${f}`]:f}),dir:L,children:[t&&b(l,{className:"k-form-label",id:e?`${e}-label`:void 0,htmlFor:e||void 0,optional:d,info:g?"(field info)":void 0,children:t}),n==="horizontal"&&!t&&b("span",{className:"k-label k-form-label k-label-empty"}),K("div",{className:"k-form-field-wrap",children:[m,a&&b(i,{id:e?`${e}-hint`:void 0,children:a}),u&&b(s,{id:e?`${e}-error`:void 0,children:u})]})]})};M.states=J;M.className=y;var he=M;export{y as FORMFIELD_CLASSNAME,M as FormField,he as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var i=(...t)=>t.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?i(...e):typeof e=="object"?Object.keys(e).map((n,d)=>e[d]||e[n]&&n||null).filter(n=>n!==null).join(" "):e).filter(e=>!!e).join(" ");var g=(t,e)=>i({[`${t}-xs`]:e.size==="xsmall",[`${t}-sm`]:e.size==="small",[`${t}-md`]:e.size==="medium",[`${t}-lg`]:e.size==="large",[`${t}-xl`]:e.size==="xlarge",[`${t}-xxl`]:e.size==="xxlarge",[`${t}-xxxl`]:e.size==="xxxlarge"},{[`${t}-${e.fillMode}`]:e.fillMode},{[`${t}-${e.themeColor}`]:e.themeColor},{"k-rounded-sm":e.rounded==="small","k-rounded-md":e.rounded==="medium","k-rounded-lg":e.rounded==="large","k-rounded-full":e.rounded==="full","k-rounded-none":e.rounded==="none"});var l={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"};var x="form",y="forms";import{Fragment as h,jsx as s,jsxs as
|
|
1
|
+
var i=(...t)=>t.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?i(...e):typeof e=="object"?Object.keys(e).map((n,d)=>e[d]||e[n]&&n||null).filter(n=>n!==null).join(" "):e).filter(e=>!!e).join(" ");var g=(t,e)=>i({[`${t}-xs`]:e.size==="xsmall",[`${t}-sm`]:e.size==="small",[`${t}-md`]:e.size==="medium",[`${t}-lg`]:e.size==="large",[`${t}-xl`]:e.size==="xlarge",[`${t}-xxl`]:e.size==="xxlarge",[`${t}-xxxl`]:e.size==="xxxlarge"},{[`${t}-${e.fillMode}`]:e.fillMode},{[`${t}-${e.themeColor}`]:e.themeColor},{"k-rounded-sm":e.rounded==="small","k-rounded-md":e.rounded==="medium","k-rounded-lg":e.rounded==="large","k-rounded-full":e.rounded==="full","k-rounded-none":e.rounded==="none"});var l={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"};var x="form",y="forms";import{Fragment as h,jsx as s,jsxs as A}from"react/jsx-runtime";var a="k-form",z=[],F={size:[l.undefined,l.small,l.medium,l.large]},c={layout:"basic",tag:"form"},r=t=>{let{size:e,orientation:n,layout:d=c.layout,formButtons:u,cols:m,gutters:o,tag:k=c.tag,children:f,style:b}=t,v=k,p=i(t.className,a,g(a,{size:e}),{[`${a}-${n}`]:n}),M=A(h,{children:[d==="grid"?s("div",{className:i("k-form-layout","k-d-grid",{[`k-grid-cols-${m}`]:m}),style:{...typeof o=="string"&&{gap:o},...typeof o=="object"&&o.rows&&{rowGap:o.rows},...typeof o=="object"&&o.cols&&{columnGap:o.cols},...b},children:f}):s(h,{children:f}),u&&s("div",{className:"k-form-buttons",children:u})]}),{role:$,"aria-labelledby":O,"aria-label":R,id:N}=t;return s(v,{className:p,role:$,"aria-labelledby":O,"aria-label":R,id:N,children:M})};r.states=z;r.options=F;r.className=a;r.defaultOptions=c;r.moduleName=x;r.folderName=y;var q=r;export{a as FORM_CLASSNAME,r as Form,q as default};
|