@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,16 @@
1
+ /**
2
+
3
+ * @file: types.js
4
+
5
+ * @author: 敢为软件
6
+
7
+ * @update: 2020-06-30
8
+
9
+ */
10
+ export const LOGIN = 'login';
11
+ export const LOGOUT = 'logout';
12
+ export const TITLE = 'title';
13
+ export const LANG = 'lang';
14
+ export const RTCSW = 'rtc';
15
+ export const WATERMARKSTRING = 'watermarkstring';
16
+ export const WATERMARKTOGGLE = 'watermarktoggle';
@@ -0,0 +1,156 @@
1
+ import {
2
+ bus,
3
+ destroyApp,
4
+ preloadApp,
5
+ setupApp} from 'wujie'
6
+ import {
7
+ idToSandboxCacheMap
8
+ } from 'wujie/esm/common.js'
9
+
10
+ import hostMap from '../hostMap'
11
+ export function combineQuery (name, query, route) {
12
+ let packageName = name;
13
+ let queryArray = Object.entries(query);
14
+
15
+ if (!this.$hostMap(packageName)) {
16
+ throw new Error(`模块 ${packageName} 未在 hostMap 中定义入口`);
17
+ }
18
+ if (route || queryArray.length > 0) {
19
+ return hostMap(packageName) + '/#/' + (route || '') + queryArray.reduce((pre, [key, value]) => pre + `${key}=${value}`, '?');
20
+ }
21
+ return hostMap(packageName);
22
+
23
+ }
24
+
25
+ // 管理嵌入模块
26
+ // 管理需要提供特殊功能的模块(非页面),可能多个模块需要预加载这些模块,如:二维码扫描,拍照图片上传
27
+ export class MFEManager {
28
+ router = null
29
+ route = null
30
+ limit = 0
31
+ theme = localStorage.theme || 'dark'
32
+ myJavaFun = ''
33
+ constructor({
34
+ limit,
35
+ router,
36
+ route,
37
+ myJavaFun
38
+ }) {
39
+ this.limit = limit
40
+ this.router = router
41
+ this.route = route
42
+ this.myJavaFun = myJavaFun
43
+ window.idToSandboxCacheMap = idToSandboxCacheMap
44
+ }
45
+
46
+ get size () {
47
+ return idToSandboxCacheMap.size;
48
+ }
49
+
50
+ setTheme (value) {
51
+
52
+ changeTheme(window, value)
53
+ Array.from(idToSandboxCacheMap.entries()).forEach(([packageName, instance]) => {
54
+ changeTheme(instance.wujie.iframe.contentWindow, value)
55
+ });
56
+ bus.$emit('changeTheme', value);
57
+ }
58
+
59
+ getUrl (appWindow, options) {
60
+ let {
61
+ name,
62
+ query,
63
+ route
64
+ } = options
65
+ if (!name) {
66
+ name = appWindow.__WUJIE.id
67
+ }
68
+ return combineQuery(name, query, route)
69
+ }
70
+
71
+ preloadApp (appWindow, options) {
72
+ if (this.limit && this.size >= this.limit) {
73
+ console.warn("预加载子页面超过上限:" + this.limit)
74
+ return
75
+ }
76
+ preloadApp(options);
77
+ }
78
+
79
+ setupApp (options) {
80
+
81
+ setupApp(options);
82
+ }
83
+
84
+ destroyApp (appWindow) {
85
+ appWindow.__WUJIE?.inject?.idToSandboxMap.clear();
86
+ appWindow.__WUJIE.id && destroyApp(appWindow.__WUJIE.id);
87
+
88
+ }
89
+
90
+ setAlive (appWindow, isAlive = true) {
91
+ let revokeSetAlive = null;
92
+ if (appWindow.__POWERED_BY_WUJIE__ && appWindow.__WUJIE) {
93
+ // 设置实例保活配置
94
+ if (appWindow.__WUJIE.alive !== isAlive) {
95
+ appWindow.__WUJIE.alive = isAlive;
96
+ // 设置实例保活配置缓存
97
+ setupApp({
98
+ name: appWindow.__WUJIE.id,
99
+ alive: isAlive
100
+ })
101
+ revokeSetAlive = () => {
102
+ this.setAlive(appWindow, !isAlive)
103
+ }
104
+ }
105
+ }
106
+ return revokeSetAlive;
107
+ }
108
+
109
+ startQrcode (appWindow, callback) {
110
+ if (!appWindow) return;
111
+ // 设置保活,避免无法接收二维码识别结果
112
+ this.setAlive(appWindow, true);
113
+
114
+ // 订阅二维码识别事件
115
+ appWindow.$wujie?.bus.$on('app-qrcode-result', callback)
116
+ // 启动二维码扫描
117
+ this.router.push({
118
+ path: '/index/jump/ganwei-app-qrcode',
119
+ query: {
120
+ from: appWindow.__WUJIE.id
121
+ }
122
+ })
123
+ }
124
+
125
+ $on (appWindow, event, callback) {
126
+ appWindow.$wujie?.bus.$on(event, callback)
127
+ }
128
+ }
129
+
130
+ export function setAlive (appWindow, isAlive = true) {
131
+ if (appWindow.__POWERED_BY_WUJIE__ && appWindow.__WUJIE) {
132
+ // 设置实例保活配置
133
+ appWindow.__WUJIE.alive = isAlive;
134
+ // 设置实例保活配置缓存
135
+ setupApp({
136
+ name: appWindow.__WUJIE.id,
137
+ alive: isAlive
138
+ })
139
+ }
140
+ }
141
+
142
+ function changeTheme (appWindow, value) {
143
+ appWindow.localStorage.theme = value;
144
+
145
+ // 删除旧的主题样式
146
+ let themeStyle = appWindow.document.getElementById('themeStyle');
147
+ themeStyle.remove();
148
+
149
+ // 重新请求新主题
150
+ let stylee = document.createElement("link");
151
+ stylee.setAttribute("id", "themeStyle");
152
+ stylee.setAttribute("rel", "stylesheet");
153
+ stylee.href = `/static/themes/${value}.css`;
154
+ let head = appWindow.document.getElementsByTagName("head")[0];
155
+ head.appendChild(stylee);
156
+ }
@@ -0,0 +1,168 @@
1
+ /**
2
+ * 冒泡排序算法实现
3
+ *
4
+ * 时间复杂度:
5
+ * - 最好情况:O(n) - 当数组已经有序时(优化版本)
6
+ * - 平均情况:O(n²)
7
+ * - 最坏情况:O(n²)
8
+ *
9
+ * 空间复杂度:O(1) - 原地排序
10
+ *
11
+ * 稳定性:稳定排序算法
12
+ */
13
+
14
+ /**
15
+ * 基础冒泡排序
16
+ * @param arr 待排序数组
17
+ * @param compareFn 可选的比较函数,默认升序
18
+ * @returns 排序后的新数组(不修改原数组)
19
+ */
20
+ export function bubbleSort<T>(
21
+ arr: T[],
22
+ compareFn?: (a: T, b: T) => number
23
+ ): T[] {
24
+ const result = [...arr]; // 创建副本,不修改原数组
25
+ const n = result.length;
26
+
27
+ // 默认比较函数:升序
28
+ const compare = compareFn || ((a: T, b: T) => {
29
+ if (a < b) return -1;
30
+ if (a > b) return 1;
31
+ return 0;
32
+ });
33
+
34
+ // 外层循环:控制排序轮数
35
+ for (let i = 0; i < n - 1; i++) {
36
+ // 内层循环:每轮比较相邻元素
37
+ for (let j = 0; j < n - 1 - i; j++) {
38
+ // 如果前一个元素大于后一个元素,则交换
39
+ if (compare(result[j], result[j + 1]) > 0) {
40
+ // 交换元素
41
+ [result[j], result[j + 1]] = [result[j + 1], result[j]];
42
+ }
43
+ }
44
+ }
45
+
46
+ return result;
47
+ }
48
+
49
+ /**
50
+ * 优化版冒泡排序(提前终止)
51
+ * 如果某一轮没有发生交换,说明数组已经有序,可以提前结束
52
+ * @param arr 待排序数组
53
+ * @param compareFn 可选的比较函数,默认升序
54
+ * @returns 排序后的新数组(不修改原数组)
55
+ */
56
+ export function bubbleSortOptimized<T>(
57
+ arr: T[],
58
+ compareFn?: (a: T, b: T) => number
59
+ ): T[] {
60
+ const result = [...arr]; // 创建副本,不修改原数组
61
+ const n = result.length;
62
+
63
+ // 默认比较函数:升序
64
+ const compare = compareFn || ((a: T, b: T) => {
65
+ if (a < b) return -1;
66
+ if (a > b) return 1;
67
+ return 0;
68
+ });
69
+
70
+ // 外层循环:控制排序轮数
71
+ for (let i = 0; i < n - 1; i++) {
72
+ let swapped = false; // 标记本轮是否发生交换
73
+
74
+ // 内层循环:每轮比较相邻元素
75
+ for (let j = 0; j < n - 1 - i; j++) {
76
+ // 如果前一个元素大于后一个元素,则交换
77
+ if (compare(result[j], result[j + 1]) > 0) {
78
+ // 交换元素
79
+ [result[j], result[j + 1]] = [result[j + 1], result[j]];
80
+ swapped = true; // 标记发生了交换
81
+ }
82
+ }
83
+
84
+ // 如果本轮没有发生交换,说明数组已经有序,可以提前结束
85
+ if (!swapped) {
86
+ break;
87
+ }
88
+ }
89
+
90
+ return result;
91
+ }
92
+
93
+ /**
94
+ * 原地冒泡排序(修改原数组)
95
+ * @param arr 待排序数组(会被修改)
96
+ * @param compareFn 可选的比较函数,默认升序
97
+ * @returns 排序后的数组(原数组的引用)
98
+ */
99
+ export function bubbleSortInPlace<T>(
100
+ arr: T[],
101
+ compareFn?: (a: T, b: T) => number
102
+ ): T[] {
103
+ const n = arr.length;
104
+
105
+ // 默认比较函数:升序
106
+ const compare = compareFn || ((a: T, b: T) => {
107
+ if (a < b) return -1;
108
+ if (a > b) return 1;
109
+ return 0;
110
+ });
111
+
112
+ // 外层循环:控制排序轮数
113
+ for (let i = 0; i < n - 1; i++) {
114
+ let swapped = false; // 标记本轮是否发生交换
115
+
116
+ // 内层循环:每轮比较相邻元素
117
+ for (let j = 0; j < n - 1 - i; j++) {
118
+ // 如果前一个元素大于后一个元素,则交换
119
+ if (compare(arr[j], arr[j + 1]) > 0) {
120
+ // 交换元素
121
+ [arr[j], arr[j + 1]] = [arr[j + 1], arr[j]];
122
+ swapped = true; // 标记发生了交换
123
+ }
124
+ }
125
+
126
+ // 如果本轮没有发生交换,说明数组已经有序,可以提前结束
127
+ if (!swapped) {
128
+ break;
129
+ }
130
+ }
131
+
132
+ return arr;
133
+ }
134
+
135
+ // 使用示例:
136
+ /*
137
+ // 数字数组排序
138
+ const numbers = [64, 34, 25, 12, 22, 11, 90];
139
+ const sortedNumbers = bubbleSort(numbers);
140
+ console.log(sortedNumbers); // [11, 12, 22, 25, 34, 64, 90]
141
+
142
+ // 字符串数组排序
143
+ const strings = ['banana', 'apple', 'cherry', 'date'];
144
+ const sortedStrings = bubbleSort(strings);
145
+ console.log(sortedStrings); // ['apple', 'banana', 'cherry', 'date']
146
+
147
+ // 降序排序
148
+ const descending = bubbleSort(numbers, (a, b) => b - a);
149
+ console.log(descending); // [90, 64, 34, 25, 22, 12, 11]
150
+
151
+ // 对象数组排序
152
+ const objects = [
153
+ { name: 'John', age: 30 },
154
+ { name: 'Jane', age: 25 },
155
+ { name: 'Bob', age: 35 }
156
+ ];
157
+ const sortedByAge = bubbleSort(objects, (a, b) => a.age - b.age);
158
+ console.log(sortedByAge); // 按年龄升序排序
159
+
160
+ // 使用优化版本
161
+ const optimized = bubbleSortOptimized([5, 2, 8, 1, 9]);
162
+ console.log(optimized); // [1, 2, 5, 8, 9]
163
+
164
+ // 原地排序(修改原数组)
165
+ const arr = [3, 1, 4, 1, 5, 9, 2, 6];
166
+ bubbleSortInPlace(arr);
167
+ console.log(arr); // [1, 1, 2, 3, 4, 5, 6, 9]
168
+ */
@@ -0,0 +1,325 @@
1
+ import Signalr from './gwSignalr.js';
2
+
3
+ export default class equipCache {
4
+ constructor() {
5
+ this.eGroupNotify = new Signalr('/eGroupNotify', '', '', true);
6
+ this.alreadyUpdate = {}
7
+ }
8
+ init () {
9
+ // 打开signalr链接
10
+ this.eGroupNotify.openConnect().then((rt) => {
11
+ // 分组推送--start
12
+ // 通知后台需要推送分组结构
13
+ try {
14
+ rt.invoke('GetEquipGroupTree');
15
+ // 通知后台推送全量分组
16
+ rt.invoke('GetAllEquipGroupTree')
17
+ } catch (error) {
18
+ console.log(error)
19
+ }
20
+ // 获取分组结构
21
+ this.subscribeTo(rt, 'GetEquipGroupTree')
22
+ // 新增分组
23
+ this.subscribeTo(rt, 'AddEquipGroup')
24
+ // 编辑分组
25
+ this.subscribeTo(rt, 'EditEquipGroup')
26
+ // 删除分组
27
+ this.subscribeTo(rt, 'DeleteEquipGroup')
28
+ // 分组推送--end
29
+ // 设备推送--start
30
+ // 通知后台需要推送分组结构
31
+ try {
32
+ rt.invoke('GetGroupEquips');
33
+ } catch (error) {
34
+ console.log(error)
35
+ }
36
+ // 订阅设备推送
37
+ this.subscribeTo(rt, 'GetGroupEquips')
38
+ // 订阅分组结构推送
39
+ this.subscribeTo(rt, 'AddEquip')
40
+ // 订阅分组结构推送
41
+ this.subscribeTo(rt, 'DeleteEquip')
42
+ // 订阅分组结构推送
43
+ this.subscribeTo(rt, 'EditEquip')
44
+ this.subscribeTo(rt, 'moveEquips')
45
+ // 获取全量分组
46
+ this.subscribeTo(rt, 'GetAllEquipGroupTree')
47
+ // 设备推送--end
48
+ rt.onclose((err) => {
49
+ try {
50
+ rt.invoke('reconnect')
51
+ } catch (error) {
52
+ console.log(error)
53
+ }
54
+ console.log('重连', err);
55
+ });
56
+
57
+ }).catch((e) => {
58
+ console.error(e)
59
+ });
60
+ }
61
+ subscribeTo (signalr, func) {
62
+ signalr.off(func)
63
+ signalr.on(func, res => {
64
+ if (res && res.isSuccess) {
65
+ if (this[func]) {
66
+ this[func](res.data)
67
+ } else {
68
+ this.notice({ func, data: res.data, key: res.groupId })
69
+ }
70
+ }
71
+ })
72
+ }
73
+ // 获取分组---无权限管理的分组列表--空设备分组不展示
74
+ GetEquipGroupTree (data) {
75
+ window.top.groupList = data
76
+ this.notice({ type: 'GetEquipGroupTree' })
77
+ }
78
+ // 获取全量分组---设备管理使用
79
+ GetAllEquipGroupTree (data) {
80
+ window.top.groupList_manageMent = data
81
+ this.notice({ type: 'GetEquipGroupTree' })
82
+ }
83
+ // 新增分组
84
+ AddEquipGroup (data) {
85
+ const { parentGroupId, groupId, groupName } = data || {}
86
+ if (groupId) {
87
+ if (!window.top.groupList_manageMent) {
88
+ window.top.groupList_manageMent = []
89
+ }
90
+ window.top.groupList_manageMent.push({
91
+ parentId: parentGroupId,
92
+ id: groupId,
93
+ name: groupName,
94
+ equipCount: 0
95
+ })
96
+ this.notice({ type: 'AddEquipGroup', data })
97
+ }
98
+ }
99
+ // 编辑分组
100
+ EditEquipGroup (data) {
101
+ // 更新window缓存
102
+ const { groupId, groupName } = data
103
+ if (window.top.groupList) {
104
+ window.groupList.forEach(item => {
105
+ if (item.id == groupId) {
106
+ item.name = groupName
107
+ }
108
+ })
109
+ }
110
+ if (window.top.groupList_manageMent) {
111
+ window.groupList_manageMent.forEach(item => {
112
+ if (item.id == groupId) {
113
+ item.name = groupName
114
+ }
115
+ })
116
+ }
117
+ this.notice({ type: 'EditEquipGroup', data })
118
+ }
119
+ deleteChildGroup (parentId, list) {
120
+ let deleteGroups = []
121
+ list.forEach(item => {
122
+ if (item.parentId == parentId) {
123
+ deleteGroups.push(item.id)
124
+ }
125
+ })
126
+ deleteGroups.forEach(groupId => {
127
+ let index = list.findIndex(item => item.id == groupId)
128
+ index > -1 && list.splice(index, 1)
129
+ this.deleteChildGroup(groupId, list)
130
+ })
131
+ }
132
+ // 删除分组
133
+ DeleteEquipGroup (data) {
134
+ data.forEach(group => {
135
+ if (window.top.groupList) {
136
+ let index = window.top.groupList.findIndex(item => item.id == group.groupId)
137
+ index > -1 && window.top.groupList.splice(index, 1)
138
+ this.deleteChildGroup(group.groupId, window.top.groupList)
139
+ }
140
+ if (window.top.groupList_manageMent) {
141
+ let index = window.top.groupList_manageMent.findIndex(item => item.id == group.groupId)
142
+ index > -1 && window.top.groupList_manageMent.splice(index, 1)
143
+ this.deleteChildGroup(group.groupId, window.top.groupList_manageMent)
144
+ }
145
+ })
146
+ this.notice({ type: 'DeleteEquipGroup', data })
147
+ }
148
+ // 获取设备
149
+ GetGroupEquips (data) {
150
+ const { groupId, equips } = data || {}
151
+ if (!window.top.groupCache) {
152
+ window.top.groupCache = {}
153
+ }
154
+ window.top.groupCache[groupId] = {}
155
+ if (!this.alreadyUpdate[groupId]) {
156
+ if (groupId && equips && equips instanceof Array) {
157
+ equips.forEach(item => {
158
+ item.title = item.name
159
+ item.groupId = groupId
160
+ item.equipNo = item.id
161
+ delete item.name
162
+
163
+ if (!window.equipCache) {
164
+ window.top.equipCache = {}
165
+ }
166
+ // 找分组,设备编辑需要用到
167
+ window.top.equipCache[item.id] = item
168
+
169
+ // 设备状态需要用到
170
+ window.top.groupCache[groupId][item.id] = item
171
+ })
172
+
173
+ window.top[`group-${groupId}`] = equips
174
+ this.notice({ type: 'GetGroupEquips', data: { groupId: groupId } })
175
+ this.alreadyUpdate[groupId] = true
176
+ }
177
+ }
178
+ }
179
+ // 新增设备
180
+ AddEquip (data) {
181
+ const { groupId, equips } = data || {}
182
+ if (!window.top[`group-${groupId}`]) {
183
+ window.top[`group-${groupId}`] = []
184
+ }
185
+ if (!window.top.groupCache) {
186
+ window.top.groupCache = {}
187
+ }
188
+ if (!window.top.groupCache[groupId]) {
189
+ window.top.groupCache[groupId] = {}
190
+ }
191
+ if (!window.top.equipCache) {
192
+ window.top.equipCache = {}
193
+ }
194
+ let length = window.top[`group-${groupId}`].length
195
+ if (groupId && equips) {
196
+ equips.forEach((equip, index) => {
197
+ window.top[`group-${groupId}`].push(
198
+ {
199
+ equipNo: equip.id,
200
+ groupId: groupId,
201
+ id: equip.id,
202
+ title: equip.name
203
+ }
204
+ )
205
+
206
+ // 找分组,设备编辑需要用到
207
+ window.top.equipCache[equip.id] = window.top[`group-${groupId}`][length + index]
208
+
209
+ // 设备状态需要用到
210
+ window.top.groupCache[groupId][equip.id] = window.top[`group-${groupId}`][length + index]
211
+ })
212
+
213
+ if (!this.exist(groupId, window.top.groupList)) {
214
+ let list = this.findParentList(groupId, window.top.groupList_manageMent)
215
+ window.top.groupList.push(...list)
216
+ }
217
+ this.notice({ type: 'AddEquip', data })
218
+ }
219
+ }
220
+ moveEquips (data) {
221
+ // 统计需要更新的分组Id
222
+ let updateGroups = []
223
+ let buildTree = true
224
+ let needAddToGroupList = []
225
+ const { sourceGroup, targetGroupId } = data || {}
226
+ targetGroupId && updateGroups.push(targetGroupId)
227
+ sourceGroup.forEach(group => {
228
+ updateGroups.push(group.groupId)
229
+ if (!window.top[`group-${targetGroupId}`] || !window.top[`group-${targetGroupId}`].length) {
230
+ window.top[`group-${targetGroupId}`] = []
231
+ needAddToGroupList.push(targetGroupId)
232
+ }
233
+ if (!window.top.groupCache) {
234
+ window.top.groupCache = {}
235
+ }
236
+ if (!window.top.groupCache[targetGroupId]) {
237
+ window.top.groupCache[targetGroupId] = {}
238
+ }
239
+ group.equips.forEach(equip => {
240
+ equip.title = equip.name
241
+ equip.groupId = targetGroupId
242
+ equip.equipNo = equip.id
243
+
244
+ if (window.top[`group-${group.groupId}`]) {
245
+ let index = window.top[`group-${group.groupId}`].findIndex(item => item.id == equip.id)
246
+ index > -1 && window.top[`group-${group.groupId}`].splice(index, 1)
247
+ }
248
+
249
+ if (!window.equipCache) {
250
+ window.top.equipCache = {}
251
+ }
252
+ // 找分组,设备编辑需要用到
253
+ window.top.equipCache[equip.id] = equip
254
+ // 设备状态需要用到
255
+ window.top.groupCache[targetGroupId][equip.id] = equip
256
+ window.top[`group-${targetGroupId}`].push(equip)
257
+ })
258
+ if (!window.top[`group-${group.groupId}`].length) {
259
+ let index = window.top.groupList.findIndex(item => item.id == group.groupId)
260
+ index > -1 && window.top.groupList.splice(index, 1)
261
+ this.deleteChildGroup(group.groupId, window.top.groupList)
262
+ }
263
+ })
264
+ needAddToGroupList.forEach(groupId => {
265
+ if (!this.exist(groupId, window.top.groupList)) {
266
+ let list = this.findParentList(groupId, window.top.groupList_manageMent)
267
+ window.top.groupList.push(...list)
268
+ }
269
+ })
270
+ this.notice({ type: 'moveEquips', data: { updateGroups, buildTree } })
271
+ }
272
+ exist (key, list) {
273
+ if (list) {
274
+ return list.some(item => item.id == key)
275
+ }
276
+ return false
277
+ }
278
+ findParentList (groupId, list) {
279
+ let parentList = []
280
+ if (list) {
281
+ let index = list.findIndex(group => group.id == groupId)
282
+ if (index > -1) {
283
+ parentList.push({ ...list[index] })
284
+ }
285
+ if (list[index].parentId && !this.exist(list[index].parentId, window.top.groupList)) {
286
+ parentList.push(...this.findParentList(list[index].parentId, window.top.groupList_manageMent))
287
+ }
288
+ }
289
+ return parentList
290
+ }
291
+ // 删除设备
292
+ DeleteEquip (data) {
293
+ const { groupId, equips } = data || {}
294
+ if (groupId && equips && equips instanceof Array) {
295
+ if (window.top[`group-${groupId}`]) {
296
+ for (let i = 0, length = equips.length; i < length; i++) {
297
+ let index = window.top[`group-${groupId}`].findIndex(item => item.id == equips[i].id)
298
+ index > -1 && window.top[`group-${groupId}`].splice(index, 1)
299
+ //删除引用
300
+ delete window.top.equipCache[equips[i].id]
301
+ delete window.top.groupCache[groupId][equips[i].id]
302
+ }
303
+ }
304
+ this.notice({ type: 'DeleteEquip', data })
305
+ }
306
+ }
307
+ // 编辑设备
308
+ EditEquip (data) {
309
+ const { equipNo, groupId, equipName } = data || {}
310
+ if (groupId && equipNo) {
311
+ if (window[`group-${groupId}`]) {
312
+ window.top.equipCache[equipNo] = equipName
313
+ }
314
+ this.notice({ type: 'EditEquip', data })
315
+ }
316
+ }
317
+ notice (data) {
318
+ // 下发通知
319
+ let iframe = document.getElementsByTagName('iframe');
320
+ for (let item of iframe) {
321
+ console.log(item)
322
+ item.contentWindow.postMessage(data);
323
+ }
324
+ }
325
+ }