'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),core=require("@gem-sdk/core"),system=require("@gem-sdk/system"),classes=require("./common/classes.js"),styles=require("./common/styles.js");const ProductPropertySelect=({setting:e,styles:s})=>{let t=core.useUniqProductID(),{name:r,handleChangeOption:l,childItem:c}=e??{},o=system.createClass({...classes.getSelectClasses(s)}),u=system.createStyle({...styles.getSelectStyles(s)}),y=system.createStyle({...styles.getOptionStyles(s)});return jsxRuntime.jsx("select",{name:r,id:`${t}-${r}`,className:o,style:u,onChange:l,children:c?.map((e,s)=>jsxRuntime.jsx("option",{value:e,style:y,children:e},s))})};exports.default=ProductPropertySelect;
