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 n from"../Trigger/SingleSelectTrigger.js";import a from"../Trigger/MultiSelectTrigger.js";import i from"./DropdownBoxMode.module.scss.js";import m from"../../../../../../components/layout/dist/Flex/Flex.js";var s=function(){var s=t(),c=s.multi,p=s.disabled,u=s.readOnly,d=s.error;return s.searchable?r.createElement(m,{direction:"column",gap:"xs",className:o(i.boxModeContainer)},r.createElement("div",{className:o(i.inputContainer,e(e(e({},i.disabled,p),i.readOnly,u),i.error,d))},r.createElement(c?a:n,null)),r.createElement("div",{className:i.menuContainer},r.createElement(l,null))):null};export{s as default};
//# sourceMappingURL=DropdownBoxMode.js.map
