@nativescript/core 9.0.0-alpha.21 → 9.0.0-alpha.23

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 (1028) hide show
  1. package/LICENSE +19 -0
  2. package/abortcontroller/abortsignal.d.ts +23 -0
  3. package/abortcontroller/abortsignal.js +57 -0
  4. package/abortcontroller/abortsignal.js.map +1 -0
  5. package/abortcontroller/index.d.ts +20 -0
  6. package/abortcontroller/index.js +52 -0
  7. package/abortcontroller/index.js.map +1 -0
  8. package/accessibility/accessibility-common.d.ts +282 -0
  9. package/accessibility/accessibility-common.js +416 -0
  10. package/accessibility/accessibility-common.js.map +1 -0
  11. package/accessibility/accessibility-properties.d.ts +24 -0
  12. package/accessibility/accessibility-properties.js +118 -0
  13. package/accessibility/accessibility-properties.js.map +1 -0
  14. package/accessibility/index.d.ts +1 -0
  15. package/accessibility/index.js +2 -0
  16. package/accessibility/index.js.map +1 -0
  17. package/animation-frame/animation-native.android.d.ts +1 -0
  18. package/animation-frame/animation-native.android.js +4 -0
  19. package/animation-frame/animation-native.android.js.map +1 -0
  20. package/animation-frame/animation-native.ios.d.ts +1 -0
  21. package/animation-frame/animation-native.ios.js +3 -0
  22. package/animation-frame/animation-native.ios.js.map +1 -0
  23. package/animation-frame/index.js +81 -0
  24. package/animation-frame/index.js.map +1 -0
  25. package/application/application-common.d.ts +228 -0
  26. package/application/application-common.js +525 -0
  27. package/application/application-common.js.map +1 -0
  28. package/application/application-interfaces.d.ts +210 -0
  29. package/application/application-interfaces.js +2 -0
  30. package/application/application-interfaces.js.map +1 -0
  31. package/application/application-shims.d.ts +351 -0
  32. package/application/application-shims.js +353 -0
  33. package/application/application-shims.js.map +1 -0
  34. package/application/application.android.d.ts +71 -0
  35. package/application/application.android.js +1195 -0
  36. package/application/application.android.js.map +1 -0
  37. package/application/application.d.ts +66 -0
  38. package/application/application.ios.d.ts +130 -0
  39. package/application/application.ios.js +1443 -0
  40. package/application/application.ios.js.map +1 -0
  41. package/application/helpers-common.d.ts +50 -0
  42. package/application/helpers-common.js +153 -0
  43. package/application/helpers-common.js.map +1 -0
  44. package/application/helpers.android.d.ts +17 -0
  45. package/application/helpers.android.js +173 -0
  46. package/application/helpers.android.js.map +1 -0
  47. package/application/helpers.ios.d.ts +27 -0
  48. package/application/helpers.ios.js +62 -0
  49. package/application/helpers.ios.js.map +1 -0
  50. package/application/index.android.d.ts +2 -0
  51. package/application/index.android.js +3 -0
  52. package/application/index.android.js.map +1 -0
  53. package/application/index.ios.d.ts +2 -0
  54. package/application/index.ios.js +3 -0
  55. package/application/index.ios.js.map +1 -0
  56. package/application-settings/application-settings-common.d.ts +2 -0
  57. package/application-settings/application-settings-common.js +15 -0
  58. package/application-settings/application-settings-common.js.map +1 -0
  59. package/application-settings/index.android.d.ts +11 -0
  60. package/application-settings/index.android.js +124 -0
  61. package/application-settings/index.android.js.map +1 -0
  62. package/application-settings/index.ios.d.ts +11 -0
  63. package/application-settings/index.ios.js +81 -0
  64. package/application-settings/index.ios.js.map +1 -0
  65. package/bundle-entry-points.d.ts +1 -0
  66. package/bundle-entry-points.js +47 -0
  67. package/bundle-entry-points.js.map +1 -0
  68. package/color/color-common.d.ts +136 -0
  69. package/color/color-common.js +341 -0
  70. package/color/color-common.js.map +1 -0
  71. package/color/color-types.d.ts +49 -0
  72. package/color/color-types.js +3 -0
  73. package/color/color-types.js.map +1 -0
  74. package/color/color-utils.d.ts +38 -0
  75. package/color/color-utils.js +213 -0
  76. package/color/color-utils.js.map +1 -0
  77. package/color/index.android.d.ts +4 -0
  78. package/color/index.android.js +7 -0
  79. package/color/index.android.js.map +1 -0
  80. package/color/index.ios.d.ts +7 -0
  81. package/color/index.ios.js +19 -0
  82. package/color/index.ios.js.map +1 -0
  83. package/color/known-colors.d.ts +144 -0
  84. package/color/known-colors.js +165 -0
  85. package/color/known-colors.js.map +1 -0
  86. package/config/config.interface.d.ts +254 -0
  87. package/config/config.interface.js +2 -0
  88. package/config/config.interface.js.map +1 -0
  89. package/config/index.d.ts +1 -0
  90. package/config/index.js +2 -0
  91. package/config/index.js.map +1 -0
  92. package/connectivity/index.android.d.ts +11 -0
  93. package/connectivity/index.android.js +157 -0
  94. package/connectivity/index.android.js.map +1 -0
  95. package/connectivity/index.ios.d.ts +11 -0
  96. package/connectivity/index.ios.js +132 -0
  97. package/connectivity/index.ios.js.map +1 -0
  98. package/console/index.d.ts +14 -0
  99. package/console/index.js +33 -0
  100. package/console/index.js.map +1 -0
  101. package/core-types/animation-types.d.ts +11 -0
  102. package/core-types/animation-types.js +13 -0
  103. package/core-types/animation-types.js.map +1 -0
  104. package/core-types/index.d.ts +331 -0
  105. package/core-types/index.js +281 -0
  106. package/core-types/index.js.map +1 -0
  107. package/core-types/validators.d.ts +2 -0
  108. package/core-types/validators.js +18 -0
  109. package/core-types/validators.js.map +1 -0
  110. package/css/CSS3Parser.d.ts +184 -0
  111. package/css/CSS3Parser.js +534 -0
  112. package/css/CSS3Parser.js.map +1 -0
  113. package/css/CSSNativeScript.d.ts +14 -0
  114. package/css/CSSNativeScript.js +113 -0
  115. package/css/CSSNativeScript.js.map +1 -0
  116. package/css/css-tree-parser.d.ts +1 -0
  117. package/css/css-tree-parser.js +133 -0
  118. package/css/css-tree-parser.js.map +1 -0
  119. package/css/lib/parse/index.d.ts +1 -0
  120. package/css/lib/parse/index.js +500 -0
  121. package/css/lib/parse/index.js.map +1 -0
  122. package/css/parser.d.ts +70 -0
  123. package/css/parser.js +517 -0
  124. package/css/parser.js.map +1 -0
  125. package/css/reworkcss.d.ts +44 -0
  126. package/css/reworkcss.js +5 -0
  127. package/css/reworkcss.js.map +1 -0
  128. package/css/system-classes.d.ts +12 -0
  129. package/css/system-classes.js +47 -0
  130. package/css/system-classes.js.map +1 -0
  131. package/css-mediaquery/index.d.ts +27 -0
  132. package/css-mediaquery/index.js +118 -0
  133. package/css-mediaquery/index.js.map +1 -0
  134. package/css-value/reworkcss-value.d.ts +31 -0
  135. package/css-value/reworkcss-value.js +91 -0
  136. package/css-value/reworkcss-value.js.map +1 -0
  137. package/data/observable/index.d.ts +212 -0
  138. package/data/observable/index.js +440 -0
  139. package/data/observable/index.js.map +1 -0
  140. package/data/observable-array/index.d.ts +215 -0
  141. package/data/observable-array/index.js +325 -0
  142. package/data/observable-array/index.js.map +1 -0
  143. package/data/virtual-array/index.d.ts +72 -0
  144. package/data/virtual-array/index.js +133 -0
  145. package/data/virtual-array/index.js.map +1 -0
  146. package/debugger/InspectorBackendCommands.d.ts +1056 -0
  147. package/debugger/InspectorBackendCommands.js +578 -0
  148. package/debugger/InspectorBackendCommands.js.map +1 -0
  149. package/debugger/devtools-elements-interfaces.d.ts +16 -0
  150. package/debugger/devtools-elements-interfaces.js +2 -0
  151. package/debugger/devtools-elements-interfaces.js.map +1 -0
  152. package/debugger/devtools-elements.common.d.ts +7 -0
  153. package/debugger/devtools-elements.common.js +93 -0
  154. package/debugger/devtools-elements.common.js.map +1 -0
  155. package/debugger/devtools-elements.js +20 -0
  156. package/debugger/devtools-elements.js.map +1 -0
  157. package/debugger/dom-types.d.ts +24 -0
  158. package/debugger/dom-types.js +152 -0
  159. package/debugger/dom-types.js.map +1 -0
  160. package/debugger/index.d.ts +87 -0
  161. package/debugger/index.js +118 -0
  162. package/debugger/index.js.map +1 -0
  163. package/debugger/webinspector-css.d.ts +34 -0
  164. package/debugger/webinspector-css.js +72 -0
  165. package/debugger/webinspector-css.js.map +1 -0
  166. package/debugger/webinspector-dom.d.ts +33 -0
  167. package/debugger/webinspector-dom.js +75 -0
  168. package/debugger/webinspector-dom.js.map +1 -0
  169. package/debugger/webinspector-network.android.d.ts +79 -0
  170. package/debugger/webinspector-network.android.js +208 -0
  171. package/debugger/webinspector-network.android.js.map +1 -0
  172. package/debugger/webinspector-network.ios.d.ts +79 -0
  173. package/debugger/webinspector-network.ios.js +204 -0
  174. package/debugger/webinspector-network.ios.js.map +1 -0
  175. package/fetch/index.d.ts +72 -0
  176. package/fetch/index.js +529 -0
  177. package/fetch/index.js.map +1 -0
  178. package/file-system/file-system-access.android.d.ts +151 -0
  179. package/file-system/file-system-access.android.js +1162 -0
  180. package/file-system/file-system-access.android.js.map +1 -0
  181. package/file-system/file-system-access.ios.d.ts +85 -0
  182. package/file-system/file-system-access.ios.js +622 -0
  183. package/file-system/file-system-access.ios.js.map +1 -0
  184. package/file-system/index.js +873 -0
  185. package/file-system/index.js.map +1 -0
  186. package/fps-meter/fps-native.android.d.ts +11 -0
  187. package/fps-meter/fps-native.android.js +62 -0
  188. package/fps-meter/fps-native.android.js.map +1 -0
  189. package/fps-meter/fps-native.ios.d.ts +10 -0
  190. package/fps-meter/fps-native.ios.js +56 -0
  191. package/fps-meter/fps-native.ios.js.map +1 -0
  192. package/fps-meter/index.js +77 -0
  193. package/fps-meter/index.js.map +1 -0
  194. package/globals/global-utils.d.ts +27 -0
  195. package/globals/global-utils.js +67 -0
  196. package/globals/global-utils.js.map +1 -0
  197. package/globals/index.d.ts +3 -0
  198. package/globals/index.js +313 -0
  199. package/globals/index.js.map +1 -0
  200. package/http/http-interfaces.d.ts +84 -0
  201. package/http/http-interfaces.js +6 -0
  202. package/http/http-interfaces.js.map +1 -0
  203. package/http/http-request/http-request-common.d.ts +1 -0
  204. package/http/http-request/http-request-common.js +15 -0
  205. package/http/http-request/http-request-common.js.map +1 -0
  206. package/http/http-request/index.android.d.ts +3 -0
  207. package/http/http-request/index.android.js +274 -0
  208. package/http/http-request/index.android.js.map +1 -0
  209. package/http/http-request/index.ios.d.ts +3 -0
  210. package/http/http-request/index.ios.js +221 -0
  211. package/http/http-request/index.ios.js.map +1 -0
  212. package/http/http-shared.d.ts +5 -0
  213. package/http/http-shared.js +14 -0
  214. package/http/http-shared.js.map +1 -0
  215. package/http/index.js +72 -0
  216. package/http/index.js.map +1 -0
  217. package/image-asset/image-asset-common.d.ts +25 -0
  218. package/image-asset/image-asset-common.js +74 -0
  219. package/image-asset/image-asset-common.js.map +1 -0
  220. package/image-asset/index.android.d.ts +9 -0
  221. package/image-asset/index.android.js +33 -0
  222. package/image-asset/index.android.js.map +1 -0
  223. package/image-asset/index.ios.d.ts +10 -0
  224. package/image-asset/index.ios.js +57 -0
  225. package/image-asset/index.ios.js.map +1 -0
  226. package/image-source/image-source-common.d.ts +4 -0
  227. package/image-source/image-source-common.js +21 -0
  228. package/image-source/image-source-common.js.map +1 -0
  229. package/image-source/index.android.d.ts +58 -0
  230. package/image-source/index.android.js +371 -0
  231. package/image-source/index.android.js.map +1 -0
  232. package/image-source/index.ios.d.ts +59 -0
  233. package/image-source/index.ios.js +454 -0
  234. package/image-source/index.ios.js.map +1 -0
  235. package/index.js +39 -0
  236. package/index.js.map +1 -0
  237. package/inspector_modules.d.ts +7 -0
  238. package/inspector_modules.js +166 -0
  239. package/inspector_modules.js.map +1 -0
  240. package/matrix/index.js +45 -0
  241. package/matrix/index.js.map +1 -0
  242. package/media-query-list/index.d.ts +21 -0
  243. package/media-query-list/index.js +159 -0
  244. package/media-query-list/index.js.map +1 -0
  245. package/module-name-resolver/helpers.d.ts +14 -0
  246. package/module-name-resolver/helpers.js +27 -0
  247. package/module-name-resolver/helpers.js.map +1 -0
  248. package/module-name-resolver/index.d.ts +14 -0
  249. package/module-name-resolver/index.js +67 -0
  250. package/module-name-resolver/index.js.map +1 -0
  251. package/module-name-resolver/non-bundle-workflow-compat.d.ts +6 -0
  252. package/module-name-resolver/non-bundle-workflow-compat.js +128 -0
  253. package/module-name-resolver/non-bundle-workflow-compat.js.map +1 -0
  254. package/module-name-resolver/qualifier-matcher/index.d.ts +11 -0
  255. package/module-name-resolver/qualifier-matcher/index.js +141 -0
  256. package/module-name-resolver/qualifier-matcher/index.js.map +1 -0
  257. package/package.json +86 -86
  258. package/platform/common.d.ts +10 -0
  259. package/platform/common.js +14 -0
  260. package/platform/common.js.map +1 -0
  261. package/platform/device/index.android.d.ts +20 -0
  262. package/platform/device/index.android.js +78 -0
  263. package/platform/device/index.android.js.map +1 -0
  264. package/platform/device/index.ios.d.ts +19 -0
  265. package/platform/device/index.ios.js +69 -0
  266. package/platform/device/index.ios.js.map +1 -0
  267. package/platform/index.js +4 -0
  268. package/platform/index.js.map +1 -0
  269. package/platform/screen/index.android.d.ts +16 -0
  270. package/platform/screen/index.android.js +41 -0
  271. package/platform/screen/index.android.js.map +1 -0
  272. package/platform/screen/index.ios.d.ts +15 -0
  273. package/platform/screen/index.ios.js +35 -0
  274. package/platform/screen/index.ios.js.map +1 -0
  275. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Headers/NSCCrypto.h +79 -0
  276. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Headers/NSCWinterTC.h +20 -0
  277. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Headers/NSString+WinterTC.h +21 -0
  278. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Modules/module.modulemap +6 -0
  279. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Resources/Info.plist +52 -0
  280. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/Current/Headers/NSCCrypto.h +79 -0
  281. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/Current/Headers/NSCWinterTC.h +20 -0
  282. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/Current/Headers/NSString+WinterTC.h +21 -0
  283. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/Current/Modules/module.modulemap +6 -0
  284. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/Current/NSCWinterTC +0 -0
  285. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/Current/Resources/Info.plist +52 -0
  286. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSCCrypto.h +60 -0
  287. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSData+Async.h +24 -0
  288. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSFileHandle+Async.h +22 -0
  289. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSString+Async.h +25 -0
  290. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/TNSLabel.h +16 -0
  291. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/TNSProcess.h +29 -0
  292. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/TNSWidgets.h +25 -0
  293. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +26 -0
  294. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +17 -0
  295. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Modules/module.modulemap +6 -0
  296. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +17 -0
  297. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +18 -0
  298. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Resources/Info.plist +52 -0
  299. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Headers/NSCCrypto.h +60 -0
  300. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Headers/NSData+Async.h +24 -0
  301. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Headers/NSFileHandle+Async.h +22 -0
  302. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Headers/NSString+Async.h +25 -0
  303. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Headers/TNSLabel.h +16 -0
  304. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Headers/TNSProcess.h +29 -0
  305. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Headers/TNSWidgets.h +25 -0
  306. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Headers/UIImage+TNSBlocks.h +26 -0
  307. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Headers/UIView+PassThroughParent.h +17 -0
  308. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Modules/module.modulemap +6 -0
  309. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/PrivateHeaders/NSObject+Swizzling.h +17 -0
  310. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/PrivateHeaders/UIView+PropertyBag.h +18 -0
  311. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Resources/Info.plist +52 -0
  312. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/TNSWidgets +0 -0
  313. package/profiling/index.js +273 -0
  314. package/profiling/index.js.map +1 -0
  315. package/text/formatted-string.js +2 -0
  316. package/text/formatted-string.js.map +1 -0
  317. package/text/index.android.d.ts +9 -0
  318. package/text/index.android.js +11 -0
  319. package/text/index.android.js.map +1 -0
  320. package/text/index.ios.d.ts +9 -0
  321. package/text/index.ios.js +11 -0
  322. package/text/index.ios.js.map +1 -0
  323. package/text/span.js +2 -0
  324. package/text/span.js.map +1 -0
  325. package/text/text-common.d.ts +12 -0
  326. package/text/text-common.js +111 -0
  327. package/text/text-common.js.map +1 -0
  328. package/timer/index.android.d.ts +4 -0
  329. package/timer/index.android.js +83 -0
  330. package/timer/index.android.js.map +1 -0
  331. package/timer/index.ios.d.ts +4 -0
  332. package/timer/index.ios.js +68 -0
  333. package/timer/index.ios.js.map +1 -0
  334. package/trace/index.js +255 -0
  335. package/trace/index.js.map +1 -0
  336. package/ui/action-bar/action-bar-common.d.ts +85 -0
  337. package/ui/action-bar/action-bar-common.js +381 -0
  338. package/ui/action-bar/action-bar-common.js.map +1 -0
  339. package/ui/action-bar/index.android.d.ts +55 -0
  340. package/ui/action-bar/index.android.js +504 -0
  341. package/ui/action-bar/index.android.js.map +1 -0
  342. package/ui/action-bar/index.ios.d.ts +64 -0
  343. package/ui/action-bar/index.ios.js +616 -0
  344. package/ui/action-bar/index.ios.js.map +1 -0
  345. package/ui/activity-indicator/activity-indicator-common.d.ts +9 -0
  346. package/ui/activity-indicator/activity-indicator-common.js +22 -0
  347. package/ui/activity-indicator/activity-indicator-common.js.map +1 -0
  348. package/ui/activity-indicator/index.android.d.ts +15 -0
  349. package/ui/activity-indicator/index.android.js +54 -0
  350. package/ui/activity-indicator/index.android.js.map +1 -0
  351. package/ui/activity-indicator/index.ios.d.ts +16 -0
  352. package/ui/activity-indicator/index.ios.js +54 -0
  353. package/ui/activity-indicator/index.ios.js.map +1 -0
  354. package/ui/animation/animation-common.d.ts +30 -0
  355. package/ui/animation/animation-common.js +239 -0
  356. package/ui/animation/animation-common.js.map +1 -0
  357. package/ui/animation/animation-shared.d.ts +84 -0
  358. package/ui/animation/animation-shared.js +4 -0
  359. package/ui/animation/animation-shared.js.map +1 -0
  360. package/ui/animation/animation-types.d.ts +1 -0
  361. package/ui/animation/animation-types.js +3 -0
  362. package/ui/animation/animation-types.js.map +1 -0
  363. package/ui/animation/index.android.d.ts +23 -0
  364. package/ui/animation/index.android.js +432 -0
  365. package/ui/animation/index.android.js.map +1 -0
  366. package/ui/animation/index.ios.d.ts +28 -0
  367. package/ui/animation/index.ios.js +809 -0
  368. package/ui/animation/index.ios.js.map +1 -0
  369. package/ui/animation/keyframe-animation.d.ts +76 -0
  370. package/ui/animation/keyframe-animation.js +238 -0
  371. package/ui/animation/keyframe-animation.js.map +1 -0
  372. package/ui/builder/binding-builder.d.ts +13 -0
  373. package/ui/builder/binding-builder.js +171 -0
  374. package/ui/builder/binding-builder.js.map +1 -0
  375. package/ui/builder/component-builder/index.d.ts +7 -0
  376. package/ui/builder/component-builder/index.js +219 -0
  377. package/ui/builder/component-builder/index.js.map +1 -0
  378. package/ui/builder/index.d.ts +193 -0
  379. package/ui/builder/index.js +643 -0
  380. package/ui/builder/index.js.map +1 -0
  381. package/ui/button/button-common.d.ts +9 -0
  382. package/ui/button/button-common.js +26 -0
  383. package/ui/button/button-common.js.map +1 -0
  384. package/ui/button/index.android.d.ts +29 -0
  385. package/ui/button/index.android.js +168 -0
  386. package/ui/button/index.android.js.map +1 -0
  387. package/ui/button/index.ios.d.ts +36 -0
  388. package/ui/button/index.ios.js +298 -0
  389. package/ui/button/index.ios.js.map +1 -0
  390. package/ui/content-view/index.js +87 -0
  391. package/ui/content-view/index.js.map +1 -0
  392. package/ui/core/bindable/bindable-expressions.d.ts +7 -0
  393. package/ui/core/bindable/bindable-expressions.js +255 -0
  394. package/ui/core/bindable/bindable-expressions.js.map +1 -0
  395. package/ui/core/bindable/bindable-resources.d.ts +2 -0
  396. package/ui/core/bindable/bindable-resources.js +8 -0
  397. package/ui/core/bindable/bindable-resources.js.map +1 -0
  398. package/ui/core/bindable/bindable-types.d.ts +37 -0
  399. package/ui/core/bindable/bindable-types.js +3 -0
  400. package/ui/core/bindable/bindable-types.js.map +1 -0
  401. package/ui/core/bindable/index.d.ts +53 -0
  402. package/ui/core/bindable/index.js +555 -0
  403. package/ui/core/bindable/index.js.map +1 -0
  404. package/ui/core/control-state-change/index.android.d.ts +6 -0
  405. package/ui/core/control-state-change/index.android.js +8 -0
  406. package/ui/core/control-state-change/index.android.js.map +1 -0
  407. package/ui/core/control-state-change/index.ios.d.ts +10 -0
  408. package/ui/core/control-state-change/index.ios.js +43 -0
  409. package/ui/core/control-state-change/index.ios.js.map +1 -0
  410. package/ui/core/properties/index.d.ts +114 -0
  411. package/ui/core/properties/index.js +1290 -0
  412. package/ui/core/properties/index.js.map +1 -0
  413. package/ui/core/properties/property-shared.d.ts +35 -0
  414. package/ui/core/properties/property-shared.js +16 -0
  415. package/ui/core/properties/property-shared.js.map +1 -0
  416. package/ui/core/view/index.android.d.ts +144 -0
  417. package/ui/core/view/index.android.js +1696 -0
  418. package/ui/core/view/index.android.js.map +1 -0
  419. package/ui/core/view/index.ios.d.ts +142 -0
  420. package/ui/core/view/index.ios.js +1030 -0
  421. package/ui/core/view/index.ios.js.map +1 -0
  422. package/ui/core/view/view-common.d.ts +315 -0
  423. package/ui/core/view/view-common.js +1119 -0
  424. package/ui/core/view/view-common.js.map +1 -0
  425. package/ui/core/view/view-helper/index.android.d.ts +9 -0
  426. package/ui/core/view/view-helper/index.android.js +56 -0
  427. package/ui/core/view/view-helper/index.android.js.map +1 -0
  428. package/ui/core/view/view-helper/index.ios.d.ts +64 -0
  429. package/ui/core/view/view-helper/index.ios.js +363 -0
  430. package/ui/core/view/view-helper/index.ios.js.map +1 -0
  431. package/ui/core/view/view-helper/view-helper-common.d.ts +11 -0
  432. package/ui/core/view/view-helper/view-helper-common.js +159 -0
  433. package/ui/core/view/view-helper/view-helper-common.js.map +1 -0
  434. package/ui/core/view/view-helper/view-helper-shared.d.ts +5 -0
  435. package/ui/core/view/view-helper/view-helper-shared.js +6 -0
  436. package/ui/core/view/view-helper/view-helper-shared.js.map +1 -0
  437. package/ui/core/view/view-interfaces.d.ts +73 -0
  438. package/ui/core/view/view-interfaces.js +2 -0
  439. package/ui/core/view/view-interfaces.js.map +1 -0
  440. package/ui/core/view-base/index.d.ts +593 -0
  441. package/ui/core/view-base/index.js +1150 -0
  442. package/ui/core/view-base/index.js.map +1 -0
  443. package/ui/core/view-base/utils.d.ts +1 -0
  444. package/ui/core/view-base/utils.js +9 -0
  445. package/ui/core/view-base/utils.js.map +1 -0
  446. package/ui/core/weak-event-listener/index.js +123 -0
  447. package/ui/core/weak-event-listener/index.js.map +1 -0
  448. package/ui/date-picker/date-picker-common.d.ts +28 -0
  449. package/ui/date-picker/date-picker-common.js +82 -0
  450. package/ui/date-picker/date-picker-common.js.map +1 -0
  451. package/ui/date-picker/index.android.d.ts +19 -0
  452. package/ui/date-picker/index.android.js +133 -0
  453. package/ui/date-picker/index.android.js.map +1 -0
  454. package/ui/date-picker/index.ios.d.ts +27 -0
  455. package/ui/date-picker/index.ios.js +165 -0
  456. package/ui/date-picker/index.ios.js.map +1 -0
  457. package/ui/dialogs/dialogs-common.d.ts +211 -0
  458. package/ui/dialogs/dialogs-common.js +167 -0
  459. package/ui/dialogs/dialogs-common.js.map +1 -0
  460. package/ui/dialogs/index.android.d.ts +20 -0
  461. package/ui/dialogs/index.android.js +330 -0
  462. package/ui/dialogs/index.android.js.map +1 -0
  463. package/ui/dialogs/index.ios.d.ts +17 -0
  464. package/ui/dialogs/index.ios.js +293 -0
  465. package/ui/dialogs/index.ios.js.map +1 -0
  466. package/ui/editable-text-base/editable-text-base-common.d.ts +36 -0
  467. package/ui/editable-text-base/editable-text-base-common.js +91 -0
  468. package/ui/editable-text-base/editable-text-base-common.js.map +1 -0
  469. package/ui/editable-text-base/index.android.d.ts +48 -0
  470. package/ui/editable-text-base/index.android.js +499 -0
  471. package/ui/editable-text-base/index.android.js.map +1 -0
  472. package/ui/editable-text-base/index.ios.d.ts +20 -0
  473. package/ui/editable-text-base/index.ios.js +255 -0
  474. package/ui/editable-text-base/index.ios.js.map +1 -0
  475. package/ui/embedding/index.android.d.ts +4 -0
  476. package/ui/embedding/index.android.js +14 -0
  477. package/ui/embedding/index.android.js.map +1 -0
  478. package/ui/embedding/index.ios.d.ts +1 -0
  479. package/ui/embedding/index.ios.js +4 -0
  480. package/ui/embedding/index.ios.js.map +1 -0
  481. package/ui/enums/enums.js +6 -0
  482. package/ui/enums/enums.js.map +1 -0
  483. package/ui/enums/index.js +6 -0
  484. package/ui/enums/index.js.map +1 -0
  485. package/ui/frame/activity.android.d.ts +1 -0
  486. package/ui/frame/activity.android.js +113 -0
  487. package/ui/frame/activity.android.js.map +1 -0
  488. package/ui/frame/fragment.android.d.ts +3 -0
  489. package/ui/frame/fragment.android.js +90 -0
  490. package/ui/frame/fragment.android.js.map +1 -0
  491. package/ui/frame/fragment.ios.d.ts +3 -0
  492. package/ui/frame/fragment.ios.js +4 -0
  493. package/ui/frame/fragment.ios.js.map +1 -0
  494. package/ui/frame/fragment.transitions.android.d.ts +39 -0
  495. package/ui/frame/fragment.transitions.android.js +680 -0
  496. package/ui/frame/fragment.transitions.android.js.map +1 -0
  497. package/ui/frame/fragment.transitions.types.d.ts +6 -0
  498. package/ui/frame/fragment.transitions.types.js +2 -0
  499. package/ui/frame/fragment.transitions.types.js.map +1 -0
  500. package/ui/frame/frame-common.d.ts +101 -0
  501. package/ui/frame/frame-common.js +688 -0
  502. package/ui/frame/frame-common.js.map +1 -0
  503. package/ui/frame/frame-helper-for-android.d.ts +37 -0
  504. package/ui/frame/frame-helper-for-android.js +337 -0
  505. package/ui/frame/frame-helper-for-android.js.map +1 -0
  506. package/ui/frame/frame-helpers.d.ts +16 -0
  507. package/ui/frame/frame-helpers.js +19 -0
  508. package/ui/frame/frame-helpers.js.map +1 -0
  509. package/ui/frame/frame-interfaces.d.ts +130 -0
  510. package/ui/frame/frame-interfaces.js +7 -0
  511. package/ui/frame/frame-interfaces.js.map +1 -0
  512. package/ui/frame/frame-stack.d.ts +7 -0
  513. package/ui/frame/frame-stack.js +41 -0
  514. package/ui/frame/frame-stack.js.map +1 -0
  515. package/ui/frame/index.android.d.ts +93 -0
  516. package/ui/frame/index.android.js +919 -0
  517. package/ui/frame/index.android.js.map +1 -0
  518. package/ui/frame/index.ios.d.ts +57 -0
  519. package/ui/frame/index.ios.js +676 -0
  520. package/ui/frame/index.ios.js.map +1 -0
  521. package/ui/gestures/gestures-common.d.ts +32 -0
  522. package/ui/gestures/gestures-common.js +78 -0
  523. package/ui/gestures/gestures-common.js.map +1 -0
  524. package/ui/gestures/gestures-types.d.ts +108 -0
  525. package/ui/gestures/gestures-types.js +40 -0
  526. package/ui/gestures/gestures-types.js.map +1 -0
  527. package/ui/gestures/index.android.d.ts +49 -0
  528. package/ui/gestures/index.android.js +597 -0
  529. package/ui/gestures/index.android.js.map +1 -0
  530. package/ui/gestures/index.ios.d.ts +70 -0
  531. package/ui/gestures/index.ios.js +512 -0
  532. package/ui/gestures/index.ios.js.map +1 -0
  533. package/ui/gestures/touch-manager.d.ts +82 -0
  534. package/ui/gestures/touch-manager.js +268 -0
  535. package/ui/gestures/touch-manager.js.map +1 -0
  536. package/ui/html-view/html-view-common.d.ts +12 -0
  537. package/ui/html-view/html-view-common.js +31 -0
  538. package/ui/html-view/html-view-common.js.map +1 -0
  539. package/ui/html-view/index.android.d.ts +27 -0
  540. package/ui/html-view/index.android.js +90 -0
  541. package/ui/html-view/index.android.js.map +1 -0
  542. package/ui/html-view/index.ios.d.ts +22 -0
  543. package/ui/html-view/index.ios.js +101 -0
  544. package/ui/html-view/index.ios.js.map +1 -0
  545. package/ui/image/image-common.d.ts +45 -0
  546. package/ui/image/image-common.js +195 -0
  547. package/ui/image/image-common.js.map +1 -0
  548. package/ui/image/index.android.d.ts +23 -0
  549. package/ui/image/index.android.js +173 -0
  550. package/ui/image/index.android.js.map +1 -0
  551. package/ui/image/index.ios.d.ts +26 -0
  552. package/ui/image/index.ios.js +186 -0
  553. package/ui/image/index.ios.js.map +1 -0
  554. package/ui/image/symbol-effects-common.d.ts +36 -0
  555. package/ui/image/symbol-effects-common.js +35 -0
  556. package/ui/image/symbol-effects-common.js.map +1 -0
  557. package/ui/image/symbol-effects.android.d.ts +5 -0
  558. package/ui/image/symbol-effects.android.js +8 -0
  559. package/ui/image/symbol-effects.android.js.map +1 -0
  560. package/ui/image/symbol-effects.ios.d.ts +6 -0
  561. package/ui/image/symbol-effects.ios.js +79 -0
  562. package/ui/image/symbol-effects.ios.js.map +1 -0
  563. package/ui/image-cache/image-cache-common.d.ts +40 -0
  564. package/ui/image-cache/image-cache-common.js +176 -0
  565. package/ui/image-cache/image-cache-common.js.map +1 -0
  566. package/ui/image-cache/index.android.d.ts +11 -0
  567. package/ui/image-cache/index.android.js +76 -0
  568. package/ui/image-cache/index.android.js.map +1 -0
  569. package/ui/image-cache/index.ios.d.ts +11 -0
  570. package/ui/image-cache/index.ios.js +78 -0
  571. package/ui/image-cache/index.ios.js.map +1 -0
  572. package/ui/index.d.ts +90 -0
  573. package/ui/index.js +79 -0
  574. package/ui/index.js.map +1 -0
  575. package/ui/label/index.android.d.ts +13 -0
  576. package/ui/label/index.android.js +44 -0
  577. package/ui/label/index.android.js.map +1 -0
  578. package/ui/label/index.ios.d.ts +30 -0
  579. package/ui/label/index.ios.js +224 -0
  580. package/ui/label/index.ios.js.map +1 -0
  581. package/ui/layouts/absolute-layout/absolute-layout-common.d.ts +16 -0
  582. package/ui/layouts/absolute-layout/absolute-layout-common.js +72 -0
  583. package/ui/layouts/absolute-layout/absolute-layout-common.js.map +1 -0
  584. package/ui/layouts/absolute-layout/index.android.d.ts +6 -0
  585. package/ui/layouts/absolute-layout/index.android.js +26 -0
  586. package/ui/layouts/absolute-layout/index.android.js.map +1 -0
  587. package/ui/layouts/absolute-layout/index.ios.d.ts +10 -0
  588. package/ui/layouts/absolute-layout/index.ios.js +48 -0
  589. package/ui/layouts/absolute-layout/index.ios.js.map +1 -0
  590. package/ui/layouts/dock-layout/dock-layout-common.d.ts +14 -0
  591. package/ui/layouts/dock-layout/dock-layout-common.js +51 -0
  592. package/ui/layouts/dock-layout/dock-layout-common.js.map +1 -0
  593. package/ui/layouts/dock-layout/index.android.d.ts +8 -0
  594. package/ui/layouts/dock-layout/index.android.js +38 -0
  595. package/ui/layouts/dock-layout/index.android.js.map +1 -0
  596. package/ui/layouts/dock-layout/index.ios.d.ts +8 -0
  597. package/ui/layouts/dock-layout/index.ios.js +115 -0
  598. package/ui/layouts/dock-layout/index.ios.js.map +1 -0
  599. package/ui/layouts/flexbox-layout/flexbox-layout-common.d.ts +126 -0
  600. package/ui/layouts/flexbox-layout/flexbox-layout-common.js +403 -0
  601. package/ui/layouts/flexbox-layout/flexbox-layout-common.js.map +1 -0
  602. package/ui/layouts/flexbox-layout/index.android.d.ts +23 -0
  603. package/ui/layouts/flexbox-layout/index.android.js +152 -0
  604. package/ui/layouts/flexbox-layout/index.android.js.map +1 -0
  605. package/ui/layouts/flexbox-layout/index.ios.d.ts +44 -0
  606. package/ui/layouts/flexbox-layout/index.ios.js +1244 -0
  607. package/ui/layouts/flexbox-layout/index.ios.js.map +1 -0
  608. package/ui/layouts/grid-layout/grid-layout-common.d.ts +72 -0
  609. package/ui/layouts/grid-layout/grid-layout-common.js +358 -0
  610. package/ui/layouts/grid-layout/grid-layout-common.js.map +1 -0
  611. package/ui/layouts/grid-layout/index.android.d.ts +23 -0
  612. package/ui/layouts/grid-layout/index.android.js +122 -0
  613. package/ui/layouts/grid-layout/index.android.js.map +1 -0
  614. package/ui/layouts/grid-layout/index.ios.d.ts +28 -0
  615. package/ui/layouts/grid-layout/index.ios.js +778 -0
  616. package/ui/layouts/grid-layout/index.ios.js.map +1 -0
  617. package/ui/layouts/index.d.ts +10 -0
  618. package/ui/layouts/index.js +9 -0
  619. package/ui/layouts/index.js.map +1 -0
  620. package/ui/layouts/layout-base-common.d.ts +36 -0
  621. package/ui/layouts/layout-base-common.js +141 -0
  622. package/ui/layouts/layout-base-common.js.map +1 -0
  623. package/ui/layouts/layout-base.android.d.ts +17 -0
  624. package/ui/layouts/layout-base.android.js +50 -0
  625. package/ui/layouts/layout-base.android.js.map +1 -0
  626. package/ui/layouts/layout-base.ios.d.ts +13 -0
  627. package/ui/layouts/layout-base.ios.js +40 -0
  628. package/ui/layouts/layout-base.ios.js.map +1 -0
  629. package/ui/layouts/root-layout/index.android.d.ts +15 -0
  630. package/ui/layouts/root-layout/index.android.js +126 -0
  631. package/ui/layouts/root-layout/index.android.js.map +1 -0
  632. package/ui/layouts/root-layout/index.ios.d.ts +17 -0
  633. package/ui/layouts/root-layout/index.ios.js +101 -0
  634. package/ui/layouts/root-layout/index.ios.js.map +1 -0
  635. package/ui/layouts/root-layout/root-layout-common.d.ts +61 -0
  636. package/ui/layouts/root-layout/root-layout-common.js +422 -0
  637. package/ui/layouts/root-layout/root-layout-common.js.map +1 -0
  638. package/ui/layouts/root-layout/root-layout-stack.d.ts +5 -0
  639. package/ui/layouts/root-layout/root-layout-stack.js +19 -0
  640. package/ui/layouts/root-layout/root-layout-stack.js.map +1 -0
  641. package/ui/layouts/stack-layout/index.android.d.ts +7 -0
  642. package/ui/layouts/stack-layout/index.android.js +11 -0
  643. package/ui/layouts/stack-layout/index.android.js.map +1 -0
  644. package/ui/layouts/stack-layout/index.ios.d.ts +10 -0
  645. package/ui/layouts/stack-layout/index.ios.js +149 -0
  646. package/ui/layouts/stack-layout/index.ios.js.map +1 -0
  647. package/ui/layouts/stack-layout/stack-layout-common.d.ts +8 -0
  648. package/ui/layouts/stack-layout/stack-layout-common.js +19 -0
  649. package/ui/layouts/stack-layout/stack-layout-common.js.map +1 -0
  650. package/ui/layouts/wrap-layout/index.android.d.ts +10 -0
  651. package/ui/layouts/wrap-layout/index.android.js +18 -0
  652. package/ui/layouts/wrap-layout/index.android.js.map +1 -0
  653. package/ui/layouts/wrap-layout/index.ios.d.ts +8 -0
  654. package/ui/layouts/wrap-layout/index.ios.js +170 -0
  655. package/ui/layouts/wrap-layout/index.ios.js.map +1 -0
  656. package/ui/layouts/wrap-layout/wrap-layout-common.d.ts +15 -0
  657. package/ui/layouts/wrap-layout/wrap-layout-common.js +40 -0
  658. package/ui/layouts/wrap-layout/wrap-layout-common.js.map +1 -0
  659. package/ui/list-picker/index.android.d.ts +18 -0
  660. package/ui/list-picker/index.android.js +181 -0
  661. package/ui/list-picker/index.android.js.map +1 -0
  662. package/ui/list-picker/index.ios.d.ts +19 -0
  663. package/ui/list-picker/index.ios.js +99 -0
  664. package/ui/list-picker/index.ios.js.map +1 -0
  665. package/ui/list-picker/list-picker-common.d.ts +23 -0
  666. package/ui/list-picker/list-picker-common.js +78 -0
  667. package/ui/list-picker/list-picker-common.js.map +1 -0
  668. package/ui/list-view/index.android.d.ts +43 -0
  669. package/ui/list-view/index.android.js +368 -0
  670. package/ui/list-view/index.android.js.map +1 -0
  671. package/ui/list-view/index.ios.d.ts +52 -0
  672. package/ui/list-view/index.ios.js +460 -0
  673. package/ui/list-view/index.ios.js.map +1 -0
  674. package/ui/list-view/list-view-common.d.ts +66 -0
  675. package/ui/list-view/list-view-common.js +211 -0
  676. package/ui/list-view/list-view-common.js.map +1 -0
  677. package/ui/page/events.d.ts +6 -0
  678. package/ui/page/events.js +7 -0
  679. package/ui/page/events.js.map +1 -0
  680. package/ui/page/index.android.d.ts +16 -0
  681. package/ui/page/index.android.js +106 -0
  682. package/ui/page/index.android.js.map +1 -0
  683. package/ui/page/index.ios.d.ts +52 -0
  684. package/ui/page/index.ios.js +554 -0
  685. package/ui/page/index.ios.js.map +1 -0
  686. package/ui/page/page-common.d.ts +73 -0
  687. package/ui/page/page-common.js +191 -0
  688. package/ui/page/page-common.js.map +1 -0
  689. package/ui/placeholder/index.android.d.ts +12 -0
  690. package/ui/placeholder/index.android.js +21 -0
  691. package/ui/placeholder/index.android.js.map +1 -0
  692. package/ui/placeholder/index.js +16 -0
  693. package/ui/placeholder/index.js.map +1 -0
  694. package/ui/placeholder/placeholder-common.d.ts +11 -0
  695. package/ui/placeholder/placeholder-common.js +2 -0
  696. package/ui/placeholder/placeholder-common.js.map +1 -0
  697. package/ui/progress/index.android.d.ts +18 -0
  698. package/ui/progress/index.android.js +65 -0
  699. package/ui/progress/index.android.js.map +1 -0
  700. package/ui/progress/index.ios.d.ts +19 -0
  701. package/ui/progress/index.ios.js +45 -0
  702. package/ui/progress/index.ios.js.map +1 -0
  703. package/ui/progress/progress-common.d.ts +15 -0
  704. package/ui/progress/progress-common.js +34 -0
  705. package/ui/progress/progress-common.js.map +1 -0
  706. package/ui/proxy-view-container/index.d.ts +33 -0
  707. package/ui/proxy-view-container/index.js +247 -0
  708. package/ui/proxy-view-container/index.js.map +1 -0
  709. package/ui/repeater/index.d.ts +67 -0
  710. package/ui/repeater/index.js +225 -0
  711. package/ui/repeater/index.js.map +1 -0
  712. package/ui/scroll-view/index.android.d.ts +27 -0
  713. package/ui/scroll-view/index.android.js +157 -0
  714. package/ui/scroll-view/index.android.js.map +1 -0
  715. package/ui/scroll-view/index.ios.d.ts +27 -0
  716. package/ui/scroll-view/index.ios.js +174 -0
  717. package/ui/scroll-view/index.ios.js.map +1 -0
  718. package/ui/scroll-view/scroll-view-common.d.ts +32 -0
  719. package/ui/scroll-view/scroll-view-common.js +93 -0
  720. package/ui/scroll-view/scroll-view-common.js.map +1 -0
  721. package/ui/search-bar/index.android.d.ts +44 -0
  722. package/ui/search-bar/index.android.js +268 -0
  723. package/ui/search-bar/index.android.js.map +1 -0
  724. package/ui/search-bar/index.ios.d.ts +36 -0
  725. package/ui/search-bar/index.ios.js +206 -0
  726. package/ui/search-bar/index.ios.js.map +1 -0
  727. package/ui/search-bar/search-bar-common.d.ts +19 -0
  728. package/ui/search-bar/search-bar-common.js +43 -0
  729. package/ui/search-bar/search-bar-common.js.map +1 -0
  730. package/ui/segmented-bar/index.android.d.ts +42 -0
  731. package/ui/segmented-bar/index.android.js +286 -0
  732. package/ui/segmented-bar/index.android.js.map +1 -0
  733. package/ui/segmented-bar/index.ios.d.ts +28 -0
  734. package/ui/segmented-bar/index.ios.js +140 -0
  735. package/ui/segmented-bar/index.ios.js.map +1 -0
  736. package/ui/segmented-bar/segmented-bar-common.d.ts +37 -0
  737. package/ui/segmented-bar/segmented-bar-common.js +146 -0
  738. package/ui/segmented-bar/segmented-bar-common.js.map +1 -0
  739. package/ui/slider/index.android.d.ts +32 -0
  740. package/ui/slider/index.android.js +126 -0
  741. package/ui/slider/index.android.js.map +1 -0
  742. package/ui/slider/index.ios.d.ts +34 -0
  743. package/ui/slider/index.ios.js +145 -0
  744. package/ui/slider/index.ios.js.map +1 -0
  745. package/ui/slider/slider-common.d.ts +27 -0
  746. package/ui/slider/slider-common.js +69 -0
  747. package/ui/slider/slider-common.js.map +1 -0
  748. package/ui/styling/background-common.d.ts +78 -0
  749. package/ui/styling/background-common.js +241 -0
  750. package/ui/styling/background-common.js.map +1 -0
  751. package/ui/styling/background.android.d.ts +3 -0
  752. package/ui/styling/background.android.js +82 -0
  753. package/ui/styling/background.android.js.map +1 -0
  754. package/ui/styling/background.ios.d.ts +20 -0
  755. package/ui/styling/background.ios.js +1096 -0
  756. package/ui/styling/background.ios.js.map +1 -0
  757. package/ui/styling/box-shadow.d.ts +9 -0
  758. package/ui/styling/box-shadow.js +3 -0
  759. package/ui/styling/box-shadow.js.map +1 -0
  760. package/ui/styling/clip-path-function.d.ts +16 -0
  761. package/ui/styling/clip-path-function.js +25 -0
  762. package/ui/styling/clip-path-function.js.map +1 -0
  763. package/ui/styling/converters.d.ts +2 -0
  764. package/ui/styling/converters.js +41 -0
  765. package/ui/styling/converters.js.map +1 -0
  766. package/ui/styling/css-animation-parser.d.ts +14 -0
  767. package/ui/styling/css-animation-parser.js +187 -0
  768. package/ui/styling/css-animation-parser.js.map +1 -0
  769. package/ui/styling/css-selector.d.ts +270 -0
  770. package/ui/styling/css-selector.js +934 -0
  771. package/ui/styling/css-selector.js.map +1 -0
  772. package/ui/styling/css-shadow.d.ts +19 -0
  773. package/ui/styling/css-shadow.js +26 -0
  774. package/ui/styling/css-shadow.js.map +1 -0
  775. package/ui/styling/css-stroke.d.ts +12 -0
  776. package/ui/styling/css-stroke.js +19 -0
  777. package/ui/styling/css-stroke.js.map +1 -0
  778. package/ui/styling/css-transform.d.ts +2 -0
  779. package/ui/styling/css-transform.js +110 -0
  780. package/ui/styling/css-transform.js.map +1 -0
  781. package/ui/styling/css-utils.d.ts +7 -0
  782. package/ui/styling/css-utils.js +62 -0
  783. package/ui/styling/css-utils.js.map +1 -0
  784. package/ui/styling/font-common.d.ts +62 -0
  785. package/ui/styling/font-common.js +195 -0
  786. package/ui/styling/font-common.js.map +1 -0
  787. package/ui/styling/font-interfaces.d.ts +16 -0
  788. package/ui/styling/font-interfaces.js +2 -0
  789. package/ui/styling/font-interfaces.js.map +1 -0
  790. package/ui/styling/font.android.d.ts +15 -0
  791. package/ui/styling/font.android.js +226 -0
  792. package/ui/styling/font.android.js.map +1 -0
  793. package/ui/styling/font.ios.d.ts +18 -0
  794. package/ui/styling/font.ios.js +159 -0
  795. package/ui/styling/font.ios.js.map +1 -0
  796. package/ui/styling/length-shared.d.ts +52 -0
  797. package/ui/styling/length-shared.js +173 -0
  798. package/ui/styling/length-shared.js.map +1 -0
  799. package/ui/styling/linear-gradient.d.ts +13 -0
  800. package/ui/styling/linear-gradient.js +48 -0
  801. package/ui/styling/linear-gradient.js.map +1 -0
  802. package/ui/styling/style/index.d.ts +164 -0
  803. package/ui/styling/style/index.js +67 -0
  804. package/ui/styling/style/index.js.map +1 -0
  805. package/ui/styling/style-properties.d.ts +62 -0
  806. package/ui/styling/style-properties.js +1132 -0
  807. package/ui/styling/style-properties.js.map +1 -0
  808. package/ui/styling/style-scope.d.ts +87 -0
  809. package/ui/styling/style-scope.js +1020 -0
  810. package/ui/styling/style-scope.js.map +1 -0
  811. package/ui/styling/styling-profile.d.ts +1 -0
  812. package/ui/styling/styling-profile.js +4 -0
  813. package/ui/styling/styling-profile.js.map +1 -0
  814. package/ui/styling/styling-shared.d.ts +3 -0
  815. package/ui/styling/styling-shared.js +6 -0
  816. package/ui/styling/styling-shared.js.map +1 -0
  817. package/ui/switch/index.android.d.ts +23 -0
  818. package/ui/switch/index.android.js +113 -0
  819. package/ui/switch/index.android.js.map +1 -0
  820. package/ui/switch/index.ios.d.ts +25 -0
  821. package/ui/switch/index.ios.js +135 -0
  822. package/ui/switch/index.ios.js.map +1 -0
  823. package/ui/switch/switch-common.d.ts +12 -0
  824. package/ui/switch/switch-common.js +37 -0
  825. package/ui/switch/switch-common.js.map +1 -0
  826. package/ui/tab-view/index.android.d.ts +73 -0
  827. package/ui/tab-view/index.android.js +648 -0
  828. package/ui/tab-view/index.android.js.map +1 -0
  829. package/ui/tab-view/index.ios.d.ts +72 -0
  830. package/ui/tab-view/index.ios.js +589 -0
  831. package/ui/tab-view/index.ios.js.map +1 -0
  832. package/ui/tab-view/tab-view-common.d.ts +71 -0
  833. package/ui/tab-view/tab-view-common.js +262 -0
  834. package/ui/tab-view/tab-view-common.js.map +1 -0
  835. package/ui/text-base/formatted-string.js +163 -0
  836. package/ui/text-base/formatted-string.js.map +1 -0
  837. package/ui/text-base/index.android.d.ts +78 -0
  838. package/ui/text-base/index.android.js +559 -0
  839. package/ui/text-base/index.android.js.map +1 -0
  840. package/ui/text-base/index.ios.d.ts +53 -0
  841. package/ui/text-base/index.ios.js +458 -0
  842. package/ui/text-base/index.ios.js.map +1 -0
  843. package/ui/text-base/span.js +113 -0
  844. package/ui/text-base/span.js.map +1 -0
  845. package/ui/text-base/text-base-common.d.ts +98 -0
  846. package/ui/text-base/text-base-common.js +323 -0
  847. package/ui/text-base/text-base-common.js.map +1 -0
  848. package/ui/text-field/index.android.d.ts +10 -0
  849. package/ui/text-field/index.android.js +92 -0
  850. package/ui/text-field/index.android.js.map +1 -0
  851. package/ui/text-field/index.ios.d.ts +55 -0
  852. package/ui/text-field/index.ios.js +311 -0
  853. package/ui/text-field/index.ios.js.map +1 -0
  854. package/ui/text-field/text-field-common.d.ts +11 -0
  855. package/ui/text-field/text-field-common.js +25 -0
  856. package/ui/text-field/text-field-common.js.map +1 -0
  857. package/ui/text-view/index.android.d.ts +8 -0
  858. package/ui/text-view/index.android.js +24 -0
  859. package/ui/text-view/index.android.js.map +1 -0
  860. package/ui/text-view/index.ios.d.ts +58 -0
  861. package/ui/text-view/index.ios.js +427 -0
  862. package/ui/text-view/index.ios.js.map +1 -0
  863. package/ui/text-view/text-view-common.d.ts +32 -0
  864. package/ui/text-view/text-view-common.js +39 -0
  865. package/ui/text-view/text-view-common.js.map +1 -0
  866. package/ui/time-picker/index.android.d.ts +10 -0
  867. package/ui/time-picker/index.android.js +81 -0
  868. package/ui/time-picker/index.android.js.map +1 -0
  869. package/ui/time-picker/index.ios.d.ts +31 -0
  870. package/ui/time-picker/index.ios.js +138 -0
  871. package/ui/time-picker/index.ios.js.map +1 -0
  872. package/ui/time-picker/time-picker-common.d.ts +31 -0
  873. package/ui/time-picker/time-picker-common.js +176 -0
  874. package/ui/time-picker/time-picker-common.js.map +1 -0
  875. package/ui/transition/fade-transition.android.d.ts +4 -0
  876. package/ui/transition/fade-transition.android.js +28 -0
  877. package/ui/transition/fade-transition.android.js.map +1 -0
  878. package/ui/transition/fade-transition.ios.d.ts +17 -0
  879. package/ui/transition/fade-transition.ios.js +65 -0
  880. package/ui/transition/fade-transition.ios.js.map +1 -0
  881. package/ui/transition/flip-transition.android.d.ts +6 -0
  882. package/ui/transition/flip-transition.android.js +90 -0
  883. package/ui/transition/flip-transition.android.js.map +1 -0
  884. package/ui/transition/index.android.d.ts +19 -0
  885. package/ui/transition/index.android.js +37 -0
  886. package/ui/transition/index.android.js.map +1 -0
  887. package/ui/transition/index.ios.d.ts +14 -0
  888. package/ui/transition/index.ios.js +30 -0
  889. package/ui/transition/index.ios.js.map +1 -0
  890. package/ui/transition/modal-transition.android.d.ts +5 -0
  891. package/ui/transition/modal-transition.android.js +7 -0
  892. package/ui/transition/modal-transition.android.js.map +1 -0
  893. package/ui/transition/modal-transition.ios.d.ts +34 -0
  894. package/ui/transition/modal-transition.ios.js +182 -0
  895. package/ui/transition/modal-transition.ios.js.map +1 -0
  896. package/ui/transition/page-transition.android.d.ts +9 -0
  897. package/ui/transition/page-transition.android.js +293 -0
  898. package/ui/transition/page-transition.android.js.map +1 -0
  899. package/ui/transition/page-transition.ios.d.ts +35 -0
  900. package/ui/transition/page-transition.ios.js +199 -0
  901. package/ui/transition/page-transition.ios.js.map +1 -0
  902. package/ui/transition/shared-transition-helper.android.d.ts +9 -0
  903. package/ui/transition/shared-transition-helper.android.js +10 -0
  904. package/ui/transition/shared-transition-helper.android.js.map +1 -0
  905. package/ui/transition/shared-transition-helper.ios.d.ts +14 -0
  906. package/ui/transition/shared-transition-helper.ios.js +539 -0
  907. package/ui/transition/shared-transition-helper.ios.js.map +1 -0
  908. package/ui/transition/shared-transition.d.ts +271 -0
  909. package/ui/transition/shared-transition.js +215 -0
  910. package/ui/transition/shared-transition.js.map +1 -0
  911. package/ui/transition/slide-transition.android.d.ts +7 -0
  912. package/ui/transition/slide-transition.android.js +116 -0
  913. package/ui/transition/slide-transition.android.js.map +1 -0
  914. package/ui/transition/slide-transition.ios.d.ts +19 -0
  915. package/ui/transition/slide-transition.ios.js +95 -0
  916. package/ui/transition/slide-transition.ios.js.map +1 -0
  917. package/ui/utils.android.d.ts +5 -0
  918. package/ui/utils.android.js +16 -0
  919. package/ui/utils.android.js.map +1 -0
  920. package/ui/utils.ios.d.ts +11 -0
  921. package/ui/utils.ios.js +66 -0
  922. package/ui/utils.ios.js.map +1 -0
  923. package/ui/web-view/index.android.d.ts +18 -0
  924. package/ui/web-view/index.android.js +177 -0
  925. package/ui/web-view/index.android.js.map +1 -0
  926. package/ui/web-view/index.ios.d.ts +27 -0
  927. package/ui/web-view/index.ios.js +246 -0
  928. package/ui/web-view/index.ios.js.map +1 -0
  929. package/ui/web-view/web-view-common.d.ts +30 -0
  930. package/ui/web-view/web-view-common.js +74 -0
  931. package/ui/web-view/web-view-common.js.map +1 -0
  932. package/ui/web-view/web-view-interfaces.d.ts +11 -0
  933. package/ui/web-view/web-view-interfaces.js +2 -0
  934. package/ui/web-view/web-view-interfaces.js.map +1 -0
  935. package/utils/animation-helpers.d.ts +27 -0
  936. package/utils/animation-helpers.js +48 -0
  937. package/utils/animation-helpers.js.map +1 -0
  938. package/utils/common.d.ts +26 -0
  939. package/utils/common.js +139 -0
  940. package/utils/common.js.map +1 -0
  941. package/utils/constants.android.d.ts +2 -0
  942. package/utils/constants.android.js +5 -0
  943. package/utils/constants.android.js.map +1 -0
  944. package/utils/constants.ios.d.ts +2 -0
  945. package/utils/constants.ios.js +5 -0
  946. package/utils/constants.ios.js.map +1 -0
  947. package/utils/debug-source.d.ts +19 -0
  948. package/utils/debug-source.js +78 -0
  949. package/utils/debug-source.js.map +1 -0
  950. package/utils/debug.js +3 -0
  951. package/utils/debug.js.map +1 -0
  952. package/utils/index.android.d.ts +26 -0
  953. package/utils/index.android.js +205 -0
  954. package/utils/index.android.js.map +1 -0
  955. package/utils/index.ios.d.ts +22 -0
  956. package/utils/index.ios.js +113 -0
  957. package/utils/index.ios.js.map +1 -0
  958. package/utils/layout-helper/index.android.d.ts +24 -0
  959. package/utils/layout-helper/index.android.js +77 -0
  960. package/utils/layout-helper/index.android.js.map +1 -0
  961. package/utils/layout-helper/index.ios.d.ts +24 -0
  962. package/utils/layout-helper/index.ios.js +64 -0
  963. package/utils/layout-helper/index.ios.js.map +1 -0
  964. package/utils/layout-helper/layout-helper-common.d.ts +5 -0
  965. package/utils/layout-helper/layout-helper-common.js +49 -0
  966. package/utils/layout-helper/layout-helper-common.js.map +1 -0
  967. package/utils/layout-helper/layout-helper-shared.d.ts +9 -0
  968. package/utils/layout-helper/layout-helper-shared.js +13 -0
  969. package/utils/layout-helper/layout-helper-shared.js.map +1 -0
  970. package/utils/lazy.js +5 -0
  971. package/utils/lazy.js.map +1 -0
  972. package/utils/macrotask-scheduler.js +26 -0
  973. package/utils/macrotask-scheduler.js.map +1 -0
  974. package/utils/mainthread-helper.android.d.ts +3 -0
  975. package/utils/mainthread-helper.android.js +28 -0
  976. package/utils/mainthread-helper.android.js.map +1 -0
  977. package/utils/mainthread-helper.ios.d.ts +3 -0
  978. package/utils/mainthread-helper.ios.js +17 -0
  979. package/utils/mainthread-helper.ios.js.map +1 -0
  980. package/utils/module-merge.d.ts +1 -0
  981. package/utils/module-merge.js +8 -0
  982. package/utils/module-merge.js.map +1 -0
  983. package/utils/native-helper-for-android.d.ts +34 -0
  984. package/utils/native-helper-for-android.js +373 -0
  985. package/utils/native-helper-for-android.js.map +1 -0
  986. package/utils/native-helper.android.d.ts +42 -0
  987. package/utils/native-helper.android.js +30 -0
  988. package/utils/native-helper.android.js.map +1 -0
  989. package/utils/native-helper.ios.d.ts +79 -0
  990. package/utils/native-helper.ios.js +339 -0
  991. package/utils/native-helper.ios.js.map +1 -0
  992. package/utils/number-utils.d.ts +19 -0
  993. package/utils/number-utils.js +37 -0
  994. package/utils/number-utils.js.map +1 -0
  995. package/utils/platform-check.d.ts +4 -0
  996. package/utils/platform-check.js +21 -0
  997. package/utils/platform-check.js.map +1 -0
  998. package/utils/shared.d.ts +17 -0
  999. package/utils/shared.js +40 -0
  1000. package/utils/shared.js.map +1 -0
  1001. package/utils/types.js +104 -0
  1002. package/utils/types.js.map +1 -0
  1003. package/utils/utils-shared.d.ts +1 -0
  1004. package/utils/utils-shared.js +8 -0
  1005. package/utils/utils-shared.js.map +1 -0
  1006. package/wgc/atob.d.ts +1 -0
  1007. package/wgc/atob.js +9 -0
  1008. package/wgc/atob.js.map +1 -0
  1009. package/wgc/btoa.d.ts +1 -0
  1010. package/wgc/btoa.js +9 -0
  1011. package/wgc/btoa.js.map +1 -0
  1012. package/wgc/crypto/SubtleCrypto.d.ts +63 -0
  1013. package/wgc/crypto/SubtleCrypto.js +551 -0
  1014. package/wgc/crypto/SubtleCrypto.js.map +1 -0
  1015. package/wgc/crypto/index.d.ts +8 -0
  1016. package/wgc/crypto/index.js +32 -0
  1017. package/wgc/crypto/index.js.map +1 -0
  1018. package/wgc/index.d.ts +2 -0
  1019. package/wgc/index.js +3 -0
  1020. package/wgc/index.js.map +1 -0
  1021. package/xhr/index.d.ts +113 -0
  1022. package/xhr/index.js +486 -0
  1023. package/xhr/index.js.map +1 -0
  1024. package/xml/index.d.ts +108 -0
  1025. package/xml/index.js +574 -0
  1026. package/xml/index.js.map +1 -0
  1027. package/css/package.json +0 -36
  1028. package/css-value/package.json +0 -23
@@ -0,0 +1,70 @@
1
+ import type { GestureEventData } from './gestures-types';
2
+ import type { View } from '../core/view';
3
+ import { GesturesObserverBase, GestureTypes } from './gestures-common';
4
+ export * from './gestures-common';
5
+ export * from './gestures-types';
6
+ export * from './touch-manager';
7
+ export declare function observe(target: View, type: GestureTypes, callback: (args: GestureEventData) => void, context?: any): GesturesObserver;
8
+ export declare class GesturesObserver extends GesturesObserverBase {
9
+ private readonly _recognizers;
10
+ private _onTargetLoaded;
11
+ private _onTargetUnloaded;
12
+ androidOnTouchEvent(motionEvent: android.view.MotionEvent): void;
13
+ /**
14
+ * Observes a singular GestureTypes value (e.g. GestureTypes.tap).
15
+ *
16
+ * Does not support observing plural GestureTypes values, e.g.
17
+ * GestureTypes.tap & GestureTypes.doubleTap.
18
+ */
19
+ observe(type: GestureTypes): void;
20
+ /**
21
+ * Given a singular GestureTypes value (e.g. GestureTypes.tap), adds a
22
+ * UIGestureRecognizer for it and populates a RecognizerCache entry in
23
+ * this._recognizers.
24
+ *
25
+ * Does not support attaching plural GestureTypes values, e.g.
26
+ * GestureTypes.tap & GestureTypes.doubleTap.
27
+ */
28
+ private _attach;
29
+ private _detach;
30
+ disconnect(): void;
31
+ _executeCallback(args: GestureEventData): void;
32
+ /**
33
+ * Creates a UIGestureRecognizer (and populates a RecognizerCache entry in
34
+ * this._recognizers) corresponding to the singular GestureTypes value passed
35
+ * in.
36
+ */
37
+ private _createRecognizer;
38
+ }
39
+ declare class Pointer {
40
+ android: any;
41
+ ios: UITouch;
42
+ private _view;
43
+ private _location;
44
+ private get location();
45
+ constructor(touch: UITouch, targetView: View);
46
+ getX(): number;
47
+ getY(): number;
48
+ }
49
+ export declare class TouchGestureEventData {
50
+ eventName: string;
51
+ type: GestureTypes;
52
+ android: any;
53
+ action: string;
54
+ view: View;
55
+ ios: {
56
+ touches: NSSet<any>;
57
+ event: _UIEvent;
58
+ };
59
+ object: any;
60
+ private _activePointers;
61
+ private _allPointers;
62
+ private _mainPointer;
63
+ prepare(view: View, action: string, touches: NSSet<any>, event: _UIEvent): void;
64
+ getPointerCount(): number;
65
+ private getMainPointer;
66
+ getActivePointers(): Array<Pointer>;
67
+ getAllPointers(): Array<Pointer>;
68
+ getX(): number;
69
+ getY(): number;
70
+ }
@@ -0,0 +1,512 @@
1
+ import { GesturesObserverBase, toString, TouchAction, GestureStateTypes, GestureTypes, SwipeDirection, GestureEvents } from './gestures-common';
2
+ export * from './gestures-common';
3
+ export * from './gestures-types';
4
+ export * from './touch-manager';
5
+ export function observe(target, type, callback, context) {
6
+ const observer = new GesturesObserver(target, callback, context);
7
+ observer.observe(type);
8
+ return observer;
9
+ }
10
+ var UIGestureRecognizerDelegateImpl = /** @class */ (function (_super) {
11
+ __extends(UIGestureRecognizerDelegateImpl, _super);
12
+ function UIGestureRecognizerDelegateImpl() {
13
+ return _super !== null && _super.apply(this, arguments) || this;
14
+ }
15
+ UIGestureRecognizerDelegateImpl.prototype.gestureRecognizerShouldRecognizeSimultaneouslyWithGestureRecognizer = function (gestureRecognizer, otherGestureRecognizer) {
16
+ return true;
17
+ };
18
+ UIGestureRecognizerDelegateImpl.prototype.gestureRecognizerShouldRequireFailureOfGestureRecognizer = function (gestureRecognizer, otherGestureRecognizer) {
19
+ // If both gesture recognizers are of type UITapGestureRecognizer & one of them is a doubleTap,
20
+ // we must require a failure.
21
+ if (gestureRecognizer instanceof UITapGestureRecognizer && otherGestureRecognizer instanceof UITapGestureRecognizer && otherGestureRecognizer.numberOfTapsRequired === 2) {
22
+ return true;
23
+ }
24
+ return false;
25
+ };
26
+ UIGestureRecognizerDelegateImpl.ObjCProtocols = [UIGestureRecognizerDelegate];
27
+ return UIGestureRecognizerDelegateImpl;
28
+ }(NSObject));
29
+ const recognizerDelegateInstance = UIGestureRecognizerDelegateImpl.new();
30
+ var UIGestureRecognizerImpl = /** @class */ (function (_super) {
31
+ __extends(UIGestureRecognizerImpl, _super);
32
+ function UIGestureRecognizerImpl() {
33
+ return _super !== null && _super.apply(this, arguments) || this;
34
+ }
35
+ UIGestureRecognizerImpl.initWithOwnerTypeCallback = function (owner, type, callback, thisArg) {
36
+ var handler = UIGestureRecognizerImpl.new();
37
+ handler._owner = owner;
38
+ handler._type = type;
39
+ if (callback) {
40
+ handler._callback = callback;
41
+ }
42
+ if (thisArg) {
43
+ handler._context = thisArg;
44
+ }
45
+ return handler;
46
+ };
47
+ UIGestureRecognizerImpl.prototype.recognize = function (recognizer) {
48
+ var _a;
49
+ var owner = (_a = this._owner) === null || _a === void 0 ? void 0 : _a.deref();
50
+ var callback = this._callback ? this._callback : owner ? owner.callback : null;
51
+ var typeParam = this._type;
52
+ var target = owner ? owner.target : undefined;
53
+ var args = {
54
+ type: typeParam,
55
+ view: target,
56
+ ios: recognizer,
57
+ android: undefined,
58
+ object: target,
59
+ eventName: toString(typeParam),
60
+ };
61
+ if (callback) {
62
+ callback.call(this._context, args);
63
+ }
64
+ };
65
+ UIGestureRecognizerImpl.ObjCExposedMethods = {
66
+ recognize: {
67
+ returns: interop.types.void,
68
+ params: [UIGestureRecognizer],
69
+ },
70
+ };
71
+ return UIGestureRecognizerImpl;
72
+ }(NSObject));
73
+ export class GesturesObserver extends GesturesObserverBase {
74
+ constructor() {
75
+ super(...arguments);
76
+ this._recognizers = {};
77
+ }
78
+ androidOnTouchEvent(motionEvent) {
79
+ //
80
+ }
81
+ /**
82
+ * Observes a singular GestureTypes value (e.g. GestureTypes.tap).
83
+ *
84
+ * Does not support observing plural GestureTypes values, e.g.
85
+ * GestureTypes.tap & GestureTypes.doubleTap.
86
+ */
87
+ observe(type) {
88
+ this.type = type;
89
+ if (!this.target) {
90
+ return;
91
+ }
92
+ this._onTargetLoaded = () => {
93
+ this._attach(this.target, type);
94
+ };
95
+ this._onTargetUnloaded = () => {
96
+ this._detach();
97
+ };
98
+ this.target.on('loaded', this._onTargetLoaded);
99
+ this.target.on('unloaded', this._onTargetUnloaded);
100
+ if (this.target.isLoaded) {
101
+ this._attach(this.target, type);
102
+ }
103
+ }
104
+ /**
105
+ * Given a singular GestureTypes value (e.g. GestureTypes.tap), adds a
106
+ * UIGestureRecognizer for it and populates a RecognizerCache entry in
107
+ * this._recognizers.
108
+ *
109
+ * Does not support attaching plural GestureTypes values, e.g.
110
+ * GestureTypes.tap & GestureTypes.doubleTap.
111
+ */
112
+ _attach(target, type) {
113
+ this._detach();
114
+ const nativeView = target?.nativeViewProtected;
115
+ if (!nativeView?.addGestureRecognizer) {
116
+ return;
117
+ }
118
+ switch (type) {
119
+ case GestureTypes.tap: {
120
+ nativeView.addGestureRecognizer(this._createRecognizer(GestureTypes.tap, (args) => {
121
+ if (args.view) {
122
+ this._executeCallback(_getTapData(args));
123
+ }
124
+ }));
125
+ break;
126
+ }
127
+ case GestureTypes.doubleTap: {
128
+ nativeView.addGestureRecognizer(this._createRecognizer(GestureTypes.doubleTap, (args) => {
129
+ if (args.view) {
130
+ this._executeCallback(_getTapData(args));
131
+ }
132
+ }));
133
+ break;
134
+ }
135
+ case GestureTypes.pinch: {
136
+ nativeView.addGestureRecognizer(this._createRecognizer(GestureTypes.pinch, (args) => {
137
+ if (args.view) {
138
+ this._executeCallback(_getPinchData(args));
139
+ }
140
+ }));
141
+ break;
142
+ }
143
+ case GestureTypes.pan: {
144
+ nativeView.addGestureRecognizer(this._createRecognizer(GestureTypes.pan, (args) => {
145
+ if (args.view) {
146
+ this._executeCallback(_getPanData(args, target.nativeViewProtected));
147
+ }
148
+ }));
149
+ break;
150
+ }
151
+ case GestureTypes.swipe: {
152
+ nativeView.addGestureRecognizer(this._createRecognizer(GestureTypes.swipe, (args) => {
153
+ if (args.view) {
154
+ this._executeCallback(_getSwipeData(args));
155
+ }
156
+ }, 8 /* UISwipeGestureRecognizerDirection.Down */));
157
+ nativeView.addGestureRecognizer(this._createRecognizer(GestureTypes.swipe, (args) => {
158
+ if (args.view) {
159
+ this._executeCallback(_getSwipeData(args));
160
+ }
161
+ }, 2 /* UISwipeGestureRecognizerDirection.Left */));
162
+ nativeView.addGestureRecognizer(this._createRecognizer(GestureTypes.swipe, (args) => {
163
+ if (args.view) {
164
+ this._executeCallback(_getSwipeData(args));
165
+ }
166
+ }, 1 /* UISwipeGestureRecognizerDirection.Right */));
167
+ nativeView.addGestureRecognizer(this._createRecognizer(GestureTypes.swipe, (args) => {
168
+ if (args.view) {
169
+ this._executeCallback(_getSwipeData(args));
170
+ }
171
+ }, 4 /* UISwipeGestureRecognizerDirection.Up */));
172
+ break;
173
+ }
174
+ case GestureTypes.rotation: {
175
+ nativeView.addGestureRecognizer(this._createRecognizer(GestureTypes.rotation, (args) => {
176
+ if (args.view) {
177
+ this._executeCallback(_getRotationData(args));
178
+ }
179
+ }));
180
+ break;
181
+ }
182
+ case GestureTypes.longPress: {
183
+ nativeView.addGestureRecognizer(this._createRecognizer(GestureTypes.longPress, (args) => {
184
+ if (args.view) {
185
+ this._executeCallback(_getLongPressData(args));
186
+ }
187
+ }));
188
+ break;
189
+ }
190
+ case GestureTypes.touch: {
191
+ nativeView.addGestureRecognizer(this._createRecognizer(GestureTypes.touch));
192
+ break;
193
+ }
194
+ }
195
+ }
196
+ _detach() {
197
+ for (const type in this._recognizers) {
198
+ const item = this._recognizers[type];
199
+ this.target?.nativeViewProtected?.removeGestureRecognizer(item.recognizer);
200
+ item.recognizer = null;
201
+ item.target = null;
202
+ delete this._recognizers[type];
203
+ }
204
+ }
205
+ disconnect() {
206
+ this._detach();
207
+ if (this.target) {
208
+ this.target.off('loaded', this._onTargetLoaded);
209
+ this.target.off('unloaded', this._onTargetUnloaded);
210
+ this._onTargetLoaded = null;
211
+ this._onTargetUnloaded = null;
212
+ }
213
+ // clears target, context and callback references
214
+ super.disconnect();
215
+ }
216
+ _executeCallback(args) {
217
+ if (this.callback) {
218
+ this.callback.call(this.context, args);
219
+ }
220
+ }
221
+ /**
222
+ * Creates a UIGestureRecognizer (and populates a RecognizerCache entry in
223
+ * this._recognizers) corresponding to the singular GestureTypes value passed
224
+ * in.
225
+ */
226
+ _createRecognizer(type, callback, swipeDirection) {
227
+ let recognizer;
228
+ let typeString = toString(type);
229
+ const target = _createUIGestureRecognizerTarget(this, type, callback, this.context);
230
+ const recognizerType = _getUIGestureRecognizerType(type);
231
+ if (recognizerType) {
232
+ recognizer = recognizerType.alloc().initWithTargetAction(target, 'recognize');
233
+ if (type === GestureTypes.swipe && swipeDirection) {
234
+ // e.g. "swipe1"
235
+ typeString += swipeDirection.toString();
236
+ recognizer.direction = swipeDirection;
237
+ }
238
+ else if (type === GestureTypes.touch) {
239
+ recognizer.observer = this;
240
+ }
241
+ else if (type === GestureTypes.doubleTap) {
242
+ recognizer.numberOfTapsRequired = 2;
243
+ }
244
+ if (recognizer) {
245
+ recognizer.delegate = recognizerDelegateInstance;
246
+ this._recognizers[typeString] = {
247
+ recognizer,
248
+ target,
249
+ };
250
+ }
251
+ this.target.notify({
252
+ eventName: GestureEvents.gestureAttached,
253
+ object: this.target,
254
+ type: type,
255
+ view: this.target,
256
+ ios: recognizer,
257
+ });
258
+ }
259
+ return recognizer;
260
+ }
261
+ }
262
+ function _createUIGestureRecognizerTarget(owner, type, callback, context) {
263
+ return UIGestureRecognizerImpl.initWithOwnerTypeCallback(new WeakRef(owner), type, callback, context);
264
+ }
265
+ function _getUIGestureRecognizerType(type) {
266
+ switch (type) {
267
+ case GestureTypes.tap:
268
+ return UITapGestureRecognizer;
269
+ case GestureTypes.doubleTap:
270
+ return UITapGestureRecognizer;
271
+ case GestureTypes.pinch:
272
+ return UIPinchGestureRecognizer;
273
+ case GestureTypes.pan:
274
+ return UIPanGestureRecognizer;
275
+ case GestureTypes.swipe:
276
+ return UISwipeGestureRecognizer;
277
+ case GestureTypes.rotation:
278
+ return UIRotationGestureRecognizer;
279
+ case GestureTypes.longPress:
280
+ return UILongPressGestureRecognizer;
281
+ case GestureTypes.touch:
282
+ return TouchGestureRecognizer;
283
+ default:
284
+ return null;
285
+ }
286
+ }
287
+ function getState(recognizer) {
288
+ if (recognizer.state === 1 /* UIGestureRecognizerState.Began */) {
289
+ return GestureStateTypes.began;
290
+ }
291
+ else if (recognizer.state === 4 /* UIGestureRecognizerState.Cancelled */ || recognizer.state === 5 /* UIGestureRecognizerState.Failed */) {
292
+ return GestureStateTypes.cancelled;
293
+ }
294
+ else if (recognizer.state === 2 /* UIGestureRecognizerState.Changed */) {
295
+ return GestureStateTypes.changed;
296
+ }
297
+ else if (recognizer.state === 3 /* UIGestureRecognizerState.Ended */) {
298
+ return GestureStateTypes.ended;
299
+ }
300
+ }
301
+ function _getSwipeDirection(direction) {
302
+ if (direction === 8 /* UISwipeGestureRecognizerDirection.Down */) {
303
+ return SwipeDirection.down;
304
+ }
305
+ else if (direction === 2 /* UISwipeGestureRecognizerDirection.Left */) {
306
+ return SwipeDirection.left;
307
+ }
308
+ else if (direction === 1 /* UISwipeGestureRecognizerDirection.Right */) {
309
+ return SwipeDirection.right;
310
+ }
311
+ else if (direction === 4 /* UISwipeGestureRecognizerDirection.Up */) {
312
+ return SwipeDirection.up;
313
+ }
314
+ }
315
+ function _getTapData(args) {
316
+ const recognizer = args.ios;
317
+ const center = recognizer.locationInView(args.view.nativeViewProtected);
318
+ return {
319
+ type: args.type,
320
+ view: args.view,
321
+ ios: args.ios,
322
+ android: undefined,
323
+ eventName: args.eventName,
324
+ object: args.object,
325
+ getPointerCount: () => recognizer.numberOfTouches,
326
+ getX: () => center.x,
327
+ getY: () => center.y,
328
+ };
329
+ }
330
+ function _getPinchData(args) {
331
+ const recognizer = args.ios;
332
+ const center = recognizer.locationInView(args.view.nativeViewProtected);
333
+ return {
334
+ type: args.type,
335
+ view: args.view,
336
+ ios: args.ios,
337
+ android: undefined,
338
+ scale: recognizer.scale,
339
+ getFocusX: () => center.x,
340
+ getFocusY: () => center.y,
341
+ object: args.view,
342
+ eventName: toString(args.type),
343
+ state: getState(recognizer),
344
+ };
345
+ }
346
+ function _getSwipeData(args) {
347
+ const recognizer = args.ios;
348
+ return {
349
+ type: args.type,
350
+ view: args.view,
351
+ ios: args.ios,
352
+ android: undefined,
353
+ direction: _getSwipeDirection(recognizer.direction),
354
+ object: args.view,
355
+ eventName: toString(args.type),
356
+ };
357
+ }
358
+ function _getPanData(args, view) {
359
+ const recognizer = args.ios;
360
+ return {
361
+ type: args.type,
362
+ view: args.view,
363
+ ios: args.ios,
364
+ android: undefined,
365
+ deltaX: recognizer.translationInView(view).x,
366
+ deltaY: recognizer.translationInView(view).y,
367
+ object: args.view,
368
+ eventName: toString(args.type),
369
+ state: getState(recognizer),
370
+ };
371
+ }
372
+ function _getRotationData(args) {
373
+ const recognizer = args.ios;
374
+ return {
375
+ type: args.type,
376
+ view: args.view,
377
+ ios: args.ios,
378
+ android: undefined,
379
+ rotation: recognizer.rotation * (180.0 / Math.PI),
380
+ object: args.view,
381
+ eventName: toString(args.type),
382
+ state: getState(recognizer),
383
+ };
384
+ }
385
+ function _getLongPressData(args) {
386
+ const recognizer = args.ios;
387
+ return {
388
+ type: args.type,
389
+ view: args.view,
390
+ ios: args.ios,
391
+ android: undefined,
392
+ object: args.view,
393
+ eventName: toString(args.type),
394
+ state: getState(recognizer),
395
+ };
396
+ }
397
+ var TouchGestureRecognizer = /** @class */ (function (_super) {
398
+ __extends(TouchGestureRecognizer, _super);
399
+ function TouchGestureRecognizer() {
400
+ return _super !== null && _super.apply(this, arguments) || this;
401
+ }
402
+ TouchGestureRecognizer.prototype.touchesBeganWithEvent = function (touches, event) {
403
+ this.executeCallback(TouchAction.down, touches, event);
404
+ if (this.view) {
405
+ this.view.touchesBeganWithEvent(touches, event);
406
+ }
407
+ };
408
+ TouchGestureRecognizer.prototype.touchesMovedWithEvent = function (touches, event) {
409
+ this.executeCallback(TouchAction.move, touches, event);
410
+ if (this.view) {
411
+ this.view.touchesMovedWithEvent(touches, event);
412
+ }
413
+ };
414
+ TouchGestureRecognizer.prototype.touchesEndedWithEvent = function (touches, event) {
415
+ this.executeCallback(TouchAction.up, touches, event);
416
+ if (this.view) {
417
+ this.view.touchesEndedWithEvent(touches, event);
418
+ }
419
+ };
420
+ TouchGestureRecognizer.prototype.touchesCancelledWithEvent = function (touches, event) {
421
+ this.executeCallback(TouchAction.cancel, touches, event);
422
+ if (this.view) {
423
+ this.view.touchesCancelledWithEvent(touches, event);
424
+ }
425
+ };
426
+ TouchGestureRecognizer.prototype.executeCallback = function (action, touches, event) {
427
+ if (!this._eventData) {
428
+ this._eventData = new TouchGestureEventData();
429
+ }
430
+ this._eventData.prepare(this.observer.target, action, touches, event);
431
+ this.observer._executeCallback(this._eventData);
432
+ };
433
+ return TouchGestureRecognizer;
434
+ }(UIGestureRecognizer));
435
+ class Pointer {
436
+ get location() {
437
+ if (!this._location) {
438
+ this._location = this.ios.locationInView(this._view.nativeViewProtected);
439
+ }
440
+ return this._location;
441
+ }
442
+ constructor(touch, targetView) {
443
+ this.android = undefined;
444
+ this.ios = undefined;
445
+ this.ios = touch;
446
+ this._view = targetView;
447
+ }
448
+ getX() {
449
+ return this.location.x;
450
+ }
451
+ getY() {
452
+ return this.location.y;
453
+ }
454
+ }
455
+ export class TouchGestureEventData {
456
+ constructor() {
457
+ this.eventName = toString(GestureTypes.touch);
458
+ this.type = GestureTypes.touch;
459
+ this.android = undefined;
460
+ }
461
+ prepare(view, action, touches, event) {
462
+ this.action = action;
463
+ this.view = view;
464
+ this.object = view;
465
+ this.ios = {
466
+ touches: touches,
467
+ event: event,
468
+ };
469
+ this._mainPointer = undefined;
470
+ this._activePointers = undefined;
471
+ this._allPointers = undefined;
472
+ }
473
+ getPointerCount() {
474
+ return this.ios.event.allTouches.count;
475
+ }
476
+ getMainPointer() {
477
+ if (this._mainPointer === undefined) {
478
+ this._mainPointer = this.ios.touches.anyObject();
479
+ }
480
+ return this._mainPointer;
481
+ }
482
+ getActivePointers() {
483
+ if (!this._activePointers) {
484
+ this._activePointers = [];
485
+ for (let i = 0, nsArr = this.ios.touches.allObjects; i < nsArr.count; i++) {
486
+ this._activePointers.push(new Pointer(nsArr.objectAtIndex(i), this.view));
487
+ }
488
+ }
489
+ return this._activePointers;
490
+ }
491
+ getAllPointers() {
492
+ if (!this._allPointers) {
493
+ this._allPointers = [];
494
+ const nsArr = this.ios.event.allTouches.allObjects;
495
+ for (let i = 0; i < nsArr.count; i++) {
496
+ this._allPointers.push(new Pointer(nsArr.objectAtIndex(i), this.view));
497
+ }
498
+ }
499
+ return this._allPointers;
500
+ }
501
+ getX() {
502
+ const offset = this.view.nativeViewProtected.contentOffset;
503
+ const offsetX = offset ? offset.x : 0;
504
+ return this.getMainPointer().locationInView(this.view.nativeViewProtected).x - offsetX;
505
+ }
506
+ getY() {
507
+ const offset = this.view.nativeViewProtected.contentOffset;
508
+ const offsetY = offset ? offset.y : 0;
509
+ return this.getMainPointer().locationInView(this.view.nativeViewProtected).y - offsetY;
510
+ }
511
+ }
512
+ //# sourceMappingURL=index.ios.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.ios.js","sourceRoot":"","sources":["../../../../../packages/core/ui/gestures/index.ios.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,QAAQ,EAAE,WAA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AC;IAED,IAAI;QACH,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,aAAa,CAAC;QAC3D,MAAM,OAAO,GAAG,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACtC,OAAO,IAAI,CAAC,cAAc,EAAE,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC;IACxF,CAAC;CACD"}
@@ -0,0 +1,82 @@
1
+ import { Animation } from '../animation';
2
+ import { AnimationDefinition } from '../animation/animation-shared';
3
+ import type { View } from '../core/view';
4
+ export type TouchAnimationFn = (view: View) => void;
5
+ export type TouchAnimationOptions = {
6
+ up?: TouchAnimationFn | AnimationDefinition;
7
+ down?: TouchAnimationFn | AnimationDefinition;
8
+ };
9
+ export declare enum TouchAnimationTypes {
10
+ up = "up",
11
+ down = "down"
12
+ }
13
+ export type VisionHoverEffect = 'automatic' | 'highlight' | 'lift';
14
+ export type VisionHoverShape = 'circle' | 'rect';
15
+ export type VisionHoverOptions = {
16
+ effect: VisionHoverEffect;
17
+ shape?: VisionHoverShape;
18
+ shapeCornerRadius?: number;
19
+ };
20
+ /**
21
+ * Manage interactivity in your apps easily with TouchManager.
22
+ * Store reusable down/up animation settings for touches as well as optionally enable automatic tap (down/up) animations for your app.
23
+ */
24
+ export declare class TouchManager {
25
+ /**
26
+ * Enable animations for all tap bindings in the UI.
27
+ */
28
+ static enableGlobalTapAnimations: boolean;
29
+ /**
30
+ * (visionOS Only) Enable hoverStyle for all tap bindings in the UI.
31
+ */
32
+ static enableGlobalHoverWhereTap: boolean;
33
+ /**
34
+ * Define reusable hover styles keyed by name to use throughout your UI.
35
+ */
36
+ static visionHoverOptions: {
37
+ [key: string]: VisionHoverOptions;
38
+ };
39
+ /**
40
+ * Used internally - defines reusable UIHoverStyle's
41
+ */
42
+ static visionHoverStyleCache: {
43
+ [key: string]: UIHoverStyle;
44
+ };
45
+ /**
46
+ * Define reusable touch animations to use on views with touchAnimation defined or with enableGlobalTapAnimations on.
47
+ */
48
+ static animations: TouchAnimationOptions;
49
+ /**
50
+ * Native Touch handlers (iOS only) registered with the view through the TouchManager.
51
+ * The TouchManager uses this internally but makes public for other versatility if needed.
52
+ */
53
+ static touchHandlers: Array<{
54
+ view: View;
55
+ handler: any;
56
+ }>;
57
+ /**
58
+ * When using NativeScript AnimationDefinition's for touch animations this will contain any instances for finer grain control of starting/stopping under various circumstances.
59
+ * The TouchManager uses this internally but makes public for other versatility if needed.
60
+ */
61
+ static touchAnimationDefinitions: Array<{
62
+ view: View;
63
+ animation: Animation;
64
+ type: TouchAnimationTypes;
65
+ }>;
66
+ /**
67
+ * The TouchManager uses this internally.
68
+ * Adds touch animations to view based upon it's touchAnimation property or TouchManager.animations.
69
+ * @param view NativeScript view instance
70
+ */
71
+ static addAnimations(view: View): void;
72
+ static startAnimationForType(view: View, type: TouchAnimationTypes): void;
73
+ /**
74
+ * The TouchManager uses this internally.
75
+ * Adds visionOS hover styles to views based upon it's visionHoverStyle property
76
+ * @param view NativeScript view instance
77
+ */
78
+ static addHoverStyle(view: View): void;
79
+ }
80
+ export declare let TouchControlHandler: {
81
+ initWithOwner: (owner: WeakRef<View>) => any;
82
+ };