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
package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue2.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
import{defineComponent as e,ref as a,inject as l,computed as t,openBlock as
|
1
|
+
import{defineComponent as e,ref as a,inject as l,computed as t,openBlock as u,createBlock as n,unref as o,isRef as i,withModifiers as r,withCtx as s,createVNode as v,h as c}from"vue";import{useMessage as d,NSelect as p,NTag as f}from"naive-ui";import{WidgetOptionEnums as m,WidgetValEnums as y}from"../../../types/enums.js";import{useDebounceFn as g}from"@vueuse/core";import h from"../../../hooks/useAsyncData.js";import{InjectionFilterApiConfig as V,InjectionClassifyFilterList as w}from"../../../constants/index.js";import{judgmentVariable as k}from"../../render-widget/helpers/setDefaultValue.js";import b from"../../render-widget/components/SelectDynamicOption/index.vue.js";import{uniqBy as L,isEqual as O}from"lodash-es";var C=e({__name:"SelectDynamic",props:{paramCfg:{type:Object,default:null},modelValue:{type:Array,default:null}},emits:["update:modelValue"],setup(e,{emit:C}){const S=e,A=d(),{getDynamicSelectData:j}=h(),P=a(null),D=a(!1),x=l(V),I=l(w),_=a(0),K={class:"select-dynamic-popover"},T=a(1),E=a(),U=a([]),M=a(),$=t((()=>{var e;return null==(e=S.paramCfg)?void 0:e.optionSetting})),B=t((()=>$.value===m.MULTIPLE)),F=t((()=>{const{dynamicOptionInfo:e={}}=S.paramCfg.optionInfo;return e})),J=t((()=>_.value>0&&T.value>=_.value)),N=t((()=>{let e=[];const a=I.value.find((e=>e.key===S.paramCfg.p_name));return a&&a.value&&(e=a.dynamicBaseList||[]),L([...e,...U.value],"value")})),H=t((()=>{var e;if(Array.isArray(S.modelValue)&&S.modelValue.length>0){const e=S.modelValue;if(W(e),!B.value&&1==e.length){const a=N.value.find((a=>a.value===e[0]));return JSON.stringify(a)}return N.value.filter((a=>e.includes(a.value)))}return W([]),null!=(e=S.modelValue)?e:null})),R=t((()=>{if(Object.keys(F.value).length>0){const{defaultParams:e=[]}=F.value;return!k(e)}return!0}));function W(e){U.value.forEach((a=>{a.actived=!1,Array.isArray(e)&&e.includes(a.value)&&(a.actived=!0)}))}function q(e){var a;const{defaultValue:l}=S.paramCfg._rawData;(null==(a=null==l?void 0:l.linkageFieldKeys)?void 0:a.length)>0&&l.linkageFieldKeys.forEach((e=>{const a=I.value.find((a=>a.key===e));a&&a.value&&(a.value=a.presetVal=null)})),O(S.modelValue,e)||(C("update:modelValue",e),ae(e))}async function z(e){var a;T.value=e,null==(a=null==P?void 0:P.value)||a.focus(),await G(M.value,T.value)}async function G(e,a){try{if(Object.keys(F.value).length>0){const{autograph:l,dataSourceId:t,dataSourceType:u,filterKeys:n,defaultParams:o=[],showKeys:i,valueKey:r}=F.value;let s={wordbookId:t,autograph:l,wordbookType:u,fieldKeys:n,page:a};n.length>0&&(s[n[0]]=e),D.value=!0;if(k(o)){const e=o.map((e=>e.value)).filter((e=>e.includes("${")));e.map((e=>e.match(/\$\{(.+?)\}/)[1])).forEach((e=>{const a=I.value.find((a=>a.key===e));a&&a.value&&a.value!==y.WHOLE&&(s[e]=a.value)}))}let v=await j(s,x);if(v){const{fieldList:e=[],rows:a=[],total:l=0}=v.map,t=a.map((e=>({...e,label:e[i[0]],value:e[r]})));return E.value=null!=e?e:[],U.value=null!=t?t:[],_.value=l,t}}}catch(e){A.error(`异步数据源下拉框数据请求失败:${e}`),console.log(e)}finally{D.value=!1}}const Q=g((async e=>{await async function(e){M.value=e.trim(),T.value=1,await G(M.value,T.value)}(e)}),300);async function X(){Object.keys(F.value).length>0&&x&&await G("",T.value)}async function Y(){C("update:modelValue",null),ae(null),await X()}function Z(e){M.value="",e&&(T.value=1,X())}function ee({option:e,handleClose:a}){if(B.value){const l=e.value;return c(f,{style:{padding:"0 8px"},closable:!0,onClose:e=>{if(e.stopPropagation(),a(),Array.isArray(S.modelValue)&&S.modelValue.length>0){const e=S.modelValue,a=e.indexOf(l.value);a>-1&&(e.splice(a,1),C("update:modelValue",e.length>0?e:null),ae(e.length>0?e:null))}}},{default:()=>c("div",l.label)})}const l=e.value?JSON.parse(e.value):{label:""};return c("div",l.label)}function ae(e){let a=[];Array.isArray(e)&&e.length>0&&(B.value||1!=e.length||(a=N.value.filter((a=>a.value===e[0]))),a=N.value.filter((a=>e.includes(a.value))));const l=I.value.find((e=>e.key===S.paramCfg.p_name));l&&l.value&&(l.dynamicBaseList=a)}return R.value&&X(),(e,a)=>(u(),n(o(p),{id:"select-dynamic-popover",ref_key:"selectDynamicRef",ref:P,style:{width:"200px"},value:o(H),"onUpdate:value":a[0]||(a[0]=e=>i(H)?H.value=e:null),remote:"",clearable:"",filterable:"",maxTagCount:"responsive",loading:D.value,multiple:o(B),"menu-props":K,"render-tag":ee,onSearch:o(Q),onClear:Y,"onUpdate:show":Z,onClick:a[1]||(a[1]=r((()=>{}),["stop"]))},{empty:s((()=>[v(b,{oldValue:S.modelValue,dynamicOptionInfo:o(F),fieldTitleList:E.value,optionList:U.value,isMultiple:o(B),curPage:T.value,isLastPage:o(J),onUpdateSelect:q,onUpdatePage:z},null,8,["oldValue","dynamicOptionInfo","fieldTitleList","optionList","isMultiple","curPage","isLastPage"])])),_:1},8,["value","loading","multiple","onSearch"]))}});export{C as default};
|
@@ -68,6 +68,10 @@ declare const Date: 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 Date: 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 Date: 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: {
|
@@ -340,7 +353,7 @@ declare const SelectDynamic: import("vue").DefineComponent<{
|
|
340
353
|
default: null;
|
341
354
|
};
|
342
355
|
modelValue: {
|
343
|
-
type: (
|
356
|
+
type: import("vue").PropType<import("../../../../../../shared/types").AnyObject[]>;
|
344
357
|
default: null;
|
345
358
|
};
|
346
359
|
}, {
|
@@ -351,7 +364,7 @@ declare const SelectDynamic: import("vue").DefineComponent<{
|
|
351
364
|
default: null;
|
352
365
|
};
|
353
366
|
modelValue: {
|
354
|
-
type: (
|
367
|
+
type: import("vue").PropType<import("../../../../../../shared/types").AnyObject[]>;
|
355
368
|
default: null;
|
356
369
|
};
|
357
370
|
}>> & {
|
@@ -359,6 +372,7 @@ declare const SelectDynamic: import("vue").DefineComponent<{
|
|
359
372
|
}>>;
|
360
373
|
getDynamicSelectData: (params: any, filterApiConfig: any) => Promise<any>;
|
361
374
|
emit: (event: "update:modelValue", ...args: any[]) => void;
|
375
|
+
selectDynamicRef: any;
|
362
376
|
isLoading: import("vue").Ref<boolean>;
|
363
377
|
filterApiConfig: import("../../../../../../shared/types").AnyObject;
|
364
378
|
classifyFilterList: import("vue").Ref<import("../../../../../../shared/types").AnyObject[]>;
|
@@ -374,7 +388,8 @@ declare const SelectDynamic: import("vue").DefineComponent<{
|
|
374
388
|
isMultiple: import("vue").ComputedRef<boolean>;
|
375
389
|
dynamicOptionInfos: import("vue").ComputedRef<any>;
|
376
390
|
isLastPage: import("vue").ComputedRef<boolean>;
|
377
|
-
|
391
|
+
originList: import("vue").ComputedRef<any[]>;
|
392
|
+
valueCp: import("vue").ComputedRef<string | any[]>;
|
378
393
|
isInitRequest: import("vue").ComputedRef<boolean>;
|
379
394
|
setOptionActive: (selectIds: string[]) => void;
|
380
395
|
handleUpdateSelect: (value: string[] | null) => void;
|
@@ -390,8 +405,13 @@ declare const SelectDynamic: import("vue").DefineComponent<{
|
|
390
405
|
[key: string]: any;
|
391
406
|
}>;
|
392
407
|
init: () => void;
|
408
|
+
saveDynamicBaseList: (selectValue: any[] | null) => void;
|
393
409
|
NSelect: any;
|
394
410
|
SelectDynamicOption: import("vue").DefineComponent<{
|
411
|
+
oldValue: {
|
412
|
+
type: import("vue").PropType<import("../../../../../../shared/types").AnyObject[]>;
|
413
|
+
default: () => never[];
|
414
|
+
};
|
395
415
|
dynamicOptionInfo: {
|
396
416
|
type: import("vue").PropType<import("../../../../../../shared/types").AnyObject>;
|
397
417
|
default: () => {};
|
@@ -427,6 +447,10 @@ declare const SelectDynamic: import("vue").DefineComponent<{
|
|
427
447
|
}, {
|
428
448
|
selectMinWidth: number;
|
429
449
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
450
|
+
oldValue: {
|
451
|
+
type: import("vue").PropType<import("../../../../../../shared/types").AnyObject[]>;
|
452
|
+
default: () => never[];
|
453
|
+
};
|
430
454
|
dynamicOptionInfo: {
|
431
455
|
type: import("vue").PropType<import("../../../../../../shared/types").AnyObject>;
|
432
456
|
default: () => {};
|
@@ -515,6 +539,10 @@ declare const SelectDynamic: import("vue").DefineComponent<{
|
|
515
539
|
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<{}>>, {}>;
|
516
540
|
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<{}>>, {}>;
|
517
541
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("updateSelect" | "updatePage")[], "updateSelect" | "updatePage", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
542
|
+
oldValue: {
|
543
|
+
type: import("vue").PropType<import("../../../../../../shared/types").AnyObject[]>;
|
544
|
+
default: () => never[];
|
545
|
+
};
|
518
546
|
dynamicOptionInfo: {
|
519
547
|
type: import("vue").PropType<import("../../../../../../shared/types").AnyObject>;
|
520
548
|
default: () => {};
|
@@ -553,6 +581,7 @@ declare const SelectDynamic: import("vue").DefineComponent<{
|
|
553
581
|
}, {
|
554
582
|
isMultiple: boolean;
|
555
583
|
loading: boolean;
|
584
|
+
oldValue: import("../../../../../../shared/types").AnyObject[];
|
556
585
|
dynamicOptionInfo: import("../../../../../../shared/types").AnyObject;
|
557
586
|
fieldTitleList: import("../../../../../../shared/types").AnyObject[];
|
558
587
|
optionList: import("../../../../../../shared/types").AnyObject[];
|
@@ -566,13 +595,13 @@ declare const SelectDynamic: import("vue").DefineComponent<{
|
|
566
595
|
default: null;
|
567
596
|
};
|
568
597
|
modelValue: {
|
569
|
-
type: (
|
598
|
+
type: import("vue").PropType<import("../../../../../../shared/types").AnyObject[]>;
|
570
599
|
default: null;
|
571
600
|
};
|
572
601
|
}>> & {
|
573
602
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
574
603
|
}, {
|
575
|
-
modelValue:
|
604
|
+
modelValue: import("../../../../../../shared/types").AnyObject[];
|
576
605
|
paramCfg: Record<string, any>;
|
577
606
|
}>;
|
578
607
|
declare const InputNumberGroup: import("vue").DefineComponent<{
|
@@ -701,6 +730,10 @@ declare const DateRange: import("vue").DefineComponent<{
|
|
701
730
|
allowedInvalidValue: {
|
702
731
|
type: StringConstructor;
|
703
732
|
};
|
733
|
+
to: {
|
734
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
735
|
+
default: string;
|
736
|
+
};
|
704
737
|
}, {
|
705
738
|
attrs: {
|
706
739
|
[x: string]: unknown;
|
@@ -721,6 +754,10 @@ declare const DateRange: import("vue").DefineComponent<{
|
|
721
754
|
allowedInvalidValue: {
|
722
755
|
type: StringConstructor;
|
723
756
|
};
|
757
|
+
to: {
|
758
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
759
|
+
default: string;
|
760
|
+
};
|
724
761
|
}>> & {
|
725
762
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
726
763
|
}>>;
|
@@ -757,10 +794,15 @@ declare const DateRange: import("vue").DefineComponent<{
|
|
757
794
|
allowedInvalidValue: {
|
758
795
|
type: StringConstructor;
|
759
796
|
};
|
797
|
+
to: {
|
798
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
799
|
+
default: string;
|
800
|
+
};
|
760
801
|
}>> & {
|
761
802
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
762
803
|
}, {
|
763
804
|
updateUnchangedValue: boolean;
|
805
|
+
to: string | false | HTMLElement;
|
764
806
|
}>>;
|
765
807
|
WidgetValEnums: {
|
766
808
|
CUSTOM: string;
|
package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
import{reactive as a,computed as t,toRaw as e,unref as n}from"vue";import{ConditionEnums as l,WidgetTypeEnums as
|
1
|
+
import{reactive as a,computed as t,toRaw as e,unref as n}from"vue";import{ConditionEnums as l,WidgetTypeEnums as i,WidgetOptionEnums as o}from"../../../types/enums.js";import{transformConditions as r,transformRawConditions as u,transformDataToFront as s}from"../../../tool/transformData.js";const c=(c,p,d)=>{const m=a({params:[]}),v=t((()=>m.params.map((({p_name:a,title:t})=>({label:t||a,value:a}))))),y=a=>m.params.find((t=>t.p_name===a)),C=(a,t)=>{const e=c.value[a];e&&(e.condition=t,(a=>{var t,e,n,l;const i=y(a.key);(null==(e=null==(t=i._rawData)?void 0:t.accurateSearch)?void 0:e.switchEnable)&&(a.isAccurateSearch=!0,a.accurateSearchKey=null==(l=null==(n=i._rawData)?void 0:n.accurateSearch)?void 0:l.searchKey)})(e),(a=>{const t=y(a.key);a.value=(null==t?void 0:t.type)!==i.SELECT&&(null==t?void 0:t.type)!==i.SELECTDYNAMIC||(null==t?void 0:t.optionSetting)!==o.MULTIPLE?null:[],a.presetVal=a.timeVal=null})(e))};return{State:m,paramOptions:v,addFilterCondition:()=>{c.value.push({key:null,condition:null,value:null,presetVal:null,dynamicBaseList:[]})},delFilterCondition:a=>{c.value.splice(a,1)},updateKey:(a,t)=>{const e=c.value[a];e&&(e.key=t,C(a,l.EQUAL))},updateCondition:C,getParamCfg:y,initFilterConditions:async(a,t)=>{const n=await(async a=>{try{return s(d,p)}catch(a){return[]}})();m.params=n,c.value=r(t,e(m.params))},getRawFilterConditions:()=>u(n(c))}};export{c as useFilterConditions};
|
@@ -235,6 +235,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
235
235
|
allowedInvalidValue: {
|
236
236
|
type: StringConstructor;
|
237
237
|
};
|
238
|
+
to: {
|
239
|
+
type: PropType<string | false | HTMLElement>;
|
240
|
+
default: string;
|
241
|
+
};
|
238
242
|
}, {
|
239
243
|
attrs: {
|
240
244
|
[x: string]: unknown;
|
@@ -255,6 +259,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
255
259
|
allowedInvalidValue: {
|
256
260
|
type: StringConstructor;
|
257
261
|
};
|
262
|
+
to: {
|
263
|
+
type: PropType<string | false | HTMLElement>;
|
264
|
+
default: string;
|
265
|
+
};
|
258
266
|
}>> & {
|
259
267
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
260
268
|
}>>;
|
@@ -291,10 +299,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
291
299
|
allowedInvalidValue: {
|
292
300
|
type: StringConstructor;
|
293
301
|
};
|
302
|
+
to: {
|
303
|
+
type: PropType<string | false | HTMLElement>;
|
304
|
+
default: string;
|
305
|
+
};
|
294
306
|
}>> & {
|
295
307
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
296
308
|
}, {
|
297
309
|
updateUnchangedValue: boolean;
|
310
|
+
to: string | false | HTMLElement;
|
298
311
|
}>>;
|
299
312
|
NSelect: any;
|
300
313
|
WidgetValEnums: {
|
@@ -507,7 +520,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
507
520
|
default: null;
|
508
521
|
};
|
509
522
|
modelValue: {
|
510
|
-
type: (
|
523
|
+
type: PropType<import("../../../../../shared/types").AnyObject[]>;
|
511
524
|
default: null;
|
512
525
|
};
|
513
526
|
}, {
|
@@ -518,7 +531,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
518
531
|
default: null;
|
519
532
|
};
|
520
533
|
modelValue: {
|
521
|
-
type: (
|
534
|
+
type: PropType<import("../../../../../shared/types").AnyObject[]>;
|
522
535
|
default: null;
|
523
536
|
};
|
524
537
|
}>> & {
|
@@ -526,6 +539,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
526
539
|
}>>;
|
527
540
|
getDynamicSelectData: (params: any, filterApiConfig: any) => Promise<any>;
|
528
541
|
emit: (event: "update:modelValue", ...args: any[]) => void;
|
542
|
+
selectDynamicRef: any;
|
529
543
|
isLoading: import("vue").Ref<boolean>;
|
530
544
|
filterApiConfig: import("../../../../../shared/types").AnyObject;
|
531
545
|
classifyFilterList: import("vue").Ref<import("../../../../../shared/types").AnyObject[]>;
|
@@ -541,7 +555,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
541
555
|
isMultiple: import("vue").ComputedRef<boolean>;
|
542
556
|
dynamicOptionInfos: import("vue").ComputedRef<any>;
|
543
557
|
isLastPage: import("vue").ComputedRef<boolean>;
|
544
|
-
|
558
|
+
originList: import("vue").ComputedRef<any[]>;
|
559
|
+
valueCp: import("vue").ComputedRef<string | any[]>;
|
545
560
|
isInitRequest: import("vue").ComputedRef<boolean>;
|
546
561
|
setOptionActive: (selectIds: string[]) => void;
|
547
562
|
handleUpdateSelect: (value: string[] | null) => void;
|
@@ -557,8 +572,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
557
572
|
[key: string]: any;
|
558
573
|
}>;
|
559
574
|
init: () => void;
|
575
|
+
saveDynamicBaseList: (selectValue: any[] | null) => void;
|
560
576
|
NSelect: any;
|
561
577
|
SelectDynamicOption: import("vue").DefineComponent<{
|
578
|
+
oldValue: {
|
579
|
+
type: PropType<import("../../../../../shared/types").AnyObject[]>;
|
580
|
+
default: () => never[];
|
581
|
+
};
|
562
582
|
dynamicOptionInfo: {
|
563
583
|
type: PropType<import("../../../../../shared/types").AnyObject>;
|
564
584
|
default: () => {};
|
@@ -594,6 +614,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
594
614
|
}, {
|
595
615
|
selectMinWidth: number;
|
596
616
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
617
|
+
oldValue: {
|
618
|
+
type: PropType<import("../../../../../shared/types").AnyObject[]>;
|
619
|
+
default: () => never[];
|
620
|
+
};
|
597
621
|
dynamicOptionInfo: {
|
598
622
|
type: PropType<import("../../../../../shared/types").AnyObject>;
|
599
623
|
default: () => {};
|
@@ -682,6 +706,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
682
706
|
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<{}>>, {}>;
|
683
707
|
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<{}>>, {}>;
|
684
708
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("updateSelect" | "updatePage")[], "updateSelect" | "updatePage", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
709
|
+
oldValue: {
|
710
|
+
type: PropType<import("../../../../../shared/types").AnyObject[]>;
|
711
|
+
default: () => never[];
|
712
|
+
};
|
685
713
|
dynamicOptionInfo: {
|
686
714
|
type: PropType<import("../../../../../shared/types").AnyObject>;
|
687
715
|
default: () => {};
|
@@ -720,6 +748,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
720
748
|
}, {
|
721
749
|
isMultiple: boolean;
|
722
750
|
loading: boolean;
|
751
|
+
oldValue: import("../../../../../shared/types").AnyObject[];
|
723
752
|
dynamicOptionInfo: import("../../../../../shared/types").AnyObject;
|
724
753
|
fieldTitleList: import("../../../../../shared/types").AnyObject[];
|
725
754
|
optionList: import("../../../../../shared/types").AnyObject[];
|
@@ -733,13 +762,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
733
762
|
default: null;
|
734
763
|
};
|
735
764
|
modelValue: {
|
736
|
-
type: (
|
765
|
+
type: PropType<import("../../../../../shared/types").AnyObject[]>;
|
737
766
|
default: null;
|
738
767
|
};
|
739
768
|
}>> & {
|
740
769
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
741
770
|
}, {
|
742
|
-
modelValue:
|
771
|
+
modelValue: import("../../../../../shared/types").AnyObject[];
|
743
772
|
paramCfg: Record<string, any>;
|
744
773
|
}>;
|
745
774
|
InputNumberGroup: import("vue").DefineComponent<{
|
@@ -868,6 +897,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
868
897
|
allowedInvalidValue: {
|
869
898
|
type: StringConstructor;
|
870
899
|
};
|
900
|
+
to: {
|
901
|
+
type: PropType<string | false | HTMLElement>;
|
902
|
+
default: string;
|
903
|
+
};
|
871
904
|
}, {
|
872
905
|
attrs: {
|
873
906
|
[x: string]: unknown;
|
@@ -888,6 +921,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
888
921
|
allowedInvalidValue: {
|
889
922
|
type: StringConstructor;
|
890
923
|
};
|
924
|
+
to: {
|
925
|
+
type: PropType<string | false | HTMLElement>;
|
926
|
+
default: string;
|
927
|
+
};
|
891
928
|
}>> & {
|
892
929
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
893
930
|
}>>;
|
@@ -924,10 +961,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
924
961
|
allowedInvalidValue: {
|
925
962
|
type: StringConstructor;
|
926
963
|
};
|
964
|
+
to: {
|
965
|
+
type: PropType<string | false | HTMLElement>;
|
966
|
+
default: string;
|
967
|
+
};
|
927
968
|
}>> & {
|
928
969
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
929
970
|
}, {
|
930
971
|
updateUnchangedValue: boolean;
|
972
|
+
to: string | false | HTMLElement;
|
931
973
|
}>>;
|
932
974
|
WidgetValEnums: {
|
933
975
|
CUSTOM: string;
|
package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts
CHANGED
@@ -99,6 +99,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
99
99
|
allowedInvalidValue: {
|
100
100
|
type: StringConstructor;
|
101
101
|
};
|
102
|
+
to: {
|
103
|
+
type: PropType<string | false | HTMLElement>;
|
104
|
+
default: string;
|
105
|
+
};
|
102
106
|
}, {
|
103
107
|
attrs: {
|
104
108
|
[x: string]: unknown;
|
@@ -119,6 +123,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
119
123
|
allowedInvalidValue: {
|
120
124
|
type: StringConstructor;
|
121
125
|
};
|
126
|
+
to: {
|
127
|
+
type: PropType<string | false | HTMLElement>;
|
128
|
+
default: string;
|
129
|
+
};
|
122
130
|
}>> & {
|
123
131
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
124
132
|
}>>;
|
@@ -155,10 +163,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
155
163
|
allowedInvalidValue: {
|
156
164
|
type: StringConstructor;
|
157
165
|
};
|
166
|
+
to: {
|
167
|
+
type: PropType<string | false | HTMLElement>;
|
168
|
+
default: string;
|
169
|
+
};
|
158
170
|
}>> & {
|
159
171
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
160
172
|
}, {
|
161
173
|
updateUnchangedValue: boolean;
|
174
|
+
to: string | false | HTMLElement;
|
162
175
|
}>>;
|
163
176
|
DateQuickBtn: import("vue").DefineComponent<{
|
164
177
|
componentCfg: {
|
@@ -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
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
147
160
|
componentCfg: {
|
package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts
CHANGED
@@ -117,6 +117,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
117
117
|
allowedInvalidValue: {
|
118
118
|
type: StringConstructor;
|
119
119
|
};
|
120
|
+
to: {
|
121
|
+
type: PropType<string | false | HTMLElement>;
|
122
|
+
default: string;
|
123
|
+
};
|
120
124
|
}, {
|
121
125
|
attrs: {
|
122
126
|
[x: string]: unknown;
|
@@ -137,6 +141,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
137
141
|
allowedInvalidValue: {
|
138
142
|
type: StringConstructor;
|
139
143
|
};
|
144
|
+
to: {
|
145
|
+
type: PropType<string | false | HTMLElement>;
|
146
|
+
default: string;
|
147
|
+
};
|
140
148
|
}>> & {
|
141
149
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
142
150
|
}>>;
|
@@ -173,10 +181,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
173
181
|
allowedInvalidValue: {
|
174
182
|
type: StringConstructor;
|
175
183
|
};
|
184
|
+
to: {
|
185
|
+
type: PropType<string | false | HTMLElement>;
|
186
|
+
default: string;
|
187
|
+
};
|
176
188
|
}>> & {
|
177
189
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
178
190
|
}, {
|
179
191
|
updateUnchangedValue: boolean;
|
192
|
+
to: string | false | HTMLElement;
|
180
193
|
}>>;
|
181
194
|
DateQuickBtn: import("vue").DefineComponent<{
|
182
195
|
componentCfg: {
|
package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts
CHANGED
@@ -84,6 +84,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
84
84
|
allowedInvalidValue: {
|
85
85
|
type: StringConstructor;
|
86
86
|
};
|
87
|
+
to: {
|
88
|
+
type: 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: 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: 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:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
149
162
|
type: {
|