'use client';
import{jsx as e}from"react/jsx-runtime";import{useUniqProductID as m}from"@gem-sdk/core";import{createClass as o,createStyle as r}from"@gem-sdk/system";import{getSelectClasses as t}from"./common/classes.js";import{getSelectStyles as s,getOptionStyles as l}from"./common/styles.js";let c=({setting:c,styles:a})=>{let i=m(),{name:n,handleChangeOption:p,childItem:d}=c??{},f=o({...t(a)}),u=r({...s(a)}),y=r({...l(a)});return e("select",{name:n,id:`${i}-${n}`,className:f,style:u,onChange:p,children:d?.map((m,o)=>e("option",{value:m,style:y,children:m},o))})};export{c as default};
