cnhis-design-vue 3.2.7-beta.3 → 3.2.7-beta.30

Sign up to get free protection for your applications and to get access to all the features.
Files changed (201) hide show
  1. package/README.md +87 -87
  2. package/es/components/base-search/index.d.ts +2 -0
  3. package/es/components/base-search/src/index.vue.d.ts +2 -0
  4. package/es/components/button-print/index.d.ts +27 -0
  5. package/es/components/button-print/src/ButtonPrint.vue.d.ts +27 -0
  6. package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
  7. package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +1 -0
  8. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +1 -1
  9. package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +9 -0
  10. package/es/components/button-print/src/components/OldPrintComponent.vue2.js +1 -1
  11. package/es/components/button-print/style/index.css +1 -1
  12. package/es/components/callback/src/components/render/popupMaps.d.ts +27 -0
  13. package/es/components/classification/index.d.ts +60 -5
  14. package/es/components/classification/src/components/search-filter/index.vue.d.ts +60 -5
  15. package/es/components/classification/src/components/set-classification/index.vue.d.ts +60 -5
  16. package/es/components/classification/src/index.vue.d.ts +60 -5
  17. package/es/components/date-picker/index.d.ts +13 -0
  18. package/es/components/date-picker/src/DatePicker.vue.d.ts +13 -0
  19. package/es/components/date-picker/src/DatePicker.vue2.js +1 -1
  20. package/es/components/fabric-chart/src/constants/index.d.ts +3 -1
  21. package/es/components/fabric-chart/src/constants/index.js +1 -1
  22. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
  23. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.d.ts +8 -3
  24. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +1 -1
  25. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.d.ts +9 -6
  26. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +1 -1
  27. package/es/components/fabric-chart/src/hooks/electrocardiogram/useMeasureInstrument.js +1 -1
  28. package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcess.js +1 -1
  29. package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcessChart.d.ts +0 -2
  30. package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcessChart.js +1 -1
  31. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.d.ts +8 -3
  32. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
  33. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
  34. package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +1 -1
  35. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.d.ts +8 -3
  36. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
  37. package/es/components/fabric-chart/src/hooks/useScaleColumn.d.ts +1 -1
  38. package/es/components/fabric-chart/src/hooks/useScaleColumn.js +1 -1
  39. package/es/components/fabric-chart/src/interface.d.ts +11 -1
  40. package/es/components/field-set/src/FieldColor.vue.d.ts +26 -0
  41. package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
  42. package/es/components/field-set/src/components/condition.vue.d.ts +13 -0
  43. package/es/components/field-set/src/components/edit-dialog.vue.d.ts +26 -0
  44. package/es/components/field-set/src/components/edit-filter.vue.d.ts +13 -0
  45. package/es/components/form-config/index.d.ts +40 -3
  46. package/es/components/form-config/src/FormConfig.vue.d.ts +40 -3
  47. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +14 -0
  48. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +23 -3
  49. package/es/components/form-config/src/components/FormConfigEdit.vue2.js +1 -1
  50. package/es/components/form-render/index.d.ts +14 -0
  51. package/es/components/form-render/src/FormRender.vue.d.ts +14 -0
  52. package/es/components/form-render/src/FormRender.vue2.js +1 -1
  53. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +14 -0
  54. package/es/components/form-render/src/components/renderer/formItem.d.ts +9 -0
  55. package/es/components/form-render/src/components/renderer/formItem.js +1 -1
  56. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -0
  57. package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -0
  58. package/es/components/form-render/src/components/tooltipMessage.vue2.js +1 -1
  59. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
  60. package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -0
  61. package/es/components/form-render/src/hooks/useFormValidator.js +1 -1
  62. package/es/components/form-render/src/types/fieldItem.d.ts +3 -1
  63. package/es/components/form-render/src/types/index.d.ts +2 -1
  64. package/es/components/form-render/src/utils/business.js +1 -1
  65. package/es/components/form-render/src/utils/schema.d.ts +1 -1
  66. package/es/components/form-render/src/utils/schema.js +1 -1
  67. package/es/components/iho-chat/index.d.ts +300 -75
  68. package/es/components/iho-chat/src/Index.vue.d.ts +300 -75
  69. package/es/components/iho-chat/src/Index.vue2.js +1 -1
  70. package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +35 -13
  71. package/es/components/iho-chat/src/components/ChatAdd.vue2.js +1 -1
  72. package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +41 -14
  73. package/es/components/iho-chat/src/components/ChatFooter.vue2.js +1 -1
  74. package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +50 -14
  75. package/es/components/iho-chat/src/components/ChatHeader.vue2.js +1 -1
  76. package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +24 -4
  77. package/es/components/iho-chat/src/components/ChatMain.vue2.js +1 -1
  78. package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +13 -0
  79. package/es/components/iho-chat/src/components/ChatRecord.vue2.js +1 -1
  80. package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +60 -11
  81. package/es/components/iho-chat/src/components/ChatSearch.vue2.js +1 -1
  82. package/es/components/iho-chat/src/components/ChatSet.vue2.js +1 -1
  83. package/es/components/iho-chat/src/components/ContextMenu.d.ts +15 -2
  84. package/es/components/iho-chat/src/components/ContextMenu.js +1 -1
  85. package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +62 -24
  86. package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +1 -1
  87. package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
  88. package/es/components/iho-chat/src/components/SiderList.vue.d.ts +1 -0
  89. package/es/components/iho-chat/src/components/SiderList.vue2.js +1 -1
  90. package/es/components/iho-chat/src/components/Video.vue.d.ts +14 -2
  91. package/es/components/iho-chat/src/components/Video.vue2.js +1 -1
  92. package/es/components/iho-chat/src/hooks/useScrollLoading.d.ts +1 -1
  93. package/es/components/iho-chat/src/hooks/useScrollLoading.js +1 -1
  94. package/es/components/iho-chat/src/hooks/useSearchUserList.d.ts +11 -0
  95. package/es/components/iho-chat/src/hooks/useSearchUserList.js +1 -0
  96. package/es/components/iho-chat/src/hooks/useSession.js +1 -1
  97. package/es/components/iho-chat/src/hooks/useState.js +1 -1
  98. package/es/components/iho-chat/src/hooks/useVideo.d.ts +11 -0
  99. package/es/components/iho-chat/src/hooks/useVideo.js +1 -1
  100. package/es/components/iho-chat/src/types/index.d.ts +0 -1
  101. package/es/components/iho-chat/src/utils/index.js +1 -1
  102. package/es/components/iho-chat/style/index.css +1 -1
  103. package/es/components/iho-table/index.d.ts +13 -0
  104. package/es/components/iho-table/src/IhoTable.vue.d.ts +13 -0
  105. package/es/components/iho-table/src/IhoTable.vue2.js +1 -1
  106. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +13 -0
  107. package/es/components/iho-table/src/plugins/headerPlugin/index.d.ts +1 -0
  108. package/es/components/iho-table/src/plugins/headerPlugin/index.js +1 -0
  109. package/es/components/iho-table/src/plugins/headerPlugin/tooltipMessage.vue.d.ts +13 -0
  110. package/es/components/iho-table/src/plugins/headerPlugin/tooltipMessage.vue.js +1 -0
  111. package/es/components/iho-table/src/plugins/headerPlugin/tooltipMessage.vue2.js +1 -0
  112. package/es/components/iho-table/src/plugins/index.js +1 -1
  113. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +13 -0
  114. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +20 -2
  115. package/es/components/iho-table/src/types/index.d.ts +3 -0
  116. package/es/components/iho-table/src/utils/index.d.ts +0 -1
  117. package/es/components/iho-table/src/utils/index.js +1 -1
  118. package/es/components/index.css +1 -1
  119. package/es/components/info-header/index.d.ts +34 -0
  120. package/es/components/info-header/src/InfoHeader.vue.d.ts +34 -0
  121. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +2 -0
  122. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue2.js +1 -1
  123. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +2 -0
  124. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +16 -0
  125. package/es/components/info-header/src/components/infoDescription/index.vue2.js +1 -1
  126. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +14 -0
  127. package/es/components/quick-search/src/index.vue2.js +1 -1
  128. package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
  129. package/es/components/shortcut-setter/index.d.ts +16 -1
  130. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +16 -1
  131. package/es/components/steps-wheel/index.d.ts +1 -1
  132. package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +1 -1
  133. package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +13 -0
  134. package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +13 -0
  135. package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +13 -0
  136. package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +13 -0
  137. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +47 -5
  138. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +13 -0
  139. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +13 -0
  140. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue.d.ts +37 -19
  141. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue2.js +1 -1
  142. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +47 -5
  143. package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +1 -1
  144. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +47 -5
  145. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +13 -0
  146. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +13 -0
  147. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +13 -0
  148. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +13 -0
  149. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts +33 -18
  150. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +1 -1
  151. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.d.ts +13 -0
  152. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +1 -1
  153. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +69 -4
  154. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +69 -4
  155. package/es/components/table-filter/src/tool/transformData.js +1 -1
  156. package/es/components/table-filter/src/types/index.d.ts +3 -0
  157. package/es/components/time-line/index.d.ts +4 -4
  158. package/es/components/time-line/src/TimeLine.vue.d.ts +1 -1
  159. package/es/components/time-line/src/TimeLine.vue2.js +1 -1
  160. package/es/components/time-picker/index.d.ts +20 -2
  161. package/es/components/time-picker/src/TimePicker.vue.d.ts +21 -2
  162. package/es/components/time-picker/src/TimePicker.vue2.js +1 -1
  163. package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
  164. package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
  165. package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
  166. package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
  167. package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
  168. package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
  169. package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
  170. package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
  171. package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
  172. package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
  173. package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
  174. package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
  175. package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
  176. package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
  177. package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
  178. package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
  179. package/es/shared/assets/img/failure.png.js +1 -1
  180. package/es/shared/assets/img/no-permission.png.js +1 -1
  181. package/es/shared/assets/img/nodata.png.js +1 -1
  182. package/es/shared/assets/img/notfound.png.js +1 -1
  183. package/es/shared/assets/img/qr.png.js +1 -1
  184. package/es/shared/assets/img/success.png.js +1 -1
  185. package/es/shared/assets/img/table_style_2.png.js +1 -1
  186. package/es/shared/assets/img/video.png.js +1 -1
  187. package/es/shared/assets/img/video_default_cover.png.js +1 -1
  188. package/es/shared/assets/img/xb_big.png.js +1 -1
  189. package/es/shared/assets/img/xb_small.png.js +1 -1
  190. package/es/shared/package.json.js +1 -1
  191. package/es/shared/utils/business.js +1 -1
  192. package/package.json +2 -2
  193. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  194. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
  195. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
  196. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
  197. package/es/components/iho-table/src/plugins/headerPlugin.d.ts +0 -1
  198. package/es/components/iho-table/src/plugins/headerPlugin.js +0 -1
  199. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
  200. package/es/shared/utils/fabricjs/index.d.ts +0 -6823
  201. package/es/shared/utils/tapable/index.d.ts +0 -139
@@ -1 +1 @@
1
- import*as e from"./anchorPlugin/index.js";import*as r from"./bindEventSettingPlugin.js";import*as i from"./colorAndIconPlugin.js";import*as n from"./copyPastePlugin.js";import*as s from"./defaultConfigPlugin.js";import*as t from"./defaultValuePlugin.js";import*as l from"./dragScrollPlugin.js";import*as d from"./filterDaterangeRenderPlugin/index.js";import*as g from"./filterRenderPlugin/index.js";import*as o from"./filterVisibleEventPlugin.js";import*as u from"./forceArrowKeyPlugin.js";import*as a from"./headerPlugin.js";import*as P from"./highLightSetPlugin.js";import*as m from"./keyboardEventPlugin.js";import*as f from"./lowCodeFieldAdaptorPlugin.js";import*as p from"./maxCheckSizePlugin.js";import*as x from"./operationalFormPlugin.js";import*as j from"./pagerScrollPlugin/index.js";import*as c from"./rendererPlugins/editableWidgets/dateRendererPlugin/index.js";import*as b from"./rendererPlugins/editableWidgets/inputRendererPlugin.js";import*as R from"./rendererPlugins/editableWidgets/levelSearchCascadePlugin/index.js";import*as w from"./rendererPlugins/editableWidgets/numberRendererPlugin.js";import*as h from"./rendererPlugins/editableWidgets/radioRendererPlugin.js";import*as W from"./rendererPlugins/editableWidgets/selectRendererPlugin/index.js";import*as S from"./rendererPlugins/editableWidgets/separateRendererPlugin/index.js";import*as v from"./rendererPlugins/editableWidgets/switchRendererPlugin.js";import*as k from"./rendererPlugins/editableWidgets/timeRendererPlugin/index.js";import*as C from"./rendererPlugins/widgets/checkRendererPlugin.js";import*as y from"./rendererPlugins/widgets/colorRendererPlugin.js";import*as A from"./rendererPlugins/widgets/defaultRendererPlugin.js";import*as E from"./rendererPlugins/widgets/htmlRendererPlugin.js";import*as F from"./rendererPlugins/widgets/labelRendererPlugin.js";import*as D from"./rendererPlugins/widgets/pictureRendererPlugin.js";import*as T from"./rendererPlugins/widgets/seqRendererPlugin.js";import*as V from"./rowClickPlugin.js";import*as q from"./rowDragPlugin.js";import*as z from"./rowGroupSettingPlugin/index.js";import*as G from"./stickyFixedPlugin.js";import*as H from"./varialbleHeightPlugin.js";import*as I from"./verticalTablePlugin/index.js";import*as K from"./virtualTreePlugin.js";import*as L from"./wordbookSettingPlugin.js";import{separateMetaModule as O}from"../../../../shared/utils/index.js";var B=O(Object.assign({"./anchorPlugin/index.tsx":e,"./bindEventSettingPlugin.ts":r,"./colorAndIconPlugin.ts":i,"./copyPastePlugin.ts":n,"./defaultConfigPlugin.ts":s,"./defaultValuePlugin.ts":t,"./dragScrollPlugin.ts":l,"./filterDaterangeRenderPlugin/index.tsx":d,"./filterRenderPlugin/index.tsx":g,"./filterVisibleEventPlugin.ts":o,"./forceArrowKeyPlugin.ts":u,"./headerPlugin.tsx":a,"./highLightSetPlugin.tsx":P,"./keyboardEventPlugin.ts":m,"./lowCodeFieldAdaptorPlugin.tsx":f,"./maxCheckSizePlugin.ts":p,"./operationalFormPlugin.ts":x,"./pagerScrollPlugin/index.ts":j,"./rendererPlugins/editableWidgets/dateRendererPlugin/index.tsx":c,"./rendererPlugins/editableWidgets/inputRendererPlugin.tsx":b,"./rendererPlugins/editableWidgets/levelSearchCascadePlugin/index.tsx":R,"./rendererPlugins/editableWidgets/numberRendererPlugin.tsx":w,"./rendererPlugins/editableWidgets/radioRendererPlugin.tsx":h,"./rendererPlugins/editableWidgets/selectRendererPlugin/index.tsx":W,"./rendererPlugins/editableWidgets/separateRendererPlugin/index.tsx":S,"./rendererPlugins/editableWidgets/switchRendererPlugin.tsx":v,"./rendererPlugins/editableWidgets/timeRendererPlugin/index.tsx":k,"./rendererPlugins/widgets/checkRendererPlugin.tsx":C,"./rendererPlugins/widgets/colorRendererPlugin.tsx":y,"./rendererPlugins/widgets/defaultRendererPlugin.tsx":A,"./rendererPlugins/widgets/htmlRendererPlugin.tsx":E,"./rendererPlugins/widgets/labelRendererPlugin.tsx":F,"./rendererPlugins/widgets/pictureRendererPlugin.tsx":D,"./rendererPlugins/widgets/seqRendererPlugin.tsx":T,"./rowClickPlugin.ts":V,"./rowDragPlugin.ts":q,"./rowGroupSettingPlugin/index.ts":z,"./stickyFixedPlugin.tsx":G,"./varialbleHeightPlugin.tsx":H,"./verticalTablePlugin/index.ts":I,"./virtualTreePlugin.ts":K,"./wordbookSettingPlugin.ts":L}));export{B as default};
1
+ import*as e from"./anchorPlugin/index.js";import*as r from"./bindEventSettingPlugin.js";import*as i from"./colorAndIconPlugin.js";import*as n from"./copyPastePlugin.js";import*as s from"./defaultConfigPlugin.js";import*as t from"./defaultValuePlugin.js";import*as l from"./dragScrollPlugin.js";import*as d from"./filterDaterangeRenderPlugin/index.js";import*as g from"./filterRenderPlugin/index.js";import*as o from"./filterVisibleEventPlugin.js";import*as u from"./forceArrowKeyPlugin.js";import*as a from"./headerPlugin/index.js";import*as P from"./highLightSetPlugin.js";import*as m from"./keyboardEventPlugin.js";import*as f from"./lowCodeFieldAdaptorPlugin.js";import*as p from"./maxCheckSizePlugin.js";import*as x from"./operationalFormPlugin.js";import*as j from"./pagerScrollPlugin/index.js";import*as c from"./rendererPlugins/editableWidgets/dateRendererPlugin/index.js";import*as b from"./rendererPlugins/editableWidgets/inputRendererPlugin.js";import*as R from"./rendererPlugins/editableWidgets/levelSearchCascadePlugin/index.js";import*as w from"./rendererPlugins/editableWidgets/numberRendererPlugin.js";import*as h from"./rendererPlugins/editableWidgets/radioRendererPlugin.js";import*as W from"./rendererPlugins/editableWidgets/selectRendererPlugin/index.js";import*as S from"./rendererPlugins/editableWidgets/separateRendererPlugin/index.js";import*as v from"./rendererPlugins/editableWidgets/switchRendererPlugin.js";import*as k from"./rendererPlugins/editableWidgets/timeRendererPlugin/index.js";import*as C from"./rendererPlugins/widgets/checkRendererPlugin.js";import*as y from"./rendererPlugins/widgets/colorRendererPlugin.js";import*as A from"./rendererPlugins/widgets/defaultRendererPlugin.js";import*as E from"./rendererPlugins/widgets/htmlRendererPlugin.js";import*as F from"./rendererPlugins/widgets/labelRendererPlugin.js";import*as D from"./rendererPlugins/widgets/pictureRendererPlugin.js";import*as T from"./rendererPlugins/widgets/seqRendererPlugin.js";import*as V from"./rowClickPlugin.js";import*as q from"./rowDragPlugin.js";import*as z from"./rowGroupSettingPlugin/index.js";import*as G from"./stickyFixedPlugin.js";import*as H from"./varialbleHeightPlugin.js";import*as I from"./verticalTablePlugin/index.js";import*as K from"./virtualTreePlugin.js";import*as L from"./wordbookSettingPlugin.js";import{separateMetaModule as O}from"../../../../shared/utils/index.js";var B=O(Object.assign({"./anchorPlugin/index.tsx":e,"./bindEventSettingPlugin.ts":r,"./colorAndIconPlugin.ts":i,"./copyPastePlugin.ts":n,"./defaultConfigPlugin.ts":s,"./defaultValuePlugin.ts":t,"./dragScrollPlugin.ts":l,"./filterDaterangeRenderPlugin/index.tsx":d,"./filterRenderPlugin/index.tsx":g,"./filterVisibleEventPlugin.ts":o,"./forceArrowKeyPlugin.ts":u,"./headerPlugin/index.tsx":a,"./highLightSetPlugin.tsx":P,"./keyboardEventPlugin.ts":m,"./lowCodeFieldAdaptorPlugin.tsx":f,"./maxCheckSizePlugin.ts":p,"./operationalFormPlugin.ts":x,"./pagerScrollPlugin/index.ts":j,"./rendererPlugins/editableWidgets/dateRendererPlugin/index.tsx":c,"./rendererPlugins/editableWidgets/inputRendererPlugin.tsx":b,"./rendererPlugins/editableWidgets/levelSearchCascadePlugin/index.tsx":R,"./rendererPlugins/editableWidgets/numberRendererPlugin.tsx":w,"./rendererPlugins/editableWidgets/radioRendererPlugin.tsx":h,"./rendererPlugins/editableWidgets/selectRendererPlugin/index.tsx":W,"./rendererPlugins/editableWidgets/separateRendererPlugin/index.tsx":S,"./rendererPlugins/editableWidgets/switchRendererPlugin.tsx":v,"./rendererPlugins/editableWidgets/timeRendererPlugin/index.tsx":k,"./rendererPlugins/widgets/checkRendererPlugin.tsx":C,"./rendererPlugins/widgets/colorRendererPlugin.tsx":y,"./rendererPlugins/widgets/defaultRendererPlugin.tsx":A,"./rendererPlugins/widgets/htmlRendererPlugin.tsx":E,"./rendererPlugins/widgets/labelRendererPlugin.tsx":F,"./rendererPlugins/widgets/pictureRendererPlugin.tsx":D,"./rendererPlugins/widgets/seqRendererPlugin.tsx":T,"./rowClickPlugin.ts":V,"./rowDragPlugin.ts":q,"./rowGroupSettingPlugin/index.ts":z,"./stickyFixedPlugin.tsx":G,"./varialbleHeightPlugin.tsx":H,"./verticalTablePlugin/index.ts":I,"./virtualTreePlugin.ts":K,"./wordbookSettingPlugin.ts":L}));export{B as default};
@@ -128,6 +128,10 @@ declare const _default: import("vue").DefineComponent<{
128
128
  allowedInvalidValue: {
129
129
  type: StringConstructor;
130
130
  };
131
+ to: {
132
+ type: PropType<string | false | HTMLElement>;
133
+ default: string;
134
+ };
131
135
  }, {
132
136
  attrs: {
133
137
  [x: string]: unknown;
@@ -148,6 +152,10 @@ declare const _default: import("vue").DefineComponent<{
148
152
  allowedInvalidValue: {
149
153
  type: StringConstructor;
150
154
  };
155
+ to: {
156
+ type: PropType<string | false | HTMLElement>;
157
+ default: string;
158
+ };
151
159
  }>> & {
152
160
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
153
161
  }>>;
@@ -184,10 +192,15 @@ declare const _default: import("vue").DefineComponent<{
184
192
  allowedInvalidValue: {
185
193
  type: StringConstructor;
186
194
  };
195
+ to: {
196
+ type: PropType<string | false | HTMLElement>;
197
+ default: string;
198
+ };
187
199
  }>> & {
188
200
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
189
201
  }, {
190
202
  updateUnchangedValue: boolean;
203
+ to: string | false | HTMLElement;
191
204
  }>>;
192
205
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
193
206
  value: {
@@ -75,16 +75,34 @@ declare const _default: import("vue").DefineComponent<{
75
75
  NSpace: any;
76
76
  NButton: any;
77
77
  NScrollbar: any;
78
- TimePicker: import("../../../../../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{}, {
78
+ TimePicker: import("../../../../../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
79
+ to: {
80
+ type: PropType<string | false | HTMLElement>;
81
+ default: string;
82
+ };
83
+ }, {
79
84
  attrs: {
80
85
  [x: string]: unknown;
81
86
  };
87
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
88
+ to: {
89
+ type: PropType<string | false | HTMLElement>;
90
+ default: string;
91
+ };
92
+ }>> & {}>>;
82
93
  timePickerRef: import("vue").Ref<AnyObject | null>;
83
94
  formatRef: import("vue").ComputedRef<string>;
84
95
  focus: () => any;
85
96
  blur: () => any;
86
97
  NTimePicker: any;
87
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
98
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
99
+ to: {
100
+ type: PropType<string | false | HTMLElement>;
101
+ default: string;
102
+ };
103
+ }>>, {
104
+ to: string | false | HTMLElement;
105
+ }>>;
88
106
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "update:formattedValue")[], "click" | "update:formattedValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
89
107
  formattedValue: {
90
108
  type: StringConstructor;
@@ -143,6 +143,8 @@ export declare namespace IhoTableLowCodeField {
143
143
  attr: string;
144
144
  isHide: MaybeString<0 | 1>;
145
145
  colorAndIcon: ColorAndIconItem[];
146
+ fieldDescribe: string;
147
+ fieldDescDev: string;
146
148
  [K: string]: unknown;
147
149
  }>;
148
150
  type QueryOptions = (payload: {
@@ -272,4 +274,5 @@ export type IhoTableProps = Partial<{
272
274
  fieldList: IhoTableFieldItem[];
273
275
  tableData: AnyObject[];
274
276
  annotation: Record<string, AnnotationItem>;
277
+ developMode: boolean;
275
278
  }>;
@@ -39,7 +39,6 @@ export declare const IhoTableRenderHelper: Readonly<{
39
39
  hasFilter(lowCodeField: LowCodeTableFieldItem): boolean;
40
40
  hasDateFiler(lowCodeField: LowCodeTableFieldItem): boolean | undefined;
41
41
  hasTitlePrefix(lowCodeField: VxeTableDefines.ColumnInfo | IhoTableFieldItem): boolean | import("vxe-table").VxeTooltipPropTypes.Content | undefined;
42
- hasFieldDescribe(lowCodeField: LowCodeTableFieldItem): unknown;
43
42
  }>;
44
43
  export declare const IhoTableStatusHelper: Readonly<{
45
44
  isPositive(value: string | number | undefined | null): boolean;
@@ -1 +1 @@
1
- import{reactive as e,inject as n,unref as t,normalizeStyle as r,toRaw as i,createVNode as o}from"vue";import{jsonParse as l}from"../../../../shared/utils/index.js";import{promiseTimeout as u}from"@vueuse/shared";import{parse as a,isValid as c,compareDesc as d}from"date-fns";import{isNumber as s,isFunction as f,isString as p,isObject as m,isArray as v}from"lodash-es";import{InjectionIhoTableConfig as h,InjectionIhoTableEmits as g,IHO_TABLE_STRING_STATUS as I,IHO_TABLE_NUMBER_STATUS as E,IHO_TABLE_TREE_TYPE as T,EDITABLE_WIDGET_TYPE as w,InjectionIhoTableUUID as R}from"../constants/index.js";import{getSeparateInfo as C}from"./separateMap.js";export{deleteSeparateInfo,getSeparateInfo,setSeparateInfo}from"./separateMap.js";function S(e){return console.warn(`[IhoTable]: ${e}`)}const F=Object.freeze({getCellType(e){var n;return((null==(n=e.settingObj)?void 0:n.attr)||e.formType||"DEFAULT").toUpperCase()}});function D(){var e,t,r;const i=n(h);return i||S("this function(getRowHeight) only can be used in setup environment"),null!=(r=null==(t=null==(e=null==i?void 0:i.value)?void 0:e.rowConfig)?void 0:t.height)?r:32}function P(e){const n=e.slice(2);return`${n[0].toLowerCase()}${n.slice(1)}`}function b(e){return`on${e[0].toUpperCase()}${e.slice(1)}`}function O(n,t=!0){const r=t?e(new Map):new Map;return{uuidMap:r,getItemFromUUID:function(e){return r.get(e)||r.set(e,n()),r.get(e)},setItemFromUUID:function(e,n){r.set(e,n)},removeItemFromUUID:function(e){r.delete(e)}}}async function A(e,n,r,i,o=2){const l=function(){var o;const l=null==(o=t(i))?void 0:o.getColumnByField(e.field);if(!l)return;const u=$(l);return u?f(u.separateWidth)?u.separateWidth({column:l,row:n,rowIndex:r,$table:t(i)}):s(u.separateWidth)?u.separateWidth:l.renderWidth:l.renderWidth}();return s(l)&&l>0?l:o<=0?function(){const n=+e.colWidth;return s(n)?n:64}():(await u(0),A(e,n,r,i,o-1))}function x(e){const r=n(g);function o(){var n;const r=t(e);return{$table:r.$table,value:r.row[r.column.field],row:r.row,column:{...r.column,...null==(n=r.column.editRender)?void 0:n.props},index:r.rowIndex>-1?r.rowIndex:r.$rowIndex}}function l(e={}){r("formChange",{...o(),...i(e)})}function u(e={}){r("formClick",{...o(),...i(e)})}return{emitFormChange:function(){l()},emitFormClick:function(){u()},emitFormChangeWithParams:l,emitFormClickWithParams:u}}function $(e){var n;return null==(n=e.editRender)?void 0:n.props}const N=Object.freeze({createDefaultRenderCell:function(){return function({props:e},{row:t,column:r}){if("bottom"!==(null==e?void 0:e.separatePlacement))return c(t[r.field]);const i=n(R),l=C(i,t);if(!l)return c(t[r.field]);const{originalData:u=t,isLastRow:a}=l;return c(a?u[r.field]:null);function c(e){return[o("span",{title:U(r,e),class:"iho-table__colorAndIcon"},[e])]}}},createRenderEdit:function(e){return function({props:n},t){return e({...t,fieldItem:n||{},...x(t)})}},isEditableColumn(e,n){var t;return!1!==(null==(t=e.editConfig)?void 0:t.showIcon)&&n.editRender&&!1!==n.editRender.enabled},hasFilter(e){if(M(e))return!0;let n=e.fieldSetting;return p(n)&&(n=l(n||"")),m(n)&&((t=n).notParticipatingSearch!==I.POSITIVE&&"manual"===(null==(r=t.mapping)?void 0:r.type));var t,r},hasDateFiler(e){var n;return null==(n=null==e?void 0:e.filterSetting)?void 0:n.daterange},hasTitlePrefix(e){var n,t;return e&&((null==(n=e.titlePrefix)?void 0:n.content)||(null==(t=e.titlePrefix)?void 0:t.useHTML))},hasFieldDescribe(e){var n;return null==(n=null==e?void 0:e.settingObj)?void 0:n.fieldDescribe}}),H=Object.freeze({isPositive:e=>e===E.POSITIVE||e===I.POSITIVE,isNegative:e=>e===E.NEGATIVE||e===I.NEGATIVE,notPositive:e=>e!==E.POSITIVE&&e!==I.POSITIVE,notNegative:e=>e!==E.NEGATIVE&&e!==I.NEGATIVE});function V(e){return[T.TRANSFORM_WITH_SPAN_METHOD,T.TRANSFORM_TREE_TYPE].includes(`${e.isTree}`)}function W(e){return p(e)&&!!e.match(/^###\{[^{}]+}$/)}function _(e){try{return JSON.parse(e.replace(/^###/,""))}catch(e){return{}}}function j(e,n){if(e.$__SEPARATE||!n.editRender||!n.editRender.props)return e[n.field];const{fieldSetting:t}=n.editRender.props;if(!p(t))return e[n.field];const{mergedFeildExpression:r}=l(t);return r&&p(r)?r.replace(/#{(.+?)}/g,(function(n,t){let r=t?e[t.trim()]:null;W(r)&&(r=_(r).change_text);return r||(null==r?"--":r)})):e[n.field]}const y=["SEARCH","SELECT","RADIO","CHECKBOX"];function M(e){return e.notParticipatingSearch===E.NEGATIVE&&y.includes(F.getCellType(e))&&v(e.options)&&e.options.length}function U(e,n=""){return"tooltip"!==e.showOverflow&&p(n)?n:""}function G(e,n){var r,i,o;n=t(n)||"";const l=null!=(i=null==(r=e.editRender)?void 0:r.props)?i:{},u=a(n,(null==(o=null==l?void 0:l.componentProps)?void 0:o.valueFormat)||"HH:mm",new Date);return!c(u)}function L(e,n,r){var i,o;const l=null!=(o=null==(i=e.editRender)?void 0:i.props)?o:{};return r=t(r)||"",!c(new Date(r))||p(l.connectField)&&n[l.connectField]&&(l.isStartDate&&d(new Date(r),new Date(n[l.connectField]))<0||l.isEndDate&&d(new Date(r),new Date(n[l.connectField]))>0)}function k(e){var n,t;return(!0===e.variableHeight||"1"===e.variableHeight)&&(null!=(t=null==(n=e.editRender)?void 0:n.name)?t:F.getCellType(e))!==w.SEPARATE}function z(e){const n=e.internalData.tableFullColumn;return!!v(n)&&n.some((e=>{var n,t;return k(null!=(t=null==(n=e.editRender)?void 0:n.props)?t:{})}))}function B(e,n){return n?e?t=>[f(e)?e(t):e,f(n)?n(t):n]:n:e}function J(e,n){return n?e?t=>r([f(e)?e(t):e,f(n)?n(t):n]):n:e}export{N as IhoTableRenderHelper,H as IhoTableStatusHelper,F as IhoTableUtils,S as IhoTableWarn,P as eventListener2EventName,b as eventName2EventListener,A as getColumnRenderWidth,$ as getLowCodeFieldFromField,D as getRowHeight,U as getTitle,M as isCompatibleColumn,L as isInvalidDate,G as isInvalidTime,W as isRichContent,V as isTransformTreeType,k as isVariableHeightColumn,z as isVariableHeightTable,B as mergeVxeClass,J as mergeVxeStyle,j as parseMergeField,_ as parseRichContent,x as useIhoTableFormEvent,O as useUUIDMap};
1
+ import{reactive as e,inject as n,unref as t,normalizeStyle as r,toRaw as o,createVNode as i}from"vue";import{jsonParse as l}from"../../../../shared/utils/index.js";import{promiseTimeout as u}from"@vueuse/shared";import{parse as a,isValid as c,compareDesc as d}from"date-fns";import{isNumber as s,isFunction as f,isString as p,isObject as m,isArray as v}from"lodash-es";import{InjectionIhoTableConfig as h,InjectionIhoTableEmits as I,IHO_TABLE_STRING_STATUS as g,IHO_TABLE_NUMBER_STATUS as E,IHO_TABLE_TREE_TYPE as T,EDITABLE_WIDGET_TYPE as w,InjectionIhoTableUUID as R}from"../constants/index.js";import{getSeparateInfo as C}from"./separateMap.js";export{deleteSeparateInfo,getSeparateInfo,setSeparateInfo}from"./separateMap.js";function S(e){return console.warn(`[IhoTable]: ${e}`)}const F=Object.freeze({getCellType(e){var n;return((null==(n=e.settingObj)?void 0:n.attr)||e.formType||"DEFAULT").toUpperCase()}});function P(){var e,t,r;const o=n(h);return o||S("this function(getRowHeight) only can be used in setup environment"),null!=(r=null==(t=null==(e=null==o?void 0:o.value)?void 0:e.rowConfig)?void 0:t.height)?r:32}function D(e){const n=e.slice(2);return`${n[0].toLowerCase()}${n.slice(1)}`}function b(e){return`on${e[0].toUpperCase()}${e.slice(1)}`}function A(n,t=!0){const r=t?e(new Map):new Map;return{uuidMap:r,getItemFromUUID:function(e){return r.get(e)||r.set(e,n()),r.get(e)},setItemFromUUID:function(e,n){r.set(e,n)},removeItemFromUUID:function(e){r.delete(e)}}}async function O(e,n,r,o,i=2){const l=function(){var i;const l=null==(i=t(o))?void 0:i.getColumnByField(e.field);if(!l)return;const u=$(l);return u?f(u.separateWidth)?u.separateWidth({column:l,row:n,rowIndex:r,$table:t(o)}):s(u.separateWidth)?u.separateWidth:l.renderWidth:l.renderWidth}();return s(l)&&l>0?l:i<=0?function(){const n=+e.colWidth;return s(n)?n:64}():(await u(0),O(e,n,r,o,i-1))}function x(e){const r=n(I);function i(){var n;const r=t(e);return{$table:r.$table,value:r.row[r.column.field],row:r.row,column:{...r.column,...null==(n=r.column.editRender)?void 0:n.props},index:r.rowIndex>-1?r.rowIndex:r.$rowIndex}}function l(e={}){r("formChange",{...i(),...o(e)})}function u(e={}){r("formClick",{...i(),...o(e)})}return{emitFormChange:function(){l()},emitFormClick:function(){u()},emitFormChangeWithParams:l,emitFormClickWithParams:u}}function $(e){var n;return null==(n=e.editRender)?void 0:n.props}const N=Object.freeze({createDefaultRenderCell:function(){return function({props:e},{row:t,column:r}){if("bottom"!==(null==e?void 0:e.separatePlacement))return c(t[r.field]);const o=n(R),l=C(o,t);if(!l)return c(t[r.field]);const{originalData:u=t,isLastRow:a}=l;return c(a?u[r.field]:null);function c(e){return[i("span",{title:j(r,e),class:"iho-table__colorAndIcon"},[e])]}}},createRenderEdit:function(e){return function({props:n},t){return e({...t,fieldItem:n||{},...x(t)})}},isEditableColumn(e,n){var t;return!1!==(null==(t=e.editConfig)?void 0:t.showIcon)&&n.editRender&&!1!==n.editRender.enabled},hasFilter(e){if(U(e))return!0;let n=e.fieldSetting;return p(n)&&(n=l(n||"")),m(n)&&((t=n).notParticipatingSearch!==g.POSITIVE&&"manual"===(null==(r=t.mapping)?void 0:r.type));var t,r},hasDateFiler(e){var n;return null==(n=null==e?void 0:e.filterSetting)?void 0:n.daterange},hasTitlePrefix(e){var n,t;return e&&((null==(n=e.titlePrefix)?void 0:n.content)||(null==(t=e.titlePrefix)?void 0:t.useHTML))}}),H=Object.freeze({isPositive:e=>e===E.POSITIVE||e===g.POSITIVE,isNegative:e=>e===E.NEGATIVE||e===g.NEGATIVE,notPositive:e=>e!==E.POSITIVE&&e!==g.POSITIVE,notNegative:e=>e!==E.NEGATIVE&&e!==g.NEGATIVE});function V(e){return[T.TRANSFORM_WITH_SPAN_METHOD,T.TRANSFORM_TREE_TYPE].includes(`${e.isTree}`)}function W(e){return p(e)&&!!e.match(/^###\{[^{}]+}$/)}function _(e){try{return JSON.parse(e.replace(/^###/,""))}catch(e){return{}}}function y(e,n){if(e.$__SEPARATE||!n.editRender||!n.editRender.props)return e[n.field];const{fieldSetting:t}=n.editRender.props;if(!p(t))return e[n.field];const{mergedFeildExpression:r}=l(t);return r&&p(r)?r.replace(/#{(.+?)}/g,(function(n,t){let r=t?e[t.trim()]:null;W(r)&&(r=_(r).change_text);return r||(null==r?"--":r)})):e[n.field]}const M=["SEARCH","SELECT","RADIO","CHECKBOX"];function U(e){return e.notParticipatingSearch===E.NEGATIVE&&M.includes(F.getCellType(e))&&v(e.options)&&e.options.length}function j(e,n=""){return"tooltip"!==e.showOverflow&&p(n)?n:""}function G(e,n){var r,o,i;n=t(n)||"";const l=null!=(o=null==(r=e.editRender)?void 0:r.props)?o:{},u=a(n,(null==(i=null==l?void 0:l.componentProps)?void 0:i.valueFormat)||"HH:mm",new Date);return!c(u)}function L(e,n,r){var o,i;const l=null!=(i=null==(o=e.editRender)?void 0:o.props)?i:{};return r=t(r)||"",!c(new Date(r))||p(l.connectField)&&n[l.connectField]&&(l.isStartDate&&d(new Date(r),new Date(n[l.connectField]))<0||l.isEndDate&&d(new Date(r),new Date(n[l.connectField]))>0)}function k(e){var n,t;return(!0===e.variableHeight||"1"===e.variableHeight)&&(null!=(t=null==(n=e.editRender)?void 0:n.name)?t:F.getCellType(e))!==w.SEPARATE}function z(e){const n=e.internalData.tableFullColumn;return!!v(n)&&n.some((e=>{var n,t;return k(null!=(t=null==(n=e.editRender)?void 0:n.props)?t:{})}))}function B(e,n){return n?e?t=>[f(e)?e(t):e,f(n)?n(t):n]:n:e}function J(e,n){return n?e?t=>r([f(e)?e(t):e,f(n)?n(t):n]):n:e}export{N as IhoTableRenderHelper,H as IhoTableStatusHelper,F as IhoTableUtils,S as IhoTableWarn,D as eventListener2EventName,b as eventName2EventListener,O as getColumnRenderWidth,$ as getLowCodeFieldFromField,P as getRowHeight,j as getTitle,U as isCompatibleColumn,L as isInvalidDate,G as isInvalidTime,W as isRichContent,V as isTransformTreeType,k as isVariableHeightColumn,z as isVariableHeightTable,B as mergeVxeClass,J as mergeVxeStyle,y as parseMergeField,_ as parseRichContent,x as useIhoTableFormEvent,A as useUUIDMap};