@revotech-group/revotech-ui-kit 0.0.53 → 0.0.55
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.
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
(function(s,l){typeof exports=="object"&&typeof module<"u"?l(exports,require("lit"),require("lit/decorators.js"),require("lit-element"),require("lit/html.js"),require("lit/directive.js"),require("lit/async-directive.js")):typeof define=="function"&&define.amd?define(["exports","lit","lit/decorators.js","lit-element","lit/html.js","lit/directive.js","lit/async-directive.js"],l):(s=typeof globalThis<"u"?globalThis:s||self,l(s["revotech-ui-kit"]={},s.lit,s.decorators_js,s.litElement,s.html_js,s.directive_js,s.asyncDirective_js))})(this,function(s,l,d,I,on,gt,sn){"use strict";function lr(o){var e,r,n="";if(typeof o=="string"||typeof o=="number")n+=o;else if(typeof o=="object")if(Array.isArray(o)){var t=o.length;for(e=0;e<t;e++)o[e]&&(r=lr(o[e]))&&(n&&(n+=" "),n+=r)}else for(r in o)o[r]&&(n&&(n+=" "),n+=r);return n}function an(){for(var o,e,r=0,n="",t=arguments.length;r<t;r++)(o=arguments[r])&&(e=lr(o))&&(n&&(n+=" "),n+=e);return n}const mt="-",ln=o=>{const e=cn(o),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=o;return{getClassGroupId:a=>{const p=a.split(mt);return p[0]===""&&p.length!==1&&p.shift(),dr(p,e)||dn(a)},getConflictingClassGroupIds:(a,p)=>{const m=r[a]||[];return p&&n[a]?[...m,...n[a]]:m}}},dr=(o,e)=>{var a;if(o.length===0)return e.classGroupId;const r=o[0],n=e.nextPart.get(r),t=n?dr(o.slice(1),n):void 0;if(t)return t;if(e.validators.length===0)return;const i=o.join(mt);return(a=e.validators.find(({validator:p})=>p(i)))==null?void 0:a.classGroupId},cr=/^\[(.+)\]$/,dn=o=>{if(cr.test(o)){const e=cr.exec(o)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},cn=o=>{const{theme:e,prefix:r}=o,n={nextPart:new Map,validators:[]};return pn(Object.entries(o.classGroups),r).forEach(([i,a])=>{vt(a,n,i,e)}),n},vt=(o,e,r,n)=>{o.forEach(t=>{if(typeof t=="string"){const i=t===""?e:ur(e,t);i.classGroupId=r;return}if(typeof t=="function"){if(un(t)){vt(t(n),e,r,n);return}e.validators.push({validator:t,classGroupId:r});return}Object.entries(t).forEach(([i,a])=>{vt(a,ur(e,i),r,n)})})},ur=(o,e)=>{let r=o;return e.split(mt).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},un=o=>o.isThemeGetter,pn=(o,e)=>e?o.map(([r,n])=>{const t=n.map(i=>typeof i=="string"?e+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([a,p])=>[e+a,p])):i);return[r,t]}):o,hn=o=>{if(o<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,n=new Map;const t=(i,a)=>{r.set(i,a),e++,e>o&&(e=0,n=r,r=new Map)};return{get(i){let a=r.get(i);if(a!==void 0)return a;if((a=n.get(i))!==void 0)return t(i,a),a},set(i,a){r.has(i)?r.set(i,a):t(i,a)}}},pr="!",gn=o=>{const{separator:e,experimentalParseClassName:r}=o,n=e.length===1,t=e[0],i=e.length,a=p=>{const m=[];let h=0,v=0,C;for(let w=0;w<p.length;w++){let O=p[w];if(h===0){if(O===t&&(n||p.slice(w,w+i)===e)){m.push(p.slice(v,w)),v=w+i;continue}if(O==="/"){C=w;continue}}O==="["?h++:O==="]"&&h--}const $=m.length===0?p:p.substring(v),E=$.startsWith(pr),k=E?$.substring(1):$,_=C&&C>v?C-v:void 0;return{modifiers:m,hasImportantModifier:E,baseClassName:k,maybePostfixModifierPosition:_}};return r?p=>r({className:p,parseClassName:a}):a},mn=o=>{if(o.length<=1)return o;const e=[];let r=[];return o.forEach(n=>{n[0]==="["?(e.push(...r.sort(),n),r=[]):r.push(n)}),e.push(...r.sort()),e},vn=o=>({cache:hn(o.cacheSize),parseClassName:gn(o),...ln(o)}),fn=/\s+/,bn=(o,e)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:t}=e,i=[],a=o.trim().split(fn);let p="";for(let m=a.length-1;m>=0;m-=1){const h=a[m],{modifiers:v,hasImportantModifier:C,baseClassName:$,maybePostfixModifierPosition:E}=r(h);let k=!!E,_=n(k?$.substring(0,E):$);if(!_){if(!k){p=h+(p.length>0?" "+p:p);continue}if(_=n($),!_){p=h+(p.length>0?" "+p:p);continue}k=!1}const w=mn(v).join(":"),O=C?w+pr:w,D=O+_;if(i.includes(D))continue;i.push(D);const Te=t(_,k);for(let me=0;me<Te.length;++me){const ut=Te[me];i.push(O+ut)}p=h+(p.length>0?" "+p:p)}return p};function wn(){let o=0,e,r,n="";for(;o<arguments.length;)(e=arguments[o++])&&(r=hr(e))&&(n&&(n+=" "),n+=r);return n}const hr=o=>{if(typeof o=="string")return o;let e,r="";for(let n=0;n<o.length;n++)o[n]&&(e=hr(o[n]))&&(r&&(r+=" "),r+=e);return r};function yn(o,...e){let r,n,t,i=a;function a(m){const h=e.reduce((v,C)=>C(v),o());return r=vn(h),n=r.cache.get,t=r.cache.set,i=p,p(m)}function p(m){const h=n(m);if(h)return h;const v=bn(m,r);return t(m,v),v}return function(){return i(wn.apply(null,arguments))}}const f=o=>{const e=r=>r[o]||[];return e.isThemeGetter=!0,e},gr=/^\[(?:([a-z-]+):)?(.+)\]$/i,xn=/^\d+\/\d+$/,Cn=new Set(["px","full","screen"]),$n=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,_n=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,On=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,En=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Pn=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=o=>ve(o)||Cn.has(o)||xn.test(o),G=o=>fe(o,"length",zn),ve=o=>!!o&&!Number.isNaN(Number(o)),ft=o=>fe(o,"number",ve),Oe=o=>!!o&&Number.isInteger(Number(o)),Sn=o=>o.endsWith("%")&&ve(o.slice(0,-1)),g=o=>gr.test(o),U=o=>$n.test(o),kn=new Set(["length","size","percentage"]),Dn=o=>fe(o,kn,mr),Mn=o=>fe(o,"position",mr),In=new Set(["image","url"]),Ln=o=>fe(o,In,Rn),An=o=>fe(o,"",Bn),Ee=()=>!0,fe=(o,e,r)=>{const n=gr.exec(o);return n?n[1]?typeof e=="string"?n[1]===e:e.has(n[1]):r(n[2]):!1},zn=o=>_n.test(o)&&!On.test(o),mr=()=>!1,Bn=o=>En.test(o),Rn=o=>Pn.test(o),Nn=yn(()=>{const o=f("colors"),e=f("spacing"),r=f("blur"),n=f("brightness"),t=f("borderColor"),i=f("borderRadius"),a=f("borderSpacing"),p=f("borderWidth"),m=f("contrast"),h=f("grayscale"),v=f("hueRotate"),C=f("invert"),$=f("gap"),E=f("gradientColorStops"),k=f("gradientColorStopPositions"),_=f("inset"),w=f("margin"),O=f("opacity"),D=f("padding"),Te=f("saturate"),me=f("scale"),ut=f("sepia"),Jr=f("skew"),Qr=f("space"),jr=f("translate"),or=()=>["auto","contain","none"],ir=()=>["auto","hidden","clip","visible","scroll"],sr=()=>["auto",g,e],y=()=>[g,e],en=()=>["",R,G],pt=()=>["auto",ve,g],tn=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ht=()=>["solid","dashed","dotted","double","none"],rn=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ar=()=>["start","end","center","between","around","evenly","stretch"],qe=()=>["","0",g],nn=()=>["auto","avoid","all","avoid-page","page","left","right","column"],F=()=>[ve,g];return{cacheSize:500,separator:":",theme:{colors:[Ee],spacing:[R,G],blur:["none","",U,g],brightness:F(),borderColor:[o],borderRadius:["none","","full",U,g],borderSpacing:y(),borderWidth:en(),contrast:F(),grayscale:qe(),hueRotate:F(),invert:qe(),gap:y(),gradientColorStops:[o],gradientColorStopPositions:[Sn,G],inset:sr(),margin:sr(),opacity:F(),padding:y(),saturate:F(),scale:F(),sepia:qe(),skew:F(),space:y(),translate:y()},classGroups:{aspect:[{aspect:["auto","square","video",g]}],container:["container"],columns:[{columns:[U]}],"break-after":[{"break-after":nn()}],"break-before":[{"break-before":nn()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...tn(),g]}],overflow:[{overflow:ir()}],"overflow-x":[{"overflow-x":ir()}],"overflow-y":[{"overflow-y":ir()}],overscroll:[{overscroll:or()}],"overscroll-x":[{"overscroll-x":or()}],"overscroll-y":[{"overscroll-y":or()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[_]}],"inset-x":[{"inset-x":[_]}],"inset-y":[{"inset-y":[_]}],start:[{start:[_]}],end:[{end:[_]}],top:[{top:[_]}],right:[{right:[_]}],bottom:[{bottom:[_]}],left:[{left:[_]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Oe,g]}],basis:[{basis:sr()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",g]}],grow:[{grow:qe()}],shrink:[{shrink:qe()}],order:[{order:["first","last","none",Oe,g]}],"grid-cols":[{"grid-cols":[Ee]}],"col-start-end":[{col:["auto",{span:["full",Oe,g]},g]}],"col-start":[{"col-start":pt()}],"col-end":[{"col-end":pt()}],"grid-rows":[{"grid-rows":[Ee]}],"row-start-end":[{row:["auto",{span:[Oe,g]},g]}],"row-start":[{"row-start":pt()}],"row-end":[{"row-end":pt()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",g]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",g]}],gap:[{gap:[$]}],"gap-x":[{"gap-x":[$]}],"gap-y":[{"gap-y":[$]}],"justify-content":[{justify:["normal",...ar()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ar(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ar(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[D]}],px:[{px:[D]}],py:[{py:[D]}],ps:[{ps:[D]}],pe:[{pe:[D]}],pt:[{pt:[D]}],pr:[{pr:[D]}],pb:[{pb:[D]}],pl:[{pl:[D]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[Qr]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Qr]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",g,e]}],"min-w":[{"min-w":[g,e,"min","max","fit"]}],"max-w":[{"max-w":[g,e,"none","full","min","max","fit","prose",{screen:[U]},U]}],h:[{h:[g,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[g,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[g,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[g,e,"auto","min","max","fit"]}],"font-size":[{text:["base",U,G]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ft]}],"font-family":[{font:[Ee]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",g]}],"line-clamp":[{"line-clamp":["none",ve,ft]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",R,g]}],"list-image":[{"list-image":["none",g]}],"list-style-type":[{list:["none","disc","decimal",g]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[o]}],"placeholder-opacity":[{"placeholder-opacity":[O]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[o]}],"text-opacity":[{"text-opacity":[O]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ht(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",R,G]}],"underline-offset":[{"underline-offset":["auto",R,g]}],"text-decoration-color":[{decoration:[o]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",g]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",g]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[O]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...tn(),Mn]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Dn]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ln]}],"bg-color":[{bg:[o]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[E]}],"gradient-via":[{via:[E]}],"gradient-to":[{to:[E]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[p]}],"border-w-x":[{"border-x":[p]}],"border-w-y":[{"border-y":[p]}],"border-w-s":[{"border-s":[p]}],"border-w-e":[{"border-e":[p]}],"border-w-t":[{"border-t":[p]}],"border-w-r":[{"border-r":[p]}],"border-w-b":[{"border-b":[p]}],"border-w-l":[{"border-l":[p]}],"border-opacity":[{"border-opacity":[O]}],"border-style":[{border:[...ht(),"hidden"]}],"divide-x":[{"divide-x":[p]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[p]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[O]}],"divide-style":[{divide:ht()}],"border-color":[{border:[t]}],"border-color-x":[{"border-x":[t]}],"border-color-y":[{"border-y":[t]}],"border-color-t":[{"border-t":[t]}],"border-color-r":[{"border-r":[t]}],"border-color-b":[{"border-b":[t]}],"border-color-l":[{"border-l":[t]}],"divide-color":[{divide:[t]}],"outline-style":[{outline:["",...ht()]}],"outline-offset":[{"outline-offset":[R,g]}],"outline-w":[{outline:[R,G]}],"outline-color":[{outline:[o]}],"ring-w":[{ring:en()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[o]}],"ring-opacity":[{"ring-opacity":[O]}],"ring-offset-w":[{"ring-offset":[R,G]}],"ring-offset-color":[{"ring-offset":[o]}],shadow:[{shadow:["","inner","none",U,An]}],"shadow-color":[{shadow:[Ee]}],opacity:[{opacity:[O]}],"mix-blend":[{"mix-blend":[...rn(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":rn()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[m]}],"drop-shadow":[{"drop-shadow":["","none",U,g]}],grayscale:[{grayscale:[h]}],"hue-rotate":[{"hue-rotate":[v]}],invert:[{invert:[C]}],saturate:[{saturate:[Te]}],sepia:[{sepia:[ut]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[m]}],"backdrop-grayscale":[{"backdrop-grayscale":[h]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[v]}],"backdrop-invert":[{"backdrop-invert":[C]}],"backdrop-opacity":[{"backdrop-opacity":[O]}],"backdrop-saturate":[{"backdrop-saturate":[Te]}],"backdrop-sepia":[{"backdrop-sepia":[ut]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",g]}],duration:[{duration:F()}],ease:[{ease:["linear","in","out","in-out",g]}],delay:[{delay:F()}],animate:[{animate:["none","spin","ping","pulse","bounce",g]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[me]}],"scale-x":[{"scale-x":[me]}],"scale-y":[{"scale-y":[me]}],rotate:[{rotate:[Oe,g]}],"translate-x":[{"translate-x":[jr]}],"translate-y":[{"translate-y":[jr]}],"skew-x":[{"skew-x":[Jr]}],"skew-y":[{"skew-y":[Jr]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",g]}],accent:[{accent:["auto",o]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",g]}],"caret-color":[{caret:[o]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",g]}],fill:[{fill:[o,"none"]}],"stroke-w":[{stroke:[R,G,ft]}],stroke:[{stroke:[o,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}});function u(...o){return Nn(an(o))}class b extends l.LitElement{constructor(){super()}getFilteredAttributes(){const e={};return Array.from(this.attributes).forEach(r=>{this.getAttributesToExclude().includes(r.name)||(e[r.name]=r.value??"")}),e}isCustomPropertySet(e){const r=getComputedStyle(this).getPropertyValue(e).trim();return r!=="inherit"&&r.length>0}applyCustomClass(e,r,n=""){var i,a;let t="";e.some(p=>this.isCustomPropertySet(p))&&(t=n),t&&((a=(i=this.shadowRoot)==null?void 0:i.querySelector(r))==null||a.classList.add(t))}}function vr(){const o=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(r){const n=(o+Math.random()*16)%16|0;return(r=="x"?n:n&3|8).toString(16)})}const c=l.css` @font-face {
|
|
1
|
+
(function(s,l){typeof exports=="object"&&typeof module<"u"?l(exports,require("lit"),require("lit/decorators.js"),require("lit-element"),require("lit/html.js"),require("lit/directive.js"),require("lit/async-directive.js")):typeof define=="function"&&define.amd?define(["exports","lit","lit/decorators.js","lit-element","lit/html.js","lit/directive.js","lit/async-directive.js"],l):(s=typeof globalThis<"u"?globalThis:s||self,l(s["revotech-ui-kit"]={},s.lit,s.decorators_js,s.litElement,s.html_js,s.directive_js,s.asyncDirective_js))})(this,function(s,l,d,I,on,gt,sn){"use strict";function lr(o){var e,r,n="";if(typeof o=="string"||typeof o=="number")n+=o;else if(typeof o=="object")if(Array.isArray(o)){var t=o.length;for(e=0;e<t;e++)o[e]&&(r=lr(o[e]))&&(n&&(n+=" "),n+=r)}else for(r in o)o[r]&&(n&&(n+=" "),n+=r);return n}function an(){for(var o,e,r=0,n="",t=arguments.length;r<t;r++)(o=arguments[r])&&(e=lr(o))&&(n&&(n+=" "),n+=e);return n}const mt="-",ln=o=>{const e=cn(o),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=o;return{getClassGroupId:a=>{const p=a.split(mt);return p[0]===""&&p.length!==1&&p.shift(),dr(p,e)||dn(a)},getConflictingClassGroupIds:(a,p)=>{const m=r[a]||[];return p&&n[a]?[...m,...n[a]]:m}}},dr=(o,e)=>{var a;if(o.length===0)return e.classGroupId;const r=o[0],n=e.nextPart.get(r),t=n?dr(o.slice(1),n):void 0;if(t)return t;if(e.validators.length===0)return;const i=o.join(mt);return(a=e.validators.find(({validator:p})=>p(i)))==null?void 0:a.classGroupId},cr=/^\[(.+)\]$/,dn=o=>{if(cr.test(o)){const e=cr.exec(o)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},cn=o=>{const{theme:e,prefix:r}=o,n={nextPart:new Map,validators:[]};return pn(Object.entries(o.classGroups),r).forEach(([i,a])=>{vt(a,n,i,e)}),n},vt=(o,e,r,n)=>{o.forEach(t=>{if(typeof t=="string"){const i=t===""?e:ur(e,t);i.classGroupId=r;return}if(typeof t=="function"){if(un(t)){vt(t(n),e,r,n);return}e.validators.push({validator:t,classGroupId:r});return}Object.entries(t).forEach(([i,a])=>{vt(a,ur(e,i),r,n)})})},ur=(o,e)=>{let r=o;return e.split(mt).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},un=o=>o.isThemeGetter,pn=(o,e)=>e?o.map(([r,n])=>{const t=n.map(i=>typeof i=="string"?e+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([a,p])=>[e+a,p])):i);return[r,t]}):o,hn=o=>{if(o<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,n=new Map;const t=(i,a)=>{r.set(i,a),e++,e>o&&(e=0,n=r,r=new Map)};return{get(i){let a=r.get(i);if(a!==void 0)return a;if((a=n.get(i))!==void 0)return t(i,a),a},set(i,a){r.has(i)?r.set(i,a):t(i,a)}}},pr="!",gn=o=>{const{separator:e,experimentalParseClassName:r}=o,n=e.length===1,t=e[0],i=e.length,a=p=>{const m=[];let h=0,v=0,C;for(let w=0;w<p.length;w++){let O=p[w];if(h===0){if(O===t&&(n||p.slice(w,w+i)===e)){m.push(p.slice(v,w)),v=w+i;continue}if(O==="/"){C=w;continue}}O==="["?h++:O==="]"&&h--}const $=m.length===0?p:p.substring(v),E=$.startsWith(pr),k=E?$.substring(1):$,_=C&&C>v?C-v:void 0;return{modifiers:m,hasImportantModifier:E,baseClassName:k,maybePostfixModifierPosition:_}};return r?p=>r({className:p,parseClassName:a}):a},mn=o=>{if(o.length<=1)return o;const e=[];let r=[];return o.forEach(n=>{n[0]==="["?(e.push(...r.sort(),n),r=[]):r.push(n)}),e.push(...r.sort()),e},vn=o=>({cache:hn(o.cacheSize),parseClassName:gn(o),...ln(o)}),fn=/\s+/,bn=(o,e)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:t}=e,i=[],a=o.trim().split(fn);let p="";for(let m=a.length-1;m>=0;m-=1){const h=a[m],{modifiers:v,hasImportantModifier:C,baseClassName:$,maybePostfixModifierPosition:E}=r(h);let k=!!E,_=n(k?$.substring(0,E):$);if(!_){if(!k){p=h+(p.length>0?" "+p:p);continue}if(_=n($),!_){p=h+(p.length>0?" "+p:p);continue}k=!1}const w=mn(v).join(":"),O=C?w+pr:w,D=O+_;if(i.includes(D))continue;i.push(D);const Te=t(_,k);for(let me=0;me<Te.length;++me){const ut=Te[me];i.push(O+ut)}p=h+(p.length>0?" "+p:p)}return p};function wn(){let o=0,e,r,n="";for(;o<arguments.length;)(e=arguments[o++])&&(r=hr(e))&&(n&&(n+=" "),n+=r);return n}const hr=o=>{if(typeof o=="string")return o;let e,r="";for(let n=0;n<o.length;n++)o[n]&&(e=hr(o[n]))&&(r&&(r+=" "),r+=e);return r};function yn(o,...e){let r,n,t,i=a;function a(m){const h=e.reduce((v,C)=>C(v),o());return r=vn(h),n=r.cache.get,t=r.cache.set,i=p,p(m)}function p(m){const h=n(m);if(h)return h;const v=bn(m,r);return t(m,v),v}return function(){return i(wn.apply(null,arguments))}}const f=o=>{const e=r=>r[o]||[];return e.isThemeGetter=!0,e},gr=/^\[(?:([a-z-]+):)?(.+)\]$/i,xn=/^\d+\/\d+$/,Cn=new Set(["px","full","screen"]),$n=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,_n=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,On=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,En=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Pn=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=o=>ve(o)||Cn.has(o)||xn.test(o),V=o=>fe(o,"length",zn),ve=o=>!!o&&!Number.isNaN(Number(o)),ft=o=>fe(o,"number",ve),Oe=o=>!!o&&Number.isInteger(Number(o)),Sn=o=>o.endsWith("%")&&ve(o.slice(0,-1)),g=o=>gr.test(o),U=o=>$n.test(o),kn=new Set(["length","size","percentage"]),Dn=o=>fe(o,kn,mr),Mn=o=>fe(o,"position",mr),In=new Set(["image","url"]),Ln=o=>fe(o,In,Rn),An=o=>fe(o,"",Bn),Ee=()=>!0,fe=(o,e,r)=>{const n=gr.exec(o);return n?n[1]?typeof e=="string"?n[1]===e:e.has(n[1]):r(n[2]):!1},zn=o=>_n.test(o)&&!On.test(o),mr=()=>!1,Bn=o=>En.test(o),Rn=o=>Pn.test(o),Nn=yn(()=>{const o=f("colors"),e=f("spacing"),r=f("blur"),n=f("brightness"),t=f("borderColor"),i=f("borderRadius"),a=f("borderSpacing"),p=f("borderWidth"),m=f("contrast"),h=f("grayscale"),v=f("hueRotate"),C=f("invert"),$=f("gap"),E=f("gradientColorStops"),k=f("gradientColorStopPositions"),_=f("inset"),w=f("margin"),O=f("opacity"),D=f("padding"),Te=f("saturate"),me=f("scale"),ut=f("sepia"),Jr=f("skew"),Qr=f("space"),jr=f("translate"),or=()=>["auto","contain","none"],ir=()=>["auto","hidden","clip","visible","scroll"],sr=()=>["auto",g,e],y=()=>[g,e],en=()=>["",R,V],pt=()=>["auto",ve,g],tn=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ht=()=>["solid","dashed","dotted","double","none"],rn=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ar=()=>["start","end","center","between","around","evenly","stretch"],qe=()=>["","0",g],nn=()=>["auto","avoid","all","avoid-page","page","left","right","column"],F=()=>[ve,g];return{cacheSize:500,separator:":",theme:{colors:[Ee],spacing:[R,V],blur:["none","",U,g],brightness:F(),borderColor:[o],borderRadius:["none","","full",U,g],borderSpacing:y(),borderWidth:en(),contrast:F(),grayscale:qe(),hueRotate:F(),invert:qe(),gap:y(),gradientColorStops:[o],gradientColorStopPositions:[Sn,V],inset:sr(),margin:sr(),opacity:F(),padding:y(),saturate:F(),scale:F(),sepia:qe(),skew:F(),space:y(),translate:y()},classGroups:{aspect:[{aspect:["auto","square","video",g]}],container:["container"],columns:[{columns:[U]}],"break-after":[{"break-after":nn()}],"break-before":[{"break-before":nn()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...tn(),g]}],overflow:[{overflow:ir()}],"overflow-x":[{"overflow-x":ir()}],"overflow-y":[{"overflow-y":ir()}],overscroll:[{overscroll:or()}],"overscroll-x":[{"overscroll-x":or()}],"overscroll-y":[{"overscroll-y":or()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[_]}],"inset-x":[{"inset-x":[_]}],"inset-y":[{"inset-y":[_]}],start:[{start:[_]}],end:[{end:[_]}],top:[{top:[_]}],right:[{right:[_]}],bottom:[{bottom:[_]}],left:[{left:[_]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Oe,g]}],basis:[{basis:sr()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",g]}],grow:[{grow:qe()}],shrink:[{shrink:qe()}],order:[{order:["first","last","none",Oe,g]}],"grid-cols":[{"grid-cols":[Ee]}],"col-start-end":[{col:["auto",{span:["full",Oe,g]},g]}],"col-start":[{"col-start":pt()}],"col-end":[{"col-end":pt()}],"grid-rows":[{"grid-rows":[Ee]}],"row-start-end":[{row:["auto",{span:[Oe,g]},g]}],"row-start":[{"row-start":pt()}],"row-end":[{"row-end":pt()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",g]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",g]}],gap:[{gap:[$]}],"gap-x":[{"gap-x":[$]}],"gap-y":[{"gap-y":[$]}],"justify-content":[{justify:["normal",...ar()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ar(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ar(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[D]}],px:[{px:[D]}],py:[{py:[D]}],ps:[{ps:[D]}],pe:[{pe:[D]}],pt:[{pt:[D]}],pr:[{pr:[D]}],pb:[{pb:[D]}],pl:[{pl:[D]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[Qr]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Qr]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",g,e]}],"min-w":[{"min-w":[g,e,"min","max","fit"]}],"max-w":[{"max-w":[g,e,"none","full","min","max","fit","prose",{screen:[U]},U]}],h:[{h:[g,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[g,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[g,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[g,e,"auto","min","max","fit"]}],"font-size":[{text:["base",U,V]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ft]}],"font-family":[{font:[Ee]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",g]}],"line-clamp":[{"line-clamp":["none",ve,ft]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",R,g]}],"list-image":[{"list-image":["none",g]}],"list-style-type":[{list:["none","disc","decimal",g]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[o]}],"placeholder-opacity":[{"placeholder-opacity":[O]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[o]}],"text-opacity":[{"text-opacity":[O]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ht(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",R,V]}],"underline-offset":[{"underline-offset":["auto",R,g]}],"text-decoration-color":[{decoration:[o]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",g]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",g]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[O]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...tn(),Mn]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Dn]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ln]}],"bg-color":[{bg:[o]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[E]}],"gradient-via":[{via:[E]}],"gradient-to":[{to:[E]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[p]}],"border-w-x":[{"border-x":[p]}],"border-w-y":[{"border-y":[p]}],"border-w-s":[{"border-s":[p]}],"border-w-e":[{"border-e":[p]}],"border-w-t":[{"border-t":[p]}],"border-w-r":[{"border-r":[p]}],"border-w-b":[{"border-b":[p]}],"border-w-l":[{"border-l":[p]}],"border-opacity":[{"border-opacity":[O]}],"border-style":[{border:[...ht(),"hidden"]}],"divide-x":[{"divide-x":[p]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[p]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[O]}],"divide-style":[{divide:ht()}],"border-color":[{border:[t]}],"border-color-x":[{"border-x":[t]}],"border-color-y":[{"border-y":[t]}],"border-color-t":[{"border-t":[t]}],"border-color-r":[{"border-r":[t]}],"border-color-b":[{"border-b":[t]}],"border-color-l":[{"border-l":[t]}],"divide-color":[{divide:[t]}],"outline-style":[{outline:["",...ht()]}],"outline-offset":[{"outline-offset":[R,g]}],"outline-w":[{outline:[R,V]}],"outline-color":[{outline:[o]}],"ring-w":[{ring:en()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[o]}],"ring-opacity":[{"ring-opacity":[O]}],"ring-offset-w":[{"ring-offset":[R,V]}],"ring-offset-color":[{"ring-offset":[o]}],shadow:[{shadow:["","inner","none",U,An]}],"shadow-color":[{shadow:[Ee]}],opacity:[{opacity:[O]}],"mix-blend":[{"mix-blend":[...rn(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":rn()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[m]}],"drop-shadow":[{"drop-shadow":["","none",U,g]}],grayscale:[{grayscale:[h]}],"hue-rotate":[{"hue-rotate":[v]}],invert:[{invert:[C]}],saturate:[{saturate:[Te]}],sepia:[{sepia:[ut]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[m]}],"backdrop-grayscale":[{"backdrop-grayscale":[h]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[v]}],"backdrop-invert":[{"backdrop-invert":[C]}],"backdrop-opacity":[{"backdrop-opacity":[O]}],"backdrop-saturate":[{"backdrop-saturate":[Te]}],"backdrop-sepia":[{"backdrop-sepia":[ut]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",g]}],duration:[{duration:F()}],ease:[{ease:["linear","in","out","in-out",g]}],delay:[{delay:F()}],animate:[{animate:["none","spin","ping","pulse","bounce",g]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[me]}],"scale-x":[{"scale-x":[me]}],"scale-y":[{"scale-y":[me]}],rotate:[{rotate:[Oe,g]}],"translate-x":[{"translate-x":[jr]}],"translate-y":[{"translate-y":[jr]}],"skew-x":[{"skew-x":[Jr]}],"skew-y":[{"skew-y":[Jr]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",g]}],accent:[{accent:["auto",o]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",g]}],"caret-color":[{caret:[o]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",g]}],fill:[{fill:[o,"none"]}],"stroke-w":[{stroke:[R,V,ft]}],stroke:[{stroke:[o,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}});function u(...o){return Nn(an(o))}class b extends l.LitElement{constructor(){super()}getFilteredAttributes(){const e={};return Array.from(this.attributes).forEach(r=>{this.getAttributesToExclude().includes(r.name)||(e[r.name]=r.value??"")}),e}isCustomPropertySet(e){const r=getComputedStyle(this).getPropertyValue(e).trim();return r!=="inherit"&&r.length>0}applyCustomClass(e,r,n=""){var i,a;let t="";e.some(p=>this.isCustomPropertySet(p))&&(t=n),t&&((a=(i=this.shadowRoot)==null?void 0:i.querySelector(r))==null||a.classList.add(t))}}function vr(){const o=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(r){const n=(o+Math.random()*16)%16|0;return(r=="x"?n:n&3|8).toString(16)})}const c=l.css`
|
|
2
|
+
@font-face {
|
|
2
3
|
font-family: 'GeistSans';
|
|
3
4
|
|
|
4
5
|
src: url('assets/fonts/Geist/Geist-Regular.woff2') format('woff2');
|
|
5
6
|
}
|
|
7
|
+
@font-face {
|
|
8
|
+
font-family: 'GeistThin';
|
|
9
|
+
|
|
10
|
+
src: url('assets/fonts/Geist/GeistVariableVF.woff2') format('woff2');
|
|
11
|
+
}
|
|
6
12
|
|
|
7
13
|
/*
|
|
8
14
|
! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com
|
|
@@ -465,7 +471,7 @@ video {
|
|
|
465
471
|
--secondary-foreground: 240 5.9% 10%;
|
|
466
472
|
--muted: 240 4.8% 95.9%;
|
|
467
473
|
--muted-foreground: 240 4% 46%;
|
|
468
|
-
--accent: 240
|
|
474
|
+
--accent: 240 5% 96%;
|
|
469
475
|
--accent-foreground: 240 5.9% 10%;
|
|
470
476
|
--destructive: 0 84.2% 60.2%;
|
|
471
477
|
--destructive-foreground: 0 0% 98%;
|
|
@@ -488,7 +494,7 @@ video {
|
|
|
488
494
|
}
|
|
489
495
|
|
|
490
496
|
.dark {
|
|
491
|
-
--background: 240 10%
|
|
497
|
+
--background: 240 10% 4%;
|
|
492
498
|
--foreground: 0 0% 98%;
|
|
493
499
|
--card: 240 10% 3.9%;
|
|
494
500
|
--card-foreground: 0 0% 98%;
|
|
@@ -500,7 +506,7 @@ video {
|
|
|
500
506
|
--secondary-foreground: 0 0% 98%;
|
|
501
507
|
--muted: 240 3.7% 15.9%;
|
|
502
508
|
--muted-foreground: 240 5% 65%;
|
|
503
|
-
--accent: 240
|
|
509
|
+
--accent: 240 4% 16%;
|
|
504
510
|
--accent-foreground: 0 0% 98%;
|
|
505
511
|
--destructive: 0 62.8% 30.6%;
|
|
506
512
|
--destructive-foreground: 0 0% 98%;
|
|
@@ -523,7 +529,7 @@ video {
|
|
|
523
529
|
|
|
524
530
|
* {
|
|
525
531
|
border-color: hsl(var(--border));
|
|
526
|
-
font-family: GeistSans, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
532
|
+
font-family: GeistSans,GeistThin, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
527
533
|
}
|
|
528
534
|
|
|
529
535
|
body {
|
|
@@ -1858,7 +1864,7 @@ body {
|
|
|
1858
1864
|
}
|
|
1859
1865
|
|
|
1860
1866
|
.font-geist {
|
|
1861
|
-
font-family: GeistSans, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
1867
|
+
font-family: GeistSans,GeistThin, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
1862
1868
|
}
|
|
1863
1869
|
|
|
1864
1870
|
.font-mono {
|
|
@@ -1916,6 +1922,9 @@ body {
|
|
|
1916
1922
|
.font-normal {
|
|
1917
1923
|
font-weight: 400;
|
|
1918
1924
|
}
|
|
1925
|
+
.font-thin {
|
|
1926
|
+
font-weight: 300;
|
|
1927
|
+
}
|
|
1919
1928
|
|
|
1920
1929
|
.font-semibold {
|
|
1921
1930
|
font-weight: 600;
|
|
@@ -2833,7 +2842,7 @@ body {
|
|
|
2833
2842
|
.\\[\\&_svg\\]\\:shrink-0 svg {
|
|
2834
2843
|
flex-shrink: 0;
|
|
2835
2844
|
}
|
|
2836
|
-
`;class fr extends sn.AsyncDirective{constructor(){super(...arguments),this.prevData={}}render(e){return on.nothing}update(e,[r]){var n;this.element!==e.element&&(this.element=e.element),this.host=((n=e.options)===null||n===void 0?void 0:n.host)||this.element,this.apply(r),this.groom(r),this.prevData={...r}}apply(e){if(!e)return;const{prevData:r,element:n}=this;for(const t in e){const i=e[t];i!==r[t]&&(n[t]=i)}}groom(e){const{prevData:r,element:n}=this;if(r)for(const t in r)(!e||!(t in e)&&n[t]===r[t])&&(n[t]=void 0)}}gt.directive(fr);class br extends fr{constructor(){super(...arguments),this.eventData={}}apply(e){if(e)for(const r in e){const n=e[r];n!==this.eventData[r]&&this.applyEvent(r,n)}}applyEvent(e,r){const{prevData:n,element:t}=this;this.eventData[e]=r,n[e]&&t.removeEventListener(e,this,r),t.addEventListener(e,this,r)}groom(e){const{prevData:r,element:n}=this;if(r)for(const t in r)(!e||!(t in e)&&n[t]===r[t])&&this.groomEvent(t,r[t])}groomEvent(e,r){const{element:n}=this;delete this.eventData[e],n.removeEventListener(e,this,r)}handleEvent(e){const r=this.eventData[e.type];typeof r=="function"?r.call(this.host,e):r.handleEvent(e)}disconnected(){const{eventData:e,element:r}=this;for(const n in e){const t=n.slice(1),i=e[n];r.removeEventListener(t,this,i)}}reconnected(){const{eventData:e,element:r}=this;for(const n in e){const t=n.slice(1),i=e[n];r.addEventListener(t,this,i)}}}gt.directive(br);class Tn extends br{apply(e){if(!e)return;const{prevData:r,element:n}=this;for(const t in e){const i=e[t];if(i===r[t])continue;const a=t.slice(1);switch(t[0]){case"@":this.eventData[a]=i,this.applyEvent(a,i);break;case".":n[a]=i;break;case"?":i?n.setAttribute(a,""):n.removeAttribute(a);break;default:i!=null?n.setAttribute(t,String(i)):n.removeAttribute(t);break}}}groom(e){const{prevData:r,element:n}=this;if(r)for(const t in r){const i=t.slice(1);if(!e||!(t in e)&&n[i]===r[t])switch(t[0]){case"@":this.groomEvent(i,r[t]);break;case".":n[i]=void 0;break;case"?":n.removeAttribute(i);break;default:n.removeAttribute(t);break}}}}const x=gt.directive(Tn);var qn=Object.defineProperty,
|
|
2845
|
+
`;class fr extends sn.AsyncDirective{constructor(){super(...arguments),this.prevData={}}render(e){return on.nothing}update(e,[r]){var n;this.element!==e.element&&(this.element=e.element),this.host=((n=e.options)===null||n===void 0?void 0:n.host)||this.element,this.apply(r),this.groom(r),this.prevData={...r}}apply(e){if(!e)return;const{prevData:r,element:n}=this;for(const t in e){const i=e[t];i!==r[t]&&(n[t]=i)}}groom(e){const{prevData:r,element:n}=this;if(r)for(const t in r)(!e||!(t in e)&&n[t]===r[t])&&(n[t]=void 0)}}gt.directive(fr);class br extends fr{constructor(){super(...arguments),this.eventData={}}apply(e){if(e)for(const r in e){const n=e[r];n!==this.eventData[r]&&this.applyEvent(r,n)}}applyEvent(e,r){const{prevData:n,element:t}=this;this.eventData[e]=r,n[e]&&t.removeEventListener(e,this,r),t.addEventListener(e,this,r)}groom(e){const{prevData:r,element:n}=this;if(r)for(const t in r)(!e||!(t in e)&&n[t]===r[t])&&this.groomEvent(t,r[t])}groomEvent(e,r){const{element:n}=this;delete this.eventData[e],n.removeEventListener(e,this,r)}handleEvent(e){const r=this.eventData[e.type];typeof r=="function"?r.call(this.host,e):r.handleEvent(e)}disconnected(){const{eventData:e,element:r}=this;for(const n in e){const t=n.slice(1),i=e[n];r.removeEventListener(t,this,i)}}reconnected(){const{eventData:e,element:r}=this;for(const n in e){const t=n.slice(1),i=e[n];r.addEventListener(t,this,i)}}}gt.directive(br);class Tn extends br{apply(e){if(!e)return;const{prevData:r,element:n}=this;for(const t in e){const i=e[t];if(i===r[t])continue;const a=t.slice(1);switch(t[0]){case"@":this.eventData[a]=i,this.applyEvent(a,i);break;case".":n[a]=i;break;case"?":i?n.setAttribute(a,""):n.removeAttribute(a);break;default:i!=null?n.setAttribute(t,String(i)):n.removeAttribute(t);break}}}groom(e){const{prevData:r,element:n}=this;if(r)for(const t in r){const i=t.slice(1);if(!e||!(t in e)&&n[i]===r[t])switch(t[0]){case"@":this.groomEvent(i,r[t]);break;case".":n[i]=void 0;break;case"?":n.removeAttribute(i);break;default:n.removeAttribute(t);break}}}}const x=gt.directive(Tn);var qn=Object.defineProperty,Gn=Object.getOwnPropertyDescriptor,bt=(o,e,r,n)=>{for(var t=n>1?void 0:n?Gn(e,r):e,i=o.length-1,a;i>=0;i--)(a=o[i])&&(t=(n?a(e,r,t):a(t))||t);return n&&t&&qn(e,r,t),t};let Q=class extends b{constructor(){super(...arguments),this.value="",this.tabindex=0,this.handleClick=o=>{o.preventDefault(),o.stopPropagation();const e=o.currentTarget;if(e instanceof HTMLDivElement){const r=e.getAttribute("value")??"";this._accordion&&this._accordion.raiseEvent(r)}}}getAttributesToExclude(){return["aria-orientation","role","data-orientation","data-testid"]}connectedCallback(){super.connectedCallback()}firstUpdated(o){var e;this._accordion&&((e=this._accordion)==null||e.addEventListener("clicked-accordion",()=>{this.requestUpdate()}))}disconnectedCallback(){super.disconnectedCallback(),this._accordion&&this._accordion.removeEventListener("clicked-accordion",()=>{})}get _accordion(){let o=this.parentElement;for(;o&&!(o instanceof H);)o=o.parentElement;return o}render(){var e;const o=this.getFilteredAttributes();return I.html`
|
|
2837
2846
|
<div
|
|
2838
2847
|
${x(o)}
|
|
2839
2848
|
data-state=${(e=this._accordion)!=null&&e.selectedItems.includes(this.value)?"open":"closed"}
|
|
@@ -2882,7 +2891,7 @@ body {
|
|
|
2882
2891
|
>
|
|
2883
2892
|
<path d="M20 6 9 17l-5-5"></path>
|
|
2884
2893
|
</svg>
|
|
2885
|
-
`}function
|
|
2894
|
+
`}function Vn(){return l.svg` <svg
|
|
2886
2895
|
xmlns="http://www.w3.org/2000/svg"
|
|
2887
2896
|
width = "24"
|
|
2888
2897
|
height = "24"
|
|
@@ -2942,7 +2951,7 @@ body {
|
|
|
2942
2951
|
</svg>
|
|
2943
2952
|
`}function Yn(){return l.svg`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-dot">
|
|
2944
2953
|
<circle cx="12.1" cy="12.1" r="1"></circle>
|
|
2945
|
-
</svg>`}var Xn=Object.defineProperty,Kn=Object.getOwnPropertyDescriptor,xr=(o,e,r,n)=>{for(var t=n>1?void 0:n?Kn(e,r):e,i=o.length-1,a;i>=0;i--)(a=o[i])&&(t=(n?a(e,r,t):a(t))||t);return n&&t&&Xn(e,r,t),t};let
|
|
2954
|
+
</svg>`}var Xn=Object.defineProperty,Kn=Object.getOwnPropertyDescriptor,xr=(o,e,r,n)=>{for(var t=n>1?void 0:n?Kn(e,r):e,i=o.length-1,a;i>=0;i--)(a=o[i])&&(t=(n?a(e,r,t):a(t))||t);return n&&t&&Xn(e,r,t),t};let Ge=class extends b{connectedCallback(){super.connectedCallback()}firstUpdated(o){var e;this._accordion&&((e=this._accordion)==null||e.addEventListener("clicked-accordion",()=>{this.requestUpdate()}))}getAttributesToExclude(){return["value","defaultValue"]}get _accordion(){let o=this.parentElement;for(;o&&!(o instanceof H);)o=o.parentElement;return o}get _item(){let o=this.parentElement;for(;o&&!(o instanceof Q);)o=o.parentElement;return o}hasActiveState(){return this._item&&this._accordion?!!this._accordion.selectedItems.includes(this._item.value):!1}render(){var r;const o=this.getFilteredAttributes(),e=this.hasActiveState();return I.html`
|
|
2946
2955
|
<button
|
|
2947
2956
|
${x(o)}
|
|
2948
2957
|
type="button"
|
|
@@ -2961,7 +2970,7 @@ body {
|
|
|
2961
2970
|
<slot></slot>
|
|
2962
2971
|
${yr()}
|
|
2963
2972
|
</button>
|
|
2964
|
-
`}};
|
|
2973
|
+
`}};Ge.styles=[I.css``,c],xr([d.property({type:Function})],Ge.prototype,"onClickCallback",2),Ge=xr([d.customElement("rtg-accordion-trigger")],Ge);var Wn=Object.defineProperty,Zn=Object.getOwnPropertyDescriptor,yt=(o,e,r,n)=>{for(var t=n>1?void 0:n?Zn(e,r):e,i=o.length-1,a;i>=0;i--)(a=o[i])&&(t=(n?a(e,r,t):a(t))||t);return n&&t&&Wn(e,r,t),t};let Pe=class extends I.LitElement{constructor(){super(...arguments),this.value="",this.selectedValue=""}updated(o){super.updated(o)}firstUpdated(o){var e;this._accordion&&((e=this._accordion)==null||e.addEventListener("clicked-accordion",()=>{this.requestUpdate()}))}get _accordion(){let o=this.parentElement;for(;o&&!(o instanceof H);)o=o.parentElement;return o}get _item(){let o=this.parentElement;for(;o&&!(o instanceof Q);)o=o.parentElement;return o}hasActiveState(){return this._item&&this._accordion?!!this._accordion.selectedItems.includes(this._item.value):!1}render(){return I.html`
|
|
2965
2974
|
<div
|
|
2966
2975
|
@click=${o=>{o.stopPropagation()}}
|
|
2967
2976
|
part="accordion-content"
|
|
@@ -3040,14 +3049,14 @@ body {
|
|
|
3040
3049
|
width: 100%;
|
|
3041
3050
|
height: 100%;
|
|
3042
3051
|
}
|
|
3043
|
-
`,c],Ct([d.property({type:String})],s.AspectRatio.prototype,"twCLass",2),Ct([d.property({type:Number})],s.AspectRatio.prototype,"ratio",2),s.AspectRatio=Ct([d.customElement("rtg-aspect-ratio")],s.AspectRatio);const uo="relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",po="aspect-square h-full w-full",ho="flex h-full w-full items-center justify-center rounded-full bg-muted";var go=Object.defineProperty,mo=Object.getOwnPropertyDescriptor,Er=(o,e,r,n)=>{for(var t=n>1?void 0:n?mo(e,r):e,i=o.length-1,a;i>=0;i--)(a=o[i])&&(t=(n?a(e,r,t):a(t))||t);return n&&t&&go(e,r,t),t};let
|
|
3052
|
+
`,c],Ct([d.property({type:String})],s.AspectRatio.prototype,"twCLass",2),Ct([d.property({type:Number})],s.AspectRatio.prototype,"ratio",2),s.AspectRatio=Ct([d.customElement("rtg-aspect-ratio")],s.AspectRatio);const uo="relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",po="aspect-square h-full w-full",ho="flex h-full w-full items-center justify-center rounded-full bg-muted";var go=Object.defineProperty,mo=Object.getOwnPropertyDescriptor,Er=(o,e,r,n)=>{for(var t=n>1?void 0:n?mo(e,r):e,i=o.length-1,a;i>=0;i--)(a=o[i])&&(t=(n?a(e,r,t):a(t))||t);return n&&t&&go(e,r,t),t};let Ve=class extends l.LitElement{constructor(){super(...arguments),this.twCLass=""}render(){return l.html`
|
|
3044
3053
|
<span
|
|
3045
3054
|
class="${u(uo,this.className,this.twCLass)}"
|
|
3046
3055
|
part="avatar"
|
|
3047
3056
|
>
|
|
3048
3057
|
<slot></slot>
|
|
3049
3058
|
</span>
|
|
3050
|
-
`}};
|
|
3059
|
+
`}};Ve.styles=[l.css``,c],Er([d.property({type:String})],Ve.prototype,"twCLass",2),Ve=Er([d.customElement("rtg-avatar")],Ve);var vo=Object.defineProperty,fo=Object.getOwnPropertyDescriptor,bo=(o,e,r,n)=>{for(var t=n>1?void 0:n?fo(e,r):e,i=o.length-1,a;i>=0;i--)(a=o[i])&&(t=(n?a(e,r,t):a(t))||t);return n&&t&&vo(e,r,t),t};let $t=class extends l.LitElement{render(){return l.html`
|
|
3051
3060
|
<span
|
|
3052
3061
|
class="${u(ho,this.className)}"
|
|
3053
3062
|
style="width:40px;height:40px"
|
|
@@ -3100,7 +3109,7 @@ body {
|
|
|
3100
3109
|
>
|
|
3101
3110
|
<slot></slot>
|
|
3102
3111
|
</div>
|
|
3103
|
-
`}},s.Badge.badgeVariants=_o,s.Badge.styles=[l.css``,c],Ue([d.property({type:String})],s.Badge.prototype,"twCLass",2),Ue([d.property({type:String})],s.Badge.prototype,"variant",2),Ue([d.property({type:String})],s.Badge.prototype,"id",2),s.Badge=Ue([d.customElement("rtg-badge")],s.Badge);var Po=Object.defineProperty,So=Object.getOwnPropertyDescriptor,ko=(o,e,r,n)=>{for(var t=n>1?void 0:n?So(e,r):e,i=o.length-1,a;i>=0;i--)(a=o[i])&&(t=(n?a(e,r,t):a(t))||t);return n&&t&&Po(e,r,t),t};s.CardTitle=class extends l.LitElement{render(){return l.html` <slot part="card-title"></slot> `}},s.CardTitle.styles=[l.css``,c],s.CardTitle=ko([d.customElement("rtg-card-title")],s.CardTitle);var Do=Object.defineProperty,Mo=Object.getOwnPropertyDescriptor,Io=(o,e,r,n)=>{for(var t=n>1?void 0:n?Mo(e,r):e,i=o.length-1,a;i>=0;i--)(a=o[i])&&(t=(n?a(e,r,t):a(t))||t);return n&&t&&Do(e,r,t),t};s.CardHeader=class extends l.LitElement{render(){return l.html` <slot part="card-header"></slot> `}},s.CardHeader.styles=[l.css``,c],s.CardHeader=Io([d.customElement("rtg-card-header")],s.CardHeader);var Lo=Object.defineProperty,Ao=Object.getOwnPropertyDescriptor,zo=(o,e,r,n)=>{for(var t=n>1?void 0:n?Ao(e,r):e,i=o.length-1,a;i>=0;i--)(a=o[i])&&(t=(n?a(e,r,t):a(t))||t);return n&&t&&Lo(e,r,t),t};s.CardFooter=class extends l.LitElement{render(){return l.html` <slot part="card-footer"></slot> `}},s.CardFooter.styles=[l.css``,c],s.CardFooter=zo([d.customElement("rtg-card-footer")],s.CardFooter);var Bo=Object.defineProperty,Ro=Object.getOwnPropertyDescriptor,No=(o,e,r,n)=>{for(var t=n>1?void 0:n?Ro(e,r):e,i=o.length-1,a;i>=0;i--)(a=o[i])&&(t=(n?a(e,r,t):a(t))||t);return n&&t&&Bo(e,r,t),t};s.CardDescription=class extends l.LitElement{render(){return l.html` <slot part="card-description"></slot> `}},s.CardDescription.styles=[l.css``,c],s.CardDescription=No([d.customElement("rtg-card-description")],s.CardDescription);var To=Object.defineProperty,qo=Object.getOwnPropertyDescriptor,
|
|
3112
|
+
`}},s.Badge.badgeVariants=_o,s.Badge.styles=[l.css``,c],Ue([d.property({type:String})],s.Badge.prototype,"twCLass",2),Ue([d.property({type:String})],s.Badge.prototype,"variant",2),Ue([d.property({type:String})],s.Badge.prototype,"id",2),s.Badge=Ue([d.customElement("rtg-badge")],s.Badge);var Po=Object.defineProperty,So=Object.getOwnPropertyDescriptor,ko=(o,e,r,n)=>{for(var t=n>1?void 0:n?So(e,r):e,i=o.length-1,a;i>=0;i--)(a=o[i])&&(t=(n?a(e,r,t):a(t))||t);return n&&t&&Po(e,r,t),t};s.CardTitle=class extends l.LitElement{render(){return l.html` <slot part="card-title"></slot> `}},s.CardTitle.styles=[l.css``,c],s.CardTitle=ko([d.customElement("rtg-card-title")],s.CardTitle);var Do=Object.defineProperty,Mo=Object.getOwnPropertyDescriptor,Io=(o,e,r,n)=>{for(var t=n>1?void 0:n?Mo(e,r):e,i=o.length-1,a;i>=0;i--)(a=o[i])&&(t=(n?a(e,r,t):a(t))||t);return n&&t&&Do(e,r,t),t};s.CardHeader=class extends l.LitElement{render(){return l.html` <slot part="card-header"></slot> `}},s.CardHeader.styles=[l.css``,c],s.CardHeader=Io([d.customElement("rtg-card-header")],s.CardHeader);var Lo=Object.defineProperty,Ao=Object.getOwnPropertyDescriptor,zo=(o,e,r,n)=>{for(var t=n>1?void 0:n?Ao(e,r):e,i=o.length-1,a;i>=0;i--)(a=o[i])&&(t=(n?a(e,r,t):a(t))||t);return n&&t&&Lo(e,r,t),t};s.CardFooter=class extends l.LitElement{render(){return l.html` <slot part="card-footer"></slot> `}},s.CardFooter.styles=[l.css``,c],s.CardFooter=zo([d.customElement("rtg-card-footer")],s.CardFooter);var Bo=Object.defineProperty,Ro=Object.getOwnPropertyDescriptor,No=(o,e,r,n)=>{for(var t=n>1?void 0:n?Ro(e,r):e,i=o.length-1,a;i>=0;i--)(a=o[i])&&(t=(n?a(e,r,t):a(t))||t);return n&&t&&Bo(e,r,t),t};s.CardDescription=class extends l.LitElement{render(){return l.html` <slot part="card-description"></slot> `}},s.CardDescription.styles=[l.css``,c],s.CardDescription=No([d.customElement("rtg-card-description")],s.CardDescription);var To=Object.defineProperty,qo=Object.getOwnPropertyDescriptor,Go=(o,e,r,n)=>{for(var t=n>1?void 0:n?qo(e,r):e,i=o.length-1,a;i>=0;i--)(a=o[i])&&(t=(n?a(e,r,t):a(t))||t);return n&&t&&To(e,r,t),t};s.CardContent=class extends l.LitElement{render(){return l.html` <slot part="card-content"></slot> `}},s.CardContent.styles=[l.css``,c],s.CardContent=Go([d.customElement("rtg-card-content")],s.CardContent);var Fo=Object.defineProperty,Vo=Object.getOwnPropertyDescriptor,Uo=(o,e,r,n)=>{for(var t=n>1?void 0:n?Vo(e,r):e,i=o.length-1,a;i>=0;i--)(a=o[i])&&(t=(n?a(e,r,t):a(t))||t);return n&&t&&Fo(e,r,t),t};s.Card=class extends l.LitElement{render(){return l.html`<div
|
|
3104
3113
|
part="card"
|
|
3105
3114
|
class="rounded-lg border bg-card text-card-foreground shadow-sm p-6"
|
|
3106
3115
|
id="rtg-card-id"
|
|
@@ -3447,7 +3456,7 @@ body {
|
|
|
3447
3456
|
@click=${this.handleClick}
|
|
3448
3457
|
>${this.renderLabel()}</span
|
|
3449
3458
|
>
|
|
3450
|
-
`}};We.styles=[l.css``,c],Sr([d.property({type:String})],We.prototype,"placeholder",2),We=Sr([d.customElement("rtg-combo-box-value")],We);var qi=Object.defineProperty,
|
|
3459
|
+
`}};We.styles=[l.css``,c],Sr([d.property({type:String})],We.prototype,"placeholder",2),We=Sr([d.customElement("rtg-combo-box-value")],We);var qi=Object.defineProperty,Gi=Object.getOwnPropertyDescriptor,Ze=(o,e,r,n)=>{for(var t=n>1?void 0:n?Gi(e,r):e,i=o.length-1,a;i>=0;i--)(a=o[i])&&(t=(n?a(e,r,t):a(t))||t);return n&&t&&qi(e,r,t),t};let ne=class extends l.LitElement{constructor(){super(...arguments),this.childrenArray=[],this.searchKey="",this.focusedIndex=0,this.selectedValue="",this.checkRender=()=>this.childrenArray.length>0?this.childrenArray.filter(o=>{var e,r;return(r=o.value)==null?void 0:r.toLowerCase().includes((e=this.searchKey)==null?void 0:e.toLowerCase())}).map((o,e)=>{var r;return l.html`<rtg-combo-box-item
|
|
3451
3460
|
@mouseover="${n=>this.handleMouseOver(n,e)}"
|
|
3452
3461
|
data-hs-combo-box-value=${o}
|
|
3453
3462
|
tabIndex=${e}
|
|
@@ -3472,7 +3481,7 @@ body {
|
|
|
3472
3481
|
</div>
|
|
3473
3482
|
<div>${this.checkRender()}</div>
|
|
3474
3483
|
</div>
|
|
3475
|
-
`}};ne.styles=[l.css``,c],Ze([d.state()],ne.prototype,"searchKey",2),Ze([d.state()],ne.prototype,"focusedIndex",2),Ze([d.state()],ne.prototype,"selectedValue",2),ne=Ze([d.customElement("rtg-combo-box-group")],ne);var Fi=Object.defineProperty,
|
|
3484
|
+
`}};ne.styles=[l.css``,c],Ze([d.state()],ne.prototype,"searchKey",2),Ze([d.state()],ne.prototype,"focusedIndex",2),Ze([d.state()],ne.prototype,"selectedValue",2),ne=Ze([d.customElement("rtg-combo-box-group")],ne);var Fi=Object.defineProperty,Vi=Object.getOwnPropertyDescriptor,A=(o,e,r,n)=>{for(var t=n>1?void 0:n?Vi(e,r):e,i=o.length-1,a;i>=0;i--)(a=o[i])&&(t=(n?a(e,r,t):a(t))||t);return n&&t&&Fi(e,r,t),t};let P=class extends b{constructor(){super(...arguments),this.value="",this.key="",this.tabindex=0,this.isSelected=!1,this.isFocus=!1,this.class="",this.selectItemIndex=-1,this.onSelect=(o,e)=>{},this.onMouseOver=(o,e)=>{},this.handleClick=o=>{this.onSelect(this.value,this.selectItemIndex),o.stopPropagation();const e=new CustomEvent("clicked-combo-box-item",{bubbles:!0,composed:!0,detail:{selectedItem:this.value}});this.dispatchEvent(e)}}getAttributesToExclude(){return["aria-orientation","role","data-orientation","data-testid"]}connectedCallback(){super.connectedCallback()}render(){const o=this.getFilteredAttributes();return l.html`
|
|
3476
3485
|
<div
|
|
3477
3486
|
${x(o)}
|
|
3478
3487
|
@click=${this.handleClick}
|
|
@@ -3501,7 +3510,7 @@ body {
|
|
|
3501
3510
|
</div>
|
|
3502
3511
|
`}};P.styles=[l.css``,c],A([d.property({type:String})],P.prototype,"value",2),A([d.property({type:String})],P.prototype,"key",2),A([d.property({type:Number})],P.prototype,"tabindex",2),A([d.property({type:Boolean})],P.prototype,"isSelected",2),A([d.property({type:Boolean})],P.prototype,"isFocus",2),A([d.property({type:String})],P.prototype,"class",2),A([d.property({type:Number})],P.prototype,"selectItemIndex",2),A([d.property({type:Function})],P.prototype,"onSelect",2),A([d.property({type:Function})],P.prototype,"onMouseOver",2),P=A([d.customElement("rtg-combo-box-item")],P);var Ui=Object.defineProperty,Hi=Object.getOwnPropertyDescriptor,Je=(o,e,r,n)=>{for(var t=n>1?void 0:n?Hi(e,r):e,i=o.length-1,a;i>=0;i--)(a=o[i])&&(t=(n?a(e,r,t):a(t))||t);return n&&t&&Ui(e,r,t),t};let we=class extends l.LitElement{constructor(){super(...arguments),this.placeholder="Search Item ...",this.twClass="",this.searchValue=""}get _comboBoxGroup(){let o=this.parentElement;for(;o&&!(o instanceof ne);)o=o.parentElement;return o}handleSearch(o){o.stopPropagation();const e=o.target;this.searchValue=e.value,this._comboBoxGroup&&(this._comboBoxGroup.searchKey=this.searchValue)}handleKeyDown(o){o.stopPropagation()}render(){return l.html`
|
|
3503
3512
|
<div class="flex items-center px-2">
|
|
3504
|
-
${
|
|
3513
|
+
${Vn()}
|
|
3505
3514
|
<input
|
|
3506
3515
|
part="combo-box-input"
|
|
3507
3516
|
type="text"
|
|
@@ -3768,7 +3777,7 @@ body {
|
|
|
3768
3777
|
${x(e)}
|
|
3769
3778
|
class="${u(Ns,this.twClass)}"
|
|
3770
3779
|
/>
|
|
3771
|
-
`}},s.Input.styles=[l.css``,c],ae([d.property({type:Boolean})],s.Input.prototype,"disabled",2),ae([d.property({type:String})],s.Input.prototype,"type",2),ae([d.property({type:String})],s.Input.prototype,"placeholder",2),ae([d.property({type:String})],s.Input.prototype,"defaultValue",2),ae([d.property({type:String})],s.Input.prototype,"value",2),ae([d.property({type:String})],s.Input.prototype,"twClass",2),s.Input=ae([d.customElement("rtg-input")],s.Input);const
|
|
3780
|
+
`}},s.Input.styles=[l.css``,c],ae([d.property({type:Boolean})],s.Input.prototype,"disabled",2),ae([d.property({type:String})],s.Input.prototype,"type",2),ae([d.property({type:String})],s.Input.prototype,"placeholder",2),ae([d.property({type:String})],s.Input.prototype,"defaultValue",2),ae([d.property({type:String})],s.Input.prototype,"value",2),ae([d.property({type:String})],s.Input.prototype,"twClass",2),s.Input=ae([d.customElement("rtg-input")],s.Input);const Gs=M("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70");var Fs=Object.defineProperty,Vs=Object.getOwnPropertyDescriptor,Lr=(o,e,r,n)=>{for(var t=n>1?void 0:n?Vs(e,r):e,i=o.length-1,a;i>=0;i--)(a=o[i])&&(t=(n?a(e,r,t):a(t))||t);return n&&t&&Fs(e,r,t),t};let ye=class extends b{constructor(){super(...arguments),this.for=""}firstUpdated(o){const e=["--label-text-color,--label-padding"];this.applyCustomClass(e,"label","label-base")}_onClick(o){var r;if(o.defaultPrevented)return;const e=(r=this.shadowRoot)==null?void 0:r.getElementById(this.for);e&&e.click()}getAttributesToExclude(){return["for","data-testid"]}render(){const o=this.getFilteredAttributes();return l.html`
|
|
3772
3781
|
<label
|
|
3773
3782
|
${x(o)}
|
|
3774
3783
|
part="label"
|
|
@@ -3779,7 +3788,7 @@ body {
|
|
|
3779
3788
|
>
|
|
3780
3789
|
<slot></slot>
|
|
3781
3790
|
</label>
|
|
3782
|
-
`}};ye.labelVariants=
|
|
3791
|
+
`}};ye.labelVariants=Gs,ye.styles=[l.css`
|
|
3783
3792
|
:root {
|
|
3784
3793
|
--label-text-color: inherit;
|
|
3785
3794
|
--label-padding: inherit;
|
|
@@ -3874,7 +3883,7 @@ body {
|
|
|
3874
3883
|
${wr()}
|
|
3875
3884
|
</span>
|
|
3876
3885
|
</div>
|
|
3877
|
-
`}},s.SelectItem.styles=[l.css``,c],z([d.property({type:String})],s.SelectItem.prototype,"value",2),z([d.property({type:String})],s.SelectItem.prototype,"key",2),z([d.property({type:Number})],s.SelectItem.prototype,"tabindex",2),z([d.property({type:Boolean})],s.SelectItem.prototype,"isSelected",2),z([d.property({type:Boolean})],s.SelectItem.prototype,"isFocus",2),z([d.property({type:String})],s.SelectItem.prototype,"class",2),z([d.property({type:Number})],s.SelectItem.prototype,"selectItemIndex",2),z([d.property({type:Function})],s.SelectItem.prototype,"onSelect",2),z([d.property({type:Function})],s.SelectItem.prototype,"onMouseOver",2),s.SelectItem=z([d.customElement("rtg-select-item")],s.SelectItem);var sa=Object.defineProperty,aa=Object.getOwnPropertyDescriptor,
|
|
3886
|
+
`}},s.SelectItem.styles=[l.css``,c],z([d.property({type:String})],s.SelectItem.prototype,"value",2),z([d.property({type:String})],s.SelectItem.prototype,"key",2),z([d.property({type:Number})],s.SelectItem.prototype,"tabindex",2),z([d.property({type:Boolean})],s.SelectItem.prototype,"isSelected",2),z([d.property({type:Boolean})],s.SelectItem.prototype,"isFocus",2),z([d.property({type:String})],s.SelectItem.prototype,"class",2),z([d.property({type:Number})],s.SelectItem.prototype,"selectItemIndex",2),z([d.property({type:Function})],s.SelectItem.prototype,"onSelect",2),z([d.property({type:Function})],s.SelectItem.prototype,"onMouseOver",2),s.SelectItem=z([d.customElement("rtg-select-item")],s.SelectItem);var sa=Object.defineProperty,aa=Object.getOwnPropertyDescriptor,Gt=(o,e,r,n)=>{for(var t=n>1?void 0:n?aa(e,r):e,i=o.length-1,a;i>=0;i--)(a=o[i])&&(t=(n?a(e,r,t):a(t))||t);return n&&t&&sa(e,r,t),t};s.SelectList=class extends l.LitElement{constructor(){super(...arguments),this.state=Ye,this.isOpen=!1}render(){return l.html`
|
|
3878
3887
|
<div
|
|
3879
3888
|
part="select-list"
|
|
3880
3889
|
class="absolute z-50 w-full max-h-72 p-1 bg-white border border-gray-200 rounded-lg overflow-hidden overflow-y-auto [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300 dark:[&::-webkit-scrollbar-track]:bg-neutral-700 dark:[&::-webkit-scrollbar-thumb]:bg-neutral-500 dark:bg-neutral-900 dark:border-neutral-700"
|
|
@@ -3884,7 +3893,7 @@ body {
|
|
|
3884
3893
|
>
|
|
3885
3894
|
<slot></slot>
|
|
3886
3895
|
</div>
|
|
3887
|
-
`}},s.SelectList.styles=[l.css``,c],
|
|
3896
|
+
`}},s.SelectList.styles=[l.css``,c],Gt([d.property({attribute:"data-state",type:String})],s.SelectList.prototype,"state",2),Gt([d.state()],s.SelectList.prototype,"isOpen",2),s.SelectList=Gt([d.customElement("rtg-select-list")],s.SelectList);var la=Object.defineProperty,da=Object.getOwnPropertyDescriptor,ca=(o,e,r,n)=>{for(var t=n>1?void 0:n?da(e,r):e,i=o.length-1,a;i>=0;i--)(a=o[i])&&(t=(n?a(e,r,t):a(t))||t);return n&&t&&la(e,r,t),t};s.SelectLabel=class extends l.LitElement{render(){return l.html`
|
|
3888
3897
|
<span
|
|
3889
3898
|
part="select-label"
|
|
3890
3899
|
class="${u("px-4 w-full text-base font-bold",this.className)}"
|
|
@@ -3899,7 +3908,7 @@ body {
|
|
|
3899
3908
|
role="separator"
|
|
3900
3909
|
id="${this.identifier}"
|
|
3901
3910
|
></div>
|
|
3902
|
-
`}`}},s.SelectSeperator._counter=0,s.SelectSeperator.styles=[l.css``,c],Ft([d.property({type:String})],s.SelectSeperator.prototype,"_id",2),Ft([d.property({attribute:"aria-hidden",type:String})],s.SelectSeperator.prototype,"_hidden",2),s.SelectSeperator=Ft([d.customElement("rtg-select-separator")],s.SelectSeperator);var ha=Object.defineProperty,ga=Object.getOwnPropertyDescriptor,ma=(o,e,r,n)=>{for(var t=n>1?void 0:n?ga(e,r):e,i=o.length-1,a;i>=0;i--)(a=o[i])&&(t=(n?a(e,r,t):a(t))||t);return n&&t&&ha(e,r,t),t};let
|
|
3911
|
+
`}`}},s.SelectSeperator._counter=0,s.SelectSeperator.styles=[l.css``,c],Ft([d.property({type:String})],s.SelectSeperator.prototype,"_id",2),Ft([d.property({attribute:"aria-hidden",type:String})],s.SelectSeperator.prototype,"_hidden",2),s.SelectSeperator=Ft([d.customElement("rtg-select-separator")],s.SelectSeperator);var ha=Object.defineProperty,ga=Object.getOwnPropertyDescriptor,ma=(o,e,r,n)=>{for(var t=n>1?void 0:n?ga(e,r):e,i=o.length-1,a;i>=0;i--)(a=o[i])&&(t=(n?a(e,r,t):a(t))||t);return n&&t&&ha(e,r,t),t};let Vt=class extends l.LitElement{constructor(){super(...arguments),this.handleClick=()=>{if(this._select){[...document.getElementsByTagName("rtg-select")].map(r=>{var n;r.uuid!==((n=this._select)==null?void 0:n.uuid)&&(r.isOpen=!1)});const e=new CustomEvent("trigger-select",{bubbles:!0,composed:!0,detail:{isOpen:!this._select.isOpen}});this.dispatchEvent(e),this._select.isOpen=!this._select.isOpen}}}get _select(){let o=this.parentElement;for(;o&&!(o instanceof s.Select);)o=o.parentElement;return o}firstUpdated(o){var n,t;super.firstUpdated(o);const e=(n=this.shadowRoot)==null?void 0:n.querySelector('slot[name="select-trigger-button"]'),r=e==null?void 0:e.assignedElements({flatten:!0});r&&r.length>0&&(r[0].click=this.handleClick),(t=this.shadowRoot)==null||t.addEventListener("click",i=>{i.stopPropagation()})}render(){return l.html`
|
|
3903
3912
|
<button
|
|
3904
3913
|
type="button"
|
|
3905
3914
|
part="select-trigger"
|
|
@@ -3913,7 +3922,7 @@ body {
|
|
|
3913
3922
|
<slot></slot>
|
|
3914
3923
|
${yr()}
|
|
3915
3924
|
</button>
|
|
3916
|
-
`}};
|
|
3925
|
+
`}};Vt.styles=[l.css``,c],Vt=ma([d.customElement("rtg-select-trigger")],Vt);var va=Object.defineProperty,fa=Object.getOwnPropertyDescriptor,Ut=(o,e,r,n)=>{for(var t=n>1?void 0:n?fa(e,r):e,i=o.length-1,a;i>=0;i--)(a=o[i])&&(t=(n?a(e,r,t):a(t))||t);return n&&t&&va(e,r,t),t};let ze=class extends l.LitElement{constructor(){super(...arguments),this.childrenArray=[],this.focusedIndex=0,this.selectedValue=""}get _select(){let o=this.parentElement;for(;o&&!(o instanceof s.Select);)o=o.parentElement;return o}connectedCallback(){super.connectedCallback(),document.addEventListener("clicked-select-item",()=>{this.requestUpdate()}),document.addEventListener("trigger-select",o=>{o.detail.isOpen&&this._select&&this._select.selectedValue&&(this.focusedIndex=this.childrenArray.findIndex(e=>{var r;return e.value===((r=this._select)==null?void 0:r.selectedValue)}),this.requestUpdate())})}disconnectedCallback(){document.removeEventListener("keydown",this.handleKeyDown),super.disconnectedCallback()}firstUpdated(o){document.addEventListener("keydown",this.handleKeyDown.bind(this)),this.childrenArray=Array.from(this.children).filter(e=>e.tagName.toLowerCase()==="rtg-select-item"),this.requestUpdate()}updated(o){var e;(e=this._select)!=null&&e.isOpen||document.removeEventListener("keydown",this.handleKeyDown.bind(this))}onSelectedValue(o,e){this.focusedIndex=e,this.selectedValue=o}handleKeyDown(o){var e;if(o.preventDefault(),(e=this._select)!=null&&e.isOpen)switch(o.key){case"ArrowDown":this.focusedIndex=(this.focusedIndex+1)%this.childrenArray.length;break;case"ArrowUp":this.focusedIndex=(this.focusedIndex-1+this.childrenArray.length)%this.childrenArray.length;break;case"Enter":if(this.focusedIndex>=0&&this.focusedIndex<this.childrenArray.length){const r=new CustomEvent("clicked-select-item",{bubbles:!0,composed:!0,detail:{selectedItem:this.childrenArray[this.focusedIndex].value}});this.dispatchEvent(r)}break}}handleMouseOver(o,e){o.preventDefault(),this.focusedIndex=e}render(){return l.html`
|
|
3917
3926
|
<div
|
|
3918
3927
|
part="select-group"
|
|
3919
3928
|
class="absolute z-50 w-full max-h-72 mt-1 px-1 py-2 bg-white border border-gray-200 rounded-md overflow-hidden overflow-y-auto [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300 dark:[&::-webkit-scrollbar-track]:bg-neutral-700 dark:[&::-webkit-scrollbar-thumb]:bg-neutral-500 dark:bg-neutral-900 dark:border-neutral-700
|
|
@@ -4045,9 +4054,9 @@ body {
|
|
|
4045
4054
|
>
|
|
4046
4055
|
<slot></slot>
|
|
4047
4056
|
</button>
|
|
4048
|
-
`}},s.Toggle.styles=[c],s.Toggle.toggleVariants=Ba,le([d.property({type:Boolean})],s.Toggle.prototype,"disabled",2),le([d.property({type:String})],s.Toggle.prototype,"twCLass",2),le([d.property({attribute:!0,type:Boolean,reflect:!0})],s.Toggle.prototype,"checked",2),le([d.property({attribute:!0,type:Boolean,reflect:!0})],s.Toggle.prototype,"required",2),le([d.property({attribute:!0,type:String})],s.Toggle.prototype,"variant",2),le([d.property({attribute:!0,type:String})],s.Toggle.prototype,"size",2),s.Toggle=le([d.customElement("rtg-toggle")],s.Toggle);const Ta=M("inline-flex items-center justify-center rounded-sm text-sm font-medium ",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-8 px-4 py-2",sm:"h-7 rounded-sm px-3 text-xs",lg:"h-9 rounded-sm px-8",icon:"h-8 w-8"}},defaultVariants:{variant:"default",size:"default"}});var qa=Object.defineProperty,
|
|
4057
|
+
`}},s.Toggle.styles=[c],s.Toggle.toggleVariants=Ba,le([d.property({type:Boolean})],s.Toggle.prototype,"disabled",2),le([d.property({type:String})],s.Toggle.prototype,"twCLass",2),le([d.property({attribute:!0,type:Boolean,reflect:!0})],s.Toggle.prototype,"checked",2),le([d.property({attribute:!0,type:Boolean,reflect:!0})],s.Toggle.prototype,"required",2),le([d.property({attribute:!0,type:String})],s.Toggle.prototype,"variant",2),le([d.property({attribute:!0,type:String})],s.Toggle.prototype,"size",2),s.Toggle=le([d.customElement("rtg-toggle")],s.Toggle);const Ta=M("inline-flex items-center justify-center rounded-sm text-sm font-medium ",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-8 px-4 py-2",sm:"h-7 rounded-sm px-3 text-xs",lg:"h-9 rounded-sm px-8",icon:"h-8 w-8"}},defaultVariants:{variant:"default",size:"default"}});var qa=Object.defineProperty,Ga=Object.getOwnPropertyDescriptor,q=(o,e,r,n)=>{for(var t=n>1?void 0:n?Ga(e,r):e,i=o.length-1,a;i>=0;i--)(a=o[i])&&(t=(n?a(e,r,t):a(t))||t);return n&&t&&qa(e,r,t),t};let S=class extends l.LitElement{constructor(){super(...arguments),this.click=()=>{},this.disabled=!1,this.isCustomClass=!1,this.variant="default",this.size="default",this.mode="single",this.selectedStartDate=null,this.selectedEndDate=null}render(){const o=["1","2","3","4","5","6"];return l.html`
|
|
4049
4058
|
<main>
|
|
4050
|
-
<rtg-progress .
|
|
4059
|
+
<rtg-progress .value="${50}"></rtg-progress>
|
|
4051
4060
|
</main>
|
|
4052
4061
|
<main>
|
|
4053
4062
|
<rtg-date-picker>
|
|
@@ -4525,7 +4534,7 @@ body {
|
|
|
4525
4534
|
border-radius: var(--rtg-sample-demo-radius);
|
|
4526
4535
|
height: var(--rtg-sample-demo-height);
|
|
4527
4536
|
}
|
|
4528
|
-
`],q([d.property({type:Function})],S.prototype,"click",2),q([d.property({type:Boolean})],S.prototype,"disabled",2),q([d.property({type:String})],S.prototype,"isCustomClass",2),q([d.property({type:String})],S.prototype,"variant",2),q([d.property({type:String})],S.prototype,"size",2),q([d.property({type:String})],S.prototype,"mode",2),q([d.property({type:Object})],S.prototype,"selectedStartDate",2),q([d.property({type:Object})],S.prototype,"selectedEndDate",2),S=q([d.customElement("rtg-sample-demo")],S);var Fa=Object.defineProperty,
|
|
4537
|
+
`],q([d.property({type:Function})],S.prototype,"click",2),q([d.property({type:Boolean})],S.prototype,"disabled",2),q([d.property({type:String})],S.prototype,"isCustomClass",2),q([d.property({type:String})],S.prototype,"variant",2),q([d.property({type:String})],S.prototype,"size",2),q([d.property({type:String})],S.prototype,"mode",2),q([d.property({type:Object})],S.prototype,"selectedStartDate",2),q([d.property({type:Object})],S.prototype,"selectedEndDate",2),S=q([d.customElement("rtg-sample-demo")],S);var Fa=Object.defineProperty,Va=Object.getOwnPropertyDescriptor,Ce=(o,e,r,n)=>{for(var t=n>1?void 0:n?Va(e,r):e,i=o.length-1,a;i>=0;i--)(a=o[i])&&(t=(n?a(e,r,t):a(t))||t);return n&&t&&Fa(e,r,t),t};s.MenubarMenu=class extends l.LitElement{constructor(){super(...arguments),this.isOpen=!1,this.uniqueIds=[],this.selectedMenu="",this.isHovering=!1,this.id="",this.handleClickOutside=e=>{var n;const r=e.target;(n=this.shadowRoot)!=null&&n.contains(r)||(this.isOpen=!1)}}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.handleClickOutside),this.addEventListener("radio-selected",this._handleRadioSelected)}disconnectedCallback(){document.removeEventListener("click",this.handleClickOutside),super.disconnectedCallback()}toggleMenubar(e){e.stopPropagation(),document.querySelectorAll("rtg-menubar-menu").forEach(n=>{n!==this&&(n.isOpen=!1)}),this.isOpen=!this.isOpen}get _content(){var n;const e=(n=this.shadowRoot)==null?void 0:n.querySelector("slot"),r=e==null?void 0:e.assignedElements();if(r){for(let t=0;t<r.length;t++)if(r[t]instanceof s.MenubarContent)return r[t]}return null}updated(e){super.updated(e);const r=this._content;r&&(r.dataset.state=this.isOpen?"open":"close")}_handleRadioSelected(e){this.querySelectorAll("rtg-menubar-radio-item").forEach(r=>{const n=r;r!==e.target&&(n.checked=!1)})}get _slotElements(){var r;const e=(r=this.shadowRoot)==null?void 0:r.querySelector("slot");return(e==null?void 0:e.assignedElements({flatten:!0}))||[]}firstUpdated(){const e=this._slotElements,r=[];for(let n=0;n<e.length-1;n+=2){const t=e[n],i=e[n+1],a=crypto.randomUUID();r.push(a),t.dataset.pairId=a,i.dataset.pairId=a}this.uniqueIds=r,this._content&&this._content.removeEventListener("unique-ids-generated",()=>{this.requestUpdate()})}raiseEvent(){const e=new CustomEvent("unique-ids-generated",{detail:{ids:this.uniqueIds},bubbles:!0,composed:!0});this.dispatchEvent(e)}closeAllMenus(){document.querySelectorAll("rtg-menubar-menu").forEach(r=>{r.isOpen=!1,r.isHovering=!1})}handleHover(){this.closeAllMenus(),this.isHovering||(this.isHovering=!0,this.isOpen=!0)}handleMouseLeave(){this.isHovering=!1,this.isOpen=!1}render(){return l.html`
|
|
4529
4538
|
<div>
|
|
4530
4539
|
<div
|
|
4531
4540
|
role="menuitem"
|
|
@@ -4697,7 +4706,7 @@ body {
|
|
|
4697
4706
|
>
|
|
4698
4707
|
<slot></slot>
|
|
4699
4708
|
</div>
|
|
4700
|
-
`}},s.Menubar.styles=[l.css``,c],qr([d.property({type:String})],s.Menubar.prototype,"twCLass",2),s.Menubar=qr([d.customElement("rtg-menubar")],s.Menubar);var al=Object.defineProperty,ll=Object.getOwnPropertyDescriptor,
|
|
4709
|
+
`}},s.Menubar.styles=[l.css``,c],qr([d.property({type:String})],s.Menubar.prototype,"twCLass",2),s.Menubar=qr([d.customElement("rtg-menubar")],s.Menubar);var al=Object.defineProperty,ll=Object.getOwnPropertyDescriptor,Gr=(o,e,r,n)=>{for(var t=n>1?void 0:n?ll(e,r):e,i=o.length-1,a;i>=0;i--)(a=o[i])&&(t=(n?a(e,r,t):a(t))||t);return n&&t&&al(e,r,t),t};s.NavigationMenuList=class extends l.LitElement{constructor(){super(...arguments),this.twClass=""}render(){return l.html`
|
|
4701
4710
|
<div part="navigation-menu-list" class="${u("relative",this.twClass)}">
|
|
4702
4711
|
<ul
|
|
4703
4712
|
data-orientation="horizontal"
|
|
@@ -4708,7 +4717,7 @@ body {
|
|
|
4708
4717
|
</ul>
|
|
4709
4718
|
<div></div>
|
|
4710
4719
|
</div>
|
|
4711
|
-
`}},s.NavigationMenuList.styles=[l.css``,c],
|
|
4720
|
+
`}},s.NavigationMenuList.styles=[l.css``,c],Gr([d.property({type:String})],s.NavigationMenuList.prototype,"twClass",2),s.NavigationMenuList=Gr([d.customElement("rtg-navigation-menu-list")],s.NavigationMenuList);var dl=Object.defineProperty,cl=Object.getOwnPropertyDescriptor,$e=(o,e,r,n)=>{for(var t=n>1?void 0:n?cl(e,r):e,i=o.length-1,a;i>=0;i--)(a=o[i])&&(t=(n?a(e,r,t):a(t))||t);return n&&t&&dl(e,r,t),t};s.NavigationMenuContent=class extends l.LitElement{constructor(){super(...arguments),this.twClass="",this.state="close",this.id="",this.side="bottom",this.isOpen=!1}get _menubarMenu(){let e=this.parentElement;for(;e&&!(e instanceof s.NavigationMenuItem);)e=e.parentElement;return e}connectedCallback(){super.connectedCallback(),this.isOpen&&document.addEventListener("mousedown",this.handleClickOutside)}disconnectedCallback(){document.removeEventListener("mousedown",this.handleClickOutside),super.disconnectedCallback()}updated(e){super.updated(e),this.state==="open"?this.isOpen=!0:this.isOpen=!1,e.has("isOpen")&&(this.isOpen?document.addEventListener("mousedown",this.handleClickOutside):document.removeEventListener("mousedown",this.handleClickOutside))}handleClickOutside(e){var t,i;const r=(t=this.shadowRoot)==null?void 0:t.querySelector("rtg-menubar-content"),n=(i=this.shadowRoot)==null?void 0:i.querySelector("button");r&&!r.contains(e.target)&&!(n!=null&&n.contains(e.target))&&(this.isOpen=!1)}render(){return l.html`
|
|
4712
4721
|
<div
|
|
4713
4722
|
part="navigation-menu-content"
|
|
4714
4723
|
class="${u("absolute top-full flex justify-center",this.twClass)}"
|
|
@@ -4790,14 +4799,14 @@ body {
|
|
|
4790
4799
|
>
|
|
4791
4800
|
<slot></slot>
|
|
4792
4801
|
</nav>
|
|
4793
|
-
`}},s.NavigationMenu.styles=[l.css``,c],Fr([d.property({type:String})],s.NavigationMenu.prototype,"twClass",2),s.NavigationMenu=Fr([d.customElement("rtg-navigation-menu")],s.NavigationMenu);var fl=Object.defineProperty,bl=Object.getOwnPropertyDescriptor,
|
|
4802
|
+
`}},s.NavigationMenu.styles=[l.css``,c],Fr([d.property({type:String})],s.NavigationMenu.prototype,"twClass",2),s.NavigationMenu=Fr([d.customElement("rtg-navigation-menu")],s.NavigationMenu);var fl=Object.defineProperty,bl=Object.getOwnPropertyDescriptor,Vr=(o,e,r,n)=>{for(var t=n>1?void 0:n?bl(e,r):e,i=o.length-1,a;i>=0;i--)(a=o[i])&&(t=(n?a(e,r,t):a(t))||t);return n&&t&&fl(e,r,t),t};s.PaginationContent=class extends l.LitElement{constructor(){super(...arguments),this.twClass=""}render(){return l.html`
|
|
4794
4803
|
<ul
|
|
4795
4804
|
part="pagination-content"
|
|
4796
4805
|
class="${u("flex flex-row items-center gap-1",this.twClass)}"
|
|
4797
4806
|
>
|
|
4798
4807
|
<slot></slot>
|
|
4799
4808
|
</ul>
|
|
4800
|
-
`}},s.PaginationContent.styles=[l.css``,c],
|
|
4809
|
+
`}},s.PaginationContent.styles=[l.css``,c],Vr([d.property({type:String})],s.PaginationContent.prototype,"twClass",2),s.PaginationContent=Vr([d.customElement("rtg-pagination-content")],s.PaginationContent);const wl=M("inline-flex items-center justify-center whitespace-nowrap rounded-sm text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",ghost:"hover:bg-accent hover:text-accent-foreground"},size:{default:"h-8 px-4 py-2",sm:"h-7 rounded-sm px-3 text-xs",lg:"h-9 rounded-sm px-8",icon:"h-8 w-8"}},defaultVariants:{variant:"ghost",size:"default"}});var yl=Object.defineProperty,xl=Object.getOwnPropertyDescriptor,pe=(o,e,r,n)=>{for(var t=n>1?void 0:n?xl(e,r):e,i=o.length-1,a;i>=0;i--)(a=o[i])&&(t=(n?a(e,r,t):a(t))||t);return n&&t&&yl(e,r,t),t};s.PaginationLink=class extends l.LitElement{constructor(){super(...arguments),this.state="close",this.twClass="",this.isActive=!1,this.size="icon",this.variant="ghost",this.href="javascript:void(0)"}updated(e){super.updated(e),this.state==="open"?this.isActive=!0:this.isActive=!1}render(){return l.html`
|
|
4801
4810
|
<a
|
|
4802
4811
|
part="pagination-link"
|
|
4803
4812
|
data-state="${this.isActive}"
|
|
@@ -5090,10 +5099,10 @@ body {
|
|
|
5090
5099
|
.controls button:disabled {
|
|
5091
5100
|
background: rgba(0, 0, 0, 0.2);
|
|
5092
5101
|
}
|
|
5093
|
-
`,he([d.property({type:Number})],s.Carousel.prototype,"currentIndex",2),he([d.property({type:Array})],s.Carousel.prototype,"items",2),he([d.property({type:String})],s.Carousel.prototype,"twCLass",2),he([d.property({type:String})],s.Carousel.prototype,"orientation",2),he([d.property({type:Boolean})],s.Carousel.prototype,"size",2),he([d.query(".slides")],s.Carousel.prototype,"slides",2),s.Carousel=he([d.customElement("rtg-carousel")],s.Carousel);const Al=M("inline-flex items-center justify-center whitespace-nowrap rounded-sm text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{outline:"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground"},size:{default:"h-7 w-7 p-0"}},defaultVariants:{variant:"outline",size:"default"}});var zl=Object.defineProperty,Bl=Object.getOwnPropertyDescriptor,
|
|
5102
|
+
`,he([d.property({type:Number})],s.Carousel.prototype,"currentIndex",2),he([d.property({type:Array})],s.Carousel.prototype,"items",2),he([d.property({type:String})],s.Carousel.prototype,"twCLass",2),he([d.property({type:String})],s.Carousel.prototype,"orientation",2),he([d.property({type:Boolean})],s.Carousel.prototype,"size",2),he([d.query(".slides")],s.Carousel.prototype,"slides",2),s.Carousel=he([d.customElement("rtg-carousel")],s.Carousel);const Al=M("inline-flex items-center justify-center whitespace-nowrap rounded-sm text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{outline:"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground"},size:{default:"h-7 w-7 p-0"}},defaultVariants:{variant:"outline",size:"default"}});var zl=Object.defineProperty,Bl=Object.getOwnPropertyDescriptor,G=(o,e,r,n)=>{for(var t=n>1?void 0:n?Bl(e,r):e,i=o.length-1,a;i>=0;i--)(a=o[i])&&(t=(n?a(e,r,t):a(t))||t);return n&&t&&zl(e,r,t),t};s.Calendar=class extends l.LitElement{constructor(){super(...arguments),this.currentDate=new Date,this.selectedStartDate=null,this.selectedEndDate=null,this.variant="outline",this.size="default",this.styleCalendar=!1,this.twCLass="",this.mode="single"}getDaysInMonth(e,r){return new Date(e,r+1,0).getDate()}previousMonth(){this.currentDate=new Date(this.currentDate.getFullYear(),this.currentDate.getMonth()-1)}nextMonth(){this.currentDate=new Date(this.currentDate.getFullYear(),this.currentDate.getMonth()+1)}selectDate(e,r){if(!r){const n=new Date(this.currentDate.getFullYear(),this.currentDate.getMonth(),e);n.getMonth()===this.currentDate.getMonth()&&(this.mode==="single"?(this.selectedStartDate=n,this.selectedEndDate=null):this.mode==="range"&&(!this.selectedStartDate||this.selectedEndDate?(this.selectedStartDate=n,this.selectedEndDate=null):n>=this.selectedStartDate?this.selectedEndDate=n:(this.selectedEndDate=this.selectedStartDate,this.selectedStartDate=n)),this.dispatchEvent(new CustomEvent("date-selected",{detail:{startDate:this.selectedStartDate,endDate:this.selectedEndDate},bubbles:!0,composed:!0})))}}isDayInRange(e){return!this.selectedStartDate||!this.selectedEndDate||e.getMonth()!==this.currentDate.getMonth()?!1:e>=this.selectedStartDate&&e<=this.selectedEndDate}render(){const e=this.currentDate.getFullYear(),r=this.currentDate.getMonth(),n=this.getDaysInMonth(e,r),t=new Date(e,r,1).getDay(),i=new Date(e,r,0).getDate();let a=Array.from({length:t},(p,m)=>({day:(i-(t-1)+m).toString(),isInactive:!0,isCurrentMonth:!1}));return a=a.concat(Array.from({length:n},(p,m)=>({day:(m+1).toString(),isInactive:!1,isCurrentMonth:!0}))),l.html`
|
|
5094
5103
|
<div
|
|
5095
5104
|
part="calendar"
|
|
5096
|
-
class="${u("p-3 rounded-md border shadow",this.styleCalendar?"styled-calendar":"",this.className,this.twCLass)}"
|
|
5105
|
+
class="${u("p-3 rounded-md border shadow bg-popover",this.styleCalendar?"styled-calendar":"",this.className,this.twCLass)}"
|
|
5097
5106
|
>
|
|
5098
5107
|
<div
|
|
5099
5108
|
class="flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0"
|
|
@@ -5103,7 +5112,7 @@ body {
|
|
|
5103
5112
|
<div class="space-x-1 flex items-center">
|
|
5104
5113
|
<button
|
|
5105
5114
|
style="width:1.75rem"
|
|
5106
|
-
class="
|
|
5115
|
+
class="nav-button text-muted-foreground absolute left-2 inline-flex items-center justify-center whitespace-nowrap rounded-sm text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground h-7 w-7 p-0"
|
|
5107
5116
|
@click="${this.previousMonth}"
|
|
5108
5117
|
>
|
|
5109
5118
|
<svg
|
|
@@ -5116,18 +5125,21 @@ body {
|
|
|
5116
5125
|
stroke-width="2"
|
|
5117
5126
|
stroke-linecap="round"
|
|
5118
5127
|
stroke-linejoin="round"
|
|
5119
|
-
style="width:1.2rem;height:1.2rem;margin-left
|
|
5120
|
-
class="lucide lucide-chevron-left rdp-nav_icon"
|
|
5128
|
+
style="width:1.2rem;height:1.2rem;margin-top:-2px;margin-left:2px"
|
|
5129
|
+
class="lucide lucide-chevron-left rdp-nav_icon hover:text-muted-foreground"
|
|
5121
5130
|
>
|
|
5122
5131
|
<path d="m15 18-6-6 6-6"></path>
|
|
5123
5132
|
</svg>
|
|
5124
5133
|
</button>
|
|
5125
|
-
<div
|
|
5134
|
+
<div
|
|
5135
|
+
style="font-family:GeistThin;font-weight:600"
|
|
5136
|
+
class="text-sm text-accent-foreground"
|
|
5137
|
+
>
|
|
5126
5138
|
${this.currentDate.toLocaleString("default",{month:"long",year:"numeric"})}
|
|
5127
5139
|
</div>
|
|
5128
5140
|
<button
|
|
5129
5141
|
style="width:1.75rem"
|
|
5130
|
-
class="
|
|
5142
|
+
class="nav-button absolute right-1 text-muted-foreground inline-flex items-center justify-center whitespace-nowrap rounded-sm text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground h-7 w-7 p-0"
|
|
5131
5143
|
@click="${this.nextMonth}"
|
|
5132
5144
|
>
|
|
5133
5145
|
<svg
|
|
@@ -5140,8 +5152,8 @@ body {
|
|
|
5140
5152
|
stroke-width="2"
|
|
5141
5153
|
stroke-linecap="round"
|
|
5142
5154
|
stroke-linejoin="round"
|
|
5143
|
-
style="width:1.2rem;height:1.2rem;margin-left
|
|
5144
|
-
class="lucide lucide-chevron-right rdp-nav_icon"
|
|
5155
|
+
style="width:1.2rem;height:1.2rem;margin-top:-2px;margin-left:2px"
|
|
5156
|
+
class="lucide lucide-chevron-right rdp-nav_icon hover:text-muted-foreground"
|
|
5145
5157
|
>
|
|
5146
5158
|
<path d="m9 18 6-6-6-6"></path>
|
|
5147
5159
|
</svg>
|
|
@@ -5153,8 +5165,9 @@ body {
|
|
|
5153
5165
|
<tr class="flex">
|
|
5154
5166
|
${["Su","Mo","Tu","We","Th","Fr","Sa"].map(p=>l.html`
|
|
5155
5167
|
<th
|
|
5168
|
+
style="font-family:GeistThin"
|
|
5156
5169
|
scope="col"
|
|
5157
|
-
class="text-
|
|
5170
|
+
class="text-day text-muted-foreground rounded-md w-8 font-normal"
|
|
5158
5171
|
aria-label="${p}"
|
|
5159
5172
|
>
|
|
5160
5173
|
${p}
|
|
@@ -5171,8 +5184,9 @@ body {
|
|
|
5171
5184
|
role="presentation"
|
|
5172
5185
|
>
|
|
5173
5186
|
<button
|
|
5187
|
+
style="font-family:GeistThin"
|
|
5174
5188
|
name="day"
|
|
5175
|
-
class="${u("flex justify-center items-center rounded cursor-pointer transition-colors duration-300 ease-in-out h-8 w-8 font-normal text-sm text-accent-foreground hover:bg-accent hover:text-accent-foreground",h.isInactive&&"hover:bg-accent text-muted-foreground
|
|
5189
|
+
class="${u("flex justify-center items-center rounded cursor-pointer transition-colors duration-300 ease-in-out h-8 w-8 font-normal text-sm text-accent-foreground hover:bg-accent hover:text-accent-foreground",h.isInactive&&"hover:bg-accent text-muted-foreground",(C||$)&&h.isCurrentMonth&&"bg-primary text-primary-foreground opacity-100 hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground")}"
|
|
5176
5190
|
role="gridcell"
|
|
5177
5191
|
tabindex="-1"
|
|
5178
5192
|
type="button"
|
|
@@ -5193,7 +5207,7 @@ body {
|
|
|
5193
5207
|
`}},s.Calendar.styles=[l.css`
|
|
5194
5208
|
:host {
|
|
5195
5209
|
display: inline-block;
|
|
5196
|
-
|
|
5210
|
+
|
|
5197
5211
|
border: 1px solid #e0e0e0;
|
|
5198
5212
|
border-radius: 8px;
|
|
5199
5213
|
padding: 8px;
|
|
@@ -5234,7 +5248,10 @@ body {
|
|
|
5234
5248
|
border-top-right-radius: 8px;
|
|
5235
5249
|
border-bottom-right-radius: 8px;
|
|
5236
5250
|
}
|
|
5237
|
-
|
|
5251
|
+
.text-day {
|
|
5252
|
+
font-size: 0.8rem;
|
|
5253
|
+
}
|
|
5254
|
+
`,c],s.Calendar.buttonVariants=Al,G([d.property({type:Object})],s.Calendar.prototype,"currentDate",2),G([d.property({type:Object})],s.Calendar.prototype,"selectedStartDate",2),G([d.property({type:Object})],s.Calendar.prototype,"selectedEndDate",2),G([d.property({type:String})],s.Calendar.prototype,"variant",2),G([d.property({type:String})],s.Calendar.prototype,"size",2),G([d.property({type:Boolean})],s.Calendar.prototype,"styleCalendar",2),G([d.property({type:String})],s.Calendar.prototype,"twCLass",2),G([d.property({type:String})],s.Calendar.prototype,"mode",2),s.Calendar=G([d.customElement("rtg-calendar")],s.Calendar);var Rl=Object.defineProperty,Nl=Object.getOwnPropertyDescriptor,Zt=(o,e,r,n)=>{for(var t=n>1?void 0:n?Nl(e,r):e,i=o.length-1,a;i>=0;i--)(a=o[i])&&(t=(n?a(e,r,t):a(t))||t);return n&&t&&Rl(e,r,t),t};s.DatePicker=class extends l.LitElement{constructor(){super(...arguments),this.twCLass="",this.selectedDate=null}handleDateSelected(e){this.selectedDate=e.detail.startDate,this.requestUpdate()}render(){return l.html`
|
|
5238
5255
|
<div
|
|
5239
5256
|
part="date-picker"
|
|
5240
5257
|
class="${u("",this.className,this.twCLass)}"
|
|
@@ -5244,7 +5261,7 @@ body {
|
|
|
5244
5261
|
<!-- Trigger to open/close the popover -->
|
|
5245
5262
|
<rtg-popover-trigger slot="trigger">
|
|
5246
5263
|
<rtg-button
|
|
5247
|
-
class="w-64 justify-start text-left font-normal text-muted-foreground"
|
|
5264
|
+
class="w-64 justify-start text-left text-sm font-normal bg-background hover:bg-accent text-muted-foreground hover:text-muted-foreground"
|
|
5248
5265
|
variant="outline"
|
|
5249
5266
|
slot="trigger-button"
|
|
5250
5267
|
>
|
|
@@ -5282,10 +5299,10 @@ body {
|
|
|
5282
5299
|
</rtg-popover-content>
|
|
5283
5300
|
</rtg-popover>
|
|
5284
5301
|
</div>
|
|
5285
|
-
`}},s.DatePicker.styles=[l.css``,c],Zt([d.property({type:String})],s.DatePicker.prototype,"twCLass",2),Zt([d.property({type:Object})],s.DatePicker.prototype,"selectedDate",2),s.DatePicker=Zt([d.customElement("rtg-date-picker")],s.DatePicker);var Tl=Object.defineProperty,ql=Object.getOwnPropertyDescriptor,Jt=(o,e,r,n)=>{for(var t=n>1?void 0:n?ql(e,r):e,i=o.length-1,a;i>=0;i--)(a=o[i])&&(t=(n?a(e,r,t):a(t))||t);return n&&t&&Tl(e,r,t),t};s.Progress=class extends l.LitElement{constructor(){super(...arguments),this.twClass="",this.
|
|
5302
|
+
`}},s.DatePicker.styles=[l.css``,c],Zt([d.property({type:String})],s.DatePicker.prototype,"twCLass",2),Zt([d.property({type:Object})],s.DatePicker.prototype,"selectedDate",2),s.DatePicker=Zt([d.customElement("rtg-date-picker")],s.DatePicker);var Tl=Object.defineProperty,ql=Object.getOwnPropertyDescriptor,Jt=(o,e,r,n)=>{for(var t=n>1?void 0:n?ql(e,r):e,i=o.length-1,a;i>=0;i--)(a=o[i])&&(t=(n?a(e,r,t):a(t))||t);return n&&t&&Tl(e,r,t),t};s.Progress=class extends l.LitElement{constructor(){super(...arguments),this.twClass="",this.value=15}render(){return l.html`
|
|
5286
5303
|
<div
|
|
5287
5304
|
part="progress"
|
|
5288
|
-
aria-valuenow="${this.
|
|
5305
|
+
aria-valuenow="${this.value}"
|
|
5289
5306
|
aria-valuemax="100"
|
|
5290
5307
|
aria-valuemin="0"
|
|
5291
5308
|
role="progressbar"
|
|
@@ -5297,11 +5314,16 @@ body {
|
|
|
5297
5314
|
<div
|
|
5298
5315
|
data-state="indeterminate"
|
|
5299
5316
|
data-max="100"
|
|
5300
|
-
class="${u("h-full w-full flex-1 bg-primary
|
|
5301
|
-
style="width: ${this.
|
|
5317
|
+
class="${u("progress-bar__fill h-full w-full flex-1 bg-primary",this.className,this.twClass)}"
|
|
5318
|
+
style="width: ${this.value}%;"
|
|
5302
5319
|
></div>
|
|
5303
5320
|
</div>
|
|
5304
|
-
`}},s.Progress.styles=[l.css
|
|
5321
|
+
`}},s.Progress.styles=[l.css`
|
|
5322
|
+
.progress-bar__fill {
|
|
5323
|
+
height: 100%;
|
|
5324
|
+
transition: width 0.5s ease-in-out;
|
|
5325
|
+
}
|
|
5326
|
+
`,c],Jt([d.property({type:String})],s.Progress.prototype,"twClass",2),Jt([d.property({type:Number})],s.Progress.prototype,"value",2),s.Progress=Jt([d.customElement("rtg-progress")],s.Progress);const Gl="inline-flex items-center gap-1.5",Fl="transition-colors hover:text-foreground",Vl="font-normal text-foreground",Ul="[&>svg]:size-3.5",Hl="flex h-9 w-9 items-center justify-center",Yl="flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5";var Xl=Object.defineProperty,Kl=Object.getOwnPropertyDescriptor,Wl=(o,e,r,n)=>{for(var t=n>1?void 0:n?Kl(e,r):e,i=o.length-1,a;i>=0;i--)(a=o[i])&&(t=(n?a(e,r,t):a(t))||t);return n&&t&&Xl(e,r,t),t};let Qt=class extends b{getAttributesToExclude(){return[""]}render(){const o=this.getFilteredAttributes();return l.html`
|
|
5305
5327
|
<span
|
|
5306
5328
|
${x(o)}
|
|
5307
5329
|
id="rtg-bread-crumb-ellipsis"
|
|
@@ -5327,7 +5349,7 @@ body {
|
|
|
5327
5349
|
<li
|
|
5328
5350
|
${x(o)}
|
|
5329
5351
|
id="rtg-bread-crumb-item"
|
|
5330
|
-
class="${u(
|
|
5352
|
+
class="${u(Gl,this.className)}"
|
|
5331
5353
|
part="breadcrumb-item"
|
|
5332
5354
|
>
|
|
5333
5355
|
<slot></slot>
|
|
@@ -5381,7 +5403,7 @@ body {
|
|
|
5381
5403
|
id="rtg-bread-crumb-text"
|
|
5382
5404
|
aria-disabled="true"
|
|
5383
5405
|
aria-current="page"
|
|
5384
|
-
class="${u(
|
|
5406
|
+
class="${u(Vl,this.className)}"
|
|
5385
5407
|
part="breadcrumb-text"
|
|
5386
5408
|
>
|
|
5387
5409
|
<slot></slot>
|