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

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 (1612) 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 +35 -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 +97 -0
  33. package/dist/driver/compile.js +583 -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 +341 -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 +653 -0
  46. package/dist/kotlin/app-modules.js +111 -0
  47. package/dist/kotlin/arguments.js +403 -0
  48. package/dist/kotlin/assignment.js +226 -0
  49. package/dist/kotlin/builtins.js +571 -0
  50. package/dist/kotlin/calls.js +523 -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 +219 -0
  57. package/dist/kotlin/classes.js +333 -0
  58. package/dist/kotlin/components.js +455 -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 +751 -0
  63. package/dist/kotlin/core-index.js +228 -0
  64. package/dist/kotlin/declarations.js +463 -0
  65. package/dist/kotlin/diagnostics.js +28 -0
  66. package/dist/kotlin/expression-statements.js +228 -0
  67. package/dist/kotlin/expressions.js +468 -0
  68. package/dist/kotlin/functions.js +488 -0
  69. package/dist/kotlin/global-calls.js +318 -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 +639 -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 +125 -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 +379 -0
  91. package/dist/kotlin/native/types.js +424 -0
  92. package/dist/kotlin/operators.js +452 -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 +159 -0
  97. package/dist/kotlin/render.js +425 -0
  98. package/dist/kotlin/state-backend.js +123 -0
  99. package/dist/kotlin/statements.js +435 -0
  100. package/dist/kotlin/static-calls.js +297 -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 +586 -0
  111. package/dist/plugins/native-ios.js +634 -0
  112. package/dist/plugins/resolve.js +108 -0
  113. package/dist/plugins/source.js +1174 -0
  114. package/dist/program/app-modules.js +127 -0
  115. package/dist/program/app-paths.js +128 -0
  116. package/dist/program/build-caches.js +14 -0
  117. package/dist/program/build-context.js +48 -0
  118. package/dist/program/class-mixins.js +463 -0
  119. package/dist/program/constructor-factories.js +134 -0
  120. package/dist/program/core-facts.js +158 -0
  121. package/dist/program/core-patches.js +59 -0
  122. package/dist/program/env.js +4 -0
  123. package/dist/program/glob.js +274 -0
  124. package/dist/program/module-order.js +123 -0
  125. package/dist/program/order.js +23 -0
  126. package/dist/program/patterns.js +99 -0
  127. package/dist/program/platform.js +429 -0
  128. package/dist/program/program.js +918 -0
  129. package/dist/program/properties.js +61 -0
  130. package/dist/program/reach.js +444 -0
  131. package/dist/program/source-lines.js +271 -0
  132. package/dist/program/stable-names.js +112 -0
  133. package/dist/program/vite-plugins.js +144 -0
  134. package/dist/semantics/apis/api.js +31 -0
  135. package/dist/semantics/apis/array.js +69 -0
  136. package/dist/semantics/apis/bigint.js +53 -0
  137. package/dist/semantics/apis/console.js +29 -0
  138. package/dist/semantics/apis/date.js +7 -0
  139. package/dist/semantics/apis/globals.js +40 -0
  140. package/dist/semantics/apis/json.js +6 -0
  141. package/dist/semantics/apis/mapset.js +21 -0
  142. package/dist/semantics/apis/math.js +48 -0
  143. package/dist/semantics/apis/number.js +33 -0
  144. package/dist/semantics/apis/object.js +26 -0
  145. package/dist/semantics/apis/operators.js +316 -0
  146. package/dist/semantics/apis/promise.js +22 -0
  147. package/dist/semantics/apis/regexp.js +15 -0
  148. package/dist/semantics/apis/statics.js +67 -0
  149. package/dist/semantics/apis/string.js +45 -0
  150. package/dist/semantics/ast.js +333 -0
  151. package/dist/semantics/async.js +582 -0
  152. package/dist/semantics/class-plan.js +168 -0
  153. package/dist/semantics/classes.js +597 -0
  154. package/dist/semantics/config.js +29 -0
  155. package/dist/semantics/constant-init.js +107 -0
  156. package/dist/semantics/conversion.js +255 -0
  157. package/dist/semantics/decision-trace.js +304 -0
  158. package/dist/semantics/facts.js +433 -0
  159. package/dist/semantics/forms/by-name.js +338 -0
  160. package/dist/semantics/forms/flow.js +336 -0
  161. package/dist/semantics/forms/forms.js +311 -0
  162. package/dist/semantics/forms/observers.js +513 -0
  163. package/dist/semantics/forms/open.js +218 -0
  164. package/dist/semantics/forms/place-calls.js +387 -0
  165. package/dist/semantics/forms/placements.js +296 -0
  166. package/dist/semantics/forms/results.js +307 -0
  167. package/dist/semantics/forms/union-find.js +157 -0
  168. package/dist/semantics/globals.js +49 -0
  169. package/dist/semantics/lang/arrays.js +238 -0
  170. package/dist/semantics/lang/fields.js +211 -0
  171. package/dist/semantics/lang/members.js +277 -0
  172. package/dist/semantics/lang/prototypes.js +262 -0
  173. package/dist/semantics/lang/this-args.js +189 -0
  174. package/dist/semantics/lang.js +244 -0
  175. package/dist/semantics/ledger.js +157 -0
  176. package/dist/semantics/limits.js +11 -0
  177. package/dist/semantics/losses.js +201 -0
  178. package/dist/semantics/lowering-methods.js +42 -0
  179. package/dist/semantics/marks.js +39 -0
  180. package/dist/semantics/nullish.js +936 -0
  181. package/dist/semantics/observers.js +1 -0
  182. package/dist/semantics/placement.js +698 -0
  183. package/dist/semantics/platform-globals.js +20 -0
  184. package/dist/semantics/read-sites.js +29 -0
  185. package/dist/semantics/refusals.js +206 -0
  186. package/dist/semantics/refuse-construction.js +64 -0
  187. package/dist/semantics/refuse-receivers.js +189 -0
  188. package/dist/semantics/refuse-scope.js +77 -0
  189. package/dist/semantics/regexp.js +219 -0
  190. package/dist/semantics/result-shapes.js +203 -0
  191. package/dist/semantics/runtime.js +483 -0
  192. package/dist/semantics/shape-defined-keys.js +146 -0
  193. package/dist/semantics/shape-instance-keys.js +230 -0
  194. package/dist/semantics/shape-map.js +72 -0
  195. package/dist/semantics/shapes.js +660 -0
  196. package/dist/semantics/sharing.js +406 -0
  197. package/dist/semantics/signals.js +166 -0
  198. package/dist/semantics/spelled.js +45 -0
  199. package/dist/semantics/states/by-name.js +46 -0
  200. package/dist/semantics/states/elements.js +310 -0
  201. package/dist/semantics/states/fields.js +308 -0
  202. package/dist/semantics/states/foreign.js +208 -0
  203. package/dist/semantics/states/lenient.js +246 -0
  204. package/dist/semantics/states/missing.js +289 -0
  205. package/dist/semantics/states/nil.js +223 -0
  206. package/dist/semantics/states/parameters.js +191 -0
  207. package/dist/semantics/states/predicates.js +232 -0
  208. package/dist/semantics/states/reads.js +247 -0
  209. package/dist/semantics/states/results.js +113 -0
  210. package/dist/semantics/states/untrusted.js +141 -0
  211. package/dist/semantics/states/untyped.js +194 -0
  212. package/dist/semantics/states/value-states.js +422 -0
  213. package/dist/semantics/tdz.js +106 -0
  214. package/dist/semantics/threading.js +77 -0
  215. package/dist/semantics/throws.js +881 -0
  216. package/dist/semantics/top-names.js +59 -0
  217. package/dist/semantics/translator-methods.js +602 -0
  218. package/dist/semantics/trust.js +321 -0
  219. package/dist/semantics/type-methods.js +168 -0
  220. package/dist/semantics/type-step.js +116 -0
  221. package/dist/semantics/types.js +478 -0
  222. package/dist/semantics/worker-state.js +198 -0
  223. package/dist/swift/access.js +769 -0
  224. package/dist/swift/app-modules.js +41 -0
  225. package/dist/swift/arguments.js +245 -0
  226. package/dist/swift/assignment.js +281 -0
  227. package/dist/swift/availability.js +146 -0
  228. package/dist/swift/builtins.js +818 -0
  229. package/dist/swift/calls.js +497 -0
  230. package/dist/swift/casts.js +218 -0
  231. package/dist/swift/checked.js +433 -0
  232. package/dist/swift/class-accessors.js +139 -0
  233. package/dist/swift/class-constructor.js +144 -0
  234. package/dist/swift/class-declaration.js +308 -0
  235. package/dist/swift/class-fields.js +361 -0
  236. package/dist/swift/class-methods.js +247 -0
  237. package/dist/swift/classes.js +524 -0
  238. package/dist/swift/components.js +406 -0
  239. package/dist/swift/construction.js +295 -0
  240. package/dist/swift/control-flow.js +210 -0
  241. package/dist/swift/conversion.js +425 -0
  242. package/dist/swift/core-api.js +1065 -0
  243. package/dist/swift/declarations.js +389 -0
  244. package/dist/swift/enums.js +58 -0
  245. package/dist/swift/expression-statements.js +312 -0
  246. package/dist/swift/expressions.js +575 -0
  247. package/dist/swift/from-any.js +316 -0
  248. package/dist/swift/functions.js +509 -0
  249. package/dist/swift/generics.js +128 -0
  250. package/dist/swift/global-calls.js +219 -0
  251. package/dist/swift/install.js +109 -0
  252. package/dist/swift/key-plans.js +136 -0
  253. package/dist/swift/kit-gen.js +605 -0
  254. package/dist/swift/lenient.js +468 -0
  255. package/dist/swift/library.js +109 -0
  256. package/dist/swift/literals.js +556 -0
  257. package/dist/swift/loops.js +245 -0
  258. package/dist/swift/marks.js +212 -0
  259. package/dist/swift/members.js +253 -0
  260. package/dist/swift/method-values.js +179 -0
  261. package/dist/swift/mixins.js +113 -0
  262. package/dist/swift/modules.js +969 -0
  263. package/dist/swift/names.js +370 -0
  264. package/dist/swift/narrowing.js +170 -0
  265. package/dist/swift/native/api.js +269 -0
  266. package/dist/swift/native/bridging.js +240 -0
  267. package/dist/swift/native/calls.js +586 -0
  268. package/dist/swift/native/conversions.js +532 -0
  269. package/dist/swift/native/dispatch.js +218 -0
  270. package/dist/swift/native/members.js +416 -0
  271. package/dist/swift/native/sdk-tables.js +820 -0
  272. package/dist/swift/native/sdk-types.js +1 -0
  273. package/dist/swift/native/sdk.js +417 -0
  274. package/dist/swift/native/subclasses.js +533 -0
  275. package/dist/swift/object-classes.js +396 -0
  276. package/dist/swift/operators.js +578 -0
  277. package/dist/swift/optional-chains.js +405 -0
  278. package/dist/swift/parameters.js +213 -0
  279. package/dist/swift/placement.js +941 -0
  280. package/dist/swift/protocols.js +164 -0
  281. package/dist/swift/prototype-calls.js +242 -0
  282. package/dist/swift/render.js +449 -0
  283. package/dist/swift/results.js +370 -0
  284. package/dist/swift/state-backend.js +243 -0
  285. package/dist/swift/statements.js +514 -0
  286. package/dist/swift/static-calls.js +325 -0
  287. package/dist/swift/syntax.js +916 -0
  288. package/dist/swift/translator-types.js +1 -0
  289. package/dist/swift/translator.js +890 -0
  290. package/dist/swift/type-facts.js +530 -0
  291. package/dist/swift/type-tests.js +211 -0
  292. package/dist/swift/types.js +665 -0
  293. package/dist/targets/android/build.js +602 -0
  294. package/dist/targets/android/compose-mapping.js +218 -0
  295. package/dist/targets/android/deprecations.js +81 -0
  296. package/dist/targets/android/resources.js +80 -0
  297. package/dist/targets/ios/build.js +584 -0
  298. package/dist/targets/ios/core-native.js +149 -0
  299. package/dist/targets/ios/dependencies.js +476 -0
  300. package/dist/targets/ios/plist.js +127 -0
  301. package/dist/targets/ios/resources.js +285 -0
  302. package/dist/targets/ios/retrace.js +196 -0
  303. package/dist/targets/ios/signing.js +84 -0
  304. package/dist/targets/ios/xcodegen.js +39 -0
  305. package/dist/targets/resources.js +194 -0
  306. package/dist/template/model.js +38 -0
  307. package/dist/template/plan.js +673 -0
  308. package/dist/tools/doctor.js +172 -0
  309. package/dist/tools/retrace.js +116 -0
  310. package/dist/tools/verify.js +330 -0
  311. package/dist/types/adapter-api.d.ts +696 -0
  312. package/dist/types/binding-api.d.ts +48 -0
  313. package/dist/types/elements.d.ts +10 -0
  314. package/dist/types/ir.d.ts +292 -0
  315. package/dist/types/listview.d.ts +15 -0
  316. package/dist/types/rewrite.d.ts +18 -0
  317. package/dist/types/typescript-internal.d.ts +35 -0
  318. package/dist/xml/app.js +65 -0
  319. package/dist/xml/bindings.js +308 -0
  320. package/dist/xml/contexts.js +296 -0
  321. package/dist/xml/fold.js +170 -0
  322. package/dist/xml/keys.js +146 -0
  323. package/dist/xml/pages.js +550 -0
  324. package/dist/xml/plan.js +650 -0
  325. package/docs/CLI.md +131 -0
  326. package/docs/cli/compile-android.md +30 -0
  327. package/docs/cli/compile-doctor.md +18 -0
  328. package/docs/cli/compile-ios.md +30 -0
  329. package/docs/cli/compile-retrace.md +18 -0
  330. package/docs/cli/compile-verify.md +18 -0
  331. package/docs/cli/compile.md +15 -0
  332. package/kit-android/build.gradle.kts +65 -0
  333. package/kit-android/consumer-rules.pro +7 -0
  334. package/kit-android/generated/kotlin/org/nativescript/kit/__Exports.kt +966 -0
  335. package/kit-android/generated/kotlin/org/nativescript/kit/__Modules.kt +125 -0
  336. package/kit-android/generated/kotlin/org/nativescript/kit/__Objects.kt +32114 -0
  337. package/kit-android/generated/kotlin/org/nativescript/kit/abortcontroller_abortsignal.kt +101 -0
  338. package/kit-android/generated/kotlin/org/nativescript/kit/abortcontroller_index.kt +109 -0
  339. package/kit-android/generated/kotlin/org/nativescript/kit/accessibility_accessibility_common.kt +547 -0
  340. package/kit-android/generated/kotlin/org/nativescript/kit/accessibility_accessibility_properties.kt +263 -0
  341. package/kit-android/generated/kotlin/org/nativescript/kit/accessibility_index.kt +6 -0
  342. package/kit-android/generated/kotlin/org/nativescript/kit/application_application.kt +2656 -0
  343. package/kit-android/generated/kotlin/org/nativescript/kit/application_application_common.kt +1932 -0
  344. package/kit-android/generated/kotlin/org/nativescript/kit/application_application_interfaces.kt +6 -0
  345. package/kit-android/generated/kotlin/org/nativescript/kit/application_application_shims.kt +111 -0
  346. package/kit-android/generated/kotlin/org/nativescript/kit/application_helpers.kt +198 -0
  347. package/kit-android/generated/kotlin/org/nativescript/kit/application_helpers_common.kt +270 -0
  348. package/kit-android/generated/kotlin/org/nativescript/kit/application_index.kt +6 -0
  349. package/kit-android/generated/kotlin/org/nativescript/kit/application_scene_delegate_bridge.kt +233 -0
  350. package/kit-android/generated/kotlin/org/nativescript/kit/application_settings_application_settings_common.kt +28 -0
  351. package/kit-android/generated/kotlin/org/nativescript/kit/application_settings_index.kt +188 -0
  352. package/kit-android/generated/kotlin/org/nativescript/kit/color_color_common.kt +707 -0
  353. package/kit-android/generated/kotlin/org/nativescript/kit/color_color_types.kt +6 -0
  354. package/kit-android/generated/kotlin/org/nativescript/kit/color_color_utils.kt +368 -0
  355. package/kit-android/generated/kotlin/org/nativescript/kit/color_index.kt +37 -0
  356. package/kit-android/generated/kotlin/org/nativescript/kit/color_known_colors.kt +418 -0
  357. package/kit-android/generated/kotlin/org/nativescript/kit/com.tns.FragmentClass.kt +287 -0
  358. package/kit-android/generated/kotlin/org/nativescript/kit/com.tns.NativeScriptActivity.kt +263 -0
  359. package/kit-android/generated/kotlin/org/nativescript/kit/com.tns.OnBackPressedCallback.kt +116 -0
  360. package/kit-android/generated/kotlin/org/nativescript/kit/connectivity_index.kt +289 -0
  361. package/kit-android/generated/kotlin/org/nativescript/kit/core_types_animation_types.kt +56 -0
  362. package/kit-android/generated/kotlin/org/nativescript/kit/core_types_index.kt +427 -0
  363. package/kit-android/generated/kotlin/org/nativescript/kit/core_types_validators.kt +34 -0
  364. package/kit-android/generated/kotlin/org/nativescript/kit/css_CSS3Parser.kt +954 -0
  365. package/kit-android/generated/kotlin/org/nativescript/kit/css_CSSNativeScript.kt +205 -0
  366. package/kit-android/generated/kotlin/org/nativescript/kit/css_mediaquery_index.kt +270 -0
  367. package/kit-android/generated/kotlin/org/nativescript/kit/css_parser.kt +885 -0
  368. package/kit-android/generated/kotlin/org/nativescript/kit/css_system_classes.kt +98 -0
  369. package/kit-android/generated/kotlin/org/nativescript/kit/css_value_reworkcss_value.kt +214 -0
  370. package/kit-android/generated/kotlin/org/nativescript/kit/data_observable_array_index.kt +798 -0
  371. package/kit-android/generated/kotlin/org/nativescript/kit/data_observable_index.kt +1175 -0
  372. package/kit-android/generated/kotlin/org/nativescript/kit/data_virtual_array_index.kt +271 -0
  373. package/kit-android/generated/kotlin/org/nativescript/kit/file_system_file_system_access.kt +3828 -0
  374. package/kit-android/generated/kotlin/org/nativescript/kit/file_system_index.kt +1669 -0
  375. package/kit-android/generated/kotlin/org/nativescript/kit/fps_meter_fps_native.kt +177 -0
  376. package/kit-android/generated/kotlin/org/nativescript/kit/fps_meter_index.kt +93 -0
  377. package/kit-android/generated/kotlin/org/nativescript/kit/globals_global_utils.kt +185 -0
  378. package/kit-android/generated/kotlin/org/nativescript/kit/http_http_interfaces.kt +14 -0
  379. package/kit-android/generated/kotlin/org/nativescript/kit/http_http_request_http_request_common.kt +41 -0
  380. package/kit-android/generated/kotlin/org/nativescript/kit/http_http_request_index.kt +119 -0
  381. package/kit-android/generated/kotlin/org/nativescript/kit/http_http_request_internal_http_request_internal_common.kt +61 -0
  382. package/kit-android/generated/kotlin/org/nativescript/kit/http_http_request_internal_index.kt +237 -0
  383. package/kit-android/generated/kotlin/org/nativescript/kit/http_index.kt +155 -0
  384. package/kit-android/generated/kotlin/org/nativescript/kit/image_asset_image_asset_common.kt +201 -0
  385. package/kit-android/generated/kotlin/org/nativescript/kit/image_asset_index.kt +119 -0
  386. package/kit-android/generated/kotlin/org/nativescript/kit/image_source_image_source_common.kt +26 -0
  387. package/kit-android/generated/kotlin/org/nativescript/kit/image_source_index.kt +846 -0
  388. package/kit-android/generated/kotlin/org/nativescript/kit/js_libs_easysax_easysax.kt +1045 -0
  389. package/kit-android/generated/kotlin/org/nativescript/kit/matrix_index.kt +166 -0
  390. package/kit-android/generated/kotlin/org/nativescript/kit/media_query_list_index.kt +391 -0
  391. package/kit-android/generated/kotlin/org/nativescript/kit/module_name_resolver_helpers.kt +45 -0
  392. package/kit-android/generated/kotlin/org/nativescript/kit/module_name_resolver_index.kt +185 -0
  393. package/kit-android/generated/kotlin/org/nativescript/kit/module_name_resolver_non_bundle_workflow_compat.kt +262 -0
  394. package/kit-android/generated/kotlin/org/nativescript/kit/module_name_resolver_qualifier_matcher_index.kt +305 -0
  395. package/kit-android/generated/kotlin/org/nativescript/kit/native_window_index.kt +6 -0
  396. package/kit-android/generated/kotlin/org/nativescript/kit/native_window_native_window.kt +397 -0
  397. package/kit-android/generated/kotlin/org/nativescript/kit/native_window_native_window_common.kt +685 -0
  398. package/kit-android/generated/kotlin/org/nativescript/kit/native_window_native_window_interfaces.kt +51 -0
  399. package/kit-android/generated/kotlin/org/nativescript/kit/native_window_window_base.kt +223 -0
  400. package/kit-android/generated/kotlin/org/nativescript/kit/npm_css_what_src_index.kt +4 -0
  401. package/kit-android/generated/kotlin/org/nativescript/kit/npm_css_what_src_parse.kt +755 -0
  402. package/kit-android/generated/kotlin/org/nativescript/kit/npm_css_what_src_stringify.kt +212 -0
  403. package/kit-android/generated/kotlin/org/nativescript/kit/npm_css_what_src_types.kt +65 -0
  404. package/kit-android/generated/kotlin/org/nativescript/kit/org.nativescript.NativeScriptComponentCallbacks.kt +57 -0
  405. package/kit-android/generated/kotlin/org/nativescript/kit/org.nativescript.NativeScriptLifecycleCallbacks.kt +579 -0
  406. package/kit-android/generated/kotlin/org/nativescript/kit/platform_common.kt +20 -0
  407. package/kit-android/generated/kotlin/org/nativescript/kit/platform_device_index.kt +251 -0
  408. package/kit-android/generated/kotlin/org/nativescript/kit/platform_index.kt +6 -0
  409. package/kit-android/generated/kotlin/org/nativescript/kit/platform_screen_index.kt +183 -0
  410. package/kit-android/generated/kotlin/org/nativescript/kit/profiling_index.kt +485 -0
  411. package/kit-android/generated/kotlin/org/nativescript/kit/text_formatted_string.kt +6 -0
  412. package/kit-android/generated/kotlin/org/nativescript/kit/text_index.kt +15 -0
  413. package/kit-android/generated/kotlin/org/nativescript/kit/text_span.kt +6 -0
  414. package/kit-android/generated/kotlin/org/nativescript/kit/text_text_common.kt +277 -0
  415. package/kit-android/generated/kotlin/org/nativescript/kit/trace_index.kt +480 -0
  416. package/kit-android/generated/kotlin/org/nativescript/kit/ui_action_bar_action_bar_common.kt +1081 -0
  417. package/kit-android/generated/kotlin/org/nativescript/kit/ui_action_bar_index.kt +1207 -0
  418. package/kit-android/generated/kotlin/org/nativescript/kit/ui_activity_indicator_activity_indicator_common.kt +89 -0
  419. package/kit-android/generated/kotlin/org/nativescript/kit/ui_activity_indicator_index.kt +171 -0
  420. package/kit-android/generated/kotlin/org/nativescript/kit/ui_animation_animation_common.kt +518 -0
  421. package/kit-android/generated/kotlin/org/nativescript/kit/ui_animation_animation_shared.kt +6 -0
  422. package/kit-android/generated/kotlin/org/nativescript/kit/ui_animation_animation_types.kt +6 -0
  423. package/kit-android/generated/kotlin/org/nativescript/kit/ui_animation_index.kt +1539 -0
  424. package/kit-android/generated/kotlin/org/nativescript/kit/ui_animation_keyframe_animation.kt +1081 -0
  425. package/kit-android/generated/kotlin/org/nativescript/kit/ui_builder_binding_builder.kt +369 -0
  426. package/kit-android/generated/kotlin/org/nativescript/kit/ui_builder_component_builder_index.kt +487 -0
  427. package/kit-android/generated/kotlin/org/nativescript/kit/ui_builder_index.kt +1938 -0
  428. package/kit-android/generated/kotlin/org/nativescript/kit/ui_button_button_common.kt +70 -0
  429. package/kit-android/generated/kotlin/org/nativescript/kit/ui_button_index.kt +367 -0
  430. package/kit-android/generated/kotlin/org/nativescript/kit/ui_content_view_index.kt +220 -0
  431. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_bindable_bindable_expressions.kt +735 -0
  432. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_bindable_bindable_resources.kt +17 -0
  433. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_bindable_bindable_types.kt +6 -0
  434. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_bindable_expression_parser.kt +4970 -0
  435. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_bindable_index.kt +1342 -0
  436. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_control_state_change_index.kt +52 -0
  437. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_properties_index.kt +3578 -0
  438. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_properties_property_shared.kt +44 -0
  439. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_view_base_index.kt +3261 -0
  440. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_view_base_utils.kt +16 -0
  441. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_view_index.kt +4716 -0
  442. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_view_overflow_edges.kt +82 -0
  443. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_view_view_common.kt +3595 -0
  444. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_view_view_helper_index.kt +134 -0
  445. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_view_view_helper_view_helper_common.kt +360 -0
  446. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_view_view_helper_view_helper_shared.kt +6 -0
  447. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_view_view_interfaces.kt +349 -0
  448. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_weak_event_listener_index.kt +266 -0
  449. package/kit-android/generated/kotlin/org/nativescript/kit/ui_date_picker_date_picker_common.kt +369 -0
  450. package/kit-android/generated/kotlin/org/nativescript/kit/ui_date_picker_index.kt +427 -0
  451. package/kit-android/generated/kotlin/org/nativescript/kit/ui_dialogs_dialogs_common.kt +428 -0
  452. package/kit-android/generated/kotlin/org/nativescript/kit/ui_dialogs_index.kt +689 -0
  453. package/kit-android/generated/kotlin/org/nativescript/kit/ui_editable_text_base_editable_text_base_common.kt +421 -0
  454. package/kit-android/generated/kotlin/org/nativescript/kit/ui_editable_text_base_index.kt +1140 -0
  455. package/kit-android/generated/kotlin/org/nativescript/kit/ui_embedding_index.kt +34 -0
  456. package/kit-android/generated/kotlin/org/nativescript/kit/ui_enums_enums.kt +6 -0
  457. package/kit-android/generated/kotlin/org/nativescript/kit/ui_enums_index.kt +6 -0
  458. package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_activity.kt +210 -0
  459. package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_fragment.kt +88 -0
  460. package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_fragment_transitions.kt +1544 -0
  461. package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_fragment_transitions_types.kt +25 -0
  462. package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_frame_common.kt +1350 -0
  463. package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_frame_constants.kt +10 -0
  464. package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_frame_helper_for_android.kt +615 -0
  465. package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_frame_helpers.kt +42 -0
  466. package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_frame_interfaces.kt +22 -0
  467. package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_frame_stack.kt +112 -0
  468. package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_index.kt +1890 -0
  469. package/kit-android/generated/kotlin/org/nativescript/kit/ui_gestures_gestures_common.kt +208 -0
  470. package/kit-android/generated/kotlin/org/nativescript/kit/ui_gestures_gestures_types.kt +348 -0
  471. package/kit-android/generated/kotlin/org/nativescript/kit/ui_gestures_index.kt +1785 -0
  472. package/kit-android/generated/kotlin/org/nativescript/kit/ui_gestures_touch_manager.kt +288 -0
  473. package/kit-android/generated/kotlin/org/nativescript/kit/ui_html_view_html_view_common.kt +121 -0
  474. package/kit-android/generated/kotlin/org/nativescript/kit/ui_html_view_index.kt +283 -0
  475. package/kit-android/generated/kotlin/org/nativescript/kit/ui_image_cache_image_cache_common.kt +450 -0
  476. package/kit-android/generated/kotlin/org/nativescript/kit/ui_image_cache_index.kt +225 -0
  477. package/kit-android/generated/kotlin/org/nativescript/kit/ui_image_image_common.kt +574 -0
  478. package/kit-android/generated/kotlin/org/nativescript/kit/ui_image_index.kt +493 -0
  479. package/kit-android/generated/kotlin/org/nativescript/kit/ui_image_symbol_effects.kt +31 -0
  480. package/kit-android/generated/kotlin/org/nativescript/kit/ui_image_symbol_effects_common.kt +138 -0
  481. package/kit-android/generated/kotlin/org/nativescript/kit/ui_label_index.kt +108 -0
  482. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_absolute_layout_absolute_layout_common.kt +167 -0
  483. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_absolute_layout_index.kt +94 -0
  484. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_dock_layout_dock_layout_common.kt +157 -0
  485. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_dock_layout_index.kt +124 -0
  486. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_flexbox_layout_flexbox_layout_common.kt +1004 -0
  487. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_flexbox_layout_index.kt +675 -0
  488. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_grid_layout_grid_layout_common.kt +1011 -0
  489. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_grid_layout_index.kt +450 -0
  490. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_index.kt +6 -0
  491. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_layout_base.kt +123 -0
  492. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_layout_base_common.kt +442 -0
  493. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_liquid_glass_container_index.kt +25 -0
  494. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_liquid_glass_container_liquid_glass_container_common.kt +38 -0
  495. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_liquid_glass_index.kt +30 -0
  496. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_liquid_glass_liquid_glass_common.kt +25 -0
  497. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_root_layout_index.kt +556 -0
  498. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_root_layout_root_layout_common.kt +930 -0
  499. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_root_layout_root_layout_stack.kt +49 -0
  500. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_stack_layout_index.kt +63 -0
  501. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_stack_layout_stack_layout_common.kt +83 -0
  502. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_wrap_layout_index.kt +106 -0
  503. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_wrap_layout_wrap_layout_common.kt +185 -0
  504. package/kit-android/generated/kotlin/org/nativescript/kit/ui_list_picker_index.kt +400 -0
  505. package/kit-android/generated/kotlin/org/nativescript/kit/ui_list_picker_list_picker_common.kt +260 -0
  506. package/kit-android/generated/kotlin/org/nativescript/kit/ui_list_view_index.kt +2406 -0
  507. package/kit-android/generated/kotlin/org/nativescript/kit/ui_list_view_list_view_common.kt +912 -0
  508. package/kit-android/generated/kotlin/org/nativescript/kit/ui_page_events.kt +17 -0
  509. package/kit-android/generated/kotlin/org/nativescript/kit/ui_page_index.kt +241 -0
  510. package/kit-android/generated/kotlin/org/nativescript/kit/ui_page_page_common.kt +449 -0
  511. package/kit-android/generated/kotlin/org/nativescript/kit/ui_placeholder_index.kt +61 -0
  512. package/kit-android/generated/kotlin/org/nativescript/kit/ui_placeholder_placeholder_common.kt +6 -0
  513. package/kit-android/generated/kotlin/org/nativescript/kit/ui_progress_index.kt +204 -0
  514. package/kit-android/generated/kotlin/org/nativescript/kit/ui_progress_progress_common.kt +129 -0
  515. package/kit-android/generated/kotlin/org/nativescript/kit/ui_proxy_view_container_index.kt +457 -0
  516. package/kit-android/generated/kotlin/org/nativescript/kit/ui_repeater_index.kt +523 -0
  517. package/kit-android/generated/kotlin/org/nativescript/kit/ui_scroll_view_index.kt +400 -0
  518. package/kit-android/generated/kotlin/org/nativescript/kit/ui_scroll_view_scroll_view_common.kt +402 -0
  519. package/kit-android/generated/kotlin/org/nativescript/kit/ui_search_bar_index.kt +711 -0
  520. package/kit-android/generated/kotlin/org/nativescript/kit/ui_search_bar_search_bar_common.kt +186 -0
  521. package/kit-android/generated/kotlin/org/nativescript/kit/ui_segmented_bar_index.kt +774 -0
  522. package/kit-android/generated/kotlin/org/nativescript/kit/ui_segmented_bar_segmented_bar_common.kt +409 -0
  523. package/kit-android/generated/kotlin/org/nativescript/kit/ui_slider_index.kt +477 -0
  524. package/kit-android/generated/kotlin/org/nativescript/kit/ui_slider_slider_common.kt +234 -0
  525. package/kit-android/generated/kotlin/org/nativescript/kit/ui_split_view_index.kt +25 -0
  526. package/kit-android/generated/kotlin/org/nativescript/kit/ui_split_view_split_view_common.kt +446 -0
  527. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_background.kt +268 -0
  528. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_background_common.kt +771 -0
  529. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_box_shadow.kt +108 -0
  530. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_clip_path_function.kt +129 -0
  531. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_converters.kt +92 -0
  532. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_css_animation_parser.kt +416 -0
  533. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_css_selector.kt +3532 -0
  534. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_css_shadow.kt +38 -0
  535. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_css_stroke.kt +30 -0
  536. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_css_transform.kt +366 -0
  537. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_css_utils.kt +249 -0
  538. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_font.kt +488 -0
  539. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_font_common.kt +446 -0
  540. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_font_interfaces.kt +6 -0
  541. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_length_shared.kt +264 -0
  542. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_linear_gradient.kt +136 -0
  543. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_style_index.kt +1345 -0
  544. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_style_properties.kt +2907 -0
  545. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_style_scope.kt +3031 -0
  546. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_styling_profile.kt +6 -0
  547. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_styling_shared.kt +6 -0
  548. package/kit-android/generated/kotlin/org/nativescript/kit/ui_switch_index.kt +295 -0
  549. package/kit-android/generated/kotlin/org/nativescript/kit/ui_switch_switch_common.kt +139 -0
  550. package/kit-android/generated/kotlin/org/nativescript/kit/ui_tab_view_index.kt +1977 -0
  551. package/kit-android/generated/kotlin/org/nativescript/kit/ui_tab_view_tab_view_common.kt +902 -0
  552. package/kit-android/generated/kotlin/org/nativescript/kit/ui_text_base_formatted_string.kt +471 -0
  553. package/kit-android/generated/kotlin/org/nativescript/kit/ui_text_base_index.kt +1662 -0
  554. package/kit-android/generated/kotlin/org/nativescript/kit/ui_text_base_span.kt +284 -0
  555. package/kit-android/generated/kotlin/org/nativescript/kit/ui_text_base_text_base_common.kt +792 -0
  556. package/kit-android/generated/kotlin/org/nativescript/kit/ui_text_field_index.kt +211 -0
  557. package/kit-android/generated/kotlin/org/nativescript/kit/ui_text_field_text_field_common.kt +115 -0
  558. package/kit-android/generated/kotlin/org/nativescript/kit/ui_text_view_index.kt +94 -0
  559. package/kit-android/generated/kotlin/org/nativescript/kit/ui_text_view_text_view_common.kt +140 -0
  560. package/kit-android/generated/kotlin/org/nativescript/kit/ui_time_picker_index.kt +225 -0
  561. package/kit-android/generated/kotlin/org/nativescript/kit/ui_time_picker_time_picker_common.kt +699 -0
  562. package/kit-android/generated/kotlin/org/nativescript/kit/ui_transition_fade_transition.kt +68 -0
  563. package/kit-android/generated/kotlin/org/nativescript/kit/ui_transition_flip_transition.kt +209 -0
  564. package/kit-android/generated/kotlin/org/nativescript/kit/ui_transition_index.kt +160 -0
  565. package/kit-android/generated/kotlin/org/nativescript/kit/ui_transition_modal_transition.kt +49 -0
  566. package/kit-android/generated/kotlin/org/nativescript/kit/ui_transition_page_transition.kt +416 -0
  567. package/kit-android/generated/kotlin/org/nativescript/kit/ui_transition_shared_transition.kt +457 -0
  568. package/kit-android/generated/kotlin/org/nativescript/kit/ui_transition_shared_transition_helper.kt +46 -0
  569. package/kit-android/generated/kotlin/org/nativescript/kit/ui_transition_slide_transition.kt +294 -0
  570. package/kit-android/generated/kotlin/org/nativescript/kit/ui_utils.kt +20 -0
  571. package/kit-android/generated/kotlin/org/nativescript/kit/ui_web_view_index.kt +595 -0
  572. package/kit-android/generated/kotlin/org/nativescript/kit/ui_web_view_web_view_common.kt +209 -0
  573. package/kit-android/generated/kotlin/org/nativescript/kit/ui_web_view_web_view_interfaces.kt +6 -0
  574. package/kit-android/generated/kotlin/org/nativescript/kit/utils_animation_helpers.kt +76 -0
  575. package/kit-android/generated/kotlin/org/nativescript/kit/utils_common.kt +224 -0
  576. package/kit-android/generated/kotlin/org/nativescript/kit/utils_constants.kt +22 -0
  577. package/kit-android/generated/kotlin/org/nativescript/kit/utils_debug.kt +9 -0
  578. package/kit-android/generated/kotlin/org/nativescript/kit/utils_debug_source.kt +246 -0
  579. package/kit-android/generated/kotlin/org/nativescript/kit/utils_index.kt +296 -0
  580. package/kit-android/generated/kotlin/org/nativescript/kit/utils_layout_helper_index.kt +139 -0
  581. package/kit-android/generated/kotlin/org/nativescript/kit/utils_layout_helper_layout_helper_common.kt +61 -0
  582. package/kit-android/generated/kotlin/org/nativescript/kit/utils_layout_helper_layout_helper_shared.kt +23 -0
  583. package/kit-android/generated/kotlin/org/nativescript/kit/utils_lazy.kt +20 -0
  584. package/kit-android/generated/kotlin/org/nativescript/kit/utils_macrotask_scheduler.kt +45 -0
  585. package/kit-android/generated/kotlin/org/nativescript/kit/utils_mainthread_helper.kt +64 -0
  586. package/kit-android/generated/kotlin/org/nativescript/kit/utils_module_merge.kt +13 -0
  587. package/kit-android/generated/kotlin/org/nativescript/kit/utils_native_helper.kt +79 -0
  588. package/kit-android/generated/kotlin/org/nativescript/kit/utils_native_helper_for_android.kt +805 -0
  589. package/kit-android/generated/kotlin/org/nativescript/kit/utils_number_utils.kt +66 -0
  590. package/kit-android/generated/kotlin/org/nativescript/kit/utils_platform_check.kt +15 -0
  591. package/kit-android/generated/kotlin/org/nativescript/kit/utils_shared.kt +65 -0
  592. package/kit-android/generated/kotlin/org/nativescript/kit/utils_types.kt +229 -0
  593. package/kit-android/generated/kotlin/org/nativescript/kit/utils_utils_shared.kt +16 -0
  594. package/kit-android/generated/kotlin/org/nativescript/kit/xml_index.kt +869 -0
  595. package/kit-android/generated/manifest.json +860 -0
  596. package/kit-android/generated/source-lines.json +1 -0
  597. package/kit-android/gradle/wrapper/gradle-wrapper.jar +0 -0
  598. package/kit-android/gradle/wrapper/gradle-wrapper.properties +6 -0
  599. package/kit-android/gradlew +240 -0
  600. package/kit-android/overlays/xml-free/kotlin/org/nativescript/kit/ui_builder_index.kt +524 -0
  601. package/kit-android/overlays/xml-free/kotlin/org/nativescript/kit/ui_core_bindable_index.kt +1335 -0
  602. package/kit-android/overlays/xml-free/overlay.json +20 -0
  603. package/kit-android/src/fromcore/kotlin/org/nativescript/kit/AnimationFrame.kt +68 -0
  604. package/kit-android/src/fromcore/kotlin/org/nativescript/kit/CoreBridge.kt +368 -0
  605. package/kit-android/src/fromcore/kotlin/org/nativescript/kit/Modal.kt +61 -0
  606. package/kit-android/src/fromcore/kotlin/org/nativescript/kit/NativeScriptApplication.kt +230 -0
  607. package/kit-android/src/fromcore/kotlin/org/nativescript/kit/Regions.kt +289 -0
  608. package/kit-android/src/main/kotlin/org/nativescript/kit/ChangeDetection.kt +28 -0
  609. package/kit-android/src/main/kotlin/org/nativescript/kit/ColorMix.kt +643 -0
  610. package/kit-android/src/main/kotlin/org/nativescript/kit/JS.kt +10 -0
  611. package/kit-android/src/main/kotlin/org/nativescript/kit/MainThread.kt +10 -0
  612. package/kit-android/src/main/kotlin/org/nativescript/kit/Signals.kt +866 -0
  613. package/kit-android/src/main/kotlin/org/nativescript/kit/UncaughtErrors.kt +51 -0
  614. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Array.kt +731 -0
  615. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/ArrayLike.kt +781 -0
  616. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/BigInt.kt +136 -0
  617. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/CSSCalc.kt +109 -0
  618. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Collections.kt +426 -0
  619. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/CorePackages.kt +13 -0
  620. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Date.kt +573 -0
  621. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Dynamic.kt +689 -0
  622. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/ES2023.kt +93 -0
  623. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/ErrorOrigin.kt +17 -0
  624. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Errors.kt +270 -0
  625. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/HostObjects.kt +72 -0
  626. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Inspect.kt +814 -0
  627. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Intl.kt +702 -0
  628. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Iterators.kt +746 -0
  629. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/JSON.kt +587 -0
  630. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Language.kt +526 -0
  631. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Lowering.kt +70 -0
  632. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Number.kt +367 -0
  633. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Promise.kt +680 -0
  634. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Prototypes.kt +318 -0
  635. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Reactive.kt +36 -0
  636. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Realm.kt +85 -0
  637. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/RegExp.kt +2245 -0
  638. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/ShortestDouble.kt +157 -0
  639. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Strings.kt +398 -0
  640. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/ThrownValue.kt +34 -0
  641. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Timers.kt +182 -0
  642. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/TypedArrays.kt +993 -0
  643. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/URI.kt +74 -0
  644. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Values.kt +1263 -0
  645. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Views.kt +52 -0
  646. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Weak.kt +110 -0
  647. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/WinterTC.kt +356 -0
  648. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Workers.kt +312 -0
  649. package/kit-apple/Overlays/xml-free/Core/ui.builder.index.swift +536 -0
  650. package/kit-apple/Overlays/xml-free/Core/ui.core.bindable.index.swift +1375 -0
  651. package/kit-apple/Overlays/xml-free/overlay.json +34 -0
  652. package/kit-apple/Package.swift +17 -0
  653. package/kit-apple/Sources/NativeScriptKit/AnimationFrame.swift +41 -0
  654. package/kit-apple/Sources/NativeScriptKit/AppModules.swift +88 -0
  655. package/kit-apple/Sources/NativeScriptKit/ApplicationDelegateClass.swift +273 -0
  656. package/kit-apple/Sources/NativeScriptKit/CSSCalc.swift +111 -0
  657. package/kit-apple/Sources/NativeScriptKit/ChangeDetection.swift +31 -0
  658. package/kit-apple/Sources/NativeScriptKit/ColorMix.swift +577 -0
  659. package/kit-apple/Sources/NativeScriptKit/Core/FunctionCells.Arity0.swift +1413 -0
  660. package/kit-apple/Sources/NativeScriptKit/Core/FunctionCells.Arity1.swift +6403 -0
  661. package/kit-apple/Sources/NativeScriptKit/Core/FunctionCells.Arity2.swift +4432 -0
  662. package/kit-apple/Sources/NativeScriptKit/Core/FunctionCells.Arity3Plus.swift +5428 -0
  663. package/kit-apple/Sources/NativeScriptKit/Core/Object_Accuracy_AndroidActionBarIconVisibility_AndroidActionItemPosition_AnimationCurve_AutocapitalizationType_BackgroundRepeat_and_26_more_630c32.swift +472 -0
  664. package/kit-apple/Sources/NativeScriptKit/Core/Object_ArrayExpression_BinaryExpression_CallExpression_ChainExpression_ConditionalExpression_Identifier_and_10_more_f883bf.swift +359 -0
  665. package/kit-apple/Sources/NativeScriptKit/Core/Object_Tab_NewLine_excl_quot_QUOT_num_and_287_more_88aef2.swift +2190 -0
  666. package/kit-apple/Sources/NativeScriptKit/Core/Object_Unknown_QuirksMode_IgnoreCase_CaseSensitive.swift +122 -0
  667. package/kit-apple/Sources/NativeScriptKit/Core/Object_a_b_c_d_tx_ty.swift +123 -0
  668. package/kit-apple/Sources/NativeScriptKit/Core/Object_a_h_s_l.swift +85 -0
  669. package/kit-apple/Sources/NativeScriptKit/Core/Object_a_h_s_v.swift +85 -0
  670. package/kit-apple/Sources/NativeScriptKit/Core/Object_a_r_g_b.swift +85 -0
  671. package/kit-apple/Sources/NativeScriptKit/Core/Object_activate_deactivate_background_foreground_close_attached_and_26_more_127a37.swift +448 -0
  672. package/kit-apple/Sources/NativeScriptKit/Core/Object_activeType.swift +65 -0
  673. package/kit-apple/Sources/NativeScriptKit/Core/Object_alert_confirm_prompt_login_action.swift +118 -0
  674. package/kit-apple/Sources/NativeScriptKit/Core/Object_align_offset.swift +94 -0
  675. package/kit-apple/Sources/NativeScriptKit/Core/Object_android_ios_visionos_apple.swift +109 -0
  676. package/kit-apple/Sources/NativeScriptKit/Core/Object_angle_colors.swift +81 -0
  677. package/kit-apple/Sources/NativeScriptKit/Core/Object_animations.swift +66 -0
  678. package/kit-apple/Sources/NativeScriptKit/Core/Object_animations_completion.swift +73 -0
  679. package/kit-apple/Sources/NativeScriptKit/Core/Object_axis_value.swift +80 -0
  680. package/kit-apple/Sources/NativeScriptKit/Core/Object_backgroundColor_scale_translate_rotate_opacity_width_height_valueSource_duration_curve_forceLayer.swift +257 -0
  681. package/kit-apple/Sources/NativeScriptKit/Core/Object_body.swift +78 -0
  682. package/kit-apple/Sources/NativeScriptKit/Core/Object_boundsChanged_sizeChanged.swift +80 -0
  683. package/kit-apple/Sources/NativeScriptKit/Core/Object_callback_thisArg_once.swift +112 -0
  684. package/kit-apple/Sources/NativeScriptKit/Core/Object_collections_createUIDocumentInteractionControllerDelegate_getCurrentAppPath_getRootViewController_getVisibleViewController_getWindow_and_10_more_6713a9.swift +281 -0
  685. package/kit-apple/Sources/NativeScriptKit/Core/Object_color.swift +64 -0
  686. package/kit-apple/Sources/NativeScriptKit/Core/Object_color_backgroundColor.swift +81 -0
  687. package/kit-apple/Sources/NativeScriptKit/Core/Object_color_offset.swift +94 -0
  688. package/kit-apple/Sources/NativeScriptKit/Core/Object_component_exports.swift +95 -0
  689. package/kit-apple/Sources/NativeScriptKit/Core/Object_component_exports_.swift +94 -0
  690. package/kit-apple/Sources/NativeScriptKit/Core/Object_connectionOptions.swift +66 -0
  691. package/kit-apple/Sources/NativeScriptKit/Core/Object_constructor_hasOwnProperty_isPrototypeOf_propertyIsEnumerable_toLocaleString_toString_and_21_more_e9ed9b.swift +331 -0
  692. package/kit-apple/Sources/NativeScriptKit/Core/Object_content_statusCode_headers.swift +106 -0
  693. package/kit-apple/Sources/NativeScriptKit/Core/Object_context_closeCallback_fullscreen_animated_stretched.swift +149 -0
  694. package/kit-apple/Sources/NativeScriptKit/Core/Object_context_parent_name_elementName_templateItems_errorFormat_sourceTracker_xmlModule.swift +185 -0
  695. package/kit-apple/Sources/NativeScriptKit/Core/Object_counters_timeline.swift +95 -0
  696. package/kit-apple/Sources/NativeScriptKit/Core/Object_create.swift +78 -0
  697. package/kit-apple/Sources/NativeScriptKit/Core/Object_createSelector_SelectorCore_SimpleSelector_InvalidSelector_UniversalSelector_TypeSelector_and_12_more_71e044.swift +315 -0
  698. package/kit-apple/Sources/NativeScriptKit/Core/Object_curve.swift +78 -0
  699. package/kit-apple/Sources/NativeScriptKit/Core/Object_defaultValue_name_cssName_affectsLayout.swift +131 -0
  700. package/kit-apple/Sources/NativeScriptKit/Core/Object_defaultValue_name_cssName_valueConverter.swift +113 -0
  701. package/kit-apple/Sources/NativeScriptKit/Core/Object_defaultValue_name_cssName_valueConverter_.swift +113 -0
  702. package/kit-apple/Sources/NativeScriptKit/Core/Object_deg_rad_grad_turn.swift +105 -0
  703. package/kit-apple/Sources/NativeScriptKit/Core/Object_duration_damping.swift +80 -0
  704. package/kit-apple/Sources/NativeScriptKit/Core/Object_duration_repeatCount_delay_curve_propertyNameToAnimate_subPropertiesToAnimate_fromValue_toValue.swift +211 -0
  705. package/kit-apple/Sources/NativeScriptKit/Core/Object_duration_spring.swift +90 -0
  706. package/kit-apple/Sources/NativeScriptKit/Core/Object_edge_interaction.swift +94 -0
  707. package/kit-apple/Sources/NativeScriptKit/Core/Object_effectType_onCreate.swift +86 -0
  708. package/kit-apple/Sources/NativeScriptKit/Core/Object_effectType_targetView.swift +73 -0
  709. package/kit-apple/Sources/NativeScriptKit/Core/Object_effectType_targetView_toGlassStyleFn.swift +110 -0
  710. package/kit-apple/Sources/NativeScriptKit/Core/Object_empty_text_json_blob_arraybuffer.swift +108 -0
  711. package/kit-apple/Sources/NativeScriptKit/Core/Object_enterFrom_exitTo.swift +95 -0
  712. package/kit-apple/Sources/NativeScriptKit/Core/Object_entry_isBackNavigation_navigationType.swift +115 -0
  713. package/kit-apple/Sources/NativeScriptKit/Core/Object_entry_resolvedPage_navDepth_fragmentTag.swift +133 -0
  714. package/kit-apple/Sources/NativeScriptKit/Core/Object_entry_resolvedPage_navDepth_fragmentTag_frameId.swift +162 -0
  715. package/kit-apple/Sources/NativeScriptKit/Core/Object_enumerable_configurable_get_set.swift +123 -0
  716. package/kit-apple/Sources/NativeScriptKit/Core/Object_enumerable_configurable_get_set_.swift +122 -0
  717. package/kit-apple/Sources/NativeScriptKit/Core/Object_enumerable_configurable_get_set__.swift +122 -0
  718. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_android_ios_newValue_object.swift +147 -0
  719. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_data.swift +94 -0
  720. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_action_index_removed_addedCount.swift +153 -0
  721. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_action_index_removed_addedCount_.swift +154 -0
  722. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_action_index_removed_addedCount__.swift +152 -0
  723. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_android_ios_error.swift +148 -0
  724. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_context_closeCallback.swift +133 -0
  725. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_context_isBackNavigation.swift +132 -0
  726. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_cssFile.swift +110 -0
  727. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_cssFile_.swift +95 -0
  728. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_cssText.swift +110 -0
  729. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_data.swift +112 -0
  730. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_data_.swift +114 -0
  731. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_error.swift +111 -0
  732. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_index_count.swift +120 -0
  733. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_index_section_view_ios_android.swift +168 -0
  734. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_ios.swift +97 -0
  735. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_ios_.swift +111 -0
  736. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_ios_android.swift +129 -0
  737. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_ios_android_cssFile.swift +138 -0
  738. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_isBack_entry_fromEntry.swift +130 -0
  739. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_key_error.swift +128 -0
  740. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_key_image.swift +129 -0
  741. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_matches_media.swift +111 -0
  742. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_newValue.swift +95 -0
  743. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_oldIndex_newIndex.swift +104 -0
  744. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_oldIndex_newIndex_.swift +121 -0
  745. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_propertyName_value_oldValue.swift +147 -0
  746. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_text_ios.swift +113 -0
  747. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_type_view_ios.swift +117 -0
  748. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_url_navigationType_error.swift +158 -0
  749. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_url_navigationType_error_.swift +160 -0
  750. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_viewController.swift +114 -0
  751. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_view_context.swift +130 -0
  752. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window.swift +103 -0
  753. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_newValue.swift +123 -0
  754. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene.swift +105 -0
  755. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene_.swift +105 -0
  756. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene_shortcutItem_completionHandler.swift +157 -0
  757. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene_shortcutItem_completionHandler_.swift +158 -0
  758. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene_uiWindow_connectionOptions.swift +137 -0
  759. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene_uiWindow_connectionOptions_.swift +137 -0
  760. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene_urlContexts.swift +120 -0
  761. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene_urlContexts_.swift +120 -0
  762. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene_userActivity.swift +121 -0
  763. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene_userActivity_.swift +121 -0
  764. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_rootView.swift +80 -0
  765. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_type.swift +80 -0
  766. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_type_object.swift +111 -0
  767. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_window_object.swift +103 -0
  768. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventType_position_prefix_namespace_elementName_attributes_data.swift +169 -0
  769. package/kit-apple/Sources/NativeScriptKit/Core/Object_exists_isDirectory.swift +80 -0
  770. package/kit-apple/Sources/NativeScriptKit/Core/Object_f_s_t_a.swift +85 -0
  771. package/kit-apple/Sources/NativeScriptKit/Core/Object_folder_path.swift +94 -0
  772. package/kit-apple/Sources/NativeScriptKit/Core/Object_fontFamily_fontSize_fontWeight_fontVariationSettings_isBold_isItalic.swift +130 -0
  773. package/kit-apple/Sources/NativeScriptKit/Core/Object_fontStyle_fontVariant_fontWeight.swift +95 -0
  774. package/kit-apple/Sources/NativeScriptKit/Core/Object_h_s_l.swift +78 -0
  775. package/kit-apple/Sources/NativeScriptKit/Core/Object_h_s_v.swift +78 -0
  776. package/kit-apple/Sources/NativeScriptKit/Core/Object_headers_timestamp_headersSize_method_postData_url.swift +173 -0
  777. package/kit-apple/Sources/NativeScriptKit/Core/Object_highlighted.swift +66 -0
  778. package/kit-apple/Sources/NativeScriptKit/Core/Object_horizontal_vertical.swift +80 -0
  779. package/kit-apple/Sources/NativeScriptKit/Core/Object_hour_minute.swift +80 -0
  780. package/kit-apple/Sources/NativeScriptKit/Core/Object_id_type.swift +94 -0
  781. package/kit-apple/Sources/NativeScriptKit/Core/Object_id_type_action.swift +108 -0
  782. package/kit-apple/Sources/NativeScriptKit/Core/Object_id_type_percent.swift +108 -0
  783. package/kit-apple/Sources/NativeScriptKit/Core/Object_import_type.swift +80 -0
  784. package/kit-apple/Sources/NativeScriptKit/Core/Object_inset_color_values.swift +87 -0
  785. package/kit-apple/Sources/NativeScriptKit/Core/Object_inset_offsetX_offsetY_blurRadius_spreadRadius_color.swift +147 -0
  786. package/kit-apple/Sources/NativeScriptKit/Core/Object_inset_offsetX_offsetY_blurRadius_spreadRadius_color_.swift +126 -0
  787. package/kit-apple/Sources/NativeScriptKit/Core/Object_instance.swift +64 -0
  788. package/kit-apple/Sources/NativeScriptKit/Core/Object_instance_instanceModule.swift +97 -0
  789. package/kit-apple/Sources/NativeScriptKit/Core/Object_instance_property.swift +86 -0
  790. package/kit-apple/Sources/NativeScriptKit/Core/Object_instance_property_.swift +72 -0
  791. package/kit-apple/Sources/NativeScriptKit/Core/Object_interactiveBegan.swift +66 -0
  792. package/kit-apple/Sources/NativeScriptKit/Core/Object_interactiveBegan_interactiveCancelled.swift +81 -0
  793. package/kit-apple/Sources/NativeScriptKit/Core/Object_interactiveCancelled.swift +66 -0
  794. package/kit-apple/Sources/NativeScriptKit/Core/Object_interactive_pageStart_pageEnd_pageOut_pageReturn_instance_activeType.swift +165 -0
  795. package/kit-apple/Sources/NativeScriptKit/Core/Object_inverse_type_features.swift +95 -0
  796. package/kit-apple/Sources/NativeScriptKit/Core/Object_ios.swift +78 -0
  797. package/kit-apple/Sources/NativeScriptKit/Core/Object_iosNotificationType.swift +66 -0
  798. package/kit-apple/Sources/NativeScriptKit/Core/Object_iosNotificationType_message.swift +80 -0
  799. package/kit-apple/Sources/NativeScriptKit/Core/Object_ios_.swift +64 -0
  800. package/kit-apple/Sources/NativeScriptKit/Core/Object_ios_scene.swift +80 -0
  801. package/kit-apple/Sources/NativeScriptKit/Core/Object_isMatch_getMatchOccurences_getMatchValue.swift +101 -0
  802. package/kit-apple/Sources/NativeScriptKit/Core/Object_iterator_prototype_for_keyFor_hasInstance_isConcatSpreadable_and_19_more_fa18e1.swift +338 -0
  803. package/kit-apple/Sources/NativeScriptKit/Core/Object_keepAspectRatio_autoScaleFactor.swift +73 -0
  804. package/kit-apple/Sources/NativeScriptKit/Core/Object_key_createView.swift +95 -0
  805. package/kit-apple/Sources/NativeScriptKit/Core/Object_key_createView_.swift +97 -0
  806. package/kit-apple/Sources/NativeScriptKit/Core/Object_launchData.swift +68 -0
  807. package/kit-apple/Sources/NativeScriptKit/Core/Object_left_right.swift +95 -0
  808. package/kit-apple/Sources/NativeScriptKit/Core/Object_left_right_center_top_bottom.swift +115 -0
  809. package/kit-apple/Sources/NativeScriptKit/Core/Object_lifecycle_timeline.swift +80 -0
  810. package/kit-apple/Sources/NativeScriptKit/Core/Object_line_column.swift +80 -0
  811. package/kit-apple/Sources/NativeScriptKit/Core/Object_location.swift +64 -0
  812. package/kit-apple/Sources/NativeScriptKit/Core/Object_location_length.swift +80 -0
  813. package/kit-apple/Sources/NativeScriptKit/Core/Object_m.swift +64 -0
  814. package/kit-apple/Sources/NativeScriptKit/Core/Object_maskPath_shadowPath.swift +95 -0
  815. package/kit-apple/Sources/NativeScriptKit/Core/Object_matches_media.swift +80 -0
  816. package/kit-apple/Sources/NativeScriptKit/Core/Object_measuredWidth_measuredHeight.swift +81 -0
  817. package/kit-apple/Sources/NativeScriptKit/Core/Object_message.swift +64 -0
  818. package/kit-apple/Sources/NativeScriptKit/Core/Object_method.swift +64 -0
  819. package/kit-apple/Sources/NativeScriptKit/Core/Object_method_postData.swift +80 -0
  820. package/kit-apple/Sources/NativeScriptKit/Core/Object_modifier_property_value.swift +87 -0
  821. package/kit-apple/Sources/NativeScriptKit/Core/Object_moduleName.swift +65 -0
  822. package/kit-apple/Sources/NativeScriptKit/Core/Object_moduleName_.swift +78 -0
  823. package/kit-apple/Sources/NativeScriptKit/Core/Object_moduleName_create_transition.swift +93 -0
  824. package/kit-apple/Sources/NativeScriptKit/Core/Object_moduleName_transition.swift +76 -0
  825. package/kit-apple/Sources/NativeScriptKit/Core/Object_name.swift +64 -0
  826. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_affectsLayout_valueChanged.swift +103 -0
  827. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_affectsLayout_valueChanged_.swift +98 -0
  828. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_affectsLayout_valueChanged__.swift +100 -0
  829. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_affectsLayout_valueChanged___.swift +102 -0
  830. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_affectsLayout_valueConverter.swift +96 -0
  831. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_affectsLayout_valueConverter_valueChanged.swift +115 -0
  832. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName.swift +80 -0
  833. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_affectsLayout_defaultValue_valueConverter_valueChanged.swift +139 -0
  834. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_affectsLayout_defaultValue_valueConverter_valueChanged_.swift +159 -0
  835. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_affectsLayout_valueChanged.swift +114 -0
  836. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_affectsLayout_valueChanged_valueConverter.swift +130 -0
  837. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_affectsLayout_valueChanged_valueConverter_.swift +134 -0
  838. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_affectsLayout_valueConverter.swift +133 -0
  839. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_affectsLayout_valueConverter_.swift +113 -0
  840. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue.swift +94 -0
  841. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_affectsLayout_equalityComparer_valueChanged_valueConverter.swift +183 -0
  842. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_affectsLayout_equalityComparer_valueConverter.swift +168 -0
  843. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_affectsLayout_equalityComparer_valueConverter_.swift +169 -0
  844. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_affectsLayout_equalityComparer_valueConverter_valueChanged.swift +181 -0
  845. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_affectsLayout_valueConverter.swift +128 -0
  846. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_affectsLayout_valueConverter_.swift +128 -0
  847. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_affectsLayout_valueConverter__.swift +128 -0
  848. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_affectsLayout_valueConverter_valueChanged.swift +139 -0
  849. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_equalityComparer_valueChanged_valueConverter.swift +162 -0
  850. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_equalityComparer_valueConverter.swift +150 -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_.swift +113 -0
  853. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_valueConverter__.swift +114 -0
  854. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_valueConverter___.swift +113 -0
  855. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_valueConverter_valueChanged.swift +121 -0
  856. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_equalityComparer_defaultValue_valueConverter.swift +129 -0
  857. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_equalityComparer_valueConverter.swift +114 -0
  858. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_getter_converter.swift +130 -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 +130 -0
  861. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_getter_converter___.swift +131 -0
  862. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_getter_converter____.swift +133 -0
  863. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_getter_converter_____.swift +131 -0
  864. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_valueChanged.swift +99 -0
  865. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_valueChanged_equalityComparer_valueConverter.swift +153 -0
  866. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_valueChanged_equalityComparer_valueConverter_.swift +132 -0
  867. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_valueChanged_valueConverter.swift +118 -0
  868. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_valueConverter.swift +95 -0
  869. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_valueConverter_.swift +95 -0
  870. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_valueConverter__.swift +95 -0
  871. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_valueConverter_valueChanged.swift +114 -0
  872. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue.swift +80 -0
  873. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_.swift +94 -0
  874. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue__.swift +80 -0
  875. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue___.swift +81 -0
  876. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_affectsLayout.swift +95 -0
  877. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_affectsLayout_equalityComparer_valueConverter_valueChanged.swift +163 -0
  878. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_affectsLayout_valueChanged_coerceValue_valueConverter.swift +144 -0
  879. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_affectsLayout_valueChanged_valueConverter.swift +124 -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__.swift +114 -0
  883. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_affectsLayout_valueConverter___.swift +135 -0
  884. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_affectsLayout_valueConverter____.swift +114 -0
  885. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_affectsLayout_valueConverter_valueChanged.swift +122 -0
  886. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_coerceValue_valueChanged_valueConverter.swift +125 -0
  887. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_coerceValue_valueConverter.swift +116 -0
  888. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_coerceValue_valueConverter_.swift +115 -0
  889. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_equalityComparer_coerceValue_valueChanged_valueConverter.swift +170 -0
  890. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_equalityComparer_valueChanged.swift +111 -0
  891. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_equalityComparer_valueConverter.swift +116 -0
  892. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_equalityComparer_valueConverter_.swift +139 -0
  893. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_equalityComparer_valueConverter__.swift +136 -0
  894. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged.swift +92 -0
  895. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged_.swift +92 -0
  896. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged_coerceValue_valueConverter.swift +126 -0
  897. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged_equalityComparer_valueConverter.swift +146 -0
  898. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged_valueConverter.swift +107 -0
  899. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged_valueConverter_.swift +107 -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 +108 -0
  902. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged_valueConverter____.swift +128 -0
  903. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged_valueConverter_____.swift +108 -0
  904. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged_valueConverter______.swift +126 -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 +96 -0
  907. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueConverter__.swift +97 -0
  908. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueConverter___.swift +98 -0
  909. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueConverter____.swift +100 -0
  910. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueConverter_coerceValue.swift +115 -0
  911. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueConverter_valueChanged.swift +107 -0
  912. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueConverter_valueChanged_.swift +107 -0
  913. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_duration.swift +80 -0
  914. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_equalityComparer_valueConverter.swift +101 -0
  915. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_equalityComparer_valueConverter_.swift +100 -0
  916. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_equalityComparer_valueConverter__.swift +119 -0
  917. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_keyframes_mediaQueryString.swift +117 -0
  918. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged.swift +82 -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 +84 -0
  921. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged___.swift +84 -0
  922. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged____.swift +82 -0
  923. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged_____.swift +82 -0
  924. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged______.swift +82 -0
  925. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged_______.swift +81 -0
  926. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged________.swift +86 -0
  927. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged_________.swift +92 -0
  928. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged__________.swift +90 -0
  929. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged_valueConverter.swift +101 -0
  930. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged_valueConverter_.swift +119 -0
  931. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged_valueConverter__.swift +101 -0
  932. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueConverter.swift +81 -0
  933. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueConverter_.swift +81 -0
  934. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueConverter__.swift +82 -0
  935. package/kit-apple/Sources/NativeScriptKit/Core/Object_navigatingToEvent_navigatedToEvent_navigatingFromEvent_navigatedFromEvent.swift +116 -0
  936. package/kit-apple/Sources/NativeScriptKit/Core/Object_normalState_selectedState.swift +81 -0
  937. package/kit-apple/Sources/NativeScriptKit/Core/Object_num_regexp_string_name_privateId_eof_and_71_more_93cbae.swift +688 -0
  938. package/kit-apple/Sources/NativeScriptKit/Core/Object_object_eventName_propertyName_value_oldValue_origin.swift +154 -0
  939. package/kit-apple/Sources/NativeScriptKit/Core/Object_object_eventName_scrollX_scrollY.swift +105 -0
  940. package/kit-apple/Sources/NativeScriptKit/Core/Object_object_eventName_scrollX_scrollY_.swift +121 -0
  941. package/kit-apple/Sources/NativeScriptKit/Core/Object_opacity_color_tapToClose_animation_ignoreShadeRestore.swift +131 -0
  942. package/kit-apple/Sources/NativeScriptKit/Core/Object_orientation_systemAppearance.swift +100 -0
  943. package/kit-apple/Sources/NativeScriptKit/Core/Object_orientation_systemAppearance_.swift +81 -0
  944. package/kit-apple/Sources/NativeScriptKit/Core/Object_page_toPage.swift +94 -0
  945. package/kit-apple/Sources/NativeScriptKit/Core/Object_page_toPage_.swift +95 -0
  946. package/kit-apple/Sources/NativeScriptKit/Core/Object_parent_name_items.swift +111 -0
  947. package/kit-apple/Sources/NativeScriptKit/Core/Object_path_name.swift +72 -0
  948. package/kit-apple/Sources/NativeScriptKit/Core/Object_path_name_extension.swift +86 -0
  949. package/kit-apple/Sources/NativeScriptKit/Core/Object_pattern_flags.swift +80 -0
  950. package/kit-apple/Sources/NativeScriptKit/Core/Object_position_systemIcon.swift +94 -0
  951. package/kit-apple/Sources/NativeScriptKit/Core/Object_prefix_namespace_name.swift +113 -0
  952. package/kit-apple/Sources/NativeScriptKit/Core/Object_presented_presenting_independent.swift +98 -0
  953. package/kit-apple/Sources/NativeScriptKit/Core/Object_propName_propValue.swift +80 -0
  954. package/kit-apple/Sources/NativeScriptKit/Core/Object_property_value.swift +95 -0
  955. package/kit-apple/Sources/NativeScriptKit/Core/Object_property_value_.swift +95 -0
  956. package/kit-apple/Sources/NativeScriptKit/Core/Object_property_value__.swift +96 -0
  957. package/kit-apple/Sources/NativeScriptKit/Core/Object_property_value___.swift +94 -0
  958. package/kit-apple/Sources/NativeScriptKit/Core/Object_property_value____.swift +80 -0
  959. package/kit-apple/Sources/NativeScriptKit/Core/Object_property_value_____.swift +80 -0
  960. package/kit-apple/Sources/NativeScriptKit/Core/Object_property_value______.swift +80 -0
  961. package/kit-apple/Sources/NativeScriptKit/Core/Object_property_value_______.swift +83 -0
  962. package/kit-apple/Sources/NativeScriptKit/Core/Object_property_value________.swift +83 -0
  963. package/kit-apple/Sources/NativeScriptKit/Core/Object_r_g_b.swift +78 -0
  964. package/kit-apple/Sources/NativeScriptKit/Core/Object_raw_cooked.swift +94 -0
  965. package/kit-apple/Sources/NativeScriptKit/Core/Object_raw_cooked_.swift +80 -0
  966. package/kit-apple/Sources/NativeScriptKit/Core/Object_raw_requestURL_toNativeImage_toNativeString.swift +114 -0
  967. package/kit-apple/Sources/NativeScriptKit/Core/Object_raw_requestURL_toNativeImage_toNativeString_.swift +135 -0
  968. package/kit-apple/Sources/NativeScriptKit/Core/Object_recognizer_target.swift +96 -0
  969. package/kit-apple/Sources/NativeScriptKit/Core/Object_repeatX_repeatY_posX_posY.swift +93 -0
  970. package/kit-apple/Sources/NativeScriptKit/Core/Object_requestTime_proxyStart_proxyEnd_dnsStart_dnsEnd_connectStart_and_9_more_3e958e.swift +248 -0
  971. package/kit-apple/Sources/NativeScriptKit/Core/Object_result_text.swift +94 -0
  972. package/kit-apple/Sources/NativeScriptKit/Core/Object_result_userName_password.swift +102 -0
  973. package/kit-apple/Sources/NativeScriptKit/Core/Object_right_left.swift +80 -0
  974. package/kit-apple/Sources/NativeScriptKit/Core/Object_row_col.swift +72 -0
  975. package/kit-apple/Sources/NativeScriptKit/Core/Object_rules.swift +66 -0
  976. package/kit-apple/Sources/NativeScriptKit/Core/Object_rules_.swift +78 -0
  977. package/kit-apple/Sources/NativeScriptKit/Core/Object_safeArea_fullscreen_inWindow.swift +107 -0
  978. package/kit-apple/Sources/NativeScriptKit/Core/Object_scale_translate_rotate.swift +100 -0
  979. package/kit-apple/Sources/NativeScriptKit/Core/Object_scale_tx_ty.swift +86 -0
  980. package/kit-apple/Sources/NativeScriptKit/Core/Object_sceneWillConnect_sceneDidActivate_sceneWillResignActive_sceneWillEnterForeground_sceneDidEnterBackground_sceneDidDisconnect_and_1_more_1be9d4.swift +159 -0
  981. package/kit-apple/Sources/NativeScriptKit/Core/Object_scene_uiWindow.swift +80 -0
  982. package/kit-apple/Sources/NativeScriptKit/Core/Object_shape_rule.swift +80 -0
  983. package/kit-apple/Sources/NativeScriptKit/Core/Object_sharedElements_presented_presenting.swift +115 -0
  984. package/kit-apple/Sources/NativeScriptKit/Core/Object_sharedTransitionTag_zIndex.swift +100 -0
  985. package/kit-apple/Sources/NativeScriptKit/Core/Object_showing.swift +64 -0
  986. package/kit-apple/Sources/NativeScriptKit/Core/Object_snap_endFrame_endCornerRadius_srcSharedView.swift +112 -0
  987. package/kit-apple/Sources/NativeScriptKit/Core/Object_sourceProperty_expression_twoWay_source_defaultProperty.swift +120 -0
  988. package/kit-apple/Sources/NativeScriptKit/Core/Object_sourceProperty_targetProperty_expression.swift +111 -0
  989. package/kit-apple/Sources/NativeScriptKit/Core/Object_sourceProperty_targetProperty_expression_twoWay_compiled.swift +145 -0
  990. package/kit-apple/Sources/NativeScriptKit/Core/Object_spans.swift +66 -0
  991. package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value.swift +86 -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 +89 -0
  994. package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value___.swift +100 -0
  995. package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value____.swift +86 -0
  996. package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value_____.swift +88 -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 +89 -0
  1000. package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value_________.swift +89 -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 +87 -0
  1003. package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value____________.swift +90 -0
  1004. package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value_____________.swift +89 -0
  1005. package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value______________.swift +90 -0
  1006. package/kit-apple/Sources/NativeScriptKit/Core/Object_status_headers.swift +83 -0
  1007. package/kit-apple/Sources/NativeScriptKit/Core/Object_status_statusText.swift +80 -0
  1008. package/kit-apple/Sources/NativeScriptKit/Core/Object_status_statusText_headers_url.swift +110 -0
  1009. package/kit-apple/Sources/NativeScriptKit/Core/Object_targetProperty.swift +66 -0
  1010. package/kit-apple/Sources/NativeScriptKit/Core/Object_targetProperty_sourceProperty.swift +73 -0
  1011. package/kit-apple/Sources/NativeScriptKit/Core/Object_target_backgroundColor_scale_translate_rotate_opacity_width_height_valueSource_duration_curve_forceLayer.swift +264 -0
  1012. package/kit-apple/Sources/NativeScriptKit/Core/Object_target_opacity_backgroundColor_translate_scale_height_width_rotate_duration_delay_iterations_curve.swift +252 -0
  1013. package/kit-apple/Sources/NativeScriptKit/Core/Object_target_property_value_duration_delay_iterations_curve.swift +152 -0
  1014. package/kit-apple/Sources/NativeScriptKit/Core/Object_target_property_value_duration_delay_iterations_curve_.swift +152 -0
  1015. package/kit-apple/Sources/NativeScriptKit/Core/Object_target_property_value_duration_delay_iterations_curve__.swift +153 -0
  1016. package/kit-apple/Sources/NativeScriptKit/Core/Object_target_property_value_duration_delay_iterations_curve___.swift +151 -0
  1017. package/kit-apple/Sources/NativeScriptKit/Core/Object_target_translate_scale_rotate_opacity_duration_curve.swift +165 -0
  1018. package/kit-apple/Sources/NativeScriptKit/Core/Object_tension_friction_mass_delay_velocity_animateOptions_animations_completion.swift +165 -0
  1019. package/kit-apple/Sources/NativeScriptKit/Core/Object_tension_friction_mass_velocity.swift +101 -0
  1020. package/kit-apple/Sources/NativeScriptKit/Core/Object_tension_friction_mass_velocity_delay.swift +118 -0
  1021. package/kit-apple/Sources/NativeScriptKit/Core/Object_tension_friction_mass_velocity_delay_animations_completion.swift +142 -0
  1022. package/kit-apple/Sources/NativeScriptKit/Core/Object_textColor_tintColor.swift +72 -0
  1023. package/kit-apple/Sources/NativeScriptKit/Core/Object_text_iosFont_color_backgroundColor_textDecoration_baselineOffset_index.swift +144 -0
  1024. package/kit-apple/Sources/NativeScriptKit/Core/Object_title_cancelButtonText.swift +94 -0
  1025. package/kit-apple/Sources/NativeScriptKit/Core/Object_title_okButtonText_cancelButtonText.swift +96 -0
  1026. package/kit-apple/Sources/NativeScriptKit/Core/Object_title_okButtonText_cancelButtonText_inputType.swift +112 -0
  1027. package/kit-apple/Sources/NativeScriptKit/Core/Object_title_okButtonText_cancelButtonText_message.swift +112 -0
  1028. package/kit-apple/Sources/NativeScriptKit/Core/Object_title_okButtonText_message.swift +95 -0
  1029. package/kit-apple/Sources/NativeScriptKit/Core/Object_title_section.swift +80 -0
  1030. package/kit-apple/Sources/NativeScriptKit/Core/Object_toArrayBuffer_toString_toJSON_toImage_toFile.swift +142 -0
  1031. package/kit-apple/Sources/NativeScriptKit/Core/Object_topLeft_topRight_bottomLeft_bottomRight.swift +110 -0
  1032. package/kit-apple/Sources/NativeScriptKit/Core/Object_top_bottom.swift +80 -0
  1033. package/kit-apple/Sources/NativeScriptKit/Core/Object_top_left_bottom_right.swift +109 -0
  1034. package/kit-apple/Sources/NativeScriptKit/Core/Object_top_right_bottom_left.swift +122 -0
  1035. package/kit-apple/Sources/NativeScriptKit/Core/Object_top_right_bottom_left_.swift +109 -0
  1036. package/kit-apple/Sources/NativeScriptKit/Core/Object_totalTime_count_currentStart_runCount.swift +110 -0
  1037. package/kit-apple/Sources/NativeScriptKit/Core/Object_touches_event.swift +80 -0
  1038. package/kit-apple/Sources/NativeScriptKit/Core/Object_transitionContext.swift +66 -0
  1039. package/kit-apple/Sources/NativeScriptKit/Core/Object_translateX_translateY_scaleX_scaleY_rotate_opacity.swift +118 -0
  1040. package/kit-apple/Sources/NativeScriptKit/Core/Object_translateX_translateY_scaleX_scaleY_rotate_opacity_duration_curve.swift +151 -0
  1041. package/kit-apple/Sources/NativeScriptKit/Core/Object_translate_rotate_scale.swift +102 -0
  1042. package/kit-apple/Sources/NativeScriptKit/Core/Object_type.swift +64 -0
  1043. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_name_action_value_namespace_ignoreCase.swift +152 -0
  1044. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_name_action_value_namespace_ignoreCase_.swift +133 -0
  1045. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_name_data.swift +78 -0
  1046. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_name_data_.swift +92 -0
  1047. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_name_namespace.swift +102 -0
  1048. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_name_prelude_block.swift +120 -0
  1049. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_name_text.swift +104 -0
  1050. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_name_text_components.swift +113 -0
  1051. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_namespace.swift +94 -0
  1052. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_path.swift +72 -0
  1053. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_prelude_block.swift +111 -0
  1054. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_property_value.swift +94 -0
  1055. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_quote_string_value.swift +101 -0
  1056. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_selectors_declarations.swift +96 -0
  1057. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_start_end.swift +94 -0
  1058. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_start_end_left_right.swift +127 -0
  1059. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_start_end_name.swift +118 -0
  1060. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_string.swift +80 -0
  1061. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_string_unit_value.swift +101 -0
  1062. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_stylesheet.swift +83 -0
  1063. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_text.swift +72 -0
  1064. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_text_.swift +97 -0
  1065. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_text__.swift +86 -0
  1066. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_text_associatedToken_values.swift +125 -0
  1067. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_view_ios_android_direction_object_eventName.swift +159 -0
  1068. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_view_ios_android_eventName_object_getPointerCount_getX_getY.swift +187 -0
  1069. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_view_ios_android_object_eventName.swift +152 -0
  1070. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_view_ios_android_object_eventName_state.swift +167 -0
  1071. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_view_ios_android_rotation_object_eventName_state.swift +182 -0
  1072. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_view_ios_android_scale_getFocusX_getFocusY_object_eventName_state.swift +194 -0
  1073. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_view_ios_android_startX_startY_deltaX_deltaY_object_eventName_state.swift +201 -0
  1074. package/kit-apple/Sources/NativeScriptKit/Core/Object_uri_message_time.swift +108 -0
  1075. package/kit-apple/Sources/NativeScriptKit/Core/Object_url_method.swift +80 -0
  1076. package/kit-apple/Sources/NativeScriptKit/Core/Object_url_source.swift +95 -0
  1077. package/kit-apple/Sources/NativeScriptKit/Core/Object_url_source_.swift +94 -0
  1078. package/kit-apple/Sources/NativeScriptKit/Core/Object_url_status_statusText_headers_mimeType_fromDiskCache_timing_headersSize.swift +201 -0
  1079. package/kit-apple/Sources/NativeScriptKit/Core/Object_value_unit.swift +80 -0
  1080. package/kit-apple/Sources/NativeScriptKit/Core/Object_value_unit_.swift +94 -0
  1081. package/kit-apple/Sources/NativeScriptKit/Core/Object_view_index.swift +95 -0
  1082. package/kit-apple/Sources/NativeScriptKit/Core/Object_view_index_.swift +94 -0
  1083. package/kit-apple/Sources/NativeScriptKit/Core/Object_view_isPresented_startFrame_snapshot_endFrame_startTransform_and_5_more_20e753.swift +234 -0
  1084. package/kit-apple/Sources/NativeScriptKit/Core/Object_view_options.swift +94 -0
  1085. package/kit-apple/Sources/NativeScriptKit/Core/Object_view_options_.swift +94 -0
  1086. package/kit-apple/Sources/NativeScriptKit/Core/Object_view_startFrame_endFrame_snapshot_startOpacity_endOpacity_propertiesToMatch_zIndex.swift +186 -0
  1087. package/kit-apple/Sources/NativeScriptKit/Core/Object_view_startFrame_endFrame_startOpacity_endOpacity_propertiesToMatch_imageSourceChangeListener.swift +181 -0
  1088. package/kit-apple/Sources/NativeScriptKit/Core/Object_view_type_animation.swift +86 -0
  1089. package/kit-apple/Sources/NativeScriptKit/Core/Object_width_color.swift +86 -0
  1090. package/kit-apple/Sources/NativeScriptKit/Core/Object_width_height.swift +80 -0
  1091. package/kit-apple/Sources/NativeScriptKit/Core/Object_width_height_.swift +95 -0
  1092. package/kit-apple/Sources/NativeScriptKit/Core/Object_width_height_os_deviceType.swift +109 -0
  1093. package/kit-apple/Sources/NativeScriptKit/Core/Object_windowOpen_windowClose_primaryWindowChanged.swift +96 -0
  1094. package/kit-apple/Sources/NativeScriptKit/Core/Object_window_isPrimary.swift +80 -0
  1095. package/kit-apple/Sources/NativeScriptKit/Core/Object_window_isPrimary_data_ios.swift +118 -0
  1096. package/kit-apple/Sources/NativeScriptKit/Core/Object_xRadius_yRadius_maxRadius.swift +87 -0
  1097. package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y.swift +85 -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 +72 -0
  1101. package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y____.swift +86 -0
  1102. package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y_____.swift +77 -0
  1103. package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y______.swift +74 -0
  1104. package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y_______.swift +89 -0
  1105. package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y________.swift +88 -0
  1106. package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y_________.swift +77 -0
  1107. package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y_width_height.swift +101 -0
  1108. package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y_z.swift +94 -0
  1109. package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y_z_.swift +78 -0
  1110. package/kit-apple/Sources/NativeScriptKit/Core/Object_xmlns.swift +64 -0
  1111. package/kit-apple/Sources/NativeScriptKit/Core/Object_xs_ys_xt_yt_rx_ry_rz.swift +106 -0
  1112. package/kit-apple/Sources/NativeScriptKit/Core/__Export.AndroidApplication.swift +18 -0
  1113. package/kit-apple/Sources/NativeScriptKit/Core/__Export.AndroidHelper.swift +18 -0
  1114. package/kit-apple/Sources/NativeScriptKit/Core/__Export.AnimationCurve.swift +18 -0
  1115. package/kit-apple/Sources/NativeScriptKit/Core/__Export.Application.swift +18 -0
  1116. package/kit-apple/Sources/NativeScriptKit/Core/__Export.CSSHelper.swift +20 -0
  1117. package/kit-apple/Sources/NativeScriptKit/Core/__Export.CSSType.swift +20 -0
  1118. package/kit-apple/Sources/NativeScriptKit/Core/__Export.Device.swift +18 -0
  1119. package/kit-apple/Sources/NativeScriptKit/Core/__Export.Dialogs.swift +18 -0
  1120. package/kit-apple/Sources/NativeScriptKit/Core/__Export.Enums.swift +20 -0
  1121. package/kit-apple/Sources/NativeScriptKit/Core/__Export.NativeWindowEvents.swift +20 -0
  1122. package/kit-apple/Sources/NativeScriptKit/Core/__Export.PseudoClassHandler.swift +20 -0
  1123. package/kit-apple/Sources/NativeScriptKit/Core/__Export.SceneEvents.swift +20 -0
  1124. package/kit-apple/Sources/NativeScriptKit/Core/__Export.WindowEvents.swift +20 -0
  1125. package/kit-apple/Sources/NativeScriptKit/Core/__Export._resetRootView.swift +18 -0
  1126. package/kit-apple/Sources/NativeScriptKit/Core/__Export._resolveAnimationCurve.swift +20 -0
  1127. package/kit-apple/Sources/NativeScriptKit/Core/__Export._setResolver.swift +20 -0
  1128. package/kit-apple/Sources/NativeScriptKit/Core/__Export._updateCharactersInRangeReplacementString.swift +23 -0
  1129. package/kit-apple/Sources/NativeScriptKit/Core/__Export.action.swift +20 -0
  1130. package/kit-apple/Sources/NativeScriptKit/Core/__Export.addCss.swift +18 -0
  1131. package/kit-apple/Sources/NativeScriptKit/Core/__Export.addTaggedAdditionalCSS.swift +20 -0
  1132. package/kit-apple/Sources/NativeScriptKit/Core/__Export.addWeakEventListener.swift +22 -0
  1133. package/kit-apple/Sources/NativeScriptKit/Core/__Export.alert.swift +20 -0
  1134. package/kit-apple/Sources/NativeScriptKit/Core/__Export.android.swift +18 -0
  1135. package/kit-apple/Sources/NativeScriptKit/Core/__Export.androidDynamicElevationOffsetProperty.swift +20 -0
  1136. package/kit-apple/Sources/NativeScriptKit/Core/__Export.androidElevationProperty.swift +18 -0
  1137. package/kit-apple/Sources/NativeScriptKit/Core/__Export.animationTimingFunctionConverter.swift +20 -0
  1138. package/kit-apple/Sources/NativeScriptKit/Core/__Export.autocapitalizationTypeProperty.swift +20 -0
  1139. package/kit-apple/Sources/NativeScriptKit/Core/__Export.autocorrectProperty.swift +18 -0
  1140. package/kit-apple/Sources/NativeScriptKit/Core/__Export.backgroundColorProperty.swift +18 -0
  1141. package/kit-apple/Sources/NativeScriptKit/Core/__Export.backgroundEvent.swift +18 -0
  1142. package/kit-apple/Sources/NativeScriptKit/Core/__Export.backgroundImageProperty.swift +18 -0
  1143. package/kit-apple/Sources/NativeScriptKit/Core/__Export.backgroundInternalProperty.swift +18 -0
  1144. package/kit-apple/Sources/NativeScriptKit/Core/__Export.backgroundPositionProperty.swift +18 -0
  1145. package/kit-apple/Sources/NativeScriptKit/Core/__Export.backgroundRepeatProperty.swift +18 -0
  1146. package/kit-apple/Sources/NativeScriptKit/Core/__Export.backgroundSizeProperty.swift +18 -0
  1147. package/kit-apple/Sources/NativeScriptKit/Core/__Export.booleanConverter.swift +20 -0
  1148. package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderBottomColorProperty.swift +18 -0
  1149. package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderBottomLeftRadiusProperty.swift +20 -0
  1150. package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderBottomRightRadiusProperty.swift +20 -0
  1151. package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderBottomWidthProperty.swift +18 -0
  1152. package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderLeftColorProperty.swift +18 -0
  1153. package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderLeftWidthProperty.swift +18 -0
  1154. package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderRightColorProperty.swift +18 -0
  1155. package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderRightWidthProperty.swift +18 -0
  1156. package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderTopColorProperty.swift +18 -0
  1157. package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderTopLeftRadiusProperty.swift +18 -0
  1158. package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderTopRightRadiusProperty.swift +18 -0
  1159. package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderTopWidthProperty.swift +18 -0
  1160. package/kit-apple/Sources/NativeScriptKit/Core/__Export.clipPathProperty.swift +18 -0
  1161. package/kit-apple/Sources/NativeScriptKit/Core/__Export.colorProperty.swift +18 -0
  1162. package/kit-apple/Sources/NativeScriptKit/Core/__Export.columnGapProperty.swift +18 -0
  1163. package/kit-apple/Sources/NativeScriptKit/Core/__Export.confirm.swift +20 -0
  1164. package/kit-apple/Sources/NativeScriptKit/Core/__Export.cornerShapeProperty.swift +18 -0
  1165. package/kit-apple/Sources/NativeScriptKit/Core/__Export.directionProperty.swift +18 -0
  1166. package/kit-apple/Sources/NativeScriptKit/Core/__Export.discardedErrorEvent.swift +18 -0
  1167. package/kit-apple/Sources/NativeScriptKit/Core/__Export.displayedEvent.swift +18 -0
  1168. package/kit-apple/Sources/NativeScriptKit/Core/__Export.eachDescendant.swift +20 -0
  1169. package/kit-apple/Sources/NativeScriptKit/Core/__Export.editableProperty.swift +18 -0
  1170. package/kit-apple/Sources/NativeScriptKit/Core/__Export.ensureA11yClasses.swift +20 -0
  1171. package/kit-apple/Sources/NativeScriptKit/Core/__Export.exitEvent.swift +18 -0
  1172. package/kit-apple/Sources/NativeScriptKit/Core/__Export.fontFamilyProperty.swift +18 -0
  1173. package/kit-apple/Sources/NativeScriptKit/Core/__Export.fontInternalProperty.swift +18 -0
  1174. package/kit-apple/Sources/NativeScriptKit/Core/__Export.fontScaleChangedEvent.swift +18 -0
  1175. package/kit-apple/Sources/NativeScriptKit/Core/__Export.fontScaleInternalProperty.swift +20 -0
  1176. package/kit-apple/Sources/NativeScriptKit/Core/__Export.fontSizeProperty.swift +18 -0
  1177. package/kit-apple/Sources/NativeScriptKit/Core/__Export.fontStyleProperty.swift +18 -0
  1178. package/kit-apple/Sources/NativeScriptKit/Core/__Export.fontVariationSettingsProperty.swift +20 -0
  1179. package/kit-apple/Sources/NativeScriptKit/Core/__Export.fontWeightProperty.swift +18 -0
  1180. package/kit-apple/Sources/NativeScriptKit/Core/__Export.foregroundEvent.swift +18 -0
  1181. package/kit-apple/Sources/NativeScriptKit/Core/__Export.fromObject.swift +20 -0
  1182. package/kit-apple/Sources/NativeScriptKit/Core/__Export.fromObjectRecursive.swift +20 -0
  1183. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getAncestor.swift +20 -0
  1184. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getAndroidAccessibilityManager.swift +20 -0
  1185. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getCssFileName.swift +18 -0
  1186. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getCurrentFontScale.swift +20 -0
  1187. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getCurrentPage.swift +20 -0
  1188. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getFileAccess.swift +20 -0
  1189. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getMainEntry.swift +18 -0
  1190. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getNativeApp.swift +20 -0
  1191. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getNativeApplication.swift +18 -0
  1192. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getResources.swift +18 -0
  1193. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getRootLayout.swift +20 -0
  1194. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getRootLayoutById.swift +20 -0
  1195. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getRootView.swift +18 -0
  1196. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getTransformedText.swift +20 -0
  1197. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getViewById.swift +20 -0
  1198. package/kit-apple/Sources/NativeScriptKit/Core/__Export.hasLaunched.swift +18 -0
  1199. package/kit-apple/Sources/NativeScriptKit/Core/__Export.hasListeners.swift +18 -0
  1200. package/kit-apple/Sources/NativeScriptKit/Core/__Export.heightProperty.swift +18 -0
  1201. package/kit-apple/Sources/NativeScriptKit/Core/__Export.hintProperty.swift +18 -0
  1202. package/kit-apple/Sources/NativeScriptKit/Core/__Export.horizontalAlignmentProperty.swift +18 -0
  1203. package/kit-apple/Sources/NativeScriptKit/Core/__Export.inBackground.swift +18 -0
  1204. package/kit-apple/Sources/NativeScriptKit/Core/__Export.initAccessibilityCssHelper.swift +20 -0
  1205. package/kit-apple/Sources/NativeScriptKit/Core/__Export.isAccessibilityServiceEnabled.swift +20 -0
  1206. package/kit-apple/Sources/NativeScriptKit/Core/__Export.isAndroid.swift +18 -0
  1207. package/kit-apple/Sources/NativeScriptKit/Core/__Export.isApple.swift +18 -0
  1208. package/kit-apple/Sources/NativeScriptKit/Core/__Export.isEmbedded.swift +20 -0
  1209. package/kit-apple/Sources/NativeScriptKit/Core/__Export.isIOS.swift +18 -0
  1210. package/kit-apple/Sources/NativeScriptKit/Core/__Export.isUserInteractionEnabledProperty.swift +20 -0
  1211. package/kit-apple/Sources/NativeScriptKit/Core/__Export.isVisionOS.swift +18 -0
  1212. package/kit-apple/Sources/NativeScriptKit/Core/__Export.keyboardTypeProperty.swift +18 -0
  1213. package/kit-apple/Sources/NativeScriptKit/Core/__Export.launchEvent.swift +18 -0
  1214. package/kit-apple/Sources/NativeScriptKit/Core/__Export.layoutDirection.swift +18 -0
  1215. package/kit-apple/Sources/NativeScriptKit/Core/__Export.layoutDirectionChanged.swift +18 -0
  1216. package/kit-apple/Sources/NativeScriptKit/Core/__Export.layoutDirectionChangedEvent.swift +18 -0
  1217. package/kit-apple/Sources/NativeScriptKit/Core/__Export.letterSpacingProperty.swift +18 -0
  1218. package/kit-apple/Sources/NativeScriptKit/Core/__Export.lineHeightProperty.swift +18 -0
  1219. package/kit-apple/Sources/NativeScriptKit/Core/__Export.loadAppCss.swift +18 -0
  1220. package/kit-apple/Sources/NativeScriptKit/Core/__Export.login.swift +20 -0
  1221. package/kit-apple/Sources/NativeScriptKit/Core/__Export.lowMemoryEvent.swift +18 -0
  1222. package/kit-apple/Sources/NativeScriptKit/Core/__Export.makeParser.swift +22 -0
  1223. package/kit-apple/Sources/NativeScriptKit/Core/__Export.makeValidator.swift +20 -0
  1224. package/kit-apple/Sources/NativeScriptKit/Core/__Export.marginBottomProperty.swift +18 -0
  1225. package/kit-apple/Sources/NativeScriptKit/Core/__Export.marginLeftProperty.swift +18 -0
  1226. package/kit-apple/Sources/NativeScriptKit/Core/__Export.marginRightProperty.swift +18 -0
  1227. package/kit-apple/Sources/NativeScriptKit/Core/__Export.marginTopProperty.swift +18 -0
  1228. package/kit-apple/Sources/NativeScriptKit/Core/__Export.maxHeightProperty.swift +18 -0
  1229. package/kit-apple/Sources/NativeScriptKit/Core/__Export.maxLengthProperty.swift +18 -0
  1230. package/kit-apple/Sources/NativeScriptKit/Core/__Export.maxWidthProperty.swift +18 -0
  1231. package/kit-apple/Sources/NativeScriptKit/Core/__Export.minHeightProperty.swift +18 -0
  1232. package/kit-apple/Sources/NativeScriptKit/Core/__Export.minWidthProperty.swift +18 -0
  1233. package/kit-apple/Sources/NativeScriptKit/Core/__Export.notify.swift +18 -0
  1234. package/kit-apple/Sources/NativeScriptKit/Core/__Export.off.swift +18 -0
  1235. package/kit-apple/Sources/NativeScriptKit/Core/__Export.on.swift +18 -0
  1236. package/kit-apple/Sources/NativeScriptKit/Core/__Export.opacityProperty.swift +18 -0
  1237. package/kit-apple/Sources/NativeScriptKit/Core/__Export.orientation.swift +18 -0
  1238. package/kit-apple/Sources/NativeScriptKit/Core/__Export.orientationChangedEvent.swift +18 -0
  1239. package/kit-apple/Sources/NativeScriptKit/Core/__Export.paddingBottomProperty.swift +18 -0
  1240. package/kit-apple/Sources/NativeScriptKit/Core/__Export.paddingInternalProperty.swift +18 -0
  1241. package/kit-apple/Sources/NativeScriptKit/Core/__Export.paddingLeftProperty.swift +18 -0
  1242. package/kit-apple/Sources/NativeScriptKit/Core/__Export.paddingRightProperty.swift +18 -0
  1243. package/kit-apple/Sources/NativeScriptKit/Core/__Export.paddingTopProperty.swift +18 -0
  1244. package/kit-apple/Sources/NativeScriptKit/Core/__Export.parseCSSShadow.swift +20 -0
  1245. package/kit-apple/Sources/NativeScriptKit/Core/__Export.parseCSSStroke.swift +20 -0
  1246. package/kit-apple/Sources/NativeScriptKit/Core/__Export.parseKeyframeDeclarations.swift +22 -0
  1247. package/kit-apple/Sources/NativeScriptKit/Core/__Export.perspectiveProperty.swift +18 -0
  1248. package/kit-apple/Sources/NativeScriptKit/Core/__Export.placeholderColorProperty.swift +20 -0
  1249. package/kit-apple/Sources/NativeScriptKit/Core/__Export.platformNames.swift +18 -0
  1250. package/kit-apple/Sources/NativeScriptKit/Core/__Export.profile.swift +22 -0
  1251. package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingDisable.swift +20 -0
  1252. package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingDumpProfiles.swift +20 -0
  1253. package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingEnable.swift +20 -0
  1254. package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingIsRunning.swift +20 -0
  1255. package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingResetProfiles.swift +20 -0
  1256. package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingStart.swift +20 -0
  1257. package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingStartCPU.swift +20 -0
  1258. package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingStop.swift +20 -0
  1259. package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingStopCPU.swift +20 -0
  1260. package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingUptime.swift +20 -0
  1261. package/kit-apple/Sources/NativeScriptKit/Core/__Export.prompt.swift +20 -0
  1262. package/kit-apple/Sources/NativeScriptKit/Core/__Export.querySelectorAll.swift +20 -0
  1263. package/kit-apple/Sources/NativeScriptKit/Core/__Export.removeTaggedAdditionalCSS.swift +20 -0
  1264. package/kit-apple/Sources/NativeScriptKit/Core/__Export.removeWeakEventListener.swift +22 -0
  1265. package/kit-apple/Sources/NativeScriptKit/Core/__Export.resetRootView.swift +18 -0
  1266. package/kit-apple/Sources/NativeScriptKit/Core/__Export.resolveFileNameFromUrl.swift +23 -0
  1267. package/kit-apple/Sources/NativeScriptKit/Core/__Export.resumeEvent.swift +18 -0
  1268. package/kit-apple/Sources/NativeScriptKit/Core/__Export.returnKeyTypeProperty.swift +20 -0
  1269. package/kit-apple/Sources/NativeScriptKit/Core/__Export.rotateProperty.swift +18 -0
  1270. package/kit-apple/Sources/NativeScriptKit/Core/__Export.rotateXProperty.swift +18 -0
  1271. package/kit-apple/Sources/NativeScriptKit/Core/__Export.rotateYProperty.swift +18 -0
  1272. package/kit-apple/Sources/NativeScriptKit/Core/__Export.rowGapProperty.swift +18 -0
  1273. package/kit-apple/Sources/NativeScriptKit/Core/__Export.run.swift +18 -0
  1274. package/kit-apple/Sources/NativeScriptKit/Core/__Export.sanitizeModuleName.swift +20 -0
  1275. package/kit-apple/Sources/NativeScriptKit/Core/__Export.scaleXProperty.swift +18 -0
  1276. package/kit-apple/Sources/NativeScriptKit/Core/__Export.scaleYProperty.swift +18 -0
  1277. package/kit-apple/Sources/NativeScriptKit/Core/__Export.sendAccessibilityEvent.swift +18 -0
  1278. package/kit-apple/Sources/NativeScriptKit/Core/__Export.setActivityCallbacks.swift +20 -0
  1279. package/kit-apple/Sources/NativeScriptKit/Core/__Export.setAutoSystemAppearanceChanged.swift +18 -0
  1280. package/kit-apple/Sources/NativeScriptKit/Core/__Export.setCssFileName.swift +18 -0
  1281. package/kit-apple/Sources/NativeScriptKit/Core/__Export.setMaxRefreshRate.swift +18 -0
  1282. package/kit-apple/Sources/NativeScriptKit/Core/__Export.setNativeApp.swift +20 -0
  1283. package/kit-apple/Sources/NativeScriptKit/Core/__Export.setResources.swift +18 -0
  1284. package/kit-apple/Sources/NativeScriptKit/Core/__Export.suspendEvent.swift +18 -0
  1285. package/kit-apple/Sources/NativeScriptKit/Core/__Export.suspended.swift +18 -0
  1286. package/kit-apple/Sources/NativeScriptKit/Core/__Export.systemAppearance.swift +18 -0
  1287. package/kit-apple/Sources/NativeScriptKit/Core/__Export.systemAppearanceChanged.swift +18 -0
  1288. package/kit-apple/Sources/NativeScriptKit/Core/__Export.systemAppearanceChangedEvent.swift +18 -0
  1289. package/kit-apple/Sources/NativeScriptKit/Core/__Export.textAlignmentProperty.swift +18 -0
  1290. package/kit-apple/Sources/NativeScriptKit/Core/__Export.textDecorationProperty.swift +18 -0
  1291. package/kit-apple/Sources/NativeScriptKit/Core/__Export.textOverflowProperty.swift +18 -0
  1292. package/kit-apple/Sources/NativeScriptKit/Core/__Export.textShadowProperty.swift +18 -0
  1293. package/kit-apple/Sources/NativeScriptKit/Core/__Export.textStrokeProperty.swift +18 -0
  1294. package/kit-apple/Sources/NativeScriptKit/Core/__Export.textTransformProperty.swift +18 -0
  1295. package/kit-apple/Sources/NativeScriptKit/Core/__Export.timeConverter.swift +20 -0
  1296. package/kit-apple/Sources/NativeScriptKit/Core/__Export.translateXProperty.swift +18 -0
  1297. package/kit-apple/Sources/NativeScriptKit/Core/__Export.translateYProperty.swift +18 -0
  1298. package/kit-apple/Sources/NativeScriptKit/Core/__Export.uncaughtErrorEvent.swift +18 -0
  1299. package/kit-apple/Sources/NativeScriptKit/Core/__Export.unsetValue.swift +18 -0
  1300. package/kit-apple/Sources/NativeScriptKit/Core/__Export.updateAccessibilityProperties.swift +20 -0
  1301. package/kit-apple/Sources/NativeScriptKit/Core/__Export.updateCurrentHelperClasses.swift +21 -0
  1302. package/kit-apple/Sources/NativeScriptKit/Core/__Export.updateTextTriggerProperty.swift +20 -0
  1303. package/kit-apple/Sources/NativeScriptKit/Core/__Export.verticalAlignmentProperty.swift +18 -0
  1304. package/kit-apple/Sources/NativeScriptKit/Core/__Export.visibilityProperty.swift +18 -0
  1305. package/kit-apple/Sources/NativeScriptKit/Core/__Export.whiteSpaceProperty.swift +18 -0
  1306. package/kit-apple/Sources/NativeScriptKit/Core/__Export.widthProperty.swift +18 -0
  1307. package/kit-apple/Sources/NativeScriptKit/Core/__Export.zIndexProperty.swift +18 -0
  1308. package/kit-apple/Sources/NativeScriptKit/Core/__Modules.swift +17 -0
  1309. package/kit-apple/Sources/NativeScriptKit/Core/__Namespace.Http.swift +23 -0
  1310. package/kit-apple/Sources/NativeScriptKit/Core/__Namespace.Utils.swift +203 -0
  1311. package/kit-apple/Sources/NativeScriptKit/Core/abortcontroller.abortsignal.swift +109 -0
  1312. package/kit-apple/Sources/NativeScriptKit/Core/abortcontroller.index.swift +118 -0
  1313. package/kit-apple/Sources/NativeScriptKit/Core/accessibility.accessibility-common.swift +572 -0
  1314. package/kit-apple/Sources/NativeScriptKit/Core/accessibility.accessibility-properties.swift +258 -0
  1315. package/kit-apple/Sources/NativeScriptKit/Core/accessibility.index.swift +16 -0
  1316. package/kit-apple/Sources/NativeScriptKit/Core/application-settings.application-settings-common.swift +36 -0
  1317. package/kit-apple/Sources/NativeScriptKit/Core/application-settings.index.ios.swift +157 -0
  1318. package/kit-apple/Sources/NativeScriptKit/Core/application.application-common.swift +2095 -0
  1319. package/kit-apple/Sources/NativeScriptKit/Core/application.application-interfaces.swift +16 -0
  1320. package/kit-apple/Sources/NativeScriptKit/Core/application.application-shims.swift +212 -0
  1321. package/kit-apple/Sources/NativeScriptKit/Core/application.application.ios.swift +3854 -0
  1322. package/kit-apple/Sources/NativeScriptKit/Core/application.helpers-common.swift +224 -0
  1323. package/kit-apple/Sources/NativeScriptKit/Core/application.helpers.ios.swift +57 -0
  1324. package/kit-apple/Sources/NativeScriptKit/Core/application.index.ios.swift +16 -0
  1325. package/kit-apple/Sources/NativeScriptKit/Core/application.scene-delegate-bridge.swift +234 -0
  1326. package/kit-apple/Sources/NativeScriptKit/Core/color.color-common.swift +756 -0
  1327. package/kit-apple/Sources/NativeScriptKit/Core/color.color-types.swift +16 -0
  1328. package/kit-apple/Sources/NativeScriptKit/Core/color.color-utils.swift +388 -0
  1329. package/kit-apple/Sources/NativeScriptKit/Core/color.index.ios.swift +100 -0
  1330. package/kit-apple/Sources/NativeScriptKit/Core/color.known-colors.swift +520 -0
  1331. package/kit-apple/Sources/NativeScriptKit/Core/connectivity.index.ios.swift +190 -0
  1332. package/kit-apple/Sources/NativeScriptKit/Core/core-types.animation-types.swift +87 -0
  1333. package/kit-apple/Sources/NativeScriptKit/Core/core-types.index.swift +361 -0
  1334. package/kit-apple/Sources/NativeScriptKit/Core/core-types.validators.swift +62 -0
  1335. package/kit-apple/Sources/NativeScriptKit/Core/css-mediaquery.index.swift +220 -0
  1336. package/kit-apple/Sources/NativeScriptKit/Core/css-value.reworkcss-value.swift +280 -0
  1337. package/kit-apple/Sources/NativeScriptKit/Core/css.CSS3Parser.swift +1012 -0
  1338. package/kit-apple/Sources/NativeScriptKit/Core/css.CSSNativeScript.swift +264 -0
  1339. package/kit-apple/Sources/NativeScriptKit/Core/css.parser.swift +971 -0
  1340. package/kit-apple/Sources/NativeScriptKit/Core/css.system-classes.swift +120 -0
  1341. package/kit-apple/Sources/NativeScriptKit/Core/data.observable-array.index.swift +699 -0
  1342. package/kit-apple/Sources/NativeScriptKit/Core/data.observable.index.swift +1166 -0
  1343. package/kit-apple/Sources/NativeScriptKit/Core/data.virtual-array.index.swift +325 -0
  1344. package/kit-apple/Sources/NativeScriptKit/Core/fetch.index.swift +1201 -0
  1345. package/kit-apple/Sources/NativeScriptKit/Core/file-system.file-system-access.ios.swift +1450 -0
  1346. package/kit-apple/Sources/NativeScriptKit/Core/file-system.index.swift +1756 -0
  1347. package/kit-apple/Sources/NativeScriptKit/Core/fps-meter.fps-native.ios.swift +227 -0
  1348. package/kit-apple/Sources/NativeScriptKit/Core/fps-meter.index.swift +141 -0
  1349. package/kit-apple/Sources/NativeScriptKit/Core/globals.global-utils.swift +252 -0
  1350. package/kit-apple/Sources/NativeScriptKit/Core/http.http-interfaces.swift +24 -0
  1351. package/kit-apple/Sources/NativeScriptKit/Core/http.http-request-internal.http-request-internal-common.swift +59 -0
  1352. package/kit-apple/Sources/NativeScriptKit/Core/http.http-request-internal.index.ios.swift +414 -0
  1353. package/kit-apple/Sources/NativeScriptKit/Core/http.http-request.http-request-common.swift +57 -0
  1354. package/kit-apple/Sources/NativeScriptKit/Core/http.http-request.index.ios.swift +101 -0
  1355. package/kit-apple/Sources/NativeScriptKit/Core/http.index.swift +175 -0
  1356. package/kit-apple/Sources/NativeScriptKit/Core/image-asset.image-asset-common.swift +285 -0
  1357. package/kit-apple/Sources/NativeScriptKit/Core/image-asset.index.ios.swift +205 -0
  1358. package/kit-apple/Sources/NativeScriptKit/Core/image-source.image-source-common.swift +40 -0
  1359. package/kit-apple/Sources/NativeScriptKit/Core/image-source.index.ios.swift +1130 -0
  1360. package/kit-apple/Sources/NativeScriptKit/Core/js-libs.easysax.easysax.swift +1388 -0
  1361. package/kit-apple/Sources/NativeScriptKit/Core/kit-index.json +30598 -0
  1362. package/kit-apple/Sources/NativeScriptKit/Core/manifest.json +3382 -0
  1363. package/kit-apple/Sources/NativeScriptKit/Core/matrix.index.swift +151 -0
  1364. package/kit-apple/Sources/NativeScriptKit/Core/media-query-list.index.swift +468 -0
  1365. package/kit-apple/Sources/NativeScriptKit/Core/module-name-resolver.helpers.swift +57 -0
  1366. package/kit-apple/Sources/NativeScriptKit/Core/module-name-resolver.index.swift +220 -0
  1367. package/kit-apple/Sources/NativeScriptKit/Core/module-name-resolver.non-bundle-workflow-compat.swift +262 -0
  1368. package/kit-apple/Sources/NativeScriptKit/Core/module-name-resolver.qualifier-matcher.index.swift +330 -0
  1369. package/kit-apple/Sources/NativeScriptKit/Core/native-window.index.swift +16 -0
  1370. package/kit-apple/Sources/NativeScriptKit/Core/native-window.native-window-common.swift +730 -0
  1371. package/kit-apple/Sources/NativeScriptKit/Core/native-window.native-window-interfaces.swift +46 -0
  1372. package/kit-apple/Sources/NativeScriptKit/Core/native-window.native-window.ios.swift +521 -0
  1373. package/kit-apple/Sources/NativeScriptKit/Core/native-window.window-base.swift +298 -0
  1374. package/kit-apple/Sources/NativeScriptKit/Core/npm.css-what.src.index.swift +16 -0
  1375. package/kit-apple/Sources/NativeScriptKit/Core/npm.css-what.src.parse.swift +668 -0
  1376. package/kit-apple/Sources/NativeScriptKit/Core/npm.css-what.src.stringify.swift +221 -0
  1377. package/kit-apple/Sources/NativeScriptKit/Core/npm.css-what.src.types.swift +62 -0
  1378. package/kit-apple/Sources/NativeScriptKit/Core/platform.common.swift +25 -0
  1379. package/kit-apple/Sources/NativeScriptKit/Core/platform.device.index.ios.swift +289 -0
  1380. package/kit-apple/Sources/NativeScriptKit/Core/platform.index.swift +16 -0
  1381. package/kit-apple/Sources/NativeScriptKit/Core/platform.screen.index.ios.swift +217 -0
  1382. package/kit-apple/Sources/NativeScriptKit/Core/profiling.index.swift +528 -0
  1383. package/kit-apple/Sources/NativeScriptKit/Core/text.formatted-string.swift +16 -0
  1384. package/kit-apple/Sources/NativeScriptKit/Core/text.index.ios.swift +25 -0
  1385. package/kit-apple/Sources/NativeScriptKit/Core/text.span.swift +16 -0
  1386. package/kit-apple/Sources/NativeScriptKit/Core/text.text-common.swift +309 -0
  1387. package/kit-apple/Sources/NativeScriptKit/Core/trace.index.swift +513 -0
  1388. package/kit-apple/Sources/NativeScriptKit/Core/ui.action-bar.action-bar-common.swift +1270 -0
  1389. package/kit-apple/Sources/NativeScriptKit/Core/ui.action-bar.index.ios.swift +1480 -0
  1390. package/kit-apple/Sources/NativeScriptKit/Core/ui.activity-indicator.activity-indicator-common.swift +81 -0
  1391. package/kit-apple/Sources/NativeScriptKit/Core/ui.activity-indicator.index.ios.swift +175 -0
  1392. package/kit-apple/Sources/NativeScriptKit/Core/ui.animation.animation-common.swift +581 -0
  1393. package/kit-apple/Sources/NativeScriptKit/Core/ui.animation.animation-shared.swift +16 -0
  1394. package/kit-apple/Sources/NativeScriptKit/Core/ui.animation.animation-types.swift +16 -0
  1395. package/kit-apple/Sources/NativeScriptKit/Core/ui.animation.index.ios.swift +2204 -0
  1396. package/kit-apple/Sources/NativeScriptKit/Core/ui.animation.keyframe-animation.swift +1213 -0
  1397. package/kit-apple/Sources/NativeScriptKit/Core/ui.builder.binding-builder.swift +318 -0
  1398. package/kit-apple/Sources/NativeScriptKit/Core/ui.builder.component-builder.index.swift +387 -0
  1399. package/kit-apple/Sources/NativeScriptKit/Core/ui.builder.index.swift +2026 -0
  1400. package/kit-apple/Sources/NativeScriptKit/Core/ui.button.button-common.swift +75 -0
  1401. package/kit-apple/Sources/NativeScriptKit/Core/ui.button.index.ios.swift +614 -0
  1402. package/kit-apple/Sources/NativeScriptKit/Core/ui.content-view.index.swift +291 -0
  1403. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.bindable.bindable-expressions.swift +770 -0
  1404. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.bindable.bindable-resources.swift +30 -0
  1405. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.bindable.bindable-types.swift +16 -0
  1406. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.bindable.expression-parser.swift +5297 -0
  1407. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.bindable.index.swift +1376 -0
  1408. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.control-state-change.index.ios.swift +197 -0
  1409. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.properties.index.swift +3899 -0
  1410. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.properties.property-shared.swift +53 -0
  1411. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.view-base.index.swift +3522 -0
  1412. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.view-base.utils.swift +32 -0
  1413. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.view.index.ios.swift +3318 -0
  1414. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.view.view-common.swift +4345 -0
  1415. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.view.view-helper.index.ios.swift +1417 -0
  1416. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.view.view-helper.view-helper-common.swift +337 -0
  1417. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.view.view-helper.view-helper-shared.swift +16 -0
  1418. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.view.view-interfaces.swift +272 -0
  1419. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.weak-event-listener.index.swift +323 -0
  1420. package/kit-apple/Sources/NativeScriptKit/Core/ui.date-picker.date-picker-common.swift +335 -0
  1421. package/kit-apple/Sources/NativeScriptKit/Core/ui.date-picker.index.ios.swift +609 -0
  1422. package/kit-apple/Sources/NativeScriptKit/Core/ui.dialogs.dialogs-common.swift +486 -0
  1423. package/kit-apple/Sources/NativeScriptKit/Core/ui.dialogs.index.ios.swift +677 -0
  1424. package/kit-apple/Sources/NativeScriptKit/Core/ui.editable-text-base.editable-text-base-common.swift +378 -0
  1425. package/kit-apple/Sources/NativeScriptKit/Core/ui.editable-text-base.index.ios.swift +512 -0
  1426. package/kit-apple/Sources/NativeScriptKit/Core/ui.embedding.index.ios.swift +25 -0
  1427. package/kit-apple/Sources/NativeScriptKit/Core/ui.enums.enums.swift +16 -0
  1428. package/kit-apple/Sources/NativeScriptKit/Core/ui.enums.index.swift +16 -0
  1429. package/kit-apple/Sources/NativeScriptKit/Core/ui.frame.fragment.ios.swift +26 -0
  1430. package/kit-apple/Sources/NativeScriptKit/Core/ui.frame.fragment.transitions.types.swift +23 -0
  1431. package/kit-apple/Sources/NativeScriptKit/Core/ui.frame.frame-common.swift +1526 -0
  1432. package/kit-apple/Sources/NativeScriptKit/Core/ui.frame.frame-constants.swift +21 -0
  1433. package/kit-apple/Sources/NativeScriptKit/Core/ui.frame.frame-helpers.swift +40 -0
  1434. package/kit-apple/Sources/NativeScriptKit/Core/ui.frame.frame-interfaces.swift +26 -0
  1435. package/kit-apple/Sources/NativeScriptKit/Core/ui.frame.frame-stack.swift +138 -0
  1436. package/kit-apple/Sources/NativeScriptKit/Core/ui.frame.index.ios.swift +1794 -0
  1437. package/kit-apple/Sources/NativeScriptKit/Core/ui.gestures.gestures-common.swift +269 -0
  1438. package/kit-apple/Sources/NativeScriptKit/Core/ui.gestures.gestures-types.swift +77 -0
  1439. package/kit-apple/Sources/NativeScriptKit/Core/ui.gestures.index.ios.swift +1453 -0
  1440. package/kit-apple/Sources/NativeScriptKit/Core/ui.gestures.touch-manager.swift +451 -0
  1441. package/kit-apple/Sources/NativeScriptKit/Core/ui.html-view.html-view-common.swift +106 -0
  1442. package/kit-apple/Sources/NativeScriptKit/Core/ui.html-view.index.ios.swift +301 -0
  1443. package/kit-apple/Sources/NativeScriptKit/Core/ui.image-cache.image-cache-common.swift +479 -0
  1444. package/kit-apple/Sources/NativeScriptKit/Core/ui.image-cache.index.ios.swift +232 -0
  1445. package/kit-apple/Sources/NativeScriptKit/Core/ui.image.image-common.swift +399 -0
  1446. package/kit-apple/Sources/NativeScriptKit/Core/ui.image.index.ios.swift +499 -0
  1447. package/kit-apple/Sources/NativeScriptKit/Core/ui.image.symbol-effects-common.swift +150 -0
  1448. package/kit-apple/Sources/NativeScriptKit/Core/ui.image.symbol-effects.ios.swift +148 -0
  1449. package/kit-apple/Sources/NativeScriptKit/Core/ui.label.index.ios.swift +483 -0
  1450. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.absolute-layout.absolute-layout-common.swift +172 -0
  1451. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.absolute-layout.index.ios.swift +189 -0
  1452. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.dock-layout.dock-layout-common.swift +157 -0
  1453. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.dock-layout.index.ios.swift +264 -0
  1454. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.flexbox-layout.flexbox-layout-common.swift +1028 -0
  1455. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.flexbox-layout.index.ios.swift +3235 -0
  1456. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.grid-layout.grid-layout-common.swift +1014 -0
  1457. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.grid-layout.index.ios.swift +2435 -0
  1458. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.index.swift +16 -0
  1459. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.layout-base-common.swift +591 -0
  1460. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.layout-base.ios.swift +135 -0
  1461. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.liquid-glass-container.index.ios.swift +364 -0
  1462. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.liquid-glass-container.liquid-glass-container-common.swift +49 -0
  1463. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.liquid-glass.index.ios.swift +238 -0
  1464. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.liquid-glass.liquid-glass-common.swift +34 -0
  1465. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.root-layout.index.ios.swift +347 -0
  1466. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.root-layout.root-layout-common.swift +964 -0
  1467. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.root-layout.root-layout-stack.swift +59 -0
  1468. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.stack-layout.index.ios.swift +350 -0
  1469. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.stack-layout.stack-layout-common.swift +72 -0
  1470. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.wrap-layout.index.ios.swift +357 -0
  1471. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.wrap-layout.wrap-layout-common.swift +188 -0
  1472. package/kit-apple/Sources/NativeScriptKit/Core/ui.list-picker.index.ios.swift +374 -0
  1473. package/kit-apple/Sources/NativeScriptKit/Core/ui.list-picker.list-picker-common.swift +252 -0
  1474. package/kit-apple/Sources/NativeScriptKit/Core/ui.list-view.index.ios.swift +2611 -0
  1475. package/kit-apple/Sources/NativeScriptKit/Core/ui.list-view.list-view-common.swift +950 -0
  1476. package/kit-apple/Sources/NativeScriptKit/Core/ui.page.events.swift +23 -0
  1477. package/kit-apple/Sources/NativeScriptKit/Core/ui.page.index.ios.swift +1340 -0
  1478. package/kit-apple/Sources/NativeScriptKit/Core/ui.page.page-common.swift +520 -0
  1479. package/kit-apple/Sources/NativeScriptKit/Core/ui.placeholder.index.swift +63 -0
  1480. package/kit-apple/Sources/NativeScriptKit/Core/ui.placeholder.placeholder-common.swift +16 -0
  1481. package/kit-apple/Sources/NativeScriptKit/Core/ui.progress.index.ios.swift +173 -0
  1482. package/kit-apple/Sources/NativeScriptKit/Core/ui.progress.progress-common.swift +111 -0
  1483. package/kit-apple/Sources/NativeScriptKit/Core/ui.proxy-view-container.index.swift +497 -0
  1484. package/kit-apple/Sources/NativeScriptKit/Core/ui.repeater.index.swift +535 -0
  1485. package/kit-apple/Sources/NativeScriptKit/Core/ui.scroll-view.index.ios.swift +699 -0
  1486. package/kit-apple/Sources/NativeScriptKit/Core/ui.scroll-view.scroll-view-common.swift +414 -0
  1487. package/kit-apple/Sources/NativeScriptKit/Core/ui.search-bar.index.ios.swift +609 -0
  1488. package/kit-apple/Sources/NativeScriptKit/Core/ui.search-bar.search-bar-common.swift +162 -0
  1489. package/kit-apple/Sources/NativeScriptKit/Core/ui.segmented-bar.index.ios.swift +470 -0
  1490. package/kit-apple/Sources/NativeScriptKit/Core/ui.segmented-bar.segmented-bar-common.swift +448 -0
  1491. package/kit-apple/Sources/NativeScriptKit/Core/ui.slider.index.ios.swift +593 -0
  1492. package/kit-apple/Sources/NativeScriptKit/Core/ui.slider.slider-common.swift +211 -0
  1493. package/kit-apple/Sources/NativeScriptKit/Core/ui.split-view.index.ios.swift +1459 -0
  1494. package/kit-apple/Sources/NativeScriptKit/Core/ui.split-view.split-view-common.swift +410 -0
  1495. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.background-common.swift +809 -0
  1496. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.background.ios.swift +2290 -0
  1497. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.box-shadow.swift +138 -0
  1498. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.clip-path-function.swift +198 -0
  1499. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.converters.swift +105 -0
  1500. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.css-animation-parser.swift +493 -0
  1501. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.css-selector.swift +4016 -0
  1502. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.css-shadow.swift +48 -0
  1503. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.css-stroke.swift +41 -0
  1504. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.css-transform.swift +406 -0
  1505. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.css-utils.swift +297 -0
  1506. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.font-common.swift +477 -0
  1507. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.font-interfaces.swift +16 -0
  1508. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.font.ios.swift +416 -0
  1509. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.length-shared.swift +343 -0
  1510. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.linear-gradient.swift +162 -0
  1511. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.style-properties.swift +2524 -0
  1512. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.style-scope.swift +3330 -0
  1513. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.style.index.swift +905 -0
  1514. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.styling-profile.swift +16 -0
  1515. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.styling-shared.swift +16 -0
  1516. package/kit-apple/Sources/NativeScriptKit/Core/ui.switch.index.ios.swift +508 -0
  1517. package/kit-apple/Sources/NativeScriptKit/Core/ui.switch.switch-common.swift +143 -0
  1518. package/kit-apple/Sources/NativeScriptKit/Core/ui.tab-view.index.ios.swift +2284 -0
  1519. package/kit-apple/Sources/NativeScriptKit/Core/ui.tab-view.tab-view-common.swift +985 -0
  1520. package/kit-apple/Sources/NativeScriptKit/Core/ui.text-base.formatted-string.swift +801 -0
  1521. package/kit-apple/Sources/NativeScriptKit/Core/ui.text-base.index.ios.swift +1264 -0
  1522. package/kit-apple/Sources/NativeScriptKit/Core/ui.text-base.span.swift +476 -0
  1523. package/kit-apple/Sources/NativeScriptKit/Core/ui.text-base.text-base-common.swift +1047 -0
  1524. package/kit-apple/Sources/NativeScriptKit/Core/ui.text-field.index.ios.swift +912 -0
  1525. package/kit-apple/Sources/NativeScriptKit/Core/ui.text-field.text-field-common.swift +121 -0
  1526. package/kit-apple/Sources/NativeScriptKit/Core/ui.text-view.index.ios.swift +1030 -0
  1527. package/kit-apple/Sources/NativeScriptKit/Core/ui.text-view.text-view-common.swift +138 -0
  1528. package/kit-apple/Sources/NativeScriptKit/Core/ui.time-picker.index.ios.swift +473 -0
  1529. package/kit-apple/Sources/NativeScriptKit/Core/ui.time-picker.time-picker-common.swift +536 -0
  1530. package/kit-apple/Sources/NativeScriptKit/Core/ui.transition.fade-transition.ios.swift +265 -0
  1531. package/kit-apple/Sources/NativeScriptKit/Core/ui.transition.index.ios.swift +159 -0
  1532. package/kit-apple/Sources/NativeScriptKit/Core/ui.transition.modal-transition.ios.swift +635 -0
  1533. package/kit-apple/Sources/NativeScriptKit/Core/ui.transition.page-transition.ios.swift +1167 -0
  1534. package/kit-apple/Sources/NativeScriptKit/Core/ui.transition.shared-transition-helper.ios.swift +3673 -0
  1535. package/kit-apple/Sources/NativeScriptKit/Core/ui.transition.shared-transition.swift +492 -0
  1536. package/kit-apple/Sources/NativeScriptKit/Core/ui.transition.slide-transition.ios.swift +328 -0
  1537. package/kit-apple/Sources/NativeScriptKit/Core/ui.utils.ios.swift +132 -0
  1538. package/kit-apple/Sources/NativeScriptKit/Core/ui.web-view.index.ios.swift +827 -0
  1539. package/kit-apple/Sources/NativeScriptKit/Core/ui.web-view.web-view-common.swift +206 -0
  1540. package/kit-apple/Sources/NativeScriptKit/Core/ui.web-view.web-view-interfaces.swift +16 -0
  1541. package/kit-apple/Sources/NativeScriptKit/Core/utils.animation-helpers.swift +84 -0
  1542. package/kit-apple/Sources/NativeScriptKit/Core/utils.common.swift +278 -0
  1543. package/kit-apple/Sources/NativeScriptKit/Core/utils.constants.ios.swift +33 -0
  1544. package/kit-apple/Sources/NativeScriptKit/Core/utils.debug-source.swift +271 -0
  1545. package/kit-apple/Sources/NativeScriptKit/Core/utils.debug.swift +20 -0
  1546. package/kit-apple/Sources/NativeScriptKit/Core/utils.index.ios.swift +205 -0
  1547. package/kit-apple/Sources/NativeScriptKit/Core/utils.layout-helper.index.ios.swift +131 -0
  1548. package/kit-apple/Sources/NativeScriptKit/Core/utils.layout-helper.layout-helper-common.swift +87 -0
  1549. package/kit-apple/Sources/NativeScriptKit/Core/utils.layout-helper.layout-helper-shared.swift +28 -0
  1550. package/kit-apple/Sources/NativeScriptKit/Core/utils.lazy.swift +39 -0
  1551. package/kit-apple/Sources/NativeScriptKit/Core/utils.macrotask-scheduler.swift +71 -0
  1552. package/kit-apple/Sources/NativeScriptKit/Core/utils.mainthread-helper.ios.swift +52 -0
  1553. package/kit-apple/Sources/NativeScriptKit/Core/utils.module-merge.swift +27 -0
  1554. package/kit-apple/Sources/NativeScriptKit/Core/utils.native-helper.ios.swift +734 -0
  1555. package/kit-apple/Sources/NativeScriptKit/Core/utils.number-utils.swift +79 -0
  1556. package/kit-apple/Sources/NativeScriptKit/Core/utils.platform-check.swift +25 -0
  1557. package/kit-apple/Sources/NativeScriptKit/Core/utils.shared.swift +84 -0
  1558. package/kit-apple/Sources/NativeScriptKit/Core/utils.types.swift +308 -0
  1559. package/kit-apple/Sources/NativeScriptKit/Core/utils.utils-shared.swift +31 -0
  1560. package/kit-apple/Sources/NativeScriptKit/Core/xhr.index.swift +1726 -0
  1561. package/kit-apple/Sources/NativeScriptKit/Core/xml.index.swift +775 -0
  1562. package/kit-apple/Sources/NativeScriptKit/CoreBridge.swift +454 -0
  1563. package/kit-apple/Sources/NativeScriptKit/CoreConnectivity.swift +46 -0
  1564. package/kit-apple/Sources/NativeScriptKit/CoreLifetimes.swift +15 -0
  1565. package/kit-apple/Sources/NativeScriptKit/CorePackages.swift +59 -0
  1566. package/kit-apple/Sources/NativeScriptKit/JS.swift +94 -0
  1567. package/kit-apple/Sources/NativeScriptKit/Modal.swift +65 -0
  1568. package/kit-apple/Sources/NativeScriptKit/Probe.swift +97 -0
  1569. package/kit-apple/Sources/NativeScriptKit/Regions.swift +291 -0
  1570. package/kit-apple/Sources/NativeScriptKit/Runtime/AbsentModules.swift +78 -0
  1571. package/kit-apple/Sources/NativeScriptKit/Runtime/Array.swift +1693 -0
  1572. package/kit-apple/Sources/NativeScriptKit/Runtime/ArrayLike.swift +859 -0
  1573. package/kit-apple/Sources/NativeScriptKit/Runtime/BigInt.swift +338 -0
  1574. package/kit-apple/Sources/NativeScriptKit/Runtime/BuiltinValues.swift +45 -0
  1575. package/kit-apple/Sources/NativeScriptKit/Runtime/Collections.swift +609 -0
  1576. package/kit-apple/Sources/NativeScriptKit/Runtime/Date.swift +269 -0
  1577. package/kit-apple/Sources/NativeScriptKit/Runtime/Dynamic.swift +474 -0
  1578. package/kit-apple/Sources/NativeScriptKit/Runtime/ES2023.swift +105 -0
  1579. package/kit-apple/Sources/NativeScriptKit/Runtime/Errors.swift +402 -0
  1580. package/kit-apple/Sources/NativeScriptKit/Runtime/Functions.swift +372 -0
  1581. package/kit-apple/Sources/NativeScriptKit/Runtime/Inspect.swift +762 -0
  1582. package/kit-apple/Sources/NativeScriptKit/Runtime/Interop.swift +42 -0
  1583. package/kit-apple/Sources/NativeScriptKit/Runtime/Intl.swift +799 -0
  1584. package/kit-apple/Sources/NativeScriptKit/Runtime/Iterators.swift +898 -0
  1585. package/kit-apple/Sources/NativeScriptKit/Runtime/JSON.swift +874 -0
  1586. package/kit-apple/Sources/NativeScriptKit/Runtime/Lowering.swift +597 -0
  1587. package/kit-apple/Sources/NativeScriptKit/Runtime/Native.swift +819 -0
  1588. package/kit-apple/Sources/NativeScriptKit/Runtime/NativeStack.swift +66 -0
  1589. package/kit-apple/Sources/NativeScriptKit/Runtime/Number.swift +599 -0
  1590. package/kit-apple/Sources/NativeScriptKit/Runtime/Promise.swift +810 -0
  1591. package/kit-apple/Sources/NativeScriptKit/Runtime/Prototypes.swift +496 -0
  1592. package/kit-apple/Sources/NativeScriptKit/Runtime/Reactive.swift +34 -0
  1593. package/kit-apple/Sources/NativeScriptKit/Runtime/Record.swift +59 -0
  1594. package/kit-apple/Sources/NativeScriptKit/Runtime/RegExp.swift +582 -0
  1595. package/kit-apple/Sources/NativeScriptKit/Runtime/RegExpEngine.swift +1918 -0
  1596. package/kit-apple/Sources/NativeScriptKit/Runtime/Stack.swift +20 -0
  1597. package/kit-apple/Sources/NativeScriptKit/Runtime/StringUTF16.swift +179 -0
  1598. package/kit-apple/Sources/NativeScriptKit/Runtime/Symbol.swift +142 -0
  1599. package/kit-apple/Sources/NativeScriptKit/Runtime/Threads.swift +275 -0
  1600. package/kit-apple/Sources/NativeScriptKit/Runtime/Timers.swift +240 -0
  1601. package/kit-apple/Sources/NativeScriptKit/Runtime/TypedArrays.swift +996 -0
  1602. package/kit-apple/Sources/NativeScriptKit/Runtime/URI.swift +94 -0
  1603. package/kit-apple/Sources/NativeScriptKit/Runtime/Values.swift +2069 -0
  1604. package/kit-apple/Sources/NativeScriptKit/Runtime/Views.swift +97 -0
  1605. package/kit-apple/Sources/NativeScriptKit/Runtime/Weak.swift +135 -0
  1606. package/kit-apple/Sources/NativeScriptKit/Runtime/WinterTC.swift +484 -0
  1607. package/kit-apple/Sources/NativeScriptKit/Signals.swift +952 -0
  1608. package/kit-apple/Sources/NativeScriptKit/UncaughtErrors.swift +37 -0
  1609. package/package.json +94 -4
  1610. package/verify/ui-driver/Host/App.swift +7 -0
  1611. package/verify/ui-driver/Tests/Driver.swift +54 -0
  1612. package/verify/ui-driver/project.yml +35 -0
@@ -0,0 +1,2095 @@
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
+ open class ApplicationCommon: JSDynamic, JSExpando, JSKeysMade, JSStaticKeyed {
19
+ nonisolated deinit {}
20
+ /// @deprecated Use the 'ready' event for application initialization and Application.setWindowContentResolver() to provide window UI. 'launch' continues to fire before the first window's content is created, and its 'root' property is still honored, for backwards compatibility. It never fires for additional windows. In a scene-based app it fires with the first window's content, so a background launch that connects no scene does not raise it.
21
+ open var launchEvent: String = "launch"
22
+ /// Raised once per JS context, as soon as the context is initialized. It is never deferred,
23
+ /// so it also fires on a background launch where no window is created.
24
+ ///
25
+ /// Guaranteed ordering: `ready` -> `windowOpen` -> raw connect/create events -> content
26
+ /// resolution (the legacy `launch` bridge runs here, for the first window only) ->
27
+ /// `contentLoaded` -> `activate`/`displayed`.
28
+ open var readyEvent: String = "ready"
29
+ /// Reflects whole-app state: with multiple windows it is raised once the app itself is
30
+ /// no longer in the foreground, not when an individual window backgrounds. Listen on a
31
+ /// NativeWindow for per-window state.
32
+ open var suspendEvent: String = "suspend"
33
+ open var displayedEvent: String = "displayed"
34
+ open var backgroundEvent: String = "background"
35
+ open var foregroundEvent: String = "foreground"
36
+ open var resumeEvent: String = "resume"
37
+ /// On Android, raised when the last window closes; the process may stay alive.
38
+ /// On iOS, raised when the process itself terminates.
39
+ open var exitEvent: String = "exit"
40
+ open var lowMemoryEvent: String = "lowMemory"
41
+ open var uncaughtErrorEvent: String = "uncaughtError"
42
+ open var discardedErrorEvent: String = "discardedError"
43
+ open var orientationChangedEvent: String = "orientationChanged"
44
+ open var systemAppearanceChangedEvent: String = "systemAppearanceChanged"
45
+ open var layoutDirectionChangedEvent: String = "layoutDirectionChanged"
46
+ open var fontScaleChangedEvent: String = "fontScaleChanged"
47
+ open var livesyncEvent: String = "livesync"
48
+ open var loadAppCssEvent: String = "loadAppCss"
49
+ open var cssChangedEvent: String = "cssChanged"
50
+ open var initRootViewEvent: String = "initRootView"
51
+ open var windowOpenEvent: String = ""
52
+ open var windowCloseEvent: String = ""
53
+ open var primaryWindowChangedEvent: String = ""
54
+ /// @deprecated Use `Application.android.on()` instead.
55
+ public static var on: ((String, ((Any?) throws -> Void)?, Any?) throws -> Void)?
56
+ /// @deprecated Use `Application.android.once()` instead.
57
+ public static var once: ((String, ((Any?) throws -> Void)?, Any?) throws -> Void)?
58
+ /// @deprecated Use `Application.android.off()` instead.
59
+ public static var off: ((String, Any?, Any?) throws -> Void)?
60
+ /// @deprecated Use `Application.android.notify()` instead.
61
+ public static var notify: ((Any?) throws -> Void)?
62
+ /// @deprecated Use `Application.android.hasListeners()` instead.
63
+ public static var hasListeners: ((String) throws -> Bool)?
64
+ open var on: ((String, ((Any?) throws -> Void)?, Any?) throws -> Void)?
65
+ open var once: ((String, ((Any?) throws -> Void)?, Any?) throws -> Void)?
66
+ open var off: ((String, Any?, Any?) throws -> Void)?
67
+ open var notify: ((Any?) throws -> Void)?
68
+ open var hasListeners: ((String) throws -> Bool)?
69
+ open var _orientation: String = "" {
70
+ didSet { if jsMadeBits0 & (1 << 0) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 0, "_orientation") } }
71
+ }
72
+ open var _systemAppearance: String? = nil {
73
+ didSet { if jsMadeBits0 & (1 << 1) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 1, "_systemAppearance") } }
74
+ }
75
+ open var _layoutDirection: String? = nil {
76
+ didSet { if jsMadeBits0 & (1 << 2) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 2, "_layoutDirection") } }
77
+ }
78
+ open var _inBackground: Bool = false
79
+ open var _suspended: Bool = false
80
+ open var _cssFile: String = "./app.css"
81
+ open var _readyNotified: Bool = false
82
+ open var _appCssLoaded: Bool = false
83
+ open var _launchBridgeConsumed: Bool = false
84
+ open var _windowContentResolver: ((Any?) throws -> Any?)?
85
+ open var mainEntry: Any? = nil {
86
+ didSet { if jsMadeBits0 & (1 << 3) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 3, "mainEntry") } }
87
+ }
88
+ open var started: Bool = false
89
+ open var _windows: JSArray<NativeWindow>? = JSArray<NativeWindow>()
90
+ open var _traitsWindow: NativeWindow?
91
+ /// @internal - should not be constructed by the user.
92
+ public init() throws {
93
+ self.windowOpenEvent = try jsUnwrap(Core_native_window_native_window_interfaces.WindowEvents, "windowOpen")
94
+ .windowOpen
95
+ self.windowCloseEvent = try jsUnwrap(Core_native_window_native_window_interfaces.WindowEvents, "windowClose")
96
+ .windowClose
97
+ self.primaryWindowChangedEvent = try jsUnwrap(
98
+ Core_native_window_native_window_interfaces.WindowEvents, "primaryWindowChanged"
99
+ ).primaryWindowChanged
100
+ self.on = try FunctionCell_String_AnyOpt_to_Void_Opt_AnyOpt_to_Void.fromScriptOrNil(
101
+ jsCallMethod(
102
+ jsGet(Core_application_application_common.globalEvents, "on"), "bind",
103
+ Core_application_application_common.globalEvents))
104
+ self.once = try FunctionCell_String_AnyOpt_to_Void_Opt_AnyOpt_to_Void.fromScriptOrNil(
105
+ jsCallMethod(
106
+ jsGet(Core_application_application_common.globalEvents, "once"), "bind",
107
+ Core_application_application_common.globalEvents))
108
+ self.off = try FunctionCell_String_AnyOpt_AnyOpt_to_Void.fromScriptOrNil(
109
+ jsCallMethod(
110
+ jsGet(Core_application_application_common.globalEvents, "off"), "bind",
111
+ Core_application_application_common.globalEvents))
112
+ self.notify = try FunctionCell_AnyOpt_to_Void.fromScriptOrNil(
113
+ jsCallMethod(
114
+ jsGet(Core_application_application_common.globalEvents, "notify"), "bind",
115
+ Core_application_application_common.globalEvents))
116
+ self.hasListeners = try FunctionCell_String_to_Bool.fromScriptOrNil(
117
+ jsCallMethod(
118
+ jsGet(Core_application_application_common.globalEvents, "hasListeners"), "bind",
119
+ Core_application_application_common.globalEvents))
120
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:249)
121
+ try jsSet(Core_globals_global_utils.getNativeScriptGlobals(), "appInstanceReady", true)
122
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:251)
123
+ try jsSet(
124
+ jsGlobalThis, "__onUncaughtError",
125
+ FunctionCell_AnyOpt_to_Void.scriptOrNil(
126
+ "", 1,
127
+ { (error: Any?) throws -> Void in
128
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:252)
129
+ try jsCallable(self.notify, "this.notify")(
130
+ JSObject([
131
+ ("eventName", self.uncaughtErrorEvent), ("object", self), ("android", error),
132
+ ("ios", error), ("error", error),
133
+ ]))
134
+ }))
135
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:261)
136
+ try jsSet(
137
+ jsGlobalThis, "__onDiscardedError",
138
+ FunctionCell_AnyOpt_to_Void.scriptOrNil(
139
+ "", 1,
140
+ { (error: Any?) throws -> Void in
141
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:262)
142
+ try jsCallable(self.notify, "this.notify")(
143
+ JSObject([("eventName", self.discardedErrorEvent), ("object", self), ("error", error)]))
144
+ }))
145
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:269)
146
+ try jsSet(
147
+ jsGlobalThis, "__onLiveSync",
148
+ FunctionCell_AnyOpt_to_Void.scriptOrNil(
149
+ "", 1,
150
+ { (context: Any?) throws -> Void in
151
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:270)
152
+ if self.suspended {
153
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:271)
154
+ return
155
+ }
156
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:274)
157
+ let rootView: View? = try self.getRootView()
158
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:275)
159
+ try self.livesync(rootView, context)
160
+ }))
161
+ }
162
+ #sourceLocation()
163
+ /// Boolean to enable/disable systemAppearanceChanged
164
+ open var autoSystemAppearanceChanged: Bool {
165
+ get {
166
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:238)
167
+ return Core_application_helpers_common.getAutoSystemAppearanceChanged()
168
+ }
169
+ set {
170
+ let value = newValue
171
+ do {
172
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:242)
173
+ Core_application_helpers_common.setAutoSystemAppearanceChanged(value)
174
+ }
175
+ }
176
+ }
177
+ #sourceLocation()
178
+ /// Get the primary NativeWindow.
179
+ open var primaryWindow: NativeWindow? {
180
+ get throws {
181
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:463)
182
+ return try jsImplicit(
183
+ jsUnwrap(self._windows, "find").find({ (nw: NativeWindow?) throws -> Bool in
184
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:463)
185
+ return try jsUnwrap(nw, "isPrimary").isPrimary
186
+ }))
187
+ }
188
+ }
189
+ #sourceLocation()
190
+ /// Get the NativeWindow the user is currently interacting with - the one that activated most
191
+ /// recently and is still attached. Falls back to the primary window while no window holds
192
+ /// activation, which is the case before the first window activates and on a platform that
193
+ /// never raises `activate`.
194
+ open var activeWindow: NativeWindow? {
195
+ get throws {
196
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:473)
197
+ let active: NativeWindow? = Core_application_helpers_common.getActiveWindow()
198
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:474)
199
+ if try
200
+ ({ () throws -> Bool in
201
+ let __v_1 = active
202
+ return jsTruthy(__v_1)
203
+ ? try jsStringEquals(jsUnwrap(active, "state").state, "attached") : jsTruthy(__v_1)
204
+ }()) && jsUnwrap(self._windows, "indexOf").indexOf(jsObjectRequired(active)) != -1
205
+ {
206
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:475)
207
+ return active
208
+ }
209
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:478)
210
+ return try self.primaryWindow
211
+ }
212
+ }
213
+ #sourceLocation()
214
+ open var inBackground: Bool {
215
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1135)
216
+ return Core_application_helpers_common.isAppInBackground()
217
+ }
218
+ #sourceLocation()
219
+ open var suspended: Bool {
220
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1151)
221
+ return self._suspended
222
+ }
223
+ #sourceLocation()
224
+ open var android: Any? {
225
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1168)
226
+ return nil
227
+ }
228
+ #sourceLocation()
229
+ open var ios: iOSApplication? {
230
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1172)
231
+ return nil
232
+ }
233
+ #sourceLocation()
234
+ open var AndroidApplication: Any? {
235
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1176)
236
+ return self.android
237
+ }
238
+ #sourceLocation()
239
+ open var iOSApplication: iOSApplication? {
240
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1180)
241
+ return self.ios
242
+ }
243
+ #sourceLocation()
244
+ open func jsSymbolMethod(_ key: String) -> JSMethod? {
245
+ return nil
246
+ }
247
+ open class var jsSymbolPlain: Bool { true }
248
+ open class var jsSymbolFieldsPlain: Bool { true }
249
+ open var jsExpando: JSObject?
250
+ open var jsSymbolKeys: [String] { jsExpando?.jsSymbolKeys ?? [] }
251
+ open func jsDeleteOwn(_ key: String) -> Bool { jsExpando?.delete(key) ?? true }
252
+ /// @internal
253
+ open func livesync(_ rootView: View?, _ context: Any? = nil) throws {
254
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:283)
255
+ try jsCallable(self.notify, "this.notify")(
256
+ EventData(jsObject: EventData(jsObject: JSObject([("eventName", self.livesyncEvent), ("object", self)]))))
257
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:284)
258
+ let liveSyncCore: Any? = try jsGet(jsGlobalThis, "__onLiveSyncCore")
259
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:285)
260
+ var reapplyAppStyles: Bool = false
261
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:288)
262
+ if try (jsTruthy(context) && jsTruthy(jsGet(context, "path"))) {
263
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:289)
264
+ let styleExtensions: JSArray<String> = JSArray<String>(["css", "scss"])
265
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:290)
266
+ let appStylesFullFileName: String = self.getCssFileName()
267
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:291)
268
+ let appStylesFileName: String = jsSubstring(
269
+ appStylesFullFileName, 0, jsLastIndexOf(appStylesFullFileName, ".") + 1)
270
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:292)
271
+ reapplyAppStyles = try styleExtensions.some({ (ext: String) throws -> Bool in
272
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:292)
273
+ return try jsStrictEquals(jsGet(context, "path"), (appStylesFileName + ext))
274
+ })
275
+ }
276
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:296)
277
+ if jsTruthy(rootView) && reapplyAppStyles {
278
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:297)
279
+ try jsUnwrap(rootView, "_onCssStateChange")._onCssStateChange()
280
+ } else if jsTruthy(liveSyncCore) {
281
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:299)
282
+ _ = try jsCall(liveSyncCore, context)
283
+ }
284
+ }
285
+ #sourceLocation()
286
+ /// Applies the the `newCssClass` to the `rootView` and removes all other css classes from `cssClasses`
287
+ /// previously applied to the `rootView`.
288
+ /// @param rootView
289
+ /// @param cssClasses
290
+ /// @param newCssClass
291
+ /// @param skipCssUpdate
292
+ open func applyCssClass(
293
+ _ rootView: View?, _ cssClasses: JSArray<String>?, _ newCssClass: String, _ skipCssUpdate: Bool = false
294
+ ) throws {
295
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:312)
296
+ if try !(jsUnwrap(jsUnwrap(rootView, "cssClasses").cssClasses, "has").has(newCssClass)) {
297
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:313)
298
+ try jsUnwrap(cssClasses, "forEach").forEach({ (cssClass: String) throws -> Void in
299
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:313)
300
+ try self.removeCssClass(rootView, cssClass)
301
+ })
302
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:314)
303
+ try self.addCssClass(rootView, newCssClass)
304
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:315)
305
+ try self.increaseStyleScopeApplicationCssSelectorVersion(rootView)
306
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:317)
307
+ if !skipCssUpdate {
308
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:318)
309
+ try jsUnwrap(rootView, "_onCssStateChange")._onCssStateChange()
310
+ }
311
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:321)
312
+ if NativeScriptKit.Trace.isEnabled() {
313
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:322)
314
+ let rootCssClasses: JSArray<String>? = try JSArray<String>.from(
315
+ jsObjectRequired(jsUnwrap(rootView, "cssClasses").cssClasses))
316
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:323)
317
+ try NativeScriptKit.Trace.write(
318
+ "Applying root css class: \(newCssClass). rootView css classes: \(jsUnwrap(rootCssClasses, "join").join(" "))",
319
+ NativeScriptKit.Trace.categories.Style)
320
+ }
321
+ }
322
+ }
323
+ #sourceLocation()
324
+ open func addCssClass(_ rootView: View?, _ cssClass: String) throws {
325
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:329)
326
+ _ = NativeScriptKit.CSSUtils.pushToSystemCssClasses(cssClass)
327
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:330)
328
+ _ = try jsUnwrap(jsUnwrap(rootView, "cssClasses").cssClasses, "add").add(cssClass)
329
+ }
330
+ #sourceLocation()
331
+ open func removeCssClass(_ rootView: View?, _ cssClass: String) throws {
332
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:334)
333
+ _ = (NativeScriptKit.CSSUtils.removeSystemCssClass(cssClass) ?? "undefined")
334
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:335)
335
+ _ = try jsUnwrap(jsUnwrap(rootView, "cssClasses").cssClasses, "delete").delete(cssClass)
336
+ }
337
+ #sourceLocation()
338
+ /// Same as {@link applyCssClass}, minus the system class list: window-scoped classes
339
+ /// must not leak into it, because it seeds every window's root view.
340
+ open func applyWindowScopedCssClass(_ rootView: View?, _ cssClasses: JSArray<String>?, _ newCssClass: String) throws
341
+ {
342
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:343)
343
+ if try jsUnwrap(jsUnwrap(rootView, "cssClasses").cssClasses, "has").has(newCssClass) {
344
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:344)
345
+ return
346
+ }
347
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:347)
348
+ try jsUnwrap(cssClasses, "forEach").forEach({ (cssClass: String) throws -> Void in
349
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:347)
350
+ try _ = jsUnwrap(jsUnwrap(rootView, "cssClasses").cssClasses, "delete").delete(cssClass)
351
+ })
352
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:348)
353
+ _ = try jsUnwrap(jsUnwrap(rootView, "cssClasses").cssClasses, "add").add(newCssClass)
354
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:349)
355
+ try self.increaseStyleScopeApplicationCssSelectorVersion(rootView)
356
+ }
357
+ #sourceLocation()
358
+ /// The modal registry is process-wide, so only the modals presented over this root
359
+ /// view may follow its window-scoped classes.
360
+ open func getOwnedModalViews(_ rootView: View?) throws -> JSArray<View>? {
361
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:357)
362
+ return try jsUnwrap(
363
+ ((try jsArrayFrom(jsUnwrap(rootView, "_getRootModalViews")._getRootModalViews()) {
364
+ try (jsCastPresent($0) as View)
365
+ } as JSArray<View>)), "filter"
366
+ ).filter({ (modalView: View?) throws -> Bool in
367
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:357)
368
+ return try jsStrictEquals(jsUnwrap(modalView, "_getRootModalHost")._getRootModalHost(), rootView)
369
+ })
370
+ }
371
+ #sourceLocation()
372
+ open func increaseStyleScopeApplicationCssSelectorVersion(_ rootView: View?) throws {
373
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:361)
374
+ let styleScope: StyleScope? =
375
+ try
376
+ (jsUnwrap(rootView, "_styleScope")._styleScope ?? ((rootView as? Frame) as Frame?)?.currentPage?._styleScope)
377
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:363)
378
+ if jsTruthy(styleScope) {
379
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:364)
380
+ try jsUnwrap(styleScope, "_increaseApplicationCssSelectorVersion")._increaseApplicationCssSelectorVersion()
381
+ }
382
+ }
383
+ #sourceLocation()
384
+ open func setRootViewCSSClasses(_ rootView: View?, _ window: NativeWindow? = nil) throws {
385
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:369)
386
+ let platform: String = try jsUnwrap(Core_platform_device_index.Device, "os").os.lowercased()
387
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:370)
388
+ let deviceType: String = try jsUnwrap(Core_platform_device_index.Device, "deviceType").deviceType.lowercased()
389
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:371)
390
+ let orientation: String =
391
+ try (jsTruthy(window as Any?) ? jsUnwrap(window, "orientation").orientation() : self.orientation())
392
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:372)
393
+ let systemAppearance: String? =
394
+ try
395
+ (jsTruthy(window as Any?)
396
+ ? jsUnwrap(window, "systemAppearance").systemAppearance() : self.systemAppearance())
397
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:373)
398
+ let layoutDirection: String? =
399
+ try
400
+ (jsTruthy(window as Any?) ? jsUnwrap(window, "layoutDirection").layoutDirection() : self.layoutDirection())
401
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:375)
402
+ if jsTruthy(platform) {
403
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:376)
404
+ _ = NativeScriptKit.CSSUtils.pushToSystemCssClasses("\(NativeScriptKit.CSSUtils.CLASS_PREFIX)\(platform)")
405
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:382)
406
+ _ = NativeScriptKit.CSSUtils.pushToSystemCssClasses(
407
+ "\(NativeScriptKit.CSSUtils.CLASS_PREFIX)\(platform)-\(js(Foundation.floor(Core_utils_constants.SDK_VERSION)))"
408
+ )
409
+ }
410
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:385)
411
+ if jsTruthy(deviceType) {
412
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:386)
413
+ _ = NativeScriptKit.CSSUtils.pushToSystemCssClasses("\(NativeScriptKit.CSSUtils.CLASS_PREFIX)\(deviceType)")
414
+ }
415
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:389)
416
+ _ = try jsUnwrap(jsUnwrap(rootView, "cssClasses").cssClasses, "add").add(
417
+ NativeScriptKit.CSSUtils.ROOT_VIEW_CSS_CLASS)
418
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:390)
419
+ let rootViewCssClasses: JSArray<String>? = NativeScriptKit.CSSUtils.getSystemCssClasses()
420
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:391)
421
+ try jsUnwrap(rootViewCssClasses, "forEach").forEach({ (c: String) throws -> Void in
422
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:391)
423
+ try _ = jsObjectRequired(jsUnwrap(jsUnwrap(rootView, "cssClasses").cssClasses, "add").add(c))
424
+ })
425
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:395)
426
+ if jsTruthy(orientation) {
427
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:396)
428
+ _ = try jsUnwrap(jsUnwrap(rootView, "cssClasses").cssClasses, "add").add(
429
+ "\(NativeScriptKit.CSSUtils.CLASS_PREFIX)\(orientation)")
430
+ }
431
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:399)
432
+ if jsTruthy(systemAppearance as Any?) {
433
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:400)
434
+ _ = try jsUnwrap(jsUnwrap(rootView, "cssClasses").cssClasses, "add").add(
435
+ "\(NativeScriptKit.CSSUtils.CLASS_PREFIX)\(jsToString(systemAppearance as Any?))")
436
+ }
437
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:403)
438
+ if jsTruthy(layoutDirection as Any?) {
439
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:404)
440
+ _ = try jsUnwrap(jsUnwrap(rootView, "cssClasses").cssClasses, "add").add(
441
+ "\(NativeScriptKit.CSSUtils.CLASS_PREFIX)\(jsToString(layoutDirection as Any?))")
442
+ }
443
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:407)
444
+ try self.increaseStyleScopeApplicationCssSelectorVersion(rootView)
445
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:408)
446
+ try jsUnwrap(rootView, "_onCssStateChange")._onCssStateChange()
447
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:410)
448
+ if NativeScriptKit.Trace.isEnabled() {
449
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:411)
450
+ let rootCssClasses: JSArray<String>? = try JSArray<String>.from(
451
+ jsObjectRequired(jsUnwrap(rootView, "cssClasses").cssClasses))
452
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:412)
453
+ try NativeScriptKit.Trace.write(
454
+ "Setting root css classes: \(jsUnwrap(rootCssClasses, "join").join(" "))",
455
+ NativeScriptKit.Trace.categories.Style)
456
+ }
457
+ }
458
+ #sourceLocation()
459
+ /// iOS Only
460
+ /// Dynamically change the preferred frame rate
461
+ /// For devices (iOS 15+) which support min/max/preferred frame rate you can specify ranges
462
+ /// For devices (iOS < 15), you can specify the max frame rate
463
+ /// see: https://developer.apple.com/documentation/quartzcore/optimizing_promotion_refresh_rates_for_iphone_13_pro_and_ipad_pro
464
+ /// To use, ensure your Info.plist has:
465
+ /// ```xml
466
+ /// <key>CADisableMinimumFrameDurationOnPhone</key>
467
+ /// <true/>
468
+ /// ```
469
+ /// @param options { min?: number; max?: number; preferred?: number }
470
+ open func setMaxRefreshRate(_ options: Any? = nil) throws {
471
+
472
+ }
473
+ public final func setMaxRefreshRate__ApplicationCommon(_ options: Any? = nil) throws {
474
+
475
+ }
476
+ /// @returns The main entry of the application
477
+ open func getMainEntry() -> Any? {
478
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:437)
479
+ return Core_application_helpers_common.getAppMainEntry()
480
+ }
481
+ #sourceLocation()
482
+ /// Sets the callback that supplies the UI for windows that need content.
483
+ /// Pass `null` to remove a previously set resolver.
484
+ open func setWindowContentResolver(_ resolver: ((Any?) throws -> Any?)?) {
485
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:445)
486
+ self._windowContentResolver = (resolver ?? nil)
487
+ }
488
+ #sourceLocation()
489
+ /// @returns The callback currently supplying window content, if any.
490
+ open func getWindowContentResolver() -> ((Any?) throws -> Any?)? {
491
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:452)
492
+ return self._windowContentResolver
493
+ }
494
+ #sourceLocation()
495
+ /// Get the active windows, filtered by role.
496
+ ///
497
+ /// Defaults to the view-carrying app windows (`application` and `embedded`).
498
+ /// Pass `'all'` to include every registered surface, including ones that carry no view tree.
499
+ open func getWindows(_ role: Any? = nil) throws -> JSArray<WindowBase>? {
500
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:491)
501
+ if jsStrictEquals(role, "all") {
502
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:492)
503
+ return try jsImplicit(
504
+ JSArray<WindowBase>(Array(jsIterated(self._windows, "this._windows is not iterable")))
505
+ ).map { JSArray<WindowBase>($0.storage.map { $0 as WindowBase }) }
506
+ }
507
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:494)
508
+ let roles: JSArray<String>? =
509
+ (jsTruthy(role)
510
+ ? ((JSArray<Any?>.isArray(role)
511
+ ? jsArrayOrNil(role, { jsLenientString($0) }) : JSArray<String>([jsLenientString(role)])))
512
+ : JSArray<String>(["application", "embedded"]))
513
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:495)
514
+ return try jsImplicit(
515
+ jsUnwrap(self._windows, "filter").filter({ (nw: NativeWindow?) throws -> Bool in
516
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:495)
517
+ return try jsUnwrap(roles, "indexOf").indexOf(jsUnwrap(nw, "role").role) != -1
518
+ })
519
+ ).map { JSArray<WindowBase>($0.storage.map { $0 as WindowBase }) }
520
+ }
521
+ #sourceLocation()
522
+ /// Get a registered NativeWindow by its id.
523
+ open func getWindowById(_ id: String) throws -> NativeWindow? {
524
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:502)
525
+ return try jsImplicit(
526
+ jsUnwrap(self._windows, "find").find({ (nw: NativeWindow?) throws -> Bool in
527
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:502)
528
+ return try jsStringEquals(jsUnwrap(nw, "id").id, id)
529
+ }))
530
+ }
531
+ #sourceLocation()
532
+ /// Opens a new window.
533
+ ///
534
+ /// @param options Options for the new window, including data to hand to it.
535
+ open func openWindow(_ options: Any? = nil) throws {
536
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:511)
537
+ throw JSException(value: JSError("openWindow() is not supported on this platform."))
538
+ }
539
+ #sourceLocation()
540
+ public final func openWindow__ApplicationCommon(_ options: Any? = nil) throws {
541
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:511)
542
+ throw JSException(value: JSError("openWindow() is not supported on this platform."))
543
+ }
544
+ #sourceLocation()
545
+ /// @internal - Get all registered NativeWindows, whatever their role.
546
+ open func _getWindows() throws -> JSArray<NativeWindow>? {
547
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:518)
548
+ return try JSArray<NativeWindow>(Array(jsIterated(self._windows, "this._windows is not iterable")))
549
+ }
550
+ #sourceLocation()
551
+ /// @internal - Register a NativeWindow created by the platform lifecycle.
552
+ open func _registerWindow(_ nativeWindow: NativeWindow?) throws {
553
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:525)
554
+ _ = try jsUnwrap(self._windows, "push").push(jsObjectRequired(nativeWindow))
555
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:528)
556
+ try jsUnwrap(nativeWindow, "on").on(
557
+ jsUnwrap(Core_native_window_native_window_interfaces.NativeWindowEvents, "activate").activate,
558
+ FunctionCell_EventDataOpt_to_Void.adapting(
559
+ jsMethodValue(self, "onWindowActivated") { __r, __i in
560
+ FunctionCell_AnyOpt_to_Void(f: { [weak __r] (__p0: Any?) throws -> Void in
561
+ guard let __r else { throw jsReleasedReceiver("onWindowActivated") }
562
+ try withExtendedLifetime(__i) { () throws -> Void in try __r.onWindowActivated(__p0) }
563
+ })
564
+ }.f), self)
565
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:530)
566
+ if try jsUnwrap(nativeWindow, "isPrimary").isPrimary {
567
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:531)
568
+ try self.trackPrimaryWindowTraits(nativeWindow)
569
+ }
570
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:534)
571
+ try self._onWindowRegistered(nativeWindow)
572
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:536)
573
+ try jsCallable(self.notify, "this.notify")(
574
+ Object_eventName_object_window(eventName: self.windowOpenEvent, object: self, window: nativeWindow))
575
+ }
576
+ #sourceLocation()
577
+ /// @internal - retire the windows behind discarded window-session ids.
578
+ ///
579
+ /// A session id can only stand in for a window whose native surface is already gone.
580
+ /// iOS reports sessions discarded while the app was not running on the next launch,
581
+ /// and such an id can name the session driving the app now, so an id match alone is
582
+ /// no evidence that the window is finished with. Retiring an attached window tears
583
+ /// down the UI in use - its root view unloads and nothing ever reloads it - so only
584
+ /// detached windows are retired. Ids matching no window are ignored: they routinely
585
+ /// belong to windows this JS context has never seen.
586
+ open func _retireDiscardedWindows(_ ids: JSArray<String>?) throws {
587
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:555)
588
+ for id in try jsIterated(ids, "ids is not iterable") {
589
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:556)
590
+ let nativeWindow: NativeWindow? = try (jsTruthy(id) ? self.getWindowById(id) : nil)
591
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:558)
592
+ if !jsTruthy(nativeWindow as Any?) {
593
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:559)
594
+ continue
595
+ }
596
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:562)
597
+ if try jsStringEquals(jsUnwrap(nativeWindow, "state").state, "attached") {
598
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:563)
599
+ try NativeScriptKit.Trace.write(
600
+ "Ignoring a discarded session for window '\(id)': its surface is still attached.",
601
+ NativeScriptKit.Trace.categories.NativeLifecycle, NativeScriptKit.Trace.messageType.warn)
602
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:565)
603
+ continue
604
+ }
605
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:568)
606
+ try jsUnwrap(nativeWindow, "_notifyEvent")._notifyEvent(
607
+ jsUnwrap(Core_native_window_native_window_interfaces.NativeWindowEvents, "close").close)
608
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:569)
609
+ try self._unregisterWindow(nativeWindow)
610
+ }
611
+ }
612
+ #sourceLocation()
613
+ /// @internal - Unregister a NativeWindow when its native surface is gone for good.
614
+ open func _unregisterWindow(_ nativeWindow: NativeWindow?) throws {
615
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:577)
616
+ if try !(jsUnwrap(nativeWindow, "_surfaceGone")._surfaceGone) {
617
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:578)
618
+ try NativeScriptKit.Trace.write(
619
+ "Unregistering window '\(jsUnwrap(nativeWindow, "id").id)' while its native surface is still live. A window may only be retired once the platform has reported the surface gone.",
620
+ NativeScriptKit.Trace.categories.NativeLifecycle, NativeScriptKit.Trace.messageType.error)
621
+ }
622
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:581)
623
+ let idx: Double = try jsUnwrap(self._windows, "indexOf").indexOf(jsObjectRequired(nativeWindow))
624
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:582)
625
+ if idx >= 0 {
626
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:583)
627
+ _ = try jsUnwrap(self._windows, "splice").splice(idx, 1)
628
+ }
629
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:586)
630
+ if Core_application_helpers_common.getActiveWindow() === nativeWindow {
631
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:587)
632
+ Core_application_helpers_common.setActiveWindow(nil)
633
+ }
634
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:590)
635
+ try jsCallable(self.notify, "this.notify")(
636
+ Object_eventName_object_window(eventName: self.windowCloseEvent, object: self, window: nativeWindow))
637
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:597)
638
+ if try jsUnwrap(nativeWindow, "isPrimary").isPrimary {
639
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:598)
640
+ try jsUnwrap(nativeWindow, "_setIsPrimary")._setIsPrimary(false)
641
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:600)
642
+ let promoted: NativeWindow? = try jsUnwrap(
643
+ try jsImplicit(self.getWindows()).map {
644
+ JSArray<NativeWindow>(try $0.storage.map { try (jsCastPresent($0) as NativeWindow) })
645
+ }, "find"
646
+ ).find({ (nw: NativeWindow?) throws -> Bool in
647
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:600)
648
+ return try jsStringEquals(jsUnwrap(nw, "state").state, "attached")
649
+ })
650
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:601)
651
+ try self.trackPrimaryWindowTraits(promoted)
652
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:603)
653
+ if jsTruthy(promoted as Any?) {
654
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:604)
655
+ try jsUnwrap(promoted, "_setIsPrimary")._setIsPrimary(true)
656
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:605)
657
+ try self._onPrimaryWindowPromoted(promoted)
658
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:606)
659
+ try jsCallable(self.notify, "this.notify")(
660
+ Object_eventName_object_window(
661
+ eventName: self.primaryWindowChangedEvent, object: self, window: promoted))
662
+ }
663
+ }
664
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:614)
665
+ try jsUnwrap(nativeWindow, "_destroy")._destroy()
666
+ }
667
+ #sourceLocation()
668
+ /// Hook for platform-specific bookkeeping right after a window joins the registry,
669
+ /// before `windowOpen` is raised.
670
+ open func _onWindowRegistered(_ nativeWindow: NativeWindow?) throws {
671
+
672
+ }
673
+ public final func _onWindowRegistered__ApplicationCommon(_ nativeWindow: NativeWindow?) throws {
674
+
675
+ }
676
+ /// Hook for platform-specific bookkeeping right after a window takes over the primary
677
+ /// role, before `primaryWindowChanged` is raised.
678
+ open func _onPrimaryWindowPromoted(_ nativeWindow: NativeWindow?) throws {
679
+
680
+ }
681
+ public final func _onPrimaryWindowPromoted__ApplicationCommon(_ nativeWindow: NativeWindow?) throws {
682
+
683
+ }
684
+ /// Points the application-level orientation, appearance and layout direction at the
685
+ /// primary window, which owns those values now that each window has its own.
686
+ open func trackPrimaryWindowTraits(_ nativeWindow: NativeWindow?) throws {
687
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:642)
688
+ let target: NativeWindow? = (nativeWindow ?? nil)
689
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:643)
690
+ if self._traitsWindow === target {
691
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:644)
692
+ return
693
+ }
694
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:647)
695
+ let previous: NativeWindow? = self._traitsWindow
696
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:648)
697
+ if jsTruthy(previous) {
698
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:649)
699
+ try jsUnwrap(previous, "off").off(
700
+ jsUnwrap(Core_native_window_native_window_interfaces.NativeWindowEvents, "orientationChanged")
701
+ .orientationChanged,
702
+ FunctionCell_EventDataOpt_to_Void.adapting(
703
+ jsMethodValue(self, "onWindowOrientationChanged") { __r, __i in
704
+ FunctionCell_AnyOpt_to_Void(f: { [weak __r] (__p0: Any?) throws -> Void in
705
+ guard let __r else { throw jsReleasedReceiver("onWindowOrientationChanged") }
706
+ try withExtendedLifetime(__i) { () throws -> Void in
707
+ try __r.onWindowOrientationChanged(__p0)
708
+ }
709
+ })
710
+ }.f), self)
711
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:650)
712
+ try jsUnwrap(previous, "off").off(
713
+ jsUnwrap(Core_native_window_native_window_interfaces.NativeWindowEvents, "systemAppearanceChanged")
714
+ .systemAppearanceChanged,
715
+ FunctionCell_EventDataOpt_to_Void.adapting(
716
+ jsMethodValue(self, "onWindowSystemAppearanceChanged") { __r, __i in
717
+ FunctionCell_AnyOpt_to_Void(f: { [weak __r] (__p0: Any?) throws -> Void in
718
+ guard let __r else { throw jsReleasedReceiver("onWindowSystemAppearanceChanged") }
719
+ try withExtendedLifetime(__i) { () throws -> Void in
720
+ try __r.onWindowSystemAppearanceChanged(__p0)
721
+ }
722
+ })
723
+ }.f), self)
724
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:651)
725
+ try jsUnwrap(previous, "off").off(
726
+ jsUnwrap(Core_native_window_native_window_interfaces.NativeWindowEvents, "layoutDirectionChanged")
727
+ .layoutDirectionChanged,
728
+ FunctionCell_EventDataOpt_to_Void.adapting(
729
+ jsMethodValue(self, "onWindowLayoutDirectionChanged") { __r, __i in
730
+ FunctionCell_AnyOpt_to_Void(f: { [weak __r] (__p0: Any?) throws -> Void in
731
+ guard let __r else { throw jsReleasedReceiver("onWindowLayoutDirectionChanged") }
732
+ try withExtendedLifetime(__i) { () throws -> Void in
733
+ try __r.onWindowLayoutDirectionChanged(__p0)
734
+ }
735
+ })
736
+ }.f), self)
737
+ }
738
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:654)
739
+ self._traitsWindow = target
740
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:656)
741
+ if !jsTruthy(target) {
742
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:657)
743
+ return
744
+ }
745
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:660)
746
+ try jsUnwrap(target, "on").on(
747
+ jsUnwrap(Core_native_window_native_window_interfaces.NativeWindowEvents, "orientationChanged")
748
+ .orientationChanged,
749
+ FunctionCell_EventDataOpt_to_Void.adapting(
750
+ jsMethodValue(self, "onWindowOrientationChanged") { __r, __i in
751
+ FunctionCell_AnyOpt_to_Void(f: { [weak __r] (__p0: Any?) throws -> Void in
752
+ guard let __r else { throw jsReleasedReceiver("onWindowOrientationChanged") }
753
+ try withExtendedLifetime(__i) { () throws -> Void in try __r.onWindowOrientationChanged(__p0) }
754
+ })
755
+ }.f), self)
756
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:661)
757
+ try jsUnwrap(target, "on").on(
758
+ jsUnwrap(Core_native_window_native_window_interfaces.NativeWindowEvents, "systemAppearanceChanged")
759
+ .systemAppearanceChanged,
760
+ FunctionCell_EventDataOpt_to_Void.adapting(
761
+ jsMethodValue(self, "onWindowSystemAppearanceChanged") { __r, __i in
762
+ FunctionCell_AnyOpt_to_Void(f: { [weak __r] (__p0: Any?) throws -> Void in
763
+ guard let __r else { throw jsReleasedReceiver("onWindowSystemAppearanceChanged") }
764
+ try withExtendedLifetime(__i) { () throws -> Void in
765
+ try __r.onWindowSystemAppearanceChanged(__p0)
766
+ }
767
+ })
768
+ }.f), self)
769
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:662)
770
+ try jsUnwrap(target, "on").on(
771
+ jsUnwrap(Core_native_window_native_window_interfaces.NativeWindowEvents, "layoutDirectionChanged")
772
+ .layoutDirectionChanged,
773
+ FunctionCell_EventDataOpt_to_Void.adapting(
774
+ jsMethodValue(self, "onWindowLayoutDirectionChanged") { __r, __i in
775
+ FunctionCell_AnyOpt_to_Void(f: { [weak __r] (__p0: Any?) throws -> Void in
776
+ guard let __r else { throw jsReleasedReceiver("onWindowLayoutDirectionChanged") }
777
+ try withExtendedLifetime(__i) { () throws -> Void in
778
+ try __r.onWindowLayoutDirectionChanged(__p0)
779
+ }
780
+ })
781
+ }.f), self)
782
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:664)
783
+ try self.syncTraitsFromWindow(target)
784
+ }
785
+ #sourceLocation()
786
+ /// Adopts the window's values. The very first window seeds them quietly — there is no
787
+ /// previous application state for it to differ from — while a later promotion raises
788
+ /// the change events, because app code observed the outgoing window's values.
789
+ open func syncTraitsFromWindow(_ nativeWindow: NativeWindow?) throws {
790
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:673)
791
+ let orientation: String = try jsUnwrap(nativeWindow, "orientation").orientation()
792
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:674)
793
+ if jsTruthy(orientation) {
794
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:675)
795
+ if self._orientation == nil {
796
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:676)
797
+ self._orientation = orientation
798
+ } else {
799
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:678)
800
+ try self.setOrientation(orientation)
801
+ }
802
+ }
803
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:682)
804
+ let systemAppearance: String? = try jsUnwrap(nativeWindow, "systemAppearance").systemAppearance()
805
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:683)
806
+ if jsTruthy(systemAppearance as Any?) {
807
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:684)
808
+ if self._systemAppearance == nil {
809
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:685)
810
+ self._systemAppearance = systemAppearance
811
+ } else {
812
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:687)
813
+ try self.setSystemAppearance((systemAppearance ?? "undefined"))
814
+ }
815
+ }
816
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:691)
817
+ let layoutDirection: String? = try jsUnwrap(nativeWindow, "layoutDirection").layoutDirection()
818
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:692)
819
+ if jsTruthy(layoutDirection as Any?) {
820
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:693)
821
+ if self._layoutDirection == nil {
822
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:694)
823
+ self._layoutDirection = layoutDirection
824
+ } else {
825
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:696)
826
+ try self.setLayoutDirection((layoutDirection ?? "undefined"))
827
+ }
828
+ }
829
+ }
830
+ #sourceLocation()
831
+ open func onWindowActivated(_ data: Any?) throws {
832
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:702)
833
+ try Core_application_helpers_common.setActiveWindow((jsCast(jsGet(data, "window"), NativeWindow.self)))
834
+ }
835
+ #sourceLocation()
836
+ open func onWindowOrientationChanged(_ data: Any?) throws {
837
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:706)
838
+ try self.setOrientation(jsConvertedString(jsGet(data, "newValue")))
839
+ }
840
+ #sourceLocation()
841
+ open func onWindowSystemAppearanceChanged(_ data: Any?) throws {
842
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:710)
843
+ try self.setSystemAppearance(jsConvertedString(jsGet(data, "newValue")))
844
+ }
845
+ #sourceLocation()
846
+ open func onWindowLayoutDirectionChanged(_ data: Any?) throws {
847
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:714)
848
+ try self.setLayoutDirection(jsConvertedString(jsGet(data, "newValue")))
849
+ }
850
+ #sourceLocation()
851
+ /// @internal - raises `ready` at most once per JS context.
852
+ open func notifyReady() throws {
853
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:721)
854
+ if self._readyNotified {
855
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:722)
856
+ return
857
+ }
858
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:724)
859
+ self._readyNotified = true
860
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:725)
861
+ _ = try jsCallMethod(Core_globals_global_utils.getNativeScriptGlobals(), "setLaunched")
862
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:727)
863
+ try jsCallable(self.notify, "this.notify")(
864
+ JSObject([("eventName", self.readyEvent), ("object", self), ("ios", self.ios), ("android", self.android)]))
865
+ }
866
+ #sourceLocation()
867
+ /// @internal - produces the content for a window that has none.
868
+ ///
869
+ /// Resolution order: the window content resolver, then the legacy `launch` event
870
+ /// (offered to the first window that asks for content and to no other), then the
871
+ /// application main entry. A resolver or a `launch` handler returning `null` takes
872
+ /// ownership of the content, so nothing else is tried. A missing main entry leaves
873
+ /// the window empty instead of throwing, because content can still arrive later
874
+ /// through `run()`/`resetRootView()`.
875
+ ///
876
+ /// @param options.install `false` returns the resolved view instead of applying it,
877
+ /// for platform pipelines that install the root view on the native surface themselves.
878
+ /// @param options.launchData platform payload merged into the legacy `launch` event args.
879
+ /// @returns The resolved view, or `null` when no content was produced.
880
+ open func _resolveWindowContent(_ window: NativeWindow?, _ request: Any?, _ options: Any? = nil) throws -> View? {
881
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:751)
882
+ let content: Any? = try self.resolveWindowContent(request, jsGetIfPresent(options, "launchData"))
883
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:753)
884
+ if jsIsNullish(content) {
885
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:754)
886
+ return nil
887
+ }
888
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:757)
889
+ if try jsStrictEquals(jsGetIfPresent(options, "install"), false) {
890
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:758)
891
+ return try self.buildContentView(content)
892
+ }
893
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:761)
894
+ try jsUnwrap(window, "setContent").setContent(content)
895
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:763)
896
+ return try jsUnwrap(window, "rootView").rootView
897
+ }
898
+ #sourceLocation()
899
+ open func resolveWindowContent(_ request: Any?, _ launchData: Any? = nil) throws -> Any? {
900
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:767)
901
+ let launchBridgeAvailable: Bool = !self._launchBridgeConsumed
902
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:768)
903
+ self._launchBridgeConsumed = true
904
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:770)
905
+ let resolver: ((Any?) throws -> Any?)? = self._windowContentResolver
906
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:771)
907
+ if jsTruthy(resolver) {
908
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:772)
909
+ let resolved: Any? = try jsCallable(resolver, "resolver")(request)
910
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:775)
911
+ if !jsStrictEquals(resolved, nil) {
912
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:776)
913
+ try self._ensureAppCssLoaded()
914
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:778)
915
+ return resolved
916
+ }
917
+ }
918
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:782)
919
+ if launchBridgeAvailable {
920
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:783)
921
+ let root: View? = try self.notifyLaunch(launchData)
922
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:785)
923
+ if false {
924
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:786)
925
+ return jsNull
926
+ }
927
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:789)
928
+ if jsTruthy(root) {
929
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:790)
930
+ return root
931
+ }
932
+ }
933
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:794)
934
+ try self._ensureAppCssLoaded()
935
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:796)
936
+ let mainEntry: Any? = Core_application_helpers_common.getAppMainEntry()
937
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:798)
938
+ return try ((jsTruthy(mainEntry) ? Builder.createViewFromEntry(mainEntry) : nil) as Any?)
939
+ }
940
+ #sourceLocation()
941
+ open func buildContentView(_ content: Any?) throws -> View? {
942
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:802)
943
+ if jsStringEquals(jsTypeof(content), "string") {
944
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:803)
945
+ return try jsImplicit(Builder.createViewFromEntry(JSObject([("moduleName", jsLenientString(content))])))
946
+ }
947
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:806)
948
+ let entry: Any? = content
949
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:808)
950
+ return try
951
+ ((jsTruthy(jsGet(entry, "moduleName")) || jsTruthy(jsGet(entry, "create")))
952
+ ? jsImplicit(Builder.createViewFromEntry(entry)) : (try jsCast(content, View.self)))
953
+ }
954
+ #sourceLocation()
955
+ /// Loads the app CSS once per JS context. On the legacy `launch` path this has to run
956
+ /// after the handlers, which are allowed to call `setCssFileName()`.
957
+ open func _ensureAppCssLoaded() throws {
958
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:816)
959
+ if self._appCssLoaded {
960
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:817)
961
+ return
962
+ }
963
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:819)
964
+ self._appCssLoaded = true
965
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:821)
966
+ try self.loadAppCss()
967
+ }
968
+ #sourceLocation()
969
+ open func notifyLaunch(_ additionalLanchEventData: Any? = nil) throws -> View? {
970
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:826)
971
+ self._launchBridgeConsumed = true
972
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:828)
973
+ let launchArgs: Any? = { () -> JSObject in
974
+ let __o_1 = JSObject()
975
+ __o_1["eventName"] = self.launchEvent
976
+ __o_1["object"] = self
977
+ __o_1["ios"] = self.ios
978
+ __o_1["android"] = self.android
979
+ jsObjectSpread(__o_1, additionalLanchEventData)
980
+ return __o_1
981
+ }()
982
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:835)
983
+ try jsCallable(self.notify, "this.notify")(launchArgs)
984
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:836)
985
+ try self._ensureAppCssLoaded()
986
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:838)
987
+ return try (jsCast(jsGet(launchArgs, "root"), View.self))
988
+ }
989
+ #sourceLocation()
990
+ open func createRootView(
991
+ _ view: View? = nil, _ fireLaunchEvent: Bool = false, _ additionalLanchEventData: Any? = nil
992
+ ) throws -> View? {
993
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:843)
994
+ var rootView: View? = view
995
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:845)
996
+ if !jsTruthy(rootView as Any?) {
997
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:846)
998
+ if fireLaunchEvent {
999
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:847)
1000
+ rootView = try self.notifyLaunch(additionalLanchEventData)
1001
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:850)
1002
+ if rootView == nil {
1003
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:851)
1004
+ return nil
1005
+ }
1006
+ }
1007
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:855)
1008
+ if !jsTruthy(rootView as Any?) {
1009
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:857)
1010
+ if !jsTruthy(Core_application_helpers_common.getAppMainEntry()) {
1011
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:858)
1012
+ throw JSException(
1013
+ value: JSError("Main entry is missing. App cannot be started. Verify app bootstrap."))
1014
+ }
1015
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:861)
1016
+ rootView = try Builder.createViewFromEntry(Core_application_helpers_common.getAppMainEntry())
1017
+ }
1018
+ }
1019
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:865)
1020
+ return rootView
1021
+ }
1022
+ #sourceLocation()
1023
+ open func getRootView() throws -> View? {
1024
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:869)
1025
+ throw JSException(value: JSError("getRootView() Not implemented."))
1026
+ }
1027
+ #sourceLocation()
1028
+ public final func getRootView__ApplicationCommon() throws -> View? {
1029
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:869)
1030
+ throw JSException(value: JSError("getRootView() Not implemented."))
1031
+ }
1032
+ #sourceLocation()
1033
+ open func resetRootView(_ entry: Any? = nil) throws {
1034
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:873)
1035
+ Core_application_helpers_common.setAppMainEntry(
1036
+ (jsStringEquals(jsTypeof(entry), "string")
1037
+ ? (JSObject([("moduleName", jsLenientString(entry))]) as Any?) : entry))
1038
+ }
1039
+ #sourceLocation()
1040
+ public final func resetRootView__ApplicationCommon(_ entry: Any? = nil) throws {
1041
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:873)
1042
+ Core_application_helpers_common.setAppMainEntry(
1043
+ (jsStringEquals(jsTypeof(entry), "string")
1044
+ ? (JSObject([("moduleName", jsLenientString(entry))]) as Any?) : entry))
1045
+ }
1046
+ #sourceLocation()
1047
+ /// @param window the window the root view belongs to. Supplies the window-scoped CSS
1048
+ /// classes; without it they come from the primary window.
1049
+ open func initRootView(_ rootView: View?, _ window: NativeWindow? = nil) throws {
1050
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:882)
1051
+ try self.setRootViewCSSClasses(rootView, jsImplicit(window))
1052
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:883)
1053
+ try Core_accessibility_accessibility_common.readyInitAccessibilityCssHelper()
1054
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:884)
1055
+ try Core_accessibility_accessibility_common.readyInitFontScale()
1056
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:885)
1057
+ try Core_accessibility_accessibility_common.applyAccessibilityCssToRoot(rootView)
1058
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:886)
1059
+ try jsCallable(self.notify, "this.notify")(
1060
+ JSObject([("eventName", self.initRootViewEvent), ("rootView", rootView as Any?)]))
1061
+ }
1062
+ #sourceLocation()
1063
+ /// Get application level static resources.
1064
+ open func getResources() throws -> Any? {
1065
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:893)
1066
+ return try Core_ui_core_bindable_bindable_resources.get()
1067
+ }
1068
+ #sourceLocation()
1069
+ /// Set application level static resources.
1070
+ open func setResources(_ res: Any?) throws {
1071
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:900)
1072
+ try Core_ui_core_bindable_bindable_resources.set(res)
1073
+ }
1074
+ #sourceLocation()
1075
+ /// Sets css file name for the application.
1076
+ open func setCssFileName(_ cssFileName: String) throws {
1077
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:907)
1078
+ self._cssFile = cssFileName
1079
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:908)
1080
+ try jsCallable(self.notify, "this.notify")(
1081
+ JSObject([("eventName", self.cssChangedEvent), ("object", self), ("cssFile", cssFileName)]))
1082
+ }
1083
+ #sourceLocation()
1084
+ /// Gets css file name for the application.
1085
+ open func getCssFileName() -> String {
1086
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:919)
1087
+ return self._cssFile
1088
+ }
1089
+ #sourceLocation()
1090
+ /// Loads immediately the app.css.
1091
+ /// By default the app.css file is loaded shortly after "loaded".
1092
+ /// For the Android snapshot the CSS can be parsed during the snapshot generation,
1093
+ /// as the CSS does not depend on runtime APIs, and loadAppCss will be called explicitly.
1094
+ open func loadAppCss() throws {
1095
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:929)
1096
+ do {
1097
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:930)
1098
+ try jsCallable(self.notify, "this.notify")(
1099
+ JSObject([
1100
+ ("eventName", self.loadAppCssEvent), ("object", self), ("ios", self.ios), ("android", self.android),
1101
+ ("cssFile", self.getCssFileName()),
1102
+ ]))
1103
+ } catch {
1104
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:938)
1105
+ if NativeScriptKit.Trace.isEnabled() {
1106
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:939)
1107
+ try NativeScriptKit.Trace.write(
1108
+ "The app CSS file \(self.getCssFileName()) couldn't be loaded!",
1109
+ NativeScriptKit.Trace.categories.Style, NativeScriptKit.Trace.messageType.warn)
1110
+ }
1111
+ }
1112
+ }
1113
+ #sourceLocation()
1114
+ open func addCss(_ cssText: String, _ attributeScoped: Bool? = nil) throws {
1115
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:945)
1116
+ try jsCallable(self.notify, "this.notify")(
1117
+ JSObject([("eventName", self.cssChangedEvent), ("object", self), ("cssText", cssText)]))
1118
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:950)
1119
+ if !jsTruthy(attributeScoped as Any?) {
1120
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:951)
1121
+ let rootView: View? = try self.getRootView()
1122
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:952)
1123
+ if jsTruthy(rootView) {
1124
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:953)
1125
+ try jsUnwrap(rootView, "_onCssStateChange")._onCssStateChange()
1126
+ }
1127
+ }
1128
+ }
1129
+ #sourceLocation()
1130
+ open func run(_ entry: Any? = nil) throws {
1131
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:959)
1132
+ throw JSException(value: JSError("run() Not implemented."))
1133
+ }
1134
+ #sourceLocation()
1135
+ public final func run__ApplicationCommon(_ entry: Any? = nil) throws {
1136
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:959)
1137
+ throw JSException(value: JSError("run() Not implemented."))
1138
+ }
1139
+ #sourceLocation()
1140
+ open func getOrientation() throws -> String {
1141
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:964)
1142
+ throw JSException(value: JSError("getOrientation() not implemented"))
1143
+ }
1144
+ #sourceLocation()
1145
+ public final func getOrientation__ApplicationCommon() throws -> String {
1146
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:964)
1147
+ throw JSException(value: JSError("getOrientation() not implemented"))
1148
+ }
1149
+ #sourceLocation()
1150
+ open func setOrientation(_ value: String) throws {
1151
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:968)
1152
+ if jsStringEquals(self._orientation, value) {
1153
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:969)
1154
+ return
1155
+ }
1156
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:972)
1157
+ self._orientation = value
1158
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:976)
1159
+ try jsUnwrap(Screen.mainScreen, "_updateMetrics")._updateMetrics()
1160
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:978)
1161
+ try self.orientationChanged(self.getRootView(), value)
1162
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:979)
1163
+ try jsCallable(self.notify, "this.notify")(
1164
+ JSObject([
1165
+ ("eventName", self.orientationChangedEvent), ("android", self.android), ("ios", self.ios),
1166
+ ("newValue", value), ("object", self),
1167
+ ]))
1168
+ }
1169
+ #sourceLocation()
1170
+ /// @deprecated Use Application.primaryWindow?.orientation() - or the NativeWindow of the relevant view - instead. Continues to reflect the primary window.
1171
+ open func orientation() throws -> String {
1172
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:992)
1173
+ return try
1174
+ (((self.primaryWindow as NativeWindow?)?.orientation())
1175
+ ?? (({ () throws -> String in
1176
+ try self._orientation = self._orientation ?? self.getOrientation()
1177
+ return self._orientation
1178
+ }())))
1179
+ }
1180
+ #sourceLocation()
1181
+ open func orientationChanged(_ rootView: View?, _ newOrientation: String) throws {
1182
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:996)
1183
+ if !jsTruthy(rootView) {
1184
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:997)
1185
+ return
1186
+ }
1187
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1000)
1188
+ let newOrientationCssClass: String = "\(NativeScriptKit.CSSUtils.CLASS_PREFIX)\(newOrientation)"
1189
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1001)
1190
+ try self.applyWindowScopedCssClass(
1191
+ rootView, Core_application_application_common.ORIENTATION_CSS_CLASSES, newOrientationCssClass)
1192
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1003)
1193
+ try jsUnwrap(self.getOwnedModalViews(rootView), "forEach").forEach({ (rootModalView: View?) throws -> Void in
1194
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1004)
1195
+ try self.applyWindowScopedCssClass(
1196
+ rootModalView, Core_application_application_common.ORIENTATION_CSS_CLASSES, newOrientationCssClass)
1197
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1007)
1198
+ try jsUnwrap(rootModalView, "_onCssStateChange")._onCssStateChange()
1199
+ })
1200
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1011)
1201
+ try jsUnwrap(rootView, "_onCssStateChange")._onCssStateChange()
1202
+ }
1203
+ #sourceLocation()
1204
+ open func getNativeApplication() throws -> Any? {
1205
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1016)
1206
+ throw JSException(value: JSError("getNativeApplication() not implemented"))
1207
+ }
1208
+ #sourceLocation()
1209
+ public final func getNativeApplication__ApplicationCommon() throws -> Any? {
1210
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1016)
1211
+ throw JSException(value: JSError("getNativeApplication() not implemented"))
1212
+ }
1213
+ #sourceLocation()
1214
+ open func hasLaunched() throws -> Bool {
1215
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1020)
1216
+ return try jsConvertedBool(jsGet(Core_globals_global_utils.getNativeScriptGlobals(), "launched"))
1217
+ }
1218
+ #sourceLocation()
1219
+ open func getSystemAppearance() throws -> String? {
1220
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1025)
1221
+ throw JSException(value: JSError("getSystemAppearance() not implemented"))
1222
+ }
1223
+ #sourceLocation()
1224
+ public final func getSystemAppearance__ApplicationCommon() throws -> String? {
1225
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1025)
1226
+ throw JSException(value: JSError("getSystemAppearance() not implemented"))
1227
+ }
1228
+ #sourceLocation()
1229
+ open func setSystemAppearance(_ value: String) throws {
1230
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1029)
1231
+ if jsStringEquals(self._systemAppearance, value) {
1232
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1030)
1233
+ return
1234
+ }
1235
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1032)
1236
+ self._systemAppearance = value
1237
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1033)
1238
+ if self.autoSystemAppearanceChanged {
1239
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1034)
1240
+ try self.systemAppearanceChanged(self.getRootView(), value)
1241
+ }
1242
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1036)
1243
+ try jsCallable(self.notify, "this.notify")(
1244
+ JSObject([
1245
+ ("eventName", self.systemAppearanceChangedEvent), ("android", self.android), ("ios", self.ios),
1246
+ ("newValue", value), ("object", self),
1247
+ ]))
1248
+ }
1249
+ #sourceLocation()
1250
+ /// @deprecated Use Application.primaryWindow?.systemAppearance() - or the NativeWindow of the relevant view - instead. Continues to reflect the primary window.
1251
+ open func systemAppearance() throws -> String? {
1252
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1049)
1253
+ return try
1254
+ ((self.primaryWindow as NativeWindow?)?.systemAppearance()
1255
+ ?? ({ () throws -> String? in
1256
+ try self._systemAppearance = self._systemAppearance ?? self.getSystemAppearance()
1257
+ return self._systemAppearance
1258
+ }()))
1259
+ }
1260
+ #sourceLocation()
1261
+ /// enable/disable systemAppearanceChanged
1262
+ open func setAutoSystemAppearanceChanged(_ value: Bool) {
1263
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1056)
1264
+ Core_application_helpers_common.setAutoSystemAppearanceChanged(value)
1265
+ }
1266
+ #sourceLocation()
1267
+ /// Updates root view classes including those of modals
1268
+ /// @param rootView the root view
1269
+ /// @param newSystemAppearance the new appearance change
1270
+ open func systemAppearanceChanged(_ rootView: View?, _ newSystemAppearance: String) throws {
1271
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1065)
1272
+ if !jsTruthy(rootView) {
1273
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1066)
1274
+ return
1275
+ }
1276
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1069)
1277
+ let newSystemAppearanceCssClass: String = "\(NativeScriptKit.CSSUtils.CLASS_PREFIX)\(newSystemAppearance)"
1278
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1070)
1279
+ try self.applyWindowScopedCssClass(
1280
+ rootView, Core_application_application_common.SYSTEM_APPEARANCE_CSS_CLASSES, newSystemAppearanceCssClass)
1281
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1072)
1282
+ try jsUnwrap(self.getOwnedModalViews(rootView), "forEach").forEach({ (rootModalView: View?) throws -> Void in
1283
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1073)
1284
+ try self.applyWindowScopedCssClass(
1285
+ rootModalView, Core_application_application_common.SYSTEM_APPEARANCE_CSS_CLASSES,
1286
+ newSystemAppearanceCssClass)
1287
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1076)
1288
+ try jsUnwrap(rootModalView, "_onCssStateChange")._onCssStateChange()
1289
+ })
1290
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1080)
1291
+ try jsUnwrap(rootView, "_onCssStateChange")._onCssStateChange()
1292
+ }
1293
+ #sourceLocation()
1294
+ open func getLayoutDirection() throws -> String? {
1295
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1085)
1296
+ throw JSException(value: JSError("getLayoutDirection() not implemented"))
1297
+ }
1298
+ #sourceLocation()
1299
+ public final func getLayoutDirection__ApplicationCommon() throws -> String? {
1300
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1085)
1301
+ throw JSException(value: JSError("getLayoutDirection() not implemented"))
1302
+ }
1303
+ #sourceLocation()
1304
+ open func setLayoutDirection(_ value: String) throws {
1305
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1089)
1306
+ if jsStringEquals(self._layoutDirection, value) {
1307
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1090)
1308
+ return
1309
+ }
1310
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1092)
1311
+ self._layoutDirection = value
1312
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1093)
1313
+ try self.layoutDirectionChanged(self.getRootView(), value)
1314
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1094)
1315
+ try jsCallable(self.notify, "this.notify")(
1316
+ JSObject([
1317
+ ("eventName", self.layoutDirectionChangedEvent), ("android", self.android), ("ios", self.ios),
1318
+ ("newValue", value), ("object", self),
1319
+ ]))
1320
+ }
1321
+ #sourceLocation()
1322
+ /// @deprecated Use Application.primaryWindow?.layoutDirection() - or the NativeWindow of the relevant view - instead. Continues to reflect the primary window.
1323
+ open func layoutDirection() throws -> String? {
1324
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1107)
1325
+ return try
1326
+ ((self.primaryWindow as NativeWindow?)?.layoutDirection()
1327
+ ?? ({ () throws -> String? in
1328
+ try self._layoutDirection = self._layoutDirection ?? self.getLayoutDirection()
1329
+ return self._layoutDirection
1330
+ }()))
1331
+ }
1332
+ #sourceLocation()
1333
+ /// Updates root view classes including those of modals
1334
+ /// @param rootView the root view
1335
+ /// @param newLayoutDirection the new layout direction change
1336
+ open func layoutDirectionChanged(_ rootView: View?, _ newLayoutDirection: String) throws {
1337
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1116)
1338
+ if !jsTruthy(rootView) {
1339
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1117)
1340
+ return
1341
+ }
1342
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1120)
1343
+ let newLayoutDirectionCssClass: String = "\(NativeScriptKit.CSSUtils.CLASS_PREFIX)\(newLayoutDirection)"
1344
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1121)
1345
+ try self.applyWindowScopedCssClass(
1346
+ rootView, Core_application_application_common.LAYOUT_DIRECTION_CSS_CLASSES, newLayoutDirectionCssClass)
1347
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1123)
1348
+ try jsUnwrap(self.getOwnedModalViews(rootView), "forEach").forEach({ (rootModalView: View?) throws -> Void in
1349
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1124)
1350
+ try self.applyWindowScopedCssClass(
1351
+ rootModalView, Core_application_application_common.LAYOUT_DIRECTION_CSS_CLASSES,
1352
+ newLayoutDirectionCssClass)
1353
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1127)
1354
+ try jsUnwrap(rootModalView, "_onCssStateChange")._onCssStateChange()
1355
+ })
1356
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1131)
1357
+ try jsUnwrap(rootView, "_onCssStateChange")._onCssStateChange()
1358
+ }
1359
+ #sourceLocation()
1360
+ open func setInBackground(_ value: Bool, _ additonalData: Any? = nil) throws {
1361
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1139)
1362
+ Core_application_helpers_common.setAppInBackground(value)
1363
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1141)
1364
+ try jsCallable(self.notify, "this.notify")(
1365
+ { () -> JSObject in
1366
+ let __o_2 = JSObject()
1367
+ __o_2["eventName"] = (value ? self.backgroundEvent : self.foregroundEvent)
1368
+ __o_2["object"] = self
1369
+ __o_2["ios"] = self.ios
1370
+ jsObjectSpread(__o_2, additonalData)
1371
+ return __o_2
1372
+ }())
1373
+ }
1374
+ #sourceLocation()
1375
+ open func setSuspended(_ value: Bool, _ additonalData: Any? = nil) throws {
1376
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1155)
1377
+ self._suspended = value
1378
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1157)
1379
+ try jsCallable(self.notify, "this.notify")(
1380
+ { () -> JSObject in
1381
+ let __o_3 = JSObject()
1382
+ __o_3["eventName"] = (value ? self.suspendEvent : self.resumeEvent)
1383
+ __o_3["object"] = self
1384
+ __o_3["ios"] = self.ios
1385
+ __o_3["android"] = self.android
1386
+ jsObjectSpread(__o_3, additonalData)
1387
+ return __o_3
1388
+ }())
1389
+ }
1390
+ #sourceLocation()
1391
+ public final var jsMadeBits0: UInt64 = 0
1392
+ public final var jsMade: [String]?
1393
+ open var jsDeclaredKeys: [String] {
1394
+ ["launchEvent"] + ["readyEvent"] + ["suspendEvent"] + ["displayedEvent"] + ["backgroundEvent"] + [
1395
+ "foregroundEvent"
1396
+ ] + ["resumeEvent"] + ["exitEvent"] + ["lowMemoryEvent"] + ["uncaughtErrorEvent"] + ["discardedErrorEvent"] + [
1397
+ "orientationChangedEvent"
1398
+ ] + ["systemAppearanceChangedEvent"] + ["layoutDirectionChangedEvent"] + ["fontScaleChangedEvent"] + [
1399
+ "livesyncEvent"
1400
+ ] + ["loadAppCssEvent"] + ["cssChangedEvent"] + ["initRootViewEvent"] + ["windowOpenEvent"] + [
1401
+ "windowCloseEvent"
1402
+ ] + ["primaryWindowChangedEvent"] + ["on"] + ["once"] + ["off"] + ["notify"] + ["hasListeners"] + [
1403
+ "_inBackground"
1404
+ ] + ["_suspended"] + ["_cssFile"] + ["_readyNotified"] + ["_appCssLoaded"] + ["_launchBridgeConsumed"]
1405
+ + (self._windowContentResolver == nil ? [] : ["_windowContentResolver"]) + ["started"] + ["_windows"] + [
1406
+ "_traitsWindow"
1407
+ ] + (jsMadeBits0 & (1 << 0) != 0 ? ["_orientation"] : [])
1408
+ + (jsMadeBits0 & (1 << 1) != 0 ? ["_systemAppearance"] : [])
1409
+ + (jsMadeBits0 & (1 << 2) != 0 ? ["_layoutDirection"] : [])
1410
+ + (jsMadeBits0 & (1 << 3) != 0 ? ["mainEntry"] : [])
1411
+ }
1412
+ open var jsKeys: [String] { jsMadeKeys(jsMade, jsDeclaredKeys + (jsExpando?.jsKeys ?? [])) }
1413
+ open var jsClassName: String? { "ApplicationCommon" }
1414
+ open subscript(jsKey key: String) -> Any? {
1415
+ get {
1416
+ switch key.utf8.count {
1417
+ case 2:
1418
+ switch key {
1419
+ case "on": return FunctionCell_String_AnyOpt_to_Void_Opt_AnyOpt_to_Void.scriptOrNil("", 3, self.on)
1420
+ default: break
1421
+ }
1422
+ case 3:
1423
+ switch key {
1424
+ case "off": return FunctionCell_String_AnyOpt_AnyOpt_to_Void.scriptOrNil("", 3, self.off)
1425
+ case "run": return FunctionCell_AnyOpt_to_Void.script("run", 1, self.run)
1426
+ default: break
1427
+ }
1428
+ case 4:
1429
+ switch key {
1430
+ case "once": return FunctionCell_String_AnyOpt_to_Void_Opt_AnyOpt_to_Void.scriptOrNil("", 3, self.once)
1431
+ default: break
1432
+ }
1433
+ case 6:
1434
+ switch key {
1435
+ case "notify": return FunctionCell_AnyOpt_to_Void.scriptOrNil("", 1, self.notify)
1436
+ case "addCss": return FunctionCell_String_BoolOpt_to_Void.script("addCss", 2, self.addCss)
1437
+ default: break
1438
+ }
1439
+ case 7:
1440
+ switch key {
1441
+ case "started": return self.started
1442
+ default: break
1443
+ }
1444
+ case 8:
1445
+ switch key {
1446
+ case "_cssFile": return self._cssFile
1447
+ case "_windows": return self._windows
1448
+ case "livesync": return FunctionCell_ViewOpt_AnyOpt_to_Void.script("livesync", 2, self.livesync)
1449
+ default: break
1450
+ }
1451
+ case 9:
1452
+ switch key {
1453
+ case "exitEvent": return self.exitEvent
1454
+ case "mainEntry":
1455
+ if !(jsMadeBits0 & (1 << 3) != 0) { return nil }
1456
+ return self.mainEntry
1457
+ default: break
1458
+ }
1459
+ case 10:
1460
+ switch key {
1461
+ case "readyEvent": return self.readyEvent
1462
+ case "_suspended": return self._suspended
1463
+ case "getWindows":
1464
+ return FunctionCell_AnyOpt_to_JSArray_WindowBase_Opt.script("getWindows", 1, self.getWindows)
1465
+ case "openWindow": return FunctionCell_AnyOpt_to_Void.script("openWindow", 1, self.openWindow)
1466
+ case "loadAppCss": return FunctionCell_none_to_Void.script("loadAppCss", 0, self.loadAppCss)
1467
+ default: break
1468
+ }
1469
+ case 11:
1470
+ switch key {
1471
+ case "launchEvent": return self.launchEvent
1472
+ case "resumeEvent": return self.resumeEvent
1473
+ case "addCssClass":
1474
+ return FunctionCell_ViewOpt_String_to_Void.script("addCssClass", 2, self.addCssClass)
1475
+ case "_getWindows":
1476
+ return FunctionCell_none_to_JSArray_NativeWindow_Opt.script("_getWindows", 0, self._getWindows)
1477
+ case "notifyReady": return FunctionCell_none_to_Void.script("notifyReady", 0, self.notifyReady)
1478
+ case "getRootView": return FunctionCell_none_to_ViewOpt.script("getRootView", 0, self.getRootView)
1479
+ case "orientation": return FunctionCell_none_to_String.script("orientation", 0, self.orientation)
1480
+ case "hasLaunched": return FunctionCell_none_to_Bool.script("hasLaunched", 0, self.hasLaunched)
1481
+ default: break
1482
+ }
1483
+ case 12:
1484
+ switch key {
1485
+ case "suspendEvent": return self.suspendEvent
1486
+ case "hasListeners": return FunctionCell_String_to_Bool.scriptOrNil("", 1, self.hasListeners)
1487
+ case "_orientation":
1488
+ if !(jsMadeBits0 & (1 << 0) != 0) { return nil }
1489
+ return self._orientation
1490
+ case "getMainEntry": return FunctionCell_none_to_AnyOpt.script("getMainEntry", 0, self.getMainEntry)
1491
+ case "notifyLaunch": return FunctionCell_AnyOpt_to_ViewOpt.script("notifyLaunch", 1, self.notifyLaunch)
1492
+ case "initRootView":
1493
+ return FunctionCell_ViewOpt_NativeWindowOpt_to_Void.script("initRootView", 2, self.initRootView)
1494
+ case "getResources": return FunctionCell_none_to_AnyOpt.script("getResources", 0, self.getResources)
1495
+ case "setResources": return FunctionCell_AnyOpt_to_Void.script("setResources", 1, self.setResources)
1496
+ case "setSuspended":
1497
+ return FunctionCell_Bool_AnyOpt_to_Void.script("setSuspended", 2, self.setSuspended)
1498
+ default: break
1499
+ }
1500
+ case 13:
1501
+ switch key {
1502
+ case "livesyncEvent": return self.livesyncEvent
1503
+ case "_inBackground": return self._inBackground
1504
+ case "_appCssLoaded": return self._appCssLoaded
1505
+ case "_traitsWindow": return self._traitsWindow
1506
+ case "applyCssClass":
1507
+ return FunctionCell_ViewOpt_JSArray_String_Opt_String_Bool_to_Void.script(
1508
+ "applyCssClass", 3, self.applyCssClass)
1509
+ case "getWindowById":
1510
+ return FunctionCell_String_to_NativeWindowOpt.script("getWindowById", 1, self.getWindowById)
1511
+ case "resetRootView": return FunctionCell_AnyOpt_to_Void.script("resetRootView", 1, self.resetRootView)
1512
+ default: break
1513
+ }
1514
+ case 14:
1515
+ switch key {
1516
+ case "displayedEvent": return self.displayedEvent
1517
+ case "lowMemoryEvent": return self.lowMemoryEvent
1518
+ case "_readyNotified": return self._readyNotified
1519
+ case "removeCssClass":
1520
+ return FunctionCell_ViewOpt_String_to_Void.script("removeCssClass", 2, self.removeCssClass)
1521
+ case "createRootView":
1522
+ return FunctionCell_ViewOpt_Bool_AnyOpt_to_ViewOpt.script("createRootView", 1, self.createRootView)
1523
+ case "setCssFileName":
1524
+ return FunctionCell_String_to_Void.script("setCssFileName", 1, self.setCssFileName)
1525
+ case "getCssFileName":
1526
+ return FunctionCell_none_to_String.script("getCssFileName", 0, self.getCssFileName)
1527
+ case "getOrientation":
1528
+ return FunctionCell_none_to_String.script("getOrientation", 0, self.getOrientation)
1529
+ case "setOrientation":
1530
+ return FunctionCell_String_to_Void.script("setOrientation", 1, self.setOrientation)
1531
+ default: break
1532
+ }
1533
+ case 15:
1534
+ switch key {
1535
+ case "backgroundEvent": return self.backgroundEvent
1536
+ case "foregroundEvent": return self.foregroundEvent
1537
+ case "loadAppCssEvent": return self.loadAppCssEvent
1538
+ case "cssChangedEvent": return self.cssChangedEvent
1539
+ case "windowOpenEvent": return self.windowOpenEvent
1540
+ case "_registerWindow":
1541
+ return FunctionCell_NativeWindowOpt_to_Void.script("_registerWindow", 1, self._registerWindow)
1542
+ case "layoutDirection":
1543
+ return FunctionCell_none_to_StringOpt.script("layoutDirection", 0, self.layoutDirection)
1544
+ case "setInBackground":
1545
+ return FunctionCell_Bool_AnyOpt_to_Void.script("setInBackground", 2, self.setInBackground)
1546
+ default: break
1547
+ }
1548
+ case 16:
1549
+ switch key {
1550
+ case "windowCloseEvent": return self.windowCloseEvent
1551
+ case "_layoutDirection":
1552
+ if !(jsMadeBits0 & (1 << 2) != 0) { return nil }
1553
+ return self._layoutDirection
1554
+ case "buildContentView":
1555
+ return FunctionCell_AnyOpt_to_ViewOpt.script("buildContentView", 1, self.buildContentView)
1556
+ case "systemAppearance":
1557
+ return FunctionCell_none_to_StringOpt.script("systemAppearance", 0, self.systemAppearance)
1558
+ default: break
1559
+ }
1560
+ case 17:
1561
+ switch key {
1562
+ case "initRootViewEvent": return self.initRootViewEvent
1563
+ case "_systemAppearance":
1564
+ if !(jsMadeBits0 & (1 << 1) != 0) { return nil }
1565
+ return self._systemAppearance
1566
+ case "setMaxRefreshRate":
1567
+ return FunctionCell_AnyOpt_to_Void.script("setMaxRefreshRate", 1, self.setMaxRefreshRate)
1568
+ case "_unregisterWindow":
1569
+ return FunctionCell_NativeWindowOpt_to_Void.script("_unregisterWindow", 1, self._unregisterWindow)
1570
+ case "onWindowActivated":
1571
+ return FunctionCell_AnyOpt_to_Void.script("onWindowActivated", 1, self.onWindowActivated)
1572
+ default: break
1573
+ }
1574
+ case 18:
1575
+ switch key {
1576
+ case "uncaughtErrorEvent": return self.uncaughtErrorEvent
1577
+ case "getOwnedModalViews":
1578
+ return FunctionCell_ViewOpt_to_JSArray_View_Opt.script(
1579
+ "getOwnedModalViews", 1, self.getOwnedModalViews)
1580
+ case "orientationChanged":
1581
+ return FunctionCell_ViewOpt_String_to_Void.script("orientationChanged", 2, self.orientationChanged)
1582
+ case "getLayoutDirection":
1583
+ return FunctionCell_none_to_StringOpt.script("getLayoutDirection", 0, self.getLayoutDirection)
1584
+ case "setLayoutDirection":
1585
+ return FunctionCell_String_to_Void.script("setLayoutDirection", 1, self.setLayoutDirection)
1586
+ default: break
1587
+ }
1588
+ case 19:
1589
+ switch key {
1590
+ case "discardedErrorEvent": return self.discardedErrorEvent
1591
+ case "_onWindowRegistered":
1592
+ return FunctionCell_NativeWindowOpt_to_Void.script(
1593
+ "_onWindowRegistered", 1, self._onWindowRegistered)
1594
+ case "_ensureAppCssLoaded":
1595
+ return FunctionCell_none_to_Void.script("_ensureAppCssLoaded", 0, self._ensureAppCssLoaded)
1596
+ case "getSystemAppearance":
1597
+ return FunctionCell_none_to_StringOpt.script("getSystemAppearance", 0, self.getSystemAppearance)
1598
+ case "setSystemAppearance":
1599
+ return FunctionCell_String_to_Void.script("setSystemAppearance", 1, self.setSystemAppearance)
1600
+ default: break
1601
+ }
1602
+ case 20:
1603
+ switch key {
1604
+ case "syncTraitsFromWindow":
1605
+ return FunctionCell_NativeWindowOpt_to_Void.script(
1606
+ "syncTraitsFromWindow", 1, self.syncTraitsFromWindow)
1607
+ case "resolveWindowContent":
1608
+ return FunctionCell_AnyOpt_AnyOpt_to_AnyOpt.script(
1609
+ "resolveWindowContent", 2, self.resolveWindowContent)
1610
+ case "getNativeApplication":
1611
+ return FunctionCell_none_to_AnyOpt.script("getNativeApplication", 0, self.getNativeApplication)
1612
+ default: break
1613
+ }
1614
+ case 21:
1615
+ switch key {
1616
+ case "fontScaleChangedEvent": return self.fontScaleChangedEvent
1617
+ case "_launchBridgeConsumed": return self._launchBridgeConsumed
1618
+ case "setRootViewCSSClasses":
1619
+ return FunctionCell_ViewOpt_NativeWindowOpt_to_Void.script(
1620
+ "setRootViewCSSClasses", 2, self.setRootViewCSSClasses)
1621
+ case "_resolveWindowContent":
1622
+ return FunctionCell_NativeWindowOpt_AnyOpt_AnyOpt_to_ViewOpt.script(
1623
+ "_resolveWindowContent", 3, self._resolveWindowContent)
1624
+ default: break
1625
+ }
1626
+ case 22:
1627
+ switch key {
1628
+ case "_windowContentResolver":
1629
+ return FunctionCell_AnyOpt_to_AnyOpt.scriptOrNil("", 1, self._windowContentResolver)
1630
+ case "layoutDirectionChanged":
1631
+ return FunctionCell_ViewOpt_String_to_Void.script(
1632
+ "layoutDirectionChanged", 2, self.layoutDirectionChanged)
1633
+ default: break
1634
+ }
1635
+ case 23:
1636
+ switch key {
1637
+ case "orientationChangedEvent": return self.orientationChangedEvent
1638
+ case "_retireDiscardedWindows":
1639
+ return FunctionCell_JSArray_String_Opt_to_Void.script(
1640
+ "_retireDiscardedWindows", 1, self._retireDiscardedWindows)
1641
+ case "systemAppearanceChanged":
1642
+ return FunctionCell_ViewOpt_String_to_Void.script(
1643
+ "systemAppearanceChanged", 2, self.systemAppearanceChanged)
1644
+ default: break
1645
+ }
1646
+ case 24:
1647
+ switch key {
1648
+ case "setWindowContentResolver":
1649
+ return FunctionCell_AnyOpt_to_AnyOpt_Opt_to_Void.script(
1650
+ "setWindowContentResolver", 1, self.setWindowContentResolver)
1651
+ case "getWindowContentResolver":
1652
+ return FunctionCell_none_to_AnyOpt_to_AnyOpt_Opt.script(
1653
+ "getWindowContentResolver", 0, self.getWindowContentResolver)
1654
+ case "_onPrimaryWindowPromoted":
1655
+ return FunctionCell_NativeWindowOpt_to_Void.script(
1656
+ "_onPrimaryWindowPromoted", 1, self._onPrimaryWindowPromoted)
1657
+ case "trackPrimaryWindowTraits":
1658
+ return FunctionCell_NativeWindowOpt_to_Void.script(
1659
+ "trackPrimaryWindowTraits", 1, self.trackPrimaryWindowTraits)
1660
+ default: break
1661
+ }
1662
+ case 25:
1663
+ switch key {
1664
+ case "primaryWindowChangedEvent": return self.primaryWindowChangedEvent
1665
+ case "applyWindowScopedCssClass":
1666
+ return FunctionCell_ViewOpt_JSArray_String_Opt_String_to_Void.script(
1667
+ "applyWindowScopedCssClass", 3, self.applyWindowScopedCssClass)
1668
+ default: break
1669
+ }
1670
+ case 26:
1671
+ switch key {
1672
+ case "onWindowOrientationChanged":
1673
+ return FunctionCell_AnyOpt_to_Void.script(
1674
+ "onWindowOrientationChanged", 1, self.onWindowOrientationChanged)
1675
+ default: break
1676
+ }
1677
+ case 27:
1678
+ switch key {
1679
+ case "layoutDirectionChangedEvent": return self.layoutDirectionChangedEvent
1680
+ default: break
1681
+ }
1682
+ case 28:
1683
+ switch key {
1684
+ case "systemAppearanceChangedEvent": return self.systemAppearanceChangedEvent
1685
+ default: break
1686
+ }
1687
+ case 30:
1688
+ switch key {
1689
+ case "onWindowLayoutDirectionChanged":
1690
+ return FunctionCell_AnyOpt_to_Void.script(
1691
+ "onWindowLayoutDirectionChanged", 1, self.onWindowLayoutDirectionChanged)
1692
+ case "setAutoSystemAppearanceChanged":
1693
+ return FunctionCell_Bool_to_Void.script(
1694
+ "setAutoSystemAppearanceChanged", 1, self.setAutoSystemAppearanceChanged)
1695
+ default: break
1696
+ }
1697
+ case 31:
1698
+ switch key {
1699
+ case "onWindowSystemAppearanceChanged":
1700
+ return FunctionCell_AnyOpt_to_Void.script(
1701
+ "onWindowSystemAppearanceChanged", 1, self.onWindowSystemAppearanceChanged)
1702
+ default: break
1703
+ }
1704
+ case 47:
1705
+ switch key {
1706
+ case "increaseStyleScopeApplicationCssSelectorVersion":
1707
+ return FunctionCell_ViewOpt_to_Void.script(
1708
+ "increaseStyleScopeApplicationCssSelectorVersion", 1,
1709
+ self.increaseStyleScopeApplicationCssSelectorVersion)
1710
+ default: break
1711
+ }
1712
+ default: break
1713
+ }
1714
+ return jsExpandoGet(self, key)
1715
+ }
1716
+ set {
1717
+ switch key.utf8.count {
1718
+ case 2:
1719
+ switch key {
1720
+ case "on":
1721
+ self.on = FunctionCell_String_AnyOpt_to_Void_Opt_AnyOpt_to_Void.fromScriptOrNil(newValue)
1722
+ return
1723
+ default: break
1724
+ }
1725
+ case 3:
1726
+ switch key {
1727
+ case "off":
1728
+ self.off = FunctionCell_String_AnyOpt_AnyOpt_to_Void.fromScriptOrNil(newValue)
1729
+ return
1730
+ default: break
1731
+ }
1732
+ case 4:
1733
+ switch key {
1734
+ case "once":
1735
+ self.once = FunctionCell_String_AnyOpt_to_Void_Opt_AnyOpt_to_Void.fromScriptOrNil(newValue)
1736
+ return
1737
+ default: break
1738
+ }
1739
+ case 6:
1740
+ switch key {
1741
+ case "notify":
1742
+ self.notify = FunctionCell_AnyOpt_to_Void.fromScriptOrNil(newValue)
1743
+ return
1744
+ default: break
1745
+ }
1746
+ case 7:
1747
+ switch key {
1748
+ case "started":
1749
+ jsStoring { self.started = (try jsConvertedBool(newValue)) }
1750
+ return
1751
+ default: break
1752
+ }
1753
+ case 8:
1754
+ switch key {
1755
+ case "_cssFile":
1756
+ jsStoring { self._cssFile = (try jsConvertedString(newValue)) }
1757
+ return
1758
+ case "_windows":
1759
+ jsStoring {
1760
+ self._windows = try jsArrayOrNil(
1761
+ newValue, as: JSArray<NativeWindow>.self, { try (jsCastPresent($0) as NativeWindow) })
1762
+ }
1763
+ return
1764
+ default: break
1765
+ }
1766
+ case 9:
1767
+ switch key {
1768
+ case "exitEvent":
1769
+ jsStoring { self.exitEvent = (try jsConvertedString(newValue)) }
1770
+ return
1771
+ case "mainEntry":
1772
+ self.mainEntry = newValue
1773
+ return
1774
+ default: break
1775
+ }
1776
+ case 10:
1777
+ switch key {
1778
+ case "readyEvent":
1779
+ jsStoring { self.readyEvent = (try jsConvertedString(newValue)) }
1780
+ return
1781
+ case "_suspended":
1782
+ jsStoring { self._suspended = (try jsConvertedBool(newValue)) }
1783
+ return
1784
+ default: break
1785
+ }
1786
+ case 11:
1787
+ switch key {
1788
+ case "launchEvent":
1789
+ jsStoring { self.launchEvent = (try jsConvertedString(newValue)) }
1790
+ return
1791
+ case "resumeEvent":
1792
+ jsStoring { self.resumeEvent = (try jsConvertedString(newValue)) }
1793
+ return
1794
+ default: break
1795
+ }
1796
+ case 12:
1797
+ switch key {
1798
+ case "suspendEvent":
1799
+ jsStoring { self.suspendEvent = (try jsConvertedString(newValue)) }
1800
+ return
1801
+ case "hasListeners":
1802
+ self.hasListeners = FunctionCell_String_to_Bool.fromScriptOrNil(newValue)
1803
+ return
1804
+ case "_orientation":
1805
+ jsStoring { self._orientation = (try jsConvertedString(newValue)) }
1806
+ return
1807
+ default: break
1808
+ }
1809
+ case 13:
1810
+ switch key {
1811
+ case "livesyncEvent":
1812
+ jsStoring { self.livesyncEvent = (try jsConvertedString(newValue)) }
1813
+ return
1814
+ case "_inBackground":
1815
+ jsStoring { self._inBackground = (try jsConvertedBool(newValue)) }
1816
+ return
1817
+ case "_appCssLoaded":
1818
+ jsStoring { self._appCssLoaded = (try jsConvertedBool(newValue)) }
1819
+ return
1820
+ case "_traitsWindow":
1821
+ jsStoring { self._traitsWindow = (try jsCast(newValue, NativeWindow.self)) }
1822
+ return
1823
+ default: break
1824
+ }
1825
+ case 14:
1826
+ switch key {
1827
+ case "displayedEvent":
1828
+ jsStoring { self.displayedEvent = (try jsConvertedString(newValue)) }
1829
+ return
1830
+ case "lowMemoryEvent":
1831
+ jsStoring { self.lowMemoryEvent = (try jsConvertedString(newValue)) }
1832
+ return
1833
+ case "_readyNotified":
1834
+ jsStoring { self._readyNotified = (try jsConvertedBool(newValue)) }
1835
+ return
1836
+ default: break
1837
+ }
1838
+ case 15:
1839
+ switch key {
1840
+ case "backgroundEvent":
1841
+ jsStoring { self.backgroundEvent = (try jsConvertedString(newValue)) }
1842
+ return
1843
+ case "foregroundEvent":
1844
+ jsStoring { self.foregroundEvent = (try jsConvertedString(newValue)) }
1845
+ return
1846
+ case "loadAppCssEvent":
1847
+ jsStoring { self.loadAppCssEvent = (try jsConvertedString(newValue)) }
1848
+ return
1849
+ case "cssChangedEvent":
1850
+ jsStoring { self.cssChangedEvent = (try jsConvertedString(newValue)) }
1851
+ return
1852
+ case "windowOpenEvent":
1853
+ jsStoring { self.windowOpenEvent = (try jsConvertedString(newValue)) }
1854
+ return
1855
+ default: break
1856
+ }
1857
+ case 16:
1858
+ switch key {
1859
+ case "windowCloseEvent":
1860
+ jsStoring { self.windowCloseEvent = (try jsConvertedString(newValue)) }
1861
+ return
1862
+ case "_layoutDirection":
1863
+ jsStoring { self._layoutDirection = (try jsConvertedStringOrNil(newValue)) }
1864
+ return
1865
+ default: break
1866
+ }
1867
+ case 17:
1868
+ switch key {
1869
+ case "initRootViewEvent":
1870
+ jsStoring { self.initRootViewEvent = (try jsConvertedString(newValue)) }
1871
+ return
1872
+ case "_systemAppearance":
1873
+ jsStoring { self._systemAppearance = (try jsConvertedStringOrNil(newValue)) }
1874
+ return
1875
+ default: break
1876
+ }
1877
+ case 18:
1878
+ switch key {
1879
+ case "uncaughtErrorEvent":
1880
+ jsStoring { self.uncaughtErrorEvent = (try jsConvertedString(newValue)) }
1881
+ return
1882
+ default: break
1883
+ }
1884
+ case 19:
1885
+ switch key {
1886
+ case "discardedErrorEvent":
1887
+ jsStoring { self.discardedErrorEvent = (try jsConvertedString(newValue)) }
1888
+ return
1889
+ default: break
1890
+ }
1891
+ case 21:
1892
+ switch key {
1893
+ case "fontScaleChangedEvent":
1894
+ jsStoring { self.fontScaleChangedEvent = (try jsConvertedString(newValue)) }
1895
+ return
1896
+ case "_launchBridgeConsumed":
1897
+ jsStoring { self._launchBridgeConsumed = (try jsConvertedBool(newValue)) }
1898
+ return
1899
+ default: break
1900
+ }
1901
+ case 22:
1902
+ switch key {
1903
+ case "_windowContentResolver":
1904
+ self._windowContentResolver = FunctionCell_AnyOpt_to_AnyOpt.fromScriptOrNil(newValue)
1905
+ return
1906
+ default: break
1907
+ }
1908
+ case 23:
1909
+ switch key {
1910
+ case "orientationChangedEvent":
1911
+ jsStoring { self.orientationChangedEvent = (try jsConvertedString(newValue)) }
1912
+ return
1913
+ default: break
1914
+ }
1915
+ case 25:
1916
+ switch key {
1917
+ case "primaryWindowChangedEvent":
1918
+ jsStoring { self.primaryWindowChangedEvent = (try jsConvertedString(newValue)) }
1919
+ return
1920
+ default: break
1921
+ }
1922
+ case 27:
1923
+ switch key {
1924
+ case "layoutDirectionChangedEvent":
1925
+ jsStoring { self.layoutDirectionChangedEvent = (try jsConvertedString(newValue)) }
1926
+ return
1927
+ default: break
1928
+ }
1929
+ case 28:
1930
+ switch key {
1931
+ case "systemAppearanceChangedEvent":
1932
+ jsStoring { self.systemAppearanceChangedEvent = (try jsConvertedString(newValue)) }
1933
+ return
1934
+ default: break
1935
+ }
1936
+ default: break
1937
+ }
1938
+ jsExpandoSet(self, key, newValue)
1939
+ }
1940
+ }
1941
+ open class var jsName: String { "ApplicationCommon" }
1942
+ open class var jsStaticKeys: [String] { ["on", "once", "off", "notify", "hasListeners"] }
1943
+ }
1944
+
1945
+ public enum Core_application_application_common {
1946
+ public static var ORIENTATION_CSS_CLASSES: JSArray<String>? = JSArray<String>()
1947
+ public static var SYSTEM_APPEARANCE_CSS_CLASSES: JSArray<String>? = JSArray<String>()
1948
+ public static var LAYOUT_DIRECTION_CSS_CLASSES: JSArray<String>? = JSArray<String>()
1949
+ public static var globalEvents: Any? = nil
1950
+ public static let SceneEvents:
1951
+ Object_sceneWillConnect_sceneDidActivate_sceneWillResignActive_sceneWillEnterForeground_sceneDidEnterBackground_sceneDidDisconnect_and_1_more_1be9d4 =
1952
+ Object_sceneWillConnect_sceneDidActivate_sceneWillResignActive_sceneWillEnterForeground_sceneDidEnterBackground_sceneDidDisconnect_and_1_more_1be9d4(
1953
+ sceneWillConnect: "sceneWillConnect", sceneDidActivate: "sceneDidActivate",
1954
+ sceneWillResignActive: "sceneWillResignActive", sceneWillEnterForeground: "sceneWillEnterForeground",
1955
+ sceneDidEnterBackground: "sceneDidEnterBackground", sceneDidDisconnect: "sceneDidDisconnect",
1956
+ sceneContentSetup: "sceneContentSetup")
1957
+ }
1958
+
1959
+ public func __init_Core_application_application_common() {
1960
+ jsReport {
1961
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:22)
1962
+ Core_application_application_common.ORIENTATION_CSS_CLASSES = NativeScriptKit.CSSUtils.ORIENTATION_CSS_CLASSES
1963
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:23)
1964
+ Core_application_application_common.SYSTEM_APPEARANCE_CSS_CLASSES =
1965
+ NativeScriptKit.CSSUtils.SYSTEM_APPEARANCE_CSS_CLASSES
1966
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:24)
1967
+ Core_application_application_common.LAYOUT_DIRECTION_CSS_CLASSES =
1968
+ NativeScriptKit.CSSUtils.LAYOUT_DIRECTION_CSS_CLASSES
1969
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:26)
1970
+ Core_application_application_common.globalEvents = try jsGet(
1971
+ Core_globals_global_utils.getNativeScriptGlobals(), "events")
1972
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:147)
1973
+ JSPrototypes.declare(
1974
+ ApplicationCommon.self, "autoSystemAppearanceChanged",
1975
+ get: { (__this: Any?) throws -> Any? in
1976
+ guard let __o = __this as? ApplicationCommon else {
1977
+ throw JSException(JSTypeError("Illegal invocation"))
1978
+ }
1979
+ return __o.autoSystemAppearanceChanged
1980
+ },
1981
+ set: { (__this: Any?, __v: Any?) throws -> Void in
1982
+ guard let __o = __this as? ApplicationCommon else {
1983
+ throw JSException(JSTypeError("Illegal invocation"))
1984
+ }
1985
+ __o.autoSystemAppearanceChanged = jsLenientBool(__v)
1986
+ })
1987
+ JSPrototypes.declare(
1988
+ ApplicationCommon.self, "primaryWindow",
1989
+ get: { (__this: Any?) throws -> Any? in
1990
+ guard let __o = __this as? ApplicationCommon else {
1991
+ throw JSException(JSTypeError("Illegal invocation"))
1992
+ }
1993
+ return try __o.primaryWindow
1994
+ }, set: nil)
1995
+ JSPrototypes.declare(
1996
+ ApplicationCommon.self, "activeWindow",
1997
+ get: { (__this: Any?) throws -> Any? in
1998
+ guard let __o = __this as? ApplicationCommon else {
1999
+ throw JSException(JSTypeError("Illegal invocation"))
2000
+ }
2001
+ return try __o.activeWindow
2002
+ }, set: nil)
2003
+ JSPrototypes.declare(
2004
+ ApplicationCommon.self, "inBackground",
2005
+ get: { (__this: Any?) throws -> Any? in
2006
+ guard let __o = __this as? ApplicationCommon else {
2007
+ throw JSException(JSTypeError("Illegal invocation"))
2008
+ }
2009
+ return __o.inBackground
2010
+ }, set: nil)
2011
+ JSPrototypes.declare(
2012
+ ApplicationCommon.self, "suspended",
2013
+ get: { (__this: Any?) throws -> Any? in
2014
+ guard let __o = __this as? ApplicationCommon else {
2015
+ throw JSException(JSTypeError("Illegal invocation"))
2016
+ }
2017
+ return __o.suspended
2018
+ }, set: nil)
2019
+ JSPrototypes.declare(
2020
+ ApplicationCommon.self, "android",
2021
+ get: { (__this: Any?) throws -> Any? in
2022
+ guard let __o = __this as? ApplicationCommon else {
2023
+ throw JSException(JSTypeError("Illegal invocation"))
2024
+ }
2025
+ return __o.android
2026
+ }, set: nil)
2027
+ JSPrototypes.declare(
2028
+ ApplicationCommon.self, "ios",
2029
+ get: { (__this: Any?) throws -> Any? in
2030
+ guard let __o = __this as? ApplicationCommon else {
2031
+ throw JSException(JSTypeError("Illegal invocation"))
2032
+ }
2033
+ return __o.ios
2034
+ }, set: nil)
2035
+ JSPrototypes.declare(
2036
+ ApplicationCommon.self, "AndroidApplication",
2037
+ get: { (__this: Any?) throws -> Any? in
2038
+ guard let __o = __this as? ApplicationCommon else {
2039
+ throw JSException(JSTypeError("Illegal invocation"))
2040
+ }
2041
+ return __o.AndroidApplication
2042
+ }, set: nil)
2043
+ JSPrototypes.declare(
2044
+ ApplicationCommon.self, "iOSApplication",
2045
+ get: { (__this: Any?) throws -> Any? in
2046
+ guard let __o = __this as? ApplicationCommon else {
2047
+ throw JSException(JSTypeError("Illegal invocation"))
2048
+ }
2049
+ return __o.iOSApplication
2050
+ }, set: nil)
2051
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:147)
2052
+ ApplicationCommon.on = try FunctionCell_String_AnyOpt_to_Void_Opt_AnyOpt_to_Void.fromScriptOrNil(
2053
+ jsCallMethod(
2054
+ jsGet(Core_application_application_common.globalEvents, "on"), "bind",
2055
+ Core_application_application_common.globalEvents))
2056
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:147)
2057
+ ApplicationCommon.once = try FunctionCell_String_AnyOpt_to_Void_Opt_AnyOpt_to_Void.fromScriptOrNil(
2058
+ jsCallMethod(
2059
+ jsGet(Core_application_application_common.globalEvents, "once"), "bind",
2060
+ Core_application_application_common.globalEvents))
2061
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:147)
2062
+ ApplicationCommon.off = try FunctionCell_String_AnyOpt_AnyOpt_to_Void.fromScriptOrNil(
2063
+ jsCallMethod(
2064
+ jsGet(Core_application_application_common.globalEvents, "off"), "bind",
2065
+ Core_application_application_common.globalEvents))
2066
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:147)
2067
+ ApplicationCommon.notify = try FunctionCell_AnyOpt_to_Void.fromScriptOrNil(
2068
+ jsCallMethod(
2069
+ jsGet(Core_application_application_common.globalEvents, "notify"), "bind",
2070
+ Core_application_application_common.globalEvents))
2071
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:147)
2072
+ ApplicationCommon.hasListeners = try FunctionCell_String_to_Bool.fromScriptOrNil(
2073
+ jsCallMethod(
2074
+ jsGet(Core_application_application_common.globalEvents, "hasListeners"), "bind",
2075
+ Core_application_application_common.globalEvents))
2076
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1184)
2077
+ Core_module_name_resolver_helpers.prepareAppForModuleResolver({ () throws -> Void in
2078
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1185)
2079
+ try jsCallable(ApplicationCommon.on, "ApplicationCommon.on")(
2080
+ "livesync",
2081
+ { (args: Any?) throws -> Void in
2082
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1185)
2083
+ try Core_module_name_resolver_helpers.clearResolverCache()
2084
+ }, nil)
2085
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1186)
2086
+ try jsCallable(ApplicationCommon.on, "ApplicationCommon.on")(
2087
+ "orientationChanged",
2088
+ { (args: Any?) -> Void in
2089
+ #sourceLocation(file:"@nativescript/core/application.application-common.ts",line:1187)
2090
+ Core_module_name_resolver_helpers._setResolver(nil)
2091
+ }, nil)
2092
+ })
2093
+ }
2094
+ }
2095
+ #sourceLocation()