@ganwei-web/ganwei-pc-cli 6.2.6 → 6.2.7

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 (558) hide show
  1. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/pnpm-lock.yaml +5034 -5034
  2. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/components/eslint.config.js +10 -10
  3. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/css/ElementPlusAdapter.css +705 -705
  4. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/font/iconfont.css +1167 -1167
  5. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/font/iconfont.json +2025 -2025
  6. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue3/ElementPlusAdapter.iife.js +628 -628
  7. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue3/elementPlus.min.js +73 -73
  8. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue3/gw_app_api.iife.js +4024 -4024
  9. package/ganwei-app-6.2.1/packages/ganwei-app-login/package.json +78 -78
  10. package/ganwei-app-6.2.1/packages/ganwei-app-template/auto-imports.d.ts +5 -5
  11. package/ganwei-app-6.2.1/packages/ganwei-app-template/components.d.ts +14 -14
  12. package/ganwei-app-6.2.1/packages/ganwei-app-template/package.json +76 -76
  13. package/ganwei-app-6.2.1/pnpm-lock.yaml +8810 -8810
  14. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/auto-imports.d.ts +5 -5
  15. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/auto-imports.d.ts +5 -5
  16. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/auto-imports.d.ts +5 -5
  17. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/auto-imports.d.ts +5 -5
  18. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/auto-imports.d.ts +5 -5
  19. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/auto-imports.d.ts +5 -5
  20. package/ganwei-iotcenter-index-6.2.2/pnpm-lock.yaml +7962 -7962
  21. package/ganwei-iotcenter-index-6.2.3/.gitignore +31 -0
  22. package/ganwei-iotcenter-index-6.2.3/.npmrc +1 -0
  23. package/ganwei-iotcenter-index-6.2.3/.nvmrc +1 -0
  24. package/ganwei-iotcenter-index-6.2.3/configuration/clean.cjs +48 -0
  25. package/ganwei-iotcenter-index-6.2.3/configuration/cleanNodeModule.js +18 -0
  26. package/ganwei-iotcenter-index-6.2.3/configuration/gitClone.js +45 -0
  27. package/ganwei-iotcenter-index-6.2.3/configuration/moduleConfiguration.json +9 -0
  28. package/ganwei-iotcenter-index-6.2.3/configuration/updateModule.cjs +30 -0
  29. package/ganwei-iotcenter-index-6.2.3/init.cjs +30 -0
  30. package/ganwei-iotcenter-index-6.2.3/package.json +47 -0
  31. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/.babelrc +4 -0
  32. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/.editorconfig +22 -0
  33. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/.env.development +22 -0
  34. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/.env.production +22 -0
  35. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/.env.test +22 -0
  36. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/.eslintignore +13 -0
  37. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/.eslintrc.cjs +176 -0
  38. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/.gitignore +27 -0
  39. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/.prettierignore +13 -0
  40. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/.prettierrc.cjs +19 -0
  41. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/auto-imports.d.ts +5 -0
  42. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/build/enteryJson.js +8 -0
  43. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/build/vite-addInfo-html.ts +38 -0
  44. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/build/vite-plugin-stats-html.js +595 -0
  45. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/components.d.ts +87 -0
  46. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/env.d.ts +7 -0
  47. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/index.html +33 -0
  48. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/package.json +92 -0
  49. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/css/ElementPlusAdapter.css +1417 -0
  50. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/css/element-plus/css-vars.css +1 -0
  51. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/css/element-plus/index.css +16959 -0
  52. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/css/element-ui/index.css +16075 -0
  53. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/css/equipStatus.css +70 -0
  54. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/css/index.css +15926 -0
  55. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/css/reset-6-1.css +396 -0
  56. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/css/reset.css +1988 -0
  57. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.css +1135 -0
  58. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.js +1 -0
  59. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.json +1969 -0
  60. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.ttf +0 -0
  61. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.woff +0 -0
  62. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.woff2 +0 -0
  63. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/element-icons.ttf +0 -0
  64. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/element-icons.woff +0 -0
  65. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.css +4195 -0
  66. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.js +1 -0
  67. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.json +7324 -0
  68. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.ttf +0 -0
  69. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.woff +0 -0
  70. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.woff2 +0 -0
  71. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/http/createAxios--/346/234/252/346/267/273/345/212/240SM/347/211/210/346/234/254.js +486 -0
  72. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/http/createAxios.js +434 -0
  73. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/head-background.png +0 -0
  74. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-alarmIcon-dark.svg +48 -0
  75. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-alarmIcon-green.svg +42 -0
  76. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-alarmIcon-light.svg +26 -0
  77. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-dark.svg +20 -0
  78. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-green.svg +20 -0
  79. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-light.svg +14 -0
  80. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-dark.svg +22 -0
  81. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-green.svg +16 -0
  82. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-light.svg +16 -0
  83. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-contentfull.svg +22 -0
  84. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-dark.svg +19 -0
  85. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-green.svg +14 -0
  86. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-light.svg +12 -0
  87. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen.svg +19 -0
  88. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-loading.png +0 -0
  89. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-dark.svg +67 -0
  90. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-green.svg +67 -0
  91. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-light.svg +67 -0
  92. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-small.png +0 -0
  93. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-logo-src.svg +67 -0
  94. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-nopage-dark.png +0 -0
  95. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-nopage-green.png +0 -0
  96. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-nopage-light.png +0 -0
  97. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-normalIcon-dark.svg +32 -0
  98. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-normalIcon-green.svg +32 -0
  99. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-normalIcon-light.svg +9 -0
  100. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-skin-dark.svg +22 -0
  101. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-skin-green.svg +22 -0
  102. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-skin-light.svg +15 -0
  103. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-skin.svg +22 -0
  104. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-dark.svg +18 -0
  105. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-green.svg +18 -0
  106. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-light.svg +18 -0
  107. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping.svg +18 -0
  108. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-upgrade.svg +18 -0
  109. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-user-dark.svg +22 -0
  110. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-user-green.svg +27 -0
  111. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-user-light.svg +22 -0
  112. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-user.svg +26 -0
  113. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-dark.svg +37 -0
  114. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-green.svg +37 -0
  115. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-light.svg +15 -0
  116. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/login-bg-img.png +0 -0
  117. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/login-bg.jpg +0 -0
  118. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/logo.png +0 -0
  119. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/menu-background.png +0 -0
  120. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/renew-message-dark.svg +1 -0
  121. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/renew-message-green.svg +1 -0
  122. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/renew-message-light.svg +1 -0
  123. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/right-close.png +0 -0
  124. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/right-open.png +0 -0
  125. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-fullscreen.png +0 -0
  126. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-guzhang.png +0 -0
  127. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-jinggao.png +0 -0
  128. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-shezhi.png +0 -0
  129. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-xinxi.png +0 -0
  130. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-zichan.png +0 -0
  131. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/unread-message-dark.svg +19 -0
  132. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/unread-message-green.svg +22 -0
  133. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/unread-message-light.svg +17 -0
  134. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/webconfig-location.svg +17 -0
  135. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/axios.min.js +2 -0
  136. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/drag.js +391 -0
  137. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/echarts.min.js +25 -0
  138. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/element-ui/index.js +1 -0
  139. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/element-ui/index.js.gz +0 -0
  140. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/enc-base64-min.js +86 -0
  141. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/filereader.js +455 -0
  142. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/font.js +56 -0
  143. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/getConfigInfoData.js +57 -0
  144. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/getLanguage.js +232 -0
  145. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/getLanguageOptions.js +52 -0
  146. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/getUserPermissionList.js +58 -0
  147. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/h5player.min.js +311 -0
  148. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/hmac-sha256.js +18 -0
  149. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/jquery-3.4.1.min.js +4189 -0
  150. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/jquery.slim.min.js +2 -0
  151. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/jsencrypt.min.js +2 -0
  152. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/jszip.min.js +14 -0
  153. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/liveplayer-lib.min.js +1 -0
  154. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/moment.js +5670 -0
  155. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/pptxjs.min.js +14105 -0
  156. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/signalr.min.js +17 -0
  157. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/sm4Encrypt.js +14 -0
  158. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/tXml.js +244 -0
  159. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/transformpcm.worker.js +58 -0
  160. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/vue-i18n.min.js +6 -0
  161. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/vue-router.min.js +11 -0
  162. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/vue.min.js +11 -0
  163. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/vuex.min.js +6 -0
  164. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/json/RAMScope.json +201 -0
  165. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/json/config.json +155 -0
  166. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/json/snapshot.json +34 -0
  167. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/lib/treeV2/treeV2.css +246 -0
  168. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/lib/treeV2/treeV2.js +5384 -0
  169. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/themes/dark-6-1.css +457 -0
  170. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/themes/dark.css +426 -0
  171. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/themes/default-theme-6-1.js +48 -0
  172. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/themes/default-theme.js +53 -0
  173. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/themes/green-6-1.css +357 -0
  174. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/themes/light-6-1.css +463 -0
  175. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/themes/light.css +414 -0
  176. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/themes/themeConfig.json +42 -0
  177. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/App.vue +88 -0
  178. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/assets/plugins/encrypt.js +122 -0
  179. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/auto-import.d.ts +61 -0
  180. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/contextMenu/Index.vue +113 -0
  181. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/contextMenu/index.js +42 -0
  182. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/features/Form/InputPassword/index.vue +101 -0
  183. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/appPreview/images/appconnect.jpg +0 -0
  184. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/appPreview/index.vue +282 -0
  185. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/contentFullScreen/index.js +19 -0
  186. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/contentFullScreen/index.vue +10 -0
  187. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/equipAlarmDialog/index.vue +203 -0
  188. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/expirationReminder/index.vue +108 -0
  189. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/fullScreen/index.js +49 -0
  190. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/fullScreen/index.vue +10 -0
  191. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/index.scss +137 -0
  192. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/index.vue +58 -0
  193. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/notificationSlot/index.vue +124 -0
  194. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/ApprovalDialog.vue +147 -0
  195. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.js +331 -0
  196. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.scss +257 -0
  197. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.vue +61 -0
  198. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/RenewDialog.vue +99 -0
  199. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/index.js +95 -0
  200. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/index.scss +0 -0
  201. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/index.vue +8 -0
  202. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/renew.vue +278 -0
  203. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.js +45 -0
  204. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.scss +36 -0
  205. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.vue +22 -0
  206. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.js +70 -0
  207. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.scss +94 -0
  208. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.vue +35 -0
  209. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/unReadMessages/index.scss +0 -0
  210. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/unReadMessages/index.vue +156 -0
  211. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.js +108 -0
  212. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.scss +147 -0
  213. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.vue +34 -0
  214. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/forceEdit.js +78 -0
  215. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.js +265 -0
  216. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.scss +5 -0
  217. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.vue +40 -0
  218. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.js +94 -0
  219. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.scss +151 -0
  220. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.vue +96 -0
  221. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/logoutDialog/index.js +68 -0
  222. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/logoutDialog/index.vue +16 -0
  223. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.js +178 -0
  224. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.scss +16 -0
  225. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.vue +46 -0
  226. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/safeModeDialog/index.vue +195 -0
  227. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.js +70 -0
  228. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.scss +95 -0
  229. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.vue +35 -0
  230. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.js +240 -0
  231. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.scss +160 -0
  232. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.vue +50 -0
  233. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.js +61 -0
  234. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.scss +40 -0
  235. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.vue +18 -0
  236. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/labelPage/index.scss +152 -0
  237. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/labelPage/index.vue +432 -0
  238. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.js +82 -0
  239. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.scss +44 -0
  240. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.vue +21 -0
  241. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/isDebug/isDebug.vue +57 -0
  242. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/isDebug/warning.png +0 -0
  243. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/layouts/Navigation/AsideMenu.vue +473 -0
  244. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/layouts/Navigation/ContractMenu.vue +347 -0
  245. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/layouts/Navigation/TopNav.vue +393 -0
  246. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/layouts/Sidebar/LeftContent/index.vue +643 -0
  247. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/noAccess/noPage.vue +68 -0
  248. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/sceneMonitor/index.js +145 -0
  249. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/unreadMsg/listItem.vue +36 -0
  250. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/unreadMsg/unread.vue +265 -0
  251. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/composables/useAuth.ts +269 -0
  252. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/composables/useDialog.ts +68 -0
  253. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/composables/useFullscreen.ts +100 -0
  254. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/composables/usePermission.ts +230 -0
  255. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/composables/useTheme.ts +115 -0
  256. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/hostMap.js +13 -0
  257. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/main.js +52 -0
  258. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/mixins/judgePermission.js +60 -0
  259. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/request/api/frame.js +148 -0
  260. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/request/api.js +14 -0
  261. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/router.js +34 -0
  262. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/services/main.example.js +17 -0
  263. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/services/socket.init.js +362 -0
  264. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/services/socket.io.esm.min.js +7 -0
  265. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/services/socket.io.js +118 -0
  266. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/services/socketexample.vue +150 -0
  267. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/services/socketplugin.js +10 -0
  268. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/services/socketservice.js +37 -0
  269. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/store.js +228 -0
  270. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/types.js +16 -0
  271. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/utils/MFEManager.js +156 -0
  272. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/utils/bubbleSort.ts +168 -0
  273. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/utils/gwEquipCache.js +325 -0
  274. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/utils/gwSignalr.js +66 -0
  275. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/utils/historyExport.js +158 -0
  276. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/utils/setStorage.js +5 -0
  277. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/utils/sm4Encrypt.js +200 -0
  278. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/views/Index.vue +118 -0
  279. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/views/index.js +381 -0
  280. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/views/jumpIframe/index.vue +271 -0
  281. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/views/jumpIframe/preloadMethod.js +54 -0
  282. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/views/jumpIframe/queryParser.js +47 -0
  283. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/tsconfig.json +64 -0
  284. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/vite.config.ts +270 -0
  285. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/.babelrc +8 -0
  286. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/.editorconfig +22 -0
  287. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/.env.development +22 -0
  288. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/.env.production +22 -0
  289. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/.env.test +22 -0
  290. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/.eslintignore +13 -0
  291. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/.eslintrc.cjs +162 -0
  292. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/.gitignore +27 -0
  293. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/.prettierignore +13 -0
  294. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/.prettierrc.cjs +37 -0
  295. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/auto-imports.d.ts +5 -0
  296. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/build/enteryJson.js +72 -0
  297. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/build/vite-addInfo-html.ts +38 -0
  298. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/build/vite-plugin-stats-html.js +595 -0
  299. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/env.d.ts +7 -0
  300. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/index.html +34 -0
  301. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/package.json +85 -0
  302. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/css/drag.css +140 -0
  303. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/css/element-plus/css-vars.css +1 -0
  304. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/css/element-plus/index.css +16959 -0
  305. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/css/element-ui/index.css +16075 -0
  306. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/css/equipStatus.css +70 -0
  307. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/css/index.css +15926 -0
  308. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/css/reset-6-1.css +180 -0
  309. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/css/reset.css +1992 -0
  310. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.css +1135 -0
  311. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.js +1 -0
  312. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.json +1969 -0
  313. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.ttf +0 -0
  314. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.woff +0 -0
  315. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.woff2 +0 -0
  316. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/element-icons.ttf +0 -0
  317. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/element-icons.woff +0 -0
  318. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.css +4195 -0
  319. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.js +1 -0
  320. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.json +7324 -0
  321. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.ttf +0 -0
  322. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.woff +0 -0
  323. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.woff2 +0 -0
  324. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/http/createAxios--/346/234/252/346/267/273/345/212/240SM/347/211/210/346/234/254.js +486 -0
  325. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/http/createAxios.js +434 -0
  326. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/center.svg +23 -0
  327. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/centerActive.svg +24 -0
  328. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/center_light.svg +15 -0
  329. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/head-background.png +0 -0
  330. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-alarmIcon-dark.svg +48 -0
  331. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-alarmIcon-green.svg +42 -0
  332. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-alarmIcon-light.svg +26 -0
  333. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-apppreview-dark.svg +20 -0
  334. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-apppreview-green.svg +20 -0
  335. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-apppreview-light.svg +14 -0
  336. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-contentfull-dark.svg +22 -0
  337. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-contentfull-green.svg +16 -0
  338. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-contentfull-light.svg +16 -0
  339. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-contentfull.svg +22 -0
  340. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-fullscreen-dark.svg +19 -0
  341. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-fullscreen-green.svg +14 -0
  342. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-fullscreen-light.svg +12 -0
  343. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-fullscreen.svg +19 -0
  344. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-loading.png +0 -0
  345. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-dark.svg +67 -0
  346. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-green.svg +67 -0
  347. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-light.svg +67 -0
  348. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-small.png +0 -0
  349. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-logo-src.svg +67 -0
  350. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-nopage-dark.png +0 -0
  351. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-nopage-green.png +0 -0
  352. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-nopage-light.png +0 -0
  353. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-normalIcon-dark.svg +32 -0
  354. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-normalIcon-green.svg +32 -0
  355. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-normalIcon-light.svg +9 -0
  356. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-skin-dark.svg +22 -0
  357. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-skin-green.svg +22 -0
  358. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-skin-light.svg +15 -0
  359. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-skin.svg +22 -0
  360. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-tuchuquanping-dark.svg +18 -0
  361. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-tuchuquanping-green.svg +18 -0
  362. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-tuchuquanping-light.svg +18 -0
  363. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-tuchuquanping.svg +18 -0
  364. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-upgrade.svg +18 -0
  365. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-user-dark.svg +22 -0
  366. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-user-green.svg +27 -0
  367. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-user-light.svg +22 -0
  368. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-user.svg +26 -0
  369. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-warningIcon-dark.svg +37 -0
  370. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-warningIcon-green.svg +37 -0
  371. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-warningIcon-light.svg +15 -0
  372. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/left.svg +23 -0
  373. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/leftActive.svg +24 -0
  374. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/left_light.svg +15 -0
  375. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/login-bg-img.png +0 -0
  376. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/login-bg.jpg +0 -0
  377. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/login-drag-start.png +0 -0
  378. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/login-drag-stop.png +0 -0
  379. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/logo.png +0 -0
  380. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/menu-background.png +0 -0
  381. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/refresh.png +0 -0
  382. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/renew-message-dark.svg +1 -0
  383. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/renew-message-green.svg +1 -0
  384. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/renew-message-light.svg +1 -0
  385. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/right-close.png +0 -0
  386. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/right-open.png +0 -0
  387. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/right.svg +23 -0
  388. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/rightActive.svg +24 -0
  389. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/right_light.svg +15 -0
  390. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/systemsnapshot-fullscreen.png +0 -0
  391. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/systemsnapshot-guzhang.png +0 -0
  392. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/systemsnapshot-jinggao.png +0 -0
  393. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/systemsnapshot-shezhi.png +0 -0
  394. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/systemsnapshot-xinxi.png +0 -0
  395. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/systemsnapshot-zichan.png +0 -0
  396. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/unread-message-dark.svg +19 -0
  397. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/unread-message-green.svg +22 -0
  398. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/unread-message-light.svg +17 -0
  399. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/webconfig-location.svg +17 -0
  400. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/axios.min.js +2 -0
  401. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/drag.js +391 -0
  402. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/echarts.min.js +25 -0
  403. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/element-ui/index.js +1 -0
  404. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/element-ui/index.js.gz +0 -0
  405. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/enc-base64-min.js +86 -0
  406. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/filereader.js +455 -0
  407. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/font.js +56 -0
  408. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/getConfigInfoData.js +57 -0
  409. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/getLanguage.js +232 -0
  410. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/getLanguageOptions.js +52 -0
  411. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/getUserPermissionList.js +58 -0
  412. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/h5player.min.js +311 -0
  413. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/hmac-sha256.js +18 -0
  414. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/jquery-3.4.1.min.js +4189 -0
  415. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/jquery.slim.min.js +2 -0
  416. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/jsencrypt.min.js +2 -0
  417. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/jszip.min.js +14 -0
  418. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/liveplayer-lib.min.js +1 -0
  419. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/moment.js +5670 -0
  420. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/pptxjs.min.js +14105 -0
  421. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/signalr.min.js +17 -0
  422. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/tXml.js +244 -0
  423. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/transformpcm.worker.js +58 -0
  424. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/vue-i18n.min.js +6 -0
  425. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/vue-router.min.js +11 -0
  426. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/vue.min.js +11 -0
  427. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/vuex.min.js +6 -0
  428. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/json/RAMScope.json +201 -0
  429. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/json/config.json +155 -0
  430. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/json/snapshot.json +34 -0
  431. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/lib/treeV2/treeV2.css +246 -0
  432. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/lib/treeV2/treeV2.js +5384 -0
  433. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/themes/dark-6-1.css +430 -0
  434. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/themes/dark.css +426 -0
  435. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/themes/default-theme-6-1.js +48 -0
  436. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/themes/default-theme.js +53 -0
  437. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/themes/green-6-1.css +357 -0
  438. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/themes/light-6-1.css +424 -0
  439. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/themes/light.css +414 -0
  440. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/themes/themeConfig.json +42 -0
  441. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/App.vue +71 -0
  442. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/alertHandle.scss +22 -0
  443. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/browserScroll.scss +5 -0
  444. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/btnHandle.scss +36 -0
  445. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/containerHandle.scss +402 -0
  446. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/dialogStyle.scss +43 -0
  447. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/equipStatus.scss +88 -0
  448. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/index.scss +1358 -0
  449. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/inputStyle.scss +16 -0
  450. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/listHandle.scss +113 -0
  451. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/login.scss +335 -0
  452. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/mainInfo.scss +297 -0
  453. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/maintenanceInfo.scss +199 -0
  454. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/style.css +921 -0
  455. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/tableHandle.scss +147 -0
  456. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/txtHandle.scss +39 -0
  457. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/images/clouds_back.jpg +0 -0
  458. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/images/clouds_front.jpg +0 -0
  459. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/images/clouds_left.jpg +0 -0
  460. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/images/clouds_right.jpg +0 -0
  461. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/images/clouds_top.jpg +0 -0
  462. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/images/login-bg-img.png +0 -0
  463. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/images/login-sso-error.png +0 -0
  464. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/images/logo-bg.png +0 -0
  465. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/plugins/encrypt.js +122 -0
  466. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/components/declaration/declaration.scss +119 -0
  467. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/components/declaration/declaration.vue +109 -0
  468. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/components/declaration/declarationPacts.vue +42 -0
  469. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/components/loginBg.vue +281 -0
  470. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/components/passwordModification/checkEmailContainer.vue +134 -0
  471. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/components/passwordModification/inputEmailContainer.vue +128 -0
  472. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/components/passwordModification/modifyPasswordContainer.vue +138 -0
  473. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/components/passwordModification/passwordModification - /345/211/257/346/234/254.vue" +4 -0
  474. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/components/passwordModification/passwordModification.vue +223 -0
  475. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/directive/loadMore/loadMore.js +14 -0
  476. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/hostMap.js +18 -0
  477. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/main.js +39 -0
  478. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/mixins/setDefaultLanguage.js +87 -0
  479. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/request/api/login.js +95 -0
  480. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/request/api.js +13 -0
  481. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/router.js +48 -0
  482. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/types.js +16 -0
  483. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/utils/formValidate.js +25 -0
  484. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/utils/isApp.js +18 -0
  485. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/utils/language.js +45 -0
  486. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/utils/myUtils.js +646 -0
  487. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/utils/timeFormat.js +23 -0
  488. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/utils/timesYMDHMS.js +27 -0
  489. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/views/js/mainInfo.js +374 -0
  490. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/views/js/maintenanceInfo.js +202 -0
  491. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/views/login.vue +459 -0
  492. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/views/mainInfo.vue +62 -0
  493. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/views/maintenanceInfo.vue +67 -0
  494. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/views/ssoLogin.vue +239 -0
  495. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/views/ssoLogout.vue +58 -0
  496. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/tsconfig.json +58 -0
  497. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/vite.config.ts +237 -0
  498. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/.babelrc +8 -0
  499. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/.editorconfig +22 -0
  500. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/.env.development +22 -0
  501. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/.env.production +22 -0
  502. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/.env.test +22 -0
  503. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/.eslintignore +13 -0
  504. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/.eslintrc.cjs +162 -0
  505. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/.gitignore +27 -0
  506. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/.prettierignore +13 -0
  507. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/.prettierrc.cjs +37 -0
  508. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/auto-imports.d.ts +5 -0
  509. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/build/enteryJson.js +64 -0
  510. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/env.d.ts +7 -0
  511. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/index.html +25 -0
  512. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/package.json +95 -0
  513. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/css/element-plus/css-vars.css +1 -0
  514. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/css/element-plus/index.css +16959 -0
  515. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/css/index.css +15926 -0
  516. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/css/reset-6-1.css +396 -0
  517. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/fonts/element-icons.ttf +0 -0
  518. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/fonts/element-icons.woff +0 -0
  519. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.css +4195 -0
  520. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.js +1 -0
  521. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.json +7324 -0
  522. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.ttf +0 -0
  523. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.woff +0 -0
  524. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.woff2 +0 -0
  525. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/http/createAxios.js +434 -0
  526. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/js/axios.min.js +2 -0
  527. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/js/font.js +56 -0
  528. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/js/getConfigInfoData.js +57 -0
  529. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/js/getLanguage.js +232 -0
  530. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/js/getLanguageOptions.js +52 -0
  531. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/js/getUserPermissionList.js +58 -0
  532. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/themes/dark-6-1.css +457 -0
  533. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/themes/default-theme-6-1.js +48 -0
  534. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/themes/light-6-1.css +463 -0
  535. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/src/App.vue +53 -0
  536. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/src/assets/images/template.jpg +0 -0
  537. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/src/hostMap.ts +45 -0
  538. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/src/main.ts +48 -0
  539. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/src/request/api/template.ts +3 -0
  540. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/src/request/api.ts +10 -0
  541. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/src/request/models/request/index.ts +0 -0
  542. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/src/request/models/response/index.ts +0 -0
  543. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/src/router.ts +37 -0
  544. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/src/utils/setStorage.js +5 -0
  545. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/src/views/template.vue +19 -0
  546. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/tsconfig.json +55 -0
  547. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/vite.config.ts +233 -0
  548. package/ganwei-iotcenter-index-6.2.3/pnpm-lock.yaml +8724 -0
  549. package/ganwei-iotcenter-index-6.2.3/pnpm-workspace.yaml +3 -0
  550. package/ganwei-iotcenter-index-6.2.3/scripts/ensure-all-modules.js +139 -0
  551. package/ganwei-pc.js +3 -3
  552. package/package.json +30 -29
  553. package/src/createQuestions.js +1 -0
  554. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/stats.html +0 -356
  555. package/ganwei-app-6.2.1/packages/ganwei-app-home/stats.html +0 -4975
  556. package/ganwei-app-6.2.1/packages/ganwei-app-index/stats.html +0 -4975
  557. package/ganwei-app-6.2.1/packages/ganwei-app-login/stats.html +0 -4975
  558. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/stats.html +0 -4975
@@ -0,0 +1,145 @@
1
+ // 整合调整:ganwei-pc 改为 ganwei-web
2
+ import { Signalr } from '@ganwei-web/gw-base-components-plus/equipProcessing/dist/index.es.js'
3
+ export default {
4
+ inject: ['config', 'theme'],
5
+ data() {
6
+ return {
7
+ monitor: null
8
+ }
9
+ },
10
+ mounted() {
11
+ this.connectMonitor()
12
+ },
13
+ methods: {
14
+
15
+ connectMonitor() {
16
+ window.sessionStorage.setItem('PluginRenewalCount', 0);
17
+
18
+ new Signalr('/monitor').openConnect().then(res => {
19
+ window.monitor = this.monitor = res
20
+
21
+ this.monitor.invoke('AddUserToGroup').then().catch(er => {
22
+ console.log('signalR', er);
23
+ }).catch(err => console.error(err));
24
+
25
+ this.monitor.on('OnOpenWindow', signalrData => {
26
+ this.signalrMonitorScene(signalrData)
27
+ })
28
+
29
+ this.monitor.on('ToDoMainCount', signalrData => {
30
+ this.$store.commit('processesStatistics', signalrData);
31
+ })
32
+
33
+ // 监听插件待续费数量
34
+ this.monitor.on('PluginRenewalCount', count => {
35
+ window.sessionStorage.setItem('PluginRenewalCount', count);
36
+ window.dispatchEvent(new CustomEvent('customEventChange', {
37
+ detail: { key: 'PluginRenewalCount', count }
38
+ }));
39
+ })
40
+
41
+ // 监听插件到期数量
42
+ this.monitor.on('PluginExpireCount', count => {
43
+ window.dispatchEvent(new CustomEvent('customEventChange', {
44
+ detail: { key: 'PluginExpireCount', count }
45
+ }));
46
+ })
47
+
48
+ // 监听插件可升级数量
49
+ this.monitor.on('PluginUpgradeCount', count => {
50
+ window.dispatchEvent(new CustomEvent('customEventChange', {
51
+ detail: { key: 'PluginUpgradeCount', count }
52
+ }));
53
+ })
54
+
55
+ // 监听设备告警信息
56
+ this.monitor.on('EquipAlarmDialog', signalrData => {
57
+ window.dispatchEvent(new CustomEvent('customEventChange', {
58
+ detail: { key: 'EquipAlarmDialog', data: signalrData }
59
+ }));
60
+
61
+ const iframe = document.querySelector('iframe');
62
+ iframe.contentWindow.postMessage({
63
+ type: 'AlarmCenterRefresh',
64
+ detail: signalrData
65
+ }, '*');
66
+ })
67
+
68
+ // 自定义消息体
69
+ let notificationSlotList = this.config?.notificationSlot || [], _this = this
70
+ notificationSlotList.forEach(item => {
71
+ // 动态创建$store,然后监听信号量
72
+ this.$store.registerModule(item.hubName, {
73
+ state: {
74
+ data: null
75
+ },
76
+ mutations: {
77
+ [item.hubName](state, data) {
78
+ state.data = data
79
+ }
80
+ }
81
+ })
82
+ if (item.hubName) {
83
+ _this.monitor.on(item.hubName, signalrData => {
84
+ this.$store.commit(item.hubName, signalrData);
85
+ })
86
+ }
87
+ })
88
+
89
+ this.monitor.onclose(() => {
90
+ this.connectMonitor()
91
+ })
92
+ })
93
+ },
94
+ signalrMonitorScene(signalrData) {
95
+ let pageArr = signalrData.replace(/"/g, '').split('%');
96
+ if (pageArr[0].toUpperCase() === sessionStorage.userName.toUpperCase()) {
97
+ let changePath = '';
98
+ let judgeArr = [];
99
+ if (pageArr[1].includes('clickId')) {
100
+ let newQuery = this.getQueryClickId(pageArr[1]);
101
+ changePath = newQuery.newHref;
102
+ judgeArr = newQuery.newParames;
103
+ } else {
104
+ changePath = pageArr[1];
105
+ }
106
+
107
+ let callback = () => this.$bus.emit('contentFullScreen', false)
108
+ if (changePath.includes('fullscreen=true')) {
109
+ callback = () => this.$bus.emit('contentFullScreen', true)
110
+ }
111
+
112
+ // 当预跳转路径与当前路径相同时不进行二次跳转
113
+ if (changePath) {
114
+ if (changePath.includes('?')) {
115
+ changePath = `${changePath}&refreshTab=true`
116
+ } else {
117
+ changePath = `${changePath}?refreshTab=true`
118
+ }
119
+ this.$bus.emit('openPage', { changePath, callback })
120
+ }
121
+ }
122
+ },
123
+ getQueryClickId(variable) {
124
+ let href = variable;
125
+ let param = href.indexOf('&') !== -1 ? href.split('&') : href.split('?');
126
+ let newHref = '';
127
+ let newParames = [];
128
+ for (let i = 0; i < param.length; i++) {
129
+ let pair;
130
+ if (param[i].indexOf('?') != -1) {
131
+ pair = param[i].split('?')[1].split('=');
132
+ } else {
133
+ pair = param[i].split('=');
134
+ }
135
+ if (pair[0] == 'clickId') {
136
+ window.sessionStorage.setItem('clickId', pair[1]);
137
+ continue;
138
+ }
139
+ newHref += (i == 0 ? '' : '&') + param[i];
140
+ newParames.push(param[i]);
141
+ }
142
+ return { newHref: newHref, newParames: newParames };
143
+ },
144
+ }
145
+ }
@@ -0,0 +1,36 @@
1
+ <template>
2
+ <div class="message-content-item" @click="contentItemClick(source, index)">
3
+ <p class="item-top">{{ source.eventMsg }}</p>
4
+ <div class="item-bottom">
5
+ <div class="item-label item-left" :class="source.className">
6
+ <img :src="source.iconRes" alt="">
7
+ {{ source.snapshotName }}
8
+ </div>
9
+ <div class="item-time item-right">
10
+ {{ source.Time }}
11
+ </div>
12
+ </div>
13
+ <div class="message-content-line"></div>
14
+ </div>
15
+ </template>
16
+ <script>
17
+ export default {
18
+ name: 'item-component',
19
+ props: {
20
+ index: {
21
+ type: Number
22
+ }, // 每一行的索引
23
+ source: {
24
+ type: Object,
25
+ default () {
26
+ return {};
27
+ }
28
+ }, // 每一行的内容
29
+ contentItemClick: {
30
+ type: Object,
31
+ default: () => ({})
32
+ }
33
+ }
34
+ };
35
+ </script>
36
+ <style lang="scss" scoped></style>
@@ -0,0 +1,265 @@
1
+ <template>
2
+ <div class="messageIcon">
3
+ <el-badge :value="totalMessage" class="item" :max="99" @click="toShowDrawer">
4
+ <img :src="`/static/images/unread-message-${theme.value}.svg`" alt="" />
5
+ </el-badge>
6
+ <el-drawer class="message-el-drawer" :wrapperClosable="false" :size="424" v-model="drawer" :before-close="handleClose">
7
+ <template #header>
8
+ <span class="titleClass">
9
+ <span class="item-left"><img :src="`/static/images/unread-message-${theme.value}.svg`" alt="" />
10
+ {{ $t('login.publics.notice') }}
11
+ <span class="sound" v-if="showSound" @click="closeSpeak"><i
12
+ class="iconfont icon-shengyin1"></i></span>
13
+ <span class="sound" v-else @click="openSpeak"><i class="iconfont icon-jingyin"></i></span>
14
+ </span>
15
+ <span class="item-right" @click="toRouter">{{ $t('login.publics.more') }}</span>
16
+ </span>
17
+ </template>
18
+ <div class="message-content" v-if="drawer">
19
+ <div v-if="msgList.length" class="list">
20
+ <div class="message-content-item" :style="{ background: source.backgroundColor }"
21
+ @click="contentItemClick(source, index)" v-for="(source, index) in msgList" :key="index">
22
+ <div class="item-top">
23
+ <div class="title">
24
+ <div class="item-label item-left" :style="{ color: source.color }">
25
+ <img :src="source.iconImage" alt="">
26
+ {{ source.snapshotName }}
27
+ </div>
28
+ </div>
29
+ <p class="item-top-info">{{ source.Time }}</p>
30
+ <p class="item-top-info">{{ source.eventMsg }}</p>
31
+ </div>
32
+ </div>
33
+ </div>
34
+ <div class="noDataTips" v-else :data-noData="$t('login.publics.noData')">
35
+ </div>
36
+ </div>
37
+ <widthSetting leftSide="message-el-drawer" side="left" :minWidth="400" />
38
+ </el-drawer>
39
+ </div>
40
+ </template>
41
+
42
+ <script>
43
+ // 整合调整:ganwei-pc 改为 ganwei-web
44
+ import widthSetting from '@ganwei-web/gw-base-components-plus/widthSetting/dist/index.es.js'
45
+ export default {
46
+ name: 'unread',
47
+ components: {
48
+ // VirtualList,
49
+ widthSetting
50
+ },
51
+ props: {
52
+ messageList: {
53
+ type: Array,
54
+ default: () => []
55
+ },
56
+ theme: {
57
+ type: Object,
58
+ default: () => ({
59
+ value: 'dark'
60
+ })
61
+ },
62
+ showSound: {
63
+ type: Boolean,
64
+ default: false
65
+ }
66
+ },
67
+ data () {
68
+ return {
69
+ // itemComponent: listItem,
70
+ showDropdown: false,
71
+ drawer: false,
72
+ totalMessage: 0,
73
+ msgList: [],
74
+ timer: null
75
+ }
76
+ },
77
+
78
+ watch: {
79
+ 'messageList.length' (val) {
80
+ this.totalMessage = val
81
+ // this.msgList = JSON.parse(JSON.stringify(this.messageList))
82
+ }
83
+ },
84
+
85
+ mounted () {
86
+ this.msgList = JSON.parse(JSON.stringify(this.messageList));
87
+ this.timer = setInterval(() => {
88
+ this.msgList = JSON.parse(JSON.stringify(this.messageList));
89
+ }, 1000)
90
+ },
91
+
92
+ methods: {
93
+ toShowDrawer () {
94
+ this.drawer = true;
95
+ },
96
+ contentItemClick (data, index) {
97
+ window.snapshotData = JSON.parse(JSON.stringify(data))
98
+ let iframe = document.getElementsByTagName("iframe");
99
+ for (let item of iframe) {
100
+ item.contentWindow.postMessage({ haveNewSnapshotData: true })
101
+ }
102
+ this.$router.push({ path: '/Index/jumpIframe/ganwei-iotcenter-system-snapshot/systemSnapshot' });
103
+ this.$emit('updateMsgList', index)
104
+ this.drawer = false
105
+ },
106
+ handleClose () {
107
+ this.drawer = false
108
+ },
109
+ toRouter () {
110
+ this.drawer = false
111
+ this.$emit('jump');
112
+ },
113
+ closeSpeak () {
114
+ this.$emit('closeSpeak')
115
+ },
116
+ openSpeak () {
117
+ this.$emit('openSpeak')
118
+ }
119
+ }
120
+ }
121
+ </script>
122
+ <style lang="scss" scoped>
123
+
124
+ .messageIcon {
125
+ position: relative;
126
+ user-select: none;
127
+
128
+ ::v-deep .el-badge {
129
+ line-height: 1;
130
+ cursor: pointer;
131
+
132
+ .el-badge__content.is-fixed {
133
+ top: 4px;
134
+ right: 13px;
135
+ }
136
+
137
+ .el-badge__content {
138
+ background-color: #ff0024;
139
+ border-color: #ff0024;
140
+ }
141
+
142
+ &>img {
143
+ width: 28px;
144
+ height: 28px;
145
+ display: block;
146
+ }
147
+ }
148
+ }
149
+
150
+ ::v-deep .message-el-drawer {
151
+ white-space: normal !important;
152
+ overflow: visible !important;
153
+ cursor: default;
154
+
155
+ .el-drawer__header {
156
+ border-bottom: 1px solid var(--frame-main-border);
157
+ margin-bottom: 0;
158
+ .titleClass {
159
+ font-size: 18px;
160
+ line-height: 24px;
161
+ color: var(--frame-main-color);
162
+ padding: 10px 0;
163
+ display: flex;
164
+ align-items: center;
165
+ justify-content: space-between;
166
+ }
167
+ .item-left {
168
+ font-family: PingFangSC, PingFang SC;
169
+ font-weight: 600;
170
+ font-size: 18px;
171
+ display: flex;
172
+ align-items: center;
173
+ gap: 10px;
174
+ img {
175
+ width: 22px;
176
+ height: 22px;
177
+ transform: translateY(-1px);
178
+ }
179
+ }
180
+
181
+ .item-right {
182
+ font-family: PingFangSC, PingFang SC;
183
+ margin-right: 10px;
184
+ font-size: 18px;
185
+ color: var(--button-primary-color);
186
+ cursor: pointer;
187
+ }
188
+ }
189
+
190
+ .el-drawer__body {
191
+ height: calc(100% - 43px);
192
+ padding-bottom: 10px;
193
+ }
194
+
195
+ .message-content {
196
+ height: 100%;
197
+
198
+ .list {
199
+ height: 100%;
200
+ overflow: auto;
201
+ font-size: 14px;
202
+ }
203
+
204
+ .message-content-item {
205
+ width: 100%;
206
+ margin-bottom: 10px;
207
+ color: var(--frame-main-color);
208
+ background-color: var(--frame-main-background-4);
209
+ cursor: pointer;
210
+ border-radius: 4px;
211
+ padding: 14px;
212
+
213
+ .item-top {
214
+ padding-bottom: 2px;
215
+ .title {
216
+ line-height: 38px;
217
+ margin-bottom: 4px;
218
+ display: flex;
219
+ justify-content: space-between;
220
+ align-items: center;
221
+ }
222
+
223
+ .item-left {
224
+ color: var(--button-primary-color);
225
+ img {
226
+ width: 14px;
227
+ height: 14px;
228
+ transform: translateY(2px);
229
+ }
230
+ }
231
+
232
+ .item-top-info {
233
+ text-align: left;
234
+ line-height: 20px;
235
+ margin-bottom: 8px;
236
+ white-space: pre-wrap;
237
+ word-break: break-all;
238
+ }
239
+ }
240
+
241
+ .item-bottom {
242
+ padding-bottom: 2px;
243
+ text-align: left;
244
+ }
245
+
246
+ &:hover {
247
+ .item-top-info {
248
+ color: var(--gw-color-primary) !important;
249
+ }
250
+ }
251
+ }
252
+ }
253
+ .noDataTips {
254
+ position: relative;
255
+ }
256
+
257
+ .noData {
258
+ width: 100%;
259
+ height: 100%;
260
+ display: flex;
261
+ justify-content: center;
262
+ align-items: center;
263
+ }
264
+ }
265
+ </style>
@@ -0,0 +1,269 @@
1
+ /**
2
+ * 认证管理 Composable
3
+ * 提供登录、登出、token 管理等功能
4
+ */
5
+ import { computed, ref } from 'vue'
6
+ import { useRouter } from 'vue-router'
7
+
8
+ /**
9
+ * 用户信息接口
10
+ */
11
+ export interface UserInfo {
12
+ userId?: string | number
13
+ username?: string
14
+ realName?: string
15
+ email?: string
16
+ phone?: string
17
+ avatar?: string
18
+ roles?: string[]
19
+ permissions?: string[]
20
+ [key: string]: any
21
+ }
22
+
23
+ /**
24
+ * 登录参数接口
25
+ */
26
+ export interface LoginParams {
27
+ username: string
28
+ password: string
29
+ captcha?: string
30
+ remember?: boolean
31
+ }
32
+
33
+ /**
34
+ * Token 信息接口
35
+ */
36
+ export interface TokenInfo {
37
+ accessToken: string
38
+ refreshToken?: string
39
+ expiresIn?: number
40
+ }
41
+
42
+ const TOKEN_KEY = 'access_token'
43
+ const REFRESH_TOKEN_KEY = 'refresh_token'
44
+ const USER_INFO_KEY = 'user_info'
45
+
46
+ export function useAuth() {
47
+ const router = useRouter()
48
+
49
+ // State
50
+ const userInfo = ref<UserInfo | null>(null)
51
+ const token = ref<string>('')
52
+ const isLoggedIn = computed(() => !!token.value && !!userInfo.value)
53
+
54
+ /**
55
+ * 获取 Token
56
+ */
57
+ const getToken = (): string => {
58
+ if (token.value) return token.value
59
+
60
+ const storedToken = localStorage.getItem(TOKEN_KEY) || sessionStorage.getItem(TOKEN_KEY)
61
+ if (storedToken) {
62
+ token.value = storedToken
63
+ }
64
+ return token.value
65
+ }
66
+
67
+ /**
68
+ * 设置 Token
69
+ */
70
+ const setToken = (tokenInfo: TokenInfo, remember = false) => {
71
+ token.value = tokenInfo.accessToken
72
+
73
+ const storage = remember ? localStorage : sessionStorage
74
+ storage.setItem(TOKEN_KEY, tokenInfo.accessToken)
75
+
76
+ if (tokenInfo.refreshToken) {
77
+ storage.setItem(REFRESH_TOKEN_KEY, tokenInfo.refreshToken)
78
+ }
79
+ }
80
+
81
+ /**
82
+ * 移除 Token
83
+ */
84
+ const removeToken = () => {
85
+ token.value = ''
86
+ localStorage.removeItem(TOKEN_KEY)
87
+ localStorage.removeItem(REFRESH_TOKEN_KEY)
88
+ sessionStorage.removeItem(TOKEN_KEY)
89
+ sessionStorage.removeItem(REFRESH_TOKEN_KEY)
90
+ }
91
+
92
+ /**
93
+ * 获取用户信息
94
+ */
95
+ const getUserInfo = (): UserInfo | null => {
96
+ if (userInfo.value) return userInfo.value
97
+
98
+ try {
99
+ const storedUserInfo = localStorage.getItem(USER_INFO_KEY) || sessionStorage.getItem(USER_INFO_KEY)
100
+ if (storedUserInfo) {
101
+ userInfo.value = JSON.parse(storedUserInfo)
102
+ }
103
+ } catch (error) {
104
+ console.error('解析用户信息失败:', error)
105
+ }
106
+
107
+ return userInfo.value
108
+ }
109
+
110
+ /**
111
+ * 设置用户信息
112
+ */
113
+ const setUserInfo = (info: UserInfo, remember = false) => {
114
+ userInfo.value = info
115
+
116
+ const storage = remember ? localStorage : sessionStorage
117
+ storage.setItem(USER_INFO_KEY, JSON.stringify(info))
118
+ }
119
+
120
+ /**
121
+ * 移除用户信息
122
+ */
123
+ const removeUserInfo = () => {
124
+ userInfo.value = null
125
+ localStorage.removeItem(USER_INFO_KEY)
126
+ sessionStorage.removeItem(USER_INFO_KEY)
127
+ }
128
+
129
+ /**
130
+ * 登录
131
+ */
132
+ const login = async (params: LoginParams, api: any): Promise<boolean> => {
133
+ try {
134
+ const response = await api.login(params)
135
+ const { code, data, message } = response?.data || {}
136
+
137
+ if (code === 200 && data) {
138
+ // 保存 Token
139
+ const tokenInfo: TokenInfo = {
140
+ accessToken: data.token || data.accessToken,
141
+ refreshToken: data.refreshToken,
142
+ expiresIn: data.expiresIn,
143
+ }
144
+ setToken(tokenInfo, params.remember || false)
145
+
146
+ // 保存用户信息
147
+ if (data.userInfo) {
148
+ setUserInfo(data.userInfo, params.remember || false)
149
+ }
150
+
151
+ return true
152
+ }
153
+ console.error('登录失败:', message)
154
+ return false
155
+
156
+ } catch (error) {
157
+ console.error('登录异常:', error)
158
+ return false
159
+ }
160
+ }
161
+
162
+ /**
163
+ * 登出
164
+ */
165
+ const logout = async (api?: any, redirectToLogin = true) => {
166
+ try {
167
+ // 调用登出 API(可选)
168
+ if (api?.logout) {
169
+ await api.logout()
170
+ }
171
+ } catch (error) {
172
+ console.error('登出 API 调用失败:', error)
173
+ } finally {
174
+ // 清除本地数据
175
+ removeToken()
176
+ removeUserInfo()
177
+
178
+ // 跳转到登录页
179
+ if (redirectToLogin) {
180
+ router.push('/login')
181
+ }
182
+ }
183
+ }
184
+
185
+ /**
186
+ * 刷新 Token
187
+ */
188
+ const refreshToken = async (api: any): Promise<boolean> => {
189
+ try {
190
+ const oldRefreshToken = localStorage.getItem(REFRESH_TOKEN_KEY) || sessionStorage.getItem(REFRESH_TOKEN_KEY)
191
+
192
+ if (!oldRefreshToken) {
193
+ return false
194
+ }
195
+
196
+ const response = await api.refreshToken({ refreshToken: oldRefreshToken })
197
+ const { code, data } = response?.data || {}
198
+
199
+ if (code === 200 && data) {
200
+ const tokenInfo: TokenInfo = {
201
+ accessToken: data.token || data.accessToken,
202
+ refreshToken: data.refreshToken,
203
+ expiresIn: data.expiresIn,
204
+ }
205
+
206
+ const remember = !!localStorage.getItem(TOKEN_KEY)
207
+ setToken(tokenInfo, remember)
208
+
209
+ return true
210
+ }
211
+
212
+ return false
213
+ } catch (error) {
214
+ console.error('刷新 Token 失败:', error)
215
+ return false
216
+ }
217
+ }
218
+
219
+ /**
220
+ * 检查是否有权限
221
+ */
222
+ const hasPermission = (permission: string | string[]): boolean => {
223
+ const user = getUserInfo()
224
+ if (!user || !user.permissions) return false
225
+
226
+ const permissions = Array.isArray(permission) ? permission : [permission]
227
+ return permissions.some(p => user.permissions?.includes(p))
228
+ }
229
+
230
+ /**
231
+ * 检查是否有角色
232
+ */
233
+ const hasRole = (role: string | string[]): boolean => {
234
+ const user = getUserInfo()
235
+ if (!user || !user.roles) return false
236
+
237
+ const roles = Array.isArray(role) ? role : [role]
238
+ return roles.some(r => user.roles?.includes(r))
239
+ }
240
+
241
+ /**
242
+ * 初始化认证状态
243
+ */
244
+ const initAuth = () => {
245
+ getToken()
246
+ getUserInfo()
247
+ }
248
+
249
+ return {
250
+ // State
251
+ userInfo,
252
+ token,
253
+ isLoggedIn,
254
+
255
+ // Methods
256
+ getToken,
257
+ setToken,
258
+ removeToken,
259
+ getUserInfo,
260
+ setUserInfo,
261
+ removeUserInfo,
262
+ login,
263
+ logout,
264
+ refreshToken,
265
+ hasPermission,
266
+ hasRole,
267
+ initAuth,
268
+ }
269
+ }