@nstudio/nativescript-compiler 0.0.0-stage → 9.2.0-alpha.9

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 (1610) hide show
  1. package/LICENSE +19 -0
  2. package/README.md +72 -2
  3. package/bin/build-dist.mjs +145 -0
  4. package/bin/ns-compiled-adapter.js +46 -0
  5. package/bin/ns-compiled-doctor.js +15 -0
  6. package/bin/ns-compiled-retrace.js +16 -0
  7. package/bin/ns-compiled-verify.js +15 -0
  8. package/bin/ns-compiled.js +26 -0
  9. package/bin/strip-types.js +18 -0
  10. package/config.d.ts +41 -0
  11. package/dist/adapters/active.js +59 -0
  12. package/dist/adapters/first-party.js +12 -0
  13. package/dist/adapters/framework.js +135 -0
  14. package/dist/adapters/hooks.js +115 -0
  15. package/dist/adapters/load.js +188 -0
  16. package/dist/api/adapter-api.js +2 -0
  17. package/dist/api/binding-api.js +11 -0
  18. package/dist/api/elements.js +21 -0
  19. package/dist/api/ir.js +29 -0
  20. package/dist/api/listview.js +27 -0
  21. package/dist/api/rewrite.js +98 -0
  22. package/dist/api/typescript-internal.d.ts +35 -0
  23. package/dist/cli/commands/compile-android.cjs +79 -0
  24. package/dist/cli/commands/compile-doctor.cjs +45 -0
  25. package/dist/cli/commands/compile-ios.cjs +77 -0
  26. package/dist/cli/commands/compile-retrace.cjs +40 -0
  27. package/dist/cli/commands/compile-verify.cjs +73 -0
  28. package/dist/cli/contracts.cjs +36 -0
  29. package/dist/cli/runtime.cjs +166 -0
  30. package/dist/css/css.js +118 -0
  31. package/dist/css/worker.js +242 -0
  32. package/dist/driver/cli.js +95 -0
  33. package/dist/driver/compile.js +571 -0
  34. package/dist/driver/contract.js +136 -0
  35. package/dist/driver/mirror.js +71 -0
  36. package/dist/driver/paths.js +19 -0
  37. package/dist/driver/preflight.js +206 -0
  38. package/dist/driver/toolchain.js +46 -0
  39. package/dist/driver/unimplemented.js +326 -0
  40. package/dist/kit/core-source.js +107 -0
  41. package/dist/kit/kit-index.js +105 -0
  42. package/dist/kit/manifest.js +468 -0
  43. package/dist/kit/overlay.js +56 -0
  44. package/dist/kit/swift-declarations.js +643 -0
  45. package/dist/kotlin/access.js +624 -0
  46. package/dist/kotlin/app-modules.js +111 -0
  47. package/dist/kotlin/arguments.js +397 -0
  48. package/dist/kotlin/assignment.js +226 -0
  49. package/dist/kotlin/builtins.js +575 -0
  50. package/dist/kotlin/calls.js +516 -0
  51. package/dist/kotlin/checked.js +61 -0
  52. package/dist/kotlin/class-accessors.js +129 -0
  53. package/dist/kotlin/class-constructor.js +117 -0
  54. package/dist/kotlin/class-declaration.js +308 -0
  55. package/dist/kotlin/class-fields.js +361 -0
  56. package/dist/kotlin/class-methods.js +213 -0
  57. package/dist/kotlin/classes.js +333 -0
  58. package/dist/kotlin/components.js +445 -0
  59. package/dist/kotlin/construction.js +228 -0
  60. package/dist/kotlin/control-flow.js +188 -0
  61. package/dist/kotlin/conversion.js +513 -0
  62. package/dist/kotlin/core-api.js +762 -0
  63. package/dist/kotlin/core-index.js +228 -0
  64. package/dist/kotlin/declarations.js +461 -0
  65. package/dist/kotlin/diagnostics.js +28 -0
  66. package/dist/kotlin/expression-statements.js +227 -0
  67. package/dist/kotlin/expressions.js +461 -0
  68. package/dist/kotlin/functions.js +474 -0
  69. package/dist/kotlin/global-calls.js +307 -0
  70. package/dist/kotlin/install.js +89 -0
  71. package/dist/kotlin/key-plans.js +117 -0
  72. package/dist/kotlin/kit-gen.js +581 -0
  73. package/dist/kotlin/ktfmt.js +60 -0
  74. package/dist/kotlin/library.js +62 -0
  75. package/dist/kotlin/literals.js +593 -0
  76. package/dist/kotlin/loops.js +184 -0
  77. package/dist/kotlin/mixins.js +103 -0
  78. package/dist/kotlin/modules.js +769 -0
  79. package/dist/kotlin/names.js +274 -0
  80. package/dist/kotlin/narrowing.js +180 -0
  81. package/dist/kotlin/native/api.js +117 -0
  82. package/dist/kotlin/native/bridging.js +254 -0
  83. package/dist/kotlin/native/calls.js +408 -0
  84. package/dist/kotlin/native/classfiles.js +524 -0
  85. package/dist/kotlin/native/classpath.js +32 -0
  86. package/dist/kotlin/native/conversions.js +280 -0
  87. package/dist/kotlin/native/extend.js +302 -0
  88. package/dist/kotlin/native/members.js +240 -0
  89. package/dist/kotlin/native/overloads.js +253 -0
  90. package/dist/kotlin/native/subclasses.js +378 -0
  91. package/dist/kotlin/native/types.js +421 -0
  92. package/dist/kotlin/operators.js +445 -0
  93. package/dist/kotlin/optional-chains.js +279 -0
  94. package/dist/kotlin/overrides.js +825 -0
  95. package/dist/kotlin/placement.js +746 -0
  96. package/dist/kotlin/prototype-calls.js +154 -0
  97. package/dist/kotlin/render.js +363 -0
  98. package/dist/kotlin/state-backend.js +123 -0
  99. package/dist/kotlin/statements.js +426 -0
  100. package/dist/kotlin/static-calls.js +296 -0
  101. package/dist/kotlin/syntax.js +689 -0
  102. package/dist/kotlin/translator-types.js +1 -0
  103. package/dist/kotlin/translator.js +806 -0
  104. package/dist/kotlin/type-facts.js +414 -0
  105. package/dist/kotlin/type-tests.js +250 -0
  106. package/dist/kotlin/types.js +655 -0
  107. package/dist/kotlin/untyped-values.js +354 -0
  108. package/dist/plugins/bindings-android.js +69 -0
  109. package/dist/plugins/bindings.js +93 -0
  110. package/dist/plugins/native-android.js +582 -0
  111. package/dist/plugins/native-ios.js +632 -0
  112. package/dist/plugins/resolve.js +108 -0
  113. package/dist/plugins/source.js +1040 -0
  114. package/dist/program/app-modules.js +52 -0
  115. package/dist/program/app-paths.js +60 -0
  116. package/dist/program/build-caches.js +14 -0
  117. package/dist/program/build-context.js +48 -0
  118. package/dist/program/constructor-factories.js +134 -0
  119. package/dist/program/core-facts.js +151 -0
  120. package/dist/program/core-patches.js +59 -0
  121. package/dist/program/env.js +4 -0
  122. package/dist/program/module-order.js +123 -0
  123. package/dist/program/order.js +23 -0
  124. package/dist/program/patterns.js +99 -0
  125. package/dist/program/platform.js +401 -0
  126. package/dist/program/program.js +726 -0
  127. package/dist/program/properties.js +61 -0
  128. package/dist/program/reach.js +444 -0
  129. package/dist/program/source-lines.js +268 -0
  130. package/dist/program/stable-names.js +112 -0
  131. package/dist/semantics/apis/api.js +31 -0
  132. package/dist/semantics/apis/array.js +69 -0
  133. package/dist/semantics/apis/bigint.js +53 -0
  134. package/dist/semantics/apis/console.js +29 -0
  135. package/dist/semantics/apis/date.js +7 -0
  136. package/dist/semantics/apis/globals.js +40 -0
  137. package/dist/semantics/apis/json.js +6 -0
  138. package/dist/semantics/apis/mapset.js +21 -0
  139. package/dist/semantics/apis/math.js +48 -0
  140. package/dist/semantics/apis/number.js +33 -0
  141. package/dist/semantics/apis/object.js +25 -0
  142. package/dist/semantics/apis/operators.js +316 -0
  143. package/dist/semantics/apis/promise.js +22 -0
  144. package/dist/semantics/apis/regexp.js +15 -0
  145. package/dist/semantics/apis/statics.js +61 -0
  146. package/dist/semantics/apis/string.js +45 -0
  147. package/dist/semantics/ast.js +315 -0
  148. package/dist/semantics/async.js +582 -0
  149. package/dist/semantics/class-plan.js +168 -0
  150. package/dist/semantics/classes.js +425 -0
  151. package/dist/semantics/config.js +29 -0
  152. package/dist/semantics/constant-init.js +107 -0
  153. package/dist/semantics/conversion.js +255 -0
  154. package/dist/semantics/decision-trace.js +304 -0
  155. package/dist/semantics/facts.js +433 -0
  156. package/dist/semantics/forms/by-name.js +338 -0
  157. package/dist/semantics/forms/flow.js +336 -0
  158. package/dist/semantics/forms/forms.js +311 -0
  159. package/dist/semantics/forms/observers.js +513 -0
  160. package/dist/semantics/forms/open.js +218 -0
  161. package/dist/semantics/forms/place-calls.js +387 -0
  162. package/dist/semantics/forms/placements.js +296 -0
  163. package/dist/semantics/forms/results.js +307 -0
  164. package/dist/semantics/forms/union-find.js +157 -0
  165. package/dist/semantics/globals.js +46 -0
  166. package/dist/semantics/lang/arrays.js +238 -0
  167. package/dist/semantics/lang/fields.js +211 -0
  168. package/dist/semantics/lang/members.js +277 -0
  169. package/dist/semantics/lang/prototypes.js +180 -0
  170. package/dist/semantics/lang/this-args.js +189 -0
  171. package/dist/semantics/lang.js +232 -0
  172. package/dist/semantics/ledger.js +157 -0
  173. package/dist/semantics/limits.js +11 -0
  174. package/dist/semantics/losses.js +201 -0
  175. package/dist/semantics/lowering-methods.js +42 -0
  176. package/dist/semantics/marks.js +39 -0
  177. package/dist/semantics/nullish.js +918 -0
  178. package/dist/semantics/observers.js +1 -0
  179. package/dist/semantics/placement.js +698 -0
  180. package/dist/semantics/platform-globals.js +20 -0
  181. package/dist/semantics/read-sites.js +29 -0
  182. package/dist/semantics/refusals.js +206 -0
  183. package/dist/semantics/refuse-construction.js +64 -0
  184. package/dist/semantics/refuse-receivers.js +189 -0
  185. package/dist/semantics/refuse-scope.js +82 -0
  186. package/dist/semantics/regexp.js +219 -0
  187. package/dist/semantics/result-shapes.js +203 -0
  188. package/dist/semantics/runtime.js +482 -0
  189. package/dist/semantics/shape-defined-keys.js +146 -0
  190. package/dist/semantics/shape-instance-keys.js +230 -0
  191. package/dist/semantics/shape-map.js +72 -0
  192. package/dist/semantics/shapes.js +660 -0
  193. package/dist/semantics/sharing.js +406 -0
  194. package/dist/semantics/signals.js +166 -0
  195. package/dist/semantics/spelled.js +45 -0
  196. package/dist/semantics/states/by-name.js +46 -0
  197. package/dist/semantics/states/elements.js +310 -0
  198. package/dist/semantics/states/fields.js +308 -0
  199. package/dist/semantics/states/foreign.js +208 -0
  200. package/dist/semantics/states/lenient.js +246 -0
  201. package/dist/semantics/states/missing.js +289 -0
  202. package/dist/semantics/states/nil.js +223 -0
  203. package/dist/semantics/states/parameters.js +191 -0
  204. package/dist/semantics/states/predicates.js +232 -0
  205. package/dist/semantics/states/reads.js +247 -0
  206. package/dist/semantics/states/results.js +113 -0
  207. package/dist/semantics/states/untrusted.js +141 -0
  208. package/dist/semantics/states/untyped.js +194 -0
  209. package/dist/semantics/states/value-states.js +422 -0
  210. package/dist/semantics/tdz.js +106 -0
  211. package/dist/semantics/threading.js +77 -0
  212. package/dist/semantics/throws.js +878 -0
  213. package/dist/semantics/top-names.js +59 -0
  214. package/dist/semantics/translator-methods.js +597 -0
  215. package/dist/semantics/trust.js +321 -0
  216. package/dist/semantics/type-methods.js +168 -0
  217. package/dist/semantics/type-step.js +116 -0
  218. package/dist/semantics/types.js +456 -0
  219. package/dist/semantics/worker-state.js +198 -0
  220. package/dist/swift/access.js +749 -0
  221. package/dist/swift/app-modules.js +41 -0
  222. package/dist/swift/arguments.js +236 -0
  223. package/dist/swift/assignment.js +270 -0
  224. package/dist/swift/availability.js +146 -0
  225. package/dist/swift/builtins.js +822 -0
  226. package/dist/swift/calls.js +493 -0
  227. package/dist/swift/casts.js +218 -0
  228. package/dist/swift/checked.js +433 -0
  229. package/dist/swift/class-accessors.js +139 -0
  230. package/dist/swift/class-constructor.js +139 -0
  231. package/dist/swift/class-declaration.js +282 -0
  232. package/dist/swift/class-fields.js +360 -0
  233. package/dist/swift/class-methods.js +229 -0
  234. package/dist/swift/classes.js +522 -0
  235. package/dist/swift/components.js +386 -0
  236. package/dist/swift/construction.js +287 -0
  237. package/dist/swift/control-flow.js +210 -0
  238. package/dist/swift/conversion.js +425 -0
  239. package/dist/swift/core-api.js +1068 -0
  240. package/dist/swift/declarations.js +389 -0
  241. package/dist/swift/enums.js +58 -0
  242. package/dist/swift/expression-statements.js +312 -0
  243. package/dist/swift/expressions.js +568 -0
  244. package/dist/swift/from-any.js +316 -0
  245. package/dist/swift/functions.js +487 -0
  246. package/dist/swift/generics.js +124 -0
  247. package/dist/swift/global-calls.js +217 -0
  248. package/dist/swift/install.js +109 -0
  249. package/dist/swift/key-plans.js +136 -0
  250. package/dist/swift/kit-gen.js +605 -0
  251. package/dist/swift/lenient.js +468 -0
  252. package/dist/swift/library.js +109 -0
  253. package/dist/swift/literals.js +509 -0
  254. package/dist/swift/loops.js +244 -0
  255. package/dist/swift/marks.js +212 -0
  256. package/dist/swift/members.js +253 -0
  257. package/dist/swift/method-values.js +177 -0
  258. package/dist/swift/mixins.js +113 -0
  259. package/dist/swift/modules.js +969 -0
  260. package/dist/swift/names.js +371 -0
  261. package/dist/swift/narrowing.js +170 -0
  262. package/dist/swift/native/api.js +269 -0
  263. package/dist/swift/native/bridging.js +240 -0
  264. package/dist/swift/native/calls.js +586 -0
  265. package/dist/swift/native/conversions.js +532 -0
  266. package/dist/swift/native/dispatch.js +218 -0
  267. package/dist/swift/native/members.js +416 -0
  268. package/dist/swift/native/sdk-tables.js +772 -0
  269. package/dist/swift/native/sdk-types.js +1 -0
  270. package/dist/swift/native/sdk.js +409 -0
  271. package/dist/swift/native/subclasses.js +533 -0
  272. package/dist/swift/object-classes.js +396 -0
  273. package/dist/swift/operators.js +571 -0
  274. package/dist/swift/optional-chains.js +405 -0
  275. package/dist/swift/parameters.js +210 -0
  276. package/dist/swift/placement.js +896 -0
  277. package/dist/swift/protocols.js +164 -0
  278. package/dist/swift/prototype-calls.js +227 -0
  279. package/dist/swift/render.js +385 -0
  280. package/dist/swift/results.js +370 -0
  281. package/dist/swift/state-backend.js +243 -0
  282. package/dist/swift/statements.js +505 -0
  283. package/dist/swift/static-calls.js +320 -0
  284. package/dist/swift/syntax.js +916 -0
  285. package/dist/swift/translator-types.js +1 -0
  286. package/dist/swift/translator.js +886 -0
  287. package/dist/swift/type-facts.js +539 -0
  288. package/dist/swift/type-tests.js +211 -0
  289. package/dist/swift/types.js +659 -0
  290. package/dist/targets/android/build.js +598 -0
  291. package/dist/targets/android/compose-mapping.js +218 -0
  292. package/dist/targets/android/deprecations.js +81 -0
  293. package/dist/targets/android/resources.js +80 -0
  294. package/dist/targets/ios/build.js +583 -0
  295. package/dist/targets/ios/core-native.js +149 -0
  296. package/dist/targets/ios/dependencies.js +464 -0
  297. package/dist/targets/ios/plist.js +127 -0
  298. package/dist/targets/ios/resources.js +285 -0
  299. package/dist/targets/ios/retrace.js +196 -0
  300. package/dist/targets/ios/signing.js +84 -0
  301. package/dist/targets/ios/xcodegen.js +39 -0
  302. package/dist/targets/resources.js +180 -0
  303. package/dist/template/model.js +38 -0
  304. package/dist/template/plan.js +576 -0
  305. package/dist/tools/doctor.js +172 -0
  306. package/dist/tools/retrace.js +116 -0
  307. package/dist/tools/verify.js +330 -0
  308. package/dist/types/adapter-api.d.ts +683 -0
  309. package/dist/types/binding-api.d.ts +48 -0
  310. package/dist/types/elements.d.ts +10 -0
  311. package/dist/types/ir.d.ts +245 -0
  312. package/dist/types/listview.d.ts +15 -0
  313. package/dist/types/rewrite.d.ts +18 -0
  314. package/dist/types/typescript-internal.d.ts +35 -0
  315. package/dist/xml/app.js +65 -0
  316. package/dist/xml/bindings.js +308 -0
  317. package/dist/xml/contexts.js +296 -0
  318. package/dist/xml/fold.js +170 -0
  319. package/dist/xml/keys.js +146 -0
  320. package/dist/xml/pages.js +550 -0
  321. package/dist/xml/plan.js +650 -0
  322. package/docs/CLI.md +131 -0
  323. package/docs/cli/compile-android.md +30 -0
  324. package/docs/cli/compile-doctor.md +18 -0
  325. package/docs/cli/compile-ios.md +30 -0
  326. package/docs/cli/compile-retrace.md +18 -0
  327. package/docs/cli/compile-verify.md +18 -0
  328. package/docs/cli/compile.md +15 -0
  329. package/kit-android/build.gradle.kts +65 -0
  330. package/kit-android/consumer-rules.pro +7 -0
  331. package/kit-android/generated/kotlin/org/nativescript/kit/__Exports.kt +966 -0
  332. package/kit-android/generated/kotlin/org/nativescript/kit/__Modules.kt +125 -0
  333. package/kit-android/generated/kotlin/org/nativescript/kit/__Objects.kt +39497 -0
  334. package/kit-android/generated/kotlin/org/nativescript/kit/abortcontroller_abortsignal.kt +101 -0
  335. package/kit-android/generated/kotlin/org/nativescript/kit/abortcontroller_index.kt +109 -0
  336. package/kit-android/generated/kotlin/org/nativescript/kit/accessibility_accessibility_common.kt +547 -0
  337. package/kit-android/generated/kotlin/org/nativescript/kit/accessibility_accessibility_properties.kt +263 -0
  338. package/kit-android/generated/kotlin/org/nativescript/kit/accessibility_index.kt +6 -0
  339. package/kit-android/generated/kotlin/org/nativescript/kit/application_application.kt +2656 -0
  340. package/kit-android/generated/kotlin/org/nativescript/kit/application_application_common.kt +1932 -0
  341. package/kit-android/generated/kotlin/org/nativescript/kit/application_application_interfaces.kt +6 -0
  342. package/kit-android/generated/kotlin/org/nativescript/kit/application_application_shims.kt +111 -0
  343. package/kit-android/generated/kotlin/org/nativescript/kit/application_helpers.kt +198 -0
  344. package/kit-android/generated/kotlin/org/nativescript/kit/application_helpers_common.kt +270 -0
  345. package/kit-android/generated/kotlin/org/nativescript/kit/application_index.kt +6 -0
  346. package/kit-android/generated/kotlin/org/nativescript/kit/application_scene_delegate_bridge.kt +233 -0
  347. package/kit-android/generated/kotlin/org/nativescript/kit/application_settings_application_settings_common.kt +28 -0
  348. package/kit-android/generated/kotlin/org/nativescript/kit/application_settings_index.kt +188 -0
  349. package/kit-android/generated/kotlin/org/nativescript/kit/color_color_common.kt +707 -0
  350. package/kit-android/generated/kotlin/org/nativescript/kit/color_color_types.kt +6 -0
  351. package/kit-android/generated/kotlin/org/nativescript/kit/color_color_utils.kt +368 -0
  352. package/kit-android/generated/kotlin/org/nativescript/kit/color_index.kt +37 -0
  353. package/kit-android/generated/kotlin/org/nativescript/kit/color_known_colors.kt +418 -0
  354. package/kit-android/generated/kotlin/org/nativescript/kit/com.tns.FragmentClass.kt +287 -0
  355. package/kit-android/generated/kotlin/org/nativescript/kit/com.tns.NativeScriptActivity.kt +263 -0
  356. package/kit-android/generated/kotlin/org/nativescript/kit/com.tns.OnBackPressedCallback.kt +116 -0
  357. package/kit-android/generated/kotlin/org/nativescript/kit/connectivity_index.kt +289 -0
  358. package/kit-android/generated/kotlin/org/nativescript/kit/core_types_animation_types.kt +56 -0
  359. package/kit-android/generated/kotlin/org/nativescript/kit/core_types_index.kt +427 -0
  360. package/kit-android/generated/kotlin/org/nativescript/kit/core_types_validators.kt +34 -0
  361. package/kit-android/generated/kotlin/org/nativescript/kit/css_CSS3Parser.kt +954 -0
  362. package/kit-android/generated/kotlin/org/nativescript/kit/css_CSSNativeScript.kt +205 -0
  363. package/kit-android/generated/kotlin/org/nativescript/kit/css_mediaquery_index.kt +270 -0
  364. package/kit-android/generated/kotlin/org/nativescript/kit/css_parser.kt +885 -0
  365. package/kit-android/generated/kotlin/org/nativescript/kit/css_system_classes.kt +98 -0
  366. package/kit-android/generated/kotlin/org/nativescript/kit/css_value_reworkcss_value.kt +214 -0
  367. package/kit-android/generated/kotlin/org/nativescript/kit/data_observable_array_index.kt +798 -0
  368. package/kit-android/generated/kotlin/org/nativescript/kit/data_observable_index.kt +1175 -0
  369. package/kit-android/generated/kotlin/org/nativescript/kit/data_virtual_array_index.kt +271 -0
  370. package/kit-android/generated/kotlin/org/nativescript/kit/file_system_file_system_access.kt +3828 -0
  371. package/kit-android/generated/kotlin/org/nativescript/kit/file_system_index.kt +1669 -0
  372. package/kit-android/generated/kotlin/org/nativescript/kit/fps_meter_fps_native.kt +177 -0
  373. package/kit-android/generated/kotlin/org/nativescript/kit/fps_meter_index.kt +93 -0
  374. package/kit-android/generated/kotlin/org/nativescript/kit/globals_global_utils.kt +185 -0
  375. package/kit-android/generated/kotlin/org/nativescript/kit/http_http_interfaces.kt +14 -0
  376. package/kit-android/generated/kotlin/org/nativescript/kit/http_http_request_http_request_common.kt +41 -0
  377. package/kit-android/generated/kotlin/org/nativescript/kit/http_http_request_index.kt +119 -0
  378. package/kit-android/generated/kotlin/org/nativescript/kit/http_http_request_internal_http_request_internal_common.kt +61 -0
  379. package/kit-android/generated/kotlin/org/nativescript/kit/http_http_request_internal_index.kt +237 -0
  380. package/kit-android/generated/kotlin/org/nativescript/kit/http_index.kt +155 -0
  381. package/kit-android/generated/kotlin/org/nativescript/kit/image_asset_image_asset_common.kt +201 -0
  382. package/kit-android/generated/kotlin/org/nativescript/kit/image_asset_index.kt +119 -0
  383. package/kit-android/generated/kotlin/org/nativescript/kit/image_source_image_source_common.kt +26 -0
  384. package/kit-android/generated/kotlin/org/nativescript/kit/image_source_index.kt +846 -0
  385. package/kit-android/generated/kotlin/org/nativescript/kit/js_libs_easysax_easysax.kt +1045 -0
  386. package/kit-android/generated/kotlin/org/nativescript/kit/matrix_index.kt +166 -0
  387. package/kit-android/generated/kotlin/org/nativescript/kit/media_query_list_index.kt +391 -0
  388. package/kit-android/generated/kotlin/org/nativescript/kit/module_name_resolver_helpers.kt +45 -0
  389. package/kit-android/generated/kotlin/org/nativescript/kit/module_name_resolver_index.kt +185 -0
  390. package/kit-android/generated/kotlin/org/nativescript/kit/module_name_resolver_non_bundle_workflow_compat.kt +262 -0
  391. package/kit-android/generated/kotlin/org/nativescript/kit/module_name_resolver_qualifier_matcher_index.kt +305 -0
  392. package/kit-android/generated/kotlin/org/nativescript/kit/native_window_index.kt +6 -0
  393. package/kit-android/generated/kotlin/org/nativescript/kit/native_window_native_window.kt +397 -0
  394. package/kit-android/generated/kotlin/org/nativescript/kit/native_window_native_window_common.kt +685 -0
  395. package/kit-android/generated/kotlin/org/nativescript/kit/native_window_native_window_interfaces.kt +51 -0
  396. package/kit-android/generated/kotlin/org/nativescript/kit/native_window_window_base.kt +223 -0
  397. package/kit-android/generated/kotlin/org/nativescript/kit/npm_css_what_src_index.kt +4 -0
  398. package/kit-android/generated/kotlin/org/nativescript/kit/npm_css_what_src_parse.kt +755 -0
  399. package/kit-android/generated/kotlin/org/nativescript/kit/npm_css_what_src_stringify.kt +212 -0
  400. package/kit-android/generated/kotlin/org/nativescript/kit/npm_css_what_src_types.kt +65 -0
  401. package/kit-android/generated/kotlin/org/nativescript/kit/org.nativescript.NativeScriptComponentCallbacks.kt +57 -0
  402. package/kit-android/generated/kotlin/org/nativescript/kit/org.nativescript.NativeScriptLifecycleCallbacks.kt +579 -0
  403. package/kit-android/generated/kotlin/org/nativescript/kit/platform_common.kt +20 -0
  404. package/kit-android/generated/kotlin/org/nativescript/kit/platform_device_index.kt +251 -0
  405. package/kit-android/generated/kotlin/org/nativescript/kit/platform_index.kt +6 -0
  406. package/kit-android/generated/kotlin/org/nativescript/kit/platform_screen_index.kt +183 -0
  407. package/kit-android/generated/kotlin/org/nativescript/kit/profiling_index.kt +485 -0
  408. package/kit-android/generated/kotlin/org/nativescript/kit/text_formatted_string.kt +6 -0
  409. package/kit-android/generated/kotlin/org/nativescript/kit/text_index.kt +15 -0
  410. package/kit-android/generated/kotlin/org/nativescript/kit/text_span.kt +6 -0
  411. package/kit-android/generated/kotlin/org/nativescript/kit/text_text_common.kt +277 -0
  412. package/kit-android/generated/kotlin/org/nativescript/kit/trace_index.kt +480 -0
  413. package/kit-android/generated/kotlin/org/nativescript/kit/ui_action_bar_action_bar_common.kt +1081 -0
  414. package/kit-android/generated/kotlin/org/nativescript/kit/ui_action_bar_index.kt +1207 -0
  415. package/kit-android/generated/kotlin/org/nativescript/kit/ui_activity_indicator_activity_indicator_common.kt +89 -0
  416. package/kit-android/generated/kotlin/org/nativescript/kit/ui_activity_indicator_index.kt +171 -0
  417. package/kit-android/generated/kotlin/org/nativescript/kit/ui_animation_animation_common.kt +518 -0
  418. package/kit-android/generated/kotlin/org/nativescript/kit/ui_animation_animation_shared.kt +6 -0
  419. package/kit-android/generated/kotlin/org/nativescript/kit/ui_animation_animation_types.kt +6 -0
  420. package/kit-android/generated/kotlin/org/nativescript/kit/ui_animation_index.kt +1539 -0
  421. package/kit-android/generated/kotlin/org/nativescript/kit/ui_animation_keyframe_animation.kt +1081 -0
  422. package/kit-android/generated/kotlin/org/nativescript/kit/ui_builder_binding_builder.kt +369 -0
  423. package/kit-android/generated/kotlin/org/nativescript/kit/ui_builder_component_builder_index.kt +487 -0
  424. package/kit-android/generated/kotlin/org/nativescript/kit/ui_builder_index.kt +1938 -0
  425. package/kit-android/generated/kotlin/org/nativescript/kit/ui_button_button_common.kt +70 -0
  426. package/kit-android/generated/kotlin/org/nativescript/kit/ui_button_index.kt +367 -0
  427. package/kit-android/generated/kotlin/org/nativescript/kit/ui_content_view_index.kt +220 -0
  428. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_bindable_bindable_expressions.kt +735 -0
  429. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_bindable_bindable_resources.kt +17 -0
  430. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_bindable_bindable_types.kt +6 -0
  431. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_bindable_expression_parser.kt +4970 -0
  432. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_bindable_index.kt +1342 -0
  433. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_control_state_change_index.kt +52 -0
  434. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_properties_index.kt +3578 -0
  435. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_properties_property_shared.kt +44 -0
  436. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_view_base_index.kt +3261 -0
  437. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_view_base_utils.kt +16 -0
  438. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_view_index.kt +4716 -0
  439. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_view_overflow_edges.kt +82 -0
  440. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_view_view_common.kt +3597 -0
  441. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_view_view_helper_index.kt +134 -0
  442. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_view_view_helper_view_helper_common.kt +360 -0
  443. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_view_view_helper_view_helper_shared.kt +6 -0
  444. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_view_view_interfaces.kt +349 -0
  445. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_weak_event_listener_index.kt +266 -0
  446. package/kit-android/generated/kotlin/org/nativescript/kit/ui_date_picker_date_picker_common.kt +369 -0
  447. package/kit-android/generated/kotlin/org/nativescript/kit/ui_date_picker_index.kt +427 -0
  448. package/kit-android/generated/kotlin/org/nativescript/kit/ui_dialogs_dialogs_common.kt +428 -0
  449. package/kit-android/generated/kotlin/org/nativescript/kit/ui_dialogs_index.kt +689 -0
  450. package/kit-android/generated/kotlin/org/nativescript/kit/ui_editable_text_base_editable_text_base_common.kt +421 -0
  451. package/kit-android/generated/kotlin/org/nativescript/kit/ui_editable_text_base_index.kt +1140 -0
  452. package/kit-android/generated/kotlin/org/nativescript/kit/ui_embedding_index.kt +34 -0
  453. package/kit-android/generated/kotlin/org/nativescript/kit/ui_enums_enums.kt +6 -0
  454. package/kit-android/generated/kotlin/org/nativescript/kit/ui_enums_index.kt +6 -0
  455. package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_activity.kt +210 -0
  456. package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_fragment.kt +88 -0
  457. package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_fragment_transitions.kt +1544 -0
  458. package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_fragment_transitions_types.kt +25 -0
  459. package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_frame_common.kt +1350 -0
  460. package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_frame_constants.kt +10 -0
  461. package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_frame_helper_for_android.kt +615 -0
  462. package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_frame_helpers.kt +42 -0
  463. package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_frame_interfaces.kt +22 -0
  464. package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_frame_stack.kt +112 -0
  465. package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_index.kt +1890 -0
  466. package/kit-android/generated/kotlin/org/nativescript/kit/ui_gestures_gestures_common.kt +208 -0
  467. package/kit-android/generated/kotlin/org/nativescript/kit/ui_gestures_gestures_types.kt +348 -0
  468. package/kit-android/generated/kotlin/org/nativescript/kit/ui_gestures_index.kt +1785 -0
  469. package/kit-android/generated/kotlin/org/nativescript/kit/ui_gestures_touch_manager.kt +288 -0
  470. package/kit-android/generated/kotlin/org/nativescript/kit/ui_html_view_html_view_common.kt +121 -0
  471. package/kit-android/generated/kotlin/org/nativescript/kit/ui_html_view_index.kt +283 -0
  472. package/kit-android/generated/kotlin/org/nativescript/kit/ui_image_cache_image_cache_common.kt +450 -0
  473. package/kit-android/generated/kotlin/org/nativescript/kit/ui_image_cache_index.kt +225 -0
  474. package/kit-android/generated/kotlin/org/nativescript/kit/ui_image_image_common.kt +574 -0
  475. package/kit-android/generated/kotlin/org/nativescript/kit/ui_image_index.kt +493 -0
  476. package/kit-android/generated/kotlin/org/nativescript/kit/ui_image_symbol_effects.kt +31 -0
  477. package/kit-android/generated/kotlin/org/nativescript/kit/ui_image_symbol_effects_common.kt +138 -0
  478. package/kit-android/generated/kotlin/org/nativescript/kit/ui_label_index.kt +108 -0
  479. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_absolute_layout_absolute_layout_common.kt +167 -0
  480. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_absolute_layout_index.kt +94 -0
  481. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_dock_layout_dock_layout_common.kt +157 -0
  482. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_dock_layout_index.kt +124 -0
  483. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_flexbox_layout_flexbox_layout_common.kt +1004 -0
  484. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_flexbox_layout_index.kt +675 -0
  485. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_grid_layout_grid_layout_common.kt +1011 -0
  486. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_grid_layout_index.kt +450 -0
  487. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_index.kt +6 -0
  488. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_layout_base.kt +123 -0
  489. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_layout_base_common.kt +442 -0
  490. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_liquid_glass_container_index.kt +25 -0
  491. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_liquid_glass_container_liquid_glass_container_common.kt +38 -0
  492. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_liquid_glass_index.kt +30 -0
  493. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_liquid_glass_liquid_glass_common.kt +25 -0
  494. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_root_layout_index.kt +556 -0
  495. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_root_layout_root_layout_common.kt +930 -0
  496. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_root_layout_root_layout_stack.kt +49 -0
  497. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_stack_layout_index.kt +63 -0
  498. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_stack_layout_stack_layout_common.kt +83 -0
  499. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_wrap_layout_index.kt +106 -0
  500. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_wrap_layout_wrap_layout_common.kt +185 -0
  501. package/kit-android/generated/kotlin/org/nativescript/kit/ui_list_picker_index.kt +400 -0
  502. package/kit-android/generated/kotlin/org/nativescript/kit/ui_list_picker_list_picker_common.kt +260 -0
  503. package/kit-android/generated/kotlin/org/nativescript/kit/ui_list_view_index.kt +2406 -0
  504. package/kit-android/generated/kotlin/org/nativescript/kit/ui_list_view_list_view_common.kt +912 -0
  505. package/kit-android/generated/kotlin/org/nativescript/kit/ui_page_events.kt +17 -0
  506. package/kit-android/generated/kotlin/org/nativescript/kit/ui_page_index.kt +241 -0
  507. package/kit-android/generated/kotlin/org/nativescript/kit/ui_page_page_common.kt +449 -0
  508. package/kit-android/generated/kotlin/org/nativescript/kit/ui_placeholder_index.kt +61 -0
  509. package/kit-android/generated/kotlin/org/nativescript/kit/ui_placeholder_placeholder_common.kt +6 -0
  510. package/kit-android/generated/kotlin/org/nativescript/kit/ui_progress_index.kt +204 -0
  511. package/kit-android/generated/kotlin/org/nativescript/kit/ui_progress_progress_common.kt +129 -0
  512. package/kit-android/generated/kotlin/org/nativescript/kit/ui_proxy_view_container_index.kt +457 -0
  513. package/kit-android/generated/kotlin/org/nativescript/kit/ui_repeater_index.kt +523 -0
  514. package/kit-android/generated/kotlin/org/nativescript/kit/ui_scroll_view_index.kt +400 -0
  515. package/kit-android/generated/kotlin/org/nativescript/kit/ui_scroll_view_scroll_view_common.kt +402 -0
  516. package/kit-android/generated/kotlin/org/nativescript/kit/ui_search_bar_index.kt +711 -0
  517. package/kit-android/generated/kotlin/org/nativescript/kit/ui_search_bar_search_bar_common.kt +186 -0
  518. package/kit-android/generated/kotlin/org/nativescript/kit/ui_segmented_bar_index.kt +774 -0
  519. package/kit-android/generated/kotlin/org/nativescript/kit/ui_segmented_bar_segmented_bar_common.kt +409 -0
  520. package/kit-android/generated/kotlin/org/nativescript/kit/ui_slider_index.kt +477 -0
  521. package/kit-android/generated/kotlin/org/nativescript/kit/ui_slider_slider_common.kt +234 -0
  522. package/kit-android/generated/kotlin/org/nativescript/kit/ui_split_view_index.kt +25 -0
  523. package/kit-android/generated/kotlin/org/nativescript/kit/ui_split_view_split_view_common.kt +446 -0
  524. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_background.kt +268 -0
  525. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_background_common.kt +771 -0
  526. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_box_shadow.kt +108 -0
  527. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_clip_path_function.kt +129 -0
  528. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_converters.kt +92 -0
  529. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_css_animation_parser.kt +416 -0
  530. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_css_selector.kt +3532 -0
  531. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_css_shadow.kt +38 -0
  532. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_css_stroke.kt +30 -0
  533. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_css_transform.kt +366 -0
  534. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_css_utils.kt +249 -0
  535. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_font.kt +488 -0
  536. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_font_common.kt +446 -0
  537. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_font_interfaces.kt +6 -0
  538. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_length_shared.kt +264 -0
  539. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_linear_gradient.kt +136 -0
  540. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_style_index.kt +1345 -0
  541. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_style_properties.kt +2907 -0
  542. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_style_scope.kt +3031 -0
  543. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_styling_profile.kt +6 -0
  544. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_styling_shared.kt +6 -0
  545. package/kit-android/generated/kotlin/org/nativescript/kit/ui_switch_index.kt +295 -0
  546. package/kit-android/generated/kotlin/org/nativescript/kit/ui_switch_switch_common.kt +139 -0
  547. package/kit-android/generated/kotlin/org/nativescript/kit/ui_tab_view_index.kt +1977 -0
  548. package/kit-android/generated/kotlin/org/nativescript/kit/ui_tab_view_tab_view_common.kt +902 -0
  549. package/kit-android/generated/kotlin/org/nativescript/kit/ui_text_base_formatted_string.kt +471 -0
  550. package/kit-android/generated/kotlin/org/nativescript/kit/ui_text_base_index.kt +1662 -0
  551. package/kit-android/generated/kotlin/org/nativescript/kit/ui_text_base_span.kt +284 -0
  552. package/kit-android/generated/kotlin/org/nativescript/kit/ui_text_base_text_base_common.kt +792 -0
  553. package/kit-android/generated/kotlin/org/nativescript/kit/ui_text_field_index.kt +211 -0
  554. package/kit-android/generated/kotlin/org/nativescript/kit/ui_text_field_text_field_common.kt +115 -0
  555. package/kit-android/generated/kotlin/org/nativescript/kit/ui_text_view_index.kt +94 -0
  556. package/kit-android/generated/kotlin/org/nativescript/kit/ui_text_view_text_view_common.kt +140 -0
  557. package/kit-android/generated/kotlin/org/nativescript/kit/ui_time_picker_index.kt +225 -0
  558. package/kit-android/generated/kotlin/org/nativescript/kit/ui_time_picker_time_picker_common.kt +699 -0
  559. package/kit-android/generated/kotlin/org/nativescript/kit/ui_transition_fade_transition.kt +68 -0
  560. package/kit-android/generated/kotlin/org/nativescript/kit/ui_transition_flip_transition.kt +209 -0
  561. package/kit-android/generated/kotlin/org/nativescript/kit/ui_transition_index.kt +160 -0
  562. package/kit-android/generated/kotlin/org/nativescript/kit/ui_transition_modal_transition.kt +49 -0
  563. package/kit-android/generated/kotlin/org/nativescript/kit/ui_transition_page_transition.kt +416 -0
  564. package/kit-android/generated/kotlin/org/nativescript/kit/ui_transition_shared_transition.kt +457 -0
  565. package/kit-android/generated/kotlin/org/nativescript/kit/ui_transition_shared_transition_helper.kt +46 -0
  566. package/kit-android/generated/kotlin/org/nativescript/kit/ui_transition_slide_transition.kt +294 -0
  567. package/kit-android/generated/kotlin/org/nativescript/kit/ui_utils.kt +20 -0
  568. package/kit-android/generated/kotlin/org/nativescript/kit/ui_web_view_index.kt +595 -0
  569. package/kit-android/generated/kotlin/org/nativescript/kit/ui_web_view_web_view_common.kt +209 -0
  570. package/kit-android/generated/kotlin/org/nativescript/kit/ui_web_view_web_view_interfaces.kt +6 -0
  571. package/kit-android/generated/kotlin/org/nativescript/kit/utils_animation_helpers.kt +76 -0
  572. package/kit-android/generated/kotlin/org/nativescript/kit/utils_common.kt +224 -0
  573. package/kit-android/generated/kotlin/org/nativescript/kit/utils_constants.kt +22 -0
  574. package/kit-android/generated/kotlin/org/nativescript/kit/utils_debug.kt +9 -0
  575. package/kit-android/generated/kotlin/org/nativescript/kit/utils_debug_source.kt +246 -0
  576. package/kit-android/generated/kotlin/org/nativescript/kit/utils_index.kt +296 -0
  577. package/kit-android/generated/kotlin/org/nativescript/kit/utils_layout_helper_index.kt +139 -0
  578. package/kit-android/generated/kotlin/org/nativescript/kit/utils_layout_helper_layout_helper_common.kt +61 -0
  579. package/kit-android/generated/kotlin/org/nativescript/kit/utils_layout_helper_layout_helper_shared.kt +23 -0
  580. package/kit-android/generated/kotlin/org/nativescript/kit/utils_lazy.kt +20 -0
  581. package/kit-android/generated/kotlin/org/nativescript/kit/utils_macrotask_scheduler.kt +45 -0
  582. package/kit-android/generated/kotlin/org/nativescript/kit/utils_mainthread_helper.kt +64 -0
  583. package/kit-android/generated/kotlin/org/nativescript/kit/utils_module_merge.kt +13 -0
  584. package/kit-android/generated/kotlin/org/nativescript/kit/utils_native_helper.kt +79 -0
  585. package/kit-android/generated/kotlin/org/nativescript/kit/utils_native_helper_for_android.kt +805 -0
  586. package/kit-android/generated/kotlin/org/nativescript/kit/utils_number_utils.kt +66 -0
  587. package/kit-android/generated/kotlin/org/nativescript/kit/utils_platform_check.kt +15 -0
  588. package/kit-android/generated/kotlin/org/nativescript/kit/utils_shared.kt +65 -0
  589. package/kit-android/generated/kotlin/org/nativescript/kit/utils_types.kt +229 -0
  590. package/kit-android/generated/kotlin/org/nativescript/kit/utils_utils_shared.kt +16 -0
  591. package/kit-android/generated/kotlin/org/nativescript/kit/xml_index.kt +869 -0
  592. package/kit-android/generated/manifest.json +860 -0
  593. package/kit-android/generated/source-lines.json +1 -0
  594. package/kit-android/gradle/wrapper/gradle-wrapper.jar +0 -0
  595. package/kit-android/gradle/wrapper/gradle-wrapper.properties +6 -0
  596. package/kit-android/gradlew +240 -0
  597. package/kit-android/overlays/xml-free/kotlin/org/nativescript/kit/ui_builder_index.kt +524 -0
  598. package/kit-android/overlays/xml-free/kotlin/org/nativescript/kit/ui_core_bindable_index.kt +1335 -0
  599. package/kit-android/overlays/xml-free/overlay.json +20 -0
  600. package/kit-android/src/fromcore/kotlin/org/nativescript/kit/AnimationFrame.kt +68 -0
  601. package/kit-android/src/fromcore/kotlin/org/nativescript/kit/CoreBridge.kt +302 -0
  602. package/kit-android/src/fromcore/kotlin/org/nativescript/kit/Modal.kt +61 -0
  603. package/kit-android/src/fromcore/kotlin/org/nativescript/kit/NativeScriptApplication.kt +230 -0
  604. package/kit-android/src/fromcore/kotlin/org/nativescript/kit/Regions.kt +289 -0
  605. package/kit-android/src/main/kotlin/org/nativescript/kit/ChangeDetection.kt +28 -0
  606. package/kit-android/src/main/kotlin/org/nativescript/kit/ColorMix.kt +643 -0
  607. package/kit-android/src/main/kotlin/org/nativescript/kit/JS.kt +10 -0
  608. package/kit-android/src/main/kotlin/org/nativescript/kit/MainThread.kt +10 -0
  609. package/kit-android/src/main/kotlin/org/nativescript/kit/Signals.kt +866 -0
  610. package/kit-android/src/main/kotlin/org/nativescript/kit/UncaughtErrors.kt +51 -0
  611. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Array.kt +731 -0
  612. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/ArrayLike.kt +781 -0
  613. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/BigInt.kt +136 -0
  614. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/CSSCalc.kt +109 -0
  615. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Collections.kt +426 -0
  616. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/CorePackages.kt +13 -0
  617. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Date.kt +573 -0
  618. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Dynamic.kt +668 -0
  619. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/ES2023.kt +93 -0
  620. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/ErrorOrigin.kt +17 -0
  621. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Errors.kt +270 -0
  622. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/HostObjects.kt +72 -0
  623. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Inspect.kt +814 -0
  624. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Intl.kt +651 -0
  625. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Iterators.kt +746 -0
  626. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/JSON.kt +587 -0
  627. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Language.kt +518 -0
  628. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Lowering.kt +70 -0
  629. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Number.kt +367 -0
  630. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Promise.kt +680 -0
  631. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Prototypes.kt +292 -0
  632. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Reactive.kt +36 -0
  633. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Realm.kt +85 -0
  634. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/RegExp.kt +2245 -0
  635. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/ShortestDouble.kt +157 -0
  636. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Strings.kt +398 -0
  637. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/ThrownValue.kt +34 -0
  638. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Timers.kt +182 -0
  639. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/TypedArrays.kt +993 -0
  640. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/URI.kt +74 -0
  641. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Values.kt +1237 -0
  642. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Views.kt +52 -0
  643. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Weak.kt +110 -0
  644. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/WinterTC.kt +356 -0
  645. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Workers.kt +312 -0
  646. package/kit-apple/Overlays/xml-free/Core/ui.builder.index.swift +536 -0
  647. package/kit-apple/Overlays/xml-free/Core/ui.core.bindable.index.swift +1375 -0
  648. package/kit-apple/Overlays/xml-free/overlay.json +34 -0
  649. package/kit-apple/Package.swift +17 -0
  650. package/kit-apple/Sources/NativeScriptKit/AnimationFrame.swift +41 -0
  651. package/kit-apple/Sources/NativeScriptKit/AppModules.swift +88 -0
  652. package/kit-apple/Sources/NativeScriptKit/ApplicationDelegateClass.swift +273 -0
  653. package/kit-apple/Sources/NativeScriptKit/CSSCalc.swift +111 -0
  654. package/kit-apple/Sources/NativeScriptKit/ChangeDetection.swift +31 -0
  655. package/kit-apple/Sources/NativeScriptKit/ColorMix.swift +577 -0
  656. package/kit-apple/Sources/NativeScriptKit/Core/FunctionCells.Arity0.swift +1413 -0
  657. package/kit-apple/Sources/NativeScriptKit/Core/FunctionCells.Arity1.swift +6525 -0
  658. package/kit-apple/Sources/NativeScriptKit/Core/FunctionCells.Arity2.swift +4713 -0
  659. package/kit-apple/Sources/NativeScriptKit/Core/FunctionCells.Arity3Plus.swift +5428 -0
  660. package/kit-apple/Sources/NativeScriptKit/Core/Object_Accuracy_AndroidActionBarIconVisibility_AndroidActionItemPosition_AnimationCurve_AutocapitalizationType_BackgroundRepeat_and_26_more_630c32.swift +472 -0
  661. package/kit-apple/Sources/NativeScriptKit/Core/Object_ArrayExpression_BinaryExpression_CallExpression_ChainExpression_ConditionalExpression_Identifier_and_10_more_f883bf.swift +359 -0
  662. package/kit-apple/Sources/NativeScriptKit/Core/Object_Tab_NewLine_excl_quot_QUOT_num_and_287_more_88aef2.swift +2190 -0
  663. package/kit-apple/Sources/NativeScriptKit/Core/Object_Unknown_QuirksMode_IgnoreCase_CaseSensitive.swift +122 -0
  664. package/kit-apple/Sources/NativeScriptKit/Core/Object_a_b_c_d_tx_ty.swift +123 -0
  665. package/kit-apple/Sources/NativeScriptKit/Core/Object_a_h_s_l.swift +85 -0
  666. package/kit-apple/Sources/NativeScriptKit/Core/Object_a_h_s_v.swift +85 -0
  667. package/kit-apple/Sources/NativeScriptKit/Core/Object_a_r_g_b.swift +85 -0
  668. package/kit-apple/Sources/NativeScriptKit/Core/Object_activate_deactivate_background_foreground_close_attached_and_26_more_127a37.swift +448 -0
  669. package/kit-apple/Sources/NativeScriptKit/Core/Object_activeType.swift +65 -0
  670. package/kit-apple/Sources/NativeScriptKit/Core/Object_alert_confirm_prompt_login_action.swift +118 -0
  671. package/kit-apple/Sources/NativeScriptKit/Core/Object_align_offset.swift +94 -0
  672. package/kit-apple/Sources/NativeScriptKit/Core/Object_android_ios_visionos_apple.swift +109 -0
  673. package/kit-apple/Sources/NativeScriptKit/Core/Object_angle_colors.swift +81 -0
  674. package/kit-apple/Sources/NativeScriptKit/Core/Object_animations.swift +66 -0
  675. package/kit-apple/Sources/NativeScriptKit/Core/Object_animations_completion.swift +73 -0
  676. package/kit-apple/Sources/NativeScriptKit/Core/Object_axis_value.swift +80 -0
  677. package/kit-apple/Sources/NativeScriptKit/Core/Object_backgroundColor_scale_translate_rotate_opacity_width_height_valueSource_duration_curve_forceLayer.swift +257 -0
  678. package/kit-apple/Sources/NativeScriptKit/Core/Object_body.swift +78 -0
  679. package/kit-apple/Sources/NativeScriptKit/Core/Object_boundsChanged_sizeChanged.swift +80 -0
  680. package/kit-apple/Sources/NativeScriptKit/Core/Object_callback_thisArg_once.swift +112 -0
  681. package/kit-apple/Sources/NativeScriptKit/Core/Object_collections_createUIDocumentInteractionControllerDelegate_getCurrentAppPath_getRootViewController_getVisibleViewController_getWindow_and_10_more_6713a9.swift +281 -0
  682. package/kit-apple/Sources/NativeScriptKit/Core/Object_color.swift +64 -0
  683. package/kit-apple/Sources/NativeScriptKit/Core/Object_color_backgroundColor.swift +81 -0
  684. package/kit-apple/Sources/NativeScriptKit/Core/Object_color_offset.swift +94 -0
  685. package/kit-apple/Sources/NativeScriptKit/Core/Object_component_exports.swift +95 -0
  686. package/kit-apple/Sources/NativeScriptKit/Core/Object_component_exports_.swift +94 -0
  687. package/kit-apple/Sources/NativeScriptKit/Core/Object_connectionOptions.swift +66 -0
  688. package/kit-apple/Sources/NativeScriptKit/Core/Object_constructor_hasOwnProperty_isPrototypeOf_propertyIsEnumerable_toLocaleString_toString_and_21_more_e9ed9b.swift +331 -0
  689. package/kit-apple/Sources/NativeScriptKit/Core/Object_content_statusCode_headers.swift +106 -0
  690. package/kit-apple/Sources/NativeScriptKit/Core/Object_context_closeCallback_fullscreen_animated_stretched.swift +149 -0
  691. package/kit-apple/Sources/NativeScriptKit/Core/Object_context_parent_name_elementName_templateItems_errorFormat_sourceTracker_xmlModule.swift +185 -0
  692. package/kit-apple/Sources/NativeScriptKit/Core/Object_counters_timeline.swift +95 -0
  693. package/kit-apple/Sources/NativeScriptKit/Core/Object_create.swift +78 -0
  694. package/kit-apple/Sources/NativeScriptKit/Core/Object_createSelector_SelectorCore_SimpleSelector_InvalidSelector_UniversalSelector_TypeSelector_and_12_more_71e044.swift +315 -0
  695. package/kit-apple/Sources/NativeScriptKit/Core/Object_curve.swift +78 -0
  696. package/kit-apple/Sources/NativeScriptKit/Core/Object_defaultValue_name_cssName_affectsLayout.swift +131 -0
  697. package/kit-apple/Sources/NativeScriptKit/Core/Object_defaultValue_name_cssName_valueConverter.swift +113 -0
  698. package/kit-apple/Sources/NativeScriptKit/Core/Object_defaultValue_name_cssName_valueConverter_.swift +113 -0
  699. package/kit-apple/Sources/NativeScriptKit/Core/Object_deg_rad_grad_turn.swift +105 -0
  700. package/kit-apple/Sources/NativeScriptKit/Core/Object_duration_damping.swift +80 -0
  701. package/kit-apple/Sources/NativeScriptKit/Core/Object_duration_repeatCount_delay_curve_propertyNameToAnimate_subPropertiesToAnimate_fromValue_toValue.swift +211 -0
  702. package/kit-apple/Sources/NativeScriptKit/Core/Object_duration_spring.swift +90 -0
  703. package/kit-apple/Sources/NativeScriptKit/Core/Object_edge_interaction.swift +94 -0
  704. package/kit-apple/Sources/NativeScriptKit/Core/Object_effectType_onCreate.swift +86 -0
  705. package/kit-apple/Sources/NativeScriptKit/Core/Object_effectType_targetView.swift +73 -0
  706. package/kit-apple/Sources/NativeScriptKit/Core/Object_effectType_targetView_toGlassStyleFn.swift +110 -0
  707. package/kit-apple/Sources/NativeScriptKit/Core/Object_empty_text_json_blob_arraybuffer.swift +108 -0
  708. package/kit-apple/Sources/NativeScriptKit/Core/Object_enterFrom_exitTo.swift +95 -0
  709. package/kit-apple/Sources/NativeScriptKit/Core/Object_entry_isBackNavigation_navigationType.swift +115 -0
  710. package/kit-apple/Sources/NativeScriptKit/Core/Object_entry_resolvedPage_navDepth_fragmentTag.swift +133 -0
  711. package/kit-apple/Sources/NativeScriptKit/Core/Object_entry_resolvedPage_navDepth_fragmentTag_frameId.swift +162 -0
  712. package/kit-apple/Sources/NativeScriptKit/Core/Object_enumerable_configurable_get_set.swift +123 -0
  713. package/kit-apple/Sources/NativeScriptKit/Core/Object_enumerable_configurable_get_set_.swift +122 -0
  714. package/kit-apple/Sources/NativeScriptKit/Core/Object_enumerable_configurable_get_set__.swift +122 -0
  715. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_android_ios_newValue_object.swift +147 -0
  716. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_data.swift +94 -0
  717. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_action_index_removed_addedCount.swift +153 -0
  718. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_action_index_removed_addedCount_.swift +154 -0
  719. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_action_index_removed_addedCount__.swift +152 -0
  720. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_android_ios_error.swift +148 -0
  721. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_context_closeCallback.swift +133 -0
  722. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_context_isBackNavigation.swift +132 -0
  723. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_cssFile.swift +110 -0
  724. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_cssFile_.swift +95 -0
  725. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_cssText.swift +110 -0
  726. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_data.swift +112 -0
  727. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_data_.swift +114 -0
  728. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_error.swift +111 -0
  729. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_index_count.swift +120 -0
  730. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_index_section_view_ios_android.swift +168 -0
  731. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_ios.swift +97 -0
  732. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_ios_.swift +111 -0
  733. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_ios_android.swift +129 -0
  734. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_ios_android_cssFile.swift +138 -0
  735. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_isBack_entry_fromEntry.swift +130 -0
  736. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_key_error.swift +128 -0
  737. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_key_image.swift +129 -0
  738. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_matches_media.swift +111 -0
  739. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_newValue.swift +95 -0
  740. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_oldIndex_newIndex.swift +104 -0
  741. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_oldIndex_newIndex_.swift +121 -0
  742. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_propertyName_value_oldValue.swift +147 -0
  743. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_text_ios.swift +113 -0
  744. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_type_view_ios.swift +117 -0
  745. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_url_navigationType_error.swift +158 -0
  746. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_url_navigationType_error_.swift +160 -0
  747. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_viewController.swift +114 -0
  748. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_view_context.swift +130 -0
  749. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window.swift +103 -0
  750. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_newValue.swift +123 -0
  751. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene.swift +105 -0
  752. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene_.swift +105 -0
  753. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene_shortcutItem_completionHandler.swift +157 -0
  754. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene_shortcutItem_completionHandler_.swift +158 -0
  755. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene_uiWindow_connectionOptions.swift +137 -0
  756. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene_uiWindow_connectionOptions_.swift +137 -0
  757. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene_urlContexts.swift +120 -0
  758. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene_urlContexts_.swift +120 -0
  759. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene_userActivity.swift +121 -0
  760. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene_userActivity_.swift +121 -0
  761. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_rootView.swift +80 -0
  762. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_type.swift +80 -0
  763. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_type_object.swift +111 -0
  764. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_window_object.swift +103 -0
  765. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventType_position_prefix_namespace_elementName_attributes_data.swift +169 -0
  766. package/kit-apple/Sources/NativeScriptKit/Core/Object_exists_isDirectory.swift +80 -0
  767. package/kit-apple/Sources/NativeScriptKit/Core/Object_f_s_t_a.swift +85 -0
  768. package/kit-apple/Sources/NativeScriptKit/Core/Object_folder_path.swift +94 -0
  769. package/kit-apple/Sources/NativeScriptKit/Core/Object_fontFamily_fontSize_fontWeight_fontVariationSettings_isBold_isItalic.swift +130 -0
  770. package/kit-apple/Sources/NativeScriptKit/Core/Object_fontStyle_fontVariant_fontWeight.swift +95 -0
  771. package/kit-apple/Sources/NativeScriptKit/Core/Object_h_s_l.swift +78 -0
  772. package/kit-apple/Sources/NativeScriptKit/Core/Object_h_s_v.swift +78 -0
  773. package/kit-apple/Sources/NativeScriptKit/Core/Object_headers_timestamp_headersSize_method_postData_url.swift +173 -0
  774. package/kit-apple/Sources/NativeScriptKit/Core/Object_highlighted.swift +66 -0
  775. package/kit-apple/Sources/NativeScriptKit/Core/Object_horizontal_vertical.swift +80 -0
  776. package/kit-apple/Sources/NativeScriptKit/Core/Object_hour_minute.swift +80 -0
  777. package/kit-apple/Sources/NativeScriptKit/Core/Object_id_type.swift +94 -0
  778. package/kit-apple/Sources/NativeScriptKit/Core/Object_id_type_action.swift +108 -0
  779. package/kit-apple/Sources/NativeScriptKit/Core/Object_id_type_percent.swift +108 -0
  780. package/kit-apple/Sources/NativeScriptKit/Core/Object_import_type.swift +80 -0
  781. package/kit-apple/Sources/NativeScriptKit/Core/Object_inset_color_values.swift +87 -0
  782. package/kit-apple/Sources/NativeScriptKit/Core/Object_inset_offsetX_offsetY_blurRadius_spreadRadius_color.swift +147 -0
  783. package/kit-apple/Sources/NativeScriptKit/Core/Object_inset_offsetX_offsetY_blurRadius_spreadRadius_color_.swift +126 -0
  784. package/kit-apple/Sources/NativeScriptKit/Core/Object_instance.swift +64 -0
  785. package/kit-apple/Sources/NativeScriptKit/Core/Object_instance_instanceModule.swift +97 -0
  786. package/kit-apple/Sources/NativeScriptKit/Core/Object_instance_property.swift +86 -0
  787. package/kit-apple/Sources/NativeScriptKit/Core/Object_instance_property_.swift +72 -0
  788. package/kit-apple/Sources/NativeScriptKit/Core/Object_interactiveBegan.swift +66 -0
  789. package/kit-apple/Sources/NativeScriptKit/Core/Object_interactiveBegan_interactiveCancelled.swift +81 -0
  790. package/kit-apple/Sources/NativeScriptKit/Core/Object_interactiveCancelled.swift +66 -0
  791. package/kit-apple/Sources/NativeScriptKit/Core/Object_interactive_pageStart_pageEnd_pageOut_pageReturn_instance_activeType.swift +165 -0
  792. package/kit-apple/Sources/NativeScriptKit/Core/Object_inverse_type_features.swift +95 -0
  793. package/kit-apple/Sources/NativeScriptKit/Core/Object_ios.swift +78 -0
  794. package/kit-apple/Sources/NativeScriptKit/Core/Object_iosNotificationType.swift +66 -0
  795. package/kit-apple/Sources/NativeScriptKit/Core/Object_iosNotificationType_message.swift +80 -0
  796. package/kit-apple/Sources/NativeScriptKit/Core/Object_ios_.swift +64 -0
  797. package/kit-apple/Sources/NativeScriptKit/Core/Object_ios_scene.swift +80 -0
  798. package/kit-apple/Sources/NativeScriptKit/Core/Object_isMatch_getMatchOccurences_getMatchValue.swift +101 -0
  799. package/kit-apple/Sources/NativeScriptKit/Core/Object_iterator_prototype_for_keyFor_hasInstance_isConcatSpreadable_and_19_more_91b5f3.swift +413 -0
  800. package/kit-apple/Sources/NativeScriptKit/Core/Object_keepAspectRatio_autoScaleFactor.swift +73 -0
  801. package/kit-apple/Sources/NativeScriptKit/Core/Object_key_createView.swift +95 -0
  802. package/kit-apple/Sources/NativeScriptKit/Core/Object_key_createView_.swift +97 -0
  803. package/kit-apple/Sources/NativeScriptKit/Core/Object_launchData.swift +68 -0
  804. package/kit-apple/Sources/NativeScriptKit/Core/Object_left_right.swift +95 -0
  805. package/kit-apple/Sources/NativeScriptKit/Core/Object_left_right_center_top_bottom.swift +115 -0
  806. package/kit-apple/Sources/NativeScriptKit/Core/Object_lifecycle_timeline.swift +80 -0
  807. package/kit-apple/Sources/NativeScriptKit/Core/Object_line_column.swift +80 -0
  808. package/kit-apple/Sources/NativeScriptKit/Core/Object_location.swift +64 -0
  809. package/kit-apple/Sources/NativeScriptKit/Core/Object_location_length.swift +80 -0
  810. package/kit-apple/Sources/NativeScriptKit/Core/Object_m.swift +64 -0
  811. package/kit-apple/Sources/NativeScriptKit/Core/Object_maskPath_shadowPath.swift +95 -0
  812. package/kit-apple/Sources/NativeScriptKit/Core/Object_matches_media.swift +80 -0
  813. package/kit-apple/Sources/NativeScriptKit/Core/Object_measuredWidth_measuredHeight.swift +81 -0
  814. package/kit-apple/Sources/NativeScriptKit/Core/Object_message.swift +64 -0
  815. package/kit-apple/Sources/NativeScriptKit/Core/Object_method.swift +64 -0
  816. package/kit-apple/Sources/NativeScriptKit/Core/Object_method_postData.swift +80 -0
  817. package/kit-apple/Sources/NativeScriptKit/Core/Object_modifier_property_value.swift +87 -0
  818. package/kit-apple/Sources/NativeScriptKit/Core/Object_moduleName.swift +65 -0
  819. package/kit-apple/Sources/NativeScriptKit/Core/Object_moduleName_.swift +78 -0
  820. package/kit-apple/Sources/NativeScriptKit/Core/Object_moduleName_create_transition.swift +93 -0
  821. package/kit-apple/Sources/NativeScriptKit/Core/Object_moduleName_transition.swift +76 -0
  822. package/kit-apple/Sources/NativeScriptKit/Core/Object_name.swift +64 -0
  823. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_affectsLayout_valueChanged.swift +103 -0
  824. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_affectsLayout_valueChanged_.swift +98 -0
  825. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_affectsLayout_valueChanged__.swift +100 -0
  826. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_affectsLayout_valueChanged___.swift +102 -0
  827. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_affectsLayout_valueConverter.swift +96 -0
  828. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_affectsLayout_valueConverter_valueChanged.swift +115 -0
  829. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName.swift +80 -0
  830. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_affectsLayout_defaultValue_valueConverter_valueChanged.swift +139 -0
  831. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_affectsLayout_defaultValue_valueConverter_valueChanged_.swift +159 -0
  832. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_affectsLayout_valueChanged.swift +114 -0
  833. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_affectsLayout_valueChanged_valueConverter.swift +130 -0
  834. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_affectsLayout_valueChanged_valueConverter_.swift +134 -0
  835. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_affectsLayout_valueConverter.swift +133 -0
  836. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_affectsLayout_valueConverter_.swift +113 -0
  837. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue.swift +94 -0
  838. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_affectsLayout_equalityComparer_valueChanged_valueConverter.swift +183 -0
  839. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_affectsLayout_equalityComparer_valueConverter.swift +168 -0
  840. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_affectsLayout_equalityComparer_valueConverter_.swift +169 -0
  841. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_affectsLayout_equalityComparer_valueConverter_valueChanged.swift +181 -0
  842. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_affectsLayout_valueConverter.swift +128 -0
  843. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_affectsLayout_valueConverter_.swift +128 -0
  844. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_affectsLayout_valueConverter__.swift +128 -0
  845. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_affectsLayout_valueConverter_valueChanged.swift +139 -0
  846. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_equalityComparer_valueChanged_valueConverter.swift +162 -0
  847. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_equalityComparer_valueConverter.swift +150 -0
  848. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_valueConverter.swift +113 -0
  849. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_valueConverter_.swift +113 -0
  850. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_valueConverter__.swift +114 -0
  851. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_valueConverter___.swift +113 -0
  852. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_valueConverter_valueChanged.swift +121 -0
  853. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_equalityComparer_defaultValue_valueConverter.swift +129 -0
  854. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_equalityComparer_valueConverter.swift +114 -0
  855. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_getter_converter.swift +130 -0
  856. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_getter_converter_.swift +133 -0
  857. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_getter_converter__.swift +130 -0
  858. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_getter_converter___.swift +131 -0
  859. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_getter_converter____.swift +133 -0
  860. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_getter_converter_____.swift +131 -0
  861. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_valueChanged.swift +99 -0
  862. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_valueChanged_equalityComparer_valueConverter.swift +153 -0
  863. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_valueChanged_equalityComparer_valueConverter_.swift +132 -0
  864. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_valueChanged_valueConverter.swift +118 -0
  865. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_valueConverter.swift +95 -0
  866. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_valueConverter_.swift +95 -0
  867. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_valueConverter__.swift +95 -0
  868. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_valueConverter_valueChanged.swift +114 -0
  869. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue.swift +80 -0
  870. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_.swift +94 -0
  871. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue__.swift +80 -0
  872. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue___.swift +81 -0
  873. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_affectsLayout.swift +95 -0
  874. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_affectsLayout_equalityComparer_valueConverter_valueChanged.swift +163 -0
  875. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_affectsLayout_valueChanged_coerceValue_valueConverter.swift +144 -0
  876. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_affectsLayout_valueChanged_valueConverter.swift +124 -0
  877. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_affectsLayout_valueConverter.swift +135 -0
  878. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_affectsLayout_valueConverter_.swift +114 -0
  879. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_affectsLayout_valueConverter__.swift +114 -0
  880. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_affectsLayout_valueConverter___.swift +135 -0
  881. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_affectsLayout_valueConverter____.swift +114 -0
  882. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_affectsLayout_valueConverter_valueChanged.swift +122 -0
  883. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_coerceValue_valueChanged_valueConverter.swift +125 -0
  884. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_coerceValue_valueConverter.swift +116 -0
  885. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_coerceValue_valueConverter_.swift +115 -0
  886. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_equalityComparer_coerceValue_valueChanged_valueConverter.swift +170 -0
  887. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_equalityComparer_valueChanged.swift +111 -0
  888. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_equalityComparer_valueConverter.swift +116 -0
  889. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_equalityComparer_valueConverter_.swift +139 -0
  890. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_equalityComparer_valueConverter__.swift +136 -0
  891. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged.swift +92 -0
  892. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged_.swift +92 -0
  893. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged_coerceValue_valueConverter.swift +126 -0
  894. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged_equalityComparer_valueConverter.swift +146 -0
  895. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged_valueConverter.swift +107 -0
  896. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged_valueConverter_.swift +107 -0
  897. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged_valueConverter__.swift +108 -0
  898. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged_valueConverter___.swift +108 -0
  899. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged_valueConverter____.swift +128 -0
  900. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged_valueConverter_____.swift +108 -0
  901. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged_valueConverter______.swift +126 -0
  902. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueConverter.swift +98 -0
  903. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueConverter_.swift +96 -0
  904. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueConverter__.swift +97 -0
  905. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueConverter___.swift +98 -0
  906. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueConverter____.swift +100 -0
  907. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueConverter_coerceValue.swift +115 -0
  908. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueConverter_valueChanged.swift +107 -0
  909. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueConverter_valueChanged_.swift +107 -0
  910. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_duration.swift +80 -0
  911. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_equalityComparer_valueConverter.swift +101 -0
  912. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_equalityComparer_valueConverter_.swift +100 -0
  913. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_equalityComparer_valueConverter__.swift +119 -0
  914. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_keyframes_mediaQueryString.swift +117 -0
  915. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged.swift +82 -0
  916. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged_.swift +82 -0
  917. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged__.swift +84 -0
  918. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged___.swift +84 -0
  919. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged____.swift +82 -0
  920. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged_____.swift +82 -0
  921. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged______.swift +82 -0
  922. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged_______.swift +81 -0
  923. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged________.swift +86 -0
  924. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged_________.swift +92 -0
  925. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged__________.swift +90 -0
  926. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged_valueConverter.swift +101 -0
  927. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged_valueConverter_.swift +119 -0
  928. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged_valueConverter__.swift +101 -0
  929. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueConverter.swift +81 -0
  930. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueConverter_.swift +81 -0
  931. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueConverter__.swift +82 -0
  932. package/kit-apple/Sources/NativeScriptKit/Core/Object_navigatingToEvent_navigatedToEvent_navigatingFromEvent_navigatedFromEvent.swift +116 -0
  933. package/kit-apple/Sources/NativeScriptKit/Core/Object_normalState_selectedState.swift +81 -0
  934. package/kit-apple/Sources/NativeScriptKit/Core/Object_num_regexp_string_name_privateId_eof_and_71_more_93cbae.swift +688 -0
  935. package/kit-apple/Sources/NativeScriptKit/Core/Object_object_eventName_propertyName_value_oldValue_origin.swift +154 -0
  936. package/kit-apple/Sources/NativeScriptKit/Core/Object_object_eventName_scrollX_scrollY.swift +105 -0
  937. package/kit-apple/Sources/NativeScriptKit/Core/Object_object_eventName_scrollX_scrollY_.swift +121 -0
  938. package/kit-apple/Sources/NativeScriptKit/Core/Object_opacity_color_tapToClose_animation_ignoreShadeRestore.swift +131 -0
  939. package/kit-apple/Sources/NativeScriptKit/Core/Object_orientation_systemAppearance.swift +100 -0
  940. package/kit-apple/Sources/NativeScriptKit/Core/Object_orientation_systemAppearance_.swift +81 -0
  941. package/kit-apple/Sources/NativeScriptKit/Core/Object_page_toPage.swift +94 -0
  942. package/kit-apple/Sources/NativeScriptKit/Core/Object_page_toPage_.swift +95 -0
  943. package/kit-apple/Sources/NativeScriptKit/Core/Object_parent_name_items.swift +111 -0
  944. package/kit-apple/Sources/NativeScriptKit/Core/Object_path_name.swift +72 -0
  945. package/kit-apple/Sources/NativeScriptKit/Core/Object_path_name_extension.swift +86 -0
  946. package/kit-apple/Sources/NativeScriptKit/Core/Object_pattern_flags.swift +80 -0
  947. package/kit-apple/Sources/NativeScriptKit/Core/Object_position_systemIcon.swift +94 -0
  948. package/kit-apple/Sources/NativeScriptKit/Core/Object_prefix_namespace_name.swift +113 -0
  949. package/kit-apple/Sources/NativeScriptKit/Core/Object_presented_presenting_independent.swift +98 -0
  950. package/kit-apple/Sources/NativeScriptKit/Core/Object_propName_propValue.swift +80 -0
  951. package/kit-apple/Sources/NativeScriptKit/Core/Object_property_value.swift +95 -0
  952. package/kit-apple/Sources/NativeScriptKit/Core/Object_property_value_.swift +95 -0
  953. package/kit-apple/Sources/NativeScriptKit/Core/Object_property_value__.swift +96 -0
  954. package/kit-apple/Sources/NativeScriptKit/Core/Object_property_value___.swift +94 -0
  955. package/kit-apple/Sources/NativeScriptKit/Core/Object_property_value____.swift +80 -0
  956. package/kit-apple/Sources/NativeScriptKit/Core/Object_property_value_____.swift +80 -0
  957. package/kit-apple/Sources/NativeScriptKit/Core/Object_property_value______.swift +80 -0
  958. package/kit-apple/Sources/NativeScriptKit/Core/Object_property_value_______.swift +83 -0
  959. package/kit-apple/Sources/NativeScriptKit/Core/Object_property_value________.swift +83 -0
  960. package/kit-apple/Sources/NativeScriptKit/Core/Object_r_g_b.swift +78 -0
  961. package/kit-apple/Sources/NativeScriptKit/Core/Object_raw_cooked.swift +94 -0
  962. package/kit-apple/Sources/NativeScriptKit/Core/Object_raw_cooked_.swift +80 -0
  963. package/kit-apple/Sources/NativeScriptKit/Core/Object_raw_requestURL_toNativeImage_toNativeString.swift +114 -0
  964. package/kit-apple/Sources/NativeScriptKit/Core/Object_raw_requestURL_toNativeImage_toNativeString_.swift +135 -0
  965. package/kit-apple/Sources/NativeScriptKit/Core/Object_recognizer_target.swift +96 -0
  966. package/kit-apple/Sources/NativeScriptKit/Core/Object_repeatX_repeatY_posX_posY.swift +93 -0
  967. package/kit-apple/Sources/NativeScriptKit/Core/Object_requestTime_proxyStart_proxyEnd_dnsStart_dnsEnd_connectStart_and_9_more_3e958e.swift +248 -0
  968. package/kit-apple/Sources/NativeScriptKit/Core/Object_result_text.swift +94 -0
  969. package/kit-apple/Sources/NativeScriptKit/Core/Object_result_userName_password.swift +102 -0
  970. package/kit-apple/Sources/NativeScriptKit/Core/Object_right_left.swift +80 -0
  971. package/kit-apple/Sources/NativeScriptKit/Core/Object_row_col.swift +72 -0
  972. package/kit-apple/Sources/NativeScriptKit/Core/Object_rules.swift +66 -0
  973. package/kit-apple/Sources/NativeScriptKit/Core/Object_rules_.swift +78 -0
  974. package/kit-apple/Sources/NativeScriptKit/Core/Object_safeArea_fullscreen_inWindow.swift +107 -0
  975. package/kit-apple/Sources/NativeScriptKit/Core/Object_scale_translate_rotate.swift +100 -0
  976. package/kit-apple/Sources/NativeScriptKit/Core/Object_scale_tx_ty.swift +86 -0
  977. package/kit-apple/Sources/NativeScriptKit/Core/Object_sceneWillConnect_sceneDidActivate_sceneWillResignActive_sceneWillEnterForeground_sceneDidEnterBackground_sceneDidDisconnect_and_1_more_1be9d4.swift +159 -0
  978. package/kit-apple/Sources/NativeScriptKit/Core/Object_scene_uiWindow.swift +80 -0
  979. package/kit-apple/Sources/NativeScriptKit/Core/Object_shape_rule.swift +80 -0
  980. package/kit-apple/Sources/NativeScriptKit/Core/Object_sharedElements_presented_presenting.swift +115 -0
  981. package/kit-apple/Sources/NativeScriptKit/Core/Object_sharedTransitionTag_zIndex.swift +100 -0
  982. package/kit-apple/Sources/NativeScriptKit/Core/Object_showing.swift +64 -0
  983. package/kit-apple/Sources/NativeScriptKit/Core/Object_snap_endFrame_endCornerRadius_srcSharedView.swift +112 -0
  984. package/kit-apple/Sources/NativeScriptKit/Core/Object_sourceProperty_expression_twoWay_source_defaultProperty.swift +120 -0
  985. package/kit-apple/Sources/NativeScriptKit/Core/Object_sourceProperty_targetProperty_expression.swift +111 -0
  986. package/kit-apple/Sources/NativeScriptKit/Core/Object_sourceProperty_targetProperty_expression_twoWay_compiled.swift +145 -0
  987. package/kit-apple/Sources/NativeScriptKit/Core/Object_spans.swift +66 -0
  988. package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value.swift +86 -0
  989. package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value_.swift +86 -0
  990. package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value__.swift +89 -0
  991. package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value___.swift +100 -0
  992. package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value____.swift +86 -0
  993. package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value_____.swift +88 -0
  994. package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value______.swift +89 -0
  995. package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value_______.swift +89 -0
  996. package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value________.swift +89 -0
  997. package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value_________.swift +89 -0
  998. package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value__________.swift +89 -0
  999. package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value___________.swift +87 -0
  1000. package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value____________.swift +90 -0
  1001. package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value_____________.swift +89 -0
  1002. package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value______________.swift +90 -0
  1003. package/kit-apple/Sources/NativeScriptKit/Core/Object_status_headers.swift +83 -0
  1004. package/kit-apple/Sources/NativeScriptKit/Core/Object_status_statusText.swift +80 -0
  1005. package/kit-apple/Sources/NativeScriptKit/Core/Object_status_statusText_headers_url.swift +110 -0
  1006. package/kit-apple/Sources/NativeScriptKit/Core/Object_targetProperty.swift +66 -0
  1007. package/kit-apple/Sources/NativeScriptKit/Core/Object_targetProperty_sourceProperty.swift +73 -0
  1008. package/kit-apple/Sources/NativeScriptKit/Core/Object_target_backgroundColor_scale_translate_rotate_opacity_width_height_valueSource_duration_curve_forceLayer.swift +264 -0
  1009. package/kit-apple/Sources/NativeScriptKit/Core/Object_target_opacity_backgroundColor_translate_scale_height_width_rotate_duration_delay_iterations_curve.swift +252 -0
  1010. package/kit-apple/Sources/NativeScriptKit/Core/Object_target_property_value_duration_delay_iterations_curve.swift +152 -0
  1011. package/kit-apple/Sources/NativeScriptKit/Core/Object_target_property_value_duration_delay_iterations_curve_.swift +152 -0
  1012. package/kit-apple/Sources/NativeScriptKit/Core/Object_target_property_value_duration_delay_iterations_curve__.swift +153 -0
  1013. package/kit-apple/Sources/NativeScriptKit/Core/Object_target_property_value_duration_delay_iterations_curve___.swift +151 -0
  1014. package/kit-apple/Sources/NativeScriptKit/Core/Object_target_translate_scale_rotate_opacity_duration_curve.swift +165 -0
  1015. package/kit-apple/Sources/NativeScriptKit/Core/Object_tension_friction_mass_delay_velocity_animateOptions_animations_completion.swift +165 -0
  1016. package/kit-apple/Sources/NativeScriptKit/Core/Object_tension_friction_mass_velocity.swift +101 -0
  1017. package/kit-apple/Sources/NativeScriptKit/Core/Object_tension_friction_mass_velocity_delay.swift +118 -0
  1018. package/kit-apple/Sources/NativeScriptKit/Core/Object_tension_friction_mass_velocity_delay_animations_completion.swift +142 -0
  1019. package/kit-apple/Sources/NativeScriptKit/Core/Object_textColor_tintColor.swift +72 -0
  1020. package/kit-apple/Sources/NativeScriptKit/Core/Object_text_iosFont_color_backgroundColor_textDecoration_baselineOffset_index.swift +144 -0
  1021. package/kit-apple/Sources/NativeScriptKit/Core/Object_title_cancelButtonText.swift +94 -0
  1022. package/kit-apple/Sources/NativeScriptKit/Core/Object_title_okButtonText_cancelButtonText.swift +96 -0
  1023. package/kit-apple/Sources/NativeScriptKit/Core/Object_title_okButtonText_cancelButtonText_inputType.swift +112 -0
  1024. package/kit-apple/Sources/NativeScriptKit/Core/Object_title_okButtonText_cancelButtonText_message.swift +112 -0
  1025. package/kit-apple/Sources/NativeScriptKit/Core/Object_title_okButtonText_message.swift +95 -0
  1026. package/kit-apple/Sources/NativeScriptKit/Core/Object_title_section.swift +80 -0
  1027. package/kit-apple/Sources/NativeScriptKit/Core/Object_toArrayBuffer_toString_toJSON_toImage_toFile.swift +142 -0
  1028. package/kit-apple/Sources/NativeScriptKit/Core/Object_toString_charAt_charCodeAt_concat_indexOf_lastIndexOf_and_44_more_fc25df.swift +481 -0
  1029. package/kit-apple/Sources/NativeScriptKit/Core/Object_topLeft_topRight_bottomLeft_bottomRight.swift +110 -0
  1030. package/kit-apple/Sources/NativeScriptKit/Core/Object_top_bottom.swift +80 -0
  1031. package/kit-apple/Sources/NativeScriptKit/Core/Object_top_left_bottom_right.swift +109 -0
  1032. package/kit-apple/Sources/NativeScriptKit/Core/Object_top_right_bottom_left.swift +122 -0
  1033. package/kit-apple/Sources/NativeScriptKit/Core/Object_top_right_bottom_left_.swift +109 -0
  1034. package/kit-apple/Sources/NativeScriptKit/Core/Object_totalTime_count_currentStart_runCount.swift +110 -0
  1035. package/kit-apple/Sources/NativeScriptKit/Core/Object_touches_event.swift +80 -0
  1036. package/kit-apple/Sources/NativeScriptKit/Core/Object_transitionContext.swift +66 -0
  1037. package/kit-apple/Sources/NativeScriptKit/Core/Object_translateX_translateY_scaleX_scaleY_rotate_opacity.swift +118 -0
  1038. package/kit-apple/Sources/NativeScriptKit/Core/Object_translateX_translateY_scaleX_scaleY_rotate_opacity_duration_curve.swift +151 -0
  1039. package/kit-apple/Sources/NativeScriptKit/Core/Object_translate_rotate_scale.swift +102 -0
  1040. package/kit-apple/Sources/NativeScriptKit/Core/Object_type.swift +64 -0
  1041. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_name_action_value_namespace_ignoreCase.swift +152 -0
  1042. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_name_action_value_namespace_ignoreCase_.swift +133 -0
  1043. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_name_data.swift +78 -0
  1044. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_name_data_.swift +92 -0
  1045. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_name_namespace.swift +102 -0
  1046. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_name_prelude_block.swift +120 -0
  1047. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_name_text.swift +104 -0
  1048. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_name_text_components.swift +113 -0
  1049. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_namespace.swift +94 -0
  1050. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_path.swift +72 -0
  1051. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_prelude_block.swift +111 -0
  1052. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_property_value.swift +94 -0
  1053. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_quote_string_value.swift +101 -0
  1054. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_selectors_declarations.swift +96 -0
  1055. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_start_end.swift +94 -0
  1056. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_start_end_left_right.swift +127 -0
  1057. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_start_end_name.swift +118 -0
  1058. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_string.swift +80 -0
  1059. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_string_unit_value.swift +101 -0
  1060. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_stylesheet.swift +83 -0
  1061. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_text.swift +72 -0
  1062. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_text_.swift +97 -0
  1063. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_text__.swift +86 -0
  1064. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_text_associatedToken_values.swift +125 -0
  1065. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_view_ios_android_direction_object_eventName.swift +159 -0
  1066. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_view_ios_android_eventName_object_getPointerCount_getX_getY.swift +187 -0
  1067. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_view_ios_android_object_eventName.swift +152 -0
  1068. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_view_ios_android_object_eventName_state.swift +167 -0
  1069. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_view_ios_android_rotation_object_eventName_state.swift +182 -0
  1070. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_view_ios_android_scale_getFocusX_getFocusY_object_eventName_state.swift +194 -0
  1071. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_view_ios_android_startX_startY_deltaX_deltaY_object_eventName_state.swift +201 -0
  1072. package/kit-apple/Sources/NativeScriptKit/Core/Object_uri_message_time.swift +108 -0
  1073. package/kit-apple/Sources/NativeScriptKit/Core/Object_url_method.swift +80 -0
  1074. package/kit-apple/Sources/NativeScriptKit/Core/Object_url_source.swift +95 -0
  1075. package/kit-apple/Sources/NativeScriptKit/Core/Object_url_source_.swift +94 -0
  1076. package/kit-apple/Sources/NativeScriptKit/Core/Object_url_status_statusText_headers_mimeType_fromDiskCache_timing_headersSize.swift +201 -0
  1077. package/kit-apple/Sources/NativeScriptKit/Core/Object_value_unit.swift +80 -0
  1078. package/kit-apple/Sources/NativeScriptKit/Core/Object_value_unit_.swift +94 -0
  1079. package/kit-apple/Sources/NativeScriptKit/Core/Object_view_index.swift +95 -0
  1080. package/kit-apple/Sources/NativeScriptKit/Core/Object_view_index_.swift +94 -0
  1081. package/kit-apple/Sources/NativeScriptKit/Core/Object_view_isPresented_startFrame_snapshot_endFrame_startTransform_and_5_more_20e753.swift +234 -0
  1082. package/kit-apple/Sources/NativeScriptKit/Core/Object_view_options.swift +94 -0
  1083. package/kit-apple/Sources/NativeScriptKit/Core/Object_view_options_.swift +94 -0
  1084. package/kit-apple/Sources/NativeScriptKit/Core/Object_view_startFrame_endFrame_snapshot_startOpacity_endOpacity_propertiesToMatch_zIndex.swift +186 -0
  1085. package/kit-apple/Sources/NativeScriptKit/Core/Object_view_startFrame_endFrame_startOpacity_endOpacity_propertiesToMatch_imageSourceChangeListener.swift +181 -0
  1086. package/kit-apple/Sources/NativeScriptKit/Core/Object_view_type_animation.swift +86 -0
  1087. package/kit-apple/Sources/NativeScriptKit/Core/Object_width_color.swift +86 -0
  1088. package/kit-apple/Sources/NativeScriptKit/Core/Object_width_height.swift +80 -0
  1089. package/kit-apple/Sources/NativeScriptKit/Core/Object_width_height_.swift +95 -0
  1090. package/kit-apple/Sources/NativeScriptKit/Core/Object_width_height_os_deviceType.swift +109 -0
  1091. package/kit-apple/Sources/NativeScriptKit/Core/Object_windowOpen_windowClose_primaryWindowChanged.swift +96 -0
  1092. package/kit-apple/Sources/NativeScriptKit/Core/Object_window_isPrimary.swift +80 -0
  1093. package/kit-apple/Sources/NativeScriptKit/Core/Object_window_isPrimary_data_ios.swift +118 -0
  1094. package/kit-apple/Sources/NativeScriptKit/Core/Object_xRadius_yRadius_maxRadius.swift +87 -0
  1095. package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y.swift +85 -0
  1096. package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y_.swift +72 -0
  1097. package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y__.swift +86 -0
  1098. package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y___.swift +72 -0
  1099. package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y____.swift +86 -0
  1100. package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y_____.swift +77 -0
  1101. package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y______.swift +74 -0
  1102. package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y_______.swift +89 -0
  1103. package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y________.swift +88 -0
  1104. package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y_________.swift +77 -0
  1105. package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y_width_height.swift +101 -0
  1106. package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y_z.swift +94 -0
  1107. package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y_z_.swift +78 -0
  1108. package/kit-apple/Sources/NativeScriptKit/Core/Object_xmlns.swift +64 -0
  1109. package/kit-apple/Sources/NativeScriptKit/Core/Object_xs_ys_xt_yt_rx_ry_rz.swift +106 -0
  1110. package/kit-apple/Sources/NativeScriptKit/Core/__Export.AndroidApplication.swift +18 -0
  1111. package/kit-apple/Sources/NativeScriptKit/Core/__Export.AndroidHelper.swift +18 -0
  1112. package/kit-apple/Sources/NativeScriptKit/Core/__Export.AnimationCurve.swift +18 -0
  1113. package/kit-apple/Sources/NativeScriptKit/Core/__Export.Application.swift +18 -0
  1114. package/kit-apple/Sources/NativeScriptKit/Core/__Export.CSSHelper.swift +20 -0
  1115. package/kit-apple/Sources/NativeScriptKit/Core/__Export.CSSType.swift +20 -0
  1116. package/kit-apple/Sources/NativeScriptKit/Core/__Export.Device.swift +18 -0
  1117. package/kit-apple/Sources/NativeScriptKit/Core/__Export.Dialogs.swift +18 -0
  1118. package/kit-apple/Sources/NativeScriptKit/Core/__Export.Enums.swift +20 -0
  1119. package/kit-apple/Sources/NativeScriptKit/Core/__Export.NativeWindowEvents.swift +20 -0
  1120. package/kit-apple/Sources/NativeScriptKit/Core/__Export.PseudoClassHandler.swift +20 -0
  1121. package/kit-apple/Sources/NativeScriptKit/Core/__Export.SceneEvents.swift +20 -0
  1122. package/kit-apple/Sources/NativeScriptKit/Core/__Export.WindowEvents.swift +20 -0
  1123. package/kit-apple/Sources/NativeScriptKit/Core/__Export._resetRootView.swift +18 -0
  1124. package/kit-apple/Sources/NativeScriptKit/Core/__Export._resolveAnimationCurve.swift +20 -0
  1125. package/kit-apple/Sources/NativeScriptKit/Core/__Export._setResolver.swift +20 -0
  1126. package/kit-apple/Sources/NativeScriptKit/Core/__Export._updateCharactersInRangeReplacementString.swift +23 -0
  1127. package/kit-apple/Sources/NativeScriptKit/Core/__Export.action.swift +20 -0
  1128. package/kit-apple/Sources/NativeScriptKit/Core/__Export.addCss.swift +18 -0
  1129. package/kit-apple/Sources/NativeScriptKit/Core/__Export.addTaggedAdditionalCSS.swift +20 -0
  1130. package/kit-apple/Sources/NativeScriptKit/Core/__Export.addWeakEventListener.swift +22 -0
  1131. package/kit-apple/Sources/NativeScriptKit/Core/__Export.alert.swift +20 -0
  1132. package/kit-apple/Sources/NativeScriptKit/Core/__Export.android.swift +18 -0
  1133. package/kit-apple/Sources/NativeScriptKit/Core/__Export.androidDynamicElevationOffsetProperty.swift +20 -0
  1134. package/kit-apple/Sources/NativeScriptKit/Core/__Export.androidElevationProperty.swift +18 -0
  1135. package/kit-apple/Sources/NativeScriptKit/Core/__Export.animationTimingFunctionConverter.swift +20 -0
  1136. package/kit-apple/Sources/NativeScriptKit/Core/__Export.autocapitalizationTypeProperty.swift +20 -0
  1137. package/kit-apple/Sources/NativeScriptKit/Core/__Export.autocorrectProperty.swift +18 -0
  1138. package/kit-apple/Sources/NativeScriptKit/Core/__Export.backgroundColorProperty.swift +18 -0
  1139. package/kit-apple/Sources/NativeScriptKit/Core/__Export.backgroundEvent.swift +18 -0
  1140. package/kit-apple/Sources/NativeScriptKit/Core/__Export.backgroundImageProperty.swift +18 -0
  1141. package/kit-apple/Sources/NativeScriptKit/Core/__Export.backgroundInternalProperty.swift +18 -0
  1142. package/kit-apple/Sources/NativeScriptKit/Core/__Export.backgroundPositionProperty.swift +18 -0
  1143. package/kit-apple/Sources/NativeScriptKit/Core/__Export.backgroundRepeatProperty.swift +18 -0
  1144. package/kit-apple/Sources/NativeScriptKit/Core/__Export.backgroundSizeProperty.swift +18 -0
  1145. package/kit-apple/Sources/NativeScriptKit/Core/__Export.booleanConverter.swift +20 -0
  1146. package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderBottomColorProperty.swift +18 -0
  1147. package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderBottomLeftRadiusProperty.swift +20 -0
  1148. package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderBottomRightRadiusProperty.swift +20 -0
  1149. package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderBottomWidthProperty.swift +18 -0
  1150. package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderLeftColorProperty.swift +18 -0
  1151. package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderLeftWidthProperty.swift +18 -0
  1152. package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderRightColorProperty.swift +18 -0
  1153. package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderRightWidthProperty.swift +18 -0
  1154. package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderTopColorProperty.swift +18 -0
  1155. package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderTopLeftRadiusProperty.swift +18 -0
  1156. package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderTopRightRadiusProperty.swift +18 -0
  1157. package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderTopWidthProperty.swift +18 -0
  1158. package/kit-apple/Sources/NativeScriptKit/Core/__Export.clipPathProperty.swift +18 -0
  1159. package/kit-apple/Sources/NativeScriptKit/Core/__Export.colorProperty.swift +18 -0
  1160. package/kit-apple/Sources/NativeScriptKit/Core/__Export.columnGapProperty.swift +18 -0
  1161. package/kit-apple/Sources/NativeScriptKit/Core/__Export.confirm.swift +20 -0
  1162. package/kit-apple/Sources/NativeScriptKit/Core/__Export.cornerShapeProperty.swift +18 -0
  1163. package/kit-apple/Sources/NativeScriptKit/Core/__Export.directionProperty.swift +18 -0
  1164. package/kit-apple/Sources/NativeScriptKit/Core/__Export.discardedErrorEvent.swift +18 -0
  1165. package/kit-apple/Sources/NativeScriptKit/Core/__Export.displayedEvent.swift +18 -0
  1166. package/kit-apple/Sources/NativeScriptKit/Core/__Export.eachDescendant.swift +20 -0
  1167. package/kit-apple/Sources/NativeScriptKit/Core/__Export.editableProperty.swift +18 -0
  1168. package/kit-apple/Sources/NativeScriptKit/Core/__Export.ensureA11yClasses.swift +20 -0
  1169. package/kit-apple/Sources/NativeScriptKit/Core/__Export.exitEvent.swift +18 -0
  1170. package/kit-apple/Sources/NativeScriptKit/Core/__Export.fontFamilyProperty.swift +18 -0
  1171. package/kit-apple/Sources/NativeScriptKit/Core/__Export.fontInternalProperty.swift +18 -0
  1172. package/kit-apple/Sources/NativeScriptKit/Core/__Export.fontScaleChangedEvent.swift +18 -0
  1173. package/kit-apple/Sources/NativeScriptKit/Core/__Export.fontScaleInternalProperty.swift +20 -0
  1174. package/kit-apple/Sources/NativeScriptKit/Core/__Export.fontSizeProperty.swift +18 -0
  1175. package/kit-apple/Sources/NativeScriptKit/Core/__Export.fontStyleProperty.swift +18 -0
  1176. package/kit-apple/Sources/NativeScriptKit/Core/__Export.fontVariationSettingsProperty.swift +20 -0
  1177. package/kit-apple/Sources/NativeScriptKit/Core/__Export.fontWeightProperty.swift +18 -0
  1178. package/kit-apple/Sources/NativeScriptKit/Core/__Export.foregroundEvent.swift +18 -0
  1179. package/kit-apple/Sources/NativeScriptKit/Core/__Export.fromObject.swift +20 -0
  1180. package/kit-apple/Sources/NativeScriptKit/Core/__Export.fromObjectRecursive.swift +20 -0
  1181. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getAncestor.swift +20 -0
  1182. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getAndroidAccessibilityManager.swift +20 -0
  1183. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getCssFileName.swift +18 -0
  1184. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getCurrentFontScale.swift +20 -0
  1185. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getCurrentPage.swift +20 -0
  1186. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getFileAccess.swift +20 -0
  1187. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getMainEntry.swift +18 -0
  1188. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getNativeApp.swift +20 -0
  1189. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getNativeApplication.swift +18 -0
  1190. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getResources.swift +18 -0
  1191. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getRootLayout.swift +20 -0
  1192. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getRootLayoutById.swift +20 -0
  1193. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getRootView.swift +18 -0
  1194. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getTransformedText.swift +20 -0
  1195. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getViewById.swift +20 -0
  1196. package/kit-apple/Sources/NativeScriptKit/Core/__Export.hasLaunched.swift +18 -0
  1197. package/kit-apple/Sources/NativeScriptKit/Core/__Export.hasListeners.swift +18 -0
  1198. package/kit-apple/Sources/NativeScriptKit/Core/__Export.heightProperty.swift +18 -0
  1199. package/kit-apple/Sources/NativeScriptKit/Core/__Export.hintProperty.swift +18 -0
  1200. package/kit-apple/Sources/NativeScriptKit/Core/__Export.horizontalAlignmentProperty.swift +18 -0
  1201. package/kit-apple/Sources/NativeScriptKit/Core/__Export.inBackground.swift +18 -0
  1202. package/kit-apple/Sources/NativeScriptKit/Core/__Export.initAccessibilityCssHelper.swift +20 -0
  1203. package/kit-apple/Sources/NativeScriptKit/Core/__Export.isAccessibilityServiceEnabled.swift +20 -0
  1204. package/kit-apple/Sources/NativeScriptKit/Core/__Export.isAndroid.swift +18 -0
  1205. package/kit-apple/Sources/NativeScriptKit/Core/__Export.isApple.swift +18 -0
  1206. package/kit-apple/Sources/NativeScriptKit/Core/__Export.isEmbedded.swift +20 -0
  1207. package/kit-apple/Sources/NativeScriptKit/Core/__Export.isIOS.swift +18 -0
  1208. package/kit-apple/Sources/NativeScriptKit/Core/__Export.isUserInteractionEnabledProperty.swift +20 -0
  1209. package/kit-apple/Sources/NativeScriptKit/Core/__Export.isVisionOS.swift +18 -0
  1210. package/kit-apple/Sources/NativeScriptKit/Core/__Export.keyboardTypeProperty.swift +18 -0
  1211. package/kit-apple/Sources/NativeScriptKit/Core/__Export.launchEvent.swift +18 -0
  1212. package/kit-apple/Sources/NativeScriptKit/Core/__Export.layoutDirection.swift +18 -0
  1213. package/kit-apple/Sources/NativeScriptKit/Core/__Export.layoutDirectionChanged.swift +18 -0
  1214. package/kit-apple/Sources/NativeScriptKit/Core/__Export.layoutDirectionChangedEvent.swift +18 -0
  1215. package/kit-apple/Sources/NativeScriptKit/Core/__Export.letterSpacingProperty.swift +18 -0
  1216. package/kit-apple/Sources/NativeScriptKit/Core/__Export.lineHeightProperty.swift +18 -0
  1217. package/kit-apple/Sources/NativeScriptKit/Core/__Export.loadAppCss.swift +18 -0
  1218. package/kit-apple/Sources/NativeScriptKit/Core/__Export.login.swift +20 -0
  1219. package/kit-apple/Sources/NativeScriptKit/Core/__Export.lowMemoryEvent.swift +18 -0
  1220. package/kit-apple/Sources/NativeScriptKit/Core/__Export.makeParser.swift +22 -0
  1221. package/kit-apple/Sources/NativeScriptKit/Core/__Export.makeValidator.swift +20 -0
  1222. package/kit-apple/Sources/NativeScriptKit/Core/__Export.marginBottomProperty.swift +18 -0
  1223. package/kit-apple/Sources/NativeScriptKit/Core/__Export.marginLeftProperty.swift +18 -0
  1224. package/kit-apple/Sources/NativeScriptKit/Core/__Export.marginRightProperty.swift +18 -0
  1225. package/kit-apple/Sources/NativeScriptKit/Core/__Export.marginTopProperty.swift +18 -0
  1226. package/kit-apple/Sources/NativeScriptKit/Core/__Export.maxHeightProperty.swift +18 -0
  1227. package/kit-apple/Sources/NativeScriptKit/Core/__Export.maxLengthProperty.swift +18 -0
  1228. package/kit-apple/Sources/NativeScriptKit/Core/__Export.maxWidthProperty.swift +18 -0
  1229. package/kit-apple/Sources/NativeScriptKit/Core/__Export.minHeightProperty.swift +18 -0
  1230. package/kit-apple/Sources/NativeScriptKit/Core/__Export.minWidthProperty.swift +18 -0
  1231. package/kit-apple/Sources/NativeScriptKit/Core/__Export.notify.swift +18 -0
  1232. package/kit-apple/Sources/NativeScriptKit/Core/__Export.off.swift +18 -0
  1233. package/kit-apple/Sources/NativeScriptKit/Core/__Export.on.swift +18 -0
  1234. package/kit-apple/Sources/NativeScriptKit/Core/__Export.opacityProperty.swift +18 -0
  1235. package/kit-apple/Sources/NativeScriptKit/Core/__Export.orientation.swift +18 -0
  1236. package/kit-apple/Sources/NativeScriptKit/Core/__Export.orientationChangedEvent.swift +18 -0
  1237. package/kit-apple/Sources/NativeScriptKit/Core/__Export.paddingBottomProperty.swift +18 -0
  1238. package/kit-apple/Sources/NativeScriptKit/Core/__Export.paddingInternalProperty.swift +18 -0
  1239. package/kit-apple/Sources/NativeScriptKit/Core/__Export.paddingLeftProperty.swift +18 -0
  1240. package/kit-apple/Sources/NativeScriptKit/Core/__Export.paddingRightProperty.swift +18 -0
  1241. package/kit-apple/Sources/NativeScriptKit/Core/__Export.paddingTopProperty.swift +18 -0
  1242. package/kit-apple/Sources/NativeScriptKit/Core/__Export.parseCSSShadow.swift +20 -0
  1243. package/kit-apple/Sources/NativeScriptKit/Core/__Export.parseCSSStroke.swift +20 -0
  1244. package/kit-apple/Sources/NativeScriptKit/Core/__Export.parseKeyframeDeclarations.swift +22 -0
  1245. package/kit-apple/Sources/NativeScriptKit/Core/__Export.perspectiveProperty.swift +18 -0
  1246. package/kit-apple/Sources/NativeScriptKit/Core/__Export.placeholderColorProperty.swift +20 -0
  1247. package/kit-apple/Sources/NativeScriptKit/Core/__Export.platformNames.swift +18 -0
  1248. package/kit-apple/Sources/NativeScriptKit/Core/__Export.profile.swift +22 -0
  1249. package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingDisable.swift +20 -0
  1250. package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingDumpProfiles.swift +20 -0
  1251. package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingEnable.swift +20 -0
  1252. package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingIsRunning.swift +20 -0
  1253. package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingResetProfiles.swift +20 -0
  1254. package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingStart.swift +20 -0
  1255. package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingStartCPU.swift +20 -0
  1256. package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingStop.swift +20 -0
  1257. package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingStopCPU.swift +20 -0
  1258. package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingUptime.swift +20 -0
  1259. package/kit-apple/Sources/NativeScriptKit/Core/__Export.prompt.swift +20 -0
  1260. package/kit-apple/Sources/NativeScriptKit/Core/__Export.querySelectorAll.swift +20 -0
  1261. package/kit-apple/Sources/NativeScriptKit/Core/__Export.removeTaggedAdditionalCSS.swift +20 -0
  1262. package/kit-apple/Sources/NativeScriptKit/Core/__Export.removeWeakEventListener.swift +22 -0
  1263. package/kit-apple/Sources/NativeScriptKit/Core/__Export.resetRootView.swift +18 -0
  1264. package/kit-apple/Sources/NativeScriptKit/Core/__Export.resolveFileNameFromUrl.swift +23 -0
  1265. package/kit-apple/Sources/NativeScriptKit/Core/__Export.resumeEvent.swift +18 -0
  1266. package/kit-apple/Sources/NativeScriptKit/Core/__Export.returnKeyTypeProperty.swift +20 -0
  1267. package/kit-apple/Sources/NativeScriptKit/Core/__Export.rotateProperty.swift +18 -0
  1268. package/kit-apple/Sources/NativeScriptKit/Core/__Export.rotateXProperty.swift +18 -0
  1269. package/kit-apple/Sources/NativeScriptKit/Core/__Export.rotateYProperty.swift +18 -0
  1270. package/kit-apple/Sources/NativeScriptKit/Core/__Export.rowGapProperty.swift +18 -0
  1271. package/kit-apple/Sources/NativeScriptKit/Core/__Export.run.swift +18 -0
  1272. package/kit-apple/Sources/NativeScriptKit/Core/__Export.sanitizeModuleName.swift +20 -0
  1273. package/kit-apple/Sources/NativeScriptKit/Core/__Export.scaleXProperty.swift +18 -0
  1274. package/kit-apple/Sources/NativeScriptKit/Core/__Export.scaleYProperty.swift +18 -0
  1275. package/kit-apple/Sources/NativeScriptKit/Core/__Export.sendAccessibilityEvent.swift +18 -0
  1276. package/kit-apple/Sources/NativeScriptKit/Core/__Export.setActivityCallbacks.swift +20 -0
  1277. package/kit-apple/Sources/NativeScriptKit/Core/__Export.setAutoSystemAppearanceChanged.swift +18 -0
  1278. package/kit-apple/Sources/NativeScriptKit/Core/__Export.setCssFileName.swift +18 -0
  1279. package/kit-apple/Sources/NativeScriptKit/Core/__Export.setMaxRefreshRate.swift +18 -0
  1280. package/kit-apple/Sources/NativeScriptKit/Core/__Export.setNativeApp.swift +20 -0
  1281. package/kit-apple/Sources/NativeScriptKit/Core/__Export.setResources.swift +18 -0
  1282. package/kit-apple/Sources/NativeScriptKit/Core/__Export.suspendEvent.swift +18 -0
  1283. package/kit-apple/Sources/NativeScriptKit/Core/__Export.suspended.swift +18 -0
  1284. package/kit-apple/Sources/NativeScriptKit/Core/__Export.systemAppearance.swift +18 -0
  1285. package/kit-apple/Sources/NativeScriptKit/Core/__Export.systemAppearanceChanged.swift +18 -0
  1286. package/kit-apple/Sources/NativeScriptKit/Core/__Export.systemAppearanceChangedEvent.swift +18 -0
  1287. package/kit-apple/Sources/NativeScriptKit/Core/__Export.textAlignmentProperty.swift +18 -0
  1288. package/kit-apple/Sources/NativeScriptKit/Core/__Export.textDecorationProperty.swift +18 -0
  1289. package/kit-apple/Sources/NativeScriptKit/Core/__Export.textOverflowProperty.swift +18 -0
  1290. package/kit-apple/Sources/NativeScriptKit/Core/__Export.textShadowProperty.swift +18 -0
  1291. package/kit-apple/Sources/NativeScriptKit/Core/__Export.textStrokeProperty.swift +18 -0
  1292. package/kit-apple/Sources/NativeScriptKit/Core/__Export.textTransformProperty.swift +18 -0
  1293. package/kit-apple/Sources/NativeScriptKit/Core/__Export.timeConverter.swift +20 -0
  1294. package/kit-apple/Sources/NativeScriptKit/Core/__Export.translateXProperty.swift +18 -0
  1295. package/kit-apple/Sources/NativeScriptKit/Core/__Export.translateYProperty.swift +18 -0
  1296. package/kit-apple/Sources/NativeScriptKit/Core/__Export.uncaughtErrorEvent.swift +18 -0
  1297. package/kit-apple/Sources/NativeScriptKit/Core/__Export.unsetValue.swift +18 -0
  1298. package/kit-apple/Sources/NativeScriptKit/Core/__Export.updateAccessibilityProperties.swift +20 -0
  1299. package/kit-apple/Sources/NativeScriptKit/Core/__Export.updateCurrentHelperClasses.swift +21 -0
  1300. package/kit-apple/Sources/NativeScriptKit/Core/__Export.updateTextTriggerProperty.swift +20 -0
  1301. package/kit-apple/Sources/NativeScriptKit/Core/__Export.verticalAlignmentProperty.swift +18 -0
  1302. package/kit-apple/Sources/NativeScriptKit/Core/__Export.visibilityProperty.swift +18 -0
  1303. package/kit-apple/Sources/NativeScriptKit/Core/__Export.whiteSpaceProperty.swift +18 -0
  1304. package/kit-apple/Sources/NativeScriptKit/Core/__Export.widthProperty.swift +18 -0
  1305. package/kit-apple/Sources/NativeScriptKit/Core/__Export.zIndexProperty.swift +18 -0
  1306. package/kit-apple/Sources/NativeScriptKit/Core/__Modules.swift +17 -0
  1307. package/kit-apple/Sources/NativeScriptKit/Core/__Namespace.Http.swift +23 -0
  1308. package/kit-apple/Sources/NativeScriptKit/Core/__Namespace.Utils.swift +201 -0
  1309. package/kit-apple/Sources/NativeScriptKit/Core/abortcontroller.abortsignal.swift +109 -0
  1310. package/kit-apple/Sources/NativeScriptKit/Core/abortcontroller.index.swift +118 -0
  1311. package/kit-apple/Sources/NativeScriptKit/Core/accessibility.accessibility-common.swift +572 -0
  1312. package/kit-apple/Sources/NativeScriptKit/Core/accessibility.accessibility-properties.swift +258 -0
  1313. package/kit-apple/Sources/NativeScriptKit/Core/accessibility.index.swift +16 -0
  1314. package/kit-apple/Sources/NativeScriptKit/Core/application-settings.application-settings-common.swift +36 -0
  1315. package/kit-apple/Sources/NativeScriptKit/Core/application-settings.index.ios.swift +157 -0
  1316. package/kit-apple/Sources/NativeScriptKit/Core/application.application-common.swift +2095 -0
  1317. package/kit-apple/Sources/NativeScriptKit/Core/application.application-interfaces.swift +16 -0
  1318. package/kit-apple/Sources/NativeScriptKit/Core/application.application-shims.swift +212 -0
  1319. package/kit-apple/Sources/NativeScriptKit/Core/application.application.ios.swift +3854 -0
  1320. package/kit-apple/Sources/NativeScriptKit/Core/application.helpers-common.swift +224 -0
  1321. package/kit-apple/Sources/NativeScriptKit/Core/application.helpers.ios.swift +57 -0
  1322. package/kit-apple/Sources/NativeScriptKit/Core/application.index.ios.swift +16 -0
  1323. package/kit-apple/Sources/NativeScriptKit/Core/application.scene-delegate-bridge.swift +234 -0
  1324. package/kit-apple/Sources/NativeScriptKit/Core/color.color-common.swift +756 -0
  1325. package/kit-apple/Sources/NativeScriptKit/Core/color.color-types.swift +16 -0
  1326. package/kit-apple/Sources/NativeScriptKit/Core/color.color-utils.swift +388 -0
  1327. package/kit-apple/Sources/NativeScriptKit/Core/color.index.ios.swift +100 -0
  1328. package/kit-apple/Sources/NativeScriptKit/Core/color.known-colors.swift +520 -0
  1329. package/kit-apple/Sources/NativeScriptKit/Core/connectivity.index.ios.swift +190 -0
  1330. package/kit-apple/Sources/NativeScriptKit/Core/core-types.animation-types.swift +87 -0
  1331. package/kit-apple/Sources/NativeScriptKit/Core/core-types.index.swift +361 -0
  1332. package/kit-apple/Sources/NativeScriptKit/Core/core-types.validators.swift +62 -0
  1333. package/kit-apple/Sources/NativeScriptKit/Core/css-mediaquery.index.swift +220 -0
  1334. package/kit-apple/Sources/NativeScriptKit/Core/css-value.reworkcss-value.swift +280 -0
  1335. package/kit-apple/Sources/NativeScriptKit/Core/css.CSS3Parser.swift +1012 -0
  1336. package/kit-apple/Sources/NativeScriptKit/Core/css.CSSNativeScript.swift +264 -0
  1337. package/kit-apple/Sources/NativeScriptKit/Core/css.parser.swift +971 -0
  1338. package/kit-apple/Sources/NativeScriptKit/Core/css.system-classes.swift +120 -0
  1339. package/kit-apple/Sources/NativeScriptKit/Core/data.observable-array.index.swift +700 -0
  1340. package/kit-apple/Sources/NativeScriptKit/Core/data.observable.index.swift +1166 -0
  1341. package/kit-apple/Sources/NativeScriptKit/Core/data.virtual-array.index.swift +326 -0
  1342. package/kit-apple/Sources/NativeScriptKit/Core/fetch.index.swift +1201 -0
  1343. package/kit-apple/Sources/NativeScriptKit/Core/file-system.file-system-access.ios.swift +1450 -0
  1344. package/kit-apple/Sources/NativeScriptKit/Core/file-system.index.swift +1756 -0
  1345. package/kit-apple/Sources/NativeScriptKit/Core/fps-meter.fps-native.ios.swift +227 -0
  1346. package/kit-apple/Sources/NativeScriptKit/Core/fps-meter.index.swift +141 -0
  1347. package/kit-apple/Sources/NativeScriptKit/Core/globals.global-utils.swift +252 -0
  1348. package/kit-apple/Sources/NativeScriptKit/Core/http.http-interfaces.swift +24 -0
  1349. package/kit-apple/Sources/NativeScriptKit/Core/http.http-request-internal.http-request-internal-common.swift +59 -0
  1350. package/kit-apple/Sources/NativeScriptKit/Core/http.http-request-internal.index.ios.swift +413 -0
  1351. package/kit-apple/Sources/NativeScriptKit/Core/http.http-request.http-request-common.swift +57 -0
  1352. package/kit-apple/Sources/NativeScriptKit/Core/http.http-request.index.ios.swift +101 -0
  1353. package/kit-apple/Sources/NativeScriptKit/Core/http.index.swift +175 -0
  1354. package/kit-apple/Sources/NativeScriptKit/Core/image-asset.image-asset-common.swift +285 -0
  1355. package/kit-apple/Sources/NativeScriptKit/Core/image-asset.index.ios.swift +205 -0
  1356. package/kit-apple/Sources/NativeScriptKit/Core/image-source.image-source-common.swift +40 -0
  1357. package/kit-apple/Sources/NativeScriptKit/Core/image-source.index.ios.swift +1130 -0
  1358. package/kit-apple/Sources/NativeScriptKit/Core/js-libs.easysax.easysax.swift +1388 -0
  1359. package/kit-apple/Sources/NativeScriptKit/Core/kit-index.json +30789 -0
  1360. package/kit-apple/Sources/NativeScriptKit/Core/manifest.json +3383 -0
  1361. package/kit-apple/Sources/NativeScriptKit/Core/matrix.index.swift +151 -0
  1362. package/kit-apple/Sources/NativeScriptKit/Core/media-query-list.index.swift +468 -0
  1363. package/kit-apple/Sources/NativeScriptKit/Core/module-name-resolver.helpers.swift +57 -0
  1364. package/kit-apple/Sources/NativeScriptKit/Core/module-name-resolver.index.swift +220 -0
  1365. package/kit-apple/Sources/NativeScriptKit/Core/module-name-resolver.non-bundle-workflow-compat.swift +262 -0
  1366. package/kit-apple/Sources/NativeScriptKit/Core/module-name-resolver.qualifier-matcher.index.swift +330 -0
  1367. package/kit-apple/Sources/NativeScriptKit/Core/native-window.index.swift +16 -0
  1368. package/kit-apple/Sources/NativeScriptKit/Core/native-window.native-window-common.swift +730 -0
  1369. package/kit-apple/Sources/NativeScriptKit/Core/native-window.native-window-interfaces.swift +46 -0
  1370. package/kit-apple/Sources/NativeScriptKit/Core/native-window.native-window.ios.swift +521 -0
  1371. package/kit-apple/Sources/NativeScriptKit/Core/native-window.window-base.swift +298 -0
  1372. package/kit-apple/Sources/NativeScriptKit/Core/npm.css-what.src.index.swift +16 -0
  1373. package/kit-apple/Sources/NativeScriptKit/Core/npm.css-what.src.parse.swift +668 -0
  1374. package/kit-apple/Sources/NativeScriptKit/Core/npm.css-what.src.stringify.swift +221 -0
  1375. package/kit-apple/Sources/NativeScriptKit/Core/npm.css-what.src.types.swift +62 -0
  1376. package/kit-apple/Sources/NativeScriptKit/Core/platform.common.swift +25 -0
  1377. package/kit-apple/Sources/NativeScriptKit/Core/platform.device.index.ios.swift +289 -0
  1378. package/kit-apple/Sources/NativeScriptKit/Core/platform.index.swift +16 -0
  1379. package/kit-apple/Sources/NativeScriptKit/Core/platform.screen.index.ios.swift +217 -0
  1380. package/kit-apple/Sources/NativeScriptKit/Core/profiling.index.swift +528 -0
  1381. package/kit-apple/Sources/NativeScriptKit/Core/text.formatted-string.swift +16 -0
  1382. package/kit-apple/Sources/NativeScriptKit/Core/text.index.ios.swift +25 -0
  1383. package/kit-apple/Sources/NativeScriptKit/Core/text.span.swift +16 -0
  1384. package/kit-apple/Sources/NativeScriptKit/Core/text.text-common.swift +309 -0
  1385. package/kit-apple/Sources/NativeScriptKit/Core/trace.index.swift +513 -0
  1386. package/kit-apple/Sources/NativeScriptKit/Core/ui.action-bar.action-bar-common.swift +1270 -0
  1387. package/kit-apple/Sources/NativeScriptKit/Core/ui.action-bar.index.ios.swift +1480 -0
  1388. package/kit-apple/Sources/NativeScriptKit/Core/ui.activity-indicator.activity-indicator-common.swift +81 -0
  1389. package/kit-apple/Sources/NativeScriptKit/Core/ui.activity-indicator.index.ios.swift +175 -0
  1390. package/kit-apple/Sources/NativeScriptKit/Core/ui.animation.animation-common.swift +581 -0
  1391. package/kit-apple/Sources/NativeScriptKit/Core/ui.animation.animation-shared.swift +16 -0
  1392. package/kit-apple/Sources/NativeScriptKit/Core/ui.animation.animation-types.swift +16 -0
  1393. package/kit-apple/Sources/NativeScriptKit/Core/ui.animation.index.ios.swift +2204 -0
  1394. package/kit-apple/Sources/NativeScriptKit/Core/ui.animation.keyframe-animation.swift +1213 -0
  1395. package/kit-apple/Sources/NativeScriptKit/Core/ui.builder.binding-builder.swift +318 -0
  1396. package/kit-apple/Sources/NativeScriptKit/Core/ui.builder.component-builder.index.swift +387 -0
  1397. package/kit-apple/Sources/NativeScriptKit/Core/ui.builder.index.swift +2026 -0
  1398. package/kit-apple/Sources/NativeScriptKit/Core/ui.button.button-common.swift +75 -0
  1399. package/kit-apple/Sources/NativeScriptKit/Core/ui.button.index.ios.swift +614 -0
  1400. package/kit-apple/Sources/NativeScriptKit/Core/ui.content-view.index.swift +291 -0
  1401. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.bindable.bindable-expressions.swift +770 -0
  1402. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.bindable.bindable-resources.swift +30 -0
  1403. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.bindable.bindable-types.swift +16 -0
  1404. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.bindable.expression-parser.swift +5297 -0
  1405. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.bindable.index.swift +1376 -0
  1406. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.control-state-change.index.ios.swift +197 -0
  1407. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.properties.index.swift +3899 -0
  1408. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.properties.property-shared.swift +53 -0
  1409. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.view-base.index.swift +3522 -0
  1410. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.view-base.utils.swift +32 -0
  1411. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.view.index.ios.swift +3318 -0
  1412. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.view.view-common.swift +4347 -0
  1413. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.view.view-helper.index.ios.swift +1417 -0
  1414. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.view.view-helper.view-helper-common.swift +337 -0
  1415. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.view.view-helper.view-helper-shared.swift +16 -0
  1416. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.view.view-interfaces.swift +272 -0
  1417. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.weak-event-listener.index.swift +323 -0
  1418. package/kit-apple/Sources/NativeScriptKit/Core/ui.date-picker.date-picker-common.swift +335 -0
  1419. package/kit-apple/Sources/NativeScriptKit/Core/ui.date-picker.index.ios.swift +609 -0
  1420. package/kit-apple/Sources/NativeScriptKit/Core/ui.dialogs.dialogs-common.swift +486 -0
  1421. package/kit-apple/Sources/NativeScriptKit/Core/ui.dialogs.index.ios.swift +677 -0
  1422. package/kit-apple/Sources/NativeScriptKit/Core/ui.editable-text-base.editable-text-base-common.swift +378 -0
  1423. package/kit-apple/Sources/NativeScriptKit/Core/ui.editable-text-base.index.ios.swift +512 -0
  1424. package/kit-apple/Sources/NativeScriptKit/Core/ui.embedding.index.ios.swift +25 -0
  1425. package/kit-apple/Sources/NativeScriptKit/Core/ui.enums.enums.swift +16 -0
  1426. package/kit-apple/Sources/NativeScriptKit/Core/ui.enums.index.swift +16 -0
  1427. package/kit-apple/Sources/NativeScriptKit/Core/ui.frame.fragment.ios.swift +26 -0
  1428. package/kit-apple/Sources/NativeScriptKit/Core/ui.frame.fragment.transitions.types.swift +23 -0
  1429. package/kit-apple/Sources/NativeScriptKit/Core/ui.frame.frame-common.swift +1526 -0
  1430. package/kit-apple/Sources/NativeScriptKit/Core/ui.frame.frame-constants.swift +21 -0
  1431. package/kit-apple/Sources/NativeScriptKit/Core/ui.frame.frame-helpers.swift +40 -0
  1432. package/kit-apple/Sources/NativeScriptKit/Core/ui.frame.frame-interfaces.swift +26 -0
  1433. package/kit-apple/Sources/NativeScriptKit/Core/ui.frame.frame-stack.swift +138 -0
  1434. package/kit-apple/Sources/NativeScriptKit/Core/ui.frame.index.ios.swift +1794 -0
  1435. package/kit-apple/Sources/NativeScriptKit/Core/ui.gestures.gestures-common.swift +269 -0
  1436. package/kit-apple/Sources/NativeScriptKit/Core/ui.gestures.gestures-types.swift +77 -0
  1437. package/kit-apple/Sources/NativeScriptKit/Core/ui.gestures.index.ios.swift +1453 -0
  1438. package/kit-apple/Sources/NativeScriptKit/Core/ui.gestures.touch-manager.swift +451 -0
  1439. package/kit-apple/Sources/NativeScriptKit/Core/ui.html-view.html-view-common.swift +106 -0
  1440. package/kit-apple/Sources/NativeScriptKit/Core/ui.html-view.index.ios.swift +301 -0
  1441. package/kit-apple/Sources/NativeScriptKit/Core/ui.image-cache.image-cache-common.swift +479 -0
  1442. package/kit-apple/Sources/NativeScriptKit/Core/ui.image-cache.index.ios.swift +232 -0
  1443. package/kit-apple/Sources/NativeScriptKit/Core/ui.image.image-common.swift +399 -0
  1444. package/kit-apple/Sources/NativeScriptKit/Core/ui.image.index.ios.swift +499 -0
  1445. package/kit-apple/Sources/NativeScriptKit/Core/ui.image.symbol-effects-common.swift +150 -0
  1446. package/kit-apple/Sources/NativeScriptKit/Core/ui.image.symbol-effects.ios.swift +148 -0
  1447. package/kit-apple/Sources/NativeScriptKit/Core/ui.label.index.ios.swift +483 -0
  1448. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.absolute-layout.absolute-layout-common.swift +172 -0
  1449. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.absolute-layout.index.ios.swift +189 -0
  1450. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.dock-layout.dock-layout-common.swift +157 -0
  1451. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.dock-layout.index.ios.swift +264 -0
  1452. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.flexbox-layout.flexbox-layout-common.swift +1028 -0
  1453. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.flexbox-layout.index.ios.swift +3238 -0
  1454. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.grid-layout.grid-layout-common.swift +1014 -0
  1455. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.grid-layout.index.ios.swift +2435 -0
  1456. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.index.swift +16 -0
  1457. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.layout-base-common.swift +591 -0
  1458. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.layout-base.ios.swift +135 -0
  1459. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.liquid-glass-container.index.ios.swift +364 -0
  1460. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.liquid-glass-container.liquid-glass-container-common.swift +49 -0
  1461. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.liquid-glass.index.ios.swift +238 -0
  1462. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.liquid-glass.liquid-glass-common.swift +34 -0
  1463. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.root-layout.index.ios.swift +347 -0
  1464. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.root-layout.root-layout-common.swift +964 -0
  1465. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.root-layout.root-layout-stack.swift +59 -0
  1466. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.stack-layout.index.ios.swift +350 -0
  1467. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.stack-layout.stack-layout-common.swift +72 -0
  1468. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.wrap-layout.index.ios.swift +357 -0
  1469. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.wrap-layout.wrap-layout-common.swift +188 -0
  1470. package/kit-apple/Sources/NativeScriptKit/Core/ui.list-picker.index.ios.swift +374 -0
  1471. package/kit-apple/Sources/NativeScriptKit/Core/ui.list-picker.list-picker-common.swift +252 -0
  1472. package/kit-apple/Sources/NativeScriptKit/Core/ui.list-view.index.ios.swift +2611 -0
  1473. package/kit-apple/Sources/NativeScriptKit/Core/ui.list-view.list-view-common.swift +950 -0
  1474. package/kit-apple/Sources/NativeScriptKit/Core/ui.page.events.swift +23 -0
  1475. package/kit-apple/Sources/NativeScriptKit/Core/ui.page.index.ios.swift +1340 -0
  1476. package/kit-apple/Sources/NativeScriptKit/Core/ui.page.page-common.swift +520 -0
  1477. package/kit-apple/Sources/NativeScriptKit/Core/ui.placeholder.index.swift +63 -0
  1478. package/kit-apple/Sources/NativeScriptKit/Core/ui.placeholder.placeholder-common.swift +16 -0
  1479. package/kit-apple/Sources/NativeScriptKit/Core/ui.progress.index.ios.swift +173 -0
  1480. package/kit-apple/Sources/NativeScriptKit/Core/ui.progress.progress-common.swift +111 -0
  1481. package/kit-apple/Sources/NativeScriptKit/Core/ui.proxy-view-container.index.swift +497 -0
  1482. package/kit-apple/Sources/NativeScriptKit/Core/ui.repeater.index.swift +535 -0
  1483. package/kit-apple/Sources/NativeScriptKit/Core/ui.scroll-view.index.ios.swift +699 -0
  1484. package/kit-apple/Sources/NativeScriptKit/Core/ui.scroll-view.scroll-view-common.swift +414 -0
  1485. package/kit-apple/Sources/NativeScriptKit/Core/ui.search-bar.index.ios.swift +609 -0
  1486. package/kit-apple/Sources/NativeScriptKit/Core/ui.search-bar.search-bar-common.swift +162 -0
  1487. package/kit-apple/Sources/NativeScriptKit/Core/ui.segmented-bar.index.ios.swift +470 -0
  1488. package/kit-apple/Sources/NativeScriptKit/Core/ui.segmented-bar.segmented-bar-common.swift +448 -0
  1489. package/kit-apple/Sources/NativeScriptKit/Core/ui.slider.index.ios.swift +593 -0
  1490. package/kit-apple/Sources/NativeScriptKit/Core/ui.slider.slider-common.swift +211 -0
  1491. package/kit-apple/Sources/NativeScriptKit/Core/ui.split-view.index.ios.swift +1459 -0
  1492. package/kit-apple/Sources/NativeScriptKit/Core/ui.split-view.split-view-common.swift +410 -0
  1493. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.background-common.swift +809 -0
  1494. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.background.ios.swift +2290 -0
  1495. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.box-shadow.swift +138 -0
  1496. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.clip-path-function.swift +198 -0
  1497. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.converters.swift +105 -0
  1498. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.css-animation-parser.swift +493 -0
  1499. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.css-selector.swift +4016 -0
  1500. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.css-shadow.swift +48 -0
  1501. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.css-stroke.swift +41 -0
  1502. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.css-transform.swift +406 -0
  1503. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.css-utils.swift +297 -0
  1504. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.font-common.swift +477 -0
  1505. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.font-interfaces.swift +16 -0
  1506. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.font.ios.swift +416 -0
  1507. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.length-shared.swift +343 -0
  1508. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.linear-gradient.swift +162 -0
  1509. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.style-properties.swift +2524 -0
  1510. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.style-scope.swift +3330 -0
  1511. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.style.index.swift +905 -0
  1512. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.styling-profile.swift +16 -0
  1513. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.styling-shared.swift +16 -0
  1514. package/kit-apple/Sources/NativeScriptKit/Core/ui.switch.index.ios.swift +508 -0
  1515. package/kit-apple/Sources/NativeScriptKit/Core/ui.switch.switch-common.swift +143 -0
  1516. package/kit-apple/Sources/NativeScriptKit/Core/ui.tab-view.index.ios.swift +2284 -0
  1517. package/kit-apple/Sources/NativeScriptKit/Core/ui.tab-view.tab-view-common.swift +985 -0
  1518. package/kit-apple/Sources/NativeScriptKit/Core/ui.text-base.formatted-string.swift +801 -0
  1519. package/kit-apple/Sources/NativeScriptKit/Core/ui.text-base.index.ios.swift +1264 -0
  1520. package/kit-apple/Sources/NativeScriptKit/Core/ui.text-base.span.swift +476 -0
  1521. package/kit-apple/Sources/NativeScriptKit/Core/ui.text-base.text-base-common.swift +1046 -0
  1522. package/kit-apple/Sources/NativeScriptKit/Core/ui.text-field.index.ios.swift +912 -0
  1523. package/kit-apple/Sources/NativeScriptKit/Core/ui.text-field.text-field-common.swift +121 -0
  1524. package/kit-apple/Sources/NativeScriptKit/Core/ui.text-view.index.ios.swift +1030 -0
  1525. package/kit-apple/Sources/NativeScriptKit/Core/ui.text-view.text-view-common.swift +138 -0
  1526. package/kit-apple/Sources/NativeScriptKit/Core/ui.time-picker.index.ios.swift +473 -0
  1527. package/kit-apple/Sources/NativeScriptKit/Core/ui.time-picker.time-picker-common.swift +536 -0
  1528. package/kit-apple/Sources/NativeScriptKit/Core/ui.transition.fade-transition.ios.swift +265 -0
  1529. package/kit-apple/Sources/NativeScriptKit/Core/ui.transition.index.ios.swift +159 -0
  1530. package/kit-apple/Sources/NativeScriptKit/Core/ui.transition.modal-transition.ios.swift +635 -0
  1531. package/kit-apple/Sources/NativeScriptKit/Core/ui.transition.page-transition.ios.swift +1167 -0
  1532. package/kit-apple/Sources/NativeScriptKit/Core/ui.transition.shared-transition-helper.ios.swift +3673 -0
  1533. package/kit-apple/Sources/NativeScriptKit/Core/ui.transition.shared-transition.swift +492 -0
  1534. package/kit-apple/Sources/NativeScriptKit/Core/ui.transition.slide-transition.ios.swift +328 -0
  1535. package/kit-apple/Sources/NativeScriptKit/Core/ui.utils.ios.swift +132 -0
  1536. package/kit-apple/Sources/NativeScriptKit/Core/ui.web-view.index.ios.swift +827 -0
  1537. package/kit-apple/Sources/NativeScriptKit/Core/ui.web-view.web-view-common.swift +206 -0
  1538. package/kit-apple/Sources/NativeScriptKit/Core/ui.web-view.web-view-interfaces.swift +16 -0
  1539. package/kit-apple/Sources/NativeScriptKit/Core/utils.animation-helpers.swift +84 -0
  1540. package/kit-apple/Sources/NativeScriptKit/Core/utils.common.swift +278 -0
  1541. package/kit-apple/Sources/NativeScriptKit/Core/utils.constants.ios.swift +33 -0
  1542. package/kit-apple/Sources/NativeScriptKit/Core/utils.debug-source.swift +271 -0
  1543. package/kit-apple/Sources/NativeScriptKit/Core/utils.debug.swift +20 -0
  1544. package/kit-apple/Sources/NativeScriptKit/Core/utils.index.ios.swift +205 -0
  1545. package/kit-apple/Sources/NativeScriptKit/Core/utils.layout-helper.index.ios.swift +131 -0
  1546. package/kit-apple/Sources/NativeScriptKit/Core/utils.layout-helper.layout-helper-common.swift +87 -0
  1547. package/kit-apple/Sources/NativeScriptKit/Core/utils.layout-helper.layout-helper-shared.swift +28 -0
  1548. package/kit-apple/Sources/NativeScriptKit/Core/utils.lazy.swift +39 -0
  1549. package/kit-apple/Sources/NativeScriptKit/Core/utils.macrotask-scheduler.swift +71 -0
  1550. package/kit-apple/Sources/NativeScriptKit/Core/utils.mainthread-helper.ios.swift +52 -0
  1551. package/kit-apple/Sources/NativeScriptKit/Core/utils.module-merge.swift +27 -0
  1552. package/kit-apple/Sources/NativeScriptKit/Core/utils.native-helper.ios.swift +734 -0
  1553. package/kit-apple/Sources/NativeScriptKit/Core/utils.number-utils.swift +79 -0
  1554. package/kit-apple/Sources/NativeScriptKit/Core/utils.platform-check.swift +25 -0
  1555. package/kit-apple/Sources/NativeScriptKit/Core/utils.shared.swift +84 -0
  1556. package/kit-apple/Sources/NativeScriptKit/Core/utils.types.swift +308 -0
  1557. package/kit-apple/Sources/NativeScriptKit/Core/utils.utils-shared.swift +31 -0
  1558. package/kit-apple/Sources/NativeScriptKit/Core/xhr.index.swift +1726 -0
  1559. package/kit-apple/Sources/NativeScriptKit/Core/xml.index.swift +775 -0
  1560. package/kit-apple/Sources/NativeScriptKit/CoreBridge.swift +388 -0
  1561. package/kit-apple/Sources/NativeScriptKit/CoreConnectivity.swift +46 -0
  1562. package/kit-apple/Sources/NativeScriptKit/CoreLifetimes.swift +15 -0
  1563. package/kit-apple/Sources/NativeScriptKit/CorePackages.swift +59 -0
  1564. package/kit-apple/Sources/NativeScriptKit/JS.swift +94 -0
  1565. package/kit-apple/Sources/NativeScriptKit/Modal.swift +65 -0
  1566. package/kit-apple/Sources/NativeScriptKit/Probe.swift +97 -0
  1567. package/kit-apple/Sources/NativeScriptKit/Regions.swift +291 -0
  1568. package/kit-apple/Sources/NativeScriptKit/Runtime/AbsentModules.swift +64 -0
  1569. package/kit-apple/Sources/NativeScriptKit/Runtime/Array.swift +1640 -0
  1570. package/kit-apple/Sources/NativeScriptKit/Runtime/ArrayLike.swift +859 -0
  1571. package/kit-apple/Sources/NativeScriptKit/Runtime/BigInt.swift +338 -0
  1572. package/kit-apple/Sources/NativeScriptKit/Runtime/BuiltinValues.swift +45 -0
  1573. package/kit-apple/Sources/NativeScriptKit/Runtime/Collections.swift +609 -0
  1574. package/kit-apple/Sources/NativeScriptKit/Runtime/Date.swift +269 -0
  1575. package/kit-apple/Sources/NativeScriptKit/Runtime/Dynamic.swift +470 -0
  1576. package/kit-apple/Sources/NativeScriptKit/Runtime/ES2023.swift +105 -0
  1577. package/kit-apple/Sources/NativeScriptKit/Runtime/Errors.swift +402 -0
  1578. package/kit-apple/Sources/NativeScriptKit/Runtime/Functions.swift +340 -0
  1579. package/kit-apple/Sources/NativeScriptKit/Runtime/Inspect.swift +758 -0
  1580. package/kit-apple/Sources/NativeScriptKit/Runtime/Interop.swift +42 -0
  1581. package/kit-apple/Sources/NativeScriptKit/Runtime/Intl.swift +728 -0
  1582. package/kit-apple/Sources/NativeScriptKit/Runtime/Iterators.swift +898 -0
  1583. package/kit-apple/Sources/NativeScriptKit/Runtime/JSON.swift +874 -0
  1584. package/kit-apple/Sources/NativeScriptKit/Runtime/Lowering.swift +588 -0
  1585. package/kit-apple/Sources/NativeScriptKit/Runtime/Native.swift +819 -0
  1586. package/kit-apple/Sources/NativeScriptKit/Runtime/NativeStack.swift +66 -0
  1587. package/kit-apple/Sources/NativeScriptKit/Runtime/Number.swift +599 -0
  1588. package/kit-apple/Sources/NativeScriptKit/Runtime/Promise.swift +810 -0
  1589. package/kit-apple/Sources/NativeScriptKit/Runtime/Prototypes.swift +471 -0
  1590. package/kit-apple/Sources/NativeScriptKit/Runtime/Reactive.swift +34 -0
  1591. package/kit-apple/Sources/NativeScriptKit/Runtime/Record.swift +59 -0
  1592. package/kit-apple/Sources/NativeScriptKit/Runtime/RegExp.swift +576 -0
  1593. package/kit-apple/Sources/NativeScriptKit/Runtime/RegExpEngine.swift +1918 -0
  1594. package/kit-apple/Sources/NativeScriptKit/Runtime/Stack.swift +20 -0
  1595. package/kit-apple/Sources/NativeScriptKit/Runtime/StringUTF16.swift +179 -0
  1596. package/kit-apple/Sources/NativeScriptKit/Runtime/Symbol.swift +142 -0
  1597. package/kit-apple/Sources/NativeScriptKit/Runtime/Threads.swift +275 -0
  1598. package/kit-apple/Sources/NativeScriptKit/Runtime/Timers.swift +240 -0
  1599. package/kit-apple/Sources/NativeScriptKit/Runtime/TypedArrays.swift +996 -0
  1600. package/kit-apple/Sources/NativeScriptKit/Runtime/URI.swift +94 -0
  1601. package/kit-apple/Sources/NativeScriptKit/Runtime/Values.swift +2061 -0
  1602. package/kit-apple/Sources/NativeScriptKit/Runtime/Views.swift +97 -0
  1603. package/kit-apple/Sources/NativeScriptKit/Runtime/Weak.swift +135 -0
  1604. package/kit-apple/Sources/NativeScriptKit/Runtime/WinterTC.swift +484 -0
  1605. package/kit-apple/Sources/NativeScriptKit/Signals.swift +952 -0
  1606. package/kit-apple/Sources/NativeScriptKit/UncaughtErrors.swift +37 -0
  1607. package/package.json +94 -4
  1608. package/verify/ui-driver/Host/App.swift +7 -0
  1609. package/verify/ui-driver/Tests/Driver.swift +54 -0
  1610. package/verify/ui-driver/project.yml +35 -0
@@ -0,0 +1,2611 @@
1
+ // Generated from @nativescript/core by tools/kit: edit core, not this file.
2
+
3
+ import CFNetwork
4
+ import CoreFoundation
5
+ import CoreGraphics
6
+ import CoreServices
7
+ import CoreText
8
+ import Dispatch
9
+ import Foundation
10
+ import ObjectiveC
11
+ import Photos
12
+ import QuartzCore
13
+ import Symbols
14
+ import SystemConfiguration
15
+ import UIKit
16
+ import WebKit
17
+
18
+ @MainActor public final class ListViewCell: UITableViewCell, JSNativeMembers {
19
+ nonisolated deinit {}
20
+ public var owner: JSWeakRef<NativeScriptKit.View>?
21
+ public var listView: JSWeakRef<NativeScriptKit.ListView>?
22
+ public var view: NativeScriptKit.View? {
23
+ get throws {
24
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:77)
25
+ return try (jsTruthy(self.owner) ? jsUnwrap(self.owner, "deref").deref() : nil)
26
+ }
27
+ }
28
+ #sourceLocation()
29
+ public static func initWithEmptyBackground() throws -> NativeScriptKit.ListViewCell {
30
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:38)
31
+ let cell: NativeScriptKit.ListViewCell? = ListViewCell()
32
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:40)
33
+ try jsUnwrap(cell, setting: "backgroundColor").backgroundColor = UIColor.clear
34
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:42)
35
+ return try jsObjectRequired(cell)
36
+ }
37
+ #sourceLocation()
38
+ public override init(style: UITableViewCell.CellStyle, reuseIdentifier __a1: String?) {
39
+ super.init(style: style, reuseIdentifier: __a1)
40
+ jsReport {
41
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:48)
42
+ try jsUnwrap(self, setting: "backgroundColor").backgroundColor = UIColor.clear
43
+ }
44
+ }
45
+ #sourceLocation()
46
+ public required init?(coder: NSCoder) { super.init(coder: coder) }
47
+ public nonisolated override func willMove(toSuperview newSuperview: UIView?) {
48
+ if jsOffScriptThread() {
49
+ jsLater { self.willMove(toSuperview: newSuperview) }
50
+ return
51
+ }
52
+ jsOnMainThread(newSuperview) { newSuperview in
53
+ let newSuperview: UIView? = newSuperview
54
+ jsReport {
55
+ try { () throws -> Void in
56
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:54)
57
+ let parent: NativeScriptKit.ListView? =
58
+ try ((jsTruthy(self.view) ? jsUnwrap(self.view, "parent").parent : nil))
59
+ as? NativeScriptKit.ListView
60
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:58)
61
+ if jsTruthy(parent) && !jsTruthy(newSuperview as Any?) {
62
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:59)
63
+ try jsUnwrap(parent, "_removeContainer")._removeContainer(self)
64
+ }
65
+ }()
66
+ }
67
+ }
68
+ }
69
+ #sourceLocation()
70
+ public nonisolated override func didMoveToSuperview() {
71
+ if jsOffScriptThread() {
72
+ jsLater { self.didMoveToSuperview() }
73
+ return
74
+ }
75
+ jsOnMainThread {
76
+ jsReport {
77
+ try { () throws -> Void in
78
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:64)
79
+ super.didMoveToSuperview()
80
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:67)
81
+ let listView: NativeScriptKit.ListView? = (self.listView as JSWeakRef<NativeScriptKit.ListView>?)?
82
+ .deref()
83
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:68)
84
+ if try
85
+ ((jsTruthy(jsImplicit(self.superview)) && jsTruthy(listView as Any?))
86
+ && !(jsUnwrap(listView, "_hasCellContent")._hasCellContent(self)))
87
+ {
88
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:69)
89
+ let indexPath: NSIndexPath? =
90
+ try
91
+ (((jsUnwrap(listView, "nativeViewProtected").nativeViewProtected as? UITableView))
92
+ as UITableView?)?.indexPath(for: self) as NSIndexPath?
93
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:70)
94
+ if jsTruthy(indexPath as Any?) {
95
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:71)
96
+ try jsUnwrap(listView, "_prepareCellForDisplay")._prepareCellForDisplay(
97
+ self, jsImplicit(indexPath))
98
+ }
99
+ }
100
+ }()
101
+ }
102
+ }
103
+ }
104
+ #sourceLocation()
105
+ public func jsMember(_ key: String) -> Any?? {
106
+ switch key {
107
+ case "view": return .some(jsReported { try self.view } ?? nil)
108
+ case "owner": return .some(self.owner as Any?)
109
+ case "listView": return .some(self.listView as Any?)
110
+ default: return nil
111
+ }
112
+ }
113
+ public func jsSetMember(_ key: String, _ newValue: Any?) -> Bool {
114
+ switch key {
115
+ case "owner":
116
+ self.owner = (newValue as? JSWeakRef<NativeScriptKit.View>)
117
+ return true
118
+ case "listView":
119
+ self.listView = (newValue as? JSWeakRef<NativeScriptKit.ListView>)
120
+ return true
121
+ default: return false
122
+ }
123
+ }
124
+ }
125
+
126
+ @MainActor public final class ListViewHeaderCell: UITableViewHeaderFooterView, JSNativeMembers {
127
+ nonisolated deinit {}
128
+ public var owner: JSWeakRef<NativeScriptKit.View>?
129
+ public var view: NativeScriptKit.View? {
130
+ get throws {
131
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:113)
132
+ return try (jsTruthy(self.owner) ? jsUnwrap(self.owner, "deref").deref() : nil)
133
+ }
134
+ }
135
+ #sourceLocation()
136
+ public static func initWithEmptyBackground() throws -> NativeScriptKit.ListViewHeaderCell {
137
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:87)
138
+ let cell: NativeScriptKit.ListViewHeaderCell? = ListViewHeaderCell()
139
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:89)
140
+ try jsUnwrap(cell, setting: "backgroundColor").backgroundColor = UIColor.clear
141
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:91)
142
+ return try jsObjectRequired(cell)
143
+ }
144
+ #sourceLocation()
145
+ public override init(reuseIdentifier __a0: String?) {
146
+ super.init(reuseIdentifier: __a0)
147
+ jsReport {
148
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:97)
149
+ try jsUnwrap(self, setting: "backgroundColor").backgroundColor = UIColor.clear
150
+ }
151
+ }
152
+ #sourceLocation()
153
+ public required init?(coder: NSCoder) { super.init(coder: coder) }
154
+ public nonisolated override func willMove(toSuperview newSuperview: UIView?) {
155
+ if jsOffScriptThread() {
156
+ jsLater { self.willMove(toSuperview: newSuperview) }
157
+ return
158
+ }
159
+ jsOnMainThread(newSuperview) { newSuperview in
160
+ let newSuperview: UIView? = newSuperview
161
+ jsReport {
162
+ try { () throws -> Void in
163
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:103)
164
+ let parent: NativeScriptKit.ListView? =
165
+ try ((jsTruthy(self.view) ? jsUnwrap(self.view, "parent").parent : nil))
166
+ as? NativeScriptKit.ListView
167
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:107)
168
+ if jsTruthy(parent) && !jsTruthy(newSuperview as Any?) {
169
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:108)
170
+ try jsUnwrap(parent, "_removeHeaderContainer")._removeHeaderContainer(self)
171
+ }
172
+ }()
173
+ }
174
+ }
175
+ }
176
+ #sourceLocation()
177
+ public func jsMember(_ key: String) -> Any?? {
178
+ switch key {
179
+ case "view": return .some(jsReported { try self.view } ?? nil)
180
+ case "owner": return .some(self.owner as Any?)
181
+ default: return nil
182
+ }
183
+ }
184
+ public func jsSetMember(_ key: String, _ newValue: Any?) -> Bool {
185
+ switch key {
186
+ case "owner":
187
+ self.owner = (newValue as? JSWeakRef<NativeScriptKit.View>)
188
+ return true
189
+ default: return false
190
+ }
191
+ }
192
+ }
193
+
194
+ @MainActor public final class DataSource: NSObject, UITableViewDataSource, JSNativeMembers {
195
+ nonisolated deinit {}
196
+ public var _owner: JSWeakRef<NativeScriptKit.ListView>?
197
+ public static func initWithOwner(_ owner: JSWeakRef<NativeScriptKit.ListView>?) throws -> NativeScriptKit.DataSource
198
+ {
199
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:141)
200
+ let dataSource: NativeScriptKit.DataSource? = DataSource()
201
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:142)
202
+ try jsUnwrap(dataSource, setting: "_owner")._owner = owner
203
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:144)
204
+ return try jsObjectRequired(dataSource)
205
+ }
206
+ #sourceLocation()
207
+ public nonisolated func numberOfSections(in tableView: UITableView) -> Int {
208
+ if jsOffScriptThread() { return jsAwait { self.numberOfSections(in: tableView) } }
209
+ return jsOnMainThread(tableView) { (tableView) -> Int in
210
+ let __result: Double = jsReportedOrZero { () throws -> Double in
211
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:148)
212
+ let owner: NativeScriptKit.ListView? = (self._owner as JSWeakRef<NativeScriptKit.ListView>?)?.deref()
213
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:150)
214
+ if !jsTruthy(owner as Any?) {
215
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:151)
216
+ return 1
217
+ }
218
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:154)
219
+ let sections: Double = try jsUnwrap(owner, "_getSectionCount")._getSectionCount()
220
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:155)
221
+ if NativeScriptKit.Trace.isEnabled() {
222
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:156)
223
+ try NativeScriptKit.Trace.write(
224
+ "ListView: numberOfSections = \(js(sections)) (sectioned: \(js(jsUnwrap(owner, "sectioned").sectioned)))",
225
+ NativeScriptKit.Trace.categories.Debug)
226
+ }
227
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:158)
228
+ return sections
229
+ }
230
+ return jsNativeInteger(__result, Int.self)
231
+ }
232
+ }
233
+ #sourceLocation()
234
+ public nonisolated func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
235
+ if jsOffScriptThread() { return jsAwait { self.tableView(tableView, numberOfRowsInSection: section) } }
236
+ return jsOnMainThread(tableView, section) { (tableView, section) -> Int in
237
+ let section: Double = Double(section)
238
+ let __result: Any? = jsReportedOrZero { () throws -> Any? in
239
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:162)
240
+ let owner: NativeScriptKit.ListView? = (self._owner as JSWeakRef<NativeScriptKit.ListView>?)?.deref()
241
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:164)
242
+ if !jsTruthy(owner as Any?) {
243
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:165)
244
+ return Double(0)
245
+ }
246
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:168)
247
+ let sectionItems: Any? = try jsUnwrap(owner, "_getItemsInSection")._getItemsInSection(section)
248
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:169)
249
+ let rowCount: Any? =
250
+ try (jsTruthy(sectionItems) ? (jsGet(sectionItems, "length") as Any?) : (Double(0) as Any?))
251
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:170)
252
+ if NativeScriptKit.Trace.isEnabled() {
253
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:171)
254
+ try NativeScriptKit.Trace.write(
255
+ "ListView: numberOfRows in section \(js(section)) = \(jsToStringThrowing(rowCount))",
256
+ NativeScriptKit.Trace.categories.Debug)
257
+ }
258
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:173)
259
+ return rowCount
260
+ }
261
+ return jsNativeInteger(jsToNumber(__result), Int.self)
262
+ }
263
+ }
264
+ #sourceLocation()
265
+ public nonisolated func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
266
+ if jsOffScriptThread() { return jsAwait { self.tableView(tableView, cellForRowAt: indexPath) } }
267
+ return jsOnMainThread(tableView, indexPath) { (tableView, indexPath) -> UITableViewCell in
268
+ let indexPath: NSIndexPath = (indexPath as NSIndexPath)
269
+ let __result: UITableViewCell = jsReportedOrZero { () throws -> UITableViewCell in
270
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:178)
271
+ let owner: NativeScriptKit.ListView? = (self._owner as JSWeakRef<NativeScriptKit.ListView>?)?.deref()
272
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:179)
273
+ var cell: NativeScriptKit.ListViewCell?
274
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:180)
275
+ if jsTruthy(owner as Any?) {
276
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:181)
277
+ let template: Any? =
278
+ try
279
+ (jsUnwrap(owner, "sectioned").sectioned
280
+ ? jsUnwrap(owner, "_getItemTemplateInSection")._getItemTemplateInSection(
281
+ Double(jsUnwrap(indexPath, "section").section), Double(jsUnwrap(indexPath, "row").row))
282
+ : jsUnwrap(owner, "_getItemTemplate")._getItemTemplate(Double(jsUnwrap(indexPath, "row").row)))
283
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:182)
284
+ cell =
285
+ try
286
+ ((jsImplicit(
287
+ ({ () throws -> UITableViewCell? in
288
+ let __v_1 = try jsImplicit(
289
+ jsUnwrap(tableView, "dequeueReusableCellWithIdentifier").dequeueReusableCell(
290
+ withIdentifier: jsStringOrEmpty(jsGet(template, "key"))))
291
+ return jsTruthy(__v_1) ? jsPresent(__v_1) : try ListViewCell.initWithEmptyBackground()
292
+ }()))) as? NativeScriptKit.ListViewCell)
293
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:183)
294
+ try jsUnwrap(owner, "_prepareCellForDisplay")._prepareCellForDisplay(cell, indexPath)
295
+ } else {
296
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:185)
297
+ cell = try ListViewCell.initWithEmptyBackground()
298
+ }
299
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:188)
300
+ return try jsObjectRequired(cell)
301
+ }
302
+ return __result
303
+ }
304
+ }
305
+ #sourceLocation()
306
+ public func jsMember(_ key: String) -> Any?? {
307
+ switch key {
308
+ case "_owner": return .some(self._owner as Any?)
309
+ default: return nil
310
+ }
311
+ }
312
+ public func jsSetMember(_ key: String, _ newValue: Any?) -> Bool {
313
+ switch key {
314
+ case "_owner":
315
+ self._owner = (newValue as? JSWeakRef<NativeScriptKit.ListView>)
316
+ return true
317
+ default: return false
318
+ }
319
+ }
320
+ }
321
+
322
+ @MainActor public final class UITableViewDelegateImpl: NSObject, UITableViewDelegate, JSNativeMembers {
323
+ nonisolated deinit {}
324
+ public var _owner: JSWeakRef<NativeScriptKit.ListView>?
325
+ public var _measureCellMap: JSMap<String, NativeScriptKit.ListViewCell> = JSMap<
326
+ String, NativeScriptKit.ListViewCell
327
+ >()
328
+ public static func initWithOwner(_ owner: JSWeakRef<NativeScriptKit.ListView>?) throws
329
+ -> NativeScriptKit.UITableViewDelegateImpl
330
+ {
331
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:201)
332
+ let delegate: NativeScriptKit.UITableViewDelegateImpl? = UITableViewDelegateImpl()
333
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:202)
334
+ try jsUnwrap(delegate, setting: "_owner")._owner = owner
335
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:203)
336
+ try jsUnwrap(delegate, setting: "_measureCellMap")._measureCellMap = JSMap<
337
+ String, NativeScriptKit.ListViewCell
338
+ >()
339
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:205)
340
+ return try jsObjectRequired(delegate)
341
+ }
342
+ #sourceLocation()
343
+ public nonisolated func tableView(
344
+ _ tableView: UITableView, willDisplay cell: UITableViewCell, forRowAt indexPath: IndexPath
345
+ ) {
346
+ if jsOffScriptThread() {
347
+ jsLater { self.tableView(tableView, willDisplay: cell, forRowAt: indexPath) }
348
+ return
349
+ }
350
+ jsOnMainThread(tableView, cell, indexPath) { tableView, cell, indexPath in
351
+ let indexPath: NSIndexPath = (indexPath as NSIndexPath)
352
+ jsReport {
353
+ try { () throws -> Void in
354
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:209)
355
+ let owner: NativeScriptKit.ListView? = (self._owner as JSWeakRef<NativeScriptKit.ListView>?)?
356
+ .deref()
357
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:212)
358
+ if try
359
+ (((jsTruthy(owner as Any?) && (cell is ListViewCell))
360
+ && jsTruthy(jsImplicit(jsUnwrap(cell as? NativeScriptKit.ListViewCell, "superview").superview)))
361
+ && !(jsUnwrap(owner, "_hasCellContent")._hasCellContent((cell as? NativeScriptKit.ListViewCell))))
362
+ {
363
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:213)
364
+ try jsUnwrap(owner, "_prepareCellForDisplay")._prepareCellForDisplay(
365
+ (cell as? NativeScriptKit.ListViewCell), indexPath)
366
+ }
367
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:215)
368
+ if try
369
+ (jsTruthy(owner as Any?)
370
+ && Double(jsUnwrap(indexPath, "row").row)
371
+ == jsSubtractThrowing(jsGet(jsUnwrap(owner, "items").items, "length"), 1))
372
+ {
373
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:216)
374
+ try jsUnwrap(owner, "notify").notify(
375
+ EventData(
376
+ jsObject: JSObject([
377
+ ("eventName", Core_ui_list_view_index.LOADMOREITEMS), ("object", (owner as Any?)),
378
+ ])))
379
+ }
380
+ }()
381
+ }
382
+ }
383
+ }
384
+ #sourceLocation()
385
+ public nonisolated func tableView(_ tableView: UITableView, willSelectRowAt indexPath: IndexPath) -> IndexPath? {
386
+ if jsOffScriptThread() { return jsAwait { self.tableView(tableView, willSelectRowAt: indexPath) } }
387
+ return jsOnMainThread(tableView, indexPath) { (tableView, indexPath) -> IndexPath? in
388
+ let indexPath: NSIndexPath = (indexPath as NSIndexPath)
389
+ let __result: NSIndexPath? = jsReportedOrZero { () throws -> NSIndexPath? in
390
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:224)
391
+ let cell: NativeScriptKit.ListViewCell? =
392
+ try jsImplicit(
393
+ jsUnwrap(tableView, "cellForRowAtIndexPath").cellForRow(
394
+ at: (jsObjectRequired(indexPath) as IndexPath))) as? NativeScriptKit.ListViewCell
395
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:225)
396
+ let owner: NativeScriptKit.ListView? = (self._owner as JSWeakRef<NativeScriptKit.ListView>?)?.deref()
397
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:226)
398
+ if jsTruthy(owner as Any?) {
399
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:227)
400
+ _ = try Core_ui_list_view_index.notifyForItemAtIndex(
401
+ owner, cell, jsUnwrap(cell, "view").view, Core_ui_list_view_index.ITEMTAP, indexPath)
402
+ }
403
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:230)
404
+ return try jsObjectRequired(indexPath)
405
+ }
406
+ return (__result as IndexPath?)
407
+ }
408
+ }
409
+ #sourceLocation()
410
+ public nonisolated func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
411
+ if jsOffScriptThread() {
412
+ jsLater { self.tableView(tableView, didSelectRowAt: indexPath) }
413
+ return
414
+ }
415
+ jsOnMainThread(tableView, indexPath) { tableView, indexPath in
416
+ let indexPath: NSIndexPath = (indexPath as NSIndexPath)
417
+ jsReport {
418
+ _ = try { () throws -> NSIndexPath in
419
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:234)
420
+ try jsUnwrap(tableView, "deselectRowAtIndexPathAnimated").deselectRow(
421
+ at: (jsObjectRequired(indexPath) as IndexPath), animated: true)
422
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:236)
423
+ return try jsObjectRequired(indexPath)
424
+ }()
425
+ }
426
+ }
427
+ }
428
+ #sourceLocation()
429
+ public nonisolated func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
430
+ if jsOffScriptThread() { return jsAwait { self.tableView(tableView, heightForRowAt: indexPath) } }
431
+ return jsOnMainThread(tableView, indexPath) { (tableView, indexPath) -> CGFloat in
432
+ let indexPath: NSIndexPath = (indexPath as NSIndexPath)
433
+ let __result: Double = jsReportedOrZero { () throws -> Double in
434
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:240)
435
+ let owner: NativeScriptKit.ListView? = (self._owner as JSWeakRef<NativeScriptKit.ListView>?)?.deref()
436
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:241)
437
+ if !jsTruthy(owner as Any?) {
438
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:242)
439
+ return try Double(jsUnwrap(tableView, "estimatedRowHeight").estimatedRowHeight)
440
+ }
441
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:245)
442
+ var height: Double = try jsUnwrap(owner, "getHeight").getHeight(
443
+ Double(jsUnwrap(indexPath, "row").row), Double(jsUnwrap(indexPath, "section").section))
444
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:246)
445
+ if height.isNaN {
446
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:248)
447
+ let template: Any? =
448
+ try
449
+ (jsUnwrap(owner, "sectioned").sectioned
450
+ ? jsUnwrap(owner, "_getItemTemplateInSection")._getItemTemplateInSection(
451
+ Double(jsUnwrap(indexPath, "section").section), Double(jsUnwrap(indexPath, "row").row))
452
+ : jsUnwrap(owner, "_getItemTemplate")._getItemTemplate(Double(jsUnwrap(indexPath, "row").row)))
453
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:249)
454
+ var cell: NativeScriptKit.ListViewCell? = try jsUnwrap(self._measureCellMap, "get").get(
455
+ jsConvertedString(jsGet(template, "key")))
456
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:250)
457
+ if !jsTruthy(cell as Any?) {
458
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:251)
459
+ cell =
460
+ try
461
+ (({ () throws -> Any? in
462
+ let __v_2 = try jsImplicit(
463
+ jsUnwrap(tableView, "dequeueReusableCellWithIdentifier").dequeueReusableCell(
464
+ withIdentifier: jsStringOrEmpty(jsGet(template, "key"))))
465
+ return jsTruthy(__v_2) ? __v_2 : try ListViewCell.initWithEmptyBackground()
466
+ }()) as? NativeScriptKit.ListViewCell)
467
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:252)
468
+ _ = try jsUnwrap(self._measureCellMap, "set").set(
469
+ jsConvertedString(jsGet(template, "key")), jsObjectRequired(cell))
470
+ }
471
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:255)
472
+ height = try (jsUnwrap(owner, "_prepareCell")._prepareCell(jsImplicit(cell), indexPath) ?? .nan)
473
+ }
474
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:258)
475
+ return try NativeScriptKit.layout.toDeviceIndependentPixels(height)
476
+ }
477
+ return CGFloat(__result)
478
+ }
479
+ }
480
+ #sourceLocation()
481
+ public nonisolated func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {
482
+ if jsOffScriptThread() { return jsAwait { self.tableView(tableView, viewForHeaderInSection: section) } }
483
+ return jsOnMainThread(tableView, section) { (tableView, section) -> UIView? in
484
+ let section: Double = Double(section)
485
+ let __result: UIView? = jsReportedOrZero { () throws -> UIView? in
486
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:262)
487
+ let owner: NativeScriptKit.ListView? = (self._owner as JSWeakRef<NativeScriptKit.ListView>?)?.deref()
488
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:264)
489
+ if try !jsTruthy(owner as Any?) || !(jsUnwrap(owner, "stickyHeader").stickyHeader)
490
+ || !(jsTruthy(jsUnwrap(owner, "stickyHeaderTemplate").stickyHeaderTemplate))
491
+ {
492
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:265)
493
+ if NativeScriptKit.Trace.isEnabled() {
494
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:266)
495
+ try NativeScriptKit.Trace.write(
496
+ "ListView: No sticky header (stickyHeader: \(jsToString(owner?.stickyHeader as Any?)), hasTemplate: \(js(jsTruthy(owner?.stickyHeaderTemplate as Any?))))",
497
+ NativeScriptKit.Trace.categories.Debug)
498
+ }
499
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:268)
500
+ return nil
501
+ }
502
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:271)
503
+ if NativeScriptKit.Trace.isEnabled() {
504
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:272)
505
+ try NativeScriptKit.Trace.write(
506
+ "ListView: Creating sticky header", NativeScriptKit.Trace.categories.Debug)
507
+ }
508
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:275)
509
+ let headerReuseIdentifier: String = "stickyHeader"
510
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:276)
511
+ var headerCell: NativeScriptKit.ListViewHeaderCell? =
512
+ try jsImplicit(
513
+ jsUnwrap(tableView, "dequeueReusableHeaderFooterViewWithIdentifier")
514
+ .dequeueReusableHeaderFooterView(withIdentifier: headerReuseIdentifier))
515
+ as? NativeScriptKit.ListViewHeaderCell
516
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:278)
517
+ if !jsTruthy(headerCell) {
518
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:280)
519
+ headerCell =
520
+ (ListViewHeaderCell(reuseIdentifier: headerReuseIdentifier)
521
+ as? NativeScriptKit.ListViewHeaderCell)
522
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:281)
523
+ try jsUnwrap(headerCell, setting: "backgroundColor").backgroundColor = UIColor.clear
524
+ }
525
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:284)
526
+ _ = try jsUnwrap(owner, "_prepareHeader")._prepareHeader(headerCell, section)
527
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:286)
528
+ return try jsObjectRequired(headerCell)
529
+ }
530
+ return __result
531
+ }
532
+ }
533
+ #sourceLocation()
534
+ public nonisolated func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat {
535
+ if jsOffScriptThread() { return jsAwait { self.tableView(tableView, heightForHeaderInSection: section) } }
536
+ return jsOnMainThread(tableView, section) { (tableView, section) -> CGFloat in
537
+ let __result: Double = jsReportedOrZero { () throws -> Double in
538
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:290)
539
+ let owner: NativeScriptKit.ListView? = (self._owner as JSWeakRef<NativeScriptKit.ListView>?)?.deref()
540
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:292)
541
+ if try !jsTruthy(owner as Any?) || !(jsUnwrap(owner, "stickyHeader").stickyHeader) {
542
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:293)
543
+ return 0
544
+ }
545
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:296)
546
+ var height: Double? = nil
547
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:297)
548
+ if try jsStrictEquals(jsUnwrap(owner, "stickyHeaderHeight").stickyHeaderHeight, "auto") {
549
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:298)
550
+ height = 44
551
+ } else {
552
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:300)
553
+ height = try NativeScriptKit.layout.toDeviceIndependentPixels(
554
+ jsCallable(NativeScriptKit.Length.toDevicePixels, "Length.toDevicePixels")(
555
+ jsUnwrap(owner, "stickyHeaderHeight").stickyHeaderHeight, 44))
556
+ }
557
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:303)
558
+ if NativeScriptKit.Trace.isEnabled() {
559
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:304)
560
+ try NativeScriptKit.Trace.write(
561
+ "ListView: Sticky header height: \(jsToString(height as Any?))",
562
+ NativeScriptKit.Trace.categories.Debug)
563
+ }
564
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:307)
565
+ return (height ?? .nan)
566
+ }
567
+ return CGFloat(__result)
568
+ }
569
+ }
570
+ #sourceLocation()
571
+ public func jsMember(_ key: String) -> Any?? {
572
+ switch key {
573
+ case "_owner": return .some(self._owner as Any?)
574
+ case "_measureCellMap": return .some(self._measureCellMap as Any?)
575
+ default: return nil
576
+ }
577
+ }
578
+ public func jsSetMember(_ key: String, _ newValue: Any?) -> Bool {
579
+ switch key {
580
+ case "_owner":
581
+ self._owner = (newValue as? JSWeakRef<NativeScriptKit.ListView>)
582
+ return true
583
+ case "_measureCellMap":
584
+ var __v: JSMap<String, NativeScriptKit.ListViewCell>? = self._measureCellMap
585
+ __v = (newValue as? JSMap<String, NativeScriptKit.ListViewCell>)
586
+ if let __w = __v { self._measureCellMap = __w }
587
+ return true
588
+ default: return false
589
+ }
590
+ }
591
+ }
592
+
593
+ @MainActor public final class UITableViewRowHeightDelegateImpl: NSObject, UITableViewDelegate, JSNativeMembers {
594
+ nonisolated deinit {}
595
+ public var _owner: JSWeakRef<NativeScriptKit.ListView>?
596
+ public static func initWithOwner(_ owner: JSWeakRef<NativeScriptKit.ListView>?) throws
597
+ -> NativeScriptKit.UITableViewRowHeightDelegateImpl
598
+ {
599
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:318)
600
+ let delegate: NativeScriptKit.UITableViewRowHeightDelegateImpl? = UITableViewRowHeightDelegateImpl()
601
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:319)
602
+ try jsUnwrap(delegate, setting: "_owner")._owner = owner
603
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:321)
604
+ return try jsObjectRequired(delegate)
605
+ }
606
+ #sourceLocation()
607
+ public nonisolated func tableView(
608
+ _ tableView: UITableView, willDisplay cell: UITableViewCell, forRowAt indexPath: IndexPath
609
+ ) {
610
+ if jsOffScriptThread() {
611
+ jsLater { self.tableView(tableView, willDisplay: cell, forRowAt: indexPath) }
612
+ return
613
+ }
614
+ jsOnMainThread(tableView, cell, indexPath) { tableView, cell, indexPath in
615
+ let indexPath: NSIndexPath = (indexPath as NSIndexPath)
616
+ jsReport {
617
+ try { () throws -> Void in
618
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:325)
619
+ let owner: NativeScriptKit.ListView? = (self._owner as JSWeakRef<NativeScriptKit.ListView>?)?
620
+ .deref()
621
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:328)
622
+ if try
623
+ (((jsTruthy(owner as Any?) && (cell is ListViewCell))
624
+ && jsTruthy(jsImplicit(jsUnwrap(cell as? NativeScriptKit.ListViewCell, "superview").superview)))
625
+ && !(jsUnwrap(owner, "_hasCellContent")._hasCellContent((cell as? NativeScriptKit.ListViewCell))))
626
+ {
627
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:329)
628
+ try jsUnwrap(owner, "_prepareCellForDisplay")._prepareCellForDisplay(
629
+ (cell as? NativeScriptKit.ListViewCell), indexPath)
630
+ }
631
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:331)
632
+ if try
633
+ (jsTruthy(owner as Any?)
634
+ && Double(jsUnwrap(indexPath, "row").row)
635
+ == jsSubtractThrowing(jsGet(jsUnwrap(owner, "items").items, "length"), 1))
636
+ {
637
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:332)
638
+ try jsUnwrap(owner, "notify").notify(
639
+ EventData(
640
+ jsObject: JSObject([
641
+ ("eventName", Core_ui_list_view_index.LOADMOREITEMS), ("object", (owner as Any?)),
642
+ ])))
643
+ }
644
+ }()
645
+ }
646
+ }
647
+ }
648
+ #sourceLocation()
649
+ public nonisolated func tableView(_ tableView: UITableView, willSelectRowAt indexPath: IndexPath) -> IndexPath? {
650
+ if jsOffScriptThread() { return jsAwait { self.tableView(tableView, willSelectRowAt: indexPath) } }
651
+ return jsOnMainThread(tableView, indexPath) { (tableView, indexPath) -> IndexPath? in
652
+ let indexPath: NSIndexPath = (indexPath as NSIndexPath)
653
+ let __result: NSIndexPath? = jsReportedOrZero { () throws -> NSIndexPath? in
654
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:340)
655
+ let cell: NativeScriptKit.ListViewCell? =
656
+ try jsImplicit(
657
+ jsUnwrap(tableView, "cellForRowAtIndexPath").cellForRow(
658
+ at: (jsObjectRequired(indexPath) as IndexPath))) as? NativeScriptKit.ListViewCell
659
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:341)
660
+ let owner: NativeScriptKit.ListView? = (self._owner as JSWeakRef<NativeScriptKit.ListView>?)?.deref()
661
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:342)
662
+ if jsTruthy(owner as Any?) {
663
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:343)
664
+ _ = try Core_ui_list_view_index.notifyForItemAtIndex(
665
+ owner, cell, jsUnwrap(cell, "view").view, Core_ui_list_view_index.ITEMTAP, indexPath)
666
+ }
667
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:346)
668
+ return try jsObjectRequired(indexPath)
669
+ }
670
+ return (__result as IndexPath?)
671
+ }
672
+ }
673
+ #sourceLocation()
674
+ public nonisolated func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
675
+ if jsOffScriptThread() {
676
+ jsLater { self.tableView(tableView, didSelectRowAt: indexPath) }
677
+ return
678
+ }
679
+ jsOnMainThread(tableView, indexPath) { tableView, indexPath in
680
+ let indexPath: NSIndexPath = (indexPath as NSIndexPath)
681
+ jsReport {
682
+ _ = try { () throws -> NSIndexPath in
683
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:350)
684
+ try jsUnwrap(tableView, "deselectRowAtIndexPathAnimated").deselectRow(
685
+ at: (jsObjectRequired(indexPath) as IndexPath), animated: true)
686
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:352)
687
+ return try jsObjectRequired(indexPath)
688
+ }()
689
+ }
690
+ }
691
+ }
692
+ #sourceLocation()
693
+ public nonisolated func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
694
+ if jsOffScriptThread() { return jsAwait { self.tableView(tableView, heightForRowAt: indexPath) } }
695
+ return jsOnMainThread(tableView, indexPath) { (tableView, indexPath) -> CGFloat in
696
+ let __result: Double = jsReportedOrZero { () throws -> Double in
697
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:356)
698
+ let owner: NativeScriptKit.ListView? = (self._owner as JSWeakRef<NativeScriptKit.ListView>?)?.deref()
699
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:357)
700
+ if !jsTruthy(owner as Any?) {
701
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:358)
702
+ return try Double(jsUnwrap(tableView, "estimatedRowHeight").estimatedRowHeight)
703
+ }
704
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:361)
705
+ return try NativeScriptKit.layout.toDeviceIndependentPixels(
706
+ jsUnwrap(owner, "_effectiveRowHeight")._effectiveRowHeight)
707
+ }
708
+ return CGFloat(__result)
709
+ }
710
+ }
711
+ #sourceLocation()
712
+ public nonisolated func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {
713
+ if jsOffScriptThread() { return jsAwait { self.tableView(tableView, viewForHeaderInSection: section) } }
714
+ return jsOnMainThread(tableView, section) { (tableView, section) -> UIView? in
715
+ let section: Double = Double(section)
716
+ let __result: UIView? = jsReportedOrZero { () throws -> UIView? in
717
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:365)
718
+ let owner: NativeScriptKit.ListView? = (self._owner as JSWeakRef<NativeScriptKit.ListView>?)?.deref()
719
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:367)
720
+ if try !jsTruthy(owner as Any?) || !(jsUnwrap(owner, "stickyHeader").stickyHeader)
721
+ || !(jsTruthy(jsUnwrap(owner, "stickyHeaderTemplate").stickyHeaderTemplate))
722
+ {
723
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:368)
724
+ if NativeScriptKit.Trace.isEnabled() {
725
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:369)
726
+ try NativeScriptKit.Trace.write(
727
+ "ListView: No sticky header (stickyHeader: \(jsToString(owner?.stickyHeader as Any?)), hasTemplate: \(js(jsTruthy(owner?.stickyHeaderTemplate as Any?))))",
728
+ NativeScriptKit.Trace.categories.Debug)
729
+ }
730
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:371)
731
+ return nil
732
+ }
733
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:374)
734
+ if NativeScriptKit.Trace.isEnabled() {
735
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:375)
736
+ try NativeScriptKit.Trace.write(
737
+ "ListView: Creating sticky header", NativeScriptKit.Trace.categories.Debug)
738
+ }
739
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:378)
740
+ let headerReuseIdentifier: String = "stickyHeader"
741
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:379)
742
+ var headerCell: NativeScriptKit.ListViewHeaderCell? =
743
+ try jsImplicit(
744
+ jsUnwrap(tableView, "dequeueReusableHeaderFooterViewWithIdentifier")
745
+ .dequeueReusableHeaderFooterView(withIdentifier: headerReuseIdentifier))
746
+ as? NativeScriptKit.ListViewHeaderCell
747
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:381)
748
+ if !jsTruthy(headerCell) {
749
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:382)
750
+ headerCell =
751
+ (ListViewHeaderCell(reuseIdentifier: headerReuseIdentifier)
752
+ as? NativeScriptKit.ListViewHeaderCell)
753
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:383)
754
+ try jsUnwrap(headerCell, setting: "backgroundColor").backgroundColor = UIColor.clear
755
+ }
756
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:386)
757
+ _ = try jsUnwrap(owner, "_prepareHeader")._prepareHeader(headerCell, section)
758
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:388)
759
+ return try jsObjectRequired(headerCell)
760
+ }
761
+ return __result
762
+ }
763
+ }
764
+ #sourceLocation()
765
+ public nonisolated func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat {
766
+ if jsOffScriptThread() { return jsAwait { self.tableView(tableView, heightForHeaderInSection: section) } }
767
+ return jsOnMainThread(tableView, section) { (tableView, section) -> CGFloat in
768
+ let __result: Double = jsReportedOrZero { () throws -> Double in
769
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:392)
770
+ let owner: NativeScriptKit.ListView? = (self._owner as JSWeakRef<NativeScriptKit.ListView>?)?.deref()
771
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:394)
772
+ if try !jsTruthy(owner as Any?) || !(jsUnwrap(owner, "stickyHeader").stickyHeader) {
773
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:395)
774
+ return 0
775
+ }
776
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:398)
777
+ var height: Double? = nil
778
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:399)
779
+ if try jsStrictEquals(jsUnwrap(owner, "stickyHeaderHeight").stickyHeaderHeight, "auto") {
780
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:400)
781
+ height = 44
782
+ } else {
783
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:402)
784
+ height = try NativeScriptKit.layout.toDeviceIndependentPixels(
785
+ jsCallable(NativeScriptKit.Length.toDevicePixels, "Length.toDevicePixels")(
786
+ jsUnwrap(owner, "stickyHeaderHeight").stickyHeaderHeight, 44))
787
+ }
788
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:405)
789
+ if NativeScriptKit.Trace.isEnabled() {
790
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:406)
791
+ try NativeScriptKit.Trace.write(
792
+ "ListView: Sticky header height: \(jsToString(height as Any?))",
793
+ NativeScriptKit.Trace.categories.Debug)
794
+ }
795
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:409)
796
+ return (height ?? .nan)
797
+ }
798
+ return CGFloat(__result)
799
+ }
800
+ }
801
+ #sourceLocation()
802
+ public func jsMember(_ key: String) -> Any?? {
803
+ switch key {
804
+ case "_owner": return .some(self._owner as Any?)
805
+ default: return nil
806
+ }
807
+ }
808
+ public func jsSetMember(_ key: String, _ newValue: Any?) -> Bool {
809
+ switch key {
810
+ case "_owner":
811
+ self._owner = (newValue as? JSWeakRef<NativeScriptKit.ListView>)
812
+ return true
813
+ default: return false
814
+ }
815
+ }
816
+ }
817
+
818
+ @MainActor public final class UISearchResultsUpdatingImpl: NSObject, UISearchResultsUpdating, JSNativeMembers {
819
+ nonisolated deinit {}
820
+ public var _owner: JSWeakRef<NativeScriptKit.ListView>?
821
+ public static func initWithOwner(_ owner: JSWeakRef<NativeScriptKit.ListView>?) throws
822
+ -> NativeScriptKit.UISearchResultsUpdatingImpl
823
+ {
824
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:420)
825
+ let handler: NativeScriptKit.UISearchResultsUpdatingImpl? = UISearchResultsUpdatingImpl()
826
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:421)
827
+ try jsUnwrap(handler, setting: "_owner")._owner = owner
828
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:423)
829
+ return try jsObjectRequired(handler)
830
+ }
831
+ #sourceLocation()
832
+ public nonisolated func updateSearchResults(for searchController: UISearchController) {
833
+ if jsOffScriptThread() {
834
+ jsLater { self.updateSearchResults(for: searchController) }
835
+ return
836
+ }
837
+ jsOnMainThread(searchController) { searchController in
838
+ jsReport {
839
+ try { () throws -> Void in
840
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:427)
841
+ let owner: NativeScriptKit.ListView? =
842
+ try (jsTruthy(self._owner) ? jsUnwrap(self._owner, "get").get() : nil)
843
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:428)
844
+ if !jsTruthy(owner as Any?) {
845
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:429)
846
+ return
847
+ }
848
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:432)
849
+ let searchText: String = try
850
+ ({ () throws -> String in
851
+ let __v_3 = try jsUnwrap(jsUnwrap(searchController, "searchBar").searchBar, "text").text
852
+ return jsTruthy(__v_3) ? jsPresent(__v_3) : ""
853
+ }())
854
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:435)
855
+ try jsUnwrap(owner, setting: "_isSearchActive")._isSearchActive =
856
+ jsUnwrap(searchController, "active").isActive
857
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:438)
858
+ let eventData: EventData = EventData(
859
+ jsObject: EventData(
860
+ jsObject: JSObject([
861
+ ("eventName", ListViewBase.searchChangeEvent), ("object", (owner as Any?)),
862
+ ("text", searchText), ("ios", searchController),
863
+ ])))
864
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:446)
865
+ try jsUnwrap(owner, "notify").notify(eventData)
866
+ }()
867
+ }
868
+ }
869
+ }
870
+ #sourceLocation()
871
+ public func jsMember(_ key: String) -> Any?? {
872
+ switch key {
873
+ case "_owner": return .some(self._owner as Any?)
874
+ default: return nil
875
+ }
876
+ }
877
+ public func jsSetMember(_ key: String, _ newValue: Any?) -> Bool {
878
+ switch key {
879
+ case "_owner":
880
+ self._owner = (newValue as? JSWeakRef<NativeScriptKit.ListView>)
881
+ return true
882
+ default: return false
883
+ }
884
+ }
885
+ }
886
+
887
+ open class ListView: ListViewBase {
888
+ nonisolated deinit {}
889
+ open var _dataSource: Any? = nil {
890
+ didSet { if jsMadeBits2 & (1 << 8) == 0 { jsMadeNote(&jsMadeBits2, &jsMade, 1 << 8, "_dataSource") } }
891
+ }
892
+ open var _delegate: Any? = nil {
893
+ didSet { if jsMadeBits2 & (1 << 9) == 0 { jsMadeNote(&jsMadeBits2, &jsMade, 1 << 9, "_delegate") } }
894
+ }
895
+ open var _heights: JSArray<JSArray<Double>>? = JSArray<JSArray<Double>>() {
896
+ didSet { if jsMadeBits2 & (1 << 10) == 0 { jsMadeNote(&jsMadeBits2, &jsMade, 1 << 10, "_heights") } }
897
+ }
898
+ open var _preparingCell: Bool = false {
899
+ didSet { if jsMadeBits2 & (1 << 11) == 0 { jsMadeNote(&jsMadeBits2, &jsMade, 1 << 11, "_preparingCell") } }
900
+ }
901
+ open var _isDataDirty: Bool = false {
902
+ didSet { if jsMadeBits2 & (1 << 12) == 0 { jsMadeNote(&jsMadeBits2, &jsMade, 1 << 12, "_isDataDirty") } }
903
+ }
904
+ open var _map: JSMap<ListViewCell, View>? = JSMap<ListViewCell, View>() {
905
+ didSet { if jsMadeBits2 & (1 << 13) == 0 { jsMadeNote(&jsMadeBits2, &jsMade, 1 << 13, "_map") } }
906
+ }
907
+ open var _headerMap: JSMap<ListViewHeaderCell, View>? = JSMap<ListViewHeaderCell, View>() {
908
+ didSet { if jsMadeBits2 & (1 << 14) == 0 { jsMadeNote(&jsMadeBits2, &jsMade, 1 << 14, "_headerMap") } }
909
+ }
910
+ open var _preparingHeader: Bool = false {
911
+ didSet { if jsMadeBits2 & (1 << 15) == 0 { jsMadeNote(&jsMadeBits2, &jsMade, 1 << 15, "_preparingHeader") } }
912
+ }
913
+ open var _headerTemplateCache: View? {
914
+ didSet {
915
+ if jsMadeBits2 & (1 << 16) == 0 { jsMadeNote(&jsMadeBits2, &jsMade, 1 << 16, "_headerTemplateCache") }
916
+ }
917
+ }
918
+ open var _searchController: UISearchController? {
919
+ didSet { if jsMadeBits2 & (1 << 17) == 0 { jsMadeNote(&jsMadeBits2, &jsMade, 1 << 17, "_searchController") } }
920
+ }
921
+ open var _searchDelegate: UISearchResultsUpdatingImpl? {
922
+ didSet { if jsMadeBits2 & (1 << 18) == 0 { jsMadeNote(&jsMadeBits2, &jsMade, 1 << 18, "_searchDelegate") } }
923
+ }
924
+ open var _isSearchActive: Bool = false
925
+ open var widthMeasureSpec: Double = 0
926
+ open var _scrollEdgeContainers: ScrollEdgeContainers? {
927
+ didSet {
928
+ if jsMadeBits2 & (1 << 19) == 0 { jsMadeNote(&jsMadeBits2, &jsMade, 1 << 19, "_scrollEdgeContainers") }
929
+ }
930
+ }
931
+ public override init() throws {
932
+ try super.init()
933
+ jsMadeLevel(&jsMade, ["_isSearchActive", "widthMeasureSpec"])
934
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:471)
935
+ self._map = JSMap<ListViewCell, View>()
936
+ if jsMadeBits2 & (1 << 13) == 0 { jsMadeNote(&jsMadeBits2, &jsMade, 1 << 13, "_map") }
937
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:472)
938
+ self._headerMap = JSMap<ListViewHeaderCell, View>()
939
+ if jsMadeBits2 & (1 << 14) == 0 { jsMadeNote(&jsMadeBits2, &jsMade, 1 << 14, "_headerMap") }
940
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:473)
941
+ self._heights = JSArray<JSArray<Double>>()
942
+ if jsMadeBits2 & (1 << 10) == 0 { jsMadeNote(&jsMadeBits2, &jsMade, 1 << 10, "_heights") }
943
+ }
944
+ #sourceLocation()
945
+ open override var ios: Any? {
946
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:688)
947
+ return (self.nativeViewProtected as? UITableView)
948
+ }
949
+ #sourceLocation()
950
+ open var _childrenCount: Double {
951
+ get throws {
952
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:692)
953
+ return try jsUnwrap(self._map, "size").size + jsUnwrap(self._headerMap, "size").size
954
+ }
955
+ }
956
+ #sourceLocation()
957
+ open func symbol_getDefault_separatorColor() throws -> UIColor? {
958
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1119)
959
+ return try jsImplicit(jsUnwrap(self.nativeViewProtected as? UITableView, "separatorColor").separatorColor)
960
+ }
961
+ #sourceLocation()
962
+ open func symbol_setNative_separatorColor(_ value: Any?) throws {
963
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1122)
964
+ try jsUnwrap(self.nativeViewProtected as? UITableView, setting: "separatorColor").separatorColor =
965
+ ((value is Color) ? (jsUnwrap(value as? Color, "ios").ios as? UIColor) : (value as? UIColor))
966
+ }
967
+ #sourceLocation()
968
+ open func symbol_getDefault_itemTemplates() -> JSArray<Any?>? {
969
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1126)
970
+ return JSArray<Any?>()
971
+ }
972
+ #sourceLocation()
973
+ open func symbol_setNative_itemTemplates(_ value: JSArray<Any?>?) throws {
974
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1129)
975
+ self._itemTemplatesInternal = try jsNewArray(self._defaultTemplate)
976
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1130)
977
+ if jsTruthy(value) {
978
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1131)
979
+ var i: Double = 0
980
+ let length: Double = try jsUnwrap(value, "length").length
981
+ while i < length {
982
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1132)
983
+ try jsUnwrap(self.nativeViewProtected as? UITableView, "registerClassForCellReuseIdentifier").register(
984
+ ListViewCell.self,
985
+ forCellReuseIdentifier: jsStringOrEmpty(jsGet((jsUnwrap(value, "i").element(i) ?? nil), "key")))
986
+ i += 1
987
+ }
988
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1134)
989
+ self._itemTemplatesInternal = try jsUnwrap(self._itemTemplatesInternal, "concat").concat(
990
+ jsObjectRequired(value))
991
+ }
992
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1137)
993
+ try self.refresh()
994
+ }
995
+ #sourceLocation()
996
+ open func symbol_getDefault_iosEstimatedRowHeight() -> Any? {
997
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1141)
998
+ return Core_ui_list_view_index.DEFAULT_HEIGHT
999
+ }
1000
+ #sourceLocation()
1001
+ open func symbol_setNative_iosEstimatedRowHeight(_ value: Any?) throws {
1002
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1144)
1003
+ let nativeView: UITableView? = self.nativeViewProtected as? UITableView
1004
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1145)
1005
+ let estimatedHeight: Double = try NativeScriptKit.layout.toDeviceIndependentPixels(
1006
+ jsCallable(NativeScriptKit.Length.toDevicePixels, "Length.toDevicePixels")(value, 0))
1007
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1146)
1008
+ try jsUnwrap(nativeView, setting: "estimatedRowHeight").estimatedRowHeight = CGFloat(
1009
+ jsNativeNumber((estimatedHeight < 0 ? Core_ui_list_view_index.DEFAULT_HEIGHT : estimatedHeight)))
1010
+ }
1011
+ #sourceLocation()
1012
+ open func symbol_getDefault_stickyHeader() -> Bool {
1013
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1150)
1014
+ return false
1015
+ }
1016
+ #sourceLocation()
1017
+ open func symbol_setNative_stickyHeader(_ value: Bool) throws {
1018
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1153)
1019
+ if NativeScriptKit.Trace.isEnabled() {
1020
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1154)
1021
+ try NativeScriptKit.Trace.write(
1022
+ "ListView: stickyHeader set to \(js(value))", NativeScriptKit.Trace.categories.Debug)
1023
+ }
1024
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1157)
1025
+ if self.isLoaded {
1026
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1158)
1027
+ try self.refresh()
1028
+ }
1029
+ }
1030
+ #sourceLocation()
1031
+ open func symbol_getDefault_stickyHeaderTemplate() -> Any? {
1032
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1163)
1033
+ return jsNull
1034
+ }
1035
+ #sourceLocation()
1036
+ open func symbol_setNative_stickyHeaderTemplate(_ value: Any?) throws {
1037
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1166)
1038
+ if NativeScriptKit.Trace.isEnabled() {
1039
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1167)
1040
+ try NativeScriptKit.Trace.write(
1041
+ "ListView: stickyHeaderTemplate set: \(jsTypeof(value)) \((jsTruthy(value) ? "(has value)" : "(null)"))",
1042
+ NativeScriptKit.Trace.categories.Debug)
1043
+ }
1044
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1170)
1045
+ self._headerTemplateCache = nil
1046
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1172)
1047
+ if self.isLoaded {
1048
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1173)
1049
+ try self.refresh()
1050
+ }
1051
+ }
1052
+ #sourceLocation()
1053
+ open func symbol_getDefault_stickyHeaderHeight() -> Any? {
1054
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1178)
1055
+ return "auto"
1056
+ }
1057
+ #sourceLocation()
1058
+ open func symbol_setNative_stickyHeaderHeight(_ value: Any?) throws {
1059
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1181)
1060
+ if NativeScriptKit.Trace.isEnabled() {
1061
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1182)
1062
+ try NativeScriptKit.Trace.write(
1063
+ "ListView: stickyHeaderHeight set to \(jsToStringThrowing(value))",
1064
+ NativeScriptKit.Trace.categories.Debug)
1065
+ }
1066
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1185)
1067
+ if self.isLoaded {
1068
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1186)
1069
+ try self.refresh()
1070
+ }
1071
+ }
1072
+ #sourceLocation()
1073
+ open func symbol_getDefault_sectioned() -> Bool {
1074
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1191)
1075
+ return false
1076
+ }
1077
+ #sourceLocation()
1078
+ open func symbol_setNative_sectioned(_ value: Bool) throws {
1079
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1194)
1080
+ if NativeScriptKit.Trace.isEnabled() {
1081
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1195)
1082
+ try NativeScriptKit.Trace.write(
1083
+ "ListView: sectioned set to \(js(value))", NativeScriptKit.Trace.categories.Debug)
1084
+ }
1085
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1198)
1086
+ if self.isLoaded {
1087
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1199)
1088
+ try self.refresh()
1089
+ }
1090
+ }
1091
+ #sourceLocation()
1092
+ open func symbol_getDefault_showSearch() -> Bool {
1093
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1204)
1094
+ return false
1095
+ }
1096
+ #sourceLocation()
1097
+ open func symbol_setNative_showSearch(_ value: Bool) throws {
1098
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1207)
1099
+ if NativeScriptKit.Trace.isEnabled() {
1100
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1208)
1101
+ try NativeScriptKit.Trace.write(
1102
+ "ListView: showSearch set to \(js(value))", NativeScriptKit.Trace.categories.Debug)
1103
+ }
1104
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1211)
1105
+ if value {
1106
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1212)
1107
+ try self._setupSearchController()
1108
+ } else {
1109
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1214)
1110
+ try self._cleanupSearchController()
1111
+ }
1112
+ }
1113
+ #sourceLocation()
1114
+ open func symbol_setNative_iosSearchInsetBehavior(_ value: String) throws {
1115
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1221)
1116
+ if self.showSearch && jsTruthy(self._searchController) {
1117
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1222)
1118
+ try self._applyContentInsetBehavior(value)
1119
+ }
1120
+ }
1121
+ #sourceLocation()
1122
+ open func symbol_getDefault_searchAutoHide() -> Bool {
1123
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1227)
1124
+ return false
1125
+ }
1126
+ #sourceLocation()
1127
+ open func symbol_setNative_searchAutoHide(_ value: Bool) throws {
1128
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1230)
1129
+ if NativeScriptKit.Trace.isEnabled() {
1130
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1231)
1131
+ try NativeScriptKit.Trace.write(
1132
+ "ListView: searchAutoHide set to \(js(value))", NativeScriptKit.Trace.categories.Debug)
1133
+ }
1134
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1235)
1135
+ if self.showSearch && jsTruthy(self._searchController) {
1136
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1236)
1137
+ let viewController: UIViewController? = try self._getViewController()
1138
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1237)
1139
+ if try
1140
+ ((jsTruthy(viewController) && jsTruthy(jsUnwrap(viewController, "navigationItem").navigationItem))
1141
+ && Core_utils_constants.SDK_VERSION >= 11)
1142
+ {
1143
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1238)
1144
+ try jsUnwrap(
1145
+ jsUnwrap(viewController, "navigationItem").navigationItem, setting: "hidesSearchBarWhenScrolling"
1146
+ ).hidesSearchBarWhenScrolling = value
1147
+ }
1148
+ }
1149
+ }
1150
+ #sourceLocation()
1151
+ open func symbol_setNative_iosScrollEdgeEffect(_ value: String) throws {
1152
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1258)
1153
+ try IOSHelper.setScrollEdgeEffect((self.nativeViewProtected as? UITableView), value)
1154
+ }
1155
+ #sourceLocation()
1156
+ open override func jsSymbolMethod(_ key: String) -> JSMethod? {
1157
+ if key == ((Core_ui_list_view_list_view_common.separatorColorProperty?.getDefault)?.key ?? "undefined") {
1158
+ return { __this, __a in return try (jsCastPresent(__this) as ListView).symbol_getDefault_separatorColor() }
1159
+ }
1160
+ if key == ((Core_ui_list_view_list_view_common.separatorColorProperty?.setNative)?.key ?? "undefined") {
1161
+ return { __this, __a in
1162
+ try (jsCastPresent(__this) as ListView).symbol_setNative_separatorColor(jsArg(__a, 0))
1163
+ return nil
1164
+ }
1165
+ }
1166
+ if key == ((Core_ui_list_view_list_view_common.itemTemplatesProperty?.getDefault)?.key ?? "undefined") {
1167
+ return { __this, __a in return try (jsCastPresent(__this) as ListView).symbol_getDefault_itemTemplates() }
1168
+ }
1169
+ if key == ((Core_ui_list_view_list_view_common.itemTemplatesProperty?.setNative)?.key ?? "undefined") {
1170
+ return { __this, __a in
1171
+ try (jsCastPresent(__this) as ListView).symbol_setNative_itemTemplates(
1172
+ jsArrayOrNil(jsArg(__a, 0), as: JSArray<Any?>.self, { $0 }))
1173
+ return nil
1174
+ }
1175
+ }
1176
+ if key == ((Core_ui_list_view_list_view_common.iosEstimatedRowHeightProperty?.getDefault)?.key ?? "undefined") {
1177
+ return { __this, __a in
1178
+ return try (jsCastPresent(__this) as ListView).symbol_getDefault_iosEstimatedRowHeight()
1179
+ }
1180
+ }
1181
+ if key == ((Core_ui_list_view_list_view_common.iosEstimatedRowHeightProperty?.setNative)?.key ?? "undefined") {
1182
+ return { __this, __a in
1183
+ try (jsCastPresent(__this) as ListView).symbol_setNative_iosEstimatedRowHeight(jsArg(__a, 0))
1184
+ return nil
1185
+ }
1186
+ }
1187
+ if key == ((Core_ui_list_view_list_view_common.stickyHeaderProperty?.getDefault)?.key ?? "undefined") {
1188
+ return { __this, __a in return try (jsCastPresent(__this) as ListView).symbol_getDefault_stickyHeader() }
1189
+ }
1190
+ if key == ((Core_ui_list_view_list_view_common.stickyHeaderProperty?.setNative)?.key ?? "undefined") {
1191
+ return { __this, __a in
1192
+ try (jsCastPresent(__this) as ListView).symbol_setNative_stickyHeader(
1193
+ (try jsConvertedBool(jsArg(__a, 0))))
1194
+ return nil
1195
+ }
1196
+ }
1197
+ if key == ((Core_ui_list_view_list_view_common.stickyHeaderTemplateProperty?.getDefault)?.key ?? "undefined") {
1198
+ return { __this, __a in
1199
+ return try (jsCastPresent(__this) as ListView).symbol_getDefault_stickyHeaderTemplate()
1200
+ }
1201
+ }
1202
+ if key == ((Core_ui_list_view_list_view_common.stickyHeaderTemplateProperty?.setNative)?.key ?? "undefined") {
1203
+ return { __this, __a in
1204
+ try (jsCastPresent(__this) as ListView).symbol_setNative_stickyHeaderTemplate(jsArg(__a, 0))
1205
+ return nil
1206
+ }
1207
+ }
1208
+ if key == ((Core_ui_list_view_list_view_common.stickyHeaderHeightProperty?.getDefault)?.key ?? "undefined") {
1209
+ return { __this, __a in
1210
+ return try (jsCastPresent(__this) as ListView).symbol_getDefault_stickyHeaderHeight()
1211
+ }
1212
+ }
1213
+ if key == ((Core_ui_list_view_list_view_common.stickyHeaderHeightProperty?.setNative)?.key ?? "undefined") {
1214
+ return { __this, __a in
1215
+ try (jsCastPresent(__this) as ListView).symbol_setNative_stickyHeaderHeight(jsArg(__a, 0))
1216
+ return nil
1217
+ }
1218
+ }
1219
+ if key == ((Core_ui_list_view_list_view_common.sectionedProperty?.getDefault)?.key ?? "undefined") {
1220
+ return { __this, __a in return try (jsCastPresent(__this) as ListView).symbol_getDefault_sectioned() }
1221
+ }
1222
+ if key == ((Core_ui_list_view_list_view_common.sectionedProperty?.setNative)?.key ?? "undefined") {
1223
+ return { __this, __a in
1224
+ try (jsCastPresent(__this) as ListView).symbol_setNative_sectioned((try jsConvertedBool(jsArg(__a, 0))))
1225
+ return nil
1226
+ }
1227
+ }
1228
+ if key == ((Core_ui_list_view_list_view_common.showSearchProperty?.getDefault)?.key ?? "undefined") {
1229
+ return { __this, __a in return try (jsCastPresent(__this) as ListView).symbol_getDefault_showSearch() }
1230
+ }
1231
+ if key == ((Core_ui_list_view_list_view_common.showSearchProperty?.setNative)?.key ?? "undefined") {
1232
+ return { __this, __a in
1233
+ try (jsCastPresent(__this) as ListView).symbol_setNative_showSearch(
1234
+ (try jsConvertedBool(jsArg(__a, 0))))
1235
+ return nil
1236
+ }
1237
+ }
1238
+ if key == ((Core_ui_list_view_list_view_common.iosSearchInsetBehaviorProperty?.setNative)?.key ?? "undefined") {
1239
+ return { __this, __a in
1240
+ try (jsCastPresent(__this) as ListView).symbol_setNative_iosSearchInsetBehavior(
1241
+ (try jsConvertedString(jsArg(__a, 0))))
1242
+ return nil
1243
+ }
1244
+ }
1245
+ if key == ((Core_ui_list_view_list_view_common.searchAutoHideProperty?.getDefault)?.key ?? "undefined") {
1246
+ return { __this, __a in return try (jsCastPresent(__this) as ListView).symbol_getDefault_searchAutoHide() }
1247
+ }
1248
+ if key == ((Core_ui_list_view_list_view_common.searchAutoHideProperty?.setNative)?.key ?? "undefined") {
1249
+ return { __this, __a in
1250
+ try (jsCastPresent(__this) as ListView).symbol_setNative_searchAutoHide(
1251
+ (try jsConvertedBool(jsArg(__a, 0))))
1252
+ return nil
1253
+ }
1254
+ }
1255
+ if key == ((Core_ui_list_view_list_view_common.iosScrollEdgeEffectProperty?.setNative)?.key ?? "undefined") {
1256
+ return { __this, __a in
1257
+ try (jsCastPresent(__this) as ListView).symbol_setNative_iosScrollEdgeEffect(
1258
+ (try jsConvertedString(jsArg(__a, 0))))
1259
+ return nil
1260
+ }
1261
+ }
1262
+ return super.jsSymbolMethod(key)
1263
+ }
1264
+ open override class var jsSymbolPlain: Bool { false }
1265
+ open override func createNativeView() -> Any? {
1266
+ let __result: UITableView? = { () -> UITableView? in
1267
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:477)
1268
+ return UITableView()
1269
+ }()
1270
+ return __result
1271
+ }
1272
+ #sourceLocation()
1273
+ open override func initNativeView() throws {
1274
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:481)
1275
+ try super.initNativeView()
1276
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:482)
1277
+ let nativeView: UITableView? = self.nativeViewProtected as? UITableView
1278
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:483)
1279
+ try jsUnwrap(nativeView, "registerClassForCellReuseIdentifier").register(
1280
+ ListViewCell.self, forCellReuseIdentifier: jsStringOrEmpty(jsGet(self._defaultTemplate, "key")))
1281
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:484)
1282
+ try jsUnwrap(nativeView, "registerClassForHeaderFooterViewReuseIdentifier").register(
1283
+ ListViewHeaderCell.self, forHeaderFooterViewReuseIdentifier: "stickyHeader")
1284
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:485)
1285
+ try jsUnwrap(nativeView, setting: "estimatedRowHeight").estimatedRowHeight = CGFloat(
1286
+ jsNativeNumber(Core_ui_list_view_index.DEFAULT_HEIGHT))
1287
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:486)
1288
+ try jsUnwrap(nativeView, setting: "rowHeight").rowHeight = UITableView.automaticDimension
1289
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:487)
1290
+ do {
1291
+ let __assigned1: DataSource = try DataSource.initWithOwner(JSWeakRef<ListView>(self))
1292
+ self._dataSource = __assigned1
1293
+ try jsUnwrap(nativeView, setting: "dataSource").dataSource = __assigned1
1294
+ }
1295
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:488)
1296
+ self._delegate = try UITableViewDelegateImpl.initWithOwner(JSWeakRef<ListView>(self))
1297
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:491)
1298
+ if try jsUnwrap(nativeView, "respondsToSelector").responds(
1299
+ to: NSSelectorFromString("setSectionHeaderTopPadding:"))
1300
+ {
1301
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:492)
1302
+ if !self.stickyHeaderTopPadding {
1303
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:493)
1304
+ try jsUnwrap(nativeView, setting: "sectionHeaderTopPadding").sectionHeaderTopPadding = 0
1305
+ }
1306
+ }
1307
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:498)
1308
+ try self._setNativeClipToBounds()
1309
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:499)
1310
+ try (self._scrollEdgeContainers as ScrollEdgeContainers?)?.attach()
1311
+ }
1312
+ #sourceLocation()
1313
+ open override func disposeNativeView() throws {
1314
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:503)
1315
+ try (self._scrollEdgeContainers as ScrollEdgeContainers?)?.detach()
1316
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:504)
1317
+ try self._cleanupSearchController()
1318
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:505)
1319
+ self._delegate = jsNull
1320
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:506)
1321
+ self._dataSource = jsNull
1322
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:507)
1323
+ try super.disposeNativeView()
1324
+ }
1325
+ #sourceLocation()
1326
+ open override func addScrollEdgeContainer(_ view: View?, _ edge: String) throws {
1327
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:511)
1328
+ if !jsTruthy(self._scrollEdgeContainers) {
1329
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:512)
1330
+ self._scrollEdgeContainers = ScrollEdgeContainers(self)
1331
+ }
1332
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:514)
1333
+ try jsUnwrap(self._scrollEdgeContainers, "add").add(view, edge)
1334
+ }
1335
+ #sourceLocation()
1336
+ open override func removeScrollEdgeContainer(_ view: View?) throws {
1337
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:518)
1338
+ try (self._scrollEdgeContainers as ScrollEdgeContainers?)?.remove(view)
1339
+ }
1340
+ #sourceLocation()
1341
+ open func _setupSearchController() throws {
1342
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:522)
1343
+ if !self.showSearch || jsTruthy(self._searchController) {
1344
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:523)
1345
+ return
1346
+ }
1347
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:527)
1348
+ self._searchController = UISearchController(searchResultsController: nil)
1349
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:528)
1350
+ self._searchDelegate = try UISearchResultsUpdatingImpl.initWithOwner(JSWeakRef<ListView>(self))
1351
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:531)
1352
+ try jsUnwrap(self._searchController, setting: "searchResultsUpdater").searchResultsUpdater = jsObjectRequired(
1353
+ self._searchDelegate)
1354
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:534)
1355
+ try jsUnwrap(self._searchController, setting: "obscuresBackgroundDuringPresentation")
1356
+ .obscuresBackgroundDuringPresentation = false
1357
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:535)
1358
+ try jsUnwrap(self._searchController, setting: "dimsBackgroundDuringPresentation")
1359
+ .dimsBackgroundDuringPresentation = false
1360
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:536)
1361
+ try jsUnwrap(self._searchController, setting: "hidesNavigationBarDuringPresentation")
1362
+ .hidesNavigationBarDuringPresentation = false
1363
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:539)
1364
+ try jsUnwrap(jsUnwrap(self._searchController, "searchBar").searchBar, setting: "placeholder").placeholder =
1365
+ "Search"
1366
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:540)
1367
+ try jsUnwrap(jsUnwrap(self._searchController, "searchBar").searchBar, setting: "searchBarStyle")
1368
+ .searchBarStyle = UISearchBar.Style.minimal
1369
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:543)
1370
+ let viewController: UIViewController? = try self._getViewController()
1371
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:544)
1372
+ if jsTruthy(viewController) {
1373
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:545)
1374
+ try jsUnwrap(viewController, setting: "definesPresentationContext").definesPresentationContext = true
1375
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:546)
1376
+ try jsUnwrap(viewController, setting: "providesPresentationContextTransitionStyle")
1377
+ .providesPresentationContextTransitionStyle = true
1378
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:549)
1379
+ if try
1380
+ (Core_utils_constants.SDK_VERSION >= 11
1381
+ && jsTruthy(jsUnwrap(viewController, "navigationItem").navigationItem))
1382
+ {
1383
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:550)
1384
+ try jsUnwrap(jsUnwrap(viewController, "navigationItem").navigationItem, setting: "searchController")
1385
+ .searchController = self._searchController
1386
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:553)
1387
+ try jsUnwrap(
1388
+ jsUnwrap(viewController, "navigationItem").navigationItem, setting: "hidesSearchBarWhenScrolling"
1389
+ ).hidesSearchBarWhenScrolling = self.searchAutoHide
1390
+ } else {
1391
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:568)
1392
+ try jsUnwrap(self.nativeViewProtected as? UITableView, setting: "tableHeaderView").tableHeaderView =
1393
+ jsUnwrap(self._searchController, "searchBar").searchBar
1394
+ }
1395
+ } else {
1396
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:572)
1397
+ try jsUnwrap(self.nativeViewProtected as? UITableView, setting: "tableHeaderView").tableHeaderView =
1398
+ jsUnwrap(self._searchController, "searchBar").searchBar
1399
+ }
1400
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:576)
1401
+ try jsUnwrap(jsUnwrap(self._searchController, "searchBar").searchBar, "sizeToFit").sizeToFit()
1402
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:586)
1403
+ let explicit: String = self.iosSearchInsetBehavior
1404
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:587)
1405
+ let usingNavItem: Bool = try
1406
+ !(!((({ () throws -> Bool in
1407
+ let __v_4 = try jsImplicit(
1408
+ ({ () throws -> UINavigationItem? in
1409
+ let __v_5 =
1410
+ ({ () -> Bool in
1411
+ let __v_6 = viewController
1412
+ return jsTruthy(__v_6) ? Core_utils_constants.SDK_VERSION >= 11 : jsTruthy(__v_6)
1413
+ }())
1414
+ return jsTruthy(__v_5) ? try jsUnwrap(viewController, "navigationItem").navigationItem : nil
1415
+ }()))
1416
+ return jsTruthy(__v_4)
1417
+ ? try jsImplicit(
1418
+ jsUnwrap(jsUnwrap(viewController, "navigationItem").navigationItem, "searchController")
1419
+ .searchController) === self._searchController : jsTruthy(__v_4)
1420
+ }()))))
1421
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:588)
1422
+ let resolved: String = explicit
1423
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:589)
1424
+ try self._applyContentInsetBehavior(resolved)
1425
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:591)
1426
+ if NativeScriptKit.Trace.isEnabled() {
1427
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:592)
1428
+ try NativeScriptKit.Trace.write(
1429
+ "ListView: UISearchController setup complete with searchAutoHide: \(js(self.searchAutoHide)), insetBehavior: \(resolved)",
1430
+ NativeScriptKit.Trace.categories.Debug)
1431
+ }
1432
+ }
1433
+ #sourceLocation()
1434
+ open func _applyContentInsetBehavior(_ value: String) throws {
1435
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:597)
1436
+ let nativeView: UITableView? = self.nativeViewProtected as? UITableView
1437
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:598)
1438
+ if !jsTruthy(nativeView) {
1439
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:599)
1440
+ return
1441
+ }
1442
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:601)
1443
+ if try jsUnwrap(nativeView, "respondsToSelector").responds(
1444
+ to: NSSelectorFromString("setContentInsetAdjustmentBehavior:"))
1445
+ {
1446
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:602)
1447
+ var mapped: UIScrollView.ContentInsetAdjustmentBehavior!
1448
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:603)
1449
+ switch value {
1450
+ case "scrollableAxes":
1451
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:605)
1452
+ mapped = UIScrollView.ContentInsetAdjustmentBehavior.scrollableAxes
1453
+ case "never":
1454
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:608)
1455
+ mapped = UIScrollView.ContentInsetAdjustmentBehavior.never
1456
+ case "always":
1457
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:611)
1458
+ mapped = UIScrollView.ContentInsetAdjustmentBehavior.always
1459
+ default:
1460
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:615)
1461
+ mapped = UIScrollView.ContentInsetAdjustmentBehavior.automatic
1462
+ }
1463
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:617)
1464
+ try jsUnwrap(nativeView, setting: "contentInsetAdjustmentBehavior").contentInsetAdjustmentBehavior = mapped
1465
+ } else {
1466
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:620)
1467
+ try jsUnwrap(nativeView, setting: "automaticallyAdjustsScrollIndicatorInsets")
1468
+ .automaticallyAdjustsScrollIndicatorInsets =
1469
+ jsStringEquals(value, "automatic") || jsStringEquals(value, "always")
1470
+ }
1471
+ }
1472
+ #sourceLocation()
1473
+ open func _cleanupSearchController() throws {
1474
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:625)
1475
+ if !jsTruthy(self._searchController) {
1476
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:626)
1477
+ return
1478
+ }
1479
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:630)
1480
+ let viewController: UIViewController? = try self._getViewController()
1481
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:631)
1482
+ if try
1483
+ ((jsTruthy(viewController) && jsTruthy(jsUnwrap(viewController, "navigationItem").navigationItem))
1484
+ && jsImplicit(
1485
+ jsUnwrap(jsUnwrap(viewController, "navigationItem").navigationItem, "searchController").searchController
1486
+ ) === self._searchController)
1487
+ {
1488
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:632)
1489
+ try jsUnwrap(jsUnwrap(viewController, "navigationItem").navigationItem, setting: "searchController")
1490
+ .searchController = nil
1491
+ } else if try jsStrictEquals(
1492
+ jsImplicit(jsUnwrap(self.nativeViewProtected as? UITableView, "tableHeaderView").tableHeaderView),
1493
+ jsUnwrap(self._searchController, "searchBar").searchBar)
1494
+ {
1495
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:634)
1496
+ try jsUnwrap(self.nativeViewProtected as? UITableView, setting: "tableHeaderView").tableHeaderView = nil
1497
+ }
1498
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:638)
1499
+ if try jsUnwrap(self.nativeViewProtected as? UITableView, "respondsToSelector").responds(
1500
+ to: NSSelectorFromString("setContentInsetAdjustmentBehavior:"))
1501
+ {
1502
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:640)
1503
+ try jsUnwrap(self.nativeViewProtected as? UITableView, setting: "contentInsetAdjustmentBehavior")
1504
+ .contentInsetAdjustmentBehavior = UIScrollView.ContentInsetAdjustmentBehavior.automatic
1505
+ } else {
1506
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:643)
1507
+ try jsUnwrap(self.nativeViewProtected as? UITableView, setting: "automaticallyAdjustsScrollIndicatorInsets")
1508
+ .automaticallyAdjustsScrollIndicatorInsets = true
1509
+ }
1510
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:647)
1511
+ try jsUnwrap(self._searchController, setting: "searchResultsUpdater").searchResultsUpdater = nil
1512
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:648)
1513
+ self._searchController = nil
1514
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:649)
1515
+ self._searchDelegate = nil
1516
+ }
1517
+ #sourceLocation()
1518
+ open func _getViewController() throws -> UIViewController? {
1519
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:654)
1520
+ var parent: ViewBase? = self.parent
1521
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:655)
1522
+ while jsTruthy(parent) {
1523
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:656)
1524
+ if try jsTruthy(jsUnwrap(parent, "viewController").viewController) {
1525
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:657)
1526
+ return try (jsUnwrap(parent, "viewController").viewController as? UIViewController)
1527
+ }
1528
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:659)
1529
+ parent = try jsUnwrap(parent, "parent").parent
1530
+ }
1531
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:661)
1532
+ return nil
1533
+ }
1534
+ #sourceLocation()
1535
+ open override func _setNativeClipToBounds() throws {
1536
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:666)
1537
+ let view: UITableView? = self.nativeViewProtected as? UITableView
1538
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:667)
1539
+ if jsTruthy(view) {
1540
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:668)
1541
+ try jsUnwrap(view, setting: "clipsToBounds").clipsToBounds = true
1542
+ }
1543
+ }
1544
+ #sourceLocation()
1545
+ open override func onLoaded() throws {
1546
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:674)
1547
+ try super.onLoaded()
1548
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:675)
1549
+ if self._isDataDirty {
1550
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:676)
1551
+ try self.refresh()
1552
+ }
1553
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:678)
1554
+ try jsUnwrap(self.nativeViewProtected as? UITableView, setting: "delegate").delegate =
1555
+ (self._delegate as? any UITableViewDelegate)
1556
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:681)
1557
+ if self.showSearch {
1558
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:682)
1559
+ try self._setupSearchController()
1560
+ }
1561
+ }
1562
+ #sourceLocation()
1563
+ open override func eachChildView(_ __b0: @escaping (ViewCommon?) throws -> Bool) throws {
1564
+ let callback: (View?) throws -> Bool = FunctionCell_ViewOpt_to_Bool.adapting(__b0)
1565
+ _ = try { () throws -> Void in
1566
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:696)
1567
+ try jsUnwrap(self._map, "forEach").forEach { (view: View, key: ListViewCell) throws -> Void in
1568
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:697)
1569
+ _ = try jsCallable(callback, "callback")(view)
1570
+ }
1571
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:699)
1572
+ try jsUnwrap(self._headerMap, "forEach").forEach { (view: View, key: ListViewHeaderCell) throws -> Void in
1573
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:700)
1574
+ _ = try jsCallable(callback, "callback")(view)
1575
+ }
1576
+ }()
1577
+ }
1578
+ #sourceLocation()
1579
+ open override func scrollToIndex(_ index: Double) throws {
1580
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:705)
1581
+ try self._scrollToIndex(index, false)
1582
+ }
1583
+ #sourceLocation()
1584
+ open override func scrollToIndexAnimated(_ index: Double) throws {
1585
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:709)
1586
+ try self._scrollToIndex(index)
1587
+ }
1588
+ #sourceLocation()
1589
+ open func _scrollToIndex(_ index: Double, _ animated: Bool = true) throws {
1590
+ var index = index
1591
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:713)
1592
+ if !jsTruthy((self.nativeViewProtected as? UITableView)) {
1593
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:714)
1594
+ return
1595
+ }
1596
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:717)
1597
+ let itemsLength: Any? = try (jsTruthy(self.items) ? (jsGet(self.items, "length") as Any?) : (Double(0) as Any?))
1598
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:719)
1599
+ if try jsGreaterThrowing(itemsLength, Double(0)) {
1600
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:720)
1601
+ if index < 0 {
1602
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:721)
1603
+ index = 0
1604
+ } else if try jsGreaterOrEqualThrowing(index, itemsLength) {
1605
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:723)
1606
+ index = try jsSubtractThrowing(itemsLength, 1)
1607
+ }
1608
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:726)
1609
+ try jsUnwrap(self.nativeViewProtected as? UITableView, "scrollToRowAtIndexPathAtScrollPositionAnimated")
1610
+ .scrollToRow(
1611
+ at: (NSIndexPath(item: jsNativeInteger(index, Int.self), section: 0) as IndexPath),
1612
+ at: UITableView.ScrollPosition.top, animated: animated)
1613
+ } else if NativeScriptKit.Trace.isEnabled() {
1614
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:728)
1615
+ try NativeScriptKit.Trace.write(
1616
+ "Cannot scroll listview to index \(js(index)) when listview items not set",
1617
+ NativeScriptKit.Trace.categories.Binding)
1618
+ }
1619
+ }
1620
+ #sourceLocation()
1621
+ open override func refresh() throws {
1622
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:734)
1623
+ try jsUnwrap(self._map, "forEach").forEach {
1624
+ (view: View, nativeView: ListViewCell, map: JSMap<ListViewCell, View>) throws -> Void in
1625
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:735)
1626
+ if try !(((jsUnwrap(view, "bindingContext").bindingContext is Observable))) {
1627
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:736)
1628
+ try jsUnwrap(view, setting: "bindingContext").bindingContext = jsNull
1629
+ }
1630
+ }
1631
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:739)
1632
+ try jsUnwrap(self._headerMap, "forEach").forEach {
1633
+ (view: View, nativeView: ListViewHeaderCell, map: JSMap<ListViewHeaderCell, View>) throws -> Void in
1634
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:740)
1635
+ if try !(((jsUnwrap(view, "bindingContext").bindingContext is Observable))) {
1636
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:741)
1637
+ try jsUnwrap(view, setting: "bindingContext").bindingContext = jsNull
1638
+ }
1639
+ }
1640
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:745)
1641
+ if self.isLoaded {
1642
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:746)
1643
+ try jsUnwrap(self.nativeViewProtected as? UITableView, "reloadData").reloadData()
1644
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:747)
1645
+ try self.requestLayout()
1646
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:748)
1647
+ self._isDataDirty = false
1648
+ } else {
1649
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:750)
1650
+ self._isDataDirty = true
1651
+ }
1652
+ }
1653
+ #sourceLocation()
1654
+ open override func isItemAtIndexVisible(_ itemIndex: Double) throws -> Bool {
1655
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:755)
1656
+ let indexes: JSArray<NSIndexPath>? = try jsArrayFrom(
1657
+ JSArray<Any?>.from(
1658
+ jsUnwrap(self.nativeViewProtected as? UITableView, "indexPathsForVisibleRows").indexPathsForVisibleRows!
1659
+ )
1660
+ ) { try (jsCastPresent($0) as NSIndexPath) }
1661
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:757)
1662
+ return try jsUnwrap(indexes, "some").some({ (visIndex: NSIndexPath?) throws -> Bool in
1663
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:757)
1664
+ return try jsLenientNumberEquals(Double(jsUnwrap(visIndex, "row").row), itemIndex)
1665
+ })
1666
+ }
1667
+ #sourceLocation()
1668
+ open func getHeight(_ index: Double, _ section: Double = 0) throws -> Double {
1669
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:761)
1670
+ return try ((jsImplicit(jsUnwrap(self._heights, "section").element(section))?.element(index) ?? nil) ?? .nan)
1671
+ }
1672
+ #sourceLocation()
1673
+ open func setHeight(_ index: Double, _ value: Double, _ section: Double = 0) throws {
1674
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:765)
1675
+ if try !(jsTruthy(jsUnwrap(self._heights, "section").element(section) as Any?)) {
1676
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:766)
1677
+ try jsUnwrap(self._heights, setting: "section")[(section as Double)] = JSArray<Double>()
1678
+ }
1679
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:768)
1680
+ try jsUnwrap(jsUnwrap(self._heights, "section").element(section), setting: "index")[(index as Double)] = value
1681
+ }
1682
+ #sourceLocation()
1683
+ open override func _onRowHeightPropertyChanged(_ oldValue: Any?, _ newValue: Any?) throws {
1684
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:772)
1685
+ let value: Double = try NativeScriptKit.layout.toDeviceIndependentPixels(self._effectiveRowHeight)
1686
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:773)
1687
+ let nativeView: UITableView? = self.nativeViewProtected as? UITableView
1688
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:774)
1689
+ if value < 0 {
1690
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:775)
1691
+ try jsUnwrap(nativeView, setting: "rowHeight").rowHeight = UITableView.automaticDimension
1692
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:776)
1693
+ try jsUnwrap(nativeView, setting: "estimatedRowHeight").estimatedRowHeight = CGFloat(
1694
+ jsNativeNumber(Core_ui_list_view_index.DEFAULT_HEIGHT))
1695
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:777)
1696
+ self._delegate = try UITableViewDelegateImpl.initWithOwner(JSWeakRef<ListView>(self))
1697
+ } else {
1698
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:779)
1699
+ try jsUnwrap(nativeView, setting: "rowHeight").rowHeight = CGFloat(jsNativeNumber(value))
1700
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:780)
1701
+ try jsUnwrap(nativeView, setting: "estimatedRowHeight").estimatedRowHeight = CGFloat(jsNativeNumber(value))
1702
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:781)
1703
+ self._delegate = try UITableViewRowHeightDelegateImpl.initWithOwner(JSWeakRef<ListView>(self))
1704
+ }
1705
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:784)
1706
+ if self.isLoaded {
1707
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:785)
1708
+ try jsUnwrap(nativeView, setting: "delegate").delegate = (self._delegate as? any UITableViewDelegate)
1709
+ }
1710
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:788)
1711
+ try super._onRowHeightPropertyChanged(oldValue, newValue)
1712
+ }
1713
+ #sourceLocation()
1714
+ open override func requestLayout() throws {
1715
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:793)
1716
+ if !self._preparingCell && !self._preparingHeader {
1717
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:794)
1718
+ try super.requestLayout()
1719
+ }
1720
+ }
1721
+ #sourceLocation()
1722
+ open override func measure(_ widthMeasureSpec: Double, _ heightMeasureSpec: Double) throws {
1723
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:799)
1724
+ let changed: Bool =
1725
+ !jsLenientNumberEquals(self._currentWidthMeasureSpec, widthMeasureSpec)
1726
+ || !jsLenientNumberEquals(self._currentHeightMeasureSpec, heightMeasureSpec)
1727
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:801)
1728
+ self.widthMeasureSpec = widthMeasureSpec
1729
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:802)
1730
+ try super.measure(widthMeasureSpec, heightMeasureSpec)
1731
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:805)
1732
+ if changed {
1733
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:806)
1734
+ try jsUnwrap(self.nativeViewProtected as? UITableView, "reloadData").reloadData()
1735
+ }
1736
+ }
1737
+ #sourceLocation()
1738
+ open override func onMeasure(_ widthMeasureSpec: Double, _ heightMeasureSpec: Double) throws {
1739
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:811)
1740
+ try super.onMeasure(widthMeasureSpec, heightMeasureSpec)
1741
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:813)
1742
+ try jsUnwrap(self._map, "forEach").forEach { (childView: View, listViewCell: ListViewCell) throws -> Void in
1743
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:814)
1744
+ _ = try View.measureChild(
1745
+ self, childView, jsUnwrap(childView, "_currentWidthMeasureSpec")._currentWidthMeasureSpec,
1746
+ jsUnwrap(childView, "_currentHeightMeasureSpec")._currentHeightMeasureSpec)
1747
+ }
1748
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:816)
1749
+ try jsUnwrap(self._headerMap, "forEach").forEach {
1750
+ (childView: View, listViewHeaderCell: ListViewHeaderCell) throws -> Void in
1751
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:817)
1752
+ _ = try View.measureChild(
1753
+ self, childView, jsUnwrap(childView, "_currentWidthMeasureSpec")._currentWidthMeasureSpec,
1754
+ jsUnwrap(childView, "_currentHeightMeasureSpec")._currentHeightMeasureSpec)
1755
+ }
1756
+ }
1757
+ #sourceLocation()
1758
+ open override func onLayout(_ left: Double, _ top: Double, _ right: Double, _ bottom: Double) throws {
1759
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:822)
1760
+ try super.onLayout(left, top, right, bottom)
1761
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:824)
1762
+ try jsUnwrap(self._map, "forEach").forEach { (childView: View, listViewCell: ListViewCell) throws -> Void in
1763
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:825)
1764
+ let rowHeight: Double = self._effectiveRowHeight
1765
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:826)
1766
+ let cellHeight: Double =
1767
+ try
1768
+ (rowHeight > 0
1769
+ ? rowHeight
1770
+ : self.getHeight(
1771
+ (jsConvertedNumberOrNil(jsField(jsUnwrap(childView, "_listViewItemIndex"), "_listViewItemIndex"))
1772
+ ?? .nan),
1773
+ ((jsLenientNumberOrNil(
1774
+ jsField(jsUnwrap(childView, "_listViewSectionIndex"), "_listViewSectionIndex"))) ?? 0)))
1775
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:827)
1776
+ if jsTruthy(cellHeight) {
1777
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:828)
1778
+ let width: Double = NativeScriptKit.layout.getMeasureSpecSize(self.widthMeasureSpec)
1779
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:829)
1780
+ try jsUnwrap(childView, setting: "iosOverflowSafeAreaEnabled").iosOverflowSafeAreaEnabled = false
1781
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:830)
1782
+ try View.layoutChild(self, childView, 0, 0, width, cellHeight)
1783
+ }
1784
+ }
1785
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:833)
1786
+ try jsUnwrap(self._headerMap, "forEach").forEach {
1787
+ (childView: View, listViewHeaderCell: ListViewHeaderCell) throws -> Void in
1788
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:834)
1789
+ let headerHeight: Double =
1790
+ try
1791
+ (jsStrictEquals(self.stickyHeaderHeight, "auto")
1792
+ ? 44
1793
+ : jsCallable(NativeScriptKit.Length.toDevicePixels, "Length.toDevicePixels")(
1794
+ self.stickyHeaderHeight, 44))
1795
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:835)
1796
+ let width: Double = NativeScriptKit.layout.getMeasureSpecSize(self.widthMeasureSpec)
1797
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:836)
1798
+ try jsUnwrap(childView, setting: "iosOverflowSafeAreaEnabled").iosOverflowSafeAreaEnabled = false
1799
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:837)
1800
+ try View.layoutChild(self, childView, 0, 0, width, headerHeight)
1801
+ }
1802
+ }
1803
+ #sourceLocation()
1804
+ open func _layoutCell(_ cellView: View?, _ indexPath: NSIndexPath?) throws -> Double {
1805
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:842)
1806
+ if jsTruthy(cellView) {
1807
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:843)
1808
+ let rowHeight: Double = self._effectiveRowHeight
1809
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:844)
1810
+ let heightMeasureSpec: Double =
1811
+ (rowHeight >= 0
1812
+ ? NativeScriptKit.layout.makeMeasureSpec(rowHeight, NativeScriptKit.layout.EXACTLY)
1813
+ : Core_ui_list_view_index.infinity)
1814
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:845)
1815
+ let measuredSize: Any? = try View.measureChild(self, cellView, self.widthMeasureSpec, heightMeasureSpec)
1816
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:846)
1817
+ let height: Double = try jsConvertedNumber(jsGet(measuredSize, "measuredHeight"))
1818
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:847)
1819
+ try self.setHeight(
1820
+ Double(jsUnwrap(indexPath, "row").row), height, Double(jsUnwrap(indexPath, "section").section))
1821
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:849)
1822
+ return height
1823
+ }
1824
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:852)
1825
+ return try Double(jsUnwrap(self.nativeViewProtected as? UITableView, "estimatedRowHeight").estimatedRowHeight)
1826
+ }
1827
+ #sourceLocation()
1828
+ open func _prepareCell(_ cell: ListViewCell?, _ indexPath: NSIndexPath?) throws -> Double? {
1829
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:856)
1830
+ var cellHeight: Double? = nil
1831
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:857)
1832
+ do {
1833
+ defer {
1834
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:908)
1835
+ self._preparingCell = false
1836
+ }
1837
+ do {
1838
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:858)
1839
+ self._preparingCell = true
1840
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:859)
1841
+ var view: View? = try jsUnwrap(cell, "view").view
1842
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:860)
1843
+ if !jsTruthy(view) {
1844
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:861)
1845
+ if self.sectioned {
1846
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:862)
1847
+ view = try
1848
+ (jsCast(
1849
+ jsCallMethod(
1850
+ self._getItemTemplateInSection(
1851
+ Double(jsUnwrap(indexPath, "section").section),
1852
+ Double(jsUnwrap(indexPath, "row").row)), "createView"), View.self))
1853
+ } else {
1854
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:864)
1855
+ view = try
1856
+ (jsCast(
1857
+ jsCallMethod(
1858
+ self._getItemTemplate(Double(jsUnwrap(indexPath, "row").row)), "createView"),
1859
+ View.self))
1860
+ }
1861
+ }
1862
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:868)
1863
+ let args: EventData? = try Core_ui_list_view_index.notifyForItemAtIndex(
1864
+ self, cell, view, Core_ui_list_view_index.ITEMLOADING, indexPath)
1865
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:869)
1866
+ view = try jsImplicit(
1867
+ ({ () throws -> View? in
1868
+ let __v_8 = try (jsCast(jsUnwrap(args, "view")[jsKey: "view"], View.self))
1869
+ return jsTruthy(__v_8)
1870
+ ? jsPresent(__v_8)
1871
+ : try self._getDefaultItemContent(
1872
+ (self.sectioned
1873
+ ? Double(jsUnwrap(indexPath, "row").row) : Double(jsUnwrap(indexPath, "row").row)))
1874
+ }()))
1875
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:873)
1876
+ if view is ProxyViewContainer {
1877
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:874)
1878
+ let sp: StackLayout = try StackLayout()
1879
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:875)
1880
+ try sp.addChild((view as? ProxyViewContainer))
1881
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:876)
1882
+ view = sp
1883
+ }
1884
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:880)
1885
+ if try !(jsTruthy(jsUnwrap(cell, "view").view)) {
1886
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:881)
1887
+ try jsUnwrap(cell, setting: "owner").owner = JSWeakRef<View>(jsObjectRequired(view))
1888
+ } else if try jsUnwrap(cell, "view").view !== view {
1889
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:883)
1890
+ try self._removeContainer(cell)
1891
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:884)
1892
+ try jsUnwrap(cell, setting: "owner").owner = JSWeakRef<View>(jsObjectRequired(view))
1893
+ }
1894
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:887)
1895
+ if self.sectioned {
1896
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:888)
1897
+ try self._prepareItemInSection(
1898
+ view, Double(jsUnwrap(indexPath, "section").section), Double(jsUnwrap(indexPath, "row").row))
1899
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:889)
1900
+ try (jsUnwrap(view, setting: "_listViewItemIndex") as JSDynamic)[jsKey: "_listViewItemIndex"] =
1901
+ Double(jsUnwrap(indexPath, "row").row)
1902
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:890)
1903
+ try (jsUnwrap(view, setting: "_listViewSectionIndex") as JSDynamic)[
1904
+ jsKey: "_listViewSectionIndex"] = Double(jsUnwrap(indexPath, "section").section)
1905
+ } else {
1906
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:892)
1907
+ try self._prepareItem(view, Double(jsUnwrap(indexPath, "row").row))
1908
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:893)
1909
+ try (jsUnwrap(view, setting: "_listViewItemIndex") as JSDynamic)[jsKey: "_listViewItemIndex"] =
1910
+ Double(jsUnwrap(indexPath, "row").row)
1911
+ }
1912
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:895)
1913
+ _ = try jsUnwrap(self._map, "set").set(jsObjectRequired(cell), jsObjectRequired(view))
1914
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:896)
1915
+ if try (((jsUnwrap(cell, "listView").listView as JSWeakRef<ListView>?)?.deref()) as? ListView) !== self
1916
+ {
1917
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:897)
1918
+ try jsUnwrap(cell, setting: "listView").listView = JSWeakRef<ListView>(self)
1919
+ }
1920
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:901)
1921
+ if try (jsTruthy(view) && !(jsTruthy(jsUnwrap(view, "parent").parent))) {
1922
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:902)
1923
+ try self._addView(view)
1924
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:903)
1925
+ try jsUnwrap(jsUnwrap(cell, "contentView").contentView, "addSubview").addSubview(
1926
+ (jsCastPresent(jsUnwrap(view, "nativeViewProtected").nativeViewProtected) as UIView))
1927
+ }
1928
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:906)
1929
+ cellHeight = try self._layoutCell(view, indexPath)
1930
+ }
1931
+ }
1932
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:911)
1933
+ return cellHeight
1934
+ }
1935
+ #sourceLocation()
1936
+ open func _hasCellContent(_ cell: ListViewCell?) throws -> Bool {
1937
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:915)
1938
+ let view: View? = try jsUnwrap(cell, "view").view
1939
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:917)
1940
+ return try jsTruthy(view)
1941
+ && jsImplicit((cell as ListViewCell?).flatMap { try jsUnwrap(self._map, "get").get($0) }) === view
1942
+ }
1943
+ #sourceLocation()
1944
+ open func _prepareCellForDisplay(_ cell: ListViewCell?, _ indexPath: NSIndexPath?) throws {
1945
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:921)
1946
+ _ = try self._prepareCell(cell, indexPath)
1947
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:923)
1948
+ let cellView: View? = try jsUnwrap(cell, "view").view
1949
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:924)
1950
+ if try (jsTruthy(cellView) && jsUnwrap(cellView, "isLayoutRequired").isLayoutRequired) {
1951
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:927)
1952
+ let width: Double = NativeScriptKit.layout.getMeasureSpecSize(self.widthMeasureSpec)
1953
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:928)
1954
+ let rowHeight: Double = self._effectiveRowHeight
1955
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:929)
1956
+ let cellHeight: Double =
1957
+ try
1958
+ (rowHeight > 0
1959
+ ? rowHeight
1960
+ : self.getHeight(Double(jsUnwrap(indexPath, "row").row), Double(jsUnwrap(indexPath, "section").section)))
1961
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:930)
1962
+ try jsUnwrap(cellView, setting: "iosOverflowSafeAreaEnabled").iosOverflowSafeAreaEnabled = false
1963
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:931)
1964
+ try View.layoutChild(self, cellView, 0, 0, width, cellHeight)
1965
+ }
1966
+ }
1967
+ #sourceLocation()
1968
+ open func _removeContainer(_ cell: ListViewCell?) throws {
1969
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:936)
1970
+ let view: View? = try jsUnwrap(cell, "view").view
1971
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:938)
1972
+ let root: Any? =
1973
+ try
1974
+ ((jsUnwrap(view, "parent").parent is ListView) ? (view as Any?) : (jsUnwrap(view, "parent").parent as Any?))
1975
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:939)
1976
+ try (((jsGet(root, "nativeViewProtected") as? UIView)) as UIView?)?.removeFromSuperview()
1977
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:942)
1978
+ if try !(((jsUnwrap(view, "parent").parent is ListView))) {
1979
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:943)
1980
+ try self._removeView(jsUnwrap(view, "parent").parent)
1981
+ }
1982
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:947)
1983
+ let preparing: Bool = self._preparingCell
1984
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:948)
1985
+ self._preparingCell = true
1986
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:949)
1987
+ try jsUnwrap(jsUnwrap(view, "parent").parent, "_removeView")._removeView(view)
1988
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:950)
1989
+ try (jsUnwrap(view, setting: "_listViewItemIndex") as JSDynamic)[jsKey: "_listViewItemIndex"] = nil
1990
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:951)
1991
+ try (jsUnwrap(view, setting: "_listViewSectionIndex") as JSDynamic)[jsKey: "_listViewSectionIndex"] = nil
1992
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:952)
1993
+ self._preparingCell = preparing
1994
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:953)
1995
+ _ = try ((cell as ListViewCell?).map { try jsUnwrap(self._map, "delete").delete($0) } ?? false)
1996
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:956)
1997
+ try jsUnwrap(cell, setting: "owner").owner = nil
1998
+ }
1999
+ #sourceLocation()
2000
+ open func _prepareHeader(_ headerCell: ListViewHeaderCell?, _ section: Double) throws -> Double? {
2001
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:960)
2002
+ var headerHeight: Double? = nil
2003
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:961)
2004
+ do {
2005
+ defer {
2006
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1032)
2007
+ self._preparingHeader = false
2008
+ }
2009
+ do {
2010
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:962)
2011
+ self._preparingHeader = true
2012
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:963)
2013
+ var view: View? = try jsUnwrap(headerCell, "view").view
2014
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:964)
2015
+ if !jsTruthy(view) {
2016
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:965)
2017
+ view = try self._getHeaderTemplate()
2018
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:966)
2019
+ if !jsTruthy(view) {
2020
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:967)
2021
+ if NativeScriptKit.Trace.isEnabled() {
2022
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:968)
2023
+ try NativeScriptKit.Trace.write(
2024
+ "ListView: Failed to create header view for section \(js(section))",
2025
+ NativeScriptKit.Trace.categories.Debug)
2026
+ }
2027
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:971)
2028
+ let lbl: Label = try Label()
2029
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:972)
2030
+ lbl.text = "Section \(js(section))"
2031
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:973)
2032
+ view = lbl
2033
+ }
2034
+ }
2035
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:978)
2036
+ if try !(jsTruthy(jsUnwrap(headerCell, "view").view)) {
2037
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:979)
2038
+ try jsUnwrap(headerCell, setting: "owner").owner = JSWeakRef<View>(jsObjectRequired(view))
2039
+ } else if try jsUnwrap(headerCell, "view").view !== view {
2040
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:981)
2041
+ try self._removeHeaderContainer(headerCell)
2042
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:982)
2043
+ try jsUnwrap(headerCell, setting: "owner").owner = JSWeakRef<View>(jsObjectRequired(view))
2044
+ }
2045
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:986)
2046
+ if try jsTruthy(jsUnwrap(view, "bindingContext").bindingContext) {
2047
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:987)
2048
+ try jsUnwrap(view, setting: "bindingContext").bindingContext = jsNull
2049
+ }
2050
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:990)
2051
+ if self.sectioned {
2052
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:991)
2053
+ let sectionData: Any? = try self._getSectionData(section)
2054
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:992)
2055
+ if jsTruthy(sectionData) {
2056
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:993)
2057
+ try jsUnwrap(view, setting: "bindingContext").bindingContext = sectionData
2058
+ } else {
2059
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:996)
2060
+ try jsUnwrap(view, setting: "bindingContext").bindingContext = JSObject([
2061
+ ("title", "Section \(js(section))"), ("section", section),
2062
+ ])
2063
+ }
2064
+ } else {
2065
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:999)
2066
+ try jsUnwrap(view, setting: "bindingContext").bindingContext = self.bindingContext
2067
+ }
2068
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1003)
2069
+ if try (jsTruthy(view) && jsStringEquals(jsTypeof(jsGet(view, "_onBindingContextChanged")), "function"))
2070
+ {
2071
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1004)
2072
+ _ = try jsCallMethod(
2073
+ view, "_onBindingContextChanged", jsNull, jsUnwrap(view, "bindingContext").bindingContext)
2074
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1008)
2075
+ if try jsTruthy(jsGet(jsUnwrap(view, "_childrenCount"), "_childrenCount")) {
2076
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1009)
2077
+ try jsUnwrap(view, "eachChildView").eachChildView({ (child: ViewCommon?) throws -> Bool in
2078
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1010)
2079
+ if try jsStringEquals(jsTypeof(jsGet(child, "_onBindingContextChanged")), "function") {
2080
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1011)
2081
+ _ = try jsCallMethod(
2082
+ child, "_onBindingContextChanged", jsNull,
2083
+ jsUnwrap(view, "bindingContext").bindingContext)
2084
+ }
2085
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1013)
2086
+ return true
2087
+ })
2088
+ }
2089
+ }
2090
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1017)
2091
+ _ = try jsUnwrap(self._headerMap, "set").set(jsObjectRequired(headerCell), jsObjectRequired(view))
2092
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1020)
2093
+ if try (jsTruthy(view) && !(jsTruthy(jsUnwrap(view, "parent").parent))) {
2094
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1021)
2095
+ try self._addView(view)
2096
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1022)
2097
+ try jsUnwrap(jsUnwrap(headerCell, "contentView").contentView, "addSubview").addSubview(
2098
+ (jsCastPresent(jsUnwrap(view, "nativeViewProtected").nativeViewProtected) as UIView))
2099
+ }
2100
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1026)
2101
+ if try (jsTruthy(view) && jsTruthy(jsUnwrap(view, "bindingContext").bindingContext)) {
2102
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1027)
2103
+ try jsUnwrap(view, "requestLayout").requestLayout()
2104
+ }
2105
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1030)
2106
+ headerHeight = try self._layoutHeader(view)
2107
+ }
2108
+ }
2109
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1035)
2110
+ return headerHeight
2111
+ }
2112
+ #sourceLocation()
2113
+ open func _layoutHeader(_ headerView: View?) throws -> Double {
2114
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1039)
2115
+ if jsTruthy(headerView) {
2116
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1040)
2117
+ let headerHeight: Double =
2118
+ try
2119
+ (jsStrictEquals(self.stickyHeaderHeight, "auto")
2120
+ ? 44
2121
+ : jsCallable(NativeScriptKit.Length.toDevicePixels, "Length.toDevicePixels")(
2122
+ self.stickyHeaderHeight, 44))
2123
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1041)
2124
+ let heightMeasureSpec: Double = NativeScriptKit.layout.makeMeasureSpec(
2125
+ headerHeight, NativeScriptKit.layout.EXACTLY)
2126
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1043)
2127
+ let measuredSize: Any? = try View.measureChild(self, headerView, self.widthMeasureSpec, heightMeasureSpec)
2128
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1045)
2129
+ try View.layoutChild(
2130
+ self, headerView, 0, 0, jsConvertedNumber(jsGet(measuredSize, "measuredWidth")),
2131
+ jsConvertedNumber(jsGet(measuredSize, "measuredHeight")))
2132
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1047)
2133
+ return try jsConvertedNumber(jsGet(measuredSize, "measuredHeight"))
2134
+ }
2135
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1050)
2136
+ return 44
2137
+ }
2138
+ #sourceLocation()
2139
+ open func _getHeaderTemplate() throws -> View? {
2140
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1054)
2141
+ if jsTruthy(self.stickyHeaderTemplate) {
2142
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1060)
2143
+ if jsStringEquals(jsTypeof(self.stickyHeaderTemplate), "string") {
2144
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1061)
2145
+ do {
2146
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1062)
2147
+ let parsed: View? = try Builder.parse(jsLenientString(self.stickyHeaderTemplate), self)
2148
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1063)
2149
+ if !jsTruthy(parsed) {
2150
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1065)
2151
+ let fallbackLabel: Label = try Label()
2152
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1066)
2153
+ fallbackLabel.text = "Parse Failed"
2154
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1067)
2155
+ return fallbackLabel
2156
+ }
2157
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1069)
2158
+ return parsed
2159
+ } catch {
2160
+ let error: Any? = jsCaught(error)
2161
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1071)
2162
+ if NativeScriptKit.Trace.isEnabled() {
2163
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1072)
2164
+ try NativeScriptKit.Trace.write(
2165
+ "ListView: Template parsing error: \(jsToStringThrowing(error))",
2166
+ NativeScriptKit.Trace.categories.Debug)
2167
+ }
2168
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1075)
2169
+ let errorLabel: Label = try Label()
2170
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1076)
2171
+ errorLabel.text = "Template Error"
2172
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1077)
2173
+ return errorLabel
2174
+ }
2175
+ } else {
2176
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1080)
2177
+ let view: Any? = try jsCall(self.stickyHeaderTemplate)
2178
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1081)
2179
+ if NativeScriptKit.Trace.isEnabled() {
2180
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1082)
2181
+ try NativeScriptKit.Trace.write(
2182
+ "ListView: Created header view from template function: \(js(jsTruthy(view))) (type: \(jsToStringThrowing(jsConstructorName(view))))",
2183
+ NativeScriptKit.Trace.categories.Debug)
2184
+ }
2185
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1084)
2186
+ return (try jsCast(view, View.self))
2187
+ }
2188
+ }
2189
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1089)
2190
+ if NativeScriptKit.Trace.isEnabled() {
2191
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1090)
2192
+ try NativeScriptKit.Trace.write(
2193
+ "ListView: No sticky header template, creating default", NativeScriptKit.Trace.categories.Debug)
2194
+ }
2195
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1094)
2196
+ let lbl: Label = try Label()
2197
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1095)
2198
+ lbl.text = "Default Header"
2199
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1096)
2200
+ return lbl
2201
+ }
2202
+ #sourceLocation()
2203
+ open func _removeHeaderContainer(_ headerCell: ListViewHeaderCell?) throws {
2204
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1100)
2205
+ let view: View? = try jsUnwrap(headerCell, "view").view
2206
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1101)
2207
+ let root: Any? =
2208
+ try
2209
+ ((jsUnwrap(view, "parent").parent is ListView) ? (view as Any?) : (jsUnwrap(view, "parent").parent as Any?))
2210
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1102)
2211
+ try (((jsGet(root, "nativeViewProtected") as? UIView)) as UIView?)?.removeFromSuperview()
2212
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1105)
2213
+ if try !(((jsUnwrap(view, "parent").parent is ListView))) {
2214
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1106)
2215
+ try self._removeView(jsUnwrap(view, "parent").parent)
2216
+ }
2217
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1110)
2218
+ let preparing: Bool = self._preparingHeader
2219
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1111)
2220
+ self._preparingHeader = true
2221
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1112)
2222
+ try jsUnwrap(jsUnwrap(view, "parent").parent, "_removeView")._removeView(view)
2223
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1113)
2224
+ self._preparingHeader = preparing
2225
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1114)
2226
+ _ =
2227
+ try
2228
+ ((headerCell as ListViewHeaderCell?).map { try jsUnwrap(self._headerMap, "delete").delete($0) } ?? false)
2229
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:1115)
2230
+ try jsUnwrap(headerCell, setting: "owner").owner = nil
2231
+ }
2232
+ #sourceLocation()
2233
+ open override class func jsConstruct(_ __a: [Any?]) throws -> Any? { try ListView() }
2234
+ open override var jsDeclaredKeys: [String] {
2235
+ super.jsDeclaredKeys + ["_isSearchActive"] + ["widthMeasureSpec"]
2236
+ + (jsMadeBits2 & (1 << 8) != 0 ? ["_dataSource"] : []) + (jsMadeBits2 & (1 << 9) != 0 ? ["_delegate"] : [])
2237
+ + (jsMadeBits2 & (1 << 10) != 0 ? ["_heights"] : [])
2238
+ + (jsMadeBits2 & (1 << 11) != 0 ? ["_preparingCell"] : [])
2239
+ + (jsMadeBits2 & (1 << 12) != 0 ? ["_isDataDirty"] : []) + (jsMadeBits2 & (1 << 13) != 0 ? ["_map"] : [])
2240
+ + (jsMadeBits2 & (1 << 14) != 0 ? ["_headerMap"] : [])
2241
+ + (jsMadeBits2 & (1 << 15) != 0 ? ["_preparingHeader"] : [])
2242
+ + (jsMadeBits2 & (1 << 16) != 0 ? ["_headerTemplateCache"] : [])
2243
+ + (jsMadeBits2 & (1 << 17) != 0 ? ["_searchController"] : [])
2244
+ + (jsMadeBits2 & (1 << 18) != 0 ? ["_searchDelegate"] : [])
2245
+ + (jsMadeBits2 & (1 << 19) != 0 ? ["_scrollEdgeContainers"] : [])
2246
+ }
2247
+ open override var jsClassName: String? { "ListView" }
2248
+ open override subscript(jsKey key: String) -> Any? {
2249
+ get {
2250
+ switch key.utf8.count {
2251
+ case 4:
2252
+ switch key {
2253
+ case "_map":
2254
+ if !(jsMadeBits2 & (1 << 13) != 0) { return nil }
2255
+ return self._map
2256
+ default: break
2257
+ }
2258
+ case 7:
2259
+ switch key {
2260
+ case "refresh": return FunctionCell_none_to_Void.script("refresh", 0, self.refresh)
2261
+ case "measure": return FunctionCell_Double_Double_to_Void.script("measure", 2, self.measure)
2262
+ default: break
2263
+ }
2264
+ case 8:
2265
+ switch key {
2266
+ case "_heights":
2267
+ if !(jsMadeBits2 & (1 << 10) != 0) { return nil }
2268
+ return self._heights
2269
+ case "onLoaded": return FunctionCell_none_to_Void.script("onLoaded", 0, self.onLoaded)
2270
+ case "onLayout":
2271
+ return FunctionCell_Double_Double_Double_Double_to_Void.script("onLayout", 4, self.onLayout)
2272
+ default: break
2273
+ }
2274
+ case 9:
2275
+ switch key {
2276
+ case "_delegate":
2277
+ if !(jsMadeBits2 & (1 << 9) != 0) { return nil }
2278
+ return self._delegate
2279
+ case "getHeight": return FunctionCell_Double_Double_to_Double.script("getHeight", 1, self.getHeight)
2280
+ case "setHeight":
2281
+ return FunctionCell_Double_Double_Double_to_Void.script("setHeight", 2, self.setHeight)
2282
+ case "onMeasure": return FunctionCell_Double_Double_to_Void.script("onMeasure", 2, self.onMeasure)
2283
+ default: break
2284
+ }
2285
+ case 10:
2286
+ switch key {
2287
+ case "_headerMap":
2288
+ if !(jsMadeBits2 & (1 << 14) != 0) { return nil }
2289
+ return self._headerMap
2290
+ default: break
2291
+ }
2292
+ case 11:
2293
+ switch key {
2294
+ case "_dataSource":
2295
+ if !(jsMadeBits2 & (1 << 8) != 0) { return nil }
2296
+ return self._dataSource
2297
+ case "_layoutCell":
2298
+ return FunctionCell_ViewOpt_NSIndexPathOpt_to_Double.script("_layoutCell", 2, self._layoutCell)
2299
+ default: break
2300
+ }
2301
+ case 12:
2302
+ switch key {
2303
+ case "_isDataDirty":
2304
+ if !(jsMadeBits2 & (1 << 12) != 0) { return nil }
2305
+ return self._isDataDirty
2306
+ case "_prepareCell":
2307
+ return FunctionCell_ListViewCellOpt_NSIndexPathOpt_to_DoubleOpt.script(
2308
+ "_prepareCell", 2, self._prepareCell)
2309
+ default: break
2310
+ }
2311
+ case 13:
2312
+ switch key {
2313
+ case "eachChildView":
2314
+ return FunctionCell_ViewCommonOpt_to_Bool_to_Void.script("eachChildView", 1, self.eachChildView)
2315
+ case "scrollToIndex": return FunctionCell_Double_to_Void.script("scrollToIndex", 1, self.scrollToIndex)
2316
+ case "requestLayout": return FunctionCell_none_to_Void.script("requestLayout", 0, self.requestLayout)
2317
+ case "_layoutHeader":
2318
+ return FunctionCell_ViewOpt_to_Double.script("_layoutHeader", 1, self._layoutHeader)
2319
+ default: break
2320
+ }
2321
+ case 14:
2322
+ switch key {
2323
+ case "_preparingCell":
2324
+ if !(jsMadeBits2 & (1 << 11) != 0) { return nil }
2325
+ return self._preparingCell
2326
+ case "initNativeView": return FunctionCell_none_to_Void.script("initNativeView", 0, self.initNativeView)
2327
+ case "_scrollToIndex":
2328
+ return FunctionCell_Double_Bool_to_Void.script("_scrollToIndex", 1, self._scrollToIndex)
2329
+ case "_prepareHeader":
2330
+ return FunctionCell_ListViewHeaderCellOpt_Double_to_DoubleOpt.script(
2331
+ "_prepareHeader", 2, self._prepareHeader)
2332
+ default: break
2333
+ }
2334
+ case 15:
2335
+ switch key {
2336
+ case "_searchDelegate":
2337
+ if !(jsMadeBits2 & (1 << 18) != 0) { return nil }
2338
+ return self._searchDelegate
2339
+ case "_isSearchActive": return self._isSearchActive
2340
+ case "_hasCellContent":
2341
+ return FunctionCell_ListViewCellOpt_to_Bool.script("_hasCellContent", 1, self._hasCellContent)
2342
+ default: break
2343
+ }
2344
+ case 16:
2345
+ switch key {
2346
+ case "_preparingHeader":
2347
+ if !(jsMadeBits2 & (1 << 15) != 0) { return nil }
2348
+ return self._preparingHeader
2349
+ case "widthMeasureSpec": return self.widthMeasureSpec
2350
+ case "createNativeView":
2351
+ return FunctionCell_none_to_AnyOpt.script("createNativeView", 0, self.createNativeView)
2352
+ case "_removeContainer":
2353
+ return FunctionCell_ListViewCellOpt_to_Void.script("_removeContainer", 1, self._removeContainer)
2354
+ default: break
2355
+ }
2356
+ case 17:
2357
+ switch key {
2358
+ case "_searchController":
2359
+ if !(jsMadeBits2 & (1 << 17) != 0) { return nil }
2360
+ return self._searchController
2361
+ case "disposeNativeView":
2362
+ return FunctionCell_none_to_Void.script("disposeNativeView", 0, self.disposeNativeView)
2363
+ default: break
2364
+ }
2365
+ case 18:
2366
+ switch key {
2367
+ case "_getViewController":
2368
+ return FunctionCell_none_to_UIViewControllerOpt.script(
2369
+ "_getViewController", 0, self._getViewController)
2370
+ case "_getHeaderTemplate":
2371
+ return FunctionCell_none_to_ViewOpt.script("_getHeaderTemplate", 0, self._getHeaderTemplate)
2372
+ default: break
2373
+ }
2374
+ case 20:
2375
+ switch key {
2376
+ case "_headerTemplateCache":
2377
+ if !(jsMadeBits2 & (1 << 16) != 0) { return nil }
2378
+ return self._headerTemplateCache
2379
+ case "isItemAtIndexVisible":
2380
+ return FunctionCell_Double_to_Bool.script("isItemAtIndexVisible", 1, self.isItemAtIndexVisible)
2381
+ default: break
2382
+ }
2383
+ case 21:
2384
+ switch key {
2385
+ case "_scrollEdgeContainers":
2386
+ if !(jsMadeBits2 & (1 << 19) != 0) { return nil }
2387
+ return self._scrollEdgeContainers
2388
+ case "scrollToIndexAnimated":
2389
+ return FunctionCell_Double_to_Void.script("scrollToIndexAnimated", 1, self.scrollToIndexAnimated)
2390
+ default: break
2391
+ }
2392
+ case 22:
2393
+ switch key {
2394
+ case "addScrollEdgeContainer":
2395
+ return FunctionCell_ViewOpt_String_to_Void.script(
2396
+ "addScrollEdgeContainer", 2, self.addScrollEdgeContainer)
2397
+ case "_setupSearchController":
2398
+ return FunctionCell_none_to_Void.script("_setupSearchController", 0, self._setupSearchController)
2399
+ case "_setNativeClipToBounds":
2400
+ return FunctionCell_none_to_Void.script("_setNativeClipToBounds", 0, self._setNativeClipToBounds)
2401
+ case "_prepareCellForDisplay":
2402
+ return FunctionCell_ListViewCellOpt_NSIndexPathOpt_to_Void.script(
2403
+ "_prepareCellForDisplay", 2, self._prepareCellForDisplay)
2404
+ case "_removeHeaderContainer":
2405
+ return FunctionCell_ListViewHeaderCellOpt_to_Void.script(
2406
+ "_removeHeaderContainer", 1, self._removeHeaderContainer)
2407
+ default: break
2408
+ }
2409
+ case 24:
2410
+ switch key {
2411
+ case "_cleanupSearchController":
2412
+ return FunctionCell_none_to_Void.script(
2413
+ "_cleanupSearchController", 0, self._cleanupSearchController)
2414
+ default: break
2415
+ }
2416
+ case 25:
2417
+ switch key {
2418
+ case "removeScrollEdgeContainer":
2419
+ return FunctionCell_ViewOpt_to_Void.script(
2420
+ "removeScrollEdgeContainer", 1, self.removeScrollEdgeContainer)
2421
+ default: break
2422
+ }
2423
+ case 26:
2424
+ switch key {
2425
+ case "_applyContentInsetBehavior":
2426
+ return FunctionCell_String_to_Void.script(
2427
+ "_applyContentInsetBehavior", 1, self._applyContentInsetBehavior)
2428
+ default: break
2429
+ }
2430
+ case 27:
2431
+ switch key {
2432
+ case "_onRowHeightPropertyChanged":
2433
+ return FunctionCell_AnyOpt_AnyOpt_to_Void.script(
2434
+ "_onRowHeightPropertyChanged", 2, self._onRowHeightPropertyChanged)
2435
+ default: break
2436
+ }
2437
+ default: break
2438
+ }
2439
+ return super[jsKey: key]
2440
+ }
2441
+ set {
2442
+ switch key.utf8.count {
2443
+ case 4:
2444
+ switch key {
2445
+ case "_map":
2446
+ self._map = (newValue as? JSMap<ListViewCell, View>)
2447
+ return
2448
+ default: break
2449
+ }
2450
+ case 8:
2451
+ switch key {
2452
+ case "_heights":
2453
+ jsStoring {
2454
+ self._heights = try jsArrayOrNil(
2455
+ newValue, as: JSArray<JSArray<Double>>.self,
2456
+ { try jsObjectRequired(jsArrayOrNil($0, { jsLenientNumber($0) })) })
2457
+ }
2458
+ return
2459
+ default: break
2460
+ }
2461
+ case 9:
2462
+ switch key {
2463
+ case "_delegate":
2464
+ self._delegate = newValue
2465
+ return
2466
+ default: break
2467
+ }
2468
+ case 10:
2469
+ switch key {
2470
+ case "_headerMap":
2471
+ self._headerMap = (newValue as? JSMap<ListViewHeaderCell, View>)
2472
+ return
2473
+ default: break
2474
+ }
2475
+ case 11:
2476
+ switch key {
2477
+ case "_dataSource":
2478
+ self._dataSource = newValue
2479
+ return
2480
+ default: break
2481
+ }
2482
+ case 12:
2483
+ switch key {
2484
+ case "_isDataDirty":
2485
+ jsStoring { self._isDataDirty = (try jsConvertedBool(newValue)) }
2486
+ return
2487
+ default: break
2488
+ }
2489
+ case 14:
2490
+ switch key {
2491
+ case "_preparingCell":
2492
+ jsStoring { self._preparingCell = (try jsConvertedBool(newValue)) }
2493
+ return
2494
+ default: break
2495
+ }
2496
+ case 15:
2497
+ switch key {
2498
+ case "_searchDelegate":
2499
+ self._searchDelegate = (newValue as? UISearchResultsUpdatingImpl)
2500
+ return
2501
+ case "_isSearchActive":
2502
+ jsStoring { self._isSearchActive = (try jsConvertedBool(newValue)) }
2503
+ return
2504
+ default: break
2505
+ }
2506
+ case 16:
2507
+ switch key {
2508
+ case "_preparingHeader":
2509
+ jsStoring { self._preparingHeader = (try jsConvertedBool(newValue)) }
2510
+ return
2511
+ case "widthMeasureSpec":
2512
+ jsStoring { self.widthMeasureSpec = (try jsConvertedNumber(newValue)) }
2513
+ return
2514
+ default: break
2515
+ }
2516
+ case 17:
2517
+ switch key {
2518
+ case "_searchController":
2519
+ self._searchController = (newValue as? UISearchController)
2520
+ return
2521
+ default: break
2522
+ }
2523
+ case 20:
2524
+ switch key {
2525
+ case "_headerTemplateCache":
2526
+ jsStoring { self._headerTemplateCache = (try jsCast(newValue, View.self)) }
2527
+ return
2528
+ default: break
2529
+ }
2530
+ case 21:
2531
+ switch key {
2532
+ case "_scrollEdgeContainers":
2533
+ jsStoring { self._scrollEdgeContainers = (try jsCast(newValue, ScrollEdgeContainers.self)) }
2534
+ return
2535
+ default: break
2536
+ }
2537
+ default: break
2538
+ }
2539
+ super[jsKey: key] = newValue
2540
+ }
2541
+ }
2542
+ open override class var jsName: String { "ListView" }
2543
+ }
2544
+
2545
+ public enum Core_ui_list_view_index {
2546
+ public static var ITEMLOADING: String = ""
2547
+ public static var LOADMOREITEMS: String = ""
2548
+ public static var ITEMTAP: String = ""
2549
+ public static let DEFAULT_HEIGHT: Double = 44
2550
+ public static var infinity: Double = .nan
2551
+ public static func notifyForItemAtIndex(
2552
+ _ listView: ListViewBase?, _ cell: Any?, _ view: View?, _ eventName: String, _ indexPath: NSIndexPath?
2553
+ ) throws -> EventData? {
2554
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:120)
2555
+ let args: EventData? =
2556
+ try EventData(
2557
+ jsObject: JSObject([
2558
+ ("eventName", eventName), ("object", listView), ("index", Double(jsUnwrap(indexPath, "row").row)),
2559
+ ("section", Double(jsUnwrap(indexPath, "section").section)), ("view", view), ("ios", cell),
2560
+ ("android", nil),
2561
+ ])) as? EventData
2562
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:129)
2563
+ try jsUnwrap(listView, "notify").notify(args)
2564
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:131)
2565
+ return args
2566
+ }
2567
+ }
2568
+
2569
+ #sourceLocation()
2570
+ public func __init_Core_ui_list_view_index() {
2571
+ jsReport {
2572
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:21)
2573
+ Core_ui_list_view_index.ITEMLOADING = ListViewBase.itemLoadingEvent
2574
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:22)
2575
+ Core_ui_list_view_index.LOADMOREITEMS = ListViewBase.loadMoreItemsEvent
2576
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:23)
2577
+ Core_ui_list_view_index.ITEMTAP = ListViewBase.itemTapEvent
2578
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:26)
2579
+ Core_ui_list_view_index.infinity = NativeScriptKit.layout.makeMeasureSpec(0, NativeScriptKit.layout.UNSPECIFIED)
2580
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:35)
2581
+
2582
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:35)
2583
+
2584
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:84)
2585
+
2586
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:84)
2587
+
2588
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:134)
2589
+
2590
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:192)
2591
+
2592
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:311)
2593
+
2594
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:413)
2595
+
2596
+ #sourceLocation(file:"@nativescript/core/ui.list-view.index.ios.ts",line:450)
2597
+ JSPrototypes.declare(
2598
+ ListView.self, "ios",
2599
+ get: { (__this: Any?) throws -> Any? in
2600
+ guard let __o = __this as? ListView else { throw JSException(JSTypeError("Illegal invocation")) }
2601
+ return __o.ios
2602
+ }, set: nil)
2603
+ JSPrototypes.declare(
2604
+ ListView.self, "_childrenCount",
2605
+ get: { (__this: Any?) throws -> Any? in
2606
+ guard let __o = __this as? ListView else { throw JSException(JSTypeError("Illegal invocation")) }
2607
+ return try __o._childrenCount
2608
+ }, set: nil)
2609
+ }
2610
+ }
2611
+ #sourceLocation()