cnhis-design-vue 3.2.7-release.1 → 3.2.7-release.2
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +87 -87
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +1 -1
- package/es/components/classification/index.d.ts +60 -5
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +60 -5
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +60 -5
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
- package/es/components/classification/src/index.vue.d.ts +60 -5
- package/es/components/date-picker/index.d.ts +13 -0
- package/es/components/date-picker/src/DatePicker.vue.d.ts +13 -0
- package/es/components/date-picker/src/DatePicker.vue2.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
- package/es/components/field-set/src/FieldColor.vue.d.ts +26 -0
- package/es/components/field-set/src/components/condition.vue.d.ts +13 -0
- package/es/components/field-set/src/components/edit-dialog.vue.d.ts +26 -0
- package/es/components/field-set/src/components/edit-filter.vue.d.ts +13 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue2.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/src/types/index.d.ts +1 -1
- package/es/components/form-render/src/utils/business.js +1 -1
- package/es/components/form-render/src/utils/schema.d.ts +1 -1
- package/es/components/form-render/src/utils/schema.js +1 -1
- package/es/components/iho-chat/index.d.ts +171 -85
- package/es/components/iho-chat/src/Index.vue.d.ts +171 -85
- package/es/components/iho-chat/src/Index.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +34 -13
- package/es/components/iho-chat/src/components/ChatAdd.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +38 -13
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +48 -14
- package/es/components/iho-chat/src/components/ChatHeader.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +9 -19
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +13 -0
- package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +3 -10
- package/es/components/iho-chat/src/components/ChatSearch.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ContextMenu.d.ts +5 -5
- package/es/components/iho-chat/src/components/ContextMenu.js +1 -1
- package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +47 -22
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +1 -1
- package/es/components/iho-chat/src/hooks/useSearchUserList.d.ts +11 -0
- package/es/components/iho-chat/src/hooks/useSearchUserList.js +1 -0
- package/es/components/iho-chat/src/types/index.d.ts +0 -1
- package/es/components/iho-chat/style/index.css +1 -1
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +13 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +13 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +20 -2
- package/es/components/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/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +13 -0
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +13 -0
- package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +13 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +13 -0
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +47 -5
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +13 -0
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +13 -0
- package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue.d.ts +37 -19
- 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/index.d.ts +47 -5
- package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +47 -5
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +13 -0
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +13 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +13 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +13 -0
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts +33 -18
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.d.ts +13 -0
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +69 -4
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +69 -4
- package/es/components/table-filter/src/tool/transformData.js +1 -1
- package/es/components/table-filter/src/types/index.d.ts +1 -0
- package/es/components/time-picker/index.d.ts +20 -2
- package/es/components/time-picker/src/TimePicker.vue.d.ts +21 -2
- package/es/components/time-picker/src/TimePicker.vue2.js +1 -1
- package/es/env.d.ts +25 -25
- package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
- package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
- package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
- package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
- package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
- package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
- package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
- package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
- package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
- package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
- package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
- package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
- package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
- 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/table_style_2.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/components/VueDraggable/src/vuedraggable.d.ts +86 -0
- package/es/shared/package.json.js +1 -1
- package/es/shared/utils/business.js +1 -1
- package/es/shared/utils/fabricjs/index.d.ts +6823 -0
- package/es/shared/utils/tapable/index.d.ts +139 -0
- package/package.json +2 -2
@@ -1 +1 @@
|
|
1
|
-
import{defineComponent as e,reactive as o,ref as t,watch as a,nextTick as n,openBlock as s,createElementBlock as i,normalizeClass as l,unref as r,createCommentVNode as m,Fragment as c,createBlock as u,mergeProps as d,createElementVNode as p,normalizeStyle as v,createVNode as f,withCtx as g,renderList as h,toDisplayString as k,createTextVNode as y,resolveDynamicComponent as w,renderSlot as S}from"vue";import b from"./hooks/use-noData.js";import{ScaleViewProps as C}from"./hooks/scaleview-props.js";import{getScaleViewState as D}from"./hooks/scaleview-state.js";import{ScaleViewComputed as E}from"./hooks/scaleview-computed.js";import{ScaleViewInit as j}from"./hooks/scaleview-init.js";import{ScaleViewSubmit as _}from"./hooks/scaleview-submit.js";import{ScaleViewMethods as x}from"./hooks/scaleview-methods.js";import{handleQueryParams as F,isCollection as P}from"./utils/judge-types.js";import{useEvent as q}from"./hooks/use-event.js";import"xe-utils";import"moment";import L from"../../../shared/utils/vexutilsExpand.js";import N from"./components/NoData.vue.js";import R from"./components/EvaluateCountdown.vue.js";import A from"./components/EvaluatePage.vue.js";import M from"./components/AnswerParse.vue.js";import O from"./components/ScaleScore.js";import T from"./components/DescribeContent.vue.js";import{NForm as I,NFormItem as B,NButton as J}from"naive-ui";const V=["innerHTML"],G={key:0,class:"required-text"},W={key:1,class:"evalute-label"},H=["onClick"],Q=p("i",{class:"scale-view-iconfont icon-scale-view-dengpao"},null,-1),$={key:1,class:"footer"};var z=e({__name:"ScaleView",props:C,emits:["onCloseSetting","submitNoRequest","onSubmit","startWriteScale"],setup(e,{expose:C,emit:z}){const K=e,{ScaleViewState:U}=D(),X=o(U),Y=t(null),Z=t(null),{noDataState:ee,setNoData:oe,resetNodata:te}=b(),ae=F(),{showEvatip:ne,isFormBoldOpen:se,scaleStyle:ie,handlePageClass:le,isShowItem:re,handleShowQuestionNumber:me,hasScore:ce,isPreviewScale:ue,showEvaluateEntry:de,showEvaluateCoundownPage:pe,showScaleFooter:ve,isCancelBtn:fe,isSaveBtn:ge,showEvaluateLabel:he,showAnswerParse:ke,propsConfig:ye,evaluatePageProps:we,evaluateCountdownProps:Se,isEvaluetaResSituation:be,disableEdit:Ce,desStart:De,desEnd:Ee,desContent:je}=E(K,X,{query:ae}),{initForm:_e}=j(K,X,z,{query:ae}),{submitMethod:xe,onSubmitData:Fe,onSubmitForm:Pe,handleScoreJson:qe}=_(K,X,z,{query:ae,formRef:Z,countdownDom:Y}),{nextLogicEvent:Le,handleDynamicDataRelation:Ne}=q(K,X),{scaleChange:Re,labelChange:Ae,vodFileList:Me,writeGuage:Oe,closeEvaluateCountdown:Te,showEvaTipModal:Ie}=x(K,X,z,{nextLogicEvent:Le,handleDynamicDataRelation:Ne,isPreviewScale:ue,submitMethod:xe,isEvaluetaResSituation:be,handleScoreJson:qe,disableEdit:Ce});(()=>{let{id:e}=ae;e&&(X.shareId=e)})();const Be=e=>{try{te(),_e(e)}catch(e){console.log(e,"--error"),X.spinning=!1,X.hasFrontAddress=!1,oe(!0,null==e?void 0:e.resultMsg,null==e?void 0:e.result)}};a((()=>K.ids),((e,o)=>{o?e.guage_id&&e.guage_id!=o.guage_id&&Be(e):e.guage_id&&Be(e)}),{immediate:!0}),a((()=>K.guageData),(e=>{if(!e||!Object.keys(e||{}).length)return;X.form={},X.formArray=[];const o=JSON.parse(JSON.stringify(e));n((()=>{_e(o)}))}),{immediate:!0});const Je=L.debounce(Fe,300),Ve=()=>{z("onCloseSetting")};return C({getScaleData:()=>({...X}),onSubmitForm:Pe,cancel:Ve}),(e,o)=>(s(),i("div",{class:l(["c-scale-view-block",{"c-scale-view-block-hasfooter":r(ve)}])},[m(' <template v-if="state.spinning">\
|
1
|
+
import{defineComponent as e,reactive as o,ref as t,watch as a,nextTick as n,openBlock as s,createElementBlock as i,normalizeClass as l,unref as r,createCommentVNode as m,Fragment as c,createBlock as u,mergeProps as d,createElementVNode as p,normalizeStyle as v,createVNode as f,withCtx as g,renderList as h,toDisplayString as k,createTextVNode as y,resolveDynamicComponent as w,renderSlot as S}from"vue";import b from"./hooks/use-noData.js";import{ScaleViewProps as C}from"./hooks/scaleview-props.js";import{getScaleViewState as D}from"./hooks/scaleview-state.js";import{ScaleViewComputed as E}from"./hooks/scaleview-computed.js";import{ScaleViewInit as j}from"./hooks/scaleview-init.js";import{ScaleViewSubmit as _}from"./hooks/scaleview-submit.js";import{ScaleViewMethods as x}from"./hooks/scaleview-methods.js";import{handleQueryParams as F,isCollection as P}from"./utils/judge-types.js";import{useEvent as q}from"./hooks/use-event.js";import"xe-utils";import"moment";import L from"../../../shared/utils/vexutilsExpand.js";import N from"./components/NoData.vue.js";import R from"./components/EvaluateCountdown.vue.js";import A from"./components/EvaluatePage.vue.js";import M from"./components/AnswerParse.vue.js";import O from"./components/ScaleScore.js";import T from"./components/DescribeContent.vue.js";import{NForm as I,NFormItem as B,NButton as J}from"naive-ui";const V=["innerHTML"],G={key:0,class:"required-text"},W={key:1,class:"evalute-label"},H=["onClick"],Q=p("i",{class:"scale-view-iconfont icon-scale-view-dengpao"},null,-1),$={key:1,class:"footer"};var z=e({__name:"ScaleView",props:C,emits:["onCloseSetting","submitNoRequest","onSubmit","startWriteScale"],setup(e,{expose:C,emit:z}){const K=e,{ScaleViewState:U}=D(),X=o(U),Y=t(null),Z=t(null),{noDataState:ee,setNoData:oe,resetNodata:te}=b(),ae=F(),{showEvatip:ne,isFormBoldOpen:se,scaleStyle:ie,handlePageClass:le,isShowItem:re,handleShowQuestionNumber:me,hasScore:ce,isPreviewScale:ue,showEvaluateEntry:de,showEvaluateCoundownPage:pe,showScaleFooter:ve,isCancelBtn:fe,isSaveBtn:ge,showEvaluateLabel:he,showAnswerParse:ke,propsConfig:ye,evaluatePageProps:we,evaluateCountdownProps:Se,isEvaluetaResSituation:be,disableEdit:Ce,desStart:De,desEnd:Ee,desContent:je}=E(K,X,{query:ae}),{initForm:_e}=j(K,X,z,{query:ae}),{submitMethod:xe,onSubmitData:Fe,onSubmitForm:Pe,handleScoreJson:qe}=_(K,X,z,{query:ae,formRef:Z,countdownDom:Y}),{nextLogicEvent:Le,handleDynamicDataRelation:Ne}=q(K,X),{scaleChange:Re,labelChange:Ae,vodFileList:Me,writeGuage:Oe,closeEvaluateCountdown:Te,showEvaTipModal:Ie}=x(K,X,z,{nextLogicEvent:Le,handleDynamicDataRelation:Ne,isPreviewScale:ue,submitMethod:xe,isEvaluetaResSituation:be,handleScoreJson:qe,disableEdit:Ce});(()=>{let{id:e}=ae;e&&(X.shareId=e)})();const Be=e=>{try{te(),_e(e)}catch(e){console.log(e,"--error"),X.spinning=!1,X.hasFrontAddress=!1,oe(!0,null==e?void 0:e.resultMsg,null==e?void 0:e.result)}};a((()=>K.ids),((e,o)=>{o?e.guage_id&&e.guage_id!=o.guage_id&&Be(e):e.guage_id&&Be(e)}),{immediate:!0}),a((()=>K.guageData),(e=>{if(!e||!Object.keys(e||{}).length)return;X.form={},X.formArray=[];const o=JSON.parse(JSON.stringify(e));n((()=>{_e(o)}))}),{immediate:!0});const Je=L.debounce(Fe,300),Ve=()=>{z("onCloseSetting")};return C({getScaleData:()=>({...X}),onSubmitForm:Pe,cancel:Ve}),(e,o)=>(s(),i("div",{class:l(["c-scale-view-block",{"c-scale-view-block-hasfooter":r(ve)}])},[m(' <template v-if="state.spinning">\n <n-spin :show="state.spinning" description="加载中"></n-spin>\n </template> '),X.spinning||X.hasFrontAddress?m("v-if",!0):(s(),i(c,{key:0},[r(ee).noData?(s(),u(N,{key:0,noDataImg:r(ee).noDataImg,noDataTip:r(ee).noDataTip},null,8,["noDataImg","noDataTip"])):(s(),i(c,{key:1},[r(de)?(s(),u(A,d({key:0},r(we),{onWriteGuage:r(Oe)}),null,16,["onWriteGuage"])):(s(),i(c,{key:1},[r(pe)?(s(),u(R,d({key:0,ref_key:"countdownDom",ref:Y},r(Se),{onCloseEvaluateCountdown:r(Te)}),null,16,["onCloseEvaluateCountdown"])):m("v-if",!0),p("div",{class:l(["scale-container",{"scale-container-nopadding":r(le),"scale-container-hasfooter":r(ve)}]),style:v(r(ie))},[r(ce)?(s(),u(r(O),{key:0,config:X.config,maxScore:X.maxScore},null,8,["config","maxScore"])):m("v-if",!0),r(De)?(s(),u(T,{key:1,content:r(je)},null,8,["content"])):m("v-if",!0),f(r(I),{ref_key:"formRef",ref:Z,model:X.form,rules:X.rules,"require-mark-placement":"left",class:"main"},{default:g((()=>[(s(!0),i(c,null,h(X.formArray,((e,o)=>(s(),i(c,{key:(e.id||e.seq)+o},[r(re)(e)?(s(),u(r(B),{key:0,path:e.val_key,"show-label":!r(P)(e.type),class:"c-scle-form-item"},{label:g((()=>[p("span",{class:l({"scale-label-required":r(se)(e)}),innerHTML:r(me)(e)},null,10,V),r(se)(e)?(s(),i("span",G,"(必填)")):m("v-if",!0),r(he)(e)?(s(),i("span",W,k(r(he)(e)),1)):m("v-if",!0),r(ne)(e)?(s(),i("span",{key:2,class:"evalute-tip",onClick:o=>r(Ie)(e)},[Q,y(" 查看提示 ")],8,H)):m("v-if",!0)])),default:g((()=>[(s(),u(w(e.renderCom),d(r(ye)(e,o),{key:(e.id||e.seq)+o,onScaleChange:r(Re),onOnChange:o=>r(Ae)(o,e),onVodFileList:r(Me)}),null,16,["onScaleChange","onOnChange","onVodFileList"])),r(ke)(e)?(s(),u(M,{key:0,item:e},null,8,["item"])):m("v-if",!0)])),_:2},1032,["path","show-label"])):m("v-if",!0)],64)))),128))])),_:1},8,["model","rules"]),r(Ee)?(s(),u(T,{key:2,content:r(je)},null,8,["content"])):m("v-if",!0)],6),r(ve)?(s(),i("div",$,[m(" 分享的链接 隐藏取消按钮 "),r(fe)?(s(),u(r(J),{key:0,onClick:Ve},{default:g((()=>[y("取消")])),_:1})):m("v-if",!0),r(ge)?(s(),u(r(J),{key:1,onClick:r(Je),disabled:X.banSubmit,type:"primary"},{default:g((()=>[y(" 保存 ")])),_:1},8,["onClick","disabled"])):m("v-if",!0),S(e.$slots,"extendBtn")])):m("v-if",!0)],64))],64))],64))],2))}});export{z as default};
|
@@ -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 d,createCommentVNode as o,withDirectives as r,createElementVNode as c,normalizeClass as b,createVNode as u,withCtx as p,Fragment as f,renderList as h,createBlock as y,createTextVNode as v,toDisplayString as m,vShow as g,nextTick as C}from"vue";import{useMessage as L,NAnchor as I,NAnchorLink as S}from"naive-ui";import E from"./components/label-classify.vue.js";import{handleLabelColor as w}from"../../../shared/utils/vexutils.js";import x from"../../../shared/utils/vexutilsExpand.js";const A={key:0,class:"label-disable-wrap"},O=[c("p",{class:"label-disable-title"},"无可选标签",-1),c("p",{class:"label-disable-desc"},"请联系管理员进行标签管理设置",-1)],K={style:{height:"100%"}},j={class:"label-wrap"},k=["id"],T={class:"edit-label-type"};var B=t({__name:"LabelFormContent",props:{item:{default:()=>({})},isEdit:{type:Boolean,default:!0},isLock:{type:Boolean,default:!1},labelSelectedList:null,isChangeWindow:{type:Boolean},getLabelList:{type:Function,default:()=>Promise.resolve({rows:[]})},deleteLabel:{type:Function,default:()=>Promise.resolve({status:!0})},saveLabelItem:{type:Function,default:()=>Promise.resolve({status:!0})},labelOptions:null,sourceType:{default:""},explicit:{type:Boolean,default:!1}},emits:["explicitOnChange","change","updateLabelData"],setup(t,{expose:B,emit:D}){const V=t,F=L(),P=e(null),_=l({editLabelItem:{},inited:!1,labelSelectedEdit:[],labelAnchorKey:"",cacheAnchorKey:"",labelConfig:{}});let N=e(0);const W=a((()=>{if(!_.inited)return!1;let t=_.labelConfig;return!t||Object.keys(t).every((e=>!t[e].itemList))})),$=a((()=>{let t=[].concat(..._.labelSelectedEdit,...V.labelSelectedList);return J(t,"labelId")})),q=a((()=>{const t=$.value||[];return Array.isArray(t)?t.map((t=>t.labelId)):[]})),J=(t,e)=>{let l={};return t.reduce(((t,a)=>(!l[a[e]]&&(l[a[e]]=t.push(a)),t)),[])},R=()=>{if(_.labelSelectedEdit=$.value,"object"==typeof _.labelConfig){Object.keys(_.labelConfig||{}).forEach((t=>{var e;let l=(null==(e=_.labelConfig[t])?void 0:e.itemList)||[];l.length&&l.forEach((t=>{q.value.includes(t.labelId)&&(t.isSelect=!0)}))}))}},z=(t,e)=>{if(!t)return;let l=Object.keys(t)||[];if(!l.length)return;let a=t[l[0]].curKey;if(e&&"string"==typeof e){let[i]=e.split("~"),n=l.find((e=>t[e]&&t[e].curKey&&t[e].curKey.includes(i)));n&&(a=t[n].curKey)}a&&Y(a)},G=(t,e)=>{e.showAdd=!0;const l=t.target.nextElementSibling;C((()=>{var t;null==(t=null==l?void 0:l.firstChild)||t.focus()}))},H=(t,e)=>{setTimeout((()=>{e.addVal?Q(e):e.showAdd=!1}),150)},M=(t,e)=>{e.addVal="",e.showAdd=!1},Q=async t=>{var e;if(!!t.itemList.filter((t=>!(t.isPublic&&1==t.isPublic))).find((e=>e.labelName===t.addVal)))return F.error("标签名称重复!"),!1;let l="";l=(null==(e=t.itemList)?void 0:e.length)?t.itemList[0].parentColor||t.parentColor||"":(null==t?void 0:t.parentColor)||"";const a={type:t.typeId,name:t.addVal,parentColor:l},{status:i}=await V.saveLabelItem(a,t);i&&(F.success("添加成功!"),D("updateLabelData"),t.showAdd=!1)},U=(t,e,l,a)=>{var i;const n=l.itemList,s=l.multipleChoice;let d=(null==(i=_.labelSelectedEdit)?void 0:i.length)&&x.clone(_.labelSelectedEdit,!0)||[];if(t){if(d.some((t=>t.labelId==e.labelId)))return;if(2==s){const{typeId:t,labelId:l}=e;d=d.filter((e=>e.typeId!==t)),n.forEach((t=>{t.labelId!==l&&(t.isSelect=!1)}))}d.push(e)}else{const t=d.findIndex((t=>t.labelId==e.labelId));-1!=t&&d.splice(t,1)}_.labelSelectedEdit=[...d],N.value++,V.explicit&&D("explicitOnChange",[..._.labelSelectedEdit])},X=async t=>{const{status:e}=await V.deleteLabel(t,V.item);if(e){F.success("删除成功!");for(const e in _.labelConfig){const l=_.labelConfig[e].itemList.findIndex((e=>e.labelId==t.labelId));-1!=l&&_.labelConfig[e].itemList.splice(l,1)}const e=_.labelSelectedEdit||[],l=V.labelSelectedList||[];if(e&&e.length){const l=e.findIndex((e=>e.labelId==t.labelId));-1!=l&&e.splice(l,1)}if(l&&l.length){const e=l.findIndex((e=>e.labelId==t.labelId));-1!=e&&l.splice(e,1),D("change",[...l],V.item)}D("updateLabelData")}else F.warning("删除失败")},Y=t=>{t&&setTimeout((()=>{let e,l="#"+t;e=P.value.querySelector("a[href='"+l+"']"),e&&e.click(),_.labelAnchorKey=t}),32)},Z=t=>{t.preventDefault()},tt=t=>{if(!t)return;let e=t.slice(1);_.cacheAnchorKey=e},et=()=>{var t;return null==(t=P.value)?void 0:t.querySelector(".right-label-wrap")};return i((()=>V.labelOptions),(t=>{t&&(()=>{var t;if(V.isLock)return;const e=JSON.parse(JSON.stringify(V.labelOptions));for(let l in e){let a=(null==(t=e[l])?void 0:t.typeId)||"";Object.assign(e[l],{curKey:`${l}_${a}}`})}_.labelConfig=e,C((()=>{let t;R(),V.explicit&&_.inited&&(t=_.labelAnchorKey),z(_.labelConfig,t),_.inited=!0}))})()}),{immediate:!0,deep:!0}),B({resetShowAdd:()=>{let{labelObj:t}=_.editLabelItem;if(t&&Object.keys(t).length)for(let e in t){let l=t[e];Object.assign(l,{showAdd:!1})}},handleLabelForm:t=>{t([..._.labelSelectedEdit||[]])},handleResetOptions:()=>{},hanldeSetLabelItem:(t,e)=>{if("object"==typeof _.labelConfig){Object.keys(_.labelConfig||{}).forEach((l=>{var a;let i=(null==(a=_.labelConfig[l])?void 0:a.itemList)||[];i.length&&i.forEach((l=>{t==l.labelId&&(l.isSelect=e)}))}))}if(!1===e&&Array.isArray(_.labelSelectedEdit)){const e=_.labelSelectedEdit.findIndex((e=>e.labelId==t));-1!=e&&_.labelSelectedEdit.splice(e,1)}}}),(e,l)=>(n(),s("div",{class:"c-label-form-content",ref_key:"labelFormContent",ref:P},[d(W)?(n(),s("div",A,O)):o("v-if",!0),r(c("div",K,[c("div",j,[o(" 表单内嵌打开标签组件的样式 "),o(' <div v-if="explicit" class="explicit-continer">\n\t\t\t\t\t<n-tabs :value="state.labelAnchorKey" type="card" @change="labelAnchorTabsOnChange" tab-position="top">\n\t\t\t\t\t\t<template v-for="(v, i) in state.labelConfig">\n\t\t\t\t\t\t\t<n-tab-pane :name="v.curKey">\n\t\t\t\t\t\t\t\t<span slot="tab">\n\t\t\t\t\t\t\t\t\t{{ i }}\n\t\t\t\t\t\t\t\t\t<span class="edit-label-type">({{ v.multipleChoice == 2 ? \'单\' : \'多\' }}选)</span>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t<div class="explicit-label-wrap left-label-wrap">\n\t\t\t\t\t\t\t\t\t<div class="edit-label-content">\n\t\t\t\t\t\t\t\t\t\t<labelClassify\n\t\t\t\t\t\t\t\t\t\t\t:classifyItem="v"\n\t\t\t\t\t\t\t\t\t\t\t:handleLabelChange="handleLabelChange"\n\t\t\t\t\t\t\t\t\t\t\t:handleLabelColor="handleLabelColor"\n\t\t\t\t\t\t\t\t\t\t\t:handleDelLabel="handleDelLabel"\n\t\t\t\t\t\t\t\t\t\t\t:hanldeBlur="hanldeBlur"\n\t\t\t\t\t\t\t\t\t\t\t:handleAddLabel="handleAddLabel"\n\t\t\t\t\t\t\t\t\t\t\t:clearaddVal="clearaddVal"\n\t\t\t\t\t\t\t\t\t\t\t:isEdit="isEdit"\n\t\t\t\t\t\t\t\t\t\t\t:sourceType="sourceType"\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</n-tab-pane>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</n-tabs>\n\t\t\t\t</div> '),o("\n\t\t\t\t\t普通标签样式\n\t\t\t\t\tv-else\n\t\t\t\t\texplicit\n\t\t\t\t "),c("div",{class:b(["left-label-wrap",{"total-left-label-wrap":t.isChangeWindow}])},[u(d(I),{"offset-target":et,type:"block",onClick:Z,onChange:tt},{default:p((()=>[(n(!0),s(f,null,h(_.labelConfig,((t,e)=>(n(),y(d(S),{href:`#${t.curKey}`,title:String(e)},null,8,["href","title"])))),256))])),_:1})],2),o(' v-if="!explicit" '),c("div",{class:b(["right-label-wrap",{"total-right-label-wrap":t.isChangeWindow}])},[(n(!0),s(f,null,h(_.labelConfig,((e,l)=>(n(),s("div",{key:l,class:"edit-label-content"},[c("div",{class:"edit-label",id:e.curKey},[v(m(l)+" ",1),c("span",T,"("+m(2==e.multipleChoice?"单":"多")+"选)",1)],8,k),u(E,{classifyItem:e,handleLabelChange:U,handleLabelColor:d(w),handleDelLabel:X,hanldeBlur:H,handleAddLabel:G,clearaddVal:M,isEdit:t.isEdit,sourceType:t.sourceType},null,8,["classifyItem","handleLabelColor","isEdit","sourceType"])])))),128))],2)])],512),[[g,!d(W)]])],512))}});export{B as default};
|
@@ -84,6 +84,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
84
84
|
allowedInvalidValue: {
|
85
85
|
type: StringConstructor;
|
86
86
|
};
|
87
|
+
to: {
|
88
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
89
|
+
default: string;
|
90
|
+
};
|
87
91
|
}, {
|
88
92
|
attrs: {
|
89
93
|
[x: string]: unknown;
|
@@ -104,6 +108,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
104
108
|
allowedInvalidValue: {
|
105
109
|
type: StringConstructor;
|
106
110
|
};
|
111
|
+
to: {
|
112
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
113
|
+
default: string;
|
114
|
+
};
|
107
115
|
}>> & {
|
108
116
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
109
117
|
}>>;
|
@@ -140,10 +148,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
140
148
|
allowedInvalidValue: {
|
141
149
|
type: StringConstructor;
|
142
150
|
};
|
151
|
+
to: {
|
152
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
153
|
+
default: string;
|
154
|
+
};
|
143
155
|
}>> & {
|
144
156
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
145
157
|
}, {
|
146
158
|
updateUnchangedValue: boolean;
|
159
|
+
to: string | false | HTMLElement;
|
147
160
|
}>>;
|
148
161
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
149
162
|
componentCfg: {
|
@@ -47,6 +47,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
47
47
|
allowedInvalidValue: {
|
48
48
|
type: StringConstructor;
|
49
49
|
};
|
50
|
+
to: {
|
51
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
52
|
+
default: string;
|
53
|
+
};
|
50
54
|
}, {
|
51
55
|
attrs: {
|
52
56
|
[x: string]: unknown;
|
@@ -67,6 +71,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
67
71
|
allowedInvalidValue: {
|
68
72
|
type: StringConstructor;
|
69
73
|
};
|
74
|
+
to: {
|
75
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
76
|
+
default: string;
|
77
|
+
};
|
70
78
|
}>> & {
|
71
79
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
72
80
|
}>>;
|
@@ -103,10 +111,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
103
111
|
allowedInvalidValue: {
|
104
112
|
type: StringConstructor;
|
105
113
|
};
|
114
|
+
to: {
|
115
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
116
|
+
default: string;
|
117
|
+
};
|
106
118
|
}>> & {
|
107
119
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
108
120
|
}, {
|
109
121
|
updateUnchangedValue: boolean;
|
122
|
+
to: string | false | HTMLElement;
|
110
123
|
}>>;
|
111
124
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
112
125
|
componentCfg: {
|
@@ -47,6 +47,10 @@ declare const Date: import("vue").DefineComponent<{
|
|
47
47
|
allowedInvalidValue: {
|
48
48
|
type: StringConstructor;
|
49
49
|
};
|
50
|
+
to: {
|
51
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
52
|
+
default: string;
|
53
|
+
};
|
50
54
|
}, {
|
51
55
|
attrs: {
|
52
56
|
[x: string]: unknown;
|
@@ -67,6 +71,10 @@ declare const Date: import("vue").DefineComponent<{
|
|
67
71
|
allowedInvalidValue: {
|
68
72
|
type: StringConstructor;
|
69
73
|
};
|
74
|
+
to: {
|
75
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
76
|
+
default: string;
|
77
|
+
};
|
70
78
|
}>> & {
|
71
79
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
72
80
|
}>>;
|
@@ -103,10 +111,15 @@ declare const Date: import("vue").DefineComponent<{
|
|
103
111
|
allowedInvalidValue: {
|
104
112
|
type: StringConstructor;
|
105
113
|
};
|
114
|
+
to: {
|
115
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
116
|
+
default: string;
|
117
|
+
};
|
106
118
|
}>> & {
|
107
119
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
108
120
|
}, {
|
109
121
|
updateUnchangedValue: boolean;
|
122
|
+
to: string | false | HTMLElement;
|
110
123
|
}>>;
|
111
124
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
112
125
|
componentCfg: {
|
@@ -202,6 +202,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
202
202
|
allowedInvalidValue: {
|
203
203
|
type: StringConstructor;
|
204
204
|
};
|
205
|
+
to: {
|
206
|
+
type: PropType<string | false | HTMLElement>;
|
207
|
+
default: string;
|
208
|
+
};
|
205
209
|
}, {
|
206
210
|
attrs: {
|
207
211
|
[x: string]: unknown;
|
@@ -222,6 +226,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
222
226
|
allowedInvalidValue: {
|
223
227
|
type: StringConstructor;
|
224
228
|
};
|
229
|
+
to: {
|
230
|
+
type: PropType<string | false | HTMLElement>;
|
231
|
+
default: string;
|
232
|
+
};
|
225
233
|
}>> & {
|
226
234
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
227
235
|
}>>;
|
@@ -258,10 +266,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
258
266
|
allowedInvalidValue: {
|
259
267
|
type: StringConstructor;
|
260
268
|
};
|
269
|
+
to: {
|
270
|
+
type: PropType<string | false | HTMLElement>;
|
271
|
+
default: string;
|
272
|
+
};
|
261
273
|
}>> & {
|
262
274
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
263
275
|
}, {
|
264
276
|
updateUnchangedValue: boolean;
|
277
|
+
to: string | false | HTMLElement;
|
265
278
|
}>>;
|
266
279
|
}, 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
280
|
componentCfg: {
|
@@ -111,6 +111,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
111
111
|
allowedInvalidValue: {
|
112
112
|
type: StringConstructor;
|
113
113
|
};
|
114
|
+
to: {
|
115
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
116
|
+
default: string;
|
117
|
+
};
|
114
118
|
}, {
|
115
119
|
attrs: {
|
116
120
|
[x: string]: unknown;
|
@@ -131,6 +135,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
131
135
|
allowedInvalidValue: {
|
132
136
|
type: StringConstructor;
|
133
137
|
};
|
138
|
+
to: {
|
139
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
140
|
+
default: string;
|
141
|
+
};
|
134
142
|
}>> & {
|
135
143
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
136
144
|
}>>;
|
@@ -167,10 +175,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
167
175
|
allowedInvalidValue: {
|
168
176
|
type: StringConstructor;
|
169
177
|
};
|
178
|
+
to: {
|
179
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
180
|
+
default: string;
|
181
|
+
};
|
170
182
|
}>> & {
|
171
183
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
172
184
|
}, {
|
173
185
|
updateUnchangedValue: boolean;
|
186
|
+
to: string | false | HTMLElement;
|
174
187
|
}>>;
|
175
188
|
NSelect: any;
|
176
189
|
WidgetValEnums: {
|
@@ -383,7 +396,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
383
396
|
default: null;
|
384
397
|
};
|
385
398
|
modelValue: {
|
386
|
-
type: (
|
399
|
+
type: import("vue").PropType<import("../../../../../shared/types").AnyObject[]>;
|
387
400
|
default: null;
|
388
401
|
};
|
389
402
|
}, {
|
@@ -394,7 +407,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
394
407
|
default: null;
|
395
408
|
};
|
396
409
|
modelValue: {
|
397
|
-
type: (
|
410
|
+
type: import("vue").PropType<import("../../../../../shared/types").AnyObject[]>;
|
398
411
|
default: null;
|
399
412
|
};
|
400
413
|
}>> & {
|
@@ -402,6 +415,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
402
415
|
}>>;
|
403
416
|
getDynamicSelectData: (params: any, filterApiConfig: any) => Promise<any>;
|
404
417
|
emit: (event: "update:modelValue", ...args: any[]) => void;
|
418
|
+
selectDynamicRef: any;
|
405
419
|
isLoading: import("vue").Ref<boolean>;
|
406
420
|
filterApiConfig: import("../../../../../shared/types").AnyObject;
|
407
421
|
classifyFilterList: import("vue").Ref<import("../../../../../shared/types").AnyObject[]>;
|
@@ -417,7 +431,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
417
431
|
isMultiple: import("vue").ComputedRef<boolean>;
|
418
432
|
dynamicOptionInfos: import("vue").ComputedRef<any>;
|
419
433
|
isLastPage: import("vue").ComputedRef<boolean>;
|
420
|
-
|
434
|
+
originList: import("vue").ComputedRef<any[]>;
|
435
|
+
valueCp: import("vue").ComputedRef<string | any[]>;
|
421
436
|
isInitRequest: import("vue").ComputedRef<boolean>;
|
422
437
|
setOptionActive: (selectIds: string[]) => void;
|
423
438
|
handleUpdateSelect: (value: string[] | null) => void;
|
@@ -433,8 +448,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
433
448
|
[key: string]: any;
|
434
449
|
}>;
|
435
450
|
init: () => void;
|
451
|
+
saveDynamicBaseList: (selectValue: any[] | null) => void;
|
436
452
|
NSelect: any;
|
437
453
|
SelectDynamicOption: import("vue").DefineComponent<{
|
454
|
+
oldValue: {
|
455
|
+
type: import("vue").PropType<import("../../../../../shared/types").AnyObject[]>;
|
456
|
+
default: () => never[];
|
457
|
+
};
|
438
458
|
dynamicOptionInfo: {
|
439
459
|
type: import("vue").PropType<import("../../../../../shared/types").AnyObject>;
|
440
460
|
default: () => {};
|
@@ -470,6 +490,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
470
490
|
}, {
|
471
491
|
selectMinWidth: number;
|
472
492
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
493
|
+
oldValue: {
|
494
|
+
type: import("vue").PropType<import("../../../../../shared/types").AnyObject[]>;
|
495
|
+
default: () => never[];
|
496
|
+
};
|
473
497
|
dynamicOptionInfo: {
|
474
498
|
type: import("vue").PropType<import("../../../../../shared/types").AnyObject>;
|
475
499
|
default: () => {};
|
@@ -558,6 +582,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
558
582
|
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<{}>>, {}>;
|
559
583
|
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<{}>>, {}>;
|
560
584
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("updateSelect" | "updatePage")[], "updateSelect" | "updatePage", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
585
|
+
oldValue: {
|
586
|
+
type: import("vue").PropType<import("../../../../../shared/types").AnyObject[]>;
|
587
|
+
default: () => never[];
|
588
|
+
};
|
561
589
|
dynamicOptionInfo: {
|
562
590
|
type: import("vue").PropType<import("../../../../../shared/types").AnyObject>;
|
563
591
|
default: () => {};
|
@@ -596,6 +624,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
596
624
|
}, {
|
597
625
|
isMultiple: boolean;
|
598
626
|
loading: boolean;
|
627
|
+
oldValue: import("../../../../../shared/types").AnyObject[];
|
599
628
|
dynamicOptionInfo: import("../../../../../shared/types").AnyObject;
|
600
629
|
fieldTitleList: import("../../../../../shared/types").AnyObject[];
|
601
630
|
optionList: import("../../../../../shared/types").AnyObject[];
|
@@ -609,13 +638,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
609
638
|
default: null;
|
610
639
|
};
|
611
640
|
modelValue: {
|
612
|
-
type: (
|
641
|
+
type: import("vue").PropType<import("../../../../../shared/types").AnyObject[]>;
|
613
642
|
default: null;
|
614
643
|
};
|
615
644
|
}>> & {
|
616
645
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
617
646
|
}, {
|
618
|
-
modelValue:
|
647
|
+
modelValue: import("../../../../../shared/types").AnyObject[];
|
619
648
|
paramCfg: Record<string, any>;
|
620
649
|
}>;
|
621
650
|
InputNumberGroup: import("vue").DefineComponent<{
|
@@ -744,6 +773,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
744
773
|
allowedInvalidValue: {
|
745
774
|
type: StringConstructor;
|
746
775
|
};
|
776
|
+
to: {
|
777
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
778
|
+
default: string;
|
779
|
+
};
|
747
780
|
}, {
|
748
781
|
attrs: {
|
749
782
|
[x: string]: unknown;
|
@@ -764,6 +797,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
764
797
|
allowedInvalidValue: {
|
765
798
|
type: StringConstructor;
|
766
799
|
};
|
800
|
+
to: {
|
801
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
802
|
+
default: string;
|
803
|
+
};
|
767
804
|
}>> & {
|
768
805
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
769
806
|
}>>;
|
@@ -800,10 +837,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
800
837
|
allowedInvalidValue: {
|
801
838
|
type: StringConstructor;
|
802
839
|
};
|
840
|
+
to: {
|
841
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
842
|
+
default: string;
|
843
|
+
};
|
803
844
|
}>> & {
|
804
845
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
805
846
|
}, {
|
806
847
|
updateUnchangedValue: boolean;
|
848
|
+
to: string | false | HTMLElement;
|
807
849
|
}>>;
|
808
850
|
WidgetValEnums: {
|
809
851
|
CUSTOM: string;
|
@@ -68,6 +68,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
68
68
|
allowedInvalidValue: {
|
69
69
|
type: StringConstructor;
|
70
70
|
};
|
71
|
+
to: {
|
72
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
73
|
+
default: string;
|
74
|
+
};
|
71
75
|
}, {
|
72
76
|
attrs: {
|
73
77
|
[x: string]: unknown;
|
@@ -88,6 +92,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
88
92
|
allowedInvalidValue: {
|
89
93
|
type: StringConstructor;
|
90
94
|
};
|
95
|
+
to: {
|
96
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
97
|
+
default: string;
|
98
|
+
};
|
91
99
|
}>> & {
|
92
100
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
93
101
|
}>>;
|
@@ -124,10 +132,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
124
132
|
allowedInvalidValue: {
|
125
133
|
type: StringConstructor;
|
126
134
|
};
|
135
|
+
to: {
|
136
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
137
|
+
default: string;
|
138
|
+
};
|
127
139
|
}>> & {
|
128
140
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
129
141
|
}, {
|
130
142
|
updateUnchangedValue: boolean;
|
143
|
+
to: string | false | HTMLElement;
|
131
144
|
}>>;
|
132
145
|
NSelect: any;
|
133
146
|
WidgetValEnums: {
|
package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts
CHANGED
@@ -82,6 +82,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
82
82
|
allowedInvalidValue: {
|
83
83
|
type: StringConstructor;
|
84
84
|
};
|
85
|
+
to: {
|
86
|
+
type: PropType<string | false | HTMLElement>;
|
87
|
+
default: string;
|
88
|
+
};
|
85
89
|
}, {
|
86
90
|
attrs: {
|
87
91
|
[x: string]: unknown;
|
@@ -102,6 +106,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
102
106
|
allowedInvalidValue: {
|
103
107
|
type: StringConstructor;
|
104
108
|
};
|
109
|
+
to: {
|
110
|
+
type: PropType<string | false | HTMLElement>;
|
111
|
+
default: string;
|
112
|
+
};
|
105
113
|
}>> & {
|
106
114
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
107
115
|
}>>;
|
@@ -138,10 +146,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
138
146
|
allowedInvalidValue: {
|
139
147
|
type: StringConstructor;
|
140
148
|
};
|
149
|
+
to: {
|
150
|
+
type: PropType<string | false | HTMLElement>;
|
151
|
+
default: string;
|
152
|
+
};
|
141
153
|
}>> & {
|
142
154
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
143
155
|
}, {
|
144
156
|
updateUnchangedValue: boolean;
|
157
|
+
to: string | false | HTMLElement;
|
145
158
|
}>>;
|
146
159
|
WidgetValEnums: {
|
147
160
|
CUSTOM: string;
|
package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue.d.ts
CHANGED
@@ -1,10 +1,12 @@
|
|
1
|
+
import { PropType } from 'vue';
|
2
|
+
import { AnyObject } from '../../../../../../shared/types';
|
1
3
|
declare const _default: import("vue").DefineComponent<{
|
2
4
|
paramCfg: {
|
3
5
|
type: ObjectConstructor;
|
4
6
|
default: null;
|
5
7
|
};
|
6
8
|
modelValue: {
|
7
|
-
type:
|
9
|
+
type: PropType<AnyObject[]>;
|
8
10
|
default: null;
|
9
11
|
};
|
10
12
|
}, {
|
@@ -15,7 +17,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
15
17
|
default: null;
|
16
18
|
};
|
17
19
|
modelValue: {
|
18
|
-
type:
|
20
|
+
type: PropType<AnyObject[]>;
|
19
21
|
default: null;
|
20
22
|
};
|
21
23
|
}>> & {
|
@@ -23,9 +25,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
23
25
|
}>>;
|
24
26
|
getDynamicSelectData: (params: any, filterApiConfig: any) => Promise<any>;
|
25
27
|
emit: (event: "update:modelValue", ...args: any[]) => void;
|
28
|
+
selectDynamicRef: any;
|
26
29
|
isLoading: import("vue").Ref<boolean>;
|
27
|
-
filterApiConfig:
|
28
|
-
classifyFilterList: import("vue").Ref<
|
30
|
+
filterApiConfig: AnyObject;
|
31
|
+
classifyFilterList: import("vue").Ref<AnyObject[]>;
|
29
32
|
totalPage: import("vue").Ref<number>;
|
30
33
|
menuProps: {
|
31
34
|
class: string;
|
@@ -38,7 +41,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
38
41
|
isMultiple: import("vue").ComputedRef<boolean>;
|
39
42
|
dynamicOptionInfos: import("vue").ComputedRef<any>;
|
40
43
|
isLastPage: import("vue").ComputedRef<boolean>;
|
41
|
-
|
44
|
+
originList: import("vue").ComputedRef<any[]>;
|
45
|
+
valueCp: import("vue").ComputedRef<string | any[]>;
|
42
46
|
isInitRequest: import("vue").ComputedRef<boolean>;
|
43
47
|
setOptionActive: (selectIds: string[]) => void;
|
44
48
|
handleUpdateSelect: (value: string[] | null) => void;
|
@@ -54,18 +58,23 @@ declare const _default: import("vue").DefineComponent<{
|
|
54
58
|
[key: string]: any;
|
55
59
|
}>;
|
56
60
|
init: () => void;
|
61
|
+
saveDynamicBaseList: (selectValue: any[] | null) => void;
|
57
62
|
NSelect: any;
|
58
63
|
SelectDynamicOption: import("vue").DefineComponent<{
|
64
|
+
oldValue: {
|
65
|
+
type: PropType<AnyObject[]>;
|
66
|
+
default: () => never[];
|
67
|
+
};
|
59
68
|
dynamicOptionInfo: {
|
60
|
-
type:
|
69
|
+
type: PropType<AnyObject>;
|
61
70
|
default: () => {};
|
62
71
|
};
|
63
72
|
fieldTitleList: {
|
64
|
-
type:
|
73
|
+
type: PropType<AnyObject[]>;
|
65
74
|
default: () => never[];
|
66
75
|
};
|
67
76
|
optionList: {
|
68
|
-
type:
|
77
|
+
type: PropType<AnyObject[]>;
|
69
78
|
default: () => never[];
|
70
79
|
};
|
71
80
|
isMultiple: {
|
@@ -91,16 +100,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
91
100
|
}, {
|
92
101
|
selectMinWidth: number;
|
93
102
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
103
|
+
oldValue: {
|
104
|
+
type: PropType<AnyObject[]>;
|
105
|
+
default: () => never[];
|
106
|
+
};
|
94
107
|
dynamicOptionInfo: {
|
95
|
-
type:
|
108
|
+
type: PropType<AnyObject>;
|
96
109
|
default: () => {};
|
97
110
|
};
|
98
111
|
fieldTitleList: {
|
99
|
-
type:
|
112
|
+
type: PropType<AnyObject[]>;
|
100
113
|
default: () => never[];
|
101
114
|
};
|
102
115
|
optionList: {
|
103
|
-
type:
|
116
|
+
type: PropType<AnyObject[]>;
|
104
117
|
default: () => never[];
|
105
118
|
};
|
106
119
|
isMultiple: {
|
@@ -179,16 +192,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
179
192
|
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<{}>>, {}>;
|
180
193
|
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<{}>>, {}>;
|
181
194
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("updateSelect" | "updatePage")[], "updateSelect" | "updatePage", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
195
|
+
oldValue: {
|
196
|
+
type: PropType<AnyObject[]>;
|
197
|
+
default: () => never[];
|
198
|
+
};
|
182
199
|
dynamicOptionInfo: {
|
183
|
-
type:
|
200
|
+
type: PropType<AnyObject>;
|
184
201
|
default: () => {};
|
185
202
|
};
|
186
203
|
fieldTitleList: {
|
187
|
-
type:
|
204
|
+
type: PropType<AnyObject[]>;
|
188
205
|
default: () => never[];
|
189
206
|
};
|
190
207
|
optionList: {
|
191
|
-
type:
|
208
|
+
type: PropType<AnyObject[]>;
|
192
209
|
default: () => never[];
|
193
210
|
};
|
194
211
|
isMultiple: {
|
@@ -217,9 +234,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
217
234
|
}, {
|
218
235
|
isMultiple: boolean;
|
219
236
|
loading: boolean;
|
220
|
-
|
221
|
-
|
222
|
-
|
237
|
+
oldValue: AnyObject[];
|
238
|
+
dynamicOptionInfo: AnyObject;
|
239
|
+
fieldTitleList: AnyObject[];
|
240
|
+
optionList: AnyObject[];
|
223
241
|
curPage: number;
|
224
242
|
isLastPage: boolean;
|
225
243
|
isShowWhole: boolean;
|
@@ -230,13 +248,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
230
248
|
default: null;
|
231
249
|
};
|
232
250
|
modelValue: {
|
233
|
-
type:
|
251
|
+
type: PropType<AnyObject[]>;
|
234
252
|
default: null;
|
235
253
|
};
|
236
254
|
}>> & {
|
237
255
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
238
256
|
}, {
|
239
|
-
modelValue:
|
257
|
+
modelValue: AnyObject[];
|
240
258
|
paramCfg: Record<string, any>;
|
241
259
|
}>;
|
242
260
|
export default _default;
|