safecheck-client 3.0.33-62 → 3.0.33-63

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 (369) hide show
  1. package/.babelrc +5 -5
  2. package/.editorconfig +9 -9
  3. package/CHANGELOG.md +27 -27
  4. package/android.html +18 -18
  5. package/build/css-loaders.js +34 -34
  6. package/build/dev-android.js +151 -151
  7. package/build/dev-client.js +8 -8
  8. package/build/release.sh +28 -28
  9. package/build/utils.js +71 -71
  10. package/build/webpack.baseandroid.conf.js +83 -83
  11. package/build/webpack.devandroid.conf.js +33 -33
  12. package/build/webpack.example.conf.js +49 -49
  13. package/build/webpack.hanwei.conf.js +57 -57
  14. package/build/webpack.hwbase.conf.js +78 -78
  15. package/build/webpack.prodandroid.conf.js +60 -60
  16. package/build/webpack.test.conf.js +31 -31
  17. package/build.gradle +14 -14
  18. package/config/dev.env.js +6 -6
  19. package/config/index.js +38 -38
  20. package/config/prod.env.js +3 -3
  21. package/config/test.env.js +6 -6
  22. package/docs/AppBase.md +22 -22
  23. package/docs/Busy.md +14 -14
  24. package/docs/Criteria.md +47 -47
  25. package/docs/CriteriaPaged.md +47 -47
  26. package/docs/DataGrid.md +54 -54
  27. package/docs/DataModel.md +22 -22
  28. package/docs/Dynamic.md +42 -42
  29. package/docs/FormPrint.md +18 -18
  30. package/docs/GetParams.md +11 -11
  31. package/docs/GridTree.md +47 -47
  32. package/docs/HttpBusy.md +13 -13
  33. package/docs/HttpStore.md +29 -29
  34. package/docs/MessageBox.md +28 -28
  35. package/docs/PagedList.md +29 -29
  36. package/docs/Pager.md +21 -21
  37. package/docs/PrintFile.md +38 -38
  38. package/docs/Project.md +23 -23
  39. package/docs/Route.md +105 -105
  40. package/docs/SafetyCheck/AdjustPlan.md +13 -13
  41. package/docs/SafetyCheck/CheckerPlan.md +12 -12
  42. package/docs/Task.md +46 -46
  43. package/docs/TreeList.md +28 -28
  44. package/docs/TreeMixin.md +18 -18
  45. package/docs/all.md +10 -10
  46. package/docs/list.md +42 -42
  47. package/docs/partial.md +75 -75
  48. package/docs/selector.md +82 -82
  49. package/docs/tree.md +40 -40
  50. package/docs//345/274/200/345/217/221/346/226/207/346/241/243/Snippets.md +28 -28
  51. package/docs//345/274/200/345/217/221/346/226/207/346/241/243/vue-strap/345/217/230/346/233/264/350/256/260/345/275/225.md +7 -7
  52. package/docs//345/274/200/345/217/221/346/226/207/346/241/243/vue/345/217/230/346/233/264/350/256/260/345/275/225.md +13 -13
  53. package/docs//345/274/200/345/217/221/346/226/207/346/241/243//345/274/200/345/217/221/347/216/257/345/242/203/350/256/276/347/275/256.md +77 -77
  54. package/docs//347/225/214/351/235/242/345/210/266/344/275/234/350/247/204/350/214/203.md +54 -54
  55. package/examples/AddressList/App.vue +13 -13
  56. package/examples/AddressList/index.html +11 -11
  57. package/examples/AddressList/main.js +13 -13
  58. package/examples/ChangeConfig/index.html +17 -17
  59. package/examples/ChangeConfig/main.js +13 -13
  60. package/examples/CheckAdvise/comp.js +9 -9
  61. package/examples/CheckAdvise/index.html +18 -18
  62. package/examples/CheckAdvise/main.js +13 -13
  63. package/examples/CreatePlan/App.vue +13 -13
  64. package/examples/CreatePlan/index.html +11 -11
  65. package/examples/CreatePlan/main.js +13 -13
  66. package/examples/DispatchList/App.vue +10 -10
  67. package/examples/DispatchList/BaseTree.vue +13 -13
  68. package/examples/DispatchList/Init.vue +22 -22
  69. package/examples/DispatchList/Test.vue +20 -20
  70. package/examples/DispatchList/index.html +11 -11
  71. package/examples/DispatchList/main.js +18 -18
  72. package/examples/PhoneSafePlan/comp.js +33 -33
  73. package/examples/PhoneSafePlan/index.html +17 -17
  74. package/examples/PhoneSafePlan/main.js +13 -13
  75. package/examples/SafePlan/main.js +13 -13
  76. package/examples/SafePlan-aode/main.js +13 -13
  77. package/examples/SafePlanItem/index.html +17 -17
  78. package/examples/SafePlanItem/main.js +15 -15
  79. package/examples/Test/index.html +17 -17
  80. package/examples/Test/main.js +13 -13
  81. package/examples/Test//350/216/267/345/217/226/345/217/230/351/207/217 +2 -2
  82. package/examples/UserFiles/index.html +19 -19
  83. package/examples/UserFiles/main.js +13 -13
  84. package/home.html +16 -16
  85. package/oa.iml +8 -8
  86. package/package.json +1 -1
  87. package/publish.bat +7 -7
  88. package/release.bat +5 -5
  89. package/src/Widget.vue +13 -13
  90. package/src/android-bootstrap/fonts/glyphicons-halflings-regular.svg +287 -287
  91. package/src/android-bootstrap/less/.csscomb.json +304 -304
  92. package/src/android-bootstrap/less/.csslintrc +19 -19
  93. package/src/android-bootstrap/less/alerts.less +73 -73
  94. package/src/android-bootstrap/less/badges.less +66 -66
  95. package/src/android-bootstrap/less/bootstrap.less +56 -56
  96. package/src/android-bootstrap/less/breadcrumbs.less +26 -26
  97. package/src/android-bootstrap/less/button-groups.less +247 -247
  98. package/src/android-bootstrap/less/buttons.less +173 -173
  99. package/src/android-bootstrap/less/carousel.less +269 -269
  100. package/src/android-bootstrap/less/close.less +34 -34
  101. package/src/android-bootstrap/less/code.less +69 -69
  102. package/src/android-bootstrap/less/component-animations.less +33 -33
  103. package/src/android-bootstrap/less/dropdowns.less +216 -216
  104. package/src/android-bootstrap/less/forms.less +626 -626
  105. package/src/android-bootstrap/less/glyphicons.less +305 -305
  106. package/src/android-bootstrap/less/grid.less +84 -84
  107. package/src/android-bootstrap/less/input-groups.less +167 -167
  108. package/src/android-bootstrap/less/jumbotron.less +52 -52
  109. package/src/android-bootstrap/less/labels.less +64 -64
  110. package/src/android-bootstrap/less/list-group.less +141 -141
  111. package/src/android-bootstrap/less/media.less +66 -66
  112. package/src/android-bootstrap/less/mixins/alerts.less +14 -14
  113. package/src/android-bootstrap/less/mixins/background-variant.less +9 -9
  114. package/src/android-bootstrap/less/mixins/border-radius.less +18 -18
  115. package/src/android-bootstrap/less/mixins/buttons.less +69 -69
  116. package/src/android-bootstrap/less/mixins/center-block.less +7 -7
  117. package/src/android-bootstrap/less/mixins/clearfix.less +22 -22
  118. package/src/android-bootstrap/less/mixins/forms.less +90 -90
  119. package/src/android-bootstrap/less/mixins/gradients.less +59 -59
  120. package/src/android-bootstrap/less/mixins/grid-framework.less +92 -92
  121. package/src/android-bootstrap/less/mixins/grid.less +122 -122
  122. package/src/android-bootstrap/less/mixins/hide-text.less +21 -21
  123. package/src/android-bootstrap/less/mixins/image.less +33 -33
  124. package/src/android-bootstrap/less/mixins/labels.less +12 -12
  125. package/src/android-bootstrap/less/mixins/list-group.less +30 -30
  126. package/src/android-bootstrap/less/mixins/nav-divider.less +10 -10
  127. package/src/android-bootstrap/less/mixins/nav-vertical-align.less +9 -9
  128. package/src/android-bootstrap/less/mixins/opacity.less +8 -8
  129. package/src/android-bootstrap/less/mixins/pagination.less +24 -24
  130. package/src/android-bootstrap/less/mixins/panels.less +24 -24
  131. package/src/android-bootstrap/less/mixins/progress-bar.less +10 -10
  132. package/src/android-bootstrap/less/mixins/reset-filter.less +8 -8
  133. package/src/android-bootstrap/less/mixins/reset-text.less +18 -18
  134. package/src/android-bootstrap/less/mixins/resize.less +6 -6
  135. package/src/android-bootstrap/less/mixins/responsive-visibility.less +15 -15
  136. package/src/android-bootstrap/less/mixins/size.less +10 -10
  137. package/src/android-bootstrap/less/mixins/tab-focus.less +9 -9
  138. package/src/android-bootstrap/less/mixins/table-row.less +44 -44
  139. package/src/android-bootstrap/less/mixins/text-emphasis.less +9 -9
  140. package/src/android-bootstrap/less/mixins/text-overflow.less +8 -8
  141. package/src/android-bootstrap/less/mixins/vendor-prefixes.less +227 -227
  142. package/src/android-bootstrap/less/mixins.less +40 -40
  143. package/src/android-bootstrap/less/modals.less +151 -151
  144. package/src/android-bootstrap/less/navbar.less +660 -660
  145. package/src/android-bootstrap/less/navs.less +290 -290
  146. package/src/android-bootstrap/less/normalize.less +424 -424
  147. package/src/android-bootstrap/less/pager.less +76 -76
  148. package/src/android-bootstrap/less/pagination.less +89 -89
  149. package/src/android-bootstrap/less/panels.less +274 -274
  150. package/src/android-bootstrap/less/popovers.less +131 -131
  151. package/src/android-bootstrap/less/print.less +101 -101
  152. package/src/android-bootstrap/less/progress-bars.less +87 -87
  153. package/src/android-bootstrap/less/responsive-embed.less +35 -35
  154. package/src/android-bootstrap/less/responsive-utilities.less +194 -194
  155. package/src/android-bootstrap/less/scaffolding.less +161 -161
  156. package/src/android-bootstrap/less/tables.less +262 -262
  157. package/src/android-bootstrap/less/theme.less +291 -291
  158. package/src/android-bootstrap/less/thumbnails.less +36 -36
  159. package/src/android-bootstrap/less/tooltip.less +102 -102
  160. package/src/android-bootstrap/less/type.less +303 -303
  161. package/src/android-bootstrap/less/utilities.less +55 -55
  162. package/src/android-bootstrap/less/variables.less +896 -896
  163. package/src/android-bootstrap/less/wells.less +29 -29
  164. package/src/androidBase.js +177 -177
  165. package/src/androidTest.js +20 -20
  166. package/src/bootstrap/fonts/glyphicons-halflings-regular.svg +287 -287
  167. package/src/bootstrap/less/.csscomb.json +304 -304
  168. package/src/bootstrap/less/.csslintrc +19 -19
  169. package/src/bootstrap/less/alerts.less +73 -73
  170. package/src/bootstrap/less/aofeng/animate.min.css +10 -10
  171. package/src/bootstrap/less/aofeng/standard.less +2121 -2121
  172. package/src/bootstrap/less/aofeng/themeOne/BinaryTemplate.less +686 -686
  173. package/src/bootstrap/less/aofeng/themeOne/loginStyle.less +1586 -1586
  174. package/src/bootstrap/less/aofeng/themeOne/systemStyle.less +2650 -2650
  175. package/src/bootstrap/less/aofeng/themeOne.less +14 -14
  176. package/src/bootstrap/less/aofeng/themeTwo/newStyle1.less +415 -415
  177. package/src/bootstrap/less/aofeng/themeTwo.less +3 -3
  178. package/src/bootstrap/less/badges.less +66 -66
  179. package/src/bootstrap/less/breadcrumbs.less +26 -26
  180. package/src/bootstrap/less/button-groups.less +247 -247
  181. package/src/bootstrap/less/buttons.less +172 -172
  182. package/src/bootstrap/less/carousel.less +269 -269
  183. package/src/bootstrap/less/close.less +34 -34
  184. package/src/bootstrap/less/code.less +69 -69
  185. package/src/bootstrap/less/component-animations.less +33 -33
  186. package/src/bootstrap/less/dropdowns.less +216 -216
  187. package/src/bootstrap/less/forms.less +626 -626
  188. package/src/bootstrap/less/grid.less +84 -84
  189. package/src/bootstrap/less/input-groups.less +167 -167
  190. package/src/bootstrap/less/jumbotron.less +52 -52
  191. package/src/bootstrap/less/labels.less +64 -64
  192. package/src/bootstrap/less/list-group.less +141 -141
  193. package/src/bootstrap/less/manageStyle/manageChile.less +180 -180
  194. package/src/bootstrap/less/manageStyle/manageStyle.less +1102 -1102
  195. package/src/bootstrap/less/manageStyle/safeStyle.less +498 -498
  196. package/src/bootstrap/less/media.less +66 -66
  197. package/src/bootstrap/less/mixins/alerts.less +14 -14
  198. package/src/bootstrap/less/mixins/background-variant.less +9 -9
  199. package/src/bootstrap/less/mixins/border-radius.less +18 -18
  200. package/src/bootstrap/less/mixins/buttons.less +69 -69
  201. package/src/bootstrap/less/mixins/center-block.less +7 -7
  202. package/src/bootstrap/less/mixins/clearfix.less +22 -22
  203. package/src/bootstrap/less/mixins/forms.less +90 -90
  204. package/src/bootstrap/less/mixins/gradients.less +59 -59
  205. package/src/bootstrap/less/mixins/grid-framework.less +92 -92
  206. package/src/bootstrap/less/mixins/grid.less +122 -122
  207. package/src/bootstrap/less/mixins/hide-text.less +21 -21
  208. package/src/bootstrap/less/mixins/image.less +33 -33
  209. package/src/bootstrap/less/mixins/labels.less +12 -12
  210. package/src/bootstrap/less/mixins/list-group.less +30 -30
  211. package/src/bootstrap/less/mixins/nav-divider.less +10 -10
  212. package/src/bootstrap/less/mixins/nav-vertical-align.less +9 -9
  213. package/src/bootstrap/less/mixins/opacity.less +8 -8
  214. package/src/bootstrap/less/mixins/pagination.less +24 -24
  215. package/src/bootstrap/less/mixins/panels.less +24 -24
  216. package/src/bootstrap/less/mixins/progress-bar.less +10 -10
  217. package/src/bootstrap/less/mixins/reset-filter.less +8 -8
  218. package/src/bootstrap/less/mixins/reset-text.less +18 -18
  219. package/src/bootstrap/less/mixins/resize.less +6 -6
  220. package/src/bootstrap/less/mixins/responsive-visibility.less +15 -15
  221. package/src/bootstrap/less/mixins/size.less +10 -10
  222. package/src/bootstrap/less/mixins/tab-focus.less +9 -9
  223. package/src/bootstrap/less/mixins/table-row.less +44 -44
  224. package/src/bootstrap/less/mixins/text-emphasis.less +9 -9
  225. package/src/bootstrap/less/mixins/text-overflow.less +8 -8
  226. package/src/bootstrap/less/mixins/vendor-prefixes.less +227 -227
  227. package/src/bootstrap/less/mixins.less +40 -40
  228. package/src/bootstrap/less/modals.less +151 -151
  229. package/src/bootstrap/less/navbar.less +660 -660
  230. package/src/bootstrap/less/navs.less +285 -285
  231. package/src/bootstrap/less/normalize.less +424 -424
  232. package/src/bootstrap/less/pager.less +76 -76
  233. package/src/bootstrap/less/pagination.less +89 -89
  234. package/src/bootstrap/less/panels.less +275 -275
  235. package/src/bootstrap/less/popovers.less +131 -131
  236. package/src/bootstrap/less/print.less +101 -101
  237. package/src/bootstrap/less/progress-bars.less +87 -87
  238. package/src/bootstrap/less/responsive-embed.less +35 -35
  239. package/src/bootstrap/less/responsive-utilities.less +194 -194
  240. package/src/bootstrap/less/scaffolding.less +161 -161
  241. package/src/bootstrap/less/standard.less +503 -503
  242. package/src/bootstrap/less/systemStyle.less +860 -860
  243. package/src/bootstrap/less/tables.less +262 -262
  244. package/src/bootstrap/less/theme.less +291 -291
  245. package/src/bootstrap/less/themeOne.less +36 -36
  246. package/src/bootstrap/less/themeTwo.less +29 -29
  247. package/src/bootstrap/less/thumbnails.less +36 -36
  248. package/src/bootstrap/less/tooltip.less +102 -102
  249. package/src/bootstrap/less/type.less +303 -303
  250. package/src/bootstrap/less/utilities.less +55 -55
  251. package/src/bootstrap/less/wells.less +29 -29
  252. package/src/components/AloneLoadParams.vue +25 -25
  253. package/src/components/FileUpload.vue +696 -696
  254. package/src/components/Hello.vue +39 -39
  255. package/src/components/LeftTree.vue +27 -27
  256. package/src/components/Main.vue +393 -393
  257. package/src/components/android/AddGas.vue +147 -147
  258. package/src/components/android/AddressList.vue +61 -61
  259. package/src/components/android/AdviseCommit.vue +59 -59
  260. package/src/components/android/AndroidCheckResult.vue +181 -181
  261. package/src/components/android/AttendanceTally.vue +116 -116
  262. package/src/components/android/Blank.vue +10 -10
  263. package/src/components/android/CheckUnplanPage.vue +56 -56
  264. package/src/components/android/Checker.vue +12 -12
  265. package/src/components/android/CheckerAnnual.vue +81 -81
  266. package/src/components/android/CheckerAvarta.vue +82 -82
  267. package/src/components/android/CheckerMonthly.vue +84 -84
  268. package/src/components/android/DevicesNoncivil.vue +214 -214
  269. package/src/components/android/EquipmentInspection.vue +348 -348
  270. package/src/components/android/FootprintMap.vue +120 -120
  271. package/src/components/android/HiddentroubleInvestigation.vue +192 -192
  272. package/src/components/android/LcheckUnplan.vue +108 -108
  273. package/src/components/android/MasterMain.vue +77 -77
  274. package/src/components/android/Menu.vue +132 -132
  275. package/src/components/android/NavBottom.vue +157 -157
  276. package/src/components/android/PaperAlarm.vue +85 -85
  277. package/src/components/android/PaperDeviceNoncivil.vue +214 -214
  278. package/src/components/android/PhoneInfoTable.vue +40 -40
  279. package/src/components/android/PlumberAnnual.vue +83 -83
  280. package/src/components/android/PlumberAnnualDetail.vue +65 -65
  281. package/src/components/android/PlumberMonthly.vue +84 -84
  282. package/src/components/android/PostMap.vue +83 -83
  283. package/src/components/android/QueryCheckHistory.vue +122 -122
  284. package/src/components/android/QueryCheckHistoryItem.vue +62 -62
  285. package/src/components/android/RepairMain.vue +60 -60
  286. package/src/components/android/Repairman.vue +12 -12
  287. package/src/components/android/StationMaster.vue +12 -12
  288. package/src/components/android/wasm/comp.js +33 -33
  289. package/src/components/checkerphonestate/Checker.vue +32 -32
  290. package/src/components/checkerphonestate/CheckerState.vue +97 -97
  291. package/src/components/defects/AddDefectModal.vue +120 -120
  292. package/src/components/defects/AddDevice.vue +95 -95
  293. package/src/components/defects/DefectModal.vue +101 -101
  294. package/src/components/defects/DefectSeting.vue +98 -98
  295. package/src/components/defects/DefectsQuery.vue +190 -190
  296. package/src/components/defects/DevicesAndItem.vue +39 -39
  297. package/src/components/defects/DevicesSeting.vue +106 -106
  298. package/src/components/equipment/BoilerUsage.vue +105 -105
  299. package/src/components/equipment/CookerUsage.vue +105 -105
  300. package/src/components/equipment/DeviceUsage.vue +105 -105
  301. package/src/components/equipment/FurnaceUsage.vue +105 -105
  302. package/src/components/equipment/GasMeterUsage.vue +109 -109
  303. package/src/components/equipment/HeaterUsage.vue +105 -105
  304. package/src/components/gasusage/GasUsage.vue +126 -126
  305. package/src/components/issueplan/IssuePlanMain.vue +23 -23
  306. package/src/components/map/PersonTrack.vue +224 -224
  307. package/src/components/map/douglasPeuckerForAMap.js +88 -88
  308. package/src/components/metterfiles/AddUserfiles.vue +246 -246
  309. package/src/components/metterfiles/MetterFiles.vue +104 -104
  310. package/src/components/notice/NoticeForm.vue +100 -100
  311. package/src/components/notice/NoticeIssue.vue +20 -20
  312. package/src/components/notice/NoticeQuery.vue +76 -76
  313. package/src/components/paper/PicViewer.vue +18 -18
  314. package/src/components/paper/RepairVerify.vue +139 -139
  315. package/src/components/paper/RepairVerifyForm.vue +76 -76
  316. package/src/components/paper/VerifyForm.vue +107 -107
  317. package/src/components/phonestate/DailyTraffic.vue +57 -57
  318. package/src/components/phonestate/LastKnownState.vue +74 -74
  319. package/src/components/phonestate/MonthlyTraffic.vue +66 -66
  320. package/src/components/phonestate/MonthlyTrafficRouter.vue +15 -15
  321. package/src/components/phonestate/PostMap.vue +82 -82
  322. package/src/components/planmanage/PlanManage.vue +833 -833
  323. package/src/components/querycheckpaper/PaperItem.vue +59 -59
  324. package/src/components/querycheckpaper/PaperSearch.vue +126 -126
  325. package/src/components/task/RepairAnnual.vue +79 -79
  326. package/src/components/task/RepairAnnualDetail.vue +49 -49
  327. package/src/components/task/RepairMonthly.vue +91 -91
  328. package/src/components/task/TaskAnnual.vue +77 -77
  329. package/src/components/task/TaskAnnualDetail.vue +47 -47
  330. package/src/components/task/TaskMonthly.vue +89 -89
  331. package/src/components/userfile/MeterFile.vue +145 -145
  332. package/src/components/userfile/MeterModify.vue +46 -46
  333. package/src/components/userfile/UserFile.vue +118 -118
  334. package/src/components/userfile/UserfileChange.vue +277 -277
  335. package/src/components/userfileaudit/MeterAuditFile.vue +129 -129
  336. package/src/components/userfileaudit/UserFileaudit.vue +81 -81
  337. package/src/components/userfileaudit/UserfileChangeaudit.vue +239 -239
  338. package/src/expandcss.less +571 -571
  339. package/src/filiale/bayan/android/SafecheckOrderV.vue +2854 -2854
  340. package/src/filiale/weinan/android/SafecheckOrderV.vue +3325 -3325
  341. package/src/filiale/yongzhou/pc/safeDetail.vue +474 -474
  342. package/src/filiale/yongzhou/pc/safeStatistics.vue +127 -127
  343. package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +113 -113
  344. package/src/main.js +33 -33
  345. package/src/plugins/GerJsonConfig.js +59 -59
  346. package/src/plugins/LoadData.js +10 -10
  347. package/src/plugins/LoadParams.js +24 -24
  348. package/src/stores/AppData.js +46 -46
  349. package/src/stores/wxconfig.js +10 -10
  350. package/src/utils/getNowDate.js +33 -33
  351. package/test/SearchList.test.js +14 -14
  352. package/test/e2e/custom-assertions/elementCount.js +26 -26
  353. package/test/e2e/nightwatch.conf.js +40 -40
  354. package/test/e2e/runner.js +30 -30
  355. package/test/e2e/specs/test.js +13 -13
  356. package/test/unit/.eslintrc +5 -5
  357. package/test/unit/TestUtil.js +62 -62
  358. package/test/unit/context.html +20 -20
  359. package/test/unit/index.js +13 -13
  360. package/test/unit/init.js +11 -11
  361. package/test/unit/karma.conf.js +53 -53
  362. package/test/unit/specs/Devices.spec.js +18 -18
  363. package/test/unit/specs/getArrobjconfig.spec.js +104 -104
  364. package/test/unit/specs/getobjconfig.spec.js +37 -37
  365. package/test/unit/specs/phonetest/phonesafecheck.spec.js +23 -23
  366. package/test/unit/specs/safePlanItem.spec.js +30 -30
  367. package/test/unit/specs/safecheck-android.spec.js +7 -7
  368. package/test/unit/specs/safecheck.spec.js +127 -127
  369. package/yarn-error.log +140 -140
@@ -1,78 +1,78 @@
1
- var path = require('path')
2
- var cssLoaders = require('./css-loaders')
3
- var projectRoot = path.resolve(__dirname, '../')
4
-
5
- module.exports = {
6
- entry: {
7
- },
8
- output: {
9
- path: path.resolve(__dirname, '../dist/static'),
10
- publicPath: 'static/',
11
- filename: '[name].js'
12
- },
13
- resolve: {
14
- extensions: ['', '.js', '.vue'],
15
- fallback: [path.join(__dirname, '../node_modules')],
16
- alias: {
17
- 'src': path.resolve(__dirname, '../src')
18
- }
19
- },
20
- resolveLoader: {
21
- fallback: [path.join(__dirname, '../node_modules')]
22
- },
23
- module: {
24
- loaders: [
25
- {
26
- test: /\.vue$/,
27
- loader: 'vue'
28
- },
29
- {
30
- test: /\.js$/,
31
- loader: 'babel',
32
- include: [
33
- `${projectRoot}\\src`,
34
- `${projectRoot}\\build`,
35
- `${projectRoot}\\examples`,
36
- `${projectRoot}\\test`,
37
- `${projectRoot}\\node_modules\\vue-client\\src`,
38
- `${projectRoot}\\node_modules\\vue-strap\\src`,
39
- `${projectRoot}\\node_modules\\ol`
40
- ]
41
- },
42
- {
43
- test: /\.json$/,
44
- loader: 'json'
45
- },
46
- {
47
- test: /\.html$/,
48
- loader: 'vue-html'
49
- },
50
- {
51
- test: /\.less$/,
52
- loader: 'style!css!less'
53
- },
54
- {
55
- test: /\.(png|jpg|gif|svg|woff2?|eot|ttf)(\?.*)?$/,
56
- loader: 'url',
57
- query: {
58
- limit: 10000,
59
- name: '[name].[ext]?[hash:7]'
60
- }
61
- },
62
- {
63
- test: /\.css$/,
64
- loader: 'style!css'
65
- }
66
- ]
67
- },
68
- vue: {
69
- loaders: cssLoaders({
70
- sourceMap: false,
71
- extract: false
72
- })
73
- },
74
- plugins: [],
75
- eslint: {
76
- formatter: require('eslint-friendly-formatter')
77
- }
78
- }
1
+ var path = require('path')
2
+ var cssLoaders = require('./css-loaders')
3
+ var projectRoot = path.resolve(__dirname, '../')
4
+
5
+ module.exports = {
6
+ entry: {
7
+ },
8
+ output: {
9
+ path: path.resolve(__dirname, '../dist/static'),
10
+ publicPath: 'static/',
11
+ filename: '[name].js'
12
+ },
13
+ resolve: {
14
+ extensions: ['', '.js', '.vue'],
15
+ fallback: [path.join(__dirname, '../node_modules')],
16
+ alias: {
17
+ 'src': path.resolve(__dirname, '../src')
18
+ }
19
+ },
20
+ resolveLoader: {
21
+ fallback: [path.join(__dirname, '../node_modules')]
22
+ },
23
+ module: {
24
+ loaders: [
25
+ {
26
+ test: /\.vue$/,
27
+ loader: 'vue'
28
+ },
29
+ {
30
+ test: /\.js$/,
31
+ loader: 'babel',
32
+ include: [
33
+ `${projectRoot}\\src`,
34
+ `${projectRoot}\\build`,
35
+ `${projectRoot}\\examples`,
36
+ `${projectRoot}\\test`,
37
+ `${projectRoot}\\node_modules\\vue-client\\src`,
38
+ `${projectRoot}\\node_modules\\vue-strap\\src`,
39
+ `${projectRoot}\\node_modules\\ol`
40
+ ]
41
+ },
42
+ {
43
+ test: /\.json$/,
44
+ loader: 'json'
45
+ },
46
+ {
47
+ test: /\.html$/,
48
+ loader: 'vue-html'
49
+ },
50
+ {
51
+ test: /\.less$/,
52
+ loader: 'style!css!less'
53
+ },
54
+ {
55
+ test: /\.(png|jpg|gif|svg|woff2?|eot|ttf)(\?.*)?$/,
56
+ loader: 'url',
57
+ query: {
58
+ limit: 10000,
59
+ name: '[name].[ext]?[hash:7]'
60
+ }
61
+ },
62
+ {
63
+ test: /\.css$/,
64
+ loader: 'style!css'
65
+ }
66
+ ]
67
+ },
68
+ vue: {
69
+ loaders: cssLoaders({
70
+ sourceMap: false,
71
+ extract: false
72
+ })
73
+ },
74
+ plugins: [],
75
+ eslint: {
76
+ formatter: require('eslint-friendly-formatter')
77
+ }
78
+ }
@@ -1,60 +1,60 @@
1
- var webpack = require('webpack')
2
- var merge = require('webpack-merge')
3
- var baseConfig = require('./webpack.baseandroid.conf')
4
- var cssLoaders = require('./css-loaders')
5
- var ExtractTextPlugin = require('extract-text-webpack-plugin')
6
- var HtmlWebpackPlugin = require('html-webpack-plugin')
7
-
8
- // whether to generate source map for production files.
9
- // disabling this can speed up the build.
10
- var SOURCE_MAP = true
11
-
12
- module.exports = merge(baseConfig, {
13
- stats: {
14
- children: false
15
- },
16
- devtool: SOURCE_MAP ? '#source-map' : false,
17
- output: {
18
- // naming output files with hashes for better caching.
19
- // dist/index.html will be auto-generated with correct URLs.
20
- filename: '[name].js',
21
- chunkFilename: '[id].js'
22
- },
23
- vue: {
24
- loaders: cssLoaders({
25
- sourceMap: SOURCE_MAP,
26
- extract: true
27
- })
28
- },
29
- plugins: [
30
- // http://vuejs.github.io/vue-loader/workflow/production.html
31
- new webpack.DefinePlugin({
32
- 'process.env': {
33
- NODE_ENV: '"production"'
34
- }
35
- }),
36
- new webpack.optimize.UglifyJsPlugin({
37
- compress: {
38
- warnings: false
39
- }
40
- }),
41
- new webpack.optimize.OccurenceOrderPlugin(),
42
- // extract css into its own file
43
- new ExtractTextPlugin('[name].css'),
44
- // generate dist index.html with correct asset hash for caching.
45
- // you can customize output by editing /index.html
46
- // see https://github.com/ampedandwired/html-webpack-plugin
47
- new HtmlWebpackPlugin({
48
- filename: '../index.html',
49
- template: 'android.html',
50
- inject: true,
51
- minify: {
52
- removeComments: true,
53
- collapseWhitespace: true,
54
- removeAttributeQuotes: true
55
- // more options:
56
- // https://github.com/kangax/html-minifier#options-quick-reference
57
- }
58
- })
59
- ]
60
- })
1
+ var webpack = require('webpack')
2
+ var merge = require('webpack-merge')
3
+ var baseConfig = require('./webpack.baseandroid.conf')
4
+ var cssLoaders = require('./css-loaders')
5
+ var ExtractTextPlugin = require('extract-text-webpack-plugin')
6
+ var HtmlWebpackPlugin = require('html-webpack-plugin')
7
+
8
+ // whether to generate source map for production files.
9
+ // disabling this can speed up the build.
10
+ var SOURCE_MAP = true
11
+
12
+ module.exports = merge(baseConfig, {
13
+ stats: {
14
+ children: false
15
+ },
16
+ devtool: SOURCE_MAP ? '#source-map' : false,
17
+ output: {
18
+ // naming output files with hashes for better caching.
19
+ // dist/index.html will be auto-generated with correct URLs.
20
+ filename: '[name].js',
21
+ chunkFilename: '[id].js'
22
+ },
23
+ vue: {
24
+ loaders: cssLoaders({
25
+ sourceMap: SOURCE_MAP,
26
+ extract: true
27
+ })
28
+ },
29
+ plugins: [
30
+ // http://vuejs.github.io/vue-loader/workflow/production.html
31
+ new webpack.DefinePlugin({
32
+ 'process.env': {
33
+ NODE_ENV: '"production"'
34
+ }
35
+ }),
36
+ new webpack.optimize.UglifyJsPlugin({
37
+ compress: {
38
+ warnings: false
39
+ }
40
+ }),
41
+ new webpack.optimize.OccurenceOrderPlugin(),
42
+ // extract css into its own file
43
+ new ExtractTextPlugin('[name].css'),
44
+ // generate dist index.html with correct asset hash for caching.
45
+ // you can customize output by editing /index.html
46
+ // see https://github.com/ampedandwired/html-webpack-plugin
47
+ new HtmlWebpackPlugin({
48
+ filename: '../index.html',
49
+ template: 'android.html',
50
+ inject: true,
51
+ minify: {
52
+ removeComments: true,
53
+ collapseWhitespace: true,
54
+ removeAttributeQuotes: true
55
+ // more options:
56
+ // https://github.com/kangax/html-minifier#options-quick-reference
57
+ }
58
+ })
59
+ ]
60
+ })
@@ -1,31 +1,31 @@
1
- // This is the webpack config used for unit tests.
2
-
3
- var utils = require('./utils')
4
- var webpack = require('webpack')
5
- var merge = require('webpack-merge')
6
- var baseConfig = require('./webpack.base.conf')
7
-
8
- var webpackConfig = merge(baseConfig, {
9
- module: {
10
- rules: utils.styleLoaders()
11
- },
12
- // use inline sourcemap for karma-sourcemap-loader
13
- devtool: '#inline-source-map',
14
- resolveLoader: {
15
- alias: {
16
- // necessary to to make lang="scss" work in test when using vue-loader's ?inject option
17
- // see discussion at https://github.com/vuejs/vue-loader/issues/724
18
- 'scss-loader': 'sass-loader'
19
- }
20
- },
21
- plugins: [
22
- new webpack.DefinePlugin({
23
- 'process.env': require('../config/test.env')
24
- })
25
- ]
26
- })
27
-
28
- // no need for app entry during tests
29
- delete webpackConfig.entry
30
-
31
- module.exports = webpackConfig
1
+ // This is the webpack config used for unit tests.
2
+
3
+ var utils = require('./utils')
4
+ var webpack = require('webpack')
5
+ var merge = require('webpack-merge')
6
+ var baseConfig = require('./webpack.base.conf')
7
+
8
+ var webpackConfig = merge(baseConfig, {
9
+ module: {
10
+ rules: utils.styleLoaders()
11
+ },
12
+ // use inline sourcemap for karma-sourcemap-loader
13
+ devtool: '#inline-source-map',
14
+ resolveLoader: {
15
+ alias: {
16
+ // necessary to to make lang="scss" work in test when using vue-loader's ?inject option
17
+ // see discussion at https://github.com/vuejs/vue-loader/issues/724
18
+ 'scss-loader': 'sass-loader'
19
+ }
20
+ },
21
+ plugins: [
22
+ new webpack.DefinePlugin({
23
+ 'process.env': require('../config/test.env')
24
+ })
25
+ ]
26
+ })
27
+
28
+ // no need for app entry during tests
29
+ delete webpackConfig.entry
30
+
31
+ module.exports = webpackConfig
package/build.gradle CHANGED
@@ -1,14 +1,14 @@
1
- buildscript {
2
- repositories {
3
- mavenCentral()
4
- jcenter()
5
- }
6
- }
7
-
8
- version = '1.15.6-9'
9
-
10
- apply plugin: 'java'
11
- task release(type:Exec) {
12
- workingDir '.'
13
- commandLine 'cmd', '/c', 'release.bat ' + version
14
- }
1
+ buildscript {
2
+ repositories {
3
+ mavenCentral()
4
+ jcenter()
5
+ }
6
+ }
7
+
8
+ version = '1.15.6-9'
9
+
10
+ apply plugin: 'java'
11
+ task release(type:Exec) {
12
+ workingDir '.'
13
+ commandLine 'cmd', '/c', 'release.bat ' + version
14
+ }
package/config/dev.env.js CHANGED
@@ -1,6 +1,6 @@
1
- var merge = require('webpack-merge')
2
- var prodEnv = require('./prod.env')
3
-
4
- module.exports = merge(prodEnv, {
5
- NODE_ENV: '"development"'
6
- })
1
+ var merge = require('webpack-merge')
2
+ var prodEnv = require('./prod.env')
3
+
4
+ module.exports = merge(prodEnv, {
5
+ NODE_ENV: '"development"'
6
+ })
package/config/index.js CHANGED
@@ -1,38 +1,38 @@
1
- // see http://vuejs-templates.github.io/webpack for documentation.
2
- var path = require('path')
3
-
4
- module.exports = {
5
- build: {
6
- env: require('./prod.env'),
7
- index: path.resolve(__dirname, '../dist/index.html'),
8
- assetsRoot: path.resolve(__dirname, '../dist'),
9
- assetsSubDirectory: 'static',
10
- assetsPublicPath: '/',
11
- productionSourceMap: true,
12
- // Gzip off by default as many popular static hosts such as
13
- // Surge or Netlify already gzip all static assets for you.
14
- // Before setting to `true`, make sure to:
15
- // npm install --save-dev compression-webpack-plugin
16
- productionGzip: false,
17
- productionGzipExtensions: ['js', 'css'],
18
- // Run the build command with an extra argument to
19
- // View the bundle analyzer report after build finishes:
20
- // `npm run build --report`
21
- // Set to `true` or `false` to always turn it on or off
22
- bundleAnalyzerReport: process.env.npm_config_report
23
- },
24
- dev: {
25
- env: require('./dev.env'),
26
- port: 8080,
27
- autoOpenBrowser: true,
28
- assetsSubDirectory: 'static',
29
- assetsPublicPath: '/',
30
- proxyTable: {},
31
- // CSS Sourcemaps off by default because relative paths are "buggy"
32
- // with this option, according to the CSS-Loader README
33
- // (https://github.com/webpack/css-loader#sourcemaps)
34
- // In our experience, they generally work as expected,
35
- // just be aware of this issue when enabling this option.
36
- cssSourceMap: false
37
- }
38
- }
1
+ // see http://vuejs-templates.github.io/webpack for documentation.
2
+ var path = require('path')
3
+
4
+ module.exports = {
5
+ build: {
6
+ env: require('./prod.env'),
7
+ index: path.resolve(__dirname, '../dist/index.html'),
8
+ assetsRoot: path.resolve(__dirname, '../dist'),
9
+ assetsSubDirectory: 'static',
10
+ assetsPublicPath: '/',
11
+ productionSourceMap: true,
12
+ // Gzip off by default as many popular static hosts such as
13
+ // Surge or Netlify already gzip all static assets for you.
14
+ // Before setting to `true`, make sure to:
15
+ // npm install --save-dev compression-webpack-plugin
16
+ productionGzip: false,
17
+ productionGzipExtensions: ['js', 'css'],
18
+ // Run the build command with an extra argument to
19
+ // View the bundle analyzer report after build finishes:
20
+ // `npm run build --report`
21
+ // Set to `true` or `false` to always turn it on or off
22
+ bundleAnalyzerReport: process.env.npm_config_report
23
+ },
24
+ dev: {
25
+ env: require('./dev.env'),
26
+ port: 8080,
27
+ autoOpenBrowser: true,
28
+ assetsSubDirectory: 'static',
29
+ assetsPublicPath: '/',
30
+ proxyTable: {},
31
+ // CSS Sourcemaps off by default because relative paths are "buggy"
32
+ // with this option, according to the CSS-Loader README
33
+ // (https://github.com/webpack/css-loader#sourcemaps)
34
+ // In our experience, they generally work as expected,
35
+ // just be aware of this issue when enabling this option.
36
+ cssSourceMap: false
37
+ }
38
+ }
@@ -1,3 +1,3 @@
1
- module.exports = {
2
- NODE_ENV: '"production"'
3
- }
1
+ module.exports = {
2
+ NODE_ENV: '"production"'
3
+ }
@@ -1,6 +1,6 @@
1
- var merge = require('webpack-merge')
2
- var devEnv = require('./dev.env')
3
-
4
- module.exports = merge(devEnv, {
5
- NODE_ENV: '"testing"'
6
- })
1
+ var merge = require('webpack-merge')
2
+ var devEnv = require('./dev.env')
3
+
4
+ module.exports = merge(devEnv, {
5
+ NODE_ENV: '"testing"'
6
+ })
package/docs/AppBase.md CHANGED
@@ -1,22 +1,22 @@
1
- # AppBase
2
-
3
- 提供对话框,http访问等app基础
4
-
5
- ## 用法
6
-
7
- 用默认slot提供实际应用内容。
8
-
9
- ```html
10
- <app-base>
11
- <div partial>
12
- </div>
13
- </app-base>
14
- ```
15
-
16
- ## 高度纠正
17
-
18
- AppBase对采用了弹性盒模型布局组件的高度进行纠正,有`span`样式的元素,将进行如下绑定:
19
-
20
- ```
21
- e.style.height = e.offsetHeight
22
- ```
1
+ # AppBase
2
+
3
+ 提供对话框,http访问等app基础
4
+
5
+ ## 用法
6
+
7
+ 用默认slot提供实际应用内容。
8
+
9
+ ```html
10
+ <app-base>
11
+ <div partial>
12
+ </div>
13
+ </app-base>
14
+ ```
15
+
16
+ ## 高度纠正
17
+
18
+ AppBase对采用了弹性盒模型布局组件的高度进行纠正,有`span`样式的元素,将进行如下绑定:
19
+
20
+ ```
21
+ e.style.height = e.offsetHeight
22
+ ```
package/docs/Busy.md CHANGED
@@ -1,14 +1,14 @@
1
- # Busy
2
-
3
- 当后台进行处理时,显示正在工作。
4
-
5
- ## 用法
6
-
7
- 通过参数isBusy指明是否忙,通过slot='normal'指明不忙时,正常显示的组件,通过slot='busy'指明繁忙时的显示内容。
8
-
9
- ```html
10
- <busy :is-busy="isBusy">
11
- <span slot='normal'>正常组件</span>
12
- <span slot='busy'>系统正在工作,请耐心等候!</span>
13
- </busy>
14
- ```
1
+ # Busy
2
+
3
+ 当后台进行处理时,显示正在工作。
4
+
5
+ ## 用法
6
+
7
+ 通过参数isBusy指明是否忙,通过slot='normal'指明不忙时,正常显示的组件,通过slot='busy'指明繁忙时的显示内容。
8
+
9
+ ```html
10
+ <busy :is-busy="isBusy">
11
+ <span slot='normal'>正常组件</span>
12
+ <span slot='busy'>系统正在工作,请耐心等候!</span>
13
+ </busy>
14
+ ```
package/docs/Criteria.md CHANGED
@@ -1,47 +1,47 @@
1
- # Creteria
2
-
3
- 产生查询条件的组件
4
-
5
- ## 用法
6
- ``` html
7
- <criteria>
8
- <div partial>
9
- </div>
10
- </criteria>
11
- ```
12
- 在partial里放置查询条件,查询条件格式如下:
13
- ``` html
14
- <div>
15
- 地址:
16
- <input type="text"
17
- v-model="model.address"
18
- condition=" address {}%'"
19
- default-value="this.model.address.split('').reverse().join('')"
20
- />
21
- </div>
22
- <div>
23
- <button v-on:click="search()">查询</button>
24
- </div>
25
- ```
26
- 其中 v-model 指定查询条件对象的字段,字段前冠以`model.`前缀,`condition`属性为查询条件对应的查询条件, `default-value`为默认值,可以是字符串如'123',或者为javascript表达式,如引用model中的数据时表达式要以`this.model.`开始
27
-
28
- ## 查询条件
29
-
30
- 默认情况下,查询组件自己产生查询条件。如果查询条件比较复杂,父组件可以自己产生查询条件。办法如下:
31
-
32
- 1. 用`v-ref:creteria`为Creteria组件指定名称。
33
- 1. 给父组件添加查询条件的产生函数,比如search。
34
- 1. 添加按钮,该按钮在creteria组件外,按钮上配置`@click='search'`以便调用自己的产生条件的方法。
35
- 1. 在search函数内部,用`this.$refs.creteria`获得查询组件,进一步获得如下产生查询条件所必须的内容:
36
-
37
- * model:存放用户输入的字段内容
38
- * conditions: 以Json对象方式存放配置的查询条件
39
-
40
- 查询条件的生成结果放置在查询组件的condition属性里,外部可以通过给查询组件指定名称后,以`this.$refs.creteria.condition`方式获得查询条件
41
-
42
- ## 事件
43
-
44
- * condition-changed:
45
- 查询条件生成时触发,事件参数为:`{ condition:this.condition, model:this.model }`,其中:
46
- * condition:最终生成的查询条件
47
- * model:以Json对象方式指明用户输入的内容。
1
+ # Creteria
2
+
3
+ 产生查询条件的组件
4
+
5
+ ## 用法
6
+ ``` html
7
+ <criteria>
8
+ <div partial>
9
+ </div>
10
+ </criteria>
11
+ ```
12
+ 在partial里放置查询条件,查询条件格式如下:
13
+ ``` html
14
+ <div>
15
+ 地址:
16
+ <input type="text"
17
+ v-model="model.address"
18
+ condition=" address {}%'"
19
+ default-value="this.model.address.split('').reverse().join('')"
20
+ />
21
+ </div>
22
+ <div>
23
+ <button v-on:click="search()">查询</button>
24
+ </div>
25
+ ```
26
+ 其中 v-model 指定查询条件对象的字段,字段前冠以`model.`前缀,`condition`属性为查询条件对应的查询条件, `default-value`为默认值,可以是字符串如'123',或者为javascript表达式,如引用model中的数据时表达式要以`this.model.`开始
27
+
28
+ ## 查询条件
29
+
30
+ 默认情况下,查询组件自己产生查询条件。如果查询条件比较复杂,父组件可以自己产生查询条件。办法如下:
31
+
32
+ 1. 用`v-ref:creteria`为Creteria组件指定名称。
33
+ 1. 给父组件添加查询条件的产生函数,比如search。
34
+ 1. 添加按钮,该按钮在creteria组件外,按钮上配置`@click='search'`以便调用自己的产生条件的方法。
35
+ 1. 在search函数内部,用`this.$refs.creteria`获得查询组件,进一步获得如下产生查询条件所必须的内容:
36
+
37
+ * model:存放用户输入的字段内容
38
+ * conditions: 以Json对象方式存放配置的查询条件
39
+
40
+ 查询条件的生成结果放置在查询组件的condition属性里,外部可以通过给查询组件指定名称后,以`this.$refs.creteria.condition`方式获得查询条件
41
+
42
+ ## 事件
43
+
44
+ * condition-changed:
45
+ 查询条件生成时触发,事件参数为:`{ condition:this.condition, model:this.model }`,其中:
46
+ * condition:最终生成的查询条件
47
+ * model:以Json对象方式指明用户输入的内容。