@pubinfo/core 2.0.0-beta.3 → 2.0.0-beta.31

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 (577) hide show
  1. package/{es/AppSetting-BXQHV5F8.js → dist/AppSetting-C1dyZ-8E.js} +21 -20
  2. package/{es/HCheckList.vue_vue_type_script_setup_true_lang-DanhyVxU.js → dist/HCheckList.vue_vue_type_script_setup_true_lang-B3wESRn7.js} +2 -2
  3. package/{es/PreferencesContent-CQkwkQ_1.js → dist/PreferencesContent-DgycKl9e.js} +124 -120
  4. package/{es/SettingBreadcrumb-Bp_66IFN.js → dist/SettingBreadcrumb-BlgX0ZNE.js} +2 -2
  5. package/{es/SettingCopyright-BPSnoTQb.js → dist/SettingCopyright-FmqadL1w.js} +1 -1
  6. package/{es/SettingEnableTransition-Rx2-0Wxj.js → dist/SettingEnableTransition-dzMgw8cN.js} +1 -1
  7. package/{es/SettingHome-BW27PQqs.js → dist/SettingHome-BwlXsTTt.js} +1 -1
  8. package/{es/SettingMenu-D5gdNfal.js → dist/SettingMenu-B5tHMS24.js} +2 -2
  9. package/{es/SettingMode-B4_HGVez.js → dist/SettingMode-Bh0mvh66.js} +1 -1
  10. package/{es/SettingNavSearch-CRovYxzh.js → dist/SettingNavSearch-D4g24uwl.js} +1 -1
  11. package/{es/SettingOther-D0zo11vM.js → dist/SettingOther-DwTtu6As.js} +1 -1
  12. package/{es/SettingPage-B8GHuoKV.js → dist/SettingPage-cDQXtwcG.js} +1 -1
  13. package/{es/SettingTabbar-Cn_QzvA8.js → dist/SettingTabbar-m8X7jEJH.js} +2 -2
  14. package/dist/SettingThemes-CX9ISeD_.js +145 -0
  15. package/{es/SettingToolbar-Csl2gnfi.js → dist/SettingToolbar-ByLjBezg.js} +1 -1
  16. package/{es/SettingTopbar-CaHjQULM.js → dist/SettingTopbar-o8wBZolp.js} +2 -2
  17. package/{es/SettingWidthMode-BGiP7gTw.js → dist/SettingWidthMode-Ux60mKiv.js} +1 -1
  18. package/{es/TopThinMode-DWm0oY5Y.js → dist/TopThinMode-17GrCZdo.js} +1 -1
  19. package/{es/_...all_-DI_QAUox.js → dist/_...all_-6l5FWUkL.js} +1 -1
  20. package/{es → dist}/api/index.d.ts +2 -1
  21. package/{es/colors-oRlAXMUC.js → dist/colors-DiWJrScm.js} +1 -1
  22. package/dist/components/PubinfoIcon/register.d.ts +9 -0
  23. package/{lib → dist}/components/PubinfoProvider/index.d.ts +1 -0
  24. package/{lib → dist}/composables/auth.d.ts +1 -1
  25. package/{es → dist}/context.d.ts +1 -1
  26. package/{es/index-P2cA5UeU.js → dist/index-Be7jJtXg.js} +38 -36
  27. package/{es/index-BHkrq701.js → dist/index-BmMbAV1Y.js} +33 -29
  28. package/{es/index-ChOUZNbk.js → dist/index-CfasTv4x.js} +6 -6
  29. package/{es/index-D8eeneI_.js → dist/index-Ckgil96Y.js} +25 -25
  30. package/{es/index-Dav3jQVP.js → dist/index-De_ME_Ws.js} +31 -31
  31. package/{es/index-DvHnVMX5.js → dist/index-DgpcBgWl.js} +6189 -5995
  32. package/{es/index-B9I6Pru6.js → dist/index-Dzwhw1L9.js} +57 -62
  33. package/{es/index-BkqnOkyO.js → dist/index-Md7zV10q.js} +12 -12
  34. package/{es/index-BvVAS3S-.js → dist/index-bsi-FZDt.js} +21 -13
  35. package/{es → dist}/index.d.ts +1 -0
  36. package/dist/index.js +77 -0
  37. package/{es/index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-BBe8CvCV.js → dist/index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-B3Eieo0k.js} +315 -297
  38. package/{lib → dist}/interface.d.ts +13 -0
  39. package/{lib → dist}/layout/Layout.vue.d.ts +2 -2
  40. package/{es → dist}/layout/composables/useContext.d.ts +1 -2
  41. package/{lib → dist}/layout/ui-kit/HDialog.vue.d.ts +12 -1
  42. package/{lib → dist}/layout/ui-kit/HSlideover.vue.d.ts +12 -1
  43. package/{es → dist}/layout/ui-kit/HTabList.vue.d.ts +2 -2
  44. package/{es/notification-6D5hA7Bp.js → dist/menu-CC5544p-.js} +2669 -2681
  45. package/{es/pick-Br-UKn7B.js → dist/pick-CJo2YiT-.js} +1 -1
  46. package/{es → dist}/request.js +399 -390
  47. package/{es → dist}/route/index.d.ts +0 -1
  48. package/dist/route/routes.d.ts +24 -0
  49. package/{lib → dist}/stores/modules/favorites.d.ts +1 -0
  50. package/{es → dist}/stores/modules/iframe.d.ts +1 -0
  51. package/{es → dist}/stores/modules/index.d.ts +8 -1
  52. package/{es → dist}/stores/modules/keepAlive.d.ts +1 -0
  53. package/{es → dist}/stores/modules/menu.d.ts +1 -0
  54. package/{es → dist}/stores/modules/route.d.ts +1 -0
  55. package/{lib → dist}/stores/modules/settings.d.ts +1 -0
  56. package/{lib → dist}/stores/modules/tabbar.d.ts +1 -0
  57. package/dist/stores/modules/user.d.ts +36 -0
  58. package/dist/style.css +9 -0
  59. package/{lib → dist}/utils/index.d.ts +6 -0
  60. package/package.json +38 -44
  61. package/src/api/index.ts +3 -1
  62. package/src/api/modules/configData/xitongpeizhifuwu.ts +3 -3
  63. package/src/assets/styles/globals.scss +6 -6
  64. package/src/components/PubinfoApp/index.vue +1 -1
  65. package/src/components/PubinfoIcon/index.vue +3 -1
  66. package/src/components/PubinfoIcon/register.ts +19 -0
  67. package/src/components/PubinfoProvider/index.ts +3 -2
  68. package/src/composables/auth.ts +1 -1
  69. package/src/context.ts +1 -2
  70. package/src/create.ts +7 -0
  71. package/src/index.ts +1 -0
  72. package/src/interface.ts +13 -0
  73. package/src/layout/Layout.vue +50 -59
  74. package/src/layout/components/Content/index.vue +34 -13
  75. package/src/layout/components/Header/TopMode/index.vue +12 -16
  76. package/src/layout/components/Header/index.vue +5 -5
  77. package/src/layout/components/SettingBar/components/SettingThemes.vue +7 -5
  78. package/src/layout/components/SettingBar/index.vue +3 -1
  79. package/src/layout/components/Sidebar/MainSidebar.vue +4 -7
  80. package/src/layout/components/Tools/Preferences/PreferencesContent.vue +2 -1
  81. package/src/layout/components/Tools/index.vue +9 -32
  82. package/src/layout/composables/useContext.ts +0 -2
  83. package/src/layout/composables/useMainPage.ts +1 -1
  84. package/src/layout/composables/useWatermark.ts +2 -2
  85. package/src/layout/provider.ts +7 -4
  86. package/src/layout/ui-kit/HDialog.vue +4 -1
  87. package/src/layout/ui-kit/HSlideover.vue +4 -1
  88. package/src/pages/system/change-organization/index.vue +3 -3
  89. package/src/pages/system/not-permission/index.vue +2 -2
  90. package/src/route/index.ts +0 -1
  91. package/src/route/routes.ts +87 -55
  92. package/src/stores/helper.ts +2 -2
  93. package/src/stores/modules/favorites.ts +1 -0
  94. package/src/stores/modules/iframe.ts +1 -0
  95. package/src/stores/modules/index.ts +8 -1
  96. package/src/stores/modules/keepAlive.ts +1 -0
  97. package/src/stores/modules/menu.ts +25 -1
  98. package/src/stores/modules/route.ts +14 -5
  99. package/src/stores/modules/settings.ts +1 -0
  100. package/src/stores/modules/tabbar.ts +1 -0
  101. package/src/stores/modules/user.ts +56 -20
  102. package/src/stores/plugin/sideEffect/favoritesStorage.ts +1 -1
  103. package/src/stores/plugin/sideEffect/tabbarStorage.ts +1 -1
  104. package/src/utils/index.ts +14 -0
  105. package/src/utils/watermark.ts +1 -1
  106. package/types/vue-router.d.ts +3 -1
  107. package/es/SettingThemes-D_DpEncn.js +0 -144
  108. package/es/components/PubinfoProvider/index.d.ts +0 -8
  109. package/es/composables/auth.d.ts +0 -8
  110. package/es/index-DTQQt_XY.js +0 -10
  111. package/es/index.js +0 -76
  112. package/es/interface.d.ts +0 -29
  113. package/es/layout/Layout.vue.d.ts +0 -20
  114. package/es/layout/ui-kit/HDialog.vue.d.ts +0 -28
  115. package/es/layout/ui-kit/HSlideover.vue.d.ts +0 -30
  116. package/es/pages/system/not-permission/index.vue.d.ts +0 -2
  117. package/es/route/async.d.ts +0 -9
  118. package/es/route/routes.d.ts +0 -3
  119. package/es/stores/modules/favorites.d.ts +0 -32
  120. package/es/stores/modules/notification.d.ts +0 -18
  121. package/es/stores/modules/settings.d.ts +0 -85
  122. package/es/stores/modules/tabbar.d.ts +0 -59
  123. package/es/stores/modules/user.d.ts +0 -3
  124. package/es/style.css +0 -9
  125. package/es/utils/index.d.ts +0 -14
  126. package/lib/AppSetting-CCiwpjoq.cjs +0 -1
  127. package/lib/HButton.vue_vue_type_script_setup_true_lang-D-XkyoXl.cjs +0 -1
  128. package/lib/HCheckList.vue_vue_type_script_setup_true_lang-DwA8einQ.cjs +0 -1
  129. package/lib/HDivider-DCfDgE8l.cjs +0 -1
  130. package/lib/HInput.vue_vue_type_script_setup_true_lang-CwS0mGyL.cjs +0 -1
  131. package/lib/HToggle-BP6YYf-s.cjs +0 -1
  132. package/lib/PreferencesContent-DgL-Jc_J.cjs +0 -3
  133. package/lib/SettingBreadcrumb-BQ78yEP4.cjs +0 -1
  134. package/lib/SettingCopyright-x7aPlkQy.cjs +0 -1
  135. package/lib/SettingEnableTransition-CD3-44Iy.cjs +0 -1
  136. package/lib/SettingHome-u52oz6i8.cjs +0 -1
  137. package/lib/SettingMenu-DsElOvvv.cjs +0 -1
  138. package/lib/SettingMode-C_kgpTxw.cjs +0 -1
  139. package/lib/SettingNavSearch-3auTi8UW.cjs +0 -1
  140. package/lib/SettingOther-6XGQq7OA.cjs +0 -1
  141. package/lib/SettingPage-C8yIHpLc.cjs +0 -1
  142. package/lib/SettingTabbar-K-nHb89z.cjs +0 -1
  143. package/lib/SettingThemes-BeNwFz7K.cjs +0 -1
  144. package/lib/SettingToolbar-Be1V7lwV.cjs +0 -1
  145. package/lib/SettingTopbar-C-j8O3c8.cjs +0 -1
  146. package/lib/SettingWidthMode-GMjAF-s3.cjs +0 -1
  147. package/lib/TopThinMode-DGUvyHT2.cjs +0 -1
  148. package/lib/_...all_-C4CXjAo9.cjs +0 -1
  149. package/lib/_plugin-vue_export-helper-BHFhmbuH.cjs +0 -1
  150. package/lib/api/enum/code.d.ts +0 -67
  151. package/lib/api/helper.d.ts +0 -32
  152. package/lib/api/index.d.ts +0 -12
  153. package/lib/api/interface.d.ts +0 -14
  154. package/lib/api/modules/auth/index.d.ts +0 -1
  155. package/lib/api/modules/auth/renzhengfuwu.d.ts +0 -50
  156. package/lib/api/modules/configData/heibaimingdanfuwu.d.ts +0 -36
  157. package/lib/api/modules/configData/index.d.ts +0 -3
  158. package/lib/api/modules/configData/xitongpeizhifuwu.d.ts +0 -99
  159. package/lib/api/modules/configData/zidianfuwu.d.ts +0 -71
  160. package/lib/api/modules/rbac/gangweijiekou.d.ts +0 -43
  161. package/lib/api/modules/rbac/index.d.ts +0 -11
  162. package/lib/api/modules/rbac/jiaosejiekou.d.ts +0 -50
  163. package/lib/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +0 -43
  164. package/lib/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +0 -64
  165. package/lib/api/modules/rbac/yonghujiekou.d.ts +0 -106
  166. package/lib/api/modules/rbac/yonghushoucangbiaojiekou.d.ts +0 -36
  167. package/lib/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +0 -29
  168. package/lib/api/modules/rbac/ziyuanjiekou.d.ts +0 -85
  169. package/lib/api/modules/rbac/zuhuguanlijiekou.d.ts +0 -36
  170. package/lib/api/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +0 -29
  171. package/lib/api/modules/rbac/zuzhijiekou.d.ts +0 -64
  172. package/lib/api/request.d.ts +0 -2
  173. package/lib/api/system/app.d.ts +0 -17
  174. package/lib/api/system/user.d.ts +0 -24
  175. package/lib/assets/styles/index.d.ts +0 -6
  176. package/lib/colors-KAaBT84S.cjs +0 -1
  177. package/lib/components/NotAllowed/index.vue.d.ts +0 -2
  178. package/lib/components/PageHeader/index.vue.d.ts +0 -23
  179. package/lib/components/PageMain/index.vue.d.ts +0 -27
  180. package/lib/components/PassStrengthValidator/index.vue.d.ts +0 -26
  181. package/lib/components/PassStrengthValidator/rule.vue.d.ts +0 -8
  182. package/lib/components/PubinfoApp/index.vue.d.ts +0 -2
  183. package/lib/components/PubinfoIcon/index.vue.d.ts +0 -10
  184. package/lib/components/index.d.ts +0 -8
  185. package/lib/composables/index.d.ts +0 -4
  186. package/lib/composables/log.d.ts +0 -6
  187. package/lib/composables/theme.d.ts +0 -3
  188. package/lib/composables/watchDiff.d.ts +0 -2
  189. package/lib/config/index.d.ts +0 -1
  190. package/lib/config/settings.d.ts +0 -3
  191. package/lib/context.d.ts +0 -14
  192. package/lib/create.d.ts +0 -3
  193. package/lib/directives/index.d.ts +0 -4
  194. package/lib/directives/plugins/permission.d.ts +0 -6
  195. package/lib/index-38bsQrho.cjs +0 -1
  196. package/lib/index-BEqD62a0.cjs +0 -1
  197. package/lib/index-Bbm9CQRP.cjs +0 -1
  198. package/lib/index-BqHsuJkr.cjs +0 -1
  199. package/lib/index-JZl6Zh3L.cjs +0 -44
  200. package/lib/index-VGR0Mt4q.cjs +0 -240
  201. package/lib/index-WMo0GAa6.cjs +0 -1
  202. package/lib/index-_YsHduAE.cjs +0 -1
  203. package/lib/index-gr8kFwPx.cjs +0 -18
  204. package/lib/index-zvGq9tSu.cjs +0 -1
  205. package/lib/index.cjs +0 -1
  206. package/lib/index.d.ts +0 -11
  207. package/lib/index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-SCJ5qyPu.cjs +0 -1
  208. package/lib/layout/components/BackTop/index.vue.d.ts +0 -2
  209. package/lib/layout/components/Content/IframeView.vue.d.ts +0 -4
  210. package/lib/layout/components/Content/LinkView.vue.d.ts +0 -2
  211. package/lib/layout/components/Content/index.vue.d.ts +0 -2
  212. package/lib/layout/components/Copyright/index.vue.d.ts +0 -2
  213. package/lib/layout/components/Header/TopMode/More.vue.d.ts +0 -26
  214. package/lib/layout/components/Header/TopMode/NotCursor.vue.d.ts +0 -25
  215. package/lib/layout/components/Header/TopMode/index.vue.d.ts +0 -4
  216. package/lib/layout/components/Header/TopThinMode.vue.d.ts +0 -4
  217. package/lib/layout/components/Header/index.vue.d.ts +0 -19
  218. package/lib/layout/components/Logo/index.vue.d.ts +0 -26
  219. package/lib/layout/components/Menu/index.vue.d.ts +0 -10
  220. package/lib/layout/components/Menu/item.vue.d.ts +0 -11
  221. package/lib/layout/components/Menu/sub.vue.d.ts +0 -219
  222. package/lib/layout/components/Menu/types.d.ts +0 -42
  223. package/lib/layout/components/SettingBar/AppSetting.vue.d.ts +0 -12
  224. package/lib/layout/components/SettingBar/components/DayNightToggle.vue.d.ts +0 -9
  225. package/lib/layout/components/SettingBar/components/SettingBreadcrumb.vue.d.ts +0 -2
  226. package/lib/layout/components/SettingBar/components/SettingCopyright.vue.d.ts +0 -2
  227. package/lib/layout/components/SettingBar/components/SettingEnableTransition.vue.d.ts +0 -2
  228. package/lib/layout/components/SettingBar/components/SettingHome.vue.d.ts +0 -2
  229. package/lib/layout/components/SettingBar/components/SettingMenu.vue.d.ts +0 -2
  230. package/lib/layout/components/SettingBar/components/SettingMode.vue.d.ts +0 -2
  231. package/lib/layout/components/SettingBar/components/SettingNavSearch.vue.d.ts +0 -2
  232. package/lib/layout/components/SettingBar/components/SettingOther.vue.d.ts +0 -2
  233. package/lib/layout/components/SettingBar/components/SettingPage.vue.d.ts +0 -2
  234. package/lib/layout/components/SettingBar/components/SettingTabbar.vue.d.ts +0 -2
  235. package/lib/layout/components/SettingBar/components/SettingThemes.vue.d.ts +0 -2
  236. package/lib/layout/components/SettingBar/components/SettingToolbar.vue.d.ts +0 -2
  237. package/lib/layout/components/SettingBar/components/SettingTopbar.vue.d.ts +0 -2
  238. package/lib/layout/components/SettingBar/components/SettingWidthMode.vue.d.ts +0 -2
  239. package/lib/layout/components/SettingBar/index.vue.d.ts +0 -2
  240. package/lib/layout/components/Sidebar/MainSidebar.vue.d.ts +0 -2
  241. package/lib/layout/components/Sidebar/SubSidebar.vue.d.ts +0 -2
  242. package/lib/layout/components/Sidebar/index.vue.d.ts +0 -2
  243. package/lib/layout/components/Tools/Breadcrumb/index.vue.d.ts +0 -17
  244. package/lib/layout/components/Tools/Breadcrumb/item.vue.d.ts +0 -25
  245. package/lib/layout/components/Tools/DayNightSwitch.vue.d.ts +0 -2
  246. package/lib/layout/components/Tools/HotkeysIntro.vue.d.ts +0 -4
  247. package/lib/layout/components/Tools/Preferences/PreferencesContent.vue.d.ts +0 -2
  248. package/lib/layout/components/Tools/Preferences/index.vue.d.ts +0 -4
  249. package/lib/layout/components/Tools/Search.vue.d.ts +0 -199
  250. package/lib/layout/components/Tools/index.vue.d.ts +0 -233
  251. package/lib/layout/components/Topbar/Tabbar/MoreAction.vue.d.ts +0 -217
  252. package/lib/layout/components/Topbar/Tabbar/index.vue.d.ts +0 -14
  253. package/lib/layout/components/Topbar/Toolbar/Favorites.vue.d.ts +0 -4
  254. package/lib/layout/components/Topbar/Toolbar/Star.vue.d.ts +0 -2
  255. package/lib/layout/components/Topbar/Toolbar/index.vue.d.ts +0 -2
  256. package/lib/layout/components/Topbar/index.vue.d.ts +0 -2
  257. package/lib/layout/composables/useContext.d.ts +0 -18
  258. package/lib/layout/composables/useGetComputedStyle.d.ts +0 -15
  259. package/lib/layout/composables/useHotkey.d.ts +0 -5
  260. package/lib/layout/composables/useMainPage.d.ts +0 -14
  261. package/lib/layout/composables/useMenu.d.ts +0 -8
  262. package/lib/layout/composables/useTabbar.d.ts +0 -14
  263. package/lib/layout/composables/useTitle.d.ts +0 -3
  264. package/lib/layout/composables/useViewTransition.d.ts +0 -3
  265. package/lib/layout/composables/useWatermark.d.ts +0 -4
  266. package/lib/layout/index.d.ts +0 -19
  267. package/lib/layout/provider.d.ts +0 -1
  268. package/lib/layout/ui-kit/HBadge.vue.d.ts +0 -20
  269. package/lib/layout/ui-kit/HButton.vue.d.ts +0 -26
  270. package/lib/layout/ui-kit/HCheckList.vue.d.ts +0 -20
  271. package/lib/layout/ui-kit/HDivider.vue.d.ts +0 -20
  272. package/lib/layout/ui-kit/HDropdown.vue.d.ts +0 -18
  273. package/lib/layout/ui-kit/HDropdownMenu.vue.d.ts +0 -26
  274. package/lib/layout/ui-kit/HDropdownTree.vue.d.ts +0 -32
  275. package/lib/layout/ui-kit/HInput.vue.d.ts +0 -17
  276. package/lib/layout/ui-kit/HKbd.vue.d.ts +0 -17
  277. package/lib/layout/ui-kit/HSelect.vue.d.ts +0 -17
  278. package/lib/layout/ui-kit/HTabList.vue.d.ts +0 -22
  279. package/lib/layout/ui-kit/HToggle.vue.d.ts +0 -14
  280. package/lib/layout/ui-kit/HTooltip.vue.d.ts +0 -23
  281. package/lib/locales/index.d.ts +0 -301
  282. package/lib/locales/lang/en.json.d.ts +0 -99
  283. package/lib/locales/lang/zh-cn.json.d.ts +0 -100
  284. package/lib/locales/lang/zh-tw.json.d.ts +0 -100
  285. package/lib/locales/ui.d.ts +0 -3
  286. package/lib/modules.d.ts +0 -11
  287. package/lib/notification-IZqPm_OK.cjs +0 -199
  288. package/lib/pages/personal/profile/index.vue.d.ts +0 -2
  289. package/lib/pages/system/[...all].vue.d.ts +0 -2
  290. package/lib/pages/system/change-organization/index.vue.d.ts +0 -2
  291. package/lib/pages/system/change-password/components/ChangePasswordForm/index.vue.d.ts +0 -18
  292. package/lib/pages/system/change-password/index.vue.d.ts +0 -31
  293. package/lib/pages/system/index.vue.d.ts +0 -2
  294. package/lib/pages/system/not-permission/index.vue.d.ts +0 -2
  295. package/lib/pages/system/reload.vue.d.ts +0 -2
  296. package/lib/pick-y2yLda1R.cjs +0 -1
  297. package/lib/question-line-Cd0CU4hr.cjs +0 -1
  298. package/lib/reload-6L7Dzs7h.cjs +0 -1
  299. package/lib/request.cjs +0 -6
  300. package/lib/right-C5JQ_uRB.cjs +0 -1
  301. package/lib/route/async.d.ts +0 -9
  302. package/lib/route/guard/auth.d.ts +0 -3
  303. package/lib/route/guard/basic.d.ts +0 -3
  304. package/lib/route/guard/index.d.ts +0 -3
  305. package/lib/route/guard/setting.d.ts +0 -3
  306. package/lib/route/index.d.ts +0 -7
  307. package/lib/route/routes.d.ts +0 -3
  308. package/lib/stores/enum/index.d.ts +0 -20
  309. package/lib/stores/helper.d.ts +0 -2
  310. package/lib/stores/index.d.ts +0 -5
  311. package/lib/stores/modules/iframe.d.ts +0 -41
  312. package/lib/stores/modules/index.d.ts +0 -9
  313. package/lib/stores/modules/keepAlive.d.ts +0 -23
  314. package/lib/stores/modules/menu.d.ts +0 -32
  315. package/lib/stores/modules/notification.d.ts +0 -18
  316. package/lib/stores/modules/route.d.ts +0 -42
  317. package/lib/stores/modules/user.d.ts +0 -3
  318. package/lib/stores/plugin/persist.d.ts +0 -5
  319. package/lib/stores/plugin/sideEffect/cleanup.d.ts +0 -5
  320. package/lib/stores/plugin/sideEffect/favoritesStorage.d.ts +0 -5
  321. package/lib/stores/plugin/sideEffect/iframeCache.d.ts +0 -5
  322. package/lib/stores/plugin/sideEffect/index.d.ts +0 -5
  323. package/lib/stores/plugin/sideEffect/tabbarStorage.d.ts +0 -5
  324. package/lib/style.css +0 -9
  325. package/lib/utils/cleanup.d.ts +0 -8
  326. package/lib/utils/crypto.d.ts +0 -4
  327. package/lib/utils/eventBus.d.ts +0 -5
  328. package/lib/utils/injectionKeys.d.ts +0 -2
  329. package/lib/utils/storage.d.ts +0 -21
  330. package/lib/utils/utils.d.ts +0 -3
  331. package/lib/utils/watermark.d.ts +0 -51
  332. package/src/assets/icons/add-child.svg +0 -1
  333. package/src/assets/icons/authority.svg +0 -1
  334. package/src/assets/icons/authorize.svg +0 -1
  335. package/src/assets/icons/blacklist-disable.svg +0 -1
  336. package/src/assets/icons/blacklist-enable.svg +0 -1
  337. package/src/assets/icons/browser-360.svg +0 -1
  338. package/src/assets/icons/browser-chrome.svg +0 -1
  339. package/src/assets/icons/browser-edge.svg +0 -1
  340. package/src/assets/icons/browser-ie.svg +0 -1
  341. package/src/assets/icons/browser-other.svg +0 -1
  342. package/src/assets/icons/browser-qq.svg +0 -1
  343. package/src/assets/icons/browser-safari.svg +0 -1
  344. package/src/assets/icons/browser-uc.svg +0 -1
  345. package/src/assets/icons/edit.svg +0 -1
  346. package/src/assets/icons/empty-data.svg +0 -1
  347. package/src/assets/icons/icard.svg +0 -1
  348. package/src/assets/icons/icon_animation.svg +0 -1
  349. package/src/assets/icons/icon_breadcrumb.svg +0 -1
  350. package/src/assets/icons/icon_copyright.svg +0 -1
  351. package/src/assets/icons/icon_jt.svg +0 -1
  352. package/src/assets/icons/icon_layout.svg +0 -1
  353. package/src/assets/icons/icon_mainpage.svg +0 -1
  354. package/src/assets/icons/icon_menu.svg +0 -1
  355. package/src/assets/icons/icon_page_size.svg +0 -1
  356. package/src/assets/icons/icon_position_type.svg +0 -1
  357. package/src/assets/icons/icon_safe_manage.svg +0 -1
  358. package/src/assets/icons/icon_screen_scale.svg +0 -6
  359. package/src/assets/icons/icon_system_manage.svg +0 -1
  360. package/src/assets/icons/icon_tabbar.svg +0 -1
  361. package/src/assets/icons/icon_toolbar.svg +0 -1
  362. package/src/assets/icons/icon_topbar.svg +0 -1
  363. package/src/assets/icons/icon_watermark.svg +0 -1
  364. package/src/assets/icons/image-load-fail.svg +0 -1
  365. package/src/assets/icons/log-center.svg +0 -1
  366. package/src/assets/icons/logo-sig.svg +0 -1
  367. package/src/assets/icons/not-data.svg +0 -1
  368. package/src/assets/icons/org-main.svg +0 -1
  369. package/src/assets/icons/org-unmain.svg +0 -1
  370. package/src/assets/icons/process-management.svg +0 -1
  371. package/src/assets/icons/project-management.svg +0 -1
  372. package/src/assets/icons/rbac.svg +0 -1
  373. package/src/assets/icons/remove.svg +0 -1
  374. package/src/assets/icons/resource-app.svg +0 -1
  375. package/src/assets/icons/resource-btn.svg +0 -1
  376. package/src/assets/icons/resource-index.svg +0 -1
  377. package/src/assets/icons/resource-menu.svg +0 -1
  378. package/src/assets/icons/resource-nonmenu.svg +0 -1
  379. package/src/assets/icons/setting-manage.svg +0 -1
  380. package/src/assets/icons/test.svg +0 -1
  381. package/src/assets/icons/theme-check-mark.svg +0 -1
  382. package/src/assets/icons/theme-title.svg +0 -1
  383. package/src/assets/icons/tree_icon.svg +0 -1
  384. package/src/assets/icons/tree_icon_checked.svg +0 -1
  385. package/src/assets/icons/view.svg +0 -1
  386. package/src/assets/icons/workbench.svg +0 -1
  387. package/src/assets/icons/zddata.svg +0 -1
  388. package/src/assets/icons/zy_checked.svg +0 -1
  389. package/src/assets/icons/zy_default.svg +0 -1
  390. package/src/assets/images/layout/item1.webp +0 -0
  391. package/src/assets/images/layout/item1_dark.webp +0 -0
  392. package/src/assets/images/layout/item2.webp +0 -0
  393. package/src/assets/images/layout/item2_dark.webp +0 -0
  394. package/src/assets/images/layout/item3.webp +0 -0
  395. package/src/assets/images/layout/item3_dark.webp +0 -0
  396. package/src/assets/images/layout/item4.webp +0 -0
  397. package/src/assets/images/layout/item4_dark.webp +0 -0
  398. package/src/assets/images/layout/item5.webp +0 -0
  399. package/src/assets/images/layout/item5_dark.webp +0 -0
  400. package/src/assets/images/page-width/anto_min_w_dark.webp +0 -0
  401. package/src/assets/images/page-width/auto.webp +0 -0
  402. package/src/assets/images/page-width/auto_dark.webp +0 -0
  403. package/src/assets/images/page-width/auto_min_w.webp +0 -0
  404. package/src/assets/images/page-width/auto_min_w_dark.webp +0 -0
  405. package/src/assets/images/page-width/icon_auto.webp +0 -0
  406. package/src/assets/images/page-width/icon_auto_dark.webp +0 -0
  407. package/src/assets/images/page-width/icon_auto_min_w.webp +0 -0
  408. package/src/assets/images/page-width/icon_auto_min_w_dark.webp +0 -0
  409. package/src/assets/images/page-width/icon_middle.webp +0 -0
  410. package/src/assets/images/page-width/icon_middle_dark.webp +0 -0
  411. package/src/assets/images/page-width/icon_middle_max_w.webp +0 -0
  412. package/src/assets/images/page-width/icon_middle_max_w_dark.webp +0 -0
  413. package/src/assets/images/page-width/middle.webp +0 -0
  414. package/src/assets/images/page-width/middle_dark.webp +0 -0
  415. package/src/assets/images/page-width/middle_max_w.webp +0 -0
  416. package/src/assets/images/page-width/middle_max_w_dark.webp +0 -0
  417. package/src/layout/components/Tools/I18nSelector.vue +0 -52
  418. package/src/layout/components/Tools/Notification.vue +0 -152
  419. package/src/pages/personal/notification.vue +0 -58
  420. package/src/pages/system/change-password/page.vue +0 -58
  421. package/src/pages/system/index.vue +0 -5
  422. package/src/route/async.ts +0 -18
  423. package/src/stores/modules/notification.ts +0 -34
  424. package/{es → dist}/HButton.vue_vue_type_script_setup_true_lang-CYAzn9Mg.js +0 -0
  425. package/{es → dist}/HDivider-DgXBhPr0.js +0 -0
  426. package/{es → dist}/HInput.vue_vue_type_script_setup_true_lang-DBqCXRnn.js +0 -0
  427. package/{es → dist}/HToggle-Cd71WKvG.js +0 -0
  428. package/{es → dist}/_plugin-vue_export-helper-CHgC5LLL.js +0 -0
  429. package/{es → dist}/api/enum/code.d.ts +0 -0
  430. package/{es → dist}/api/helper.d.ts +0 -0
  431. package/{es → dist}/api/interface.d.ts +0 -0
  432. package/{es → dist}/api/modules/auth/index.d.ts +0 -0
  433. package/{es → dist}/api/modules/auth/renzhengfuwu.d.ts +0 -0
  434. package/{es → dist}/api/modules/configData/heibaimingdanfuwu.d.ts +0 -0
  435. package/{es → dist}/api/modules/configData/index.d.ts +0 -0
  436. package/{es → dist}/api/modules/configData/xitongpeizhifuwu.d.ts +0 -0
  437. package/{es → dist}/api/modules/configData/zidianfuwu.d.ts +0 -0
  438. package/{es → dist}/api/modules/rbac/gangweijiekou.d.ts +0 -0
  439. package/{es → dist}/api/modules/rbac/index.d.ts +0 -0
  440. package/{es → dist}/api/modules/rbac/jiaosejiekou.d.ts +0 -0
  441. package/{es → dist}/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +0 -0
  442. package/{es → dist}/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +0 -0
  443. package/{es → dist}/api/modules/rbac/yonghujiekou.d.ts +0 -0
  444. package/{es → dist}/api/modules/rbac/yonghushoucangbiaojiekou.d.ts +0 -0
  445. package/{es → dist}/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +0 -0
  446. package/{es → dist}/api/modules/rbac/ziyuanjiekou.d.ts +0 -0
  447. package/{es → dist}/api/modules/rbac/zuhuguanlijiekou.d.ts +0 -0
  448. package/{es → dist}/api/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +0 -0
  449. package/{es → dist}/api/modules/rbac/zuzhijiekou.d.ts +0 -0
  450. package/{es → dist}/api/request.d.ts +0 -0
  451. package/{es → dist}/api/system/app.d.ts +0 -0
  452. package/{es → dist}/api/system/user.d.ts +0 -0
  453. package/{es → dist}/assets/styles/index.d.ts +0 -0
  454. package/{es → dist}/components/NotAllowed/index.vue.d.ts +0 -0
  455. package/{es → dist}/components/PageHeader/index.vue.d.ts +0 -0
  456. package/{es → dist}/components/PageMain/index.vue.d.ts +0 -0
  457. package/{es → dist}/components/PassStrengthValidator/index.vue.d.ts +2 -2
  458. package/{es → dist}/components/PassStrengthValidator/rule.vue.d.ts +0 -0
  459. package/{es → dist}/components/PubinfoApp/index.vue.d.ts +0 -0
  460. package/{es → dist}/components/PubinfoIcon/index.vue.d.ts +0 -0
  461. package/{es → dist}/components/index.d.ts +0 -0
  462. package/{es → dist}/composables/index.d.ts +0 -0
  463. package/{es → dist}/composables/log.d.ts +0 -0
  464. package/{es → dist}/composables/theme.d.ts +0 -0
  465. package/{es → dist}/composables/watchDiff.d.ts +0 -0
  466. package/{es → dist}/config/index.d.ts +0 -0
  467. package/{es → dist}/config/settings.d.ts +0 -0
  468. package/{es → dist}/create.d.ts +0 -0
  469. package/{es → dist}/directives/index.d.ts +0 -0
  470. package/{es → dist}/directives/plugins/permission.d.ts +0 -0
  471. package/{es → dist}/layout/components/BackTop/index.vue.d.ts +0 -0
  472. package/{es → dist}/layout/components/Content/IframeView.vue.d.ts +0 -0
  473. package/{es → dist}/layout/components/Content/LinkView.vue.d.ts +0 -0
  474. package/{es → dist}/layout/components/Content/index.vue.d.ts +0 -0
  475. package/{es → dist}/layout/components/Copyright/index.vue.d.ts +0 -0
  476. package/{es → dist}/layout/components/Header/TopMode/More.vue.d.ts +0 -0
  477. package/{es → dist}/layout/components/Header/TopMode/NotCursor.vue.d.ts +0 -0
  478. package/{es → dist}/layout/components/Header/TopMode/index.vue.d.ts +0 -0
  479. package/{es → dist}/layout/components/Header/TopThinMode.vue.d.ts +0 -0
  480. package/{es → dist}/layout/components/Header/index.vue.d.ts +0 -0
  481. package/{es → dist}/layout/components/Logo/index.vue.d.ts +0 -0
  482. package/{es → dist}/layout/components/Menu/index.vue.d.ts +0 -0
  483. package/{es → dist}/layout/components/Menu/item.vue.d.ts +0 -0
  484. package/{es → dist}/layout/components/Menu/sub.vue.d.ts +0 -0
  485. package/{es → dist}/layout/components/Menu/types.d.ts +0 -0
  486. package/{es → dist}/layout/components/SettingBar/AppSetting.vue.d.ts +0 -0
  487. package/{es → dist}/layout/components/SettingBar/components/DayNightToggle.vue.d.ts +0 -0
  488. package/{es → dist}/layout/components/SettingBar/components/SettingBreadcrumb.vue.d.ts +0 -0
  489. package/{es → dist}/layout/components/SettingBar/components/SettingCopyright.vue.d.ts +0 -0
  490. package/{es → dist}/layout/components/SettingBar/components/SettingEnableTransition.vue.d.ts +0 -0
  491. package/{es → dist}/layout/components/SettingBar/components/SettingHome.vue.d.ts +0 -0
  492. package/{es → dist}/layout/components/SettingBar/components/SettingMenu.vue.d.ts +0 -0
  493. package/{es → dist}/layout/components/SettingBar/components/SettingMode.vue.d.ts +0 -0
  494. package/{es → dist}/layout/components/SettingBar/components/SettingNavSearch.vue.d.ts +0 -0
  495. package/{es → dist}/layout/components/SettingBar/components/SettingOther.vue.d.ts +0 -0
  496. package/{es → dist}/layout/components/SettingBar/components/SettingPage.vue.d.ts +0 -0
  497. package/{es → dist}/layout/components/SettingBar/components/SettingTabbar.vue.d.ts +0 -0
  498. package/{es → dist}/layout/components/SettingBar/components/SettingThemes.vue.d.ts +0 -0
  499. package/{es → dist}/layout/components/SettingBar/components/SettingToolbar.vue.d.ts +0 -0
  500. package/{es → dist}/layout/components/SettingBar/components/SettingTopbar.vue.d.ts +0 -0
  501. package/{es → dist}/layout/components/SettingBar/components/SettingWidthMode.vue.d.ts +0 -0
  502. package/{es → dist}/layout/components/SettingBar/index.vue.d.ts +0 -0
  503. package/{es → dist}/layout/components/Sidebar/MainSidebar.vue.d.ts +0 -0
  504. package/{es → dist}/layout/components/Sidebar/SubSidebar.vue.d.ts +0 -0
  505. package/{es → dist}/layout/components/Sidebar/index.vue.d.ts +0 -0
  506. package/{es → dist}/layout/components/Tools/Breadcrumb/index.vue.d.ts +0 -0
  507. package/{es → dist}/layout/components/Tools/Breadcrumb/item.vue.d.ts +0 -0
  508. package/{es → dist}/layout/components/Tools/DayNightSwitch.vue.d.ts +0 -0
  509. package/{es → dist}/layout/components/Tools/HotkeysIntro.vue.d.ts +0 -0
  510. package/{es → dist}/layout/components/Tools/Preferences/PreferencesContent.vue.d.ts +0 -0
  511. package/{es → dist}/layout/components/Tools/Preferences/index.vue.d.ts +0 -0
  512. package/{es → dist}/layout/components/Tools/Search.vue.d.ts +0 -0
  513. package/{es → dist}/layout/components/Tools/index.vue.d.ts +0 -0
  514. package/{es → dist}/layout/components/Topbar/Tabbar/MoreAction.vue.d.ts +0 -0
  515. package/{es → dist}/layout/components/Topbar/Tabbar/index.vue.d.ts +0 -0
  516. package/{es → dist}/layout/components/Topbar/Toolbar/Favorites.vue.d.ts +0 -0
  517. package/{es → dist}/layout/components/Topbar/Toolbar/Star.vue.d.ts +0 -0
  518. package/{es → dist}/layout/components/Topbar/Toolbar/index.vue.d.ts +0 -0
  519. package/{es → dist}/layout/components/Topbar/index.vue.d.ts +0 -0
  520. package/{es → dist}/layout/composables/useGetComputedStyle.d.ts +0 -0
  521. package/{es → dist}/layout/composables/useHotkey.d.ts +0 -0
  522. package/{es → dist}/layout/composables/useMainPage.d.ts +0 -0
  523. package/{es → dist}/layout/composables/useMenu.d.ts +0 -0
  524. package/{es → dist}/layout/composables/useTabbar.d.ts +0 -0
  525. package/{es → dist}/layout/composables/useTitle.d.ts +0 -0
  526. package/{es → dist}/layout/composables/useViewTransition.d.ts +0 -0
  527. package/{es → dist}/layout/composables/useWatermark.d.ts +0 -0
  528. package/{es → dist}/layout/index.d.ts +0 -0
  529. package/{es → dist}/layout/provider.d.ts +0 -0
  530. package/{es → dist}/layout/ui-kit/HBadge.vue.d.ts +0 -0
  531. package/{es → dist}/layout/ui-kit/HButton.vue.d.ts +0 -0
  532. package/{es → dist}/layout/ui-kit/HCheckList.vue.d.ts +2 -2
  533. /package/{es → dist}/layout/ui-kit/HDivider.vue.d.ts +0 -0
  534. /package/{es → dist}/layout/ui-kit/HDropdown.vue.d.ts +0 -0
  535. /package/{es → dist}/layout/ui-kit/HDropdownMenu.vue.d.ts +0 -0
  536. /package/{es → dist}/layout/ui-kit/HDropdownTree.vue.d.ts +0 -0
  537. /package/{es → dist}/layout/ui-kit/HInput.vue.d.ts +0 -0
  538. /package/{es → dist}/layout/ui-kit/HKbd.vue.d.ts +0 -0
  539. /package/{es → dist}/layout/ui-kit/HSelect.vue.d.ts +0 -0
  540. /package/{es → dist}/layout/ui-kit/HToggle.vue.d.ts +0 -0
  541. /package/{es → dist}/layout/ui-kit/HTooltip.vue.d.ts +0 -0
  542. /package/{es → dist}/locales/index.d.ts +0 -0
  543. /package/{es → dist}/locales/lang/en.json.d.ts +0 -0
  544. /package/{es → dist}/locales/lang/zh-cn.json.d.ts +0 -0
  545. /package/{es → dist}/locales/lang/zh-tw.json.d.ts +0 -0
  546. /package/{es → dist}/locales/ui.d.ts +0 -0
  547. /package/{es → dist}/modules.d.ts +0 -0
  548. /package/{es → dist}/pages/personal/profile/index.vue.d.ts +0 -0
  549. /package/{es → dist}/pages/system/[...all].vue.d.ts +0 -0
  550. /package/{es → dist}/pages/system/change-organization/index.vue.d.ts +0 -0
  551. /package/{es → dist}/pages/system/change-password/components/ChangePasswordForm/index.vue.d.ts +0 -0
  552. /package/{es → dist}/pages/system/change-password/index.vue.d.ts +0 -0
  553. /package/{es/pages/system → dist/pages/system/not-permission}/index.vue.d.ts +0 -0
  554. /package/{es → dist}/pages/system/reload.vue.d.ts +0 -0
  555. /package/{es → dist}/question-line-CfkciTFq.js +0 -0
  556. /package/{es → dist}/reload-CUcPYtl7.js +0 -0
  557. /package/{es → dist}/right-Bfe2p1o0.js +0 -0
  558. /package/{es → dist}/route/guard/auth.d.ts +0 -0
  559. /package/{es → dist}/route/guard/basic.d.ts +0 -0
  560. /package/{es → dist}/route/guard/index.d.ts +0 -0
  561. /package/{es → dist}/route/guard/setting.d.ts +0 -0
  562. /package/{es → dist}/stores/enum/index.d.ts +0 -0
  563. /package/{es → dist}/stores/helper.d.ts +0 -0
  564. /package/{es → dist}/stores/index.d.ts +0 -0
  565. /package/{es → dist}/stores/plugin/persist.d.ts +0 -0
  566. /package/{es → dist}/stores/plugin/sideEffect/cleanup.d.ts +0 -0
  567. /package/{es → dist}/stores/plugin/sideEffect/favoritesStorage.d.ts +0 -0
  568. /package/{es → dist}/stores/plugin/sideEffect/iframeCache.d.ts +0 -0
  569. /package/{es → dist}/stores/plugin/sideEffect/index.d.ts +0 -0
  570. /package/{es → dist}/stores/plugin/sideEffect/tabbarStorage.d.ts +0 -0
  571. /package/{es → dist}/utils/cleanup.d.ts +0 -0
  572. /package/{es → dist}/utils/crypto.d.ts +0 -0
  573. /package/{es → dist}/utils/eventBus.d.ts +0 -0
  574. /package/{es → dist}/utils/injectionKeys.d.ts +0 -0
  575. /package/{es → dist}/utils/storage.d.ts +0 -0
  576. /package/{es → dist}/utils/utils.d.ts +0 -0
  577. /package/{es → dist}/utils/watermark.d.ts +0 -0
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" class="design-iconfont" viewBox="0 0 20 21"><g clip-path="url(#a)"><g filter="url(#b)"><rect width="14.716" height="14.857" x="2.643" y="2.747" fill="#D9D9D9" rx="2"/><rect width="14.716" height="14.857" x="2.643" y="2.747" fill="url(#c)" rx="2"/><rect width="14.716" height="14.857" x="2.643" y="2.747" fill="url(#d)" rx="2"/><rect width="14.716" height="14.857" x="2.643" y="2.747" fill="url(#e)" rx="2"/></g><path fill="#fff" d="M3.963 5.304a1 1 0 0 1 1-1h10.075a1 1 0 0 1 1 1v3.344H3.963zm0 10.013a1 1 0 0 0 1 1h2.082v-6.204H3.963zm4.633 1h6.442a1 1 0 0 0 1-1v-5.204H8.596z" opacity=".5"/></g><defs><linearGradient id="c" x1="10.001" x2="10.001" y1="2.747" y2="17.604" gradientUnits="userSpaceOnUse"><stop stop-color="#54CCFF"/><stop offset="1" stop-color="#1B69FF"/></linearGradient><linearGradient id="d" x1="18.956" x2="11.108" y1="7.007" y2="18.368" gradientUnits="userSpaceOnUse"><stop stop-color="#AAFFB8" stop-opacity=".68"/><stop offset=".397" stop-color="#48FF65" stop-opacity="0"/></linearGradient><linearGradient id="e" x1="16.279" x2="3.573" y1="7.276" y2="17.087" gradientUnits="userSpaceOnUse"><stop offset=".51" stop-color="#A244FF" stop-opacity="0"/><stop offset=".978" stop-color="#A244FF"/></linearGradient><clipPath id="a"><path fill="#fff" d="M0 .175h20v20H0z"/></clipPath><filter id="b" width="18.716" height="18.857" x=".643" y="1.747" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dy="1"/><feGaussianBlur stdDeviation="1"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix values="0 0 0 0 0.215686 0 0 0 0 0.6 0 0 0 0 1 0 0 0 0.4 0"/><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_32_8306"/><feBlend in="SourceGraphic" in2="effect1_dropShadow_32_8306" result="shape"/></filter></defs></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="23" height="26" fill="none"><path fill="url(#a)" d="M9.258 1.155a4 4 0 0 1 4 0l7.259 4.19a4 4 0 0 1 2 3.464v8.382a4 4 0 0 1-2 3.464l-7.259 4.19a4 4 0 0 1-4 0L2 20.655a4 4 0 0 1-2-3.464V8.809a4 4 0 0 1 2-3.464z"/><path fill="url(#b)" d="M9.258 1.155a4 4 0 0 1 4 0l7.259 4.19a4 4 0 0 1 2 3.464v8.382a4 4 0 0 1-2 3.464l-7.259 4.19a4 4 0 0 1-4 0L2 20.655a4 4 0 0 1-2-3.464V8.809a4 4 0 0 1 2-3.464z"/><path fill="#fff" d="M11.43 11.05c1.209 0 2.213.83 2.5 1.947h2.326q.001-.138-.005-.276a.67.67 0 0 1 .261-.564l.44-.328a.725.725 0 0 0 .247-1.009l-1.06-1.824a.86.86 0 0 0-.462-.353.74.74 0 0 0-.543.056l-.518.215a.66.66 0 0 1-.599-.051 6 6 0 0 0-.487-.272.64.64 0 0 1-.353-.481l-.082-.528a.75.75 0 0 0-.764-.707h-2.136a.77.77 0 0 0-.763.707l-.082.553a.65.65 0 0 1-.359.487 4 4 0 0 0-.456.256.66.66 0 0 1-.61.062l-.538-.215c-.353-.19-.789-.057-1.009.297l-1.06 1.829a.773.773 0 0 0 .246 1.009l.44.328c.18.133.277.343.261.563q-.015.255 0 .508a.66.66 0 0 1-.26.563l-.441.323a.724.724 0 0 0-.246 1.01l1.06 1.823a.86.86 0 0 0 .461.354c.19.056.38.025.543-.057l.518-.215a.66.66 0 0 1 .6.051q.229.145.465.267a.66.66 0 0 1 .349.481l.087.559c.026.41.353.707.763.707h.615v-2.977a2.58 2.58 0 0 1-1.947-2.5 2.604 2.604 0 0 1 2.598-2.597m5.133 2.593h-3.827c-.353 0-.66.277-.666.63a.64.64 0 0 0 .64.65h3.828c.353 0 .66-.276.666-.63a.636.636 0 0 0-.64-.65m0 3.853h-3.827c-.353 0-.66.276-.666.63a.64.64 0 0 0 .64.65h3.828c.353 0 .66-.276.666-.63a.636.636 0 0 0-.64-.65m0-1.927h-3.827c-.353 0-.66.277-.666.63a.64.64 0 0 0 .64.651h3.828c.353 0 .66-.277.666-.63a.636.636 0 0 0-.64-.65"/><defs><linearGradient id="a" x1="11.258" x2="11.258" y1="0" y2="26" gradientUnits="userSpaceOnUse"><stop stop-color="#B3B7BF"/><stop offset="1" stop-color="#969AA1"/></linearGradient><linearGradient id="b" x1="11.258" x2="11.258" y1="0" y2="26" gradientUnits="userSpaceOnUse"><stop stop-color="#FFC148"/><stop offset="1" stop-color="#EB7939"/></linearGradient></defs></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 14 14"><path fill="#485270" fill-rule="evenodd" d="M7.527 9.331a5 5 0 0 0 1.49-1.319 2 2 0 0 1-.273-.661l-.019-.088a1.29 1.29 0 0 0-1.042-.998c-2.072-.36-2.072-3.334 0-3.695a1.29 1.29 0 0 0 1.03-.948 5 5 0 1 0-6.187 7.709V10.5a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1V9.331Zm-5 3.919a.75.75 0 0 1 .75-.75h3.5a.75.75 0 0 1 0 1.5h-3.5a.75.75 0 0 1-.75-.75m7.28-11.533C9.99.881 11.18.876 11.37 1.71l.009.04.018.078a2.4 2.4 0 0 0 1.921 1.812c.872.152.872 1.404 0 1.556a2.4 2.4 0 0 0-1.925 1.827l-.023.102c-.19.835-1.381.83-1.565-.007l-.019-.087A2.38 2.38 0 0 0 7.87 5.194c-.871-.151-.871-1.401 0-1.553a2.38 2.38 0 0 0 1.915-1.826L9.8 1.75z" clip-rule="evenodd"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" class="design-iconfont" viewBox="0 0 20 21"><path fill="#4080FF" d="M10 3.401a7.209 7.209 0 1 0 0 14.418 7.209 7.209 0 1 0 0-14.418"/><path stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m7.364 10.205 2.028 2.028 3.244-3.244"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" class="design-iconfont" viewBox="0 0 23 24"><g filter="url(#a)"><path fill="url(#b)" d="M11.473 3.504C7.353 3.504 4 6.869 4 11.004c0 4.132 3.352 7.493 7.473 7.493.986 0 1.791-.803 1.791-1.79 0-.453-.166-.892-.436-1.162-.119-.145-.141-.224-.141-.322 0-.27.22-.49.49-.49h1.368c2.453 0 4.448-2.013 4.448-4.491-.057-3.715-3.432-6.738-7.52-6.738" shape-rendering="crispEdges"/></g><path fill="#000" d="M14.543 13.956h-1.368c-.698 0-1.266.569-1.266 1.267 0 .297.098.55.324.821l.033.037c.137.137.222.378.222.626 0 .559-.455 1.014-1.016 1.014-3.693 0-6.699-3.013-6.699-6.717 0-3.708 3.005-6.725 6.7-6.725 3.668 0 6.694 2.68 6.744 5.97 0 2.043-1.647 3.707-3.674 3.707"/><path fill="url(#c)" d="M14.543 13.956h-1.368c-.698 0-1.266.569-1.266 1.267 0 .297.098.55.324.821l.033.037c.137.137.222.378.222.626 0 .559-.455 1.014-1.016 1.014-3.693 0-6.699-3.013-6.699-6.717 0-3.708 3.005-6.725 6.7-6.725 3.668 0 6.694 2.68 6.744 5.97 0 2.043-1.647 3.707-3.674 3.707"/><g filter="url(#d)"><rect width="2.307" height="2.307" fill="#fff" rx="1.153" transform="matrix(-1 0 0 1 8.654 9.006)"/></g><g filter="url(#e)"><rect width="2.307" height="2.307" fill="#fff" rx="1.153" transform="matrix(-1 0 0 1 16.654 9.006)"/></g><g filter="url(#f)"><rect width="2.307" height="2.307" fill="#fff" rx="1.153" transform="matrix(-1 0 0 1 14.654 6.006)"/></g><g filter="url(#g)"><rect width="2.307" height="2.307" fill="#fff" rx="1.153" transform="matrix(-1 0 0 1 10.654 6.006)"/></g><defs><filter id="a" width="22.993" height="22.993" x="0" y=".504" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dy="1"/><feGaussianBlur stdDeviation="2"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix values="0 0 0 0 0.0885876 0 0 0 0 0.240744 0 0 0 0 0.626988 0 0 0 0.2 0"/><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_188_20759"/><feBlend in="SourceGraphic" in2="effect1_dropShadow_188_20759" result="shape"/></filter><filter id="d" width="6.307" height="6.307" x="4.348" y="8.006" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dy="1"/><feGaussianBlur stdDeviation="1"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix values="0 0 0 0 0.0885876 0 0 0 0 0.240744 0 0 0 0 0.626988 0 0 0 0.4 0"/><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_188_20759"/><feBlend in="SourceGraphic" in2="effect1_dropShadow_188_20759" result="shape"/></filter><filter id="e" width="6.307" height="6.307" x="12.348" y="8.006" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dy="1"/><feGaussianBlur stdDeviation="1"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix values="0 0 0 0 0.0885876 0 0 0 0 0.240744 0 0 0 0 0.626988 0 0 0 0.4 0"/><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_188_20759"/><feBlend in="SourceGraphic" in2="effect1_dropShadow_188_20759" result="shape"/></filter><filter id="f" width="6.307" height="6.307" x="10.348" y="5.006" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dy="1"/><feGaussianBlur stdDeviation="1"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix values="0 0 0 0 0.0885876 0 0 0 0 0.240744 0 0 0 0 0.626988 0 0 0 0.4 0"/><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_188_20759"/><feBlend in="SourceGraphic" in2="effect1_dropShadow_188_20759" result="shape"/></filter><filter id="g" width="6.307" height="6.307" x="6.348" y="5.006" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dy="1"/><feGaussianBlur stdDeviation="1"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix values="0 0 0 0 0.0885876 0 0 0 0 0.240744 0 0 0 0 0.626988 0 0 0 0.4 0"/><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_188_20759"/><feBlend in="SourceGraphic" in2="effect1_dropShadow_188_20759" result="shape"/></filter><linearGradient id="b" x1="11.497" x2="11.497" y1="3.504" y2="18.497" gradientUnits="userSpaceOnUse"><stop stop-color="#fff"/><stop offset="1" stop-color="#fff" stop-opacity=".38"/></linearGradient><linearGradient id="c" x1="11.495" x2="11.495" y1="4.279" y2="17.721" gradientUnits="userSpaceOnUse"><stop stop-color="#89AAFC"/><stop offset="1" stop-color="#DFEAFF"/></linearGradient></defs></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" class="design-iconfont" viewBox="0 0 17 16"><path fill="#4E5969" fill-rule="evenodd" d="M4.572 2.666V12.89l4.333-2.311 4.333 2.31V2.667zm-1.334-.333a1 1 0 0 1 1-1h9.334a1 1 0 0 1 1 1v11.556c0 .553-.59.907-1.079.647l-4.588-2.447-4.588 2.447a.733.733 0 0 1-1.079-.647z" clip-rule="evenodd"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" class="design-iconfont" viewBox="0 0 17 16"><path fill="url(#a)" fill-rule="evenodd" d="M2.73 2.333a1 1 0 0 1 1-1h9.334a1 1 0 0 1 1 1v11.556c0 .553-.59.907-1.079.647l-4.588-2.447-4.588 2.447a.733.733 0 0 1-1.079-.647z" clip-rule="evenodd"/><path fill="url(#b)" fill-rule="evenodd" d="M5.063 2.665a1 1 0 0 0-1 1v7.558a1 1 0 0 0 1.47.883l2.393-1.277a1 1 0 0 1 .942 0l2.393 1.277a1 1 0 0 0 1.47-.883V3.665a1 1 0 0 0-1-1z" clip-rule="evenodd"/><g fill-rule="evenodd" clip-rule="evenodd" filter="url(#c)"><path fill="url(#d)" d="M10.933 4.935a.5.5 0 0 0-.743-.053l-2.464 2.39-1.068-1.116a.5.5 0 0 0-.715-.007l-.285.285a.5.5 0 0 0-.008.7l1.688 1.762a.5.5 0 0 0 .715.008l.323-.323.036-.032 2.718-2.634a.5.5 0 0 0 .047-.666z"/><path fill="#fff" d="M10.933 4.935a.5.5 0 0 0-.743-.053l-2.464 2.39-1.068-1.116a.5.5 0 0 0-.715-.007l-.285.285a.5.5 0 0 0-.008.7l1.688 1.762a.5.5 0 0 0 .715.008l.323-.323.036-.032 2.718-2.634a.5.5 0 0 0 .047-.666z"/></g><defs><linearGradient id="a" x1="8.397" x2="8.397" y1="1.333" y2="14.623" gradientUnits="userSpaceOnUse"><stop stop-color="#FFB13C"/><stop offset="1" stop-color="#FD6D2F"/></linearGradient><linearGradient id="b" x1="8.397" x2="8.397" y1="2.665" y2="12.89" gradientUnits="userSpaceOnUse"><stop stop-color="#fff" stop-opacity=".4"/><stop offset="1" stop-color="#fff" stop-opacity=".56"/></linearGradient><linearGradient id="d" x1="11.027" x2="6.495" y1="3.523" y2="8.054" gradientUnits="userSpaceOnUse"><stop stop-color="#FFB13C"/><stop offset="1" stop-color="#FD6D2F"/></linearGradient><filter id="c" width="9.77" height="8.309" x="3.512" y="3.741" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dy="1"/><feGaussianBlur stdDeviation="1"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix values="0 0 0 0 1 0 0 0 0 0.369275 0 0 0 0 0.0144928 0 0 0 0.66 0"/><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_117_9764"/><feBlend in="SourceGraphic" in2="effect1_dropShadow_117_9764" result="shape"/></filter></defs></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" class="design-iconfont" viewBox="0 0 16 17"><rect width="3.773" height="1.5" x="13.66" y="14.82" fill="#165DFF" rx=".75" transform="rotate(-135 13.66 14.82)"/><rect width="10.102" height="10.102" x="2.178" y="2.353" stroke="#165DFF" rx="5.051"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24"><defs><linearGradient id="b" x1="24.065%" x2="100%" y1="0%" y2="100%"><stop offset="0%" stop-color="#FFC758"/><stop offset="100%" stop-color="#FFB92B"/></linearGradient><rect id="a" width="24" height="24" x="0" y="0" rx="8"/></defs><g fill="none" fill-rule="evenodd"><use xlink:href="#a" fill="url(#b)"/><path fill="#FFF" d="M17 6a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-4.4v1.801H14a.6.6 0 0 1 .097 1.193L14 19h-4a.6.6 0 0 1-.097-1.192L10 17.8h1.4V16H7a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2zm-5.5 5.65h-2l-.097.008A.6.6 0 0 0 9.5 12.85h2l.097-.008a.6.6 0 0 0-.097-1.192m3-2.5h-5l-.097.008A.6.6 0 0 0 9.5 10.35h5l.097-.008A.6.6 0 0 0 14.5 9.15"/></g></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" class="design-iconfont" viewBox="0 0 16 16"><path stroke="#165DFF" d="M2.839 3H13.16v3H2.84zm0 5H13.16v3H2.84z"/><path stroke="#165DFF" stroke-width=".5" d="M2.589 12.75H13.41v.5H2.59z"/><path stroke="#165DFF" d="M2.839 3h3v3h-3zm0 5h3v3h-3z"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" class="design-iconfont" viewBox="0 0 25 24"><path fill="#165DFF" d="M12.66 2a10 10 0 1 0 0 20 10 10 0 1 0 0-20"/><path fill="url(#a)" d="M17.398 8a.527.527 0 0 1 .061 1.049l-.061.004v5.79a1.053 1.053 0 0 1-1.053 1.052h-2.413l1.206 1.207a.527.527 0 0 1-.694.788l-.05-.044-1.733-1.733-1.733 1.733a.53.53 0 0 1-.695.044l-.05-.044a.526.526 0 0 1-.043-.695l.044-.05 1.206-1.206H8.977a1.05 1.05 0 0 1-.676-.246l-.068-.063a1.05 1.05 0 0 1-.309-.744v-5.79a.526.526 0 0 1-.061-1.048L7.924 8zm-1.053 1.053H8.976v5.79h7.37zm-.68 1.206a.53.53 0 0 1 .043.695l-.043.05-2.105 2.105a.53.53 0 0 1-.695.044l-.05-.044-1.207-1.207-1.206 1.207a.53.53 0 0 1-.695.044l-.05-.044a.526.526 0 0 1-.043-.695l.043-.05 1.58-1.578a.53.53 0 0 1 .694-.044l.05.044 1.206 1.206 1.734-1.733a.526.526 0 0 1 .744 0"/><defs><linearGradient id="a" x1="12.661" x2="12.661" y1="8" y2="18" gradientUnits="userSpaceOnUse"><stop stop-color="#fff"/><stop offset="1" stop-color="#fff" stop-opacity=".75"/></linearGradient></defs></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" class="design-iconfont" viewBox="0 0 25 24"><path fill="#86909C" d="M12.66 2a10 10 0 1 0 0 20 10 10 0 1 0 0-20"/><path fill="url(#a)" d="M17.398 8a.527.527 0 0 1 .061 1.049l-.061.004v5.79a1.053 1.053 0 0 1-1.053 1.052h-2.413l1.206 1.207a.527.527 0 0 1-.694.788l-.05-.044-1.733-1.733-1.733 1.733a.53.53 0 0 1-.695.044l-.05-.044a.526.526 0 0 1-.043-.695l.044-.05 1.206-1.206H8.977a1.05 1.05 0 0 1-.676-.246l-.068-.063a1.05 1.05 0 0 1-.309-.744v-5.79a.526.526 0 0 1-.061-1.048L7.924 8zm-1.053 1.053H8.976v5.79h7.37zm-.68 1.206a.53.53 0 0 1 .043.695l-.043.05-2.105 2.105a.53.53 0 0 1-.695.044l-.05-.044-1.207-1.207-1.206 1.207a.53.53 0 0 1-.695.044l-.05-.044a.526.526 0 0 1-.043-.695l.043-.05 1.58-1.578a.53.53 0 0 1 .694-.044l.05.044 1.206 1.206 1.734-1.733a.526.526 0 0 1 .744 0"/><defs><linearGradient id="a" x1="12.661" x2="12.661" y1="8" y2="18" gradientUnits="userSpaceOnUse"><stop stop-color="#fff"/><stop offset="1" stop-color="#fff" stop-opacity=".75"/></linearGradient></defs></svg>
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,52 +0,0 @@
1
- <script setup lang="ts">
2
- import { getUILocales } from '@/locales';
3
- import { useI18n } from 'vue-i18n';
4
- import { useContext } from '../../composables/useContext';
5
-
6
- // TODO 完成功能
7
-
8
- defineOptions({
9
- name: 'I18nSelector',
10
- });
11
-
12
- const { locale } = useI18n();
13
- const route = useRoute();
14
-
15
- const { settingsStore, generateI18nTitle } = useContext();
16
-
17
- const UILocales = computed(() => getUILocales());
18
-
19
- const langItems = computed(() => {
20
- return Object.keys(UILocales.value).map((item: string) => {
21
- const icons: Record<string, string> = {
22
- 'en': 'i-circle-flags-en',
23
- 'zh-cn': 'i-circle-flags-cn',
24
- 'zh-tw': 'i-circle-flags-cn',
25
- };
26
- return {
27
- icon: icons[item],
28
- label: UILocales.value[item].labelName,
29
- disabled: settingsStore.settings.app.defaultLang === item,
30
- handle: () => setLanguage(item),
31
- };
32
- });
33
- });
34
-
35
- function setLanguage(name: string) {
36
- locale.value = name;
37
- settingsStore.setDefaultLang(name);
38
-
39
- if (route.meta.breadcrumbNeste?.at(-1)?.i18n || route.meta.breadcrumbNeste?.at(-1)?.title) {
40
- settingsStore.setTitle(generateI18nTitle(route.meta.breadcrumbNeste?.at(-1)?.i18n, route.meta.breadcrumbNeste?.at(-1)?.title));
41
- }
42
- else {
43
- settingsStore.setTitle(generateI18nTitle(route.meta.i18n, route.meta.title));
44
- }
45
- }
46
- </script>
47
-
48
- <template>
49
- <HDropdownMenu v-if="settingsStore.settings.toolbar.enableI18n" :items="[langItems]">
50
- <slot />
51
- </HDropdownMenu>
52
- </template>
@@ -1,152 +0,0 @@
1
- <script setup lang="ts">
2
- import { OverlayScrollbarsComponent } from 'overlayscrollbars-vue';
3
- import FluentMail16Filled from '~icons/fluent/mail-16-filled';
4
- import RiFileEditFill from '~icons/ri/file-edit-fill';
5
- import RiServiceFill from '~icons/ri/service-fill';
6
- import TablerMoodSmile from '~icons/tabler/mood-smile';
7
-
8
- defineOptions({
9
- name: 'Notification',
10
- });
11
-
12
- const activeName = ref('message');
13
- </script>
14
-
15
- <template>
16
- <div class="w-xs dark:bg-[var(--g-container-bg)]">
17
- <template v-if="activeName === 'message'">
18
- <OverlayScrollbarsComponent :options="{ scrollbars: { autoHide: 'leave', autoHideDelay: 300 } }" defer class="list max-h-300px dark:bg-[var(--g-container-bg)]">
19
- <div class="item">
20
- <div class="item-icon">
21
- <FluentMail16Filled />
22
- </div>
23
-
24
- <div class="info">
25
- <div class="title">
26
- 你收到了 8 份日报
27
- </div>
28
- <div class="date">
29
- 2020-10-10 10:00:00
30
- </div>
31
- </div>
32
- </div>
33
- <div class="item">
34
- <div class="item-icon service">
35
- <RiServiceFill />
36
- </div>
37
- <div class="info">
38
- <div class="title">
39
- 你收到了 3 位同事的好友申请,请及时处理
40
- </div>
41
- <div class="date">
42
- 2020-10-10 10:00:00
43
- </div>
44
- </div>
45
- </div>
46
- <div class="item">
47
- <div class="item-icon file-edit">
48
- <RiFileEditFill />
49
- </div>
50
- <div class="info">
51
- <div class="title">
52
- 你有 3 份合同待审批
53
- </div>
54
- <div class="date">
55
- 2020-10-10 10:00:00
56
- </div>
57
- </div>
58
- </div>
59
- <div class="item">
60
- <div class="item-icon">
61
- <FluentMail16Filled />
62
- </div>
63
- <div class="info">
64
- <div class="title">
65
- 你收到了 8 份日报
66
- </div>
67
- <div class="date">
68
- 2020-10-10 10:00:00
69
- </div>
70
- </div>
71
- </div>
72
- <div class="item">
73
- <div class="item-icon service">
74
- <RiServiceFill />
75
- </div>
76
- <div class="info">
77
- <div class="title">
78
- 你收到了 3 位同事的好友申请,请及时处理
79
- </div>
80
- <div class="date">
81
- 2020-10-10 10:00:00
82
- </div>
83
- </div>
84
- </div>
85
- </OverlayScrollbarsComponent>
86
- <RouterLink v-slot="{ navigate }" :to="{ name: 'Notification' }" custom>
87
- <div class="cursor-pointer py-4 text-center text-sm text-stone-5" @click="navigate">
88
- 进入消息列表
89
- </div>
90
- </RouterLink>
91
- </template>
92
- <template v-if="activeName === 'todo'">
93
- <OverlayScrollbarsComponent :options="{ scrollbars: { autoHide: 'leave', autoHideDelay: 300 } }" defer class="list max-h-300px">
94
- <div class="flex flex-col items-center py-6 text-stone-5">
95
- <TablerMoodSmile text="40px" />
96
- <p m-2 text-base>
97
- 没有新待办
98
- </p>
99
- </div>
100
- </OverlayScrollbarsComponent>
101
- <RouterLink v-slot="{ navigate }" :to="{ name: 'Notification' }" custom>
102
- <div class="cursor-pointer py-4 text-center text-sm text-stone-5" @click="navigate">
103
- 进入待办列表
104
- </div>
105
- </RouterLink>
106
- </template>
107
- </div>
108
- </template>
109
-
110
- <style lang="scss" scoped>
111
- :deep([data-overlayscrollbars-viewport]) {
112
- overscroll-behavior: contain;
113
- }
114
-
115
- .list {
116
- --at-apply: border-block-width-1 border-block-solid border-block-stone-2 dark:border-block-stone-7;
117
-
118
- .item {
119
- --at-apply: flex items-start gap-3 px-3 py-4 cursor-pointer border-b-width-1 last:border-b-width-0 border-b-solid border-b-stone-2 dark:border-b-stone-7 hover:bg-stone-1 dark:hover:bg-dark/50;
120
-
121
- .item-icon {
122
- display: flex;
123
- align-items: center;
124
- justify-content: center;
125
-
126
- --at-apply: w-6 h-6 text-xs rounded-full text-white bg-blue;
127
-
128
- &.service {
129
- --at-apply: bg-green;
130
- }
131
-
132
- &.file-edit {
133
- --at-apply: bg-orange;
134
- }
135
-
136
- &.bug {
137
- --at-apply: bg-pink;
138
- }
139
- }
140
-
141
- .info {
142
- .title {
143
- --at-apply: text-sm line-clamp-2;
144
- }
145
-
146
- .date {
147
- --at-apply: mt-1 text-xs text-stone-5;
148
- }
149
- }
150
- }
151
- }
152
- </style>
@@ -1,58 +0,0 @@
1
- <script setup lang="ts">
2
- import { PageHeader, PageMain, PubinfoIcon } from '@/components';
3
- import { useNotificationStore } from '@/stores';
4
-
5
- defineOptions({
6
- name: 'PersonalNotification',
7
- });
8
-
9
- const notificationStore = useNotificationStore();
10
-
11
- function messagePlus() {
12
- notificationStore.$patch((state) => {
13
- state.message += 1;
14
- });
15
- }
16
- function messageMinus() {
17
- notificationStore.$patch((state) => {
18
- state.message -= state.message > 0 ? 1 : 0;
19
- });
20
- }
21
-
22
- function todoPlus() {
23
- notificationStore.$patch((state) => {
24
- state.todo += 1;
25
- });
26
- }
27
- function todoMinus() {
28
- notificationStore.$patch((state) => {
29
- state.todo -= state.todo > 0 ? 1 : 0;
30
- });
31
- }
32
- </script>
33
-
34
- <template>
35
- <div>
36
- <PageHeader title="通知中心" content="本页面仅模拟右上角通知数变化,具体业务逻辑请到 /src/store/modules/notification.ts 文件中编写" />
37
- <PageMain title="消息">
38
- <HButton @click="messagePlus">
39
- <PubinfoIcon name="i-ep-plus" />
40
- 1
41
- </HButton>
42
- <HButton ml-2 @click="messageMinus">
43
- <PubinfoIcon name="i-ep-minus" />
44
- 1
45
- </HButton>
46
- </PageMain>
47
- <PageMain title="待办">
48
- <HButton @click="todoPlus">
49
- <PubinfoIcon name="i-ep-plus" />
50
- 1
51
- </HButton>
52
- <HButton ml-2 @click="todoMinus">
53
- <PubinfoIcon name="i-ep-minus" />
54
- 1
55
- </HButton>
56
- </PageMain>
57
- </div>
58
- </template>
@@ -1,58 +0,0 @@
1
- <script setup lang="ts">
2
- import { PassStrengthValidator } from '@/components';
3
- import ChangePasswordForm from './components/ChangePasswordForm/index.vue';
4
-
5
- defineOptions({
6
- name: 'ChangePasswordPageView',
7
- });
8
-
9
- const ChangePassWordForm = ref<InstanceType<typeof ChangePasswordForm>>();
10
-
11
- const newPassWord = computed({
12
- get() {
13
- return ChangePassWordForm.value?.formState.newPassword;
14
- },
15
- set() {},
16
- });
17
-
18
- const route = useRoute();
19
- const token = route.params.changePassWordToken;
20
- const isValidate = ref(false);
21
- </script>
22
-
23
- <template>
24
- <div
25
- flex="~"
26
- w-full
27
- h-full
28
- >
29
- <main
30
- flex="~ auto center"
31
- w-full
32
- h-full
33
- pt-10px
34
- >
35
- <div
36
- w-full
37
- h-full
38
- flex="~"
39
- justify-between
40
- bg="#fff"
41
- px-32px
42
- py-20px
43
- >
44
- <div w-420px ml-60px mt-70px>
45
- <div flex="~ col center" mb-40px>
46
- <span text="18px" font="bold">
47
- 更改密码
48
- </span>
49
- </div>
50
- <ChangePasswordForm ref="ChangePassWordForm" v-model:validate="isValidate" :token="token" />
51
- </div>
52
- <div w-644px py-15px bg="red">
53
- <PassStrengthValidator v-model="newPassWord" v-model:validate="isValidate" />
54
- </div>
55
- </div>
56
- </main>
57
- </div>
58
- </template>
@@ -1,5 +0,0 @@
1
- <template>
2
- <div class="home">
3
- 主页
4
- </div>
5
- </template>
@@ -1,18 +0,0 @@
1
- import type { Route } from '#/vue-router';
2
-
3
- let asyncRoutes: Route.recordMainRaw[] = [];
4
-
5
- /**
6
- * 定义并注册动态路由
7
- */
8
- export function defineAsyncRoutes(routes: Route.recordMainRaw[]) {
9
- asyncRoutes = [...asyncRoutes, ...routes];
10
- return routes;
11
- }
12
-
13
- /**
14
- * 读取注册的动态路由
15
- */
16
- export function getAsyncRoutes() {
17
- return asyncRoutes;
18
- }
@@ -1,34 +0,0 @@
1
- import { defineStore } from 'pinia';
2
- import { STORE_NAME } from '../enum';
3
-
4
- const useNotificationStore = defineStore(
5
- // 唯一ID
6
- STORE_NAME.NOTIFICATION,
7
- () => {
8
- const message = ref(0);
9
- const todo = ref(0);
10
- const total = computed(() => message.value + todo.value);
11
-
12
- function init() {
13
- getUnreadMessage();
14
- getUnreadTodo();
15
- }
16
- function getUnreadMessage() {
17
- // 为方便演示,这里直接写死的未读数
18
- message.value = 9;
19
- }
20
- function getUnreadTodo() {
21
- // 为方便演示,这里直接写死的未读数
22
- todo.value = 0;
23
- }
24
-
25
- return {
26
- message,
27
- todo,
28
- total,
29
- init,
30
- };
31
- },
32
- );
33
-
34
- export default useNotificationStore;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes