@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,7 @@
1
+ /*!
2
+ * Socket.IO v4.8.1
3
+ * (c) 2014-2024 吉列尔莫·劳赫
4
+ * 根据 MIT 许可证发布。
5
+ */
6
+ const t = Object.create(null); t.open = "0", t.close = "1", t.ping = "2", t.pong = "3", t.message = "4", t.upgrade = "5", t.noop = "6"; const s = Object.create(null); Object.keys(t).forEach((i => { s[t[i]] = i })); const i = { type: "error", data: "parser error" }, e = "function" == typeof Blob || "undefined" != typeof Blob && "[object BlobConstructor]" === Object.prototype.toString.call(Blob), n = "function" == typeof ArrayBuffer, r = t => "function" == typeof ArrayBuffer.isView ? ArrayBuffer.isView(t) : t && t.buffer instanceof ArrayBuffer, o = ({ type: s, data: i }, o, c) => e && i instanceof Blob ? o ? c(i) : h(i, c) : n && (i instanceof ArrayBuffer || r(i)) ? o ? c(i) : h(new Blob([i]), c) : c(t[s] + (i || "")), h = (t, s) => { const i = new FileReader; return i.onload = function () { const t = i.result.split(",")[1]; s("b" + (t || "")) }, i.readAsDataURL(t) }; function c(t) { return t instanceof Uint8Array ? t : t instanceof ArrayBuffer ? new Uint8Array(t) : new Uint8Array(t.buffer, t.byteOffset, t.byteLength) } let a; const u = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", f = "undefined" == typeof Uint8Array ? [] : new Uint8Array(256); for (let t = 0; t < 64; t++)f[u.charCodeAt(t)] = t; const l = "function" == typeof ArrayBuffer, d = (t, e) => { if ("string" != typeof t) return { type: "message", data: y(t, e) }; const n = t.charAt(0); if ("b" === n) return { type: "message", data: p(t.substring(1), e) }; return s[n] ? t.length > 1 ? { type: s[n], data: t.substring(1) } : { type: s[n] } : i }, p = (t, s) => { if (l) { const i = (t => { let s, i, e, n, r, o = .75 * t.length, h = t.length, c = 0; "=" === t[t.length - 1] && (o--, "=" === t[t.length - 2] && o--); const a = new ArrayBuffer(o), u = new Uint8Array(a); for (s = 0; s < h; s += 4)i = f[t.charCodeAt(s)], e = f[t.charCodeAt(s + 1)], n = f[t.charCodeAt(s + 2)], r = f[t.charCodeAt(s + 3)], u[c++] = i << 2 | e >> 4, u[c++] = (15 & e) << 4 | n >> 2, u[c++] = (3 & n) << 6 | 63 & r; return a })(t); return y(i, s) } return { base64: !0, data: t } }, y = (t, s) => "blob" === s ? t instanceof Blob ? t : new Blob([t]) : t instanceof ArrayBuffer ? t : t.buffer, b = String.fromCharCode(30); function g() { return new TransformStream({ transform(t, s) { !function (t, s) { e && t.data instanceof Blob ? t.data.arrayBuffer().then(c).then(s) : n && (t.data instanceof ArrayBuffer || r(t.data)) ? s(c(t.data)) : o(t, !1, (t => { a || (a = new TextEncoder), s(a.encode(t)) })) }(t, (i => { const e = i.length; let n; if (e < 126) n = new Uint8Array(1), new DataView(n.buffer).setUint8(0, e); else if (e < 65536) { n = new Uint8Array(3); const t = new DataView(n.buffer); t.setUint8(0, 126), t.setUint16(1, e) } else { n = new Uint8Array(9); const t = new DataView(n.buffer); t.setUint8(0, 127), t.setBigUint64(1, BigInt(e)) } t.data && "string" != typeof t.data && (n[0] |= 128), s.enqueue(n), s.enqueue(i) })) } }) } let w; function v(t) { return t.reduce(((t, s) => t + s.length), 0) } function m(t, s) { if (t[0].length === s) return t.shift(); const i = new Uint8Array(s); let e = 0; for (let n = 0; n < s; n++)i[n] = t[0][e++], e === t[0].length && (t.shift(), e = 0); return t.length && e < t[0].length && (t[0] = t[0].slice(e)), i } function k(t) { if (t) return function (t) { for (var s in k.prototype) t[s] = k.prototype[s]; return t }(t) } k.prototype.on = k.prototype.addEventListener = function (t, s) { return this.t = this.t || {}, (this.t["$" + t] = this.t["$" + t] || []).push(s), this }, k.prototype.once = function (t, s) { function i() { this.off(t, i), s.apply(this, arguments) } return i.fn = s, this.on(t, i), this }, k.prototype.off = k.prototype.removeListener = k.prototype.removeAllListeners = k.prototype.removeEventListener = function (t, s) { if (this.t = this.t || {}, 0 == arguments.length) return this.t = {}, this; var i, e = this.t["$" + t]; if (!e) return this; if (1 == arguments.length) return delete this.t["$" + t], this; for (var n = 0; n < e.length; n++)if ((i = e[n]) === s || i.fn === s) { e.splice(n, 1); break } return 0 === e.length && delete this.t["$" + t], this }, k.prototype.emit = function (t) { this.t = this.t || {}; for (var s = new Array(arguments.length - 1), i = this.t["$" + t], e = 1; e < arguments.length; e++)s[e - 1] = arguments[e]; if (i) { e = 0; for (var n = (i = i.slice(0)).length; e < n; ++e)i[e].apply(this, s) } return this }, k.prototype.emitReserved = k.prototype.emit, k.prototype.listeners = function (t) { return this.t = this.t || {}, this.t["$" + t] || [] }, k.prototype.hasListeners = function (t) { return !!this.listeners(t).length }; const A = "function" == typeof Promise && "function" == typeof Promise.resolve ? t => Promise.resolve().then(t) : (t, s) => s(t, 0), E = "undefined" != typeof self ? self : "undefined" != typeof window ? window : Function("return this")(); function O(t, ...s) { return s.reduce(((s, i) => (t.hasOwnProperty(i) && (s[i] = t[i]), s)), {}) } const _ = E.setTimeout, j = E.clearTimeout; function x(t, s) { s.useNativeTimers ? (t.setTimeoutFn = _.bind(E), t.clearTimeoutFn = j.bind(E)) : (t.setTimeoutFn = E.setTimeout.bind(E), t.clearTimeoutFn = E.clearTimeout.bind(E)) } function B() { return Date.now().toString(36).substring(3) + Math.random().toString(36).substring(2, 5) } class C extends Error { constructor(t, s, i) { super(t), this.description = s, this.context = i, this.type = "TransportError" } } class T extends k { constructor(t) { super(), this.writable = !1, x(this, t), this.opts = t, this.query = t.query, this.socket = t.socket, this.supportsBinary = !t.forceBase64 } onError(t, s, i) { return super.emitReserved("error", new C(t, s, i)), this } open() { return this.readyState = "opening", this.doOpen(), this } close() { return "opening" !== this.readyState && "open" !== this.readyState || (this.doClose(), this.onClose()), this } send(t) { "open" === this.readyState && this.write(t) } onOpen() { this.readyState = "open", this.writable = !0, super.emitReserved("open") } onData(t) { const s = d(t, this.socket.binaryType); this.onPacket(s) } onPacket(t) { super.emitReserved("packet", t) } onClose(t) { this.readyState = "closed", super.emitReserved("close", t) } pause(t) { } createUri(t, s = {}) { return t + "://" + this.i() + this.o() + this.opts.path + this.h(s) } i() { const t = this.opts.hostname; return -1 === t.indexOf(":") ? t : "[" + t + "]" } o() { return this.opts.port && (this.opts.secure && Number(443 !== this.opts.port) || !this.opts.secure && 80 !== Number(this.opts.port)) ? ":" + this.opts.port : "" } h(t) { const s = function (t) { let s = ""; for (let i in t) t.hasOwnProperty(i) && (s.length && (s += "&"), s += encodeURIComponent(i) + "=" + encodeURIComponent(t[i])); return s }(t); return s.length ? "?" + s : "" } } class N extends T { constructor() { super(...arguments), this.u = !1 } get name() { return "polling" } doOpen() { this.l() } pause(t) { this.readyState = "pausing"; const s = () => { this.readyState = "paused", t() }; if (this.u || !this.writable) { let t = 0; this.u && (t++, this.once("pollComplete", (function () { --t || s() }))), this.writable || (t++, this.once("drain", (function () { --t || s() }))) } else s() } l() { this.u = !0, this.doPoll(), this.emitReserved("poll") } onData(t) { ((t, s) => { const i = t.split(b), e = []; for (let t = 0; t < i.length; t++) { const n = d(i[t], s); if (e.push(n), "error" === n.type) break } return e })(t, this.socket.binaryType).forEach((t => { if ("opening" === this.readyState && "open" === t.type && this.onOpen(), "close" === t.type) return this.onClose({ description: "服务器关闭了传输" }), !1; this.onPacket(t) })), "closed" !== this.readyState && (this.u = !1, this.emitReserved("pollComplete"), "open" === this.readyState && this.l()) } doClose() { const t = () => { this.write([{ type: "close" }]) }; "open" === this.readyState ? t() : this.once("open", t) } write(t) { this.writable = !1, ((t, s) => { const i = t.length, e = new Array(i); let n = 0; t.forEach(((t, r) => { o(t, !1, (t => { e[r] = t, ++n === i && s(e.join(b)) })) })) })(t, (t => { this.doWrite(t, (() => { this.writable = !0, this.emitReserved("drain") })) })) } uri() { const t = this.opts.secure ? "https" : "http", s = this.query || {}; return !1 !== this.opts.timestampRequests && (s[this.opts.timestampParam] = B()), this.supportsBinary || s.sid || (s.b64 = 1), this.createUri(t, s) } } let U = !1; try { U = "undefined" != typeof XMLHttpRequest && "withCredentials"在新的 XMLHttpRequest 中 } catch (t) { } const P = U; function D() { } class M extends N { constructor(t) { if (super(t), "undefined" != typeof location) { const s = "https:" === location.protocol; let i = location.port; i || (i = s ? "443" : "80"), this.xd = "undefined" != typeof location && t.hostname !== location.hostname || i !== t.port } } doWrite(t, s) { const i = this.request({ method: "POST", data: t }); i.on("success", s), i.on("error", ((t, s) => { this.onError("xhr post error", t, s) })) } doPoll() { const t = this.request(); t.on("data", this.onData.bind(this)), t.on("error", ((t, s) => { this.onError("xhr poll error", t, s) })), this.pollXhr = t } } class S extends k { constructor(t, s, i) { super(), this.createRequest = t, x(this, i), this.p = i, this.v = i.method || "GET", this.m = s, this.k = void 0 !== i.data ? i.data : null, this.A() } A() { var t; const s = O(this.p, "agent", "pfx", "key", "passphrase", "cert", "ca", "ciphers", "re​​jectUnauthorized", "autoUnref"); s.xdomain = !!this.p.xd; const i = this.O = this.createRequest(s); try { i.open(this.v, this.m, !0); try { if (this.p.extraHeaders) { i.setDisableHeaderCheck && i.setDisableHeaderCheck(!0); for (let t in this.p.extraHeaders) this.p.extraHeaders.hasOwnProperty(t) && i.setRequestHeader(t, this.p.extraHeaders[t]) } } catch (t) { } if ("POST" === this.v) try { i.setRequestHeader("Content-type", "text/plain;charset=UTF-8") } catch (t) { } try { i.setRequestHeader("Accept", "*/*") } catch (t) { } null === (t = this.p.cookieJar) || void 0 === t || t.addCookies(i),, "withCredentials" in i && (i.withCredentials = this.p.withCredentials), this.p.requestTimeout && (i.timeout = this.p.requestTimeout), i.onreadystatechange = () => { var t; 3 === i.readyState && (null === (t = this.p.cookieJar) || void 0 === t || t.parseCookies(i.getResponseHeader("set-cookie"))), 4 === i.readyState && (200 === i.status || 1223 === i.status ? this._() : this.setTimeoutFn((() => { this.j("number" == typeof i.status ? i.status : 0) }), 0)) }, i.send(this.k) } catch (t) { return void this.setTimeoutFn((() => { this.j(t) }), 0) } "undefined" != typeof document && (this.B = S.requestsCount++, S.requests[this.B] = this) } j(t) { this.emitReserved("error", t, this.O), this.C(!0) } C(t) { if (void 0 !== this.O && null !== this.O) { if (this.O.onreadystatechange = D, t) try { this.O.abort() } catch (t) { } "undefined" != typeof document && delete S.requests[this.B], this.O = null } } _() { const t = this.O.responseText; null !== t && (this.emitReserved("data", t), this.emitReserved("success"), this.C()) } abort() { this.C() } } if (S.requestsCount = 0, S.requests = {}, "undefined" != typeof document) if ("function" == typeof attachEvent) attachEvent("onunload", L); else if ("function" == typeof addEventListener) { addEventListener("onpagehide" in E ? "pagehide" : "unload", L, !1) } function L() { for (let t in S.requests) S.requests.hasOwnProperty(t) && S.requests[t].abort() } const R = function () { const t = F({ xdomain: !1 }); return t && null !== t.responseType }(); class I extends M { constructor(t) { super(t); const s = t && t.forceBase64; this.supportsBinary = R && !s } request(t = {}) { return Object.assign(t, { xd: this.xd }, this.opts), new S(F, this.uri(), t) } } function F(t) { const s = t.xdomain; try { if ("undefined" != typeof XMLHttpRequest && (!s || P)) return new XMLHttpRequest } catch (t) { } if (!s) try { return new (E[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP") } catch (t) { } } const $ = "undefined" != typeof navigator && "string" == typeof navigator.product && "reactnative" === navigator.product.toLowerCase(); class V extends T { get name() { return "websocket" } doOpen() { const t = this.uri(), s = this.opts.protocols, i = $ ? {} : O(this.opts, "agent", "perMessageDeflate", "pfx", "key", "passphrase", "cert", "ca", "ciphers", "re​​jectUnauthorized", "localAddress", "protocolVersion", "origin", "maxPayload", "family", "checkServerIdentity"); this.opts.extraHeaders && (i.headers = this.opts.extraHeaders); try { this.ws = this.createSocket(t, s, i) } catch (t) { return this.emitReserved("error", t) } this.ws.binaryType = this.socket.binaryType, this.addEventListeners() } addEventListeners() { this.ws.onopen = () => { this.opts.autoUnref && this.ws.T.unref(), this.onOpen() }, this.ws.onclose = t => this.onClose({ description: "websocket 连接已关闭", context: t }), this.ws.onmessage = t => this.onData(t.data), this.ws.onerror = t => this.onError("websocket 错误", t) } write(t) { this.writable = !1; for (let s = 0; s < t.length; s++) { const i = t[s], e = s === t.length - 1; o(i, this.supportsBinary, (t => { try { this.doWrite(i, t) } catch (t) { } e && A((() => { this.writable = !0, this.emitReserved("drain") }), this.setTimeoutFn) })) } } doClose() { void 0 !== this.ws && (this.ws.onerror = () => { }, this.ws.close(), this.ws = null) } uri() { const t = this.opts.secure ? "wss" : "ws", s = this.query || {}; return this.opts.timestampRequests && (s[this.opts.timestampParam] = B()), this.supportsBinary || (s.b64 = 1), this.createUri(t, s) } } const H = E.WebSocket || E.MozWebSocket; class W extends V { createSocket(t, s, i) { return $ ? new H(t, s, i) : s ? new H(t, s) : new H(t) } doWrite(t, s) { this.ws.send(s) } } class q extends T { get name() { return "webtransport" } doOpen() { try { this.N = new WebTransport(this.createUri("https"), this.opts.transportOptions[this.name]) } catch (t) { return this.emitReserved("error", t) } this.N.closed.then((() => { this.onClose() })).catch((t => { this.onError("webtransport error", t) })), this.N.ready.then((() => { this.N.createBidirectionalStream().then((t => { const s = function (t, s) { w || (w = new TextDecoder); const e = []; let n = 0, r = -1, o = !1; return new TransformStream({ transform(h, c) { for (e.push(h); ;) { if (0 === n) { if (v(e) < 1) break; const t = m(e, 1); o = !(128 & ~t[0]), r = 127 & t[0], n = r < 126 ? 3 : 126 === r ? 1 : 2 } else if (1 === n) { if (v(e) < 2) break; const t = m(e, 2); r = new DataView(t.buffer, t.byteOffset, t.length).getUint16(0), n = 3 } else if (2 === n) { if (v(e) < 8) break; const t = m(e, 8), s = new DataView(t.buffer, t.byteOffset, t.length), o = s.getUint32(0); if (o > Math.pow(2, 21) - 1) { c.enqueue(i); break } r = o * Math.pow(2, 32) + s.getUint32(4), n = 3 } else { if (v(e) < r) break; const t = m(e, r); c.enqueue(d(o ? t : w.decode(t), s)), n = 0 } if (0 === r || r > t) { c.enqueue(i); break } } } }) }(Number.MAX_SAFE_INTEGER, this.socket.binaryType), e = t.readable.pipeThrough(s).getReader(), n = g(); n.readable.pipeTo(t.writable), this.U = n.writable.getWriter(); const r = () => { e.read().then((({ done: t, value: s }) => { t || (this.onPacket(s), r()) })).catch((t => { })) }; r(); const o = { type: "open" }; this.query.sid && (o.data = `{"sid":"${this.query.sid}"}`), this.U.write(o).then((() => this.onOpen())) })) })) } write(t) { this.writable = !1; for (let s = 0; s < t.length; s++) { const i = t[s], e = s === t.length - 1; this.U.write(i).then((() => { e && A((() => { this.writable = !0, this.emitReserved("drain") }), this.setTimeoutFn) })) } } doClose() { var t; null === (t = this.N) || void 0 === t || t.close() } } const X = { websocket: W, webtransport: q, polling: I }, z = /^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![ ^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/, J = ["source", "protocol", "authority", "userInfo", "user", "password", "host", "port", "re​​lative", "path", "directory", "file", "query", "anchor"]; function Q(t) { if (t.length > 8e3) throw "URI too long"; const s = t, i = t.indexOf("["), e = t.indexOf("]"); -1 != i && -1 != e && (t = t.substring(0, i) + t.substring(i, e).replace(/:/g, ";") + t.substring(e, t.length)); let n = z.exec(t || ""), r = {}, o = 14; for (; o--;)r[J[o]] = n[o] || ""; return -1 != i && -1 != e && (r.source = s, r.host = r.host.substring(1, r.host.length - 1).replace(/;/g, ":"), r.authority = r.authority.replace("[", "").replace("]", "").replace(/;/g, ":"), r.ipv6uri = !0), r.pathNames = function (t, s) { const i = /\/{2,9}/g, e = s.replace(i, "/").split("/"); "/" != s.slice(0, 1) && 0 !== s.length || e.splice(0, 1); "/" == s.slice(-1) && e.splice(e.length - 1, 1); return e }(0, r.path), r.queryKey = function (t, s) { const i = {}; return s.replace(/(?:^|&)([^&=]*)=?([^&]*)/g, (function (t, s, e) { s && (i[s] = e) })), i }(0, r.query), r } const G = "function" == typeof addEventListener && "function" == typeof removeEventListener, K = []; G && addEventListener("offline", (() => { K.forEach((t => t())) }), !1); class Y extends k { constructor(t, s) { if (super(), this.binaryType = "arraybuffer", this.writeBuffer = [], this.P = 0, this.D = -1, this.M = -1, this.S = -1, this.L = 1 / 0, t && "object" == typeof t && (s = t, t = null), t) { const i = Q(t); s.hostname = i.host, s.secure = "https" === i.protocol || "wss" === i.protocol, s.port = i.port, i.query && (s.query = i.query) } else s.host && (s.hostname = Q(s.host).host); x(this, s), this.secure = null != s.secure ? s.secure : "undefined" != typeof location && "https:" === location.protocol, s.hostname && !s.port && (s.port = this.secure ? "443" : "80"), this.hostname = s.hostname || ("undefined" != typeof location ? location.hostname : "localhost"), this.port = s.port || ("undefined" != typeof location && location.port ? location.port : this.secure ? "443" : "80"), this.transports = [], this.R = {}, s.transports.forEach((t => { const s = t.prototype.name; this.transports.push(s), this.R[s] = t })), this.opts = Object.assign({ path: "/engine.io", agent: !1, withCredentials: !1, upgrade: !0, timestampParam: "t", rememberUpgrade: !1, addTrailingSlash: !0, rejectUnauthorized: !0, perMessageDeflate: { threshold: 1024 }, transportOptions: {}, closeOnBeforeunload: !1 }, s), this.opts.path = this.opts.path.replace(/\/$/, "") + (this.opts.addTrailingSlash ? "/" : ""), "string" == typeof this.opts.query && (this.opts.query = function (t) { let s = {}, i = t.split("&"); for (let t = 0, e = i.length; t < e; t++) { let e = i[t].split("="); s[decodeURIComponent(e[0])] = decodeURIComponent(e[1]) } return s }(this.opts.query)), G && (this.opts.closeOnBeforeunload && (this.I = () => { this.transport && (this.transport.removeAllListeners(), this.transport.close()) }, addEventListener("beforeunload", this.I, !1)),, "localhost" !== this.hostname && (this.F = () => { this.$("传输关闭", { description: "网络连接丢失" }) }, K.push(this.F))), this.opts.withCredentials && (this.V = void 0), this.H() } createTransport(t) { const s = Object.assign({}, this.opts.query); s.EIO = 4, s.transport = t, this.id && (s.sid = this.id); const i = Object.assign({}, this.opts, { query: s, socket: this, hostname: this.hostname, secure: this.secure, port: this.port }, this.opts.transportOptions[t]); return new this.R[t](i) } H() { if (0 === this.transports.length) return void this.setTimeoutFn((() => { this.emitReserved("error", "没有可用的传输") }), 0); const t = this.opts.rememberUpgrade && Y.priorWebsocketSuccess && -1 !== this.transports.indexOf("websocket") ? "websocket" : this.transports[0]; this.readyState = "opening"; const s = this.createTransport(t); s.open(), this.setTransport(s) } setTransport(t) { this.transport && this.transport.removeAllListeners(), this.transport = t, t.on("drain", this.W.bind(this)).on("packet", this.q.bind(this)).on("error", this.j.bind(this)).on("close", (t => this.$("transport关闭", t))) } onOpen() { this.readyState = "open", Y.priorWebsocketSuccess = "websocket" === this.transport.name, this.emitReserved("open"), this.flush() } q(t) { if ("opening" === this.readyState || "open" === this.readyState || "closing" === this.readyState) switch (this.emitReserved("packet", t), this.emitReserved("heartbeat"), t.type) { case "open": this.onHandshake(JSON.parse(t.data)); break; case "ping": this.X("pong"), this.emitReserved("ping"), this.emitReserved("pong"), this.J(); break; case "error": const s = new Error("server错误"); s.code = t.data, this.j(s); break; case "message": this.emitReserved("data", t.data), this.emitReserved("message", t.data) } } onHandshake(t) { this.emitReserved("握手", t), this.id = t.sid, this.transport.query.sid = t.sid, this.D = t.pingInterval, this.M = t.pingTimeout, this.S = t.maxPayload, this.onOpen(), "closed" !== this.readyState && this.J() } J() { this.clearTimeoutFn(this.G); const t = this.D + this.M; this.L = Date.now() + t, this.G = this.setTimeoutFn((() => { this.$("ping timeout") }), t), this.opts.autoUnref && this.G.unref() } W() { this.writeBuffer.splice(0, this.P), this.P = 0, 0 === this.writeBuffer.length ? this.emitReserved("drain") : this.flush() } flush() { if ("closed" !== this.readyState && this.transport.writable && !this.upgrading && this.writeBuffer.length) { const t = this.K(); this.transport.send(t), this.P = t.length, this.emitReserved("flush") } } K() { if (!(this.S && "polling" === this.transport.name && this.writeBuffer.length > 1)) return this.writeBuffer; let t = 1; for (let i = 0; i < this.writeBuffer.length; i++) { const e = this.writeBuffer[i].data; if (e && (t += "string" == typeof (s = e) ? function (t) { let s = 0, i = 0; for (let e = 0, n = t.length; e < n; e++)s = t.charCodeAt(e), s < 128 ? i += 1 : s < 2048 ? i += 2 : s < 55296 || s >= 57344 ? i += 3 : (e++, i += 4); return i }(s) : Math.ceil(1.33 * (s.byteLength || s.size))), i > 0 && t > this.S) return this.writeBuffer.slice(0, i); t += 2 } var s; return this.writeBuffer } Y() { if (!this.L) return !0; const t = Date.now() > this.L; return t && (this.L = 0, A((() => { this.$("ping timeout") }), this.setTimeoutFn)), t } write(t, s, i) { return this.X("message", t, s, i), this } send(t, s, i) { return this.X("message", t, s, i), this } X(t, s, i, e) { if ("function" == typeof s && (e = s, s = void 0), "function" == typeof i && (e = i, i = null), "closing" === this.readyState || "closed" === this.readyState) return; (i = i || {}).compress = !1 !== i.compress; const n = { type: t, data: s, options: i }; this.emitReserved("packetCreate", n), this.writeBuffer.push(n), e && this.once("flush", e), this.flush() } close() { const t = () => { this.$("forced close"), this.transport.close() }, s = () => { this.off("upgrade", s), this.off("upgradeError", s), t() }, i = () => { this.once("upgrade", s), this.once("upgradeError", s) }; return "opening" !== this.readyState && "open" !== this.readyState || (this.readyState = "closing", this.writeBuffer.length ? this.once("drain", (() => { this.upgrading ? i() : t() })) : this.upgrading ? i() : t()), this } j(t) { if (Y.priorWebsocketSuccess = !1, this.opts.tryAllTransports && this.transports.length > 1 && "opening" === this.readyState) return this.transports.shift(), this.H(); this.emitReserved("error", t), this.$("transport error", t) } $(t, s) { if ("opening" === this.readyState || "open" === this.readyState || "closing" === this.readyState) { if (this.clearTimeoutFn(this.G), this.transport.removeAllListeners("close"), this.transport.close(), this.transport.removeAllListeners(), G && (this.I && removeEventListener("beforeunload", this.I, !1), this.F)) { const t = K.indexOf(this.F); -1 !== t && K.splice(t, 1) } this.readyState = "closed", this.id = null, this.emitReserved("close", t, s), this.writeBuffer = [], this.P = 0 } } } Y.protocol = 4; class Z extends Y { constructor() { super(...arguments), this.Z = [] } onOpen() { if (super.onOpen(), "open" === this.readyState && this.opts.upgrade) for (let t = 0; t < this.Z.length; t++)this.tt(this.Z[t]) } tt(t) { let s = this.createTransport(t), i = !1; Y.priorWebsocketSuccess = !1; const e = () => { i || (s.send([{ type: "ping", data: "probe" }]), s.once("packet", (t => { if (!i) if ("pong" === t.type && "probe" === t.data) { if (this.upgrading = !0, this.emitReserved("upgrading", s), !s) return; Y.priorWebsocketSuccess = "websocket" === s.name, this.transport.pause((() => { i || "closed" !== this.readyState && (a(), this.setTransport(s), s.send([{ type: "upgrade" }]), this.emitReserved("upgrade", s), s = null, this.upgrading = !1, this.flush()) })) } else { const t = new Error("probe错误"); t.transport = s.name, this.emitReserved("upgradeError", t) } }))) }; function n() { i || (i = !0, a(), s.close(), s = null) } const r = t => { const i = new Error("探测错误: " + t); i.transport = s.name, n(), this.emitReserved("upgradeError", i) }; function o() { r("传输已关闭") } function h() { r("套接字已关闭") } function c(t) { s && t.name !== s.name && n() } const a = () => { s.removeListener("open", e), s.removeListener("error", r), s.removeListener("close", o), this.off("close", h), this.off("upgrading", c) }; s.once("open", e), s.once("error", r), s.once("close", o), this.once("close", h), this.once("upgrading", c), -1 !== this.Z.indexOf("webtransport") && "webtransport" !== t ? this.setTimeoutFn((() => { i || s.open() }), 200) : s.open() } onHandshake(t) { this.Z = this.st(t.upgrades), super.onHandshake(t) } st(t) { const s = []; for (let i = 0; i < t.length; i++)~this.transports.indexOf(t[i]) && s.push(t[i]); return s } } class tt extends Z { constructor(t, s = {}) { const i = "object" == typeof t ? t : s; (!i.transports || i.transports && "string" == typeof i.transports[0]) && (i.transports = (i.transports || ["polling", "websocket", "webtransport"]).map((t => X[t])).filter((t => !!t))), super(t, i) } } class st extends N { doPoll() { this.it().then((t => { if (!t.ok) return this.onError("获取读取错误", t.status, t); t.text().then((t => this.onData(t))) })).catch((t => { this.onError("获取读取错误", t) })) } doWrite(t, s) { this.it(t).then((t => { if (!t.ok) return this.onError("获取写入错误", t.status, t); s() })).catch((t => { this.onError("获取写入错误", t) })) } it(t) { var s; const i = void 0 !== t, e = new Headers(this.opts.extraHeaders); return i && e.set("content-type", "text/plain;charset=UTF-8"), null === (s = this.socket.V) || void 0 === s || s.appendCookies(e), fetch(this.uri(), { method: i ? "POST" : "GET", body: i ? t : null, headers: e, credentials: this.opts.withCredentials ? "include" : "omit" }).then((t => { var s; return null === (s = this.socket.V) || void 0 === s || s.parseCookies(t.headers.getSetCookie()), t })) } } const it = "function" == typeof ArrayBuffer, et = t => "function" == typeof ArrayBuffer.isView ? ArrayBuffer.isView(t) : t.buffer instanceof ArrayBuffer, nt = Object.prototype.toString, rt = "function" == typeof Blob || "undefined" != typeof Blob && "[object BlobConstructor]" === nt.call(Blob), ot = "function" == typeof File || "undefined" != typeof File && "[object FileConstructor]" === nt.call(File); function ht(t) { return it && (t instanceof ArrayBuffer || et(t)) || rt && t instanceof Blob || ot && t instanceof File } function ct(t, s) { if (!t || "object" != typeof t) return !1; if (Array.isArray(t)) { for (let s = 0, i = t.length; s < i; s++)if (ct(t[s])) return !0; return !1 } if (ht(t)) return !0; if (t.toJSON && "function" == typeof t.toJSON && 1 === arguments.length) return ct(t.toJSON(), !0); for (const s in t) if (Object.prototype.hasOwnProperty.call(t, s) && ct(t[s])) return !0; return !1 } function at(t) { const s = [], i = t.data, e = t; return e.data = ut(i, s), e.attachments = s.length, { packet: e, buffers: s } } function ut(t, s) { if (!t) return t; if (ht(t)) { const i = { et: !0, num: s.length }; return s.push(t), i } if (Array.isArray(t)) { const i = new Array(t.length); for (let e = 0; e < t.length; e++)i[e] = ut(t[e], s); return i } if ("object" == typeof t && !(t instanceof Date)) { const i = {}; for (const e in t) Object.prototype.hasOwnProperty.call(t, e) && (i[e] = ut(t[e], s)); return i } return t } function ft(t, s) { return t.data = lt(t.data, s), delete t.attachments, t } function lt(t, s) { if (!t) return t; if (t && !0 === t.et) { if ("number" == typeof t.num && t.num >= 0 && t.num < s.length) return s[t.num]; throw new Error("illegal attachments") } if (Array.isArray(t)) for (let i = 0; i < t.length; i++)t[i] = lt(t[i], s); else if ("object" == typeof t) for (const i in t) Object.prototype.hasOwnProperty.call(t, i) && (t[i] = lt(t[i], s)); return t } const dt = ["connect", "connect_error", "disconnect", "disconnecting", "newListener", "re​​moveListener"], pt = 5; var yt; !function (t) { t[t.CONNECT = 0] = "CONNECT", t[t.DISCONNECT = 1] = "DISCONNECT", t[t.EVENT = 2] = "EVENT", t[t.ACK = 3] = "ACK", t[t.CONNECT_ERROR = 4] = "CONNECT_ERROR", t[t.BINARY_EVENT = 5] = "BINARY_EVENT", t[t.BINARY_ACK = 6] = "BINARY_ACK" }(yt || (yt = {})); class bt extends k { constructor(t) { super(), this.reviver = t } add(t) { let s; if ("string" == typeof t) { if (this.reconstructor) throw new Error("重构数据包时获取到明文数据"); s = this.decodeString(t); const i = s.type === yt.BINARY_EVENT; i || s.type === yt.BINARY_ACK ? (s.type = i ? yt.EVENT : yt.ACK, this.reconstructor = new gt(s), 0 === s.attachments && super.emitReserved("decoded", s)) : super.emitReserved("decoded", s) } else { if (!ht(t) && !t.base64) throw new Error("未知类型: " + t); if (!this.reconstructor) throw new Error("未重构数据包时获取二进制数据"); s = this.reconstructor.takeBinaryData(t), s && (this.reconstructor = null, super.emitReserved("decoded", s)) } } decodeString(t) { let s = 0; const i = { type: Number(t.charAt(0)) }; if (void 0 === yt[i.type]) throw new Error("未知数据包类型" + i.type); if (i.type === yt.BINARY_EVENT || i.type === yt.BINARY_ACK) { const e = s + 1; for (; "-" !== t.charAt(++s) && s != t.length;); const n = t.substring(e, s); if (n != Number(n) || "-" !== t.charAt(s)) throw new Error("非法附件"); i.attachments = Number(n) } if ("/" === t.charAt(s + 1)) { const e = s + 1; for (; ++s;) { if ("," === t.charAt(s)) break; if (s === t.length) break } i.nsp = t.substring(e, s) } else i.nsp = "/"; const e = t.charAt(s + 1); if ("" !== e && Number(e) == e) { const e = s + 1; for (; ++s;) { const i = t.charAt(s); if (null == i || Number(i) != i) { --s; break } if (s === t.length) break } i.id = Number(t.substring(e, s + 1)) } if (t.charAt(++s)) { const e = this.tryParse(t.substr(s)); if (!bt.isPayloadValid(i.type, e)) throw new Error("无效payload"); i.data = e } return i } tryParse(t) { try { return JSON.parse(t, this.reviver) } catch (t) { return !1 } } static isPayloadValid(t, s) { switch (t) { case yt.CONNECT: return vt(s); case yt.DISCONNECT: return void 0 === s; case yt.CONNECT_ERROR: return "string" == typeof s || vt(s); case yt.EVENT: case yt.BINARY_EVENT: return Array.isArray(s) && ("number" == typeof s[0] || "string" == typeof s[0] && -1 === dt.indexOf(s[0])); case yt.ACK: case yt.BINARY_ACK: return Array.isArray(s) } } destroy() { this.reconstructor && (this.reconstructor.finishedReconstruction(), this.reconstructor = null) } } class gt { constructor(t) { this.packet = t, this.buffers = [], this.reconPack = t } takeBinaryData(t) { if (this.buffers.push(t), this.buffers.length === this.reconPack.attachments) { const t = ft(this.reconPack, this.buffers); return this.finishedReconstruction(), t } return null } finishedReconstruction() { this.reconPack = null, this.buffers = [] } } const wt = Number.isInteger || function (t) { return "number" == typeof t && isFinite(t) && Math.floor(t) === t }; function vt(t) { return "[object Object]" === Object.prototype.toString.call(t) } var mt = Object.freeze({ __proto__: null, protocol: 5, get PacketType() { return yt }, Encoder: class { constructor(t) { this.replacer = t } encode(t) { return t.type !== yt.EVENT && t.type !== yt.ACK || !ct(t) ? [this.encodeAsString(t)] : this.encodeAsBinary({ type: t.type === yt.EVENT ? yt.BINARY_EVENT : yt.BINARY_ACK, nsp: t.nsp, data: t.data, id: t.id }) } encodeAsString(t) { let s = "" + t.type; return t.type !== yt.BINARY_EVENT && t.type !== yt.BINARY_ACK || (s += t.attachments + "-"), t.nsp && "/" !== t.nsp && (s += t.nsp + ","), null != t.id && (s += t.id), null != t.data && (s += JSON.stringify(t.data, this.replacer)), s } encodeAsBinary(t) { const s = at(t), i = this.encodeAsString(s.packet), e = s.buffers; return e.unshift(i), e } }, Decoder: bt, isPacketValid: function (t) { return "string" == typeof t.nsp && (void 0 === (s = t.id) || wt(s)) && function (t, s) { switch (t) { case yt.CONNECT: return void 0 === s || vt(s); case yt.DISCONNECT: return void 0 === s; case yt.EVENT: return Array.isArray(s) && ("number" == typeof s[0] || "string" == typeof s[0] && -1 === dt.indexOf(s[0])); case yt.ACK: return Array.isArray(s); case yt.CONNECT_ERROR: return "string" == typeof s || vt(s); default: return !1 } }(t.type, t.data); var s } }); function kt(t, s, i) { return t.on(s, i), function () { t.off(s, i) } } const At = Object.freeze({ connect: 1, connect_error: 1, disconnect: 1, disconnecting: 1, newListener: 1, removeListener: 1 }); class Et extends k { constructor(t, s, i) { super(), this.connected = !1, this.recovered = !1, this.receiveBuffer = [], this.sendBuffer = [], this.nt = [], this.rt = 0, this.ids = 0, this.acks = {}, this.flags = {}, this.io = t, this.nsp = s, i && i.auth && (this.auth = i.auth), this.p = Object.assign({}, i), this.io.ot && this.open() } get disconnected() { return !this.connected } subEvents() { if (this.subs) return; const t = this.io; this.subs = [kt(t, "open", this.onopen.bind(this)), kt(t, "packet", this.onpacket.bind(this)), kt(t, "error", this.onerror.bind(this)), kt(t, "close", this.onclose.bind(this))] } get active() { return !!this.subs } connect() { return this.connected || (this.subEvents(), this.io.ht || this.io.open(), "open" === this.io.ct && this.onopen()), this } open() { return this.connect() } send(...t) { return t.unshift("message"), this.emit.apply(this, t), this } emit(t, ...s) { var i, e, n; if (At.hasOwnProperty(t)) throw new Error('"' + t.toString() + '" 是一个保留的事件名称'); if (s.unshift(t), this.p.retries && !this.flags.fromQueue && !this.flags.volatile) return this.ut(s), this; const r = { type: yt.EVENT, data: s, options: {} }; if (r.options.compress = !1 !== this.flags.compress, "function" == typeof s[s.length - 1]) { const t = this.ids++, i = s.pop(); this.ft(t, i), r.id = t } const o = null === (e = null === (i = this.io.engine) || void 0 === i ? void 0 : i.transport) || void 0 === e ? void 0 : e.writable, h = this.connected && !(null === (n = this.io.engine) || void 0 === n ? void 0 : n.Y()); return this.flags.volatile && !o || (h ? (this.notifyOutgoingListeners(r), this.packet(r)) : this.sendBuffer.push(r)), this.flags = {}, this } ft(t, s) { var i; const e = null !== (i = this.flags.timeout) && void 0 !== i ? i : this.p.ackTimeout; if (void 0 === e) return void (this.acks[t] = s); const n = this.io.setTimeoutFn((() => { delete this.acks[t]; for (let s = 0; s < this.sendBuffer.length; s++)this.sendBuffer[s].id === t && this.sendBuffer.splice(s, 1); s.call(this, new Error("操作已超时out")) }), e), r = (...t) => { this.io.clearTimeoutFn(n), s.apply(this, t) }; r.withError = !0, this.acks[t] = r } emitWithAck(t, ...s) { return new Promise(((i, e) => { const n = (t, s) => t ? e(t) : i(s); n.withError = !0, s.push(n), this.emit(t, ...s) })) } ut(t) { let s; "function" == typeof t[t.length - 1] && (s = t.pop()); const i = { id: this.rt++, tryCount: 0, pending: !1, args: t, flags: Object.assign({ fromQueue: !0 }, this.flags) }; t.push(((t, ...e) => { if (i !== this.nt[0]) return; return null !== t ? i.tryCount > this.p.retries && (this.nt.shift(), s && s(t)) : (this.nt.shift(), s && s(null, ...e)), i.pending = !1, this.lt() })), this.nt.push(i), this.lt() } lt(t = !1) { if (!this.connected || 0 === this.nt.length) return; const s = this.nt[0]; s.pending && !t || (s.pending = !0, s.tryCount++, this.flags = s.flags, this.emit.apply(this, s.args)) } packet(t) { t.nsp = this.nsp, this.io.dt(t) } onopen() { "function" == typeof this.auth ? this.auth((t => { this.yt(t) })) : this.yt(this.auth) } yt(t) { this.packet({ type: yt.CONNECT, data: this.bt ? Object.assign({ pid: this.bt, offset: this.gt }, t) : t }) } onerror(t) { this.connected || this.emitReserved("connect_error", t) } onclose(t, s) { this.connected = !1, delete this.id, this.emitReserved("disconnect", t, s), this.wt() } wt() { Object.keys(this.acks).forEach((t => { if (!this.sendBuffer.some((s => String(s.id) === t))) { const s = this.acks[t]; delete this.acks[t], s.withError && s.call(this, new Error("socket has been disconnected")) } })) } onpacket(t) { if (t.nsp === this.nsp) switch (t.type) { case yt.CONNECT: t.data && t.data.sid ? this.onconnect(t.data.sid, t.data.pid) : this.emitReserved("connect_error", new Error("It seems you are trying to connect a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more信息请参见:https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)")); break; case yt.EVENT: case yt.BINARY_EVENT: this.onevent(t); break; case yt.ACK: case yt.BINARY_ACK: this.onack(t); break; case yt.DISCONNECT: this.ondisconnect(); break; case yt.CONNECT_ERROR: this.destroy(); const s = new Error(t.data.message); s.data = t.data.data, this.emitReserved("connect_error", s) } } onevent(t) { const s = t.data || []; null != t.id && s.push(this.ack(t.id)), this.connected ? this.emitEvent(s) : this.receiveBuffer.push(Object.freeze(s)) } emitEvent(t) { if (this.vt && this.vt.length) { const s = this.vt.slice(); for (const i of s) i.apply(this, t) } super.emit.apply(this, t), this.bt && t.length && "string" == typeof t[t.length - 1] && (this.gt = t[t.length - 1]) } ack(t) { const s = this; let i = !1; return function (...e) { i || (i = !0, s.packet({ type: yt.ACK, id: t, data: e })) } } onack(t) { const s = this.acks[t.id]; "function" == typeof s && (delete this.acks[t.id], s.withError && t.data.unshift(null), s.apply(this, t.data)) } onconnect(t, s) { this.id = t, this.recovered = s && this.bt === s, this.bt = s, this.connected = !0, this.emitBuffered(), this.emitReserved("connect"), this.lt(!0) } emitBuffered() { this.receiveBuffer.forEach((t => this.emitEvent(t))), this.receiveBuffer = [], this.sendBuffer.forEach((t => { this.notifyOutgoingListeners(t), this.packet(t) })), this.sendBuffer = [] } ondisconnect() { this.destroy(), this.onclose("io server disconnect)}destroy(){this.subs&&(this.subs.forEach((t=>t())),this.subs=void 0),this.io.kt(this)}disconnect(){return this.connected&&this.packet({type:yt.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io 客户端断开连接"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this.vt=this.vt||[],this.vt.push(t),this}prependAny(t){return this.vt=this.vt||[],this.vt.unshift(t),this}offAny(t){if(!this.vt)return this;if(t){const s=this.vt;for(let i=0;i<s.length;i++)if(t===s[i])return s.splice(i,1),this}else this.vt=[];return this}listenersAny(){return this.vt||[]}onAnyOutgoing(t){return this.At=this.At||[],this.At.push(t),this}prependAnyOutgoing(t){return this.At=this.At||[],this.At.unshift(t),this}offAnyOutgoing(t){if(!this.At)return this;if(t){const s=this.At;for(let i=0;i<s.length;i++)if(t===s[i])return s.splice(i,1),this}else this.At=[];return this}listenersAnyOutgoing(){return this.At||[]}notifyOutgoingListeners(t){if(this.At&&this.At.length){const s=this.At.slice();for(const i of s)i.apply(this,t.data)}}}function Ot(t){t=t||{},this.ms=t.min||100,this.max=t.max||1e4,this.factor=t.factor||2,this.jitter=t.jitter>0&&t.jitter<=1?t.jitter:0,this.attempts=0}Ot.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var s=Math.random(),i=Math.floor(s*this.jitter*t);t=1&Math.floor(10*s)?t+i:ti}return 0|Math.min(t,this.max)},Ot.prototype.reset=function(){this.attempts=0},Ot.prototype.setMin=function(t){this.ms=t},Ot.prototype.setMax=function(t){this.max=t},Ot.prototype.setJitter=function(t){this.jitter=t};class _t extends k{constructor(t,s){var i;super(),this.nsps={},this.subs=[],t&&"object"==typeof t&&(s=t,t=void 0),(s=s||{}).path=s.path||" / socket.io",this.opts=s,x(this,s),this.reconnection(!1!==s.reconnection),this.reconnectionAttempts(s.reconnectionAttempts||1/0),this.reconnectionDelay(s.reconnectionDelay||1e3),this.reconnectionDelayMax(s.reconnectionDelayMax||5e3),this.randomizationFactor(null!==(i=s.randomizationFactor)&&void 0!==i?i:.5),this.backoff=new Ot({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==s.timeout?2e4:s.timeout),this.ct="closed",this.uri=t;const e=s.parser||mt;this.encoder=new e.Encoder,this.decoder=new e.Decoder,this.ot=!1!==s.autoConnect,this.ot&&this.open()}reconnection(t){return arguments.length?(this.Et=!!t,t||(this.skipReconnect=!0),this):this.Et}reconnectionAttempts(t){return void 0===t?this.Ot:(this.Ot=t,this)}reconnectionDelay(t){var s;return void 0===t?this._t:(this._t=t,null===(s=this.backoff)||void 0===s||s.setMin(t),this)}randomizationFactor(t){var s;return void 0===t?this.jt:(this.jt=t,null===(s=this.backoff)||void 0===s||s.setJitter(t),this)}reconnectionDelayMax(t){var s;return void 0===t?this.xt:(this.xt=t,null===(s=this.backoff)||void 0===s||s.setMax(t),this)}timeout(t){return arguments.length?(this.Bt=t,this):this.Bt}maybeReconnectOnOpen(){!this.ht&&this.Et&&0===this.backoff.attempts&&this.reconnect()}open(t){if(~this.ct.indexOf("open"))return this;this.engine=new tt(this.uri,this.opts);const s=this.engine,i=this;this.ct="opening",this.skipReconnect=!1;const e=kt(s,"open",(function(){i.onopen(),t&&t()})),n=s=>{this.cleanup(),this.ct="closed",this.emitReserved("error",s),t?t(s):this.maybeReconnectOnOpen()},r=kt(s,"error",n);if(!1!==this.Bt){const t=this.Bt,i=this.setTimeoutFn((()=>{e(),n(new Error("timeout")),s.close()}),t);this.opts.autoUnref&&i.unref(),this.subs.push((()=>{this.clearTimeoutFn(i)}))}return this.subs.push(e),this.subs.push(r),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this.ct="open",this.emitReserved("open");const t=this.engine;this.subs.push(kt(t,"ping",this.onping.bind(this)),kt(t,"data",this.ondata.bind(this)),kt(t,"error",this.onerror.bind(this)),kt(t,"close",this.onclose.bind(this)),kt(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(t){this.onclose("解析错误",t)}}ondecoded(t){A((()=>{this.emitReserved("packet",t)}),this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,s){let i=this.nsps[t];return i?this.ot&&!i.active&&i.connect():(i=new Et(this,t,s),this.nsps[t]=i),i}kt(t){const s=Object.keys(this.nsps);for(const t of s){if(this.nsps[t].active)return}this.Ct()}dt(t){const s=this.encoder.encode(t);for(let i=0;i<s.length;i++)this.engine.write(s[i],t.options)}cleanup(){this.subs.forEach((t=>t())),this.subs.length=0,this.decoder.destroy()}Ct(){this.skipReconnect=!0,this.ht=!1,this.onclose("强制关闭")}disconnect(){return this.Ct()}onclose(t,s){var i;this.cleanup(),null===(i=this.engine)||void 0===i||i.close(),this.backoff.reset(),this.ct="closed",this.emitReserved("close",t,s),this.Et&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this.ht||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this.Ot)this.backoff.reset(),this.emitReserved("reconnect_failed"),this.ht=!1;else{const s=this.backoff.duration();this.ht=!0;const i=this.setTimeoutFn((()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),t.skipReconnect||t.open((s=>{s?(t.ht=!1,t.reconnect(),this.emitReserved("reconnect_error",s)):t.onreconnect()})))}),s);this.opts.autoUnref&&i.unref(),this.subs.push((()=>{this.clearTimeoutFn(i)}))}}onreconnect(){const t=this.backoff.attempts;this.ht=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const jt={};function xt(t,s){"object"==typeof t&&(s=t,t=void 0);const i=function(t,s="",i){let e=t;i=i||"undefined"!=typeof location&&location,null==t&&(t=i.protocol+"//"+i.host),,"string"==typeof t&&("/"===t.charAt(0)&&(t="/"===t.charAt(1)?i.protocol+t:i.host+t),/^(https?|wss?):\/\//.test(t)||(t=void 0!==i?i.protocol+"//"+t:"https://"+t),e=Q(t)),e.port||(/^(http|ws)$/.test(e.protocol)?e.port="80":/^(http|ws)s$/.test(e.protocol)&&(e.port="443")),e.path=e.path||"/";const n=-1!==e.host.indexOf(":")?"["+e.host+"]":e.host;return e.id=e.protocol+"://"+n+":"+e.port+s,e.href=e.protocol+"://"+n+(i&&i.port===e.port?"":":"+e.port),e}(t,(s=s||{}).path||"/socket.io"),e=i.source,n=i.id,r=i.path,o=jt[n]&&r in jt[n].nsps;let h;return s.forceNew||s["强制新连接"]||!1===s.multiplex||o?h=new _t(e,s):(jt[n]||(jt[n]=new _t(e,s)),h=jt[n]),i.query&&!s.query&&(s.query=i.queryKey),h.socket(i.path,s)}Object.assign(xt,{Manager:_t,Socket:Et,io:xt,connect:xt});export{st as Fetch,_t as Manager,W as NodeWebSocket,I as NodeXHR,Et as Socket,W as WebSocket,q as WebTransport,I as XHR,xt as connect,xt as default,xt as io,pt as protocol};s){"object"==typeof t&&(s=t,t=void 0);const i=function(t,s="",i){let e=t;i=i||"undefined"!=typeof location&&location,null==t&&(t=i.protocol+"//"+i.host),,"string"==typeof t&&("/"===t.charAt(0)&&(t="/"===t.charAt(1)?i.protocol+t:i.host+t),/^(https?|wss?):\/\//.test(t)||(t=void 0!==i?i.protocol+"//"+t:"https://"+t),e=Q(t)),e.port||(/^(http|ws)$/.test(e.protocol)?e.port="80":/^(http|ws)s$/.test(e.protocol)&&(e.port="443")),e.path=e.path||"/";const n=-1!==e.host.indexOf(":")?"["+e.host+"]":e.host;return e.id=e.protocol+"://"+n+":"+e.port+s,e.href=e.protocol+"://"+n+(i&&i.port===e.port?"":":"+e.port),e}(t,(s=s||{}).path||"/socket.io"),e=i.source,n=i.id,r=i.path,o=jt[n]&&r in jt[n].nsps;let h;return s.forceNew||s["强制新连接"]||!1===s.multiplex||o?h=new _t(e,s):(jt[n]||(jt[n]=new _t(e,s)),h=jt[n]),i.query&&!s.query&&(s.query=i.queryKey),h.socket(i.path,s)}Object.assign(xt,{Manager:_t,Socket:Et,io:xt,connect:xt});export{st as Fetch,_t as Manager,W as NodeWebSocket,I as NodeXHR,Et as Socket,W as WebSocket,q as WebTransport,I as XHR,xt as connect,xt as default,xt as io,pt as protocol};s){"object"==typeof t&&(s=t,t=void 0);const i=function(t,s="",i){let e=t;i=i||"undefined"!=typeof location&&location,null==t&&(t=i.protocol+"//"+i.host),,"string"==typeof t&&("/"===t.charAt(0)&&(t="/"===t.charAt(1)?i.protocol+t:i.host+t),/^(https?|wss?):\/\//.test(t)||(t=void 0!==i?i.protocol+"//"+t:"https://"+t),e=Q(t)),e.port||(/^(http|ws)$/.test(e.protocol)?e.port="80":/^(http|ws)s$/.test(e.protocol)&&(e.port="443")),e.path=e.path||"/";const n=-1!==e.host.indexOf(":")?"["+e.host+"]":e.host;return e.id=e.protocol+"://"+n+":"+e.port+s,e.href=e.protocol+"://"+n+(i&&i.port===e.port?"":":"+e.port),e}(t,(s=s||{}).path||"/socket.io"),e=i.source,n=i.id,r=i.path,o=jt[n]&&r in jt[n].nsps;let h;return s.forceNew||s["强制新连接"]||!1===s.multiplex||o?h=new _t(e,s):(jt[n]||(jt[n]=new _t(e,s)),h=jt[n]),i.query&&!s.query&&(s.query=i.queryKey),h.socket(i.path,s)}Object.assign(xt,{Manager:_t,Socket:Et,io:xt,connect:xt});export{st as Fetch,_t as Manager,W as NodeWebSocket,I as NodeXHR,Et as Socket,W as WebSocket,q as WebTransport,I as XHR,xt as connect,xt as default,xt as io,pt as protocol};
7
+ //# sourceMappingURL=socket.io.esm.min.js.map
@@ -0,0 +1,118 @@
1
+ // 创建连接类
2
+
3
+ import { io } from 'socket.io-client';
4
+ export default class SocketIO {
5
+ constructor(path, reconnect) {
6
+ this.url = path;
7
+ this.socket = null;
8
+ this.reconnect = reconnect;
9
+ this.eventListeners = {};
10
+ this.errorCount = 0; // 连接错误计数器
11
+ this.isErrorShown = false; // 是否已经显示过错误信息
12
+ this.maxReconnectAttempts = 5; // 最大重连次数
13
+ this.currentReconnectAttempt = 0; // 当前重连次数
14
+ this.reconnectDelay = 3000; // 重连延迟(毫秒)
15
+ }
16
+
17
+ openConnect() {
18
+ // 停止连接
19
+ if (this.socket) {
20
+ this.socket.disconnect();
21
+ this.socket = null;
22
+ }
23
+
24
+ // 连接
25
+ this.socket = io(this.url, {
26
+ transports: ['websocket'], // 使用websocket协议
27
+ autoConnect: false,
28
+ reconnection: this.reconnect || false,
29
+ timeout: 500000,
30
+ forceNew: true
31
+ });
32
+
33
+ return new Promise((resolve, reject) => {
34
+ // 连接成功事件
35
+ this.socket.on('connect', () => {
36
+ this.errorCount = 0;
37
+ this.isErrorShown = false;
38
+ this.currentReconnectAttempt = 0;
39
+ console.log('Socket.IO 连接成功');
40
+ resolve(this.socket);
41
+ });
42
+
43
+ // 连接错误事件
44
+ this.socket.on('connect_error', (error) => {
45
+ this.errorCount++;
46
+ if (!this.isErrorShown) {
47
+ console.error('Socket.IO 连接失败');
48
+ console.error('错误详情:', error.message);
49
+ this.isErrorShown = true;
50
+ }
51
+ if (this.errorCount === 1) {
52
+ this.disconnect()
53
+ reject(new Error(`Socket.IO 连接失败: ${error.message}`));
54
+ }
55
+ });
56
+
57
+ // 连接关闭事件
58
+ this.socket.on('disconnect', (reason) => {
59
+ console.log('Socket.IO 连接已断开,原因:', reason);
60
+ this.isErrorShown = false;
61
+
62
+ if (this.reconnect && reason !== 'io client disconnect') {
63
+ if (this.currentReconnectAttempt < this.maxReconnectAttempts) {
64
+ this.currentReconnectAttempt++;
65
+ console.log(`准备第 ${this.currentReconnectAttempt} 次重连...`);
66
+ setTimeout(() => {
67
+ this.socket.connect();
68
+ }, this.reconnectDelay);
69
+ } else {
70
+ console.log('已达到最大重连次数,停止重连');
71
+ }
72
+ }
73
+ });
74
+
75
+ // 启动连接
76
+ this.socket.connect();
77
+ });
78
+
79
+ }
80
+
81
+ // 添加事件监听器
82
+ on(event, callback) {
83
+ if (!this.socket) {
84
+ console.error('Socket未初始化,请先调用openConnect()');
85
+ return;
86
+ }
87
+ this.socket.on(event, callback);
88
+ }
89
+
90
+ // 移除事件监听器
91
+ off(event, callback) {
92
+ if (!this.socket) {
93
+ console.error('Socket未初始化,请先调用openConnect()');
94
+ return;
95
+ }
96
+ this.socket.off(event, callback);
97
+ }
98
+
99
+ // 发送自定义事件
100
+ emit(event, data) {
101
+ if (!this.socket) {
102
+ console.error('Socket未初始化,请先调用openConnect()');
103
+ return;
104
+ }
105
+ this.socket.emit(event, data);
106
+ }
107
+
108
+ // 断开连接
109
+ disconnect() {
110
+ if (!this.socket) {
111
+ console.error('Socket未初始化,请先调用openConnect()');
112
+ return;
113
+ }
114
+ this.socket.disconnect();
115
+ this.socket = null;
116
+
117
+ }
118
+ }
@@ -0,0 +1,150 @@
1
+ <template>
2
+ <div class="socket-example">
3
+ <h2>Socket.IO 示例</h2>
4
+
5
+ <div v-if="!isConnected">
6
+ <button @click="connectSocket">建立Socket连接</button>
7
+ </div>
8
+
9
+ <div v-else>
10
+ <p>连接状态: <span class="status-connected">已连接</span></p>
11
+ <button @click="disconnectSocket">断开连接</button>
12
+
13
+ <div class="message-area">
14
+ <h3>发送消息</h3>
15
+ <div class="input-group">
16
+ <input v-model="messageText" placeholder="输入消息内容">
17
+ <button @click="sendMessage">发送</button>
18
+ </div>
19
+ </div>
20
+
21
+ <div class="message-list">
22
+ <h3>接收到的消息</h3>
23
+ <ul>
24
+ <li v-for="(msg, index) in messages" :key="index">{{ msg }}</li>
25
+ </ul>
26
+ </div>
27
+ </div>
28
+ </div>
29
+ </template>
30
+
31
+ <script setup>
32
+ import { getCurrentInstance, onBeforeUnmount, ref } from 'vue';
33
+
34
+ // 获取当前组件实例,以便访问全局属性
35
+ const { proxy } = getCurrentInstance();
36
+
37
+ // 响应式状态
38
+ const isConnected = ref(false);
39
+ const messageText = ref('');
40
+ const messages = ref([]);
41
+
42
+ // Socket连接方法
43
+ const connectSocket = () => {
44
+ // 在需要时创建Socket连接
45
+ const socket = proxy.$socketService.createConnection(
46
+ 'ws://your-java-server:port', // 替换为实际的Socket服务器地址
47
+ true // 是否自动重连
48
+ );
49
+
50
+ // 建立连接
51
+ socket.openConnect()
52
+ .then(() => {
53
+ isConnected.value = true;
54
+ console.log('Socket连接成功');
55
+
56
+ // 请求
57
+ socket.emit('clientMessage', { text: 'Hello, Server!' });
58
+
59
+ // 监听服务器消息
60
+ socket.on('serverMessage', (data) => {
61
+ messages.value.push(data);
62
+ });
63
+ })
64
+ .catch(error => {
65
+ console.error('Socket连接失败:', error);
66
+ });
67
+ };
68
+
69
+ // 断开连接方法
70
+ const disconnectSocket = () => {
71
+ proxy.$socketService.disconnect();
72
+ isConnected.value = false;
73
+ messages.value = [];
74
+ };
75
+
76
+ // 发送消息方法
77
+ const sendMessage = () => {
78
+ if (!messageText.value.trim()) return;
79
+
80
+ const socket = proxy.$socketService.getInstance();
81
+ if (socket) {
82
+ socket.emit('clientMessage', { text: messageText.value });
83
+ messageText.value = '';
84
+ }
85
+ };
86
+
87
+ // 组件卸载前断开连接
88
+ onBeforeUnmount(() => {
89
+ if (isConnected.value) {
90
+ disconnectSocket();
91
+ }
92
+ });
93
+ </script>
94
+
95
+ <style scoped>
96
+ .socket-example {
97
+ max-width: 600px;
98
+ margin: 20px auto;
99
+ padding: 20px;
100
+ border: 1px solid #eee;
101
+ border-radius: 5px;
102
+ }
103
+
104
+ .status-connected {
105
+ color: green;
106
+ font-weight: bold;
107
+ }
108
+
109
+ .input-group {
110
+ display: flex;
111
+ margin: 10px 0;
112
+ }
113
+
114
+ .input-group input {
115
+ flex: 1;
116
+ padding: 8px;
117
+ margin-right: 10px;
118
+ }
119
+
120
+ .message-list {
121
+ margin-top: 20px;
122
+ max-height: 200px;
123
+ overflow-y: auto;
124
+ border: 1px solid #eee;
125
+ padding: 10px;
126
+ }
127
+
128
+ .message-list ul {
129
+ list-style-type: none;
130
+ padding: 0;
131
+ }
132
+
133
+ .message-list li {
134
+ padding: 5px 0;
135
+ border-bottom: 1px solid #f0f0f0;
136
+ }
137
+
138
+ button {
139
+ padding: 8px 15px;
140
+ background-color: #4CAF50;
141
+ color: white;
142
+ border: none;
143
+ border-radius: 4px;
144
+ cursor: pointer;
145
+ }
146
+
147
+ button:hover {
148
+ background-color: #45a049;
149
+ }
150
+ </style>
@@ -0,0 +1,10 @@
1
+ import socketService from './socketService';
2
+
3
+ export default {
4
+ install(app) {
5
+ // 将socket服务添加到Vue原型上
6
+ app.config.globalProperties.$socketService = socketService
7
+ // // 添加全局方法
8
+ app.$socketService = socketService;
9
+ }
10
+ };
@@ -0,0 +1,37 @@
1
+
2
+ import SocketIO from './socket.io.js';
3
+
4
+ class SocketService {
5
+ constructor() {
6
+ this.socketInstance = null;
7
+ }
8
+
9
+ // 创建并返回Socket连接
10
+ createConnection(url, reconnect = false) {
11
+ if (this.socketInstance) {
12
+ console.warn('Socket连接已存在,将先断开现有连接');
13
+ this.disconnect();
14
+ }
15
+
16
+ this.socketInstance = new SocketIO(url, reconnect);
17
+ return this.socketInstance; // socket类对象实例,还未初始化连接
18
+ }
19
+
20
+ // 获取当前Socket实例
21
+ getInstance() {
22
+ return this.socketInstance;
23
+ }
24
+
25
+ // 断开连接
26
+ disconnect() {
27
+ if (this.socketInstance) {
28
+ this.socketInstance.disconnect();
29
+ this.socketInstance = null;
30
+ }
31
+ }
32
+ }
33
+
34
+ // 创建单例
35
+ const socketService = new SocketService();
36
+
37
+ export default socketService;
@@ -0,0 +1,228 @@
1
+ import {
2
+ createStore
3
+ } from 'vuex'
4
+
5
+ import * as types from './types'
6
+
7
+ export default createStore({
8
+ state: {
9
+ gwToken: '',
10
+ loginMsg: '',
11
+ curPage: {
12
+ isHome: false,
13
+ name: '',
14
+ childName: null
15
+ },
16
+ curEquip: {
17
+ equipNo: ''
18
+ },
19
+ api: 'https://192.168.0.142:5001',
20
+ cUrl: 'https://127.0.0.1:5001',
21
+
22
+ overEquipNmae: '',
23
+
24
+ // 视频请求方式
25
+ realProtocol: '',
26
+
27
+ // 视频请求地址
28
+ realHost: '',
29
+
30
+ // 这里开始是h5视频流
31
+ xzvalue: new Date(),
32
+ usingEq: [],
33
+ user: {},
34
+ token: null,
35
+ title: '',
36
+ lang: 'en',
37
+ rtc: '',
38
+ watermarkstring: 'linkingvision',
39
+ watermarktoggle: '',
40
+ equipNoPush: '888,555,111,222', // 用于数据推送的设备号参数
41
+ ycpDataList: '', // 存储推过来的实时数据
42
+ yxpDataList: '', // 存储推过来的实时数据
43
+ urlRoute: '', // 监听URL改变参数
44
+ homeImg: false,
45
+ videoNm: [],
46
+ videoList: [],
47
+ equipInfoSelected: [],
48
+ isCollapse: false, // 导航菜单折叠显示
49
+ languageSet: 'zh-CN', // 中英文切换,
50
+ network: true, // true代表正常连接,false代表网络连接不上
51
+ noAccessLoading: true,
52
+ theme: sessionStorage.theme || 'dark',
53
+ changeTheme: '',
54
+ loadingStatus: false,
55
+ // 通知以及更新 todo: 2025-10-21
56
+ noticeStatistics: 0,
57
+ processesStatistics: 0,
58
+ processesList: [],
59
+ roleInfo: ''
60
+ },
61
+ mutations: {
62
+ changeTheme(state, value) {
63
+ state.theme = value;
64
+ },
65
+ isCollapseFun(state, value) {
66
+ state.isCollapse = value
67
+ },
68
+ languageSetFun(state, value) {
69
+ state.languageSet = value
70
+ },
71
+ getOverEquipNmae(state, value) {
72
+ state.overEquipNmae = value
73
+ },
74
+ getStorageToken(state) {
75
+ let token = window.sessionStorage.getItem('accessToken')
76
+ state.gwToken = token
77
+ },
78
+ setEquipNo(state, nom) {
79
+ state.curEquip.equipNo = nom
80
+ },
81
+ setCurpage(state, obj) {
82
+ state.curPage.isHome = obj.isHome
83
+ state.curPage.name = obj.name
84
+ state.curPage.childName = obj.childName || null
85
+ },
86
+ getVideoList(state, value) {
87
+ state.videoList = value
88
+ },
89
+ getVideoNm(state, value) {
90
+ state.videoNm = value
91
+ },
92
+ getHomeImg(state, value) {
93
+ state.homeImg = value
94
+ },
95
+ getUrlRoute(state, value) {
96
+ state.urlRoute = value
97
+ },
98
+ getEquipNoPush(state, value) {
99
+ state.equipNoPush = value
100
+ },
101
+
102
+ getYcpDataList(state, value) {
103
+ state.ycpDataList = value
104
+ },
105
+
106
+ getYxpDataList(state, value) {
107
+ state.yxpDataList = value
108
+ },
109
+ getStorageLoginMsg(state) {
110
+ state.loginMsg = window.localStorage.getItem('login_msg')
111
+ },
112
+ setSelectedEquip(state, value) {
113
+ state.selectedEquip = value
114
+ },
115
+ setEquipInfo(state, Selected) {
116
+ state.equipInfoSelected = Selected
117
+ },
118
+ saveNetwork(state, value) {
119
+ state.network = value
120
+ },
121
+ saveNoAccessLoading(state, value) {
122
+ state.noAccessLoading = value
123
+ },
124
+
125
+ // 从这里开始是h5视频流
126
+ [types.WATERMARKTOGGLE]: (state, data) => {
127
+ localStorage.h5watermarktoggle = data
128
+ state.watermarktoggle = data
129
+ },
130
+ [types.WATERMARKSTRING]: (state, data) => {
131
+ localStorage.h5watermarkstring = data
132
+ state.watermarkstring = data
133
+ },
134
+ [types.RTCSW]: (state, data) => {
135
+ localStorage.h5rtcsw = data
136
+ state.rtc = data
137
+ },
138
+ [types.LOGIN]: (state, data) => {
139
+ localStorage.h5stoken = data
140
+ state.token = data
141
+ },
142
+ [types.LOGOUT]: (state) => {
143
+ localStorage.removeItem('h5stoken')
144
+ state.token = null
145
+ },
146
+ [types.TITLE]: (state, data) => {
147
+ state.title = data
148
+ },
149
+ [types.LANG]: (state, data) => {
150
+ localStorage.h5slang = data
151
+ state.lang = data
152
+ },
153
+
154
+ // 多次加载状态缓存
155
+ setLoadingStatus(state, data) {
156
+ state.loadingStatus = data
157
+ },
158
+ noticeStatistics(state, data) {
159
+ state.noticeStatistics = data
160
+ },
161
+ processesStatistics(state, data) {
162
+ state.processesStatistics = data
163
+ },
164
+ processesList(state, data) {
165
+ state.processesList = data
166
+ },
167
+ roleInfo(state, data) {
168
+ state.roleInfo = data
169
+ }
170
+ },
171
+
172
+ actions: {
173
+ commitNetwork(context, value) {
174
+ context.commit('saveNetwork', value)
175
+ },
176
+ commitAccessLoading(context, value) {
177
+ context.commit('saveNoAccessLoading', value)
178
+ },
179
+ isCollapseFun(context, value) {
180
+ context.commit('isCollapseFun', value)
181
+ },
182
+ languageSetFun(context, value) {
183
+ context.commit('languageSetFun', value)
184
+ },
185
+ getOverEquipNmae(context, value) {
186
+ context.commit('getOverEquipNmae', value)
187
+ },
188
+ getVideoList(context, value) {
189
+ context.commit('getVideoList', value)
190
+ },
191
+ getVideoNm(context, value) {
192
+ context.commit('getVideoNm', value)
193
+ },
194
+ getHomeImg(context, value) {
195
+ context.commit('getHomeImg', value)
196
+ },
197
+ getUrlRoute(context, value) {
198
+ context.commit('getUrlRoute', value)
199
+ },
200
+ getEquipNoPush(context, value) {
201
+ context.commit('getEquipNoPush', value)
202
+ },
203
+ getYcpDataList(context, value) {
204
+ context.commit('getYcpDataList', value)
205
+ },
206
+ getYxpDataList(context, value) {
207
+ context.commit('getYxpDataList', value)
208
+ },
209
+ noticeStatistics(context, value) {
210
+ context.commit('noticeStatistics', value)
211
+ },
212
+ processesStatistics(context, value) {
213
+ context.commit('processesStatistics', value)
214
+ },
215
+ processesList(context, value) {
216
+ context.commit('processesList', value)
217
+ },
218
+ roleInfo(context, value) {
219
+ context.commit('roleInfo', value)
220
+ },
221
+ reflashSet({
222
+ commit
223
+ }) {
224
+ commit('getStorageToken')
225
+ commit('getStorageLoginMsg')
226
+ }
227
+ }
228
+ })