PageSourceSearch

https://rary996-nocodb-bds-workspace.hf.space/_nuxt/jJilZhnj.js

js rary996-nocodb-bds-workspace.hf.space collected 2026-10-03 17:19:28 UTC 2,549 bytes, 1 lines download raw bytes

1import{aK as P,cE as E,dz as I,d0 as U,r as p,ac as _,ad as f,aU as o,ae as c,aV as t,b9 as m,cV as B,b7 as i,dY as C,z as a,d2 as $,fI as z,cU as F,aX as M,cP as j,aR as K,ba as O,dl as T,a_ as q,aD as H,aJ as L,t as G}from"./k_FZmhOk.js";const J=""+new URL("grid.DUgR9AKo.png",import.meta.url).href,W={class:"flex flex-col gap-5"},X={class:"flex flex-row items-center gap-x-2 text-base font-weight-700 text-nc-content-gray"},Y={key:0,class:"mt-3 mb-2 text-sm text-nc-content-red-medium"},Q={class:"flex flex-row justify-end gap-x-2"},Z=P({__name:"AskPassword",props:{modelValue:{type:Boolean}},emits:["update:modelValue"],setup(b,{emit:g}){const w=b,v=g,h=E(),x=I(),{loadSharedDashboard:y}=h,n=U(w,"modelValue",v),r=p({password:void 0}),l=p(null),u=async()=>{try{await y(x.params.dashboardId,r.value.password),n.value=!1}catch(e){const s=await H(e);console.error(s.message),s.error===L.ERR_SHARED_DASHBOARD_PASSWORD_INVALID?l.value=s.message:G.error(s.message)}},R=e=>{var s;return(s=e==null?void 0:e.focus)==null?void 0:s.call(e)};return(e,s)=>{const k=B,D=z,S=$,V=C,A=j,N=T;return f(),_(q,null,[o(N,{visible:a(n),"onUpdate:visible":s[2]||(s[2]=d=>O(n)?n.value=d:null),size:"small",class:K({active:a(n)}),"mask-closable":!1,"mask-style":{backgroundColor:"rgba(255, 255, 255, 0.64)",backdropFilter:"blur(8px)"}},{default:t(()=>[c("div",W,[c("div",X,[o(k,{icon:"ncKey",class:"!text-base w-5 h-5"}),m(" "+i(e.$t("msg.thisSharedDashboardIsProtected")),1)]),o(V,{ref:"formRef",model:a(r),name:"create-new-table-form",onFinish:u},{default:t(()=>[o(S,{name:"password",rules:[{required:!0,message:e.$t("msg.error.signUpRules.passwdRequired")}],class:"!mb-0"},{default:t(()=>[o(D,{ref:R,value:a(r).password,"onUpdate:value":s[0]||(s[0]=d=>a(r).password=d),class:"!rounded-lg !text-small","hide-details":"",placeholder:e.$t("msg.enterPassword"),onInput:s[1]||(s[1]=d=>l.value=null)},null,8,["value","placeholder"]),o(F,{name:"layout"},{default:t(()=>[a(l)?(f(),_("div",Y,i(a(l)),1)):M("",!0)]),_:1})]),_:1},8,["rules"])]),_:1},8,["model"]),c("div",Q,[o(A,{disabled:!a(r).password,type:"primary",size:"small","html-type":"submit",class:"!px-2","data-testid":"nc-shared-dashboard-password-submit-btn",onClick:u},{loading:t(()=>[m(i(e.$t("msg.verifyingPassword")),1)]),default:t(()=>[m(i(e.$t("objects.view"))+" ",1)]),_:1},8,["disabled"])])])]),_:1},8,["visible","class"]),s[3]||(s[3]=c("img",{alt:"view image",src:J,class:"fixed inset-0 w-full h-full"},null,-1))],64)}}}),es=Object.assign(Z,{__name:"SmartsheetDashboardAskPassword"});export{es 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.