@nativescript/core 8.9.0-next-01-14-2025-12761272657 → 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 (313) 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/wgc/atob.js +1 -1
  310. package/wgc/btoa.js +1 -1
  311. package/wgc/crypto/SubtleCrypto.js +8 -8
  312. package/wgc/crypto/index.js +2 -2
  313. package/xml/index.d.ts +105 -44
@@ -0,0 +1,103 @@
1
+ import { View } from '../core/view';
2
+ import { Property } from '../core/properties';
3
+ import { EventData } from '../../data/observable';
4
+ import { Color } from '../../color';
5
+
6
+ /**
7
+ * Represents a search bar component.
8
+ *
9
+ * @nsView SearchBar
10
+ */
11
+ export class SearchBar extends View {
12
+ /**
13
+ * String value used when hooking to submit event.
14
+ *
15
+ * @nsEvent {EventData} submit
16
+ */
17
+ public static submitEvent: string;
18
+
19
+ /**
20
+ * String value used when hooking to clear event.
21
+ *
22
+ * @nsEvent {EventData} submit
23
+ */
24
+ public static clearEvent: string;
25
+
26
+ /**
27
+ * Gets the native [android widget](http://developer.android.com/reference/android/widget/SearchView.html) that represents the user interface for this component. Valid only when running on Android OS.
28
+ */
29
+ android: any /* android.widget.SearchView */;
30
+
31
+ /**
32
+ * Gets the native iOS [UISearchBar](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UISearchBar_Class/) that represents the user interface for this component. Valid only when running on iOS.
33
+ */
34
+ ios: any /* UISearchBar */;
35
+
36
+ /**
37
+ * Gets or sets a search bar text.
38
+ *
39
+ * @nsProperty
40
+ */
41
+ text: string;
42
+
43
+ /**
44
+ * Gets or sets the text of the search bar text field hint/placeholder.
45
+ *
46
+ * @nsProperty
47
+ */
48
+ hint: string;
49
+
50
+ /**
51
+ * Gets or sets the TextField background color of the SearchBar component.
52
+ *
53
+ * @nsProperty
54
+ */
55
+ textFieldBackgroundColor: Color;
56
+
57
+ /**
58
+ * Gets or sets the TextField Hint color of the SearchBar component.
59
+ *
60
+ * @nsProperty
61
+ */
62
+ textFieldHintColor: Color;
63
+
64
+ /**
65
+ * Adds a listener for the specified event name.
66
+ *
67
+ * @param eventName The name of the event.
68
+ * @param callback The event listener to add. Will be called when an event of
69
+ * the given name is raised.
70
+ * @param thisArg An optional parameter which, when set, will be bound as the
71
+ * `this` context when the callback is called. Falsy values will be not be
72
+ * bound.
73
+ */
74
+ on(eventName: string, callback: (data: EventData) => void, thisArg?: any): void;
75
+
76
+ /**
77
+ * Raised when a search bar search is submitted.
78
+ */
79
+ on(event: 'submit', callback: (args: EventData) => void, thisArg?: any): void;
80
+
81
+ /**
82
+ * Raised when a search bar search is closed.
83
+ */
84
+ on(event: 'close', callback: (args: EventData) => void, thisArg?: any): void;
85
+
86
+ /**
87
+ * Hides the soft input method, usually a soft keyboard.
88
+ */
89
+ dismissSoftInput(): void;
90
+ }
91
+
92
+ /**
93
+ * Dependency property used to support binding operations related to search-bar text.
94
+ */
95
+ export const textProperty: Property<SearchBar, string>;
96
+ export const hintProperty: Property<SearchBar, string>;
97
+
98
+ /**
99
+ * Gets or sets the TextField background color of the SearchBar component.
100
+ */
101
+ export const textFieldBackgroundColorProperty: Property<SearchBar, Color>;
102
+
103
+ export const textFieldHintColorProperty: Property<SearchBar, Color>;
@@ -0,0 +1,122 @@
1
+ import { View, AddChildFromBuilder, AddArrayFromBuilder } from '../core/view';
2
+ import { ViewBase } from '../core/view-base';
3
+ import { Property, CoercibleProperty, CssProperty } from '../core/properties';
4
+ import { EventData } from '../../data/observable';
5
+ import { Color } from '../../color';
6
+ import { Style } from '../styling/style';
7
+
8
+ /**
9
+ * Represents a SegmentedBar item.
10
+ *
11
+ * @nsView SegmentedBarItem
12
+ */
13
+ export class SegmentedBarItem extends ViewBase {
14
+ /**
15
+ * Gets or sets the title of the SegmentedBarItem.
16
+ *
17
+ * @nsProperty
18
+ */
19
+ public title: string;
20
+ }
21
+
22
+ /**
23
+ * Defines the data for the SegmentedBar.selectedIndexChanged event.
24
+ */
25
+ export interface SelectedIndexChangedEventData extends EventData {
26
+ /**
27
+ * The old selected index.
28
+ */
29
+ oldIndex: number;
30
+
31
+ /**
32
+ * The new selected index.
33
+ */
34
+ newIndex: number;
35
+ }
36
+
37
+ /**
38
+ * Represents a UI SegmentedBar component.
39
+ *
40
+ * @nsView SegmentedBar
41
+ */
42
+ export class SegmentedBar extends View implements AddChildFromBuilder, AddArrayFromBuilder {
43
+ /**
44
+ * String value used when hooking to the selectedIndexChanged event.
45
+ *
46
+ * @nsEvent {SelectedIndexChangedEventData} selectedIndexChanged
47
+ */
48
+ public static selectedIndexChangedEvent;
49
+
50
+ /**
51
+ * Gets or sets the selected index of the SegmentedBar component.
52
+ *
53
+ * @nsProperty
54
+ */
55
+ selectedIndex: number;
56
+
57
+ /**
58
+ * Gets or sets the selected background color of the SegmentedBar component.
59
+ *
60
+ * @nsProperty
61
+ */
62
+ selectedBackgroundColor: Color;
63
+
64
+ /**
65
+ * Gets or sets the selected text color of the SegmentedBar component.
66
+ *
67
+ * @nsProperty
68
+ */
69
+ selectedTextColor: Color;
70
+
71
+ /**
72
+ * Gets or sets the items of the SegmentedBar.
73
+ *
74
+ * @nsProperty
75
+ */
76
+ items: Array<SegmentedBarItem>;
77
+
78
+ /**
79
+ * Adds a listener for the specified event name.
80
+ *
81
+ * @param eventName The name of the event.
82
+ * @param callback The event listener to add. Will be called when an event of
83
+ * the given name is raised.
84
+ * @param thisArg An optional parameter which, when set, will be bound as the
85
+ * `this` context when the callback is called. Falsy values will be not be
86
+ * bound.
87
+ */
88
+ on(eventName: string, callback: (data: EventData) => void, thisArg?: any): void;
89
+
90
+ /**
91
+ * Raised when the selected index changes.
92
+ */
93
+ on(event: 'selectedIndexChanged', callback: (args: SelectedIndexChangedEventData) => void, thisArg?: any): void;
94
+
95
+ /**
96
+ * Called for every child element declared in xml.
97
+ * @param name - Name of the element.
98
+ * @param value - Value of the element.
99
+ */
100
+ public _addChildFromBuilder(name: string, value: any): void;
101
+ public _addArrayFromBuilder(name: string, value: Array<any>): void;
102
+ }
103
+
104
+ /**
105
+ * Gets or sets the selected index dependency property of the SegmentedBar.
106
+ */
107
+ export const selectedIndexProperty: CoercibleProperty<SegmentedBar, number>;
108
+
109
+ /**
110
+ * Gets or sets the selected background color property of the SegmentedBar.
111
+ */
112
+ export const selectedBackgroundColorProperty: CssProperty<Style, Color>;
113
+
114
+ /**
115
+ * Gets or sets the items dependency property of the SegmentedBar.
116
+ */
117
+ export const itemsProperty: Property<SegmentedBar, SegmentedBarItem[]>;
118
+
119
+ /**
120
+ * Gets or sets the selected text color property of the SegmentedBar.
121
+ */
122
+ export const selectedTextColorProperty: CssProperty<Style, Color>;
@@ -0,0 +1,99 @@
1
+ import { View } from '../core/view';
2
+ import { Property, CoercibleProperty } from '../core/properties';
3
+ import { EventData } from '../../data/observable';
4
+ import type { SliderBase } from './slider-common';
5
+
6
+ /**
7
+ * Represents a slider component.
8
+ *
9
+ * @nsView Slider
10
+ */
11
+ export class Slider extends View {
12
+ /**
13
+ * String value used when hooking to valueChange event.
14
+ *
15
+ * @nsEvent {PropertyChangeData} valueChange
16
+ */
17
+ static readonly valueChangeEvent = 'valueChange';
18
+ /**
19
+ * String value used when hooking to accessibilityDecrement event.
20
+ *
21
+ * @nsEvent {accessibilityDecrementEvent} accessibilityDecrement
22
+ */
23
+ static readonly accessibilityDecrementEvent = 'accessibilityDecrement';
24
+
25
+ /**
26
+ * String value used when hooking to accessibilityIncrement event.
27
+ *
28
+ * @nsEvent {AccessibilityIncrementEventData} accessibilityIncrement
29
+ */
30
+ static readonly accessibilityIncrementEvent = 'accessibilityIncrement';
31
+
32
+ /**
33
+ * Gets the native [android widget](http://developer.android.com/reference/android/widget/SeekBar.html) that represents the user interface for this component. Valid only when running on Android OS.
34
+ */
35
+ android: any /* android.widget.SeekBar */;
36
+
37
+ /**
38
+ * Gets the native iOS [UISlider](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UISlider_Class/) that represents the user interface for this component. Valid only when running on iOS.
39
+ */
40
+ ios: any /* UISlider */;
41
+
42
+ /**
43
+ * Gets or sets a slider current value. The default value is 0.
44
+ *
45
+ * @nsProperty
46
+ */
47
+ value: number;
48
+
49
+ /**
50
+ * Gets or sets a slider min value. The default value is 0.
51
+ *
52
+ * @nsProperty
53
+ */
54
+ minValue: number;
55
+
56
+ /**
57
+ * Gets or sets a slider max value. The default value is 100.
58
+ *
59
+ * @nsProperty
60
+ */
61
+ maxValue: number;
62
+
63
+ /**
64
+ * Increase/Decrease step size for iOS Increment-/Decrement events
65
+ *
66
+ * @nsProperty
67
+ */
68
+ accessibilityStep: number;
69
+ }
70
+
71
+ /**
72
+ * Represents the observable property backing the value property of each Slider instance.
73
+ */
74
+ export const valueProperty: CoercibleProperty<Slider, number>;
75
+
76
+ /**
77
+ * Represents the observable property backing the minValue property of each Slider instance.
78
+ */
79
+ export const minValueProperty: Property<Slider, number>;
80
+
81
+ /**
82
+ * Represents the observable property backing the maxValue property of each Slider instance.
83
+ */
84
+ export const maxValueProperty: CoercibleProperty<Slider, number>;
85
+
86
+ /**
87
+ * Represents the observable property backing the accessibilityStep property of each Slider instance.
88
+ */
89
+ export const accessibilityStepProperty: Property<SliderBase, number>;
90
+
91
+ interface AccessibilityIncrementEventData extends EventData {
92
+ object: Slider;
93
+ value?: number;
94
+ }
95
+
96
+ interface AccessibilityDecrementEventData extends EventData {
97
+ object: Slider;
98
+ value?: number;
99
+ }
@@ -0,0 +1,95 @@
1
+ import { Color } from '../../color';
2
+ import { View } from '../core/view';
3
+ import { BackgroundRepeat } from '../../css/parser';
4
+ import { LinearGradient } from '../styling/linear-gradient';
5
+ import { BoxShadow } from './box-shadow';
6
+ import { Background as BackgroundDefinition } from './background-common';
7
+
8
+ export * from './background-common';
9
+
10
+ export enum CacheMode {
11
+ none,
12
+ memory,
13
+ diskAndMemory,
14
+ }
15
+
16
+ // export declare class Background {
17
+ // public static default: Background;
18
+ // public color: Color;
19
+ // public image: string | LinearGradient;
20
+ // public repeat: BackgroundRepeat;
21
+ // public position: string;
22
+ // public size: string;
23
+ // public borderTopColor: Color;
24
+ // public borderRightColor: Color;
25
+ // public borderBottomColor: Color;
26
+ // public borderLeftColor: Color;
27
+ // public borderTopWidth: number;
28
+ // public borderRightWidth: number;
29
+ // public borderBottomWidth: number;
30
+ // public borderLeftWidth: number;
31
+ // public borderTopLeftRadius: number;
32
+ // public borderTopRightRadius: number;
33
+ // public borderBottomRightRadius: number;
34
+ // public borderBottomLeftRadius: number;
35
+ // public clipPath: string;
36
+ // public boxShadow: string | BoxShadow;
37
+ // public clearFlags: number;
38
+
39
+ // public withColor(value: Color): Background;
40
+ // public withImage(value: string | LinearGradient): Background;
41
+ // public withRepeat(value: BackgroundRepeat): Background;
42
+ // public withPosition(value: string): Background;
43
+ // public withSize(value: string): Background;
44
+ // public withBorderTopColor(value: Color): Background;
45
+ // public withBorderRightColor(value: Color): Background;
46
+ // public withBorderBottomColor(value: Color): Background;
47
+ // public withBorderLeftColor(value: Color): Background;
48
+ // public withBorderTopWidth(value: number): Background;
49
+ // public withBorderRightWidth(value: number): Background;
50
+ // public withBorderBottomWidth(value: number): Background;
51
+ // public withBorderLeftWidth(value: number): Background;
52
+ // public withBorderTopLeftRadius(value: number): Background;
53
+ // public withBorderTopRightRadius(value: number): Background;
54
+ // public withBorderBottomRightRadius(value: number): Background;
55
+ // public withBorderBottomLeftRadius(value: number): Background;
56
+ // public withClipPath(value: string): Background;
57
+ // public withBoxShadow(value: BoxShadow): Background;
58
+
59
+ // public isEmpty(): boolean;
60
+
61
+ // public static equals(value1: Background, value2: Background): boolean;
62
+
63
+ // public hasBorderColor(): boolean;
64
+ // public hasBorderWidth(): boolean;
65
+ // public hasBorderRadius(): boolean;
66
+ // public hasBorder(): boolean;
67
+ // public hasUniformBorderColor(): boolean;
68
+ // public hasUniformBorderWidth(): boolean;
69
+ // public hasUniformBorderRadius(): boolean;
70
+ // public hasUniformBorder(): boolean;
71
+ // public getUniformBorderColor(): Color;
72
+ // public getUniformBorderWidth(): number;
73
+ // public getUniformBorderRadius(): number;
74
+ // public hasBoxShadow(): boolean;
75
+ // public getBoxShadow(): BoxShadow;
76
+ // }
77
+
78
+ export namespace ios {
79
+ export function createBackgroundUIColor(view: View, callback: (uiColor: any /* UIColor */) => void, flip?: boolean): void;
80
+ export function drawBackgroundVisualEffects(view: View): void;
81
+ export function clearBackgroundVisualEffects(view: View): void;
82
+ export function createUIImageFromURI(view: View, imageURI: string, flip: boolean, callback: (image: any) => void): void;
83
+ export function generateClipPath(view: View, bounds: CGRect): any;
84
+ export function generateShadowLayerPaths(view: View, bounds: CGRect): { maskPath: any; shadowPath: any };
85
+ export function getUniformBorderRadius(view: View, bounds: CGRect): number;
86
+ export function generateNonUniformBorderInnerClipRoundedPath(view: View, bounds: CGRect): any;
87
+ export function generateNonUniformBorderOuterClipRoundedPath(view: View, bounds: CGRect): any;
88
+ export function generateNonUniformMultiColorBorderRoundedPaths(view: View, bounds: CGRect): Array<any>;
89
+ }
90
+
91
+ export namespace ad {
92
+ export function onBackgroundOrBorderPropertyChanged(v: View);
93
+ }
94
+
95
+ export function refreshBorderDrawable(view: View, borderDrawable: any /* org.nativescript.widgets.BorderDrawable */): void;
@@ -1,2 +1,2 @@
1
- export declare function timeConverter(value: string): number;
2
- export declare function animationTimingFunctionConverter(value: string): any;
1
+ export function timeConverter(value: string): number;
2
+ export function animationTimingFunctionConverter(value: string): any;
@@ -0,0 +1,62 @@
1
+ import { Font as FontBase } from './font-common';
2
+ export type { FontStyleType, FontWeightType, ParsedFont, FontVariationSettingsType } from './font-interfaces';
3
+
4
+ export declare class Font extends FontBase {
5
+ public static default: Font;
6
+
7
+ public fontFamily: string;
8
+ public fontStyle: FontStyleType;
9
+ public fontWeight: FontWeightType;
10
+ public fontSize: number;
11
+ public fontScale: number;
12
+ public fontVariationSettings?: FontVariationSettingsType[];
13
+
14
+ public isBold: boolean;
15
+ public isItalic: boolean;
16
+
17
+ constructor(family: string, size: number, style?: FontStyleType, weight?: FontWeightType, scale?: number, fontVariationSettings?: FontVariationSettings[]);
18
+
19
+ public getAndroidTypeface(): any /* android.graphics.Typeface */;
20
+ public getUIFont(defaultFont: any /* UIFont */): any /* UIFont */;
21
+
22
+ public withFontFamily(family: string): Font;
23
+ public withFontStyle(style: FontStyleType): Font;
24
+ public withFontWeight(weight: FontWeightType): Font;
25
+ public withFontSize(size: number): Font;
26
+ public withFontScale(scale: number): Font;
27
+ public withFontVariationSettings(variationSettings: FontVariationSettings[]): Font;
28
+
29
+ public static equals(value1: Font, value2: Font): boolean;
30
+ }
31
+
32
+ export namespace FontStyle {
33
+ export const NORMAL: 'normal';
34
+ export const ITALIC: 'italic';
35
+ export function isValid(value: any): boolean;
36
+ export function parse(value: string): FontStyleType;
37
+ }
38
+
39
+ export namespace FontWeight {
40
+ export const THIN: '100';
41
+ export const EXTRA_LIGHT: '200';
42
+ export const LIGHT: '300';
43
+ export const NORMAL: 'normal';
44
+ export const MEDIUM: '500';
45
+ export const SEMI_BOLD: '600';
46
+ export const BOLD: 'bold';
47
+ export const EXTRA_BOLD: '800';
48
+ export const BLACK: '900';
49
+ export function isValid(value: any): boolean;
50
+ export function parse(value: string): FontWeightType;
51
+ }
52
+
53
+ export namespace FontVariationSettings {
54
+ export function parse(fontVariationSettings: string): Array<FontVariationSettingsType> | null;
55
+ export function toString(fontVariationSettings: Array<FontVariationSettingsType> | null): string | null;
56
+ }
57
+
58
+ export function parseFont(fontValue: string): ParsedFont;
59
+
60
+ export namespace ios {
61
+ export function registerFont(fontFile: string);
62
+ }