@signageos/front-applet 7.2.0 → 8.0.1

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 (421) hide show
  1. package/dist/bundle.js +8 -4
  2. package/dist/bundle.js.map +1 -1
  3. package/docs/fpath/index.md +316 -0
  4. package/docs/index.md +19 -85
  5. package/docs/sos/browser.md +210 -0
  6. package/docs/sos/command.md +68 -0
  7. package/docs/sos/debug.md +25 -0
  8. package/docs/sos/deviceInfo.md +49 -0
  9. package/docs/sos/display.md +21 -0
  10. package/docs/sos/fileSystem.md +594 -0
  11. package/docs/sos/hardware/barcodeScanner.md +40 -0
  12. package/docs/sos/hardware/index.md +64 -0
  13. package/docs/sos/hardware/led.md +14 -0
  14. package/docs/sos/index.md +82 -0
  15. package/docs/sos/input.md +73 -0
  16. package/docs/sos/monitors.md +21 -0
  17. package/docs/sos/native/index.md +5 -0
  18. package/docs/sos/native/mdc.md +240 -0
  19. package/docs/sos/offline/cache.md +183 -0
  20. package/docs/sos/offline/index.md +188 -0
  21. package/docs/sos/osd.md +13 -0
  22. package/docs/sos/proofOfPlay.md +37 -0
  23. package/docs/sos/stream.md +960 -0
  24. package/docs/sos/sync.md +298 -0
  25. package/docs/sos/video.md +285 -0
  26. package/docs/sos_management/app.md +102 -0
  27. package/docs/sos_management/audio.md +29 -0
  28. package/docs/sos_management/debug.md +33 -0
  29. package/docs/sos_management/firmware.md +86 -0
  30. package/docs/sos_management/index.md +212 -0
  31. package/docs/sos_management/network.md +197 -0
  32. package/docs/sos_management/os.md +54 -0
  33. package/docs/sos_management/package.md +33 -0
  34. package/docs/sos_management/power.md +136 -0
  35. package/docs/sos_management/proxy.md +41 -0
  36. package/docs/sos_management/remoteControl.md +72 -0
  37. package/docs/sos_management/screen.md +198 -0
  38. package/docs/sos_management/security.md +47 -0
  39. package/docs/sos_management/time.md +101 -0
  40. package/docs/sos_management/wifi.md +366 -0
  41. package/es6/FrontApplet/Browser/Browser.d.ts +61 -8
  42. package/es6/FrontApplet/Browser/Browser.js +91 -39
  43. package/es6/FrontApplet/Browser/Browser.js.map +1 -1
  44. package/es6/FrontApplet/Browser/events.js +2 -2
  45. package/es6/FrontApplet/Browser/events.js.map +1 -1
  46. package/es6/FrontApplet/Command/Command.d.ts +37 -3
  47. package/es6/FrontApplet/Command/Command.js +49 -20
  48. package/es6/FrontApplet/Command/Command.js.map +1 -1
  49. package/es6/FrontApplet/Command/ICommandEvent.d.ts +6 -2
  50. package/es6/FrontApplet/Connect/Connect.d.ts +3 -0
  51. package/es6/FrontApplet/Connect/Connect.js +55 -7
  52. package/es6/FrontApplet/Connect/Connect.js.map +1 -1
  53. package/es6/FrontApplet/Connect/IConnectMessage.d.ts +1 -1
  54. package/es6/FrontApplet/Debug/Debug.d.ts +15 -1
  55. package/es6/FrontApplet/Debug/Debug.js +27 -17
  56. package/es6/FrontApplet/Debug/Debug.js.map +1 -1
  57. package/es6/FrontApplet/Debug/debugDecorator.d.ts +3 -3
  58. package/es6/FrontApplet/Debug/debugDecorator.js +13 -7
  59. package/es6/FrontApplet/Debug/debugDecorator.js.map +1 -1
  60. package/es6/FrontApplet/DeviceInfo/DeviceInfo.d.ts +23 -0
  61. package/es6/FrontApplet/DeviceInfo/DeviceInfo.js +36 -27
  62. package/es6/FrontApplet/DeviceInfo/DeviceInfo.js.map +1 -1
  63. package/es6/FrontApplet/Dimensions/coordinationsHelper.js +1 -2
  64. package/es6/FrontApplet/Dimensions/coordinationsHelper.js.map +1 -1
  65. package/es6/FrontApplet/Display/Display.d.ts +25 -3
  66. package/es6/FrontApplet/Display/Display.js +35 -19
  67. package/es6/FrontApplet/Display/Display.js.map +1 -1
  68. package/es6/FrontApplet/Display/IDisplay.d.ts +3 -1
  69. package/es6/FrontApplet/Error/AppletCommandError.js +12 -3
  70. package/es6/FrontApplet/Error/AppletCommandError.js.map +1 -1
  71. package/es6/FrontApplet/Error/AppletError.js +10 -2
  72. package/es6/FrontApplet/Error/AppletError.js.map +1 -1
  73. package/es6/FrontApplet/Error/AppletHardwareError.js +12 -3
  74. package/es6/FrontApplet/Error/AppletHardwareError.js.map +1 -1
  75. package/es6/FrontApplet/Error/AppletOfflineCacheError.js +10 -2
  76. package/es6/FrontApplet/Error/AppletOfflineCacheError.js.map +1 -1
  77. package/es6/FrontApplet/Error/AppletResourcesError.js +12 -3
  78. package/es6/FrontApplet/Error/AppletResourcesError.js.map +1 -1
  79. package/es6/FrontApplet/Error/AppletSecurityError.js +12 -3
  80. package/es6/FrontApplet/Error/AppletSecurityError.js.map +1 -1
  81. package/es6/FrontApplet/Error/AppletStreamError.js +10 -2
  82. package/es6/FrontApplet/Error/AppletStreamError.js.map +1 -1
  83. package/es6/FrontApplet/Error/AppletVideoError.js +12 -3
  84. package/es6/FrontApplet/Error/AppletVideoError.js.map +1 -1
  85. package/es6/FrontApplet/Error/ErrorCodesMessages.js +4 -1
  86. package/es6/FrontApplet/Error/ErrorCodesMessages.js.map +1 -1
  87. package/es6/FrontApplet/Error/ErrorSuggestions.js +1 -0
  88. package/es6/FrontApplet/Error/ErrorSuggestions.js.map +1 -1
  89. package/es6/FrontApplet/Error/FileNotFoundError.js +10 -2
  90. package/es6/FrontApplet/Error/FileNotFoundError.js.map +1 -1
  91. package/es6/FrontApplet/Error/SosError.js +4 -0
  92. package/es6/FrontApplet/Error/SosError.js.map +1 -1
  93. package/es6/FrontApplet/Error/errorHelper.js +5 -6
  94. package/es6/FrontApplet/Error/errorHelper.js.map +1 -1
  95. package/es6/FrontApplet/Exchange/Exchange.js +7 -14
  96. package/es6/FrontApplet/Exchange/Exchange.js.map +1 -1
  97. package/es6/FrontApplet/FileSystem/FileSystem.d.ts +156 -1
  98. package/es6/FrontApplet/FileSystem/FileSystem.js +316 -193
  99. package/es6/FrontApplet/FileSystem/FileSystem.js.map +1 -1
  100. package/es6/FrontApplet/FileSystem/HashAlgorithm.d.ts +2 -0
  101. package/es6/FrontApplet/{Stream/streamListeners.js → FileSystem/HashAlgorithm.js} +1 -1
  102. package/es6/FrontApplet/FileSystem/HashAlgorithm.js.map +1 -0
  103. package/es6/FrontApplet/Font/fontFaceGenerator.js.map +1 -1
  104. package/es6/FrontApplet/FrontApplet.d.ts +55 -4
  105. package/es6/FrontApplet/FrontApplet.js +124 -47
  106. package/es6/FrontApplet/FrontApplet.js.map +1 -1
  107. package/es6/FrontApplet/Hardware/BarcodeScanner/BarcodeScanner.d.ts +2 -0
  108. package/es6/FrontApplet/Hardware/BarcodeScanner/BarcodeScanner.js +35 -54
  109. package/es6/FrontApplet/Hardware/BarcodeScanner/BarcodeScanner.js.map +1 -1
  110. package/es6/FrontApplet/Hardware/Hardware.d.ts +16 -2
  111. package/es6/FrontApplet/Hardware/Hardware.js +31 -19
  112. package/es6/FrontApplet/Hardware/Hardware.js.map +1 -1
  113. package/es6/FrontApplet/Hardware/IHardware.d.ts +2 -2
  114. package/es6/FrontApplet/Hardware/ISerialPort.d.ts +16 -0
  115. package/es6/FrontApplet/Hardware/ISerialPortOptions.js +1 -1
  116. package/es6/FrontApplet/Hardware/ISerialPortOptions.js.map +1 -1
  117. package/es6/FrontApplet/Hardware/Led/Led.d.ts +8 -0
  118. package/es6/FrontApplet/Hardware/Led/Led.js +20 -18
  119. package/es6/FrontApplet/Hardware/Led/Led.js.map +1 -1
  120. package/es6/FrontApplet/Hardware/SerialPort.d.ts +1 -1
  121. package/es6/FrontApplet/Hardware/SerialPort.js +15 -23
  122. package/es6/FrontApplet/Hardware/SerialPort.js.map +1 -1
  123. package/es6/FrontApplet/Hash/generator.js +1 -2
  124. package/es6/FrontApplet/Hash/generator.js.map +1 -1
  125. package/es6/FrontApplet/Iframe/Iframe.d.ts +9 -8
  126. package/es6/FrontApplet/Iframe/Iframe.js +10 -0
  127. package/es6/FrontApplet/Iframe/Iframe.js.map +1 -1
  128. package/es6/FrontApplet/Input/IInput.d.ts +1 -2
  129. package/es6/FrontApplet/Input/IKeyUpEvent.d.ts +32 -2
  130. package/es6/FrontApplet/Input/IKeyUpEvent.js +32 -0
  131. package/es6/FrontApplet/Input/IKeyUpEvent.js.map +1 -1
  132. package/es6/FrontApplet/Input/Input.d.ts +19 -3
  133. package/es6/FrontApplet/Input/Input.js +43 -22
  134. package/es6/FrontApplet/Input/Input.js.map +1 -1
  135. package/es6/FrontApplet/Management/App/App.d.ts +48 -10
  136. package/es6/FrontApplet/Management/App/App.js +45 -30
  137. package/es6/FrontApplet/Management/App/App.js.map +1 -1
  138. package/es6/FrontApplet/Management/App/IApp.d.ts +3 -1
  139. package/es6/FrontApplet/Management/Audio/Audio.d.ts +16 -0
  140. package/es6/FrontApplet/Management/Audio/Audio.js +30 -22
  141. package/es6/FrontApplet/Management/Audio/Audio.js.map +1 -1
  142. package/es6/FrontApplet/Management/AutoRecovery/AutoRecovery.d.ts +4 -0
  143. package/es6/FrontApplet/Management/AutoRecovery/AutoRecovery.js +15 -22
  144. package/es6/FrontApplet/Management/AutoRecovery/AutoRecovery.js.map +1 -1
  145. package/es6/FrontApplet/Management/AutoRecovery/IAutoRecovery.js +4 -1
  146. package/es6/FrontApplet/Management/AutoRecovery/IAutoRecovery.js.map +1 -1
  147. package/es6/FrontApplet/Management/Debug/Debug.d.ts +19 -0
  148. package/es6/FrontApplet/Management/Debug/Debug.js +37 -30
  149. package/es6/FrontApplet/Management/Debug/Debug.js.map +1 -1
  150. package/es6/FrontApplet/Management/Firmware/Firmware.d.ts +37 -10
  151. package/es6/FrontApplet/Management/Firmware/Firmware.js +34 -30
  152. package/es6/FrontApplet/Management/Firmware/Firmware.js.map +1 -1
  153. package/es6/FrontApplet/Management/Firmware/IFirmware.d.ts +1 -2
  154. package/es6/FrontApplet/Management/IManagement.d.ts +3 -1
  155. package/es6/FrontApplet/Management/Management.d.ts +106 -15
  156. package/es6/FrontApplet/Management/Management.js +191 -113
  157. package/es6/FrontApplet/Management/Management.js.map +1 -1
  158. package/es6/FrontApplet/Management/Network/INetworkInfo.d.ts +1 -1
  159. package/es6/FrontApplet/Management/Network/Network.d.ts +56 -8
  160. package/es6/FrontApplet/Management/Network/Network.js +85 -67
  161. package/es6/FrontApplet/Management/Network/Network.js.map +1 -1
  162. package/es6/FrontApplet/Management/OS/OS.d.ts +20 -0
  163. package/es6/FrontApplet/Management/OS/OS.js +34 -27
  164. package/es6/FrontApplet/Management/OS/OS.js.map +1 -1
  165. package/es6/FrontApplet/Management/Package/Package.d.ts +20 -0
  166. package/es6/FrontApplet/Management/Package/Package.js +37 -22
  167. package/es6/FrontApplet/Management/Package/Package.js.map +1 -1
  168. package/es6/FrontApplet/Management/PeerRecovery/IPeerRecovery.js +4 -1
  169. package/es6/FrontApplet/Management/PeerRecovery/IPeerRecovery.js.map +1 -1
  170. package/es6/FrontApplet/Management/PeerRecovery/PeerRecovery.d.ts +4 -0
  171. package/es6/FrontApplet/Management/PeerRecovery/PeerRecovery.js +15 -22
  172. package/es6/FrontApplet/Management/PeerRecovery/PeerRecovery.js.map +1 -1
  173. package/es6/FrontApplet/Management/Power/Power.d.ts +64 -0
  174. package/es6/FrontApplet/Management/Power/Power.js +160 -115
  175. package/es6/FrontApplet/Management/Power/Power.js.map +1 -1
  176. package/es6/FrontApplet/Management/Proxy/Proxy.d.ts +21 -0
  177. package/es6/FrontApplet/Management/Proxy/Proxy.js +41 -35
  178. package/es6/FrontApplet/Management/Proxy/Proxy.js.map +1 -1
  179. package/es6/FrontApplet/Management/RemoteControl/RemoteControl.d.ts +43 -0
  180. package/es6/FrontApplet/Management/RemoteControl/RemoteControl.js +63 -39
  181. package/es6/FrontApplet/Management/RemoteControl/RemoteControl.js.map +1 -1
  182. package/es6/FrontApplet/Management/Screen/Screen.d.ts +127 -0
  183. package/es6/FrontApplet/Management/Screen/Screen.js +197 -89
  184. package/es6/FrontApplet/Management/Screen/Screen.js.map +1 -1
  185. package/es6/FrontApplet/Management/Security/Security.d.ts +20 -5
  186. package/es6/FrontApplet/Management/Security/Security.js +33 -31
  187. package/es6/FrontApplet/Management/Security/Security.js.map +1 -1
  188. package/es6/FrontApplet/Management/Time/Time.d.ts +31 -5
  189. package/es6/FrontApplet/Management/Time/Time.js +49 -40
  190. package/es6/FrontApplet/Management/Time/Time.js.map +1 -1
  191. package/es6/FrontApplet/Management/Wifi/IWifiEvent.d.ts +18 -0
  192. package/es6/FrontApplet/Management/Wifi/IWifiEvent.js +19 -1
  193. package/es6/FrontApplet/Management/Wifi/IWifiEvent.js.map +1 -1
  194. package/es6/FrontApplet/Management/Wifi/Wifi.d.ts +108 -7
  195. package/es6/FrontApplet/Management/Wifi/Wifi.js +162 -86
  196. package/es6/FrontApplet/Management/Wifi/Wifi.js.map +1 -1
  197. package/es6/FrontApplet/Management/helpers/DeviceHelper.js +2 -2
  198. package/es6/FrontApplet/Management/helpers/DeviceHelper.js.map +1 -1
  199. package/es6/FrontApplet/Management/helpers/SecurityHelper.js +8 -6
  200. package/es6/FrontApplet/Management/helpers/SecurityHelper.js.map +1 -1
  201. package/es6/FrontApplet/Management/helpers/TimerHelper.js +2 -2
  202. package/es6/FrontApplet/Management/helpers/TimerHelper.js.map +1 -1
  203. package/es6/FrontApplet/Management/helpers/UpgradeHelper.js +35 -3
  204. package/es6/FrontApplet/Management/helpers/UpgradeHelper.js.map +1 -1
  205. package/es6/FrontApplet/Management/helpers/VideoHelper.js +1 -1
  206. package/es6/FrontApplet/Management/helpers/VideoHelper.js.map +1 -1
  207. package/es6/FrontApplet/Monitors/Monitors.d.ts +9 -0
  208. package/es6/FrontApplet/Monitors/Monitors.js +16 -16
  209. package/es6/FrontApplet/Monitors/Monitors.js.map +1 -1
  210. package/es6/FrontApplet/NativeCommands/MDC/CodesMDC.js +1 -1
  211. package/es6/FrontApplet/NativeCommands/MDC/CodesMDC.js.map +1 -1
  212. package/es6/FrontApplet/NativeCommands/MDC/Mdc.d.ts +51 -2
  213. package/es6/FrontApplet/NativeCommands/MDC/Mdc.js +79 -38
  214. package/es6/FrontApplet/NativeCommands/MDC/Mdc.js.map +1 -1
  215. package/es6/FrontApplet/NativeCommands/NativeCommands.d.ts +4 -0
  216. package/es6/FrontApplet/NativeCommands/NativeCommands.js +12 -2
  217. package/es6/FrontApplet/NativeCommands/NativeCommands.js.map +1 -1
  218. package/es6/FrontApplet/OSD/OSD.d.ts +9 -0
  219. package/es6/FrontApplet/OSD/OSD.js +15 -15
  220. package/es6/FrontApplet/OSD/OSD.js.map +1 -1
  221. package/es6/FrontApplet/Offline/Cache/Cache.d.ts +91 -2
  222. package/es6/FrontApplet/Offline/Cache/Cache.js +192 -130
  223. package/es6/FrontApplet/Offline/Cache/Cache.js.map +1 -1
  224. package/es6/FrontApplet/Offline/Flags/AppendFlagController.d.ts +1 -1
  225. package/es6/FrontApplet/Offline/Flags/AppendFlagController.js +17 -25
  226. package/es6/FrontApplet/Offline/Flags/AppendFlagController.js.map +1 -1
  227. package/es6/FrontApplet/Offline/Flags/IFlags.d.ts +4 -4
  228. package/es6/FrontApplet/Offline/IAddFont.d.ts +3 -1
  229. package/es6/FrontApplet/Offline/IAddFont.js.map +1 -1
  230. package/es6/FrontApplet/Offline/ISaveFile.js +5 -2
  231. package/es6/FrontApplet/Offline/ISaveFile.js.map +1 -1
  232. package/es6/FrontApplet/Offline/LoadFile/CssLoadFileController.js +2 -1
  233. package/es6/FrontApplet/Offline/LoadFile/CssLoadFileController.js.map +1 -1
  234. package/es6/FrontApplet/Offline/LoadFile/JavascriptLoadFileController.js +2 -1
  235. package/es6/FrontApplet/Offline/LoadFile/JavascriptLoadFileController.js.map +1 -1
  236. package/es6/FrontApplet/Offline/Offline.d.ts +75 -4
  237. package/es6/FrontApplet/Offline/Offline.js +116 -56
  238. package/es6/FrontApplet/Offline/Offline.js.map +1 -1
  239. package/es6/FrontApplet/ProofOfPlay/ProofOfPlay.d.ts +19 -1
  240. package/es6/FrontApplet/ProofOfPlay/ProofOfPlay.js +41 -29
  241. package/es6/FrontApplet/ProofOfPlay/ProofOfPlay.js.map +1 -1
  242. package/es6/FrontApplet/Sensors/Proximity.d.ts +4 -3
  243. package/es6/FrontApplet/Sensors/Proximity.js +12 -4
  244. package/es6/FrontApplet/Sensors/Proximity.js.map +1 -1
  245. package/es6/FrontApplet/Sensors/Sensors.d.ts +2 -0
  246. package/es6/FrontApplet/Sensors/Sensors.js +9 -2
  247. package/es6/FrontApplet/Sensors/Sensors.js.map +1 -1
  248. package/es6/FrontApplet/Stream/IStream.d.ts +10 -10
  249. package/es6/FrontApplet/Stream/Stream.d.ts +130 -15
  250. package/es6/FrontApplet/Stream/Stream.js +229 -130
  251. package/es6/FrontApplet/Stream/Stream.js.map +1 -1
  252. package/es6/FrontApplet/Stream/StreamProtocol.js.map +1 -1
  253. package/es6/FrontApplet/Sync/Sync.d.ts +152 -6
  254. package/es6/FrontApplet/Sync/Sync.js +196 -112
  255. package/es6/FrontApplet/Sync/Sync.js.map +1 -1
  256. package/es6/FrontApplet/Sync/syncEvents.d.ts +3 -1
  257. package/es6/FrontApplet/Sync/syncMessages.js +1 -1
  258. package/es6/FrontApplet/Sync/syncMessages.js.map +1 -1
  259. package/es6/FrontApplet/Timing/Timing.d.ts +1 -0
  260. package/es6/FrontApplet/Timing/Timing.js +9 -2
  261. package/es6/FrontApplet/Timing/Timing.js.map +1 -1
  262. package/es6/FrontApplet/Timing/Triggers/ITimingTriggersMessage.d.ts +1 -1
  263. package/es6/FrontApplet/Timing/Triggers/Triggers.d.ts +9 -0
  264. package/es6/FrontApplet/Timing/Triggers/Triggers.js +16 -18
  265. package/es6/FrontApplet/Timing/Triggers/Triggers.js.map +1 -1
  266. package/es6/FrontApplet/Touch/Touch.d.ts +3 -0
  267. package/es6/FrontApplet/Touch/Touch.js +13 -3
  268. package/es6/FrontApplet/Touch/Touch.js.map +1 -1
  269. package/es6/FrontApplet/Validate/Validate.js +14 -11
  270. package/es6/FrontApplet/Validate/Validate.js.map +1 -1
  271. package/es6/FrontApplet/Validate/ValidateObjectInterface.js +7 -2
  272. package/es6/FrontApplet/Validate/ValidateObjectInterface.js.map +1 -1
  273. package/es6/FrontApplet/Video/IOptions.d.ts +8 -1
  274. package/es6/FrontApplet/Video/IVideo.d.ts +8 -8
  275. package/es6/FrontApplet/Video/IVideoEvent.js +3 -3
  276. package/es6/FrontApplet/Video/IVideoEvent.js.map +1 -1
  277. package/es6/FrontApplet/Video/Video.d.ts +84 -12
  278. package/es6/FrontApplet/Video/Video.js +161 -102
  279. package/es6/FrontApplet/Video/Video.js.map +1 -1
  280. package/es6/FrontApplet/createFrontApplet.js +5 -2
  281. package/es6/FrontApplet/createFrontApplet.js.map +1 -1
  282. package/es6/Monitoring/Display/handleDisplayRequests.d.ts +2 -2
  283. package/es6/Monitoring/Display/handleDisplayRequests.js +5 -15
  284. package/es6/Monitoring/Display/handleDisplayRequests.js.map +1 -1
  285. package/es6/Monitoring/FileSystem/fileSystemCommands.d.ts +10 -1
  286. package/es6/Monitoring/FileSystem/fileSystemCommands.js +3 -1
  287. package/es6/Monitoring/FileSystem/fileSystemCommands.js.map +1 -1
  288. package/es6/Monitoring/FileSystem/handleFileSystemRequests.d.ts +2 -2
  289. package/es6/Monitoring/FileSystem/handleFileSystemRequests.js +41 -45
  290. package/es6/Monitoring/FileSystem/handleFileSystemRequests.js.map +1 -1
  291. package/es6/Monitoring/Html/handleHtmlSnapshotTakingRequests.d.ts +2 -2
  292. package/es6/Monitoring/Html/handleHtmlSnapshotTakingRequests.js +4 -14
  293. package/es6/Monitoring/Html/handleHtmlSnapshotTakingRequests.js.map +1 -1
  294. package/es6/Monitoring/Management/App/handleApplicationRequests.d.ts +2 -2
  295. package/es6/Monitoring/Management/App/handleApplicationRequests.js +9 -19
  296. package/es6/Monitoring/Management/App/handleApplicationRequests.js.map +1 -1
  297. package/es6/Monitoring/Management/Audio/handleAudioRequests.d.ts +2 -2
  298. package/es6/Monitoring/Management/Audio/handleAudioRequests.js +7 -17
  299. package/es6/Monitoring/Management/Audio/handleAudioRequests.js.map +1 -1
  300. package/es6/Monitoring/Management/AutoRecovery/handleAutoRecoveryRequests.d.ts +2 -2
  301. package/es6/Monitoring/Management/AutoRecovery/handleAutoRecoveryRequests.js +7 -17
  302. package/es6/Monitoring/Management/AutoRecovery/handleAutoRecoveryRequests.js.map +1 -1
  303. package/es6/Monitoring/Management/Debug/handleDebugRequests.d.ts +2 -2
  304. package/es6/Monitoring/Management/Debug/handleDebugRequests.js +9 -19
  305. package/es6/Monitoring/Management/Debug/handleDebugRequests.js.map +1 -1
  306. package/es6/Monitoring/Management/Network/handleManagementNetworkRequests.d.ts +2 -2
  307. package/es6/Monitoring/Management/Network/handleManagementNetworkRequests.js +11 -21
  308. package/es6/Monitoring/Management/Network/handleManagementNetworkRequests.js.map +1 -1
  309. package/es6/Monitoring/Management/Os/managementOsRequests.d.ts +2 -2
  310. package/es6/Monitoring/Management/Os/managementOsRequests.js +9 -19
  311. package/es6/Monitoring/Management/Os/managementOsRequests.js.map +1 -1
  312. package/es6/Monitoring/Management/PeerRecovery/handlePeerRecoveryRequests.d.ts +2 -2
  313. package/es6/Monitoring/Management/PeerRecovery/handlePeerRecoveryRequests.js +7 -17
  314. package/es6/Monitoring/Management/PeerRecovery/handlePeerRecoveryRequests.js.map +1 -1
  315. package/es6/Monitoring/Management/Power/handlePowerRequests.d.ts +2 -2
  316. package/es6/Monitoring/Management/Power/handlePowerRequests.js +19 -29
  317. package/es6/Monitoring/Management/Power/handlePowerRequests.js.map +1 -1
  318. package/es6/Monitoring/Management/RemoteControl/handleRemoteControlRequests.d.ts +2 -2
  319. package/es6/Monitoring/Management/RemoteControl/handleRemoteControlRequests.js +15 -25
  320. package/es6/Monitoring/Management/RemoteControl/handleRemoteControlRequests.js.map +1 -1
  321. package/es6/Monitoring/Management/Screen/handleScreenRequests.d.ts +2 -2
  322. package/es6/Monitoring/Management/Screen/handleScreenRequests.js +19 -29
  323. package/es6/Monitoring/Management/Screen/handleScreenRequests.js.map +1 -1
  324. package/es6/Monitoring/Management/Security/handleSecurityCommands.d.ts +2 -2
  325. package/es6/Monitoring/Management/Security/handleSecurityCommands.js +9 -19
  326. package/es6/Monitoring/Management/Security/handleSecurityCommands.js.map +1 -1
  327. package/es6/Monitoring/Management/Time/handleTimeCommands.d.ts +2 -2
  328. package/es6/Monitoring/Management/Time/handleTimeCommands.js +9 -19
  329. package/es6/Monitoring/Management/Time/handleTimeCommands.js.map +1 -1
  330. package/es6/Monitoring/Management/handleManagementRequests.d.ts +2 -2
  331. package/es6/Monitoring/Management/handleManagementRequests.js +23 -33
  332. package/es6/Monitoring/Management/handleManagementRequests.js.map +1 -1
  333. package/es6/Monitoring/{Montoring.d.ts → Monitoring.d.ts} +1 -0
  334. package/es6/Monitoring/{Montoring.js → Monitoring.js} +12 -23
  335. package/es6/Monitoring/Monitoring.js.map +1 -0
  336. package/es6/Monitoring/NativeCommands/handleNativeCommands.d.ts +2 -2
  337. package/es6/Monitoring/NativeCommands/handleNativeCommands.js +5 -15
  338. package/es6/Monitoring/NativeCommands/handleNativeCommands.js.map +1 -1
  339. package/es6/Monitoring/OSD/handleOsdRequests.d.ts +2 -2
  340. package/es6/Monitoring/OSD/handleOsdRequests.js +5 -15
  341. package/es6/Monitoring/OSD/handleOsdRequests.js.map +1 -1
  342. package/es6/Monitoring/Offline/Cache/handleOfflineCacheRequests.d.ts +2 -2
  343. package/es6/Monitoring/Offline/Cache/handleOfflineCacheRequests.js +23 -33
  344. package/es6/Monitoring/Offline/Cache/handleOfflineCacheRequests.js.map +1 -1
  345. package/es6/Monitoring/Video/handleVideoRequests.d.ts +2 -2
  346. package/es6/Monitoring/Video/handleVideoRequests.js +36 -9
  347. package/es6/Monitoring/Video/handleVideoRequests.js.map +1 -1
  348. package/es6/Monitoring/handleMonitoringRequests.d.ts +2 -2
  349. package/es6/Monitoring/handleMonitoringRequests.js +6 -16
  350. package/es6/Monitoring/handleMonitoringRequests.js.map +1 -1
  351. package/es6/Sensors/IButton.js +1 -1
  352. package/es6/Sensors/IButton.js.map +1 -1
  353. package/es6/Sensors/IRfidAntenna.js +1 -1
  354. package/es6/Sensors/IRfidAntenna.js.map +1 -1
  355. package/es6/Util/Console/enhancer.js +1 -2
  356. package/es6/Util/Console/enhancer.js.map +1 -1
  357. package/es6/bundle.d.ts +1 -1
  358. package/es6/bundle.js +6 -3
  359. package/es6/bundle.js.map +1 -1
  360. package/es6/fpath.js +34 -1
  361. package/es6/fpath.js.map +1 -1
  362. package/es6/utils/types.d.ts +1 -0
  363. package/es6/{FrontApplet/Input/IKeyUpEventListener.js → utils/types.js} +1 -1
  364. package/es6/utils/types.js.map +1 -0
  365. package/package.json +27 -25
  366. package/CHANGELOG.md +0 -484
  367. package/docs/README.md +0 -5
  368. package/docs/applet-basics.md +0 -272
  369. package/docs/content/js-applet-resources.md +0 -154
  370. package/docs/content/js-browser.md +0 -163
  371. package/docs/content/js-command.md +0 -154
  372. package/docs/content/js-debug.md +0 -36
  373. package/docs/content/js-device-info.md +0 -56
  374. package/docs/content/js-display.md +0 -56
  375. package/docs/content/js-file-system.md +0 -670
  376. package/docs/content/js-fonts.md +0 -115
  377. package/docs/content/js-hardware.md +0 -55
  378. package/docs/content/js-iframes.md +0 -66
  379. package/docs/content/js-input.md +0 -71
  380. package/docs/content/js-offline-cache-media-files.md +0 -257
  381. package/docs/content/js-offline-cache-simple-data.md +0 -129
  382. package/docs/content/js-osd.md +0 -32
  383. package/docs/content/js-proof-of-play.md +0 -60
  384. package/docs/content/js-sensors.md +0 -70
  385. package/docs/content/js-serial.md +0 -165
  386. package/docs/content/js-sync-playback.md +0 -384
  387. package/docs/content/js-video-inputs-internal-ports.md +0 -131
  388. package/docs/content/js-video-stream.md +0 -618
  389. package/docs/content/js-video.md +0 -232
  390. package/docs/management/js-management-application.md +0 -107
  391. package/docs/management/js-management-audio.md +0 -44
  392. package/docs/management/js-management-debug.md +0 -40
  393. package/docs/management/js-management-firmware.md +0 -93
  394. package/docs/management/js-management-management.md +0 -178
  395. package/docs/management/js-management-monitoring-commands.md +0 -107
  396. package/docs/management/js-management-monitors.md +0 -55
  397. package/docs/management/js-management-native-commands-mdc.md +0 -90
  398. package/docs/management/js-management-network.md +0 -223
  399. package/docs/management/js-management-os.md +0 -62
  400. package/docs/management/js-management-package.md +0 -48
  401. package/docs/management/js-management-power.md +0 -175
  402. package/docs/management/js-management-proxy.md +0 -81
  403. package/docs/management/js-management-remote-control.md +0 -58
  404. package/docs/management/js-management-screen.md +0 -225
  405. package/docs/management/js-management-security.md +0 -71
  406. package/docs/management/js-management-time.md +0 -161
  407. package/docs/management/js-management-wifi.md +0 -341
  408. package/es6/FrontApplet/Command/ICommandEventListener.d.ts +0 -6
  409. package/es6/FrontApplet/Command/ICommandEventListener.js +0 -3
  410. package/es6/FrontApplet/Command/ICommandEventListener.js.map +0 -1
  411. package/es6/FrontApplet/Input/IKeyUpEventListener.d.ts +0 -5
  412. package/es6/FrontApplet/Input/IKeyUpEventListener.js.map +0 -1
  413. package/es6/FrontApplet/Management/Firmware/FirmwareType.d.ts +0 -4
  414. package/es6/FrontApplet/Management/Firmware/FirmwareType.js +0 -9
  415. package/es6/FrontApplet/Management/Firmware/FirmwareType.js.map +0 -1
  416. package/es6/FrontApplet/Stream/streamListeners.d.ts +0 -10
  417. package/es6/FrontApplet/Stream/streamListeners.js.map +0 -1
  418. package/es6/FrontApplet/Video/IVideoEventListener.d.ts +0 -5
  419. package/es6/FrontApplet/Video/IVideoEventListener.js +0 -3
  420. package/es6/FrontApplet/Video/IVideoEventListener.js.map +0 -1
  421. package/es6/Monitoring/Montoring.js.map +0 -1
@@ -1,222 +1,346 @@
1
1
  "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
10
4
  };
11
5
  Object.defineProperty(exports, "__esModule", { value: true });
12
6
  const events_1 = require("events");
13
7
  const types_1 = require("./types");
14
- const Validate_1 = require("../Validate/Validate");
8
+ const Validate_1 = __importDefault(require("../Validate/Validate"));
15
9
  const EVENT_STORAGE_UNITS_CHANGED = 'storage_units_changed';
10
+ /**
11
+ * The `sos.fileSystem` API groups together methods for low-level access to the file system. The File System API supports both internal and
12
+ * external storage.
13
+ *
14
+ * :::warning
15
+ *
16
+ * File System directory structure is **PERSISTENT** and is **NOT** automatically deleted through `Applet Reload` power action!
17
+ * Applet Reload only deletes `/data` directory which is reserved for simplified [Offline Cache API](./offline). Use
18
+ * `deleteFile()` to clear the device storage file system.
19
+ *
20
+ * :::
21
+ */
16
22
  class FileSystem {
23
+ messagePrefix;
24
+ postMessage;
25
+ static MESSAGE_PREFIX = 'file_system';
26
+ eventEmitter;
27
+ /** @internal */
17
28
  constructor(messagePrefix, postMessage) {
18
29
  this.messagePrefix = messagePrefix;
19
30
  this.postMessage = postMessage;
20
31
  this.eventEmitter = new events_1.EventEmitter();
21
32
  }
22
- listStorageUnits() {
23
- return __awaiter(this, void 0, void 0, function* () {
24
- const { storageUnits } = yield this.postMessage({
25
- type: this.getMessage('list_storage_units'),
26
- });
27
- return storageUnits;
33
+ /**
34
+ * The `listStorageUnits()` method lists all available storage units. All devices always have one internal storage device (with
35
+ * `removable: false`) and zero or more external devices. The capacity values are in bytes.
36
+ */
37
+ async listStorageUnits() {
38
+ const { storageUnits } = await this.postMessage({
39
+ type: this.getMessage('list_storage_units'),
28
40
  });
41
+ return storageUnits;
29
42
  }
43
+ /**
44
+ * A shorthand method for listing only the internal storage units (i.e. those with the `removable: false`). The capacity values are in bytes.
45
+ */
46
+ async listInternalStorageUnits() {
47
+ const allStorageUnits = await this.listStorageUnits();
48
+ return allStorageUnits.filter((storageUnit) => !storageUnit.removable);
49
+ }
50
+ /**
51
+ * The `onStorageUnitsChanged()` method sets up a listener, which is called whenever the list of storage units changes.
52
+ */
30
53
  onStorageUnitsChanged(listener) {
31
54
  (0, Validate_1.default)({ listener }).required().function();
32
55
  this.eventEmitter.addListener(EVENT_STORAGE_UNITS_CHANGED, listener);
33
56
  }
57
+ /**
58
+ * The `removeStorageUnitsChangedListener()` method removes a listener, previously added by `onStorageUnitsChanged()`
59
+ */
34
60
  removeStorageUnitsChangedListener(listener) {
35
61
  (0, Validate_1.default)({ listener }).required().function();
36
62
  this.eventEmitter.removeListener(EVENT_STORAGE_UNITS_CHANGED, listener);
37
63
  }
64
+ /**
65
+ * The `removeAllListeners()` method removes all listeners, previously added by `removeAllListeners()`
66
+ */
38
67
  removeAllListeners() {
39
68
  this.eventEmitter.removeAllListeners(EVENT_STORAGE_UNITS_CHANGED);
40
69
  }
41
- listFiles(directoryPath) {
42
- return __awaiter(this, void 0, void 0, function* () {
43
- (0, Validate_1.default)({ directoryPath }).required().object(types_1.VIFilePath);
44
- const { files } = yield this.postMessage({
45
- type: this.getMessage('list_files'),
46
- directoryPath,
47
- });
48
- return files;
49
- });
50
- }
51
- exists(filePath) {
52
- return __awaiter(this, void 0, void 0, function* () {
53
- (0, Validate_1.default)({ filePath }).required().object(types_1.VIFilePath);
54
- const { exists } = yield this.postMessage({
55
- type: this.getMessage('exists'),
56
- filePath,
57
- });
58
- return exists;
59
- });
60
- }
61
- getFile(filePath) {
62
- return __awaiter(this, void 0, void 0, function* () {
63
- (0, Validate_1.default)({ filePath }).required().object(types_1.VIFilePath);
64
- const { file } = yield this.postMessage({
65
- type: this.getMessage('get_file'),
66
- filePath,
67
- });
68
- if (!file) {
69
- return null;
70
- }
71
- return Object.assign(Object.assign({}, file), filePath);
72
- });
73
- }
74
- writeFile(filePath, contents) {
75
- return __awaiter(this, void 0, void 0, function* () {
76
- (0, Validate_1.default)({ filePath }).required().object(types_1.VIFilePath);
77
- yield this.postMessage({
78
- type: this.getMessage('write_file'),
79
- filePath,
80
- contents,
81
- });
82
- });
83
- }
84
- appendFile(filePath, contents) {
85
- return __awaiter(this, void 0, void 0, function* () {
86
- (0, Validate_1.default)({ filePath }).required().object(types_1.VIFilePath);
87
- yield this.postMessage({
88
- type: this.getMessage('append_file'),
89
- filePath,
90
- contents,
91
- });
92
- });
93
- }
94
- readFile(filePath) {
95
- return __awaiter(this, void 0, void 0, function* () {
96
- (0, Validate_1.default)({ filePath }).required().object(types_1.VIFilePath);
97
- const { contents } = yield this.postMessage({
98
- type: this.getMessage('read_file'),
99
- filePath,
100
- });
101
- return contents;
102
- });
103
- }
104
- copyFile(sourceFilePath, destinationFilePath, options = {}) {
105
- return __awaiter(this, void 0, void 0, function* () {
106
- (0, Validate_1.default)({ sourceFilePath }).required().object(types_1.VIFilePath);
107
- (0, Validate_1.default)({ destinationFilePath }).required().object(types_1.VIFilePath);
108
- (0, Validate_1.default)({ options }).required().object(types_1.VICopyFileOptions);
109
- yield this.postMessage({
110
- type: this.getMessage('copy_file'),
111
- sourceFilePath,
112
- destinationFilePath,
113
- options,
114
- });
115
- });
116
- }
117
- moveFile(sourceFilePath, destinationFilePath, options = {}) {
118
- return __awaiter(this, void 0, void 0, function* () {
119
- (0, Validate_1.default)({ sourceFilePath }).required().object(types_1.VIFilePath);
120
- (0, Validate_1.default)({ destinationFilePath }).required().object(types_1.VIFilePath);
121
- (0, Validate_1.default)({ options }).required().object(types_1.VIMoveFileOptions);
122
- yield this.postMessage({
123
- type: this.getMessage('move_file'),
124
- sourceFilePath,
125
- destinationFilePath,
126
- options,
127
- });
128
- });
129
- }
130
- deleteFile(filePath, recursive) {
131
- return __awaiter(this, void 0, void 0, function* () {
132
- (0, Validate_1.default)({ filePath }).required().object(types_1.VIFilePath);
133
- (0, Validate_1.default)({ recursive }).required().boolean();
134
- yield this.postMessage({
135
- type: this.getMessage('delete_file'),
136
- filePath,
137
- recursive,
138
- });
139
- });
140
- }
141
- downloadFile(filePath, sourceUri, headers) {
142
- return __awaiter(this, void 0, void 0, function* () {
143
- (0, Validate_1.default)({ filePath }).required().object(types_1.VIFilePath);
144
- (0, Validate_1.default)({ sourceUri }).required().uri();
145
- (0, Validate_1.default)({ headers }).object();
146
- yield this.postMessage({
147
- type: this.getMessage('download_file'),
148
- filePath,
149
- sourceUri,
150
- headers,
151
- });
152
- });
153
- }
154
- extractFile(archiveFilePath, destinationDirectoryPath, method) {
155
- return __awaiter(this, void 0, void 0, function* () {
156
- (0, Validate_1.default)({ archiveFilePath }).required().object(types_1.VIFilePath);
157
- (0, Validate_1.default)({ destinationDirectoryPath }).object(types_1.VIFilePath);
158
- (0, Validate_1.default)({ method }).required().string();
159
- yield this.postMessage({
160
- type: this.getMessage('extract_file'),
161
- archiveFilePath,
162
- destinationDirectoryPath,
163
- method,
164
- });
165
- });
166
- }
167
- createArchive(archiveFilePath, archiveEntries) {
168
- return __awaiter(this, void 0, void 0, function* () {
169
- (0, Validate_1.default)({ archiveFilePath }).required().object(types_1.VIFilePath);
170
- (0, Validate_1.default)({ archiveEntries }).required().array('object');
171
- yield this.postMessage({
172
- type: this.getMessage('create_archive_file'),
173
- archiveFilePath,
174
- archiveEntries,
175
- });
176
- });
177
- }
178
- getFileChecksum(filePath, hashType) {
179
- return __awaiter(this, void 0, void 0, function* () {
180
- (0, Validate_1.default)({ filePath }).required().object(types_1.VIFilePath);
181
- (0, Validate_1.default)({ hashType }).required().string();
182
- const { checksum } = yield this.postMessage({
183
- type: this.getMessage('get_file_checksum'),
184
- filePath,
185
- hashType,
186
- });
187
- return checksum;
188
- });
189
- }
190
- createDirectory(directoryPath) {
191
- return __awaiter(this, void 0, void 0, function* () {
192
- (0, Validate_1.default)({ directoryPath }).required().object(types_1.VIFilePath);
193
- yield this.postMessage({
194
- type: this.getMessage('create_directory'),
195
- directoryPath,
196
- });
197
- });
198
- }
199
- isDirectory(filePath) {
200
- return __awaiter(this, void 0, void 0, function* () {
201
- (0, Validate_1.default)({ filePath }).required().object(types_1.VIFilePath);
202
- const { isDirectory } = yield this.postMessage({
203
- type: this.getMessage('is_directory'),
204
- filePath,
205
- });
206
- return isDirectory;
207
- });
208
- }
209
- link(sourceFilePath, destinationFilePath) {
210
- return __awaiter(this, void 0, void 0, function* () {
211
- (0, Validate_1.default)({ sourceFilePath }).required().object(types_1.VIFilePath);
212
- (0, Validate_1.default)({ destinationFilePath }).required().object(types_1.VIFilePath);
213
- yield this.postMessage({
214
- type: this.getMessage('link'),
215
- sourceFilePath,
216
- destinationFilePath,
217
- });
70
+ /**
71
+ * The `listFiles()` method lists all files and directories in the specified path (nested files are not included).
72
+ *
73
+ * @throws If the path does not exist or it is a file.
74
+ */
75
+ async listFiles(directoryPath) {
76
+ (0, Validate_1.default)({ directoryPath }).required().object(types_1.VIFilePath);
77
+ const { files } = await this.postMessage({
78
+ type: this.getMessage('list_files'),
79
+ directoryPath,
80
+ });
81
+ return files;
82
+ }
83
+ /**
84
+ * The `exists()` method checks whether a file or directory exists.
85
+ */
86
+ async exists(filePath) {
87
+ (0, Validate_1.default)({ filePath }).required().object(types_1.VIFilePath);
88
+ const { exists } = await this.postMessage({
89
+ type: this.getMessage('exists'),
90
+ filePath,
91
+ });
92
+ return exists;
93
+ }
94
+ /**
95
+ * The `getFile()` method returns runtime information about a file path, such as local url, last modified date or size.
96
+ */
97
+ async getFile(filePath) {
98
+ (0, Validate_1.default)({ filePath }).required().object(types_1.VIFilePath);
99
+ const { file } = await this.postMessage({
100
+ type: this.getMessage('get_file'),
101
+ filePath,
102
+ });
103
+ if (!file) {
104
+ return null;
105
+ }
106
+ return {
107
+ ...file,
108
+ ...filePath,
109
+ };
110
+ }
111
+ /**
112
+ * The `writeFile()` method writes string content to the file specified by `filePath`. If the file does exist, it is created. If the directory
113
+ * does not exist, an error is thrown.
114
+ *
115
+ * @throws If the parent directory does not exist or the `filePath` is a directory.
116
+ */
117
+ async writeFile(filePath, contents) {
118
+ (0, Validate_1.default)({ filePath }).required().object(types_1.VIFilePath);
119
+ await this.postMessage({
120
+ type: this.getMessage('write_file'),
121
+ filePath,
122
+ contents,
123
+ });
124
+ }
125
+ /**
126
+ * The `writeFile()` method appends string content to the file specified by `filePath`. If the file does exist, it is created. If the directory
127
+ * does not exist, an error is thrown.
128
+ *
129
+ * @throws If the parent directory does not exist or the `filePath` is a directory.
130
+ */
131
+ async appendFile(filePath, contents) {
132
+ (0, Validate_1.default)({ filePath }).required().object(types_1.VIFilePath);
133
+ await this.postMessage({
134
+ type: this.getMessage('append_file'),
135
+ filePath,
136
+ contents,
137
+ });
138
+ }
139
+ /**
140
+ * The `readFile()` method returns content of the file specified by `filePath`. The file has to be a text file, otherwise the content will be
141
+ * mangled.
142
+ *
143
+ * @throws If the file does not exist.
144
+ */
145
+ async readFile(filePath) {
146
+ (0, Validate_1.default)({ filePath }).required().object(types_1.VIFilePath);
147
+ const { contents } = await this.postMessage({
148
+ type: this.getMessage('read_file'),
149
+ filePath,
150
+ });
151
+ return contents;
152
+ }
153
+ /**
154
+ * The `copyFile()` method creates a copy of file at `sourceFilePath` to `destinationFilePath`.
155
+ *
156
+ * @param options.overwrite If not set or set to `false`, an error will be thrown if `destinationFilePath` already exists.
157
+ *
158
+ * @throws If the source file does not exists or parent of the destination file path does not exists. It also throws if the
159
+ * `options.overwrite` is not set and the destination file path already exists.
160
+ */
161
+ async copyFile(sourceFilePath, destinationFilePath, options = {}) {
162
+ (0, Validate_1.default)({ sourceFilePath }).required().object(types_1.VIFilePath);
163
+ (0, Validate_1.default)({ destinationFilePath }).required().object(types_1.VIFilePath);
164
+ (0, Validate_1.default)({ options }).required().object(types_1.VICopyFileOptions);
165
+ await this.postMessage({
166
+ type: this.getMessage('copy_file'),
167
+ sourceFilePath,
168
+ destinationFilePath,
169
+ options,
170
+ });
171
+ }
172
+ /**
173
+ * The `moveFile()` method moves a file from `sourceFilePath` to `destinationFilePath`.
174
+ *
175
+ * @throws If the source file does not exists or parent of the destination file path does not exists. It also throws if the
176
+ * `options.overwrite` is not set and the destination file path already exists.
177
+ */
178
+ async moveFile(sourceFilePath, destinationFilePath, options = {}) {
179
+ (0, Validate_1.default)({ sourceFilePath }).required().object(types_1.VIFilePath);
180
+ (0, Validate_1.default)({ destinationFilePath }).required().object(types_1.VIFilePath);
181
+ (0, Validate_1.default)({ options }).required().object(types_1.VIMoveFileOptions);
182
+ await this.postMessage({
183
+ type: this.getMessage('move_file'),
184
+ sourceFilePath,
185
+ destinationFilePath,
186
+ options,
187
+ });
188
+ }
189
+ /**
190
+ * The `deleteFile()` method deletes the file specified by `filePath`. To remove a directory set `recursive` to `true`.
191
+ *
192
+ * @throws If the file does not exists or if `recursive` is set to false and the file path is a directory.
193
+ */
194
+ async deleteFile(filePath, recursive) {
195
+ (0, Validate_1.default)({ filePath }).required().object(types_1.VIFilePath);
196
+ (0, Validate_1.default)({ recursive }).required().boolean();
197
+ await this.postMessage({
198
+ type: this.getMessage('delete_file'),
199
+ filePath,
200
+ recursive,
201
+ });
202
+ }
203
+ /**
204
+ * The `downloadFile()` method download a file from `sourceUri` and saves it to the specified path. If the file already exists it is
205
+ * overwritten. Optionally, headers for the download request may be specified. A HEAD request is always sent first to get `content-length`
206
+ * of the downloaded file.
207
+ *
208
+ * :::warning
209
+ * - For every download request, our app makes HEAD request for `content-length` header on that downloaded file.
210
+ * - Windows platform can download only files smaller then 4GB.
211
+ * :::
212
+ *
213
+ * #### Encoding
214
+ *
215
+ * All downloads respect a standard of `Encoding` with optional compression of files. See [Mozilla standard Accept Encoding](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Encoding) and [Content Encoding](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding).
216
+ *
217
+ * Download file method is always sending optional following headers:
218
+ * ```
219
+ * Accept-Encoding: gzip
220
+ * Accept-Encoding: compress
221
+ * Accept-Encoding: deflate
222
+ * Accept-Encoding: br
223
+ * Accept-Encoding: identity
224
+ * Accept-Encoding: *
225
+ * ```
226
+ *
227
+ * If the server understands the `Encoding` standard, it compresses files using `gzip` algorithm before the files are sent to the client. If so, the response will contain the following headers:
228
+ * ```
229
+ * Content-Encoding: gzip
230
+ * Content-Encoding: compress
231
+ * Content-Encoding: deflate
232
+ * Content-Encoding: br
233
+ * ```
234
+ * So the data communication is compressed under the hood. The client will automatically decompress data before it's saved to a specified location path. So from JS API point of view, there is no requirement to decompress data by itself.
235
+ *
236
+ * The standard is supported on all following platforms:
237
+ *
238
+ * - WebOS 3+
239
+ * - Tizen 2.4+
240
+ * - Brightsign
241
+ * - Raspberry Pi
242
+ * - Windows
243
+ *
244
+ * @throws If the network request fails, parent directory does not exist, or the file path is a directory.
245
+ */
246
+ async downloadFile(filePath, sourceUri, headers) {
247
+ (0, Validate_1.default)({ filePath }).required().object(types_1.VIFilePath);
248
+ (0, Validate_1.default)({ sourceUri }).required().uri();
249
+ (0, Validate_1.default)({ headers }).object();
250
+ await this.postMessage({
251
+ type: this.getMessage('download_file'),
252
+ filePath,
253
+ sourceUri,
254
+ headers,
255
+ });
256
+ }
257
+ /**
258
+ * The `decompressFile()` method decompresses the file at `archiveFilePath` into a new file specified by `destinationDirectoryPath`.
259
+ *
260
+ * @throws If the archive file path does not exist, it is not a valid archive file or the destination directory does not exist.
261
+ */
262
+ async extractFile(archiveFilePath, destinationDirectoryPath, method) {
263
+ (0, Validate_1.default)({ archiveFilePath }).required().object(types_1.VIFilePath);
264
+ (0, Validate_1.default)({ destinationDirectoryPath }).object(types_1.VIFilePath);
265
+ (0, Validate_1.default)({ method }).required().string();
266
+ await this.postMessage({
267
+ type: this.getMessage('extract_file'),
268
+ archiveFilePath,
269
+ destinationDirectoryPath,
270
+ method,
271
+ });
272
+ }
273
+ /**
274
+ * The `createArchive()` method creates an arch file at `archiveFilePath` from `archiveEntries` files.
275
+ *
276
+ * :::warning
277
+ *
278
+ * This function is available only on Tizen devices.
279
+ *
280
+ * :::
281
+ */
282
+ async createArchive(archiveFilePath, archiveEntries) {
283
+ (0, Validate_1.default)({ archiveFilePath }).required().object(types_1.VIFilePath);
284
+ (0, Validate_1.default)({ archiveEntries }).required().array('object');
285
+ await this.postMessage({
286
+ type: this.getMessage('create_archive_file'),
287
+ archiveFilePath,
288
+ archiveEntries,
289
+ });
290
+ }
291
+ /**
292
+ * The `getChecksumFile()` method computes a checksum of the file specified by `filePath`.
293
+ *
294
+ * @throws If the file does not exist or it is a directory.
295
+ */
296
+ async getFileChecksum(filePath, hashType) {
297
+ (0, Validate_1.default)({ filePath }).required().object(types_1.VIFilePath);
298
+ (0, Validate_1.default)({ hashType }).required().string();
299
+ const { checksum } = await this.postMessage({
300
+ type: this.getMessage('get_file_checksum'),
301
+ filePath,
302
+ hashType,
303
+ });
304
+ return checksum;
305
+ }
306
+ /**
307
+ * The `createDirectory()` method create a new directory at specified path.
308
+ *
309
+ * @throws If the directory already exists or its parent directory does not exist.
310
+ */
311
+ async createDirectory(directoryPath) {
312
+ (0, Validate_1.default)({ directoryPath }).required().object(types_1.VIFilePath);
313
+ await this.postMessage({
314
+ type: this.getMessage('create_directory'),
315
+ directoryPath,
316
+ });
317
+ }
318
+ /**
319
+ * The `isDirectory()` method checks whether the file path points to a directory.
320
+ *
321
+ * @throws If the file path does not exist.
322
+ */
323
+ async isDirectory(filePath) {
324
+ (0, Validate_1.default)({ filePath }).required().object(types_1.VIFilePath);
325
+ const { isDirectory } = await this.postMessage({
326
+ type: this.getMessage('is_directory'),
327
+ filePath,
328
+ });
329
+ return isDirectory;
330
+ }
331
+ /**
332
+ * The `link()` method creates a symbolic link to `sourceFilePath` (existing path) from `destinationFilePath` (new path).
333
+ */
334
+ async link(sourceFilePath, destinationFilePath) {
335
+ (0, Validate_1.default)({ sourceFilePath }).required().object(types_1.VIFilePath);
336
+ (0, Validate_1.default)({ destinationFilePath }).required().object(types_1.VIFilePath);
337
+ await this.postMessage({
338
+ type: this.getMessage('link'),
339
+ sourceFilePath,
340
+ destinationFilePath,
218
341
  });
219
342
  }
343
+ /** @internal */
220
344
  handleMessageData(data) {
221
345
  switch (data.type) {
222
346
  case this.getMessage('storage_units_changed'):
@@ -229,6 +353,5 @@ class FileSystem {
229
353
  return this.messagePrefix + '.' + FileSystem.MESSAGE_PREFIX + '.' + name;
230
354
  }
231
355
  }
232
- FileSystem.MESSAGE_PREFIX = 'file_system';
233
356
  exports.default = FileSystem;
234
357
  //# sourceMappingURL=FileSystem.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FileSystem.js","sourceRoot":"","sources":["../../../src/FrontApplet/FileSystem/FileSystem.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,mCAAsC;AAEtC,mCAUiB;AAEjB,mDAA4C;AAG5C,MAAM,2BAA2B,GAAG,uBAAuB,CAAC;AAE5D,MAAqB,UAAU;IAK9B,YACS,aAAqB,EACrB,WAA8B;QAD9B,kBAAa,GAAb,aAAa,CAAQ;QACrB,gBAAW,GAAX,WAAW,CAAmB;QAEtC,IAAI,CAAC,YAAY,GAAG,IAAI,qBAAY,EAAE,CAAC;IACxC,CAAC;IAEY,gBAAgB;;YAC5B,MAAM,EAAE,YAAY,EAAE,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC;gBAC/C,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC,oBAAoB,CAAC;aAC3C,CAAC,CAAC;YACH,OAAO,YAAY,CAAC;QACrB,CAAC;KAAA;IAEM,qBAAqB,CAAC,QAAoB;QAChD,IAAA,kBAAQ,EAAC,EAAE,QAAQ,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC;QAC7C,IAAI,CAAC,YAAY,CAAC,WAAW,CAAC,2BAA2B,EAAE,QAAQ,CAAC,CAAC;IACtE,CAAC;IAEM,iCAAiC,CAAC,QAAoB;QAC5D,IAAA,kBAAQ,EAAC,EAAE,QAAQ,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC;QAC7C,IAAI,CAAC,YAAY,CAAC,cAAc,CAAC,2BAA2B,EAAE,QAAQ,CAAC,CAAC;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,CAAC,CAAC,QAAQ,EAAE,CAAC,MAAM,CAAC,kBAAU,CAAC,CAAC;QAC3D,IAAA,kBAAQ,EAAC,EAAE,mBAAmB,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,MAAM,CAAC,kBAAU,CAAC,CAAC;QAChE,MAAM,IAAI,CAAC,WAAW,CAAC;YACtB,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC;YAC7B,cAAc;YACd,mBAAmB;SACnB,CAAC,CAAC;IACJ,CAAC;IAED,gBAAgB;IACT,iBAAiB,CAAC,IAAgC;QACxD,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;YACnB,KAAK,IAAI,CAAC,UAAU,CAAC,uBAAuB,CAAC;gBAC5C,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC;gBACpD,MAAM;YACP,QAAQ;QACT,CAAC;IACF,CAAC;IAEO,UAAU,CAAC,IAAY;QAC9B,OAAO,IAAI,CAAC,aAAa,GAAG,GAAG,GAAG,UAAU,CAAC,cAAc,GAAG,GAAG,GAAG,IAAI,CAAC;IAC1E,CAAC;;AApWF,6BAqWC"}
@@ -0,0 +1,2 @@
1
+ import { AnyString } from '../../utils/types';
2
+ export type HashAlgorithm = 'md5' | 'sha1' | 'sha256' | 'sha384' | 'sha512' | 'crc32' | AnyString;
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=streamListeners.js.map
3
+ //# sourceMappingURL=HashAlgorithm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HashAlgorithm.js","sourceRoot":"","sources":["../../../src/FrontApplet/FileSystem/HashAlgorithm.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"fontFaceGenerator.js","sourceRoot":"","sources":["../../../src/FrontApplet/Font/fontFaceGenerator.ts"],"names":[],"mappings":";;;AAEO,MAAM,eAAe,GAAG,CAAC,GAAW,E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