@cleen/ui 0.1.38 → 0.1.39
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/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9,4 +9,4 @@ import{forwardRef as F7,useMemo as c5}from"react";import{cn as mo,usePositionClo
|
|
|
9
9
|
cleen-font-semibold cleen-text-sm cleen-text-gray/70 cleen-transition-colors cleen-duration-200
|
|
10
10
|
${p?"cleen-text-gray":""}
|
|
11
11
|
${a}
|
|
12
|
-
`,children:t})]}),["string","number"].includes(typeof r)&&Le(le,{color:i,label:String(r)})]})}var A=t=>t==="pulse"?"cleen-animate-pulse":"";import{cn as f7}from"@cleen/ui-core";import{forwardRef as $p}from"react";import{jsx as h7}from"react/jsx-runtime";var qp={none:"cleen-rounded-none",sm:"cleen-rounded-sm",md:"cleen-rounded-md",lg:"cleen-rounded-lg",xl:"cleen-rounded-xl","2xl":"cleen-rounded-2xl",full:"cleen-rounded-full"},Xp=$p(function({width:e,height:n,roundness:o="md",variant:i="default",className:r,style:l},s){let c=A(i),a={...e!==void 0?{width:typeof e=="number"?`${e}px`:e}:{},...n!==void 0?{height:typeof n=="number"?`${n}px`:n}:{},...l};return h7("div",{ref:s,className:f7("cleen",r),children:h7("div",{className:f7("cleen-bg-gray/10",qp[o],e===void 0&&"cleen-w-full",n===void 0&&"cleen-h-4",c),style:a})})});import{cn as Il}from"@cleen/ui-core";import{forwardRef as jp}from"react";import{jsx as Qn,jsxs as Kp}from"react/jsx-runtime";var Ml=jp(function({className:e,style:n,variant:o="default",itemCount:i=1},r){let l=A(o);return Qn("div",{ref:r,className:Il("cleen",e),style:n,children:Qn("div",{className:"cleen-flex cleen-items-start cleen-gap-4 cleen-flex-wrap",children:Array.from({length:i}).map((s,c)=>Kp("div",{className:"cleen-flex cleen-flex-col cleen-items-center cleen-gap-2",children:[Qn("div",{className:Il("cleen-bg-gray/10 cleen-rounded-full cleen-size-12 cleen-border cleen-border-gray/15",l)}),Qn("div",{className:Il("cleen-bg-gray/10 cleen-rounded cleen-w-14 cleen-h-3",l)})]},c))})})});import{cn as v7}from"@cleen/ui-core";import{forwardRef as Yp}from"react";import{jsx as Hl}from"react/jsx-runtime";var Rl=Yp(function({className:e,style:n,variant:o="default",itemCount:i=1},r){let l=A(o);return Hl("div",{ref:r,className:v7("cleen",e),style:n,children:Hl("div",{className:"cleen-flex cleen-items-center cleen-flex-wrap cleen-gap-2",children:Array.from({length:i}).map((s,c)=>Hl("div",{className:v7("cleen-bg-gray/10 cleen-rounded-full cleen-h-6 cleen-w-16",l)},c))})})});import{cn as w7}from"@cleen/ui-core";import{forwardRef as Qp}from"react";import{jsx as M1,jsxs as Jn}from"react/jsx-runtime";var Nl=Qp(function({className:e,style:n,variant:o="default"},i){let r=A(o);return M1("div",{ref:i,className:w7("cleen",e),style:n,children:Jn("div",{className:w7("cleen-relative cleen-bg-gray/10 cleen-rounded-2xl cleen-w-full cleen-overflow-hidden",r),children:[M1("div",{className:"cleen-h-48 cleen-w-full"}),Jn("div",{className:"cleen-absolute cleen-inset-0 cleen-flex cleen-flex-col cleen-justify-center cleen-items-start cleen-gap-4 cleen-px-8",children:[M1("div",{className:"cleen-bg-gray/20 cleen-rounded-full cleen-w-24 cleen-h-6"}),Jn("div",{className:"cleen-flex cleen-flex-col cleen-gap-2 cleen-w-full",children:[M1("div",{className:"cleen-bg-gray/20 cleen-rounded cleen-w-2/3 cleen-h-8"}),M1("div",{className:"cleen-bg-gray/20 cleen-rounded cleen-w-1/2 cleen-h-5"})]}),Jn("div",{className:"cleen-flex cleen-gap-3",children:[M1("div",{className:"cleen-bg-gray/20 cleen-rounded-lg cleen-w-28 cleen-h-10"}),M1("div",{className:"cleen-bg-gray/15 cleen-rounded-lg cleen-w-24 cleen-h-10"})]})]})]})})});import{cn as y7}from"@cleen/ui-core";import{forwardRef as Jp}from"react";import{jsx as Bl}from"react/jsx-runtime";var Dl=Jp(function({className:e,style:n,variant:o="default",itemCount:i=1},r){let l=A(o);return Bl("div",{ref:r,className:y7("cleen",e),style:n,children:Bl("div",{className:"cleen-flex cleen-items-center cleen-gap-2",children:Array.from({length:i}).map((s,c)=>Bl("div",{className:y7("cleen-bg-gray/10 cleen-rounded-lg cleen-h-10 cleen-w-28",l)},c))})})});import{forwardRef as ed}from"react";import{cn as eo}from"@cleen/ui-core";import{jsx as to,jsxs as x7}from"react/jsx-runtime";var Kt=ed(function({className:e,style:n,variant:o="default"},i){let r=A(o);return to("div",{ref:i,className:eo("cleen",e),style:n,children:x7("div",{className:"cleen-flex cleen-items-center cleen-gap-3 cleen-bg-white cleen-px-4 cleen-py-4 cleen-border cleen-border-gray/15 cleen-rounded-xl cleen-w-full",children:[to("div",{className:eo("cleen-flex cleen-justify-center cleen-items-center cleen-bg-gray/10 cleen-border cleen-border-gray/20 cleen-rounded-xl cleen-min-w-10 cleen-size-10",r)}),x7("div",{className:"cleen-flex cleen-flex-col cleen-flex-1 cleen-gap-2",children:[to("div",{className:eo("cleen-bg-gray/10 cleen-rounded cleen-w-3/4 cleen-h-4",r)}),to("div",{className:eo("cleen-bg-gray/10 cleen-rounded cleen-w-1/2 cleen-h-3",r)})]})]})})});import{cn as Q1}from"@cleen/ui-core";import{forwardRef as td}from"react";import{jsx as J1,jsxs as no}from"react/jsx-runtime";var oo=td(({className:t,style:e,variant:n="default"},o)=>{let i=A(n);return J1("div",{ref:o,className:Q1("cleen",t),style:e,children:no("div",{className:"cleen-flex cleen-flex-col cleen-justify-between cleen-items-start cleen-gap-3 cleen-bg-white cleen-px-4 cleen-py-4 cleen-border cleen-border-gray/15 cleen-rounded-lg",children:[no("div",{className:"cleen-flex cleen-items-center cleen-gap-3 cleen-w-full",children:[J1("div",{className:Q1("cleen-flex cleen-justify-center cleen-items-center cleen-bg-gray/10 cleen-border cleen-border-gray/20 cleen-rounded-xl cleen-size-10",i)}),no("div",{className:"cleen-flex cleen-flex-col cleen-flex-1 cleen-gap-2",children:[J1("div",{className:Q1("cleen-bg-gray/10 cleen-rounded cleen-w-1/2 cleen-h-5",i)}),J1("div",{className:Q1("cleen-bg-gray/10 cleen-rounded cleen-w-3/4 cleen-h-4",i)})]})]}),no("div",{className:"cleen-space-y-2 cleen-w-full",children:[J1("div",{className:Q1("cleen-bg-gray/10 cleen-rounded cleen-w-full cleen-h-2",i)}),J1("div",{className:Q1("cleen-bg-gray/10 cleen-rounded cleen-w-16 cleen-h-3",i)})]})]})})});oo.displayName="AssessmentHeaderSkeleton";import{cn as Ie}from"@cleen/ui-core";import{forwardRef as nd}from"react";import{jsx as Me,jsxs as et}from"react/jsx-runtime";var Vl=nd(function({className:e,style:n,variant:o="default"},i){let r=A(o);return Me("div",{ref:i,className:Ie("cleen",e),style:n,children:et("div",{className:"cleen-flex cleen-flex-col cleen-bg-white cleen-border cleen-border-gray/15 cleen-rounded-xl cleen-overflow-hidden cleen-w-full",children:[Me("div",{className:Ie("cleen-bg-gray/10 cleen-w-full cleen-h-40",r)}),et("div",{className:"cleen-flex cleen-flex-col cleen-gap-3 cleen-px-4 cleen-py-4",children:[et("div",{className:"cleen-flex cleen-gap-2",children:[Me("div",{className:Ie("cleen-bg-gray/10 cleen-rounded-full cleen-w-16 cleen-h-5",r)}),Me("div",{className:Ie("cleen-bg-gray/10 cleen-rounded-full cleen-w-12 cleen-h-5",r)})]}),et("div",{className:"cleen-flex cleen-flex-col cleen-gap-2",children:[Me("div",{className:Ie("cleen-bg-gray/10 cleen-rounded cleen-w-4/5 cleen-h-5",r)}),Me("div",{className:Ie("cleen-bg-gray/10 cleen-rounded cleen-w-full cleen-h-3",r)}),Me("div",{className:Ie("cleen-bg-gray/10 cleen-rounded cleen-w-3/4 cleen-h-3",r)})]}),et("div",{className:"cleen-flex cleen-justify-between cleen-items-center cleen-pt-1",children:[et("div",{className:"cleen-flex cleen-items-center cleen-gap-2",children:[Me("div",{className:Ie("cleen-bg-gray/10 cleen-rounded-full cleen-size-7 cleen-shrink-0",r)}),Me("div",{className:Ie("cleen-bg-gray/10 cleen-rounded cleen-w-24 cleen-h-3",r)})]}),Me("div",{className:Ie("cleen-bg-gray/10 cleen-rounded-lg cleen-w-16 cleen-h-7",r)})]})]})]})})});import{forwardRef as od}from"react";import{cn as rd}from"@cleen/ui-core";import{jsx as Tl}from"react/jsx-runtime";var El=od(function({className:e,style:n,itemCount:o=3,variant:i="default"},r){return Tl("div",{ref:r,className:rd("cleen",e),style:n,children:Tl("div",{className:"cleen-flex cleen-flex-col cleen-gap-3",children:Array.from({length:o}).map((l,s)=>Tl(Kt,{variant:i},s))})})});import{cn as H1}from"@cleen/ui-core";import{forwardRef as ld}from"react";import{jsx as we,jsxs as Yt}from"react/jsx-runtime";var b7=["cleen-h-16","cleen-h-24","cleen-h-14","cleen-h-28","cleen-h-20","cleen-h-10","cleen-h-24"],Fl=ld(function({className:e,style:n,variant:o="default"},i){let r=A(o);return we("div",{ref:i,className:H1("cleen",e),style:n,children:Yt("div",{className:"cleen-flex cleen-flex-col cleen-gap-3 cleen-bg-white cleen-border cleen-border-gray/15 cleen-rounded-xl cleen-px-4 cleen-pt-4 cleen-pb-3 cleen-w-full",children:[Yt("div",{className:"cleen-flex cleen-justify-between cleen-items-center",children:[we("div",{className:H1("cleen-bg-gray/10 cleen-rounded cleen-w-32 cleen-h-5",r)}),we("div",{className:"cleen-flex cleen-items-center cleen-gap-3",children:[28,20].map((l,s)=>Yt("div",{className:"cleen-flex cleen-items-center cleen-gap-1.5",children:[we("div",{className:H1("cleen-bg-gray/10 cleen-rounded-full cleen-size-2.5",r)}),we("div",{className:H1("cleen-bg-gray/10 cleen-rounded cleen-h-3",r),style:{width:l}})]},s))})]}),Yt("div",{className:"cleen-flex cleen-gap-3",children:[we("div",{className:"cleen-flex cleen-flex-col cleen-justify-between cleen-items-end cleen-py-1",style:{height:120},children:[0,1,2,3].map(l=>we("div",{className:H1("cleen-bg-gray/10 cleen-rounded cleen-w-6 cleen-h-2",r)},l))}),Yt("div",{className:"cleen-flex cleen-flex-col cleen-flex-1 cleen-gap-1",children:[we("div",{className:"cleen-flex cleen-items-end cleen-justify-around cleen-gap-2",style:{height:112},children:b7.map((l,s)=>we("div",{className:H1("cleen-bg-gray/10 cleen-rounded-t cleen-flex-1",l,r)},s))}),we("div",{className:"cleen-w-full cleen-h-px cleen-bg-gray/15"}),we("div",{className:"cleen-flex cleen-justify-around cleen-gap-2 cleen-pt-1",children:b7.map((l,s)=>we("div",{className:H1("cleen-bg-gray/10 cleen-rounded cleen-flex-1 cleen-h-2",r)},s))})]})]})]})})});import{cn as R1}from"@cleen/ui-core";import{forwardRef as id}from"react";import{jsx as _e,jsxs as ro}from"react/jsx-runtime";var Al=id(({variant:t="default",itemCount:e=3,className:n,style:o},i)=>{let r=A(t);return _e("div",{ref:i,className:R1("cleen",n),style:o,children:_e(ne,{className:"cleen-max-h-fit",children:ro("div",{className:"cleen-flex cleen-flex-col cleen-gap-4",children:[ro("div",{className:"cleen-flex cleen-flex-col cleen-gap-2",children:[_e("div",{className:R1("cleen-bg-gray/10 cleen-rounded cleen-w-3/4 cleen-h-6",r)}),_e("div",{className:R1("cleen-bg-gray/10 cleen-rounded cleen-w-full cleen-h-4",r)})]}),_e("div",{className:"cleen-space-y-6",children:Array.from({length:e}).map((l,s)=>ro("div",{className:"cleen-space-y-3",children:[_e("div",{className:R1("cleen-bg-gray/10 cleen-rounded cleen-w-2/3 cleen-h-4",r)}),_e("div",{className:R1("cleen-bg-gray/10 cleen-rounded cleen-w-full cleen-h-10",r)})]},s))}),ro("div",{className:"cleen-flex cleen-justify-between cleen-items-center cleen-pt-4",children:[_e("div",{className:R1("cleen-bg-gray/10 cleen-rounded cleen-w-24 cleen-h-10",r)}),_e("div",{className:R1("cleen-bg-gray/10 cleen-rounded cleen-w-24 cleen-h-10",r)})]})]})})})});import{cn as lo}from"@cleen/ui-core";import{forwardRef as sd}from"react";import{jsx as Qt,jsxs as cd}from"react/jsx-runtime";var Wl=sd(function({className:e,style:n,variant:o="default",itemCount:i=5},r){let l=A(o),s=["cleen-w-1/12","cleen-w-3/12","cleen-w-2/12","cleen-w-3/12","cleen-w-2/12","cleen-w-1/12"];return Qt("div",{ref:r,className:lo("cleen",e),style:n,children:cd("div",{className:"cleen-flex cleen-flex-col cleen-w-full cleen-border cleen-border-gray/15 cleen-rounded-xl cleen-overflow-hidden",children:[Qt("div",{className:"cleen-flex cleen-items-center cleen-gap-3 cleen-px-4 cleen-py-3 cleen-bg-gray/5 cleen-border-b cleen-border-gray/15",children:s.map((c,a)=>Qt("div",{className:lo("cleen-bg-gray/15 cleen-rounded cleen-h-4 cleen-flex-shrink-0",c,l)},a))}),Array.from({length:i}).map((c,a)=>Qt("div",{className:lo("cleen-flex cleen-items-center cleen-gap-3 cleen-px-4 cleen-py-3",a<i-1?"cleen-border-b cleen-border-gray/10":""),children:s.map((p,m)=>Qt("div",{className:lo("cleen-bg-gray/10 cleen-rounded cleen-h-4 cleen-flex-shrink-0",m===s.length-1?"cleen-rounded-full":"cleen-rounded",p,l)},m))},a))]})})});import{cn as io}from"@cleen/ui-core";import{forwardRef as ad}from"react";import{jsx as Jt,jsxs as k7}from"react/jsx-runtime";var Zl=ad(function({className:e,style:n,variant:o="default",itemCount:i=4},r){let l=A(o);return Jt("div",{ref:r,className:io("cleen",e),style:n,children:k7("div",{className:"cleen-flex cleen-flex-col cleen-gap-5 cleen-w-full cleen-bg-white cleen-border cleen-border-gray/15 cleen-rounded-xl cleen-px-6 cleen-py-6",children:[Array.from({length:i}).map((s,c)=>k7("div",{className:"cleen-flex cleen-flex-col cleen-gap-2",children:[Jt("div",{className:io("cleen-bg-gray/10 cleen-rounded cleen-w-1/4 cleen-h-3",l)}),Jt("div",{className:io("cleen-bg-gray/10 cleen-rounded-lg cleen-w-full cleen-h-10",l)})]},c)),Jt("div",{className:"cleen-flex cleen-justify-end cleen-pt-1",children:Jt("div",{className:io("cleen-bg-gray/10 cleen-rounded-lg cleen-w-28 cleen-h-10",l)})})]})})});import{cn as L7}from"@cleen/ui-core";import{forwardRef as pd}from"react";import{jsx as _l}from"react/jsx-runtime";var dd=["rgb(var(--cleen-blue))","rgb(var(--cleen-aqua))","rgb(var(--cleen-light-green))","rgb(var(--cleen-aqua))","rgb(var(--cleen-blue))"],Ol=pd(function({className:e,style:n,variant:o="default",colors:i=dd},r){let l=A(o);return _l("div",{ref:r,className:L7("cleen",e),style:n,children:_l("div",{className:L7("cleen-p-1 cleen-size-full cleen-rounded-lg cleen-animate-[cleen-rotate-gradient-angle_2.5s_linear_infinite]",l),style:{background:`conic-gradient(from var(--cleen--gradient-angle),${i.join(",")})`},children:_l("div",{className:"cleen-bg-background cleen-size-full cleen-rounded-md"})})})});import{cn as so}from"@cleen/ui-core";import{forwardRef as ud}from"react";import{jsx as tt,jsxs as P7}from"react/jsx-runtime";var zl=ud(function({className:e,style:n,variant:o="default"},i){let r=A(o);return tt("div",{ref:i,className:so("cleen",e),style:n,children:P7("div",{className:"cleen-flex cleen-flex-col cleen-gap-2 cleen-w-full",children:[tt("div",{className:so("cleen-relative cleen-bg-gray/10 cleen-rounded-xl cleen-w-full cleen-aspect-video cleen-overflow-hidden",r),children:tt("div",{className:"cleen-absolute cleen-inset-0 cleen-flex cleen-items-center cleen-justify-center",children:P7("div",{className:so("cleen-flex cleen-flex-col cleen-items-center cleen-gap-1 cleen-opacity-30"),children:[tt("div",{className:"cleen-bg-gray/30 cleen-rounded-full cleen-size-8"}),tt("div",{className:"cleen-bg-gray/30 cleen-rounded cleen-w-16 cleen-h-2"})]})})}),tt("div",{className:so("cleen-bg-gray/10 cleen-rounded cleen-w-1/2 cleen-h-3 cleen-mx-auto",r)})]})})});import{cn as ue}from"@cleen/ui-core";import{forwardRef as Cd}from"react";import{jsx as ce,jsxs as Oe}from"react/jsx-runtime";var Ul=Cd(function({className:e,style:n,variant:o="default"},i){let r=A(o);return ce("div",{ref:i,className:ue("cleen",e),style:n,children:Oe("div",{className:ue("cleen-flex cleen-flex-col cleen-items-start cleen-gap-4 cleen-bg-white cleen-px-4 cleen-py-4 cleen-border cleen-border-gray/15 cleen-rounded-xl cleen-h-fit",e),style:n,children:[Oe("div",{className:"cleen-flex cleen-items-center cleen-gap-2",children:[ce("div",{className:ue("cleen-flex cleen-justify-center cleen-items-center cleen-bg-gray/10 cleen-p-2 cleen-rounded-full cleen-size-8",r)}),ce("div",{className:ue("cleen-bg-gray/10 cleen-rounded cleen-w-24 cleen-h-3",r)})]}),Oe("div",{className:"cleen-space-y-3 cleen-w-full",children:[Oe("div",{children:[ce("div",{className:ue("cleen-bg-gray/10 cleen-mb-1 cleen-rounded cleen-w-20 cleen-h-3",r)}),ce(ne,{isGlass:!0,classNames:{container:"!cleen-py-3",childrenContainer:"!cleen-px-3"},children:Oe("div",{className:"cleen-space-y-2",children:[ce("div",{className:ue("cleen-bg-gray/10 cleen-rounded cleen-w-full cleen-h-3",r)}),ce("div",{className:ue("cleen-bg-gray/10 cleen-rounded cleen-w-5/6 cleen-h-3",r)})]})})]}),Oe("div",{children:[ce("div",{className:ue("cleen-bg-gray/10 cleen-mb-1 cleen-rounded cleen-w-20 cleen-h-3",r)}),Oe("div",{className:"cleen-space-y-2",children:[ce("div",{className:ue("cleen-bg-gray/10 cleen-rounded cleen-w-3/4 cleen-h-3",r)}),ce("div",{className:ue("cleen-bg-gray/10 cleen-rounded cleen-w-2/3 cleen-h-3",r)})]})]}),Oe("div",{children:[ce("div",{className:ue("cleen-bg-gray/10 cleen-mb-1 cleen-rounded cleen-w-20 cleen-h-3",r)}),ce(ne,{isGlass:!0,classNames:{container:"!cleen-py-3",childrenContainer:"!cleen-px-3"},children:Oe("div",{className:"cleen-space-y-2",children:[ce("div",{className:ue("cleen-bg-gray/10 cleen-rounded cleen-w-full cleen-h-3",r)}),ce("div",{className:ue("cleen-bg-gray/10 cleen-rounded cleen-w-4/5 cleen-h-3",r)})]})})]})]})]})})});import{cn as Gl}from"@cleen/ui-core";import{forwardRef as md}from"react";import{jsx as $l,jsxs as gd}from"react/jsx-runtime";var ql=md(function({className:e,style:n,variant:o="default"},i){let r=A(o);return $l("div",{ref:i,className:Gl("cleen",e),style:n,children:gd("div",{className:"cleen-flex cleen-flex-col cleen-gap-2 cleen-w-full",children:[$l("div",{className:Gl("cleen-bg-gray/10 cleen-rounded cleen-w-1/4 cleen-h-3",r)}),$l("div",{className:Gl("cleen-bg-gray/10 cleen-rounded-lg cleen-w-full cleen-h-10 cleen-border cleen-border-gray/10",r)})]})})});import{cn as en}from"@cleen/ui-core";import{forwardRef as fd}from"react";import{jsx as nt,jsxs as S7}from"react/jsx-runtime";var Xl=fd(function({className:e,style:n,variant:o="default",itemCount:i=5},r){let l=A(o),s=["cleen-w-3/4","cleen-w-2/3","cleen-w-4/5","cleen-w-1/2","cleen-w-3/5"];return nt("div",{ref:r,className:en("cleen",e),style:n,children:nt("div",{className:"cleen-flex cleen-flex-col cleen-divide-y cleen-divide-gray/10",children:Array.from({length:i}).map((c,a)=>S7("div",{className:"cleen-flex cleen-items-center cleen-gap-3 cleen-py-3",children:[nt("div",{className:en("cleen-bg-gray/10 cleen-rounded-full cleen-size-8 cleen-shrink-0 cleen-border cleen-border-gray/15",l)}),S7("div",{className:"cleen-flex cleen-flex-col cleen-flex-1 cleen-gap-1.5",children:[nt("div",{className:en("cleen-bg-gray/10 cleen-rounded cleen-h-4",s[a%s.length],l)}),nt("div",{className:en("cleen-bg-gray/10 cleen-rounded cleen-h-3 cleen-w-2/5",l)})]}),nt("div",{className:en("cleen-bg-gray/10 cleen-rounded-full cleen-w-14 cleen-h-5 cleen-shrink-0",l)})]},a))})})});import{cn as I7}from"@cleen/ui-core";import{forwardRef as hd}from"react";import{jsx as Kl}from"react/jsx-runtime";var jl=["cleen-w-full","cleen-w-full","cleen-w-11/12","cleen-w-full","cleen-w-4/5"],Yl=hd(function({className:e,style:n,variant:o="default",itemCount:i},r){let l=A(o),s=i??jl.length;return Kl("div",{ref:r,className:I7("cleen",e),style:n,children:Kl("div",{className:"cleen-flex cleen-flex-col cleen-gap-2 cleen-w-full",children:Array.from({length:s}).map((c,a)=>{let p=a<jl.length?jl[a]:a===s-1?"cleen-w-3/5":"cleen-w-full";return Kl("div",{className:I7("cleen-bg-gray/10 cleen-rounded cleen-h-3",p,l)},a)})})})});import{cn as M7}from"@cleen/ui-core";import{forwardRef as vd}from"react";import{jsx as H7}from"react/jsx-runtime";var Ql=vd(function({className:e,style:n,variant:o="default"},i){let r=A(o);return H7("div",{ref:i,className:M7("cleen",e),style:n,children:H7("div",{className:M7("cleen-bg-gray/10 cleen-rounded cleen-w-3/4 cleen-h-4",r)})})});import{cn as N1}from"@cleen/ui-core";import{forwardRef as wd}from"react";import{jsx as He,jsxs as co}from"react/jsx-runtime";var Jl=wd(function({className:e,style:n,variant:o="default"},i){let r=A(o);return He("div",{ref:i,className:N1("cleen",e),style:n,children:co("div",{className:"cleen-flex cleen-flex-col cleen-gap-3 cleen-w-full",children:[He("div",{className:N1("cleen-relative cleen-bg-gray/10 cleen-rounded-xl cleen-w-full cleen-aspect-video cleen-overflow-hidden",r),children:He("div",{className:"cleen-absolute cleen-inset-0 cleen-flex cleen-items-center cleen-justify-center",children:He("div",{className:"cleen-bg-gray/20 cleen-rounded-full cleen-size-14 cleen-flex cleen-items-center cleen-justify-center",children:He("div",{className:"cleen-w-0 cleen-h-0 cleen-ml-1 cleen-border-y-[8px] cleen-border-y-transparent cleen-border-l-[14px] cleen-border-l-gray/40"})})})}),co("div",{className:"cleen-flex cleen-gap-3",children:[He("div",{className:N1("cleen-bg-gray/10 cleen-rounded-lg cleen-size-10 cleen-shrink-0",r)}),co("div",{className:"cleen-flex cleen-flex-col cleen-flex-1 cleen-gap-2",children:[He("div",{className:N1("cleen-bg-gray/10 cleen-rounded cleen-w-full cleen-h-4",r)}),He("div",{className:N1("cleen-bg-gray/10 cleen-rounded cleen-w-3/4 cleen-h-3",r)}),co("div",{className:"cleen-flex cleen-items-center cleen-gap-3",children:[He("div",{className:N1("cleen-bg-gray/10 cleen-rounded cleen-w-14 cleen-h-3",r)}),He("div",{className:N1("cleen-bg-gray/10 cleen-rounded cleen-w-10 cleen-h-3",r)})]})]})]})]})})});import{cn as tn}from"@cleen/ui-core";import{forwardRef as yd}from"react";import{jsx as nn,jsxs as e5}from"react/jsx-runtime";var ao=yd(function({variant:e="default",className:n,style:o},i){let r=A(e);return nn("div",{ref:i,className:tn("cleen",n),style:o,children:e5("div",{className:"cleen-flex cleen-flex-col cleen-justify-between cleen-items-start cleen-gap-3 cleen-bg-white cleen-px-4 cleen-py-4 cleen-border cleen-border-gray/15 cleen-rounded-xl cleen-w-full cleen-h-full",children:[e5("div",{className:"cleen-flex cleen-justify-between cleen-items-center cleen-gap-2 cleen-px-2 cleen-py-0.5 cleen-border cleen-border-gray/15 cleen-rounded-full",children:[nn("div",{className:tn("cleen-bg-gray/10 cleen-rounded-full cleen-size-1.5",r)}),nn("div",{className:tn("cleen-bg-gray/10 cleen-rounded cleen-w-20 cleen-h-3",r)})]}),e5("div",{className:"cleen-flex cleen-justify-between cleen-items-center cleen-w-full",children:[nn("div",{className:tn("cleen-bg-gray/10 cleen-rounded cleen-w-24 cleen-h-8",r)}),nn("div",{className:tn("cleen-bg-gray/10 cleen-rounded cleen-w-12 cleen-h-4",r)})]})]})})});ao.displayName="SkeletonBadgeCard";import{forwardRef as xd}from"react";import{jsx as X}from"react/jsx-runtime";var bd=xd(function({className:e,style:n,variant:o="default",itemCount:i=3,colors:r,skeleton:l="card",isShowing:s=!1,children:c},a){if(!s)return c;let p={ref:a,variant:o,itemCount:i,colors:r,className:e,style:n};switch(l){case"card2":return X(oo,{...p});case"card3":return X(Vl,{...p});case"cardStack":return X(El,{...p});case"contentCard":return X(Al,{...p});case"infoCard":return X(Ul,{...p});case"widgetCard":return X(ao,{...p});case"image":return X(zl,{...p});case"video":return X(Jl,{...p});case"avatar":return X(Ml,{...p});case"dataGrid":return X(Wl,{...p});case"text":return X(Ql,{...p});case"paragraph":return X(Yl,{...p});case"list":return X(Xl,{...p});case"form":return X(Zl,{...p});case"banner":return X(Nl,{...p});case"chart":return X(Fl,{...p});case"button":return X(Dl,{...p});case"badge":return X(Rl,{...p});case"input":return X(ql,{...p});case"glowingCard":return X(Ol,{...p});default:return X(Kt,{...p})}});import{useCallback as kd,useEffect as Ld,useRef as t5,useState as Pd}from"react";import{cn as B1}from"@cleen/ui-core";import{jsx as ze,jsxs as n5}from"react/jsx-runtime";var Sd=({minValue:t=0,maxValue:e=100,step:n=1,defaultValue:o=0,value:i,onChange:r,onChangeEnd:l,className:s,classNames:c,style:a,styles:p,disabled:m=!1,label:f,labels:d,tooltip:g,infoLabels:v})=>{let[h,x]=Pd(o??t),w=i!==void 0?i:h,y=t5(null),b=t5(!1),M=t5(!1),I=(w-t)/(e-t)*100,k=R=>{let B=Math.round((R-t)/n)*n+t;return Math.min(e,Math.max(t,B))},H=kd((R,B)=>{let _=k(R);i===void 0&&x(_),r?.(_),B&&l?.(_)},[t,e,n,i,r,l]),N=R=>{let B=y.current;if(!B)return t;let _=B.getBoundingClientRect(),E=(R-_.left)/_.width;return k(t+E*(e-t))},S=R=>{m||(R.preventDefault(),b.current=!0,document.addEventListener("mousemove",L),document.addEventListener("mouseup",P))},L=R=>{b.current&&H(N(R.clientX))},P=R=>{b.current=!1,M.current=!0,l?.(k(N(R.clientX))),document.removeEventListener("mousemove",L),document.removeEventListener("mouseup",P)},D=R=>{if(m||M.current){M.current=!1;return}H(N(R.clientX),!0)},T=R=>{m||(R.preventDefault(),b.current=!0,document.addEventListener("touchmove",V),document.addEventListener("touchend",O))},V=R=>{b.current&&R.touches.length>0&&H(N(R.touches[0].clientX))},O=R=>{b.current=!1,M.current=!0,l?.(k(N(R.touches[0].clientX))),document.removeEventListener("touchmove",V),document.removeEventListener("touchend",O)};return Ld(()=>()=>{document.removeEventListener("mousemove",L),document.removeEventListener("mouseup",P),document.removeEventListener("touchmove",V),document.removeEventListener("touchend",O)},[]),ze("div",{className:B1("cleen",s),style:a,children:n5("div",{className:B1("cleen-w-full",c?.container),style:p?.container,children:[f&&ze("span",{className:"cleen-font-medium cleen-text-sm cleen-text-gray",children:f}),n5("div",{ref:y,className:B1("cleen-relative cleen-w-full cleen-h-8 cleen-touch-none",{"cleen-opacity-60":m},c?.track),style:p?.track,"aria-disabled":m,onClick:D,children:[ze("div",{className:B1("cleen-absolute cleen-left-0 cleen-right-0 cleen-top-1/2 cleen-h-1 cleen-bg-gray/20 dark:cleen-bg-black cleen-rounded-sm -cleen-translate-y-1/2",m?"cleen-cursor-not-allowed":"cleen-cursor-pointer",c?.path),style:p?.path,children:ze("div",{className:B1("cleen-absolute cleen-left-0 cleen-top-0 cleen-h-full cleen-bg-primary cleen-rounded-sm",c?.filledTrack),style:{width:`${I}%`,...p?.filledTrack}})}),ze(Q,{invertColors:!0,label:w,...g,className:B1("cleen-absolute cleen-top-1/2 -cleen-translate-y-1/2",g?.className),style:{left:`calc(${I}% - 8px)`,...g?.style},children:ze("div",{className:B1("cleen-size-4 cleen-bg-white dark:cleen-bg-black cleen-border cleen-border-gray/60 cleen-rounded-full cleen-transition-all cleen-duration-200 hover:cleen-scale-125 hover:cleen-border-primary",m?"cleen-cursor-not-allowed":"cleen-cursor-pointer",c?.thumb),style:p?.thumb,tabIndex:m?-1:0,role:"slider","aria-valuenow":w,"aria-valuemin":t,"aria-valuemax":e,"aria-disabled":m,onMouseDown:S,onTouchStart:T})})]}),(d?.minLabel||d?.maxLabel)&&n5("div",{className:"cleen-flex cleen-items-center cleen-justify-between cleen-w-full",children:[d?.minLabel&&ze("span",{className:"cleen-font-medium cleen-text-xs cleen-text-gray",children:d?.minLabel}),d?.maxLabel&&ze("span",{className:"cleen-font-medium cleen-text-xs cleen-text-gray",children:d?.maxLabel})]}),(v?.errorMessage||v?.infoMessage||v?.subtitle)&&ze(z,{...v})]})})};import{cn as Ue}from"@cleen/ui-core";import{forwardRef as Id}from"react";import{jsx as c1,jsxs as R7}from"react/jsx-runtime";var N7=Id(({steps:t,activeStep:e=0,orientation:n="horizontal",color:o="rgb(var(--cleen-primary))",className:i,classNames:r,style:l,styles:s,...c},a)=>{let p=n==="vertical";return c1("div",{ref:a,className:Ue("cleen",i),style:{...l,width:"100%"},...c,children:c1("div",{className:Ue("cleen-flex cleen-w-full",p?"cleen-flex-col cleen-gap-6":"cleen-flex-row cleen-items-start cleen-gap-8 cleen-justify-between",r?.container),style:{width:"100%",...s?.container},children:t?.map((m,f)=>{let d=f+1<e,g=f+1===e;return R7("div",{className:Ue("cleen-relative cleen-flex cleen-flex-1",p?"cleen-flex-row cleen-items-start":"cleen-flex-col cleen-items-center cleen-text-center",r?.step),style:s?.step,children:[f<t?.length-1&&c1("div",{className:Ue("cleen-absolute cleen-bg-gray/10 cleen-transition-all cleen-duration-300",p?"cleen-left-3 cleen-top-7 cleen-w-[2px] cleen-h-[calc(100%-4px)]":"cleen-top-3 cleen-left-[calc(50%+14px)] cleen-h-[2px] cleen-w-[calc(100%+4px)]",d&&"cleen-bg-primary",r?.connector),style:{backgroundColor:d?o:void 0,...s?.connector}}),c1("div",{className:Ue("cleen-relative cleen-z-10 cleen-flex cleen-items-center cleen-justify-center cleen-rounded-full cleen-border cleen-transition-all cleen-duration-300","cleen-size-7",d||g?"cleen-border-[2px]":"cleen-border-gray/30",r?.circle),style:{borderColor:g||d?o:void 0,backgroundColor:d?o:"transparent",...s?.circle},children:d?c1("span",{className:"cleen-text-white cleen-text-sm",children:"\u2713"}):c1("span",{className:Ue("cleen-w-2 cleen-h-2 cleen-rounded-full",g?"cleen-bg-white":"cleen-bg-gray/30"),style:{backgroundColor:g?o:void 0}})}),R7("div",{className:Ue("cleen-flex cleen-flex-col",p?"cleen-ml-3":"cleen-mt-3 cleen-items-center"),children:[m.title&&c1("div",{className:Ue("cleen-font-medium cleen-text-sm",g?"cleen-text-primary":"cleen-text-gray",r?.title),style:{color:g?o:void 0,...s?.title},children:m.title}),m.subtitle&&c1("div",{className:Ue("cleen-text-xs cleen-text-gray/70",r?.subtitle),style:{color:g?o:void 0,...s?.subtitle},children:m.subtitle})]})]},f)})})})});N7.displayName="Stepper";export{W7 as AdvancedProgressBar,t4 as AudioPlayback,q4 as AudioRecorder,In as Avatar,Q4 as AvatarRow,tc as Breadcrumb,$ as Button,ne as Card,vc as CardIcon,kc as CardMedia,U0 as Checkbox,t8 as CheckboxGroup,re as CleenIcon,_a as CleenNotificationContainer,js as Collapsible,c8 as CreditCardInput,h8 as DatePicker,Fe as Divider,q0 as Drawer,m7 as DrawerContainer,g7 as DrawerContentTitle,Wt as Dropdown,$c as EditableCard,Z0 as EditableText,O0 as EditableTextArea,sa as FilterDrawer,T9 as FormGroup,ha as GroupSelector,Po as IconAlertCircle,So as IconAlertFeatured,Mo as IconAlertOctagon,Ro as IconAlertTriangle,Bo as IconAlignRight,Vo as IconArrowDown,Eo as IconArrowLeft,Fo as IconArrowLeft2,Wo as IconArrowRight,Zo as IconArrowToTop,_o as IconArrowUp,Oo as IconArrowUpRight,zo as IconArrowUpRightNarrow,Uo as IconArrowUpRightSquare,Go as IconAttachment,$o as IconBarChartSquare,qo as IconBold,xo as IconBookmarkCheck,ko as IconBookmarkCheckFill,Xo as IconBookmarkX,jo as IconBoxLines,Ko as IconBoxText,Qo as IconBracketsCheck,Jo as IconBracketsEllipses,tr as IconCalendar,or as IconCertificateHeart,De as IconCheck,rr as IconCheckCircle,ir as IconCheckCircleBroken,sr as IconCheckFill,cr as IconCheckVerified,Ve as IconChevronDown,C1 as IconChevronLeft,dr as IconChevronLeftDouble,Te as IconChevronRight,mr as IconChevronRightDouble,gr as IconChevronSelectorVertical,m1 as IconChevronUp,hr as IconCircleSwap,wr as IconClockFastForward,xr as IconClockRewind,kr as IconClockRewind2,Pr as IconCodeBrowser,Sr as IconCodeCircle,Mr as IconColors,Lo as IconColumnEdit,Rr as IconCopy,Nr as IconCopy2,Dr as IconCopy3,Tr as IconCopy4,Fr as IconCopy5,Ar as IconCopyCheck,Zr as IconCube,_r as IconCubeOutline,zr as IconCursorBox,Ur as IconDataflow,Gr as IconDataflow2,$r as IconDataflow3,Xr as IconDelete,Kr as IconDollarCircle,Yr as IconDotsGrid,Jr as IconDotsHorizontal,F1 as IconDotsVertical,t2 as IconEdit,o2 as IconEditable,r2 as IconExpand,l2 as IconEye,s2 as IconEyeHidden,a2 as IconEyeHidden2,d2 as IconFaceSmile,u2 as IconFilter,dt as IconFilter2,C2 as IconFlag,g2 as IconFlag2,f2 as IconFlag3,h2 as IconHandShield,v2 as IconHash,y2 as IconHeadsetMic,x2 as IconHeart,ut as IconHouseLine,b2 as IconImage,k2 as IconImage2,L2 as IconImage3,S2 as IconImage4,I2 as IconImageCheck,M2 as IconInfoCircle,R2 as IconInfoHexagon,N2 as IconItalic,B2 as IconLayersMultiple,D2 as IconLayersSingle,V2 as IconLayout,T2 as IconLayout2,E2 as IconLayoutColumns,F2 as IconLayoutCustom,A2 as IconLayoutSequential,W2 as IconLayoutStuffed,Z2 as IconLayoutTile,_2 as IconLifeBuoy,O2 as IconLightbulb,z2 as IconLightning,G2 as IconLightning2,$2 as IconLightningFast,q2 as IconLineChartBar,X2 as IconLineChartBreakoutSquare,K2 as IconLineChartUp,Y2 as IconLineChartUp2,Q2 as IconLines,J2 as IconLinesCheck,e3 as IconLinesPlay,n3 as IconLink,r3 as IconLink2,l3 as IconLink3,i3 as IconLink4,s3 as IconLink5,a3 as IconListBullet,p3 as IconListOrder,d3 as IconListOrder2,u3 as IconLock,C3 as IconLock2,g3 as IconLogIn,h3 as IconLogOut,v3 as IconLogOut2,y3 as IconMagicWand,x3 as IconMagicWand2,k3 as IconMail,P3 as IconMessageSquare,S3 as IconMessageSquare2,M3 as IconMessageXSquare,H3 as IconMinusCircle,N3 as IconMobile,B3 as IconMonitor,V3 as IconMonitor2,E3 as IconMonitor3,F3 as IconMoonCircle,fn as IconName,A3 as IconNavigationPointer,W3 as IconNotificationBox,z3 as IconPCSetup,Z3 as IconPalette,O3 as IconPasscodeLock,G3 as IconPencil,$3 as IconPercentageCircle,q3 as IconPerspective,j3 as IconPhoneCall,ft as IconPin,K3 as IconPlayCircle,Y3 as IconPlus,Ge as IconPlusCircle,e6 as IconPulse,ht as IconQuestionCircle,o6 as IconRadioButton,r6 as IconRadioButtonActive,i6 as IconReceiptCheck,s6 as IconRedo,c6 as IconRefresh,a6 as IconRefresh2,p6 as IconRefresh3,d6 as IconRepeat,u6 as IconRepeat2,C6 as IconRetweet,m6 as IconRoundChart,g6 as IconRoundChart2,f6 as IconRoute,v6 as IconSave,w6 as IconSave2,y6 as IconScanDots,yt as IconSearch,b6 as IconSend,k6 as IconSettings,P6 as IconSettings2,S6 as IconSettings3,I6 as IconShieldLightning,M6 as IconShieldPlus,H6 as IconShieldRemove,N6 as IconShuffle,B6 as IconSlashCircle,D6 as IconSlashOctagon,T6 as IconSocialGlobe,F6 as IconSocialLinkedin,A6 as IconSocialX,W6 as IconSpeedometer,_6 as IconStairsRound,z6 as IconStar,G6 as IconStarHalf,$6 as IconStars,q6 as IconStars2,X6 as IconStrikethrough,j6 as IconSuccessFeatured,K6 as IconSun,Y6 as IconSwitchHorizontal,Q6 as IconTag,J6 as IconTarget,t0 as IconTarget2,n0 as IconTextFormat,o0 as IconTextFormat2,r0 as IconTextHighlight,i0 as IconTranslate,$e as IconTrash,c0 as IconTrending,a0 as IconUnderline,p0 as IconUndo,d0 as IconUndo2,u0 as IconUploadCloud,kt as IconUser,m0 as IconUserEdit,g0 as IconUserRight,w0 as IconUserSquare,h0 as IconUsers,x0 as IconUsersUp,k0 as IconVolume,L0 as IconWrench,Ee as IconX,S0 as IconXCircle,M0 as IconXCircle2,Lt as IconXClose,R0 as IconXSquare,z as InfoLabels,te as Input,q as Loader,La as Lookup,j1 as Menu,Da as Modal,ep as Pagination,gl as PaginationGoToPage,fl as PaginationPageSize,le as PillBadge,sp as Popover,Y9 as ProgressBar,e7 as ProgressCircle,yp as RadioBoxGroup,Pp as RadioButtonGroup,Hp as RangeSlider,Ap as Select,u7 as Sidebar,Xt as SidebarItem,Xp as Skeleton,Ml as SkeletonAvatar,Rl as SkeletonBadge,Nl as SkeletonBanner,Dl as SkeletonButton,Kt as SkeletonCard,oo as SkeletonCard2,Vl as SkeletonCard3,El as SkeletonCardStack,Fl as SkeletonChart,Al as SkeletonContentCard,Wl as SkeletonDataGrid,Zl as SkeletonForm,Ol as SkeletonGlowingCard,zl as SkeletonImage,Ul as SkeletonInfoCard,ql as SkeletonInput,Xl as SkeletonList,Yl as SkeletonParagraph,Ql as SkeletonText,Jl as SkeletonVideo,ao as SkeletonWidgetCard,bd as SkeletonWrapper,Sd as Slider,N7 as Stepper,ll as Switch,ol as Tabs,_0 as TextArea,Q as Tooltip,Wa as showNotification};
|
|
12
|
+
`,children:t})]}),["string","number"].includes(typeof r)&&Le(le,{color:i,label:String(r)})]})}var A=t=>t==="pulse"?"cleen-animate-pulse":"";import{cn as f7}from"@cleen/ui-core";import{forwardRef as $p}from"react";import{jsx as h7}from"react/jsx-runtime";var qp={none:"cleen-rounded-none",sm:"cleen-rounded-sm",md:"cleen-rounded-md",lg:"cleen-rounded-lg",xl:"cleen-rounded-xl","2xl":"cleen-rounded-2xl",full:"cleen-rounded-full"},Xp=$p(function({width:e,height:n,roundness:o="md",variant:i="default",className:r,style:l},s){let c=A(i),a={...e!==void 0?{width:typeof e=="number"?`${e}px`:e}:{},...n!==void 0?{height:typeof n=="number"?`${n}px`:n}:{},...l};return h7("div",{ref:s,className:f7("cleen",r),children:h7("div",{className:f7("cleen-bg-gray/10",qp[o],e===void 0&&"cleen-w-full",n===void 0&&"cleen-h-4",c),style:a})})});import{cn as Il}from"@cleen/ui-core";import{forwardRef as jp}from"react";import{jsx as Qn,jsxs as Kp}from"react/jsx-runtime";var Ml=jp(function({className:e,style:n,variant:o="default",itemCount:i=1},r){let l=A(o);return Qn("div",{ref:r,className:Il("cleen",e),style:n,children:Qn("div",{className:"cleen-flex cleen-items-start cleen-gap-4 cleen-flex-wrap",children:Array.from({length:i}).map((s,c)=>Kp("div",{className:"cleen-flex cleen-flex-col cleen-items-center cleen-gap-2",children:[Qn("div",{className:Il("cleen-bg-gray/10 cleen-rounded-full cleen-size-12 cleen-border cleen-border-gray/15",l)}),Qn("div",{className:Il("cleen-bg-gray/10 cleen-rounded cleen-w-14 cleen-h-3",l)})]},c))})})});import{cn as v7}from"@cleen/ui-core";import{forwardRef as Yp}from"react";import{jsx as Hl}from"react/jsx-runtime";var Rl=Yp(function({className:e,style:n,variant:o="default",itemCount:i=1},r){let l=A(o);return Hl("div",{ref:r,className:v7("cleen",e),style:n,children:Hl("div",{className:"cleen-flex cleen-items-center cleen-flex-wrap cleen-gap-2",children:Array.from({length:i}).map((s,c)=>Hl("div",{className:v7("cleen-bg-gray/10 cleen-rounded-full cleen-h-6 cleen-w-16",l)},c))})})});import{cn as w7}from"@cleen/ui-core";import{forwardRef as Qp}from"react";import{jsx as M1,jsxs as Jn}from"react/jsx-runtime";var Nl=Qp(function({className:e,style:n,variant:o="default"},i){let r=A(o);return M1("div",{ref:i,className:w7("cleen",e),style:n,children:Jn("div",{className:w7("cleen-relative cleen-bg-gray/10 cleen-rounded-2xl cleen-w-full cleen-overflow-hidden",r),children:[M1("div",{className:"cleen-h-48 cleen-w-full"}),Jn("div",{className:"cleen-absolute cleen-inset-0 cleen-flex cleen-flex-col cleen-justify-center cleen-items-start cleen-gap-4 cleen-px-8",children:[M1("div",{className:"cleen-bg-gray/20 cleen-rounded-full cleen-w-24 cleen-h-6"}),Jn("div",{className:"cleen-flex cleen-flex-col cleen-gap-2 cleen-w-full",children:[M1("div",{className:"cleen-bg-gray/20 cleen-rounded cleen-w-2/3 cleen-h-8"}),M1("div",{className:"cleen-bg-gray/20 cleen-rounded cleen-w-1/2 cleen-h-5"})]}),Jn("div",{className:"cleen-flex cleen-gap-3",children:[M1("div",{className:"cleen-bg-gray/20 cleen-rounded-lg cleen-w-28 cleen-h-10"}),M1("div",{className:"cleen-bg-gray/15 cleen-rounded-lg cleen-w-24 cleen-h-10"})]})]})]})})});import{cn as y7}from"@cleen/ui-core";import{forwardRef as Jp}from"react";import{jsx as Bl}from"react/jsx-runtime";var Dl=Jp(function({className:e,style:n,variant:o="default",itemCount:i=1},r){let l=A(o);return Bl("div",{ref:r,className:y7("cleen",e),style:n,children:Bl("div",{className:"cleen-flex cleen-items-center cleen-gap-2",children:Array.from({length:i}).map((s,c)=>Bl("div",{className:y7("cleen-bg-gray/10 cleen-rounded-lg cleen-h-10 cleen-w-28",l)},c))})})});import{forwardRef as ed}from"react";import{cn as eo}from"@cleen/ui-core";import{jsx as to,jsxs as x7}from"react/jsx-runtime";var Kt=ed(function({className:e,style:n,variant:o="default"},i){let r=A(o);return to("div",{ref:i,className:eo("cleen",e),style:n,children:x7("div",{className:"cleen-flex cleen-items-center cleen-gap-3 cleen-bg-white cleen-px-4 cleen-py-4 cleen-border cleen-border-gray/15 cleen-rounded-xl cleen-w-full",children:[to("div",{className:eo("cleen-flex cleen-justify-center cleen-items-center cleen-bg-gray/10 cleen-border cleen-border-gray/20 cleen-rounded-xl cleen-min-w-10 cleen-size-10",r)}),x7("div",{className:"cleen-flex cleen-flex-col cleen-flex-1 cleen-gap-2",children:[to("div",{className:eo("cleen-bg-gray/10 cleen-rounded cleen-w-3/4 cleen-h-4",r)}),to("div",{className:eo("cleen-bg-gray/10 cleen-rounded cleen-w-1/2 cleen-h-3",r)})]})]})})});import{cn as Q1}from"@cleen/ui-core";import{forwardRef as td}from"react";import{jsx as J1,jsxs as no}from"react/jsx-runtime";var oo=td(({className:t,style:e,variant:n="default"},o)=>{let i=A(n);return J1("div",{ref:o,className:Q1("cleen",t),style:e,children:no("div",{className:"cleen-flex cleen-flex-col cleen-justify-between cleen-items-start cleen-gap-3 cleen-bg-white cleen-px-4 cleen-py-4 cleen-border cleen-border-gray/15 cleen-rounded-lg",children:[no("div",{className:"cleen-flex cleen-items-center cleen-gap-3 cleen-w-full",children:[J1("div",{className:Q1("cleen-flex cleen-justify-center cleen-items-center cleen-bg-gray/10 cleen-border cleen-border-gray/20 cleen-rounded-xl cleen-size-10",i)}),no("div",{className:"cleen-flex cleen-flex-col cleen-flex-1 cleen-gap-2",children:[J1("div",{className:Q1("cleen-bg-gray/10 cleen-rounded cleen-w-1/2 cleen-h-5",i)}),J1("div",{className:Q1("cleen-bg-gray/10 cleen-rounded cleen-w-3/4 cleen-h-4",i)})]})]}),no("div",{className:"cleen-space-y-2 cleen-w-full",children:[J1("div",{className:Q1("cleen-bg-gray/10 cleen-rounded cleen-w-full cleen-h-2",i)}),J1("div",{className:Q1("cleen-bg-gray/10 cleen-rounded cleen-w-16 cleen-h-3",i)})]})]})})});oo.displayName="AssessmentHeaderSkeleton";import{cn as Ie}from"@cleen/ui-core";import{forwardRef as nd}from"react";import{jsx as Me,jsxs as et}from"react/jsx-runtime";var Vl=nd(function({className:e,style:n,variant:o="default"},i){let r=A(o);return Me("div",{ref:i,className:Ie("cleen",e),style:n,children:et("div",{className:"cleen-flex cleen-flex-col cleen-bg-white cleen-border cleen-border-gray/15 cleen-rounded-xl cleen-overflow-hidden cleen-w-full",children:[Me("div",{className:Ie("cleen-bg-gray/10 cleen-w-full cleen-h-40",r)}),et("div",{className:"cleen-flex cleen-flex-col cleen-gap-3 cleen-px-4 cleen-py-4",children:[et("div",{className:"cleen-flex cleen-gap-2",children:[Me("div",{className:Ie("cleen-bg-gray/10 cleen-rounded-full cleen-w-16 cleen-h-5",r)}),Me("div",{className:Ie("cleen-bg-gray/10 cleen-rounded-full cleen-w-12 cleen-h-5",r)})]}),et("div",{className:"cleen-flex cleen-flex-col cleen-gap-2",children:[Me("div",{className:Ie("cleen-bg-gray/10 cleen-rounded cleen-w-4/5 cleen-h-5",r)}),Me("div",{className:Ie("cleen-bg-gray/10 cleen-rounded cleen-w-full cleen-h-3",r)}),Me("div",{className:Ie("cleen-bg-gray/10 cleen-rounded cleen-w-3/4 cleen-h-3",r)})]}),et("div",{className:"cleen-flex cleen-justify-between cleen-items-center cleen-pt-1",children:[et("div",{className:"cleen-flex cleen-items-center cleen-gap-2",children:[Me("div",{className:Ie("cleen-bg-gray/10 cleen-rounded-full cleen-size-7 cleen-shrink-0",r)}),Me("div",{className:Ie("cleen-bg-gray/10 cleen-rounded cleen-w-24 cleen-h-3",r)})]}),Me("div",{className:Ie("cleen-bg-gray/10 cleen-rounded-lg cleen-w-16 cleen-h-7",r)})]})]})]})})});import{forwardRef as od}from"react";import{cn as rd}from"@cleen/ui-core";import{jsx as Tl}from"react/jsx-runtime";var El=od(function({className:e,style:n,itemCount:o=3,variant:i="default"},r){return Tl("div",{ref:r,className:rd("cleen",e),style:n,children:Tl("div",{className:"cleen-flex cleen-flex-col cleen-gap-3",children:Array.from({length:o}).map((l,s)=>Tl(Kt,{variant:i},s))})})});import{cn as H1}from"@cleen/ui-core";import{forwardRef as ld}from"react";import{jsx as we,jsxs as Yt}from"react/jsx-runtime";var b7=["cleen-h-16","cleen-h-24","cleen-h-14","cleen-h-28","cleen-h-20","cleen-h-10","cleen-h-24"],Fl=ld(function({className:e,style:n,variant:o="default"},i){let r=A(o);return we("div",{ref:i,className:H1("cleen",e),style:n,children:Yt("div",{className:"cleen-flex cleen-flex-col cleen-gap-3 cleen-bg-white cleen-border cleen-border-gray/15 cleen-rounded-xl cleen-px-4 cleen-pt-4 cleen-pb-3 cleen-w-full",children:[Yt("div",{className:"cleen-flex cleen-justify-between cleen-items-center",children:[we("div",{className:H1("cleen-bg-gray/10 cleen-rounded cleen-w-32 cleen-h-5",r)}),we("div",{className:"cleen-flex cleen-items-center cleen-gap-3",children:[28,20].map((l,s)=>Yt("div",{className:"cleen-flex cleen-items-center cleen-gap-1.5",children:[we("div",{className:H1("cleen-bg-gray/10 cleen-rounded-full cleen-size-2.5",r)}),we("div",{className:H1("cleen-bg-gray/10 cleen-rounded cleen-h-3",r),style:{width:l}})]},s))})]}),Yt("div",{className:"cleen-flex cleen-gap-3",children:[we("div",{className:"cleen-flex cleen-flex-col cleen-justify-between cleen-items-end cleen-py-1",style:{height:120},children:[0,1,2,3].map(l=>we("div",{className:H1("cleen-bg-gray/10 cleen-rounded cleen-w-6 cleen-h-2",r)},l))}),Yt("div",{className:"cleen-flex cleen-flex-col cleen-flex-1 cleen-gap-1",children:[we("div",{className:"cleen-flex cleen-items-end cleen-justify-around cleen-gap-2",style:{height:112},children:b7.map((l,s)=>we("div",{className:H1("cleen-bg-gray/10 cleen-rounded-t cleen-flex-1",l,r)},s))}),we("div",{className:"cleen-w-full cleen-h-px cleen-bg-gray/15"}),we("div",{className:"cleen-flex cleen-justify-around cleen-gap-2 cleen-pt-1",children:b7.map((l,s)=>we("div",{className:H1("cleen-bg-gray/10 cleen-rounded cleen-flex-1 cleen-h-2",r)},s))})]})]})]})})});import{cn as R1}from"@cleen/ui-core";import{forwardRef as id}from"react";import{jsx as _e,jsxs as ro}from"react/jsx-runtime";var Al=id(({variant:t="default",itemCount:e=3,className:n,style:o},i)=>{let r=A(t);return _e("div",{ref:i,className:R1("cleen",n),style:o,children:_e(ne,{className:"cleen-max-h-fit",children:ro("div",{className:"cleen-flex cleen-flex-col cleen-gap-4",children:[ro("div",{className:"cleen-flex cleen-flex-col cleen-gap-2",children:[_e("div",{className:R1("cleen-bg-gray/10 cleen-rounded cleen-w-3/4 cleen-h-6",r)}),_e("div",{className:R1("cleen-bg-gray/10 cleen-rounded cleen-w-full cleen-h-4",r)})]}),_e("div",{className:"cleen-space-y-6",children:Array.from({length:e}).map((l,s)=>ro("div",{className:"cleen-space-y-3",children:[_e("div",{className:R1("cleen-bg-gray/10 cleen-rounded cleen-w-2/3 cleen-h-4",r)}),_e("div",{className:R1("cleen-bg-gray/10 cleen-rounded cleen-w-full cleen-h-10",r)})]},s))}),ro("div",{className:"cleen-flex cleen-justify-between cleen-items-center cleen-pt-4",children:[_e("div",{className:R1("cleen-bg-gray/10 cleen-rounded cleen-w-24 cleen-h-10",r)}),_e("div",{className:R1("cleen-bg-gray/10 cleen-rounded cleen-w-24 cleen-h-10",r)})]})]})})})});import{cn as lo}from"@cleen/ui-core";import{forwardRef as sd}from"react";import{jsx as Qt,jsxs as cd}from"react/jsx-runtime";var Wl=sd(function({className:e,style:n,variant:o="default",itemCount:i=5},r){let l=A(o),s=["cleen-w-1/12","cleen-w-3/12","cleen-w-2/12","cleen-w-3/12","cleen-w-2/12","cleen-w-1/12"];return Qt("div",{ref:r,className:lo("cleen",e),style:n,children:cd("div",{className:"cleen-flex cleen-flex-col cleen-w-full cleen-border cleen-border-gray/15 cleen-rounded-xl cleen-overflow-hidden",children:[Qt("div",{className:"cleen-flex cleen-items-center cleen-gap-3 cleen-px-4 cleen-py-3 cleen-bg-gray/5 cleen-border-b cleen-border-gray/15",children:s.map((c,a)=>Qt("div",{className:lo("cleen-bg-gray/15 cleen-rounded cleen-h-4 cleen-flex-shrink-0",c,l)},a))}),Array.from({length:i}).map((c,a)=>Qt("div",{className:lo("cleen-flex cleen-items-center cleen-gap-3 cleen-px-4 cleen-py-3",a<i-1?"cleen-border-b cleen-border-gray/10":""),children:s.map((p,m)=>Qt("div",{className:lo("cleen-bg-gray/10 cleen-rounded cleen-h-4 cleen-flex-shrink-0",m===s.length-1?"cleen-rounded-full":"cleen-rounded",p,l)},m))},a))]})})});import{cn as io}from"@cleen/ui-core";import{forwardRef as ad}from"react";import{jsx as Jt,jsxs as k7}from"react/jsx-runtime";var Zl=ad(function({className:e,style:n,variant:o="default",itemCount:i=4},r){let l=A(o);return Jt("div",{ref:r,className:io("cleen",e),style:n,children:k7("div",{className:"cleen-flex cleen-flex-col cleen-gap-5 cleen-w-full cleen-bg-white cleen-border cleen-border-gray/15 cleen-rounded-xl cleen-px-6 cleen-py-6",children:[Array.from({length:i}).map((s,c)=>k7("div",{className:"cleen-flex cleen-flex-col cleen-gap-2",children:[Jt("div",{className:io("cleen-bg-gray/10 cleen-rounded cleen-w-1/4 cleen-h-3",l)}),Jt("div",{className:io("cleen-bg-gray/10 cleen-rounded-lg cleen-w-full cleen-h-10",l)})]},c)),Jt("div",{className:"cleen-flex cleen-justify-end cleen-pt-1",children:Jt("div",{className:io("cleen-bg-gray/10 cleen-rounded-lg cleen-w-28 cleen-h-10",l)})})]})})});import{cn as L7}from"@cleen/ui-core";import{forwardRef as pd}from"react";import{jsx as _l}from"react/jsx-runtime";var dd=["rgb(var(--cleen-blue))","rgb(var(--cleen-aqua))","rgb(var(--cleen-light-green))","rgb(var(--cleen-aqua))","rgb(var(--cleen-blue))"],Ol=pd(function({className:e,style:n,variant:o="default",colors:i=dd},r){let l=A(o);return _l("div",{ref:r,className:L7("cleen",e),style:n,children:_l("div",{className:L7("cleen-p-1 cleen-size-full cleen-rounded-lg cleen-animate-[cleen-rotate-gradient-angle_2.5s_linear_infinite]",l),style:{background:`conic-gradient(from var(--cleen--gradient-angle),${i.join(",")})`},children:_l("div",{className:"cleen-bg-background cleen-size-full cleen-rounded-md"})})})});import{cn as so}from"@cleen/ui-core";import{forwardRef as ud}from"react";import{jsx as tt,jsxs as P7}from"react/jsx-runtime";var zl=ud(function({className:e,style:n,variant:o="default"},i){let r=A(o);return tt("div",{ref:i,className:so("cleen",e),style:n,children:P7("div",{className:"cleen-flex cleen-flex-col cleen-gap-2 cleen-w-full",children:[tt("div",{className:so("cleen-relative cleen-bg-gray/10 cleen-rounded-xl cleen-w-full cleen-aspect-video cleen-overflow-hidden",r),children:tt("div",{className:"cleen-absolute cleen-inset-0 cleen-flex cleen-items-center cleen-justify-center",children:P7("div",{className:so("cleen-flex cleen-flex-col cleen-items-center cleen-gap-1 cleen-opacity-30"),children:[tt("div",{className:"cleen-bg-gray/30 cleen-rounded-full cleen-size-8"}),tt("div",{className:"cleen-bg-gray/30 cleen-rounded cleen-w-16 cleen-h-2"})]})})}),tt("div",{className:so("cleen-bg-gray/10 cleen-rounded cleen-w-1/2 cleen-h-3 cleen-mx-auto",r)})]})})});import{cn as ue}from"@cleen/ui-core";import{forwardRef as Cd}from"react";import{jsx as ce,jsxs as Oe}from"react/jsx-runtime";var Ul=Cd(function({className:e,style:n,variant:o="default"},i){let r=A(o);return ce("div",{ref:i,className:ue("cleen",e),style:n,children:Oe("div",{className:ue("cleen-flex cleen-flex-col cleen-items-start cleen-gap-4 cleen-bg-white cleen-px-4 cleen-py-4 cleen-border cleen-border-gray/15 cleen-rounded-xl cleen-h-fit",e),style:n,children:[Oe("div",{className:"cleen-flex cleen-items-center cleen-gap-2",children:[ce("div",{className:ue("cleen-flex cleen-justify-center cleen-items-center cleen-bg-gray/10 cleen-p-2 cleen-rounded-full cleen-size-8",r)}),ce("div",{className:ue("cleen-bg-gray/10 cleen-rounded cleen-w-24 cleen-h-3",r)})]}),Oe("div",{className:"cleen-space-y-3 cleen-w-full",children:[Oe("div",{children:[ce("div",{className:ue("cleen-bg-gray/10 cleen-mb-1 cleen-rounded cleen-w-20 cleen-h-3",r)}),ce(ne,{isGlass:!0,classNames:{container:"!cleen-py-3",childrenContainer:"!cleen-px-3"},children:Oe("div",{className:"cleen-space-y-2",children:[ce("div",{className:ue("cleen-bg-gray/10 cleen-rounded cleen-w-full cleen-h-3",r)}),ce("div",{className:ue("cleen-bg-gray/10 cleen-rounded cleen-w-5/6 cleen-h-3",r)})]})})]}),Oe("div",{children:[ce("div",{className:ue("cleen-bg-gray/10 cleen-mb-1 cleen-rounded cleen-w-20 cleen-h-3",r)}),Oe("div",{className:"cleen-space-y-2",children:[ce("div",{className:ue("cleen-bg-gray/10 cleen-rounded cleen-w-3/4 cleen-h-3",r)}),ce("div",{className:ue("cleen-bg-gray/10 cleen-rounded cleen-w-2/3 cleen-h-3",r)})]})]}),Oe("div",{children:[ce("div",{className:ue("cleen-bg-gray/10 cleen-mb-1 cleen-rounded cleen-w-20 cleen-h-3",r)}),ce(ne,{isGlass:!0,classNames:{container:"!cleen-py-3",childrenContainer:"!cleen-px-3"},children:Oe("div",{className:"cleen-space-y-2",children:[ce("div",{className:ue("cleen-bg-gray/10 cleen-rounded cleen-w-full cleen-h-3",r)}),ce("div",{className:ue("cleen-bg-gray/10 cleen-rounded cleen-w-4/5 cleen-h-3",r)})]})})]})]})]})})});import{cn as Gl}from"@cleen/ui-core";import{forwardRef as md}from"react";import{jsx as $l,jsxs as gd}from"react/jsx-runtime";var ql=md(function({className:e,style:n,variant:o="default"},i){let r=A(o);return $l("div",{ref:i,className:Gl("cleen",e),style:n,children:gd("div",{className:"cleen-flex cleen-flex-col cleen-gap-2 cleen-w-full",children:[$l("div",{className:Gl("cleen-bg-gray/10 cleen-rounded cleen-w-1/4 cleen-h-3",r)}),$l("div",{className:Gl("cleen-bg-gray/10 cleen-rounded-lg cleen-w-full cleen-h-10 cleen-border cleen-border-gray/10",r)})]})})});import{cn as en}from"@cleen/ui-core";import{forwardRef as fd}from"react";import{jsx as nt,jsxs as S7}from"react/jsx-runtime";var Xl=fd(function({className:e,style:n,variant:o="default",itemCount:i=5},r){let l=A(o),s=["cleen-w-3/4","cleen-w-2/3","cleen-w-4/5","cleen-w-1/2","cleen-w-3/5"];return nt("div",{ref:r,className:en("cleen",e),style:n,children:nt("div",{className:"cleen-flex cleen-flex-col cleen-divide-y cleen-divide-gray/10",children:Array.from({length:i}).map((c,a)=>S7("div",{className:"cleen-flex cleen-items-center cleen-gap-3 cleen-py-3",children:[nt("div",{className:en("cleen-bg-gray/10 cleen-rounded-full cleen-size-8 cleen-shrink-0 cleen-border cleen-border-gray/15",l)}),S7("div",{className:"cleen-flex cleen-flex-col cleen-flex-1 cleen-gap-1.5",children:[nt("div",{className:en("cleen-bg-gray/10 cleen-rounded cleen-h-4",s[a%s.length],l)}),nt("div",{className:en("cleen-bg-gray/10 cleen-rounded cleen-h-3 cleen-w-2/5",l)})]}),nt("div",{className:en("cleen-bg-gray/10 cleen-rounded-full cleen-w-14 cleen-h-5 cleen-shrink-0",l)})]},a))})})});import{cn as I7}from"@cleen/ui-core";import{forwardRef as hd}from"react";import{jsx as Kl}from"react/jsx-runtime";var jl=["cleen-w-full","cleen-w-full","cleen-w-11/12","cleen-w-full","cleen-w-4/5"],Yl=hd(function({className:e,style:n,variant:o="default",itemCount:i},r){let l=A(o),s=i??jl.length;return Kl("div",{ref:r,className:I7("cleen",e),style:n,children:Kl("div",{className:"cleen-flex cleen-flex-col cleen-gap-2 cleen-w-full",children:Array.from({length:s}).map((c,a)=>{let p=a<jl.length?jl[a]:a===s-1?"cleen-w-3/5":"cleen-w-full";return Kl("div",{className:I7("cleen-bg-gray/10 cleen-rounded cleen-h-3",p,l)},a)})})})});import{cn as M7}from"@cleen/ui-core";import{forwardRef as vd}from"react";import{jsx as H7}from"react/jsx-runtime";var Ql=vd(function({className:e,style:n,variant:o="default"},i){let r=A(o);return H7("div",{ref:i,className:M7("cleen",e),style:n,children:H7("div",{className:M7("cleen-bg-gray/10 cleen-rounded cleen-w-3/4 cleen-h-4",r)})})});import{cn as N1}from"@cleen/ui-core";import{forwardRef as wd}from"react";import{jsx as He,jsxs as co}from"react/jsx-runtime";var Jl=wd(function({className:e,style:n,variant:o="default"},i){let r=A(o);return He("div",{ref:i,className:N1("cleen",e),style:n,children:co("div",{className:"cleen-flex cleen-flex-col cleen-gap-3 cleen-w-full",children:[He("div",{className:N1("cleen-relative cleen-bg-gray/10 cleen-rounded-xl cleen-w-full cleen-aspect-video cleen-overflow-hidden",r),children:He("div",{className:"cleen-absolute cleen-inset-0 cleen-flex cleen-items-center cleen-justify-center",children:He("div",{className:"cleen-bg-gray/20 cleen-rounded-full cleen-size-14 cleen-flex cleen-items-center cleen-justify-center",children:He("div",{className:"cleen-w-0 cleen-h-0 cleen-ml-1 cleen-border-y-[8px] cleen-border-y-transparent cleen-border-l-[14px] cleen-border-l-gray/40"})})})}),co("div",{className:"cleen-flex cleen-gap-3",children:[He("div",{className:N1("cleen-bg-gray/10 cleen-rounded-lg cleen-size-10 cleen-shrink-0",r)}),co("div",{className:"cleen-flex cleen-flex-col cleen-flex-1 cleen-gap-2",children:[He("div",{className:N1("cleen-bg-gray/10 cleen-rounded cleen-w-full cleen-h-4",r)}),He("div",{className:N1("cleen-bg-gray/10 cleen-rounded cleen-w-3/4 cleen-h-3",r)}),co("div",{className:"cleen-flex cleen-items-center cleen-gap-3",children:[He("div",{className:N1("cleen-bg-gray/10 cleen-rounded cleen-w-14 cleen-h-3",r)}),He("div",{className:N1("cleen-bg-gray/10 cleen-rounded cleen-w-10 cleen-h-3",r)})]})]})]})]})})});import{cn as tn}from"@cleen/ui-core";import{forwardRef as yd}from"react";import{jsx as nn,jsxs as e5}from"react/jsx-runtime";var ao=yd(function({variant:e="default",className:n,style:o},i){let r=A(e);return nn("div",{ref:i,className:tn("cleen",n),style:o,children:e5("div",{className:"cleen-flex cleen-flex-col cleen-justify-between cleen-items-start cleen-gap-3 cleen-bg-white cleen-px-4 cleen-py-4 cleen-border cleen-border-gray/15 cleen-rounded-xl cleen-w-full cleen-h-full",children:[e5("div",{className:"cleen-flex cleen-justify-between cleen-items-center cleen-gap-2 cleen-px-2 cleen-py-0.5 cleen-border cleen-border-gray/15 cleen-rounded-full",children:[nn("div",{className:tn("cleen-bg-gray/10 cleen-rounded-full cleen-size-1.5",r)}),nn("div",{className:tn("cleen-bg-gray/10 cleen-rounded cleen-w-20 cleen-h-3",r)})]}),e5("div",{className:"cleen-flex cleen-justify-between cleen-items-center cleen-w-full",children:[nn("div",{className:tn("cleen-bg-gray/10 cleen-rounded cleen-w-24 cleen-h-8",r)}),nn("div",{className:tn("cleen-bg-gray/10 cleen-rounded cleen-w-12 cleen-h-4",r)})]})]})})});ao.displayName="SkeletonBadgeCard";import{forwardRef as xd}from"react";import{jsx as X}from"react/jsx-runtime";var bd=xd(function({className:e,style:n,variant:o="default",itemCount:i=3,colors:r,skeleton:l="card",isShowing:s=!1,children:c},a){if(!s)return c;let p={ref:a,variant:o,itemCount:i,colors:r,className:e,style:n};switch(l){case"card2":return X(oo,{...p});case"card3":return X(Vl,{...p});case"cardStack":return X(El,{...p});case"contentCard":return X(Al,{...p});case"infoCard":return X(Ul,{...p});case"widgetCard":return X(ao,{...p});case"image":return X(zl,{...p});case"video":return X(Jl,{...p});case"avatar":return X(Ml,{...p});case"dataGrid":return X(Wl,{...p});case"text":return X(Ql,{...p});case"paragraph":return X(Yl,{...p});case"list":return X(Xl,{...p});case"form":return X(Zl,{...p});case"banner":return X(Nl,{...p});case"chart":return X(Fl,{...p});case"button":return X(Dl,{...p});case"badge":return X(Rl,{...p});case"input":return X(ql,{...p});case"glowingCard":return X(Ol,{...p});default:return X(Kt,{...p})}});import{useCallback as kd,useEffect as Ld,useRef as t5,useState as Pd}from"react";import{cn as B1}from"@cleen/ui-core";import{jsx as ze,jsxs as n5}from"react/jsx-runtime";var Sd=({minValue:t=0,maxValue:e=100,step:n=1,defaultValue:o=0,value:i,onChange:r,onChangeEnd:l,className:s,classNames:c,style:a,styles:p,disabled:m=!1,label:f,labels:d,tooltip:g,infoLabels:v})=>{let[h,x]=Pd(o??t),w=i!==void 0?i:h,y=t5(null),b=t5(!1),M=t5(!1),I=(w-t)/(e-t)*100,k=R=>{let B=Math.round((R-t)/n)*n+t;return Math.min(e,Math.max(t,B))},H=kd((R,B)=>{let _=k(R);i===void 0&&x(_),r?.(_),B&&l?.(_)},[t,e,n,i,r,l]),N=R=>{let B=y.current;if(!B)return t;let _=B.getBoundingClientRect(),E=(R-_.left)/_.width;return k(t+E*(e-t))},S=R=>{m||(R.preventDefault(),b.current=!0,document.addEventListener("mousemove",L),document.addEventListener("mouseup",P))},L=R=>{b.current&&H(N(R.clientX))},P=R=>{b.current=!1,M.current=!0,l?.(k(N(R.clientX))),document.removeEventListener("mousemove",L),document.removeEventListener("mouseup",P)},D=R=>{if(m||M.current){M.current=!1;return}H(N(R.clientX),!0)},T=R=>{m||(R.preventDefault(),b.current=!0,document.addEventListener("touchmove",V),document.addEventListener("touchend",O))},V=R=>{b.current&&R.touches.length>0&&H(N(R.touches[0].clientX))},O=R=>{b.current=!1,M.current=!0,l?.(k(N(R.touches[0].clientX))),document.removeEventListener("touchmove",V),document.removeEventListener("touchend",O)};return Ld(()=>()=>{document.removeEventListener("mousemove",L),document.removeEventListener("mouseup",P),document.removeEventListener("touchmove",V),document.removeEventListener("touchend",O)},[]),ze("div",{className:B1("cleen",s),style:a,children:n5("div",{className:B1("cleen-w-full",c?.container),style:p?.container,children:[f&&ze("span",{className:"cleen-font-medium cleen-text-sm cleen-text-gray",children:f}),n5("div",{ref:y,className:B1("cleen-relative cleen-w-full cleen-h-8 cleen-touch-none",{"cleen-opacity-60":m},c?.track),style:p?.track,"aria-disabled":m,onClick:D,children:[ze("div",{className:B1("cleen-absolute cleen-left-0 cleen-right-0 cleen-top-1/2 cleen-h-1 cleen-bg-gray/20 dark:cleen-bg-black cleen-rounded-sm -cleen-translate-y-1/2",m?"cleen-cursor-not-allowed":"cleen-cursor-pointer",c?.path),style:p?.path,children:ze("div",{className:B1("cleen-absolute cleen-left-0 cleen-top-0 cleen-h-full cleen-bg-primary cleen-rounded-sm",c?.filledTrack),style:{width:`${I}%`,...p?.filledTrack}})}),ze(Q,{invertColors:!0,label:w,...g,className:B1("cleen-absolute cleen-top-1/2 -cleen-translate-y-1/2",g?.className),style:{left:`calc(${I}% - 8px)`,...g?.style},children:ze("div",{className:B1("cleen-size-4 cleen-bg-white dark:cleen-bg-black cleen-border cleen-border-gray/60 cleen-rounded-full cleen-transition-all cleen-duration-200 hover:cleen-scale-125 hover:cleen-border-primary",m?"cleen-cursor-not-allowed":"cleen-cursor-pointer",c?.thumb),style:p?.thumb,tabIndex:m?-1:0,role:"slider","aria-valuenow":w,"aria-valuemin":t,"aria-valuemax":e,"aria-disabled":m,onMouseDown:S,onTouchStart:T})})]}),(d?.minLabel||d?.maxLabel)&&n5("div",{className:"cleen-flex cleen-items-center cleen-justify-between cleen-w-full",children:[d?.minLabel&&ze("span",{className:"cleen-font-medium cleen-text-xs cleen-text-gray",children:d?.minLabel}),d?.maxLabel&&ze("span",{className:"cleen-font-medium cleen-text-xs cleen-text-gray",children:d?.maxLabel})]}),(v?.errorMessage||v?.infoMessage||v?.subtitle)&&ze(z,{...v})]})})};import{cn as Ue}from"@cleen/ui-core";import{forwardRef as Id}from"react";import{jsx as c1,jsxs as R7}from"react/jsx-runtime";var N7=Id(({steps:t,activeStep:e=0,orientation:n="horizontal",color:o="rgb(var(--cleen-primary))",className:i,classNames:r,style:l,styles:s,...c},a)=>{let p=n==="vertical";return c1("div",{ref:a,className:Ue("cleen",i),style:{...l,width:"100%"},...c,children:c1("div",{className:Ue("cleen-flex cleen-w-full",p?"cleen-flex-col cleen-gap-6":"cleen-flex-row cleen-items-start cleen-gap-8 cleen-justify-between",r?.container),style:{width:"100%",...s?.container},children:t?.map((m,f)=>{let d=f+1<e,g=f+1===e;return R7("div",{className:Ue("cleen-relative cleen-flex cleen-flex-1",p?"cleen-flex-row cleen-items-start":"cleen-flex-col cleen-items-center cleen-text-center",r?.step),style:s?.step,children:[f<t?.length-1&&c1("div",{className:Ue("cleen-absolute cleen-bg-gray/10 cleen-transition-all cleen-duration-300",p?"cleen-left-3 cleen-top-7 cleen-w-[2px] cleen-h-[calc(100%-4px)]":"cleen-top-3 cleen-left-[calc(50%+14px)] cleen-h-[2px] cleen-w-[calc(100%+4px)]",d&&"cleen-bg-primary",r?.connector),style:{backgroundColor:d?o:void 0,...s?.connector}}),c1("div",{className:Ue("cleen-relative cleen-flex cleen-items-center cleen-justify-center cleen-rounded-full cleen-border cleen-transition-all cleen-duration-300","cleen-size-7",d||g?"cleen-border-[2px]":"cleen-border-gray/30",r?.circle),style:{borderColor:g||d?o:void 0,backgroundColor:d?o:"transparent",...s?.circle},children:d?c1("span",{className:"cleen-text-white cleen-text-sm",children:"\u2713"}):c1("span",{className:Ue("cleen-w-2 cleen-h-2 cleen-rounded-full",g?"cleen-bg-white":"cleen-bg-gray/30"),style:{backgroundColor:g?o:void 0}})}),R7("div",{className:Ue("cleen-flex cleen-flex-col",p?"cleen-ml-3":"cleen-mt-3 cleen-items-center"),children:[m.title&&c1("div",{className:Ue("cleen-font-medium cleen-text-sm",g?"cleen-text-primary":"cleen-text-gray",r?.title),style:{color:g?o:void 0,...s?.title},children:m.title}),m.subtitle&&c1("div",{className:Ue("cleen-text-xs cleen-text-gray/70",r?.subtitle),style:{color:g?o:void 0,...s?.subtitle},children:m.subtitle})]})]},f)})})})});N7.displayName="Stepper";export{W7 as AdvancedProgressBar,t4 as AudioPlayback,q4 as AudioRecorder,In as Avatar,Q4 as AvatarRow,tc as Breadcrumb,$ as Button,ne as Card,vc as CardIcon,kc as CardMedia,U0 as Checkbox,t8 as CheckboxGroup,re as CleenIcon,_a as CleenNotificationContainer,js as Collapsible,c8 as CreditCardInput,h8 as DatePicker,Fe as Divider,q0 as Drawer,m7 as DrawerContainer,g7 as DrawerContentTitle,Wt as Dropdown,$c as EditableCard,Z0 as EditableText,O0 as EditableTextArea,sa as FilterDrawer,T9 as FormGroup,ha as GroupSelector,Po as IconAlertCircle,So as IconAlertFeatured,Mo as IconAlertOctagon,Ro as IconAlertTriangle,Bo as IconAlignRight,Vo as IconArrowDown,Eo as IconArrowLeft,Fo as IconArrowLeft2,Wo as IconArrowRight,Zo as IconArrowToTop,_o as IconArrowUp,Oo as IconArrowUpRight,zo as IconArrowUpRightNarrow,Uo as IconArrowUpRightSquare,Go as IconAttachment,$o as IconBarChartSquare,qo as IconBold,xo as IconBookmarkCheck,ko as IconBookmarkCheckFill,Xo as IconBookmarkX,jo as IconBoxLines,Ko as IconBoxText,Qo as IconBracketsCheck,Jo as IconBracketsEllipses,tr as IconCalendar,or as IconCertificateHeart,De as IconCheck,rr as IconCheckCircle,ir as IconCheckCircleBroken,sr as IconCheckFill,cr as IconCheckVerified,Ve as IconChevronDown,C1 as IconChevronLeft,dr as IconChevronLeftDouble,Te as IconChevronRight,mr as IconChevronRightDouble,gr as IconChevronSelectorVertical,m1 as IconChevronUp,hr as IconCircleSwap,wr as IconClockFastForward,xr as IconClockRewind,kr as IconClockRewind2,Pr as IconCodeBrowser,Sr as IconCodeCircle,Mr as IconColors,Lo as IconColumnEdit,Rr as IconCopy,Nr as IconCopy2,Dr as IconCopy3,Tr as IconCopy4,Fr as IconCopy5,Ar as IconCopyCheck,Zr as IconCube,_r as IconCubeOutline,zr as IconCursorBox,Ur as IconDataflow,Gr as IconDataflow2,$r as IconDataflow3,Xr as IconDelete,Kr as IconDollarCircle,Yr as IconDotsGrid,Jr as IconDotsHorizontal,F1 as IconDotsVertical,t2 as IconEdit,o2 as IconEditable,r2 as IconExpand,l2 as IconEye,s2 as IconEyeHidden,a2 as IconEyeHidden2,d2 as IconFaceSmile,u2 as IconFilter,dt as IconFilter2,C2 as IconFlag,g2 as IconFlag2,f2 as IconFlag3,h2 as IconHandShield,v2 as IconHash,y2 as IconHeadsetMic,x2 as IconHeart,ut as IconHouseLine,b2 as IconImage,k2 as IconImage2,L2 as IconImage3,S2 as IconImage4,I2 as IconImageCheck,M2 as IconInfoCircle,R2 as IconInfoHexagon,N2 as IconItalic,B2 as IconLayersMultiple,D2 as IconLayersSingle,V2 as IconLayout,T2 as IconLayout2,E2 as IconLayoutColumns,F2 as IconLayoutCustom,A2 as IconLayoutSequential,W2 as IconLayoutStuffed,Z2 as IconLayoutTile,_2 as IconLifeBuoy,O2 as IconLightbulb,z2 as IconLightning,G2 as IconLightning2,$2 as IconLightningFast,q2 as IconLineChartBar,X2 as IconLineChartBreakoutSquare,K2 as IconLineChartUp,Y2 as IconLineChartUp2,Q2 as IconLines,J2 as IconLinesCheck,e3 as IconLinesPlay,n3 as IconLink,r3 as IconLink2,l3 as IconLink3,i3 as IconLink4,s3 as IconLink5,a3 as IconListBullet,p3 as IconListOrder,d3 as IconListOrder2,u3 as IconLock,C3 as IconLock2,g3 as IconLogIn,h3 as IconLogOut,v3 as IconLogOut2,y3 as IconMagicWand,x3 as IconMagicWand2,k3 as IconMail,P3 as IconMessageSquare,S3 as IconMessageSquare2,M3 as IconMessageXSquare,H3 as IconMinusCircle,N3 as IconMobile,B3 as IconMonitor,V3 as IconMonitor2,E3 as IconMonitor3,F3 as IconMoonCircle,fn as IconName,A3 as IconNavigationPointer,W3 as IconNotificationBox,z3 as IconPCSetup,Z3 as IconPalette,O3 as IconPasscodeLock,G3 as IconPencil,$3 as IconPercentageCircle,q3 as IconPerspective,j3 as IconPhoneCall,ft as IconPin,K3 as IconPlayCircle,Y3 as IconPlus,Ge as IconPlusCircle,e6 as IconPulse,ht as IconQuestionCircle,o6 as IconRadioButton,r6 as IconRadioButtonActive,i6 as IconReceiptCheck,s6 as IconRedo,c6 as IconRefresh,a6 as IconRefresh2,p6 as IconRefresh3,d6 as IconRepeat,u6 as IconRepeat2,C6 as IconRetweet,m6 as IconRoundChart,g6 as IconRoundChart2,f6 as IconRoute,v6 as IconSave,w6 as IconSave2,y6 as IconScanDots,yt as IconSearch,b6 as IconSend,k6 as IconSettings,P6 as IconSettings2,S6 as IconSettings3,I6 as IconShieldLightning,M6 as IconShieldPlus,H6 as IconShieldRemove,N6 as IconShuffle,B6 as IconSlashCircle,D6 as IconSlashOctagon,T6 as IconSocialGlobe,F6 as IconSocialLinkedin,A6 as IconSocialX,W6 as IconSpeedometer,_6 as IconStairsRound,z6 as IconStar,G6 as IconStarHalf,$6 as IconStars,q6 as IconStars2,X6 as IconStrikethrough,j6 as IconSuccessFeatured,K6 as IconSun,Y6 as IconSwitchHorizontal,Q6 as IconTag,J6 as IconTarget,t0 as IconTarget2,n0 as IconTextFormat,o0 as IconTextFormat2,r0 as IconTextHighlight,i0 as IconTranslate,$e as IconTrash,c0 as IconTrending,a0 as IconUnderline,p0 as IconUndo,d0 as IconUndo2,u0 as IconUploadCloud,kt as IconUser,m0 as IconUserEdit,g0 as IconUserRight,w0 as IconUserSquare,h0 as IconUsers,x0 as IconUsersUp,k0 as IconVolume,L0 as IconWrench,Ee as IconX,S0 as IconXCircle,M0 as IconXCircle2,Lt as IconXClose,R0 as IconXSquare,z as InfoLabels,te as Input,q as Loader,La as Lookup,j1 as Menu,Da as Modal,ep as Pagination,gl as PaginationGoToPage,fl as PaginationPageSize,le as PillBadge,sp as Popover,Y9 as ProgressBar,e7 as ProgressCircle,yp as RadioBoxGroup,Pp as RadioButtonGroup,Hp as RangeSlider,Ap as Select,u7 as Sidebar,Xt as SidebarItem,Xp as Skeleton,Ml as SkeletonAvatar,Rl as SkeletonBadge,Nl as SkeletonBanner,Dl as SkeletonButton,Kt as SkeletonCard,oo as SkeletonCard2,Vl as SkeletonCard3,El as SkeletonCardStack,Fl as SkeletonChart,Al as SkeletonContentCard,Wl as SkeletonDataGrid,Zl as SkeletonForm,Ol as SkeletonGlowingCard,zl as SkeletonImage,Ul as SkeletonInfoCard,ql as SkeletonInput,Xl as SkeletonList,Yl as SkeletonParagraph,Ql as SkeletonText,Jl as SkeletonVideo,ao as SkeletonWidgetCard,bd as SkeletonWrapper,Sd as Slider,N7 as Stepper,ll as Switch,ol as Tabs,_0 as TextArea,Q as Tooltip,Wa as showNotification};
|