cnhis-design-vue 3.1.54-beta.3 → 3.1.54-beta.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.
Files changed (40) hide show
  1. package/es/components/callback/src/components/render/popupMaps.d.ts +17 -8
  2. package/es/components/fabric-chart/src/hooks/electrocardiogram/hooks/useDetailEvent.js +1 -1
  3. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.js +1 -1
  4. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +1 -1
  5. package/es/components/fabric-chart/src/hooks/electrocardiogram/useMeasureInstrument.js +1 -1
  6. package/es/components/form-config/index.d.ts +72 -54
  7. package/es/components/form-config/src/FormConfig.vue.d.ts +73 -55
  8. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +17 -8
  9. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +29 -20
  10. package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +12 -12
  11. package/es/components/form-config/src/constants/index.d.ts +4 -4
  12. package/es/components/form-config/src/types/index.d.ts +3 -3
  13. package/es/components/form-render/index.d.ts +17 -8
  14. package/es/components/form-render/src/FormRender.vue.d.ts +18 -9
  15. package/es/components/form-render/src/FormRender.vue2.js +1 -1
  16. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +17 -8
  17. package/es/components/form-render/src/components/renderer/date.js +1 -1
  18. package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +4 -4
  19. package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +2 -2
  20. package/es/components/form-render/src/hooks/useLowCodeReactions.d.ts +2 -2
  21. package/es/components/form-render/src/hooks/useOperationalForm.d.ts +2 -2
  22. package/es/components/form-render/src/types/fieldItem.d.ts +3 -3
  23. package/es/components/form-render/src/types/index.d.ts +3 -3
  24. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +1 -0
  25. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +1 -1
  26. package/es/components/iho-table/src/types/index.d.ts +5 -5
  27. package/es/components/info-header/index.d.ts +44 -26
  28. package/es/components/info-header/src/InfoHeader.vue.d.ts +44 -26
  29. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +2 -2
  30. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +2 -2
  31. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +19 -10
  32. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +17 -8
  33. package/es/components/shortcut-setter/index.d.ts +19 -10
  34. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +19 -10
  35. package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
  36. package/es/shared/hooks/useLevelSearchCascader.d.ts +2 -2
  37. package/es/shared/package.json.js +1 -1
  38. package/es/shared/types/business.d.ts +61 -53
  39. package/es/shared/utils/business.d.ts +7 -7
  40. package/package.json +2 -2
@@ -132,10 +132,13 @@ export declare const CallbackMaps: Map<string, {
132
132
  default: boolean;
133
133
  };
134
134
  lowCodeReactions: {
135
- type: import("vue").PropType<import("../../../..").FormLowCodeReactions.Config[]>;
135
+ type: import("vue").PropType<import("../../../..").LowCodeTypes.reactionsConfig[]>;
136
136
  };
137
137
  operationalForm: {
138
- type: import("vue").PropType<import("../../../..").FormOperationalConfig[]>;
138
+ type: import("vue").PropType<import("../../../..").LowCodeTypes.operationalConfig[]>;
139
+ };
140
+ dateOperationalForm: {
141
+ type: ObjectConstructor;
139
142
  };
140
143
  linebarAutoHidden: {
141
144
  type: BooleanConstructor;
@@ -281,10 +284,13 @@ export declare const CallbackMaps: Map<string, {
281
284
  default: boolean;
282
285
  };
283
286
  lowCodeReactions: {
284
- type: import("vue").PropType<import("../../../..").FormLowCodeReactions.Config[]>;
287
+ type: import("vue").PropType<import("../../../..").LowCodeTypes.reactionsConfig[]>;
285
288
  };
286
289
  operationalForm: {
287
- type: import("vue").PropType<import("../../../..").FormOperationalConfig[]>;
290
+ type: import("vue").PropType<import("../../../..").LowCodeTypes.operationalConfig[]>;
291
+ };
292
+ dateOperationalForm: {
293
+ type: ObjectConstructor;
288
294
  };
289
295
  linebarAutoHidden: {
290
296
  type: BooleanConstructor;
@@ -455,11 +461,11 @@ export declare const CallbackMaps: Map<string, {
455
461
  businessFormatter: import("../../../../../../es/components/form-render").FormBusinessFormatter;
456
462
  requestInstance: import("../../../..").FormRequestDefine.RequestInstance;
457
463
  enterToNextWidget: boolean | ((fieldItem: import("../../../../../../es/components/form-render").FieldItem) => boolean | void);
458
- lowCodeReactions: import("../../../..").FormLowCodeReactions.Config[];
464
+ lowCodeReactions: import("../../../..").LowCodeTypes.reactionsConfig[];
459
465
  linebarAutoHidden: boolean;
460
466
  bordered: string | boolean;
461
467
  uniqueCacheData: boolean;
462
- operationalForm: import("../../../..").FormOperationalConfig[];
468
+ operationalForm: import("../../../..").LowCodeTypes.operationalConfig[];
463
469
  outBordered: boolean;
464
470
  forceClearable: boolean;
465
471
  }>) => Record<string, import("@formily/json-schema").Stringify<{
@@ -873,10 +879,13 @@ export declare const CallbackMaps: Map<string, {
873
879
  default: boolean;
874
880
  };
875
881
  lowCodeReactions: {
876
- type: import("vue").PropType<import("../../../..").FormLowCodeReactions.Config[]>;
882
+ type: import("vue").PropType<import("../../../..").LowCodeTypes.reactionsConfig[]>;
877
883
  };
878
884
  operationalForm: {
879
- type: import("vue").PropType<import("../../../..").FormOperationalConfig[]>;
885
+ type: import("vue").PropType<import("../../../..").LowCodeTypes.operationalConfig[]>;
886
+ };
887
+ dateOperationalForm: {
888
+ type: ObjectConstructor;
880
889
  };
881
890
  linebarAutoHidden: {
882
891
  type: BooleanConstructor;
@@ -1 +1 @@
1
- import{fabric as e}from"../../../../../../shared/utils/fabricjs/index.js";import{defaultStyle as t}from"../../useDraw.js";import"date-fns";import"lodash-es";import"../../useEvent.js";import"vue";import"../../temperature/useShadow.js";import"naive-ui";import"@vueuse/core";import{POLYLINE_BASIC_SCALE as n,DETAIL_RADIUS as o}from"../constants/index.js";function r(r,{scale:l,beforeEvent:s,endY:i,endX:a,showScaleText:u,showNumberText:f}){let p=null;function c(){var e;p&&(null==(e=r.canvas)||e.remove(p)),p=null}r.on("mousedown",(async y=>{var d,h;if(await(null==s?void 0:s()),1!==y.button||!y.target||!y.pointer)return;const w=y.target;if(!w.points)return;const{x:m,y:x}=y.pointer,v=(m-(w.left||0))/n;let g=v-o,b=v+o;g<=0?(g=0,b=Math.min(2*o,w.points.length-1)):b>=w.points.length-1&&(b=w.points.length-1,g=Math.max(w.points.length-2*o,0));const k=w.points.slice(g,b).map((({y:e},t)=>({x:t,y:e}))),j=v-g;let T=0,S=0;k.forEach(((e,t)=>{e.y>k[T].y&&(T=t),e.y<k[S].y&&(S=t)}));const $=n*l*o*2-1,E=n*l*(k[T].y-k[S].y)-1,G=E+30+70,L={x:a-m<=$?m-$:m,y:i-x<=G?x-G:x};c(),p=new e.Group;const W=[new e.Rect({...t,left:L.x,top:L.y,width:$,height:G,stroke:"transparent",fill:"#fff",shadow:new e.Shadow({color:"rgba(0, 0, 0, 0.3)",blur:15,offsetX:8,offsetY:8})}),(z=k,new e.Polyline(z,{...t,fill:"transparent",stroke:"red",strokeWidth:3,scaleX:n*l,scaleY:n*l,left:L.x,top:L.y+30})),function(n,o){const r={strokeDashArray:[3,4],width:3,top:L.y},l=new e.Line(a(n[T]),{...t,...r,left:L.x+T/n.length*$,stroke:"red"}),s=new e.Line(a(n[S]),{...t,...r,stroke:"blue",left:L.x+S/n.length*$}),i=new e.Line(a(n[o]),{...t,...r,stroke:"green",left:L.x+o/n.length*$});return new e.Group([l,s,i]);function a(e){return[e.x,e.y,e.x,e.y-G]}}(k,j),(X=k,Y=j,new e.Circle({...t,radius:5,fill:"transparent",stroke:"green",strokeWidth:1,left:L.x+Y/X.length*$-5,top:L.y+(X[Y].y-X[S].y)/(X[T].y-X[S].y)*E-5+30}))];var X,Y,z;u&&W.push(new e.Text(`x${l}`,{...t,fill:"black",fontSize:20,left:L.x+10,top:L.y+G-30})),f&&W.push(function(n,o){const r={fontSize:16,left:L.x+$/2+10},l=new e.Text(`最大: ${n[T].y} mv`,{...t,...r,fill:"red",top:L.y+G-20}),s=new e.Text(`最小: ${n[S].y} mv`,{...t,...r,fill:"blue",top:L.y+G-40}),i=new e.Text(`当前: ${n[o].y} mv`,{...t,...r,fill:"green",top:L.y+G-60});return new e.Group([l,s,i])}(k,j)),p.add(...W).addWithUpdate(),null==(d=r.canvas)||d.add(p),null==(h=r.canvas)||h.discardActiveObject()})),r.on("mouseup",(async e=>{await(null==s?void 0:s()),1===e.button&&c()}))}export{r as useDetailEvent};
1
+ import{fabric as t}from"../../../../../../shared/utils/fabricjs/index.js";import{defaultStyle as e}from"../../useDraw.js";import"date-fns";import"lodash-es";import"../../useEvent.js";import"vue";import"../../temperature/useShadow.js";import"naive-ui";import"@vueuse/core";import{POLYLINE_BASIC_SCALE as n,DETAIL_RADIUS as o}from"../constants/index.js";function r(r,{scale:s,beforeEvent:i,endY:l,endX:a,showScaleText:u,showNumberText:p}){let f=null;function c(){var t;f&&(null==(t=r.canvas)||t.remove(f)),f=null}r.on("mousedown",(async p=>{var d,h;if(await(null==i?void 0:i()),1!==p.button||!p.target||!p.pointer)return;const y=p.target;if(!y.points)return;const{x:m,y:w}=p.pointer,x=(m-(y.left||0))/n;let v=x-o,g=x+o;v<=0?(v=0,g=Math.min(2*o,y.points.length-1)):g>=y.points.length-1&&(g=y.points.length-1,v=Math.max(y.points.length-2*o,0));const b=y.points.slice(v,g).map((({y:t},e)=>({x:e,y:t}))),k=x-v;let j=0,S=0;b.forEach(((t,e)=>{t.y>b[j].y&&(j=e),t.y<b[S].y&&(S=e)}));const E=n*s*o*2-1,L=n*s*(b[j].y-b[S].y)-1,T=L+30+70,W={x:a-m<=E?m-E:m,y:l-w<=T?w-T:w};c(),f=new t.Group;const X=[new t.Rect({...e,left:W.x,top:W.y,width:E,height:T,stroke:"transparent",fill:"#fff",shadow:new t.Shadow({color:"rgba(0, 0, 0, 0.3)",blur:15,offsetX:8,offsetY:8})}),(D=b,new t.Polyline(D,{...e,fill:"transparent",stroke:"red",strokeWidth:3,scaleX:n*s,scaleY:n*s,left:W.x,top:W.y+30})),function(n,o){const r={strokeDashArray:[3,4],width:3,top:W.y},s=new t.Line(a(n[j]),{...e,...r,left:W.x+j/n.length*E,stroke:"red"}),i=new t.Line(a(n[S]),{...e,...r,stroke:"blue",left:W.x+S/n.length*E}),l=new t.Line(a(n[o]),{...e,...r,stroke:"green",left:W.x+o/n.length*E});return new t.Group([s,i,l]);function a(t){return[t.x,t.y,t.x,t.y-T]}}(b,k),(Y=b,A=k,new t.Circle({...e,radius:5,fill:"transparent",stroke:"green",strokeWidth:1,left:W.x+A/Y.length*E-5,top:W.y+(Y[A].y-Y[S].y)/(Y[j].y-Y[S].y)*L-5+30}))];var Y,A,D;u&&X.push(new t.Text(`x${s}`,{...e,fill:"black",fontSize:20,left:W.x+10,top:W.y+T-30})),f.add(...X).addWithUpdate(),null==(d=r.canvas)||d.add(f),null==(h=r.canvas)||h.discardActiveObject()})),r.on("mouseup",(async t=>{await(null==i?void 0:i()),1===t.button&&c()}))}export{r as useDetailEvent};
@@ -1 +1 @@
1
- import{fabric as e}from"../../../../../shared/utils/fabricjs/index.js";import{useThrottleFn as t}from"@vueuse/core";import{range as r}from"lodash-es";import{useDetailEvent as o}from"./hooks/useDetailEvent.js";import{defaultTextStyle as n,drawLine as i}from"../useDraw.js";import{useGrid as s}from"../useGrid.js";import"date-fns";import"../useEvent.js";import"vue";import"../temperature/useShadow.js";import"naive-ui";import{POLYLINE_BASIC_SCALE as a}from"./constants/index.js";function l(l,d,c){const{borderStyle:u,originX:h,originY:f,xCellWidth:m,endY:p,yCellHeight:g,endX:v,canvasWidth:x,canvasHeight:w,dataList:j,columnNumber:k}=d,S=new Set,Y=new Set;function b(t=0){j.forEach(((r,o)=>{if(o===j.length-1&&arguments.length)return;const{x:i,y:s}=r.origin,l=~~(r.data.length/k),d=r.data.reduce(((e,r,n)=>{const i=o<12&&n>=t&&n<=t+l||12===o?[{x:e.length+1,y:p-+r}]:[];return e.concat(i)}),[]),c=new e.Polyline(d,{fill:"transparent",stroke:"red",strokeWidth:10,left:i,top:s,scaleX:a,scaleY:a,originY:"center",hasControls:!1,hasBorders:!1,hoverCursor:"default",lockMovementX:!0,lockMovementY:!0});if(y(c),c.startIdx=t,o<j.length-1?S.add(c):Y.add(c),arguments.length)return;const u=new e.Text(String(r.title),{...n,left:i+m,top:s-2*g,originX:"left",originY:"top"});Y.add(u)}));const r=arguments.length?[...S]:[...S,...Y];l.value.add(...r)}function y(e,{scale:t=4,showScaleText:r=!0,showNumberText:n=!0}={}){o(e,{scale:t,endX:v,endY:p,showNumberText:n,showScaleText:r,beforeEvent:()=>c.value&&Promise.reject()})}s(l,d),function(){const{strokeWidth:t}=u,r=new e.Rect({...u,width:x-t,height:w-t,left:h,top:f,fill:"transparent"});l.value.add(r)}(),function(){const e=x/k,t=[];r(k).forEach((r=>{if(r+1>=k)return;const o=(r+1)*e,n=i([o,0,o,w],{stroke:"#000"});t.push(n)})),l.value.add(...t)}(),b();return{updatePolyline:t((e=>{if(1===k)return;const t=j[j.length-1].data.length,r=~~(t/k),o=e/100*t-r/2,n=o+r>t?t-r:Math.max(0,o);if(S.size){const[e]=[...S];if(e.startIdx===n)return;[...S].forEach((e=>l.value.remove(e))),S.clear()}requestAnimationFrame((()=>{b(n)}))}),200)}}export{l as useElectrocardiogram};
1
+ import{fabric as e}from"../../../../../shared/utils/fabricjs/index.js";import{useThrottleFn as t}from"@vueuse/core";import{range as r}from"lodash-es";import{useDetailEvent as o}from"./hooks/useDetailEvent.js";import{defaultTextStyle as n,drawLine as i}from"../useDraw.js";import{useGrid as s}from"../useGrid.js";import"date-fns";import"../useEvent.js";import"vue";import"../temperature/useShadow.js";import"naive-ui";import{POLYLINE_BASIC_SCALE as a}from"./constants/index.js";function l(l,c,d){const{borderStyle:u,originX:h,originY:f,xCellWidth:m,endY:p,yCellHeight:g,endX:v,canvasWidth:x,canvasHeight:w,dataList:j,columnNumber:b}=c,k=new Set,S=new Set;function Y(t=0){j.forEach(((r,o)=>{if(o===j.length-1&&arguments.length)return;const{x:i,y:s}=r.origin,l=~~(r.data.length/b),c=r.data.reduce(((e,r,n)=>{const i=o<12&&n>=t&&n<=t+l||12===o?[{x:e.length+1,y:p-+r}]:[];return e.concat(i)}),[]),d=new e.Polyline(c,{fill:"transparent",stroke:"red",strokeWidth:10,left:i,top:s,scaleX:a,scaleY:a,originY:"center",hasControls:!1,hasBorders:!1,hoverCursor:"default",lockMovementX:!0,lockMovementY:!0,objectCaching:!0});if(y(d),d.startIdx=t,o<j.length-1?k.add(d):S.add(d),arguments.length)return;const u=new e.Text(String(r.title),{...n,left:i+m,top:s-2*g,originX:"left",originY:"top"});S.add(u)}));const r=arguments.length?[...k]:[...k,...S];l.value.add(...r)}function y(e,{scale:t=4,showScaleText:r=!0,showNumberText:n=!0}={}){o(e,{scale:t,endX:v,endY:p,showNumberText:n,showScaleText:r,beforeEvent:()=>d.value&&Promise.reject()})}s(l,c),function(){const{strokeWidth:t}=u,r=new e.Rect({...u,width:x-t,height:w-t,left:h,top:f,fill:"transparent"});l.value.add(r)}(),function(){const e=x/b,t=[];r(b).forEach((r=>{if(r+1>=b)return;const o=(r+1)*e,n=i([o,0,o,w],{stroke:"#000"});t.push(n)})),l.value.add(...t)}(),Y();return{updatePolyline:t((t=>{if(1===b)return;const r=j[j.length-1].data.length,o=~~(r/b),n=t/100*r-o/2,i=n+o>r?r-o:Math.max(0,n);e.util.requestAnimFrame((()=>{if(k.size){const[e]=[...k];if(e.startIdx===i)return;[...k].forEach((e=>l.value.remove(e))),k.clear()}Y(i)}))}),150)}}export{l as useElectrocardiogram};
@@ -1 +1 @@
1
- import{ref as e,computed as a,reactive as t,unref as r,watch as u}from"vue";import{defaultBorderStyle as i}from"../useDraw.js";import"../../../../../shared/utils/fabricjs/index.js";import"date-fns";import"lodash-es";import"../useEvent.js";import"../temperature/useShadow.js";import"naive-ui";import"@vueuse/core";import{useElectrocardiogram as l}from"./useElectrocardiogram.js";import{useMeasureInstrument as d}from"./useMeasureInstrument.js";function o(o,s,n,v,m,p){const g=e(),c=e(),h=e(),f=e(),C=a((()=>s.data.width)),b=a((()=>s.data.height)),j=a((()=>(C.value-0)/w.value)),y=a((()=>(b.value-0)/x.value)),w=a((()=>s.data.grid.mainXCell)),x=a((()=>s.data.grid.mainYCell)),M=a((()=>{var e;return(null==(e=s.data.grid)?void 0:e.event)||{selectable:!0,evented:!0}})),R=a((()=>{const{mode:e="2-6"}=s.data;return e.split("-").map((e=>+e))[0]})),X=a((()=>{const{dataList:e,width:a}=s.data,t=a/R.value,r=4*y.value,u=3*y.value;return e.map(((e,a)=>{const i=a%R.value,l=Math.floor(a/R.value);return{...e,origin:{x:i*t,y:l*r+u}}}))})),Y=t({canvasWidth:s.data.width,canvasHeight:s.data.height,borderStyle:{...i,...s.data.borderStyle||{}},grid:s.data.grid,originX:0,endX:C.value,originY:0,endY:b.value,xCellWidth:j.value,yCellHeight:y.value,gridXNumber:w.value,gridYNumber:x.value,event:M.value,dataList:X.value,columnNumber:r(R)});return u((()=>o.value),(e=>{e&&function(){const{useMeasureRuler:e,flag:a,useCaliper:t,useCaliperRuler:r}=d(o,Y),{updatePolyline:u}=l(o,Y,a);c.value=e,h.value=t,f.value=r,g.value=u}()}),{immediate:!0}),{propItems:Y,updatePolyline:g,useMeasureRuler:c,useCaliper:h,useCaliperRuler:f}}export{o as useElectrocardiogramChart};
1
+ import{ref as e,computed as a,reactive as r,unref as t,watch as u}from"vue";import{defaultBorderStyle as l}from"../useDraw.js";import"../../../../../shared/utils/fabricjs/index.js";import"date-fns";import"lodash-es";import"../useEvent.js";import"../temperature/useShadow.js";import"naive-ui";import"@vueuse/core";import{useElectrocardiogram as i}from"./useElectrocardiogram.js";import{useMeasureInstrument as o}from"./useMeasureInstrument.js";function d(d,n,s,m,v,p){const c=e(),g=e(),h=e(),b=e(),f=a((()=>n.data.width)),C=a((()=>n.data.height)),N=a((()=>(f.value-0)/w.value)),j=a((()=>(C.value-0)/y.value)),w=a((()=>n.data.grid.mainXCell)),y=a((()=>n.data.grid.mainYCell)),x=a((()=>{var e;return(null==(e=n.data.grid)?void 0:e.event)||{selectable:!0,evented:!0}})),M=a((()=>{const{mode:e="2-6"}=n.data,[a,r]=e.split("-").map((e=>+e));return{columnNumber:a,rowNumber:r}})),R=a((()=>{const{dataList:e,width:a}=n.data,{columnNumber:r,rowNumber:t}=M.value,u=a/r,l=4*j.value,i=3*j.value;return e.map(((a,r)=>{const o=r===e.length-1?t:r%t;return{...a,origin:{x:(r===e.length-1?0:Math.floor(r/t))*u,y:o*l+i}}}))})),X=r({canvasWidth:n.data.width,canvasHeight:n.data.height,borderStyle:{...l,...n.data.borderStyle||{}},grid:n.data.grid,originX:0,endX:f.value,originY:0,endY:C.value,xCellWidth:N.value,yCellHeight:j.value,gridXNumber:w.value,gridYNumber:y.value,event:x.value,dataList:R.value,columnNumber:t(M).columnNumber});return u((()=>d.value),(e=>{e&&function(){const{useMeasureRuler:e,flag:a,useCaliper:r,useCaliperRuler:t}=o(d,X),{updatePolyline:u}=i(d,X,a);g.value=e,h.value=r,b.value=t,c.value=u}()}),{immediate:!0}),{propItems:X,updatePolyline:c,useMeasureRuler:g,useCaliper:h,useCaliperRuler:b}}export{d as useElectrocardiogramChart};
@@ -1 +1 @@
1
- import{ref as e}from"vue";import{fabric as t}from"../../../../../shared/utils/fabricjs/index.js";import{drawLine as o,drawText as r}from"../useDraw.js";import"date-fns";import"lodash-es";import"../useEvent.js";import"../temperature/useShadow.js";import"naive-ui";import"@vueuse/core";function i(i,n){const{borderStyle:l,grid:s,originX:u,originY:a,xCellWidth:f,endY:d,yCellHeight:c,endX:h,canvasWidth:v,rightAddAreaWidth:p,canvasHeight:g,dataList:x,columnNumber:m}=n,C=e(!1),y={origin:{x:0,y:0},line:null,rendering:!1},L={origin:{x:300,y:0},caliper:{width:100,height:60,rect:null},caliperRuler:{width:230,height:120,rect:null}};function b(e){k();const{width:o,height:n,rect:l}=L[e];if(l)return;const{x:s,y:u}=L.origin,a=L.caliper.height;L[e].rect=new t.Rect({left:s+2,top:u,width:o-4,height:n,strokeWidth:0,fill:"transparent",hasControls:!1,hasBorders:!1,hoverCursor:"default"});const f={hasControls:!1,hasBorders:!1,stroke:"blue",strokeWidth:2,__type:e},d=new t.Line([s,u,s,n],{...f,lockMovementY:!0}),c=new t.Line([s+o,u,s+o,n],{...f,lockMovementY:!0}),h=new t.Line([s,a,s+o,a],{...f,lockMovementX:!0,evented:"caliper"===e}),v=r([s,h.top+10],{value:w(h.x1,h.x2),fill:"blue",originX:"left",originY:"top"});d.rect=L[e].rect,c.rect=L[e].rect,h.rect=L[e].rect,Object.assign(L[e].rect,{leftLine:d,rightLine:c,horizontalLine:h,text:v}),function(e,t){e.on("moving",(()=>{const{leftLine:o,rightLine:r,horizontalLine:i,text:n}=e;null==o||o.setCoords().set({x1:e.left-2,y1:e.top,x2:e.left-2,y2:e.top+e.height}),null==r||r.setCoords().set({x1:e.left+e.width,y1:e.top,x2:e.left+e.width,y2:e.top+e.height});const l="caliper"===t?e.top+e.height:e.top+e.height/2;null==i||i.setCoords().set({x1:e.left-2,y1:l,x2:e.left+e.width,y2:l}),n.setCoords().set({left:e.left,top:l+10})})),e.on("mouseup",(t=>{1===t.button&&(i.value.discardActiveObject(),e.leftLine.bringToFront(),e.rightLine.bringToFront(),e.horizontalLine.bringToFront())}))}(L[e].rect,e),j(d,"left"),j(c,"right"),"caliper"===e&&j(h,"horizontal"),i.value.add(L[e].rect,d,c,h,v)}function w(e,t){var o;return`${`${null!=(o=(6e4/(t-e)*10).toFixed(2))?o:0}bpm`}\n${10*(t-e)+"ms"}`}function j(e,t){e.on("moving",(()=>{const{rect:o}=e;if(!o)return;const{leftLine:r,rightLine:i,horizontalLine:n,text:l}=o;if("horizontal"===t)return e.top<=o.top+1?e.setCoords().set({y1:o.top+1,y2:o.top+1}):e.setCoords().set({y1:e.top,y2:e.top}),o.setCoords().set({height:e.top-o.top}),null==r||r.setCoords().set({y2:e.top}),null==i||i.setCoords().set({y2:e.top}),void l.setCoords().set({top:e.top+10});"left"===t&&(e.left>=i.left-1?e.setCoords().set({x1:i.left-1,x2:i.left-1}):e.setCoords().set({x1:e.left,x2:e.left}),o.setCoords().set({left:e.left+2,width:i.left-e.left-4}),n.setCoords().set({x1:e.left}),l.setCoords().set({left:e.left})),"right"===t&&(e.left<=r.left+1?e.setCoords().set({x1:r.left+1,x2:r.left+1}):e.setCoords().set({x1:e.left,x2:e.left}),o.setCoords().set({width:e.left-r.left-4}),n.setCoords().set({x2:e.left})),l.set("text",w(n.x1,n.x2))}))}function k(){Object.values(L).forEach((e=>{const{rect:t}=e;t&&(i.value.remove(t),i.value.remove(t.leftLine),i.value.remove(t.rightLine),i.value.remove(t.horizontalLine),i.value.remove(t.text),e.rect=null)})),y.line&&(i.value.remove(y.line),y.line.text&&i.value.remove(y.line.text),y.line=null)}return i.value.on("mouse:down",(e=>{if(1===e.button&&C.value){const{x:t=0,y:o=0}=e.pointer||{};y.origin={x:t,y:o},y.rendering=!0}})),i.value.on("mouse:up",(e=>{const{button:t}=e;1===t&&C.value&&setTimeout((()=>{C.value=!1,y.rendering=!1})),3===t&&k()})),i.value.on("mouse:move",(e=>{var t;if(1===e.button&&C.value&&y.rendering){const{x:n=0,y:l=0}=e.pointer||{};y.line&&i.value.remove(y.line),(null==(t=y.line)?void 0:t.text)&&i.value.remove(y.line.text);const{x:s,y:u}=y.origin;y.line=o([s,u,n,l],{stroke:"blue"});const a=r([n,l+2*c],{value:`${-(l-u)/4+"mv"}\n${10*(n-s)+"ms"}`,fill:"blue"});y.line.text=a,i.value.add(y.line,a)}})),{flag:C,useMeasureRuler:function(){C.value||(C.value=!0)},useCaliper:function(){b("caliper")},useCaliperRuler:function(){b("caliperRuler")}}}export{i as useMeasureInstrument};
1
+ import{ref as e}from"vue";import{fabric as t}from"../../../../../shared/utils/fabricjs/index.js";import{drawLine as o,drawText as r}from"../useDraw.js";import"date-fns";import"lodash-es";import"../useEvent.js";import"../temperature/useShadow.js";import"naive-ui";import"@vueuse/core";function i(i,l){const{yCellHeight:n}=l,s=e(!1),u={origin:{x:0,y:0},line:null,rendering:!1},a={origin:{x:300,y:0},caliper:{width:100,height:60,rect:null},caliperRuler:{width:230,height:120,rect:null}};function f(e){v();const{width:o,height:l,rect:n}=a[e];if(n)return;const{x:s,y:u}=a.origin,f=a.caliper.height;a[e].rect=new t.Rect({left:s+2,top:u,width:o-4,height:l,strokeWidth:0,fill:"transparent",hasControls:!1,hasBorders:!1,hoverCursor:"move"});const d={hasControls:!1,hasBorders:!1,hoverCursor:"e-resize",stroke:"blue",strokeWidth:2,__type:e},p=new t.Line([s,u,s,l],{...d,lockMovementY:!0}),x=new t.Line([s+o,u,s+o,l],{...d,lockMovementY:!0}),m=new t.Line([s,f,s+o,f],{...d,lockMovementX:!0,evented:"caliper"===e,hoverCursor:"caliper"===e?"n-resize":"default"}),g=r([s,m.top+10],{value:c(m.x1,m.x2),fill:"blue",originX:"left",originY:"top"});p.rect=a[e].rect,x.rect=a[e].rect,m.rect=a[e].rect,Object.assign(a[e].rect,{leftLine:p,rightLine:x,horizontalLine:m,text:g}),function(e,t){e.on("moving",(()=>{const{leftLine:o,rightLine:r,horizontalLine:i,text:l}=e;null==o||o.setCoords().set({x1:e.left-2,y1:e.top,x2:e.left-2,y2:e.top+e.height}),null==r||r.setCoords().set({x1:e.left+e.width,y1:e.top,x2:e.left+e.width,y2:e.top+e.height});const n="caliper"===t?e.top+e.height:e.top+e.height/2;null==i||i.setCoords().set({x1:e.left-2,y1:n,x2:e.left+e.width,y2:n}),l.setCoords().set({left:e.left,top:n+10})})),e.on("mouseup",(t=>{1===t.button&&(i.value.discardActiveObject(),e.leftLine.bringToFront(),e.rightLine.bringToFront(),e.horizontalLine.bringToFront())}))}(a[e].rect,e),h(p,"left"),h(x,"right"),"caliper"===e&&h(m,"horizontal"),i.value.add(a[e].rect,p,x,m,g)}function c(e,t){var o;return`${`${null!=(o=(6e4/(t-e)*10).toFixed(2))?o:0}bpm`}\n${10*(t-e)+"ms"}`}function h(e,t){e.on("moving",(()=>{const{rect:o}=e;if(!o)return;const{leftLine:r,rightLine:i,horizontalLine:l,text:n}=o;if("horizontal"===t)return e.top<=o.top+1?e.setCoords().set({y1:o.top+1,y2:o.top+1}):e.setCoords().set({y1:e.top,y2:e.top}),o.setCoords().set({height:e.top-o.top}),null==r||r.setCoords().set({y2:e.top}),null==i||i.setCoords().set({y2:e.top}),void n.setCoords().set({top:e.top+10});"left"===t&&(e.left>=i.left-1?e.setCoords().set({x1:i.left-1,x2:i.left-1}):e.setCoords().set({x1:e.left,x2:e.left}),o.setCoords().set({left:e.left+2,width:i.left-e.left-4}),l.setCoords().set({x1:e.left}),n.setCoords().set({left:e.left})),"right"===t&&(e.left<=r.left+1?e.setCoords().set({x1:r.left+1,x2:r.left+1}):e.setCoords().set({x1:e.left,x2:e.left}),o.setCoords().set({width:e.left-r.left-4}),l.setCoords().set({x2:e.left})),n.set("text",c(l.x1,l.x2))}))}function v(){Object.values(a).forEach((e=>{const{rect:t}=e;t&&(i.value.remove(t),i.value.remove(t.leftLine),i.value.remove(t.rightLine),i.value.remove(t.horizontalLine),i.value.remove(t.text),e.rect=null)})),u.line&&(i.value.remove(u.line),u.line.text&&i.value.remove(u.line.text),u.line=null)}return i.value.on("mouse:down",(e=>{if(1===e.button&&s.value){const{x:t=0,y:o=0}=e.pointer||{};u.origin={x:t,y:o},u.rendering=!0}})),i.value.on("mouse:up",(e=>{const{button:t}=e;1===t&&s.value&&setTimeout((()=>{s.value=!1,u.rendering=!1})),3===t&&v()})),i.value.on("mouse:move",(e=>{var t;if(1===e.button&&s.value&&u.rendering){const{x:l=0,y:s=0}=e.pointer||{};u.line&&i.value.remove(u.line),(null==(t=u.line)?void 0:t.text)&&i.value.remove(u.line.text);const{x:a,y:f}=u.origin;u.line=o([a,f,l,s],{stroke:"blue"});const c=r([l,s+2*n],{value:`${-(s-f)/4+"mv"}\n${10*(l-a)+"ms"}`,fill:"blue"});u.line.text=c,i.value.add(u.line,c)}})),{flag:s,useMeasureRuler:function(){s.value||(s.value=!0)},useCaliper:function(){f("caliper")},useCaliperRuler:function(){f("caliperRuler")}}}export{i as useMeasureInstrument};
@@ -102,11 +102,11 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
102
102
  businessFormatter: import("..").FormBusinessFormatter;
103
103
  requestInstance: import("..").FormRequestDefine.RequestInstance;
104
104
  enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
105
- lowCodeReactions: import("../../../es/shared/types").FormLowCodeReactions.Config[];
105
+ lowCodeReactions: import("../../../es/shared/types").LowCodeTypes.reactionsConfig[];
106
106
  linebarAutoHidden: boolean;
107
107
  bordered: string | boolean;
108
108
  uniqueCacheData: boolean;
109
- operationalForm: import("../../../es/shared/types").FormOperationalConfig[];
109
+ operationalForm: import("../../../es/shared/types").LowCodeTypes.operationalConfig[];
110
110
  outBordered: boolean;
111
111
  forceClearable: boolean;
112
112
  }>>>;
@@ -213,11 +213,11 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
213
213
  businessFormatter: import("..").FormBusinessFormatter;
214
214
  requestInstance: import("..").FormRequestDefine.RequestInstance;
215
215
  enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
216
- lowCodeReactions: import("../../../es/shared/types").FormLowCodeReactions.Config[];
216
+ lowCodeReactions: import("../../../es/shared/types").LowCodeTypes.reactionsConfig[];
217
217
  linebarAutoHidden: boolean;
218
218
  bordered: string | boolean;
219
219
  uniqueCacheData: boolean;
220
- operationalForm: import("../../../es/shared/types").FormOperationalConfig[];
220
+ operationalForm: import("../../../es/shared/types").LowCodeTypes.operationalConfig[];
221
221
  outBordered: boolean;
222
222
  forceClearable: boolean;
223
223
  }>>>;
@@ -376,12 +376,12 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
376
376
  initialize_high?: number | undefined;
377
377
  bindEventSetting?: {
378
378
  [x: string]: unknown;
379
- event_type: import("../../../es/shared/types").LOW_CODE_EVENT_TYPE;
379
+ event_type: import("../../../es/shared/types").LowCodeTypes.EVENT_TYPE;
380
380
  event_field?: string | undefined;
381
381
  params?: {
382
382
  p_value?: string | undefined;
383
383
  p_name: string;
384
- p_select: import("../../../es/shared/types").LOW_CODE_VALUE_RELATION;
384
+ p_select: import("../../../es/shared/types").LowCodeTypes.VALUE_RELATION;
385
385
  }[] | undefined;
386
386
  results?: {
387
387
  p_value: string;
@@ -2124,12 +2124,12 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
2124
2124
  initialize_high?: number | undefined;
2125
2125
  bindEventSetting?: {
2126
2126
  [x: string]: unknown;
2127
- event_type: import("../../../es/shared/types").LOW_CODE_EVENT_TYPE;
2127
+ event_type: import("../../../es/shared/types").LowCodeTypes.EVENT_TYPE;
2128
2128
  event_field?: string | undefined;
2129
2129
  params?: {
2130
2130
  p_value?: string | undefined;
2131
2131
  p_name: string;
2132
- p_select: import("../../../es/shared/types").LOW_CODE_VALUE_RELATION;
2132
+ p_select: import("../../../es/shared/types").LowCodeTypes.VALUE_RELATION;
2133
2133
  }[] | undefined;
2134
2134
  results?: {
2135
2135
  p_value: string;
@@ -3738,7 +3738,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
3738
3738
  }[]>;
3739
3739
  lowCodeReactionsRef: import("vue").Ref<{
3740
3740
  conObj: {
3741
- con: import("../../../es/shared/types").LOW_CODE_VALUE_RELATION;
3741
+ con: import("../../../es/shared/types").LowCodeTypes.VALUE_RELATION;
3742
3742
  field_key: string;
3743
3743
  value: unknown;
3744
3744
  }[];
@@ -3909,12 +3909,12 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
3909
3909
  initialize_high?: number | undefined;
3910
3910
  bindEventSetting?: {
3911
3911
  [x: string]: unknown;
3912
- event_type: import("../../../es/shared/types").LOW_CODE_EVENT_TYPE;
3912
+ event_type: import("../../../es/shared/types").LowCodeTypes.EVENT_TYPE;
3913
3913
  event_field?: string | undefined;
3914
3914
  params?: {
3915
3915
  p_value?: string | undefined;
3916
3916
  p_name: string;
3917
- p_select: import("../../../es/shared/types").LOW_CODE_VALUE_RELATION;
3917
+ p_select: import("../../../es/shared/types").LowCodeTypes.VALUE_RELATION;
3918
3918
  }[] | undefined;
3919
3919
  results?: {
3920
3920
  p_value: string;
@@ -5657,12 +5657,12 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
5657
5657
  initialize_high?: number | undefined;
5658
5658
  bindEventSetting?: {
5659
5659
  [x: string]: unknown;
5660
- event_type: import("../../../es/shared/types").LOW_CODE_EVENT_TYPE;
5660
+ event_type: import("../../../es/shared/types").LowCodeTypes.EVENT_TYPE;
5661
5661
  event_field?: string | undefined;
5662
5662
  params?: {
5663
5663
  p_value?: string | undefined;
5664
5664
  p_name: string;
5665
- p_select: import("../../../es/shared/types").LOW_CODE_VALUE_RELATION;
5665
+ p_select: import("../../../es/shared/types").LowCodeTypes.VALUE_RELATION;
5666
5666
  }[] | undefined;
5667
5667
  results?: {
5668
5668
  p_value: string;
@@ -7491,10 +7491,13 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
7491
7491
  default: boolean;
7492
7492
  };
7493
7493
  lowCodeReactions: {
7494
- type: import("vue").PropType<import("../../../es/shared/types").FormLowCodeReactions.Config[]>;
7494
+ type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.reactionsConfig[]>;
7495
7495
  };
7496
7496
  operationalForm: {
7497
- type: import("vue").PropType<import("../../../es/shared/types").FormOperationalConfig[]>;
7497
+ type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.operationalConfig[]>;
7498
+ };
7499
+ dateOperationalForm: {
7500
+ type: ObjectConstructor;
7498
7501
  };
7499
7502
  linebarAutoHidden: {
7500
7503
  type: BooleanConstructor;
@@ -7640,10 +7643,13 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
7640
7643
  default: boolean;
7641
7644
  };
7642
7645
  lowCodeReactions: {
7643
- type: import("vue").PropType<import("../../../es/shared/types").FormLowCodeReactions.Config[]>;
7646
+ type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.reactionsConfig[]>;
7644
7647
  };
7645
7648
  operationalForm: {
7646
- type: import("vue").PropType<import("../../../es/shared/types").FormOperationalConfig[]>;
7649
+ type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.operationalConfig[]>;
7650
+ };
7651
+ dateOperationalForm: {
7652
+ type: ObjectConstructor;
7647
7653
  };
7648
7654
  linebarAutoHidden: {
7649
7655
  type: BooleanConstructor;
@@ -7814,11 +7820,11 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
7814
7820
  businessFormatter: import("..").FormBusinessFormatter;
7815
7821
  requestInstance: import("..").FormRequestDefine.RequestInstance;
7816
7822
  enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
7817
- lowCodeReactions: import("../../../es/shared/types").FormLowCodeReactions.Config[];
7823
+ lowCodeReactions: import("../../../es/shared/types").LowCodeTypes.reactionsConfig[];
7818
7824
  linebarAutoHidden: boolean;
7819
7825
  bordered: string | boolean;
7820
7826
  uniqueCacheData: boolean;
7821
- operationalForm: import("../../../es/shared/types").FormOperationalConfig[];
7827
+ operationalForm: import("../../../es/shared/types").LowCodeTypes.operationalConfig[];
7822
7828
  outBordered: boolean;
7823
7829
  forceClearable: boolean;
7824
7830
  }>) => Record<string, import("@formily/json-schema").Stringify<{
@@ -8232,10 +8238,13 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
8232
8238
  default: boolean;
8233
8239
  };
8234
8240
  lowCodeReactions: {
8235
- type: import("vue").PropType<import("../../../es/shared/types").FormLowCodeReactions.Config[]>;
8241
+ type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.reactionsConfig[]>;
8236
8242
  };
8237
8243
  operationalForm: {
8238
- type: import("vue").PropType<import("../../../es/shared/types").FormOperationalConfig[]>;
8244
+ type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.operationalConfig[]>;
8245
+ };
8246
+ dateOperationalForm: {
8247
+ type: ObjectConstructor;
8239
8248
  };
8240
8249
  linebarAutoHidden: {
8241
8250
  type: BooleanConstructor;
@@ -8476,11 +8485,11 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
8476
8485
  businessFormatter: import("..").FormBusinessFormatter;
8477
8486
  requestInstance: import("..").FormRequestDefine.RequestInstance;
8478
8487
  enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
8479
- lowCodeReactions: import("../../../es/shared/types").FormLowCodeReactions.Config[];
8488
+ lowCodeReactions: import("../../../es/shared/types").LowCodeTypes.reactionsConfig[];
8480
8489
  linebarAutoHidden: boolean;
8481
8490
  bordered: string | boolean;
8482
8491
  uniqueCacheData: boolean;
8483
- operationalForm: import("../../../es/shared/types").FormOperationalConfig[];
8492
+ operationalForm: import("../../../es/shared/types").LowCodeTypes.operationalConfig[];
8484
8493
  outBordered: boolean;
8485
8494
  forceClearable: boolean;
8486
8495
  }>>>;
@@ -8578,11 +8587,11 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
8578
8587
  businessFormatter: import("..").FormBusinessFormatter;
8579
8588
  requestInstance: import("..").FormRequestDefine.RequestInstance;
8580
8589
  enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
8581
- lowCodeReactions: import("../../../es/shared/types").FormLowCodeReactions.Config[];
8590
+ lowCodeReactions: import("../../../es/shared/types").LowCodeTypes.reactionsConfig[];
8582
8591
  linebarAutoHidden: boolean;
8583
8592
  bordered: string | boolean;
8584
8593
  uniqueCacheData: boolean;
8585
- operationalForm: import("../../../es/shared/types").FormOperationalConfig[];
8594
+ operationalForm: import("../../../es/shared/types").LowCodeTypes.operationalConfig[];
8586
8595
  outBordered: boolean;
8587
8596
  forceClearable: boolean;
8588
8597
  }>>>;
@@ -8711,12 +8720,12 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
8711
8720
  initialize_high?: number | undefined;
8712
8721
  bindEventSetting?: {
8713
8722
  [x: string]: unknown;
8714
- event_type: import("../../../es/shared/types").LOW_CODE_EVENT_TYPE;
8723
+ event_type: import("../../../es/shared/types").LowCodeTypes.EVENT_TYPE;
8715
8724
  event_field?: string | undefined;
8716
8725
  params?: {
8717
8726
  p_value?: string | undefined;
8718
8727
  p_name: string;
8719
- p_select: import("../../../es/shared/types").LOW_CODE_VALUE_RELATION;
8728
+ p_select: import("../../../es/shared/types").LowCodeTypes.VALUE_RELATION;
8720
8729
  }[] | undefined;
8721
8730
  results?: {
8722
8731
  p_value: string;
@@ -10470,12 +10479,12 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
10470
10479
  initialize_high?: number | undefined;
10471
10480
  bindEventSetting?: {
10472
10481
  [x: string]: unknown;
10473
- event_type: import("../../../es/shared/types").LOW_CODE_EVENT_TYPE;
10482
+ event_type: import("../../../es/shared/types").LowCodeTypes.EVENT_TYPE;
10474
10483
  event_field?: string | undefined;
10475
10484
  params?: {
10476
10485
  p_value?: string | undefined;
10477
10486
  p_name: string;
10478
- p_select: import("../../../es/shared/types").LOW_CODE_VALUE_RELATION;
10487
+ p_select: import("../../../es/shared/types").LowCodeTypes.VALUE_RELATION;
10479
10488
  }[] | undefined;
10480
10489
  results?: {
10481
10490
  p_value: string;
@@ -12202,12 +12211,12 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
12202
12211
  initialize_high?: number | undefined;
12203
12212
  bindEventSetting?: {
12204
12213
  [x: string]: unknown;
12205
- event_type: import("../../../es/shared/types").LOW_CODE_EVENT_TYPE;
12214
+ event_type: import("../../../es/shared/types").LowCodeTypes.EVENT_TYPE;
12206
12215
  event_field?: string | undefined;
12207
12216
  params?: {
12208
12217
  p_value?: string | undefined;
12209
12218
  p_name: string;
12210
- p_select: import("../../../es/shared/types").LOW_CODE_VALUE_RELATION;
12219
+ p_select: import("../../../es/shared/types").LowCodeTypes.VALUE_RELATION;
12211
12220
  }[] | undefined;
12212
12221
  results?: {
12213
12222
  p_value: string;
@@ -13953,10 +13962,13 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
13953
13962
  default: boolean;
13954
13963
  };
13955
13964
  lowCodeReactions: {
13956
- type: import("vue").PropType<import("../../../es/shared/types").FormLowCodeReactions.Config[]>;
13965
+ type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.reactionsConfig[]>;
13957
13966
  };
13958
13967
  operationalForm: {
13959
- type: import("vue").PropType<import("../../../es/shared/types").FormOperationalConfig[]>;
13968
+ type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.operationalConfig[]>;
13969
+ };
13970
+ dateOperationalForm: {
13971
+ type: ObjectConstructor;
13960
13972
  };
13961
13973
  linebarAutoHidden: {
13962
13974
  type: BooleanConstructor;
@@ -14102,10 +14114,13 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
14102
14114
  default: boolean;
14103
14115
  };
14104
14116
  lowCodeReactions: {
14105
- type: import("vue").PropType<import("../../../es/shared/types").FormLowCodeReactions.Config[]>;
14117
+ type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.reactionsConfig[]>;
14106
14118
  };
14107
14119
  operationalForm: {
14108
- type: import("vue").PropType<import("../../../es/shared/types").FormOperationalConfig[]>;
14120
+ type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.operationalConfig[]>;
14121
+ };
14122
+ dateOperationalForm: {
14123
+ type: ObjectConstructor;
14109
14124
  };
14110
14125
  linebarAutoHidden: {
14111
14126
  type: BooleanConstructor;
@@ -14276,11 +14291,11 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
14276
14291
  businessFormatter: import("..").FormBusinessFormatter;
14277
14292
  requestInstance: import("..").FormRequestDefine.RequestInstance;
14278
14293
  enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
14279
- lowCodeReactions: import("../../../es/shared/types").FormLowCodeReactions.Config[];
14294
+ lowCodeReactions: import("../../../es/shared/types").LowCodeTypes.reactionsConfig[];
14280
14295
  linebarAutoHidden: boolean;
14281
14296
  bordered: string | boolean;
14282
14297
  uniqueCacheData: boolean;
14283
- operationalForm: import("../../../es/shared/types").FormOperationalConfig[];
14298
+ operationalForm: import("../../../es/shared/types").LowCodeTypes.operationalConfig[];
14284
14299
  outBordered: boolean;
14285
14300
  forceClearable: boolean;
14286
14301
  }>) => Record<string, import("@formily/json-schema").Stringify<{
@@ -14694,10 +14709,13 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
14694
14709
  default: boolean;
14695
14710
  };
14696
14711
  lowCodeReactions: {
14697
- type: import("vue").PropType<import("../../../es/shared/types").FormLowCodeReactions.Config[]>;
14712
+ type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.reactionsConfig[]>;
14698
14713
  };
14699
14714
  operationalForm: {
14700
- type: import("vue").PropType<import("../../../es/shared/types").FormOperationalConfig[]>;
14715
+ type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.operationalConfig[]>;
14716
+ };
14717
+ dateOperationalForm: {
14718
+ type: ObjectConstructor;
14701
14719
  };
14702
14720
  linebarAutoHidden: {
14703
14721
  type: BooleanConstructor;
@@ -14828,11 +14846,11 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
14828
14846
  businessFormatter: import("..").FormBusinessFormatter;
14829
14847
  requestInstance: import("..").FormRequestDefine.RequestInstance;
14830
14848
  enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
14831
- lowCodeReactions: import("../../../es/shared/types").FormLowCodeReactions.Config[];
14849
+ lowCodeReactions: import("../../../es/shared/types").LowCodeTypes.reactionsConfig[];
14832
14850
  linebarAutoHidden: boolean;
14833
14851
  bordered: string | boolean;
14834
14852
  uniqueCacheData: boolean;
14835
- operationalForm: import("../../../es/shared/types").FormOperationalConfig[];
14853
+ operationalForm: import("../../../es/shared/types").LowCodeTypes.operationalConfig[];
14836
14854
  outBordered: boolean;
14837
14855
  forceClearable: boolean;
14838
14856
  }>>>;
@@ -14846,13 +14864,13 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
14846
14864
  };
14847
14865
  }, {
14848
14866
  props: {
14849
- modelValue: import("../../../es/shared/types").FormLowCodeReactions.Config[];
14867
+ modelValue: import("../../../es/shared/types").LowCodeTypes.reactionsConfig[];
14850
14868
  };
14851
14869
  emit: (event: "update:modelValue" | "validateFailure", ...args: any[]) => void;
14852
14870
  cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
14853
14871
  valueRef: import("vue").Ref<{
14854
14872
  conObj: {
14855
- con: import("../../../es/shared/types").LOW_CODE_VALUE_RELATION;
14873
+ con: import("../../../es/shared/types").LowCodeTypes.VALUE_RELATION;
14856
14874
  field_key: string;
14857
14875
  value: unknown;
14858
14876
  }[];
@@ -14881,17 +14899,17 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
14881
14899
  expandedName: import("vue").Ref<string>;
14882
14900
  addConnection: () => void;
14883
14901
  removeConnection: (index: number) => void;
14884
- getOppositeBtnText: (item: import("../../../es/shared/types").FormLowCodeReactions.Config) => string | undefined;
14885
- unBindOpposite: (item: import("../../../es/shared/types").FormLowCodeReactions.Config) => void;
14886
- addOppositeCondition: (item: import("../../../es/shared/types").FormLowCodeReactions.Config) => void;
14902
+ getOppositeBtnText: (item: import("../../../es/shared/types").LowCodeTypes.reactionsConfig) => string | undefined;
14903
+ unBindOpposite: (item: import("../../../es/shared/types").LowCodeTypes.reactionsConfig) => void;
14904
+ addOppositeCondition: (item: import("../../../es/shared/types").LowCodeTypes.reactionsConfig) => void;
14887
14905
  getOppositeSqlExpression: (expression?: string | undefined) => string | undefined;
14888
- createOppositeCondition: (config: import("../../../es/shared/types").FormLowCodeReactions.Config) => import("../../../es/shared/types").FormLowCodeReactions.Config;
14889
- isOppositeConfig: (c1: import("../../../es/shared/types").FormLowCodeReactions.Config, c2: import("../../../es/shared/types").FormLowCodeReactions.Config) => boolean;
14906
+ createOppositeCondition: (config: import("../../../es/shared/types").LowCodeTypes.reactionsConfig) => import("../../../es/shared/types").LowCodeTypes.reactionsConfig;
14907
+ isOppositeConfig: (c1: import("../../../es/shared/types").LowCodeTypes.reactionsConfig, c2: import("../../../es/shared/types").LowCodeTypes.reactionsConfig) => boolean;
14890
14908
  onUpdateExpandedNames: (value: string[]) => void;
14891
14909
  getBinderFieldDesc: (index: number) => string;
14892
- addCondition: (config: import("../../../es/shared/types").FormLowCodeReactions.Config) => void;
14893
- removeCondition: (config: import("../../../es/shared/types").FormLowCodeReactions.Config, index: number) => void;
14894
- onUpdateConditionType: (condition: import("../../../es/shared/types").FormLowCodeReactions.ConObj, type: import("../../../es/shared/types").LOW_CODE_VALUE_RELATION) => void;
14910
+ addCondition: (config: import("../../../es/shared/types").LowCodeTypes.reactionsConfig) => void;
14911
+ removeCondition: (config: import("../../../es/shared/types").LowCodeTypes.reactionsConfig, index: number) => void;
14912
+ onUpdateConditionType: (condition: import("../../../es/shared/types").LowCodeTypes.reactionsConObj, type: import("../../../es/shared/types").LowCodeTypes.VALUE_RELATION) => void;
14895
14913
  showRef: import("vue").Ref<boolean>;
14896
14914
  fieldListRef: import("vue").Ref<import("./src/types").FormConfigItem[]>;
14897
14915
  fieldOptions: import("vue").ComputedRef<import("./src/types").FormConfigItem[]>;
@@ -14949,7 +14967,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
14949
14967
  NTooltip: any;
14950
14968
  NIcon: any;
14951
14969
  conditionTypeOptions: {
14952
- value: import("../../../es/shared/types").LOW_CODE_VALUE_RELATION;
14970
+ value: import("../../../es/shared/types").LowCodeTypes.VALUE_RELATION;
14953
14971
  label: string;
14954
14972
  }[];
14955
14973
  connectionTypeOptions: {
@@ -15101,11 +15119,11 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
15101
15119
  businessFormatter: import("..").FormBusinessFormatter;
15102
15120
  requestInstance: import("..").FormRequestDefine.RequestInstance;
15103
15121
  enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
15104
- lowCodeReactions: import("../../../es/shared/types").FormLowCodeReactions.Config[];
15122
+ lowCodeReactions: import("../../../es/shared/types").LowCodeTypes.reactionsConfig[];
15105
15123
  linebarAutoHidden: boolean;
15106
15124
  bordered: string | boolean;
15107
15125
  uniqueCacheData: boolean;
15108
- operationalForm: import("../../../es/shared/types").FormOperationalConfig[];
15126
+ operationalForm: import("../../../es/shared/types").LowCodeTypes.operationalConfig[];
15109
15127
  outBordered: boolean;
15110
15128
  forceClearable: boolean;
15111
15129
  }>>>;