1import{h as V,d as v,M as k}from"./index-CkbxFzmV.js";import{B as D}from"./BriefingProposalForm-CFT1z7Vl.js";import{d as I,a1 as w,E as d,f,j as l,ab as b,H as c,a5 as B,A as s,l as $,q as x,k as C,R as g,r as _}from"./vendor-vuetify-DaY1MzuL.js";import{_ as M}from"./ProposalsAdvancedTable.vue_vue_type_script_setup_true_lang-BtX73s8w.js";import{a as S}from"./agency-CJgP-A6r.js";import{_ as h}from"./PageWrapper.vue_vue_type_style_index_0_lang-C-agqOPr.js";import{_ as N}from"./SecondPageWrapper.vue_vue_type_style_index_0_lang-BNDqmb3T.js";import{b as y}from"./route-block-BIO7NrfO.js";import"./vendor-sentry-CdlvO8A5.js";import"./AgencySelect.vue_vue_type_script_setup_true_lang-CGoVuufA.js";import"./AdvancedTableWithFilters.vue_vue_type_script_setup_true_lang-DaMdcPCg.js";import"./AdvancedDataTable.vue_vue_type_style_index_0_lang-wic-kAlT.js";import"./EmptyPlaceholder.vue_vue_type_style_index_0_lang-1Ip15eFc.js";import"./TransferFee-BXRYOtEP.js";try{let e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="a7db0515-16ff-4422-8cee-e6f7bb54fa20",e._sentryDebugIdIdentifier="sentry-dbid-a7db0515-16ff-4422-8cee-e6f7bb54fa20")}catch{}const P=I({__name:"ManagerProposalDialog",props:b({briefing:{}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:b(["submitted"],["update:modelValue"]),setup(e,{emit:a}){const m=a,o=w(e,"modelValue");function t(i){m("submitted",i),o.value=!1}return(i,r)=>(d(),f(V,{modelValue:o.value,"onUpdate:modelValue":r[0]||(r[0]=p=>o.value=p),title:"Create proposal"},{content:l(()=>[(d(),f(D,{key:String(o.value),"campaign-id":e.briefing.campaignId,"briefing-id":e.briefing.id,onSubmitted:t},null,8,["campaign-id","briefing-id"]))]),_:1},8,["modelValue"]))}}),R={class:"tx-subtitle-1 mr-auto"},E=I({__name:"index",setup(e){const a=v(),m=g(()=>a.params.campaignId),o=g(()=>a.params.briefingId),{data:t}=S(m,o),i=_(!1),r=_(0);return(p,n)=>(d(),f(h,null,{default:l(()=>[c(N,null,{header:l(()=>[$("h2",R,x(s(t)?.title)+" proposals",1)]),actions:l(()=>[c(B,{density:"comfortable",rounded:"",color:"primary",icon:s(k).plus,disabled:!s(t),onClick:n[0]||(n[0]=u=>i.value=!0)},null,8,["icon","disabled"])]),default:l(()=>[(d(),f(M,{key:r.value,"show-interface":!1,"forced-filters":{briefingId:o.value}},null,8,["forced-filters"]))]),_:1}),s(t)?(d(),f(P,{key:0,modelValue:i.value,"onUpdate:modelValue":n[1]||(n[1]=u=>i.value=u),briefing:s(t),onSubmitted:n[2]||(n[2]=u=>r.value++)},null,8,["modelValue","briefing"])):C("",!0)]),_:1}))}});typeof y=="function"&&y(E);export{E as default}; 2//# sourceMappingURL=index-CtG6Y3sJ.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.