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,8 @@
1
+ @use '../../../../style/util.scss' as *;
2
+
3
+ /* ElDescriptions 主题变量 */
4
+ @mixin set-el-descriptions-var($var) {
5
+ .el-descriptions {
6
+ @include set-ele-var('descriptions', $var);
7
+ }
8
+ }
@@ -0,0 +1 @@
1
+ import "./index.scss";
@@ -0,0 +1,52 @@
1
+ @use '../../../../style/themes/default.scss' as *;
2
+ @use '../../../../style/util.scss' as *;
3
+ @use './css-var.scss' as *;
4
+
5
+ @include set-el-descriptions-var($ele);
6
+
7
+ /* Descriptions */
8
+ .el-descriptions {
9
+ .el-descriptions__table.is-bordered {
10
+ border-spacing: 0;
11
+ border-collapse: separate;
12
+ border-radius: eleVar('descriptions', 'radius');
13
+ border-top: 1px solid eleVar('descriptions', 'border-color');
14
+ border-left: 1px solid eleVar('descriptions', 'border-color');
15
+
16
+ tr {
17
+ & > .el-descriptions__cell {
18
+ border-top: none;
19
+ border-left: none;
20
+ border-color: eleVar('descriptions', 'border-color');
21
+ }
22
+
23
+ &:first-child > .el-descriptions__cell {
24
+ &:first-child {
25
+ border-top-left-radius: eleVar('descriptions', 'radius');
26
+ }
27
+
28
+ &:last-child {
29
+ border-top-right-radius: eleVar('descriptions', 'radius');
30
+ }
31
+ }
32
+
33
+ &:last-child > .el-descriptions__cell {
34
+ &:first-child {
35
+ border-bottom-left-radius: eleVar('descriptions', 'radius');
36
+ }
37
+
38
+ &:last-child {
39
+ border-bottom-right-radius: eleVar('descriptions', 'radius');
40
+ }
41
+ }
42
+ }
43
+ }
44
+
45
+ .el-descriptions__label.el-descriptions__cell.is-bordered-label {
46
+ background: eleVar('descriptions', 'bg');
47
+ }
48
+
49
+ .el-descriptions__cell {
50
+ word-break: break-all;
51
+ }
52
+ }
@@ -0,0 +1,16 @@
1
+ import "./autocomplete/index";
2
+ import "./backtop/index";
3
+ import "./cascader/index";
4
+ import "./checkbox/index";
5
+ import "./color-picker/index";
6
+ import "./date-picker/index";
7
+ import "./descriptions/index";
8
+ import "./input/index";
9
+ import "./message-box/index";
10
+ import "./notification/index";
11
+ import "./popper/index";
12
+ import "./radio/index";
13
+ import "./select/index";
14
+ import "./tag/index";
15
+ import "./tree/index";
16
+ import "./tree-select/index";
@@ -0,0 +1,16 @@
1
+ @use './autocomplete/index.scss' as autocomplete;
2
+ @use './backtop/index.scss' as backtop;
3
+ @use './cascader/index.scss' as cascader;
4
+ @use './checkbox/index.scss' as checkbox;
5
+ @use './color-picker/index.scss' as colorPicker;
6
+ @use './date-picker/index.scss' as datePicker;
7
+ @use './descriptions/index.scss' as descriptions;
8
+ @use './input/index.scss' as input;
9
+ @use './message-box/index.scss' as messageBox;
10
+ @use './notification/index.scss' as notification;
11
+ @use './popper/index.scss' as popper;
12
+ @use './radio/index.scss' as radio;
13
+ @use './select/index.scss' as select;
14
+ @use './tag/index.scss' as tag;
15
+ @use './tree/index.scss' as tree;
16
+ @use './tree-select/index.scss' as treeSelect;
@@ -0,0 +1,34 @@
1
+ @use '../../../../style/util.scss' as *;
2
+
3
+ /* ElInput 主题变量 */
4
+ @mixin set-el-input-var($var) {
5
+ .el-input,
6
+ .el-textarea,
7
+ .el-select,
8
+ .el-range-editor {
9
+ @include set-ele-var('input', $var);
10
+ @include set-ele-var('input-error', $var);
11
+ }
12
+
13
+ .el-input--small,
14
+ .el-select--small {
15
+ @include set-ele-var('input-sm', $var);
16
+ }
17
+
18
+ .el-input--large,
19
+ .el-select--large {
20
+ @include set-ele-var('input-lg', $var);
21
+ }
22
+
23
+ .el-textarea {
24
+ @include set-ele-var('textarea', $var);
25
+ }
26
+
27
+ .el-textarea.el-input--small {
28
+ @include set-ele-var('textarea-sm', $var);
29
+ }
30
+
31
+ .el-textarea.el-input--large {
32
+ @include set-ele-var('textarea-lg', $var);
33
+ }
34
+ }
@@ -0,0 +1 @@
1
+ import "./index.scss";
@@ -0,0 +1,540 @@
1
+ @use '../../../../style/themes/default.scss' as *;
2
+ @use '../../../../style/util.scss' as *;
3
+ @use './css-var.scss' as *;
4
+
5
+ @include set-el-input-var($ele);
6
+
7
+ /* Input */
8
+ .el-input .el-input__wrapper,
9
+ .el-textarea .el-textarea__inner,
10
+ .el-select .el-select__wrapper,
11
+ .el-date-editor.el-range-editor.el-input__wrapper {
12
+ border: eleVar('input', 'border');
13
+ background: eleVar('input', 'bg');
14
+ border-radius: eleVar('input', 'radius');
15
+ padding-top: 0;
16
+ padding-bottom: 0;
17
+ padding-left: eleVar('input', 'padding-left');
18
+ padding-right: eleVar('input', 'padding-right');
19
+ transition: all $transition-base;
20
+ box-sizing: border-box;
21
+ position: relative;
22
+ box-shadow: none;
23
+ gap: 0;
24
+ }
25
+
26
+ .el-textarea .el-textarea__inner {
27
+ padding-top: eleVar('textarea', 'padding-top');
28
+ padding-bottom: eleVar('textarea', 'padding-bottom');
29
+ min-height: elVar('component-size') !important;
30
+ }
31
+
32
+ /* Hover */
33
+ .el-input .el-input__wrapper:hover,
34
+ .el-textarea .el-textarea__inner:hover,
35
+ .el-select:not(.el-select--disabled):hover .el-input .el-input__wrapper,
36
+ .el-select .el-select__wrapper:not(.is-disabled):hover,
37
+ .el-select .el-select__wrapper:not(.is-disabled).is-hovering,
38
+ .el-cascader:not(.is-disabled):hover .el-input .el-input__wrapper,
39
+ .el-range-editor.el-input__wrapper:not(.is-disabled):hover,
40
+ body .el-input-number:not(.is-disabled):hover .el-input .el-input__wrapper {
41
+ border: eleVar('input', 'hover-border');
42
+ background: eleVar('input', 'hover-bg');
43
+ box-shadow: eleVar('input', 'hover-shadow');
44
+ }
45
+
46
+ /* Focus */
47
+ .el-input .el-input__wrapper.is-focus,
48
+ .el-textarea .el-textarea__inner:focus,
49
+ .el-select .el-select__wrapper:not(.is-disabled).is-focused,
50
+ .el-cascader .el-input.el-input--suffix .el-input__wrapper.is-focus,
51
+ .el-cascader .el-input.el-input--suffix.is-focus .el-input__wrapper,
52
+ .el-range-editor.el-input__wrapper.is-active:not(.is-disabled),
53
+ body .el-input-number:not(.is-disabled) .el-input .el-input__wrapper.is-focus {
54
+ border: eleVar('input', 'focus-border');
55
+ background: eleVar('input', 'focus-bg');
56
+ box-shadow: eleVar('input', 'focus-shadow');
57
+ }
58
+
59
+ /* 层级 */
60
+ .el-input .el-input__wrapper:hover,
61
+ .el-input .el-input__wrapper.is-focus {
62
+ z-index: 2;
63
+ }
64
+
65
+ .el-select .el-select__tags,
66
+ .el-cascader .el-cascader__tags,
67
+ .el-input-number .el-input-number__increase,
68
+ .el-input-number .el-input-number__decrease {
69
+ z-index: 3;
70
+ }
71
+
72
+ /* 字数统计 */
73
+ .el-input .el-input__wrapper .el-input__count {
74
+ color: eleVar('input', 'count-color');
75
+ font-size: eleVar('input', 'count-size');
76
+ margin-left: eleVar('input', 'icon-space');
77
+ line-height: normal;
78
+
79
+ .el-input__count-inner {
80
+ padding: 0;
81
+ }
82
+ }
83
+
84
+ /* 图标 */
85
+ .el-input .el-input__wrapper .el-input__icon,
86
+ .el-select .el-input .el-input__wrapper .el-select__icon,
87
+ .el-select .el-select__wrapper .el-select__icon,
88
+ .el-range-editor .el-input__icon.el-range__icon,
89
+ .el-range-editor .el-input__icon.el-range__close-icon,
90
+ .el-input .el-input__wrapper .el-input__prefix-icon {
91
+ color: eleVar('input', 'icon-color');
92
+ font-size: eleVar('input', 'icon-size');
93
+ transition: all $transition-base;
94
+ height: 1em;
95
+ }
96
+
97
+ .el-input .el-input__prefix-inner .el-input__icon,
98
+ .el-select .el-input__prefix-inner .el-select__icon,
99
+ .el-range-editor .el-input__icon.el-range__icon,
100
+ .el-input .el-input__prefix-inner > div {
101
+ margin-right: eleVar('input', 'icon-space');
102
+ }
103
+
104
+ .el-input .el-input__suffix-inner .el-input__icon,
105
+ .el-select .el-input__suffix-inner .el-select__icon {
106
+ margin-left: eleVar('input', 'icon-space');
107
+ }
108
+
109
+ .el-select .el-select__suffix {
110
+ gap: 0;
111
+ }
112
+
113
+ /* 密码图标 */
114
+ .el-input .el-input__wrapper .el-input__password {
115
+ margin: eleVar('input', 'eye-margin');
116
+
117
+ &:hover {
118
+ color: eleVar('input', 'icon-hover-color');
119
+ }
120
+ }
121
+
122
+ /* 清空图标 */
123
+ .el-input .el-input__wrapper .el-input__clear,
124
+ .el-select .el-input .el-select__caret,
125
+ .el-select .el-select__wrapper .el-select__caret,
126
+ .el-cascader .el-input__icon.icon-circle-close,
127
+ .el-cascader .el-input__icon.icon-arrow-down,
128
+ .el-date-editor .el-input__icon.clear-icon,
129
+ .el-range-editor .el-input__icon.el-range__close-icon {
130
+ margin: eleVar('input', 'clear-margin');
131
+ }
132
+
133
+ .el-input .el-input__wrapper .el-input__clear,
134
+ .el-cascader .el-input__icon.icon-circle-close,
135
+ .el-date-editor .el-input__icon.clear-icon,
136
+ .el-range-editor .el-input__icon.el-range__close-icon {
137
+ color: eleVar('input', 'clear-color');
138
+
139
+ &:hover {
140
+ color: eleVar('input', 'clear-hover-color');
141
+ }
142
+ }
143
+
144
+ /* 表单验证状态图标 */
145
+ .el-input .el-input__wrapper .el-input__validateIcon,
146
+ .el-select .el-select__wrapper .el-input__validateIcon {
147
+ color: eleVar('input', 'status-color');
148
+ margin: eleVar('input', 'status-margin');
149
+ }
150
+
151
+ .el-input .el-input__clear + .el-input__validateIcon,
152
+ .el-input__icon.icon-circle-close + .el-input__validateIcon,
153
+ .el-input__icon.clear-icon + .el-input__validateIcon {
154
+ display: none;
155
+ }
156
+
157
+ .el-input__validateIcon > svg > path {
158
+ #{'d'}: path($icon-validate-path);
159
+
160
+ &:last-child {
161
+ fill: none;
162
+ #{'d'}: path('');
163
+ }
164
+ }
165
+
166
+ /* 清空图标和验证失败图标修改 */
167
+ .el-input__clear > svg > path,
168
+ .el-input__icon.icon-circle-close > svg > path,
169
+ .el-input__icon.clear-icon > svg > path,
170
+ .el-input__icon.el-range__close-icon > svg > path,
171
+ .el-form-item.is-error .el-input__validateIcon > svg > path {
172
+ #{'d'}: path($icon-clear-path);
173
+
174
+ &:last-child {
175
+ fill: none;
176
+ #{'d'}: path('');
177
+ }
178
+ }
179
+
180
+ /* 下拉的箭头图标修改 */
181
+ .el-select__caret,
182
+ .el-input__icon.icon-arrow-down {
183
+ & > svg > path {
184
+ fill: none;
185
+ stroke: currentColor;
186
+ stroke-width: 84;
187
+ stroke-linecap: round;
188
+ transition: (d $transition-base, fill $transition-base);
189
+ #{'d'}: path('M216 362L512 662L808 362');
190
+ }
191
+
192
+ &.is-reverse > svg > path {
193
+ #{'d'}: path('M216 662L512 362L808 662');
194
+ }
195
+ }
196
+
197
+ .el-select .el-input .el-input__wrapper .el-select__caret.is-reverse,
198
+ .el-select .el-select__wrapper .el-select__caret.is-reverse,
199
+ .el-cascader .el-input .el-input__icon.icon-arrow-down.is-reverse {
200
+ transform: none;
201
+ }
202
+
203
+ /* 下拉的清空图标修改 */
204
+ .el-select__caret {
205
+ & > svg > path[d^='m466'] {
206
+ stroke: none;
207
+ fill: eleVar('input', 'clear-color');
208
+ #{'d'}: path($icon-clear-path);
209
+ }
210
+
211
+ & > svg > path + path {
212
+ fill: none;
213
+ #{'d'}: path('');
214
+ }
215
+
216
+ &:hover > svg > path[d^='m466'] {
217
+ fill: eleVar('input', 'clear-hover-color');
218
+ }
219
+ }
220
+
221
+ /* 组合 */
222
+ .el-input {
223
+ &.el-input-group--prepend > .el-input__wrapper {
224
+ border-top-left-radius: 0;
225
+ border-bottom-left-radius: 0;
226
+ }
227
+
228
+ &.el-input-group--append > .el-input__wrapper {
229
+ border-top-right-radius: 0;
230
+ border-bottom-right-radius: 0;
231
+ }
232
+
233
+ .el-input-group__prepend,
234
+ .el-input-group__append {
235
+ flex-shrink: 0;
236
+ color: eleVar('input', 'extra-color');
237
+ background: eleVar('input', 'extra-bg');
238
+ padding: eleVar('input', 'extra-padding');
239
+ line-height: eleVar('input', 'extra-line-height');
240
+ border-radius: eleVar('input', 'radius');
241
+ border: eleVar('input', 'border');
242
+ box-sizing: border-box;
243
+ box-shadow: none;
244
+
245
+ & > .el-button,
246
+ & > .el-select {
247
+ margin: eleVar('input', 'extra-preset-margin');
248
+ }
249
+ }
250
+
251
+ .el-input-group__prepend {
252
+ border-right: none;
253
+ border-top-right-radius: 0;
254
+ border-bottom-right-radius: 0;
255
+ }
256
+
257
+ .el-input-group__append {
258
+ border-left: none;
259
+ border-top-left-radius: 0;
260
+ border-bottom-left-radius: 0;
261
+ }
262
+ }
263
+
264
+ .el-input.el-input-group.el-input-group--prepend > .el-input-group__prepend,
265
+ .el-input.el-input-group.el-input-group--append > .el-input-group__append {
266
+ & > .el-select > .select-trigger > .el-input > .el-input__wrapper,
267
+ & > .el-select > .el-select__wrapper {
268
+ background: none;
269
+ border-color: transparent;
270
+ box-shadow: none !important;
271
+ }
272
+ }
273
+
274
+ .el-input-group__prepend,
275
+ .el-input-group__append {
276
+ & > .el-select .el-input__validateIcon {
277
+ display: none;
278
+ }
279
+ }
280
+
281
+ /* 禁用 */
282
+ body .el-input.is-disabled .el-input__wrapper,
283
+ body .el-textarea.is-disabled .el-textarea__inner,
284
+ body .el-select.el-select--disabled .el-input.is-disabled .el-input__wrapper,
285
+ .el-select .el-select__wrapper.is-disabled,
286
+ .el-select .el-select__wrapper.is-disabled:hover,
287
+ .el-select .el-select__wrapper.is-disabled.is-hovering,
288
+ .el-date-editor.el-range-editor.is-disabled.el-input__wrapper {
289
+ cursor: not-allowed;
290
+ border: eleVar('input', 'disabled-border');
291
+ background: eleVar('input', 'disabled-bg');
292
+ box-shadow: none;
293
+ }
294
+
295
+ .el-input.is-disabled .el-input__wrapper .el-input__inner,
296
+ body .el-textarea.is-disabled .el-textarea__inner,
297
+ .el-select__wrapper.is-disabled .el-select__placeholder,
298
+ .el-range-editor.is-disabled.el-input__wrapper input {
299
+ color: eleVar('input', 'disabled-color');
300
+ -webkit-text-fill-color: eleVar('input', 'disabled-color');
301
+ }
302
+
303
+ /* 小尺寸 */
304
+ .el-input.el-input--small .el-input__wrapper,
305
+ .el-textarea.el-input--small .el-textarea__inner,
306
+ .el-select.el-select--small .el-select__wrapper {
307
+ padding-top: 0;
308
+ padding-bottom: 0;
309
+ padding-left: eleVar('input-sm', 'padding-left');
310
+ padding-right: eleVar('input-sm', 'padding-right');
311
+ gap: 0;
312
+ }
313
+
314
+ /* 大尺寸 */
315
+ .el-input.el-input--large .el-input__wrapper,
316
+ .el-textarea.el-input--large .el-textarea__inner,
317
+ .el-select.el-select--large .el-select__wrapper {
318
+ padding-top: 0;
319
+ padding-bottom: 0;
320
+ padding-left: eleVar('input-lg', 'padding-left');
321
+ padding-right: eleVar('input-lg', 'padding-right');
322
+ gap: 0;
323
+ }
324
+
325
+ /* Textarea */
326
+ body .el-textarea .el-input__count {
327
+ color: eleVar('input', 'count-color');
328
+ font-size: eleVar('input', 'count-size');
329
+ background: eleVar('textarea', 'count-bg');
330
+ padding: eleVar('textarea', 'count-padding');
331
+ bottom: eleVar('textarea', 'count-bottom');
332
+ right: eleVar('textarea', 'count-right');
333
+ box-sizing: border-box;
334
+ line-height: normal;
335
+ }
336
+
337
+ .el-textarea.el-input--small .el-textarea__inner {
338
+ padding-top: eleVar('textarea-sm', 'padding-top');
339
+ padding-bottom: eleVar('textarea-sm', 'padding-bottom');
340
+ min-height: elVar('component-size', 'small') !important;
341
+ }
342
+
343
+ .el-textarea.el-input--large .el-textarea__inner {
344
+ padding-top: eleVar('textarea-lg', 'padding-top');
345
+ padding-bottom: eleVar('textarea-lg', 'padding-bottom');
346
+ min-height: elVar('component-size', 'large') !important;
347
+ }
348
+
349
+ /* Select */
350
+ .el-select .el-input .el-input__wrapper.is-focus,
351
+ .el-select .el-input.el-input--suffix.is-focus .el-input__wrapper {
352
+ border: eleVar('input', 'focus-border');
353
+ background: eleVar('input', 'focus-bg');
354
+ box-shadow: eleVar('input', 'focus-shadow') !important;
355
+ }
356
+
357
+ /* Cascader */
358
+ .el-cascader .el-input .el-input__wrapper .el-input__suffix .el-input__icon {
359
+ height: 1em;
360
+ }
361
+
362
+ /* DatePicker */
363
+ .el-range-editor.is-disabled.el-input__wrapper input {
364
+ background: none;
365
+ }
366
+
367
+ /* InputNumber */
368
+ .el-input-number {
369
+ .el-input-number__increase,
370
+ .el-input-number__decrease {
371
+ width: elVar('component-size');
372
+ transition: color $transition-base;
373
+ bottom: 0.8px;
374
+ top: 0.8px;
375
+ }
376
+
377
+ .el-input-number__increase {
378
+ right: 0.8px;
379
+ }
380
+
381
+ .el-input-number__decrease {
382
+ left: 0.8px;
383
+ }
384
+ }
385
+
386
+ body .el-input-number.is-controls-right {
387
+ .el-input-number__increase {
388
+ bottom: auto;
389
+ }
390
+
391
+ .el-input-number__decrease {
392
+ right: 0.8px;
393
+ left: auto;
394
+ top: auto;
395
+ }
396
+ }
397
+
398
+ body .el-input-number .el-input .el-input__wrapper {
399
+ padding-top: 0;
400
+ padding-bottom: 0;
401
+ padding-left: eleVar('input', 'padding-left');
402
+ padding-right: calc(
403
+ #{elVar('component-size')} + #{eleVar('input', 'icon-space')}
404
+ );
405
+ }
406
+
407
+ .el-input-number.el-input-number--small {
408
+ .el-input-number__increase,
409
+ .el-input-number__decrease {
410
+ width: elVar('component-size', 'small');
411
+ }
412
+
413
+ .el-input .el-input__wrapper {
414
+ padding-left: eleVar('input-sm', 'padding-left');
415
+ padding-right: calc(
416
+ #{elVar('component-size', 'small')} + #{eleVar('input', 'icon-space')}
417
+ );
418
+ }
419
+ }
420
+
421
+ .el-input-number.el-input-number--large {
422
+ .el-input-number__increase,
423
+ .el-input-number__decrease {
424
+ width: elVar('component-size', 'large');
425
+ }
426
+
427
+ .el-input .el-input__wrapper {
428
+ padding-left: eleVar('input-lg', 'padding-left');
429
+ padding-right: calc(
430
+ #{elVar('component-size', 'large')} + #{eleVar('input', 'icon-space')}
431
+ );
432
+ }
433
+ }
434
+
435
+ .el-input-number:not(.is-controls-right) .el-input .el-input__wrapper {
436
+ padding-left: calc(
437
+ #{elVar('component-size')} + #{eleVar('input', 'icon-space')}
438
+ );
439
+ }
440
+
441
+ .el-input-number--small:not(.is-controls-right) .el-input .el-input__wrapper {
442
+ padding-left: calc(
443
+ #{elVar('component-size', 'small')} + #{eleVar('input', 'icon-space')}
444
+ );
445
+ }
446
+
447
+ .el-input-number--large:not(.is-controls-right) .el-input .el-input__wrapper {
448
+ padding-left: calc(
449
+ #{elVar('component-size', 'large')} + #{eleVar('input', 'icon-space')}
450
+ );
451
+ }
452
+
453
+ body .el-input-number.is-disabled .el-input-number__increase,
454
+ body .el-input-number.is-disabled .el-input-number__decrease {
455
+ color: elVar('disabled', 'text-color');
456
+ border-color: elVar('disabled', 'border-color');
457
+
458
+ &:hover {
459
+ color: elVar('disabled', 'text-color');
460
+ }
461
+ }
462
+
463
+ /* 表单验证 */
464
+ .el-form-item.is-error {
465
+ .el-input .el-input__wrapper,
466
+ .el-textarea .el-textarea__inner,
467
+ .el-select .select-trigger .el-input .el-input__wrapper,
468
+ .el-select .el-select__wrapper,
469
+ .el-cascader .el-input .el-input__wrapper,
470
+ .el-range-editor.el-input__wrapper,
471
+ .el-input-number .el-input:not(.is-disabled) .el-input__wrapper {
472
+ border: eleVar('input-error', 'border');
473
+ background: eleVar('input-error', 'bg');
474
+ box-shadow: none;
475
+ }
476
+
477
+ .el-input .el-input__wrapper:hover,
478
+ .el-textarea .el-textarea__inner:hover,
479
+ .el-select .select-trigger .el-input .el-input__wrapper:hover,
480
+ .el-select .el-select__wrapper:hover,
481
+ .el-select .el-select__wrapper.is-hovering,
482
+ .el-cascader .el-input .el-input__wrapper:hover,
483
+ .el-range-editor.el-input__wrapper:hover,
484
+ .el-input-number:hover .el-input .el-input__wrapper {
485
+ border: eleVar('input-error', 'hover-border');
486
+ background: eleVar('input-error', 'hover-bg');
487
+ box-shadow: eleVar('input-error', 'hover-shadow');
488
+ }
489
+
490
+ .el-input .el-input__wrapper.is-focus,
491
+ .el-select .select-trigger .el-input.is-focus .el-input__wrapper,
492
+ .el-select .el-select__wrapper.is-focused,
493
+ .el-cascader .select-trigger .el-input.is-focus .el-input__wrapper {
494
+ border: eleVar('input-error', 'focus-border');
495
+ background: eleVar('input-error', 'focus-bg');
496
+ box-shadow: eleVar('input-error', 'focus-shadow') !important;
497
+ }
498
+
499
+ .el-textarea .el-textarea__inner:focus,
500
+ .el-range-editor.el-input__wrapper.is-active,
501
+ .el-input-number .el-input .el-input__wrapper.is-focus {
502
+ border: eleVar('input-error', 'focus-border');
503
+ background: eleVar('input-error', 'focus-bg');
504
+ box-shadow: eleVar('input-error', 'focus-shadow');
505
+ }
506
+
507
+ .el-input.is-disabled .el-input__wrapper,
508
+ .el-textarea.is-disabled .el-textarea__inner,
509
+ .el-select .select-trigger .el-input.is-disabled .el-input__wrapper,
510
+ .el-select .el-select__wrapper.is-disabled,
511
+ .el-cascader .el-input.is-disabled .el-input__wrapper,
512
+ .el-range-editor.el-input__wrapper.is-disabled,
513
+ .el-input-number.is-disabled .el-input .el-input__wrapper {
514
+ border: eleVar('input-error', 'disabled-border');
515
+ background: eleVar('input-error', 'disabled-bg');
516
+ box-shadow: none;
517
+ }
518
+
519
+ .el-input__validateIcon {
520
+ color: eleVar('input-error', 'status-color');
521
+ }
522
+ }
523
+
524
+ .ele-edit-tag .ele-edit-tag-input.is-error .el-input .el-input__wrapper {
525
+ border: eleVar('input-error', 'border');
526
+ background: eleVar('input-error', 'bg');
527
+ box-shadow: none;
528
+
529
+ &:hover {
530
+ border: eleVar('input-error', 'hover-border');
531
+ background: eleVar('input-error', 'hover-bg');
532
+ box-shadow: eleVar('input-error', 'hover-shadow');
533
+ }
534
+
535
+ &.is-focus {
536
+ border: eleVar('input-error', 'focus-border');
537
+ background: eleVar('input-error', 'focus-bg');
538
+ box-shadow: eleVar('input-error', 'focus-shadow') !important;
539
+ }
540
+ }
@@ -0,0 +1,8 @@
1
+ @use '../../../../style/util.scss' as *;
2
+
3
+ /* ElMessageBox 主题变量 */
4
+ @mixin set-el-message-box-var($var) {
5
+ .el-message-box {
6
+ @include set-ele-var('message-box', $var);
7
+ }
8
+ }