cnhis-design-vue 3.2.15-release.5 → 3.2.16-beta.17
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/src/components/ChatCard.js +1 -1
- package/es/components/branch-notice/src/canstants.js +1 -1
- package/es/components/button-print/index.d.ts +6 -13
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +6 -13
- package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +6 -13
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +1 -1
- package/es/components/button-print/style/index.css +1 -1
- package/es/components/callback/src/components/render/popupMaps.d.ts +10 -0
- package/es/components/date-picker/src/DatePicker.vue2.js +1 -1
- package/es/components/expand-field/index.d.ts +54 -1
- package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +54 -1
- package/es/components/expand-field/src/components/PersonModal.vue.d.ts +54 -1
- package/es/components/expand-field/src/components/form.vue.d.ts +54 -1
- package/es/components/expand-field/src/index.vue.d.ts +54 -1
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
- package/es/components/fabric-chart/src/interface.d.ts +1 -0
- package/es/components/field-set/src/FieldColor.vue.d.ts +1 -1
- package/es/components/field-set/src/FieldFilter.vue.d.ts +1 -1
- package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
- package/es/components/field-set/src/components/table-row.vue.d.ts +1 -1
- package/es/components/form-config/index.d.ts +177 -24
- package/es/components/form-config/src/FormConfig.vue.d.ts +177 -24
- package/es/components/form-config/src/FormConfig.vue2.js +1 -1
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +10 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +18 -0
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +220 -95
- package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +1 -1
- package/es/components/form-render/index.d.ts +10 -0
- package/es/components/form-render/src/FormRender.vue.d.ts +10 -0
- package/es/components/form-render/src/FormRender.vue2.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +10 -0
- package/es/components/form-render/src/components/renderer/formItem.js +1 -1
- package/es/components/form-render/src/components/renderer/input.d.ts +9 -1
- package/es/components/form-render/src/components/renderer/input.js +1 -1
- package/es/components/form-render/src/components/renderer/text.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/src/hooks/useFieldNormalize.js +1 -1
- package/es/components/form-render/src/types/fieldItem.d.ts +3 -1
- package/es/components/iho-chat/index.d.ts +182 -24
- package/es/components/iho-chat/src/Index.vue.d.ts +182 -24
- package/es/components/iho-chat/src/components/ChatAdd.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatFile.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +24 -12
- package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +150 -7
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +12 -6
- package/es/components/iho-chat/src/components/MessageEvent.vue.d.ts +137 -0
- package/es/components/iho-chat/src/components/MessageEvent.vue.js +1 -0
- package/es/components/iho-chat/src/components/MessageEvent.vue2.js +1 -0
- package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +6 -3
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +1 -1
- package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +13 -6
- package/es/components/iho-chat/src/components/PersonProfile.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/constants/index.d.ts +2 -1
- package/es/components/iho-chat/src/constants/index.js +1 -1
- package/es/components/iho-chat/src/hooks/useVideo.d.ts +2 -2
- package/es/components/iho-chat/src/hooks/useVideo.js +1 -1
- package/es/components/iho-chat/src/utils/asyncQueue.d.ts +10 -0
- package/es/components/iho-chat/src/utils/asyncQueue.js +1 -0
- package/es/components/iho-table/src/plugins/filterRenderPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/filterTextPlugin/filter.vue.d.ts +1 -0
- package/es/components/iho-table/src/plugins/filterTextPlugin/filter.vue2.js +1 -1
- package/es/components/iho-table/src/types/index.d.ts +17 -0
- package/es/components/iho-table/src/utils/index.js +1 -1
- package/es/components/index.css +1 -1
- package/es/components/info-header/index.d.ts +20 -0
- package/es/components/info-header/src/InfoHeader.vue.d.ts +20 -0
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +10 -0
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +10 -0
- package/es/components/select-person/index.d.ts +54 -1
- package/es/components/select-person/src/SelectPerson.vue.d.ts +29 -1
- package/es/components/select-person/src/SelectPerson.vue2.js +1 -1
- package/es/components/select-person/src/index.vue.d.ts +54 -1
- package/es/components/select-person/src/index.vue2.js +1 -1
- package/es/components/shortcut-setter/index.d.ts +12 -0
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +12 -0
- package/es/shared/hooks/useDateTime.js +1 -1
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -2
@@ -1 +1 @@
|
|
1
|
-
import{reactive as e,computed as a,watch as t,toRefs as l}from"vue";import{defaultBorderStyle as u}from"../useDraw.js";import"../../../../../shared/utils/fabricjs/index.js";import{useCumputedPoint as i}from"../useCumputedPoint.js";import{useCanvasEvent as n}from"../useEvent.js";import"../useShadow.js";import"../useCommon.js";import{setOtherType as r,isOneLine as o,getFloorNumber as s}from"../../utils/index.js";import{flatten as v}from"lodash-es";import{format as d,addDays as c}from"date-fns";import"naive-ui";import"../surgicalAnesthesia/useTop.js";import"@vueuse/core";import"../../constants/index.js";import"../surgicalAnesthesia/useOther.js";import"../../../../../shared/utils/index.js";import{useTop as h}from"./useTop.js";import{useLeft as p}from"./useLeft.js";import{useRight as g}from"./useRight.js";import{useCenter as m}from"./useCenter.js";import{useBottom as f}from"./useBottom.js";import{useOther as y}from"./useOther.js";function S(S,w,b,Y,j,x){const C=15,D=e({select:null,redrawPoints:null,clickMenu:null}),V=a((()=>{const{painSurplusCell:e=[0,0]}=w.data.grid||{};return~
|
1
|
+
import{reactive as e,computed as a,watch as t,toRefs as l}from"vue";import{defaultBorderStyle as u}from"../useDraw.js";import"../../../../../shared/utils/fabricjs/index.js";import{useCumputedPoint as i}from"../useCumputedPoint.js";import{useCanvasEvent as n}from"../useEvent.js";import"../useShadow.js";import"../useCommon.js";import{setOtherType as r,isOneLine as o,getFloorNumber as s}from"../../utils/index.js";import{flatten as v}from"lodash-es";import{format as d,addDays as c}from"date-fns";import"naive-ui";import"../surgicalAnesthesia/useTop.js";import"@vueuse/core";import"../../constants/index.js";import"../surgicalAnesthesia/useOther.js";import"../../../../../shared/utils/index.js";import{useTop as h}from"./useTop.js";import{useLeft as p}from"./useLeft.js";import{useRight as g}from"./useRight.js";import{useCenter as m}from"./useCenter.js";import{useBottom as f}from"./useBottom.js";import{useOther as y}from"./useOther.js";function S(S,w,b,Y,j,x){const C=15,D=e({select:null,redrawPoints:null,clickMenu:null}),V=a((()=>{const{painSurplusCell:e=[0,0]}=w.data.grid||{};return~Q.value?e:[0,0]})),H=a((()=>{var e,a;const t=(null==(a=null==(e=w.data.grid)?void 0:e.surplusCell)?void 0:a.slice())||[0,0,0,0];return 0===Q.value?t[0]=t[0]+V.value[1]:Q.value>0&&(t[2]=t[2]+V.value[0]),t})),P=a((()=>0===Q.value?[V.value[0],H.value[1],H.value[2],H.value[3]]:Q.value>0?[H.value[0],H.value[1],V.value[1],H.value[3]]:H.value)),X=a((()=>{const{top:e}=w.data;return e.date.show&&(e.date.height||C)||0})),L=a((()=>{var e;const{top:a}=w.data;return(null==(e=a.hospitalDays)?void 0:e.show)&&(a.hospitalDays.height||C)||0})),M=a((()=>{var e;const{top:a}=w.data;return(null==(e=a.operationDays)?void 0:e.show)&&(a.operationDays.height||C)||0})),I=a((()=>{var e,a,t;const{top:l}=w.data;return((null==(e=l.xScalevalue)?void 0:e.show)&&(l.xScalevalue.height||C)||0)+((null==(a=l.xScalevalue)?void 0:a.show)&&null!=(t=l.dayHeight)?t:0)})),O=a((()=>{var e;const{top:a}=w.data;return(null==(e=a.childbirthDays)?void 0:e.show)&&(a.childbirthDays.height||C)||0})),N=a((()=>{var e;const{bottom:a}=w.data;return(null==(e=null==a?void 0:a.breathing)?void 0:e.show)&&(a.breathing.height||30)||0})),k=a((()=>{const{grid:e}=w.data;return e.mainXCell*e.subXCell+H.value[1]+H.value[3]})),R=a((()=>{const{mainYCell:e,subYCell:a,painSubYCell:t=5}=w.data.grid,l=Q.value>0?V.value[1]:V.value[0];return(e-1)*a+t+H.value[0]+H.value[2]+l})),W=a((()=>{var e;const{width:a,right:t=null,top:l}=w.data;if(!t)return a;return a-(null!=(e=t.width)?e:0)})),$=a((()=>W.value-H.value[1]*z.value)),A=a((()=>{const{top:e,left:a}=w.data;return e.titleWidth+B.value})),T=a((()=>{const{bottom:e=null,height:a}=w.data;if(!e)return a;return a-(e.height||30)})),q=a((()=>{var e;const{top:a}=w.data,t=a.xScalevalue.show&&(null!=(e=a.dayHeight)?e:0)||0,l=a.xScalevalue.show&&(a.xScalevalue.height||C)||0;return X.value+t+l+L.value+M.value+O.value})),z=a((()=>(W.value-A.value)/k.value)),G=a((()=>(T.value-q.value)/R.value)),B=a((()=>{var e,a;const{left:t}=w.data;return(null==(e=t.icons)?void 0:e.show)&&((null==(a=t.icons)?void 0:a.width)||100)||0})),E=a((()=>{var e,a;const{top:t,grid:l}=w.data,u=(null==(a=null==(e=t.date.list)?void 0:e.slice)?void 0:a.call(e,0,l.mainXCell))||[],i=t.xScalevalue.times;let n=A.value-z.value;const r=t.date.startDate||d(new Date,"yyyy-MM-dd"),o=u.reduce(((e,a,t)=>0===t?e.concat(r):e.concat(d(c(new Date(r.replace(/-/g,"/")),t),"yyyy-MM-dd"))),[]).map((e=>i.map((a=>{n+=z.value;const t=Date.parse(`${e} ${a.start}`),l=Date.parse(`${e} ${a.end}`);return{start:t,end:l,left:n,center:n+z.value/2,scaleCell:(l-t)/z.value}}))));return v(o)})),F=a((()=>{var e;return(null==(e=w.data.grid)?void 0:e.event)||{selectable:!0,evented:!0,hovered:!0}})),J=a((()=>{const{left:e}=w.data;return v(e.yScaleValue.filter((e=>e.show)).map((e=>e.dataList.filter((e=>e.show)).map(((a,t)=>({...a,bigType:r(a.title,e.type),unit:e.unit,dataIndex:t,isOneLine:o(e)}))))))})),K=a((()=>{const{left:e}=w.data,a=e.yScaleValue.find((e=>"pain"===e.type));if(!a)return 0;const{numberVerticalPosition:t="bottom"}=a;return"center"===t?G.value/2:0})),Q=a((()=>{const{left:e}=w.data,a=e.yScaleValue.findIndex((e=>"pain"===e.type));return a>-1&&e.yScaleValue[a].show?a:-1})),U=a((()=>{const{painSubYCell:e=5}=w.data.grid;return-1===Q.value?0:G.value*e})),Z=a((()=>{const{left:e}=w.data,a={originY:q.value+V.value[0]*G.value,endY:T.value-V.value[1]*G.value-K.value};return 0===Q.value&&e.yScaleValue.length>1?a.endY=a.originY+U.value-K.value:Q.value===e.yScaleValue.length-1&&(a.originY=a.endY-U.value+K.value),a})),_=a((()=>{const{left:e}=w.data,a={originY:q.value+H.value[0]*G.value,endY:T.value-H.value[2]*G.value};return 0===Q.value&&e.yScaleValue.length>1?a.originY=Z.value.endY+K.value+H.value[0]*G.value:Q.value===e.yScaleValue.length-1&&(a.endY=Z.value.originY-H.value[2]*G.value),a})),ee=a((()=>{var e,a;const{top:t,grid:l}=w.data,u=[];for(const i in t)t[i].show&&u.push({...t[i],list:(null==(a=null==(e=t[i].list)?void 0:e.slice)?void 0:a.call(e,0,l.mainXCell))||[],key:i});return u.sort(((e,a)=>e.seq-a.seq))})),ae=a((()=>{var e;const{left:a,right:t}=w.data,l=a.yScaleValue.find((e=>"temperature"===e.type)),u=(null==t?void 0:t.yScaleValue)||{};if(null==(e=null==l?void 0:l.list)?void 0:e.length){const e=(null==u?void 0:u.showdetailedScale)?l.list.reduce((e=>{const a=e[e.length-1];return a?e.concat([a+1,a+2]):e.concat([92])}),[]):[],a=l.list.map((e=>s(1.8*e+32)));Object.assign(u,{list:a,detailedList:e,spaceGridNumber:l.spaceGridNumber})}return u})),te=e({canvasWidth:w.data.width,canvasHeight:w.data.height,borderStyle:{...u,...w.data.borderStyle||{}},selectionStyle:w.data.selectionStyle||{},dateHeight:X.value,hospitalDaysHeight:L.value,operationDaysHeight:M.value,xScalevalueHeight:I.value,childbirthDaysHeight:O.value,topList:ee.value,breathingHeight:N.value,hospitalizationDate:w.data.hospitalizationDate,grid:w.data.grid,top:w.data.top,left:w.data.left,right:w.data.right,bottom:w.data.bottom,other:w.data.other,painIndex:Q.value,painHeight:U.value,painOriginY:Z.value,vitalSignsOriginY:_.value,gridXNumber:k.value,gridYNumber:R.value,iconsWidth:B.value,originX:A.value,originY:q.value,endX:W.value,endXLimit:$.value,endY:T.value,xCellWidth:z.value,yCellHeight:G.value,xScaleList:E.value,event:F.value,itemList:J.value,getRightInfo:ae.value,config:w.data.config||{},surplusCell:H.value,painSurplusCell:V.value,mainSurplusCell:P.value,painScalePositionSurplusHeight:K.value}),{computedX:le,computedY:ue,getXValue:ie,getYValue:ne}=i(te);return t((()=>S.value),(e=>{e&&function(){h(S,te);const{setPopup:e,isAddPoint:a,updateData:t,redrawPoints:l,clickMenu:u,gridPoints:i,fixedNoRisePoints:r}=m(S,te,b,le,ue,ie,ne,w.addRenderItem,j,x);D.redrawPoints=l,D.clickMenu=u;const{drawScaleValue:o}=p(S,te,b,e,j,le,ue,ie,ne,a,t,i);g(S,te,o),f(S,te),y(S,te,b,le,ue,r);const{select:s}=n(S,te,b);D.select=s}()}),{immediate:!0}),{propItems:te,...l(D)}}export{S as useTemperatureChart};
|
@@ -532,9 +532,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
532
532
|
}>;
|
533
533
|
developMode: boolean;
|
534
534
|
draggable: boolean;
|
535
|
+
isHighlightRow: boolean;
|
535
536
|
idx: number;
|
536
537
|
isHighlight: boolean;
|
537
|
-
isHighlightRow: boolean;
|
538
538
|
isFieldSet: boolean;
|
539
539
|
fieldDescribeMode: "column" | "tooltip";
|
540
540
|
hideExpressionOption: AnyObject[];
|
@@ -561,9 +561,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
561
561
|
}>;
|
562
562
|
developMode: boolean;
|
563
563
|
draggable: boolean;
|
564
|
+
isHighlightRow: boolean;
|
564
565
|
idx: number;
|
565
566
|
isHighlight: boolean;
|
566
|
-
isHighlightRow: boolean;
|
567
567
|
isFieldSet: boolean;
|
568
568
|
fieldDescribeMode: "column" | "tooltip";
|
569
569
|
hideExpressionOption: AnyObject[];
|
@@ -720,9 +720,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
720
720
|
}>;
|
721
721
|
developMode: boolean;
|
722
722
|
draggable: boolean;
|
723
|
+
isHighlightRow: boolean;
|
723
724
|
idx: number;
|
724
725
|
isHighlight: boolean;
|
725
|
-
isHighlightRow: boolean;
|
726
726
|
isFieldSet: boolean;
|
727
727
|
fieldDescribeMode: "column" | "tooltip";
|
728
728
|
hideExpressionOption: AnyObject[];
|
@@ -383,9 +383,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
383
383
|
}>;
|
384
384
|
developMode: boolean;
|
385
385
|
draggable: boolean;
|
386
|
+
isHighlightRow: boolean;
|
386
387
|
idx: number;
|
387
388
|
isHighlight: boolean;
|
388
|
-
isHighlightRow: boolean;
|
389
389
|
isFieldSet: boolean;
|
390
390
|
fieldDescribeMode: "column" | "tooltip";
|
391
391
|
hideExpressionOption: AnyObject[];
|
@@ -615,6 +615,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
615
615
|
type: import("vue").PropType<"default" | "tooltip">;
|
616
616
|
default: string;
|
617
617
|
};
|
618
|
+
fixMemoLeak: {
|
619
|
+
type: BooleanConstructor;
|
620
|
+
};
|
618
621
|
}, {
|
619
622
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
620
623
|
fieldList: {
|
@@ -814,6 +817,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
814
817
|
type: import("vue").PropType<"default" | "tooltip">;
|
815
818
|
default: string;
|
816
819
|
};
|
820
|
+
fixMemoLeak: {
|
821
|
+
type: BooleanConstructor;
|
822
|
+
};
|
817
823
|
}>> & {
|
818
824
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
819
825
|
onScroll?: ((...args: any[]) => any) | undefined;
|
@@ -1371,6 +1377,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
1371
1377
|
type: import("vue").PropType<"default" | "tooltip">;
|
1372
1378
|
default: string;
|
1373
1379
|
};
|
1380
|
+
fixMemoLeak: {
|
1381
|
+
type: BooleanConstructor;
|
1382
|
+
};
|
1374
1383
|
}>> & {
|
1375
1384
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
1376
1385
|
onScroll?: ((...args: any[]) => any) | undefined;
|
@@ -1404,6 +1413,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
1404
1413
|
feedbackType: "default" | "tooltip";
|
1405
1414
|
operationalFormInit: boolean;
|
1406
1415
|
incrementalRender: boolean;
|
1416
|
+
fixMemoLeak: boolean;
|
1407
1417
|
}>;
|
1408
1418
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
1409
1419
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
@@ -1918,6 +1928,8 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
1918
1928
|
linebarDirection?: "horizontal" | "vertical" | undefined;
|
1919
1929
|
linebarTextDirection?: "horizontal" | "vertical" | undefined;
|
1920
1930
|
labelColor?: string | undefined;
|
1931
|
+
fieldTitleRed?: boolean | import("..").FormCommonState | undefined;
|
1932
|
+
fieldTitleColor?: string | undefined;
|
1921
1933
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
1922
1934
|
content?: string | import("..").FormRenderer | Record<string, import("..").FormRenderer> | undefined;
|
1923
1935
|
lazyRequest?: boolean | undefined;
|
@@ -2168,6 +2180,8 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
2168
2180
|
linebarDirection?: "horizontal" | "vertical" | undefined;
|
2169
2181
|
linebarTextDirection?: "horizontal" | "vertical" | undefined;
|
2170
2182
|
labelColor?: string | undefined;
|
2183
|
+
fieldTitleRed?: boolean | import("..").FormCommonState | undefined;
|
2184
|
+
fieldTitleColor?: string | undefined;
|
2171
2185
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
2172
2186
|
content?: string | import("..").FormRenderer | Record<string, import("..").FormRenderer> | undefined;
|
2173
2187
|
lazyRequest?: boolean | undefined;
|
@@ -2391,6 +2405,8 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
2391
2405
|
linebarDirection?: "horizontal" | "vertical" | undefined;
|
2392
2406
|
linebarTextDirection?: "horizontal" | "vertical" | undefined;
|
2393
2407
|
labelColor?: string | undefined;
|
2408
|
+
fieldTitleRed?: boolean | import("..").FormCommonState | undefined;
|
2409
|
+
fieldTitleColor?: string | undefined;
|
2394
2410
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
2395
2411
|
content?: string | import("..").FormRenderer | Record<string, import("..").FormRenderer> | undefined;
|
2396
2412
|
lazyRequest?: boolean | undefined;
|
@@ -2622,6 +2638,8 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
2622
2638
|
linebarDirection?: "horizontal" | "vertical" | undefined;
|
2623
2639
|
linebarTextDirection?: "horizontal" | "vertical" | undefined;
|
2624
2640
|
labelColor?: string | undefined;
|
2641
|
+
fieldTitleRed?: boolean | import("..").FormCommonState | undefined;
|
2642
|
+
fieldTitleColor?: string | undefined;
|
2625
2643
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
2626
2644
|
content?: string | import("..").FormRenderer | Record<string, import("..").FormRenderer> | undefined;
|
2627
2645
|
lazyRequest?: boolean | undefined;
|
@@ -2883,6 +2901,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
2883
2901
|
type: import("vue").PropType<"default" | "tooltip">;
|
2884
2902
|
default: string;
|
2885
2903
|
};
|
2904
|
+
fixMemoLeak: {
|
2905
|
+
type: BooleanConstructor;
|
2906
|
+
};
|
2886
2907
|
}, {
|
2887
2908
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
2888
2909
|
fieldList: {
|
@@ -3082,6 +3103,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
3082
3103
|
type: import("vue").PropType<"default" | "tooltip">;
|
3083
3104
|
default: string;
|
3084
3105
|
};
|
3106
|
+
fixMemoLeak: {
|
3107
|
+
type: BooleanConstructor;
|
3108
|
+
};
|
3085
3109
|
}>> & {
|
3086
3110
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
3087
3111
|
onScroll?: ((...args: any[]) => any) | undefined;
|
@@ -3639,6 +3663,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
3639
3663
|
type: import("vue").PropType<"default" | "tooltip">;
|
3640
3664
|
default: string;
|
3641
3665
|
};
|
3666
|
+
fixMemoLeak: {
|
3667
|
+
type: BooleanConstructor;
|
3668
|
+
};
|
3642
3669
|
}>> & {
|
3643
3670
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
3644
3671
|
onScroll?: ((...args: any[]) => any) | undefined;
|
@@ -3672,6 +3699,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
3672
3699
|
feedbackType: "default" | "tooltip";
|
3673
3700
|
operationalFormInit: boolean;
|
3674
3701
|
incrementalRender: boolean;
|
3702
|
+
fixMemoLeak: boolean;
|
3675
3703
|
}>;
|
3676
3704
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
3677
3705
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
@@ -3796,9 +3824,14 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
3796
3824
|
required: true;
|
3797
3825
|
default: () => never[];
|
3798
3826
|
};
|
3827
|
+
bindFormRenderRef: {
|
3828
|
+
type: null;
|
3829
|
+
required: true;
|
3830
|
+
};
|
3799
3831
|
}, {
|
3800
3832
|
props: {
|
3801
3833
|
modelValue: import("../../shared/types").LowCodeTypes.reactionConfig[];
|
3834
|
+
bindFormRenderRef: import("..").FormRenderExpose;
|
3802
3835
|
};
|
3803
3836
|
emit: (event: "update:modelValue" | "validateFailure", ...args: any[]) => void;
|
3804
3837
|
cssVars: import("vue").ComputedRef<import("../../shared/types").AnyObject>;
|
@@ -3850,46 +3883,152 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
3850
3883
|
removeCondition: (config: import("../../shared/types").LowCodeTypes.reactionConfig, index: number) => void;
|
3851
3884
|
onUpdateConditionType: (condition: import("../../shared/types").LowCodeTypes.reactionsConObj, type: import("../../shared/types").LowCodeTypes.VALUE_RELATION) => void;
|
3852
3885
|
showRef: import("vue").Ref<boolean>;
|
3886
|
+
addSetValueField: (item: import("../../shared/types").LowCodeTypes.reactionConfig) => void;
|
3853
3887
|
fieldListRef: import("vue").Ref<import("./src/types").FormConfigItem[]>;
|
3854
3888
|
fieldOptions: import("vue").ComputedRef<import("./src/types").FormConfigItem[]>;
|
3889
|
+
setValueTypes: string[];
|
3855
3890
|
setValueFieldOptions: import("vue").ComputedRef<import("./src/types").FormConfigItem[]>;
|
3856
3891
|
currentTypeList: string[];
|
3857
3892
|
dialog: import("naive-ui").DialogApi;
|
3858
3893
|
onNegativeClick: () => Promise<void>;
|
3859
3894
|
onPositiveClick: () => Promise<void>;
|
3860
3895
|
configValidate: () => Promise<void>;
|
3861
|
-
|
3862
|
-
|
3863
|
-
|
3864
|
-
|
3865
|
-
|
3866
|
-
|
3867
|
-
|
3868
|
-
}
|
3896
|
+
generateFieldListByKeys: (keyList: import("./src/constants").EditAbleField[], formConfigItem?: import("./src/types").FormConfigItem | undefined, fieldItem?: import("..").FieldItem | undefined) => import("..").FieldItem[];
|
3897
|
+
setValueFormFieldList: (field: string) => {
|
3898
|
+
alias: string;
|
3899
|
+
decoratorProps: {
|
3900
|
+
showFeedback: boolean;
|
3901
|
+
};
|
3902
|
+
val_key: string;
|
3903
|
+
html_type: "LINEBAR" | ({} & string) | "INPUT" | "TEXTAREA" | "SELECT" | "LINE_BREAKS" | "INPUT_NUMBER" | "REMOTE_SEARCH" | "DATE" | "LEVEL_SEARCH_CASCADER" | "SEARCH_CASCADER" | "COMBINATION" | "RADIO" | "CHECKBOX" | "SWITCH" | "SLIDER" | "COMPLEX" | "SEARCH" | "PHONE_TYPE" | "IDCARD_TYPE" | "SEARCH_MORE" | "DIGITAL" | "CHECKBOX_BLOCK" | "RADIO_BLOCK" | "DATE-INPUT" | "DATETIME-INPUT" | "SWITCH_COMPONENT" | "SLIDER_COMPONENT" | "LEVEL_SEARCH_CASCADE" | "SEARCH_CASCADE";
|
3904
|
+
annotation?: boolean | undefined;
|
3905
|
+
val_key_unit?: string | undefined;
|
3906
|
+
is_edit?: import("..").FormCommonState | undefined;
|
3907
|
+
elem_width?: number | undefined;
|
3908
|
+
is_show?: import("..").FormCommonState | undefined;
|
3909
|
+
is_null?: import("..").FormCommonState | undefined;
|
3910
|
+
name?: string | undefined;
|
3911
|
+
default_val?: any;
|
3912
|
+
is_empty?: import("..").FormCommonState | undefined;
|
3913
|
+
hide_title?: import("..").FormCommonState | undefined;
|
3914
|
+
placeholder?: string | undefined;
|
3915
|
+
validate?: Partial<{
|
3869
3916
|
[key: string]: any;
|
3870
|
-
|
3871
|
-
|
3872
|
-
|
3873
|
-
|
3874
|
-
|
3875
|
-
|
3876
|
-
|
3877
|
-
|
3917
|
+
obj_type: "password" | "sex" | "age" | "email" | "birthday" | "id_card" | "age_unit" | "mobile" | "telephone" | "bank_card" | "website" | "gestational_weeks" | "gestational_stage" | "customer_name";
|
3918
|
+
vali_obj: string;
|
3919
|
+
max_value: string | number;
|
3920
|
+
min_value: string | number;
|
3921
|
+
min_date: string;
|
3922
|
+
max_date: string;
|
3923
|
+
min_length: string | number;
|
3924
|
+
max_length: string | number;
|
3925
|
+
decimal_length: string | number;
|
3926
|
+
regular_expression: string | RegExp;
|
3927
|
+
regular_error_tip: string;
|
3928
|
+
message: string;
|
3929
|
+
}> | undefined;
|
3930
|
+
option?: import("..").FormOptionItem[] | undefined;
|
3931
|
+
multi_select?: import("..").FormCommonState | undefined;
|
3932
|
+
multi_select_value?: string | number | undefined;
|
3933
|
+
wordbook?: Partial<{
|
3934
|
+
level_num: number;
|
3935
|
+
id: string;
|
3936
|
+
name: string;
|
3937
|
+
render_key: string[];
|
3938
|
+
search_key: string[];
|
3939
|
+
value_key: string;
|
3940
|
+
queryParams: string[];
|
3941
|
+
primary_key: string;
|
3942
|
+
type: string;
|
3943
|
+
level_key: string;
|
3944
|
+
link_key: string;
|
3945
|
+
link_key_split: string;
|
3946
|
+
show_key: string | string[];
|
3947
|
+
conObj: import("../../shared/types").AnyObject[];
|
3948
|
+
conObjFirstLevel: import("../../shared/types").AnyObject[];
|
3949
|
+
setting: Partial<{
|
3950
|
+
cascading: {
|
3951
|
+
'form.name': string;
|
3952
|
+
value: string;
|
3953
|
+
}[];
|
3954
|
+
}>;
|
3955
|
+
}> | undefined;
|
3956
|
+
open?: import("../../shared/types").LowCodeTypes.switchProperty | undefined;
|
3957
|
+
close?: import("../../shared/types").LowCodeTypes.switchProperty | undefined;
|
3958
|
+
requiredReminderContent?: string | undefined;
|
3959
|
+
date_format?: string | undefined;
|
3960
|
+
step_length?: string | number | undefined;
|
3961
|
+
urlConfig?: import("..").UrlConfig | undefined;
|
3962
|
+
suffixConfig?: import("../../shared/types").ArrayAble<import("..").FieldItem> | undefined;
|
3963
|
+
prefixConfig?: import("../../shared/types").ArrayAble<import("..").FieldItem> | undefined;
|
3964
|
+
autograph?: string | undefined;
|
3965
|
+
defined_error_msg?: string | undefined;
|
3966
|
+
extendKey?: string | undefined;
|
3967
|
+
is_not_fold?: string | undefined;
|
3968
|
+
remark?: string | undefined;
|
3969
|
+
free_entry?: import("..").FormCommonState | undefined;
|
3970
|
+
save_free_entry?: import("..").FormCommonState | undefined;
|
3971
|
+
initialize_high?: number | undefined;
|
3972
|
+
bindEventSetting?: import("../../shared/types").LowCodeTypes.BindEventSettingItem[] | undefined;
|
3973
|
+
show_mode?: import("../../shared/types").LowCodeTypes.showModeType | undefined;
|
3974
|
+
is_allow_check_mid?: import("..").FormCommonState | undefined;
|
3975
|
+
allow_check_mid_level?: "1" | "2" | "3" | "4" | undefined;
|
3976
|
+
prefix?: string | import("../../shared/types").AnyObject | (() => any) | undefined;
|
3977
|
+
suffix?: string | import("../../shared/types").AnyObject | (() => any) | undefined;
|
3978
|
+
allowSlash?: string | boolean | undefined;
|
3979
|
+
allowModify?: import("..").FormCommonState | undefined;
|
3980
|
+
show_key?: string | undefined;
|
3981
|
+
whiteList?: string[] | undefined;
|
3982
|
+
bordered?: string | boolean | undefined;
|
3983
|
+
displayMode?: "form" | "table" | undefined;
|
3984
|
+
editor_title?: string | undefined;
|
3985
|
+
editor_title_mode?: "EMBEDDED_FORM" | "HOVER_TOOLTIP" | "POPUP_ALERT" | undefined;
|
3986
|
+
linebarWidth?: string | undefined;
|
3987
|
+
linebarDirection?: "horizontal" | "vertical" | undefined;
|
3988
|
+
linebarTextDirection?: "horizontal" | "vertical" | undefined;
|
3989
|
+
labelColor?: string | undefined;
|
3990
|
+
fieldTitleRed?: boolean | import("..").FormCommonState | undefined;
|
3991
|
+
fieldTitleColor?: string | undefined;
|
3992
|
+
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
3993
|
+
content?: string | import("..").FormRenderer | Record<string, import("..").FormRenderer> | undefined;
|
3994
|
+
lazyRequest?: boolean | undefined;
|
3995
|
+
requestCache?: boolean | undefined;
|
3996
|
+
maxGroupNum?: number | undefined;
|
3997
|
+
minGroupNum?: number | undefined;
|
3998
|
+
jsonCombination?: boolean | undefined;
|
3999
|
+
combinationItemDeletable?: boolean | import("..").CombinationItemDeletableFn | undefined;
|
4000
|
+
children?: import("..").FieldItem[] | undefined;
|
4001
|
+
properties?: import("..").FieldItem[] | undefined;
|
4002
|
+
componentProps?: import("../../shared/types").AnyObject | undefined;
|
4003
|
+
noDecorator?: Boolean | undefined;
|
4004
|
+
display?: "flex" | "grid" | undefined;
|
4005
|
+
slots?: Record<string, (...args: unknown[]) => unknown> | undefined;
|
4006
|
+
wrapperStyle?: Record<string, string | number> | undefined;
|
4007
|
+
childFieldStrategy?: "checked" | "all" | undefined;
|
4008
|
+
childWidthMode?: "inner" | "outer" | undefined;
|
4009
|
+
validator?: ((value: unknown, fieldItem: import("..").FieldItem, field: import("@formily/core").Field<any, any, any, any>) => string | void) | undefined;
|
4010
|
+
reactions?: import("../../shared/types").ArrayAble<import("..").ReactionType> | undefined;
|
4011
|
+
}[];
|
4012
|
+
removeSetValueField: (item: import("../../shared/types").LowCodeTypes.reactionConfig, index: number) => void;
|
4013
|
+
onFormChange: (payload: import("..").FormChangePayload, item: {
|
4014
|
+
field: string;
|
4015
|
+
value: string;
|
4016
|
+
}) => void;
|
3878
4017
|
HelpCircleSharp: 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<{}>>, {}>;
|
3879
4018
|
NButton: any;
|
3880
|
-
NModal: any;
|
3881
|
-
NSpace: any;
|
3882
|
-
NScrollbar: any;
|
3883
|
-
NThing: any;
|
3884
|
-
NInputGroup: any;
|
3885
|
-
NSelect: any;
|
3886
|
-
NInput: any;
|
3887
4019
|
NCollapse: any;
|
3888
4020
|
NCollapseItem: any;
|
3889
4021
|
NEllipsis: any;
|
3890
4022
|
NEmpty: any;
|
3891
|
-
NTooltip: any;
|
3892
4023
|
NIcon: any;
|
4024
|
+
NInput: any;
|
4025
|
+
NInputGroup: any;
|
4026
|
+
NModal: any;
|
4027
|
+
NScrollbar: any;
|
4028
|
+
NSelect: any;
|
4029
|
+
NSpace: any;
|
4030
|
+
NThing: any;
|
4031
|
+
NTooltip: any;
|
3893
4032
|
conditionTypeOptions: {
|
3894
4033
|
value: import("../../shared/types").LowCodeTypes.VALUE_RELATION;
|
3895
4034
|
label: string;
|
@@ -4102,6 +4241,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
4102
4241
|
type: import("vue").PropType<"default" | "tooltip">;
|
4103
4242
|
default: string;
|
4104
4243
|
};
|
4244
|
+
fixMemoLeak: {
|
4245
|
+
type: BooleanConstructor;
|
4246
|
+
};
|
4105
4247
|
}, {
|
4106
4248
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
4107
4249
|
fieldList: {
|
@@ -4301,6 +4443,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
4301
4443
|
type: import("vue").PropType<"default" | "tooltip">;
|
4302
4444
|
default: string;
|
4303
4445
|
};
|
4446
|
+
fixMemoLeak: {
|
4447
|
+
type: BooleanConstructor;
|
4448
|
+
};
|
4304
4449
|
}>> & {
|
4305
4450
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
4306
4451
|
onScroll?: ((...args: any[]) => any) | undefined;
|
@@ -4858,6 +5003,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
4858
5003
|
type: import("vue").PropType<"default" | "tooltip">;
|
4859
5004
|
default: string;
|
4860
5005
|
};
|
5006
|
+
fixMemoLeak: {
|
5007
|
+
type: BooleanConstructor;
|
5008
|
+
};
|
4861
5009
|
}>> & {
|
4862
5010
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
4863
5011
|
onScroll?: ((...args: any[]) => any) | undefined;
|
@@ -4891,6 +5039,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
4891
5039
|
feedbackType: "default" | "tooltip";
|
4892
5040
|
operationalFormInit: boolean;
|
4893
5041
|
incrementalRender: boolean;
|
5042
|
+
fixMemoLeak: boolean;
|
4894
5043
|
}>;
|
4895
5044
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
4896
5045
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "validateFailure")[], "update:modelValue" | "validateFailure", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
@@ -4899,6 +5048,10 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
4899
5048
|
required: true;
|
4900
5049
|
default: () => never[];
|
4901
5050
|
};
|
5051
|
+
bindFormRenderRef: {
|
5052
|
+
type: null;
|
5053
|
+
required: true;
|
5054
|
+
};
|
4902
5055
|
}>> & {
|
4903
5056
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
4904
5057
|
onValidateFailure?: ((...args: any[]) => any) | undefined;
|