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

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 +635 -0
  46. package/dist/kotlin/app-modules.js +111 -0
  47. package/dist/kotlin/arguments.js +398 -0
  48. package/dist/kotlin/assignment.js +226 -0
  49. package/dist/kotlin/builtins.js +575 -0
  50. package/dist/kotlin/calls.js +519 -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 +129 -0
  54. package/dist/kotlin/class-declaration.js +337 -0
  55. package/dist/kotlin/class-fields.js +362 -0
  56. package/dist/kotlin/class-methods.js +213 -0
  57. package/dist/kotlin/classes.js +333 -0
  58. package/dist/kotlin/components.js +450 -0
  59. package/dist/kotlin/construction.js +235 -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 +468 -0
  68. package/dist/kotlin/functions.js +479 -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 +185 -0
  77. package/dist/kotlin/mixins.js +103 -0
  78. package/dist/kotlin/modules.js +769 -0
  79. package/dist/kotlin/names.js +273 -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 +449 -0
  93. package/dist/kotlin/optional-chains.js +279 -0
  94. package/dist/kotlin/overrides.js +835 -0
  95. package/dist/kotlin/placement.js +749 -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 +810 -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 +662 -0
  107. package/dist/kotlin/untyped-values.js +356 -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 +1124 -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 +562 -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 +262 -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 +880 -0
  213. package/dist/semantics/top-names.js +59 -0
  214. package/dist/semantics/translator-methods.js +602 -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 +458 -0
  219. package/dist/semantics/worker-state.js +198 -0
  220. package/dist/swift/access.js +754 -0
  221. package/dist/swift/app-modules.js +41 -0
  222. package/dist/swift/arguments.js +237 -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 +144 -0
  231. package/dist/swift/class-declaration.js +308 -0
  232. package/dist/swift/class-fields.js +361 -0
  233. package/dist/swift/class-methods.js +247 -0
  234. package/dist/swift/classes.js +524 -0
  235. package/dist/swift/components.js +386 -0
  236. package/dist/swift/construction.js +291 -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 +575 -0
  244. package/dist/swift/from-any.js +316 -0
  245. package/dist/swift/functions.js +498 -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 +245 -0
  255. package/dist/swift/marks.js +212 -0
  256. package/dist/swift/members.js +253 -0
  257. package/dist/swift/method-values.js +179 -0
  258. package/dist/swift/mixins.js +113 -0
  259. package/dist/swift/modules.js +969 -0
  260. package/dist/swift/names.js +370 -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 +575 -0
  274. package/dist/swift/optional-chains.js +405 -0
  275. package/dist/swift/parameters.js +210 -0
  276. package/dist/swift/placement.js +900 -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 +890 -0
  287. package/dist/swift/type-facts.js +530 -0
  288. package/dist/swift/type-tests.js +211 -0
  289. package/dist/swift/types.js +665 -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 +689 -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 +702 -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 +526 -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 +1263 -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 +699 -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 +325 -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 +30808 -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 +3235 -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 +1047 -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 +78 -0
  1569. package/kit-apple/Sources/NativeScriptKit/Runtime/Array.swift +1693 -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 +474 -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 +372 -0
  1579. package/kit-apple/Sources/NativeScriptKit/Runtime/Inspect.swift +762 -0
  1580. package/kit-apple/Sources/NativeScriptKit/Runtime/Interop.swift +42 -0
  1581. package/kit-apple/Sources/NativeScriptKit/Runtime/Intl.swift +799 -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 +593 -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 +2069 -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,2284 @@
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 UITabBarControllerImpl: UITabBarController, JSNativeMembers {
19
+ nonisolated deinit {}
20
+ public var _owner: JSWeakRef<NativeScriptKit.TabView>?
21
+ public static func initWithOwner(_ owner: JSWeakRef<NativeScriptKit.TabView>?) throws
22
+ -> NativeScriptKit.UITabBarControllerImpl
23
+ {
24
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:27)
25
+ let handler: NativeScriptKit.UITabBarControllerImpl? = UITabBarControllerImpl()
26
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:28)
27
+ try jsUnwrap(handler, setting: "_owner")._owner = owner
28
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:30)
29
+ return try jsObjectRequired(handler)
30
+ }
31
+ #sourceLocation()
32
+ public nonisolated override func viewDidLoad() {
33
+ if jsOffScriptThread() {
34
+ jsLater { self.viewDidLoad() }
35
+ return
36
+ }
37
+ jsOnMainThread {
38
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:34)
39
+ super.viewDidLoad()
40
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:38)
41
+ self.extendedLayoutIncludesOpaqueBars = true
42
+
43
+ }
44
+ }
45
+ #sourceLocation()
46
+ public nonisolated override func viewWillAppear(_ animated: Bool) {
47
+ if jsOffScriptThread() {
48
+ jsLater { self.viewWillAppear(animated) }
49
+ return
50
+ }
51
+ jsOnMainThread(animated) { animated in
52
+ jsReport {
53
+ try { () throws -> Void in
54
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:43)
55
+ super.viewWillAppear(animated)
56
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:44)
57
+ let owner: NativeScriptKit.TabView? = (self._owner as JSWeakRef<NativeScriptKit.TabView>?)?.deref()
58
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:45)
59
+ if !jsTruthy(owner as Any?) {
60
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:46)
61
+ return
62
+ }
63
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:49)
64
+ try IOSHelper.updateAutoAdjustScrollInsets(self, owner)
65
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:51)
66
+ if try !(jsTruthy(jsUnwrap(owner, "parent").parent)) {
67
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:52)
68
+ try jsUnwrap(owner, "callLoaded").callLoaded()
69
+ }
70
+ }()
71
+ }
72
+ }
73
+ }
74
+ #sourceLocation()
75
+ public nonisolated override func viewDidDisappear(_ animated: Bool) {
76
+ if jsOffScriptThread() {
77
+ jsLater { self.viewDidDisappear(animated) }
78
+ return
79
+ }
80
+ jsOnMainThread(animated) { animated in
81
+ jsReport {
82
+ try { () throws -> Void in
83
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:58)
84
+ super.viewDidDisappear(animated)
85
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:59)
86
+ let owner: NativeScriptKit.TabView? = (self._owner as JSWeakRef<NativeScriptKit.TabView>?)?.deref()
87
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:60)
88
+ if try
89
+ ({ () throws -> Bool in
90
+ let __v_1 = owner
91
+ return jsTruthy(__v_1) ? try !(jsTruthy(jsUnwrap(owner, "parent").parent)) : jsTruthy(__v_1)
92
+ }()) && jsUnwrap(owner, "isLoaded").isLoaded && !jsTruthy(self.presentedViewController)
93
+ {
94
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:61)
95
+ try jsUnwrap(owner, "callUnloaded").callUnloaded()
96
+ }
97
+ }()
98
+ }
99
+ }
100
+ }
101
+ #sourceLocation()
102
+ public nonisolated override func viewWillTransition(
103
+ to size: CGSize, with coordinator: any UIViewControllerTransitionCoordinator
104
+ ) {
105
+ if jsOffScriptThread() {
106
+ jsLater { self.viewWillTransition(to: size, with: coordinator) }
107
+ return
108
+ }
109
+ jsOnMainThread(size, coordinator) { size, coordinator in
110
+ jsReport {
111
+ try { () throws -> Void in
112
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:66)
113
+ try super.viewWillTransition(to: size, with: jsObjectRequired(coordinator))
114
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:67)
115
+ _ = try jsUnwrap(coordinator, "animateAlongsideTransitionCompletion").animate(
116
+ alongsideTransition: nil,
117
+ completion: jsEnter { (__b0: any UIViewControllerTransitionCoordinatorContext) -> Void in
118
+ jsReport {
119
+ try
120
+ ({ () throws -> Void in
121
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:68)
122
+ let owner: NativeScriptKit.TabView? =
123
+ (self._owner as JSWeakRef<NativeScriptKit.TabView>?)?.deref()
124
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:69)
125
+ if try (jsTruthy(owner as Any?) && jsTruthy(jsUnwrap(owner, "items").items)) {
126
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:70)
127
+ try jsUnwrap(jsUnwrap(owner, "items").items, "forEach").forEach({
128
+ (tabItem: NativeScriptKit.TabViewItem?) throws -> Void in
129
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:70)
130
+ try jsUnwrap(tabItem, "_updateTitleAndIconPositions")
131
+ ._updateTitleAndIconPositions()
132
+ })
133
+ }
134
+ })()
135
+ }
136
+ })
137
+ }()
138
+ }
139
+ }
140
+ }
141
+ #sourceLocation()
142
+ public nonisolated override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
143
+ if jsOffScriptThread() {
144
+ jsLater { self.traitCollectionDidChange(previousTraitCollection) }
145
+ return
146
+ }
147
+ jsOnMainThread(previousTraitCollection) { previousTraitCollection in
148
+ let previousTraitCollection: UITraitCollection? = previousTraitCollection
149
+ jsReport {
150
+ try { () throws -> Void in
151
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:77)
152
+ super.traitCollectionDidChange(previousTraitCollection)
153
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:79)
154
+ let owner: NativeScriptKit.TabView? = (self._owner as JSWeakRef<NativeScriptKit.TabView>?)?.deref()
155
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:80)
156
+ if jsTruthy(owner as Any?) {
157
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:81)
158
+ if Core_utils_constants.SDK_VERSION >= 13 {
159
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:82)
160
+ if try
161
+ (jsTruthy(
162
+ jsUnwrap(
163
+ self.traitCollection, "hasDifferentColorAppearanceComparedToTraitCollection"
164
+ ).responds(
165
+ to: NSSelectorFromString(
166
+ "hasDifferentColorAppearanceComparedToTraitCollection:")))
167
+ && jsUnwrap(
168
+ self.traitCollection, "hasDifferentColorAppearanceComparedToTraitCollection"
169
+ ).hasDifferentColorAppearance(comparedTo: previousTraitCollection))
170
+ {
171
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:83)
172
+ try jsUnwrap(owner, "notify").notify(
173
+ EventData(
174
+ jsObject: EventData(
175
+ jsObject: JSObject([
176
+ ("eventName", IOSHelper.traitCollectionColorAppearanceChangedEvent),
177
+ ("object", (owner as Any?)),
178
+ ]))))
179
+ }
180
+ }
181
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:90)
182
+ if try jsUnwrap(self.traitCollection, "layoutDirection").layoutDirection
183
+ != jsUnwrap(previousTraitCollection, "layoutDirection").layoutDirection
184
+ {
185
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:91)
186
+ try jsUnwrap(owner, "notify").notify(
187
+ EventData(
188
+ jsObject: EventData(
189
+ jsObject: JSObject([
190
+ ("eventName", IOSHelper.traitCollectionLayoutDirectionChangedEvent),
191
+ ("object", (owner as Any?)),
192
+ ]))))
193
+ }
194
+ }
195
+ }()
196
+ }
197
+ }
198
+ }
199
+ #sourceLocation()
200
+ public func jsMember(_ key: String) -> Any?? {
201
+ switch key {
202
+ case "_owner": return .some(self._owner as Any?)
203
+ default: return nil
204
+ }
205
+ }
206
+ public func jsSetMember(_ key: String, _ newValue: Any?) -> Bool {
207
+ switch key {
208
+ case "_owner":
209
+ self._owner = (newValue as? JSWeakRef<NativeScriptKit.TabView>)
210
+ return true
211
+ default: return false
212
+ }
213
+ }
214
+ }
215
+
216
+ @MainActor public final class UITabBarControllerDelegateImpl: NSObject, UITabBarControllerDelegate, JSNativeMembers {
217
+ nonisolated deinit {}
218
+ public var _owner: JSWeakRef<NativeScriptKit.TabView>?
219
+ public static func initWithOwner(_ owner: JSWeakRef<NativeScriptKit.TabView>?) throws
220
+ -> NativeScriptKit.UITabBarControllerDelegateImpl
221
+ {
222
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:107)
223
+ let delegate: NativeScriptKit.UITabBarControllerDelegateImpl? = UITabBarControllerDelegateImpl()
224
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:108)
225
+ try jsUnwrap(delegate, setting: "_owner")._owner = owner
226
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:110)
227
+ return try jsObjectRequired(delegate)
228
+ }
229
+ #sourceLocation()
230
+ public nonisolated func tabBarController(
231
+ _ tabBarController: UITabBarController, shouldSelect viewController: UIViewController
232
+ ) -> Bool {
233
+ if jsOffScriptThread() {
234
+ return jsAwait { self.tabBarController(tabBarController, shouldSelect: viewController) }
235
+ }
236
+ return jsOnMainThread(tabBarController, viewController) { (tabBarController, viewController) -> Bool in
237
+ let __result: Bool = jsReportedOrZero { () throws -> Bool in
238
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:114)
239
+ if NativeScriptKit.Trace.isEnabled() {
240
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:115)
241
+ try NativeScriptKit.Trace.write(
242
+ "TabView.delegate.SHOULD_select(" + jsToStringDefault(tabBarController) + ", "
243
+ + jsToStringDefault(viewController) + ");", NativeScriptKit.Trace.categories.Debug)
244
+ }
245
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:118)
246
+ return try self._shouldSelect(
247
+ jsObjectRequired(tabBarController),
248
+ jsImplicit(jsUnwrap(tabBarController, "selectedViewController").selectedViewController)
249
+ === viewController)
250
+ }
251
+ return __result
252
+ }
253
+ }
254
+ #sourceLocation()
255
+ public nonisolated func tabBarController(
256
+ _ tabBarController: UITabBarController, didSelect viewController: UIViewController
257
+ ) {
258
+ if jsOffScriptThread() {
259
+ jsLater { self.tabBarController(tabBarController, didSelect: viewController) }
260
+ return
261
+ }
262
+ jsOnMainThread(tabBarController, viewController) { tabBarController, viewController in
263
+ jsReport {
264
+ try { () throws -> Void in
265
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:122)
266
+ if NativeScriptKit.Trace.isEnabled() {
267
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:123)
268
+ try NativeScriptKit.Trace.write(
269
+ "TabView.delegate.DID_select(" + jsToStringDefault(tabBarController) + ", "
270
+ + jsToStringDefault(viewController) + ");", NativeScriptKit.Trace.categories.Debug)
271
+ }
272
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:126)
273
+ try self._didSelect(jsObjectRequired(tabBarController), jsObjectRequired(viewController))
274
+ }()
275
+ }
276
+ }
277
+ }
278
+ #sourceLocation()
279
+ @available(iOS 18.0, *) public nonisolated func tabBarController(
280
+ _ tabBarController: UITabBarController, shouldSelectTab tab: UITab
281
+ ) -> Bool {
282
+ if jsOffScriptThread() { return jsAwait { self.tabBarController(tabBarController, shouldSelectTab: tab) } }
283
+ return jsOnMainThread(tabBarController, tab) { (tabBarController, tab) -> Bool in
284
+ let __result: Bool = jsReportedOrZero { () throws -> Bool in
285
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:131)
286
+ if try jsTruthy(jsUnwrap(tabBarController, "viewControllers").viewControllers) {
287
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:132)
288
+ return true
289
+ }
290
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:135)
291
+ return try self._shouldSelect(
292
+ jsObjectRequired(tabBarController),
293
+ jsImplicit(jsUnwrap(tabBarController, "selectedTab").selectedTab) === tab)
294
+ }
295
+ return __result
296
+ }
297
+ }
298
+ #sourceLocation()
299
+ @available(iOS 18.0, *) public nonisolated func tabBarController(
300
+ _ tabBarController: UITabBarController, didSelectTab selectedTab: UITab, previousTab: UITab?
301
+ ) {
302
+ if jsOffScriptThread() {
303
+ jsLater { self.tabBarController(tabBarController, didSelectTab: selectedTab, previousTab: previousTab) }
304
+ return
305
+ }
306
+ jsOnMainThread(tabBarController, selectedTab, previousTab) { tabBarController, selectedTab, previousTab in
307
+ jsReport {
308
+ try { () throws -> Void in
309
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:139)
310
+ if try jsTruthy(jsUnwrap(tabBarController, "viewControllers").viewControllers) {
311
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:140)
312
+ return
313
+ }
314
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:143)
315
+ try self._didSelect(
316
+ jsObjectRequired(tabBarController),
317
+ jsObjectRequired(jsUnwrap(selectedTab, "viewController").viewController))
318
+ }()
319
+ }
320
+ }
321
+ }
322
+ #sourceLocation()
323
+ public func _shouldSelect(_ tabBarController: UITabBarController?, _ isAlreadySelected: Bool) throws -> Bool {
324
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:147)
325
+ let owner: NativeScriptKit.TabView? = (self._owner as JSWeakRef<NativeScriptKit.TabView>?)?.deref()
326
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:148)
327
+ if jsTruthy(owner as Any?) {
328
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:150)
329
+ try jsUnwrap(owner, "_handleTwoNavigationBars")._handleTwoNavigationBars(false)
330
+ }
331
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:153)
332
+ return !isAlreadySelected
333
+ }
334
+ #sourceLocation()
335
+ public func _didSelect(_ tabBarController: UITabBarController?, _ viewController: UIViewController?) throws {
336
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:157)
337
+ let owner: NativeScriptKit.TabView? = (self._owner as JSWeakRef<NativeScriptKit.TabView>?)?.deref()
338
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:158)
339
+ if jsTruthy(owner as Any?) {
340
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:163)
341
+ let moreNav: UINavigationController? = try jsUnwrap(tabBarController, "moreNavigationController")
342
+ .moreNavigationController
343
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:164)
344
+ if try
345
+ ((jsTruthy(moreNav)
346
+ && jsTruthy(jsUnwrap(owner, "moreNavigationControllerDelegate").moreNavigationControllerDelegate))
347
+ && !jsStrictEquals(
348
+ jsImplicit(jsUnwrap(moreNav, "delegate").delegate),
349
+ jsUnwrap(owner, "moreNavigationControllerDelegate").moreNavigationControllerDelegate))
350
+ {
351
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:165)
352
+ try jsUnwrap(moreNav, setting: "delegate").delegate = jsObjectRequired(
353
+ jsUnwrap(owner, "moreNavigationControllerDelegate").moreNavigationControllerDelegate)
354
+ }
355
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:167)
356
+ try jsUnwrap(owner, "_onViewControllerShown")._onViewControllerShown(tabBarController, viewController)
357
+ }
358
+ }
359
+ #sourceLocation()
360
+ public func jsMember(_ key: String) -> Any?? {
361
+ switch key {
362
+ case "_owner": return .some(self._owner as Any?)
363
+ default: return nil
364
+ }
365
+ }
366
+ public func jsSetMember(_ key: String, _ newValue: Any?) -> Bool {
367
+ switch key {
368
+ case "_owner":
369
+ self._owner = (newValue as? JSWeakRef<NativeScriptKit.TabView>)
370
+ return true
371
+ default: return false
372
+ }
373
+ }
374
+ }
375
+
376
+ @MainActor
377
+ public final class UINavigationControllerDelegateImpl__index_ios: NSObject, UINavigationControllerDelegate,
378
+ JSNativeMembers
379
+ {
380
+ nonisolated deinit {}
381
+ public var _owner: JSWeakRef<NativeScriptKit.TabView>?
382
+ public static func initWithOwner(_ owner: JSWeakRef<NativeScriptKit.TabView>?) throws
383
+ -> UINavigationControllerDelegateImpl__index_ios
384
+ {
385
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:179)
386
+ let delegate: UINavigationControllerDelegateImpl__index_ios? = UINavigationControllerDelegateImpl__index_ios()
387
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:180)
388
+ try jsUnwrap(delegate, setting: "_owner")._owner = owner
389
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:182)
390
+ return try jsObjectRequired(delegate)
391
+ }
392
+ #sourceLocation()
393
+ public nonisolated func navigationController(
394
+ _ navigationController: UINavigationController, willShow viewController: UIViewController, animated: Bool
395
+ ) {
396
+ if jsOffScriptThread() {
397
+ jsLater { self.navigationController(navigationController, willShow: viewController, animated: animated) }
398
+ return
399
+ }
400
+ jsOnMainThread(navigationController, viewController, animated) {
401
+ navigationController, viewController, animated in
402
+ jsReport {
403
+ try { () throws -> Void in
404
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:186)
405
+ if NativeScriptKit.Trace.isEnabled() {
406
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:187)
407
+ try NativeScriptKit.Trace.write(
408
+ "TabView.moreNavigationController.WILL_show(" + jsToStringDefault(navigationController)
409
+ + ", " + jsToStringDefault(viewController) + ", " + js(animated) + ");",
410
+ NativeScriptKit.Trace.categories.Debug)
411
+ }
412
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:190)
413
+ let owner: NativeScriptKit.TabView? = (self._owner as JSWeakRef<NativeScriptKit.TabView>?)?.deref()
414
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:191)
415
+ if jsTruthy(owner as Any?) {
416
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:194)
417
+ let backToMoreWillBeVisible: Bool =
418
+ try jsUnwrap(owner, "_indexOfViewController")._indexOfViewController(
419
+ jsImplicit(jsUnwrap(navigationController, "tabBarController").tabBarController),
420
+ viewController) > -1
421
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:195)
422
+ try jsUnwrap(owner, "_handleTwoNavigationBars")._handleTwoNavigationBars(
423
+ backToMoreWillBeVisible)
424
+ }
425
+ }()
426
+ }
427
+ }
428
+ }
429
+ #sourceLocation()
430
+ public nonisolated func navigationController(
431
+ _ navigationController: UINavigationController, didShow viewController: UIViewController, animated: Bool
432
+ ) {
433
+ if jsOffScriptThread() {
434
+ jsLater { self.navigationController(navigationController, didShow: viewController, animated: animated) }
435
+ return
436
+ }
437
+ jsOnMainThread(navigationController, viewController, animated) {
438
+ navigationController, viewController, animated in
439
+ jsReport {
440
+ try { () throws -> Void in
441
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:200)
442
+ if NativeScriptKit.Trace.isEnabled() {
443
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:201)
444
+ try NativeScriptKit.Trace.write(
445
+ "TabView.moreNavigationController.DID_show(" + jsToStringDefault(navigationController)
446
+ + ", " + jsToStringDefault(viewController) + ", " + js(animated) + ");",
447
+ NativeScriptKit.Trace.categories.Debug)
448
+ }
449
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:204)
450
+ try jsUnwrap(
451
+ jsUnwrap(jsUnwrap(navigationController, "navigationBar").navigationBar, "topItem").topItem,
452
+ setting: "rightBarButtonItem"
453
+ ).rightBarButtonItem = nil
454
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:205)
455
+ let owner: NativeScriptKit.TabView? = (self._owner as JSWeakRef<NativeScriptKit.TabView>?)?.deref()
456
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:206)
457
+ if jsTruthy(owner as Any?) {
458
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:207)
459
+ try jsUnwrap(owner, "_onViewControllerShown")._onViewControllerShown(
460
+ jsImplicit(jsUnwrap(navigationController, "tabBarController").tabBarController),
461
+ viewController)
462
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:211)
463
+ (viewController as UIViewController?)?.view?.setNeedsLayout()
464
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:212)
465
+ (viewController as UIViewController?)?.view?.layoutIfNeeded()
466
+ }
467
+ }()
468
+ }
469
+ }
470
+ }
471
+ #sourceLocation()
472
+ public func jsMember(_ key: String) -> Any?? {
473
+ switch key {
474
+ case "_owner": return .some(self._owner as Any?)
475
+ default: return nil
476
+ }
477
+ }
478
+ public func jsSetMember(_ key: String, _ newValue: Any?) -> Bool {
479
+ switch key {
480
+ case "_owner":
481
+ self._owner = (newValue as? JSWeakRef<NativeScriptKit.TabView>)
482
+ return true
483
+ default: return false
484
+ }
485
+ }
486
+ }
487
+
488
+ open class TabViewItem: TabViewItemBase {
489
+ nonisolated deinit {}
490
+ open var __controller: UIViewController? {
491
+ didSet { if jsMadeBits1 & (1 << 13) == 0 { jsMadeNote(&jsMadeBits1, &jsMade, 1 << 13, "__controller") } }
492
+ }
493
+ public override init() throws {
494
+ try super.init()
495
+ }
496
+ open func symbol_setNative_textTransform(_ value: String) throws {
497
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:335)
498
+ try self._update()
499
+ }
500
+ #sourceLocation()
501
+ open override func jsSymbolMethod(_ key: String) -> JSMethod? {
502
+ if key == ((Core_ui_text_base_text_base_common.textTransformProperty?.setNative)?.key ?? "undefined") {
503
+ return { __this, __a in
504
+ try (jsCastPresent(__this) as TabViewItem).symbol_setNative_textTransform("")
505
+ return nil
506
+ }
507
+ }
508
+ return super.jsSymbolMethod(key)
509
+ }
510
+ open override class var jsSymbolPlain: Bool { false }
511
+ open func setViewController(_ controller: UIViewController?, _ nativeView: UIView?) throws {
512
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:262)
513
+ self.__controller = controller
514
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:263)
515
+ try self.setNativeView(nativeView)
516
+ }
517
+ #sourceLocation()
518
+ open override func disposeNativeView() throws {
519
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:267)
520
+ self.__controller = nil
521
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:268)
522
+ self.canBeLoaded = false
523
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:269)
524
+ try self.setNativeView(nil)
525
+ }
526
+ #sourceLocation()
527
+ open override func loadView(_ view: ViewBase?) throws {
528
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:273)
529
+ let tabView: TabViewBase? = self.parent as? TabViewBase
530
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:274)
531
+ if try (jsTruthy(tabView) && jsTruthy(jsUnwrap(tabView, "items").items)) {
532
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:275)
533
+ let index: Double = try jsUnwrap(jsUnwrap(tabView, "items").items, "indexOf").indexOf(self)
534
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:277)
535
+ if try jsLenientNumberEquals(index, jsUnwrap(tabView, "selectedIndex").selectedIndex) {
536
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:278)
537
+ try super.loadView(view)
538
+ }
539
+ }
540
+ }
541
+ #sourceLocation()
542
+ open override func _update() throws {
543
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:284)
544
+ let parent: TabView? = self.parent as? TabView
545
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:285)
546
+ let controller: UIViewController? = self.__controller
547
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:286)
548
+ if jsTruthy(parent) && jsTruthy(controller) {
549
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:287)
550
+ let icon: UIImage? = try jsUnwrap(parent, "_getIcon")._getIcon(self)
551
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:288)
552
+ let index: Double = try jsUnwrap(jsUnwrap(parent, "items").items, "indexOf").indexOf(self)
553
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:289)
554
+ let title: String = try Core_ui_text_base_index.getTransformedText(
555
+ self.title, jsUnwrap(self.style, "textTransform").textTransform)
556
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:291)
557
+ if #available(iOS 18, *) {
558
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:295)
559
+ let identifier: String = "\(js(index))"
560
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:296)
561
+ let tabController: UITabBarController? =
562
+ try (jsUnwrap(parent, "viewController").viewController as? UITabBarControllerImpl)
563
+ as UITabBarController?
564
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:297)
565
+ do {
566
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:298)
567
+ let tab: UITab? = try jsUnwrap(tabController, "tabForIdentifier").tab(forIdentifier: identifier)
568
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:299)
569
+ if jsTruthy(tab) {
570
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:300)
571
+ try jsUnwrap(tab, setting: "title").title = title
572
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:301)
573
+ try jsUnwrap(tab, setting: "image").image = icon
574
+ }
575
+ } catch {
576
+
577
+ }
578
+ } else {
579
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:309)
580
+ let tabBarItem: UITabBarItem? = UITabBarItem(
581
+ title: title, image: icon, tag: jsNativeInteger(index, Int.self))
582
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:310)
583
+ try Core_ui_tab_view_index.updateTitleAndIconPositions(self, tabBarItem, controller)
584
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:313)
585
+ if Core_utils_constants.SDK_VERSION < 15 {
586
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:316)
587
+ let states: Any? = try Core_ui_tab_view_index.getTitleAttributesForStates(parent)
588
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:317)
589
+ try Core_ui_tab_view_index.applyStatesToItem(tabBarItem, states)
590
+ }
591
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:319)
592
+ try jsUnwrap(controller, setting: "tabBarItem").tabBarItem = tabBarItem
593
+ }
594
+ }
595
+ }
596
+ #sourceLocation()
597
+ open func _updateTitleAndIconPositions() throws {
598
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:328)
599
+ if try Core_utils_constants.SDK_VERSION >= 18 || !jsTruthy(self.__controller)
600
+ || !(jsTruthy(jsUnwrap(self.__controller, "tabBarItem").tabBarItem))
601
+ {
602
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:329)
603
+ return
604
+ }
605
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:331)
606
+ try Core_ui_tab_view_index.updateTitleAndIconPositions(
607
+ self, jsImplicit(jsUnwrap(self.__controller, "tabBarItem").tabBarItem), self.__controller)
608
+ }
609
+ #sourceLocation()
610
+ open override class func jsConstruct(_ __a: [Any?]) throws -> Any? { try TabViewItem() }
611
+ open override var jsDeclaredKeys: [String] {
612
+ super.jsDeclaredKeys + (jsMadeBits1 & (1 << 13) != 0 ? ["__controller"] : [])
613
+ }
614
+ open override var jsClassName: String? { "TabViewItem" }
615
+ open override subscript(jsKey key: String) -> Any? {
616
+ get {
617
+ switch key.utf8.count {
618
+ case 7:
619
+ switch key {
620
+ case "_update": return FunctionCell_none_to_Void.script("_update", 0, self._update)
621
+ default: break
622
+ }
623
+ case 8:
624
+ switch key {
625
+ case "loadView": return FunctionCell_ViewBaseOpt_to_Void.script("loadView", 1, self.loadView)
626
+ default: break
627
+ }
628
+ case 12:
629
+ switch key {
630
+ case "__controller":
631
+ if !(jsMadeBits1 & (1 << 13) != 0) { return nil }
632
+ return self.__controller
633
+ default: break
634
+ }
635
+ case 17:
636
+ switch key {
637
+ case "setViewController":
638
+ return FunctionCell_UIViewControllerOpt_UIViewOpt_to_Void.script(
639
+ "setViewController", 2, self.setViewController)
640
+ case "disposeNativeView":
641
+ return FunctionCell_none_to_Void.script("disposeNativeView", 0, self.disposeNativeView)
642
+ default: break
643
+ }
644
+ case 28:
645
+ switch key {
646
+ case "_updateTitleAndIconPositions":
647
+ return FunctionCell_none_to_Void.script(
648
+ "_updateTitleAndIconPositions", 0, self._updateTitleAndIconPositions)
649
+ default: break
650
+ }
651
+ default: break
652
+ }
653
+ return super[jsKey: key]
654
+ }
655
+ set {
656
+ switch key.utf8.count {
657
+ case 12:
658
+ switch key {
659
+ case "__controller":
660
+ self.__controller = (newValue as? UIViewController)
661
+ return
662
+ default: break
663
+ }
664
+ default: break
665
+ }
666
+ super[jsKey: key] = newValue
667
+ }
668
+ }
669
+ open override class var jsName: String { "TabViewItem" }
670
+ }
671
+
672
+ open class TabView: TabViewBase {
673
+ nonisolated deinit {}
674
+ open var moreNavigationControllerDelegate: UINavigationControllerDelegateImpl__index_ios? {
675
+ didSet {
676
+ if jsMadeBits2 & (1 << 3) == 0 {
677
+ jsMadeNote(&jsMadeBits2, &jsMade, 1 << 3, "moreNavigationControllerDelegate")
678
+ }
679
+ }
680
+ }
681
+ open var _delegate: UITabBarControllerDelegateImpl? {
682
+ didSet { if jsMadeBits2 & (1 << 4) == 0 { jsMadeNote(&jsMadeBits2, &jsMade, 1 << 4, "_delegate") } }
683
+ }
684
+ open var _iconsCache: JSObject? = JSObject([])
685
+ open var _bottomAccessoryNsView: View? {
686
+ didSet {
687
+ if jsMadeBits2 & (1 << 5) == 0 { jsMadeNote(&jsMadeBits2, &jsMade, 1 << 5, "_bottomAccessoryNsView") }
688
+ }
689
+ }
690
+ open var _ios: UITabBarControllerImpl? {
691
+ didSet { if jsMadeBits2 & (1 << 6) == 0 { jsMadeNote(&jsMadeBits2, &jsMade, 1 << 6, "_ios") } }
692
+ }
693
+ open var _actionBarHiddenByTabView: Bool = false {
694
+ didSet {
695
+ if jsMadeBits2 & (1 << 7) == 0 { jsMadeNote(&jsMadeBits2, &jsMade, 1 << 7, "_actionBarHiddenByTabView") }
696
+ }
697
+ }
698
+ public override init() throws {
699
+ try super.init()
700
+ jsMadeLevel(&jsMade, ["_iconsCache"])
701
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:351)
702
+ do {
703
+ let __assigned1: UITabBarControllerImpl = try UITabBarControllerImpl.initWithOwner(JSWeakRef<TabView>(self))
704
+ self._ios = __assigned1
705
+ self.viewController = __assigned1
706
+ }
707
+ if jsMadeBits2 & (1 << 1) == 0 { jsMadeNote(&jsMadeBits2, &jsMade, 1 << 1, "viewController") }
708
+ if jsMadeBits2 & (1 << 6) == 0 { jsMadeNote(&jsMadeBits2, &jsMade, 1 << 6, "_ios") }
709
+ }
710
+ #sourceLocation()
711
+ open override var ios: Any? {
712
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:411)
713
+ return self._ios
714
+ }
715
+ #sourceLocation()
716
+ open func symbol_setNative_selectedIndex(_ value: Double) throws {
717
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:761)
718
+ if NativeScriptKit.Trace.isEnabled() {
719
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:762)
720
+ try NativeScriptKit.Trace.write(
721
+ "TabView._onSelectedIndexPropertyChangedSetNativeValue(" + js(value) + ")",
722
+ NativeScriptKit.Trace.categories.Debug)
723
+ }
724
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:765)
725
+ if value > -1 {
726
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:766)
727
+ try jsUnwrap(self._ios, setting: "selectedIndex").selectedIndex = jsNativeInteger(value, Int.self)
728
+ }
729
+ }
730
+ #sourceLocation()
731
+ open func symbol_getDefault_items() -> JSArray<TabViewItem>? {
732
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:771)
733
+ return JSArray<TabViewItem>()
734
+ }
735
+ #sourceLocation()
736
+ open func symbol_setNative_items(_ value: JSArray<TabViewItem>?) throws {
737
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:774)
738
+ try self.setViewControllers(value)
739
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:775)
740
+ try jsCallable(
741
+ jsUnwrap(Core_ui_tab_view_tab_view_common.selectedIndexProperty, "coerce").coerce,
742
+ "selectedIndexProperty.coerce")(self)
743
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:778)
744
+ let selectedItem: TabViewItem? = (value?.element(self.selectedIndex) ?? nil)
745
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:779)
746
+ if jsTruthy(selectedItem as Any?) {
747
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:780)
748
+ try jsUnwrap(selectedItem, "loadView").loadView(jsUnwrap(selectedItem, "view").view)
749
+ }
750
+ }
751
+ #sourceLocation()
752
+ open func symbol_getDefault_tabTextFontSize() -> Double? {
753
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:785)
754
+ return nil
755
+ }
756
+ #sourceLocation()
757
+ open func symbol_setNative_tabTextFontSize(_ value: Any?) throws {
758
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:788)
759
+ try self._updateIOSTabBarColorsAndFonts()
760
+ }
761
+ #sourceLocation()
762
+ open func symbol_getDefault_tabTextColor() -> UIColor? {
763
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:792)
764
+ return nil
765
+ }
766
+ #sourceLocation()
767
+ open func symbol_setNative_tabTextColor(_ value: Any?) throws {
768
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:795)
769
+ try self._updateIOSTabBarColorsAndFonts()
770
+ }
771
+ #sourceLocation()
772
+ open func symbol_getDefault_tabBackgroundColor() throws -> UIColor? {
773
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:799)
774
+ return try jsImplicit(jsUnwrap(jsUnwrap(self._ios, "tabBar").tabBar, "barTintColor").barTintColor)
775
+ }
776
+ #sourceLocation()
777
+ open func symbol_setNative_tabBackgroundColor(_ value: Any?) throws {
778
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:802)
779
+ if Core_utils_constants.SDK_VERSION >= 13 {
780
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:803)
781
+ let appearance: UITabBarAppearance? = try self._getAppearance(jsUnwrap(self._ios, "tabBar").tabBar)
782
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:804)
783
+ try jsUnwrap(appearance, "configureWithDefaultBackground").configureWithDefaultBackground()
784
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:805)
785
+ try jsUnwrap(appearance, setting: "backgroundColor").backgroundColor =
786
+ ((value is Color) ? (jsUnwrap(value as? Color, "ios").ios as? UIColor) : (value as? UIColor))
787
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:806)
788
+ try self._updateAppearance(jsUnwrap(self._ios, "tabBar").tabBar, appearance)
789
+ } else {
790
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:808)
791
+ try jsUnwrap(jsUnwrap(self._ios, "tabBar").tabBar, setting: "barTintColor").barTintColor =
792
+ ((value is Color) ? (jsUnwrap(value as? Color, "ios").ios as? UIColor) : (value as? UIColor))
793
+ }
794
+ }
795
+ #sourceLocation()
796
+ open func symbol_getDefault_selectedTabTextColor() throws -> UIColor? {
797
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:813)
798
+ return try jsImplicit(jsUnwrap(jsUnwrap(self._ios, "tabBar").tabBar, "tintColor").tintColor)
799
+ }
800
+ #sourceLocation()
801
+ open func symbol_setNative_selectedTabTextColor(_ value: Any?) throws {
802
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:816)
803
+ try jsUnwrap(jsUnwrap(self._ios, "tabBar").tabBar, setting: "tintColor").tintColor =
804
+ ((value is Color) ? (jsGet(value, "ios") as? UIColor) : (value as? UIColor))
805
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:817)
806
+ try self._updateIOSTabBarColorsAndFonts()
807
+ }
808
+ #sourceLocation()
809
+ open func symbol_getDefault_fontInternal() -> Font__font_ios? {
810
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:822)
811
+ return nil
812
+ }
813
+ #sourceLocation()
814
+ open func symbol_setNative_fontInternal(_ value: Font__font_ios?) throws {
815
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:825)
816
+ try self._updateIOSTabBarColorsAndFonts()
817
+ }
818
+ #sourceLocation()
819
+ open func symbol_getDefault_iosIconRenderingMode() -> String {
820
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:830)
821
+ return "automatic"
822
+ }
823
+ #sourceLocation()
824
+ open func symbol_setNative_iosIconRenderingMode(_ value: String) throws {
825
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:833)
826
+ self._iconsCache = JSObject([])
827
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:834)
828
+ let items: JSArray<TabViewItem>? = self.items
829
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:835)
830
+ if try (jsTruthy(items) && jsTruthy(jsUnwrap(items, "length").length)) {
831
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:836)
832
+ var i: Double = 0
833
+ let length: Double = try jsUnwrap(items, "length").length
834
+ while i < length {
835
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:837)
836
+ let item: TabViewItem? = try jsUnwrap(items, "i").element(i)
837
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:838)
838
+ if try jsTruthy(jsUnwrap(item, "iconSource").iconSource) {
839
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:839)
840
+ try jsUnwrap(item, "_update")._update()
841
+ }
842
+ i += 1
843
+ }
844
+ }
845
+ }
846
+ #sourceLocation()
847
+ open func symbol_getDefault_iosBottomAccessory() -> View? {
848
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:847)
849
+ return nil
850
+ }
851
+ #sourceLocation()
852
+ open func symbol_setNative_iosBottomAccessory(_ value: View?) throws {
853
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:850)
854
+ try self._applyBottomAccessory(value, false)
855
+ }
856
+ #sourceLocation()
857
+ open func symbol_getDefault_iosTabBarMinimizeBehavior() -> String {
858
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:855)
859
+ return "automatic"
860
+ }
861
+ #sourceLocation()
862
+ open func symbol_setNative_iosTabBarMinimizeBehavior(_ value: String) throws {
863
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:858)
864
+ guard #available(iOS 26, *) else {
865
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:859)
866
+ return
867
+ }
868
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:861)
869
+ var mapped: UITabBarController.MinimizeBehavior!
870
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:862)
871
+ switch value {
872
+ case "never":
873
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:864)
874
+ mapped = UITabBarController.MinimizeBehavior.never
875
+ case "onScrollDown":
876
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:867)
877
+ mapped = UITabBarController.MinimizeBehavior.onScrollDown
878
+ case "onScrollUp":
879
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:870)
880
+ mapped = UITabBarController.MinimizeBehavior.onScrollUp
881
+ default:
882
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:874)
883
+ mapped = UITabBarController.MinimizeBehavior.automatic
884
+ }
885
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:876)
886
+ try jsUnwrap(self._ios, setting: "tabBarMinimizeBehavior").tabBarMinimizeBehavior = mapped
887
+ }
888
+ #sourceLocation()
889
+ open override func jsSymbolMethod(_ key: String) -> JSMethod? {
890
+ if key == ((Core_ui_tab_view_tab_view_common.selectedIndexProperty?.setNative)?.key ?? "undefined") {
891
+ return { __this, __a in
892
+ try (jsCastPresent(__this) as TabView).symbol_setNative_selectedIndex(
893
+ (try jsConvertedNumber(jsArg(__a, 0))))
894
+ return nil
895
+ }
896
+ }
897
+ if key == ((Core_ui_tab_view_tab_view_common.itemsProperty?.getDefault)?.key ?? "undefined") {
898
+ return { __this, __a in return try (jsCastPresent(__this) as TabView).symbol_getDefault_items() }
899
+ }
900
+ if key == ((Core_ui_tab_view_tab_view_common.itemsProperty?.setNative)?.key ?? "undefined") {
901
+ return { __this, __a in
902
+ try (jsCastPresent(__this) as TabView).symbol_setNative_items(
903
+ try jsArrayOrNil(
904
+ jsArg(__a, 0), as: JSArray<TabViewItem>.self, { try (jsCastPresent($0) as TabViewItem) }))
905
+ return nil
906
+ }
907
+ }
908
+ if key == ((Core_ui_tab_view_tab_view_common.tabTextFontSizeProperty?.getDefault)?.key ?? "undefined") {
909
+ return { __this, __a in return try (jsCastPresent(__this) as TabView).symbol_getDefault_tabTextFontSize() }
910
+ }
911
+ if key == ((Core_ui_tab_view_tab_view_common.tabTextFontSizeProperty?.setNative)?.key ?? "undefined") {
912
+ return { __this, __a in
913
+ try (jsCastPresent(__this) as TabView).symbol_setNative_tabTextFontSize(nil)
914
+ return nil
915
+ }
916
+ }
917
+ if key == ((Core_ui_tab_view_tab_view_common.tabTextColorProperty?.getDefault)?.key ?? "undefined") {
918
+ return { __this, __a in return try (jsCastPresent(__this) as TabView).symbol_getDefault_tabTextColor() }
919
+ }
920
+ if key == ((Core_ui_tab_view_tab_view_common.tabTextColorProperty?.setNative)?.key ?? "undefined") {
921
+ return { __this, __a in
922
+ try (jsCastPresent(__this) as TabView).symbol_setNative_tabTextColor(nil)
923
+ return nil
924
+ }
925
+ }
926
+ if key == ((Core_ui_tab_view_tab_view_common.tabBackgroundColorProperty?.getDefault)?.key ?? "undefined") {
927
+ return { __this, __a in return try (jsCastPresent(__this) as TabView).symbol_getDefault_tabBackgroundColor()
928
+ }
929
+ }
930
+ if key == ((Core_ui_tab_view_tab_view_common.tabBackgroundColorProperty?.setNative)?.key ?? "undefined") {
931
+ return { __this, __a in
932
+ try (jsCastPresent(__this) as TabView).symbol_setNative_tabBackgroundColor(jsArg(__a, 0))
933
+ return nil
934
+ }
935
+ }
936
+ if key == ((Core_ui_tab_view_tab_view_common.selectedTabTextColorProperty?.getDefault)?.key ?? "undefined") {
937
+ return { __this, __a in
938
+ return try (jsCastPresent(__this) as TabView).symbol_getDefault_selectedTabTextColor()
939
+ }
940
+ }
941
+ if key == ((Core_ui_tab_view_tab_view_common.selectedTabTextColorProperty?.setNative)?.key ?? "undefined") {
942
+ return { __this, __a in
943
+ try (jsCastPresent(__this) as TabView).symbol_setNative_selectedTabTextColor(jsArg(__a, 0))
944
+ return nil
945
+ }
946
+ }
947
+ if key == ((Core_ui_styling_style_properties.fontInternalProperty?.getDefault)?.key ?? "undefined") {
948
+ return { __this, __a in return try (jsCastPresent(__this) as TabView).symbol_getDefault_fontInternal() }
949
+ }
950
+ if key == ((Core_ui_styling_style_properties.fontInternalProperty?.setNative)?.key ?? "undefined") {
951
+ return { __this, __a in
952
+ try (jsCastPresent(__this) as TabView).symbol_setNative_fontInternal(nil)
953
+ return nil
954
+ }
955
+ }
956
+ if key == ((Core_ui_tab_view_tab_view_common.iosIconRenderingModeProperty?.getDefault)?.key ?? "undefined") {
957
+ return { __this, __a in
958
+ return try (jsCastPresent(__this) as TabView).symbol_getDefault_iosIconRenderingMode()
959
+ }
960
+ }
961
+ if key == ((Core_ui_tab_view_tab_view_common.iosIconRenderingModeProperty?.setNative)?.key ?? "undefined") {
962
+ return { __this, __a in
963
+ try (jsCastPresent(__this) as TabView).symbol_setNative_iosIconRenderingMode("")
964
+ return nil
965
+ }
966
+ }
967
+ if key == ((Core_ui_tab_view_tab_view_common.iosBottomAccessoryProperty?.getDefault)?.key ?? "undefined") {
968
+ return { __this, __a in return try (jsCastPresent(__this) as TabView).symbol_getDefault_iosBottomAccessory()
969
+ }
970
+ }
971
+ if key == ((Core_ui_tab_view_tab_view_common.iosBottomAccessoryProperty?.setNative)?.key ?? "undefined") {
972
+ return { __this, __a in
973
+ try (jsCastPresent(__this) as TabView).symbol_setNative_iosBottomAccessory(
974
+ (try jsCast(jsArg(__a, 0), View.self)))
975
+ return nil
976
+ }
977
+ }
978
+ if key == ((Core_ui_tab_view_tab_view_common.iosTabBarMinimizeBehaviorProperty?.getDefault)?.key ?? "undefined")
979
+ {
980
+ return { __this, __a in
981
+ return try (jsCastPresent(__this) as TabView).symbol_getDefault_iosTabBarMinimizeBehavior()
982
+ }
983
+ }
984
+ if key == ((Core_ui_tab_view_tab_view_common.iosTabBarMinimizeBehaviorProperty?.setNative)?.key ?? "undefined")
985
+ {
986
+ return { __this, __a in
987
+ try (jsCastPresent(__this) as TabView).symbol_setNative_iosTabBarMinimizeBehavior(
988
+ (try jsConvertedString(jsArg(__a, 0))))
989
+ return nil
990
+ }
991
+ }
992
+ return super.jsSymbolMethod(key)
993
+ }
994
+ open override class var jsSymbolPlain: Bool { false }
995
+ open override func createNativeView() throws -> Any? {
996
+ let __result: UIView? = try { () throws -> UIView? in
997
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:356)
998
+ if !jsTruthy(self._ios) {
999
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:357)
1000
+ do {
1001
+ let __assigned2: UITabBarControllerImpl = try UITabBarControllerImpl.initWithOwner(
1002
+ JSWeakRef<TabView>(self))
1003
+ self._ios = __assigned2
1004
+ self.viewController = __assigned2
1005
+ }
1006
+ }
1007
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:359)
1008
+ return try jsImplicit(jsUnwrap(self._ios, "view").view)
1009
+ }()
1010
+ return __result
1011
+ }
1012
+ #sourceLocation()
1013
+ open override func initNativeView() throws {
1014
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:363)
1015
+ try super.initNativeView()
1016
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:364)
1017
+ self._delegate = try UITabBarControllerDelegateImpl.initWithOwner(JSWeakRef<TabView>(self))
1018
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:365)
1019
+ self.moreNavigationControllerDelegate = try UINavigationControllerDelegateImpl__index_ios.initWithOwner(
1020
+ JSWeakRef<TabView>(self))
1021
+ }
1022
+ #sourceLocation()
1023
+ open override func disposeNativeView() throws {
1024
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:369)
1025
+ self._delegate = nil
1026
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:370)
1027
+ self.moreNavigationControllerDelegate = nil
1028
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:371)
1029
+ self.viewController = jsNull
1030
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:372)
1031
+ self._ios = nil
1032
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:373)
1033
+ try super.disposeNativeView()
1034
+ }
1035
+ #sourceLocation()
1036
+ open override func onLoaded() throws {
1037
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:378)
1038
+ try super.onLoaded()
1039
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:380)
1040
+ let selectedIndex: Double = self.selectedIndex
1041
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:381)
1042
+ let selectedView: View? = try
1043
+ ({ () throws -> View? in
1044
+ let __v_2 = try jsImplicit(
1045
+ ({ () throws -> TabViewItem? in
1046
+ let __v_3 = self.items
1047
+ return jsTruthy(__v_3)
1048
+ ? try jsImplicit(jsUnwrap(self.items, "selectedIndex").element(selectedIndex)) : nil
1049
+ }()))
1050
+ return jsTruthy(__v_2)
1051
+ ? try jsUnwrap(jsUnwrap(self.items, "selectedIndex").element(selectedIndex), "view").view : nil
1052
+ }())
1053
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:382)
1054
+ if selectedView is Frame {
1055
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:383)
1056
+ try jsUnwrap(selectedView as? Frame, "_pushInFrameStackRecursive")._pushInFrameStackRecursive()
1057
+ }
1058
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:386)
1059
+ if jsTruthy(self._ios) {
1060
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:387)
1061
+ try jsUnwrap(self._ios, setting: "delegate").delegate = jsObjectRequired(self._delegate)
1062
+ }
1063
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:391)
1064
+ if jsTruthy(self.iosBottomAccessory) {
1065
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:392)
1066
+ try self._applyBottomAccessory(self.iosBottomAccessory, false)
1067
+ }
1068
+ }
1069
+ #sourceLocation()
1070
+ open override func onUnloaded() throws {
1071
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:397)
1072
+ if jsTruthy(self._ios) {
1073
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:398)
1074
+ try jsUnwrap(self._ios, setting: "delegate").delegate = nil
1075
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:400)
1076
+ if try jsTruthy(jsUnwrap(self._ios, "moreNavigationController").moreNavigationController) {
1077
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:401)
1078
+ try jsUnwrap(
1079
+ jsUnwrap(self._ios, "moreNavigationController").moreNavigationController, setting: "delegate"
1080
+ ).delegate = nil
1081
+ }
1082
+ }
1083
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:405)
1084
+ try self._applyBottomAccessory(nil, false)
1085
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:406)
1086
+ try super.onUnloaded()
1087
+ }
1088
+ #sourceLocation()
1089
+ open override func _setNativeViewFrame(_ __b0: Any?, _ __b1: Any?) throws {
1090
+ let nativeView: UIView? = (__b0 as? UIView)
1091
+ let frame: CGRect = jsNativeStructPresent(__b1, CGRect.self)
1092
+ _ = try { () throws -> Void in
1093
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:416)
1094
+ if try IOSHelper.isHostedInView(self) {
1095
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:417)
1096
+ try super._setNativeViewFrame(nativeView, frame)
1097
+ }
1098
+ }()
1099
+ }
1100
+ #sourceLocation()
1101
+ open override func applySafeAreaInsets(_ frame: CGRect) throws -> CGRect? {
1102
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:422)
1103
+ return try IOSHelper.extendUnderContainerSafeArea((self.nativeViewProtected as? UIView), frame)
1104
+ }
1105
+ #sourceLocation()
1106
+ open override func onSelectedIndexChanged(_ oldIndex: Double, _ newIndex: Double) throws {
1107
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:426)
1108
+ let items: JSArray<TabViewItem>? = self.items
1109
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:427)
1110
+ if !jsTruthy(items) {
1111
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:428)
1112
+ return
1113
+ }
1114
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:431)
1115
+ let oldItem: TabViewItem? = try jsUnwrap(items, "oldIndex").element(oldIndex)
1116
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:432)
1117
+ if jsTruthy(oldItem as Any?) {
1118
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:433)
1119
+ try jsUnwrap(oldItem, "unloadView").unloadView(jsUnwrap(oldItem, "view").view)
1120
+ }
1121
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:436)
1122
+ let newItem: TabViewItem? = try jsUnwrap(items, "newIndex").element(newIndex)
1123
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:437)
1124
+ if jsTruthy(newItem as Any?) && self.isLoaded {
1125
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:438)
1126
+ let selectedView: View? = try jsUnwrap(jsUnwrap(items, "newIndex").element(newIndex), "view").view
1127
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:439)
1128
+ if selectedView is Frame {
1129
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:440)
1130
+ try jsUnwrap(selectedView as? Frame, "_pushInFrameStackRecursive")._pushInFrameStackRecursive()
1131
+ }
1132
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:443)
1133
+ try jsUnwrap(newItem, "loadView").loadView(jsUnwrap(newItem, "view").view)
1134
+ }
1135
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:446)
1136
+ try super.onSelectedIndexChanged(oldIndex, newIndex)
1137
+ }
1138
+ #sourceLocation()
1139
+ open override func onMeasure(_ widthMeasureSpec: Double, _ heightMeasureSpec: Double) throws {
1140
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:450)
1141
+ let width: Double = NativeScriptKit.layout.getMeasureSpecSize(widthMeasureSpec)
1142
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:451)
1143
+ let widthMode: Double = NativeScriptKit.layout.getMeasureSpecMode(widthMeasureSpec)
1144
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:453)
1145
+ let height: Double = NativeScriptKit.layout.getMeasureSpecSize(heightMeasureSpec)
1146
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:454)
1147
+ let heightMode: Double = NativeScriptKit.layout.getMeasureSpecMode(heightMeasureSpec)
1148
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:456)
1149
+ let widthAndState: Double = View.resolveSizeAndState(width, width, widthMode, 0)
1150
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:457)
1151
+ let heightAndState: Double = View.resolveSizeAndState(height, height, heightMode, 0)
1152
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:459)
1153
+ try self.setMeasuredDimension(widthAndState, heightAndState)
1154
+ }
1155
+ #sourceLocation()
1156
+ open func _onViewControllerShown(_ tabBarController: UITabBarController?, _ viewController: UIViewController?)
1157
+ throws
1158
+ {
1159
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:464)
1160
+ if NativeScriptKit.Trace.isEnabled() {
1161
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:465)
1162
+ try NativeScriptKit.Trace.write(
1163
+ "TabView._onViewControllerShown(" + jsToStringDefault(viewController) + ");",
1164
+ NativeScriptKit.Trace.categories.Debug)
1165
+ }
1166
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:467)
1167
+ let index: Double = try self._indexOfViewController(tabBarController, viewController)
1168
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:468)
1169
+ if index > -1 {
1170
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:469)
1171
+ self.selectedIndex = index
1172
+ } else {
1173
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:471)
1174
+ if NativeScriptKit.Trace.isEnabled() {
1175
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:472)
1176
+ try NativeScriptKit.Trace.write(
1177
+ "TabView._onViewControllerShown: viewController is not one of our viewControllers",
1178
+ NativeScriptKit.Trace.categories.Debug)
1179
+ }
1180
+ }
1181
+ }
1182
+ #sourceLocation()
1183
+ open func _indexOfViewController(_ tabBarController: UITabBarController?, _ viewController: UIViewController?)
1184
+ throws -> Double
1185
+ {
1186
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:478)
1187
+ if !jsTruthy(tabBarController) || !jsTruthy(viewController) {
1188
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:479)
1189
+ return -1
1190
+ }
1191
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:482)
1192
+ if try jsTruthy(jsUnwrap(tabBarController, "viewControllers").viewControllers) {
1193
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:483)
1194
+ return try
1195
+ ((jsUnwrap(jsUnwrap(tabBarController, "viewControllers").viewControllers, "containsObject") as NSArray)
1196
+ .contains((jsObjectRequired(viewController) as Any))
1197
+ ? Double(
1198
+ (jsUnwrap(jsUnwrap(tabBarController, "viewControllers").viewControllers, "indexOfObject") as NSArray)
1199
+ .index(of: jsObjectRequired(viewController) as Any)) : -1)
1200
+ }
1201
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:487)
1202
+ let tabs: [Any]? = try
1203
+ ({ () throws -> [Any]? in
1204
+ if #available(iOS 18, *) { return try jsUnwrap(tabBarController, "tabs").tabs } else { return nil }
1205
+ }())
1206
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:488)
1207
+ var i: Double = 0
1208
+ while i < ((((tabs?.count).map { Double($0) }) ?? 0)) {
1209
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:489)
1210
+ let tab: Any? = try (jsUnwrap(tabs, "objectAtIndex")[Int(i)] as Any?)
1211
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:490)
1212
+ if try jsStrictEquals(jsGet(tab, "viewController"), viewController) {
1213
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:491)
1214
+ return try jsParseInt(jsToString(jsGet(tab, "identifier")), nil)
1215
+ }
1216
+ i += 1
1217
+ }
1218
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:495)
1219
+ return -1
1220
+ }
1221
+ #sourceLocation()
1222
+ open func _handleTwoNavigationBars(_ backToMoreWillBeVisible: Bool) throws {
1223
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:499)
1224
+ if NativeScriptKit.Trace.isEnabled() {
1225
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:500)
1226
+ try NativeScriptKit.Trace.write(
1227
+ "TabView._handleTwoNavigationBars(backToMoreWillBeVisible: \(js(backToMoreWillBeVisible)))",
1228
+ NativeScriptKit.Trace.categories.Debug)
1229
+ }
1230
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:504)
1231
+ var page: Page? = try { () throws -> Page? in
1232
+ let __v_4 = try self.page
1233
+ return jsTruthy(__v_4) ? jsPresent(__v_4) : try ((self._selectedView as View?)?.page)
1234
+ }()
1235
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:506)
1236
+ if try !jsTruthy(page) && (self._selectedView is Frame) {
1237
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:507)
1238
+ page = try jsUnwrap(self._selectedView as? Frame, "currentPage").currentPage
1239
+ }
1240
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:510)
1241
+ if try !jsTruthy(page) || !(jsTruthy(jsUnwrap(page, "frame").frame)) {
1242
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:511)
1243
+ return
1244
+ }
1245
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:514)
1246
+ let actionBarVisible: Bool? = try jsUnwrap(jsUnwrap(page, "frame").frame, "_getNavBarVisible")
1247
+ ._getNavBarVisible(page)!
1248
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:516)
1249
+ if backToMoreWillBeVisible && (actionBarVisible ?? false) {
1250
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:517)
1251
+ if try jsTruthy((jsUnwrap(jsUnwrap(page, "frame").frame, "ios").ios as? iOSFrame)) {
1252
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:518)
1253
+ try jsUnwrap(
1254
+ jsUnwrap(jsUnwrap(page, "frame").frame, "ios").ios as? iOSFrame, setting: "_disableNavBarAnimation"
1255
+ )._disableNavBarAnimation = true
1256
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:519)
1257
+ try jsUnwrap(page, setting: "actionBarHidden").actionBarHidden = true
1258
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:520)
1259
+ try jsUnwrap(
1260
+ jsUnwrap(jsUnwrap(page, "frame").frame, "ios").ios as? iOSFrame, setting: "_disableNavBarAnimation"
1261
+ )._disableNavBarAnimation = false
1262
+ } else {
1263
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:522)
1264
+ try jsUnwrap(page, setting: "actionBarHidden").actionBarHidden = true
1265
+ }
1266
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:525)
1267
+ self._actionBarHiddenByTabView = true
1268
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:526)
1269
+ if NativeScriptKit.Trace.isEnabled() {
1270
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:527)
1271
+ try NativeScriptKit.Trace.write("TabView hid action bar", NativeScriptKit.Trace.categories.Debug)
1272
+ }
1273
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:530)
1274
+ return
1275
+ }
1276
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:533)
1277
+ if !backToMoreWillBeVisible && self._actionBarHiddenByTabView {
1278
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:534)
1279
+ if try jsTruthy((jsUnwrap(jsUnwrap(page, "frame").frame, "ios").ios as? iOSFrame)) {
1280
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:535)
1281
+ try jsUnwrap(
1282
+ jsUnwrap(jsUnwrap(page, "frame").frame, "ios").ios as? iOSFrame, setting: "_disableNavBarAnimation"
1283
+ )._disableNavBarAnimation = true
1284
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:536)
1285
+ try jsUnwrap(page, setting: "actionBarHidden").actionBarHidden = false
1286
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:537)
1287
+ try jsUnwrap(
1288
+ jsUnwrap(jsUnwrap(page, "frame").frame, "ios").ios as? iOSFrame, setting: "_disableNavBarAnimation"
1289
+ )._disableNavBarAnimation = false
1290
+ } else {
1291
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:539)
1292
+ try jsUnwrap(page, setting: "actionBarHidden").actionBarHidden = false
1293
+ }
1294
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:542)
1295
+ self._actionBarHiddenByTabView = false
1296
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:543)
1297
+ if NativeScriptKit.Trace.isEnabled() {
1298
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:544)
1299
+ try NativeScriptKit.Trace.write("TabView restored action bar", NativeScriptKit.Trace.categories.Debug)
1300
+ }
1301
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:547)
1302
+ return
1303
+ }
1304
+ }
1305
+ #sourceLocation()
1306
+ open func getViewController(_ item: TabViewItem?) throws -> UIViewController? {
1307
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:552)
1308
+ var newController: UIViewController? =
1309
+ try
1310
+ (jsTruthy(jsUnwrap(item, "view").view)
1311
+ ? (jsUnwrap(jsUnwrap(item, "view").view, "viewController").viewController as? UIViewController) : nil)
1312
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:554)
1313
+ if jsTruthy(newController as Any?) {
1314
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:555)
1315
+ try jsUnwrap(item, "setViewController").setViewController(
1316
+ newController, jsImplicit(jsUnwrap(newController, "view").view))
1317
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:557)
1318
+ return newController
1319
+ }
1320
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:560)
1321
+ if try (jsUnwrap(jsUnwrap(item, "view").view, "ios").ios is UIViewController) {
1322
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:561)
1323
+ newController = try (jsUnwrap(jsUnwrap(item, "view").view, "ios").ios as? UIViewController)
1324
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:562)
1325
+ try jsUnwrap(item, "setViewController").setViewController(
1326
+ newController, jsImplicit(jsUnwrap(newController, "view").view))
1327
+ } else if try
1328
+ (jsTruthy(jsUnwrap(jsUnwrap(item, "view").view, "ios").ios)
1329
+ && (jsGet(jsUnwrap(jsUnwrap(item, "view").view, "ios").ios, "controller") is UIViewController))
1330
+ {
1331
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:564)
1332
+ newController =
1333
+ try (jsGet(jsUnwrap(jsUnwrap(item, "view").view, "ios").ios, "controller") as? UIViewController)
1334
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:565)
1335
+ try jsUnwrap(item, "setViewController").setViewController(
1336
+ newController, jsImplicit(jsUnwrap(newController, "view").view))
1337
+ } else {
1338
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:567)
1339
+ newController = try jsImplicit(
1340
+ jsUnwrap(IOSHelper.UILayoutViewController, "initWithOwner").initWithOwner(
1341
+ JSWeakRef<View>(jsObjectRequired(jsUnwrap(item, "view").view))) as UIViewController?)
1342
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:568)
1343
+ try jsUnwrap(jsUnwrap(newController, "view").view, "addSubview").addSubview(
1344
+ (jsCastPresent(jsUnwrap(jsUnwrap(item, "view").view, "nativeViewProtected").nativeViewProtected)
1345
+ as UIView))
1346
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:569)
1347
+ try jsUnwrap(jsUnwrap(item, "view").view, setting: "viewController").viewController =
1348
+ (newController as Any?)
1349
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:570)
1350
+ try jsUnwrap(item, "setViewController").setViewController(
1351
+ newController,
1352
+ (jsUnwrap(jsUnwrap(item, "view").view, "nativeViewProtected").nativeViewProtected as? UIView))
1353
+ }
1354
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:573)
1355
+ return newController
1356
+ }
1357
+ #sourceLocation()
1358
+ open func setViewControllers(_ items: JSArray<TabViewItem>?) throws {
1359
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:577)
1360
+ let length: Double = try (jsTruthy(items) ? jsUnwrap(items, "length").length : 0)
1361
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:578)
1362
+ if length == 0 {
1363
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:579)
1364
+ if #available(iOS 18, *) {
1365
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:581)
1366
+ do {
1367
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:582)
1368
+ try jsUnwrap(self._ios, setting: "tabs").tabs = jsElements(
1369
+ jsElements(NSArray(array: []), Any.self), UITab.self)
1370
+ } catch {
1371
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:585)
1372
+ try jsUnwrap(self._ios, setting: "viewControllers").viewControllers = nil
1373
+ }
1374
+ } else {
1375
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:588)
1376
+ try jsUnwrap(self._ios, setting: "viewControllers").viewControllers = nil
1377
+ }
1378
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:590)
1379
+ return
1380
+ }
1381
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:593)
1382
+ if #available(iOS 18, *) {
1383
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:595)
1384
+ let tabs: JSArray<Any?> = JSArray<Any?>()
1385
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:596)
1386
+ let controllers: JSArray<Any?> = JSArray<Any?>()
1387
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:597)
1388
+ var prominentIdentifier: String? = nil
1389
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:598)
1390
+ var searchIdentifier: String? = nil
1391
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:599)
1392
+ try jsUnwrap(items, "forEach").forEach({ (item: TabViewItem?, i: Double) throws -> Void in
1393
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:600)
1394
+ let controller: UIViewController? = try self.getViewController(item)
1395
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:601)
1396
+ _ = controllers.push(controller)
1397
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:602)
1398
+ let icon: UIImage? = try self._getIcon(item)
1399
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:603)
1400
+ let title: String = try
1401
+ ({ () throws -> String in
1402
+ let __v_5 = try jsUnwrap(item, "title").title
1403
+ return jsTruthy(__v_5) ? jsPresent(__v_5) : ""
1404
+ }())
1405
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:604)
1406
+ let identifier: String = "\(js(i))"
1407
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:605)
1408
+ var tab: UITab?
1409
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:606)
1410
+ if try jsStringEquals(jsUnwrap(item, "role").role, "prominent") {
1411
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:607)
1412
+ if prominentIdentifier == nil { prominentIdentifier = identifier }
1413
+ }
1414
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:609)
1415
+ if try jsStringEquals(jsUnwrap(item, "role").role, "search") {
1416
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:610)
1417
+ if searchIdentifier == nil { searchIdentifier = identifier }
1418
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:611)
1419
+ tab = UISearchTab(
1420
+ title: title, image: icon, identifier: identifier,
1421
+ viewControllerProvider: jsEnterAwaiting { (__b0: UITab) -> UIViewController in
1422
+ let t: UITab = __b0
1423
+ return jsReportedOrZero {
1424
+ try
1425
+ ({ (t: UITab?) throws -> UIViewController in
1426
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:612)
1427
+ return try jsObjectRequired(controller)
1428
+ })(t)
1429
+ }
1430
+ })
1431
+ } else {
1432
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:615)
1433
+ tab = UITab(
1434
+ title: title, image: icon, identifier: identifier,
1435
+ viewControllerProvider: jsEnterAwaiting { (__b0: UITab) -> UIViewController in
1436
+ let t: UITab = __b0
1437
+ return jsReportedOrZero {
1438
+ try
1439
+ ({ (t: UITab?) throws -> UIViewController in
1440
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:616)
1441
+ return try jsObjectRequired(controller)
1442
+ })(t)
1443
+ }
1444
+ })
1445
+ }
1446
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:620)
1447
+ _ = tabs.push(tab)
1448
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:621)
1449
+ try jsUnwrap(item, setting: "canBeLoaded").canBeLoaded = true
1450
+ })
1451
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:624)
1452
+ do {
1453
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:626)
1454
+ try jsUnwrap(self._ios, setting: "tabs").tabs = jsElements(
1455
+ jsElements(NSArray(array: tabs.storage.map { $0 as Any }), Any.self), UITab.self)
1456
+ } catch {
1457
+
1458
+ }
1459
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:628)
1460
+ if #available(iOS 27, *) {
1461
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:631)
1462
+ try jsUnwrap(self._ios, setting: "prominentTabIdentifier").prominentTabIdentifier =
1463
+ (prominentIdentifier ?? searchIdentifier)
1464
+ } else {
1465
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:633)
1466
+ try jsUnwrap(self._ios, setting: "viewControllers").viewControllers = jsElements(
1467
+ jsElements(NSArray(array: controllers.storage.map { $0 as Any }), Any.self), UIViewController.self)
1468
+ }
1469
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:635)
1470
+ try jsUnwrap(self._ios, setting: "customizableViewControllers").customizableViewControllers = nil
1471
+ } else {
1472
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:638)
1473
+ let controllers: JSArray<Any?> = JSArray<Any?>()
1474
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:639)
1475
+ let states: Any? = try Core_ui_tab_view_index.getTitleAttributesForStates(self)
1476
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:641)
1477
+ try jsUnwrap(items, "forEach").forEach({ (item: TabViewItem?, i: Double) throws -> Void in
1478
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:642)
1479
+ let controller: UIViewController? = try self.getViewController(item)
1480
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:643)
1481
+ let icon: UIImage? = try self._getIcon(item)
1482
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:644)
1483
+ let tabBarItem: UITabBarItem? = try UITabBarItem(
1484
+ title: ({ () throws -> String in
1485
+ let __v_8 = try jsUnwrap(item, "title").title
1486
+ return jsTruthy(__v_8) ? jsPresent(__v_8) : ""
1487
+ }()), image: icon, tag: jsNativeInteger(i, Int.self))
1488
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:645)
1489
+ try Core_ui_tab_view_index.updateTitleAndIconPositions(item, tabBarItem, controller)
1490
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:647)
1491
+ if Core_utils_constants.SDK_VERSION < 15 {
1492
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:648)
1493
+ try Core_ui_tab_view_index.applyStatesToItem(tabBarItem, states)
1494
+ }
1495
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:651)
1496
+ try jsUnwrap(controller, setting: "tabBarItem").tabBarItem = tabBarItem
1497
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:652)
1498
+ _ = controllers.push(controller)
1499
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:653)
1500
+ try jsUnwrap(item, setting: "canBeLoaded").canBeLoaded = true
1501
+ })
1502
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:656)
1503
+ if Core_utils_constants.SDK_VERSION >= 15 {
1504
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:657)
1505
+ try self.updateBarItemAppearance(jsUnwrap(self._ios, "tabBar").tabBar, states)
1506
+ }
1507
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:660)
1508
+ try jsUnwrap(self._ios, setting: "viewControllers").viewControllers = jsElements(
1509
+ jsElements(NSArray(array: controllers.storage.map { $0 as Any }), Any.self), UIViewController.self)
1510
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:661)
1511
+ try jsUnwrap(self._ios, setting: "customizableViewControllers").customizableViewControllers = nil
1512
+ }
1513
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:665)
1514
+ if try jsTruthy(jsUnwrap(self._ios, "moreNavigationController").moreNavigationController) {
1515
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:666)
1516
+ try jsUnwrap(jsUnwrap(self._ios, "moreNavigationController").moreNavigationController, setting: "delegate")
1517
+ .delegate = jsObjectRequired(self.moreNavigationControllerDelegate)
1518
+ }
1519
+ }
1520
+ #sourceLocation()
1521
+ open func _getIconRenderingMode() -> UIImage.RenderingMode {
1522
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:671)
1523
+ switch self.iosIconRenderingMode {
1524
+ case "alwaysOriginal":
1525
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:673)
1526
+ return UIImage.RenderingMode.alwaysOriginal
1527
+ case "alwaysTemplate":
1528
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:675)
1529
+ return UIImage.RenderingMode.alwaysTemplate
1530
+ default:
1531
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:678)
1532
+ return UIImage.RenderingMode.automatic
1533
+ }
1534
+ }
1535
+ #sourceLocation()
1536
+ open func _getIcon(_ item: TabViewItem?) throws -> UIImage? {
1537
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:683)
1538
+ if try !jsTruthy(item) || !(jsTruthy(jsUnwrap(item, "iconSource").iconSource)) {
1539
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:684)
1540
+ return nil
1541
+ }
1542
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:687)
1543
+ var image: UIImage? =
1544
+ try jsUnwrap(self._iconsCache, "item.iconSource")[jsKey: jsUnwrap(item, "iconSource").iconSource]
1545
+ as? UIImage
1546
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:688)
1547
+ if !jsTruthy(image) {
1548
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:689)
1549
+ var `is`: ImageSource?
1550
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:690)
1551
+ if try Core_utils_common.isSystemURI(jsUnwrap(item, "iconSource").iconSource) {
1552
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:691)
1553
+ `is` = try jsImplicit(
1554
+ ImageSource.fromSystemImageSync(
1555
+ jsSlice(
1556
+ jsUnwrap(item, "iconSource").iconSource, Double(Core_utils_common.SYSTEM_PREFIX.utf16.count)
1557
+ )))
1558
+ } else if try Core_utils_common.isFontIconURI(jsUnwrap(item, "iconSource").iconSource) {
1559
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:695)
1560
+ var iconFont: Font__font_ios? = try jsUnwrap(jsUnwrap(item, "style").style, "fontInternal").fontInternal
1561
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:696)
1562
+ let iconFontFamily: String = try
1563
+ ({ () throws -> String in
1564
+ let __v_9 = try jsUnwrap(item, "iconFontFamily").iconFontFamily
1565
+ return jsTruthy(__v_9)
1566
+ ? jsPresent(__v_9)
1567
+ : try jsUnwrap(jsUnwrap(item, "style").style, "iconFontFamily").iconFontFamily
1568
+ }())
1569
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:697)
1570
+ if jsTruthy(iconFontFamily) {
1571
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:699)
1572
+ let baseFont: Font__font_ios? = try { () throws -> Font__font_ios? in
1573
+ let __v_10 = try jsUnwrap(jsUnwrap(item, "style").style, "fontInternal").fontInternal
1574
+ return jsTruthy(__v_10) ? jsPresent(__v_10) : Font__font_ios.default__Font
1575
+ }()
1576
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:700)
1577
+ iconFont =
1578
+ try (jsUnwrap(baseFont, "withFontFamily").withFontFamily(iconFontFamily) as? Font__font_ios)
1579
+ }
1580
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:702)
1581
+ `is` = try jsImplicit(
1582
+ ImageSource.fromFontIconCodeSync(
1583
+ jsSlice(
1584
+ jsUnwrap(item, "iconSource").iconSource, Double(Core_utils_common.FONT_PREFIX.utf16.count)),
1585
+ iconFont, jsUnwrap(jsUnwrap(item, "style").style, "color").color))
1586
+ } else {
1587
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:704)
1588
+ `is` = try jsImplicit(ImageSource.fromFileOrResourceSync(jsUnwrap(item, "iconSource").iconSource))
1589
+ }
1590
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:706)
1591
+ if try (jsTruthy(`is`) && jsTruthy(jsUnwrap(`is`, "ios").ios)) {
1592
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:707)
1593
+ let originalRenderedImage: UIImage? = try jsUnwrap(jsUnwrap(`is`, "ios").ios, "imageWithRenderingMode")
1594
+ .withRenderingMode(self._getIconRenderingMode())
1595
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:708)
1596
+ try jsUnwrap(self._iconsCache, setting: "item.iconSource")[
1597
+ jsKey: jsUnwrap(item, "iconSource").iconSource] = originalRenderedImage
1598
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:709)
1599
+ image = originalRenderedImage
1600
+ } else {
1601
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:711)
1602
+ try Core_ui_tab_view_tab_view_common.traceMissingIcon(jsUnwrap(item, "iconSource").iconSource)
1603
+ }
1604
+ }
1605
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:715)
1606
+ return image
1607
+ }
1608
+ #sourceLocation()
1609
+ open func _updateIOSTabBarColorsAndFonts() throws {
1610
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:719)
1611
+ if !jsTruthy(self.items) {
1612
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:720)
1613
+ return
1614
+ }
1615
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:723)
1616
+ let tabBar: UITabBar? = try jsUnwrap(self.ios as? UITabBarController, "tabBar").tabBar
1617
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:724)
1618
+ let states: Any? = try Core_ui_tab_view_index.getTitleAttributesForStates(self)
1619
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:725)
1620
+ if Core_utils_constants.SDK_VERSION >= 15 {
1621
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:726)
1622
+ try self.updateBarItemAppearance(tabBar, states)
1623
+ } else {
1624
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:728)
1625
+ var i: Double = 0
1626
+ while try i < Double(jsUnwrap(jsUnwrap(tabBar, "items").items, "count").count) {
1627
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:729)
1628
+ try Core_ui_tab_view_index.applyStatesToItem(
1629
+ (jsNativeElement(jsUnwrap(jsUnwrap(tabBar, "items").items, "i"), i) as? UITabBarItem), states)
1630
+ i += 1
1631
+ }
1632
+ }
1633
+ }
1634
+ #sourceLocation()
1635
+ open func updateBarItemAppearance(_ tabBar: UITabBar?, _ states: Any?) throws {
1636
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:735)
1637
+ let appearance: UITabBarAppearance? = try self._getAppearance(tabBar)
1638
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:736)
1639
+ let itemAppearances: JSArray<String> = JSArray<String>([
1640
+ "stackedLayoutAppearance", "inlineLayoutAppearance", "compactInlineLayoutAppearance",
1641
+ ])
1642
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:737)
1643
+ for itemAppearance in itemAppearances {
1644
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:738)
1645
+ try jsSet(
1646
+ jsGet(JSNativeKeyed(jsUnwrap(appearance, "itemAppearance"))[jsKey: itemAppearance], "normal"),
1647
+ "titleTextAttributes", jsGet(states, "normalState"))
1648
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:739)
1649
+ try jsSet(
1650
+ jsGet(JSNativeKeyed(jsUnwrap(appearance, "itemAppearance"))[jsKey: itemAppearance], "selected"),
1651
+ "titleTextAttributes", jsGet(states, "selectedState"))
1652
+ }
1653
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:741)
1654
+ try self._updateAppearance(tabBar, appearance)
1655
+ }
1656
+ #sourceLocation()
1657
+ open func _getAppearance(_ tabBar: UITabBar?) throws -> UITabBarAppearance? {
1658
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:745)
1659
+ if try jsUnwrap(tabBar, "standardAppearance").standardAppearance == nil {
1660
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:746)
1661
+ let appearance: UITabBarAppearance = UITabBarAppearance()
1662
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:747)
1663
+ do {
1664
+ let __assigned3: UITabBarItemAppearance = UITabBarItemAppearance()
1665
+ appearance.compactInlineLayoutAppearance = __assigned3
1666
+ appearance.inlineLayoutAppearance = __assigned3
1667
+ appearance.stackedLayoutAppearance = __assigned3
1668
+ }
1669
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:748)
1670
+ return appearance
1671
+ }
1672
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:750)
1673
+ return try jsUnwrap(tabBar, "standardAppearance").standardAppearance
1674
+ }
1675
+ #sourceLocation()
1676
+ open func _updateAppearance(_ tabBar: UITabBar?, _ appearance: UITabBarAppearance?) throws {
1677
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:754)
1678
+ try jsUnwrap(tabBar, setting: "standardAppearance").standardAppearance = jsObjectRequired(appearance)
1679
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:755)
1680
+ if Core_utils_constants.SDK_VERSION >= 15 {
1681
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:756)
1682
+ try jsUnwrap(tabBar, setting: "scrollEdgeAppearance").scrollEdgeAppearance = appearance
1683
+ }
1684
+ }
1685
+ #sourceLocation()
1686
+ open func _applyBottomAccessory(_ value: View?, _ animated: Bool) throws {
1687
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:881)
1688
+ guard #available(iOS 26, *) else {
1689
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:882)
1690
+ return
1691
+ }
1692
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:885)
1693
+ let setAccessory: (UITabAccessory?) throws -> Void = { (accessory: UITabAccessory?) throws -> Void in
1694
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:886)
1695
+ do {
1696
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:887)
1697
+ try jsUnwrap(self._ios, "setBottomAccessoryAnimated").setBottomAccessory(accessory, animated: animated)
1698
+ } catch {
1699
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:890)
1700
+ try jsUnwrap(self._ios, setting: "bottomAccessory").bottomAccessory = accessory
1701
+ }
1702
+ }
1703
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:895)
1704
+ if !jsTruthy(value) {
1705
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:897)
1706
+ try setAccessory(nil)
1707
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:899)
1708
+ if jsTruthy(self._bottomAccessoryNsView) {
1709
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:902)
1710
+ try SharedTransition.unregisterExternalRoot(self._bottomAccessoryNsView)
1711
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:904)
1712
+ do {
1713
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:905)
1714
+ try jsUnwrap(self._bottomAccessoryNsView, "_tearDownUI")._tearDownUI(true)
1715
+ } catch {
1716
+
1717
+ }
1718
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:907)
1719
+ self._bottomAccessoryNsView = nil
1720
+ }
1721
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:909)
1722
+ return
1723
+ }
1724
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:913)
1725
+ let nsView: View? = value
1726
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:914)
1727
+ if try !(jsTruthy((jsUnwrap(nsView, "nativeViewProtected").nativeViewProtected as? UIView))) {
1728
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:916)
1729
+ try jsUnwrap(nsView, "_setupUI")._setupUI(JSObject([]))
1730
+ }
1731
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:919)
1732
+ if try !(jsUnwrap(nsView, "isLoaded").isLoaded) {
1733
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:921)
1734
+ try jsUnwrap(nsView, "callLoaded").callLoaded()
1735
+ }
1736
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:923)
1737
+ let contentView: UIView? = try jsUnwrap(nsView, "nativeViewProtected").nativeViewProtected as? UIView
1738
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:924)
1739
+ if !jsTruthy(contentView) {
1740
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:925)
1741
+ return
1742
+ }
1743
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:929)
1744
+ try jsUnwrap(contentView, setting: "translatesAutoresizingMaskIntoConstraints")
1745
+ .translatesAutoresizingMaskIntoConstraints = true
1746
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:931)
1747
+ var tabBarWidth: Double = try
1748
+ ({ () throws -> Double in
1749
+ let __v_11 =
1750
+ (((self._ios as UITabBarControllerImpl?)?.tabBar.frame.size.width).map { Double($0) } ?? .nan)
1751
+ return jsTruthy(__v_11)
1752
+ ? jsPresent(__v_11)
1753
+ : try Double(jsUnwrap(jsUnwrap(Screen.mainScreen, "screen").screen, "bounds").bounds.size.width)
1754
+ }())
1755
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:933)
1756
+ if jsTruthy((self._ios as UITabBarControllerImpl?)?.tabBar.safeAreaInsets) {
1757
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:934)
1758
+ let insets: UIEdgeInsets = try jsUnwrap(jsUnwrap(self._ios, "tabBar").tabBar, "safeAreaInsets")
1759
+ .safeAreaInsets
1760
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:936)
1761
+ let horizontalInsets: Double = Double(insets.left) + Double(insets.right)
1762
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:937)
1763
+ if horizontalInsets > 0 && horizontalInsets < tabBarWidth {
1764
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:938)
1765
+ tabBarWidth -= horizontalInsets
1766
+ }
1767
+ }
1768
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:941)
1769
+ let tabBarWidthPx: Double = try NativeScriptKit.layout.toDevicePixels(tabBarWidth)
1770
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:943)
1771
+ let tabBarWidthPxRounded: Double = Foundation.floor(tabBarWidthPx)
1772
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:944)
1773
+ var measuredHeight: Double = 0
1774
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:946)
1775
+ let widthSpec: Double = NativeScriptKit.layout.makeMeasureSpec(
1776
+ tabBarWidthPxRounded, NativeScriptKit.layout.EXACTLY)
1777
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:947)
1778
+ let heightSpec: Double = NativeScriptKit.layout.makeMeasureSpec(0, NativeScriptKit.layout.UNSPECIFIED)
1779
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:948)
1780
+ try jsUnwrap(nsView, "measure").measure(widthSpec, heightSpec)
1781
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:949)
1782
+ measuredHeight = try NativeScriptKit.layout.toDeviceIndependentPixels(
1783
+ jsUnwrap(nsView, "getMeasuredHeight").getMeasuredHeight())
1784
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:952)
1785
+ let minHeight: Double = 44
1786
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:953)
1787
+ let finalHeight: Double = jsMathMax(
1788
+ minHeight,
1789
+ ({ () -> Double in
1790
+ let __v_12 = measuredHeight
1791
+ return jsTruthy(__v_12) ? jsPresent(__v_12) : 0
1792
+ }()))
1793
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:955)
1794
+ let container: NSTabAccessoryContainer? = try NSTabAccessoryContainer.initWithOwner(
1795
+ JSWeakRef<View>(jsObjectRequired(nsView)))
1796
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:956)
1797
+ try jsUnwrap(container, setting: "translatesAutoresizingMaskIntoConstraints")
1798
+ .translatesAutoresizingMaskIntoConstraints = true
1799
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:957)
1800
+ try jsUnwrap(container, setting: "autoresizingMask").autoresizingMask = UIView.AutoresizingMask(
1801
+ rawValue: jsNativeInteger(
1802
+ jsBitOr(
1803
+ Double(UIView.AutoresizingMask.flexibleWidth.rawValue),
1804
+ Double(UIView.AutoresizingMask.flexibleHeight.rawValue)), UInt.self))
1805
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:959)
1806
+ try jsUnwrap(container, setting: "clipsToBounds").clipsToBounds = true
1807
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:960)
1808
+ try jsUnwrap(container, "addSubview").addSubview(jsObjectRequired(contentView))
1809
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:962)
1810
+ let containerHeight: NSLayoutConstraint? = try jsUnwrap(
1811
+ jsUnwrap(container, "heightAnchor").heightAnchor, "constraintEqualToConstant"
1812
+ ).constraint(equalToConstant: CGFloat(jsNativeNumber(finalHeight)))
1813
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:963)
1814
+ try jsUnwrap(containerHeight, setting: "priority").priority = UILayoutPriority(rawValue: Float(999))
1815
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:964)
1816
+ try NSLayoutConstraint.activate(JSArray<NSLayoutConstraint>([jsObjectRequired(containerHeight)]).storage)
1817
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:966)
1818
+ let accessory: UITabAccessory? = try UITabAccessory(contentView: jsObjectRequired(container))
1819
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:967)
1820
+ try setAccessory(accessory)
1821
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:970)
1822
+ let tabBar: UITabBar? = (self._ios as UITabBarControllerImpl?)?.tabBar
1823
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:971)
1824
+ if jsTruthy(tabBar) {
1825
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:972)
1826
+ try jsUnwrap(tabBar, "setNeedsLayout").setNeedsLayout()
1827
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:973)
1828
+ try jsUnwrap(tabBar, "layoutIfNeeded").layoutIfNeeded()
1829
+ }
1830
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:976)
1831
+ self._bottomAccessoryNsView = nsView
1832
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:981)
1833
+ try SharedTransition.registerExternalRoot(nsView)
1834
+ }
1835
+ #sourceLocation()
1836
+ open override class func jsConstruct(_ __a: [Any?]) throws -> Any? { try TabView() }
1837
+ open override var jsDeclaredKeys: [String] {
1838
+ super.jsDeclaredKeys + ["_iconsCache"]
1839
+ + (jsMadeBits2 & (1 << 3) != 0 ? ["moreNavigationControllerDelegate"] : [])
1840
+ + (jsMadeBits2 & (1 << 4) != 0 ? ["_delegate"] : [])
1841
+ + (jsMadeBits2 & (1 << 5) != 0 ? ["_bottomAccessoryNsView"] : [])
1842
+ + (jsMadeBits2 & (1 << 6) != 0 ? ["_ios"] : [])
1843
+ + (jsMadeBits2 & (1 << 7) != 0 ? ["_actionBarHiddenByTabView"] : [])
1844
+ }
1845
+ open override var jsClassName: String? { "TabView" }
1846
+ open override subscript(jsKey key: String) -> Any? {
1847
+ get {
1848
+ switch key.utf8.count {
1849
+ case 4:
1850
+ switch key {
1851
+ case "_ios":
1852
+ if !(jsMadeBits2 & (1 << 6) != 0) { return nil }
1853
+ return self._ios
1854
+ default: break
1855
+ }
1856
+ case 8:
1857
+ switch key {
1858
+ case "onLoaded": return FunctionCell_none_to_Void.script("onLoaded", 0, self.onLoaded)
1859
+ case "_getIcon": return FunctionCell_TabViewItemOpt_to_UIImageOpt.script("_getIcon", 1, self._getIcon)
1860
+ default: break
1861
+ }
1862
+ case 9:
1863
+ switch key {
1864
+ case "_delegate":
1865
+ if !(jsMadeBits2 & (1 << 4) != 0) { return nil }
1866
+ return self._delegate
1867
+ case "onMeasure": return FunctionCell_Double_Double_to_Void.script("onMeasure", 2, self.onMeasure)
1868
+ default: break
1869
+ }
1870
+ case 10:
1871
+ switch key {
1872
+ case "onUnloaded": return FunctionCell_none_to_Void.script("onUnloaded", 0, self.onUnloaded)
1873
+ default: break
1874
+ }
1875
+ case 11:
1876
+ switch key {
1877
+ case "_iconsCache": return self._iconsCache
1878
+ default: break
1879
+ }
1880
+ case 14:
1881
+ switch key {
1882
+ case "initNativeView": return FunctionCell_none_to_Void.script("initNativeView", 0, self.initNativeView)
1883
+ case "_getAppearance":
1884
+ return FunctionCell_UITabBarOpt_to_UITabBarAppearanceOpt.script(
1885
+ "_getAppearance", 1, self._getAppearance)
1886
+ default: break
1887
+ }
1888
+ case 16:
1889
+ switch key {
1890
+ case "createNativeView":
1891
+ return FunctionCell_none_to_AnyOpt.script("createNativeView", 0, self.createNativeView)
1892
+ default: break
1893
+ }
1894
+ case 17:
1895
+ switch key {
1896
+ case "disposeNativeView":
1897
+ return FunctionCell_none_to_Void.script("disposeNativeView", 0, self.disposeNativeView)
1898
+ case "getViewController":
1899
+ return FunctionCell_TabViewItemOpt_to_UIViewControllerOpt.script(
1900
+ "getViewController", 1, self.getViewController)
1901
+ case "_updateAppearance":
1902
+ return FunctionCell_UITabBarOpt_UITabBarAppearanceOpt_to_Void.script(
1903
+ "_updateAppearance", 2, self._updateAppearance)
1904
+ default: break
1905
+ }
1906
+ case 18:
1907
+ switch key {
1908
+ case "setViewControllers":
1909
+ return FunctionCell_JSArray_TabViewItem_Opt_to_Void.script(
1910
+ "setViewControllers", 1, self.setViewControllers)
1911
+ default: break
1912
+ }
1913
+ case 19:
1914
+ switch key {
1915
+ case "_setNativeViewFrame":
1916
+ return FunctionCell_AnyOpt_AnyOpt_to_Void.script("_setNativeViewFrame", 2, self._setNativeViewFrame)
1917
+ case "applySafeAreaInsets":
1918
+ return FunctionCell_CGRect_to_CGRectOpt.script("applySafeAreaInsets", 1, self.applySafeAreaInsets)
1919
+ default: break
1920
+ }
1921
+ case 21:
1922
+ switch key {
1923
+ case "_getIconRenderingMode":
1924
+ return FunctionCell_none_to_UIImage_RenderingMode.script(
1925
+ "_getIconRenderingMode", 0, self._getIconRenderingMode)
1926
+ case "_applyBottomAccessory":
1927
+ return FunctionCell_ViewOpt_Bool_to_Void.script(
1928
+ "_applyBottomAccessory", 2, self._applyBottomAccessory)
1929
+ default: break
1930
+ }
1931
+ case 22:
1932
+ switch key {
1933
+ case "_bottomAccessoryNsView":
1934
+ if !(jsMadeBits2 & (1 << 5) != 0) { return nil }
1935
+ return self._bottomAccessoryNsView
1936
+ case "onSelectedIndexChanged":
1937
+ return FunctionCell_Double_Double_to_Void.script(
1938
+ "onSelectedIndexChanged", 2, self.onSelectedIndexChanged)
1939
+ case "_onViewControllerShown":
1940
+ return FunctionCell_UITabBarControllerOpt_UIViewControllerOpt_to_Void.script(
1941
+ "_onViewControllerShown", 2, self._onViewControllerShown)
1942
+ case "_indexOfViewController":
1943
+ return FunctionCell_UITabBarControllerOpt_UIViewControllerOpt_to_Double.script(
1944
+ "_indexOfViewController", 2, self._indexOfViewController)
1945
+ default: break
1946
+ }
1947
+ case 23:
1948
+ switch key {
1949
+ case "updateBarItemAppearance":
1950
+ return FunctionCell_UITabBarOpt_AnyOpt_to_Void.script(
1951
+ "updateBarItemAppearance", 2, self.updateBarItemAppearance)
1952
+ default: break
1953
+ }
1954
+ case 24:
1955
+ switch key {
1956
+ case "_handleTwoNavigationBars":
1957
+ return FunctionCell_Bool_to_Void.script(
1958
+ "_handleTwoNavigationBars", 1, self._handleTwoNavigationBars)
1959
+ default: break
1960
+ }
1961
+ case 25:
1962
+ switch key {
1963
+ case "_actionBarHiddenByTabView":
1964
+ if !(jsMadeBits2 & (1 << 7) != 0) { return nil }
1965
+ return self._actionBarHiddenByTabView
1966
+ default: break
1967
+ }
1968
+ case 30:
1969
+ switch key {
1970
+ case "_updateIOSTabBarColorsAndFonts":
1971
+ return FunctionCell_none_to_Void.script(
1972
+ "_updateIOSTabBarColorsAndFonts", 0, self._updateIOSTabBarColorsAndFonts)
1973
+ default: break
1974
+ }
1975
+ case 32:
1976
+ switch key {
1977
+ case "moreNavigationControllerDelegate":
1978
+ if !(jsMadeBits2 & (1 << 3) != 0) { return nil }
1979
+ return self.moreNavigationControllerDelegate
1980
+ default: break
1981
+ }
1982
+ default: break
1983
+ }
1984
+ return super[jsKey: key]
1985
+ }
1986
+ set {
1987
+ switch key.utf8.count {
1988
+ case 4:
1989
+ switch key {
1990
+ case "_ios":
1991
+ self._ios = (newValue as? UITabBarControllerImpl)
1992
+ return
1993
+ default: break
1994
+ }
1995
+ case 9:
1996
+ switch key {
1997
+ case "_delegate":
1998
+ self._delegate = (newValue as? UITabBarControllerDelegateImpl)
1999
+ return
2000
+ default: break
2001
+ }
2002
+ case 11:
2003
+ switch key {
2004
+ case "_iconsCache":
2005
+ self._iconsCache = (newValue as? JSObject)
2006
+ return
2007
+ default: break
2008
+ }
2009
+ case 22:
2010
+ switch key {
2011
+ case "_bottomAccessoryNsView":
2012
+ jsStoring { self._bottomAccessoryNsView = (try jsCast(newValue, View.self)) }
2013
+ return
2014
+ default: break
2015
+ }
2016
+ case 25:
2017
+ switch key {
2018
+ case "_actionBarHiddenByTabView":
2019
+ jsStoring { self._actionBarHiddenByTabView = (try jsConvertedBool(newValue)) }
2020
+ return
2021
+ default: break
2022
+ }
2023
+ case 32:
2024
+ switch key {
2025
+ case "moreNavigationControllerDelegate":
2026
+ self.moreNavigationControllerDelegate = (newValue as? UINavigationControllerDelegateImpl__index_ios)
2027
+ return
2028
+ default: break
2029
+ }
2030
+ default: break
2031
+ }
2032
+ super[jsKey: key] = newValue
2033
+ }
2034
+ }
2035
+ open override class var jsName: String { "TabView" }
2036
+ }
2037
+
2038
+ @MainActor public final class NSTabAccessoryContainer: UIView, JSNativeMembers {
2039
+ nonisolated deinit {}
2040
+ public var _owner: JSWeakRef<NativeScriptKit.View>?
2041
+ public static func initWithOwner(_ owner: JSWeakRef<NativeScriptKit.View>?) throws
2042
+ -> NativeScriptKit.NSTabAccessoryContainer
2043
+ {
2044
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:989)
2045
+ let v: NativeScriptKit.NSTabAccessoryContainer? = NSTabAccessoryContainer()
2046
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:990)
2047
+ try jsUnwrap(v, setting: "_owner")._owner = owner
2048
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:991)
2049
+ return try jsObjectRequired(v)
2050
+ }
2051
+ #sourceLocation()
2052
+ public nonisolated override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
2053
+ if jsOffScriptThread() {
2054
+ jsLater { self.traitCollectionDidChange(previousTraitCollection) }
2055
+ return
2056
+ }
2057
+ jsOnMainThread(previousTraitCollection) { previousTraitCollection in
2058
+ let previousTraitCollection: UITraitCollection? = previousTraitCollection
2059
+ jsReport {
2060
+ try { () throws -> Void in
2061
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:995)
2062
+ super.traitCollectionDidChange(previousTraitCollection)
2063
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:996)
2064
+ if !jsTruthy(previousTraitCollection as Any?) {
2065
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:997)
2066
+ return
2067
+ }
2068
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:1001)
2069
+ if try ((self.traitCollection as UITraitCollection?)?.horizontalSizeClass)!
2070
+ != jsUnwrap(previousTraitCollection, "horizontalSizeClass").horizontalSizeClass
2071
+ {
2072
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:1002)
2073
+ self.invalidateIntrinsicContentSize()
2074
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:1003)
2075
+ self.setNeedsLayout()
2076
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:1004)
2077
+ self.layoutIfNeeded()
2078
+ }
2079
+ }()
2080
+ }
2081
+ }
2082
+ }
2083
+ #sourceLocation()
2084
+ public nonisolated override func layoutSubviews() {
2085
+ if jsOffScriptThread() {
2086
+ jsLater { self.layoutSubviews() }
2087
+ return
2088
+ }
2089
+ jsOnMainThread {
2090
+ jsReport {
2091
+ try { () throws -> Void in
2092
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:1009)
2093
+ super.layoutSubviews()
2094
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:1010)
2095
+ let owner: NativeScriptKit.View? = (self._owner as JSWeakRef<NativeScriptKit.View>?)?.deref()
2096
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:1011)
2097
+ if !jsTruthy(owner?.nativeViewProtected as Any?) {
2098
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:1011)
2099
+ return
2100
+ }
2101
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:1012)
2102
+ try jsUnwrap(
2103
+ jsUnwrap(owner, "nativeViewProtected").nativeViewProtected as? UIView, setting: "frame"
2104
+ ).frame = self.bounds
2105
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:1013)
2106
+ let w: Double = Double(self.bounds.size.width)
2107
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:1014)
2108
+ let h: Double = Double(self.bounds.size.height)
2109
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:1015)
2110
+ do {
2111
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:1016)
2112
+ var wp: Double = try Foundation.floor(NativeScriptKit.layout.toDevicePixels(w))
2113
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:1017)
2114
+ let hp: Double = try Foundation.floor(NativeScriptKit.layout.toDevicePixels(h))
2115
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:1018)
2116
+ let containerPxWidth: Double = try Foundation.floor(
2117
+ NativeScriptKit.layout.toDevicePixels(Double(self.bounds.size.width)))
2118
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:1019)
2119
+ if wp > containerPxWidth {
2120
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:1020)
2121
+ wp = containerPxWidth
2122
+ }
2123
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:1022)
2124
+ let widthSpec: Double = NativeScriptKit.layout.makeMeasureSpec(
2125
+ wp, NativeScriptKit.layout.EXACTLY)
2126
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:1023)
2127
+ let heightSpec: Double = NativeScriptKit.layout.makeMeasureSpec(
2128
+ hp, NativeScriptKit.layout.EXACTLY)
2129
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:1024)
2130
+ try jsUnwrap(owner, "measure").measure(widthSpec, heightSpec)
2131
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:1025)
2132
+ try jsUnwrap(owner, "layout").layout(0, 0, wp, hp)
2133
+ } catch {
2134
+
2135
+ }
2136
+ }()
2137
+ }
2138
+ }
2139
+ }
2140
+ #sourceLocation()
2141
+ public func jsMember(_ key: String) -> Any?? {
2142
+ switch key {
2143
+ case "_owner": return .some(self._owner as Any?)
2144
+ default: return nil
2145
+ }
2146
+ }
2147
+ public func jsSetMember(_ key: String, _ newValue: Any?) -> Bool {
2148
+ switch key {
2149
+ case "_owner":
2150
+ self._owner = (newValue as? JSWeakRef<NativeScriptKit.View>)
2151
+ return true
2152
+ default: return false
2153
+ }
2154
+ }
2155
+ }
2156
+
2157
+ public enum Core_ui_tab_view_index {
2158
+ public static func updateTitleAndIconPositions(
2159
+ _ tabItem: TabViewItem?, _ tabBarItem: UITabBarItem?, _ controller: UIViewController?
2160
+ ) throws {
2161
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:218)
2162
+ if !jsTruthy(tabItem) || !jsTruthy(tabBarItem) {
2163
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:219)
2164
+ return
2165
+ }
2166
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:224)
2167
+ let orientation: UIInterfaceOrientation = try jsUnwrap(controller, "interfaceOrientation").interfaceOrientation
2168
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:225)
2169
+ let isPortrait: Bool =
2170
+ orientation != UIInterfaceOrientation.landscapeLeft && orientation != UIInterfaceOrientation.landscapeRight
2171
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:226)
2172
+ let isIconAboveTitle: Bool =
2173
+ try (Core_utils_constants.SDK_VERSION < 11)
2174
+ || (jsStringEquals(jsUnwrap(Core_platform_device_index.Device, "deviceType").deviceType, "Phone")
2175
+ && isPortrait)
2176
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:228)
2177
+ if try !(jsTruthy(jsUnwrap(tabItem, "iconSource").iconSource)) {
2178
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:229)
2179
+ if isIconAboveTitle {
2180
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:230)
2181
+ try jsUnwrap(tabBarItem, setting: "titlePositionAdjustment").titlePositionAdjustment = UIOffset(
2182
+ horizontal: 0, vertical: CGFloat(jsNativeNumber(-20)))
2183
+ } else {
2184
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:235)
2185
+ try jsUnwrap(tabBarItem, setting: "titlePositionAdjustment").titlePositionAdjustment = UIOffset(
2186
+ horizontal: 0, vertical: 0)
2187
+ }
2188
+ }
2189
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:239)
2190
+ if try !(jsTruthy(jsUnwrap(tabItem, "title").title)) {
2191
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:240)
2192
+ if isIconAboveTitle {
2193
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:241)
2194
+ try jsUnwrap(tabBarItem, setting: "imageInsets").imageInsets = UIEdgeInsets(
2195
+ top: 6, left: 0, bottom: CGFloat(jsNativeNumber(-6)), right: 0)
2196
+ } else {
2197
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:248)
2198
+ try jsUnwrap(tabBarItem, setting: "imageInsets").imageInsets = UIEdgeInsets(
2199
+ top: 0, left: 0, bottom: 0, right: 0)
2200
+ }
2201
+ }
2202
+ }
2203
+ #sourceLocation()
2204
+ public static func getTitleAttributesForStates(_ tabView: TabView?) throws -> Any? {
2205
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:1036)
2206
+ let result: Any? = JSObject([("normalState", NSMutableDictionary()), ("selectedState", NSMutableDictionary())])
2207
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:1041)
2208
+ let titleFontSize: Double = try jsUnwrap(jsUnwrap(tabView, "style").style, "tabTextFontSize").tabTextFontSize
2209
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:1042)
2210
+ var font: Font__font_ios? = try { () throws -> Font__font_ios? in
2211
+ let __v_13 = try jsUnwrap(jsUnwrap(tabView, "style").style, "fontInternal").fontInternal
2212
+ return jsTruthy(__v_13) ? jsPresent(__v_13) : Font__font_ios.default__Font
2213
+ }()
2214
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:1043)
2215
+ if !titleFontSize.isNaN {
2216
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:1044)
2217
+ font = try (jsUnwrap(font, "withFontSize").withFontSize(titleFontSize) as? Font__font_ios)
2218
+ }
2219
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:1047)
2220
+ let nativeFont: UIFont? =
2221
+ try jsUnwrap(font, "getUIFont").getUIFont(UIFont.systemFont(ofSize: UIFont.labelFontSize)) as? UIFont
2222
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:1048)
2223
+ _ = try jsCallMethod(
2224
+ jsGet(result, "normalState"), "setValueForKey", jsObjectRequired(nativeFont),
2225
+ NSAttributedString.Key.font.rawValue)
2226
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:1049)
2227
+ _ = try jsCallMethod(
2228
+ jsGet(result, "selectedState"), "setValueForKey", jsObjectRequired(nativeFont),
2229
+ NSAttributedString.Key.font.rawValue)
2230
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:1051)
2231
+ let titleColor: Color? = try jsUnwrap(jsUnwrap(tabView, "style").style, "tabTextColor").tabTextColor
2232
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:1052)
2233
+ if titleColor != nil {
2234
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:1053)
2235
+ _ = try jsCallMethod(
2236
+ jsGet(result, "normalState"), "setValueForKey",
2237
+ (jsCastPresent(jsUnwrap(titleColor, "ios").ios) as UIColor),
2238
+ NSAttributedString.Key.foregroundColor.rawValue)
2239
+ }
2240
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:1055)
2241
+ let selectedTitleColor: Color? = try jsUnwrap(jsUnwrap(tabView, "style").style, "selectedTabTextColor")
2242
+ .selectedTabTextColor
2243
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:1056)
2244
+ if selectedTitleColor != nil {
2245
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:1057)
2246
+ _ = try jsCallMethod(
2247
+ jsGet(result, "selectedState"), "setValueForKey",
2248
+ (jsCastPresent(jsUnwrap(selectedTitleColor, "ios").ios) as UIColor),
2249
+ NSAttributedString.Key.foregroundColor.rawValue)
2250
+ }
2251
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:1060)
2252
+ return result
2253
+ }
2254
+ #sourceLocation()
2255
+ public static func applyStatesToItem(_ item: UITabBarItem?, _ states: Any?) throws {
2256
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:1064)
2257
+ try jsUnwrap(item, "setTitleTextAttributesForState").setTitleTextAttributes(
2258
+ jsNativeKeyedOrNil(jsGet(states, "normalState"), NSAttributedString.Key.self), for: UIControl.State.normal)
2259
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:1065)
2260
+ try jsUnwrap(item, "setTitleTextAttributesForState").setTitleTextAttributes(
2261
+ jsNativeKeyedOrNil(jsGet(states, "selectedState"), NSAttributedString.Key.self),
2262
+ for: UIControl.State.selected)
2263
+ }
2264
+ }
2265
+
2266
+ #sourceLocation()
2267
+ public func __init_Core_ui_tab_view_index() {
2268
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:22)
2269
+
2270
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:100)
2271
+
2272
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:172)
2273
+
2274
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:339)
2275
+ JSPrototypes.declare(
2276
+ TabView.self, "ios",
2277
+ get: { (__this: Any?) throws -> Any? in
2278
+ guard let __o = __this as? TabView else { throw JSException(JSTypeError("Illegal invocation")) }
2279
+ return __o.ios
2280
+ }, set: nil)
2281
+ #sourceLocation(file:"@nativescript/core/ui.tab-view.index.ios.ts",line:985)
2282
+
2283
+ }
2284
+ #sourceLocation()