@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,1216 @@
1
+ import { AccessibilityEventOptions, AccessibilityLiveRegion, AccessibilityRole, AccessibilityState } from '../../../accessibility/accessibility-types';
2
+ import { Color } from '../../../color';
3
+ import { CoreTypes } from '../../../core-types';
4
+ import { EventData } from '../../../data/observable';
5
+ import { Animation, AnimationDefinition, AnimationPromise } from '../../animation';
6
+ import { GestureTypes, GesturesObserver, TouchAnimationOptions, VisionHoverOptions } from '../../gestures';
7
+ import { ShadowCSSValues } from '../../styling/css-shadow';
8
+ import { LinearGradient } from '../../styling/linear-gradient';
9
+ import { InheritedProperty, Property } from '../properties';
10
+ import { ViewBase } from '../view-base';
11
+ import { ViewCommon } from './view-common';
12
+
13
+ export * from './view-common';
14
+ // helpers (these are okay re-exported here)
15
+ export * from './view-helper';
16
+
17
+ // This one can eventually be cleaned up but causes issues with a lot of ui-suite plugins in particular if not exported here
18
+ export * from '../properties';
19
+
20
+ export function PseudoClassHandler(...pseudoClasses: string[]): MethodDecorator;
21
+
22
+ /**
23
+ * Specifies the type name for the instances of this View class,
24
+ * that is used when matching CSS type selectors.
25
+ *
26
+ * Usage:
27
+ * ```
28
+ * @CSSType("Button")
29
+ * class Button extends View {
30
+ * }
31
+ * ```
32
+ *
33
+ * Internally the decorator set `Button.prototype.cssType = "Button"`.
34
+ * @param type The type name, e. g. "Button", "Label", etc.
35
+ */
36
+ export function CSSType(type: string): ClassDecorator;
37
+
38
+ /**
39
+ *
40
+ * @param view The view
41
+ * @param context The ModuleType
42
+ * @param type Type of the ModuleType to be matched
43
+ */
44
+ export function viewMatchesModuleContext(view: View, context: ModuleContext, type: ModuleType[]): boolean;
45
+
46
+ /**
47
+ * The Point interface describes a two dimensional location.
48
+ * It has two properties x and y, representing the x and y coordinate of the location.
49
+ */
50
+ export interface Point {
51
+ /**
52
+ * Represents the x coordinate of the location.
53
+ */
54
+ x: number;
55
+
56
+ /**
57
+ * Represents the y coordinate of the location.
58
+ */
59
+ y: number;
60
+
61
+ /**
62
+ * Represents the z coordinate of the location.
63
+ */
64
+ z?: number;
65
+ }
66
+
67
+ export interface Position {
68
+ top: number;
69
+ right: number;
70
+ bottom: number;
71
+ left: number;
72
+ }
73
+
74
+ /**
75
+ * The Size interface describes abstract dimensions in two dimensional space.
76
+ * It has two properties width and height, representing the width and height values of the size.
77
+ */
78
+ export interface Size {
79
+ /**
80
+ * Represents the width of the size.
81
+ */
82
+ width: number;
83
+
84
+ /**
85
+ * Represents the height of the size.
86
+ */
87
+ height: number;
88
+ }
89
+
90
+ /**
91
+ * Defines the data for the shownModally event.
92
+ */
93
+ export interface ShownModallyData extends EventData {
94
+ /**
95
+ * The context (optional, may be undefined) passed to the view when shown modally.
96
+ */
97
+ context?: any;
98
+
99
+ /**
100
+ * A callback to call when you want to close the modally shown view.
101
+ * Pass in any kind of arguments and you will receive when the callback parameter
102
+ * of View.showModal is executed.
103
+ */
104
+ closeCallback?: Function;
105
+ }
106
+
107
+ /**
108
+ * This class is the base class for all UI components.
109
+ * A View occupies a rectangular area on the screen and is responsible for drawing and layouting of all UI components within.
110
+ *
111
+ * @nsView View
112
+ */
113
+ export abstract class View extends ViewCommon {
114
+ /**
115
+ * String value used when hooking to layoutChanged event.
116
+ *
117
+ * @nsEvent layoutChanged
118
+ */
119
+ public static layoutChangedEvent: string;
120
+ /**
121
+ * String value used when hooking to showingModally event.
122
+ *
123
+ * @nsEvent {ShownModallyData} showingModally
124
+ */
125
+ public static showingModallyEvent: string;
126
+
127
+ /**
128
+ * String value used when hooking to shownModally event.
129
+ *
130
+ * @nsEvent {ShownModallyData} shownModally
131
+ */
132
+ public static shownModallyEvent: string;
133
+
134
+ /**
135
+ * String value used when hooking to accessibilityBlur event.
136
+ *
137
+ * @nsEvent accessibilityBlur
138
+ */
139
+ public static accessibilityBlurEvent: string;
140
+
141
+ /**
142
+ * String value used when hooking to accessibilityFocus event.
143
+ *
144
+ * @nsEvent accessibilityFocus
145
+ */
146
+ public static accessibilityFocusEvent: string;
147
+
148
+ /**
149
+ * String value used when hooking to accessibilityFocusChanged event.
150
+ *
151
+ * @nsEvent {EventDataValue} accessibilityFocusChanged
152
+ */
153
+ public static accessibilityFocusChangedEvent: string;
154
+
155
+ /**
156
+ * Gets the android-specific native instance that lies behind this proxy. Will be available if running on an Android platform.
157
+ */
158
+ // @ts-ignore
159
+ public android: any;
160
+
161
+ /**
162
+ * Gets the ios-specific native instance that lies behind this proxy. Will be available if running on an iOS platform.
163
+ */
164
+ // @ts-ignore
165
+ public ios: any;
166
+
167
+ /**
168
+ * Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified.
169
+ *
170
+ * @nsProperty
171
+ */
172
+ bindingContext: any;
173
+
174
+ /**
175
+ * Gets or sets the border color of the view.
176
+ *
177
+ * @nsProperty
178
+ */
179
+ borderColor: string | Color;
180
+
181
+ /**
182
+ * Gets or sets the top border color of the view.
183
+ *
184
+ * @nsProperty
185
+ */
186
+ borderTopColor: Color;
187
+
188
+ /**
189
+ * Gets or sets the right border color of the view.
190
+ *
191
+ * @nsProperty
192
+ */
193
+ borderRightColor: Color;
194
+
195
+ /**
196
+ * Gets or sets the bottom border color of the view.
197
+ *
198
+ * @nsProperty
199
+ */
200
+ borderBottomColor: Color;
201
+
202
+ /**
203
+ * Gets or sets the left border color of the view.
204
+ *
205
+ * @nsProperty
206
+ */
207
+ borderLeftColor: Color;
208
+
209
+ /**
210
+ * Gets or sets the border width of the view.
211
+ *
212
+ * @nsProperty
213
+ */
214
+ borderWidth: string | CoreTypes.LengthType;
215
+
216
+ /**
217
+ * Gets or sets the top border width of the view.
218
+ *
219
+ * @nsProperty
220
+ */
221
+ borderTopWidth: CoreTypes.LengthType;
222
+
223
+ /**
224
+ * Gets or sets the right border width of the view.
225
+ *
226
+ * @nsProperty
227
+ */
228
+ borderRightWidth: CoreTypes.LengthType;
229
+
230
+ /**
231
+ * Gets or sets the bottom border width of the view.
232
+ *
233
+ * @nsProperty
234
+ */
235
+ borderBottomWidth: CoreTypes.LengthType;
236
+
237
+ /**
238
+ * Gets or sets the left border width of the view.
239
+ *
240
+ * @nsProperty
241
+ */
242
+ borderLeftWidth: CoreTypes.LengthType;
243
+
244
+ /**
245
+ * Gets or sets the border radius of the view.
246
+ *
247
+ * @nsProperty
248
+ */
249
+ borderRadius: string | CoreTypes.LengthType;
250
+
251
+ /**
252
+ * Gets or sets the top left border radius of the view.
253
+ *
254
+ * @nsProperty
255
+ */
256
+ borderTopLeftRadius: CoreTypes.LengthType;
257
+
258
+ /**
259
+ * Gets or sets the top right border radius of the view.
260
+ *
261
+ * @nsProperty
262
+ */
263
+ borderTopRightRadius: CoreTypes.LengthType;
264
+
265
+ /**
266
+ * Gets or sets the bottom right border radius of the view.
267
+ *
268
+ * @nsProperty
269
+ */
270
+ borderBottomRightRadius: CoreTypes.LengthType;
271
+
272
+ /**
273
+ * Gets or sets the bottom left border radius of the view.
274
+ *
275
+ * @nsProperty
276
+ */
277
+ borderBottomLeftRadius: CoreTypes.LengthType;
278
+
279
+ /**
280
+ * Gets or sets the color of the view.
281
+ *
282
+ * @nsProperty
283
+ */
284
+ color: Color;
285
+
286
+ /**
287
+ * If `true` the element is an accessibility element and all the children will be treated as a single selectable component.
288
+ */
289
+ accessible: boolean;
290
+
291
+ /**
292
+ * Hide the view and its children from the a11y service
293
+ *
294
+ * @nsProperty
295
+ */
296
+ accessibilityHidden: boolean;
297
+
298
+ /**
299
+ * The view's unique accessibilityIdentifier.
300
+ *
301
+ * This is used for automated testing.
302
+ *
303
+ * @nsProperty
304
+ */
305
+ accessibilityIdentifier: string;
306
+
307
+ /**
308
+ * Which role should this view be treated by the a11y service?
309
+ *
310
+ * @nsProperty
311
+ */
312
+ accessibilityRole: AccessibilityRole;
313
+
314
+ /**
315
+ * Which state should this view be treated as by the a11y service?
316
+ *
317
+ * @nsProperty
318
+ *
319
+ */
320
+ accessibilityState: AccessibilityState;
321
+
322
+ /**
323
+ * Short description of the element, ideally one word.
324
+ *
325
+ * @nsProperty
326
+ */
327
+ accessibilityLabel: string;
328
+
329
+ /**
330
+ * Current value of the element in a localized string.
331
+ *
332
+ * @nsProperty
333
+ */
334
+ accessibilityValue: string;
335
+
336
+ /**
337
+ * A hint describes the elements behavior. Example: 'Tap change playback speed'
338
+ *
339
+ * @nsProperty
340
+ */
341
+ accessibilityHint: string;
342
+
343
+ /**
344
+ * When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property.
345
+ */
346
+ accessibilityLiveRegion: AccessibilityLiveRegion;
347
+
348
+ /**
349
+ * Sets the language in which to speak the element's label and value.
350
+ * Accepts language ID tags that follows the "BCP 47" specification.
351
+ *
352
+ * @nsProperty
353
+ */
354
+ accessibilityLanguage: string;
355
+
356
+ /**
357
+ * This view starts a media session. Equivalent to trait = startsMedia
358
+ *
359
+ * @nsProperty
360
+ */
361
+ accessibilityMediaSession: boolean;
362
+
363
+ /**
364
+ * @nsProperty
365
+ */
366
+ accessibilityIgnoresInvertColors: boolean;
367
+
368
+ /**
369
+ * Defines whether accessibility font scale should affect font size.
370
+ *
371
+ * @nsProperty
372
+ */
373
+ iosAccessibilityAdjustsFontSize: boolean;
374
+
375
+ /**
376
+ * Gets or sets the minimum accessibility font scale.
377
+ *
378
+ * @nsProperty
379
+ */
380
+ iosAccessibilityMinFontScale: number;
381
+
382
+ /**
383
+ * Gets or sets the maximum accessibility font scale.
384
+ *
385
+ * @nsProperty
386
+ */
387
+ iosAccessibilityMaxFontScale: number;
388
+
389
+ /**
390
+ * Internal use only. This is used to limit the number of updates to android.view.View.setContentDescription()
391
+ */
392
+ _androidContentDescriptionUpdated?: boolean;
393
+
394
+ /**
395
+ *
396
+ * @nsProperty
397
+ */
398
+ automationText: string;
399
+
400
+ /**
401
+ * Gets or sets the elevation of the android view.
402
+ *
403
+ * @nsProperty
404
+ */
405
+ androidElevation: number;
406
+
407
+ /**
408
+ * Gets or sets the dynamic elevation offset of the android view.
409
+ *
410
+ * @nsProperty
411
+ */
412
+ androidDynamicElevationOffset: number;
413
+
414
+ /**
415
+ * Gets or sets the background style property.
416
+ *
417
+ * @nsProperty
418
+ */
419
+ background: string;
420
+
421
+ /**
422
+ * Gets or sets the background color of the view.
423
+ *
424
+ * @nsProperty
425
+ */
426
+ backgroundColor: string | Color;
427
+
428
+ /**
429
+ * Gets or sets the background image of the view.
430
+ *
431
+ * @nsProperty
432
+ */
433
+ backgroundImage: string | LinearGradient;
434
+
435
+ /**
436
+ * Gets or sets the box shadow of the view.
437
+ *
438
+ * @nsProperty
439
+ */
440
+ boxShadow: string | ShadowCSSValues;
441
+
442
+ /**
443
+ * Gets or sets the minimum width the view may grow to.
444
+ *
445
+ * @nsProperty
446
+ */
447
+ minWidth: CoreTypes.LengthType;
448
+
449
+ /**
450
+ * Gets or sets the minimum height the view may grow to.
451
+ *
452
+ * @nsProperty
453
+ */
454
+ minHeight: CoreTypes.LengthType;
455
+
456
+ /**
457
+ * Gets or sets the desired width of the view.
458
+ *
459
+ * @nsProperty
460
+ */
461
+ width: CoreTypes.PercentLengthType;
462
+
463
+ /**
464
+ * Gets or sets the desired height of the view.
465
+ *
466
+ * @nsProperty
467
+ */
468
+ height: CoreTypes.PercentLengthType;
469
+
470
+ /**
471
+ * Gets or sets margin style property.
472
+ *
473
+ * @nsProperty
474
+ */
475
+ margin: string | CoreTypes.PercentLengthType;
476
+
477
+ /**
478
+ * Specifies extra space on the left side of this view.
479
+ *
480
+ * @nsProperty
481
+ */
482
+ marginLeft: CoreTypes.PercentLengthType;
483
+
484
+ /**
485
+ * Specifies extra space on the top side of this view.
486
+ *
487
+ * @nsProperty
488
+ */
489
+ marginTop: CoreTypes.PercentLengthType;
490
+
491
+ /**
492
+ * Specifies extra space on the right side of this view.
493
+ *
494
+ * @nsProperty
495
+ */
496
+ marginRight: CoreTypes.PercentLengthType;
497
+
498
+ /**
499
+ * Specifies extra space on the bottom side of this view.
500
+ *
501
+ * @nsProperty
502
+ */
503
+ marginBottom: CoreTypes.PercentLengthType;
504
+
505
+ /**
506
+ * Gets or sets the alignment of this view within its parent along the Horizontal axis.
507
+ *
508
+ * @nsProperty
509
+ */
510
+ horizontalAlignment: CoreTypes.HorizontalAlignmentType;
511
+
512
+ /**
513
+ * Gets or sets the alignment of this view within its parent along the Vertical axis.
514
+ *
515
+ * @nsProperty
516
+ */
517
+ verticalAlignment: CoreTypes.VerticalAlignmentType;
518
+
519
+ /**
520
+ * Gets or sets the visibility of the view.
521
+ *
522
+ * @nsProperty
523
+ */
524
+ visibility: CoreTypes.VisibilityType;
525
+
526
+ /**
527
+ * Gets or sets the opacity style property.
528
+ *
529
+ * @nsProperty
530
+ */
531
+ opacity: number;
532
+
533
+ /**
534
+ * Gets or sets the rotate affine transform of the view along the Z axis.
535
+ *
536
+ * @nsProperty
537
+ */
538
+ rotate: number;
539
+
540
+ /**
541
+ * Gets or sets the rotate affine transform of the view along the X axis.
542
+ *
543
+ * @nsProperty
544
+ */
545
+ rotateX: number;
546
+
547
+ /**
548
+ * Gets or sets the rotate affine transform of the view along the Y axis.
549
+ *
550
+ * @nsProperty
551
+ */
552
+ rotateY: number;
553
+
554
+ /**
555
+ * Gets or sets the distance of the camera form the view perspective.
556
+ * Usually needed when rotating the view over the X or Y axis.
557
+ *
558
+ * @nsProperty
559
+ */
560
+ perspective: number;
561
+
562
+ /**
563
+ * Gets or sets the translateX affine transform of the view in device independent pixels.
564
+ *
565
+ * @nsProperty
566
+ */
567
+ translateX: CoreTypes.dip;
568
+
569
+ /**
570
+ * Gets or sets the translateY affine transform of the view in device independent pixels.
571
+ *
572
+ * @nsProperty
573
+ */
574
+ translateY: CoreTypes.dip;
575
+
576
+ /**
577
+ * Gets or sets the scaleX affine transform of the view.
578
+ *
579
+ * @nsProperty
580
+ */
581
+ scaleX: number;
582
+
583
+ /**
584
+ * Gets or sets the scaleY affine transform of the view.
585
+ *
586
+ * @nsProperty
587
+ */
588
+ scaleY: number;
589
+
590
+ //END Style property shortcuts
591
+
592
+ /**
593
+ * Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view.
594
+ *
595
+ * @nsProperty
596
+ */
597
+ originX: number;
598
+
599
+ /**
600
+ * Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view.
601
+ *
602
+ * @nsProperty
603
+ */
604
+ originY: number;
605
+
606
+ /**
607
+ * The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior.
608
+ * @nsProperty
609
+ */
610
+ flexFlow: FlexFlow;
611
+ /**
612
+ * The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container.
613
+ * @nsProperty
614
+ */
615
+ flex: Flex;
616
+
617
+ /**
618
+ * Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view.
619
+ *
620
+ * @nsProperty
621
+ */
622
+ isEnabled: boolean;
623
+
624
+ /**
625
+ * Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view.
626
+ *
627
+ * @nsProperty
628
+ */
629
+ isUserInteractionEnabled: boolean;
630
+
631
+ /**
632
+ * Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: false
633
+ *
634
+ * @nsProperty
635
+ */
636
+ iosOverflowSafeArea: boolean;
637
+
638
+ /**
639
+ * Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true
640
+ *
641
+ * @nsProperty
642
+ */
643
+ iosOverflowSafeAreaEnabled: boolean;
644
+
645
+ /**
646
+ * Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false
647
+ *
648
+ * @nsProperty
649
+ */
650
+ iosIgnoreSafeArea: boolean;
651
+
652
+ /**
653
+ * visionOS only
654
+ *
655
+ * @nsProperty
656
+ */
657
+ visionIgnoreHoverStyle: boolean;
658
+
659
+ /**
660
+ * visionOS only
661
+ *
662
+ * @nsProperty
663
+ */
664
+ visionHoverStyle: string | VisionHoverOptions;
665
+
666
+ /**
667
+ * @nsProperty
668
+ */
669
+ public testID: string;
670
+ /**
671
+ * @nsProperty
672
+ */
673
+ public touchAnimation: boolean | TouchAnimationOptions;
674
+ /**
675
+ * @nsProperty
676
+ */
677
+ public ignoreTouchAnimation: boolean;
678
+ /**
679
+ * @nsProperty
680
+ */
681
+ public touchDelay: number;
682
+
683
+ /**
684
+ * Gets is layout is valid. This is a read-only property.
685
+ */
686
+ isLayoutValid: boolean;
687
+
688
+ /**
689
+ * Gets the CSS fully qualified type name.
690
+ * Using this as element type should allow for PascalCase and kebap-case selectors, when fully qualified, to match the element.
691
+ */
692
+ cssType: string;
693
+
694
+ cssClasses: Set<string>;
695
+ cssPseudoClasses: Set<string>;
696
+
697
+ /**
698
+ * This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters.
699
+ * The actual measurement work of a view is performed in onMeasure(int, int), called by this method. Therefore, only onMeasure(int, int) can and must be overridden by subclasses.
700
+ * @param widthMeasureSpec Horizontal space requirements as imposed by the parent
701
+ * @param heightMeasureSpec Vertical space requirements as imposed by the parent
702
+ */
703
+ public measure(widthMeasureSpec: number, heightMeasureSpec: number): void;
704
+
705
+ /**
706
+ * Assign a size and position to a view and all of its descendants
707
+ * This is the second phase of the layout mechanism. (The first is measuring). In this phase, each parent calls layout on all of its children to position them. This is typically done using the child measurements that were stored in the measure pass().
708
+ * Derived classes should not override this method. Derived classes with children should override onLayout. In that method, they should call layout on each of their children.
709
+ * @param l Left position, relative to parent
710
+ * @param t Top position, relative to parent
711
+ * @param r Right position, relative to parent
712
+ * @param b Bottom position, relative to parent
713
+ */
714
+ public layout(left: number, top: number, right: number, bottom: number, setFrame?: boolean): void;
715
+
716
+ /**
717
+ * Returns the raw width component.
718
+ */
719
+ public getMeasuredWidth(): number;
720
+
721
+ /**
722
+ * Returns the raw height component.
723
+ */
724
+ public getMeasuredHeight(): number;
725
+
726
+ public getMeasuredState(): number;
727
+
728
+ /**
729
+ * Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overriden by subclasses to provide accurate and efficient measurement of their contents.
730
+ * When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an exception, thrown by measure(int, int).
731
+ * @param widthMeasureSpec horizontal space requirements as imposed by the parent. The requirements are encoded with View.MeasureSpec.
732
+ * @param heightMeasureSpec vertical space requirements as imposed by the parent. The requirements are encoded with View.MeasureSpec.
733
+ */
734
+ public onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void;
735
+
736
+ /**
737
+ * Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children.
738
+ * @param left Left position, relative to parent
739
+ * @param top Top position, relative to parent
740
+ * @param right Right position, relative to parent
741
+ * @param bottom Bottom position, relative to parent
742
+ */
743
+ public onLayout(left: number, top: number, right: number, bottom: number): void;
744
+
745
+ /**
746
+ * This method must be called by onMeasure(int, int) to store the measured width and measured height. Failing to do so will trigger an exception at measurement time.
747
+ * @param measuredWidth The measured width of this view. May be a complex bit mask as defined by MEASURED_SIZE_MASK and MEASURED_STATE_TOO_SMALL.
748
+ * @param measuredHeight The measured height of this view. May be a complex bit mask as defined by MEASURED_SIZE_MASK and MEASURED_STATE_TOO_SMALL.
749
+ */
750
+ public setMeasuredDimension(measuredWidth: number, measuredHeight: number): void;
751
+
752
+ /**
753
+ * Called from onLayout when native view position is about to be changed.
754
+ * @param left Left position, relative to parent
755
+ * @param top Top position, relative to parent
756
+ * @param right Right position, relative to parent
757
+ * @param bottom Bottom position, relative to parent
758
+ */
759
+ public layoutNativeView(left: number, top: number, right: number, bottom: number): void;
760
+
761
+ /**
762
+ * Measure a child by taking into account its margins and a given measureSpecs.
763
+ * @param parent This parameter is not used. You can pass null.
764
+ * @param child The view to be measured.
765
+ * @param measuredWidth The measured width that the parent layout specifies for this view.
766
+ * @param measuredHeight The measured height that the parent layout specifies for this view.
767
+ */
768
+ public static measureChild(parent: View, child: View, widthMeasureSpec: number, heightMeasureSpec: number): { measuredWidth: number; measuredHeight: number };
769
+
770
+ /**
771
+ * Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds.
772
+ * @param parent This parameter is not used. You can pass null.
773
+ * @param left Left position, relative to parent
774
+ * @param top Top position, relative to parent
775
+ * @param right Right position, relative to parent
776
+ * @param bottom Bottom position, relative to parent
777
+ */
778
+ public static layoutChild(parent: View, child: View, left: number, top: number, right: number, bottom: number): void;
779
+
780
+ /**
781
+ * Utility to reconcile a desired size and state, with constraints imposed
782
+ * by a MeasureSpec. Will take the desired size, unless a different size
783
+ * is imposed by the constraints. The returned value is a compound integer,
784
+ * with the resolved size in the MEASURED_SIZE_MASK bits and
785
+ * optionally the bit MEASURED_STATE_TOO_SMALL set if the resulting
786
+ * size is smaller than the size the view wants to be.
787
+ */
788
+ public static resolveSizeAndState(size: number, specSize: number, specMode: number, childMeasuredState: number): number;
789
+
790
+ public static combineMeasuredStates(curState: number, newState): number;
791
+
792
+ /**
793
+ * Tries to focus the view.
794
+ * Returns a value indicating whether this view or one of its descendants actually took focus.
795
+ */
796
+ public focus(): boolean;
797
+
798
+ public getGestureObservers(type: GestureTypes): Array<GesturesObserver> | undefined;
799
+
800
+ /**
801
+ * Removes the listener(s) for the specified event name.
802
+ *
803
+ * @param eventName The name of the event.
804
+ * @param callback An optional specific event listener to remove (if omitted,
805
+ * all event listeners by this name will be removed).
806
+ * @param thisArg An optional parameter which, when set, will be used to
807
+ * refine search of the correct event listener to be removed.
808
+ */
809
+ off(eventName: string, callback?: (args: EventData) => void, thisArg?: any);
810
+
811
+ /**
812
+ * Adds a listener for the specified event name.
813
+ *
814
+ * @param eventName The name of the event.
815
+ * @param callback The event listener to add. Will be called when an event of
816
+ * the given name is raised.
817
+ * @param thisArg An optional parameter which, when set, will be bound as the
818
+ * `this` context when the callback is called. Falsy values will be not be
819
+ * bound.
820
+ */
821
+ on(eventName: string, callback: (args: EventData) => void, thisArg?: any);
822
+
823
+ /**
824
+ * Raised when a loaded event occurs.
825
+ */
826
+ on(event: 'loaded', callback: (args: EventData) => void, thisArg?: any);
827
+
828
+ /**
829
+ * Raised when an unloaded event occurs.
830
+ */
831
+ on(event: 'unloaded', callback: (args: EventData) => void, thisArg?: any);
832
+
833
+ /**
834
+ * Raised when a back button is pressed.
835
+ * This event is raised only for android.
836
+ */
837
+ on(event: 'androidBackPressed', callback: (args: EventData) => void, thisArg?: any);
838
+
839
+ /**
840
+ * Raised before the view is shown as a modal dialog.
841
+ */
842
+ on(event: 'showingModally', callback: (args: ShownModallyData) => void, thisArg?: any): void;
843
+
844
+ /**
845
+ * Raised after the view is shown as a modal dialog.
846
+ */
847
+ on(event: 'shownModally', callback: (args: ShownModallyData) => void, thisArg?: any);
848
+
849
+ /**
850
+ * Returns the current modal view that this page is showing (is parent of), if any.
851
+ */
852
+ modal: View;
853
+
854
+ /**
855
+ * Animates one or more properties of the view based on the supplied options.
856
+ */
857
+ public animate(options: AnimationDefinition): AnimationPromise;
858
+
859
+ /**
860
+ * Creates an Animation object based on the supplied options.
861
+ */
862
+ public createAnimation(options: AnimationDefinition): Animation;
863
+
864
+ /**
865
+ * Returns the iOS safe area insets of this view.
866
+ */
867
+ public getSafeAreaInsets(): Position;
868
+
869
+ /**
870
+ * Returns the location of this view in the window coordinate system.
871
+ */
872
+ public getLocationInWindow(): Point;
873
+
874
+ /**
875
+ * Returns the location of this view in the screen coordinate system.
876
+ */
877
+ public getLocationOnScreen(): Point;
878
+
879
+ /**
880
+ * Returns the location of this view in the otherView's coordinate system.
881
+ */
882
+ public getLocationRelativeTo(otherView: View): Point;
883
+
884
+ /**
885
+ * Returns the actual size of the view in device-independent pixels.
886
+ */
887
+ public getActualSize(): Size;
888
+
889
+ /**
890
+ * Derived classes can override this method to handle Android back button press.
891
+ */
892
+ onBackPressed(): boolean;
893
+
894
+ /**
895
+ * @private
896
+ * A valid css string which will be applied for all nested UI components (based on css rules).
897
+ */
898
+ css: string;
899
+
900
+ /**
901
+ * @private
902
+ * Adds a new values to current css.
903
+ * @param cssString - A valid css which will be added to current css.
904
+ */
905
+ addCss(cssString: string): void;
906
+
907
+ /**
908
+ * @private
909
+ * Adds the content of the file to the current css.
910
+ * @param cssFileName - A valid file name (from the application root) which contains a valid css.
911
+ */
912
+ addCssFile(cssFileName: string): void;
913
+
914
+ /**
915
+ * @private
916
+ * Changes the current css to the content of the file.
917
+ * @param cssFileName - A valid file name (from the application root) which contains a valid css.
918
+ */
919
+ changeCssFile(cssFileName: string): void;
920
+
921
+ // Lifecycle events
922
+ _getNativeViewsCount(): number;
923
+
924
+ /**
925
+ * Internal method:
926
+ * Closes all modal views. Should be used by plugins like `nativescript-angular` which implement their own `modal views` service.
927
+ */
928
+ _closeAllModalViewsInternal(): boolean;
929
+
930
+ /**
931
+ * Internal method:
932
+ * Gets all modal views of the current view.
933
+ */
934
+ _getRootModalViews(): Array<ViewBase>;
935
+
936
+ _eachLayoutView(callback: (View) => void): void;
937
+
938
+ /**
939
+ * iOS Only Internal method used to update various view details like background rerendering, border, etc.
940
+ */
941
+ _onSizeChanged?(): void;
942
+
943
+ /**
944
+ * Android only check if gesture observers are attached
945
+ */
946
+ hasGestureObservers?(): boolean;
947
+
948
+ /**
949
+ * Android only to set the touch listener
950
+ */
951
+ setOnTouchListener?(): void;
952
+
953
+ /**
954
+ * Iterates over children of type View.
955
+ * @param callback Called for each child of type View. Iteration stops if this method returns falsy value.
956
+ */
957
+ public eachChildView(callback: (view: View) => boolean): void;
958
+
959
+ /**
960
+ * Send accessibility event
961
+ * @params options AccessibilityEventOptions
962
+ * androidAccessibilityEvent: AndroidAccessibilityEvent;
963
+ * iosNotificationType: IOSPostAccessibilityNotificationType;
964
+ * message: string;
965
+ *
966
+ * iOS Notes:
967
+ * type = 'announcement' will announce `args` via VoiceOver. If no args element will be announced instead.
968
+ * type = 'layout' used when the layout of a screen changes.
969
+ * type = 'screen' large change made to the screen.
970
+ */
971
+ public sendAccessibilityEvent(options: Partial<AccessibilityEventOptions>): void;
972
+
973
+ /**
974
+ * Make an announcement to the screen reader.
975
+ */
976
+ public accessibilityAnnouncement(msg?: string): void;
977
+
978
+ /**
979
+ * Announce screen changed
980
+ */
981
+ public accessibilityScreenChanged(): void;
982
+
983
+ //@private
984
+ /**
985
+ * @private
986
+ */
987
+ _modalParent?: View;
988
+ /**
989
+ * @private
990
+ */
991
+ isLayoutRequired: boolean;
992
+ /**
993
+ * @private
994
+ */
995
+ get needsNativeDrawableFill(): boolean;
996
+ /**
997
+ * @private
998
+ */
999
+ _gestureObservers: any;
1000
+ /**
1001
+ * @private
1002
+ * androidx.fragment.app.FragmentManager
1003
+ */
1004
+ _manager: any;
1005
+ /**
1006
+ * @private
1007
+ */
1008
+ _setNativeClipToBounds(): void;
1009
+ /**
1010
+ * Called by measure method to cache measureSpecs.
1011
+ * @private
1012
+ */
1013
+ _setCurrentMeasureSpecs(widthMeasureSpec: number, heightMeasureSpec: number): boolean;
1014
+ /**
1015
+ * Called by layout method to cache view bounds.
1016
+ * @private
1017
+ */
1018
+ _setCurrentLayoutBounds(left: number, top: number, right: number, bottom: number): { boundsChanged: boolean; sizeChanged: boolean };
1019
+ /**
1020
+ * Return view bounds.
1021
+ * @private
1022
+ */
1023
+ _getCurrentLayoutBounds(): Position;
1024
+ /**
1025
+ * @private
1026
+ */
1027
+ _addVisualState(state: string): void;
1028
+ /**
1029
+ * @private
1030
+ */
1031
+ _removeVisualState(state: string): void;
1032
+ /**
1033
+ * @deprecated Use View.addPseudoClass() and View.deletePseudoClass() instead.
1034
+ * @private
1035
+ */
1036
+ _goToVisualState(state: string);
1037
+ /**
1038
+ * @private
1039
+ */
1040
+ _setNativeViewFrame(nativeView: any, frame: any): void;
1041
+ // _onStylePropertyChanged(property: dependencyObservable.Property): void;
1042
+ /**
1043
+ * @private
1044
+ */
1045
+ _updateEffectiveLayoutValues(parentWidthMeasureSize: number, parentWidthMeasureMode: number, parentHeightMeasureSize: number, parentHeightMeasureMode: number): void;
1046
+ /**
1047
+ * @private
1048
+ */
1049
+ _currentWidthMeasureSpec: number;
1050
+ /**
1051
+ * @private
1052
+ */
1053
+ _currentHeightMeasureSpec: number;
1054
+ /**
1055
+ * @private
1056
+ */
1057
+ _setMinWidthNative(value: CoreTypes.LengthType): void;
1058
+ /**
1059
+ * @private
1060
+ */
1061
+ _setMinHeightNative(value: CoreTypes.LengthType): void;
1062
+ /**
1063
+ * @private
1064
+ */
1065
+ _redrawNativeBackground(value: any): void;
1066
+ /**
1067
+ * @private
1068
+ * method called on Android to apply the background. This allows custom handling
1069
+ */
1070
+ _applyBackground(background: Background, isBorderDrawable: boolean, onlyColor: boolean, backgroundDrawable: any);
1071
+
1072
+ /**
1073
+ * @private
1074
+ */
1075
+ _removeAnimation(animation: Animation): boolean;
1076
+ /**
1077
+ * @private
1078
+ */
1079
+ _onLivesync(context?: { type: string; path: string }): boolean;
1080
+ /**
1081
+ * @private
1082
+ */
1083
+ _getFragmentManager(): any; /* androidx.fragment.app.FragmentManager */
1084
+ _handleLivesync(context?: { type: string; path: string }): boolean;
1085
+
1086
+ /**
1087
+ * Updates styleScope or create new styleScope.
1088
+ * @param cssFileName
1089
+ * @param cssString
1090
+ * @param css
1091
+ */
1092
+ _updateStyleScope(cssFileName?: string, cssString?: string, css?: string): void;
1093
+
1094
+ /**
1095
+ * Called in android when native view is attached to window.
1096
+ */
1097
+ _onAttachedToWindow(): void;
1098
+
1099
+ /**
1100
+ * Called in android when native view is dettached from window.
1101
+ */
1102
+ _onDetachedFromWindow(): void;
1103
+
1104
+ /**
1105
+ * Checks whether the current view has specific view for an ancestor.
1106
+ */
1107
+ _hasAncestorView(ancestorView: View): boolean;
1108
+ //@endprivate
1109
+
1110
+ /**
1111
+ * __Obsolete:__ There is a new property system that does not rely on _getValue.
1112
+ */
1113
+ _getValue(property: any): never;
1114
+
1115
+ /**
1116
+ * __Obsolete:__ There is a new property system that does not rely on _setValue.
1117
+ */
1118
+ _setValue(property: any, value: any): never;
1119
+ }
1120
+
1121
+ /**
1122
+ * Base class for all UI components that are containers.
1123
+ */
1124
+ export class ContainerView extends View {
1125
+ /**
1126
+ * Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: true
1127
+ *
1128
+ * @nsProperty
1129
+ */
1130
+ public iosOverflowSafeArea: boolean;
1131
+ }
1132
+
1133
+ /**
1134
+ * Base class for all UI components that implement custom layouts.
1135
+ */
1136
+ export class CustomLayoutView extends ContainerView {
1137
+ //@private
1138
+ /**
1139
+ * @private
1140
+ */
1141
+ _updateNativeLayoutParams(child: View): void;
1142
+ /**
1143
+ * @private
1144
+ */
1145
+ _setChildMinWidthNative(child: View, value: CoreTypes.LengthType): void;
1146
+ /**
1147
+ * @private
1148
+ */
1149
+ _setChildMinHeightNative(child: View, value: CoreTypes.LengthType): void;
1150
+ //@endprivate
1151
+ }
1152
+
1153
+ /**
1154
+ * Defines an interface for a View factory function.
1155
+ * Commonly used to specify the visualization of data objects.
1156
+ */
1157
+ export interface Template {
1158
+ /**
1159
+ * Call signature of the factory function.
1160
+ * Returns a new View instance.
1161
+ */
1162
+ (): View;
1163
+ }
1164
+
1165
+ /**
1166
+ * Defines an interface for Template with a key.
1167
+ */
1168
+ export interface KeyedTemplate {
1169
+ /**
1170
+ * The unique key of the template.
1171
+ */
1172
+ key: string;
1173
+
1174
+ /**
1175
+ * The function that creates the view.
1176
+ */
1177
+ createView: Template;
1178
+ }
1179
+
1180
+ /**
1181
+ * Defines an interface for adding arrays declared in xml.
1182
+ */
1183
+ export interface AddArrayFromBuilder {
1184
+ /**
1185
+ * A function that is called when an array declaration is found in xml.
1186
+ * @param name - Name of the array.
1187
+ * @param value - The actual value of the array.
1188
+ */
1189
+ _addArrayFromBuilder(name: string, value: Array<any>): void;
1190
+ }
1191
+
1192
+ /**
1193
+ * Defines an interface for adding a child element declared in xml.
1194
+ */
1195
+ export interface AddChildFromBuilder {
1196
+ /**
1197
+ * Called for every child element declared in xml.
1198
+ * This method will add a child element (value) to current element.
1199
+ * @param name - Name of the element.
1200
+ * @param value - Value of the element.
1201
+ */
1202
+ _addChildFromBuilder(name: string, value: any): void;
1203
+ }
1204
+
1205
+ export const originXProperty: Property<View, number>;
1206
+ export const originYProperty: Property<View, number>;
1207
+ export const isEnabledProperty: Property<View, boolean>;
1208
+ export const isUserInteractionEnabledProperty: Property<View, boolean>;
1209
+ export const iosOverflowSafeAreaProperty: Property<View, boolean>;
1210
+ export const iosOverflowSafeAreaEnabledProperty: InheritedProperty<View, boolean>;
1211
+ export const visionHoverStyleProperty: Property<View, string | VisionHoverOptions>;
1212
+ export const visionIgnoreHoverStyleProperty: Property<View, boolean>;
1213
+ export const touchAnimationProperty: Property<View, boolean | TouchAnimationOptions>;
1214
+ export const ignoreTouchAnimationProperty: Property<View, boolean>;
1215
+ export const touchDelayProperty: Property<View, number>;
1216
+ export const testIDProperty: Property<View, string>;