// @bun
var I=Object.defineProperty;var J=(b)=>b;function K(b,h){this[b]=J.bind(null,h)}var wb=(b,h)=>{for(var q in h)I(b,q,{get:h[q],enumerable:!0,configurable:!0,set:K.bind(h,q)})};var Ab=(b,h)=>()=>(b&&(h=b(b=0)),h);import{EventRegistry as L,OperationSpecRegistry as M}from"@contractspec/lib.contracts-spec";import{DataViewRegistry as N}from"@contractspec/lib.contracts-spec/data-views";import{ContractReferenceDataView as Q,ContractReferenceQuery as T,DocsGenerateCommand as U,DocsGeneratedEvent as V,DocsIndexDataView as W,DocsIndexQuery as X,DocsLayoutPresentation as Y,DocsPublishCommand as _,DocsPublishedEvent as $,DocsReferencePagePresentation as m,DocsSearchForm as z,ExampleCatalogDataView as E}from"@contractspec/lib.contracts-spec/docs";import{FormRegistry as O}from"@contractspec/lib.contracts-spec/forms";import{PresentationRegistry as P}from"@contractspec/lib.contracts-spec/presentations";import{serializeDataViewSpec as R,serializeEventSpec as Z,serializeFormSpec as d,serializeOperationSpec as l,serializePresentationSpec as C}from"@contractspec/lib.contracts-spec/serialization";var w=null;function S(){let b=new M;return b.register(X).register(T).register(U).register(_),b}function j(){if(!w)w=S();return w}function x(b,h){return j().get(b,h)}var A=null;function f(){let b=new L;return b.register(V).register($),b}function u(){if(!A)A=f();return A}function c(b,h){return u().get(b,h)}var B=null;function g(){let b=new P;return b.register(Y).register(m),b}function a(){if(!B)B=g();return B}function v(b,h){return a().get(b,h)}var D=null;function k(){let b=new N;return b.register(W).register(Q).register(E),b}function p(){if(!D)D=k();return D}function n(b,h){return p().get(b,h)}var F=null;function t(){let b=new O;return b.register(z),b}function y(){if(!F)F=t();return F}function o(b,h){return y().get(b)}function H(b,h){let q=x(b,h);return l(q)??void 0}function Kb(b,h){let q=c(b,h);return Z(q)??void 0}function Lb(b,h){let q=v(b,h);return C(q)??void 0}function Mb(b,h){let q=n(b,h);return R(q)??void 0}function Nb(b,h){let q=o(b,h);return d(q)??void 0}function i(){w=null}function s(){A=null}function r(){B=null}function e(){D=null}function bb(){F=null}function Qb(){i(),s(),r(),e(),bb()}import{EntityCard as hb}from"@contractspec/lib.design-system";import{Zap as qb}from"lucide-react";import{jsx as G}from"react/jsx-runtime";function Xb({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(hb,{cardTitle:h.key,cardSubtitle:`v${h.version}`,footer:q?.meta.description,icon:G(qb,{className:"h-4 w-4"}),href:`/features/${b.meta.key}/operations/${h.key}`},h.key)})})}export{Xb as FeatureOperationsList};
