PageSourceSearch

https://www.custtom.com/build/assets/SelectBox-BBq0awZw.js

js custtom.com collected 2026-10-10 01:18:10 UTC 1,718 bytes, 1 lines download raw bytes

1import{c as v}from"./popper-CMBiYTiD.js";import{r as d,w as y,M as B,A as m,C as o,R as a,K as V,P as p,_ as $,$ as k,N as c,D as f,B as _}from"./inertia-prototypes-_0KFShPv.js";import"./_commonjsHelpers-D6-XlEtG.js";import"./isSymbol-DvzfyB44.js";const D={class:"selectbox-title"},N={__name:"SelectBox",props:{selectBoxData:Object,selectBoxValue:String},emits:["selectboxoptionclicked"],setup(n,{emit:b}){const r=n,x=b,u=d("bottom"),s=d(r.selectBoxValue);function g(t){x("selectboxoptionclicked",t)}y(()=>r.selectBoxValue,t=>{s.value=t}),y(()=>s.value,t=>{g(t)});const h=(t,l,{width:i})=>{t.style.width=i;const e=v(l.$refs.toggle,t,{placement:u.value,modifiers:[{name:"offset",options:{offset:[0,-1]}},{name:"toggleClass",enabled:!0,phase:"write",fn(){l.$el.classList.toggle("drop-up",u.value==="top")}}]});return()=>e.destroy()};return(t,l)=>{const i=B("v-select");return f(),m("div",null,[o("p",D,a(r.selectBoxData.title),1),V(i,{placeholder:n.selectBoxData.title,options:n.selectBoxData.options,label:"label_left",reduce:e=>e.value,modelValue:s.value,"onUpdate:modelValue":l[0]||(l[0]=e=>s.value=e),searchable:!1,"append-to-body":"","calculate-position":h},{"selected-option":p(e=>[o("span",{style:c(`font-family:${e.family_name};`)},a(e.label_left),5),e.label_right!==""?(f(),m("span",{key:0,style:c(`font-family:${e.family_name};`)},a(e.label_right),5)):_("",!0)]),option:p(e=>[o("span",{style:c(`font-family:${e.family_name};`)},a(e.label_left),5),e.label_right!==""?(f(),m("span",{key:0,style:c(`font-family:${e.family_name};`)},a(e.label_right),5)):_("",!0)]),"open-indicator":p(({attributes:e})=>[o("span",$(k(e))," ",16)]),_:1},8,["placeholder","options","reduce","modelValue"])])}}};export{N as default};

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.