@tryvital/vital-core-react-native 1.6.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (230) hide show
  1. package/android/.DS_Store +0 -0
  2. package/android/build/.transforms/38d6dcf5f4478590d01d42a63c816325/transformed/debug/com/vitalcorereactnative/ReactNativeBloodPressureSample.dex +0 -0
  3. package/android/build/.transforms/38d6dcf5f4478590d01d42a63c816325/transformed/debug/com/vitalcorereactnative/ReactNativeQuantitySample.dex +0 -0
  4. package/android/build/.transforms/38d6dcf5f4478590d01d42a63c816325/transformed/debug/com/vitalcorereactnative/ReactNativeTimeSeriesData$BloodPressure.dex +0 -0
  5. package/android/build/.transforms/38d6dcf5f4478590d01d42a63c816325/transformed/debug/com/vitalcorereactnative/ReactNativeTimeSeriesData$Companion.dex +0 -0
  6. package/android/build/.transforms/38d6dcf5f4478590d01d42a63c816325/transformed/debug/com/vitalcorereactnative/ReactNativeTimeSeriesData$Glucose.dex +0 -0
  7. package/android/build/.transforms/38d6dcf5f4478590d01d42a63c816325/transformed/debug/com/vitalcorereactnative/ReactNativeTimeSeriesData.dex +0 -0
  8. package/android/build/.transforms/38d6dcf5f4478590d01d42a63c816325/transformed/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$Companion.dex +0 -0
  9. package/android/build/.transforms/38d6dcf5f4478590d01d42a63c816325/transformed/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$cleanUp$1.dex +0 -0
  10. package/android/build/.transforms/38d6dcf5f4478590d01d42a63c816325/transformed/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$createConnectedSourceIfNotExist$1.dex +0 -0
  11. package/android/build/.transforms/38d6dcf5f4478590d01d42a63c816325/transformed/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$postTimeSeriesData$1.dex +0 -0
  12. package/android/build/.transforms/38d6dcf5f4478590d01d42a63c816325/transformed/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$userConnectedSources$1.dex +0 -0
  13. package/android/build/.transforms/38d6dcf5f4478590d01d42a63c816325/transformed/debug/com/vitalcorereactnative/VitalCoreReactNativeModule.dex +0 -0
  14. package/android/build/.transforms/38d6dcf5f4478590d01d42a63c816325/transformed/debug/com/vitalcorereactnative/VitalCoreReactNativeModuleKt$moshi$2.dex +0 -0
  15. package/android/build/.transforms/38d6dcf5f4478590d01d42a63c816325/transformed/debug/com/vitalcorereactnative/VitalCoreReactNativeModuleKt.dex +0 -0
  16. package/android/build/intermediates/compile_and_runtime_not_namespaced_r_class_jar/debugUnitTest/R.jar +0 -0
  17. package/android/build/intermediates/compile_library_classes_jar/debug/classes.jar +0 -0
  18. package/android/build/intermediates/library_java_res/debug/res.jar +0 -0
  19. package/android/build/intermediates/runtime_library_classes_dir/debug/META-INF/tryvital_vital-core-react-native_debug.kotlin_module +0 -0
  20. package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/ReactNativeBloodPressureSample.class +0 -0
  21. package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/ReactNativeQuantitySample.class +0 -0
  22. package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/ReactNativeTimeSeriesData$BloodPressure.class +0 -0
  23. package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/ReactNativeTimeSeriesData$Companion.class +0 -0
  24. package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/ReactNativeTimeSeriesData$Glucose.class +0 -0
  25. package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/ReactNativeTimeSeriesData.class +0 -0
  26. package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$Companion.class +0 -0
  27. package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$cleanUp$1.class +0 -0
  28. package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$createConnectedSourceIfNotExist$1.class +0 -0
  29. package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$postTimeSeriesData$1.class +0 -0
  30. package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$userConnectedSources$1.class +0 -0
  31. package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/VitalCoreReactNativeModule.class +0 -0
  32. package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/VitalCoreReactNativeModuleKt$moshi$2.class +0 -0
  33. package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/VitalCoreReactNativeModuleKt.class +0 -0
  34. package/android/build/intermediates/runtime_library_classes_jar/debug/classes.jar +0 -0
  35. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
  36. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
  37. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
  38. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
  39. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
  40. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
  41. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
  42. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
  43. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
  44. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
  45. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
  46. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
  47. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
  48. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
  49. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
  50. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
  51. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
  52. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
  53. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab +0 -0
  54. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
  55. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
  56. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
  57. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
  58. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
  59. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
  60. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
  61. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
  62. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
  63. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
  64. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
  65. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab +0 -0
  66. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.keystream +0 -0
  67. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.keystream.len +0 -0
  68. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.len +0 -0
  69. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.values.at +0 -0
  70. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab_i +0 -0
  71. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab_i.len +0 -0
  72. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
  73. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
  74. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
  75. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
  76. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
  77. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
  78. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
  79. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
  80. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
  81. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
  82. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
  83. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
  84. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
  85. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
  86. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
  87. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
  88. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
  89. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
  90. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
  91. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
  92. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
  93. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
  94. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
  95. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
  96. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +1 -1
  97. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
  98. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
  99. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
  100. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
  101. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
  102. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
  103. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
  104. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
  105. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
  106. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
  107. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
  108. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
  109. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
  110. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
  111. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
  112. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
  113. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values +0 -0
  114. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
  115. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.s +1 -0
  116. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
  117. package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
  118. package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
  119. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
  120. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
  121. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
  122. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
  123. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
  124. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
  125. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
  126. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
  127. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
  128. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
  129. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
  130. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
  131. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
  132. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
  133. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
  134. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
  135. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
  136. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
  137. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
  138. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
  139. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
  140. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
  141. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
  142. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
  143. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
  144. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
  145. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
  146. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
  147. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
  148. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
  149. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
  150. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
  151. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
  152. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
  153. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
  154. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
  155. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
  156. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
  157. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
  158. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
  159. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
  160. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
  161. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/counters.tab +2 -0
  162. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
  163. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
  164. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
  165. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
  166. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
  167. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
  168. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
  169. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
  170. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
  171. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
  172. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
  173. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
  174. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
  175. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
  176. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
  177. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
  178. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
  179. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
  180. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
  181. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
  182. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
  183. package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/last-build.bin +0 -0
  184. package/android/build/kotlin/compileDebugUnitTestKotlin/local-state/build-history.bin +0 -0
  185. package/android/build/reports/tests/testDebugUnitTest/classes/com.vitalcorereactnative.SerializationTests.html +101 -0
  186. package/android/build/reports/tests/testDebugUnitTest/css/base-style.css +179 -0
  187. package/android/build/reports/tests/testDebugUnitTest/css/style.css +84 -0
  188. package/android/build/reports/tests/testDebugUnitTest/index.html +133 -0
  189. package/android/build/reports/tests/testDebugUnitTest/js/report.js +194 -0
  190. package/android/build/reports/tests/testDebugUnitTest/packages/com.vitalcorereactnative.html +103 -0
  191. package/android/build/test-results/testDebugUnitTest/TEST-com.vitalcorereactnative.SerializationTests.xml +8 -0
  192. package/android/build/test-results/testDebugUnitTest/binary/output.bin +0 -0
  193. package/android/build/test-results/testDebugUnitTest/binary/output.bin.idx +0 -0
  194. package/android/build/test-results/testDebugUnitTest/binary/results.bin +0 -0
  195. package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  196. package/android/build/tmp/kotlin-classes/debug/META-INF/tryvital_vital-core-react-native_debug.kotlin_module +0 -0
  197. package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/ReactNativeBloodPressureSample.class +0 -0
  198. package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/ReactNativeQuantitySample.class +0 -0
  199. package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/ReactNativeTimeSeriesData$BloodPressure.class +0 -0
  200. package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/ReactNativeTimeSeriesData$Companion.class +0 -0
  201. package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/ReactNativeTimeSeriesData$Glucose.class +0 -0
  202. package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/ReactNativeTimeSeriesData.class +0 -0
  203. package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$Companion.class +0 -0
  204. package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$cleanUp$1.class +0 -0
  205. package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$createConnectedSourceIfNotExist$1.class +0 -0
  206. package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$postTimeSeriesData$1.class +0 -0
  207. package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$userConnectedSources$1.class +0 -0
  208. package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/VitalCoreReactNativeModule.class +0 -0
  209. package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/VitalCoreReactNativeModuleKt$moshi$2.class +0 -0
  210. package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/VitalCoreReactNativeModuleKt.class +0 -0
  211. package/android/build/tmp/kotlin-classes/debugUnitTest/META-INF/tryvital_vital-core-react-native_debug.kotlin_module +0 -0
  212. package/android/build/tmp/kotlin-classes/debugUnitTest/com/vitalcorereactnative/SerializationTests.class +0 -0
  213. package/android/build.gradle +7 -0
  214. package/android/src/.DS_Store +0 -0
  215. package/android/src/main/java/com/vitalcorereactnative/VitalCoreReactNativeModule.kt +188 -2
  216. package/android/src/main/java/com/vitalcorereactnative/timeSeriesData.kt +55 -0
  217. package/android/src/test/java/com/vitalcorereactnative/SerializationTests.kt +98 -0
  218. package/ios/VitalCoreReactNative.m +11 -0
  219. package/ios/VitalCoreReactNative.swift +67 -5
  220. package/lib/commonjs/index.js +9 -4
  221. package/lib/commonjs/index.js.map +1 -1
  222. package/lib/module/index.js +9 -4
  223. package/lib/module/index.js.map +1 -1
  224. package/lib/typescript/index.d.ts +4 -4
  225. package/lib/typescript/index.d.ts.map +1 -1
  226. package/lib/typescript/models/Provider.d.ts +5 -0
  227. package/lib/typescript/models/Provider.d.ts.map +1 -1
  228. package/package.json +1 -1
  229. package/src/index.ts +17 -4
  230. package/src/models/Provider.ts +6 -0
@@ -0,0 +1,101 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
5
+ <meta http-equiv="x-ua-compatible" content="IE=edge"/>
6
+ <title>Test results - Class com.vitalcorereactnative.SerializationTests</title>
7
+ <link href="../css/base-style.css" rel="stylesheet" type="text/css"/>
8
+ <link href="../css/style.css" rel="stylesheet" type="text/css"/>
9
+ <script src="../js/report.js" type="text/javascript"></script>
10
+ </head>
11
+ <body>
12
+ <div id="content">
13
+ <h1>Class com.vitalcorereactnative.SerializationTests</h1>
14
+ <div class="breadcrumbs">
15
+ <a href="../index.html">all</a> &gt;
16
+ <a href="../packages/com.vitalcorereactnative.html">com.vitalcorereactnative</a> &gt; SerializationTests</div>
17
+ <div id="summary">
18
+ <table>
19
+ <tr>
20
+ <td>
21
+ <div class="summaryGroup">
22
+ <table>
23
+ <tr>
24
+ <td>
25
+ <div class="infoBox" id="tests">
26
+ <div class="counter">2</div>
27
+ <p>tests</p>
28
+ </div>
29
+ </td>
30
+ <td>
31
+ <div class="infoBox" id="failures">
32
+ <div class="counter">0</div>
33
+ <p>failures</p>
34
+ </div>
35
+ </td>
36
+ <td>
37
+ <div class="infoBox" id="ignored">
38
+ <div class="counter">0</div>
39
+ <p>ignored</p>
40
+ </div>
41
+ </td>
42
+ <td>
43
+ <div class="infoBox" id="duration">
44
+ <div class="counter">0.233s</div>
45
+ <p>duration</p>
46
+ </div>
47
+ </td>
48
+ </tr>
49
+ </table>
50
+ </div>
51
+ </td>
52
+ <td>
53
+ <div class="infoBox success" id="successRate">
54
+ <div class="percent">100%</div>
55
+ <p>successful</p>
56
+ </div>
57
+ </td>
58
+ </tr>
59
+ </table>
60
+ </div>
61
+ <div id="tabs">
62
+ <ul class="tabLinks">
63
+ <li>
64
+ <a href="#tab0">Tests</a>
65
+ </li>
66
+ </ul>
67
+ <div id="tab0" class="tab">
68
+ <h2>Tests</h2>
69
+ <table>
70
+ <thead>
71
+ <tr>
72
+ <th>Test</th>
73
+ <th>Duration</th>
74
+ <th>Result</th>
75
+ </tr>
76
+ </thead>
77
+ <tr>
78
+ <td class="success">canDeserializeBloodPressureSamples</td>
79
+ <td class="success">0.001s</td>
80
+ <td class="success">passed</td>
81
+ </tr>
82
+ <tr>
83
+ <td class="success">canDeserializeGlucoseSamples</td>
84
+ <td class="success">0.232s</td>
85
+ <td class="success">passed</td>
86
+ </tr>
87
+ </table>
88
+ </div>
89
+ </div>
90
+ <div id="footer">
91
+ <p>
92
+ <div>
93
+ <label class="hidden" id="label-for-line-wrapping-toggle" for="line-wrapping-toggle">Wrap lines
94
+ <input id="line-wrapping-toggle" type="checkbox" autocomplete="off"/>
95
+ </label>
96
+ </div>Generated by
97
+ <a href="http://www.gradle.org">Gradle 7.5.1</a> at 17 May 2023, 17:04:37</p>
98
+ </div>
99
+ </div>
100
+ </body>
101
+ </html>
@@ -0,0 +1,179 @@
1
+
2
+ body {
3
+ margin: 0;
4
+ padding: 0;
5
+ font-family: sans-serif;
6
+ font-size: 12pt;
7
+ }
8
+
9
+ body, a, a:visited {
10
+ color: #303030;
11
+ }
12
+
13
+ #content {
14
+ padding-left: 50px;
15
+ padding-right: 50px;
16
+ padding-top: 30px;
17
+ padding-bottom: 30px;
18
+ }
19
+
20
+ #content h1 {
21
+ font-size: 160%;
22
+ margin-bottom: 10px;
23
+ }
24
+
25
+ #footer {
26
+ margin-top: 100px;
27
+ font-size: 80%;
28
+ white-space: nowrap;
29
+ }
30
+
31
+ #footer, #footer a {
32
+ color: #a0a0a0;
33
+ }
34
+
35
+ #line-wrapping-toggle {
36
+ vertical-align: middle;
37
+ }
38
+
39
+ #label-for-line-wrapping-toggle {
40
+ vertical-align: middle;
41
+ }
42
+
43
+ ul {
44
+ margin-left: 0;
45
+ }
46
+
47
+ h1, h2, h3 {
48
+ white-space: nowrap;
49
+ }
50
+
51
+ h2 {
52
+ font-size: 120%;
53
+ }
54
+
55
+ ul.tabLinks {
56
+ padding-left: 0;
57
+ padding-top: 10px;
58
+ padding-bottom: 10px;
59
+ overflow: auto;
60
+ min-width: 800px;
61
+ width: auto !important;
62
+ width: 800px;
63
+ }
64
+
65
+ ul.tabLinks li {
66
+ float: left;
67
+ height: 100%;
68
+ list-style: none;
69
+ padding-left: 10px;
70
+ padding-right: 10px;
71
+ padding-top: 5px;
72
+ padding-bottom: 5px;
73
+ margin-bottom: 0;
74
+ -moz-border-radius: 7px;
75
+ border-radius: 7px;
76
+ margin-right: 25px;
77
+ border: solid 1px #d4d4d4;
78
+ background-color: #f0f0f0;
79
+ }
80
+
81
+ ul.tabLinks li:hover {
82
+ background-color: #fafafa;
83
+ }
84
+
85
+ ul.tabLinks li.selected {
86
+ background-color: #c5f0f5;
87
+ border-color: #c5f0f5;
88
+ }
89
+
90
+ ul.tabLinks a {
91
+ font-size: 120%;
92
+ display: block;
93
+ outline: none;
94
+ text-decoration: none;
95
+ margin: 0;
96
+ padding: 0;
97
+ }
98
+
99
+ ul.tabLinks li h2 {
100
+ margin: 0;
101
+ padding: 0;
102
+ }
103
+
104
+ div.tab {
105
+ }
106
+
107
+ div.selected {
108
+ display: block;
109
+ }
110
+
111
+ div.deselected {
112
+ display: none;
113
+ }
114
+
115
+ div.tab table {
116
+ min-width: 350px;
117
+ width: auto !important;
118
+ width: 350px;
119
+ border-collapse: collapse;
120
+ }
121
+
122
+ div.tab th, div.tab table {
123
+ border-bottom: solid #d0d0d0 1px;
124
+ }
125
+
126
+ div.tab th {
127
+ text-align: left;
128
+ white-space: nowrap;
129
+ padding-left: 6em;
130
+ }
131
+
132
+ div.tab th:first-child {
133
+ padding-left: 0;
134
+ }
135
+
136
+ div.tab td {
137
+ white-space: nowrap;
138
+ padding-left: 6em;
139
+ padding-top: 5px;
140
+ padding-bottom: 5px;
141
+ }
142
+
143
+ div.tab td:first-child {
144
+ padding-left: 0;
145
+ }
146
+
147
+ div.tab td.numeric, div.tab th.numeric {
148
+ text-align: right;
149
+ }
150
+
151
+ span.code {
152
+ display: inline-block;
153
+ margin-top: 0em;
154
+ margin-bottom: 1em;
155
+ }
156
+
157
+ span.code pre {
158
+ font-size: 11pt;
159
+ padding-top: 10px;
160
+ padding-bottom: 10px;
161
+ padding-left: 10px;
162
+ padding-right: 10px;
163
+ margin: 0;
164
+ background-color: #f7f7f7;
165
+ border: solid 1px #d0d0d0;
166
+ min-width: 700px;
167
+ width: auto !important;
168
+ width: 700px;
169
+ }
170
+
171
+ span.wrapped pre {
172
+ word-wrap: break-word;
173
+ white-space: pre-wrap;
174
+ word-break: break-all;
175
+ }
176
+
177
+ label.hidden {
178
+ display: none;
179
+ }
@@ -0,0 +1,84 @@
1
+
2
+ #summary {
3
+ margin-top: 30px;
4
+ margin-bottom: 40px;
5
+ }
6
+
7
+ #summary table {
8
+ border-collapse: collapse;
9
+ }
10
+
11
+ #summary td {
12
+ vertical-align: top;
13
+ }
14
+
15
+ .breadcrumbs, .breadcrumbs a {
16
+ color: #606060;
17
+ }
18
+
19
+ .infoBox {
20
+ width: 110px;
21
+ padding-top: 15px;
22
+ padding-bottom: 15px;
23
+ text-align: center;
24
+ }
25
+
26
+ .infoBox p {
27
+ margin: 0;
28
+ }
29
+
30
+ .counter, .percent {
31
+ font-size: 120%;
32
+ font-weight: bold;
33
+ margin-bottom: 8px;
34
+ }
35
+
36
+ #duration {
37
+ width: 125px;
38
+ }
39
+
40
+ #successRate, .summaryGroup {
41
+ border: solid 2px #d0d0d0;
42
+ -moz-border-radius: 10px;
43
+ border-radius: 10px;
44
+ }
45
+
46
+ #successRate {
47
+ width: 140px;
48
+ margin-left: 35px;
49
+ }
50
+
51
+ #successRate .percent {
52
+ font-size: 180%;
53
+ }
54
+
55
+ .success, .success a {
56
+ color: #008000;
57
+ }
58
+
59
+ div.success, #successRate.success {
60
+ background-color: #bbd9bb;
61
+ border-color: #008000;
62
+ }
63
+
64
+ .failures, .failures a {
65
+ color: #b60808;
66
+ }
67
+
68
+ .skipped, .skipped a {
69
+ color: #c09853;
70
+ }
71
+
72
+ div.failures, #successRate.failures {
73
+ background-color: #ecdada;
74
+ border-color: #b60808;
75
+ }
76
+
77
+ ul.linkList {
78
+ padding-left: 0;
79
+ }
80
+
81
+ ul.linkList li {
82
+ list-style: none;
83
+ margin-bottom: 5px;
84
+ }
@@ -0,0 +1,133 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
5
+ <meta http-equiv="x-ua-compatible" content="IE=edge"/>
6
+ <title>Test results - Test Summary</title>
7
+ <link href="css/base-style.css" rel="stylesheet" type="text/css"/>
8
+ <link href="css/style.css" rel="stylesheet" type="text/css"/>
9
+ <script src="js/report.js" type="text/javascript"></script>
10
+ </head>
11
+ <body>
12
+ <div id="content">
13
+ <h1>Test Summary</h1>
14
+ <div id="summary">
15
+ <table>
16
+ <tr>
17
+ <td>
18
+ <div class="summaryGroup">
19
+ <table>
20
+ <tr>
21
+ <td>
22
+ <div class="infoBox" id="tests">
23
+ <div class="counter">2</div>
24
+ <p>tests</p>
25
+ </div>
26
+ </td>
27
+ <td>
28
+ <div class="infoBox" id="failures">
29
+ <div class="counter">0</div>
30
+ <p>failures</p>
31
+ </div>
32
+ </td>
33
+ <td>
34
+ <div class="infoBox" id="ignored">
35
+ <div class="counter">0</div>
36
+ <p>ignored</p>
37
+ </div>
38
+ </td>
39
+ <td>
40
+ <div class="infoBox" id="duration">
41
+ <div class="counter">0.233s</div>
42
+ <p>duration</p>
43
+ </div>
44
+ </td>
45
+ </tr>
46
+ </table>
47
+ </div>
48
+ </td>
49
+ <td>
50
+ <div class="infoBox success" id="successRate">
51
+ <div class="percent">100%</div>
52
+ <p>successful</p>
53
+ </div>
54
+ </td>
55
+ </tr>
56
+ </table>
57
+ </div>
58
+ <div id="tabs">
59
+ <ul class="tabLinks">
60
+ <li>
61
+ <a href="#tab0">Packages</a>
62
+ </li>
63
+ <li>
64
+ <a href="#tab1">Classes</a>
65
+ </li>
66
+ </ul>
67
+ <div id="tab0" class="tab">
68
+ <h2>Packages</h2>
69
+ <table>
70
+ <thead>
71
+ <tr>
72
+ <th>Package</th>
73
+ <th>Tests</th>
74
+ <th>Failures</th>
75
+ <th>Ignored</th>
76
+ <th>Duration</th>
77
+ <th>Success rate</th>
78
+ </tr>
79
+ </thead>
80
+ <tbody>
81
+ <tr>
82
+ <td class="success">
83
+ <a href="packages/com.vitalcorereactnative.html">com.vitalcorereactnative</a>
84
+ </td>
85
+ <td>2</td>
86
+ <td>0</td>
87
+ <td>0</td>
88
+ <td>0.233s</td>
89
+ <td class="success">100%</td>
90
+ </tr>
91
+ </tbody>
92
+ </table>
93
+ </div>
94
+ <div id="tab1" class="tab">
95
+ <h2>Classes</h2>
96
+ <table>
97
+ <thead>
98
+ <tr>
99
+ <th>Class</th>
100
+ <th>Tests</th>
101
+ <th>Failures</th>
102
+ <th>Ignored</th>
103
+ <th>Duration</th>
104
+ <th>Success rate</th>
105
+ </tr>
106
+ </thead>
107
+ <tbody>
108
+ <tr>
109
+ <td class="success">
110
+ <a href="classes/com.vitalcorereactnative.SerializationTests.html">com.vitalcorereactnative.SerializationTests</a>
111
+ </td>
112
+ <td>2</td>
113
+ <td>0</td>
114
+ <td>0</td>
115
+ <td>0.233s</td>
116
+ <td class="success">100%</td>
117
+ </tr>
118
+ </tbody>
119
+ </table>
120
+ </div>
121
+ </div>
122
+ <div id="footer">
123
+ <p>
124
+ <div>
125
+ <label class="hidden" id="label-for-line-wrapping-toggle" for="line-wrapping-toggle">Wrap lines
126
+ <input id="line-wrapping-toggle" type="checkbox" autocomplete="off"/>
127
+ </label>
128
+ </div>Generated by
129
+ <a href="http://www.gradle.org">Gradle 7.5.1</a> at 17 May 2023, 17:04:37</p>
130
+ </div>
131
+ </div>
132
+ </body>
133
+ </html>
@@ -0,0 +1,194 @@
1
+ (function (window, document) {
2
+ "use strict";
3
+
4
+ var tabs = {};
5
+
6
+ function changeElementClass(element, classValue) {
7
+ if (element.getAttribute("className")) {
8
+ element.setAttribute("className", classValue);
9
+ } else {
10
+ element.setAttribute("class", classValue);
11
+ }
12
+ }
13
+
14
+ function getClassAttribute(element) {
15
+ if (element.getAttribute("className")) {
16
+ return element.getAttribute("className");
17
+ } else {
18
+ return element.getAttribute("class");
19
+ }
20
+ }
21
+
22
+ function addClass(element, classValue) {
23
+ changeElementClass(element, getClassAttribute(element) + " " + classValue);
24
+ }
25
+
26
+ function removeClass(element, classValue) {
27
+ changeElementClass(element, getClassAttribute(element).replace(classValue, ""));
28
+ }
29
+
30
+ function initTabs() {
31
+ var container = document.getElementById("tabs");
32
+
33
+ tabs.tabs = findTabs(container);
34
+ tabs.titles = findTitles(tabs.tabs);
35
+ tabs.headers = findHeaders(container);
36
+ tabs.select = select;
37
+ tabs.deselectAll = deselectAll;
38
+ tabs.select(0);
39
+
40
+ return true;
41
+ }
42
+
43
+ function getCheckBox() {
44
+ return document.getElementById("line-wrapping-toggle");
45
+ }
46
+
47
+ function getLabelForCheckBox() {
48
+ return document.getElementById("label-for-line-wrapping-toggle");
49
+ }
50
+
51
+ function findCodeBlocks() {
52
+ var spans = document.getElementById("tabs").getElementsByTagName("span");
53
+ var codeBlocks = [];
54
+ for (var i = 0; i < spans.length; ++i) {
55
+ if (spans[i].className.indexOf("code") >= 0) {
56
+ codeBlocks.push(spans[i]);
57
+ }
58
+ }
59
+ return codeBlocks;
60
+ }
61
+
62
+ function forAllCodeBlocks(operation) {
63
+ var codeBlocks = findCodeBlocks();
64
+
65
+ for (var i = 0; i < codeBlocks.length; ++i) {
66
+ operation(codeBlocks[i], "wrapped");
67
+ }
68
+ }
69
+
70
+ function toggleLineWrapping() {
71
+ var checkBox = getCheckBox();
72
+
73
+ if (checkBox.checked) {
74
+ forAllCodeBlocks(addClass);
75
+ } else {
76
+ forAllCodeBlocks(removeClass);
77
+ }
78
+ }
79
+
80
+ function initControls() {
81
+ if (findCodeBlocks().length > 0) {
82
+ var checkBox = getCheckBox();
83
+ var label = getLabelForCheckBox();
84
+
85
+ checkBox.onclick = toggleLineWrapping;
86
+ checkBox.checked = false;
87
+
88
+ removeClass(label, "hidden");
89
+ }
90
+ }
91
+
92
+ function switchTab() {
93
+ var id = this.id.substr(1);
94
+
95
+ for (var i = 0; i < tabs.tabs.length; i++) {
96
+ if (tabs.tabs[i].id === id) {
97
+ tabs.select(i);
98
+ break;
99
+ }
100
+ }
101
+
102
+ return false;
103
+ }
104
+
105
+ function select(i) {
106
+ this.deselectAll();
107
+
108
+ changeElementClass(this.tabs[i], "tab selected");
109
+ changeElementClass(this.headers[i], "selected");
110
+
111
+ while (this.headers[i].firstChild) {
112
+ this.headers[i].removeChild(this.headers[i].firstChild);
113
+ }
114
+
115
+ var h2 = document.createElement("H2");
116
+
117
+ h2.appendChild(document.createTextNode(this.titles[i]));
118
+ this.headers[i].appendChild(h2);
119
+ }
120
+
121
+ function deselectAll() {
122
+ for (var i = 0; i < this.tabs.length; i++) {
123
+ changeElementClass(this.tabs[i], "tab deselected");
124
+ changeElementClass(this.headers[i], "deselected");
125
+
126
+ while (this.headers[i].firstChild) {
127
+ this.headers[i].removeChild(this.headers[i].firstChild);
128
+ }
129
+
130
+ var a = document.createElement("A");
131
+
132
+ a.setAttribute("id", "ltab" + i);
133
+ a.setAttribute("href", "#tab" + i);
134
+ a.onclick = switchTab;
135
+ a.appendChild(document.createTextNode(this.titles[i]));
136
+
137
+ this.headers[i].appendChild(a);
138
+ }
139
+ }
140
+
141
+ function findTabs(container) {
142
+ return findChildElements(container, "DIV", "tab");
143
+ }
144
+
145
+ function findHeaders(container) {
146
+ var owner = findChildElements(container, "UL", "tabLinks");
147
+ return findChildElements(owner[0], "LI", null);
148
+ }
149
+
150
+ function findTitles(tabs) {
151
+ var titles = [];
152
+
153
+ for (var i = 0; i < tabs.length; i++) {
154
+ var tab = tabs[i];
155
+ var header = findChildElements(tab, "H2", null)[0];
156
+
157
+ header.parentNode.removeChild(header);
158
+
159
+ if (header.innerText) {
160
+ titles.push(header.innerText);
161
+ } else {
162
+ titles.push(header.textContent);
163
+ }
164
+ }
165
+
166
+ return titles;
167
+ }
168
+
169
+ function findChildElements(container, name, targetClass) {
170
+ var elements = [];
171
+ var children = container.childNodes;
172
+
173
+ for (var i = 0; i < children.length; i++) {
174
+ var child = children.item(i);
175
+
176
+ if (child.nodeType === 1 && child.nodeName === name) {
177
+ if (targetClass && child.className.indexOf(targetClass) < 0) {
178
+ continue;
179
+ }
180
+
181
+ elements.push(child);
182
+ }
183
+ }
184
+
185
+ return elements;
186
+ }
187
+
188
+ // Entry point.
189
+
190
+ window.onload = function() {
191
+ initTabs();
192
+ initControls();
193
+ };
194
+ } (window, window.document));