cnhis-design-vue 3.1.55-release.0 → 3.1.55-release.1
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/README.md +87 -87
- package/es/components/audio-sdk/index.d.ts +2 -0
- package/es/components/audio-sdk/index.js +1 -0
- package/es/components/audio-sdk/src/audioSDK.d.ts +28 -0
- package/es/components/audio-sdk/src/audioSDK.js +1 -0
- package/es/components/audio-sdk/src/components/recordingDialog.vue.d.ts +27 -0
- package/es/components/audio-sdk/src/components/recordingDialog.vue.js +1 -0
- package/es/components/audio-sdk/src/components/recordingDialog.vue2.js +1 -0
- package/es/components/audio-sdk/src/utils/recordingDialog.d.ts +8 -0
- package/es/components/audio-sdk/src/utils/recordingDialog.js +1 -0
- package/es/components/audio-sdk/style/index.css +1 -0
- package/es/components/base-search/src/index.vue2.js +1 -1
- package/es/components/{multi-chat → biunique-chat}/index.d.ts +2 -2
- package/es/components/biunique-chat/index.js +1 -0
- package/es/components/biunique-chat/src/BiuniqueChat.vue.js +1 -0
- package/es/components/biunique-chat/src/BiuniqueChat.vue2.js +1 -0
- package/es/components/body-select/src/hooks/renderCanvas.js +1 -1
- package/es/components/body-select/src/index.vue2.js +1 -1
- package/es/components/button-print/index.d.ts +13 -0
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +13 -0
- package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
- package/es/components/callback/src/components/render/popupMaps.d.ts +26 -6
- package/es/components/classification/index.d.ts +486 -1
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +473 -1
- package/es/components/classification/src/components/search-filter/index.vue2.js +1 -1
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +473 -1
- package/es/components/classification/src/index.vue.d.ts +486 -1
- package/es/components/classification/src/index.vue2.js +1 -1
- package/es/components/classification/style/index.css +1 -1
- package/es/components/expand-field/src/components/form.vue2.js +1 -1
- package/es/components/fabric-chart/index.d.ts +1 -0
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +1 -0
- package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -1
- package/es/components/fabric-chart/src/constants/index.d.ts +4 -0
- package/es/components/fabric-chart/src/constants/index.js +1 -1
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/hooks/useDetailEvent.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.d.ts +6 -0
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useLeft.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/useCumputedPoint.d.ts +3 -3
- package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +1 -1
- package/es/components/form-config/index.d.ts +104 -57
- package/es/components/form-config/src/FormConfig.vue.d.ts +104 -57
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +26 -6
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +44 -21
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +5 -5
- package/es/components/form-render/index.d.ts +26 -6
- package/es/components/form-render/index.js +1 -1
- package/es/components/form-render/src/FormRender.vue.d.ts +26 -6
- package/es/components/form-render/src/FormRender.vue2.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +26 -6
- package/es/components/form-render/src/components/renderer/complex.js +1 -1
- package/es/components/form-render/src/components/renderer/date.js +1 -1
- package/es/components/form-render/src/components/renderer/formItem.js +1 -1
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue2.js +1 -1
- package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/searchCascade.js +1 -1
- package/es/components/form-render/src/components/renderer/select.js +1 -1
- package/es/components/form-render/src/components/renderer/switch.js +1 -1
- package/es/components/form-render/src/components/renderer/textarea.js +1 -1
- package/es/components/form-render/src/constants/index.d.ts +0 -1
- package/es/components/form-render/src/constants/index.js +1 -1
- package/es/components/form-render/src/hooks/index.d.ts +20 -9
- package/es/components/form-render/src/hooks/index.js +1 -1
- package/es/components/form-render/src/hooks/useAnchor.js +1 -1
- package/es/components/form-render/src/hooks/useBusinessBinding.d.ts +1 -1
- package/es/components/form-render/src/hooks/useBusinessBinding.js +1 -1
- package/es/components/form-render/src/hooks/useFieldVisitor.js +1 -1
- package/es/components/form-render/src/hooks/useFormEvent.d.ts +14 -3
- package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
- package/es/components/form-render/src/hooks/useFormItemDeps.d.ts +4 -4
- package/es/components/form-render/src/hooks/useFormItemDeps.js +1 -1
- package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +11 -10
- package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
- package/es/components/form-render/src/hooks/useFormValidator.js +1 -1
- package/es/components/form-render/src/hooks/useOperationalForm.d.ts +3 -2
- package/es/components/form-render/src/hooks/useOperationalForm.js +1 -1
- package/es/components/form-render/src/hooks/usePresetScope.js +1 -1
- package/es/components/form-render/src/hooks/useWordbookSetting.d.ts +13 -4
- package/es/components/form-render/src/hooks/useWordbookSetting.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 +10 -5
- package/es/components/form-render/src/utils/index.d.ts +3 -16
- package/es/components/form-render/src/utils/index.js +1 -1
- package/es/components/iho-table/src/plugins/bindEventSettingPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/colorAndIconPlugin.d.ts +1 -0
- package/es/components/iho-table/src/plugins/colorAndIconPlugin.js +1 -0
- package/es/components/iho-table/src/plugins/index.js +1 -1
- package/es/components/iho-table/src/plugins/operationalFormPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +7 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/defaultRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/htmlRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/labelRendererPlugin.js +1 -1
- package/es/components/iho-table/src/types/index.d.ts +2 -0
- package/es/components/iho-table/src/utils/index.d.ts +1 -1
- package/es/components/iho-table/src/utils/index.js +1 -1
- package/es/components/iho-table/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +3 -2
- package/es/components/index.js +1 -1
- package/es/components/info-header/index.d.ts +52 -12
- package/es/components/info-header/src/InfoHeader.vue.d.ts +52 -12
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +26 -6
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +26 -6
- package/es/components/quick-search/style/index.css +1 -1
- package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
- package/es/components/select-person/src/SearchMultiple.vue.d.ts +6 -0
- package/es/components/shortcut-setter/index.d.ts +32 -11
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +32 -11
- package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +0 -3
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +320 -0
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +127 -0
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue2.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/InputFilter.vue.d.ts +41 -0
- package/es/components/table-filter/src/components/bi-filter/components/InputFilter.vue.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/InputFilter.vue2.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/InputNumber.vue.d.ts +28 -0
- package/es/components/table-filter/src/components/bi-filter/components/InputNumber.vue.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/InputNumber.vue2.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/SelectFilter.vue.d.ts +51 -0
- package/es/components/table-filter/src/components/bi-filter/components/SelectFilter.vue.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/SelectFilter.vue2.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +244 -0
- package/es/components/table-filter/src/components/bi-filter/components/index.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/helpers/options.d.ts +14 -0
- package/es/components/table-filter/src/components/bi-filter/helpers/options.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/hooks/useBiConditions.d.ts +13 -0
- package/es/components/table-filter/src/components/bi-filter/hooks/useBiConditions.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +474 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue.js +1 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue2.js +1 -0
- package/es/components/table-filter/src/constants/index.d.ts +1 -0
- package/es/components/table-filter/src/constants/index.js +1 -1
- package/es/env.d.ts +25 -25
- package/es/shared/assets/img/failure.png.js +1 -1
- package/es/shared/assets/img/no-permission.png.js +1 -1
- package/es/shared/assets/img/nodata.png.js +1 -1
- package/es/shared/assets/img/notfound.png.js +1 -1
- package/es/shared/assets/img/qr.png.js +1 -1
- package/es/shared/assets/img/success.png.js +1 -1
- package/es/shared/assets/img/video.png.js +1 -1
- package/es/shared/assets/img/video_default_cover.png.js +1 -1
- package/es/shared/assets/img/xb_big.png.js +1 -1
- package/es/shared/assets/img/xb_small.png.js +1 -1
- package/es/shared/hooks/selectHooks/useSearchContent.js +1 -1
- package/es/shared/package.json.js +1 -1
- package/es/shared/utils/business.d.ts +1 -0
- package/es/shared/utils/business.js +1 -1
- package/es/shared/utils/index.js +1 -1
- package/package.json +3 -2
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
- package/es/components/multi-chat/index.js +0 -1
- package/es/components/multi-chat/src/MultiChat.vue.js +0 -1
- package/es/components/multi-chat/src/MultiChat.vue2.js +0 -1
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
- package/es/shared/utils/fabricjs/index.d.ts +0 -6823
- package/es/shared/utils/tapable/index.d.ts +0 -139
- /package/es/components/{multi-chat/src/MultiChat.vue.d.ts → biunique-chat/src/BiuniqueChat.vue.d.ts} +0 -0
- /package/es/components/{multi-chat → biunique-chat}/src/api/index.d.ts +0 -0
- /package/es/components/{multi-chat → biunique-chat}/src/api/index.js +0 -0
- /package/es/components/{multi-chat → biunique-chat}/src/components/ChatFooter.vue.d.ts +0 -0
- /package/es/components/{multi-chat → biunique-chat}/src/components/ChatFooter.vue.js +0 -0
- /package/es/components/{multi-chat → biunique-chat}/src/components/ChatFooter.vue2.js +0 -0
- /package/es/components/{multi-chat → biunique-chat}/src/components/ChatHeader.vue.d.ts +0 -0
- /package/es/components/{multi-chat → biunique-chat}/src/components/ChatHeader.vue.js +0 -0
- /package/es/components/{multi-chat → biunique-chat}/src/components/ChatHeader.vue2.js +0 -0
- /package/es/components/{multi-chat → biunique-chat}/src/components/ChatMain.vue.d.ts +0 -0
- /package/es/components/{multi-chat → biunique-chat}/src/components/ChatMain.vue.js +0 -0
- /package/es/components/{multi-chat → biunique-chat}/src/components/ChatMain.vue2.js +0 -0
- /package/es/components/{multi-chat → biunique-chat}/src/components/SiderList.vue.d.ts +0 -0
- /package/es/components/{multi-chat → biunique-chat}/src/components/SiderList.vue.js +0 -0
- /package/es/components/{multi-chat → biunique-chat}/src/components/SiderList.vue2.js +0 -0
- /package/es/components/{multi-chat → biunique-chat}/src/utils/chatSock.d.ts +0 -0
- /package/es/components/{multi-chat → biunique-chat}/src/utils/chatSock.js +0 -0
- /package/es/components/{multi-chat → biunique-chat}/style/index.css +0 -0
|
@@ -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
|
|
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: {
|
|
@@ -137,6 +137,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
137
137
|
nameKey?: string | undefined;
|
|
138
138
|
valueKey?: string | undefined;
|
|
139
139
|
showKey?: string | undefined;
|
|
140
|
+
searchKey?: string[] | undefined;
|
|
140
141
|
params?: import("../../../es/shared/types").AnyObject | undefined;
|
|
141
142
|
dependKey?: string | Record<string, string> | (string | {
|
|
142
143
|
paramName: string;
|
|
@@ -170,14 +171,14 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
170
171
|
compareMap?: {
|
|
171
172
|
NULL?: ((v1: any, v2: any) => boolean) | undefined;
|
|
172
173
|
EQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
173
|
-
NEQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
174
|
-
CL?: ((v1: any, v2: any) => boolean) | undefined;
|
|
175
|
-
NC?: ((v1: any, v2: any) => boolean) | undefined;
|
|
176
|
-
NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
|
|
177
174
|
BIG?: ((v1: any, v2: any) => boolean) | undefined;
|
|
178
|
-
BIGEQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
179
175
|
LESS?: ((v1: any, v2: any) => boolean) | undefined;
|
|
176
|
+
BIGEQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
180
177
|
LESSEQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
178
|
+
CL?: ((v1: any, v2: any) => boolean) | undefined;
|
|
179
|
+
NC?: ((v1: any, v2: any) => boolean) | undefined;
|
|
180
|
+
NEQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
181
|
+
NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
|
|
181
182
|
} | undefined;
|
|
182
183
|
}[] | undefined;
|
|
183
184
|
show_mode?: ("DROPDOWN" | "H_TILE" | "V_TILE" | "TILE") | undefined;
|
|
@@ -1914,6 +1915,10 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1914
1915
|
dateOperationalForm: {
|
|
1915
1916
|
type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.dateOperationalConfig[]>;
|
|
1916
1917
|
};
|
|
1918
|
+
operationalFormInit: {
|
|
1919
|
+
type: BooleanConstructor;
|
|
1920
|
+
default: boolean;
|
|
1921
|
+
};
|
|
1917
1922
|
linebarAutoHidden: {
|
|
1918
1923
|
type: BooleanConstructor;
|
|
1919
1924
|
};
|
|
@@ -2066,6 +2071,10 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2066
2071
|
dateOperationalForm: {
|
|
2067
2072
|
type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.dateOperationalConfig[]>;
|
|
2068
2073
|
};
|
|
2074
|
+
operationalFormInit: {
|
|
2075
|
+
type: BooleanConstructor;
|
|
2076
|
+
default: boolean;
|
|
2077
|
+
};
|
|
2069
2078
|
linebarAutoHidden: {
|
|
2070
2079
|
type: BooleanConstructor;
|
|
2071
2080
|
};
|
|
@@ -2146,12 +2155,12 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2146
2155
|
}>;
|
|
2147
2156
|
lowCodeReactionsHandler: (field: string) => void;
|
|
2148
2157
|
triggerAllReactionsHandler: () => void;
|
|
2149
|
-
operationalFormHandler:
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
setDisabled: (value: boolean) => void;
|
|
2158
|
+
operationalFormHandler: {
|
|
2159
|
+
trigger(fieldKey: string): void;
|
|
2160
|
+
triggerAll(): void;
|
|
2161
|
+
triggerDisabled: string | boolean;
|
|
2154
2162
|
};
|
|
2163
|
+
wordbookSettingHandler: import("..").wordbookSettingHandler;
|
|
2155
2164
|
schemaAdaptor: (fieldList: import("..").FieldItem[], options?: Partial<{
|
|
2156
2165
|
fieldList: import("..").FieldItem[];
|
|
2157
2166
|
initialData: import("../../../es/shared/types").AnyObject;
|
|
@@ -2364,7 +2373,14 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2364
2373
|
force?: boolean | undefined;
|
|
2365
2374
|
}): Promise<void>;
|
|
2366
2375
|
getFormValues(needCombineExtendKey?: boolean): any;
|
|
2367
|
-
setFormValues(values: import("../../../es/shared/types").AnyObject,
|
|
2376
|
+
setFormValues(values: import("../../../es/shared/types").AnyObject, options?: boolean | {
|
|
2377
|
+
needSplitExtendKey?: boolean | undefined;
|
|
2378
|
+
avoidBusinessConnection?: string | boolean | undefined;
|
|
2379
|
+
avoidDependKeyConnection?: string | boolean | undefined;
|
|
2380
|
+
avoidWordbookSettingConnection?: string | boolean | undefined;
|
|
2381
|
+
avoidOperationalFormConnection?: string | boolean | undefined;
|
|
2382
|
+
overwrite?: boolean | undefined;
|
|
2383
|
+
}, avoidBusinessConnection?: string | boolean, overwrite?: boolean): Promise<void>;
|
|
2368
2384
|
setFieldState(path: string, setter: (field: Partial<Pick<import("@formily/core").Field<any, any, any, any>, import("@formily/core").NonFunctionPropertyNames<{
|
|
2369
2385
|
match: (pattern: import("@formily/path").Pattern) => boolean;
|
|
2370
2386
|
validate: (triggerType?: import("@formily/validator").ValidatorTriggerType | undefined) => any;
|
|
@@ -2661,6 +2677,10 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2661
2677
|
dateOperationalForm: {
|
|
2662
2678
|
type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.dateOperationalConfig[]>;
|
|
2663
2679
|
};
|
|
2680
|
+
operationalFormInit: {
|
|
2681
|
+
type: BooleanConstructor;
|
|
2682
|
+
default: boolean;
|
|
2683
|
+
};
|
|
2664
2684
|
linebarAutoHidden: {
|
|
2665
2685
|
type: BooleanConstructor;
|
|
2666
2686
|
};
|
|
@@ -2696,6 +2716,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2696
2716
|
bordered: string | boolean;
|
|
2697
2717
|
uniqueCacheData: boolean;
|
|
2698
2718
|
outBordered: boolean;
|
|
2719
|
+
operationalFormInit: boolean;
|
|
2699
2720
|
}>;
|
|
2700
2721
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
2701
2722
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "update")[], "error" | "update", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -140,6 +140,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
140
140
|
nameKey?: string | undefined;
|
|
141
141
|
valueKey?: string | undefined;
|
|
142
142
|
showKey?: string | undefined;
|
|
143
|
+
searchKey?: string[] | undefined;
|
|
143
144
|
params?: import("../../../../es/shared/types").AnyObject | undefined;
|
|
144
145
|
dependKey?: string | Record<string, string> | (string | {
|
|
145
146
|
paramName: string;
|
|
@@ -173,14 +174,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
173
174
|
compareMap?: {
|
|
174
175
|
NULL?: ((v1: any, v2: any) => boolean) | undefined;
|
|
175
176
|
EQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
176
|
-
NEQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
177
|
-
CL?: ((v1: any, v2: any) => boolean) | undefined;
|
|
178
|
-
NC?: ((v1: any, v2: any) => boolean) | undefined;
|
|
179
|
-
NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
|
|
180
177
|
BIG?: ((v1: any, v2: any) => boolean) | undefined;
|
|
181
|
-
BIGEQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
182
178
|
LESS?: ((v1: any, v2: any) => boolean) | undefined;
|
|
179
|
+
BIGEQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
183
180
|
LESSEQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
181
|
+
CL?: ((v1: any, v2: any) => boolean) | undefined;
|
|
182
|
+
NC?: ((v1: any, v2: any) => boolean) | undefined;
|
|
183
|
+
NEQ?: ((v1: any, v2: any) => boolean) | undefined;
|
|
184
|
+
NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
|
|
184
185
|
} | undefined;
|
|
185
186
|
}[] | undefined;
|
|
186
187
|
show_mode?: ("DROPDOWN" | "H_TILE" | "V_TILE" | "TILE") | undefined;
|
|
@@ -1917,6 +1918,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1917
1918
|
dateOperationalForm: {
|
|
1918
1919
|
type: import("vue").PropType<import("../../../../es/shared/types").LowCodeTypes.dateOperationalConfig[]>;
|
|
1919
1920
|
};
|
|
1921
|
+
operationalFormInit: {
|
|
1922
|
+
type: BooleanConstructor;
|
|
1923
|
+
default: boolean;
|
|
1924
|
+
};
|
|
1920
1925
|
linebarAutoHidden: {
|
|
1921
1926
|
type: BooleanConstructor;
|
|
1922
1927
|
};
|
|
@@ -2069,6 +2074,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2069
2074
|
dateOperationalForm: {
|
|
2070
2075
|
type: import("vue").PropType<import("../../../../es/shared/types").LowCodeTypes.dateOperationalConfig[]>;
|
|
2071
2076
|
};
|
|
2077
|
+
operationalFormInit: {
|
|
2078
|
+
type: BooleanConstructor;
|
|
2079
|
+
default: boolean;
|
|
2080
|
+
};
|
|
2072
2081
|
linebarAutoHidden: {
|
|
2073
2082
|
type: BooleanConstructor;
|
|
2074
2083
|
};
|
|
@@ -2149,12 +2158,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2149
2158
|
}>;
|
|
2150
2159
|
lowCodeReactionsHandler: (field: string) => void;
|
|
2151
2160
|
triggerAllReactionsHandler: () => void;
|
|
2152
|
-
operationalFormHandler:
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
setDisabled: (value: boolean) => void;
|
|
2161
|
+
operationalFormHandler: {
|
|
2162
|
+
trigger(fieldKey: string): void;
|
|
2163
|
+
triggerAll(): void;
|
|
2164
|
+
triggerDisabled: string | boolean;
|
|
2157
2165
|
};
|
|
2166
|
+
wordbookSettingHandler: import("../../../../es/components/form-render").wordbookSettingHandler;
|
|
2158
2167
|
schemaAdaptor: (fieldList: FieldItem[], options?: Partial<{
|
|
2159
2168
|
fieldList: FieldItem[];
|
|
2160
2169
|
initialData: import("../../../../es/shared/types").AnyObject;
|
|
@@ -2367,7 +2376,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2367
2376
|
force?: boolean | undefined;
|
|
2368
2377
|
}): Promise<void>;
|
|
2369
2378
|
getFormValues(needCombineExtendKey?: boolean): any;
|
|
2370
|
-
setFormValues(values: import("../../../../es/shared/types").AnyObject,
|
|
2379
|
+
setFormValues(values: import("../../../../es/shared/types").AnyObject, options?: boolean | {
|
|
2380
|
+
needSplitExtendKey?: boolean | undefined;
|
|
2381
|
+
avoidBusinessConnection?: string | boolean | undefined;
|
|
2382
|
+
avoidDependKeyConnection?: string | boolean | undefined;
|
|
2383
|
+
avoidWordbookSettingConnection?: string | boolean | undefined;
|
|
2384
|
+
avoidOperationalFormConnection?: string | boolean | undefined;
|
|
2385
|
+
overwrite?: boolean | undefined;
|
|
2386
|
+
}, avoidBusinessConnection?: string | boolean, overwrite?: boolean): Promise<void>;
|
|
2371
2387
|
setFieldState(path: string, setter: (field: Partial<Pick<import("@formily/core").Field<any, any, any, any>, import("@formily/core").NonFunctionPropertyNames<{
|
|
2372
2388
|
match: (pattern: import("@formily/path").Pattern) => boolean;
|
|
2373
2389
|
validate: (triggerType?: import("@formily/validator").ValidatorTriggerType | undefined) => any;
|
|
@@ -2664,6 +2680,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2664
2680
|
dateOperationalForm: {
|
|
2665
2681
|
type: import("vue").PropType<import("../../../../es/shared/types").LowCodeTypes.dateOperationalConfig[]>;
|
|
2666
2682
|
};
|
|
2683
|
+
operationalFormInit: {
|
|
2684
|
+
type: BooleanConstructor;
|
|
2685
|
+
default: boolean;
|
|
2686
|
+
};
|
|
2667
2687
|
linebarAutoHidden: {
|
|
2668
2688
|
type: BooleanConstructor;
|
|
2669
2689
|
};
|
|
@@ -2699,6 +2719,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2699
2719
|
bordered: string | boolean;
|
|
2700
2720
|
uniqueCacheData: boolean;
|
|
2701
2721
|
outBordered: boolean;
|
|
2722
|
+
operationalFormInit: boolean;
|
|
2702
2723
|
}>;
|
|
2703
2724
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
2704
2725
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "update")[], "error" | "update", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -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;
|
|
@@ -0,0 +1,320 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
paramCfg: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
default: null;
|
|
5
|
+
};
|
|
6
|
+
modelValue: {
|
|
7
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
8
|
+
default: null;
|
|
9
|
+
};
|
|
10
|
+
modelValues: {
|
|
11
|
+
type: ArrayConstructor;
|
|
12
|
+
default: () => never[];
|
|
13
|
+
};
|
|
14
|
+
}, {
|
|
15
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
+
paramCfg: {
|
|
17
|
+
type: ObjectConstructor;
|
|
18
|
+
default: null;
|
|
19
|
+
};
|
|
20
|
+
modelValue: {
|
|
21
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
22
|
+
default: null;
|
|
23
|
+
};
|
|
24
|
+
modelValues: {
|
|
25
|
+
type: ArrayConstructor;
|
|
26
|
+
default: () => never[];
|
|
27
|
+
};
|
|
28
|
+
}>> & {
|
|
29
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
30
|
+
"onUpdate:modelValues"?: ((...args: any[]) => any) | undefined;
|
|
31
|
+
}>>;
|
|
32
|
+
emit: (event: "update:modelValue" | "update:modelValues", ...args: any[]) => void;
|
|
33
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
|
34
|
+
valuesCp: import("vue").WritableComputedRef<any>;
|
|
35
|
+
isSelectMode: import("vue").ComputedRef<boolean>;
|
|
36
|
+
isSelectMultiple: import("vue").ComputedRef<boolean>;
|
|
37
|
+
biType: import("vue").ComputedRef<any>;
|
|
38
|
+
Date: import("vue").DefineComponent<{
|
|
39
|
+
componentCfg: {
|
|
40
|
+
type: ObjectConstructor;
|
|
41
|
+
};
|
|
42
|
+
paramCfg: {
|
|
43
|
+
type: ObjectConstructor;
|
|
44
|
+
default: null;
|
|
45
|
+
};
|
|
46
|
+
modelValue: {
|
|
47
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
48
|
+
default: null;
|
|
49
|
+
};
|
|
50
|
+
}, {
|
|
51
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
52
|
+
componentCfg: {
|
|
53
|
+
type: ObjectConstructor;
|
|
54
|
+
};
|
|
55
|
+
paramCfg: {
|
|
56
|
+
type: ObjectConstructor;
|
|
57
|
+
default: null;
|
|
58
|
+
};
|
|
59
|
+
modelValue: {
|
|
60
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
61
|
+
default: null;
|
|
62
|
+
};
|
|
63
|
+
}>> & {
|
|
64
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
65
|
+
}>>;
|
|
66
|
+
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
67
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
|
68
|
+
dateType: any;
|
|
69
|
+
valueFormat: import("vue").ComputedRef<string>;
|
|
70
|
+
compType: import("vue").ComputedRef<any>;
|
|
71
|
+
CDatePicker: import("../../../..").SFCWithInstall<import("vue").DefineComponent<{
|
|
72
|
+
updateUnchangedValue: {
|
|
73
|
+
type: BooleanConstructor;
|
|
74
|
+
};
|
|
75
|
+
onConfirm: {
|
|
76
|
+
type: FunctionConstructor;
|
|
77
|
+
};
|
|
78
|
+
formattedValue: {
|
|
79
|
+
type: import("vue").PropType<(string | [string, string]) | null | undefined>;
|
|
80
|
+
};
|
|
81
|
+
placeholder: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
};
|
|
84
|
+
allowedInvalidValue: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
};
|
|
87
|
+
}, {
|
|
88
|
+
attrs: {
|
|
89
|
+
[x: string]: unknown;
|
|
90
|
+
};
|
|
91
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
92
|
+
updateUnchangedValue: {
|
|
93
|
+
type: BooleanConstructor;
|
|
94
|
+
};
|
|
95
|
+
onConfirm: {
|
|
96
|
+
type: FunctionConstructor;
|
|
97
|
+
};
|
|
98
|
+
formattedValue: {
|
|
99
|
+
type: import("vue").PropType<(string | [string, string]) | null | undefined>;
|
|
100
|
+
};
|
|
101
|
+
placeholder: {
|
|
102
|
+
type: StringConstructor;
|
|
103
|
+
};
|
|
104
|
+
allowedInvalidValue: {
|
|
105
|
+
type: StringConstructor;
|
|
106
|
+
};
|
|
107
|
+
}>> & {
|
|
108
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
109
|
+
}>>;
|
|
110
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
111
|
+
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
112
|
+
panelInstRef: import("vue").Ref<null>;
|
|
113
|
+
placeholderRef: import("vue").Ref<any>;
|
|
114
|
+
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
115
|
+
isDateTime: import("vue").ComputedRef<boolean>;
|
|
116
|
+
formatRef: import("vue").ComputedRef<string>;
|
|
117
|
+
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
|
118
|
+
focus: () => any;
|
|
119
|
+
blur: () => any;
|
|
120
|
+
handleConfirm: (target: HTMLInputElement) => void;
|
|
121
|
+
onUpdateShow: (show: boolean) => void;
|
|
122
|
+
onConfirm: (...args: any[]) => Promise<void>;
|
|
123
|
+
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
124
|
+
NDatePicker: any;
|
|
125
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formatted-value"[], "update:formatted-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
126
|
+
updateUnchangedValue: {
|
|
127
|
+
type: BooleanConstructor;
|
|
128
|
+
};
|
|
129
|
+
onConfirm: {
|
|
130
|
+
type: FunctionConstructor;
|
|
131
|
+
};
|
|
132
|
+
formattedValue: {
|
|
133
|
+
type: import("vue").PropType<(string | [string, string]) | null | undefined>;
|
|
134
|
+
};
|
|
135
|
+
placeholder: {
|
|
136
|
+
type: StringConstructor;
|
|
137
|
+
};
|
|
138
|
+
allowedInvalidValue: {
|
|
139
|
+
type: StringConstructor;
|
|
140
|
+
};
|
|
141
|
+
}>> & {
|
|
142
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
143
|
+
}, {
|
|
144
|
+
updateUnchangedValue: boolean;
|
|
145
|
+
}>>;
|
|
146
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
147
|
+
componentCfg: {
|
|
148
|
+
type: ObjectConstructor;
|
|
149
|
+
};
|
|
150
|
+
paramCfg: {
|
|
151
|
+
type: ObjectConstructor;
|
|
152
|
+
default: null;
|
|
153
|
+
};
|
|
154
|
+
modelValue: {
|
|
155
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
156
|
+
default: null;
|
|
157
|
+
};
|
|
158
|
+
}>> & {
|
|
159
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
160
|
+
}, {
|
|
161
|
+
modelValue: string | number | unknown[];
|
|
162
|
+
paramCfg: Record<string, any>;
|
|
163
|
+
}>;
|
|
164
|
+
InputFilter: import("vue").DefineComponent<{
|
|
165
|
+
paramCfg: {
|
|
166
|
+
type: ObjectConstructor;
|
|
167
|
+
default: null;
|
|
168
|
+
};
|
|
169
|
+
modelValue: {
|
|
170
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
171
|
+
default: null;
|
|
172
|
+
};
|
|
173
|
+
}, {
|
|
174
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
175
|
+
paramCfg: {
|
|
176
|
+
type: ObjectConstructor;
|
|
177
|
+
default: null;
|
|
178
|
+
};
|
|
179
|
+
modelValue: {
|
|
180
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
181
|
+
default: null;
|
|
182
|
+
};
|
|
183
|
+
}>> & {
|
|
184
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
185
|
+
}>>;
|
|
186
|
+
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
187
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
|
188
|
+
NInput: any;
|
|
189
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
190
|
+
paramCfg: {
|
|
191
|
+
type: ObjectConstructor;
|
|
192
|
+
default: null;
|
|
193
|
+
};
|
|
194
|
+
modelValue: {
|
|
195
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
196
|
+
default: null;
|
|
197
|
+
};
|
|
198
|
+
}>> & {
|
|
199
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
200
|
+
}, {
|
|
201
|
+
modelValue: string | number | unknown[];
|
|
202
|
+
paramCfg: Record<string, any>;
|
|
203
|
+
}>;
|
|
204
|
+
InputNumber: import("vue").DefineComponent<{
|
|
205
|
+
modelValue: {
|
|
206
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
207
|
+
default: null;
|
|
208
|
+
};
|
|
209
|
+
}, {
|
|
210
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
211
|
+
modelValue: {
|
|
212
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
213
|
+
default: null;
|
|
214
|
+
};
|
|
215
|
+
}>> & {
|
|
216
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
217
|
+
}>>;
|
|
218
|
+
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
219
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
|
220
|
+
NInputNumber: any;
|
|
221
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
222
|
+
modelValue: {
|
|
223
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
224
|
+
default: null;
|
|
225
|
+
};
|
|
226
|
+
}>> & {
|
|
227
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
228
|
+
}, {
|
|
229
|
+
modelValue: string | number | unknown[];
|
|
230
|
+
}>;
|
|
231
|
+
SelectFilter: import("vue").DefineComponent<{
|
|
232
|
+
paramCfg: {
|
|
233
|
+
type: ObjectConstructor;
|
|
234
|
+
default: null;
|
|
235
|
+
};
|
|
236
|
+
modelValue: {
|
|
237
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
238
|
+
default: null;
|
|
239
|
+
};
|
|
240
|
+
}, {
|
|
241
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
242
|
+
paramCfg: {
|
|
243
|
+
type: ObjectConstructor;
|
|
244
|
+
default: null;
|
|
245
|
+
};
|
|
246
|
+
modelValue: {
|
|
247
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
248
|
+
default: null;
|
|
249
|
+
};
|
|
250
|
+
}>> & {
|
|
251
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
252
|
+
}>>;
|
|
253
|
+
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
254
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
|
255
|
+
optionSetting: import("vue").ComputedRef<any>;
|
|
256
|
+
widgetOptions: import("vue").ComputedRef<any>;
|
|
257
|
+
NSelect: any;
|
|
258
|
+
WidgetOptionEnums: {
|
|
259
|
+
RADIO: string;
|
|
260
|
+
MULTIPLE: string;
|
|
261
|
+
ALL: string;
|
|
262
|
+
SELECT_TIME: string;
|
|
263
|
+
PAST_TIME: string;
|
|
264
|
+
FUTURE_TIME: string;
|
|
265
|
+
};
|
|
266
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
267
|
+
paramCfg: {
|
|
268
|
+
type: ObjectConstructor;
|
|
269
|
+
default: null;
|
|
270
|
+
};
|
|
271
|
+
modelValue: {
|
|
272
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
273
|
+
default: null;
|
|
274
|
+
};
|
|
275
|
+
}>> & {
|
|
276
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
277
|
+
}, {
|
|
278
|
+
modelValue: string | number | unknown[];
|
|
279
|
+
paramCfg: Record<string, any>;
|
|
280
|
+
}>;
|
|
281
|
+
WidgetTypeEnums: {
|
|
282
|
+
INPUT_NUMBER: string;
|
|
283
|
+
INPUT: string;
|
|
284
|
+
SELECT: string;
|
|
285
|
+
DATE: string;
|
|
286
|
+
DATE_OUT: string;
|
|
287
|
+
DATE_TIME: string;
|
|
288
|
+
DATETIME_OUT: string;
|
|
289
|
+
CHECKBOX_GROUP: string;
|
|
290
|
+
INPUTNUMBER_RANGE: string;
|
|
291
|
+
DATE_RANGE_OUT: string;
|
|
292
|
+
DATE_RANGE_INNER: string;
|
|
293
|
+
DATETIME_RANGE_OUT: string;
|
|
294
|
+
DATETIME_RANGE_INNER: string;
|
|
295
|
+
LABEL: string;
|
|
296
|
+
SELECTLABEL: string;
|
|
297
|
+
SELECTDYNAMIC: string;
|
|
298
|
+
};
|
|
299
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:modelValues")[], "update:modelValue" | "update:modelValues", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
300
|
+
paramCfg: {
|
|
301
|
+
type: ObjectConstructor;
|
|
302
|
+
default: null;
|
|
303
|
+
};
|
|
304
|
+
modelValue: {
|
|
305
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
306
|
+
default: null;
|
|
307
|
+
};
|
|
308
|
+
modelValues: {
|
|
309
|
+
type: ArrayConstructor;
|
|
310
|
+
default: () => never[];
|
|
311
|
+
};
|
|
312
|
+
}>> & {
|
|
313
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
314
|
+
"onUpdate:modelValues"?: ((...args: any[]) => any) | undefined;
|
|
315
|
+
}, {
|
|
316
|
+
modelValue: string | number | unknown[];
|
|
317
|
+
paramCfg: Record<string, any>;
|
|
318
|
+
modelValues: unknown[];
|
|
319
|
+
}>;
|
|
320
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"./ValueCfg.vue2.js";import r from"../../../../../_virtual/_plugin-vue_export-helper.js";var u=r(e,[["__file","ValueCfg.vue"]]);export{u as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as e,computed as a,openBlock as l,createElementBlock as u,createCommentVNode as m,unref as o,createBlock as r,isRef as p,Fragment as t,createVNode as n}from"vue";import{InputNumber as d,InputFilter as f,SelectFilter as g,Date as s}from"./components/index.js";import{WidgetOptionEnums as i,WidgetTypeEnums as V}from"../../types/enums.js";import{typeMappingOptions as v}from"./helpers/options.js";const C={class:"value-cfg_wrapper"};var y=e({__name:"ValueCfg",props:{paramCfg:{type:Object,default:null},modelValue:{type:[String,Number,Array],default:null},modelValues:{type:Array,default:()=>[]}},emits:["update:modelValue","update:modelValues"],setup(e,{emit:y}){const U=e,c=a({set(e){y("update:modelValue",e)},get:()=>U.modelValue}),T=a({set(e){y("update:modelValues",e)},get:()=>U.modelValues}),k=a((()=>{var e,a;const l=null==(e=U.paramCfg)?void 0:e.optionInfo;return!!((null==l?void 0:l.manualMapping)&&(null==(a=l.list)?void 0:a.length)>0)})),I=a((()=>{var e;return(null==(e=U.paramCfg)?void 0:e.optionSetting)===i.MULTIPLE})),_=a((()=>{var e;const a=(null==(e=U.paramCfg)?void 0:e._rawData.type)||"";return v[a]}));return(a,i)=>(l(),u("div",C,[m(" 数字框 "),o(_)===o(V).INPUT_NUMBER?(l(),r(o(d),{key:0,paramCfg:e.paramCfg,modelValue:o(c),"onUpdate:modelValue":i[0]||(i[0]=e=>p(c)?c.value=e:null)},null,8,["paramCfg","modelValue"])):m("v-if",!0),m(" 文本框 "),o(_)!==o(V).INPUT||o(k)?m("v-if",!0):(l(),r(o(f),{key:1,paramCfg:e.paramCfg,modelValue:o(c),"onUpdate:modelValue":i[1]||(i[1]=e=>p(c)?c.value=e:null)},null,8,["paramCfg","modelValue"])),m(" 静态数据源下拉框 "),o(_)===o(V).INPUT&&o(k)?(l(),u(t,{key:2},[m(" 多选 "),o(I)?(l(),r(o(g),{key:0,paramCfg:e.paramCfg,modelValue:o(T),"onUpdate:modelValue":i[2]||(i[2]=e=>p(T)?T.value=e:null)},null,8,["paramCfg","modelValue"])):(l(),u(t,{key:1},[m(" 单选 "),n(o(g),{paramCfg:e.paramCfg,modelValue:o(c),"onUpdate:modelValue":i[3]||(i[3]=e=>p(c)?c.value=e:null)},null,8,["paramCfg","modelValue"])],2112))],64)):m("v-if",!0),m(" 日期框、日期时间框 "),o(_)===o(V).DATE||o(_)===o(V).DATE_TIME?(l(),r(o(s),{key:3,paramCfg:e.paramCfg,modelValue:o(c),"onUpdate:modelValue":i[4]||(i[4]=e=>p(c)?c.value=e:null)},null,8,["paramCfg","modelValue"])):m("v-if",!0)]))}});export{y as default};
|