PageSourceSearch

https://stupendiumstore.com/assets/TmlColorPalette.ece3a28f.js

js stupendiumstore.com collected 2026-09-30 06:14:52 UTC 1,486 bytes, 2 lines download raw bytes

1import{D as t,E as l,R as o,F as m,a2 as u,a1 as f,Q as d}from"./vue.00f7c436.js";import{_ as h,al as _,aB as p}from"./index.474d7b13.js";import"./sentry.09480738.js";const y={name:"TmlColorPalette",props:{maxWidth:{type:String,default:"200px"},format:{type:String,default:"hex"},isStatic:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},cols:{type:Array},circleSize:{type:String,default:"24px"}},data(){return{open:!1,defaultCols:["#000","#bbb","#fff","#c10230","#ee7623","#ffc629","#4c9c2e","#5eb3e4","#002e6d","#625d9c","#f89aba"]}},methods:{getElementStyle(a){return{background:a,width:this.circleSize,height:this.circleSize}},pickCol(a,s){let e=a;(this.format==="rgb"||this.format==="hsv")&&(e=_(e)),this.format==="hsv"&&(e=p(e)),this.$emit("col-selected",e,s)},deselect(){this.$emit("col-selected",null)}}},g=["onClick"];function S(a,s,e,b,i,r){return t(),l("div",null,[i.open||e.isStatic?(t(),l("span",{key:0,class:"cols",style:o({"max-width":`${e.maxWidth}`})},[(t(!0),l(m,null,u(e.cols||i.defaultCols,(c,n)=>(t(),l("a",{key:n,href:"#",class:"col-circle",style:o(r.getElementStyle(c)),onClick:f(k=>r.pickCol(c,n),["prevent"])},null,12,g))),128)),e.clearable?(t(),l("a",{key:0,class:"col-circle clear-col",href:"#",style:o(r.getElementStyle()),onClick:s[0]||(s[0]=f(c=>r.deselect(),["prevent"]))},null,4)):d("",!0)],4)):d("",!0)])}const B=h(y,[["render",S],["__scopeId","data-v-a95eee0f"]]);export{B as default};
2//# sourceMappingURL=TmlColorPalette.ece3a28f.js.map

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.