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