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