@webos-tools/cli 3.1.3 → 3.2.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.
- package/.vscode/c_cpp_properties.json +21 -0
- package/.vscode/launch.json +97 -0
- package/.vscode/settings.json +13 -0
- package/.vscode/tasks.json +32 -0
- package/CHANGELOG.md +34 -0
- package/README.md +226 -219
- package/bin/ares-config.js +210 -201
- package/bin/ares-device.js +222 -219
- package/bin/ares-launch.js +318 -318
- package/bin/ares-novacom.js +220 -220
- package/bin/ares-package.js +347 -336
- package/files/conf/ares.json +48 -48
- package/files/conf/command-service.json +78 -73
- package/files/conf/config.json +31 -31
- package/files/conf/novacom-devices.json +68 -51
- package/files/conf/sdk.json +8 -8
- package/files/conf/template.json +57 -57
- package/files/conf-base/env/sdk-signage.json +8 -0
- package/files/conf-base/key/pubkey-signage.pem +9 -0
- package/files/conf-base/profile/config-signage.json +29 -0
- package/files/conf-base/query/signage/query-app.json +14 -0
- package/files/conf-base/query/signage/query-service.json +6 -0
- package/files/conf-base/template-conf/signage-sdk-templates.json +239 -0
- package/files/help/ares-config.help +48 -48
- package/files/help/ares-generate.help +101 -91
- package/files/help/ares-inspect.help +77 -76
- package/files/help/ares-launch.help +111 -105
- package/files/help/ares-package.help +103 -101
- package/files/help/ares-setup-device.help +196 -156
- package/files/schema/NovacomDevices.schema +63 -62
- package/files/templates/signage-sdk-templates/Backlight_Scheduling/clockTable.js +29 -0
- package/files/templates/signage-sdk-templates/Backlight_Scheduling/index.html +53 -0
- package/files/templates/signage-sdk-templates/Backlight_Scheduling/js/idcap.js +21 -0
- package/files/templates/signage-sdk-templates/Backlight_Scheduling/remocon.js +214 -0
- package/files/templates/signage-sdk-templates/Backlight_Scheduling/scheduler.js +122 -0
- package/files/templates/signage-sdk-templates/Backlight_Scheduling/setanddelete.js +25 -0
- package/files/templates/signage-sdk-templates/Backlight_Scheduling/style.css +213 -0
- package/files/templates/signage-sdk-templates/Download_Progress/app.css +27 -0
- package/files/templates/signage-sdk-templates/Download_Progress/app.js +407 -0
- package/files/templates/signage-sdk-templates/Download_Progress/index.html +32 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova/2.7.0/cordova.webos.js +7038 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova/LICENSE +201 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.0/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.0/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.0/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.0/power.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.0/signage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.0/sound.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.0/storage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.0/video.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.1/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.1/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.1/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.1/power.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.1/signage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.1/sound.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.1/storage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.1/video.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.2/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.2/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.2/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.2/power.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.2/signage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.2/sound.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.2/storage.js +23 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.2/video.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.3/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.3/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.3/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.3/power.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.3/signage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.3/sound.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.3/storage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.3/video.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/configuration.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/deviceInfo.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/inputSource.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/power.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/security.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/signage.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/sound.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/storage.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/time.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/utility.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/video.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/configuration.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/deviceInfo.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/inputSource.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/power.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/security.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/signage.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/sound.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/storage.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/time.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/utility.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/video.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/configuration.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/deviceInfo.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/inputSource.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/power.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/security.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/signage.js +8 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/sound.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/storage.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/time.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/utility.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/video.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/configuration.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/deviceInfo.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/inputSource.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/power.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/security.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/signage.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/sound.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/storage.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/time.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/utility.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/video.js +9 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/power.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/security.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/signage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/sound.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/storage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/time.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/utility.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/video.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/power.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/security.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/signage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/sound.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/storage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/time.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/utility.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/video.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/power.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/security.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/signage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/sound.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/storage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/time.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/utility.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/video.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/power.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/security.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/signage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/sound.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/storage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/time.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/utility.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/video.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/power.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/security.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/signage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/sound.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/storage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/time.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/utility.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/video.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/power.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/security.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/signage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/sound.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/storage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/time.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/utility.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/video.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/power.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/security.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/signage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/sound.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/storage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/time.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/utility.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/video.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/power.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/security.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/signage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/sound.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/storage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/time.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/utility.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/video.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/power.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/security.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/signage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/sound.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/storage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/time.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/utility.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/video.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/power.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/security.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/signage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/sound.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/storage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/time.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/utility.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/video.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/power.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/security.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/signage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/sound.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/storage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/time.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/utility.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/video.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/power.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/security.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/signage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/sound.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/storage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/time.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/utility.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/video.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/power.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/security.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/signage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/sound.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/storage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/time.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/utility.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/video.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/power.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/security.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/signage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/sound.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/storage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/time.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/utility.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/video.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/power.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/security.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/signage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/sound.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/storage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/time.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/utility.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/video.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/power.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/security.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/signage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/sound.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/storage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/time.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/utility.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/video.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/power.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/security.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/signage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/sound.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/storage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/time.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/utility.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/video.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/led.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/power.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/security.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/signage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/sound.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/storage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/time.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/utility.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/video.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/led.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/power.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/security.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/signage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/sound.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/storage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/time.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/utility.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/video.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/iot.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/power.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/security.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/signage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/sound.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/storage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/time.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/utility.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/video.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/iot.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/power.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/security.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/signage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/sound.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/storage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/time.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/utility.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/video.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/iot.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/led.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/power.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/security.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/signage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/sound.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/storage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/time.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/utility.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/video.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/iot.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/led.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/power.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/security.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/signage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/sound.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/storage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/time.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/utility.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/video.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/iot.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/power.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/security.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/signage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/sound.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/storage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/time.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/utility.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/video.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/iot.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/power.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/security.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/signage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/sound.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/storage.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/time.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/utility.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/video.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/custom/custom1.2.js +14 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/custom/custom1.3.1.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/custom/custom1.3.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/custom/custom1.4.js +14 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/harmony/README.txt +40 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/harmony/gpio.js +16 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/harmony/gps.js +16 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/harmony/humidity.js +16 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/harmony/light.js +16 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/harmony/nfc.js +16 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/harmony/rfid.js +16 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/harmony/temperature.js +16 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/harmony/thermalPrinter.js +16 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/idcap.js +21 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/webOS/LICENSE-2.0.txt +202 -0
- package/files/templates/signage-sdk-templates/Download_Progress/js/webOS/webOS.js +1 -0
- package/files/templates/signage-sdk-templates/Download_Progress/res/webossignage_logo.png +0 -0
- package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/css/styles.css +270 -0
- package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/data/data.json +12 -0
- package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/fonts/MuseoSans300.otf +0 -0
- package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/fonts/MuseoSans700Italic.otf +0 -0
- package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/index.html +43 -0
- package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/js/controller.js +263 -0
- package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/js/helpers/util.js +130 -0
- package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/readme.txt +26 -0
- package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/res/images/tpl_01_img_sign.png +0 -0
- package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/res/images/tpl_01_logo_nike.png +0 -0
- package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/res/videos/tpl_01_video.mp4 +0 -0
- package/files/templates/signage-sdk-templates/File_Explorer/README.txt +16 -0
- package/files/templates/signage-sdk-templates/File_Explorer/index.html +12 -0
- package/files/templates/signage-sdk-templates/File_Explorer/js/Root.js +39 -0
- package/files/templates/signage-sdk-templates/File_Explorer/js/definition.js +59 -0
- package/files/templates/signage-sdk-templates/File_Explorer/js/explorer.js +367 -0
- package/files/templates/signage-sdk-templates/File_Explorer/js/explorerController.js +462 -0
- package/files/templates/signage-sdk-templates/File_Explorer/js/idcap.js +21 -0
- package/files/templates/signage-sdk-templates/File_Explorer/js/mainController.js +261 -0
- package/files/templates/signage-sdk-templates/File_Explorer/style.css +233 -0
- package/files/templates/signage-sdk-templates/Flight_Schedule/appinfo.json +11 -0
- package/files/templates/signage-sdk-templates/Flight_Schedule/css/styles.css +168 -0
- package/files/templates/signage-sdk-templates/Flight_Schedule/data/data.json +5 -0
- package/files/templates/signage-sdk-templates/Flight_Schedule/fonts/MuseoSans300.otf +0 -0
- package/files/templates/signage-sdk-templates/Flight_Schedule/fonts/MuseoSans500.otf +0 -0
- package/files/templates/signage-sdk-templates/Flight_Schedule/fonts/MuseoSans700.otf +0 -0
- package/files/templates/signage-sdk-templates/Flight_Schedule/images/AAir.png +0 -0
- package/files/templates/signage-sdk-templates/Flight_Schedule/images/BAirline.png +0 -0
- package/files/templates/signage-sdk-templates/Flight_Schedule/images/CAirline.png +0 -0
- package/files/templates/signage-sdk-templates/Flight_Schedule/images/DAir.png +0 -0
- package/files/templates/signage-sdk-templates/Flight_Schedule/images/EAirline.png +0 -0
- package/files/templates/signage-sdk-templates/Flight_Schedule/images/tpl_05_img_flight.png +0 -0
- package/files/templates/signage-sdk-templates/Flight_Schedule/index.html +32 -0
- package/files/templates/signage-sdk-templates/Flight_Schedule/js/controller.js +235 -0
- package/files/templates/signage-sdk-templates/Flight_Schedule/js/helpers/util.js +183 -0
- package/files/templates/signage-sdk-templates/Flight_Schedule/readme.txt +29 -0
- package/files/templates/signage-sdk-templates/Flight_Schedule/server/example.json +4 -0
- package/files/templates/signage-sdk-templates/Flight_Schedule/server/package.json +9 -0
- package/files/templates/signage-sdk-templates/Flight_Schedule/server/readme.txt +30 -0
- package/files/templates/signage-sdk-templates/Flight_Schedule/server/routes/flights.js +493 -0
- package/files/templates/signage-sdk-templates/Flight_Schedule/server/server.js +43 -0
- package/files/templates/signage-sdk-templates/Information_Board/css/styles.css +239 -0
- package/files/templates/signage-sdk-templates/Information_Board/data/data.json +49 -0
- package/files/templates/signage-sdk-templates/Information_Board/fonts/Museo Sans 300.otf +0 -0
- package/files/templates/signage-sdk-templates/Information_Board/fonts/Museo Sans 500.otf +0 -0
- package/files/templates/signage-sdk-templates/Information_Board/fonts/Museo Sans 700.otf +0 -0
- package/files/templates/signage-sdk-templates/Information_Board/index.html +101 -0
- package/files/templates/signage-sdk-templates/Information_Board/js/controller.js +111 -0
- package/files/templates/signage-sdk-templates/Information_Board/js/helpers/util.js +130 -0
- package/files/templates/signage-sdk-templates/Information_Board/readme.txt +22 -0
- package/files/templates/signage-sdk-templates/Information_Board/res/images/tpl_06_img_main_01.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Board/res/images/tpl_06_img_news.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Board/res/images/tpl_06_logo_harvard.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/css/styles.css +387 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/data/data.json +185 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/fonts/Museo Sans 300 Italic.otf +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/fonts/Museo Sans 300.otf +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/fonts/Museo Sans 500 Italic.otf +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/fonts/Museo Sans 500.otf +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/fonts/Museo Sans 700 Italic.otf +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/fonts/Museo Sans 700.otf +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/index.html +320 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/js/controller.js +373 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/js/helpers/util.js +130 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/readme.txt +26 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_btn_arrow_l_n.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_btn_arrow_l_p.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_btn_arrow_r_n.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_btn_arrow_r_p.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_btn_close_n.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_btn_close_p.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_btn_rotation_n.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_btn_rotation_p.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_bg_01.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_01.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_02.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_03.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_04.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_05.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_06.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_07.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_08.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_09.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_10.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_11.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_12.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_3_01.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_3_02.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_3_03.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_3_04.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_3_05.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_3_06.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_01.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_02.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_03.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_04.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_05.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_06.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_07.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_08.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_09.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_10.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_11.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_12.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_style_01.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_style_02.png +0 -0
- package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_logo.png +0 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/index.html +40 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova/2.7.0/cordova.webos.js +7038 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova/LICENSE +201 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.2/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.2/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.2/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.2/power.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.2/signage.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.2/sound.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.2/storage.js +23 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.2/video.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.3/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.3/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.3/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.3/power.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.3/signage.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.3/sound.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.3/storage.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.3/video.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/power.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/security.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/signage.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/sound.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/storage.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/time.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/utility.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/video.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/power.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/security.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/signage.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/sound.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/storage.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/time.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/utility.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/video.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/led.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/power.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/security.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/signage.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/sound.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/storage.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/time.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/utility.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/video.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/iot.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/led.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/power.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/security.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/signage.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/sound.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/storage.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/time.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/utility.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/video.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/iot.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/power.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/security.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/signage.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/sound.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/storage.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/time.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/utility.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/video.js +1 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/custom1.4.js +14 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/idcap.js +21 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/initializer.js +234 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/remocon.js +73 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/scheduler.js +84 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/videoPlayer.js +352 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/remocon.png +0 -0
- package/files/templates/signage-sdk-templates/Local_Content_Scheduling/style.css +99 -0
- package/files/templates/signage-sdk-templates/Mart/css/styles.css +248 -0
- package/files/templates/signage-sdk-templates/Mart/data/data.json +37 -0
- package/files/templates/signage-sdk-templates/Mart/fonts/Museo Sans 300 Italic.otf +0 -0
- package/files/templates/signage-sdk-templates/Mart/fonts/Museo Sans 300.otf +0 -0
- package/files/templates/signage-sdk-templates/Mart/fonts/Museo Sans 500.otf +0 -0
- package/files/templates/signage-sdk-templates/Mart/fonts/Museo Sans 700.otf +0 -0
- package/files/templates/signage-sdk-templates/Mart/index.html +81 -0
- package/files/templates/signage-sdk-templates/Mart/js/controller.js +102 -0
- package/files/templates/signage-sdk-templates/Mart/js/helpers/util.js +130 -0
- package/files/templates/signage-sdk-templates/Mart/readme.txt +26 -0
- package/files/templates/signage-sdk-templates/Mart/res/images/tpl_09_img.png +0 -0
- package/files/templates/signage-sdk-templates/Mart/res/images/tpl_09_img_bg.png +0 -0
- package/files/templates/signage-sdk-templates/Mart/res/images/tpl_09_img_brand.png +0 -0
- package/files/templates/signage-sdk-templates/Mart/res/images/tpl_09_img_list_01.png +0 -0
- package/files/templates/signage-sdk-templates/Mart/res/images/tpl_09_img_list_02.png +0 -0
- package/files/templates/signage-sdk-templates/Mart/res/images/tpl_09_img_list_03.png +0 -0
- package/files/templates/signage-sdk-templates/Mart/res/images/tpl_09_img_list_04.png +0 -0
- package/files/templates/signage-sdk-templates/Mart/res/images/tpl_09_img_tag.png +0 -0
- package/files/templates/signage-sdk-templates/Mart/res/images/tpl_09_logo.png +0 -0
- package/files/templates/signage-sdk-templates/Multimedia_Advertisement/css/styles.css +40 -0
- package/files/templates/signage-sdk-templates/Multimedia_Advertisement/data/data.json +6 -0
- package/files/templates/signage-sdk-templates/Multimedia_Advertisement/index.html +28 -0
- package/files/templates/signage-sdk-templates/Multimedia_Advertisement/js/controller.js +427 -0
- package/files/templates/signage-sdk-templates/Multimedia_Advertisement/js/helpers/util.js +134 -0
- package/files/templates/signage-sdk-templates/Multimedia_Advertisement/readme.txt +26 -0
- package/files/templates/signage-sdk-templates/Multimedia_Advertisement/res/images/tpl_02_img_poster.jpg +0 -0
- package/files/templates/signage-sdk-templates/Multimedia_Advertisement/res/videos/tpl_02_video_01.mp4 +0 -0
- package/files/templates/signage-sdk-templates/Multimedia_Advertisement/res/videos/tpl_02_video_02.mp4 +0 -0
- package/files/templates/signage-sdk-templates/Price_Board_for_QSR/css/styles.css +163 -0
- package/files/templates/signage-sdk-templates/Price_Board_for_QSR/data/data.json +92 -0
- package/files/templates/signage-sdk-templates/Price_Board_for_QSR/fonts/MuseoSans300.otf +0 -0
- package/files/templates/signage-sdk-templates/Price_Board_for_QSR/fonts/MuseoSans500.otf +0 -0
- package/files/templates/signage-sdk-templates/Price_Board_for_QSR/fonts/MuseoSans700.otf +0 -0
- package/files/templates/signage-sdk-templates/Price_Board_for_QSR/fonts/MuseoSans700Italic.otf +0 -0
- package/files/templates/signage-sdk-templates/Price_Board_for_QSR/index.html +197 -0
- package/files/templates/signage-sdk-templates/Price_Board_for_QSR/js/controller.js +158 -0
- package/files/templates/signage-sdk-templates/Price_Board_for_QSR/js/helpers/util.js +130 -0
- package/files/templates/signage-sdk-templates/Price_Board_for_QSR/readme.txt +26 -0
- package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_bg_top.png +0 -0
- package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_img_menu_01.png +0 -0
- package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_img_menu_02.png +0 -0
- package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_img_menu_03.png +0 -0
- package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_img_menu_04.png +0 -0
- package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_img_menu_05.png +0 -0
- package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_img_menu_06.png +0 -0
- package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_img_menu_07.png +0 -0
- package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_img_menu_08.png +0 -0
- package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_img_menu_09.png +0 -0
- package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_logo.png +0 -0
- package/files/templates/signage-sdk-templates/Simple_Network_FailOver/index.html +29 -0
- package/files/templates/signage-sdk-templates/Simple_Network_FailOver/js/idcap.js +21 -0
- package/files/templates/signage-sdk-templates/Simple_Network_FailOver/networkMonitor.js +136 -0
- package/files/templates/signage-sdk-templates/Simple_Network_FailOver/style.css +142 -0
- package/files/templates/signage-sdk-templates/Special_Menu_Board/css/styles.css +281 -0
- package/files/templates/signage-sdk-templates/Special_Menu_Board/data/data.json +33 -0
- package/files/templates/signage-sdk-templates/Special_Menu_Board/fonts/Museo Sans 300 Italic.otf +0 -0
- package/files/templates/signage-sdk-templates/Special_Menu_Board/fonts/Museo Sans 300.otf +0 -0
- package/files/templates/signage-sdk-templates/Special_Menu_Board/fonts/Museo Sans 500 Italic.otf +0 -0
- package/files/templates/signage-sdk-templates/Special_Menu_Board/fonts/Museo Sans 500.otf +0 -0
- package/files/templates/signage-sdk-templates/Special_Menu_Board/fonts/Museo Sans 700 Italic.otf +0 -0
- package/files/templates/signage-sdk-templates/Special_Menu_Board/fonts/Museo Sans 700.otf +0 -0
- package/files/templates/signage-sdk-templates/Special_Menu_Board/index.html +110 -0
- package/files/templates/signage-sdk-templates/Special_Menu_Board/js/controller.js +171 -0
- package/files/templates/signage-sdk-templates/Special_Menu_Board/js/helpers/util.js +130 -0
- package/files/templates/signage-sdk-templates/Special_Menu_Board/readme.txt +26 -0
- package/files/templates/signage-sdk-templates/Special_Menu_Board/res/images/tpl_03_img_bg.png +0 -0
- package/files/templates/signage-sdk-templates/Special_Menu_Board/res/images/tpl_03_img_coffe_01.png +0 -0
- package/files/templates/signage-sdk-templates/Special_Menu_Board/res/images/tpl_03_img_coffe_01_l.png +0 -0
- package/files/templates/signage-sdk-templates/Special_Menu_Board/res/images/tpl_03_img_coffe_02.png +0 -0
- package/files/templates/signage-sdk-templates/Special_Menu_Board/res/images/tpl_03_img_coffe_03.png +0 -0
- package/files/templates/signage-sdk-templates/Special_Menu_Board/res/images/tpl_03_img_coffe_04.png +0 -0
- package/files/templates/signage-sdk-templates/Special_Menu_Board/res/images/tpl_03_img_coffe_05.png +0 -0
- package/files/templates/signage-sdk-templates/Special_Menu_Board/res/images/tpl_03_logo_01.png +0 -0
- package/files/templates/signage-sdk-templates/Special_Menu_Board/res/images/tpl_03_logo_02.png +0 -0
- package/files/templates/signage-sdk-templates/Wayfinder/css/styles.css +634 -0
- package/files/templates/signage-sdk-templates/Wayfinder/data/data.json +339 -0
- package/files/templates/signage-sdk-templates/Wayfinder/fonts/MuseoSans300.otf +0 -0
- package/files/templates/signage-sdk-templates/Wayfinder/fonts/MuseoSans500.otf +0 -0
- package/files/templates/signage-sdk-templates/Wayfinder/fonts/MuseoSans700.otf +0 -0
- package/files/templates/signage-sdk-templates/Wayfinder/fonts/MuseoSans700Italic.otf +0 -0
- package/files/templates/signage-sdk-templates/Wayfinder/index.html +171 -0
- package/files/templates/signage-sdk-templates/Wayfinder/js/controller.js +447 -0
- package/files/templates/signage-sdk-templates/Wayfinder/js/helpers/util.js +175 -0
- package/files/templates/signage-sdk-templates/Wayfinder/readme.txt +26 -0
- package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_btn_back_n.png +0 -0
- package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_icon_dot_n.png +0 -0
- package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_icon_dot_s.png +0 -0
- package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_01.png +0 -0
- package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_02.png +0 -0
- package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_03.png +0 -0
- package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_all_01_d.png +0 -0
- package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_all_01_n.png +0 -0
- package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_all_02_d.png +0 -0
- package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_all_02_n.png +0 -0
- package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_all_03_d.png +0 -0
- package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_all_03_n.png +0 -0
- package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_all_shadow.png +0 -0
- package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_home_01_n.png +0 -0
- package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_home_02_n.png +0 -0
- package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_home_03_n.png +0 -0
- package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_point.png +0 -0
- package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_point_shadow.png +0 -0
- package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_list_icon_elevator.png +0 -0
- package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_list_icon_escalator.png +0 -0
- package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_list_icon_exit.png +0 -0
- package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_list_icon_info.png +0 -0
- package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_list_icon_parking.png +0 -0
- package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_list_icon_toilet.png +0 -0
- package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_logo_lg.png +0 -0
- package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_logo_shoppingmall_name.png +0 -0
- package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_logo_store.png +0 -0
- package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_popup_bg.png +0 -0
- package/files/templates/signage-sdk-templates/Weather-dependent_Ad/css/styles.css +136 -0
- package/files/templates/signage-sdk-templates/Weather-dependent_Ad/data/data.json +33 -0
- package/files/templates/signage-sdk-templates/Weather-dependent_Ad/fonts/Museo Sans 300.otf +0 -0
- package/files/templates/signage-sdk-templates/Weather-dependent_Ad/fonts/Museo Sans 500.otf +0 -0
- package/files/templates/signage-sdk-templates/Weather-dependent_Ad/fonts/Museo Sans 700.otf +0 -0
- package/files/templates/signage-sdk-templates/Weather-dependent_Ad/index.html +51 -0
- package/files/templates/signage-sdk-templates/Weather-dependent_Ad/js/controller.js +265 -0
- package/files/templates/signage-sdk-templates/Weather-dependent_Ad/js/helpers/util.js +130 -0
- package/files/templates/signage-sdk-templates/Weather-dependent_Ad/readme.txt +26 -0
- package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/ajax.gif +0 -0
- package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_icon_cloudy.png +0 -0
- package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_icon_partlycloudy.png +0 -0
- package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_icon_rainy.png +0 -0
- package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_icon_snowy.png +0 -0
- package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_icon_sunny.png +0 -0
- package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_icon_thunder.png +0 -0
- package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_icon_windy.png +0 -0
- package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_img_01.png +0 -0
- package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_img_02.png +0 -0
- package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_img_03.png +0 -0
- package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_img_04.png +0 -0
- package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_img_05.png +0 -0
- package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_img_06.png +0 -0
- package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_img_07.png +0 -0
- package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_logo.png +0 -0
- package/files/templates/signage-sdk-templates/Widget_Overlay/css/styles.css +312 -0
- package/files/templates/signage-sdk-templates/Widget_Overlay/data/data.json +16 -0
- package/files/templates/signage-sdk-templates/Widget_Overlay/data/newsWidget.json +21 -0
- package/files/templates/signage-sdk-templates/Widget_Overlay/data/shareWidget.json +112 -0
- package/files/templates/signage-sdk-templates/Widget_Overlay/data/weatherWidget.json +45 -0
- package/files/templates/signage-sdk-templates/Widget_Overlay/fonts/MuseoSans300.otf +0 -0
- package/files/templates/signage-sdk-templates/Widget_Overlay/fonts/MuseoSans500.otf +0 -0
- package/files/templates/signage-sdk-templates/Widget_Overlay/fonts/MuseoSans700.otf +0 -0
- package/files/templates/signage-sdk-templates/Widget_Overlay/index.html +62 -0
- package/files/templates/signage-sdk-templates/Widget_Overlay/js/controller.js +390 -0
- package/files/templates/signage-sdk-templates/Widget_Overlay/js/helpers/util.js +162 -0
- package/files/templates/signage-sdk-templates/Widget_Overlay/readme.txt +26 -0
- package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/Namo.jpg +0 -0
- package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/NotAvailable.png +0 -0
- package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/clear.png +0 -0
- package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/clouds.png +0 -0
- package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/default.png +0 -0
- package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/koreanFt.jpg +0 -0
- package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/mist.png +0 -0
- package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/rain.png +0 -0
- package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/snow.png +0 -0
- package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/thunder.png +0 -0
- package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/tpl_07_icon_down_01.png +0 -0
- package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/tpl_07_icon_down_02.png +0 -0
- package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/tpl_07_icon_up_01.png +0 -0
- package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/tpl_07_icon_up_02.png +0 -0
- package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/tpl_07_img_news.png +0 -0
- package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/tpl_07_img_news1.png +0 -0
- package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/tpl_07_video_dim.png +0 -0
- package/files/templates/signage-sdk-templates/Widget_Overlay/res/videos/tpl_07_video.mp4 +0 -0
- package/files/templates/signage-sdk-templates/appinfo/appinfo.json +11 -0
- package/files/templates/signage-sdk-templates/idcap_api/1.1.0/js/idcap.js +21 -0
- package/files/templates/signage-sdk-templates/idcap_api/1.1.0/js/release_notes.txt +25 -0
- package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova/2.7.0/cordova.webos.js +7025 -0
- package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova/LICENSE +7025 -0
- package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova-cd/1.3/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova-cd/1.3/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova-cd/1.3/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova-cd/1.3/power.js +1 -0
- package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova-cd/1.3/signage.js +1 -0
- package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova-cd/1.3/sound.js +1 -0
- package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova-cd/1.3/storage.js +1 -0
- package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova-cd/1.3/video.js +1 -0
- package/files/templates/signage-sdk-templates/scap_api/1.3/js/release_notes.txt +109 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova/2.7.0/cordova.webos.js +7038 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova/LICENSE +201 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/power.js +1 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/security.js +1 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/signage.js +1 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/sound.js +1 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/storage.js +1 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/time.js +1 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/utility.js +1 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/video.js +1 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/all.css +358 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/fonts/mplus-1m-bold-webfont.eot +0 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/fonts/mplus-1m-bold-webfont.svg +134 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/fonts/mplus-1m-bold-webfont.ttf +0 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/fonts/mplus-1m-bold-webfont.woff +0 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/fonts/mplus-1m-regular-webfont.eot +0 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/fonts/mplus-1m-regular-webfont.svg +134 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/fonts/mplus-1m-regular-webfont.ttf +0 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/fonts/mplus-1m-regular-webfont.woff +0 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/handheld.css +217 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/screen.css +405 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/files.html +577 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/index.html +1203 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/intro.html +100 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/all.js +326 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/dessert.css +34 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-apollo.js +51 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-clj.js +64 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-css.js +78 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-go.js +58 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-hs.js +101 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-lisp.js +93 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-lua.js +59 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-ml.js +56 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-n.js +62 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-proto.js +35 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-scala.js +54 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-sql.js +57 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-tex.js +46 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-vb.js +61 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-vhdl.js +34 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-wiki.js +53 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-xq.js +67 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-yaml.js +27 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/prettify.css +52 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/prettify.js +1477 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/html5.js +6 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#clearCache.html +550 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getCurrentTime.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getLocaleList.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getOSDLanguage.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getOSDLock.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getPictureMode.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getPictureProperty.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getProperty.html +561 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getServerProperty.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getTimeZone.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getTimeZoneList.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getUSBLock.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getVirtualKeyboardLanguage.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#restartApplication.html +550 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setCurrentTime.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setOSDLanguage.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setOSDLock.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setPictureMode.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setPictureProperty.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setProperty.html +561 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setServerProperty.html +610 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setTimeZone.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setUSBLock.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setVirtualKeyboardLanguage.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration.AppMode.html +685 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration.AppType.html +640 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration.PictureMode.html +910 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#connectWifi.html +561 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getBeaconInfo.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getEddystoneInfo.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getNetworkInfo.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getNetworkMacInfo.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getPlatformInfo.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getProxyInfo.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getSoftApInfo.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getSystemUsageInfo.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getWifiList.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getiBeaconInfo.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#setBeaconInfo.html +561 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#setEddystoneInfo.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#setNetworkInfo.html +561 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#setProxyInfo.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#setSoftApInfo.html +561 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#setiBeaconInfo.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#startWps.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#stopWps.html +555 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo.EddystoneFrame.html +640 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Error.ERROR_CODE.html +820 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Error.html +460 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/InputSource#changeInputSource.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/InputSource#getInputSourceStatus.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/InputSource#initialize.html +561 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#addOffTimer.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#addOnTimer.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#deleteOffTimer.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#deleteOnTimer.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#enableAllOffTimer.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#enableAllOnTimer.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#enableWakeOnLan.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#executePowerCommand.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#getDPMWakeup.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#getOffTimerList.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#getOnTimerList.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#getPMMode.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#getPowerOnDelay.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#getPowerStatus.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#setDPMWakeup.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#setDisplayMode.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#setPMMode.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#setPowerOnDelay.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power.DPMSignalType.html +640 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power.DisplayMode.html +640 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power.PMMode.html +775 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power.PowerCommand.html +640 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power.TimerWeek.html +910 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Security#existServerCertificate.html +561 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Security#registerServerCertificate.html +561 -2
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Security#unregisterServerCertificate.html +561 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#captureScreen.html +561 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#enableCheckScreen.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getFailoverMode.html +555 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getIntelligentAuto.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getLanDaisyChain.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getPowerSaveMode.html +555 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getSignageInfo.html +555 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getStudioMode.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getSystemMonitoringInfo.html +555 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getTileInfo.html +555 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getUsageData.html +555 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getUsagePermission.html +555 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#registerSystemMonitor.html +573 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setDigitalAudioInputMode.html +567 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setFailoverMode.html +567 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setIntelligentAuto.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setIsmMethod.html +567 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setLanDaisyChain.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setPortraitMode.html +567 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setPowerSaveMode.html +567 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setStudioMode.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setTileInfo.html +567 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setUsagePermission.html +567 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#unregisterSystemMonitor.html +555 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.AutomaticStandbyMode.html +640 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.DigitalAudioInput.html +640 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.DpmMode.html +910 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.EventType.html +775 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.FailoverMode.html +685 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.ImgResolution.html +640 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.IsmMethod.html +910 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.KeyOperationMode.html +685 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.MonitoringSource.html +775 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.OsdPortraitMode.html +640 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound#getSoundMode.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound#getSoundOut.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound#getSoundStatus.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound#setExternalSpeaker.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound#setMuted.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound#setSoundMode.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound#setSoundOut.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound#setVolumeLevel.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound.SoundMode.html +820 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound.SpeakerType.html +640 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#changeLogoImage.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#copyFile.html +561 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#downloadFirmware.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#exists.html +561 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#fsync.html +561 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#getFirmwareUpgradeStatus.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#getStorageInfo.html +555 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#listFiles.html +561 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#mkdir.html +561 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#moveFile.html +561 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#readFile.html +563 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#removeAll.html +561 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#removeApplication.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#removeFile.html +561 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#statFile.html +561 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#unzipFile.html +561 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#upgradeApplication.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#upgradeFirmware.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#writeFile.html +561 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage.AppMode.html +640 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage.AppType.html +640 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage.SCAP_URI.html +512 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Time#addHolidaySchedule.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Time#delAllHolidaySchedules.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Time#delHolidaySchedule.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Time#getAllHolidaySchedules.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Time#getHolidayScheduleMode.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Time#setHolidayScheduleMode.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Utility#createToast.html +561 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Video#getContentRotation.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Video#getVideoStatus.html +560 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Video#setContentRotation.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Video#setRotatedVideoTransform.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Video#setVideoSize.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Video#setVideoViewTransform.html +566 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/_global_.html +453 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/image/media_status.jpg +0 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/image/setVideoSize.png +0 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_configuration.js.html +2651 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_deviceInfo.js.html +1860 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_inputSource.js.html +1382 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_power.js.html +2697 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_security.js.html +357 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_signage.js.html +3601 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_sound.js.html +1123 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_storage.js.html +2615 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_time.js.html +720 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_utility.js.html +196 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_video.js.html +1090 -0
- package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/release_notes.txt +148 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova/2.7.0/cordova.webos.js +7038 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova/LICENSE +201 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/configuration.js +1 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/deviceInfo.js +1 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/inputSource.js +1 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/power.js +1 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/security.js +1 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/signage.js +1 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/sound.js +1 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/storage.js +1 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/time.js +1 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/utility.js +1 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/video.js +1 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/all.css +358 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/fonts/mplus-1m-bold-webfont.eot +0 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/fonts/mplus-1m-bold-webfont.svg +134 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/fonts/mplus-1m-bold-webfont.ttf +0 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/fonts/mplus-1m-bold-webfont.woff +0 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/fonts/mplus-1m-regular-webfont.eot +0 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/fonts/mplus-1m-regular-webfont.svg +134 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/fonts/mplus-1m-regular-webfont.ttf +0 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/fonts/mplus-1m-regular-webfont.woff +0 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/handheld.css +217 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/screen.css +405 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/files.html +599 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/index.html +1280 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/intro.html +100 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/all.js +326 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/dessert.css +34 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-apollo.js +51 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-clj.js +64 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-css.js +78 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-go.js +58 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-hs.js +101 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-lisp.js +93 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-lua.js +59 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-ml.js +56 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-n.js +62 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-proto.js +35 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-scala.js +54 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-sql.js +57 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-tex.js +46 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-vb.js +61 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-vhdl.js +34 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-wiki.js +53 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-xq.js +67 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-yaml.js +27 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/prettify.css +52 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/prettify.js +1477 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/html5.js +6 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#clearCache.html +572 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getCurrentTime.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getLocaleList.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getOSDLanguage.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getOSDLock.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getPictureMode.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getPictureProperty.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getProperty.html +583 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getServerProperty.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getTimeZone.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getTimeZoneList.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getUSBLock.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getVirtualKeyboardLanguage.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#restartApplication.html +572 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setCurrentTime.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setOSDLanguage.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setOSDLock.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setPictureMode.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setPictureProperty.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setProperty.html +583 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setServerProperty.html +632 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setTimeZone.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setUSBLock.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setVirtualKeyboardLanguage.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration.AppMode.html +707 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration.AppType.html +662 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration.PictureMode.html +932 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#connectWifi.html +583 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getBeaconInfo.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getEddystoneInfo.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getExternalInputList.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getNetworkInfo.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getNetworkMacInfo.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getPlatformInfo.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getProxyInfo.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getSoftApInfo.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getSystemUsageInfo.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getWifiList.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getiBeaconInfo.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#setBeaconInfo.html +583 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#setEddystoneInfo.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#setNetworkInfo.html +583 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#setProxyInfo.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#setSoftApInfo.html +583 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#setiBeaconInfo.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#startWps.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#stopWps.html +577 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo.EddystoneFrame.html +662 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Error.ERROR_CODE.html +842 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Error.html +482 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/InputSource#changeInputSource.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/InputSource#getInputSourceStatus.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/InputSource#initialize.html +583 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#addOffTimer.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#addOnTimer.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#deleteOffTimer.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#deleteOnTimer.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#enableAllOffTimer.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#enableAllOnTimer.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#enableWakeOnLan.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#executePowerCommand.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#getDPMWakeup.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#getOffTimerList.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#getOnOffTimeSchedule.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#getOnTimerList.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#getPMMode.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#getPowerOnDelay.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#getPowerStatus.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#setDPMWakeup.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#setDisplayMode.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#setOnOffTimeSchedule.html +583 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#setPMMode.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#setPowerOnDelay.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#unsetOnOffTimeSchedule.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power.DPMSignalType.html +662 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power.DisplayMode.html +662 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power.PMMode.html +797 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power.PowerCommand.html +662 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power.TimerWeek.html +932 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Security#existServerCertificate.html +583 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Security#registerServerCertificate.html +583 -2
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Security#unregisterServerCertificate.html +583 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#captureScreen.html +583 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#enableCheckScreen.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getFailoverMode.html +577 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getIntelligentAuto.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getLanDaisyChain.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getPowerSaveMode.html +577 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getSignageInfo.html +577 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getStudioMode.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getSystemMonitoringInfo.html +577 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getTileInfo.html +577 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getUsageData.html +577 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getUsagePermission.html +577 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#registerRS232CEventListener.html +594 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#registerSystemMonitor.html +595 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setDigitalAudioInputMode.html +589 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setFailoverMode.html +589 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setIntelligentAuto.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setIsmMethod.html +589 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setLanDaisyChain.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setPortraitMode.html +589 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setPowerSaveMode.html +589 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setStudioMode.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setTileInfo.html +589 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setUsagePermission.html +589 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#unregisterRS232CEventListener.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#unregisterSystemMonitor.html +577 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.AutomaticStandbyMode.html +662 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.DigitalAudioInput.html +662 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.DpmMode.html +932 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.EventType.html +797 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.FailoverMode.html +707 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.ImgResolution.html +662 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.IsmMethod.html +932 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.KeyOperationMode.html +707 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.MonitoringSource.html +797 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.OsdPortraitMode.html +662 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound#getSoundMode.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound#getSoundOut.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound#getSoundStatus.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound#setExternalSpeaker.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound#setMuted.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound#setSoundMode.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound#setSoundOut.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound#setVolumeLevel.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound.SoundMode.html +842 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound.SpeakerType.html +662 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#changeLogoImage.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#copyFile.html +583 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#decryptFile.html +583 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#downloadFirmware.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#exists.html +583 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#fsync.html +583 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#getFirmwareUpgradeStatus.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#getMD5Hash.html +583 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#getStorageInfo.html +577 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#listFiles.html +583 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#mkdir.html +583 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#moveFile.html +583 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#readFile.html +585 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#removeAll.html +583 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#removeApplication.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#removeFile.html +583 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#statFile.html +583 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#unzipFile.html +583 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#upgradeApplication.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#upgradeFirmware.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#writeFile.html +583 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage.AppMode.html +662 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage.AppType.html +662 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage.SCAP_URI.html +534 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Time#addHolidaySchedule.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Time#delAllHolidaySchedules.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Time#delHolidaySchedule.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Time#getAllHolidaySchedules.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Time#getHolidaySchedule.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Time#getHolidayScheduleMode.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Time#setHolidaySchedule.html +583 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Time#setHolidayScheduleMode.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Time#unsetHolidaySchedule.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Utility#createToast.html +583 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Video#getContentRotation.html +586 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Video#getVideoStatus.html +582 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Video#setContentRotation.html +592 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Video#setRotatedVideoTransform.html +592 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Video#setVideoSize.html +588 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Video#setVideoViewTransform.html +592 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/_global_.html +475 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/image/media_status.jpg +0 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/image/setVideoSize.png +0 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_configuration.js.html +2651 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_deviceInfo.js.html +1930 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_inputSource.js.html +1383 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_power.js.html +2942 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_security.js.html +352 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_signage.js.html +3853 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_sound.js.html +1123 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_storage.js.html +2747 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_time.js.html +976 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_utility.js.html +196 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_video.js.html +754 -0
- package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/release_notes.txt +148 -0
- package/files/templates/signage-sdk-templates/serviceinfo/package.json +11 -0
- package/files/templates/signage-sdk-templates/serviceinfo/services.json +8 -0
- package/files/templates/signage-sdk-templates/signageicon/icon.png +0 -0
- package/files/templates/signage-sdk-templates/signageicon/largeIcon.png +0 -0
- package/files/templates/signage-sdk-templates/webos-service/helloclient.js +23 -0
- package/files/templates/signage-sdk-templates/webos-service/helloworld_webos_service.js +128 -0
- package/lib/base/novacom.js +1214 -1202
- package/lib/base/setup-device.js +25 -7
- package/lib/com.sdk.ares.signage.hostedapp.ipk +0 -0
- package/lib/install.js +465 -463
- package/lib/launch.js +607 -605
- package/lib/package.js +2307 -2149
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/spec/jsSpecs/ares-launch.spec.js +303 -301
- package/spec/jsSpecs/ares-package.spec.js +1277 -1211
- package/spec/jsSpecs/ares-server.spec.js +160 -160
- package/spec/jsSpecs/ares-setup-device.spec.js +300 -300
- package/spec/jsSpecs/common-spec.js +177 -169
- package/spec/tempFiles/com.lg.app.signage.dev_0.0.1_all.ipk +0 -0
- package/webos-tools-cli-3.2.1.tgz +0 -0
- package/webos-tools-cli-3.1.3.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){}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.webos.service.commercial.signage.storageservice/settings/",{method:"set",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.webos.service.commercial.signage.storageservice/settings/",{method:"get",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.webos.service.commercial.signage.storageservice/settings/",{method:"set",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.webos.service.commercial.signage.storageservice/settings/",{method:"get",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]=(isNaN(k.settings[l])?k.settings[l]:Number(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.webos.service.commercial.signage.storageservice/settings/",{method:"set",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.webos.service.commercial.signage.storageservice/settings/",{method:"get",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.webos.service.commercial.signage.storageservice/settings/",{method:"setSystemTime",parameters:{utc:n},onSuccess:function(){h("setCurrentTime: On Success");if(typeof j==="function"){j()}},onFailure:function(o){h("setCurrentTime: On Failure");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(p){h("setCurrentTime: On Failure");delete p.returnValue;if(typeof l==="function"){b(p,"CSCT","Configuration.setCurrentTime returns failure.");l(p)}}})}});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.webos.service.commercial.signage.storageservice/settings/",{method:"get",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"||/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/.test(l.serverIp)===false||isNaN(l.serverPort)||l.serverPort<0||l.serverPort>65535||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.webos.service.commercial.signage.storageservice/settings/",{method:"set",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){}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.2.21391";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")};f.prototype.getSystemUsageInfo=function(g,h,i){e("getSystemUsageInfo: ");a.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"getSystemUsageInfo",parameters:{cpus:i.cpus,memory:i.memory},onSuccess:function(j){if(j.returnValue===true){var k={};if(typeof j.memory!=="undefined"){k.memory=j.memory}if(typeof j.cpus!=="undefined"){k.cpus=j.cpus}g(k)}else{h({errorCode:j.errorCode,errorText:j.errorText})}},onFailure:function(j){h({errorCode:j.errorCode,errorText:j.errorText})}});e("DeviceInfo.getSystemUsageInfo 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(m){}var g;if(window.PalmSystem){c("Window.PalmSystem Available");g=b("cordova/plugin/webos/service")}else{g={Request:function(m,n){c(m+" invoked. But I am a dummy because PalmSystem is not available");if(typeof n.onFailure==="function"){n.onFailure({returnValue:false,errorText:"PalmSystem Not Available. Cordova is not installed?"})}}}}var i=function(){};var f=null;function k(n,o,m){if(n.errorCode===undefined||n.errorCode===null){n.errorCode=o}if(n.errorText===undefined||n.errorText===null){n.errorText=m}}i.prototype.initialize=function(n,o,q){c("initialize: "+JSON.stringify(q));if(q.divId===undefined||typeof q.divId!=="string"||q.divId===null||q.divId.length<=0||q.videoId===undefined||typeof q.videoId!=="string"||q.videoId===null||q.videoId.length<=0||q.callback===undefined||typeof q.callback!=="function"||q.src===undefined||typeof q.src!=="string"||q.src===null||q.src.length<=0){if(typeof o==="function"){var m={};k(m,"II","InputSource.initialize returns failure. invalid parameters.");o(m)}return}j(q.src,function r(s){q.src=s;f=new Broadcast();c("initialize: converted "+JSON.stringify(q));f.initialize(n,o,q)},function p(t){c("initialize: failure "+JSON.stringify(t));if(typeof o==="function"){var s={};k(s,"II","InputSource.initialize returns failure. invalid parameters.");o(s)}});c("initialize: Done")};i.prototype.changeInputSource=function(n,o,q){if(q.src===undefined||typeof q.src!=="string"||q.src===null||q.src.length<=0){if(typeof o==="function"){var m={};k(m,"ICIS","InputSource.changeInputSource returns failure. invalid argument. ");o(m)}return}c("changeInputSource: "+JSON.stringify(q));j(q.src,function r(t){q.src=t;if(f.setInput(q)){c("changeInputSource: On Success");n()}else{var s={};c("changeInputSource: On Failure");k(s,"ICIS","InputSource.changeInputSource returns failure.");o(s)}},function p(t){c("changeInputSource: failure "+JSON.stringify(t));if(typeof o==="function"){var s={};k(s,"ICIS","InputSource.changeInputSource returns failure. invalid argument. ");o(s)}});c("changeInputSource: Done")};i.prototype.getInputSourceStatus=function(m,n){c("getInputSourceStatus: ");g.Request("luna://com.webos.service.eim/",{method:"getAllInputStatus",onSuccess:function(p){c("getInputSourceStatus: On Success");if(p.returnValue===true){if(m&&typeof m==="function"){var s={};var r=new Array(p.totalCount);var t=new Array(p.totalCount);for(var q=0;q<r.length;q++){r[q]={};r[q].inputPort=e(p.devices[q].label);var o=p.devices[q].id.split("_");r[q].inputPort="ext://"+o[0].toLowerCase()+":"+o[1];if(r[q].inputPort==="ext://hdmi:3"){r[q].inputPort="ext://dp:1"}else{if(r[q].inputPort==="ext://hdmi:4"){r[q].inputPort="ext://dvi:1"}}t[q]={};t[q].inputPort=r[q].inputPort;t[q].id=p.devices[q].id}s.inputSourceList=r;g.Request("luna://com.webos.service.eim/",{method:"getCurrentInput",parameters:{},onSuccess:function(u){c("InputSource.getInputSourceStatus: On Success 3");if(u.returnValue===true){if(m&&typeof m==="function"){s.currentInputSource={};for(var v=0;v<t.length;v++){if(t[v].id===u.mainInputSourceId){s.currentInputSource=t[v].inputPort;break}}s.currentSignalState="unknown";if(f!==null){c("InputSource.getInputSourceStatus : broadcast is not null");f.getSignalStatus(function w(y){s.currentSignalState=y.videoSignalState;c("InputSource.getInputSourceStatus: On Success 2");if(m&&typeof m==="function"){c("getInputSourceStatus: On Success"+JSON.stringify(s));m(s);return}},function x(){c("InputSource.getInputSourceStatus : signal state is fail.");if(m&&typeof m==="function"){c("getInputSourceStatus: On Success"+JSON.stringify(s));m(s);return}})}else{c("InputSource.getInputSourceStatus : it does not initialize.");if(m&&typeof m==="function"){c("getInputSourceStatus: On Success"+JSON.stringify(s));m(s);return}}}}},onFailure:function(u){c("InputSource.getInputSourceStatus: On Failure 2");delete u.returnValue;if(n&&typeof n==="function"){k(u,"IGISS","InputSource.getInputSourceStatus returns failure.");n(u);return}}})}}},onFailure:function(o){c("getInputSourceStatus: On Failure");delete o.returnValue;if(n&&typeof n==="function"){k(o,"IGISS","InputSource.changeInputSource returns failure on gathering input list.");n(o)}}});c("InputSource.getInputSourceStatus Done")};function e(o){var m=1;var n=o.length;if(!isNaN(parseInt(o.charAt(n-1),10))){m=o.charAt(n-1);n--}o=o.substring(0,n)+":"+m;o="ext://"+o.toLowerCase();return o}var h=null;function l(m){if(h===null){g.Request("luna://com.webos.service.tv.systemproperty",{method:"getSystemInfo",parameters:{keys:["sdkVersion"]},onSuccess:function(n){c("getPlatformInfo: onSuccess");var o=n.sdkVersion.split(".");if(o.length>=1&&o[0]==="1"){h=1}else{if(o.length>=1&&o[0]==="2"){h=2}else{h=0}}delete n.returnValue;m(h)},onFailure:function(n){c("getPlatformInfo: onFailure");delete n.returnValue;h=0;m(h)}})}else{m(h)}}function j(o,m,n){g.Request("luna://com.webos.service.eim/",{method:"getAllInputStatus",onSuccess:function(p){c("convertInputSource: On Success "+o);if(p.returnValue===true){if(m&&typeof m==="function"){var q=new Array(p.totalCount);l(function(s){c("convertInputSource: "+JSON.stringify(p.totalCount));c("convertInputSource: "+JSON.stringify(p.devices));c("version: "+s);switch(s){case 1:if(o==="ext://dp:1"){o="ext://hdmi:3"}else{if(o==="ext://dvi:1"){o="ext://hdmi:4"}}break;case 2:if(o==="ext://dp:1"){o="ext://hdmi:3"}else{if(o==="ext://dvi:1"){o="ext://hdmi:2"}else{if(o==="ext://ops:1"){o="ext://hdmi:4"}}}break;default:break}for(var u=0;u<q.length;u++){q[u]={};q[u].inputPort=e(p.devices[u].label);var r=p.devices[u].id.split("_");q[u].id="ext://"+r[0].toLowerCase()+":"+r[1];if(o===q[u].id){c("convertInputSource: On Success ok "+o);m(o);return}}for(var t=0;t<q.length;t++){if(o===q[t].inputPort){o=q[t].id;c("convertInputSource: On Success converted "+o);m(o);return}}})}}},onFailure:function(p){c("convertInputSource: On Failure");delete p.returnValue;if(n&&typeof n==="function"){k(p,"IGISS","convertInputSource returns failure on gathering input list.");n(p)}}})}a.exports=i});InputSource=cordova.require("cordova/plugin/inputSource");
|
package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.2/power.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
cordova.define("cordova/plugin/power",function(b,d,a){function c(k){}var f;if(window.PalmSystem){c("Window.PalmSystem Available");f=b("cordova/plugin/webos/service")}else{f={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 i=function(){};function h(l,m,k){if(l.errorCode===undefined||l.errorCode===null){l.errorCode=m}if(l.errorText===undefined||l.errorText===null){l.errorText=k}}i.PowerCommand={SHUTDOWN:"powerOff",REBOOT:"reboot"};i.DisplayMode={DISPLAY_OFF:"Screen Off",DISPLAY_ON:"Active"};i.TimerWeek={MONDAY:1,TUESDAY:2,WEDNESDAY:4,THURSDAY:8,FRIDAY:16,SATURDAY:32,SUNDAY:64,EVERYDAY:127};i.prototype.getPowerStatus=function(k,l){c("getPowerStatus: ");f.Request("luna://com.webos.service.tv.signage/",{method:"getPowerState",onSuccess:function(m){c("getPowerStatus: On Success");var n={};if(m.returnValue===true){n.displayMode=m.state}f.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"commercial",keys:["wolEnable"]},onSuccess:function(o){c("getPowerStatus: On Success 2");if(o.returnValue===true){n.wakeOnLan=(o.settings.wolEnable==="1"?true:false)}f.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"time",keys:["onTimerEnable","offTimerEnable"]},onSuccess:function(p){c("getPowerStatus: On Success 3");if(p.returnValue===true){n.allOnTimer=(p.settings.onTimerEnable==="on"?true:false);n.allOffTimer=(p.settings.offTimerEnable==="on"?true:false);if(k&&typeof k==="function"){k(n)}}},onFailure:function(p){c("getPowerStatus: On Failure 3");delete p.returnValue;if(l&&typeof l==="function"){h(p,"PGPS","Power.getPowerStatus returns failure.");l(p)}}})},onFailure:function(o){c("getPowerStatus: On Failure 2");delete o.returnValue;if(l&&typeof l==="function"){h(o,"PGPS","Power.getPowerStatus returns failure.");l(o)}}})},onFailure:function(m){c("getPowerStatus: On Failure");delete m.returnValue;if(l&&typeof l==="function"){h(m,"PGPS","Power.getPowerStatus returns failure.");l(m)}}});c("Power.getPowerStatus Done")};i.prototype.enableAllOnTimer=function(k,l,m){c("enableAllOnTimer: "+JSON.stringify(m));var n=null;switch(m.allOnTimer){case true:n="on";break;case false:n="off";break}f.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"time",settings:{onTimerEnable:n}},onSuccess:function(){if(typeof k==="function"){c("enableAllOnTimer: On Success");k()}},onFailure:function(o){delete o.returnValue;if(typeof l==="function"){h(o,"PEAOT","Power.enableAllOnTimer returns failure.");c("enableAllOnTimer: On Failure");l(o)}}});c("Power.enableAllOnTimer Done")};i.prototype.enableAllOffTimer=function(k,l,m){c("enableAllOffTimer: "+JSON.stringify(m));var n=null;switch(m.allOffTimer){case true:n="on";break;case false:n="off";break}f.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"time",settings:{offTimerEnable:n}},onSuccess:function(){if(typeof k==="function"){c("enableAllOffTimer: On Success");k()}},onFailure:function(o){delete o.returnValue;if(typeof l==="function"){h(o,"PEAOT","Power.enableAllOffTimer returns failure.");c("enableAllOffTimer: On Failure");l(o)}}});c("Power.enableAllOffTimer Done")};i.prototype.enableWakeOnLan=function(k,l,m){c("enableWakeOnLan: "+JSON.stringify(m));var n=null;switch(m.wakeOnLan){case true:n="1";break;case false:n="0";break}f.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"commercial",settings:{wolEnable:n}},onSuccess:function(){if(typeof k==="function"){c("enableWakeOnLan: On Success");k()}},onFailure:function(o){delete o.returnValue;if(typeof l==="function"){h(o,"PSWOL","Power.enableWakeOnLan returns failure.");c("enableWakeOnLan: On Failure");l(o)}}});c("Power.enableWakeOnLan Done")};var g=null;function j(k){if(g===null){f.Request("luna://com.webos.service.tv.systemproperty",{method:"getSystemInfo",parameters:{keys:["sdkVersion"]},onSuccess:function(l){c("getPlatformInfo: onSuccess");c("version : "+l.sdkVersion);var m=l.sdkVersion.split(".");if(m.length>=1&&m[0]==="1"){g=1}else{if(m.length>=1&&m[0]==="2"){g=2}else{g=0}}delete l.returnValue;k(g)},onFailure:function(l){c("getPlatformInfo: onFailure");delete l.returnValue;g=0;k(g)}})}else{k(g)}}function e(k){switch(k){case"ext://hdmi:1":return(g===1?"HDMI1":"HDMI");case"ext://hdmi:2":return"HDMI2";case"ext://dvi:1":return"DVI";case"ext://dp:1":return"DISPLAYPORT";case"ext://rgb:1":return"RGB";case"HDMI1":return"ext://hdmi:1";case"HDMI":return"ext://hdmi:1";case"HDMI2":return"ext://hdmi:2";case"DVI":return"ext://dvi:1";case"DISPLAYPORT":return"ext://dp:1";case"RGB":return"ext://rgb:1"}return null}i.prototype.addOnTimer=function(l,m,n){c("addOnTimer: "+JSON.stringify(n));if(n.hour===undefined||isNaN(n.hour)||typeof n.hour!=="number"||n.hour<0||n.hour>23||n.minute===undefined||isNaN(n.minute)||typeof n.minute!=="number"||n.minute<0||n.minute>59||n.week===undefined||isNaN(n.week)||typeof n.week!=="number"||n.week<=0||n.week>127||n.inputSource===undefined||typeof n.inputSource!=="string"||n.inputSource.indexOf("ext://")!==0){if(typeof m==="function"){var k={};h(k,"PAOT","Power.addOnTimer returns failure. invalid parameters or out of range.");m(k)}return}f.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"commercial",keys:["multiOnTimerHour","multiOnTimerMinute","multiOnTimerWeekday","multiOnTimerSource","onTimerSchedule","onTimerCount"]},onSuccess:function(o){if(o.returnValue===true){j(function(p){c("version : "+p);if(typeof o.settings.multiOnTimerHour==="string"){o.settings.multiOnTimerHour=JSON.parse(o.settings.multiOnTimerHour)}if(typeof o.settings.multiOnTimerMinute==="string"){o.settings.multiOnTimerMinute=JSON.parse(o.settings.multiOnTimerMinute)}if(typeof o.settings.multiOnTimerWeekday==="string"){o.settings.multiOnTimerWeekday=JSON.parse(o.settings.multiOnTimerWeekday)}if(typeof o.settings.multiOnTimerSource==="string"){o.settings.multiOnTimerSource=JSON.parse(o.settings.multiOnTimerSource)}if(typeof o.settings.onTimerSchedule==="string"){o.settings.onTimerSchedule=JSON.parse(o.settings.onTimerSchedule)}var r=(o.settings.onTimerSchedule===null||o.settings.onTimerSchedule===undefined?0:o.settings.onTimerSchedule.length);if(o.settings.multiOnTimerHour.length<=r){if(typeof m==="function"){h(o,"PSOT","Power.addOnTimer returns failure. No space to add timer.");m(o)}return}o.settings.multiOnTimerHour[r]=n.hour;o.settings.multiOnTimerMinute[r]=n.minute;o.settings.multiOnTimerWeekday[r]=n.week;o.settings.multiOnTimerSource[r]=e(n.inputSource);var q=360;o.settings.onTimerSchedule[r]={_id:""+q++,hour:n.hour,input:e(n.inputSource),minute:n.minute,weekday:n.week};f.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"commercial",settings:{multiOnTimerHour:o.settings.multiOnTimerHour,multiOnTimerMinute:o.settings.multiOnTimerMinute,multiOnTimerWeekday:o.settings.multiOnTimerWeekday,multiOnTimerSource:o.settings.multiOnTimerSource,onTimerCount:r+1,onTimerSchedule:o.settings.onTimerSchedule}},onSuccess:function(){c("addOnTimer: On Success 2");if(typeof l==="function"){l()}},onFailure:function(s){c("addOnTimer: On Failure 2");delete s.returnValue;if(typeof m==="function"){h(s,"PAOT","Power.addOnTimer returns failure.");m(s)}}})})}},onFailure:function(o){c("addOnTimer: On Failure");delete o.returnValue;if(m&&typeof m==="function"){h(o,"PAOT","Power.addOnTimer returns failure.");m(o)}}});c("Power.addOnTimer Done")};i.prototype.deleteOnTimer=function(l,m,n){c("deleteOnTimer: "+JSON.stringify(n));if(n.hour===undefined||isNaN(n.hour)||typeof n.hour!=="number"||n.hour<0||n.hour>23||n.minute===undefined||isNaN(n.minute)||typeof n.minute!=="number"||n.minute<0||n.minute>59||n.week===undefined||isNaN(n.week)||typeof n.week!=="number"||n.week<=0||n.week>127||n.inputSource===undefined||typeof n.inputSource!=="string"||n.inputSource.indexOf("ext://")!==0){if(typeof m==="function"){var k={};h(k,"PDOT","Power.deleteOnTimer returns failure. invalid parameters or out of range.");m(k)}return}f.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"commercial",keys:["multiOnTimerHour","multiOnTimerMinute","multiOnTimerWeekday","multiOnTimerSource","onTimerSchedule","onTimerCount"]},onSuccess:function(o){if(o.returnValue===true){j(function(y){c("version : "+y);if(typeof o.settings.multiOnTimerHour==="string"){o.settings.multiOnTimerHour=JSON.parse(o.settings.multiOnTimerHour)}if(typeof o.settings.multiOnTimerMinute==="string"){o.settings.multiOnTimerMinute=JSON.parse(o.settings.multiOnTimerMinute)}if(typeof o.settings.multiOnTimerWeekday==="string"){o.settings.multiOnTimerWeekday=JSON.parse(o.settings.multiOnTimerWeekday)}if(typeof o.settings.multiOnTimerSource==="string"){o.settings.multiOnTimerSource=JSON.parse(o.settings.multiOnTimerSource)}if(typeof o.settings.onTimerSchedule==="string"){o.settings.onTimerSchedule=JSON.parse(o.settings.onTimerSchedule)}var z=0,x=(o.settings.onTimerSchedule===null||o.settings.onTimerSchedule===undefined?0:o.settings.onTimerSchedule.length);var t=["0","0","0","0","0","0","0"],u=["0","0","0","0","0","0","0"],q=["0","0","0","0","0","0","0"],p=["0","0","0","0","0","0","0"],w=[];var s=e(n.inputSource);var r=false;for(var v=0;v<x;v++){if(o.settings.onTimerSchedule[v]===null){continue}if(r===false&&n.hour===o.settings.onTimerSchedule[v].hour&&n.minute===o.settings.onTimerSchedule[v].minute&&n.week===o.settings.onTimerSchedule[v].weekday&&s===o.settings.onTimerSchedule[v].input){r=true}else{t[z]=o.settings.multiOnTimerHour[v];u[z]=o.settings.multiOnTimerMinute[v];q[z]=o.settings.multiOnTimerWeekday[v];p[z]=o.settings.multiOnTimerSource[v];w[z]=o.settings.onTimerSchedule[v];z++}}if(r===true){x--}if(x===0){w=[]}if(o.settings.onTimerSchedule.length===x){if(typeof m==="function"){h(o,"PDOT","Power.deleteOnTimer returns failure. There is no 'on timer' matched in the list.");m(o)}return}f.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"commercial",settings:{multiOnTimerHour:t,multiOnTimerMinute:u,multiOnTimerWeekday:q,multiOnTimerSource:p,onTimerCount:x,onTimerSchedule:w}},onSuccess:function(){c("deleteOnTimer: On Success 2");if(typeof l==="function"){l()}},onFailure:function(A){c("deleteOnTimer: On Failure 2");delete A.returnValue;if(typeof m==="function"){h(A,"PDOT","Power.deleteOnTimer returns failure.");m(A)}}})})}},onFailure:function(o){c("deleteOnTimer: On Failure");delete o.returnValue;if(m&&typeof m==="function"){h(o,"PDOT","Power.deleteOnTimer returns failure.");m(o)}}});c("Power.deleteOnTimer Done")};i.prototype.addOffTimer=function(l,m,n){c("addOffTimer: "+JSON.stringify(n));if(n.hour===undefined||isNaN(n.hour)||typeof n.hour!=="number"||n.hour<0||n.hour>23||n.minute===undefined||isNaN(n.minute)||typeof n.minute!=="number"||n.minute<0||n.minute>59||n.week===undefined||isNaN(n.week)||typeof n.week!=="number"||n.week<=0||n.week>127){if(typeof m==="function"){var k={};h(k,"PAOT","Power.addOffTimer returns failure. Invalid parameter.");m(k)}return}f.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"commercial",keys:["multiOffTimerHour","multiOffTimerMinute","multiOffTimerWeekday","offTimerSchedule","offTimerCount"]},onSuccess:function(o){if(o.returnValue===true){if(typeof o.settings.multiOffTimerHour==="string"){o.settings.multiOffTimerHour=JSON.parse(o.settings.multiOffTimerHour)}if(typeof o.settings.multiOffTimerMinute==="string"){o.settings.multiOffTimerMinute=JSON.parse(o.settings.multiOffTimerMinute)}if(typeof o.settings.multiOffTimerWeekday==="string"){o.settings.multiOffTimerWeekday=JSON.parse(o.settings.multiOffTimerWeekday)}if(typeof o.settings.offTimerSchedule==="string"){o.settings.offTimerSchedule=JSON.parse(o.settings.offTimerSchedule)}var q=(o.settings.offTimerSchedule===null||o.settings.offTimerSchedule===undefined?0:o.settings.offTimerSchedule.length);if(o.settings.multiOffTimerHour.length<=q){if(typeof m==="function"){h(o,"PAOT","Power.addOffTimer returns failure. No space to add timer.");m(o)}return}o.settings.multiOffTimerHour[q]=n.hour;o.settings.multiOffTimerMinute[q]=n.minute;o.settings.multiOffTimerWeekday[q]=n.week;var p=360;o.settings.offTimerSchedule[q]={_id:""+p++,hour:n.hour,minute:n.minute,weekday:n.week};f.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"commercial",settings:{multiOffTimerHour:o.settings.multiOffTimerHour,multiOffTimerMinute:o.settings.multiOffTimerMinute,multiOffTimerWeekday:o.settings.multiOffTimerWeekday,offTimerCount:q+1,offTimerSchedule:o.settings.offTimerSchedule}},onSuccess:function(){c("addOffTimer: On Success 2");if(typeof l==="function"){l()}},onFailure:function(r){c("addOffTimer: On Failure 2");delete r.returnValue;if(typeof m==="function"){h(r,"PAOT","Power.addOffTimer returns failure.");m(r)}}})}},onFailure:function(o){c("addOffTimer: On Failure");delete o.returnValue;if(m&&typeof m==="function"){h(o,"PAOT","Power.addOffTimer returns failure.");m(o)}}});c("Power.addOffTimer Done")};i.prototype.deleteOffTimer=function(l,m,n){c("deleteOffTimer: "+JSON.stringify(n));if(n.hour===undefined||isNaN(n.hour)||typeof n.hour!=="number"||n.hour<0||n.hour>23||n.minute===undefined||isNaN(n.minute)||typeof n.minute!=="number"||n.minute<0||n.minute>59||n.week===undefined||isNaN(n.week)||typeof n.week!=="number"||n.week<=0||n.week>127){if(typeof m==="function"){var k={};h(k,"PDOT","Power.deleteOffTimer returns failure. invalid parameters or out of range.");m(k)}return}f.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"commercial",keys:["multiOffTimerHour","multiOffTimerMinute","multiOffTimerWeekday","offTimerSchedule","offTimerCount"]},onSuccess:function(w){if(w.returnValue===true){if(typeof w.settings.multiOffTimerHour==="string"){w.settings.multiOffTimerHour=JSON.parse(w.settings.multiOffTimerHour)}if(typeof w.settings.multiOffTimerMinute==="string"){w.settings.multiOffTimerMinute=JSON.parse(w.settings.multiOffTimerMinute)}if(typeof w.settings.multiOffTimerWeekday==="string"){w.settings.multiOffTimerWeekday=JSON.parse(w.settings.multiOffTimerWeekday)}if(typeof w.settings.offTimerSchedule==="string"){w.settings.offTimerSchedule=JSON.parse(w.settings.offTimerSchedule)}var v=0,u=(w.settings.offTimerSchedule===null||w.settings.offTimerSchedule===undefined?0:w.settings.offTimerSchedule.length);var q=["0","0","0","0","0","0","0"],r=["0","0","0","0","0","0","0"],o=["0","0","0","0","0","0","0"],t=[];var p=false;for(var s=0;s<u;s++){if(w.settings.offTimerSchedule[s]===null){continue}if(p===false&&n.hour===w.settings.offTimerSchedule[s].hour&&n.minute===w.settings.offTimerSchedule[s].minute&&n.week===w.settings.offTimerSchedule[s].weekday){p=true}else{q[v]=w.settings.multiOffTimerHour[s];r[v]=w.settings.multiOffTimerMinute[s];o[v]=w.settings.multiOffTimerWeekday[s];t[v]=w.settings.offTimerSchedule[s];v++}}if(p===true){u--}if(u===0){t=[]}if(w.settings.offTimerSchedule.length===u){if(typeof m==="function"){h(w,"PDOT","Power.deleteOffTimer returns failure. There is no 'off timer' matched in the list.");m(w)}return}f.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"commercial",settings:{multiOffTimerHour:q,multiOffTimerMinute:r,multiOffTimerWeekday:o,offTimerCount:u,offTimerSchedule:t}},onSuccess:function(){c("deleteOffTimer: On Success 2");if(typeof l==="function"){l()}},onFailure:function(x){c("deleteOffTimer: On Failure 2");delete x.returnValue;if(typeof m==="function"){h(x,"PDOT","Power.deleteOffTimer returns failure.");m(x)}}})}},onFailure:function(o){c("deleteOffTimer: On Failure");delete o.returnValue;if(m&&typeof m==="function"){h(o,"PDOT","Power.deleteOffTimer returns failure.");m(o)}}});c("Power.deleteOffTimer Done")};i.prototype.getOnTimerList=function(k,l){c("getOnTimerList: ");f.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"commercial",keys:["onTimerSchedule"]},onSuccess:function(m){if(m.returnValue===true){j(function(n){c("version : "+n);var q={};if(typeof m.settings.onTimerSchedule==="string"){m.settings.onTimerSchedule=JSON.parse(m.settings.onTimerSchedule)}var r=new Array(m.settings.onTimerSchedule===null||m.settings.onTimerSchedule===undefined?0:m.settings.onTimerSchedule.length);for(var o=0,p=0;p<r.length;p++){if(m.settings.onTimerSchedule[p]===null||m.settings.onTimerSchedule[p]===undefined){continue}r[o]={hour:0,minute:0,week:0,inputSource:0};r[o].hour=m.settings.onTimerSchedule[p].hour;r[o].minute=m.settings.onTimerSchedule[p].minute;r[o].week=m.settings.onTimerSchedule[p].weekday;r[o++].inputSource=e(m.settings.onTimerSchedule[p].input)}q.timerList=r;if(k&&typeof k==="function"){k(q)}})}},onFailure:function(m){c("getOnTimerList: On Failure");delete m.returnValue;if(l&&typeof l==="function"){h(m,"PGOTL","Power.getOnTimerList returns failure.");l(m)}}});c("Power.getOnTimerList Done")};i.prototype.getOffTimerList=function(k,l){c("getOffTimerList: ");f.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"commercial",keys:["offTimerSchedule"]},onSuccess:function(m){c("getOffTimerList: On Success");if(m.returnValue===true){var p={};if(typeof m.settings.offTimerSchedule==="string"){m.settings.offTimerSchedule=JSON.parse(m.settings.offTimerSchedule)}var q=new Array(m.settings.offTimerSchedule===null||m.settings.offTimerSchedule===undefined?0:m.settings.offTimerSchedule.length);for(var n=0,o=0;o<q.length;o++){if(m.settings.offTimerSchedule[o]===null||m.settings.offTimerSchedule[o]===undefined){continue}q[n]={hour:0,minute:0,week:0};q[n].hour=m.settings.offTimerSchedule[o].hour;q[n].minute=m.settings.offTimerSchedule[o].minute;q[n++].week=m.settings.offTimerSchedule[o].weekday}p.timerList=q;if(k&&typeof k==="function"){k(p)}}},onFailure:function(m){c("getOffTimerList: On Failure");delete m.returnValue;if(l&&typeof l==="function"){h(m,"PGOTL","Power.getOffTimerList returns failure.");l(m)}}});c("Power.getOffTimerList Done")};i.prototype.setDisplayMode=function(l,m,n){c("setDisplayMode: "+JSON.stringify(n));var o=null;switch(n.displayMode){case i.DisplayMode.DISPLAY_OFF:o="turnOffScreen";break;case i.DisplayMode.DISPLAY_ON:o="turnOnScreen";break}c("setDisplayMode: "+o);if(o===null&&m&&typeof m==="function"){var k={};h(k,"PSDM","Power.setDisplayMode returns failure. command was not defined.");m(k);c("Power.setDisplayMode invalid ");return}f.Request("luna://com.webos.service.tv.signage/",{method:"getPowerState",onSuccess:function(p){c("setDisplayMode: On Success");if(p.returnValue===true&&p.state===n.displayMode){if(l&&typeof l==="function"){c("setDisplayMode: no need to do any action.");l()}return}f.Request("luna://com.webos.service.tv.signage/",{method:o,onSuccess:function(q){c("setDisplayMode: On Success");if(q.returnValue===true){if(l&&typeof l==="function"){l()}}},onFailure:function(q){c("setDisplayMode: On Failure");delete q.returnValue;if(m&&typeof m==="function"){h(q,"PSDM","Power.setDisplayMode returns failure.");m(q)}}})},onFailure:function(p){c("setDisplayMode: On Failure 2");delete p.returnValue;if(m&&typeof m==="function"){h(p,"PSDM","Power.setDisplayMode returns failure.");m(p)}}});c("Power.setDisplayMode Done")};i.prototype.executePowerCommand=function(l,m,n){c("executePowerCommand: "+JSON.stringify(n));if(n.powerCommand===undefined||typeof n.powerCommand!=="string"||n.powerCommand===null||n.powerCommand.length<=0){if(typeof m==="function"){var k={};h(k,"PEPM","Power.executePowerCommand returns failure. invalid argument or out of range. ");m(k)}return}f.Request("luna://com.webos.service.tv.signage/",{method:n.powerCommand,parameters:{reason:"unknown"},onSuccess:function(o){c("executePowerCommand: On Success");if(o.returnValue===true){if(l&&typeof l==="function"){l()}}},onFailure:function(o){c("executePowerCommand: On Failure");delete o.returnValue;if(m&&typeof m==="function"){h(o,"PEPM","Power.executePowerCommand returns failure.");m(o)}}});c("Power.executePowerCommand Done")};a.exports=i});Power=cordova.require("cordova/plugin/power");
|
package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.2/signage.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
cordova.define("cordova/plugin/signage",function(i,w,c){var x;function g(y){}if(window.PalmSystem){g("Window.PalmSystem Available");x=i("cordova/plugin/webos/service")}else{g("Window.PalmSystem is NOT Available");x={Request:function(y,z){g(y+" invoked. But I am a dummy because PalmSystem is not available");if(typeof z.onFailure==="function"){z.onFailure({returnValue:false,errorCode:"CORDOVA_ERR",errorText:"PalmSystem Not Available. Cordova is not installed?"})}}}}var s=function(y){var z=j[y];g(JSON.stringify(z,null,3));if(z&&z.getEvent===true){if(j[y].listenerObj){j[y].listenerObj.cancel();j[y].getEvent=false;j[y].listenerObj=null}}};var k=function(z,y){var A=j[z];if(A&&typeof A.createListener==="function"){A.listenerObj=A.createListener(y);A.getEvent=true}};function d(z){if(z.substring(0,"ext://".length)!=="ext://"){g("Bad prefix: "+z);return false}var y=z.substring("ext://".length);g("body is: "+y);var A=y.split(":");if(A.length===2){return A[0]+A[1]}else{if(A.length===1){return A[0]}else{g("Bad Syntax: "+z);return false}}}function q(y,A){for(var z in y){if(y[z]===A){return true}}return false}var n={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 o=function(y){g("Create Listener for monitorTemperature");var z=x.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"systemMonitor/getTemperature",parameters:{subscribe:true},onSuccess:function(A){g("temperature!!!!!!!!! : "+JSON.stringify(A,null,3));if(A.returnValue===true){var B={source:a.MonitoringSource.THERMOMETER,type:a.EventType.CURRENT_TEMPERATURE,data:{temperature:A.temperature}};if(y){y(B)}}},onFailure:function(A){g("monitor_temperature!!!!!!!!! : FAIL "+JSON.stringify(A,null,3))}});return z};var f=function(y){g("Create Listener for monitorFan");var z=x.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"systemMonitor/getFanEvent",parameters:{subscribe:true},onSuccess:function(A){g("monitor_fan!!!!!!!!! : "+JSON.stringify(A,null,3));if(A.returnValue===true){var B={source:a.MonitoringSource.FAN,type:a.EventType.FAN_STATUS,data:{status:A.fanFault}};if(y){y(B)}}},onFailure:function(A){g("monitor_fan!!!!!!!!! : FAIL "+JSON.stringify(A,null,3))}});return z};var h=function(y){g("Create Listener for monitorLamp");var z=x.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"systemMonitor/getLampEvent",parameters:{subscribe:true},onSuccess:function(A){g("monitor_lamp!!!!!!!!! : "+JSON.stringify(A,null,3));if(A.returnValue===true){var B={source:a.MonitoringSource.LAMP,type:a.EventType.LAMP_STATUS,data:{status:A.lampFault}};if(y){y(B)}}},onFailure:function(A){g("monitor_lamp!!!!!!!!! : FAIL "+JSON.stringify(A,null,3))}});return z};var m=function(y){g("Create Listener for monitorSignal");var z=x.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"systemMonitor/getSignalEvent",parameters:{subscribe:true},onSuccess:function(A){g("monitor_signal!!!!!!!!! : "+JSON.stringify(A,null,3));if(A.returnValue===true){var B={type:a.EventType.NO_SIGNAL,source:a.MonitoringSource.SIGNAL};if(A.noSignal===true){B.data.status="no_signal"}else{B.data.status="signal_available"}if(y){y(B)}}},onFailure:function(A){g("monitor_signal!!!!!!!!! : FAIL "+JSON.stringify(A,null,3))}});return z};var t=function(y){g("Create Listener for monitorScreen");var z=x.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"systemMonitor/getScreenEvent",parameters:{subscribe:true},onSuccess:function(A){g("monitor_screen!!!!!!!!! : "+JSON.stringify(A,null,3));if(A.returnValue===true){var B={source:a.MonitoringSource.SCREEN,type:a.EventType.SCREEN_STATUS,data:{status:A.screen}};if(y){y(B)}}},onFailure:function(A){g("monitor_screen!!!!!!!!! FAIL : "+JSON.stringify(A,null,3))}});return z};var j={fan:{getEvent:false,listenerObj:null,createListener:f},screen:{getEvent:false,listenerObj:null,createListener:t},temperature:{getEvent:false,listenerObj:null,createListener:o},signal:{getEvent:false,listenerObj:null,createListener:m},lamp:{getEvent:false,listenerObj:null,createListener:h}};var p={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 r(B,A,C,y,z){var D={category:B,keys:A};x.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:D,onSuccess:function(E){g("On Success");if(E.returnValue===true){var F=C(E.settings);if(F===false){if(z&&typeof z==="function"){z({errorText:"Invalid DB value",errorCode:"DB_ERROR"})}}else{if(y&&typeof y==="function"){g("successCallback!!!!!!!!!");y(F)}else{g("successCallback not registered or is not a function: "+y)}}}else{g("Settings Failed: "+JSON.stringify(E,null,3));if(z&&typeof z==="function"){z({errorText:"Invalid DB value : "+E.errorText,errorCode:"DB_ERROR"})}}},onFailure:function(E){g("On Failure");delete E.returnValue;if(E.settings){g("settings = "+JSON.stringify(E.settings,null,3));var G=C(E.settings);g("errorKey = "+JSON.stringify(E.errorKey,null,3));for(var F=0;F<E.errorKey.length;++F){G[E.errorKey[F]]=a.UNDEFINED}g("cbObj = "+JSON.stringify(G,null,3));if(y&&typeof y==="function"){g("successCallback!!!!!!!!!");y(G)}}else{if(z&&typeof z==="function"){z({errorText:((typeof E.errorText==="undefined")?"DB Failure":E.errorText),errorCode:"DB_ERROR"})}}}});g("Requested Service: luna://com.webos.service.commercial.signage.storageservice/settings/");g("params : "+JSON.stringify(D))}function e(D,C,y,z){var E={category:D,settings:C};g("settings : "+JSON.stringify(C,null,3));var A=false;for(var B in C){if(B){g("has key : "+B);A=true;break}}if(A===false){g("Nothing to set!!!!!");y();return}x.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:E,onSuccess:function(){g("On Success");if(y&&typeof y==="function"){g("SUCCEES CALLBACK!!!!!!!");y()}},onFailure:function(F){g("On Failure");delete F.returnValue;if(z&&typeof z==="function"){g("ERROR CALLBACK!!!!!!!");z(F)}}});g("Requested Service: luna://com.webos.service.commercial.signage.storageservice/settings/");g("params : "+JSON.stringify(E))}a.prototype.setPortraitMode=function(y,A,D){var E={};var C;function B(G){if(G.portraitMode){for(var H in a.OsdPortraitMode){if(G.portraitMode===a.OsdPortraitMode[H]){return true}}C="Unrecognized OsdPortraintMode : "+G.portraitMode;return false}else{C="portraitMode does not exist.";return false}}if(B(D)){var z=D.portraitMode;g("portraitMode: "+D.portraitMode);E[n.OSD_PORTRAIT_MODE]=z;g("Set: "+JSON.stringify(E,null,3));e("commercial",E,y,A);g("setPortraitMode Done")}else{var F={errorCode:"BAD_PARAMETER",errorText:C};A(F)}};a.prototype.setFailoverMode=function(z,B,G){var A={};var C;function y(H){g("options:"+JSON.stringify(H,null,3));var K=H.failoverMode;if(K){if(K.mode){if(K.mode===a.FailoverMode.MANUAL){if(K.priority){if(K.priority.length===0||typeof K.priority.length==="undefined"){return false}else{return true}}else{C="priority should be present when mode is MANUAL.";return false}}else{if(K.priority){C="This priority is available only if mode is : Signage.FailoverMode.MANUAL";return false}else{var J=false;g("Mode is: "+K.mode);for(var I in a.FailoverMode){if(K.mode===a.FailoverMode[I]){g("Matched with: "+a.FailoverMode[I]);J=true}}if(!J){g("Unrecognized failoverMode : "+K.mode);C="Unrecognized failoverMode : "+K.mode;return false}else{return true}}}}else{if(!K.priority){return true}else{g("Unrecognized failoverMode : "+K.mode);C="Unrecognized failoverMode : "+K.mode;return false}}}else{C="Fail over mode not set : ";return false}}if(y(G)){var E=G.failoverMode;if(!E.mode&&!E.priority){z()}else{if(E.mode===a.FailoverMode.MANUAL){x.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"setManualFailoverPrioirty",parameters:{priority:E.priority},onSuccess:function(H){g("onSuccess!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");if(H.returnValue){z()}else{g("FAILED: "+H.errorText);B({errorCode:H.errorCode,errorText:H.errorText})}},onFailure:function(H){g("onFailure!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");g("FAILED: "+H.errorText);B({errorCode:H.errorCode,errorText:H.errorText})}})}else{if(E.mode){var F=E.mode;g("mode: "+E.mode);A[n.FAILOVER_MODE]=F;g("Set: "+JSON.stringify(A,null,3));e("commercial",A,z,B);g("setFailoverMode Done")}else{var D={errorCode:"BAD_PARAMETER",errorText:"Mode should be set."};B(D)}}}}else{var D={errorCode:"BAD_PARAMETER",errorText:C};B(D)}};a.prototype.getFailoverMode=function(y,z){try{x.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"getFailoverPrioirty",parameters:{},onSuccess:function(B){g("onSuccess!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");if(B.returnValue){y({priority:B.priority,mode:B.mode})}else{g("FAILED: "+B.errorText);z({errorCode:B.errorCode,errorText:B.errorText})}},onFailure:function(B){g("onFailure!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");g("FAILED: "+B.errorText);z({errorCode:B.errorCode,errorText:B.errorText})}})}catch(A){g("EXCEPTION!!!!!!!!!!!!!!!!!"+A)}};function u(A,y){var z=typeof A;g("mytype: "+z);g("type: "+y);if(z==="undefined"){return true}else{if(z===y){return A}else{return false}}}a.prototype.setTileInfo=function(z,E,G){var F;var y=function(R){var H=typeof R.tileInfo.enabled;g("enabledType:"+H);if(H!=="undefined"&&H!=="boolean"){F="enabled should be a boolean";return false}var Q=R.tileInfo.row;var J=u(Q,"number");if(J===false){F="Invalid type for row"+Q;return false}else{if(J===true){g("Row is not defined")}else{if(Q>15||Q<1){F="row should be 0<n<16 but :"+Q;return false}}}var K=R.tileInfo.column;var M=u(K,"number");if(M===false){F="Invalid type for column"+K;return false}else{if(J===true){g("column is not defined")}else{if(K>15||K<1){F="column should be 0<n<16 but :"+K;return false}}}var I=R.tileInfo.tileId;var P=u(I,"number");if(P===false){F="Invalid type for "+K;return false}else{if(P===true){g("id is not defined")}else{if(I<1){F="tileId should be bigger than 0 but :"+I;return false}var N=p.row;if(Q){N=Q}var O=p.column;if(K){O=K}g("curRow : "+N);g("curCol : "+O);g("id : "+I);if(I>O*N){F="ID should be less than curRow*curCol";return false}}}var L=typeof R.tileInfo.naturalMode;if(L!=="undefined"&&L!=="boolean"){F="naturalMode should be a boolean";return false}return true};if(y(G)===true){var A=G.tileInfo;var C={};if(typeof A.enabled==="boolean"){if(A.enabled){C[n.TILE_MODE]="on"}else{C[n.TILE_MODE]="off"}}if(A.row){C[n.TILE_ROW]=A.row.toString()}if(A.column){C[n.TILE_COLUME]=A.column.toString()}if(A.tileId){C[n.TILE_ID]=A.tileId.toString()}if(typeof A.naturalMode==="boolean"){if(A.naturalMode){C[n.TILE_NATURALMODE]="on"}else{C[n.TILE_NATURALMODE]="off"}}g("Set: "+JSON.stringify(C,null,3));var D=function(){g("Do callback!!!!!!!!");if(A.row){p.row=A.row}if(A.column){p.column=A.column}if(z&&typeof z==="function"){g("Invoke successCallback");z();g("Invoked successCallback")}};e("commercial",C,D,E);g("setTileInfo Done")}else{var B={errorCode:"BAD_PARAMETER",errorText:F};E(B)}};function l(y){if(y==="on"){return true}else{if(y==="off"){return false}else{return false}}}a.prototype.getTileInfo=function(y,z){var B=function(C){var D={};g("settings Value: "+JSON.stringify(C,null,3));D.enabled=l(C[n.TILE_MODE]);D.row=parseInt(C[n.TILE_ROW],10);D.column=parseInt(C[n.TILE_COLUME],10);D.tileId=parseInt(C[n.TILE_ID],10);D.naturalMode=l(C[n.TILE_NATURALMODE]);g("Return Value: "+JSON.stringify(D,null,3));return D};var A=[n.TILE_MODE,n.TILE_ROW,n.TILE_COLUME,n.TILE_ID,n.TILE_NATURALMODE];r("commercial",A,B,y,z)};a.prototype.getSignageInfo=function(y,z){x.Request("luna://com.webos.service.commercial.signage.storageservice/",{method:"getSignageInformation",parameters:{},onSuccess:function(A){if(typeof y==="function"){console.log(A.signageInfo);y(A.signageInfo)}},onFailure:function(A){delete A.returnValue;if(typeof z==="function"){z(A)}}})};a.prototype.setIsmMethod=function(y,z,C){var E={};var B;function A(G){if(G.ismMethod){for(var H in a.IsmMethod){if(G.ismMethod===a.IsmMethod[H]){return true}}B="Unrecognized ismMethod : "+G.ismMethod;return false}else{B="ismMethod does not exist.";return false}}if(A(C)){if(C.ismMethod){var D=C.ismMethod;g("ismMethod : "+D);E[n.ISM_METHOD]=D}g("Set: "+JSON.stringify(E,null,3));e("commercial",E,y,z);g("setIsmMethod Done")}else{var F={errorCode:"BAD_PARAMETER",errorText:B};z(F)}};a.prototype.setDigitalAudioInputMode=function(y,z,C){var D={};var B;function A(F){if(F.digitalAudioInputList){for(var G in F.digitalAudioInputList){if(G){var J=F.digitalAudioInputList[G];var I=false;for(var H in a.DigitalAudioInput){if(J===a.DigitalAudioInput[H]){I=true}}if(!I){B="Invalid Audio Input : "+J;return false}}}return true}else{B="digitalAudioInputList does not exist.";return false}}if(A(C)){x.Request("luna://com.webos.service.commercial.signage.storageservice/",{method:"setDigitalAudioInputList",parameters:{digitalAudioInputList:C.digitalAudioInputList},onSuccess:function(){if(typeof y==="function"){y()}},onFailure:function(F){delete F.returnValue;if(typeof z==="function"){z(F)}}})}else{var E={errorCode:"BAD_PARAMETER",errorText:B};z(E)}};var v=false;a.prototype.registerSystemMonitor=function(z,D,H){var G=["fan","signal","lamp","screen","temperature"];var E;var F="BAD_PARAMETER";g("Listeners are: "+JSON.stringify(j,null,3));function y(I){if(v===true){E="Not ready to register monitor now.";F="SYSTEM_ERROR";return false}g("options are: "+JSON.stringify(I,null,3));if(typeof I.eventHandler!=="function"){E="No event handler was given or event hadnler is not a function";return false}if(I.monitorConfiguration){for(var K in I.monitorConfiguration){if(K){var M=false;for(var J=0;J<G.length;++J){if(K===G[J]){g("Found key: "+G[J]);M=true}}if(!M){E="Invalid Monitoring source : "+K;return false}var L=I.monitorConfiguration[K];g("value: "+L);if(typeof L!=="boolean"){E="Invalid value : "+L;return false}}}return true}else{E="monitorConfiguration does not exist.";return false}}if(y(H)){var B=function(){g("Canceled all previous message subscriptions");var J=H.eventHandler;for(var I in H.monitorConfiguration){if(I){var K=H.monitorConfiguration[I];if(K===true){g("Add listener for : "+I);k(I,J)}}}g("Monitoring Setup : "+JSON.stringify(j,null,3));g("Start Polling : ");x.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"systemMonitor/startMonitor",parameters:{},onSuccess:function(L){g("On Success");if(L.returnValue===true){if(z&&typeof z==="function"){z()}}else{if(D&&typeof D==="function"){D(L)}}v=false},onFailure:function(L){g("On Failure");delete L.returnValue;if(D&&typeof D==="function"){D(L)}v=false}})};var A=function(I){D(I)};g("Cancel all previous message subscriptions");v=true;b(B,A)}else{var C={errorCode:F,errorText:E};D(C)}};a.prototype.unregisterSystemMonitor=function(y,z){b(y,z);g("After unregister, _gSystemMonitoringSetup are: "+JSON.stringify(j,null,3))};function b(y,z){g("cancelAllSubscription> setup are: "+JSON.stringify(j,null,3));for(var A in j){if(A){s(A)}}g("Stop Polling");x.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"systemMonitor/stopMonitor",parameters:{},onSuccess:function(B){g("On Success");if(B.returnValue===true){if(y&&typeof y==="function"){y()}}else{if(z&&typeof z==="function"){z(B)}}},onFailure:function(B){g("On Failure");delete B.returnValue;if(z&&typeof z==="function"){z(B)}}})}a.prototype.getSystemMonitoringInfo=function(y,z){if(j){y({fan:j.fan.getEvent,signal:j.signal.getEvent,lamp:j.lamp.getEvent,screen:j.screen.getEvent,temperature:j.temperature.getEvent})}else{var A={errorCode:"ERROR",errorText:"Failed to get system monitoring setup"};z(A)}};a.prototype.setPowerSaveMode=function(y,z,C){var D={};var B;function A(F){if(F.powerSaveMode){for(var G in F.powerSaveMode){if(G){var H=F.powerSaveMode[G];if(G==="ses"||G==="do15MinOff"){if(typeof H!=="boolean"){B="Invalid value : "+H;return false}}else{if(G==="automaticStandby"){if(!q(a.AutomaticStandbyMode,H)){B="Invalid automaticStandby value : "+H;return false}}else{if(G==="dpmMode"){if(!q(a.DpmMode,H)){B="Invalid dpmMode value : "+H;return false}}else{B="Unknown value : "+G;return false}}}}}return true}else{B="powerSaveMode does not exist.";return false}}if(A(C)){console.log(C.powerSaveMode);x.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"setPowerSaveMode",parameters:{mode:C.powerSaveMode},onSuccess:function(F){g("onSuccess!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");if(F.returnValue){y(F.mode)}else{g("FAILED: "+F.errorText);z({errorCode:F.errorCode,errorText:F.errorText})}},onFailure:function(F){g("onFailure!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");g("FAILED: "+F.errorText);z({errorCode:F.errorCode,errorText:F.errorText})}})}else{var E={errorCode:"BAD_PARAMETER",errorText:B};z(E)}};a.prototype.getPowerSaveMode=function(B,C){var A=false;var z=false;var D=false;var F=false;var y="";var E="";x.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"getPowerSaveMode",parameters:{},onSuccess:function(G){g("onSuccess!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");if(G.returnValue){B(G.mode)}else{g("FAILED: "+G.errorText);C({errorCode:G.errorCode,errorText:G.errorText})}},onFailure:function(G){g("onFailure!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");g("FAILED: "+G.errorText);C({errorCode:G.errorCode,errorText:G.errorText})}})};a.prototype.setUsagePermission=function(z,C,G){var B={};var D;function y(H){if(H){g("Options: "+JSON.stringify(H,null,3))}else{g("Options not defined: "+H)}if(H.policy){for(var I in H.policy){if(I){var J=H.policy[I];if(I==="remoteKeyOperationMode"||I==="localKeyOperationMode"){if(!q(a.KeyOperationMode,J)){D="Invalid KeyOperationMode value : "+J;return false}}else{D="Unknown value : "+I;return false}}}return true}else{D="policy does not exist.";return false}}if(y(G)){if(G.policy.localKeyOperationMode){var F=G.policy.localKeyOperationMode;g("portraitMode: "+F);B[n.LOCALKEY_OPERATION_MODE]=F}if(G.policy.remoteKeyOperationMode){var E=G.policy.remoteKeyOperationMode;g("portraitMode: "+E);B[n.IR_OPERATION_MODE]=E}g("Set: "+JSON.stringify(B,null,3));e("hotelMode",B,z,C);g("setPolicy Done")}else{var A={errorCode:"BAD_PARAMETER",errorText:D};C(A)}};a.prototype.getUsagePermission=function(y,z){var B=function(C){var D={};g("settings: "+JSON.stringify(C,null,3));D.remoteKeyOperationMode=C[n.IR_OPERATION_MODE];D.localKeyOperationMode=C[n.LOCALKEY_OPERATION_MODE];g("cbObj: "+JSON.stringify(D,null,3));return D};var A=[n.IR_OPERATION_MODE,n.LOCALKEY_OPERATION_MODE];r("hotelMode",A,B,y,z)};a.prototype.getUsageData=function(y,z){var A=false;var B=false;var D={uptime:false,totalUsed:false};function C(){g("accessResult!!!!!!!!!!!!!!!!!!");if(A===true&&B===true){g("CB Object: "+JSON.stringify(D,null,3));if(D.uptime===false||D.totalUsed===false){z({errorCode:"CORDOVA_FAIL",errorText:"Failed to get usage data"});return}else{g("SUCCESS!!!!!!!!!!!!!!!!!!");y(D);return}}else{g("Not Yet!!!!!!!!!!!!!!!!!!")}}x.Request("luna://com.webos.service.tv.signage/",{method:"getUTT",parameters:{},onSuccess:function(E){g("On getUTT Success");A=true;if(E.returnValue===true){g("UTT is :"+E.UTT);D.totalUsed=E.UTT}C()},onFailure:function(E){g("On getUTT Failure :"+JSON.stringify(E,null,3));A=true;C()}});x.Request("luna://com.webos.service.tv.signage/",{method:"dsmp/getElapsedTime",parameters:{},onSuccess:function(E){g("On getElapsedTime Success");B=true;g("result: "+JSON.stringify(E,null,3));if(E.returnValue===true){var F=E.elapsedTime;g("Elapsed!!: "+F);D.uptime=F}C()},onFailure:function(E){g("On getSystemSettings Failure "+JSON.stringify(E,null,3));B=true;C()}})};a.prototype.captureScreen=function(y,z,A){var B={save:(A==undefined||A==null||A.save==undefined?false:A.save)};if(A!==undefined&&A!==null&&A.thumbnail!==undefined&&A.thumbnail===true){B.width=128;B.height=72}x.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"captureScreen",parameters:B,onSuccess:function(C){g("On Success");if(C.returnValue===true){y({data:C.data,size:C.size,encoding:C.encoding})}else{z({errorCode:C.errorCode,errorText:C.errorText})}},onFailure:function(C){g("On Failure");z({errorCode:C.errorCode,errorText:C.errorText})}})};a.prototype.addEventListener=k;a.prototype.removeEventListener=s;c.exports=a});Signage=cordova.require("cordova/plugin/signage");
|
package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.2/sound.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
cordova.define("cordova/plugin/sound",function(e,c,f){function g(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.webos.service.commercial.signage.storageservice/settings/",{method:"get",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"||isNaN(k.level)||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.webos.service.commercial.signage.storageservice/settings/",{method:"set",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");
|
package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.2/storage.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
cordova.define("cordova/plugin/storage",function(d,h,b){var i;function f(k){}
|
|
2
|
+
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?"})}}}}
|
|
3
|
+
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]||""}
|
|
4
|
+
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}
|
|
5
|
+
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}}}
|
|
6
|
+
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}}
|
|
7
|
+
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}
|
|
8
|
+
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}}
|
|
9
|
+
var j=function(){};j.MAX_BUFFER_LENGTH=1024*10;j.AppMode={USB:"usb",LOCAL:"local"};j.prototype.downloadFirmware=function(k,l,m){i.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"downloadFirmware",parameters:{uri:m.uri},onSuccess:function(n){if(n.returnValue===true){k()}else{l({errorCode:n.errorCode,errorText:n.errorText})}},onFailure:function(n){l({errorCode:n.errorCode,errorText:n.errorText})}})};j.prototype.upgradeFirmware=function(k,l){i.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"upgradeFirmware",parameters:{},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.getFirmwareUpgradeStatus=function(k,l){i.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"getFirmwareUpgradeStatus",parameters:{},onSuccess:function(m){if(m.returnValue===true){k({status:m.status,upgradeProgress:m.upgradeProgress,downloadProgress:m.downloadProgress})}else{l({errorCode:m.errorCode,errorText:m.errorText})}},onFailure:function(m){l({errorCode:m.errorCode,errorText:m.errorText})}})};j.prototype.changeLogoImage=function(k,l,m){i.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"changeLogoImage",parameters:{uri:m.uri},onSuccess:function(n){if(n.returnValue===true){k()}else{l({errorCode:n.errorCode,errorText:n.errorText})}},onFailure:function(n){l({errorCode:n.errorCode,errorText:n.errorText})}})};j.prototype.upgradeApplication=function(k,l,m){i.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"upgradeApplication",parameters:{from:"remote",to:(m==undefined||m==null?j.AppMode.LOCAL:m.to),recovery:(m==undefined||m==null?false:m.recovery)},onSuccess:function(n){if(n.returnValue===true){setTimeout(function(){k();},3000);}else{l({errorCode:n.errorCode,errorText:n.errorText})}},onFailure:function(n){l({errorCode:n.errorCode,errorText:n.errorText})}})};j.prototype.removeApplication=function(k,l,m){i.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"removeApplication",parameters:{to:m.to},onSuccess:function(n){if(n.returnValue===true){k()}else{l({errorCode:n.errorCode,errorText:n.errorText})}},onFailure:function(n){l({errorCode:n.errorCode,errorText:n.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}
|
|
10
|
+
if(m.maxRedirection&&m.maxRedirection>5){f("Bad options");l({errorCode:"BAD_PARAM",errorText:"Redirect cannot be more that 5"});return}
|
|
11
|
+
i.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"fs/copyFile",parameters:{dest:m.destination,src:m.source,maxRedirection:m.maxRedirection},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){if(typeof m.file!=="string"){l({errorCode:"BAD_PARAM",errorText:"options.file is a mandatory parameter"});return}
|
|
12
|
+
var n={file:m.file};if(m.recursive===true){n.recursive=true}
|
|
13
|
+
i.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"fs/removeFile",parameters:n,onSuccess:function(o){f("onSuccess");if(o.returnValue===true){k()}else{l({errorCode:o.errorCode,errorText:o.errorText})}},onFailure:function(o){f("onFailure");l({errorCode:o.errorCode,errorText:o.errorText})}})};j.prototype.listFiles=function(k,l,m){var n={};if(m&&m.path){n.pathURI=m.path}else{n.pathURI="file://internal/"}
|
|
14
|
+
i.Request("luna://com.webos.service.commercial.signage.storageservice/",{method:"fs/listFiles",parameters:n,onSuccess:function(o){if(o.returnValue===true){var q=[];for(var p=0;p<o.files.length;++p){f(o.files[p]);var s={name:o.files[p].name,type:(o.files[p].type==="folder")?"folder":"file",size:o.files[p].size};q.push(s)}
|
|
15
|
+
var r={files:q,totalCount:o.totalCount};k(r)}else{l({errorCode:o.errorCode,errorText:o.errorText})}},onFailure:function(o){l({errorCode:o.errorCode,errorText:o.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,externalMemory:m.externalStorage};k(n)}else{l({errorCode:m.errorCode,errorText:m.errorText})}},onFailure:function(m){l({errorCode:m.errorCode,errorText:m.errorText})}})};j.prototype.mkdir=function(k,l,m){if(typeof m.path!=="string"){l({errorCode:"BAD_PARAM",errorText:"options.path is a mandatory parameter"});return}
|
|
16
|
+
var n={pathURI:m.path};i.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"fs/mkdir",parameters:n,onSuccess:function(o){f("onSuccess");if(o.returnValue===true){k()}else{l({errorCode:o.errorCode,errorText:o.errorText})}},onFailure:function(o){f("onFailure");l({errorCode:o.errorCode,errorText:o.errorText})}})};j.prototype.exists=function(k,l,m){if(typeof m.path!=="string"){f("BAD_PARAM");l({errorCode:"BAD_PARAM",errorText:"options.path is a mandatory parameter"});return}
|
|
17
|
+
var n={pathURI:m.path};i.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"fs/exists",parameters:n,onSuccess:function(o){f("onSuccess");if(o.returnValue===true){f("returned : "+JSON.stringify(o,null,3));var p={exists:o.exists};k(p)}else{l({errorCode:o.errorCode,errorText:o.errorText})}},onFailure:function(o){f("onFailure");l({errorCode:o.errorCode,errorText:o.errorText})}})};j.prototype.readFile=function(k,l,m){if(!m){l({errorCode:"BAD_PARAM",errorText:"options.path is a mandatory parameter"})}else{if(!m.path){l({errorCode:"BAD_PARAM",errorText:"options.path is a mandatory parameter"})}else{if(m.length&&(m.length>j.MAX_BUFFER_LENGTH||m.length<1)){l({errorCode:"BAD_PARAM",errorText:"length should be > 0 and < "+j.MAX_BUFFER_LENGTH})}else{if(m.position&&(m.position<0)){l({errorCode:"BAD_PARAM",errorText:"position should be > 0"})}else{var n={};n.path=m.path,n.length=m.length?m.length:j.MAX_BUFFER_LENGTH;n.position=m.position?m.position:0;n.encoding=m.encoding?m.encoding:"utf-8";i.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"fs/readFile",parameters:n,onSuccess:function(o){if(o.returnValue){if(n.encoding==="binary"){var p=o.data;var r=new Uint8Array(p.length);for(var q=0;q<p.length;++q){r[q]=p[q]}
|
|
18
|
+
k({data:r.buffer})}else{k({data:o.data})}}else{l({errorCode:o.errorCode,errorText:o.errorText})}},onFailure:function(o){l({errorCode:o.errorCode,errorText:o.errorText})}})}}}}};j.prototype.writeFile=function(m,r,y){if(!y){r({errorCode:"BAD_PARAM",errorText:"options.path is a mandatory parameter"})}else{if(!y.path){r({errorCode:"BAD_PARAM",errorText:"options.path is a mandatory parameter"})}else{if(!y.data){r({errorCode:"BAD_PARAM",errorText:"options.data is a mandatory parameter"})}else{if(y.mode&&(y.mode!=="truncate"&&y.mode!=="append"&&y.mode!=="position")){r({errorCode:"BAD_PARAM",errorText:"mode should be 'truncate'|'append'|'position'"})}else{if(y.position&&(y.position<0)){r({errorCode:"BAD_PARAM",errorText:"position should be > 0"})}else{if(y.offset&&(y.offset<0)){r({errorCode:"BAD_PARAM",errorText:"offset should be > 0"})}else{if(y.length&&(y.length>j.MAX_BUFFER_LENGTH||y.length<1)){r({errorCode:"BAD_PARAM",errorText:"length should be > 0 and < "+j.MAX_BUFFER_LENGTH})}else{if(y.encoding&&(y.encoding!=="utf8"&&y.encoding!=="binary"&&y.encoding!=="base64")){r({errorCode:"BAD_PARAM",errorText:"Invalid encoding: "+y.encoding})}else{f("REQUEST!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");var o={};o.path=y.path;o.mode=y.mode?y.mode:"truncate";o.position=y.position?y.position:0;o.encoding=y.encoding?y.encoding:"utf8";var p=y.offset?y.offset:0;if(o.encoding==="binary"){f("binary, size is: "+y.data.byteLength);var l=new Uint8Array(y.data);f("uint8View: "+l);var k=y.length?y.length:j.MAX_BUFFER_LENGTH;var t=[];var s=0;for(var q=p;q<l.length&&s<k;++q,s++){t[s]=l[q]}
|
|
19
|
+
f("array length: "+s);o.data=t;o.length=s;o.offset=0}else{if(o.encoding==="base64"){var k=y.length?y.length:j.MAX_BUFFER_LENGTH;f("base64, size is: "+y.data.length);var w=y.data;var x=window.atob(w);var v=x.substring(p,p+k);var u=new Uint8Array(v.length);for(q=0;q<v.length;q++){u[q]=v.charCodeAt(q)}
|
|
20
|
+
var t=[];for(var q=0;q<u.length;++q){t[q]=u[q]}
|
|
21
|
+
o.data=t;o.length=t.length;o.offset=0}else{var k=y.length?y.length:j.MAX_BUFFER_LENGTH;o.data=y.data.substring(p,p+k);o.length=o.data.length;o.offset=0}}
|
|
22
|
+
try{i.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"fs/writeFile",parameters:o,onSuccess:function(z){f("onSuccess!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");if(z.returnValue){m({written:z.written})}else{f("FAILED: "+z.errorText);r({errorCode:z.errorCode,errorText:z.errorText})}},onFailure:function(z){f("onFailure!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");f("FAILED: "+z.errorText);r({errorCode:z.errorCode,errorText:z.errorText})}})}catch(n){f("EXCEPTION!!!!!!!!!!!!!!!!!"+n)}}}}}}}}}};j.prototype.statFile=function(k,l,m){if(!m){l({errorCode:"BAD_PARAM",errorText:"options.path is a mandatory parameter"})}else{if(!m.path){l({errorCode:"BAD_PARAM",errorText:"options.path is a mandatory parameter"})}else{try{i.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"fs/statFile",parameters:{path:m.path},onSuccess:function(o){f("onSuccess!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");if(o.returnValue){k(o.stat)}else{f("FAILED: "+o.errorText);l({errorCode:o.errorCode,errorText:o.errorText})}},onFailure:function(o){f("onFailure!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");f("FAILED: "+o.errorText);l({errorCode:o.errorCode,errorText:o.errorText})}})}catch(n){f("EXCEPTION!!!!!!!!!!!!!!!!!"+n)}}}};j.prototype.removeAll=function(k,l,m){if(!m){l({errorCode:"BAD_PARAM",errorText:"options.device is a mandatory parameter"})}else{if(!m.device){l({errorCode:"BAD_PARAM",errorText:"options.device is a mandatory parameter"})}else{try{i.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"fs/removeAll",parameters:{device:m.device},onSuccess:function(o){f("onSuccess!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");if(o.returnValue){k()}else{f("FAILED: "+o.errorText);l({errorCode:o.errorCode,errorText:o.errorText})}},onFailure:function(o){f("onFailure!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");f("FAILED: "+o.errorText);l({errorCode:o.errorCode,errorText:o.errorText})}})}catch(n){f("EXCEPTION!!!!!!!!!!!!!!!!!"+n)}}}};j.prototype.fsync=function(k,l,m){try{var o={};if(m&&m.path){o.path=m.path}
|
|
23
|
+
i.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"fs/fsyncFile",parameters:o,onSuccess:function(p){f("onSuccess!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");if(p.returnValue){k()}else{f("FAILED: "+p.errorText);l({errorCode:p.errorCode,errorText:p.errorText})}},onFailure:function(p){f("onFailure!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");f("FAILED: "+p.errorText);l({errorCode:p.errorCode,errorText:p.errorText})}})}catch(n){f("EXCEPTION!!!!!!!!!!!!!!!!!"+n)}};j.prototype.moveFile=function(k,l,m){if(!m){l({errorCode:"BAD_PARAM",errorText:"options.path is a mandatory parameter"})}else{if(!m.oldPath){l({errorCode:"BAD_PARAM",errorText:"options.oldpath is a mandatory parameter"})}else{if(!m.newPath){l({errorCode:"BAD_PARAM",errorText:"options.newPath is a mandatory parameter"})}else{try{i.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"fs/moveFile",parameters:{oldPath:m.oldPath,newPath:m.newPath},onSuccess:function(o){f("onSuccess!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");if(o.returnValue){k()}else{f("FAILED: "+o.errorText);l({errorCode:o.errorCode,errorText:o.errorText})}},onFailure:function(o){f("onFailure!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");f("FAILED: "+o.errorText);l({errorCode:o.errorCode,errorText:o.errorText})}})}catch(n){f("EXCEPTION!!!!!!!!!!!!!!!!!"+n)}}}}};j.prototype.unzipFile=function(k,l,m){if(!m){l({errorCode:"BAD_PARAM",errorText:"options.path is a mandatory parameter"})}else{if(!m.zipPath){l({errorCode:"BAD_PARAM",errorText:"options.zipPath is a mandatory parameter"})}else{if(!m.targetPath){l({errorCode:"BAD_PARAM",errorText:"options.targetPath is a mandatory parameter"})}else{try{i.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"fs/unzip",parameters:{zipPath:m.zipPath,targetPath:m.targetPath},onSuccess:function(o){f("onSuccess!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");if(o.returnValue){k()}else{f("FAILED: "+o.errorText);l({errorCode:o.errorCode,errorText:o.errorText})}},onFailure:function(o){f("onFailure!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");f("FAILED: "+o.errorText);l({errorCode:o.errorCode,errorText:o.errorText})}})}catch(n){f("EXCEPTION!!!!!!!!!!!!!!!!!"+n)}}}}};b.exports=j});Storage=cordova.require("cordova/plugin/storage");
|
package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.2/video.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
cordova.define("cordova/plugin/video",function(e,d,f){function g(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"||isNaN(k.source.x)||isNaN(k.source.y)||isNaN(k.source.width)||isNaN(k.source.height)||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(e,t,r){function n(e){}function o(e,t,r){(void 0===e.errorCode||null===e.errorCode)&&(e.errorCode=t),(void 0===e.errorText||null===e.errorText)&&(e.errorText=r)}function i(e){null===a?u.Request("luna://com.webos.service.tv.systemproperty",{method:"getSystemInfo",parameters:{keys:["sdkVersion"]},onSuccess:function(t){n("getPlatformInfo: onSuccess");var r=t.sdkVersion.split(".");a=r.length>=1&&"1"===r[0]?1:r.length>=1&&"2"===r[0]?2:0,delete t.returnValue,e(a)},onFailure:function(t){n("getPlatformInfo: onFailure"),delete t.returnValue,a=0,e(a)}}):e(a)}var u;window.PalmSystem?(n("Window.PalmSystem Available"),u=e("cordova/plugin/webos/service")):u={Request:function(e,t){n(e+" invoked. But I am a dummy because PalmSystem is not available"),"function"==typeof t.onFailure&&t.onFailure({returnValue:!1,errorText:"PalmSystem Not Available. Cordova is not installed?"})}};var s=function(){};s.PictureMode={VIVID:"vivid",STANDARD:"normal",APS:"eco",CINEMA:"cinema",GAME:"game",SPORTS:"sports",EXPERT1:"expert1",EXPERT2:"expert2"},s.AppMode={LOCAL:"local",USB:"usb",REMOTE:"remote"};var a=null;s.prototype.setPictureMode=function(e,t,r){n("setPictureMode: "+JSON.stringify(r)),u.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"picture",settings:{pictureMode:r.mode}},onSuccess:function(t){n("setPictureMode: On Success"),t.returnValue===!0&&"function"==typeof e&&e()},onFailure:function(e){n("setPictureMode: On Failure"),delete e.returnValue,"function"==typeof t&&(o(e,"CSPM","Configuration.setPictureMode returns failure."),t(e))}}),n("Configuration.setPictureMode Done")},s.prototype.getPictureMode=function(e,t){n("getPictureMode: "),u.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"picture",keys:["pictureMode"]},onSuccess:function(t){if(n("getPictureMode: On Success"),t.returnValue===!0&&"function"==typeof e){var r={};r.mode=t.settings.pictureMode,e(r)}},onFailure:function(e){n("getPictureMode: On Failure"),delete e.returnValue,"function"==typeof t&&(o(e,"CGPM","Configuration.getPictureMode returns failure."),t(e))}}),n("Configuration.getPictureMode Done")},s.prototype.setPictureProperty=function(e,t,r){n("setPictureProperty: "+JSON.stringify(r)),i(function(i){var s={};for(var a in r)if(void 0!==a&&null!==a)if(s[a]=r[a],"tint"===a||"colorTemperature"===a)s[a]-=50;else if("blackLevel"===a){if(s[a]={unknown:r[a]},"low"!==r[a]&&"high"!==r[a]){n("setPictureProperty: gamma value error "+JSON.stringify(r));var c={};return o(c,"CSPP","Configuration.setPictureProperty, There is No matched item : blackLevel."),void t(c)}}else"gamma"===a&&2===i&&"high"===r[a]&&(s[a]="high1");n(JSON.stringify(s)),u.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"picture",settings:s},onSuccess:function(t){n("setPictureProperty: On Success"),t.returnValue===!0&&"function"==typeof e&&e()},onFailure:function(e){n("setPictureProperty: On Failure"),delete e.returnValue,"function"==typeof t&&(o(e,"CSPP","Configuration.setPictureProperty returns failure."),t(e))}}),n("Configuration.setPictureProperty Done")})},s.prototype.getPictureProperty=function(e,t){n("getPictureProperty: "),u.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"picture",keys:["brightness","contrast","color","tint","backlight","sharpness","hSharpness","vSharpness","colorTemperature","dynamicContrast","superResolution","colorGamut","dynamicColor","noiseReduction","mpegNoiseReduction","blackLevel","gamma"]},onSuccess:function(t){if(n("getPictureProperty: On Success"),t.returnValue===!0&&"function"==typeof e){var r={};for(var o in t.settings)void 0!==o&&null!==o&&(r[o]=isNaN(t.settings[o])?t.settings[o]:Number(t.settings[o]),"tint"===o||"colorTemperature"===o?r[o]+=50:"blackLevel"===o&&(r[o]=t.settings[o].unknown));e(r)}},onFailure:function(e){n("getPictureProperty: On Failure"),delete e.returnValue,"function"==typeof t&&(o(e,"CGPP","Configuration.getPictureProperty returns failure."),t(e))}}),n("Configuration.getPictureProperty Done")};var c={alias:"signageName"};s.prototype.setProperty=function(e,t,r){n("setProperty: "+JSON.stringify(r));var i=JSON.parse(r),s={};for(var a in i)void 0!==c[a]&&(s[c[a]]=i[a]);u.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"commercial",settings:s},onSuccess:function(t){n("setProperty: On Success"),t.returnValue===!0&&"function"==typeof e&&e()},onFailure:function(e){n("setProperty: On Failure"),delete e.returnValue,"function"==typeof t&&(o(e,"CSP","Configuration.setProperty returns failure."),t(e))}}),n("Configuration.setProperty Done")},s.prototype.getProperty=function(e,t,r){n("getProperty: ");var i=JSON.parse(r),s=i.keys,a=[];for(var f in s)null!==f&&void 0!==f&&(n("key"+s[f]),a.push(c[s[f]]));n(a),u.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"commercial",keys:a},onSuccess:function(t){if(n("getProperty: On Success"),t.returnValue===!0&&"function"==typeof e){var r={};for(var o in s)(null!==o||void 0!==o)&&(n("key"+s[o]),(void 0!==t.settings[c[s[o]]]||null!==t.settings[c[s[o]]])&&(r[s[o]]=t.settings[c[s[o]]]));e(JSON.stringify(r))}},onFailure:function(e){n("getProperty: On Failure"),delete e.returnValue,"function"==typeof t&&(o(e,"CGP","Configuration.getProperty returns failure."),t(e))}}),n("Configuration.getProperty Done")},s.prototype.setCurrentTime=function(e,t,r){n("setCurrentTime: "+JSON.stringify(r));var i=new Date(r.year,r.month-1,r.day,r.hour,r.minute,r.sec);if((r.year<2e3||r.year>2037||i.getFullYear()!==r.year||i.getMonth()!==r.month-1||i.getDate()!==r.day||i.getHours()!==r.hour||i.getMinutes()!==r.minute||i.getSeconds()!==r.sec)&&"function"==typeof t){n("setCurrentTime: out of range or invalid parameter type");var s={};return o(s,"CSCT","Configuration.setCurrentTime returns failure for out of range."),void t(s)}n("setCurrentTime: "+i);var a=i.getTime()/1e3;u.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"setSystemTime",parameters:{utc:a,ntp:r.ntp},onSuccess:function(){n("setCurrentTime: On Success"),"function"==typeof e&&e()},onFailure:function(r){n("setCurrentTime: On Failure"),u.Request("luna://com.palm.systemservice/time/",{method:"setSystemTime",parameters:{utc:a},onSuccess:function(){n("setCurrentTime: On Success"),"function"==typeof e&&e()},onFailure:function(e){n("setCurrentTime: On Failure"),delete e.returnValue,"function"==typeof t&&(o(e,"CSCT","Configuration.setCurrentTime returns failure."),t(e))}})}}),n("Configuration.setCurrentTime Done")},s.prototype.getCurrentTime=function(e,t){n("getCurrentTime: "),u.Request("luna://com.palm.systemservice/time/",{method:"getEffectiveBroadcastTime",onSuccess:function(r){if(n("getCurrentTime : On Success"),r.returnValue===!0){var i={},s=new Date(1e3*r.adjustedUtc);i.year=s.getFullYear(),i.month=s.getMonth()+1,i.day=s.getDate(),i.hour=s.getHours(),i.minute=s.getMinutes(),i.sec=s.getSeconds(),u.Request("luna://com.palm.systemservice/",{method:"getPreferences",parameters:{keys:["useNetworkTime"]},onSuccess:function(u){n("getPreferences : On Success"),u.returnValue===!0?(i.ntp=u.useNetworkTime,"function"==typeof e&&e(i)):"function"==typeof t&&(o(r,"CGCT","Configuration.getCurrentTime returns failure."),t(r))},onFailure:function(e){n("getCurrentTime: On Failure"),delete e.returnValue,"function"==typeof t&&(o(e,"CGCT","Configuration.getCurrentTime returns failure."),t(e))}})}else"function"==typeof t&&(o(r,"CGCT","Configuration.getCurrentTime returns failure."),t(r))},onFailure:function(e){n("getCurrentTime: On Failure"),delete e.returnValue,"function"==typeof t&&(o(e,"CGCT","Configuration.getCurrentTime returns failure."),t(e))}}),n("Configuration.getCurrentTime Done")},s.prototype.restartApplication=function(e,t){n("restartApp: "),u.Request("luna://com.webos.service.commercial.signage.storageservice/",{method:"restart_application",onSuccess:function(t){n("restartApp: On Success"),"function"==typeof e&&e(t)},onFailure:function(e){n("restartApp: On Failure"),delete e.returnValue,"function"==typeof t&&(o(e,"CRA","Configuration.restartApp returns failure."),t(e))}}),n("Configuration.restartApp Done")},s.prototype.getServerProperty=function(e,t){n("getServerProperty: "),u.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"commercial",keys:["serverIpPort","siServerIp","secureConnection","appLaunchMode","fqdnAddr","fqdnMode","appType"]},onSuccess:function(t){if(n("getPictureProperty: On Success"),t.returnValue===!0&&"function"==typeof e){var r={};r.serverIp=t.settings.siServerIp,r.serverPort=parseInt(t.settings.serverIpPort,10),r.secureConnection="off"===t.settings.secureConnection?!1:!0,r.appLaunchMode=t.settings.appLaunchMode,r.fqdnMode="off"===t.settings.fqdnMode?!1:!0,r.fqdnAddr=t.settings.fqdnAddr,r.appType=t.settings.appType,e(r)}},onFailure:function(e){n("getServerProperty: On Failure"),delete e.returnValue,"function"==typeof t&&(o(e,"CGSP","Configuration.getServerProperty returns failure."),t(e))}}),n("Configuration.getServerProperty Done")},s.prototype.setServerProperty=function(e,t,r){if(n("setServerProperty: "+JSON.stringify(r)),(void 0===r||"string"!=typeof r.serverIp||/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/.test(r.serverIp)===!1||isNaN(r.serverPort)||r.serverPort<0||r.serverPort>65535||"number"!=typeof r.serverPort||"boolean"!=typeof r.secureConnection||"string"!=typeof r.appLaunchMode||r.appLaunchMode!==s.AppMode.USB&&r.appLaunchMode!==s.AppMode.LOCAL&&r.appLaunchMode!==s.AppMode.REMOTE||"boolean"!=typeof r.fqdnMode||"string"!=typeof r.fqdnAddr||"string"==typeof r.appType&&"zip"!==r.appType&&"ipk"!==r.appType)&&"function"==typeof t){var i={};return o(i,"CSSP","Configuration.setServerProperty, Invalid parameters."),n("options.serverIp : "+typeof r.serverIp+" options.serverPort : "+typeof r.serverPort+" options.secureConnection : "+typeof r.secureConnection+" options.appLaunchMode : "+typeof r.appLaunchMode+" options.fqdnMode : "+typeof r.fqdnMode+" options.fqdnAddr : "+r.fqdnAddr),void t(i)}var a={};a.siServerIp=r.serverIp,a.serverIpPort=r.serverPort+"",a.secureConnection=r.secureConnection===!0?"on":"off",a.appLaunchMode=r.appLaunchMode,a.fqdnMode=r.fqdnMode===!0?"on":"off",a.fqdnAddr=r.fqdnAddr,a.appType="string"==typeof r.appType?r.appType:"zip",n(JSON.stringify(a)),u.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"commercial",settings:a},onSuccess:function(t){n("setServerProperty: On Success"),t.returnValue===!0&&"function"==typeof e&&e()},onFailure:function(e){n("setServerProperty: On Failure"),delete e.returnValue,"function"==typeof t&&(o(e,"CSSP","Configuration.setServerProperty returns failure."),t(e))}}),n("Configuration.setServerProperty Done")},s.prototype.clearCache=function(e,t){n("clearCache: "),u.Request("luna://com.webos.service.commercial.signage.storageservice/",{method:"clearCache",onSuccess:function(t){n("clearCache: On Success"),"function"==typeof e&&e()},onFailure:function(e){n("clearCache: On Failure"),delete e.returnValue,"function"==typeof t&&(o(e,"CCC","Configuration.clearCache returns failure."),t(e))}}),n("Configuration.clearCache Done")},s.prototype.getTimeZoneList=function(e,t){n("getTimeZoneList: "),u.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"getTimeZoneList",onSuccess:function(t){n("getTimeZoneList: On Success"),t.returnValue===!0&&"function"==typeof e&&(delete t.returnValue,e(t))},onFailure:function(e){n("getTimeZoneList: On Failure"),delete e.returnValue,"function"==typeof t&&(o(e,"CGTL","Configuration.getTimeZoneList returns failure."),t(e))}}),n("Configuration.getTimeZoneList Done")},s.prototype.getTimeZone=function(e,t){n("getTimeZone: "),u.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"getTimeZone",onSuccess:function(t){n("getTimeZone: On Success"),t.returnValue===!0&&"function"==typeof e&&(delete t.returnValue,e(t))},onFailure:function(e){n("getTimeZone: On Failure"),delete e.returnValue,"function"==typeof t&&(o(e,"CGTZ","Configuration.getTimeZone returns failure."),t(e))}}),n("Configuration.getTimeZone Done")},s.prototype.setTimeZone=function(e,t,r){n("setTimeZone: "),u.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"setTimeZone",parameters:r,onSuccess:function(t){n("setTimeZone: On Success"),t.returnValue===!0&&"function"==typeof e&&(delete t.returnValue,e(t))},onFailure:function(e){n("setTimeZone: On Failure"),delete e.returnValue,"function"==typeof t&&(o(e,"CSTZ","Configuration.setTimeZone returns failure."),t(e))}}),n("Configuration.setTimeZone Done")},s.prototype.debug=function(e,t,r){n("debug: "+r.enabled),u.Request("luna://com.webos.service.commercial.signage.storageservice/",{method:"debug",parameters:{enabled:r.enabled},onSuccess:function(t){n("debug: On Success"),"function"==typeof e&&e(t)},onFailure:function(e){n("debug: On Failure"),delete e.returnValue,"function"==typeof t&&(o(e,"CD","Configuration.debug returns failure."),t(e))}}),n("Configuration.debug Done")},r.exports=s}),Configuration=cordova.require("cordova/plugin/configuration");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
cordova.define("cordova/plugin/deviceInfo",function(e,o,n){function t(e){}function r(e,o,n){(void 0===e.errorCode||null===e.errorCode)&&(e.errorCode=o),(void 0===e.errorText||null===e.errorText)&&(e.errorText=n)}var c;window.PalmSystem?(console.log("Window.PalmSystem Available"),c=e("cordova/plugin/webos/service")):c={Request:function(e,o){console.log(e+" invoked. But I am a dummy because PalmSystem is not available"),"function"==typeof o.onFailure&&o.onFailure({returnValue:!1,errorText:"PalmSystem Not Available. Cordova is not installed?"})}};var i=function(){};i.prototype.getNetworkInfo=function(e,o){t("getNetworkInfo: "),c.Request("luna://com.webos.service.commercial.signage.storageservice/network/",{method:"getNetworkInfo",parameters:{},onSuccess:function(o){"function"==typeof e&&(delete o.returnValue,e(o))},onFailure:function(n){t("getNetworkInfo: onFailure"),-1!==n.errorText.indexOf("Unknown method")?c.Request("luna://com.palm.connectionmanager",{method:"getstatus",parameters:{},onSuccess:function(o){t("getNetworkInfo: onSuccess"),delete o.returnValue,"function"==typeof e&&e(o)},onFailure:function(e){t("getNetworkInfo: onFailure"),delete e.returnValue,"function"==typeof o&&o(e)}}):(delete n.returnValue,"function"==typeof o&&o(n))}}),t("DeviceInfo.getNetworkInfo Done")},i.prototype.setNetworkInfo=function(e,o,n){t("setNetworkInfo: "),c.Request("luna://com.webos.service.commercial.signage.storageservice/network/",{method:"setNetworkInfo",parameters:n,onSuccess:function(o){t("setNetworkInfo: onSuccess"),"function"==typeof e&&e()},onFailure:function(e){t("setNetworkInfo: onFailure"),delete e.returnValue,"function"==typeof o&&o(e)}}),t("DeviceInfo.setNetworkInfo Done")},i.prototype.getBeaconInfo=function(e,o){t("getBeaconInfo: "),c.Request("luna://com.webos.service.commercial.signage.storageservice/network/",{method:"getBeaconInfo",parameters:{},onSuccess:function(o){t("getBeaconInfo: onSuccess"),delete o.returnValue,"function"==typeof e&&e(o)},onFailure:function(e){t("getBeaconInfo: onFailure"),delete e.returnValue,"function"==typeof o&&o(e)}}),t("DeviceInfo.getBeaconInfo Done")},i.prototype.setBeaconInfo=function(e,o,n){t("setBeaconInfo: ");var i=function(e){if("undefined"==typeof e||null===e||32!=e.length)return!1;var o=new RegExp(/^[a-fA-F0-9]*$/g);return null!==o.exec(e)?!0:!1};if(n.enabled===!0&&(i(n.uuid)===!1||isNaN(n.major)||n.major<0||n.major>65535||isNaN(n.minor)||n.minor<0||n.minor>65535)){if(t("setBeaconInfo: options are invalid."),"function"==typeof o){var s={};r(s,"DSBI","DeviceInfo.setBeaconInfo. Invalid options."),o(s)}}else c.Request("luna://com.webos.service.commercial.signage.storageservice/network/",{method:"setBeaconInfo",parameters:n,onSuccess:function(o){t("setBeaconInfo: onSuccess"),"function"==typeof e&&e()},onFailure:function(e){t("setBeaconInfo: onFailure"),delete e.returnValue,"function"==typeof o&&o(e)}}),t("DeviceInfo.setBeaconInfo Done")},i.prototype.getSoftApInfo=function(e,o){t("getSoftApInfo: "),c.Request("luna://com.webos.service.commercial.signage.storageservice/network/",{method:"getSoftApInfo",parameters:{},onSuccess:function(o){t("getSoftApInfo: onSuccess"),delete o.returnValue,"function"==typeof e&&e(o)},onFailure:function(e){t("getSoftApInfo: onFailure"),delete e.returnValue,"function"==typeof o&&o(e)}}),t("DeviceInfo.getSoftApInfo Done")},i.prototype.setSoftApInfo=function(e,o,n){if(t("setSoftApInfo: "),n.enabled===!0&&(null!==n.ssid&&n.ssid.length>32||null!==n.securityKey&&6!==n.securityKey.length)){if(t("setSoftApInfo: options are invalid."),"function"==typeof o){var i={};r(i,"DSSI","DeviceInfo.setSoftApInfo. Invalid options."),o(i)}}else c.Request("luna://com.webos.service.commercial.signage.storageservice/network/",{method:"setSoftApInfo",parameters:n,onSuccess:function(o){t("setSoftApInfo: onSuccess"),"function"==typeof e&&e()},onFailure:function(e){t("setSoftApInfo: onFailure"),delete e.returnValue,"function"==typeof o&&o(e)}}),t("DeviceInfo.setSoftApInfo Done")},i.prototype.getWifiList=function(e,o){t("getWifiList: "),c.Request("luna://com.webos.service.commercial.signage.storageservice/network/",{method:"getWifiList",parameters:{},onSuccess:function(o){t("getWifiList: onSuccess"),delete o.returnValue,"function"==typeof e&&e(o)},onFailure:function(e){t("getWifiList: onFailure"),delete e.returnValue,"function"==typeof o&&o(e)}}),t("DeviceInfo.getWifiList Done")},i.prototype.connectWifi=function(e,o,n){t("connectWifi: "),c.Request("luna://com.webos.service.commercial.signage.storageservice/network/",{method:"connectWifi",parameters:n,onSuccess:function(o){t("connectWifi: onSuccess"),"function"==typeof e&&e()},onFailure:function(e){t("connectWifi: onFailure"),delete e.returnValue,"function"==typeof o&&o(e)}}),t("DeviceInfo.connectWifi Done")},i.prototype.startWps=function(e,o,n){t("startWps: "),c.Request("luna://com.webos.service.commercial.signage.storageservice/network/",{method:"startWps",parameters:n,onSuccess:function(o){t("startWps: onSuccess"),delete o.returnValue,"function"==typeof e&&e(o)},onFailure:function(e){t("startWps: onFailure"),delete e.returnValue,"function"==typeof o&&o(e)}}),t("DeviceInfo.startWps Done")},i.prototype.stopWps=function(e,o){t("stopWps: "),c.Request("luna://com.webos.service.commercial.signage.storageservice/network/",{method:"stopWps",parameters:{},onSuccess:function(o){t("stopWps: onSuccess"),"function"==typeof e&&e()},onFailure:function(e){t("stopWPS: onFailure"),delete e.returnValue,"function"==typeof o&&o(e)}}),t("DeviceInfo.stopWps Done")},i.prototype.getNetworkMacInfo=function(e,o){t("getNetworkMacInfo: "),c.Request("luna://com.webos.service.tv.signage",{method:"getinfo",parameters:{},onSuccess:function(o){t("getNetworkMacInfo: onSuccess"),delete o.returnValue,"function"==typeof e&&e(o)},onFailure:function(e){t("getNetworkMacInfo: onFailure"),delete e.returnValue,"function"==typeof o&&o(e)}}),t("DeviceInfo.getNetworkMacInfo Done")},i.prototype.getPlatformInfo=function(e,o){t("getPlatformInfo: "),c.Request("luna://com.webos.service.tv.systemproperty",{method:"getSystemInfo",parameters:{keys:["modelName","serialNumber","firmwareVersion","hardwareVersion","sdkVersion"]},onSuccess:function(o){t("getPlatformInfo: onSuccess"),o.manufacturer="LGE",o.sdkVersion="1.3.22102",delete o.returnValue,"function"==typeof e&&e(o)},onFailure:function(e){t("getPlatformInfo: onFailure"),delete e.returnValue,"function"==typeof o&&o(e)}}),t("DeviceInfo.getPlatformInfo Done")},i.prototype.getSystemUsageInfo=function(e,o,n){t("getSystemUsageInfo: "),c.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"getSystemUsageInfo",parameters:{cpus:n.cpus,memory:n.memory},onSuccess:function(n){if(n.returnValue===!0){var t={};"undefined"!=typeof n.memory&&(t.memory=n.memory),"undefined"!=typeof n.cpus&&(t.cpus=n.cpus),"function"==typeof e&&e(t)}else"function"==typeof o&&o({errorCode:n.errorCode,errorText:n.errorText})},onFailure:function(e){"function"==typeof o&&o({errorCode:e.errorCode,errorText:e.errorText})}}),t("DeviceInfo.getSystemUsageInfo Done")},n.exports=i}),DeviceInfo=cordova.require("cordova/plugin/deviceInfo");
|