yuang-framework-ui-pc 1.0.19 → 1.2.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 (398) hide show
  1. package/README.md +17 -41
  2. package/es/ele-admin-layout/components/layout-skeleton.d.ts +10 -0
  3. package/es/ele-admin-layout/components/layout-skeleton.js +47 -0
  4. package/es/ele-admin-layout/components/layout-tabs.d.ts +64 -0
  5. package/es/ele-admin-layout/components/layout-tabs.js +132 -0
  6. package/es/ele-admin-layout/components/layout-tool.d.ts +2 -0
  7. package/es/ele-admin-layout/components/layout-tool.js +21 -0
  8. package/es/ele-admin-layout/index.d.ts +293 -0
  9. package/es/ele-admin-layout/index.js +693 -0
  10. package/es/ele-admin-layout/props.d.ts +182 -0
  11. package/es/ele-admin-layout/props.js +169 -0
  12. package/es/ele-admin-layout/style/css-var.scss +14 -0
  13. package/es/ele-admin-layout/style/header.scss +192 -0
  14. package/es/ele-admin-layout/style/index.d.ts +1 -0
  15. package/es/ele-admin-layout/style/index.js +9 -0
  16. package/es/ele-admin-layout/style/index.scss +313 -0
  17. package/es/ele-admin-layout/style/sidebar.scss +187 -0
  18. package/es/ele-admin-layout/style/tabs.scss +59 -0
  19. package/es/ele-admin-layout/types.d.ts +54 -0
  20. package/es/ele-app/components/message-body.d.ts +46 -0
  21. package/es/ele-app/components/message-body.js +98 -0
  22. package/es/ele-app/components/message-box-icon.d.ts +31 -0
  23. package/es/ele-app/components/message-box-icon.js +63 -0
  24. package/es/ele-app/el.d.ts +304 -0
  25. package/es/ele-app/index.d.ts +4 -0
  26. package/es/ele-app/index.js +13 -0
  27. package/es/ele-app/plus.d.ts +181 -0
  28. package/es/ele-app/style/common/index.d.ts +1 -0
  29. package/es/ele-app/style/common/index.js +1 -0
  30. package/es/ele-app/style/common/index.scss +55 -0
  31. package/es/ele-app/style/css-var.scss +11 -0
  32. package/es/ele-app/style/index.d.ts +1 -0
  33. package/es/ele-app/style/index.js +4 -0
  34. package/es/ele-app/style/index.scss +4 -0
  35. package/es/ele-app/style/message/css-var.scss +8 -0
  36. package/es/ele-app/style/message/index.d.ts +1 -0
  37. package/es/ele-app/style/message/index.js +2 -0
  38. package/es/ele-app/style/message/index.scss +261 -0
  39. package/es/ele-app/style/overwrite/autocomplete/css-var.scss +8 -0
  40. package/es/ele-app/style/overwrite/autocomplete/index.d.ts +1 -0
  41. package/es/ele-app/style/overwrite/autocomplete/index.js +1 -0
  42. package/es/ele-app/style/overwrite/autocomplete/index.scss +33 -0
  43. package/es/ele-app/style/overwrite/backtop/index.d.ts +1 -0
  44. package/es/ele-app/style/overwrite/backtop/index.js +1 -0
  45. package/es/ele-app/style/overwrite/backtop/index.scss +8 -0
  46. package/es/ele-app/style/overwrite/cascader/css-var.scss +8 -0
  47. package/es/ele-app/style/overwrite/cascader/index.d.ts +1 -0
  48. package/es/ele-app/style/overwrite/cascader/index.js +1 -0
  49. package/es/ele-app/style/overwrite/cascader/index.scss +166 -0
  50. package/es/ele-app/style/overwrite/checkbox/css-var.scss +8 -0
  51. package/es/ele-app/style/overwrite/checkbox/index.d.ts +1 -0
  52. package/es/ele-app/style/overwrite/checkbox/index.js +1 -0
  53. package/es/ele-app/style/overwrite/checkbox/index.scss +161 -0
  54. package/es/ele-app/style/overwrite/color-picker/index.d.ts +1 -0
  55. package/es/ele-app/style/overwrite/color-picker/index.js +1 -0
  56. package/es/ele-app/style/overwrite/color-picker/index.scss +42 -0
  57. package/es/ele-app/style/overwrite/css-var.scss +33 -0
  58. package/es/ele-app/style/overwrite/date-picker/css-var.scss +16 -0
  59. package/es/ele-app/style/overwrite/date-picker/index.d.ts +1 -0
  60. package/es/ele-app/style/overwrite/date-picker/index.js +1 -0
  61. package/es/ele-app/style/overwrite/date-picker/index.scss +895 -0
  62. package/es/ele-app/style/overwrite/descriptions/css-var.scss +8 -0
  63. package/es/ele-app/style/overwrite/descriptions/index.d.ts +1 -0
  64. package/es/ele-app/style/overwrite/descriptions/index.js +1 -0
  65. package/es/ele-app/style/overwrite/descriptions/index.scss +52 -0
  66. package/es/ele-app/style/overwrite/index.d.ts +1 -0
  67. package/es/ele-app/style/overwrite/index.js +16 -0
  68. package/es/ele-app/style/overwrite/index.scss +16 -0
  69. package/es/ele-app/style/overwrite/input/css-var.scss +34 -0
  70. package/es/ele-app/style/overwrite/input/index.d.ts +1 -0
  71. package/es/ele-app/style/overwrite/input/index.js +1 -0
  72. package/es/ele-app/style/overwrite/input/index.scss +540 -0
  73. package/es/ele-app/style/overwrite/message-box/css-var.scss +8 -0
  74. package/es/ele-app/style/overwrite/message-box/index.d.ts +1 -0
  75. package/es/ele-app/style/overwrite/message-box/index.js +2 -0
  76. package/es/ele-app/style/overwrite/message-box/index.scss +148 -0
  77. package/es/ele-app/style/overwrite/notification/css-var.scss +8 -0
  78. package/es/ele-app/style/overwrite/notification/index.d.ts +1 -0
  79. package/es/ele-app/style/overwrite/notification/index.js +2 -0
  80. package/es/ele-app/style/overwrite/notification/index.scss +65 -0
  81. package/es/ele-app/style/overwrite/popper/css-var.scss +14 -0
  82. package/es/ele-app/style/overwrite/popper/index.d.ts +1 -0
  83. package/es/ele-app/style/overwrite/popper/index.js +1 -0
  84. package/es/ele-app/style/overwrite/popper/index.scss +9 -0
  85. package/es/ele-app/style/overwrite/radio/css-var.scss +8 -0
  86. package/es/ele-app/style/overwrite/radio/index.d.ts +1 -0
  87. package/es/ele-app/style/overwrite/radio/index.js +1 -0
  88. package/es/ele-app/style/overwrite/radio/index.scss +128 -0
  89. package/es/ele-app/style/overwrite/select/css-var.scss +8 -0
  90. package/es/ele-app/style/overwrite/select/index.d.ts +1 -0
  91. package/es/ele-app/style/overwrite/select/index.js +1 -0
  92. package/es/ele-app/style/overwrite/select/index.scss +203 -0
  93. package/es/ele-app/style/overwrite/tag/css-var.scss +8 -0
  94. package/es/ele-app/style/overwrite/tag/index.d.ts +1 -0
  95. package/es/ele-app/style/overwrite/tag/index.js +1 -0
  96. package/es/ele-app/style/overwrite/tag/index.scss +346 -0
  97. package/es/ele-app/style/overwrite/tree/css-var.scss +8 -0
  98. package/es/ele-app/style/overwrite/tree/index.d.ts +1 -0
  99. package/es/ele-app/style/overwrite/tree/index.js +1 -0
  100. package/es/ele-app/style/overwrite/tree/index.scss +106 -0
  101. package/es/ele-app/style/overwrite/tree-select/css-var.scss +8 -0
  102. package/es/ele-app/style/overwrite/tree-select/index.d.ts +1 -0
  103. package/es/ele-app/style/overwrite/tree-select/index.js +1 -0
  104. package/es/ele-app/style/overwrite/tree-select/index.scss +108 -0
  105. package/es/ele-app/style/scrollbar/css-var.scss +71 -0
  106. package/es/ele-app/style/scrollbar/index.d.ts +1 -0
  107. package/es/ele-app/style/scrollbar/index.js +1 -0
  108. package/es/ele-app/style/scrollbar/index.scss +9 -0
  109. package/es/ele-app/types.d.ts +48 -0
  110. package/es/ele-pro-layout/components/pro-iframe.vue +120 -0
  111. package/es/ele-pro-layout/index.vue +1277 -0
  112. package/es/ele-pro-layout/props.ts +255 -0
  113. package/es/ele-pro-layout/style/index.scss +41 -0
  114. package/es/ele-pro-layout/style/index.ts +2 -0
  115. package/es/ele-pro-layout/types.ts +212 -0
  116. package/es/ele-pro-layout/util.ts +277 -0
  117. package/es/ele-tabs/index.d.ts +149 -0
  118. package/es/ele-tabs/index.js +480 -0
  119. package/es/ele-tabs/props.d.ts +82 -0
  120. package/es/ele-tabs/props.js +46 -0
  121. package/es/ele-tabs/style/css-var.scss +8 -0
  122. package/es/ele-tabs/style/index.d.ts +1 -0
  123. package/es/ele-tabs/style/index.js +5 -0
  124. package/es/ele-tabs/style/index.scss +1074 -0
  125. package/es/ele-tabs/types.d.ts +70 -0
  126. package/es/icons/AnalysisOutlined.d.ts +2 -0
  127. package/es/icons/AnalysisOutlined.js +35 -0
  128. package/es/icons/ApplicationOutlined.d.ts +2 -0
  129. package/es/icons/ApplicationOutlined.js +26 -0
  130. package/es/icons/AppstoreAddOutlined.d.ts +2 -0
  131. package/es/icons/AppstoreAddOutlined.js +35 -0
  132. package/es/icons/AppstoreOutlined.d.ts +2 -0
  133. package/es/icons/AppstoreOutlined.js +35 -0
  134. package/es/icons/ArrowDown.d.ts +2 -0
  135. package/es/icons/ArrowDown.js +31 -0
  136. package/es/icons/ArrowDownOutlined.d.ts +2 -0
  137. package/es/icons/ArrowDownOutlined.js +30 -0
  138. package/es/icons/ArrowLeft.d.ts +2 -0
  139. package/es/icons/ArrowLeft.js +31 -0
  140. package/es/icons/ArrowLeftOutlined.d.ts +2 -0
  141. package/es/icons/ArrowLeftOutlined.js +30 -0
  142. package/es/icons/ArrowRight.d.ts +2 -0
  143. package/es/icons/ArrowRight.js +31 -0
  144. package/es/icons/ArrowRightOutlined.d.ts +2 -0
  145. package/es/icons/ArrowRightOutlined.js +30 -0
  146. package/es/icons/ArrowUp.d.ts +2 -0
  147. package/es/icons/ArrowUp.js +31 -0
  148. package/es/icons/ArrowUpOutlined.d.ts +2 -0
  149. package/es/icons/ArrowUpOutlined.js +30 -0
  150. package/es/icons/BellOutlined.d.ts +2 -0
  151. package/es/icons/BellOutlined.js +29 -0
  152. package/es/icons/BookOutlined.d.ts +2 -0
  153. package/es/icons/BookOutlined.js +29 -0
  154. package/es/icons/CalendarOutlined.d.ts +2 -0
  155. package/es/icons/CalendarOutlined.js +29 -0
  156. package/es/icons/CaretDownFilled.d.ts +2 -0
  157. package/es/icons/CaretDownFilled.js +26 -0
  158. package/es/icons/CaretUpFilled.d.ts +2 -0
  159. package/es/icons/CaretUpFilled.js +26 -0
  160. package/es/icons/CheckCircleFilled.d.ts +2 -0
  161. package/es/icons/CheckCircleFilled.js +26 -0
  162. package/es/icons/CheckCircleOutlined.d.ts +2 -0
  163. package/es/icons/CheckCircleOutlined.js +32 -0
  164. package/es/icons/CheckOutlined.d.ts +2 -0
  165. package/es/icons/CheckOutlined.js +30 -0
  166. package/es/icons/CityOutlined.d.ts +2 -0
  167. package/es/icons/CityOutlined.js +35 -0
  168. package/es/icons/ClockCircleOutlined.d.ts +2 -0
  169. package/es/icons/ClockCircleOutlined.js +32 -0
  170. package/es/icons/CloseCircleFilled.d.ts +2 -0
  171. package/es/icons/CloseCircleFilled.js +26 -0
  172. package/es/icons/CloseCircleOutlined.d.ts +2 -0
  173. package/es/icons/CloseCircleOutlined.js +31 -0
  174. package/es/icons/CloseOutlined.d.ts +2 -0
  175. package/es/icons/CloseOutlined.js +30 -0
  176. package/es/icons/CloudUploadOutlined.d.ts +2 -0
  177. package/es/icons/CloudUploadOutlined.js +32 -0
  178. package/es/icons/ClusterOutlined.d.ts +2 -0
  179. package/es/icons/ClusterOutlined.js +29 -0
  180. package/es/icons/CodeOutlined.d.ts +2 -0
  181. package/es/icons/CodeOutlined.js +34 -0
  182. package/es/icons/ColumnHeightOutlined.d.ts +2 -0
  183. package/es/icons/ColumnHeightOutlined.js +35 -0
  184. package/es/icons/CompassOutlined.d.ts +2 -0
  185. package/es/icons/CompassOutlined.js +34 -0
  186. package/es/icons/CompressOutlined.d.ts +2 -0
  187. package/es/icons/CompressOutlined.js +36 -0
  188. package/es/icons/ConnectionOutlined.d.ts +2 -0
  189. package/es/icons/ConnectionOutlined.js +31 -0
  190. package/es/icons/ControlOutlined.d.ts +2 -0
  191. package/es/icons/ControlOutlined.js +33 -0
  192. package/es/icons/CopyOutlined.d.ts +2 -0
  193. package/es/icons/CopyOutlined.js +35 -0
  194. package/es/icons/CornerLeftFilled.d.ts +2 -0
  195. package/es/icons/CornerLeftFilled.js +26 -0
  196. package/es/icons/CornerRightFilled.d.ts +2 -0
  197. package/es/icons/CornerRightFilled.js +26 -0
  198. package/es/icons/CpuOutlined.d.ts +2 -0
  199. package/es/icons/CpuOutlined.js +30 -0
  200. package/es/icons/DashboardOutlined.d.ts +2 -0
  201. package/es/icons/DashboardOutlined.js +37 -0
  202. package/es/icons/DatabaseOutlined.d.ts +2 -0
  203. package/es/icons/DatabaseOutlined.js +35 -0
  204. package/es/icons/DeleteOutlined.d.ts +2 -0
  205. package/es/icons/DeleteOutlined.js +34 -0
  206. package/es/icons/DesktopOutlined.d.ts +2 -0
  207. package/es/icons/DesktopOutlined.js +29 -0
  208. package/es/icons/DownloadOutlined.d.ts +2 -0
  209. package/es/icons/DownloadOutlined.js +32 -0
  210. package/es/icons/DragOutlined.d.ts +2 -0
  211. package/es/icons/DragOutlined.js +30 -0
  212. package/es/icons/EditOutlined.d.ts +2 -0
  213. package/es/icons/EditOutlined.js +32 -0
  214. package/es/icons/EllipsisOutlined.d.ts +2 -0
  215. package/es/icons/EllipsisOutlined.js +42 -0
  216. package/es/icons/EnvironmentOutlined.d.ts +2 -0
  217. package/es/icons/EnvironmentOutlined.js +31 -0
  218. package/es/icons/ExclamationCircleFilled.d.ts +2 -0
  219. package/es/icons/ExclamationCircleFilled.js +26 -0
  220. package/es/icons/ExpandOutlined.d.ts +2 -0
  221. package/es/icons/ExpandOutlined.js +36 -0
  222. package/es/icons/EyeOutlined.d.ts +2 -0
  223. package/es/icons/EyeOutlined.js +30 -0
  224. package/es/icons/FileOutlined.d.ts +2 -0
  225. package/es/icons/FileOutlined.js +35 -0
  226. package/es/icons/FilterFilled.d.ts +2 -0
  227. package/es/icons/FilterFilled.js +26 -0
  228. package/es/icons/FolderAddOutlined.d.ts +2 -0
  229. package/es/icons/FolderAddOutlined.js +31 -0
  230. package/es/icons/FolderOutlined.d.ts +2 -0
  231. package/es/icons/FolderOutlined.js +29 -0
  232. package/es/icons/FormOutlined.d.ts +2 -0
  233. package/es/icons/FormOutlined.js +31 -0
  234. package/es/icons/FullscreenExitOutlined.d.ts +2 -0
  235. package/es/icons/FullscreenExitOutlined.js +34 -0
  236. package/es/icons/FullscreenOutlined.d.ts +2 -0
  237. package/es/icons/FullscreenOutlined.js +34 -0
  238. package/es/icons/FundOutlined.d.ts +2 -0
  239. package/es/icons/FundOutlined.js +31 -0
  240. package/es/icons/GlobalOutlined.d.ts +2 -0
  241. package/es/icons/GlobalOutlined.js +28 -0
  242. package/es/icons/HolderOutlined.d.ts +2 -0
  243. package/es/icons/HolderOutlined.js +26 -0
  244. package/es/icons/HomeOutlined.d.ts +2 -0
  245. package/es/icons/HomeOutlined.js +29 -0
  246. package/es/icons/IdcardOutlined.d.ts +2 -0
  247. package/es/icons/IdcardOutlined.js +38 -0
  248. package/es/icons/InfoCircleFilled.d.ts +2 -0
  249. package/es/icons/InfoCircleFilled.js +26 -0
  250. package/es/icons/LinkOutlined.d.ts +2 -0
  251. package/es/icons/LinkOutlined.js +32 -0
  252. package/es/icons/LoadingDotOutlined.d.ts +2 -0
  253. package/es/icons/LoadingDotOutlined.js +29 -0
  254. package/es/icons/LoadingOutlined.d.ts +2 -0
  255. package/es/icons/LoadingOutlined.js +29 -0
  256. package/es/icons/LockOutlined.d.ts +2 -0
  257. package/es/icons/LockOutlined.js +32 -0
  258. package/es/icons/LogOutlined.d.ts +2 -0
  259. package/es/icons/LogOutlined.js +35 -0
  260. package/es/icons/LogoutOutlined.d.ts +2 -0
  261. package/es/icons/LogoutOutlined.js +31 -0
  262. package/es/icons/MailOutlined.d.ts +2 -0
  263. package/es/icons/MailOutlined.js +29 -0
  264. package/es/icons/MenuFoldOutlined.d.ts +2 -0
  265. package/es/icons/MenuFoldOutlined.js +28 -0
  266. package/es/icons/MenuOutlined.d.ts +2 -0
  267. package/es/icons/MenuOutlined.js +32 -0
  268. package/es/icons/MenuUnfoldOutlined.d.ts +2 -0
  269. package/es/icons/MenuUnfoldOutlined.js +28 -0
  270. package/es/icons/MessageOutlined.d.ts +2 -0
  271. package/es/icons/MessageOutlined.js +50 -0
  272. package/es/icons/MinusCircleOutlined.d.ts +2 -0
  273. package/es/icons/MinusCircleOutlined.js +31 -0
  274. package/es/icons/MobileOutlined.d.ts +2 -0
  275. package/es/icons/MobileOutlined.js +37 -0
  276. package/es/icons/MoonOutlined.d.ts +2 -0
  277. package/es/icons/MoonOutlined.js +29 -0
  278. package/es/icons/MoreOutlined.d.ts +2 -0
  279. package/es/icons/MoreOutlined.js +42 -0
  280. package/es/icons/PauseFilled.d.ts +2 -0
  281. package/es/icons/PauseFilled.js +30 -0
  282. package/es/icons/PieChartOutlined.d.ts +2 -0
  283. package/es/icons/PieChartOutlined.js +31 -0
  284. package/es/icons/PlayFilled.d.ts +2 -0
  285. package/es/icons/PlayFilled.js +26 -0
  286. package/es/icons/PlusCircleOutlined.d.ts +2 -0
  287. package/es/icons/PlusCircleOutlined.js +31 -0
  288. package/es/icons/PlusOutlined.d.ts +2 -0
  289. package/es/icons/PlusOutlined.js +29 -0
  290. package/es/icons/PrinterOutlined.d.ts +2 -0
  291. package/es/icons/PrinterOutlined.js +29 -0
  292. package/es/icons/ProtectOutlined.d.ts +2 -0
  293. package/es/icons/ProtectOutlined.js +32 -0
  294. package/es/icons/QuestionCircleFilled.d.ts +2 -0
  295. package/es/icons/QuestionCircleFilled.js +26 -0
  296. package/es/icons/QuestionCircleOutlined.d.ts +2 -0
  297. package/es/icons/QuestionCircleOutlined.js +39 -0
  298. package/es/icons/ReloadOutlined.d.ts +2 -0
  299. package/es/icons/ReloadOutlined.js +30 -0
  300. package/es/icons/ResizeOutlined.d.ts +2 -0
  301. package/es/icons/ResizeOutlined.js +30 -0
  302. package/es/icons/SearchOutlined.d.ts +2 -0
  303. package/es/icons/SearchOutlined.js +29 -0
  304. package/es/icons/SettingOutlined.d.ts +2 -0
  305. package/es/icons/SettingOutlined.js +31 -0
  306. package/es/icons/ShoppingOutlined.d.ts +2 -0
  307. package/es/icons/ShoppingOutlined.js +29 -0
  308. package/es/icons/SizeCompactOutlined.d.ts +2 -0
  309. package/es/icons/SizeCompactOutlined.js +34 -0
  310. package/es/icons/SizeMiddleOutlined.d.ts +2 -0
  311. package/es/icons/SizeMiddleOutlined.js +34 -0
  312. package/es/icons/SizeSlackOutlined.d.ts +2 -0
  313. package/es/icons/SizeSlackOutlined.js +34 -0
  314. package/es/icons/SortOutlined.d.ts +2 -0
  315. package/es/icons/SortOutlined.js +32 -0
  316. package/es/icons/StarFilled.d.ts +2 -0
  317. package/es/icons/StarFilled.js +26 -0
  318. package/es/icons/StepBackwardFilled.d.ts +2 -0
  319. package/es/icons/StepBackwardFilled.js +33 -0
  320. package/es/icons/StepForwardFilled.d.ts +2 -0
  321. package/es/icons/StepForwardFilled.js +33 -0
  322. package/es/icons/SuitcaseOutlined.d.ts +2 -0
  323. package/es/icons/SuitcaseOutlined.js +29 -0
  324. package/es/icons/SunOutlined.d.ts +2 -0
  325. package/es/icons/SunOutlined.js +29 -0
  326. package/es/icons/SwapOutlined.d.ts +2 -0
  327. package/es/icons/SwapOutlined.js +32 -0
  328. package/es/icons/SyncOutlined.d.ts +2 -0
  329. package/es/icons/SyncOutlined.js +32 -0
  330. package/es/icons/TableOutlined.d.ts +2 -0
  331. package/es/icons/TableOutlined.js +29 -0
  332. package/es/icons/TagOutlined.d.ts +2 -0
  333. package/es/icons/TagOutlined.js +31 -0
  334. package/es/icons/TimerOutlined.d.ts +2 -0
  335. package/es/icons/TimerOutlined.js +31 -0
  336. package/es/icons/UndoOutlined.d.ts +2 -0
  337. package/es/icons/UndoOutlined.js +30 -0
  338. package/es/icons/UnlockOutlined.d.ts +2 -0
  339. package/es/icons/UnlockOutlined.js +32 -0
  340. package/es/icons/UploadOutlined.d.ts +2 -0
  341. package/es/icons/UploadOutlined.js +32 -0
  342. package/es/icons/UserOutlined.d.ts +2 -0
  343. package/es/icons/UserOutlined.js +29 -0
  344. package/es/icons/VerticalAlignMiddleOutlined.d.ts +2 -0
  345. package/es/icons/VerticalAlignMiddleOutlined.js +32 -0
  346. package/es/icons/VerticalLeftOutlined.d.ts +2 -0
  347. package/es/icons/VerticalLeftOutlined.js +28 -0
  348. package/es/icons/VerticalRightOutlined.d.ts +2 -0
  349. package/es/icons/VerticalRightOutlined.js +28 -0
  350. package/es/icons/WarningOutlined.d.ts +2 -0
  351. package/es/icons/WarningOutlined.js +42 -0
  352. package/es/icons/ZoomInOutlined.d.ts +2 -0
  353. package/es/icons/ZoomInOutlined.js +31 -0
  354. package/es/icons/ZoomOutOutlined.d.ts +2 -0
  355. package/es/icons/ZoomOutOutlined.js +31 -0
  356. package/es/icons/index.d.ts +115 -0
  357. package/es/icons/index.js +232 -0
  358. package/es/utils/chart-theme-dark.d.ts +373 -0
  359. package/es/utils/chart-theme-dark.js +397 -0
  360. package/es/utils/chart-theme.d.ts +368 -0
  361. package/es/utils/chart-theme.js +392 -0
  362. package/es/utils/core.d.ts +168 -0
  363. package/es/utils/core.js +318 -0
  364. package/es/utils/hook.d.ts +113 -0
  365. package/es/utils/hook.js +264 -0
  366. package/es/utils/menu-util.d.ts +14 -0
  367. package/es/utils/menu-util.js +78 -0
  368. package/es/utils/message-box.d.ts +25 -0
  369. package/es/utils/message-box.js +98 -0
  370. package/es/utils/message.d.ts +66 -0
  371. package/es/utils/message.js +267 -0
  372. package/es/utils/resolvers.d.ts +18 -0
  373. package/es/utils/resolvers.js +50 -0
  374. package/es/utils/theme-util.d.ts +6 -0
  375. package/es/utils/theme-util.js +42 -0
  376. package/es/utils/validate.d.ts +182 -0
  377. package/es/utils/validate.js +197 -0
  378. package/package.json +184 -44
  379. package/typings/global.d.ts +64 -0
  380. package/dist/favicon.ico +0 -0
  381. package/dist/style.css +0 -1
  382. package/dist/yuang-framework-ui-pc.es.js +0 -78
  383. package/dist/yuang-framework-ui-pc.umd.js +0 -1
  384. package/src/App.vue +0 -31
  385. package/src/components/YuButton/index.vue +0 -35
  386. package/src/components/YuRow/index.vue +0 -16
  387. package/src/components/index.ts +0 -14
  388. package/src/main.ts +0 -42
  389. package/src/router/index.ts +0 -26
  390. package/src/shims-vue.d.ts +0 -10
  391. package/src/utils/vueRouterUtils.ts +0 -30
  392. package/src/views/components/yu-button/index.vue +0 -15
  393. package/src/views/exception/403/components/icon-svg.vue +0 -276
  394. package/src/views/exception/403/index.vue +0 -25
  395. package/src/views/exception/404/components/icon-svg.vue +0 -288
  396. package/src/views/exception/404/index.vue +0 -25
  397. package/src/views/exception/500/components/icon-svg.vue +0 -331
  398. package/src/views/exception/500/index.vue +0 -25
@@ -0,0 +1,392 @@
1
+ const ChartTheme = {
2
+ color: [
3
+ "#5b8ff9",
4
+ "#61ddaa",
5
+ "#65789b",
6
+ "#f6bd16",
7
+ "#7262fd",
8
+ "#78d3f8",
9
+ "#9661bc",
10
+ "#f6903d",
11
+ "#008685",
12
+ "#f08bb4"
13
+ ],
14
+ backgroundColor: "rgba(0,0,0,0)",
15
+ textStyle: {},
16
+ title: {
17
+ textStyle: {
18
+ color: "#333333"
19
+ },
20
+ subtextStyle: {
21
+ color: "#666666"
22
+ }
23
+ },
24
+ line: {
25
+ itemStyle: {
26
+ borderWidth: 1
27
+ },
28
+ lineStyle: {
29
+ width: "2"
30
+ },
31
+ symbolSize: 4,
32
+ symbol: "emptyCircle",
33
+ smooth: false
34
+ },
35
+ radar: {
36
+ itemStyle: {
37
+ borderWidth: 1
38
+ },
39
+ lineStyle: {
40
+ width: "2"
41
+ },
42
+ symbolSize: 4,
43
+ symbol: "emptyCircle",
44
+ smooth: false
45
+ },
46
+ bar: {
47
+ barCategoryGap: "50%",
48
+ itemStyle: {
49
+ barBorderWidth: "0",
50
+ barBorderColor: "#fff"
51
+ }
52
+ },
53
+ pie: {
54
+ itemStyle: {
55
+ borderWidth: "2",
56
+ borderColor: "#fff"
57
+ }
58
+ },
59
+ scatter: {
60
+ itemStyle: {
61
+ borderWidth: "0",
62
+ borderColor: "#fff"
63
+ }
64
+ },
65
+ boxplot: {
66
+ itemStyle: {
67
+ borderWidth: "0",
68
+ borderColor: "#fff"
69
+ }
70
+ },
71
+ parallel: {
72
+ itemStyle: {
73
+ borderWidth: "0",
74
+ borderColor: "#fff"
75
+ }
76
+ },
77
+ sankey: {
78
+ itemStyle: {
79
+ borderWidth: "0",
80
+ borderColor: "#fff"
81
+ }
82
+ },
83
+ funnel: {
84
+ itemStyle: {
85
+ borderWidth: "0",
86
+ borderColor: "#fff"
87
+ }
88
+ },
89
+ gauge: {
90
+ itemStyle: {
91
+ borderWidth: "0",
92
+ borderColor: "#fff"
93
+ }
94
+ },
95
+ candlestick: {
96
+ itemStyle: {
97
+ color: "#dd3f5d",
98
+ color0: "#51bd4b",
99
+ borderColor: "#dd3f5d",
100
+ borderColor0: "#51bd4b",
101
+ borderWidth: 1
102
+ }
103
+ },
104
+ graph: {
105
+ itemStyle: {
106
+ borderWidth: "0",
107
+ borderColor: "#fff"
108
+ },
109
+ lineStyle: {
110
+ width: 1,
111
+ color: "#bfbfbf"
112
+ },
113
+ symbolSize: 4,
114
+ symbol: "emptyCircle",
115
+ smooth: false,
116
+ color: [
117
+ "#5b8ff9",
118
+ "#61ddaa",
119
+ "#65789b",
120
+ "#f6bd16",
121
+ "#7262fd",
122
+ "#78d3f8",
123
+ "#9661bc",
124
+ "#f6903d",
125
+ "#008685",
126
+ "#f08bb4"
127
+ ],
128
+ label: {
129
+ color: "#666666"
130
+ }
131
+ },
132
+ map: {
133
+ itemStyle: {
134
+ areaColor: "#fafafa",
135
+ borderColor: "#d9d9d9",
136
+ borderWidth: 1
137
+ },
138
+ label: {
139
+ color: "#333333",
140
+ textBorderColor: "#fff",
141
+ textBorderWidth: 1
142
+ },
143
+ emphasis: {
144
+ itemStyle: {
145
+ areaColor: "rgba(255,215,0,0.8)",
146
+ borderColor: "#d9d9d9",
147
+ borderWidth: 1
148
+ },
149
+ label: {
150
+ color: "#333333"
151
+ }
152
+ }
153
+ },
154
+ geo: {
155
+ itemStyle: {
156
+ areaColor: "#fafafa",
157
+ borderColor: "#d9d9d9",
158
+ borderWidth: 1
159
+ },
160
+ label: {
161
+ color: "#333333",
162
+ textBorderColor: "#fff",
163
+ textBorderWidth: 1
164
+ },
165
+ emphasis: {
166
+ itemStyle: {
167
+ areaColor: "rgba(255,215,0,0.8)",
168
+ borderColor: "#d9d9d9",
169
+ borderWidth: 1
170
+ },
171
+ label: {
172
+ color: "#333333"
173
+ }
174
+ }
175
+ },
176
+ grid: {
177
+ top: 30,
178
+ right: 20,
179
+ left: 60,
180
+ bottom: 40
181
+ },
182
+ categoryAxis: {
183
+ axisLine: {
184
+ show: true,
185
+ lineStyle: {
186
+ color: "#bfbfbf"
187
+ }
188
+ },
189
+ axisTick: {
190
+ show: true,
191
+ lineStyle: {
192
+ color: "#bfbfbf"
193
+ },
194
+ alignWithLabel: true
195
+ },
196
+ axisLabel: {
197
+ show: true,
198
+ color: "#666666"
199
+ },
200
+ splitLine: {
201
+ show: false,
202
+ lineStyle: {
203
+ type: "dashed",
204
+ color: ["#d9d9d9"]
205
+ }
206
+ },
207
+ splitArea: {
208
+ show: false,
209
+ areaStyle: {
210
+ color: ["#f0f0f0"]
211
+ }
212
+ }
213
+ },
214
+ valueAxis: {
215
+ axisLine: {
216
+ show: false,
217
+ lineStyle: {
218
+ color: "#bfbfbf"
219
+ }
220
+ },
221
+ axisTick: {
222
+ show: false,
223
+ lineStyle: {
224
+ color: "#bfbfbf"
225
+ }
226
+ },
227
+ axisLabel: {
228
+ show: true,
229
+ color: "#666666"
230
+ },
231
+ splitLine: {
232
+ show: true,
233
+ lineStyle: {
234
+ type: "dashed",
235
+ color: ["#d9d9d9"]
236
+ }
237
+ },
238
+ splitArea: {
239
+ show: false,
240
+ areaStyle: {
241
+ color: ["#f0f0f0"]
242
+ }
243
+ }
244
+ },
245
+ logAxis: {
246
+ axisLine: {
247
+ show: false,
248
+ lineStyle: {
249
+ color: "#bfbfbf"
250
+ }
251
+ },
252
+ axisTick: {
253
+ show: false,
254
+ lineStyle: {
255
+ color: "#bfbfbf"
256
+ }
257
+ },
258
+ axisLabel: {
259
+ show: true,
260
+ color: "#666666"
261
+ },
262
+ splitLine: {
263
+ show: true,
264
+ lineStyle: {
265
+ color: ["#d9d9d9"]
266
+ }
267
+ },
268
+ splitArea: {
269
+ show: false,
270
+ areaStyle: {
271
+ color: ["#f0f0f0"]
272
+ }
273
+ }
274
+ },
275
+ timeAxis: {
276
+ axisLine: {
277
+ show: true,
278
+ lineStyle: {
279
+ color: "#bfbfbf"
280
+ }
281
+ },
282
+ axisTick: {
283
+ show: true,
284
+ lineStyle: {
285
+ color: "#bfbfbf"
286
+ }
287
+ },
288
+ axisLabel: {
289
+ show: true,
290
+ color: "#666666"
291
+ },
292
+ splitLine: {
293
+ show: false,
294
+ lineStyle: {
295
+ color: ["#d9d9d9"]
296
+ }
297
+ },
298
+ splitArea: {
299
+ show: false,
300
+ areaStyle: {
301
+ color: ["#f0f0f0"]
302
+ }
303
+ }
304
+ },
305
+ toolbox: {
306
+ iconStyle: {
307
+ borderColor: "#999999"
308
+ },
309
+ emphasis: {
310
+ iconStyle: {
311
+ borderColor: "#666666"
312
+ }
313
+ }
314
+ },
315
+ legend: {
316
+ inactiveColor: "#cccccc",
317
+ inactiveBorderColor: "#fff",
318
+ textStyle: {
319
+ color: "#666666",
320
+ lineHeight: 14
321
+ }
322
+ },
323
+ tooltip: {
324
+ axisPointer: {
325
+ lineStyle: {
326
+ color: "#bfbfbf",
327
+ width: "1"
328
+ },
329
+ crossStyle: {
330
+ color: "#bfbfbf",
331
+ width: "1"
332
+ }
333
+ }
334
+ },
335
+ timeline: {
336
+ lineStyle: {
337
+ color: "#d9d9d9",
338
+ width: "1"
339
+ },
340
+ itemStyle: {
341
+ color: "#d9d9d9",
342
+ borderWidth: "1"
343
+ },
344
+ controlStyle: {
345
+ color: "#d9d9d9",
346
+ borderColor: "#d9d9d9",
347
+ borderWidth: "0.5"
348
+ },
349
+ checkpointStyle: {
350
+ color: "#5b8ff9",
351
+ borderColor: "#5b8ff9"
352
+ },
353
+ label: {
354
+ color: "#999999"
355
+ },
356
+ emphasis: {
357
+ itemStyle: {
358
+ color: "#5b8ff9"
359
+ },
360
+ controlStyle: {
361
+ color: "#d9d9d9",
362
+ borderColor: "#d9d9d9",
363
+ borderWidth: "0.5"
364
+ },
365
+ label: {
366
+ color: "#666666"
367
+ }
368
+ }
369
+ },
370
+ visualMap: {
371
+ itemHeight: 80,
372
+ itemWidth: 15,
373
+ color: ["#5b8ff9", "#b0d0ff", "#f0f7ff"],
374
+ textStyle: {
375
+ color: "#666666"
376
+ }
377
+ },
378
+ dataZoom: {
379
+ handleSize: "100%",
380
+ textStyle: {
381
+ color: "#666666"
382
+ }
383
+ },
384
+ markPoint: {
385
+ label: {
386
+ color: "#ffffff"
387
+ }
388
+ }
389
+ };
390
+ export {
391
+ ChartTheme
392
+ };
@@ -0,0 +1,168 @@
1
+ import { Mutable } from '../ele-app/types';
2
+
3
+ /**
4
+ * toTree 方法参数
5
+ */
6
+ export interface ToTreeOption<T> {
7
+ /** 数据 */
8
+ data?: T[] | null;
9
+ /** id 字段名称 */
10
+ idField?: string | null;
11
+ /** parentId 字段名称 */
12
+ parentIdField?: string | null;
13
+ /** 生成的 children 字段名称 */
14
+ childrenField?: string | null;
15
+ /** 最顶级的 parentId 值 */
16
+ parentId?: number | string | (number | string)[] | null;
17
+ /** 是否添加包含所有父级 id 的字段 */
18
+ addParentIds?: boolean | null;
19
+ /** 包含所有父级 id 字段的名称 */
20
+ parentIdsField?: string | null;
21
+ /** 所有父级的 id */
22
+ parentIds?: (number | string)[] | null;
23
+ }
24
+ /**
25
+ * parentId 形式数据转 children 形式
26
+ * @param option ToTreeOption
27
+ */
28
+ export declare function toTree<T>(option: ToTreeOption<T>): T[];
29
+ /**
30
+ * 遍历 children 形式数据
31
+ * @param data 数据
32
+ * @param callback 回调
33
+ * @param childrenField children 字段名
34
+ * @param parent 当前的父级
35
+ */
36
+ export declare function eachTree<T>(data?: T[], callback?: (item: T, index: number, parent?: T) => void | boolean, childrenField?: string, parent?: T): void;
37
+ /**
38
+ * 格式化 children 形式数据
39
+ * @param data 数据
40
+ * @param formatter 格式器
41
+ * @param childrenField children 字段名
42
+ * @param resultChildrenField 返回后的 children 字段名
43
+ * @param parent 当前的父级
44
+ */
45
+ export declare function mapTree<T, K>(data: T[] | undefined | null, formatter: (item: T, index?: number, parent?: K) => K | void | undefined, childrenField?: string, resultChildrenField?: string, parent?: K): K[];
46
+ /**
47
+ * 查找树形数据
48
+ * @param data 数据
49
+ * @param predicate 查找条件
50
+ * @param childrenField children 字段名
51
+ */
52
+ export declare function findTree<T>(data: T[] | undefined, predicate: (value: T, index: number) => unknown, childrenField?: string): T | undefined;
53
+ /**
54
+ * 生成 m 到 n 的随机数
55
+ * @param m 最小值(包含)
56
+ * @param n 最大值(不包含)
57
+ */
58
+ export declare function random(m: number, n: number): number;
59
+ /**
60
+ * 生成随机字符串
61
+ * @param length 长度
62
+ * @param radix 基数
63
+ */
64
+ export declare function uuid(length?: number, radix?: number): string;
65
+ /**
66
+ * 数字千分位
67
+ * @param num 数字
68
+ */
69
+ export declare function formatNumber(num?: number | null): string;
70
+ /**
71
+ * 赋值不改变原字段
72
+ * @param target 目标对象
73
+ * @param source 源对象
74
+ * @param excludes 排除的字段
75
+ */
76
+ export declare function assignObject<T extends {}, K extends {}>(target: T, source: K, excludes?: string[]): T;
77
+ /**
78
+ * 判断是否是外链
79
+ * @param url 地址
80
+ */
81
+ export declare function isExternalLink(url?: string | null): boolean;
82
+ /**
83
+ * 查找直接子元素
84
+ * @param parentEl 父元素
85
+ * @param className 类名
86
+ * @param attr 属性
87
+ */
88
+ export declare function queryChild(parentEl?: Element, className?: string, attr?: string[]): Element | undefined;
89
+ /**
90
+ * 获取节点样式
91
+ * @param el 节点
92
+ */
93
+ export declare function getCurrentStyle(el: Element): CSSStyleDeclaration;
94
+ /**
95
+ * 判断元素内容是否溢出省略
96
+ * @param el 元素节点
97
+ * @param direction 只判断单个方向是否溢出
98
+ */
99
+ export declare function contentIsEllipsis(el: HTMLElement, direction?: 'horizontal' | 'vertical'): boolean;
100
+ /**
101
+ * 检查是否全屏
102
+ */
103
+ export declare function checkFullscreen(): boolean;
104
+ /**
105
+ * 退出全屏
106
+ */
107
+ export declare function exitFullscreen(): void;
108
+ /**
109
+ * 全屏
110
+ * @param el HTMLElement
111
+ */
112
+ export declare function requestFullscreen(el?: HTMLElement): void;
113
+ /**
114
+ * 经纬度坐标
115
+ */
116
+ export interface Point {
117
+ /** 经度 */
118
+ lng: number;
119
+ /** 纬度 */
120
+ lat: number;
121
+ }
122
+ /**
123
+ * 百度地图坐标转高德地图坐标
124
+ * @param point 坐标
125
+ */
126
+ export declare function bd09ToGcj02(point: Point): Point;
127
+ /**
128
+ * 高德地图坐标转百度地图坐标
129
+ * @param point 坐标
130
+ */
131
+ export declare function gcj02ToBd09(point: Point): Point;
132
+ /**
133
+ * 复制字符串
134
+ * @param text 字符串
135
+ */
136
+ export declare function copyText(text: string): Promise<undefined>;
137
+ /**
138
+ * 根据字段路径获取值
139
+ * @param data 数据
140
+ * @param path 字段路径
141
+ * @param defaultValue 默认值
142
+ */
143
+ export declare function getValue<T, K>(data?: K | null, path?: string | string[] | ((d: K) => T), defaultValue?: T): T | undefined;
144
+ /**
145
+ * 防抖函数
146
+ * @param func 函数
147
+ * @param wait 等待时间
148
+ */
149
+ export declare function debounce<T extends (...args: any) => any>(func: T, wait: number): (this: any) => void;
150
+ /**
151
+ * 节流函数
152
+ * @param func 函数
153
+ * @param wait 等待时间
154
+ * @param trailing 是否在节流结束后调用
155
+ */
156
+ export declare function throttle<T extends (...args: any) => any>(func: T, wait: number, trailing?: boolean): (this: any) => void;
157
+ /**
158
+ * 忽略对象属性
159
+ * @param obj 来源对象
160
+ * @param fields 忽略的属性
161
+ */
162
+ export declare function omit<T extends {}, K extends keyof T>(obj: T | null | undefined, fields: K[]): Mutable<Omit<T, K>>;
163
+ /**
164
+ * 摘选对象属性
165
+ * @param obj 来源对象
166
+ * @param fields 摘选的属性
167
+ */
168
+ export declare function pick<T extends object, K extends keyof T>(obj: T, fields: K[]): Mutable<Pick<T, K>>;