@antdv-vue/pro-layout 0.0.0-stage → 2.0.3

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 (426) hide show
  1. package/CHANGELOG.md +266 -0
  2. package/README.md +111 -2
  3. package/dist/BasicLayout.d.ts +255 -0
  4. package/dist/BasicLayout.js +895 -0
  5. package/dist/ProLayout.d.ts +334 -0
  6. package/dist/ProLayout.js +548 -0
  7. package/dist/RenderTypings.d.ts +116 -0
  8. package/dist/RenderTypings.js +1 -0
  9. package/dist/WrapContent.d.ts +23 -0
  10. package/dist/WrapContent.js +73 -0
  11. package/dist/assert/Logo.d.ts +6 -0
  12. package/dist/assert/Logo.js +102 -0
  13. package/dist/components/AppsLogoComponents/AppsLogo.d.ts +10 -0
  14. package/dist/components/AppsLogoComponents/AppsLogo.js +17 -0
  15. package/dist/components/AppsLogoComponents/DefaultContent.d.ts +22 -0
  16. package/dist/components/AppsLogoComponents/DefaultContent.js +42 -0
  17. package/dist/components/AppsLogoComponents/SimpleContent.d.ts +12 -0
  18. package/dist/components/AppsLogoComponents/SimpleContent.js +44 -0
  19. package/dist/components/AppsLogoComponents/index.d.ts +22 -0
  20. package/dist/components/AppsLogoComponents/index.js +85 -0
  21. package/dist/components/AppsLogoComponents/style/default.d.ts +7 -0
  22. package/dist/components/AppsLogoComponents/style/default.js +72 -0
  23. package/dist/components/AppsLogoComponents/style/index.d.ts +8 -0
  24. package/dist/components/AppsLogoComponents/style/index.js +69 -0
  25. package/dist/components/AppsLogoComponents/style/simple.d.ts +7 -0
  26. package/dist/components/AppsLogoComponents/style/simple.js +85 -0
  27. package/dist/components/AppsLogoComponents/typing.d.ts +14 -0
  28. package/dist/components/AppsLogoComponents/typing.js +1 -0
  29. package/dist/components/CollapsedIcon/index.d.ts +9 -0
  30. package/dist/components/CollapsedIcon/index.js +6 -0
  31. package/dist/components/Footer/index.d.ts +18 -0
  32. package/dist/components/Footer/index.js +25 -0
  33. package/dist/components/FooterToolbar/index.d.ts +21 -0
  34. package/dist/components/FooterToolbar/index.js +85 -0
  35. package/dist/components/FooterToolbar/style/index.d.ts +8 -0
  36. package/dist/components/FooterToolbar/style/index.js +35 -0
  37. package/dist/components/FooterToolbar/style/stylish.d.ts +13 -0
  38. package/dist/components/FooterToolbar/style/stylish.js +12 -0
  39. package/dist/components/GlobalFooter/index.d.ts +17 -0
  40. package/dist/components/GlobalFooter/index.js +46 -0
  41. package/dist/components/GlobalFooter/style/index.d.ts +8 -0
  42. package/dist/components/GlobalFooter/style/index.js +33 -0
  43. package/dist/components/GlobalHeader/ActionsContent.d.ts +30 -0
  44. package/dist/components/GlobalHeader/ActionsContent.js +88 -0
  45. package/dist/components/GlobalHeader/index.d.ts +146 -0
  46. package/dist/components/GlobalHeader/index.js +289 -0
  47. package/dist/components/GlobalHeader/style/index.d.ts +8 -0
  48. package/dist/components/GlobalHeader/style/index.js +62 -0
  49. package/dist/components/GlobalHeader/style/rightContentStyle.d.ts +8 -0
  50. package/dist/components/GlobalHeader/style/rightContentStyle.js +99 -0
  51. package/dist/components/GridContent/index.d.ts +19 -0
  52. package/dist/components/GridContent/index.js +40 -0
  53. package/dist/components/GridContent/style/index.d.ts +8 -0
  54. package/dist/components/GridContent/style/index.js +17 -0
  55. package/dist/components/Header/index.d.ts +106 -0
  56. package/dist/components/Header/index.js +330 -0
  57. package/dist/components/Header/style/header.d.ts +8 -0
  58. package/dist/components/Header/style/header.js +39 -0
  59. package/dist/components/Header/style/stylish.d.ts +17 -0
  60. package/dist/components/Header/style/stylish.js +12 -0
  61. package/dist/components/Help/AsyncContentPanel.d.ts +11 -0
  62. package/dist/components/Help/AsyncContentPanel.js +51 -0
  63. package/dist/components/Help/HelpProvide.d.ts +206 -0
  64. package/dist/components/Help/HelpProvide.js +20 -0
  65. package/dist/components/Help/ProHelpContentPanel.d.ts +19 -0
  66. package/dist/components/Help/ProHelpContentPanel.js +120 -0
  67. package/dist/components/Help/ProHelpDrawer.d.ts +13 -0
  68. package/dist/components/Help/ProHelpDrawer.js +108 -0
  69. package/dist/components/Help/ProHelpModal.d.ts +19 -0
  70. package/dist/components/Help/ProHelpModal.js +105 -0
  71. package/dist/components/Help/ProHelpPanel.d.ts +95 -0
  72. package/dist/components/Help/ProHelpPanel.js +245 -0
  73. package/dist/components/Help/ProHelpPopover.d.ts +61 -0
  74. package/dist/components/Help/ProHelpPopover.js +183 -0
  75. package/dist/components/Help/ProHelpSearch.d.ts +14 -0
  76. package/dist/components/Help/ProHelpSearch.js +530 -0
  77. package/dist/components/Help/RenderContentPanel.d.ts +11 -0
  78. package/dist/components/Help/RenderContentPanel.js +90 -0
  79. package/dist/components/Help/index.d.ts +43 -0
  80. package/dist/components/Help/index.js +31 -0
  81. package/dist/components/Help/style/index.d.ts +10 -0
  82. package/dist/components/Help/style/index.js +96 -0
  83. package/dist/components/MultiTab/index.d.ts +71 -0
  84. package/dist/components/MultiTab/index.js +303 -0
  85. package/dist/components/MultiTab/style/index.d.ts +8 -0
  86. package/dist/components/MultiTab/style/index.js +67 -0
  87. package/dist/components/PageContainer/PageContainerBase.d.ts +155 -0
  88. package/dist/components/PageContainer/PageContainerBase.js +349 -0
  89. package/dist/components/PageContainer/index.d.ts +57 -0
  90. package/dist/components/PageContainer/index.js +234 -0
  91. package/dist/components/PageContainer/style/index.d.ts +8 -0
  92. package/dist/components/PageContainer/style/index.js +63 -0
  93. package/dist/components/PageContainer/style/stylish.d.ts +13 -0
  94. package/dist/components/PageContainer/style/stylish.js +12 -0
  95. package/dist/components/PageHeader/index.d.ts +37 -0
  96. package/dist/components/PageHeader/index.js +221 -0
  97. package/dist/components/PageHeader/style/index.d.ts +17 -0
  98. package/dist/components/PageHeader/style/index.js +132 -0
  99. package/dist/components/PageLoading/index.d.ts +9 -0
  100. package/dist/components/PageLoading/index.js +15 -0
  101. package/dist/components/SettingDrawer/BlockCheckbox.d.ts +18 -0
  102. package/dist/components/SettingDrawer/BlockCheckbox.js +25 -0
  103. package/dist/components/SettingDrawer/LayoutChange.d.ts +28 -0
  104. package/dist/components/SettingDrawer/LayoutChange.js +127 -0
  105. package/dist/components/SettingDrawer/RegionalChange.d.ts +15 -0
  106. package/dist/components/SettingDrawer/RegionalChange.js +35 -0
  107. package/dist/components/SettingDrawer/ThemeColor.d.ts +28 -0
  108. package/dist/components/SettingDrawer/ThemeColor.js +30 -0
  109. package/dist/components/SettingDrawer/icon/group.d.ts +10 -0
  110. package/dist/components/SettingDrawer/icon/group.js +190 -0
  111. package/dist/components/SettingDrawer/icon/sub.d.ts +10 -0
  112. package/dist/components/SettingDrawer/icon/sub.js +187 -0
  113. package/dist/components/SettingDrawer/index.d.ts +42 -0
  114. package/dist/components/SettingDrawer/index.js +510 -0
  115. package/dist/components/SettingDrawer/style/index.d.ts +9 -0
  116. package/dist/components/SettingDrawer/style/index.js +236 -0
  117. package/dist/components/SiderMenu/BaseMenu.d.ts +133 -0
  118. package/dist/components/SiderMenu/BaseMenu.js +583 -0
  119. package/dist/components/SiderMenu/SiderMenu.d.ts +326 -0
  120. package/dist/components/SiderMenu/SiderMenu.js +756 -0
  121. package/dist/components/SiderMenu/index.d.ts +72 -0
  122. package/dist/components/SiderMenu/index.js +507 -0
  123. package/dist/components/SiderMenu/style/index.d.ts +20 -0
  124. package/dist/components/SiderMenu/style/index.js +301 -0
  125. package/dist/components/SiderMenu/style/menu.d.ts +10 -0
  126. package/dist/components/SiderMenu/style/menu.js +23 -0
  127. package/dist/components/SiderMenu/style/stylish.d.ts +20 -0
  128. package/dist/components/SiderMenu/style/stylish.js +15 -0
  129. package/dist/components/TopNavHeader/index.d.ts +86 -0
  130. package/dist/components/TopNavHeader/index.js +536 -0
  131. package/dist/components/TopNavHeader/style/index.d.ts +8 -0
  132. package/dist/components/TopNavHeader/style/index.js +71 -0
  133. package/dist/context/RouteContext.d.ts +39 -0
  134. package/dist/context/RouteContext.js +9 -0
  135. package/dist/defaultSettings.d.ts +115 -0
  136. package/dist/defaultSettings.js +16 -0
  137. package/dist/getPageTitle.d.ts +31 -0
  138. package/dist/getPageTitle.js +55 -0
  139. package/dist/index.d.ts +21 -0
  140. package/dist/index.js +17 -0
  141. package/dist/locales/ar-EG/help.d.ts +6 -0
  142. package/dist/locales/ar-EG/help.js +4 -0
  143. package/dist/locales/ar-EG/multiTab.d.ts +6 -0
  144. package/dist/locales/ar-EG/multiTab.js +10 -0
  145. package/dist/locales/ar-EG/settingDrawer.d.ts +6 -0
  146. package/dist/locales/ar-EG/settingDrawer.js +50 -0
  147. package/dist/locales/ar-EG.d.ts +56 -0
  148. package/dist/locales/ar-EG.js +11 -0
  149. package/dist/locales/ca-ES/help.d.ts +6 -0
  150. package/dist/locales/ca-ES/help.js +4 -0
  151. package/dist/locales/ca-ES/multiTab.d.ts +6 -0
  152. package/dist/locales/ca-ES/multiTab.js +10 -0
  153. package/dist/locales/ca-ES/settingDrawer.d.ts +6 -0
  154. package/dist/locales/ca-ES/settingDrawer.js +50 -0
  155. package/dist/locales/ca-ES.d.ts +56 -0
  156. package/dist/locales/ca-ES.js +11 -0
  157. package/dist/locales/cs-CZ/help.d.ts +6 -0
  158. package/dist/locales/cs-CZ/help.js +4 -0
  159. package/dist/locales/cs-CZ/multiTab.d.ts +6 -0
  160. package/dist/locales/cs-CZ/multiTab.js +10 -0
  161. package/dist/locales/cs-CZ/settingDrawer.d.ts +6 -0
  162. package/dist/locales/cs-CZ/settingDrawer.js +50 -0
  163. package/dist/locales/cs-CZ.d.ts +56 -0
  164. package/dist/locales/cs-CZ.js +11 -0
  165. package/dist/locales/de-DE/help.d.ts +6 -0
  166. package/dist/locales/de-DE/help.js +4 -0
  167. package/dist/locales/de-DE/multiTab.d.ts +6 -0
  168. package/dist/locales/de-DE/multiTab.js +10 -0
  169. package/dist/locales/de-DE/settingDrawer.d.ts +6 -0
  170. package/dist/locales/de-DE/settingDrawer.js +50 -0
  171. package/dist/locales/de-DE.d.ts +56 -0
  172. package/dist/locales/de-DE.js +11 -0
  173. package/dist/locales/en-GB/help.d.ts +6 -0
  174. package/dist/locales/en-GB/help.js +4 -0
  175. package/dist/locales/en-GB/multiTab.d.ts +6 -0
  176. package/dist/locales/en-GB/multiTab.js +10 -0
  177. package/dist/locales/en-GB/settingDrawer.d.ts +6 -0
  178. package/dist/locales/en-GB/settingDrawer.js +50 -0
  179. package/dist/locales/en-GB.d.ts +56 -0
  180. package/dist/locales/en-GB.js +11 -0
  181. package/dist/locales/en-US/help.d.ts +6 -0
  182. package/dist/locales/en-US/help.js +4 -0
  183. package/dist/locales/en-US/multiTab.d.ts +6 -0
  184. package/dist/locales/en-US/multiTab.js +10 -0
  185. package/dist/locales/en-US/settingDrawer.d.ts +6 -0
  186. package/dist/locales/en-US/settingDrawer.js +50 -0
  187. package/dist/locales/en-US.d.ts +56 -0
  188. package/dist/locales/en-US.js +11 -0
  189. package/dist/locales/es-ES/help.d.ts +6 -0
  190. package/dist/locales/es-ES/help.js +4 -0
  191. package/dist/locales/es-ES/multiTab.d.ts +6 -0
  192. package/dist/locales/es-ES/multiTab.js +10 -0
  193. package/dist/locales/es-ES/settingDrawer.d.ts +6 -0
  194. package/dist/locales/es-ES/settingDrawer.js +50 -0
  195. package/dist/locales/es-ES.d.ts +56 -0
  196. package/dist/locales/es-ES.js +11 -0
  197. package/dist/locales/fa-IR/help.d.ts +6 -0
  198. package/dist/locales/fa-IR/help.js +4 -0
  199. package/dist/locales/fa-IR/multiTab.d.ts +6 -0
  200. package/dist/locales/fa-IR/multiTab.js +10 -0
  201. package/dist/locales/fa-IR/settingDrawer.d.ts +6 -0
  202. package/dist/locales/fa-IR/settingDrawer.js +50 -0
  203. package/dist/locales/fa-IR.d.ts +56 -0
  204. package/dist/locales/fa-IR.js +11 -0
  205. package/dist/locales/fr-FR/help.d.ts +6 -0
  206. package/dist/locales/fr-FR/help.js +4 -0
  207. package/dist/locales/fr-FR/multiTab.d.ts +6 -0
  208. package/dist/locales/fr-FR/multiTab.js +10 -0
  209. package/dist/locales/fr-FR/settingDrawer.d.ts +6 -0
  210. package/dist/locales/fr-FR/settingDrawer.js +50 -0
  211. package/dist/locales/fr-FR.d.ts +56 -0
  212. package/dist/locales/fr-FR.js +11 -0
  213. package/dist/locales/he-IL/help.d.ts +6 -0
  214. package/dist/locales/he-IL/help.js +4 -0
  215. package/dist/locales/he-IL/multiTab.d.ts +6 -0
  216. package/dist/locales/he-IL/multiTab.js +10 -0
  217. package/dist/locales/he-IL/settingDrawer.d.ts +6 -0
  218. package/dist/locales/he-IL/settingDrawer.js +50 -0
  219. package/dist/locales/he-IL.d.ts +56 -0
  220. package/dist/locales/he-IL.js +11 -0
  221. package/dist/locales/hr-HR/help.d.ts +6 -0
  222. package/dist/locales/hr-HR/help.js +4 -0
  223. package/dist/locales/hr-HR/multiTab.d.ts +6 -0
  224. package/dist/locales/hr-HR/multiTab.js +10 -0
  225. package/dist/locales/hr-HR/settingDrawer.d.ts +6 -0
  226. package/dist/locales/hr-HR/settingDrawer.js +50 -0
  227. package/dist/locales/hr-HR.d.ts +56 -0
  228. package/dist/locales/hr-HR.js +11 -0
  229. package/dist/locales/id-ID/help.d.ts +6 -0
  230. package/dist/locales/id-ID/help.js +4 -0
  231. package/dist/locales/id-ID/multiTab.d.ts +6 -0
  232. package/dist/locales/id-ID/multiTab.js +10 -0
  233. package/dist/locales/id-ID/settingDrawer.d.ts +6 -0
  234. package/dist/locales/id-ID/settingDrawer.js +50 -0
  235. package/dist/locales/id-ID.d.ts +56 -0
  236. package/dist/locales/id-ID.js +11 -0
  237. package/dist/locales/index.d.ts +1756 -0
  238. package/dist/locales/index.js +86 -0
  239. package/dist/locales/it-IT/help.d.ts +6 -0
  240. package/dist/locales/it-IT/help.js +4 -0
  241. package/dist/locales/it-IT/multiTab.d.ts +6 -0
  242. package/dist/locales/it-IT/multiTab.js +10 -0
  243. package/dist/locales/it-IT/settingDrawer.d.ts +6 -0
  244. package/dist/locales/it-IT/settingDrawer.js +50 -0
  245. package/dist/locales/it-IT.d.ts +56 -0
  246. package/dist/locales/it-IT.js +11 -0
  247. package/dist/locales/ja-JP/help.d.ts +6 -0
  248. package/dist/locales/ja-JP/help.js +4 -0
  249. package/dist/locales/ja-JP/multiTab.d.ts +6 -0
  250. package/dist/locales/ja-JP/multiTab.js +10 -0
  251. package/dist/locales/ja-JP/settingDrawer.d.ts +6 -0
  252. package/dist/locales/ja-JP/settingDrawer.js +50 -0
  253. package/dist/locales/ja-JP.d.ts +56 -0
  254. package/dist/locales/ja-JP.js +11 -0
  255. package/dist/locales/ko-KR/help.d.ts +6 -0
  256. package/dist/locales/ko-KR/help.js +4 -0
  257. package/dist/locales/ko-KR/multiTab.d.ts +6 -0
  258. package/dist/locales/ko-KR/multiTab.js +10 -0
  259. package/dist/locales/ko-KR/settingDrawer.d.ts +6 -0
  260. package/dist/locales/ko-KR/settingDrawer.js +50 -0
  261. package/dist/locales/ko-KR.d.ts +56 -0
  262. package/dist/locales/ko-KR.js +11 -0
  263. package/dist/locales/mn-MN/help.d.ts +6 -0
  264. package/dist/locales/mn-MN/help.js +4 -0
  265. package/dist/locales/mn-MN/multiTab.d.ts +6 -0
  266. package/dist/locales/mn-MN/multiTab.js +10 -0
  267. package/dist/locales/mn-MN/settingDrawer.d.ts +6 -0
  268. package/dist/locales/mn-MN/settingDrawer.js +50 -0
  269. package/dist/locales/mn-MN.d.ts +56 -0
  270. package/dist/locales/mn-MN.js +11 -0
  271. package/dist/locales/ms-MY/help.d.ts +6 -0
  272. package/dist/locales/ms-MY/help.js +4 -0
  273. package/dist/locales/ms-MY/multiTab.d.ts +6 -0
  274. package/dist/locales/ms-MY/multiTab.js +10 -0
  275. package/dist/locales/ms-MY/settingDrawer.d.ts +6 -0
  276. package/dist/locales/ms-MY/settingDrawer.js +50 -0
  277. package/dist/locales/ms-MY.d.ts +56 -0
  278. package/dist/locales/ms-MY.js +11 -0
  279. package/dist/locales/nl-NL/help.d.ts +6 -0
  280. package/dist/locales/nl-NL/help.js +4 -0
  281. package/dist/locales/nl-NL/multiTab.d.ts +6 -0
  282. package/dist/locales/nl-NL/multiTab.js +10 -0
  283. package/dist/locales/nl-NL/settingDrawer.d.ts +6 -0
  284. package/dist/locales/nl-NL/settingDrawer.js +50 -0
  285. package/dist/locales/nl-NL.d.ts +56 -0
  286. package/dist/locales/nl-NL.js +11 -0
  287. package/dist/locales/pl-PL/help.d.ts +6 -0
  288. package/dist/locales/pl-PL/help.js +4 -0
  289. package/dist/locales/pl-PL/multiTab.d.ts +6 -0
  290. package/dist/locales/pl-PL/multiTab.js +10 -0
  291. package/dist/locales/pl-PL/settingDrawer.d.ts +6 -0
  292. package/dist/locales/pl-PL/settingDrawer.js +50 -0
  293. package/dist/locales/pl-PL.d.ts +56 -0
  294. package/dist/locales/pl-PL.js +11 -0
  295. package/dist/locales/pt-BR/help.d.ts +6 -0
  296. package/dist/locales/pt-BR/help.js +4 -0
  297. package/dist/locales/pt-BR/multiTab.d.ts +6 -0
  298. package/dist/locales/pt-BR/multiTab.js +10 -0
  299. package/dist/locales/pt-BR/settingDrawer.d.ts +6 -0
  300. package/dist/locales/pt-BR/settingDrawer.js +50 -0
  301. package/dist/locales/pt-BR.d.ts +56 -0
  302. package/dist/locales/pt-BR.js +11 -0
  303. package/dist/locales/ro-RO/help.d.ts +6 -0
  304. package/dist/locales/ro-RO/help.js +4 -0
  305. package/dist/locales/ro-RO/multiTab.d.ts +6 -0
  306. package/dist/locales/ro-RO/multiTab.js +10 -0
  307. package/dist/locales/ro-RO/settingDrawer.d.ts +6 -0
  308. package/dist/locales/ro-RO/settingDrawer.js +50 -0
  309. package/dist/locales/ro-RO.d.ts +56 -0
  310. package/dist/locales/ro-RO.js +11 -0
  311. package/dist/locales/ru-RU/help.d.ts +6 -0
  312. package/dist/locales/ru-RU/help.js +4 -0
  313. package/dist/locales/ru-RU/multiTab.d.ts +6 -0
  314. package/dist/locales/ru-RU/multiTab.js +10 -0
  315. package/dist/locales/ru-RU/settingDrawer.d.ts +6 -0
  316. package/dist/locales/ru-RU/settingDrawer.js +50 -0
  317. package/dist/locales/ru-RU.d.ts +56 -0
  318. package/dist/locales/ru-RU.js +11 -0
  319. package/dist/locales/sk-SK/help.d.ts +6 -0
  320. package/dist/locales/sk-SK/help.js +4 -0
  321. package/dist/locales/sk-SK/multiTab.d.ts +6 -0
  322. package/dist/locales/sk-SK/multiTab.js +9 -0
  323. package/dist/locales/sk-SK/settingDrawer.d.ts +6 -0
  324. package/dist/locales/sk-SK/settingDrawer.js +50 -0
  325. package/dist/locales/sk-SK.d.ts +56 -0
  326. package/dist/locales/sk-SK.js +11 -0
  327. package/dist/locales/sr-RS/help.d.ts +6 -0
  328. package/dist/locales/sr-RS/help.js +4 -0
  329. package/dist/locales/sr-RS/multiTab.d.ts +6 -0
  330. package/dist/locales/sr-RS/multiTab.js +10 -0
  331. package/dist/locales/sr-RS/settingDrawer.d.ts +6 -0
  332. package/dist/locales/sr-RS/settingDrawer.js +50 -0
  333. package/dist/locales/sr-RS.d.ts +56 -0
  334. package/dist/locales/sr-RS.js +11 -0
  335. package/dist/locales/sv-SE/help.d.ts +6 -0
  336. package/dist/locales/sv-SE/help.js +4 -0
  337. package/dist/locales/sv-SE/multiTab.d.ts +6 -0
  338. package/dist/locales/sv-SE/multiTab.js +10 -0
  339. package/dist/locales/sv-SE/settingDrawer.d.ts +6 -0
  340. package/dist/locales/sv-SE/settingDrawer.js +50 -0
  341. package/dist/locales/sv-SE.d.ts +56 -0
  342. package/dist/locales/sv-SE.js +11 -0
  343. package/dist/locales/th-TH/help.d.ts +6 -0
  344. package/dist/locales/th-TH/help.js +4 -0
  345. package/dist/locales/th-TH/multiTab.d.ts +6 -0
  346. package/dist/locales/th-TH/multiTab.js +10 -0
  347. package/dist/locales/th-TH/settingDrawer.d.ts +6 -0
  348. package/dist/locales/th-TH/settingDrawer.js +50 -0
  349. package/dist/locales/th-TH.d.ts +56 -0
  350. package/dist/locales/th-TH.js +11 -0
  351. package/dist/locales/tr-TR/help.d.ts +6 -0
  352. package/dist/locales/tr-TR/help.js +4 -0
  353. package/dist/locales/tr-TR/multiTab.d.ts +6 -0
  354. package/dist/locales/tr-TR/multiTab.js +10 -0
  355. package/dist/locales/tr-TR/settingDrawer.d.ts +6 -0
  356. package/dist/locales/tr-TR/settingDrawer.js +50 -0
  357. package/dist/locales/tr-TR.d.ts +56 -0
  358. package/dist/locales/tr-TR.js +11 -0
  359. package/dist/locales/uk-UA/help.d.ts +6 -0
  360. package/dist/locales/uk-UA/help.js +4 -0
  361. package/dist/locales/uk-UA/multiTab.d.ts +6 -0
  362. package/dist/locales/uk-UA/multiTab.js +10 -0
  363. package/dist/locales/uk-UA/settingDrawer.d.ts +6 -0
  364. package/dist/locales/uk-UA/settingDrawer.js +50 -0
  365. package/dist/locales/uk-UA.d.ts +56 -0
  366. package/dist/locales/uk-UA.js +11 -0
  367. package/dist/locales/uz-UZ/help.d.ts +6 -0
  368. package/dist/locales/uz-UZ/help.js +4 -0
  369. package/dist/locales/uz-UZ/multiTab.d.ts +6 -0
  370. package/dist/locales/uz-UZ/multiTab.js +10 -0
  371. package/dist/locales/uz-UZ/settingDrawer.d.ts +6 -0
  372. package/dist/locales/uz-UZ/settingDrawer.js +50 -0
  373. package/dist/locales/uz-UZ.d.ts +56 -0
  374. package/dist/locales/uz-UZ.js +11 -0
  375. package/dist/locales/vi-VN/help.d.ts +6 -0
  376. package/dist/locales/vi-VN/help.js +4 -0
  377. package/dist/locales/vi-VN/multiTab.d.ts +6 -0
  378. package/dist/locales/vi-VN/multiTab.js +10 -0
  379. package/dist/locales/vi-VN/settingDrawer.d.ts +6 -0
  380. package/dist/locales/vi-VN/settingDrawer.js +50 -0
  381. package/dist/locales/vi-VN.d.ts +56 -0
  382. package/dist/locales/vi-VN.js +11 -0
  383. package/dist/locales/zh-CN/help.d.ts +8 -0
  384. package/dist/locales/zh-CN/help.js +4 -0
  385. package/dist/locales/zh-CN/multiTab.d.ts +19 -0
  386. package/dist/locales/zh-CN/multiTab.js +17 -0
  387. package/dist/locales/zh-CN/settingDrawer.d.ts +52 -0
  388. package/dist/locales/zh-CN/settingDrawer.js +50 -0
  389. package/dist/locales/zh-CN.d.ts +56 -0
  390. package/dist/locales/zh-CN.js +11 -0
  391. package/dist/locales/zh-HK/help.d.ts +6 -0
  392. package/dist/locales/zh-HK/help.js +4 -0
  393. package/dist/locales/zh-HK/multiTab.d.ts +6 -0
  394. package/dist/locales/zh-HK/multiTab.js +10 -0
  395. package/dist/locales/zh-HK/settingDrawer.d.ts +6 -0
  396. package/dist/locales/zh-HK/settingDrawer.js +50 -0
  397. package/dist/locales/zh-HK.d.ts +56 -0
  398. package/dist/locales/zh-HK.js +11 -0
  399. package/dist/locales/zh-TW/help.d.ts +6 -0
  400. package/dist/locales/zh-TW/help.js +4 -0
  401. package/dist/locales/zh-TW/multiTab.d.ts +6 -0
  402. package/dist/locales/zh-TW/multiTab.js +10 -0
  403. package/dist/locales/zh-TW/settingDrawer.d.ts +6 -0
  404. package/dist/locales/zh-TW/settingDrawer.js +50 -0
  405. package/dist/locales/zh-TW.d.ts +56 -0
  406. package/dist/locales/zh-TW.js +11 -0
  407. package/dist/pro-layout.esm.js +11423 -0
  408. package/dist/style/index.d.ts +30 -0
  409. package/dist/style/index.js +120 -0
  410. package/dist/typing.d.ts +63 -0
  411. package/dist/typing.js +1 -0
  412. package/dist/utils/getBreadcrumbProps.d.ts +34 -0
  413. package/dist/utils/getBreadcrumbProps.js +91 -0
  414. package/dist/utils/getMenuData.d.ts +13 -0
  415. package/dist/utils/getMenuData.js +19 -0
  416. package/dist/utils/index.d.ts +30 -0
  417. package/dist/utils/index.js +55 -0
  418. package/dist/utils/siderWidth.d.ts +29 -0
  419. package/dist/utils/siderWidth.js +20 -0
  420. package/dist/utils/useCurrentMenuLayoutProps.d.ts +10 -0
  421. package/dist/utils/useCurrentMenuLayoutProps.js +28 -0
  422. package/dist/utils/useProLayoutLocation.d.ts +8 -0
  423. package/dist/utils/useProLayoutLocation.js +14 -0
  424. package/dist/utils/useProLayoutRender.d.ts +25 -0
  425. package/dist/utils/useProLayoutRender.js +42 -0
  426. package/package.json +61 -3
@@ -0,0 +1,35 @@
1
+ import { renderLayoutSettingItem } from "./LayoutChange.js";
2
+ import { createVNode } from "vue";
3
+ import { classNames } from "@v-c/util";
4
+ import { Listy, Switch } from "antdv-next";
5
+ //#region src/components/SettingDrawer/RegionalChange.tsx
6
+ const RegionalSetting = ({ settings = {}, prefixCls, changeSetting, formatMessage, cssVarCls, hashId }) => {
7
+ return createVNode(Listy, {
8
+ "class": classNames(`${prefixCls}-list`, hashId, cssVarCls),
9
+ "itemRender": (item) => renderLayoutSettingItem(item),
10
+ "rowKey": (item) => item.title,
11
+ "styles": { item: {
12
+ borderBottom: 0,
13
+ paddingInlineStart: 0,
14
+ paddingInlineEnd: 0
15
+ } },
16
+ "items": [
17
+ "header",
18
+ "footer",
19
+ "siderMenu",
20
+ "menuHeader"
21
+ ].map((key) => {
22
+ return {
23
+ title: formatMessage({ id: `app.setting.regionalsettings.${key}` }),
24
+ action: createVNode(Switch, {
25
+ "size": "small",
26
+ "class": classNames(`regional-${key}`, hashId, cssVarCls),
27
+ "checked": (settings[`${key}Render`] || settings[`${key}Render`]) === void 0,
28
+ "onChange": (checked) => changeSetting(`${key}Render`, checked === true ? void 0 : false)
29
+ }, null)
30
+ };
31
+ })
32
+ }, null);
33
+ };
34
+ //#endregion
35
+ export { RegionalSetting as default };
@@ -0,0 +1,28 @@
1
+ import { FunctionalComponent } from "vue";
2
+
3
+ //#region src/components/SettingDrawer/ThemeColor.d.ts
4
+ interface TagProps {
5
+ color: string;
6
+ check: boolean;
7
+ class?: string;
8
+ onClick?: () => void;
9
+ }
10
+ interface ThemeColorProps {
11
+ colorList?: {
12
+ key: string;
13
+ color: string;
14
+ title?: string;
15
+ }[];
16
+ prefixCls: string;
17
+ value: string;
18
+ onChange: (color: string) => void;
19
+ formatMessage: (data: {
20
+ id: string;
21
+ defaultMessage?: string;
22
+ }) => string | undefined;
23
+ hashId: string;
24
+ cssVarCls: string;
25
+ }
26
+ declare const ThemeColor: FunctionalComponent<ThemeColorProps>;
27
+ //#endregion
28
+ export { TagProps, ThemeColorProps, ThemeColor as default };
@@ -0,0 +1,30 @@
1
+ import { createVNode, mergeProps } from "vue";
2
+ import { classNames } from "@v-c/util";
3
+ import { Tooltip } from "antdv-next";
4
+ import { CheckOutlined } from "@antdv-next/icons";
5
+ import Wave from "antdv-next/dist/_util/wave/index";
6
+ //#region src/components/SettingDrawer/ThemeColor.tsx
7
+ const Tag = ({ color, check, ...rest }) => {
8
+ return createVNode("div", mergeProps(rest, { "style": { backgroundColor: color } }), [check ? createVNode(CheckOutlined, null, null) : ""]);
9
+ };
10
+ const ThemeColor = ({ value, colorList, onChange, prefixCls, formatMessage, hashId, cssVarCls }) => {
11
+ if (!colorList || colorList?.length < 1) return null;
12
+ const baseClassName = `${prefixCls}-theme-color`;
13
+ return createVNode("div", { "class": classNames(`${baseClassName}`, hashId, cssVarCls) }, [colorList?.map(({ key, color, title }) => {
14
+ if (!key) return null;
15
+ return createVNode(Tooltip, {
16
+ "key": color,
17
+ "title": title ?? formatMessage({ id: `app.setting.themecolor.${key}` })
18
+ }, { default: () => [createVNode(Wave, {
19
+ "component": "Tag",
20
+ "disabled": (value.startsWith("#") ? value.toUpperCase() : value) === color
21
+ }, { default: () => [createVNode(Tag, {
22
+ "class": classNames(`${baseClassName}-block`, hashId, cssVarCls),
23
+ "color": color,
24
+ "check": (value.startsWith("#") ? value.toUpperCase() : value) === color,
25
+ "onClick": () => onChange && onChange(color)
26
+ }, null)] })] });
27
+ })]);
28
+ };
29
+ //#endregion
30
+ export { ThemeColor as default };
@@ -0,0 +1,10 @@
1
+ import * as _$vue_jsx_runtime0 from "vue/jsx-runtime";
2
+
3
+ //#region src/components/SettingDrawer/icon/group.d.ts
4
+ declare function GroupIcon({
5
+ dark
6
+ }: {
7
+ dark: boolean;
8
+ }): _$vue_jsx_runtime0.JSX.Element;
9
+ //#endregion
10
+ export { GroupIcon };
@@ -0,0 +1,190 @@
1
+ import { createVNode } from "vue";
2
+ //#region src/components/SettingDrawer/icon/group.tsx
3
+ function GroupIcon({ dark }) {
4
+ const color = dark ? {
5
+ bg: "rgb(36, 37, 37)",
6
+ sider: "rgb(42, 44, 44)",
7
+ header: "rgb(42, 44, 44)",
8
+ content: "rgb(42, 44, 44)",
9
+ firstLineOpacity: "0.2",
10
+ secendLineOpacity: "0.2"
11
+ } : {
12
+ bg: "#F0F2F5",
13
+ sider: "#E6EAF0",
14
+ header: "#E6EAF0",
15
+ content: "#FFF",
16
+ firstLineOpacity: "1",
17
+ secendLineOpacity: "1"
18
+ };
19
+ return createVNode("svg", {
20
+ "xmlns": "http://www.w3.org/2000/svg",
21
+ "xmlnsXlink": "http://www.w3.org/1999/xlink",
22
+ "width": "1em",
23
+ "height": "1em",
24
+ "viewBox": "0 0 104 104"
25
+ }, [createVNode("defs", null, [createVNode("rect", {
26
+ "id": "path-1",
27
+ "width": "90",
28
+ "height": "72",
29
+ "x": "0",
30
+ "y": "0",
31
+ "rx": "10"
32
+ }, null), createVNode("filter", {
33
+ "id": "filter-2",
34
+ "width": "152.2%",
35
+ "height": "165.3%",
36
+ "x": "-26.1%",
37
+ "y": "-27.1%",
38
+ "filterUnits": "objectBoundingBox"
39
+ }, [
40
+ createVNode("feMorphology", {
41
+ "in": "SourceAlpha",
42
+ "radius": "0.25",
43
+ "result": "shadowSpreadOuter1"
44
+ }, null),
45
+ createVNode("feOffset", {
46
+ "dy": "1",
47
+ "in": "shadowSpreadOuter1",
48
+ "result": "shadowOffsetOuter1"
49
+ }, null),
50
+ createVNode("feGaussianBlur", {
51
+ "in": "shadowOffsetOuter1",
52
+ "result": "shadowBlurOuter1",
53
+ "stdDeviation": "1"
54
+ }, null),
55
+ createVNode("feColorMatrix", {
56
+ "in": "shadowBlurOuter1",
57
+ "result": "shadowMatrixOuter1",
58
+ "values": "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"
59
+ }, null),
60
+ createVNode("feMorphology", {
61
+ "in": "SourceAlpha",
62
+ "radius": "1",
63
+ "result": "shadowSpreadOuter2"
64
+ }, null),
65
+ createVNode("feOffset", {
66
+ "dy": "2",
67
+ "in": "shadowSpreadOuter2",
68
+ "result": "shadowOffsetOuter2"
69
+ }, null),
70
+ createVNode("feGaussianBlur", {
71
+ "in": "shadowOffsetOuter2",
72
+ "result": "shadowBlurOuter2",
73
+ "stdDeviation": "4"
74
+ }, null),
75
+ createVNode("feColorMatrix", {
76
+ "in": "shadowBlurOuter2",
77
+ "result": "shadowMatrixOuter2",
78
+ "values": "0 0 0 0 0.098466735 0 0 0 0 0.0599695403 0 0 0 0 0.0599695403 0 0 0 0.07 0"
79
+ }, null),
80
+ createVNode("feMorphology", {
81
+ "in": "SourceAlpha",
82
+ "radius": "2",
83
+ "result": "shadowSpreadOuter3"
84
+ }, null),
85
+ createVNode("feOffset", {
86
+ "dy": "4",
87
+ "in": "shadowSpreadOuter3",
88
+ "result": "shadowOffsetOuter3"
89
+ }, null),
90
+ createVNode("feGaussianBlur", {
91
+ "in": "shadowOffsetOuter3",
92
+ "result": "shadowBlurOuter3",
93
+ "stdDeviation": "8"
94
+ }, null),
95
+ createVNode("feColorMatrix", {
96
+ "in": "shadowBlurOuter3",
97
+ "result": "shadowMatrixOuter3",
98
+ "values": "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"
99
+ }, null),
100
+ createVNode("feMerge", null, [
101
+ createVNode("feMergeNode", { "in": "shadowMatrixOuter1" }, null),
102
+ createVNode("feMergeNode", { "in": "shadowMatrixOuter2" }, null),
103
+ createVNode("feMergeNode", { "in": "shadowMatrixOuter3" }, null)
104
+ ])
105
+ ])]), createVNode("g", {
106
+ "fill": "none",
107
+ "fill-rule": "evenodd",
108
+ "stroke": "none",
109
+ "stroke-width": "1"
110
+ }, [
111
+ createVNode("g", null, [createVNode("use", {
112
+ "fill": "#000",
113
+ "filter": "url(#filter-2)",
114
+ "xlink:href": "#path-1"
115
+ }, null), createVNode("use", {
116
+ "fill": color.sider,
117
+ "xlink:href": "#path-1"
118
+ }, null)]),
119
+ createVNode("path", {
120
+ "fill": color.bg,
121
+ "d": "M25 15h65v47c0 5.523-4.477 10-10 10H25V15z"
122
+ }, null),
123
+ createVNode("path", {
124
+ "stroke": color.header,
125
+ "stroke-linecap": "square",
126
+ "d": "M0.5 15.5L90.5 15.5"
127
+ }, null),
128
+ createVNode("rect", {
129
+ "width": "14",
130
+ "height": "3",
131
+ "x": "4",
132
+ "y": "26",
133
+ "fill": "#D7DDE6",
134
+ "rx": "1.5",
135
+ "opacity": color.firstLineOpacity
136
+ }, null),
137
+ createVNode("rect", {
138
+ "width": "9",
139
+ "height": "3",
140
+ "x": "4",
141
+ "y": "32",
142
+ "fill": "#D7DDE6",
143
+ "rx": "1.5",
144
+ "opacity": color.firstLineOpacity
145
+ }, null),
146
+ createVNode("rect", {
147
+ "width": "9",
148
+ "height": "3",
149
+ "x": "4",
150
+ "y": "42",
151
+ "fill": "#E6EAF0",
152
+ "rx": "1.5",
153
+ "opacity": color.secendLineOpacity
154
+ }, null),
155
+ createVNode("rect", {
156
+ "width": "9",
157
+ "height": "3",
158
+ "x": "4",
159
+ "y": "21",
160
+ "fill": "#E6EAF0",
161
+ "rx": "1.5",
162
+ "opacity": color.secendLineOpacity
163
+ }, null),
164
+ createVNode("rect", {
165
+ "width": "9",
166
+ "height": "3",
167
+ "x": "4",
168
+ "y": "53",
169
+ "fill": "#D7DDE6",
170
+ "rx": "1.5",
171
+ "opacity": color.firstLineOpacity
172
+ }, null),
173
+ createVNode("rect", {
174
+ "width": "14",
175
+ "height": "3",
176
+ "x": "4",
177
+ "y": "47",
178
+ "fill": "#D7DDE6",
179
+ "rx": "1.5",
180
+ "opacity": color.firstLineOpacity
181
+ }, null),
182
+ createVNode("path", {
183
+ "stroke": color.sider,
184
+ "stroke-linecap": "square",
185
+ "d": "M25.5 15.5L25.5 72.5"
186
+ }, null)
187
+ ])]);
188
+ }
189
+ //#endregion
190
+ export { GroupIcon };
@@ -0,0 +1,10 @@
1
+ import * as _$vue_jsx_runtime0 from "vue/jsx-runtime";
2
+
3
+ //#region src/components/SettingDrawer/icon/sub.d.ts
4
+ declare function SubIcon({
5
+ dark
6
+ }: {
7
+ dark: boolean;
8
+ }): _$vue_jsx_runtime0.JSX.Element;
9
+ //#endregion
10
+ export { SubIcon };
@@ -0,0 +1,187 @@
1
+ import { createVNode } from "vue";
2
+ //#region src/components/SettingDrawer/icon/sub.tsx
3
+ function SubIcon({ dark }) {
4
+ const color = dark ? {
5
+ bg: "rgb(42, 44, 44)",
6
+ side: "#0f1c29",
7
+ header: "rgb(36, 37, 37)"
8
+ } : {
9
+ bg: "#F0F2F5",
10
+ side: "#001529",
11
+ header: "#fff"
12
+ };
13
+ return createVNode("svg", {
14
+ "xmlns": "http://www.w3.org/2000/svg",
15
+ "xmlnsXlink": "http://www.w3.org/1999/xlink",
16
+ "width": "1em",
17
+ "height": "1em",
18
+ "viewBox": "0 0 104 104"
19
+ }, [createVNode("defs", null, [createVNode("rect", {
20
+ "id": "path-1",
21
+ "width": "90",
22
+ "height": "72",
23
+ "x": "0",
24
+ "y": "0",
25
+ "rx": "10"
26
+ }, null), createVNode("filter", {
27
+ "id": "filter-2",
28
+ "width": "152.2%",
29
+ "height": "165.3%",
30
+ "x": "-26.1%",
31
+ "y": "-27.1%",
32
+ "filterUnits": "objectBoundingBox"
33
+ }, [
34
+ createVNode("feMorphology", {
35
+ "in": "SourceAlpha",
36
+ "radius": "0.25",
37
+ "result": "shadowSpreadOuter1"
38
+ }, null),
39
+ createVNode("feOffset", {
40
+ "dy": "1",
41
+ "in": "shadowSpreadOuter1",
42
+ "result": "shadowOffsetOuter1"
43
+ }, null),
44
+ createVNode("feGaussianBlur", {
45
+ "in": "shadowOffsetOuter1",
46
+ "result": "shadowBlurOuter1",
47
+ "stdDeviation": "1"
48
+ }, null),
49
+ createVNode("feColorMatrix", {
50
+ "in": "shadowBlurOuter1",
51
+ "result": "shadowMatrixOuter1",
52
+ "values": "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"
53
+ }, null),
54
+ createVNode("feMorphology", {
55
+ "in": "SourceAlpha",
56
+ "radius": "1",
57
+ "result": "shadowSpreadOuter2"
58
+ }, null),
59
+ createVNode("feOffset", {
60
+ "dy": "2",
61
+ "in": "shadowSpreadOuter2",
62
+ "result": "shadowOffsetOuter2"
63
+ }, null),
64
+ createVNode("feGaussianBlur", {
65
+ "in": "shadowOffsetOuter2",
66
+ "result": "shadowBlurOuter2",
67
+ "stdDeviation": "4"
68
+ }, null),
69
+ createVNode("feColorMatrix", {
70
+ "in": "shadowBlurOuter2",
71
+ "result": "shadowMatrixOuter2",
72
+ "values": "0 0 0 0 0.098466735 0 0 0 0 0.0599695403 0 0 0 0 0.0599695403 0 0 0 0.07 0"
73
+ }, null),
74
+ createVNode("feMorphology", {
75
+ "in": "SourceAlpha",
76
+ "radius": "2",
77
+ "result": "shadowSpreadOuter3"
78
+ }, null),
79
+ createVNode("feOffset", {
80
+ "dy": "4",
81
+ "in": "shadowSpreadOuter3",
82
+ "result": "shadowOffsetOuter3"
83
+ }, null),
84
+ createVNode("feGaussianBlur", {
85
+ "in": "shadowOffsetOuter3",
86
+ "result": "shadowBlurOuter3",
87
+ "stdDeviation": "8"
88
+ }, null),
89
+ createVNode("feColorMatrix", {
90
+ "in": "shadowBlurOuter3",
91
+ "result": "shadowMatrixOuter3",
92
+ "values": "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"
93
+ }, null),
94
+ createVNode("feMerge", null, [
95
+ createVNode("feMergeNode", { "in": "shadowMatrixOuter1" }, null),
96
+ createVNode("feMergeNode", { "in": "shadowMatrixOuter2" }, null),
97
+ createVNode("feMergeNode", { "in": "shadowMatrixOuter3" }, null)
98
+ ])
99
+ ])]), createVNode("g", {
100
+ "fill": "none",
101
+ "fill-rule": "evenodd",
102
+ "stroke": "none",
103
+ "stroke-width": "1"
104
+ }, [
105
+ createVNode("g", null, [createVNode("use", {
106
+ "fill": "#000",
107
+ "filter": "url(#filter-2)",
108
+ "xlink:href": "#path-1"
109
+ }, null), createVNode("use", {
110
+ "fill": color.bg,
111
+ "xlink:href": "#path-1"
112
+ }, null)]),
113
+ createVNode("path", {
114
+ "fill": color.header,
115
+ "d": "M26 0h55c5.523 0 10 4.477 10 10v8H26V0z"
116
+ }, null),
117
+ createVNode("path", {
118
+ "fill": color.side,
119
+ "d": "M10 0h19v72H10C4.477 72 0 67.523 0 62V10C0 4.477 4.477 0 10 0z"
120
+ }, null),
121
+ createVNode("rect", {
122
+ "width": "14",
123
+ "height": "3",
124
+ "x": "5",
125
+ "y": "18",
126
+ "fill": "#D7DDE6",
127
+ "opacity": "0.2",
128
+ "rx": "1.5"
129
+ }, null),
130
+ createVNode("rect", {
131
+ "width": "14",
132
+ "height": "3",
133
+ "x": "5",
134
+ "y": "42",
135
+ "fill": "#D7DDE6",
136
+ "opacity": "0.2",
137
+ "rx": "1.5"
138
+ }, null),
139
+ createVNode("rect", {
140
+ "width": "9",
141
+ "height": "3",
142
+ "x": "9",
143
+ "y": "24",
144
+ "fill": "#D7DDE6",
145
+ "opacity": "0.2",
146
+ "rx": "1.5"
147
+ }, null),
148
+ createVNode("rect", {
149
+ "width": "9",
150
+ "height": "3",
151
+ "x": "9",
152
+ "y": "48",
153
+ "fill": "#D7DDE6",
154
+ "opacity": "0.2",
155
+ "rx": "1.5"
156
+ }, null),
157
+ createVNode("rect", {
158
+ "width": "9",
159
+ "height": "3",
160
+ "x": "9",
161
+ "y": "36",
162
+ "fill": "#D7DDE6",
163
+ "opacity": "0.2",
164
+ "rx": "1.5"
165
+ }, null),
166
+ createVNode("rect", {
167
+ "width": "14",
168
+ "height": "3",
169
+ "x": "9",
170
+ "y": "30",
171
+ "fill": "#D7DDE6",
172
+ "opacity": "0.2",
173
+ "rx": "1.5"
174
+ }, null),
175
+ createVNode("rect", {
176
+ "width": "14",
177
+ "height": "3",
178
+ "x": "9",
179
+ "y": "54",
180
+ "fill": "#D7DDE6",
181
+ "opacity": "0.2",
182
+ "rx": "1.5"
183
+ }, null)
184
+ ])]);
185
+ }
186
+ //#endregion
187
+ export { SubIcon };
@@ -0,0 +1,42 @@
1
+ import { ProSettings } from "../../defaultSettings.js";
2
+ import { SettingItemProps } from "./LayoutChange.js";
3
+ import * as _$vue from "vue";
4
+
5
+ //#region src/components/SettingDrawer/index.d.ts
6
+ type MergerSettingsType<T> = Partial<T> & {
7
+ colorPrimary?: string;
8
+ colorWeak?: boolean;
9
+ [key: string]: any;
10
+ };
11
+ interface SettingDrawerProps {
12
+ settings?: MergerSettingsType<ProSettings>;
13
+ prefixCls?: string;
14
+ collapsed?: boolean;
15
+ colorList?: {
16
+ key: string;
17
+ color: string;
18
+ title?: string;
19
+ }[] | false;
20
+ hideHintAlert?: boolean;
21
+ hideCopyButton?: boolean;
22
+ onSettingChange?: (config: MergerSettingsType<ProSettings>) => void;
23
+ onCollapse?: (collapsed: boolean) => void;
24
+ 'onUpdate:collapsed'?: (collapsed: boolean) => void;
25
+ otherSettingsRender?: (({
26
+ items,
27
+ settings,
28
+ changeSetting
29
+ }: {
30
+ settings: MergerSettingsType<ProSettings>;
31
+ changeSetting: (key: string, value: any) => void;
32
+ items: SettingItemProps[];
33
+ }) => SettingItemProps[]) | false;
34
+ }
35
+ /**
36
+ * 可视化配置组件
37
+ *
38
+ * @param props
39
+ */
40
+ declare const SettingDrawer: _$vue.DefineSetupFnComponent<SettingDrawerProps, {}, {}, SettingDrawerProps & {}, _$vue.PublicProps>;
41
+ //#endregion
42
+ export { SettingDrawerProps, SettingDrawer as default };