PageSourceSearch

https://www.simplificandocoma99pay.com/assets/ModalConfigPainel-DgDqHeF1.js

js simplificandocoma99pay.com collected 2026-10-06 09:00:35 UTC 2,127 bytes, 2 lines download raw bytes

1import{d as b,o as h,J as u,B as C,D as j,E as r,G as y,x as a,u as $,k as d}from"./vue-vendor-INGkSYj-.js";import{m as B,M as k,d as I,l as M,n as S,_ as x}from"./index-BpNOU6gE.js";import{u as z}from"./i18n-CWNCaoCu.js";import{a as F}from"./http-Cu0Iq-TM.js";import"./date-utils-TvFu0w8n.js";import"./validation-tX0D59dK.js";const N={class:"modal-config-painel__inputs"},U=b({__name:"ModalConfigPainel",emits:["close"],setup(w,{emit:v}){const{t:m}=z(),l=B(),f=v,s=d(""),i=d(""),_=d("");function g(){f("close")}function P(){_.value=l.site.id,s.value=l.site.name,i.value=l.site.description}function V(){const e={name:s.value,description:i.value};F.post("https://api.voompplay.com.br/site/"+_.value,e,{headers:{Authorization:I.get("auth_greennCourse")}}).then(()=>{f("close"),l.fetch(),M.emit("success",{message:m("settings.custom.config_updated_success"),title:m("settings.custom.updated_label")})}).catch(t=>{const n=t.response.data;let o="";for(const c in n)o+=n[c][0]+"<br>";o!==""&&S(o)})}return h(()=>{P()}),(e,t)=>{const n=u("InputPlayV3"),o=u("FieldPlay"),c=u("ButtonPlayV2");return C(),j($(k),{size:"xs",title:e.$t("config_panel.title"),onClose:g},{footer:r(()=>[a(c,{text:e.$t("config_panel.cancel"),variant:"ghost",onClick:g},null,8,["text"]),a(c,{text:e.$t("config_panel.save"),variant:"filled",onClick:V},null,8,["text"])]),default:r(()=>[y("div",N,[a(o,{"label-for":"name-project",label:e.$t("config_panel.name")},{default:r(()=>[a(n,{id:"name-project-input",modelValue:s.value,"onUpdate:modelValue":t[0]||(t[0]=p=>s.value=p),name:"name-project",placeholder:e.$t("config_panel.name")},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),a(o,{"label-for":"description-project",label:e.$t("config_panel.description")},{default:r(()=>[a(n,{id:"description-project-input",modelValue:i.value,"onUpdate:modelValue":t[1]||(t[1]=p=>i.value=p),name:"description-project",placeholder:e.$t("config_panel.description")},null,8,["modelValue","placeholder"])]),_:1},8,["label"])])]),_:1},8,["title"])}}}),H=x(U,[["__scopeId","data-v-5b3b5219"]]);export{H as default};
2//# sourceMappingURL=ModalConfigPainel-DgDqHeF1.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.