@ganwei-web/ganwei-pc-cli 6.2.0

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 (433) hide show
  1. package/ganwei-iotcenter-index-6.2.0/.nvmrc +1 -0
  2. package/ganwei-iotcenter-index-6.2.0/configuration/cleanNodeModule.js +18 -0
  3. package/ganwei-iotcenter-index-6.2.0/configuration/gitClone.js +45 -0
  4. package/ganwei-iotcenter-index-6.2.0/configuration/moduleConfiguration.json +20 -0
  5. package/ganwei-iotcenter-index-6.2.0/configuration/updateModule.cjs +30 -0
  6. package/ganwei-iotcenter-index-6.2.0/init.cjs +30 -0
  7. package/ganwei-iotcenter-index-6.2.0/package.json +41 -0
  8. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.babelrc +4 -0
  9. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.editorconfig +22 -0
  10. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.env.development +22 -0
  11. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.env.production +22 -0
  12. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.env.test +22 -0
  13. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.eslintignore +13 -0
  14. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.eslintrc.cjs +176 -0
  15. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.prettierignore +13 -0
  16. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.prettierrc.cjs +19 -0
  17. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/auto-imports.d.ts +5 -0
  18. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/build/enteryJson.js +9 -0
  19. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/build/vite-addInfo-html.ts +38 -0
  20. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/build/vite-plugin-stats-html.js +595 -0
  21. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/components.d.ts +87 -0
  22. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/env.d.ts +7 -0
  23. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/index.html +31 -0
  24. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/package.json +89 -0
  25. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/css/element-plus/css-vars.css +1 -0
  26. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/css/element-plus/index.css +16959 -0
  27. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/css/element-ui/index.css +16075 -0
  28. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/css/equipStatus.css +70 -0
  29. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/css/index.css +15926 -0
  30. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/css/reset-6-1.css +155 -0
  31. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.css +1135 -0
  32. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.js +1 -0
  33. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.json +1969 -0
  34. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.ttf +0 -0
  35. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.woff +0 -0
  36. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.woff2 +0 -0
  37. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/element-icons.ttf +0 -0
  38. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/element-icons.woff +0 -0
  39. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.css +3779 -0
  40. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.js +1 -0
  41. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.json +6596 -0
  42. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.ttf +0 -0
  43. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.woff +0 -0
  44. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.woff2 +0 -0
  45. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/http/createAxios.js +486 -0
  46. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/head-background.png +0 -0
  47. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-alarmIcon-dark.svg +48 -0
  48. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-alarmIcon-green.svg +42 -0
  49. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-alarmIcon-light.svg +26 -0
  50. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-dark.svg +20 -0
  51. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-green.svg +20 -0
  52. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-light.svg +14 -0
  53. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-dark.svg +22 -0
  54. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-green.svg +16 -0
  55. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-light.svg +16 -0
  56. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-contentfull.svg +22 -0
  57. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-dark.svg +19 -0
  58. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-green.svg +14 -0
  59. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-light.svg +12 -0
  60. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen.svg +19 -0
  61. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-loading.png +0 -0
  62. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-dark.svg +67 -0
  63. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-green.svg +67 -0
  64. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-light.svg +67 -0
  65. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-small.png +0 -0
  66. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-logo-src.svg +67 -0
  67. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-nopage-dark.png +0 -0
  68. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-nopage-green.png +0 -0
  69. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-nopage-light.png +0 -0
  70. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-normalIcon-dark.svg +32 -0
  71. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-normalIcon-green.svg +32 -0
  72. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-normalIcon-light.svg +9 -0
  73. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-skin-dark.svg +22 -0
  74. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-skin-green.svg +22 -0
  75. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-skin-light.svg +15 -0
  76. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-skin.svg +22 -0
  77. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-dark.svg +18 -0
  78. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-green.svg +18 -0
  79. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-light.svg +18 -0
  80. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping.svg +18 -0
  81. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-upgrade.svg +18 -0
  82. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-user-dark.svg +22 -0
  83. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-user-green.svg +27 -0
  84. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-user-light.svg +22 -0
  85. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-user.svg +26 -0
  86. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-dark.svg +37 -0
  87. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-green.svg +37 -0
  88. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-light.svg +15 -0
  89. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/login-bg-img.png +0 -0
  90. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/logo.png +0 -0
  91. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/menu-background.png +0 -0
  92. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/renew-message-dark.svg +1 -0
  93. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/renew-message-green.svg +1 -0
  94. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/renew-message-light.svg +1 -0
  95. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/right-close.png +0 -0
  96. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/right-open.png +0 -0
  97. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-fullscreen.png +0 -0
  98. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-guzhang.png +0 -0
  99. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-jinggao.png +0 -0
  100. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-shezhi.png +0 -0
  101. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-xinxi.png +0 -0
  102. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-zichan.png +0 -0
  103. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/unread-message-dark.svg +19 -0
  104. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/unread-message-green.svg +22 -0
  105. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/unread-message-light.svg +17 -0
  106. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/webconfig-location.svg +17 -0
  107. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/axios.min.js +2 -0
  108. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/echarts.min.js +25 -0
  109. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/element-ui/index.js +1 -0
  110. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/element-ui/index.js.gz +0 -0
  111. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/enc-base64-min.js +86 -0
  112. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/filereader.js +455 -0
  113. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/font.js +56 -0
  114. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/getConfigInfoData.js +57 -0
  115. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/getLanguage.js +144 -0
  116. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/getLanguageOptions.js +52 -0
  117. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/getUserPermissionList.js +55 -0
  118. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/h5player.min.js +311 -0
  119. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/hmac-sha256.js +18 -0
  120. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/jquery.slim.min.js +2 -0
  121. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/jsencrypt.min.js +2 -0
  122. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/jszip.min.js +14 -0
  123. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/liveplayer-lib.min.js +1 -0
  124. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/moment.js +5670 -0
  125. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/pptxjs.min.js +14105 -0
  126. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/signalr.min.js +17 -0
  127. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/tXml.js +244 -0
  128. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/transformpcm.worker.js +58 -0
  129. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/vue-i18n.min.js +6 -0
  130. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/vue-router.min.js +11 -0
  131. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/vue.min.js +11 -0
  132. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/vuex.min.js +6 -0
  133. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/json/RAMScope.json +201 -0
  134. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/json/config.json +154 -0
  135. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/json/snapshot.json +34 -0
  136. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/lib/treeV2/treeV2.css +246 -0
  137. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/lib/treeV2/treeV2.js +5384 -0
  138. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/dark-6-1.css +430 -0
  139. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/dark.css +426 -0
  140. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/default-theme-6-1.js +48 -0
  141. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/default-theme.js +53 -0
  142. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/green-6-1.css +357 -0
  143. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/light-6-1.css +424 -0
  144. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/light.css +414 -0
  145. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/themeConfig.json +42 -0
  146. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/App.vue +52 -0
  147. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/assets/plugins/encrypt.js +122 -0
  148. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/auto-import.d.ts +61 -0
  149. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/asideMenu/contractMenu.vue +216 -0
  150. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/asideMenu/menu.vue +238 -0
  151. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/asideMenu/topNav.vue +238 -0
  152. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/contextMenu/index.js +42 -0
  153. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/contextMenu/index.vue +113 -0
  154. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexLeftContent/index.js +204 -0
  155. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexLeftContent/index.scss +258 -0
  156. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexLeftContent/index.vue +112 -0
  157. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/appPreview/images/appconnect.jpg +0 -0
  158. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/appPreview/index.vue +282 -0
  159. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/contentFullScreen/index.js +19 -0
  160. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/contentFullScreen/index.vue +10 -0
  161. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/fullScreen/index.js +50 -0
  162. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/fullScreen/index.vue +10 -0
  163. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/index.js +28 -0
  164. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/index.scss +137 -0
  165. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/index.vue +20 -0
  166. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/ApprovalDialog.vue +135 -0
  167. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.js +327 -0
  168. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.scss +253 -0
  169. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.vue +61 -0
  170. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/RenewDialog.vue +97 -0
  171. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/index.js +95 -0
  172. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/index.scss +0 -0
  173. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/index.vue +8 -0
  174. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/renew.vue +271 -0
  175. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.js +45 -0
  176. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.scss +36 -0
  177. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.vue +22 -0
  178. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.js +70 -0
  179. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.scss +94 -0
  180. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.vue +35 -0
  181. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/unReadMessages/index.js +146 -0
  182. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/unReadMessages/index.scss +0 -0
  183. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/unReadMessages/index.vue +8 -0
  184. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.js +81 -0
  185. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.scss +147 -0
  186. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.vue +30 -0
  187. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/forceEdit.js +78 -0
  188. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.js +265 -0
  189. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.scss +5 -0
  190. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.vue +39 -0
  191. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.js +94 -0
  192. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.scss +113 -0
  193. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.vue +90 -0
  194. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/logoutDialog/index.js +68 -0
  195. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/logoutDialog/index.vue +16 -0
  196. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.js +178 -0
  197. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.scss +16 -0
  198. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.vue +46 -0
  199. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/safeModeDialog/index.vue +195 -0
  200. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.js +70 -0
  201. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.scss +95 -0
  202. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.vue +35 -0
  203. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.js +240 -0
  204. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.scss +158 -0
  205. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.vue +50 -0
  206. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.js +63 -0
  207. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.scss +40 -0
  208. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.vue +20 -0
  209. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/labelPage/index.js +398 -0
  210. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/labelPage/index.scss +136 -0
  211. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/labelPage/index.vue +36 -0
  212. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.js +34 -0
  213. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.scss +44 -0
  214. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.vue +21 -0
  215. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/inputPassword/index.vue +65 -0
  216. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/isDebug/isDebug.vue +57 -0
  217. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/isDebug/warning.png +0 -0
  218. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/noAccess/noAccess.vue +78 -0
  219. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/noAccess/noPage.vue +68 -0
  220. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/sceneMonitor/index.js +95 -0
  221. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/toast/index.js +65 -0
  222. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/toast/index.vue +136 -0
  223. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/unreadMsg/listItem.vue +36 -0
  224. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/unreadMsg/unread.vue +300 -0
  225. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/hostMap.js +13 -0
  226. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/main.js +50 -0
  227. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/mixins/judgePermission.js +29 -0
  228. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/publish/pub.ts +28 -0
  229. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/request/api/frame.js +142 -0
  230. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/request/api.js +14 -0
  231. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/router.js +34 -0
  232. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/store.js +221 -0
  233. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/types.js +16 -0
  234. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/utils/MFEManager.js +156 -0
  235. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/utils/gwEquipCache.js +325 -0
  236. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/utils/gwSignalr.js +66 -0
  237. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/utils/historyExport.js +158 -0
  238. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/utils/setStorage.js +5 -0
  239. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/views/Index.vue +81 -0
  240. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/views/index.js +297 -0
  241. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/views/jumpIframe/index.vue +242 -0
  242. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/views/jumpIframe/preloadMethod.js +54 -0
  243. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/views/jumpIframe/queryParser.js +47 -0
  244. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/tsconfig.json +57 -0
  245. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/vite.config.ts +270 -0
  246. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.babelrc +8 -0
  247. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.editorconfig +22 -0
  248. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.env.development +22 -0
  249. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.env.production +22 -0
  250. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.env.test +22 -0
  251. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.eslintignore +13 -0
  252. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.eslintrc.cjs +162 -0
  253. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.prettierignore +13 -0
  254. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.prettierrc.cjs +37 -0
  255. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/auto-imports.d.ts +5 -0
  256. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/build/enteryJson.js +72 -0
  257. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/build/vite-addInfo-html.ts +38 -0
  258. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/build/vite-plugin-stats-html.js +595 -0
  259. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/env.d.ts +7 -0
  260. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/index.html +34 -0
  261. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/package.json +84 -0
  262. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/css/drag.css +140 -0
  263. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/css/element-plus/css-vars.css +1 -0
  264. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/css/element-plus/index.css +16957 -0
  265. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/css/element-ui/index.css +16075 -0
  266. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/css/element-ui/reset.css +1471 -0
  267. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/css/index.css +15926 -0
  268. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/css/reset-6-1.css +114 -0
  269. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.css +1135 -0
  270. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.js +1 -0
  271. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.json +1969 -0
  272. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.ttf +0 -0
  273. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.woff +0 -0
  274. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.woff2 +0 -0
  275. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/element-icons.ttf +0 -0
  276. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/element-icons.woff +0 -0
  277. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.css +4151 -0
  278. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.js +1 -0
  279. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.json +7247 -0
  280. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.ttf +0 -0
  281. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.woff +0 -0
  282. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.woff2 +0 -0
  283. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/http/createAxios.js +316 -0
  284. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/center.svg +23 -0
  285. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/centerActive.svg +24 -0
  286. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/center_light.svg +15 -0
  287. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/index-loading.png +0 -0
  288. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-dark.svg +67 -0
  289. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-green.svg +67 -0
  290. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-light.svg +67 -0
  291. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-small.png +0 -0
  292. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/index-logo-src.svg +67 -0
  293. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/left.svg +23 -0
  294. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/leftActive.svg +24 -0
  295. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/left_light.svg +15 -0
  296. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/login-bg-img.png +0 -0
  297. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/login-drag-start.png +0 -0
  298. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/login-drag-stop.png +0 -0
  299. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/logo.png +0 -0
  300. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/refresh.png +0 -0
  301. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/right.svg +23 -0
  302. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/rightActive.svg +24 -0
  303. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/right_light.svg +15 -0
  304. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/js/axios.min.js +3 -0
  305. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/js/drag.js +391 -0
  306. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/js/font.js +57 -0
  307. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/js/getConfigInfoData.js +57 -0
  308. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/js/getLanguage.js +143 -0
  309. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/js/getLanguageOptions.js +52 -0
  310. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/js/jquery.min.js +10716 -0
  311. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/dark-6-1.css +333 -0
  312. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/dark.css +426 -0
  313. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/default-theme-6-1.js +46 -0
  314. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/default-theme.js +53 -0
  315. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/green-6-1.css +336 -0
  316. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/light-6-1.css +338 -0
  317. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/light.css +414 -0
  318. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/themeConfig.json +42 -0
  319. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/App.vue +70 -0
  320. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/alertHandle.scss +22 -0
  321. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/browserScroll.scss +5 -0
  322. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/btnHandle.scss +36 -0
  323. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/containerHandle.scss +402 -0
  324. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/dialogStyle.scss +43 -0
  325. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/equipStatus.scss +88 -0
  326. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/index.scss +1358 -0
  327. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/inputStyle.scss +16 -0
  328. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/listHandle.scss +113 -0
  329. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/login.scss +335 -0
  330. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/mainInfo.scss +297 -0
  331. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/maintenanceInfo.scss +199 -0
  332. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/style.css +921 -0
  333. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/tableHandle.scss +147 -0
  334. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/txtHandle.scss +39 -0
  335. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/images/login-bg-img.png +0 -0
  336. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/images/login-sso-error.png +0 -0
  337. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/images/logo-bg.png +0 -0
  338. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/plugins/encrypt.js +122 -0
  339. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/declaration/declaration.scss +118 -0
  340. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/declaration/declaration.vue +109 -0
  341. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/declaration/declarationPacts.vue +42 -0
  342. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/passwordModification/checkEmailContainer.vue +134 -0
  343. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/passwordModification/inputEmailContainer.vue +128 -0
  344. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/passwordModification/modifyPasswordContainer.vue +138 -0
  345. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/passwordModification/passwordModification - /345/211/257/346/234/254.vue" +4 -0
  346. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/passwordModification/passwordModification.vue +223 -0
  347. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/directive/loadMore/loadMore.js +14 -0
  348. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/hostMap.js +18 -0
  349. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/main.js +39 -0
  350. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/mixins/setDefaultLanguage.js +87 -0
  351. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/request/api/login.js +95 -0
  352. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/request/api.js +13 -0
  353. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/router.js +48 -0
  354. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/types.js +16 -0
  355. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/utils/formValidate.js +25 -0
  356. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/utils/isApp.js +18 -0
  357. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/utils/language.js +45 -0
  358. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/utils/myUtils.js +646 -0
  359. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/utils/timeFormat.js +23 -0
  360. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/utils/timesYMDHMS.js +27 -0
  361. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/views/js/mainInfo.js +374 -0
  362. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/views/js/maintenanceInfo.js +202 -0
  363. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/views/login.vue +458 -0
  364. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/views/ssoLogin.vue +230 -0
  365. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/views/ssoLogout.vue +58 -0
  366. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/vite.config.ts +237 -0
  367. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.babelrc +8 -0
  368. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.editorconfig +22 -0
  369. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.env.development +22 -0
  370. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.env.production +22 -0
  371. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.env.test +22 -0
  372. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.eslintignore +13 -0
  373. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.eslintrc.cjs +162 -0
  374. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.prettierignore +13 -0
  375. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.prettierrc.cjs +37 -0
  376. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/auto-imports.d.ts +5 -0
  377. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/build/enteryJson.js +64 -0
  378. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/build/vite-addInfo-html.js +15 -0
  379. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/build/vite-addInfo-html.ts +38 -0
  380. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/build/vite-plugin-stats-html +14 -0
  381. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/build/vite-plugin-stats-html.js +595 -0
  382. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/env.d.ts +7 -0
  383. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/index.html +25 -0
  384. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/package.json +94 -0
  385. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/css/element-plus/css-vars.css +1 -0
  386. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/css/element-plus/index.css +16957 -0
  387. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/css/reset-6-1.css +114 -0
  388. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.css +1135 -0
  389. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.js +1 -0
  390. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.json +1969 -0
  391. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.ttf +0 -0
  392. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.woff +0 -0
  393. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.woff2 +0 -0
  394. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/element-icons.ttf +0 -0
  395. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/element-icons.woff +0 -0
  396. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.css +3535 -0
  397. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.js +1 -0
  398. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.json +6169 -0
  399. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.ttf +0 -0
  400. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.woff +0 -0
  401. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.woff2 +0 -0
  402. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/http/createAxios.js +372 -0
  403. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/images/index-loading.png +0 -0
  404. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/js/axios.min.js +3 -0
  405. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/js/font.js +58 -0
  406. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/js/getConfigInfoData.js +58 -0
  407. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/js/getLanguage.js +142 -0
  408. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/js/getLanguageOptions.js +51 -0
  409. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/themes/dark-6-1.css +430 -0
  410. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/themes/default-theme-6-1.js +48 -0
  411. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/themes/light-6-1.css +424 -0
  412. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/themes/themeConfig.json +42 -0
  413. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/App.vue +41 -0
  414. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/assets/images/template.jpg +0 -0
  415. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/hostMap.js +14 -0
  416. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/main.js +39 -0
  417. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/request/api/template.js +11 -0
  418. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/request/api.js +9 -0
  419. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/router.js +23 -0
  420. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/utils/setStorage.js +5 -0
  421. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/views/template.vue +49 -0
  422. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/tsconfig.json +21 -0
  423. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/tsconfig.node.json +10 -0
  424. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/vite.config.ts +240 -0
  425. package/ganwei-iotcenter-index-6.2.0/pnpm-workspace.yaml +3 -0
  426. package/ganwei-pc.js +3 -0
  427. package/package.json +28 -0
  428. package/src/copyConfig.js +85 -0
  429. package/src/copyDemo.js +21 -0
  430. package/src/create-app.js +90 -0
  431. package/src/createQuestions.js +46 -0
  432. package/src/index.js +63 -0
  433. package/src/remove-depencies.js +27 -0
@@ -0,0 +1,86 @@
1
+ /*
2
+ CryptoJS v3.1.2
3
+ code.google.com/p/crypto-js
4
+ (c) 2009-2013 by Jeff Mott. All rights reserved.
5
+ code.google.com/p/crypto-js/wiki/License
6
+ */
7
+ var CryptoJS = CryptoJS || function (h, s) {
8
+ var f = {}, g = f.lib = {}, q = function () { }, m = g.Base = { extend: function (a) { q.prototype = this; var c = new q; a && c.mixIn(a); c.hasOwnProperty("init") || (c.init = function () { c.$super.init.apply(this, arguments) }); c.init.prototype = c; c.$super = this; return c }, create: function () { var a = this.extend(); a.init.apply(a, arguments); return a }, init: function () { }, mixIn: function (a) { for (var c in a) a.hasOwnProperty(c) && (this[c] = a[c]); a.hasOwnProperty("toString") && (this.toString = a.toString) }, clone: function () { return this.init.prototype.extend(this) } },
9
+ r = g.WordArray = m.extend({
10
+ init: function (a, c) { a = this.words = a || []; this.sigBytes = c != s ? c : 4 * a.length }, toString: function (a) { return (a || k).stringify(this) }, concat: function (a) { var c = this.words, d = a.words, b = this.sigBytes; a = a.sigBytes; this.clamp(); if (b % 4) for (var e = 0; e < a; e++)c[b + e >>> 2] |= (d[e >>> 2] >>> 24 - 8 * (e % 4) & 255) << 24 - 8 * ((b + e) % 4); else if (65535 < d.length) for (e = 0; e < a; e += 4)c[b + e >>> 2] = d[e >>> 2]; else c.push.apply(c, d); this.sigBytes += a; return this }, clamp: function () {
11
+ var a = this.words, c = this.sigBytes; a[c >>> 2] &= 4294967295 <<
12
+ 32 - 8 * (c % 4); a.length = h.ceil(c / 4)
13
+ }, clone: function () { var a = m.clone.call(this); a.words = this.words.slice(0); return a }, random: function (a) { for (var c = [], d = 0; d < a; d += 4)c.push(4294967296 * h.random() | 0); return new r.init(c, a) }
14
+ }), l = f.enc = {}, k = l.Hex = {
15
+ stringify: function (a) { var c = a.words; a = a.sigBytes; for (var d = [], b = 0; b < a; b++) { var e = c[b >>> 2] >>> 24 - 8 * (b % 4) & 255; d.push((e >>> 4).toString(16)); d.push((e & 15).toString(16)) } return d.join("") }, parse: function (a) {
16
+ for (var c = a.length, d = [], b = 0; b < c; b += 2)d[b >>> 3] |= parseInt(a.substr(b,
17
+ 2), 16) << 24 - 4 * (b % 8); return new r.init(d, c / 2)
18
+ }
19
+ }, n = l.Latin1 = { stringify: function (a) { var c = a.words; a = a.sigBytes; for (var d = [], b = 0; b < a; b++)d.push(String.fromCharCode(c[b >>> 2] >>> 24 - 8 * (b % 4) & 255)); return d.join("") }, parse: function (a) { for (var c = a.length, d = [], b = 0; b < c; b++)d[b >>> 2] |= (a.charCodeAt(b) & 255) << 24 - 8 * (b % 4); return new r.init(d, c) } }, j = l.Utf8 = { stringify: function (a) { try { return decodeURIComponent(escape(n.stringify(a))) } catch (c) { throw Error("Malformed UTF-8 data"); } }, parse: function (a) { return n.parse(unescape(encodeURIComponent(a))) } },
20
+ u = g.BufferedBlockAlgorithm = m.extend({
21
+ reset: function () { this._data = new r.init; this._nDataBytes = 0 }, _append: function (a) { "string" == typeof a && (a = j.parse(a)); this._data.concat(a); this._nDataBytes += a.sigBytes }, _process: function (a) { var c = this._data, d = c.words, b = c.sigBytes, e = this.blockSize, f = b / (4 * e), f = a ? h.ceil(f) : h.max((f | 0) - this._minBufferSize, 0); a = f * e; b = h.min(4 * a, b); if (a) { for (var g = 0; g < a; g += e)this._doProcessBlock(d, g); g = d.splice(0, a); c.sigBytes -= b } return new r.init(g, b) }, clone: function () {
22
+ var a = m.clone.call(this);
23
+ a._data = this._data.clone(); return a
24
+ }, _minBufferSize: 0
25
+ }); g.Hasher = u.extend({
26
+ cfg: m.extend(), init: function (a) { this.cfg = this.cfg.extend(a); this.reset() }, reset: function () { u.reset.call(this); this._doReset() }, update: function (a) { this._append(a); this._process(); return this }, finalize: function (a) { a && this._append(a); return this._doFinalize() }, blockSize: 16, _createHelper: function (a) { return function (c, d) { return (new a.init(d)).finalize(c) } }, _createHmacHelper: function (a) {
27
+ return function (c, d) {
28
+ return (new t.HMAC.init(a,
29
+ d)).finalize(c)
30
+ }
31
+ }
32
+ }); var t = f.algo = {}; return f
33
+ }(Math);
34
+ (function (h) {
35
+ for (var s = CryptoJS, f = s.lib, g = f.WordArray, q = f.Hasher, f = s.algo, m = [], r = [], l = function (a) { return 4294967296 * (a - (a | 0)) | 0 }, k = 2, n = 0; 64 > n;) { var j; a: { j = k; for (var u = h.sqrt(j), t = 2; t <= u; t++)if (!(j % t)) { j = !1; break a } j = !0 } j && (8 > n && (m[n] = l(h.pow(k, 0.5))), r[n] = l(h.pow(k, 1 / 3)), n++); k++ } var a = [], f = f.SHA256 = q.extend({
36
+ _doReset: function () { this._hash = new g.init(m.slice(0)) }, _doProcessBlock: function (c, d) {
37
+ for (var b = this._hash.words, e = b[0], f = b[1], g = b[2], j = b[3], h = b[4], m = b[5], n = b[6], q = b[7], p = 0; 64 > p; p++) {
38
+ if (16 > p) a[p] =
39
+ c[d + p] | 0; else { var k = a[p - 15], l = a[p - 2]; a[p] = ((k << 25 | k >>> 7) ^ (k << 14 | k >>> 18) ^ k >>> 3) + a[p - 7] + ((l << 15 | l >>> 17) ^ (l << 13 | l >>> 19) ^ l >>> 10) + a[p - 16] } k = q + ((h << 26 | h >>> 6) ^ (h << 21 | h >>> 11) ^ (h << 7 | h >>> 25)) + (h & m ^ ~h & n) + r[p] + a[p]; l = ((e << 30 | e >>> 2) ^ (e << 19 | e >>> 13) ^ (e << 10 | e >>> 22)) + (e & f ^ e & g ^ f & g); q = n; n = m; m = h; h = j + k | 0; j = g; g = f; f = e; e = k + l | 0
40
+ } b[0] = b[0] + e | 0; b[1] = b[1] + f | 0; b[2] = b[2] + g | 0; b[3] = b[3] + j | 0; b[4] = b[4] + h | 0; b[5] = b[5] + m | 0; b[6] = b[6] + n | 0; b[7] = b[7] + q | 0
41
+ }, _doFinalize: function () {
42
+ var a = this._data, d = a.words, b = 8 * this._nDataBytes, e = 8 * a.sigBytes;
43
+ d[e >>> 5] |= 128 << 24 - e % 32; d[(e + 64 >>> 9 << 4) + 14] = h.floor(b / 4294967296); d[(e + 64 >>> 9 << 4) + 15] = b; a.sigBytes = 4 * d.length; this._process(); return this._hash
44
+ }, clone: function () { var a = q.clone.call(this); a._hash = this._hash.clone(); return a }
45
+ }); s.SHA256 = q._createHelper(f); s.HmacSHA256 = q._createHmacHelper(f)
46
+ })(Math);
47
+ (function () {
48
+ var h = CryptoJS, s = h.enc.Utf8; h.algo.HMAC = h.lib.Base.extend({
49
+ init: function (f, g) { f = this._hasher = new f.init; "string" == typeof g && (g = s.parse(g)); var h = f.blockSize, m = 4 * h; g.sigBytes > m && (g = f.finalize(g)); g.clamp(); for (var r = this._oKey = g.clone(), l = this._iKey = g.clone(), k = r.words, n = l.words, j = 0; j < h; j++)k[j] ^= 1549556828, n[j] ^= 909522486; r.sigBytes = l.sigBytes = m; this.reset() }, reset: function () { var f = this._hasher; f.reset(); f.update(this._iKey) }, update: function (f) { this._hasher.update(f); return this }, finalize: function (f) {
50
+ var g =
51
+ this._hasher; f = g.finalize(f); g.reset(); return g.finalize(this._oKey.clone().concat(f))
52
+ }
53
+ })
54
+ })();
55
+
56
+
57
+ /*
58
+ CryptoJS v3.1.2
59
+ code.google.com/p/crypto-js
60
+ (c) 2009-2013 by Jeff Mott. All rights reserved.
61
+ code.google.com/p/crypto-js/wiki/License
62
+ */
63
+ (function () {
64
+ var h = CryptoJS, j = h.lib.WordArray
65
+ h.enc.Base64 = {
66
+ stringify: function (b) {
67
+ var e = b.words, f = b.sigBytes, c = this._map
68
+ b.clamp()
69
+ b = []
70
+ for (var a = 0; a < f; a += 3)for (var d = (e[a >>> 2] >>> 24 - 8 * (a % 4) & 255) << 16 | (e[a + 1 >>> 2] >>> 24 - 8 * ((a + 1) % 4) & 255) << 8 | e[a + 2 >>> 2] >>> 24 - 8 * ((a + 2) % 4) & 255,
71
+ g = 0; 4 > g && a + 0.75 * g < f; g++)b.push(c.charAt(d >>> 6 * (3 - g) & 63))
72
+ if (e = c.charAt(64)) for (; b.length % 4;)b.push(e);
73
+ return b.join('')
74
+ }, parse: function (b) {
75
+ var e = b.length, f = this._map, c = f.charAt(64)
76
+ c && (c = b.indexOf(c), -1 != c && (e = c))
77
+ for (var c = [], a = 0, d = 0; d <
78
+ e; d++)if (d % 4) {
79
+ var g = f.indexOf(b.charAt(d - 1)) << 2 * (d % 4), h = f.indexOf(b.charAt(d)) >>> 6 - 2 * (d % 4)
80
+ c[a >>> 2] |= (g | h) << 24 - 8 * (a % 4)
81
+ a++
82
+ }
83
+ return j.create(c, a)
84
+ }, _map: 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='
85
+ }
86
+ })()
@@ -0,0 +1,455 @@
1
+ /*!
2
+ FileReader.js - v0.99
3
+ A lightweight wrapper for common FileReader usage.
4
+ Copyright 2014 Brian Grinstead - MIT License.
5
+ See http://github.com/bgrins/filereader.js for documentation.
6
+ */
7
+
8
+ (function(window, document) {
9
+
10
+ var FileReader = window.FileReader;
11
+ var FileReaderSyncSupport = false;
12
+ var workerScript = "self.addEventListener('message', function(e) { var data=e.data; try { var reader = new FileReaderSync; postMessage({ result: reader[data.readAs](data.file), extra: data.extra, file: data.file})} catch(e){ postMessage({ result:'error', extra:data.extra, file:data.file}); } }, false);";
13
+ var syncDetectionScript = "onmessage = function(e) { postMessage(!!FileReaderSync); };";
14
+ var fileReaderEvents = ['loadstart', 'progress', 'load', 'abort', 'error', 'loadend'];
15
+ var sync = false;
16
+ var FileReaderJS = window.FileReaderJS = {
17
+ enabled: false,
18
+ setupInput: setupInput,
19
+ setupBlob: setupBlob,
20
+ setupDrop: setupDrop,
21
+ setupClipboard: setupClipboard,
22
+ setSync: function (value) {
23
+ sync = value;
24
+
25
+ if (sync && !FileReaderSyncSupport) {
26
+ checkFileReaderSyncSupport();
27
+ }
28
+ },
29
+ getSync: function() {
30
+ return sync && FileReaderSyncSupport;
31
+ },
32
+ output: [],
33
+ opts: {
34
+ dragClass: "drag",
35
+ accept: false,
36
+ readAsDefault: 'DataURL',
37
+ readAsMap: {
38
+ },
39
+ on: {
40
+ loadstart: noop,
41
+ progress: noop,
42
+ load: noop,
43
+ abort: noop,
44
+ error: noop,
45
+ loadend: noop,
46
+ skip: noop,
47
+ groupstart: noop,
48
+ groupend: noop,
49
+ beforestart: noop
50
+ }
51
+ }
52
+ };
53
+
54
+ // Setup jQuery plugin (if available)
55
+ if (typeof(jQuery) !== "undefined") {
56
+ jQuery.fn.fileReaderJS = function(opts) {
57
+ return this.each(function() {
58
+ if (jQuery(this).is("input")) {
59
+ setupInput(this, opts);
60
+ }
61
+ else {
62
+ setupDrop(this, opts);
63
+ }
64
+ });
65
+ };
66
+
67
+ jQuery.fn.fileClipboard = function(opts) {
68
+ return this.each(function() {
69
+ setupClipboard(this, opts);
70
+ });
71
+ };
72
+ }
73
+
74
+ // Not all browsers support the FileReader interface. Return with the enabled bit = false.
75
+ if (!FileReader) {
76
+ return;
77
+ }
78
+
79
+
80
+ // makeWorker is a little wrapper for generating web workers from strings
81
+ function makeWorker(script) {
82
+ var URL = window.URL || window.webkitURL;
83
+ var Blob = window.Blob;
84
+ var Worker = window.Worker;
85
+
86
+ if (!URL || !Blob || !Worker || !script) {
87
+ return null;
88
+ }
89
+
90
+ var blob = new Blob([script]);
91
+ var worker = new Worker(URL.createObjectURL(blob));
92
+ return worker;
93
+ }
94
+
95
+ // setupClipboard: bind to clipboard events (intended for document.body)
96
+ function setupClipboard(element, opts) {
97
+
98
+ if (!FileReaderJS.enabled) {
99
+ return;
100
+ }
101
+ var instanceOptions = extend(extend({}, FileReaderJS.opts), opts);
102
+
103
+ element.addEventListener("paste", onpaste, false);
104
+
105
+ function onpaste(e) {
106
+ var files = [];
107
+ var clipboardData = e.clipboardData || {};
108
+ var items = clipboardData.items || [];
109
+
110
+ for (var i = 0; i < items.length; i++) {
111
+ var file = items[i].getAsFile();
112
+
113
+ if (file) {
114
+
115
+ // Create a fake file name for images from clipboard, since this data doesn't get sent
116
+ var matches = new RegExp("/\(.*\)").exec(file.type);
117
+ if (!file.name && matches) {
118
+ var extension = matches[1];
119
+ file.name = "clipboard" + i + "." + extension;
120
+ }
121
+
122
+ files.push(file);
123
+ }
124
+ }
125
+
126
+ if (files.length) {
127
+ processFileList(e, files, instanceOptions);
128
+ e.preventDefault();
129
+ e.stopPropagation();
130
+ }
131
+ }
132
+ }
133
+
134
+ // setupInput: bind the 'change' event to an input[type=file]
135
+ function setupInput(input, opts) {
136
+
137
+ if (!FileReaderJS.enabled) {
138
+ return;
139
+ }
140
+ var instanceOptions = extend(extend({}, FileReaderJS.opts), opts);
141
+
142
+ input.addEventListener("change", inputChange, false);
143
+ input.addEventListener("drop", inputDrop, false);
144
+
145
+ function inputChange(e) {
146
+ processFileList(e, input.files, instanceOptions);
147
+ }
148
+
149
+ function inputDrop(e) {
150
+ e.stopPropagation();
151
+ e.preventDefault();
152
+ processFileList(e, e.dataTransfer.files, instanceOptions);
153
+ }
154
+ }
155
+ // setupFile: bind the 'change' event to an input[type=file]
156
+ function setupBlob(blob, opts) {
157
+
158
+ if (!FileReaderJS.enabled) {
159
+ return;
160
+ }
161
+
162
+ if(blob.constructor !== Array && blob.constructor !== Function){
163
+ if(blob.name === undefined){
164
+ blob.name = "blob";
165
+ }
166
+ blob = [blob];
167
+ }else{
168
+
169
+ if(blob[0].name === undefined){
170
+ blob[0].name = "blob";
171
+ }
172
+ }
173
+
174
+ var instanceOptions = extend(extend({}, FileReaderJS.opts), opts);
175
+
176
+ processFileList(null, blob, instanceOptions);
177
+
178
+ }
179
+ // setupDrop: bind the 'drop' event for a DOM element
180
+ function setupDrop(dropbox, opts) {
181
+
182
+ if (!FileReaderJS.enabled) {
183
+ return;
184
+ }
185
+ var instanceOptions = extend(extend({}, FileReaderJS.opts), opts);
186
+ var dragClass = instanceOptions.dragClass;
187
+ var initializedOnBody = false;
188
+
189
+ // Bind drag events to the dropbox to add the class while dragging, and accept the drop data transfer.
190
+ dropbox.addEventListener("dragenter", onlyWithFiles(dragenter), false);
191
+ dropbox.addEventListener("dragleave", onlyWithFiles(dragleave), false);
192
+ dropbox.addEventListener("dragover", onlyWithFiles(dragover), false);
193
+ dropbox.addEventListener("drop", onlyWithFiles(drop), false);
194
+
195
+ // Bind to body to prevent the dropbox events from firing when it was initialized on the page.
196
+ document.body.addEventListener("dragstart", bodydragstart, true);
197
+ document.body.addEventListener("dragend", bodydragend, true);
198
+ document.body.addEventListener("drop", bodydrop, false);
199
+
200
+ function bodydragend(e) {
201
+ initializedOnBody = false;
202
+ }
203
+
204
+ function bodydragstart(e) {
205
+ initializedOnBody = true;
206
+ }
207
+
208
+ function bodydrop(e) {
209
+ if (e.dataTransfer.files && e.dataTransfer.files.length ){
210
+ e.stopPropagation();
211
+ e.preventDefault();
212
+ }
213
+ }
214
+
215
+ function onlyWithFiles(fn) {
216
+ return function() {
217
+ if (!initializedOnBody) {
218
+ fn.apply(this, arguments);
219
+ }
220
+ };
221
+ }
222
+
223
+ function drop(e) {
224
+ e.stopPropagation();
225
+ e.preventDefault();
226
+ if (dragClass) {
227
+ removeClass(dropbox, dragClass);
228
+ }
229
+ processFileList(e, e.dataTransfer.files, instanceOptions);
230
+ }
231
+
232
+ function dragenter(e) {
233
+ e.stopPropagation();
234
+ e.preventDefault();
235
+ if (dragClass) {
236
+ addClass(dropbox, dragClass);
237
+ }
238
+ }
239
+
240
+ function dragleave(e) {
241
+ if (dragClass) {
242
+ removeClass(dropbox, dragClass);
243
+ }
244
+ }
245
+
246
+ function dragover(e) {
247
+ e.stopPropagation();
248
+ e.preventDefault();
249
+ if (dragClass) {
250
+ addClass(dropbox, dragClass);
251
+ }
252
+ }
253
+ }
254
+
255
+ // setupCustomFileProperties: modify the file object with extra properties
256
+ function setupCustomFileProperties(files, groupID) {
257
+ for (var i = 0; i < files.length; i++) {
258
+ var file = files[i];
259
+ file.extra = {
260
+ nameNoExtension: file.name.substring(0, file.name.lastIndexOf('.')),
261
+ extension: file.name.substring(file.name.lastIndexOf('.') + 1),
262
+ fileID: i,
263
+ uniqueID: getUniqueID(),
264
+ groupID: groupID,
265
+ prettySize: prettySize(file.size)
266
+ };
267
+ }
268
+ }
269
+
270
+ // getReadAsMethod: return method name for 'readAs*' - http://www.w3.org/TR/FileAPI/#reading-a-file
271
+ function getReadAsMethod(type, readAsMap, readAsDefault) {
272
+ for (var r in readAsMap) {
273
+ if (type.match(new RegExp(r))) {
274
+ return 'readAs' + readAsMap[r];
275
+ }
276
+ }
277
+ return 'readAs' + readAsDefault;
278
+ }
279
+
280
+ // processFileList: read the files with FileReader, send off custom events.
281
+ function processFileList(e, files, opts) {
282
+ var filesLeft = files.length;
283
+ var group = {
284
+ groupID: getGroupID(),
285
+ files: files,
286
+ started: new Date()
287
+ };
288
+
289
+ function groupEnd() {
290
+ group.ended = new Date();
291
+ opts.on.groupend(group);
292
+ }
293
+
294
+ function groupFileDone() {
295
+ if (--filesLeft === 0) {
296
+ groupEnd();
297
+ }
298
+ }
299
+
300
+ FileReaderJS.output.push(group);
301
+ setupCustomFileProperties(files, group.groupID);
302
+
303
+ opts.on.groupstart(group);
304
+
305
+ // No files in group - end immediately
306
+ if (!files.length) {
307
+ groupEnd();
308
+ return;
309
+ }
310
+
311
+ var supportsSync = sync && FileReaderSyncSupport;
312
+ var syncWorker;
313
+
314
+ // Only initialize the synchronous worker if the option is enabled - to prevent the overhead
315
+ if (supportsSync) {
316
+ syncWorker = makeWorker(workerScript);
317
+ syncWorker.onmessage = function(e) {
318
+ var file = e.data.file;
319
+ var result = e.data.result;
320
+
321
+ // Workers seem to lose the custom property on the file object.
322
+ if (!file.extra) {
323
+ file.extra = e.data.extra;
324
+ }
325
+
326
+ file.extra.ended = new Date();
327
+
328
+ // Call error or load event depending on success of the read from the worker.
329
+ opts.on[result === "error" ? "error" : "load"]({ target: { result: result } }, file);
330
+ groupFileDone();
331
+ };
332
+ }
333
+
334
+ Array.prototype.forEach.call(files, function(file) {
335
+
336
+ file.extra.started = new Date();
337
+
338
+ if (opts.accept && !file.type.match(new RegExp(opts.accept))) {
339
+ opts.on.skip(file);
340
+ groupFileDone();
341
+ return;
342
+ }
343
+
344
+ if (opts.on.beforestart(file) === false) {
345
+ opts.on.skip(file);
346
+ groupFileDone();
347
+ return;
348
+ }
349
+
350
+ var readAs = getReadAsMethod(file.type, opts.readAsMap, opts.readAsDefault);
351
+
352
+ if (syncWorker) {
353
+ syncWorker.postMessage({
354
+ file: file,
355
+ extra: file.extra,
356
+ readAs: readAs
357
+ });
358
+ }
359
+ else {
360
+
361
+ var reader = new FileReader();
362
+ reader.originalEvent = e;
363
+
364
+ fileReaderEvents.forEach(function(eventName) {
365
+ reader['on' + eventName] = function(e) {
366
+ if (eventName == 'load' || eventName == 'error') {
367
+ file.extra.ended = new Date();
368
+ }
369
+ opts.on[eventName](e, file);
370
+ if (eventName == 'loadend') {
371
+ groupFileDone();
372
+ }
373
+ };
374
+ });
375
+ reader[readAs](file);
376
+ }
377
+ });
378
+ }
379
+
380
+ // checkFileReaderSyncSupport: Create a temporary worker and see if FileReaderSync exists
381
+ function checkFileReaderSyncSupport() {
382
+ var worker = makeWorker(syncDetectionScript);
383
+ if (worker) {
384
+ worker.onmessage =function(e) {
385
+ FileReaderSyncSupport = e.data;
386
+ };
387
+ worker.postMessage({});
388
+ }
389
+ }
390
+
391
+ // noop: do nothing
392
+ function noop() {
393
+
394
+ }
395
+
396
+ // extend: used to make deep copies of options object
397
+ function extend(destination, source) {
398
+ for (var property in source) {
399
+ if (source[property] && source[property].constructor &&
400
+ source[property].constructor === Object) {
401
+ destination[property] = destination[property] || {};
402
+ arguments.callee(destination[property], source[property]);
403
+ }
404
+ else {
405
+ destination[property] = source[property];
406
+ }
407
+ }
408
+ return destination;
409
+ }
410
+
411
+ // hasClass: does an element have the css class?
412
+ function hasClass(el, name) {
413
+ return new RegExp("(?:^|\\s+)" + name + "(?:\\s+|$)").test(el.className);
414
+ }
415
+
416
+ // addClass: add the css class for the element.
417
+ function addClass(el, name) {
418
+ if (!hasClass(el, name)) {
419
+ el.className = el.className ? [el.className, name].join(' ') : name;
420
+ }
421
+ }
422
+
423
+ // removeClass: remove the css class from the element.
424
+ function removeClass(el, name) {
425
+ if (hasClass(el, name)) {
426
+ var c = el.className;
427
+ el.className = c.replace(new RegExp("(?:^|\\s+)" + name + "(?:\\s+|$)", "g"), " ").replace(/^\s\s*/, '').replace(/\s\s*$/, '');
428
+ }
429
+ }
430
+
431
+ // prettySize: convert bytes to a more readable string.
432
+ function prettySize(bytes) {
433
+ var s = ['bytes', 'kb', 'MB', 'GB', 'TB', 'PB'];
434
+ var e = Math.floor(Math.log(bytes)/Math.log(1024));
435
+ return (bytes/Math.pow(1024, Math.floor(e))).toFixed(2)+" "+s[e];
436
+ }
437
+
438
+ // getGroupID: generate a unique int ID for groups.
439
+ var getGroupID = (function(id) {
440
+ return function() {
441
+ return id++;
442
+ };
443
+ })(0);
444
+
445
+ // getUniqueID: generate a unique int ID for files
446
+ var getUniqueID = (function(id) {
447
+ return function() {
448
+ return id++;
449
+ };
450
+ })(0);
451
+
452
+ // The interface is supported, bind the FileReaderJS callbacks
453
+ FileReaderJS.enabled = true;
454
+
455
+ })(this, document);
@@ -0,0 +1,56 @@
1
+
2
+ ; ((_this) => {
3
+ _this.isGetIconfontList = _this.isGetIconfontList || false
4
+ function setIcon() {
5
+ let iconfontList = _this.iconfontList || []
6
+ iconfontList.forEach(item => {
7
+ try {
8
+ let style = document.createElement('link')
9
+ style.rel = 'stylesheet'
10
+ style.id = `${item}-${item}`
11
+ style.href = `/static/fonts/${item}/iconfont.css`
12
+ document.head.prepend(style)
13
+ } catch (error) {
14
+ console.log(error)
15
+ }
16
+
17
+ })
18
+ }
19
+ if (_this.iconfontList) {
20
+ setIcon()
21
+ } else {
22
+ if (!_this.isGetIconfontList) {
23
+ _this.isGetIconfontList = true
24
+ _this.axios && _this.axios({
25
+ method: 'get',
26
+ url: '/IoT/api/v3/Auth/icon-fonts',
27
+ headers: {
28
+ 'Content-Type': 'application/json;charset=UTF-8',
29
+ 'X-Requested-With': 'IoT-XMLHttpRequest',
30
+ 'Accept-Language': _this.localStorage.languageType || 'zh-CN',
31
+ }
32
+ }).then(res => {
33
+ if (res.data && res.data.code == 200) {
34
+ let iconfontList = res.data.data || []
35
+ _this.iconfontList = iconfontList
36
+ setIcon()
37
+ }
38
+ }).catch(err => {
39
+ console.log(err)
40
+ })
41
+ } else {
42
+ let times = 0
43
+ let time = _this.setInterval(
44
+ () => {
45
+ if (_this.iconfontList || times > 300) {
46
+ _this.clearInterval(time)
47
+ time = null
48
+ setIcon()
49
+ }
50
+ times = times + 1
51
+ }, 100
52
+ )
53
+ }
54
+
55
+ }
56
+ })(window)
@@ -0,0 +1,57 @@
1
+
2
+ // sessionStorage.isGetConfigInfoData = sessionStorage.isGetConfigInfoData == 'true' || 'false'
3
+ window.getConfigInfoData = function () {
4
+ return new Promise((resolve, reject) => {
5
+ let configInfoData = sessionStorage.configInfoData || null
6
+ if (configInfoData) {
7
+ resolve(JSON.parse(configInfoData))
8
+ } else {
9
+ if (window.AxiosBuilder.axios) {
10
+ // if (sessionStorage.isGetConfigInfoData == 'false') {
11
+ // sessionStorage.isGetConfigInfoData = true
12
+ window.AxiosBuilder.axios({
13
+ methed: 'get',
14
+ url: '/IoT/api/v3/Frontconfiguration/GetFrontconfigurationData',
15
+ headers: {
16
+ 'Content-Type': 'application/json;charset=UTF-8',
17
+ 'Accept-Language': window.sessionStorage.languageType || 'zh-CN'
18
+ }
19
+ })
20
+ .then(res => {
21
+ const { code, data } = res ? (res.data || {}) : {}
22
+ if (code == 200 && data) {
23
+ sessionStorage.configInfoData = data
24
+ try {
25
+ resolve(JSON.parse(data))
26
+ } catch (error) {
27
+ resolve({})
28
+ }
29
+
30
+ } else {
31
+ reject({})
32
+ }
33
+ })
34
+ .catch(err => {
35
+ reject({})
36
+ })
37
+ // } else {
38
+ // let times = 0
39
+ // let time = window.setInterval(
40
+ // () => {
41
+ // let configInfoData = sessionStorage.configInfoData
42
+ // if (configInfoData || times > 300) {
43
+ // window.clearInterval(time)
44
+ // time = null
45
+ // configInfoData ? resolve(JSON.parse(configInfoData)) : reject({})
46
+ // }
47
+ // times = times + 1
48
+ // }, 100
49
+ // )
50
+ // }
51
+
52
+ } else {
53
+ reject({})
54
+ }
55
+ }
56
+ })
57
+ }