@pubinfo/core 2.0.0-beta.2 → 2.0.0-beta.21

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 (556) hide show
  1. package/{es/AppSetting-BXQHV5F8.js → dist/AppSetting-DodCOb_z.js} +16 -16
  2. package/{es/HCheckList.vue_vue_type_script_setup_true_lang-DanhyVxU.js → dist/HCheckList.vue_vue_type_script_setup_true_lang-CMOw56Mk.js} +2 -2
  3. package/{es/PreferencesContent-CQkwkQ_1.js → dist/PreferencesContent-Dic24ifo.js} +56 -56
  4. package/{es/SettingBreadcrumb-Bp_66IFN.js → dist/SettingBreadcrumb-DWpbGcSy.js} +2 -2
  5. package/{es/SettingCopyright-BPSnoTQb.js → dist/SettingCopyright-CIY0pFMT.js} +1 -1
  6. package/{es/SettingEnableTransition-Rx2-0Wxj.js → dist/SettingEnableTransition-f0xuLIrZ.js} +1 -1
  7. package/{es/SettingHome-BW27PQqs.js → dist/SettingHome-BFtJsJsN.js} +1 -1
  8. package/{es/SettingMenu-D5gdNfal.js → dist/SettingMenu-DuPD3iSG.js} +2 -2
  9. package/{es/SettingMode-B4_HGVez.js → dist/SettingMode-nZ65qSWK.js} +1 -1
  10. package/{es/SettingNavSearch-CRovYxzh.js → dist/SettingNavSearch-CrarPE7d.js} +1 -1
  11. package/{es/SettingOther-D0zo11vM.js → dist/SettingOther-BddvExCF.js} +1 -1
  12. package/{es/SettingPage-B8GHuoKV.js → dist/SettingPage-C6Na8HEN.js} +1 -1
  13. package/{es/SettingTabbar-Cn_QzvA8.js → dist/SettingTabbar-nuwfRRaE.js} +2 -2
  14. package/{es/SettingThemes-D_DpEncn.js → dist/SettingThemes-DBq6j0zt.js} +2 -2
  15. package/{es/SettingToolbar-Csl2gnfi.js → dist/SettingToolbar-BdizZaGF.js} +1 -1
  16. package/{es/SettingTopbar-CaHjQULM.js → dist/SettingTopbar-D5BX5vS_.js} +2 -2
  17. package/{es/SettingWidthMode-BGiP7gTw.js → dist/SettingWidthMode-CHrLW3gs.js} +1 -1
  18. package/{es/TopThinMode-DWm0oY5Y.js → dist/TopThinMode-CttqTmaT.js} +1 -1
  19. package/{es/_...all_-DI_QAUox.js → dist/_...all_--d4S-8dL.js} +1 -1
  20. package/{es → dist}/api/index.d.ts +2 -1
  21. package/{es/colors-oRlAXMUC.js → dist/colors-BOKDjZQI.js} +1 -1
  22. package/{lib → dist}/components/PubinfoProvider/index.d.ts +1 -0
  23. package/{lib → dist}/composables/auth.d.ts +1 -1
  24. package/{es → dist}/context.d.ts +1 -1
  25. package/{es/index-ChOUZNbk.js → dist/index-B0i20hau.js} +2 -2
  26. package/{es/index-D8eeneI_.js → dist/index-Bz9lh14R.js} +25 -25
  27. package/{es/index-BHkrq701.js → dist/index-CC3GE307.js} +30 -30
  28. package/{es/index-BvVAS3S-.js → dist/index-Cf8yM5Cv.js} +14 -8
  29. package/{es/index-P2cA5UeU.js → dist/index-Cygbc-66.js} +30 -30
  30. package/{es/index-DvHnVMX5.js → dist/index-D0CMv5FJ.js} +5543 -5719
  31. package/{es/index-B9I6Pru6.js → dist/index-DORROKh7.js} +57 -62
  32. package/{es/index-Dav3jQVP.js → dist/index-DltN2SCZ.js} +31 -31
  33. package/{es/index-BkqnOkyO.js → dist/index-dPREgrj8.js} +1 -1
  34. package/{es → dist}/index.d.ts +1 -0
  35. package/dist/index.js +76 -0
  36. 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-Bmtn9Oo4.js} +1 -1
  37. package/{lib → dist}/interface.d.ts +11 -0
  38. package/{es → dist}/layout/composables/useContext.d.ts +1 -2
  39. package/{lib → dist}/layout/ui-kit/HDialog.vue.d.ts +12 -1
  40. package/{lib → dist}/layout/ui-kit/HSlideover.vue.d.ts +12 -1
  41. package/{es → dist}/layout/ui-kit/HTabList.vue.d.ts +2 -2
  42. package/{es/notification-6D5hA7Bp.js → dist/menu-Ddxel9ck.js} +3007 -3037
  43. package/{es/pick-Br-UKn7B.js → dist/pick-DEgsMKda.js} +1 -1
  44. package/{es → dist}/request.js +1 -1
  45. package/{es → dist}/route/index.d.ts +0 -1
  46. package/dist/route/routes.d.ts +22 -0
  47. package/{lib → dist}/stores/modules/favorites.d.ts +1 -0
  48. package/{es → dist}/stores/modules/iframe.d.ts +1 -0
  49. package/{es → dist}/stores/modules/index.d.ts +8 -1
  50. package/{es → dist}/stores/modules/keepAlive.d.ts +1 -0
  51. package/{es → dist}/stores/modules/menu.d.ts +1 -0
  52. package/{es → dist}/stores/modules/route.d.ts +1 -0
  53. package/{lib → dist}/stores/modules/settings.d.ts +1 -0
  54. package/{lib → dist}/stores/modules/tabbar.d.ts +1 -0
  55. package/dist/stores/modules/user.d.ts +36 -0
  56. package/{es → dist}/style.css +1 -1
  57. package/package.json +22 -28
  58. package/src/api/index.ts +3 -1
  59. package/src/components/PubinfoProvider/index.ts +2 -0
  60. package/src/composables/auth.ts +1 -1
  61. package/src/context.ts +1 -2
  62. package/src/index.ts +1 -0
  63. package/src/interface.ts +11 -0
  64. package/src/layout/components/Header/TopMode/index.vue +12 -16
  65. package/src/layout/components/SettingBar/index.vue +3 -1
  66. package/src/layout/components/Tools/index.vue +9 -25
  67. package/src/layout/composables/useContext.ts +0 -2
  68. package/src/layout/composables/useWatermark.ts +2 -2
  69. package/src/layout/provider.ts +0 -3
  70. package/src/layout/ui-kit/HDialog.vue +4 -1
  71. package/src/layout/ui-kit/HSlideover.vue +4 -1
  72. package/src/pages/system/change-organization/index.vue +3 -3
  73. package/src/route/index.ts +0 -1
  74. package/src/route/routes.ts +69 -55
  75. package/src/stores/helper.ts +2 -2
  76. package/src/stores/modules/favorites.ts +1 -0
  77. package/src/stores/modules/iframe.ts +1 -0
  78. package/src/stores/modules/index.ts +8 -1
  79. package/src/stores/modules/keepAlive.ts +1 -0
  80. package/src/stores/modules/menu.ts +25 -1
  81. package/src/stores/modules/route.ts +4 -3
  82. package/src/stores/modules/settings.ts +1 -0
  83. package/src/stores/modules/tabbar.ts +1 -0
  84. package/src/stores/modules/user.ts +56 -20
  85. package/src/stores/plugin/sideEffect/favoritesStorage.ts +1 -1
  86. package/src/stores/plugin/sideEffect/tabbarStorage.ts +1 -1
  87. package/src/utils/watermark.ts +1 -1
  88. package/es/components/PubinfoProvider/index.d.ts +0 -8
  89. package/es/composables/auth.d.ts +0 -8
  90. package/es/index-DTQQt_XY.js +0 -10
  91. package/es/index.js +0 -76
  92. package/es/interface.d.ts +0 -29
  93. package/es/layout/ui-kit/HDialog.vue.d.ts +0 -28
  94. package/es/layout/ui-kit/HSlideover.vue.d.ts +0 -30
  95. package/es/pages/system/not-permission/index.vue.d.ts +0 -2
  96. package/es/route/async.d.ts +0 -9
  97. package/es/route/routes.d.ts +0 -3
  98. package/es/stores/modules/favorites.d.ts +0 -32
  99. package/es/stores/modules/notification.d.ts +0 -18
  100. package/es/stores/modules/settings.d.ts +0 -85
  101. package/es/stores/modules/tabbar.d.ts +0 -59
  102. package/es/stores/modules/user.d.ts +0 -3
  103. package/lib/AppSetting-CCiwpjoq.cjs +0 -1
  104. package/lib/HButton.vue_vue_type_script_setup_true_lang-D-XkyoXl.cjs +0 -1
  105. package/lib/HCheckList.vue_vue_type_script_setup_true_lang-DwA8einQ.cjs +0 -1
  106. package/lib/HDivider-DCfDgE8l.cjs +0 -1
  107. package/lib/HInput.vue_vue_type_script_setup_true_lang-CwS0mGyL.cjs +0 -1
  108. package/lib/HToggle-BP6YYf-s.cjs +0 -1
  109. package/lib/PreferencesContent-DgL-Jc_J.cjs +0 -3
  110. package/lib/SettingBreadcrumb-BQ78yEP4.cjs +0 -1
  111. package/lib/SettingCopyright-x7aPlkQy.cjs +0 -1
  112. package/lib/SettingEnableTransition-CD3-44Iy.cjs +0 -1
  113. package/lib/SettingHome-u52oz6i8.cjs +0 -1
  114. package/lib/SettingMenu-DsElOvvv.cjs +0 -1
  115. package/lib/SettingMode-C_kgpTxw.cjs +0 -1
  116. package/lib/SettingNavSearch-3auTi8UW.cjs +0 -1
  117. package/lib/SettingOther-6XGQq7OA.cjs +0 -1
  118. package/lib/SettingPage-C8yIHpLc.cjs +0 -1
  119. package/lib/SettingTabbar-K-nHb89z.cjs +0 -1
  120. package/lib/SettingThemes-BeNwFz7K.cjs +0 -1
  121. package/lib/SettingToolbar-Be1V7lwV.cjs +0 -1
  122. package/lib/SettingTopbar-C-j8O3c8.cjs +0 -1
  123. package/lib/SettingWidthMode-GMjAF-s3.cjs +0 -1
  124. package/lib/TopThinMode-DGUvyHT2.cjs +0 -1
  125. package/lib/_...all_-C4CXjAo9.cjs +0 -1
  126. package/lib/_plugin-vue_export-helper-BHFhmbuH.cjs +0 -1
  127. package/lib/api/enum/code.d.ts +0 -67
  128. package/lib/api/helper.d.ts +0 -32
  129. package/lib/api/index.d.ts +0 -12
  130. package/lib/api/interface.d.ts +0 -14
  131. package/lib/api/modules/auth/index.d.ts +0 -1
  132. package/lib/api/modules/auth/renzhengfuwu.d.ts +0 -50
  133. package/lib/api/modules/configData/heibaimingdanfuwu.d.ts +0 -36
  134. package/lib/api/modules/configData/index.d.ts +0 -3
  135. package/lib/api/modules/configData/xitongpeizhifuwu.d.ts +0 -99
  136. package/lib/api/modules/configData/zidianfuwu.d.ts +0 -71
  137. package/lib/api/modules/rbac/gangweijiekou.d.ts +0 -43
  138. package/lib/api/modules/rbac/index.d.ts +0 -11
  139. package/lib/api/modules/rbac/jiaosejiekou.d.ts +0 -50
  140. package/lib/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +0 -43
  141. package/lib/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +0 -64
  142. package/lib/api/modules/rbac/yonghujiekou.d.ts +0 -106
  143. package/lib/api/modules/rbac/yonghushoucangbiaojiekou.d.ts +0 -36
  144. package/lib/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +0 -29
  145. package/lib/api/modules/rbac/ziyuanjiekou.d.ts +0 -85
  146. package/lib/api/modules/rbac/zuhuguanlijiekou.d.ts +0 -36
  147. package/lib/api/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +0 -29
  148. package/lib/api/modules/rbac/zuzhijiekou.d.ts +0 -64
  149. package/lib/api/request.d.ts +0 -2
  150. package/lib/api/system/app.d.ts +0 -17
  151. package/lib/api/system/user.d.ts +0 -24
  152. package/lib/assets/styles/index.d.ts +0 -6
  153. package/lib/colors-KAaBT84S.cjs +0 -1
  154. package/lib/components/NotAllowed/index.vue.d.ts +0 -2
  155. package/lib/components/PageHeader/index.vue.d.ts +0 -23
  156. package/lib/components/PageMain/index.vue.d.ts +0 -27
  157. package/lib/components/PassStrengthValidator/index.vue.d.ts +0 -26
  158. package/lib/components/PassStrengthValidator/rule.vue.d.ts +0 -8
  159. package/lib/components/PubinfoApp/index.vue.d.ts +0 -2
  160. package/lib/components/PubinfoIcon/index.vue.d.ts +0 -10
  161. package/lib/components/index.d.ts +0 -8
  162. package/lib/composables/index.d.ts +0 -4
  163. package/lib/composables/log.d.ts +0 -6
  164. package/lib/composables/theme.d.ts +0 -3
  165. package/lib/composables/watchDiff.d.ts +0 -2
  166. package/lib/config/index.d.ts +0 -1
  167. package/lib/config/settings.d.ts +0 -3
  168. package/lib/context.d.ts +0 -14
  169. package/lib/create.d.ts +0 -3
  170. package/lib/directives/index.d.ts +0 -4
  171. package/lib/directives/plugins/permission.d.ts +0 -6
  172. package/lib/index-38bsQrho.cjs +0 -1
  173. package/lib/index-BEqD62a0.cjs +0 -1
  174. package/lib/index-Bbm9CQRP.cjs +0 -1
  175. package/lib/index-BqHsuJkr.cjs +0 -1
  176. package/lib/index-JZl6Zh3L.cjs +0 -44
  177. package/lib/index-VGR0Mt4q.cjs +0 -240
  178. package/lib/index-WMo0GAa6.cjs +0 -1
  179. package/lib/index-_YsHduAE.cjs +0 -1
  180. package/lib/index-gr8kFwPx.cjs +0 -18
  181. package/lib/index-zvGq9tSu.cjs +0 -1
  182. package/lib/index.cjs +0 -1
  183. package/lib/index.d.ts +0 -11
  184. package/lib/index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-SCJ5qyPu.cjs +0 -1
  185. package/lib/layout/Layout.vue.d.ts +0 -20
  186. package/lib/layout/components/BackTop/index.vue.d.ts +0 -2
  187. package/lib/layout/components/Content/IframeView.vue.d.ts +0 -4
  188. package/lib/layout/components/Content/LinkView.vue.d.ts +0 -2
  189. package/lib/layout/components/Content/index.vue.d.ts +0 -2
  190. package/lib/layout/components/Copyright/index.vue.d.ts +0 -2
  191. package/lib/layout/components/Header/TopMode/More.vue.d.ts +0 -26
  192. package/lib/layout/components/Header/TopMode/NotCursor.vue.d.ts +0 -25
  193. package/lib/layout/components/Header/TopMode/index.vue.d.ts +0 -4
  194. package/lib/layout/components/Header/TopThinMode.vue.d.ts +0 -4
  195. package/lib/layout/components/Header/index.vue.d.ts +0 -19
  196. package/lib/layout/components/Logo/index.vue.d.ts +0 -26
  197. package/lib/layout/components/Menu/index.vue.d.ts +0 -10
  198. package/lib/layout/components/Menu/item.vue.d.ts +0 -11
  199. package/lib/layout/components/Menu/sub.vue.d.ts +0 -219
  200. package/lib/layout/components/Menu/types.d.ts +0 -42
  201. package/lib/layout/components/SettingBar/AppSetting.vue.d.ts +0 -12
  202. package/lib/layout/components/SettingBar/components/DayNightToggle.vue.d.ts +0 -9
  203. package/lib/layout/components/SettingBar/components/SettingBreadcrumb.vue.d.ts +0 -2
  204. package/lib/layout/components/SettingBar/components/SettingCopyright.vue.d.ts +0 -2
  205. package/lib/layout/components/SettingBar/components/SettingEnableTransition.vue.d.ts +0 -2
  206. package/lib/layout/components/SettingBar/components/SettingHome.vue.d.ts +0 -2
  207. package/lib/layout/components/SettingBar/components/SettingMenu.vue.d.ts +0 -2
  208. package/lib/layout/components/SettingBar/components/SettingMode.vue.d.ts +0 -2
  209. package/lib/layout/components/SettingBar/components/SettingNavSearch.vue.d.ts +0 -2
  210. package/lib/layout/components/SettingBar/components/SettingOther.vue.d.ts +0 -2
  211. package/lib/layout/components/SettingBar/components/SettingPage.vue.d.ts +0 -2
  212. package/lib/layout/components/SettingBar/components/SettingTabbar.vue.d.ts +0 -2
  213. package/lib/layout/components/SettingBar/components/SettingThemes.vue.d.ts +0 -2
  214. package/lib/layout/components/SettingBar/components/SettingToolbar.vue.d.ts +0 -2
  215. package/lib/layout/components/SettingBar/components/SettingTopbar.vue.d.ts +0 -2
  216. package/lib/layout/components/SettingBar/components/SettingWidthMode.vue.d.ts +0 -2
  217. package/lib/layout/components/SettingBar/index.vue.d.ts +0 -2
  218. package/lib/layout/components/Sidebar/MainSidebar.vue.d.ts +0 -2
  219. package/lib/layout/components/Sidebar/SubSidebar.vue.d.ts +0 -2
  220. package/lib/layout/components/Sidebar/index.vue.d.ts +0 -2
  221. package/lib/layout/components/Tools/Breadcrumb/index.vue.d.ts +0 -17
  222. package/lib/layout/components/Tools/Breadcrumb/item.vue.d.ts +0 -25
  223. package/lib/layout/components/Tools/DayNightSwitch.vue.d.ts +0 -2
  224. package/lib/layout/components/Tools/HotkeysIntro.vue.d.ts +0 -4
  225. package/lib/layout/components/Tools/Preferences/PreferencesContent.vue.d.ts +0 -2
  226. package/lib/layout/components/Tools/Preferences/index.vue.d.ts +0 -4
  227. package/lib/layout/components/Tools/Search.vue.d.ts +0 -199
  228. package/lib/layout/components/Tools/index.vue.d.ts +0 -233
  229. package/lib/layout/components/Topbar/Tabbar/MoreAction.vue.d.ts +0 -217
  230. package/lib/layout/components/Topbar/Tabbar/index.vue.d.ts +0 -14
  231. package/lib/layout/components/Topbar/Toolbar/Favorites.vue.d.ts +0 -4
  232. package/lib/layout/components/Topbar/Toolbar/Star.vue.d.ts +0 -2
  233. package/lib/layout/components/Topbar/Toolbar/index.vue.d.ts +0 -2
  234. package/lib/layout/components/Topbar/index.vue.d.ts +0 -2
  235. package/lib/layout/composables/useContext.d.ts +0 -18
  236. package/lib/layout/composables/useGetComputedStyle.d.ts +0 -15
  237. package/lib/layout/composables/useHotkey.d.ts +0 -5
  238. package/lib/layout/composables/useMainPage.d.ts +0 -14
  239. package/lib/layout/composables/useMenu.d.ts +0 -8
  240. package/lib/layout/composables/useTabbar.d.ts +0 -14
  241. package/lib/layout/composables/useTitle.d.ts +0 -3
  242. package/lib/layout/composables/useViewTransition.d.ts +0 -3
  243. package/lib/layout/composables/useWatermark.d.ts +0 -4
  244. package/lib/layout/index.d.ts +0 -19
  245. package/lib/layout/provider.d.ts +0 -1
  246. package/lib/layout/ui-kit/HBadge.vue.d.ts +0 -20
  247. package/lib/layout/ui-kit/HButton.vue.d.ts +0 -26
  248. package/lib/layout/ui-kit/HCheckList.vue.d.ts +0 -20
  249. package/lib/layout/ui-kit/HDivider.vue.d.ts +0 -20
  250. package/lib/layout/ui-kit/HDropdown.vue.d.ts +0 -18
  251. package/lib/layout/ui-kit/HDropdownMenu.vue.d.ts +0 -26
  252. package/lib/layout/ui-kit/HDropdownTree.vue.d.ts +0 -32
  253. package/lib/layout/ui-kit/HInput.vue.d.ts +0 -17
  254. package/lib/layout/ui-kit/HKbd.vue.d.ts +0 -17
  255. package/lib/layout/ui-kit/HSelect.vue.d.ts +0 -17
  256. package/lib/layout/ui-kit/HTabList.vue.d.ts +0 -22
  257. package/lib/layout/ui-kit/HToggle.vue.d.ts +0 -14
  258. package/lib/layout/ui-kit/HTooltip.vue.d.ts +0 -23
  259. package/lib/locales/index.d.ts +0 -301
  260. package/lib/locales/lang/en.json.d.ts +0 -99
  261. package/lib/locales/lang/zh-cn.json.d.ts +0 -100
  262. package/lib/locales/lang/zh-tw.json.d.ts +0 -100
  263. package/lib/locales/ui.d.ts +0 -3
  264. package/lib/modules.d.ts +0 -11
  265. package/lib/notification-IZqPm_OK.cjs +0 -199
  266. package/lib/pages/personal/profile/index.vue.d.ts +0 -2
  267. package/lib/pages/system/[...all].vue.d.ts +0 -2
  268. package/lib/pages/system/change-organization/index.vue.d.ts +0 -2
  269. package/lib/pages/system/change-password/components/ChangePasswordForm/index.vue.d.ts +0 -18
  270. package/lib/pages/system/change-password/index.vue.d.ts +0 -31
  271. package/lib/pages/system/index.vue.d.ts +0 -2
  272. package/lib/pages/system/not-permission/index.vue.d.ts +0 -2
  273. package/lib/pages/system/reload.vue.d.ts +0 -2
  274. package/lib/pick-y2yLda1R.cjs +0 -1
  275. package/lib/question-line-Cd0CU4hr.cjs +0 -1
  276. package/lib/reload-6L7Dzs7h.cjs +0 -1
  277. package/lib/request.cjs +0 -6
  278. package/lib/right-C5JQ_uRB.cjs +0 -1
  279. package/lib/route/async.d.ts +0 -9
  280. package/lib/route/guard/auth.d.ts +0 -3
  281. package/lib/route/guard/basic.d.ts +0 -3
  282. package/lib/route/guard/index.d.ts +0 -3
  283. package/lib/route/guard/setting.d.ts +0 -3
  284. package/lib/route/index.d.ts +0 -7
  285. package/lib/route/routes.d.ts +0 -3
  286. package/lib/stores/enum/index.d.ts +0 -20
  287. package/lib/stores/helper.d.ts +0 -2
  288. package/lib/stores/index.d.ts +0 -5
  289. package/lib/stores/modules/iframe.d.ts +0 -41
  290. package/lib/stores/modules/index.d.ts +0 -9
  291. package/lib/stores/modules/keepAlive.d.ts +0 -23
  292. package/lib/stores/modules/menu.d.ts +0 -32
  293. package/lib/stores/modules/notification.d.ts +0 -18
  294. package/lib/stores/modules/route.d.ts +0 -42
  295. package/lib/stores/modules/user.d.ts +0 -3
  296. package/lib/stores/plugin/persist.d.ts +0 -5
  297. package/lib/stores/plugin/sideEffect/cleanup.d.ts +0 -5
  298. package/lib/stores/plugin/sideEffect/favoritesStorage.d.ts +0 -5
  299. package/lib/stores/plugin/sideEffect/iframeCache.d.ts +0 -5
  300. package/lib/stores/plugin/sideEffect/index.d.ts +0 -5
  301. package/lib/stores/plugin/sideEffect/tabbarStorage.d.ts +0 -5
  302. package/lib/style.css +0 -9
  303. package/lib/utils/cleanup.d.ts +0 -8
  304. package/lib/utils/crypto.d.ts +0 -4
  305. package/lib/utils/eventBus.d.ts +0 -5
  306. package/lib/utils/index.d.ts +0 -14
  307. package/lib/utils/injectionKeys.d.ts +0 -2
  308. package/lib/utils/storage.d.ts +0 -21
  309. package/lib/utils/utils.d.ts +0 -3
  310. package/lib/utils/watermark.d.ts +0 -51
  311. package/src/assets/icons/add-child.svg +0 -1
  312. package/src/assets/icons/authority.svg +0 -1
  313. package/src/assets/icons/authorize.svg +0 -1
  314. package/src/assets/icons/blacklist-disable.svg +0 -1
  315. package/src/assets/icons/blacklist-enable.svg +0 -1
  316. package/src/assets/icons/browser-360.svg +0 -1
  317. package/src/assets/icons/browser-chrome.svg +0 -1
  318. package/src/assets/icons/browser-edge.svg +0 -1
  319. package/src/assets/icons/browser-ie.svg +0 -1
  320. package/src/assets/icons/browser-other.svg +0 -1
  321. package/src/assets/icons/browser-qq.svg +0 -1
  322. package/src/assets/icons/browser-safari.svg +0 -1
  323. package/src/assets/icons/browser-uc.svg +0 -1
  324. package/src/assets/icons/edit.svg +0 -1
  325. package/src/assets/icons/empty-data.svg +0 -1
  326. package/src/assets/icons/icard.svg +0 -1
  327. package/src/assets/icons/icon_animation.svg +0 -1
  328. package/src/assets/icons/icon_breadcrumb.svg +0 -1
  329. package/src/assets/icons/icon_copyright.svg +0 -1
  330. package/src/assets/icons/icon_jt.svg +0 -1
  331. package/src/assets/icons/icon_layout.svg +0 -1
  332. package/src/assets/icons/icon_mainpage.svg +0 -1
  333. package/src/assets/icons/icon_menu.svg +0 -1
  334. package/src/assets/icons/icon_page_size.svg +0 -1
  335. package/src/assets/icons/icon_position_type.svg +0 -1
  336. package/src/assets/icons/icon_safe_manage.svg +0 -1
  337. package/src/assets/icons/icon_screen_scale.svg +0 -6
  338. package/src/assets/icons/icon_system_manage.svg +0 -1
  339. package/src/assets/icons/icon_tabbar.svg +0 -1
  340. package/src/assets/icons/icon_toolbar.svg +0 -1
  341. package/src/assets/icons/icon_topbar.svg +0 -1
  342. package/src/assets/icons/icon_watermark.svg +0 -1
  343. package/src/assets/icons/image-load-fail.svg +0 -1
  344. package/src/assets/icons/log-center.svg +0 -1
  345. package/src/assets/icons/logo-sig.svg +0 -1
  346. package/src/assets/icons/not-data.svg +0 -1
  347. package/src/assets/icons/org-main.svg +0 -1
  348. package/src/assets/icons/org-unmain.svg +0 -1
  349. package/src/assets/icons/process-management.svg +0 -1
  350. package/src/assets/icons/project-management.svg +0 -1
  351. package/src/assets/icons/rbac.svg +0 -1
  352. package/src/assets/icons/remove.svg +0 -1
  353. package/src/assets/icons/resource-app.svg +0 -1
  354. package/src/assets/icons/resource-btn.svg +0 -1
  355. package/src/assets/icons/resource-index.svg +0 -1
  356. package/src/assets/icons/resource-menu.svg +0 -1
  357. package/src/assets/icons/resource-nonmenu.svg +0 -1
  358. package/src/assets/icons/setting-manage.svg +0 -1
  359. package/src/assets/icons/test.svg +0 -1
  360. package/src/assets/icons/theme-check-mark.svg +0 -1
  361. package/src/assets/icons/theme-title.svg +0 -1
  362. package/src/assets/icons/tree_icon.svg +0 -1
  363. package/src/assets/icons/tree_icon_checked.svg +0 -1
  364. package/src/assets/icons/view.svg +0 -1
  365. package/src/assets/icons/workbench.svg +0 -1
  366. package/src/assets/icons/zddata.svg +0 -1
  367. package/src/assets/icons/zy_checked.svg +0 -1
  368. package/src/assets/icons/zy_default.svg +0 -1
  369. package/src/assets/images/layout/item1.webp +0 -0
  370. package/src/assets/images/layout/item1_dark.webp +0 -0
  371. package/src/assets/images/layout/item2.webp +0 -0
  372. package/src/assets/images/layout/item2_dark.webp +0 -0
  373. package/src/assets/images/layout/item3.webp +0 -0
  374. package/src/assets/images/layout/item3_dark.webp +0 -0
  375. package/src/assets/images/layout/item4.webp +0 -0
  376. package/src/assets/images/layout/item4_dark.webp +0 -0
  377. package/src/assets/images/layout/item5.webp +0 -0
  378. package/src/assets/images/layout/item5_dark.webp +0 -0
  379. package/src/assets/images/page-width/anto_min_w_dark.webp +0 -0
  380. package/src/assets/images/page-width/auto.webp +0 -0
  381. package/src/assets/images/page-width/auto_dark.webp +0 -0
  382. package/src/assets/images/page-width/auto_min_w.webp +0 -0
  383. package/src/assets/images/page-width/auto_min_w_dark.webp +0 -0
  384. package/src/assets/images/page-width/icon_auto.webp +0 -0
  385. package/src/assets/images/page-width/icon_auto_dark.webp +0 -0
  386. package/src/assets/images/page-width/icon_auto_min_w.webp +0 -0
  387. package/src/assets/images/page-width/icon_auto_min_w_dark.webp +0 -0
  388. package/src/assets/images/page-width/icon_middle.webp +0 -0
  389. package/src/assets/images/page-width/icon_middle_dark.webp +0 -0
  390. package/src/assets/images/page-width/icon_middle_max_w.webp +0 -0
  391. package/src/assets/images/page-width/icon_middle_max_w_dark.webp +0 -0
  392. package/src/assets/images/page-width/middle.webp +0 -0
  393. package/src/assets/images/page-width/middle_dark.webp +0 -0
  394. package/src/assets/images/page-width/middle_max_w.webp +0 -0
  395. package/src/assets/images/page-width/middle_max_w_dark.webp +0 -0
  396. package/src/layout/components/Tools/Notification.vue +0 -152
  397. package/src/pages/personal/notification.vue +0 -58
  398. package/src/pages/system/index.vue +0 -5
  399. package/src/route/async.ts +0 -18
  400. package/src/stores/modules/notification.ts +0 -34
  401. package/{es → dist}/HButton.vue_vue_type_script_setup_true_lang-CYAzn9Mg.js +0 -0
  402. package/{es → dist}/HDivider-DgXBhPr0.js +0 -0
  403. package/{es → dist}/HInput.vue_vue_type_script_setup_true_lang-DBqCXRnn.js +0 -0
  404. package/{es → dist}/HToggle-Cd71WKvG.js +0 -0
  405. package/{es → dist}/_plugin-vue_export-helper-CHgC5LLL.js +0 -0
  406. package/{es → dist}/api/enum/code.d.ts +0 -0
  407. package/{es → dist}/api/helper.d.ts +0 -0
  408. package/{es → dist}/api/interface.d.ts +0 -0
  409. package/{es → dist}/api/modules/auth/index.d.ts +0 -0
  410. package/{es → dist}/api/modules/auth/renzhengfuwu.d.ts +0 -0
  411. package/{es → dist}/api/modules/configData/heibaimingdanfuwu.d.ts +0 -0
  412. package/{es → dist}/api/modules/configData/index.d.ts +0 -0
  413. package/{es → dist}/api/modules/configData/xitongpeizhifuwu.d.ts +0 -0
  414. package/{es → dist}/api/modules/configData/zidianfuwu.d.ts +0 -0
  415. package/{es → dist}/api/modules/rbac/gangweijiekou.d.ts +0 -0
  416. package/{es → dist}/api/modules/rbac/index.d.ts +0 -0
  417. package/{es → dist}/api/modules/rbac/jiaosejiekou.d.ts +0 -0
  418. package/{es → dist}/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +0 -0
  419. package/{es → dist}/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +0 -0
  420. package/{es → dist}/api/modules/rbac/yonghujiekou.d.ts +0 -0
  421. package/{es → dist}/api/modules/rbac/yonghushoucangbiaojiekou.d.ts +0 -0
  422. package/{es → dist}/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +0 -0
  423. package/{es → dist}/api/modules/rbac/ziyuanjiekou.d.ts +0 -0
  424. package/{es → dist}/api/modules/rbac/zuhuguanlijiekou.d.ts +0 -0
  425. package/{es → dist}/api/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +0 -0
  426. package/{es → dist}/api/modules/rbac/zuzhijiekou.d.ts +0 -0
  427. package/{es → dist}/api/request.d.ts +0 -0
  428. package/{es → dist}/api/system/app.d.ts +0 -0
  429. package/{es → dist}/api/system/user.d.ts +0 -0
  430. package/{es → dist}/assets/styles/index.d.ts +0 -0
  431. package/{es → dist}/components/NotAllowed/index.vue.d.ts +0 -0
  432. package/{es → dist}/components/PageHeader/index.vue.d.ts +0 -0
  433. package/{es → dist}/components/PageMain/index.vue.d.ts +0 -0
  434. package/{es → dist}/components/PassStrengthValidator/index.vue.d.ts +2 -2
  435. package/{es → dist}/components/PassStrengthValidator/rule.vue.d.ts +0 -0
  436. package/{es → dist}/components/PubinfoApp/index.vue.d.ts +0 -0
  437. package/{es → dist}/components/PubinfoIcon/index.vue.d.ts +0 -0
  438. package/{es → dist}/components/index.d.ts +0 -0
  439. package/{es → dist}/composables/index.d.ts +0 -0
  440. package/{es → dist}/composables/log.d.ts +0 -0
  441. package/{es → dist}/composables/theme.d.ts +0 -0
  442. package/{es → dist}/composables/watchDiff.d.ts +0 -0
  443. package/{es → dist}/config/index.d.ts +0 -0
  444. package/{es → dist}/config/settings.d.ts +0 -0
  445. package/{es → dist}/create.d.ts +0 -0
  446. package/{es → dist}/directives/index.d.ts +0 -0
  447. package/{es → dist}/directives/plugins/permission.d.ts +0 -0
  448. package/{es → dist}/layout/Layout.vue.d.ts +0 -0
  449. package/{es → dist}/layout/components/BackTop/index.vue.d.ts +0 -0
  450. package/{es → dist}/layout/components/Content/IframeView.vue.d.ts +0 -0
  451. package/{es → dist}/layout/components/Content/LinkView.vue.d.ts +0 -0
  452. package/{es → dist}/layout/components/Content/index.vue.d.ts +0 -0
  453. package/{es → dist}/layout/components/Copyright/index.vue.d.ts +0 -0
  454. package/{es → dist}/layout/components/Header/TopMode/More.vue.d.ts +0 -0
  455. package/{es → dist}/layout/components/Header/TopMode/NotCursor.vue.d.ts +0 -0
  456. package/{es → dist}/layout/components/Header/TopMode/index.vue.d.ts +0 -0
  457. package/{es → dist}/layout/components/Header/TopThinMode.vue.d.ts +0 -0
  458. package/{es → dist}/layout/components/Header/index.vue.d.ts +0 -0
  459. package/{es → dist}/layout/components/Logo/index.vue.d.ts +0 -0
  460. package/{es → dist}/layout/components/Menu/index.vue.d.ts +0 -0
  461. package/{es → dist}/layout/components/Menu/item.vue.d.ts +0 -0
  462. package/{es → dist}/layout/components/Menu/sub.vue.d.ts +0 -0
  463. package/{es → dist}/layout/components/Menu/types.d.ts +0 -0
  464. package/{es → dist}/layout/components/SettingBar/AppSetting.vue.d.ts +0 -0
  465. package/{es → dist}/layout/components/SettingBar/components/DayNightToggle.vue.d.ts +0 -0
  466. package/{es → dist}/layout/components/SettingBar/components/SettingBreadcrumb.vue.d.ts +0 -0
  467. package/{es → dist}/layout/components/SettingBar/components/SettingCopyright.vue.d.ts +0 -0
  468. package/{es → dist}/layout/components/SettingBar/components/SettingEnableTransition.vue.d.ts +0 -0
  469. package/{es → dist}/layout/components/SettingBar/components/SettingHome.vue.d.ts +0 -0
  470. package/{es → dist}/layout/components/SettingBar/components/SettingMenu.vue.d.ts +0 -0
  471. package/{es → dist}/layout/components/SettingBar/components/SettingMode.vue.d.ts +0 -0
  472. package/{es → dist}/layout/components/SettingBar/components/SettingNavSearch.vue.d.ts +0 -0
  473. package/{es → dist}/layout/components/SettingBar/components/SettingOther.vue.d.ts +0 -0
  474. package/{es → dist}/layout/components/SettingBar/components/SettingPage.vue.d.ts +0 -0
  475. package/{es → dist}/layout/components/SettingBar/components/SettingTabbar.vue.d.ts +0 -0
  476. package/{es → dist}/layout/components/SettingBar/components/SettingThemes.vue.d.ts +0 -0
  477. package/{es → dist}/layout/components/SettingBar/components/SettingToolbar.vue.d.ts +0 -0
  478. package/{es → dist}/layout/components/SettingBar/components/SettingTopbar.vue.d.ts +0 -0
  479. package/{es → dist}/layout/components/SettingBar/components/SettingWidthMode.vue.d.ts +0 -0
  480. package/{es → dist}/layout/components/SettingBar/index.vue.d.ts +0 -0
  481. package/{es → dist}/layout/components/Sidebar/MainSidebar.vue.d.ts +0 -0
  482. package/{es → dist}/layout/components/Sidebar/SubSidebar.vue.d.ts +0 -0
  483. package/{es → dist}/layout/components/Sidebar/index.vue.d.ts +0 -0
  484. package/{es → dist}/layout/components/Tools/Breadcrumb/index.vue.d.ts +0 -0
  485. package/{es → dist}/layout/components/Tools/Breadcrumb/item.vue.d.ts +0 -0
  486. package/{es → dist}/layout/components/Tools/DayNightSwitch.vue.d.ts +0 -0
  487. package/{es → dist}/layout/components/Tools/HotkeysIntro.vue.d.ts +0 -0
  488. package/{es → dist}/layout/components/Tools/Preferences/PreferencesContent.vue.d.ts +0 -0
  489. package/{es → dist}/layout/components/Tools/Preferences/index.vue.d.ts +0 -0
  490. package/{es → dist}/layout/components/Tools/Search.vue.d.ts +0 -0
  491. package/{es → dist}/layout/components/Tools/index.vue.d.ts +0 -0
  492. package/{es → dist}/layout/components/Topbar/Tabbar/MoreAction.vue.d.ts +0 -0
  493. package/{es → dist}/layout/components/Topbar/Tabbar/index.vue.d.ts +0 -0
  494. package/{es → dist}/layout/components/Topbar/Toolbar/Favorites.vue.d.ts +0 -0
  495. package/{es → dist}/layout/components/Topbar/Toolbar/Star.vue.d.ts +0 -0
  496. package/{es → dist}/layout/components/Topbar/Toolbar/index.vue.d.ts +0 -0
  497. package/{es → dist}/layout/components/Topbar/index.vue.d.ts +0 -0
  498. package/{es → dist}/layout/composables/useGetComputedStyle.d.ts +0 -0
  499. package/{es → dist}/layout/composables/useHotkey.d.ts +0 -0
  500. package/{es → dist}/layout/composables/useMainPage.d.ts +0 -0
  501. package/{es → dist}/layout/composables/useMenu.d.ts +0 -0
  502. package/{es → dist}/layout/composables/useTabbar.d.ts +0 -0
  503. package/{es → dist}/layout/composables/useTitle.d.ts +0 -0
  504. package/{es → dist}/layout/composables/useViewTransition.d.ts +0 -0
  505. package/{es → dist}/layout/composables/useWatermark.d.ts +0 -0
  506. package/{es → dist}/layout/index.d.ts +0 -0
  507. package/{es → dist}/layout/provider.d.ts +0 -0
  508. package/{es → dist}/layout/ui-kit/HBadge.vue.d.ts +0 -0
  509. package/{es → dist}/layout/ui-kit/HButton.vue.d.ts +0 -0
  510. package/{es → dist}/layout/ui-kit/HCheckList.vue.d.ts +2 -2
  511. /package/{es → dist}/layout/ui-kit/HDivider.vue.d.ts +0 -0
  512. /package/{es → dist}/layout/ui-kit/HDropdown.vue.d.ts +0 -0
  513. /package/{es → dist}/layout/ui-kit/HDropdownMenu.vue.d.ts +0 -0
  514. /package/{es → dist}/layout/ui-kit/HDropdownTree.vue.d.ts +0 -0
  515. /package/{es → dist}/layout/ui-kit/HInput.vue.d.ts +0 -0
  516. /package/{es → dist}/layout/ui-kit/HKbd.vue.d.ts +0 -0
  517. /package/{es → dist}/layout/ui-kit/HSelect.vue.d.ts +0 -0
  518. /package/{es → dist}/layout/ui-kit/HToggle.vue.d.ts +0 -0
  519. /package/{es → dist}/layout/ui-kit/HTooltip.vue.d.ts +0 -0
  520. /package/{es → dist}/locales/index.d.ts +0 -0
  521. /package/{es → dist}/locales/lang/en.json.d.ts +0 -0
  522. /package/{es → dist}/locales/lang/zh-cn.json.d.ts +0 -0
  523. /package/{es → dist}/locales/lang/zh-tw.json.d.ts +0 -0
  524. /package/{es → dist}/locales/ui.d.ts +0 -0
  525. /package/{es → dist}/modules.d.ts +0 -0
  526. /package/{es → dist}/pages/personal/profile/index.vue.d.ts +0 -0
  527. /package/{es → dist}/pages/system/[...all].vue.d.ts +0 -0
  528. /package/{es → dist}/pages/system/change-organization/index.vue.d.ts +0 -0
  529. /package/{es → dist}/pages/system/change-password/components/ChangePasswordForm/index.vue.d.ts +0 -0
  530. /package/{es → dist}/pages/system/change-password/index.vue.d.ts +0 -0
  531. /package/{es/pages/system → dist/pages/system/not-permission}/index.vue.d.ts +0 -0
  532. /package/{es → dist}/pages/system/reload.vue.d.ts +0 -0
  533. /package/{es → dist}/question-line-CfkciTFq.js +0 -0
  534. /package/{es → dist}/reload-CUcPYtl7.js +0 -0
  535. /package/{es → dist}/right-Bfe2p1o0.js +0 -0
  536. /package/{es → dist}/route/guard/auth.d.ts +0 -0
  537. /package/{es → dist}/route/guard/basic.d.ts +0 -0
  538. /package/{es → dist}/route/guard/index.d.ts +0 -0
  539. /package/{es → dist}/route/guard/setting.d.ts +0 -0
  540. /package/{es → dist}/stores/enum/index.d.ts +0 -0
  541. /package/{es → dist}/stores/helper.d.ts +0 -0
  542. /package/{es → dist}/stores/index.d.ts +0 -0
  543. /package/{es → dist}/stores/plugin/persist.d.ts +0 -0
  544. /package/{es → dist}/stores/plugin/sideEffect/cleanup.d.ts +0 -0
  545. /package/{es → dist}/stores/plugin/sideEffect/favoritesStorage.d.ts +0 -0
  546. /package/{es → dist}/stores/plugin/sideEffect/iframeCache.d.ts +0 -0
  547. /package/{es → dist}/stores/plugin/sideEffect/index.d.ts +0 -0
  548. /package/{es → dist}/stores/plugin/sideEffect/tabbarStorage.d.ts +0 -0
  549. /package/{es → dist}/utils/cleanup.d.ts +0 -0
  550. /package/{es → dist}/utils/crypto.d.ts +0 -0
  551. /package/{es → dist}/utils/eventBus.d.ts +0 -0
  552. /package/{es → dist}/utils/index.d.ts +0 -0
  553. /package/{es → dist}/utils/injectionKeys.d.ts +0 -0
  554. /package/{es → dist}/utils/storage.d.ts +0 -0
  555. /package/{es → dist}/utils/utils.d.ts +0 -0
  556. /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.642" y="2.747" fill="#D9D9D9" rx="2"/><rect width="14.716" height="14.857" x="2.642" y="2.747" fill="url(#c)" rx="2"/><rect width="14.716" height="14.857" x="2.642" y="2.747" fill="url(#d)" rx="2"/><rect width="14.716" height="14.857" x="2.642" y="2.747" fill="url(#e)" rx="2"/></g><rect width="4.69" height="4.69" x="4.827" y="4.944" fill="#fff" opacity=".5" rx="1"/><rect width="4.69" height="4.69" x="10.482" y="4.944" fill="#fff" opacity=".5" rx="2.345"/><rect width="4.69" height="4.69" x="4.827" y="10.716" fill="#fff" opacity=".5" rx="1"/><rect width="4.69" height="4.69" x="10.482" y="10.716" fill="#fff" opacity=".5" rx="1"/></g><defs><linearGradient id="c" x1="10" x2="10" y1="2.747" y2="17.604" gradientUnits="userSpaceOnUse"><stop stop-color="#54CCFF"/><stop offset="1" stop-color="#1B69FF"/></linearGradient><linearGradient id="d" x1="18.955" x2="11.107" 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.278" x2="3.572" 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=".642" 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_8290"/><feBlend in="SourceGraphic" in2="effect1_dropShadow_32_8290" 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 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,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,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
@@ -7,8 +7,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
7
7
  type: import('vue').PropType<any>;
8
8
  };
9
9
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
- "update:validate": (value: any) => any;
11
10
  "update:modelValue": (value: string) => any;
11
+ "update:validate": (value: any) => any;
12
12
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
13
13
  vertical: BooleanConstructor;
14
14
  modelValue: {
@@ -18,8 +18,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
18
18
  type: import('vue').PropType<any>;
19
19
  };
20
20
  }>> & Readonly<{
21
- "onUpdate:validate"?: ((value: any) => any) | undefined;
22
21
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
22
+ "onUpdate:validate"?: ((value: any) => any) | undefined;
23
23
  }>, {
24
24
  vertical: boolean;
25
25
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
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