cnhis-design-vue 3.1.5 → 3.1.6-beta.1

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 (464) hide show
  1. package/README.md +22 -22
  2. package/env.d.ts +38 -26
  3. package/es/_virtual/_commonjsHelpers.mjs +1 -0
  4. package/es/_virtual/inherits.mjs +1 -0
  5. package/es/_virtual/inherits_browser.mjs +1 -0
  6. package/es/node_modules/diagram-js/lib/command/CommandInterceptor.mjs +1 -0
  7. package/es/node_modules/diagram-js/lib/draw/BaseRenderer.mjs +1 -0
  8. package/es/node_modules/diagram-js/lib/features/popup-menu/PopupMenu.mjs +1 -0
  9. package/es/node_modules/diagram-js/lib/features/rules/RuleProvider.mjs +1 -0
  10. package/es/node_modules/diagram-js/lib/navigation/movecanvas/MoveCanvas.mjs +1 -0
  11. package/es/node_modules/diagram-js/lib/navigation/movecanvas/index.mjs +1 -0
  12. package/es/node_modules/diagram-js/lib/navigation/zoomscroll/ZoomScroll.mjs +1 -0
  13. package/es/node_modules/diagram-js/lib/navigation/zoomscroll/ZoomUtil.mjs +1 -0
  14. package/es/node_modules/diagram-js/lib/util/ClickTrap.mjs +1 -0
  15. package/es/node_modules/diagram-js/lib/util/Cursor.mjs +1 -0
  16. package/es/node_modules/diagram-js/lib/util/Event.mjs +1 -0
  17. package/es/node_modules/diagram-js/lib/util/Math.mjs +1 -0
  18. package/es/node_modules/diagram-js/lib/util/Mouse.mjs +1 -0
  19. package/es/node_modules/diagram-js/lib/util/Platform.mjs +1 -0
  20. package/es/node_modules/diagram-js/lib/util/PositionUtil.mjs +1 -0
  21. package/es/node_modules/diagram-js/lib/util/RenderUtil.mjs +1 -0
  22. package/es/node_modules/diagram-js/lib/util/SvgTransformUtil.mjs +1 -0
  23. package/es/node_modules/ids/dist/index.esm.mjs +1 -0
  24. package/es/node_modules/inherits/inherits.mjs +1 -0
  25. package/es/node_modules/inherits/inherits_browser.mjs +1 -0
  26. package/es/node_modules/inherits-browser/dist/index.es.mjs +1 -0
  27. package/es/node_modules/min-dash/dist/index.esm.mjs +1 -0
  28. package/es/node_modules/min-dom/dist/index.esm.mjs +1 -0
  29. package/es/node_modules/tiny-svg/dist/index.esm.mjs +1 -0
  30. package/es/packages/big-table/index.d.ts +22 -16
  31. package/es/packages/big-table/src/BigTable.vue.d.ts +23 -32
  32. package/es/packages/big-table/src/BigTable.vue_vue_type_script_setup_true_lang.mjs +1 -1
  33. package/es/packages/big-table/src/bigTableEmits2.mjs +1 -1
  34. package/es/packages/big-table/src/bigTableState.d.ts +5 -2
  35. package/es/packages/big-table/src/bigTableState2.mjs +1 -1
  36. package/es/packages/big-table/src/components/edit-form/edit-date.mjs +1 -1
  37. package/es/packages/big-table/src/components/edit-form/edit-date2.mjs +1 -0
  38. package/es/packages/big-table/src/components/edit-form/edit-input.mjs +1 -1
  39. package/es/packages/big-table/src/components/edit-form/edit-input2.mjs +1 -0
  40. package/es/packages/big-table/src/components/edit-form/edit-select-table.mjs +1 -0
  41. package/es/packages/big-table/src/components/edit-form/edit-select-table2.mjs +1 -0
  42. package/es/packages/big-table/src/components/edit-form/edit-select.d.ts +1 -1
  43. package/es/packages/big-table/src/components/edit-form/edit-select.mjs +1 -1
  44. package/es/packages/big-table/src/components/edit-form/edit-select2.mjs +1 -0
  45. package/es/packages/big-table/src/hooks/useBatchEditing2.mjs +1 -1
  46. package/es/packages/big-table/src/hooks/useEdit.d.ts +1 -1
  47. package/es/packages/big-table/src/hooks/useEdit2.mjs +1 -1
  48. package/es/packages/big-table/src/hooks/useEvent.d.ts +6 -0
  49. package/es/packages/big-table/src/hooks/useEvent.mjs +1 -0
  50. package/es/packages/big-table/src/hooks/useEvent2.mjs +1 -0
  51. package/es/packages/big-table/src/hooks/useFormat.d.ts +0 -1
  52. package/es/packages/big-table/src/hooks/useFormat2.mjs +1 -1
  53. package/es/packages/big-table/src/hooks/useNestTable2.mjs +1 -1
  54. package/es/packages/big-table/src/hooks/useTableParse2.mjs +1 -1
  55. package/es/packages/big-table/src/utils2.mjs +1 -1
  56. package/es/packages/big-table/style/index.less +557 -557
  57. package/es/packages/bpmn-workflow/index.d.ts +74 -0
  58. package/es/packages/bpmn-workflow/index.mjs +1 -0
  59. package/es/packages/bpmn-workflow/index2.mjs +1 -0
  60. package/es/packages/bpmn-workflow/src/BpmnWorkflow.d.mjs +1 -0
  61. package/es/packages/bpmn-workflow/src/BpmnWorkflow.mjs +1 -0
  62. package/es/packages/bpmn-workflow/src/BpmnWorkflow.vue.d.ts +77 -0
  63. package/es/packages/bpmn-workflow/src/BpmnWorkflow.vue_vue_type_script_setup_true_lang.mjs +1 -0
  64. package/es/packages/bpmn-workflow/src/BpmnWorkflow2.mjs +1 -0
  65. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/BpmnRenderer.d.ts +75 -0
  66. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/BpmnRenderer.mjs +1 -0
  67. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/BpmnRenderer2.mjs +1 -0
  68. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/CustomContextPadProvider.d.ts +24 -0
  69. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/CustomContextPadProvider.mjs +1 -0
  70. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/CustomContextPadProvider2.mjs +1 -0
  71. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/CustomPalette.d.ts +19 -0
  72. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/CustomPalette.mjs +1 -0
  73. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/CustomPalette2.mjs +1 -0
  74. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/CustomPathMap.d.ts +70 -0
  75. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/CustomPathMap.mjs +1 -0
  76. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/CustomPathMap2.mjs +1 -0
  77. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/CustomRenderer.d.ts +21 -0
  78. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/CustomRenderer.mjs +1 -0
  79. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/CustomRenderer2.mjs +1 -0
  80. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/CustomRules.d.ts +12 -0
  81. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/CustomRules.mjs +1 -0
  82. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/CustomRules2.mjs +1 -0
  83. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/index.d.ts +16 -0
  84. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/index.mjs +1 -0
  85. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/index2.mjs +1 -0
  86. package/es/packages/bpmn-workflow/src/custom/customModeler/index.d.ts +6 -0
  87. package/es/packages/bpmn-workflow/src/custom/customModeler/index.mjs +1 -0
  88. package/es/packages/bpmn-workflow/src/custom/customModeler/index2.mjs +1 -0
  89. package/es/packages/bpmn-workflow/src/custom/customOtherModule/CustomPopupMenu.d.ts +5 -0
  90. package/es/packages/bpmn-workflow/src/custom/customOtherModule/CustomPopupMenu.mjs +1 -0
  91. package/es/packages/bpmn-workflow/src/custom/customOtherModule/CustomPopupMenu2.mjs +1 -0
  92. package/es/packages/bpmn-workflow/src/custom/customOtherModule/customViewerRenderer.d.ts +12 -0
  93. package/es/packages/bpmn-workflow/src/custom/customOtherModule/customViewerRenderer.mjs +1 -0
  94. package/es/packages/bpmn-workflow/src/custom/customOtherModule/customViewerRenderer2.mjs +1 -0
  95. package/es/packages/bpmn-workflow/src/custom/customOtherModule/zoomScroll.d.ts +5 -0
  96. package/es/packages/bpmn-workflow/src/custom/customOtherModule/zoomScroll.mjs +1 -0
  97. package/es/packages/bpmn-workflow/src/custom/customOtherModule/zoomScroll2.mjs +1 -0
  98. package/es/packages/bpmn-workflow/src/custom/customRules/no-task.d.ts +4 -0
  99. package/es/packages/bpmn-workflow/src/custom/customRules/no-task.mjs +1 -0
  100. package/es/packages/bpmn-workflow/src/custom/customRules/no-task2.mjs +1 -0
  101. package/es/packages/bpmn-workflow/src/custom/customTranslate/customTranslate.d.ts +1 -0
  102. package/es/packages/bpmn-workflow/src/custom/customTranslate/customTranslate.mjs +1 -0
  103. package/es/packages/bpmn-workflow/src/custom/customTranslate/customTranslate2.mjs +1 -0
  104. package/es/packages/bpmn-workflow/src/custom/customTranslate/zh.d.ts +226 -0
  105. package/es/packages/bpmn-workflow/src/custom/customTranslate/zh.mjs +1 -0
  106. package/es/packages/bpmn-workflow/src/custom/customTranslate/zh2.mjs +1 -0
  107. package/es/packages/bpmn-workflow/style/index.css +29 -0
  108. package/es/packages/bpmn-workflow/style/index.less +29 -0
  109. package/es/packages/bpmn-workflow/types/BpmnViewer.d.mjs +1 -0
  110. package/es/packages/bpmn-workflow/types/ModelingModule.d.mjs +1 -0
  111. package/es/packages/bpmn-workflow/types/MoveCanvasModule.d.mjs +1 -0
  112. package/es/packages/button-print/src/ButtonPrint.vue_vue_type_script_setup_true_lang.mjs +1 -1
  113. package/es/packages/button-print/src/components/IdentityVerification.vue_vue_type_script_setup_true_lang.mjs +1 -1
  114. package/es/packages/button-print/style/index.less +30 -30
  115. package/es/packages/chunk-upload/index.d.ts +1748 -0
  116. package/es/packages/chunk-upload/index.mjs +1 -0
  117. package/es/packages/chunk-upload/index2.mjs +1 -0
  118. package/es/packages/chunk-upload/src/chunk-upload-new.mjs +1 -0
  119. package/es/packages/chunk-upload/src/chunk-upload-new.vue.d.ts +1905 -0
  120. package/es/packages/chunk-upload/src/chunk-upload-new.vue_vue_type_script_setup_true_lang.mjs +1 -0
  121. package/es/packages/chunk-upload/src/chunk-upload-new2.mjs +1 -0
  122. package/es/packages/chunk-upload/src/hooks/upload-computed.d.ts +11 -0
  123. package/es/packages/chunk-upload/src/hooks/upload-computed.mjs +1 -0
  124. package/es/packages/chunk-upload/src/hooks/upload-computed2.mjs +1 -0
  125. package/es/packages/chunk-upload/src/hooks/upload-data.d.ts +61 -0
  126. package/es/packages/chunk-upload/src/hooks/upload-data.mjs +1 -0
  127. package/es/packages/chunk-upload/src/hooks/upload-data2.mjs +1 -0
  128. package/es/packages/chunk-upload/src/hooks/vod-computed.d.ts +10 -0
  129. package/es/packages/chunk-upload/src/hooks/vod-computed.mjs +1 -0
  130. package/es/packages/chunk-upload/src/hooks/vod-computed2.mjs +1 -0
  131. package/es/packages/chunk-upload/src/hooks/vod-data.d.ts +44 -0
  132. package/es/packages/chunk-upload/src/hooks/vod-data.mjs +1 -0
  133. package/es/packages/chunk-upload/src/hooks/vod-data2.mjs +1 -0
  134. package/es/packages/chunk-upload/src/vod-chunk-upload/index.d.ts +2 -0
  135. package/es/packages/chunk-upload/src/vod-chunk-upload/index.mjs +1 -0
  136. package/es/packages/chunk-upload/src/vod-chunk-upload/index2.mjs +1 -0
  137. package/es/packages/chunk-upload/src/vod-chunk-upload/vod-chunk-upload.mjs +1 -0
  138. package/es/packages/chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.d.ts +1749 -0
  139. package/es/packages/chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue_vue_type_script_setup_true_lang.mjs +1 -0
  140. package/es/packages/chunk-upload/src/vod-chunk-upload/vod-chunk-upload2.mjs +1 -0
  141. package/es/packages/chunk-upload/src/vod-upload-modal.d.ts +25 -0
  142. package/es/packages/chunk-upload/src/vod-upload-modal.mjs +1 -0
  143. package/es/packages/chunk-upload/src/vod-upload-modal2.mjs +1 -0
  144. package/es/packages/chunk-upload/style/index.css +363 -0
  145. package/es/packages/chunk-upload/style/index.less +395 -0
  146. package/es/packages/drag-layout/index.d.ts +8 -8
  147. package/es/packages/drag-layout/src/DragFormLeftItem.vue.d.ts +4 -4
  148. package/es/packages/drag-layout/src/DragLayout.vue.d.ts +18 -10
  149. package/es/packages/drag-layout/src/DragLayout.vue_vue_type_script_setup_true_lang.mjs +1 -1
  150. package/es/packages/drag-layout/style/index.less +208 -208
  151. package/es/packages/editor/index.d.ts +30 -0
  152. package/es/packages/editor/index.mjs +1 -0
  153. package/es/packages/editor/index2.mjs +1 -0
  154. package/es/packages/editor/src/Editor.d.ts +30 -0
  155. package/es/packages/editor/src/Editor.mjs +1 -0
  156. package/es/packages/editor/src/Editor2.mjs +1 -0
  157. package/es/packages/editor/style/index.css +0 -0
  158. package/es/packages/editor/style/index.less +0 -0
  159. package/es/packages/field-set/index.d.ts +4 -4
  160. package/es/packages/field-set/src/FieldSet.vue.d.ts +4 -4
  161. package/es/packages/field-set/src/FieldSet.vue_vue_type_script_setup_true_lang.mjs +1 -1
  162. package/es/packages/field-set/style/index.css +30 -44
  163. package/es/packages/field-set/style/index.less +157 -172
  164. package/es/packages/form-table/index.d.ts +35901 -1
  165. package/es/packages/form-table/src/FormTable.vue.d.ts +35911 -1
  166. package/es/packages/form-table/src/FormTable.vue_vue_type_script_setup_true_lang.mjs +1 -1
  167. package/es/packages/form-table/src/components/index.d.ts +35662 -0
  168. package/es/packages/form-table/src/components/index.mjs +1 -0
  169. package/es/packages/form-table/src/components/index2.mjs +1 -0
  170. package/es/packages/form-table/src/components/table-age.mjs +1 -0
  171. package/es/packages/form-table/src/components/table-age.vue.d.ts +4305 -0
  172. package/es/packages/form-table/src/components/table-age.vue_vue_type_script_setup_true_lang.mjs +1 -0
  173. package/es/packages/form-table/src/components/table-age2.mjs +1 -0
  174. package/es/packages/form-table/src/components/table-date-picker.mjs +1 -0
  175. package/es/packages/form-table/src/components/table-date-picker.vue.d.ts +5286 -0
  176. package/es/packages/form-table/src/components/table-date-picker.vue_vue_type_script_setup_true_lang.mjs +1 -0
  177. package/es/packages/form-table/src/components/table-date-picker2.mjs +1 -0
  178. package/es/packages/form-table/src/components/table-digital.mjs +1 -0
  179. package/es/packages/form-table/src/components/table-digital.vue.d.ts +2916 -0
  180. package/es/packages/form-table/src/components/table-digital.vue_vue_type_script_setup_true_lang.mjs +1 -0
  181. package/es/packages/form-table/src/components/table-digital2.mjs +1 -0
  182. package/es/packages/form-table/src/components/table-input-password.mjs +1 -0
  183. package/es/packages/form-table/src/components/table-input-password.vue.d.ts +1622 -0
  184. package/es/packages/form-table/src/components/table-input-password.vue_vue_type_script_setup_true_lang.mjs +1 -0
  185. package/es/packages/form-table/src/components/table-input-password2.mjs +1 -0
  186. package/es/packages/form-table/src/components/table-input.mjs +1 -0
  187. package/es/packages/form-table/src/components/table-input.vue.d.ts +1579 -0
  188. package/es/packages/form-table/src/components/table-input.vue_vue_type_script_setup_true_lang.mjs +1 -0
  189. package/es/packages/form-table/src/components/table-input2.mjs +1 -0
  190. package/es/packages/form-table/src/components/table-month-picker.mjs +1 -0
  191. package/es/packages/form-table/src/components/table-month-picker.vue.d.ts +5229 -0
  192. package/es/packages/form-table/src/components/table-month-picker.vue_vue_type_script_setup_true_lang.mjs +1 -0
  193. package/es/packages/form-table/src/components/table-month-picker2.mjs +1 -0
  194. package/es/packages/form-table/src/components/table-search-more.mjs +1 -0
  195. package/es/packages/form-table/src/components/table-search-more.vue.d.ts +1785 -0
  196. package/es/packages/form-table/src/components/table-search-more.vue_vue_type_script_setup_true_lang.mjs +1 -0
  197. package/es/packages/form-table/src/components/table-search-more2.mjs +1 -0
  198. package/es/packages/form-table/src/components/table-search.mjs +1 -0
  199. package/es/packages/form-table/src/components/table-search.vue.d.ts +3111 -0
  200. package/es/packages/form-table/src/components/table-search.vue_vue_type_script_setup_true_lang.mjs +1 -0
  201. package/es/packages/form-table/src/components/table-search2.mjs +1 -0
  202. package/es/packages/form-table/src/components/table-select-multiple.mjs +1 -0
  203. package/es/packages/form-table/src/components/table-select-multiple.vue.d.ts +1567 -0
  204. package/es/packages/form-table/src/components/table-select-multiple.vue_vue_type_script_setup_true_lang.mjs +1 -0
  205. package/es/packages/form-table/src/components/table-select-multiple2.mjs +1 -0
  206. package/es/packages/form-table/src/components/table-select.mjs +1 -0
  207. package/es/packages/form-table/src/components/table-select.vue.d.ts +1566 -0
  208. package/es/packages/form-table/src/components/table-select.vue_vue_type_script_setup_true_lang.mjs +1 -0
  209. package/es/packages/form-table/src/components/table-select2.mjs +1 -0
  210. package/es/packages/form-table/src/components/table-textarea.mjs +1 -0
  211. package/es/packages/form-table/src/components/table-textarea.vue.d.ts +1638 -0
  212. package/es/packages/form-table/src/components/table-textarea.vue_vue_type_script_setup_true_lang.mjs +1 -0
  213. package/es/packages/form-table/src/components/table-textarea2.mjs +1 -0
  214. package/es/packages/form-table/src/components/table-time-picker.mjs +1 -0
  215. package/es/packages/form-table/src/components/table-time-picker.vue.d.ts +2673 -0
  216. package/es/packages/form-table/src/components/table-time-picker.vue_vue_type_script_setup_true_lang.mjs +1 -0
  217. package/es/packages/form-table/src/components/table-time-picker2.mjs +1 -0
  218. package/es/packages/form-table/src/components/table-tree-select.mjs +1 -0
  219. package/es/packages/form-table/src/components/table-tree-select.vue.d.ts +1883 -0
  220. package/es/packages/form-table/src/components/table-tree-select.vue_vue_type_script_setup_true_lang.mjs +1 -0
  221. package/es/packages/form-table/src/components/table-tree-select2.mjs +1 -0
  222. package/es/packages/form-table/src/components/text-over-tooltip.mjs +1 -0
  223. package/es/packages/form-table/src/components/text-over-tooltip.vue.d.ts +543 -0
  224. package/es/packages/form-table/src/components/text-over-tooltip.vue_vue_type_script_setup_true_lang.mjs +1 -0
  225. package/es/packages/form-table/src/components/text-over-tooltip2.mjs +1 -0
  226. package/es/packages/form-table/src/configs/index2.mjs +1 -1
  227. package/es/packages/form-table/src/hooks/index.d.ts +1 -0
  228. package/es/packages/form-table/src/hooks/index.mjs +1 -1
  229. package/es/packages/form-table/src/hooks/useBoundDate2.mjs +1 -1
  230. package/es/packages/form-table/src/hooks/useDateType2.mjs +1 -1
  231. package/es/packages/form-table/src/hooks/useFormCommon.d.ts +1 -1
  232. package/es/packages/form-table/src/hooks/useFormCommon2.mjs +1 -1
  233. package/es/packages/form-table/src/hooks/useFormEvent2.mjs +1 -1
  234. package/es/packages/form-table/src/hooks/useItemDefault.d.ts +37 -57
  235. package/es/packages/form-table/src/hooks/useItemDefault2.mjs +1 -1
  236. package/es/packages/form-table/src/hooks/useSearch.d.ts +165 -1
  237. package/es/packages/form-table/src/hooks/useSearch2.mjs +1 -1
  238. package/es/packages/form-table/src/hooks/useValidate2.mjs +1 -1
  239. package/es/packages/form-table/src/types/index.d.ts +3 -1
  240. package/es/packages/form-table/style/index.css +135 -19
  241. package/es/packages/form-table/style/index.less +301 -122
  242. package/es/packages/grid/index2.mjs +1 -1
  243. package/es/packages/grid/src/Grid.mjs +1 -1
  244. package/es/packages/grid/src/Grid2.mjs +1 -0
  245. package/es/packages/grid/style/index.css +10 -0
  246. package/es/packages/grid/style/index.less +13 -1
  247. package/es/packages/index.css +1513 -44
  248. package/es/packages/index.d.ts +10 -35611
  249. package/es/packages/index.less +2790 -1201
  250. package/es/packages/index.mjs +1 -1
  251. package/es/packages/index2.mjs +1 -1
  252. package/es/packages/info-header/index.d.ts +1846 -0
  253. package/es/packages/info-header/index.mjs +1 -0
  254. package/es/packages/info-header/index2.mjs +1 -0
  255. package/es/packages/info-header/src/hidden-content.mjs +1 -0
  256. package/es/packages/info-header/src/hidden-content.vue.d.ts +363 -0
  257. package/es/packages/info-header/src/hidden-content.vue_vue_type_script_setup_true_lang.mjs +1 -0
  258. package/es/packages/info-header/src/hidden-content2.mjs +1 -0
  259. package/es/packages/info-header/src/info-header.mjs +1 -0
  260. package/es/packages/info-header/src/info-header.vue.d.ts +1847 -0
  261. package/es/packages/info-header/src/info-header.vue_vue_type_script_setup_true_lang.mjs +1 -0
  262. package/es/packages/info-header/src/info-header2.mjs +1 -0
  263. package/es/packages/info-header/src/slot-render.d.ts +22 -0
  264. package/es/packages/info-header/src/slot-render.mjs +1 -0
  265. package/es/packages/info-header/src/slot-render2.mjs +1 -0
  266. package/es/packages/info-header/style/iconfont.ttf +0 -0
  267. package/es/packages/info-header/style/index.css +118 -0
  268. package/es/packages/info-header/style/index.less +149 -0
  269. package/es/packages/map/index.d.ts +2313 -0
  270. package/es/packages/map/index.mjs +1 -0
  271. package/es/packages/map/index2.mjs +1 -0
  272. package/es/packages/map/src/Map.mjs +1 -0
  273. package/es/packages/map/src/Map.vue.d.ts +2313 -0
  274. package/es/packages/map/src/Map.vue_vue_type_script_setup_true_lang.mjs +1 -0
  275. package/es/packages/map/src/Map2.mjs +1 -0
  276. package/es/packages/map/style/index.css +61 -0
  277. package/es/packages/map/style/index.less +60 -0
  278. package/es/packages/popper/index.d.ts +0 -0
  279. package/es/packages/popper/index.mjs +1 -0
  280. package/es/packages/popper/src/components/popover.mjs +1 -0
  281. package/es/packages/popper/src/components/popover.vue.d.ts +33 -0
  282. package/es/packages/popper/src/components/popover.vue_vue_type_script_setup_true_lang.mjs +1 -0
  283. package/es/packages/popper/src/components/popover2.mjs +1 -0
  284. package/es/packages/popper/src/hooks/useAutoHidden.d.ts +8 -0
  285. package/es/packages/popper/src/hooks/useAutoHidden.mjs +1 -0
  286. package/es/packages/popper/src/hooks/useAutoHidden2.mjs +1 -0
  287. package/es/packages/popper/src/types/index.d.ts +1 -0
  288. package/es/packages/popper/src/types/index.mjs +1 -0
  289. package/es/packages/scale-view/index.d.ts +4297 -0
  290. package/es/packages/scale-view/index.mjs +1 -0
  291. package/es/packages/scale-view/index2.mjs +1 -0
  292. package/es/packages/scale-view/src/ScaleView.mjs +1 -0
  293. package/es/packages/scale-view/src/ScaleView.vue.d.ts +4141 -0
  294. package/es/packages/scale-view/src/ScaleView.vue_vue_type_script_setup_true_lang.mjs +1 -0
  295. package/es/packages/scale-view/src/ScaleView2.mjs +1 -0
  296. package/es/packages/scale-view/src/components/AnswerParse.mjs +1 -0
  297. package/es/packages/scale-view/src/components/AnswerParse.vue.d.ts +72 -0
  298. package/es/packages/scale-view/src/components/AnswerParse.vue_vue_type_script_setup_true_lang.mjs +1 -0
  299. package/es/packages/scale-view/src/components/AnswerParse2.mjs +1 -0
  300. package/es/packages/scale-view/src/components/EvaluateCountdown.mjs +1 -0
  301. package/es/packages/scale-view/src/components/EvaluateCountdown.vue.d.ts +150 -0
  302. package/es/packages/scale-view/src/components/EvaluateCountdown.vue_vue_type_script_setup_true_lang.mjs +1 -0
  303. package/es/packages/scale-view/src/components/EvaluateCountdown2.mjs +1 -0
  304. package/es/packages/scale-view/src/components/EvaluatePage.mjs +1 -0
  305. package/es/packages/scale-view/src/components/EvaluatePage.vue.d.ts +1503 -0
  306. package/es/packages/scale-view/src/components/EvaluatePage.vue_vue_type_script_setup_true_lang.mjs +1 -0
  307. package/es/packages/scale-view/src/components/EvaluatePage2.mjs +1 -0
  308. package/es/packages/scale-view/src/components/NoData.mjs +1 -0
  309. package/es/packages/scale-view/src/components/NoData.vue.d.ts +51 -0
  310. package/es/packages/scale-view/src/components/NoData.vue_vue_type_script_setup_true_lang.mjs +1 -0
  311. package/es/packages/scale-view/src/components/NoData2.mjs +1 -0
  312. package/es/packages/scale-view/src/components/ScaleScore.d.ts +23 -0
  313. package/es/packages/scale-view/src/components/ScaleScore.mjs +1 -0
  314. package/es/packages/scale-view/src/components/ScaleScore2.mjs +1 -0
  315. package/es/packages/scale-view/src/components/composables/choose-common.d.ts +10 -0
  316. package/es/packages/scale-view/src/components/composables/choose-common.mjs +1 -0
  317. package/es/packages/scale-view/src/components/composables/choose-common2.mjs +1 -0
  318. package/es/packages/scale-view/src/components/formitem/address.d.ts +3992 -0
  319. package/es/packages/scale-view/src/components/formitem/address.mjs +1 -0
  320. package/es/packages/scale-view/src/components/formitem/address2.mjs +1 -0
  321. package/es/packages/scale-view/src/components/formitem/r-address.d.ts +34 -0
  322. package/es/packages/scale-view/src/components/formitem/r-address.mjs +1 -0
  323. package/es/packages/scale-view/src/components/formitem/r-address2.mjs +1 -0
  324. package/es/packages/scale-view/src/components/formitem/r-cascader.d.ts +43 -0
  325. package/es/packages/scale-view/src/components/formitem/r-cascader.mjs +1 -0
  326. package/es/packages/scale-view/src/components/formitem/r-cascader2.mjs +1 -0
  327. package/es/packages/scale-view/src/components/formitem/r-checkbox.d.ts +34 -0
  328. package/es/packages/scale-view/src/components/formitem/r-checkbox.mjs +1 -0
  329. package/es/packages/scale-view/src/components/formitem/r-checkbox2.mjs +1 -0
  330. package/es/packages/scale-view/src/components/formitem/r-collection.d.ts +32 -0
  331. package/es/packages/scale-view/src/components/formitem/r-collection.mjs +1 -0
  332. package/es/packages/scale-view/src/components/formitem/r-collection2.mjs +1 -0
  333. package/es/packages/scale-view/src/components/formitem/r-datetime.d.ts +34 -0
  334. package/es/packages/scale-view/src/components/formitem/r-datetime.mjs +1 -0
  335. package/es/packages/scale-view/src/components/formitem/r-datetime2.mjs +1 -0
  336. package/es/packages/scale-view/src/components/formitem/r-input.d.ts +34 -0
  337. package/es/packages/scale-view/src/components/formitem/r-input.mjs +1 -0
  338. package/es/packages/scale-view/src/components/formitem/r-input2.mjs +1 -0
  339. package/es/packages/scale-view/src/components/formitem/r-map.d.ts +52 -0
  340. package/es/packages/scale-view/src/components/formitem/r-map.mjs +1 -0
  341. package/es/packages/scale-view/src/components/formitem/r-map2.mjs +1 -0
  342. package/es/packages/scale-view/src/components/formitem/r-radio.d.ts +34 -0
  343. package/es/packages/scale-view/src/components/formitem/r-radio.mjs +1 -0
  344. package/es/packages/scale-view/src/components/formitem/r-radio2.mjs +1 -0
  345. package/es/packages/scale-view/src/components/formitem/r-select.d.ts +61 -0
  346. package/es/packages/scale-view/src/components/formitem/r-select.mjs +1 -0
  347. package/es/packages/scale-view/src/components/formitem/r-select2.mjs +1 -0
  348. package/es/packages/scale-view/src/components/formitem/r-upload.d.ts +52 -0
  349. package/es/packages/scale-view/src/components/formitem/r-upload.mjs +1 -0
  350. package/es/packages/scale-view/src/components/formitem/r-upload2.mjs +1 -0
  351. package/es/packages/{big-table/src/components → scale-view/src/components/formitem/text-over-tooltip}/TextOverTooltip.mjs +0 -0
  352. package/es/packages/scale-view/src/components/formitem/text-over-tooltip/TextOverTooltip.vue.d.ts +560 -0
  353. package/es/packages/{big-table/src/components → scale-view/src/components/formitem/text-over-tooltip}/TextOverTooltip.vue_vue_type_script_setup_true_lang.mjs +0 -0
  354. package/es/packages/scale-view/src/components/formitem/text-over-tooltip/TextOverTooltip2.mjs +1 -0
  355. package/es/packages/scale-view/src/hooks/scaleview-computed.d.ts +43 -0
  356. package/es/packages/scale-view/src/hooks/scaleview-computed.mjs +1 -0
  357. package/es/packages/scale-view/src/hooks/scaleview-computed2.mjs +1 -0
  358. package/es/packages/scale-view/src/hooks/scaleview-init.d.ts +3 -0
  359. package/es/packages/scale-view/src/hooks/scaleview-init.mjs +1 -0
  360. package/es/packages/scale-view/src/hooks/scaleview-init2.mjs +1 -0
  361. package/es/packages/scale-view/src/hooks/scaleview-props.d.ts +83 -0
  362. package/es/packages/scale-view/src/hooks/scaleview-props.mjs +1 -0
  363. package/es/packages/scale-view/src/hooks/scaleview-props2.mjs +1 -0
  364. package/es/packages/scale-view/src/hooks/scaleview-state.d.ts +33 -0
  365. package/es/packages/scale-view/src/hooks/scaleview-state.mjs +1 -0
  366. package/es/packages/scale-view/src/hooks/scaleview-state2.mjs +1 -0
  367. package/es/packages/scale-view/src/hooks/scaleview-submit.d.ts +3 -0
  368. package/es/packages/scale-view/src/hooks/scaleview-submit.mjs +1 -0
  369. package/es/packages/scale-view/src/hooks/scaleview-submit2.mjs +1 -0
  370. package/es/packages/scale-view/src/hooks/scaleview-validate.d.ts +3 -0
  371. package/es/packages/scale-view/src/hooks/scaleview-validate.mjs +1 -0
  372. package/es/packages/scale-view/src/hooks/scaleview-validate2.mjs +1 -0
  373. package/es/packages/scale-view/src/hooks/use-component.d.ts +2673 -0
  374. package/es/packages/scale-view/src/hooks/use-component.mjs +1 -0
  375. package/es/packages/scale-view/src/hooks/use-component2.mjs +1 -0
  376. package/es/packages/scale-view/src/hooks/use-evaluate.d.ts +21 -0
  377. package/es/packages/scale-view/src/hooks/use-evaluate.mjs +1 -0
  378. package/es/packages/scale-view/src/hooks/use-evaluate2.mjs +1 -0
  379. package/es/packages/scale-view/src/hooks/use-event.d.ts +4 -0
  380. package/es/packages/scale-view/src/hooks/use-event.mjs +1 -0
  381. package/es/packages/scale-view/src/hooks/use-event2.mjs +1 -0
  382. package/es/packages/scale-view/src/hooks/use-noData.d.ts +9 -0
  383. package/es/packages/scale-view/src/hooks/use-noData.mjs +1 -0
  384. package/es/packages/scale-view/src/hooks/use-noData2.mjs +1 -0
  385. package/es/packages/scale-view/src/utils/judge-types.d.ts +5 -0
  386. package/es/packages/scale-view/src/utils/judge-types.mjs +1 -0
  387. package/es/packages/scale-view/src/utils/judge-types2.mjs +1 -0
  388. package/es/packages/scale-view/style/index.css +709 -0
  389. package/es/packages/scale-view/style/index.less +748 -0
  390. package/es/packages/select-label/index.d.ts +12091 -0
  391. package/es/packages/select-label/index.mjs +1 -0
  392. package/es/packages/select-label/index2.mjs +1 -0
  393. package/es/packages/select-label/src/LabelFormContent.mjs +1 -0
  394. package/es/packages/select-label/src/{components/label-form-content.vue.d.ts → LabelFormContent.vue.d.ts} +11 -4
  395. package/es/packages/select-label/src/LabelFormContent.vue_vue_type_script_setup_true_lang.mjs +1 -0
  396. package/es/packages/select-label/src/LabelFormContent2.mjs +1 -0
  397. package/es/packages/select-label/src/SelectLabel.vue.d.ts +155 -74
  398. package/es/packages/select-label/src/SelectLabel.vue_vue_type_script_setup_true_lang.mjs +1 -1
  399. package/es/packages/select-label/src/components/label-classify.vue.d.ts +1 -0
  400. package/es/packages/select-label/src/components/label-classify.vue_vue_type_script_setup_true_lang.mjs +1 -1
  401. package/es/packages/select-label/style/index.css +86 -19
  402. package/es/packages/select-label/style/index.less +151 -85
  403. package/es/packages/select-person/index.d.ts +4 -4
  404. package/es/packages/select-person/src/SearchTree.vue_vue_type_script_setup_true_lang.mjs +1 -1
  405. package/es/packages/select-person/src/SelectPerson.vue.d.ts +7 -11
  406. package/es/packages/select-person/src/SelectPerson.vue_vue_type_script_setup_true_lang.mjs +1 -1
  407. package/es/packages/select-person/style/index.less +229 -229
  408. package/es/packages/time-line/index.d.ts +1720 -0
  409. package/es/packages/time-line/index.mjs +1 -0
  410. package/es/packages/time-line/index2.mjs +1 -0
  411. package/es/packages/time-line/src/TimeLine.mjs +1 -0
  412. package/es/packages/time-line/src/TimeLine.vue.d.ts +1723 -0
  413. package/es/packages/time-line/src/TimeLine.vue_vue_type_script_setup_true_lang.mjs +1 -0
  414. package/es/packages/time-line/src/TimeLine2.mjs +1 -0
  415. package/es/packages/time-line/style/index.css +32 -0
  416. package/es/packages/time-line/style/index.less +35 -0
  417. package/es/src/assets/img/success.png +0 -0
  418. package/es/src/assets/img/video.png +0 -0
  419. package/es/src/assets/img/video_hover.png +0 -0
  420. package/es/src/assets/img/video_play_hover.png +0 -0
  421. package/es/src/components/SelectPage/SelectPage.mjs +1 -0
  422. package/es/src/components/SelectPage/SelectPage.vue.d.ts +1446 -0
  423. package/es/src/components/SelectPage/SelectPage.vue_vue_type_script_setup_true_lang.mjs +1 -0
  424. package/es/src/components/SelectPage/SelectPage2.mjs +1 -0
  425. package/es/src/components/SelectPage/index.d.ts +2 -0
  426. package/es/src/components/SelectPage/index.mjs +1 -0
  427. package/es/src/components/SelectPage/index2.mjs +1 -0
  428. package/es/{packages/big-table/src/components → src/components/SvgIcon}/SvgIcon.mjs +0 -0
  429. package/es/{packages/big-table/src/components → src/components/SvgIcon}/SvgIcon.vue.d.ts +2 -2
  430. package/es/{packages/big-table/src/components → src/components/SvgIcon}/SvgIcon.vue_vue_type_script_setup_true_lang.mjs +1 -1
  431. package/es/{packages/big-table/src/components → src/components/SvgIcon}/SvgIcon2.mjs +1 -1
  432. package/es/src/components/SvgIcon/index.d.ts +2 -0
  433. package/es/src/components/SvgIcon/index.mjs +1 -0
  434. package/es/src/components/SvgIcon/index2.mjs +1 -0
  435. package/es/src/components/TextOverTooltip/TextOverTooltip.mjs +1 -0
  436. package/es/{packages/big-table/src/components → src/components/TextOverTooltip}/TextOverTooltip.vue.d.ts +0 -0
  437. package/es/src/components/TextOverTooltip/TextOverTooltip.vue_vue_type_script_setup_true_lang.mjs +1 -0
  438. package/es/{packages/big-table/src/components → src/components/TextOverTooltip}/TextOverTooltip2.mjs +1 -1
  439. package/es/src/components/TextOverTooltip/index.d.ts +2 -0
  440. package/es/src/components/TextOverTooltip/index.mjs +1 -0
  441. package/es/src/components/TextOverTooltip/index2.mjs +1 -0
  442. package/es/src/components/player-vod/index.mjs +1 -0
  443. package/es/src/components/player-vod/index.vue.d.ts +2 -0
  444. package/es/src/components/player-vod/index.vue_vue_type_script_setup_true_lang.mjs +1 -0
  445. package/es/src/components/player-vod/index2.mjs +1 -0
  446. package/es/src/components/player-vod/player.d.ts +17 -0
  447. package/es/src/components/player-vod/player.mjs +1 -0
  448. package/es/src/components/player-vod/player2.mjs +1 -0
  449. package/es/src/components/player-vod/video-list.d.ts +32 -0
  450. package/es/src/components/player-vod/video-list.mjs +1 -0
  451. package/es/src/components/player-vod/video-list2.mjs +1 -0
  452. package/es/src/components/player-vod/video-modal.d.ts +54 -0
  453. package/es/src/components/player-vod/video-modal.mjs +1 -0
  454. package/es/src/components/player-vod/video-modal2.mjs +1 -0
  455. package/es/src/utils/index.d.ts +1 -0
  456. package/es/src/utils/index.mjs +1 -1
  457. package/es/src/utils/index2.mjs +1 -1
  458. package/es/src/utils/vexutils2.mjs +1 -1
  459. package/global.d.ts +8 -8
  460. package/package.json +122 -104
  461. package/yarn-error.log +103 -8067
  462. package/es/packages/select-label/src/components/label-form-content.mjs +0 -1
  463. package/es/packages/select-label/src/components/label-form-content.vue_vue_type_script_setup_true_lang.mjs +0 -1
  464. package/es/packages/select-label/src/components/label-form-content2.mjs +0 -1
package/README.md CHANGED
@@ -1,23 +1,23 @@
1
- # Vue 3 + Typescript + Vite
2
-
3
- This template should help get you started developing with Vue 3 and Typescript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
4
-
5
- ## Recommended IDE Setup
6
-
7
- - [VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar)
8
-
9
- ## Type Support For `.vue` Imports in TS
10
-
11
- Since TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can enable Volar's `.vue` type support plugin by running `Volar: Switch TS Plugin on/off` from VSCode command palette.
12
-
13
- ## 使用
14
- ```JavaScript
15
- import { createApp } from "vue";
16
- import App from "./App.vue";
17
- import cui from "cnhis-design-vue";
18
- import "cnhis-design-vue/es/index.css";
19
-
20
- const app = createApp(App);
21
- app.use(cui);
22
- app.mount("#app");
1
+ # Vue 3 + Typescript + Vite
2
+
3
+ This template should help get you started developing with Vue 3 and Typescript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
4
+
5
+ ## Recommended IDE Setup
6
+
7
+ - [VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar)
8
+
9
+ ## Type Support For `.vue` Imports in TS
10
+
11
+ Since TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can enable Volar's `.vue` type support plugin by running `Volar: Switch TS Plugin on/off` from VSCode command palette.
12
+
13
+ ## 使用
14
+ ```JavaScript
15
+ import { createApp } from "vue";
16
+ import App from "./App.vue";
17
+ import cui from "cnhis-design-vue";
18
+ import "cnhis-design-vue/es/index.css";
19
+
20
+ const app = createApp(App);
21
+ app.use(cui);
22
+ app.mount("#app");
23
23
  ```
package/env.d.ts CHANGED
@@ -1,26 +1,38 @@
1
- /// <reference types="vite/client" />
2
-
3
- interface ImportMetaEnv {
4
- readonly VITE_APP_TYPE: string;
5
- // 更多环境变量...
6
- }
7
-
8
- interface ImportMeta {
9
- readonly env: ImportMetaEnv;
10
- }
11
-
12
- import * as Vue from 'vue';
13
-
14
- declare module '*.vue' {
15
- import type { App, defineComponent } from 'vue';
16
- // // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
17
- // // const component: DefineComponent<{}, {}, any>
18
- const component: ReturnType<typeof defineComponent> & {
19
- install(app: App): void;
20
- };
21
- export default component;
22
- }
23
-
24
-
25
-
26
- declare module '*.js'
1
+ /// <reference types="vite/client" />
2
+
3
+ interface ImportMetaEnv {
4
+ readonly VITE_APP_TYPE: string;
5
+ // 更多环境变量...
6
+ }
7
+
8
+ interface ImportMeta {
9
+ readonly env: ImportMetaEnv;
10
+ }
11
+
12
+ import * as Vue from 'vue';
13
+
14
+ declare module '*.vue' {
15
+ import type { App, defineComponent } from 'vue';
16
+ // // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
17
+ // // const component: DefineComponent<{}, {}, any>
18
+ const component: ReturnType<typeof defineComponent> & {
19
+ install(app: App): void;
20
+ };
21
+ export default component;
22
+ }
23
+
24
+ import { SlateDescendant, SlateElement, SlateText } from '@wangeditor/editor';
25
+ declare module '@wangeditor/editor' {
26
+ // 扩展 Text
27
+ interface SlateText {
28
+ text: string;
29
+ }
30
+
31
+ // 扩展 Element
32
+ interface SlateElement {
33
+ type: string;
34
+ children: SlateDescendant[];
35
+ }
36
+ }
37
+
38
+ declare module '*.js';
@@ -0,0 +1 @@
1
+ function e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}export{e as getDefaultExportFromCjs};
@@ -0,0 +1 @@
1
+ var r={exports:{}};export{r as i};
@@ -0,0 +1 @@
1
+ var r={exports:{}};export{r as i};
@@ -0,0 +1 @@
1
+ import{forEach as e,isFunction as t,isNumber as n,isObject as o,isArray as u}from"../../../min-dash/dist/index.esm.mjs";function r(e){this._eventBus=e}r.$inject=["eventBus"],r.prototype.on=function(r,c,i,s,f,a){if((t(c)||n(c))&&(a=f,f=s,s=i,i=c,c=null),t(i)&&(a=f,f=s,s=i,i=1e3),o(f)&&(a=f,f=!1),!t(s))throw new Error("handlerFn must be a function");u(r)||(r=[r]);var d=this._eventBus;e(r,(function(e){var t=["commandStack",e,c].filter((function(e){return e})).join(".");d.on(t,i,f?function(e,t){return function(n){return e.call(t||null,n.context,n.command,n)}}(s,a):s,a)}))};e(["canExecute","preExecute","preExecuted","execute","executed","postExecute","postExecuted","revert","reverted"],(function(e){r.prototype[e]=function(o,u,r,c,i){(t(o)||n(o))&&(i=c,c=r,r=u,u=o,o=null),this.on(o,e,u,r,c,i)}}));export{r as default};
@@ -0,0 +1 @@
1
+ function e(e,n){var t=this;n=n||1e3,e.on(["render.shape","render.connection"],n,(function(e,n){var o=e.type,r=n.element,a=n.gfx,p=n.attrs;if(t.canRender(r))return"render.shape"===o?t.drawShape(a,r,p):t.drawConnection(a,r,p)})),e.on(["render.getShapePath","render.getConnectionPath"],n,(function(e,n){if(t.canRender(n))return"render.getShapePath"===e.type?t.getShapePath(n):t.getConnectionPath(n)}))}e.prototype.canRender=function(){},e.prototype.drawShape=function(){},e.prototype.drawConnection=function(){},e.prototype.getShapePath=function(){},e.prototype.getConnectionPath=function(){};export{e as default};
@@ -0,0 +1 @@
1
+ import{isDefined as t,size as e,assign as i,forEach as r,omit as n,isFunction as o}from"../../../../min-dash/dist/index.esm.mjs";import{remove as s,attr as a,domify as p,assignStyle as c,classes as u,delegate as d}from"../../../../min-dom/dist/index.esm.mjs";var h=["contextPad.close","canvas.viewbox.changing","commandStack.changed"];function l(e,i,r){var n=t(e&&e.scale)?e.scale:{min:1,max:1.5};this._config={scale:n},this._eventBus=i,this._canvas=r,this._providers={},this._current={}}l.$inject=["config.popupMenu","eventBus","canvas"],l.prototype.registerProvider=function(t,e,i){i||(i=e,e=1e3),this._eventBus.on("popupMenu.getProviders."+t,e,(function(t){t.providers.push(i)}))},l.prototype.isEmpty=function(t,i){if(!t)throw new Error("element parameter is missing");if(!i)throw new Error("providerId parameter is missing");var r=this._getProviders(i);if(!r)return!0;var n=this._getEntries(t,r),o=this._getHeaderEntries(t,r),s=e(n)>0,a=o&&e(o)>0;return!s&&!a},l.prototype.open=function(t,r,n){var o=this._getProviders(r);if(!t)throw new Error("Element is missing");if(!o||!o.length)throw new Error("No registered providers for: "+r);if(!n)throw new Error("the position argument is missing");this.isOpen()&&this.close(),this._emit("open");var s=this._current={className:r,element:t,position:n},a=this._getEntries(t,o),p=this._getHeaderEntries(t,o);s.entries=i({},a,p),s.container=this._createContainer(),e(p)&&s.container.appendChild(this._createEntries(p,"djs-popup-header")),e(a)&&s.container.appendChild(this._createEntries(a,"djs-popup-body"));var c=this._canvas.getContainer();this._attachContainer(s.container,c,n.cursor),this._bindAutoClose()},l.prototype.close=function(){this.isOpen()&&(this._emit("close"),this._unbindAutoClose(),s(this._current.container),this._current.container=null)},l.prototype.isOpen=function(){return!!this._current.container},l.prototype.trigger=function(t){t.preventDefault();var e=t.delegateTarget||t.target,i=a(e,"data-id"),r=this._getEntry(i);if(r.action)return r.action.call(null,t,r)},l.prototype._getProviders=function(t){var e=this._eventBus.createEvent({type:"popupMenu.getProviders."+t,providers:[]});return this._eventBus.fire(e),e.providers},l.prototype._getEntries=function(t,e){var i={};return r(e,(function(e){if(e.getPopupMenuEntries){var s=e.getPopupMenuEntries(t);o(s)?i=s(i):r(s,(function(t,e){i[e]=t}))}else r(e.getEntries(t),(function(t){var e=t.id;if(!e)throw new Error("every entry must have the id property set");i[e]=n(t,["id"])}))})),i},l.prototype._getHeaderEntries=function(t,e){var i={};return r(e,(function(e){if(e.getPopupMenuHeaderEntries){var s=e.getPopupMenuHeaderEntries(t);o(s)?i=s(i):r(s,(function(t,e){i[e]=t}))}else{if(!e.getHeaderEntries)return;r(e.getHeaderEntries(t),(function(t){var e=t.id;if(!e)throw new Error("every entry must have the id property set");i[e]=n(t,["id"])}))}})),i},l.prototype._getEntry=function(t){var e=this._current.entries[t];if(!e)throw new Error("entry not found");return e},l.prototype._emit=function(t){this._eventBus.fire("popupMenu."+t)},l.prototype._createContainer=function(){var t=p('<div class="djs-popup">'),e=this._current.position,i=this._current.className;return c(t,{position:"absolute",left:e.x+"px",top:e.y+"px",visibility:"hidden"}),u(t).add(i),t},l.prototype._attachContainer=function(t,e,i){var r=this;d.bind(t,".entry","click",(function(t){r.trigger(t)})),this._updateScale(t),e.appendChild(t),i&&this._assureIsInbounds(t,i)},l.prototype._updateScale=function(e){var i,r,n,o,s=this._canvas.zoom(),a=this._config.scale,p=s;!0!==a&&(!1===a?(i=1,r=1):(i=a.min,r=a.max),t(i)&&s<i&&(p=i),t(r)&&s>r&&(p=r)),o="scale("+p+")",(n=e).style["transform-origin"]="top left",["","-ms-","-webkit-"].forEach((function(t){n.style[t+"transform"]=o}))},l.prototype._assureIsInbounds=function(t,e){var i,r,n=this._canvas._container.getBoundingClientRect(),o=t.offsetLeft,s=t.offsetTop,a=t.scrollWidth,p=t.scrollHeight,u={},d=e.x-n.left,h=e.y-n.top;o+a>n.width&&(u.x=!0),s+p>n.height&&(u.y=!0),u.x&&u.y?(i=d-a+"px",r=h-p+"px"):u.x?(i=d-a+"px",r=h+"px"):u.y&&h<p?(i=d+"px",r="10px"):u.y&&(i=d+"px",r=h-p+"px"),c(t,{left:i,top:r},{visibility:"visible",zIndex:1e3})},l.prototype._createEntries=function(t,e){var i=p("<div>"),n=this;return u(i).add(e),r(t,(function(t,e){var r=n._createEntry(t,e);i.appendChild(r)})),i},l.prototype._createEntry=function(t,e){var i=p("<div>"),r=u(i);if(r.add("entry"),t.className&&t.className.split(" ").forEach((function(t){r.add(t)})),a(i,"data-id",e),t.label){var n=p("<span>");n.textContent=t.label,i.appendChild(n)}return t.imageUrl&&i.appendChild(p('<img src="'+t.imageUrl+'" />')),!0===t.active&&r.add("active"),!0===t.disabled&&r.add("disabled"),t.title&&(i.title=t.title),i},l.prototype._bindAutoClose=function(){this._eventBus.once(h,this.close,this)},l.prototype._unbindAutoClose=function(){this._eventBus.off(h,this.close,this)};export{l as default};
@@ -0,0 +1 @@
1
+ import t from"../../../../inherits-browser/dist/index.es.mjs";import n from"../../command/CommandInterceptor.mjs";function i(t){n.call(this,t),this.init()}i.$inject=["eventBus"],t(i,n),i.prototype.addRule=function(t,n,i){var o=this;"string"==typeof t&&(t=[t]),t.forEach((function(t){o.canExecute(t,n,(function(t,n,o){return i(t)}),!0)}))},i.prototype.init=function(){};export{i as default};
@@ -0,0 +1 @@
1
+ import{set as t,unset as n}from"../../util/Cursor.mjs";import{install as r}from"../../util/ClickTrap.mjs";import{delta as o}from"../../util/PositionUtil.mjs";import{closest as e,event as i}from"../../../../min-dom/dist/index.esm.mjs";import{toPoint as u}from"../../util/Event.mjs";function m(m,s){var a;function d(n){var e,i=a.start,d=a.button,l=u(n),f=o(l,i);if(!a.dragging&&(e=f,Math.sqrt(Math.pow(e.x,2)+Math.pow(e.y,2))>15)&&(a.dragging=!0,0===d&&r(m),t("grab")),a.dragging){var c=a.last||a.start;f=o(l,c),s.scroll({dx:f.x,dy:f.y}),a.last=l}n.preventDefault()}function l(t){i.unbind(document,"mousemove",d),i.unbind(document,"mouseup",l),a=null,n()}m.on("element.mousedown",500,(function(t){return function(t){if(e(t.target,".djs-draggable"))return;var n=t.button;if(n>=2||t.ctrlKey||t.shiftKey||t.altKey)return;return a={button:n,start:u(t)},i.bind(document,"mousemove",d),i.bind(document,"mouseup",l),!0}(t.originalEvent)})),this.isActive=function(){return!!a}}m.$inject=["eventBus","canvas"];export{m as default};
@@ -0,0 +1 @@
1
+ import a from"./MoveCanvas.mjs";var v={__init__:["moveCanvas"],moveCanvas:["type",a]};export{v as default};
@@ -0,0 +1 @@
1
+ import{closest as t,event as o}from"../../../../min-dom/dist/index.esm.mjs";import{getStepSize as e,cap as i}from"./ZoomUtil.mjs";import{log10 as a}from"../../util/Math.mjs";import{bind as n}from"../../../../min-dash/dist/index.esm.mjs";var s=Math.sign||function(t){return t>=0?1:-1},l={min:.2,max:4};function r(t,o,e){t=t||{},this._enabled=!1,this._canvas=e,this._container=e._container,this._handleWheel=n(this._handleWheel,this),this._totalDelta=0,this._scale=t.scale||.75;var i=this;o.on("canvas.init",(function(o){i._init(!1!==t.enabled)}))}r.$inject=["config.zoomScroll","eventBus","canvas"],r.prototype.scroll=function(t){this._canvas.scroll(t)},r.prototype.reset=function(){this._canvas.zoom("fit-viewport")},r.prototype.zoom=function(t,o){var i=e(l,20);this._totalDelta+=t,Math.abs(this._totalDelta)>.1&&(this._zoom(t,o,i),this._totalDelta=0)},r.prototype._handleWheel=function(o){if(!t(o.target,".djs-scrollable",!0)){var e=this._container;o.preventDefault();var i,a=o.ctrlKey,n=o.shiftKey,l=-1*this._scale;if(l*=a?0===o.deltaMode?.02:.32:0===o.deltaMode?1:16,a){var r=e.getBoundingClientRect(),h={x:o.clientX-r.left,y:o.clientY-r.top};i=Math.sqrt(Math.pow(o.deltaY,2)+Math.pow(o.deltaX,2))*s(o.deltaY)*l,this.zoom(i,h)}else i=n?{dx:l*o.deltaY,dy:0}:{dx:l*o.deltaX,dy:l*o.deltaY},this.scroll(i)}},r.prototype.stepZoom=function(t,o){var i=e(l,10);this._zoom(t,o,i)},r.prototype._zoom=function(t,o,e){var n=this._canvas,s=t>0?1:-1,r=a(n.zoom()),h=Math.round(r/e)*e;h+=e*s;var c=Math.pow(10,h);n.zoom(i(l,c),o)},r.prototype.toggle=function(t){var e=this._container,i=this._handleWheel,a=this._enabled;return void 0===t&&(t=!a),a!==t&&o[t?"bind":"unbind"](e,"wheel",i,!1),this._enabled=t,t},r.prototype._init=function(t){this.toggle(t)};export{r as default};
@@ -0,0 +1 @@
1
+ import{log10 as t}from"../../util/Math.mjs";function a(a,m){var n=t(a.min),r=t(a.max);return(Math.abs(n)+Math.abs(r))/m}function m(t,a){return Math.max(t.min,Math.min(t.max,a))}export{m as cap,a as getStepSize};
@@ -0,0 +1 @@
1
+ function n(n,e){function t(){return!1}return e=e||"element.click",n.once(e,5e3,t),function(){n.off(e,t)}}export{n as install};
@@ -0,0 +1 @@
1
+ import{classes as o}from"../../../min-dom/dist/index.esm.mjs";var r=/^djs-cursor-.*$/;function d(d){var n=o(document.body);n.removeMatching(r),d&&n.add("djs-cursor-"+d)}function n(){d(null)}export{d as set,n as unset};
@@ -0,0 +1 @@
1
+ function n(n){return n.originalEvent||n.srcEvent}function t(n){return n.pointers&&n.pointers.length&&(n=n.pointers[0]),n.touches&&n.touches.length&&(n=n.touches[0]),n?{x:n.clientX,y:n.clientY}:null}export{n as getOriginal,t as toPoint};
@@ -0,0 +1 @@
1
+ function t(t){return Math.log(t)/Math.log(10)}export{t as log10};
@@ -0,0 +1 @@
1
+ import{getOriginal as r}from"./Event.mjs";import{isMac as t}from"./Platform.mjs";export{isMac}from"./Platform.mjs";function o(t,o){return(r(t)||t).button===o}function m(r){return o(r,0)}function n(o){var n=r(o)||o;return!!m(o)&&(t()?n.metaKey:n.ctrlKey)}export{n as hasPrimaryModifier,o as isButton,m as isPrimaryButton};
@@ -0,0 +1 @@
1
+ function t(){return/mac/i.test(navigator.platform)}export{t as isMac};
@@ -0,0 +1 @@
1
+ function x(x,n){return{x:x.x-n.x,y:x.y-n.y}}export{x as delta};
@@ -0,0 +1 @@
1
+ import{create as n,attr as r}from"../../../tiny-svg/dist/index.esm.mjs";function t(n){for(var r,t="",i=0;r=n[i];i++)t+=r.x+","+r.y+" ";return t}function i(i,o){var e=n("polyline");return r(e,{points:t(i)}),o&&r(e,o),e}export{i as createLine,t as toSVGPoints};
@@ -0,0 +1 @@
1
+ import{createTransform as t,transform as a}from"../../../tiny-svg/dist/index.esm.mjs";function e(e,s,r,n,o){var i=t();i.setTranslate(s,r);var v=t();v.setRotate(n||0,0,0);var f=t();f.setScale(o||1,o||1),a(e,[i,v,f])}function s(e,s,r){var n=t();n.setTranslate(s,r),a(e,n)}function r(e,s){var r=t();r.setRotate(s,0,0),a(e,r)}export{r as rotate,e as transform,s as translate};
@@ -0,0 +1 @@
1
+ var t,o,r=(t=function(t){var o=t.exports=function(t,r){if(r||(r=16),void 0===t&&(t=128),t<=0)return"0";for(var e=Math.log(Math.pow(2,t))/Math.log(r),n=2;e===1/0;n*=2)e=Math.log(Math.pow(2,t/n))/Math.log(r)*n;var a=e-Math.floor(e),i="";for(n=0;n<Math.floor(e);n++)i=Math.floor(Math.random()*r).toString(r)+i;if(a){var s=Math.pow(r,a);i=Math.floor(Math.random()*s).toString(r)+i}var h=parseInt(i,r);return h!==1/0&&h>=Math.pow(2,t)?o(t,r):i};o.rack=function(t,r,e){var n=function(n){var i=0;do{if(i++>10){if(!e)throw new Error("too many ID collisions, use more bits");t+=e}var s=o(t,r)}while(Object.hasOwnProperty.call(a,s));return a[s]=n,s},a=n.hats={};return n.get=function(t){return n.hats[t]},n.set=function(t,o){return n.hats[t]=o,n},n.bits=t||128,n.base=r||16,n}},t(o={exports:{}},o.exports),o.exports);function e(t){if(!(this instanceof e))return new e(t);t=t||[128,36,1],this._seed=t.length?r.rack(t[0],t[1],t[2]):t}e.prototype.next=function(t){return this._seed(t||!0)},e.prototype.nextPrefixed=function(t,o){var r;do{r=t+this.next(!0)}while(this.assigned(r));return this.claim(r,o),r},e.prototype.claim=function(t,o){this._seed.set(t,o||!0)},e.prototype.assigned=function(t){return this._seed.get(t)||!1},e.prototype.unclaim=function(t){delete this._seed.hats[t]},e.prototype.clear=function(){var t,o=this._seed.hats;for(t in o)this.unclaim(t)};export{e as default};
@@ -0,0 +1 @@
1
+ import{getDefaultExportFromCjs as r}from"../../_virtual/_commonjsHelpers.mjs";import{i as t}from"../../_virtual/inherits.mjs";import{__require as i}from"./inherits_browser.mjs";!function(r){try{var t=require("util");if("function"!=typeof t.inherits)throw"";r.exports=t.inherits}catch(t){r.exports=i()}}(t);var e=r(t.exports);export{e as default};
@@ -0,0 +1 @@
1
+ import{i as t}from"../../_virtual/inherits_browser.mjs";var r;function e(){return r||(r=1,"function"==typeof Object.create?t.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,r){if(r){t.super_=r;var e=function(){};e.prototype=r.prototype,t.prototype=new e,t.prototype.constructor=t}}),t.exports}export{e as __require};
@@ -0,0 +1 @@
1
+ function e(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}export{e as default};
@@ -0,0 +1 @@
1
+ var n=Object.prototype.toString,t=Object.prototype.hasOwnProperty;function r(n){return void 0===n}function o(n){return void 0!==n}function e(t){return"[object Array]"===n.call(t)}function c(t){return"[object Object]"===n.call(t)}function u(t){return"[object Number]"===n.call(t)}function i(t){var r=n.call(t);return"[object Function]"===r||"[object AsyncFunction]"===r||"[object GeneratorFunction]"===r||"[object AsyncGeneratorFunction]"===r||"[object Proxy]"===r}function a(n,r){return t.call(n,r)}function f(n,t){var o;if(!r(n)){var c=e(n)?p:j;for(var u in n)if(a(n,u)&&!1===t(o=n[u],c(u)))return o}}function b(n){return n&&Object.keys(n)||[]}function l(n){return b(n).length}function j(n){return n}function p(n){return Number(n)}function v(n,t){return n.bind(t)}function y(){return y=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])}return n},y.apply(this,arguments)}function O(n){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return y.apply(void 0,[n].concat(r))}function s(n,t){var r={};return f(Object(n),(function(n,o){-1===t.indexOf(o)&&(r[o]=n)})),r}export{O as assign,v as bind,f as forEach,a as has,e as isArray,o as isDefined,i as isFunction,u as isNumber,c as isObject,r as isUndefined,b as keys,s as omit,l as size};
@@ -0,0 +1 @@
1
+ var t=Object.prototype.toString,e=Object.prototype.hasOwnProperty;function r(t,r){return e.call(t,r)}function n(e,n){var l;if(void 0!==e){var a=function(e){return"[object Array]"===t.call(e)}(e)?o:i;for(var s in e)if(r(e,s)&&!1===n(l=e[s],a(s)))return l}}function i(t){return t}function o(t){return Number(t)}function l(t){for(var e=t.style,r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return n(i,(function(t){t&&n(t,(function(t,r){e[r]=t}))})),t}function a(t,e,r){return 2==arguments.length?t.getAttribute(e):null===r?t.removeAttribute(e):(t.setAttribute(e,r),t)}var s=[].indexOf,u=function(t,e){if(s)return t.indexOf(e);for(var r=0;r<t.length;++r)if(t[r]===e)return r;return-1},c=/\s+/,d=Object.prototype.toString;function h(t){return new f(t)}function f(t){if(!t||!t.nodeType)throw new Error("A DOM element reference is required");this.el=t,this.list=t.classList}f.prototype.add=function(t){if(this.list)return this.list.add(t),this;var e=this.array();return~u(e,t)||e.push(t),this.el.className=e.join(" "),this},f.prototype.remove=function(t){if("[object RegExp]"==d.call(t))return this.removeMatching(t);if(this.list)return this.list.remove(t),this;var e=this.array(),r=u(e,t);return~r&&e.splice(r,1),this.el.className=e.join(" "),this},f.prototype.removeMatching=function(t){for(var e=this.array(),r=0;r<e.length;r++)t.test(e[r])&&this.remove(e[r]);return this},f.prototype.toggle=function(t,e){return this.list?(void 0!==e?e!==this.list.toggle(t,e)&&this.list.toggle(t):this.list.toggle(t),this):(void 0!==e?e?this.add(t):this.remove(t):this.has(t)?this.remove(t):this.add(t),this)},f.prototype.array=function(){var t=(this.el.getAttribute("class")||"").replace(/^\s+|\s+$/g,"").split(c);return""===t[0]&&t.shift(),t},f.prototype.has=f.prototype.contains=function(t){return this.list?this.list.contains(t):!!~u(this.array(),t)};var p="undefined"!=typeof Element?Element.prototype:{},v=p.matches||p.matchesSelector||p.webkitMatchesSelector||p.mozMatchesSelector||p.msMatchesSelector||p.oMatchesSelector,g=function(t,e){if(!t||1!==t.nodeType)return!1;if(v)return v.call(t,e);for(var r=t.parentNode.querySelectorAll(e),n=0;n<r.length;n++)if(r[n]==t)return!0;return!1};function m(t,e,r){for(var n=r?t:t.parentNode;n&&n.nodeType!==document.DOCUMENT_NODE&&n.nodeType!==document.DOCUMENT_FRAGMENT_NODE;){if(g(n,e))return n;n=n.parentNode}return g(n,e)?n:null}var y=window.addEventListener?"addEventListener":"attachEvent",b=window.removeEventListener?"removeEventListener":"detachEvent",E="addEventListener"!==y?"on":"",w={bind:function(t,e,r,n){return t[y](E+e,r,n||!1),r},unbind:function(t,e,r,n){return t[b](E+e,r,n||!1),r}},N=["focus","blur"];var T,C={bind:function(t,e,r,n,i){return-1!==N.indexOf(r)&&(i=!0),w.bind(t,r,(function(r){var i=r.target||r.srcElement;r.delegateTarget=m(i,e,!0),r.delegateTarget&&n.call(t,r)}),i)},unbind:function(t,e,r,n){return-1!==N.indexOf(e)&&(n=!0),w.unbind(t,e,r,n)}},M=function(t,e){if("string"!=typeof t)throw new TypeError("String expected");e||(e=document);var r=/<([\w:]+)/.exec(t);if(!r)return e.createTextNode(t);t=t.replace(/^\s+|\s+$/g,"");var n=r[1];if("body"==n){return(i=e.createElement("html")).innerHTML=t,i.removeChild(i.lastChild)}var i,o=x[n]||x._default,l=o[0],a=o[1],s=o[2];(i=e.createElement("div")).innerHTML=a+t+s;for(;l--;)i=i.lastChild;if(i.firstChild==i.lastChild)return i.removeChild(i.firstChild);var u=e.createDocumentFragment();for(;i.firstChild;)u.appendChild(i.removeChild(i.firstChild));return u},O=!1;"undefined"!=typeof document&&((T=document.createElement("div")).innerHTML=' <link/><table></table><a href="/a">a</a><input type="checkbox"/>',O=!T.getElementsByTagName("link").length,T=void 0);var x={legend:[1,"<fieldset>","</fieldset>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],_default:O?[1,"X<div>","</div>"]:[0,"",""]};function S(t,e){return(e=e||document).querySelector(t)}function A(t){t.parentNode&&t.parentNode.removeChild(t)}x.td=x.th=[3,"<table><tbody><tr>","</tr></tbody></table>"],x.option=x.optgroup=[1,'<select multiple="multiple">',"</select>"],x.thead=x.tbody=x.colgroup=x.caption=x.tfoot=[1,"<table>","</table>"],x.polyline=x.ellipse=x.polygon=x.circle=x.text=x.line=x.path=x.rect=x.g=[1,'<svg xmlns="http://www.w3.org/2000/svg" version="1.1">',"</svg>"];export{l as assignStyle,a as attr,h as classes,m as closest,C as delegate,M as domify,w as event,g as matches,S as query,A as remove};
@@ -0,0 +1 @@
1
+ function t(t,r){return r.appendChild(function(t,r){if(t.ownerDocument!==r.ownerDocument)try{return r.ownerDocument.importNode(t,!0)}catch(t){}return t}(t,r))}function r(r,e){return t(e,r),r}var e={"alignment-baseline":1,"baseline-shift":1,clip:1,"clip-path":1,"clip-rule":1,color:1,"color-interpolation":1,"color-interpolation-filters":1,"color-profile":1,"color-rendering":1,cursor:1,direction:1,display:1,"dominant-baseline":1,"enable-background":1,fill:1,"fill-opacity":1,"fill-rule":1,filter:1,"flood-color":1,"flood-opacity":1,font:1,"font-family":1,"font-size":2,"font-size-adjust":1,"font-stretch":1,"font-style":1,"font-variant":1,"font-weight":1,"glyph-orientation-horizontal":1,"glyph-orientation-vertical":1,"image-rendering":1,kerning:1,"letter-spacing":1,"lighting-color":1,marker:1,"marker-end":1,"marker-mid":1,"marker-start":1,mask:1,opacity:1,overflow:1,"pointer-events":1,"shape-rendering":1,"stop-color":1,"stop-opacity":1,stroke:1,"stroke-dasharray":1,"stroke-dashoffset":1,"stroke-linecap":1,"stroke-linejoin":1,"stroke-miterlimit":1,"stroke-opacity":1,"stroke-width":2,"text-anchor":1,"text-decoration":1,"text-rendering":1,"unicode-bidi":1,visibility:1,"word-spacing":1,"writing-mode":1};function i(t,r,i){var n=r.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),o=e[n];o?(2===o&&"number"==typeof i&&(i=String(i)+"px"),t.style[n]=i):t.setAttributeNS(null,r,i)}function n(t,r,n){if("string"==typeof r){if(void 0===n)return function(t,r){return e[r]?t.style[r]:t.getAttributeNS(null,r)}(t,r);i(t,r,n)}else!function(t,r){var e,n,o=Object.keys(r);for(e=0;n=o[e];e++)i(t,n,r[n])}(t,r);return t}function o(t,r){if(t.indexOf)return t.indexOf(r);for(var e=0;e<t.length;++e)if(t[e]===r)return e;return-1}var s=/\s+/,a=Object.prototype.toString;function l(t){return void 0!==t}function c(t){return new f(t)}function f(t){if(!t||!t.nodeType)throw new Error("A DOM element reference is required");this.el=t,this.list=t.classList}f.prototype.add=function(t){if(this.list)return this.list.add(t),this;var r=this.array();return~o(r,t)||r.push(t),l(this.el.className.baseVal)?this.el.className.baseVal=r.join(" "):this.el.className=r.join(" "),this},f.prototype.remove=function(t){if("[object RegExp]"===a.call(t))return this.removeMatching(t);if(this.list)return this.list.remove(t),this;var r=this.array(),e=o(r,t);return~e&&r.splice(e,1),this.el.className.baseVal=r.join(" "),this},f.prototype.removeMatching=function(t){for(var r=this.array(),e=0;e<r.length;e++)t.test(r[e])&&this.remove(r[e]);return this},f.prototype.toggle=function(t,r){return this.list?(l(r)?r!==this.list.toggle(t,r)&&this.list.toggle(t):this.list.toggle(t),this):(l(r)?r?this.add(t):this.remove(t):this.has(t)?this.remove(t):this.add(t),this)},f.prototype.array=function(){var t=(this.el.getAttribute("class")||"").replace(/^\s+|\s+$/g,"").split(s);return""===t[0]&&t.shift(),t},f.prototype.has=f.prototype.contains=function(t){return this.list?this.list.contains(t):!!~o(this.array(),t)};var u="http://www.w3.org/2000/svg",h='<svg xmlns="'+u+'"';function p(t){var r=!1;"<svg"===t.substring(0,4)?-1===t.indexOf(u)&&(t=h+t.substring(4)):(t=h+">"+t+"</svg>",r=!0);var e=function(t){var r;return(r=new DOMParser).async=!1,r.parseFromString(t,"text/xml")}(t);if(!r)return e;for(var i=document.createDocumentFragment(),n=e.firstChild;n.firstChild;)i.appendChild(n.firstChild);return i}function d(t,r){var e;return"<"===t.charAt(0)?(e=p(t).firstChild,e=document.importNode(e,!0)):e=document.createElementNS(u,t),r&&n(e,r),e}var m=d("svg");function g(t){return t?m.createSVGTransformFromMatrix(t):m.createSVGTransform()}function v(t,r){return r instanceof SVGMatrix?t.createSVGTransformFromMatrix(r):r}function y(t,r){var e=t.transform.baseVal;return r&&(Array.isArray(r)||(r=[r]),function(t,r){var e,i;for(t.clear(),e=0;i=r[e];e++)t.appendItem(v(t,i))}(e,r)),e.consolidate()}export{r as append,t as appendTo,n as attr,c as classes,d as create,g as createTransform,y as transform};
@@ -197,7 +197,7 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
197
197
  addInlineEditPrimaryKey: string;
198
198
  GROUP_TITLE_KEY: string;
199
199
  $message: import("naive-ui").MessageApi;
200
- xGrid: import("vue").Ref<null>;
200
+ xGrid: import("vue").Ref<{}>;
201
201
  copyState: {
202
202
  curAbleCheckedLen: number;
203
203
  showButtonTop: number;
@@ -211,8 +211,8 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
211
211
  visibleTreeCheck: boolean;
212
212
  treeTableLength: number;
213
213
  checkWidth: {
214
- "table-simple": string;
215
- "table-classics": string;
214
+ 'table-simple': string;
215
+ 'table-classics': string;
216
216
  };
217
217
  lastPageIndex: number;
218
218
  selectType: string;
@@ -251,6 +251,9 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
251
251
  autoClear: boolean;
252
252
  showIcon: boolean;
253
253
  };
254
+ rowConfig: {
255
+ height: number;
256
+ };
254
257
  };
255
258
  state: {
256
259
  curAbleCheckedLen: number;
@@ -265,8 +268,8 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
265
268
  visibleTreeCheck: boolean;
266
269
  treeTableLength: number;
267
270
  checkWidth: {
268
- "table-simple": string;
269
- "table-classics": string;
271
+ 'table-simple': string;
272
+ 'table-classics': string;
270
273
  };
271
274
  lastPageIndex: number;
272
275
  selectType: string;
@@ -305,6 +308,9 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
305
308
  autoClear: boolean;
306
309
  showIcon: boolean;
307
310
  };
311
+ rowConfig: {
312
+ height: number;
313
+ };
308
314
  };
309
315
  emit: (event: string, ...args: any[]) => void;
310
316
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
@@ -506,7 +512,6 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
506
512
  tableList: any[];
507
513
  fieldList: any[];
508
514
  btnList: any[];
509
- oldtableData: any[];
510
515
  showButtonTop: number;
511
516
  isNestTabel?: boolean | undefined;
512
517
  mainTableTheUniqueKey?: string | undefined;
@@ -570,6 +575,10 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
570
575
  toggleExpandMethod: ({ expanded, row }: any) => boolean;
571
576
  loadExpandMethod: ({ row, rowIndex }: any) => Promise<void>;
572
577
  nestHandleClickRow: (table: any, data: any) => void;
578
+ keyDown: ({ $event }: {
579
+ $event: KeyboardEvent;
580
+ }) => void;
581
+ scroll: (params: any) => void;
573
582
  attr: {
574
583
  [x: string]: unknown;
575
584
  };
@@ -638,7 +647,7 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
638
647
  formatterHeader: (item: any) => () => any[];
639
648
  handlefilterBoxClickSort: (sort: any, field: any) => void;
640
649
  handleFilterSeach: (val: any, field: any) => void;
641
- handleFilterChangeAll: (e: any, field: any) => void;
650
+ handleFilterChangeAll: (val: any, field: any) => void;
642
651
  handleFilterChange: (value: any, name: any, field: any) => void;
643
652
  handleFilterSearchChange: (value: any, columnName: any, field: any) => void;
644
653
  handleFilterClearAll: (field: any) => void;
@@ -708,9 +717,6 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
708
717
  order: any;
709
718
  }) => false | undefined;
710
719
  showDrawer: () => void;
711
- scrollEvent: (params: any) => void;
712
- initScroll: () => void;
713
- handlerScroll: (params: any) => void;
714
720
  handleCellMouseenter: ({ column, $event }: {
715
721
  column: any;
716
722
  $event: any;
@@ -827,11 +833,11 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
827
833
  default: boolean;
828
834
  };
829
835
  checkedValue: {
830
- type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
836
+ type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
831
837
  default: boolean;
832
838
  };
833
839
  uncheckedValue: {
834
- type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
840
+ type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
835
841
  default: boolean;
836
842
  };
837
843
  'onUpdate:checked': import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<import("naive-ui/es/checkbox/src/interface").OnUpdateChecked>>;
@@ -1125,11 +1131,11 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
1125
1131
  default: boolean;
1126
1132
  };
1127
1133
  checkedValue: {
1128
- type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
1134
+ type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
1129
1135
  default: boolean;
1130
1136
  };
1131
1137
  uncheckedValue: {
1132
- type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
1138
+ type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
1133
1139
  default: boolean;
1134
1140
  };
1135
1141
  'onUpdate:checked': import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<import("naive-ui/es/checkbox/src/interface").OnUpdateChecked>>;
@@ -1980,11 +1986,11 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
1980
1986
  [x: `on${string}`]: ((...args: any[]) => any) | undefined;
1981
1987
  }, {
1982
1988
  data: unknown[];
1983
- maxCheckSize: number;
1984
1989
  showFooter: boolean;
1990
+ columnConfig: Record<string, any>;
1991
+ maxCheckSize: number;
1985
1992
  sumData: Record<string, any>;
1986
1993
  avgData: Record<string, any>;
1987
- columnConfig: Record<string, any>;
1988
1994
  refreshRow: number;
1989
1995
  relatedItems: Record<string, any>;
1990
1996
  pageVO: Record<string, any>;
@@ -196,7 +196,7 @@ declare const _default: import("vue").DefineComponent<{
196
196
  addInlineEditPrimaryKey: string;
197
197
  GROUP_TITLE_KEY: string;
198
198
  $message: import("naive-ui").MessageApi;
199
- xGrid: import("vue").Ref<null>;
199
+ xGrid: import("vue").Ref<{}>;
200
200
  copyState: {
201
201
  curAbleCheckedLen: number;
202
202
  showButtonTop: number;
@@ -210,8 +210,8 @@ declare const _default: import("vue").DefineComponent<{
210
210
  visibleTreeCheck: boolean;
211
211
  treeTableLength: number;
212
212
  checkWidth: {
213
- "table-simple": string;
214
- "table-classics": string;
213
+ 'table-simple': string;
214
+ 'table-classics': string;
215
215
  };
216
216
  lastPageIndex: number;
217
217
  selectType: string;
@@ -250,6 +250,9 @@ declare const _default: import("vue").DefineComponent<{
250
250
  autoClear: boolean;
251
251
  showIcon: boolean;
252
252
  };
253
+ rowConfig: {
254
+ height: number;
255
+ };
253
256
  };
254
257
  state: {
255
258
  curAbleCheckedLen: number;
@@ -264,8 +267,8 @@ declare const _default: import("vue").DefineComponent<{
264
267
  visibleTreeCheck: boolean;
265
268
  treeTableLength: number;
266
269
  checkWidth: {
267
- "table-simple": string;
268
- "table-classics": string;
270
+ 'table-simple': string;
271
+ 'table-classics': string;
269
272
  };
270
273
  lastPageIndex: number;
271
274
  selectType: string;
@@ -304,6 +307,9 @@ declare const _default: import("vue").DefineComponent<{
304
307
  autoClear: boolean;
305
308
  showIcon: boolean;
306
309
  };
310
+ rowConfig: {
311
+ height: number;
312
+ };
307
313
  };
308
314
  emit: (event: string, ...args: any[]) => void;
309
315
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
@@ -505,7 +511,6 @@ declare const _default: import("vue").DefineComponent<{
505
511
  tableList: any[];
506
512
  fieldList: any[];
507
513
  btnList: any[];
508
- oldtableData: any[];
509
514
  showButtonTop: number;
510
515
  isNestTabel?: boolean | undefined;
511
516
  mainTableTheUniqueKey?: string | undefined;
@@ -569,6 +574,10 @@ declare const _default: import("vue").DefineComponent<{
569
574
  toggleExpandMethod: ({ expanded, row }: any) => boolean;
570
575
  loadExpandMethod: ({ row, rowIndex }: any) => Promise<void>;
571
576
  nestHandleClickRow: (table: any, data: any) => void;
577
+ keyDown: ({ $event }: {
578
+ $event: KeyboardEvent;
579
+ }) => void;
580
+ scroll: (params: any) => void;
572
581
  attr: {
573
582
  [x: string]: unknown;
574
583
  };
@@ -637,7 +646,7 @@ declare const _default: import("vue").DefineComponent<{
637
646
  formatterHeader: (item: any) => () => any[];
638
647
  handlefilterBoxClickSort: (sort: any, field: any) => void;
639
648
  handleFilterSeach: (val: any, field: any) => void;
640
- handleFilterChangeAll: (e: any, field: any) => void;
649
+ handleFilterChangeAll: (val: any, field: any) => void;
641
650
  handleFilterChange: (value: any, name: any, field: any) => void;
642
651
  handleFilterSearchChange: (value: any, columnName: any, field: any) => void;
643
652
  handleFilterClearAll: (field: any) => void;
@@ -707,9 +716,6 @@ declare const _default: import("vue").DefineComponent<{
707
716
  order: any;
708
717
  }) => false | undefined;
709
718
  showDrawer: () => void;
710
- scrollEvent: (params: any) => void;
711
- initScroll: () => void;
712
- handlerScroll: (params: any) => void;
713
719
  handleCellMouseenter: ({ column, $event }: {
714
720
  column: any;
715
721
  $event: any;
@@ -826,11 +832,11 @@ declare const _default: import("vue").DefineComponent<{
826
832
  default: boolean;
827
833
  };
828
834
  checkedValue: {
829
- type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
835
+ type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
830
836
  default: boolean;
831
837
  };
832
838
  uncheckedValue: {
833
- type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
839
+ type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
834
840
  default: boolean;
835
841
  };
836
842
  'onUpdate:checked': import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<import("naive-ui/es/checkbox/src/interface").OnUpdateChecked>>;
@@ -974,22 +980,7 @@ declare const _default: import("vue").DefineComponent<{
974
980
  closeIconColor: string;
975
981
  closeIconColorHover: string;
976
982
  closeIconColorPressed: string;
977
- closeColorHover: string; /**
978
- * 针对 bigTable 的设置列
979
- * type: 列的类型
980
- * field: 列字段名(注:属性层级越深,渲染性能将直线下降)
981
- * title: 列标题(支持开启国际化)
982
- * width: 列宽度(如果为空则均匀分配剩余宽度,如果全部列固定了,可能会存在宽屏下不会铺满,可以配合 "%" 或者 "min-width" 布局)
983
- * minWidth: 最小列宽度;会自动将剩余空间按比例分配
984
- * resizable: 列是否允许拖动列宽调整大小
985
- * visible: 列是否显示
986
- * fixed: 将列固定在左侧或者右侧(注意:固定列应该放在左右两侧的位置)
987
- * align: 列对齐方式
988
- * headerAlign: 表头列的对齐方式
989
- * footerAlign: 表尾列的对齐方式
990
- * formatter: 格式化显示内容 Function({cellValue, row, column})
991
- * sortable: 是否允许列排序
992
- */
983
+ closeColorHover: string;
993
984
  closeColorPressed: string;
994
985
  clearColor: string;
995
986
  clearColorHover: string;
@@ -1139,11 +1130,11 @@ declare const _default: import("vue").DefineComponent<{
1139
1130
  default: boolean;
1140
1131
  };
1141
1132
  checkedValue: {
1142
- type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
1133
+ type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
1143
1134
  default: boolean;
1144
1135
  };
1145
1136
  uncheckedValue: {
1146
- type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
1137
+ type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
1147
1138
  default: boolean;
1148
1139
  };
1149
1140
  'onUpdate:checked': import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<import("naive-ui/es/checkbox/src/interface").OnUpdateChecked>>;
@@ -1994,11 +1985,11 @@ declare const _default: import("vue").DefineComponent<{
1994
1985
  [x: `on${string}`]: ((...args: any[]) => any) | undefined;
1995
1986
  }, {
1996
1987
  data: unknown[];
1997
- maxCheckSize: number;
1998
1988
  showFooter: boolean;
1989
+ columnConfig: Record<string, any>;
1990
+ maxCheckSize: number;
1999
1991
  sumData: Record<string, any>;
2000
1992
  avgData: Record<string, any>;
2001
- columnConfig: Record<string, any>;
2002
1993
  refreshRow: number;
2003
1994
  relatedItems: Record<string, any>;
2004
1995
  pageVO: Record<string, any>;