import{C as e,Y as t,dt as n,j as r,k as i}from"./vue.runtime.esm-bundler-DpGzKKN4.js";import{i as a,o}from"./GxPagination-DOexUzbO.js";import{n as s,t as c}from"./form-Bb1_iOEA.js";import{t as l}from"./_plugin-vue_export-helper-CnS4QQza.js";import"./css-j23UczC-.js";var u=r({name:`EnvVariableSelector`,props:{modelValue:{type:String,default:``},labelWidth:{type:String,default:``}},emits:[`update:modelValue`],computed:{selectedValue:{get(){return this.$props.modelValue},set(e){this.$emit(`update:modelValue`,e)}},formRules(){return{valueSource:[{required:!0,message:`请选择值来源对象`,trigger:`change`}]}}}});function d(r,l,u,d,f,p){let m=a,h=o,g=s,_=c;return t(),e(_,{model:{valueSource:r.selectedValue},rules:r.formRules,"label-width":r.labelWidth},{default:n(()=>[i(g,{label:`值来源对象`,prop:`valueSource`,error:r.selectedValue?``:`请选择值来源对象`},{default:n(()=>[i(h,{modelValue:r.selectedValue,"onUpdate:modelValue":l[0]||=e=>r.selectedValue=e,placeholder:`请选择环境变量的值来源对象`},{default:n(()=>[i(m,{label:`当前时间`,value:`Now`}),i(m,{label:`当前用户ID`,value:`UserID`}),i(m,{label:`当前用户唯一ID`,value:`UserGXID`}),i(m,{label:`当前用户名称`,value:`UserName`}),i(m,{label:`当前用户企业ID`,value:`OrgID`}),i(m,{label:`当前用户企业唯一ID`,value:`OrgGXID`}),i(m,{label:`当前用户企业名称`,value:`OrgName`}),i(m,{label:`当前用户部门ID`,value:`DeptID`}),i(m,{label:`当前用户部门名称`,value:`DeptName`}),i(m,{label:`分页查询起始ID`,value:`QueryBeginRowID`}),i(m,{label:`分页查询结束ID`,value:`QueryEndRowID`})]),_:1},8,[`modelValue`])]),_:1},8,[`error`])]),_:1},8,[`model`,`rules`,`label-width`])}var f=l(u,[[`render`,d]]);export{f as t};