@nativescript/core 8.9.0-alpha.3 → 8.9.0-next-01-13-2025-12740325729

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