@ganwei-web/ganwei-pc-cli 6.2.2 → 6.2.4

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 (297) hide show
  1. package/ganwei-app-6.2.1/.gitignore +33 -0
  2. package/ganwei-app-6.2.1/.npmrc +1 -0
  3. package/ganwei-app-6.2.1/moduleConfiguration/.gitignore +27 -0
  4. package/ganwei-app-6.2.1/moduleConfiguration/copyFile.js +8 -14
  5. package/ganwei-app-6.2.1/moduleConfiguration/init.js +2 -8
  6. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/.babelrc +4 -0
  7. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/.editorconfig +22 -0
  8. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/.env.development +23 -0
  9. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/.env.production +29 -0
  10. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/.env.test +22 -0
  11. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/.eslintignore +13 -0
  12. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/.eslintrc.cjs +178 -0
  13. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/.gitignore +27 -0
  14. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/.prettierignore +13 -0
  15. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/.prettierrc.cjs +37 -0
  16. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/auto-imports.d.ts +5 -0
  17. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/build/banner.js +9 -0
  18. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/build/build-version.js +42 -0
  19. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/build/bulidList.js +26 -0
  20. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/build/enteryJson.js +108 -0
  21. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/build/filterStatic.js +64 -0
  22. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/build/init.js +27 -0
  23. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/build/look-dir.js +24 -0
  24. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/build/rollup-options.js +35 -0
  25. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/build/test.js +3 -0
  26. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/build/vite-plugin-stats-html.js +595 -0
  27. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/components.d.ts +20 -0
  28. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/env.d.ts +7 -0
  29. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/index.html +20 -0
  30. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/package-lock.json +3965 -0
  31. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/package.json +69 -0
  32. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/pnpm-lock.yaml +5034 -0
  33. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/css/index-plus-vars.css +93 -0
  34. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/css/index-plus.css +1 -0
  35. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/css/index.css +15926 -0
  36. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/css/pptxjs.css +161 -0
  37. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/font/iconfont.css +1135 -0
  38. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/font/iconfont.js +1 -0
  39. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/font/iconfont.json +1969 -0
  40. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/font/iconfont.ttf +0 -0
  41. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/font/iconfont.woff +0 -0
  42. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/font/iconfont.woff2 +0 -0
  43. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/language/en-US/noPage.json +3 -0
  44. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/language/zh-CN/noPage.json +3 -0
  45. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/language/zh-HK/noPage.json +3 -0
  46. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/themes/dark.css +77 -0
  47. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/themes/default-theme.js +34 -0
  48. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/themes/light.css +79 -0
  49. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/App.vue +198 -0
  50. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/.sass-cache/59ae6c3370e48597956c7d0775238711a2c22a84/index.scssc +0 -0
  51. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/.sass-cache/59ae6c3370e48597956c7d0775238711a2c22a84/linkSetting.scssc +0 -0
  52. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/.sass-cache/59ae6c3370e48597956c7d0775238711a2c22a84/sceneSetting.scssc +0 -0
  53. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/.sass-cache/59ae6c3370e48597956c7d0775238711a2c22a84/specialTask.scssc +0 -0
  54. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/.sass-cache/59ae6c3370e48597956c7d0775238711a2c22a84/style.scssc +0 -0
  55. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/.sass-cache/59ae6c3370e48597956c7d0775238711a2c22a84/weekTask.scssc +0 -0
  56. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/VideoSystem.scss +397 -0
  57. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/el-dialog.scss +58 -0
  58. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/el-drawer.scss +41 -0
  59. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/index.scss +1052 -0
  60. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/login.scss +320 -0
  61. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/mobileStyle.scss +332 -0
  62. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/noDataTips.scss +57 -0
  63. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/reset.scss +1192 -0
  64. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/style-black.scss +1 -0
  65. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/style-white.scss +1 -0
  66. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/style.scss +633 -0
  67. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/videoPlaybackCom.scss +468 -0
  68. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/videoPlayer.scss +441 -0
  69. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/images/logo.png +0 -0
  70. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/plugins/encrypt.js +122 -0
  71. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/components/appFrame/appFrame.vue +163 -0
  72. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/components/appFrame/bottom.vue +15 -0
  73. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/components/appFrame/css/bottom.scss +381 -0
  74. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/components/appFrame/css/top.scss +49 -0
  75. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/components/appFrame/js/Voice.js +345 -0
  76. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/components/appFrame/js/bottom.js +102 -0
  77. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/components/appFrame/top.vue +114 -0
  78. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/components/i18n/i18n.js +42 -0
  79. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/components/i18n/i18nObserver.js +39 -0
  80. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/components/i18n/vueI18n.js +17 -0
  81. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/components/toast/index.js +64 -0
  82. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/components/toast/index.vue +152 -0
  83. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/hostMap.js +9 -0
  84. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/main.js +39 -0
  85. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/Auth.js +83 -0
  86. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/BA.js +81 -0
  87. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/EquipList.js +127 -0
  88. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/Event.js +34 -0
  89. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/GwEcharts.js +9 -0
  90. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/PPT.js +5 -0
  91. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/RealTime.js +43 -0
  92. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/SystemConfig.js +177 -0
  93. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/Video.js +57 -0
  94. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/VideoTour.js +129 -0
  95. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/WelcomeWord.js +24 -0
  96. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/WorkOrder.js +265 -0
  97. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/videoSystem.js +81 -0
  98. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api.js +35 -0
  99. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/apiFunction.js +200 -0
  100. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/encrypt.js +14 -0
  101. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/http.js +186 -0
  102. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/router.js +31 -0
  103. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/store.js +189 -0
  104. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/types.js +16 -0
  105. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/utils/formValidate.js +25 -0
  106. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/utils/isApp.js +18 -0
  107. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/utils/language.js +45 -0
  108. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/utils/myUtils.js +643 -0
  109. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/utils/timeFormat.js +23 -0
  110. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/utils/timesYMDHMS.js +27 -0
  111. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/views/ganwei-app-empty-page/src/noPage.vue +22 -0
  112. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/stats.html +356 -0
  113. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/vite.base.config.js +244 -0
  114. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/vite.config.ts +44 -0
  115. package/ganwei-app-6.2.1/packages/ganwei-app-home/.babelrc +4 -0
  116. package/ganwei-app-6.2.1/packages/ganwei-app-home/.editorconfig +22 -0
  117. package/ganwei-app-6.2.1/packages/ganwei-app-home/.env.development +23 -0
  118. package/ganwei-app-6.2.1/packages/ganwei-app-home/.env.production +29 -0
  119. package/ganwei-app-6.2.1/packages/ganwei-app-home/.env.test +22 -0
  120. package/ganwei-app-6.2.1/packages/ganwei-app-home/.eslintignore +13 -0
  121. package/ganwei-app-6.2.1/packages/ganwei-app-home/.eslintrc.cjs +178 -0
  122. package/ganwei-app-6.2.1/packages/ganwei-app-home/.gitignore +27 -0
  123. package/ganwei-app-6.2.1/packages/ganwei-app-home/.prettierignore +13 -0
  124. package/ganwei-app-6.2.1/packages/ganwei-app-home/.prettierrc.cjs +37 -0
  125. package/ganwei-app-6.2.1/packages/ganwei-app-home/.stylelintrc.cjs +18 -0
  126. package/ganwei-app-6.2.1/packages/ganwei-app-home/auto-imports.d.ts +56 -0
  127. package/ganwei-app-6.2.1/packages/ganwei-app-home/components.d.ts +25 -0
  128. package/ganwei-app-6.2.1/packages/ganwei-app-home/env.d.ts +21 -0
  129. package/ganwei-app-6.2.1/packages/ganwei-app-home/index.html +20 -0
  130. package/ganwei-app-6.2.1/packages/ganwei-app-home/package.json +87 -0
  131. package/ganwei-app-6.2.1/packages/ganwei-app-home/public/static/language/en-US/home.json +39 -0
  132. package/ganwei-app-6.2.1/packages/ganwei-app-home/public/static/language/zh-CN/home.json +39 -0
  133. package/ganwei-app-6.2.1/packages/ganwei-app-home/public/static/language/zh-HK/home.json +39 -0
  134. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/App.vue +203 -0
  135. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/assets/images/logo.png +0 -0
  136. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/components/Layout/TitleList.vue +20 -0
  137. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/enums/index.ts +24 -0
  138. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/main.ts +29 -0
  139. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/models/index.ts +91 -0
  140. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/request/api/RealTime.ts +27 -0
  141. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/request/api.ts +5 -0
  142. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/router.ts +30 -0
  143. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/store.js +189 -0
  144. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/types.js +16 -0
  145. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/components/HomeMenuItem.vue +95 -0
  146. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/components/HomeMenus.vue +118 -0
  147. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/components/HomeMenusEditDrawer.vue +119 -0
  148. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/components/HomeSnapshots.vue +109 -0
  149. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/components/chatbot.vue +96 -0
  150. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/components/eslint.config.js +10 -0
  151. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/css/index.scss +5 -0
  152. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/img/chatbot.gif +0 -0
  153. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/img/six.png +0 -0
  154. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/index.vue +42 -0
  155. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/js/useLanguageStyle.ts +21 -0
  156. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/js/useManageMenus.ts +38 -0
  157. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/js/useMenus.ts +49 -0
  158. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/js/usePolling.ts +38 -0
  159. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/js/useRealTime.ts +128 -0
  160. package/ganwei-app-6.2.1/packages/ganwei-app-home/stats.html +4975 -0
  161. package/ganwei-app-6.2.1/packages/ganwei-app-home/tsconfig.json +58 -0
  162. package/ganwei-app-6.2.1/packages/ganwei-app-home/types/gw-app-public.d.ts +4 -0
  163. package/ganwei-app-6.2.1/packages/ganwei-app-home/vite.base.config.ts +233 -0
  164. package/ganwei-app-6.2.1/packages/ganwei-app-home/vite.config.ts +49 -0
  165. package/ganwei-app-6.2.1/packages/ganwei-app-index/.gitignore +27 -0
  166. package/ganwei-app-6.2.1/packages/ganwei-app-index/index.html +1 -2
  167. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/json/config.json +2 -2
  168. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/vue-qrcode-reader/src/misc/util.js +4 -10
  169. package/ganwei-app-6.2.1/packages/ganwei-app-index/src/types.js +1 -1
  170. package/ganwei-app-6.2.1/packages/ganwei-app-login/.babelrc +4 -0
  171. package/ganwei-app-6.2.1/packages/ganwei-app-login/.editorconfig +22 -0
  172. package/ganwei-app-6.2.1/packages/ganwei-app-login/.env.development +23 -0
  173. package/ganwei-app-6.2.1/packages/ganwei-app-login/.env.production +29 -0
  174. package/ganwei-app-6.2.1/packages/ganwei-app-login/.env.test +22 -0
  175. package/ganwei-app-6.2.1/packages/ganwei-app-login/.eslintignore +13 -0
  176. package/ganwei-app-6.2.1/packages/ganwei-app-login/.eslintrc.cjs +178 -0
  177. package/ganwei-app-6.2.1/packages/ganwei-app-login/.gitignore +27 -0
  178. package/ganwei-app-6.2.1/packages/ganwei-app-login/.prettierignore +13 -0
  179. package/ganwei-app-6.2.1/packages/ganwei-app-login/.prettierrc.cjs +37 -0
  180. package/ganwei-app-6.2.1/packages/ganwei-app-login/.stylelintrc.cjs +16 -0
  181. package/ganwei-app-6.2.1/packages/ganwei-app-login/auto-imports.d.ts +5 -0
  182. package/ganwei-app-6.2.1/packages/ganwei-app-login/env.d.ts +67 -0
  183. package/ganwei-app-6.2.1/packages/ganwei-app-login/index.html +20 -0
  184. package/ganwei-app-6.2.1/packages/ganwei-app-login/package.json +79 -0
  185. package/ganwei-app-6.2.1/packages/ganwei-app-login/public/static/language/en-US/login.json +48 -0
  186. package/ganwei-app-6.2.1/packages/ganwei-app-login/public/static/language/zh-CN/login.json +48 -0
  187. package/ganwei-app-6.2.1/packages/ganwei-app-login/public/static/language/zh-HK/login.json +48 -0
  188. package/ganwei-app-6.2.1/packages/ganwei-app-login/src/App.vue +225 -0
  189. package/ganwei-app-6.2.1/packages/ganwei-app-login/src/assets/images/bg.png +0 -0
  190. package/ganwei-app-6.2.1/packages/ganwei-app-login/src/assets/images/logo.png +0 -0
  191. package/ganwei-app-6.2.1/packages/ganwei-app-login/src/assets/images/refresh.png +0 -0
  192. package/ganwei-app-6.2.1/packages/ganwei-app-login/src/components/app-drag/index.vue +183 -0
  193. package/ganwei-app-6.2.1/packages/ganwei-app-login/src/hostMap.ts +11 -0
  194. package/ganwei-app-6.2.1/packages/ganwei-app-login/src/main.ts +19 -0
  195. package/ganwei-app-6.2.1/packages/ganwei-app-login/src/models/index.ts +48 -0
  196. package/ganwei-app-6.2.1/packages/ganwei-app-login/src/request/api/Auth.ts +27 -0
  197. package/ganwei-app-6.2.1/packages/ganwei-app-login/src/request/api.ts +5 -0
  198. package/ganwei-app-6.2.1/packages/ganwei-app-login/src/router.ts +30 -0
  199. package/ganwei-app-6.2.1/packages/ganwei-app-login/src/views/login/Login.vue +99 -0
  200. package/ganwei-app-6.2.1/packages/ganwei-app-login/src/views/login/css/login.scss +78 -0
  201. package/ganwei-app-6.2.1/packages/ganwei-app-login/src/views/login/js/useLogin.ts +73 -0
  202. package/ganwei-app-6.2.1/packages/ganwei-app-login/src/views/login/js/useRememberPassword.ts +48 -0
  203. package/ganwei-app-6.2.1/packages/ganwei-app-login/stats.html +4975 -0
  204. package/ganwei-app-6.2.1/packages/ganwei-app-login/tsconfig.json +56 -0
  205. package/ganwei-app-6.2.1/packages/ganwei-app-login/types/gw-app-public.d.ts +4 -0
  206. package/ganwei-app-6.2.1/packages/ganwei-app-login/vite.base.config.ts +233 -0
  207. package/ganwei-app-6.2.1/packages/ganwei-app-login/vite.config.ts +51 -0
  208. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/.babelrc +4 -0
  209. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/.editorconfig +22 -0
  210. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/.env.development +23 -0
  211. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/.env.production +29 -0
  212. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/.env.test +22 -0
  213. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/.eslintignore +13 -0
  214. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/.eslintrc.cjs +178 -0
  215. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/.gitignore +27 -0
  216. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/.prettierignore +13 -0
  217. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/.prettierrc.cjs +37 -0
  218. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/.stylelintrc.cjs +17 -0
  219. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/auto-imports.d.ts +5 -0
  220. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/env.d.ts +21 -0
  221. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/index.html +20 -0
  222. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/package.json +85 -0
  223. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/public/static/language/en-US/setPage.json +25 -0
  224. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/public/static/language/zh-CN/setPage.json +25 -0
  225. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/public/static/language/zh-HK/setPage.json +25 -0
  226. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/App.vue +202 -0
  227. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/assets/images/logo.png +0 -0
  228. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/components/buttonModeSelect/index.vue +190 -0
  229. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/hostMap.ts +11 -0
  230. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/main.ts +24 -0
  231. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/models/index.ts +0 -0
  232. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/request/api/Auth.ts +21 -0
  233. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/request/api.ts +5 -0
  234. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/router.ts +29 -0
  235. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/store.js +189 -0
  236. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/types.js +16 -0
  237. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/views/ganwei-app-setPage/src/js/useChangeLanguage.ts +19 -0
  238. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/views/ganwei-app-setPage/src/js/useChangeTheme.ts +16 -0
  239. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/views/ganwei-app-setPage/src/js/useClearCache.ts +26 -0
  240. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/views/ganwei-app-setPage/src/js/useJavaFunc.ts +146 -0
  241. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/views/ganwei-app-setPage/src/js/useLogout.ts +52 -0
  242. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/views/ganwei-app-setPage/src/setPage.vue +120 -0
  243. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/stats.html +4975 -0
  244. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/tsconfig.json +58 -0
  245. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/types/gw-app-public.d.ts +4 -0
  246. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/vite.base.config.ts +233 -0
  247. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/vite.config.ts +49 -0
  248. package/ganwei-app-6.2.1/packages/ganwei-app-template/.babelrc +4 -0
  249. package/ganwei-app-6.2.1/packages/ganwei-app-template/.editorconfig +22 -0
  250. package/ganwei-app-6.2.1/packages/ganwei-app-template/.env.development +23 -0
  251. package/ganwei-app-6.2.1/packages/ganwei-app-template/.env.production +29 -0
  252. package/ganwei-app-6.2.1/packages/ganwei-app-template/.env.test +22 -0
  253. package/ganwei-app-6.2.1/packages/ganwei-app-template/.eslintignore +13 -0
  254. package/ganwei-app-6.2.1/packages/ganwei-app-template/.eslintrc.cjs +178 -0
  255. package/ganwei-app-6.2.1/packages/ganwei-app-template/.gitignore +27 -0
  256. package/ganwei-app-6.2.1/packages/ganwei-app-template/.prettierignore +13 -0
  257. package/ganwei-app-6.2.1/packages/ganwei-app-template/.prettierrc.cjs +37 -0
  258. package/ganwei-app-6.2.1/packages/ganwei-app-template/auto-imports.d.ts +5 -0
  259. package/ganwei-app-6.2.1/packages/ganwei-app-template/components.d.ts +14 -0
  260. package/ganwei-app-6.2.1/packages/ganwei-app-template/env.d.ts +7 -0
  261. package/ganwei-app-6.2.1/packages/ganwei-app-template/index.html +18 -0
  262. package/ganwei-app-6.2.1/packages/ganwei-app-template/package.json +77 -0
  263. package/ganwei-app-6.2.1/packages/ganwei-app-template/public/static/language/en-US/template.json +3 -0
  264. package/ganwei-app-6.2.1/packages/ganwei-app-template/public/static/language/zh-CN/template.json +3 -0
  265. package/ganwei-app-6.2.1/packages/ganwei-app-template/public/static/language/zh-HK/template.json +3 -0
  266. package/ganwei-app-6.2.1/packages/ganwei-app-template/src/App.vue +202 -0
  267. package/ganwei-app-6.2.1/packages/ganwei-app-template/src/assets/images/logo.png +0 -0
  268. package/ganwei-app-6.2.1/packages/ganwei-app-template/src/components/buttonModeSelect/index.vue +190 -0
  269. package/ganwei-app-6.2.1/packages/ganwei-app-template/src/hostMap.ts +11 -0
  270. package/ganwei-app-6.2.1/packages/ganwei-app-template/src/main.ts +24 -0
  271. package/ganwei-app-6.2.1/packages/ganwei-app-template/src/models/index.ts +0 -0
  272. package/ganwei-app-6.2.1/packages/ganwei-app-template/src/request/api/Auth.ts +21 -0
  273. package/ganwei-app-6.2.1/packages/ganwei-app-template/src/request/api.ts +5 -0
  274. package/ganwei-app-6.2.1/packages/ganwei-app-template/src/router.ts +29 -0
  275. package/ganwei-app-6.2.1/packages/ganwei-app-template/src/store.js +189 -0
  276. package/ganwei-app-6.2.1/packages/ganwei-app-template/src/types.js +16 -0
  277. package/ganwei-app-6.2.1/packages/ganwei-app-template/src/views/ganwei-app-template/src/template.vue +22 -0
  278. package/ganwei-app-6.2.1/packages/ganwei-app-template/tsconfig.json +58 -0
  279. package/ganwei-app-6.2.1/packages/ganwei-app-template/types/gw-app-public.d.ts +4 -0
  280. package/ganwei-app-6.2.1/packages/ganwei-app-template/vite.base.config.js +246 -0
  281. package/ganwei-app-6.2.1/packages/ganwei-app-template/vite.config.ts +44 -0
  282. package/ganwei-iotcenter-index-6.2.1/.gitignore +31 -0
  283. package/ganwei-iotcenter-index-6.2.1/.npmrc +1 -0
  284. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/.gitignore +27 -0
  285. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/json/config.json +47 -43
  286. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/App.vue +5 -0
  287. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/isDebug/isDebug.vue +2 -9
  288. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/types.js +1 -1
  289. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/views/index.js +0 -3
  290. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/views/jumpIframe/index.vue +9 -3
  291. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/views/jumpIframe/preloadMethod.js +3 -3
  292. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/.gitignore +27 -0
  293. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/login.scss +50 -30
  294. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/types.js +1 -1
  295. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/.gitignore +27 -0
  296. package/ganwei-pc.js +0 -0
  297. package/package.json +1 -1
@@ -0,0 +1,56 @@
1
+ // Generated by 'unplugin-auto-import'
2
+ export {}
3
+ declare global {
4
+ const EffectScope: typeof import('vue')['EffectScope']
5
+ const computed: typeof import('vue')['computed']
6
+ const createApp: typeof import('vue')['createApp']
7
+ const customRef: typeof import('vue')['customRef']
8
+ const defineAsyncComponent: typeof import('vue')['defineAsyncComponent']
9
+ const defineComponent: typeof import('vue')['defineComponent']
10
+ const effectScope: typeof import('vue')['effectScope']
11
+ const getCurrentInstance: typeof import('vue')['getCurrentInstance']
12
+ const getCurrentScope: typeof import('vue')['getCurrentScope']
13
+ const h: typeof import('vue')['h']
14
+ const inject: typeof import('vue')['inject']
15
+ const isProxy: typeof import('vue')['isProxy']
16
+ const isReactive: typeof import('vue')['isReactive']
17
+ const isReadonly: typeof import('vue')['isReadonly']
18
+ const isRef: typeof import('vue')['isRef']
19
+ const markRaw: typeof import('vue')['markRaw']
20
+ const nextTick: typeof import('vue')['nextTick']
21
+ const onActivated: typeof import('vue')['onActivated']
22
+ const onBeforeMount: typeof import('vue')['onBeforeMount']
23
+ const onBeforeUnmount: typeof import('vue')['onBeforeUnmount']
24
+ const onBeforeUpdate: typeof import('vue')['onBeforeUpdate']
25
+ const onDeactivated: typeof import('vue')['onDeactivated']
26
+ const onErrorCaptured: typeof import('vue')['onErrorCaptured']
27
+ const onMounted: typeof import('vue')['onMounted']
28
+ const onRenderTracked: typeof import('vue')['onRenderTracked']
29
+ const onRenderTriggered: typeof import('vue')['onRenderTriggered']
30
+ const onScopeDispose: typeof import('vue')['onScopeDispose']
31
+ const onServerPrefetch: typeof import('vue')['onServerPrefetch']
32
+ const onUnmounted: typeof import('vue')['onUnmounted']
33
+ const onUpdated: typeof import('vue')['onUpdated']
34
+ const provide: typeof import('vue')['provide']
35
+ const reactive: typeof import('vue')['reactive']
36
+ const readonly: typeof import('vue')['readonly']
37
+ const ref: typeof import('vue')['ref']
38
+ const resolveComponent: typeof import('vue')['resolveComponent']
39
+ const resolveDirective: typeof import('vue')['resolveDirective']
40
+ const shallowReactive: typeof import('vue')['shallowReactive']
41
+ const shallowReadonly: typeof import('vue')['shallowReadonly']
42
+ const shallowRef: typeof import('vue')['shallowRef']
43
+ const toRaw: typeof import('vue')['toRaw']
44
+ const toRef: typeof import('vue')['toRef']
45
+ const toRefs: typeof import('vue')['toRefs']
46
+ const triggerRef: typeof import('vue')['triggerRef']
47
+ const unref: typeof import('vue')['unref']
48
+ const useAttrs: typeof import('vue')['useAttrs']
49
+ const useCssModule: typeof import('vue')['useCssModule']
50
+ const useCssVars: typeof import('vue')['useCssVars']
51
+ const useSlots: typeof import('vue')['useSlots']
52
+ const watch: typeof import('vue')['watch']
53
+ const watchEffect: typeof import('vue')['watchEffect']
54
+ const watchPostEffect: typeof import('vue')['watchPostEffect']
55
+ const watchSyncEffect: typeof import('vue')['watchSyncEffect']
56
+ }
@@ -0,0 +1,25 @@
1
+ /* eslint-disable */
2
+ /* prettier-ignore */
3
+ // @ts-nocheck
4
+ // Generated by unplugin-vue-components
5
+ // Read more: https://github.com/vuejs/core/pull/3399
6
+ import '@vue/runtime-core'
7
+
8
+ export {}
9
+
10
+ declare module '@vue/runtime-core' {
11
+ export interface GlobalComponents {
12
+ AppFrame: typeof import('./src/components/appFrame/appFrame.vue')['default']
13
+ Bottom: typeof import('./src/components/appFrame/bottom.vue')['default']
14
+ ElButton: typeof import('element-plus/es')['ElButton']
15
+ ElCol: typeof import('element-plus/es')['ElCol']
16
+ ElDrawer: typeof import('element-plus/es')['ElDrawer']
17
+ ElIcon: typeof import('element-plus/es')['ElIcon']
18
+ ElResult: typeof import('element-plus/es')['ElResult']
19
+ ElRow: typeof import('element-plus/es')['ElRow']
20
+ RouterLink: typeof import('vue-router')['RouterLink']
21
+ RouterView: typeof import('vue-router')['RouterView']
22
+ Toast: typeof import('./src/components/toast/index.vue')['default']
23
+ Top: typeof import('./src/components/appFrame/top.vue')['default']
24
+ }
25
+ }
@@ -0,0 +1,21 @@
1
+
2
+ import { type IToast } from "@ganwei-web/gw-app-components/toast"
3
+ import { TypesConfig, RouteLocationNormalizedLoaded, Router } from 'vue-router'
4
+
5
+ declare module 'vue' {
6
+ interface ComponentCustomProperties {
7
+ $route: TypesConfig extends Record<'$route', infer T> ? T : RouteLocationNormalizedLoaded
8
+ $router: TypesConfig extends Record<'$router', infer T> ? T : Router
9
+ $message: IToast
10
+ $hostMap: HostMap
11
+ }
12
+ }
13
+
14
+ declare module '*.vue' {
15
+ import type { DefineComponent } from 'vue'
16
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
17
+ const component: DefineComponent<{}, {}, any>
18
+ export default component
19
+ }
20
+
21
+ export default {}
@@ -0,0 +1,20 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+
4
+ <head id="indexHead">
5
+ <meta charset="utf-8" />
6
+ <title>脚手架</title>
7
+ <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no, viewport-fit=cover" />
8
+ <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
9
+ <meta http-equiv="Pragma" content="no-cache" />
10
+ <meta http-equiv="Expires" content="0" />
11
+ <link rel="icon" href="static/images/logo.png" type="image/x-icon" />
12
+ </head>
13
+
14
+ <body>
15
+ <div id="app"></div>
16
+ </body>
17
+ <!-- <script src="https://cdn.bootcdn.net/ajax/libs/eruda/3.0.0/eruda.min.js"></script>
18
+ <script>eruda.init();</script> -->
19
+
20
+ </html>
@@ -0,0 +1,87 @@
1
+ {
2
+ "name": "ganwei-app-home",
3
+ "private": true,
4
+ "version": "0.0.0",
5
+ "type": "module",
6
+ "scripts": {
7
+ "dev": "vite --force --host",
8
+ "build": "vite build --mode production",
9
+ "preview": "vite preview",
10
+ "eslint": "eslint --ext .ts,.js,.vue ./src",
11
+ "stylelint": "stylelint \"**/*.scss\"",
12
+ "fix": "eslint --fix --ext .ts,.js,.vue ./src && stylelint --fix \"**/*.scss\""
13
+ },
14
+ "dependencies": {
15
+ "@babel/core": "^7.24.7",
16
+ "@babel/eslint-parser": "^7.24.7",
17
+ "@element-plus/icons-vue": "^2.3.1",
18
+ "@ganwei-web/element-plus-adapter": "^1.0.0",
19
+ "@ganwei-web/gw-app-api": "^1.0.2",
20
+ "@ganwei-web/gw-app-components": "^1.0.3",
21
+ "@ganwei-web/gw-app-mfe": "^1.0.0",
22
+ "@ganwei-web/gw-app-public": "^1.0.0",
23
+ "@ganwei-web/gw-app-styles": "^1.0.0",
24
+ "@ganwei-web/gw-app-ts": "^1.0.0",
25
+ "axios": "^1.7.2",
26
+ "barcode-detector": "^1.0.4",
27
+ "callforth": "^0.4.0",
28
+ "dayjs": "^1.11.11",
29
+ "element-plus": "^2.7.6",
30
+ "element-ui": "^2.15.14",
31
+ "eslint-config-prettier": "^8.10.0",
32
+ "eslint-plugin-prettier": "^4.2.1",
33
+ "jquery": "^3.7.1",
34
+ "js-base64": "^2.6.4",
35
+ "jsencrypt": "^3.3.2",
36
+ "less": "^4.2.0",
37
+ "moment": "^2.30.1",
38
+ "prettier": "^2.8.8",
39
+ "sass": "^1.77.6",
40
+ "sass-loader": "^13.3.3",
41
+ "scss": "^0.2.4",
42
+ "svelte": "^3.59.2",
43
+ "svelte-preprocess": "^5.1.4",
44
+ "tslib": "^2.6.3",
45
+ "unplugin-vue-components": "^0.24.1",
46
+ "vite-multiple-assets": "^1.2.10",
47
+ "vite-plugin-compression": "^0.5.1",
48
+ "vite-plugin-eslint": "^1.8.1",
49
+ "vue": "^3.4.31",
50
+ "vue-i18n": "9.3.0-beta.24",
51
+ "vue-property-decorator": "^9.1.2",
52
+ "vue-router": "^4.4.0",
53
+ "vue-slicksort": "^2.0.5",
54
+ "vuex": "^4.1.0",
55
+ "webrtc-adapter": "^7.7.1",
56
+ "wujie": "^1.0.22"
57
+ },
58
+ "devDependencies": {
59
+ "@babel/plugin-syntax-dynamic-import": "^7.8.3",
60
+ "@eslint/js": "^9.31.0",
61
+ "@types/node": "^18.19.39",
62
+ "@typescript-eslint/eslint-plugin": "^5.62.0",
63
+ "@typescript-eslint/parser": "^5.62.0",
64
+ "@vitejs/plugin-vue": "^2.3.4",
65
+ "autoprefixer": "^10.4.19",
66
+ "d": "^1.0.2",
67
+ "eslint": "^8.57.1",
68
+ "eslint-plugin-simple-import-sort": "^12.1.1",
69
+ "eslint-plugin-vue": "^9.33.0",
70
+ "globals": "^16.3.0",
71
+ "postcss-pxtorem": "^6.1.0",
72
+ "rollup-plugin-external-globals": "^0.8.0",
73
+ "rollup-plugin-visualizer": "^5.12.0",
74
+ "stylelint": "^16.6.1",
75
+ "stylelint-config-clean-order": "^5.4.2",
76
+ "stylelint-config-recommended-vue": "^1.5.0",
77
+ "stylelint-config-standard-scss": "^13.1.0",
78
+ "typescript": "^4.9.5",
79
+ "unplugin-auto-import": "^0.13.0",
80
+ "vite": "^4.5.3",
81
+ "vite-plugin-externals": "^0.6.2",
82
+ "vite-plugin-html": "^3.2.2",
83
+ "vite-plugin-static-copy": "^0.17.1",
84
+ "vite-plugin-stylelint": "^5.3.1",
85
+ "vue-tsc": "^1.8.27"
86
+ }
87
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "title": "Front Page",
3
+ "snapshotType": {},
4
+ "subModule": {
5
+ "title": "Modules",
6
+ "snapshot": {
7
+ "title": "Snapshot",
8
+ "types": {
9
+ "alarm": "Error",
10
+ "warning": "Warning",
11
+ "info": "Info",
12
+ "setup": "Settings",
13
+ "asset": "Assets"
14
+ }
15
+ },
16
+ "scene": {
17
+ "title": "Scene Switch",
18
+ "description": "Application Scenario Switch"
19
+ },
20
+ "workOrder": {
21
+ "title": "Work Order Management",
22
+ "description": "Work Order"
23
+ }
24
+ },
25
+ "tips": {
26
+ "loggedOut": "Sign Out",
27
+ "logOutFail": "Withdrawing From Login Failed"
28
+ },
29
+ "button": {
30
+ "moduleManage": "Management",
31
+ "complete": "Complete",
32
+ "myModule": "My Modules",
33
+ "toAddModule": "Add Modules",
34
+ "scan": "Scan It"
35
+ },
36
+ "unit": {
37
+ "item": ""
38
+ }
39
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "title": "首页",
3
+ "snapshotType": {},
4
+ "subModule": {
5
+ "title": "功能模块",
6
+ "snapshot": {
7
+ "title": "实时快照",
8
+ "types": {
9
+ "alarm": "故障",
10
+ "warning": "警告",
11
+ "info": "信息",
12
+ "setup": "设置",
13
+ "asset": "资产"
14
+ }
15
+ },
16
+ "scene": {
17
+ "title": "场景切换",
18
+ "description": "应用场景切换"
19
+ },
20
+ "workOrder": {
21
+ "title": "工单管理",
22
+ "description": "工单"
23
+ }
24
+ },
25
+ "tips": {
26
+ "loggedOut": "退出登录",
27
+ "logOutFail": "退出登录失败"
28
+ },
29
+ "button": {
30
+ "moduleManage": "管理模块",
31
+ "complete": "完成",
32
+ "myModule": "我的模块",
33
+ "toAddModule": "待添加模块",
34
+ "scan": "扫一扫"
35
+ },
36
+ "unit": {
37
+ "item": "条"
38
+ }
39
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "title": "首頁",
3
+ "snapshotType": {},
4
+ "subModule": {
5
+ "title": "功能模塊",
6
+ "snapshot": {
7
+ "title": "實時快照",
8
+ "types": {
9
+ "alarm": "故障",
10
+ "warning": "警告",
11
+ "info": "信息",
12
+ "setup": "設置",
13
+ "asset": "資產"
14
+ }
15
+ },
16
+ "scene": {
17
+ "title": "場景切換",
18
+ "description": "應用場景切換"
19
+ },
20
+ "workOrder": {
21
+ "title": "工單管理",
22
+ "description": "工單"
23
+ }
24
+ },
25
+ "tips": {
26
+ "loggedOut": "退出登錄",
27
+ "logOutFail": "退出登錄失敗"
28
+ },
29
+ "button": {
30
+ "moduleManage": "管理模塊",
31
+ "complete": "完成",
32
+ "myModule": "我的模塊",
33
+ "toAddModule": "待添加模塊",
34
+ "scan": "掃一掃"
35
+ },
36
+ "unit": {
37
+ "item": "條"
38
+ }
39
+ }
@@ -0,0 +1,203 @@
1
+ <template>
2
+ <div class="app">
3
+ <router-view v-cloak />
4
+ </div>
5
+ </template>
6
+ <script setup lang="ts">
7
+ import { onBeforeMount } from 'vue'
8
+ onBeforeMount(() => {
9
+ document.documentElement.setAttribute('data-theme', localStorage.theme || 'dark')
10
+ document.documentElement.setAttribute('class', localStorage.theme || 'dark')
11
+ document.documentElement.setAttribute('languagetype', localStorage.languageType || 'zh-CN')
12
+ })
13
+ </script>
14
+ <style>
15
+ html body {
16
+ position: relative;
17
+
18
+ overflow: hidden;
19
+
20
+ height: 100vh;
21
+ min-height: 100vh;
22
+
23
+ font-family: 'Microsoft YaHei', sans-serif;
24
+
25
+ background-color: var(--appFrameMain-bg);
26
+ }
27
+
28
+ a:focus,
29
+ input:focus,
30
+ p:focus,
31
+ div:focus,
32
+ span:focus,
33
+ button:focus,
34
+ i:focus,
35
+ label:focus,
36
+ .el-checkbox:focus {
37
+ -webkit-tap-highlight-color: transparent;
38
+ }
39
+
40
+ html body div {
41
+ box-sizing: border-box;
42
+ }
43
+
44
+ .noData {
45
+ display: flex;
46
+ align-items: center;
47
+ justify-content: center;
48
+
49
+ width: 100%;
50
+ height: 100%;
51
+
52
+ color: white;
53
+ }
54
+
55
+ .noData span {
56
+ font-size: 16px;
57
+ }
58
+
59
+ .app {
60
+ overflow: hidden;
61
+ overflow: -moz-scrollbars-none;
62
+ height: 100%;
63
+
64
+ -ms-overflow-style: none;
65
+ }
66
+
67
+ .loginSet {
68
+ top: 38px !important;
69
+ }
70
+
71
+ .loginSet .el-button {
72
+ width: 100% !important;
73
+ }
74
+
75
+ .flex-start {
76
+ display: flex;
77
+ align-items: center;
78
+ justify-content: flex-start;
79
+ }
80
+
81
+ .flex-start-start {
82
+ display: flex;
83
+ align-items: flex-start;
84
+ justify-content: flex-start;
85
+ }
86
+
87
+ .flex-end {
88
+ display: flex;
89
+ align-items: center;
90
+ justify-content: flex-end;
91
+ }
92
+
93
+ .flex-center {
94
+ display: flex;
95
+ align-items: center;
96
+ justify-content: center;
97
+ }
98
+
99
+ .flex-column {
100
+ flex-direction: column;
101
+ }
102
+
103
+ .flex-between-center {
104
+ display: flex;
105
+ align-items: center;
106
+ justify-content: space-between;
107
+ }
108
+
109
+ .flex1 {
110
+ flex: 1;
111
+ }
112
+
113
+ .flex-shrink0 {
114
+ flex-shrink: 0;
115
+ }
116
+
117
+ .flex-wrap {
118
+ flex-wrap: wrap;
119
+ }
120
+
121
+ .line1 {
122
+ overflow: hidden;
123
+ display: -webkit-box;
124
+ -webkit-box-orient: vertical;
125
+
126
+ word-break: break-all;
127
+
128
+ -webkit-line-clamp: 1;
129
+ }
130
+
131
+ .line2 {
132
+ overflow: hidden;
133
+ display: -webkit-box;
134
+ -webkit-box-orient: vertical;
135
+
136
+ word-break: break-all;
137
+
138
+ -webkit-line-clamp: 2;
139
+ }
140
+
141
+ .w100 {
142
+ width: 100%;
143
+ }
144
+
145
+ .wh100 {
146
+ width: 100%;
147
+ height: 100%;
148
+ }
149
+
150
+ .editBaseCheckBox {
151
+ width: 370px !important;
152
+ padding: 12px;
153
+ }
154
+
155
+ .editBaseCheckBox .el-checkbox-group {
156
+ display: flex;
157
+ flex-flow: row wrap;
158
+ justify-content: flex-start;
159
+ }
160
+
161
+ .editBaseCheckBox .el-autocomplete {
162
+ width: 100%;
163
+ height: 32px;
164
+ margin-bottom: 12px;
165
+ }
166
+
167
+ .editBaseCheckBox .el-autocomplete .el-input,
168
+ .editBaseCheckBox .el-autocomplete div {
169
+ height: 32px;
170
+ }
171
+
172
+ .editBaseCheckBox .el-autocomplete input {
173
+ height: 100% !important;
174
+ background-color: black;
175
+ }
176
+
177
+ .conditionAnalysePopper {
178
+ width: 300px !important;
179
+ }
180
+
181
+ .conditionAnalysePopper .conditionAnalyse {
182
+ /* width: 400px; */
183
+ padding: 7px 12px;
184
+ }
185
+
186
+ .conditionAnalysePopper .conditionAnalyse .el-row {
187
+ margin-top: 12px;
188
+ padding-bottom: 4px;
189
+
190
+ color: #f0f4ff;
191
+
192
+ border-color: rgb(240 244 255 / 16%);
193
+ border-bottom: 1px dashed;
194
+ }
195
+
196
+ .conditionAnalysePopper .conditionAnalyse .el-row .el-col {
197
+ text-align: left;
198
+ }
199
+
200
+ .conditionAnalysePopper .conditionAnalyse .el-row:first-child {
201
+ margin-top: 0 !important;
202
+ }
203
+ </style>
@@ -0,0 +1,20 @@
1
+ <template>
2
+ <div class="titleList">
3
+ <div class="subTitle">
4
+ <slot name="subTitle"></slot>
5
+ </div>
6
+ <div>
7
+ <slot></slot>
8
+ </div>
9
+ </div>
10
+ </template>
11
+
12
+ <style lang="scss" scoped>
13
+ .titleList {
14
+ padding-bottom: 26px;
15
+ }
16
+
17
+ .subTitle {
18
+ margin-bottom: 10px;
19
+ }
20
+ </style>
@@ -0,0 +1,24 @@
1
+ export enum MENU_TYPE {
2
+ CATALOG = 1,
3
+ MENU = 2
4
+ }
5
+
6
+ export enum PLATFORM {
7
+ PC = 1,
8
+ APP = 2
9
+ }
10
+
11
+ export enum LANGUAGE_TYPE {
12
+ ZH = "zh-CN",
13
+ EN = "en-US"
14
+ }
15
+
16
+ export enum THEMES {
17
+ DARK = "dark",
18
+ LIGHT = "light"
19
+ }
20
+
21
+ export enum AI_PATH {
22
+ path = "https://192.168.0.148/"
23
+ // path = "https://www.baidu.com/"
24
+ }
@@ -0,0 +1,29 @@
1
+
2
+ /* eslint-disable */
3
+ import { createApp } from "vue";
4
+
5
+ import ElementPlus from 'element-plus';
6
+ import Axios from "axios";
7
+ import moment from "dayjs";
8
+
9
+ import App from "./App.vue";
10
+ import router from "./router";
11
+ import { createAxios, getCode } from "@ganwei-web/gw-app-api/dist/index.es.js";
12
+ import appFrame from "@ganwei-web/gw-app-components/appFrame/appFrame.vue";
13
+
14
+
15
+ import toast from "@ganwei-web/gw-app-components/toast";
16
+ import { adapterInstall } from '@ganwei-web/element-plus-adapter'
17
+
18
+ import i18n from "@ganwei-web/gw-app-components/i18n/i18n";
19
+ import { installMFEManager } from '@ganwei-web/gw-app-mfe'
20
+
21
+ const app = createApp(App);
22
+ app.component('AppFrame', appFrame)
23
+ app.use(i18n('ganwei-app-home', app)).use(installMFEManager).use(router).use(ElementPlus).use(adapterInstall).use(createAxios).mount("#app");
24
+
25
+ app.config.globalProperties.Axios = Axios;
26
+ app.config.globalProperties.$moment = moment
27
+ app.config.globalProperties.$message = toast
28
+ app.config.globalProperties.$getCode = getCode
29
+ window.$wujie?.props?.MFEManager.setAlive(window)