cnhis-design-vue 3.1.50-beta.1 → 3.1.50-beta.10

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 (90) hide show
  1. package/README.md +87 -87
  2. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  3. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
  4. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
  5. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
  6. package/es/components/card-reader-sdk/src/cardReaderSDK.d.ts +1 -0
  7. package/es/components/card-reader-sdk/src/cardReaderSDK.js +1 -1
  8. package/es/components/card-reader-sdk/src/insuranceSDK.js +1 -1
  9. package/es/components/card-reader-sdk/src/types/index.d.ts +1 -1
  10. package/es/components/card-reader-sdk/src/utils/index.d.ts +0 -3
  11. package/es/components/card-reader-sdk/src/utils/index.js +1 -1
  12. package/es/components/classification/index.d.ts +3 -1
  13. package/es/components/classification/src/components/search-filter/index.vue.d.ts +3 -1
  14. package/es/components/classification/src/components/set-classification/index.vue.d.ts +3 -1
  15. package/es/components/classification/src/index.vue.d.ts +3 -1
  16. package/es/components/expand-field/src/components/form.vue2.js +1 -1
  17. package/es/components/expand-field/src/index.vue2.js +1 -1
  18. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +1 -1
  19. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.d.ts +1 -1
  20. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +1 -1
  21. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
  22. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +1 -1
  23. package/es/components/form-config/index.d.ts +55 -48
  24. package/es/components/form-config/src/FormConfig.vue.d.ts +55 -48
  25. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +15 -15
  26. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +27 -24
  27. package/es/components/form-render/index.d.ts +15 -15
  28. package/es/components/form-render/src/FormRender.vue.d.ts +15 -15
  29. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +15 -15
  30. package/es/components/form-render/src/components/renderer/levelSearchCascader.js +1 -1
  31. package/es/components/form-render/src/components/renderer/searchCascade.d.ts +1 -1
  32. package/es/components/form-render/src/components/renderer/searchCascade.js +1 -1
  33. package/es/components/form-render/src/components/renderer/select.d.ts +9 -0
  34. package/es/components/form-render/src/components/renderer/select.js +1 -1
  35. package/es/components/form-render/src/hooks/useFormAsyncQueue.d.ts +2 -2
  36. package/es/components/form-render/src/hooks/useFormAsyncQueue.js +1 -1
  37. package/es/components/form-render/src/hooks/useFormContext.js +1 -1
  38. package/es/components/form-render/src/hooks/useFormRenderLifeCycle.d.ts +6 -6
  39. package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
  40. package/es/components/form-render/src/types/fieldItem.d.ts +1 -0
  41. package/es/components/form-render/src/types/index.d.ts +4 -3
  42. package/es/components/form-render/style/index.css +1 -1
  43. package/es/components/iho-table/index.js +1 -1
  44. package/es/components/iho-table/src/plugins/filterRenderPlugin/index.js +1 -1
  45. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/inputRendererPlugin.js +1 -1
  46. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +1 -1
  47. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
  48. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.js +1 -1
  49. package/es/components/iho-table/src/types/index.d.ts +13 -4
  50. package/es/components/iho-table/src/utils/index.d.ts +1 -1
  51. package/es/components/iho-table/src/utils/index.js +1 -1
  52. package/es/components/iho-table/src/utils/separateMap.d.ts +5 -0
  53. package/es/components/iho-table/src/utils/separateMap.js +1 -0
  54. package/es/components/iho-table/style/index.css +1 -1
  55. package/es/components/index.css +1 -1
  56. package/es/components/info-header/index.d.ts +42 -42
  57. package/es/components/info-header/src/InfoHeader.vue.d.ts +42 -42
  58. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +15 -15
  59. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +15 -15
  60. package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
  61. package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
  62. package/es/components/select-person/src/SearchMultiple.vue.d.ts +0 -6
  63. package/es/components/shortcut-setter/index.d.ts +16 -15
  64. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +16 -15
  65. package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +3 -0
  66. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +2 -0
  67. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +1 -0
  68. package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +1 -1
  69. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +1 -0
  70. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +1 -1
  71. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +2 -0
  72. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +3 -1
  73. package/es/components/table-filter/src/components/classify-filter/index.vue2.js +1 -1
  74. package/es/env.d.ts +25 -25
  75. package/es/shared/assets/img/failure.png.js +1 -1
  76. package/es/shared/assets/img/no-permission.png.js +1 -1
  77. package/es/shared/assets/img/nodata.png.js +1 -1
  78. package/es/shared/assets/img/notfound.png.js +1 -1
  79. package/es/shared/assets/img/qr.png.js +1 -1
  80. package/es/shared/assets/img/success.png.js +1 -1
  81. package/es/shared/assets/img/video.png.js +1 -1
  82. package/es/shared/assets/img/video_default_cover.png.js +1 -1
  83. package/es/shared/assets/img/xb_big.png.js +1 -1
  84. package/es/shared/assets/img/xb_small.png.js +1 -1
  85. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
  86. package/es/shared/package.json.js +1 -1
  87. package/es/shared/utils/fabricjs/index.d.ts +6823 -0
  88. package/es/shared/utils/index.d.ts +3 -3
  89. package/es/shared/utils/tapable/index.d.ts +139 -0
  90. package/package.json +2 -2
@@ -1 +1 @@
1
- import{ref as e,computed as t,reactive as a,unref as r,onMounted as i,nextTick as l}from"vue";import{useDialog as n}from"naive-ui";import{defaultBorderStyle as u}from"../useDraw.js";import"../../../../../shared/utils/fabricjs/index.js";import{format as o}from"date-fns";import{getChildrenSize as s}from"../../utils/index.js";import{cloneDeep as d,range as c}from"lodash-es";import"../temperature/useShadow.js";import{OTHER_MENU as p}from"../../constants/index.js";import{useTop as m}from"./useTop.js";import{useLeft as v}from"./useLeft.js";import{useCenter as h}from"./useCenter.js";import{useOther as f}from"./useOther.js";function g(g,y,x,w,b,j){const Y=n(),C=e(),H=e(),S=e(),D=t((()=>y.data.layout||{top:"drug",center:"xAxis",bottom:"intraoperatively"})),A=t((()=>{var e;return null!=(e=y.data.left.width)?e:0})),M=t((()=>{const{grid:e}=y.data;return e.mainXCell*e.subXCell})),T=t((()=>{const{grid:e}=y.data;return e.mainYCell*e.subYCell})),X=t((()=>s(y.data.top.treeData))),G=t((()=>y.data.top.tree.cellHeight)),V=t((()=>G.value*X.value)),k=t((()=>ee($("drug")||"top"))),L=t((()=>k.value+V.value)),N=t((()=>{var e;return Date.parse((null==(e=y.data.xAxis)?void 0:e.startTime)||o(new Date,"yyyy-MM-dd HH:mm:ss"))})),O=t((()=>{const e=d(y.data.xAxis),{spaceValue:t,spaceTimeStamp:a}=e,r=c(M.value/t+1).map((r=>0===r?e.startTime:o(new Date(N.value+r*t*a),"yyyy-MM-dd HH:mm:ss")));return{...e,list:r,left:A.value}})),P=function(){const e=d(y.data.top.treeData);let t=0;const{cellWidth:a,cellHeight:r}=y.data.top.tree;return function e(i,l=0){i.forEach((i=>{var n;const u={top:t*r+k.value,left:l*a,width:a,height:r};if(t++,null==(n=i.children)?void 0:n.length){t--;const a=s(i.children);u.height=a*r,e(i.children,l+1)}else u.width=A.value-u.left;Object.assign(i,u)}))}(e),e}(),W=t((()=>ee($("xAxis")||"center"))),E=t((()=>{var e;const{width:t,right:a}=y.data;if(!a)return t;return t-(null!=(e=a.width)?e:0)})),I=t((()=>ee($("intraoperatively")||"bottom"))),q=t((()=>{var e;const{show:t=!0,height:a}=(null==(e=y.data.other)?void 0:e.mark)||{};return t&&a?a:0})),z=t((()=>I.value+(y.data.height-V.value-O.value.height-q.value))),B=t((()=>(E.value-A.value)/M.value)),F=t((()=>(z.value-I.value)/T.value)),J=t((()=>O.value.spaceTimeStamp/B.value)),K=t((()=>{const{scaleValues:e}=y.data;return e.map((e=>e.dataList.filter((e=>e.show)).map(((t,a)=>({...t,bigType:e.type,unit:e.unit,dataIndex:a}))))).flat()})),Q=t((()=>te("pulse"))),R=t((()=>te("temperature"))),U=t((()=>{var e;return(null==(e=y.data.grid)?void 0:e.event)||{selectable:!0,evented:!0,hovered:!0}})),Z=a({canvasWidth:y.data.width,canvasHeight:y.data.height,borderStyle:{...u,...y.data.borderStyle},pointSelectionStyle:y.data.pointSelectionStyle||{},grid:y.data.grid,top:y.data.top,left:y.data.left,other:y.data.other,topGridYNumber:r(X),topGridYCellHeight:r(G),topGridOriginY:r(k),topGridEndY:r(L),treeData:P,xAxis:r(O),originYXAxis:r(W),startTime:r(N),timeXCell:r(J),gridXNumber:r(M),gridYNumber:r(T),xCellWidth:r(B),yCellHeight:r(F),originX:r(A),endX:r(E),originY:r(I),endY:r(z),markHeight:r(q),itemList:r(K),scaleValues:y.data.scaleValues,pulseYCell:r(Q),temperatureYCell:r(R),event:r(U),dialog:Y});function $(e){let t="";return Object.entries(D.value).some((([a,r])=>{if(r===e)return t=a,!0})),t}function _(e){const t=D.value[e],a=O.value.height;switch(t){case"drug":return V.value;case"xAxis":return a;default:return y.data.height-V.value-a}}function ee(e){switch(e){case"top":return 0;case"center":return _("top");default:return _("top")+_("center")}}function te(e){const{scaleValues:t}=y.data,a=t.find((t=>t.type===e));return F.value*(a.spaceGridNumber||1)/(a.spaceValue||1)}return i((async()=>{await l(),m(g,Z,x,b);const{redrawPoints:e,clickMenu:t,moveLimit:a,setPopup:r,updateData:i,getGridPoints:n}=h(g,Z,x,b,j);v(g,Z,x,b,a,r,i,n);const{clickMenu:u}=f(g,Z,x,b,j);H.value=e,S.value=e=>{const{item:a}=e;a.type&&p.map((e=>e.type)).includes(a.type)?u(e):t(e)}})),{propItems:Z,redrawPoints:H,select:C,clickMenu:S}}export{g as useSurgicalAnesthesiaChart};
1
+ import{ref as e,computed as t,reactive as a,unref as r,onMounted as i,nextTick as l}from"vue";import{useDialog as n}from"naive-ui";import{defaultBorderStyle as u}from"../useDraw.js";import"../../../../../shared/utils/fabricjs/index.js";import{format as o}from"date-fns";import{getChildrenSize as s}from"../../utils/index.js";import{cloneDeep as d,range as c}from"lodash-es";import"../temperature/useShadow.js";import{OTHER_MENU as p}from"../../constants/index.js";import{useTop as m}from"./useTop.js";import{useLeft as v}from"./useLeft.js";import{useCenter as h}from"./useCenter.js";import{useOther as f}from"./useOther.js";function g(g,y,x,w,b,j){const Y=n(),C=e(),H=e(),S=e(),D=t((()=>y.data.layout||{top:"drug",center:"xAxis",bottom:"intraoperatively"})),A=t((()=>{var e;return null!=(e=y.data.left.width)?e:0})),M=t((()=>{const{grid:e}=y.data;return e.mainXCell*e.subXCell})),T=t((()=>{const{grid:e}=y.data;return e.mainYCell*e.subYCell})),X=t((()=>s(y.data.top.treeData))),G=t((()=>y.data.top.tree.cellHeight)),V=t((()=>G.value*X.value)),k=t((()=>ee($("drug")||"top"))),L=t((()=>k.value+V.value)),N=t((()=>{var e;return Date.parse((null==(e=y.data.xAxis)?void 0:e.startTime)||o(new Date,"yyyy-MM-dd HH:mm:ss"))})),O=t((()=>{const e=d(y.data.xAxis),{spaceValue:t,spaceTimeStamp:a}=e,r=c(M.value/t+1).map((r=>0===r?e.startTime:o(new Date(N.value+r*t*a),"yyyy-MM-dd HH:mm:ss")));return{...e,list:r,left:A.value}})),P=function(){const e=d(y.data.top.treeData);let t=0;const{cellWidth:a,cellHeight:r}=y.data.top.tree;return function e(i,l=0){i.forEach((i=>{var n;const u={top:t*r+k.value,left:l*a,width:a,height:r};if(t++,null==(n=i.children)?void 0:n.length){t--;const a=s(i.children);u.height=a*r,e(i.children,l+1)}else u.width=A.value-u.left;Object.assign(i,u)}))}(e),e}(),W=t((()=>ee($("xAxis")||"center"))),E=t((()=>{var e;const{width:t,right:a}=y.data;if(!a)return t;return t-(null!=(e=a.width)?e:0)})),I=t((()=>ee($("intraoperatively")||"bottom"))),q=t((()=>{var e;const{show:t=!0,height:a}=(null==(e=y.data.other)?void 0:e.mark)||{};return t&&a?a:0})),z=t((()=>I.value+(y.data.height-V.value-O.value.height-q.value))),B=t((()=>(E.value-A.value)/M.value)),F=t((()=>(z.value-I.value)/T.value)),J=t((()=>O.value.spaceTimeStamp/B.value)),K=t((()=>{const{scaleValues:e}=y.data;return e.map((e=>e.dataList.filter((e=>e.show)).map(((t,a)=>({...t,bigType:e.type,unit:e.unit,dataIndex:a}))))).flat()})),Q=t((()=>te("pulse"))),R=t((()=>te("temperature"))),U=t((()=>{var e;return(null==(e=y.data.grid)?void 0:e.event)||{selectable:!0,evented:!0,hovered:!0}})),Z=a({canvasWidth:y.data.width,canvasHeight:y.data.height,borderStyle:{...u,...y.data.borderStyle},pointSelectionStyle:y.data.pointSelectionStyle||{},grid:y.data.grid,top:y.data.top,left:y.data.left,other:y.data.other,topGridYNumber:r(X),topGridYCellHeight:r(G),topGridOriginY:r(k),topGridEndY:r(L),treeData:P,xAxis:r(O),originYXAxis:r(W),startTime:r(N),timeXCell:r(J),gridXNumber:r(M),gridYNumber:r(T),xCellWidth:r(B),yCellHeight:r(F),originX:r(A),endX:r(E),originY:r(I),endY:r(z),markHeight:r(q),itemList:r(K),scaleValues:y.data.scaleValues,pulseYCell:r(Q),temperatureYCell:r(R),event:r(U),dialog:Y});function $(e){let t="";return Object.entries(D.value).some((([a,r])=>{if(r===e)return t=a,!0})),t}function _(e){const t=D.value[e],a=O.value.height;switch(t){case"drug":return V.value;case"xAxis":return a;default:return y.data.height-V.value-a}}function ee(e){switch(e){case"top":return 0;case"center":return _("top");default:return _("top")+_("center")}}function te(e){const{scaleValues:t}=y.data,a=t.find((t=>t.type===e));return F.value*(a.spaceGridNumber||1)/(a.spaceValue||1)}return i((async()=>{await l(),m(g,Z,x,b);const{redrawPoints:e,clickMenu:t,moveLimit:a,setPopup:r,updateData:i,getGridPoints:n}=h(g,Z,x,b,j);v(g,Z,x,b,a,r,i,n);const{clickMenu:u}=f(g,Z,x,b,j,a);H.value=e,S.value=e=>{const{item:a}=e;a.type&&p.map((e=>e.type)).includes(a.type)?u(e):t(e)}})),{propItems:Z,redrawPoints:H,select:C,clickMenu:S}}export{g as useSurgicalAnesthesiaChart};
@@ -1 +1 @@
1
- import{fabric as t}from"../../../../../shared/utils/fabricjs/index.js";import{drawText as e,defaultStyle as i,defaultRectStyle as n,drawTextGroup as o,drawLine as l,drawPoint as r}from"../useDraw.js";import{useGrid as s}from"../useGrid.js";import{useBirthProcessCumputedPoint as a}from"../useCumputedPoint.js";import"vue";import{cloneDeep as f}from"lodash-es";import"date-fns";import"../temperature/useShadow.js";import"naive-ui";function c(c,u,d,m,h){const{cumputedX:p,getXValue:v}=a(u),{originX:x,endX:g,xCellWidth:L,originYXAxis:X,top:C,canvasWidth:y,borderStyle:w,treeData:S,xAxis:Y,topGridYNumber:j,topGridOriginY:b,topGridYCellHeight:k,topGridEndY:G,event:I}=u,z=new Set;function A(t,e,i){let n;const{content:o}=t.value||{};if(o){const{lineStyle:l,textStyle:s,totalStyle:a}=C.data||{},{startLine:f,centerLine:c,endLine:u}=e;n=r(o,{fontSize:12,...s,backgroundColor:"#fff",lockMovementX:!0,lockMovementY:!0});const d=M(n,e,i);n&&(n.set(d),n.origin={data:t},E(n),f&&(f.text=n),u&&(u.text=n))}return n}function M(t,e,i){const n=t.width+1,{startLine:o,centerLine:l,endLine:r}=e,s={top:i,originX:"center",originY:"center"};return l&&n<=l.width?s.left=l.x1+l.width/2:r&&n<=r.limitX.x2-r.left?(s.originX="left",s.left=r.left+1):o&&!r&&n<=o.limitX.x2-o.left?(s.originX="left",s.left=o.left+(o.isCustomIcon?5:1)):o&&n<=o.left-o.limitX.x1?(s.originX="right",s.left=o.left-(o.isCustomIcon?5:1)):l?(s.originY="top",s.left=l.x1+l.width/2,s.top=i+1,s.fontSize=10):o&&(s.originX="left",s.originY="top",s.fontSize=10,s.left=o.left,s.top=i+1),s}function $(e,{isCustomIcon:i,isContinue:n,isLeft:o}){const{x:s,y1:a,y2:f,halfY:c}=e;if(!s||s<x||s>g)return;const{lineStyle:u}=C.data||{};let d;const m={left:s,top:c};d=i?r("circle",{fill:u.stroke,...m}):n?r(">",{fill:u.stroke,...m,fontSize:18}):l([s,a,s,c],u);const h=new t.Rect({width:L,height:k,fill:"transparent",left:s-L/2,top:a}),p=new t.Group([d,h],{originX:"center",originY:"center",hasControls:!1,hasBorders:!1,objectCaching:!1,hoverCursor:"pointer",lockMovementY:!0});return p.isLeft=o,p.isCustomIcon=i,E(p),p}function E(t){I.hovered&&(t.on("mouseover",(()=>{D(t,"hover")})),t.on("mouseout",(()=>{m.show=!1}))),t.lockMovementX&&t.lockMovementY||(t.on("moving",(()=>{!function(t){t.setCoords(),t.left<t.limitX.x1&&t.set("left",t.limitX.x1);t.left>t.limitX.x2&&t.set("left",t.limitX.x2)}(t),function(t){if(t.centerLine){const e=t.isLeft?{x1:t.left}:{x2:t.left};t.centerLine.setCoords().set(e)}if(t.text){const e=M(t.text,{startLine:t.isLeft?t:t.nearLine,centerLine:t.centerLine,endLine:t.isLeft?t.nearLine:t},t.top);t.text.setCoords().set(e)}}(t),I.hovered&&D(t)})),t.on("mouseup",(e=>{if(1===e.button){!function(t){t.isLeft?(t.prevLine&&(t.prevLine.limitX.x2=t.left),t.nearLine&&(t.nearLine.limitX.x1=t.left)):(t.nextLine&&(t.nextLine.limitX.x1=t.left),t.nearLine&&(t.nearLine.limitX.x2=t.left))}(t);const e={type:"tree",...t.origin};d("change",e)}})))}function D(t,e="moving"){var i,n,o;const{data:l}=t.origin;m.point={x:t.left,y:t.top};let[r="",s=""]=l.time||[];if("moving"===e){const e=v(t.left);t.isLeft?r=e:s=e,l.time=[r,s],t.text&&(t.text.origin.data.time=[r,s])}m.list=[`开始时间 ${r}`,`结束时间 ${s}`,`流速 ${(null==(i=l.value)?void 0:i.currentSpeed)||""}`,`浓度 ${(null==(n=l.value)?void 0:n.consistence)||""}`,`总量 ${(null==(o=l.value)?void 0:o.total)||""}`],m.show=!0}s(c,{...u,gridYNumber:j,originY:b,yCellHeight:k,endY:G}),function(){var o;const{height:l,list:r,left:s,spaceValue:a}=Y;if(!l)return;const f=[],u=X+l/2;r.forEach(((t,i)=>{const n=s+i*L*a;f.push(e([n,u],{value:t.slice(11,16)}))}));const d=f.length>0?new t.Group([...f],{...i,objectCaching:!1}):null;d&&c.value.add(d);const m=new t.Rect({width:y,height:l,left:0,top:X,...n,originX:"left",originY:"top",...w}),h=e([g+(y-g)/2,u],{value:"总量",...null==(o=C.data)?void 0:o.totalStyle});c.value.add(m,h)}(),function(){var n;const r=(null==(n=null==C?void 0:C.tree)?void 0:n.textStyle)||{},s=[];!function t(i){i.forEach((i=>{var n;const{width:a,height:u,left:d,top:m,title:h=""}=i,v={value:h,...r};(null==(n=i.children)?void 0:n.length)?(v.value=h.split("").join("\n"),t(i.children)):(v.textAlign="left",function(t){if(!(null==t?void 0:t.data)||!Array.isArray(t.data))return;const{lineStyle:e,textStyle:i,totalStyle:n}=C.data||{},o=t.top,r=o+k,s=r-k/2,a={y1:o,y2:r,halfY:s},c=[],u=f(t);delete u.data,t.data.forEach(((t,i,n)=>{const{time:o,continue:r}=t,[f,d]=o,m=f&&p(f),h=d&&p(d),v=$({...a,x:m},{isCustomIcon:!h&&!r,isContinue:!1,isLeft:!0}),L=$({...a,x:h},{isCustomIcon:!1,isContinue:!!r});let X,C,y;if((v||m<x)&&(L||h>g)){X=l([v?m:x,s,L?h:g,s],e)}c.push({startLine:v,centerLine:X,endLine:L}),function(t,e,i){const{startLine:n,centerLine:o,endLine:l}=e[t],{startLine:r,endLine:s}=e[t-1]||{};if(n){n.origin=i;const t={x1:x,x2:l?l.left:g};s?(t.x1=s.left,s.limitX.x2=n.left,n.prevLine=s,s.nextLine=n):r&&(t.x1=r.left,r.limitX.x2=n.left,n.prevLine=r,r.nextLine=n),n.limitX=t,o&&(n.centerLine=o)}if(l){l.origin=i;const t={x1:n?n.left:x,x2:g};l.limitX=t,o&&(l.centerLine=o)}n&&l&&(n.nearLine=l,l.nearLine=n)}(i,c,Object.assign({},u,{data:t,index:i})),n[i-1]&&(C=A(n[i-1],c[i-1],s)),i===n.length-1&&(y=A(t,c[i],s)),X&&z.add(X),v&&z.add(v),L&&z.add(L),C&&z.add(C),y&&z.add(y)}))}(i),function(t){var i;if(!(null==t?void 0:t.total))return;const n=t.top+k/2,o=e([g+(y-g)/2,n],{value:t.total,...null==(i=C.data)?void 0:i.totalStyle});o&&c.value.add(o)}(i)),s.push(o({width:a,height:u,...w},v,{left:d,top:m},!0))}))}(S);const a=s.length>0?new t.Group([...s],{...i,objectCaching:!1}):null;a&&c.value.add(a),z.size&&c.value.add(...z)}()}export{c as useTop};
1
+ import{fabric as t}from"../../../../../shared/utils/fabricjs/index.js";import{drawText as e,defaultStyle as i,defaultRectStyle as n,drawTextGroup as o,drawLine as l,drawPoint as r}from"../useDraw.js";import{useGrid as s}from"../useGrid.js";import{useBirthProcessCumputedPoint as a}from"../useCumputedPoint.js";import"vue";import{cloneDeep as f}from"lodash-es";import"date-fns";import"../temperature/useShadow.js";import"naive-ui";function c(c,u,d,m,h){const{cumputedX:p,getXValue:v}=a(u),{originX:x,endX:g,xCellWidth:L,originYXAxis:X,top:C,canvasWidth:w,borderStyle:Y,treeData:y,xAxis:S,topGridYNumber:j,topGridOriginY:b,topGridYCellHeight:k,topGridEndY:G,event:I}=u,z=new Set;function A(t,e,i){let n;const{content:o}=t.value||{};if(o){const{textStyle:l}=C.data||{},{startLine:s,endLine:a}=e;n=r(o,{fontSize:12,...l,backgroundColor:"#fff",lockMovementX:!0,lockMovementY:!0});const f=M(n,e,i);n&&(n.set(f),n.origin={data:t},E(n),s&&(s.text=n),a&&(a.text=n))}return n}function M(t,e,i){const n=t.width+1,{startLine:o,centerLine:l,endLine:r}=e,s={top:i,originX:"center",originY:"center"};return l&&n<=l.width?s.left=l.x1+l.width/2:r&&n<=r.limitX.x2-r.left?(s.originX="left",s.left=r.left+1):o&&!r&&n<=o.limitX.x2-o.left?(s.originX="left",s.left=o.left+(o.isCustomIcon?5:1)):o&&n<=o.left-o.limitX.x1?(s.originX="right",s.left=o.left-(o.isCustomIcon?5:1)):l?(s.originY="top",s.left=l.x1+l.width/2,s.top=i+1,s.fontSize=10):o&&(s.originX="left",s.originY="top",s.fontSize=10,s.left=o.left,s.top=i+1),s}function $(e,{isCustomIcon:i,isContinue:n,isLeft:o}){const{x:s,y1:a,y2:f,halfY:c}=e;if(!s||s<x||s>g)return;const{lineStyle:u}=C.data||{};let d;const m={left:s,top:c};d=i?r("circle",{fill:u.stroke,...m}):n?r(">",{fill:u.stroke,...m,fontSize:18}):l([s,a,s,c],u);const h=new t.Rect({width:L,height:k,fill:"transparent",left:s-L/2,top:a}),p=new t.Group([d,h],{originX:"center",originY:"center",hasControls:!1,hasBorders:!1,objectCaching:!1,hoverCursor:"pointer",lockMovementY:!0});return p.isLeft=o,p.isCustomIcon=i,E(p),p}function E(t){I.hovered&&(t.on("mouseover",(()=>{D(t,"hover")})),t.on("mouseout",(()=>{m.show=!1}))),t.lockMovementX&&t.lockMovementY||(t.on("moving",(()=>{!function(t){t.setCoords(),t.left<t.limitX.x1&&t.set("left",t.limitX.x1);t.left>t.limitX.x2&&t.set("left",t.limitX.x2)}(t),function(t){if(t.centerLine){const e=t.isLeft?{x1:t.left}:{x2:t.left};t.centerLine.setCoords().set(e)}if(t.text){const e=M(t.text,{startLine:t.isLeft?t:t.nearLine,centerLine:t.centerLine,endLine:t.isLeft?t.nearLine:t},t.top);t.text.setCoords().set(e)}}(t),I.hovered&&D(t)})),t.on("mouseup",(e=>{if(1===e.button){!function(t){t.isLeft?(t.prevLine&&(t.prevLine.limitX.x2=t.left),t.nearLine&&(t.nearLine.limitX.x1=t.left)):(t.nextLine&&(t.nextLine.limitX.x1=t.left),t.nearLine&&(t.nearLine.limitX.x2=t.left))}(t);const e={type:"tree",...t.origin};d("change",e)}})))}function D(t,e="moving"){var i,n,o;const{data:l}=t.origin;m.point={x:t.left,y:t.top};let[r="",s=""]=l.time||[];if("moving"===e){const e=v(t.left);t.isLeft?r=e:s=e,l.time=[r,s],t.text&&(t.text.origin.data.time=[r,s])}m.list=[`开始时间 ${r}`,`结束时间 ${s}`,`流速 ${(null==(i=l.value)?void 0:i.currentSpeed)||""}`,`浓度 ${(null==(n=l.value)?void 0:n.consistence)||""}`,`总量 ${(null==(o=l.value)?void 0:o.total)||""}`],m.show=!0}s(c,{...u,gridYNumber:j,originY:b,yCellHeight:k,endY:G}),function(){var o;const{height:l,list:r,left:s,spaceValue:a}=S;if(!l)return;const f=[],u=X+l/2;r.forEach(((t,i)=>{const n=s+i*L*a;f.push(e([n,u],{value:t.slice(11,16)}))}));const d=f.length>0?new t.Group([...f],{...i,objectCaching:!1}):null;d&&c.value.add(d);const m=new t.Rect({width:w,height:l,left:0,top:X,...n,originX:"left",originY:"top",...Y}),h=e([g+(w-g)/2,u],{value:"总量",...null==(o=C.data)?void 0:o.totalStyle});c.value.add(m,h)}(),function(){var n;const r=(null==(n=null==C?void 0:C.tree)?void 0:n.textStyle)||{},s=[];!function t(i){i.forEach((i=>{var n;const{width:a,height:u,left:d,top:m,title:h=""}=i,v={value:h,...r};(null==(n=i.children)?void 0:n.length)?(v.value=h.split("").join("\n"),t(i.children)):(v.textAlign="left",function(t){if(!(null==t?void 0:t.data)||!Array.isArray(t.data))return;const{lineStyle:e}=C.data||{},i=t.top,n=i+k,o=n-k/2,r={y1:i,y2:n,halfY:o};let s=null;const a=f(t);delete a.data,t.data.forEach(((t,i,n)=>{const{time:f,continue:c}=t,[u,d]=f,m=u&&p(u),h=d&&p(d),v=$({...r,x:m},{isCustomIcon:!h&&!c,isContinue:!1,isLeft:!0}),L=$({...r,x:h},{isCustomIcon:!1,isContinue:!!c});let X;if((v||m<x)&&(L||h>g)){X=l([v?m:x,o,L?h:g,o],e)}const C={startLine:v,centerLine:X,endLine:L};let w,Y;!function(t,e,i){const{startLine:n,centerLine:o,endLine:l}=e,{startLine:r,endLine:s}=t||{};if(n){n.origin=i;const t={x1:x,x2:l?l.left:g};s?(t.x1=s.left,s.limitX.x2=n.left,n.prevLine=s,s.nextLine=n):r&&(t.x1=r.left,r.limitX.x2=n.left,n.prevLine=r,r.nextLine=n),n.limitX=t,o&&(n.centerLine=o)}if(l){l.origin=i;const t={x1:n?n.left:x,x2:g};l.limitX=t,o&&(l.centerLine=o)}n&&l&&(n.nearLine=l,l.nearLine=n)}(s,C,Object.assign({},a,{data:t,index:i})),s&&(w=A(n[i-1],s,o)),i===n.length-1&&(Y=A(t,C,o)),s=C,X&&z.add(X),v&&z.add(v),L&&z.add(L),w&&z.add(w),Y&&z.add(Y)}))}(i),function(t){var i;if(!(null==t?void 0:t.total))return;const n=t.top+k/2,o=e([g+(w-g)/2,n],{value:t.total,...null==(i=C.data)?void 0:i.totalStyle});o&&c.value.add(o)}(i)),s.push(o({width:a,height:u,...Y},v,{left:d,top:m},!0))}))}(y);const a=s.length>0?new t.Group([...s],{...i,objectCaching:!1}):null;a&&c.value.add(a),z.size&&c.value.add(...z)}()}export{c as useTop};
@@ -90,9 +90,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
90
90
  uuid: string;
91
91
  lifeCycle: Partial<{
92
92
  onSetup(): void;
93
- beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
94
- afterRequest(fieldKey: string, payload?: any): import("../../../es/shared/types").AnyObject[];
95
- afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[]): void;
93
+ beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined, payload?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
94
+ afterRequest(fieldKey: string, res?: any, payload?: import("../../../es/shared/types").AnyObject | undefined): import("../../../es/shared/types").AnyObject[];
95
+ afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[], payload?: import("../../../es/shared/types").AnyObject | undefined): void;
96
96
  }>;
97
97
  businessFormatter: import("..").FormBusinessFormatter;
98
98
  requestInstance: import("..").RequestInstance;
@@ -195,9 +195,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
195
195
  uuid: string;
196
196
  lifeCycle: Partial<{
197
197
  onSetup(): void;
198
- beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
199
- afterRequest(fieldKey: string, payload?: any): import("../../../es/shared/types").AnyObject[];
200
- afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[]): void;
198
+ beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined, payload?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
199
+ afterRequest(fieldKey: string, res?: any, payload?: import("../../../es/shared/types").AnyObject | undefined): import("../../../es/shared/types").AnyObject[];
200
+ afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[], payload?: import("../../../es/shared/types").AnyObject | undefined): void;
201
201
  }>;
202
202
  businessFormatter: import("..").FormBusinessFormatter;
203
203
  requestInstance: import("..").RequestInstance;
@@ -338,6 +338,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
338
338
  date_format?: string | undefined;
339
339
  step_length?: string | number | undefined;
340
340
  urlConfig?: {
341
+ [x: string]: any;
341
342
  url: string;
342
343
  method?: import("..").FormRequestType | undefined;
343
344
  nameKey?: string | undefined;
@@ -2070,6 +2071,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
2070
2071
  date_format?: string | undefined;
2071
2072
  step_length?: string | number | undefined;
2072
2073
  urlConfig?: {
2074
+ [x: string]: any;
2073
2075
  url: string;
2074
2076
  method?: import("..").FormRequestType | undefined;
2075
2077
  nameKey?: string | undefined;
@@ -3811,6 +3813,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
3811
3813
  date_format?: string | undefined;
3812
3814
  step_length?: string | number | undefined;
3813
3815
  urlConfig?: {
3816
+ [x: string]: any;
3814
3817
  url: string;
3815
3818
  method?: import("..").FormRequestType | undefined;
3816
3819
  nameKey?: string | undefined;
@@ -5543,6 +5546,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
5543
5546
  date_format?: string | undefined;
5544
5547
  step_length?: string | number | undefined;
5545
5548
  urlConfig?: {
5549
+ [x: string]: any;
5546
5550
  url: string;
5547
5551
  method?: import("..").FormRequestType | undefined;
5548
5552
  nameKey?: string | undefined;
@@ -7368,9 +7372,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
7368
7372
  lifeCycle: {
7369
7373
  type: import("vue").PropType<Partial<{
7370
7374
  onSetup(): void;
7371
- beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
7372
- afterRequest(fieldKey: string, payload?: any): import("../../../es/shared/types").AnyObject[];
7373
- afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[]): void;
7375
+ beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined, payload?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
7376
+ afterRequest(fieldKey: string, res?: any, payload?: import("../../../es/shared/types").AnyObject | undefined): import("../../../es/shared/types").AnyObject[];
7377
+ afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[], payload?: import("../../../es/shared/types").AnyObject | undefined): void;
7374
7378
  }>>;
7375
7379
  };
7376
7380
  requestInstance: {
@@ -7512,9 +7516,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
7512
7516
  lifeCycle: {
7513
7517
  type: import("vue").PropType<Partial<{
7514
7518
  onSetup(): void;
7515
- beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
7516
- afterRequest(fieldKey: string, payload?: any): import("../../../es/shared/types").AnyObject[];
7517
- afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[]): void;
7519
+ beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined, payload?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
7520
+ afterRequest(fieldKey: string, res?: any, payload?: import("../../../es/shared/types").AnyObject | undefined): import("../../../es/shared/types").AnyObject[];
7521
+ afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[], payload?: import("../../../es/shared/types").AnyObject | undefined): void;
7518
7522
  }>>;
7519
7523
  };
7520
7524
  requestInstance: {
@@ -7572,14 +7576,14 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
7572
7576
  onScroll: (scrollEvent: Event) => void;
7573
7577
  callLifeCycle: <T_2 extends "onSetup" | "beforeRequest" | "afterRequest" | "afterOptionInit">(lifeCycleName: T_2, payload?: Parameters<Required<Partial<{
7574
7578
  onSetup(): void;
7575
- beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
7576
- afterRequest(fieldKey: string, payload?: any): import("../../../es/shared/types").AnyObject[];
7577
- afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[]): void;
7579
+ beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined, payload?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
7580
+ afterRequest(fieldKey: string, res?: any, payload?: import("../../../es/shared/types").AnyObject | undefined): import("../../../es/shared/types").AnyObject[];
7581
+ afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[], payload?: import("../../../es/shared/types").AnyObject | undefined): void;
7578
7582
  }>>[T_2]> | undefined) => import("../../../es/shared/types").UndefinedAble<ReturnType<Required<Partial<{
7579
7583
  onSetup(): void;
7580
- beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
7581
- afterRequest(fieldKey: string, payload?: any): import("../../../es/shared/types").AnyObject[];
7582
- afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[]): void;
7584
+ beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined, payload?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
7585
+ afterRequest(fieldKey: string, res?: any, payload?: import("../../../es/shared/types").AnyObject | undefined): import("../../../es/shared/types").AnyObject[];
7586
+ afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[], payload?: import("../../../es/shared/types").AnyObject | undefined): void;
7583
7587
  }>>[T_2]>>;
7584
7588
  triggerAutoHidden: (field: import("@formily/core").GeneralField) => Promise<void>;
7585
7589
  observeFormGraph: Record<string, import("@formily/core").GeneralField>;
@@ -7988,9 +7992,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
7988
7992
  lifeCycle: {
7989
7993
  type: import("vue").PropType<Partial<{
7990
7994
  onSetup(): void;
7991
- beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
7992
- afterRequest(fieldKey: string, payload?: any): import("../../../es/shared/types").AnyObject[];
7993
- afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[]): void;
7995
+ beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined, payload?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
7996
+ afterRequest(fieldKey: string, res?: any, payload?: import("../../../es/shared/types").AnyObject | undefined): import("../../../es/shared/types").AnyObject[];
7997
+ afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[], payload?: import("../../../es/shared/types").AnyObject | undefined): void;
7994
7998
  }>>;
7995
7999
  };
7996
8000
  requestInstance: {
@@ -8232,9 +8236,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
8232
8236
  uuid: string;
8233
8237
  lifeCycle: Partial<{
8234
8238
  onSetup(): void;
8235
- beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
8236
- afterRequest(fieldKey: string, payload?: any): import("../../../es/shared/types").AnyObject[];
8237
- afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[]): void;
8239
+ beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined, payload?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
8240
+ afterRequest(fieldKey: string, res?: any, payload?: import("../../../es/shared/types").AnyObject | undefined): import("../../../es/shared/types").AnyObject[];
8241
+ afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[], payload?: import("../../../es/shared/types").AnyObject | undefined): void;
8238
8242
  }>;
8239
8243
  businessFormatter: import("..").FormBusinessFormatter;
8240
8244
  requestInstance: import("..").RequestInstance;
@@ -8329,9 +8333,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
8329
8333
  uuid: string;
8330
8334
  lifeCycle: Partial<{
8331
8335
  onSetup(): void;
8332
- beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
8333
- afterRequest(fieldKey: string, payload?: any): import("../../../es/shared/types").AnyObject[];
8334
- afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[]): void;
8336
+ beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined, payload?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
8337
+ afterRequest(fieldKey: string, res?: any, payload?: import("../../../es/shared/types").AnyObject | undefined): import("../../../es/shared/types").AnyObject[];
8338
+ afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[], payload?: import("../../../es/shared/types").AnyObject | undefined): void;
8335
8339
  }>;
8336
8340
  businessFormatter: import("..").FormBusinessFormatter;
8337
8341
  requestInstance: import("..").RequestInstance;
@@ -8443,6 +8447,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
8443
8447
  date_format?: string | undefined;
8444
8448
  step_length?: string | number | undefined;
8445
8449
  urlConfig?: {
8450
+ [x: string]: any;
8446
8451
  url: string;
8447
8452
  method?: import("..").FormRequestType | undefined;
8448
8453
  nameKey?: string | undefined;
@@ -10186,6 +10191,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
10186
10191
  date_format?: string | undefined;
10187
10192
  step_length?: string | number | undefined;
10188
10193
  urlConfig?: {
10194
+ [x: string]: any;
10189
10195
  url: string;
10190
10196
  method?: import("..").FormRequestType | undefined;
10191
10197
  nameKey?: string | undefined;
@@ -11902,6 +11908,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
11902
11908
  date_format?: string | undefined;
11903
11909
  step_length?: string | number | undefined;
11904
11910
  urlConfig?: {
11911
+ [x: string]: any;
11905
11912
  url: string;
11906
11913
  method?: import("..").FormRequestType | undefined;
11907
11914
  nameKey?: string | undefined;
@@ -13645,9 +13652,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
13645
13652
  lifeCycle: {
13646
13653
  type: import("vue").PropType<Partial<{
13647
13654
  onSetup(): void;
13648
- beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
13649
- afterRequest(fieldKey: string, payload?: any): import("../../../es/shared/types").AnyObject[];
13650
- afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[]): void;
13655
+ beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined, payload?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
13656
+ afterRequest(fieldKey: string, res?: any, payload?: import("../../../es/shared/types").AnyObject | undefined): import("../../../es/shared/types").AnyObject[];
13657
+ afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[], payload?: import("../../../es/shared/types").AnyObject | undefined): void;
13651
13658
  }>>;
13652
13659
  };
13653
13660
  requestInstance: {
@@ -13789,9 +13796,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
13789
13796
  lifeCycle: {
13790
13797
  type: import("vue").PropType<Partial<{
13791
13798
  onSetup(): void;
13792
- beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
13793
- afterRequest(fieldKey: string, payload?: any): import("../../../es/shared/types").AnyObject[];
13794
- afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[]): void;
13799
+ beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined, payload?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
13800
+ afterRequest(fieldKey: string, res?: any, payload?: import("../../../es/shared/types").AnyObject | undefined): import("../../../es/shared/types").AnyObject[];
13801
+ afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[], payload?: import("../../../es/shared/types").AnyObject | undefined): void;
13795
13802
  }>>;
13796
13803
  };
13797
13804
  requestInstance: {
@@ -13849,14 +13856,14 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
13849
13856
  onScroll: (scrollEvent: Event) => void;
13850
13857
  callLifeCycle: <T_2 extends "onSetup" | "beforeRequest" | "afterRequest" | "afterOptionInit">(lifeCycleName: T_2, payload?: Parameters<Required<Partial<{
13851
13858
  onSetup(): void;
13852
- beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
13853
- afterRequest(fieldKey: string, payload?: any): import("../../../es/shared/types").AnyObject[];
13854
- afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[]): void;
13859
+ beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined, payload?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
13860
+ afterRequest(fieldKey: string, res?: any, payload?: import("../../../es/shared/types").AnyObject | undefined): import("../../../es/shared/types").AnyObject[];
13861
+ afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[], payload?: import("../../../es/shared/types").AnyObject | undefined): void;
13855
13862
  }>>[T_2]> | undefined) => import("../../../es/shared/types").UndefinedAble<ReturnType<Required<Partial<{
13856
13863
  onSetup(): void;
13857
- beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
13858
- afterRequest(fieldKey: string, payload?: any): import("../../../es/shared/types").AnyObject[];
13859
- afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[]): void;
13864
+ beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined, payload?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
13865
+ afterRequest(fieldKey: string, res?: any, payload?: import("../../../es/shared/types").AnyObject | undefined): import("../../../es/shared/types").AnyObject[];
13866
+ afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[], payload?: import("../../../es/shared/types").AnyObject | undefined): void;
13860
13867
  }>>[T_2]>>;
13861
13868
  triggerAutoHidden: (field: import("@formily/core").GeneralField) => Promise<void>;
13862
13869
  observeFormGraph: Record<string, import("@formily/core").GeneralField>;
@@ -14265,9 +14272,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
14265
14272
  lifeCycle: {
14266
14273
  type: import("vue").PropType<Partial<{
14267
14274
  onSetup(): void;
14268
- beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
14269
- afterRequest(fieldKey: string, payload?: any): import("../../../es/shared/types").AnyObject[];
14270
- afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[]): void;
14275
+ beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined, payload?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
14276
+ afterRequest(fieldKey: string, res?: any, payload?: import("../../../es/shared/types").AnyObject | undefined): import("../../../es/shared/types").AnyObject[];
14277
+ afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[], payload?: import("../../../es/shared/types").AnyObject | undefined): void;
14271
14278
  }>>;
14272
14279
  };
14273
14280
  requestInstance: {
@@ -14399,9 +14406,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
14399
14406
  uuid: string;
14400
14407
  lifeCycle: Partial<{
14401
14408
  onSetup(): void;
14402
- beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
14403
- afterRequest(fieldKey: string, payload?: any): import("../../../es/shared/types").AnyObject[];
14404
- afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[]): void;
14409
+ beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined, payload?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
14410
+ afterRequest(fieldKey: string, res?: any, payload?: import("../../../es/shared/types").AnyObject | undefined): import("../../../es/shared/types").AnyObject[];
14411
+ afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[], payload?: import("../../../es/shared/types").AnyObject | undefined): void;
14405
14412
  }>;
14406
14413
  businessFormatter: import("..").FormBusinessFormatter;
14407
14414
  requestInstance: import("..").RequestInstance;
@@ -14535,9 +14542,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
14535
14542
  uuid: string;
14536
14543
  lifeCycle: Partial<{
14537
14544
  onSetup(): void;
14538
- beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
14539
- afterRequest(fieldKey: string, payload?: any): import("../../../es/shared/types").AnyObject[];
14540
- afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[]): void;
14545
+ beforeRequest(fieldKey: string, params?: import("../../../es/shared/types").AnyObject | undefined, payload?: import("../../../es/shared/types").AnyObject | undefined): void | import("../../../es/shared/types").UndefinedAble<import("../../../es/shared/types").AnyObject>;
14546
+ afterRequest(fieldKey: string, res?: any, payload?: import("../../../es/shared/types").AnyObject | undefined): import("../../../es/shared/types").AnyObject[];
14547
+ afterOptionInit(fieldKey: string, options: import("../../../es/shared/types").AnyObject[], payload?: import("../../../es/shared/types").AnyObject | undefined): void;
14541
14548
  }>;
14542
14549
  businessFormatter: import("..").FormBusinessFormatter;
14543
14550
  requestInstance: import("..").RequestInstance;