@vunk/form 2.19.18 → 2.19.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/components/card-input-collection/index.cjs +1 -1
  2. package/components/card-input-collection/index.mjs +1 -1
  3. package/components/dialog-input-collection/index.cjs +1 -1
  4. package/components/dialog-input-collection/index.mjs +1 -1
  5. package/components/download-plus/index.cjs +1 -1
  6. package/components/download-plus/index.mjs +1 -1
  7. package/components/editable-text/index.cjs +1 -1
  8. package/components/editable-text/index.mjs +108 -74
  9. package/components/editable-text/src/ctx.d.ts +31 -8
  10. package/components/editable-text/src/index.vue.d.ts +29 -0
  11. package/components/esri-input-geojson/index.cjs +1 -1
  12. package/components/esri-input-geojson/index.mjs +1 -1
  13. package/components/form-item/index.cjs +1 -1
  14. package/components/form-item/index.mjs +55 -51
  15. package/components/index-BBriTmQP.js +1 -0
  16. package/components/{index-BCZuzyeO.mjs → index-CeHbpfCD.mjs} +51 -36
  17. package/components/input-array/index.cjs +1 -1
  18. package/components/input-array/index.mjs +1 -1
  19. package/components/input-collection/index.cjs +1 -1
  20. package/components/input-collection/index.mjs +1 -1
  21. package/components/input-link/index.cjs +1 -1
  22. package/components/input-link/index.mjs +1 -1
  23. package/components/select/index.cjs +1 -1
  24. package/components/select/index.mjs +132 -115
  25. package/components/select/src/core.vue.d.ts +11 -1
  26. package/components/select/src/ctx.d.ts +8 -1
  27. package/components/select/src/index.vue.d.ts +9 -0
  28. package/components/style.css +1 -1
  29. package/components/templates-default/src/index.vue.d.ts +9 -0
  30. package/components/upload/index.cjs +1 -1
  31. package/components/upload/index.mjs +1 -1
  32. package/components/upload-plus/index.cjs +1 -1
  33. package/components/upload-plus/index.mjs +1 -1
  34. package/index.css +1 -1
  35. package/package.json +1 -1
  36. package/components/index-DSyxYMB0.js +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("@vunk/form/components/input"),t=require("vue"),p=require("element-plus"),y=require("../index-DSyxYMB0.js"),b=require("@vunk/core/shared/utils-object"),h=require("@vunk/form/composables"),v=require("@vunk/form/composables/element-plus"),g=require("../_plugin-vue_export-helper-BHFhmbuH.js"),V={...r._VkfInputCtx.props,type:{type:String,default:"textarea"},rows:{type:Number,default:4},label:{type:String,default:void 0},placeholder:{type:String,default:void 0},readonly:{type:Boolean,default:void 0},uploadUrl:{type:String,default:"https://pan.baidu.com/disk/main#/index?category=all"},referenceUrl:{type:String,default:"https://pan.baidu.com/disk/main#/index?category=all"},referenceOnly:{type:Boolean,default:!1},referenceLabel:{type:String,default:void 0},modelValue:{type:String,default:""}},L={...r._VkfInputCtx.emits},I=t.defineComponent({name:"VkfInputLink",components:{VkfInput:r.VkfInput},props:V,emits:L,setup(e,{emit:a}){const u=r._VkfInputCtx.createBindProps(e),i=r._VkfInputCtx.createOnEmits(a),s=h.useComputedReadonly(e),{tr:l}=v.useLocale(),o=t.computed(()=>e.label||l("vkf.inputLink.label","回填地址")),c=t.computed(()=>e.placeholder||l("vkf.inputLink.placeholder","上传文件后, 将文件下载地址粘贴到此处")),f=t.computed(()=>e.referenceLabel||l("vkf.inputLink.referenceLabel","参考地址")),k=n=>()=>t.h(p.ElButton,{onClick:()=>window.open(n),disabled:!n},()=>t.h(p.ElIcon,{class:"vkf-input-link-icon",size:16},()=>t.h(y.right_default))),m=t.computed(()=>{const n=[{pattern:/^(http|https):\/\/([\w.]+\/?)\S*$/,message:l("vkf.inputLink.invalidUrl","请输入正确的链接地址")}];return Array.isArray(e.rules)&&n.push(...e.rules),b.isPlainObject(e.rules)&&n.push(e.rules),n});return{coreProps:u,coreEmits:i,createAppendEl:k,inputLabel:o,inputPlaceholder:c,rules:m,theReferenceLabel:f,readonly:s}}}),S={class:"vkf-form-item vkf-input-link"};function P(e,a,u,i,s,l){const o=t.resolveComponent("VkfInput");return t.openBlock(),t.createElementBlock("div",S,[t.createVNode(o,{label:e.theReferenceLabel,disabled:!0,"model-value":e.referenceUrl??e.uploadUrl,"input-slots":{append:e.createAppendEl(e.referenceUrl??e.uploadUrl)}},null,8,["label","model-value","input-slots"]),e.referenceOnly?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(o,t.mergeProps({key:0},e.coreProps,{label:e.inputLabel,placeholder:e.inputPlaceholder,rules:e.rules,readonly:e.readonly,type:e.readonly?"text":e.type,"input-slots":{append:e.readonly?e.createAppendEl(e.modelValue):void 0}},t.toHandlers(e.coreEmits)),null,16,["label","placeholder","rules","readonly","type","input-slots"]))])}const d=g._export_sfc(I,[["render",P]]),C=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));exports.VkfInputLink=d;exports.__VkfInputLink=C;exports.default=d;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("@vunk/form/components/input"),t=require("vue"),p=require("element-plus"),y=require("../index-BBriTmQP.js"),b=require("@vunk/core/shared/utils-object"),h=require("@vunk/form/composables"),v=require("@vunk/form/composables/element-plus"),g=require("../_plugin-vue_export-helper-BHFhmbuH.js"),V={...r._VkfInputCtx.props,type:{type:String,default:"textarea"},rows:{type:Number,default:4},label:{type:String,default:void 0},placeholder:{type:String,default:void 0},readonly:{type:Boolean,default:void 0},uploadUrl:{type:String,default:"https://pan.baidu.com/disk/main#/index?category=all"},referenceUrl:{type:String,default:"https://pan.baidu.com/disk/main#/index?category=all"},referenceOnly:{type:Boolean,default:!1},referenceLabel:{type:String,default:void 0},modelValue:{type:String,default:""}},L={...r._VkfInputCtx.emits},I=t.defineComponent({name:"VkfInputLink",components:{VkfInput:r.VkfInput},props:V,emits:L,setup(e,{emit:a}){const u=r._VkfInputCtx.createBindProps(e),i=r._VkfInputCtx.createOnEmits(a),s=h.useComputedReadonly(e),{tr:l}=v.useLocale(),o=t.computed(()=>e.label||l("vkf.inputLink.label","回填地址")),c=t.computed(()=>e.placeholder||l("vkf.inputLink.placeholder","上传文件后, 将文件下载地址粘贴到此处")),f=t.computed(()=>e.referenceLabel||l("vkf.inputLink.referenceLabel","参考地址")),k=n=>()=>t.h(p.ElButton,{onClick:()=>window.open(n),disabled:!n},()=>t.h(p.ElIcon,{class:"vkf-input-link-icon",size:16},()=>t.h(y.right_default))),m=t.computed(()=>{const n=[{pattern:/^(http|https):\/\/([\w.]+\/?)\S*$/,message:l("vkf.inputLink.invalidUrl","请输入正确的链接地址")}];return Array.isArray(e.rules)&&n.push(...e.rules),b.isPlainObject(e.rules)&&n.push(e.rules),n});return{coreProps:u,coreEmits:i,createAppendEl:k,inputLabel:o,inputPlaceholder:c,rules:m,theReferenceLabel:f,readonly:s}}}),S={class:"vkf-form-item vkf-input-link"};function P(e,a,u,i,s,l){const o=t.resolveComponent("VkfInput");return t.openBlock(),t.createElementBlock("div",S,[t.createVNode(o,{label:e.theReferenceLabel,disabled:!0,"model-value":e.referenceUrl??e.uploadUrl,"input-slots":{append:e.createAppendEl(e.referenceUrl??e.uploadUrl)}},null,8,["label","model-value","input-slots"]),e.referenceOnly?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(o,t.mergeProps({key:0},e.coreProps,{label:e.inputLabel,placeholder:e.inputPlaceholder,rules:e.rules,readonly:e.readonly,type:e.readonly?"text":e.type,"input-slots":{append:e.readonly?e.createAppendEl(e.modelValue):void 0}},t.toHandlers(e.coreEmits)),null,16,["label","placeholder","rules","readonly","type","input-slots"]))])}const d=g._export_sfc(I,[["render",P]]),C=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));exports.VkfInputLink=d;exports.__VkfInputLink=C;exports.default=d;
@@ -1,7 +1,7 @@
1
1
  import { _VkfInputCtx as o, VkfInput as k } from "@vunk/form/components/input";
2
2
  import { defineComponent as b, computed as r, h as a, resolveComponent as h, openBlock as u, createElementBlock as v, createVNode as L, createBlock as g, mergeProps as V, toHandlers as S, createCommentVNode as E } from "vue";
3
3
  import { ElButton as I, ElIcon as P } from "element-plus";
4
- import { r as B } from "../index-BCZuzyeO.mjs";
4
+ import { r as B } from "../index-CeHbpfCD.mjs";
5
5
  import { isPlainObject as U } from "@vunk/core/shared/utils-object";
6
6
  import { useComputedReadonly as C } from "@vunk/form/composables";
7
7
  import { useLocale as O } from "@vunk/form/composables/element-plus";
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),h=require("@vunk/form/components/form-item"),f=require("element-plus"),C=require("@vunk/core/shared/utils-vue"),O=require("@vunk/form/shared/element-plus"),k=require("@vunk/core/shared/utils-object"),E=require("@vunk/form/composables"),$=require("../_plugin-vue_export-helper-BHFhmbuH.js"),y={...h._VkfFormItemCtx.props,...f.selectProps,modelValue:null,props:{type:Object,default:()=>({})},options:{type:Array,default:()=>[]},selectSlots:{type:Object,default:void 0},selectRef:null,optionsUrl:{type:String,default:""},stringify:{type:Boolean,default:!1},slots:null,optionChildrenProp:{type:String,default:""}},I=C.bindPropsFactory(y),b={...f.selectEmits,"update:modelValue":null},_=C.onEmitsFactory(b),q=Object.freeze(Object.defineProperty({__proto__:null,createBindProps:I,createOnEmits:_,emits:b,props:y},Symbol.toStringTag,{value:"Module"}));function w(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!t.isVNode(e)}const F=t.defineComponent({props:{data:{type:Array,required:!0},optionChildrenProp:{type:String,default:""},labelProp:{type:String,default:"label"},valueProp:{type:String,default:"value"},disabledProp:{type:String,default:"disabled"}},setup(e,{slots:n}){const u=o=>{let i;return e.optionChildrenProp&&Array.isArray(o[e.optionChildrenProp])&&o[e.optionChildrenProp].length>0?t.createVNode(f.ElOptionGroup,{label:o[e.labelProp],key:o[e.valueProp]||o[e.labelProp],disabled:o[e.disabledProp]},w(i=o[e.optionChildrenProp].map(d=>t.createVNode(u,t.mergeProps({key:d.value},d),null)))?i:{default:()=>[i]}):t.createVNode(f.ElOption,{key:o[e.valueProp]||o[e.labelProp],value:o[e.valueProp],class:o.class,created:o.created,disabled:o[e.disabledProp],label:o[e.labelProp],ref:o.ref,style:o.style},{default:()=>n.option?n.option(o):o[e.labelProp]})};return()=>e.data.map(o=>u(o))}}),M=t.defineComponent({components:{VkfFormItem:h.VkfFormItem,ElSelect:f.ElSelect,ElOption:f.ElOption,Options:F},props:y,emits:b,setup(e,{emit:n}){const u=h._VkfFormItemCtx.createBindProps(e),o=O.createSelectBindProps(e,["disabled","modelValue"]),i=O.createSelectOnEmits(n,["update:modelValue"]),P=E.useComputedReadonly(e),d=t.ref(),v=l=>{var r;(r=e.selectRef)==null||r.call(e,l),d.value=l==null?void 0:l.$el},m=E.useRtl(d),a=t.computed(()=>t.normalizeClass([e.popperClass,{"is-rtl":m.value}])),V=t.computed({get:()=>e.multiple&&e.stringify&&typeof e.modelValue=="string"?e.modelValue?e.modelValue.split(","):[]:e.modelValue??e.defaultModelValue,set:l=>{if(e.multiple&&e.stringify&&Array.isArray(l)){const r=l.reduce((p,s)=>(typeof s=="string"?p.push(s):k.isNotEmptyObject(s)&&s[e.valueKey]!==void 0&&p.push(s[e.valueKey]),p),[]).join(",");n("update:modelValue",r);return}n("update:modelValue",l)}}),c=t.ref([]),g=l=>{l?fetch(l).then(r=>r.json()).then(r=>{c.value=r}):c.value=[]};e.optionsUrl&&g(e.optionsUrl),t.watch(()=>e.optionsUrl,l=>{n("update:modelValue",void 0),g(l)});const B=l=>k.isPlainObject(l.value)?l.value[o.value.valueKey]:l.value,R=t.computed(()=>(c.value.length?c.value:e.options).reduce((r,p)=>{const s=B(p);return!s&&s!==0&&s!==!1||r.push({...p,key:s}),r},[])),S=t.ref(!0);return t.watch(()=>o.value.multiple,()=>{n("update:modelValue",void 0),S.value=!1,t.nextTick(()=>{S.value=!0})}),{formItemBindProps:u,selectBindProps:o,selectOnEmits:i,selectOptions:R,reshow:S,readonly:P,theModelValue:V,selectRefResolve:v,isRtl:m,thePropperClass:a}}});function N(e,n,u,o,i,P){const d=t.resolveComponent("Options"),v=t.resolveComponent("ElSelect"),m=t.resolveComponent("VkfFormItem");return t.openBlock(),t.createBlock(m,t.normalizeProps(t.guardReactiveProps(e.formItemBindProps)),{default:t.withCtx(()=>[e.reshow?(t.openBlock(),t.createBlock(v,t.mergeProps({key:0},e.selectBindProps,{ref:e.selectRefResolve,modelValue:e.theModelValue,"onUpdate:modelValue":n[0]||(n[0]=a=>e.theModelValue=a),disabled:e.readonly||e.disabled,class:{"is-readonly":e.readonly},"popper-class":e.thePropperClass},t.toHandlers(e.selectOnEmits)),t.createSlots({default:t.withCtx(()=>[t.createVNode(d,{data:e.selectOptions,"option-children-prop":e.props.options??e.optionChildrenProp,"label-prop":e.props.label,"value-prop":e.props.value,"disabled-prop":e.props.disabled},{option:t.withCtx(a=>[t.renderSlot(e.$slots,"option",t.normalizeProps(t.guardReactiveProps(a)))]),_:3},8,["data","option-children-prop","label-prop","value-prop","disabled-prop"]),t.renderSlot(e.$slots,"footer")]),_:2},[t.renderList(e.selectSlots,(a,V)=>({name:V,fn:t.withCtx(c=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(a==null?void 0:a(c))))])}))]),1040,["modelValue","disabled","class","popper-class"])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"default")]),_:3},16)}const U=$._export_sfc(M,[["render",N]]),j=t.defineComponent({name:"VkfSelect",props:y,emits:b,setup(e,{emit:n,slots:u}){const o=_(n);return()=>t.h(U,{...e,...C.vOn(o)},{...e.slots,...u})}}),A=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));exports.VkfSelect=j;exports._VkfSelectCtx=q;exports.__VkfSelect=A;exports.default=j;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),C=require("@vunk/form/components/form-item"),p=require("element-plus"),O=require("@vunk/core/shared/utils-vue"),E=require("@vunk/form/shared/element-plus"),_=require("@vunk/core/shared/utils-object"),j=require("@vunk/form/composables"),F=require("../_plugin-vue_export-helper-BHFhmbuH.js"),y={...C._VkfFormItemCtx.props,...p.selectProps,modelValue:null,props:{type:Object,default:()=>({})},options:{type:Array,default:()=>[]},selectSlots:{type:Object,default:void 0},selectRef:null,optionsUrl:{type:String,default:""},stringify:{type:Boolean,default:!1},slots:null,optionChildrenProp:{type:String,default:""},closeOnClickOutside:{type:Boolean,default:!0}},N=O.bindPropsFactory(y),b={...p.selectEmits,"update:modelValue":null},B=O.onEmitsFactory(b),U=Object.freeze(Object.defineProperty({__proto__:null,createBindProps:N,createOnEmits:B,emits:b,props:y},Symbol.toStringTag,{value:"Module"}));function A(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!t.isVNode(e)}const z=t.defineComponent({props:{data:{type:Array,required:!0},optionChildrenProp:{type:String,default:""},labelProp:{type:String,default:"label"},valueProp:{type:String,default:"value"},disabledProp:{type:String,default:"disabled"}},setup(e,{slots:n}){const i=o=>{let d;return e.optionChildrenProp&&Array.isArray(o[e.optionChildrenProp])&&o[e.optionChildrenProp].length>0?t.createVNode(p.ElOptionGroup,{label:o[e.labelProp],key:o[e.valueProp]||o[e.labelProp],disabled:o[e.disabledProp]},A(d=o[e.optionChildrenProp].map(u=>t.createVNode(i,t.mergeProps({key:u.value},u),null)))?d:{default:()=>[d]}):t.createVNode(p.ElOption,{key:o[e.valueProp]||o[e.labelProp],value:o[e.valueProp],class:o.class,created:o.created,disabled:o[e.disabledProp],label:o[e.labelProp],ref:o.ref,style:o.style},{default:()=>n.option?n.option(o):o[e.labelProp]})};return()=>e.data.map(o=>i(o))}}),T=t.defineComponent({components:{VkfFormItem:C.VkfFormItem,ElSelect:p.ElSelect,ElOption:p.ElOption,Options:z},props:y,emits:b,setup(e,{emit:n}){const i=C._VkfFormItemCtx.createBindProps(e),o=E.createSelectBindProps(e,["disabled","modelValue"]),d=j.useComputedReadonly(e),m=t.ref(),u=t.ref(),P=l=>{var r;(r=e.selectRef)==null||r.call(e,l),m.value=l==null?void 0:l.$el,u.value=l},f=t.ref(!1),s=t.ref(!1),V=()=>{s.value=!0},S=l=>{n("visible-change",l),!l&&!e.closeOnClickOutside&&!f.value&&!s.value&&u.value&&(u.value.expanded=!0),t.nextTick(()=>{f.value=!1,s.value=!1})},M={...E.createSelectOnEmits(n,["update:modelValue"]),"visible-change":S},g=j.useRtl(m),R=t.computed(()=>t.normalizeClass([e.popperClass,{"is-rtl":g.value}])),$=t.computed({get:()=>e.multiple&&e.stringify&&typeof e.modelValue=="string"?e.modelValue?e.modelValue.split(","):[]:e.modelValue??e.defaultModelValue,set:l=>{if(f.value=!0,e.multiple&&e.stringify&&Array.isArray(l)){const r=l.reduce((c,a)=>(typeof a=="string"?c.push(a):_.isNotEmptyObject(a)&&a[e.valueKey]!==void 0&&c.push(a[e.valueKey]),c),[]).join(",");n("update:modelValue",r);return}n("update:modelValue",l)}}),v=t.ref([]),k=l=>{l?fetch(l).then(r=>r.json()).then(r=>{v.value=r}):v.value=[]};e.optionsUrl&&k(e.optionsUrl),t.watch(()=>e.optionsUrl,l=>{n("update:modelValue",void 0),k(l)});const I=l=>_.isPlainObject(l.value)?l.value[o.value.valueKey]:l.value,q=t.computed(()=>(v.value.length?v.value:e.options).reduce((r,c)=>{const a=I(c);return!a&&a!==0&&a!==!1||r.push({...c,key:a}),r},[])),h=t.ref(!0);return t.watch(()=>o.value.multiple,()=>{n("update:modelValue",void 0),h.value=!1,t.nextTick(()=>{h.value=!0})}),{formItemBindProps:i,selectBindProps:o,selectOnEmits:M,selectOptions:q,reshow:h,readonly:d,theModelValue:$,selectRefResolve:P,isRtl:g,thePropperClass:R,onSelectMousedown:V}}});function K(e,n,i,o,d,m){const u=t.resolveComponent("Options"),P=t.resolveComponent("ElSelect"),f=t.resolveComponent("VkfFormItem");return t.openBlock(),t.createBlock(f,t.normalizeProps(t.guardReactiveProps(e.formItemBindProps)),{default:t.withCtx(()=>[e.reshow?(t.openBlock(),t.createBlock(P,t.mergeProps({key:0},e.selectBindProps,{ref:e.selectRefResolve,modelValue:e.theModelValue,"onUpdate:modelValue":n[0]||(n[0]=s=>e.theModelValue=s),disabled:e.readonly||e.disabled,class:{"is-readonly":e.readonly},"popper-class":e.thePropperClass},t.toHandlers(e.selectOnEmits),{onMousedown:e.onSelectMousedown}),t.createSlots({default:t.withCtx(()=>[t.createVNode(u,{data:e.selectOptions,"option-children-prop":e.props.options??e.optionChildrenProp,"label-prop":e.props.label,"value-prop":e.props.value,"disabled-prop":e.props.disabled},{option:t.withCtx(s=>[t.renderSlot(e.$slots,"option",t.normalizeProps(t.guardReactiveProps(s)))]),_:3},8,["data","option-children-prop","label-prop","value-prop","disabled-prop"]),t.renderSlot(e.$slots,"footer")]),_:2},[t.renderList(e.selectSlots,(s,V)=>({name:V,fn:t.withCtx(S=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(s==null?void 0:s(S))))])}))]),1040,["modelValue","disabled","class","popper-class","onMousedown"])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"default")]),_:3},16)}const G=F._export_sfc(T,[["render",K]]),w=t.defineComponent({name:"VkfSelect",props:y,emits:b,setup(e,{emit:n,slots:i}){const o=B(n);return()=>t.h(G,{...e,...O.vOn(o)},{...e.slots,...i})}}),H=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));exports.VkfSelect=w;exports._VkfSelectCtx=U;exports.__VkfSelect=H;exports.default=w;
@@ -1,14 +1,14 @@
1
- import { defineComponent as j, createVNode as m, mergeProps as F, isVNode as z, ref as S, computed as g, normalizeClass as K, watch as R, nextTick as N, resolveComponent as O, openBlock as C, createBlock as k, normalizeProps as B, guardReactiveProps as $, withCtx as f, toHandlers as G, createSlots as T, renderSlot as E, renderList as q, resolveDynamicComponent as D, createCommentVNode as H, h as L } from "vue";
2
- import { _VkfFormItemCtx as I, VkfFormItem as J } from "@vunk/form/components/form-item";
3
- import { selectProps as Q, selectEmits as W, ElOptionGroup as X, ElOption as U, ElSelect as Y } from "element-plus";
4
- import { bindPropsFactory as Z, onEmitsFactory as x, vOn as ee } from "@vunk/core/shared/utils-vue";
5
- import { createSelectBindProps as te, createSelectOnEmits as le } from "@vunk/form/shared/element-plus";
6
- import { isNotEmptyObject as oe, isPlainObject as ne } from "@vunk/core/shared/utils-object";
7
- import { useComputedReadonly as re, useRtl as ae } from "@vunk/form/composables";
8
- import { _ as se } from "../_plugin-vue_export-helper-CHgC5LLL.mjs";
9
- const y = {
10
- ...I.props,
11
- ...Q,
1
+ import { defineComponent as R, createVNode as v, mergeProps as I, isVNode as D, ref as c, computed as g, normalizeClass as H, watch as M, nextTick as w, resolveComponent as C, openBlock as k, createBlock as E, normalizeProps as $, guardReactiveProps as F, withCtx as y, toHandlers as L, createSlots as J, renderSlot as j, renderList as Q, resolveDynamicComponent as W, createCommentVNode as X, h as Y } from "vue";
2
+ import { _VkfFormItemCtx as U, VkfFormItem as Z } from "@vunk/form/components/form-item";
3
+ import { selectProps as x, selectEmits as ee, ElOptionGroup as le, ElOption as A, ElSelect as oe } from "element-plus";
4
+ import { bindPropsFactory as te, onEmitsFactory as ne, vOn as re } from "@vunk/core/shared/utils-vue";
5
+ import { createSelectBindProps as ae, createSelectOnEmits as se } from "@vunk/form/shared/element-plus";
6
+ import { isNotEmptyObject as ue, isPlainObject as de } from "@vunk/core/shared/utils-object";
7
+ import { useComputedReadonly as ie, useRtl as ce } from "@vunk/form/composables";
8
+ import { _ as pe } from "../_plugin-vue_export-helper-CHgC5LLL.mjs";
9
+ const b = {
10
+ ...U.props,
11
+ ...x,
12
12
  modelValue: null,
13
13
  props: {
14
14
  // For Type
@@ -52,21 +52,28 @@ const y = {
52
52
  optionChildrenProp: {
53
53
  type: String,
54
54
  default: ""
55
+ },
56
+ /**
57
+ * @description 是否在点击外部时关闭下拉菜单
58
+ */
59
+ closeOnClickOutside: {
60
+ type: Boolean,
61
+ default: !0
55
62
  }
56
- }, ue = Z(y), b = {
57
- ...W,
63
+ }, fe = te(b), P = {
64
+ ...ee,
58
65
  "update:modelValue": null
59
- }, A = x(b), ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
66
+ }, z = ne(P), je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60
67
  __proto__: null,
61
- createBindProps: ue,
62
- createOnEmits: A,
63
- emits: b,
64
- props: y
68
+ createBindProps: fe,
69
+ createOnEmits: z,
70
+ emits: P,
71
+ props: b
65
72
  }, Symbol.toStringTag, { value: "Module" }));
66
- function de(e) {
67
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !z(e);
73
+ function me(e) {
74
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !D(e);
68
75
  }
69
- const ie = /* @__PURE__ */ j({
76
+ const ye = /* @__PURE__ */ R({
70
77
  props: {
71
78
  data: {
72
79
  type: Array,
@@ -90,157 +97,167 @@ const ie = /* @__PURE__ */ j({
90
97
  }
91
98
  },
92
99
  setup(e, {
93
- slots: o
100
+ slots: t
94
101
  }) {
95
- const s = (t) => {
102
+ const u = (l) => {
96
103
  let d;
97
- return e.optionChildrenProp && Array.isArray(t[e.optionChildrenProp]) && t[e.optionChildrenProp].length > 0 ? m(X, {
98
- label: t[e.labelProp],
99
- key: t[e.valueProp] || t[e.labelProp],
100
- disabled: t[e.disabledProp]
101
- }, de(d = t[e.optionChildrenProp].map((u) => m(s, F({
102
- key: u.value
103
- }, u), null))) ? d : {
104
+ return e.optionChildrenProp && Array.isArray(l[e.optionChildrenProp]) && l[e.optionChildrenProp].length > 0 ? v(le, {
105
+ label: l[e.labelProp],
106
+ key: l[e.valueProp] || l[e.labelProp],
107
+ disabled: l[e.disabledProp]
108
+ }, me(d = l[e.optionChildrenProp].map((s) => v(u, I({
109
+ key: s.value
110
+ }, s), null))) ? d : {
104
111
  default: () => [d]
105
- }) : m(U, {
106
- key: t[e.valueProp] || t[e.labelProp],
107
- value: t[e.valueProp],
108
- class: t.class,
109
- created: t.created,
110
- disabled: t[e.disabledProp],
111
- label: t[e.labelProp],
112
- ref: t.ref,
113
- style: t.style
112
+ }) : v(A, {
113
+ key: l[e.valueProp] || l[e.labelProp],
114
+ value: l[e.valueProp],
115
+ class: l.class,
116
+ created: l.created,
117
+ disabled: l[e.disabledProp],
118
+ label: l[e.labelProp],
119
+ ref: l.ref,
120
+ style: l.style
114
121
  }, {
115
- default: () => o.option ? o.option(t) : t[e.labelProp]
122
+ default: () => t.option ? t.option(l) : l[e.labelProp]
116
123
  });
117
124
  };
118
- return () => e.data.map((t) => s(t));
125
+ return () => e.data.map((l) => u(l));
119
126
  }
120
- }), pe = j({
127
+ }), ve = R({
121
128
  components: {
122
- VkfFormItem: J,
123
- ElSelect: Y,
124
- ElOption: U,
125
- Options: ie
129
+ VkfFormItem: Z,
130
+ ElSelect: oe,
131
+ ElOption: A,
132
+ Options: ye
126
133
  },
127
- props: y,
128
- emits: b,
129
- setup(e, { emit: o }) {
130
- const s = I.createBindProps(e), t = te(e, ["disabled", "modelValue"]), d = le(o, ["update:modelValue"]), P = re(e), u = S(), v = (l) => {
134
+ props: b,
135
+ emits: P,
136
+ setup(e, { emit: t }) {
137
+ const u = U.createBindProps(e), l = ae(e, ["disabled", "modelValue"]), d = ie(e), f = c(), s = c(), V = (o) => {
131
138
  var n;
132
- (n = e.selectRef) == null || n.call(e, l), u.value = l == null ? void 0 : l.$el;
133
- }, c = ae(u), a = g(() => K([
139
+ (n = e.selectRef) == null || n.call(e, o), f.value = o == null ? void 0 : o.$el, s.value = o;
140
+ }, p = c(!1), r = c(!1), S = () => {
141
+ r.value = !0;
142
+ }, h = (o) => {
143
+ t("visible-change", o), !o && !e.closeOnClickOutside && !p.value && !r.value && s.value && (s.value.expanded = !0), w(() => {
144
+ p.value = !1, r.value = !1;
145
+ });
146
+ }, K = {
147
+ ...se(t, ["update:modelValue"]),
148
+ "visible-change": h
149
+ }, _ = ce(f), N = g(() => H([
134
150
  e.popperClass,
135
151
  {
136
- "is-rtl": c.value
152
+ "is-rtl": _.value
137
153
  }
138
- ])), V = g({
154
+ ])), G = g({
139
155
  get: () => e.multiple && e.stringify && typeof e.modelValue == "string" ? e.modelValue ? e.modelValue.split(",") : [] : e.modelValue ?? e.defaultModelValue,
140
- set: (l) => {
141
- if (e.multiple && e.stringify && Array.isArray(l)) {
142
- const n = l.reduce((p, r) => (typeof r == "string" ? p.push(r) : oe(r) && r[e.valueKey] !== void 0 && p.push(r[e.valueKey]), p), []).join(",");
143
- o("update:modelValue", n);
156
+ set: (o) => {
157
+ if (p.value = !0, e.multiple && e.stringify && Array.isArray(o)) {
158
+ const n = o.reduce((i, a) => (typeof a == "string" ? i.push(a) : ue(a) && a[e.valueKey] !== void 0 && i.push(a[e.valueKey]), i), []).join(",");
159
+ t("update:modelValue", n);
144
160
  return;
145
161
  }
146
- o("update:modelValue", l);
162
+ t("update:modelValue", o);
147
163
  }
148
- }), i = S([]), _ = (l) => {
149
- l ? fetch(l).then((n) => n.json()).then((n) => {
150
- i.value = n;
151
- }) : i.value = [];
164
+ }), m = c([]), B = (o) => {
165
+ o ? fetch(o).then((n) => n.json()).then((n) => {
166
+ m.value = n;
167
+ }) : m.value = [];
152
168
  };
153
- e.optionsUrl && _(e.optionsUrl), R(() => e.optionsUrl, (l) => {
154
- o("update:modelValue", void 0), _(l);
169
+ e.optionsUrl && B(e.optionsUrl), M(() => e.optionsUrl, (o) => {
170
+ t("update:modelValue", void 0), B(o);
155
171
  });
156
- const M = (l) => ne(l.value) ? l.value[t.value.valueKey] : l.value, w = g(() => (i.value.length ? i.value : e.options).reduce((n, p) => {
157
- const r = M(p);
158
- return !r && r !== 0 && r !== !1 || n.push({
159
- ...p,
160
- key: r
172
+ const T = (o) => de(o.value) ? o.value[l.value.valueKey] : o.value, q = g(() => (m.value.length ? m.value : e.options).reduce((n, i) => {
173
+ const a = T(i);
174
+ return !a && a !== 0 && a !== !1 || n.push({
175
+ ...i,
176
+ key: a
161
177
  }), n;
162
- }, [])), h = S(!0);
163
- return R(() => t.value.multiple, () => {
164
- o("update:modelValue", void 0), h.value = !1, N(() => {
165
- h.value = !0;
178
+ }, [])), O = c(!0);
179
+ return M(() => l.value.multiple, () => {
180
+ t("update:modelValue", void 0), O.value = !1, w(() => {
181
+ O.value = !0;
166
182
  });
167
183
  }), {
168
- formItemBindProps: s,
169
- selectBindProps: t,
170
- selectOnEmits: d,
171
- selectOptions: w,
172
- reshow: h,
173
- readonly: P,
174
- theModelValue: V,
175
- selectRefResolve: v,
176
- isRtl: c,
177
- thePropperClass: a
184
+ formItemBindProps: u,
185
+ selectBindProps: l,
186
+ selectOnEmits: K,
187
+ selectOptions: q,
188
+ reshow: O,
189
+ readonly: d,
190
+ theModelValue: G,
191
+ selectRefResolve: V,
192
+ isRtl: _,
193
+ thePropperClass: N,
194
+ onSelectMousedown: S
178
195
  };
179
196
  }
180
197
  });
181
- function ce(e, o, s, t, d, P) {
182
- const u = O("Options"), v = O("ElSelect"), c = O("VkfFormItem");
183
- return C(), k(c, B($(e.formItemBindProps)), {
184
- default: f(() => [
185
- e.reshow ? (C(), k(v, F({ key: 0 }, e.selectBindProps, {
198
+ function be(e, t, u, l, d, f) {
199
+ const s = C("Options"), V = C("ElSelect"), p = C("VkfFormItem");
200
+ return k(), E(p, $(F(e.formItemBindProps)), {
201
+ default: y(() => [
202
+ e.reshow ? (k(), E(V, I({ key: 0 }, e.selectBindProps, {
186
203
  ref: e.selectRefResolve,
187
204
  modelValue: e.theModelValue,
188
- "onUpdate:modelValue": o[0] || (o[0] = (a) => e.theModelValue = a),
205
+ "onUpdate:modelValue": t[0] || (t[0] = (r) => e.theModelValue = r),
189
206
  disabled: e.readonly || e.disabled,
190
207
  class: {
191
208
  "is-readonly": e.readonly
192
209
  },
193
210
  "popper-class": e.thePropperClass
194
- }, G(e.selectOnEmits)), T({
195
- default: f(() => [
196
- m(u, {
211
+ }, L(e.selectOnEmits), { onMousedown: e.onSelectMousedown }), J({
212
+ default: y(() => [
213
+ v(s, {
197
214
  data: e.selectOptions,
198
215
  "option-children-prop": e.props.options ?? e.optionChildrenProp,
199
216
  "label-prop": e.props.label,
200
217
  "value-prop": e.props.value,
201
218
  "disabled-prop": e.props.disabled
202
219
  }, {
203
- option: f((a) => [
204
- E(e.$slots, "option", B($(a)))
220
+ option: y((r) => [
221
+ j(e.$slots, "option", $(F(r)))
205
222
  ]),
206
223
  _: 3
207
224
  }, 8, ["data", "option-children-prop", "label-prop", "value-prop", "disabled-prop"]),
208
- E(e.$slots, "footer")
225
+ j(e.$slots, "footer")
209
226
  ]),
210
227
  _: 2
211
228
  }, [
212
- q(e.selectSlots, (a, V) => ({
213
- name: V,
214
- fn: f((i) => [
215
- (C(), k(D(a == null ? void 0 : a(i))))
229
+ Q(e.selectSlots, (r, S) => ({
230
+ name: S,
231
+ fn: y((h) => [
232
+ (k(), E(W(r == null ? void 0 : r(h))))
216
233
  ])
217
234
  }))
218
- ]), 1040, ["modelValue", "disabled", "class", "popper-class"])) : H("", !0),
219
- E(e.$slots, "default")
235
+ ]), 1040, ["modelValue", "disabled", "class", "popper-class", "onMousedown"])) : X("", !0),
236
+ j(e.$slots, "default")
220
237
  ]),
221
238
  _: 3
222
239
  }, 16);
223
240
  }
224
- const fe = /* @__PURE__ */ se(pe, [["render", ce]]), Oe = j({
241
+ const Pe = /* @__PURE__ */ pe(ve, [["render", be]]), Re = R({
225
242
  name: "VkfSelect",
226
- props: y,
227
- emits: b,
228
- setup(e, { emit: o, slots: s }) {
229
- const t = A(o);
230
- return () => L(fe, {
243
+ props: b,
244
+ emits: P,
245
+ setup(e, { emit: t, slots: u }) {
246
+ const l = z(t);
247
+ return () => Y(Pe, {
231
248
  ...e,
232
- ...ee(t)
249
+ ...re(l)
233
250
  }, {
234
251
  ...e.slots,
235
- ...s
252
+ ...u
236
253
  });
237
254
  }
238
- }), Ce = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
255
+ }), _e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
239
256
  __proto__: null
240
257
  }, Symbol.toStringTag, { value: "Module" }));
241
258
  export {
242
- Oe as VkfSelect,
243
- ge as _VkfSelectCtx,
244
- Ce as __VkfSelect,
245
- Oe as default
259
+ Re as VkfSelect,
260
+ je as _VkfSelectCtx,
261
+ _e as __VkfSelect,
262
+ Re as default
246
263
  };
@@ -34,6 +34,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
34
34
  type: StringConstructor;
35
35
  default: string;
36
36
  };
37
+ closeOnClickOutside: {
38
+ type: BooleanConstructor;
39
+ default: boolean;
40
+ };
37
41
  ariaLabel: StringConstructor;
38
42
  emptyValues: ArrayConstructor;
39
43
  valueOnClear: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | (((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null)) | null)[], unknown, unknown, undefined, boolean>;
@@ -323,6 +327,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
323
327
  appendTo: import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | null)[], unknown, unknown> | undefined;
324
328
  }>;
325
329
  selectOnEmits: {
330
+ 'visible-change': (visible: boolean) => void;
326
331
  clear: (visible: boolean) => void;
327
332
  focus: (visible: boolean) => void;
328
333
  blur: (visible: boolean) => void;
@@ -330,7 +335,6 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
330
335
  "popup-scroll": (visible: boolean) => void;
331
336
  "end-reached": (visible: boolean) => void;
332
337
  "remove-tag": (visible: boolean) => void;
333
- "visible-change": (visible: boolean) => void;
334
338
  };
335
339
  selectOptions: import("vue").ComputedRef<(import("@vunk/shared").VueComponentPropsType<import("element-plus/es/utils/index.mjs").SFCWithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
336
340
  value: {
@@ -412,6 +416,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
412
416
  selectRefResolve: (e: any) => void;
413
417
  isRtl: import("vue").ComputedRef<boolean>;
414
418
  thePropperClass: import("vue").ComputedRef<string>;
419
+ onSelectMousedown: () => void;
415
420
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
416
421
  'update:modelValue': null;
417
422
  change: (val: import("element-plus").SelectProps["modelValue"] | any) => boolean;
@@ -458,6 +463,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
458
463
  type: StringConstructor;
459
464
  default: string;
460
465
  };
466
+ closeOnClickOutside: {
467
+ type: BooleanConstructor;
468
+ default: boolean;
469
+ };
461
470
  ariaLabel: StringConstructor;
462
471
  emptyValues: ArrayConstructor;
463
472
  valueOnClear: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | (((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null)) | null)[], unknown, unknown, undefined, boolean>;
@@ -738,6 +747,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
738
747
  optionsUrl: string;
739
748
  stringify: boolean;
740
749
  optionChildrenProp: string;
750
+ closeOnClickOutside: boolean;
741
751
  valueOnClear: import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | ((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | null)[], unknown, unknown>;
742
752
  automaticDropdown: boolean;
743
753
  filterable: boolean;
@@ -51,6 +51,13 @@ export declare const props: {
51
51
  type: StringConstructor;
52
52
  default: string;
53
53
  };
54
+ /**
55
+ * @description 是否在点击外部时关闭下拉菜单
56
+ */
57
+ closeOnClickOutside: {
58
+ type: BooleanConstructor;
59
+ default: boolean;
60
+ };
54
61
  ariaLabel: StringConstructor;
55
62
  emptyValues: ArrayConstructor;
56
63
  valueOnClear: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | (((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null)) | null)[], unknown, unknown, undefined, boolean>;
@@ -210,7 +217,7 @@ export declare const props: {
210
217
  inlineMessage: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
211
218
  showMessage: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
212
219
  };
213
- export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"required", keyof T2> | Extract<"id", keyof T2> | Extract<"effect", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"offset", keyof T2> | Extract<"placement", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"size", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", keyof T2> | Extract<"labelTipProps", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"name", keyof T2> | Extract<"props", keyof T2> | Extract<"slots", keyof T2> | Extract<"loading", keyof T2> | Extract<"options", keyof T2> | Extract<"selectSlots", keyof T2> | Extract<"selectRef", keyof T2> | Extract<"optionsUrl", keyof T2> | Extract<"stringify", keyof T2> | Extract<"optionChildrenProp", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"automaticDropdown", keyof T2> | Extract<"filterable", keyof T2> | Extract<"allowCreate", keyof T2> | Extract<"remote", keyof T2> | Extract<"debounce", keyof T2> | Extract<"loadingText", keyof T2> | Extract<"noMatchText", keyof T2> | Extract<"noDataText", keyof T2> | Extract<"remoteMethod", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"multiple", keyof T2> | Extract<"multipleLimit", keyof T2> | Extract<"defaultFirstOption", keyof T2> | Extract<"reserveKeyword", keyof T2> | Extract<"valueKey", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"tagTooltip", keyof T2> | Extract<"maxCollapseTags", keyof T2> | Extract<"teleported", keyof T2> | Extract<"persistent", keyof T2> | Extract<"fitInputWidth", keyof T2> | Extract<"tagType", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"remoteShowSuffix", keyof T2> | Extract<"showArrow", keyof T2> | Extract<"appendTo", keyof T2>)[]>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"effect", keyof T2>, KE> | Exclude<Extract<"popperClass", keyof T2>, KE> | Exclude<Extract<"popperStyle", keyof T2>, KE> | Exclude<Extract<"ariaLabel", keyof T2>, KE> | Exclude<Extract<"fallbackPlacements", keyof T2>, KE> | Exclude<Extract<"offset", keyof T2>, KE> | Exclude<Extract<"placement", keyof T2>, KE> | Exclude<Extract<"popperOptions", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> | Exclude<Extract<"formItemSize", keyof T2>, KE> | Exclude<Extract<"formItemSlots", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"inline", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"formItemTip", keyof T2>, KE> | Exclude<Extract<"formItemTipClass", keyof T2>, KE> | Exclude<Extract<"labelTip", keyof T2>, KE> | Exclude<Extract<"information", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"defaultModelValue", keyof T2>, KE> | Exclude<Extract<"labelTipProps", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"error", keyof T2>, KE> | Exclude<Extract<"validateStatus", keyof T2>, KE> | Exclude<Extract<"for", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"autocomplete", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"clearIcon", keyof T2>, KE> | Exclude<Extract<"suffixIcon", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"name", keyof T2>, KE> | Exclude<Extract<"props", keyof T2>, KE> | Exclude<Extract<"slots", keyof T2>, KE> | Exclude<Extract<"loading", keyof T2>, KE> | Exclude<Extract<"options", keyof T2>, KE> | Exclude<Extract<"selectSlots", keyof T2>, KE> | Exclude<Extract<"selectRef", keyof T2>, KE> | Exclude<Extract<"optionsUrl", keyof T2>, KE> | Exclude<Extract<"stringify", keyof T2>, KE> | Exclude<Extract<"optionChildrenProp", keyof T2>, KE> | Exclude<Extract<"emptyValues", keyof T2>, KE> | Exclude<Extract<"valueOnClear", keyof T2>, KE> | Exclude<Extract<"automaticDropdown", keyof T2>, KE> | Exclude<Extract<"filterable", keyof T2>, KE> | Exclude<Extract<"allowCreate", keyof T2>, KE> | Exclude<Extract<"remote", keyof T2>, KE> | Exclude<Extract<"debounce", keyof T2>, KE> | Exclude<Extract<"loadingText", keyof T2>, KE> | Exclude<Extract<"noMatchText", keyof T2>, KE> | Exclude<Extract<"noDataText", keyof T2>, KE> | Exclude<Extract<"remoteMethod", keyof T2>, KE> | Exclude<Extract<"filterMethod", keyof T2>, KE> | Exclude<Extract<"multiple", keyof T2>, KE> | Exclude<Extract<"multipleLimit", keyof T2>, KE> | Exclude<Extract<"defaultFirstOption", keyof T2>, KE> | Exclude<Extract<"reserveKeyword", keyof T2>, KE> | Exclude<Extract<"valueKey", keyof T2>, KE> | Exclude<Extract<"collapseTags", keyof T2>, KE> | Exclude<Extract<"collapseTagsTooltip", keyof T2>, KE> | Exclude<Extract<"tagTooltip", keyof T2>, KE> | Exclude<Extract<"maxCollapseTags", keyof T2>, KE> | Exclude<Extract<"teleported", keyof T2>, KE> | Exclude<Extract<"persistent", keyof T2>, KE> | Exclude<Extract<"fitInputWidth", keyof T2>, KE> | Exclude<Extract<"tagType", keyof T2>, KE> | Exclude<Extract<"tagEffect", keyof T2>, KE> | Exclude<Extract<"remoteShowSuffix", keyof T2>, KE> | Exclude<Extract<"showArrow", keyof T2>, KE> | Exclude<Extract<"appendTo", keyof T2>, KE> : Extract<"required", keyof T2> | Extract<"id", keyof T2> | Extract<"effect", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"offset", keyof T2> | Extract<"placement", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"size", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", keyof T2> | Extract<"labelTipProps", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"name", keyof T2> | Extract<"props", keyof T2> | Extract<"slots", keyof T2> | Extract<"loading", keyof T2> | Extract<"options", keyof T2> | Extract<"selectSlots", keyof T2> | Extract<"selectRef", keyof T2> | Extract<"optionsUrl", keyof T2> | Extract<"stringify", keyof T2> | Extract<"optionChildrenProp", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"automaticDropdown", keyof T2> | Extract<"filterable", keyof T2> | Extract<"allowCreate", keyof T2> | Extract<"remote", keyof T2> | Extract<"debounce", keyof T2> | Extract<"loadingText", keyof T2> | Extract<"noMatchText", keyof T2> | Extract<"noDataText", keyof T2> | Extract<"remoteMethod", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"multiple", keyof T2> | Extract<"multipleLimit", keyof T2> | Extract<"defaultFirstOption", keyof T2> | Extract<"reserveKeyword", keyof T2> | Extract<"valueKey", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"tagTooltip", keyof T2> | Extract<"maxCollapseTags", keyof T2> | Extract<"teleported", keyof T2> | Extract<"persistent", keyof T2> | Extract<"fitInputWidth", keyof T2> | Extract<"tagType", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"remoteShowSuffix", keyof T2> | Extract<"showArrow", keyof T2> | Extract<"appendTo", keyof T2>]: { [k in Extract<"required", keyof T2> | Extract<"id", keyof T2> | Extract<"effect", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"offset", keyof T2> | Extract<"placement", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"size", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", keyof T2> | Extract<"labelTipProps", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"name", keyof T2> | Extract<"props", keyof T2> | Extract<"slots", keyof T2> | Extract<"loading", keyof T2> | Extract<"options", keyof T2> | Extract<"selectSlots", keyof T2> | Extract<"selectRef", keyof T2> | Extract<"optionsUrl", keyof T2> | Extract<"stringify", keyof T2> | Extract<"optionChildrenProp", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"automaticDropdown", keyof T2> | Extract<"filterable", keyof T2> | Extract<"allowCreate", keyof T2> | Extract<"remote", keyof T2> | Extract<"debounce", keyof T2> | Extract<"loadingText", keyof T2> | Extract<"noMatchText", keyof T2> | Extract<"noDataText", keyof T2> | Extract<"remoteMethod", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"multiple", keyof T2> | Extract<"multipleLimit", keyof T2> | Extract<"defaultFirstOption", keyof T2> | Extract<"reserveKeyword", keyof T2> | Extract<"valueKey", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"tagTooltip", keyof T2> | Extract<"maxCollapseTags", keyof T2> | Extract<"teleported", keyof T2> | Extract<"persistent", keyof T2> | Extract<"fitInputWidth", keyof T2> | Extract<"tagType", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"remoteShowSuffix", keyof T2> | Extract<"showArrow", keyof T2> | Extract<"appendTo", keyof T2>]: T2[k]; }[P]; }>;
220
+ export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"required", keyof T2> | Extract<"id", keyof T2> | Extract<"effect", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"offset", keyof T2> | Extract<"placement", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"size", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", keyof T2> | Extract<"labelTipProps", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"name", keyof T2> | Extract<"props", keyof T2> | Extract<"slots", keyof T2> | Extract<"loading", keyof T2> | Extract<"options", keyof T2> | Extract<"selectSlots", keyof T2> | Extract<"selectRef", keyof T2> | Extract<"optionsUrl", keyof T2> | Extract<"stringify", keyof T2> | Extract<"optionChildrenProp", keyof T2> | Extract<"closeOnClickOutside", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"automaticDropdown", keyof T2> | Extract<"filterable", keyof T2> | Extract<"allowCreate", keyof T2> | Extract<"remote", keyof T2> | Extract<"debounce", keyof T2> | Extract<"loadingText", keyof T2> | Extract<"noMatchText", keyof T2> | Extract<"noDataText", keyof T2> | Extract<"remoteMethod", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"multiple", keyof T2> | Extract<"multipleLimit", keyof T2> | Extract<"defaultFirstOption", keyof T2> | Extract<"reserveKeyword", keyof T2> | Extract<"valueKey", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"tagTooltip", keyof T2> | Extract<"maxCollapseTags", keyof T2> | Extract<"teleported", keyof T2> | Extract<"persistent", keyof T2> | Extract<"fitInputWidth", keyof T2> | Extract<"tagType", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"remoteShowSuffix", keyof T2> | Extract<"showArrow", keyof T2> | Extract<"appendTo", keyof T2>)[]>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"effect", keyof T2>, KE> | Exclude<Extract<"popperClass", keyof T2>, KE> | Exclude<Extract<"popperStyle", keyof T2>, KE> | Exclude<Extract<"ariaLabel", keyof T2>, KE> | Exclude<Extract<"fallbackPlacements", keyof T2>, KE> | Exclude<Extract<"offset", keyof T2>, KE> | Exclude<Extract<"placement", keyof T2>, KE> | Exclude<Extract<"popperOptions", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> | Exclude<Extract<"formItemSize", keyof T2>, KE> | Exclude<Extract<"formItemSlots", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"inline", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"formItemTip", keyof T2>, KE> | Exclude<Extract<"formItemTipClass", keyof T2>, KE> | Exclude<Extract<"labelTip", keyof T2>, KE> | Exclude<Extract<"information", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"defaultModelValue", keyof T2>, KE> | Exclude<Extract<"labelTipProps", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"error", keyof T2>, KE> | Exclude<Extract<"validateStatus", keyof T2>, KE> | Exclude<Extract<"for", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"autocomplete", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"clearIcon", keyof T2>, KE> | Exclude<Extract<"suffixIcon", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"name", keyof T2>, KE> | Exclude<Extract<"props", keyof T2>, KE> | Exclude<Extract<"slots", keyof T2>, KE> | Exclude<Extract<"loading", keyof T2>, KE> | Exclude<Extract<"options", keyof T2>, KE> | Exclude<Extract<"selectSlots", keyof T2>, KE> | Exclude<Extract<"selectRef", keyof T2>, KE> | Exclude<Extract<"optionsUrl", keyof T2>, KE> | Exclude<Extract<"stringify", keyof T2>, KE> | Exclude<Extract<"optionChildrenProp", keyof T2>, KE> | Exclude<Extract<"closeOnClickOutside", keyof T2>, KE> | Exclude<Extract<"emptyValues", keyof T2>, KE> | Exclude<Extract<"valueOnClear", keyof T2>, KE> | Exclude<Extract<"automaticDropdown", keyof T2>, KE> | Exclude<Extract<"filterable", keyof T2>, KE> | Exclude<Extract<"allowCreate", keyof T2>, KE> | Exclude<Extract<"remote", keyof T2>, KE> | Exclude<Extract<"debounce", keyof T2>, KE> | Exclude<Extract<"loadingText", keyof T2>, KE> | Exclude<Extract<"noMatchText", keyof T2>, KE> | Exclude<Extract<"noDataText", keyof T2>, KE> | Exclude<Extract<"remoteMethod", keyof T2>, KE> | Exclude<Extract<"filterMethod", keyof T2>, KE> | Exclude<Extract<"multiple", keyof T2>, KE> | Exclude<Extract<"multipleLimit", keyof T2>, KE> | Exclude<Extract<"defaultFirstOption", keyof T2>, KE> | Exclude<Extract<"reserveKeyword", keyof T2>, KE> | Exclude<Extract<"valueKey", keyof T2>, KE> | Exclude<Extract<"collapseTags", keyof T2>, KE> | Exclude<Extract<"collapseTagsTooltip", keyof T2>, KE> | Exclude<Extract<"tagTooltip", keyof T2>, KE> | Exclude<Extract<"maxCollapseTags", keyof T2>, KE> | Exclude<Extract<"teleported", keyof T2>, KE> | Exclude<Extract<"persistent", keyof T2>, KE> | Exclude<Extract<"fitInputWidth", keyof T2>, KE> | Exclude<Extract<"tagType", keyof T2>, KE> | Exclude<Extract<"tagEffect", keyof T2>, KE> | Exclude<Extract<"remoteShowSuffix", keyof T2>, KE> | Exclude<Extract<"showArrow", keyof T2>, KE> | Exclude<Extract<"appendTo", keyof T2>, KE> : Extract<"required", keyof T2> | Extract<"id", keyof T2> | Extract<"effect", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"offset", keyof T2> | Extract<"placement", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"size", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", keyof T2> | Extract<"labelTipProps", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"name", keyof T2> | Extract<"props", keyof T2> | Extract<"slots", keyof T2> | Extract<"loading", keyof T2> | Extract<"options", keyof T2> | Extract<"selectSlots", keyof T2> | Extract<"selectRef", keyof T2> | Extract<"optionsUrl", keyof T2> | Extract<"stringify", keyof T2> | Extract<"optionChildrenProp", keyof T2> | Extract<"closeOnClickOutside", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"automaticDropdown", keyof T2> | Extract<"filterable", keyof T2> | Extract<"allowCreate", keyof T2> | Extract<"remote", keyof T2> | Extract<"debounce", keyof T2> | Extract<"loadingText", keyof T2> | Extract<"noMatchText", keyof T2> | Extract<"noDataText", keyof T2> | Extract<"remoteMethod", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"multiple", keyof T2> | Extract<"multipleLimit", keyof T2> | Extract<"defaultFirstOption", keyof T2> | Extract<"reserveKeyword", keyof T2> | Extract<"valueKey", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"tagTooltip", keyof T2> | Extract<"maxCollapseTags", keyof T2> | Extract<"teleported", keyof T2> | Extract<"persistent", keyof T2> | Extract<"fitInputWidth", keyof T2> | Extract<"tagType", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"remoteShowSuffix", keyof T2> | Extract<"showArrow", keyof T2> | Extract<"appendTo", keyof T2>]: { [k in Extract<"required", keyof T2> | Extract<"id", keyof T2> | Extract<"effect", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"offset", keyof T2> | Extract<"placement", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"size", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", keyof T2> | Extract<"labelTipProps", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"name", keyof T2> | Extract<"props", keyof T2> | Extract<"slots", keyof T2> | Extract<"loading", keyof T2> | Extract<"options", keyof T2> | Extract<"selectSlots", keyof T2> | Extract<"selectRef", keyof T2> | Extract<"optionsUrl", keyof T2> | Extract<"stringify", keyof T2> | Extract<"optionChildrenProp", keyof T2> | Extract<"closeOnClickOutside", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"automaticDropdown", keyof T2> | Extract<"filterable", keyof T2> | Extract<"allowCreate", keyof T2> | Extract<"remote", keyof T2> | Extract<"debounce", keyof T2> | Extract<"loadingText", keyof T2> | Extract<"noMatchText", keyof T2> | Extract<"noDataText", keyof T2> | Extract<"remoteMethod", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"multiple", keyof T2> | Extract<"multipleLimit", keyof T2> | Extract<"defaultFirstOption", keyof T2> | Extract<"reserveKeyword", keyof T2> | Extract<"valueKey", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"tagTooltip", keyof T2> | Extract<"maxCollapseTags", keyof T2> | Extract<"teleported", keyof T2> | Extract<"persistent", keyof T2> | Extract<"fitInputWidth", keyof T2> | Extract<"tagType", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"remoteShowSuffix", keyof T2> | Extract<"showArrow", keyof T2> | Extract<"appendTo", keyof T2>]: T2[k]; }[P]; }>;
214
221
  export declare const emits: {
215
222
  'update:modelValue': null;
216
223
  change: (val: import("element-plus").SelectProps["modelValue"] | any) => boolean;
@@ -104,6 +104,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
104
104
  type: StringConstructor;
105
105
  default: string;
106
106
  };
107
+ closeOnClickOutside: {
108
+ type: BooleanConstructor;
109
+ default: boolean;
110
+ };
107
111
  ariaLabel: StringConstructor;
108
112
  emptyValues: ArrayConstructor;
109
113
  valueOnClear: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | (((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null)) | null)[], unknown, unknown, undefined, boolean>;
@@ -381,6 +385,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
381
385
  type: StringConstructor;
382
386
  default: string;
383
387
  };
388
+ closeOnClickOutside: {
389
+ type: BooleanConstructor;
390
+ default: boolean;
391
+ };
384
392
  ariaLabel: StringConstructor;
385
393
  emptyValues: ArrayConstructor;
386
394
  valueOnClear: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | (((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null)) | null)[], unknown, unknown, undefined, boolean>;
@@ -661,6 +669,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
661
669
  optionsUrl: string;
662
670
  stringify: boolean;
663
671
  optionChildrenProp: string;
672
+ closeOnClickOutside: boolean;
664
673
  valueOnClear: import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | ((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | null)[], unknown, unknown>;
665
674
  automaticDropdown: boolean;
666
675
  filterable: boolean;