import{__rest as e,__assign as i}from"tslib";import{jsx as t}from"react/jsx-runtime";import{SectionWrapper as d}from"../../molecules/Sections/SectionWrapper.js";import{ConditionList as n}from"../../molecules/Condition/ConditionList.js";var o=function(o){var s=o.conditions,r=o.onAdd,a=o.onRemove,l=o.onEdit,g=o.index,c=o.isHighlighted,h=o.highlightedIds,I=o.footer,m=o.tooltipDescription,p=o.citations,E=o.addLabel,f=o.title;o.sendMessageInChat;var v=o.setSendMessageInChat,A=o.readOnly,x=o.isAiStreaming,M=o.errorMessage,S=o.activeEditId,C=o.setActiveEditId,u=o.pendingEditId,y=o.setPendingEditId,P=o.idPrefix,b=e(o,["conditions","onAdd","onRemove","onEdit","index","isHighlighted","highlightedIds","footer","tooltipDescription","citations","addLabel","title","sendMessageInChat","setSendMessageInChat","readOnly","isAiStreaming","errorMessage","activeEditId","setActiveEditId","pendingEditId","setPendingEditId","idPrefix"]);return t(d,i({},b,{readOnly:A,title:f,collapsible:!0,defaultOpen:!0},{children:t(n,{items:s,onAdd:r,onRemove:a,onEdit:l,index:g,tierKey:b.tierKey,readOnly:A,isHighlighted:c,highlightedIds:h,footer:I,tooltipDescription:m,citations:p,addLabel:E,setSendMessageInChat:v,fieldName:f,isAiStreaming:x,activeEditId:S,setActiveEditId:C,pendingEditId:u,setPendingEditId:y,idPrefix:P,errorMessage:M})}))};export{o as ConditionSection};
//# sourceMappingURL=ConditionSection.js.map
