cnhis-design-vue 3.2.15-beta.9 → 3.2.15-release.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/ai-chat/index.d.ts +9 -0
- package/es/components/ai-chat/src/Index.vue.d.ts +9 -0
- package/es/components/ai-chat/src/Index.vue2.js +1 -1
- package/es/components/ai-chat/src/components/ChatCard.js +1 -1
- package/es/components/ai-chat/style/index.css +1 -1
- package/es/components/branch-notice/index.d.ts +32 -3
- package/es/components/branch-notice/src/BranchNotice.vue.d.ts +9 -3
- package/es/components/branch-notice/src/BranchNotice.vue2.js +1 -1
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +1 -1
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +1 -1
- package/es/components/card-reader-sdk/src/cardReaderSDK.js +1 -1
- package/es/components/classification/index.d.ts +30 -0
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +30 -0
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +30 -0
- package/es/components/classification/src/index.vue.d.ts +30 -0
- package/es/components/date-picker/index.d.ts +10 -0
- package/es/components/date-picker/src/DatePicker.vue.d.ts +10 -0
- package/es/components/date-picker/src/DatePicker.vue2.js +1 -1
- package/es/components/expand-field/index.d.ts +1 -1
- package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +1 -1
- package/es/components/expand-field/src/components/PersonModal.vue.d.ts +1 -1
- package/es/components/expand-field/src/components/form.vue.d.ts +1 -1
- package/es/components/expand-field/src/index.vue.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.d.ts +1 -0
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/useCommon.d.ts +1 -2
- package/es/components/fabric-chart/src/hooks/useDraw.js +1 -1
- package/es/components/field-set/src/FieldColor.vue.d.ts +21 -1
- package/es/components/field-set/src/FieldFilter.vue.d.ts +3 -2
- package/es/components/field-set/src/FieldFilter.vue2.js +1 -1
- package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
- package/es/components/field-set/src/components/condition.vue.d.ts +10 -0
- package/es/components/field-set/src/components/edit-dialog.vue.d.ts +20 -0
- package/es/components/field-set/src/components/edit-filter.vue.d.ts +10 -0
- package/es/components/field-set/src/components/table-row.vue.d.ts +1 -1
- package/es/components/field-set/src/components/table-row.vue2.js +1 -1
- package/es/components/field-set/src/utils/index.js +1 -1
- package/es/components/form-config/index.d.ts +1021 -1
- package/es/components/form-config/src/FormConfig.vue.d.ts +1021 -1
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +0 -1
- package/es/components/form-config/src/components/FormConfigEdit.vue2.js +1 -1
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +1019 -0
- package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +1 -1
- package/es/components/form-config/src/constants/index.js +1 -1
- package/es/components/form-config/style/index.css +1 -1
- package/es/components/form-render/src/components/renderer/select.d.ts +6 -0
- package/es/components/form-render/src/components/renderer/select.js +1 -1
- package/es/components/form-render/src/hooks/useLowCodeReactions.js +1 -1
- package/es/components/iho-chat/index.d.ts +296 -79
- package/es/components/iho-chat/src/Index.vue.d.ts +296 -79
- package/es/components/iho-chat/src/Index.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +33 -9
- package/es/components/iho-chat/src/components/ChatAdd.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +33 -10
- package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +33 -10
- package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +109 -33
- package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +33 -11
- package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +10 -1
- package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +0 -1
- package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +33 -11
- package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +34 -10
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +1 -1
- package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +0 -1
- package/es/components/iho-chat/src/components/SiderList.vue.d.ts +11 -1
- package/es/components/iho-chat/src/components/SiderList.vue2.js +1 -1
- package/es/components/iho-chat/src/components/Video.vue.d.ts +1 -1
- package/es/components/iho-chat/src/components/Video.vue2.js +1 -1
- package/es/components/iho-chat/src/hooks/useData.d.ts +4 -2
- package/es/components/iho-chat/src/hooks/useData.js +1 -1
- package/es/components/iho-chat/src/hooks/useVideo.d.ts +1 -1
- package/es/components/iho-chat/src/hooks/useVideo.js +1 -1
- package/es/components/iho-chat/src/types/index.d.ts +13 -2
- package/es/components/iho-chat/style/iconfont.ttf +0 -0
- package/es/components/iho-chat/style/index.css +1 -1
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +10 -0
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +10 -0
- package/es/components/iho-table/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/select-person/index.d.ts +1 -1
- package/es/components/select-person/src/SelectPerson.vue.d.ts +1 -1
- package/es/components/select-person/src/SelectPerson.vue2.js +1 -1
- package/es/components/select-person/src/index.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +10 -0
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +10 -0
- package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +10 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +10 -0
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +20 -0
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +10 -0
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +10 -0
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +20 -0
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +20 -0
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +10 -0
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +10 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +10 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +10 -0
- 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/index.d.ts +40 -0
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +40 -0
- package/es/shared/package.json.js +1 -1
- package/es/shared/types/business.d.ts +4 -0
- package/package.json +2 -2
@@ -783,7 +783,6 @@ declare const SelectPerson: SFCWithInstall<import("vue").DefineComponent<{
|
|
783
783
|
key: string | number;
|
784
784
|
}[]>;
|
785
785
|
isSearch: import("vue").Ref<boolean>;
|
786
|
-
tempData: import("naive-ui").TreeOption[];
|
787
786
|
allCheckedTreeKeys: import("vue").Ref<(string | number)[]>;
|
788
787
|
isRemote: import("vue").ComputedRef<boolean>;
|
789
788
|
checkStrategyResult: import("vue").ComputedRef<any>;
|
@@ -847,6 +846,7 @@ declare const SelectPerson: SFCWithInstall<import("vue").DefineComponent<{
|
|
847
846
|
notifyCheck: (keys: (string | number)[]) => void;
|
848
847
|
notifySearchClear: () => void;
|
849
848
|
getCheckWithLevel: () => any;
|
849
|
+
resetParams: () => void;
|
850
850
|
NButton: any;
|
851
851
|
NInput: any;
|
852
852
|
NInputGroup: any;
|
@@ -209,7 +209,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
209
209
|
key: IKey;
|
210
210
|
}[]>;
|
211
211
|
isSearch: import("vue").Ref<boolean>;
|
212
|
-
tempData: TreeOption[];
|
213
212
|
allCheckedTreeKeys: import("vue").Ref<IKey[]>;
|
214
213
|
isRemote: import("vue").ComputedRef<boolean>;
|
215
214
|
checkStrategyResult: import("vue").ComputedRef<any>;
|
@@ -264,6 +263,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
264
263
|
notifyCheck: (keys: IKey[]) => void;
|
265
264
|
notifySearchClear: () => void;
|
266
265
|
getCheckWithLevel: () => any;
|
266
|
+
resetParams: () => void;
|
267
267
|
NButton: any;
|
268
268
|
NInput: any;
|
269
269
|
NInputGroup: any;
|
@@ -1 +1 @@
|
|
1
|
-
import{defineComponent as e,inject as l,ref as t,computed as n,reactive as a,watch as i,openBlock as o,createBlock as u,unref as r,withCtx as c,createVNode as d,createCommentVNode as s,withKeys as v,createTextVNode as p,toDisplayString as h,createElementBlock as y,Fragment as f,renderList as k,withDirectives as m,vShow as g,mergeProps as w,createElementVNode as b,renderSlot as _}from"vue";import{NGrid as S,NGi as T,NSpace as C,NInputGroup as L,NInput as x,NIcon as j,NButton as B,NTag as F,NCheckbox as O,NEmpty as D,NTree as E}from"naive-ui";import{CloseCircleSharp as N}from"@vicons/ionicons5";import{searchFilterTree as I,getExpandedKeys as P}from"./utils/index.js";import{cloneDeep as $}from"lodash-es";import{SelectItemTypesConfig as R,SelectRoleEnumsConfig as A,SearchTypeConfig as K}from"./types/enums.js";import U from"./components/SearchMultiple.vue.js";import q from"./components/SearchOrgAndStaff.vue.js";import{InjectionSelectPersonEmits as H}from"./constants/index.js";var M,W;const G={key:0,class:"select-type-tags"},z={key:4,class:"tree-content"},J={key:0},Q={class:"c-select-person__scroll",style:{height:"342px"}};var V=e({__name:"SelectPerson",props:{defaultList:{type:Array,default:()=>[]},data:{type:Array,default:()=>[]},searchPlaceholder:{type:String,default:(null==(M=window.getLanguageByCode)?void 0:M.call(window,"10010.1.508"))||"输入关键字搜索"},searchButtonText:{type:String,default:(null==(W=window.getLanguageByCode)?void 0:W.call(window,"10010.1.36"))||"搜索"},wordbook:{type:Object,default:()=>({})},wordbookChild:{type:Object,default:()=>({})},showCount:{type:Boolean,default:!0},showClear:{type:Boolean,default:!0},multiple:{type:Boolean,default:!0},searchInner:{type:Boolean,default:!1},searchFilter:{type:Object,default:()=>({})},treeSetting:{type:Object,default:()=>({})},queryLoadChildData:{type:Function,default:void 0},queryTreeSearch:{type:Function,default:()=>Promise.resolve([])},showSelectType:{type:Boolean,default:!1},roleData:{type:Array,default:()=>[]},roleFields:{type:Object,default:()=>({label:"name",key:"id",children:"children"})},forceShowSelectAll:{type:Boolean}},setup(e,{expose:M}){var W,V,X,Y,Z,ee,le;const te=e,ne={isOpen:!1,multiple:!1,customTitles:[(null==(W=window.getLanguageByCode)?void 0:W.call(window,"10010.1.510"))||"联系人",(null==(V=window.getLanguageByCode)?void 0:V.call(window,"10010.1.511"))||"部门"],itemHeight:250},ae=[{key:"main",label:(null==(X=window.getLanguageByCode)?void 0:X.call(window,"10010.1.512"))||"选人员"},{key:"dept",label:(null==(Y=window.getLanguageByCode)?void 0:Y.call(window,"10010.1.513"))||"选科室"},{key:"role",label:(null==(Z=window.getLanguageByCode)?void 0:Z.call(window,"10010.1.514"))||"选角色"}],ie={dept:(null==(ee=window.getLanguageByCode)?void 0:ee.call(window,"10010.1.202"))||"科室",role:(null==(le=window.getLanguageByCode)?void 0:le.call(window,"10010.1.515"))||"角色"},oe=l(H),ue=t(""),re=t(!1),ce=t([]),de=t([]),se=t([]),ve=t([]),pe=t([]),he=t(!1),ye=$(function e(l){var t;for(let n=0,a=l.length;n<a;n++){const a=l[n],i=te.wordbook.children||"children";if(null==(t=a[i])?void 0:t.length){const l=Ke(a[i],[]);a.innerItemsNum=l.length,a.innerLeafs=l,a.children=e(a[i])}}return te.showSelectType?l:Ue(l,"")}(te.data)),fe=t([]),ke=n((()=>!!te.queryLoadChildData)),me=n((()=>{var e,l;return null!=(l=null==(e=null==te?void 0:te.treeSetting)?void 0:e.checkStrategy)?l:"child"})),ge=n((()=>(null==te?void 0:te.searchFilter)&&Object.keys(null==te?void 0:te.searchFilter).length>0)),we=t("main"),be=n((()=>ge.value?{...$(ne),...te.searchFilter}:$(ne))),_e=n((()=>{var e,l;return null!=(l=null==(e=null==te?void 0:te.wordbookChild)?void 0:e.user_expand_keys)?l:[]})),Se=n((()=>{if(te.showSelectType){return function(e,l){let t={};return e.reduce(((e,n)=>(!t[n[l]]&&(t[n[l]]=e.push(n)),e)),[])}([...Le.main.filter((e=>(e.itemType=R.PERSON,e[je.value]==A.STAFF))),...Le.dept.filter((e=>(e.itemType=R.DEPT,e[je.value]==A.DEPT))),...Le.role.filter((e=>(e.itemType=R.ROLE,e)))],"key")}let e=[];return ce.value.forEach((l=>{for(let t=0,n=ve.value.length;t<n;t++){const n=ve.value[t];if(n.key==l){e.push(n);break}}})),e})),Te=a({main:[],dept:[],role:[],temp:[]}),Ce=a({main:[],dept:[],role:[]}),Le=a({main:[],dept:[],role:[]}),xe=a({main:[],dept:[],role:[]}),je=n((()=>{var e;return(null==(e=te.wordbook)?void 0:e.type)||"type"})),Be=n((()=>te.wordbookChild.user_id_obj||te.wordbook.parent_id_obj||Date.now()));function Fe(){Te.main=Te.temp=ye,Ne(Te.temp,null,(e=>{xe.main.push(e.key)})),fe.value=xe.main,Te.dept=Oe($(ye),(e=>{xe.dept.push(e.key)})),Te.role=De($(te.roleData),(e=>{xe.role.push(e.key)}))}function Oe(e,l){return e.filter((e=>{var t;te.showSelectType&&(null==(t=e.children)?void 0:t.length)&&(e.children=Oe(e.children,l));const n=e[je.value]==A.DEPT;return n&&Ie(e,l),n}))}function De(e,l){const{label:t,key:n,children:a="children"}=te.roleFields;return e.map((e=>{var i;return e.key=e[n],e.label=e.title=e[t],(null==(i=e[a])?void 0:i.length)&&(e.children=De(e[a],l)),Ie(e,l),e}))}function Ee(e,l){var t,n;const a=["main","dept"].includes(l)?Be.value:null==(t=te.roleFields)?void 0:t.key;for(let t=0,i=e.length;t<i;t++){const i=e[t],o=pe.value.map((e=>e.key));Ce[l].includes(i.key)&&!o.includes(i.key)&&Le[l].push({...i,key:i[a]}),(null==(n=i.children)?void 0:n.length)&&Ee(i.children,l)}}function Ne(e,l,t){var n,a;for(let i=0,o=e.length;i<o;i++){const o=e[i];let u=_e.value.reduce(((e,l)=>e+(o[l]?`${o[l]},`:"")),"");o.title_expand_strs=u.slice(0,-1),o.title=Ae(o),o.label=Ae(o),o.parentNode=l,o.key||(o.key=o[te.wordbookChild.user_id_obj]||o[te.wordbook.parent_id_obj]||Date.now()),(null==(n=o.children)?void 0:n.length)?(Ne(o.children,o,t),$e(o)):0===(null==(a=o.children)?void 0:a.length)&&Reflect.deleteProperty(o,"children"),Ie(o,t)}}function Ie(e,l){var t,n;switch(null!=(n=null==(t=null==te?void 0:te.treeSetting)?void 0:t.checkStrategy)?n:"child"){case"child":!function(e,l){e.disabled||e.children||!e.key||l&&l(e)}(e,l);break;case"parent":!function(e,l){e.disabled||e.tempTitle||!e.key||l&&l(e)}(e,l)}}async function Pe(e){if(te.queryLoadChildData){const l=await te.queryLoadChildData(e);return l.children&&(l.children=l.children.map((e=>({...e,tempTitle:l.tempTitle?`${l.title}/${l.tempTitle}`:l.title})))),l}return e}function $e(e){var l;(null==(l=e.children)?void 0:l.every((e=>e.disabled)))&&(e.disabled=!0)}function Re({option:e}){var l,t;if((null==(l=e.children)?void 0:l.length)||ke.value&&!(null==e?void 0:e.isLeaf)){const l=te.wordbook.user_count_obj&&e[te.wordbook.user_count_obj]||"",t=l?`(${l})`:"",n=`${e.title}${t}`;return d("span",{title:n},[n])}{const l=null!=(t=e.title_expand_strs)?t:"";return d("p",{class:"user_item"},[d("span",{title:e.title},[e.title]),d("span",{class:"user_item_expand",title:l},[l])])}}function Ae(e){return e[te.wordbookChild.user_name_obj]||e[te.wordbook.parent_name_obj]||e.orgName||e.title||""}function Ke(e,l){var t;for(let n=0,a=e.length;n<a;n++){const a=e[n];(null==(t=a.children)?void 0:t.length)?Ke(a.children,l):!a.disabled&&l.push(a)}return l}function Ue(e,l){return e&&0!==e.length?e.map((e=>{var t;const n=Ae(e),a=l?`${n}/${l}`:n;return{...e,tempTitle:l,children:(null==(t=e.children)?void 0:t.length)?Ue(null==e?void 0:e.children,a):[]}})):[]}async function qe(){var e,l;const t=null!=(l=null==(e=null==te?void 0:te.wordbook)?void 0:e.filter_key)?l:"keyword";if(he.value=!!ue.value.trim(),ke.value)se.value=await te.queryTreeSearch(ue.value);else{const e=function(){const e={[K.SEARCH_ORG_STAFF]:ge.value,[K.SEARCH_ORG]:te.searchInner},l=Object.keys(e).find((l=>e[l]));return null!=l?l:""}();se.value=I(e,Te.temp,ue.value,t)}de.value=se.value.length&&ue.value?P(se.value):[]}function He(e,l){var t,n;switch(null!=(n=null==(t=null==te?void 0:te.treeSetting)?void 0:t.checkStrategy)?n:"child"){case"child":!function(e,l){for(let t=0,n=e.length;t<n;t++){const n=e[t];if(!n.disabled&&(!n.children||n.isLeaf)&&(l&&!ce.value.includes(n.key)&&ce.value.push(n.key),!l)){const e=ce.value.findIndex((e=>e===n.key));ce.value.splice(e,1)}n.children&&He(n.children,l)}}(e,l);break;case"parent":!function(e,l){ce.value=[];for(let t=0,n=e.length;t<n;t++){const n=e[t];if(!n.disabled&&!n.tempTitle&&(l&&!ce.value.includes(n.key)&&ce.value.push(n.key),!l)){const e=ce.value.findIndex((e=>e===n.key));ce.value.splice(e,1)}}}(e,l)}}function Me(e){He(se.value,e)}function We(e){var l;for(let t=0,n=e.length;t<n;t++){const n=e[t],a=pe.value.map((e=>e.key));ce.value.includes(n.key)&&!a.includes(n.key)&&ve.value.push({key:n.key,name:n.title,parentName:n.tempTitle,innerItemsNum:n.innerItemsNum,innerLeafs:n.innerLeafs,originItem:n}),(null==(l=n.children)?void 0:l.length)&&We(n.children)}}function Ge(e){if(te.showSelectType){const l=we.value;ce.value=Ce[l]=e}else ce.value=e}function ze(){Object.keys(Ce).forEach((e=>{Ce[e]=Le[e]=[]})),ce.value=[]}function Je(e){ce.value=e}function Qe(){ue.value="",setTimeout((()=>{qe()}))}return i((()=>te.data),(e=>{!function(){if(Fe(),se.value=Te.temp,te.defaultList.length>0)if(ke.value)te.defaultList.forEach((e=>ce.value.push(e.key))),ve.value=$(te.defaultList),pe.value=$(te.defaultList);else{if(te.showSelectType){const e=we.value;return te.defaultList.forEach((e=>{e.itemType===R.PERSON&&(Ce.main.push(e[Be.value]),Le.main.push(e)),e.itemType===R.DEPT&&(Ce.dept.push(e[Be.value]),Le.dept.push(e)),e.itemType===R.ROLE&&(Ce.role.push(e[te.roleFields.key]),Le.role.push(e))})),void(ce.value=Ce[e])}te.defaultList.forEach((e=>ce.value.push(e))),We(Te.temp)}}()}),{immediate:!0}),i((()=>ce),(e=>{if(te.showSelectType){const l=we.value;Le[l]=pe.value.filter((l=>e.value.includes(l.key))),Ee(Te[l],l),te.showSelectType?re.value=fe.value.every((e=>ce.value.findIndex((l=>l===e))>-1)):re.value=fe.value.every((e=>ve.value.findIndex((l=>l.key===e))>-1));const t=Se.value.map((e=>e.key));return oe("check",t),void oe("checkWithLevel",Se.value)}ve.value=pe.value.filter((l=>e.value.includes(l.key))),We(ke.value?se.value:Te.temp);const l=ve.value.filter((l=>e.value.includes(l.key)));oe("check",e.value),oe("checkWithLevel",l)}),{deep:!0}),i((()=>ue.value),(e=>{e||Qe()})),M({getCheckWithLevel:function(){var e;if(te.showSelectType)return null!=(e=Se.value)?e:[];const l=ce.value,t=ve.value.filter((e=>l.includes(e.key)));return null!=t?t:[]}}),(l,t)=>(o(),u(r(S),{cols:2,class:"c-select-person"},{default:c((()=>[d(r(T),null,{default:c((()=>[d(r(C),{vertical:"",style:{"padding-right":"12px","border-right":"1px solid #e8e8e8"}},{default:c((()=>{var l;return[d(r(L),{style:{"margin-bottom":"12px"}},{default:c((()=>[s(" clearable "),d(r(x),{class:"search-input",value:ue.value,"onUpdate:value":t[0]||(t[0]=e=>ue.value=e),placeholder:e.searchPlaceholder,onKeyup:v(qe,["enter"])},{suffix:c((()=>[ue.value?(o(),u(r(j),{key:0,class:"search-clear",component:r(N),size:"16",onClick:Qe},null,8,["component"])):s("v-if",!0)])),_:1},8,["value","placeholder","onKeyup"]),d(r(B),{type:"primary",onClick:qe},{default:c((()=>[p(h(e.searchButtonText),1)])),_:1})])),_:1}),e.showSelectType?(o(),y("div",G,[(o(),y(f,null,k(ae,(e=>d(r(F),{round:"",checkable:"",checked:we.value===e.key,key:e.key,"onUpdate:checked":l=>function(e){we.value=e.key,se.value=Te.temp=Te[e.key],ce.value=Ce[e.key],fe.value=xe[e.key]}(e)},{default:c((()=>[p(h(e.label),1)])),_:2},1032,["checked","onUpdate:checked"]))),64))])):s("v-if",!0),e.multiple&&!he.value?m((o(),u(r(O),{key:1,checked:re.value,"onUpdate:checked":[t[1]||(t[1]=e=>re.value=e),Me]},{default:c((()=>{var e;return[p((null==(e=window.getLanguageByCode)?void 0:e.call(window,"10010.1.37"))||"全选")]})),_:1},8,["checked"])),[[g,e.forceShowSelectAll||fe.value.length<1e3]]):s("v-if",!0),s(" 支持选人 "),e.searchInner&&e.multiple&&he.value&&"parent"===r(me)?(o(),u(U,{key:2,treeData:se.value,checkedKeys:ce.value,onNotifyCheck:Je},null,8,["treeData","checkedKeys"])):r(ge)&&he.value&&"parent"===r(me)?(o(),y(f,{key:3},[s(" 同时兼容选人和选部门 "),s(" v-else-if=\"isSearchFilter && multiple && isSearch && checkStrategyResult === 'parent'\" "),d(q,{treeData:se.value,checkedKeys:ce.value,searchFilter:r(be),isMultiple:e.multiple,onNotifyCheck:Je,onNotifyClear:Qe},null,8,["treeData","checkedKeys","searchFilter","isMultiple"])],2112)):(o(),y("div",z,[0===se.value.length?(o(),u(r(D),{key:0,description:(null==(l=window.getLanguageByCode)?void 0:l.call(window,"10010.1.445"))||"暂无数据"})):(o(),u(r(E),w({key:1,"virtual-scroll":"",class:"c-select-person__scroll","checked-keys":ce.value,"expanded-keys":de.value,"onUpdate:expanded-keys":t[2]||(t[2]=e=>de.value=e),checkable:e.multiple,cascade:"","allow-checking-not-loaded":"",selectable:!e.multiple,"selected-keys":ce.value,"onUpdate:selected-keys":t[3]||(t[3]=e=>ce.value=e),data:se.value,"check-strategy":"child","render-label":Re},e.treeSetting,{"onUpdate:checkedKeys":Ge,onLoad:Pe}),null,16,["checked-keys","expanded-keys","checkable","selectable","selected-keys","data"]))]))]})),_:1})])),_:1}),d(r(T),null,{default:c((()=>[d(r(C),{vertical:"",style:{"padding-left":"12px"}},{default:c((()=>[d(r(C),{justify:"space-between",style:{"margin-bottom":"20px"}},{default:c((()=>{var l;return[e.showCount?(o(),y("span",J,"已选择:"+h(r(Se).length),1)):s("v-if",!0),e.showClear?(o(),y("span",{key:1,class:"c-select-person__clear-btn",onClick:ze},(null==(l=window.getLanguageByCode)?void 0:l.call(window,"10010.1.509"))||"清空")):s("v-if",!0)]})),_:1}),b("div",Q,[(o(!0),y(f,null,k(r(Se),(t=>(o(),y("span",{class:"c-select-person__tag-item",key:t.key},[s(" 标签插槽 "),_(l.$slots,"tag",{tag:t},(()=>[p(h(t.name)+" "+h(t.parentName?`(${t.parentName})`:"")+" "+h(t.innerItemsNum?`(${t.innerItemsNum}人)`:"")+" "+h(e.showSelectType&&ie[t.itemType]?`(${ie[t.itemType]})`:""),1)])),d(r(j),{class:"tag-close",component:r(N),onClick:e=>function(e){if(te.showSelectType){const l=e.itemType===R.PERSON?"main":e.itemType;return Ce[l]=Ce[l].filter((l=>l!==e.key)),Le[l]=pe.value.filter((e=>Ce[l].includes(e.key))),Ee(Te[l],l),void(we.value==l&&(ce.value=Ce[l]))}ce.value=ce.value.filter((l=>l!==e.key))}(t)},null,8,["component","onClick"])])))),128))])])),_:3})])),_:3})])),_:3}))}});export{V as default};
|
1
|
+
import{defineComponent as e,inject as l,ref as t,computed as n,reactive as a,watch as i,openBlock as u,createBlock as o,unref as r,withCtx as c,createVNode as d,createCommentVNode as s,withKeys as v,createTextVNode as p,toDisplayString as h,createElementBlock as y,Fragment as f,renderList as k,withDirectives as m,vShow as g,mergeProps as w,createElementVNode as b,renderSlot as _}from"vue";import{NGrid as S,NGi as T,NSpace as C,NInputGroup as L,NInput as x,NIcon as j,NButton as B,NTag as F,NCheckbox as O,NEmpty as D,NTree as E}from"naive-ui";import{CloseCircleSharp as N}from"@vicons/ionicons5";import{searchFilterTree as I,getExpandedKeys as P}from"./utils/index.js";import{cloneDeep as $}from"lodash-es";import{SelectItemTypesConfig as R,SelectRoleEnumsConfig as A,SearchTypeConfig as K}from"./types/enums.js";import U from"./components/SearchMultiple.vue.js";import q from"./components/SearchOrgAndStaff.vue.js";import{InjectionSelectPersonEmits as H}from"./constants/index.js";var M,W;const G={key:0,class:"select-type-tags"},z={key:4,class:"tree-content"},J={key:0},Q={class:"c-select-person__scroll",style:{height:"342px"}};var V=e({__name:"SelectPerson",props:{defaultList:{type:Array,default:()=>[]},data:{type:Array,default:()=>[]},searchPlaceholder:{type:String,default:(null==(M=window.getLanguageByCode)?void 0:M.call(window,"10010.1.508"))||"输入关键字搜索"},searchButtonText:{type:String,default:(null==(W=window.getLanguageByCode)?void 0:W.call(window,"10010.1.36"))||"搜索"},wordbook:{type:Object,default:()=>({})},wordbookChild:{type:Object,default:()=>({})},showCount:{type:Boolean,default:!0},showClear:{type:Boolean,default:!0},multiple:{type:Boolean,default:!0},searchInner:{type:Boolean,default:!1},searchFilter:{type:Object,default:()=>({})},treeSetting:{type:Object,default:()=>({})},queryLoadChildData:{type:Function,default:void 0},queryTreeSearch:{type:Function,default:()=>Promise.resolve([])},showSelectType:{type:Boolean,default:!1},roleData:{type:Array,default:()=>[]},roleFields:{type:Object,default:()=>({label:"name",key:"id",children:"children"})},forceShowSelectAll:{type:Boolean}},setup(e,{expose:M}){var W,V,X,Y,Z,ee,le;const te=e,ne={isOpen:!1,multiple:!1,customTitles:[(null==(W=window.getLanguageByCode)?void 0:W.call(window,"10010.1.510"))||"联系人",(null==(V=window.getLanguageByCode)?void 0:V.call(window,"10010.1.511"))||"部门"],itemHeight:250},ae=[{key:"main",label:(null==(X=window.getLanguageByCode)?void 0:X.call(window,"10010.1.512"))||"选人员"},{key:"dept",label:(null==(Y=window.getLanguageByCode)?void 0:Y.call(window,"10010.1.513"))||"选科室"},{key:"role",label:(null==(Z=window.getLanguageByCode)?void 0:Z.call(window,"10010.1.514"))||"选角色"}],ie={dept:(null==(ee=window.getLanguageByCode)?void 0:ee.call(window,"10010.1.202"))||"科室",role:(null==(le=window.getLanguageByCode)?void 0:le.call(window,"10010.1.515"))||"角色"},ue=l(H),oe=t(""),re=t(!1),ce=t([]),de=t([]),se=t([]),ve=t([]),pe=t([]),he=t(!1),ye=t([]),fe=n((()=>!!te.queryLoadChildData)),ke=n((()=>{var e,l;return null!=(l=null==(e=null==te?void 0:te.treeSetting)?void 0:e.checkStrategy)?l:"child"})),me=n((()=>(null==te?void 0:te.searchFilter)&&Object.keys(null==te?void 0:te.searchFilter).length>0)),ge=t("main"),we=n((()=>me.value?{...$(ne),...te.searchFilter}:$(ne))),be=n((()=>{var e,l;return null!=(l=null==(e=null==te?void 0:te.wordbookChild)?void 0:e.user_expand_keys)?l:[]})),_e=n((()=>{if(te.showSelectType){return function(e,l){let t={};return e.reduce(((e,n)=>(!t[n[l]]&&(t[n[l]]=e.push(n)),e)),[])}([...Ce.main.filter((e=>(e.itemType=R.PERSON,e[xe.value]==A.STAFF))),...Ce.dept.filter((e=>(e.itemType=R.DEPT,e[xe.value]==A.DEPT))),...Ce.role.filter((e=>(e.itemType=R.ROLE,e)))],"key")}let e=[];return ce.value.forEach((l=>{for(let t=0,n=ve.value.length;t<n;t++){const n=ve.value[t];if(n.key==l){e.push(n);break}}})),e})),Se=a({main:[],dept:[],role:[],temp:[]}),Te=a({main:[],dept:[],role:[]}),Ce=a({main:[],dept:[],role:[]}),Le=a({main:[],dept:[],role:[]}),xe=n((()=>{var e;return(null==(e=te.wordbook)?void 0:e.type)||"type"})),je=n((()=>te.wordbookChild.user_id_obj||te.wordbook.parent_id_obj||Date.now()));function Be(){const e=$(Ae(te.data));Se.main=Se.temp=e,Ee(Se.temp,null,(e=>{Le.main.push(e.key)})),ye.value=Le.main,Se.dept=Fe($(e),(e=>{Le.dept.push(e.key)})),Se.role=Oe($(te.roleData),(e=>{Le.role.push(e.key)}))}function Fe(e,l){return e.filter((e=>{var t;te.showSelectType&&(null==(t=e.children)?void 0:t.length)&&(e.children=Fe(e.children,l));const n=e[xe.value]==A.DEPT;return n&&Ne(e,l),n}))}function Oe(e,l){const{label:t,key:n,children:a="children"}=te.roleFields;return e.map((e=>{var i;return e.key=e[n],e.label=e.title=e[t],(null==(i=e[a])?void 0:i.length)&&(e.children=Oe(e[a],l)),Ne(e,l),e}))}function De(e,l){var t,n;const a=["main","dept"].includes(l)?je.value:null==(t=te.roleFields)?void 0:t.key;for(let t=0,i=e.length;t<i;t++){const i=e[t],u=pe.value.map((e=>e.key));Te[l].includes(i.key)&&!u.includes(i.key)&&Ce[l].push({...i,key:i[a]}),(null==(n=i.children)?void 0:n.length)&&De(i.children,l)}}function Ee(e,l,t){var n,a;for(let i=0,u=e.length;i<u;i++){const u=e[i];let o=be.value.reduce(((e,l)=>e+(u[l]?`${u[l]},`:"")),"");u.title_expand_strs=o.slice(0,-1),u.title=Re(u),u.label=Re(u),u.parentNode=l,u.key||(u.key=u[te.wordbookChild.user_id_obj]||u[te.wordbook.parent_id_obj]||Date.now()),(null==(n=u.children)?void 0:n.length)?(Ee(u.children,u,t),Pe(u)):0===(null==(a=u.children)?void 0:a.length)&&Reflect.deleteProperty(u,"children"),Ne(u,t)}}function Ne(e,l){var t,n;switch(null!=(n=null==(t=null==te?void 0:te.treeSetting)?void 0:t.checkStrategy)?n:"child"){case"child":!function(e,l){e.disabled||e.children||!e.key||l&&l(e)}(e,l);break;case"parent":!function(e,l){e.disabled||e.tempTitle||!e.key||l&&l(e)}(e,l)}}async function Ie(e){if(te.queryLoadChildData){const l=await te.queryLoadChildData(e);return l.children&&(l.children=l.children.map((e=>({...e,tempTitle:l.tempTitle?`${l.title}/${l.tempTitle}`:l.title})))),l}return e}function Pe(e){var l;(null==(l=e.children)?void 0:l.every((e=>e.disabled)))&&(e.disabled=!0)}function $e({option:e}){var l,t;if((null==(l=e.children)?void 0:l.length)||fe.value&&!(null==e?void 0:e.isLeaf)){const l=te.wordbook.user_count_obj&&e[te.wordbook.user_count_obj]||"",t=l?`(${l})`:"",n=`${e.title}${t}`;return d("span",{title:n},[n])}{const l=null!=(t=e.title_expand_strs)?t:"";return d("p",{class:"user_item"},[d("span",{title:e.title},[e.title]),d("span",{class:"user_item_expand",title:l},[l])])}}function Re(e){return e[te.wordbookChild.user_name_obj]||e[te.wordbook.parent_name_obj]||e.orgName||e.title||""}function Ae(e){var l;for(let t=0,n=e.length;t<n;t++){const n=e[t],a=te.wordbook.children||"children";if(null==(l=n[a])?void 0:l.length){const e=Ke(n[a],[]);n.innerItemsNum=e.length,n.innerLeafs=e,n.children=Ae(n[a])}}return te.showSelectType?e:Ue(e,"")}function Ke(e,l){var t;for(let n=0,a=e.length;n<a;n++){const a=e[n];(null==(t=a.children)?void 0:t.length)?Ke(a.children,l):!a.disabled&&l.push(a)}return l}function Ue(e,l){return e&&0!==e.length?e.map((e=>{var t;const n=Re(e),a=l?`${n}/${l}`:n;return{...e,tempTitle:l,children:(null==(t=e.children)?void 0:t.length)?Ue(null==e?void 0:e.children,a):[]}})):[]}async function qe(){var e,l;const t=null!=(l=null==(e=null==te?void 0:te.wordbook)?void 0:e.filter_key)?l:"keyword";if(he.value=!!oe.value.trim(),fe.value)se.value=await te.queryTreeSearch(oe.value);else{const e=function(){const e={[K.SEARCH_ORG_STAFF]:me.value,[K.SEARCH_ORG]:te.searchInner},l=Object.keys(e).find((l=>e[l]));return null!=l?l:""}();se.value=I(e,Se.temp,oe.value,t)}de.value=se.value.length&&oe.value?P(se.value):[]}function He(e,l){var t,n;switch(null!=(n=null==(t=null==te?void 0:te.treeSetting)?void 0:t.checkStrategy)?n:"child"){case"child":!function(e,l){for(let t=0,n=e.length;t<n;t++){const n=e[t];if(!n.disabled&&(!n.children||n.isLeaf)&&(l&&!ce.value.includes(n.key)&&ce.value.push(n.key),!l)){const e=ce.value.findIndex((e=>e===n.key));ce.value.splice(e,1)}n.children&&He(n.children,l)}}(e,l);break;case"parent":!function(e,l){ce.value=[];for(let t=0,n=e.length;t<n;t++){const n=e[t];if(!n.disabled&&!n.tempTitle&&(l&&!ce.value.includes(n.key)&&ce.value.push(n.key),!l)){const e=ce.value.findIndex((e=>e===n.key));ce.value.splice(e,1)}}}(e,l)}}function Me(e){He(se.value,e)}function We(e){var l;for(let t=0,n=e.length;t<n;t++){const n=e[t],a=pe.value.map((e=>e.key));ce.value.includes(n.key)&&!a.includes(n.key)&&ve.value.push({key:n.key,name:n.title,parentName:n.tempTitle,innerItemsNum:n.innerItemsNum,innerLeafs:n.innerLeafs,originItem:n}),(null==(l=n.children)?void 0:l.length)&&We(n.children)}}function Ge(e){if(te.showSelectType){const l=ge.value;ce.value=Te[l]=e}else ce.value=e}function ze(){Object.keys(Te).forEach((e=>{Te[e]=Ce[e]=[]})),ce.value=[]}function Je(e){ce.value=e}function Qe(){oe.value="",setTimeout((()=>{qe()}))}return i((()=>te.data),(e=>{oe.value="",re.value=he.value=!1,ce.value=[],de.value=[],se.value=[],ve.value=[],pe.value=[],ye.value=[],function(){if(Be(),se.value=Se.temp,te.defaultList.length>0)if(fe.value)te.defaultList.forEach((e=>ce.value.push(e.key))),ve.value=$(te.defaultList),pe.value=$(te.defaultList);else{if(te.showSelectType){const e=ge.value;return te.defaultList.forEach((e=>{e.itemType===R.PERSON&&(Te.main.push(e[je.value]),Ce.main.push(e)),e.itemType===R.DEPT&&(Te.dept.push(e[je.value]),Ce.dept.push(e)),e.itemType===R.ROLE&&(Te.role.push(e[te.roleFields.key]),Ce.role.push(e))})),void(ce.value=Te[e])}te.defaultList.forEach((e=>ce.value.push(e))),We(Se.temp)}}()}),{immediate:!0}),i((()=>ce),(e=>{if(te.showSelectType){const l=ge.value;Ce[l]=pe.value.filter((l=>e.value.includes(l.key))),De(Se[l],l),te.showSelectType?re.value=ye.value.every((e=>ce.value.findIndex((l=>l===e))>-1)):re.value=ye.value.every((e=>ve.value.findIndex((l=>l.key===e))>-1));const t=_e.value.map((e=>e.key));return ue("check",t),void ue("checkWithLevel",_e.value)}ve.value=pe.value.filter((l=>e.value.includes(l.key))),We(fe.value?se.value:Se.temp);const l=ve.value.filter((l=>e.value.includes(l.key)));ue("check",e.value),ue("checkWithLevel",l)}),{deep:!0}),i((()=>oe.value),(e=>{e||Qe()})),M({getCheckWithLevel:function(){var e;if(te.showSelectType)return null!=(e=_e.value)?e:[];const l=ce.value,t=ve.value.filter((e=>l.includes(e.key)));return null!=t?t:[]}}),(l,t)=>(u(),o(r(S),{cols:2,class:"c-select-person"},{default:c((()=>[d(r(T),null,{default:c((()=>[d(r(C),{vertical:"",style:{"padding-right":"12px","border-right":"1px solid #e8e8e8"}},{default:c((()=>{var l;return[d(r(L),{style:{"margin-bottom":"12px"}},{default:c((()=>[s(" clearable "),d(r(x),{class:"search-input",value:oe.value,"onUpdate:value":t[0]||(t[0]=e=>oe.value=e),placeholder:e.searchPlaceholder,onKeyup:v(qe,["enter"])},{suffix:c((()=>[oe.value?(u(),o(r(j),{key:0,class:"search-clear",component:r(N),size:"16",onClick:Qe},null,8,["component"])):s("v-if",!0)])),_:1},8,["value","placeholder","onKeyup"]),d(r(B),{type:"primary",onClick:qe},{default:c((()=>[p(h(e.searchButtonText),1)])),_:1})])),_:1}),e.showSelectType?(u(),y("div",G,[(u(),y(f,null,k(ae,(e=>d(r(F),{round:"",checkable:"",checked:ge.value===e.key,key:e.key,"onUpdate:checked":l=>function(e){ge.value=e.key,se.value=Se.temp=Se[e.key],ce.value=Te[e.key],ye.value=Le[e.key]}(e)},{default:c((()=>[p(h(e.label),1)])),_:2},1032,["checked","onUpdate:checked"]))),64))])):s("v-if",!0),e.multiple&&!he.value?m((u(),o(r(O),{key:1,checked:re.value,"onUpdate:checked":[t[1]||(t[1]=e=>re.value=e),Me]},{default:c((()=>{var e;return[p((null==(e=window.getLanguageByCode)?void 0:e.call(window,"10010.1.37"))||"全选")]})),_:1},8,["checked"])),[[g,e.forceShowSelectAll||ye.value.length<1e3]]):s("v-if",!0),s(" 支持选人 "),e.searchInner&&e.multiple&&he.value&&"parent"===r(ke)?(u(),o(U,{key:2,treeData:se.value,checkedKeys:ce.value,onNotifyCheck:Je},null,8,["treeData","checkedKeys"])):r(me)&&he.value&&"parent"===r(ke)?(u(),y(f,{key:3},[s(" 同时兼容选人和选部门 "),s(" v-else-if=\"isSearchFilter && multiple && isSearch && checkStrategyResult === 'parent'\" "),d(q,{treeData:se.value,checkedKeys:ce.value,searchFilter:r(we),isMultiple:e.multiple,onNotifyCheck:Je,onNotifyClear:Qe},null,8,["treeData","checkedKeys","searchFilter","isMultiple"])],2112)):(u(),y("div",z,[0===se.value.length?(u(),o(r(D),{key:0,description:(null==(l=window.getLanguageByCode)?void 0:l.call(window,"10010.1.445"))||"暂无数据"})):(u(),o(r(E),w({key:1,"virtual-scroll":"",class:"c-select-person__scroll","checked-keys":ce.value,"expanded-keys":de.value,"onUpdate:expanded-keys":t[2]||(t[2]=e=>de.value=e),checkable:e.multiple,cascade:"","allow-checking-not-loaded":"",selectable:!e.multiple,"selected-keys":ce.value,"onUpdate:selected-keys":t[3]||(t[3]=e=>ce.value=e),data:se.value,"check-strategy":"child","render-label":$e},e.treeSetting,{"onUpdate:checkedKeys":Ge,onLoad:Ie}),null,16,["checked-keys","expanded-keys","checkable","selectable","selected-keys","data"]))]))]})),_:1})])),_:1}),d(r(T),null,{default:c((()=>[d(r(C),{vertical:"",style:{"padding-left":"12px"}},{default:c((()=>[d(r(C),{justify:"space-between",style:{"margin-bottom":"20px"}},{default:c((()=>{var l;return[e.showCount?(u(),y("span",J,"已选择:"+h(r(_e).length),1)):s("v-if",!0),e.showClear?(u(),y("span",{key:1,class:"c-select-person__clear-btn",onClick:ze},(null==(l=window.getLanguageByCode)?void 0:l.call(window,"10010.1.509"))||"清空")):s("v-if",!0)]})),_:1}),b("div",Q,[(u(!0),y(f,null,k(r(_e),(t=>(u(),y("span",{class:"c-select-person__tag-item",key:t.key},[s(" 标签插槽 "),_(l.$slots,"tag",{tag:t},(()=>[p(h(t.name)+" "+h(t.parentName?`(${t.parentName})`:"")+" "+h(t.innerItemsNum?`(${t.innerItemsNum}人)`:"")+" "+h(e.showSelectType&&ie[t.itemType]?`(${ie[t.itemType]})`:""),1)])),d(r(j),{class:"tag-close",component:r(N),onClick:e=>function(e){if(te.showSelectType){const l=e.itemType===R.PERSON?"main":e.itemType;return Te[l]=Te[l].filter((l=>l!==e.key)),Ce[l]=pe.value.filter((e=>Te[l].includes(e.key))),De(Se[l],l),void(ge.value==l&&(ce.value=Te[l]))}ce.value=ce.value.filter((l=>l!==e.key))}(t)},null,8,["component","onClick"])])))),128))])])),_:3})])),_:3})])),_:3}))}});export{V as default};
|
@@ -777,7 +777,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
777
777
|
key: string | number;
|
778
778
|
}[]>;
|
779
779
|
isSearch: import("vue").Ref<boolean>;
|
780
|
-
tempData: TreeOption[];
|
781
780
|
allCheckedTreeKeys: import("vue").Ref<(string | number)[]>;
|
782
781
|
isRemote: import("vue").ComputedRef<boolean>;
|
783
782
|
checkStrategyResult: import("vue").ComputedRef<any>;
|
@@ -841,6 +840,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
841
840
|
notifyCheck: (keys: (string | number)[]) => void;
|
842
841
|
notifySearchClear: () => void;
|
843
842
|
getCheckWithLevel: () => any;
|
843
|
+
resetParams: () => void;
|
844
844
|
NButton: any;
|
845
845
|
NInput: any;
|
846
846
|
NInputGroup: any;
|
@@ -96,6 +96,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
96
96
|
type: StringConstructor;
|
97
97
|
default: string;
|
98
98
|
};
|
99
|
+
isDateDisabled: {
|
100
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
101
|
+
};
|
99
102
|
}, {
|
100
103
|
attrs: {
|
101
104
|
[x: string]: unknown;
|
@@ -128,6 +131,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
128
131
|
type: StringConstructor;
|
129
132
|
default: string;
|
130
133
|
};
|
134
|
+
isDateDisabled: {
|
135
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
136
|
+
};
|
131
137
|
}>> & {
|
132
138
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
133
139
|
}>>;
|
@@ -140,6 +146,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
140
146
|
isDateTime: import("vue").ComputedRef<boolean>;
|
141
147
|
formatRef: import("vue").ComputedRef<string>;
|
142
148
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
149
|
+
_isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
|
143
150
|
focus: () => any;
|
144
151
|
blur: () => any;
|
145
152
|
handleConfirm: (target: HTMLInputElement) => void;
|
@@ -179,6 +186,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
179
186
|
type: StringConstructor;
|
180
187
|
default: string;
|
181
188
|
};
|
189
|
+
isDateDisabled: {
|
190
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
191
|
+
};
|
182
192
|
}>> & {
|
183
193
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
184
194
|
}, {
|
@@ -59,6 +59,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
59
59
|
type: StringConstructor;
|
60
60
|
default: string;
|
61
61
|
};
|
62
|
+
isDateDisabled: {
|
63
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
64
|
+
};
|
62
65
|
}, {
|
63
66
|
attrs: {
|
64
67
|
[x: string]: unknown;
|
@@ -91,6 +94,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
91
94
|
type: StringConstructor;
|
92
95
|
default: string;
|
93
96
|
};
|
97
|
+
isDateDisabled: {
|
98
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
99
|
+
};
|
94
100
|
}>> & {
|
95
101
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
96
102
|
}>>;
|
@@ -103,6 +109,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
103
109
|
isDateTime: import("vue").ComputedRef<boolean>;
|
104
110
|
formatRef: import("vue").ComputedRef<string>;
|
105
111
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
112
|
+
_isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
|
106
113
|
focus: () => any;
|
107
114
|
blur: () => any;
|
108
115
|
handleConfirm: (target: HTMLInputElement) => void;
|
@@ -142,6 +149,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
142
149
|
type: StringConstructor;
|
143
150
|
default: string;
|
144
151
|
};
|
152
|
+
isDateDisabled: {
|
153
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
154
|
+
};
|
145
155
|
}>> & {
|
146
156
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
147
157
|
}, {
|
@@ -59,6 +59,9 @@ declare const Date: import("vue").DefineComponent<{
|
|
59
59
|
type: StringConstructor;
|
60
60
|
default: string;
|
61
61
|
};
|
62
|
+
isDateDisabled: {
|
63
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
64
|
+
};
|
62
65
|
}, {
|
63
66
|
attrs: {
|
64
67
|
[x: string]: unknown;
|
@@ -91,6 +94,9 @@ declare const Date: import("vue").DefineComponent<{
|
|
91
94
|
type: StringConstructor;
|
92
95
|
default: string;
|
93
96
|
};
|
97
|
+
isDateDisabled: {
|
98
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
99
|
+
};
|
94
100
|
}>> & {
|
95
101
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
96
102
|
}>>;
|
@@ -103,6 +109,7 @@ declare const Date: import("vue").DefineComponent<{
|
|
103
109
|
isDateTime: import("vue").ComputedRef<boolean>;
|
104
110
|
formatRef: import("vue").ComputedRef<string>;
|
105
111
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
112
|
+
_isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
|
106
113
|
focus: () => any;
|
107
114
|
blur: () => any;
|
108
115
|
handleConfirm: (target: HTMLInputElement) => void;
|
@@ -142,6 +149,9 @@ declare const Date: import("vue").DefineComponent<{
|
|
142
149
|
type: StringConstructor;
|
143
150
|
default: string;
|
144
151
|
};
|
152
|
+
isDateDisabled: {
|
153
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
154
|
+
};
|
145
155
|
}>> & {
|
146
156
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
147
157
|
}, {
|
@@ -214,6 +214,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
214
214
|
type: StringConstructor;
|
215
215
|
default: string;
|
216
216
|
};
|
217
|
+
isDateDisabled: {
|
218
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
219
|
+
};
|
217
220
|
}, {
|
218
221
|
attrs: {
|
219
222
|
[x: string]: unknown;
|
@@ -246,6 +249,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
246
249
|
type: StringConstructor;
|
247
250
|
default: string;
|
248
251
|
};
|
252
|
+
isDateDisabled: {
|
253
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
254
|
+
};
|
249
255
|
}>> & {
|
250
256
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
251
257
|
}>>;
|
@@ -258,6 +264,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
258
264
|
isDateTime: import("vue").ComputedRef<boolean>;
|
259
265
|
formatRef: import("vue").ComputedRef<string>;
|
260
266
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
267
|
+
_isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
|
261
268
|
focus: () => any;
|
262
269
|
blur: () => any;
|
263
270
|
handleConfirm: (target: HTMLInputElement) => void;
|
@@ -297,6 +304,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
297
304
|
type: StringConstructor;
|
298
305
|
default: string;
|
299
306
|
};
|
307
|
+
isDateDisabled: {
|
308
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
309
|
+
};
|
300
310
|
}>> & {
|
301
311
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
302
312
|
}, {
|
@@ -123,6 +123,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
123
123
|
type: StringConstructor;
|
124
124
|
default: string;
|
125
125
|
};
|
126
|
+
isDateDisabled: {
|
127
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
128
|
+
};
|
126
129
|
}, {
|
127
130
|
attrs: {
|
128
131
|
[x: string]: unknown;
|
@@ -155,6 +158,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
155
158
|
type: StringConstructor;
|
156
159
|
default: string;
|
157
160
|
};
|
161
|
+
isDateDisabled: {
|
162
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
163
|
+
};
|
158
164
|
}>> & {
|
159
165
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
160
166
|
}>>;
|
@@ -167,6 +173,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
167
173
|
isDateTime: import("vue").ComputedRef<boolean>;
|
168
174
|
formatRef: import("vue").ComputedRef<string>;
|
169
175
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
176
|
+
_isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
|
170
177
|
focus: () => any;
|
171
178
|
blur: () => any;
|
172
179
|
handleConfirm: (target: HTMLInputElement) => void;
|
@@ -206,6 +213,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
206
213
|
type: StringConstructor;
|
207
214
|
default: string;
|
208
215
|
};
|
216
|
+
isDateDisabled: {
|
217
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
218
|
+
};
|
209
219
|
}>> & {
|
210
220
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
211
221
|
}, {
|
@@ -814,6 +824,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
814
824
|
type: StringConstructor;
|
815
825
|
default: string;
|
816
826
|
};
|
827
|
+
isDateDisabled: {
|
828
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
829
|
+
};
|
817
830
|
}, {
|
818
831
|
attrs: {
|
819
832
|
[x: string]: unknown;
|
@@ -846,6 +859,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
846
859
|
type: StringConstructor;
|
847
860
|
default: string;
|
848
861
|
};
|
862
|
+
isDateDisabled: {
|
863
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
864
|
+
};
|
849
865
|
}>> & {
|
850
866
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
851
867
|
}>>;
|
@@ -858,6 +874,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
858
874
|
isDateTime: import("vue").ComputedRef<boolean>;
|
859
875
|
formatRef: import("vue").ComputedRef<string>;
|
860
876
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
877
|
+
_isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
|
861
878
|
focus: () => any;
|
862
879
|
blur: () => any;
|
863
880
|
handleConfirm: (target: HTMLInputElement) => void;
|
@@ -897,6 +914,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
897
914
|
type: StringConstructor;
|
898
915
|
default: string;
|
899
916
|
};
|
917
|
+
isDateDisabled: {
|
918
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
919
|
+
};
|
900
920
|
}>> & {
|
901
921
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
902
922
|
}, {
|
@@ -80,6 +80,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
80
80
|
type: StringConstructor;
|
81
81
|
default: string;
|
82
82
|
};
|
83
|
+
isDateDisabled: {
|
84
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
85
|
+
};
|
83
86
|
}, {
|
84
87
|
attrs: {
|
85
88
|
[x: string]: unknown;
|
@@ -112,6 +115,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
112
115
|
type: StringConstructor;
|
113
116
|
default: string;
|
114
117
|
};
|
118
|
+
isDateDisabled: {
|
119
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
120
|
+
};
|
115
121
|
}>> & {
|
116
122
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
117
123
|
}>>;
|
@@ -124,6 +130,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
124
130
|
isDateTime: import("vue").ComputedRef<boolean>;
|
125
131
|
formatRef: import("vue").ComputedRef<string>;
|
126
132
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
133
|
+
_isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
|
127
134
|
focus: () => any;
|
128
135
|
blur: () => any;
|
129
136
|
handleConfirm: (target: HTMLInputElement) => void;
|
@@ -163,6 +170,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
163
170
|
type: StringConstructor;
|
164
171
|
default: string;
|
165
172
|
};
|
173
|
+
isDateDisabled: {
|
174
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
175
|
+
};
|
166
176
|
}>> & {
|
167
177
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
168
178
|
}, {
|
package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts
CHANGED
@@ -94,6 +94,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
94
94
|
type: StringConstructor;
|
95
95
|
default: string;
|
96
96
|
};
|
97
|
+
isDateDisabled: {
|
98
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
99
|
+
};
|
97
100
|
}, {
|
98
101
|
attrs: {
|
99
102
|
[x: string]: unknown;
|
@@ -126,6 +129,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
126
129
|
type: StringConstructor;
|
127
130
|
default: string;
|
128
131
|
};
|
132
|
+
isDateDisabled: {
|
133
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
134
|
+
};
|
129
135
|
}>> & {
|
130
136
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
131
137
|
}>>;
|
@@ -138,6 +144,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
138
144
|
isDateTime: import("vue").ComputedRef<boolean>;
|
139
145
|
formatRef: import("vue").ComputedRef<string>;
|
140
146
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
147
|
+
_isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
|
141
148
|
focus: () => any;
|
142
149
|
blur: () => any;
|
143
150
|
handleConfirm: (target: HTMLInputElement) => void;
|
@@ -177,6 +184,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
177
184
|
type: StringConstructor;
|
178
185
|
default: string;
|
179
186
|
};
|
187
|
+
isDateDisabled: {
|
188
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
189
|
+
};
|
180
190
|
}>> & {
|
181
191
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
182
192
|
}, {
|
@@ -80,6 +80,9 @@ declare const Date: import("vue").DefineComponent<{
|
|
80
80
|
type: StringConstructor;
|
81
81
|
default: string;
|
82
82
|
};
|
83
|
+
isDateDisabled: {
|
84
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
85
|
+
};
|
83
86
|
}, {
|
84
87
|
attrs: {
|
85
88
|
[x: string]: unknown;
|
@@ -112,6 +115,9 @@ declare const Date: import("vue").DefineComponent<{
|
|
112
115
|
type: StringConstructor;
|
113
116
|
default: string;
|
114
117
|
};
|
118
|
+
isDateDisabled: {
|
119
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
120
|
+
};
|
115
121
|
}>> & {
|
116
122
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
117
123
|
}>>;
|
@@ -124,6 +130,7 @@ declare const Date: import("vue").DefineComponent<{
|
|
124
130
|
isDateTime: import("vue").ComputedRef<boolean>;
|
125
131
|
formatRef: import("vue").ComputedRef<string>;
|
126
132
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
133
|
+
_isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
|
127
134
|
focus: () => any;
|
128
135
|
blur: () => any;
|
129
136
|
handleConfirm: (target: HTMLInputElement) => void;
|
@@ -163,6 +170,9 @@ declare const Date: import("vue").DefineComponent<{
|
|
163
170
|
type: StringConstructor;
|
164
171
|
default: string;
|
165
172
|
};
|
173
|
+
isDateDisabled: {
|
174
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
175
|
+
};
|
166
176
|
}>> & {
|
167
177
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
168
178
|
}, {
|
@@ -771,6 +781,9 @@ declare const DateRange: import("vue").DefineComponent<{
|
|
771
781
|
type: StringConstructor;
|
772
782
|
default: string;
|
773
783
|
};
|
784
|
+
isDateDisabled: {
|
785
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
786
|
+
};
|
774
787
|
}, {
|
775
788
|
attrs: {
|
776
789
|
[x: string]: unknown;
|
@@ -803,6 +816,9 @@ declare const DateRange: import("vue").DefineComponent<{
|
|
803
816
|
type: StringConstructor;
|
804
817
|
default: string;
|
805
818
|
};
|
819
|
+
isDateDisabled: {
|
820
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
821
|
+
};
|
806
822
|
}>> & {
|
807
823
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
808
824
|
}>>;
|
@@ -815,6 +831,7 @@ declare const DateRange: import("vue").DefineComponent<{
|
|
815
831
|
isDateTime: import("vue").ComputedRef<boolean>;
|
816
832
|
formatRef: import("vue").ComputedRef<string>;
|
817
833
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
834
|
+
_isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
|
818
835
|
focus: () => any;
|
819
836
|
blur: () => any;
|
820
837
|
handleConfirm: (target: HTMLInputElement) => void;
|
@@ -854,6 +871,9 @@ declare const DateRange: import("vue").DefineComponent<{
|
|
854
871
|
type: StringConstructor;
|
855
872
|
default: string;
|
856
873
|
};
|
874
|
+
isDateDisabled: {
|
875
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
876
|
+
};
|
857
877
|
}>> & {
|
858
878
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
859
879
|
}, {
|
@@ -247,6 +247,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
247
247
|
type: StringConstructor;
|
248
248
|
default: string;
|
249
249
|
};
|
250
|
+
isDateDisabled: {
|
251
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
252
|
+
};
|
250
253
|
}, {
|
251
254
|
attrs: {
|
252
255
|
[x: string]: unknown;
|
@@ -279,6 +282,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
279
282
|
type: StringConstructor;
|
280
283
|
default: string;
|
281
284
|
};
|
285
|
+
isDateDisabled: {
|
286
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
287
|
+
};
|
282
288
|
}>> & {
|
283
289
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
284
290
|
}>>;
|
@@ -291,6 +297,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
291
297
|
isDateTime: import("vue").ComputedRef<boolean>;
|
292
298
|
formatRef: import("vue").ComputedRef<string>;
|
293
299
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
300
|
+
_isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
|
294
301
|
focus: () => any;
|
295
302
|
blur: () => any;
|
296
303
|
handleConfirm: (target: HTMLInputElement) => void;
|
@@ -330,6 +337,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
330
337
|
type: StringConstructor;
|
331
338
|
default: string;
|
332
339
|
};
|
340
|
+
isDateDisabled: {
|
341
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
342
|
+
};
|
333
343
|
}>> & {
|
334
344
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
335
345
|
}, {
|
@@ -938,6 +948,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
938
948
|
type: StringConstructor;
|
939
949
|
default: string;
|
940
950
|
};
|
951
|
+
isDateDisabled: {
|
952
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
953
|
+
};
|
941
954
|
}, {
|
942
955
|
attrs: {
|
943
956
|
[x: string]: unknown;
|
@@ -970,6 +983,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
970
983
|
type: StringConstructor;
|
971
984
|
default: string;
|
972
985
|
};
|
986
|
+
isDateDisabled: {
|
987
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
988
|
+
};
|
973
989
|
}>> & {
|
974
990
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
975
991
|
}>>;
|
@@ -982,6 +998,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
982
998
|
isDateTime: import("vue").ComputedRef<boolean>;
|
983
999
|
formatRef: import("vue").ComputedRef<string>;
|
984
1000
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
1001
|
+
_isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
|
985
1002
|
focus: () => any;
|
986
1003
|
blur: () => any;
|
987
1004
|
handleConfirm: (target: HTMLInputElement) => void;
|
@@ -1021,6 +1038,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
1021
1038
|
type: StringConstructor;
|
1022
1039
|
default: string;
|
1023
1040
|
};
|
1041
|
+
isDateDisabled: {
|
1042
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
1043
|
+
};
|
1024
1044
|
}>> & {
|
1025
1045
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
1026
1046
|
}, {
|
package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts
CHANGED
@@ -111,6 +111,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
111
111
|
type: StringConstructor;
|
112
112
|
default: string;
|
113
113
|
};
|
114
|
+
isDateDisabled: {
|
115
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
116
|
+
};
|
114
117
|
}, {
|
115
118
|
attrs: {
|
116
119
|
[x: string]: unknown;
|
@@ -143,6 +146,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
143
146
|
type: StringConstructor;
|
144
147
|
default: string;
|
145
148
|
};
|
149
|
+
isDateDisabled: {
|
150
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
151
|
+
};
|
146
152
|
}>> & {
|
147
153
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
148
154
|
}>>;
|
@@ -155,6 +161,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
155
161
|
isDateTime: import("vue").ComputedRef<boolean>;
|
156
162
|
formatRef: import("vue").ComputedRef<string>;
|
157
163
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
164
|
+
_isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
|
158
165
|
focus: () => any;
|
159
166
|
blur: () => any;
|
160
167
|
handleConfirm: (target: HTMLInputElement) => void;
|
@@ -194,6 +201,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
194
201
|
type: StringConstructor;
|
195
202
|
default: string;
|
196
203
|
};
|
204
|
+
isDateDisabled: {
|
205
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
206
|
+
};
|
197
207
|
}>> & {
|
198
208
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
199
209
|
}, {
|
@@ -94,6 +94,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
94
94
|
type: StringConstructor;
|
95
95
|
default: string;
|
96
96
|
};
|
97
|
+
isDateDisabled: {
|
98
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
99
|
+
};
|
97
100
|
}, {
|
98
101
|
attrs: {
|
99
102
|
[x: string]: unknown;
|
@@ -126,6 +129,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
126
129
|
type: StringConstructor;
|
127
130
|
default: string;
|
128
131
|
};
|
132
|
+
isDateDisabled: {
|
133
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
134
|
+
};
|
129
135
|
}>> & {
|
130
136
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
131
137
|
}>>;
|
@@ -138,6 +144,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
138
144
|
isDateTime: import("vue").ComputedRef<boolean>;
|
139
145
|
formatRef: import("vue").ComputedRef<string>;
|
140
146
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
147
|
+
_isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
|
141
148
|
focus: () => any;
|
142
149
|
blur: () => any;
|
143
150
|
handleConfirm: (target: HTMLInputElement) => void;
|
@@ -177,6 +184,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
177
184
|
type: StringConstructor;
|
178
185
|
default: string;
|
179
186
|
};
|
187
|
+
isDateDisabled: {
|
188
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
189
|
+
};
|
180
190
|
}>> & {
|
181
191
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
182
192
|
}, {
|