// @bun
import{EventRegistry as I,OperationSpecRegistry as J}from"@contractspec/lib.contracts-spec";import{DataViewRegistry as K}from"@contractspec/lib.contracts-spec/data-views";import{ContractReferenceDataView as L,ContractReferenceQuery as M,DocsGenerateCommand as N,DocsGeneratedEvent as Q,DocsIndexDataView as T,DocsIndexQuery as U,DocsLayoutPresentation as V,DocsPublishCommand as W,DocsPublishedEvent as X,DocsReferencePagePresentation as Y,DocsSearchForm as _,ExampleCatalogDataView as $}from"@contractspec/lib.contracts-spec/docs";import{FormRegistry as m}from"@contractspec/lib.contracts-spec/forms";import{PresentationRegistry as z}from"@contractspec/lib.contracts-spec/presentations";import{serializeDataViewSpec as E,serializeEventSpec as O,serializeFormSpec as P,serializeOperationSpec as R,serializePresentationSpec as Z}from"@contractspec/lib.contracts-spec/serialization";var w=null;function d(){let b=new J;return b.register(U).register(M).register(N).register(W),b}function l(){if(!w)w=d();return w}function C(b,h){return l().get(b,h)}var A=null;function S(){let b=new I;return b.register(Q).register(X),b}function j(){if(!A)A=S();return A}function x(b,h){return j().get(b,h)}var B=null;function f(){let b=new z;return b.register(V).register(Y),b}function u(){if(!B)B=f();return B}function c(b,h){return u().get(b,h)}var D=null;function g(){let b=new K;return b.register(T).register(L).register($),b}function a(){if(!D)D=g();return D}function v(b,h){return a().get(b,h)}var F=null;function k(){let b=new m;return b.register(_),b}function p(){if(!F)F=k();return F}function n(b,h){return p().get(b)}function H(b,h){let q=C(b,h);return R(q)??void 0}function Db(b,h){let q=x(b,h);return O(q)??void 0}function Fb(b,h){let q=c(b,h);return Z(q)??void 0}function Gb(b,h){let q=v(b,h);return E(q)??void 0}function Hb(b,h){let q=n(b,h);return P(q)??void 0}function t(){w=null}function y(){A=null}function o(){B=null}function i(){D=null}function s(){F=null}function Ib(){t(),y(),o(),i(),s()}import{EntityCard as r}from"@contractspec/lib.design-system";import{Zap as e}from"lucide-react";import{jsx as G}from"react/jsx-runtime";function Nb({feature:b}){if(!b.operations?.length)return null;return G("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3",children:b.operations.map((h)=>{let q=H(h.key,h.version);return G(r,{cardTitle:h.key,cardSubtitle:`v${h.version}`,footer:q?.meta.description,icon:G(e,{className:"h-4 w-4"}),href:`/features/${b.meta.key}/operations/${h.key}`},h.key)})})}export{Nb as FeatureOperationsList};
