PageSourceSearch

https://www.chillisign.io/_nuxt/CSL4yHtB.js

js chillisign.io collected 2026-10-08 21:31:35 UTC 5,024 bytes, 1 lines download raw bytes

1import{_ as d,c as u,o as n,a as c,m as l,w as p,r as x,h as s,q as y,am as b}from"#entry";import{_ as f}from"./CS_m-kTw.js";const v={name:"GeneralLoadingCircle",props:{color:{type:String,default:"#ffffff"}}},w={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",style:{background:"transparent",display:"block"},width:"200px",height:"200px",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",class:"mx-auto max-h-[50px] max-w-[50px]"},_=["stroke"];function k(t,i,r,g,h,a){return n(),u("svg",w,[c("circle",{cx:"50",cy:"50",fill:"none",stroke:r.color,"stroke-width":"10",r:"35","stroke-dasharray":"164.93361431346415 56.97787143782138"},[...i[0]||(i[0]=[c("animateTransform",{attributeName:"transform",type:"rotate",repeatCount:"indefinite",dur:"1s",values:"0 50 50;360 50 50",keyTimes:"0;1"},null,-1)])],8,_)])}const C=Object.assign(d(v,[["render",k]]),{__name:"CommonLoadingCircle"});var o=(t=>(t.Solid="solid",t.Outline="outline",t.Ghost="ghost",t))(o||{}),e=(t=>(t.Primary="primary",t.Secondary="secondary",t.Tertiary="tertiary",t.Gray="gray",t.Green="green",t.Transparent="transparent",t.White="white",t))(e||{});const S={name:"CommonButton",components:{NuxtLink:f},emits:["click"],props:{to:{type:String,default:"#"},color:{type:String,default:e.Tertiary},variant:{type:String,default:o.Solid},size:{type:String,default:"md"},icon:{type:String,default:""},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},type:{type:String,default:"button"},target:{type:String,default:void 0}},computed:{isComponent(){return this.to==="#"?"button":this.to.startsWith("http")?"a":"NuxtLink"},loadingCircleColor(){switch(this.color){case e.Primary:return"#08104D";case e.Secondary:return"#ffffff";case e.Tertiary:return"#08104D";case e.Green:return"#ffffff";case e.White:return"#ffffff";default:return"#ffffff"}},iconClasses(){switch(this.color){case e.Primary:return"text-primary ml-2 text-lg";case e.Secondary:return"text-secondary ml-2 text-lg";case e.Tertiary:return"text-tertiary-400 ml-2 text-lg";default:return"text-primary ml-2 text-lg"}},colorClasses(){if(this.variant===o.Solid)switch(this.color){case e.Primary:return"bg-primary text-white";case e.Secondary:return"bg-secondary text-white";case e.Tertiary:return"bg-tertiary text-primary";case e.Gray:return"bg-grey text-gray-700";case e.Green:return"bg-green-200 text-white";default:return"bg-primary text-white"}if(this.variant===o.Outline)switch(this.color){case e.Primary:return"bg-white border border-primary text-primary hover:bg-primary hover:!bg-opacity-10";case e.Secondary:return"bg-white border border-secondary/50 text-primary hover:border-secondary hover:bg-secondary/15";case e.Tertiary:return"bg-white border border-tertiary-400 text-primary hover:bg-tertiary-400 hover:!bg-opacity-20";case e.Gray:return"bg-white border border-grey text-gray-700 hover:bg-grey hover:!bg-opacity-20";case e.White:return"bg-transparent border border-white text-white hover:bg-white hover:!bg-opacity-20";case e.Transparent:return"bg-transparent border border-light text-primary hover:bg-white hover:!bg-opacity-80";default:return"bg-white border border-primary text-primary hover:bg-primary hover:!bg-opacity-60"}if(this.variant===o.Ghost)switch(this.color){case e.Primary:return"text-primary hover:text-primaryLight";case e.Secondary:return"text-secondary hover:bg-secondary !bg-opacity-60";case e.Tertiary:return"text-primary hover:bg-tertiary-400 !bg-opacity-20";case e.Gray:return"text-gray-700 hover:bg-gray-700 hover:!bg-opacity-10";case e.Transparent:return"text-primary hover:bg-primary hover:!bg-opacity-10";case e.White:return"text-white hover:bg-white hover:!bg-opacity-10";default:return"text-primary hover:bg-primary !bg-opacity-60"}return""},sizeClasses(){switch(this.size){case"xs":return"py-2 text-sm px-4";case"sm":return"py-2 text-base px-4";case"md":return"py-2 md:py-3 2xl:py-4 text-base px-3 md:px-4 2xl:px-6";case"lg":return"py-2 lg:py-3 2xl:py-4 text-base lg:text-xl 2xl:text-2xl px-4 lg:px-7 2xl:px-10 font-medium";default:return"py-1 text-base "}},buttonClasses(){return this.size==="xs"?"rounded-lg":"rounded-[10px]"}}};function T(t,i,r,g,h,a){const m=C;return n(),l(b(a.isComponent),{to:r.to==="#"?"#":r.to,target:r.target,href:r.to.startsWith("http")?r.to:void 0,type:r.type,class:y(["inline-block cursor-pointer select-none text-center font-medium transition-all",[r.disabled?" user-select-none cursor-not-allowed opacity-50":" hover:bg-opacity-80",a.colorClasses,a.sizeClasses,a.buttonClasse
1s]]),onClick:i[0]||(i[0]=G=>!r.loading&&!r.disabled&&t.$emit("click"))},{default:p(()=>[r.loading?s("",!0):x(t.$slots,"default",{key:0}),r.loading?(n(),l(m,{key:1,class:"mx-3 -mb-1 -mt-1 block h-8 w-8",color:a.loadingCircleColor},null,8,["color"])):s("",!0),r.icon.length&&!r.loading?(n(),u("i",{key:2,class:y("icon-"+r.icon+" "+a.iconClasses)},null,2)):s("",!0)]),_:3},8,["to","target","href","type","class"])}const L=Object.assign(d(S,[["render",T]]),{__name:"CommonButton"});export{o as B,e as E,L as _};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.