1import{u as i}from"./usePRXForm-49722dad.js";import{_ as d}from"./FormSection.vue_vue_type_script_setup_true_lang-999ca092.js";import{d as m,r as p,g as a,o as _,j as f,w as e,a as b,h as o,u as n,X as h}from"./debounce-066c2ac9.js";const g={class:"p-6"},j=m({__name:"Create",props:{categories:{type:Object},portalTypes:{type:Object}},setup(t){const s=p(route("admin.contents.news-and-events.index")),{form:r,submit:l}=i({article_category_id:null,portal:null,title:null,author:null,date_published:null,description:null,headline_image:null,thumbnail_image:null,is_featured:!1},route("admin.contents.news-and-events.store"));return(y,k)=>{const c=a("jet-button"),u=a("admin-layout");return _(),f(u,{title:"Create News and Event","show-back":!0,"back-url":s.value},{default:e(()=>[b("div",g,[o(d,{form:n(r),categories:t.categories,portalTypes:t.portalTypes},{default:e(()=>[o(c,{onClick:n(l)},{default:e(()=>[h(" Save Changes ")]),_:1},8,["onClick"])]),_:1},8,["form","categories","portalTypes"])])]),_:1},8,["back-url"])}}});export{j as default};
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.