@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 @@
1
+ v16
@@ -0,0 +1,18 @@
1
+
2
+ import CHILDPROCESS from 'child_process';
3
+ import fs from 'fs';
4
+ import path from 'path';
5
+ import {
6
+ fileURLToPath
7
+ } from 'url';
8
+
9
+ const __FILENAME = fileURLToPath(
10
+ import.meta.url);
11
+ const __DIRNAME = path.dirname(__FILENAME)
12
+ CHILDPROCESS.execSync('rimraf node_modules')
13
+ let files = fs.readdirSync(path.join(__DIRNAME, "../packages"))
14
+ files.forEach(item => {
15
+ CHILDPROCESS.execSync(`cd ${path.join(__DIRNAME, "../packages")}/${item} && rimraf node_modules`)
16
+ })
17
+
18
+ // IoTCenterWeb.Modules.VideoPatrol
@@ -0,0 +1,45 @@
1
+
2
+ import CHILDPROCESS from 'child_process';
3
+ import fs from 'fs';
4
+ import path from 'path';
5
+ import {
6
+ fileURLToPath
7
+ } from 'url';
8
+
9
+ const __FILENAME = fileURLToPath(
10
+ import.meta.url);
11
+ const __DIRNAME = path.dirname(__FILENAME)
12
+ const MODULEPATH = path.join(__DIRNAME, "/")
13
+ const PACKAGEPATH = path.join(__DIRNAME, "../packages")
14
+
15
+ let thePackage = process.argv[2]
16
+
17
+ fs.readFile(MODULEPATH + 'moduleConfiguration.json', 'utf-8', (err, data) => {
18
+ let obj = JSON.parse(data)
19
+ if (obj.applicationPath && typeof (obj.applicationPath) == 'object') {
20
+ if (thePackage == 'All') {
21
+ Object.keys(obj.applicationPath).forEach(key => {
22
+ try {
23
+ CHILDPROCESS.execSync(`git clone ${obj.applicationPath[key].url} --branch ${obj.applicationPath[key].branch}`, {
24
+ cwd: PACKAGEPATH
25
+ })
26
+ } catch (e) {
27
+ console.log(key + " 已存在!")
28
+ }
29
+ })
30
+ } else {
31
+ Object.keys(obj.applicationPath).forEach(key => {
32
+ if (key == thePackage) {
33
+ try {
34
+ CHILDPROCESS.execSync(`git clone ${obj.applicationPath[key].url} --branch ${obj.applicationPath[key].branch}`, {
35
+ cwd: PACKAGEPATH
36
+ })
37
+ } catch (e) {
38
+ console.log(key + " 已存在!")
39
+ }
40
+ }
41
+ })
42
+ }
43
+ }
44
+
45
+ })
@@ -0,0 +1,20 @@
1
+ {
2
+ "addressMapping": {
3
+ "ganwei-iotcenter-index": "http://127.0.0.1:8140",
4
+ "ganwei-iotcenter-login": "http://127.0.0.1:8160",
5
+ "ganwei-iotcenter-template": "http://127.0.0.1:8190",
6
+ "ganwei-iotcenter-inspection": "http://127.0.0.1:8210",
7
+ "ganwei-iotcenter-media-platform": "http://127.0.0.1:8230",
8
+ "ganwei-base-patrol-plan": "http://127.0.0.1:8250",
9
+ "ganwei-iotcenter-mediarealtimeplaying": "http://127.0.0.1:8270",
10
+ "ganwei-iotcenter-event-querys": "http://127.0.0.1:8290",
11
+ "webui-base-work-order-management": "http://127.0.0.1:8310",
12
+ "ganwei-iotcenter-time-list": "http://127.0.0.1:8330",
13
+ "ganwei-iotcenter-web": "http://127.0.0.1:83530",
14
+ "ganwei-iotcenter-equip-lists": "http://127.0.0.1:8350",
15
+ "IoTCenterWeb.Modules.VideoPatrol": "http://127.0.0.1:8370",
16
+ "ganwei-iotcenter-lowcodeformflow": "http://127.0.0.1:8390"
17
+ },
18
+ "applicationPath": {},
19
+ "proxyTarget": "https://test.iotapp.ganweicloud.com:5443/"
20
+ }
@@ -0,0 +1,30 @@
1
+ const fs = require('fs')
2
+ const { execSync } = require('child_process')
3
+ const baseUrl = '../packages'
4
+ const range = ['dependencies', 'devDependencies', 'optionalDependencies']
5
+ let updateDependencies = {}
6
+ if (fs.existsSync(baseUrl)) {
7
+ const folders = fs.readdirSync(baseUrl);
8
+ folders.forEach(folder => {
9
+ let url = `${baseUrl}/${folder}/package.json`
10
+ if (fs.existsSync(url)) {
11
+ let config = fs.readFileSync(url, 'utf-8')
12
+ config = JSON.parse(config);
13
+ Object.keys(config).forEach(item => {
14
+ if (range.includes(item)) {
15
+ Object.keys(config[item]).forEach(child => {
16
+ if (child.includes('@ganwei-pc') && config[item][child].includes('^')) {
17
+ updateDependencies[child] = config[item][child].split('^').pop().split('.')[0]
18
+ }
19
+ })
20
+ }
21
+ })
22
+ }
23
+ })
24
+ }
25
+ let commands = 'pnpm up'
26
+ Object.keys(updateDependencies).forEach(item => {
27
+ commands = `${commands} ${item}@${updateDependencies[item]}`
28
+ })
29
+ commands = `${commands} --filter *`
30
+ execSync(commands, { stdio: [0, 1, 2] })
@@ -0,0 +1,30 @@
1
+ const fs = require('fs')
2
+ const { execSync } = require('child_process')
3
+
4
+ if (!fs.existsSync('./node_modules')) {
5
+ execSync('mkdir node_modules')
6
+ }
7
+
8
+ if (fs.existsSync('./node_modules/tempFolder')) {
9
+ fs.rmSync(`./node_modules/tempFolder`, { recursive: true, force: true })
10
+ }
11
+
12
+ execSync('cd ./node_modules&&mkdir tempFolder&&cd ./tempFolder && npm init --yes')
13
+ execSync('cd ./node_modules/tempFolder&&npm install @ganwei-pc/gw-base-versions-config@latest --registry=http://139.9.43.67:8081/repository/npm-hosted/', { stdio: [0, 1, 2] })
14
+
15
+ if (!fs.existsSync('./node_modules/tempFolder/node_modules/@ganwei-pc/gw-base-versions-config/')) {
16
+ console.log('加载配置文件失败')
17
+ console.log('若初始化失败,请删除package.lock,若提示401、403等,请登录私有镜像')
18
+ return;
19
+ } else {
20
+ const updateModule = require('./node_modules/tempFolder/node_modules/@ganwei-pc/gw-base-versions-config/updateModule.cjs')
21
+ updateModule(process)
22
+ }
23
+
24
+
25
+
26
+
27
+
28
+
29
+
30
+
@@ -0,0 +1,41 @@
1
+ {
2
+ "name": "6.1-vite-cli",
3
+ "private": true,
4
+ "version": "0.0.1",
5
+ "type": "module",
6
+ "scripts": {
7
+ "dev": "pnpm -r --parallel run dev",
8
+ "build": "pnpm -r --parallel run build",
9
+ "download": "node ./configuration/gitClone.js",
10
+ "cleanAll": "node ./configuration/cleanNodeModule.js",
11
+ "updateModule": "node ./configuration/updateModule.cjs",
12
+ "start": "pnpm updateModule && pnpm install && pnpm dev",
13
+ "init-fix": "node ./init.cjs fix",
14
+ "init-lat": "node ./init.cjs lat"
15
+ },
16
+ "pnpm": {
17
+ "peerDependencyRules": {
18
+ "allowedVersions": {
19
+ "vite": ">2.5.10",
20
+ "vue": ">2.0.0"
21
+ }
22
+ },
23
+ "packageExtensions": {
24
+ "vue-template-compiler": {
25
+ "peerDependencies": {
26
+ "vue": "2.6.14"
27
+ }
28
+ }
29
+ },
30
+ "allowedDeprecatedVersions": {
31
+ "@aspnet/signalr": "*",
32
+ "@babel/plugin-proposal-class-properties": "*",
33
+ "@volar/vue-typescript": "*",
34
+ "request": "*",
35
+ "har-validator": "*",
36
+ "uuid": "*",
37
+ "sourcemap-codec": "*",
38
+ "barcode-detector": "*"
39
+ }
40
+ }
41
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ presets: ['@vue/app'],
3
+ plugins: ['@babel/plugin-syntax-dynamic-import']
4
+ }
@@ -0,0 +1,22 @@
1
+ # https://editorconfig.org
2
+ root = true # 根目录的配置文件,编辑器会由当前目录向上查找,如果找到 `roor = true` 的文件,则不再查找
3
+
4
+ [*] # 匹配所有的文件
5
+ indent_style = space # 空格缩进
6
+ indent_size = 4 # 缩进空格为4个
7
+ end_of_line = lf # 文件换行符是 linux 的 `\n`
8
+ charset = utf-8 # 文件编码是 utf-8
9
+ trim_trailing_whitespace = true # 不保留行末的空格
10
+ insert_final_newline = true # 文件末尾添加一个空行
11
+ curly_bracket_next_line = false # 大括号不另起一行
12
+ spaces_around_operators = true # 运算符两遍都有空格
13
+ indent_brace_style = 1tbs # 条件语句格式是 1tbs
14
+
15
+ [*.js] # 对所有的 js 文件生效
16
+ quote_type = single # 字符串使用单引号
17
+
18
+ [*.{html,less,css,json}] # 对所有 html, less, css, json 文件生效
19
+ quote_type = double # 字符串使用双引号
20
+
21
+ [package.json] # 对 package.json 生效
22
+ indent_size = 2 # 使用2个空格缩进
@@ -0,0 +1,22 @@
1
+ ## 开发环境
2
+
3
+ # 变量必须以 VITE_ 为前缀才能暴露给外部读取
4
+ NODE_ENV = "development"
5
+
6
+ # 图片路径
7
+ VITE_IMAGE_BASE = "/static/images/"
8
+
9
+ # 标题
10
+ VITE_APP_TITLE = ''
11
+
12
+ # 端口
13
+ VITE_APP_PORT = 8150
14
+
15
+ # API请求前缀
16
+ VITE_APP_BASE_API = ''
17
+
18
+ # proxy代理配置
19
+ VITE_APP_TARGET_URL = 'https://121.37.247.179:44380/'
20
+
21
+ # 本地地址
22
+ VITE_APP_THIS_URL = '127.0.0.1'
@@ -0,0 +1,22 @@
1
+ ## 生产环境
2
+
3
+ # 变量必须以 VITE_ 为前缀才能暴露给外部读取
4
+ NODE_ENV = "production"
5
+
6
+ # 图片路径
7
+ VITE_IMAGE_BASE = "/APP/static/images/"
8
+
9
+ # 标题
10
+ VITE_APP_TITLE = ''
11
+
12
+ # 端口
13
+ VITE_APP_PORT = 0
14
+
15
+ # API请求前缀
16
+ VITE_APP_BASE_API = ''
17
+
18
+ # proxy代理配置
19
+ VITE_APP_TARGET_URL = 'https://124.71.6.182:44390/'
20
+
21
+ # 本地地址
22
+ VITE_APP_THIS_URL = '127.0.0.1'
@@ -0,0 +1,22 @@
1
+ ## 测试环境
2
+
3
+ # 变量必须以 VITE_ 为前缀才能暴露给外部读取
4
+ NODE_ENV = "test"
5
+
6
+ # 图片路径
7
+ VITE_IMAGE_BASE = "/APP/static/images/"
8
+
9
+ # 标题
10
+ VITE_APP_TITLE = ''
11
+
12
+ # 端口
13
+ VITE_APP_PORT = 7777
14
+
15
+ # API请求前缀
16
+ VITE_APP_BASE_API = ''
17
+
18
+ # proxy代理配置
19
+ VITE_APP_TARGET_URL = ''
20
+
21
+ # 本地地址
22
+ VITE_APP_THIS_URL = ''
@@ -0,0 +1,13 @@
1
+ /build/
2
+ /config/
3
+ /dist/
4
+ /static/fonts/
5
+ /*.js
6
+ /.git/
7
+ /.svn/
8
+ /test.html/
9
+
10
+ .eslintrc.cjs
11
+ .prettierrc.cjs
12
+ .stylelintrc.cjs
13
+ commitlint.config.cjs
@@ -0,0 +1,176 @@
1
+ /* eslint-disable @typescript-eslint/naming-convention */
2
+ module.exports = {
3
+ globals: {
4
+ myJavaFun: 'readonly'
5
+ },
6
+ env: {
7
+ browser: true,
8
+ es2021: true,
9
+ node: true
10
+ },
11
+ extends: [
12
+ 'eslint:recommended',
13
+ 'plugin:vue/vue3-essential',
14
+ 'plugin:@typescript-eslint/recommended',
15
+ // 'plugin:prettier/recommended' // 解决ESlint和Prettier冲突
16
+ ],
17
+ overrides: [],
18
+ parser: 'vue-eslint-parser',
19
+ parserOptions: {
20
+ ecmaVersion: 'latest',
21
+ sourceType: 'module',
22
+ parser: '@typescript-eslint/parser',
23
+ ecmaFeatures: {
24
+ jsx: true
25
+ }
26
+ },
27
+ plugins: ['vue', '@typescript-eslint', 'simple-import-sort'],
28
+
29
+ /*
30
+ 下面这些rules是用来设置从插件来的规范代码的规则,使用必须去掉前缀eslint-plugin-
31
+ 主要有如下的设置规则,可以设置字符串也可以设置数字,两者效果一致
32
+ "off" -> 0 关闭规则
33
+ "warn" -> 1 开启警告规则
34
+ "error" -> 2 开启错误规则
35
+ */
36
+ // 参数说明:
37
+ // 参数1 : 错误等级
38
+ // 参数2 : 处理方式
39
+ rules: {
40
+ "simple-import-sort/imports": [
41
+ "error",
42
+ {
43
+ groups: [
44
+ // node_modules packages
45
+ ["^vue", "^element", "^@(?!ganwei)\\w", '^@?\\w'],
46
+ // @ganwei private packages
47
+ ["^@ganwei"],
48
+ // alias or relative path
49
+ ["^@/", "^\\."]
50
+ ]
51
+ }
52
+ ],
53
+ "simple-import-sort/exports": "error",
54
+ // allow async-await
55
+ 'generator-star-spacing': 'off',
56
+ // allow debugger during development
57
+ 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
58
+
59
+ 'prefer-promise-reject-errors': 0,
60
+ 'space-unary-ops': 0,
61
+ 'no-unused-expressions': 0,
62
+ 'no-useless-return': 0,
63
+ 'standard/no-callback-literal': 0,
64
+ 'import/first': 0,
65
+ 'import/export': 0,
66
+ 'no-mixed-operators': 0,
67
+ 'no-use-before-define': 0,
68
+ 'no-useless-escape': 0,
69
+ // 允许使用分号
70
+ semi: [0, 'never'],
71
+ // 取消文件结尾处需要换行符
72
+ 'eol-last': 0,
73
+ // 允许使用==
74
+ eqeqeq: 0,
75
+ // 缩进使用不做限制
76
+ indent: 0,
77
+ // 允许使用tab
78
+ 'no-tabs': 0,
79
+ // 函数圆括号之前没有空格
80
+ //'space-before-function-paren': [2, "never"],
81
+ 'space-before-function-paren': 0, //这句话表示在函数后可以不加空格
82
+ // 不要求块内空格填充格式
83
+ 'padded-blocks': 0,
84
+ // 不限制变量一起声明
85
+ 'one-var': 0,
86
+ // 开发模式允许使用console
87
+ // 'no-console': process.env.NODE_ENV === 'production' ? 2 : 0,
88
+ // 条件语句中复制操作符需要用圆括号括起来
89
+ 'no-cond-assign': [2, 'except-parens'],
90
+ // 允许使用条件表达式使用常量
91
+ 'no-constant-condition': 0,
92
+ // 单行可忽略大括号,多行不可忽略
93
+ curly: [2, 'multi-line'],
94
+ // 不允许使用var变量
95
+ 'no-var': 1,
96
+ // 不允许出现多个空格
97
+ 'no-multi-spaces': [
98
+ 'error',
99
+ {
100
+ ignoreEOLComments: true
101
+ }
102
+ ],
103
+ camelcase: 0,
104
+ // 对象字面量的键值空格风格
105
+ 'key-spacing': 2,
106
+ // if语句包含一个return语句, else就多余
107
+ 'no-else-return': 2,
108
+ // 建议将经常出现的数字提取为变量
109
+ 'no-magic-numbers': [
110
+ 0,
111
+ {
112
+ ignoreArrayIndexes: true
113
+ }
114
+ ],
115
+ // 不允许重复声明变量
116
+ 'no-redeclare': [
117
+ 2,
118
+ {
119
+ builtinGlobals: true
120
+ }
121
+ ],
122
+ // 立即执行函数风格
123
+ 'wrap-iife': [2, 'inside'],
124
+ // 不允许圆括号中出现空格
125
+ 'space-in-parens': [2, 'never'],
126
+ // 确保运算符周围有空格
127
+ 'space-infix-ops': 2,
128
+ // 强制点号与属性同一行
129
+ 'dot-location': [2, 'property'],
130
+ // 强制单行代码使用空格
131
+ 'block-spacing': [2, 'always'],
132
+ // 约束for-in使用hasOwnProperty判断
133
+ 'guard-for-in': 0,
134
+ // 采用one true brace style大括号风格
135
+ 'brace-style': [
136
+ 2,
137
+ '1tbs',
138
+ {
139
+ allowSingleLine: true
140
+ }
141
+ ],
142
+ // 统一逗号周围空格风格
143
+ 'comma-spacing': [
144
+ 2,
145
+ {
146
+ before: false,
147
+ after: true
148
+ }
149
+ ],
150
+ // 禁止出现多个空行
151
+ 'no-multiple-empty-lines': [
152
+ 2,
153
+ {
154
+ max: 1,
155
+ maxEOF: 2
156
+ }
157
+ ],
158
+ // 允许箭头函数不使用圆括号
159
+ 'arrow-parens': 0,
160
+ // 规范generator函数的使用
161
+ //'generator-star-spacing': [2, {'before': false, 'after': true}],
162
+ // 要求在块级
163
+ 'lines-around-comment': [
164
+ 2,
165
+ {
166
+ beforeBlockComment: true,
167
+ afterBlockComment: false,
168
+ beforeLineComment: false,
169
+ afterLineComment: false
170
+ }
171
+ ],
172
+ "@typescript-eslint/no-this-alias": ["off"],
173
+ 'vue/multi-word-component-names': 'off', //关闭组件命名规则,
174
+ 'new-cap': ['error', { "newIsCap": true, capIsNew: false }]
175
+ }
176
+ }
@@ -0,0 +1,13 @@
1
+ dist
2
+ node_modules
3
+ public
4
+ .husky
5
+ .vscode
6
+ .idea
7
+ *.sh
8
+ *.md
9
+
10
+ src/assets
11
+ commitlint.config.cjs
12
+ .prettierrc.cjs
13
+ .prettierignore
@@ -0,0 +1,19 @@
1
+ module.exports = {
2
+ semi: false,
3
+ singleQuote: true,
4
+ tabWidth: 2,
5
+ trailingComma: 'none',
6
+ printWidth: 100,
7
+ arrowParens: 'avoid',
8
+ overrides: [
9
+ {
10
+ files: '**/*.scss',
11
+ options: {
12
+ singleQuote: false,
13
+ printWidth: 120,
14
+ tabWidth: 2,
15
+ bracketSpacing: true
16
+ }
17
+ }
18
+ ]
19
+ }
@@ -0,0 +1,5 @@
1
+ // Generated by 'unplugin-auto-import'
2
+ export {}
3
+ declare global {
4
+
5
+ }
@@ -0,0 +1,9 @@
1
+
2
+ const pageEntry = [{
3
+ filename: 'ganwei-iotcenter-index', // filename 默认是template文件名,就是index.html
4
+ entry: `src/main.js`,
5
+ output: `../../ganwei-iotcenter-index/dist`,
6
+ template: `index.html`,
7
+ chunks: ['chunk-vendors', 'chunk-common', 'index']
8
+ }];
9
+ export default pageEntry;
@@ -0,0 +1,38 @@
1
+ import type { Plugin } from 'vite'
2
+ import fs from 'fs'
3
+ import path from 'path'
4
+ import child_process from 'child_process'
5
+ const packageJson = require('../package.json')
6
+ const distUrl = path.resolve(__dirname, '../../../dist')
7
+
8
+ export default function viteAddInfoHtml(): Plugin {
9
+ return {
10
+ // 插件名称
11
+ name: 'viteAddInfoHtml',
12
+ closeBundle() {
13
+ try {
14
+ const info = htmlInfo()
15
+ let url = ''
16
+ if (packageJson.name == 'ganwei-iotcenter-index') {
17
+ url = `${distUrl}/index.html`
18
+ } else {
19
+ url = `${distUrl}/${packageJson.name}/index.html`
20
+ }
21
+ let html = fs.readFileSync(url, 'utf-8')
22
+ fs.writeFileSync(url, `<!-- ${JSON.stringify(info)} -->${html}`)
23
+ } catch (error) {
24
+ console.log(error, '添加版本信息失败--不影响最终包输出')
25
+ }
26
+
27
+ }
28
+ }
29
+ };
30
+
31
+ function htmlInfo() {
32
+ const nowDate = new Date()
33
+ const version = child_process.execSync('git tag --sort=-taggerdate').toString().trim().split('\n')[0]
34
+ const buildUserName = child_process.execSync('git config user.name').toString().trim()
35
+ const buildDate = `${nowDate.getFullYear() + '-' + (nowDate.getMonth() + 1) + '-' + nowDate.getDate() + ' ' + nowDate.getHours() + ':' + nowDate.getMinutes()}`
36
+ return { "版本号": version, "发布人员": buildUserName, "发布日期": buildDate }
37
+ }
38
+