import{defineProperty as e}from"../../../../../../_virtual/_rollupPluginBabelHelpers.js";import r from"react";import o from"classnames";import{useDropdownContext as t}from"../../context/DropdownContext.js";import l from"../Menu/MenuList.js";import a from"../Trigger/SingleSelectTrigger.js";import m from"../Trigger/MultiSelectTrigger.js";import{Flex as n}from"@vibe/layout/mockedClassNames";import i from"./DropdownBoxMode.module.scss.js";var s=function(){var s=t(),c=s.multi,u=s.disabled,d=s.readOnly,p=s.error;return s.searchable?r.createElement(n,{direction:"column",gap:"xs",className:o(i.boxModeContainer)},r.createElement("div",{className:o(i.inputContainer,e(e(e({},i.disabled,u),i.readOnly,d),i.error,p))},r.createElement(c?m:a,null)),r.createElement("div",{className:i.menuContainer},r.createElement(l,null))):null};export{s as default};
//# sourceMappingURL=DropdownBoxMode.js.map
