@nativescript/core 8.9.0-alpha.2 → 8.9.0-next-01-13-2025-12739393522

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 (425) 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 -0
  61. package/ui/button/index.android.js +3 -0
  62. package/ui/button/index.android.js.map +1 -1
  63. package/ui/content-view/index.d.ts +23 -4
  64. package/ui/core/view/index.android.js +3 -4
  65. package/ui/core/view/index.android.js.map +1 -1
  66. package/ui/core/view/index.ios.js +1 -3
  67. package/ui/core/view/index.ios.js.map +1 -1
  68. package/ui/core/view/view-common.d.ts +8 -1
  69. package/ui/core/view/view-common.js +16 -3
  70. package/ui/core/view/view-common.js.map +1 -1
  71. package/ui/core/view-base/index.d.ts +93 -2
  72. package/ui/core/view-base/index.js +18 -0
  73. package/ui/core/view-base/index.js.map +1 -1
  74. package/ui/core/weak-event-listener/index.d.ts +2 -18
  75. package/ui/date-picker/date-picker-common.d.ts +1 -0
  76. package/ui/date-picker/date-picker-common.js +1 -0
  77. package/ui/date-picker/date-picker-common.js.map +1 -1
  78. package/ui/editable-text-base/editable-text-base-common.d.ts +1 -0
  79. package/ui/editable-text-base/editable-text-base-common.js.map +1 -1
  80. package/ui/frame/frame-common.d.ts +3 -2
  81. package/ui/frame/frame-common.js +6 -6
  82. package/ui/frame/frame-common.js.map +1 -1
  83. package/ui/gestures/gestures-common.d.ts +22 -0
  84. package/ui/gestures/gestures-common.js +22 -0
  85. package/ui/gestures/gestures-common.js.map +1 -1
  86. package/ui/html-view/html-view-common.d.ts +1 -0
  87. package/ui/html-view/html-view-common.js.map +1 -1
  88. package/ui/image/image-common.d.ts +2 -0
  89. package/ui/image/image-common.js +3 -1
  90. package/ui/image/image-common.js.map +1 -1
  91. package/ui/index.d.ts +3 -1
  92. package/ui/index.js +1 -1
  93. package/ui/index.js.map +1 -1
  94. package/ui/layouts/index.d.ts +2 -1
  95. package/ui/layouts/layout-base-common.d.ts +0 -1
  96. package/ui/layouts/layout-base-common.js +1 -8
  97. package/ui/layouts/layout-base-common.js.map +1 -1
  98. package/ui/list-picker/list-picker-common.d.ts +1 -0
  99. package/ui/list-picker/list-picker-common.js +1 -0
  100. package/ui/list-picker/list-picker-common.js.map +1 -1
  101. package/ui/placeholder/index.android.d.ts +1 -1
  102. package/ui/placeholder/index.d.ts +8 -42
  103. package/ui/proxy-view-container/index.d.ts +2 -0
  104. package/ui/proxy-view-container/index.js +2 -0
  105. package/ui/proxy-view-container/index.js.map +1 -1
  106. package/ui/repeater/index.d.ts +2 -0
  107. package/ui/repeater/index.js +2 -0
  108. package/ui/repeater/index.js.map +1 -1
  109. package/ui/slider/slider-common.d.ts +1 -0
  110. package/ui/slider/slider-common.js +1 -0
  111. package/ui/slider/slider-common.js.map +1 -1
  112. package/ui/styling/background.ios.d.ts +1 -15
  113. package/ui/styling/background.ios.js +52 -54
  114. package/ui/styling/background.ios.js.map +1 -1
  115. package/ui/styling/converters.d.ts +2 -2
  116. package/ui/styling/style/index.d.ts +3 -1
  117. package/ui/styling/style/index.js.map +1 -1
  118. package/ui/styling/style-properties.d.ts +81 -100
  119. package/ui/styling/style-properties.js.map +1 -1
  120. package/ui/styling/style-scope.d.ts +79 -48
  121. package/ui/text-base/formatted-string.d.ts +36 -73
  122. package/ui/text-base/index.android.js +2 -11
  123. package/ui/text-base/index.android.js.map +1 -1
  124. package/ui/text-base/span.d.ts +36 -81
  125. package/ui/text-base/text-base-common.d.ts +2 -0
  126. package/ui/text-base/text-base-common.js +6 -0
  127. package/ui/text-base/text-base-common.js.map +1 -1
  128. package/ui/text-view/index.android.d.ts +0 -1
  129. package/ui/text-view/index.android.js +0 -1
  130. package/ui/text-view/index.android.js.map +1 -1
  131. package/ui/text-view/index.ios.d.ts +0 -3
  132. package/ui/text-view/index.ios.js +8 -64
  133. package/ui/text-view/index.ios.js.map +1 -1
  134. package/ui/text-view/text-view-common.d.ts +0 -26
  135. package/ui/text-view/text-view-common.js +0 -34
  136. package/ui/text-view/text-view-common.js.map +1 -1
  137. package/ui/time-picker/time-picker-common.d.ts +1 -0
  138. package/ui/time-picker/time-picker-common.js +1 -0
  139. package/ui/time-picker/time-picker-common.js.map +1 -1
  140. package/ui/utils.ios.d.ts +1 -2
  141. package/ui/utils.ios.js.map +1 -1
  142. package/ui/web-view/web-view-common.d.ts +1 -1
  143. package/utils/debug.d.ts +17 -61
  144. package/utils/lazy.d.ts +0 -5
  145. package/utils/macrotask-scheduler.d.ts +1 -5
  146. package/utils/native-helper.ios.js +1 -0
  147. package/utils/native-helper.ios.js.map +1 -1
  148. package/utils/types.d.ts +23 -115
  149. package/xml/index.d.ts +44 -105
  150. package/xml/index.js +1 -1
  151. package/xml/index.js.map +1 -1
  152. package/accessibility/accessibility-service.d.ts +0 -10
  153. package/accessibility/font-scale.d.ts +0 -9
  154. package/accessibility/index.d.ts +0 -37
  155. package/animation-frame/animation-native.d.ts +0 -4
  156. package/application/application.d.ts +0 -194
  157. package/application/index.d.ts +0 -2
  158. package/application-settings/index.d.ts +0 -70
  159. package/cli-hooks/before-checkForChanges.js +0 -60
  160. package/cli-hooks/postinstall.js +0 -2
  161. package/cli-hooks/preuninstall.js +0 -2
  162. package/color/index.d.ts +0 -206
  163. package/connectivity/index.d.ts +0 -52
  164. package/css/lib/parse/index.js +0 -602
  165. package/css/package.json +0 -36
  166. package/css/reworkcss.d.ts +0 -47
  167. package/css/reworkcss.js +0 -1
  168. package/css-value/package.json +0 -23
  169. package/css-value/reworkcss-value.d.ts +0 -8
  170. package/css-value/reworkcss-value.js +0 -113
  171. package/debugger/css-agent.d.ts +0 -59
  172. package/fetch/index.js +0 -539
  173. package/file-system/file-system-access.d.ts +0 -441
  174. package/fps-meter/fps-native.d.ts +0 -24
  175. package/global-types.d.ts +0 -393
  176. package/http/http-request/index.d.ts +0 -3
  177. package/image-asset/index.d.ts +0 -17
  178. package/image-source/index.d.ts +0 -345
  179. package/js-libs/easysax/easysax.d.ts +0 -8
  180. package/js-libs/easysax/easysax.js +0 -782
  181. package/js-libs/easysax/package.json +0 -35
  182. package/platform/device/index.d.ts +0 -70
  183. package/platform/screen/index.d.ts +0 -48
  184. package/platforms/android/native-api-usage.json +0 -32
  185. package/platforms/android/res/values/ids.xml +0 -4
  186. package/platforms/android/widgets-release.aar +0 -0
  187. package/platforms/android/winter_cg-release.aar +0 -0
  188. package/platforms/ios/NSCWinterCG.xcframework/Info.plist +0 -102
  189. package/platforms/ios/NSCWinterCG.xcframework/ios-arm64/NSCWinterCG.framework/Headers/NSCCrypto.h +0 -79
  190. package/platforms/ios/NSCWinterCG.xcframework/ios-arm64/NSCWinterCG.framework/Headers/NSCWinterCG.h +0 -20
  191. package/platforms/ios/NSCWinterCG.xcframework/ios-arm64/NSCWinterCG.framework/Headers/NSString+WinterCG.h +0 -21
  192. package/platforms/ios/NSCWinterCG.xcframework/ios-arm64/NSCWinterCG.framework/Info.plist +0 -0
  193. package/platforms/ios/NSCWinterCG.xcframework/ios-arm64/NSCWinterCG.framework/Modules/module.modulemap +0 -6
  194. package/platforms/ios/NSCWinterCG.xcframework/ios-arm64/NSCWinterCG.framework/NSCWinterCG +0 -0
  195. package/platforms/ios/NSCWinterCG.xcframework/ios-arm64/dSYMs/NSCWinterCG.framework.dSYM/Contents/Info.plist +0 -20
  196. package/platforms/ios/NSCWinterCG.xcframework/ios-arm64/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/DWARF/NSCWinterCG +0 -0
  197. package/platforms/ios/NSCWinterCG.xcframework/ios-arm64/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterCG.yml +0 -40
  198. package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Headers/NSCCrypto.h +0 -79
  199. package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Headers/NSCWinterCG.h +0 -20
  200. package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Headers/NSString+WinterCG.h +0 -21
  201. package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Modules/module.modulemap +0 -6
  202. package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/NSCWinterCG +0 -0
  203. package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Resources/Info.plist +0 -52
  204. package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Versions/A/Headers/NSCCrypto.h +0 -79
  205. package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Versions/A/Headers/NSCWinterCG.h +0 -20
  206. package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Versions/A/Headers/NSString+WinterCG.h +0 -21
  207. package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Versions/A/Modules/module.modulemap +0 -6
  208. package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Versions/A/NSCWinterCG +0 -0
  209. package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Versions/A/Resources/Info.plist +0 -52
  210. package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Versions/Current/NSCWinterCG +0 -0
  211. package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterCG.framework.dSYM/Contents/Info.plist +0 -20
  212. package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/DWARF/NSCWinterCG +0 -0
  213. package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterCG.yml +0 -40
  214. package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/Relocations/x86_64/NSCWinterCG.yml +0 -40
  215. package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/NSCWinterCG.framework/Headers/NSCCrypto.h +0 -79
  216. package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/NSCWinterCG.framework/Headers/NSCWinterCG.h +0 -20
  217. package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/NSCWinterCG.framework/Headers/NSString+WinterCG.h +0 -21
  218. package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/NSCWinterCG.framework/Info.plist +0 -0
  219. package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/NSCWinterCG.framework/Modules/module.modulemap +0 -6
  220. package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/NSCWinterCG.framework/NSCWinterCG +0 -0
  221. package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/NSCWinterCG.framework/_CodeSignature/CodeResources +0 -146
  222. package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterCG.framework.dSYM/Contents/Info.plist +0 -20
  223. package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/DWARF/NSCWinterCG +0 -0
  224. package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterCG.yml +0 -40
  225. package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/Relocations/x86_64/NSCWinterCG.yml +0 -40
  226. package/platforms/ios/NSCWinterCG.xcframework/xros-arm64/NSCWinterCG.framework/Headers/NSCCrypto.h +0 -79
  227. package/platforms/ios/NSCWinterCG.xcframework/xros-arm64/NSCWinterCG.framework/Headers/NSCWinterCG.h +0 -20
  228. package/platforms/ios/NSCWinterCG.xcframework/xros-arm64/NSCWinterCG.framework/Headers/NSString+WinterCG.h +0 -21
  229. package/platforms/ios/NSCWinterCG.xcframework/xros-arm64/NSCWinterCG.framework/Info.plist +0 -0
  230. package/platforms/ios/NSCWinterCG.xcframework/xros-arm64/NSCWinterCG.framework/Modules/module.modulemap +0 -6
  231. package/platforms/ios/NSCWinterCG.xcframework/xros-arm64/NSCWinterCG.framework/NSCWinterCG +0 -0
  232. package/platforms/ios/NSCWinterCG.xcframework/xros-arm64/dSYMs/NSCWinterCG.framework.dSYM/Contents/Info.plist +0 -20
  233. package/platforms/ios/NSCWinterCG.xcframework/xros-arm64/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/DWARF/NSCWinterCG +0 -0
  234. package/platforms/ios/NSCWinterCG.xcframework/xros-arm64/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterCG.yml +0 -40
  235. package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/NSCWinterCG.framework/Headers/NSCCrypto.h +0 -79
  236. package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/NSCWinterCG.framework/Headers/NSCWinterCG.h +0 -20
  237. package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/NSCWinterCG.framework/Headers/NSString+WinterCG.h +0 -21
  238. package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/NSCWinterCG.framework/Info.plist +0 -0
  239. package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/NSCWinterCG.framework/Modules/module.modulemap +0 -6
  240. package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/NSCWinterCG.framework/NSCWinterCG +0 -0
  241. package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/NSCWinterCG.framework/_CodeSignature/CodeResources +0 -146
  242. package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterCG.framework.dSYM/Contents/Info.plist +0 -20
  243. package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/DWARF/NSCWinterCG +0 -0
  244. package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterCG.yml +0 -40
  245. package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/Relocations/x86_64/NSCWinterCG.yml +0 -40
  246. package/platforms/ios/TNSWidgets.xcframework/Info.plist +0 -102
  247. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/NSCCrypto.h +0 -60
  248. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/NSData+Async.h +0 -24
  249. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/NSFileHandle+Async.h +0 -22
  250. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/NSString+Async.h +0 -25
  251. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/TNSLabel.h +0 -16
  252. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/TNSProcess.h +0 -29
  253. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/TNSWidgets.h +0 -25
  254. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +0 -26
  255. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +0 -17
  256. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Info.plist +0 -0
  257. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Modules/module.modulemap +0 -6
  258. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +0 -17
  259. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +0 -18
  260. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/TNSWidgets +0 -0
  261. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +0 -20
  262. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
  263. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +0 -82
  264. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSCCrypto.h +0 -60
  265. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSData+Async.h +0 -24
  266. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSFileHandle+Async.h +0 -22
  267. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSString+Async.h +0 -25
  268. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/TNSLabel.h +0 -16
  269. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/TNSProcess.h +0 -29
  270. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/TNSWidgets.h +0 -25
  271. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +0 -26
  272. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +0 -17
  273. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Modules/module.modulemap +0 -6
  274. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +0 -17
  275. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +0 -18
  276. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Resources/Info.plist +0 -52
  277. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/TNSWidgets +0 -0
  278. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSCCrypto.h +0 -60
  279. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSData+Async.h +0 -24
  280. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSFileHandle+Async.h +0 -22
  281. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSString+Async.h +0 -25
  282. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/TNSLabel.h +0 -16
  283. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/TNSProcess.h +0 -29
  284. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/TNSWidgets.h +0 -25
  285. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/UIImage+TNSBlocks.h +0 -26
  286. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/UIView+PassThroughParent.h +0 -17
  287. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Modules/module.modulemap +0 -6
  288. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/PrivateHeaders/NSObject+Swizzling.h +0 -17
  289. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/PrivateHeaders/UIView+PropertyBag.h +0 -18
  290. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Resources/Info.plist +0 -52
  291. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/TNSWidgets +0 -0
  292. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/TNSWidgets +0 -0
  293. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +0 -20
  294. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
  295. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +0 -82
  296. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml +0 -82
  297. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSCCrypto.h +0 -60
  298. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSData+Async.h +0 -24
  299. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSFileHandle+Async.h +0 -22
  300. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSString+Async.h +0 -25
  301. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSLabel.h +0 -16
  302. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSProcess.h +0 -29
  303. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSWidgets.h +0 -25
  304. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +0 -26
  305. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +0 -17
  306. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Info.plist +0 -0
  307. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Modules/module.modulemap +0 -6
  308. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +0 -17
  309. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +0 -18
  310. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/TNSWidgets +0 -0
  311. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/_CodeSignature/CodeResources +0 -223
  312. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +0 -20
  313. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
  314. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +0 -82
  315. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml +0 -82
  316. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSCCrypto.h +0 -60
  317. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSData+Async.h +0 -24
  318. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSFileHandle+Async.h +0 -22
  319. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSString+Async.h +0 -25
  320. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/TNSLabel.h +0 -16
  321. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/TNSProcess.h +0 -29
  322. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/TNSWidgets.h +0 -25
  323. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +0 -26
  324. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +0 -17
  325. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Info.plist +0 -0
  326. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Modules/module.modulemap +0 -6
  327. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +0 -17
  328. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +0 -18
  329. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/TNSWidgets +0 -0
  330. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +0 -20
  331. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
  332. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +0 -82
  333. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSCCrypto.h +0 -60
  334. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSData+Async.h +0 -24
  335. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSFileHandle+Async.h +0 -22
  336. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSString+Async.h +0 -25
  337. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSLabel.h +0 -16
  338. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSProcess.h +0 -29
  339. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSWidgets.h +0 -25
  340. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +0 -26
  341. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +0 -17
  342. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Info.plist +0 -0
  343. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Modules/module.modulemap +0 -6
  344. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +0 -17
  345. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +0 -18
  346. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/TNSWidgets +0 -0
  347. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/_CodeSignature/CodeResources +0 -223
  348. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +0 -20
  349. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
  350. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +0 -82
  351. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml +0 -82
  352. package/platforms/ios/native-api-usage.json +0 -41
  353. package/platforms/ios/src/NativeScriptEmbedder.h +0 -31
  354. package/platforms/ios/src/NativeScriptEmbedder.m +0 -43
  355. package/platforms/ios/src/NativeScriptMainWindow.swift +0 -179
  356. package/platforms/ios/src/NativeScriptUtils.h +0 -16
  357. package/platforms/ios/src/NativeScriptUtils.m +0 -137
  358. package/platforms/ios/src/UIView+NativeScript.h +0 -15
  359. package/platforms/ios/src/UIView+NativeScript.m +0 -150
  360. package/platforms/ios/src/module.modulemap +0 -14
  361. package/platforms/ios/typings/objc!MaterialComponents.d.ts +0 -808
  362. package/platforms/ios/typings/objc!NativeScriptUtils.d.ts +0 -18
  363. package/references.d.ts +0 -10
  364. package/text/index.d.ts +0 -36
  365. package/timer/index.d.ts +0 -27
  366. package/ui/action-bar/index.d.ts +0 -271
  367. package/ui/activity-indicator/index.d.ts +0 -21
  368. package/ui/animation/index.d.ts +0 -152
  369. package/ui/button/index.d.ts +0 -44
  370. package/ui/core/control-state-change/index.d.ts +0 -15
  371. package/ui/core/view/index.d.ts +0 -992
  372. package/ui/core/view/view-helper/index.d.ts +0 -76
  373. package/ui/date-picker/index.d.ts +0 -65
  374. package/ui/dialogs/index.d.ts +0 -311
  375. package/ui/editable-text-base/index.d.ts +0 -100
  376. package/ui/embedding/index.d.ts +0 -10
  377. package/ui/frame/fragment.d.ts +0 -5
  378. package/ui/frame/fragment.transitions.d.ts +0 -43
  379. package/ui/frame/index.d.ts +0 -553
  380. package/ui/frame/transition-definitions.android.d.ts +0 -54
  381. package/ui/gestures/index.d.ts +0 -59
  382. package/ui/html-view/index.d.ts +0 -27
  383. package/ui/image/index.d.ts +0 -77
  384. package/ui/image/symbol-effects.d.ts +0 -13
  385. package/ui/image-cache/index.d.ts +0 -147
  386. package/ui/label/index.d.ts +0 -21
  387. package/ui/layouts/absolute-layout/index.d.ts +0 -40
  388. package/ui/layouts/dock-layout/index.d.ts +0 -35
  389. package/ui/layouts/flexbox-layout/index.d.ts +0 -66
  390. package/ui/layouts/grid-layout/index.d.ts +0 -182
  391. package/ui/layouts/layout-base.d.ts +0 -105
  392. package/ui/layouts/root-layout/index.d.ts +0 -45
  393. package/ui/layouts/stack-layout/index.d.ts +0 -19
  394. package/ui/layouts/wrap-layout/index.d.ts +0 -43
  395. package/ui/list-picker/index.d.ts +0 -32
  396. package/ui/list-view/index.d.ts +0 -208
  397. package/ui/page/index.d.ts +0 -212
  398. package/ui/progress/index.d.ts +0 -37
  399. package/ui/scroll-view/index.d.ts +0 -89
  400. package/ui/search-bar/index.d.ts +0 -89
  401. package/ui/segmented-bar/index.d.ts +0 -106
  402. package/ui/slider/index.d.ts +0 -72
  403. package/ui/styling/background.d.ts +0 -93
  404. package/ui/styling/font.d.ts +0 -62
  405. package/ui/switch/index.d.ts +0 -35
  406. package/ui/tab-view/index.d.ts +0 -175
  407. package/ui/text-base/index.d.ts +0 -161
  408. package/ui/text-field/index.d.ts +0 -41
  409. package/ui/text-view/index.d.ts +0 -35
  410. package/ui/time-picker/index.d.ts +0 -80
  411. package/ui/transition/fade-transition.d.ts +0 -3
  412. package/ui/transition/flip-transition.d.ts +0 -5
  413. package/ui/transition/index.d.ts +0 -59
  414. package/ui/transition/modal-transition.d.ts +0 -2
  415. package/ui/transition/page-transition.d.ts +0 -4
  416. package/ui/transition/shared-transition-helper.d.ts +0 -14
  417. package/ui/transition/slide-transition.d.ts +0 -5
  418. package/ui/utils.d.ts +0 -44
  419. package/ui/web-view/index.d.ts +0 -130
  420. package/utils/constants.d.ts +0 -1
  421. package/utils/index.d.ts +0 -177
  422. package/utils/layout-helper/index.d.ts +0 -82
  423. package/utils/mainthread-helper.d.ts +0 -16
  424. package/utils/native-helper.d.ts +0 -280
  425. package/utils/typescript-utils.d.ts +0 -6
package/utils/index.d.ts DELETED
@@ -1,177 +0,0 @@
1
- export { clearInterval, clearTimeout, setInterval, setTimeout } from '../timer';
2
- export * from './common';
3
- export * from './constants';
4
- export * from './debug';
5
- export * from './layout-helper';
6
- export * from './macrotask-scheduler';
7
- export * from './mainthread-helper';
8
- export * from './native-helper';
9
- export * from './types';
10
-
11
- export const RESOURCE_PREFIX: string;
12
- export const FILE_PREFIX: string;
13
-
14
- //@private
15
- /**
16
- * Used by various android event listener implementations.
17
- * @private
18
- */
19
- interface Owned {
20
- owner: any;
21
- }
22
- //@endprivate
23
-
24
- /**
25
- * An utility function that invokes garbage collection on the JavaScript side.
26
- */
27
- export function GC();
28
-
29
- /**
30
- * An utility function that queues a garbage collection, multiple calls in quick succession are debounced by default and only one gc will be executed after 900ms.
31
- * @param delay Customize the delay
32
- * @param useThrottle Instead of default debounce strategy, use throttling
33
- */
34
- export function queueGC(delay?: number, useThrottle?: boolean);
35
-
36
- /**
37
- * A simple throttle utility
38
- * @param fn Function to throttle
39
- * @param delay Customize the delay (default is 300ms)
40
- */
41
- export function throttle<T extends Function = any>(fn: T, delay?: number): T;
42
-
43
- /**
44
- * A simple debounce utility
45
- * @param fn Function to debounce
46
- * @param delay Customize the delay (default is 300ms)
47
- */
48
- export function debounce<T extends Function = any>(fn: T, delay?: number, options?: { leading?: boolean }): T;
49
-
50
- /**
51
- * Releases the reference to the wrapped native object
52
- * @param object The Java/Objective-C object to release.
53
- */
54
- export function releaseNativeObject(object: any /*java.lang.Object | NSObject*/);
55
-
56
- /**
57
- * Queues the passed function to be ran in a macroTask
58
- * @param task the function to execute as a macroTask
59
- */
60
- export function queueMacrotask(task: () => void): void;
61
-
62
- /**
63
- * Checks if the current thread is the main thread. Directly calls the passed function
64
- * if it is, or dispatches it to the main thread otherwise.
65
- * @param func The function to execute on the main thread.
66
- */
67
- export function executeOnMainThread(func: Function);
68
-
69
- /**
70
- * Runs the passed function on the UI Thread.
71
- * @param func The function to execute on the UI thread.
72
- */
73
- export function executeOnUIThread(func: Function);
74
-
75
- /**
76
- * Returns a function wrapper which executes the supplied function on the main thread.
77
- * The wrapper behaves like the original function and passes all of its arguments BUT
78
- * discards its return value.
79
- * @param func The function to execute on the main thread
80
- * @returns The wrapper function which schedules execution to the main thread
81
- */
82
- export function mainThreadify(func: Function): (...args: any[]) => void;
83
-
84
- /**
85
- * Returns true if the specified URI is a font icon URI like "fontIcon://&#xf1e0".
86
- * @param uri The URI.
87
- */
88
- export function isFontIconURI(uri: string): boolean;
89
-
90
- /**
91
- * Returns true if the specified path points to a resource or local file.
92
- * @param path The path.
93
- */
94
- export function isFileOrResourcePath(path: string): boolean;
95
-
96
- /**
97
- * Get file extension from file path
98
- * @param path file path
99
- * @returns file extension
100
- */
101
- export function getFileExtension(path: string): string;
102
-
103
- /**
104
- * Returns true if the specified URI is data URI (http://en.wikipedia.org/wiki/Data_URI_scheme).
105
- * @param uri The URI.
106
- */
107
- export function isDataURI(uri: string): boolean;
108
-
109
- /**
110
- * Opens url.
111
- * @param url The url.
112
- */
113
- export function openUrl(url: string): boolean;
114
-
115
- /**
116
- * Opens file.
117
- * @param filePath The file.
118
- * @param title Optional title for Android. Default is: 'Open File...'
119
- */
120
- export function openFile(filePath: string, title?: string): boolean;
121
-
122
- /**
123
- * Escapes special regex symbols (., *, ^, $ and so on) in string in order to create a valid regex from it.
124
- * @param source The original value.
125
- */
126
- export function escapeRegexSymbols(source: string): string;
127
-
128
- /**
129
- * Converts string value to number or boolean.
130
- * @param value The original value.
131
- */
132
- export function convertString(value: any): any;
133
-
134
- /**
135
- * Gets module name from path.
136
- * @param path The module path.
137
- */
138
- export function getModuleName(path: string): string;
139
-
140
- /**
141
- * Sorts an array by using merge sort algorithm (which ensures stable sort since the built-in Array.sort() does not promise a stable sort).
142
- * @param arr - array to be sorted
143
- * @param compareFunc - function that will be used to compare two elements of the array
144
- */
145
- export function mergeSort(arr: Array<any>, compareFunc: (a: any, b: any) => number): Array<any>;
146
-
147
- /**
148
- * Checks if array has any duplicate elements.
149
- * @param arr - The array to be checked.
150
- */
151
- export function hasDuplicates(arr: Array<any>): boolean;
152
-
153
- /**
154
- * Removes duplicate elements from array.
155
- * @param arr - The array.
156
- */
157
- export function eliminateDuplicates(arr: Array<any>): Array<any>;
158
-
159
- /**
160
- * Checks whether the application is running on real device and not on simulator/emulator.
161
- */
162
- export function isRealDevice(): boolean;
163
-
164
- /**
165
- * Hides the soft input method, usually a soft keyboard.
166
- */
167
- export function dismissSoftInput(nativeView?: any): void;
168
-
169
- /**
170
- * Dismiss any keyboard visible on the screen.
171
- */
172
- export function dismissKeyboard(): void;
173
-
174
- /**
175
- * Copy value to device clipboard.
176
- */
177
- export function copyToClipboard(value: string): void;
@@ -1,82 +0,0 @@
1
- import { CoreTypes } from '../../core-types';
2
-
3
- /**
4
- * Utility module related to layout.
5
- */
6
- export namespace layout {
7
- /**
8
- * Bits that provide the actual measured size.
9
- */
10
- export const MEASURED_HEIGHT_STATE_SHIFT: number;
11
- export const MEASURED_SIZE_MASK: number;
12
- export const MEASURED_STATE_MASK: number;
13
- export const MEASURED_STATE_TOO_SMALL: number;
14
- export const UNSPECIFIED: number;
15
- export const EXACTLY: number;
16
- export const AT_MOST: number;
17
-
18
- /**
19
- * Gets layout mode from a given specification as string.
20
- * @param mode - The measure specification mode.
21
- */
22
- export function getMode(mode: number): string;
23
-
24
- /**
25
- * Gets measure specification mode from a given specification.
26
- * @param spec - The measure specification.
27
- */
28
- export function getMeasureSpecMode(spec: number): number;
29
-
30
- /**
31
- * Gets measure specification size from a given specification.
32
- * @param spec - The measure specification.
33
- */
34
- export function getMeasureSpecSize(spec: number): number;
35
-
36
- /**
37
- * Creates measure specification size from size and mode.
38
- * @param size - The size component of measure specification.
39
- * @param mode - The mode component of measure specification.
40
- */
41
- export function makeMeasureSpec(px: number, mode: number): number;
42
-
43
- /**
44
- * Gets display density for the current device.
45
- */
46
- export function getDisplayDensity(): number;
47
-
48
- /**
49
- * Convert device independent pixels to device pixels - dip to px.
50
- * @param value - The pixel to convert.
51
- */
52
- export function toDevicePixels(value: CoreTypes.dip): CoreTypes.px;
53
-
54
- /**
55
- * Convert device pixels to device independent pixels - px to dip.
56
- * @param value - The pixel to convert.
57
- */
58
- export function toDeviceIndependentPixels(value: CoreTypes.px): CoreTypes.dip;
59
-
60
- /**
61
- * Rounds value used in layout.
62
- * @param px to round.
63
- */
64
- export function round(px: CoreTypes.px): CoreTypes.px;
65
-
66
- /**
67
- * Converts device pixels to device independent pixes and measure the nativeView.
68
- * Returns the desired size of the nativeView in device pixels.
69
- * @param nativeView the nativeView to measure (UIView or android.view.View)
70
- * @param width the available width
71
- * @param widthMode width mode - UNSPECIFIED, EXACTLY or AT_MOST
72
- * @param height the available hegiht
73
- * @param heightMode height mode - UNSPECIFIED, EXACTLY or AT_MOST
74
- */
75
- export function measureNativeView(nativeView: any /* UIView or android.view.View */, width: number, widthMode: number, height: number, heightMode: number): { width: number; height: number };
76
-
77
- /**
78
- * Prints user friendly version of the measureSpec.
79
- * @param measureSpec the spec to print
80
- */
81
- export function measureSpecToString(measureSpec: number): string;
82
- }
@@ -1,16 +0,0 @@
1
- /**
2
- * Dispatches the passed function for execution on the main thread
3
- * @param func The function to execute on the main thread.
4
- */
5
- export function dispatchToMainThread(func: Function);
6
-
7
- /**
8
- * @returns Boolean value indicating whether the current thread is the main thread
9
- */
10
- export function isMainThread(): boolean;
11
-
12
- /**
13
- * Dispatches the passed function for execution on the UI thread
14
- * @param func The function to execute on the UI thread.
15
- */
16
- export function dispatchToUIThread(func: Function);
@@ -1,280 +0,0 @@
1
- /**
2
- * Data serialization from JS > Native
3
- * @param wrapPrimitives Optionally wrap primitive types (Some APIs may require this)
4
- */
5
- export function dataSerialize(data?: any, wrapPrimitives?: boolean): any;
6
- /**
7
- * Data deserialization from Native > JS
8
- * @param nativeData Native platform data
9
- */
10
- export function dataDeserialize(nativeData?: any): any;
11
-
12
- // /**
13
- // * Module with android specific utilities.
14
- // */
15
- // declare namespace AndroidUtils {
16
- // /**
17
- // * Gets the native Android application instance.
18
- // */
19
- // export function getApplication(): any; /* android.app.Application */
20
-
21
- // /**
22
- // * Get the current native Android activity.
23
- // */
24
- // export function getCurrentActivity(): any; /* android.app.Activity */
25
- // /**
26
- // * Gets the native Android application resources.
27
- // */
28
- // export function getResources(): any; /* android.content.res.Resources */
29
-
30
- // /**
31
- // * Gets the Android application context.
32
- // */
33
- // export function getApplicationContext(): any; /* android.content.Context */
34
-
35
- // /**
36
- // * Gets the native Android input method manager.
37
- // */
38
- // export function getInputMethodManager(): any; /* android.view.inputmethod.InputMethodManager */
39
-
40
- // /**
41
- // * Hides the soft input method, usually a soft keyboard.
42
- // */
43
- // export function dismissSoftInput(nativeView?: any /* android.view.View */): void;
44
-
45
- // /**
46
- // * Shows the soft input method, usually a soft keyboard.
47
- // */
48
- // export function showSoftInput(nativeView: any /* android.view.View */): void;
49
-
50
- // /**
51
- // * Utility module dealing with some android collections.
52
- // */
53
- // namespace collections {
54
- // /**
55
- // * Converts string array into a String [hash set](http://developer.android.com/reference/java/util/HashSet.html).
56
- // * @param str - An array of strings to convert.
57
- // */
58
- // export function stringArrayToStringSet(str: string[]): any;
59
-
60
- // /**
61
- // * Converts string hash set into array of strings.
62
- // * @param stringSet - A string hash set to convert.
63
- // */
64
- // export function stringSetToStringArray(stringSet: any): string[];
65
- // }
66
-
67
- // /**
68
- // * Utility module related to android resources.
69
- // */
70
- // export namespace resources {
71
- // /**
72
- // * Gets the drawable id from a given name.
73
- // * @param name - Name of the resource.
74
- // */
75
- // export function getDrawableId(name);
76
-
77
- // /**
78
- // * Gets the string id from a given name.
79
- // * @param name - Name of the resource.
80
- // */
81
- // export function getStringId(name);
82
-
83
- // /**
84
- // * Gets the id from a given name.
85
- // * @param name - Name of the resource.
86
- // */
87
- // export function getId(name: string): number;
88
-
89
- // /**
90
- // * Gets the id from a given name with optional type.
91
- // * This sets an explicit package name.
92
- // * https://developer.android.com/reference/android/content/res/Resources#getIdentifier(java.lang.String,%20java.lang.String,%20java.lang.String)
93
- // * @param name - Name of the resource.
94
- // * @param type - (Optional) type
95
- // */
96
- // export function getResource(name: string, type?: string): number;
97
-
98
- // /**
99
- // * [Obsolete - please use getPaletteColor] Gets a color from current theme.
100
- // * @param name - Name of the color
101
- // */
102
- // export function getPalleteColor();
103
-
104
- // /**
105
- // * Gets a color from the current theme.
106
- // * @param name - Name of the color resource.
107
- // */
108
- // export function getPaletteColor(name: string, context: any /* android.content.Context */): number;
109
- // }
110
-
111
- // /**
112
- // * Checks whether the application is running on real device and not on emulator.
113
- // */
114
- // export function isRealDevice(): boolean;
115
- // }
116
-
117
- // /**
118
- // * Module with ios specific utilities.
119
- // */
120
- // declare namespace iOSUtils {
121
- // // Common properties between UILabel, UITextView and UITextField
122
- // export interface TextUIView {
123
- // font: any;
124
- // textAlignment: number;
125
- // textColor: any;
126
- // text: string;
127
- // attributedText: any;
128
- // lineBreakMode: number;
129
- // numberOfLines: number;
130
- // }
131
-
132
- // /**
133
- // * Utility module dealing with some iOS collections.
134
- // */
135
- // export namespace collections {
136
- // /**
137
- // * Converts JavaScript array to [NSArray](https://developer.apple.com/library/ios/documentation/Cocoa/Reference/Foundation/Classes/NSArray_Class/).
138
- // * @param str - JavaScript string array to convert.
139
- // */
140
- // export function jsArrayToNSArray<T>(str: T[]): NSArray<T>;
141
-
142
- // /**
143
- // * Converts NSArray to JavaScript array.
144
- // * @param a - NSArray to convert.
145
- // */
146
- // export function nsArrayToJSArray<T>(a: NSArray<T>): T[];
147
- // }
148
-
149
- // /**
150
- // * Get the root UIViewController of the app
151
- // */
152
- // export function getRootViewController(): any; /* UIViewController */
153
-
154
- // /**
155
- // * Get the UIWindow of the app
156
- // */
157
- // export function getWindow(): any; /* UIWindow */
158
-
159
- // /**
160
- // * Set the window background color of base view of the app.
161
- // * Often this is shown when opening a modal as the view underneath scales down revealing the window color.
162
- // * @param value color (hex, rgb, rgba, etc.)
163
- // */
164
- // export function setWindowBackgroundColor(value: string): void;
165
-
166
- // /**
167
- // * Data serialize and deserialize helpers
168
- // */
169
- // export function dataSerialize(data?: any): any;
170
- // export function dataDeserialize(nativeData?: any): any;
171
-
172
- // /**
173
- // * @deprecated use application.orientation instead
174
- // *
175
- // * Gets an information about if current mode is Landscape.
176
- // */
177
- // export function isLandscape(): boolean;
178
-
179
- // /**
180
- // * Gets the iOS device major version (for 8.1 will return 8).
181
- // */
182
- // export const MajorVersion: number;
183
-
184
- // /**
185
- // * Opens file with associated application.
186
- // * @param filePath The file path.
187
- // */
188
- // export function openFile(filePath: string): boolean;
189
-
190
- // /**
191
- // * Joins an array of file paths.
192
- // * @param paths An array of paths.
193
- // * Returns the joined path.
194
- // */
195
- // export function joinPaths(...paths: string[]): string;
196
-
197
- // /**
198
- // * Gets the root folder for the current application. This Folder is private for the application and not accessible from Users/External apps.
199
- // * iOS - this folder is read-only and contains the app and all its resources.
200
- // */
201
- // export function getCurrentAppPath(): string;
202
-
203
- // /**
204
- // * Gets the currently visible(topmost) UIViewController.
205
- // * @param rootViewController The root UIViewController instance to start searching from (normally window.rootViewController).
206
- // * Returns the visible UIViewController.
207
- // */
208
- // export function getVisibleViewController(rootViewController: any /* UIViewController*/): any; /* UIViewController*/
209
-
210
- // /**
211
- // *
212
- // * @param transform Applies a rotation transform over X,Y and Z axis
213
- // * @param x Rotation over X axis in degrees
214
- // * @param y Rotation over Y axis in degrees
215
- // * @param z Rotation over Z axis in degrees
216
- // */
217
- // export function applyRotateTransform(transform: any /* CATransform3D*/, x: number, y: number, z: number): any; /* CATransform3D*/
218
-
219
- // /**
220
- // * Create a UIDocumentInteractionControllerDelegate implementation for use with UIDocumentInteractionController
221
- // */
222
- // export function createUIDocumentInteractionControllerDelegate(): any;
223
-
224
- // /**
225
- // * Checks whether the application is running on real device and not on simulator.
226
- // */
227
- // export function isRealDevice(): boolean;
228
-
229
- // /**
230
- // * Debug utility to insert CGRect values into logging output.
231
- // * Note: when printing a CGRect directly it will print blank so this helps show the values.
232
- // * @param rect CGRect
233
- // */
234
- // export function printCGRect(rect: CGRect): void;
235
-
236
- // /**
237
- // * Take a snapshot of a View on screen.
238
- // * @param view view to snapshot
239
- // * @param scale screen scale
240
- // */
241
- // export function snapshotView(view: UIView, scale: number): UIImage;
242
-
243
- // /**
244
- // * Copy layer properties from one view to another.
245
- // * @param view a view to copy layer properties to
246
- // * @param toView a view to copy later properties from
247
- // * @param (optional) custom properties to copy between both views
248
- // */
249
- // export function copyLayerProperties(view: UIView, toView: UIView, customProperties?: { view?: Array<string> /* Array<keyof UIView> */; layer?: Array<string> /* Array<keyof CALayer> */ }): void;
250
-
251
- // /**
252
- // * Animate views with a configurable spring effect
253
- // * @param options various animation settings for the spring
254
- // * - tension: number
255
- // * - friction: number
256
- // * - mass: number
257
- // * - delay: number
258
- // * - velocity: number
259
- // * - animateOptions: UIViewAnimationOptions
260
- // * - animations: () => void, Callback containing the property changes you want animated
261
- // * - completion: (finished: boolean) => void, Callback when animation is finished
262
- // */
263
- // export function animateWithSpring(options?: { tension?: number; friction?: number; mass?: number; delay?: number; velocity?: number; animateOptions?: UIViewAnimationOptions; animations?: () => void; completion?: (finished?: boolean) => void });
264
- // }
265
-
266
- import * as AndroidUtils from './android';
267
- export import android = AndroidUtils;
268
-
269
- /**
270
- * @deprecated use Utils.android instead.
271
- */
272
- export import ad = AndroidUtils;
273
-
274
- import * as iOSUtils from './ios';
275
- export import ios = iOSUtils;
276
-
277
- /**
278
- * @deprecated use Utils.ios instead.
279
- */
280
- export import iOSNativeHelper = iOSUtils;
@@ -1,6 +0,0 @@
1
- /**
2
- * Makes the specified properties in a type optional.
3
- * @example type NotifyData = Optional<EventData, "object">
4
- * // returns: { eventName: string; object?: Observable }
5
- */
6
- export type Optional<T, K extends keyof T> = Omit<T, K> & { [P in K]?: T[P] };