PageSourceSearch

https://shilpee.org.np/_nuxt/hwIi2xGU.js

js shilpee.org.np collected 2026-10-08 19:44:44 UTC 1,307 bytes, 1 lines download raw bytes

1import{_ as u}from"./DN9aMrSJ.js";import{j as _,h as g,T as f,g as h,S as b,u as v,o as x,c as T,a as e,b as y,i as w,K as C}from"./DIQ1dSc3.js";import{u as d}from"./Ij9M3I1y.js";import"./wA0rFeiY.js";import"./9vMxpzyZ.js";import"./X2Csw6kG.js";import"./CJticlRS.js";import"./aDpYqbUN.js";import"./BWluSjyB.js";import"./DXqQCM1T.js";import"./Dgl7Syl4.js";const E={class:"block"},P=e("div",{class:"bg-stone-50"},[e("h1",{class:"text-xl font-bold text-gray-600 p-10 pl-6"},"Update Tag")],-1),$={class:"bg-white rounded rounded-b-2xl"},J=_({__name:"[id]",async setup(k){let a,s;const o=g().params.id;function c(t){return t>>>0===parseFloat(t)}if(c(o)===!1)throw f({statusCode:404,statusMessage:"Page Not Found. Invalid URL.",data:{reason:"`id` route param is not a number"}});const r=o,{data:l}=([a,s]=h(()=>d(`/api/stgadmin/tag/${r}`,"$EnC1gluoem")),a=await a,s(),a),i=b();async function m(t){const{error:n}=await d(`/api/stgadmin/tag/${r}`,{method:"PATCH",body:JSON.stringify(t.data)},"$vWvl4tc7qr");n.value?i.add({title:"Error updating tag. Please check values.",color:"red"}):(i.add({title:"Updated"}),C("/stgadmin/tag"))}return v({title:"Edit Tag | Shilpee"}),(t,n)=>{const p=u;return x(),T("div",E,[P,e("div",$,[y(p,{state:w(l),submit:m,class:"p-10 pl-6"},null,8,["state"])])])}}});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.