@ganwei-web/ganwei-pc-cli 6.2.1 → 6.2.3

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 (852) hide show
  1. package/ganwei-app-6.2.1/.nvmrc +1 -0
  2. package/ganwei-app-6.2.1/moduleConfiguration/.editorconfig +22 -0
  3. package/ganwei-app-6.2.1/moduleConfiguration/.env.development +23 -0
  4. package/ganwei-app-6.2.1/moduleConfiguration/.env.local.config +8 -0
  5. package/ganwei-app-6.2.1/moduleConfiguration/.env.production +29 -0
  6. package/ganwei-app-6.2.1/moduleConfiguration/.env.test +22 -0
  7. package/ganwei-app-6.2.1/moduleConfiguration/.eslintignore +13 -0
  8. package/ganwei-app-6.2.1/moduleConfiguration/.eslintrc.cjs +178 -0
  9. package/ganwei-app-6.2.1/moduleConfiguration/.prettierignore +13 -0
  10. package/ganwei-app-6.2.1/moduleConfiguration/.prettierrc.cjs +37 -0
  11. package/ganwei-app-6.2.1/moduleConfiguration/cleanNodeModule.js +16 -0
  12. package/ganwei-app-6.2.1/moduleConfiguration/copyFile.js +127 -0
  13. package/ganwei-app-6.2.1/moduleConfiguration/filterStatic.js +65 -0
  14. package/ganwei-app-6.2.1/moduleConfiguration/init.js +42 -0
  15. package/ganwei-app-6.2.1/moduleConfiguration/moduleConfiguration.json +17 -0
  16. package/ganwei-app-6.2.1/package.json +41 -0
  17. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/.babelrc +4 -0
  18. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/.editorconfig +22 -0
  19. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/.env.development +23 -0
  20. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/.env.production +29 -0
  21. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/.env.test +22 -0
  22. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/.eslintignore +13 -0
  23. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/.eslintrc.cjs +178 -0
  24. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/.prettierignore +13 -0
  25. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/.prettierrc.cjs +37 -0
  26. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/auto-imports.d.ts +5 -0
  27. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/build/banner.js +9 -0
  28. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/build/build-version.js +42 -0
  29. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/build/bulidList.js +26 -0
  30. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/build/enteryJson.js +108 -0
  31. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/build/filterStatic.js +64 -0
  32. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/build/init.js +27 -0
  33. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/build/look-dir.js +24 -0
  34. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/build/rollup-options.js +35 -0
  35. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/build/test.js +3 -0
  36. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/build/vite-plugin-stats-html.js +595 -0
  37. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/components.d.ts +20 -0
  38. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/env.d.ts +7 -0
  39. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/index.html +20 -0
  40. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/package-lock.json +3965 -0
  41. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/package.json +69 -0
  42. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/pnpm-lock.yaml +5034 -0
  43. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/css/index-plus-vars.css +93 -0
  44. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/css/index-plus.css +1 -0
  45. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/css/index.css +15926 -0
  46. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/css/pptxjs.css +161 -0
  47. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/font/iconfont.css +1135 -0
  48. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/font/iconfont.js +1 -0
  49. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/font/iconfont.json +1969 -0
  50. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/font/iconfont.ttf +0 -0
  51. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/font/iconfont.woff +0 -0
  52. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/font/iconfont.woff2 +0 -0
  53. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/language/en-US/noPage.json +3 -0
  54. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/language/zh-CN/noPage.json +3 -0
  55. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/language/zh-HK/noPage.json +3 -0
  56. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/themes/dark.css +77 -0
  57. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/themes/default-theme.js +34 -0
  58. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/themes/light.css +79 -0
  59. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/App.vue +198 -0
  60. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/.sass-cache/59ae6c3370e48597956c7d0775238711a2c22a84/index.scssc +0 -0
  61. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/.sass-cache/59ae6c3370e48597956c7d0775238711a2c22a84/linkSetting.scssc +0 -0
  62. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/.sass-cache/59ae6c3370e48597956c7d0775238711a2c22a84/sceneSetting.scssc +0 -0
  63. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/.sass-cache/59ae6c3370e48597956c7d0775238711a2c22a84/specialTask.scssc +0 -0
  64. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/.sass-cache/59ae6c3370e48597956c7d0775238711a2c22a84/style.scssc +0 -0
  65. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/.sass-cache/59ae6c3370e48597956c7d0775238711a2c22a84/weekTask.scssc +0 -0
  66. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/VideoSystem.scss +397 -0
  67. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/el-dialog.scss +58 -0
  68. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/el-drawer.scss +41 -0
  69. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/index.scss +1052 -0
  70. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/login.scss +320 -0
  71. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/mobileStyle.scss +332 -0
  72. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/noDataTips.scss +57 -0
  73. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/reset.scss +1192 -0
  74. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/style-black.scss +1 -0
  75. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/style-white.scss +1 -0
  76. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/style.scss +633 -0
  77. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/videoPlaybackCom.scss +468 -0
  78. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/videoPlayer.scss +441 -0
  79. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/images/logo.png +0 -0
  80. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/plugins/encrypt.js +122 -0
  81. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/components/appFrame/appFrame.vue +163 -0
  82. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/components/appFrame/bottom.vue +15 -0
  83. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/components/appFrame/css/bottom.scss +381 -0
  84. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/components/appFrame/css/top.scss +49 -0
  85. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/components/appFrame/js/Voice.js +345 -0
  86. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/components/appFrame/js/bottom.js +102 -0
  87. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/components/appFrame/top.vue +114 -0
  88. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/components/i18n/i18n.js +42 -0
  89. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/components/i18n/i18nObserver.js +39 -0
  90. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/components/i18n/vueI18n.js +17 -0
  91. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/components/toast/index.js +64 -0
  92. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/components/toast/index.vue +152 -0
  93. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/hostMap.js +9 -0
  94. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/main.js +39 -0
  95. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/Auth.js +83 -0
  96. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/BA.js +81 -0
  97. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/EquipList.js +127 -0
  98. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/Event.js +34 -0
  99. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/GwEcharts.js +9 -0
  100. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/PPT.js +5 -0
  101. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/RealTime.js +43 -0
  102. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/SystemConfig.js +177 -0
  103. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/Video.js +57 -0
  104. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/VideoTour.js +129 -0
  105. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/WelcomeWord.js +24 -0
  106. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/WorkOrder.js +265 -0
  107. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/videoSystem.js +81 -0
  108. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api.js +35 -0
  109. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/apiFunction.js +200 -0
  110. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/encrypt.js +14 -0
  111. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/http.js +186 -0
  112. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/router.js +31 -0
  113. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/store.js +189 -0
  114. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/types.js +16 -0
  115. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/utils/formValidate.js +25 -0
  116. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/utils/isApp.js +18 -0
  117. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/utils/language.js +45 -0
  118. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/utils/myUtils.js +643 -0
  119. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/utils/timeFormat.js +23 -0
  120. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/utils/timesYMDHMS.js +27 -0
  121. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/views/ganwei-app-empty-page/src/noPage.vue +22 -0
  122. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/stats.html +356 -0
  123. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/vite.base.config.js +244 -0
  124. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/vite.config.ts +44 -0
  125. package/ganwei-app-6.2.1/packages/ganwei-app-home/.babelrc +4 -0
  126. package/ganwei-app-6.2.1/packages/ganwei-app-home/.editorconfig +22 -0
  127. package/ganwei-app-6.2.1/packages/ganwei-app-home/.env.development +23 -0
  128. package/ganwei-app-6.2.1/packages/ganwei-app-home/.env.production +29 -0
  129. package/ganwei-app-6.2.1/packages/ganwei-app-home/.env.test +22 -0
  130. package/ganwei-app-6.2.1/packages/ganwei-app-home/.eslintignore +13 -0
  131. package/ganwei-app-6.2.1/packages/ganwei-app-home/.eslintrc.cjs +178 -0
  132. package/ganwei-app-6.2.1/packages/ganwei-app-home/.prettierignore +13 -0
  133. package/ganwei-app-6.2.1/packages/ganwei-app-home/.prettierrc.cjs +37 -0
  134. package/ganwei-app-6.2.1/packages/ganwei-app-home/.stylelintrc.cjs +18 -0
  135. package/ganwei-app-6.2.1/packages/ganwei-app-home/auto-imports.d.ts +56 -0
  136. package/ganwei-app-6.2.1/packages/ganwei-app-home/components.d.ts +25 -0
  137. package/ganwei-app-6.2.1/packages/ganwei-app-home/env.d.ts +21 -0
  138. package/ganwei-app-6.2.1/packages/ganwei-app-home/index.html +20 -0
  139. package/ganwei-app-6.2.1/packages/ganwei-app-home/package.json +87 -0
  140. package/ganwei-app-6.2.1/packages/ganwei-app-home/public/static/language/en-US/home.json +39 -0
  141. package/ganwei-app-6.2.1/packages/ganwei-app-home/public/static/language/zh-CN/home.json +39 -0
  142. package/ganwei-app-6.2.1/packages/ganwei-app-home/public/static/language/zh-HK/home.json +39 -0
  143. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/App.vue +203 -0
  144. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/assets/images/logo.png +0 -0
  145. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/components/Layout/TitleList.vue +20 -0
  146. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/enums/index.ts +24 -0
  147. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/main.ts +29 -0
  148. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/models/index.ts +91 -0
  149. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/request/api/RealTime.ts +27 -0
  150. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/request/api.ts +5 -0
  151. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/router.ts +30 -0
  152. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/store.js +189 -0
  153. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/types.js +16 -0
  154. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/components/HomeMenuItem.vue +95 -0
  155. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/components/HomeMenus.vue +118 -0
  156. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/components/HomeMenusEditDrawer.vue +119 -0
  157. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/components/HomeSnapshots.vue +109 -0
  158. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/components/chatbot.vue +96 -0
  159. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/components/eslint.config.js +10 -0
  160. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/css/index.scss +5 -0
  161. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/img/chatbot.gif +0 -0
  162. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/img/six.png +0 -0
  163. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/index.vue +42 -0
  164. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/js/useLanguageStyle.ts +21 -0
  165. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/js/useManageMenus.ts +38 -0
  166. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/js/useMenus.ts +49 -0
  167. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/js/usePolling.ts +38 -0
  168. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/js/useRealTime.ts +128 -0
  169. package/ganwei-app-6.2.1/packages/ganwei-app-home/stats.html +4975 -0
  170. package/ganwei-app-6.2.1/packages/ganwei-app-home/tsconfig.json +58 -0
  171. package/ganwei-app-6.2.1/packages/ganwei-app-home/types/gw-app-public.d.ts +4 -0
  172. package/ganwei-app-6.2.1/packages/ganwei-app-home/vite.base.config.ts +233 -0
  173. package/ganwei-app-6.2.1/packages/ganwei-app-home/vite.config.ts +49 -0
  174. package/ganwei-app-6.2.1/packages/ganwei-app-index/.babelrc +4 -0
  175. package/ganwei-app-6.2.1/packages/ganwei-app-index/.editorconfig +22 -0
  176. package/ganwei-app-6.2.1/packages/ganwei-app-index/.env.development +23 -0
  177. package/ganwei-app-6.2.1/packages/ganwei-app-index/.env.production +29 -0
  178. package/ganwei-app-6.2.1/packages/ganwei-app-index/.env.test +22 -0
  179. package/ganwei-app-6.2.1/packages/ganwei-app-index/.eslintignore +13 -0
  180. package/ganwei-app-6.2.1/packages/ganwei-app-index/.eslintrc.cjs +178 -0
  181. package/ganwei-app-6.2.1/packages/ganwei-app-index/.prettierignore +13 -0
  182. package/ganwei-app-6.2.1/packages/ganwei-app-index/.prettierrc.cjs +37 -0
  183. package/ganwei-app-6.2.1/packages/ganwei-app-index/.stylelintrc.cjs +18 -0
  184. package/ganwei-app-6.2.1/packages/ganwei-app-index/auto-imports.d.ts +5 -0
  185. package/ganwei-app-6.2.1/packages/ganwei-app-index/env.d.ts +22 -0
  186. package/ganwei-app-6.2.1/packages/ganwei-app-index/index.html +20 -0
  187. package/ganwei-app-6.2.1/packages/ganwei-app-index/package-lock.json +18130 -0
  188. package/ganwei-app-6.2.1/packages/ganwei-app-index/package.json +88 -0
  189. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/css/ElementPlusAdapter.css +706 -0
  190. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/css/index-plus-vars.css +93 -0
  191. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/css/index-plus.css +1 -0
  192. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/css/index.css +15254 -0
  193. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/css/pptxjs.css +161 -0
  194. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/css/reset-6.1.css +433 -0
  195. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/font/element-icons.ttf +0 -0
  196. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/font/element-icons.woff +0 -0
  197. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/font/iconfont.css +1167 -0
  198. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/font/iconfont.js +1 -0
  199. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/font/iconfont.json +2025 -0
  200. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/font/iconfont.ttf +0 -0
  201. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/font/iconfont.woff +0 -0
  202. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/font/iconfont.woff2 +0 -0
  203. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/index-loading.png +0 -0
  204. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/loading_1.png +0 -0
  205. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/loading_2.png +0 -0
  206. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/loading_3.png +0 -0
  207. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/loading_4.png +0 -0
  208. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/logo.png +0 -0
  209. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/noPermission.png +0 -0
  210. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/noPermission1.png +0 -0
  211. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/refresh.png +0 -0
  212. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/scene_current.svg +36 -0
  213. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/scene_equip.svg +30 -0
  214. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/scene_safe.svg +29 -0
  215. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/scene_zonghe.svg +28 -0
  216. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/snapshot_alarm.svg +13 -0
  217. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/snapshot_info.svg +15 -0
  218. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/snapshot_setup.svg +15 -0
  219. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/snapshot_warning.svg +15 -0
  220. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/snapshot_zichan.svg +15 -0
  221. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/ts.svg +29 -0
  222. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/axios.min.js +2 -0
  223. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/base/MFEManager.js +70 -0
  224. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/echarts.min.js +45 -0
  225. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/enc-base64-min.js +88 -0
  226. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/hmac-sha256.js +18 -0
  227. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/jsencrypt.min.js +2 -0
  228. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/signalr.min.js +17 -0
  229. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/transformpcm.worker.js +58 -0
  230. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue2/elementUI.min.js +1 -0
  231. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue2/injectCss.js +12 -0
  232. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue2/vue-i18n.min.js +6 -0
  233. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue2/vue-router.min.js +11 -0
  234. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue2/vue.min.js +11 -0
  235. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue2/vuex.min.js +6 -0
  236. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue3/ElementPlusAdapter.iife.js +628 -0
  237. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue3/elementPlus.min.js +73 -0
  238. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue3/gw_app_api.iife.js +4024 -0
  239. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue3/vue-i18n.min.js +6 -0
  240. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue3/vue-router.min.js +6 -0
  241. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue3/vue.min.js +1 -0
  242. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue3/vuex.min.js +6 -0
  243. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/json/autoPlay.json +187 -0
  244. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/json/commandConfig.json +10 -0
  245. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/json/config.json +32 -0
  246. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/json/modules.json +93 -0
  247. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/json/player.json +6 -0
  248. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/json/ppt.json +6 -0
  249. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/json/scene.json +72 -0
  250. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/json/welcome.json +8 -0
  251. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/language/en-US/frame.json +30 -0
  252. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/language/en-US/publics.json +73 -0
  253. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/language/zh-CN/frame.json +30 -0
  254. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/language/zh-CN/publics.json +73 -0
  255. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/language/zh-HK/frame.json +30 -0
  256. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/language/zh-HK/publics.json +73 -0
  257. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/themes/dark-6.1.css +325 -0
  258. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/themes/dark.css +84 -0
  259. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/themes/default-theme.js +43 -0
  260. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/themes/light-6.1.css +333 -0
  261. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/themes/light.css +85 -0
  262. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/App.vue +256 -0
  263. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/NavigationBar/components/NavBarItem.vue +28 -0
  264. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/NavigationBar/components/NavBarItemBack.vue +18 -0
  265. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/NavigationBar/components/NavBarItemCommon.vue +13 -0
  266. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/NavigationBar/components/NavBarItemLogo.vue +33 -0
  267. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/NavigationBar/index.vue +66 -0
  268. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/NavigationBar/models/index.ts +10 -0
  269. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/appFrame/appFrame.vue +119 -0
  270. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/appFrame/bottom.vue +76 -0
  271. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/appFrame/css/bottom.scss +54 -0
  272. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/appFrame/css/top.scss +44 -0
  273. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/appFrame/js/useGestrue.ts +22 -0
  274. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/appFrame/top.vue +93 -0
  275. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/loading/index.vue +71 -0
  276. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/qrcodeReader/qrcodeReader.vue +328 -0
  277. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/vue-qrcode-reader/src/components/QrcodeCapture.vue +54 -0
  278. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/vue-qrcode-reader/src/components/QrcodeDropZone.vue +42 -0
  279. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/vue-qrcode-reader/src/components/QrcodeStream.vue +327 -0
  280. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/vue-qrcode-reader/src/index.js +32 -0
  281. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/vue-qrcode-reader/src/misc/camera.js +153 -0
  282. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/vue-qrcode-reader/src/misc/errors.js +25 -0
  283. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/vue-qrcode-reader/src/misc/scanner.js +114 -0
  284. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/vue-qrcode-reader/src/misc/shimGetUserMedia.js +30 -0
  285. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/vue-qrcode-reader/src/misc/util.js +16 -0
  286. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/vue-qrcode-reader/src/mixins/CommonAPI.vue +27 -0
  287. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/enums/index.ts +19 -0
  288. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/hostMap.ts +8 -0
  289. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/main.ts +27 -0
  290. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/models/index.ts +81 -0
  291. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/request/api/Auth.ts +80 -0
  292. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/request/api.ts +5 -0
  293. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/router.ts +134 -0
  294. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/store.js +192 -0
  295. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/types.js +16 -0
  296. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/utils/MFEManager.ts +141 -0
  297. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/utils/URLSearchParams.ts +149 -0
  298. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/utils/defineWindowAttr.ts +4 -0
  299. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/utils/eventBus.ts +6 -0
  300. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/views/EditPassword/index.vue +142 -0
  301. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/views/ganwei-app-jump/src/index.vue +174 -0
  302. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/views/ganwei-app-jump/src/lifecycles.js +29 -0
  303. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/views/index/Index.vue +113 -0
  304. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/views/index/getSystemInfo.ts +35 -0
  305. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/views/index/useEventBus.ts +93 -0
  306. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/views/index/useInitMenus.ts +47 -0
  307. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/views/index/useKeepAlive.ts +35 -0
  308. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/views/index/useNavigationBar.ts +94 -0
  309. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/views/index/usePush.ts +62 -0
  310. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/views/index/useScan.ts +36 -0
  311. package/ganwei-app-6.2.1/packages/ganwei-app-index/stats.html +4975 -0
  312. package/ganwei-app-6.2.1/packages/ganwei-app-index/tsconfig.json +58 -0
  313. package/ganwei-app-6.2.1/packages/ganwei-app-index/types/gw-app-public.d.ts +4 -0
  314. package/ganwei-app-6.2.1/packages/ganwei-app-index/vite.base.config.ts +233 -0
  315. package/ganwei-app-6.2.1/packages/ganwei-app-index/vite.config.ts +51 -0
  316. package/ganwei-app-6.2.1/packages/ganwei-app-login/.babelrc +4 -0
  317. package/ganwei-app-6.2.1/packages/ganwei-app-login/.editorconfig +22 -0
  318. package/ganwei-app-6.2.1/packages/ganwei-app-login/.env.development +23 -0
  319. package/ganwei-app-6.2.1/packages/ganwei-app-login/.env.production +29 -0
  320. package/ganwei-app-6.2.1/packages/ganwei-app-login/.env.test +22 -0
  321. package/ganwei-app-6.2.1/packages/ganwei-app-login/.eslintignore +13 -0
  322. package/ganwei-app-6.2.1/packages/ganwei-app-login/.eslintrc.cjs +178 -0
  323. package/ganwei-app-6.2.1/packages/ganwei-app-login/.prettierignore +13 -0
  324. package/ganwei-app-6.2.1/packages/ganwei-app-login/.prettierrc.cjs +37 -0
  325. package/ganwei-app-6.2.1/packages/ganwei-app-login/.stylelintrc.cjs +16 -0
  326. package/ganwei-app-6.2.1/packages/ganwei-app-login/auto-imports.d.ts +5 -0
  327. package/ganwei-app-6.2.1/packages/ganwei-app-login/env.d.ts +67 -0
  328. package/ganwei-app-6.2.1/packages/ganwei-app-login/index.html +20 -0
  329. package/ganwei-app-6.2.1/packages/ganwei-app-login/package.json +79 -0
  330. package/ganwei-app-6.2.1/packages/ganwei-app-login/public/static/language/en-US/login.json +48 -0
  331. package/ganwei-app-6.2.1/packages/ganwei-app-login/public/static/language/zh-CN/login.json +48 -0
  332. package/ganwei-app-6.2.1/packages/ganwei-app-login/public/static/language/zh-HK/login.json +48 -0
  333. package/ganwei-app-6.2.1/packages/ganwei-app-login/src/App.vue +225 -0
  334. package/ganwei-app-6.2.1/packages/ganwei-app-login/src/assets/images/bg.png +0 -0
  335. package/ganwei-app-6.2.1/packages/ganwei-app-login/src/assets/images/logo.png +0 -0
  336. package/ganwei-app-6.2.1/packages/ganwei-app-login/src/assets/images/refresh.png +0 -0
  337. package/ganwei-app-6.2.1/packages/ganwei-app-login/src/components/app-drag/index.vue +183 -0
  338. package/ganwei-app-6.2.1/packages/ganwei-app-login/src/hostMap.ts +11 -0
  339. package/ganwei-app-6.2.1/packages/ganwei-app-login/src/main.ts +19 -0
  340. package/ganwei-app-6.2.1/packages/ganwei-app-login/src/models/index.ts +48 -0
  341. package/ganwei-app-6.2.1/packages/ganwei-app-login/src/request/api/Auth.ts +27 -0
  342. package/ganwei-app-6.2.1/packages/ganwei-app-login/src/request/api.ts +5 -0
  343. package/ganwei-app-6.2.1/packages/ganwei-app-login/src/router.ts +30 -0
  344. package/ganwei-app-6.2.1/packages/ganwei-app-login/src/views/login/Login.vue +99 -0
  345. package/ganwei-app-6.2.1/packages/ganwei-app-login/src/views/login/css/login.scss +78 -0
  346. package/ganwei-app-6.2.1/packages/ganwei-app-login/src/views/login/js/useLogin.ts +73 -0
  347. package/ganwei-app-6.2.1/packages/ganwei-app-login/src/views/login/js/useRememberPassword.ts +48 -0
  348. package/ganwei-app-6.2.1/packages/ganwei-app-login/stats.html +4975 -0
  349. package/ganwei-app-6.2.1/packages/ganwei-app-login/tsconfig.json +56 -0
  350. package/ganwei-app-6.2.1/packages/ganwei-app-login/types/gw-app-public.d.ts +4 -0
  351. package/ganwei-app-6.2.1/packages/ganwei-app-login/vite.base.config.ts +233 -0
  352. package/ganwei-app-6.2.1/packages/ganwei-app-login/vite.config.ts +51 -0
  353. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/.babelrc +4 -0
  354. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/.editorconfig +22 -0
  355. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/.env.development +23 -0
  356. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/.env.production +29 -0
  357. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/.env.test +22 -0
  358. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/.eslintignore +13 -0
  359. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/.eslintrc.cjs +178 -0
  360. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/.prettierignore +13 -0
  361. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/.prettierrc.cjs +37 -0
  362. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/.stylelintrc.cjs +17 -0
  363. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/auto-imports.d.ts +5 -0
  364. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/env.d.ts +21 -0
  365. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/index.html +20 -0
  366. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/package.json +85 -0
  367. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/public/static/language/en-US/setPage.json +25 -0
  368. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/public/static/language/zh-CN/setPage.json +25 -0
  369. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/public/static/language/zh-HK/setPage.json +25 -0
  370. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/App.vue +202 -0
  371. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/assets/images/logo.png +0 -0
  372. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/components/buttonModeSelect/index.vue +190 -0
  373. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/hostMap.ts +11 -0
  374. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/main.ts +24 -0
  375. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/models/index.ts +0 -0
  376. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/request/api/Auth.ts +21 -0
  377. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/request/api.ts +5 -0
  378. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/router.ts +29 -0
  379. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/store.js +189 -0
  380. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/types.js +16 -0
  381. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/views/ganwei-app-setPage/src/js/useChangeLanguage.ts +19 -0
  382. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/views/ganwei-app-setPage/src/js/useChangeTheme.ts +16 -0
  383. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/views/ganwei-app-setPage/src/js/useClearCache.ts +26 -0
  384. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/views/ganwei-app-setPage/src/js/useJavaFunc.ts +146 -0
  385. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/views/ganwei-app-setPage/src/js/useLogout.ts +52 -0
  386. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/views/ganwei-app-setPage/src/setPage.vue +120 -0
  387. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/stats.html +4975 -0
  388. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/tsconfig.json +58 -0
  389. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/types/gw-app-public.d.ts +4 -0
  390. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/vite.base.config.ts +233 -0
  391. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/vite.config.ts +49 -0
  392. package/ganwei-app-6.2.1/packages/ganwei-app-template/.babelrc +4 -0
  393. package/ganwei-app-6.2.1/packages/ganwei-app-template/.editorconfig +22 -0
  394. package/ganwei-app-6.2.1/packages/ganwei-app-template/.env.development +23 -0
  395. package/ganwei-app-6.2.1/packages/ganwei-app-template/.env.production +29 -0
  396. package/ganwei-app-6.2.1/packages/ganwei-app-template/.env.test +22 -0
  397. package/ganwei-app-6.2.1/packages/ganwei-app-template/.eslintignore +13 -0
  398. package/ganwei-app-6.2.1/packages/ganwei-app-template/.eslintrc.cjs +178 -0
  399. package/ganwei-app-6.2.1/packages/ganwei-app-template/.prettierignore +13 -0
  400. package/ganwei-app-6.2.1/packages/ganwei-app-template/.prettierrc.cjs +37 -0
  401. package/ganwei-app-6.2.1/packages/ganwei-app-template/auto-imports.d.ts +5 -0
  402. package/ganwei-app-6.2.1/packages/ganwei-app-template/components.d.ts +14 -0
  403. package/ganwei-app-6.2.1/packages/ganwei-app-template/env.d.ts +7 -0
  404. package/ganwei-app-6.2.1/packages/ganwei-app-template/index.html +18 -0
  405. package/ganwei-app-6.2.1/packages/ganwei-app-template/package.json +77 -0
  406. package/ganwei-app-6.2.1/packages/ganwei-app-template/public/static/language/en-US/template.json +3 -0
  407. package/ganwei-app-6.2.1/packages/ganwei-app-template/public/static/language/zh-CN/template.json +3 -0
  408. package/ganwei-app-6.2.1/packages/ganwei-app-template/public/static/language/zh-HK/template.json +3 -0
  409. package/ganwei-app-6.2.1/packages/ganwei-app-template/src/App.vue +202 -0
  410. package/ganwei-app-6.2.1/packages/ganwei-app-template/src/assets/images/logo.png +0 -0
  411. package/ganwei-app-6.2.1/packages/ganwei-app-template/src/components/buttonModeSelect/index.vue +190 -0
  412. package/ganwei-app-6.2.1/packages/ganwei-app-template/src/hostMap.ts +11 -0
  413. package/ganwei-app-6.2.1/packages/ganwei-app-template/src/main.ts +24 -0
  414. package/ganwei-app-6.2.1/packages/ganwei-app-template/src/models/index.ts +0 -0
  415. package/ganwei-app-6.2.1/packages/ganwei-app-template/src/request/api/Auth.ts +21 -0
  416. package/ganwei-app-6.2.1/packages/ganwei-app-template/src/request/api.ts +5 -0
  417. package/ganwei-app-6.2.1/packages/ganwei-app-template/src/router.ts +29 -0
  418. package/ganwei-app-6.2.1/packages/ganwei-app-template/src/store.js +189 -0
  419. package/ganwei-app-6.2.1/packages/ganwei-app-template/src/types.js +16 -0
  420. package/ganwei-app-6.2.1/packages/ganwei-app-template/src/views/ganwei-app-template/src/template.vue +22 -0
  421. package/ganwei-app-6.2.1/packages/ganwei-app-template/tsconfig.json +58 -0
  422. package/ganwei-app-6.2.1/packages/ganwei-app-template/types/gw-app-public.d.ts +4 -0
  423. package/ganwei-app-6.2.1/packages/ganwei-app-template/vite.base.config.js +246 -0
  424. package/ganwei-app-6.2.1/packages/ganwei-app-template/vite.config.ts +44 -0
  425. package/ganwei-app-6.2.1/pnpm-lock.yaml +8810 -0
  426. package/ganwei-app-6.2.1/pnpm-workspace.yaml +3 -0
  427. package/ganwei-iotcenter-index-6.2.1/.nvmrc +1 -0
  428. package/ganwei-iotcenter-index-6.2.1/configuration/cleanNodeModule.js +18 -0
  429. package/ganwei-iotcenter-index-6.2.1/configuration/gitClone.js +45 -0
  430. package/ganwei-iotcenter-index-6.2.1/configuration/moduleConfiguration.json +20 -0
  431. package/ganwei-iotcenter-index-6.2.1/configuration/updateModule.cjs +30 -0
  432. package/ganwei-iotcenter-index-6.2.1/init.cjs +30 -0
  433. package/ganwei-iotcenter-index-6.2.1/package.json +41 -0
  434. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/.babelrc +4 -0
  435. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/.editorconfig +22 -0
  436. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/.env.development +22 -0
  437. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/.env.production +22 -0
  438. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/.env.test +22 -0
  439. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/.eslintignore +13 -0
  440. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/.eslintrc.cjs +176 -0
  441. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/.prettierignore +13 -0
  442. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/.prettierrc.cjs +19 -0
  443. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/auto-imports.d.ts +5 -0
  444. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/build/enteryJson.js +9 -0
  445. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/build/vite-addInfo-html.ts +38 -0
  446. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/build/vite-plugin-stats-html.js +595 -0
  447. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/components.d.ts +87 -0
  448. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/env.d.ts +7 -0
  449. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/index.html +31 -0
  450. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/package.json +89 -0
  451. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/css/element-plus/css-vars.css +1 -0
  452. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/css/element-plus/index.css +16959 -0
  453. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/css/element-ui/index.css +16075 -0
  454. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/css/equipStatus.css +70 -0
  455. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/css/index.css +15926 -0
  456. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/css/reset-6-1.css +155 -0
  457. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.css +1135 -0
  458. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.js +1 -0
  459. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.json +1969 -0
  460. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.ttf +0 -0
  461. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.woff +0 -0
  462. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.woff2 +0 -0
  463. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/element-icons.ttf +0 -0
  464. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/element-icons.woff +0 -0
  465. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.css +3779 -0
  466. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.js +1 -0
  467. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.json +6596 -0
  468. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.ttf +0 -0
  469. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.woff +0 -0
  470. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.woff2 +0 -0
  471. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/http/createAxios.js +486 -0
  472. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/head-background.png +0 -0
  473. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-alarmIcon-dark.svg +48 -0
  474. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-alarmIcon-green.svg +42 -0
  475. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-alarmIcon-light.svg +26 -0
  476. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-dark.svg +20 -0
  477. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-green.svg +20 -0
  478. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-light.svg +14 -0
  479. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-dark.svg +22 -0
  480. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-green.svg +16 -0
  481. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-light.svg +16 -0
  482. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-contentfull.svg +22 -0
  483. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-dark.svg +19 -0
  484. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-green.svg +14 -0
  485. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-light.svg +12 -0
  486. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen.svg +19 -0
  487. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-loading.png +0 -0
  488. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-dark.svg +67 -0
  489. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-green.svg +67 -0
  490. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-light.svg +67 -0
  491. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-small.png +0 -0
  492. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-logo-src.svg +67 -0
  493. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-nopage-dark.png +0 -0
  494. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-nopage-green.png +0 -0
  495. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-nopage-light.png +0 -0
  496. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-normalIcon-dark.svg +32 -0
  497. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-normalIcon-green.svg +32 -0
  498. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-normalIcon-light.svg +9 -0
  499. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-skin-dark.svg +22 -0
  500. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-skin-green.svg +22 -0
  501. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-skin-light.svg +15 -0
  502. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-skin.svg +22 -0
  503. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-dark.svg +18 -0
  504. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-green.svg +18 -0
  505. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-light.svg +18 -0
  506. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping.svg +18 -0
  507. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-upgrade.svg +18 -0
  508. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-user-dark.svg +22 -0
  509. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-user-green.svg +27 -0
  510. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-user-light.svg +22 -0
  511. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-user.svg +26 -0
  512. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-dark.svg +37 -0
  513. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-green.svg +37 -0
  514. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-light.svg +15 -0
  515. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/login-bg-img.png +0 -0
  516. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/logo.png +0 -0
  517. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/menu-background.png +0 -0
  518. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/renew-message-dark.svg +1 -0
  519. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/renew-message-green.svg +1 -0
  520. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/renew-message-light.svg +1 -0
  521. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/right-close.png +0 -0
  522. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/right-open.png +0 -0
  523. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-fullscreen.png +0 -0
  524. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-guzhang.png +0 -0
  525. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-jinggao.png +0 -0
  526. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-shezhi.png +0 -0
  527. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-xinxi.png +0 -0
  528. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-zichan.png +0 -0
  529. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/unread-message-dark.svg +19 -0
  530. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/unread-message-green.svg +22 -0
  531. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/unread-message-light.svg +17 -0
  532. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/webconfig-location.svg +17 -0
  533. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/axios.min.js +2 -0
  534. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/echarts.min.js +25 -0
  535. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/element-ui/index.js +1 -0
  536. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/element-ui/index.js.gz +0 -0
  537. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/enc-base64-min.js +86 -0
  538. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/filereader.js +455 -0
  539. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/font.js +56 -0
  540. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/getConfigInfoData.js +57 -0
  541. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/getLanguage.js +144 -0
  542. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/getLanguageOptions.js +52 -0
  543. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/getUserPermissionList.js +55 -0
  544. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/h5player.min.js +311 -0
  545. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/hmac-sha256.js +18 -0
  546. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/jquery.slim.min.js +2 -0
  547. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/jsencrypt.min.js +2 -0
  548. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/jszip.min.js +14 -0
  549. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/liveplayer-lib.min.js +1 -0
  550. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/moment.js +5670 -0
  551. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/pptxjs.min.js +14105 -0
  552. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/signalr.min.js +17 -0
  553. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/tXml.js +244 -0
  554. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/transformpcm.worker.js +58 -0
  555. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/vue-i18n.min.js +6 -0
  556. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/vue-router.min.js +11 -0
  557. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/vue.min.js +11 -0
  558. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/vuex.min.js +6 -0
  559. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/json/RAMScope.json +201 -0
  560. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/json/config.json +158 -0
  561. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/json/snapshot.json +34 -0
  562. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/lib/treeV2/treeV2.css +246 -0
  563. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/lib/treeV2/treeV2.js +5384 -0
  564. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/themes/dark-6-1.css +430 -0
  565. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/themes/dark.css +426 -0
  566. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/themes/default-theme-6-1.js +48 -0
  567. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/themes/default-theme.js +53 -0
  568. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/themes/green-6-1.css +357 -0
  569. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/themes/light-6-1.css +424 -0
  570. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/themes/light.css +414 -0
  571. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/themes/themeConfig.json +42 -0
  572. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/App.vue +52 -0
  573. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/assets/plugins/encrypt.js +122 -0
  574. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/auto-import.d.ts +61 -0
  575. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/asideMenu/contractMenu.vue +216 -0
  576. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/asideMenu/menu.vue +238 -0
  577. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/asideMenu/topNav.vue +238 -0
  578. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/contextMenu/index.js +42 -0
  579. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/contextMenu/index.vue +113 -0
  580. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexLeftContent/index.js +204 -0
  581. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexLeftContent/index.scss +258 -0
  582. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexLeftContent/index.vue +112 -0
  583. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/appPreview/images/appconnect.jpg +0 -0
  584. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/appPreview/index.vue +282 -0
  585. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/contentFullScreen/index.js +19 -0
  586. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/contentFullScreen/index.vue +10 -0
  587. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/fullScreen/index.js +50 -0
  588. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/fullScreen/index.vue +10 -0
  589. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/index.js +28 -0
  590. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/index.scss +137 -0
  591. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/index.vue +20 -0
  592. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/ApprovalDialog.vue +147 -0
  593. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.js +327 -0
  594. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.scss +253 -0
  595. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.vue +61 -0
  596. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/RenewDialog.vue +97 -0
  597. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/index.js +95 -0
  598. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/index.scss +0 -0
  599. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/index.vue +8 -0
  600. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/renew.vue +271 -0
  601. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.js +45 -0
  602. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.scss +36 -0
  603. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.vue +22 -0
  604. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.js +70 -0
  605. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.scss +94 -0
  606. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.vue +35 -0
  607. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/unReadMessages/index.js +146 -0
  608. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/unReadMessages/index.scss +0 -0
  609. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/unReadMessages/index.vue +8 -0
  610. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.js +81 -0
  611. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.scss +147 -0
  612. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.vue +30 -0
  613. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/forceEdit.js +78 -0
  614. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.js +265 -0
  615. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.scss +5 -0
  616. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.vue +39 -0
  617. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.js +94 -0
  618. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.scss +113 -0
  619. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.vue +90 -0
  620. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/logoutDialog/index.js +68 -0
  621. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/logoutDialog/index.vue +16 -0
  622. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.js +178 -0
  623. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.scss +16 -0
  624. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.vue +46 -0
  625. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/safeModeDialog/index.vue +195 -0
  626. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.js +70 -0
  627. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.scss +95 -0
  628. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.vue +35 -0
  629. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.js +240 -0
  630. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.scss +158 -0
  631. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.vue +50 -0
  632. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.js +63 -0
  633. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.scss +40 -0
  634. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.vue +20 -0
  635. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/labelPage/index.js +398 -0
  636. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/labelPage/index.scss +136 -0
  637. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/labelPage/index.vue +36 -0
  638. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.js +34 -0
  639. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.scss +44 -0
  640. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.vue +21 -0
  641. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/inputPassword/index.vue +65 -0
  642. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/isDebug/isDebug.vue +50 -0
  643. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/isDebug/warning.png +0 -0
  644. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/noAccess/noAccess.vue +78 -0
  645. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/noAccess/noPage.vue +68 -0
  646. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/sceneMonitor/index.js +95 -0
  647. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/toast/index.js +65 -0
  648. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/toast/index.vue +136 -0
  649. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/unreadMsg/listItem.vue +36 -0
  650. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/unreadMsg/unread.vue +300 -0
  651. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/hostMap.js +13 -0
  652. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/main.js +50 -0
  653. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/mixins/judgePermission.js +29 -0
  654. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/publish/pub.ts +28 -0
  655. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/request/api/frame.js +142 -0
  656. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/request/api.js +14 -0
  657. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/router.js +34 -0
  658. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/store.js +221 -0
  659. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/types.js +16 -0
  660. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/utils/MFEManager.js +156 -0
  661. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/utils/gwEquipCache.js +325 -0
  662. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/utils/gwSignalr.js +66 -0
  663. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/utils/historyExport.js +158 -0
  664. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/utils/setStorage.js +5 -0
  665. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/views/Index.vue +81 -0
  666. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/views/index.js +294 -0
  667. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/views/jumpIframe/index.vue +242 -0
  668. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/views/jumpIframe/preloadMethod.js +54 -0
  669. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/views/jumpIframe/queryParser.js +47 -0
  670. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/tsconfig.json +57 -0
  671. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/vite.config.ts +270 -0
  672. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/.babelrc +8 -0
  673. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/.editorconfig +22 -0
  674. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/.env.development +22 -0
  675. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/.env.production +22 -0
  676. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/.env.test +22 -0
  677. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/.eslintignore +13 -0
  678. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/.eslintrc.cjs +162 -0
  679. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/.prettierignore +13 -0
  680. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/.prettierrc.cjs +37 -0
  681. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/auto-imports.d.ts +5 -0
  682. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/build/enteryJson.js +72 -0
  683. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/build/vite-addInfo-html.ts +38 -0
  684. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/build/vite-plugin-stats-html.js +595 -0
  685. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/env.d.ts +7 -0
  686. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/index.html +34 -0
  687. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/package.json +84 -0
  688. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/css/drag.css +140 -0
  689. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/css/element-plus/css-vars.css +1 -0
  690. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/css/element-plus/index.css +16957 -0
  691. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/css/element-ui/index.css +16075 -0
  692. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/css/element-ui/reset.css +1471 -0
  693. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/css/index.css +15926 -0
  694. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/css/reset-6-1.css +114 -0
  695. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.css +1135 -0
  696. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.js +1 -0
  697. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.json +1969 -0
  698. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.ttf +0 -0
  699. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.woff +0 -0
  700. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.woff2 +0 -0
  701. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/element-icons.ttf +0 -0
  702. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/element-icons.woff +0 -0
  703. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.css +4151 -0
  704. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.js +1 -0
  705. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.json +7247 -0
  706. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.ttf +0 -0
  707. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.woff +0 -0
  708. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.woff2 +0 -0
  709. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/http/createAxios.js +316 -0
  710. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/center.svg +23 -0
  711. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/centerActive.svg +24 -0
  712. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/center_light.svg +15 -0
  713. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/index-loading.png +0 -0
  714. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-dark.svg +67 -0
  715. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-green.svg +67 -0
  716. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-light.svg +67 -0
  717. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-small.png +0 -0
  718. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/index-logo-src.svg +67 -0
  719. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/left.svg +23 -0
  720. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/leftActive.svg +24 -0
  721. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/left_light.svg +15 -0
  722. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/login-bg-img.png +0 -0
  723. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/login-drag-start.png +0 -0
  724. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/login-drag-stop.png +0 -0
  725. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/logo.png +0 -0
  726. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/refresh.png +0 -0
  727. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/right.svg +23 -0
  728. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/rightActive.svg +24 -0
  729. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/right_light.svg +15 -0
  730. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/js/axios.min.js +3 -0
  731. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/js/drag.js +391 -0
  732. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/js/font.js +57 -0
  733. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/js/getConfigInfoData.js +57 -0
  734. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/js/getLanguage.js +143 -0
  735. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/js/getLanguageOptions.js +52 -0
  736. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/js/jquery.min.js +10716 -0
  737. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/themes/dark-6-1.css +430 -0
  738. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/themes/dark.css +426 -0
  739. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/themes/default-theme-6-1.js +46 -0
  740. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/themes/default-theme.js +53 -0
  741. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/themes/green-6-1.css +336 -0
  742. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/themes/light-6-1.css +424 -0
  743. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/themes/light.css +414 -0
  744. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/themes/themeConfig.json +42 -0
  745. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/App.vue +70 -0
  746. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/alertHandle.scss +22 -0
  747. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/browserScroll.scss +5 -0
  748. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/btnHandle.scss +36 -0
  749. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/containerHandle.scss +402 -0
  750. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/dialogStyle.scss +43 -0
  751. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/equipStatus.scss +88 -0
  752. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/index.scss +1358 -0
  753. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/inputStyle.scss +16 -0
  754. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/listHandle.scss +113 -0
  755. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/login.scss +355 -0
  756. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/mainInfo.scss +297 -0
  757. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/maintenanceInfo.scss +199 -0
  758. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/style.css +921 -0
  759. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/tableHandle.scss +147 -0
  760. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/txtHandle.scss +39 -0
  761. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/images/login-bg-img.png +0 -0
  762. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/images/login-sso-error.png +0 -0
  763. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/images/logo-bg.png +0 -0
  764. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/plugins/encrypt.js +122 -0
  765. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/components/declaration/declaration.scss +118 -0
  766. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/components/declaration/declaration.vue +109 -0
  767. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/components/declaration/declarationPacts.vue +42 -0
  768. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/components/passwordModification/checkEmailContainer.vue +134 -0
  769. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/components/passwordModification/inputEmailContainer.vue +128 -0
  770. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/components/passwordModification/modifyPasswordContainer.vue +138 -0
  771. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/components/passwordModification/passwordModification - /345/211/257/346/234/254.vue" +4 -0
  772. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/components/passwordModification/passwordModification.vue +223 -0
  773. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/directive/loadMore/loadMore.js +14 -0
  774. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/hostMap.js +18 -0
  775. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/main.js +39 -0
  776. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/mixins/setDefaultLanguage.js +87 -0
  777. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/request/api/login.js +95 -0
  778. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/request/api.js +13 -0
  779. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/router.js +48 -0
  780. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/types.js +16 -0
  781. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/utils/formValidate.js +25 -0
  782. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/utils/isApp.js +18 -0
  783. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/utils/language.js +45 -0
  784. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/utils/myUtils.js +646 -0
  785. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/utils/timeFormat.js +23 -0
  786. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/utils/timesYMDHMS.js +27 -0
  787. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/views/js/mainInfo.js +374 -0
  788. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/views/js/maintenanceInfo.js +202 -0
  789. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/views/login.vue +458 -0
  790. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/views/ssoLogin.vue +230 -0
  791. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/views/ssoLogout.vue +58 -0
  792. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/vite.config.ts +237 -0
  793. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/.babelrc +8 -0
  794. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/.editorconfig +22 -0
  795. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/.env.development +22 -0
  796. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/.env.production +22 -0
  797. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/.env.test +22 -0
  798. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/.eslintignore +13 -0
  799. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/.eslintrc.cjs +162 -0
  800. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/.prettierignore +13 -0
  801. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/.prettierrc.cjs +37 -0
  802. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/auto-imports.d.ts +5 -0
  803. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/build/enteryJson.js +64 -0
  804. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/build/vite-addInfo-html.js +15 -0
  805. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/build/vite-addInfo-html.ts +38 -0
  806. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/build/vite-plugin-stats-html +14 -0
  807. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/build/vite-plugin-stats-html.js +595 -0
  808. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/env.d.ts +7 -0
  809. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/index.html +25 -0
  810. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/package.json +94 -0
  811. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/css/element-plus/css-vars.css +1 -0
  812. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/css/element-plus/index.css +16957 -0
  813. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/css/reset-6-1.css +114 -0
  814. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.css +1135 -0
  815. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.js +1 -0
  816. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.json +1969 -0
  817. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.ttf +0 -0
  818. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.woff +0 -0
  819. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.woff2 +0 -0
  820. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/element-icons.ttf +0 -0
  821. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/element-icons.woff +0 -0
  822. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.css +3535 -0
  823. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.js +1 -0
  824. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.json +6169 -0
  825. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.ttf +0 -0
  826. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.woff +0 -0
  827. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.woff2 +0 -0
  828. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/http/createAxios.js +372 -0
  829. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/images/index-loading.png +0 -0
  830. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/js/axios.min.js +3 -0
  831. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/js/font.js +58 -0
  832. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/js/getConfigInfoData.js +58 -0
  833. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/js/getLanguage.js +142 -0
  834. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/js/getLanguageOptions.js +51 -0
  835. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/themes/dark-6-1.css +430 -0
  836. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/themes/default-theme-6-1.js +48 -0
  837. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/themes/light-6-1.css +424 -0
  838. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/themes/themeConfig.json +42 -0
  839. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/src/App.vue +41 -0
  840. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/src/assets/images/template.jpg +0 -0
  841. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/src/hostMap.js +14 -0
  842. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/src/main.js +39 -0
  843. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/src/request/api/template.js +11 -0
  844. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/src/request/api.js +9 -0
  845. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/src/router.js +23 -0
  846. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/src/utils/setStorage.js +5 -0
  847. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/src/views/template.vue +1008 -0
  848. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/tsconfig.json +21 -0
  849. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/tsconfig.node.json +10 -0
  850. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/vite.config.ts +240 -0
  851. package/ganwei-iotcenter-index-6.2.1/pnpm-workspace.yaml +3 -0
  852. package/package.json +3 -2
@@ -0,0 +1,327 @@
1
+ <template>
2
+ <div class="qrcode-stream-wrapper">
3
+ <!--
4
+ Note, the following DOM elements are not styled with z-index.
5
+ If z-index is not defined, elements are stacked in the order they appear in the DOM.
6
+ The first element is at the very bottom and subsequent elements are added on top.
7
+ -->
8
+ <video
9
+ ref="video"
10
+ :class="{ 'qrcode-stream-camera--hidden': !shouldScan }"
11
+ class="qrcode-stream-camera"
12
+ autoplay
13
+ muted
14
+ playsinline
15
+ ></video>
16
+
17
+ <canvas
18
+ ref="pauseFrame"
19
+ v-show="!shouldScan"
20
+ class="qrcode-stream-camera"
21
+ ></canvas>
22
+
23
+ <canvas ref="trackingLayer" class="qrcode-stream-overlay"></canvas>
24
+
25
+ <div class="qrcode-stream-overlay">
26
+ <slot></slot>
27
+ </div>
28
+ </div>
29
+ </template>
30
+
31
+ <script>
32
+ import Camera from '../misc/camera.js';
33
+ import { keepScanning } from '../misc/scanner.js';
34
+ import CommonAPI from '../mixins/CommonAPI.vue';
35
+
36
+ export default {
37
+ name: 'qrcode-stream',
38
+
39
+ mixins: [CommonAPI],
40
+
41
+ props: {
42
+ camera: {
43
+ type: String,
44
+ default: 'auto',
45
+
46
+ validator (camera) {
47
+ return ['auto', 'rear', 'front', 'off'].includes(camera);
48
+ }
49
+ },
50
+
51
+ torch: {
52
+ type: Boolean,
53
+ default: false
54
+ },
55
+
56
+ track: {
57
+ type: Function
58
+ }
59
+ },
60
+
61
+ data () {
62
+ return {
63
+ cameraInstance: null,
64
+ destroyed: false,
65
+ displayWidth: null,
66
+ displayHeight: null
67
+ };
68
+ },
69
+
70
+ computed: {
71
+ shouldStream () {
72
+ return this.destroyed === false && this.camera !== 'off';
73
+ },
74
+
75
+ shouldScan () {
76
+ return this.shouldStream === true && this.cameraInstance !== null;
77
+ },
78
+
79
+ /**
80
+ * Minimum delay in milliseconds between frames to be scanned. Don't scan
81
+ * so often when visual tracking is disabled to improve performance.
82
+ */
83
+ scanInterval () {
84
+ if (this.track === undefined) {
85
+ return 500;
86
+ }
87
+ return 40; // ~ 25fps
88
+
89
+ }
90
+ },
91
+
92
+ watch: {
93
+ shouldStream (shouldStream) {
94
+ if (!shouldStream) {
95
+ const canvas = this.$refs.pauseFrame;
96
+ const ctx = canvas.getContext('2d');
97
+ const video = this.$refs.video;
98
+
99
+ canvas.width = video.videoWidth;
100
+ canvas.height = video.videoHeight;
101
+
102
+ ctx.drawImage(video, 0, 0, video.videoWidth, video.videoHeight);
103
+ }
104
+ },
105
+
106
+ shouldScan (shouldScan) {
107
+ if (shouldScan) {
108
+ this.clearCanvas(this.$refs.pauseFrame);
109
+ this.clearCanvas(this.$refs.trackingLayer);
110
+ this.startScanning();
111
+ }
112
+ },
113
+
114
+ torch (val) {
115
+ this.cameraInstance.switchTorch(val);
116
+ // this.init();
117
+ },
118
+
119
+ camera () {
120
+ this.init();
121
+ }
122
+ },
123
+
124
+ mounted () {
125
+ this.init();
126
+ },
127
+
128
+ beforeUnmount () {
129
+ this.beforeResetCamera();
130
+ this.destroyed = true;
131
+ },
132
+
133
+ methods: {
134
+ init () {
135
+ const promise = (async () => {
136
+
137
+ this.beforeResetCamera();
138
+
139
+ if (this.camera === 'off') {
140
+ this.cameraInstance = null;
141
+
142
+ return {
143
+ capabilities: {}
144
+ };
145
+ }
146
+ this.cameraInstance = await Camera(this.$refs.video, {
147
+ camera: this.camera,
148
+ torch: this.torch
149
+ });
150
+
151
+ const capabilities = this.cameraInstance.getCapabilities();
152
+
153
+ // if the component is destroyed before `cameraInstance` resolves a
154
+ // `beforeDestroy` hook has no chance to clear the remaining camera
155
+ // stream.
156
+ if (this.destroyed) {
157
+ this.cameraInstance.stop();
158
+ }
159
+
160
+ return {
161
+ capabilities
162
+ };
163
+
164
+ })();
165
+
166
+ this.$emit('init', promise);
167
+ },
168
+
169
+ startScanning () {
170
+ const detectHandler = result => {
171
+ this.onDetect(Promise.resolve(result));
172
+ };
173
+
174
+ keepScanning(this.$refs.video, {
175
+ detectHandler,
176
+ locateHandler: this.onLocate,
177
+ minDelay: this.scanInterval
178
+ });
179
+ },
180
+
181
+ beforeResetCamera () {
182
+ if (this.cameraInstance !== null) {
183
+ this.cameraInstance.stop();
184
+ this.cameraInstance = null;
185
+ }
186
+ },
187
+
188
+ onLocate (detectedCodes) {
189
+ const canvas = this.$refs.trackingLayer;
190
+ const video = this.$refs.video;
191
+
192
+ if (canvas !== undefined) {
193
+ if (detectedCodes.length > 0 && this.track !== undefined && video !== undefined) {
194
+
195
+ // The visually occupied area of the video element.
196
+ // Because the component is responsive and fills the available space,
197
+ // this can be more or less than the actual resolution of the camera.
198
+ const displayWidth = this.displayWidth = video.offsetWidth;
199
+ const displayHeight = this.displayHeight = video.offsetHeight;
200
+
201
+ // The actual resolution of the camera.
202
+ // These values are fixed no matter the screen size.
203
+ const resolutionWidth = video.videoWidth;
204
+ const resolutionHeight = video.videoHeight;
205
+
206
+ // Dimensions of the video element as if there would be no
207
+ // object-fit: cover;
208
+ // Thus, the ratio is the same as the cameras resolution but it's
209
+ // scaled down to the size of the visually occupied area.
210
+ const largerRatio = Math.max(
211
+ displayWidth / resolutionWidth,
212
+ displayHeight / resolutionHeight
213
+ );
214
+ const uncutWidth = resolutionWidth * largerRatio;
215
+ const uncutHeight = resolutionHeight * largerRatio;
216
+
217
+ const xScalar = uncutWidth / resolutionWidth;
218
+ const yScalar = uncutHeight / resolutionHeight;
219
+ const xOffset = (displayWidth - uncutWidth) / 2;
220
+ const yOffset = (displayHeight - uncutHeight) / 2;
221
+
222
+ const scale = ({ x, y }) => {
223
+ return {
224
+ x: Math.floor(x * xScalar),
225
+ y: Math.floor(y * yScalar)
226
+ };
227
+ }
228
+
229
+ const translate = ({ x, y }) => {
230
+ return {
231
+ x: Math.floor(x + xOffset),
232
+ y: Math.floor(y + yOffset)
233
+ };
234
+ }
235
+
236
+ const adjustedCodes = detectedCodes.map(detectedCode => {
237
+ const { boundingBox, cornerPoints } = detectedCode
238
+
239
+ const { x, y } = translate(scale({
240
+ x: boundingBox.x,
241
+ y: boundingBox.y
242
+ }))
243
+ const { x: width, y: height } = scale({
244
+ x: boundingBox.width,
245
+ y: boundingBox.height
246
+ })
247
+
248
+ return {
249
+ ...detectedCode,
250
+ cornerPoints: cornerPoints.map(point => translate(scale(point))),
251
+ boundingBox: DOMRectReadOnly.fromRect({ x, y, width, height })
252
+ }
253
+ })
254
+
255
+ canvas.width = video.offsetWidth;
256
+ canvas.height = video.offsetHeight;
257
+
258
+ const ctx = canvas.getContext('2d');
259
+
260
+ this.track(adjustedCodes, ctx);
261
+ } else {
262
+ this.clearCanvas(canvas);
263
+ }
264
+ }
265
+ },
266
+
267
+ // repaintTrackingLayer (video, canvas) {
268
+ // const ctx = canvas.getContext('2d');
269
+
270
+ // window.requestAnimationFrame(() => {
271
+ // canvas.width = this.displayWidth;
272
+ // canvas.height = this.displayHeight;
273
+
274
+ // // this.trackRepaintFunction(coordinatesAdjusted, ctx);
275
+ // });
276
+ // },
277
+
278
+ clearCanvas (canvas) {
279
+ const ctx = canvas.getContext('2d');
280
+ ctx.clearRect(0, 0, canvas.width, canvas.height);
281
+ }
282
+
283
+ }
284
+ };
285
+ </script>
286
+
287
+ <style lang="css" scoped>
288
+ .qrcode-stream-wrapper {
289
+ position: relative;
290
+ z-index: 0;
291
+ width: 100%;
292
+ height: 100%;
293
+ }
294
+
295
+ .qrcode-stream-overlay {
296
+ position: absolute;
297
+ top: 0;
298
+ left: 0;
299
+
300
+ width: 100%;
301
+ height: 100%;
302
+ }
303
+
304
+ .qrcode-stream-camera {
305
+ display: block;
306
+ width: 100%;
307
+ height: 100%;
308
+ object-fit: cover;
309
+ }
310
+
311
+ /* When a camera stream is loaded, we assign the stream to the `video`
312
+ * element via `video.srcObject`. At this point the element used to be
313
+ * hidden with `v-show="false"` aka. `display: none`. We do that because
314
+ * at this point the videos dimensions are not known yet. We have to
315
+ * wait for the `loadeddata` event first. Only after that event we
316
+ * display the video element. Otherwise the elements size awkwardly flickers.
317
+ *
318
+ * However, it appears in iOS 15 all iOS browsers won't properly render
319
+ * the video element if the `video.srcObject` was assigned *while* the
320
+ * element was hidden with `display: none`. Using `visibility: hidden`
321
+ * instead seems to have fixed the problem though.
322
+ */
323
+ .qrcode-stream-camera--hidden {
324
+ position: absolute;
325
+ visibility: hidden;
326
+ }
327
+ </style>
@@ -0,0 +1,32 @@
1
+ import QrcodeCapture from './components/QrcodeCapture.vue';
2
+ import QrcodeDropZone from './components/QrcodeDropZone.vue';
3
+ import QrcodeStream from './components/QrcodeStream.vue';
4
+
5
+ // Install the components
6
+ export function install(Vue) {
7
+ Vue.component('qrcode-stream', QrcodeStream);
8
+ Vue.component('qrcode-capture', QrcodeCapture);
9
+ Vue.component('qrcode-drop-zone', QrcodeDropZone);
10
+ }
11
+
12
+ // Expose the components
13
+ export { QrcodeCapture, QrcodeDropZone, QrcodeStream };
14
+
15
+ /* -- Plugin definition & Auto-install -- */
16
+ /* You shouldn't have to modify the code below */
17
+
18
+ // Plugin
19
+ const plugin = { install };
20
+
21
+ export default plugin;
22
+
23
+ // Auto-install
24
+ let GlobalVue = null;
25
+ if (typeof window !== 'undefined') {
26
+ GlobalVue = window.Vue;
27
+ } else if (typeof global !== 'undefined') {
28
+ GlobalVue = global.Vue;
29
+ }
30
+ if (GlobalVue) {
31
+ GlobalVue.use(plugin);
32
+ }
@@ -0,0 +1,153 @@
1
+ import { eventOn } from 'callforth';
2
+
3
+ import { InsecureContextError, StreamApiNotSupportedError } from './errors.js';
4
+ // import shimGetUserMedia from './shimGetUserMedia';
5
+ const doubleQuest = (a, b) => {
6
+ return (a !== null && a !== undefined) ? a : b;
7
+ }
8
+ class Camera {
9
+ constructor(videoEl, stream) {
10
+ this.videoEl = videoEl;
11
+ this.stream = stream;
12
+ }
13
+
14
+ stop () {
15
+ this.videoEl.srcObject = null;
16
+
17
+ this.stream.getTracks().forEach(track => {
18
+ this.stream.removeTrack(track);
19
+ track.stop();
20
+ });
21
+ }
22
+
23
+ getCapabilities () {
24
+ const [track] = this.stream.getVideoTracks();
25
+
26
+ // Firefox does not yet support getCapabilities as of August 2020
27
+ let cap = (track && track.getCapabilities && track.getCapabilities())
28
+ return doubleQuest(cap, {});
29
+ }
30
+
31
+ switchTorch (val) {
32
+ const [track] = this.stream.getVideoTracks();
33
+ let cap = (track && track.getCapabilities && track.getCapabilities())
34
+ if (cap.torch) {
35
+ track.applyConstraints({ advanced: [{ torch: val }] });
36
+ } else {
37
+ console.warn('device does not support torch capability');
38
+ }
39
+ }
40
+ }
41
+
42
+ // Modern phones often have multipe front/rear cameras.
43
+ // Sometimes special purpose cameras like the wide-angle camera are picked
44
+ // by default. Those are not optimal for scanning QR codes but standard
45
+ // media constraints don't allow us to specify which camera we want exactly.
46
+ const narrowDownFacingMode = async camera => {
47
+
48
+ // Filter some devices, known to be bad choices.
49
+ const deviceBlackList = ['OBS Virtual Camera', 'OBS-Camera'];
50
+
51
+ const devices = (await navigator.mediaDevices.enumerateDevices())
52
+ .filter(({ kind }) => kind === 'videoinput')
53
+ .filter(({ label }) => !deviceBlackList.includes(label))
54
+ .filter(({ label }) => !label.includes('infrared'));
55
+
56
+ if (devices.length > 2) {
57
+
58
+ // Explicitly picking the first entry in the list of all videoinput
59
+ // devices for as the default front camera and the last entry as the default
60
+ // rear camera seems to be a good heuristic on some devices.
61
+ const frontCamera = devices[0];
62
+ const rearCamera = devices[devices.length - 1];
63
+
64
+ switch (camera) {
65
+ case 'auto':
66
+ return { deviceId: { exact: rearCamera.deviceId } };
67
+ case 'rear':
68
+ return { deviceId: { exact: rearCamera.deviceId } };
69
+ case 'front':
70
+ return { deviceId: { exact: frontCamera.deviceId } };
71
+ default:
72
+ return undefined;
73
+ }
74
+ } else {
75
+ switch (camera) {
76
+ case 'auto':
77
+ return { facingMode: { ideal: 'environment' } };
78
+ case 'rear':
79
+ return { facingMode: { exact: 'environment' } };
80
+ case 'front':
81
+ return { facingMode: { exact: 'user' } };
82
+ default:
83
+ return undefined;
84
+ }
85
+ }
86
+ };
87
+
88
+ export default async function (videoEl, { camera, torch }) {
89
+
90
+ // At least in Chrome `navigator.mediaDevices` is undefined when the page is
91
+ // loaded using HTTP rather than HTTPS. Thus `STREAM_API_NOT_SUPPORTED` is
92
+ // initialized with `false` although the API might actually be supported.
93
+ // So although `getUserMedia` already should have a built-in mechanism to
94
+ // detect insecure context (by throwing `NotAllowedError`), we have to do a
95
+ // manual check before even calling `getUserMedia`.
96
+ if (window.isSecureContext !== true) {
97
+ throw new InsecureContextError();
98
+ }
99
+
100
+ if ((navigator && navigator.mediaDevices && navigator.mediaDevices.getUserMedia) === undefined) {
101
+ throw new StreamApiNotSupportedError();
102
+ }
103
+
104
+ // This is a browser API only shim. It patches the global window object which
105
+ // is not available during SSR. So we lazily apply this shim at runtime.
106
+ // await shimGetUserMedia();
107
+ const constraints = {
108
+ audio: false,
109
+ video: {
110
+ width: { min: 360, ideal: 900, max: 1920 },
111
+ height: { min: 240, ideal: 450, max: 1080 },
112
+
113
+ ...(await narrowDownFacingMode(camera))
114
+ }
115
+ };
116
+ console.time('new Camera');
117
+ console.time('getUserMedia');
118
+ const stream = await navigator.mediaDevices.getUserMedia(constraints);
119
+ console.timeEnd('getUserMedia');
120
+
121
+ if (videoEl.srcObject !== undefined) {
122
+ videoEl.srcObject = stream;
123
+ } else if (videoEl.mozSrcObject !== undefined) {
124
+ videoEl.mozSrcObject = stream;
125
+ } else if (window.URL.createObjectURL) {
126
+ videoEl.src = window.URL.createObjectURL(stream);
127
+ } else if (window.webkitURL) {
128
+ videoEl.src = window.webkitURL.createObjectURL(stream);
129
+ } else {
130
+ videoEl.src = stream;
131
+ }
132
+
133
+ await eventOn(videoEl, 'loadeddata');
134
+
135
+ // According to: https://oberhofer.co/mediastreamtrack-and-its-capabilities/#queryingcapabilities
136
+ // On some devices, getCapabilities only returns a non-empty object after
137
+ // some delay. There is no appropriate event so we have to add a constant timeout
138
+ // await timeout(500);
139
+
140
+ if (torch) {
141
+ const [track] = stream.getVideoTracks();
142
+ const capabilities = track.getCapabilities();
143
+
144
+ if (capabilities.torch) {
145
+ track.applyConstraints({ advanced: [{ torch: true }] });
146
+ } else {
147
+ console.warn('device does not support torch capability');
148
+ }
149
+ }
150
+ console.timeEnd('new Camera');
151
+
152
+ return new Camera(videoEl, stream);
153
+ }
@@ -0,0 +1,25 @@
1
+ export class DropImageFetchError extends Error {
2
+ constructor() {
3
+ super("can't process cross-origin image");
4
+
5
+ this.name = "DropImageFetchError";
6
+ }
7
+ }
8
+
9
+ export class StreamApiNotSupportedError extends Error {
10
+ constructor() {
11
+ super("this browser has no Stream API support");
12
+
13
+ this.name = "StreamApiNotSupportedError";
14
+ }
15
+ }
16
+
17
+ export class InsecureContextError extends Error {
18
+ constructor() {
19
+ super(
20
+ "camera access is only permitted in secure context. Use HTTPS or localhost rather than HTTP."
21
+ );
22
+
23
+ this.name = "InsecureContextError";
24
+ }
25
+ }
@@ -0,0 +1,114 @@
1
+ /* eslint-disable no-undef */
2
+ import { eventOn } from 'callforth';
3
+
4
+ import { DropImageFetchError } from './errors.js';
5
+
6
+ const doubleQuest = (a, b) => {
7
+ return (a !== null && a !== undefined) ? a : b;
8
+ }
9
+
10
+ const adaptOldFormat = detectedCodes => {
11
+ if (detectedCodes.length > 0) {
12
+ const [firstCode] = detectedCodes;
13
+
14
+ const [
15
+ topLeftCorner,
16
+ topRightCorner,
17
+ bottomRightCorner,
18
+ bottomLeftCorner
19
+ ] = firstCode.cornerPoints
20
+
21
+ return {
22
+ content: firstCode.rawValue,
23
+ location: {
24
+ topLeftCorner,
25
+ topRightCorner,
26
+ bottomRightCorner,
27
+ bottomLeftCorner,
28
+
29
+ // not supported by native API:
30
+ topLeftFinderPattern: {},
31
+ topRightFinderPattern: {},
32
+ bottomLeftFinderPattern: {}
33
+ },
34
+ imageData: null
35
+ }
36
+ }
37
+ return {
38
+ content: null,
39
+ location: null,
40
+ imageData: null
41
+ }
42
+
43
+ }
44
+
45
+ /**
46
+ * Continuously extracts frames from camera stream and tries to read
47
+ * potentially pictured QR codes.
48
+ */
49
+ export const keepScanning = (videoElement, options) => {
50
+ const barcodeDetector = new BarcodeDetector({ formats: ['qr_code'] });
51
+
52
+ const { detectHandler, locateHandler, minDelay } = options;
53
+
54
+ const processFrame = state => async timeNow => {
55
+ if (videoElement.readyState > 1) {
56
+ const { lastScanned, contentBefore, locationBefore } = state
57
+
58
+ if (timeNow - lastScanned >= minDelay) {
59
+ const detectedCodes = await barcodeDetector.detect(videoElement);
60
+ const { content, location, imageData } = adaptOldFormat(detectedCodes)
61
+
62
+ if (content !== null && content !== contentBefore) {
63
+ detectHandler({ content, location, imageData });
64
+ }
65
+
66
+ if (location !== null || locationBefore !== null) {
67
+ locateHandler(detectedCodes);
68
+ }
69
+
70
+ window.requestAnimationFrame(processFrame({
71
+ lastScanned: timeNow,
72
+ contentBefore: doubleQuest(content, contentBefore),
73
+ locationBefore: location
74
+ }))
75
+ } else {
76
+ window.requestAnimationFrame(processFrame(state))
77
+ }
78
+ }
79
+ };
80
+
81
+ processFrame({
82
+ contentBefore: null,
83
+ locationBefore: null,
84
+ lastScanned: performance.now()
85
+ })();
86
+ };
87
+
88
+ const imageElementFromUrl = async url => {
89
+ if (url.startsWith('http') && url.includes(location.host) === false) {
90
+ throw new DropImageFetchError();
91
+ }
92
+
93
+ const image = document.createElement('img');
94
+ image.src = url;
95
+
96
+ await eventOn(image, 'load');
97
+
98
+ return image;
99
+ }
100
+
101
+ export const processFile = async file => {
102
+ const barcodeDetector = new BarcodeDetector({ formats: ['qr_code'] })
103
+ const detectedCodes = await barcodeDetector.detect(file)
104
+
105
+ return adaptOldFormat(detectedCodes)
106
+ }
107
+
108
+ export const processUrl = async url => {
109
+ const barcodeDetector = new BarcodeDetector({ formats: ['qr_code'] })
110
+ const image = await imageElementFromUrl(url);
111
+ const detectedCodes = await barcodeDetector.detect(image)
112
+
113
+ return adaptOldFormat(detectedCodes)
114
+ }
@@ -0,0 +1,30 @@
1
+ import { shimGetUserMedia as chromeShim } from 'webrtc-adapter/src/js/chrome/getusermedia';
2
+ import { shimGetUserMedia as edgeShim } from 'webrtc-adapter/src/js/edge/getusermedia';
3
+ import { shimGetUserMedia as firefoxShim } from 'webrtc-adapter/src/js/firefox/getusermedia';
4
+ import { shimGetUserMedia as safariShim } from 'webrtc-adapter/src/js/safari/safari_shim';
5
+ import { detectBrowser } from 'webrtc-adapter/src/js/utils';
6
+
7
+ import { StreamApiNotSupportedError } from './errors';
8
+ import { indempotent } from './util';
9
+
10
+ export default indempotent(() => {
11
+ const { browser } = detectBrowser(window);
12
+
13
+ switch (browser) {
14
+ case 'chrome':
15
+ chromeShim(window);
16
+
17
+ break;
18
+ case 'firefox':
19
+ firefoxShim(window);
20
+ break;
21
+ case 'edge':
22
+ edgeShim(window);
23
+ break;
24
+ case 'safari':
25
+ safariShim(window);
26
+ break;
27
+ default:
28
+ throw new StreamApiNotSupportedError();
29
+ }
30
+ });
@@ -0,0 +1,16 @@
1
+
2
+ export const indempotent = action => {
3
+ let called = false;
4
+ let result = undefined;
5
+
6
+ return (...args) => {
7
+ if (called) {
8
+ return result;
9
+ }
10
+ result = action(...args);
11
+ called = true;
12
+
13
+ return result;
14
+
15
+ };
16
+ };