@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,108 @@
1
+ let prefix = process.env.NODE_ENV == 'production' ? '/APP' : ''
2
+
3
+ const pageEntry = [{
4
+ filename: 'index', // filename 默认是template文件名,就是index.html
5
+ entry: `/src/main.js`,
6
+ output: `../../dist`,
7
+ template: `/index.html`,
8
+ chunks: ['chunk-vendors', 'chunk-common', 'index'],
9
+ }];
10
+
11
+ export const externalTag = [
12
+ {
13
+ href: `${prefix}/static/css/index-plus.css`,
14
+ mode: 'dev',
15
+ tag: 'link',
16
+ injectTo: "head-prepend"
17
+ },
18
+ {
19
+ href: `${prefix}/static/css/index-plus-vars.css`,
20
+ mode: 'dev',
21
+ tag: 'link',
22
+ injectTo: "head-prepend"
23
+ },
24
+ {
25
+ href: `${prefix}/static/font/iconfont.css`,
26
+ mode: 'dev',
27
+ tag: "link",
28
+ injectTo: "head-prepend"
29
+ },
30
+ {
31
+ src: `${prefix}/static/themes/default-theme.js`,
32
+ mode: 'dev',
33
+ tag: "script",
34
+ injectTo: "head"
35
+ },
36
+ {
37
+ src: `${prefix}/static/js/vue3/vue.min.js`,
38
+ mode: 'prod',
39
+ tag: "script",
40
+ injectTo: "head"
41
+ },
42
+ {
43
+ src: `${prefix}/static/js/vue3/vue-router.min.js`,
44
+ mode: 'prod',
45
+ tag: "script",
46
+ injectTo: "head"
47
+ },
48
+ {
49
+ src: `${prefix}/static/js/axios.min.js`,
50
+ mode: 'prod',
51
+ tag: "script",
52
+ injectTo: "head"
53
+ },
54
+ {
55
+ src: `${prefix}/static/js/vue3/vue-i18n.min.js`,
56
+ mode: 'prod',
57
+ tag: "script",
58
+ injectTo: "head"
59
+ },
60
+ {
61
+ src: `${prefix}/static/js/vue3/elementPlus.min.js`,
62
+ mode: 'prod',
63
+ tag: "script",
64
+ injectTo: "head"
65
+ }
66
+ ]
67
+
68
+ export const generateCssLinkTag = (href, tag = 'link', injectTo = 'head-prepend') => {
69
+ return {
70
+ tag,
71
+ attrs: { "rel": "stylesheet", "type": "text/css", "href": href },
72
+ injectTo
73
+ }
74
+ }
75
+
76
+ export const generateScriptTag = (src, tag = 'script', injectTo = 'head') => {
77
+ return {
78
+ tag,
79
+ attrs: { "src": src },
80
+ injectTo
81
+ }
82
+ }
83
+
84
+ export const generateHtmlTag = (option) => {
85
+ if (option.tag === 'link') {
86
+ const { href, injectTo, tag } = option
87
+ return generateCssLinkTag(href, tag, injectTo)
88
+ }
89
+ if (option.tag === 'script') {
90
+ const { src, injectTo, tag } = option
91
+ return generateScriptTag(src, tag, injectTo)
92
+ }
93
+ return {}
94
+ }
95
+
96
+ export function externalTagPlugin (options) {
97
+ let _options = options;
98
+ return {
99
+ name: 'external-css',
100
+ transformIndexHtml: {
101
+ enforce: 'post',
102
+ transform (html, ctx) {
103
+ return _options.map(option => generateHtmlTag(option))
104
+ }
105
+ }
106
+ }
107
+ }
108
+ export default pageEntry;
@@ -0,0 +1,64 @@
1
+ import fs from 'fs';
2
+ import path from 'path';
3
+ import {
4
+ fileURLToPath
5
+ } from 'url';
6
+ const __FILENAME = fileURLToPath(
7
+ import.meta.url);
8
+ const __DIRNAME = path.dirname(__FILENAME)
9
+ const filterFile = {
10
+ iconfont: 'static/font',
11
+ theme: 'static/themes',
12
+ 'index': 'static/css/index.css',
13
+ 'index-plus': 'static/css/index-plus.css',
14
+ 'index-plus-vars': 'static/css/index-plus-vars.css',
15
+ 'base64': 'static/js/enc-base64-min.js',
16
+ 'sha256': 'static/js/hmac-sha256.js',
17
+ 'transformpcm': 'static/js/transformpcm.worker',
18
+ }
19
+ let config = fs.readFileSync(path.join(__DIRNAME, `../package.json`), 'utf-8')
20
+ config = JSON.parse(config)
21
+
22
+ let distUrl = path.join(__DIRNAME, `../../../dist/${config.name}`)
23
+
24
+ Object.keys(filterFile).forEach(url => {
25
+ let fileUrl = `${distUrl}/${filterFile[url]}`
26
+ if (fs.existsSync(fileUrl)) {
27
+ let isDirectory = fs.statSync(fileUrl).isDirectory()
28
+ if (!isDirectory) {
29
+ fs.unlinkSync(fileUrl)
30
+ } else {
31
+ unlinkFolder(fileUrl)
32
+ }
33
+ }
34
+ })
35
+ // 删除空文件夹
36
+ removeEmptyFolder(distUrl)
37
+
38
+ function removeEmptyFolder (url) {
39
+ if (fs.existsSync(url)) {
40
+ let files = fs.readdirSync(url)
41
+ if (files.length) {
42
+ files.forEach(file => {
43
+ if (fs.statSync(`${url}/${file}`).isDirectory()) {
44
+ removeEmptyFolder(`${url}/${file}`)
45
+ }
46
+ })
47
+ } else {
48
+ fs.rmdirSync(url)
49
+ }
50
+ }
51
+ }
52
+
53
+ function unlinkFolder (url) {
54
+ let files = fs.readdirSync(url)
55
+ files.forEach(file => {
56
+ let deleteFileUrl = `${url}/${file}`
57
+ let isDirectory = fs.statSync(deleteFileUrl).isDirectory()
58
+ if (isDirectory) {
59
+ unlinkFolder(deleteFileUrl)
60
+ } else {
61
+ fs.unlinkSync(deleteFileUrl)
62
+ }
63
+ })
64
+ }
@@ -0,0 +1,27 @@
1
+
2
+ import {
3
+ exec
4
+ } from 'node:child_process';
5
+ import getEntryPath from "./enteryJson.js";
6
+ let buildList = getEntryPath;
7
+ process.env.buildList = JSON.stringify(buildList);
8
+ let n = buildList.length,
9
+ result = 0;
10
+ excFun();
11
+
12
+ function excFun() {
13
+ if (result < n) {
14
+ console.log("正在构建" + buildList[result].filename + ",请稍后...");
15
+ process.env.m = result++;
16
+ exec('vite build', (error, stdout, stderr) => {
17
+ if (error) {
18
+ console.error(`exec error: ${error}`);
19
+ return;
20
+ }
21
+ console.log(`stdout: ${stdout}`);
22
+ excFun();
23
+ // console.log(`stderr: ${stderr}`);
24
+ });
25
+ }
26
+
27
+ }
@@ -0,0 +1,24 @@
1
+ import { readdirSync, statSync } from 'fs'
2
+ import { resolve } from 'path'
3
+
4
+ export const PublicExcludes = [
5
+ 'favicon.ico',
6
+ 'app-reload.js',
7
+ '.md'
8
+ ]
9
+
10
+ export const SrcPagesExcludes = []
11
+
12
+ export function lookDir(filePath, excludeFiles, callback) {
13
+ filePath = filePath || ''
14
+ excludeFiles = excludeFiles || []
15
+ callback = callback || null
16
+ // console.log('exports.lookDir -- filePath=', filePath)
17
+ readdirSync(filePath).forEach(file => {
18
+ if (file && (!excludeFiles || excludeFiles.indexOf(file) < 0)) {
19
+ const fullPath = resolve(filePath, file)
20
+ const fileInfo = statSync(fullPath)
21
+ callback && callback(fullPath, fileInfo, file)
22
+ }
23
+ })
24
+ }
@@ -0,0 +1,35 @@
1
+ import path, {
2
+ resolve,
3
+ join
4
+ } from 'path'
5
+ import {
6
+ lookDir
7
+ } from './look-dir'
8
+
9
+ const ROOT_PATH = resolve(__dirname, '..')
10
+ const PAGE_PATH = join(ROOT_PATH, '/src/pages')
11
+ const input = {
12
+ index: resolve(PAGE_PATH, 'index.html')
13
+ }
14
+
15
+ exports.getInput() = {
16
+
17
+ lookDir(PAGE_PATH, null, (fullPath, fileInfo, file) => {
18
+ // console.log('fullPath=', fullPath)
19
+ if (fileInfo.isDirectory()) {
20
+ lookDir(fullPath, null, (fullPath2, fileInfo2, file2) => {
21
+ if (fileInfo2.isFile()) {
22
+ if (file2 && file2.length > 5) {
23
+ const len = file2.length
24
+ const fileExt = file2.substr(len - 5, len - 1)
25
+ if (fileExt === '.html') {
26
+ input[file] = fullPath2
27
+ }
28
+ }
29
+ }
30
+ })
31
+ }
32
+ })
33
+ console.log('input=', input)
34
+ return input
35
+ }
@@ -0,0 +1,3 @@
1
+ const { getPages } = require('./rollup-options')
2
+
3
+ getPages()