cnhis-design-vue 3.1.49-beta.11 → 3.1.49-beta.13
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.
- package/es/components/classification/src/index.vue2.js +1 -1
- package/es/components/form-config/index.d.ts +41 -2
- package/es/components/form-config/src/FormConfig.vue.d.ts +41 -2
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +17 -1
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +20 -1
- package/es/components/form-render/index.d.ts +17 -1
- package/es/components/form-render/src/FormRender.vue.d.ts +17 -1
- package/es/components/form-render/src/FormRender.vue2.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +17 -1
- package/es/components/form-render/src/components/renderer/formItem.d.ts +7 -2
- package/es/components/form-render/src/components/renderer/formItem.js +1 -1
- package/es/components/form-render/src/components/renderer/simpleComponent.d.ts +3 -1
- package/es/components/form-render/src/components/renderer/simpleComponent.js +1 -1
- package/es/components/form-render/src/constants/index.d.ts +2 -1
- package/es/components/form-render/src/constants/index.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.d.ts +4 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +4 -1
- package/es/components/form-render/src/hooks/useFieldNormalize.js +1 -1
- package/es/components/form-render/src/hooks/useFormContext.js +1 -1
- package/es/components/form-render/src/types/fieldItem.d.ts +1 -0
- package/es/components/form-render/src/types/index.d.ts +1 -0
- package/es/components/form-render/style/index.css +1 -1
- package/es/components/iho-table/src/plugins/filterVisibleEventPlugin.js +1 -1
- package/es/components/index.css +1 -1
- package/es/components/info-header/index.d.ts +42 -3
- package/es/components/info-header/src/InfoHeader.vue.d.ts +42 -3
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +4 -1
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +4 -1
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +21 -2
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +17 -1
- package/es/components/shortcut-setter/index.d.ts +18 -1
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +18 -1
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,useAttrs as i,ref as n,provide as l,computed as t,onMounted as a,nextTick as s,watch as o,openBlock as d,createElementBlock as c,normalizeClass as r,unref as h,normalizeStyle as u,withDirectives as f,createVNode as p,createTextVNode as m,toDisplayString as g,createCommentVNode as v,createElementVNode as C,Fragment as y,renderList as k,createBlock as S,withCtx as b}from"vue";import{useMessage as x,NIcon as O,NTooltip as _}from"naive-ui";import{Repeat as w,SettingsOutline as I,ChevronDown as L,ChevronForward as N,Checkmark as z,Close as j,ChevronUp as B}from"@vicons/ionicons5";import P from"./components/set-classification/index.vue.js";import J from"./directive/flexibleResize.js";import{InjectionFilterApiConfig as M}from"../../table-filter/src/constants/index.js";import{root_isShowResetButton as A}from"./const/index.js";import E from"../../table-filter/src/hooks/useMixins.js";import F from"../../table-filter/src/hooks/useAdvanced.js";const T={key:0,class:"header"},R={class:"tree"},W=["onClick"],q=["onClick"],G=["onClick"],Q={class:"child-item-name"},$={key:1,class:"tree-type-footer"},D={class:"selected-num"},V=C("i",{class:"iconfont-table-filter icon-table-filter-menzhenyishengzhananniushanchu2"},null,-1),H={key:0,class:"tile-type classify-1"},K={key:0,class:"header"},U={class:"right-setting"},X=["onClick"],Y={class:"parent ellips"},Z={class:"children"},ee=["onClick"],ie={key:1,class:"selected-list"},ne={class:"selected-num"},le=C("i",{class:"iconfont-table-filter icon-table-filter-menzhenyishengzhananniushanchu2"},null,-1),te={class:"name"},ae={class:"name"},se={key:0,class:"main-wrapper"},oe=["onClick"],de={class:"tree-footer"},ce=["onClick"],re=["onClick"],he={key:0,class:"select-type-footer"},ue={class:"selected-num"},fe=C("i",{class:"iconfont-table-filter icon-table-filter-menzhenyishengzhananniushanchu2"},null,-1);var pe=e({__name:"index",props:{tableId:{type:String,default:""},searchFieldList:{type:Array,default:()=>[]},conditionMap:{type:Object,default:()=>({})},conditionSid:{type:Array,default:()=>["all_data"]},curClassificationIndex:{type:Number,default:0},curClassificationWidth:{type:Number},hideConditionChangeBtn:{type:Number,default:0},hideConditionChangeSetting:{type:Number,default:0},hideClearConditionChange:{type:Number,default:1},isShowResetButton:{type:Boolean,default:!0},filterApiConfig:{type:Object,default:()=>({})}},emits:["changeSearch","setClassificationIndex","getQuickSearchListObj"],setup(e,{emit:pe}){const me=e,{handleGetConfigApi:ge}=E(),{transformClassifyChild:ve}=F(),Ce=i(),ye=x(),ke=n(null);let Se=n(150),be=n(!1),xe=n([]),Oe=n([]),_e=n([]),we=n(2),Ie=n({name:"全部数据",sid:"all_data"}),Le=n([]),Ne=n(""),ze=n(!1),je=n("全部数据");l(A,me.isShowResetButton),l(M,me.filterApiConfig);let Be=t((()=>0===we.value?{marginRight:"8px"}:2===we.value?{display:"inline-block"}:{})),Pe=t((()=>{let e=Oe.value.filter((e=>-1!==me.conditionSid.indexOf(e.sid)));if(-1!==me.conditionSid.indexOf("all_data"))return"全部数据";{let i=[];return e.map((e=>{i.push(e.name)})),i.join(",")}})),Je=t((()=>function(e){let i=0===e.digital?"(0)":e.digital?`(${e.digital})`:"";const{name:n,isPublic:l}=e;return Ue(n,l)+i}));function Me(e){e.open?e.open=!1:e.open=!0}function Ae(e,i,n){je.value=e.name;let l=function(e){let i=[];return xe.value.forEach((n=>{n.children?n.children.forEach((n=>{-1!==e.indexOf(n.sid)?(n.selected=!0,i.push(n)):n.selected=!1})):-1!==e.indexOf(n.sid)?(n.selected=!0,i.push(n)):n.selected=!1})),i}(function(e,i,n){let l=JSON.parse(JSON.stringify(i));l="all_data"===e||-1!==l.indexOf(e)?["all_data"]:[e];return l}(e.sid,me.conditionSid));We(!1);const t=ve(null==e?void 0:e.conObj,me.searchFieldList);pe("changeSearch",Boolean("all_data"===e.sid),e,t,n,l)}function Ee(){let e="";if(2===we.value)e=0;else{let i=we.value;e=++i}Se.value=150,Fe(e)}async function Fe(e,i){let n={tableId:me.tableId,setting:JSON.stringify({classificationIndex:e,classificationWidth:i})};try{await ge(n,"requestSaveListPersonaSetting",{},me.filterApiConfig)&&pe("setClassificationIndex",e)}catch(e){console.log(e)}}function Te(){ze.value=!0,We(!1)}function Re(e){ze.value=e}function We(e){be.value=void 0===e?!be.value:e}function qe(){if(!me.tableId)return ye.warning("请传入tableId");xe.value=[];let{displayCategoryList:e=[],conditionList:i=[]}=me.conditionMap;Le.value=JSON.parse(JSON.stringify(e))||[],_e.value=JSON.parse(JSON.stringify(i)),Oe.value=JSON.parse(JSON.stringify([{name:"全部数据",sid:"all_data"},...i]));let n=[];var l;0===Le.value.length&&(Le.value=["未分类"]),Le.value.forEach((e=>{let i={name:e,children:[]};Oe.value.forEach((n=>{if(n.displayCategory===e||!n.displayCategory&&"未分类"===e&&"all_data"!==n.sid){if(-1!==me.conditionSid.indexOf(n.sid)){n.selected=!0,i.open=!0;const e=ve(null==n?void 0:n.conObj,me.searchFieldList);pe("changeSearch",!1,n,e)}n.isShow&&i.children.push(n)}})),i.children.length>0&&n.push(i)})),n.unshift({name:"全部数据",sid:"all_data"}),xe.value=n,0===we.value&&(l=!0,xe.value.forEach((e=>{e.children&&e.children.length&&(e.open=l)})))}function Ge({distance:e}){const i=Se.value+e;Se.value=Math.min(Math.max(i,50),650)}function Qe(){Fe(we.value,Se.value)}async function $e(){await Ke(me.tableId),Ve()}async function De(e){await Ke(me.tableId),He()}function Ve(e){He(e).then((e=>({})))}function He(e,i={}){if(!me.tableId)return new Promise((e=>e(!1)));let n=Object.keys(i).length>0?i:JSON.parse(JSON.stringify(me.conditionMap));return new Promise(((i,l)=>{var t,a,s,o,d,c,r;if(Object.keys(n).length>0){_e.value=n.conditionList||[],Le.value=n.displayCategoryList||[];let l={conditionList:_e.value,displayCategoryList:Le.value};pe("getQuickSearchListObj",l),Ne.value=null!=(t=n.settingId)?t:"";const h=_e.value.find((e=>e.isDefault))||{name:"全部数据",sid:"all_data"};(null==(s=null==(a=Ce.tableOptions)?void 0:a.filterCondition)?void 0:s.displayCategory)&&e&&i({name:null==(d=null==(o=Ce.tableOptions)?void 0:o.filterCondition)?void 0:d.name,sid:null==(r=null==(c=Ce.tableOptions)?void 0:c.filterCondition)?void 0:r.displayCategory}),i(h)}else i({})}))}async function Ke(e){try{if(!e)return new Promise((e=>e(!1)));let i={tableId:e},n=await ge(i,"requestTableCondiTionList",{},me.filterApiConfig);return Promise.resolve(n)}catch(e){return Promise.resolve(!1)}}function Ue(e,i){return i&&e&&"1"===i?e.replace(/\(公共\)$/,""):e}return a((()=>{document.addEventListener("click",(e=>{s((()=>{let i=e.composedPath&&e.composedPath();ke.value&&i.includes(ke.value)||We(!1)}))}))})),o((()=>me.tableId),(e=>{e&&Ve(!0)}),{immediate:!0,deep:!0}),o((()=>me.curClassificationIndex),(e=>{void 0!==e&&(we.value=e)}),{immediate:!0,deep:!0}),o((()=>me.curClassificationWidth),(e=>{e&&(Se.value=Number(e)||150)}),{immediate:!0}),o((()=>me.conditionMap),(e=>{!async function(){try{await qe()}catch(e){console.log(e)}}()}),{immediate:!0,deep:!0}),(i,n)=>(d(),c("div",{class:r(["classification-block","classificationIndex-"+h(we)]),style:u(h(Be))},[0===h(we)?f((d(),c("div",{key:0,class:"tree-type classify-0",style:u({width:h(Se)+"px",paddingBottom:1!=e.hideClearConditionChange?"80px":0,position:"relative"})},[1!=e.hideConditionChangeBtn||1!=e.hideConditionChangeSetting?(d(),c("div",T,[1!=e.hideConditionChangeBtn?(d(),c("span",{key:0,class:"header-1",onClick:Ee},[p(h(O),{component:h(w),size:"16"},null,8,["component"]),m(" "+g("切换"))])):v("v-if",!0),1!=e.hideConditionChangeSetting?(d(),c("span",{key:1,class:"header-1",onClick:Te},[p(h(O),{component:h(I),size:"16"},null,8,["component"]),m(" "+g("设置"))])):v("v-if",!0)])):v("v-if",!0),C("ul",R,[(d(!0),c(y,null,k(h(xe),((i,n)=>(d(),c(y,null,[0===n||!i.children||0===i.children.length||i.children&&0!==i.children.filter((e=>e.isShow)).length?(d(),c("li",{key:n,class:r(["tree-item",{"tree-header":0===n||!i.children||0===i.children.length}])},[0!==n&&i.children&&0!==i.children.length?(d(),c(y,{key:1},[C("span",{class:r(["parent",{open:i.open}]),onClick:e=>Me(i)},[C("span",null,g(i.name),1),p(h(O),{component:i.open?h(L):h(N)},null,8,["component"])],10,q),i.open?(d(!0),c(y,{key:0},k(i.children.filter((e=>e.isShow)),((e,n)=>(d(),c("div",{key:n,class:"children",onClick:n=>Ae(e,0,i)},[e.isShow?(d(),S(h(_),{key:0,trigger:"hover",placement:"right"},{trigger:b((()=>[C("span",{class:r(["child-item",{selected:e.selected}])},[C("span",Q,g(Ue(e.name,null==e?void 0:e.isPublic)),1),e.selected?(d(),S(h(O),{key:0,component:h(z),size:"20"},null,8,["component"])):v("v-if",!0)],2)])),default:b((()=>[C("span",null,g(h(Je)(e)),1)])),_:2},1024)):v("v-if",!0)],8,G)))),128)):v("v-if",!0)],64)):(d(),c("span",{key:0,class:r(["child-item header-item",{selected:i.selected||-1!==e.conditionSid.indexOf("all_data")}]),onClick:e=>Ae(i)},g(i.name),11,W))],2)):v("v-if",!0)],64)))),256))]),1!=e.hideClearConditionChange?(d(),c("div",$,[C("div",D,"已选择"+g(e.conditionSid.filter((e=>"all_data"!==e)).length)+"项",1),C("div",{class:"selected-item-del",onClick:n[0]||(n[0]=e=>Ae({sid:"all_data",name:"全部数据",digital:h(Ie).digital}))},[V,m(" 清空筛选 ")])])):v("v-if",!0)],4)),[[h(J),{mode:"VR",onMove:Ge,onEnd:Qe}]]):v("v-if",!0),1===h(we)?(d(),c(y,{key:1},[1!=e.hideConditionChangeBtn||1!=e.hideConditionChangeSetting||1!=e.hideConditionChangeSetting||h(_e).filter((e=>e.isShow)).length>0?(d(),c("div",H,[1!=e.hideConditionChangeBtn||1!=e.hideConditionChangeSetting?(d(),c("div",K,[C("span",{class:r(["all-data",{selected:-1!==e.conditionSid.indexOf("all_data")}]),onClick:n[1]||(n[1]=e=>Ae({sid:"all_data",name:"全部数据",digital:h(Ie).digital}))},[m(" 全部数据 "),h(Ie).digital||0===h(Ie).digital?(d(),c(y,{key:0},[m(" ("+g(h(Ie).digital||0)+") ",1)],64)):v("v-if",!0)],2),C("div",U,[1!=e.hideConditionChangeBtn?(d(),c("span",{key:0,class:"setting-1",onClick:Ee,style:{"margin-right":"30px"}},[p(h(O),{component:h(w),size:"16"},null,8,["component"]),m(" "+g("切换"))])):v("v-if",!0),1!=e.hideConditionChangeSetting?(d(),c("span",{key:1,class:"setting-1",onClick:Te},[p(h(O),{component:h(I),size:"16"},null,8,["component"]),m(" "+g("设置"))])):v("v-if",!0)])])):v("v-if",!0),C("ul",{class:"tile",style:u({borderBottom:1!=e.hideClearConditionChange?"1px solid #d5d5d5":0})},[(d(!0),c(y,null,k(h(xe).slice(1),((e,i)=>(d(),c(y,null,[e.children&&e.children.length>0?(d(),c("li",{class:"tile-item",key:i},[e.children&&0!==e.children.length?(d(),c(y,{key:1},[C("span",Y,g(e.name),1),C("div",Z,[(d(!0),c(y,null,k(e.children,((i,n)=>(d(),c(y,null,[i.isShow?(d(),c("span",{key:n,class:r(["child-item",{selected:i.selected}]),onClick:n=>Ae(i,0,e)},g(Ue(i.name,null==i?void 0:i.isPublic)),11,ee)):v("v-if",!0)],64)))),256))])],64)):(d(),c("span",{key:0,class:r(["child-item",{selected:e.selected}]),style:{"padding-left":"17px"},onClick:i=>Ae(e)},g(e.name)+" "+g(e.digital),11,X))])):v("v-if",!0)],64)))),256))],4),1!=e.hideClearConditionChange?(d(),c("div",ie,[C("div",ne,"已选择"+g(e.conditionSid.filter((e=>"all_data"!==e)).length)+"项",1),(d(!0),c(y,null,k(h(xe).slice(1),(e=>(d(),c(y,null,[e.children&&0!==e.children.length?(d(!0),c(y,{key:1},k(e.children,((i,n)=>(d(),c(y,null,[i.selected?(d(),c("div",{class:"selected-item",key:i.sid},[m(g(i.name)+" ",1),p(h(O),{component:h(j),onClick:n=>Ae(i,0,e)},null,8,["component","onClick"])])):v("v-if",!0)],64)))),256)):(d(),c("div",{class:"selected-item",key:e.sid},[m(g(e.name)+" ",1),p(h(O),{component:h(j),onClick:i=>Ae(e)},null,8,["component","onClick"])]))],64)))),256)),C("div",{class:"selected-item-del",onClick:n[2]||(n[2]=e=>Ae({sid:"all_data",name:"全部数据",digital:h(Ie).digital}))},[le,m(" 清空筛选 ")])])):v("v-if",!0)])):v("v-if",!0)],64)):v("v-if",!0),2===h(we)?(d(),c("div",{key:2,class:"select-type classify-2",ref_key:"selectType",ref:ke},[C("span",{class:"title",onClick:n[3]||(n[3]=()=>We())},[p(h(_),{trigger:"hover",placement:"top"},{trigger:b((()=>[C("span",te,g(h(Pe)),1)])),default:b((()=>[C("span",ae,g(h(Pe)),1)])),_:1}),p(h(O),{component:h(be)?h(B):h(L)},null,8,["component"])]),h(be)?(d(),c("div",se,[C("ul",{class:"tree",style:u({padding:1!=e.hideClearConditionChange?"40px 0":"40px 0 0"})},[(d(!0),c(y,null,k(h(xe),((i,n)=>(d(),c(y,null,[0===n||!i.children||0===i.children.length||i.children&&0!==i.children.filter((e=>e.isShow)).length?(d(),c("li",{key:n,class:r(["tree-item",{"tree-header":0===n||!i.children||0===i.children.length}])},[0!==n&&i.children&&0!==i.children.length?(d(),c(y,{key:1},[0!==i.children.filter((e=>e.isShow)).length?(d(),c("span",{key:0,class:r(["parent",{open:i.open}]),onClick:e=>Me(i)},[m(g(i.name)+g(i.digital||0===i.digital?"("+i.digital+")":"")+" ",1),p(h(O),{component:i.open?h(L):h(N)},null,8,["component"])],10,ce)):v("v-if",!0),i.open?(d(!0),c(y,{key:1},k(i.children.filter((e=>e.isShow)),((e,n)=>(d(),c("div",{key:n,class:"children",onClick:n=>Ae(e,0,i)},[e.isShow?(d(),S(h(_),{key:0,placement:"right",trigger:"hover","z-index":1e4},{trigger:b((()=>[C("span",{class:r(["child-item",{selected:e.selected}])},[C("span",null,g(Ue(e.name,null==e?void 0:e.isPublic)),1),e.selected?(d(),S(h(O),{key:0,component:h(z),size:"20"},null,8,["component"])):v("v-if",!0)],2)])),default:b((()=>[C("span",null,g(h(Je)(e)),1)])),_:2},1024)):v("v-if",!0)],8,re)))),128)):v("v-if",!0)],64)):(d(),c(y,{key:0},[C("span",{class:r(["child-item child-header header-item",{selected:i.selected||-1!==e.conditionSid.indexOf("all_data")}]),onClick:e=>Ae(i)},g(i.name),11,oe),C("div",de,[1!=e.hideConditionChangeBtn?(d(),c("span",{key:0,class:"tree-footer-icon",onClick:Ee},[p(h(O),{component:h(w),size:"16"},null,8,["component"]),m(" "+g("切换"))])):v("v-if",!0),1!=e.hideConditionChangeSetting?(d(),c("span",{key:1,class:"tree-footer-icon",onClick:Te},[p(h(O),{component:h(I),size:"16"},null,8,["component"]),m(" "+g("设置"))])):v("v-if",!0)])],64))],2)):v("v-if",!0)],64)))),256))],4),1!=e.hideClearConditionChange?(d(),c("div",he,[C("div",ue,"已选择"+g(e.conditionSid.filter((e=>"all_data"!==e)).length)+"项",1),C("div",{class:"selected-item-del",onClick:n[4]||(n[4]=e=>Ae({sid:"all_data",name:"全部数据",digital:h(Ie).digital}))},[fe,m(" 清空筛选 ")])])):v("v-if",!0)])):v("v-if",!0)],512)):v("v-if",!0),v(" 弹出弹窗 "),p(P,{ref:"search",searchFieldList:e.searchFieldList,conditionList:h(_e),displayCategoryList:h(Le),settingId:h(Ne),tableId:e.tableId,classifyModal:h(ze),onSaveGetTableCondiTionList:De,onCondiTionListInit:$e,onSetClassifyModal:Re},null,8,["searchFieldList","conditionList","displayCategoryList","settingId","tableId","classifyModal"])],6))}});export{pe as default};
|
|
1
|
+
import{defineComponent as e,useAttrs as i,ref as n,provide as l,computed as t,onMounted as a,nextTick as s,watch as o,openBlock as d,createElementBlock as c,normalizeClass as r,unref as h,normalizeStyle as u,withDirectives as f,createVNode as p,createTextVNode as m,toDisplayString as g,createCommentVNode as v,createElementVNode as C,Fragment as y,renderList as k,createBlock as S,withCtx as b}from"vue";import{useMessage as x,NIcon as O,NTooltip as _}from"naive-ui";import{Repeat as w,SettingsOutline as I,ChevronDown as L,ChevronForward as N,Checkmark as z,Close as j,ChevronUp as B}from"@vicons/ionicons5";import P from"./components/set-classification/index.vue.js";import J from"./directive/flexibleResize.js";import{InjectionFilterApiConfig as M}from"../../table-filter/src/constants/index.js";import{root_isShowResetButton as A}from"./const/index.js";import E from"../../table-filter/src/hooks/useMixins.js";import F from"../../table-filter/src/hooks/useAdvanced.js";const T={key:0,class:"header"},R={class:"tree"},W=["onClick"],q=["onClick"],G=["onClick"],Q={class:"child-item-name"},$={key:1,class:"tree-type-footer"},D={class:"selected-num"},V=C("i",{class:"iconfont-table-filter icon-table-filter-menzhenyishengzhananniushanchu2"},null,-1),H={key:0,class:"tile-type classify-1"},K={key:0,class:"header"},U={class:"right-setting"},X=["onClick"],Y={class:"parent ellips"},Z={class:"children"},ee=["onClick"],ie={key:1,class:"selected-list"},ne={class:"selected-num"},le=C("i",{class:"iconfont-table-filter icon-table-filter-menzhenyishengzhananniushanchu2"},null,-1),te={class:"name"},ae={class:"name"},se={key:0,class:"main-wrapper"},oe=["onClick"],de={class:"tree-footer"},ce=["onClick"],re=["onClick"],he={key:0,class:"select-type-footer"},ue={class:"selected-num"},fe=C("i",{class:"iconfont-table-filter icon-table-filter-menzhenyishengzhananniushanchu2"},null,-1);var pe=e({__name:"index",props:{tableId:{type:String,default:""},searchFieldList:{type:Array,default:()=>[]},conditionMap:{type:Object,default:()=>({})},conditionSid:{type:Array,default:()=>["all_data"]},curClassificationIndex:{type:Number,default:0},curClassificationWidth:{type:Number},hideConditionChangeBtn:{type:Number,default:0},hideConditionChangeSetting:{type:Number,default:0},hideClearConditionChange:{type:Number,default:1},isShowResetButton:{type:Boolean,default:!0},filterApiConfig:{type:Object,default:()=>({})}},emits:["changeSearch","setClassificationIndex","getQuickSearchListObj"],setup(e,{emit:pe}){const me=e,{handleGetConfigApi:ge}=E(),{transformClassifyChild:ve}=F(),Ce=i(),ye=x(),ke=n(null);let Se=n(150),be=n(!1),xe=n([]),Oe=n([]),_e=n([]),we=n(2),Ie=n({name:"全部数据",sid:"all_data"}),Le=n([]),Ne=n(""),ze=n(!1),je=n("全部数据");l(A,me.isShowResetButton),l(M,me.filterApiConfig);let Be=t((()=>0===we.value?{marginRight:"8px"}:2===we.value?{display:"inline-block"}:{})),Pe=t((()=>{let e=Oe.value.filter((e=>-1!==me.conditionSid.indexOf(e.sid)));if(-1!==me.conditionSid.indexOf("all_data"))return"全部数据";{let i=[];return e.map((e=>{i.push(e.name)})),i.join(",")}})),Je=t((()=>function(e){let i=0===e.digital?"(0)":e.digital?`(${e.digital})`:"";const{name:n,isPublic:l}=e;return Ue(n,l)+i}));function Me(e){e.open?e.open=!1:e.open=!0}function Ae(e,i,n){je.value=e.name;let l=function(e){let i=[];return xe.value.forEach((n=>{n.children?n.children.forEach((n=>{-1!==e.indexOf(n.sid)?(n.selected=!0,i.push(n)):n.selected=!1})):-1!==e.indexOf(n.sid)?(n.selected=!0,i.push(n)):n.selected=!1})),i}(function(e,i,n){let l=JSON.parse(JSON.stringify(i));l="all_data"===e||-1!==l.indexOf(e)?["all_data"]:[e];return l}(e.sid,me.conditionSid));We(!1);const t=ve(null==e?void 0:e.conObj,me.searchFieldList);pe("changeSearch",Boolean("all_data"===e.sid),e,t,n,l)}function Ee(){let e="";if(2===we.value)e=0;else{let i=we.value;e=++i}Se.value=150,Fe(e)}async function Fe(e,i){let n={tableId:me.tableId,setting:JSON.stringify({classificationIndex:e,classificationWidth:i})};try{await ge(n,"requestSaveListPersonaSetting",{},me.filterApiConfig)&&pe("setClassificationIndex",e)}catch(e){console.log(e)}}function Te(){ze.value=!0,We(!1)}function Re(e){ze.value=e}function We(e){be.value=void 0===e?!be.value:e}function qe(){if(!me.tableId)return ye.warning("请传入tableId");xe.value=[];let{displayCategoryList:e=[],conditionList:i=[]}=me.conditionMap;Le.value=JSON.parse(JSON.stringify(e))||[],_e.value=JSON.parse(JSON.stringify(i)),Oe.value=JSON.parse(JSON.stringify([{name:"全部数据",sid:"all_data"},...i]));let n=[];var l;0===Le.value.length&&(Le.value=["未分类"]),Le.value.forEach((e=>{let i={name:e,children:[]};Oe.value.forEach((n=>{if(n.displayCategory===e||!n.displayCategory&&"未分类"===e&&"all_data"!==n.sid){if(-1!==me.conditionSid.indexOf(n.sid)){n.selected=!0,i.open=!0;const e=ve(null==n?void 0:n.conObj,me.searchFieldList);pe("changeSearch",!1,n,e)}n.isShow&&i.children.push(n)}})),i.children.length>0&&n.push(i)})),n.unshift({name:"全部数据",sid:"all_data"}),xe.value=n,0===we.value&&(l=!0,xe.value.forEach((e=>{e.children&&e.children.length&&(e.open=l)})))}function Ge({distance:e}){const i=Se.value+e;Se.value=Math.min(Math.max(i,50),650)}function Qe(){Fe(we.value,Se.value)}async function $e(){await Ke(me.tableId),Ve()}async function De(e){await Ke(me.tableId),He()}function Ve(e){He(e).then((e=>({})))}function He(e,i={}){if(!me.tableId)return new Promise((e=>e(!1)));let n=Object.keys(i).length>0?i:JSON.parse(JSON.stringify(me.conditionMap));return new Promise(((i,l)=>{var t,a,s,o,d,c,r;if(Object.keys(n).length>0){_e.value=n.conditionList||[],Le.value=n.displayCategoryList||[];let l={conditionList:_e.value,displayCategoryList:Le.value};pe("getQuickSearchListObj",l),Ne.value=null!=(t=n.settingId)?t:"";const h=_e.value.find((e=>e.isDefault))||{name:"全部数据",sid:"all_data"};(null==(s=null==(a=Ce.tableOptions)?void 0:a.filterCondition)?void 0:s.displayCategory)&&e&&i({name:null==(d=null==(o=Ce.tableOptions)?void 0:o.filterCondition)?void 0:d.name,sid:null==(r=null==(c=Ce.tableOptions)?void 0:c.filterCondition)?void 0:r.displayCategory}),i(h)}else i({})}))}async function Ke(e){try{if(!e)return new Promise((e=>e(!1)));let i={tableId:e},n=await ge(i,"requestTableCondiTionList",{},me.filterApiConfig);return Promise.resolve(n)}catch(e){return Promise.resolve(!1)}}function Ue(e,i){return i&&e&&"1"===i?e.replace(/\(公共\)$/,""):e}return a((()=>{document.addEventListener("click",(e=>{s((()=>{let i=e.composedPath&&e.composedPath();ke.value&&i.includes(ke.value)||We(!1)}))}))})),o((()=>me.tableId),(e=>{e&&Ve(!0)}),{immediate:!0,deep:!0}),o((()=>me.curClassificationIndex),(e=>{void 0!==e&&(we.value=e,qe())}),{immediate:!0,deep:!0}),o((()=>me.curClassificationWidth),(e=>{e&&(Se.value=Number(e)||150)}),{immediate:!0}),o((()=>me.conditionMap),(e=>{!async function(){try{await qe()}catch(e){console.log(e)}}()}),{immediate:!0,deep:!0}),(i,n)=>(d(),c("div",{class:r(["classification-block","classificationIndex-"+h(we)]),style:u(h(Be))},[0===h(we)?f((d(),c("div",{key:0,class:"tree-type classify-0",style:u({width:h(Se)+"px",paddingBottom:1!=e.hideClearConditionChange?"80px":0,position:"relative"})},[1!=e.hideConditionChangeBtn||1!=e.hideConditionChangeSetting?(d(),c("div",T,[1!=e.hideConditionChangeBtn?(d(),c("span",{key:0,class:"header-1",onClick:Ee},[p(h(O),{component:h(w),size:"16"},null,8,["component"]),m(" "+g("切换"))])):v("v-if",!0),1!=e.hideConditionChangeSetting?(d(),c("span",{key:1,class:"header-1",onClick:Te},[p(h(O),{component:h(I),size:"16"},null,8,["component"]),m(" "+g("设置"))])):v("v-if",!0)])):v("v-if",!0),C("ul",R,[(d(!0),c(y,null,k(h(xe),((i,n)=>(d(),c(y,null,[0===n||!i.children||0===i.children.length||i.children&&0!==i.children.filter((e=>e.isShow)).length?(d(),c("li",{key:n,class:r(["tree-item",{"tree-header":0===n||!i.children||0===i.children.length}])},[0!==n&&i.children&&0!==i.children.length?(d(),c(y,{key:1},[C("span",{class:r(["parent",{open:i.open}]),onClick:e=>Me(i)},[C("span",null,g(i.name),1),p(h(O),{component:i.open?h(L):h(N)},null,8,["component"])],10,q),i.open?(d(!0),c(y,{key:0},k(i.children.filter((e=>e.isShow)),((e,n)=>(d(),c("div",{key:n,class:"children",onClick:n=>Ae(e,0,i)},[e.isShow?(d(),S(h(_),{key:0,trigger:"hover",placement:"right"},{trigger:b((()=>[C("span",{class:r(["child-item",{selected:e.selected}])},[C("span",Q,g(Ue(e.name,null==e?void 0:e.isPublic)),1),e.selected?(d(),S(h(O),{key:0,component:h(z),size:"20"},null,8,["component"])):v("v-if",!0)],2)])),default:b((()=>[C("span",null,g(h(Je)(e)),1)])),_:2},1024)):v("v-if",!0)],8,G)))),128)):v("v-if",!0)],64)):(d(),c("span",{key:0,class:r(["child-item header-item",{selected:i.selected||-1!==e.conditionSid.indexOf("all_data")}]),onClick:e=>Ae(i)},g(i.name),11,W))],2)):v("v-if",!0)],64)))),256))]),1!=e.hideClearConditionChange?(d(),c("div",$,[C("div",D,"已选择"+g(e.conditionSid.filter((e=>"all_data"!==e)).length)+"项",1),C("div",{class:"selected-item-del",onClick:n[0]||(n[0]=e=>Ae({sid:"all_data",name:"全部数据",digital:h(Ie).digital}))},[V,m(" 清空筛选 ")])])):v("v-if",!0)],4)),[[h(J),{mode:"VR",onMove:Ge,onEnd:Qe}]]):v("v-if",!0),1===h(we)?(d(),c(y,{key:1},[1!=e.hideConditionChangeBtn||1!=e.hideConditionChangeSetting||1!=e.hideConditionChangeSetting||h(_e).filter((e=>e.isShow)).length>0?(d(),c("div",H,[1!=e.hideConditionChangeBtn||1!=e.hideConditionChangeSetting?(d(),c("div",K,[C("span",{class:r(["all-data",{selected:-1!==e.conditionSid.indexOf("all_data")}]),onClick:n[1]||(n[1]=e=>Ae({sid:"all_data",name:"全部数据",digital:h(Ie).digital}))},[m(" 全部数据 "),h(Ie).digital||0===h(Ie).digital?(d(),c(y,{key:0},[m(" ("+g(h(Ie).digital||0)+") ",1)],64)):v("v-if",!0)],2),C("div",U,[1!=e.hideConditionChangeBtn?(d(),c("span",{key:0,class:"setting-1",onClick:Ee,style:{"margin-right":"30px"}},[p(h(O),{component:h(w),size:"16"},null,8,["component"]),m(" "+g("切换"))])):v("v-if",!0),1!=e.hideConditionChangeSetting?(d(),c("span",{key:1,class:"setting-1",onClick:Te},[p(h(O),{component:h(I),size:"16"},null,8,["component"]),m(" "+g("设置"))])):v("v-if",!0)])])):v("v-if",!0),C("ul",{class:"tile",style:u({borderBottom:1!=e.hideClearConditionChange?"1px solid #d5d5d5":0})},[(d(!0),c(y,null,k(h(xe).slice(1),((e,i)=>(d(),c(y,null,[e.children&&e.children.length>0?(d(),c("li",{class:"tile-item",key:i},[e.children&&0!==e.children.length?(d(),c(y,{key:1},[C("span",Y,g(e.name),1),C("div",Z,[(d(!0),c(y,null,k(e.children,((i,n)=>(d(),c(y,null,[i.isShow?(d(),c("span",{key:n,class:r(["child-item",{selected:i.selected}]),onClick:n=>Ae(i,0,e)},g(Ue(i.name,null==i?void 0:i.isPublic)),11,ee)):v("v-if",!0)],64)))),256))])],64)):(d(),c("span",{key:0,class:r(["child-item",{selected:e.selected}]),style:{"padding-left":"17px"},onClick:i=>Ae(e)},g(e.name)+" "+g(e.digital),11,X))])):v("v-if",!0)],64)))),256))],4),1!=e.hideClearConditionChange?(d(),c("div",ie,[C("div",ne,"已选择"+g(e.conditionSid.filter((e=>"all_data"!==e)).length)+"项",1),(d(!0),c(y,null,k(h(xe).slice(1),(e=>(d(),c(y,null,[e.children&&0!==e.children.length?(d(!0),c(y,{key:1},k(e.children,((i,n)=>(d(),c(y,null,[i.selected?(d(),c("div",{class:"selected-item",key:i.sid},[m(g(i.name)+" ",1),p(h(O),{component:h(j),onClick:n=>Ae(i,0,e)},null,8,["component","onClick"])])):v("v-if",!0)],64)))),256)):(d(),c("div",{class:"selected-item",key:e.sid},[m(g(e.name)+" ",1),p(h(O),{component:h(j),onClick:i=>Ae(e)},null,8,["component","onClick"])]))],64)))),256)),C("div",{class:"selected-item-del",onClick:n[2]||(n[2]=e=>Ae({sid:"all_data",name:"全部数据",digital:h(Ie).digital}))},[le,m(" 清空筛选 ")])])):v("v-if",!0)])):v("v-if",!0)],64)):v("v-if",!0),2===h(we)?(d(),c("div",{key:2,class:"select-type classify-2",ref_key:"selectType",ref:ke},[C("span",{class:"title",onClick:n[3]||(n[3]=()=>We())},[p(h(_),{trigger:"hover",placement:"top"},{trigger:b((()=>[C("span",te,g(h(Pe)),1)])),default:b((()=>[C("span",ae,g(h(Pe)),1)])),_:1}),p(h(O),{component:h(be)?h(B):h(L)},null,8,["component"])]),h(be)?(d(),c("div",se,[C("ul",{class:"tree",style:u({padding:1!=e.hideClearConditionChange?"40px 0":"40px 0 0"})},[(d(!0),c(y,null,k(h(xe),((i,n)=>(d(),c(y,null,[0===n||!i.children||0===i.children.length||i.children&&0!==i.children.filter((e=>e.isShow)).length?(d(),c("li",{key:n,class:r(["tree-item",{"tree-header":0===n||!i.children||0===i.children.length}])},[0!==n&&i.children&&0!==i.children.length?(d(),c(y,{key:1},[0!==i.children.filter((e=>e.isShow)).length?(d(),c("span",{key:0,class:r(["parent",{open:i.open}]),onClick:e=>Me(i)},[m(g(i.name)+g(i.digital||0===i.digital?"("+i.digital+")":"")+" ",1),p(h(O),{component:i.open?h(L):h(N)},null,8,["component"])],10,ce)):v("v-if",!0),i.open?(d(!0),c(y,{key:1},k(i.children.filter((e=>e.isShow)),((e,n)=>(d(),c("div",{key:n,class:"children",onClick:n=>Ae(e,0,i)},[e.isShow?(d(),S(h(_),{key:0,placement:"right",trigger:"hover","z-index":1e4},{trigger:b((()=>[C("span",{class:r(["child-item",{selected:e.selected}])},[C("span",null,g(Ue(e.name,null==e?void 0:e.isPublic)),1),e.selected?(d(),S(h(O),{key:0,component:h(z),size:"20"},null,8,["component"])):v("v-if",!0)],2)])),default:b((()=>[C("span",null,g(h(Je)(e)),1)])),_:2},1024)):v("v-if",!0)],8,re)))),128)):v("v-if",!0)],64)):(d(),c(y,{key:0},[C("span",{class:r(["child-item child-header header-item",{selected:i.selected||-1!==e.conditionSid.indexOf("all_data")}]),onClick:e=>Ae(i)},g(i.name),11,oe),C("div",de,[1!=e.hideConditionChangeBtn?(d(),c("span",{key:0,class:"tree-footer-icon",onClick:Ee},[p(h(O),{component:h(w),size:"16"},null,8,["component"]),m(" "+g("切换"))])):v("v-if",!0),1!=e.hideConditionChangeSetting?(d(),c("span",{key:1,class:"tree-footer-icon",onClick:Te},[p(h(O),{component:h(I),size:"16"},null,8,["component"]),m(" "+g("设置"))])):v("v-if",!0)])],64))],2)):v("v-if",!0)],64)))),256))],4),1!=e.hideClearConditionChange?(d(),c("div",he,[C("div",ue,"已选择"+g(e.conditionSid.filter((e=>"all_data"!==e)).length)+"项",1),C("div",{class:"selected-item-del",onClick:n[4]||(n[4]=e=>Ae({sid:"all_data",name:"全部数据",digital:h(Ie).digital}))},[fe,m(" 清空筛选 ")])])):v("v-if",!0)])):v("v-if",!0)],512)):v("v-if",!0),v(" 弹出弹窗 "),p(P,{ref:"search",searchFieldList:e.searchFieldList,conditionList:h(_e),displayCategoryList:h(Le),settingId:h(Ne),tableId:e.tableId,classifyModal:h(ze),onSaveGetTableCondiTionList:De,onCondiTionListInit:$e,onSetClassifyModal:Re},null,8,["searchFieldList","conditionList","displayCategoryList","settingId","tableId","classifyModal"])],6))}});export{pe as default};
|
|
@@ -203,6 +203,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
203
203
|
prefix?: string | import("../../../es/shared/types").AnyObject | (() => any) | undefined;
|
|
204
204
|
suffix?: string | import("../../../es/shared/types").AnyObject | (() => any) | undefined;
|
|
205
205
|
allowSlash?: boolean | undefined;
|
|
206
|
+
bordered?: string | boolean | undefined;
|
|
206
207
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
207
208
|
content?: string | import("..").FormRenderer | Record<string, import("..").FormRenderer> | undefined;
|
|
208
209
|
lazyRequest?: boolean | undefined;
|
|
@@ -1931,6 +1932,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1931
1932
|
prefix?: string | import("../../../es/shared/types").AnyObject | (() => any) | undefined;
|
|
1932
1933
|
suffix?: string | import("../../../es/shared/types").AnyObject | (() => any) | undefined;
|
|
1933
1934
|
allowSlash?: boolean | undefined;
|
|
1935
|
+
bordered?: string | boolean | undefined;
|
|
1934
1936
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
1935
1937
|
content?: string | import("..").FormRenderer | Record<string, import("..").FormRenderer> | undefined;
|
|
1936
1938
|
lazyRequest?: boolean | undefined;
|
|
@@ -3668,6 +3670,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3668
3670
|
prefix?: string | import("../../../es/shared/types").AnyObject | (() => any) | undefined;
|
|
3669
3671
|
suffix?: string | import("../../../es/shared/types").AnyObject | (() => any) | undefined;
|
|
3670
3672
|
allowSlash?: boolean | undefined;
|
|
3673
|
+
bordered?: string | boolean | undefined;
|
|
3671
3674
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
3672
3675
|
content?: string | import("..").FormRenderer | Record<string, import("..").FormRenderer> | undefined;
|
|
3673
3676
|
lazyRequest?: boolean | undefined;
|
|
@@ -5396,6 +5399,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
5396
5399
|
prefix?: string | import("../../../es/shared/types").AnyObject | (() => any) | undefined;
|
|
5397
5400
|
suffix?: string | import("../../../es/shared/types").AnyObject | (() => any) | undefined;
|
|
5398
5401
|
allowSlash?: boolean | undefined;
|
|
5402
|
+
bordered?: string | boolean | undefined;
|
|
5399
5403
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
5400
5404
|
content?: string | import("..").FormRenderer | Record<string, import("..").FormRenderer> | undefined;
|
|
5401
5405
|
lazyRequest?: boolean | undefined;
|
|
@@ -7201,6 +7205,10 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
7201
7205
|
type: (BooleanConstructor | StringConstructor)[];
|
|
7202
7206
|
default: boolean;
|
|
7203
7207
|
};
|
|
7208
|
+
outBordered: {
|
|
7209
|
+
type: BooleanConstructor;
|
|
7210
|
+
default: boolean;
|
|
7211
|
+
};
|
|
7204
7212
|
uniqueCacheData: {
|
|
7205
7213
|
type: BooleanConstructor;
|
|
7206
7214
|
default: boolean;
|
|
@@ -7341,6 +7349,10 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
7341
7349
|
type: (BooleanConstructor | StringConstructor)[];
|
|
7342
7350
|
default: boolean;
|
|
7343
7351
|
};
|
|
7352
|
+
outBordered: {
|
|
7353
|
+
type: BooleanConstructor;
|
|
7354
|
+
default: boolean;
|
|
7355
|
+
};
|
|
7344
7356
|
uniqueCacheData: {
|
|
7345
7357
|
type: BooleanConstructor;
|
|
7346
7358
|
default: boolean;
|
|
@@ -7394,7 +7406,10 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
7394
7406
|
operationalFormHandler: (field: string) => void;
|
|
7395
7407
|
triggerAllOperationalFormHandler: () => void;
|
|
7396
7408
|
wordbookSettingHandler: (fieldKey: string, value: unknown) => void;
|
|
7397
|
-
schemaAdaptor: (fieldList: import("..").FieldItem[]
|
|
7409
|
+
schemaAdaptor: (fieldList: import("..").FieldItem[], options?: {
|
|
7410
|
+
column: number;
|
|
7411
|
+
outBordered?: boolean | undefined;
|
|
7412
|
+
}) => Record<string, import("@formily/json-schema").Stringify<{
|
|
7398
7413
|
[key: symbol]: any;
|
|
7399
7414
|
[key: `x-${string}`]: any;
|
|
7400
7415
|
[key: `x-${number}`]: any;
|
|
@@ -7810,6 +7825,10 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
7810
7825
|
type: (BooleanConstructor | StringConstructor)[];
|
|
7811
7826
|
default: boolean;
|
|
7812
7827
|
};
|
|
7828
|
+
outBordered: {
|
|
7829
|
+
type: BooleanConstructor;
|
|
7830
|
+
default: boolean;
|
|
7831
|
+
};
|
|
7813
7832
|
uniqueCacheData: {
|
|
7814
7833
|
type: BooleanConstructor;
|
|
7815
7834
|
default: boolean;
|
|
@@ -7831,6 +7850,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
7831
7850
|
linebarAutoHidden: boolean;
|
|
7832
7851
|
bordered: string | boolean;
|
|
7833
7852
|
uniqueCacheData: boolean;
|
|
7853
|
+
outBordered: boolean;
|
|
7834
7854
|
}>;
|
|
7835
7855
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
7836
7856
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -8100,6 +8120,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
8100
8120
|
prefix?: string | import("../../../es/shared/types").AnyObject | (() => any) | undefined;
|
|
8101
8121
|
suffix?: string | import("../../../es/shared/types").AnyObject | (() => any) | undefined;
|
|
8102
8122
|
allowSlash?: boolean | undefined;
|
|
8123
|
+
bordered?: string | boolean | undefined;
|
|
8103
8124
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
8104
8125
|
content?: string | import("..").FormRenderer | Record<string, import("..").FormRenderer> | undefined;
|
|
8105
8126
|
lazyRequest?: boolean | undefined;
|
|
@@ -9839,6 +9860,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
9839
9860
|
prefix?: string | import("../../../es/shared/types").AnyObject | (() => any) | undefined;
|
|
9840
9861
|
suffix?: string | import("../../../es/shared/types").AnyObject | (() => any) | undefined;
|
|
9841
9862
|
allowSlash?: boolean | undefined;
|
|
9863
|
+
bordered?: string | boolean | undefined;
|
|
9842
9864
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
9843
9865
|
content?: string | import("..").FormRenderer | Record<string, import("..").FormRenderer> | undefined;
|
|
9844
9866
|
lazyRequest?: boolean | undefined;
|
|
@@ -11551,6 +11573,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
11551
11573
|
prefix?: string | import("../../../es/shared/types").AnyObject | (() => any) | undefined;
|
|
11552
11574
|
suffix?: string | import("../../../es/shared/types").AnyObject | (() => any) | undefined;
|
|
11553
11575
|
allowSlash?: boolean | undefined;
|
|
11576
|
+
bordered?: string | boolean | undefined;
|
|
11554
11577
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
11555
11578
|
content?: string | import("..").FormRenderer | Record<string, import("..").FormRenderer> | undefined;
|
|
11556
11579
|
lazyRequest?: boolean | undefined;
|
|
@@ -13274,6 +13297,10 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
13274
13297
|
type: (BooleanConstructor | StringConstructor)[];
|
|
13275
13298
|
default: boolean;
|
|
13276
13299
|
};
|
|
13300
|
+
outBordered: {
|
|
13301
|
+
type: BooleanConstructor;
|
|
13302
|
+
default: boolean;
|
|
13303
|
+
};
|
|
13277
13304
|
uniqueCacheData: {
|
|
13278
13305
|
type: BooleanConstructor;
|
|
13279
13306
|
default: boolean;
|
|
@@ -13414,6 +13441,10 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
13414
13441
|
type: (BooleanConstructor | StringConstructor)[];
|
|
13415
13442
|
default: boolean;
|
|
13416
13443
|
};
|
|
13444
|
+
outBordered: {
|
|
13445
|
+
type: BooleanConstructor;
|
|
13446
|
+
default: boolean;
|
|
13447
|
+
};
|
|
13417
13448
|
uniqueCacheData: {
|
|
13418
13449
|
type: BooleanConstructor;
|
|
13419
13450
|
default: boolean;
|
|
@@ -13467,7 +13498,10 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
13467
13498
|
operationalFormHandler: (field: string) => void;
|
|
13468
13499
|
triggerAllOperationalFormHandler: () => void;
|
|
13469
13500
|
wordbookSettingHandler: (fieldKey: string, value: unknown) => void;
|
|
13470
|
-
schemaAdaptor: (fieldList: import("..").FieldItem[]
|
|
13501
|
+
schemaAdaptor: (fieldList: import("..").FieldItem[], options?: {
|
|
13502
|
+
column: number;
|
|
13503
|
+
outBordered?: boolean | undefined;
|
|
13504
|
+
}) => Record<string, import("@formily/json-schema").Stringify<{
|
|
13471
13505
|
[key: symbol]: any;
|
|
13472
13506
|
[key: `x-${string}`]: any;
|
|
13473
13507
|
[key: `x-${number}`]: any;
|
|
@@ -13883,6 +13917,10 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
13883
13917
|
type: (BooleanConstructor | StringConstructor)[];
|
|
13884
13918
|
default: boolean;
|
|
13885
13919
|
};
|
|
13920
|
+
outBordered: {
|
|
13921
|
+
type: BooleanConstructor;
|
|
13922
|
+
default: boolean;
|
|
13923
|
+
};
|
|
13886
13924
|
uniqueCacheData: {
|
|
13887
13925
|
type: BooleanConstructor;
|
|
13888
13926
|
default: boolean;
|
|
@@ -13904,6 +13942,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
13904
13942
|
linebarAutoHidden: boolean;
|
|
13905
13943
|
bordered: string | boolean;
|
|
13906
13944
|
uniqueCacheData: boolean;
|
|
13945
|
+
outBordered: boolean;
|
|
13907
13946
|
}>;
|
|
13908
13947
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
13909
13948
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -205,6 +205,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
205
205
|
prefix?: string | import("../../../../es/shared/types").AnyObject | (() => any) | undefined;
|
|
206
206
|
suffix?: string | import("../../../../es/shared/types").AnyObject | (() => any) | undefined;
|
|
207
207
|
allowSlash?: boolean | undefined;
|
|
208
|
+
bordered?: string | boolean | undefined;
|
|
208
209
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
209
210
|
content?: string | import("../../../../es/components/form-render").FormRenderer | Record<string, import("../../../../es/components/form-render").FormRenderer> | undefined;
|
|
210
211
|
lazyRequest?: boolean | undefined;
|
|
@@ -1933,6 +1934,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1933
1934
|
prefix?: string | import("../../../../es/shared/types").AnyObject | (() => any) | undefined;
|
|
1934
1935
|
suffix?: string | import("../../../../es/shared/types").AnyObject | (() => any) | undefined;
|
|
1935
1936
|
allowSlash?: boolean | undefined;
|
|
1937
|
+
bordered?: string | boolean | undefined;
|
|
1936
1938
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
1937
1939
|
content?: string | import("../../../../es/components/form-render").FormRenderer | Record<string, import("../../../../es/components/form-render").FormRenderer> | undefined;
|
|
1938
1940
|
lazyRequest?: boolean | undefined;
|
|
@@ -3670,6 +3672,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3670
3672
|
prefix?: string | import("../../../../es/shared/types").AnyObject | (() => any) | undefined;
|
|
3671
3673
|
suffix?: string | import("../../../../es/shared/types").AnyObject | (() => any) | undefined;
|
|
3672
3674
|
allowSlash?: boolean | undefined;
|
|
3675
|
+
bordered?: string | boolean | undefined;
|
|
3673
3676
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
3674
3677
|
content?: string | import("../../../../es/components/form-render").FormRenderer | Record<string, import("../../../../es/components/form-render").FormRenderer> | undefined;
|
|
3675
3678
|
lazyRequest?: boolean | undefined;
|
|
@@ -5398,6 +5401,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5398
5401
|
prefix?: string | import("../../../../es/shared/types").AnyObject | (() => any) | undefined;
|
|
5399
5402
|
suffix?: string | import("../../../../es/shared/types").AnyObject | (() => any) | undefined;
|
|
5400
5403
|
allowSlash?: boolean | undefined;
|
|
5404
|
+
bordered?: string | boolean | undefined;
|
|
5401
5405
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
5402
5406
|
content?: string | import("../../../../es/components/form-render").FormRenderer | Record<string, import("../../../../es/components/form-render").FormRenderer> | undefined;
|
|
5403
5407
|
lazyRequest?: boolean | undefined;
|
|
@@ -7203,6 +7207,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7203
7207
|
type: (BooleanConstructor | StringConstructor)[];
|
|
7204
7208
|
default: boolean;
|
|
7205
7209
|
};
|
|
7210
|
+
outBordered: {
|
|
7211
|
+
type: BooleanConstructor;
|
|
7212
|
+
default: boolean;
|
|
7213
|
+
};
|
|
7206
7214
|
uniqueCacheData: {
|
|
7207
7215
|
type: BooleanConstructor;
|
|
7208
7216
|
default: boolean;
|
|
@@ -7343,6 +7351,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7343
7351
|
type: (BooleanConstructor | StringConstructor)[];
|
|
7344
7352
|
default: boolean;
|
|
7345
7353
|
};
|
|
7354
|
+
outBordered: {
|
|
7355
|
+
type: BooleanConstructor;
|
|
7356
|
+
default: boolean;
|
|
7357
|
+
};
|
|
7346
7358
|
uniqueCacheData: {
|
|
7347
7359
|
type: BooleanConstructor;
|
|
7348
7360
|
default: boolean;
|
|
@@ -7396,7 +7408,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7396
7408
|
operationalFormHandler: (field: string) => void;
|
|
7397
7409
|
triggerAllOperationalFormHandler: () => void;
|
|
7398
7410
|
wordbookSettingHandler: (fieldKey: string, value: unknown) => void;
|
|
7399
|
-
schemaAdaptor: (fieldList: import("../../../../es/components/form-render").FieldItem[]
|
|
7411
|
+
schemaAdaptor: (fieldList: import("../../../../es/components/form-render").FieldItem[], options?: {
|
|
7412
|
+
column: number;
|
|
7413
|
+
outBordered?: boolean | undefined;
|
|
7414
|
+
}) => Record<string, import("@formily/json-schema").Stringify<{
|
|
7400
7415
|
[key: symbol]: any;
|
|
7401
7416
|
[key: `x-${string}`]: any;
|
|
7402
7417
|
[key: `x-${number}`]: any;
|
|
@@ -7812,6 +7827,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7812
7827
|
type: (BooleanConstructor | StringConstructor)[];
|
|
7813
7828
|
default: boolean;
|
|
7814
7829
|
};
|
|
7830
|
+
outBordered: {
|
|
7831
|
+
type: BooleanConstructor;
|
|
7832
|
+
default: boolean;
|
|
7833
|
+
};
|
|
7815
7834
|
uniqueCacheData: {
|
|
7816
7835
|
type: BooleanConstructor;
|
|
7817
7836
|
default: boolean;
|
|
@@ -7833,6 +7852,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7833
7852
|
linebarAutoHidden: boolean;
|
|
7834
7853
|
bordered: string | boolean;
|
|
7835
7854
|
uniqueCacheData: boolean;
|
|
7855
|
+
outBordered: boolean;
|
|
7836
7856
|
}>;
|
|
7837
7857
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
7838
7858
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -8102,6 +8122,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8102
8122
|
prefix?: string | import("../../../../es/shared/types").AnyObject | (() => any) | undefined;
|
|
8103
8123
|
suffix?: string | import("../../../../es/shared/types").AnyObject | (() => any) | undefined;
|
|
8104
8124
|
allowSlash?: boolean | undefined;
|
|
8125
|
+
bordered?: string | boolean | undefined;
|
|
8105
8126
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
8106
8127
|
content?: string | import("../../../../es/components/form-render").FormRenderer | Record<string, import("../../../../es/components/form-render").FormRenderer> | undefined;
|
|
8107
8128
|
lazyRequest?: boolean | undefined;
|
|
@@ -9841,6 +9862,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9841
9862
|
prefix?: string | import("../../../../es/shared/types").AnyObject | (() => any) | undefined;
|
|
9842
9863
|
suffix?: string | import("../../../../es/shared/types").AnyObject | (() => any) | undefined;
|
|
9843
9864
|
allowSlash?: boolean | undefined;
|
|
9865
|
+
bordered?: string | boolean | undefined;
|
|
9844
9866
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
9845
9867
|
content?: string | import("../../../../es/components/form-render").FormRenderer | Record<string, import("../../../../es/components/form-render").FormRenderer> | undefined;
|
|
9846
9868
|
lazyRequest?: boolean | undefined;
|
|
@@ -11553,6 +11575,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11553
11575
|
prefix?: string | import("../../../../es/shared/types").AnyObject | (() => any) | undefined;
|
|
11554
11576
|
suffix?: string | import("../../../../es/shared/types").AnyObject | (() => any) | undefined;
|
|
11555
11577
|
allowSlash?: boolean | undefined;
|
|
11578
|
+
bordered?: string | boolean | undefined;
|
|
11556
11579
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
11557
11580
|
content?: string | import("../../../../es/components/form-render").FormRenderer | Record<string, import("../../../../es/components/form-render").FormRenderer> | undefined;
|
|
11558
11581
|
lazyRequest?: boolean | undefined;
|
|
@@ -13276,6 +13299,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13276
13299
|
type: (BooleanConstructor | StringConstructor)[];
|
|
13277
13300
|
default: boolean;
|
|
13278
13301
|
};
|
|
13302
|
+
outBordered: {
|
|
13303
|
+
type: BooleanConstructor;
|
|
13304
|
+
default: boolean;
|
|
13305
|
+
};
|
|
13279
13306
|
uniqueCacheData: {
|
|
13280
13307
|
type: BooleanConstructor;
|
|
13281
13308
|
default: boolean;
|
|
@@ -13416,6 +13443,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13416
13443
|
type: (BooleanConstructor | StringConstructor)[];
|
|
13417
13444
|
default: boolean;
|
|
13418
13445
|
};
|
|
13446
|
+
outBordered: {
|
|
13447
|
+
type: BooleanConstructor;
|
|
13448
|
+
default: boolean;
|
|
13449
|
+
};
|
|
13419
13450
|
uniqueCacheData: {
|
|
13420
13451
|
type: BooleanConstructor;
|
|
13421
13452
|
default: boolean;
|
|
@@ -13469,7 +13500,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13469
13500
|
operationalFormHandler: (field: string) => void;
|
|
13470
13501
|
triggerAllOperationalFormHandler: () => void;
|
|
13471
13502
|
wordbookSettingHandler: (fieldKey: string, value: unknown) => void;
|
|
13472
|
-
schemaAdaptor: (fieldList: import("../../../../es/components/form-render").FieldItem[]
|
|
13503
|
+
schemaAdaptor: (fieldList: import("../../../../es/components/form-render").FieldItem[], options?: {
|
|
13504
|
+
column: number;
|
|
13505
|
+
outBordered?: boolean | undefined;
|
|
13506
|
+
}) => Record<string, import("@formily/json-schema").Stringify<{
|
|
13473
13507
|
[key: symbol]: any;
|
|
13474
13508
|
[key: `x-${string}`]: any;
|
|
13475
13509
|
[key: `x-${number}`]: any;
|
|
@@ -13885,6 +13919,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13885
13919
|
type: (BooleanConstructor | StringConstructor)[];
|
|
13886
13920
|
default: boolean;
|
|
13887
13921
|
};
|
|
13922
|
+
outBordered: {
|
|
13923
|
+
type: BooleanConstructor;
|
|
13924
|
+
default: boolean;
|
|
13925
|
+
};
|
|
13888
13926
|
uniqueCacheData: {
|
|
13889
13927
|
type: BooleanConstructor;
|
|
13890
13928
|
default: boolean;
|
|
@@ -13906,6 +13944,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13906
13944
|
linebarAutoHidden: boolean;
|
|
13907
13945
|
bordered: string | boolean;
|
|
13908
13946
|
uniqueCacheData: boolean;
|
|
13947
|
+
outBordered: boolean;
|
|
13909
13948
|
}>;
|
|
13910
13949
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
13911
13950
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -156,6 +156,10 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
156
156
|
type: (BooleanConstructor | StringConstructor)[];
|
|
157
157
|
default: boolean;
|
|
158
158
|
};
|
|
159
|
+
outBordered: {
|
|
160
|
+
type: BooleanConstructor;
|
|
161
|
+
default: boolean;
|
|
162
|
+
};
|
|
159
163
|
uniqueCacheData: {
|
|
160
164
|
type: BooleanConstructor;
|
|
161
165
|
default: boolean;
|
|
@@ -296,6 +300,10 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
296
300
|
type: (BooleanConstructor | StringConstructor)[];
|
|
297
301
|
default: boolean;
|
|
298
302
|
};
|
|
303
|
+
outBordered: {
|
|
304
|
+
type: BooleanConstructor;
|
|
305
|
+
default: boolean;
|
|
306
|
+
};
|
|
299
307
|
uniqueCacheData: {
|
|
300
308
|
type: BooleanConstructor;
|
|
301
309
|
default: boolean;
|
|
@@ -349,7 +357,10 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
349
357
|
operationalFormHandler: (field: string) => void;
|
|
350
358
|
triggerAllOperationalFormHandler: () => void;
|
|
351
359
|
wordbookSettingHandler: (fieldKey: string, value: unknown) => void;
|
|
352
|
-
schemaAdaptor: (fieldList: FieldItem[]
|
|
360
|
+
schemaAdaptor: (fieldList: FieldItem[], options?: {
|
|
361
|
+
column: number;
|
|
362
|
+
outBordered?: boolean | undefined;
|
|
363
|
+
}) => Record<string, import("@formily/json-schema").Stringify<{
|
|
353
364
|
[key: symbol]: any;
|
|
354
365
|
[key: `x-${string}`]: any;
|
|
355
366
|
[key: `x-${number}`]: any;
|
|
@@ -765,6 +776,10 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
765
776
|
type: (BooleanConstructor | StringConstructor)[];
|
|
766
777
|
default: boolean;
|
|
767
778
|
};
|
|
779
|
+
outBordered: {
|
|
780
|
+
type: BooleanConstructor;
|
|
781
|
+
default: boolean;
|
|
782
|
+
};
|
|
768
783
|
uniqueCacheData: {
|
|
769
784
|
type: BooleanConstructor;
|
|
770
785
|
default: boolean;
|
|
@@ -786,6 +801,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
786
801
|
linebarAutoHidden: boolean;
|
|
787
802
|
bordered: string | boolean;
|
|
788
803
|
uniqueCacheData: boolean;
|
|
804
|
+
outBordered: boolean;
|
|
789
805
|
}>;
|
|
790
806
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
791
807
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -158,6 +158,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
158
158
|
prefix?: string | import("../../../../../es/shared/types").AnyObject | (() => any) | undefined;
|
|
159
159
|
suffix?: string | import("../../../../../es/shared/types").AnyObject | (() => any) | undefined;
|
|
160
160
|
allowSlash?: boolean | undefined;
|
|
161
|
+
bordered?: string | boolean | undefined;
|
|
161
162
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
162
163
|
content?: string | import("../../../../../es/components/form-render").FormRenderer | Record<string, import("../../../../../es/components/form-render").FormRenderer> | undefined;
|
|
163
164
|
lazyRequest?: boolean | undefined;
|
|
@@ -1897,6 +1898,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1897
1898
|
prefix?: string | import("../../../../../es/shared/types").AnyObject | (() => any) | undefined;
|
|
1898
1899
|
suffix?: string | import("../../../../../es/shared/types").AnyObject | (() => any) | undefined;
|
|
1899
1900
|
allowSlash?: boolean | undefined;
|
|
1901
|
+
bordered?: string | boolean | undefined;
|
|
1900
1902
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
1901
1903
|
content?: string | import("../../../../../es/components/form-render").FormRenderer | Record<string, import("../../../../../es/components/form-render").FormRenderer> | undefined;
|
|
1902
1904
|
lazyRequest?: boolean | undefined;
|
|
@@ -3609,6 +3611,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3609
3611
|
prefix?: string | import("../../../../../es/shared/types").AnyObject | (() => any) | undefined;
|
|
3610
3612
|
suffix?: string | import("../../../../../es/shared/types").AnyObject | (() => any) | undefined;
|
|
3611
3613
|
allowSlash?: boolean | undefined;
|
|
3614
|
+
bordered?: string | boolean | undefined;
|
|
3612
3615
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
3613
3616
|
content?: string | import("../../../../../es/components/form-render").FormRenderer | Record<string, import("../../../../../es/components/form-render").FormRenderer> | undefined;
|
|
3614
3617
|
lazyRequest?: boolean | undefined;
|
|
@@ -5332,6 +5335,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5332
5335
|
type: (BooleanConstructor | StringConstructor)[];
|
|
5333
5336
|
default: boolean;
|
|
5334
5337
|
};
|
|
5338
|
+
outBordered: {
|
|
5339
|
+
type: BooleanConstructor;
|
|
5340
|
+
default: boolean;
|
|
5341
|
+
};
|
|
5335
5342
|
uniqueCacheData: {
|
|
5336
5343
|
type: BooleanConstructor;
|
|
5337
5344
|
default: boolean;
|
|
@@ -5472,6 +5479,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5472
5479
|
type: (BooleanConstructor | StringConstructor)[];
|
|
5473
5480
|
default: boolean;
|
|
5474
5481
|
};
|
|
5482
|
+
outBordered: {
|
|
5483
|
+
type: BooleanConstructor;
|
|
5484
|
+
default: boolean;
|
|
5485
|
+
};
|
|
5475
5486
|
uniqueCacheData: {
|
|
5476
5487
|
type: BooleanConstructor;
|
|
5477
5488
|
default: boolean;
|
|
@@ -5525,7 +5536,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5525
5536
|
operationalFormHandler: (field: string) => void;
|
|
5526
5537
|
triggerAllOperationalFormHandler: () => void;
|
|
5527
5538
|
wordbookSettingHandler: (fieldKey: string, value: unknown) => void;
|
|
5528
|
-
schemaAdaptor: (fieldList: FieldItem[]
|
|
5539
|
+
schemaAdaptor: (fieldList: FieldItem[], options?: {
|
|
5540
|
+
column: number;
|
|
5541
|
+
outBordered?: boolean | undefined;
|
|
5542
|
+
}) => Record<string, import("@formily/json-schema").Stringify<{
|
|
5529
5543
|
[key: symbol]: any;
|
|
5530
5544
|
[key: `x-${string}`]: any;
|
|
5531
5545
|
[key: `x-${number}`]: any;
|
|
@@ -5941,6 +5955,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5941
5955
|
type: (BooleanConstructor | StringConstructor)[];
|
|
5942
5956
|
default: boolean;
|
|
5943
5957
|
};
|
|
5958
|
+
outBordered: {
|
|
5959
|
+
type: BooleanConstructor;
|
|
5960
|
+
default: boolean;
|
|
5961
|
+
};
|
|
5944
5962
|
uniqueCacheData: {
|
|
5945
5963
|
type: BooleanConstructor;
|
|
5946
5964
|
default: boolean;
|
|
@@ -5962,6 +5980,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5962
5980
|
linebarAutoHidden: boolean;
|
|
5963
5981
|
bordered: string | boolean;
|
|
5964
5982
|
uniqueCacheData: boolean;
|
|
5983
|
+
outBordered: boolean;
|
|
5965
5984
|
}>;
|
|
5966
5985
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
5967
5986
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -143,6 +143,10 @@ declare const FormRender: SFCWithInstall<import("vue").DefineComponent<{}, {
|
|
|
143
143
|
type: (BooleanConstructor | StringConstructor)[];
|
|
144
144
|
default: boolean;
|
|
145
145
|
};
|
|
146
|
+
outBordered: {
|
|
147
|
+
type: BooleanConstructor;
|
|
148
|
+
default: boolean;
|
|
149
|
+
};
|
|
146
150
|
uniqueCacheData: {
|
|
147
151
|
type: BooleanConstructor;
|
|
148
152
|
default: boolean;
|
|
@@ -283,6 +287,10 @@ declare const FormRender: SFCWithInstall<import("vue").DefineComponent<{}, {
|
|
|
283
287
|
type: (BooleanConstructor | StringConstructor)[];
|
|
284
288
|
default: boolean;
|
|
285
289
|
};
|
|
290
|
+
outBordered: {
|
|
291
|
+
type: BooleanConstructor;
|
|
292
|
+
default: boolean;
|
|
293
|
+
};
|
|
286
294
|
uniqueCacheData: {
|
|
287
295
|
type: BooleanConstructor;
|
|
288
296
|
default: boolean;
|
|
@@ -336,7 +344,10 @@ declare const FormRender: SFCWithInstall<import("vue").DefineComponent<{}, {
|
|
|
336
344
|
operationalFormHandler: (field: string) => void;
|
|
337
345
|
triggerAllOperationalFormHandler: () => void;
|
|
338
346
|
wordbookSettingHandler: (fieldKey: string, value: unknown) => void;
|
|
339
|
-
schemaAdaptor: (fieldList: import("./src/types").FieldItem[]
|
|
347
|
+
schemaAdaptor: (fieldList: import("./src/types").FieldItem[], options?: {
|
|
348
|
+
column: number;
|
|
349
|
+
outBordered?: boolean | undefined;
|
|
350
|
+
}) => Record<string, import("@formily/json-schema").Stringify<{
|
|
340
351
|
[key: symbol]: any;
|
|
341
352
|
[key: `x-${string}`]: any;
|
|
342
353
|
[key: `x-${number}`]: any;
|
|
@@ -752,6 +763,10 @@ declare const FormRender: SFCWithInstall<import("vue").DefineComponent<{}, {
|
|
|
752
763
|
type: (BooleanConstructor | StringConstructor)[];
|
|
753
764
|
default: boolean;
|
|
754
765
|
};
|
|
766
|
+
outBordered: {
|
|
767
|
+
type: BooleanConstructor;
|
|
768
|
+
default: boolean;
|
|
769
|
+
};
|
|
755
770
|
uniqueCacheData: {
|
|
756
771
|
type: BooleanConstructor;
|
|
757
772
|
default: boolean;
|
|
@@ -773,6 +788,7 @@ declare const FormRender: SFCWithInstall<import("vue").DefineComponent<{}, {
|
|
|
773
788
|
linebarAutoHidden: boolean;
|
|
774
789
|
bordered: string | boolean;
|
|
775
790
|
uniqueCacheData: boolean;
|
|
791
|
+
outBordered: boolean;
|
|
776
792
|
}>;
|
|
777
793
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
778
794
|
export default FormRender;
|
|
@@ -138,6 +138,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
138
138
|
type: (BooleanConstructor | StringConstructor)[];
|
|
139
139
|
default: boolean;
|
|
140
140
|
};
|
|
141
|
+
outBordered: {
|
|
142
|
+
type: BooleanConstructor;
|
|
143
|
+
default: boolean;
|
|
144
|
+
};
|
|
141
145
|
uniqueCacheData: {
|
|
142
146
|
type: BooleanConstructor;
|
|
143
147
|
default: boolean;
|
|
@@ -278,6 +282,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
278
282
|
type: (BooleanConstructor | StringConstructor)[];
|
|
279
283
|
default: boolean;
|
|
280
284
|
};
|
|
285
|
+
outBordered: {
|
|
286
|
+
type: BooleanConstructor;
|
|
287
|
+
default: boolean;
|
|
288
|
+
};
|
|
281
289
|
uniqueCacheData: {
|
|
282
290
|
type: BooleanConstructor;
|
|
283
291
|
default: boolean;
|
|
@@ -331,7 +339,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
331
339
|
operationalFormHandler: (field: string) => void;
|
|
332
340
|
triggerAllOperationalFormHandler: () => void;
|
|
333
341
|
wordbookSettingHandler: (fieldKey: string, value: unknown) => void;
|
|
334
|
-
schemaAdaptor: (fieldList: FieldItem[]
|
|
342
|
+
schemaAdaptor: (fieldList: FieldItem[], options?: {
|
|
343
|
+
column: number;
|
|
344
|
+
outBordered?: boolean | undefined;
|
|
345
|
+
}) => Record<string, import("@formily/vue").Stringify<{
|
|
335
346
|
[key: symbol]: any;
|
|
336
347
|
[key: `x-${string}`]: any;
|
|
337
348
|
[key: `x-${number}`]: any;
|
|
@@ -747,6 +758,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
747
758
|
type: (BooleanConstructor | StringConstructor)[];
|
|
748
759
|
default: boolean;
|
|
749
760
|
};
|
|
761
|
+
outBordered: {
|
|
762
|
+
type: BooleanConstructor;
|
|
763
|
+
default: boolean;
|
|
764
|
+
};
|
|
750
765
|
uniqueCacheData: {
|
|
751
766
|
type: BooleanConstructor;
|
|
752
767
|
default: boolean;
|
|
@@ -768,5 +783,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
768
783
|
linebarAutoHidden: boolean;
|
|
769
784
|
bordered: string | boolean;
|
|
770
785
|
uniqueCacheData: boolean;
|
|
786
|
+
outBordered: boolean;
|
|
771
787
|
}>;
|
|
772
788
|
export default _default;
|