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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (317) hide show
  1. package/accessibility/accessibility-service.d.ts +10 -0
  2. package/accessibility/font-scale.d.ts +9 -0
  3. package/accessibility/index.d.ts +37 -0
  4. package/animation-frame/animation-native.d.ts +4 -0
  5. package/animation-frame/index.d.ts +17 -3
  6. package/application/application.d.ts +194 -0
  7. package/application/index.d.ts +2 -0
  8. package/application-settings/index.d.ts +70 -0
  9. package/cli-hooks/before-checkForChanges.js +60 -0
  10. package/cli-hooks/postinstall.js +2 -0
  11. package/cli-hooks/preuninstall.js +2 -0
  12. package/color/index.d.ts +206 -0
  13. package/connectivity/index.d.ts +52 -0
  14. package/css/css-tree-parser.js +21 -17
  15. package/css/lib/parse/index.js +602 -0
  16. package/css/package.json +36 -0
  17. package/css/reworkcss.d.ts +47 -0
  18. package/css/reworkcss.js +1 -0
  19. package/css-value/package.json +23 -0
  20. package/css-value/reworkcss-value.d.ts +8 -0
  21. package/css-value/reworkcss-value.js +113 -0
  22. package/debugger/css-agent.d.ts +59 -0
  23. package/debugger/devtools-elements.d.ts +23 -5
  24. package/debugger/dom-node.d.ts +23 -20
  25. package/fetch/index.js +539 -0
  26. package/file-system/file-system-access.d.ts +441 -0
  27. package/file-system/index.d.ts +370 -95
  28. package/fps-meter/fps-native.d.ts +24 -0
  29. package/fps-meter/index.d.ts +24 -7
  30. package/global-types.d.ts +393 -0
  31. package/globals/index.d.ts +4 -19
  32. package/http/http-request/index.d.ts +3 -0
  33. package/http/index.d.ts +149 -73
  34. package/image-asset/index.d.ts +17 -0
  35. package/image-source/index.d.ts +350 -0
  36. package/index.d.ts +24 -7
  37. package/js-libs/easysax/easysax.d.ts +8 -0
  38. package/js-libs/easysax/easysax.js +782 -0
  39. package/js-libs/easysax/package.json +35 -0
  40. package/matrix/index.d.ts +32 -5
  41. package/module-name-resolver/index.d.ts +21 -13
  42. package/module-name-resolver/qualifier-matcher/index.d.ts +12 -6
  43. package/package.json +1 -1
  44. package/platform/device/index.d.ts +70 -0
  45. package/platform/index.d.ts +26 -0
  46. package/platform/screen/index.d.ts +48 -0
  47. package/platforms/android/native-api-usage.json +32 -0
  48. package/platforms/android/res/values/ids.xml +4 -0
  49. package/platforms/android/widgets-release.aar +0 -0
  50. package/platforms/android/winter_tc-release.aar +0 -0
  51. package/platforms/ios/NSCWinterTC.xcframework/Info.plist +102 -0
  52. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework/Headers/NSCCrypto.h +79 -0
  53. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework/Headers/NSCWinterTC.h +20 -0
  54. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework/Headers/NSString+WinterTC.h +21 -0
  55. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework/Info.plist +0 -0
  56. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework/Modules/module.modulemap +6 -0
  57. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework/NSCWinterTC +0 -0
  58. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/dSYMs/NSCWinterTC.framework.dSYM/Contents/Info.plist +20 -0
  59. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/DWARF/NSCWinterTC +0 -0
  60. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterTC.yml +40 -0
  61. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Headers/NSCCrypto.h +79 -0
  62. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Headers/NSCWinterTC.h +20 -0
  63. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Headers/NSString+WinterTC.h +21 -0
  64. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Modules/module.modulemap +6 -0
  65. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/NSCWinterTC +0 -0
  66. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Resources/Info.plist +52 -0
  67. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A/Headers/NSCCrypto.h +79 -0
  68. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A/Headers/NSCWinterTC.h +20 -0
  69. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A/Headers/NSString+WinterTC.h +21 -0
  70. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A/Modules/module.modulemap +6 -0
  71. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A/NSCWinterTC +0 -0
  72. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A/Resources/Info.plist +52 -0
  73. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/Current/NSCWinterTC +0 -0
  74. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterTC.framework.dSYM/Contents/Info.plist +20 -0
  75. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/DWARF/NSCWinterTC +0 -0
  76. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterTC.yml +40 -0
  77. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/x86_64/NSCWinterTC.yml +40 -0
  78. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/Headers/NSCCrypto.h +79 -0
  79. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/Headers/NSCWinterTC.h +20 -0
  80. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/Headers/NSString+WinterTC.h +21 -0
  81. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/Info.plist +0 -0
  82. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/Modules/module.modulemap +6 -0
  83. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/NSCWinterTC +0 -0
  84. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/_CodeSignature/CodeResources +146 -0
  85. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Info.plist +20 -0
  86. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/DWARF/NSCWinterTC +0 -0
  87. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterTC.yml +40 -0
  88. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/x86_64/NSCWinterTC.yml +40 -0
  89. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/NSCWinterTC.framework/Headers/NSCCrypto.h +79 -0
  90. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/NSCWinterTC.framework/Headers/NSCWinterTC.h +20 -0
  91. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/NSCWinterTC.framework/Headers/NSString+WinterTC.h +21 -0
  92. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/NSCWinterTC.framework/Info.plist +0 -0
  93. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/NSCWinterTC.framework/Modules/module.modulemap +6 -0
  94. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/NSCWinterTC.framework/NSCWinterTC +0 -0
  95. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/dSYMs/NSCWinterTC.framework.dSYM/Contents/Info.plist +20 -0
  96. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/DWARF/NSCWinterTC +0 -0
  97. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterTC.yml +40 -0
  98. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/Headers/NSCCrypto.h +79 -0
  99. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/Headers/NSCWinterTC.h +20 -0
  100. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/Headers/NSString+WinterTC.h +21 -0
  101. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/Info.plist +0 -0
  102. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/Modules/module.modulemap +6 -0
  103. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/NSCWinterTC +0 -0
  104. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/_CodeSignature/CodeResources +146 -0
  105. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Info.plist +20 -0
  106. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/DWARF/NSCWinterTC +0 -0
  107. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterTC.yml +40 -0
  108. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/x86_64/NSCWinterTC.yml +40 -0
  109. package/platforms/ios/TNSWidgets.xcframework/Info.plist +102 -0
  110. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/NSCCrypto.h +60 -0
  111. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/NSData+Async.h +24 -0
  112. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/NSFileHandle+Async.h +22 -0
  113. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/NSString+Async.h +25 -0
  114. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/TNSLabel.h +16 -0
  115. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/TNSProcess.h +29 -0
  116. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/TNSWidgets.h +25 -0
  117. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +26 -0
  118. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +17 -0
  119. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Info.plist +0 -0
  120. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Modules/module.modulemap +6 -0
  121. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +17 -0
  122. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +18 -0
  123. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/TNSWidgets +0 -0
  124. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +20 -0
  125. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
  126. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +82 -0
  127. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSCCrypto.h +60 -0
  128. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSData+Async.h +24 -0
  129. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSFileHandle+Async.h +22 -0
  130. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSString+Async.h +25 -0
  131. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/TNSLabel.h +16 -0
  132. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/TNSProcess.h +29 -0
  133. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/TNSWidgets.h +25 -0
  134. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +26 -0
  135. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +17 -0
  136. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Modules/module.modulemap +6 -0
  137. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +17 -0
  138. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +18 -0
  139. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Resources/Info.plist +52 -0
  140. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/TNSWidgets +0 -0
  141. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSCCrypto.h +60 -0
  142. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSData+Async.h +24 -0
  143. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSFileHandle+Async.h +22 -0
  144. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSString+Async.h +25 -0
  145. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/TNSLabel.h +16 -0
  146. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/TNSProcess.h +29 -0
  147. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/TNSWidgets.h +25 -0
  148. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/UIImage+TNSBlocks.h +26 -0
  149. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/UIView+PassThroughParent.h +17 -0
  150. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Modules/module.modulemap +6 -0
  151. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/PrivateHeaders/NSObject+Swizzling.h +17 -0
  152. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/PrivateHeaders/UIView+PropertyBag.h +18 -0
  153. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Resources/Info.plist +52 -0
  154. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/TNSWidgets +0 -0
  155. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/TNSWidgets +0 -0
  156. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +20 -0
  157. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
  158. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +82 -0
  159. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml +82 -0
  160. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSCCrypto.h +60 -0
  161. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSData+Async.h +24 -0
  162. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSFileHandle+Async.h +22 -0
  163. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSString+Async.h +25 -0
  164. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSLabel.h +16 -0
  165. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSProcess.h +29 -0
  166. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSWidgets.h +25 -0
  167. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +26 -0
  168. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +17 -0
  169. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Info.plist +0 -0
  170. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Modules/module.modulemap +6 -0
  171. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +17 -0
  172. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +18 -0
  173. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/TNSWidgets +0 -0
  174. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/_CodeSignature/CodeResources +223 -0
  175. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +20 -0
  176. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
  177. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +82 -0
  178. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml +82 -0
  179. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSCCrypto.h +60 -0
  180. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSData+Async.h +24 -0
  181. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSFileHandle+Async.h +22 -0
  182. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSString+Async.h +25 -0
  183. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/TNSLabel.h +16 -0
  184. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/TNSProcess.h +29 -0
  185. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/TNSWidgets.h +25 -0
  186. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +26 -0
  187. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +17 -0
  188. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Info.plist +0 -0
  189. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Modules/module.modulemap +6 -0
  190. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +17 -0
  191. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +18 -0
  192. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/TNSWidgets +0 -0
  193. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +20 -0
  194. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
  195. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +82 -0
  196. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSCCrypto.h +60 -0
  197. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSData+Async.h +24 -0
  198. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSFileHandle+Async.h +22 -0
  199. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSString+Async.h +25 -0
  200. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSLabel.h +16 -0
  201. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSProcess.h +29 -0
  202. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSWidgets.h +25 -0
  203. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +26 -0
  204. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +17 -0
  205. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Info.plist +0 -0
  206. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Modules/module.modulemap +6 -0
  207. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +17 -0
  208. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +18 -0
  209. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/TNSWidgets +0 -0
  210. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/_CodeSignature/CodeResources +223 -0
  211. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +20 -0
  212. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
  213. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +82 -0
  214. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml +82 -0
  215. package/platforms/ios/native-api-usage.json +41 -0
  216. package/platforms/ios/src/NativeScriptEmbedder.h +31 -0
  217. package/platforms/ios/src/NativeScriptEmbedder.m +43 -0
  218. package/platforms/ios/src/NativeScriptMainWindow.swift +196 -0
  219. package/platforms/ios/src/NativeScriptUtils.h +16 -0
  220. package/platforms/ios/src/NativeScriptUtils.m +137 -0
  221. package/platforms/ios/src/UIView+NativeScript.h +15 -0
  222. package/platforms/ios/src/UIView+NativeScript.m +148 -0
  223. package/platforms/ios/src/module.modulemap +14 -0
  224. package/platforms/ios/typings/objc!MaterialComponents.d.ts +808 -0
  225. package/platforms/ios/typings/objc!NativeScriptUtils.d.ts +18 -0
  226. package/profiling/index.d.ts +153 -26
  227. package/references.d.ts +10 -0
  228. package/text/formatted-string.d.ts +1 -1
  229. package/text/index.d.ts +36 -0
  230. package/text/span.d.ts +1 -1
  231. package/timer/index.d.ts +27 -0
  232. package/trace/index.d.ts +131 -105
  233. package/ui/action-bar/index.d.ts +304 -0
  234. package/ui/activity-indicator/index.d.ts +25 -0
  235. package/ui/animation/index.d.ts +139 -0
  236. package/ui/animation/keyframe-animation.d.ts +118 -67
  237. package/ui/builder/binding-builder.d.ts +15 -12
  238. package/ui/builder/index.d.ts +69 -27
  239. package/ui/button/index.d.ts +50 -0
  240. package/ui/content-view/index.d.ts +11 -21
  241. package/ui/core/control-state-change/index.d.ts +17 -0
  242. package/ui/core/view/index.d.ts +1216 -0
  243. package/ui/core/view/view-helper/index.d.ts +76 -0
  244. package/ui/core/weak-event-listener/index.d.ts +18 -2
  245. package/ui/date-picker/index.d.ts +95 -0
  246. package/ui/dialogs/index.d.ts +311 -0
  247. package/ui/editable-text-base/index.d.ts +142 -0
  248. package/ui/embedding/index.d.ts +10 -0
  249. package/ui/frame/fragment.d.ts +5 -0
  250. package/ui/frame/fragment.transitions.d.ts +43 -0
  251. package/ui/frame/frame-common.d.ts +1 -0
  252. package/ui/frame/frame-common.js +6 -0
  253. package/ui/frame/frame-common.js.map +1 -1
  254. package/ui/frame/index.android.d.ts +1 -0
  255. package/ui/frame/index.android.js +12 -15
  256. package/ui/frame/index.android.js.map +1 -1
  257. package/ui/frame/index.d.ts +590 -0
  258. package/ui/frame/index.ios.js +13 -0
  259. package/ui/frame/index.ios.js.map +1 -1
  260. package/ui/frame/transition-definitions.android.d.ts +54 -0
  261. package/ui/gestures/index.d.ts +59 -0
  262. package/ui/html-view/index.d.ts +41 -0
  263. package/ui/image/index.d.ts +119 -0
  264. package/ui/image/symbol-effects.d.ts +13 -0
  265. package/ui/image-cache/index.d.ts +147 -0
  266. package/ui/label/index.d.ts +25 -0
  267. package/ui/layouts/absolute-layout/index.d.ts +42 -0
  268. package/ui/layouts/dock-layout/index.d.ts +39 -0
  269. package/ui/layouts/flexbox-layout/index.d.ts +98 -0
  270. package/ui/layouts/grid-layout/index.d.ts +201 -0
  271. package/ui/layouts/index.d.ts +1 -2
  272. package/ui/layouts/layout-base.d.ts +119 -0
  273. package/ui/layouts/root-layout/index.d.ts +48 -0
  274. package/ui/layouts/stack-layout/index.d.ts +22 -0
  275. package/ui/layouts/wrap-layout/index.d.ts +51 -0
  276. package/ui/list-picker/index.d.ts +43 -0
  277. package/ui/list-view/index.d.ts +232 -0
  278. package/ui/page/index.d.ts +241 -0
  279. package/ui/placeholder/index.d.ts +46 -8
  280. package/ui/progress/index.d.ts +50 -0
  281. package/ui/scroll-view/index.d.ts +99 -0
  282. package/ui/search-bar/index.d.ts +103 -0
  283. package/ui/segmented-bar/index.d.ts +122 -0
  284. package/ui/slider/index.d.ts +99 -0
  285. package/ui/styling/background.d.ts +95 -0
  286. package/ui/styling/converters.d.ts +2 -2
  287. package/ui/styling/font.d.ts +62 -0
  288. package/ui/styling/style-properties.d.ts +101 -81
  289. package/ui/styling/style-scope.d.ts +48 -79
  290. package/ui/switch/index.d.ts +46 -0
  291. package/ui/tab-view/index.d.ts +213 -0
  292. package/ui/text-base/formatted-string.d.ts +97 -36
  293. package/ui/text-base/index.d.ts +208 -0
  294. package/ui/text-base/span.d.ts +111 -36
  295. package/ui/text-field/index.d.ts +54 -0
  296. package/ui/text-view/index.d.ts +35 -0
  297. package/ui/time-picker/index.d.ts +107 -0
  298. package/ui/transition/fade-transition.d.ts +3 -0
  299. package/ui/transition/flip-transition.d.ts +5 -0
  300. package/ui/transition/index.d.ts +59 -0
  301. package/ui/transition/modal-transition.d.ts +2 -0
  302. package/ui/transition/page-transition.d.ts +4 -0
  303. package/ui/transition/shared-transition-helper.d.ts +14 -0
  304. package/ui/transition/slide-transition.d.ts +5 -0
  305. package/ui/utils.d.ts +44 -0
  306. package/ui/web-view/index.d.ts +142 -0
  307. package/utils/constants.d.ts +1 -0
  308. package/utils/debug.d.ts +61 -17
  309. package/utils/index.d.ts +183 -0
  310. package/utils/layout-helper/index.d.ts +82 -0
  311. package/utils/lazy.d.ts +5 -0
  312. package/utils/macrotask-scheduler.d.ts +5 -1
  313. package/utils/mainthread-helper.d.ts +16 -0
  314. package/utils/native-helper.d.ts +280 -0
  315. package/utils/types.d.ts +115 -23
  316. package/utils/typescript-utils.d.ts +6 -0
  317. package/xml/index.d.ts +105 -44
@@ -0,0 +1,304 @@
1
+ import { View } from '../core/view';
2
+ import { ViewBase } from '../core/view-base';
3
+ import { EventData } from '../../data/observable';
4
+
5
+ /**
6
+ * Provides an abstraction over the ActionBar (android) and NavigationBar (iOS).
7
+ *
8
+ * @nsView ActionBar
9
+ */
10
+ export class ActionBar extends View {
11
+ /**
12
+ * Gets or sets the action bar title.
13
+ *
14
+ * @nsProperty
15
+ */
16
+ title: string;
17
+
18
+ /**
19
+ * Gets or sets the title view. When set - replaces the title with a custom view.
20
+ *
21
+ * @nsProperty
22
+ */
23
+ titleView: View;
24
+
25
+ /**
26
+ * Gets or sets the navigation button (a.k.a. the back button).
27
+ *
28
+ * @nsProperty
29
+ */
30
+ navigationButton: NavigationButton;
31
+
32
+ /**
33
+ * Removes the shadow/border at the bottom of the ActionBar and removes translucency on iOS.
34
+ * Default false.
35
+ *
36
+ * @nsProperty
37
+ */
38
+ flat: boolean;
39
+
40
+ /**
41
+ * Gets the collection of action items.
42
+ *
43
+ * @nsProperty
44
+ */
45
+ actionItems: ActionItems;
46
+
47
+ /**
48
+ * Gets the android specific options of the action bar.
49
+ *
50
+ */
51
+ android: AndroidActionBarSettings;
52
+
53
+ /**
54
+ * Gets the native iOS [UINavigationBar](https://developer.apple.com/documentation/uikit/uinavigationbar) that represents the user interface for this component. Valid only when running on iOS.
55
+ */
56
+ ios: any /* UITabBarController */;
57
+
58
+ /**
59
+ * Gets or set the UIImageRenderingMode of the action bar icons in iOS. Defaults to "alwaysOriginal"
60
+ * Valid values are:
61
+ * - automatic
62
+ * - alwaysOriginal
63
+ * - alwaysTemplate
64
+ *
65
+ * @nsProperty
66
+ */
67
+ iosIconRenderingMode: 'automatic' | 'alwaysOriginal' | 'alwaysTemplate';
68
+
69
+ public effectiveContentInsetLeft: number;
70
+ public effectiveContentInsetRight: number;
71
+
72
+ /**
73
+ * Updates the action bar.
74
+ */
75
+ update();
76
+
77
+ //@private
78
+ /**
79
+ * @private
80
+ */
81
+ _isEmpty(): boolean;
82
+ /**
83
+ * @private
84
+ */
85
+ _getActualSize?: { width: number; height: number };
86
+ //@endprivate
87
+ }
88
+
89
+ /**
90
+ * Represents a collection of ActionItems.
91
+ *
92
+ */
93
+ export class ActionItems {
94
+ /**
95
+ * Adds an item to the collection.
96
+ * @param item - the item to be added
97
+ */
98
+ addItem(item: ActionItem): void;
99
+
100
+ /**
101
+ * Removes an item to the collection.
102
+ * @param item - The item to be removed.
103
+ */
104
+ removeItem(item: ActionItem): void;
105
+
106
+ /**
107
+ * Gets an array of the current action items in the collection.
108
+ */
109
+ getItems(): Array<ActionItem>;
110
+
111
+ /**
112
+ * Gets an item at a specified index.
113
+ * @param index - The index.
114
+ */
115
+ getItemAt(index: number): ActionItem;
116
+ }
117
+
118
+ /**
119
+ * Represents an action item in the action bar.
120
+ *
121
+ * @nsView ActionItem
122
+ */
123
+ export class ActionItem extends ViewBase {
124
+ /**
125
+ * String value used when hooking to layoutChanged event.
126
+ *
127
+ * @nsEvent {EventData} tap
128
+ */
129
+ public static tapEvent: string;
130
+
131
+ /**
132
+ * Gets or sets the text of the action item.
133
+ *
134
+ * @nsProperty
135
+ */
136
+ text: string;
137
+
138
+ /**
139
+ * Gets or sets the icon of the action item.
140
+ *
141
+ * @nsProperty
142
+ */
143
+ icon: string;
144
+
145
+ /**
146
+ * Gets or sets the custom action view of the action item.
147
+ *
148
+ * @nsProperty
149
+ */
150
+ actionView: View;
151
+
152
+ /**
153
+ * Gets or sets the visibility of the action item.
154
+ *
155
+ * @nsProperty
156
+ */
157
+ visibility: string;
158
+
159
+ /**
160
+ * Gets the action bar that contains the action item.
161
+ */
162
+ actionBar: ActionBar;
163
+
164
+ /**
165
+ * Adds a listener for the specified event name.
166
+ *
167
+ * @param eventName The name of the event.
168
+ * @param callback The event listener to add. Will be called when an event of
169
+ * the given name is raised.
170
+ * @param thisArg An optional parameter which, when set, will be bound as the
171
+ * `this` context when the callback is called. Falsy values will be not be
172
+ * bound.
173
+ */
174
+ on(eventName: string, callback: (data: EventData) => void): void;
175
+
176
+ /**
177
+ * Raised when a tap event occurs.
178
+ */
179
+ on(event: 'tap', callback: (args: EventData) => void): void;
180
+
181
+ //@private
182
+ /**
183
+ * @private
184
+ */
185
+ _raiseTap(): void;
186
+ //@endprivate
187
+
188
+ /**
189
+ * Gets the iOS specific options of the action item.
190
+ */
191
+ // @ts-ignore
192
+ ios: IOSActionItemSettings;
193
+
194
+ /**
195
+ * Gets the Android specific options of the action item.
196
+ */
197
+ // @ts-ignore
198
+ android: AndroidActionItemSettings;
199
+ }
200
+
201
+ /**
202
+ * Represents Android specific options of the action item.
203
+ */
204
+ export interface AndroidActionItemSettings {
205
+ /**
206
+ * Gets or sets the position of the action item in the action bar.
207
+ * 1. actionBar - item is shown in the action bar.
208
+ * 2. actionBarIfRoom - item is shown in the action bar if there is room for it. Otherwise it is put in the popup menu.
209
+ * 3. popup - item is shown in the popup menu.
210
+ * Note: Property not applicable to NavigationButton
211
+ */
212
+ position: 'actionBar' | 'actionBarIfRoom' | 'popup';
213
+
214
+ /**
215
+ * Gets or sets the name of the system drawable resource to be displayed.
216
+ * Use this property instead of ActionItem.icon if you want to diplsay a built-in Android system icon.
217
+ * The value should be a string such as 'ic_menu_search' if you want to display the built-in Android Menu Search icon for example.
218
+ * For a full list of Android drawable names, please visit http://androiddrawables.com
219
+ */
220
+ systemIcon: string;
221
+ }
222
+
223
+ /**
224
+ * Represents iOS specific options of the action item.
225
+ */
226
+ export interface IOSActionItemSettings {
227
+ /**
228
+ * Gets or sets the position of the action item in the action bar.
229
+ * 1. left - items is shown at the left part of the navigation bar. This is the default value.
230
+ * 2. right - items is shown at the right part of the navigation bar.
231
+ * Note: Property not applicable to NavigationButton
232
+ */
233
+ position: 'left' | 'right';
234
+
235
+ /**
236
+ * Gets or sets a number representing the iOS system item to be displayed.
237
+ * Use this property instead of ActionItem.icon if you want to diplsay a built-in iOS system icon.
238
+ * Note: Property not applicable to NavigationButton
239
+ * The value should be a number from the UIBarButtonSystemItem enumeration
240
+ * (https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIBarButtonItem_Class/#//apple_ref/c/tdef/UIBarButtonSystemItem)
241
+ * 0: Done
242
+ * 1: Cancel
243
+ * 2: Edit
244
+ * 3: Save
245
+ * 4: Add
246
+ * 5: FlexibleSpace
247
+ * 6: FixedSpace
248
+ * 7: Compose
249
+ * 8: Reply
250
+ * 9: Action
251
+ * 10: Organize
252
+ * 11: Bookmarks
253
+ * 12: Search
254
+ * 13: Refresh
255
+ * 14: Stop
256
+ * 15: Camera
257
+ * 16: Trash
258
+ * 17: Play
259
+ * 18: Pause
260
+ * 19: Rewind
261
+ * 20: FastForward
262
+ * 21: Undo
263
+ * 22: Redo
264
+ * 23: PageCurl
265
+ */
266
+ systemIcon: number;
267
+ }
268
+
269
+ /**
270
+ * Represents Android specific options of the action bar.
271
+ */
272
+ export interface AndroidActionBarSettings {
273
+ /**
274
+ * Gets or sets the action bar icon.
275
+ */
276
+ icon: string;
277
+
278
+ /**
279
+ * Gets or sets the visibility of the action bar icon.
280
+ * The icon is visible by default in pre-lollipop (API level < 20) versions of android and is hidden in lollipop (API level >= 20)
281
+ * The possible values are:
282
+ * 1. auto - the default behavior. This is the default value.
283
+ * 2. always - the icon is always shown.
284
+ * 3. never - the icon is always hidden.
285
+ */
286
+ iconVisibility: string;
287
+ }
288
+
289
+ /**
290
+ * Represents the navigation (a.k.a. "back") button.
291
+ */
292
+ export class NavigationButton extends ActionItem {
293
+ //@private
294
+ /**
295
+ * @private
296
+ */
297
+ _navigationItem?: any;
298
+ //@endprivate
299
+ }
300
+
301
+ /** @internal */
302
+ export function _setNavBarColor(navBar: any /* UINavigationBar */, color: any /* UIColor */);
303
+ /** @internal */
304
+ export function _setNavBarBackgroundColor(navBar: any /* UINavigationBar */, color: any /* UIColor */);
@@ -0,0 +1,25 @@
1
+ import { View } from '../core/view';
2
+
3
+ /**
4
+ * Represents a UI widget which displays a progress indicator hinting the user for some background operation running.
5
+ *
6
+ * @nsView ActivityIndicator
7
+ */
8
+ export class ActivityIndicator extends View {
9
+ /**
10
+ * Gets the native [android widget](http://developer.android.com/reference/android/widget/ProgressBar.html) that represents the user interface for this component. Valid only when running on Android OS.
11
+ */
12
+ android: any /* android.widget.ProgressBar */;
13
+
14
+ /**
15
+ * Gets the native iOS [UIActivityIndicatorView](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIActivityIndicatorView_Class/index.html) that represents the user interface for this component. Valid only when running on iOS.
16
+ */
17
+ ios: any /* UIActivityIndicatorView */;
18
+
19
+ /**
20
+ * Gets or sets a value indicating whether the widget is currently displaying progress.
21
+ *
22
+ * @nsProperty
23
+ */
24
+ busy: boolean;
25
+ }
@@ -0,0 +1,139 @@
1
+ import { View } from '../core/view';
2
+ import { CoreTypes } from '../../core-types';
3
+ import { Color } from '../../color';
4
+
5
+ export { KeyframeAnimation, KeyframeAnimationInfo, KeyframeDeclaration, KeyframeInfo } from './keyframe-animation';
6
+
7
+ /**
8
+ * Defines animation options for the View.animate method.
9
+ */
10
+ export interface AnimationDefinition {
11
+ /**
12
+ * The view whose property is to be animated.
13
+ */
14
+ target?: View;
15
+
16
+ /**
17
+ * Animates the opacity of the view. Value should be a number between 0.0 and 1.0
18
+ */
19
+ opacity?: number;
20
+
21
+ /**
22
+ * Animates the backgroundColor of the view.
23
+ */
24
+ backgroundColor?: Color;
25
+
26
+ /**
27
+ * Animates the translate affine transform of the view.
28
+ */
29
+ translate?: Pair;
30
+
31
+ /**
32
+ * Animates the scale affine transform of the view.
33
+ */
34
+ scale?: Pair;
35
+
36
+ /**
37
+ * Animates the height of a view.
38
+ */
39
+ height?: CoreTypes.PercentLengthType | string;
40
+
41
+ /**
42
+ * Animates the width of a view.
43
+ */
44
+ width?: CoreTypes.PercentLengthType | string;
45
+
46
+ /**
47
+ * Animates the rotate affine transform of the view. Value should be a number specifying the rotation amount in degrees.
48
+ */
49
+ rotate?: number | Point3D;
50
+
51
+ /**
52
+ * The length of the animation in milliseconds. The default duration is 300 milliseconds.
53
+ */
54
+ duration?: number;
55
+
56
+ /**
57
+ * The amount of time, in milliseconds, to delay starting the animation.
58
+ */
59
+ delay?: number;
60
+
61
+ /**
62
+ * Specifies how many times the animation should be played. Default is 1.
63
+ * iOS animations support fractional iterations, i.e. 1.5.
64
+ * To repeat an animation infinitely, use Number.POSITIVE_INFINITY
65
+ */
66
+ iterations?: number;
67
+
68
+ /**
69
+ * An optional animation curve. Possible values are contained in the [AnimationCurve enumeration](../modules/_ui_enums_.animationcurve.html).
70
+ * Alternatively, you can pass an instance of type UIViewAnimationCurve for iOS or android.animation.TimeInterpolator for Android.
71
+ */
72
+ curve?: any;
73
+ }
74
+
75
+ /**
76
+ * Defines a key-value pair for css transformation
77
+ */
78
+ export type Transformation = {
79
+ property: TransformationType;
80
+ value: TransformationValue;
81
+ };
82
+
83
+ /**
84
+ * Defines possible css transformations
85
+ */
86
+ export type TransformationType = 'rotate' | 'rotateX' | 'rotateY' | 'translate' | 'translateX' | 'translateY' | 'scale' | 'scaleX' | 'scaleY';
87
+
88
+ /**
89
+ * Defines possible css transformation values
90
+ */
91
+ export type TransformationValue = Point3D | Pair | number;
92
+
93
+ /**
94
+ * Defines a point in 3d space (x, y and z) for rotation in 3d animations.
95
+ */
96
+ export interface Point3D {
97
+ x: number;
98
+ y: number;
99
+ z: number;
100
+ }
101
+
102
+ /**
103
+ * Defines a pair of values (horizontal and vertical) for translate and scale animations.
104
+ */
105
+ export interface Pair {
106
+ x: number;
107
+ y: number;
108
+ }
109
+
110
+ /**
111
+ * Defines full information for css transformation
112
+ */
113
+ export type TransformFunctionsInfo = {
114
+ translate: Pair;
115
+ rotate: Point3D;
116
+ scale: Pair;
117
+ };
118
+
119
+ export interface Cancelable {
120
+ cancel(): void;
121
+ }
122
+
123
+ /**
124
+ * A Promise that can cancel the animation.
125
+ */
126
+ export type AnimationPromise = Promise<void> & Cancelable;
127
+
128
+ /**
129
+ * Defines a animation set.
130
+ */
131
+ export class Animation {
132
+ constructor(animationDefinitions: Array<AnimationDefinition>, playSequentially?: boolean);
133
+ public play: (resetOnFinish?: boolean) => AnimationPromise;
134
+ public cancel: () => void;
135
+ public isPlaying: boolean;
136
+ public _resolveAnimationCurve(curve: any): any;
137
+ }
138
+
139
+ export function _resolveAnimationCurve(curve: any): any;
@@ -1,76 +1,127 @@
1
1
  import { View } from '../core/view';
2
- import { Color } from '../../color';
3
2
  import { CoreTypes } from '../../core-types';
4
- export interface Keyframes {
5
- name: string;
6
- keyframes: Array<UnparsedKeyframe>;
7
- tag?: string | number;
8
- scopedTag?: string;
9
- mediaQueryString?: string;
3
+ import { Color } from '../../color';
4
+
5
+ export declare const ANIMATION_PROPERTIES;
6
+
7
+ interface Keyframe {
8
+ backgroundColor?: Color;
9
+ scale?: { x: number; y: number };
10
+ translate?: { x: number; y: number };
11
+ rotate?: { x: number; y: number; z: number };
12
+ opacity?: number;
13
+ width?: CoreTypes.PercentLengthType;
14
+ height?: CoreTypes.PercentLengthType;
15
+ valueSource?: 'keyframe' | 'animation';
16
+ duration?: number;
17
+ curve?: any;
18
+ forceLayer?: boolean;
10
19
  }
11
- export declare class UnparsedKeyframe {
12
- values: Array<any>;
13
- declarations: Array<KeyframeDeclaration>;
20
+
21
+ export interface Keyframes {
22
+ name: string;
23
+ keyframes: Array<UnparsedKeyframe>;
24
+ tag?: string | number;
25
+ scopedTag?: string;
26
+ mediaQueryString?: string;
14
27
  }
15
- export declare class KeyframeDeclaration {
16
- property: string;
17
- value: any;
28
+
29
+ export interface UnparsedKeyframe {
30
+ values: Array<any>;
31
+ declarations: Array<KeyframeDeclaration>;
18
32
  }
19
- export declare class KeyframeInfo {
20
- duration: number;
21
- declarations: Array<KeyframeDeclaration>;
22
- curve?: any;
33
+
34
+ export interface KeyframeDeclaration {
35
+ property: string;
36
+ value: any;
23
37
  }
24
- export declare class KeyframeAnimationInfo {
25
- keyframes: Array<KeyframeInfo>;
26
- name?: string;
27
- duration?: number;
28
- delay?: number;
29
- iterations?: number;
30
- curve?: any;
31
- isForwards?: boolean;
32
- isReverse?: boolean;
38
+
39
+ export interface KeyframeInfo {
40
+ duration: number;
41
+ declarations: Array<KeyframeDeclaration>;
42
+ curve?: any;
33
43
  }
34
- interface Keyframe {
35
- backgroundColor?: Color;
36
- scale?: {
37
- x: number;
38
- y: number;
39
- };
40
- translate?: {
41
- x: number;
42
- y: number;
43
- };
44
- rotate?: {
45
- x: number;
46
- y: number;
47
- z: number;
48
- };
49
- opacity?: number;
50
- width?: CoreTypes.PercentLengthType;
51
- height?: CoreTypes.PercentLengthType;
52
- valueSource?: 'keyframe' | 'animation';
53
- duration?: number;
54
- curve?: any;
55
- forceLayer?: boolean;
44
+
45
+ /**
46
+ * Defines animation options for the View.animate method.
47
+ */
48
+ export class KeyframeAnimationInfo {
49
+ /**
50
+ * Return animation keyframes.
51
+ */
52
+ keyframes: Array<KeyframeInfo>;
53
+
54
+ /**
55
+ * The animation name.
56
+ */
57
+ name?: string;
58
+
59
+ /**
60
+ * The length of the animation in milliseconds. The default duration is 300 milliseconds.
61
+ */
62
+ duration?: number;
63
+
64
+ /**
65
+ * The amount of time, in milliseconds, to delay starting the animation.
66
+ */
67
+ delay?: number;
68
+
69
+ /**
70
+ * Specifies how many times the animation should be played. Default is 1.
71
+ * iOS animations support fractional iterations, i.e. 1.5.
72
+ * To repeat an animation infinitely, use Number.POSITIVE_INFINITY
73
+ */
74
+ iterations?: number;
75
+
76
+ /**
77
+ * An optional animation curve. Possible values are contained in the [AnimationCurve enumeration](../modules/_ui_enums_.animationcurve.html).
78
+ * Alternatively, you can pass an instance of type UIViewAnimationCurve for iOS or android.animation.TimeInterpolator for Android.
79
+ */
80
+ curve?: any;
81
+
82
+ /**
83
+ * Determines whether the animation values will be applied on the animated object after the animation finishes.
84
+ */
85
+ isForwards: boolean;
86
+
87
+ /**
88
+ * If true the animation will be played backwards.
89
+ */
90
+ isReverse?: boolean;
56
91
  }
57
- export declare class KeyframeAnimation {
58
- animations: Array<Keyframe>;
59
- delay: number;
60
- iterations: number;
61
- private _resolve;
62
- private _isPlaying;
63
- private _isForwards;
64
- private _nativeAnimations;
65
- private _target;
66
- static keyframeAnimationFromInfo(info: KeyframeAnimationInfo): KeyframeAnimation;
67
- private static parseKeyframe;
68
- get isPlaying(): boolean;
69
- cancel(): void;
70
- play(view: View): Promise<void>;
71
- private animate;
72
- _resolveAnimationFinishedPromise(): void;
73
- _resetAnimations(): void;
74
- private _resetAnimationValues;
92
+
93
+ export class KeyframeAnimation {
94
+ animations: Array<Keyframe>;
95
+
96
+ /**
97
+ * The amount of time, in milliseconds, to delay starting the animation.
98
+ */
99
+ delay: number;
100
+
101
+ /**
102
+ * Specifies how many times the animation should be played. Default is 1.
103
+ * iOS animations support fractional iterations, i.e. 1.5.
104
+ * To repeat an animation infinitely, use Number.POSITIVE_INFINITY
105
+ */
106
+ iterations: number;
107
+
108
+ /**
109
+ * Returns true if the application is currently running.
110
+ */
111
+ isPlaying: boolean;
112
+
113
+ /**
114
+ * Plays the animation.
115
+ */
116
+ public play: (view: View) => Promise<void>;
117
+
118
+ /**
119
+ * Cancels a playing animation.
120
+ */
121
+ public cancel: () => void;
122
+
123
+ /**
124
+ * Creates a keyframe animation from animation definition.
125
+ */
126
+ public static keyframeAnimationFromInfo(info: KeyframeAnimationInfo): KeyframeAnimation;
75
127
  }
76
- export {};
@@ -1,13 +1,16 @@
1
- export declare namespace bindingConstants {
2
- const sourceProperty = "sourceProperty";
3
- const targetProperty = "targetProperty";
4
- const expression = "expression";
5
- const twoWay = "twoWay";
6
- const source = "source";
7
- const bindingValueKey = "$value";
8
- const parentValueKey = "$parent";
9
- const parentsValueKey = "$parents";
10
- const newPropertyValueKey = "$newPropertyValue";
1
+ //@private
2
+ export module bindingConstants {
3
+ export const sourceProperty: string;
4
+ export const targetProperty: string;
5
+ export const expression: string;
6
+ export const twoWay: string;
7
+ export const source: string;
8
+ export const bindingValueKey: string;
9
+ export const parentValueKey: string;
10
+ export const parentsValueKey: string;
11
+ export const newPropertyValueKey: string;
11
12
  }
12
- export declare const parentsRegex: RegExp;
13
- export declare function getBindingOptions(name: string, value: string): any;
13
+
14
+ export function getBindingOptions(name: string, value: string): any;
15
+
16
+ export const parentsRegex: RegExp;