element-less 0.0.48 → 0.0.50

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 (284) hide show
  1. package/components.d.ts +1 -0
  2. package/custom/aMap/src/aMap.vue.d.ts +4 -33
  3. package/custom/aceEditor/index.d.ts +19 -19
  4. package/custom/aceEditor/src/aceEditor.vue.d.ts +19 -19
  5. package/custom/button-export/src/buttonExport.vue.d.ts +3 -12
  6. package/custom/button-search/index.d.ts +8 -10
  7. package/custom/button-search/src/buttonSearch.vue.d.ts +2 -2
  8. package/custom/button-select/src/buttonSelect.vue.d.ts +1 -10
  9. package/custom/caption/index.d.ts +16 -68
  10. package/custom/caption/src/caption.vue.d.ts +7 -30
  11. package/custom/container/index.d.ts +18 -16
  12. package/custom/container/src/container.d.ts +1 -0
  13. package/custom/container/src/container.vue.d.ts +9 -6
  14. package/custom/cron/src/cron.vue.d.ts +3 -12
  15. package/custom/data-modal/index.d.ts +20 -20
  16. package/custom/data-modal/src/dataModal.vue.d.ts +20 -20
  17. package/custom/dynamic/common/hooks/index.d.ts +8 -4
  18. package/custom/dynamic/common/propertys/advanced.d.ts +108 -0
  19. package/custom/dynamic/common/propertys/cascader.d.ts +1096 -0
  20. package/custom/dynamic/common/propertys/checkbox.d.ts +297 -140
  21. package/custom/dynamic/common/propertys/formItem.d.ts +111 -38
  22. package/custom/dynamic/common/propertys/index.d.ts +2 -0
  23. package/custom/dynamic/common/propertys/radio.d.ts +678 -211
  24. package/custom/dynamic/common/propertys/row.d.ts +68 -0
  25. package/custom/dynamic/common/propertys/select.d.ts +730 -389
  26. package/custom/dynamic/common/propertys/table.d.ts +348 -21
  27. package/custom/dynamic/common/propertys/tooltip.d.ts +135 -0
  28. package/custom/dynamic/create/index.d.ts +8 -51
  29. package/custom/dynamic/create/src/create.vue.d.ts +8 -52
  30. package/custom/dynamic/designer/index.d.ts +20 -20
  31. package/custom/dynamic/designer/src/designer.d.ts +6 -6
  32. package/custom/dynamic/designer/src/designer.vue.d.ts +20 -20
  33. package/custom/dynamic/designer/src/inner.vue.d.ts +6 -27
  34. package/custom/dynamic/designer/src/innerItem.vue.d.ts +3 -12
  35. package/custom/dynamic/designerView/index.d.ts +51 -203
  36. package/custom/dynamic/designerView/src/baseSetting.vue.d.ts +4 -13
  37. package/custom/dynamic/designerView/src/body.vue.d.ts +5 -26
  38. package/custom/dynamic/designerView/src/designerView.d.ts +9 -7
  39. package/custom/dynamic/designerView/src/designerView.vue.d.ts +28 -26
  40. package/custom/dynamic/designerView/src/form.vue.d.ts +4 -13
  41. package/custom/dynamic/designerView/src/icon/iconPark/AddPicture.vue.d.ts +1 -1
  42. package/custom/dynamic/designerView/src/icon/iconPark/Back.vue.d.ts +1 -1
  43. package/custom/dynamic/designerView/src/icon/iconPark/BankCard.vue.d.ts +1 -1
  44. package/custom/dynamic/designerView/src/icon/iconPark/Bookmark.vue.d.ts +1 -1
  45. package/custom/dynamic/designerView/src/icon/iconPark/Button.vue.d.ts +1 -1
  46. package/custom/dynamic/designerView/src/icon/iconPark/CalendarDot.vue.d.ts +1 -1
  47. package/custom/dynamic/designerView/src/icon/iconPark/Code.vue.d.ts +1 -1
  48. package/custom/dynamic/designerView/src/icon/iconPark/DataType.vue.d.ts +1 -1
  49. package/custom/dynamic/designerView/src/icon/iconPark/DividingLine.vue.d.ts +1 -1
  50. package/custom/dynamic/designerView/src/icon/iconPark/ExpandTextInput.vue.d.ts +1 -1
  51. package/custom/dynamic/designerView/src/icon/iconPark/ExportButton.vue.d.ts +1 -1
  52. package/custom/dynamic/designerView/src/icon/iconPark/FormOne.vue.d.ts +1 -1
  53. package/custom/dynamic/designerView/src/icon/iconPark/FullScreen.vue.d.ts +1 -1
  54. package/custom/dynamic/designerView/src/icon/iconPark/HamburgerButton.vue.d.ts +1 -1
  55. package/custom/dynamic/designerView/src/icon/iconPark/HandDrag.vue.d.ts +1 -1
  56. package/custom/dynamic/designerView/src/icon/iconPark/Json.vue.d.ts +1 -1
  57. package/custom/dynamic/designerView/src/icon/iconPark/Label.vue.d.ts +1 -1
  58. package/custom/dynamic/designerView/src/icon/iconPark/LayoutTwo.vue.d.ts +1 -1
  59. package/custom/dynamic/designerView/src/icon/iconPark/ListCheckbox.vue.d.ts +1 -1
  60. package/custom/dynamic/designerView/src/icon/iconPark/ListNumbers.vue.d.ts +1 -1
  61. package/custom/dynamic/designerView/src/icon/iconPark/Margin.vue.d.ts +1 -1
  62. package/custom/dynamic/designerView/src/icon/iconPark/MenuUnfold.vue.d.ts +1 -1
  63. package/custom/dynamic/designerView/src/icon/iconPark/Next.vue.d.ts +1 -1
  64. package/custom/dynamic/designerView/src/icon/iconPark/PictureAlbum.vue.d.ts +1 -1
  65. package/custom/dynamic/designerView/src/icon/iconPark/Planet.vue.d.ts +1 -1
  66. package/custom/dynamic/designerView/src/icon/iconPark/Platte.vue.d.ts +1 -1
  67. package/custom/dynamic/designerView/src/icon/iconPark/QueryForm.vue.d.ts +1 -1
  68. package/custom/dynamic/designerView/src/icon/iconPark/RadioTwo.vue.d.ts +1 -1
  69. package/custom/dynamic/designerView/src/icon/iconPark/SearchButton.vue.d.ts +1 -1
  70. package/custom/dynamic/designerView/src/icon/iconPark/Select.vue.d.ts +1 -1
  71. package/custom/dynamic/designerView/src/icon/iconPark/Share.vue.d.ts +1 -1
  72. package/custom/dynamic/designerView/src/icon/iconPark/SwitchOne.vue.d.ts +1 -1
  73. package/custom/dynamic/designerView/src/icon/iconPark/Table.vue.d.ts +1 -1
  74. package/custom/dynamic/designerView/src/icon/iconPark/Tag.vue.d.ts +1 -1
  75. package/custom/dynamic/designerView/src/icon/iconPark/Text.vue.d.ts +1 -1
  76. package/custom/dynamic/designerView/src/icon/iconPark/TextStyle.vue.d.ts +1 -1
  77. package/custom/dynamic/designerView/src/icon/iconPark/Time.vue.d.ts +1 -1
  78. package/custom/dynamic/designerView/src/icon/iconPark/Tips.vue.d.ts +1 -1
  79. package/custom/dynamic/designerView/src/icon/iconPark/TopicDiscussion.vue.d.ts +1 -1
  80. package/custom/dynamic/designerView/src/icon/iconPark/TreeList.vue.d.ts +1 -1
  81. package/custom/dynamic/designerView/src/icon/iconPark/Upload.vue.d.ts +1 -1
  82. package/custom/dynamic/designerView/src/icon/iconPark/Word.vue.d.ts +1 -1
  83. package/custom/dynamic/designerView/src/icon/index.vue.d.ts +3 -12
  84. package/custom/dynamic/designerView/src/inner.vue.d.ts +4 -13
  85. package/custom/dynamic/designerView/src/innerItem.vue.d.ts +4 -13
  86. package/custom/dynamic/designerView/src/operate.vue.d.ts +1 -10
  87. package/custom/dynamic/designerView/src/show.vue.d.ts +4 -13
  88. package/custom/dynamic/designerView/src/stateDesign.d.ts +3 -3
  89. package/custom/dynamic/designerView/src/wrap.vue.d.ts +4 -13
  90. package/custom/dynamic/render/index.d.ts +44 -44
  91. package/custom/dynamic/render/src/form.vue.d.ts +4 -13
  92. package/custom/dynamic/render/src/inner.vue.d.ts +5 -26
  93. package/custom/dynamic/render/src/innerArray.vue.d.ts +4 -21
  94. package/custom/dynamic/render/src/innerItem.vue.d.ts +6 -15
  95. package/custom/dynamic/render/src/innerObjectArray.vue.d.ts +4 -21
  96. package/custom/dynamic/render/src/innerWrap.vue.d.ts +4 -13
  97. package/custom/dynamic/render/src/render.d.ts +7 -7
  98. package/custom/dynamic/render/src/render.vue.d.ts +22 -22
  99. package/custom/dynamic/render/src/renderAsync.vue.d.ts +22 -22
  100. package/custom/dynamic/render/src/show.vue.d.ts +5 -14
  101. package/custom/form-node/index.d.ts +32 -117
  102. package/custom/form-node/src/formNode.vue.d.ts +19 -19
  103. package/custom/highlight/src/highlight.vue.d.ts +2 -23
  104. package/custom/inputTag/index.d.ts +19 -19
  105. package/custom/inputTag/src/inputTag.vue.d.ts +19 -19
  106. package/custom/jsonEditor/index.d.ts +19 -19
  107. package/custom/jsonEditor/src/jsonEditor.vue.d.ts +19 -19
  108. package/custom/jsonViewer/index.d.ts +3 -3
  109. package/custom/jsonViewer/src/jsonViewer.vue.d.ts +3 -3
  110. package/custom/list/index.d.ts +22 -279
  111. package/custom/list/src/list.d.ts +1 -1
  112. package/custom/list/src/list.vue.d.ts +9 -130
  113. package/custom/mdEditor/index.d.ts +19 -19
  114. package/custom/mdEditor/src/mdEditor.vue.d.ts +19 -19
  115. package/custom/mdPreview/index.d.ts +7 -11
  116. package/custom/mdPreview/src/mdPreview.vue.d.ts +4 -13
  117. package/custom/menu-context/index.d.ts +9 -52
  118. package/custom/menu-context/src/menuContext.vue.d.ts +10 -53
  119. package/custom/menu-dropdown/index.d.ts +4 -4
  120. package/custom/menu-dropdown/src/menuDropdown.vue.d.ts +4 -4
  121. package/custom/menu-tool/index.d.ts +12 -39
  122. package/custom/menu-tool/src/menuTool.vue.d.ts +6 -6
  123. package/custom/qrCode/index.d.ts +1 -1
  124. package/custom/qrCode/src/qrCode.vue.d.ts +1 -1
  125. package/custom/stampBadge/src/stampBadge.vue.d.ts +2 -29
  126. package/custom/tip/src/tip.vue.d.ts +1 -10
  127. package/custom/uEditor/index.d.ts +19 -19
  128. package/custom/uEditor/src/uEditor.vue.d.ts +19 -19
  129. package/custom/wangEditor/index.d.ts +19 -19
  130. package/custom/wangEditor/src/wangEditor.vue.d.ts +19 -19
  131. package/custom/waterFall/index.d.ts +152 -0
  132. package/custom/waterFall/src/lazyImage.vue.d.ts +2 -0
  133. package/custom/waterFall/src/lib/components/LazyImg.vue.d.ts +2 -0
  134. package/custom/waterFall/src/lib/components/Waterfall.vue.d.ts +173 -0
  135. package/custom/waterFall/src/lib/index.d.ts +3 -0
  136. package/custom/waterFall/src/lib/use/index.d.ts +2 -0
  137. package/custom/waterFall/src/lib/use/useCalculateCols.d.ts +9 -0
  138. package/custom/waterFall/src/lib/use/useLayout.d.ts +7 -0
  139. package/custom/waterFall/src/lib/utils/Lazy.d.ts +35 -0
  140. package/custom/waterFall/src/lib/utils/dom.d.ts +4 -0
  141. package/custom/waterFall/src/lib/utils/itemWidth.d.ts +7 -0
  142. package/custom/waterFall/src/lib/utils/loader.d.ts +5 -0
  143. package/custom/waterFall/src/lib/utils/util.d.ts +53 -0
  144. package/custom/waterFall/src/waterFall.d.ts +28 -0
  145. package/custom/waterFall/src/waterFall.vue.d.ts +90 -0
  146. package/custom/workFlow/index.d.ts +6 -6
  147. package/custom/workFlow/src/nodeAdd.vue.d.ts +2 -23
  148. package/custom/workFlow/src/nodeItem.vue.d.ts +1 -18
  149. package/custom/workFlow/src/nodeRender.vue.d.ts +4 -29
  150. package/custom/workFlow/src/nodeRoot.vue.d.ts +1 -18
  151. package/custom/workFlow/src/workFlow.vue.d.ts +6 -6
  152. package/custom/workPlan/src/workPlan.vue.d.ts +3 -12
  153. package/element-less.cjs +1 -1
  154. package/element-less.iife.js +1 -1
  155. package/element-less.js +14 -12
  156. package/element-less.umd.cjs +1 -1
  157. package/elementui/autocomplete/index.d.ts +18 -18
  158. package/elementui/autocomplete/src/autocomplete.vue.d.ts +18 -18
  159. package/elementui/cascader/index.d.ts +56 -56
  160. package/elementui/cascader/src/cascader.vue.d.ts +56 -56
  161. package/elementui/checkbox/src/checkboxButton.vue.d.ts +26 -26
  162. package/elementui/col/index.d.ts +6 -17
  163. package/elementui/col/src/col.vue.d.ts +4 -4
  164. package/elementui/collapse-transition/index.d.ts +6 -8
  165. package/elementui/collapse-transition/src/collapseTransition.vue.d.ts +4 -4
  166. package/elementui/color-picker/index.d.ts +18 -18
  167. package/elementui/color-picker/src/colorPicker.vue.d.ts +18 -18
  168. package/elementui/date-picker/index.d.ts +21 -21
  169. package/elementui/date-picker/src/datePicker.vue.d.ts +21 -21
  170. package/elementui/date-picker-range/index.d.ts +19 -19
  171. package/elementui/date-picker-range/src/datePickerRange.vue.d.ts +19 -19
  172. package/elementui/dialog/index.d.ts +15 -73
  173. package/elementui/dialog/src/dialog.d.ts +1 -0
  174. package/elementui/dialog/src/dialog.vue.d.ts +8 -6
  175. package/elementui/drawer/src/drawer.vue.d.ts +4 -21
  176. package/elementui/dropdown/src/dropdown.vue.d.ts +6 -6
  177. package/elementui/dropdown/src/dropdownGroup.vue.d.ts +3 -7
  178. package/elementui/form/index.d.ts +12 -55
  179. package/elementui/form/src/form.vue.d.ts +6 -6
  180. package/elementui/form-item/index.d.ts +32 -117
  181. package/elementui/form-item/src/formItem.d.ts +6 -6
  182. package/elementui/form-item/src/formItem.vue.d.ts +19 -19
  183. package/elementui/form-query/index.d.ts +30 -316
  184. package/elementui/form-query/src/formQuery.vue.d.ts +12 -146
  185. package/elementui/image/index.d.ts +16 -75
  186. package/elementui/image/src/image.vue.d.ts +8 -4
  187. package/elementui/image-viewer/index.d.ts +4 -4
  188. package/elementui/image-viewer/src/imageViewer.vue.d.ts +4 -4
  189. package/elementui/input/index.d.ts +23 -23
  190. package/elementui/input/src/input.vue.d.ts +23 -23
  191. package/elementui/input-number/index.d.ts +19 -19
  192. package/elementui/input-number/src/inputNumber.vue.d.ts +19 -19
  193. package/elementui/input-range/index.d.ts +18 -18
  194. package/elementui/input-range/src/inputRange.vue.d.ts +18 -18
  195. package/elementui/menu/index.d.ts +12 -68
  196. package/elementui/menu/src/menu.vue.d.ts +6 -6
  197. package/elementui/menu-item/index.d.ts +10 -33
  198. package/elementui/menu-item/src/menuItem.vue.d.ts +5 -5
  199. package/elementui/menu-sub/index.d.ts +6 -44
  200. package/elementui/menu-sub/src/subMenu.vue.d.ts +4 -4
  201. package/elementui/option/index.d.ts +5 -5
  202. package/elementui/option/src/option.vue.d.ts +5 -5
  203. package/elementui/option-group/index.d.ts +4 -6
  204. package/elementui/option-group/src/optionGroup.vue.d.ts +3 -3
  205. package/elementui/radio/index.d.ts +44 -44
  206. package/elementui/radio/src/radio.vue.d.ts +22 -22
  207. package/elementui/radio/src/radioButton.vue.d.ts +22 -22
  208. package/elementui/row/index.d.ts +6 -17
  209. package/elementui/row/src/row.vue.d.ts +4 -4
  210. package/elementui/segmented/index.d.ts +7 -7
  211. package/elementui/segmented/src/segmented.vue.d.ts +7 -7
  212. package/elementui/select/index.d.ts +22 -22
  213. package/elementui/select/src/select.vue.d.ts +22 -22
  214. package/elementui/slider/index.d.ts +18 -18
  215. package/elementui/slider/src/slider.vue.d.ts +18 -18
  216. package/elementui/switch/index.d.ts +18 -18
  217. package/elementui/switch/src/switch.vue.d.ts +18 -18
  218. package/elementui/table/index.d.ts +98 -291
  219. package/elementui/table/src/table.d.ts +22 -2
  220. package/elementui/table/src/table.vue.d.ts +54 -16
  221. package/elementui/table-column/index.d.ts +609 -2436
  222. package/elementui/table-column/src/tableColumn.d.ts +9 -9
  223. package/elementui/table-column/src/tableColumn.vue.d.ts +26 -26
  224. package/elementui/table-column/src/tableColumnBool.vue.d.ts +26 -26
  225. package/elementui/table-column/src/tableColumnCheckbox.vue.d.ts +26 -26
  226. package/elementui/table-column/src/tableColumnEnum.vue.d.ts +26 -26
  227. package/elementui/table-column/src/tableColumnExpand.vue.d.ts +26 -26
  228. package/elementui/table-column/src/tableColumnHeader.vue.d.ts +26 -26
  229. package/elementui/table-column/src/tableColumnImage.vue.d.ts +26 -26
  230. package/elementui/table-column/src/tableColumnOperate.vue.d.ts +26 -26
  231. package/elementui/table-column/src/tableColumnSelect.vue.d.ts +26 -26
  232. package/elementui/tabs/index.d.ts +16 -70
  233. package/elementui/tabs/src/tabs.d.ts +1 -1
  234. package/elementui/tabs/src/tabs.vue.d.ts +8 -8
  235. package/elementui/textarea/index.d.ts +18 -18
  236. package/elementui/textarea/src/textarea.vue.d.ts +18 -18
  237. package/elementui/time-picker/index.d.ts +19 -19
  238. package/elementui/time-picker/src/timePicker.vue.d.ts +19 -19
  239. package/elementui/time-picker-range/index.d.ts +21 -21
  240. package/elementui/time-picker-range/src/timePickerRange.vue.d.ts +21 -21
  241. package/elementui/tree/index.d.ts +25 -25
  242. package/elementui/tree/src/tree.vue.d.ts +25 -25
  243. package/elementui/tree-select/index.d.ts +25 -25
  244. package/elementui/tree-select/src/treeSelect.vue.d.ts +25 -25
  245. package/elementui/upload/index.d.ts +26 -26
  246. package/elementui/upload/src/upload.vue.d.ts +26 -26
  247. package/hooks/useSelect.d.ts +7 -7
  248. package/hooks/useTree.d.ts +10 -10
  249. package/index-BH-X1Ymv.cjs +1 -0
  250. package/{index-BhifXCWQ.js → index-CZsHaswc.js} +7431 -3225
  251. package/inner-Bu4cGkwA.cjs +1 -0
  252. package/{inner-QfL0Eapx.js → inner-Yjl4tzF3.js} +7 -5
  253. package/{innerItem-CHpo6ZlW.cjs → innerItem-1B5jMFkq.cjs} +1 -1
  254. package/{innerItem-KFrWepBO.js → innerItem-lz5bnpPr.js} +3 -3
  255. package/{mode-csharp-BuCXPrly.cjs → mode-csharp-C8Pc_648.cjs} +1 -1
  256. package/{mode-csharp-B4_0z_Mf.js → mode-csharp-CngsC05w.js} +1 -1
  257. package/{mode-css-CArCIFOm.js → mode-css-BZBYRc5v.js} +1 -1
  258. package/{mode-css-B2OfJAy0.cjs → mode-css-BsL2e1mL.cjs} +1 -1
  259. package/{mode-javascript-CS_SP2zm.cjs → mode-javascript-DBlboL3Z.cjs} +1 -1
  260. package/{mode-javascript-B0-3IPd5.js → mode-javascript-Tn5G0HpZ.js} +1 -1
  261. package/{mode-json-Dw6_BUhq.cjs → mode-json-Dfduh2rm.cjs} +1 -1
  262. package/{mode-json-DXk_gNWP.js → mode-json-WNsJUck2.js} +1 -1
  263. package/{mode-mysql-DYw2Rgut.js → mode-mysql-C0u9_lbZ.js} +1 -1
  264. package/{mode-mysql-CItp53-0.cjs → mode-mysql-DNU6uALN.cjs} +1 -1
  265. package/package.json +1 -1
  266. package/props/formItemProps.d.ts +6 -6
  267. package/style.css +1 -1
  268. package/utils/axiosInstance.d.ts +1 -0
  269. package/utils/index.d.ts +34 -1
  270. package/utils/lessPrototype.d.ts +5 -3
  271. package/custom/aMap/index.d.ts +0 -170
  272. package/custom/button-export/index.d.ts +0 -58
  273. package/custom/button-select/index.d.ts +0 -34
  274. package/custom/cron/index.d.ts +0 -18
  275. package/custom/highlight/index.d.ts +0 -56
  276. package/custom/stampBadge/index.d.ts +0 -110
  277. package/custom/tip/index.d.ts +0 -60
  278. package/custom/workPlan/index.d.ts +0 -18
  279. package/elementui/checkbox/index.d.ts +0 -396
  280. package/elementui/checkbox/src/checkbox.vue.d.ts +0 -2
  281. package/elementui/drawer/index.d.ts +0 -117
  282. package/elementui/dropdown/index.d.ts +0 -363
  283. package/index-DOyd8ip1.cjs +0 -1
  284. package/inner-BjdDxTri.cjs +0 -1
@@ -3,6 +3,7 @@ export declare function getAxiosConfig(): import('axios').CreateAxiosDefaults<an
3
3
  headers: {
4
4
  'Content-Type': string;
5
5
  };
6
+ withCredentials: boolean;
6
7
  };
7
8
  export declare function createAxiosInstance(): AxiosInstance;
8
9
  export declare function getAxiosInstance(): AxiosInstance;
package/utils/index.d.ts CHANGED
@@ -73,12 +73,14 @@ declare const _default: {
73
73
  removeArrayItem(list: any[], item: any): void;
74
74
  orderBy(data: any[], fieldName: string): void;
75
75
  orderByDescending(data: any[], fieldName: string | number): void;
76
+ orderByIds(data: any[], fieldName: string, ids: any[]): any[];
76
77
  isJsonString(str: any): boolean;
77
78
  randomNumber(len?: number): number;
78
79
  md5(val: string): string;
79
80
  getQueryParameters(queryData: {
80
81
  [x: string]: any;
81
82
  }): {};
83
+ downloadFile: (fileUrl: string, filename?: string) => Promise<void>;
82
84
  downLoadTxt(url: string): void;
83
85
  getToolHeight(): number;
84
86
  Guid(): string;
@@ -86,17 +88,48 @@ declare const _default: {
86
88
  shortid(): any;
87
89
  cloneObj(obj: any): any;
88
90
  isObject: (obj: any) => boolean;
91
+ assignObjectOnlyWithValue(target: any, ...sources: any[]): any;
89
92
  isNumber(val: string): boolean;
90
93
  dtGroupBy(data: Array<Record<string, any>>, fieldName: string, sortFieldName?: string): {
91
94
  key: string;
92
95
  value: any;
93
96
  }[];
97
+ dtGroupByFields(data: Array<Record<string, any>>, fieldNames: string | string[], sortFieldName?: string): {
98
+ key: string;
99
+ value: any;
100
+ }[];
101
+ distinct(data: Array<any>): any[];
102
+ /**
103
+ * 将行数据根据某个字段变成列数据
104
+ * @param data 数据
105
+ * @param headField head字段
106
+ * @param rowField 行字段
107
+ * @param excludeFields 排除字段
108
+ * @param isTotal 是否汇总
109
+ * @param totalColumnName 汇总列名称
110
+ * @returns
111
+ */
112
+ mixedColumn(data: Array<Record<string, any>>, headField: string, rowField: string, excludeFields?: string, totalColumnName?: string): any;
113
+ /**
114
+ * 合并汇总列
115
+ * @param data
116
+ * @param fields
117
+ * @param columnName
118
+ */
119
+ mergeTotalColumn(data: Array<Record<string, any>>, fields: string | string[], columnName?: string): void;
94
120
  upload(url: any, formData: FormData): Promise<unknown> | undefined;
95
121
  postWithCancel(url: string, data: object, cancel?: any, axiosInstance?: AxiosInstance): Promise<unknown>;
96
122
  post(url: string, data: object, axiosInstance?: AxiosInstance): Promise<unknown>;
97
123
  getWithCancel(url: string, data?: object, cancel?: any, axiosInstance?: AxiosInstance): Promise<unknown>;
98
124
  get(url: string, data?: object, axiosInstance?: AxiosInstance): Promise<unknown>;
99
- fetchStream(url: any, processFunc: any, data?: object, options?: {}): Promise<void>;
125
+ fetchStream(url: string, processFunc: (chunk: string, isDone: boolean) => void, data?: object, options?: RequestInit): {
126
+ abort: () => void;
127
+ promise: Promise<void>;
128
+ };
129
+ fetchSSE(url: string, processFunc: (message: string, isDone: boolean) => void, data?: Record<string, string>, options?: RequestInit): {
130
+ abort: () => void;
131
+ promise: Promise<void>;
132
+ };
100
133
  removeUndefinedOrWhiteSpaceProps(obj: any): {};
101
134
  clip(text: any): void;
102
135
  getClipboardContent: () => Promise<string | undefined>;
@@ -14,10 +14,11 @@ declare global {
14
14
  get(postdata?: object, axiosInstance?: AxiosInstance): Promise<any>;
15
15
  postWithCancel(postdata: object, cancel?: any, axiosInstance?: AxiosInstance): Promise<any>;
16
16
  getWithCancel(postdata?: object, cancel?: any, axiosInstance?: AxiosInstance): Promise<any>;
17
- fetchStream(processFunc: any, options: any): any;
17
+ fetchStream(processFunc: any, data: any, options: any): any;
18
+ fetchSSE(processFunc: any, data: any, options: any): any;
18
19
  upload(formdata: FormData): Promise<any>;
19
- toList(valueSeparator: string): string[];
20
- toListNumber(valueSeparator: string): number[];
20
+ toList(valueSeparator?: string): string[];
21
+ toListNumber(valueSeparator?: string): number[];
21
22
  appendPx(): string;
22
23
  toCamel(): string;
23
24
  toKebabCase(): string;
@@ -29,5 +30,6 @@ declare global {
29
30
  md5(): string;
30
31
  formatDate(format: string): string;
31
32
  getUrlParms(paramName: string): any;
33
+ downloadFile(filename?: string): any;
32
34
  }
33
35
  }
@@ -1,170 +0,0 @@
1
- export declare const ElsAMap: import('element-plus/es/utils/index').SFCWithInstall<{
2
- new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
3
- version: {
4
- type: import('vue').PropType<string>;
5
- default: string;
6
- };
7
- width: {
8
- type: import('vue').PropType<string>;
9
- default: string;
10
- };
11
- height: {
12
- type: import('vue').PropType<string>;
13
- default: string;
14
- };
15
- buttonProps: {
16
- type: import('vue').PropType<Record<string, any>>;
17
- default: {};
18
- };
19
- appKey: {
20
- type: import('vue').PropType<string>;
21
- required: true;
22
- };
23
- appSecret: {
24
- type: import('vue').PropType<string>;
25
- required: true;
26
- };
27
- plugins: {
28
- type: import('vue').PropType<string[]>;
29
- default: string[];
30
- };
31
- }>> & {
32
- "onUpdate:x"?: ((...args: any[]) => any) | undefined;
33
- "onUpdate:y"?: ((...args: any[]) => any) | undefined;
34
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
35
- "update:x": (...args: any[]) => void;
36
- "update:y": (...args: any[]) => void;
37
- }, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
38
- version: {
39
- type: import('vue').PropType<string>;
40
- default: string;
41
- };
42
- width: {
43
- type: import('vue').PropType<string>;
44
- default: string;
45
- };
46
- height: {
47
- type: import('vue').PropType<string>;
48
- default: string;
49
- };
50
- buttonProps: {
51
- type: import('vue').PropType<Record<string, any>>;
52
- default: {};
53
- };
54
- appKey: {
55
- type: import('vue').PropType<string>;
56
- required: true;
57
- };
58
- appSecret: {
59
- type: import('vue').PropType<string>;
60
- required: true;
61
- };
62
- plugins: {
63
- type: import('vue').PropType<string[]>;
64
- default: string[];
65
- };
66
- }>> & {
67
- "onUpdate:x"?: ((...args: any[]) => any) | undefined;
68
- "onUpdate:y"?: ((...args: any[]) => any) | undefined;
69
- }, {
70
- version: string;
71
- width: string;
72
- height: string;
73
- buttonProps: Record<string, any>;
74
- plugins: string[];
75
- }, true, {}, {}, {
76
- P: {};
77
- B: {};
78
- D: {};
79
- C: {};
80
- M: {};
81
- Defaults: {};
82
- }, Readonly<import('vue').ExtractPropTypes<{
83
- version: {
84
- type: import('vue').PropType<string>;
85
- default: string;
86
- };
87
- width: {
88
- type: import('vue').PropType<string>;
89
- default: string;
90
- };
91
- height: {
92
- type: import('vue').PropType<string>;
93
- default: string;
94
- };
95
- buttonProps: {
96
- type: import('vue').PropType<Record<string, any>>;
97
- default: {};
98
- };
99
- appKey: {
100
- type: import('vue').PropType<string>;
101
- required: true;
102
- };
103
- appSecret: {
104
- type: import('vue').PropType<string>;
105
- required: true;
106
- };
107
- plugins: {
108
- type: import('vue').PropType<string[]>;
109
- default: string[];
110
- };
111
- }>> & {
112
- "onUpdate:x"?: ((...args: any[]) => any) | undefined;
113
- "onUpdate:y"?: ((...args: any[]) => any) | undefined;
114
- }, {}, {}, {}, {}, {
115
- version: string;
116
- width: string;
117
- height: string;
118
- buttonProps: Record<string, any>;
119
- plugins: string[];
120
- }>;
121
- __isFragment?: never;
122
- __isTeleport?: never;
123
- __isSuspense?: never;
124
- } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
125
- version: {
126
- type: import('vue').PropType<string>;
127
- default: string;
128
- };
129
- width: {
130
- type: import('vue').PropType<string>;
131
- default: string;
132
- };
133
- height: {
134
- type: import('vue').PropType<string>;
135
- default: string;
136
- };
137
- buttonProps: {
138
- type: import('vue').PropType<Record<string, any>>;
139
- default: {};
140
- };
141
- appKey: {
142
- type: import('vue').PropType<string>;
143
- required: true;
144
- };
145
- appSecret: {
146
- type: import('vue').PropType<string>;
147
- required: true;
148
- };
149
- plugins: {
150
- type: import('vue').PropType<string[]>;
151
- default: string[];
152
- };
153
- }>> & {
154
- "onUpdate:x"?: ((...args: any[]) => any) | undefined;
155
- "onUpdate:y"?: ((...args: any[]) => any) | undefined;
156
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
157
- "update:x": (...args: any[]) => void;
158
- "update:y": (...args: any[]) => void;
159
- }, string, {
160
- version: string;
161
- width: string;
162
- height: string;
163
- buttonProps: Record<string, any>;
164
- plugins: string[];
165
- }, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
166
- $slots: {
167
- default?(_: {}): any;
168
- };
169
- })> & Record<string, any>;
170
- export default ElsAMap;
@@ -1,58 +0,0 @@
1
- export declare const ElsButtonExport: import('element-plus/es/utils/index').SFCWithInstall<{
2
- new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
3
- tableRef: {
4
- type: import('vue').PropType<string>;
5
- };
6
- url: {
7
- type: import('vue').PropType<string>;
8
- };
9
- }>> & {
10
- onClick?: ((...args: any[]) => any) | undefined;
11
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
- click: (...args: any[]) => void;
13
- }, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
14
- tableRef: {
15
- type: import('vue').PropType<string>;
16
- };
17
- url: {
18
- type: import('vue').PropType<string>;
19
- };
20
- }>> & {
21
- onClick?: ((...args: any[]) => any) | undefined;
22
- }, {}, true, {}, {}, {
23
- P: {};
24
- B: {};
25
- D: {};
26
- C: {};
27
- M: {};
28
- Defaults: {};
29
- }, Readonly<import('vue').ExtractPropTypes<{
30
- tableRef: {
31
- type: import('vue').PropType<string>;
32
- };
33
- url: {
34
- type: import('vue').PropType<string>;
35
- };
36
- }>> & {
37
- onClick?: ((...args: any[]) => any) | undefined;
38
- }, {}, {}, {}, {}, {}>;
39
- __isFragment?: never;
40
- __isTeleport?: never;
41
- __isSuspense?: never;
42
- } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
43
- tableRef: {
44
- type: import('vue').PropType<string>;
45
- };
46
- url: {
47
- type: import('vue').PropType<string>;
48
- };
49
- }>> & {
50
- onClick?: ((...args: any[]) => any) | undefined;
51
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
52
- click: (...args: any[]) => void;
53
- }, string, {}, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
54
- $slots: {
55
- default?(_: {}): any;
56
- };
57
- })> & Record<string, any>;
58
- export default ElsButtonExport;
@@ -1,34 +0,0 @@
1
- export declare const ElsButtonSelect: import('element-plus/es/utils/index').SFCWithInstall<{
2
- new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
3
- checkRows: {
4
- type: import('vue').PropType<any>;
5
- };
6
- }>>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
7
- checkRows: {
8
- type: import('vue').PropType<any>;
9
- };
10
- }>>, {}, true, {}, {}, {
11
- P: {};
12
- B: {};
13
- D: {};
14
- C: {};
15
- M: {};
16
- Defaults: {};
17
- }, Readonly<import('vue').ExtractPropTypes<{
18
- checkRows: {
19
- type: import('vue').PropType<any>;
20
- };
21
- }>>, {}, {}, {}, {}, {}>;
22
- __isFragment?: never;
23
- __isTeleport?: never;
24
- __isSuspense?: never;
25
- } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
26
- checkRows: {
27
- type: import('vue').PropType<any>;
28
- };
29
- }>>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
30
- $slots: {
31
- default?(_: {}): any;
32
- };
33
- })> & Record<string, any>;
34
- export default ElsButtonSelect;
@@ -1,18 +0,0 @@
1
- export declare const ElsCron: import('element-plus/es/utils/index').SFCWithInstall<import('vue').DefineComponent<{
2
- modelValue: {
3
- type: import('vue').PropType<any>;
4
- };
5
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
- "update:modelValue": (...args: any[]) => void;
7
- "update:data": (...args: any[]) => void;
8
- "update:descript": (...args: any[]) => void;
9
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
10
- modelValue: {
11
- type: import('vue').PropType<any>;
12
- };
13
- }>> & {
14
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
15
- "onUpdate:data"?: ((...args: any[]) => any) | undefined;
16
- "onUpdate:descript"?: ((...args: any[]) => any) | undefined;
17
- }, {}, {}>> & Record<string, any>;
18
- export default ElsCron;
@@ -1,56 +0,0 @@
1
- export declare const ElsHighlight: import('element-plus/es/utils/index').SFCWithInstall<{
2
- new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
3
- language: {
4
- type: import('vue').PropType<string>;
5
- default: string;
6
- };
7
- lineNumber: {
8
- type: import('vue').PropType<boolean>;
9
- };
10
- }>>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
11
- language: {
12
- type: import('vue').PropType<string>;
13
- default: string;
14
- };
15
- lineNumber: {
16
- type: import('vue').PropType<boolean>;
17
- };
18
- }>>, {
19
- language: string;
20
- }, true, {}, {}, {
21
- P: {};
22
- B: {};
23
- D: {};
24
- C: {};
25
- M: {};
26
- Defaults: {};
27
- }, Readonly<import('vue').ExtractPropTypes<{
28
- language: {
29
- type: import('vue').PropType<string>;
30
- default: string;
31
- };
32
- lineNumber: {
33
- type: import('vue').PropType<boolean>;
34
- };
35
- }>>, {}, {}, {}, {}, {
36
- language: string;
37
- }>;
38
- __isFragment?: never;
39
- __isTeleport?: never;
40
- __isSuspense?: never;
41
- } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
42
- language: {
43
- type: import('vue').PropType<string>;
44
- default: string;
45
- };
46
- lineNumber: {
47
- type: import('vue').PropType<boolean>;
48
- };
49
- }>>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
50
- language: string;
51
- }, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
52
- $slots: {
53
- default?(_: {}): any;
54
- };
55
- })> & Record<string, any>;
56
- export default ElsHighlight;
@@ -1,110 +0,0 @@
1
- export declare const ElsStampBadge: import('element-plus/es/utils/index').SFCWithInstall<{
2
- new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
3
- type: {
4
- type: import('vue').PropType<string>;
5
- required: true;
6
- default: string;
7
- };
8
- size: {
9
- type: import('vue').PropType<string>;
10
- required: true;
11
- default: string;
12
- };
13
- content: {
14
- type: import('vue').PropType<string>;
15
- default: string;
16
- };
17
- rotate: {
18
- type: import('vue').PropType<number>;
19
- default: number;
20
- };
21
- }>>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
22
- type: {
23
- type: import('vue').PropType<string>;
24
- required: true;
25
- default: string;
26
- };
27
- size: {
28
- type: import('vue').PropType<string>;
29
- required: true;
30
- default: string;
31
- };
32
- content: {
33
- type: import('vue').PropType<string>;
34
- default: string;
35
- };
36
- rotate: {
37
- type: import('vue').PropType<number>;
38
- default: number;
39
- };
40
- }>>, {
41
- type: string;
42
- size: string;
43
- content: string;
44
- rotate: number;
45
- }, true, {}, {}, {
46
- P: {};
47
- B: {};
48
- D: {};
49
- C: {};
50
- M: {};
51
- Defaults: {};
52
- }, Readonly<import('vue').ExtractPropTypes<{
53
- type: {
54
- type: import('vue').PropType<string>;
55
- required: true;
56
- default: string;
57
- };
58
- size: {
59
- type: import('vue').PropType<string>;
60
- required: true;
61
- default: string;
62
- };
63
- content: {
64
- type: import('vue').PropType<string>;
65
- default: string;
66
- };
67
- rotate: {
68
- type: import('vue').PropType<number>;
69
- default: number;
70
- };
71
- }>>, {}, {}, {}, {}, {
72
- type: string;
73
- size: string;
74
- content: string;
75
- rotate: number;
76
- }>;
77
- __isFragment?: never;
78
- __isTeleport?: never;
79
- __isSuspense?: never;
80
- } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
81
- type: {
82
- type: import('vue').PropType<string>;
83
- required: true;
84
- default: string;
85
- };
86
- size: {
87
- type: import('vue').PropType<string>;
88
- required: true;
89
- default: string;
90
- };
91
- content: {
92
- type: import('vue').PropType<string>;
93
- default: string;
94
- };
95
- rotate: {
96
- type: import('vue').PropType<number>;
97
- default: number;
98
- };
99
- }>>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
100
- type: string;
101
- size: string;
102
- content: string;
103
- rotate: number;
104
- }, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
105
- $slots: {
106
- default?(_: {}): any;
107
- };
108
- })> & Record<string, any>;
109
- export default ElsStampBadge;
110
- export * from './src/stampBadge';
@@ -1,60 +0,0 @@
1
- export declare const ElsTip: import('element-plus/es/utils/index').SFCWithInstall<{
2
- new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
3
- title: {
4
- type: import('vue').PropType<string>;
5
- };
6
- type: {
7
- type: import('vue').PropType<string>;
8
- };
9
- content: {
10
- type: import('vue').PropType<string>;
11
- };
12
- }>>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
13
- title: {
14
- type: import('vue').PropType<string>;
15
- };
16
- type: {
17
- type: import('vue').PropType<string>;
18
- };
19
- content: {
20
- type: import('vue').PropType<string>;
21
- };
22
- }>>, {}, true, {}, {}, {
23
- P: {};
24
- B: {};
25
- D: {};
26
- C: {};
27
- M: {};
28
- Defaults: {};
29
- }, Readonly<import('vue').ExtractPropTypes<{
30
- title: {
31
- type: import('vue').PropType<string>;
32
- };
33
- type: {
34
- type: import('vue').PropType<string>;
35
- };
36
- content: {
37
- type: import('vue').PropType<string>;
38
- };
39
- }>>, {}, {}, {}, {}, {}>;
40
- __isFragment?: never;
41
- __isTeleport?: never;
42
- __isSuspense?: never;
43
- } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
44
- title: {
45
- type: import('vue').PropType<string>;
46
- };
47
- type: {
48
- type: import('vue').PropType<string>;
49
- };
50
- content: {
51
- type: import('vue').PropType<string>;
52
- };
53
- }>>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
54
- $slots: {
55
- title?(_: {}): any;
56
- default?(_: {}): any;
57
- };
58
- })> & Record<string, any>;
59
- export default ElsTip;
60
- export * from './src/tip';
@@ -1,18 +0,0 @@
1
- export declare const ElsWorkPlan: import('element-plus/es/utils/index').SFCWithInstall<import('vue').DefineComponent<{
2
- modelValue: {
3
- type: import('vue').PropType<any>;
4
- };
5
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
- "update:modelValue": (...args: any[]) => void;
7
- "update:data": (...args: any[]) => void;
8
- "update:descript": (...args: any[]) => void;
9
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
10
- modelValue: {
11
- type: import('vue').PropType<any>;
12
- };
13
- }>> & {
14
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
15
- "onUpdate:data"?: ((...args: any[]) => any) | undefined;
16
- "onUpdate:descript"?: ((...args: any[]) => any) | undefined;
17
- }, {}, {}>> & Record<string, any>;
18
- export default ElsWorkPlan;