@webos-tools/cli 3.1.2 → 3.2.0

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 (1402) hide show
  1. package/.eslintignore +1 -1
  2. package/.eslintrc.js +52 -52
  3. package/APIs.js +79 -79
  4. package/CHANGELOG.md +201 -166
  5. package/LICENSE +201 -201
  6. package/LICENSES/342/200/216/LicenseRef-3rd_party_licenses.txt +1355 -0
  7. package/README.md +226 -219
  8. package/bin/ares-config.js +211 -202
  9. package/bin/ares-device-info.js +30 -30
  10. package/bin/ares-device.js +222 -219
  11. package/bin/ares-generate.js +274 -274
  12. package/bin/ares-inspect.js +179 -179
  13. package/bin/ares-install.js +223 -223
  14. package/bin/ares-launch.js +318 -318
  15. package/bin/ares-log.js +259 -259
  16. package/bin/ares-novacom.js +220 -220
  17. package/bin/ares-package.js +347 -336
  18. package/bin/ares-pull.js +156 -156
  19. package/bin/ares-push.js +155 -155
  20. package/bin/ares-server.js +174 -174
  21. package/bin/ares-setup-device.js +577 -525
  22. package/bin/ares-shell.js +132 -132
  23. package/bin/ares.js +166 -166
  24. package/files/conf/ares.json +50 -49
  25. package/files/conf/command-service.json +78 -73
  26. package/files/conf/config.json +31 -31
  27. package/files/conf/ipk.json +30 -30
  28. package/files/conf/novacom-devices.json +69 -52
  29. package/files/conf/query/query-app.json +14 -14
  30. package/files/conf/query/query-hosted.json +18 -18
  31. package/files/conf/query/query-package.json +10 -10
  32. package/files/conf/query/query-service.json +6 -6
  33. package/files/conf/sdk.json +8 -8
  34. package/files/conf/template.json +57 -57
  35. package/files/conf/webos_emul +27 -27
  36. package/files/conf-base/env/sdk-apollo.json +8 -8
  37. package/files/conf-base/env/sdk-ose.json +8 -8
  38. package/files/conf-base/env/sdk-signage.json +8 -0
  39. package/files/conf-base/env/sdk-tv.json +8 -8
  40. package/files/conf-base/key/pubkey-signage.pem +9 -0
  41. package/files/conf-base/profile/config-apollo.json +29 -29
  42. package/files/conf-base/profile/config-ose.json +29 -29
  43. package/files/conf-base/profile/config-signage.json +29 -0
  44. package/files/conf-base/profile/config-tv.json +31 -31
  45. package/files/conf-base/query/query-app.json +14 -14
  46. package/files/conf-base/query/query-hosted.json +18 -18
  47. package/files/conf-base/query/query-package.json +10 -10
  48. package/files/conf-base/query/query-service.json +6 -6
  49. package/files/conf-base/query/signage/query-app.json +14 -0
  50. package/files/conf-base/query/signage/query-service.json +6 -0
  51. package/files/conf-base/template-conf/apollo-sdk-templates.json +55 -50
  52. package/files/conf-base/template-conf/ose-templates.json +67 -67
  53. package/files/conf-base/template-conf/signage-sdk-templates.json +239 -0
  54. package/files/conf-base/template-conf/tv-sdk-templates.json +57 -57
  55. package/files/help/ares-config.help +48 -48
  56. package/files/help/ares-device.help +109 -109
  57. package/files/help/ares-generate.help +101 -91
  58. package/files/help/ares-inspect.help +77 -76
  59. package/files/help/ares-install.help +95 -95
  60. package/files/help/ares-launch.help +111 -105
  61. package/files/help/ares-log-pmlogd.help +84 -84
  62. package/files/help/ares-log.help +101 -101
  63. package/files/help/ares-novacom.help +68 -68
  64. package/files/help/ares-package.help +103 -101
  65. package/files/help/ares-pull.help +38 -38
  66. package/files/help/ares-push.help +38 -38
  67. package/files/help/ares-server.help +44 -44
  68. package/files/help/ares-setup-device.help +196 -156
  69. package/files/help/ares-shell.help +42 -42
  70. package/files/help/ares.help +52 -52
  71. package/files/help/readme.help +23 -23
  72. package/files/schema/ApplicationDescription.schema +319 -319
  73. package/files/schema/NovacomDevices.schema +63 -62
  74. package/files/templates/apollo-sdk-templates/appinfo/appinfo.json +10 -10
  75. package/files/templates/apollo-sdk-templates/bootplate-web/index.html +88 -88
  76. package/files/templates/apollo-sdk-templates/hosted-webapp/index.html +13 -13
  77. package/files/templates/apollo-sdk-templates/js-service/helloclient.js +31 -31
  78. package/files/templates/apollo-sdk-templates/js-service/helloworld_webos_service.js +188 -188
  79. package/files/templates/apollo-sdk-templates/native-service/CMakeLists.txt +72 -0
  80. package/files/templates/apollo-sdk-templates/native-service/services.json +11 -0
  81. package/files/templates/apollo-sdk-templates/native-service/src/main.c +144 -0
  82. package/files/templates/apollo-sdk-templates/serviceinfo/package.json +11 -11
  83. package/files/templates/apollo-sdk-templates/serviceinfo/services.json +8 -8
  84. package/files/templates/ose-sdk-templates/appinfo/appinfo.json +10 -10
  85. package/files/templates/ose-sdk-templates/bootplate-web/index.html +88 -88
  86. package/files/templates/ose-sdk-templates/hosted-webapp/index.html +13 -13
  87. package/files/templates/ose-sdk-templates/js-service/helloclient.js +31 -31
  88. package/files/templates/ose-sdk-templates/js-service/helloworld_webos_service.js +188 -188
  89. package/files/templates/ose-sdk-templates/qml-app/main.qml +68 -68
  90. package/files/templates/ose-sdk-templates/qmlappinfo/appinfo.json +10 -10
  91. package/files/templates/ose-sdk-templates/serviceinfo/package.json +11 -11
  92. package/files/templates/ose-sdk-templates/serviceinfo/services.json +8 -8
  93. package/files/templates/signage-sdk-templates/Backlight_Scheduling/clockTable.js +29 -0
  94. package/files/templates/signage-sdk-templates/Backlight_Scheduling/index.html +53 -0
  95. package/files/templates/signage-sdk-templates/Backlight_Scheduling/js/idcap.js +21 -0
  96. package/files/templates/signage-sdk-templates/Backlight_Scheduling/remocon.js +214 -0
  97. package/files/templates/signage-sdk-templates/Backlight_Scheduling/scheduler.js +123 -0
  98. package/files/templates/signage-sdk-templates/Backlight_Scheduling/setanddelete.js +25 -0
  99. package/files/templates/signage-sdk-templates/Backlight_Scheduling/style.css +213 -0
  100. package/files/templates/signage-sdk-templates/Download_Progress/app.css +27 -0
  101. package/files/templates/signage-sdk-templates/Download_Progress/app.js +407 -0
  102. package/files/templates/signage-sdk-templates/Download_Progress/index.html +32 -0
  103. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova/2.7.0/cordova.webos.js +7038 -0
  104. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova/LICENSE +201 -0
  105. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.0/configuration.js +1 -0
  106. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.0/deviceInfo.js +1 -0
  107. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.0/inputSource.js +1 -0
  108. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.0/power.js +1 -0
  109. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.0/signage.js +1 -0
  110. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.0/sound.js +1 -0
  111. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.0/storage.js +1 -0
  112. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.0/video.js +1 -0
  113. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.1/configuration.js +1 -0
  114. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.1/deviceInfo.js +1 -0
  115. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.1/inputSource.js +1 -0
  116. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.1/power.js +1 -0
  117. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.1/signage.js +1 -0
  118. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.1/sound.js +1 -0
  119. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.1/storage.js +1 -0
  120. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.1/video.js +1 -0
  121. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.2/configuration.js +1 -0
  122. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.2/deviceInfo.js +1 -0
  123. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.2/inputSource.js +1 -0
  124. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.2/power.js +1 -0
  125. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.2/signage.js +1 -0
  126. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.2/sound.js +1 -0
  127. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.2/storage.js +23 -0
  128. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.2/video.js +1 -0
  129. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.3/configuration.js +1 -0
  130. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.3/deviceInfo.js +1 -0
  131. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.3/inputSource.js +1 -0
  132. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.3/power.js +1 -0
  133. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.3/signage.js +1 -0
  134. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.3/sound.js +1 -0
  135. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.3/storage.js +1 -0
  136. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.3/video.js +1 -0
  137. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/configuration.js +9 -0
  138. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/deviceInfo.js +9 -0
  139. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/inputSource.js +9 -0
  140. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/power.js +9 -0
  141. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/security.js +9 -0
  142. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/signage.js +9 -0
  143. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/sound.js +9 -0
  144. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/storage.js +9 -0
  145. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/time.js +9 -0
  146. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/utility.js +9 -0
  147. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/video.js +9 -0
  148. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/configuration.js +9 -0
  149. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/deviceInfo.js +9 -0
  150. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/inputSource.js +9 -0
  151. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/power.js +9 -0
  152. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/security.js +9 -0
  153. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/signage.js +9 -0
  154. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/sound.js +9 -0
  155. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/storage.js +9 -0
  156. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/time.js +9 -0
  157. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/utility.js +9 -0
  158. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/video.js +9 -0
  159. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/configuration.js +9 -0
  160. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/deviceInfo.js +9 -0
  161. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/inputSource.js +9 -0
  162. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/power.js +9 -0
  163. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/security.js +9 -0
  164. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/signage.js +8 -0
  165. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/sound.js +9 -0
  166. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/storage.js +9 -0
  167. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/time.js +9 -0
  168. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/utility.js +9 -0
  169. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/video.js +9 -0
  170. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/configuration.js +9 -0
  171. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/deviceInfo.js +9 -0
  172. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/inputSource.js +9 -0
  173. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/power.js +9 -0
  174. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/security.js +9 -0
  175. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/signage.js +9 -0
  176. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/sound.js +9 -0
  177. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/storage.js +9 -0
  178. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/time.js +9 -0
  179. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/utility.js +9 -0
  180. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/video.js +9 -0
  181. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/configuration.js +1 -0
  182. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/deviceInfo.js +1 -0
  183. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/inputSource.js +1 -0
  184. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/power.js +1 -0
  185. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/security.js +1 -0
  186. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/signage.js +1 -0
  187. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/sound.js +1 -0
  188. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/storage.js +1 -0
  189. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/time.js +1 -0
  190. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/utility.js +1 -0
  191. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/video.js +1 -0
  192. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/configuration.js +1 -0
  193. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/deviceInfo.js +1 -0
  194. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/inputSource.js +1 -0
  195. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/power.js +1 -0
  196. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/security.js +1 -0
  197. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/signage.js +1 -0
  198. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/sound.js +1 -0
  199. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/storage.js +1 -0
  200. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/time.js +1 -0
  201. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/utility.js +1 -0
  202. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/video.js +1 -0
  203. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/configuration.js +1 -0
  204. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/deviceInfo.js +1 -0
  205. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/inputSource.js +1 -0
  206. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/power.js +1 -0
  207. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/security.js +1 -0
  208. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/signage.js +1 -0
  209. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/sound.js +1 -0
  210. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/storage.js +1 -0
  211. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/time.js +1 -0
  212. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/utility.js +1 -0
  213. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/video.js +1 -0
  214. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/configuration.js +1 -0
  215. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/deviceInfo.js +1 -0
  216. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/inputSource.js +1 -0
  217. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/power.js +1 -0
  218. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/security.js +1 -0
  219. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/signage.js +1 -0
  220. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/sound.js +1 -0
  221. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/storage.js +1 -0
  222. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/time.js +1 -0
  223. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/utility.js +1 -0
  224. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/video.js +1 -0
  225. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/configuration.js +1 -0
  226. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/deviceInfo.js +1 -0
  227. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/inputSource.js +1 -0
  228. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/power.js +1 -0
  229. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/security.js +1 -0
  230. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/signage.js +1 -0
  231. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/sound.js +1 -0
  232. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/storage.js +1 -0
  233. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/time.js +1 -0
  234. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/utility.js +1 -0
  235. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/video.js +1 -0
  236. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/configuration.js +1 -0
  237. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/deviceInfo.js +1 -0
  238. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/inputSource.js +1 -0
  239. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/power.js +1 -0
  240. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/security.js +1 -0
  241. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/signage.js +1 -0
  242. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/sound.js +1 -0
  243. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/storage.js +1 -0
  244. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/time.js +1 -0
  245. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/utility.js +1 -0
  246. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/video.js +1 -0
  247. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/configuration.js +1 -0
  248. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/deviceInfo.js +1 -0
  249. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/inputSource.js +1 -0
  250. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/power.js +1 -0
  251. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/security.js +1 -0
  252. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/signage.js +1 -0
  253. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/sound.js +1 -0
  254. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/storage.js +1 -0
  255. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/time.js +1 -0
  256. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/utility.js +1 -0
  257. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/video.js +1 -0
  258. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/configuration.js +1 -0
  259. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/deviceInfo.js +1 -0
  260. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/inputSource.js +1 -0
  261. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/power.js +1 -0
  262. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/security.js +1 -0
  263. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/signage.js +1 -0
  264. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/sound.js +1 -0
  265. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/storage.js +1 -0
  266. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/time.js +1 -0
  267. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/utility.js +1 -0
  268. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/video.js +1 -0
  269. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/configuration.js +1 -0
  270. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/deviceInfo.js +1 -0
  271. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/inputSource.js +1 -0
  272. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/power.js +1 -0
  273. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/security.js +1 -0
  274. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/signage.js +1 -0
  275. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/sound.js +1 -0
  276. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/storage.js +1 -0
  277. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/time.js +1 -0
  278. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/utility.js +1 -0
  279. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/video.js +1 -0
  280. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/configuration.js +1 -0
  281. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/deviceInfo.js +1 -0
  282. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/inputSource.js +1 -0
  283. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/power.js +1 -0
  284. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/security.js +1 -0
  285. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/signage.js +1 -0
  286. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/sound.js +1 -0
  287. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/storage.js +1 -0
  288. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/time.js +1 -0
  289. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/utility.js +1 -0
  290. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/video.js +1 -0
  291. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/configuration.js +1 -0
  292. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/deviceInfo.js +1 -0
  293. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/inputSource.js +1 -0
  294. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/power.js +1 -0
  295. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/security.js +1 -0
  296. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/signage.js +1 -0
  297. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/sound.js +1 -0
  298. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/storage.js +1 -0
  299. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/time.js +1 -0
  300. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/utility.js +1 -0
  301. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/video.js +1 -0
  302. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/configuration.js +1 -0
  303. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/deviceInfo.js +1 -0
  304. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/inputSource.js +1 -0
  305. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/power.js +1 -0
  306. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/security.js +1 -0
  307. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/signage.js +1 -0
  308. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/sound.js +1 -0
  309. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/storage.js +1 -0
  310. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/time.js +1 -0
  311. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/utility.js +1 -0
  312. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/video.js +1 -0
  313. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/configuration.js +1 -0
  314. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/deviceInfo.js +1 -0
  315. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/inputSource.js +1 -0
  316. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/power.js +1 -0
  317. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/security.js +1 -0
  318. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/signage.js +1 -0
  319. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/sound.js +1 -0
  320. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/storage.js +1 -0
  321. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/time.js +1 -0
  322. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/utility.js +1 -0
  323. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/video.js +1 -0
  324. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/configuration.js +1 -0
  325. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/deviceInfo.js +1 -0
  326. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/inputSource.js +1 -0
  327. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/power.js +1 -0
  328. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/security.js +1 -0
  329. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/signage.js +1 -0
  330. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/sound.js +1 -0
  331. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/storage.js +1 -0
  332. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/time.js +1 -0
  333. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/utility.js +1 -0
  334. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/video.js +1 -0
  335. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/configuration.js +1 -0
  336. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/deviceInfo.js +1 -0
  337. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/inputSource.js +1 -0
  338. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/power.js +1 -0
  339. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/security.js +1 -0
  340. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/signage.js +1 -0
  341. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/sound.js +1 -0
  342. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/storage.js +1 -0
  343. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/time.js +1 -0
  344. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/utility.js +1 -0
  345. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/video.js +1 -0
  346. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/configuration.js +1 -0
  347. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/deviceInfo.js +1 -0
  348. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/inputSource.js +1 -0
  349. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/power.js +1 -0
  350. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/security.js +1 -0
  351. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/signage.js +1 -0
  352. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/sound.js +1 -0
  353. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/storage.js +1 -0
  354. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/time.js +1 -0
  355. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/utility.js +1 -0
  356. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/video.js +1 -0
  357. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/configuration.js +1 -0
  358. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/deviceInfo.js +1 -0
  359. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/inputSource.js +1 -0
  360. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/power.js +1 -0
  361. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/security.js +1 -0
  362. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/signage.js +1 -0
  363. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/sound.js +1 -0
  364. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/storage.js +1 -0
  365. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/time.js +1 -0
  366. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/utility.js +1 -0
  367. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/video.js +1 -0
  368. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/configuration.js +1 -0
  369. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/deviceInfo.js +1 -0
  370. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/inputSource.js +1 -0
  371. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/led.js +1 -0
  372. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/power.js +1 -0
  373. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/security.js +1 -0
  374. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/signage.js +1 -0
  375. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/sound.js +1 -0
  376. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/storage.js +1 -0
  377. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/time.js +1 -0
  378. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/utility.js +1 -0
  379. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/video.js +1 -0
  380. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/configuration.js +1 -0
  381. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/deviceInfo.js +1 -0
  382. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/inputSource.js +1 -0
  383. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/led.js +1 -0
  384. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/power.js +1 -0
  385. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/security.js +1 -0
  386. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/signage.js +1 -0
  387. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/sound.js +1 -0
  388. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/storage.js +1 -0
  389. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/time.js +1 -0
  390. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/utility.js +1 -0
  391. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/video.js +1 -0
  392. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/configuration.js +1 -0
  393. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/deviceInfo.js +1 -0
  394. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/inputSource.js +1 -0
  395. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/iot.js +1 -0
  396. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/power.js +1 -0
  397. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/security.js +1 -0
  398. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/signage.js +1 -0
  399. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/sound.js +1 -0
  400. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/storage.js +1 -0
  401. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/time.js +1 -0
  402. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/utility.js +1 -0
  403. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/video.js +1 -0
  404. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/configuration.js +1 -0
  405. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/deviceInfo.js +1 -0
  406. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/inputSource.js +1 -0
  407. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/iot.js +1 -0
  408. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/power.js +1 -0
  409. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/security.js +1 -0
  410. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/signage.js +1 -0
  411. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/sound.js +1 -0
  412. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/storage.js +1 -0
  413. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/time.js +1 -0
  414. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/utility.js +1 -0
  415. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/video.js +1 -0
  416. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/configuration.js +1 -0
  417. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/deviceInfo.js +1 -0
  418. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/inputSource.js +1 -0
  419. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/iot.js +1 -0
  420. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/led.js +1 -0
  421. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/power.js +1 -0
  422. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/security.js +1 -0
  423. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/signage.js +1 -0
  424. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/sound.js +1 -0
  425. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/storage.js +1 -0
  426. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/time.js +1 -0
  427. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/utility.js +1 -0
  428. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/video.js +1 -0
  429. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/configuration.js +1 -0
  430. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/deviceInfo.js +1 -0
  431. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/inputSource.js +1 -0
  432. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/iot.js +1 -0
  433. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/led.js +1 -0
  434. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/power.js +1 -0
  435. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/security.js +1 -0
  436. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/signage.js +1 -0
  437. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/sound.js +1 -0
  438. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/storage.js +1 -0
  439. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/time.js +1 -0
  440. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/utility.js +1 -0
  441. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/video.js +1 -0
  442. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/configuration.js +1 -0
  443. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/deviceInfo.js +1 -0
  444. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/inputSource.js +1 -0
  445. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/iot.js +1 -0
  446. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/power.js +1 -0
  447. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/security.js +1 -0
  448. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/signage.js +1 -0
  449. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/sound.js +1 -0
  450. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/storage.js +1 -0
  451. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/time.js +1 -0
  452. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/utility.js +1 -0
  453. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/video.js +1 -0
  454. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/configuration.js +1 -0
  455. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/deviceInfo.js +1 -0
  456. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/inputSource.js +1 -0
  457. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/iot.js +1 -0
  458. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/power.js +1 -0
  459. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/security.js +1 -0
  460. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/signage.js +1 -0
  461. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/sound.js +1 -0
  462. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/storage.js +1 -0
  463. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/time.js +1 -0
  464. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/utility.js +1 -0
  465. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/video.js +1 -0
  466. package/files/templates/signage-sdk-templates/Download_Progress/js/custom/custom1.2.js +14 -0
  467. package/files/templates/signage-sdk-templates/Download_Progress/js/custom/custom1.3.1.js +1 -0
  468. package/files/templates/signage-sdk-templates/Download_Progress/js/custom/custom1.3.js +1 -0
  469. package/files/templates/signage-sdk-templates/Download_Progress/js/custom/custom1.4.js +14 -0
  470. package/files/templates/signage-sdk-templates/Download_Progress/js/harmony/README.txt +40 -0
  471. package/files/templates/signage-sdk-templates/Download_Progress/js/harmony/gpio.js +16 -0
  472. package/files/templates/signage-sdk-templates/Download_Progress/js/harmony/gps.js +16 -0
  473. package/files/templates/signage-sdk-templates/Download_Progress/js/harmony/humidity.js +16 -0
  474. package/files/templates/signage-sdk-templates/Download_Progress/js/harmony/light.js +16 -0
  475. package/files/templates/signage-sdk-templates/Download_Progress/js/harmony/nfc.js +16 -0
  476. package/files/templates/signage-sdk-templates/Download_Progress/js/harmony/rfid.js +16 -0
  477. package/files/templates/signage-sdk-templates/Download_Progress/js/harmony/temperature.js +16 -0
  478. package/files/templates/signage-sdk-templates/Download_Progress/js/harmony/thermalPrinter.js +16 -0
  479. package/files/templates/signage-sdk-templates/Download_Progress/js/idcap.js +21 -0
  480. package/files/templates/signage-sdk-templates/Download_Progress/js/webOS/LICENSE-2.0.txt +202 -0
  481. package/files/templates/signage-sdk-templates/Download_Progress/js/webOS/webOS.js +1 -0
  482. package/files/templates/signage-sdk-templates/Download_Progress/res/webossignage_logo.png +0 -0
  483. package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/css/styles.css +270 -0
  484. package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/data/data.json +12 -0
  485. package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/fonts/MuseoSans300.otf +0 -0
  486. package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/fonts/MuseoSans700Italic.otf +0 -0
  487. package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/index.html +43 -0
  488. package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/js/controller.js +263 -0
  489. package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/js/helpers/util.js +130 -0
  490. package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/readme.txt +26 -0
  491. package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/res/images/tpl_01_img_sign.png +0 -0
  492. package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/res/images/tpl_01_logo_nike.png +0 -0
  493. package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/res/videos/tpl_01_video.mp4 +0 -0
  494. package/files/templates/signage-sdk-templates/File_Explorer/README.txt +16 -0
  495. package/files/templates/signage-sdk-templates/File_Explorer/index.html +44 -0
  496. package/files/templates/signage-sdk-templates/File_Explorer/js/Root.js +48 -0
  497. package/files/templates/signage-sdk-templates/File_Explorer/js/definition.js +59 -0
  498. package/files/templates/signage-sdk-templates/File_Explorer/js/explorer.js +367 -0
  499. package/files/templates/signage-sdk-templates/File_Explorer/js/explorerController.js +462 -0
  500. package/files/templates/signage-sdk-templates/File_Explorer/js/idcap.js +21 -0
  501. package/files/templates/signage-sdk-templates/File_Explorer/js/mainController.js +261 -0
  502. package/files/templates/signage-sdk-templates/File_Explorer/style.css +233 -0
  503. package/files/templates/signage-sdk-templates/Flight_Schedule/appinfo.json +11 -0
  504. package/files/templates/signage-sdk-templates/Flight_Schedule/css/styles.css +168 -0
  505. package/files/templates/signage-sdk-templates/Flight_Schedule/data/data.json +5 -0
  506. package/files/templates/signage-sdk-templates/Flight_Schedule/fonts/MuseoSans300.otf +0 -0
  507. package/files/templates/signage-sdk-templates/Flight_Schedule/fonts/MuseoSans500.otf +0 -0
  508. package/files/templates/signage-sdk-templates/Flight_Schedule/fonts/MuseoSans700.otf +0 -0
  509. package/files/templates/signage-sdk-templates/Flight_Schedule/images/AAir.png +0 -0
  510. package/files/templates/signage-sdk-templates/Flight_Schedule/images/BAirline.png +0 -0
  511. package/files/templates/signage-sdk-templates/Flight_Schedule/images/CAirline.png +0 -0
  512. package/files/templates/signage-sdk-templates/Flight_Schedule/images/DAir.png +0 -0
  513. package/files/templates/signage-sdk-templates/Flight_Schedule/images/EAirline.png +0 -0
  514. package/files/templates/signage-sdk-templates/Flight_Schedule/images/tpl_05_img_flight.png +0 -0
  515. package/files/templates/signage-sdk-templates/Flight_Schedule/index.html +32 -0
  516. package/files/templates/signage-sdk-templates/Flight_Schedule/js/controller.js +235 -0
  517. package/files/templates/signage-sdk-templates/Flight_Schedule/js/helpers/util.js +183 -0
  518. package/files/templates/signage-sdk-templates/Flight_Schedule/readme.txt +29 -0
  519. package/files/templates/signage-sdk-templates/Flight_Schedule/server/example.json +4 -0
  520. package/files/templates/signage-sdk-templates/Flight_Schedule/server/package.json +9 -0
  521. package/files/templates/signage-sdk-templates/Flight_Schedule/server/readme.txt +30 -0
  522. package/files/templates/signage-sdk-templates/Flight_Schedule/server/routes/flights.js +493 -0
  523. package/files/templates/signage-sdk-templates/Flight_Schedule/server/server.js +43 -0
  524. package/files/templates/signage-sdk-templates/Information_Board/css/styles.css +239 -0
  525. package/files/templates/signage-sdk-templates/Information_Board/data/data.json +49 -0
  526. package/files/templates/signage-sdk-templates/Information_Board/fonts/Museo Sans 300.otf +0 -0
  527. package/files/templates/signage-sdk-templates/Information_Board/fonts/Museo Sans 500.otf +0 -0
  528. package/files/templates/signage-sdk-templates/Information_Board/fonts/Museo Sans 700.otf +0 -0
  529. package/files/templates/signage-sdk-templates/Information_Board/index.html +101 -0
  530. package/files/templates/signage-sdk-templates/Information_Board/js/controller.js +111 -0
  531. package/files/templates/signage-sdk-templates/Information_Board/js/helpers/util.js +130 -0
  532. package/files/templates/signage-sdk-templates/Information_Board/readme.txt +22 -0
  533. package/files/templates/signage-sdk-templates/Information_Board/res/images/tpl_06_img_main_01.png +0 -0
  534. package/files/templates/signage-sdk-templates/Information_Board/res/images/tpl_06_img_news.png +0 -0
  535. package/files/templates/signage-sdk-templates/Information_Board/res/images/tpl_06_logo_harvard.png +0 -0
  536. package/files/templates/signage-sdk-templates/Information_Kiosk/css/styles.css +387 -0
  537. package/files/templates/signage-sdk-templates/Information_Kiosk/data/data.json +185 -0
  538. package/files/templates/signage-sdk-templates/Information_Kiosk/fonts/Museo Sans 300 Italic.otf +0 -0
  539. package/files/templates/signage-sdk-templates/Information_Kiosk/fonts/Museo Sans 300.otf +0 -0
  540. package/files/templates/signage-sdk-templates/Information_Kiosk/fonts/Museo Sans 500 Italic.otf +0 -0
  541. package/files/templates/signage-sdk-templates/Information_Kiosk/fonts/Museo Sans 500.otf +0 -0
  542. package/files/templates/signage-sdk-templates/Information_Kiosk/fonts/Museo Sans 700 Italic.otf +0 -0
  543. package/files/templates/signage-sdk-templates/Information_Kiosk/fonts/Museo Sans 700.otf +0 -0
  544. package/files/templates/signage-sdk-templates/Information_Kiosk/index.html +320 -0
  545. package/files/templates/signage-sdk-templates/Information_Kiosk/js/controller.js +373 -0
  546. package/files/templates/signage-sdk-templates/Information_Kiosk/js/helpers/util.js +130 -0
  547. package/files/templates/signage-sdk-templates/Information_Kiosk/readme.txt +26 -0
  548. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_btn_arrow_l_n.png +0 -0
  549. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_btn_arrow_l_p.png +0 -0
  550. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_btn_arrow_r_n.png +0 -0
  551. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_btn_arrow_r_p.png +0 -0
  552. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_btn_close_n.png +0 -0
  553. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_btn_close_p.png +0 -0
  554. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_btn_rotation_n.png +0 -0
  555. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_btn_rotation_p.png +0 -0
  556. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_bg_01.png +0 -0
  557. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_01.png +0 -0
  558. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_02.png +0 -0
  559. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_03.png +0 -0
  560. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_04.png +0 -0
  561. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_05.png +0 -0
  562. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_06.png +0 -0
  563. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_07.png +0 -0
  564. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_08.png +0 -0
  565. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_09.png +0 -0
  566. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_10.png +0 -0
  567. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_11.png +0 -0
  568. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_12.png +0 -0
  569. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_3_01.png +0 -0
  570. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_3_02.png +0 -0
  571. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_3_03.png +0 -0
  572. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_3_04.png +0 -0
  573. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_3_05.png +0 -0
  574. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_3_06.png +0 -0
  575. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_01.png +0 -0
  576. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_02.png +0 -0
  577. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_03.png +0 -0
  578. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_04.png +0 -0
  579. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_05.png +0 -0
  580. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_06.png +0 -0
  581. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_07.png +0 -0
  582. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_08.png +0 -0
  583. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_09.png +0 -0
  584. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_10.png +0 -0
  585. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_11.png +0 -0
  586. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_12.png +0 -0
  587. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_style_01.png +0 -0
  588. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_style_02.png +0 -0
  589. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_logo.png +0 -0
  590. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/index.html +40 -0
  591. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova/2.7.0/cordova.webos.js +7038 -0
  592. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova/LICENSE +201 -0
  593. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.2/configuration.js +1 -0
  594. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.2/deviceInfo.js +1 -0
  595. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.2/inputSource.js +1 -0
  596. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.2/power.js +1 -0
  597. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.2/signage.js +1 -0
  598. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.2/sound.js +1 -0
  599. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.2/storage.js +23 -0
  600. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.2/video.js +1 -0
  601. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.3/configuration.js +1 -0
  602. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.3/deviceInfo.js +1 -0
  603. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.3/inputSource.js +1 -0
  604. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.3/power.js +1 -0
  605. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.3/signage.js +1 -0
  606. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.3/sound.js +1 -0
  607. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.3/storage.js +1 -0
  608. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.3/video.js +1 -0
  609. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/configuration.js +1 -0
  610. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/deviceInfo.js +1 -0
  611. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/inputSource.js +1 -0
  612. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/power.js +1 -0
  613. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/security.js +1 -0
  614. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/signage.js +1 -0
  615. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/sound.js +1 -0
  616. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/storage.js +1 -0
  617. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/time.js +1 -0
  618. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/utility.js +1 -0
  619. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/video.js +1 -0
  620. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/configuration.js +1 -0
  621. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/deviceInfo.js +1 -0
  622. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/inputSource.js +1 -0
  623. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/power.js +1 -0
  624. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/security.js +1 -0
  625. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/signage.js +1 -0
  626. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/sound.js +1 -0
  627. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/storage.js +1 -0
  628. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/time.js +1 -0
  629. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/utility.js +1 -0
  630. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/video.js +1 -0
  631. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/configuration.js +1 -0
  632. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/deviceInfo.js +1 -0
  633. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/inputSource.js +1 -0
  634. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/led.js +1 -0
  635. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/power.js +1 -0
  636. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/security.js +1 -0
  637. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/signage.js +1 -0
  638. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/sound.js +1 -0
  639. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/storage.js +1 -0
  640. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/time.js +1 -0
  641. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/utility.js +1 -0
  642. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/video.js +1 -0
  643. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/configuration.js +1 -0
  644. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/deviceInfo.js +1 -0
  645. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/inputSource.js +1 -0
  646. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/iot.js +1 -0
  647. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/led.js +1 -0
  648. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/power.js +1 -0
  649. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/security.js +1 -0
  650. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/signage.js +1 -0
  651. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/sound.js +1 -0
  652. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/storage.js +1 -0
  653. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/time.js +1 -0
  654. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/utility.js +1 -0
  655. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/video.js +1 -0
  656. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/configuration.js +1 -0
  657. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/deviceInfo.js +1 -0
  658. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/inputSource.js +1 -0
  659. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/iot.js +1 -0
  660. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/power.js +1 -0
  661. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/security.js +1 -0
  662. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/signage.js +1 -0
  663. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/sound.js +1 -0
  664. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/storage.js +1 -0
  665. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/time.js +1 -0
  666. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/utility.js +1 -0
  667. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/video.js +1 -0
  668. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/custom1.4.js +14 -0
  669. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/idcap.js +21 -0
  670. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/initializer.js +234 -0
  671. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/remocon.js +73 -0
  672. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/scheduler.js +84 -0
  673. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/videoPlayer.js +352 -0
  674. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/remocon.png +0 -0
  675. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/style.css +99 -0
  676. package/files/templates/signage-sdk-templates/Mart/css/styles.css +248 -0
  677. package/files/templates/signage-sdk-templates/Mart/data/data.json +37 -0
  678. package/files/templates/signage-sdk-templates/Mart/fonts/Museo Sans 300 Italic.otf +0 -0
  679. package/files/templates/signage-sdk-templates/Mart/fonts/Museo Sans 300.otf +0 -0
  680. package/files/templates/signage-sdk-templates/Mart/fonts/Museo Sans 500.otf +0 -0
  681. package/files/templates/signage-sdk-templates/Mart/fonts/Museo Sans 700.otf +0 -0
  682. package/files/templates/signage-sdk-templates/Mart/index.html +81 -0
  683. package/files/templates/signage-sdk-templates/Mart/js/controller.js +102 -0
  684. package/files/templates/signage-sdk-templates/Mart/js/helpers/util.js +130 -0
  685. package/files/templates/signage-sdk-templates/Mart/readme.txt +26 -0
  686. package/files/templates/signage-sdk-templates/Mart/res/images/tpl_09_img.png +0 -0
  687. package/files/templates/signage-sdk-templates/Mart/res/images/tpl_09_img_bg.png +0 -0
  688. package/files/templates/signage-sdk-templates/Mart/res/images/tpl_09_img_brand.png +0 -0
  689. package/files/templates/signage-sdk-templates/Mart/res/images/tpl_09_img_list_01.png +0 -0
  690. package/files/templates/signage-sdk-templates/Mart/res/images/tpl_09_img_list_02.png +0 -0
  691. package/files/templates/signage-sdk-templates/Mart/res/images/tpl_09_img_list_03.png +0 -0
  692. package/files/templates/signage-sdk-templates/Mart/res/images/tpl_09_img_list_04.png +0 -0
  693. package/files/templates/signage-sdk-templates/Mart/res/images/tpl_09_img_tag.png +0 -0
  694. package/files/templates/signage-sdk-templates/Mart/res/images/tpl_09_logo.png +0 -0
  695. package/files/templates/signage-sdk-templates/Multimedia_Advertisement/css/styles.css +40 -0
  696. package/files/templates/signage-sdk-templates/Multimedia_Advertisement/data/data.json +6 -0
  697. package/files/templates/signage-sdk-templates/Multimedia_Advertisement/index.html +28 -0
  698. package/files/templates/signage-sdk-templates/Multimedia_Advertisement/js/controller.js +427 -0
  699. package/files/templates/signage-sdk-templates/Multimedia_Advertisement/js/helpers/util.js +134 -0
  700. package/files/templates/signage-sdk-templates/Multimedia_Advertisement/readme.txt +26 -0
  701. package/files/templates/signage-sdk-templates/Multimedia_Advertisement/res/images/tpl_02_img_poster.jpg +0 -0
  702. package/files/templates/signage-sdk-templates/Multimedia_Advertisement/res/videos/tpl_02_video_01.mp4 +0 -0
  703. package/files/templates/signage-sdk-templates/Multimedia_Advertisement/res/videos/tpl_02_video_02.mp4 +0 -0
  704. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/css/styles.css +163 -0
  705. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/data/data.json +92 -0
  706. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/fonts/MuseoSans300.otf +0 -0
  707. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/fonts/MuseoSans500.otf +0 -0
  708. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/fonts/MuseoSans700.otf +0 -0
  709. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/fonts/MuseoSans700Italic.otf +0 -0
  710. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/index.html +197 -0
  711. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/js/controller.js +158 -0
  712. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/js/helpers/util.js +130 -0
  713. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/readme.txt +26 -0
  714. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_bg_top.png +0 -0
  715. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_img_menu_01.png +0 -0
  716. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_img_menu_02.png +0 -0
  717. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_img_menu_03.png +0 -0
  718. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_img_menu_04.png +0 -0
  719. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_img_menu_05.png +0 -0
  720. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_img_menu_06.png +0 -0
  721. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_img_menu_07.png +0 -0
  722. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_img_menu_08.png +0 -0
  723. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_img_menu_09.png +0 -0
  724. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_logo.png +0 -0
  725. package/files/templates/signage-sdk-templates/Simple_Network_FailOver/index.html +29 -0
  726. package/files/templates/signage-sdk-templates/Simple_Network_FailOver/js/idcap.js +21 -0
  727. package/files/templates/signage-sdk-templates/Simple_Network_FailOver/networkMonitor.js +136 -0
  728. package/files/templates/signage-sdk-templates/Simple_Network_FailOver/style.css +142 -0
  729. package/files/templates/signage-sdk-templates/Special_Menu_Board/css/styles.css +281 -0
  730. package/files/templates/signage-sdk-templates/Special_Menu_Board/data/data.json +33 -0
  731. package/files/templates/signage-sdk-templates/Special_Menu_Board/fonts/Museo Sans 300 Italic.otf +0 -0
  732. package/files/templates/signage-sdk-templates/Special_Menu_Board/fonts/Museo Sans 300.otf +0 -0
  733. package/files/templates/signage-sdk-templates/Special_Menu_Board/fonts/Museo Sans 500 Italic.otf +0 -0
  734. package/files/templates/signage-sdk-templates/Special_Menu_Board/fonts/Museo Sans 500.otf +0 -0
  735. package/files/templates/signage-sdk-templates/Special_Menu_Board/fonts/Museo Sans 700 Italic.otf +0 -0
  736. package/files/templates/signage-sdk-templates/Special_Menu_Board/fonts/Museo Sans 700.otf +0 -0
  737. package/files/templates/signage-sdk-templates/Special_Menu_Board/index.html +110 -0
  738. package/files/templates/signage-sdk-templates/Special_Menu_Board/js/controller.js +171 -0
  739. package/files/templates/signage-sdk-templates/Special_Menu_Board/js/helpers/util.js +130 -0
  740. package/files/templates/signage-sdk-templates/Special_Menu_Board/readme.txt +26 -0
  741. package/files/templates/signage-sdk-templates/Special_Menu_Board/res/images/tpl_03_img_bg.png +0 -0
  742. package/files/templates/signage-sdk-templates/Special_Menu_Board/res/images/tpl_03_img_coffe_01.png +0 -0
  743. package/files/templates/signage-sdk-templates/Special_Menu_Board/res/images/tpl_03_img_coffe_01_l.png +0 -0
  744. package/files/templates/signage-sdk-templates/Special_Menu_Board/res/images/tpl_03_img_coffe_02.png +0 -0
  745. package/files/templates/signage-sdk-templates/Special_Menu_Board/res/images/tpl_03_img_coffe_03.png +0 -0
  746. package/files/templates/signage-sdk-templates/Special_Menu_Board/res/images/tpl_03_img_coffe_04.png +0 -0
  747. package/files/templates/signage-sdk-templates/Special_Menu_Board/res/images/tpl_03_img_coffe_05.png +0 -0
  748. package/files/templates/signage-sdk-templates/Special_Menu_Board/res/images/tpl_03_logo_01.png +0 -0
  749. package/files/templates/signage-sdk-templates/Special_Menu_Board/res/images/tpl_03_logo_02.png +0 -0
  750. package/files/templates/signage-sdk-templates/Wayfinder/css/styles.css +634 -0
  751. package/files/templates/signage-sdk-templates/Wayfinder/data/data.json +339 -0
  752. package/files/templates/signage-sdk-templates/Wayfinder/fonts/MuseoSans300.otf +0 -0
  753. package/files/templates/signage-sdk-templates/Wayfinder/fonts/MuseoSans500.otf +0 -0
  754. package/files/templates/signage-sdk-templates/Wayfinder/fonts/MuseoSans700.otf +0 -0
  755. package/files/templates/signage-sdk-templates/Wayfinder/fonts/MuseoSans700Italic.otf +0 -0
  756. package/files/templates/signage-sdk-templates/Wayfinder/index.html +171 -0
  757. package/files/templates/signage-sdk-templates/Wayfinder/js/controller.js +447 -0
  758. package/files/templates/signage-sdk-templates/Wayfinder/js/helpers/util.js +175 -0
  759. package/files/templates/signage-sdk-templates/Wayfinder/readme.txt +26 -0
  760. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_btn_back_n.png +0 -0
  761. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_icon_dot_n.png +0 -0
  762. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_icon_dot_s.png +0 -0
  763. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_01.png +0 -0
  764. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_02.png +0 -0
  765. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_03.png +0 -0
  766. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_all_01_d.png +0 -0
  767. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_all_01_n.png +0 -0
  768. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_all_02_d.png +0 -0
  769. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_all_02_n.png +0 -0
  770. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_all_03_d.png +0 -0
  771. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_all_03_n.png +0 -0
  772. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_all_shadow.png +0 -0
  773. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_home_01_n.png +0 -0
  774. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_home_02_n.png +0 -0
  775. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_home_03_n.png +0 -0
  776. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_point.png +0 -0
  777. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_point_shadow.png +0 -0
  778. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_list_icon_elevator.png +0 -0
  779. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_list_icon_escalator.png +0 -0
  780. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_list_icon_exit.png +0 -0
  781. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_list_icon_info.png +0 -0
  782. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_list_icon_parking.png +0 -0
  783. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_list_icon_toilet.png +0 -0
  784. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_logo_lg.png +0 -0
  785. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_logo_shoppingmall_name.png +0 -0
  786. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_logo_store.png +0 -0
  787. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_popup_bg.png +0 -0
  788. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/css/styles.css +136 -0
  789. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/data/data.json +33 -0
  790. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/fonts/Museo Sans 300.otf +0 -0
  791. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/fonts/Museo Sans 500.otf +0 -0
  792. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/fonts/Museo Sans 700.otf +0 -0
  793. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/index.html +51 -0
  794. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/js/controller.js +265 -0
  795. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/js/helpers/util.js +130 -0
  796. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/readme.txt +26 -0
  797. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/ajax.gif +0 -0
  798. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_icon_cloudy.png +0 -0
  799. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_icon_partlycloudy.png +0 -0
  800. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_icon_rainy.png +0 -0
  801. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_icon_snowy.png +0 -0
  802. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_icon_sunny.png +0 -0
  803. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_icon_thunder.png +0 -0
  804. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_icon_windy.png +0 -0
  805. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_img_01.png +0 -0
  806. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_img_02.png +0 -0
  807. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_img_03.png +0 -0
  808. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_img_04.png +0 -0
  809. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_img_05.png +0 -0
  810. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_img_06.png +0 -0
  811. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_img_07.png +0 -0
  812. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_logo.png +0 -0
  813. package/files/templates/signage-sdk-templates/Widget_Overlay/css/styles.css +312 -0
  814. package/files/templates/signage-sdk-templates/Widget_Overlay/data/data.json +16 -0
  815. package/files/templates/signage-sdk-templates/Widget_Overlay/data/newsWidget.json +21 -0
  816. package/files/templates/signage-sdk-templates/Widget_Overlay/data/shareWidget.json +112 -0
  817. package/files/templates/signage-sdk-templates/Widget_Overlay/data/weatherWidget.json +45 -0
  818. package/files/templates/signage-sdk-templates/Widget_Overlay/fonts/MuseoSans300.otf +0 -0
  819. package/files/templates/signage-sdk-templates/Widget_Overlay/fonts/MuseoSans500.otf +0 -0
  820. package/files/templates/signage-sdk-templates/Widget_Overlay/fonts/MuseoSans700.otf +0 -0
  821. package/files/templates/signage-sdk-templates/Widget_Overlay/index.html +62 -0
  822. package/files/templates/signage-sdk-templates/Widget_Overlay/js/controller.js +390 -0
  823. package/files/templates/signage-sdk-templates/Widget_Overlay/js/helpers/util.js +162 -0
  824. package/files/templates/signage-sdk-templates/Widget_Overlay/readme.txt +26 -0
  825. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/Namo.jpg +0 -0
  826. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/NotAvailable.png +0 -0
  827. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/clear.png +0 -0
  828. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/clouds.png +0 -0
  829. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/default.png +0 -0
  830. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/koreanFt.jpg +0 -0
  831. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/mist.png +0 -0
  832. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/rain.png +0 -0
  833. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/snow.png +0 -0
  834. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/thunder.png +0 -0
  835. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/tpl_07_icon_down_01.png +0 -0
  836. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/tpl_07_icon_down_02.png +0 -0
  837. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/tpl_07_icon_up_01.png +0 -0
  838. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/tpl_07_icon_up_02.png +0 -0
  839. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/tpl_07_img_news.png +0 -0
  840. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/tpl_07_img_news1.png +0 -0
  841. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/tpl_07_video_dim.png +0 -0
  842. package/files/templates/signage-sdk-templates/Widget_Overlay/res/videos/tpl_07_video.mp4 +0 -0
  843. package/files/templates/signage-sdk-templates/appinfo/appinfo.json +11 -0
  844. package/files/templates/signage-sdk-templates/idcap_api/1.1.0/js/idcap.js +21 -0
  845. package/files/templates/signage-sdk-templates/idcap_api/1.1.0/js/release_notes.txt +25 -0
  846. package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova/2.7.0/cordova.webos.js +7025 -0
  847. package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova/LICENSE +7025 -0
  848. package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova-cd/1.3/configuration.js +1 -0
  849. package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova-cd/1.3/deviceInfo.js +1 -0
  850. package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova-cd/1.3/inputSource.js +1 -0
  851. package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova-cd/1.3/power.js +1 -0
  852. package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova-cd/1.3/signage.js +1 -0
  853. package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova-cd/1.3/sound.js +1 -0
  854. package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova-cd/1.3/storage.js +1 -0
  855. package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova-cd/1.3/video.js +1 -0
  856. package/files/templates/signage-sdk-templates/scap_api/1.3/js/release_notes.txt +109 -0
  857. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova/2.7.0/cordova.webos.js +7038 -0
  858. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova/LICENSE +201 -0
  859. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/configuration.js +1 -0
  860. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/deviceInfo.js +1 -0
  861. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/inputSource.js +1 -0
  862. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/power.js +1 -0
  863. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/security.js +1 -0
  864. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/signage.js +1 -0
  865. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/sound.js +1 -0
  866. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/storage.js +1 -0
  867. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/time.js +1 -0
  868. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/utility.js +1 -0
  869. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/video.js +1 -0
  870. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/all.css +358 -0
  871. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/fonts/mplus-1m-bold-webfont.eot +0 -0
  872. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/fonts/mplus-1m-bold-webfont.svg +134 -0
  873. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/fonts/mplus-1m-bold-webfont.ttf +0 -0
  874. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/fonts/mplus-1m-bold-webfont.woff +0 -0
  875. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/fonts/mplus-1m-regular-webfont.eot +0 -0
  876. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/fonts/mplus-1m-regular-webfont.svg +134 -0
  877. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/fonts/mplus-1m-regular-webfont.ttf +0 -0
  878. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/fonts/mplus-1m-regular-webfont.woff +0 -0
  879. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/handheld.css +217 -0
  880. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/screen.css +405 -0
  881. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/files.html +577 -0
  882. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/index.html +1203 -0
  883. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/intro.html +100 -0
  884. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/all.js +326 -0
  885. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/dessert.css +34 -0
  886. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-apollo.js +51 -0
  887. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-clj.js +64 -0
  888. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-css.js +78 -0
  889. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-go.js +58 -0
  890. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-hs.js +101 -0
  891. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-lisp.js +93 -0
  892. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-lua.js +59 -0
  893. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-ml.js +56 -0
  894. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-n.js +62 -0
  895. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-proto.js +35 -0
  896. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-scala.js +54 -0
  897. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-sql.js +57 -0
  898. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-tex.js +46 -0
  899. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-vb.js +61 -0
  900. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-vhdl.js +34 -0
  901. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-wiki.js +53 -0
  902. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-xq.js +67 -0
  903. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-yaml.js +27 -0
  904. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/prettify.css +52 -0
  905. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/prettify.js +1477 -0
  906. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/html5.js +6 -0
  907. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#clearCache.html +550 -0
  908. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getCurrentTime.html +560 -0
  909. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getLocaleList.html +560 -0
  910. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getOSDLanguage.html +560 -0
  911. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getOSDLock.html +560 -0
  912. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getPictureMode.html +560 -0
  913. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getPictureProperty.html +560 -0
  914. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getProperty.html +561 -0
  915. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getServerProperty.html +560 -0
  916. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getTimeZone.html +560 -0
  917. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getTimeZoneList.html +560 -0
  918. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getUSBLock.html +560 -0
  919. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getVirtualKeyboardLanguage.html +560 -0
  920. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#restartApplication.html +550 -0
  921. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setCurrentTime.html +566 -0
  922. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setOSDLanguage.html +566 -0
  923. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setOSDLock.html +566 -0
  924. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setPictureMode.html +566 -0
  925. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setPictureProperty.html +566 -0
  926. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setProperty.html +561 -0
  927. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setServerProperty.html +610 -0
  928. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setTimeZone.html +566 -0
  929. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setUSBLock.html +566 -0
  930. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setVirtualKeyboardLanguage.html +566 -0
  931. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration.AppMode.html +685 -0
  932. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration.AppType.html +640 -0
  933. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration.PictureMode.html +910 -0
  934. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#connectWifi.html +561 -0
  935. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getBeaconInfo.html +560 -0
  936. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getEddystoneInfo.html +560 -0
  937. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getNetworkInfo.html +560 -0
  938. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getNetworkMacInfo.html +560 -0
  939. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getPlatformInfo.html +560 -0
  940. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getProxyInfo.html +560 -0
  941. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getSoftApInfo.html +560 -0
  942. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getSystemUsageInfo.html +566 -0
  943. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getWifiList.html +560 -0
  944. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getiBeaconInfo.html +560 -0
  945. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#setBeaconInfo.html +561 -0
  946. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#setEddystoneInfo.html +566 -0
  947. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#setNetworkInfo.html +561 -0
  948. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#setProxyInfo.html +566 -0
  949. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#setSoftApInfo.html +561 -0
  950. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#setiBeaconInfo.html +566 -0
  951. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#startWps.html +566 -0
  952. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#stopWps.html +555 -0
  953. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo.EddystoneFrame.html +640 -0
  954. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Error.ERROR_CODE.html +820 -0
  955. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Error.html +460 -0
  956. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/InputSource#changeInputSource.html +566 -0
  957. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/InputSource#getInputSourceStatus.html +560 -0
  958. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/InputSource#initialize.html +561 -0
  959. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#addOffTimer.html +566 -0
  960. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#addOnTimer.html +566 -0
  961. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#deleteOffTimer.html +566 -0
  962. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#deleteOnTimer.html +566 -0
  963. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#enableAllOffTimer.html +566 -0
  964. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#enableAllOnTimer.html +566 -0
  965. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#enableWakeOnLan.html +566 -0
  966. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#executePowerCommand.html +566 -0
  967. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#getDPMWakeup.html +560 -0
  968. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#getOffTimerList.html +560 -0
  969. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#getOnTimerList.html +560 -0
  970. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#getPMMode.html +560 -0
  971. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#getPowerOnDelay.html +560 -0
  972. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#getPowerStatus.html +560 -0
  973. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#setDPMWakeup.html +566 -0
  974. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#setDisplayMode.html +566 -0
  975. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#setPMMode.html +566 -0
  976. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#setPowerOnDelay.html +566 -0
  977. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power.DPMSignalType.html +640 -0
  978. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power.DisplayMode.html +640 -0
  979. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power.PMMode.html +775 -0
  980. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power.PowerCommand.html +640 -0
  981. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power.TimerWeek.html +910 -0
  982. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Security#existServerCertificate.html +561 -0
  983. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Security#registerServerCertificate.html +561 -2
  984. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Security#unregisterServerCertificate.html +561 -0
  985. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#captureScreen.html +561 -0
  986. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#enableCheckScreen.html +566 -0
  987. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getFailoverMode.html +555 -0
  988. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getIntelligentAuto.html +560 -0
  989. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getLanDaisyChain.html +560 -0
  990. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getPowerSaveMode.html +555 -0
  991. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getSignageInfo.html +555 -0
  992. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getStudioMode.html +560 -0
  993. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getSystemMonitoringInfo.html +555 -0
  994. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getTileInfo.html +555 -0
  995. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getUsageData.html +555 -0
  996. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getUsagePermission.html +555 -0
  997. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#registerSystemMonitor.html +573 -0
  998. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setDigitalAudioInputMode.html +567 -0
  999. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setFailoverMode.html +567 -0
  1000. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setIntelligentAuto.html +566 -0
  1001. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setIsmMethod.html +567 -0
  1002. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setLanDaisyChain.html +566 -0
  1003. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setPortraitMode.html +567 -0
  1004. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setPowerSaveMode.html +567 -0
  1005. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setStudioMode.html +566 -0
  1006. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setTileInfo.html +567 -0
  1007. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setUsagePermission.html +567 -0
  1008. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#unregisterSystemMonitor.html +555 -0
  1009. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.AutomaticStandbyMode.html +640 -0
  1010. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.DigitalAudioInput.html +640 -0
  1011. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.DpmMode.html +910 -0
  1012. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.EventType.html +775 -0
  1013. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.FailoverMode.html +685 -0
  1014. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.ImgResolution.html +640 -0
  1015. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.IsmMethod.html +910 -0
  1016. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.KeyOperationMode.html +685 -0
  1017. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.MonitoringSource.html +775 -0
  1018. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.OsdPortraitMode.html +640 -0
  1019. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound#getSoundMode.html +560 -0
  1020. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound#getSoundOut.html +560 -0
  1021. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound#getSoundStatus.html +560 -0
  1022. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound#setExternalSpeaker.html +566 -0
  1023. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound#setMuted.html +566 -0
  1024. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound#setSoundMode.html +566 -0
  1025. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound#setSoundOut.html +566 -0
  1026. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound#setVolumeLevel.html +566 -0
  1027. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound.SoundMode.html +820 -0
  1028. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound.SpeakerType.html +640 -0
  1029. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#changeLogoImage.html +566 -0
  1030. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#copyFile.html +561 -0
  1031. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#downloadFirmware.html +566 -0
  1032. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#exists.html +561 -0
  1033. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#fsync.html +561 -0
  1034. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#getFirmwareUpgradeStatus.html +560 -0
  1035. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#getStorageInfo.html +555 -0
  1036. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#listFiles.html +561 -0
  1037. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#mkdir.html +561 -0
  1038. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#moveFile.html +561 -0
  1039. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#readFile.html +563 -0
  1040. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#removeAll.html +561 -0
  1041. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#removeApplication.html +566 -0
  1042. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#removeFile.html +561 -0
  1043. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#statFile.html +561 -0
  1044. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#unzipFile.html +561 -0
  1045. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#upgradeApplication.html +566 -0
  1046. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#upgradeFirmware.html +560 -0
  1047. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#writeFile.html +561 -0
  1048. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage.AppMode.html +640 -0
  1049. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage.AppType.html +640 -0
  1050. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage.SCAP_URI.html +512 -0
  1051. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Time#addHolidaySchedule.html +566 -0
  1052. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Time#delAllHolidaySchedules.html +566 -0
  1053. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Time#delHolidaySchedule.html +566 -0
  1054. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Time#getAllHolidaySchedules.html +560 -0
  1055. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Time#getHolidayScheduleMode.html +560 -0
  1056. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Time#setHolidayScheduleMode.html +566 -0
  1057. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Utility#createToast.html +561 -0
  1058. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Video#getContentRotation.html +560 -0
  1059. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Video#getVideoStatus.html +560 -0
  1060. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Video#setContentRotation.html +566 -0
  1061. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Video#setRotatedVideoTransform.html +566 -0
  1062. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Video#setVideoSize.html +566 -0
  1063. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Video#setVideoViewTransform.html +566 -0
  1064. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/_global_.html +453 -0
  1065. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/image/media_status.jpg +0 -0
  1066. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/image/setVideoSize.png +0 -0
  1067. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_configuration.js.html +2651 -0
  1068. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_deviceInfo.js.html +1860 -0
  1069. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_inputSource.js.html +1382 -0
  1070. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_power.js.html +2697 -0
  1071. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_security.js.html +357 -0
  1072. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_signage.js.html +3601 -0
  1073. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_sound.js.html +1123 -0
  1074. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_storage.js.html +2615 -0
  1075. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_time.js.html +720 -0
  1076. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_utility.js.html +196 -0
  1077. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_video.js.html +1090 -0
  1078. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/release_notes.txt +148 -0
  1079. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova/2.7.0/cordova.webos.js +7038 -0
  1080. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova/LICENSE +201 -0
  1081. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/configuration.js +1 -0
  1082. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/deviceInfo.js +1 -0
  1083. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/inputSource.js +1 -0
  1084. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/power.js +1 -0
  1085. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/security.js +1 -0
  1086. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/signage.js +1 -0
  1087. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/sound.js +1 -0
  1088. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/storage.js +1 -0
  1089. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/time.js +1 -0
  1090. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/utility.js +1 -0
  1091. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/video.js +1 -0
  1092. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/all.css +358 -0
  1093. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/fonts/mplus-1m-bold-webfont.eot +0 -0
  1094. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/fonts/mplus-1m-bold-webfont.svg +134 -0
  1095. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/fonts/mplus-1m-bold-webfont.ttf +0 -0
  1096. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/fonts/mplus-1m-bold-webfont.woff +0 -0
  1097. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/fonts/mplus-1m-regular-webfont.eot +0 -0
  1098. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/fonts/mplus-1m-regular-webfont.svg +134 -0
  1099. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/fonts/mplus-1m-regular-webfont.ttf +0 -0
  1100. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/fonts/mplus-1m-regular-webfont.woff +0 -0
  1101. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/handheld.css +217 -0
  1102. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/screen.css +405 -0
  1103. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/files.html +599 -0
  1104. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/index.html +1280 -0
  1105. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/intro.html +100 -0
  1106. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/all.js +326 -0
  1107. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/dessert.css +34 -0
  1108. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-apollo.js +51 -0
  1109. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-clj.js +64 -0
  1110. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-css.js +78 -0
  1111. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-go.js +58 -0
  1112. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-hs.js +101 -0
  1113. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-lisp.js +93 -0
  1114. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-lua.js +59 -0
  1115. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-ml.js +56 -0
  1116. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-n.js +62 -0
  1117. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-proto.js +35 -0
  1118. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-scala.js +54 -0
  1119. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-sql.js +57 -0
  1120. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-tex.js +46 -0
  1121. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-vb.js +61 -0
  1122. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-vhdl.js +34 -0
  1123. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-wiki.js +53 -0
  1124. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-xq.js +67 -0
  1125. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-yaml.js +27 -0
  1126. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/prettify.css +52 -0
  1127. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/prettify.js +1477 -0
  1128. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/html5.js +6 -0
  1129. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#clearCache.html +572 -0
  1130. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getCurrentTime.html +582 -0
  1131. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getLocaleList.html +582 -0
  1132. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getOSDLanguage.html +582 -0
  1133. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getOSDLock.html +582 -0
  1134. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getPictureMode.html +582 -0
  1135. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getPictureProperty.html +582 -0
  1136. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getProperty.html +583 -0
  1137. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getServerProperty.html +582 -0
  1138. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getTimeZone.html +582 -0
  1139. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getTimeZoneList.html +582 -0
  1140. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getUSBLock.html +582 -0
  1141. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getVirtualKeyboardLanguage.html +582 -0
  1142. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#restartApplication.html +572 -0
  1143. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setCurrentTime.html +588 -0
  1144. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setOSDLanguage.html +588 -0
  1145. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setOSDLock.html +588 -0
  1146. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setPictureMode.html +588 -0
  1147. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setPictureProperty.html +588 -0
  1148. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setProperty.html +583 -0
  1149. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setServerProperty.html +632 -0
  1150. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setTimeZone.html +588 -0
  1151. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setUSBLock.html +588 -0
  1152. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setVirtualKeyboardLanguage.html +588 -0
  1153. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration.AppMode.html +707 -0
  1154. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration.AppType.html +662 -0
  1155. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration.PictureMode.html +932 -0
  1156. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#connectWifi.html +583 -0
  1157. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getBeaconInfo.html +582 -0
  1158. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getEddystoneInfo.html +582 -0
  1159. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getExternalInputList.html +588 -0
  1160. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getNetworkInfo.html +582 -0
  1161. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getNetworkMacInfo.html +582 -0
  1162. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getPlatformInfo.html +582 -0
  1163. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getProxyInfo.html +582 -0
  1164. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getSoftApInfo.html +582 -0
  1165. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getSystemUsageInfo.html +588 -0
  1166. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getWifiList.html +582 -0
  1167. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getiBeaconInfo.html +582 -0
  1168. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#setBeaconInfo.html +583 -0
  1169. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#setEddystoneInfo.html +588 -0
  1170. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#setNetworkInfo.html +583 -0
  1171. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#setProxyInfo.html +588 -0
  1172. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#setSoftApInfo.html +583 -0
  1173. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#setiBeaconInfo.html +588 -0
  1174. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#startWps.html +588 -0
  1175. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#stopWps.html +577 -0
  1176. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo.EddystoneFrame.html +662 -0
  1177. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Error.ERROR_CODE.html +842 -0
  1178. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Error.html +482 -0
  1179. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/InputSource#changeInputSource.html +588 -0
  1180. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/InputSource#getInputSourceStatus.html +582 -0
  1181. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/InputSource#initialize.html +583 -0
  1182. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#addOffTimer.html +588 -0
  1183. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#addOnTimer.html +588 -0
  1184. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#deleteOffTimer.html +588 -0
  1185. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#deleteOnTimer.html +588 -0
  1186. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#enableAllOffTimer.html +588 -0
  1187. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#enableAllOnTimer.html +588 -0
  1188. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#enableWakeOnLan.html +588 -0
  1189. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#executePowerCommand.html +588 -0
  1190. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#getDPMWakeup.html +582 -0
  1191. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#getOffTimerList.html +582 -0
  1192. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#getOnOffTimeSchedule.html +582 -0
  1193. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#getOnTimerList.html +582 -0
  1194. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#getPMMode.html +582 -0
  1195. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#getPowerOnDelay.html +582 -0
  1196. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#getPowerStatus.html +582 -0
  1197. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#setDPMWakeup.html +588 -0
  1198. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#setDisplayMode.html +588 -0
  1199. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#setOnOffTimeSchedule.html +583 -0
  1200. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#setPMMode.html +588 -0
  1201. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#setPowerOnDelay.html +588 -0
  1202. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#unsetOnOffTimeSchedule.html +582 -0
  1203. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power.DPMSignalType.html +662 -0
  1204. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power.DisplayMode.html +662 -0
  1205. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power.PMMode.html +797 -0
  1206. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power.PowerCommand.html +662 -0
  1207. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power.TimerWeek.html +932 -0
  1208. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Security#existServerCertificate.html +583 -0
  1209. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Security#registerServerCertificate.html +583 -2
  1210. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Security#unregisterServerCertificate.html +583 -0
  1211. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#captureScreen.html +583 -0
  1212. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#enableCheckScreen.html +588 -0
  1213. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getFailoverMode.html +577 -0
  1214. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getIntelligentAuto.html +582 -0
  1215. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getLanDaisyChain.html +582 -0
  1216. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getPowerSaveMode.html +577 -0
  1217. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getSignageInfo.html +577 -0
  1218. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getStudioMode.html +582 -0
  1219. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getSystemMonitoringInfo.html +577 -0
  1220. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getTileInfo.html +577 -0
  1221. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getUsageData.html +577 -0
  1222. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getUsagePermission.html +577 -0
  1223. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#registerRS232CEventListener.html +594 -0
  1224. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#registerSystemMonitor.html +595 -0
  1225. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setDigitalAudioInputMode.html +589 -0
  1226. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setFailoverMode.html +589 -0
  1227. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setIntelligentAuto.html +588 -0
  1228. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setIsmMethod.html +589 -0
  1229. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setLanDaisyChain.html +588 -0
  1230. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setPortraitMode.html +589 -0
  1231. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setPowerSaveMode.html +589 -0
  1232. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setStudioMode.html +588 -0
  1233. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setTileInfo.html +589 -0
  1234. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setUsagePermission.html +589 -0
  1235. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#unregisterRS232CEventListener.html +582 -0
  1236. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#unregisterSystemMonitor.html +577 -0
  1237. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.AutomaticStandbyMode.html +662 -0
  1238. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.DigitalAudioInput.html +662 -0
  1239. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.DpmMode.html +932 -0
  1240. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.EventType.html +797 -0
  1241. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.FailoverMode.html +707 -0
  1242. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.ImgResolution.html +662 -0
  1243. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.IsmMethod.html +932 -0
  1244. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.KeyOperationMode.html +707 -0
  1245. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.MonitoringSource.html +797 -0
  1246. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.OsdPortraitMode.html +662 -0
  1247. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound#getSoundMode.html +582 -0
  1248. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound#getSoundOut.html +582 -0
  1249. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound#getSoundStatus.html +582 -0
  1250. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound#setExternalSpeaker.html +588 -0
  1251. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound#setMuted.html +588 -0
  1252. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound#setSoundMode.html +588 -0
  1253. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound#setSoundOut.html +588 -0
  1254. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound#setVolumeLevel.html +588 -0
  1255. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound.SoundMode.html +842 -0
  1256. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound.SpeakerType.html +662 -0
  1257. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#changeLogoImage.html +588 -0
  1258. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#copyFile.html +583 -0
  1259. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#decryptFile.html +583 -0
  1260. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#downloadFirmware.html +588 -0
  1261. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#exists.html +583 -0
  1262. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#fsync.html +583 -0
  1263. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#getFirmwareUpgradeStatus.html +582 -0
  1264. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#getMD5Hash.html +583 -0
  1265. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#getStorageInfo.html +577 -0
  1266. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#listFiles.html +583 -0
  1267. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#mkdir.html +583 -0
  1268. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#moveFile.html +583 -0
  1269. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#readFile.html +585 -0
  1270. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#removeAll.html +583 -0
  1271. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#removeApplication.html +588 -0
  1272. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#removeFile.html +583 -0
  1273. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#statFile.html +583 -0
  1274. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#unzipFile.html +583 -0
  1275. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#upgradeApplication.html +588 -0
  1276. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#upgradeFirmware.html +582 -0
  1277. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#writeFile.html +583 -0
  1278. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage.AppMode.html +662 -0
  1279. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage.AppType.html +662 -0
  1280. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage.SCAP_URI.html +534 -0
  1281. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Time#addHolidaySchedule.html +588 -0
  1282. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Time#delAllHolidaySchedules.html +588 -0
  1283. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Time#delHolidaySchedule.html +588 -0
  1284. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Time#getAllHolidaySchedules.html +582 -0
  1285. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Time#getHolidaySchedule.html +582 -0
  1286. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Time#getHolidayScheduleMode.html +582 -0
  1287. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Time#setHolidaySchedule.html +583 -0
  1288. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Time#setHolidayScheduleMode.html +588 -0
  1289. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Time#unsetHolidaySchedule.html +582 -0
  1290. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Utility#createToast.html +583 -0
  1291. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Video#getContentRotation.html +586 -0
  1292. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Video#getVideoStatus.html +582 -0
  1293. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Video#setContentRotation.html +592 -0
  1294. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Video#setRotatedVideoTransform.html +592 -0
  1295. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Video#setVideoSize.html +588 -0
  1296. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Video#setVideoViewTransform.html +592 -0
  1297. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/_global_.html +475 -0
  1298. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/image/media_status.jpg +0 -0
  1299. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/image/setVideoSize.png +0 -0
  1300. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_configuration.js.html +2651 -0
  1301. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_deviceInfo.js.html +1930 -0
  1302. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_inputSource.js.html +1383 -0
  1303. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_power.js.html +2942 -0
  1304. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_security.js.html +352 -0
  1305. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_signage.js.html +3853 -0
  1306. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_sound.js.html +1123 -0
  1307. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_storage.js.html +2747 -0
  1308. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_time.js.html +976 -0
  1309. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_utility.js.html +196 -0
  1310. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_video.js.html +754 -0
  1311. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/release_notes.txt +148 -0
  1312. package/files/templates/signage-sdk-templates/serviceinfo/package.json +11 -0
  1313. package/files/templates/signage-sdk-templates/serviceinfo/services.json +8 -0
  1314. package/files/templates/signage-sdk-templates/signageicon/icon.png +0 -0
  1315. package/files/templates/signage-sdk-templates/signageicon/largeIcon.png +0 -0
  1316. package/files/templates/signage-sdk-templates/webos-service/helloclient.js +23 -0
  1317. package/files/templates/signage-sdk-templates/webos-service/helloworld_webos_service.js +128 -0
  1318. package/files/templates/tv-sdk-templates/appinfo/appinfo.json +10 -10
  1319. package/files/templates/tv-sdk-templates/bootplate-web/index.html +58 -58
  1320. package/files/templates/tv-sdk-templates/bootplate-web/webOSTVjs-1.2.10/LICENSE-2.0.txt +202 -202
  1321. package/files/templates/tv-sdk-templates/hosted-webapp/index.html +14 -14
  1322. package/files/templates/tv-sdk-templates/js-service/helloworld_service.js +39 -39
  1323. package/files/templates/tv-sdk-templates/packageinfo/packageinfo.json +3 -3
  1324. package/files/templates/tv-sdk-templates/serviceinfo/package.json +11 -11
  1325. package/files/templates/tv-sdk-templates/serviceinfo/services.json +8 -8
  1326. package/lib/base/ares.html +40 -40
  1327. package/lib/base/cli-appdata.js +289 -290
  1328. package/lib/base/cli-control.js +44 -44
  1329. package/lib/base/common-tools.js +29 -29
  1330. package/lib/base/error-handler.js +265 -265
  1331. package/lib/base/file-watcher.js +155 -155
  1332. package/lib/base/help-format.js +147 -147
  1333. package/lib/base/luna.js +178 -178
  1334. package/lib/base/novacom.js +1214 -1202
  1335. package/lib/base/sdkenv.js +59 -59
  1336. package/lib/base/server.js +137 -137
  1337. package/lib/base/setup-device.js +356 -335
  1338. package/lib/base/version-tools.js +79 -79
  1339. package/lib/com.sdk.ares.signage.hostedapp.ipk +0 -0
  1340. package/lib/device.js +1419 -1419
  1341. package/lib/generator.js +408 -377
  1342. package/lib/inspect.js +493 -493
  1343. package/lib/install.js +465 -463
  1344. package/lib/launch.js +607 -605
  1345. package/lib/log.js +584 -584
  1346. package/lib/package.js +2253 -2149
  1347. package/lib/pull.js +231 -231
  1348. package/lib/pusher.js +210 -210
  1349. package/lib/session.js +74 -74
  1350. package/lib/shell.js +193 -193
  1351. package/lib/tar-filter-pack.js +62 -62
  1352. package/lib/util/copy.js +31 -31
  1353. package/lib/util/createFileName.js +40 -40
  1354. package/lib/util/eof.js +30 -30
  1355. package/lib/util/json.js +63 -63
  1356. package/lib/util/merge.js +14 -14
  1357. package/lib/util/objclone.js +40 -40
  1358. package/lib/util/spinner.js +37 -37
  1359. package/npm-shrinkwrap.json +9242 -9242
  1360. package/package.json +100 -100
  1361. package/sbom-info.yaml +1758 -0
  1362. package/scripts/postinstall.js +24 -24
  1363. package/spec/helpers/reporter.js +65 -65
  1364. package/spec/jsSpecs/apiTest/generator.spec.js +372 -372
  1365. package/spec/jsSpecs/apiTest/inspector.spec.js +89 -89
  1366. package/spec/jsSpecs/apiTest/installer.spec.js +67 -67
  1367. package/spec/jsSpecs/apiTest/launcher.spec.js +150 -150
  1368. package/spec/jsSpecs/apiTest/packager.spec.js +194 -194
  1369. package/spec/jsSpecs/apiTest/puller.spec.js +101 -101
  1370. package/spec/jsSpecs/apiTest/pusher.spec.js +103 -103
  1371. package/spec/jsSpecs/apiTest/server.spec.js +115 -115
  1372. package/spec/jsSpecs/apiTest/setupDevice.spec.js +93 -93
  1373. package/spec/jsSpecs/apiTest/shell.spec.js +49 -49
  1374. package/spec/jsSpecs/ares-config.spec.js +88 -88
  1375. package/spec/jsSpecs/ares-device.spec.js +443 -443
  1376. package/spec/jsSpecs/ares-generate.spec.js +401 -397
  1377. package/spec/jsSpecs/ares-inspect.spec.js +252 -252
  1378. package/spec/jsSpecs/ares-install.spec.js +150 -150
  1379. package/spec/jsSpecs/ares-launch.spec.js +303 -301
  1380. package/spec/jsSpecs/ares-log.spec.js +824 -824
  1381. package/spec/jsSpecs/ares-novacom.spec.js +149 -149
  1382. package/spec/jsSpecs/ares-package.spec.js +1277 -1211
  1383. package/spec/jsSpecs/ares-pull.spec.js +157 -157
  1384. package/spec/jsSpecs/ares-push.spec.js +146 -146
  1385. package/spec/jsSpecs/ares-server.spec.js +160 -160
  1386. package/spec/jsSpecs/ares-setup-device.spec.js +299 -300
  1387. package/spec/jsSpecs/ares-shell.spec.js +220 -220
  1388. package/spec/jsSpecs/ares.spec.js +83 -83
  1389. package/spec/jsSpecs/common-spec.js +177 -169
  1390. package/spec/support/jasmine.json +22 -22
  1391. package/spec/tempFiles/com.lg.app.signage.dev_0.0.1_all.ipk +0 -0
  1392. package/spec/tempFiles/nativeApp/auto/pkg_arm64/appinfo.json +9 -9
  1393. package/spec/tempFiles/nativeApp/ose/pkg_arm/appinfo.json +8 -8
  1394. package/spec/tempFiles/nativeApp/ose/pkg_arm/package.properties +2 -2
  1395. package/spec/tempFiles/nativeApp/oseEmul/pkg_x86/appinfo.json +9 -9
  1396. package/spec/tempFiles/nativeApp/rsi/pkg_x86/appinfo.json +9 -9
  1397. package/spec/tempFiles/sign/sign.crt +32 -32
  1398. package/spec/tempFiles/sign/signPriv.key +52 -52
  1399. package/spec/test_data/ares-generate.json +91 -58
  1400. package/spec/test_data/ares.json +50 -50
  1401. package/webos-tools-cli-3.2.0.tgz +0 -0
  1402. package/webos-tools-cli-3.1.2.tgz +0 -0
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "{}"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright (c) 2013-2014 LG Electronics.
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1 @@
1
+ cordova.define("cordova/plugin/configuration",function(d,c,f){function h(i){console.log(i)}var a;if(window.PalmSystem){h("Window.PalmSystem Available");a=d("cordova/plugin/webos/service")}else{a={Request:function(i,j){h(i+" invoked. But I am a dummy because PalmSystem is not available");if(typeof j.onFailure==="function"){j.onFailure({returnValue:false,errorText:"PalmSystem Not Available. Cordova is not installed?"})}}}}var g=function(){};function b(j,k,i){if(j.errorCode===undefined||j.errorCode===null){j.errorCode=k}if(j.errorText===undefined||j.errorText===null){j.errorText=i}}g.PictureMode={VIVID:"vivid",STANDARD:"normal",APS:"eco",CINEMA:"cinema",GAME:"game",SPORTS:"sports",EXPERT1:"expert1",EXPERT2:"expert2"};g.prototype.setPictureMode=function(i,j,k){h("setPictureMode: "+JSON.stringify(k));a.Request("luna://com.lge.settingsservice/",{method:"setSystemSettings",parameters:{category:"picture",settings:{pictureMode:k.mode}},onSuccess:function(l){h("setPictureMode: On Success");if(l.returnValue===true){if(i&&typeof i==="function"){i()}}},onFailure:function(l){h("setPictureMode: On Failure");delete l.returnValue;if(j&&typeof j==="function"){b(l,"CSPM","Configuration.setPictureMode returns failure.");j(l)}}});h("Configuration.setPictureMode Done")};g.prototype.getPictureMode=function(i,j){h("getPictureMode: ");a.Request("luna://com.lge.settingsservice/",{method:"getSystemSettings",parameters:{category:"picture",keys:["pictureMode"]},onSuccess:function(k){h("getPictureMode: On Success");if(k.returnValue===true){if(i&&typeof i==="function"){var l={};l.mode=k.settings.pictureMode;i(l)}}},onFailure:function(k){h("getPictureMode: On Failure");delete k.returnValue;if(j&&typeof j==="function"){b(k,"CGPM","Configuration.getPictureMode returns failure.");j(k)}}});h("Configuration.getPictureMode Done")};g.prototype.setPictureProperty=function(i,j,k){h("setPictureProperty: "+JSON.stringify(k));var m={};for(var l in k){if(l!==undefined&&l!==null){m[l]=k[l];if(l==="tint"||l==="colorTemperature"){m[l]-=50}else{if(l==="blackLevel"){m[l]={unknown:k[l]}}}}}h(JSON.stringify(m));a.Request("luna://com.lge.settingsservice/",{method:"setSystemSettings",parameters:{category:"picture",settings:m},onSuccess:function(n){h("setPictureProperty: On Success");if(n.returnValue===true){if(i&&typeof i==="function"){i()}}},onFailure:function(n){h("setPictureProperty: On Failure");delete n.returnValue;if(j&&typeof j==="function"){b(n,"CSPP","Configuration.setPictureProperty returns failure.");j(n)}}});h("Configuration.setPictureProperty Done")};g.prototype.getPictureProperty=function(i,j){h("getPictureProperty: ");a.Request("luna://com.lge.settingsservice/",{method:"getSystemSettings",parameters:{category:"picture",keys:["brightness","contrast","color","tint","backlight","sharpness","hSharpness","vSharpness","colorTemperature","dynamicContrast","superResolution","colorGamut","dynamicColor","noiseReduction","mpegNoiseReduction","blackLevel","gamma"]},onSuccess:function(k){h("getPictureProperty: On Success");if(k.returnValue===true){if(i&&typeof i==="function"){var m={};for(var l in k.settings){if(l!==undefined&&l!==null){m[l]=k.settings[l];if(l==="tint"||l==="colorTemperature"){m[l]+=50}else{if(l==="blackLevel"){m[l]=k.settings[l].unknown}}}}i(m)}}},onFailure:function(k){h("getPictureProperty: On Failure");delete k.returnValue;if(j&&typeof j==="function"){b(k,"CGPP","Configuration.getPictureProperty returns failure.");j(k)}}});h("Configuration.getPictureProperty Done")};var e={alias:"signageName"};g.prototype.setProperty=function(i,j,l){h("setProperty: "+JSON.stringify(l));var k=JSON.parse(l);var n={};for(var m in k){if(e[m]!==undefined){n[(e[m])]=k[m]}}a.Request("luna://com.lge.settingsservice/",{method:"setSystemSettings",parameters:{category:"commercial",settings:n},onSuccess:function(o){h("setProperty: On Success");if(o.returnValue===true){if(i&&typeof i==="function"){i()}}},onFailure:function(o){h("setProperty: On Failure");delete o.returnValue;if(j&&typeof j==="function"){b(o,"CSP","Configuration.setProperty returns failure.");j(o)}}});h("Configuration.setProperty Done")};g.prototype.getProperty=function(j,k,m){h("getProperty: ");var l=JSON.parse(m);var o=l.keys;var i=[];for(var n in o){if(n!==null&&n!==undefined){h("key"+o[n]);i.push(e[o[n]])}}h(i);a.Request("luna://com.lge.settingsservice/",{method:"getSystemSettings",parameters:{category:"commercial",keys:i},onSuccess:function(p){h("getProperty: On Success");if(p.returnValue===true){if(j&&typeof j==="function"){var r={};for(var q in o){if(q!==null||q!==undefined){h("key"+o[q]);if(p.settings[e[o[q]]]!==undefined||p.settings[e[o[q]]]!==null){r[o[q]]=p.settings[e[o[q]]]}}}j(JSON.stringify(r))}}},onFailure:function(p){h("getProperty: On Failure");delete p.returnValue;if(k&&typeof k==="function"){b(p,"CGP","Configuration.getProperty returns failure.");k(p)}}});h("Configuration.getProperty Done")};g.prototype.setCurrentTime=function(j,l,m){h("setCurrentTime: "+JSON.stringify(m));var k=new Date(m.year,m.month-1,m.day,m.hour,m.minute,m.sec);if(m.year<2000||m.year>2037||k.getFullYear()!==m.year||k.getMonth()!==(m.month-1)||k.getDate()!==m.day||k.getHours()!==m.hour||k.getMinutes()!==m.minute||k.getSeconds()!==m.sec){if(typeof l==="function"){h("setCurrentTime: out of range or invalid parameter type");var i={};b(i,"CSCT","Configuration.setCurrentTime returns failure for out of range.");l(i);return}}h("setCurrentTime: "+k);var n=k.getTime()/1000;a.Request("luna://com.palm.systemservice/time/",{method:"setSystemTime",parameters:{utc:n},onSuccess:function(){h("setCurrentTime: On Success");if(typeof j==="function"){j()}},onFailure:function(o){h("setCurrentTime: On Failure");delete o.returnValue;if(typeof l==="function"){b(o,"CSCT","Configuration.setCurrentTime returns failure.");l(o)}}});h("Configuration.setCurrentTime Done")};g.prototype.getCurrentTime=function(i,j){h("getCurrentTime: ");a.Request("luna://com.palm.systemservice/time/",{method:"getEffectiveBroadcastTime",onSuccess:function(k){h("getCurrentTime : On Success");if(k.returnValue===true){var l={};var m=new Date(k.adjustedUtc*1000);l.year=m.getFullYear();l.month=m.getMonth()+1;l.day=m.getDate();l.hour=m.getHours();l.minute=m.getMinutes();l.sec=m.getSeconds();if(i&&typeof i==="function"){i(l)}}},onFailure:function(k){h("getCurrentTime: On Failure");delete k.returnValue;if(j&&typeof j==="function"){b(k,"CGCT","Configuration.getCurrentTime returns failure.");j(k)}}});h("Configuration.getCurrentTime Done")};g.prototype.restartApplication=function(i,j){h("restartApp: ");a.Request("luna://com.webos.service.commercial.signage.storageservice/",{method:"restart_application",onSuccess:function(k){h("restartApp: On Success");if(i&&typeof i==="function"){i(k)}},onFailure:function(k){h("restartApp: On Failure");delete k.returnValue;if(j&&typeof j==="function"){b(k,"CRA","Configuration.restartApp returns failure.");j(k)}}});h("Configuration.restartApp Done")};g.prototype.debug=function(i,j,k){h("debug: "+k.enabled);a.Request("luna://com.webos.service.commercial.signage.storageservice/",{method:"debug",parameters:{enabled:k.enabled},onSuccess:function(l){h("debug: On Success");if(i&&typeof i==="function"){i(l)}},onFailure:function(l){h("debug: On Failure");delete l.returnValue;if(j&&typeof j==="function"){b(l,"CD","Configuration.debug returns failure.");j(l)}}});h("Configuration.debug Done")};f.exports=g});Configuration=cordova.require("cordova/plugin/configuration");
@@ -0,0 +1 @@
1
+ cordova.define("cordova/plugin/deviceInfo",function(c,b,d){var a;if(window.PalmSystem){console.log("Window.PalmSystem Available");a=c("cordova/plugin/webos/service")}else{a={Request:function(g,h){console.log(g+" invoked. But I am a dummy because PalmSystem is not available");if(typeof h.onFailure==="function"){h.onFailure({returnValue:false,errorText:"PalmSystem Not Available. Cordova is not installed?"})}}}}var f=function(){};function e(g){console.log(g)}f.prototype.getNetworkInfo=function(g,h){e("getNetworkInfo: ");a.Request("luna://com.palm.connectionmanager",{method:"getstatus",parameters:{},onSuccess:function(i){e("getNetworkInfo: onSuccess");delete i.returnValue;g&&g(i)},onFailure:function(i){e("getNetworkInfo: onFailure");delete i.returnValue;h&&h(i)}});e("DeviceInfo.getNetworkInfo Done")};f.prototype.getNetworkMacInfo=function(g,h){e("getNetworkMacInfo: ");a.Request("luna://com.webos.service.tv.signage",{method:"getinfo",parameters:{},onSuccess:function(i){e("getNetworkMacInfo: onSuccess");delete i.returnValue;g&&g(i)},onFailure:function(i){e("getNetworkMacInfo: onFailure");delete i.returnValue;h&&h(i)}});e("DeviceInfo.getNetworkMacInfo Done")};f.prototype.getPlatformInfo=function(g,h){e("getPlatformInfo: ");a.Request("luna://com.webos.service.tv.systemproperty",{method:"getSystemInfo",parameters:{keys:["modelName","serialNumber","firmwareVersion","hardwareVersion","sdkVersion"]},onSuccess:function(i){e("getPlatformInfo: onSuccess");i.manufacturer="LGE";i.sdkVersion="1.0.21000";delete i.returnValue;delete i.errorText;g&&g(i)},onFailure:function(i){e("getPlatformInfo: onFailure");delete i.returnValue;h&&h(i)}});e("DeviceInfo.getPlatformInfo Done")};d.exports=f});DeviceInfo=cordova.require("cordova/plugin/deviceInfo");
@@ -0,0 +1 @@
1
+ cordova.define("cordova/plugin/broadcast",function(k,s,c){var t=k("cordova/plugin/webos/service"),q=k("cordova/utils"),m=k("cordova/argscheck");var i=function(u){this.isATSC=false;this.tokenChannelChange=0;this.tokenSignalState=0;this.broadcastDivId=null;this.broadcastElement=null;this.currentInput=null;this.currentSource=null;this.isLastInput=true;this.isLastChannel=true;var v=this;t.Request("luna://com.webos.service.tv.systemproperty",{method:"getSystemInfo",parameters:{keys:["atsc"]},onSuccess:function(w){v.isATSC=w.atsc},onFailure:function(w){}})};i.prototype.onchannelchange=function(u){};i.prototype.onsignalstatuschange=function(u){};i.prototype.initialize=function(u,w,x){m.checkArgs("fFo","broadcastCordova.initialize",arguments);var y=q.clone(x);this.broadcastDivId=document.getElementById(y.divId);y.broadcastPlugin=this;if(y.isLastInput==true||!y.src){this.isLastInput=true;e(u,w,y)}else{this.isLastInput=false;if(y.src.indexOf("tv://")!=-1){if(y.isLastChannel==true){this.isLastChannel=true;y.type="service/webos-broadcast"}else{this.isLastChannel=false;y.type="service/webos-broadcast-standalone"}this.currentInput="tv";this.currentSource=y.src.substr(5)}else{y.type="service/webos-external";var v=y.src.split(":");this.currentInput=v[1].substr(2).toLowerCase();this.currentSource=v[2]}g(y);u&&u()}};i.prototype.channelUp=function(u,v){m.checkArgs("fF","broadcastCordova.channelUp",arguments);var w={broadcastId:this.broadcastElement.mediaId};t.Request("luna://com.webos.service.tv.broadcast",{method:"changeChannelUp",parameters:w,onSuccess:function(x){u&&u()},onFailure:function(x){delete x.returnValue;v&&v(x)}})};i.prototype.channelDown=function(u,v){m.checkArgs("fF","broadcastCordova.channelDown",arguments);var w={broadcastId:this.broadcastElement.mediaId};t.Request("luna://com.webos.service.tv.broadcast",{method:"changeChannelDown",parameters:w,onSuccess:function(x){u&&u()},onFailure:function(x){delete x.returnValue;v&&v(x)}})};i.prototype.setChannel=function(u,v,w){m.checkArgs("fFo","broadcastCordova.setChannel",arguments);var x={broadcastId:this.broadcastElement.mediaId,channelId:w.id};t.Request("luna://com.webos.service.tv.broadcast",{method:"changeChannel",parameters:x,onSuccess:function(y){u&&u()},onFailure:function(y){delete y.returnValue;v&&v(y)}})};i.prototype.getCurrentChannel=function(u,v){m.checkArgs("fF","broadcastCordova.getCurrentChannel",arguments);var w={broadcastId:this.broadcastElement.mediaId,subscribe:false};t.Request("luna://com.webos.service.tv.broadcast",{method:"getCurrentChannel",parameters:w,onSuccess:function(x){var y={};y=l(x.channel,"api");u&&u(y)},onFailure:function(x){delete x.returnValue;v&&v(x)}})};i.prototype.getSignalStatus=function(u,v){m.checkArgs("fF","broadcastCordova.getSignalStatus",arguments);var w;if(this.currentInput=="tv"){w={broadcastId:this.broadcastElement.mediaId,subscribe:false};t.Request("luna://com.webos.service.tv.broadcast",{method:"getChannelState",parameters:w,onSuccess:function(x){var y=x.channelState;y.screensaverType=y.channelScreensaverType;delete y.channelScreensaverType;u&&u(y)},onFailure:function(x){delete x.returnValue;v&&v(x)}})}else{w={externalInputId:this.broadcastElement.mediaId,subscribe:false};t.Request("luna://com.webos.service.tv.externaldevice/input/",{method:"getSignalState",parameters:w,onSuccess:function(x){u&&u(x.signalState)},onFailure:function(x){delete x.returnValue;v&&v(x)}})}};i.prototype.getCurrentProgram=function(u,v,w){m.checkArgs("fFo","broadcastCordova.getCurrentProgram",arguments);t.Request("luna://com.palm.systemservice/time",{method:"getEffectiveBroadcastTime",parameters:{},onSuccess:function(x){var y={};y.id=w.id;y.startTime=x.localtime;y.endTime=x.localtime;y.request="nowInfo";f(u,v,y)},onFailure:function(x){delete x.returnValue;v&&v(x)}})};i.prototype.getNextProgram=function(u,v,w){m.checkArgs("fFo","broadcastCordova.getNextProgram",arguments);t.Request("luna://com.palm.systemservice/time",{method:"getEffectiveBroadcastTime",parameters:{},onSuccess:function(x){var y={};y.id=w.id;y.startTime=x.localtime;y.endTime=x.localtime;y.request="nextInfo";f(u,v,y)},onFailure:function(x){delete x.returnValue;v&&v(x)}})};i.prototype.getProgramCount=function(u,v,w){m.checkArgs("fFo","broadcastCordova.getProgramCount",arguments);var x=q.clone(w);x.request="count";f(u,v,x)};i.prototype.getProgramList=function(u,v,w){m.checkArgs("fFo","broadcastCordova.getProgramList",arguments);var x=q.clone(w);x.request="list";f(u,v,x)};i.prototype.getChannelCount=function(u,v,w){m.checkArgs("fFo","broadcastCordova.getChannelCount",arguments);var x={from:"com.webos.service.tv.channel.dblist:1",select:[""],where:[{prop:"channelType",op:"=",val:w.type}],filter:[{prop:"Invisible",op:"=",val:false}]};t.Request("luna://com.palm.db/",{method:"search",parameters:{query:x},onSuccess:function(y){var z={};z.count=y.results.length;u&&u(z)},onFailure:function(y){delete y.returnValue;v&&v(y)}})};i.prototype.getChannelList=function(u,v,w){m.checkArgs("fFo","broadcastCordova.getChannelList",arguments);var y=w.startIndex-1;if(y<0){y=0}var z=y+w.count;var x={from:"com.webos.service.tv.channel.dblist:1",select:["channelId","channelName","channelMode","channelNumber","channelType","skipped","locked","descrambled","scrambled"],where:[{prop:"channelType",op:"=",val:w.type}],filter:[{prop:"Invisible",op:"=",val:false}],limit:z};t.Request("luna://com.palm.db/",{method:"search",parameters:{query:x},onSuccess:function(A){var D={};D.channel=[];var C=A.results.length-y;if(C>0){for(var B=0;B<C;B++){D.channel[B]=l(A.results[B+y],"db8")}}u&&u(D)},onFailure:function(A){delete A.returnValue;v&&v(A)}})};i.prototype.getChannelListByName=function(u,v,w){m.checkArgs("fFo","broadcastCordova.getChannelListByName",arguments);var x={from:"com.webos.service.tv.channel.dblist:1",select:["channelId","channelName","channelMode","channelNumber","channelType","skipped","locked","descrambled","scrambled"],where:[{prop:"channelName",op:"%",val:w.name}],filter:[{prop:"Invisible",op:"=",val:false}]};if(w.type){x.filter.push({prop:"channelType",op:"=",val:w.type})}t.Request("luna://com.palm.db/",{method:"search",parameters:{query:x},onSuccess:function(y){var A={};A.channel=[];if(y.results.length>0){for(var z=0;z<y.results.length;z++){A.channel[z]=l(y.results[z],"db8")}}u&&u(A)},onFailure:function(y){delete y.returnValue;v&&v(y)}})};i.prototype.setInput=function(v){m.checkArgs("o","broadcastCordova.setInput",arguments);var x=false;if(v.src.indexOf("tv://")!=-1){if(this.isLastChannel==true){v.type="service/webos-broadcast"}else{v.type="service/webos-broadcast-standalone"}this.currentInput="tv";this.currentSource=v.src.substr(5)}else{v.type="service/webos-external";var u=v.src.split(":");this.currentInput=u[1].substr(2).toLowerCase();this.currentSource=u[2]}for(var w=0;w<this.broadcastElement.childNodes.length;w++){if(this.broadcastElement.childNodes[w].nodeName=="SOURCE"){this.broadcastElement.childNodes[w].src=v.src;this.broadcastElement.childNodes[w].type=v.type;this.broadcastElement.load();x=true}}return x};i.prototype.addEventListener=function(w,u,v){if(w=="channelchange"){this.tokenChannelChange=t.Request("luna://com.webos.service.tv.broadcast",{method:"getCurrentChannel",parameters:{broadcastId:this.broadcastElement.mediaId,subscribe:true},onSuccess:function(x){var y=x.channel;u&&u(y)},onFailure:function(x){}})}else{if(w=="signalstatus"){if(this.currentInput=="tv"){this.tokenSignalState=t.Request("luna://com.webos.service.tv.broadcast",{method:"getChannelState",parameters:{broadcastId:this.broadcastElement.mediaId,subscribe:true},onSuccess:function(x){var y=x.channelState;y.screensaverType=y.channelScreensaverType;delete y.channelScreensaverType;u&&u(y)},onFailure:function(x){}})}else{this.tokenSignalState=t.Request("luna://com.webos.service.tv.externaldevice/input/",{method:"getSignalState",parameters:{externalInputId:this.broadcastElement.mediaId,subscribe:true},onSuccess:function(x){var y=x.signalState;u&&u(y)},onFailure:function(x){}})}}}};var h=function(u,v){p(u);if(u.currentInput=="tv"){n(u);d(u)}else{o(u)}v()};var g=function(w){var u=document.createElement("VIDEO");u.setAttribute("id",w.videoId);u.setAttribute("width","100%");u.setAttribute("height","100%");u.setAttribute("autoplay","");u.addEventListener("loadedmetadata",function(){h(w.broadcastPlugin,w.callback)},false);var v=document.createElement("SOURCE");v.setAttribute("src",w.src);v.setAttribute("type",w.type);u.appendChild(v);w.broadcastPlugin.broadcastDivId.appendChild(u);w.broadcastPlugin.broadcastElement=u};var e=function(u,v,w){t.Request("luna://com.webos.service.eim",{method:"getCurrentInput",parameters:{},onSuccess:function(y){if(y.mainInputSourceId=="ATV"||y.mainInputSourceId=="DTV"){w.broadcastPlugin.currentInput="tv";r(u,v,w)}else{var x=y.mainInputSourceId.split("_");w.broadcastPlugin.currentInput=x[0].toLowerCase();w.broadcastPlugin.currentSource=x[1];w.src="ext://"+w.broadcastPlugin.currentInput+":"+w.broadcastPlugin.currentSource;w.type="service/webos-external";g(w);u&&u()}},onFailure:function(x){delete x.returnValue;v&&v(x)}})};var r=function(u,v,w){};var n=function(u){u.tokenChannelChange=t.Request("luna://com.webos.service.tv.broadcast",{method:"getCurrentChannel",parameters:{broadcastId:u.broadcastElement.mediaId,subscribe:true},onSuccess:function(v){u.currentSource=v.channel.channelId;var w={};w=l(v.channel,"api");u.onchannelchange(w)},onFailure:function(v){}})};var d=function(u){u.tokenSignalState=t.Request("luna://com.webos.service.tv.broadcast",{method:"getChannelState",parameters:{broadcastId:u.broadcastElement.mediaId,subscribe:true},onSuccess:function(v){var w=v.channelState;w.screensaverType=w.channelScreensaverType;delete w.channelScreensaverType;u.onsignalstatuschange(w)},onFailure:function(v){}})};var o=function(u){u.tokenSignalState=t.Request("luna://com.webos.service.tv.externaldevice/input/",{method:"getSignalState",parameters:{externalInputId:u.broadcastElement.mediaId,subscribe:true},onSuccess:function(v){var w=v.signalState;u.onsignalstatuschange(w)},onFailure:function(v){}})};var p=function(u){if(u.tokenChannelChange){u.tokenChannelChange.cancel()}if(u.tokenSignalState){u.tokenSignalState.cancel()}};var a=function(u,w,z){var x=b(z.startTime);var v=b(z.endTime);var y={};if(z.request=="count"){y={from:"com.webos.service.tv.programSCH:4",select:[""],where:[{prop:"signalChannelId",op:"=",val:z.signalChannelId}],filter:[{prop:"localStartTime",op:"<=",val:v},{prop:"localEndTime",op:">=",val:x}]}}else{if(z.request=="nextInfo"){y={from:"com.webos.service.tv.programSCH:4",select:["programId","eventId","localStartTime","localEndTime","duration","programName","description"],where:[{prop:"channelId",op:"=",val:z.signalChannelId}],filter:[{prop:"localStartTime",op:">",val:x}],orderBy:"localStartTime",limit:1}}else{if(z.request=="list"||z.request=="nowInfo"){y={from:"com.webos.service.tv.programSCH:4",select:["programId","eventId","localStartTime","localEndTime","duration","programName","description"],where:[{prop:"channelId",op:"=",val:z.signalChannelId}],filter:[{prop:"localStartTime",op:"<=",val:v},{prop:"localEndTime",op:">=",val:x}]}}}}};var f=function(u,v,x){var w={from:"com.webos.service.tv.channel.dblist:1",select:["signalChannelId"],where:[{prop:"channelId",op:"=",val:x.id}]};t.Request("luna://com.palm.db/",{method:"find",parameters:{query:w},onSuccess:function(y){x.signalChannelId=y.results[0].signalChannelId;a(u,v,x)},onFailure:function(y){delete y.returnValue;v&&v(y)}})};var l=function(u,w){var v={};v.id=u.channelId;v.number=u.channelNumber;v.name=u.channelName;if(w=="api"){v.mode=u.channelModeName;v.type=u.channelTypeName;v.isSkipped=u.isSkipped;v.isLocked=u.isLocked;v.isDescrambled=u.isDescrambled;v.isScrambled=u.isScrambled}else{v.mode=u.channelMode;v.type=u.channelType;v.isSkipped=u.skipped;v.isLocked=u.locked;v.isDescrambled=u.descrambled;v.isScrambled=u.scrambled}return v};var b=function(v){var u=v.year+",";u+=((v.month<10)?"0":"")+v.month+",";u+=((v.day<10)?"0":"")+v.day+",";u+=((v.hour<10)?"0":"")+v.hour+",";u+=((v.minute<10)?"0":"")+v.minute+",";u+=((v.second<10)?"0":"")+v.second;return u};var j=function(u){var w=u.split(",");var v={};v.year=+w[0];v.month=+w[1];v.day=+w[2];v.hour=+w[3];v.minute=+w[4];v.second=+w[5];return v};c.exports=i});Broadcast=cordova.require("cordova/plugin/broadcast");cordova.define("cordova/plugin/inputSource",function(b,d,a){function c(k){console.log(k)}var g;if(window.PalmSystem){c("Window.PalmSystem Available");g=b("cordova/plugin/webos/service")}else{g={Request:function(k,l){c(k+" invoked. But I am a dummy because PalmSystem is not available");if(typeof l.onFailure==="function"){l.onFailure({returnValue:false,errorText:"PalmSystem Not Available. Cordova is not installed?"})}}}}var h=function(){};var f=null;function j(l,m,k){if(l.errorCode===undefined||l.errorCode===null){l.errorCode=m}if(l.errorText===undefined||l.errorText===null){l.errorText=k}}h.prototype.initialize=function(l,m,o){c("initialize: "+JSON.stringify(o));if(o.divId===undefined||typeof o.divId!=="string"||o.divId===null||o.divId.length<=0||o.videoId===undefined||typeof o.videoId!=="string"||o.videoId===null||o.videoId.length<=0||o.callback===undefined||typeof o.callback!=="function"||o.src===undefined||typeof o.src!=="string"||o.src===null||o.src.length<=0){if(typeof m==="function"){var k={};j(k,"II","InputSource.initialize returns failure. invalid parameters.");m(k)}return}i(o.src,function p(q){o.src=q;f=new Broadcast();c("initialize: converted "+JSON.stringify(o));f.initialize(l,m,o)},function n(r){c("initialize: failure "+JSON.stringify(r));if(typeof m==="function"){var q={};j(q,"II","InputSource.initialize returns failure. invalid parameters.");m(q)}});c("initialize: Done")};h.prototype.changeInputSource=function(l,m,o){if(o.src===undefined||typeof o.src!=="string"||o.src===null||o.src.length<=0){if(typeof m==="function"){var k={};j(k,"ICIS","InputSource.changeInputSource returns failure. invalid argument. ");m(k)}return}c("changeInputSource: "+JSON.stringify(o));i(o.src,function p(r){o.src=r;if(f.setInput(o)){c("changeInputSource: On Success");l()}else{var q={};c("changeInputSource: On Failure");j(q,"ICIS","InputSource.changeInputSource returns failure.");m(q)}},function n(r){c("changeInputSource: failure "+JSON.stringify(r));if(typeof m==="function"){var q={};j(q,"ICIS","InputSource.changeInputSource returns failure. invalid argument. ");m(q)}});c("changeInputSource: Done")};h.prototype.getInputSourceStatus=function(k,l){c("getInputSourceStatus: ");g.Request("luna://com.webos.service.eim/",{method:"getAllInputStatus",onSuccess:function(n){c("getInputSourceStatus: On Success");if(n.returnValue===true){if(k&&typeof k==="function"){var q={};var p=new Array(n.totalCount);var r=new Array(n.totalCount);for(var o=0;o<p.length;o++){p[o]={};p[o].inputPort=e(n.devices[o].label);var m=n.devices[o].id.split("_");p[o].inputPort="ext://"+m[0].toLowerCase()+":"+m[1];if(p[o].inputPort==="ext://hdmi:3"){p[o].inputPort="ext://dp:1"}else{if(p[o].inputPort==="ext://hdmi:4"){p[o].inputPort="ext://dvi:1"}}r[o]={};r[o].inputPort=p[o].inputPort;r[o].id=n.devices[o].id}q.inputSourceList=p;g.Request("luna://com.webos.service.eim/",{method:"getCurrentInput",parameters:{},onSuccess:function(s){c("InputSource.getInputSourceStatus: On Success 3");if(s.returnValue===true){if(k&&typeof k==="function"){q.currentInputSource={};for(var t=0;t<r.length;t++){if(r[t].id===s.mainInputSourceId){q.currentInputSource=r[t].inputPort;break}}q.currentSignalState="unknown";if(f!==null){c("InputSource.getInputSourceStatus : broadcast is not null");f.getSignalStatus(function u(w){q.currentSignalState=w.videoSignalState;c("InputSource.getInputSourceStatus: On Success 2");if(k&&typeof k==="function"){c("getInputSourceStatus: On Success"+JSON.stringify(q));k(q);return}},function v(){c("InputSource.getInputSourceStatus : signal state is fail.");if(k&&typeof k==="function"){c("getInputSourceStatus: On Success"+JSON.stringify(q));k(q);return}})}else{c("InputSource.getInputSourceStatus : it does not initialize.");if(k&&typeof k==="function"){c("getInputSourceStatus: On Success"+JSON.stringify(q));k(q);return}}}}},onFailure:function(s){c("InputSource.getInputSourceStatus: On Failure 2");delete s.returnValue;if(l&&typeof l==="function"){j(s,"IGISS","InputSource.getInputSourceStatus returns failure.");l(s);return}}})}}},onFailure:function(m){c("getInputSourceStatus: On Failure");delete m.returnValue;if(l&&typeof l==="function"){j(m,"IGISS","InputSource.changeInputSource returns failure on gathering input list.");l(m)}}});c("InputSource.getInputSourceStatus Done")};function e(m){var k=1;var l=m.length;if(!isNaN(parseInt(m.charAt(l-1),10))){k=m.charAt(l-1);l--}m=m.substring(0,l)+":"+k;m="ext://"+m.toLowerCase();return m}function i(m,k,l){g.Request("luna://com.webos.service.eim/",{method:"getAllInputStatus",onSuccess:function(o){c("convertInputSource: On Success "+m);if(o.returnValue===true){if(k&&typeof k==="function"){var r=new Array(o.totalCount);c("convertInputSource: "+JSON.stringify(o.totalCount));c("convertInputSource: "+JSON.stringify(o.devices));if(m==="ext://dp:1"){m="ext://hdmi:3"}else{if(m==="ext://dvi:1"){m="ext://hdmi:4"}}for(var q=0;q<r.length;q++){r[q]={};r[q].inputPort=e(o.devices[q].label);var n=o.devices[q].id.split("_");r[q].id="ext://"+n[0].toLowerCase()+":"+n[1];if(m===r[q].id){c("convertInputSource: On Success ok "+m);k(m);return}}for(var p=0;p<r.length;p++){if(m===r[p].inputPort){m=r[p].id;c("convertInputSource: On Success converted "+m);k(m);return}}}}},onFailure:function(n){c("convertInputSource: On Failure");delete n.returnValue;if(l&&typeof l==="function"){j(n,"IGISS","convertInputSource returns failure on gathering input list.");l(n)}}})}a.exports=h});InputSource=cordova.require("cordova/plugin/inputSource");
@@ -0,0 +1 @@
1
+ cordova.define("cordova/plugin/power",function(f,e,g){function h(i){console.log(i)}var b;if(window.PalmSystem){h("Window.PalmSystem Available");b=f("cordova/plugin/webos/service")}else{b={Request:function(i,j){h(i+" invoked. But I am a dummy because PalmSystem is not available");if(typeof j.onFailure==="function"){j.onFailure({returnValue:false,errorText:"PalmSystem Not Available. Cordova is not installed?"})}}}}var a=function(){};function d(j,k,i){if(j.errorCode===undefined||j.errorCode===null){j.errorCode=k}if(j.errorText===undefined||j.errorText===null){j.errorText=i}}a.PowerCommand={SHUTDOWN:"powerOff",REBOOT:"reboot"};a.DisplayMode={DISPLAY_OFF:"Screen Off",DISPLAY_ON:"Active"};a.TimerWeek={MONDAY:1,TUESDAY:2,WEDNESDAY:4,THURSDAY:8,FRIDAY:16,SATURDAY:32,SUNDAY:64,EVERYDAY:127};a.prototype.getPowerStatus=function(i,j){h("getPowerStatus: ");b.Request("luna://com.webos.service.tv.signage/",{method:"getPowerState",onSuccess:function(k){h("getPowerStatus: On Success");var l={};if(k.returnValue===true){l.displayMode=k.state}b.Request("luna://com.lge.settingsservice/",{method:"getSystemSettings",parameters:{category:"commercial",keys:["wolEnable"]},onSuccess:function(m){h("getPowerStatus: On Success 2");if(m.returnValue===true){l.wakeOnLan=(m.settings.wolEnable==="1"?true:false)}b.Request("luna://com.lge.settingsservice/",{method:"getSystemSettings",parameters:{category:"time",keys:["onTimerEnable","offTimerEnable"]},onSuccess:function(n){h("getPowerStatus: On Success 3");if(n.returnValue===true){l.allOnTimer=(n.settings.onTimerEnable==="on"?true:false);l.allOffTimer=(n.settings.offTimerEnable==="on"?true:false);if(i&&typeof i==="function"){i(l)}}},onFailure:function(n){h("getPowerStatus: On Failure 3");delete n.returnValue;if(j&&typeof j==="function"){d(n,"PGPS","Power.getPowerStatus returns failure.");j(n)}}})},onFailure:function(m){h("getPowerStatus: On Failure 2");delete m.returnValue;if(j&&typeof j==="function"){d(m,"PGPS","Power.getPowerStatus returns failure.");j(m)}}})},onFailure:function(k){h("getPowerStatus: On Failure");delete k.returnValue;if(j&&typeof j==="function"){d(k,"PGPS","Power.getPowerStatus returns failure.");j(k)}}});h("Power.getPowerStatus Done")};a.prototype.enableAllOnTimer=function(i,j,k){h("enableAllOnTimer: "+JSON.stringify(k));var l=null;switch(k.allOnTimer){case true:l="on";break;case false:l="off";break}b.Request("luna://com.lge.settingsservice/",{method:"setSystemSettings",parameters:{category:"time",settings:{onTimerEnable:l}},onSuccess:function(){if(typeof i==="function"){h("enableAllOnTimer: On Success");i()}},onFailure:function(m){delete m.returnValue;if(typeof j==="function"){d(m,"PEAOT","Power.enableAllOnTimer returns failure.");h("enableAllOnTimer: On Failure");j(m)}}});h("Power.enableAllOnTimer Done")};a.prototype.enableAllOffTimer=function(i,j,k){h("enableAllOffTimer: "+JSON.stringify(k));var l=null;switch(k.allOffTimer){case true:l="on";break;case false:l="off";break}b.Request("luna://com.lge.settingsservice/",{method:"setSystemSettings",parameters:{category:"time",settings:{offTimerEnable:l}},onSuccess:function(){if(typeof i==="function"){h("enableAllOffTimer: On Success");i()}},onFailure:function(m){delete m.returnValue;if(typeof j==="function"){d(m,"PEAOT","Power.enableAllOffTimer returns failure.");h("enableAllOffTimer: On Failure");j(m)}}});h("Power.enableAllOffTimer Done")};a.prototype.enableWakeOnLan=function(i,j,k){h("enableWakeOnLan: "+JSON.stringify(k));var l=null;switch(k.wakeOnLan){case true:l="1";break;case false:l="0";break}b.Request("luna://com.lge.settingsservice/",{method:"setSystemSettings",parameters:{category:"commercial",settings:{wolEnable:l}},onSuccess:function(){if(typeof i==="function"){h("enableWakeOnLan: On Success");i()}},onFailure:function(m){delete m.returnValue;if(typeof j==="function"){d(m,"PSWOL","Power.enableWakeOnLan returns failure.");h("enableWakeOnLan: On Failure");j(m)}}});h("Power.enableWakeOnLan Done")};function c(i){switch(i){case"ext://hdmi:1":return"HDMI1";case"ext://hdmi:2":return"HDMI2";case"ext://dvi:1":return"DVI";case"ext://dp:1":return"DISPLAYPORT";case"HDMI1":return"ext://hdmi:1";case"HDMI2":return"ext://hdmi:2";case"DVI":return"ext://dvi:1";case"DISPLAYPORT":return"ext://dp:1"}return null}a.prototype.addOnTimer=function(j,k,l){h("addOnTimer: "+JSON.stringify(l));if(l.hour===undefined||typeof l.hour!=="number"||l.hour<0||l.hour>23||l.minute===undefined||typeof l.minute!=="number"||l.minute<0||l.minute>59||l.week===undefined||typeof l.week!=="number"||l.week<0||l.week>127||l.inputSource===undefined||typeof l.inputSource!=="string"||l.inputSource.indexOf("ext://")!==0){if(typeof k==="function"){var i={};d(i,"PAOT","Power.addOnTimer returns failure. invalid parameters or out of range.");k(i)}return}b.Request("luna://com.lge.settingsservice/",{method:"getSystemSettings",parameters:{category:"commercial",keys:["multiOnTimerHour","multiOnTimerMinute","multiOnTimerWeekday","multiOnTimerSource","onTimerSchedule","onTimerCount"]},onSuccess:function(m){if(m.returnValue===true){var o=(m.settings.onTimerSchedule===null||m.settings.onTimerSchedule===undefined?0:m.settings.onTimerSchedule.length);if(m.settings.multiOnTimerHour.length<=o){if(typeof k==="function"){d(m,"PSOT","Power.addOnTimer returns failure. No space to add timer.");k(m)}return}if(typeof m.settings.multiOnTimerHour==="string"){m.settings.multiOnTimerHour=JSON.parse(m.settings.multiOnTimerHour)}if(typeof m.settings.multiOnTimerMinute==="string"){m.settings.multiOnTimerMinute=JSON.parse(m.settings.multiOnTimerMinute)}if(typeof m.settings.multiOnTimerWeekday==="string"){m.settings.multiOnTimerWeekday=JSON.parse(m.settings.multiOnTimerWeekday)}if(typeof m.settings.multiOnTimerSource==="string"){m.settings.multiOnTimerSource=JSON.parse(m.settings.multiOnTimerSource)}if(typeof m.settings.onTimerSchedule==="string"){m.settings.onTimerSchedule=JSON.parse(m.settings.onTimerSchedule)}m.settings.multiOnTimerHour[o]=l.hour;m.settings.multiOnTimerMinute[o]=l.minute;m.settings.multiOnTimerWeekday[o]=l.week;m.settings.multiOnTimerSource[o]=c(l.inputSource);var n=360;m.settings.onTimerSchedule[o]={_id:""+n++,hour:l.hour,input:c(l.inputSource),minute:l.minute,weekday:l.week};b.Request("luna://com.lge.settingsservice/",{method:"setSystemSettings",parameters:{category:"commercial",settings:{multiOnTimerHour:m.settings.multiOnTimerHour,multiOnTimerMinute:m.settings.multiOnTimerMinute,multiOnTimerWeekday:m.settings.multiOnTimerWeekday,multiOnTimerSource:m.settings.multiOnTimerSource,onTimerCount:o+1,onTimerSchedule:m.settings.onTimerSchedule}},onSuccess:function(){h("addOnTimer: On Success 2");if(typeof j==="function"){j()}},onFailure:function(p){h("addOnTimer: On Failure 2");delete p.returnValue;if(typeof k==="function"){d(p,"PAOT","Power.addOnTimer returns failure.");k(p)}}})}},onFailure:function(m){h("addOnTimer: On Failure");delete m.returnValue;if(k&&typeof k==="function"){d(m,"PAOT","Power.addOnTimer returns failure.");k(m)}}});h("Power.addOnTimer Done")};a.prototype.deleteOnTimer=function(j,k,l){h("deleteOnTimer: "+JSON.stringify(l));if(l.hour===undefined||typeof l.hour!=="number"||l.hour<0||l.hour>23||l.minute===undefined||typeof l.minute!=="number"||l.minute<0||l.minute>59||l.week===undefined||typeof l.week!=="number"||l.week<0||l.week>127||l.inputSource===undefined||typeof l.inputSource!=="string"||l.inputSource.indexOf("ext://")!==0){if(typeof k==="function"){var i={};d(i,"PDOT","Power.deleteOnTimer returns failure. invalid parameters or out of range.");k(i)}return}b.Request("luna://com.lge.settingsservice/",{method:"getSystemSettings",parameters:{category:"commercial",keys:["multiOnTimerHour","multiOnTimerMinute","multiOnTimerWeekday","multiOnTimerSource","onTimerSchedule","onTimerCount"]},onSuccess:function(w){if(w.returnValue===true){if(typeof w.settings.multiOnTimerHour==="string"){w.settings.multiOnTimerHour=JSON.parse(w.settings.multiOnTimerHour)}if(typeof w.settings.multiOnTimerMinute==="string"){w.settings.multiOnTimerMinute=JSON.parse(w.settings.multiOnTimerMinute)}if(typeof w.settings.multiOnTimerWeekday==="string"){w.settings.multiOnTimerWeekday=JSON.parse(w.settings.multiOnTimerWeekday)}if(typeof w.settings.multiOnTimerSource==="string"){w.settings.multiOnTimerSource=JSON.parse(w.settings.multiOnTimerSource)}if(typeof w.settings.onTimerSchedule==="string"){w.settings.onTimerSchedule=JSON.parse(w.settings.onTimerSchedule)}var v=0,u=(w.settings.onTimerSchedule===null||w.settings.onTimerSchedule===undefined?0:w.settings.onTimerSchedule.length);var q=["0","0","0","0","0","0","0"],r=["0","0","0","0","0","0","0"],n=["0","0","0","0","0","0","0"],m=["0","0","0","0","0","0","0"],t=[];var p=c(l.inputSource);var o=false;for(var s=0;s<u;s++){if(w.settings.onTimerSchedule[s]===null){continue}if(o===false&&l.hour===w.settings.onTimerSchedule[s].hour&&l.minute===w.settings.onTimerSchedule[s].minute&&l.week===w.settings.onTimerSchedule[s].weekday&&p===w.settings.onTimerSchedule[s].input){o=true}else{q[v]=w.settings.multiOnTimerHour[s];r[v]=w.settings.multiOnTimerMinute[s];n[v]=w.settings.multiOnTimerWeekday[s];m[v]=w.settings.multiOnTimerSource[s];t[v]=w.settings.onTimerSchedule[s];v++}}if(o===true){u--}if(u===0){t=[]}if(w.settings.onTimerSchedule.length===u){if(typeof k==="function"){d(w,"PDOT","Power.deleteOnTimer returns failure. There is no 'on timer' matched in the list.");k(w)}return}b.Request("luna://com.lge.settingsservice/",{method:"setSystemSettings",parameters:{category:"commercial",settings:{multiOnTimerHour:q,multiOnTimerMinute:r,multiOnTimerWeekday:n,multiOnTimerSource:m,onTimerCount:u,onTimerSchedule:t}},onSuccess:function(){h("deleteOnTimer: On Success 2");if(typeof j==="function"){j()}},onFailure:function(x){h("deleteOnTimer: On Failure 2");delete x.returnValue;if(typeof k==="function"){d(x,"PDOT","Power.deleteOnTimer returns failure.");k(x)}}})}},onFailure:function(m){h("deleteOnTimer: On Failure");delete m.returnValue;if(k&&typeof k==="function"){d(m,"PDOT","Power.deleteOnTimer returns failure.");k(m)}}});h("Power.deleteOnTimer Done")};a.prototype.addOffTimer=function(j,k,l){h("addOffTimer: "+JSON.stringify(l));if(l.hour===undefined||typeof l.hour!=="number"||l.hour<0||l.hour>23||l.minute===undefined||typeof l.minute!=="number"||l.minute<0||l.minute>59||l.week===undefined||typeof l.week!=="number"||l.week<0||l.week>127){if(typeof k==="function"){var i={};d(i,"PAOT","Power.addOffTimer returns failure. Invalid parameter.");k(i)}return}b.Request("luna://com.lge.settingsservice/",{method:"getSystemSettings",parameters:{category:"commercial",keys:["multiOffTimerHour","multiOffTimerMinute","multiOffTimerWeekday","offTimerSchedule","offTimerCount"]},onSuccess:function(m){if(m.returnValue===true){var o=(m.settings.offTimerSchedule===null||m.settings.offTimerSchedule===undefined?0:m.settings.offTimerSchedule.length);if(m.settings.multiOffTimerHour.length<=o){if(typeof k==="function"){d(m,"PAOT","Power.addOffTimer returns failure. No space to add timer.");k(m)}return}if(typeof m.settings.multiOffTimerHour==="string"){m.settings.multiOffTimerHour=JSON.parse(m.settings.multiOffTimerHour)}if(typeof m.settings.multiOffTimerMinute==="string"){m.settings.multiOffTimerMinute=JSON.parse(m.settings.multiOffTimerMinute)}if(typeof m.settings.multiOffTimerWeekday==="string"){m.settings.multiOffTimerWeekday=JSON.parse(m.settings.multiOffTimerWeekday)}if(typeof m.settings.offTimerSchedule==="string"){m.settings.offTimerSchedule=JSON.parse(m.settings.offTimerSchedule)}m.settings.multiOffTimerHour[o]=l.hour;m.settings.multiOffTimerMinute[o]=l.minute;m.settings.multiOffTimerWeekday[o]=l.week;var n=360;m.settings.offTimerSchedule[o]={_id:""+n++,hour:l.hour,minute:l.minute,weekday:l.week};b.Request("luna://com.lge.settingsservice/",{method:"setSystemSettings",parameters:{category:"commercial",settings:{multiOffTimerHour:m.settings.multiOffTimerHour,multiOffTimerMinute:m.settings.multiOffTimerMinute,multiOffTimerWeekday:m.settings.multiOffTimerWeekday,offTimerCount:o+1,offTimerSchedule:m.settings.offTimerSchedule}},onSuccess:function(){h("addOffTimer: On Success 2");if(typeof j==="function"){j()}},onFailure:function(p){h("addOffTimer: On Failure 2");delete p.returnValue;if(typeof k==="function"){d(p,"PAOT","Power.addOffTimer returns failure.");k(p)}}})}},onFailure:function(m){h("addOffTimer: On Failure");delete m.returnValue;if(k&&typeof k==="function"){d(m,"PAOT","Power.addOffTimer returns failure.");k(m)}}});h("Power.addOffTimer Done")};a.prototype.deleteOffTimer=function(j,k,l){h("deleteOffTimer: "+JSON.stringify(l));if(l.hour===undefined||typeof l.hour!=="number"||l.hour<0||l.hour>23||l.minute===undefined||typeof l.minute!=="number"||l.minute<0||l.minute>59||l.week===undefined||typeof l.week!=="number"||l.week<0||l.week>127){if(typeof k==="function"){var i={};d(i,"PDOT","Power.deleteOffTimer returns failure. invalid parameters or out of range.");k(i)}return}b.Request("luna://com.lge.settingsservice/",{method:"getSystemSettings",parameters:{category:"commercial",keys:["multiOffTimerHour","multiOffTimerMinute","multiOffTimerWeekday","offTimerSchedule","offTimerCount"]},onSuccess:function(u){if(u.returnValue===true){if(typeof u.settings.multiOffTimerHour==="string"){u.settings.multiOffTimerHour=JSON.parse(u.settings.multiOffTimerHour)}if(typeof u.settings.multiOffTimerMinute==="string"){u.settings.multiOffTimerMinute=JSON.parse(u.settings.multiOffTimerMinute)}if(typeof u.settings.multiOffTimerWeekday==="string"){u.settings.multiOffTimerWeekday=JSON.parse(u.settings.multiOffTimerWeekday)}if(typeof u.settings.offTimerSchedule==="string"){u.settings.offTimerSchedule=JSON.parse(u.settings.offTimerSchedule)}var t=0,s=(u.settings.offTimerSchedule===null||u.settings.offTimerSchedule===undefined?0:u.settings.offTimerSchedule.length);var o=["0","0","0","0","0","0","0"],p=["0","0","0","0","0","0","0"],m=["0","0","0","0","0","0","0"],r=[];var n=false;for(var q=0;q<s;q++){if(u.settings.offTimerSchedule[q]===null){continue}if(n===false&&l.hour===u.settings.offTimerSchedule[q].hour&&l.minute===u.settings.offTimerSchedule[q].minute&&l.week===u.settings.offTimerSchedule[q].weekday){n=true}else{o[t]=u.settings.multiOffTimerHour[q];p[t]=u.settings.multiOffTimerMinute[q];m[t]=u.settings.multiOffTimerWeekday[q];r[t]=u.settings.offTimerSchedule[q];t++}}if(n===true){s--}if(s===0){r=[]}if(u.settings.offTimerSchedule.length===s){if(typeof k==="function"){d(u,"PDOT","Power.deleteOffTimer returns failure. There is no 'off timer' matched in the list.");k(u)}return}b.Request("luna://com.lge.settingsservice/",{method:"setSystemSettings",parameters:{category:"commercial",settings:{multiOffTimerHour:o,multiOffTimerMinute:p,multiOffTimerWeekday:m,offTimerCount:s,offTimerSchedule:r}},onSuccess:function(){h("deleteOffTimer: On Success 2");if(typeof j==="function"){j()}},onFailure:function(v){h("deleteOffTimer: On Failure 2");delete v.returnValue;if(typeof k==="function"){d(v,"PDOT","Power.deleteOffTimer returns failure.");k(v)}}})}},onFailure:function(m){h("deleteOffTimer: On Failure");delete m.returnValue;if(k&&typeof k==="function"){d(m,"PDOT","Power.deleteOffTimer returns failure.");k(m)}}});h("Power.deleteOffTimer Done")};a.prototype.getOnTimerList=function(i,j){h("getOnTimerList: ");b.Request("luna://com.lge.settingsservice/",{method:"getSystemSettings",parameters:{category:"commercial",keys:["onTimerSchedule"]},onSuccess:function(k){if(k.returnValue===true){var n={};var o=new Array(k.settings.onTimerSchedule===null||k.settings.onTimerSchedule===undefined?0:k.settings.onTimerSchedule.length);for(var l=0,m=0;m<o.length;m++){if(k.settings.onTimerSchedule[m]===null||k.settings.onTimerSchedule[m]===undefined){continue}o[l]={hour:0,minute:0,week:0,inputSource:0};o[l].hour=k.settings.onTimerSchedule[m].hour;o[l].minute=k.settings.onTimerSchedule[m].minute;o[l].week=k.settings.onTimerSchedule[m].weekday;o[l++].inputSource=c(k.settings.onTimerSchedule[m].input)}n.timerList=o;if(i&&typeof i==="function"){i(n)}}},onFailure:function(k){h("getOnTimerList: On Failure");delete k.returnValue;if(j&&typeof j==="function"){d(k,"PGOTL","Power.getOnTimerList returns failure.");j(k)}}});h("Power.getOnTimerList Done")};a.prototype.getOffTimerList=function(i,j){h("getOffTimerList: ");b.Request("luna://com.lge.settingsservice/",{method:"getSystemSettings",parameters:{category:"commercial",keys:["offTimerSchedule"]},onSuccess:function(k){h("getOffTimerList: On Success");if(k.returnValue===true){var n={};var o=new Array(k.settings.offTimerSchedule===null||k.settings.offTimerSchedule===undefined?0:k.settings.offTimerSchedule.length);for(var l=0,m=0;m<o.length;m++){if(k.settings.offTimerSchedule[m]===null||k.settings.offTimerSchedule[m]===undefined){continue}o[l]={hour:0,minute:0,week:0};o[l].hour=k.settings.offTimerSchedule[m].hour;o[l].minute=k.settings.offTimerSchedule[m].minute;o[l++].week=k.settings.offTimerSchedule[m].weekday}n.timerList=o;if(i&&typeof i==="function"){i(n)}}},onFailure:function(k){h("getOffTimerList: On Failure");delete k.returnValue;if(j&&typeof j==="function"){d(k,"PGOTL","Power.getOffTimerList returns failure.");j(k)}}});h("Power.getOffTimerList Done")};a.prototype.setDisplayMode=function(j,k,l){h("setDisplayMode: "+JSON.stringify(l));var m=null;switch(l.displayMode){case a.DisplayMode.DISPLAY_OFF:m="turnOffScreen";break;case a.DisplayMode.DISPLAY_ON:m="turnOnScreen";break}h("setDisplayMode: "+m);if(m===null&&k&&typeof k==="function"){var i={};d(i,"PSDM","Power.setDisplayMode returns failure. command was not defined.");k(i);h("Power.setDisplayMode invalid ");return}b.Request("luna://com.webos.service.tv.signage/",{method:"getPowerState",onSuccess:function(n){h("setDisplayMode: On Success");if(n.returnValue===true&&n.state===l.displayMode){if(j&&typeof j==="function"){h("setDisplayMode: no need to do any action.");j()}return}b.Request("luna://com.webos.service.tv.signage/",{method:m,onSuccess:function(o){h("setDisplayMode: On Success");if(o.returnValue===true){if(j&&typeof j==="function"){j()}}},onFailure:function(o){h("setDisplayMode: On Failure");delete o.returnValue;if(k&&typeof k==="function"){d(o,"PSDM","Power.setDisplayMode returns failure.");k(o)}}})},onFailure:function(n){h("setDisplayMode: On Failure 2");delete n.returnValue;if(k&&typeof k==="function"){d(n,"PSDM","Power.setDisplayMode returns failure.");k(n)}}});h("Power.setDisplayMode Done")};a.prototype.executePowerCommand=function(j,k,l){h("executePowerCommand: "+JSON.stringify(l));if(l.powerCommand===undefined||typeof l.powerCommand!=="string"||l.powerCommand===null||l.powerCommand.length<=0){if(typeof k==="function"){var i={};d(i,"PEPM","Power.executePowerCommand returns failure. invalid argument or out of range. ");k(i)}return}b.Request("luna://com.webos.service.tv.signage/",{method:l.powerCommand,parameters:{reason:"unknown"},onSuccess:function(m){h("executePowerCommand: On Success");if(m.returnValue===true){if(j&&typeof j==="function"){j()}}},onFailure:function(m){h("executePowerCommand: On Failure");delete m.returnValue;if(k&&typeof k==="function"){d(m,"PEPM","Power.executePowerCommand returns failure.");k(m)}}});h("Power.executePowerCommand Done")};g.exports=a});Power=cordova.require("cordova/plugin/power");
@@ -0,0 +1 @@
1
+ cordova.define("cordova/plugin/signage",function(j,z,c){var A;function h(B){console.log(B)}if(window.PalmSystem){h("Window.PalmSystem Available");A=j("cordova/plugin/webos/service")}else{h("Window.PalmSystem is NOT Available");A={Request:function(B,C){h(B+" invoked. But I am a dummy because PalmSystem is not available");if(typeof C.onFailure==="function"){C.onFailure({returnValue:false,errorCode:"CORDOVA_ERR",errorText:"PalmSystem Not Available. Cordova is not installed?"})}}}}var u=function(B){var C=l[B];h(JSON.stringify(C,null,3));if(C&&C.getEvent===true){if(l[B].listenerObj){l[B].listenerObj.cancel();l[B].getEvent=false;l[B].listenerObj=null}}};var m=function(C,B){var D=l[C];if(D&&typeof D.createListener==="function"){D.listenerObj=D.createListener(B);D.getEvent=true}};function k(C){if(C.substring(0,"ext://".length)!=="ext://"){return false}var B=C.substring("ext://".length);h("Type :"+B);var D=B.split(":");h("splited :"+D);if(D.length===1){if(D[0]==="internal_memory"){return true}}else{if(D.length===2){if(D[0]==="hdmi"||D[0]==="dvi"||D[0]==="dp"){if(D[1].match(/[0-9]/m)){return true}}return false}else{return false}}}function g(B){if(B==="internal_usb"){return"ext://internal_memory"}else{if(B==="dp"){return"ext://dp:1"}else{if(B==="dvi"){return"ext://dvi:1"}else{if(B==="hdmi1"){return"ext://hdmi:1"}else{if(B==="hdmi2"){return"ext://hdmi:2"}else{return false}}}}}}function d(C){if(C.substring(0,"ext://".length)!=="ext://"){h("Bad prefix: "+C);return false}var B=C.substring("ext://".length);h("body is: "+B);if(B==="internal_memory"){return"internal_usb"}else{var D=B.split(":");if(D.length!==2){h("Bad Syntax: "+C);return false}if(D[0]==="hdmi"){return D[0]+D[1]}else{return D[0]}}}function s(B,D){for(var C in B){if(B[C]===D){return true}}return false}var p={FAILOVER_MODE:"failover",FAILOVER_PRIORITY:"failoverPriority",IR_OPERATION_MODE:"enableIrRemote",LOCALKEY_OPERATION_MODE:"enableLocalKey",OSD_PORTRAIT_MODE:"osdPortraitMode",TILE_MODE:"tileMode",TILE_ID:"tileId",TILE_ROW:"tileRow",TILE_COLUME:"tileCol",TILE_NATURALMODE:"naturalMode",DPM_MODE:"dpmMode",AUTOMATIC_STANDBY_MODE:"autoSB",ISM_METHOD:"ismmethod",SES_MODE:"smartEnergy",DO_15OFF_MODE:"15off",MONITOR_FAN:"monitorFan",MONITOR_SIGNAL:"monitorSignal",MONITOR_LAMP:"monitorLamp",MONITOR_SCREEN:"monitorScreen",MONITOR_AUDIO:"monitorAudio",AUDIO_SOURCE_HDMI1:"audioSourceHdmi1",AUDIO_SOURCE_HDMI2:"audioSourceHdmi2",AUDIO_SOURCE_DP:"audioSourceDp",};var q=function(B){h("Create Listener for monitorTemperature");var C=A.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"systemMonitor/getTemperature",parameters:{subscribe:true},onSuccess:function(D){h("temperature!!!!!!!!! : "+JSON.stringify(D,null,3));if(D.returnValue===true){var E={source:a.MonitoringSource.THERMOMETER,type:a.EventType.CURRENT_TEMPERATURE,data:{temperature:D.temperature}};if(B){B(E)}}},onFailure:function(D){h("monitor_temperature!!!!!!!!! : FAIL "+JSON.stringify(D,null,3))}});return C};var f=function(B){h("Create Listener for monitorFan");var C=A.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"systemMonitor/getFanEvent",parameters:{subscribe:true},onSuccess:function(D){h("monitor_fan!!!!!!!!! : "+JSON.stringify(D,null,3));if(D.returnValue===true){var E={source:a.MonitoringSource.FAN,type:a.EventType.FAN_STATUS,data:{status:D.fanFault}};if(B){B(E)}}},onFailure:function(D){h("monitor_fan!!!!!!!!! : FAIL "+JSON.stringify(D,null,3))}});return C};var i=function(B){h("Create Listener for monitorLamp");var C=A.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"systemMonitor/getLampEvent",parameters:{subscribe:true},onSuccess:function(D){h("monitor_lamp!!!!!!!!! : "+JSON.stringify(D,null,3));if(D.returnValue===true){var E={source:a.MonitoringSource.LAMP,type:a.EventType.LAMP_STATUS,data:{status:D.lampFault}};if(B){B(E)}}},onFailure:function(D){h("monitor_lamp!!!!!!!!! : FAIL "+JSON.stringify(D,null,3))}});return C};var o=function(B){h("Create Listener for monitorSignal");var C=A.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"systemMonitor/getSignalEvent",parameters:{subscribe:true},onSuccess:function(D){h("monitor_signal!!!!!!!!! : "+JSON.stringify(D,null,3));if(D.returnValue===true){var E={type:a.EventType.NO_SIGNAL,source:a.MonitoringSource.SIGNAL};if(D.noSignal===true){E.data.status="no_signal"}else{E.data.status="signal_available"}if(B){B(E)}}},onFailure:function(D){h("monitor_signal!!!!!!!!! : FAIL "+JSON.stringify(D,null,3))}});return C};var v=function(B){h("Create Listener for monitorScreen");var C=A.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"systemMonitor/getScreenEvent",parameters:{subscribe:true},onSuccess:function(D){h("monitor_screen!!!!!!!!! : "+JSON.stringify(D,null,3));if(D.returnValue===true){var E={source:a.MonitoringSource.SCREEN,type:a.EventType.SCREEN_STATUS,data:{status:D.screen}};if(B){B(E)}}},onFailure:function(D){h("monitor_screen!!!!!!!!! FAIL : "+JSON.stringify(D,null,3))}});return C};var l={fan:{getEvent:false,listenerObj:null,createListener:f},screen:{getEvent:false,listenerObj:null,createListener:v},temperature:{getEvent:false,listenerObj:null,createListener:q},signal:{getEvent:false,listenerObj:null,createListener:o},lamp:{getEvent:false,listenerObj:null,createListener:i}};var r={row:0,col:0};var a=function(){};a.UNDEFINED="___undefined___";a.OsdPortraitMode={ON:"90",OFF:"off"};a.AutomaticStandbyMode={OFF:"off",STANDBY_4HOURS:"4hours",};a.IsmMethod={NORMAL:"NORMAL",ORBITER:"ORBITER",INVERSION:"INVERSION",COLORWASH:"COLORWASH",WHITEWASH:"WHITEWASH"};a.FailoverMode={OFF:"off",AUTO:"auto",MANUAL:"manual"};a.DigitalAudioInput={HDMI_DP:"hdmi",AUDIO_IN:"audioIn"};a.DpmMode={OFF:"off",POWER_OFF_5SECOND:"5sec",POWER_OFF_10SECOND:"10sec",POWER_OFF_15SECOND:"15sec",POWER_OFF_1MINUTE:"1min",POWER_OFF_3MINUTE:"3min",POWER_OFF_5MINUTE:"5min",POWER_OFF_10MINUTE:"10min"};a.KeyOperationMode={ALLOW_ALL:"normal",POWER_ONLY:"usePwrOnly",BLOCK_ALL:"blockAll"};a.EventType={CURRENT_TEMPERATURE:"CURRENT_TEMPERATURE",FAN_STATUS:"FAN_STATUS",LAMP_STATUS:"LAMP_STATUS",SCREEN_STATUS:"SCREEN_STATUS",SIGNAL_STATUS:"SIGNAL_STATUS",};a.MonitoringSource={FAN:"FAN",LAMP:"LAMP",SIGNAL:"SIGNAL",SCREEN:"SCREEN",THERMOMETER:"THERMOMETER"};function t(E,D,F,B,C){var G={category:E,keys:D};A.Request("luna://com.lge.settingsservice/",{method:"getSystemSettings",parameters:G,onSuccess:function(H){h("On Success");if(H.returnValue===true){var I=F(H.settings);if(I===false){if(C&&typeof C==="function"){C({errorText:"Invalid DB value",errorCode:"DB_ERROR",})}}else{if(B&&typeof B==="function"){h("successCallback!!!!!!!!!");B(I)}else{h("successCallback not registered or is not a function: "+B)}}}else{h("Settings Failed: "+JSON.stringify(H,null,3));if(C&&typeof C==="function"){C({errorText:"Invalid DB value : "+H.errorText,errorCode:"DB_ERROR",})}}},onFailure:function(H){h("On Failure");delete H.returnValue;if(H.settings){h("settings = "+JSON.stringify(H.settings,null,3));var J=F(H.settings);h("errorKey = "+JSON.stringify(H.errorKey,null,3));for(var I=0;I<H.errorKey.length;++I){J[H.errorKey[I]]=a.UNDEFINED}h("cbObj = "+JSON.stringify(J,null,3));if(B&&typeof B==="function"){h("successCallback!!!!!!!!!");B(J)}}else{if(C&&typeof C==="function"){C({errorText:((typeof H.errorText==="undefined")?"DB Failure":H.errorText),errorCode:"DB_ERROR",})}}}});h("Requested Service: luna://com.lge.settingsservice/getSystemSettings");h("params : "+JSON.stringify(G))}function e(G,F,B,C){var H={category:G,settings:F};h("settings : "+JSON.stringify(F,null,3));var D=false;for(var E in F){if(E){h("has key : "+E);D=true;break}}if(D===false){h("Nothing to set!!!!!");B();return}A.Request("luna://com.lge.settingsservice/",{method:"setSystemSettings",parameters:H,onSuccess:function(){h("On Success");if(B&&typeof B==="function"){h("SUCCEES CALLBACK!!!!!!!");B()}},onFailure:function(I){h("On Failure");delete I.returnValue;if(C&&typeof C==="function"){h("ERROR CALLBACK!!!!!!!");C(I)}}});h("Requested Service: luna://com.lge.settingsservice/setSystemSettings");h("params : "+JSON.stringify(H))}a.prototype.setPortraitMode=function(B,D,G){var H={};var F;function E(J){if(J.portraitMode){for(var K in a.OsdPortraitMode){if(J.portraitMode===a.OsdPortraitMode[K]){return true}}F="Unrecognized OsdPortraintMode : "+J.portraitMode;return false}else{F="portraitMode does not exist.";return false}}if(E(G)){var C=G.portraitMode;h("portraitMode: "+G.portraitMode);H[p.OSD_PORTRAIT_MODE]=C;h("Set: "+JSON.stringify(H,null,3));e("commercial",H,B,D);h("setPortraitMode Done")}else{var I={errorCode:"BAD_PARAMETER",errorText:F};D(I)}};a.prototype.setFailoverMode=function(D,I,P){var G={};var J;function C(Q){h("options:"+JSON.stringify(Q,null,3));var U=Q.failoverMode;if(typeof U==="undefined"){J="Fail over mode not set : ";return false}if(U.mode===a.FailoverMode.MANUAL){if(typeof U.priority==="undefined"){J="priority should be present when mode is MANUAL.";return false}else{if(U.priority.length===0||typeof U.priority.length==="undefined"){return false}for(var S=0;S<U.priority.length;++S){if(!k(U.priority[S])){J="Invalid input value : "+U.priority[S];return false}}}}else{if(typeof U.priority!=="undefined"){J="This priority is available only if mode is : Signage.FailoverMode.MANUAL";return false}else{if(typeof U.mode!=="undefined"){var T=false;h("Mode is: "+U.mode);for(var R in a.FailoverMode){if(U.mode===a.FailoverMode[R]){h("Matched with: "+a.FailoverMode[R]);T=true}}if(!T){h("Unrecognized failoverMode : "+U.mode);J="Unrecognized failoverMode : "+U.mode;return false}}}}return true}if(C(P)){var M=P.failoverMode;if(M.mode===a.FailoverMode.MANUAL){var N=M.priority;h("priority: "+M.priority);for(var H=0;H<5;++H){var K=p.FAILOVER_PRIORITY+(H+1);h("attrName: "+K);var E="";if(H<N.length){var B=N[H];h("input: "+B);E=d(B);if(E===false){var F={errorCode:"API_ERROR",errorText:B+" is not valid"};I(F);return}}else{h("No more input URI")}h("inputValue: "+E);G[K]=E}G[p.FAILOVER_MODE]=M.mode}else{if(M.mode){var O=M.mode;h("mode: "+M.mode);G[p.FAILOVER_MODE]=O}}h("Set: "+JSON.stringify(G,null,3));e("commercial",G,D,I);h("setFailoverMode Done")}else{var L={errorCode:"BAD_PARAMETER",errorText:J};I(L)}};a.prototype.getFailoverMode=function(B,C){var E=function(H){var J={};J.mode=H[p.FAILOVER_MODE];var K=[];for(var G=1;G<6;++G){var F=p.FAILOVER_PRIORITY+G;h("Key is: "+F);var I=g(H[F]);h("Value is: "+I);if(I===false){return false}K.push(I)}J.priority=K;return J};var D=[p.FAILOVER_MODE,p.FAILOVER_PRIORITY+"1",p.FAILOVER_PRIORITY+"2",p.FAILOVER_PRIORITY+"3",p.FAILOVER_PRIORITY+"4",p.FAILOVER_PRIORITY+"5"];t("commercial",D,E,B,C)};function x(D,B){var C=typeof D;h("mytype: "+C);h("type: "+B);if(C==="undefined"){return true}else{if(C===B){return D}else{return false}}}a.prototype.setTileInfo=function(C,H,J){var I;var B=function(U){var K=typeof U.tileInfo.enabled;h("enabledType:"+K);if(K!=="undefined"&&K!=="boolean"){I="enabled should be a boolean";return false}var T=U.tileInfo.row;var M=x(T,"number");if(M===false){I="Invalid type for row"+T;return false}else{if(M===true){h("Row is not defined")}else{if(T>15||T<1){I="row should be 0<n<16 but :"+T;return false}}}var N=U.tileInfo.column;var P=x(N,"number");if(P===false){I="Invalid type for column"+N;return false}else{if(M===true){h("column is not defined")}else{if(N>15||N<1){I="column should be 0<n<16 but :"+N;return false}}}var L=U.tileInfo.tileId;var S=x(L,"number");if(S===false){I="Invalid type for "+N;return false}else{if(S===true){h("id is not defined")}else{if(L<1){I="tileId should be bigger than 0 but :"+L;return false}var Q=r.row;if(T){Q=T}var R=r.column;if(N){R=N}h("curRow : "+Q);h("curCol : "+R);h("id : "+L);if(L>R*Q){I="ID should be less than curRow*curCol";return false}}}var O=typeof U.tileInfo.naturalMode;if(O!=="undefined"&&O!=="boolean"){I="naturalMode should be a boolean";return false}return true};if(B(J)===true){var D=J.tileInfo;var F={};if(typeof D.enabled==="boolean"){if(D.enabled){F[p.TILE_MODE]="on"}else{F[p.TILE_MODE]="off"}}if(D.row){F[p.TILE_ROW]=D.row.toString()}if(D.column){F[p.TILE_COLUME]=D.column.toString()}if(D.tileId){F[p.TILE_ID]=D.tileId.toString()}if(typeof D.naturalMode==="boolean"){if(D.naturalMode){F[p.TILE_NATURALMODE]="on"}else{F[p.TILE_NATURALMODE]="off"}}h("Set: "+JSON.stringify(F,null,3));var G=function(){h("Do callback!!!!!!!!");if(D.row){r.row=D.row}if(D.column){r.column=D.column}if(C&&typeof C==="function"){h("Invoke successCallback");C();h("Invoked successCallback")}};e("commercial",F,G,H);h("setTileInfo Done")}else{var E={errorCode:"BAD_PARAMETER",errorText:I};H(E)}};function n(B){if(B==="on"){return true}else{if(B==="off"){return false}else{return false}}}a.prototype.getTileInfo=function(B,C){var E=function(F){var G={};h("settings Value: "+JSON.stringify(F,null,3));G.enabled=n(F[p.TILE_MODE]);G.row=parseInt(F[p.TILE_ROW],10);G.column=parseInt(F[p.TILE_COLUME],10);G.tileId=parseInt(F[p.TILE_ID],10);G.naturalMode=n(F[p.TILE_NATURALMODE]);h("Return Value: "+JSON.stringify(G,null,3));return G};var D=[p.TILE_MODE,p.TILE_ROW,p.TILE_COLUME,p.TILE_ID,p.TILE_NATURALMODE,];t("commercial",D,E,B,C)};a.prototype.getSignageInfo=function(B,C){var E=function(F){var G={};h("settings: "+JSON.stringify(F,null,3));G.portraitMode=F[p.OSD_PORTRAIT_MODE];G.ismMethod=F[p.ISM_METHOD];G.digitalAudioInputMode={"ext://hdmi:1":F[p.AUDIO_SOURCE_HDMI1],"ext://hdmi:2":F[p.AUDIO_SOURCE_HDMI2],"ext://dp:1":F[p.AUDIO_SOURCE_DP],};h("cbObj: "+JSON.stringify(G,null,3));return G};var D=[p.OSD_PORTRAIT_MODE,p.ISM_METHOD,p.AUDIO_SOURCE_HDMI1,p.AUDIO_SOURCE_HDMI2,p.AUDIO_SOURCE_DP,];t("commercial",D,E,B,C)};a.prototype.setIsmMethod=function(B,C,F){var H={};var E;function D(J){if(J.ismMethod){for(var K in a.IsmMethod){if(J.ismMethod===a.IsmMethod[K]){return true}}E="Unrecognized ismMethod : "+J.ismMethod;return false}else{E="ismMethod does not exist.";return false}}if(D(F)){if(F.ismMethod){var G=F.ismMethod;h("ismMethod : "+G);H[p.ISM_METHOD]=G}h("Set: "+JSON.stringify(H,null,3));e("commercial",H,B,C);h("setIsmMethod Done")}else{var I={errorCode:"BAD_PARAMETER",errorText:E};C(I)}};a.prototype.setDigitalAudioInputMode=function(B,D,G){var H={};var F;function E(J){if(J.digitalAudioInputList){for(var K in J.digitalAudioInputList){if(K){if(!k(K)){F="Invalid Input Type : "+K;return false}var N=J.digitalAudioInputList[K];var M=false;for(var L in a.DigitalAudioInput){if(N===a.DigitalAudioInput[L]){M=true}}if(!M){F="Invalid Audio Input : "+N;return false}}}return true}else{F="digitalAudioInputList does not exist.";return false}}if(E(G)){for(var C in G.digitalAudioInputList){if(C==="ext://hdmi:1"){H[p.AUDIO_SOURCE_HDMI1]=G.digitalAudioInputList[C]}else{if(C==="ext://hdmi:2"){H[p.AUDIO_SOURCE_HDMI2]=G.digitalAudioInputList[C]}else{if(C==="ext://dp:1"){H[p.AUDIO_SOURCE_DP]=G.digitalAudioInputList[C]}}}}A.Request("luna://com.lge.settingsservice/",{method:"setSystemSettings",parameters:{category:"commercial",settings:H},onSuccess:function(){if(typeof B==="function"){B()}},onFailure:function(J){delete J.returnValue;if(typeof D==="function"){D(J)}}})}else{var I={errorCode:"BAD_PARAMETER",errorText:F};D(I)}};var y=false;a.prototype.registerSystemMonitor=function(C,G,K){var J=["fan","signal","lamp","screen","temperature"];var H;var I="BAD_PARAMETER";h("Listeners are: "+JSON.stringify(l,null,3));function B(L){if(y===true){H="Not ready to register monitor now.";I="SYSTEM_ERROR";return false}h("options are: "+JSON.stringify(L,null,3));if(typeof L.eventHandler!=="function"){H="No event handler was given or event hadnler is not a function";return false}if(L.monitorConfiguration){for(var N in L.monitorConfiguration){if(N){var P=false;for(var M=0;M<J.length;++M){if(N===J[M]){h("Found key: "+J[M]);P=true}}if(!P){H="Invalid Monitoring source : "+N;return false}var O=L.monitorConfiguration[N];h("value: "+O);if(typeof O!=="boolean"){H="Invalid value : "+O;return false}}}return true}else{H="monitorConfiguration does not exist.";return false}}if(B(K)){var E=function(){h("Canceled all previous message subscriptions");var M=K.eventHandler;for(var L in K.monitorConfiguration){if(L){var N=K.monitorConfiguration[L];if(N===true){h("Add listener for : "+L);m(L,M)}}}h("Monitoring Setup : "+JSON.stringify(l,null,3));h("Start Polling : ");A.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"systemMonitor/startMonitor",parameters:{},onSuccess:function(O){h("On Success");if(O.returnValue===true){if(C&&typeof C==="function"){C()}}else{if(G&&typeof G==="function"){G(O)}}y=false},onFailure:function(O){h("On Failure");delete O.returnValue;if(G&&typeof G==="function"){G(O)}y=false}})};var D=function(L){G(L)};h("Cancel all previous message subscriptions");y=true;b(E,D)}else{var F={errorCode:I,errorText:H};G(F)}};a.prototype.unregisterSystemMonitor=function(B,C){b(B,C);h("After unregister, _gSystemMonitoringSetup are: "+JSON.stringify(l,null,3))};function b(B,C){h("cancelAllSubscription> setup are: "+JSON.stringify(l,null,3));for(var D in l){if(D){u(D)}}h("Stop Polling");A.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"systemMonitor/stopMonitor",parameters:{},onSuccess:function(E){h("On Success");if(E.returnValue===true){if(B&&typeof B==="function"){B()}}else{if(C&&typeof C==="function"){C(E)}}},onFailure:function(E){h("On Failure");delete E.returnValue;if(C&&typeof C==="function"){C(E)}}})}a.prototype.getSystemMonitoringInfo=function(B,C){if(l){B({fan:l.fan.getEvent,signal:l.signal.getEvent,lamp:l.lamp.getEvent,screen:l.screen.getEvent,temperature:l.temperature.getEvent,})}else{var D={errorCode:"ERROR",errorText:"Failed to get system monitoring setup"};C(D)}};a.prototype.setPowerSaveMode=function(D,J,R){var F={};var L;function C(S){if(S.powerSaveMode){for(var T in S.powerSaveMode){if(T){var U=S.powerSaveMode[T];if(T==="ses"||T==="do15MinOff"){if(typeof U!=="boolean"){L="Invalid value : "+U;return false}}else{if(T==="automaticStandby"){if(!s(a.AutomaticStandbyMode,U)){L="Invalid automaticStandby value : "+U;return false}}else{if(T==="dpmMode"){if(!s(a.DpmMode,U)){L="Invalid dpmMode value : "+U;return false}}else{L="Unknown value : "+T;return false}}}}}return true}else{L="powerSaveMode does not exist.";return false}}if(C(R)){var G=true;var H=false;var I=false;if(typeof R.powerSaveMode.ses==="boolean"){G=false;if(R.powerSaveMode.ses===true){F[p.SES_MODE]="on"}else{F[p.SES_MODE]="off"}}var B=false;if(typeof R.powerSaveMode.do15MinOff==="boolean"){B=R.powerSaveMode.do15MinOff}else{I=true}if(R.powerSaveMode.dpmMode){G=false;var Q=R.powerSaveMode.dpmMode;h("dpmMode: "+Q);F[p.DPM_MODE]=Q}var P=false;if(R.powerSaveMode.automaticStandby){P=R.powerSaveMode.automaticStandby;h("automaticStandby: "+P)}else{H=true}h("Set: "+JSON.stringify(F,null,3));var M=false;var K="";var O="";var N=function(){if(G===true&&H===true&&I===true){if(M===true){h("Has Error!!!!!"+O+" : "+K);J({errorCode:O,errorText:K});return}else{h("SUCCESS!!!!");D();return}}};if(G===false){e("commercial",F,function(){h("commercial success");G=true;N()},function(S){h("Commercial Failed");G=true;M=true;O=S.errorCode;K=S.errorText;N()})}if(H===false){e("commercial",{noActivityOff:P},function(){h("noActivityOff success");H=true;N()},function(S){h("noActivityOff failed");H=true;M=true;O=S.errorCode;K=S.errorText;N()})}if(I===false){w(B,function(){h("time success");I=true;N()},function(S){h("time failed");I=true;M=true;O=S.errorCode;K=S.errorText;N()})}h("setPowerSaveMode Done")}else{var E={errorCode:"BAD_PARAMETER",errorText:L};J(E)}};function w(C,E,B){var K;if(C){K="on"}else{K="off"}var J;if(C){J="true"}else{J="false"}var H=false;var I=false;var D=false;var F="";var G=function(){if(H===true&&I===true){h("set15MinOff DONE");if(D===true){h("errorText: "+F);B({errorCode:"SET_ERROR",errorText:F})}else{E()}}};A.Request("luna://com.lge.settingsservice/",{method:"setSystemSettings",parameters:{category:"time",settings:{autoOff15Min:K}},onSuccess:function(){h("set15MinOff getSystemSettings On Success");H=true;G()},onFailure:function(L){h("set15MinOff getSystemSettings On Failure");h("result.errorText: "+L.errorText);F+=L.errorText+";";D=true;H=true;G()}});A.Request("luna://com.webos.service.tv.signage/",{method:"setProperties",parameters:{autoPowerOff15Min:J},onSuccess:function(){h("set15MinOff setProperties On Success");I=true;G()},onFailure:function(L){h("set15MinOff setProperties On Failure");h("result.errorText: "+L.errorText);F+=L.errorText+";";D=true;I=true;G()}})}a.prototype.getPowerSaveMode=function(B,G){var D=false;var E=false;var F=false;var I=false;var H="";var K="";var C={ses:"",dpmMode:"",automaticStandby:"",do15MinOff:"",};var J=function(){if(D===true&&E===true&&F===true){if(I===true){h("Has Error!!!!!"+K+" : "+H);G({errorCode:K,errorText:H});return}else{h("SUCCESS!!!!");B(C);return}}};t("commercial",["dpmMode","smartEnergy"],function(L){C.dpmMode=L.dpmMode;if(L.smartEnergy==="on"){C.ses=true}else{if(L.smartEnergy==="off"){C.ses=false}}},function(){D=true;J()},function(L){D=true;I=true;K=L.errorCode;H=L.errorText;J()});t("commercial",["noActivityOff"],function(L){C.automaticStandby=L.noActivityOff},function(){E=true;J()},function(L){E=true;I=true;K=L.errorCode;H=L.errorText;J()});t("time",["autoOff15Min"],function(L){if(L.autoOff15Min==="on"){C.do15MinOff=true}else{if(L.autoOff15Min==="off"){C.do15MinOff=false}}},function(){F=true;J()},function(L){F=true;I=true;K=L.errorCode;H=L.errorText;J()})};a.prototype.setUsagePermission=function(C,F,J){var E={};var G;function B(K){if(K){h("Options: "+JSON.stringify(K,null,3))}else{h("Options not defined: "+K)}if(K.policy){for(var L in K.policy){if(L){var M=K.policy[L];if(L==="remoteKeyOperationMode"||L==="localKeyOperationMode"){if(!s(a.KeyOperationMode,M)){G="Invalid KeyOperationMode value : "+M;return false}}else{G="Unknown value : "+L;return false}}}return true}else{G="policy does not exist.";return false}}if(B(J)){if(J.policy.localKeyOperationMode){var I=J.policy.localKeyOperationMode;h("portraitMode: "+I);E[p.LOCALKEY_OPERATION_MODE]=I}if(J.policy.remoteKeyOperationMode){var H=J.policy.remoteKeyOperationMode;h("portraitMode: "+H);E[p.IR_OPERATION_MODE]=H}h("Set: "+JSON.stringify(E,null,3));e("hotelMode",E,C,F);h("setPolicy Done")}else{var D={errorCode:"BAD_PARAMETER",errorText:G};F(D)}};a.prototype.getUsagePermission=function(B,C){var E=function(F){var G={};h("settings: "+JSON.stringify(F,null,3));G.remoteKeyOperationMode=F[p.IR_OPERATION_MODE];G.localKeyOperationMode=F[p.LOCALKEY_OPERATION_MODE];h("cbObj: "+JSON.stringify(G,null,3));return G};var D=[p.IR_OPERATION_MODE,p.LOCALKEY_OPERATION_MODE,];t("hotelMode",D,E,B,C)};a.prototype.getUsageData=function(B,C){var D=false;var E=false;var G={uptime:false,totalUsed:false,};function F(){h("accessResult!!!!!!!!!!!!!!!!!!");if(D===true&&E===true){h("CB Object: "+JSON.stringify(G,null,3));if(G.uptime===false||G.totalUsed===false){C({errorCode:"CORDOVA_FAIL",errorText:"Failed to get usage data",});return}else{h("SUCCESS!!!!!!!!!!!!!!!!!!");B(G);return}}else{h("Not Yet!!!!!!!!!!!!!!!!!!")}}A.Request("luna://com.webos.service.tv.signage/",{method:"getUTT",parameters:{},onSuccess:function(H){h("On getUTT Success");D=true;if(H.returnValue===true){h("UTT is :"+H.UTT);G.totalUsed=H.UTT}F()},onFailure:function(H){h("On getUTT Failure :"+JSON.stringify(H,null,3));D=true;F()}});A.Request("luna://com.webos.service.tv.signage/",{method:"dsmp/getElapsedTime",parameters:{},onSuccess:function(H){h("On getElapsedTime Success");E=true;h("result: "+JSON.stringify(H,null,3));if(H.returnValue===true){var I=H.elapsedTime;h("Elapsed!!: "+I);G.uptime=I}F()},onFailure:function(H){h("On getSystemSettings Failure "+JSON.stringify(H,null,3));E=true;F()}})};a.prototype.captureScreen=function(B,C){A.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"captureScreen",parameters:{},onSuccess:function(D){h("On Success");if(D.returnValue===true){B({data:D.data,size:D.size,encoding:D.encoding})}else{C({errorCode:D.errorCode,errorText:D.errorText})}},onFailure:function(D){h("On Failure");C({errorCode:D.errorCode,errorText:D.errorText})}})};a.prototype.addEventListener=m;a.prototype.removeEventListener=u;c.exports=a});Signage=cordova.require("cordova/plugin/signage");
@@ -0,0 +1 @@
1
+ cordova.define("cordova/plugin/sound",function(e,c,f){function g(h){console.log(h)}var a;if(window.PalmSystem){g("Window.PalmSystem Available");a=e("cordova/plugin/webos/service")}else{a={Request:function(h,i){g(h+" invoked. But I am a dummy because PalmSystem is not available");if(typeof i.onFailure==="function"){i.onFailure({returnValue:false,errorText:"PalmSystem Not Available. Cordova is not installed?"})}}}}var d=function(){};function b(i,j,h){if(i.errorCode===undefined||i.errorCode===null){i.errorCode=j}if(i.errorText===undefined||i.errorText===null){i.errorText=h}}d.prototype.getSoundStatus=function(h,i){g("getSoundStatus: ");a.Request("luna://com.webos.audio/",{method:"getVolume",onSuccess:function(j){g("getSoundStatus: On Success");if(j.returnValue===true){var k={};k.level=j.volume;k.muted=j.muted;a.Request("luna://com.lge.settingsservice/",{method:"getSystemSettings",parameters:{category:"commercial",keys:["enableSpeaker"]},onSuccess:function(l){g("getSoundStatus: On Success 2");if(l.returnValue===true){k.externalSpeaker=(l.settings.enableSpeaker==="on"?true:false);if(h&&typeof h==="function"){h(k)}}},onFailure:function(l){g("getSoundStatus: On Failure 2");delete l.returnValue;if(i&&typeof i==="function"){b(l,"SGSS","Sound.getSoundStatus returns failure.");i(l)}}})}},onFailure:function(j){g("getSoundStatus: On Failure");delete j.returnValue;if(i&&typeof i==="function"){b(j,"SGSS","Sound.getSoundStatus returns failure.");i(j)}}});g("Sound.getSoundStatus Done")};d.prototype.setVolumeLevel=function(i,j,k){g("setVolumeLevel: "+JSON.stringify(k));if(typeof k.level!=="number"||k.level<0||k.level>100){if(j&&typeof j==="function"){var h={};b(h,"SSVL","Sound.setVolumeLevel returns failure. out of range or invalid parameter type.");j(h)}return}a.Request("luna://com.webos.audio/",{method:"setVolume",parameters:{volume:k.level},onSuccess:function(l){g("setVolumeLevel: On Success");if(l.returnValue===true){if(i&&typeof i==="function"){i()}}},onFailure:function(l){g("setVolumeLevel: On Failure");delete l.returnValue;if(j&&typeof j==="function"){b(l,"SSVL","Sound.setVolumeLevel returns failure.");j(l)}}});g("Sound.setVolumeLevel Done")};d.prototype.setExternalSpeaker=function(i,j,l){g("setExternalSpeaker: "+JSON.stringify(l));if(typeof l.externalSpeaker!=="boolean"){if(j&&typeof j==="function"){var h={};b(h,"SSVL","Sound.setExternalSpeaker returns failure. out of range or invalid parameter type.");j(h)}return}var k=null;switch(l.externalSpeaker){case true:k="on";break;case false:k="off";break}a.Request("luna://com.lge.settingsservice/",{method:"setSystemSettings",parameters:{category:"commercial",settings:{enableSpeaker:k}},onSuccess:function(){g("setExternalSpeaker: On Success");if(typeof i==="function"){i()}},onFailure:function(m){g("setExternalSpeaker: On Failure");delete m.returnValue;if(typeof j==="function"){b(m,"SSES","Sound.setExternalSpeaker returns failure.");j(m)}}});g("Sound.setExternalSpeaker Done")};d.prototype.setMuted=function(i,j,k){g("setMuted: "+JSON.stringify(k));if(typeof k.muted!=="boolean"){if(j&&typeof j==="function"){var h={};b(h,"SSVL","Sound.setMuted returns failure. out of range or invalid parameter type.");j(h)}return}a.Request("luna://com.webos.audio/",{method:"setMuted",parameters:{muted:k.muted},onSuccess:function(l){g("setMuted: On Success");if(l.returnValue===true){if(i&&typeof i==="function"){i()}}},onFailure:function(l){g("setMuted: On Failure");delete l.returnValue;if(j&&typeof j==="function"){b(l,"SSM","Sound.setMuted returns failure.");j(l)}}});g("Sound.setMuted Done")};f.exports=d});Sound=cordova.require("cordova/plugin/sound");
@@ -0,0 +1 @@
1
+ cordova.define("cordova/plugin/storage",function(d,h,b){var i;function f(k){console.log(k)}if(window.PalmSystem){f("Window.PalmSystem Available");i=d("cordova/plugin/webos/service")}else{i={Request:function(k,l){f(k+" invoked. But I am a dummy because PalmSystem is not available");if(typeof l.onFailure==="function"){l.onFailure({returnValue:false,errorText:"PalmSystem Not Available. Cordova is not installed?"})}}}}function g(q){var p=g.options,k=p.parser[p.strictMode?"strict":"loose"].exec(q),n={},l=14;while(l--){n[p.key[l]]=k[l]||""}n[p.q.name]={};n[p.key[12]].replace(p.q.parser,function(o,m,r){if(m){n[p.q.name][m]=r}});c(n);return n}g.options={strictMode:false,key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}};function c(k){if(k.protocol==="file"){if(k.host==="internal"){return a(k)}else{if(k.host==="usb"){e(k)}else{throw" Invalid Host: "+k.host}}}else{if(k.protocol==="http"||k.protocol==="https"){if(k.path.charAt(k.path.length-1)==="/"){throw"Invalid path: "+k.path}else{return}}else{throw"Invalid protocol: "+k.protocol}}}function a(k){if(k.path){f("Path: "+k.path);if(k.path.lastIndexOf("/")>0){throw"Invalid internal path: "+k.path}else{return}}else{f("No Path: ");throw"Invalid internal path: "+k.path}}function e(k){if(k.port){if(k.port.match("/[0-9]+/")){return{result:true}}else{throw"Invalid USB host: "+k.host}}else{throw"Invalid USB host: "+k.host}if(k.path){if(k.path.charAt(k.path.length-1)==="/"){throw"Invalid USB path: "+k.path}else{return{result:true}}}else{throw"Invalid USB path: "+k.path}}var j=function(){};j.prototype.upgradeApplication=function(k,l){i.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"upgradeApplication",parameters:{from:"remote"},onSuccess:function(m){if(m.returnValue===true){k()}else{l({errorCode:m.errorCode,errorText:m.errorText})}},onFailure:function(m){l({errorCode:m.errorCode,errorText:m.errorText})}})};j.prototype.copyFile=function(k,l,m){f("Options: "+JSON.stringify(m,null,3));if(typeof m==="undefined"||typeof m.destination!=="string"||typeof m.source!=="string"){f("Bad options");l({errorCode:"BAD_PARAM",errorText:JSON.stringify(m,null,3)});return}i.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"fs/copyFile",parameters:{dest:m.destination,src:m.source},onSuccess:function(n){if(n.returnValue===true){f("SUCCESS");k()}else{f("Err: "+n.errorText);l({errorCode:n.errorCode,errorText:n.errorText})}},onFailure:function(n){f("Err: "+n.errorText);l({errorCode:n.errorCode,errorText:n.errorText})}})};j.prototype.removeFile=function(k,l,m){i.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"fs/removeFile",parameters:{file:m.file},onSuccess:function(n){f("onSuccess");if(n.returnValue===true){k()}else{l({errorCode:n.errorCode,errorText:n.errorText})}},onFailure:function(n){f("onFailure");l({errorCode:n.errorCode,errorText:n.errorText})}})};j.prototype.listFiles=function(k,l){i.Request("luna://com.webos.service.commercial.signage.storageservice/",{method:"fs/listFiles",parameters:{directory:"file://internal"},onSuccess:function(m){if(m.returnValue===true){var n={files:m.files,totalCount:m.totalCount};k(n)}else{l({errorCode:m.errorCode,errorText:m.errorText})}},onFailure:function(m){l({errorCode:m.errorCode,errorText:m.errorText})}})};j.prototype.getStorageInfo=function(k,l){i.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"fs/storageInfo",parameters:{},onSuccess:function(m){f("returned : "+JSON.stringify(m,null,3));if(m.returnValue===true){f("returned : "+JSON.stringify(m,null,3));var n={free:m.spaceInfo.freeSize,total:m.spaceInfo.totalSize,used:m.spaceInfo.usedSize,};k(n)}else{l({errorCode:m.errorCode,errorText:m.errorText})}},onFailure:function(m){l({errorCode:m.errorCode,errorText:m.errorText})}})};b.exports=j});Storage=cordova.require("cordova/plugin/storage");
@@ -0,0 +1 @@
1
+ cordova.define("cordova/plugin/video",function(e,d,f){function g(h){console.log(h)}var a;if(window.PalmSystem){g("Window.PalmSystem Available");a=e("cordova/plugin/webos/service")}else{a={Request:function(h,i){g(h+" invoked. But I am a dummy because PalmSystem is not available");if(typeof i.onFailure==="function"){i.onFailure({returnValue:false,errorText:"PalmSystem Not Available. Cordova is not installed?"})}}}}var b=function(){};function c(i,j,h){if(i.errorCode===undefined||i.errorCode===null){i.errorCode=j}if(i.errorText===undefined||i.errorText===null){i.errorText=h}}b.prototype.getVideoStatus=function(h,i){g("getVideoStatus: ");a.Request("luna://com.webos.service.tv.signage/",{method:"getVideoSize",onSuccess:function(j){g("getVideoStatus: On Success");if(j.returnValue===true){if(h&&typeof h==="function"){var k={};k.source=j.videoSize.source;h(k)}}},onFailure:function(j){g("getVideoStatus: On Failure");delete j.returnValue;if(i&&typeof i==="function"){c(j,"VGVS","Video.getVideoStatus returns failure.");i(j)}}});g("Video.getVideoStatus Done")};b.currentVideo={uri:null,source:null,tagId:null};b.prototype.setVideoSize=function(i,j,k){g("setVideoSize: "+JSON.stringify(k));if(k.source===undefined||typeof k.source.x!=="number"||typeof k.source.y!=="number"||typeof k.source.width!=="number"||typeof k.source.height!=="number"||k.source.x<0||k.source.y<0||k.source.width<=0||k.source.height<=0){if(j&&typeof j==="function"){var h={};c(h,"VSVS","Video.setVideoSize returns failure. out of range or type error.");j(h)}return}a.Request("luna://com.webos.service.tv.signage/",{method:"getVideoSize",onSuccess:function(l){g("setVideoSize: On Success");if(l.returnValue===true){var p={};p.x=l.videoSize.destination.x;p.y=l.videoSize.destination.y;p.width=l.videoSize.destination.width;p.height=l.videoSize.destination.height;var m=document.getElementsByTagName("video");var o=false;for(var n=0;n<m.length;n++){if(m[n].currentTime>0){o=true;if(b.currentVideo.uri!==m[n].src||(m[n].id!==null&&m[n].id!==undefined&&b.currentVideo.tagId!==null&&b.currentVideo.tagId!==undefined&&b.currentVideo.tagId!==m[n].id)){b.currentVideo.uri=m[n].src;b.currentVideo.source=l.videoSize.source;b.currentVideo.tagId=m[n].id}break}}if(o===false){a.Request("luna://com.webos.service.eim/",{method:"getCurrentInput",parameters:{},onSuccess:function(r){if(r.returnValue===true&&b.currentVideo.uri!==r.mainInputSourceId||(m[0].id!==null&&m[0].id!==undefined&&b.currentVideo.tagId!==null&&b.currentVideo.tagId!==undefined&&b.currentVideo.tagId!==m[0].id)){b.currentVideo.uri=r.mainInputSourceId;b.currentVideo.tagId=(m[0]!==null&&m[0].id!==null&&m[0].id!==undefined?m[0].id:null);a.Request("luna://com.webos.service.tv.signage/",{method:"getVideoSize",onSuccess:function(v){g("setVideoSize: On Success 1");if(v.returnValue===true){b.currentVideo.source=v.videoSize.source;if(v.videoSize.source.width===0&&v.videoSize.source.height===0){b.currentVideo={uri:null,source:null,tagId:null};var u={};c(u,"VSVS","Video.setVideoSize returns failure. Not ready to setVideoSize.");j(u);return}else{if(b.currentVideo.uri===null||b.currentVideo.source===null||(k.source.width+k.source.x)>(b.currentVideo.source.x+b.currentVideo.source.width)||(k.source.height+k.source.y)>(b.currentVideo.source.y+b.currentVideo.source.height)){var t={};c(t,"VSVS","Video.setVideoSize returns failure. out of range or type error. ("+b.currentVideo.source.width+" : "+b.currentVideo.source.height+")");j(t);return}}a.Request("luna://com.webos.service.tv.signage/",{method:"setVideoSize",parameters:{videoSize:{source:{x:k.source.x,y:k.source.y,width:k.source.width,height:k.source.height},destination:{x:p.x,y:p.y,width:p.width,height:p.height}}},onSuccess:function(w){g("setVideoSize: On Success 2");if(w.returnValue===true&&i&&typeof i==="function"){i();return}},onFailure:function(w){g("setVideoSize: On Failure 2");delete w.returnValue;if(j&&typeof j==="function"){c(w,"VSVS","Video.setVideoSize returns failure. Can't current video source size.");j(w);return}}})}}})}else{if(b.currentVideo.uri===null||b.currentVideo.source===null||(k.source.width+k.source.x)>(b.currentVideo.source.x+b.currentVideo.source.width)||(k.source.height+k.source.y)>(b.currentVideo.source.y+b.currentVideo.source.height)){var s={};c(s,"VSVS","Video.setVideoSize returns failure. out of range or type error. ("+b.currentVideo.source.width+" : "+b.currentVideo.source.height+")");j(s);return}a.Request("luna://com.webos.service.tv.signage/",{method:"setVideoSize",parameters:{videoSize:{source:{x:k.source.x,y:k.source.y,width:k.source.width,height:k.source.height},destination:{x:p.x,y:p.y,width:p.width,height:p.height}}},onSuccess:function(t){g("setVideoSize: On Success 3");if(t.returnValue===true&&i&&typeof i==="function"){i();return}},onFailure:function(t){g("setVideoSize: On Failure 3");delete t.returnValue;if(j&&typeof j==="function"){c(t,"VSVS","Video.setVideoSize returns failure. Can't current video source size.");j(t);return}}})}},onFailure:function(){}})}else{if(b.currentVideo.uri===null||b.currentVideo.source===null||(k.source.width+k.source.x)>(b.currentVideo.source.x+b.currentVideo.source.width)||(k.source.height+k.source.y)>(b.currentVideo.source.y+b.currentVideo.source.height)){var q={};c(q,"VSVS","Video.setVideoSize returns failure. out of range or type error. ("+b.currentVideo.source.width+" : "+b.currentVideo.source.height+")");j(q);return}a.Request("luna://com.webos.service.tv.signage/",{method:"setVideoSize",parameters:{videoSize:{source:{x:k.source.x,y:k.source.y,width:k.source.width,height:k.source.height},destination:{x:p.x,y:p.y,width:p.width,height:p.height}}},onSuccess:function(r){g("setVideoSize: On Success 4");if(r.returnValue===true&&i&&typeof i==="function"){i();return}},onFailure:function(r){g("setVideoSize: On Failure 4");delete r.returnValue;if(j&&typeof j==="function"){c(r,"VSVS","Video.setVideoSize returns failure. Can't current video source size.");j(r);return}}})}}},onFailure:function(l){g("setVideoSize: On Failure");delete l.returnValue;if(j&&typeof j==="function"){c(l,"VSVS","Video.setVideoSize returns failure.");j(l);return}}});g("Video.setVideoSize Done")};f.exports=b});Video=cordova.require("cordova/plugin/video");
@@ -0,0 +1 @@
1
+ cordova.define("cordova/plugin/configuration",function(d,c,f){function h(i){console.log(i)}var a;if(window.PalmSystem){h("Window.PalmSystem Available");a=d("cordova/plugin/webos/service")}else{a={Request:function(i,j){h(i+" invoked. But I am a dummy because PalmSystem is not available");if(typeof j.onFailure==="function"){j.onFailure({returnValue:false,errorText:"PalmSystem Not Available. Cordova is not installed?"})}}}}var g=function(){};function b(j,k,i){if(j.errorCode===undefined||j.errorCode===null){j.errorCode=k}if(j.errorText===undefined||j.errorText===null){j.errorText=i}}g.PictureMode={VIVID:"vivid",STANDARD:"normal",APS:"eco",CINEMA:"cinema",GAME:"game",SPORTS:"sports",EXPERT1:"expert1",EXPERT2:"expert2"};g.AppMode={LOCAL:"local",USB:"usb",REMOTE:"remote"};g.prototype.setPictureMode=function(i,j,k){h("setPictureMode: "+JSON.stringify(k));a.Request("luna://com.lge.settingsservice/",{method:"setSystemSettings",parameters:{category:"picture",settings:{pictureMode:k.mode}},onSuccess:function(l){h("setPictureMode: On Success");if(l.returnValue===true){if(i&&typeof i==="function"){i()}}},onFailure:function(l){h("setPictureMode: On Failure");delete l.returnValue;if(j&&typeof j==="function"){b(l,"CSPM","Configuration.setPictureMode returns failure.");j(l)}}});h("Configuration.setPictureMode Done")};g.prototype.getPictureMode=function(i,j){h("getPictureMode: ");a.Request("luna://com.lge.settingsservice/",{method:"getSystemSettings",parameters:{category:"picture",keys:["pictureMode"]},onSuccess:function(k){h("getPictureMode: On Success");if(k.returnValue===true){if(i&&typeof i==="function"){var l={};l.mode=k.settings.pictureMode;i(l)}}},onFailure:function(k){h("getPictureMode: On Failure");delete k.returnValue;if(j&&typeof j==="function"){b(k,"CGPM","Configuration.getPictureMode returns failure.");j(k)}}});h("Configuration.getPictureMode Done")};g.prototype.setPictureProperty=function(i,j,k){h("setPictureProperty: "+JSON.stringify(k));var m={};for(var l in k){if(l!==undefined&&l!==null){m[l]=k[l];if(l==="tint"||l==="colorTemperature"){m[l]-=50}else{if(l==="blackLevel"){m[l]={unknown:k[l]}}}}}h(JSON.stringify(m));a.Request("luna://com.lge.settingsservice/",{method:"setSystemSettings",parameters:{category:"picture",settings:m},onSuccess:function(n){h("setPictureProperty: On Success");if(n.returnValue===true){if(i&&typeof i==="function"){i()}}},onFailure:function(n){h("setPictureProperty: On Failure");delete n.returnValue;if(j&&typeof j==="function"){b(n,"CSPP","Configuration.setPictureProperty returns failure.");j(n)}}});h("Configuration.setPictureProperty Done")};g.prototype.getPictureProperty=function(i,j){h("getPictureProperty: ");a.Request("luna://com.lge.settingsservice/",{method:"getSystemSettings",parameters:{category:"picture",keys:["brightness","contrast","color","tint","backlight","sharpness","hSharpness","vSharpness","colorTemperature","dynamicContrast","superResolution","colorGamut","dynamicColor","noiseReduction","mpegNoiseReduction","blackLevel","gamma"]},onSuccess:function(k){h("getPictureProperty: On Success");if(k.returnValue===true){if(i&&typeof i==="function"){var m={};for(var l in k.settings){if(l!==undefined&&l!==null){m[l]=k.settings[l];if(l==="tint"||l==="colorTemperature"){m[l]+=50}else{if(l==="blackLevel"){m[l]=k.settings[l].unknown}}}}i(m)}}},onFailure:function(k){h("getPictureProperty: On Failure");delete k.returnValue;if(j&&typeof j==="function"){b(k,"CGPP","Configuration.getPictureProperty returns failure.");j(k)}}});h("Configuration.getPictureProperty Done")};var e={alias:"signageName"};g.prototype.setProperty=function(i,j,l){h("setProperty: "+JSON.stringify(l));var k=JSON.parse(l);var n={};for(var m in k){if(e[m]!==undefined){n[(e[m])]=k[m]}}a.Request("luna://com.lge.settingsservice/",{method:"setSystemSettings",parameters:{category:"commercial",settings:n},onSuccess:function(o){h("setProperty: On Success");if(o.returnValue===true){if(i&&typeof i==="function"){i()}}},onFailure:function(o){h("setProperty: On Failure");delete o.returnValue;if(j&&typeof j==="function"){b(o,"CSP","Configuration.setProperty returns failure.");j(o)}}});h("Configuration.setProperty Done")};g.prototype.getProperty=function(j,k,m){h("getProperty: ");var l=JSON.parse(m);var o=l.keys;var i=[];for(var n in o){if(n!==null&&n!==undefined){h("key"+o[n]);i.push(e[o[n]])}}h(i);a.Request("luna://com.lge.settingsservice/",{method:"getSystemSettings",parameters:{category:"commercial",keys:i},onSuccess:function(p){h("getProperty: On Success");if(p.returnValue===true){if(j&&typeof j==="function"){var r={};for(var q in o){if(q!==null||q!==undefined){h("key"+o[q]);if(p.settings[e[o[q]]]!==undefined||p.settings[e[o[q]]]!==null){r[o[q]]=p.settings[e[o[q]]]}}}j(JSON.stringify(r))}}},onFailure:function(p){h("getProperty: On Failure");delete p.returnValue;if(k&&typeof k==="function"){b(p,"CGP","Configuration.getProperty returns failure.");k(p)}}});h("Configuration.getProperty Done")};g.prototype.setCurrentTime=function(j,l,m){h("setCurrentTime: "+JSON.stringify(m));var k=new Date(m.year,m.month-1,m.day,m.hour,m.minute,m.sec);if(m.year<2000||m.year>2037||k.getFullYear()!==m.year||k.getMonth()!==(m.month-1)||k.getDate()!==m.day||k.getHours()!==m.hour||k.getMinutes()!==m.minute||k.getSeconds()!==m.sec){if(typeof l==="function"){h("setCurrentTime: out of range or invalid parameter type");var i={};b(i,"CSCT","Configuration.setCurrentTime returns failure for out of range.");l(i);return}}h("setCurrentTime: "+k);var n=k.getTime()/1000;a.Request("luna://com.palm.systemservice/time/",{method:"setSystemTime",parameters:{utc:n},onSuccess:function(){h("setCurrentTime: On Success");if(typeof j==="function"){j()}},onFailure:function(o){h("setCurrentTime: On Failure");delete o.returnValue;if(typeof l==="function"){b(o,"CSCT","Configuration.setCurrentTime returns failure.");l(o)}}});h("Configuration.setCurrentTime Done")};g.prototype.getCurrentTime=function(i,j){h("getCurrentTime: ");a.Request("luna://com.palm.systemservice/time/",{method:"getEffectiveBroadcastTime",onSuccess:function(k){h("getCurrentTime : On Success");if(k.returnValue===true){var l={};var m=new Date(k.adjustedUtc*1000);l.year=m.getFullYear();l.month=m.getMonth()+1;l.day=m.getDate();l.hour=m.getHours();l.minute=m.getMinutes();l.sec=m.getSeconds();if(i&&typeof i==="function"){i(l)}}},onFailure:function(k){h("getCurrentTime: On Failure");delete k.returnValue;if(j&&typeof j==="function"){b(k,"CGCT","Configuration.getCurrentTime returns failure.");j(k)}}});h("Configuration.getCurrentTime Done")};g.prototype.restartApplication=function(i,j){h("restartApp: ");a.Request("luna://com.webos.service.commercial.signage.storageservice/",{method:"restart_application",onSuccess:function(k){h("restartApp: On Success");if(i&&typeof i==="function"){i(k)}},onFailure:function(k){h("restartApp: On Failure");delete k.returnValue;if(j&&typeof j==="function"){b(k,"CRA","Configuration.restartApp returns failure.");j(k)}}});h("Configuration.restartApp Done")};g.prototype.getServerProperty=function(i,j){h("getServerProperty: ");a.Request("luna://com.lge.settingsservice/",{method:"getSystemSettings",parameters:{category:"commercial",keys:["serverIpPort","siServerIp","secureConnection","appLaunchMode","fqdnAddr","fqdnMode"]},onSuccess:function(k){h("getPictureProperty: On Success");if(k.returnValue===true){if(i&&typeof i==="function"){var l={};l.serverIp=k.settings.siServerIp;l.serverPort=parseInt(k.settings.serverIpPort,10);l.secureConnection=(k.settings.secureConnection==="off"?false:true);l.appLaunchMode=k.settings.appLaunchMode;l.fqdnMode=(k.settings.fqdnMode==="off"?false:true);l.fqdnAddr=k.settings.fqdnAddr;i(l)}}},onFailure:function(k){h("getServerProperty: On Failure");delete k.returnValue;if(j&&typeof j==="function"){b(k,"CGSP","Configuration.getServerProperty returns failure.");j(k)}}});h("Configuration.getServerProperty Done")};g.prototype.setServerProperty=function(j,k,l){h("setServerProperty: "+JSON.stringify(l));if(l===undefined||typeof l.serverIp!=="string"||typeof l.serverPort!=="number"||typeof l.secureConnection!=="boolean"||typeof l.appLaunchMode!=="string"||(l.appLaunchMode!==g.AppMode.USB&&l.appLaunchMode!==g.AppMode.LOCAL&&l.appLaunchMode!==g.AppMode.REMOTE)||typeof l.fqdnMode!=="boolean"||typeof l.fqdnAddr!=="string"){if(k&&typeof k==="function"){var i={};b(i,"CSSP","Configuration.setServerProperty, Invalid parameters.");h("options.serverIp : "+typeof l.serverIp+" options.serverPort : "+typeof l.serverPort+" options.secureConnection : "+typeof l.secureConnection+" options.appLaunchMode : "+typeof l.appLaunchMode+" options.fqdnMode : "+typeof l.fqdnMode+" options.fqdnAddr : "+l.fqdnAddr);k(i);return}}var m={};m.siServerIp=l.serverIp;m.serverIpPort=l.serverPort+"";m.secureConnection=(l.secureConnection===true?"on":"off");m.appLaunchMode=l.appLaunchMode;m.fqdnMode=(l.fqdnMode===true?"on":"off");m.fqdnAddr=l.fqdnAddr;h(JSON.stringify(m));a.Request("luna://com.lge.settingsservice/",{method:"setSystemSettings",parameters:{category:"commercial",settings:m},onSuccess:function(n){h("setServerProperty: On Success");if(n.returnValue===true){if(j&&typeof j==="function"){j()}}},onFailure:function(n){h("setServerProperty: On Failure");delete n.returnValue;if(k&&typeof k==="function"){b(n,"CSSP","Configuration.setServerProperty returns failure.");k(n)}}});h("Configuration.setServerProperty Done")};g.prototype.debug=function(i,j,k){h("debug: "+k.enabled);a.Request("luna://com.webos.service.commercial.signage.storageservice/",{method:"debug",parameters:{enabled:k.enabled},onSuccess:function(l){h("debug: On Success");if(i&&typeof i==="function"){i(l)}},onFailure:function(l){h("debug: On Failure");delete l.returnValue;if(j&&typeof j==="function"){b(l,"CD","Configuration.debug returns failure.");j(l)}}});h("Configuration.debug Done")};f.exports=g});Configuration=cordova.require("cordova/plugin/configuration");
@@ -0,0 +1 @@
1
+ cordova.define("cordova/plugin/deviceInfo",function(c,b,d){var a;if(window.PalmSystem){console.log("Window.PalmSystem Available");a=c("cordova/plugin/webos/service")}else{a={Request:function(g,h){console.log(g+" invoked. But I am a dummy because PalmSystem is not available");if(typeof h.onFailure==="function"){h.onFailure({returnValue:false,errorText:"PalmSystem Not Available. Cordova is not installed?"})}}}}var f=function(){};function e(g){console.log(g)}f.prototype.getNetworkInfo=function(g,h){e("getNetworkInfo: ");a.Request("luna://com.palm.connectionmanager",{method:"getstatus",parameters:{},onSuccess:function(i){e("getNetworkInfo: onSuccess");delete i.returnValue;g&&g(i)},onFailure:function(i){e("getNetworkInfo: onFailure");delete i.returnValue;h&&h(i)}});e("DeviceInfo.getNetworkInfo Done")};f.prototype.getNetworkMacInfo=function(g,h){e("getNetworkMacInfo: ");a.Request("luna://com.webos.service.tv.signage",{method:"getinfo",parameters:{},onSuccess:function(i){e("getNetworkMacInfo: onSuccess");delete i.returnValue;g&&g(i)},onFailure:function(i){e("getNetworkMacInfo: onFailure");delete i.returnValue;h&&h(i)}});e("DeviceInfo.getNetworkMacInfo Done")};f.prototype.getPlatformInfo=function(g,h){e("getPlatformInfo: ");a.Request("luna://com.webos.service.tv.systemproperty",{method:"getSystemInfo",parameters:{keys:["modelName","serialNumber","firmwareVersion","hardwareVersion","sdkVersion"]},onSuccess:function(i){e("getPlatformInfo: onSuccess");i.manufacturer="LGE";i.sdkVersion="1.1.21152";delete i.returnValue;delete i.errorText;g&&g(i)},onFailure:function(i){e("getPlatformInfo: onFailure");delete i.returnValue;h&&h(i)}});e("DeviceInfo.getPlatformInfo Done")};d.exports=f});DeviceInfo=cordova.require("cordova/plugin/deviceInfo");
@@ -0,0 +1 @@
1
+ cordova.define("cordova/plugin/broadcast",function(k,s,c){var t=k("cordova/plugin/webos/service"),q=k("cordova/utils"),m=k("cordova/argscheck");var i=function(u){this.isATSC=false;this.tokenChannelChange=0;this.tokenSignalState=0;this.broadcastDivId=null;this.broadcastElement=null;this.currentInput=null;this.currentSource=null;this.isLastInput=true;this.isLastChannel=true;var v=this;t.Request("luna://com.webos.service.tv.systemproperty",{method:"getSystemInfo",parameters:{keys:["atsc"]},onSuccess:function(w){v.isATSC=w.atsc},onFailure:function(w){}})};i.prototype.onchannelchange=function(u){};i.prototype.onsignalstatuschange=function(u){};i.prototype.initialize=function(u,w,x){m.checkArgs("fFo","broadcastCordova.initialize",arguments);var y=q.clone(x);this.broadcastDivId=document.getElementById(y.divId);y.broadcastPlugin=this;if(y.isLastInput==true||!y.src){this.isLastInput=true;e(u,w,y)}else{this.isLastInput=false;if(y.src.indexOf("tv://")!=-1){if(y.isLastChannel==true){this.isLastChannel=true;y.type="service/webos-broadcast"}else{this.isLastChannel=false;y.type="service/webos-broadcast-standalone"}this.currentInput="tv";this.currentSource=y.src.substr(5)}else{y.type="service/webos-external";var v=y.src.split(":");this.currentInput=v[1].substr(2).toLowerCase();this.currentSource=v[2]}g(y);u&&u()}};i.prototype.channelUp=function(u,v){m.checkArgs("fF","broadcastCordova.channelUp",arguments);var w={broadcastId:this.broadcastElement.mediaId};t.Request("luna://com.webos.service.tv.broadcast",{method:"changeChannelUp",parameters:w,onSuccess:function(x){u&&u()},onFailure:function(x){delete x.returnValue;v&&v(x)}})};i.prototype.channelDown=function(u,v){m.checkArgs("fF","broadcastCordova.channelDown",arguments);var w={broadcastId:this.broadcastElement.mediaId};t.Request("luna://com.webos.service.tv.broadcast",{method:"changeChannelDown",parameters:w,onSuccess:function(x){u&&u()},onFailure:function(x){delete x.returnValue;v&&v(x)}})};i.prototype.setChannel=function(u,v,w){m.checkArgs("fFo","broadcastCordova.setChannel",arguments);var x={broadcastId:this.broadcastElement.mediaId,channelId:w.id};t.Request("luna://com.webos.service.tv.broadcast",{method:"changeChannel",parameters:x,onSuccess:function(y){u&&u()},onFailure:function(y){delete y.returnValue;v&&v(y)}})};i.prototype.getCurrentChannel=function(u,v){m.checkArgs("fF","broadcastCordova.getCurrentChannel",arguments);var w={broadcastId:this.broadcastElement.mediaId,subscribe:false};t.Request("luna://com.webos.service.tv.broadcast",{method:"getCurrentChannel",parameters:w,onSuccess:function(x){var y={};y=l(x.channel,"api");u&&u(y)},onFailure:function(x){delete x.returnValue;v&&v(x)}})};i.prototype.getSignalStatus=function(u,v){m.checkArgs("fF","broadcastCordova.getSignalStatus",arguments);var w;if(this.currentInput=="tv"){w={broadcastId:this.broadcastElement.mediaId,subscribe:false};t.Request("luna://com.webos.service.tv.broadcast",{method:"getChannelState",parameters:w,onSuccess:function(x){var y=x.channelState;y.screensaverType=y.channelScreensaverType;delete y.channelScreensaverType;u&&u(y)},onFailure:function(x){delete x.returnValue;v&&v(x)}})}else{w={externalInputId:this.broadcastElement.mediaId,subscribe:false};t.Request("luna://com.webos.service.tv.externaldevice/input/",{method:"getSignalState",parameters:w,onSuccess:function(x){u&&u(x.signalState)},onFailure:function(x){delete x.returnValue;v&&v(x)}})}};i.prototype.getCurrentProgram=function(u,v,w){m.checkArgs("fFo","broadcastCordova.getCurrentProgram",arguments);t.Request("luna://com.palm.systemservice/time",{method:"getEffectiveBroadcastTime",parameters:{},onSuccess:function(x){var y={};y.id=w.id;y.startTime=x.localtime;y.endTime=x.localtime;y.request="nowInfo";f(u,v,y)},onFailure:function(x){delete x.returnValue;v&&v(x)}})};i.prototype.getNextProgram=function(u,v,w){m.checkArgs("fFo","broadcastCordova.getNextProgram",arguments);t.Request("luna://com.palm.systemservice/time",{method:"getEffectiveBroadcastTime",parameters:{},onSuccess:function(x){var y={};y.id=w.id;y.startTime=x.localtime;y.endTime=x.localtime;y.request="nextInfo";f(u,v,y)},onFailure:function(x){delete x.returnValue;v&&v(x)}})};i.prototype.getProgramCount=function(u,v,w){m.checkArgs("fFo","broadcastCordova.getProgramCount",arguments);var x=q.clone(w);x.request="count";f(u,v,x)};i.prototype.getProgramList=function(u,v,w){m.checkArgs("fFo","broadcastCordova.getProgramList",arguments);var x=q.clone(w);x.request="list";f(u,v,x)};i.prototype.getChannelCount=function(u,v,w){m.checkArgs("fFo","broadcastCordova.getChannelCount",arguments);var x={from:"com.webos.service.tv.channel.dblist:1",select:[""],where:[{prop:"channelType",op:"=",val:w.type}],filter:[{prop:"Invisible",op:"=",val:false}]};t.Request("luna://com.palm.db/",{method:"search",parameters:{query:x},onSuccess:function(y){var z={};z.count=y.results.length;u&&u(z)},onFailure:function(y){delete y.returnValue;v&&v(y)}})};i.prototype.getChannelList=function(u,v,w){m.checkArgs("fFo","broadcastCordova.getChannelList",arguments);var y=w.startIndex-1;if(y<0){y=0}var z=y+w.count;var x={from:"com.webos.service.tv.channel.dblist:1",select:["channelId","channelName","channelMode","channelNumber","channelType","skipped","locked","descrambled","scrambled"],where:[{prop:"channelType",op:"=",val:w.type}],filter:[{prop:"Invisible",op:"=",val:false}],limit:z};t.Request("luna://com.palm.db/",{method:"search",parameters:{query:x},onSuccess:function(A){var D={};D.channel=[];var C=A.results.length-y;if(C>0){for(var B=0;B<C;B++){D.channel[B]=l(A.results[B+y],"db8")}}u&&u(D)},onFailure:function(A){delete A.returnValue;v&&v(A)}})};i.prototype.getChannelListByName=function(u,v,w){m.checkArgs("fFo","broadcastCordova.getChannelListByName",arguments);var x={from:"com.webos.service.tv.channel.dblist:1",select:["channelId","channelName","channelMode","channelNumber","channelType","skipped","locked","descrambled","scrambled"],where:[{prop:"channelName",op:"%",val:w.name}],filter:[{prop:"Invisible",op:"=",val:false}]};if(w.type){x.filter.push({prop:"channelType",op:"=",val:w.type})}t.Request("luna://com.palm.db/",{method:"search",parameters:{query:x},onSuccess:function(y){var A={};A.channel=[];if(y.results.length>0){for(var z=0;z<y.results.length;z++){A.channel[z]=l(y.results[z],"db8")}}u&&u(A)},onFailure:function(y){delete y.returnValue;v&&v(y)}})};i.prototype.setInput=function(v){m.checkArgs("o","broadcastCordova.setInput",arguments);var x=false;if(v.src.indexOf("tv://")!=-1){if(this.isLastChannel==true){v.type="service/webos-broadcast"}else{v.type="service/webos-broadcast-standalone"}this.currentInput="tv";this.currentSource=v.src.substr(5)}else{v.type="service/webos-external";var u=v.src.split(":");this.currentInput=u[1].substr(2).toLowerCase();this.currentSource=u[2]}for(var w=0;w<this.broadcastElement.childNodes.length;w++){if(this.broadcastElement.childNodes[w].nodeName=="SOURCE"){this.broadcastElement.childNodes[w].src=v.src;this.broadcastElement.childNodes[w].type=v.type;this.broadcastElement.load();x=true}}return x};i.prototype.addEventListener=function(w,u,v){if(w=="channelchange"){this.tokenChannelChange=t.Request("luna://com.webos.service.tv.broadcast",{method:"getCurrentChannel",parameters:{broadcastId:this.broadcastElement.mediaId,subscribe:true},onSuccess:function(x){var y=x.channel;u&&u(y)},onFailure:function(x){}})}else{if(w=="signalstatus"){if(this.currentInput=="tv"){this.tokenSignalState=t.Request("luna://com.webos.service.tv.broadcast",{method:"getChannelState",parameters:{broadcastId:this.broadcastElement.mediaId,subscribe:true},onSuccess:function(x){var y=x.channelState;y.screensaverType=y.channelScreensaverType;delete y.channelScreensaverType;u&&u(y)},onFailure:function(x){}})}else{this.tokenSignalState=t.Request("luna://com.webos.service.tv.externaldevice/input/",{method:"getSignalState",parameters:{externalInputId:this.broadcastElement.mediaId,subscribe:true},onSuccess:function(x){var y=x.signalState;u&&u(y)},onFailure:function(x){}})}}}};var h=function(u,v){p(u);if(u.currentInput=="tv"){n(u);d(u)}else{o(u)}v()};var g=function(w){var u=document.createElement("VIDEO");u.setAttribute("id",w.videoId);u.setAttribute("width","100%");u.setAttribute("height","100%");u.setAttribute("autoplay","");u.addEventListener("loadedmetadata",function(){h(w.broadcastPlugin,w.callback)},false);var v=document.createElement("SOURCE");v.setAttribute("src",w.src);v.setAttribute("type",w.type);u.appendChild(v);w.broadcastPlugin.broadcastDivId.appendChild(u);w.broadcastPlugin.broadcastElement=u};var e=function(u,v,w){t.Request("luna://com.webos.service.eim",{method:"getCurrentInput",parameters:{},onSuccess:function(y){if(y.mainInputSourceId=="ATV"||y.mainInputSourceId=="DTV"){w.broadcastPlugin.currentInput="tv";r(u,v,w)}else{var x=y.mainInputSourceId.split("_");w.broadcastPlugin.currentInput=x[0].toLowerCase();w.broadcastPlugin.currentSource=x[1];w.src="ext://"+w.broadcastPlugin.currentInput+":"+w.broadcastPlugin.currentSource;w.type="service/webos-external";g(w);u&&u()}},onFailure:function(x){delete x.returnValue;v&&v(x)}})};var r=function(u,v,w){};var n=function(u){u.tokenChannelChange=t.Request("luna://com.webos.service.tv.broadcast",{method:"getCurrentChannel",parameters:{broadcastId:u.broadcastElement.mediaId,subscribe:true},onSuccess:function(v){u.currentSource=v.channel.channelId;var w={};w=l(v.channel,"api");u.onchannelchange(w)},onFailure:function(v){}})};var d=function(u){u.tokenSignalState=t.Request("luna://com.webos.service.tv.broadcast",{method:"getChannelState",parameters:{broadcastId:u.broadcastElement.mediaId,subscribe:true},onSuccess:function(v){var w=v.channelState;w.screensaverType=w.channelScreensaverType;delete w.channelScreensaverType;u.onsignalstatuschange(w)},onFailure:function(v){}})};var o=function(u){u.tokenSignalState=t.Request("luna://com.webos.service.tv.externaldevice/input/",{method:"getSignalState",parameters:{externalInputId:u.broadcastElement.mediaId,subscribe:true},onSuccess:function(v){var w=v.signalState;u.onsignalstatuschange(w)},onFailure:function(v){}})};var p=function(u){if(u.tokenChannelChange){u.tokenChannelChange.cancel()}if(u.tokenSignalState){u.tokenSignalState.cancel()}};var a=function(u,w,z){var x=b(z.startTime);var v=b(z.endTime);var y={};if(z.request=="count"){y={from:"com.webos.service.tv.programSCH:4",select:[""],where:[{prop:"signalChannelId",op:"=",val:z.signalChannelId}],filter:[{prop:"localStartTime",op:"<=",val:v},{prop:"localEndTime",op:">=",val:x}]}}else{if(z.request=="nextInfo"){y={from:"com.webos.service.tv.programSCH:4",select:["programId","eventId","localStartTime","localEndTime","duration","programName","description"],where:[{prop:"channelId",op:"=",val:z.signalChannelId}],filter:[{prop:"localStartTime",op:">",val:x}],orderBy:"localStartTime",limit:1}}else{if(z.request=="list"||z.request=="nowInfo"){y={from:"com.webos.service.tv.programSCH:4",select:["programId","eventId","localStartTime","localEndTime","duration","programName","description"],where:[{prop:"channelId",op:"=",val:z.signalChannelId}],filter:[{prop:"localStartTime",op:"<=",val:v},{prop:"localEndTime",op:">=",val:x}]}}}}};var f=function(u,v,x){var w={from:"com.webos.service.tv.channel.dblist:1",select:["signalChannelId"],where:[{prop:"channelId",op:"=",val:x.id}]};t.Request("luna://com.palm.db/",{method:"find",parameters:{query:w},onSuccess:function(y){x.signalChannelId=y.results[0].signalChannelId;a(u,v,x)},onFailure:function(y){delete y.returnValue;v&&v(y)}})};var l=function(u,w){var v={};v.id=u.channelId;v.number=u.channelNumber;v.name=u.channelName;if(w=="api"){v.mode=u.channelModeName;v.type=u.channelTypeName;v.isSkipped=u.isSkipped;v.isLocked=u.isLocked;v.isDescrambled=u.isDescrambled;v.isScrambled=u.isScrambled}else{v.mode=u.channelMode;v.type=u.channelType;v.isSkipped=u.skipped;v.isLocked=u.locked;v.isDescrambled=u.descrambled;v.isScrambled=u.scrambled}return v};var b=function(v){var u=v.year+",";u+=((v.month<10)?"0":"")+v.month+",";u+=((v.day<10)?"0":"")+v.day+",";u+=((v.hour<10)?"0":"")+v.hour+",";u+=((v.minute<10)?"0":"")+v.minute+",";u+=((v.second<10)?"0":"")+v.second;return u};var j=function(u){var w=u.split(",");var v={};v.year=+w[0];v.month=+w[1];v.day=+w[2];v.hour=+w[3];v.minute=+w[4];v.second=+w[5];return v};c.exports=i});Broadcast=cordova.require("cordova/plugin/broadcast");cordova.define("cordova/plugin/inputSource",function(b,d,a){function c(k){console.log(k)}var g;if(window.PalmSystem){c("Window.PalmSystem Available");g=b("cordova/plugin/webos/service")}else{g={Request:function(k,l){c(k+" invoked. But I am a dummy because PalmSystem is not available");if(typeof l.onFailure==="function"){l.onFailure({returnValue:false,errorText:"PalmSystem Not Available. Cordova is not installed?"})}}}}var h=function(){};var f=null;function j(l,m,k){if(l.errorCode===undefined||l.errorCode===null){l.errorCode=m}if(l.errorText===undefined||l.errorText===null){l.errorText=k}}h.prototype.initialize=function(l,m,o){c("initialize: "+JSON.stringify(o));if(o.divId===undefined||typeof o.divId!=="string"||o.divId===null||o.divId.length<=0||o.videoId===undefined||typeof o.videoId!=="string"||o.videoId===null||o.videoId.length<=0||o.callback===undefined||typeof o.callback!=="function"||o.src===undefined||typeof o.src!=="string"||o.src===null||o.src.length<=0){if(typeof m==="function"){var k={};j(k,"II","InputSource.initialize returns failure. invalid parameters.");m(k)}return}i(o.src,function p(q){o.src=q;f=new Broadcast();c("initialize: converted "+JSON.stringify(o));f.initialize(l,m,o)},function n(r){c("initialize: failure "+JSON.stringify(r));if(typeof m==="function"){var q={};j(q,"II","InputSource.initialize returns failure. invalid parameters.");m(q)}});c("initialize: Done")};h.prototype.changeInputSource=function(l,m,o){if(o.src===undefined||typeof o.src!=="string"||o.src===null||o.src.length<=0){if(typeof m==="function"){var k={};j(k,"ICIS","InputSource.changeInputSource returns failure. invalid argument. ");m(k)}return}c("changeInputSource: "+JSON.stringify(o));i(o.src,function p(r){o.src=r;if(f.setInput(o)){c("changeInputSource: On Success");l()}else{var q={};c("changeInputSource: On Failure");j(q,"ICIS","InputSource.changeInputSource returns failure.");m(q)}},function n(r){c("changeInputSource: failure "+JSON.stringify(r));if(typeof m==="function"){var q={};j(q,"ICIS","InputSource.changeInputSource returns failure. invalid argument. ");m(q)}});c("changeInputSource: Done")};h.prototype.getInputSourceStatus=function(k,l){c("getInputSourceStatus: ");g.Request("luna://com.webos.service.eim/",{method:"getAllInputStatus",onSuccess:function(n){c("getInputSourceStatus: On Success");if(n.returnValue===true){if(k&&typeof k==="function"){var q={};var p=new Array(n.totalCount);var r=new Array(n.totalCount);for(var o=0;o<p.length;o++){p[o]={};p[o].inputPort=e(n.devices[o].label);var m=n.devices[o].id.split("_");p[o].inputPort="ext://"+m[0].toLowerCase()+":"+m[1];if(p[o].inputPort==="ext://hdmi:3"){p[o].inputPort="ext://dp:1"}else{if(p[o].inputPort==="ext://hdmi:4"){p[o].inputPort="ext://dvi:1"}}r[o]={};r[o].inputPort=p[o].inputPort;r[o].id=n.devices[o].id}q.inputSourceList=p;g.Request("luna://com.webos.service.eim/",{method:"getCurrentInput",parameters:{},onSuccess:function(s){c("InputSource.getInputSourceStatus: On Success 3");if(s.returnValue===true){if(k&&typeof k==="function"){q.currentInputSource={};for(var t=0;t<r.length;t++){if(r[t].id===s.mainInputSourceId){q.currentInputSource=r[t].inputPort;break}}q.currentSignalState="unknown";if(f!==null){c("InputSource.getInputSourceStatus : broadcast is not null");f.getSignalStatus(function u(w){q.currentSignalState=w.videoSignalState;c("InputSource.getInputSourceStatus: On Success 2");if(k&&typeof k==="function"){c("getInputSourceStatus: On Success"+JSON.stringify(q));k(q);return}},function v(){c("InputSource.getInputSourceStatus : signal state is fail.");if(k&&typeof k==="function"){c("getInputSourceStatus: On Success"+JSON.stringify(q));k(q);return}})}else{c("InputSource.getInputSourceStatus : it does not initialize.");if(k&&typeof k==="function"){c("getInputSourceStatus: On Success"+JSON.stringify(q));k(q);return}}}}},onFailure:function(s){c("InputSource.getInputSourceStatus: On Failure 2");delete s.returnValue;if(l&&typeof l==="function"){j(s,"IGISS","InputSource.getInputSourceStatus returns failure.");l(s);return}}})}}},onFailure:function(m){c("getInputSourceStatus: On Failure");delete m.returnValue;if(l&&typeof l==="function"){j(m,"IGISS","InputSource.changeInputSource returns failure on gathering input list.");l(m)}}});c("InputSource.getInputSourceStatus Done")};function e(m){var k=1;var l=m.length;if(!isNaN(parseInt(m.charAt(l-1),10))){k=m.charAt(l-1);l--}m=m.substring(0,l)+":"+k;m="ext://"+m.toLowerCase();return m}function i(m,k,l){g.Request("luna://com.webos.service.eim/",{method:"getAllInputStatus",onSuccess:function(o){c("convertInputSource: On Success "+m);if(o.returnValue===true){if(k&&typeof k==="function"){var r=new Array(o.totalCount);c("convertInputSource: "+JSON.stringify(o.totalCount));c("convertInputSource: "+JSON.stringify(o.devices));if(m==="ext://dp:1"){m="ext://hdmi:3"}else{if(m==="ext://dvi:1"){m="ext://hdmi:4"}}for(var q=0;q<r.length;q++){r[q]={};r[q].inputPort=e(o.devices[q].label);var n=o.devices[q].id.split("_");r[q].id="ext://"+n[0].toLowerCase()+":"+n[1];if(m===r[q].id){c("convertInputSource: On Success ok "+m);k(m);return}}for(var p=0;p<r.length;p++){if(m===r[p].inputPort){m=r[p].id;c("convertInputSource: On Success converted "+m);k(m);return}}}}},onFailure:function(n){c("convertInputSource: On Failure");delete n.returnValue;if(l&&typeof l==="function"){j(n,"IGISS","convertInputSource returns failure on gathering input list.");l(n)}}})}a.exports=h});InputSource=cordova.require("cordova/plugin/inputSource");
@@ -0,0 +1 @@
1
+ cordova.define("cordova/plugin/power",function(f,e,g){function h(i){console.log(i)}var b;if(window.PalmSystem){h("Window.PalmSystem Available");b=f("cordova/plugin/webos/service")}else{b={Request:function(i,j){h(i+" invoked. But I am a dummy because PalmSystem is not available");if(typeof j.onFailure==="function"){j.onFailure({returnValue:false,errorText:"PalmSystem Not Available. Cordova is not installed?"})}}}}var a=function(){};function d(j,k,i){if(j.errorCode===undefined||j.errorCode===null){j.errorCode=k}if(j.errorText===undefined||j.errorText===null){j.errorText=i}}a.PowerCommand={SHUTDOWN:"powerOff",REBOOT:"reboot"};a.DisplayMode={DISPLAY_OFF:"Screen Off",DISPLAY_ON:"Active"};a.TimerWeek={MONDAY:1,TUESDAY:2,WEDNESDAY:4,THURSDAY:8,FRIDAY:16,SATURDAY:32,SUNDAY:64,EVERYDAY:127};a.prototype.getPowerStatus=function(i,j){h("getPowerStatus: ");b.Request("luna://com.webos.service.tv.signage/",{method:"getPowerState",onSuccess:function(k){h("getPowerStatus: On Success");var l={};if(k.returnValue===true){l.displayMode=k.state}b.Request("luna://com.lge.settingsservice/",{method:"getSystemSettings",parameters:{category:"commercial",keys:["wolEnable"]},onSuccess:function(m){h("getPowerStatus: On Success 2");if(m.returnValue===true){l.wakeOnLan=(m.settings.wolEnable==="1"?true:false)}b.Request("luna://com.lge.settingsservice/",{method:"getSystemSettings",parameters:{category:"time",keys:["onTimerEnable","offTimerEnable"]},onSuccess:function(n){h("getPowerStatus: On Success 3");if(n.returnValue===true){l.allOnTimer=(n.settings.onTimerEnable==="on"?true:false);l.allOffTimer=(n.settings.offTimerEnable==="on"?true:false);if(i&&typeof i==="function"){i(l)}}},onFailure:function(n){h("getPowerStatus: On Failure 3");delete n.returnValue;if(j&&typeof j==="function"){d(n,"PGPS","Power.getPowerStatus returns failure.");j(n)}}})},onFailure:function(m){h("getPowerStatus: On Failure 2");delete m.returnValue;if(j&&typeof j==="function"){d(m,"PGPS","Power.getPowerStatus returns failure.");j(m)}}})},onFailure:function(k){h("getPowerStatus: On Failure");delete k.returnValue;if(j&&typeof j==="function"){d(k,"PGPS","Power.getPowerStatus returns failure.");j(k)}}});h("Power.getPowerStatus Done")};a.prototype.enableAllOnTimer=function(i,j,k){h("enableAllOnTimer: "+JSON.stringify(k));var l=null;switch(k.allOnTimer){case true:l="on";break;case false:l="off";break}b.Request("luna://com.lge.settingsservice/",{method:"setSystemSettings",parameters:{category:"time",settings:{onTimerEnable:l}},onSuccess:function(){if(typeof i==="function"){h("enableAllOnTimer: On Success");i()}},onFailure:function(m){delete m.returnValue;if(typeof j==="function"){d(m,"PEAOT","Power.enableAllOnTimer returns failure.");h("enableAllOnTimer: On Failure");j(m)}}});h("Power.enableAllOnTimer Done")};a.prototype.enableAllOffTimer=function(i,j,k){h("enableAllOffTimer: "+JSON.stringify(k));var l=null;switch(k.allOffTimer){case true:l="on";break;case false:l="off";break}b.Request("luna://com.lge.settingsservice/",{method:"setSystemSettings",parameters:{category:"time",settings:{offTimerEnable:l}},onSuccess:function(){if(typeof i==="function"){h("enableAllOffTimer: On Success");i()}},onFailure:function(m){delete m.returnValue;if(typeof j==="function"){d(m,"PEAOT","Power.enableAllOffTimer returns failure.");h("enableAllOffTimer: On Failure");j(m)}}});h("Power.enableAllOffTimer Done")};a.prototype.enableWakeOnLan=function(i,j,k){h("enableWakeOnLan: "+JSON.stringify(k));var l=null;switch(k.wakeOnLan){case true:l="1";break;case false:l="0";break}b.Request("luna://com.lge.settingsservice/",{method:"setSystemSettings",parameters:{category:"commercial",settings:{wolEnable:l}},onSuccess:function(){if(typeof i==="function"){h("enableWakeOnLan: On Success");i()}},onFailure:function(m){delete m.returnValue;if(typeof j==="function"){d(m,"PSWOL","Power.enableWakeOnLan returns failure.");h("enableWakeOnLan: On Failure");j(m)}}});h("Power.enableWakeOnLan Done")};function c(i){switch(i){case"ext://hdmi:1":return"HDMI1";case"ext://hdmi:2":return"HDMI2";case"ext://dvi:1":return"DVI";case"ext://dp:1":return"DISPLAYPORT";case"HDMI1":return"ext://hdmi:1";case"HDMI2":return"ext://hdmi:2";case"DVI":return"ext://dvi:1";case"DISPLAYPORT":return"ext://dp:1"}return null}a.prototype.addOnTimer=function(j,k,l){h("addOnTimer: "+JSON.stringify(l));if(l.hour===undefined||typeof l.hour!=="number"||l.hour<0||l.hour>23||l.minute===undefined||typeof l.minute!=="number"||l.minute<0||l.minute>59||l.week===undefined||typeof l.week!=="number"||l.week<0||l.week>127||l.inputSource===undefined||typeof l.inputSource!=="string"||l.inputSource.indexOf("ext://")!==0){if(typeof k==="function"){var i={};d(i,"PAOT","Power.addOnTimer returns failure. invalid parameters or out of range.");k(i)}return}b.Request("luna://com.lge.settingsservice/",{method:"getSystemSettings",parameters:{category:"commercial",keys:["multiOnTimerHour","multiOnTimerMinute","multiOnTimerWeekday","multiOnTimerSource","onTimerSchedule","onTimerCount"]},onSuccess:function(m){if(m.returnValue===true){var o=(m.settings.onTimerSchedule===null||m.settings.onTimerSchedule===undefined?0:m.settings.onTimerSchedule.length);if(m.settings.multiOnTimerHour.length<=o){if(typeof k==="function"){d(m,"PSOT","Power.addOnTimer returns failure. No space to add timer.");k(m)}return}if(typeof m.settings.multiOnTimerHour==="string"){m.settings.multiOnTimerHour=JSON.parse(m.settings.multiOnTimerHour)}if(typeof m.settings.multiOnTimerMinute==="string"){m.settings.multiOnTimerMinute=JSON.parse(m.settings.multiOnTimerMinute)}if(typeof m.settings.multiOnTimerWeekday==="string"){m.settings.multiOnTimerWeekday=JSON.parse(m.settings.multiOnTimerWeekday)}if(typeof m.settings.multiOnTimerSource==="string"){m.settings.multiOnTimerSource=JSON.parse(m.settings.multiOnTimerSource)}if(typeof m.settings.onTimerSchedule==="string"){m.settings.onTimerSchedule=JSON.parse(m.settings.onTimerSchedule)}m.settings.multiOnTimerHour[o]=l.hour;m.settings.multiOnTimerMinute[o]=l.minute;m.settings.multiOnTimerWeekday[o]=l.week;m.settings.multiOnTimerSource[o]=c(l.inputSource);var n=360;m.settings.onTimerSchedule[o]={_id:""+n++,hour:l.hour,input:c(l.inputSource),minute:l.minute,weekday:l.week};b.Request("luna://com.lge.settingsservice/",{method:"setSystemSettings",parameters:{category:"commercial",settings:{multiOnTimerHour:m.settings.multiOnTimerHour,multiOnTimerMinute:m.settings.multiOnTimerMinute,multiOnTimerWeekday:m.settings.multiOnTimerWeekday,multiOnTimerSource:m.settings.multiOnTimerSource,onTimerCount:o+1,onTimerSchedule:m.settings.onTimerSchedule}},onSuccess:function(){h("addOnTimer: On Success 2");if(typeof j==="function"){j()}},onFailure:function(p){h("addOnTimer: On Failure 2");delete p.returnValue;if(typeof k==="function"){d(p,"PAOT","Power.addOnTimer returns failure.");k(p)}}})}},onFailure:function(m){h("addOnTimer: On Failure");delete m.returnValue;if(k&&typeof k==="function"){d(m,"PAOT","Power.addOnTimer returns failure.");k(m)}}});h("Power.addOnTimer Done")};a.prototype.deleteOnTimer=function(j,k,l){h("deleteOnTimer: "+JSON.stringify(l));if(l.hour===undefined||typeof l.hour!=="number"||l.hour<0||l.hour>23||l.minute===undefined||typeof l.minute!=="number"||l.minute<0||l.minute>59||l.week===undefined||typeof l.week!=="number"||l.week<0||l.week>127||l.inputSource===undefined||typeof l.inputSource!=="string"||l.inputSource.indexOf("ext://")!==0){if(typeof k==="function"){var i={};d(i,"PDOT","Power.deleteOnTimer returns failure. invalid parameters or out of range.");k(i)}return}b.Request("luna://com.lge.settingsservice/",{method:"getSystemSettings",parameters:{category:"commercial",keys:["multiOnTimerHour","multiOnTimerMinute","multiOnTimerWeekday","multiOnTimerSource","onTimerSchedule","onTimerCount"]},onSuccess:function(w){if(w.returnValue===true){if(typeof w.settings.multiOnTimerHour==="string"){w.settings.multiOnTimerHour=JSON.parse(w.settings.multiOnTimerHour)}if(typeof w.settings.multiOnTimerMinute==="string"){w.settings.multiOnTimerMinute=JSON.parse(w.settings.multiOnTimerMinute)}if(typeof w.settings.multiOnTimerWeekday==="string"){w.settings.multiOnTimerWeekday=JSON.parse(w.settings.multiOnTimerWeekday)}if(typeof w.settings.multiOnTimerSource==="string"){w.settings.multiOnTimerSource=JSON.parse(w.settings.multiOnTimerSource)}if(typeof w.settings.onTimerSchedule==="string"){w.settings.onTimerSchedule=JSON.parse(w.settings.onTimerSchedule)}var v=0,u=(w.settings.onTimerSchedule===null||w.settings.onTimerSchedule===undefined?0:w.settings.onTimerSchedule.length);var q=["0","0","0","0","0","0","0"],r=["0","0","0","0","0","0","0"],n=["0","0","0","0","0","0","0"],m=["0","0","0","0","0","0","0"],t=[];var p=c(l.inputSource);var o=false;for(var s=0;s<u;s++){if(w.settings.onTimerSchedule[s]===null){continue}if(o===false&&l.hour===w.settings.onTimerSchedule[s].hour&&l.minute===w.settings.onTimerSchedule[s].minute&&l.week===w.settings.onTimerSchedule[s].weekday&&p===w.settings.onTimerSchedule[s].input){o=true}else{q[v]=w.settings.multiOnTimerHour[s];r[v]=w.settings.multiOnTimerMinute[s];n[v]=w.settings.multiOnTimerWeekday[s];m[v]=w.settings.multiOnTimerSource[s];t[v]=w.settings.onTimerSchedule[s];v++}}if(o===true){u--}if(u===0){t=[]}if(w.settings.onTimerSchedule.length===u){if(typeof k==="function"){d(w,"PDOT","Power.deleteOnTimer returns failure. There is no 'on timer' matched in the list.");k(w)}return}b.Request("luna://com.lge.settingsservice/",{method:"setSystemSettings",parameters:{category:"commercial",settings:{multiOnTimerHour:q,multiOnTimerMinute:r,multiOnTimerWeekday:n,multiOnTimerSource:m,onTimerCount:u,onTimerSchedule:t}},onSuccess:function(){h("deleteOnTimer: On Success 2");if(typeof j==="function"){j()}},onFailure:function(x){h("deleteOnTimer: On Failure 2");delete x.returnValue;if(typeof k==="function"){d(x,"PDOT","Power.deleteOnTimer returns failure.");k(x)}}})}},onFailure:function(m){h("deleteOnTimer: On Failure");delete m.returnValue;if(k&&typeof k==="function"){d(m,"PDOT","Power.deleteOnTimer returns failure.");k(m)}}});h("Power.deleteOnTimer Done")};a.prototype.addOffTimer=function(j,k,l){h("addOffTimer: "+JSON.stringify(l));if(l.hour===undefined||typeof l.hour!=="number"||l.hour<0||l.hour>23||l.minute===undefined||typeof l.minute!=="number"||l.minute<0||l.minute>59||l.week===undefined||typeof l.week!=="number"||l.week<0||l.week>127){if(typeof k==="function"){var i={};d(i,"PAOT","Power.addOffTimer returns failure. Invalid parameter.");k(i)}return}b.Request("luna://com.lge.settingsservice/",{method:"getSystemSettings",parameters:{category:"commercial",keys:["multiOffTimerHour","multiOffTimerMinute","multiOffTimerWeekday","offTimerSchedule","offTimerCount"]},onSuccess:function(m){if(m.returnValue===true){var o=(m.settings.offTimerSchedule===null||m.settings.offTimerSchedule===undefined?0:m.settings.offTimerSchedule.length);if(m.settings.multiOffTimerHour.length<=o){if(typeof k==="function"){d(m,"PAOT","Power.addOffTimer returns failure. No space to add timer.");k(m)}return}if(typeof m.settings.multiOffTimerHour==="string"){m.settings.multiOffTimerHour=JSON.parse(m.settings.multiOffTimerHour)}if(typeof m.settings.multiOffTimerMinute==="string"){m.settings.multiOffTimerMinute=JSON.parse(m.settings.multiOffTimerMinute)}if(typeof m.settings.multiOffTimerWeekday==="string"){m.settings.multiOffTimerWeekday=JSON.parse(m.settings.multiOffTimerWeekday)}if(typeof m.settings.offTimerSchedule==="string"){m.settings.offTimerSchedule=JSON.parse(m.settings.offTimerSchedule)}m.settings.multiOffTimerHour[o]=l.hour;m.settings.multiOffTimerMinute[o]=l.minute;m.settings.multiOffTimerWeekday[o]=l.week;var n=360;m.settings.offTimerSchedule[o]={_id:""+n++,hour:l.hour,minute:l.minute,weekday:l.week};b.Request("luna://com.lge.settingsservice/",{method:"setSystemSettings",parameters:{category:"commercial",settings:{multiOffTimerHour:m.settings.multiOffTimerHour,multiOffTimerMinute:m.settings.multiOffTimerMinute,multiOffTimerWeekday:m.settings.multiOffTimerWeekday,offTimerCount:o+1,offTimerSchedule:m.settings.offTimerSchedule}},onSuccess:function(){h("addOffTimer: On Success 2");if(typeof j==="function"){j()}},onFailure:function(p){h("addOffTimer: On Failure 2");delete p.returnValue;if(typeof k==="function"){d(p,"PAOT","Power.addOffTimer returns failure.");k(p)}}})}},onFailure:function(m){h("addOffTimer: On Failure");delete m.returnValue;if(k&&typeof k==="function"){d(m,"PAOT","Power.addOffTimer returns failure.");k(m)}}});h("Power.addOffTimer Done")};a.prototype.deleteOffTimer=function(j,k,l){h("deleteOffTimer: "+JSON.stringify(l));if(l.hour===undefined||typeof l.hour!=="number"||l.hour<0||l.hour>23||l.minute===undefined||typeof l.minute!=="number"||l.minute<0||l.minute>59||l.week===undefined||typeof l.week!=="number"||l.week<0||l.week>127){if(typeof k==="function"){var i={};d(i,"PDOT","Power.deleteOffTimer returns failure. invalid parameters or out of range.");k(i)}return}b.Request("luna://com.lge.settingsservice/",{method:"getSystemSettings",parameters:{category:"commercial",keys:["multiOffTimerHour","multiOffTimerMinute","multiOffTimerWeekday","offTimerSchedule","offTimerCount"]},onSuccess:function(u){if(u.returnValue===true){if(typeof u.settings.multiOffTimerHour==="string"){u.settings.multiOffTimerHour=JSON.parse(u.settings.multiOffTimerHour)}if(typeof u.settings.multiOffTimerMinute==="string"){u.settings.multiOffTimerMinute=JSON.parse(u.settings.multiOffTimerMinute)}if(typeof u.settings.multiOffTimerWeekday==="string"){u.settings.multiOffTimerWeekday=JSON.parse(u.settings.multiOffTimerWeekday)}if(typeof u.settings.offTimerSchedule==="string"){u.settings.offTimerSchedule=JSON.parse(u.settings.offTimerSchedule)}var t=0,s=(u.settings.offTimerSchedule===null||u.settings.offTimerSchedule===undefined?0:u.settings.offTimerSchedule.length);var o=["0","0","0","0","0","0","0"],p=["0","0","0","0","0","0","0"],m=["0","0","0","0","0","0","0"],r=[];var n=false;for(var q=0;q<s;q++){if(u.settings.offTimerSchedule[q]===null){continue}if(n===false&&l.hour===u.settings.offTimerSchedule[q].hour&&l.minute===u.settings.offTimerSchedule[q].minute&&l.week===u.settings.offTimerSchedule[q].weekday){n=true}else{o[t]=u.settings.multiOffTimerHour[q];p[t]=u.settings.multiOffTimerMinute[q];m[t]=u.settings.multiOffTimerWeekday[q];r[t]=u.settings.offTimerSchedule[q];t++}}if(n===true){s--}if(s===0){r=[]}if(u.settings.offTimerSchedule.length===s){if(typeof k==="function"){d(u,"PDOT","Power.deleteOffTimer returns failure. There is no 'off timer' matched in the list.");k(u)}return}b.Request("luna://com.lge.settingsservice/",{method:"setSystemSettings",parameters:{category:"commercial",settings:{multiOffTimerHour:o,multiOffTimerMinute:p,multiOffTimerWeekday:m,offTimerCount:s,offTimerSchedule:r}},onSuccess:function(){h("deleteOffTimer: On Success 2");if(typeof j==="function"){j()}},onFailure:function(v){h("deleteOffTimer: On Failure 2");delete v.returnValue;if(typeof k==="function"){d(v,"PDOT","Power.deleteOffTimer returns failure.");k(v)}}})}},onFailure:function(m){h("deleteOffTimer: On Failure");delete m.returnValue;if(k&&typeof k==="function"){d(m,"PDOT","Power.deleteOffTimer returns failure.");k(m)}}});h("Power.deleteOffTimer Done")};a.prototype.getOnTimerList=function(i,j){h("getOnTimerList: ");b.Request("luna://com.lge.settingsservice/",{method:"getSystemSettings",parameters:{category:"commercial",keys:["onTimerSchedule"]},onSuccess:function(k){if(k.returnValue===true){var n={};if(typeof k.settings.onTimerSchedule==="string"){k.settings.onTimerSchedule=JSON.parse(k.settings.onTimerSchedule)}var o=new Array(k.settings.onTimerSchedule===null||k.settings.onTimerSchedule===undefined?0:k.settings.onTimerSchedule.length);for(var l=0,m=0;m<o.length;m++){if(k.settings.onTimerSchedule[m]===null||k.settings.onTimerSchedule[m]===undefined){continue}o[l]={hour:0,minute:0,week:0,inputSource:0};o[l].hour=k.settings.onTimerSchedule[m].hour;o[l].minute=k.settings.onTimerSchedule[m].minute;o[l].week=k.settings.onTimerSchedule[m].weekday;o[l++].inputSource=c(k.settings.onTimerSchedule[m].input)}n.timerList=o;if(i&&typeof i==="function"){i(n)}}},onFailure:function(k){h("getOnTimerList: On Failure");delete k.returnValue;if(j&&typeof j==="function"){d(k,"PGOTL","Power.getOnTimerList returns failure.");j(k)}}});h("Power.getOnTimerList Done")};a.prototype.getOffTimerList=function(i,j){h("getOffTimerList: ");b.Request("luna://com.lge.settingsservice/",{method:"getSystemSettings",parameters:{category:"commercial",keys:["offTimerSchedule"]},onSuccess:function(k){h("getOffTimerList: On Success");if(k.returnValue===true){var n={};if(typeof k.settings.offTimerSchedule==="string"){k.settings.offTimerSchedule=JSON.parse(k.settings.offTimerSchedule)}var o=new Array(k.settings.offTimerSchedule===null||k.settings.offTimerSchedule===undefined?0:k.settings.offTimerSchedule.length);for(var l=0,m=0;m<o.length;m++){if(k.settings.offTimerSchedule[m]===null||k.settings.offTimerSchedule[m]===undefined){continue}o[l]={hour:0,minute:0,week:0};o[l].hour=k.settings.offTimerSchedule[m].hour;o[l].minute=k.settings.offTimerSchedule[m].minute;o[l++].week=k.settings.offTimerSchedule[m].weekday}n.timerList=o;if(i&&typeof i==="function"){i(n)}}},onFailure:function(k){h("getOffTimerList: On Failure");delete k.returnValue;if(j&&typeof j==="function"){d(k,"PGOTL","Power.getOffTimerList returns failure.");j(k)}}});h("Power.getOffTimerList Done")};a.prototype.setDisplayMode=function(j,k,l){h("setDisplayMode: "+JSON.stringify(l));var m=null;switch(l.displayMode){case a.DisplayMode.DISPLAY_OFF:m="turnOffScreen";break;case a.DisplayMode.DISPLAY_ON:m="turnOnScreen";break}h("setDisplayMode: "+m);if(m===null&&k&&typeof k==="function"){var i={};d(i,"PSDM","Power.setDisplayMode returns failure. command was not defined.");k(i);h("Power.setDisplayMode invalid ");return}b.Request("luna://com.webos.service.tv.signage/",{method:"getPowerState",onSuccess:function(n){h("setDisplayMode: On Success");if(n.returnValue===true&&n.state===l.displayMode){if(j&&typeof j==="function"){h("setDisplayMode: no need to do any action.");j()}return}b.Request("luna://com.webos.service.tv.signage/",{method:m,onSuccess:function(o){h("setDisplayMode: On Success");if(o.returnValue===true){if(j&&typeof j==="function"){j()}}},onFailure:function(o){h("setDisplayMode: On Failure");delete o.returnValue;if(k&&typeof k==="function"){d(o,"PSDM","Power.setDisplayMode returns failure.");k(o)}}})},onFailure:function(n){h("setDisplayMode: On Failure 2");delete n.returnValue;if(k&&typeof k==="function"){d(n,"PSDM","Power.setDisplayMode returns failure.");k(n)}}});h("Power.setDisplayMode Done")};a.prototype.executePowerCommand=function(j,k,l){h("executePowerCommand: "+JSON.stringify(l));if(l.powerCommand===undefined||typeof l.powerCommand!=="string"||l.powerCommand===null||l.powerCommand.length<=0){if(typeof k==="function"){var i={};d(i,"PEPM","Power.executePowerCommand returns failure. invalid argument or out of range. ");k(i)}return}b.Request("luna://com.webos.service.tv.signage/",{method:l.powerCommand,parameters:{reason:"unknown"},onSuccess:function(m){h("executePowerCommand: On Success");if(m.returnValue===true){if(j&&typeof j==="function"){j()}}},onFailure:function(m){h("executePowerCommand: On Failure");delete m.returnValue;if(k&&typeof k==="function"){d(m,"PEPM","Power.executePowerCommand returns failure.");k(m)}}});h("Power.executePowerCommand Done")};g.exports=a});Power=cordova.require("cordova/plugin/power");