@nativescript/core 8.9.0-next-01-17-2025-12834437745 → 8.9.0-next-01-22-2025-12918162303

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 (317) hide show
  1. package/accessibility/accessibility-service.d.ts +10 -0
  2. package/accessibility/font-scale.d.ts +9 -0
  3. package/accessibility/index.d.ts +37 -0
  4. package/animation-frame/animation-native.d.ts +4 -0
  5. package/animation-frame/index.d.ts +17 -3
  6. package/application/application.d.ts +194 -0
  7. package/application/index.d.ts +2 -0
  8. package/application-settings/index.d.ts +70 -0
  9. package/cli-hooks/before-checkForChanges.js +60 -0
  10. package/cli-hooks/postinstall.js +2 -0
  11. package/cli-hooks/preuninstall.js +2 -0
  12. package/color/index.d.ts +206 -0
  13. package/connectivity/index.d.ts +52 -0
  14. package/css/css-tree-parser.js +21 -17
  15. package/css/lib/parse/index.js +602 -0
  16. package/css/package.json +36 -0
  17. package/css/reworkcss.d.ts +47 -0
  18. package/css/reworkcss.js +1 -0
  19. package/css-value/package.json +23 -0
  20. package/css-value/reworkcss-value.d.ts +8 -0
  21. package/css-value/reworkcss-value.js +113 -0
  22. package/debugger/css-agent.d.ts +59 -0
  23. package/debugger/devtools-elements.d.ts +23 -5
  24. package/debugger/dom-node.d.ts +23 -20
  25. package/fetch/index.js +539 -0
  26. package/file-system/file-system-access.d.ts +441 -0
  27. package/file-system/index.d.ts +370 -95
  28. package/fps-meter/fps-native.d.ts +24 -0
  29. package/fps-meter/index.d.ts +24 -7
  30. package/global-types.d.ts +393 -0
  31. package/globals/index.d.ts +4 -19
  32. package/http/http-request/index.d.ts +3 -0
  33. package/http/index.d.ts +149 -73
  34. package/image-asset/index.d.ts +17 -0
  35. package/image-source/index.d.ts +350 -0
  36. package/index.d.ts +24 -7
  37. package/js-libs/easysax/easysax.d.ts +8 -0
  38. package/js-libs/easysax/easysax.js +782 -0
  39. package/js-libs/easysax/package.json +35 -0
  40. package/matrix/index.d.ts +32 -5
  41. package/module-name-resolver/index.d.ts +21 -13
  42. package/module-name-resolver/qualifier-matcher/index.d.ts +12 -6
  43. package/package.json +1 -1
  44. package/platform/device/index.d.ts +70 -0
  45. package/platform/index.d.ts +26 -0
  46. package/platform/screen/index.d.ts +48 -0
  47. package/platforms/android/native-api-usage.json +32 -0
  48. package/platforms/android/res/values/ids.xml +4 -0
  49. package/platforms/android/widgets-release.aar +0 -0
  50. package/platforms/android/winter_tc-release.aar +0 -0
  51. package/platforms/ios/NSCWinterTC.xcframework/Info.plist +102 -0
  52. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework/Headers/NSCCrypto.h +79 -0
  53. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework/Headers/NSCWinterTC.h +20 -0
  54. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework/Headers/NSString+WinterTC.h +21 -0
  55. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework/Info.plist +0 -0
  56. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework/Modules/module.modulemap +6 -0
  57. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework/NSCWinterTC +0 -0
  58. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/dSYMs/NSCWinterTC.framework.dSYM/Contents/Info.plist +20 -0
  59. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/DWARF/NSCWinterTC +0 -0
  60. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterTC.yml +40 -0
  61. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Headers/NSCCrypto.h +79 -0
  62. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Headers/NSCWinterTC.h +20 -0
  63. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Headers/NSString+WinterTC.h +21 -0
  64. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Modules/module.modulemap +6 -0
  65. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/NSCWinterTC +0 -0
  66. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Resources/Info.plist +52 -0
  67. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A/Headers/NSCCrypto.h +79 -0
  68. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A/Headers/NSCWinterTC.h +20 -0
  69. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A/Headers/NSString+WinterTC.h +21 -0
  70. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A/Modules/module.modulemap +6 -0
  71. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A/NSCWinterTC +0 -0
  72. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A/Resources/Info.plist +52 -0
  73. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/Current/NSCWinterTC +0 -0
  74. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterTC.framework.dSYM/Contents/Info.plist +20 -0
  75. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/DWARF/NSCWinterTC +0 -0
  76. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterTC.yml +40 -0
  77. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/x86_64/NSCWinterTC.yml +40 -0
  78. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/Headers/NSCCrypto.h +79 -0
  79. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/Headers/NSCWinterTC.h +20 -0
  80. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/Headers/NSString+WinterTC.h +21 -0
  81. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/Info.plist +0 -0
  82. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/Modules/module.modulemap +6 -0
  83. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/NSCWinterTC +0 -0
  84. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/_CodeSignature/CodeResources +146 -0
  85. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Info.plist +20 -0
  86. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/DWARF/NSCWinterTC +0 -0
  87. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterTC.yml +40 -0
  88. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/x86_64/NSCWinterTC.yml +40 -0
  89. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/NSCWinterTC.framework/Headers/NSCCrypto.h +79 -0
  90. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/NSCWinterTC.framework/Headers/NSCWinterTC.h +20 -0
  91. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/NSCWinterTC.framework/Headers/NSString+WinterTC.h +21 -0
  92. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/NSCWinterTC.framework/Info.plist +0 -0
  93. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/NSCWinterTC.framework/Modules/module.modulemap +6 -0
  94. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/NSCWinterTC.framework/NSCWinterTC +0 -0
  95. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/dSYMs/NSCWinterTC.framework.dSYM/Contents/Info.plist +20 -0
  96. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/DWARF/NSCWinterTC +0 -0
  97. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterTC.yml +40 -0
  98. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/Headers/NSCCrypto.h +79 -0
  99. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/Headers/NSCWinterTC.h +20 -0
  100. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/Headers/NSString+WinterTC.h +21 -0
  101. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/Info.plist +0 -0
  102. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/Modules/module.modulemap +6 -0
  103. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/NSCWinterTC +0 -0
  104. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/_CodeSignature/CodeResources +146 -0
  105. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Info.plist +20 -0
  106. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/DWARF/NSCWinterTC +0 -0
  107. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterTC.yml +40 -0
  108. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/x86_64/NSCWinterTC.yml +40 -0
  109. package/platforms/ios/TNSWidgets.xcframework/Info.plist +102 -0
  110. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/NSCCrypto.h +60 -0
  111. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/NSData+Async.h +24 -0
  112. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/NSFileHandle+Async.h +22 -0
  113. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/NSString+Async.h +25 -0
  114. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/TNSLabel.h +16 -0
  115. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/TNSProcess.h +29 -0
  116. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/TNSWidgets.h +25 -0
  117. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +26 -0
  118. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +17 -0
  119. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Info.plist +0 -0
  120. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Modules/module.modulemap +6 -0
  121. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +17 -0
  122. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +18 -0
  123. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/TNSWidgets +0 -0
  124. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +20 -0
  125. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
  126. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +82 -0
  127. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSCCrypto.h +60 -0
  128. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSData+Async.h +24 -0
  129. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSFileHandle+Async.h +22 -0
  130. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSString+Async.h +25 -0
  131. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/TNSLabel.h +16 -0
  132. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/TNSProcess.h +29 -0
  133. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/TNSWidgets.h +25 -0
  134. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +26 -0
  135. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +17 -0
  136. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Modules/module.modulemap +6 -0
  137. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +17 -0
  138. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +18 -0
  139. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Resources/Info.plist +52 -0
  140. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/TNSWidgets +0 -0
  141. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSCCrypto.h +60 -0
  142. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSData+Async.h +24 -0
  143. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSFileHandle+Async.h +22 -0
  144. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSString+Async.h +25 -0
  145. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/TNSLabel.h +16 -0
  146. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/TNSProcess.h +29 -0
  147. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/TNSWidgets.h +25 -0
  148. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/UIImage+TNSBlocks.h +26 -0
  149. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/UIView+PassThroughParent.h +17 -0
  150. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Modules/module.modulemap +6 -0
  151. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/PrivateHeaders/NSObject+Swizzling.h +17 -0
  152. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/PrivateHeaders/UIView+PropertyBag.h +18 -0
  153. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Resources/Info.plist +52 -0
  154. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/TNSWidgets +0 -0
  155. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/TNSWidgets +0 -0
  156. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +20 -0
  157. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
  158. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +82 -0
  159. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml +82 -0
  160. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSCCrypto.h +60 -0
  161. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSData+Async.h +24 -0
  162. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSFileHandle+Async.h +22 -0
  163. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSString+Async.h +25 -0
  164. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSLabel.h +16 -0
  165. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSProcess.h +29 -0
  166. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSWidgets.h +25 -0
  167. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +26 -0
  168. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +17 -0
  169. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Info.plist +0 -0
  170. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Modules/module.modulemap +6 -0
  171. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +17 -0
  172. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +18 -0
  173. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/TNSWidgets +0 -0
  174. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/_CodeSignature/CodeResources +223 -0
  175. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +20 -0
  176. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
  177. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +82 -0
  178. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml +82 -0
  179. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSCCrypto.h +60 -0
  180. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSData+Async.h +24 -0
  181. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSFileHandle+Async.h +22 -0
  182. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSString+Async.h +25 -0
  183. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/TNSLabel.h +16 -0
  184. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/TNSProcess.h +29 -0
  185. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/TNSWidgets.h +25 -0
  186. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +26 -0
  187. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +17 -0
  188. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Info.plist +0 -0
  189. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Modules/module.modulemap +6 -0
  190. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +17 -0
  191. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +18 -0
  192. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/TNSWidgets +0 -0
  193. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +20 -0
  194. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
  195. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +82 -0
  196. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSCCrypto.h +60 -0
  197. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSData+Async.h +24 -0
  198. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSFileHandle+Async.h +22 -0
  199. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSString+Async.h +25 -0
  200. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSLabel.h +16 -0
  201. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSProcess.h +29 -0
  202. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSWidgets.h +25 -0
  203. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +26 -0
  204. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +17 -0
  205. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Info.plist +0 -0
  206. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Modules/module.modulemap +6 -0
  207. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +17 -0
  208. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +18 -0
  209. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/TNSWidgets +0 -0
  210. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/_CodeSignature/CodeResources +223 -0
  211. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +20 -0
  212. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
  213. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +82 -0
  214. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml +82 -0
  215. package/platforms/ios/native-api-usage.json +41 -0
  216. package/platforms/ios/src/NativeScriptEmbedder.h +31 -0
  217. package/platforms/ios/src/NativeScriptEmbedder.m +43 -0
  218. package/platforms/ios/src/NativeScriptMainWindow.swift +196 -0
  219. package/platforms/ios/src/NativeScriptUtils.h +16 -0
  220. package/platforms/ios/src/NativeScriptUtils.m +137 -0
  221. package/platforms/ios/src/UIView+NativeScript.h +15 -0
  222. package/platforms/ios/src/UIView+NativeScript.m +148 -0
  223. package/platforms/ios/src/module.modulemap +14 -0
  224. package/platforms/ios/typings/objc!MaterialComponents.d.ts +808 -0
  225. package/platforms/ios/typings/objc!NativeScriptUtils.d.ts +18 -0
  226. package/profiling/index.d.ts +153 -26
  227. package/references.d.ts +10 -0
  228. package/text/formatted-string.d.ts +1 -1
  229. package/text/index.d.ts +36 -0
  230. package/text/span.d.ts +1 -1
  231. package/timer/index.d.ts +27 -0
  232. package/trace/index.d.ts +131 -105
  233. package/ui/action-bar/index.d.ts +304 -0
  234. package/ui/activity-indicator/index.d.ts +25 -0
  235. package/ui/animation/index.d.ts +139 -0
  236. package/ui/animation/keyframe-animation.d.ts +118 -67
  237. package/ui/builder/binding-builder.d.ts +15 -12
  238. package/ui/builder/index.d.ts +69 -27
  239. package/ui/button/index.d.ts +50 -0
  240. package/ui/content-view/index.d.ts +11 -21
  241. package/ui/core/control-state-change/index.d.ts +17 -0
  242. package/ui/core/view/index.d.ts +1216 -0
  243. package/ui/core/view/view-helper/index.d.ts +76 -0
  244. package/ui/core/weak-event-listener/index.d.ts +18 -2
  245. package/ui/date-picker/index.d.ts +95 -0
  246. package/ui/dialogs/index.d.ts +311 -0
  247. package/ui/editable-text-base/index.d.ts +142 -0
  248. package/ui/embedding/index.d.ts +10 -0
  249. package/ui/frame/fragment.d.ts +5 -0
  250. package/ui/frame/fragment.transitions.d.ts +43 -0
  251. package/ui/frame/frame-common.d.ts +1 -0
  252. package/ui/frame/frame-common.js +6 -0
  253. package/ui/frame/frame-common.js.map +1 -1
  254. package/ui/frame/index.android.d.ts +1 -0
  255. package/ui/frame/index.android.js +12 -15
  256. package/ui/frame/index.android.js.map +1 -1
  257. package/ui/frame/index.d.ts +590 -0
  258. package/ui/frame/index.ios.js +13 -0
  259. package/ui/frame/index.ios.js.map +1 -1
  260. package/ui/frame/transition-definitions.android.d.ts +54 -0
  261. package/ui/gestures/index.d.ts +59 -0
  262. package/ui/html-view/index.d.ts +41 -0
  263. package/ui/image/index.d.ts +119 -0
  264. package/ui/image/symbol-effects.d.ts +13 -0
  265. package/ui/image-cache/index.d.ts +147 -0
  266. package/ui/label/index.d.ts +25 -0
  267. package/ui/layouts/absolute-layout/index.d.ts +42 -0
  268. package/ui/layouts/dock-layout/index.d.ts +39 -0
  269. package/ui/layouts/flexbox-layout/index.d.ts +98 -0
  270. package/ui/layouts/grid-layout/index.d.ts +201 -0
  271. package/ui/layouts/index.d.ts +1 -2
  272. package/ui/layouts/layout-base.d.ts +119 -0
  273. package/ui/layouts/root-layout/index.d.ts +48 -0
  274. package/ui/layouts/stack-layout/index.d.ts +22 -0
  275. package/ui/layouts/wrap-layout/index.d.ts +51 -0
  276. package/ui/list-picker/index.d.ts +43 -0
  277. package/ui/list-view/index.d.ts +232 -0
  278. package/ui/page/index.d.ts +241 -0
  279. package/ui/placeholder/index.d.ts +46 -8
  280. package/ui/progress/index.d.ts +50 -0
  281. package/ui/scroll-view/index.d.ts +99 -0
  282. package/ui/search-bar/index.d.ts +103 -0
  283. package/ui/segmented-bar/index.d.ts +122 -0
  284. package/ui/slider/index.d.ts +99 -0
  285. package/ui/styling/background.d.ts +95 -0
  286. package/ui/styling/converters.d.ts +2 -2
  287. package/ui/styling/font.d.ts +62 -0
  288. package/ui/styling/style-properties.d.ts +101 -81
  289. package/ui/styling/style-scope.d.ts +48 -79
  290. package/ui/switch/index.d.ts +46 -0
  291. package/ui/tab-view/index.d.ts +213 -0
  292. package/ui/text-base/formatted-string.d.ts +97 -36
  293. package/ui/text-base/index.d.ts +208 -0
  294. package/ui/text-base/span.d.ts +111 -36
  295. package/ui/text-field/index.d.ts +54 -0
  296. package/ui/text-view/index.d.ts +35 -0
  297. package/ui/time-picker/index.d.ts +107 -0
  298. package/ui/transition/fade-transition.d.ts +3 -0
  299. package/ui/transition/flip-transition.d.ts +5 -0
  300. package/ui/transition/index.d.ts +59 -0
  301. package/ui/transition/modal-transition.d.ts +2 -0
  302. package/ui/transition/page-transition.d.ts +4 -0
  303. package/ui/transition/shared-transition-helper.d.ts +14 -0
  304. package/ui/transition/slide-transition.d.ts +5 -0
  305. package/ui/utils.d.ts +44 -0
  306. package/ui/web-view/index.d.ts +142 -0
  307. package/utils/constants.d.ts +1 -0
  308. package/utils/debug.d.ts +61 -17
  309. package/utils/index.d.ts +183 -0
  310. package/utils/layout-helper/index.d.ts +82 -0
  311. package/utils/lazy.d.ts +5 -0
  312. package/utils/macrotask-scheduler.d.ts +5 -1
  313. package/utils/mainthread-helper.d.ts +16 -0
  314. package/utils/native-helper.d.ts +280 -0
  315. package/utils/types.d.ts +115 -23
  316. package/utils/typescript-utils.d.ts +6 -0
  317. package/xml/index.d.ts +105 -44
@@ -0,0 +1,232 @@
1
+ import { View, Template, KeyedTemplate } from '../core/view';
2
+ import { Color } from '../../color';
3
+ import { CoreTypes } from '../../core-types';
4
+ import { EventData } from '../../data/observable';
5
+ import { Length } from '../styling/style-properties';
6
+ import { Style } from '../styling/style';
7
+ import { Property, CssProperty } from '../core/properties';
8
+
9
+ /**
10
+ * Represents a view that shows items in a vertically scrolling list.
11
+ *
12
+ * @nsView ListView
13
+ */
14
+ export class ListView extends View {
15
+ /**
16
+ * String value used when hooking to itemLoading event.
17
+ *
18
+ * @nsEvent {ItemEventData} itemLoading
19
+ */
20
+ public static itemLoadingEvent: string;
21
+ /**
22
+ * String value used when hooking to itemTap event.
23
+ *
24
+ * @nsEvent {ItemEventData} itemTap
25
+ */
26
+ public static itemTapEvent: string;
27
+ /**
28
+ * String value used when hooking to loadMoreItems event.
29
+ *
30
+ * @nsEvent itemLoading
31
+ */
32
+ public static loadMoreItemsEvent: string;
33
+
34
+ /**
35
+ * Gets the native [android widget](http://developer.android.com/reference/android/widget/ListView.html) that represents the user interface for this component. Valid only when running on Android OS.
36
+ */
37
+ android: any /* android.widget.ListView */;
38
+
39
+ /**
40
+ * Gets the native [iOS view](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UITableView_Class/) that represents the user interface for this component. Valid only when running on iOS.
41
+ */
42
+ ios: any /* UITableView */;
43
+
44
+ /**
45
+ * Gets or set the items collection of the ListView.
46
+ * The items property can be set to an array or an object defining length and getItem(index) method.
47
+ *
48
+ * @nsProperty
49
+ */
50
+ items: any[] | ItemsSource;
51
+
52
+ /**
53
+ * Gets or set the item template of the ListView.
54
+ *
55
+ * @nsProperty
56
+ */
57
+ itemTemplate: string | Template;
58
+
59
+ /**
60
+ * Gets or set the list of item templates for the item template selector
61
+ *
62
+ * @nsProperty
63
+ */
64
+ itemTemplates: string | Array<KeyedTemplate>;
65
+
66
+ /**
67
+ * A function that returns the appropriate ket template based on the data item.
68
+ *
69
+ * @nsProperty
70
+ */
71
+ itemTemplateSelector: string | ((item: any, index: number, items: any) => string);
72
+
73
+ /**
74
+ * Item id generator
75
+ *
76
+ * @nsProperty
77
+ */
78
+ itemIdGenerator: (item: any, index: number, items: any) => number;
79
+
80
+ /**
81
+ * Gets or set the items separator line color of the ListView.
82
+ *
83
+ * @nsProperty
84
+ */
85
+ separatorColor: Color;
86
+
87
+ /**
88
+ * Gets or set row height of the ListView.
89
+ *
90
+ * @nsProperty
91
+ */
92
+ rowHeight: CoreTypes.LengthType;
93
+
94
+ /**
95
+ * Gets or set the estimated height of rows in the ListView.
96
+ * The default value is 44px.
97
+ *
98
+ * @nsProperty
99
+ */
100
+ iosEstimatedRowHeight: CoreTypes.LengthType;
101
+
102
+ /**
103
+ * Forces the ListView to reload all its items.
104
+ */
105
+ refresh();
106
+
107
+ /**
108
+ * Scrolls the specified item with index into view.
109
+ * [iOS](https://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UITableView_Class/#//apple_ref/occ/instm/UITableView/scrollToRowAtIndexPath:atScrollPosition:animated:)
110
+ * [Android](http://developer.android.com/reference/android/widget/ListView.html#setSelection(int))
111
+ * @param index - Item index.
112
+ */
113
+ scrollToIndex(index: number);
114
+
115
+ /**
116
+ * Scrolls the specified item with index into view with animation.
117
+ * [iOS](https://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UITableView_Class/#//apple_ref/occ/instm/UITableView/scrollToRowAtIndexPath:atScrollPosition:animated:)
118
+ * [Android](https://developer.android.com/reference/android/widget/ListView.html#smoothScrollToPosition(int))
119
+ * @param index - Item index.
120
+ */
121
+ scrollToIndexAnimated(index: number);
122
+
123
+ /**
124
+ * Checks if Specified item with index is visible.
125
+ * @param index - Item index.
126
+ */
127
+ isItemAtIndexVisible(index: number): boolean;
128
+
129
+ /**
130
+ * Adds a listener for the specified event name.
131
+ *
132
+ * @param eventName The name of the event.
133
+ * @param callback The event listener to add. Will be called when an event of
134
+ * the given name is raised.
135
+ * @param thisArg An optional parameter which, when set, will be bound as the
136
+ * `this` context when the callback is called. Falsy values will be not be
137
+ * bound.
138
+ */
139
+ on(eventName: string, callback: (data: EventData) => void, thisArg?: any): void;
140
+
141
+ /**
142
+ * Raised when a View for the data at the specified index should be created.
143
+ * The result should be returned trough the view property of the event data.
144
+ * Note, that the view property of the event data can be pre-initialized with
145
+ * an old instance of a view, so that it can be reused.
146
+ */
147
+ on(event: 'itemLoading', callback: (args: ItemEventData) => void, thisArg?: any): void;
148
+
149
+ /**
150
+ * Raised when an item inside the ListView is tapped.
151
+ */
152
+ on(event: 'itemTap', callback: (args: ItemEventData) => void, thisArg?: any): void;
153
+
154
+ /**
155
+ * Raised when the ListView is scrolled so that its last item is visible.
156
+ */
157
+ on(event: 'loadMoreItems', callback: (args: EventData) => void, thisArg?: any): void;
158
+ }
159
+
160
+ /**
161
+ * Event data containing information for the index and the view associated to a list view item.
162
+ */
163
+ export interface ItemEventData extends EventData {
164
+ /**
165
+ * The index of the item, for which the event is raised.
166
+ */
167
+ index: number;
168
+
169
+ /**
170
+ * The view that is associated to the item, for which the event is raised.
171
+ */
172
+ view: View;
173
+
174
+ /**
175
+ * Gets the native [iOS view](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UITableViewCell_Class/) that represents the user interface where the view is hosted. Valid only when running on iOS.
176
+ */
177
+ ios: any /* UITableViewCell */;
178
+
179
+ /**
180
+ * Gets the native [android widget](http://developer.android.com/reference/android/view/ViewGroup.html) that represents the user interface where the view is hosted. Valid only when running on Android OS.
181
+ */
182
+ android: any /* android.view.ViewGroup */;
183
+ }
184
+
185
+ export interface ItemsSource {
186
+ length: number;
187
+ getItem(index: number): any;
188
+ }
189
+
190
+ export interface TemplatedItemsView {
191
+ items: any[] | ItemsSource;
192
+ itemTemplate: string | Template;
193
+ itemTemplates?: string | Array<KeyedTemplate>;
194
+ refresh(): void;
195
+ on(event: 'itemLoading', callback: (args: ItemEventData) => void, thisArg?: any): void;
196
+ off(event: 'itemLoading', callback: (args: EventData) => void, thisArg?: any): void;
197
+ }
198
+
199
+ /**
200
+ * Represents the property backing the items property of each ListView instance.
201
+ */
202
+ export const itemsProperty: Property<ListView, any[] | ItemsSource>;
203
+
204
+ /**
205
+ * Represents the item template property of each ListView instance.
206
+ */
207
+ export const itemTemplateProperty: Property<ListView, string | Template>;
208
+
209
+ /**
210
+ * Represents the items template property of each ListView instance.
211
+ */
212
+ export const itemTemplatesProperty: Property<ListView, string | Array<KeyedTemplate>>;
213
+
214
+ /**
215
+ * Represents the separator color backing property.
216
+ */
217
+ export const separatorColor: Property<ListView, Color>;
218
+
219
+ /**
220
+ * Represents the observable property backing the rowHeight property of each ListView instance.
221
+ */
222
+ export const rowHeightProperty: Property<ListView, CoreTypes.LengthType>;
223
+
224
+ /**
225
+ * Represents the observable property backing the iosEstimatedRowHeight property of each ListView instance.
226
+ */
227
+ export const iosEstimatedRowHeightProperty: Property<ListView, CoreTypes.LengthType>;
228
+
229
+ /**
230
+ * Backing property for separator color property.
231
+ */
232
+ export const separatorColorProperty: CssProperty<Style, Color>;
@@ -0,0 +1,241 @@
1
+ import { PageBase } from './page-common';
2
+ import { CssProperty, Property } from '../core/properties';
3
+ import { Style } from '../styling/style';
4
+ import { EventData } from '../../data/observable';
5
+ import { Frame } from '../frame';
6
+ import { ActionBar } from '../action-bar';
7
+ import { KeyframeAnimationInfo } from '../animation/keyframe-animation';
8
+ import { Color } from '../../color';
9
+
10
+ export * from './page-common';
11
+
12
+ /**
13
+ * Defines the data for the page navigation events.
14
+ */
15
+ export interface NavigatedData extends EventData {
16
+ /**
17
+ * The navigation context (optional, may be undefined) passed to the page navigation events method.
18
+ */
19
+ context: any;
20
+
21
+ /**
22
+ * Represents if a navigation is forward or backward.
23
+ */
24
+ isBackNavigation: boolean;
25
+ }
26
+
27
+ /**
28
+ * Represents a logical unit for navigation (inside Frame).
29
+ *
30
+ * @nsView Page
31
+ */
32
+ export declare class Page extends PageBase {
33
+ /**
34
+ * String value used when hooking to navigatingTo event.
35
+ *
36
+ * @nsEvent {NavigatedData} navigatingTo
37
+ */
38
+ public static readonly navigatingToEvent = 'navigatingTo';
39
+
40
+ /**
41
+ * String value used when hooking to navigatedTo event.
42
+ *
43
+ * @nsEvent {NavigatedData} navigatedTo
44
+ */
45
+ public static readonly navigatedToEvent = 'navigatedTo';
46
+
47
+ /**
48
+ * String value used when hooking to navigatingFrom event.
49
+ *
50
+ * @nsEvent {NavigatedData} navigatingFrom
51
+ */
52
+ public static readonly navigatingFromEvent = 'navigatingFrom';
53
+
54
+ /**
55
+ * String value used when hooking to navigatedFrom event.
56
+ *
57
+ * @nsEvent {NavigatedData} navigatedFrom
58
+ */
59
+ public static readonly navigatedFromEvent = 'navigatedFrom';
60
+
61
+ /**
62
+ * Gets or sets whether page background spans under status bar.
63
+ *
64
+ * @nsProperty
65
+ */
66
+ public backgroundSpanUnderStatusBar: boolean;
67
+
68
+ /**
69
+ * Gets or sets the style of the status bar.
70
+ *
71
+ * @nsProperty
72
+ */
73
+ // @ts-ignore
74
+ public statusBarStyle: 'light' | 'dark';
75
+
76
+ /**
77
+ * Gets or sets the color of the status bar in Android.
78
+ *
79
+ * @nsProperty
80
+ */
81
+ // @ts-ignore
82
+ public androidStatusBarBackground: Color;
83
+
84
+ /**
85
+ * Used to hide the Navigation Bar in iOS and the Action Bar in Android.
86
+ *
87
+ * @nsProperty
88
+ */
89
+ // @ts-ignore
90
+ public actionBarHidden: boolean;
91
+
92
+ /**
93
+ * Used to control if swipe back navigation in iOS is enabled.
94
+ *
95
+ * This property is iOS specific.
96
+ * Default value: true
97
+ *
98
+ * @nsProperty
99
+ */
100
+ public enableSwipeBackNavigation: boolean;
101
+
102
+ /**
103
+ * Returns a CSS keyframe animation with the specified name, if it exists.
104
+ */
105
+ public getKeyframeAnimationWithName(animationName: string): KeyframeAnimationInfo;
106
+
107
+ /**
108
+ * A property that is used to pass a data from another page (while navigate to).
109
+ *
110
+ * @nsProperty
111
+ */
112
+ // @ts-ignore
113
+ public navigationContext: any;
114
+
115
+ /**
116
+ * Gets the Frame object controlling this instance.
117
+ */
118
+ // @ts-ignore
119
+ public frame: Frame;
120
+
121
+ /**
122
+ * Gets the ActionBar for this page.
123
+ */
124
+ // @ts-ignore
125
+ public actionBar: ActionBar;
126
+
127
+ /**
128
+ * iOS Only
129
+ * Perform an action when user performans the "escape" gesture
130
+ *
131
+ * @nsProperty
132
+ */
133
+ public onAccessibilityPerformEscape?: () => boolean;
134
+
135
+ /**
136
+ * Should page changed be announced to the screen reader.
137
+ *
138
+ * @nsProperty
139
+ */
140
+ public accessibilityAnnouncePageEnabled: boolean;
141
+
142
+ /**
143
+ * Adds a listener for the specified event name.
144
+ *
145
+ * @param eventName The name of the event.
146
+ * @param callback The event listener to add. Will be called when an event of
147
+ * the given name is raised.
148
+ * @param thisArg An optional parameter which, when set, will be bound as the
149
+ * `this` context when the callback is called. Falsy values will be not be
150
+ * bound.
151
+ */
152
+ public on(eventName: string, callback: (data: EventData) => void, thisArg?: any): void;
153
+
154
+ /**
155
+ * Raised when navigation to the page has started.
156
+ */
157
+ public on(event: 'navigatingTo', callback: (args: NavigatedData) => void, thisArg?: any): void;
158
+
159
+ /**
160
+ * Raised when navigation to the page has finished.
161
+ */
162
+ public on(event: 'navigatedTo', callback: (args: NavigatedData) => void, thisArg?: any): void;
163
+
164
+ /**
165
+ * Raised when navigation from the page has started.
166
+ */
167
+ public on(event: 'navigatingFrom', callback: (args: NavigatedData) => void, thisArg?: any): void;
168
+
169
+ /**
170
+ * Raised when navigation from the page has finished.
171
+ */
172
+ public on(event: 'navigatedFrom', callback: (args: NavigatedData) => void, thisArg?: any): void;
173
+ //@private
174
+
175
+ /**
176
+ * @private
177
+ */
178
+ hasActionBar: boolean;
179
+
180
+ /**
181
+ * A method called before navigating to the page.
182
+ * @private
183
+ * @param context - The data passed to the page through the NavigationEntry.context property.
184
+ * @param isBackNavigation - True if the Page is being navigated from using the Frame.goBack() method, false otherwise.
185
+ * @param bindingContext - An object to become the binding context of the page navigating to. Optional.
186
+ */
187
+ public onNavigatingTo(context: any, isBackNavigation: boolean, bindingContext?: any): void;
188
+
189
+ /**
190
+ * A method called after navigated to the page.
191
+ * @private
192
+ * @param isBackNavigation - True if the Page is being navigated from using the Frame.goBack() method, false otherwise.
193
+ */
194
+ public onNavigatedTo(isBackNavigation: boolean): void;
195
+
196
+ /**
197
+ * A method called before navigating from the page.
198
+ * @private
199
+ * @param isBackNavigation - True if the Page is being navigated from using the Frame.goBack() method, false otherwise.
200
+ */
201
+ public onNavigatingFrom(isBackNavigation: boolean): void;
202
+
203
+ /**
204
+ * A method called after navigated from the page.
205
+ * @private
206
+ * @param isBackNavigation - True if the Page is being navigated from using the Frame.goBack() method, false otherwise.
207
+ */
208
+ public onNavigatedFrom(isBackNavigation: boolean): void;
209
+ //@endprivate
210
+
211
+ /**
212
+ * Announce screen changed
213
+ */
214
+ public accessibilityScreenChanged(refocus?: boolean): void;
215
+ }
216
+
217
+ /**
218
+ * Dependency property that specify if page background should span under status bar.
219
+ */
220
+ export const backgroundSpanUnderStatusBarProperty: Property<Page, boolean>;
221
+
222
+ /**
223
+ * Dependency property used to hide the Navigation Bar in iOS and the Action Bar in Android.
224
+ */
225
+ export const actionBarHiddenProperty: Property<Page, boolean>;
226
+
227
+ /**
228
+ * Dependency property used to control if swipe back navigation in iOS is enabled.
229
+ * This property is iOS specific. Default value: true
230
+ */
231
+ export const enableSwipeBackNavigationProperty: Property<Page, boolean>;
232
+
233
+ /**
234
+ * Property backing statusBarStyle.
235
+ */
236
+ export const statusBarStyleProperty: CssProperty<Style, 'light' | 'dark'>;
237
+
238
+ /**
239
+ * Property backing androidStatusBarBackground.
240
+ */
241
+ export const androidStatusBarBackgroundProperty: CssProperty<Style, Color>;
@@ -1,12 +1,50 @@
1
- import { View } from '../core/view';
2
- import { CreateViewEventData } from './placeholder-common';
1
+ import { View } from '../core/view';
3
2
  import { EventData } from '../../data/observable';
3
+
4
4
  export * from './placeholder-common';
5
- export declare class Placeholder extends View {
6
- static creatingViewEvent: string;
7
- createNativeView(): any;
5
+
6
+ /**
7
+ * Represents a Placeholder, which is used to add a native view to the visual tree.
8
+ *
9
+ * @nsView Placeholder
10
+ */
11
+ export class Placeholder extends View {
12
+ /**
13
+ * String value used when hooking to creatingView event.
14
+ *
15
+ * @nsEvent {CreateViewEventData} creatingView
16
+ */
17
+ public static creatingViewEvent: string;
18
+
19
+ /**
20
+ * Adds a listener for the specified event name.
21
+ *
22
+ * @param eventName The name of the event.
23
+ * @param callback The event listener to add. Will be called when an event of
24
+ * the given name is raised.
25
+ * @param thisArg An optional parameter which, when set, will be bound as the
26
+ * `this` context when the callback is called. Falsy values will be not be
27
+ * bound.
28
+ */
29
+ on(eventName: string, callback: (args: EventData) => void, thisArg?: any): void;
30
+
31
+ /**
32
+ * Raised when a creatingView event occurs.
33
+ */
34
+ on(event: 'creatingView', callback: (args: CreateViewEventData) => void, thisArg?: any): void;
8
35
  }
9
- export interface Placeholder {
10
- on(eventNames: string, callback: (args: EventData) => void, thisArg?: any): void;
11
- on(event: 'creatingView', callback: (args: CreateViewEventData) => void, thisArg?: any): void;
36
+
37
+ /**
38
+ * Event data containing information for creating a native view that will be added to the visual tree.
39
+ */
40
+ export interface CreateViewEventData extends EventData {
41
+ /**
42
+ * The native view that should be added to the visual tree.
43
+ */
44
+ view: any;
45
+
46
+ /**
47
+ * An optional context for creating the view.
48
+ */
49
+ context?: any;
12
50
  }
@@ -0,0 +1,50 @@
1
+ import { View } from '../core/view';
2
+ import { Property } from '../core/properties';
3
+
4
+ /**
5
+ * Represents a progress component.
6
+ *
7
+ * @nsView Progress
8
+ */
9
+ export class Progress extends View {
10
+ /**
11
+ * String value used when hooking to valueChange event.
12
+ *
13
+ * @nsEvent {PropertyChangeData} valueChange
14
+ */
15
+ static readonly valueChangeEvent = 'valueChange';
16
+
17
+ /**
18
+ * Gets the native [android widget](http://developer.android.com/reference/android/widget/ProgressBar.html) that represents the user interface for this component. Valid only when running on Android OS.
19
+ */
20
+ android: any /* android.widget.ProgressBar */;
21
+
22
+ /**
23
+ * Gets the native iOS [UIProgressView](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIProgressView_Class/) that represents the user interface for this component. Valid only when running on iOS.
24
+ */
25
+ ios: any /* UIProgressView */;
26
+
27
+ /**
28
+ * Gets or sets a progress current value.
29
+ *
30
+ * @nsProperty
31
+ */
32
+ value: number;
33
+
34
+ /**
35
+ * Gets or sets a progress max value.
36
+ *
37
+ * @nsProperty
38
+ */
39
+ maxValue: number;
40
+ }
41
+
42
+ /**
43
+ * Represents the observable property backing the value property of each Progress instance.
44
+ */
45
+ export const valueProperty: Property<Progress, number>;
46
+
47
+ /**
48
+ * Represents the observable property backing the maxValue property of each Progress instance.
49
+ */
50
+ export const maxValueProperty: Property<Progress, number>;
@@ -0,0 +1,99 @@
1
+ import { ContentView } from '../content-view';
2
+ import { Property } from '../core/properties';
3
+ import { EventData } from '../../data/observable';
4
+ import { CoreTypes } from '../../core-types';
5
+
6
+ /**
7
+ * Represents a scrollable area that can have content that is larger than its bounds.
8
+ *
9
+ * @nsView ScrollView
10
+ */
11
+ export class ScrollView extends ContentView {
12
+ /**
13
+ * String value used when hooking to scroll event.
14
+ *
15
+ * @nsEvent {ScrollEventData} scroll
16
+ */
17
+ public static scrollEvent: string;
18
+
19
+ /**
20
+ * Gets or sets a value indicating whether scroll is enabled.
21
+ *
22
+ * @nsProperty
23
+ */
24
+ isScrollEnabled: boolean;
25
+
26
+ /**
27
+ * Gets a value that contains the vertical offset of the scrolled content.
28
+ */
29
+ verticalOffset: number;
30
+
31
+ /**
32
+ * Gets a value that contains the horizontal offset of the scrolled content.
33
+ */
34
+ horizontalOffset: number;
35
+
36
+ /**
37
+ * Gets the maximum value for the verticalOffset.
38
+ */
39
+ scrollableHeight: number;
40
+
41
+ /**
42
+ * Gets the maximum value for the horizontalOffset.
43
+ */
44
+ scrollableWidth: number;
45
+
46
+ /**
47
+ * Toggles scrollbar indicator visibility
48
+ *
49
+ * @nsProperty
50
+ */
51
+ scrollBarIndicatorVisible: boolean;
52
+
53
+ /**
54
+ * Scrolls the content the specified vertical offset position.
55
+ * @param value The offset value
56
+ * @param animated true for animated scroll, false for immediate scroll.
57
+ */
58
+ scrollToVerticalOffset(value: number, animated: boolean);
59
+
60
+ /**
61
+ * Scrolls the content the specified horizontal offset position.
62
+ * @param value The offset value
63
+ * @param animated true for animated scroll, false for immediate scroll.
64
+ */
65
+ scrollToHorizontalOffset(value: number, animated: boolean);
66
+
67
+ /**
68
+ * Gets or sets direction in which the content can be scrolled.
69
+ *
70
+ * @nsProperty
71
+ */
72
+ orientation: CoreTypes.OrientationType;
73
+
74
+ /**
75
+ * Adds a listener for the specified event name.
76
+ *
77
+ * @param eventName The name of the event.
78
+ * @param callback The event listener to add. Will be called when an event of
79
+ * the given name is raised.
80
+ * @param thisArg An optional parameter which, when set, will be bound as the
81
+ * `this` context when the callback is called. Falsy values will be not be
82
+ * bound.
83
+ */
84
+ on(eventName: string, callback: (data: EventData) => void, thisArg?: any): void;
85
+
86
+ /**
87
+ * Raised when a scroll event occurs.
88
+ */
89
+ on(event: 'scroll', callback: (args: ScrollEventData) => void, thisArg?: any): void;
90
+
91
+ _onOrientationChanged(): void;
92
+ }
93
+
94
+ export interface ScrollEventData extends EventData {
95
+ scrollX: number;
96
+ scrollY: number;
97
+ }
98
+
99
+ export const orientationProperty: Property<ScrollView, CoreTypes.OrientationType>;