cnhis-design-vue 3.1.51-beta.0 → 3.1.51-release.0

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 (93) hide show
  1. package/README.md +87 -87
  2. package/es/components/base-search/index.d.ts +8 -14
  3. package/es/components/base-search/src/index.vue.d.ts +8 -14
  4. package/es/components/base-search/src/index.vue2.js +1 -1
  5. package/es/components/expand-field/src/components/form.vue2.js +1 -1
  6. package/es/components/expand-field/src/index.vue2.js +1 -1
  7. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
  8. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +1 -1
  9. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +1 -1
  10. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +1 -1
  11. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
  12. package/es/components/fabric-chart/src/hooks/useCommon.d.ts +0 -1
  13. package/es/components/fabric-chart/src/hooks/useCommon.js +1 -1
  14. package/es/components/form-config/index.d.ts +25 -174
  15. package/es/components/form-config/src/FormConfig.vue.d.ts +26 -175
  16. package/es/components/form-config/src/FormConfig.vue2.js +1 -1
  17. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +4 -4
  18. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +10 -13
  19. package/es/components/form-config/src/constants/index.d.ts +1 -19
  20. package/es/components/form-config/src/constants/index.js +1 -1
  21. package/es/components/form-config/src/hooks/useDataNormalize.d.ts +1 -1
  22. package/es/components/form-config/src/hooks/useDataNormalize.js +1 -1
  23. package/es/components/form-config/src/types/index.d.ts +3 -7
  24. package/es/components/form-config/style/index.css +1 -1
  25. package/es/components/form-render/index.d.ts +4 -4
  26. package/es/components/form-render/src/FormRender.vue.d.ts +2 -2
  27. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +4 -4
  28. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
  29. package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -2
  30. package/es/components/form-render/src/hooks/useFormValidator.js +1 -1
  31. package/es/components/form-render/src/hooks/useLowCodeReactions.d.ts +1 -1
  32. package/es/components/form-render/src/types/fieldItem.d.ts +1 -2
  33. package/es/components/form-render/src/types/index.d.ts +19 -1
  34. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +1 -1
  35. package/es/components/iho-table/src/types/index.d.ts +1 -2
  36. package/es/components/index.css +1 -1
  37. package/es/components/info-header/index.d.ts +13 -13
  38. package/es/components/info-header/src/InfoHeader.vue.d.ts +13 -13
  39. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1 -1
  40. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +1 -1
  41. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +5 -5
  42. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +4 -4
  43. package/es/components/quick-search/index.d.ts +8 -13
  44. package/es/components/quick-search/src/index.vue.d.ts +8 -13
  45. package/es/components/quick-search/src/index.vue2.js +1 -1
  46. package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
  47. package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
  48. package/es/components/select-person/src/SearchMultiple.vue.d.ts +6 -0
  49. package/es/components/shortcut-setter/index.d.ts +5 -6
  50. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +5 -6
  51. package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +0 -3
  52. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +1 -56
  53. package/es/components/table-filter/src/components/render-widget/components/index.js +1 -1
  54. package/es/components/table-filter/src/components/render-widget/index.vue.d.ts +1 -4
  55. package/es/components/table-filter/src/components/render-widget/index.vue.js +1 -1
  56. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +1 -55
  57. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
  58. package/es/components/table-filter/src/hooks/useAdvanced.d.ts +0 -2
  59. package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
  60. package/es/components/table-filter/src/hooks/useRenderWidget.d.ts +7 -1
  61. package/es/components/table-filter/src/hooks/useRenderWidget.js +1 -1
  62. package/es/components/table-filter/src/types/index.d.ts +0 -6
  63. package/es/env.d.ts +25 -25
  64. package/es/shared/assets/img/failure.png.js +1 -1
  65. package/es/shared/assets/img/no-permission.png.js +1 -1
  66. package/es/shared/assets/img/nodata.png.js +1 -1
  67. package/es/shared/assets/img/notfound.png.js +1 -1
  68. package/es/shared/assets/img/qr.png.js +1 -1
  69. package/es/shared/assets/img/success.png.js +1 -1
  70. package/es/shared/assets/img/video.png.js +1 -1
  71. package/es/shared/assets/img/video_default_cover.png.js +1 -1
  72. package/es/shared/assets/img/xb_big.png.js +1 -1
  73. package/es/shared/assets/img/xb_small.png.js +1 -1
  74. package/es/shared/components/InputNumberSlash/InputNumberSlash.d.ts +1 -19
  75. package/es/shared/components/InputNumberSlash/InputNumberSlash.js +1 -1
  76. package/es/shared/package.json.js +1 -1
  77. package/es/shared/types/business.d.ts +0 -20
  78. package/es/shared/utils/business.d.ts +2 -1
  79. package/es/shared/utils/index.d.ts +3 -3
  80. package/package.json +2 -2
  81. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  82. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
  83. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
  84. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
  85. package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +0 -121
  86. package/es/components/form-config/src/components/FormConfigEventSetting.vue.js +0 -1
  87. package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +0 -1
  88. package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue.d.ts +0 -58
  89. package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue.js +0 -1
  90. package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue2.js +0 -1
  91. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
  92. package/es/shared/utils/fabricjs/index.d.ts +0 -6823
  93. package/es/shared/utils/tapable/index.d.ts +0 -139
@@ -1 +1 @@
1
- import{defineComponent as t,ref as e,reactive as l,computed as a,watch as i,openBlock as n,createElementBlock as s,unref as d,createCommentVNode as o,withDirectives as r,createElementVNode as c,normalizeClass as b,createVNode as u,withCtx as p,Fragment as f,renderList as h,createBlock as y,createTextVNode as v,toDisplayString as m,vShow as g,nextTick as C}from"vue";import{useMessage as L,NAnchor as I,NAnchorLink as S}from"naive-ui";import E from"./components/label-classify.vue.js";import{handleLabelColor as w}from"../../../shared/utils/vexutils.js";import x from"../../../shared/utils/vexutilsExpand.js";const A={key:0,class:"label-disable-wrap"},O=[c("p",{class:"label-disable-title"},"无可选标签",-1),c("p",{class:"label-disable-desc"},"请联系管理员进行标签管理设置",-1)],K={style:{height:"100%"}},j={class:"label-wrap"},k=["id"],T={class:"edit-label-type"};var B=t({__name:"LabelFormContent",props:{item:{default:()=>({})},isEdit:{type:Boolean,default:!0},isLock:{type:Boolean,default:!1},labelSelectedList:null,isChangeWindow:{type:Boolean},getLabelList:{type:Function,default:()=>Promise.resolve({rows:[]})},deleteLabel:{type:Function,default:()=>Promise.resolve({status:!0})},saveLabelItem:{type:Function,default:()=>Promise.resolve({status:!0})},labelOptions:null,sourceType:{default:""},explicit:{type:Boolean,default:!1}},emits:["explicitOnChange","change","updateLabelData"],setup(t,{expose:B,emit:D}){const V=t,F=L(),P=e(null),_=l({editLabelItem:{},inited:!1,labelSelectedEdit:[],labelAnchorKey:"",cacheAnchorKey:"",labelConfig:{}});let N=e(0);const W=a((()=>{if(!_.inited)return!1;let t=_.labelConfig;return!t||Object.keys(t).every((e=>!t[e].itemList))})),$=a((()=>{let t=[].concat(..._.labelSelectedEdit,...V.labelSelectedList);return J(t,"labelId")})),q=a((()=>{const t=$.value||[];return Array.isArray(t)?t.map((t=>t.labelId)):[]})),J=(t,e)=>{let l={};return t.reduce(((t,a)=>(!l[a[e]]&&(l[a[e]]=t.push(a)),t)),[])},R=()=>{if(_.labelSelectedEdit=$.value,"object"==typeof _.labelConfig){Object.keys(_.labelConfig||{}).forEach((t=>{var e;let l=(null==(e=_.labelConfig[t])?void 0:e.itemList)||[];l.length&&l.forEach((t=>{q.value.includes(t.labelId)&&(t.isSelect=!0)}))}))}},z=(t,e)=>{if(!t)return;let l=Object.keys(t)||[];if(!l.length)return;let a=t[l[0]].curKey;if(e&&"string"==typeof e){let[i]=e.split("~"),n=l.find((e=>t[e]&&t[e].curKey&&t[e].curKey.includes(i)));n&&(a=t[n].curKey)}a&&Y(a)},G=(t,e)=>{e.showAdd=!0;const l=t.target.nextElementSibling;C((()=>{var t;null==(t=null==l?void 0:l.firstChild)||t.focus()}))},H=(t,e)=>{setTimeout((()=>{e.addVal?Q(e):e.showAdd=!1}),150)},M=(t,e)=>{e.addVal="",e.showAdd=!1},Q=async t=>{var e;if(!!t.itemList.filter((t=>!(t.isPublic&&1==t.isPublic))).find((e=>e.labelName===t.addVal)))return F.error("标签名称重复!"),!1;let l="";l=(null==(e=t.itemList)?void 0:e.length)?t.itemList[0].parentColor||t.parentColor||"":(null==t?void 0:t.parentColor)||"";const a={type:t.typeId,name:t.addVal,parentColor:l},{status:i}=await V.saveLabelItem(a,t);i&&(F.success("添加成功!"),D("updateLabelData"),t.showAdd=!1)},U=(t,e,l,a)=>{var i;const n=l.itemList,s=l.multipleChoice;let d=(null==(i=_.labelSelectedEdit)?void 0:i.length)&&x.clone(_.labelSelectedEdit,!0)||[];if(t){if(d.some((t=>t.labelId==e.labelId)))return;if(2==s){const{typeId:t,labelId:l}=e;d=d.filter((e=>e.typeId!==t)),n.forEach((t=>{t.labelId!==l&&(t.isSelect=!1)}))}d.push(e)}else{const t=d.findIndex((t=>t.labelId==e.labelId));-1!=t&&d.splice(t,1)}_.labelSelectedEdit=[...d],N.value++,V.explicit&&D("explicitOnChange",[..._.labelSelectedEdit])},X=async t=>{const{status:e}=await V.deleteLabel(t,V.item);if(e){F.success("删除成功!");for(const e in _.labelConfig){const l=_.labelConfig[e].itemList.findIndex((e=>e.labelId==t.labelId));-1!=l&&_.labelConfig[e].itemList.splice(l,1)}const e=_.labelSelectedEdit||[],l=V.labelSelectedList||[];if(e&&e.length){const l=e.findIndex((e=>e.labelId==t.labelId));-1!=l&&e.splice(l,1)}if(l&&l.length){const e=l.findIndex((e=>e.labelId==t.labelId));-1!=e&&l.splice(e,1),D("change",[...l],V.item)}D("updateLabelData")}else F.warning("删除失败")},Y=t=>{t&&setTimeout((()=>{let e,l="#"+t;e=P.value.querySelector("a[href='"+l+"']"),e&&e.click(),_.labelAnchorKey=t}),32)},Z=t=>{t.preventDefault()},tt=t=>{if(!t)return;let e=t.slice(1);_.cacheAnchorKey=e},et=()=>{var t;return null==(t=P.value)?void 0:t.querySelector(".right-label-wrap")};return i((()=>V.labelOptions),(t=>{t&&(()=>{var t;if(V.isLock)return;const e=JSON.parse(JSON.stringify(V.labelOptions));for(let l in e){let a=(null==(t=e[l])?void 0:t.typeId)||"";Object.assign(e[l],{curKey:`${l}_${a}}`})}_.labelConfig=e,C((()=>{let t;R(),V.explicit&&_.inited&&(t=_.labelAnchorKey),z(_.labelConfig,t),_.inited=!0}))})()}),{immediate:!0,deep:!0}),B({resetShowAdd:()=>{let{labelObj:t}=_.editLabelItem;if(t&&Object.keys(t).length)for(let e in t){let l=t[e];Object.assign(l,{showAdd:!1})}},handleLabelForm:t=>{t([..._.labelSelectedEdit||[]])},handleResetOptions:()=>{},hanldeSetLabelItem:(t,e)=>{if("object"==typeof _.labelConfig){Object.keys(_.labelConfig||{}).forEach((l=>{var a;let i=(null==(a=_.labelConfig[l])?void 0:a.itemList)||[];i.length&&i.forEach((l=>{t==l.labelId&&(l.isSelect=e)}))}))}if(!1===e&&Array.isArray(_.labelSelectedEdit)){const e=_.labelSelectedEdit.findIndex((e=>e.labelId==t));-1!=e&&_.labelSelectedEdit.splice(e,1)}}}),(e,l)=>(n(),s("div",{class:"c-label-form-content",ref_key:"labelFormContent",ref:P},[d(W)?(n(),s("div",A,O)):o("v-if",!0),r(c("div",K,[c("div",j,[o(" 表单内嵌打开标签组件的样式 "),o(' <div v-if="explicit" class="explicit-continer">\n\t\t\t\t\t<n-tabs :value="state.labelAnchorKey" type="card" @change="labelAnchorTabsOnChange" tab-position="top">\n\t\t\t\t\t\t<template v-for="(v, i) in state.labelConfig">\n\t\t\t\t\t\t\t<n-tab-pane :name="v.curKey">\n\t\t\t\t\t\t\t\t<span slot="tab">\n\t\t\t\t\t\t\t\t\t{{ i }}\n\t\t\t\t\t\t\t\t\t<span class="edit-label-type">({{ v.multipleChoice == 2 ? \'单\' : \'多\' }}选)</span>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t<div class="explicit-label-wrap left-label-wrap">\n\t\t\t\t\t\t\t\t\t<div class="edit-label-content">\n\t\t\t\t\t\t\t\t\t\t<labelClassify\n\t\t\t\t\t\t\t\t\t\t\t:classifyItem="v"\n\t\t\t\t\t\t\t\t\t\t\t:handleLabelChange="handleLabelChange"\n\t\t\t\t\t\t\t\t\t\t\t:handleLabelColor="handleLabelColor"\n\t\t\t\t\t\t\t\t\t\t\t:handleDelLabel="handleDelLabel"\n\t\t\t\t\t\t\t\t\t\t\t:hanldeBlur="hanldeBlur"\n\t\t\t\t\t\t\t\t\t\t\t:handleAddLabel="handleAddLabel"\n\t\t\t\t\t\t\t\t\t\t\t:clearaddVal="clearaddVal"\n\t\t\t\t\t\t\t\t\t\t\t:isEdit="isEdit"\n\t\t\t\t\t\t\t\t\t\t\t:sourceType="sourceType"\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</n-tab-pane>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</n-tabs>\n\t\t\t\t</div> '),o("\n\t\t\t\t\t普通标签样式\n\t\t\t\t\tv-else\n\t\t\t\t\texplicit\n\t\t\t\t "),c("div",{class:b(["left-label-wrap",{"total-left-label-wrap":t.isChangeWindow}])},[u(d(I),{"offset-target":et,type:"block",onClick:Z,onChange:tt},{default:p((()=>[(n(!0),s(f,null,h(_.labelConfig,((t,e)=>(n(),y(d(S),{href:`#${t.curKey}`,title:String(e)},null,8,["href","title"])))),256))])),_:1})],2),o(' v-if="!explicit" '),c("div",{class:b(["right-label-wrap",{"total-right-label-wrap":t.isChangeWindow}])},[(n(!0),s(f,null,h(_.labelConfig,((e,l)=>(n(),s("div",{key:l,class:"edit-label-content"},[c("div",{class:"edit-label",id:e.curKey},[v(m(l)+" ",1),c("span",T,"("+m(2==e.multipleChoice?"单":"多")+"选)",1)],8,k),u(E,{classifyItem:e,handleLabelChange:U,handleLabelColor:d(w),handleDelLabel:X,hanldeBlur:H,handleAddLabel:G,clearaddVal:M,isEdit:t.isEdit,sourceType:t.sourceType},null,8,["classifyItem","handleLabelColor","isEdit","sourceType"])])))),128))],2)])],512),[[g,!d(W)]])],512))}});export{B as default};
1
+ import{defineComponent as t,ref as e,reactive as l,computed as a,watch as i,openBlock as n,createElementBlock as s,unref as r,createCommentVNode as d,withDirectives as o,createElementVNode as c,normalizeClass as b,createVNode as u,withCtx as p,Fragment as f,renderList as h,createBlock as y,createTextVNode as v,toDisplayString as m,vShow as g,nextTick as C}from"vue";import{useMessage as L,NAnchor as I,NAnchorLink as S}from"naive-ui";import E from"./components/label-classify.vue.js";import{handleLabelColor as w}from"../../../shared/utils/vexutils.js";import x from"../../../shared/utils/vexutilsExpand.js";const A={key:0,class:"label-disable-wrap"},O=[c("p",{class:"label-disable-title"},"无可选标签",-1),c("p",{class:"label-disable-desc"},"请联系管理员进行标签管理设置",-1)],K={style:{height:"100%"}},j={class:"label-wrap"},k=["id"],T={class:"edit-label-type"};var B=t({__name:"LabelFormContent",props:{item:{default:()=>({})},isEdit:{type:Boolean,default:!0},isLock:{type:Boolean,default:!1},labelSelectedList:null,isChangeWindow:{type:Boolean},getLabelList:{type:Function,default:()=>Promise.resolve({rows:[]})},deleteLabel:{type:Function,default:()=>Promise.resolve({status:!0})},saveLabelItem:{type:Function,default:()=>Promise.resolve({status:!0})},labelOptions:null,sourceType:{default:""},explicit:{type:Boolean,default:!1}},emits:["explicitOnChange","change","updateLabelData"],setup(t,{expose:B,emit:D}){const V=t,F=L(),P=e(null),_=l({editLabelItem:{},inited:!1,labelSelectedEdit:[],labelAnchorKey:"",cacheAnchorKey:"",labelConfig:{}});let N=e(0);const W=a((()=>{if(!_.inited)return!1;let t=_.labelConfig;return!t||Object.keys(t).every((e=>!t[e].itemList))})),$=a((()=>{let t=[].concat(..._.labelSelectedEdit,...V.labelSelectedList);return J(t,"labelId")})),q=a((()=>{const t=$.value||[];return Array.isArray(t)?t.map((t=>t.labelId)):[]})),J=(t,e)=>{let l={};return t.reduce(((t,a)=>(!l[a[e]]&&(l[a[e]]=t.push(a)),t)),[])},R=()=>{if(_.labelSelectedEdit=$.value,"object"==typeof _.labelConfig){Object.keys(_.labelConfig||{}).forEach((t=>{var e;let l=(null==(e=_.labelConfig[t])?void 0:e.itemList)||[];l.length&&l.forEach((t=>{q.value.includes(t.labelId)&&(t.isSelect=!0)}))}))}},z=(t,e)=>{if(!t)return;let l=Object.keys(t)||[];if(!l.length)return;let a=t[l[0]].curKey;if(e&&"string"==typeof e){let[i]=e.split("~"),n=l.find((e=>t[e]&&t[e].curKey&&t[e].curKey.includes(i)));n&&(a=t[n].curKey)}a&&Y(a)},G=(t,e)=>{e.showAdd=!0;const l=t.target.nextElementSibling;C((()=>{var t;null==(t=null==l?void 0:l.firstChild)||t.focus()}))},H=(t,e)=>{setTimeout((()=>{e.addVal?Q(e):e.showAdd=!1}),150)},M=(t,e)=>{e.addVal="",e.showAdd=!1},Q=async t=>{var e;if(!!t.itemList.filter((t=>!(t.isPublic&&1==t.isPublic))).find((e=>e.labelName===t.addVal)))return F.error("标签名称重复!"),!1;let l="";l=(null==(e=t.itemList)?void 0:e.length)?t.itemList[0].parentColor||t.parentColor||"":(null==t?void 0:t.parentColor)||"";const a={type:t.typeId,name:t.addVal,parentColor:l},{status:i}=await V.saveLabelItem(a,t);i&&(F.success("添加成功!"),D("updateLabelData"),t.showAdd=!1)},U=(t,e,l,a)=>{var i;const n=l.itemList,s=l.multipleChoice;let r=(null==(i=_.labelSelectedEdit)?void 0:i.length)&&x.clone(_.labelSelectedEdit,!0)||[];if(t){if(r.some((t=>t.labelId==e.labelId)))return;if(2==s){const{typeId:t,labelId:l}=e;r=r.filter((e=>e.typeId!==t)),n.forEach((t=>{t.labelId!==l&&(t.isSelect=!1)}))}r.push(e)}else{const t=r.findIndex((t=>t.labelId==e.labelId));-1!=t&&r.splice(t,1)}_.labelSelectedEdit=[...r],N.value++,V.explicit&&D("explicitOnChange",[..._.labelSelectedEdit])},X=async t=>{const{status:e}=await V.deleteLabel(t,V.item);if(e){F.success("删除成功!");for(const e in _.labelConfig){const l=_.labelConfig[e].itemList.findIndex((e=>e.labelId==t.labelId));-1!=l&&_.labelConfig[e].itemList.splice(l,1)}const e=_.labelSelectedEdit||[],l=V.labelSelectedList||[];if(e&&e.length){const l=e.findIndex((e=>e.labelId==t.labelId));-1!=l&&e.splice(l,1)}if(l&&l.length){const e=l.findIndex((e=>e.labelId==t.labelId));-1!=e&&l.splice(e,1),D("change",[...l],V.item)}D("updateLabelData")}else F.warning("删除失败")},Y=t=>{t&&setTimeout((()=>{let e,l="#"+t;e=P.value.querySelector("a[href='"+l+"']"),e&&e.click(),_.labelAnchorKey=t}),32)},Z=t=>{t.preventDefault()},tt=t=>{if(!t)return;let e=t.slice(1);_.cacheAnchorKey=e},et=()=>{var t;return null==(t=P.value)?void 0:t.querySelector(".right-label-wrap")};return i((()=>V.labelOptions),(t=>{t&&(()=>{var t;if(V.isLock)return;const e=JSON.parse(JSON.stringify(V.labelOptions));for(let l in e){let a=(null==(t=e[l])?void 0:t.typeId)||"";Object.assign(e[l],{curKey:`${l}_${a}}`})}_.labelConfig=e,C((()=>{let t;R(),V.explicit&&_.inited&&(t=_.labelAnchorKey),z(_.labelConfig,t),_.inited=!0}))})()}),{immediate:!0,deep:!0}),B({resetShowAdd:()=>{let{labelObj:t}=_.editLabelItem;if(t&&Object.keys(t).length)for(let e in t){let l=t[e];Object.assign(l,{showAdd:!1})}},handleLabelForm:t=>{t([..._.labelSelectedEdit||[]])},handleResetOptions:()=>{},hanldeSetLabelItem:(t,e)=>{if("object"==typeof _.labelConfig){Object.keys(_.labelConfig||{}).forEach((l=>{var a;let i=(null==(a=_.labelConfig[l])?void 0:a.itemList)||[];i.length&&i.forEach((l=>{t==l.labelId&&(l.isSelect=e)}))}))}if(!1===e&&Array.isArray(_.labelSelectedEdit)){const e=_.labelSelectedEdit.findIndex((e=>e.labelId==t));-1!=e&&_.labelSelectedEdit.splice(e,1)}}}),(e,l)=>(n(),s("div",{class:"c-label-form-content",ref_key:"labelFormContent",ref:P},[r(W)?(n(),s("div",A,O)):d("v-if",!0),o(c("div",K,[c("div",j,[d(" 表单内嵌打开标签组件的样式 "),d(' <div v-if="explicit" class="explicit-continer">\r\n\t\t\t\t\t<n-tabs :value="state.labelAnchorKey" type="card" @change="labelAnchorTabsOnChange" tab-position="top">\r\n\t\t\t\t\t\t<template v-for="(v, i) in state.labelConfig">\r\n\t\t\t\t\t\t\t<n-tab-pane :name="v.curKey">\r\n\t\t\t\t\t\t\t\t<span slot="tab">\r\n\t\t\t\t\t\t\t\t\t{{ i }}\r\n\t\t\t\t\t\t\t\t\t<span class="edit-label-type">({{ v.multipleChoice == 2 ? \'单\' : \'多\' }}选)</span>\r\n\t\t\t\t\t\t\t\t</span>\r\n\t\t\t\t\t\t\t\t<div class="explicit-label-wrap left-label-wrap">\r\n\t\t\t\t\t\t\t\t\t<div class="edit-label-content">\r\n\t\t\t\t\t\t\t\t\t\t<labelClassify\r\n\t\t\t\t\t\t\t\t\t\t\t:classifyItem="v"\r\n\t\t\t\t\t\t\t\t\t\t\t:handleLabelChange="handleLabelChange"\r\n\t\t\t\t\t\t\t\t\t\t\t:handleLabelColor="handleLabelColor"\r\n\t\t\t\t\t\t\t\t\t\t\t:handleDelLabel="handleDelLabel"\r\n\t\t\t\t\t\t\t\t\t\t\t:hanldeBlur="hanldeBlur"\r\n\t\t\t\t\t\t\t\t\t\t\t:handleAddLabel="handleAddLabel"\r\n\t\t\t\t\t\t\t\t\t\t\t:clearaddVal="clearaddVal"\r\n\t\t\t\t\t\t\t\t\t\t\t:isEdit="isEdit"\r\n\t\t\t\t\t\t\t\t\t\t\t:sourceType="sourceType"\r\n\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t</n-tab-pane>\r\n\t\t\t\t\t\t</template>\r\n\t\t\t\t\t</n-tabs>\r\n\t\t\t\t</div> '),d("\r\n\t\t\t\t\t普通标签样式\r\n\t\t\t\t\tv-else\r\n\t\t\t\t\texplicit\r\n\t\t\t\t "),c("div",{class:b(["left-label-wrap",{"total-left-label-wrap":t.isChangeWindow}])},[u(r(I),{"offset-target":et,type:"block",onClick:Z,onChange:tt},{default:p((()=>[(n(!0),s(f,null,h(_.labelConfig,((t,e)=>(n(),y(r(S),{href:`#${t.curKey}`,title:String(e)},null,8,["href","title"])))),256))])),_:1})],2),d(' v-if="!explicit" '),c("div",{class:b(["right-label-wrap",{"total-right-label-wrap":t.isChangeWindow}])},[(n(!0),s(f,null,h(_.labelConfig,((e,l)=>(n(),s("div",{key:l,class:"edit-label-content"},[c("div",{class:"edit-label",id:e.curKey},[v(m(l)+" ",1),c("span",T,"("+m(2==e.multipleChoice?"单":"多")+"选)",1)],8,k),u(E,{classifyItem:e,handleLabelChange:U,handleLabelColor:r(w),handleDelLabel:X,hanldeBlur:H,handleAddLabel:G,clearaddVal:M,isEdit:t.isEdit,sourceType:t.sourceType},null,8,["classifyItem","handleLabelColor","isEdit","sourceType"])])))),128))],2)])],512),[[g,!r(W)]])],512))}});export{B as default};
@@ -95,6 +95,12 @@ declare const _default: import("vue").DefineComponent<{
95
95
  };
96
96
  readonly 'onUpdate:value': PropType<import("naive-ui/es/_utils").MaybeArray<(value: (string | number)[], meta: {
97
97
  actionType: "check" | "uncheck";
98
+ /**
99
+ * 取消勾选树节点
100
+ * baseKeys:基准值
101
+ * currentTree:当前树节点
102
+ * value:树节点的key值
103
+ */
98
104
  value: string | number;
99
105
  }) => void>>;
100
106
  readonly onUpdateValue: PropType<import("naive-ui/es/_utils").MaybeArray<(value: (string | number)[], meta: {
@@ -172,10 +172,9 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
172
172
  allow_check_mid_level?: "1" | "2" | "3" | "4" | undefined;
173
173
  prefix?: string | import("../../../es/shared/types").AnyObject | (() => any) | undefined;
174
174
  suffix?: string | import("../../../es/shared/types").AnyObject | (() => any) | undefined;
175
- allowSlash?: string | boolean | undefined;
175
+ allowSlash?: boolean | undefined;
176
176
  allowModify?: "0" | "1" | undefined;
177
177
  show_key?: string | undefined;
178
- whiteList?: string[] | undefined;
179
178
  bordered?: string | boolean | undefined;
180
179
  fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
181
180
  content?: string | import("..").FormRenderer | Record<string, import("..").FormRenderer> | undefined;
@@ -1886,7 +1885,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
1886
1885
  default: boolean;
1887
1886
  };
1888
1887
  lowCodeReactions: {
1889
- type: import("vue").PropType<import("../../../es/shared/types").FormLowCodeReactions.Config[]>;
1888
+ type: import("vue").PropType<import("..").FormLowCodeReactions.Config[]>;
1890
1889
  };
1891
1890
  operationalForm: {
1892
1891
  type: import("vue").PropType<import("../../../es/shared/types").FormOperationalConfig[]>;
@@ -2031,7 +2030,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
2031
2030
  default: boolean;
2032
2031
  };
2033
2032
  lowCodeReactions: {
2034
- type: import("vue").PropType<import("../../../es/shared/types").FormLowCodeReactions.Config[]>;
2033
+ type: import("vue").PropType<import("..").FormLowCodeReactions.Config[]>;
2035
2034
  };
2036
2035
  operationalForm: {
2037
2036
  type: import("vue").PropType<import("../../../es/shared/types").FormOperationalConfig[]>;
@@ -2190,7 +2189,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
2190
2189
  businessFormatter: import("..").FormBusinessFormatter;
2191
2190
  requestInstance: import("..").RequestInstance;
2192
2191
  enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
2193
- lowCodeReactions: import("../../../es/shared/types").FormLowCodeReactions.Config[];
2192
+ lowCodeReactions: import("..").FormLowCodeReactions.Config[];
2194
2193
  linebarAutoHidden: boolean;
2195
2194
  bordered: string | boolean;
2196
2195
  uniqueCacheData: boolean;
@@ -2601,7 +2600,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
2601
2600
  default: boolean;
2602
2601
  };
2603
2602
  lowCodeReactions: {
2604
- type: import("vue").PropType<import("../../../es/shared/types").FormLowCodeReactions.Config[]>;
2603
+ type: import("vue").PropType<import("..").FormLowCodeReactions.Config[]>;
2605
2604
  };
2606
2605
  operationalForm: {
2607
2606
  type: import("vue").PropType<import("../../../es/shared/types").FormOperationalConfig[]>;
@@ -174,10 +174,9 @@ declare const _default: import("vue").DefineComponent<{
174
174
  allow_check_mid_level?: "1" | "2" | "3" | "4" | undefined;
175
175
  prefix?: string | import("../../../../es/shared/types").AnyObject | (() => any) | undefined;
176
176
  suffix?: string | import("../../../../es/shared/types").AnyObject | (() => any) | undefined;
177
- allowSlash?: string | boolean | undefined;
177
+ allowSlash?: boolean | undefined;
178
178
  allowModify?: "0" | "1" | undefined;
179
179
  show_key?: string | undefined;
180
- whiteList?: string[] | undefined;
181
180
  bordered?: string | boolean | undefined;
182
181
  fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
183
182
  content?: string | import("../../../../es/components/form-render").FormRenderer | Record<string, import("../../../../es/components/form-render").FormRenderer> | undefined;
@@ -1888,7 +1887,7 @@ declare const _default: import("vue").DefineComponent<{
1888
1887
  default: boolean;
1889
1888
  };
1890
1889
  lowCodeReactions: {
1891
- type: import("vue").PropType<import("../../../../es/shared/types").FormLowCodeReactions.Config[]>;
1890
+ type: import("vue").PropType<import("../../../../es/components/form-render").FormLowCodeReactions.Config[]>;
1892
1891
  };
1893
1892
  operationalForm: {
1894
1893
  type: import("vue").PropType<import("../../../../es/shared/types").FormOperationalConfig[]>;
@@ -2033,7 +2032,7 @@ declare const _default: import("vue").DefineComponent<{
2033
2032
  default: boolean;
2034
2033
  };
2035
2034
  lowCodeReactions: {
2036
- type: import("vue").PropType<import("../../../../es/shared/types").FormLowCodeReactions.Config[]>;
2035
+ type: import("vue").PropType<import("../../../../es/components/form-render").FormLowCodeReactions.Config[]>;
2037
2036
  };
2038
2037
  operationalForm: {
2039
2038
  type: import("vue").PropType<import("../../../../es/shared/types").FormOperationalConfig[]>;
@@ -2192,7 +2191,7 @@ declare const _default: import("vue").DefineComponent<{
2192
2191
  businessFormatter: import("../../../../es/components/form-render").FormBusinessFormatter;
2193
2192
  requestInstance: import("../../../../es/components/form-render").RequestInstance;
2194
2193
  enterToNextWidget: boolean | ((fieldItem: FieldItem) => boolean | void);
2195
- lowCodeReactions: import("../../../../es/shared/types").FormLowCodeReactions.Config[];
2194
+ lowCodeReactions: import("../../../../es/components/form-render").FormLowCodeReactions.Config[];
2196
2195
  linebarAutoHidden: boolean;
2197
2196
  bordered: string | boolean;
2198
2197
  uniqueCacheData: boolean;
@@ -2603,7 +2602,7 @@ declare const _default: import("vue").DefineComponent<{
2603
2602
  default: boolean;
2604
2603
  };
2605
2604
  lowCodeReactions: {
2606
- type: import("vue").PropType<import("../../../../es/shared/types").FormLowCodeReactions.Config[]>;
2605
+ type: import("vue").PropType<import("../../../../es/components/form-render").FormLowCodeReactions.Config[]>;
2607
2606
  };
2608
2607
  operationalForm: {
2609
2608
  type: import("vue").PropType<import("../../../../es/shared/types").FormOperationalConfig[]>;
@@ -111,9 +111,6 @@ declare const _default: import("vue").DefineComponent<{
111
111
  readonly type: PropType<(string | number)[] | null>;
112
112
  readonly default: null;
113
113
  };
114
- /**
115
- * 拖拽完成
116
- */
117
114
  readonly disabled: {
118
115
  readonly type: PropType<boolean | undefined>;
119
116
  readonly default: undefined;
@@ -1292,59 +1292,4 @@ declare const SelectDynamic: import("vue").DefineComponent<{
1292
1292
  }>> & {
1293
1293
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
1294
1294
  }, {}>;
1295
- declare const InputCustom: import("vue").DefineComponent<{
1296
- componentCfg: {
1297
- type: import("vue").PropType<import("../../../../..").AnyObject>;
1298
- };
1299
- value: {
1300
- type: StringConstructor;
1301
- default: string;
1302
- };
1303
- isAccurateSearchVal: {
1304
- type: BooleanConstructor;
1305
- default: boolean;
1306
- };
1307
- }, {
1308
- $attrs: any;
1309
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1310
- componentCfg: {
1311
- type: import("vue").PropType<import("../../../../..").AnyObject>;
1312
- };
1313
- value: {
1314
- type: StringConstructor;
1315
- default: string;
1316
- };
1317
- isAccurateSearchVal: {
1318
- type: BooleanConstructor;
1319
- default: boolean;
1320
- };
1321
- }>> & {
1322
- "onUpdate:value"?: ((...args: any[]) => any) | undefined;
1323
- "onUpdate:isAccurate"?: ((...args: any[]) => any) | undefined;
1324
- }>>;
1325
- emit: (event: "update:isAccurate" | "update:value", ...args: any[]) => void;
1326
- valueCp: import("vue").WritableComputedRef<string>;
1327
- isAccurateSearchValCp: import("vue").WritableComputedRef<boolean>;
1328
- isShowSearch: import("vue").ComputedRef<any>;
1329
- NCheckbox: any;
1330
- NInput: any;
1331
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:isAccurate" | "update:value")[], "update:isAccurate" | "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1332
- componentCfg: {
1333
- type: import("vue").PropType<import("../../../../..").AnyObject>;
1334
- };
1335
- value: {
1336
- type: StringConstructor;
1337
- default: string;
1338
- };
1339
- isAccurateSearchVal: {
1340
- type: BooleanConstructor;
1341
- default: boolean;
1342
- };
1343
- }>> & {
1344
- "onUpdate:value"?: ((...args: any[]) => any) | undefined;
1345
- "onUpdate:isAccurate"?: ((...args: any[]) => any) | undefined;
1346
- }, {
1347
- value: string;
1348
- isAccurateSearchVal: boolean;
1349
- }>;
1350
- export { CheckboxGroup, InputNumberGroup, DateInner, DateOut, DateRangeInner, DateRangeOut, LabelInner, LabelOut, Select, SelectDynamic, InputCustom };
1295
+ export { CheckboxGroup, InputNumberGroup, DateInner, DateOut, DateRangeInner, DateRangeOut, LabelInner, LabelOut, Select, SelectDynamic };
@@ -1 +1 @@
1
- import{defineAsyncComponent as e}from"vue";const t=e((()=>import("./CheckboxGroup.vue.js"))),u=e((()=>import("./InputNumberGroup.vue.js"))),r=e((()=>import("./DateInner.vue.js"))),o=e((()=>import("./DateOut.vue.js"))),p=e((()=>import("./DateRangeInner.vue.js"))),m=e((()=>import("./DateRangeOut.vue.js"))),i=e((()=>import("./LabelInner.vue.js"))),s=e((()=>import("./LabelOut.vue.js"))),n=e((()=>import("./Select.vue.js"))),v=e((()=>import("./SelectDynamic.vue.js"))),j=e((()=>import("./InputCustom.vue.js")));export{t as CheckboxGroup,r as DateInner,o as DateOut,p as DateRangeInner,m as DateRangeOut,j as InputCustom,u as InputNumberGroup,i as LabelInner,s as LabelOut,n as Select,v as SelectDynamic};
1
+ import{defineAsyncComponent as e}from"vue";const t=e((()=>import("./CheckboxGroup.vue.js"))),r=e((()=>import("./InputNumberGroup.vue.js"))),u=e((()=>import("./DateInner.vue.js"))),o=e((()=>import("./DateOut.vue.js"))),p=e((()=>import("./DateRangeInner.vue.js"))),m=e((()=>import("./DateRangeOut.vue.js"))),i=e((()=>import("./LabelInner.vue.js"))),n=e((()=>import("./LabelOut.vue.js"))),s=e((()=>import("./Select.vue.js"))),v=e((()=>import("./SelectDynamic.vue.js")));export{t as CheckboxGroup,u as DateInner,o as DateOut,p as DateRangeInner,m as DateRangeOut,r as InputNumberGroup,i as LabelInner,n as LabelOut,s as Select,v as SelectDynamic};
@@ -11,7 +11,6 @@ declare const _default: import("vue").DefineComponent<{
11
11
  }, {
12
12
  valueCp(): any;
13
13
  unit(): any;
14
- isAccurateSearchVal(): any;
15
14
  }, {
16
15
  search(): void;
17
16
  getEleWidth(cfg: any): {
@@ -23,8 +22,7 @@ declare const _default: import("vue").DefineComponent<{
23
22
  }> | null;
24
23
  handleUpdate(val: any): void;
25
24
  handleUpdateUnit(val: any): void;
26
- handleUpdateAccurateSearch(val: any): void;
27
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:unit" | "update:isAccurate" | "outFilterChange")[], "update:modelValue" | "update:unit" | "update:isAccurate" | "outFilterChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
25
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:unit" | "outFilterChange")[], "update:modelValue" | "update:unit" | "outFilterChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
28
26
  cfg: {
29
27
  type: ObjectConstructor;
30
28
  required: true;
@@ -35,7 +33,6 @@ declare const _default: import("vue").DefineComponent<{
35
33
  }>> & {
36
34
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
37
35
  "onUpdate:unit"?: ((...args: any[]) => any) | undefined;
38
- "onUpdate:isAccurate"?: ((...args: any[]) => any) | undefined;
39
36
  onOutFilterChange?: ((...args: any[]) => any) | undefined;
40
37
  }, {}>;
41
38
  export default _default;
@@ -1 +1 @@
1
- import{defineComponent as e,h as t}from"vue";import{WidgetTypeEnums as i}from"../../types/enums.js";import{WidgetCfgMaps as a}from"./widgetCfgMaps.js";import r from"../../../../../_virtual/_plugin-vue_export-helper.js";const l=[i.DATE,i.DATE_TIME,i.CHECKBOX_GROUP];var s=r(e({props:{cfg:{type:Object,required:!0},modelValue:{type:[Array,String,Number]}},emits:["update:modelValue","update:unit","update:isAccurate","outFilterChange"],computed:{valueCp(){return this.cfg.widgetType==i.INPUT_NUMBER&&this.cfg.value?Number(this.cfg.value):this.cfg.value},unit(){return this.cfg.unit},isAccurateSearchVal(){return this.cfg.isAccurateSearchVal}},data:()=>({initialProps:{}}),methods:{search(){this.$emit("outFilterChange")},getEleWidth(e){const{widgetType:t,widgetCfg:a,filterExplicit:r}=e;if(l.includes(t))return;const s=i.SELECT!==t&&i.SELECTLABEL!==t&&i.SELECTDYNAMIC!==t||!a.multiple?"100%":"200px";return{width:0===r?"100%":e.advanceColWidth?`${e.advanceColWidth}px`:s}},initComponentProps(e){const{widgetType:t,alias:i,title:r,placeholder:l,widgetCfg:s,accurateSearch:n,filterExplicit:u}=e,{props:c,handlerProps:h}=a.get(t);let p={...c,accurateSearch:n,filterExplicit:u};h&&(p=h(p,{...s,title:i||r})),l&&(p.placeholder=l),this.initialProps=p,p.value&&(this.valueCp=p.value)},generateWidget(e){const{widgetType:i}=e;if(!a.has(i))return null;const{value:r}=e,{component:l,style:s,eventsBySearch:n=[]}=a.get(i),u={...this.initialProps,value:r,componentCfg:e},c=n.reduce(((e,t)=>{const{name:i,handler:a}=t;let r=this.search;return a&&(r=e=>{a(e,this.search,u)}),{...e,[`on${i}`]:r}}),{});return t(l,{...s,...u,style:this.getEleWidth(e),value:this.valueCp,unit:this.unit,isAccurateSearchVal:this.isAccurateSearchVal,"onUpdate:value":e=>this.handleUpdate(e),"onUpdate:unit":e=>this.handleUpdateUnit(e),"onUpdate:isAccurate":e=>this.handleUpdateAccurateSearch(e),...c})},handleUpdate(e){this.$emit("update:modelValue",e)},handleUpdateUnit(e){this.$emit("update:unit",e)},handleUpdateAccurateSearch(e){this.$emit("update:isAccurate",e)}},created(){this.initComponentProps(this.cfg)},render(){return this.generateWidget(this.cfg)}}),[["__file","index.vue"]]);export{s as default};
1
+ import{defineComponent as e,h as t}from"vue";import{WidgetTypeEnums as i}from"../../types/enums.js";import{WidgetCfgMaps as n}from"./widgetCfgMaps.js";import r from"../../../../../_virtual/_plugin-vue_export-helper.js";const a=[i.DATE,i.DATE_TIME,i.CHECKBOX_GROUP];var l=r(e({props:{cfg:{type:Object,required:!0},modelValue:{type:[Array,String,Number]}},emits:["update:modelValue","update:unit","outFilterChange"],computed:{valueCp(){return this.cfg.value},unit(){return this.cfg.unit}},data:()=>({initialProps:{}}),methods:{search(){this.$emit("outFilterChange")},getEleWidth(e){const{widgetType:t,widgetCfg:n,filterExplicit:r}=e;if(a.includes(t))return;const l=i.SELECT!==t&&i.SELECTLABEL!==t&&i.SELECTDYNAMIC!==t||!n.multiple?"100%":"200px";return{width:0===r?"100%":e.advanceColWidth?`${e.advanceColWidth}px`:l}},initComponentProps(e){const{widgetType:t,alias:i,title:r,placeholder:a,widgetCfg:l}=e,{props:s,handlerProps:p}=n.get(t);let u={...s};p&&(u=p(u,{...l,title:i||r})),a&&(u.placeholder=a),this.initialProps=u,u.value&&(this.valueCp=u.value)},generateWidget(e){const{widgetType:i}=e;if(!n.has(i))return null;const{value:r}=e,{component:a,style:l,eventsBySearch:s=[]}=n.get(i),p={...this.initialProps,value:r,componentCfg:e},u=s.reduce(((e,t)=>{const{name:i,handler:n}=t;let r=this.search;return n&&(r=e=>{n(e,this.search,p)}),{...e,[`on${i}`]:r}}),{});return t(a,{...l,...p,style:this.getEleWidth(e),value:this.valueCp,unit:this.unit,"onUpdate:value":e=>this.handleUpdate(e),"onUpdate:unit":e=>this.handleUpdateUnit(e),...u})},handleUpdate(e){this.$emit("update:modelValue",e)},handleUpdateUnit(e){this.$emit("update:unit",e)}},created(){this.initComponentProps(this.cfg)},render(){return this.generateWidget(this.cfg)}}),[["__file","index.vue"]]);export{l as default};
@@ -18,61 +18,7 @@ export declare const WidgetCfgMaps: Map<string, {
18
18
  setDefaultValue: (defaultValue: any) => any;
19
19
  style?: undefined;
20
20
  } | {
21
- component: import("vue").DefineComponent<{
22
- componentCfg: {
23
- type: import("vue").PropType<import("../../../..").AnyObject>;
24
- };
25
- value: {
26
- type: StringConstructor;
27
- default: string;
28
- };
29
- isAccurateSearchVal: {
30
- type: BooleanConstructor;
31
- default: boolean;
32
- };
33
- }, {
34
- $attrs: any;
35
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
36
- componentCfg: {
37
- type: import("vue").PropType<import("../../../..").AnyObject>;
38
- };
39
- value: {
40
- type: StringConstructor;
41
- default: string;
42
- };
43
- isAccurateSearchVal: {
44
- type: BooleanConstructor;
45
- default: boolean;
46
- };
47
- }>> & {
48
- "onUpdate:value"?: ((...args: any[]) => any) | undefined;
49
- "onUpdate:isAccurate"?: ((...args: any[]) => any) | undefined;
50
- }>>;
51
- emit: (event: "update:isAccurate" | "update:value", ...args: any[]) => void;
52
- valueCp: import("vue").WritableComputedRef<string>;
53
- isAccurateSearchValCp: import("vue").WritableComputedRef<boolean>;
54
- isShowSearch: import("vue").ComputedRef<any>;
55
- NCheckbox: any;
56
- NInput: any;
57
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:isAccurate" | "update:value")[], "update:isAccurate" | "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
58
- componentCfg: {
59
- type: import("vue").PropType<import("../../../..").AnyObject>;
60
- };
61
- value: {
62
- type: StringConstructor;
63
- default: string;
64
- };
65
- isAccurateSearchVal: {
66
- type: BooleanConstructor;
67
- default: boolean;
68
- };
69
- }>> & {
70
- "onUpdate:value"?: ((...args: any[]) => any) | undefined;
71
- "onUpdate:isAccurate"?: ((...args: any[]) => any) | undefined;
72
- }, {
73
- value: string;
74
- isAccurateSearchVal: boolean;
75
- }>;
21
+ component: any;
76
22
  props: {
77
23
  clearable: boolean;
78
24
  allowInput: (value: string) => boolean;
@@ -1 +1 @@
1
- import{WidgetTypeEnums as e,WidgetValEnums as l}from"../../types/enums.js";import{DatePresetValEnums as t,DateRangeOutDefEnums as r}from"./enums.js";import{NInputNumber as a}from"naive-ui";import{InputNumberGroup as o,InputCustom as n,Select as p,SelectDynamic as s,DateInner as i,DateOut as u,DateRangeInner as c,DateRangeOut as m,CheckboxGroup as d,LabelInner as y,LabelOut as h}from"./components/index.js";import{presetValToTimestamp as E,formatDateRangeInfo as f}from"./helpers/presetValToTimestamp.js";import{setSelectDynamicValue as M}from"./helpers/setDefaultValue.js";const D=e=>null==e?null:e,T=new Map([[e.INPUT_NUMBER,{component:a,props:{clearable:!0},eventsBySearch:[{name:"keydown",handler(e,l){"Enter"===e.key&&l()}}],handlerProps:(e,{title:l}={})=>({...e,placeholder:`输入${l}`}),setDefaultValue:D}],[e.INPUTNUMBER_RANGE,{component:o,props:{clearable:!0},eventsBySearch:[{name:"keydown",handler(e,l){"Enter"===e.key&&l()}}],handlerProps:(e,{title:l,filterExplicit:t}={})=>({...e,startPlaceholder:1===t?`起始${l}`:"最小值",endPlaceholder:1===t?`截止${l}`:"最大值"}),setDefaultValue:D}],[e.INPUT,{component:n,props:{clearable:!0,allowInput:e=>!e.startsWith(" ")&&!e.endsWith(" ")},eventsBySearch:[{name:"keydown",handler(e,l){"Enter"===e.key&&l()}}],handlerProps:(e,{title:l}={})=>({...e,placeholder:`搜索${l}`}),setDefaultValue:D}],[e.SELECT,{component:p,props:{clearable:!0,filterable:!0,multiple:!1,maxTagCount:"responsive"},eventsBySearch:[{name:"change",handler(e,l,t){const{multiple:r}=t;r&&l()}}],handlerProps(e,{multiple:l,title:t}={}){const r={...e,placeholder:`请选择${t}`};return l&&(r.multiple=!0),r},setDefaultValue:(e,t,r)=>t&&"boolean"==typeof(null==r?void 0:r.multiple)?r.multiple?[l.WHOLE]:l.WHOLE:e}],[e.SELECTDYNAMIC,{component:s,props:{clearable:!0,filterable:!0,multiple:!1,maxTagCount:"responsive"},eventsBySearch:[{name:"change",handler(e,l,t){const{multiple:r}=t;r&&l()}}],handlerProps(e,l={}){const{multiple:t,title:r}=l,a={...e,placeholder:`请选择${r}`};return t&&(a.multiple=!0),a},setDefaultValue:async(e,l,t)=>l&&(null==t?void 0:t._cfg)?await M(null==t?void 0:t._cfg):e}],[e.DATE,{component:i,props:{type:"date",clearable:!0,valueFormat:"yyyy-MM-dd"},handlerProps(e,l={}){const{title:t}=l;return{...e,placeholder:`请选择${t}`}},setDefaultValue:D}],[e.DATE_OUT,{component:u,props:{type:"date",clearable:!0,valueFormat:"yyyy-MM-dd"},handlerProps(e,l={}){const{title:t}=l;return{...e,placeholder:`请选择${t}`}},setDefaultValue:(e,l)=>l&&l!==t.CUSTOM?E(l,"YYYY-MM-DD"):e}],[e.DATE_RANGE_INNER,{component:c,props:{type:"date",clearable:!0,valueFormat:"yyyy-MM-dd"},handlerProps(e,l={}){const{title:t,filterExplicit:r}=l;return{...e,filterExplicit:r,startPlaceholder:`起始${t}`,endPlaceholder:`截止${t}`}},setDefaultValue:D}],[e.DATE_RANGE_OUT,{component:m,props:{type:"daterange",clearable:!0,valueFormat:"yyyy-MM-dd"},handlerProps(e,l={}){const{title:t,filterExplicit:r}=l;return{...e,filterExplicit:r,startPlaceholder:`起始${t}`,endPlaceholder:`截止${t}`}},setDefaultValue:(e,l,t)=>l&&l!==r.CUSTOM&&(null==t?void 0:t.optSetting)?f(l,"YYYY-MM-DD",t.optSetting):e}],[e.DATE_TIME,{component:i,props:{type:"datetime",clearable:!0,valueFormat:"yyyy-MM-dd HH:mm:ss"},handlerProps(e,l={}){const{title:t}=l;return{...e,placeholder:`请选择${t}`}},setDefaultValue:D}],[e.DATETIME_OUT,{component:u,props:{type:"datetime",clearable:!0,valueFormat:"yyyy-MM-dd HH:mm:ss"},handlerProps(e,l={}){const{title:t}=l;return{...e,placeholder:`请选择${t}`}},setDefaultValue:(e,l)=>l&&l!==t.CUSTOM?E(l,"YYYY-MM-DD HH:mm:ss"):e}],[e.DATETIME_RANGE_INNER,{component:c,props:{type:"datetime",clearable:!0,valueFormat:"yyyy-MM-dd HH:mm:ss"},handlerProps(e,l={}){const{title:t,filterExplicit:r}=l;return{...e,filterExplicit:r,startPlaceholder:`起始${t}`,endPlaceholder:`截止${t}`}},setDefaultValue:D}],[e.DATETIME_RANGE_OUT,{component:m,props:{type:"datetimerange",clearable:!0,valueFormat:"yyyy-MM-dd HH:mm:ss"},handlerProps(e,l={}){const{title:t,filterExplicit:r}=l;return{...e,filterExplicit:r,startPlaceholder:`起始${t}`,endPlaceholder:`截止${t}`}},setDefaultValue:(e,l,r)=>l&&l!==t.CUSTOM&&(null==r?void 0:r.optSetting)?f(l,"YYYY-MM-DD HH:mm:ss",r.optSetting):e}],[e.CHECKBOX_GROUP,{component:d,props:{},style:{"line-height":"32px"},handlerProps(e,{valueList:l,multiple:t}={}){const r={...e,multiple:t};return Array.isArray(l)&&(r.options=l.map((({value:e,label:l})=>({value:e,label:l})))),r},setDefaultValue:D}],[e.LABEL,{component:y,props:{},handlerProps:e=>({...e}),setDefaultValue:e=>e&&Array.isArray(e)?e.join("|#|"):e}],[e.SELECTLABEL,{component:h,props:{clearable:!0,filterable:!0,multiple:!1,maxTagCount:"responsive"},handlerProps(e,l={}){const{multiple:t,title:r}=l,a={...e,placeholder:`请选择${r}`};return t&&(a.multiple=!0),a},setDefaultValue:e=>e&&Array.isArray(e)?e.join("|#|"):e}]]);export{T as WidgetCfgMaps};
1
+ import{WidgetTypeEnums as e,WidgetValEnums as l}from"../../types/enums.js";import{DatePresetValEnums as t,DateRangeOutDefEnums as r}from"./enums.js";import{NInputNumber as a,NInput as o}from"naive-ui";import{InputNumberGroup as n,Select as p,SelectDynamic as s,DateInner as i,DateOut as u,DateRangeInner as c,DateRangeOut as m,CheckboxGroup as d,LabelInner as y,LabelOut as h}from"./components/index.js";import{presetValToTimestamp as E,formatDateRangeInfo as f}from"./helpers/presetValToTimestamp.js";import{setSelectDynamicValue as M}from"./helpers/setDefaultValue.js";const D=e=>null==e?null:e,T=new Map([[e.INPUT_NUMBER,{component:a,props:{clearable:!0},eventsBySearch:[{name:"keydown",handler(e,l){"Enter"===e.key&&l()}}],handlerProps:(e,{title:l}={})=>({...e,placeholder:`输入${l}`}),setDefaultValue:D}],[e.INPUTNUMBER_RANGE,{component:n,props:{clearable:!0},eventsBySearch:[{name:"keydown",handler(e,l){"Enter"===e.key&&l()}}],handlerProps:(e,{title:l,filterExplicit:t}={})=>({...e,startPlaceholder:1===t?`起始${l}`:"最小值",endPlaceholder:1===t?`截止${l}`:"最大值"}),setDefaultValue:D}],[e.INPUT,{component:o,props:{clearable:!0,allowInput:e=>!e.startsWith(" ")&&!e.endsWith(" ")},eventsBySearch:[{name:"keydown",handler(e,l){"Enter"===e.key&&l()}}],handlerProps:(e,{title:l}={})=>({...e,placeholder:`搜索${l}`}),setDefaultValue:D}],[e.SELECT,{component:p,props:{clearable:!0,filterable:!0,multiple:!1,maxTagCount:"responsive"},eventsBySearch:[{name:"change",handler(e,l,t){const{multiple:r}=t;r&&l()}}],handlerProps(e,{multiple:l,title:t}={}){const r={...e,placeholder:`请选择${t}`};return l&&(r.multiple=!0),r},setDefaultValue:(e,t,r)=>t&&"boolean"==typeof(null==r?void 0:r.multiple)?r.multiple?[l.WHOLE]:l.WHOLE:e}],[e.SELECTDYNAMIC,{component:s,props:{clearable:!0,filterable:!0,multiple:!1,maxTagCount:"responsive"},eventsBySearch:[{name:"change",handler(e,l,t){const{multiple:r}=t;r&&l()}}],handlerProps(e,l={}){const{multiple:t,title:r}=l,a={...e,placeholder:`请选择${r}`};return t&&(a.multiple=!0),a},setDefaultValue:async(e,l,t)=>l&&(null==t?void 0:t._cfg)?await M(null==t?void 0:t._cfg):e}],[e.DATE,{component:i,props:{type:"date",clearable:!0,valueFormat:"yyyy-MM-dd"},handlerProps(e,l={}){const{title:t}=l;return{...e,placeholder:`请选择${t}`}},setDefaultValue:D}],[e.DATE_OUT,{component:u,props:{type:"date",clearable:!0,valueFormat:"yyyy-MM-dd"},handlerProps(e,l={}){const{title:t}=l;return{...e,placeholder:`请选择${t}`}},setDefaultValue:(e,l)=>l&&l!==t.CUSTOM?E(l,"YYYY-MM-DD"):e}],[e.DATE_RANGE_INNER,{component:c,props:{type:"date",clearable:!0,valueFormat:"yyyy-MM-dd"},handlerProps(e,l={}){const{title:t,filterExplicit:r}=l;return{...e,filterExplicit:r,startPlaceholder:`起始${t}`,endPlaceholder:`截止${t}`}},setDefaultValue:D}],[e.DATE_RANGE_OUT,{component:m,props:{type:"daterange",clearable:!0,valueFormat:"yyyy-MM-dd"},handlerProps(e,l={}){const{title:t,filterExplicit:r}=l;return{...e,filterExplicit:r,startPlaceholder:`起始${t}`,endPlaceholder:`截止${t}`}},setDefaultValue:(e,l,t)=>l&&l!==r.CUSTOM&&(null==t?void 0:t.optSetting)?f(l,"YYYY-MM-DD",t.optSetting):e}],[e.DATE_TIME,{component:i,props:{type:"datetime",clearable:!0,valueFormat:"yyyy-MM-dd HH:mm:ss"},handlerProps(e,l={}){const{title:t}=l;return{...e,placeholder:`请选择${t}`}},setDefaultValue:D}],[e.DATETIME_OUT,{component:u,props:{type:"datetime",clearable:!0,valueFormat:"yyyy-MM-dd HH:mm:ss"},handlerProps(e,l={}){const{title:t}=l;return{...e,placeholder:`请选择${t}`}},setDefaultValue:(e,l)=>l&&l!==t.CUSTOM?E(l,"YYYY-MM-DD HH:mm:ss"):e}],[e.DATETIME_RANGE_INNER,{component:c,props:{type:"datetime",clearable:!0,valueFormat:"yyyy-MM-dd HH:mm:ss"},handlerProps(e,l={}){const{title:t,filterExplicit:r}=l;return{...e,filterExplicit:r,startPlaceholder:`起始${t}`,endPlaceholder:`截止${t}`}},setDefaultValue:D}],[e.DATETIME_RANGE_OUT,{component:m,props:{type:"datetimerange",clearable:!0,valueFormat:"yyyy-MM-dd HH:mm:ss"},handlerProps(e,l={}){const{title:t,filterExplicit:r}=l;return{...e,filterExplicit:r,startPlaceholder:`起始${t}`,endPlaceholder:`截止${t}`}},setDefaultValue:(e,l,r)=>l&&l!==t.CUSTOM&&(null==r?void 0:r.optSetting)?f(l,"YYYY-MM-DD HH:mm:ss",r.optSetting):e}],[e.CHECKBOX_GROUP,{component:d,props:{},style:{"line-height":"32px"},handlerProps(e,{valueList:l,multiple:t}={}){const r={...e,multiple:t};return Array.isArray(l)&&(r.options=l.map((({value:e,label:l})=>({value:e,label:l})))),r},setDefaultValue:D}],[e.LABEL,{component:y,props:{},handlerProps:e=>({...e}),setDefaultValue:e=>e&&Array.isArray(e)?e.join("|#|"):e}],[e.SELECTLABEL,{component:h,props:{clearable:!0,filterable:!0,multiple:!1,maxTagCount:"responsive"},handlerProps(e,l={}){const{multiple:t,title:r}=l,a={...e,placeholder:`请选择${r}`};return t&&(a.multiple=!0),a},setDefaultValue:e=>e&&Array.isArray(e)?e.join("|#|"):e}]]);export{T as WidgetCfgMaps};
@@ -25,7 +25,6 @@ export default function useAdvanced(): {
25
25
  };
26
26
  rangeFilter: boolean | undefined;
27
27
  unit: any;
28
- isAccurateSearchVal: boolean;
29
28
  _extendData: IExtendConfigurationType;
30
29
  title: string;
31
30
  alias: string | undefined;
@@ -35,7 +34,6 @@ export default function useAdvanced(): {
35
34
  advanceOptionSetting: string;
36
35
  placeholder: string | undefined;
37
36
  advanceColWidth: number | null | undefined;
38
- accurateSearch: any;
39
37
  }[];
40
38
  getCacheDef: (item: ISearchType, cacheList: string[]) => string | string[];
41
39
  transformClassifyChild: (conObjList: any, searchFieldList: any[]) => {};
@@ -1 +1 @@
1
- import{WidgetOptionEnums as e,WidgetTypeEnums as t,WidgetValEnums as i}from"../types/enums.js";import{isString as n}from"lodash-es";import{formatDateRangeInfo as l,presetValToTimestamp as a}from"../components/render-widget/helpers/presetValToTimestamp.js";import{DatePresetValEnums as o}from"../components/render-widget/enums.js";const r={[e.RADIO]:"0",[e.MULTIPLE]:"1",[e.ALL]:"0",[e.SELECT_TIME]:"1",[e.PAST_TIME]:"2",[e.FUTURE_TIME]:"3"};function u(){return{transformData:function(i,n){return i.map((i=>{var l,a,o;const{optionInfo:u={list:[],manualMapping:!0,dynamicOptionInfo:{},showWholeOption:!1},type:E,defaultValue:s,optionType:c,filterExplicit:p,rangeFilter:T}=i,d={},m={title:(f=i).title,alias:f.customTitle,isShowSearch:f.isShowSearch?1:0,filterExplicit:f.filterExplicit?1:0,explicitRequired:f.explicitRequired?1:0,advanceOptionSetting:f.optionType?r[f.optionType]:"",placeholder:f.remark,advanceColWidth:f.width,accurateSearch:f.accurateSearch?f.accurateSearch:{}};var f;let g,v,y=E;p?(g=E===t.SELECT&&c===e.MULTIPLE?null==s?void 0:s.valueList:null==(l=null==s?void 0:s.valueList)?void 0:l[0],v=null==s?void 0:s.unit,E===t.LABEL&&(y="SELECTLABEL",g=null==s?void 0:s.valueList),E===t.DATE&&(y="DATE_OUT"),E===t.DATE_TIME&&(y="DATETIME_OUT")):E===t.SELECT&&(null==u?void 0:u.list)&&(null==u?void 0:u.list.length)<10&&(y="CHECKBOX_GROUP"),T&&(E===t.INPUT_NUMBER&&(y="INPUTNUMBER_RANGE"),E===t.DATE&&(y=p?"DATE_RANGE_OUT":"DATE_RANGE_INNER"),E===t.DATE_TIME&&(y=p?"DATETIME_RANGE_OUT":"DATETIME_RANGE_INNER")),E===t.SELECT&&!1===(null==u?void 0:u.manualMapping)&&(y=t.SELECTDYNAMIC);const A={isRender:!0,widgetType:y,originType:E,valueList:null==(a=null==u?void 0:u.list)?void 0:a.map((({name:e,value:t})=>({value:t,label:e}))),defaultValue:g,defValueUnit:v,optionSetting:c,multiple:c===e.MULTIPLE||y===t.SELECTLABEL,manualMapping:null==u?void 0:u.manualMapping,showWholeOption:null==u?void 0:u.showWholeOption,dynamicOptionInfo:null==u?void 0:u.dynamicOptionInfo,classifyStr:null==s?void 0:s.classifyStr,linkageFieldKeys:null!=(o=null==s?void 0:s.linkageFieldKeys)?o:[]};return{...m,fieldType:i.dataType,columnName:i.name,settingObj:d,setting:JSON.stringify(d),widgetCfg:A,rangeFilter:T,unit:null!=v?v:"",isAccurateSearchVal:!1,_extendData:null!=n?n:{}}}))},getCacheDef:function(e,i){const{widgetType:n,widgetCfg:l}=e;return[t.SELECT,t.CHECKBOX_GROUP,t.SELECTDYNAMIC].includes(n)&&l.multiple?i:i[0]},transformClassifyChild:function(e,i){const n={};return e&&e.length>0&&e.forEach((e=>{const r=e.field_key;n[r]="";const u=i.find((e=>e.name===r));if(u){const i=Array.isArray(e.value)&&u.type===t.SELECT?e.value:e.value.toString();if(n[r]=i,e.unit&&e.unit!==o.CUSTOM){let i="";u.type===t.DATE&&(i=u.rangeFilter?l(e.unit,"YYYY-MM-DD",u.optionType):a(e.unit,"YYYY-MM-DD")),u.type===t.DATE_TIME&&(i=u.rangeFilter?l(e.unit,"YYYY-MM-DD HH:mm:ss",u.optionType):a(e.unit,"YYYY-MM-DD HH:mm:ss")),n[r]=i}}})),n},transformParams:function(e){const l={},a=[t.SELECT,t.SELECTDYNAMIC,t.CHECKBOX_GROUP];return e&&e.length>0&&e.forEach((e=>{const t=e.field_key,o=a.includes(e.widgetType)||e.value&&e.value.length>1?e.value.map((e=>n(e)&&e.includes("&")?e.split("&")[1]:e)):e.value.toString();Array.isArray(o)&&o.length>0&&o.includes(i.WHOLE)||(e.switchEnable&&(l[e.accurateSearchKey]=e.isAccurateSearch?1:0),l[t]=o)})),l}}}export{u as default};
1
+ import{WidgetOptionEnums as e,WidgetTypeEnums as i,WidgetValEnums as t}from"../types/enums.js";import{isString as n}from"lodash-es";import{formatDateRangeInfo as l,presetValToTimestamp as o}from"../components/render-widget/helpers/presetValToTimestamp.js";import{DatePresetValEnums as a}from"../components/render-widget/enums.js";const u={[e.RADIO]:"0",[e.MULTIPLE]:"1",[e.ALL]:"0",[e.SELECT_TIME]:"1",[e.PAST_TIME]:"2",[e.FUTURE_TIME]:"3"};function r(){return{transformData:function(t,n){return t.map((t=>{var l,o,a;const{optionInfo:r={list:[],manualMapping:!0,dynamicOptionInfo:{},showWholeOption:!1},type:E,defaultValue:s,optionType:p,filterExplicit:T,rangeFilter:d}=t,c={},m={title:(f=t).title,alias:f.customTitle,isShowSearch:f.isShowSearch?1:0,filterExplicit:f.filterExplicit?1:0,explicitRequired:f.explicitRequired?1:0,advanceOptionSetting:f.optionType?u[f.optionType]:"",placeholder:f.remark,advanceColWidth:f.width};var f;let g,v,y=E;T?(g=E===i.SELECT&&p===e.MULTIPLE?null==s?void 0:s.valueList:null==(l=null==s?void 0:s.valueList)?void 0:l[0],v=null==s?void 0:s.unit,E===i.LABEL&&(y="SELECTLABEL",g=null==s?void 0:s.valueList),E===i.DATE&&(y="DATE_OUT"),E===i.DATE_TIME&&(y="DATETIME_OUT")):E===i.SELECT&&(null==r?void 0:r.list)&&(null==r?void 0:r.list.length)<10&&(y="CHECKBOX_GROUP"),d&&(E===i.INPUT_NUMBER&&(y="INPUTNUMBER_RANGE"),E===i.DATE&&(y=T?"DATE_RANGE_OUT":"DATE_RANGE_INNER"),E===i.DATE_TIME&&(y=T?"DATETIME_RANGE_OUT":"DATETIME_RANGE_INNER")),E===i.SELECT&&!1===(null==r?void 0:r.manualMapping)&&(y=i.SELECTDYNAMIC);const L={isRender:!0,widgetType:y,originType:E,valueList:null==(o=null==r?void 0:r.list)?void 0:o.map((({name:e,value:i})=>({value:i,label:e}))),defaultValue:g,defValueUnit:v,optionSetting:p,multiple:p===e.MULTIPLE||y===i.SELECTLABEL,manualMapping:null==r?void 0:r.manualMapping,showWholeOption:null==r?void 0:r.showWholeOption,dynamicOptionInfo:null==r?void 0:r.dynamicOptionInfo,classifyStr:null==s?void 0:s.classifyStr,linkageFieldKeys:null!=(a=null==s?void 0:s.linkageFieldKeys)?a:[]};return{...m,fieldType:t.dataType,columnName:t.name,settingObj:c,setting:JSON.stringify(c),widgetCfg:L,rangeFilter:d,unit:null!=v?v:"",_extendData:null!=n?n:{}}}))},getCacheDef:function(e,t){const{widgetType:n,widgetCfg:l}=e;return[i.SELECT,i.CHECKBOX_GROUP,i.SELECTDYNAMIC].includes(n)&&l.multiple?t:t[0]},transformClassifyChild:function(e,t){const n={};return e&&e.length>0&&e.forEach((e=>{const u=e.field_key;n[u]="";const r=t.find((e=>e.name===u));if(r){const t=Array.isArray(e.value)&&r.type===i.SELECT?e.value:e.value.toString();if(n[u]=t,e.unit&&e.unit!==a.CUSTOM){let t="";r.type===i.DATE&&(t=r.rangeFilter?l(e.unit,"YYYY-MM-DD",r.optionType):o(e.unit,"YYYY-MM-DD")),r.type===i.DATE_TIME&&(t=r.rangeFilter?l(e.unit,"YYYY-MM-DD HH:mm:ss",r.optionType):o(e.unit,"YYYY-MM-DD HH:mm:ss")),n[u]=t}}})),n},transformParams:function(e){const l={},o=[i.SELECT,i.SELECTDYNAMIC,i.CHECKBOX_GROUP];return e&&e.length>0&&e.forEach((e=>{const i=e.field_key,a=o.includes(e.widgetType)||e.value&&e.value.length>1?e.value.map((e=>n(e)&&e.includes("&")?e.split("&")[1]:e)):e.value.toString();Array.isArray(a)&&a.length>0&&a.includes(t.WHOLE)||(l[i]=a)})),l}}}export{r as default};
@@ -3,7 +3,13 @@ export default function (): {
3
3
  isRender: (cfg: ISearchType) => any;
4
4
  getDefValByRenderWidget: (cfg: ISearchType) => Promise<any>;
5
5
  initRenderWidgetCfg: (cfg: ISearchType) => Promise<any>;
6
- getRenderSearchConObj: (cfg: ISearchType) => any;
6
+ getRenderSearchConObj: (cfg: ISearchType) => {
7
+ widgetType: any;
8
+ field_key: string;
9
+ con: string | undefined;
10
+ value: any[] | null;
11
+ unit: string;
12
+ } | null;
7
13
  getDefValByRenderConObj: (conObj: ISearchConfigType, cfg: ISearchType) => any;
8
14
  isExistDefValByRenderWidget: (cfg: ISearchType) => boolean;
9
15
  resetRenderWidgetValue: (cfg: ISearchType) => any;
@@ -1 +1 @@
1
- import{WidgetCfgMaps as e}from"../components/render-widget/widgetCfgMaps.js";import{WidgetTypeEnums as t,WidgetOptionEnums as n}from"../types/enums.js";const r=[t.CHECKBOX_GROUP,t.DATE,t.DATE_TIME,t.DATE_RANGE_INNER,t.DATETIME_RANGE_INNER,t.LABEL];function i(){function i(e){var t;return null==(t=e.widgetCfg)?void 0:t.isRender}async function a(t){const{widgetType:r,defaultValue:i,defValueUnit:a,optionSetting:u,multiple:c}=t.widgetCfg||{},l=e.get(r);let o;if(l){const{setDefaultValue:e}=l;e&&(o=await e(i,a,{optSetting:null!=u?u:n.ALL,multiple:c,_cfg:t}))}return o}return{isRender:i,getDefValByRenderWidget:a,initRenderWidgetCfg:async function(e){const t=i(e);if(!t)return t;const{widgetType:n}=e.widgetCfg||{};return e._frontId||(e._frontId="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(e=>{const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))),e.isRender=t,e.widgetType=n,e.con="EQ",r.includes(n)&&(e._isBlock=!0),1==e.filterExplicit&&(e.value=await a(e)),t},getRenderSearchConObj:function(e){if(!i(e))return null;const{columnName:t,con:n,value:r,widgetType:a,unit:u=""}=e,c=Array.isArray(r)?r:r?[r]:[],l={widgetType:a,field_key:t,con:n,value:c.length>0?c:null,unit:u};return e.accurateSearch.switchEnable&&(l.switchEnable=!0,l.isAccurateSearch=e.isAccurateSearchVal,l.accurateSearchKey=e.accurateSearch.searchKey),l},getDefValByRenderConObj:function(e,n){if(!i(n))return null;const{widgetType:r,multiple:a}=n.widgetCfg||{},{value:u}=e;return r!==t.SELECT&&r!==t.CHECKBOX_GROUP||!a?Array.isArray(u)?u[0]:u:Array.isArray(u)?u:u?[u]:[]},isExistDefValByRenderWidget:function(e){const{defaultValue:t,defValueUnit:n}=e.widgetCfg||{};return!(!t&&!n)},resetRenderWidgetValue:function(e){const t=i(e);return t?(e.value=null,t):t}}}export{i as default};
1
+ import{WidgetCfgMaps as e}from"../components/render-widget/widgetCfgMaps.js";import{WidgetTypeEnums as t,WidgetOptionEnums as n}from"../types/enums.js";const i=[t.CHECKBOX_GROUP,t.DATE,t.DATE_TIME,t.DATE_RANGE_INNER,t.DATETIME_RANGE_INNER,t.LABEL];function r(){function r(e){var t;return null==(t=e.widgetCfg)?void 0:t.isRender}async function u(t){const{widgetType:i,defaultValue:r,defValueUnit:u,optionSetting:l,multiple:o}=t.widgetCfg||{},a=e.get(i);let d;if(a){const{setDefaultValue:e}=a;e&&(d=await e(r,u,{optSetting:null!=l?l:n.ALL,multiple:o,_cfg:t}))}return d}return{isRender:r,getDefValByRenderWidget:u,initRenderWidgetCfg:async function(e){const t=r(e);if(!t)return t;const{widgetType:n}=e.widgetCfg||{};return e._frontId||(e._frontId="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(e=>{const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))),e.isRender=t,e.widgetType=n,e.con="EQ",i.includes(n)&&(e._isBlock=!0),1==e.filterExplicit&&(e.value=await u(e)),t},getRenderSearchConObj:function(e){if(!r(e))return null;const{columnName:t,con:n,value:i,widgetType:u,unit:l=""}=e,o=Array.isArray(i)?i:i?[i]:[];return{widgetType:u,field_key:t,con:n,value:o.length>0?o:null,unit:l}},getDefValByRenderConObj:function(e,n){if(!r(n))return null;const{widgetType:i,multiple:u}=n.widgetCfg||{},{value:l}=e;return i!==t.SELECT&&i!==t.CHECKBOX_GROUP||!u?Array.isArray(l)?l[0]:l:Array.isArray(l)?l:l?[l]:[]},isExistDefValByRenderWidget:function(e){const{defaultValue:t,defValueUnit:n}=e.widgetCfg||{};return!(!t&&!n)},resetRenderWidgetValue:function(e){const t=r(e);return t?(e.value=null,t):t}}}export{r as default};
@@ -24,8 +24,6 @@ export declare type ISearchType = {
24
24
  value?: any;
25
25
  sid?: string;
26
26
  alias?: string;
27
- accurateSearch?: any;
28
- isAccurateSearchVal?: boolean;
29
27
  };
30
28
  export declare type IFilterItemType = {
31
29
  con: string;
@@ -136,7 +134,6 @@ export declare type IApiServerType = {
136
134
  rangeFilter?: boolean;
137
135
  remark?: string;
138
136
  keyword?: boolean;
139
- accurateSearch?: any;
140
137
  };
141
138
  export declare type dynamicOptionInfoType = {
142
139
  filterKeys: string[];
@@ -197,9 +194,6 @@ export declare type ISearchParamsType = {
197
194
  con: string;
198
195
  value: string[];
199
196
  unit: 'custom' | null;
200
- switchEnable?: boolean;
201
- isAccurateSearch?: boolean;
202
- accurateSearchKey?: string;
203
197
  };
204
198
  export declare type IFilterCategoryLabelItemType = {
205
199
  classifyId: string;
package/es/env.d.ts CHANGED
@@ -1,25 +1,25 @@
1
- /// <reference types="vite/client" />
2
-
3
- interface ImportMetaEnv {
4
- readonly VITE_APP_TYPE: string;
5
- // 更多环境变量...
6
- }
7
-
8
- interface ImportMeta {
9
- readonly env: ImportMetaEnv;
10
- }
11
-
12
- declare module '*.vue' {
13
- // @ts-ignore
14
- import type { App, defineComponent } from 'vue';
15
- // // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
16
- // // const component: DefineComponent<{}, {}, any>
17
- const component: ReturnType<typeof defineComponent> & {
18
- install(app: App): void;
19
- };
20
- // @ts-ignore
21
- export default component;
22
- }
23
-
24
- declare module '*.js';
25
-
1
+ /// <reference types="vite/client" />
2
+
3
+ interface ImportMetaEnv {
4
+ readonly VITE_APP_TYPE: string;
5
+ // 更多环境变量...
6
+ }
7
+
8
+ interface ImportMeta {
9
+ readonly env: ImportMetaEnv;
10
+ }
11
+
12
+ declare module '*.vue' {
13
+ // @ts-ignore
14
+ import type { App, defineComponent } from 'vue';
15
+ // // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
16
+ // // const component: DefineComponent<{}, {}, any>
17
+ const component: ReturnType<typeof defineComponent> & {
18
+ install(app: App): void;
19
+ };
20
+ // @ts-ignore
21
+ export default component;
22
+ }
23
+
24
+ declare module '*.js';
25
+
@@ -1 +1 @@
1
- var f="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPoAAADCCAMAAABXGy/PAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAA5UExURUdwTPX19fb29vX19fn5+fr6+vb29vT09PDw8Pj4+PLz8/X19dfX17e2tpyamubm5tnZ2crJyVVPUBNOBbgAAAAPdFJOUwC3UJUOGz/+eS1k2b/++5oWojkAABJcSURBVHja7F0LY6sqDF4RQbQW2P//sZdAgATs2m19eO6MbbWtPfMj7xA8Hx8HHXTQQQcddNBBBx100EEHHXTQQQcddNBBBx3EaDTKjH8RuJkGoMn8OeQioI40CPmHxFwZWZAH7PNf4XaU86kAB1J/Avk8MNCJ/gTb1QbwQGbXCvoQNyRR0OeO77uVeQHq+YCrM0PGPcOOjMAg9odaimlOCjqYx0Dn7M74B7NHu1Su99cOeKTyPpODQLtju3moF5Jber5XM09N8jwNv7V1qvxT9WBOYr87roOIzrg9wguJiRo6aur2F84aJpS/vz61LfDzHlO4URUyj+CMNKqnv5e+HXTQQQcdtFOqvk7K4AP/FuYA2Yh5Op3O3p7/DMelipgXq4Gsc/MfwGxCLHpaEHNAHch558z/GfMoKGZbSAP0cxflilOIzWdhZKB/GLeZhyLbuiCOhzpy3U7dUC1liJblFEtTyphx/LeGQQ625TPfBXnv8u2pDpEuurHAKEAirNQ/Md0mT7qAzHzWGXhiuvMtknEpp9Rx0oXs4s5i/9BPHdaGnHOdaxv42e0gwMuGfdgZzd1l24ahG6pu+pOrlcADZ8/j3sU9X/4Gw7NrU1uS0pOmI+DczuMgcwUwg+4b0RW6OQOhonog/nCw40BIcnnfwB2hnzckhZL36RkPvV9dYbv8V1SdQ45bAOBb5k3db4Jg+DIIKAWR/3vOepjsFsDOlkcfxY5LOpX+avVE9MNIZLZPe9d1Zy3FS4fA9VEsOLb8i/irKOXp94T3kevTx35FfnQ2466Mplvn2kw5q1i5gBvRJn6nV7dzrstTlfAW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