@nativescript/core 8.9.0-next-01-17-2025-12834437745 → 8.9.0-next-01-18-2025-12839190246

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 (309) 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/index.d.ts +590 -0
  252. package/ui/frame/transition-definitions.android.d.ts +54 -0
  253. package/ui/gestures/index.d.ts +59 -0
  254. package/ui/html-view/index.d.ts +41 -0
  255. package/ui/image/index.d.ts +119 -0
  256. package/ui/image/symbol-effects.d.ts +13 -0
  257. package/ui/image-cache/index.d.ts +147 -0
  258. package/ui/label/index.d.ts +25 -0
  259. package/ui/layouts/absolute-layout/index.d.ts +42 -0
  260. package/ui/layouts/dock-layout/index.d.ts +39 -0
  261. package/ui/layouts/flexbox-layout/index.d.ts +98 -0
  262. package/ui/layouts/grid-layout/index.d.ts +201 -0
  263. package/ui/layouts/index.d.ts +1 -2
  264. package/ui/layouts/layout-base.d.ts +119 -0
  265. package/ui/layouts/root-layout/index.d.ts +48 -0
  266. package/ui/layouts/stack-layout/index.d.ts +22 -0
  267. package/ui/layouts/wrap-layout/index.d.ts +51 -0
  268. package/ui/list-picker/index.d.ts +43 -0
  269. package/ui/list-view/index.d.ts +232 -0
  270. package/ui/page/index.d.ts +241 -0
  271. package/ui/placeholder/index.d.ts +46 -8
  272. package/ui/progress/index.d.ts +50 -0
  273. package/ui/scroll-view/index.d.ts +99 -0
  274. package/ui/search-bar/index.d.ts +103 -0
  275. package/ui/segmented-bar/index.d.ts +122 -0
  276. package/ui/slider/index.d.ts +99 -0
  277. package/ui/styling/background.d.ts +95 -0
  278. package/ui/styling/converters.d.ts +2 -2
  279. package/ui/styling/font.d.ts +62 -0
  280. package/ui/styling/style-properties.d.ts +101 -81
  281. package/ui/styling/style-scope.d.ts +48 -79
  282. package/ui/switch/index.d.ts +46 -0
  283. package/ui/tab-view/index.d.ts +213 -0
  284. package/ui/text-base/formatted-string.d.ts +97 -36
  285. package/ui/text-base/index.d.ts +208 -0
  286. package/ui/text-base/span.d.ts +111 -36
  287. package/ui/text-field/index.d.ts +54 -0
  288. package/ui/text-view/index.d.ts +35 -0
  289. package/ui/time-picker/index.d.ts +107 -0
  290. package/ui/transition/fade-transition.d.ts +3 -0
  291. package/ui/transition/flip-transition.d.ts +5 -0
  292. package/ui/transition/index.d.ts +59 -0
  293. package/ui/transition/modal-transition.d.ts +2 -0
  294. package/ui/transition/page-transition.d.ts +4 -0
  295. package/ui/transition/shared-transition-helper.d.ts +14 -0
  296. package/ui/transition/slide-transition.d.ts +5 -0
  297. package/ui/utils.d.ts +44 -0
  298. package/ui/web-view/index.d.ts +142 -0
  299. package/utils/constants.d.ts +1 -0
  300. package/utils/debug.d.ts +61 -17
  301. package/utils/index.d.ts +183 -0
  302. package/utils/layout-helper/index.d.ts +82 -0
  303. package/utils/lazy.d.ts +5 -0
  304. package/utils/macrotask-scheduler.d.ts +5 -1
  305. package/utils/mainthread-helper.d.ts +16 -0
  306. package/utils/native-helper.d.ts +280 -0
  307. package/utils/types.d.ts +115 -23
  308. package/utils/typescript-utils.d.ts +6 -0
  309. package/xml/index.d.ts +105 -44
@@ -0,0 +1,201 @@
1
+ import { LayoutBase } from '../layout-base';
2
+ import { View } from '../../core/view';
3
+ import { Property } from '../../core/properties';
4
+
5
+ /**
6
+ * Defines row/column specific properties that apply to GridLayout elements.
7
+ */
8
+ export class ItemSpec {
9
+ constructor();
10
+ constructor(value: number, type: GridUnitType);
11
+
12
+ /**
13
+ * Gets the actual length of an ItemSpec.
14
+ */
15
+ actualLength: number;
16
+
17
+ /**
18
+ * Returns unit type of this ItemSpec instance.
19
+ */
20
+ gridUnitType: GridUnitType;
21
+
22
+ /**
23
+ * Returns true if this ItemSpec instance holds
24
+ * an absolute (pixel) value.
25
+ */
26
+ isAbsolute: boolean;
27
+
28
+ /**
29
+ * Returns true if this GridLength instance is
30
+ * automatic (not specified).
31
+ */
32
+ isAuto: boolean;
33
+
34
+ /**
35
+ * Returns true if this ItemSpec instance holds weighted proportion
36
+ * of available space.
37
+ */
38
+ isStar: boolean;
39
+
40
+ /**
41
+ * Returns value part of this ItemSpec instance.
42
+ */
43
+ value: number;
44
+ }
45
+
46
+ /**
47
+ * Defines a rectangular layout area that consists of columns and rows.
48
+ *
49
+ * @nsView GridLayout
50
+ */
51
+ export class GridLayout extends LayoutBase {
52
+ /**
53
+ * A string value representing row heights delimited with commas.
54
+ *
55
+ * Valid values: an absolute number, auto, or *:
56
+ *
57
+ * @nsProperty
58
+ */
59
+ rows: string;
60
+ /**
61
+ * A string value representing column widths delimited with commas.
62
+ *
63
+ * Valid values: an absolute number, auto, or *:
64
+ *
65
+ * @nsProperty
66
+ */
67
+ columns: string;
68
+
69
+ /**
70
+ * Gets the value of the Column attached property from a given View.
71
+ */
72
+ static getColumn(view: View): number;
73
+
74
+ /**
75
+ * Sets the value of the Column attached property to a given View.
76
+ */
77
+ static setColumn(view: View, value: number): void;
78
+
79
+ /**
80
+ * Gets the value of the ColumnSpan attached property from a given View.
81
+ */
82
+ static getColumnSpan(view: View): number;
83
+
84
+ /**
85
+ * Sets the value of the ColumnSpan attached property to a given View.
86
+ */
87
+ static setColumnSpan(view: View, value: number): void;
88
+
89
+ /**
90
+ * Gets the value of the Row attached property from a given View.
91
+ */
92
+ static getRow(view: View): number;
93
+
94
+ /**
95
+ * Sets the value of the Row attached property to a given View.
96
+ */
97
+ static setRow(view: View, value: number): void;
98
+
99
+ /**
100
+ * Gets the value of the RowSpan attached property from a given View.
101
+ */
102
+ static getRowSpan(view: View): number;
103
+
104
+ /**
105
+ * Sets the value of the RowSpan attached property to a given View.
106
+ */
107
+ static setRowSpan(view: View, value: number): void;
108
+
109
+ /**
110
+ * Adds a column specification to a GridLayout.
111
+ */
112
+ public addColumn(itemSpec: ItemSpec): void;
113
+
114
+ /**
115
+ * Adds a row specification to a GridLayout.
116
+ */
117
+ public addRow(itemSpec: ItemSpec): void;
118
+
119
+ /**
120
+ * Adds a child at specific cell in GridLayout. Optional rowSpan and columnSpan attributes
121
+ */
122
+ public addChildAtCell(view: View, row: number, column: number, rowSpan?: number, columnSpan?: number): void;
123
+
124
+ /**
125
+ * Removes a column specification from a GridLayout.
126
+ */
127
+ public removeColumn(itemSpec: ItemSpec): void;
128
+
129
+ /**
130
+ * Removes all column specifications from a GridLayout.
131
+ */
132
+ public removeColumns(): void;
133
+
134
+ /**
135
+ * Removes a row specification from a GridLayout.
136
+ */
137
+ public removeRow(itemSpec: ItemSpec): void;
138
+
139
+ /**
140
+ * Removes all row specifications from a GridLayout.
141
+ */
142
+ public removeRows(): void;
143
+
144
+ /**
145
+ * Gets array of column specifications defined on this instance of GridLayout.
146
+ */
147
+ public getColumns(): Array<ItemSpec>;
148
+
149
+ /**
150
+ * Gets array of row specifications defined on this instance of GridLayout.
151
+ */
152
+ public getRows(): Array<ItemSpec>;
153
+
154
+ //@private
155
+ /**
156
+ * @private
157
+ */
158
+ public _onRowAdded(itemSpec: ItemSpec): void;
159
+ /**
160
+ * @private
161
+ */
162
+ public _onColumnAdded(itemSpec: ItemSpec): void;
163
+ /**
164
+ * @private
165
+ */
166
+ public _onRowRemoved(itemSpec: ItemSpec, index: number): void;
167
+ /**
168
+ * @private
169
+ */
170
+ public _onColumnRemoved(itemSpec: ItemSpec, index: number): void;
171
+ //@endprivate
172
+ }
173
+
174
+ /**
175
+ * Represents the observable property backing the column property.
176
+ */
177
+ export const columnProperty: Property<View, number>;
178
+
179
+ /**
180
+ * Represents the observable property backing the columnSpan property.
181
+ */
182
+ export const columnSpanProperty: Property<View, number>;
183
+
184
+ /**
185
+ * Represents the observable property backing the row property.
186
+ */
187
+ export const rowProperty: Property<View, number>;
188
+
189
+ /**
190
+ * Represents the observable property backing the rowSpan property.
191
+ */
192
+ export const rowSpanProperty: Property<View, number>;
193
+
194
+ export type GridUnitType = 'pixel' | 'star' | 'auto';
195
+ export namespace GridUnitType {
196
+ export const PIXEL: 'pixel';
197
+ export const STAR: 'star';
198
+ export const AUTO: 'auto';
199
+ export function isValid(value: any): boolean;
200
+ export function parse(value: string): GridUnitType;
201
+ }
@@ -2,8 +2,7 @@ export { AbsoluteLayout } from './absolute-layout';
2
2
  export { DockLayout } from './dock-layout';
3
3
  export { FlexboxLayout } from './flexbox-layout';
4
4
  export { GridLayout, GridUnitType, ItemSpec } from './grid-layout';
5
- export { RootLayout, getRootLayout } from './root-layout';
6
- export type { RootLayoutOptions, ShadeCoverOptions } from './root-layout';
5
+ export { RootLayout, getRootLayout, RootLayoutOptions, ShadeCoverOptions } from './root-layout';
7
6
  export { StackLayout } from './stack-layout';
8
7
  export { WrapLayout } from './wrap-layout';
9
8
  export { LayoutBase } from './layout-base';
@@ -0,0 +1,119 @@
1
+ import { CoreTypes } from '../../core-types';
2
+ import { View, CustomLayoutView } from '../core/view';
3
+ import { Property } from '../core/properties';
4
+
5
+ /**
6
+ * Base class for all views that supports children positioning.
7
+ */
8
+ export class LayoutBase extends CustomLayoutView {
9
+ /**
10
+ * Returns the number of children in this Layout.
11
+ */
12
+ getChildrenCount(): number;
13
+
14
+ /**
15
+ * Returns the view at the specified position.
16
+ * @param index The position at which to get the child from.
17
+ */
18
+ getChildAt(index: number): View;
19
+
20
+ /**
21
+ * Returns the position of the child view
22
+ * @param child The child view that we are looking for.
23
+ */
24
+ getChildIndex(child: View): number;
25
+
26
+ /**
27
+ * Adds the view to children array.
28
+ * @param view The view to be added to the end of the children array.
29
+ */
30
+ addChild(view: View): void;
31
+
32
+ /**
33
+ * Inserts the view to children array at the specified index.
34
+ * @param view The view to be added to the end of the children array.
35
+ * @param atIndex The insertion index.
36
+ */
37
+ insertChild(child: View, atIndex: number): void;
38
+
39
+ /**
40
+ * Removes the specified view from the children array.
41
+ * @param view The view to remove from the children array.
42
+ */
43
+ removeChild(view: View): void;
44
+
45
+ /**
46
+ * Removes all views in this layout.
47
+ */
48
+ removeChildren(): void;
49
+
50
+ /**
51
+ * INTERNAL. Used by the layout system.
52
+ */
53
+ _registerLayoutChild(child: View): void;
54
+
55
+ /**
56
+ * INTERNAL. Used by the layout system.
57
+ */
58
+ _unregisterLayoutChild(child: View): void;
59
+
60
+ /**
61
+ * Calls the callback for each child that should be laid out.
62
+ * @param callback The callback
63
+ */
64
+ eachLayoutChild(callback: (child: View, isLast: boolean) => void): void;
65
+
66
+ /**
67
+ * Gets or sets padding style property.
68
+ *
69
+ * @nsProperty
70
+ */
71
+ padding: string | CoreTypes.LengthType;
72
+
73
+ /**
74
+ * Specify the bottom padding of this layout.
75
+ *
76
+ * @nsProperty
77
+ */
78
+ paddingBottom: CoreTypes.LengthType;
79
+
80
+ /**
81
+ * Specify the left padding of this layout.
82
+ *
83
+ * @nsProperty
84
+ */
85
+ paddingLeft: CoreTypes.LengthType;
86
+
87
+ /**
88
+ * Specify the right padding of this layout.
89
+ *
90
+ * @nsProperty
91
+ */
92
+ paddingRight: CoreTypes.LengthType;
93
+
94
+ /**
95
+ * Specify the top padding of this layout.
96
+ *
97
+ * @nsProperty
98
+ */
99
+ paddingTop: CoreTypes.LengthType;
100
+
101
+ /**
102
+ * Gets or sets a value indicating whether to clip the content of this layout.
103
+ *
104
+ * @nsProperty
105
+ */
106
+ clipToBounds: boolean;
107
+
108
+ /**
109
+ * Gets or sets a value indicating whether touch event should pass through to a parent view of the
110
+ * layout container in case an interactive child view did not handle it.
111
+ * Default value of this property is false. This does not affect the appearance of the view.
112
+ *
113
+ * @nsProperty
114
+ */
115
+ isPassThroughParentEnabled: boolean;
116
+ }
117
+
118
+ export const clipToBoundsProperty: Property<LayoutBase, boolean>;
119
+ export const isPassThroughParentEnabledProperty: Property<LayoutBase, boolean>;
@@ -0,0 +1,48 @@
1
+ import { GridLayout } from '../grid-layout';
2
+ import { View } from '../../core/view';
3
+
4
+ /**
5
+ * @nsView RootLayout
6
+ */
7
+ export class RootLayout extends GridLayout {
8
+ open(view: View, options: RootLayoutOptions = {}): Promise<void>;
9
+ close(view: View, exitTo?: TransitionAnimation): Promise<void>;
10
+ topmost(): View;
11
+ bringToFront(view: View, animated?: boolean): Promise<void>;
12
+ closeAll(): Promise<void[]>;
13
+ getShadeCover(): View;
14
+ openShadeCover(options: ShadeCoverOptions = {}): Promise<void>;
15
+ closeShadeCover(shadeCoverOptions: ShadeCoverOptions = {}): Promise<void>;
16
+ }
17
+
18
+ export function getRootLayout(): RootLayout;
19
+
20
+ export interface RootLayoutOptions {
21
+ shadeCover?: ShadeCoverOptions;
22
+ animation?: {
23
+ enterFrom?: TransitionAnimation;
24
+ exitTo?: TransitionAnimation;
25
+ };
26
+ }
27
+
28
+ export interface ShadeCoverOptions {
29
+ opacity?: number;
30
+ color?: string;
31
+ tapToClose?: boolean;
32
+ animation?: {
33
+ enterFrom?: TransitionAnimation; // only applied if first one to be opened
34
+ exitTo?: TransitionAnimation; // only applied if last one to be closed
35
+ };
36
+ ignoreShadeRestore?: boolean;
37
+ }
38
+
39
+ export interface TransitionAnimation {
40
+ translateX?: number;
41
+ translateY?: number;
42
+ scaleX?: number;
43
+ scaleY?: number;
44
+ rotate?: number; // in degrees
45
+ opacity?: number;
46
+ duration?: number; // in milliseconds
47
+ curve?: any; // CoreTypes.AnimationCurve (string, cubicBezier, etc.)
48
+ }
@@ -0,0 +1,22 @@
1
+ import { LayoutBase } from '../layout-base';
2
+ import { Property } from '../../core/properties';
3
+ import { CoreTypes } from '../../../core-types';
4
+
5
+ /**
6
+ * A Layout that arranges its children horizontally or vertically. The direction can be set by orientation property.
7
+ *
8
+ * @nsView StackLayout
9
+ */
10
+ export class StackLayout extends LayoutBase {
11
+ /**
12
+ * Gets or sets if layout should be horizontal or vertical.
13
+ * The default value is vertical.
14
+ * @nsProperty
15
+ */
16
+ orientation: CoreTypes.OrientationType;
17
+ }
18
+
19
+ /**
20
+ * Represents the observable property backing the orientation property of each StackLayout instance.
21
+ */
22
+ export const orientationProperty: Property<StackLayout, CoreTypes.OrientationType>;
@@ -0,0 +1,51 @@
1
+ import { LayoutBase } from '../layout-base';
2
+ import { Length } from '../../styling/style-properties';
3
+ import { Property } from '../../core/properties';
4
+ import { CoreTypes } from '../../../core-types';
5
+
6
+ /**
7
+ * WrapLayout position children in rows or columns depending on orientation property
8
+ * until space is filled and then wraps them on new row or column.
9
+ *
10
+ * @nsView WrapLayout
11
+ */
12
+ export class WrapLayout extends LayoutBase {
13
+ /**
14
+ * Gets or sets the flow direction. Default value is horizontal.
15
+ * If orientation is horizontal items are arranged in rows, else items are arranged in columns.
16
+ *
17
+ * @nsProperty
18
+ */
19
+ orientation: CoreTypes.OrientationType;
20
+
21
+ /**
22
+ * Gets or sets the width used to measure and layout each child.
23
+ * Default value is Number.NaN which does not restrict children.
24
+ *
25
+ * @nsProperty
26
+ */
27
+ itemWidth: CoreTypes.LengthType;
28
+
29
+ /**
30
+ * Gets or sets the height used to measure and layout each child.
31
+ * Default value is Number.NaN which does not restrict children.
32
+ *
33
+ * @nsProperty
34
+ */
35
+ itemHeight: CoreTypes.LengthType;
36
+ }
37
+
38
+ /**
39
+ * Represents the observable property backing the orientation property of each WrapLayout instance.
40
+ */
41
+ export const orientationProperty: Property<WrapLayout, CoreTypes.OrientationType>;
42
+
43
+ /**
44
+ * Represents the observable property backing the itemWidth property of each WrapLayout instance.
45
+ */
46
+ export const itemWidthProperty: Property<WrapLayout, CoreTypes.LengthType>;
47
+
48
+ /**
49
+ * Represents the observable property backing the itemHeight property of each WrapLayout instance.
50
+ */
51
+ export const itemHeightProperty: Property<WrapLayout, CoreTypes.LengthType>;
@@ -0,0 +1,43 @@
1
+ import { View } from '../core/view';
2
+ import { Property } from '../core/properties';
3
+ import { ItemsSource } from './list-picker-common';
4
+
5
+ /**
6
+ * Represents an list picker.
7
+ *
8
+ * @nsView ListPicker
9
+ */
10
+ export class ListPicker extends View {
11
+ /**
12
+ * @nsEvent {PropertyChangeData} selectedIndexChange
13
+ */
14
+ public static selectedIndexChangeEvent: string;
15
+
16
+ /**
17
+ * Gets the native [android.widget.NumberPicker](http://developer.android.com/reference/android/widget/NumberPicker.html) that represents the user interface for this component. Valid only when running on Android OS.
18
+ */
19
+ android: any /* android.widget.NumberPicker */;
20
+
21
+ /**
22
+ * Gets the native iOS [UIPickerView](http://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UIDatePicker_Class/index.html) that represents the user interface for this component. Valid only when running on iOS.
23
+ */
24
+ ios: any /* UIPickerView */;
25
+
26
+ /**
27
+ * Gets or sets the selected index.
28
+ *
29
+ * @nsProperty
30
+ */
31
+ selectedIndex: number;
32
+
33
+ /**
34
+ * Gets or set the items collection of the ListPicker.
35
+ * The items property can be set to an array or an object defining length and getItem(index) method.
36
+ *
37
+ * @nsProperty
38
+ */
39
+ items: any[] | ItemsSource;
40
+ }
41
+
42
+ export const selectedIndexProperty: Property<ListPicker, number>;
43
+ export const itemsProperty: Property<ListPicker, any[] | ItemsSource>;