PageSourceSearch

https://grouprev.com/build/assets/FundraiserPageCustomFieldsPage-oy5MajPJ.js

js grouprev.com collected 2026-09-26 00:48:51 UTC 1,871 bytes, 2 lines download raw bytes

1import{_ as f,B as m,T as g,D as _,c as h,o as p,f as a,e as r,r as i,w as P,g as F,a3 as n}from"./app-6TUkk-lE.js";const w={name:"FundraiserPageCustomFieldsPage",components:{TwValidationErrors:_,TwButton:g,TwInput:m},props:{fundraiserPageId:{type:Number,required:!0}},data(){return{Error:null,Loading:!1,FundraiserPageCustomFields:{student_id:null}}},computed:{fundraiserPage(){return n().getItemById(this.fundraiserPageId)}},async mounted(){this.fundraiserPageId&&(await n().fetchItemById(this.fundraiserPageId),this.fundraiserPage.custom_fields&&(this.FundraiserPageCustomFields=this.fundraiserPage.custom_fields))},methods:{async saveFundraiserPageCustomFields(){if(this.fundraiserPageId)try{this.Error=null,this.Loading=!0,await n().fundraiserPageCustomFieldsPatch(this.fundraiserPageId,{student_id:this.FundraiserPageCustomFields.student_id}),this.Loading=!1,this.$notify("Custom Fields Saved successfully")}catch(t){this.Error=t.response?t.response.data:null,this.Loading=!1}else console.log("what")}}},C={class:"flex justify-center"},v={class:"form-width"},I={class:"form-spacing"},y={class:"flex justify-center mt-3"};function x(t,e,B,V,s,o){const d=i("tw-input"),u=i("tw-validation-errors"),l=i("tw-button");return p(),h("div",C,[a("div",v,[a("div",I,[r(d,{modelValue:s.FundraiserPageCustomFields.student_id,"onUpdate:modelValue":e[0]||(e[0]=c=>s.FundraiserPageCustomFields.student_id=c),label:"Student ID"},null,8,["modelValue"]),r(u,{"validation-result-error":s.Error},null,8,["validation-result-error"]),a("div",y,[r(l,{loading:s.Loading,size:"padded",variant:"dark",block:"",class:"w-full sm:w-auto",onClick:o.saveFundraiserPageCustomFields},{default:P(()=>[...e[1]||(e[1]=[F(" Save Changes ",-1)])]),_:1},8,["loading","onClick"])])])])])}const E=f(w,[["render",x]]);export{E as default};
2//# sourceMappingURL=FundraiserPageCustomFieldsPage-oy5MajPJ.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.