cnhis-design-vue 3.1.46-beta.1 → 3.1.46-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 (96) hide show
  1. package/README.md +87 -87
  2. package/es/components/base-search/index.d.ts +7 -2
  3. package/es/components/base-search/src/index.vue.d.ts +7 -2
  4. package/es/components/button-print/src/utils/print.js +1 -1
  5. package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -1
  6. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
  7. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +1 -1
  8. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
  9. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +1 -1
  10. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
  11. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
  12. package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +1 -1
  13. package/es/components/fabric-chart/src/utils/index.d.ts +1 -0
  14. package/es/components/fabric-chart/src/utils/index.js +1 -1
  15. package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
  16. package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.d.ts +1 -1
  17. package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.js +1 -1
  18. package/es/components/index.css +1 -1
  19. package/es/components/index.d.ts +2 -1
  20. package/es/components/index.js +1 -1
  21. package/es/components/quick-search/index.d.ts +8 -2
  22. package/es/components/quick-search/src/index.vue.d.ts +8 -2
  23. package/es/components/quick-search/src/index.vue2.js +1 -1
  24. package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
  25. package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
  26. package/es/components/select-person/src/SearchMultiple.vue.d.ts +6 -0
  27. package/es/components/table-export-field/index.d.ts +967 -0
  28. package/es/components/table-export-field/index.js +1 -0
  29. package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +192 -0
  30. package/es/components/table-export-field/src/components/ExportModal.vue.js +1 -0
  31. package/es/components/table-export-field/src/components/ExportModal.vue2.js +1 -0
  32. package/es/components/table-export-field/src/components/SaveProjectModal.vue.d.ts +687 -0
  33. package/es/components/table-export-field/src/components/SaveProjectModal.vue.js +1 -0
  34. package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +1 -0
  35. package/es/components/table-export-field/src/constants/index.d.ts +3 -0
  36. package/es/components/table-export-field/src/constants/index.js +1 -0
  37. package/es/components/table-export-field/src/hooks/useAsyncData.d.ts +6 -0
  38. package/es/components/table-export-field/src/hooks/useAsyncData.js +1 -0
  39. package/es/components/table-export-field/src/index.vue.d.ts +968 -0
  40. package/es/components/table-export-field/src/index.vue.js +1 -0
  41. package/es/components/table-export-field/src/index.vue2.js +1 -0
  42. package/es/components/table-export-field/src/types/index.d.ts +6 -0
  43. package/es/components/table-export-field/src/types/index.js +1 -0
  44. package/es/components/table-export-field/style/index.css +1 -0
  45. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +18 -5
  46. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +1 -1
  47. package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue2.js +1 -1
  48. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +18 -3
  49. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +1 -1
  50. package/es/components/table-filter/src/components/render-widget/components/Select.vue2.js +1 -1
  51. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts +1 -1
  52. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +1 -1
  53. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +37 -9
  54. package/es/components/table-filter/src/components/render-widget/index.vue.d.ts +4 -1
  55. package/es/components/table-filter/src/components/render-widget/index.vue.js +1 -1
  56. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +37 -9
  57. package/es/components/table-filter/src/hooks/useAdvanced.d.ts +1 -0
  58. package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
  59. package/es/components/table-filter/src/hooks/useRenderWidget.d.ts +1 -1
  60. package/es/components/table-filter/src/hooks/useRenderWidget.js +1 -1
  61. package/es/components/table-filter/src/types/index.d.ts +1 -0
  62. package/es/env.d.ts +25 -25
  63. package/es/shared/assets/img/failure.png.js +1 -1
  64. package/es/shared/assets/img/no-permission.png.js +1 -1
  65. package/es/shared/assets/img/nodata.png.js +1 -1
  66. package/es/shared/assets/img/notfound.png.js +1 -1
  67. package/es/shared/assets/img/qr.png.js +1 -1
  68. package/es/shared/assets/img/success.png.js +1 -1
  69. package/es/shared/assets/img/video.png.js +1 -1
  70. package/es/shared/assets/img/video_default_cover.png.js +1 -1
  71. package/es/shared/assets/img/xb_big.png.js +1 -1
  72. package/es/shared/assets/img/xb_small.png.js +1 -1
  73. package/es/shared/package.json.js +1 -1
  74. package/es/shared/utils/fabricjs/index.js +1 -1
  75. package/package.json +2 -2
  76. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  77. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
  78. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
  79. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
  80. package/es/components/form-render/src/components/renderer/dist/levelSearchCascader.d.ts +0 -77
  81. package/es/components/form-render/src/components/renderer/dist/searchCascade.d.ts +0 -93
  82. package/es/components/iho-table/src/plugins/dist/highLightSetPlugin.d.ts +0 -3
  83. package/es/components/iho-table/src/plugins/filterRenderPlugin/dist/index.d.ts +0 -3
  84. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/dist/index.d.ts +0 -3
  85. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/defaultRendererPlugin.d.ts +0 -3
  86. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/seqRendererPlugin.d.ts +0 -3
  87. package/es/components/iho-table/src/plugins/varialbleHeightPlugin/dist/index.d.ts +0 -3
  88. package/es/components/iho-table/src/utils/dist/index.d.ts +0 -44
  89. package/es/components/scale-view/src/components/formitem/dist/r-address.d.ts +0 -36
  90. package/es/components/scale-view/src/components/formitem/dist/r-sign.d.ts +0 -36
  91. package/es/components/scale-view/src/components/formitem/dist/standard-modal.d.ts +0 -82
  92. package/es/components/search-cascader/src/components/dist/SearchMenu.d.ts +0 -57
  93. package/es/components/search-cascader/src/components/dist/SearchMenu1.d.ts +0 -57
  94. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
  95. package/es/shared/utils/fabricjs/index.d.ts +0 -6823
  96. package/es/shared/utils/tapable/index.d.ts +0 -139
@@ -1 +1 @@
1
- import{defineComponent as e,createVNode as t,isVNode as l}from"vue";import{connect as o,mapProps as a}from"@formily/vue";import{promiseTimeout as r}from"@vueuse/shared";import{NSpace as i,NRadio as u,NRadioGroup as n,NCheckbox as p,NCheckboxGroup as d}from"naive-ui";import"../../../index.js";import{useComplexOptions as s}from"../../hooks/useComplexOptions.js";import"../../utils/index.js";import{useAutographOptions as c}from"../../hooks/useFormRenderOptions.js";import{useCommonInjection as m}from"../../hooks/useCommonInjection.js";import{assignUpdateValue as v,createVisitedSetter as f}from"../../utils/schema.js";import{useFormField as y}from"../../hooks/useFormField.js";function b(o,a,u){return e({name:o,props:{value:{type:[String,Number,Object,Array]},options:{type:Array,default:()=>[]},autograph:{type:String},lazyRequest:{type:Boolean,default:!1},requestCache:{type:Boolean,default:!0},labelField:{type:String,default:"text"},valueField:{type:String,default:"value"},wordbook:{type:Object},vertical:{type:Boolean,default:!1},childFieldStrategy:{type:String,default:"checked"},clearable:Boolean,onChange:{}},emits:["update:value"],setup(e,{emit:o}){const{field:p}=y(),{renderComplexOption:d,valueRef:v}=s(e,o),{labelKey:b,valueKey:j,fullOptions:h}=c(e,v),{injectValueBindKey:g,injectValueValidate:k}=m();k(v);const S=g(v);async function F(){if(a!==n||!e.clearable)return;const t=v.value;await r(0),null!=t&&(v.value=null)}return()=>t(a,{key:S.value,value:v.value,"onUpdate:value":e=>v.value=e,onClick:f(p)},{default:()=>[t(i,{vertical:e.vertical,"vertical-space":e.vertical},{default:()=>{var o;return[null==(o=h.value)?void 0:o.map((o=>{let a;return t(u,{key:o[j.value],value:o[j.value],disabled:o.disabled,onClick:F},"function"==typeof(r=a=d({value:v.value,option:o,valueKey:j.value,labelKey:b.value,childFieldStrategy:e.childFieldStrategy}))||"[object Object]"===Object.prototype.toString.call(r)&&!l(r)?a:{default:()=>[a]});var r}))]}})]})}})}const j=o(b("FormRadio",n,u),a({dataSource:"options"},v)),h=o(b("FormCheckbox",d,p),a({dataSource:"options"},v));export{h as CHECKBOX,j as RADIO};
1
+ import{defineComponent as e,createVNode as t,isVNode as o}from"vue";import{connect as a,mapProps as l}from"@formily/vue";import{promiseTimeout as r}from"@vueuse/shared";import{NSpace as i,NRadio as u,NRadioGroup as n,NCheckbox as p,NCheckboxGroup as d}from"naive-ui";import"../../../index.js";import{useComplexOptions as s}from"../../hooks/useComplexOptions.js";import"../../utils/index.js";import{useAutographOptions as c}from"../../hooks/useFormRenderOptions.js";import{useCommonInjection as m}from"../../hooks/useCommonInjection.js";import{assignUpdateValue as v,createVisitedSetter as f}from"../../utils/schema.js";import{useFormField as y}from"../../hooks/useFormField.js";function b(a,l,u){return e({name:a,props:{value:{type:[String,Number,Object,Array]},options:{type:Array,default:()=>[]},autograph:{type:String},lazyRequest:{type:Boolean,default:!1},requestCache:{type:Boolean,default:!0},labelField:{type:String,default:"text"},valueField:{type:String,default:"value"},wordbook:{type:Object},vertical:{type:Boolean,default:!1},childFieldStrategy:{type:String,default:"checked"},clearable:Boolean,onChange:{}},emits:["update:value"],setup(e,{emit:a}){const{field:p}=y(),{renderComplexOption:d,valueRef:v}=s(e,a),{labelKey:b,valueKey:j,fullOptions:h}=c(e,v),{injectValueBindKey:g,injectValueValidate:k}=m();k(v);const S=g(v);return()=>t(l,{key:S.value,value:v.value,"onUpdate:value":e=>v.value=e,onClick:f(p)},{default:()=>[t(i,{vertical:e.vertical,"vertical-space":e.vertical},{default:()=>{var a;return[null==(a=h.value)?void 0:a.map((a=>{let i;return t(u,{key:a[j.value],value:a[j.value],disabled:a.disabled,onClick:()=>async function(t){if(l!==n||!e.clearable)return;const o=v.value;await r(0),o===t[j.value]&&(v.value=null)}(a)},"function"==typeof(p=i=d({value:v.value,option:a,valueKey:j.value,labelKey:b.value,childFieldStrategy:e.childFieldStrategy}))||"[object Object]"===Object.prototype.toString.call(p)&&!o(p)?i:{default:()=>[i]});var p}))]}})]})}})}const j=a(b("FormRadio",n,u),l({dataSource:"options"},v)),h=a(b("FormCheckbox",d,p),l({dataSource:"options"},v));export{h as CHECKBOX,j as RADIO};
@@ -1,6 +1,6 @@
1
1
  import { SyncHook } from '../../../../../../es/shared/utils/tapable';
2
2
  import { Ref } from 'vue';
3
- import { AbstractSetupHooks, IhoTableConfig, IhoTableFieldItem, IhoTableHandlerContext } from '../../../../../../es/components/iho-table';
3
+ import { AbstractSetupHooks, IhoTableConfig, IhoTableFieldItem, IhoTableHandlerContext } from '../../../../../../es/components/iho-table/src/types';
4
4
  declare class SetupHooks extends AbstractSetupHooks {
5
5
  readonly setup: SyncHook<[Ref<IhoTableConfig>, Ref<IhoTableFieldItem[]>, IhoTableHandlerContext<true>], void, import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
6
6
  }
@@ -1 +1 @@
1
- import s from"../../../../../shared/utils/tapable/SyncHook.js";import"../../../../../shared/utils/tapable/SyncBailHook.js";import"../../../../../shared/utils/tapable/SyncWaterfallHook.js";import"../../../../../shared/utils/tapable/SyncLoopHook.js";import"../../../../../shared/utils/tapable/AsyncParallelHook.js";import"../../../../../shared/utils/tapable/AsyncParallelBailHook.js";import"../../../../../shared/utils/tapable/AsyncSeriesHook.js";import"../../../../../shared/utils/tapable/AsyncSeriesBailHook.js";import"../../../../../shared/utils/tapable/AsyncSeriesLoopHook.js";import"../../../../../shared/utils/tapable/AsyncSeriesWaterfallHook.js";import"../../../index.js";import{AbstractSetupHooks as t}from"../../types/pluginType.js";class e extends t{constructor(){super(...arguments),this.setup=new s(["config","fieldList","context"])}}function o(){return{create:function(){return new e}}}export{o as useSetupHooks};
1
+ import s from"../../../../../shared/utils/tapable/SyncHook.js";import"../../../../../shared/utils/tapable/SyncBailHook.js";import"../../../../../shared/utils/tapable/SyncWaterfallHook.js";import"../../../../../shared/utils/tapable/SyncLoopHook.js";import"../../../../../shared/utils/tapable/AsyncParallelHook.js";import"../../../../../shared/utils/tapable/AsyncParallelBailHook.js";import"../../../../../shared/utils/tapable/AsyncSeriesHook.js";import"../../../../../shared/utils/tapable/AsyncSeriesBailHook.js";import"../../../../../shared/utils/tapable/AsyncSeriesLoopHook.js";import"../../../../../shared/utils/tapable/AsyncSeriesWaterfallHook.js";import{AbstractSetupHooks as t}from"../../types/pluginType.js";class e extends t{constructor(){super(...arguments),this.setup=new s(["config","fieldList","context"])}}function o(){return{create:function(){return new e}}}export{o as useSetupHooks};