"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[179],{47626:function(o,n,i){i.r(n);var l=i(72791),e=i(89839),t=i(40584),s=i(80184);n.default=function(o){var n=(o.options.options||[]).map((function(o){return{value:"".concat(o),label:"".concat(o)}})),i=l.useMemo((function(){return"".concat(o.options.isMulti?"multi_":"","select_").concat((0,t.Z)())}),[o.options.isMulti]);return(0,s.jsxs)(e.xu,{display:"flex",fd:"column",children:[o.options.label&&(0,s.jsx)(e.xv,{as:"label",htmlFor:i,lineHeight:1.5,disabled:o.options.disabled,children:o.options.label}),(0,s.jsx)(e.Ph,{multiple:o.options.isMulti,searchable:o.options.searchable,disabled:o.options.disabled,value:o.options.value,popoverProps:{align:"start"},options:[{group:"",options:n}],onValueChange:function(n){var i;"function"===typeof(null===(i=o.callbacks)||void 0===i?void 0:i.on_change)&&o.callbacks.on_change(n)}},i)]})}}}]);
//# sourceMappingURL=Select.b0b35c21.chunk.js.map