cnhis-design-vue 3.1.45-beta.9 → 3.1.45-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/annotation-edit/src/AnnotationEdit.js +1 -1
- package/es/components/base-search/index.d.ts +0 -2
- package/es/components/base-search/src/index.vue.d.ts +0 -2
- package/es/components/base-search/style/index.css +1 -1
- package/es/components/classification/index.d.ts +11 -165
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +11 -165
- 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 +11 -165
- package/es/components/classification/src/index.vue.d.ts +11 -165
- package/es/components/fabric-chart/index.d.ts +5 -40
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +5 -40
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.d.ts +0 -20
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useRight.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTop.js +1 -1
- package/es/components/fabric-chart/src/hooks/useDraw.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/useDraw.js +1 -1
- package/es/components/fabric-chart/src/hooks/useGrid.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/useGrid.js +1 -1
- package/es/components/fabric-chart/src/interface.d.ts +0 -13
- package/es/components/fabric-chart/src/utils/index.d.ts +1 -2
- package/es/components/fabric-chart/src/utils/index.js +1 -1
- package/es/components/field-set/index.d.ts +38 -157
- package/es/components/field-set/src/FieldSet.vue.d.ts +23 -160
- package/es/components/field-set/src/FieldSet.vue2.js +1 -1
- package/es/components/field-set/src/types/index.d.ts +0 -1
- package/es/components/field-set/style/index.css +1 -1
- package/es/components/form-config/index.d.ts +48 -3561
- package/es/components/form-config/src/FormConfig.vue.d.ts +48 -3561
- package/es/components/form-config/src/FormConfig.vue2.js +1 -1
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +4 -31
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue2.js +1 -1
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +4 -33
- package/es/components/form-config/src/components/FormConfigMaterialItem.d.ts +1 -11
- package/es/components/form-config/src/components/FormConfigMaterialItem.js +1 -1
- package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +0 -2
- package/es/components/form-config/src/components/renderer/DefaultNode.vue2.js +1 -1
- package/es/components/form-config/src/constants/index.d.ts +0 -1
- package/es/components/form-config/src/constants/index.js +1 -1
- package/es/components/form-config/src/hooks/useSortalbeConfig.js +1 -1
- package/es/components/form-config/src/types/index.d.ts +0 -2
- package/es/components/form-config/style/index.css +1 -1
- package/es/components/form-render/index.d.ts +4 -31
- package/es/components/form-render/src/FormRender.vue.d.ts +4 -31
- package/es/components/form-render/src/FormRender.vue2.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +4 -31
- package/es/components/form-render/src/components/renderer/combination.d.ts +5 -5
- package/es/components/form-render/src/components/renderer/combination.js +1 -1
- package/es/components/form-render/src/components/renderer/jsonCombination/index.d.ts +5 -5
- package/es/components/form-render/src/components/renderer/jsonCombination/index.js +1 -1
- package/es/components/form-render/src/components/renderer/levelSearchCascader.js +1 -1
- package/es/components/form-render/src/constants/index.d.ts +0 -2
- package/es/components/form-render/src/constants/index.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/src/hooks/useFormAsyncQueue.d.ts +1 -1
- package/es/components/form-render/src/hooks/useFormAsyncQueue.js +1 -1
- package/es/components/form-render/src/hooks/useFormContext.js +1 -1
- package/es/components/form-render/src/hooks/useFormRenderLifeCycle.d.ts +1 -3
- package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +1 -1
- package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
- package/es/components/form-render/src/hooks/useNuiThemeOverrides.js +1 -1
- package/es/components/form-render/src/types/index.d.ts +0 -2
- package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.js +1 -1
- package/es/components/index.css +1 -1
- package/es/components/info-header/index.d.ts +10 -72
- package/es/components/info-header/src/InfoHeader.vue.d.ts +10 -72
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +4 -31
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +4 -31
- package/es/components/keyboard/index.d.ts +1 -1
- package/es/components/keyboard/src/Keyboard.vue.d.ts +1 -1
- package/es/components/quick-search/index.d.ts +0 -2
- package/es/components/quick-search/src/index.vue.d.ts +0 -2
- package/es/components/quick-search/style/index.css +1 -1
- package/es/components/recommend-search/index.d.ts +2 -2
- package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +2 -2
- package/es/components/recommend-search/src/components/BaseSearch.d.ts +1 -1
- package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +1 -1
- package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +1 -1
- package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/components/search-cascader/index.d.ts +3 -16
- package/es/components/search-cascader/src/SearchCascader.vue.d.ts +3 -16
- package/es/components/search-cascader/src/SearchCascader.vue2.js +1 -1
- package/es/components/search-cascader/src/hooks/index.d.ts +1 -0
- package/es/components/search-cascader/src/hooks/index.js +1 -0
- package/es/components/search-cascader/src/hooks/useCssVariable.d.ts +3 -0
- package/es/components/search-cascader/src/hooks/useCssVariable.js +1 -0
- 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 +4 -31
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +4 -31
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +10 -165
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +1 -16
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +0 -18
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue.d.ts +10 -128
- package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue.d.ts +0 -1
- package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +10 -163
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +10 -165
- package/es/components/table-filter/src/components/render-widget/basicData.d.ts +4 -0
- package/es/components/table-filter/src/components/render-widget/basicData.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/{DateOut.vue.d.ts → Date.vue.d.ts} +2 -21
- package/es/components/table-filter/src/components/render-widget/components/Date.vue.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/Date.vue2.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +5 -99
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +9 -13
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue.d.ts +5 -7
- package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue.d.ts +5 -6
- package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/Select.vue.d.ts +25 -15
- package/es/components/table-filter/src/components/render-widget/components/Select.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +25 -520
- package/es/components/table-filter/src/components/render-widget/components/index.js +1 -1
- package/es/components/table-filter/src/components/render-widget/enums.d.ts +3 -10
- package/es/components/table-filter/src/components/render-widget/enums.js +1 -1
- package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.d.ts +6 -2
- package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +1 -1
- package/es/components/table-filter/src/components/render-widget/index.vue.js +1 -1
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +24 -548
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
- package/es/components/table-filter/src/hooks/useAdvanced.d.ts +0 -2
- package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
- package/es/components/table-filter/src/hooks/useRenderWidget.js +1 -1
- package/es/components/table-filter/src/tool/baseOptions.js +1 -1
- package/es/components/table-filter/src/types/enums.d.ts +0 -2
- package/es/components/table-filter/src/types/enums.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/useAsyncQueue.d.ts +1 -3
- package/es/shared/hooks/useAsyncQueue.js +1 -1
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -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/fabric-chart/src/hooks/surgicalAnesthesia/index.d.ts +0 -2
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/index.js +0 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.d.ts +0 -4
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +0 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.d.ts +0 -4
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +0 -1
- package/es/components/field-set/src/components/Row.vue.d.ts +0 -132
- package/es/components/field-set/src/components/Row.vue.js +0 -1
- package/es/components/field-set/src/components/Row.vue2.js +0 -1
- package/es/components/field-set/src/utils/index.d.ts +0 -7
- package/es/components/field-set/src/utils/index.js +0 -1
- package/es/components/form-render/src/components/renderer/dist/levelSearchCascader.d.ts +0 -77
- package/es/components/form-render/src/components/renderer/dist/searchCascade.d.ts +0 -93
- package/es/components/iho-table/src/plugins/dist/highLightSetPlugin.d.ts +0 -3
- package/es/components/iho-table/src/plugins/filterRenderPlugin/dist/index.d.ts +0 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/dist/index.d.ts +0 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/defaultRendererPlugin.d.ts +0 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/seqRendererPlugin.d.ts +0 -3
- package/es/components/iho-table/src/plugins/varialbleHeightPlugin/dist/index.d.ts +0 -3
- package/es/components/iho-table/src/utils/dist/index.d.ts +0 -44
- package/es/components/scale-view/src/components/formitem/dist/r-address.d.ts +0 -36
- package/es/components/scale-view/src/components/formitem/dist/r-sign.d.ts +0 -36
- package/es/components/scale-view/src/components/formitem/dist/standard-modal.d.ts +0 -82
- package/es/components/search-cascader/src/components/dist/SearchMenu.d.ts +0 -57
- package/es/components/search-cascader/src/components/dist/SearchMenu1.d.ts +0 -57
- package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic1.vue.d.ts +0 -61
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +0 -218
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.d.ts +0 -71
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue2.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/Select1.vue.d.ts +0 -45
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts +0 -175
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.d.ts +0 -114
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +0 -1
- package/es/components/table-filter/src/components/render-widget/helpers/dateDisabled.d.ts +0 -27
- package/es/components/table-filter/src/components/render-widget/helpers/dateDisabled.js +0 -1
- package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.d.ts +0 -55
- package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +0 -1
- package/es/components/table-filter/src/components/render-widget/helpers/enums.d.ts +0 -56
- package/es/components/table-filter/src/components/render-widget/helpers/enums.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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function n(){return{"--menu-width":150}}export{n as useCssVariable};
|
|
@@ -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: {
|
|
@@ -1854,7 +1854,6 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1854
1854
|
onSetup(): void;
|
|
1855
1855
|
beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
|
|
1856
1856
|
afterRequest(fieldKey: string, payload?: any): import("../../../es/shared/types").AnyObject[];
|
|
1857
|
-
afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[]): void;
|
|
1858
1857
|
}>>;
|
|
1859
1858
|
};
|
|
1860
1859
|
requestInstance: {
|
|
@@ -1874,10 +1873,6 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1874
1873
|
type: (BooleanConstructor | StringConstructor)[];
|
|
1875
1874
|
default: boolean;
|
|
1876
1875
|
};
|
|
1877
|
-
uniqueCacheData: {
|
|
1878
|
-
type: BooleanConstructor;
|
|
1879
|
-
default: boolean;
|
|
1880
|
-
};
|
|
1881
1876
|
}, {
|
|
1882
1877
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1883
1878
|
fieldList: {
|
|
@@ -1991,7 +1986,6 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1991
1986
|
onSetup(): void;
|
|
1992
1987
|
beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
|
|
1993
1988
|
afterRequest(fieldKey: string, payload?: any): import("../../../es/shared/types").AnyObject[];
|
|
1994
|
-
afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[]): void;
|
|
1995
1989
|
}>>;
|
|
1996
1990
|
};
|
|
1997
1991
|
requestInstance: {
|
|
@@ -2011,16 +2005,12 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2011
2005
|
type: (BooleanConstructor | StringConstructor)[];
|
|
2012
2006
|
default: boolean;
|
|
2013
2007
|
};
|
|
2014
|
-
uniqueCacheData: {
|
|
2015
|
-
type: BooleanConstructor;
|
|
2016
|
-
default: boolean;
|
|
2017
|
-
};
|
|
2018
2008
|
}>> & {
|
|
2019
2009
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
2020
2010
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
2021
2011
|
onAnnotationChange?: ((...args: any[]) => any) | undefined;
|
|
2022
2012
|
}>>;
|
|
2023
|
-
emit: (event: "
|
|
2013
|
+
emit: (event: "scroll" | "formChange" | "annotationChange", ...args: any[]) => void;
|
|
2024
2014
|
cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
2025
2015
|
nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
|
|
2026
2016
|
formRenderRef: import("vue").Ref<HTMLElement | undefined>;
|
|
@@ -2040,17 +2030,6 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2040
2030
|
title: string;
|
|
2041
2031
|
}[]>;
|
|
2042
2032
|
onScroll: (scrollEvent: Event) => void;
|
|
2043
|
-
callLifeCycle: <T extends "onSetup" | "beforeRequest" | "afterRequest" | "afterOptionInit">(lifeCycleName: T, payload?: Parameters<Required<Partial<{
|
|
2044
|
-
onSetup(): void;
|
|
2045
|
-
beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
|
|
2046
|
-
afterRequest(fieldKey: string, payload?: any): import("../../../es/shared/types").AnyObject[];
|
|
2047
|
-
afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[]): void;
|
|
2048
|
-
}>>[T]> | undefined) => import("../../../es/shared/types").UndefinedAble<ReturnType<Required<Partial<{
|
|
2049
|
-
onSetup(): void;
|
|
2050
|
-
beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
|
|
2051
|
-
afterRequest(fieldKey: string, payload?: any): import("../../../es/shared/types").AnyObject[];
|
|
2052
|
-
afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[]): void;
|
|
2053
|
-
}>>[T]>>;
|
|
2054
2033
|
triggerAutoHidden: (field: import("@formily/core").GeneralField) => Promise<void>;
|
|
2055
2034
|
observeFormGraph: Record<string, import("@formily/core").GeneralField>;
|
|
2056
2035
|
setGraph: (field: import("@formily/core").GeneralField) => void;
|
|
@@ -2194,11 +2173,11 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2194
2173
|
onFocus: (...args: any[]) => Promise<void>;
|
|
2195
2174
|
onBlur: (...args: any[]) => Promise<void>;
|
|
2196
2175
|
onInput: (...args: any[]) => Promise<void>;
|
|
2197
|
-
editable: boolean;
|
|
2198
2176
|
reset: (options?: import("@formily/core").IFieldResetOptions | undefined) => Promise<void>;
|
|
2199
2177
|
title: string;
|
|
2178
|
+
editable: boolean;
|
|
2200
2179
|
visible: boolean;
|
|
2201
|
-
submit: <
|
|
2180
|
+
submit: <T>(onSubmit?: ((values: any) => void | Promise<T>) | undefined) => Promise<T>;
|
|
2202
2181
|
validator: import("@formily/core").FieldValidator;
|
|
2203
2182
|
pattern: import("@formily/core").FieldPatternTypes;
|
|
2204
2183
|
content: any;
|
|
@@ -2342,7 +2321,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2342
2321
|
readonly displayDirective: "if" | "show" | "show:lazy";
|
|
2343
2322
|
}>;
|
|
2344
2323
|
NTabs: any;
|
|
2345
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
2324
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "formChange" | "annotationChange")[], "scroll" | "formChange" | "annotationChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
2346
2325
|
fieldList: {
|
|
2347
2326
|
type: import("vue").PropType<import("..").FieldItem[]>;
|
|
2348
2327
|
};
|
|
@@ -2454,7 +2433,6 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2454
2433
|
onSetup(): void;
|
|
2455
2434
|
beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
|
|
2456
2435
|
afterRequest(fieldKey: string, payload?: any): import("../../../es/shared/types").AnyObject[];
|
|
2457
|
-
afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[]): void;
|
|
2458
2436
|
}>>;
|
|
2459
2437
|
};
|
|
2460
2438
|
requestInstance: {
|
|
@@ -2474,10 +2452,6 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2474
2452
|
type: (BooleanConstructor | StringConstructor)[];
|
|
2475
2453
|
default: boolean;
|
|
2476
2454
|
};
|
|
2477
|
-
uniqueCacheData: {
|
|
2478
|
-
type: BooleanConstructor;
|
|
2479
|
-
default: boolean;
|
|
2480
|
-
};
|
|
2481
2455
|
}>> & {
|
|
2482
2456
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
2483
2457
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
@@ -2494,7 +2468,6 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2494
2468
|
enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
|
|
2495
2469
|
linebarAutoHidden: boolean;
|
|
2496
2470
|
bordered: string | boolean;
|
|
2497
|
-
uniqueCacheData: boolean;
|
|
2498
2471
|
}>;
|
|
2499
2472
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
2500
2473
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "update")[], "error" | "update", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -1856,7 +1856,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1856
1856
|
onSetup(): void;
|
|
1857
1857
|
beforeRequest(fieldKey: string, params?: import("../../../../es/shared/types").AnyObject | undefined): void | import("../../../../es/shared/types").UndefinedAble<import("../../../../es/shared/types").AnyObject>;
|
|
1858
1858
|
afterRequest(fieldKey: string, payload?: any): import("../../../../es/shared/types").AnyObject[];
|
|
1859
|
-
afterOptionInit(fieldKey: string, options: import("../../../../es/shared/types").AnyObject[]): void;
|
|
1860
1859
|
}>>;
|
|
1861
1860
|
};
|
|
1862
1861
|
requestInstance: {
|
|
@@ -1876,10 +1875,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1876
1875
|
type: (BooleanConstructor | StringConstructor)[];
|
|
1877
1876
|
default: boolean;
|
|
1878
1877
|
};
|
|
1879
|
-
uniqueCacheData: {
|
|
1880
|
-
type: BooleanConstructor;
|
|
1881
|
-
default: boolean;
|
|
1882
|
-
};
|
|
1883
1878
|
}, {
|
|
1884
1879
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1885
1880
|
fieldList: {
|
|
@@ -1993,7 +1988,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1993
1988
|
onSetup(): void;
|
|
1994
1989
|
beforeRequest(fieldKey: string, params?: import("../../../../es/shared/types").AnyObject | undefined): void | import("../../../../es/shared/types").UndefinedAble<import("../../../../es/shared/types").AnyObject>;
|
|
1995
1990
|
afterRequest(fieldKey: string, payload?: any): import("../../../../es/shared/types").AnyObject[];
|
|
1996
|
-
afterOptionInit(fieldKey: string, options: import("../../../../es/shared/types").AnyObject[]): void;
|
|
1997
1991
|
}>>;
|
|
1998
1992
|
};
|
|
1999
1993
|
requestInstance: {
|
|
@@ -2013,16 +2007,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2013
2007
|
type: (BooleanConstructor | StringConstructor)[];
|
|
2014
2008
|
default: boolean;
|
|
2015
2009
|
};
|
|
2016
|
-
uniqueCacheData: {
|
|
2017
|
-
type: BooleanConstructor;
|
|
2018
|
-
default: boolean;
|
|
2019
|
-
};
|
|
2020
2010
|
}>> & {
|
|
2021
2011
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
2022
2012
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
2023
2013
|
onAnnotationChange?: ((...args: any[]) => any) | undefined;
|
|
2024
2014
|
}>>;
|
|
2025
|
-
emit: (event: "
|
|
2015
|
+
emit: (event: "scroll" | "formChange" | "annotationChange", ...args: any[]) => void;
|
|
2026
2016
|
cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
2027
2017
|
nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
|
|
2028
2018
|
formRenderRef: import("vue").Ref<HTMLElement | undefined>;
|
|
@@ -2042,17 +2032,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2042
2032
|
title: string;
|
|
2043
2033
|
}[]>;
|
|
2044
2034
|
onScroll: (scrollEvent: Event) => void;
|
|
2045
|
-
callLifeCycle: <T extends "onSetup" | "beforeRequest" | "afterRequest" | "afterOptionInit">(lifeCycleName: T, payload?: Parameters<Required<Partial<{
|
|
2046
|
-
onSetup(): void;
|
|
2047
|
-
beforeRequest(fieldKey: string, params?: import("../../../../es/shared/types").AnyObject | undefined): void | import("../../../../es/shared/types").UndefinedAble<import("../../../../es/shared/types").AnyObject>;
|
|
2048
|
-
afterRequest(fieldKey: string, payload?: any): import("../../../../es/shared/types").AnyObject[];
|
|
2049
|
-
afterOptionInit(fieldKey: string, options: import("../../../../es/shared/types").AnyObject[]): void;
|
|
2050
|
-
}>>[T]> | undefined) => import("../../../../es/shared/types").UndefinedAble<ReturnType<Required<Partial<{
|
|
2051
|
-
onSetup(): void;
|
|
2052
|
-
beforeRequest(fieldKey: string, params?: import("../../../../es/shared/types").AnyObject | undefined): void | import("../../../../es/shared/types").UndefinedAble<import("../../../../es/shared/types").AnyObject>;
|
|
2053
|
-
afterRequest(fieldKey: string, payload?: any): import("../../../../es/shared/types").AnyObject[];
|
|
2054
|
-
afterOptionInit(fieldKey: string, options: import("../../../../es/shared/types").AnyObject[]): void;
|
|
2055
|
-
}>>[T]>>;
|
|
2056
2035
|
triggerAutoHidden: (field: import("../../../../es/components/form-render").GeneralField) => Promise<void>;
|
|
2057
2036
|
observeFormGraph: Record<string, import("../../../../es/components/form-render").GeneralField>;
|
|
2058
2037
|
setGraph: (field: import("../../../../es/components/form-render").GeneralField) => void;
|
|
@@ -2196,11 +2175,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2196
2175
|
onFocus: (...args: any[]) => Promise<void>;
|
|
2197
2176
|
onBlur: (...args: any[]) => Promise<void>;
|
|
2198
2177
|
onInput: (...args: any[]) => Promise<void>;
|
|
2199
|
-
editable: boolean;
|
|
2200
2178
|
reset: (options?: import("../../../../es/components/form-render").IFieldResetOptions | undefined) => Promise<void>;
|
|
2201
2179
|
title: string;
|
|
2180
|
+
editable: boolean;
|
|
2202
2181
|
visible: boolean;
|
|
2203
|
-
submit: <
|
|
2182
|
+
submit: <T>(onSubmit?: ((values: any) => void | Promise<T>) | undefined) => Promise<T>;
|
|
2204
2183
|
validator: import("../../../../es/components/form-render").FieldValidator;
|
|
2205
2184
|
pattern: import("../../../../es/components/form-render").FieldPatternTypes;
|
|
2206
2185
|
content: any;
|
|
@@ -2344,7 +2323,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2344
2323
|
readonly displayDirective: "if" | "show" | "show:lazy";
|
|
2345
2324
|
}>;
|
|
2346
2325
|
NTabs: any;
|
|
2347
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
2326
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "formChange" | "annotationChange")[], "scroll" | "formChange" | "annotationChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
2348
2327
|
fieldList: {
|
|
2349
2328
|
type: import("vue").PropType<FieldItem[]>;
|
|
2350
2329
|
};
|
|
@@ -2456,7 +2435,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2456
2435
|
onSetup(): void;
|
|
2457
2436
|
beforeRequest(fieldKey: string, params?: import("../../../../es/shared/types").AnyObject | undefined): void | import("../../../../es/shared/types").UndefinedAble<import("../../../../es/shared/types").AnyObject>;
|
|
2458
2437
|
afterRequest(fieldKey: string, payload?: any): import("../../../../es/shared/types").AnyObject[];
|
|
2459
|
-
afterOptionInit(fieldKey: string, options: import("../../../../es/shared/types").AnyObject[]): void;
|
|
2460
2438
|
}>>;
|
|
2461
2439
|
};
|
|
2462
2440
|
requestInstance: {
|
|
@@ -2476,10 +2454,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2476
2454
|
type: (BooleanConstructor | StringConstructor)[];
|
|
2477
2455
|
default: boolean;
|
|
2478
2456
|
};
|
|
2479
|
-
uniqueCacheData: {
|
|
2480
|
-
type: BooleanConstructor;
|
|
2481
|
-
default: boolean;
|
|
2482
|
-
};
|
|
2483
2457
|
}>> & {
|
|
2484
2458
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
2485
2459
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
@@ -2496,7 +2470,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2496
2470
|
enterToNextWidget: boolean | ((fieldItem: FieldItem) => boolean | void);
|
|
2497
2471
|
linebarAutoHidden: boolean;
|
|
2498
2472
|
bordered: string | boolean;
|
|
2499
|
-
uniqueCacheData: boolean;
|
|
2500
2473
|
}>;
|
|
2501
2474
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
2502
2475
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "update")[], "error" | "update", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -34,9 +34,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
34
34
|
presetValCp: import("vue").WritableComputedRef<string>;
|
|
35
35
|
widgetType: import("vue").ComputedRef<any>;
|
|
36
36
|
Date: import("vue").DefineComponent<{
|
|
37
|
-
componentCfg: {
|
|
38
|
-
type: ObjectConstructor;
|
|
39
|
-
};
|
|
40
37
|
paramCfg: {
|
|
41
38
|
type: ObjectConstructor;
|
|
42
39
|
default: null;
|
|
@@ -51,9 +48,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
51
48
|
};
|
|
52
49
|
}, {
|
|
53
50
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
54
|
-
componentCfg: {
|
|
55
|
-
type: ObjectConstructor;
|
|
56
|
-
};
|
|
57
51
|
paramCfg: {
|
|
58
52
|
type: ObjectConstructor;
|
|
59
53
|
default: null;
|
|
@@ -76,17 +70,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
76
70
|
dateType: any;
|
|
77
71
|
valueFormat: import("vue").ComputedRef<string>;
|
|
78
72
|
compType: import("vue").ComputedRef<any>;
|
|
79
|
-
|
|
73
|
+
mappingConfig: import("vue").ComputedRef<any>;
|
|
80
74
|
widgetOptions: import("vue").ComputedRef<{
|
|
81
75
|
label: string;
|
|
82
76
|
value: string;
|
|
83
77
|
}[]>;
|
|
84
|
-
isDateDisabled: (ts: number) => boolean;
|
|
85
|
-
timeDisabled: (ts: number) => {
|
|
86
|
-
isHourDisabled(hour: number): boolean | undefined;
|
|
87
|
-
isMinuteDisabled(minute: number, hour: number | null): boolean | undefined;
|
|
88
|
-
isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | undefined;
|
|
89
|
-
};
|
|
90
78
|
CDatePicker: import("../../../..").SFCWithInstall<import("vue").DefineComponent<{
|
|
91
79
|
updateUnchangedValue: {
|
|
92
80
|
type: BooleanConstructor;
|
|
@@ -158,9 +146,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
158
146
|
LAST_YEAR: string;
|
|
159
147
|
};
|
|
160
148
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:presetVal")[], "update:modelValue" | "update:presetVal", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
161
|
-
componentCfg: {
|
|
162
|
-
type: ObjectConstructor;
|
|
163
|
-
};
|
|
164
149
|
paramCfg: {
|
|
165
150
|
type: ObjectConstructor;
|
|
166
151
|
default: null;
|
|
@@ -312,7 +297,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
312
297
|
default: null;
|
|
313
298
|
};
|
|
314
299
|
}, {
|
|
315
|
-
message: import("naive-ui").MessageApi;
|
|
316
300
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
317
301
|
paramCfg: {
|
|
318
302
|
type: ObjectConstructor;
|
|
@@ -326,145 +310,27 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
326
310
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
327
311
|
}>>;
|
|
328
312
|
handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
|
|
313
|
+
$attrs: {
|
|
314
|
+
[x: string]: unknown;
|
|
315
|
+
};
|
|
329
316
|
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
317
|
+
selectOptions: import("vue").Ref<any[]>;
|
|
330
318
|
isLoading: import("vue").Ref<boolean>;
|
|
331
319
|
filterApiConfig: import("../../../..").AnyObject;
|
|
332
|
-
|
|
333
|
-
menuProps: {
|
|
334
|
-
class: string;
|
|
335
|
-
};
|
|
336
|
-
curPage: import("vue").Ref<number>;
|
|
337
|
-
fieldTitleList: import("vue").Ref<any>;
|
|
338
|
-
selectOptions: import("vue").Ref<any[]>;
|
|
339
|
-
keywordVal: import("vue").Ref<any>;
|
|
320
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
|
340
321
|
optionSetting: import("vue").ComputedRef<any>;
|
|
341
322
|
isMultiple: import("vue").ComputedRef<boolean>;
|
|
342
|
-
|
|
343
|
-
isLastPage: import("vue").ComputedRef<boolean>;
|
|
344
|
-
valueCp: import("vue").ComputedRef<string | number | any[]>;
|
|
345
|
-
setOptionActive: (selectIds: string[]) => void;
|
|
346
|
-
handleUpdateSelect: (value: string[] | null) => void;
|
|
347
|
-
handleUpdatePage: (page: number) => Promise<void>;
|
|
348
|
-
getOptionsData: (keyword: string, curPage: number) => Promise<any>;
|
|
323
|
+
searchOptions: (keyword: string) => Promise<any>;
|
|
349
324
|
_handleSearch: (query: string) => Promise<void>;
|
|
350
325
|
handleSearch: (query: string) => Promise<void>;
|
|
351
326
|
handleInitData: () => Promise<void>;
|
|
352
|
-
|
|
327
|
+
renderLabel: (option: import("naive-ui").SelectOption) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
328
|
+
[key: string]: any;
|
|
329
|
+
}>;
|
|
353
330
|
renderTag: ({ option, handleClose }: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
354
331
|
[key: string]: any;
|
|
355
332
|
}>;
|
|
356
333
|
NSelect: any;
|
|
357
|
-
SelectDynamicOption: import("vue").DefineComponent<{
|
|
358
|
-
dynamicOptionInfo: {
|
|
359
|
-
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
360
|
-
default: () => {};
|
|
361
|
-
};
|
|
362
|
-
fieldTitleList: {
|
|
363
|
-
type: import("vue").PropType<import("../../../..").AnyObject[]>;
|
|
364
|
-
default: () => never[];
|
|
365
|
-
};
|
|
366
|
-
optionList: {
|
|
367
|
-
type: import("vue").PropType<import("../../../..").AnyObject[]>;
|
|
368
|
-
default: () => never[];
|
|
369
|
-
};
|
|
370
|
-
isMultiple: {
|
|
371
|
-
type: BooleanConstructor;
|
|
372
|
-
default: boolean;
|
|
373
|
-
};
|
|
374
|
-
curPage: {
|
|
375
|
-
type: NumberConstructor;
|
|
376
|
-
default: number;
|
|
377
|
-
};
|
|
378
|
-
isLastPage: {
|
|
379
|
-
type: BooleanConstructor;
|
|
380
|
-
default: boolean;
|
|
381
|
-
};
|
|
382
|
-
}, {
|
|
383
|
-
selectMinWidth: number;
|
|
384
|
-
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
385
|
-
dynamicOptionInfo: {
|
|
386
|
-
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
387
|
-
default: () => {};
|
|
388
|
-
};
|
|
389
|
-
fieldTitleList: {
|
|
390
|
-
type: import("vue").PropType<import("../../../..").AnyObject[]>;
|
|
391
|
-
default: () => never[];
|
|
392
|
-
};
|
|
393
|
-
optionList: {
|
|
394
|
-
type: import("vue").PropType<import("../../../..").AnyObject[]>;
|
|
395
|
-
default: () => never[];
|
|
396
|
-
};
|
|
397
|
-
isMultiple: {
|
|
398
|
-
type: BooleanConstructor;
|
|
399
|
-
default: boolean;
|
|
400
|
-
};
|
|
401
|
-
curPage: {
|
|
402
|
-
type: NumberConstructor;
|
|
403
|
-
default: number;
|
|
404
|
-
};
|
|
405
|
-
isLastPage: {
|
|
406
|
-
type: BooleanConstructor;
|
|
407
|
-
default: boolean;
|
|
408
|
-
};
|
|
409
|
-
}>> & {
|
|
410
|
-
onUpdateSelect?: ((...args: any[]) => any) | undefined;
|
|
411
|
-
onUpdatePage?: ((...args: any[]) => any) | undefined;
|
|
412
|
-
}>>;
|
|
413
|
-
emit: (event: "updateSelect" | "updatePage", ...args: any[]) => void;
|
|
414
|
-
dragEndWidth: import("vue").Ref<number>;
|
|
415
|
-
showKeys: import("vue").ComputedRef<any>;
|
|
416
|
-
titleList: import("vue").ComputedRef<string[]>;
|
|
417
|
-
handleSelect: (option: any) => void;
|
|
418
|
-
searchByPage: (onePage: number) => void;
|
|
419
|
-
changeWidth: ({ distance }: any) => void;
|
|
420
|
-
saveWidth: () => void;
|
|
421
|
-
NEmpty: any;
|
|
422
|
-
NButtonGroup: any;
|
|
423
|
-
NButton: any;
|
|
424
|
-
NIcon: any;
|
|
425
|
-
NPopover: any;
|
|
426
|
-
vFlexibleResize: {
|
|
427
|
-
mounted(el: any, { value }: any): void;
|
|
428
|
-
beforeUnmount(el: any): void;
|
|
429
|
-
};
|
|
430
|
-
ArrowBack: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
431
|
-
ArrowForward: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
432
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("updateSelect" | "updatePage")[], "updateSelect" | "updatePage", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
433
|
-
dynamicOptionInfo: {
|
|
434
|
-
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
435
|
-
default: () => {};
|
|
436
|
-
};
|
|
437
|
-
fieldTitleList: {
|
|
438
|
-
type: import("vue").PropType<import("../../../..").AnyObject[]>;
|
|
439
|
-
default: () => never[];
|
|
440
|
-
};
|
|
441
|
-
optionList: {
|
|
442
|
-
type: import("vue").PropType<import("../../../..").AnyObject[]>;
|
|
443
|
-
default: () => never[];
|
|
444
|
-
};
|
|
445
|
-
isMultiple: {
|
|
446
|
-
type: BooleanConstructor;
|
|
447
|
-
default: boolean;
|
|
448
|
-
};
|
|
449
|
-
curPage: {
|
|
450
|
-
type: NumberConstructor;
|
|
451
|
-
default: number;
|
|
452
|
-
};
|
|
453
|
-
isLastPage: {
|
|
454
|
-
type: BooleanConstructor;
|
|
455
|
-
default: boolean;
|
|
456
|
-
};
|
|
457
|
-
}>> & {
|
|
458
|
-
onUpdateSelect?: ((...args: any[]) => any) | undefined;
|
|
459
|
-
onUpdatePage?: ((...args: any[]) => any) | undefined;
|
|
460
|
-
}, {
|
|
461
|
-
dynamicOptionInfo: import("../../../..").AnyObject;
|
|
462
|
-
fieldTitleList: import("../../../..").AnyObject[];
|
|
463
|
-
optionList: import("../../../..").AnyObject[];
|
|
464
|
-
isMultiple: boolean;
|
|
465
|
-
curPage: number;
|
|
466
|
-
isLastPage: boolean;
|
|
467
|
-
}>;
|
|
468
334
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
469
335
|
paramCfg: {
|
|
470
336
|
type: ObjectConstructor;
|
|
@@ -570,15 +436,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
570
436
|
valueFormat: import("vue").ComputedRef<string>;
|
|
571
437
|
dateFormat: import("vue").ComputedRef<string>;
|
|
572
438
|
compType: import("vue").ComputedRef<any>;
|
|
573
|
-
optionSetting: import("vue").ComputedRef<any>;
|
|
574
|
-
isPastTime: import("vue").ComputedRef<boolean>;
|
|
575
|
-
isFutureTime: import("vue").ComputedRef<boolean>;
|
|
576
439
|
startPlaceholder: import("vue").ComputedRef<"初始日期" | "初始时间">;
|
|
577
440
|
endPlaceholder: import("vue").ComputedRef<"截止日期" | "截止时间">;
|
|
578
|
-
startDefault: import("vue").ComputedRef<string>;
|
|
579
|
-
endDefault: import("vue").ComputedRef<string>;
|
|
580
|
-
startDateFormat: import("vue").ComputedRef<string | null>;
|
|
581
|
-
endDateFormat: import("vue").ComputedRef<string | null>;
|
|
582
441
|
dateType: any;
|
|
583
442
|
widgetOptions: import("vue").ComputedRef<{
|
|
584
443
|
label: string;
|
|
@@ -587,19 +446,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
587
446
|
presetValCp: import("vue").WritableComputedRef<string>;
|
|
588
447
|
handleChange: (val: any, type: "end" | "start") => void;
|
|
589
448
|
isStartDateDisabled: (ts: number) => boolean;
|
|
590
|
-
timeStartDisabled: (ts: number) => {
|
|
591
|
-
isHourDisabled(hour: number): boolean | 0;
|
|
592
|
-
isMinuteDisabled(minute: number, hour: number | null): boolean | 0;
|
|
593
|
-
isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | 0;
|
|
594
|
-
};
|
|
595
449
|
isEndDateDisabled: (ts: number) => boolean;
|
|
596
|
-
timeEndDisabled: (ts: number) => {
|
|
597
|
-
isHourDisabled(hour: number): boolean | 0;
|
|
598
|
-
isMinuteDisabled(minute: number, hour: number | null): boolean | 0;
|
|
599
|
-
isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | 0;
|
|
600
|
-
};
|
|
601
450
|
NSelect: any;
|
|
602
|
-
NPopover: any;
|
|
603
451
|
CDatePicker: import("../../../..").SFCWithInstall<import("vue").DefineComponent<{
|
|
604
452
|
updateUnchangedValue: {
|
|
605
453
|
type: BooleanConstructor;
|
|
@@ -701,7 +549,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
701
549
|
};
|
|
702
550
|
}, {
|
|
703
551
|
handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
|
|
704
|
-
message: import("naive-ui").MessageApi;
|
|
705
552
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
706
553
|
paramCfg: {
|
|
707
554
|
type: ObjectConstructor;
|
|
@@ -741,9 +588,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
741
588
|
INPUT: string;
|
|
742
589
|
SELECT: string;
|
|
743
590
|
DATE: string;
|
|
744
|
-
DATE_OUT: string;
|
|
745
591
|
DATE_TIME: string;
|
|
746
|
-
DATETIME_OUT: string;
|
|
747
592
|
CHECKBOX_GROUP: string;
|
|
748
593
|
INPUTNUMBER_RANGE: string;
|
|
749
594
|
DATE_RANGE_OUT: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,computed as l,openBlock as a,createElementBlock as u,createCommentVNode as p,unref as m,createBlock as t,isRef as d}from"vue";import{InputNumber as o,InputFilter as r,SelectFilter as n,Date as V,SelectDynamic as f,InputNumberGroup as g,DateRange as s,SelectLabel as C}from"./components/index.js";import{WidgetTypeEnums as v}from"../../types/enums.js";const i={class:"value-cfg_wrapper"};var E=e({__name:"ValueCfg",props:{paramCfg:{type:Object,default:null},modelValue:{type:[String,Number,Array],default:null},presetVal:{type:String,default:null}},emits:["update:modelValue","update:presetVal"],setup(e,{emit:E}){const y=e,U=l({set(e){E("update:modelValue",e)},get:()=>y.modelValue}),N=l({set(e){E("update:presetVal",e)},get:()=>y.presetVal}),T=l((()=>{var e;return null==(e=y.paramCfg)?void 0:e.type}));return(l,E)=>(a(),u("div",i,[p(" 数字框 "),m(T)===m(v).INPUT_NUMBER?(a(),t(m(o),{key:0,modelValue:m(U),"onUpdate:modelValue":E[0]||(E[0]=e=>d(U)?U.value=e:null)},null,8,["modelValue"])):p("v-if",!0),p(" 文本框 "),m(T)===m(v).INPUT?(a(),t(m(r),{key:1,modelValue:m(U),"onUpdate:modelValue":E[1]||(E[1]=e=>d(U)?U.value=e:null)},null,8,["modelValue"])):p("v-if",!0),p("
|
|
1
|
+
import{defineComponent as e,computed as l,openBlock as a,createElementBlock as u,createCommentVNode as p,unref as m,createBlock as t,isRef as d}from"vue";import{InputNumber as o,InputFilter as r,SelectFilter as n,Date as V,SelectDynamic as f,InputNumberGroup as g,DateRange as s,SelectLabel as C}from"./components/index.js";import{WidgetTypeEnums as v}from"../../types/enums.js";const i={class:"value-cfg_wrapper"};var E=e({__name:"ValueCfg",props:{paramCfg:{type:Object,default:null},modelValue:{type:[String,Number,Array],default:null},presetVal:{type:String,default:null}},emits:["update:modelValue","update:presetVal"],setup(e,{emit:E}){const y=e,U=l({set(e){E("update:modelValue",e)},get:()=>y.modelValue}),N=l({set(e){E("update:presetVal",e)},get:()=>y.presetVal}),T=l((()=>{var e;return null==(e=y.paramCfg)?void 0:e.type}));return(l,E)=>(a(),u("div",i,[p(" 数字框 "),m(T)===m(v).INPUT_NUMBER?(a(),t(m(o),{key:0,modelValue:m(U),"onUpdate:modelValue":E[0]||(E[0]=e=>d(U)?U.value=e:null)},null,8,["modelValue"])):p("v-if",!0),p(" 文本框 "),m(T)===m(v).INPUT?(a(),t(m(r),{key:1,modelValue:m(U),"onUpdate:modelValue":E[1]||(E[1]=e=>d(U)?U.value=e:null)},null,8,["modelValue"])):p("v-if",!0),p(" 下拉框 "),m(T)===m(v).SELECT?(a(),t(m(n),{key:2,paramCfg:e.paramCfg,widgetType:m(T),modelValue:m(U),"onUpdate:modelValue":E[2]||(E[2]=e=>d(U)?U.value=e:null)},null,8,["paramCfg","widgetType","modelValue"])):p("v-if",!0),p(" 日期框、日期时间框 "),m(T)===m(v).DATE||m(T)===m(v).DATE_TIME?(a(),t(m(V),{key:3,paramCfg:e.paramCfg,modelValue:m(U),"onUpdate:modelValue":E[3]||(E[3]=e=>d(U)?U.value=e:null),presetVal:m(N),"onUpdate:presetVal":E[4]||(E[4]=e=>d(N)?N.value=e:null)},null,8,["paramCfg","modelValue","presetVal"])):p("v-if",!0),p(" 异步数据源下拉框 "),m(T)===m(v).SELECTDYNAMIC?(a(),t(m(f),{key:4,paramCfg:e.paramCfg,modelValue:m(U),"onUpdate:modelValue":E[5]||(E[5]=e=>d(U)?U.value=e:null)},null,8,["paramCfg","modelValue"])):p("v-if",!0),p(" 数字框范围 "),m(T)===m(v).INPUTNUMBER_RANGE?(a(),t(m(g),{key:5,paramCfg:e.paramCfg,modelValue:m(U),"onUpdate:modelValue":E[6]||(E[6]=e=>d(U)?U.value=e:null)},null,8,["paramCfg","modelValue"])):p("v-if",!0),p(" 日期、日期时间范围 "),m(T)===m(v).DATE_RANGE_INNER||m(T)===m(v).DATETIME_RANGE_INNER?(a(),t(m(s),{key:6,paramCfg:e.paramCfg,modelValue:m(U),"onUpdate:modelValue":E[7]||(E[7]=e=>d(U)?U.value=e:null),presetVal:m(N),"onUpdate:presetVal":E[8]||(E[8]=e=>d(N)?N.value=e:null)},null,8,["paramCfg","modelValue","presetVal"])):p("v-if",!0),p(" label标签选择 "),m(T)===m(v).SELECTLABEL?(a(),t(m(C),{key:7,paramCfg:e.paramCfg,modelValue:m(U),"onUpdate:modelValue":E[9]||(E[9]=e=>d(U)?U.value=e:null)},null,8,["paramCfg","modelValue"])):p("v-if",!0)]))}});export{E as default};
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
componentCfg: {
|
|
3
|
-
type: ObjectConstructor;
|
|
4
|
-
};
|
|
5
2
|
paramCfg: {
|
|
6
3
|
type: ObjectConstructor;
|
|
7
4
|
default: null;
|
|
@@ -16,9 +13,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16
13
|
};
|
|
17
14
|
}, {
|
|
18
15
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
-
componentCfg: {
|
|
20
|
-
type: ObjectConstructor;
|
|
21
|
-
};
|
|
22
16
|
paramCfg: {
|
|
23
17
|
type: ObjectConstructor;
|
|
24
18
|
default: null;
|
|
@@ -41,17 +35,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
41
35
|
dateType: any;
|
|
42
36
|
valueFormat: import("vue").ComputedRef<string>;
|
|
43
37
|
compType: import("vue").ComputedRef<any>;
|
|
44
|
-
|
|
38
|
+
mappingConfig: import("vue").ComputedRef<any>;
|
|
45
39
|
widgetOptions: import("vue").ComputedRef<{
|
|
46
40
|
label: string;
|
|
47
41
|
value: string;
|
|
48
42
|
}[]>;
|
|
49
|
-
isDateDisabled: (ts: number) => boolean;
|
|
50
|
-
timeDisabled: (ts: number) => {
|
|
51
|
-
isHourDisabled(hour: number): boolean | undefined;
|
|
52
|
-
isMinuteDisabled(minute: number, hour: number | null): boolean | undefined;
|
|
53
|
-
isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | undefined;
|
|
54
|
-
};
|
|
55
43
|
CDatePicker: import("../../../../..").SFCWithInstall<import("vue").DefineComponent<{
|
|
56
44
|
updateUnchangedValue: {
|
|
57
45
|
type: BooleanConstructor;
|
|
@@ -123,9 +111,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
123
111
|
LAST_YEAR: string;
|
|
124
112
|
};
|
|
125
113
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:presetVal")[], "update:modelValue" | "update:presetVal", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
126
|
-
componentCfg: {
|
|
127
|
-
type: ObjectConstructor;
|
|
128
|
-
};
|
|
129
114
|
paramCfg: {
|
|
130
115
|
type: ObjectConstructor;
|
|
131
116
|
default: null;
|