import{i as e}from"./preload-helper-B45gAKPr.js";import{E as t,a as n,d as r,f as i,l as a,m as o,n as s,p as c,r as l,u}from"./blocks-CwEU-ME1.js";import{t as d}from"./jsx-runtime-BBQGix-2.js";import{t as f}from"./mdx-react-shim-DnKFgFHy.js";import{Basic as p,ErrorState as m,LoadingState as h,SelectParent as g,n as _,t as v}from"./ODataTreeSelect.stories-BgDj08mH.js";function y(e){let o={code:`code`,h2:`h2`,p:`p`,...t(),...e.components};return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(a,{of:v,parameters:{docs:{toc:!0}}}),`
`,(0,x.jsx)(c,{children:`ODataTreeSelect`}),`
`,(0,x.jsx)(i,{children:`Single-select по одной OData-цепочке в виде дерева`}),`
`,(0,x.jsxs)(o.p,{children:[(0,x.jsx)(o.code,{children:`ODataTreeSelect`}),` загружает одну OData-коллекцию, строит дерево по цепочке codeKey и позволяет выбрать любой узел.`]}),`
`,(0,x.jsx)(o.h2,{id:`основной-сценарий`,children:`Основной сценарий`}),`
`,(0,x.jsx)(u,{}),`
`,(0,x.jsx)(n,{of:p}),`
`,(0,x.jsx)(o.h2,{id:`сценарии`,children:`Сценарии`}),`
`,(0,x.jsx)(l,{of:p}),`
`,(0,x.jsx)(l,{of:g}),`
`,(0,x.jsx)(l,{of:h}),`
`,(0,x.jsx)(l,{of:m}),`
`,(0,x.jsx)(o.h2,{id:`api`,children:`API`}),`
`,(0,x.jsx)(s,{of:v}),`
`,(0,x.jsx)(o.h2,{id:`все-сторисы`,children:`Все сторисы`}),`
`,(0,x.jsx)(r,{includePrimary:!1})]})}function b(e={}){let{wrapper:n}={...t(),...e.components};return n?(0,x.jsx)(n,{...e,children:(0,x.jsx)(y,{...e})}):y(e)}var x;e((()=>{x=d(),f(),o(),_()}))();export{b as default};