system-clients 3.2.55-1 → 3.2.55-furuike

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 (251) hide show
  1. package/.babelrc +5 -5
  2. package/.editorconfig +9 -9
  3. package/.eslintrc.js +16 -16
  4. package/.gradle/7.4/checksums/checksums.lock +0 -0
  5. package/.gradle/7.4/dependencies-accessors/dependencies-accessors.lock +0 -0
  6. package/.gradle/7.4/executionHistory/executionHistory.bin +0 -0
  7. package/.gradle/7.4/executionHistory/executionHistory.lock +0 -0
  8. package/.gradle/7.4/fileHashes/fileHashes.bin +0 -0
  9. package/.gradle/7.4/fileHashes/fileHashes.lock +0 -0
  10. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  11. package/.gradle/buildOutputCleanup/cache.properties +1 -1
  12. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  13. package/.gradle/file-system.probe +0 -0
  14. package/CHANGELOG.md +51 -51
  15. package/README.md +36 -36
  16. package/SystemClient.iml +8 -8
  17. package/build/css-loaders.js +34 -34
  18. package/build/dev-client.js +8 -8
  19. package/build/example-server.js +80 -80
  20. package/build/release.sh +28 -28
  21. package/build/utils.js +71 -71
  22. package/build/webpack.base.conf.js +85 -85
  23. package/build/webpack.dev.conf.js +31 -31
  24. package/build/webpack.example.conf.js +49 -49
  25. package/build/webpack.prod.conf.js +60 -60
  26. package/build/webpack.test.conf.js +31 -31
  27. package/build.gradle +6 -6
  28. package/config/dev.env.js +6 -6
  29. package/config/index.js +38 -38
  30. package/config/prod.env.js +3 -3
  31. package/config/test.env.js +6 -6
  32. package/doc/Login.md +7 -7
  33. package/examples/LoginPage/App.vue +21 -21
  34. package/examples/LoginPage/index.html +11 -11
  35. package/examples/LoginPage/main.js +15 -15
  36. package/examples/ReadCard/App.vue +23 -23
  37. package/examples/ReadCard/index.html +11 -11
  38. package/examples/ReadCard/main.js +12 -12
  39. package/index.html +21 -21
  40. package/package.json +2 -2
  41. package/release.bat +5 -5
  42. package/src/App.vue +24 -24
  43. package/src/LodopFuncs.js +123 -123
  44. package/src/assets/binding.svg +1 -1
  45. package/src/assets/unbind.svg +1 -1
  46. package/src/assets//345/205/254/345/221/212.svg +1 -1
  47. package/src/assets//347/207/203/346/260/224/347/274/264/350/264/271.eps +116 -116
  48. package/src/assets//350/201/224/347/263/273/346/210/221/344/273/254.svg +1 -1
  49. package/src/components/List.vue +51 -51
  50. package/src/components/Main.vue +785 -785
  51. package/src/components/TabButton.vue +201 -201
  52. package/src/components/Table.js +74 -74
  53. package/src/components/Tabs.vue +67 -67
  54. package/src/components/Util.js +343 -343
  55. package/src/components/addressManage/AddressCascadingMenu.vue +145 -145
  56. package/src/components/equipment/EquipmentManage.vue +65 -65
  57. package/src/components/equipment/PcAdd.vue +105 -105
  58. package/src/components/equipment/PcList.vue +119 -119
  59. package/src/components/equipment/PcManage.vue +60 -60
  60. package/src/components/equipment/PhoneAdd.vue +107 -107
  61. package/src/components/equipment/PhoneList.vue +112 -112
  62. package/src/components/equipment/PhoneManage.vue +60 -60
  63. package/src/components/equipment/PosAdd.vue +323 -323
  64. package/src/components/equipment/PosList.vue +294 -294
  65. package/src/components/equipment/PosManage.vue +138 -138
  66. package/src/components/equipment/PosManageBoth.vue +125 -125
  67. package/src/components/equipment/PosParamAdd.vue +236 -236
  68. package/src/components/equipment/PosParamList.vue +121 -121
  69. package/src/components/equipment/PosParamManage.vue +51 -51
  70. package/src/components/materialManage/materialData.vue +44 -44
  71. package/src/components/materialManage/materialList.vue +255 -255
  72. package/src/components/parammanage/ParamManage.vue +42 -42
  73. package/src/components/parammanage/ParamManages.vue +43 -43
  74. package/src/components/parammanage/ParamPage.vue +336 -336
  75. package/src/components/parammanage/ParamPages.vue +222 -222
  76. package/src/components/parammanage/SinglePage.vue +235 -235
  77. package/src/components/parammanage/SinglePages.vue +167 -167
  78. package/src/components/server/AddChangeMsg.vue +66 -66
  79. package/src/components/server/ChangeDeclare.vue +45 -45
  80. package/src/components/server/IconTree.vue +26 -26
  81. package/src/components/server/ImageVieweTest.vue +56 -56
  82. package/src/components/server/ImageViewer.vue +350 -350
  83. package/src/components/server/LeftTree.vue +111 -111
  84. package/src/components/server/LoadData.vue +55 -55
  85. package/src/components/server/Login.vue +4 -2
  86. package/src/components/server/LoginPage.vue +235 -235
  87. package/src/components/server/LoginView.vue +128 -128
  88. package/src/components/server/Menu.vue +188 -188
  89. package/src/components/server/ModifyPw.vue +111 -111
  90. package/src/components/server/PcdBuildingSelect.vue +241 -241
  91. package/src/components/server/ResSelect.vue +155 -155
  92. package/src/components/server/ResSelectGroup.vue +198 -198
  93. package/src/components/server/RightTree.vue +348 -348
  94. package/src/components/server/RoleSelector.vue +88 -88
  95. package/src/components/server/TestResSelect.vue +58 -58
  96. package/src/components/server/TestResSelectGroup.vue +388 -388
  97. package/src/components/server/TestRightTree.vue +42 -42
  98. package/src/filiale/chengtou/Login.vue +537 -537
  99. package/src/filiale/chengtou/system.js +5 -5
  100. package/src/filiale/dongguan/Login.vue +900 -900
  101. package/src/filiale/dongguan/Main.vue +715 -715
  102. package/src/filiale/dongguan/system.js +6 -6
  103. package/src/filiale/furuike/Login.vue +583 -583
  104. package/src/filiale/furuike/Main.vue +826 -827
  105. package/src/filiale/furuike/system.js +7 -7
  106. package/src/filiale/konggang/Login.vue +470 -470
  107. package/src/filiale/konggang/system.js +7 -7
  108. package/src/filiale/qianneng/Main.vue +816 -816
  109. package/src/filiale/qianneng/ModifyPw.vue +107 -107
  110. package/src/filiale/qianneng/system.js +8 -8
  111. package/src/filiale/rizhao/LeftTree.vue +111 -111
  112. package/src/filiale/rizhao/Login.vue +791 -791
  113. package/src/filiale/rizhao/Main.vue +611 -611
  114. package/src/filiale/rizhao/system.js +14 -14
  115. package/src/filiale/tongchuan/Login.vue +561 -561
  116. package/src/filiale/tongchuan/system.js +7 -7
  117. package/src/filiale/wenxi/Login.vue +535 -535
  118. package/src/filiale/wenxi/Main.vue +785 -785
  119. package/src/filiale/wenxi/system.js +10 -10
  120. package/src/filiale/yuchuan/Login.vue +889 -889
  121. package/src/filiale/yuchuan/Main.vue +773 -773
  122. package/src/filiale/yuchuan/system.js +10 -10
  123. package/src/filiale/zhoukou/Main.vue +807 -807
  124. package/src/filiale/zhoukou/system.js +6 -6
  125. package/src/index.js +7 -7
  126. package/src/plugins/EncryptUtil.js +53 -53
  127. package/src/plugins/GetLoginInfoService.js +70 -82
  128. package/src/plugins/HeatGetLoginInfoService.js +491 -491
  129. package/src/plugins/validation.js +15 -15
  130. package/src/project/ProjectPage.vue +24 -24
  131. package/src/project/State.js +17 -17
  132. package/src/stores/AppData.js +38 -38
  133. package/src/stores/HeatAppData.js +38 -38
  134. package/src/styles/fonts/glyphicons-halflings-regular.svg +288 -288
  135. package/src/styles/less/.csscomb.json +304 -304
  136. package/src/styles/less/.csslintrc +19 -19
  137. package/src/styles/less/alerts.less +73 -73
  138. package/src/styles/less/aofeng/animate.min.css +10 -10
  139. package/src/styles/less/aofeng/expandcss.less +569 -569
  140. package/src/styles/less/aofeng/login.less +367 -367
  141. package/src/styles/less/aofeng/standard.less +2507 -2507
  142. package/src/styles/less/aofeng/themeOne/BinaryTemplate.less +686 -686
  143. package/src/styles/less/aofeng/themeOne/loginStyle.less +1586 -1586
  144. package/src/styles/less/aofeng/themeOne/systemStyle.less +2650 -2650
  145. package/src/styles/less/aofeng/themeOne.less +17 -17
  146. package/src/styles/less/aofeng/themeTwo/newStyle1.less +415 -415
  147. package/src/styles/less/aofeng/themeTwo.less +3 -3
  148. package/src/styles/less/badges.less +66 -66
  149. package/src/styles/less/bootstrap.less +66 -66
  150. package/src/styles/less/breadcrumbs.less +26 -26
  151. package/src/styles/less/button-groups.less +247 -247
  152. package/src/styles/less/buttons.less +172 -172
  153. package/src/styles/less/carousel.less +269 -269
  154. package/src/styles/less/close.less +34 -34
  155. package/src/styles/less/code.less +69 -69
  156. package/src/styles/less/component-animations.less +33 -33
  157. package/src/styles/less/dropdowns.less +216 -216
  158. package/src/styles/less/fonts-list.less +25 -25
  159. package/src/styles/less/forms.less +626 -626
  160. package/src/styles/less/glyphicons.less +305 -305
  161. package/src/styles/less/grid.less +84 -84
  162. package/src/styles/less/input-groups.less +167 -167
  163. package/src/styles/less/jumbotron.less +52 -52
  164. package/src/styles/less/labels.less +64 -64
  165. package/src/styles/less/list-group.less +141 -141
  166. package/src/styles/less/manageStyle/manageChile.less +180 -180
  167. package/src/styles/less/manageStyle/manageStyle/manageChile.less +180 -180
  168. package/src/styles/less/manageStyle/manageStyle/manageStyle.less +1102 -1102
  169. package/src/styles/less/manageStyle/manageStyle/safeStyle.less +498 -498
  170. package/src/styles/less/manageStyle/manageStyle.less +1102 -1102
  171. package/src/styles/less/manageStyle/safeStyle.less +498 -498
  172. package/src/styles/less/media.less +66 -66
  173. package/src/styles/less/mixins/alerts.less +14 -14
  174. package/src/styles/less/mixins/background-variant.less +9 -9
  175. package/src/styles/less/mixins/border-radius.less +18 -18
  176. package/src/styles/less/mixins/buttons.less +69 -69
  177. package/src/styles/less/mixins/center-block.less +7 -7
  178. package/src/styles/less/mixins/clearfix.less +22 -22
  179. package/src/styles/less/mixins/forms.less +90 -90
  180. package/src/styles/less/mixins/gradients.less +59 -59
  181. package/src/styles/less/mixins/grid-framework.less +92 -92
  182. package/src/styles/less/mixins/grid.less +122 -122
  183. package/src/styles/less/mixins/hide-text.less +21 -21
  184. package/src/styles/less/mixins/image.less +33 -33
  185. package/src/styles/less/mixins/labels.less +12 -12
  186. package/src/styles/less/mixins/list-group.less +30 -30
  187. package/src/styles/less/mixins/nav-divider.less +10 -10
  188. package/src/styles/less/mixins/nav-vertical-align.less +9 -9
  189. package/src/styles/less/mixins/opacity.less +8 -8
  190. package/src/styles/less/mixins/pagination.less +24 -24
  191. package/src/styles/less/mixins/panels.less +24 -24
  192. package/src/styles/less/mixins/progress-bar.less +10 -10
  193. package/src/styles/less/mixins/reset-filter.less +8 -8
  194. package/src/styles/less/mixins/reset-text.less +18 -18
  195. package/src/styles/less/mixins/resize.less +6 -6
  196. package/src/styles/less/mixins/responsive-visibility.less +15 -15
  197. package/src/styles/less/mixins/size.less +10 -10
  198. package/src/styles/less/mixins/tab-focus.less +9 -9
  199. package/src/styles/less/mixins/table-row.less +44 -44
  200. package/src/styles/less/mixins/text-emphasis.less +9 -9
  201. package/src/styles/less/mixins/text-overflow.less +8 -8
  202. package/src/styles/less/mixins/vendor-prefixes.less +227 -227
  203. package/src/styles/less/mixins.less +40 -40
  204. package/src/styles/less/modals.less +151 -151
  205. package/src/styles/less/navbar.less +660 -660
  206. package/src/styles/less/navs.less +285 -285
  207. package/src/styles/less/normalize.less +424 -424
  208. package/src/styles/less/pager.less +76 -76
  209. package/src/styles/less/pagination.less +89 -89
  210. package/src/styles/less/panels.less +275 -275
  211. package/src/styles/less/popovers.less +131 -131
  212. package/src/styles/less/print.less +101 -101
  213. package/src/styles/less/progress-bars.less +87 -87
  214. package/src/styles/less/responsive-embed.less +35 -35
  215. package/src/styles/less/responsive-utilities.less +194 -194
  216. package/src/styles/less/scaffolding.less +161 -161
  217. package/src/styles/less/stand.less +207 -207
  218. package/src/styles/less/tables.less +312 -312
  219. package/src/styles/less/theme.less +291 -291
  220. package/src/styles/less/thumbnails.less +36 -36
  221. package/src/styles/less/tooltip.less +102 -102
  222. package/src/styles/less/type.less +316 -316
  223. package/src/styles/less/utilities.less +55 -55
  224. package/src/styles/less/variables.less +899 -899
  225. package/src/styles/less/wells.less +29 -29
  226. package/src/system.js +113 -117
  227. package/src/systemphone.js +11 -11
  228. package/src/util/Daiban.json +12 -12
  229. package/src/util/LdapHelper.js +75 -75
  230. package/test/e2e/custom-assertions/elementCount.js +26 -26
  231. package/test/e2e/nightwatch.conf.js +40 -40
  232. package/test/e2e/runner.js +30 -30
  233. package/test/e2e/specs/test.js +14 -14
  234. package/test/unit/.eslintrc +5 -5
  235. package/test/unit/index.js +13 -13
  236. package/test/unit/init.js +10 -10
  237. package/test/unit/karma.conf.js +49 -49
  238. package/test/unit/specs/base64.spec.js +5 -5
  239. package/test/unit/specs/components/parammanage/ParamPage.spec.js +20 -20
  240. package/test/unit/specs/components/parammanage/SinglePage.spec.js +20 -20
  241. package/test/unit/specs/components/server/LeftTree/App.vue +18 -18
  242. package/test/unit/specs/components/server/LeftTree/LeftTree.spec.js +22 -22
  243. package/test/unit/specs/components/server/LoadData.spec.js +24 -24
  244. package/test/unit/specs/components/server/Login.spec.js +61 -61
  245. package/test/unit/specs/components/server/RightTree.spec.js +50 -50
  246. package/test/unit/specs/plugins/GetLoginInfoService.spec.js +55 -55
  247. package/test/unit/test.html +76 -76
  248. package/yarn-error.log +6896 -6896
  249. package/gradlew +0 -234
  250. package/gradlew.bat +0 -89
  251. package/src/components/common/ProgressBase.vue +0 -83
package/gradlew DELETED
@@ -1,234 +0,0 @@
1
- #!/bin/sh
2
-
3
- #
4
- # Copyright © 2015-2021 the original authors.
5
- #
6
- # Licensed under the Apache License, Version 2.0 (the "License");
7
- # you may not use this file except in compliance with the License.
8
- # You may obtain a copy of the License at
9
- #
10
- # https://www.apache.org/licenses/LICENSE-2.0
11
- #
12
- # Unless required by applicable law or agreed to in writing, software
13
- # distributed under the License is distributed on an "AS IS" BASIS,
14
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- # See the License for the specific language governing permissions and
16
- # limitations under the License.
17
- #
18
-
19
- ##############################################################################
20
- #
21
- # Gradle start up script for POSIX generated by Gradle.
22
- #
23
- # Important for running:
24
- #
25
- # (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is
26
- # noncompliant, but you have some other compliant shell such as ksh or
27
- # bash, then to run this script, type that shell name before the whole
28
- # command line, like:
29
- #
30
- # ksh Gradle
31
- #
32
- # Busybox and similar reduced shells will NOT work, because this script
33
- # requires all of these POSIX shell features:
34
- # * functions;
35
- # * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
36
- # «${var#prefix}», «${var%suffix}», and «$( cmd )»;
37
- # * compound commands having a testable exit status, especially «case»;
38
- # * various built-in commands including «command», «set», and «ulimit».
39
- #
40
- # Important for patching:
41
- #
42
- # (2) This script targets any POSIX shell, so it avoids extensions provided
43
- # by Bash, Ksh, etc; in particular arrays are avoided.
44
- #
45
- # The "traditional" practice of packing multiple parameters into a
46
- # space-separated string is a well documented source of bugs and security
47
- # problems, so this is (mostly) avoided, by progressively accumulating
48
- # options in "$@", and eventually passing that to Java.
49
- #
50
- # Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS,
51
- # and GRADLE_OPTS) rely on word-splitting, this is performed explicitly;
52
- # see the in-line comments for details.
53
- #
54
- # There are tweaks for specific operating systems such as AIX, CygWin,
55
- # Darwin, MinGW, and NonStop.
56
- #
57
- # (3) This script is generated from the Groovy template
58
- # https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
59
- # within the Gradle project.
60
- #
61
- # You can find Gradle at https://github.com/gradle/gradle/.
62
- #
63
- ##############################################################################
64
-
65
- # Attempt to set APP_HOME
66
-
67
- # Resolve links: $0 may be a link
68
- app_path=$0
69
-
70
- # Need this for daisy-chained symlinks.
71
- while
72
- APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path
73
- [ -h "$app_path" ]
74
- do
75
- ls=$( ls -ld "$app_path" )
76
- link=${ls#*' -> '}
77
- case $link in #(
78
- /*) app_path=$link ;; #(
79
- *) app_path=$APP_HOME$link ;;
80
- esac
81
- done
82
-
83
- APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
84
-
85
- APP_NAME="Gradle"
86
- APP_BASE_NAME=${0##*/}
87
-
88
- # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
89
- DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
90
-
91
- # Use the maximum available, or set MAX_FD != -1 to use that value.
92
- MAX_FD=maximum
93
-
94
- warn () {
95
- echo "$*"
96
- } >&2
97
-
98
- die () {
99
- echo
100
- echo "$*"
101
- echo
102
- exit 1
103
- } >&2
104
-
105
- # OS specific support (must be 'true' or 'false').
106
- cygwin=false
107
- msys=false
108
- darwin=false
109
- nonstop=false
110
- case "$( uname )" in #(
111
- CYGWIN* ) cygwin=true ;; #(
112
- Darwin* ) darwin=true ;; #(
113
- MSYS* | MINGW* ) msys=true ;; #(
114
- NONSTOP* ) nonstop=true ;;
115
- esac
116
-
117
- CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
118
-
119
-
120
- # Determine the Java command to use to start the JVM.
121
- if [ -n "$JAVA_HOME" ] ; then
122
- if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
123
- # IBM's JDK on AIX uses strange locations for the executables
124
- JAVACMD=$JAVA_HOME/jre/sh/java
125
- else
126
- JAVACMD=$JAVA_HOME/bin/java
127
- fi
128
- if [ ! -x "$JAVACMD" ] ; then
129
- die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
130
-
131
- Please set the JAVA_HOME variable in your environment to match the
132
- location of your Java installation."
133
- fi
134
- else
135
- JAVACMD=java
136
- which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
137
-
138
- Please set the JAVA_HOME variable in your environment to match the
139
- location of your Java installation."
140
- fi
141
-
142
- # Increase the maximum file descriptors if we can.
143
- if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
144
- case $MAX_FD in #(
145
- max*)
146
- MAX_FD=$( ulimit -H -n ) ||
147
- warn "Could not query maximum file descriptor limit"
148
- esac
149
- case $MAX_FD in #(
150
- '' | soft) :;; #(
151
- *)
152
- ulimit -n "$MAX_FD" ||
153
- warn "Could not set maximum file descriptor limit to $MAX_FD"
154
- esac
155
- fi
156
-
157
- # Collect all arguments for the java command, stacking in reverse order:
158
- # * args from the command line
159
- # * the main class name
160
- # * -classpath
161
- # * -D...appname settings
162
- # * --module-path (only if needed)
163
- # * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables.
164
-
165
- # For Cygwin or MSYS, switch paths to Windows format before running java
166
- if "$cygwin" || "$msys" ; then
167
- APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
168
- CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
169
-
170
- JAVACMD=$( cygpath --unix "$JAVACMD" )
171
-
172
- # Now convert the arguments - kludge to limit ourselves to /bin/sh
173
- for arg do
174
- if
175
- case $arg in #(
176
- -*) false ;; # don't mess with options #(
177
- /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath
178
- [ -e "$t" ] ;; #(
179
- *) false ;;
180
- esac
181
- then
182
- arg=$( cygpath --path --ignore --mixed "$arg" )
183
- fi
184
- # Roll the args list around exactly as many times as the number of
185
- # args, so each arg winds up back in the position where it started, but
186
- # possibly modified.
187
- #
188
- # NB: a `for` loop captures its iteration list before it begins, so
189
- # changing the positional parameters here affects neither the number of
190
- # iterations, nor the values presented in `arg`.
191
- shift # remove old arg
192
- set -- "$@" "$arg" # push replacement arg
193
- done
194
- fi
195
-
196
- # Collect all arguments for the java command;
197
- # * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
198
- # shell script including quotes and variable substitutions, so put them in
199
- # double quotes to make sure that they get re-expanded; and
200
- # * put everything else in single quotes, so that it's not re-expanded.
201
-
202
- set -- \
203
- "-Dorg.gradle.appname=$APP_BASE_NAME" \
204
- -classpath "$CLASSPATH" \
205
- org.gradle.wrapper.GradleWrapperMain \
206
- "$@"
207
-
208
- # Use "xargs" to parse quoted args.
209
- #
210
- # With -n1 it outputs one arg per line, with the quotes and backslashes removed.
211
- #
212
- # In Bash we could simply go:
213
- #
214
- # readarray ARGS < <( xargs -n1 <<<"$var" ) &&
215
- # set -- "${ARGS[@]}" "$@"
216
- #
217
- # but POSIX shell has neither arrays nor command substitution, so instead we
218
- # post-process each arg (as a line of input to sed) to backslash-escape any
219
- # character that might be a shell metacharacter, then use eval to reverse
220
- # that process (while maintaining the separation between arguments), and wrap
221
- # the whole thing up as a single "set" statement.
222
- #
223
- # This will of course break if any of these variables contains a newline or
224
- # an unmatched quote.
225
- #
226
-
227
- eval "set -- $(
228
- printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |
229
- xargs -n1 |
230
- sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' |
231
- tr '\n' ' '
232
- )" '"$@"'
233
-
234
- exec "$JAVACMD" "$@"
package/gradlew.bat DELETED
@@ -1,89 +0,0 @@
1
- @rem
2
- @rem Copyright 2015 the original author or authors.
3
- @rem
4
- @rem Licensed under the Apache License, Version 2.0 (the "License");
5
- @rem you may not use this file except in compliance with the License.
6
- @rem You may obtain a copy of the License at
7
- @rem
8
- @rem https://www.apache.org/licenses/LICENSE-2.0
9
- @rem
10
- @rem Unless required by applicable law or agreed to in writing, software
11
- @rem distributed under the License is distributed on an "AS IS" BASIS,
12
- @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- @rem See the License for the specific language governing permissions and
14
- @rem limitations under the License.
15
- @rem
16
-
17
- @if "%DEBUG%" == "" @echo off
18
- @rem ##########################################################################
19
- @rem
20
- @rem Gradle startup script for Windows
21
- @rem
22
- @rem ##########################################################################
23
-
24
- @rem Set local scope for the variables with windows NT shell
25
- if "%OS%"=="Windows_NT" setlocal
26
-
27
- set DIRNAME=%~dp0
28
- if "%DIRNAME%" == "" set DIRNAME=.
29
- set APP_BASE_NAME=%~n0
30
- set APP_HOME=%DIRNAME%
31
-
32
- @rem Resolve any "." and ".." in APP_HOME to make it shorter.
33
- for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
34
-
35
- @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
36
- set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
37
-
38
- @rem Find java.exe
39
- if defined JAVA_HOME goto findJavaFromJavaHome
40
-
41
- set JAVA_EXE=java.exe
42
- %JAVA_EXE% -version >NUL 2>&1
43
- if "%ERRORLEVEL%" == "0" goto execute
44
-
45
- echo.
46
- echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
47
- echo.
48
- echo Please set the JAVA_HOME variable in your environment to match the
49
- echo location of your Java installation.
50
-
51
- goto fail
52
-
53
- :findJavaFromJavaHome
54
- set JAVA_HOME=%JAVA_HOME:"=%
55
- set JAVA_EXE=%JAVA_HOME%/bin/java.exe
56
-
57
- if exist "%JAVA_EXE%" goto execute
58
-
59
- echo.
60
- echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
61
- echo.
62
- echo Please set the JAVA_HOME variable in your environment to match the
63
- echo location of your Java installation.
64
-
65
- goto fail
66
-
67
- :execute
68
- @rem Setup the command line
69
-
70
- set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
71
-
72
-
73
- @rem Execute Gradle
74
- "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
75
-
76
- :end
77
- @rem End local scope for the variables with windows NT shell
78
- if "%ERRORLEVEL%"=="0" goto mainEnd
79
-
80
- :fail
81
- rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
82
- rem the _cmd.exe /c_ return code!
83
- if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
84
- exit /b 1
85
-
86
- :mainEnd
87
- if "%OS%"=="Windows_NT" endlocal
88
-
89
- :omega
@@ -1,83 +0,0 @@
1
- <template>
2
- <div class="m-progress" style="width:100%">
3
- <div class="m-progress-outer">
4
- <div class="m-progress-inner">
5
- <div :class="['u-progress-bg', {'u-success-bg':getProgress(progress,width) >= 100}]" :style="{width: `${getProgress(progress,width) >= 100 ? 100:getProgress(progress,width)}%`,height: `${strokeWidth}px`}"></div>
6
- </div>
7
- </div>
8
- <div v-if="showInfo">
9
- <svg class="u-success" v-if="getProgress(progress,width)>=100" viewBox="64 64 896 896" data-icon="check-circle" aria-hidden="true" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 0 1-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"></path></svg>
10
- <p class="u-progress-text" v-else>{{getProgress(progress,width)>=100 ? 100:getProgress(progress,width) }}%</p>
11
- </div>
12
- </div>
13
- </template>
14
- <script>
15
- export default {
16
- name: 'Progress',
17
- props: {
18
- width: { // 进度条总宽度
19
- type: Number,
20
- default: 100
21
- },
22
- progress: { // 当前进度
23
- type: Number,
24
- default: 0
25
- },
26
- strokeWidth: { // 进度条线的宽度
27
- type: Number,
28
- default: 13
29
- },
30
- showInfo: { // 是否显示进度数值或状态图标
31
- type: Boolean,
32
- default: true
33
- }
34
- },
35
-
36
- methods: {
37
- // 进度的转换
38
- getProgress(val1,val2){
39
- if (val1 === 0 || val2 === 0) {
40
- return 0
41
- }
42
- return (Math.round(val1/val2 * 10000) /100)
43
- },
44
- }
45
- }
46
- </script>
47
- <style lang="less" scoped>
48
- .m-progress {
49
- height: 13px;
50
- margin: 0 auto;
51
- display: flex;
52
- .m-progress-outer {
53
- width: 61%;
54
- .m-progress-inner {
55
- display: inline-block;
56
- width: 100%;
57
- background: #f1f0f0;
58
- border-radius: 13px;
59
- .u-progress-bg {
60
- // background: #1890FF;
61
- background: linear-gradient(to right, rgb(16, 142, 233), rgb(135, 208, 104));
62
- border-radius: 100px;
63
- transition: all .3s cubic-bezier(.08,.82,.17,1);
64
- }
65
- .u-success-bg {
66
- border-radius: 100px;
67
- background: #52C41A;
68
- }
69
- }
70
- }
71
- .u-success {
72
- width: 12px;
73
- height: 12px;
74
- fill: #52C41A;
75
- margin-left: 2px;
76
- }
77
- .u-progress-text {
78
- font-size: 12px;
79
- margin-left: 2px;
80
- color: rgba(0,0,0,.45);
81
- }
82
- }
83
- </style>