@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 i=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?i(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var T=(e,t)=>i({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),z=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:r,checked:d,active:c,selected:m,disabled:x,indeterminate:N,loading:S,empty:M,readonly:P,highlighted:g,...O}=t;return i({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":r,"k-checked":d,"k-active":c,"k-selected":m,"k-disabled":x,"k-indeterminate":N&&!d,"k-loading":S,"k-empty":M,"k-readonly":P,"k-highlighted":g},Object.keys(O).reduce((v,C)=>(C.startsWith("k-")?v[C]=O[C]:v[`k-${C}`]=O[C],v),{}))};function Mt(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var l={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},p={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},h={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},D={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},u={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},s={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var De={};function Et(e){return De[e]=(De[e]||0)+1,`k-${e}-${De[e]}`}var Ne="input",ge=Ne;import{jsx as Oo}from"react/jsx-runtime";var Oe="k-input",Io=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],yo={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},go={},E=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c,size:m,rounded:x,fillMode:N,...S}=e;return Oo("span",{...S,className:i(e.className,Oe,T(Oe,{size:m,rounded:x,fillMode:N}),z(Oe,{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c}))})};E.states=Io;E.options=yo;E.className=Oe;E.defaultOptions=go;E.moduleName=Ne;E.folderName=ge;import{jsx as Po}from"react/jsx-runtime";var Ce="k-picker",Co=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],ko={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Lo={},oe=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c,size:m,rounded:x,fillMode:N,...S}=e;return Po("span",{...S,className:i(e.className,Ce,T(Ce,{size:m,rounded:x,fillMode:N}),z(Ce,{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c})),children:e.children})};oe.states=Co;oe.options=ko;oe.className=Ce;oe.defaultOptions=Lo;oe.moduleName=Ne;oe.folderName=ge;import{Fragment as Ko,jsx as It}from"react/jsx-runtime";var Fe="k-font-icon",Ho=[],_o={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info]},Ro={},he=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:r,...d}=e;return a?It("span",{...d,className:i(e.className,Fe,T(Fe,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),"aria-hidden":"true"}):It(Ko,{})};he.states=Ho;he.options=_o;he.className=Fe;he.defaultOptions=Ro;var yt=he;import{Fragment as zo,jsx as ke}from"react/jsx-runtime";var Ve="k-svg-icon",Bo=[],wo={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info],variant:[D.outline,D.solid,D.duotone]},Ue={viewBox:"0 0 24 24",variant:D.outline},Se=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:r=Ue.viewBox,variant:d=Ue.variant,icon:c,...m}=e;if(!c)return ke(zo,{});if(c==="none")return ke("span",{...m,className:i(e.className,Ve,T("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let x=typeof c=="object"&&c.name&&c.name,N=typeof c=="object"?d&&c.variants?.[d]||c.variants?.outline||c.content:void 0;return ke("span",{...m,className:i(e.className,Ve,T("k-icon",{size:t}),{[`k-svg-i-${x}`]:x,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:ke("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:r,dangerouslySetInnerHTML:N!==void 0?{__html:N}:void 0,children:c?void 0:e.children})})};Se.states=Bo;Se.options=wo;Se.className=Ve;Se.defaultOptions=Ue;var $e=Se;import*as Xe from"@progress/kendo-svg-icons";var gt="icon",Ot="icons";import{useContext as Fo}from"react";import{createContext as Do}from"react";var Ct=Do({iconsType:"svg"});import{Fragment as kt,jsx as be}from"react/jsx-runtime";var Le="k-icon",Vo=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Uo=[],$o={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info],variant:[D.outline,D.solid,D.duotone]},Pe={viewBox:"0 0 24 24",type:"svg",variant:D.outline},b=e=>{let{iconsType:t}=Fo(Ct),{size:o,themeColor:a,icon:n,type:r=t||Pe.type,rotate:d,flip:c,viewBox:m=Pe.viewBox,variant:x=Pe.variant,...N}=e;if(!n)return be(kt,{});if((t||r)==="svg"){if(n==="none")return be($e,{...N,className:i(e.className,Le),icon:n,size:o,variant:x});let M=Xe[n]?n:Vo(`${n}-icon`);return Xe[M]?be($e,{...N,className:i(e.className,Le),icon:Xe[M],size:o,themeColor:a,rotate:d,flip:c,viewBox:m,variant:x}):be(kt,{})}return be(yt,{...N,className:i(e.className,Le),icon:n,size:o,themeColor:a,rotate:d,flip:c})};b.states=Uo;b.options=$o;b.defaultOptions=Pe;b.className=Le;b.moduleName=gt;b.folderName=Ot;import{Fragment as qo,jsx as Je}from"react/jsx-runtime";var Lt="k-clear-value",Xo=[s.disabled,s.loading,s.readonly],Jo={},_=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?Je(qo,{}):Je("span",{className:i(e.className,Lt),children:Je(b,{icon:"x"})})};_.states=Xo;_.options=Jo;_.className=Lt;import{jsx as Wo}from"react/jsx-runtime";var qe="k-input-inner",Go=[],Yo={},He={type:"text",autocomplete:"off",value:"",placeholder:""},R=e=>{let{value:t=He.value,type:o=He.type,placeholder:a=He.placeholder,autocomplete:n=He.autocomplete,disabled:r,readOnly:d,...c}=e;return Wo("input",{...c,type:o,className:i(e.className,qe,T(qe,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:r||void 0,readOnly:d||void 0})};R.states=Go;R.options=Yo;R.className=qe;import{jsx as Pt,jsxs as jo}from"react/jsx-runtime";var Ge="k-input-inner",Qo=[],Zo={},Ye=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:r,...d}=e;return jo("span",{...d,className:i(e.className,Ge,T(Ge,e)),children:[n,!n&&r&&Pt(b,{className:"k-input-value-icon",icon:r}),a&&!t&&o,a&&t&&Pt("span",{className:"k-input-value-text",children:t})]})};Ye.states=Qo;Ye.options=Zo;Ye.className=Ge;import{jsx as on}from"react/jsx-runtime";var We="k-input-inner",en=[],tn={},Ht={value:"",placeholder:""},Qe=e=>{let{value:t=Ht.value,placeholder:o=Ht.placeholder,rows:a,disabled:n,...r}=e;return on("textarea",{...r,className:i(e.className,We,T(We,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};Qe.states=en;Qe.options=tn;Qe.className=We;import{Fragment as an,jsx as _t}from"react/jsx-runtime";var Rt="k-input-loading-icon",nn=[s.disabled,s.loading],F=e=>{let{disabled:t,loading:o}=e;return t||!o?_t(an,{}):_t("span",{className:i(e.className,Rt,"k-icon k-i-loading")})};F.states=nn;F.className=Rt;import{Fragment as ln,jsx as Kt}from"react/jsx-runtime";var Bt="k-input-validation-icon",sn=[s.valid,s.invalid,s.disabled,s.loading],rn={},K=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,r=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?Kt(ln,{}):Kt(b,{className:i(Bt),icon:r})};K.states=sn;K.options=rn;K.className=Bt;import{Fragment as mn,jsx as wt}from"react/jsx-runtime";var cn="k-input-prefix",dn={direction:"horizontal"},ne=e=>{let{direction:t=dn.direction,...o}=e;return e.children?wt("span",{...o,className:i(cn,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):wt(mn,{})};import{Fragment as fn,jsx as zt}from"react/jsx-runtime";var pn="k-input-suffix",un={direction:"horizontal"},ae=e=>{let{direction:t=un.direction,...o}=e;return e.children?zt("span",{...o,className:i(pn,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):zt(fn,{})};import{jsx as Wi}from"react/jsx-runtime";import{jsx as es}from"react/jsx-runtime";import{jsx as Nn}from"react/jsx-runtime";var Dt="k-input-separator",xn={direction:"vertical"},ie=e=>{let{direction:t=xn.direction,...o}=e;return Nn("span",{...o,className:i(Dt,e.className,{[`${Dt}-${t}`]:t})})};var Ze="button",Ft=Ze;import{Fragment as Vt,jsx as se,jsxs as Ut}from"react/jsx-runtime";var ve="k-button",hn=["icon-button"],Sn=[s.hover,s.focus,s.active,s.selected,s.disabled,s.generating],bn={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.inverse]},je={showArrow:!1,arrowIconName:"chevron-down"},f=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:r,showArrow:d=je.showArrow,arrowIconName:c=je.arrowIconName,variant:m,hover:x,focus:N,active:S,selected:M,disabled:P,togglable:g,ariaDisabled:O,icon:v,iconSize:C,text:H,iconClassName:te,className:fe,...xe}=e,Q=v!=null,ze=e.children!==void 0;return Ut(t,{className:i(fe,ve,Mt(ve,m),T(ve,{size:o,rounded:a,fillMode:n,themeColor:r}),z(ve,{hover:x,focus:N,active:S,disabled:P||O,selected:M}),{"k-icon-button":!H&&!ze&&Q}),"aria-pressed":g?M?"true":"false":void 0,...xe,"aria-disabled":O?"true":void 0,disabled:P||void 0,children:[typeof v=="string"&&v&&se(b,{className:i(te,"k-button-icon"),icon:v,size:C}),v&&typeof v!="string"&&se(Vt,{children:v}),H?Ut(Vt,{children:[H&&se("span",{className:"k-button-text",children:H}),e.children]}):e.children&&se("span",{className:"k-button-text",children:e.children}),d&&se("span",{className:"k-menu-button-arrow k-button-arrow",children:se(b,{icon:c})})]})};f.states=Sn;f.options=bn;f.variants=hn;f.className=ve;f.defaultOptions=je;f.moduleName=Ze;f.folderName=Ft;import{jsx as vn}from"react/jsx-runtime";var Z=e=>vn(f,{children:"Button",...e});import{Fragment as $t,jsx as V,jsxs as et}from"react/jsx-runtime";var An=E.states,Tn=E.defaultOptions,Mn=E.options,En=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],In=[],re=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:r,readonly:d,...c}=e,m=t?.prefix,x=t?.suffix,N=t?.["clear-button"],S=t?.["validation-icon"],M=t?.separators;return et(E,{...c,valid:o,invalid:a,loading:n,disabled:r,readonly:d,style:{width:300},children:[m&&et($t,{children:[V(ne,{children:V(b,{icon:"lock"})}),M&&V(ie,{})]}),V(R,{placeholder:"Placeholder",value:"Value"}),S&&V(K,{valid:o,invalid:a,loading:n,disabled:r}),V(F,{loading:n,disabled:r}),N&&V(_,{loading:n,disabled:r,readonly:d,value:"Value"}),x&&et($t,{children:[M&&V(ie,{}),V(ae,{children:V(Z,{size:c.size,fillMode:"clear",children:"Send"})})]})]})};re.options=Mn;re.states=An;re.variants=In;re.defaultOptions=Tn;re.modifiers=En;re.className=E.className;import{jsx as yn}from"react/jsx-runtime";var Xt=e=>yn(f,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as gn}from"react/jsx-runtime";var Jt=e=>gn(f,{icon:"folder",children:"Button",...e});import{jsx as tt}from"react/jsx-runtime";var On=f.options,Cn=f.states,kn={...f.defaultOptions,variant:"text"},Ln=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Pn=[],le=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return tt(Xt,{...o,icon:"star"});case"icon-and-text":return tt(Jt,{...o,icon:"star",children:"Button"});default:return tt(Z,{...o,children:"Button"})}};le.options=On;le.states=Cn;le.variants=Ln;le.defaultOptions=kn;le.modifiers=Pn;le.className=f.className;var ot="popup",qt=ot;import{jsx as Gt}from"react/jsx-runtime";var Yt="k-animation-container",Hn=[],_n={},nt={positionMode:"absolute",shown:!0},U=e=>{let{positionMode:t=nt.positionMode,shown:o=nt.shown,animationStyle:a,offset:n,...r}=e;return Gt("div",{...r,style:{...n,...e.style},className:i(e.className,Yt,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:Gt("div",{className:"k-child-animation-container",style:a,children:e.children})})};U.states=Hn;U.options=_n;U.className=Yt;U.defaultOptions=nt;U.moduleName=ot;U.folderName=qt;var at="popup",Wt=at;import{jsx as Qt}from"react/jsx-runtime";var Zt="k-popup",Rn=[],Kn={},jt={positionMode:"absolute"},B=e=>{let{offset:t,positionMode:o=jt.positionMode,animationStyle:a,containerClassName:n,containerRole:r,containerAriaLabel:d,...c}=e;return Qt(U,{positionMode:o,offset:t,animationStyle:a,className:n,role:r,"aria-label":d,children:Qt("div",{...c,className:i(e.className,Zt),children:e.children})})};B.states=Rn;B.options=Kn;B.className=Zt;B.defaultOptions=jt;B.moduleName=at;B.folderName=Wt;var eo="time-selector",to="timeselector";import{Fragment as oo,jsx as _e,jsxs as no}from"react/jsx-runtime";var it="k-timeselector",Bn=[],wn={size:[l.undefined,l.small,l.medium,l.large]},zn={},$=e=>{let{size:t,header:o,fastSelection:a,columns:n,focusedColumn:r,...d}=e,c=n.map(function(m,x){let N=!1,S=!0;return m===r&&(N=!0),(x===0||m==="tt")&&(S=!1),_e(st,{type:m,focus:N,separator:S},x)});return no("div",{...d,className:i(e.className,it,T(it,{size:t})),role:"group","aria-label":"Time selector",children:[_e(oo,{children:o}),_e(oo,{children:a}),no("div",{className:"k-time-list-container",children:[_e("span",{className:"k-time-highlight"}),c]})]})};$.states=Bn;$.options=wn;$.className=it;$.defaultOptions=zn;$.moduleName=eo;$.folderName=to;import{Fragment as Fn,jsx as j,jsxs as rt}from"react/jsx-runtime";var Dn=[s.focus],st=e=>{let{type:t,focus:o,separator:a,...n}=e,r,d=["00","01","02","03","04","05","06","07","08","09"];switch(t){case"dd":r="Day";break;case"HH":r="Hour";break;case"mm":r="Minute";break;case"ss":r="Second";break;case"SSS":r="Millisecond",d=["000","001","002","003","004","005","006","007","008","009"];break;case"tt":r="AM/PM",d=["AM","PM"];break;default:r="Column Name";break}let c=d.map((m,x)=>j("li",{className:"k-item",role:"option","aria-selected":"false",children:j("span",{children:m})},x));return rt(Fn,{children:[a&&j("div",{className:"k-time-separator",children:":"}),rt("div",{...n,className:i(e.className,"k-time-list-wrapper",z("k-time-list-wrapper",{focus:o})),children:[j("span",{className:"k-title",children:r}),j("div",{className:"k-time-list",role:"listbox","aria-label":r,children:rt("div",{className:"k-content k-scrollable k-time-container",children:[j("ul",{className:"k-reset",style:{transform:"translateY(97px)"},role:"none",children:c}),j("div",{className:"k-scrollable-placeholder"})]})})]})]})};st.states=Dn;import{jsx as Un,jsxs as $n}from"react/jsx-runtime";var Vn="k-time-header",ce=e=>{let{title:t,...o}=e;return $n("div",{...o,className:i(e.className,Vn),children:[t!=null&&Un("span",{className:"k-title",children:t}),e.children]})};var lt="action-buttons",ao=lt;import{jsx as qn}from"react/jsx-runtime";var Re="k-actions",Xn=[],Jn={},ct={alignment:"start",orientation:"horizontal"},k=e=>{let{alignment:t=ct.alignment,orientation:o=ct.orientation,...a}=e;return qn("div",{...a,className:i(Re,{[`${Re}-${t}`]:t,[`${Re}-${o}`]:o},e.className),children:e.children})};k.states=Xn;k.options=Jn;k.className=Re;k.defaultOptions=ct;k.moduleName=lt;k.folderName=ao;import{jsx as Jr,jsxs as qr}from"react/jsx-runtime";import{Fragment as nl,jsx as tl,jsxs as ol}from"react/jsx-runtime";import{Fragment as ul,jsx as ml,jsxs as pl}from"react/jsx-runtime";import{Fragment as Ml,jsx as Al,jsxs as Tl}from"react/jsx-runtime";import{jsx as Yn}from"react/jsx-runtime";var Gn="k-actionsheet-footer",so={alignment:"stretched",orientation:"horizontal"},X=e=>{let{alignment:t=so.alignment,orientation:o=so.orientation,template:a,as:n=a?"div":k,...r}=e;return Yn(n,{...r,...!a&&{alignment:t,orientation:o},className:i(e.className,Gn),children:e.children})};var dt="searchbox",ro=dt;import{jsx as Ae,jsxs as Zn}from"react/jsx-runtime";var lo="k-searchbox",Wn=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading],Qn={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},mt={showIcon:!0,icon:"search"},J=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:r,hover:d,focus:c,valid:m,invalid:x,required:N,loading:S,disabled:M,showIcon:P=mt.showIcon,icon:g=mt.icon,"aria-label":O,...v}=e;return Zn(E,{...v,size:a,rounded:n,fillMode:r,hover:d,focus:c,valid:m,invalid:x,required:N,loading:S,disabled:M,className:i(e.className,lo),children:[P&&Ae(b,{className:"k-input-icon",icon:g}),Ae(R,{placeholder:o,value:t,"aria-label":O}),Ae(F,{...e}),Ae(K,{...e}),Ae(_,{...e})]})};J.states=Wn;J.options=Qn;J.className=lo;J.defaultOptions=mt;J.moduleName=dt;J.folderName=ro;import{jsx as ql}from"react/jsx-runtime";var pt="textbox",co=pt;import{Fragment as mo,jsx as q,jsxs as ut}from"react/jsx-runtime";var po="k-textbox",jn=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],ea={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Ke={showClearButton:!0,showValidationIcon:!0,separators:!0},L=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Ke.separators,showClearButton:r=Ke.showClearButton,showValidationIcon:d=Ke.showValidationIcon,prefix:c,suffix:m,type:x,value:N,placeholder:S,hover:M,focus:P,valid:g,invalid:O,required:v,loading:C,disabled:H,readonly:te,id:fe,"aria-label":xe,"aria-describedby":Q,...ze}=e;return ut(E,{...ze,size:t,rounded:o,fillMode:a,hover:M,focus:P,valid:g,invalid:O,required:v,loading:C,disabled:H,readonly:te,className:i(e.className,po),children:[c&&ut(mo,{children:[q(ne,{children:c}),n&&q(ie,{})]}),q(R,{id:fe,placeholder:S,value:N,type:x,disabled:H,"aria-label":xe,"aria-describedby":Q,"aria-invalid":O?"true":void 0}),d&&q(K,{valid:g,invalid:O,loading:C,disabled:H}),q(F,{loading:C,disabled:H}),r&&q(_,{loading:C,disabled:H,readonly:te,value:N}),m&&ut(mo,{children:[n&&q(ie,{}),q(ae,{children:m})]})]})};L.states=jn;L.options=ea;L.className=po;L.defaultOptions=Ke;L.moduleName=pt;L.folderName=co;var Te=L;import{jsx as ta}from"react/jsx-runtime";var uo=e=>ta(Te,{...e});import{Fragment as mc,jsx as dc}from"react/jsx-runtime";import{Fragment as hc,jsx as Nc}from"react/jsx-runtime";import{jsx as Ac}from"react/jsx-runtime";import{jsx as ft}from"react/jsx-runtime";var oa=L.states,na=L.defaultOptions,aa=L.options,ia=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],sa=[],de=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?ft(b,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[n]?ft(Z,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;default:break}}),ft(uo,{value:"Value",style:{width:300},...o,...a})};de.options=aa;de.states=oa;de.variants=sa;de.defaultOptions=na;de.modifiers=ia;de.className=L.className;import{jsx as G,jsxs as xt}from"react/jsx-runtime";var fo="k-actionsheet-titlebar",ra={},w=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:r,input:d,inputValue:c,inputPlaceholder:m,adaptive:x,titleId:N,children:S,...M}=e;return xt("div",{...M,className:i(e.className,fo),children:[xt("div",{className:"k-actionsheet-titlebar-group",children:[a&&G("div",{className:"k-actionsheet-actions",children:a}),!S&&xt("div",{className:"k-actionsheet-title",id:N,children:[t&&G("div",{className:"k-text-center",children:t}),o&&G("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),S&&G("div",{className:"k-actionsheet-title",id:N,children:S}),n&&G("div",{className:"k-actionsheet-actions",children:n})]}),(d||r)&&G("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?G(L,{value:c,placeholder:m,size:x?"large":"medium","aria-label":t||m||"Input"}):G(J,{placeholder:"Filter",size:x?"large":"medium","aria-label":"Filter options"})})]})};w.className=fo;w.defaultOptions=ra;import{jsx as Nt,jsxs as ma}from"react/jsx-runtime";var ht="k-actionsheet-view",la=[],ca={},da={},me=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:r,titleId:d,...c}=e,m=n?.type===w&&Nt(w,{adaptive:t,titleId:d,...n?.props}),x=r?.type===X&&Nt(X,{...r?.props});return ma("div",{...c,className:i(e.className,ht,{[`${ht}-animated`]:o}),children:[m,Nt("div",{className:"k-actionsheet-content",children:a}),x]})};me.states=la;me.options=ca;me.className=ht;me.defaultOptions=da;var Me="action-sheet",Be=Me;var St="overlay",xo=St;import{jsx as xa}from"react/jsx-runtime";var No="k-overlay",pa=[],ua={},fa={},Y=e=>{let{...t}=e;return xa("div",{...t,className:i(e.className,No),children:e.children})};Y.states=pa;Y.options=ua;Y.className=No;Y.defaultOptions=fa;Y.moduleName=St;Y.folderName=xo;import{jsx as we,jsxs as Sa}from"react/jsx-runtime";var ho="k-actionsheet",Na=[],ha={},Ee={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},y=e=>{let{side:t=Ee.side,fullscreen:o=Ee.fullscreen,adaptive:a=Ee.adaptive,overlay:n=Ee.overlay,template:r,children:d,header:c,footer:m,id:x,...N}=e,S=x&&!r&&c?`${x}-title`:void 0;return Sa("div",{className:"k-actionsheet-container",children:[n&&we(Y,{}),we(U,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:we("div",{...N,id:x,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":S,className:i(e.className,ho,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:r||we(me,{header:c,footer:m,adaptive:a,titleId:S,...e,children:d})})})]})};y.states=Na;y.options=ha;y.className=ho;y.defaultOptions=Ee;y.moduleName=Me;y.folderName=Be;import{jsx as Ta}from"react/jsx-runtime";var So="k-actionsheet-container",ba=[],va={},Aa={},pe=e=>{let{children:t,...o}=e;return Ta("div",{...o,className:So,children:t})};pe.states=ba;pe.options=va;pe.className=So;pe.defaultOptions=Aa;pe.moduleName=Me;pe.folderName=Be;import{jsx as Ma}from"react/jsx-runtime";var bt=e=>{let{...t}=e;return Ma("div",{...t,className:i(e.className,"k-list-ul"),children:e.children})};import{Fragment as Ia,jsx as Ie,jsxs as vt}from"react/jsx-runtime";var At="k-actionsheet-item",Ea=[s.hover,s.focus,s.selected,s.disabled],W=e=>{let{iconName:t,text:o,description:a,hover:n,focus:r,selected:d,disabled:c,...m}=e;return vt("span",{...m,className:i(e.className,At,z(At,{hover:n,focus:r,selected:d,disabled:c})),children:[!e.children&&Ie(Ia,{children:vt("span",{className:"k-actionsheet-action",children:[t&&Ie("span",{className:"k-icon-wrap",children:Ie(b,{className:"k-actionsheet-item-icon",icon:t})}),vt("span",{className:"k-actionsheet-item-text",children:[o&&Ie("span",{className:"k-actionsheet-item-title",children:o}),a&&Ie("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};W.states=Ea;W.className=At;import{jsx as vd,jsxs as Ad}from"react/jsx-runtime";import{jsx as Id}from"react/jsx-runtime";import{jsx as Cd}from"react/jsx-runtime";import{jsx as Hd}from"react/jsx-runtime";import{jsx as I,jsxs as Tt}from"react/jsx-runtime";var ya=y.options,ga=y.states,vo={...y.defaultOptions,variant:"normal"},Oa=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Ca=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],ue=e=>{let{variant:t,modifiers:o,...a}={...vo,...e},n={},r=Tt(bt,{children:[I(W,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),I(W,{text:"Add to Favorites",iconName:"heart"}),I(W,{text:"Upload New",iconName:"upload",disabled:!0}),I("hr",{className:"k-hr"}),I(W,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",c="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(m=>{switch(m){case"actions":n.actionsStart=!!o?.[m],n.actionsEnd=!!o?.[m];break;case"subtitle":n.subtitle=o?.[m]?d:void 0;break;case"footer":n.footer=!!o?.[m];break;default:break}}),t==="adaptive"?I(y,{...a,adaptive:!0,fullscreen:n.fullScreen,header:I(w,{actionsStart:n.actionsStart?I(f,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?I(f,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:c,subtitle:n.subtitle}),footer:n.footer?Tt(X,{alignment:"stretched",children:[I(f,{text:"Cancel",size:"large",themeColor:"base"}),I(f,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:r}):I(y,{...a,fullscreen:n.fullScreen,header:I(w,{actionsStart:n.actionsStart?I(f,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?I(f,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?Tt(X,{alignment:"stretched",children:[I(f,{text:"Apply",themeColor:"primary"}),I(f,{text:"Cancel",themeColor:"base"})]}):void 0,children:r})};ue.options=ya;ue.states=ga;ue.variants=Oa;ue.defaultOptions=vo;ue.modifiers=Ca;ue.className=y.className;var Ao="time-picker",To="timepicker";import{Fragment as Ha,jsx as A,jsxs as ye}from"react/jsx-runtime";var Mo="k-timepicker",ka=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],La={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Pa={},ee=e=>{let{size:t,rounded:o,fillMode:a,prefix:n,suffix:r,value:d,placeholder:c,hover:m,focus:x,valid:N,invalid:S,required:M,loading:P,disabled:g,readonly:O,opened:v,adaptive:C,adaptiveSettings:H,adaptiveTitle:te,adaptiveSubtitle:fe,...xe}=e,Q=Et("timepicker-popup");return ye(Ha,{children:[ye(E,{...xe,size:t,rounded:o,fillMode:a,hover:m,focus:x,valid:N,invalid:S,required:M,loading:P,disabled:g,readonly:O,className:i(e.className,Mo),children:[A(ne,{children:n}),A(R,{placeholder:c,value:d,role:"combobox","aria-haspopup":"dialog","aria-expanded":v?"true":"false","aria-controls":v||C?Q:void 0,"aria-invalid":S?"true":void 0,"aria-label":"Select time",disabled:g}),A(K,{valid:N,invalid:S,loading:P,disabled:g}),A(F,{loading:P,disabled:g}),A(_,{loading:P,disabled:g,readonly:O,value:d}),A(ae,{children:r}),A(f,{className:"k-input-button",icon:"clock",size:t,fillMode:a,tabIndex:-1,"aria-label":"Select time",disabled:g})]}),v&&ye(B,{id:Q,className:"k-list-container k-timepicker-popup",children:[A($,{columns:["HH","mm","ss","tt"],focusedColumn:"mm",header:A(ce,{title:"10:00:00 AM",children:A(f,{fillMode:"flat",className:"k-time-now",children:"Now"})})}),ye(k,{alignment:"stretched",className:"k-time-footer",children:[A(f,{themeColor:"primary",className:"k-time-accept",children:"Set"}),A(f,{className:"k-time-cancel",children:"Cancel"})]})]}),C&&A(y,{adaptive:!0,id:Q,...H,header:A(w,{actionsEnd:A(f,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:te,subtitle:fe}),footer:ye(X,{children:[A(f,{text:"Cancel",size:"large"}),A(f,{text:"Set time",size:"large",themeColor:"primary"})]}),children:A($,{size:"large",columns:["HH","mm","ss","tt"],focusedColumn:"HH",header:A(ce,{title:"10:00:00 \u0410\u041C",children:A(f,{size:"large",fillMode:"flat",className:"k-time-now",children:"Now"})})})})]})};ee.states=ka;ee.options=La;ee.className=Mo;ee.defaultOptions=Pa;ee.moduleName=Ao;ee.folderName=To;var Eo=ee;import{jsx as _a}from"react/jsx-runtime";var Nm=e=>_a(Eo,{invalid:!0,value:"10:00 AM",...e});export{Nm as TimePickerInvalid};
|
|
1
|
+
var i=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?i(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var E=(e,t)=>i({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),z=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:r,checked:d,active:c,selected:m,disabled:x,indeterminate:h,loading:b,empty:v,readonly:w,highlighted:L,...T}=t;return i({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":r,"k-checked":d,"k-active":c,"k-selected":m,"k-disabled":x,"k-indeterminate":h&&!d,"k-loading":b,"k-empty":v,"k-readonly":w,"k-highlighted":L},Object.keys(T).reduce((M,g)=>(g.startsWith("k-")?M[g]=T[g]:M[`k-${g}`]=T[g],M),{}))};function Mt(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var l={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},p={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},N={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},D={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},u={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},s={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var De={};function Et(e){return De[e]=(De[e]||0)+1,`k-${e}-${De[e]}`}var he="input",Oe=he;import{jsx as Co}from"react/jsx-runtime";var Ce="k-input",yo=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],go={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Oo={},I=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c,size:m,rounded:x,fillMode:h,...b}=e;return Co("span",{...b,className:i(e.className,Ce,E(Ce,{size:m,rounded:x,fillMode:h}),z(Ce,{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c}))})};I.states=yo;I.options=go;I.className=Ce;I.defaultOptions=Oo;I.moduleName=he;I.folderName=Oe;import{jsx as Ho}from"react/jsx-runtime";var ke="k-picker",ko=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Lo={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Po={},oe=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c,size:m,rounded:x,fillMode:h,...b}=e;return Ho("span",{...b,className:i(e.className,ke,E(ke,{size:m,rounded:x,fillMode:h}),z(ke,{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c})),children:e.children})};oe.states=ko;oe.options=Lo;oe.className=ke;oe.defaultOptions=Po;oe.moduleName=he;oe.folderName=Oe;import{Fragment as Bo,jsx as It}from"react/jsx-runtime";var Fe="k-font-icon",_o=[],Ro={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info]},Ko={},be=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:r,...d}=e;return a?It("span",{...d,className:i(e.className,Fe,E(Fe,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),"aria-hidden":"true"}):It(Bo,{})};be.states=_o;be.options=Ro;be.className=Fe;be.defaultOptions=Ko;var yt=be;import{Fragment as Do,jsx as Le}from"react/jsx-runtime";var Ve="k-svg-icon",wo=[],zo={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info],variant:[D.outline,D.solid,D.duotone]},Ue={viewBox:"0 0 24 24",variant:D.outline},Se=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:r=Ue.viewBox,variant:d=Ue.variant,icon:c,...m}=e;if(!c)return Le(Do,{});if(c==="none")return Le("span",{...m,className:i(e.className,Ve,E("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let x=typeof c=="object"&&c.name&&c.name,h=typeof c=="object"?d&&c.variants?.[d]||c.variants?.outline||c.content:void 0;return Le("span",{...m,className:i(e.className,Ve,E("k-icon",{size:t}),{[`k-svg-i-${x}`]:x,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:Le("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:r,dangerouslySetInnerHTML:h!==void 0?{__html:h}:void 0,children:c?void 0:e.children})})};Se.states=wo;Se.options=zo;Se.className=Ve;Se.defaultOptions=Ue;var $e=Se;import*as Xe from"@progress/kendo-svg-icons";var gt="icon",Ot="icons";import{useContext as Vo}from"react";import{createContext as Fo}from"react";var Ct=Fo({iconsType:"svg"});import{Fragment as kt,jsx as ve}from"react/jsx-runtime";var Pe="k-icon",Uo=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),$o=[],Xo={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info],variant:[D.outline,D.solid,D.duotone]},He={viewBox:"0 0 24 24",type:"svg",variant:D.outline},S=e=>{let{iconsType:t}=Vo(Ct),{size:o,themeColor:a,icon:n,type:r=t||He.type,rotate:d,flip:c,viewBox:m=He.viewBox,variant:x=He.variant,...h}=e;if(!n)return ve(kt,{});if((t||r)==="svg"){if(n==="none")return ve($e,{...h,className:i(e.className,Pe),icon:n,size:o,variant:x});let v=Xe[n]?n:Uo(`${n}-icon`);return Xe[v]?ve($e,{...h,className:i(e.className,Pe),icon:Xe[v],size:o,themeColor:a,rotate:d,flip:c,viewBox:m,variant:x}):ve(kt,{})}return ve(yt,{...h,className:i(e.className,Pe),icon:n,size:o,themeColor:a,rotate:d,flip:c})};S.states=$o;S.options=Xo;S.defaultOptions=He;S.className=Pe;S.moduleName=gt;S.folderName=Ot;import{Fragment as Go,jsx as Je}from"react/jsx-runtime";var Lt="k-clear-value",Jo=[s.disabled,s.loading,s.readonly],qo={},H=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?Je(Go,{}):Je("span",{className:i(e.className,Lt),children:Je(S,{icon:"x"})})};H.states=Jo;H.options=qo;H.className=Lt;import{jsx as Qo}from"react/jsx-runtime";var qe="k-input-inner",Yo=[],Wo={},_e={type:"text",autocomplete:"off",value:"",placeholder:""},_=e=>{let{value:t=_e.value,type:o=_e.type,placeholder:a=_e.placeholder,autocomplete:n=_e.autocomplete,disabled:r,readOnly:d,...c}=e;return Qo("input",{...c,type:o,className:i(e.className,qe,E(qe,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:r||void 0,readOnly:d||void 0})};_.states=Yo;_.options=Wo;_.className=qe;import{jsx as Pt,jsxs as en}from"react/jsx-runtime";var Ge="k-input-inner",Zo=[],jo={},Ye=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:r,...d}=e;return en("span",{...d,className:i(e.className,Ge,E(Ge,e)),children:[n,!n&&r&&Pt(S,{className:"k-input-value-icon",icon:r}),a&&!t&&o,a&&t&&Pt("span",{className:"k-input-value-text",children:t})]})};Ye.states=Zo;Ye.options=jo;Ye.className=Ge;import{jsx as nn}from"react/jsx-runtime";var We="k-input-inner",tn=[],on={},Ht={value:"",placeholder:""},Qe=e=>{let{value:t=Ht.value,placeholder:o=Ht.placeholder,rows:a,disabled:n,...r}=e;return nn("textarea",{...r,className:i(e.className,We,E(We,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};Qe.states=tn;Qe.options=on;Qe.className=We;import{Fragment as sn,jsx as _t}from"react/jsx-runtime";var Rt="k-input-loading-icon",an=[s.disabled,s.loading],F=e=>{let{disabled:t,loading:o}=e;return t||!o?_t(sn,{}):_t("span",{className:i(e.className,Rt,"k-icon k-i-loading")})};F.states=an;F.className=Rt;import{Fragment as cn,jsx as Kt}from"react/jsx-runtime";var Bt="k-input-validation-icon",rn=[s.valid,s.invalid,s.disabled,s.loading],ln={},R=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,r=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?Kt(cn,{}):Kt(S,{className:i(Bt),icon:r})};R.states=rn;R.options=ln;R.className=Bt;import{Fragment as pn,jsx as wt}from"react/jsx-runtime";var dn="k-input-prefix",mn={direction:"horizontal"},ne=e=>{let{direction:t=mn.direction,...o}=e;return e.children?wt("span",{...o,className:i(dn,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):wt(pn,{})};import{Fragment as xn,jsx as zt}from"react/jsx-runtime";var un="k-input-suffix",fn={direction:"horizontal"},ae=e=>{let{direction:t=fn.direction,...o}=e;return e.children?zt("span",{...o,className:i(un,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):zt(xn,{})};import{jsx as Wi}from"react/jsx-runtime";import{jsx as es}from"react/jsx-runtime";import{jsx as hn}from"react/jsx-runtime";var Dt="k-input-separator",Nn={direction:"vertical"},ie=e=>{let{direction:t=Nn.direction,...o}=e;return hn("span",{...o,className:i(Dt,e.className,{[`${Dt}-${t}`]:t})})};var Ze="button",Ft=Ze;import{Fragment as Vt,jsx as se,jsxs as Ut}from"react/jsx-runtime";var Ae="k-button",bn=["icon-button"],Sn=[s.hover,s.focus,s.active,s.selected,s.disabled,s.generating],vn={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline,N.clear,N.link],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.inverse]},je={showArrow:!1,arrowIconName:"chevron-down"},f=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:r,showArrow:d=je.showArrow,arrowIconName:c=je.arrowIconName,variant:m,hover:x,focus:h,active:b,selected:v,disabled:w,togglable:L,ariaDisabled:T,icon:M,iconSize:g,text:P,iconClassName:te,className:fe,...xe}=e,Ne=M!=null,Q=e.children!==void 0;return Ut(t,{className:i(fe,Ae,Mt(Ae,m),E(Ae,{size:o,rounded:a,fillMode:n,themeColor:r}),z(Ae,{hover:x,focus:h,active:b,disabled:w||T,selected:v}),{"k-icon-button":!P&&!Q&&Ne}),"aria-pressed":L?v?"true":"false":void 0,...xe,"aria-disabled":T?"true":void 0,disabled:w||void 0,children:[typeof M=="string"&&M&&se(S,{className:i(te,"k-button-icon"),icon:M,size:g}),M&&typeof M!="string"&&se(Vt,{children:M}),P?Ut(Vt,{children:[P&&se("span",{className:"k-button-text",children:P}),e.children]}):e.children&&se("span",{className:"k-button-text",children:e.children}),d&&se("span",{className:"k-menu-button-arrow k-button-arrow",children:se(S,{icon:c})})]})};f.states=Sn;f.options=vn;f.variants=bn;f.className=Ae;f.defaultOptions=je;f.moduleName=Ze;f.folderName=Ft;import{jsx as An}from"react/jsx-runtime";var Z=e=>An(f,{children:"Button",...e});import{Fragment as $t,jsx as V,jsxs as et}from"react/jsx-runtime";var Tn=I.states,Mn=I.defaultOptions,En=I.options,In=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],yn=[],re=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:r,readonly:d,...c}=e,m=t?.prefix,x=t?.suffix,h=t?.["clear-button"],b=t?.["validation-icon"],v=t?.separators;return et(I,{...c,valid:o,invalid:a,loading:n,disabled:r,readonly:d,style:{width:300},children:[m&&et($t,{children:[V(ne,{children:V(S,{icon:"lock"})}),v&&V(ie,{})]}),V(_,{placeholder:"Placeholder",value:"Value"}),b&&V(R,{valid:o,invalid:a,loading:n,disabled:r}),V(F,{loading:n,disabled:r}),h&&V(H,{loading:n,disabled:r,readonly:d,value:"Value"}),x&&et($t,{children:[v&&V(ie,{}),V(ae,{children:V(Z,{size:c.size,fillMode:"clear",children:"Send"})})]})]})};re.options=En;re.states=Tn;re.variants=yn;re.defaultOptions=Mn;re.modifiers=In;re.className=I.className;import{jsx as gn}from"react/jsx-runtime";var Xt=e=>gn(f,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as On}from"react/jsx-runtime";var Jt=e=>On(f,{icon:"folder",children:"Button",...e});import{jsx as tt}from"react/jsx-runtime";var Cn=f.options,kn=f.states,Ln={...f.defaultOptions,variant:"text"},Pn=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Hn=[],le=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return tt(Xt,{...o,icon:"star"});case"icon-and-text":return tt(Jt,{...o,icon:"star",children:"Button"});default:return tt(Z,{...o,children:"Button"})}};le.options=Cn;le.states=kn;le.variants=Pn;le.defaultOptions=Ln;le.modifiers=Hn;le.className=f.className;var ot="popup",qt=ot;import{jsx as Gt}from"react/jsx-runtime";var Yt="k-animation-container",_n=[],Rn={},nt={positionMode:"absolute",shown:!0},U=e=>{let{positionMode:t=nt.positionMode,shown:o=nt.shown,animationStyle:a,offset:n,...r}=e;return Gt("div",{...r,style:{...n,...e.style},className:i(e.className,Yt,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:Gt("div",{className:"k-child-animation-container",style:a,children:e.children})})};U.states=_n;U.options=Rn;U.className=Yt;U.defaultOptions=nt;U.moduleName=ot;U.folderName=qt;var at="popup",Wt=at;import{jsx as Qt}from"react/jsx-runtime";var Zt="k-popup",Kn=[],Bn={},jt={positionMode:"absolute"},K=e=>{let{offset:t,positionMode:o=jt.positionMode,animationStyle:a,containerClassName:n,containerRole:r,containerAriaLabel:d,...c}=e;return Qt(U,{positionMode:o,offset:t,animationStyle:a,className:n,role:r,"aria-label":d,children:Qt("div",{...c,className:i(e.className,Zt),children:e.children})})};K.states=Kn;K.options=Bn;K.className=Zt;K.defaultOptions=jt;K.moduleName=at;K.folderName=Wt;var eo="time-selector",to="timeselector";import{Fragment as oo,jsx as Re,jsxs as no}from"react/jsx-runtime";var it="k-timeselector",wn=[],zn={size:[l.undefined,l.small,l.medium,l.large]},Dn={},$=e=>{let{size:t,header:o,fastSelection:a,columns:n,focusedColumn:r,...d}=e,c=n.map(function(m,x){let h=!1,b=!0;return m===r&&(h=!0),(x===0||m==="tt")&&(b=!1),Re(st,{type:m,focus:h,separator:b},x)});return no("div",{...d,className:i(e.className,it,E(it,{size:t})),role:"group","aria-label":"Time selector",children:[Re(oo,{children:o}),Re(oo,{children:a}),no("div",{className:"k-time-list-container",children:[Re("span",{className:"k-time-highlight"}),c]})]})};$.states=wn;$.options=zn;$.className=it;$.defaultOptions=Dn;$.moduleName=eo;$.folderName=to;import{Fragment as Vn,jsx as j,jsxs as rt}from"react/jsx-runtime";var Fn=[s.focus],st=e=>{let{type:t,focus:o,separator:a,...n}=e,r,d=["00","01","02","03","04","05","06","07","08","09"];switch(t){case"dd":r="Day";break;case"HH":r="Hour";break;case"mm":r="Minute";break;case"ss":r="Second";break;case"SSS":r="Millisecond",d=["000","001","002","003","004","005","006","007","008","009"];break;case"tt":r="AM/PM",d=["AM","PM"];break;default:r="Column Name";break}let c=d.map((m,x)=>j("li",{className:"k-item",role:"option","aria-selected":"false",children:j("span",{children:m})},x));return rt(Vn,{children:[a&&j("div",{className:"k-time-separator",children:":"}),rt("div",{...n,className:i(e.className,"k-time-list-wrapper",z("k-time-list-wrapper",{focus:o})),children:[j("span",{className:"k-title",children:r}),j("div",{className:"k-time-list",role:"listbox","aria-label":r,children:rt("div",{className:"k-content k-scrollable k-time-container",children:[j("ul",{className:"k-reset",style:{transform:"translateY(97px)"},role:"none",children:c}),j("div",{className:"k-scrollable-placeholder"})]})})]})]})};st.states=Fn;import{jsx as $n,jsxs as Xn}from"react/jsx-runtime";var Un="k-time-header",ce=e=>{let{title:t,...o}=e;return Xn("div",{...o,className:i(e.className,Un),children:[t!=null&&$n("span",{className:"k-title",children:t}),e.children]})};var lt="action-buttons",ao=lt;import{jsx as Gn}from"react/jsx-runtime";var Ke="k-actions",Jn=[],qn={},ct={alignment:"start",orientation:"horizontal"},C=e=>{let{alignment:t=ct.alignment,orientation:o=ct.orientation,...a}=e;return Gn("div",{...a,className:i(Ke,{[`${Ke}-${t}`]:t,[`${Ke}-${o}`]:o},e.className),children:e.children})};C.states=Jn;C.options=qn;C.className=Ke;C.defaultOptions=ct;C.moduleName=lt;C.folderName=ao;import{jsx as Jr,jsxs as qr}from"react/jsx-runtime";import{Fragment as nl,jsx as tl,jsxs as ol}from"react/jsx-runtime";import{Fragment as ul,jsx as ml,jsxs as pl}from"react/jsx-runtime";import{Fragment as Ml,jsx as Al,jsxs as Tl}from"react/jsx-runtime";import{jsx as Wn}from"react/jsx-runtime";var Yn="k-actionsheet-footer",so={alignment:"stretched",orientation:"horizontal"},X=e=>{let{alignment:t=so.alignment,orientation:o=so.orientation,template:a,as:n=a?"div":C,...r}=e;return Wn(n,{...r,...!a&&{alignment:t,orientation:o},className:i(e.className,Yn),children:e.children})};var dt="searchbox",ro=dt;import{jsx as Te,jsxs as jn}from"react/jsx-runtime";var lo="k-searchbox",Qn=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading],Zn={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},mt={showIcon:!0,icon:"search"},J=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:r,hover:d,focus:c,valid:m,invalid:x,required:h,loading:b,disabled:v,showIcon:w=mt.showIcon,icon:L=mt.icon,"aria-label":T,...M}=e;return jn(I,{...M,size:a,rounded:n,fillMode:r,hover:d,focus:c,valid:m,invalid:x,required:h,loading:b,disabled:v,className:i(e.className,lo),children:[w&&Te(S,{className:"k-input-icon",icon:L}),Te(_,{placeholder:o,value:t,"aria-label":T}),Te(F,{...e}),Te(R,{...e}),Te(H,{...e})]})};J.states=Qn;J.options=Zn;J.className=lo;J.defaultOptions=mt;J.moduleName=dt;J.folderName=ro;import{jsx as ql}from"react/jsx-runtime";var pt="textbox",co=pt;import{Fragment as mo,jsx as q,jsxs as ut}from"react/jsx-runtime";var po="k-textbox",ea=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],ta={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Be={showClearButton:!0,showValidationIcon:!0,separators:!0},k=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Be.separators,showClearButton:r=Be.showClearButton,showValidationIcon:d=Be.showValidationIcon,prefix:c,suffix:m,type:x,value:h,placeholder:b,hover:v,focus:w,valid:L,invalid:T,required:M,loading:g,disabled:P,readonly:te,id:fe,"aria-label":xe,"aria-describedby":Ne,...Q}=e;return ut(I,{...Q,size:t,rounded:o,fillMode:a,hover:v,focus:w,valid:L,invalid:T,required:M,loading:g,disabled:P,readonly:te,className:i(e.className,po),children:[c&&ut(mo,{children:[q(ne,{children:c}),n&&q(ie,{})]}),q(_,{id:fe,placeholder:b,value:h,type:x,disabled:P,"aria-label":xe,"aria-describedby":Ne,"aria-invalid":T?"true":void 0}),d&&q(R,{valid:L,invalid:T,loading:g,disabled:P}),q(F,{loading:g,disabled:P}),r&&q(H,{loading:g,disabled:P,readonly:te,value:h}),m&&ut(mo,{children:[n&&q(ie,{}),q(ae,{children:m})]})]})};k.states=ea;k.options=ta;k.className=po;k.defaultOptions=Be;k.moduleName=pt;k.folderName=co;var Me=k;import{jsx as oa}from"react/jsx-runtime";var uo=e=>oa(Me,{...e});import{Fragment as mc,jsx as dc}from"react/jsx-runtime";import{Fragment as hc,jsx as Nc}from"react/jsx-runtime";import{jsx as Ac}from"react/jsx-runtime";import{jsx as ft}from"react/jsx-runtime";var na=k.states,aa=k.defaultOptions,ia=k.options,sa=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],ra=[],de=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?ft(S,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[n]?ft(Z,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;default:break}}),ft(uo,{value:"Value",style:{width:300},...o,...a})};de.options=ia;de.states=na;de.variants=ra;de.defaultOptions=aa;de.modifiers=sa;de.className=k.className;import{jsx as G,jsxs as xt}from"react/jsx-runtime";var fo="k-actionsheet-titlebar",la={},B=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:r,input:d,inputValue:c,inputPlaceholder:m,adaptive:x,titleId:h,children:b,...v}=e;return xt("div",{...v,className:i(e.className,fo),children:[xt("div",{className:"k-actionsheet-titlebar-group",children:[a&&G("div",{className:"k-actionsheet-actions",children:a}),!b&&xt("div",{className:"k-actionsheet-title",id:h,children:[t&&G("div",{className:"k-text-center",children:t}),o&&G("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),b&&G("div",{className:"k-actionsheet-title",id:h,children:b}),n&&G("div",{className:"k-actionsheet-actions",children:n})]}),(d||r)&&G("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?G(k,{value:c,placeholder:m,size:x?"large":"medium","aria-label":t||m||"Input"}):G(J,{placeholder:"Filter",size:x?"large":"medium","aria-label":"Filter options"})})]})};B.className=fo;B.defaultOptions=la;import{jsx as Nt,jsxs as pa}from"react/jsx-runtime";var ht="k-actionsheet-view",ca=[],da={},ma={},me=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:r,titleId:d,...c}=e,m=n?.type===B&&Nt(B,{adaptive:t,titleId:d,...n?.props}),x=r?.type===X&&Nt(X,{...r?.props});return pa("div",{...c,className:i(e.className,ht,{[`${ht}-animated`]:o}),children:[m,Nt("div",{className:"k-actionsheet-content",children:a}),x]})};me.states=ca;me.options=da;me.className=ht;me.defaultOptions=ma;var Ee="action-sheet",we=Ee;var bt="overlay",xo=bt;import{jsx as Na}from"react/jsx-runtime";var No="k-overlay",ua=[],fa={},xa={},Y=e=>{let{...t}=e;return Na("div",{...t,className:i(e.className,No),children:e.children})};Y.states=ua;Y.options=fa;Y.className=No;Y.defaultOptions=xa;Y.moduleName=bt;Y.folderName=xo;import{jsx as ze,jsxs as Sa}from"react/jsx-runtime";var ho="k-actionsheet",ha=[],ba={},Ie={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},O=e=>{let{side:t=Ie.side,fullscreen:o=Ie.fullscreen,adaptive:a=Ie.adaptive,overlay:n=Ie.overlay,template:r,children:d,header:c,footer:m,id:x,...h}=e,b=x&&!r&&c?`${x}-title`:void 0;return Sa("div",{className:"k-actionsheet-container",children:[n&&ze(Y,{}),ze(U,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:ze("div",{...h,id:x,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":b,className:i(e.className,ho,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:r||ze(me,{header:c,footer:m,adaptive:a,titleId:b,...e,children:d})})})]})};O.states=ha;O.options=ba;O.className=ho;O.defaultOptions=Ie;O.moduleName=Ee;O.folderName=we;import{jsx as Ma}from"react/jsx-runtime";var bo="k-actionsheet-container",va=[],Aa={},Ta={},pe=e=>{let{children:t,...o}=e;return Ma("div",{...o,className:bo,children:t})};pe.states=va;pe.options=Aa;pe.className=bo;pe.defaultOptions=Ta;pe.moduleName=Ee;pe.folderName=we;import{jsx as Ea}from"react/jsx-runtime";var St=e=>{let{...t}=e;return Ea("div",{...t,className:i(e.className,"k-list-ul"),children:e.children})};import{Fragment as ya,jsx as ye,jsxs as vt}from"react/jsx-runtime";var At="k-actionsheet-item",Ia=[s.hover,s.focus,s.selected,s.disabled],W=e=>{let{iconName:t,text:o,description:a,hover:n,focus:r,selected:d,disabled:c,...m}=e;return vt("span",{...m,className:i(e.className,At,z(At,{hover:n,focus:r,selected:d,disabled:c})),children:[!e.children&&ye(ya,{children:vt("span",{className:"k-actionsheet-action",children:[t&&ye("span",{className:"k-icon-wrap",children:ye(S,{className:"k-actionsheet-item-icon",icon:t})}),vt("span",{className:"k-actionsheet-item-text",children:[o&&ye("span",{className:"k-actionsheet-item-title",children:o}),a&&ye("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};W.states=Ia;W.className=At;import{jsx as vd,jsxs as Ad}from"react/jsx-runtime";import{jsx as Id}from"react/jsx-runtime";import{jsx as Cd}from"react/jsx-runtime";import{jsx as Hd}from"react/jsx-runtime";import{jsx as y,jsxs as Tt}from"react/jsx-runtime";var ga=O.options,Oa=O.states,vo={...O.defaultOptions,variant:"normal"},Ca=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],ka=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],ue=e=>{let{variant:t,modifiers:o,...a}={...vo,...e},n={},r=Tt(St,{children:[y(W,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),y(W,{text:"Add to Favorites",iconName:"heart"}),y(W,{text:"Upload New",iconName:"upload",disabled:!0}),y("hr",{className:"k-hr"}),y(W,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",c="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(m=>{switch(m){case"actions":n.actionsStart=!!o?.[m],n.actionsEnd=!!o?.[m];break;case"subtitle":n.subtitle=o?.[m]?d:void 0;break;case"footer":n.footer=!!o?.[m];break;default:break}}),t==="adaptive"?y(O,{...a,adaptive:!0,fullscreen:n.fullScreen,header:y(B,{actionsStart:n.actionsStart?y(f,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?y(f,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:c,subtitle:n.subtitle}),footer:n.footer?Tt(X,{alignment:"stretched",children:[y(f,{text:"Cancel",size:"large",themeColor:"base"}),y(f,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:r}):y(O,{...a,fullscreen:n.fullScreen,header:y(B,{actionsStart:n.actionsStart?y(f,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?y(f,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?Tt(X,{alignment:"stretched",children:[y(f,{text:"Apply",themeColor:"primary"}),y(f,{text:"Cancel",themeColor:"base"})]}):void 0,children:r})};ue.options=ga;ue.states=Oa;ue.variants=Ca;ue.defaultOptions=vo;ue.modifiers=ka;ue.className=O.className;var Ao="time-picker",To="timepicker";import{Fragment as Ha,jsx as A,jsxs as ge}from"react/jsx-runtime";var Mo="k-timepicker",La=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Pa={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Eo={showClearButton:!0},ee=e=>{let{size:t,rounded:o,fillMode:a,prefix:n,suffix:r,value:d,placeholder:c,showClearButton:m=Eo.showClearButton,hover:x,focus:h,valid:b,invalid:v,required:w,loading:L,disabled:T,readonly:M,opened:g,adaptive:P,adaptiveSettings:te,adaptiveTitle:fe,adaptiveSubtitle:xe,...Ne}=e,Q=Et("timepicker-popup");return ge(Ha,{children:[ge(I,{...Ne,size:t,rounded:o,fillMode:a,hover:x,focus:h,valid:b,invalid:v,required:w,loading:L,disabled:T,readonly:M,className:i(e.className,Mo),children:[A(ne,{children:n}),A(_,{placeholder:c,value:d,role:"combobox","aria-haspopup":"dialog","aria-expanded":g?"true":"false","aria-controls":g||P?Q:void 0,"aria-invalid":v?"true":void 0,"aria-label":"Select time",disabled:T}),A(R,{valid:b,invalid:v,loading:L,disabled:T}),A(F,{loading:L,disabled:T}),m&&A(H,{loading:L,disabled:T,readonly:M,value:d}),A(ae,{children:r}),A(f,{className:"k-input-button",icon:"clock",size:t,fillMode:a,tabIndex:-1,"aria-label":"Select time",disabled:T})]}),g&&ge(K,{id:Q,className:"k-list-container k-timepicker-popup",children:[A($,{columns:["HH","mm","ss","tt"],focusedColumn:"mm",header:A(ce,{title:"10:00:00 AM",children:A(f,{fillMode:"flat",className:"k-time-now",children:"Now"})})}),ge(C,{alignment:"stretched",className:"k-time-footer",children:[A(f,{themeColor:"primary",className:"k-time-accept",children:"Set"}),A(f,{className:"k-time-cancel",children:"Cancel"})]})]}),P&&A(O,{adaptive:!0,id:Q,...te,header:A(B,{actionsEnd:A(f,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:fe,subtitle:xe}),footer:ge(X,{children:[A(f,{text:"Cancel",size:"large"}),A(f,{text:"Set time",size:"large",themeColor:"primary"})]}),children:A($,{size:"large",columns:["HH","mm","ss","tt"],focusedColumn:"HH",header:A(ce,{title:"10:00:00 \u0410\u041C",children:A(f,{size:"large",fillMode:"flat",className:"k-time-now",children:"Now"})})})})]})};ee.states=La;ee.options=Pa;ee.className=Mo;ee.defaultOptions=Eo;ee.moduleName=Ao;ee.folderName=To;var Io=ee;import{jsx as _a}from"react/jsx-runtime";var Nm=e=>_a(Io,{invalid:!0,value:"10:00 AM",...e});export{Nm as TimePickerInvalid};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var i=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?i(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var T=(e,t)=>i({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),z=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:r,checked:d,active:c,selected:m,disabled:x,indeterminate:N,loading:S,empty:M,readonly:P,highlighted:g,...O}=t;return i({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":r,"k-checked":d,"k-active":c,"k-selected":m,"k-disabled":x,"k-indeterminate":N&&!d,"k-loading":S,"k-empty":M,"k-readonly":P,"k-highlighted":g},Object.keys(O).reduce((v,C)=>(C.startsWith("k-")?v[C]=O[C]:v[`k-${C}`]=O[C],v),{}))};function Mt(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var l={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},p={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},h={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},D={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},u={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},s={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var De={};function Et(e){return De[e]=(De[e]||0)+1,`k-${e}-${De[e]}`}var Ne="input",ge=Ne;import{jsx as Oo}from"react/jsx-runtime";var Oe="k-input",Io=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],yo={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},go={},E=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c,size:m,rounded:x,fillMode:N,...S}=e;return Oo("span",{...S,className:i(e.className,Oe,T(Oe,{size:m,rounded:x,fillMode:N}),z(Oe,{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c}))})};E.states=Io;E.options=yo;E.className=Oe;E.defaultOptions=go;E.moduleName=Ne;E.folderName=ge;import{jsx as Po}from"react/jsx-runtime";var Ce="k-picker",Co=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],ko={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Lo={},oe=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c,size:m,rounded:x,fillMode:N,...S}=e;return Po("span",{...S,className:i(e.className,Ce,T(Ce,{size:m,rounded:x,fillMode:N}),z(Ce,{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c})),children:e.children})};oe.states=Co;oe.options=ko;oe.className=Ce;oe.defaultOptions=Lo;oe.moduleName=Ne;oe.folderName=ge;import{Fragment as Ko,jsx as It}from"react/jsx-runtime";var Fe="k-font-icon",Ho=[],_o={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info]},Ro={},he=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:r,...d}=e;return a?It("span",{...d,className:i(e.className,Fe,T(Fe,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),"aria-hidden":"true"}):It(Ko,{})};he.states=Ho;he.options=_o;he.className=Fe;he.defaultOptions=Ro;var yt=he;import{Fragment as zo,jsx as ke}from"react/jsx-runtime";var Ve="k-svg-icon",Bo=[],wo={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info],variant:[D.outline,D.solid,D.duotone]},Ue={viewBox:"0 0 24 24",variant:D.outline},Se=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:r=Ue.viewBox,variant:d=Ue.variant,icon:c,...m}=e;if(!c)return ke(zo,{});if(c==="none")return ke("span",{...m,className:i(e.className,Ve,T("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let x=typeof c=="object"&&c.name&&c.name,N=typeof c=="object"?d&&c.variants?.[d]||c.variants?.outline||c.content:void 0;return ke("span",{...m,className:i(e.className,Ve,T("k-icon",{size:t}),{[`k-svg-i-${x}`]:x,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:ke("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:r,dangerouslySetInnerHTML:N!==void 0?{__html:N}:void 0,children:c?void 0:e.children})})};Se.states=Bo;Se.options=wo;Se.className=Ve;Se.defaultOptions=Ue;var $e=Se;import*as Xe from"@progress/kendo-svg-icons";var gt="icon",Ot="icons";import{useContext as Fo}from"react";import{createContext as Do}from"react";var Ct=Do({iconsType:"svg"});import{Fragment as kt,jsx as be}from"react/jsx-runtime";var Le="k-icon",Vo=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Uo=[],$o={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info],variant:[D.outline,D.solid,D.duotone]},Pe={viewBox:"0 0 24 24",type:"svg",variant:D.outline},b=e=>{let{iconsType:t}=Fo(Ct),{size:o,themeColor:a,icon:n,type:r=t||Pe.type,rotate:d,flip:c,viewBox:m=Pe.viewBox,variant:x=Pe.variant,...N}=e;if(!n)return be(kt,{});if((t||r)==="svg"){if(n==="none")return be($e,{...N,className:i(e.className,Le),icon:n,size:o,variant:x});let M=Xe[n]?n:Vo(`${n}-icon`);return Xe[M]?be($e,{...N,className:i(e.className,Le),icon:Xe[M],size:o,themeColor:a,rotate:d,flip:c,viewBox:m,variant:x}):be(kt,{})}return be(yt,{...N,className:i(e.className,Le),icon:n,size:o,themeColor:a,rotate:d,flip:c})};b.states=Uo;b.options=$o;b.defaultOptions=Pe;b.className=Le;b.moduleName=gt;b.folderName=Ot;import{Fragment as qo,jsx as Je}from"react/jsx-runtime";var Lt="k-clear-value",Xo=[s.disabled,s.loading,s.readonly],Jo={},_=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?Je(qo,{}):Je("span",{className:i(e.className,Lt),children:Je(b,{icon:"x"})})};_.states=Xo;_.options=Jo;_.className=Lt;import{jsx as Wo}from"react/jsx-runtime";var qe="k-input-inner",Go=[],Yo={},He={type:"text",autocomplete:"off",value:"",placeholder:""},R=e=>{let{value:t=He.value,type:o=He.type,placeholder:a=He.placeholder,autocomplete:n=He.autocomplete,disabled:r,readOnly:d,...c}=e;return Wo("input",{...c,type:o,className:i(e.className,qe,T(qe,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:r||void 0,readOnly:d||void 0})};R.states=Go;R.options=Yo;R.className=qe;import{jsx as Pt,jsxs as jo}from"react/jsx-runtime";var Ge="k-input-inner",Qo=[],Zo={},Ye=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:r,...d}=e;return jo("span",{...d,className:i(e.className,Ge,T(Ge,e)),children:[n,!n&&r&&Pt(b,{className:"k-input-value-icon",icon:r}),a&&!t&&o,a&&t&&Pt("span",{className:"k-input-value-text",children:t})]})};Ye.states=Qo;Ye.options=Zo;Ye.className=Ge;import{jsx as on}from"react/jsx-runtime";var We="k-input-inner",en=[],tn={},Ht={value:"",placeholder:""},Qe=e=>{let{value:t=Ht.value,placeholder:o=Ht.placeholder,rows:a,disabled:n,...r}=e;return on("textarea",{...r,className:i(e.className,We,T(We,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};Qe.states=en;Qe.options=tn;Qe.className=We;import{Fragment as an,jsx as _t}from"react/jsx-runtime";var Rt="k-input-loading-icon",nn=[s.disabled,s.loading],F=e=>{let{disabled:t,loading:o}=e;return t||!o?_t(an,{}):_t("span",{className:i(e.className,Rt,"k-icon k-i-loading")})};F.states=nn;F.className=Rt;import{Fragment as ln,jsx as Kt}from"react/jsx-runtime";var Bt="k-input-validation-icon",sn=[s.valid,s.invalid,s.disabled,s.loading],rn={},K=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,r=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?Kt(ln,{}):Kt(b,{className:i(Bt),icon:r})};K.states=sn;K.options=rn;K.className=Bt;import{Fragment as mn,jsx as wt}from"react/jsx-runtime";var cn="k-input-prefix",dn={direction:"horizontal"},ne=e=>{let{direction:t=dn.direction,...o}=e;return e.children?wt("span",{...o,className:i(cn,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):wt(mn,{})};import{Fragment as fn,jsx as zt}from"react/jsx-runtime";var pn="k-input-suffix",un={direction:"horizontal"},ae=e=>{let{direction:t=un.direction,...o}=e;return e.children?zt("span",{...o,className:i(pn,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):zt(fn,{})};import{jsx as Wi}from"react/jsx-runtime";import{jsx as es}from"react/jsx-runtime";import{jsx as Nn}from"react/jsx-runtime";var Dt="k-input-separator",xn={direction:"vertical"},ie=e=>{let{direction:t=xn.direction,...o}=e;return Nn("span",{...o,className:i(Dt,e.className,{[`${Dt}-${t}`]:t})})};var Ze="button",Ft=Ze;import{Fragment as Vt,jsx as se,jsxs as Ut}from"react/jsx-runtime";var ve="k-button",hn=["icon-button"],Sn=[s.hover,s.focus,s.active,s.selected,s.disabled,s.generating],bn={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.inverse]},je={showArrow:!1,arrowIconName:"chevron-down"},f=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:r,showArrow:d=je.showArrow,arrowIconName:c=je.arrowIconName,variant:m,hover:x,focus:N,active:S,selected:M,disabled:P,togglable:g,ariaDisabled:O,icon:v,iconSize:C,text:H,iconClassName:te,className:fe,...xe}=e,Q=v!=null,ze=e.children!==void 0;return Ut(t,{className:i(fe,ve,Mt(ve,m),T(ve,{size:o,rounded:a,fillMode:n,themeColor:r}),z(ve,{hover:x,focus:N,active:S,disabled:P||O,selected:M}),{"k-icon-button":!H&&!ze&&Q}),"aria-pressed":g?M?"true":"false":void 0,...xe,"aria-disabled":O?"true":void 0,disabled:P||void 0,children:[typeof v=="string"&&v&&se(b,{className:i(te,"k-button-icon"),icon:v,size:C}),v&&typeof v!="string"&&se(Vt,{children:v}),H?Ut(Vt,{children:[H&&se("span",{className:"k-button-text",children:H}),e.children]}):e.children&&se("span",{className:"k-button-text",children:e.children}),d&&se("span",{className:"k-menu-button-arrow k-button-arrow",children:se(b,{icon:c})})]})};f.states=Sn;f.options=bn;f.variants=hn;f.className=ve;f.defaultOptions=je;f.moduleName=Ze;f.folderName=Ft;import{jsx as vn}from"react/jsx-runtime";var Z=e=>vn(f,{children:"Button",...e});import{Fragment as $t,jsx as V,jsxs as et}from"react/jsx-runtime";var An=E.states,Tn=E.defaultOptions,Mn=E.options,En=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],In=[],re=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:r,readonly:d,...c}=e,m=t?.prefix,x=t?.suffix,N=t?.["clear-button"],S=t?.["validation-icon"],M=t?.separators;return et(E,{...c,valid:o,invalid:a,loading:n,disabled:r,readonly:d,style:{width:300},children:[m&&et($t,{children:[V(ne,{children:V(b,{icon:"lock"})}),M&&V(ie,{})]}),V(R,{placeholder:"Placeholder",value:"Value"}),S&&V(K,{valid:o,invalid:a,loading:n,disabled:r}),V(F,{loading:n,disabled:r}),N&&V(_,{loading:n,disabled:r,readonly:d,value:"Value"}),x&&et($t,{children:[M&&V(ie,{}),V(ae,{children:V(Z,{size:c.size,fillMode:"clear",children:"Send"})})]})]})};re.options=Mn;re.states=An;re.variants=In;re.defaultOptions=Tn;re.modifiers=En;re.className=E.className;import{jsx as yn}from"react/jsx-runtime";var Xt=e=>yn(f,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as gn}from"react/jsx-runtime";var Jt=e=>gn(f,{icon:"folder",children:"Button",...e});import{jsx as tt}from"react/jsx-runtime";var On=f.options,Cn=f.states,kn={...f.defaultOptions,variant:"text"},Ln=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Pn=[],le=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return tt(Xt,{...o,icon:"star"});case"icon-and-text":return tt(Jt,{...o,icon:"star",children:"Button"});default:return tt(Z,{...o,children:"Button"})}};le.options=On;le.states=Cn;le.variants=Ln;le.defaultOptions=kn;le.modifiers=Pn;le.className=f.className;var ot="popup",qt=ot;import{jsx as Gt}from"react/jsx-runtime";var Yt="k-animation-container",Hn=[],_n={},nt={positionMode:"absolute",shown:!0},U=e=>{let{positionMode:t=nt.positionMode,shown:o=nt.shown,animationStyle:a,offset:n,...r}=e;return Gt("div",{...r,style:{...n,...e.style},className:i(e.className,Yt,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:Gt("div",{className:"k-child-animation-container",style:a,children:e.children})})};U.states=Hn;U.options=_n;U.className=Yt;U.defaultOptions=nt;U.moduleName=ot;U.folderName=qt;var at="popup",Wt=at;import{jsx as Qt}from"react/jsx-runtime";var Zt="k-popup",Rn=[],Kn={},jt={positionMode:"absolute"},B=e=>{let{offset:t,positionMode:o=jt.positionMode,animationStyle:a,containerClassName:n,containerRole:r,containerAriaLabel:d,...c}=e;return Qt(U,{positionMode:o,offset:t,animationStyle:a,className:n,role:r,"aria-label":d,children:Qt("div",{...c,className:i(e.className,Zt),children:e.children})})};B.states=Rn;B.options=Kn;B.className=Zt;B.defaultOptions=jt;B.moduleName=at;B.folderName=Wt;var eo="time-selector",to="timeselector";import{Fragment as oo,jsx as _e,jsxs as no}from"react/jsx-runtime";var it="k-timeselector",Bn=[],wn={size:[l.undefined,l.small,l.medium,l.large]},zn={},$=e=>{let{size:t,header:o,fastSelection:a,columns:n,focusedColumn:r,...d}=e,c=n.map(function(m,x){let N=!1,S=!0;return m===r&&(N=!0),(x===0||m==="tt")&&(S=!1),_e(st,{type:m,focus:N,separator:S},x)});return no("div",{...d,className:i(e.className,it,T(it,{size:t})),role:"group","aria-label":"Time selector",children:[_e(oo,{children:o}),_e(oo,{children:a}),no("div",{className:"k-time-list-container",children:[_e("span",{className:"k-time-highlight"}),c]})]})};$.states=Bn;$.options=wn;$.className=it;$.defaultOptions=zn;$.moduleName=eo;$.folderName=to;import{Fragment as Fn,jsx as j,jsxs as rt}from"react/jsx-runtime";var Dn=[s.focus],st=e=>{let{type:t,focus:o,separator:a,...n}=e,r,d=["00","01","02","03","04","05","06","07","08","09"];switch(t){case"dd":r="Day";break;case"HH":r="Hour";break;case"mm":r="Minute";break;case"ss":r="Second";break;case"SSS":r="Millisecond",d=["000","001","002","003","004","005","006","007","008","009"];break;case"tt":r="AM/PM",d=["AM","PM"];break;default:r="Column Name";break}let c=d.map((m,x)=>j("li",{className:"k-item",role:"option","aria-selected":"false",children:j("span",{children:m})},x));return rt(Fn,{children:[a&&j("div",{className:"k-time-separator",children:":"}),rt("div",{...n,className:i(e.className,"k-time-list-wrapper",z("k-time-list-wrapper",{focus:o})),children:[j("span",{className:"k-title",children:r}),j("div",{className:"k-time-list",role:"listbox","aria-label":r,children:rt("div",{className:"k-content k-scrollable k-time-container",children:[j("ul",{className:"k-reset",style:{transform:"translateY(97px)"},role:"none",children:c}),j("div",{className:"k-scrollable-placeholder"})]})})]})]})};st.states=Dn;import{jsx as Un,jsxs as $n}from"react/jsx-runtime";var Vn="k-time-header",ce=e=>{let{title:t,...o}=e;return $n("div",{...o,className:i(e.className,Vn),children:[t!=null&&Un("span",{className:"k-title",children:t}),e.children]})};var lt="action-buttons",ao=lt;import{jsx as qn}from"react/jsx-runtime";var Re="k-actions",Xn=[],Jn={},ct={alignment:"start",orientation:"horizontal"},k=e=>{let{alignment:t=ct.alignment,orientation:o=ct.orientation,...a}=e;return qn("div",{...a,className:i(Re,{[`${Re}-${t}`]:t,[`${Re}-${o}`]:o},e.className),children:e.children})};k.states=Xn;k.options=Jn;k.className=Re;k.defaultOptions=ct;k.moduleName=lt;k.folderName=ao;import{jsx as Jr,jsxs as qr}from"react/jsx-runtime";import{Fragment as nl,jsx as tl,jsxs as ol}from"react/jsx-runtime";import{Fragment as ul,jsx as ml,jsxs as pl}from"react/jsx-runtime";import{Fragment as Ml,jsx as Al,jsxs as Tl}from"react/jsx-runtime";import{jsx as Yn}from"react/jsx-runtime";var Gn="k-actionsheet-footer",so={alignment:"stretched",orientation:"horizontal"},X=e=>{let{alignment:t=so.alignment,orientation:o=so.orientation,template:a,as:n=a?"div":k,...r}=e;return Yn(n,{...r,...!a&&{alignment:t,orientation:o},className:i(e.className,Gn),children:e.children})};var dt="searchbox",ro=dt;import{jsx as Ae,jsxs as Zn}from"react/jsx-runtime";var lo="k-searchbox",Wn=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading],Qn={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},mt={showIcon:!0,icon:"search"},J=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:r,hover:d,focus:c,valid:m,invalid:x,required:N,loading:S,disabled:M,showIcon:P=mt.showIcon,icon:g=mt.icon,"aria-label":O,...v}=e;return Zn(E,{...v,size:a,rounded:n,fillMode:r,hover:d,focus:c,valid:m,invalid:x,required:N,loading:S,disabled:M,className:i(e.className,lo),children:[P&&Ae(b,{className:"k-input-icon",icon:g}),Ae(R,{placeholder:o,value:t,"aria-label":O}),Ae(F,{...e}),Ae(K,{...e}),Ae(_,{...e})]})};J.states=Wn;J.options=Qn;J.className=lo;J.defaultOptions=mt;J.moduleName=dt;J.folderName=ro;import{jsx as ql}from"react/jsx-runtime";var pt="textbox",co=pt;import{Fragment as mo,jsx as q,jsxs as ut}from"react/jsx-runtime";var po="k-textbox",jn=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],ea={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Ke={showClearButton:!0,showValidationIcon:!0,separators:!0},L=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Ke.separators,showClearButton:r=Ke.showClearButton,showValidationIcon:d=Ke.showValidationIcon,prefix:c,suffix:m,type:x,value:N,placeholder:S,hover:M,focus:P,valid:g,invalid:O,required:v,loading:C,disabled:H,readonly:te,id:fe,"aria-label":xe,"aria-describedby":Q,...ze}=e;return ut(E,{...ze,size:t,rounded:o,fillMode:a,hover:M,focus:P,valid:g,invalid:O,required:v,loading:C,disabled:H,readonly:te,className:i(e.className,po),children:[c&&ut(mo,{children:[q(ne,{children:c}),n&&q(ie,{})]}),q(R,{id:fe,placeholder:S,value:N,type:x,disabled:H,"aria-label":xe,"aria-describedby":Q,"aria-invalid":O?"true":void 0}),d&&q(K,{valid:g,invalid:O,loading:C,disabled:H}),q(F,{loading:C,disabled:H}),r&&q(_,{loading:C,disabled:H,readonly:te,value:N}),m&&ut(mo,{children:[n&&q(ie,{}),q(ae,{children:m})]})]})};L.states=jn;L.options=ea;L.className=po;L.defaultOptions=Ke;L.moduleName=pt;L.folderName=co;var Te=L;import{jsx as ta}from"react/jsx-runtime";var uo=e=>ta(Te,{...e});import{Fragment as mc,jsx as dc}from"react/jsx-runtime";import{Fragment as hc,jsx as Nc}from"react/jsx-runtime";import{jsx as Ac}from"react/jsx-runtime";import{jsx as ft}from"react/jsx-runtime";var oa=L.states,na=L.defaultOptions,aa=L.options,ia=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],sa=[],de=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?ft(b,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[n]?ft(Z,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;default:break}}),ft(uo,{value:"Value",style:{width:300},...o,...a})};de.options=aa;de.states=oa;de.variants=sa;de.defaultOptions=na;de.modifiers=ia;de.className=L.className;import{jsx as G,jsxs as xt}from"react/jsx-runtime";var fo="k-actionsheet-titlebar",ra={},w=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:r,input:d,inputValue:c,inputPlaceholder:m,adaptive:x,titleId:N,children:S,...M}=e;return xt("div",{...M,className:i(e.className,fo),children:[xt("div",{className:"k-actionsheet-titlebar-group",children:[a&&G("div",{className:"k-actionsheet-actions",children:a}),!S&&xt("div",{className:"k-actionsheet-title",id:N,children:[t&&G("div",{className:"k-text-center",children:t}),o&&G("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),S&&G("div",{className:"k-actionsheet-title",id:N,children:S}),n&&G("div",{className:"k-actionsheet-actions",children:n})]}),(d||r)&&G("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?G(L,{value:c,placeholder:m,size:x?"large":"medium","aria-label":t||m||"Input"}):G(J,{placeholder:"Filter",size:x?"large":"medium","aria-label":"Filter options"})})]})};w.className=fo;w.defaultOptions=ra;import{jsx as Nt,jsxs as ma}from"react/jsx-runtime";var ht="k-actionsheet-view",la=[],ca={},da={},me=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:r,titleId:d,...c}=e,m=n?.type===w&&Nt(w,{adaptive:t,titleId:d,...n?.props}),x=r?.type===X&&Nt(X,{...r?.props});return ma("div",{...c,className:i(e.className,ht,{[`${ht}-animated`]:o}),children:[m,Nt("div",{className:"k-actionsheet-content",children:a}),x]})};me.states=la;me.options=ca;me.className=ht;me.defaultOptions=da;var Me="action-sheet",Be=Me;var St="overlay",xo=St;import{jsx as xa}from"react/jsx-runtime";var No="k-overlay",pa=[],ua={},fa={},Y=e=>{let{...t}=e;return xa("div",{...t,className:i(e.className,No),children:e.children})};Y.states=pa;Y.options=ua;Y.className=No;Y.defaultOptions=fa;Y.moduleName=St;Y.folderName=xo;import{jsx as we,jsxs as Sa}from"react/jsx-runtime";var ho="k-actionsheet",Na=[],ha={},Ee={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},y=e=>{let{side:t=Ee.side,fullscreen:o=Ee.fullscreen,adaptive:a=Ee.adaptive,overlay:n=Ee.overlay,template:r,children:d,header:c,footer:m,id:x,...N}=e,S=x&&!r&&c?`${x}-title`:void 0;return Sa("div",{className:"k-actionsheet-container",children:[n&&we(Y,{}),we(U,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:we("div",{...N,id:x,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":S,className:i(e.className,ho,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:r||we(me,{header:c,footer:m,adaptive:a,titleId:S,...e,children:d})})})]})};y.states=Na;y.options=ha;y.className=ho;y.defaultOptions=Ee;y.moduleName=Me;y.folderName=Be;import{jsx as Ta}from"react/jsx-runtime";var So="k-actionsheet-container",ba=[],va={},Aa={},pe=e=>{let{children:t,...o}=e;return Ta("div",{...o,className:So,children:t})};pe.states=ba;pe.options=va;pe.className=So;pe.defaultOptions=Aa;pe.moduleName=Me;pe.folderName=Be;import{jsx as Ma}from"react/jsx-runtime";var bt=e=>{let{...t}=e;return Ma("div",{...t,className:i(e.className,"k-list-ul"),children:e.children})};import{Fragment as Ia,jsx as Ie,jsxs as vt}from"react/jsx-runtime";var At="k-actionsheet-item",Ea=[s.hover,s.focus,s.selected,s.disabled],W=e=>{let{iconName:t,text:o,description:a,hover:n,focus:r,selected:d,disabled:c,...m}=e;return vt("span",{...m,className:i(e.className,At,z(At,{hover:n,focus:r,selected:d,disabled:c})),children:[!e.children&&Ie(Ia,{children:vt("span",{className:"k-actionsheet-action",children:[t&&Ie("span",{className:"k-icon-wrap",children:Ie(b,{className:"k-actionsheet-item-icon",icon:t})}),vt("span",{className:"k-actionsheet-item-text",children:[o&&Ie("span",{className:"k-actionsheet-item-title",children:o}),a&&Ie("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};W.states=Ea;W.className=At;import{jsx as vd,jsxs as Ad}from"react/jsx-runtime";import{jsx as Id}from"react/jsx-runtime";import{jsx as Cd}from"react/jsx-runtime";import{jsx as Hd}from"react/jsx-runtime";import{jsx as I,jsxs as Tt}from"react/jsx-runtime";var ya=y.options,ga=y.states,vo={...y.defaultOptions,variant:"normal"},Oa=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Ca=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],ue=e=>{let{variant:t,modifiers:o,...a}={...vo,...e},n={},r=Tt(bt,{children:[I(W,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),I(W,{text:"Add to Favorites",iconName:"heart"}),I(W,{text:"Upload New",iconName:"upload",disabled:!0}),I("hr",{className:"k-hr"}),I(W,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",c="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(m=>{switch(m){case"actions":n.actionsStart=!!o?.[m],n.actionsEnd=!!o?.[m];break;case"subtitle":n.subtitle=o?.[m]?d:void 0;break;case"footer":n.footer=!!o?.[m];break;default:break}}),t==="adaptive"?I(y,{...a,adaptive:!0,fullscreen:n.fullScreen,header:I(w,{actionsStart:n.actionsStart?I(f,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?I(f,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:c,subtitle:n.subtitle}),footer:n.footer?Tt(X,{alignment:"stretched",children:[I(f,{text:"Cancel",size:"large",themeColor:"base"}),I(f,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:r}):I(y,{...a,fullscreen:n.fullScreen,header:I(w,{actionsStart:n.actionsStart?I(f,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?I(f,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?Tt(X,{alignment:"stretched",children:[I(f,{text:"Apply",themeColor:"primary"}),I(f,{text:"Cancel",themeColor:"base"})]}):void 0,children:r})};ue.options=ya;ue.states=ga;ue.variants=Oa;ue.defaultOptions=vo;ue.modifiers=Ca;ue.className=y.className;var Ao="time-picker",To="timepicker";import{Fragment as Ha,jsx as A,jsxs as ye}from"react/jsx-runtime";var Mo="k-timepicker",ka=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],La={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Pa={},ee=e=>{let{size:t,rounded:o,fillMode:a,prefix:n,suffix:r,value:d,placeholder:c,hover:m,focus:x,valid:N,invalid:S,required:M,loading:P,disabled:g,readonly:O,opened:v,adaptive:C,adaptiveSettings:H,adaptiveTitle:te,adaptiveSubtitle:fe,...xe}=e,Q=Et("timepicker-popup");return ye(Ha,{children:[ye(E,{...xe,size:t,rounded:o,fillMode:a,hover:m,focus:x,valid:N,invalid:S,required:M,loading:P,disabled:g,readonly:O,className:i(e.className,Mo),children:[A(ne,{children:n}),A(R,{placeholder:c,value:d,role:"combobox","aria-haspopup":"dialog","aria-expanded":v?"true":"false","aria-controls":v||C?Q:void 0,"aria-invalid":S?"true":void 0,"aria-label":"Select time",disabled:g}),A(K,{valid:N,invalid:S,loading:P,disabled:g}),A(F,{loading:P,disabled:g}),A(_,{loading:P,disabled:g,readonly:O,value:d}),A(ae,{children:r}),A(f,{className:"k-input-button",icon:"clock",size:t,fillMode:a,tabIndex:-1,"aria-label":"Select time",disabled:g})]}),v&&ye(B,{id:Q,className:"k-list-container k-timepicker-popup",children:[A($,{columns:["HH","mm","ss","tt"],focusedColumn:"mm",header:A(ce,{title:"10:00:00 AM",children:A(f,{fillMode:"flat",className:"k-time-now",children:"Now"})})}),ye(k,{alignment:"stretched",className:"k-time-footer",children:[A(f,{themeColor:"primary",className:"k-time-accept",children:"Set"}),A(f,{className:"k-time-cancel",children:"Cancel"})]})]}),C&&A(y,{adaptive:!0,id:Q,...H,header:A(w,{actionsEnd:A(f,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:te,subtitle:fe}),footer:ye(X,{children:[A(f,{text:"Cancel",size:"large"}),A(f,{text:"Set time",size:"large",themeColor:"primary"})]}),children:A($,{size:"large",columns:["HH","mm","ss","tt"],focusedColumn:"HH",header:A(ce,{title:"10:00:00 \u0410\u041C",children:A(f,{size:"large",fillMode:"flat",className:"k-time-now",children:"Now"})})})})]})};ee.states=ka;ee.options=La;ee.className=Mo;ee.defaultOptions=Pa;ee.moduleName=Ao;ee.folderName=To;var Eo=ee;import{jsx as _a}from"react/jsx-runtime";var Nm=e=>_a(Eo,{...e});export{Nm as TimePickerNormal};
|
|
1
|
+
var i=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?i(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var E=(e,t)=>i({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),z=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:r,checked:d,active:c,selected:m,disabled:x,indeterminate:h,loading:b,empty:v,readonly:w,highlighted:L,...T}=t;return i({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":r,"k-checked":d,"k-active":c,"k-selected":m,"k-disabled":x,"k-indeterminate":h&&!d,"k-loading":b,"k-empty":v,"k-readonly":w,"k-highlighted":L},Object.keys(T).reduce((M,g)=>(g.startsWith("k-")?M[g]=T[g]:M[`k-${g}`]=T[g],M),{}))};function Mt(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var l={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},p={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},N={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},D={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},u={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},s={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var De={};function Et(e){return De[e]=(De[e]||0)+1,`k-${e}-${De[e]}`}var he="input",Oe=he;import{jsx as Co}from"react/jsx-runtime";var Ce="k-input",yo=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],go={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Oo={},I=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c,size:m,rounded:x,fillMode:h,...b}=e;return Co("span",{...b,className:i(e.className,Ce,E(Ce,{size:m,rounded:x,fillMode:h}),z(Ce,{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c}))})};I.states=yo;I.options=go;I.className=Ce;I.defaultOptions=Oo;I.moduleName=he;I.folderName=Oe;import{jsx as Ho}from"react/jsx-runtime";var ke="k-picker",ko=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Lo={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Po={},oe=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c,size:m,rounded:x,fillMode:h,...b}=e;return Ho("span",{...b,className:i(e.className,ke,E(ke,{size:m,rounded:x,fillMode:h}),z(ke,{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c})),children:e.children})};oe.states=ko;oe.options=Lo;oe.className=ke;oe.defaultOptions=Po;oe.moduleName=he;oe.folderName=Oe;import{Fragment as Bo,jsx as It}from"react/jsx-runtime";var Fe="k-font-icon",_o=[],Ro={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info]},Ko={},be=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:r,...d}=e;return a?It("span",{...d,className:i(e.className,Fe,E(Fe,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),"aria-hidden":"true"}):It(Bo,{})};be.states=_o;be.options=Ro;be.className=Fe;be.defaultOptions=Ko;var yt=be;import{Fragment as Do,jsx as Le}from"react/jsx-runtime";var Ve="k-svg-icon",wo=[],zo={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info],variant:[D.outline,D.solid,D.duotone]},Ue={viewBox:"0 0 24 24",variant:D.outline},Se=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:r=Ue.viewBox,variant:d=Ue.variant,icon:c,...m}=e;if(!c)return Le(Do,{});if(c==="none")return Le("span",{...m,className:i(e.className,Ve,E("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let x=typeof c=="object"&&c.name&&c.name,h=typeof c=="object"?d&&c.variants?.[d]||c.variants?.outline||c.content:void 0;return Le("span",{...m,className:i(e.className,Ve,E("k-icon",{size:t}),{[`k-svg-i-${x}`]:x,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:Le("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:r,dangerouslySetInnerHTML:h!==void 0?{__html:h}:void 0,children:c?void 0:e.children})})};Se.states=wo;Se.options=zo;Se.className=Ve;Se.defaultOptions=Ue;var $e=Se;import*as Xe from"@progress/kendo-svg-icons";var gt="icon",Ot="icons";import{useContext as Vo}from"react";import{createContext as Fo}from"react";var Ct=Fo({iconsType:"svg"});import{Fragment as kt,jsx as ve}from"react/jsx-runtime";var Pe="k-icon",Uo=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),$o=[],Xo={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info],variant:[D.outline,D.solid,D.duotone]},He={viewBox:"0 0 24 24",type:"svg",variant:D.outline},S=e=>{let{iconsType:t}=Vo(Ct),{size:o,themeColor:a,icon:n,type:r=t||He.type,rotate:d,flip:c,viewBox:m=He.viewBox,variant:x=He.variant,...h}=e;if(!n)return ve(kt,{});if((t||r)==="svg"){if(n==="none")return ve($e,{...h,className:i(e.className,Pe),icon:n,size:o,variant:x});let v=Xe[n]?n:Uo(`${n}-icon`);return Xe[v]?ve($e,{...h,className:i(e.className,Pe),icon:Xe[v],size:o,themeColor:a,rotate:d,flip:c,viewBox:m,variant:x}):ve(kt,{})}return ve(yt,{...h,className:i(e.className,Pe),icon:n,size:o,themeColor:a,rotate:d,flip:c})};S.states=$o;S.options=Xo;S.defaultOptions=He;S.className=Pe;S.moduleName=gt;S.folderName=Ot;import{Fragment as Go,jsx as Je}from"react/jsx-runtime";var Lt="k-clear-value",Jo=[s.disabled,s.loading,s.readonly],qo={},H=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?Je(Go,{}):Je("span",{className:i(e.className,Lt),children:Je(S,{icon:"x"})})};H.states=Jo;H.options=qo;H.className=Lt;import{jsx as Qo}from"react/jsx-runtime";var qe="k-input-inner",Yo=[],Wo={},_e={type:"text",autocomplete:"off",value:"",placeholder:""},_=e=>{let{value:t=_e.value,type:o=_e.type,placeholder:a=_e.placeholder,autocomplete:n=_e.autocomplete,disabled:r,readOnly:d,...c}=e;return Qo("input",{...c,type:o,className:i(e.className,qe,E(qe,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:r||void 0,readOnly:d||void 0})};_.states=Yo;_.options=Wo;_.className=qe;import{jsx as Pt,jsxs as en}from"react/jsx-runtime";var Ge="k-input-inner",Zo=[],jo={},Ye=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:r,...d}=e;return en("span",{...d,className:i(e.className,Ge,E(Ge,e)),children:[n,!n&&r&&Pt(S,{className:"k-input-value-icon",icon:r}),a&&!t&&o,a&&t&&Pt("span",{className:"k-input-value-text",children:t})]})};Ye.states=Zo;Ye.options=jo;Ye.className=Ge;import{jsx as nn}from"react/jsx-runtime";var We="k-input-inner",tn=[],on={},Ht={value:"",placeholder:""},Qe=e=>{let{value:t=Ht.value,placeholder:o=Ht.placeholder,rows:a,disabled:n,...r}=e;return nn("textarea",{...r,className:i(e.className,We,E(We,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};Qe.states=tn;Qe.options=on;Qe.className=We;import{Fragment as sn,jsx as _t}from"react/jsx-runtime";var Rt="k-input-loading-icon",an=[s.disabled,s.loading],F=e=>{let{disabled:t,loading:o}=e;return t||!o?_t(sn,{}):_t("span",{className:i(e.className,Rt,"k-icon k-i-loading")})};F.states=an;F.className=Rt;import{Fragment as cn,jsx as Kt}from"react/jsx-runtime";var Bt="k-input-validation-icon",rn=[s.valid,s.invalid,s.disabled,s.loading],ln={},R=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,r=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?Kt(cn,{}):Kt(S,{className:i(Bt),icon:r})};R.states=rn;R.options=ln;R.className=Bt;import{Fragment as pn,jsx as wt}from"react/jsx-runtime";var dn="k-input-prefix",mn={direction:"horizontal"},ne=e=>{let{direction:t=mn.direction,...o}=e;return e.children?wt("span",{...o,className:i(dn,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):wt(pn,{})};import{Fragment as xn,jsx as zt}from"react/jsx-runtime";var un="k-input-suffix",fn={direction:"horizontal"},ae=e=>{let{direction:t=fn.direction,...o}=e;return e.children?zt("span",{...o,className:i(un,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):zt(xn,{})};import{jsx as Wi}from"react/jsx-runtime";import{jsx as es}from"react/jsx-runtime";import{jsx as hn}from"react/jsx-runtime";var Dt="k-input-separator",Nn={direction:"vertical"},ie=e=>{let{direction:t=Nn.direction,...o}=e;return hn("span",{...o,className:i(Dt,e.className,{[`${Dt}-${t}`]:t})})};var Ze="button",Ft=Ze;import{Fragment as Vt,jsx as se,jsxs as Ut}from"react/jsx-runtime";var Ae="k-button",bn=["icon-button"],Sn=[s.hover,s.focus,s.active,s.selected,s.disabled,s.generating],vn={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline,N.clear,N.link],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.inverse]},je={showArrow:!1,arrowIconName:"chevron-down"},f=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:r,showArrow:d=je.showArrow,arrowIconName:c=je.arrowIconName,variant:m,hover:x,focus:h,active:b,selected:v,disabled:w,togglable:L,ariaDisabled:T,icon:M,iconSize:g,text:P,iconClassName:te,className:fe,...xe}=e,Ne=M!=null,Q=e.children!==void 0;return Ut(t,{className:i(fe,Ae,Mt(Ae,m),E(Ae,{size:o,rounded:a,fillMode:n,themeColor:r}),z(Ae,{hover:x,focus:h,active:b,disabled:w||T,selected:v}),{"k-icon-button":!P&&!Q&&Ne}),"aria-pressed":L?v?"true":"false":void 0,...xe,"aria-disabled":T?"true":void 0,disabled:w||void 0,children:[typeof M=="string"&&M&&se(S,{className:i(te,"k-button-icon"),icon:M,size:g}),M&&typeof M!="string"&&se(Vt,{children:M}),P?Ut(Vt,{children:[P&&se("span",{className:"k-button-text",children:P}),e.children]}):e.children&&se("span",{className:"k-button-text",children:e.children}),d&&se("span",{className:"k-menu-button-arrow k-button-arrow",children:se(S,{icon:c})})]})};f.states=Sn;f.options=vn;f.variants=bn;f.className=Ae;f.defaultOptions=je;f.moduleName=Ze;f.folderName=Ft;import{jsx as An}from"react/jsx-runtime";var Z=e=>An(f,{children:"Button",...e});import{Fragment as $t,jsx as V,jsxs as et}from"react/jsx-runtime";var Tn=I.states,Mn=I.defaultOptions,En=I.options,In=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],yn=[],re=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:r,readonly:d,...c}=e,m=t?.prefix,x=t?.suffix,h=t?.["clear-button"],b=t?.["validation-icon"],v=t?.separators;return et(I,{...c,valid:o,invalid:a,loading:n,disabled:r,readonly:d,style:{width:300},children:[m&&et($t,{children:[V(ne,{children:V(S,{icon:"lock"})}),v&&V(ie,{})]}),V(_,{placeholder:"Placeholder",value:"Value"}),b&&V(R,{valid:o,invalid:a,loading:n,disabled:r}),V(F,{loading:n,disabled:r}),h&&V(H,{loading:n,disabled:r,readonly:d,value:"Value"}),x&&et($t,{children:[v&&V(ie,{}),V(ae,{children:V(Z,{size:c.size,fillMode:"clear",children:"Send"})})]})]})};re.options=En;re.states=Tn;re.variants=yn;re.defaultOptions=Mn;re.modifiers=In;re.className=I.className;import{jsx as gn}from"react/jsx-runtime";var Xt=e=>gn(f,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as On}from"react/jsx-runtime";var Jt=e=>On(f,{icon:"folder",children:"Button",...e});import{jsx as tt}from"react/jsx-runtime";var Cn=f.options,kn=f.states,Ln={...f.defaultOptions,variant:"text"},Pn=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Hn=[],le=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return tt(Xt,{...o,icon:"star"});case"icon-and-text":return tt(Jt,{...o,icon:"star",children:"Button"});default:return tt(Z,{...o,children:"Button"})}};le.options=Cn;le.states=kn;le.variants=Pn;le.defaultOptions=Ln;le.modifiers=Hn;le.className=f.className;var ot="popup",qt=ot;import{jsx as Gt}from"react/jsx-runtime";var Yt="k-animation-container",_n=[],Rn={},nt={positionMode:"absolute",shown:!0},U=e=>{let{positionMode:t=nt.positionMode,shown:o=nt.shown,animationStyle:a,offset:n,...r}=e;return Gt("div",{...r,style:{...n,...e.style},className:i(e.className,Yt,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:Gt("div",{className:"k-child-animation-container",style:a,children:e.children})})};U.states=_n;U.options=Rn;U.className=Yt;U.defaultOptions=nt;U.moduleName=ot;U.folderName=qt;var at="popup",Wt=at;import{jsx as Qt}from"react/jsx-runtime";var Zt="k-popup",Kn=[],Bn={},jt={positionMode:"absolute"},K=e=>{let{offset:t,positionMode:o=jt.positionMode,animationStyle:a,containerClassName:n,containerRole:r,containerAriaLabel:d,...c}=e;return Qt(U,{positionMode:o,offset:t,animationStyle:a,className:n,role:r,"aria-label":d,children:Qt("div",{...c,className:i(e.className,Zt),children:e.children})})};K.states=Kn;K.options=Bn;K.className=Zt;K.defaultOptions=jt;K.moduleName=at;K.folderName=Wt;var eo="time-selector",to="timeselector";import{Fragment as oo,jsx as Re,jsxs as no}from"react/jsx-runtime";var it="k-timeselector",wn=[],zn={size:[l.undefined,l.small,l.medium,l.large]},Dn={},$=e=>{let{size:t,header:o,fastSelection:a,columns:n,focusedColumn:r,...d}=e,c=n.map(function(m,x){let h=!1,b=!0;return m===r&&(h=!0),(x===0||m==="tt")&&(b=!1),Re(st,{type:m,focus:h,separator:b},x)});return no("div",{...d,className:i(e.className,it,E(it,{size:t})),role:"group","aria-label":"Time selector",children:[Re(oo,{children:o}),Re(oo,{children:a}),no("div",{className:"k-time-list-container",children:[Re("span",{className:"k-time-highlight"}),c]})]})};$.states=wn;$.options=zn;$.className=it;$.defaultOptions=Dn;$.moduleName=eo;$.folderName=to;import{Fragment as Vn,jsx as j,jsxs as rt}from"react/jsx-runtime";var Fn=[s.focus],st=e=>{let{type:t,focus:o,separator:a,...n}=e,r,d=["00","01","02","03","04","05","06","07","08","09"];switch(t){case"dd":r="Day";break;case"HH":r="Hour";break;case"mm":r="Minute";break;case"ss":r="Second";break;case"SSS":r="Millisecond",d=["000","001","002","003","004","005","006","007","008","009"];break;case"tt":r="AM/PM",d=["AM","PM"];break;default:r="Column Name";break}let c=d.map((m,x)=>j("li",{className:"k-item",role:"option","aria-selected":"false",children:j("span",{children:m})},x));return rt(Vn,{children:[a&&j("div",{className:"k-time-separator",children:":"}),rt("div",{...n,className:i(e.className,"k-time-list-wrapper",z("k-time-list-wrapper",{focus:o})),children:[j("span",{className:"k-title",children:r}),j("div",{className:"k-time-list",role:"listbox","aria-label":r,children:rt("div",{className:"k-content k-scrollable k-time-container",children:[j("ul",{className:"k-reset",style:{transform:"translateY(97px)"},role:"none",children:c}),j("div",{className:"k-scrollable-placeholder"})]})})]})]})};st.states=Fn;import{jsx as $n,jsxs as Xn}from"react/jsx-runtime";var Un="k-time-header",ce=e=>{let{title:t,...o}=e;return Xn("div",{...o,className:i(e.className,Un),children:[t!=null&&$n("span",{className:"k-title",children:t}),e.children]})};var lt="action-buttons",ao=lt;import{jsx as Gn}from"react/jsx-runtime";var Ke="k-actions",Jn=[],qn={},ct={alignment:"start",orientation:"horizontal"},C=e=>{let{alignment:t=ct.alignment,orientation:o=ct.orientation,...a}=e;return Gn("div",{...a,className:i(Ke,{[`${Ke}-${t}`]:t,[`${Ke}-${o}`]:o},e.className),children:e.children})};C.states=Jn;C.options=qn;C.className=Ke;C.defaultOptions=ct;C.moduleName=lt;C.folderName=ao;import{jsx as Jr,jsxs as qr}from"react/jsx-runtime";import{Fragment as nl,jsx as tl,jsxs as ol}from"react/jsx-runtime";import{Fragment as ul,jsx as ml,jsxs as pl}from"react/jsx-runtime";import{Fragment as Ml,jsx as Al,jsxs as Tl}from"react/jsx-runtime";import{jsx as Wn}from"react/jsx-runtime";var Yn="k-actionsheet-footer",so={alignment:"stretched",orientation:"horizontal"},X=e=>{let{alignment:t=so.alignment,orientation:o=so.orientation,template:a,as:n=a?"div":C,...r}=e;return Wn(n,{...r,...!a&&{alignment:t,orientation:o},className:i(e.className,Yn),children:e.children})};var dt="searchbox",ro=dt;import{jsx as Te,jsxs as jn}from"react/jsx-runtime";var lo="k-searchbox",Qn=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading],Zn={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},mt={showIcon:!0,icon:"search"},J=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:r,hover:d,focus:c,valid:m,invalid:x,required:h,loading:b,disabled:v,showIcon:w=mt.showIcon,icon:L=mt.icon,"aria-label":T,...M}=e;return jn(I,{...M,size:a,rounded:n,fillMode:r,hover:d,focus:c,valid:m,invalid:x,required:h,loading:b,disabled:v,className:i(e.className,lo),children:[w&&Te(S,{className:"k-input-icon",icon:L}),Te(_,{placeholder:o,value:t,"aria-label":T}),Te(F,{...e}),Te(R,{...e}),Te(H,{...e})]})};J.states=Qn;J.options=Zn;J.className=lo;J.defaultOptions=mt;J.moduleName=dt;J.folderName=ro;import{jsx as ql}from"react/jsx-runtime";var pt="textbox",co=pt;import{Fragment as mo,jsx as q,jsxs as ut}from"react/jsx-runtime";var po="k-textbox",ea=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],ta={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Be={showClearButton:!0,showValidationIcon:!0,separators:!0},k=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Be.separators,showClearButton:r=Be.showClearButton,showValidationIcon:d=Be.showValidationIcon,prefix:c,suffix:m,type:x,value:h,placeholder:b,hover:v,focus:w,valid:L,invalid:T,required:M,loading:g,disabled:P,readonly:te,id:fe,"aria-label":xe,"aria-describedby":Ne,...Q}=e;return ut(I,{...Q,size:t,rounded:o,fillMode:a,hover:v,focus:w,valid:L,invalid:T,required:M,loading:g,disabled:P,readonly:te,className:i(e.className,po),children:[c&&ut(mo,{children:[q(ne,{children:c}),n&&q(ie,{})]}),q(_,{id:fe,placeholder:b,value:h,type:x,disabled:P,"aria-label":xe,"aria-describedby":Ne,"aria-invalid":T?"true":void 0}),d&&q(R,{valid:L,invalid:T,loading:g,disabled:P}),q(F,{loading:g,disabled:P}),r&&q(H,{loading:g,disabled:P,readonly:te,value:h}),m&&ut(mo,{children:[n&&q(ie,{}),q(ae,{children:m})]})]})};k.states=ea;k.options=ta;k.className=po;k.defaultOptions=Be;k.moduleName=pt;k.folderName=co;var Me=k;import{jsx as oa}from"react/jsx-runtime";var uo=e=>oa(Me,{...e});import{Fragment as mc,jsx as dc}from"react/jsx-runtime";import{Fragment as hc,jsx as Nc}from"react/jsx-runtime";import{jsx as Ac}from"react/jsx-runtime";import{jsx as ft}from"react/jsx-runtime";var na=k.states,aa=k.defaultOptions,ia=k.options,sa=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],ra=[],de=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?ft(S,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[n]?ft(Z,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;default:break}}),ft(uo,{value:"Value",style:{width:300},...o,...a})};de.options=ia;de.states=na;de.variants=ra;de.defaultOptions=aa;de.modifiers=sa;de.className=k.className;import{jsx as G,jsxs as xt}from"react/jsx-runtime";var fo="k-actionsheet-titlebar",la={},B=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:r,input:d,inputValue:c,inputPlaceholder:m,adaptive:x,titleId:h,children:b,...v}=e;return xt("div",{...v,className:i(e.className,fo),children:[xt("div",{className:"k-actionsheet-titlebar-group",children:[a&&G("div",{className:"k-actionsheet-actions",children:a}),!b&&xt("div",{className:"k-actionsheet-title",id:h,children:[t&&G("div",{className:"k-text-center",children:t}),o&&G("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),b&&G("div",{className:"k-actionsheet-title",id:h,children:b}),n&&G("div",{className:"k-actionsheet-actions",children:n})]}),(d||r)&&G("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?G(k,{value:c,placeholder:m,size:x?"large":"medium","aria-label":t||m||"Input"}):G(J,{placeholder:"Filter",size:x?"large":"medium","aria-label":"Filter options"})})]})};B.className=fo;B.defaultOptions=la;import{jsx as Nt,jsxs as pa}from"react/jsx-runtime";var ht="k-actionsheet-view",ca=[],da={},ma={},me=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:r,titleId:d,...c}=e,m=n?.type===B&&Nt(B,{adaptive:t,titleId:d,...n?.props}),x=r?.type===X&&Nt(X,{...r?.props});return pa("div",{...c,className:i(e.className,ht,{[`${ht}-animated`]:o}),children:[m,Nt("div",{className:"k-actionsheet-content",children:a}),x]})};me.states=ca;me.options=da;me.className=ht;me.defaultOptions=ma;var Ee="action-sheet",we=Ee;var bt="overlay",xo=bt;import{jsx as Na}from"react/jsx-runtime";var No="k-overlay",ua=[],fa={},xa={},Y=e=>{let{...t}=e;return Na("div",{...t,className:i(e.className,No),children:e.children})};Y.states=ua;Y.options=fa;Y.className=No;Y.defaultOptions=xa;Y.moduleName=bt;Y.folderName=xo;import{jsx as ze,jsxs as Sa}from"react/jsx-runtime";var ho="k-actionsheet",ha=[],ba={},Ie={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},O=e=>{let{side:t=Ie.side,fullscreen:o=Ie.fullscreen,adaptive:a=Ie.adaptive,overlay:n=Ie.overlay,template:r,children:d,header:c,footer:m,id:x,...h}=e,b=x&&!r&&c?`${x}-title`:void 0;return Sa("div",{className:"k-actionsheet-container",children:[n&&ze(Y,{}),ze(U,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:ze("div",{...h,id:x,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":b,className:i(e.className,ho,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:r||ze(me,{header:c,footer:m,adaptive:a,titleId:b,...e,children:d})})})]})};O.states=ha;O.options=ba;O.className=ho;O.defaultOptions=Ie;O.moduleName=Ee;O.folderName=we;import{jsx as Ma}from"react/jsx-runtime";var bo="k-actionsheet-container",va=[],Aa={},Ta={},pe=e=>{let{children:t,...o}=e;return Ma("div",{...o,className:bo,children:t})};pe.states=va;pe.options=Aa;pe.className=bo;pe.defaultOptions=Ta;pe.moduleName=Ee;pe.folderName=we;import{jsx as Ea}from"react/jsx-runtime";var St=e=>{let{...t}=e;return Ea("div",{...t,className:i(e.className,"k-list-ul"),children:e.children})};import{Fragment as ya,jsx as ye,jsxs as vt}from"react/jsx-runtime";var At="k-actionsheet-item",Ia=[s.hover,s.focus,s.selected,s.disabled],W=e=>{let{iconName:t,text:o,description:a,hover:n,focus:r,selected:d,disabled:c,...m}=e;return vt("span",{...m,className:i(e.className,At,z(At,{hover:n,focus:r,selected:d,disabled:c})),children:[!e.children&&ye(ya,{children:vt("span",{className:"k-actionsheet-action",children:[t&&ye("span",{className:"k-icon-wrap",children:ye(S,{className:"k-actionsheet-item-icon",icon:t})}),vt("span",{className:"k-actionsheet-item-text",children:[o&&ye("span",{className:"k-actionsheet-item-title",children:o}),a&&ye("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};W.states=Ia;W.className=At;import{jsx as vd,jsxs as Ad}from"react/jsx-runtime";import{jsx as Id}from"react/jsx-runtime";import{jsx as Cd}from"react/jsx-runtime";import{jsx as Hd}from"react/jsx-runtime";import{jsx as y,jsxs as Tt}from"react/jsx-runtime";var ga=O.options,Oa=O.states,vo={...O.defaultOptions,variant:"normal"},Ca=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],ka=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],ue=e=>{let{variant:t,modifiers:o,...a}={...vo,...e},n={},r=Tt(St,{children:[y(W,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),y(W,{text:"Add to Favorites",iconName:"heart"}),y(W,{text:"Upload New",iconName:"upload",disabled:!0}),y("hr",{className:"k-hr"}),y(W,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",c="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(m=>{switch(m){case"actions":n.actionsStart=!!o?.[m],n.actionsEnd=!!o?.[m];break;case"subtitle":n.subtitle=o?.[m]?d:void 0;break;case"footer":n.footer=!!o?.[m];break;default:break}}),t==="adaptive"?y(O,{...a,adaptive:!0,fullscreen:n.fullScreen,header:y(B,{actionsStart:n.actionsStart?y(f,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?y(f,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:c,subtitle:n.subtitle}),footer:n.footer?Tt(X,{alignment:"stretched",children:[y(f,{text:"Cancel",size:"large",themeColor:"base"}),y(f,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:r}):y(O,{...a,fullscreen:n.fullScreen,header:y(B,{actionsStart:n.actionsStart?y(f,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?y(f,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?Tt(X,{alignment:"stretched",children:[y(f,{text:"Apply",themeColor:"primary"}),y(f,{text:"Cancel",themeColor:"base"})]}):void 0,children:r})};ue.options=ga;ue.states=Oa;ue.variants=Ca;ue.defaultOptions=vo;ue.modifiers=ka;ue.className=O.className;var Ao="time-picker",To="timepicker";import{Fragment as Ha,jsx as A,jsxs as ge}from"react/jsx-runtime";var Mo="k-timepicker",La=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Pa={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Eo={showClearButton:!0},ee=e=>{let{size:t,rounded:o,fillMode:a,prefix:n,suffix:r,value:d,placeholder:c,showClearButton:m=Eo.showClearButton,hover:x,focus:h,valid:b,invalid:v,required:w,loading:L,disabled:T,readonly:M,opened:g,adaptive:P,adaptiveSettings:te,adaptiveTitle:fe,adaptiveSubtitle:xe,...Ne}=e,Q=Et("timepicker-popup");return ge(Ha,{children:[ge(I,{...Ne,size:t,rounded:o,fillMode:a,hover:x,focus:h,valid:b,invalid:v,required:w,loading:L,disabled:T,readonly:M,className:i(e.className,Mo),children:[A(ne,{children:n}),A(_,{placeholder:c,value:d,role:"combobox","aria-haspopup":"dialog","aria-expanded":g?"true":"false","aria-controls":g||P?Q:void 0,"aria-invalid":v?"true":void 0,"aria-label":"Select time",disabled:T}),A(R,{valid:b,invalid:v,loading:L,disabled:T}),A(F,{loading:L,disabled:T}),m&&A(H,{loading:L,disabled:T,readonly:M,value:d}),A(ae,{children:r}),A(f,{className:"k-input-button",icon:"clock",size:t,fillMode:a,tabIndex:-1,"aria-label":"Select time",disabled:T})]}),g&&ge(K,{id:Q,className:"k-list-container k-timepicker-popup",children:[A($,{columns:["HH","mm","ss","tt"],focusedColumn:"mm",header:A(ce,{title:"10:00:00 AM",children:A(f,{fillMode:"flat",className:"k-time-now",children:"Now"})})}),ge(C,{alignment:"stretched",className:"k-time-footer",children:[A(f,{themeColor:"primary",className:"k-time-accept",children:"Set"}),A(f,{className:"k-time-cancel",children:"Cancel"})]})]}),P&&A(O,{adaptive:!0,id:Q,...te,header:A(B,{actionsEnd:A(f,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:fe,subtitle:xe}),footer:ge(X,{children:[A(f,{text:"Cancel",size:"large"}),A(f,{text:"Set time",size:"large",themeColor:"primary"})]}),children:A($,{size:"large",columns:["HH","mm","ss","tt"],focusedColumn:"HH",header:A(ce,{title:"10:00:00 \u0410\u041C",children:A(f,{size:"large",fillMode:"flat",className:"k-time-now",children:"Now"})})})})]})};ee.states=La;ee.options=Pa;ee.className=Mo;ee.defaultOptions=Eo;ee.moduleName=Ao;ee.folderName=To;var Io=ee;import{jsx as _a}from"react/jsx-runtime";var Nm=e=>_a(Io,{...e});export{Nm as TimePickerNormal};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var i=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?i(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var T=(e,t)=>i({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),z=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:r,checked:d,active:c,selected:m,disabled:x,indeterminate:N,loading:S,empty:M,readonly:P,highlighted:g,...O}=t;return i({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":r,"k-checked":d,"k-active":c,"k-selected":m,"k-disabled":x,"k-indeterminate":N&&!d,"k-loading":S,"k-empty":M,"k-readonly":P,"k-highlighted":g},Object.keys(O).reduce((v,C)=>(C.startsWith("k-")?v[C]=O[C]:v[`k-${C}`]=O[C],v),{}))};function Mt(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var l={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},p={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},h={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},D={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},u={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},s={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var De={};function Et(e){return De[e]=(De[e]||0)+1,`k-${e}-${De[e]}`}var Ne="input",ge=Ne;import{jsx as Oo}from"react/jsx-runtime";var Oe="k-input",Io=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],yo={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},go={},E=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c,size:m,rounded:x,fillMode:N,...S}=e;return Oo("span",{...S,className:i(e.className,Oe,T(Oe,{size:m,rounded:x,fillMode:N}),z(Oe,{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c}))})};E.states=Io;E.options=yo;E.className=Oe;E.defaultOptions=go;E.moduleName=Ne;E.folderName=ge;import{jsx as Po}from"react/jsx-runtime";var Ce="k-picker",Co=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],ko={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Lo={},oe=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c,size:m,rounded:x,fillMode:N,...S}=e;return Po("span",{...S,className:i(e.className,Ce,T(Ce,{size:m,rounded:x,fillMode:N}),z(Ce,{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c})),children:e.children})};oe.states=Co;oe.options=ko;oe.className=Ce;oe.defaultOptions=Lo;oe.moduleName=Ne;oe.folderName=ge;import{Fragment as Ko,jsx as It}from"react/jsx-runtime";var Fe="k-font-icon",Ho=[],_o={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info]},Ro={},he=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:r,...d}=e;return a?It("span",{...d,className:i(e.className,Fe,T(Fe,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),"aria-hidden":"true"}):It(Ko,{})};he.states=Ho;he.options=_o;he.className=Fe;he.defaultOptions=Ro;var yt=he;import{Fragment as zo,jsx as ke}from"react/jsx-runtime";var Ve="k-svg-icon",Bo=[],wo={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info],variant:[D.outline,D.solid,D.duotone]},Ue={viewBox:"0 0 24 24",variant:D.outline},Se=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:r=Ue.viewBox,variant:d=Ue.variant,icon:c,...m}=e;if(!c)return ke(zo,{});if(c==="none")return ke("span",{...m,className:i(e.className,Ve,T("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let x=typeof c=="object"&&c.name&&c.name,N=typeof c=="object"?d&&c.variants?.[d]||c.variants?.outline||c.content:void 0;return ke("span",{...m,className:i(e.className,Ve,T("k-icon",{size:t}),{[`k-svg-i-${x}`]:x,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:ke("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:r,dangerouslySetInnerHTML:N!==void 0?{__html:N}:void 0,children:c?void 0:e.children})})};Se.states=Bo;Se.options=wo;Se.className=Ve;Se.defaultOptions=Ue;var $e=Se;import*as Xe from"@progress/kendo-svg-icons";var gt="icon",Ot="icons";import{useContext as Fo}from"react";import{createContext as Do}from"react";var Ct=Do({iconsType:"svg"});import{Fragment as kt,jsx as be}from"react/jsx-runtime";var Le="k-icon",Vo=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Uo=[],$o={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info],variant:[D.outline,D.solid,D.duotone]},Pe={viewBox:"0 0 24 24",type:"svg",variant:D.outline},b=e=>{let{iconsType:t}=Fo(Ct),{size:o,themeColor:a,icon:n,type:r=t||Pe.type,rotate:d,flip:c,viewBox:m=Pe.viewBox,variant:x=Pe.variant,...N}=e;if(!n)return be(kt,{});if((t||r)==="svg"){if(n==="none")return be($e,{...N,className:i(e.className,Le),icon:n,size:o,variant:x});let M=Xe[n]?n:Vo(`${n}-icon`);return Xe[M]?be($e,{...N,className:i(e.className,Le),icon:Xe[M],size:o,themeColor:a,rotate:d,flip:c,viewBox:m,variant:x}):be(kt,{})}return be(yt,{...N,className:i(e.className,Le),icon:n,size:o,themeColor:a,rotate:d,flip:c})};b.states=Uo;b.options=$o;b.defaultOptions=Pe;b.className=Le;b.moduleName=gt;b.folderName=Ot;import{Fragment as qo,jsx as Je}from"react/jsx-runtime";var Lt="k-clear-value",Xo=[s.disabled,s.loading,s.readonly],Jo={},_=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?Je(qo,{}):Je("span",{className:i(e.className,Lt),children:Je(b,{icon:"x"})})};_.states=Xo;_.options=Jo;_.className=Lt;import{jsx as Wo}from"react/jsx-runtime";var qe="k-input-inner",Go=[],Yo={},He={type:"text",autocomplete:"off",value:"",placeholder:""},R=e=>{let{value:t=He.value,type:o=He.type,placeholder:a=He.placeholder,autocomplete:n=He.autocomplete,disabled:r,readOnly:d,...c}=e;return Wo("input",{...c,type:o,className:i(e.className,qe,T(qe,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:r||void 0,readOnly:d||void 0})};R.states=Go;R.options=Yo;R.className=qe;import{jsx as Pt,jsxs as jo}from"react/jsx-runtime";var Ge="k-input-inner",Qo=[],Zo={},Ye=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:r,...d}=e;return jo("span",{...d,className:i(e.className,Ge,T(Ge,e)),children:[n,!n&&r&&Pt(b,{className:"k-input-value-icon",icon:r}),a&&!t&&o,a&&t&&Pt("span",{className:"k-input-value-text",children:t})]})};Ye.states=Qo;Ye.options=Zo;Ye.className=Ge;import{jsx as on}from"react/jsx-runtime";var We="k-input-inner",en=[],tn={},Ht={value:"",placeholder:""},Qe=e=>{let{value:t=Ht.value,placeholder:o=Ht.placeholder,rows:a,disabled:n,...r}=e;return on("textarea",{...r,className:i(e.className,We,T(We,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};Qe.states=en;Qe.options=tn;Qe.className=We;import{Fragment as an,jsx as _t}from"react/jsx-runtime";var Rt="k-input-loading-icon",nn=[s.disabled,s.loading],F=e=>{let{disabled:t,loading:o}=e;return t||!o?_t(an,{}):_t("span",{className:i(e.className,Rt,"k-icon k-i-loading")})};F.states=nn;F.className=Rt;import{Fragment as ln,jsx as Kt}from"react/jsx-runtime";var Bt="k-input-validation-icon",sn=[s.valid,s.invalid,s.disabled,s.loading],rn={},K=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,r=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?Kt(ln,{}):Kt(b,{className:i(Bt),icon:r})};K.states=sn;K.options=rn;K.className=Bt;import{Fragment as mn,jsx as wt}from"react/jsx-runtime";var cn="k-input-prefix",dn={direction:"horizontal"},ne=e=>{let{direction:t=dn.direction,...o}=e;return e.children?wt("span",{...o,className:i(cn,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):wt(mn,{})};import{Fragment as fn,jsx as zt}from"react/jsx-runtime";var pn="k-input-suffix",un={direction:"horizontal"},ae=e=>{let{direction:t=un.direction,...o}=e;return e.children?zt("span",{...o,className:i(pn,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):zt(fn,{})};import{jsx as Wi}from"react/jsx-runtime";import{jsx as es}from"react/jsx-runtime";import{jsx as Nn}from"react/jsx-runtime";var Dt="k-input-separator",xn={direction:"vertical"},ie=e=>{let{direction:t=xn.direction,...o}=e;return Nn("span",{...o,className:i(Dt,e.className,{[`${Dt}-${t}`]:t})})};var Ze="button",Ft=Ze;import{Fragment as Vt,jsx as se,jsxs as Ut}from"react/jsx-runtime";var ve="k-button",hn=["icon-button"],Sn=[s.hover,s.focus,s.active,s.selected,s.disabled,s.generating],bn={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.inverse]},je={showArrow:!1,arrowIconName:"chevron-down"},f=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:r,showArrow:d=je.showArrow,arrowIconName:c=je.arrowIconName,variant:m,hover:x,focus:N,active:S,selected:M,disabled:P,togglable:g,ariaDisabled:O,icon:v,iconSize:C,text:H,iconClassName:te,className:fe,...xe}=e,Q=v!=null,ze=e.children!==void 0;return Ut(t,{className:i(fe,ve,Mt(ve,m),T(ve,{size:o,rounded:a,fillMode:n,themeColor:r}),z(ve,{hover:x,focus:N,active:S,disabled:P||O,selected:M}),{"k-icon-button":!H&&!ze&&Q}),"aria-pressed":g?M?"true":"false":void 0,...xe,"aria-disabled":O?"true":void 0,disabled:P||void 0,children:[typeof v=="string"&&v&&se(b,{className:i(te,"k-button-icon"),icon:v,size:C}),v&&typeof v!="string"&&se(Vt,{children:v}),H?Ut(Vt,{children:[H&&se("span",{className:"k-button-text",children:H}),e.children]}):e.children&&se("span",{className:"k-button-text",children:e.children}),d&&se("span",{className:"k-menu-button-arrow k-button-arrow",children:se(b,{icon:c})})]})};f.states=Sn;f.options=bn;f.variants=hn;f.className=ve;f.defaultOptions=je;f.moduleName=Ze;f.folderName=Ft;import{jsx as vn}from"react/jsx-runtime";var Z=e=>vn(f,{children:"Button",...e});import{Fragment as $t,jsx as V,jsxs as et}from"react/jsx-runtime";var An=E.states,Tn=E.defaultOptions,Mn=E.options,En=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],In=[],re=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:r,readonly:d,...c}=e,m=t?.prefix,x=t?.suffix,N=t?.["clear-button"],S=t?.["validation-icon"],M=t?.separators;return et(E,{...c,valid:o,invalid:a,loading:n,disabled:r,readonly:d,style:{width:300},children:[m&&et($t,{children:[V(ne,{children:V(b,{icon:"lock"})}),M&&V(ie,{})]}),V(R,{placeholder:"Placeholder",value:"Value"}),S&&V(K,{valid:o,invalid:a,loading:n,disabled:r}),V(F,{loading:n,disabled:r}),N&&V(_,{loading:n,disabled:r,readonly:d,value:"Value"}),x&&et($t,{children:[M&&V(ie,{}),V(ae,{children:V(Z,{size:c.size,fillMode:"clear",children:"Send"})})]})]})};re.options=Mn;re.states=An;re.variants=In;re.defaultOptions=Tn;re.modifiers=En;re.className=E.className;import{jsx as yn}from"react/jsx-runtime";var Xt=e=>yn(f,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as gn}from"react/jsx-runtime";var Jt=e=>gn(f,{icon:"folder",children:"Button",...e});import{jsx as tt}from"react/jsx-runtime";var On=f.options,Cn=f.states,kn={...f.defaultOptions,variant:"text"},Ln=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Pn=[],le=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return tt(Xt,{...o,icon:"star"});case"icon-and-text":return tt(Jt,{...o,icon:"star",children:"Button"});default:return tt(Z,{...o,children:"Button"})}};le.options=On;le.states=Cn;le.variants=Ln;le.defaultOptions=kn;le.modifiers=Pn;le.className=f.className;var ot="popup",qt=ot;import{jsx as Gt}from"react/jsx-runtime";var Yt="k-animation-container",Hn=[],_n={},nt={positionMode:"absolute",shown:!0},U=e=>{let{positionMode:t=nt.positionMode,shown:o=nt.shown,animationStyle:a,offset:n,...r}=e;return Gt("div",{...r,style:{...n,...e.style},className:i(e.className,Yt,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:Gt("div",{className:"k-child-animation-container",style:a,children:e.children})})};U.states=Hn;U.options=_n;U.className=Yt;U.defaultOptions=nt;U.moduleName=ot;U.folderName=qt;var at="popup",Wt=at;import{jsx as Qt}from"react/jsx-runtime";var Zt="k-popup",Rn=[],Kn={},jt={positionMode:"absolute"},B=e=>{let{offset:t,positionMode:o=jt.positionMode,animationStyle:a,containerClassName:n,containerRole:r,containerAriaLabel:d,...c}=e;return Qt(U,{positionMode:o,offset:t,animationStyle:a,className:n,role:r,"aria-label":d,children:Qt("div",{...c,className:i(e.className,Zt),children:e.children})})};B.states=Rn;B.options=Kn;B.className=Zt;B.defaultOptions=jt;B.moduleName=at;B.folderName=Wt;var eo="time-selector",to="timeselector";import{Fragment as oo,jsx as _e,jsxs as no}from"react/jsx-runtime";var it="k-timeselector",Bn=[],wn={size:[l.undefined,l.small,l.medium,l.large]},zn={},$=e=>{let{size:t,header:o,fastSelection:a,columns:n,focusedColumn:r,...d}=e,c=n.map(function(m,x){let N=!1,S=!0;return m===r&&(N=!0),(x===0||m==="tt")&&(S=!1),_e(st,{type:m,focus:N,separator:S},x)});return no("div",{...d,className:i(e.className,it,T(it,{size:t})),role:"group","aria-label":"Time selector",children:[_e(oo,{children:o}),_e(oo,{children:a}),no("div",{className:"k-time-list-container",children:[_e("span",{className:"k-time-highlight"}),c]})]})};$.states=Bn;$.options=wn;$.className=it;$.defaultOptions=zn;$.moduleName=eo;$.folderName=to;import{Fragment as Fn,jsx as j,jsxs as rt}from"react/jsx-runtime";var Dn=[s.focus],st=e=>{let{type:t,focus:o,separator:a,...n}=e,r,d=["00","01","02","03","04","05","06","07","08","09"];switch(t){case"dd":r="Day";break;case"HH":r="Hour";break;case"mm":r="Minute";break;case"ss":r="Second";break;case"SSS":r="Millisecond",d=["000","001","002","003","004","005","006","007","008","009"];break;case"tt":r="AM/PM",d=["AM","PM"];break;default:r="Column Name";break}let c=d.map((m,x)=>j("li",{className:"k-item",role:"option","aria-selected":"false",children:j("span",{children:m})},x));return rt(Fn,{children:[a&&j("div",{className:"k-time-separator",children:":"}),rt("div",{...n,className:i(e.className,"k-time-list-wrapper",z("k-time-list-wrapper",{focus:o})),children:[j("span",{className:"k-title",children:r}),j("div",{className:"k-time-list",role:"listbox","aria-label":r,children:rt("div",{className:"k-content k-scrollable k-time-container",children:[j("ul",{className:"k-reset",style:{transform:"translateY(97px)"},role:"none",children:c}),j("div",{className:"k-scrollable-placeholder"})]})})]})]})};st.states=Dn;import{jsx as Un,jsxs as $n}from"react/jsx-runtime";var Vn="k-time-header",ce=e=>{let{title:t,...o}=e;return $n("div",{...o,className:i(e.className,Vn),children:[t!=null&&Un("span",{className:"k-title",children:t}),e.children]})};var lt="action-buttons",ao=lt;import{jsx as qn}from"react/jsx-runtime";var Re="k-actions",Xn=[],Jn={},ct={alignment:"start",orientation:"horizontal"},k=e=>{let{alignment:t=ct.alignment,orientation:o=ct.orientation,...a}=e;return qn("div",{...a,className:i(Re,{[`${Re}-${t}`]:t,[`${Re}-${o}`]:o},e.className),children:e.children})};k.states=Xn;k.options=Jn;k.className=Re;k.defaultOptions=ct;k.moduleName=lt;k.folderName=ao;import{jsx as Jr,jsxs as qr}from"react/jsx-runtime";import{Fragment as nl,jsx as tl,jsxs as ol}from"react/jsx-runtime";import{Fragment as ul,jsx as ml,jsxs as pl}from"react/jsx-runtime";import{Fragment as Ml,jsx as Al,jsxs as Tl}from"react/jsx-runtime";import{jsx as Yn}from"react/jsx-runtime";var Gn="k-actionsheet-footer",so={alignment:"stretched",orientation:"horizontal"},X=e=>{let{alignment:t=so.alignment,orientation:o=so.orientation,template:a,as:n=a?"div":k,...r}=e;return Yn(n,{...r,...!a&&{alignment:t,orientation:o},className:i(e.className,Gn),children:e.children})};var dt="searchbox",ro=dt;import{jsx as Ae,jsxs as Zn}from"react/jsx-runtime";var lo="k-searchbox",Wn=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading],Qn={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},mt={showIcon:!0,icon:"search"},J=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:r,hover:d,focus:c,valid:m,invalid:x,required:N,loading:S,disabled:M,showIcon:P=mt.showIcon,icon:g=mt.icon,"aria-label":O,...v}=e;return Zn(E,{...v,size:a,rounded:n,fillMode:r,hover:d,focus:c,valid:m,invalid:x,required:N,loading:S,disabled:M,className:i(e.className,lo),children:[P&&Ae(b,{className:"k-input-icon",icon:g}),Ae(R,{placeholder:o,value:t,"aria-label":O}),Ae(F,{...e}),Ae(K,{...e}),Ae(_,{...e})]})};J.states=Wn;J.options=Qn;J.className=lo;J.defaultOptions=mt;J.moduleName=dt;J.folderName=ro;import{jsx as ql}from"react/jsx-runtime";var pt="textbox",co=pt;import{Fragment as mo,jsx as q,jsxs as ut}from"react/jsx-runtime";var po="k-textbox",jn=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],ea={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Ke={showClearButton:!0,showValidationIcon:!0,separators:!0},L=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Ke.separators,showClearButton:r=Ke.showClearButton,showValidationIcon:d=Ke.showValidationIcon,prefix:c,suffix:m,type:x,value:N,placeholder:S,hover:M,focus:P,valid:g,invalid:O,required:v,loading:C,disabled:H,readonly:te,id:fe,"aria-label":xe,"aria-describedby":Q,...ze}=e;return ut(E,{...ze,size:t,rounded:o,fillMode:a,hover:M,focus:P,valid:g,invalid:O,required:v,loading:C,disabled:H,readonly:te,className:i(e.className,po),children:[c&&ut(mo,{children:[q(ne,{children:c}),n&&q(ie,{})]}),q(R,{id:fe,placeholder:S,value:N,type:x,disabled:H,"aria-label":xe,"aria-describedby":Q,"aria-invalid":O?"true":void 0}),d&&q(K,{valid:g,invalid:O,loading:C,disabled:H}),q(F,{loading:C,disabled:H}),r&&q(_,{loading:C,disabled:H,readonly:te,value:N}),m&&ut(mo,{children:[n&&q(ie,{}),q(ae,{children:m})]})]})};L.states=jn;L.options=ea;L.className=po;L.defaultOptions=Ke;L.moduleName=pt;L.folderName=co;var Te=L;import{jsx as ta}from"react/jsx-runtime";var uo=e=>ta(Te,{...e});import{Fragment as mc,jsx as dc}from"react/jsx-runtime";import{Fragment as hc,jsx as Nc}from"react/jsx-runtime";import{jsx as Ac}from"react/jsx-runtime";import{jsx as ft}from"react/jsx-runtime";var oa=L.states,na=L.defaultOptions,aa=L.options,ia=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],sa=[],de=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?ft(b,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[n]?ft(Z,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;default:break}}),ft(uo,{value:"Value",style:{width:300},...o,...a})};de.options=aa;de.states=oa;de.variants=sa;de.defaultOptions=na;de.modifiers=ia;de.className=L.className;import{jsx as G,jsxs as xt}from"react/jsx-runtime";var fo="k-actionsheet-titlebar",ra={},w=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:r,input:d,inputValue:c,inputPlaceholder:m,adaptive:x,titleId:N,children:S,...M}=e;return xt("div",{...M,className:i(e.className,fo),children:[xt("div",{className:"k-actionsheet-titlebar-group",children:[a&&G("div",{className:"k-actionsheet-actions",children:a}),!S&&xt("div",{className:"k-actionsheet-title",id:N,children:[t&&G("div",{className:"k-text-center",children:t}),o&&G("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),S&&G("div",{className:"k-actionsheet-title",id:N,children:S}),n&&G("div",{className:"k-actionsheet-actions",children:n})]}),(d||r)&&G("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?G(L,{value:c,placeholder:m,size:x?"large":"medium","aria-label":t||m||"Input"}):G(J,{placeholder:"Filter",size:x?"large":"medium","aria-label":"Filter options"})})]})};w.className=fo;w.defaultOptions=ra;import{jsx as Nt,jsxs as ma}from"react/jsx-runtime";var ht="k-actionsheet-view",la=[],ca={},da={},me=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:r,titleId:d,...c}=e,m=n?.type===w&&Nt(w,{adaptive:t,titleId:d,...n?.props}),x=r?.type===X&&Nt(X,{...r?.props});return ma("div",{...c,className:i(e.className,ht,{[`${ht}-animated`]:o}),children:[m,Nt("div",{className:"k-actionsheet-content",children:a}),x]})};me.states=la;me.options=ca;me.className=ht;me.defaultOptions=da;var Me="action-sheet",Be=Me;var St="overlay",xo=St;import{jsx as xa}from"react/jsx-runtime";var No="k-overlay",pa=[],ua={},fa={},Y=e=>{let{...t}=e;return xa("div",{...t,className:i(e.className,No),children:e.children})};Y.states=pa;Y.options=ua;Y.className=No;Y.defaultOptions=fa;Y.moduleName=St;Y.folderName=xo;import{jsx as we,jsxs as Sa}from"react/jsx-runtime";var ho="k-actionsheet",Na=[],ha={},Ee={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},y=e=>{let{side:t=Ee.side,fullscreen:o=Ee.fullscreen,adaptive:a=Ee.adaptive,overlay:n=Ee.overlay,template:r,children:d,header:c,footer:m,id:x,...N}=e,S=x&&!r&&c?`${x}-title`:void 0;return Sa("div",{className:"k-actionsheet-container",children:[n&&we(Y,{}),we(U,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:we("div",{...N,id:x,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":S,className:i(e.className,ho,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:r||we(me,{header:c,footer:m,adaptive:a,titleId:S,...e,children:d})})})]})};y.states=Na;y.options=ha;y.className=ho;y.defaultOptions=Ee;y.moduleName=Me;y.folderName=Be;import{jsx as Ta}from"react/jsx-runtime";var So="k-actionsheet-container",ba=[],va={},Aa={},pe=e=>{let{children:t,...o}=e;return Ta("div",{...o,className:So,children:t})};pe.states=ba;pe.options=va;pe.className=So;pe.defaultOptions=Aa;pe.moduleName=Me;pe.folderName=Be;import{jsx as Ma}from"react/jsx-runtime";var bt=e=>{let{...t}=e;return Ma("div",{...t,className:i(e.className,"k-list-ul"),children:e.children})};import{Fragment as Ia,jsx as Ie,jsxs as vt}from"react/jsx-runtime";var At="k-actionsheet-item",Ea=[s.hover,s.focus,s.selected,s.disabled],W=e=>{let{iconName:t,text:o,description:a,hover:n,focus:r,selected:d,disabled:c,...m}=e;return vt("span",{...m,className:i(e.className,At,z(At,{hover:n,focus:r,selected:d,disabled:c})),children:[!e.children&&Ie(Ia,{children:vt("span",{className:"k-actionsheet-action",children:[t&&Ie("span",{className:"k-icon-wrap",children:Ie(b,{className:"k-actionsheet-item-icon",icon:t})}),vt("span",{className:"k-actionsheet-item-text",children:[o&&Ie("span",{className:"k-actionsheet-item-title",children:o}),a&&Ie("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};W.states=Ea;W.className=At;import{jsx as vd,jsxs as Ad}from"react/jsx-runtime";import{jsx as Id}from"react/jsx-runtime";import{jsx as Cd}from"react/jsx-runtime";import{jsx as Hd}from"react/jsx-runtime";import{jsx as I,jsxs as Tt}from"react/jsx-runtime";var ya=y.options,ga=y.states,vo={...y.defaultOptions,variant:"normal"},Oa=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Ca=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],ue=e=>{let{variant:t,modifiers:o,...a}={...vo,...e},n={},r=Tt(bt,{children:[I(W,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),I(W,{text:"Add to Favorites",iconName:"heart"}),I(W,{text:"Upload New",iconName:"upload",disabled:!0}),I("hr",{className:"k-hr"}),I(W,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",c="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(m=>{switch(m){case"actions":n.actionsStart=!!o?.[m],n.actionsEnd=!!o?.[m];break;case"subtitle":n.subtitle=o?.[m]?d:void 0;break;case"footer":n.footer=!!o?.[m];break;default:break}}),t==="adaptive"?I(y,{...a,adaptive:!0,fullscreen:n.fullScreen,header:I(w,{actionsStart:n.actionsStart?I(f,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?I(f,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:c,subtitle:n.subtitle}),footer:n.footer?Tt(X,{alignment:"stretched",children:[I(f,{text:"Cancel",size:"large",themeColor:"base"}),I(f,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:r}):I(y,{...a,fullscreen:n.fullScreen,header:I(w,{actionsStart:n.actionsStart?I(f,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?I(f,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?Tt(X,{alignment:"stretched",children:[I(f,{text:"Apply",themeColor:"primary"}),I(f,{text:"Cancel",themeColor:"base"})]}):void 0,children:r})};ue.options=ya;ue.states=ga;ue.variants=Oa;ue.defaultOptions=vo;ue.modifiers=Ca;ue.className=y.className;var Ao="time-picker",To="timepicker";import{Fragment as Ha,jsx as A,jsxs as ye}from"react/jsx-runtime";var Mo="k-timepicker",ka=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],La={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Pa={},ee=e=>{let{size:t,rounded:o,fillMode:a,prefix:n,suffix:r,value:d,placeholder:c,hover:m,focus:x,valid:N,invalid:S,required:M,loading:P,disabled:g,readonly:O,opened:v,adaptive:C,adaptiveSettings:H,adaptiveTitle:te,adaptiveSubtitle:fe,...xe}=e,Q=Et("timepicker-popup");return ye(Ha,{children:[ye(E,{...xe,size:t,rounded:o,fillMode:a,hover:m,focus:x,valid:N,invalid:S,required:M,loading:P,disabled:g,readonly:O,className:i(e.className,Mo),children:[A(ne,{children:n}),A(R,{placeholder:c,value:d,role:"combobox","aria-haspopup":"dialog","aria-expanded":v?"true":"false","aria-controls":v||C?Q:void 0,"aria-invalid":S?"true":void 0,"aria-label":"Select time",disabled:g}),A(K,{valid:N,invalid:S,loading:P,disabled:g}),A(F,{loading:P,disabled:g}),A(_,{loading:P,disabled:g,readonly:O,value:d}),A(ae,{children:r}),A(f,{className:"k-input-button",icon:"clock",size:t,fillMode:a,tabIndex:-1,"aria-label":"Select time",disabled:g})]}),v&&ye(B,{id:Q,className:"k-list-container k-timepicker-popup",children:[A($,{columns:["HH","mm","ss","tt"],focusedColumn:"mm",header:A(ce,{title:"10:00:00 AM",children:A(f,{fillMode:"flat",className:"k-time-now",children:"Now"})})}),ye(k,{alignment:"stretched",className:"k-time-footer",children:[A(f,{themeColor:"primary",className:"k-time-accept",children:"Set"}),A(f,{className:"k-time-cancel",children:"Cancel"})]})]}),C&&A(y,{adaptive:!0,id:Q,...H,header:A(w,{actionsEnd:A(f,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:te,subtitle:fe}),footer:ye(X,{children:[A(f,{text:"Cancel",size:"large"}),A(f,{text:"Set time",size:"large",themeColor:"primary"})]}),children:A($,{size:"large",columns:["HH","mm","ss","tt"],focusedColumn:"HH",header:A(ce,{title:"10:00:00 \u0410\u041C",children:A(f,{size:"large",fillMode:"flat",className:"k-time-now",children:"Now"})})})})]})};ee.states=ka;ee.options=La;ee.className=Mo;ee.defaultOptions=Pa;ee.moduleName=Ao;ee.folderName=To;var Eo=ee;import{jsx as _a}from"react/jsx-runtime";var Nm=e=>_a(Eo,{opened:!0,...e});export{Nm as TimePickerPopup};
|
|
1
|
+
var i=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?i(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var E=(e,t)=>i({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),z=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:r,checked:d,active:c,selected:m,disabled:x,indeterminate:h,loading:b,empty:v,readonly:w,highlighted:L,...T}=t;return i({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":r,"k-checked":d,"k-active":c,"k-selected":m,"k-disabled":x,"k-indeterminate":h&&!d,"k-loading":b,"k-empty":v,"k-readonly":w,"k-highlighted":L},Object.keys(T).reduce((M,g)=>(g.startsWith("k-")?M[g]=T[g]:M[`k-${g}`]=T[g],M),{}))};function Mt(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var l={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},p={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},N={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},D={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},u={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},s={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var De={};function Et(e){return De[e]=(De[e]||0)+1,`k-${e}-${De[e]}`}var he="input",Oe=he;import{jsx as Co}from"react/jsx-runtime";var Ce="k-input",yo=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],go={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Oo={},I=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c,size:m,rounded:x,fillMode:h,...b}=e;return Co("span",{...b,className:i(e.className,Ce,E(Ce,{size:m,rounded:x,fillMode:h}),z(Ce,{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c}))})};I.states=yo;I.options=go;I.className=Ce;I.defaultOptions=Oo;I.moduleName=he;I.folderName=Oe;import{jsx as Ho}from"react/jsx-runtime";var ke="k-picker",ko=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Lo={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Po={},oe=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c,size:m,rounded:x,fillMode:h,...b}=e;return Ho("span",{...b,className:i(e.className,ke,E(ke,{size:m,rounded:x,fillMode:h}),z(ke,{hover:t,focus:o,disabled:a,invalid:n,valid:r,loading:d,readonly:c})),children:e.children})};oe.states=ko;oe.options=Lo;oe.className=ke;oe.defaultOptions=Po;oe.moduleName=he;oe.folderName=Oe;import{Fragment as Bo,jsx as It}from"react/jsx-runtime";var Fe="k-font-icon",_o=[],Ro={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info]},Ko={},be=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:r,...d}=e;return a?It("span",{...d,className:i(e.className,Fe,E(Fe,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),"aria-hidden":"true"}):It(Bo,{})};be.states=_o;be.options=Ro;be.className=Fe;be.defaultOptions=Ko;var yt=be;import{Fragment as Do,jsx as Le}from"react/jsx-runtime";var Ve="k-svg-icon",wo=[],zo={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info],variant:[D.outline,D.solid,D.duotone]},Ue={viewBox:"0 0 24 24",variant:D.outline},Se=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:r=Ue.viewBox,variant:d=Ue.variant,icon:c,...m}=e;if(!c)return Le(Do,{});if(c==="none")return Le("span",{...m,className:i(e.className,Ve,E("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let x=typeof c=="object"&&c.name&&c.name,h=typeof c=="object"?d&&c.variants?.[d]||c.variants?.outline||c.content:void 0;return Le("span",{...m,className:i(e.className,Ve,E("k-icon",{size:t}),{[`k-svg-i-${x}`]:x,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:Le("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:r,dangerouslySetInnerHTML:h!==void 0?{__html:h}:void 0,children:c?void 0:e.children})})};Se.states=wo;Se.options=zo;Se.className=Ve;Se.defaultOptions=Ue;var $e=Se;import*as Xe from"@progress/kendo-svg-icons";var gt="icon",Ot="icons";import{useContext as Vo}from"react";import{createContext as Fo}from"react";var Ct=Fo({iconsType:"svg"});import{Fragment as kt,jsx as ve}from"react/jsx-runtime";var Pe="k-icon",Uo=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),$o=[],Xo={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info],variant:[D.outline,D.solid,D.duotone]},He={viewBox:"0 0 24 24",type:"svg",variant:D.outline},S=e=>{let{iconsType:t}=Vo(Ct),{size:o,themeColor:a,icon:n,type:r=t||He.type,rotate:d,flip:c,viewBox:m=He.viewBox,variant:x=He.variant,...h}=e;if(!n)return ve(kt,{});if((t||r)==="svg"){if(n==="none")return ve($e,{...h,className:i(e.className,Pe),icon:n,size:o,variant:x});let v=Xe[n]?n:Uo(`${n}-icon`);return Xe[v]?ve($e,{...h,className:i(e.className,Pe),icon:Xe[v],size:o,themeColor:a,rotate:d,flip:c,viewBox:m,variant:x}):ve(kt,{})}return ve(yt,{...h,className:i(e.className,Pe),icon:n,size:o,themeColor:a,rotate:d,flip:c})};S.states=$o;S.options=Xo;S.defaultOptions=He;S.className=Pe;S.moduleName=gt;S.folderName=Ot;import{Fragment as Go,jsx as Je}from"react/jsx-runtime";var Lt="k-clear-value",Jo=[s.disabled,s.loading,s.readonly],qo={},H=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?Je(Go,{}):Je("span",{className:i(e.className,Lt),children:Je(S,{icon:"x"})})};H.states=Jo;H.options=qo;H.className=Lt;import{jsx as Qo}from"react/jsx-runtime";var qe="k-input-inner",Yo=[],Wo={},_e={type:"text",autocomplete:"off",value:"",placeholder:""},_=e=>{let{value:t=_e.value,type:o=_e.type,placeholder:a=_e.placeholder,autocomplete:n=_e.autocomplete,disabled:r,readOnly:d,...c}=e;return Qo("input",{...c,type:o,className:i(e.className,qe,E(qe,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:r||void 0,readOnly:d||void 0})};_.states=Yo;_.options=Wo;_.className=qe;import{jsx as Pt,jsxs as en}from"react/jsx-runtime";var Ge="k-input-inner",Zo=[],jo={},Ye=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:r,...d}=e;return en("span",{...d,className:i(e.className,Ge,E(Ge,e)),children:[n,!n&&r&&Pt(S,{className:"k-input-value-icon",icon:r}),a&&!t&&o,a&&t&&Pt("span",{className:"k-input-value-text",children:t})]})};Ye.states=Zo;Ye.options=jo;Ye.className=Ge;import{jsx as nn}from"react/jsx-runtime";var We="k-input-inner",tn=[],on={},Ht={value:"",placeholder:""},Qe=e=>{let{value:t=Ht.value,placeholder:o=Ht.placeholder,rows:a,disabled:n,...r}=e;return nn("textarea",{...r,className:i(e.className,We,E(We,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};Qe.states=tn;Qe.options=on;Qe.className=We;import{Fragment as sn,jsx as _t}from"react/jsx-runtime";var Rt="k-input-loading-icon",an=[s.disabled,s.loading],F=e=>{let{disabled:t,loading:o}=e;return t||!o?_t(sn,{}):_t("span",{className:i(e.className,Rt,"k-icon k-i-loading")})};F.states=an;F.className=Rt;import{Fragment as cn,jsx as Kt}from"react/jsx-runtime";var Bt="k-input-validation-icon",rn=[s.valid,s.invalid,s.disabled,s.loading],ln={},R=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,r=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?Kt(cn,{}):Kt(S,{className:i(Bt),icon:r})};R.states=rn;R.options=ln;R.className=Bt;import{Fragment as pn,jsx as wt}from"react/jsx-runtime";var dn="k-input-prefix",mn={direction:"horizontal"},ne=e=>{let{direction:t=mn.direction,...o}=e;return e.children?wt("span",{...o,className:i(dn,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):wt(pn,{})};import{Fragment as xn,jsx as zt}from"react/jsx-runtime";var un="k-input-suffix",fn={direction:"horizontal"},ae=e=>{let{direction:t=fn.direction,...o}=e;return e.children?zt("span",{...o,className:i(un,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):zt(xn,{})};import{jsx as Wi}from"react/jsx-runtime";import{jsx as es}from"react/jsx-runtime";import{jsx as hn}from"react/jsx-runtime";var Dt="k-input-separator",Nn={direction:"vertical"},ie=e=>{let{direction:t=Nn.direction,...o}=e;return hn("span",{...o,className:i(Dt,e.className,{[`${Dt}-${t}`]:t})})};var Ze="button",Ft=Ze;import{Fragment as Vt,jsx as se,jsxs as Ut}from"react/jsx-runtime";var Ae="k-button",bn=["icon-button"],Sn=[s.hover,s.focus,s.active,s.selected,s.disabled,s.generating],vn={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline,N.clear,N.link],themeColor:[u.undefined,u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.inverse]},je={showArrow:!1,arrowIconName:"chevron-down"},f=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:r,showArrow:d=je.showArrow,arrowIconName:c=je.arrowIconName,variant:m,hover:x,focus:h,active:b,selected:v,disabled:w,togglable:L,ariaDisabled:T,icon:M,iconSize:g,text:P,iconClassName:te,className:fe,...xe}=e,Ne=M!=null,Q=e.children!==void 0;return Ut(t,{className:i(fe,Ae,Mt(Ae,m),E(Ae,{size:o,rounded:a,fillMode:n,themeColor:r}),z(Ae,{hover:x,focus:h,active:b,disabled:w||T,selected:v}),{"k-icon-button":!P&&!Q&&Ne}),"aria-pressed":L?v?"true":"false":void 0,...xe,"aria-disabled":T?"true":void 0,disabled:w||void 0,children:[typeof M=="string"&&M&&se(S,{className:i(te,"k-button-icon"),icon:M,size:g}),M&&typeof M!="string"&&se(Vt,{children:M}),P?Ut(Vt,{children:[P&&se("span",{className:"k-button-text",children:P}),e.children]}):e.children&&se("span",{className:"k-button-text",children:e.children}),d&&se("span",{className:"k-menu-button-arrow k-button-arrow",children:se(S,{icon:c})})]})};f.states=Sn;f.options=vn;f.variants=bn;f.className=Ae;f.defaultOptions=je;f.moduleName=Ze;f.folderName=Ft;import{jsx as An}from"react/jsx-runtime";var Z=e=>An(f,{children:"Button",...e});import{Fragment as $t,jsx as V,jsxs as et}from"react/jsx-runtime";var Tn=I.states,Mn=I.defaultOptions,En=I.options,In=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],yn=[],re=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:r,readonly:d,...c}=e,m=t?.prefix,x=t?.suffix,h=t?.["clear-button"],b=t?.["validation-icon"],v=t?.separators;return et(I,{...c,valid:o,invalid:a,loading:n,disabled:r,readonly:d,style:{width:300},children:[m&&et($t,{children:[V(ne,{children:V(S,{icon:"lock"})}),v&&V(ie,{})]}),V(_,{placeholder:"Placeholder",value:"Value"}),b&&V(R,{valid:o,invalid:a,loading:n,disabled:r}),V(F,{loading:n,disabled:r}),h&&V(H,{loading:n,disabled:r,readonly:d,value:"Value"}),x&&et($t,{children:[v&&V(ie,{}),V(ae,{children:V(Z,{size:c.size,fillMode:"clear",children:"Send"})})]})]})};re.options=En;re.states=Tn;re.variants=yn;re.defaultOptions=Mn;re.modifiers=In;re.className=I.className;import{jsx as gn}from"react/jsx-runtime";var Xt=e=>gn(f,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as On}from"react/jsx-runtime";var Jt=e=>On(f,{icon:"folder",children:"Button",...e});import{jsx as tt}from"react/jsx-runtime";var Cn=f.options,kn=f.states,Ln={...f.defaultOptions,variant:"text"},Pn=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Hn=[],le=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return tt(Xt,{...o,icon:"star"});case"icon-and-text":return tt(Jt,{...o,icon:"star",children:"Button"});default:return tt(Z,{...o,children:"Button"})}};le.options=Cn;le.states=kn;le.variants=Pn;le.defaultOptions=Ln;le.modifiers=Hn;le.className=f.className;var ot="popup",qt=ot;import{jsx as Gt}from"react/jsx-runtime";var Yt="k-animation-container",_n=[],Rn={},nt={positionMode:"absolute",shown:!0},U=e=>{let{positionMode:t=nt.positionMode,shown:o=nt.shown,animationStyle:a,offset:n,...r}=e;return Gt("div",{...r,style:{...n,...e.style},className:i(e.className,Yt,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:Gt("div",{className:"k-child-animation-container",style:a,children:e.children})})};U.states=_n;U.options=Rn;U.className=Yt;U.defaultOptions=nt;U.moduleName=ot;U.folderName=qt;var at="popup",Wt=at;import{jsx as Qt}from"react/jsx-runtime";var Zt="k-popup",Kn=[],Bn={},jt={positionMode:"absolute"},K=e=>{let{offset:t,positionMode:o=jt.positionMode,animationStyle:a,containerClassName:n,containerRole:r,containerAriaLabel:d,...c}=e;return Qt(U,{positionMode:o,offset:t,animationStyle:a,className:n,role:r,"aria-label":d,children:Qt("div",{...c,className:i(e.className,Zt),children:e.children})})};K.states=Kn;K.options=Bn;K.className=Zt;K.defaultOptions=jt;K.moduleName=at;K.folderName=Wt;var eo="time-selector",to="timeselector";import{Fragment as oo,jsx as Re,jsxs as no}from"react/jsx-runtime";var it="k-timeselector",wn=[],zn={size:[l.undefined,l.small,l.medium,l.large]},Dn={},$=e=>{let{size:t,header:o,fastSelection:a,columns:n,focusedColumn:r,...d}=e,c=n.map(function(m,x){let h=!1,b=!0;return m===r&&(h=!0),(x===0||m==="tt")&&(b=!1),Re(st,{type:m,focus:h,separator:b},x)});return no("div",{...d,className:i(e.className,it,E(it,{size:t})),role:"group","aria-label":"Time selector",children:[Re(oo,{children:o}),Re(oo,{children:a}),no("div",{className:"k-time-list-container",children:[Re("span",{className:"k-time-highlight"}),c]})]})};$.states=wn;$.options=zn;$.className=it;$.defaultOptions=Dn;$.moduleName=eo;$.folderName=to;import{Fragment as Vn,jsx as j,jsxs as rt}from"react/jsx-runtime";var Fn=[s.focus],st=e=>{let{type:t,focus:o,separator:a,...n}=e,r,d=["00","01","02","03","04","05","06","07","08","09"];switch(t){case"dd":r="Day";break;case"HH":r="Hour";break;case"mm":r="Minute";break;case"ss":r="Second";break;case"SSS":r="Millisecond",d=["000","001","002","003","004","005","006","007","008","009"];break;case"tt":r="AM/PM",d=["AM","PM"];break;default:r="Column Name";break}let c=d.map((m,x)=>j("li",{className:"k-item",role:"option","aria-selected":"false",children:j("span",{children:m})},x));return rt(Vn,{children:[a&&j("div",{className:"k-time-separator",children:":"}),rt("div",{...n,className:i(e.className,"k-time-list-wrapper",z("k-time-list-wrapper",{focus:o})),children:[j("span",{className:"k-title",children:r}),j("div",{className:"k-time-list",role:"listbox","aria-label":r,children:rt("div",{className:"k-content k-scrollable k-time-container",children:[j("ul",{className:"k-reset",style:{transform:"translateY(97px)"},role:"none",children:c}),j("div",{className:"k-scrollable-placeholder"})]})})]})]})};st.states=Fn;import{jsx as $n,jsxs as Xn}from"react/jsx-runtime";var Un="k-time-header",ce=e=>{let{title:t,...o}=e;return Xn("div",{...o,className:i(e.className,Un),children:[t!=null&&$n("span",{className:"k-title",children:t}),e.children]})};var lt="action-buttons",ao=lt;import{jsx as Gn}from"react/jsx-runtime";var Ke="k-actions",Jn=[],qn={},ct={alignment:"start",orientation:"horizontal"},C=e=>{let{alignment:t=ct.alignment,orientation:o=ct.orientation,...a}=e;return Gn("div",{...a,className:i(Ke,{[`${Ke}-${t}`]:t,[`${Ke}-${o}`]:o},e.className),children:e.children})};C.states=Jn;C.options=qn;C.className=Ke;C.defaultOptions=ct;C.moduleName=lt;C.folderName=ao;import{jsx as Jr,jsxs as qr}from"react/jsx-runtime";import{Fragment as nl,jsx as tl,jsxs as ol}from"react/jsx-runtime";import{Fragment as ul,jsx as ml,jsxs as pl}from"react/jsx-runtime";import{Fragment as Ml,jsx as Al,jsxs as Tl}from"react/jsx-runtime";import{jsx as Wn}from"react/jsx-runtime";var Yn="k-actionsheet-footer",so={alignment:"stretched",orientation:"horizontal"},X=e=>{let{alignment:t=so.alignment,orientation:o=so.orientation,template:a,as:n=a?"div":C,...r}=e;return Wn(n,{...r,...!a&&{alignment:t,orientation:o},className:i(e.className,Yn),children:e.children})};var dt="searchbox",ro=dt;import{jsx as Te,jsxs as jn}from"react/jsx-runtime";var lo="k-searchbox",Qn=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading],Zn={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},mt={showIcon:!0,icon:"search"},J=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:r,hover:d,focus:c,valid:m,invalid:x,required:h,loading:b,disabled:v,showIcon:w=mt.showIcon,icon:L=mt.icon,"aria-label":T,...M}=e;return jn(I,{...M,size:a,rounded:n,fillMode:r,hover:d,focus:c,valid:m,invalid:x,required:h,loading:b,disabled:v,className:i(e.className,lo),children:[w&&Te(S,{className:"k-input-icon",icon:L}),Te(_,{placeholder:o,value:t,"aria-label":T}),Te(F,{...e}),Te(R,{...e}),Te(H,{...e})]})};J.states=Qn;J.options=Zn;J.className=lo;J.defaultOptions=mt;J.moduleName=dt;J.folderName=ro;import{jsx as ql}from"react/jsx-runtime";var pt="textbox",co=pt;import{Fragment as mo,jsx as q,jsxs as ut}from"react/jsx-runtime";var po="k-textbox",ea=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],ta={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Be={showClearButton:!0,showValidationIcon:!0,separators:!0},k=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Be.separators,showClearButton:r=Be.showClearButton,showValidationIcon:d=Be.showValidationIcon,prefix:c,suffix:m,type:x,value:h,placeholder:b,hover:v,focus:w,valid:L,invalid:T,required:M,loading:g,disabled:P,readonly:te,id:fe,"aria-label":xe,"aria-describedby":Ne,...Q}=e;return ut(I,{...Q,size:t,rounded:o,fillMode:a,hover:v,focus:w,valid:L,invalid:T,required:M,loading:g,disabled:P,readonly:te,className:i(e.className,po),children:[c&&ut(mo,{children:[q(ne,{children:c}),n&&q(ie,{})]}),q(_,{id:fe,placeholder:b,value:h,type:x,disabled:P,"aria-label":xe,"aria-describedby":Ne,"aria-invalid":T?"true":void 0}),d&&q(R,{valid:L,invalid:T,loading:g,disabled:P}),q(F,{loading:g,disabled:P}),r&&q(H,{loading:g,disabled:P,readonly:te,value:h}),m&&ut(mo,{children:[n&&q(ie,{}),q(ae,{children:m})]})]})};k.states=ea;k.options=ta;k.className=po;k.defaultOptions=Be;k.moduleName=pt;k.folderName=co;var Me=k;import{jsx as oa}from"react/jsx-runtime";var uo=e=>oa(Me,{...e});import{Fragment as mc,jsx as dc}from"react/jsx-runtime";import{Fragment as hc,jsx as Nc}from"react/jsx-runtime";import{jsx as Ac}from"react/jsx-runtime";import{jsx as ft}from"react/jsx-runtime";var na=k.states,aa=k.defaultOptions,ia=k.options,sa=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],ra=[],de=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?ft(S,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[n]?ft(Z,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;default:break}}),ft(uo,{value:"Value",style:{width:300},...o,...a})};de.options=ia;de.states=na;de.variants=ra;de.defaultOptions=aa;de.modifiers=sa;de.className=k.className;import{jsx as G,jsxs as xt}from"react/jsx-runtime";var fo="k-actionsheet-titlebar",la={},B=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:r,input:d,inputValue:c,inputPlaceholder:m,adaptive:x,titleId:h,children:b,...v}=e;return xt("div",{...v,className:i(e.className,fo),children:[xt("div",{className:"k-actionsheet-titlebar-group",children:[a&&G("div",{className:"k-actionsheet-actions",children:a}),!b&&xt("div",{className:"k-actionsheet-title",id:h,children:[t&&G("div",{className:"k-text-center",children:t}),o&&G("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),b&&G("div",{className:"k-actionsheet-title",id:h,children:b}),n&&G("div",{className:"k-actionsheet-actions",children:n})]}),(d||r)&&G("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?G(k,{value:c,placeholder:m,size:x?"large":"medium","aria-label":t||m||"Input"}):G(J,{placeholder:"Filter",size:x?"large":"medium","aria-label":"Filter options"})})]})};B.className=fo;B.defaultOptions=la;import{jsx as Nt,jsxs as pa}from"react/jsx-runtime";var ht="k-actionsheet-view",ca=[],da={},ma={},me=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:r,titleId:d,...c}=e,m=n?.type===B&&Nt(B,{adaptive:t,titleId:d,...n?.props}),x=r?.type===X&&Nt(X,{...r?.props});return pa("div",{...c,className:i(e.className,ht,{[`${ht}-animated`]:o}),children:[m,Nt("div",{className:"k-actionsheet-content",children:a}),x]})};me.states=ca;me.options=da;me.className=ht;me.defaultOptions=ma;var Ee="action-sheet",we=Ee;var bt="overlay",xo=bt;import{jsx as Na}from"react/jsx-runtime";var No="k-overlay",ua=[],fa={},xa={},Y=e=>{let{...t}=e;return Na("div",{...t,className:i(e.className,No),children:e.children})};Y.states=ua;Y.options=fa;Y.className=No;Y.defaultOptions=xa;Y.moduleName=bt;Y.folderName=xo;import{jsx as ze,jsxs as Sa}from"react/jsx-runtime";var ho="k-actionsheet",ha=[],ba={},Ie={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},O=e=>{let{side:t=Ie.side,fullscreen:o=Ie.fullscreen,adaptive:a=Ie.adaptive,overlay:n=Ie.overlay,template:r,children:d,header:c,footer:m,id:x,...h}=e,b=x&&!r&&c?`${x}-title`:void 0;return Sa("div",{className:"k-actionsheet-container",children:[n&&ze(Y,{}),ze(U,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:ze("div",{...h,id:x,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":b,className:i(e.className,ho,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:r||ze(me,{header:c,footer:m,adaptive:a,titleId:b,...e,children:d})})})]})};O.states=ha;O.options=ba;O.className=ho;O.defaultOptions=Ie;O.moduleName=Ee;O.folderName=we;import{jsx as Ma}from"react/jsx-runtime";var bo="k-actionsheet-container",va=[],Aa={},Ta={},pe=e=>{let{children:t,...o}=e;return Ma("div",{...o,className:bo,children:t})};pe.states=va;pe.options=Aa;pe.className=bo;pe.defaultOptions=Ta;pe.moduleName=Ee;pe.folderName=we;import{jsx as Ea}from"react/jsx-runtime";var St=e=>{let{...t}=e;return Ea("div",{...t,className:i(e.className,"k-list-ul"),children:e.children})};import{Fragment as ya,jsx as ye,jsxs as vt}from"react/jsx-runtime";var At="k-actionsheet-item",Ia=[s.hover,s.focus,s.selected,s.disabled],W=e=>{let{iconName:t,text:o,description:a,hover:n,focus:r,selected:d,disabled:c,...m}=e;return vt("span",{...m,className:i(e.className,At,z(At,{hover:n,focus:r,selected:d,disabled:c})),children:[!e.children&&ye(ya,{children:vt("span",{className:"k-actionsheet-action",children:[t&&ye("span",{className:"k-icon-wrap",children:ye(S,{className:"k-actionsheet-item-icon",icon:t})}),vt("span",{className:"k-actionsheet-item-text",children:[o&&ye("span",{className:"k-actionsheet-item-title",children:o}),a&&ye("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};W.states=Ia;W.className=At;import{jsx as vd,jsxs as Ad}from"react/jsx-runtime";import{jsx as Id}from"react/jsx-runtime";import{jsx as Cd}from"react/jsx-runtime";import{jsx as Hd}from"react/jsx-runtime";import{jsx as y,jsxs as Tt}from"react/jsx-runtime";var ga=O.options,Oa=O.states,vo={...O.defaultOptions,variant:"normal"},Ca=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],ka=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],ue=e=>{let{variant:t,modifiers:o,...a}={...vo,...e},n={},r=Tt(St,{children:[y(W,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),y(W,{text:"Add to Favorites",iconName:"heart"}),y(W,{text:"Upload New",iconName:"upload",disabled:!0}),y("hr",{className:"k-hr"}),y(W,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",c="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(m=>{switch(m){case"actions":n.actionsStart=!!o?.[m],n.actionsEnd=!!o?.[m];break;case"subtitle":n.subtitle=o?.[m]?d:void 0;break;case"footer":n.footer=!!o?.[m];break;default:break}}),t==="adaptive"?y(O,{...a,adaptive:!0,fullscreen:n.fullScreen,header:y(B,{actionsStart:n.actionsStart?y(f,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?y(f,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:c,subtitle:n.subtitle}),footer:n.footer?Tt(X,{alignment:"stretched",children:[y(f,{text:"Cancel",size:"large",themeColor:"base"}),y(f,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:r}):y(O,{...a,fullscreen:n.fullScreen,header:y(B,{actionsStart:n.actionsStart?y(f,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?y(f,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?Tt(X,{alignment:"stretched",children:[y(f,{text:"Apply",themeColor:"primary"}),y(f,{text:"Cancel",themeColor:"base"})]}):void 0,children:r})};ue.options=ga;ue.states=Oa;ue.variants=Ca;ue.defaultOptions=vo;ue.modifiers=ka;ue.className=O.className;var Ao="time-picker",To="timepicker";import{Fragment as Ha,jsx as A,jsxs as ge}from"react/jsx-runtime";var Mo="k-timepicker",La=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Pa={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Eo={showClearButton:!0},ee=e=>{let{size:t,rounded:o,fillMode:a,prefix:n,suffix:r,value:d,placeholder:c,showClearButton:m=Eo.showClearButton,hover:x,focus:h,valid:b,invalid:v,required:w,loading:L,disabled:T,readonly:M,opened:g,adaptive:P,adaptiveSettings:te,adaptiveTitle:fe,adaptiveSubtitle:xe,...Ne}=e,Q=Et("timepicker-popup");return ge(Ha,{children:[ge(I,{...Ne,size:t,rounded:o,fillMode:a,hover:x,focus:h,valid:b,invalid:v,required:w,loading:L,disabled:T,readonly:M,className:i(e.className,Mo),children:[A(ne,{children:n}),A(_,{placeholder:c,value:d,role:"combobox","aria-haspopup":"dialog","aria-expanded":g?"true":"false","aria-controls":g||P?Q:void 0,"aria-invalid":v?"true":void 0,"aria-label":"Select time",disabled:T}),A(R,{valid:b,invalid:v,loading:L,disabled:T}),A(F,{loading:L,disabled:T}),m&&A(H,{loading:L,disabled:T,readonly:M,value:d}),A(ae,{children:r}),A(f,{className:"k-input-button",icon:"clock",size:t,fillMode:a,tabIndex:-1,"aria-label":"Select time",disabled:T})]}),g&&ge(K,{id:Q,className:"k-list-container k-timepicker-popup",children:[A($,{columns:["HH","mm","ss","tt"],focusedColumn:"mm",header:A(ce,{title:"10:00:00 AM",children:A(f,{fillMode:"flat",className:"k-time-now",children:"Now"})})}),ge(C,{alignment:"stretched",className:"k-time-footer",children:[A(f,{themeColor:"primary",className:"k-time-accept",children:"Set"}),A(f,{className:"k-time-cancel",children:"Cancel"})]})]}),P&&A(O,{adaptive:!0,id:Q,...te,header:A(B,{actionsEnd:A(f,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:fe,subtitle:xe}),footer:ge(X,{children:[A(f,{text:"Cancel",size:"large"}),A(f,{text:"Set time",size:"large",themeColor:"primary"})]}),children:A($,{size:"large",columns:["HH","mm","ss","tt"],focusedColumn:"HH",header:A(ce,{title:"10:00:00 \u0410\u041C",children:A(f,{size:"large",fillMode:"flat",className:"k-time-now",children:"Now"})})})})]})};ee.states=La;ee.options=Pa;ee.className=Mo;ee.defaultOptions=Eo;ee.moduleName=Ao;ee.folderName=To;var Io=ee;import{jsx as _a}from"react/jsx-runtime";var Nm=e=>_a(Io,{opened:!0,...e});export{Nm as TimePickerPopup};
|