PageSourceSearch

https://detroitdancecityfestival.com/static/js/dataScope-CMJ9YUWf.js

js detroitdancecityfestival.com collected 2026-10-07 06:27:48 UTC 1,655 bytes, 1 lines download raw bytes

1import{r as c}from"./rolldown-runtime-BNNRdYrd.js";import{At as l,Ct as i,L as _,M as f,Q as b,V as v,it as P,ut as S,w as y,zt as h}from"./vue.runtime.esm-bundler-BXOQDxND.js";import{t as C}from"./useTrans-CkcD2w_Z.js";import{t as g}from"./ma-dict-select-DmrvfrO5.js";import{r as x}from"./department-DLghjjw2.js";import{t as V}from"./ma-tree-D5K0jTaS.js";_();i();var M=f({name:"DataScope",__name:"dataScope",props:v({label:{default:"名称"}},{modelValue:{default:()=>({})},modelModifiers:{}}),emits:["update:modelValue"],setup(o,{expose:d}){const a=S(o,"modelValue"),r=l(),e=C().globalTrans,s=l([]);x().then(t=>{s.value=t.data?.list});const n=l([{label:()=>o.label,prop:"name",render:"input",renderProps:{disabled:!0}},{label:()=>e("basePost.dataScope"),prop:"policy_type",render:()=>g,renderProps:{placeholder:e("form.pleaseSelect",{msg:e("basePost.dataScope")}),dictName:"data-scope",clearable:!0,onClear:()=>{a.value={}}}},{label:()=>e("basePost.selectDept"),prop:"value",show:()=>a.value?.policy_type==="CUSTOM_DEPT",render:()=>V,renderProps:{ref:t=>r.value=t,class:"w-full",showCheckbox:!0,props:{label:"name"},placeholder:e("form.pleaseSelect",{msg:e("basePost.selectDept")}),nodeKey:"id",data:s}},{label:()=>e("basePost.callFunc"),prop:"func_name",show:()=>a.value?.policy_type==="CUSTOM_FUNC",render:"input",renderProps:{placeholder:e("form.pleaseInput",{msg:e("basePost.callFunc")})}}]);return d({deptRef:r}),(t,p)=>{const m=P("ma-form");return b(),y(m,{modelValue:a.value,"onUpdate:modelValue":p[0]||(p[0]=u=>a.value=u),items:h(n),options:{labelWidth:"90px"}},null,8,["modelValue","items"])}}}),B=c({default:()=>w}),w=M;export{B as n,w as t};

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.