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