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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1610) hide show
  1. package/LICENSE +19 -0
  2. package/README.md +72 -2
  3. package/bin/build-dist.mjs +145 -0
  4. package/bin/ns-compiled-adapter.js +46 -0
  5. package/bin/ns-compiled-doctor.js +15 -0
  6. package/bin/ns-compiled-retrace.js +16 -0
  7. package/bin/ns-compiled-verify.js +15 -0
  8. package/bin/ns-compiled.js +26 -0
  9. package/bin/strip-types.js +18 -0
  10. package/config.d.ts +41 -0
  11. package/dist/adapters/active.js +59 -0
  12. package/dist/adapters/first-party.js +12 -0
  13. package/dist/adapters/framework.js +135 -0
  14. package/dist/adapters/hooks.js +115 -0
  15. package/dist/adapters/load.js +188 -0
  16. package/dist/api/adapter-api.js +2 -0
  17. package/dist/api/binding-api.js +11 -0
  18. package/dist/api/elements.js +21 -0
  19. package/dist/api/ir.js +29 -0
  20. package/dist/api/listview.js +27 -0
  21. package/dist/api/rewrite.js +98 -0
  22. package/dist/api/typescript-internal.d.ts +35 -0
  23. package/dist/cli/commands/compile-android.cjs +79 -0
  24. package/dist/cli/commands/compile-doctor.cjs +45 -0
  25. package/dist/cli/commands/compile-ios.cjs +77 -0
  26. package/dist/cli/commands/compile-retrace.cjs +40 -0
  27. package/dist/cli/commands/compile-verify.cjs +73 -0
  28. package/dist/cli/contracts.cjs +36 -0
  29. package/dist/cli/runtime.cjs +166 -0
  30. package/dist/css/css.js +118 -0
  31. package/dist/css/worker.js +242 -0
  32. package/dist/driver/cli.js +95 -0
  33. package/dist/driver/compile.js +571 -0
  34. package/dist/driver/contract.js +136 -0
  35. package/dist/driver/mirror.js +71 -0
  36. package/dist/driver/paths.js +19 -0
  37. package/dist/driver/preflight.js +206 -0
  38. package/dist/driver/toolchain.js +46 -0
  39. package/dist/driver/unimplemented.js +326 -0
  40. package/dist/kit/core-source.js +107 -0
  41. package/dist/kit/kit-index.js +105 -0
  42. package/dist/kit/manifest.js +468 -0
  43. package/dist/kit/overlay.js +56 -0
  44. package/dist/kit/swift-declarations.js +643 -0
  45. package/dist/kotlin/access.js +624 -0
  46. package/dist/kotlin/app-modules.js +111 -0
  47. package/dist/kotlin/arguments.js +397 -0
  48. package/dist/kotlin/assignment.js +226 -0
  49. package/dist/kotlin/builtins.js +575 -0
  50. package/dist/kotlin/calls.js +516 -0
  51. package/dist/kotlin/checked.js +61 -0
  52. package/dist/kotlin/class-accessors.js +129 -0
  53. package/dist/kotlin/class-constructor.js +117 -0
  54. package/dist/kotlin/class-declaration.js +308 -0
  55. package/dist/kotlin/class-fields.js +361 -0
  56. package/dist/kotlin/class-methods.js +213 -0
  57. package/dist/kotlin/classes.js +333 -0
  58. package/dist/kotlin/components.js +445 -0
  59. package/dist/kotlin/construction.js +228 -0
  60. package/dist/kotlin/control-flow.js +188 -0
  61. package/dist/kotlin/conversion.js +513 -0
  62. package/dist/kotlin/core-api.js +762 -0
  63. package/dist/kotlin/core-index.js +228 -0
  64. package/dist/kotlin/declarations.js +461 -0
  65. package/dist/kotlin/diagnostics.js +28 -0
  66. package/dist/kotlin/expression-statements.js +227 -0
  67. package/dist/kotlin/expressions.js +461 -0
  68. package/dist/kotlin/functions.js +474 -0
  69. package/dist/kotlin/global-calls.js +307 -0
  70. package/dist/kotlin/install.js +89 -0
  71. package/dist/kotlin/key-plans.js +117 -0
  72. package/dist/kotlin/kit-gen.js +581 -0
  73. package/dist/kotlin/ktfmt.js +60 -0
  74. package/dist/kotlin/library.js +62 -0
  75. package/dist/kotlin/literals.js +593 -0
  76. package/dist/kotlin/loops.js +184 -0
  77. package/dist/kotlin/mixins.js +103 -0
  78. package/dist/kotlin/modules.js +769 -0
  79. package/dist/kotlin/names.js +274 -0
  80. package/dist/kotlin/narrowing.js +180 -0
  81. package/dist/kotlin/native/api.js +117 -0
  82. package/dist/kotlin/native/bridging.js +254 -0
  83. package/dist/kotlin/native/calls.js +408 -0
  84. package/dist/kotlin/native/classfiles.js +524 -0
  85. package/dist/kotlin/native/classpath.js +32 -0
  86. package/dist/kotlin/native/conversions.js +280 -0
  87. package/dist/kotlin/native/extend.js +302 -0
  88. package/dist/kotlin/native/members.js +240 -0
  89. package/dist/kotlin/native/overloads.js +253 -0
  90. package/dist/kotlin/native/subclasses.js +378 -0
  91. package/dist/kotlin/native/types.js +421 -0
  92. package/dist/kotlin/operators.js +445 -0
  93. package/dist/kotlin/optional-chains.js +279 -0
  94. package/dist/kotlin/overrides.js +825 -0
  95. package/dist/kotlin/placement.js +746 -0
  96. package/dist/kotlin/prototype-calls.js +154 -0
  97. package/dist/kotlin/render.js +363 -0
  98. package/dist/kotlin/state-backend.js +123 -0
  99. package/dist/kotlin/statements.js +426 -0
  100. package/dist/kotlin/static-calls.js +296 -0
  101. package/dist/kotlin/syntax.js +689 -0
  102. package/dist/kotlin/translator-types.js +1 -0
  103. package/dist/kotlin/translator.js +806 -0
  104. package/dist/kotlin/type-facts.js +414 -0
  105. package/dist/kotlin/type-tests.js +250 -0
  106. package/dist/kotlin/types.js +655 -0
  107. package/dist/kotlin/untyped-values.js +354 -0
  108. package/dist/plugins/bindings-android.js +69 -0
  109. package/dist/plugins/bindings.js +93 -0
  110. package/dist/plugins/native-android.js +582 -0
  111. package/dist/plugins/native-ios.js +632 -0
  112. package/dist/plugins/resolve.js +108 -0
  113. package/dist/plugins/source.js +1040 -0
  114. package/dist/program/app-modules.js +52 -0
  115. package/dist/program/app-paths.js +60 -0
  116. package/dist/program/build-caches.js +14 -0
  117. package/dist/program/build-context.js +48 -0
  118. package/dist/program/constructor-factories.js +134 -0
  119. package/dist/program/core-facts.js +151 -0
  120. package/dist/program/core-patches.js +59 -0
  121. package/dist/program/env.js +4 -0
  122. package/dist/program/module-order.js +123 -0
  123. package/dist/program/order.js +23 -0
  124. package/dist/program/patterns.js +99 -0
  125. package/dist/program/platform.js +401 -0
  126. package/dist/program/program.js +726 -0
  127. package/dist/program/properties.js +61 -0
  128. package/dist/program/reach.js +444 -0
  129. package/dist/program/source-lines.js +268 -0
  130. package/dist/program/stable-names.js +112 -0
  131. package/dist/semantics/apis/api.js +31 -0
  132. package/dist/semantics/apis/array.js +69 -0
  133. package/dist/semantics/apis/bigint.js +53 -0
  134. package/dist/semantics/apis/console.js +29 -0
  135. package/dist/semantics/apis/date.js +7 -0
  136. package/dist/semantics/apis/globals.js +40 -0
  137. package/dist/semantics/apis/json.js +6 -0
  138. package/dist/semantics/apis/mapset.js +21 -0
  139. package/dist/semantics/apis/math.js +48 -0
  140. package/dist/semantics/apis/number.js +33 -0
  141. package/dist/semantics/apis/object.js +25 -0
  142. package/dist/semantics/apis/operators.js +316 -0
  143. package/dist/semantics/apis/promise.js +22 -0
  144. package/dist/semantics/apis/regexp.js +15 -0
  145. package/dist/semantics/apis/statics.js +61 -0
  146. package/dist/semantics/apis/string.js +45 -0
  147. package/dist/semantics/ast.js +315 -0
  148. package/dist/semantics/async.js +582 -0
  149. package/dist/semantics/class-plan.js +168 -0
  150. package/dist/semantics/classes.js +425 -0
  151. package/dist/semantics/config.js +29 -0
  152. package/dist/semantics/constant-init.js +107 -0
  153. package/dist/semantics/conversion.js +255 -0
  154. package/dist/semantics/decision-trace.js +304 -0
  155. package/dist/semantics/facts.js +433 -0
  156. package/dist/semantics/forms/by-name.js +338 -0
  157. package/dist/semantics/forms/flow.js +336 -0
  158. package/dist/semantics/forms/forms.js +311 -0
  159. package/dist/semantics/forms/observers.js +513 -0
  160. package/dist/semantics/forms/open.js +218 -0
  161. package/dist/semantics/forms/place-calls.js +387 -0
  162. package/dist/semantics/forms/placements.js +296 -0
  163. package/dist/semantics/forms/results.js +307 -0
  164. package/dist/semantics/forms/union-find.js +157 -0
  165. package/dist/semantics/globals.js +46 -0
  166. package/dist/semantics/lang/arrays.js +238 -0
  167. package/dist/semantics/lang/fields.js +211 -0
  168. package/dist/semantics/lang/members.js +277 -0
  169. package/dist/semantics/lang/prototypes.js +180 -0
  170. package/dist/semantics/lang/this-args.js +189 -0
  171. package/dist/semantics/lang.js +232 -0
  172. package/dist/semantics/ledger.js +157 -0
  173. package/dist/semantics/limits.js +11 -0
  174. package/dist/semantics/losses.js +201 -0
  175. package/dist/semantics/lowering-methods.js +42 -0
  176. package/dist/semantics/marks.js +39 -0
  177. package/dist/semantics/nullish.js +918 -0
  178. package/dist/semantics/observers.js +1 -0
  179. package/dist/semantics/placement.js +698 -0
  180. package/dist/semantics/platform-globals.js +20 -0
  181. package/dist/semantics/read-sites.js +29 -0
  182. package/dist/semantics/refusals.js +206 -0
  183. package/dist/semantics/refuse-construction.js +64 -0
  184. package/dist/semantics/refuse-receivers.js +189 -0
  185. package/dist/semantics/refuse-scope.js +82 -0
  186. package/dist/semantics/regexp.js +219 -0
  187. package/dist/semantics/result-shapes.js +203 -0
  188. package/dist/semantics/runtime.js +482 -0
  189. package/dist/semantics/shape-defined-keys.js +146 -0
  190. package/dist/semantics/shape-instance-keys.js +230 -0
  191. package/dist/semantics/shape-map.js +72 -0
  192. package/dist/semantics/shapes.js +660 -0
  193. package/dist/semantics/sharing.js +406 -0
  194. package/dist/semantics/signals.js +166 -0
  195. package/dist/semantics/spelled.js +45 -0
  196. package/dist/semantics/states/by-name.js +46 -0
  197. package/dist/semantics/states/elements.js +310 -0
  198. package/dist/semantics/states/fields.js +308 -0
  199. package/dist/semantics/states/foreign.js +208 -0
  200. package/dist/semantics/states/lenient.js +246 -0
  201. package/dist/semantics/states/missing.js +289 -0
  202. package/dist/semantics/states/nil.js +223 -0
  203. package/dist/semantics/states/parameters.js +191 -0
  204. package/dist/semantics/states/predicates.js +232 -0
  205. package/dist/semantics/states/reads.js +247 -0
  206. package/dist/semantics/states/results.js +113 -0
  207. package/dist/semantics/states/untrusted.js +141 -0
  208. package/dist/semantics/states/untyped.js +194 -0
  209. package/dist/semantics/states/value-states.js +422 -0
  210. package/dist/semantics/tdz.js +106 -0
  211. package/dist/semantics/threading.js +77 -0
  212. package/dist/semantics/throws.js +878 -0
  213. package/dist/semantics/top-names.js +59 -0
  214. package/dist/semantics/translator-methods.js +597 -0
  215. package/dist/semantics/trust.js +321 -0
  216. package/dist/semantics/type-methods.js +168 -0
  217. package/dist/semantics/type-step.js +116 -0
  218. package/dist/semantics/types.js +456 -0
  219. package/dist/semantics/worker-state.js +198 -0
  220. package/dist/swift/access.js +749 -0
  221. package/dist/swift/app-modules.js +41 -0
  222. package/dist/swift/arguments.js +236 -0
  223. package/dist/swift/assignment.js +270 -0
  224. package/dist/swift/availability.js +146 -0
  225. package/dist/swift/builtins.js +822 -0
  226. package/dist/swift/calls.js +493 -0
  227. package/dist/swift/casts.js +218 -0
  228. package/dist/swift/checked.js +433 -0
  229. package/dist/swift/class-accessors.js +139 -0
  230. package/dist/swift/class-constructor.js +139 -0
  231. package/dist/swift/class-declaration.js +282 -0
  232. package/dist/swift/class-fields.js +360 -0
  233. package/dist/swift/class-methods.js +229 -0
  234. package/dist/swift/classes.js +522 -0
  235. package/dist/swift/components.js +386 -0
  236. package/dist/swift/construction.js +287 -0
  237. package/dist/swift/control-flow.js +210 -0
  238. package/dist/swift/conversion.js +425 -0
  239. package/dist/swift/core-api.js +1068 -0
  240. package/dist/swift/declarations.js +389 -0
  241. package/dist/swift/enums.js +58 -0
  242. package/dist/swift/expression-statements.js +312 -0
  243. package/dist/swift/expressions.js +568 -0
  244. package/dist/swift/from-any.js +316 -0
  245. package/dist/swift/functions.js +487 -0
  246. package/dist/swift/generics.js +124 -0
  247. package/dist/swift/global-calls.js +217 -0
  248. package/dist/swift/install.js +109 -0
  249. package/dist/swift/key-plans.js +136 -0
  250. package/dist/swift/kit-gen.js +605 -0
  251. package/dist/swift/lenient.js +468 -0
  252. package/dist/swift/library.js +109 -0
  253. package/dist/swift/literals.js +509 -0
  254. package/dist/swift/loops.js +244 -0
  255. package/dist/swift/marks.js +212 -0
  256. package/dist/swift/members.js +253 -0
  257. package/dist/swift/method-values.js +177 -0
  258. package/dist/swift/mixins.js +113 -0
  259. package/dist/swift/modules.js +969 -0
  260. package/dist/swift/names.js +371 -0
  261. package/dist/swift/narrowing.js +170 -0
  262. package/dist/swift/native/api.js +269 -0
  263. package/dist/swift/native/bridging.js +240 -0
  264. package/dist/swift/native/calls.js +586 -0
  265. package/dist/swift/native/conversions.js +532 -0
  266. package/dist/swift/native/dispatch.js +218 -0
  267. package/dist/swift/native/members.js +416 -0
  268. package/dist/swift/native/sdk-tables.js +772 -0
  269. package/dist/swift/native/sdk-types.js +1 -0
  270. package/dist/swift/native/sdk.js +409 -0
  271. package/dist/swift/native/subclasses.js +533 -0
  272. package/dist/swift/object-classes.js +396 -0
  273. package/dist/swift/operators.js +571 -0
  274. package/dist/swift/optional-chains.js +405 -0
  275. package/dist/swift/parameters.js +210 -0
  276. package/dist/swift/placement.js +896 -0
  277. package/dist/swift/protocols.js +164 -0
  278. package/dist/swift/prototype-calls.js +227 -0
  279. package/dist/swift/render.js +385 -0
  280. package/dist/swift/results.js +370 -0
  281. package/dist/swift/state-backend.js +243 -0
  282. package/dist/swift/statements.js +505 -0
  283. package/dist/swift/static-calls.js +320 -0
  284. package/dist/swift/syntax.js +916 -0
  285. package/dist/swift/translator-types.js +1 -0
  286. package/dist/swift/translator.js +886 -0
  287. package/dist/swift/type-facts.js +539 -0
  288. package/dist/swift/type-tests.js +211 -0
  289. package/dist/swift/types.js +659 -0
  290. package/dist/targets/android/build.js +598 -0
  291. package/dist/targets/android/compose-mapping.js +218 -0
  292. package/dist/targets/android/deprecations.js +81 -0
  293. package/dist/targets/android/resources.js +80 -0
  294. package/dist/targets/ios/build.js +583 -0
  295. package/dist/targets/ios/core-native.js +149 -0
  296. package/dist/targets/ios/dependencies.js +464 -0
  297. package/dist/targets/ios/plist.js +127 -0
  298. package/dist/targets/ios/resources.js +285 -0
  299. package/dist/targets/ios/retrace.js +196 -0
  300. package/dist/targets/ios/signing.js +84 -0
  301. package/dist/targets/ios/xcodegen.js +39 -0
  302. package/dist/targets/resources.js +180 -0
  303. package/dist/template/model.js +38 -0
  304. package/dist/template/plan.js +576 -0
  305. package/dist/tools/doctor.js +172 -0
  306. package/dist/tools/retrace.js +116 -0
  307. package/dist/tools/verify.js +330 -0
  308. package/dist/types/adapter-api.d.ts +683 -0
  309. package/dist/types/binding-api.d.ts +48 -0
  310. package/dist/types/elements.d.ts +10 -0
  311. package/dist/types/ir.d.ts +245 -0
  312. package/dist/types/listview.d.ts +15 -0
  313. package/dist/types/rewrite.d.ts +18 -0
  314. package/dist/types/typescript-internal.d.ts +35 -0
  315. package/dist/xml/app.js +65 -0
  316. package/dist/xml/bindings.js +308 -0
  317. package/dist/xml/contexts.js +296 -0
  318. package/dist/xml/fold.js +170 -0
  319. package/dist/xml/keys.js +146 -0
  320. package/dist/xml/pages.js +550 -0
  321. package/dist/xml/plan.js +650 -0
  322. package/docs/CLI.md +131 -0
  323. package/docs/cli/compile-android.md +30 -0
  324. package/docs/cli/compile-doctor.md +18 -0
  325. package/docs/cli/compile-ios.md +30 -0
  326. package/docs/cli/compile-retrace.md +18 -0
  327. package/docs/cli/compile-verify.md +18 -0
  328. package/docs/cli/compile.md +15 -0
  329. package/kit-android/build.gradle.kts +65 -0
  330. package/kit-android/consumer-rules.pro +7 -0
  331. package/kit-android/generated/kotlin/org/nativescript/kit/__Exports.kt +966 -0
  332. package/kit-android/generated/kotlin/org/nativescript/kit/__Modules.kt +125 -0
  333. package/kit-android/generated/kotlin/org/nativescript/kit/__Objects.kt +39497 -0
  334. package/kit-android/generated/kotlin/org/nativescript/kit/abortcontroller_abortsignal.kt +101 -0
  335. package/kit-android/generated/kotlin/org/nativescript/kit/abortcontroller_index.kt +109 -0
  336. package/kit-android/generated/kotlin/org/nativescript/kit/accessibility_accessibility_common.kt +547 -0
  337. package/kit-android/generated/kotlin/org/nativescript/kit/accessibility_accessibility_properties.kt +263 -0
  338. package/kit-android/generated/kotlin/org/nativescript/kit/accessibility_index.kt +6 -0
  339. package/kit-android/generated/kotlin/org/nativescript/kit/application_application.kt +2656 -0
  340. package/kit-android/generated/kotlin/org/nativescript/kit/application_application_common.kt +1932 -0
  341. package/kit-android/generated/kotlin/org/nativescript/kit/application_application_interfaces.kt +6 -0
  342. package/kit-android/generated/kotlin/org/nativescript/kit/application_application_shims.kt +111 -0
  343. package/kit-android/generated/kotlin/org/nativescript/kit/application_helpers.kt +198 -0
  344. package/kit-android/generated/kotlin/org/nativescript/kit/application_helpers_common.kt +270 -0
  345. package/kit-android/generated/kotlin/org/nativescript/kit/application_index.kt +6 -0
  346. package/kit-android/generated/kotlin/org/nativescript/kit/application_scene_delegate_bridge.kt +233 -0
  347. package/kit-android/generated/kotlin/org/nativescript/kit/application_settings_application_settings_common.kt +28 -0
  348. package/kit-android/generated/kotlin/org/nativescript/kit/application_settings_index.kt +188 -0
  349. package/kit-android/generated/kotlin/org/nativescript/kit/color_color_common.kt +707 -0
  350. package/kit-android/generated/kotlin/org/nativescript/kit/color_color_types.kt +6 -0
  351. package/kit-android/generated/kotlin/org/nativescript/kit/color_color_utils.kt +368 -0
  352. package/kit-android/generated/kotlin/org/nativescript/kit/color_index.kt +37 -0
  353. package/kit-android/generated/kotlin/org/nativescript/kit/color_known_colors.kt +418 -0
  354. package/kit-android/generated/kotlin/org/nativescript/kit/com.tns.FragmentClass.kt +287 -0
  355. package/kit-android/generated/kotlin/org/nativescript/kit/com.tns.NativeScriptActivity.kt +263 -0
  356. package/kit-android/generated/kotlin/org/nativescript/kit/com.tns.OnBackPressedCallback.kt +116 -0
  357. package/kit-android/generated/kotlin/org/nativescript/kit/connectivity_index.kt +289 -0
  358. package/kit-android/generated/kotlin/org/nativescript/kit/core_types_animation_types.kt +56 -0
  359. package/kit-android/generated/kotlin/org/nativescript/kit/core_types_index.kt +427 -0
  360. package/kit-android/generated/kotlin/org/nativescript/kit/core_types_validators.kt +34 -0
  361. package/kit-android/generated/kotlin/org/nativescript/kit/css_CSS3Parser.kt +954 -0
  362. package/kit-android/generated/kotlin/org/nativescript/kit/css_CSSNativeScript.kt +205 -0
  363. package/kit-android/generated/kotlin/org/nativescript/kit/css_mediaquery_index.kt +270 -0
  364. package/kit-android/generated/kotlin/org/nativescript/kit/css_parser.kt +885 -0
  365. package/kit-android/generated/kotlin/org/nativescript/kit/css_system_classes.kt +98 -0
  366. package/kit-android/generated/kotlin/org/nativescript/kit/css_value_reworkcss_value.kt +214 -0
  367. package/kit-android/generated/kotlin/org/nativescript/kit/data_observable_array_index.kt +798 -0
  368. package/kit-android/generated/kotlin/org/nativescript/kit/data_observable_index.kt +1175 -0
  369. package/kit-android/generated/kotlin/org/nativescript/kit/data_virtual_array_index.kt +271 -0
  370. package/kit-android/generated/kotlin/org/nativescript/kit/file_system_file_system_access.kt +3828 -0
  371. package/kit-android/generated/kotlin/org/nativescript/kit/file_system_index.kt +1669 -0
  372. package/kit-android/generated/kotlin/org/nativescript/kit/fps_meter_fps_native.kt +177 -0
  373. package/kit-android/generated/kotlin/org/nativescript/kit/fps_meter_index.kt +93 -0
  374. package/kit-android/generated/kotlin/org/nativescript/kit/globals_global_utils.kt +185 -0
  375. package/kit-android/generated/kotlin/org/nativescript/kit/http_http_interfaces.kt +14 -0
  376. package/kit-android/generated/kotlin/org/nativescript/kit/http_http_request_http_request_common.kt +41 -0
  377. package/kit-android/generated/kotlin/org/nativescript/kit/http_http_request_index.kt +119 -0
  378. package/kit-android/generated/kotlin/org/nativescript/kit/http_http_request_internal_http_request_internal_common.kt +61 -0
  379. package/kit-android/generated/kotlin/org/nativescript/kit/http_http_request_internal_index.kt +237 -0
  380. package/kit-android/generated/kotlin/org/nativescript/kit/http_index.kt +155 -0
  381. package/kit-android/generated/kotlin/org/nativescript/kit/image_asset_image_asset_common.kt +201 -0
  382. package/kit-android/generated/kotlin/org/nativescript/kit/image_asset_index.kt +119 -0
  383. package/kit-android/generated/kotlin/org/nativescript/kit/image_source_image_source_common.kt +26 -0
  384. package/kit-android/generated/kotlin/org/nativescript/kit/image_source_index.kt +846 -0
  385. package/kit-android/generated/kotlin/org/nativescript/kit/js_libs_easysax_easysax.kt +1045 -0
  386. package/kit-android/generated/kotlin/org/nativescript/kit/matrix_index.kt +166 -0
  387. package/kit-android/generated/kotlin/org/nativescript/kit/media_query_list_index.kt +391 -0
  388. package/kit-android/generated/kotlin/org/nativescript/kit/module_name_resolver_helpers.kt +45 -0
  389. package/kit-android/generated/kotlin/org/nativescript/kit/module_name_resolver_index.kt +185 -0
  390. package/kit-android/generated/kotlin/org/nativescript/kit/module_name_resolver_non_bundle_workflow_compat.kt +262 -0
  391. package/kit-android/generated/kotlin/org/nativescript/kit/module_name_resolver_qualifier_matcher_index.kt +305 -0
  392. package/kit-android/generated/kotlin/org/nativescript/kit/native_window_index.kt +6 -0
  393. package/kit-android/generated/kotlin/org/nativescript/kit/native_window_native_window.kt +397 -0
  394. package/kit-android/generated/kotlin/org/nativescript/kit/native_window_native_window_common.kt +685 -0
  395. package/kit-android/generated/kotlin/org/nativescript/kit/native_window_native_window_interfaces.kt +51 -0
  396. package/kit-android/generated/kotlin/org/nativescript/kit/native_window_window_base.kt +223 -0
  397. package/kit-android/generated/kotlin/org/nativescript/kit/npm_css_what_src_index.kt +4 -0
  398. package/kit-android/generated/kotlin/org/nativescript/kit/npm_css_what_src_parse.kt +755 -0
  399. package/kit-android/generated/kotlin/org/nativescript/kit/npm_css_what_src_stringify.kt +212 -0
  400. package/kit-android/generated/kotlin/org/nativescript/kit/npm_css_what_src_types.kt +65 -0
  401. package/kit-android/generated/kotlin/org/nativescript/kit/org.nativescript.NativeScriptComponentCallbacks.kt +57 -0
  402. package/kit-android/generated/kotlin/org/nativescript/kit/org.nativescript.NativeScriptLifecycleCallbacks.kt +579 -0
  403. package/kit-android/generated/kotlin/org/nativescript/kit/platform_common.kt +20 -0
  404. package/kit-android/generated/kotlin/org/nativescript/kit/platform_device_index.kt +251 -0
  405. package/kit-android/generated/kotlin/org/nativescript/kit/platform_index.kt +6 -0
  406. package/kit-android/generated/kotlin/org/nativescript/kit/platform_screen_index.kt +183 -0
  407. package/kit-android/generated/kotlin/org/nativescript/kit/profiling_index.kt +485 -0
  408. package/kit-android/generated/kotlin/org/nativescript/kit/text_formatted_string.kt +6 -0
  409. package/kit-android/generated/kotlin/org/nativescript/kit/text_index.kt +15 -0
  410. package/kit-android/generated/kotlin/org/nativescript/kit/text_span.kt +6 -0
  411. package/kit-android/generated/kotlin/org/nativescript/kit/text_text_common.kt +277 -0
  412. package/kit-android/generated/kotlin/org/nativescript/kit/trace_index.kt +480 -0
  413. package/kit-android/generated/kotlin/org/nativescript/kit/ui_action_bar_action_bar_common.kt +1081 -0
  414. package/kit-android/generated/kotlin/org/nativescript/kit/ui_action_bar_index.kt +1207 -0
  415. package/kit-android/generated/kotlin/org/nativescript/kit/ui_activity_indicator_activity_indicator_common.kt +89 -0
  416. package/kit-android/generated/kotlin/org/nativescript/kit/ui_activity_indicator_index.kt +171 -0
  417. package/kit-android/generated/kotlin/org/nativescript/kit/ui_animation_animation_common.kt +518 -0
  418. package/kit-android/generated/kotlin/org/nativescript/kit/ui_animation_animation_shared.kt +6 -0
  419. package/kit-android/generated/kotlin/org/nativescript/kit/ui_animation_animation_types.kt +6 -0
  420. package/kit-android/generated/kotlin/org/nativescript/kit/ui_animation_index.kt +1539 -0
  421. package/kit-android/generated/kotlin/org/nativescript/kit/ui_animation_keyframe_animation.kt +1081 -0
  422. package/kit-android/generated/kotlin/org/nativescript/kit/ui_builder_binding_builder.kt +369 -0
  423. package/kit-android/generated/kotlin/org/nativescript/kit/ui_builder_component_builder_index.kt +487 -0
  424. package/kit-android/generated/kotlin/org/nativescript/kit/ui_builder_index.kt +1938 -0
  425. package/kit-android/generated/kotlin/org/nativescript/kit/ui_button_button_common.kt +70 -0
  426. package/kit-android/generated/kotlin/org/nativescript/kit/ui_button_index.kt +367 -0
  427. package/kit-android/generated/kotlin/org/nativescript/kit/ui_content_view_index.kt +220 -0
  428. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_bindable_bindable_expressions.kt +735 -0
  429. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_bindable_bindable_resources.kt +17 -0
  430. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_bindable_bindable_types.kt +6 -0
  431. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_bindable_expression_parser.kt +4970 -0
  432. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_bindable_index.kt +1342 -0
  433. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_control_state_change_index.kt +52 -0
  434. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_properties_index.kt +3578 -0
  435. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_properties_property_shared.kt +44 -0
  436. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_view_base_index.kt +3261 -0
  437. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_view_base_utils.kt +16 -0
  438. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_view_index.kt +4716 -0
  439. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_view_overflow_edges.kt +82 -0
  440. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_view_view_common.kt +3597 -0
  441. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_view_view_helper_index.kt +134 -0
  442. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_view_view_helper_view_helper_common.kt +360 -0
  443. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_view_view_helper_view_helper_shared.kt +6 -0
  444. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_view_view_interfaces.kt +349 -0
  445. package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_weak_event_listener_index.kt +266 -0
  446. package/kit-android/generated/kotlin/org/nativescript/kit/ui_date_picker_date_picker_common.kt +369 -0
  447. package/kit-android/generated/kotlin/org/nativescript/kit/ui_date_picker_index.kt +427 -0
  448. package/kit-android/generated/kotlin/org/nativescript/kit/ui_dialogs_dialogs_common.kt +428 -0
  449. package/kit-android/generated/kotlin/org/nativescript/kit/ui_dialogs_index.kt +689 -0
  450. package/kit-android/generated/kotlin/org/nativescript/kit/ui_editable_text_base_editable_text_base_common.kt +421 -0
  451. package/kit-android/generated/kotlin/org/nativescript/kit/ui_editable_text_base_index.kt +1140 -0
  452. package/kit-android/generated/kotlin/org/nativescript/kit/ui_embedding_index.kt +34 -0
  453. package/kit-android/generated/kotlin/org/nativescript/kit/ui_enums_enums.kt +6 -0
  454. package/kit-android/generated/kotlin/org/nativescript/kit/ui_enums_index.kt +6 -0
  455. package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_activity.kt +210 -0
  456. package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_fragment.kt +88 -0
  457. package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_fragment_transitions.kt +1544 -0
  458. package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_fragment_transitions_types.kt +25 -0
  459. package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_frame_common.kt +1350 -0
  460. package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_frame_constants.kt +10 -0
  461. package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_frame_helper_for_android.kt +615 -0
  462. package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_frame_helpers.kt +42 -0
  463. package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_frame_interfaces.kt +22 -0
  464. package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_frame_stack.kt +112 -0
  465. package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_index.kt +1890 -0
  466. package/kit-android/generated/kotlin/org/nativescript/kit/ui_gestures_gestures_common.kt +208 -0
  467. package/kit-android/generated/kotlin/org/nativescript/kit/ui_gestures_gestures_types.kt +348 -0
  468. package/kit-android/generated/kotlin/org/nativescript/kit/ui_gestures_index.kt +1785 -0
  469. package/kit-android/generated/kotlin/org/nativescript/kit/ui_gestures_touch_manager.kt +288 -0
  470. package/kit-android/generated/kotlin/org/nativescript/kit/ui_html_view_html_view_common.kt +121 -0
  471. package/kit-android/generated/kotlin/org/nativescript/kit/ui_html_view_index.kt +283 -0
  472. package/kit-android/generated/kotlin/org/nativescript/kit/ui_image_cache_image_cache_common.kt +450 -0
  473. package/kit-android/generated/kotlin/org/nativescript/kit/ui_image_cache_index.kt +225 -0
  474. package/kit-android/generated/kotlin/org/nativescript/kit/ui_image_image_common.kt +574 -0
  475. package/kit-android/generated/kotlin/org/nativescript/kit/ui_image_index.kt +493 -0
  476. package/kit-android/generated/kotlin/org/nativescript/kit/ui_image_symbol_effects.kt +31 -0
  477. package/kit-android/generated/kotlin/org/nativescript/kit/ui_image_symbol_effects_common.kt +138 -0
  478. package/kit-android/generated/kotlin/org/nativescript/kit/ui_label_index.kt +108 -0
  479. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_absolute_layout_absolute_layout_common.kt +167 -0
  480. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_absolute_layout_index.kt +94 -0
  481. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_dock_layout_dock_layout_common.kt +157 -0
  482. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_dock_layout_index.kt +124 -0
  483. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_flexbox_layout_flexbox_layout_common.kt +1004 -0
  484. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_flexbox_layout_index.kt +675 -0
  485. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_grid_layout_grid_layout_common.kt +1011 -0
  486. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_grid_layout_index.kt +450 -0
  487. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_index.kt +6 -0
  488. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_layout_base.kt +123 -0
  489. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_layout_base_common.kt +442 -0
  490. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_liquid_glass_container_index.kt +25 -0
  491. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_liquid_glass_container_liquid_glass_container_common.kt +38 -0
  492. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_liquid_glass_index.kt +30 -0
  493. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_liquid_glass_liquid_glass_common.kt +25 -0
  494. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_root_layout_index.kt +556 -0
  495. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_root_layout_root_layout_common.kt +930 -0
  496. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_root_layout_root_layout_stack.kt +49 -0
  497. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_stack_layout_index.kt +63 -0
  498. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_stack_layout_stack_layout_common.kt +83 -0
  499. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_wrap_layout_index.kt +106 -0
  500. package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_wrap_layout_wrap_layout_common.kt +185 -0
  501. package/kit-android/generated/kotlin/org/nativescript/kit/ui_list_picker_index.kt +400 -0
  502. package/kit-android/generated/kotlin/org/nativescript/kit/ui_list_picker_list_picker_common.kt +260 -0
  503. package/kit-android/generated/kotlin/org/nativescript/kit/ui_list_view_index.kt +2406 -0
  504. package/kit-android/generated/kotlin/org/nativescript/kit/ui_list_view_list_view_common.kt +912 -0
  505. package/kit-android/generated/kotlin/org/nativescript/kit/ui_page_events.kt +17 -0
  506. package/kit-android/generated/kotlin/org/nativescript/kit/ui_page_index.kt +241 -0
  507. package/kit-android/generated/kotlin/org/nativescript/kit/ui_page_page_common.kt +449 -0
  508. package/kit-android/generated/kotlin/org/nativescript/kit/ui_placeholder_index.kt +61 -0
  509. package/kit-android/generated/kotlin/org/nativescript/kit/ui_placeholder_placeholder_common.kt +6 -0
  510. package/kit-android/generated/kotlin/org/nativescript/kit/ui_progress_index.kt +204 -0
  511. package/kit-android/generated/kotlin/org/nativescript/kit/ui_progress_progress_common.kt +129 -0
  512. package/kit-android/generated/kotlin/org/nativescript/kit/ui_proxy_view_container_index.kt +457 -0
  513. package/kit-android/generated/kotlin/org/nativescript/kit/ui_repeater_index.kt +523 -0
  514. package/kit-android/generated/kotlin/org/nativescript/kit/ui_scroll_view_index.kt +400 -0
  515. package/kit-android/generated/kotlin/org/nativescript/kit/ui_scroll_view_scroll_view_common.kt +402 -0
  516. package/kit-android/generated/kotlin/org/nativescript/kit/ui_search_bar_index.kt +711 -0
  517. package/kit-android/generated/kotlin/org/nativescript/kit/ui_search_bar_search_bar_common.kt +186 -0
  518. package/kit-android/generated/kotlin/org/nativescript/kit/ui_segmented_bar_index.kt +774 -0
  519. package/kit-android/generated/kotlin/org/nativescript/kit/ui_segmented_bar_segmented_bar_common.kt +409 -0
  520. package/kit-android/generated/kotlin/org/nativescript/kit/ui_slider_index.kt +477 -0
  521. package/kit-android/generated/kotlin/org/nativescript/kit/ui_slider_slider_common.kt +234 -0
  522. package/kit-android/generated/kotlin/org/nativescript/kit/ui_split_view_index.kt +25 -0
  523. package/kit-android/generated/kotlin/org/nativescript/kit/ui_split_view_split_view_common.kt +446 -0
  524. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_background.kt +268 -0
  525. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_background_common.kt +771 -0
  526. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_box_shadow.kt +108 -0
  527. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_clip_path_function.kt +129 -0
  528. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_converters.kt +92 -0
  529. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_css_animation_parser.kt +416 -0
  530. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_css_selector.kt +3532 -0
  531. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_css_shadow.kt +38 -0
  532. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_css_stroke.kt +30 -0
  533. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_css_transform.kt +366 -0
  534. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_css_utils.kt +249 -0
  535. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_font.kt +488 -0
  536. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_font_common.kt +446 -0
  537. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_font_interfaces.kt +6 -0
  538. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_length_shared.kt +264 -0
  539. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_linear_gradient.kt +136 -0
  540. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_style_index.kt +1345 -0
  541. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_style_properties.kt +2907 -0
  542. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_style_scope.kt +3031 -0
  543. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_styling_profile.kt +6 -0
  544. package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_styling_shared.kt +6 -0
  545. package/kit-android/generated/kotlin/org/nativescript/kit/ui_switch_index.kt +295 -0
  546. package/kit-android/generated/kotlin/org/nativescript/kit/ui_switch_switch_common.kt +139 -0
  547. package/kit-android/generated/kotlin/org/nativescript/kit/ui_tab_view_index.kt +1977 -0
  548. package/kit-android/generated/kotlin/org/nativescript/kit/ui_tab_view_tab_view_common.kt +902 -0
  549. package/kit-android/generated/kotlin/org/nativescript/kit/ui_text_base_formatted_string.kt +471 -0
  550. package/kit-android/generated/kotlin/org/nativescript/kit/ui_text_base_index.kt +1662 -0
  551. package/kit-android/generated/kotlin/org/nativescript/kit/ui_text_base_span.kt +284 -0
  552. package/kit-android/generated/kotlin/org/nativescript/kit/ui_text_base_text_base_common.kt +792 -0
  553. package/kit-android/generated/kotlin/org/nativescript/kit/ui_text_field_index.kt +211 -0
  554. package/kit-android/generated/kotlin/org/nativescript/kit/ui_text_field_text_field_common.kt +115 -0
  555. package/kit-android/generated/kotlin/org/nativescript/kit/ui_text_view_index.kt +94 -0
  556. package/kit-android/generated/kotlin/org/nativescript/kit/ui_text_view_text_view_common.kt +140 -0
  557. package/kit-android/generated/kotlin/org/nativescript/kit/ui_time_picker_index.kt +225 -0
  558. package/kit-android/generated/kotlin/org/nativescript/kit/ui_time_picker_time_picker_common.kt +699 -0
  559. package/kit-android/generated/kotlin/org/nativescript/kit/ui_transition_fade_transition.kt +68 -0
  560. package/kit-android/generated/kotlin/org/nativescript/kit/ui_transition_flip_transition.kt +209 -0
  561. package/kit-android/generated/kotlin/org/nativescript/kit/ui_transition_index.kt +160 -0
  562. package/kit-android/generated/kotlin/org/nativescript/kit/ui_transition_modal_transition.kt +49 -0
  563. package/kit-android/generated/kotlin/org/nativescript/kit/ui_transition_page_transition.kt +416 -0
  564. package/kit-android/generated/kotlin/org/nativescript/kit/ui_transition_shared_transition.kt +457 -0
  565. package/kit-android/generated/kotlin/org/nativescript/kit/ui_transition_shared_transition_helper.kt +46 -0
  566. package/kit-android/generated/kotlin/org/nativescript/kit/ui_transition_slide_transition.kt +294 -0
  567. package/kit-android/generated/kotlin/org/nativescript/kit/ui_utils.kt +20 -0
  568. package/kit-android/generated/kotlin/org/nativescript/kit/ui_web_view_index.kt +595 -0
  569. package/kit-android/generated/kotlin/org/nativescript/kit/ui_web_view_web_view_common.kt +209 -0
  570. package/kit-android/generated/kotlin/org/nativescript/kit/ui_web_view_web_view_interfaces.kt +6 -0
  571. package/kit-android/generated/kotlin/org/nativescript/kit/utils_animation_helpers.kt +76 -0
  572. package/kit-android/generated/kotlin/org/nativescript/kit/utils_common.kt +224 -0
  573. package/kit-android/generated/kotlin/org/nativescript/kit/utils_constants.kt +22 -0
  574. package/kit-android/generated/kotlin/org/nativescript/kit/utils_debug.kt +9 -0
  575. package/kit-android/generated/kotlin/org/nativescript/kit/utils_debug_source.kt +246 -0
  576. package/kit-android/generated/kotlin/org/nativescript/kit/utils_index.kt +296 -0
  577. package/kit-android/generated/kotlin/org/nativescript/kit/utils_layout_helper_index.kt +139 -0
  578. package/kit-android/generated/kotlin/org/nativescript/kit/utils_layout_helper_layout_helper_common.kt +61 -0
  579. package/kit-android/generated/kotlin/org/nativescript/kit/utils_layout_helper_layout_helper_shared.kt +23 -0
  580. package/kit-android/generated/kotlin/org/nativescript/kit/utils_lazy.kt +20 -0
  581. package/kit-android/generated/kotlin/org/nativescript/kit/utils_macrotask_scheduler.kt +45 -0
  582. package/kit-android/generated/kotlin/org/nativescript/kit/utils_mainthread_helper.kt +64 -0
  583. package/kit-android/generated/kotlin/org/nativescript/kit/utils_module_merge.kt +13 -0
  584. package/kit-android/generated/kotlin/org/nativescript/kit/utils_native_helper.kt +79 -0
  585. package/kit-android/generated/kotlin/org/nativescript/kit/utils_native_helper_for_android.kt +805 -0
  586. package/kit-android/generated/kotlin/org/nativescript/kit/utils_number_utils.kt +66 -0
  587. package/kit-android/generated/kotlin/org/nativescript/kit/utils_platform_check.kt +15 -0
  588. package/kit-android/generated/kotlin/org/nativescript/kit/utils_shared.kt +65 -0
  589. package/kit-android/generated/kotlin/org/nativescript/kit/utils_types.kt +229 -0
  590. package/kit-android/generated/kotlin/org/nativescript/kit/utils_utils_shared.kt +16 -0
  591. package/kit-android/generated/kotlin/org/nativescript/kit/xml_index.kt +869 -0
  592. package/kit-android/generated/manifest.json +860 -0
  593. package/kit-android/generated/source-lines.json +1 -0
  594. package/kit-android/gradle/wrapper/gradle-wrapper.jar +0 -0
  595. package/kit-android/gradle/wrapper/gradle-wrapper.properties +6 -0
  596. package/kit-android/gradlew +240 -0
  597. package/kit-android/overlays/xml-free/kotlin/org/nativescript/kit/ui_builder_index.kt +524 -0
  598. package/kit-android/overlays/xml-free/kotlin/org/nativescript/kit/ui_core_bindable_index.kt +1335 -0
  599. package/kit-android/overlays/xml-free/overlay.json +20 -0
  600. package/kit-android/src/fromcore/kotlin/org/nativescript/kit/AnimationFrame.kt +68 -0
  601. package/kit-android/src/fromcore/kotlin/org/nativescript/kit/CoreBridge.kt +302 -0
  602. package/kit-android/src/fromcore/kotlin/org/nativescript/kit/Modal.kt +61 -0
  603. package/kit-android/src/fromcore/kotlin/org/nativescript/kit/NativeScriptApplication.kt +230 -0
  604. package/kit-android/src/fromcore/kotlin/org/nativescript/kit/Regions.kt +289 -0
  605. package/kit-android/src/main/kotlin/org/nativescript/kit/ChangeDetection.kt +28 -0
  606. package/kit-android/src/main/kotlin/org/nativescript/kit/ColorMix.kt +643 -0
  607. package/kit-android/src/main/kotlin/org/nativescript/kit/JS.kt +10 -0
  608. package/kit-android/src/main/kotlin/org/nativescript/kit/MainThread.kt +10 -0
  609. package/kit-android/src/main/kotlin/org/nativescript/kit/Signals.kt +866 -0
  610. package/kit-android/src/main/kotlin/org/nativescript/kit/UncaughtErrors.kt +51 -0
  611. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Array.kt +731 -0
  612. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/ArrayLike.kt +781 -0
  613. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/BigInt.kt +136 -0
  614. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/CSSCalc.kt +109 -0
  615. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Collections.kt +426 -0
  616. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/CorePackages.kt +13 -0
  617. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Date.kt +573 -0
  618. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Dynamic.kt +668 -0
  619. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/ES2023.kt +93 -0
  620. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/ErrorOrigin.kt +17 -0
  621. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Errors.kt +270 -0
  622. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/HostObjects.kt +72 -0
  623. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Inspect.kt +814 -0
  624. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Intl.kt +651 -0
  625. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Iterators.kt +746 -0
  626. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/JSON.kt +587 -0
  627. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Language.kt +518 -0
  628. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Lowering.kt +70 -0
  629. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Number.kt +367 -0
  630. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Promise.kt +680 -0
  631. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Prototypes.kt +292 -0
  632. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Reactive.kt +36 -0
  633. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Realm.kt +85 -0
  634. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/RegExp.kt +2245 -0
  635. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/ShortestDouble.kt +157 -0
  636. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Strings.kt +398 -0
  637. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/ThrownValue.kt +34 -0
  638. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Timers.kt +182 -0
  639. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/TypedArrays.kt +993 -0
  640. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/URI.kt +74 -0
  641. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Values.kt +1237 -0
  642. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Views.kt +52 -0
  643. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Weak.kt +110 -0
  644. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/WinterTC.kt +356 -0
  645. package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Workers.kt +312 -0
  646. package/kit-apple/Overlays/xml-free/Core/ui.builder.index.swift +536 -0
  647. package/kit-apple/Overlays/xml-free/Core/ui.core.bindable.index.swift +1375 -0
  648. package/kit-apple/Overlays/xml-free/overlay.json +34 -0
  649. package/kit-apple/Package.swift +17 -0
  650. package/kit-apple/Sources/NativeScriptKit/AnimationFrame.swift +41 -0
  651. package/kit-apple/Sources/NativeScriptKit/AppModules.swift +88 -0
  652. package/kit-apple/Sources/NativeScriptKit/ApplicationDelegateClass.swift +273 -0
  653. package/kit-apple/Sources/NativeScriptKit/CSSCalc.swift +111 -0
  654. package/kit-apple/Sources/NativeScriptKit/ChangeDetection.swift +31 -0
  655. package/kit-apple/Sources/NativeScriptKit/ColorMix.swift +577 -0
  656. package/kit-apple/Sources/NativeScriptKit/Core/FunctionCells.Arity0.swift +1413 -0
  657. package/kit-apple/Sources/NativeScriptKit/Core/FunctionCells.Arity1.swift +6525 -0
  658. package/kit-apple/Sources/NativeScriptKit/Core/FunctionCells.Arity2.swift +4713 -0
  659. package/kit-apple/Sources/NativeScriptKit/Core/FunctionCells.Arity3Plus.swift +5428 -0
  660. package/kit-apple/Sources/NativeScriptKit/Core/Object_Accuracy_AndroidActionBarIconVisibility_AndroidActionItemPosition_AnimationCurve_AutocapitalizationType_BackgroundRepeat_and_26_more_630c32.swift +472 -0
  661. package/kit-apple/Sources/NativeScriptKit/Core/Object_ArrayExpression_BinaryExpression_CallExpression_ChainExpression_ConditionalExpression_Identifier_and_10_more_f883bf.swift +359 -0
  662. package/kit-apple/Sources/NativeScriptKit/Core/Object_Tab_NewLine_excl_quot_QUOT_num_and_287_more_88aef2.swift +2190 -0
  663. package/kit-apple/Sources/NativeScriptKit/Core/Object_Unknown_QuirksMode_IgnoreCase_CaseSensitive.swift +122 -0
  664. package/kit-apple/Sources/NativeScriptKit/Core/Object_a_b_c_d_tx_ty.swift +123 -0
  665. package/kit-apple/Sources/NativeScriptKit/Core/Object_a_h_s_l.swift +85 -0
  666. package/kit-apple/Sources/NativeScriptKit/Core/Object_a_h_s_v.swift +85 -0
  667. package/kit-apple/Sources/NativeScriptKit/Core/Object_a_r_g_b.swift +85 -0
  668. package/kit-apple/Sources/NativeScriptKit/Core/Object_activate_deactivate_background_foreground_close_attached_and_26_more_127a37.swift +448 -0
  669. package/kit-apple/Sources/NativeScriptKit/Core/Object_activeType.swift +65 -0
  670. package/kit-apple/Sources/NativeScriptKit/Core/Object_alert_confirm_prompt_login_action.swift +118 -0
  671. package/kit-apple/Sources/NativeScriptKit/Core/Object_align_offset.swift +94 -0
  672. package/kit-apple/Sources/NativeScriptKit/Core/Object_android_ios_visionos_apple.swift +109 -0
  673. package/kit-apple/Sources/NativeScriptKit/Core/Object_angle_colors.swift +81 -0
  674. package/kit-apple/Sources/NativeScriptKit/Core/Object_animations.swift +66 -0
  675. package/kit-apple/Sources/NativeScriptKit/Core/Object_animations_completion.swift +73 -0
  676. package/kit-apple/Sources/NativeScriptKit/Core/Object_axis_value.swift +80 -0
  677. package/kit-apple/Sources/NativeScriptKit/Core/Object_backgroundColor_scale_translate_rotate_opacity_width_height_valueSource_duration_curve_forceLayer.swift +257 -0
  678. package/kit-apple/Sources/NativeScriptKit/Core/Object_body.swift +78 -0
  679. package/kit-apple/Sources/NativeScriptKit/Core/Object_boundsChanged_sizeChanged.swift +80 -0
  680. package/kit-apple/Sources/NativeScriptKit/Core/Object_callback_thisArg_once.swift +112 -0
  681. package/kit-apple/Sources/NativeScriptKit/Core/Object_collections_createUIDocumentInteractionControllerDelegate_getCurrentAppPath_getRootViewController_getVisibleViewController_getWindow_and_10_more_6713a9.swift +281 -0
  682. package/kit-apple/Sources/NativeScriptKit/Core/Object_color.swift +64 -0
  683. package/kit-apple/Sources/NativeScriptKit/Core/Object_color_backgroundColor.swift +81 -0
  684. package/kit-apple/Sources/NativeScriptKit/Core/Object_color_offset.swift +94 -0
  685. package/kit-apple/Sources/NativeScriptKit/Core/Object_component_exports.swift +95 -0
  686. package/kit-apple/Sources/NativeScriptKit/Core/Object_component_exports_.swift +94 -0
  687. package/kit-apple/Sources/NativeScriptKit/Core/Object_connectionOptions.swift +66 -0
  688. package/kit-apple/Sources/NativeScriptKit/Core/Object_constructor_hasOwnProperty_isPrototypeOf_propertyIsEnumerable_toLocaleString_toString_and_21_more_e9ed9b.swift +331 -0
  689. package/kit-apple/Sources/NativeScriptKit/Core/Object_content_statusCode_headers.swift +106 -0
  690. package/kit-apple/Sources/NativeScriptKit/Core/Object_context_closeCallback_fullscreen_animated_stretched.swift +149 -0
  691. package/kit-apple/Sources/NativeScriptKit/Core/Object_context_parent_name_elementName_templateItems_errorFormat_sourceTracker_xmlModule.swift +185 -0
  692. package/kit-apple/Sources/NativeScriptKit/Core/Object_counters_timeline.swift +95 -0
  693. package/kit-apple/Sources/NativeScriptKit/Core/Object_create.swift +78 -0
  694. package/kit-apple/Sources/NativeScriptKit/Core/Object_createSelector_SelectorCore_SimpleSelector_InvalidSelector_UniversalSelector_TypeSelector_and_12_more_71e044.swift +315 -0
  695. package/kit-apple/Sources/NativeScriptKit/Core/Object_curve.swift +78 -0
  696. package/kit-apple/Sources/NativeScriptKit/Core/Object_defaultValue_name_cssName_affectsLayout.swift +131 -0
  697. package/kit-apple/Sources/NativeScriptKit/Core/Object_defaultValue_name_cssName_valueConverter.swift +113 -0
  698. package/kit-apple/Sources/NativeScriptKit/Core/Object_defaultValue_name_cssName_valueConverter_.swift +113 -0
  699. package/kit-apple/Sources/NativeScriptKit/Core/Object_deg_rad_grad_turn.swift +105 -0
  700. package/kit-apple/Sources/NativeScriptKit/Core/Object_duration_damping.swift +80 -0
  701. package/kit-apple/Sources/NativeScriptKit/Core/Object_duration_repeatCount_delay_curve_propertyNameToAnimate_subPropertiesToAnimate_fromValue_toValue.swift +211 -0
  702. package/kit-apple/Sources/NativeScriptKit/Core/Object_duration_spring.swift +90 -0
  703. package/kit-apple/Sources/NativeScriptKit/Core/Object_edge_interaction.swift +94 -0
  704. package/kit-apple/Sources/NativeScriptKit/Core/Object_effectType_onCreate.swift +86 -0
  705. package/kit-apple/Sources/NativeScriptKit/Core/Object_effectType_targetView.swift +73 -0
  706. package/kit-apple/Sources/NativeScriptKit/Core/Object_effectType_targetView_toGlassStyleFn.swift +110 -0
  707. package/kit-apple/Sources/NativeScriptKit/Core/Object_empty_text_json_blob_arraybuffer.swift +108 -0
  708. package/kit-apple/Sources/NativeScriptKit/Core/Object_enterFrom_exitTo.swift +95 -0
  709. package/kit-apple/Sources/NativeScriptKit/Core/Object_entry_isBackNavigation_navigationType.swift +115 -0
  710. package/kit-apple/Sources/NativeScriptKit/Core/Object_entry_resolvedPage_navDepth_fragmentTag.swift +133 -0
  711. package/kit-apple/Sources/NativeScriptKit/Core/Object_entry_resolvedPage_navDepth_fragmentTag_frameId.swift +162 -0
  712. package/kit-apple/Sources/NativeScriptKit/Core/Object_enumerable_configurable_get_set.swift +123 -0
  713. package/kit-apple/Sources/NativeScriptKit/Core/Object_enumerable_configurable_get_set_.swift +122 -0
  714. package/kit-apple/Sources/NativeScriptKit/Core/Object_enumerable_configurable_get_set__.swift +122 -0
  715. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_android_ios_newValue_object.swift +147 -0
  716. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_data.swift +94 -0
  717. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_action_index_removed_addedCount.swift +153 -0
  718. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_action_index_removed_addedCount_.swift +154 -0
  719. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_action_index_removed_addedCount__.swift +152 -0
  720. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_android_ios_error.swift +148 -0
  721. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_context_closeCallback.swift +133 -0
  722. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_context_isBackNavigation.swift +132 -0
  723. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_cssFile.swift +110 -0
  724. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_cssFile_.swift +95 -0
  725. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_cssText.swift +110 -0
  726. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_data.swift +112 -0
  727. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_data_.swift +114 -0
  728. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_error.swift +111 -0
  729. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_index_count.swift +120 -0
  730. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_index_section_view_ios_android.swift +168 -0
  731. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_ios.swift +97 -0
  732. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_ios_.swift +111 -0
  733. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_ios_android.swift +129 -0
  734. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_ios_android_cssFile.swift +138 -0
  735. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_isBack_entry_fromEntry.swift +130 -0
  736. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_key_error.swift +128 -0
  737. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_key_image.swift +129 -0
  738. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_matches_media.swift +111 -0
  739. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_newValue.swift +95 -0
  740. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_oldIndex_newIndex.swift +104 -0
  741. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_oldIndex_newIndex_.swift +121 -0
  742. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_propertyName_value_oldValue.swift +147 -0
  743. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_text_ios.swift +113 -0
  744. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_type_view_ios.swift +117 -0
  745. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_url_navigationType_error.swift +158 -0
  746. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_url_navigationType_error_.swift +160 -0
  747. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_viewController.swift +114 -0
  748. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_view_context.swift +130 -0
  749. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window.swift +103 -0
  750. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_newValue.swift +123 -0
  751. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene.swift +105 -0
  752. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene_.swift +105 -0
  753. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene_shortcutItem_completionHandler.swift +157 -0
  754. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene_shortcutItem_completionHandler_.swift +158 -0
  755. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene_uiWindow_connectionOptions.swift +137 -0
  756. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene_uiWindow_connectionOptions_.swift +137 -0
  757. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene_urlContexts.swift +120 -0
  758. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene_urlContexts_.swift +120 -0
  759. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene_userActivity.swift +121 -0
  760. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene_userActivity_.swift +121 -0
  761. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_rootView.swift +80 -0
  762. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_type.swift +80 -0
  763. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_type_object.swift +111 -0
  764. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_window_object.swift +103 -0
  765. package/kit-apple/Sources/NativeScriptKit/Core/Object_eventType_position_prefix_namespace_elementName_attributes_data.swift +169 -0
  766. package/kit-apple/Sources/NativeScriptKit/Core/Object_exists_isDirectory.swift +80 -0
  767. package/kit-apple/Sources/NativeScriptKit/Core/Object_f_s_t_a.swift +85 -0
  768. package/kit-apple/Sources/NativeScriptKit/Core/Object_folder_path.swift +94 -0
  769. package/kit-apple/Sources/NativeScriptKit/Core/Object_fontFamily_fontSize_fontWeight_fontVariationSettings_isBold_isItalic.swift +130 -0
  770. package/kit-apple/Sources/NativeScriptKit/Core/Object_fontStyle_fontVariant_fontWeight.swift +95 -0
  771. package/kit-apple/Sources/NativeScriptKit/Core/Object_h_s_l.swift +78 -0
  772. package/kit-apple/Sources/NativeScriptKit/Core/Object_h_s_v.swift +78 -0
  773. package/kit-apple/Sources/NativeScriptKit/Core/Object_headers_timestamp_headersSize_method_postData_url.swift +173 -0
  774. package/kit-apple/Sources/NativeScriptKit/Core/Object_highlighted.swift +66 -0
  775. package/kit-apple/Sources/NativeScriptKit/Core/Object_horizontal_vertical.swift +80 -0
  776. package/kit-apple/Sources/NativeScriptKit/Core/Object_hour_minute.swift +80 -0
  777. package/kit-apple/Sources/NativeScriptKit/Core/Object_id_type.swift +94 -0
  778. package/kit-apple/Sources/NativeScriptKit/Core/Object_id_type_action.swift +108 -0
  779. package/kit-apple/Sources/NativeScriptKit/Core/Object_id_type_percent.swift +108 -0
  780. package/kit-apple/Sources/NativeScriptKit/Core/Object_import_type.swift +80 -0
  781. package/kit-apple/Sources/NativeScriptKit/Core/Object_inset_color_values.swift +87 -0
  782. package/kit-apple/Sources/NativeScriptKit/Core/Object_inset_offsetX_offsetY_blurRadius_spreadRadius_color.swift +147 -0
  783. package/kit-apple/Sources/NativeScriptKit/Core/Object_inset_offsetX_offsetY_blurRadius_spreadRadius_color_.swift +126 -0
  784. package/kit-apple/Sources/NativeScriptKit/Core/Object_instance.swift +64 -0
  785. package/kit-apple/Sources/NativeScriptKit/Core/Object_instance_instanceModule.swift +97 -0
  786. package/kit-apple/Sources/NativeScriptKit/Core/Object_instance_property.swift +86 -0
  787. package/kit-apple/Sources/NativeScriptKit/Core/Object_instance_property_.swift +72 -0
  788. package/kit-apple/Sources/NativeScriptKit/Core/Object_interactiveBegan.swift +66 -0
  789. package/kit-apple/Sources/NativeScriptKit/Core/Object_interactiveBegan_interactiveCancelled.swift +81 -0
  790. package/kit-apple/Sources/NativeScriptKit/Core/Object_interactiveCancelled.swift +66 -0
  791. package/kit-apple/Sources/NativeScriptKit/Core/Object_interactive_pageStart_pageEnd_pageOut_pageReturn_instance_activeType.swift +165 -0
  792. package/kit-apple/Sources/NativeScriptKit/Core/Object_inverse_type_features.swift +95 -0
  793. package/kit-apple/Sources/NativeScriptKit/Core/Object_ios.swift +78 -0
  794. package/kit-apple/Sources/NativeScriptKit/Core/Object_iosNotificationType.swift +66 -0
  795. package/kit-apple/Sources/NativeScriptKit/Core/Object_iosNotificationType_message.swift +80 -0
  796. package/kit-apple/Sources/NativeScriptKit/Core/Object_ios_.swift +64 -0
  797. package/kit-apple/Sources/NativeScriptKit/Core/Object_ios_scene.swift +80 -0
  798. package/kit-apple/Sources/NativeScriptKit/Core/Object_isMatch_getMatchOccurences_getMatchValue.swift +101 -0
  799. package/kit-apple/Sources/NativeScriptKit/Core/Object_iterator_prototype_for_keyFor_hasInstance_isConcatSpreadable_and_19_more_91b5f3.swift +413 -0
  800. package/kit-apple/Sources/NativeScriptKit/Core/Object_keepAspectRatio_autoScaleFactor.swift +73 -0
  801. package/kit-apple/Sources/NativeScriptKit/Core/Object_key_createView.swift +95 -0
  802. package/kit-apple/Sources/NativeScriptKit/Core/Object_key_createView_.swift +97 -0
  803. package/kit-apple/Sources/NativeScriptKit/Core/Object_launchData.swift +68 -0
  804. package/kit-apple/Sources/NativeScriptKit/Core/Object_left_right.swift +95 -0
  805. package/kit-apple/Sources/NativeScriptKit/Core/Object_left_right_center_top_bottom.swift +115 -0
  806. package/kit-apple/Sources/NativeScriptKit/Core/Object_lifecycle_timeline.swift +80 -0
  807. package/kit-apple/Sources/NativeScriptKit/Core/Object_line_column.swift +80 -0
  808. package/kit-apple/Sources/NativeScriptKit/Core/Object_location.swift +64 -0
  809. package/kit-apple/Sources/NativeScriptKit/Core/Object_location_length.swift +80 -0
  810. package/kit-apple/Sources/NativeScriptKit/Core/Object_m.swift +64 -0
  811. package/kit-apple/Sources/NativeScriptKit/Core/Object_maskPath_shadowPath.swift +95 -0
  812. package/kit-apple/Sources/NativeScriptKit/Core/Object_matches_media.swift +80 -0
  813. package/kit-apple/Sources/NativeScriptKit/Core/Object_measuredWidth_measuredHeight.swift +81 -0
  814. package/kit-apple/Sources/NativeScriptKit/Core/Object_message.swift +64 -0
  815. package/kit-apple/Sources/NativeScriptKit/Core/Object_method.swift +64 -0
  816. package/kit-apple/Sources/NativeScriptKit/Core/Object_method_postData.swift +80 -0
  817. package/kit-apple/Sources/NativeScriptKit/Core/Object_modifier_property_value.swift +87 -0
  818. package/kit-apple/Sources/NativeScriptKit/Core/Object_moduleName.swift +65 -0
  819. package/kit-apple/Sources/NativeScriptKit/Core/Object_moduleName_.swift +78 -0
  820. package/kit-apple/Sources/NativeScriptKit/Core/Object_moduleName_create_transition.swift +93 -0
  821. package/kit-apple/Sources/NativeScriptKit/Core/Object_moduleName_transition.swift +76 -0
  822. package/kit-apple/Sources/NativeScriptKit/Core/Object_name.swift +64 -0
  823. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_affectsLayout_valueChanged.swift +103 -0
  824. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_affectsLayout_valueChanged_.swift +98 -0
  825. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_affectsLayout_valueChanged__.swift +100 -0
  826. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_affectsLayout_valueChanged___.swift +102 -0
  827. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_affectsLayout_valueConverter.swift +96 -0
  828. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_affectsLayout_valueConverter_valueChanged.swift +115 -0
  829. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName.swift +80 -0
  830. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_affectsLayout_defaultValue_valueConverter_valueChanged.swift +139 -0
  831. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_affectsLayout_defaultValue_valueConverter_valueChanged_.swift +159 -0
  832. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_affectsLayout_valueChanged.swift +114 -0
  833. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_affectsLayout_valueChanged_valueConverter.swift +130 -0
  834. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_affectsLayout_valueChanged_valueConverter_.swift +134 -0
  835. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_affectsLayout_valueConverter.swift +133 -0
  836. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_affectsLayout_valueConverter_.swift +113 -0
  837. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue.swift +94 -0
  838. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_affectsLayout_equalityComparer_valueChanged_valueConverter.swift +183 -0
  839. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_affectsLayout_equalityComparer_valueConverter.swift +168 -0
  840. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_affectsLayout_equalityComparer_valueConverter_.swift +169 -0
  841. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_affectsLayout_equalityComparer_valueConverter_valueChanged.swift +181 -0
  842. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_affectsLayout_valueConverter.swift +128 -0
  843. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_affectsLayout_valueConverter_.swift +128 -0
  844. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_affectsLayout_valueConverter__.swift +128 -0
  845. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_affectsLayout_valueConverter_valueChanged.swift +139 -0
  846. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_equalityComparer_valueChanged_valueConverter.swift +162 -0
  847. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_equalityComparer_valueConverter.swift +150 -0
  848. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_valueConverter.swift +113 -0
  849. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_valueConverter_.swift +113 -0
  850. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_valueConverter__.swift +114 -0
  851. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_valueConverter___.swift +113 -0
  852. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_valueConverter_valueChanged.swift +121 -0
  853. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_equalityComparer_defaultValue_valueConverter.swift +129 -0
  854. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_equalityComparer_valueConverter.swift +114 -0
  855. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_getter_converter.swift +130 -0
  856. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_getter_converter_.swift +133 -0
  857. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_getter_converter__.swift +130 -0
  858. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_getter_converter___.swift +131 -0
  859. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_getter_converter____.swift +133 -0
  860. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_getter_converter_____.swift +131 -0
  861. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_valueChanged.swift +99 -0
  862. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_valueChanged_equalityComparer_valueConverter.swift +153 -0
  863. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_valueChanged_equalityComparer_valueConverter_.swift +132 -0
  864. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_valueChanged_valueConverter.swift +118 -0
  865. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_valueConverter.swift +95 -0
  866. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_valueConverter_.swift +95 -0
  867. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_valueConverter__.swift +95 -0
  868. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_valueConverter_valueChanged.swift +114 -0
  869. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue.swift +80 -0
  870. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_.swift +94 -0
  871. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue__.swift +80 -0
  872. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue___.swift +81 -0
  873. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_affectsLayout.swift +95 -0
  874. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_affectsLayout_equalityComparer_valueConverter_valueChanged.swift +163 -0
  875. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_affectsLayout_valueChanged_coerceValue_valueConverter.swift +144 -0
  876. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_affectsLayout_valueChanged_valueConverter.swift +124 -0
  877. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_affectsLayout_valueConverter.swift +135 -0
  878. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_affectsLayout_valueConverter_.swift +114 -0
  879. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_affectsLayout_valueConverter__.swift +114 -0
  880. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_affectsLayout_valueConverter___.swift +135 -0
  881. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_affectsLayout_valueConverter____.swift +114 -0
  882. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_affectsLayout_valueConverter_valueChanged.swift +122 -0
  883. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_coerceValue_valueChanged_valueConverter.swift +125 -0
  884. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_coerceValue_valueConverter.swift +116 -0
  885. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_coerceValue_valueConverter_.swift +115 -0
  886. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_equalityComparer_coerceValue_valueChanged_valueConverter.swift +170 -0
  887. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_equalityComparer_valueChanged.swift +111 -0
  888. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_equalityComparer_valueConverter.swift +116 -0
  889. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_equalityComparer_valueConverter_.swift +139 -0
  890. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_equalityComparer_valueConverter__.swift +136 -0
  891. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged.swift +92 -0
  892. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged_.swift +92 -0
  893. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged_coerceValue_valueConverter.swift +126 -0
  894. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged_equalityComparer_valueConverter.swift +146 -0
  895. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged_valueConverter.swift +107 -0
  896. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged_valueConverter_.swift +107 -0
  897. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged_valueConverter__.swift +108 -0
  898. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged_valueConverter___.swift +108 -0
  899. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged_valueConverter____.swift +128 -0
  900. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged_valueConverter_____.swift +108 -0
  901. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged_valueConverter______.swift +126 -0
  902. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueConverter.swift +98 -0
  903. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueConverter_.swift +96 -0
  904. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueConverter__.swift +97 -0
  905. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueConverter___.swift +98 -0
  906. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueConverter____.swift +100 -0
  907. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueConverter_coerceValue.swift +115 -0
  908. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueConverter_valueChanged.swift +107 -0
  909. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueConverter_valueChanged_.swift +107 -0
  910. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_duration.swift +80 -0
  911. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_equalityComparer_valueConverter.swift +101 -0
  912. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_equalityComparer_valueConverter_.swift +100 -0
  913. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_equalityComparer_valueConverter__.swift +119 -0
  914. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_keyframes_mediaQueryString.swift +117 -0
  915. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged.swift +82 -0
  916. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged_.swift +82 -0
  917. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged__.swift +84 -0
  918. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged___.swift +84 -0
  919. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged____.swift +82 -0
  920. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged_____.swift +82 -0
  921. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged______.swift +82 -0
  922. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged_______.swift +81 -0
  923. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged________.swift +86 -0
  924. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged_________.swift +92 -0
  925. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged__________.swift +90 -0
  926. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged_valueConverter.swift +101 -0
  927. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged_valueConverter_.swift +119 -0
  928. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged_valueConverter__.swift +101 -0
  929. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueConverter.swift +81 -0
  930. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueConverter_.swift +81 -0
  931. package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueConverter__.swift +82 -0
  932. package/kit-apple/Sources/NativeScriptKit/Core/Object_navigatingToEvent_navigatedToEvent_navigatingFromEvent_navigatedFromEvent.swift +116 -0
  933. package/kit-apple/Sources/NativeScriptKit/Core/Object_normalState_selectedState.swift +81 -0
  934. package/kit-apple/Sources/NativeScriptKit/Core/Object_num_regexp_string_name_privateId_eof_and_71_more_93cbae.swift +688 -0
  935. package/kit-apple/Sources/NativeScriptKit/Core/Object_object_eventName_propertyName_value_oldValue_origin.swift +154 -0
  936. package/kit-apple/Sources/NativeScriptKit/Core/Object_object_eventName_scrollX_scrollY.swift +105 -0
  937. package/kit-apple/Sources/NativeScriptKit/Core/Object_object_eventName_scrollX_scrollY_.swift +121 -0
  938. package/kit-apple/Sources/NativeScriptKit/Core/Object_opacity_color_tapToClose_animation_ignoreShadeRestore.swift +131 -0
  939. package/kit-apple/Sources/NativeScriptKit/Core/Object_orientation_systemAppearance.swift +100 -0
  940. package/kit-apple/Sources/NativeScriptKit/Core/Object_orientation_systemAppearance_.swift +81 -0
  941. package/kit-apple/Sources/NativeScriptKit/Core/Object_page_toPage.swift +94 -0
  942. package/kit-apple/Sources/NativeScriptKit/Core/Object_page_toPage_.swift +95 -0
  943. package/kit-apple/Sources/NativeScriptKit/Core/Object_parent_name_items.swift +111 -0
  944. package/kit-apple/Sources/NativeScriptKit/Core/Object_path_name.swift +72 -0
  945. package/kit-apple/Sources/NativeScriptKit/Core/Object_path_name_extension.swift +86 -0
  946. package/kit-apple/Sources/NativeScriptKit/Core/Object_pattern_flags.swift +80 -0
  947. package/kit-apple/Sources/NativeScriptKit/Core/Object_position_systemIcon.swift +94 -0
  948. package/kit-apple/Sources/NativeScriptKit/Core/Object_prefix_namespace_name.swift +113 -0
  949. package/kit-apple/Sources/NativeScriptKit/Core/Object_presented_presenting_independent.swift +98 -0
  950. package/kit-apple/Sources/NativeScriptKit/Core/Object_propName_propValue.swift +80 -0
  951. package/kit-apple/Sources/NativeScriptKit/Core/Object_property_value.swift +95 -0
  952. package/kit-apple/Sources/NativeScriptKit/Core/Object_property_value_.swift +95 -0
  953. package/kit-apple/Sources/NativeScriptKit/Core/Object_property_value__.swift +96 -0
  954. package/kit-apple/Sources/NativeScriptKit/Core/Object_property_value___.swift +94 -0
  955. package/kit-apple/Sources/NativeScriptKit/Core/Object_property_value____.swift +80 -0
  956. package/kit-apple/Sources/NativeScriptKit/Core/Object_property_value_____.swift +80 -0
  957. package/kit-apple/Sources/NativeScriptKit/Core/Object_property_value______.swift +80 -0
  958. package/kit-apple/Sources/NativeScriptKit/Core/Object_property_value_______.swift +83 -0
  959. package/kit-apple/Sources/NativeScriptKit/Core/Object_property_value________.swift +83 -0
  960. package/kit-apple/Sources/NativeScriptKit/Core/Object_r_g_b.swift +78 -0
  961. package/kit-apple/Sources/NativeScriptKit/Core/Object_raw_cooked.swift +94 -0
  962. package/kit-apple/Sources/NativeScriptKit/Core/Object_raw_cooked_.swift +80 -0
  963. package/kit-apple/Sources/NativeScriptKit/Core/Object_raw_requestURL_toNativeImage_toNativeString.swift +114 -0
  964. package/kit-apple/Sources/NativeScriptKit/Core/Object_raw_requestURL_toNativeImage_toNativeString_.swift +135 -0
  965. package/kit-apple/Sources/NativeScriptKit/Core/Object_recognizer_target.swift +96 -0
  966. package/kit-apple/Sources/NativeScriptKit/Core/Object_repeatX_repeatY_posX_posY.swift +93 -0
  967. package/kit-apple/Sources/NativeScriptKit/Core/Object_requestTime_proxyStart_proxyEnd_dnsStart_dnsEnd_connectStart_and_9_more_3e958e.swift +248 -0
  968. package/kit-apple/Sources/NativeScriptKit/Core/Object_result_text.swift +94 -0
  969. package/kit-apple/Sources/NativeScriptKit/Core/Object_result_userName_password.swift +102 -0
  970. package/kit-apple/Sources/NativeScriptKit/Core/Object_right_left.swift +80 -0
  971. package/kit-apple/Sources/NativeScriptKit/Core/Object_row_col.swift +72 -0
  972. package/kit-apple/Sources/NativeScriptKit/Core/Object_rules.swift +66 -0
  973. package/kit-apple/Sources/NativeScriptKit/Core/Object_rules_.swift +78 -0
  974. package/kit-apple/Sources/NativeScriptKit/Core/Object_safeArea_fullscreen_inWindow.swift +107 -0
  975. package/kit-apple/Sources/NativeScriptKit/Core/Object_scale_translate_rotate.swift +100 -0
  976. package/kit-apple/Sources/NativeScriptKit/Core/Object_scale_tx_ty.swift +86 -0
  977. package/kit-apple/Sources/NativeScriptKit/Core/Object_sceneWillConnect_sceneDidActivate_sceneWillResignActive_sceneWillEnterForeground_sceneDidEnterBackground_sceneDidDisconnect_and_1_more_1be9d4.swift +159 -0
  978. package/kit-apple/Sources/NativeScriptKit/Core/Object_scene_uiWindow.swift +80 -0
  979. package/kit-apple/Sources/NativeScriptKit/Core/Object_shape_rule.swift +80 -0
  980. package/kit-apple/Sources/NativeScriptKit/Core/Object_sharedElements_presented_presenting.swift +115 -0
  981. package/kit-apple/Sources/NativeScriptKit/Core/Object_sharedTransitionTag_zIndex.swift +100 -0
  982. package/kit-apple/Sources/NativeScriptKit/Core/Object_showing.swift +64 -0
  983. package/kit-apple/Sources/NativeScriptKit/Core/Object_snap_endFrame_endCornerRadius_srcSharedView.swift +112 -0
  984. package/kit-apple/Sources/NativeScriptKit/Core/Object_sourceProperty_expression_twoWay_source_defaultProperty.swift +120 -0
  985. package/kit-apple/Sources/NativeScriptKit/Core/Object_sourceProperty_targetProperty_expression.swift +111 -0
  986. package/kit-apple/Sources/NativeScriptKit/Core/Object_sourceProperty_targetProperty_expression_twoWay_compiled.swift +145 -0
  987. package/kit-apple/Sources/NativeScriptKit/Core/Object_spans.swift +66 -0
  988. package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value.swift +86 -0
  989. package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value_.swift +86 -0
  990. package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value__.swift +89 -0
  991. package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value___.swift +100 -0
  992. package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value____.swift +86 -0
  993. package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value_____.swift +88 -0
  994. package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value______.swift +89 -0
  995. package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value_______.swift +89 -0
  996. package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value________.swift +89 -0
  997. package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value_________.swift +89 -0
  998. package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value__________.swift +89 -0
  999. package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value___________.swift +87 -0
  1000. package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value____________.swift +90 -0
  1001. package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value_____________.swift +89 -0
  1002. package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value______________.swift +90 -0
  1003. package/kit-apple/Sources/NativeScriptKit/Core/Object_status_headers.swift +83 -0
  1004. package/kit-apple/Sources/NativeScriptKit/Core/Object_status_statusText.swift +80 -0
  1005. package/kit-apple/Sources/NativeScriptKit/Core/Object_status_statusText_headers_url.swift +110 -0
  1006. package/kit-apple/Sources/NativeScriptKit/Core/Object_targetProperty.swift +66 -0
  1007. package/kit-apple/Sources/NativeScriptKit/Core/Object_targetProperty_sourceProperty.swift +73 -0
  1008. package/kit-apple/Sources/NativeScriptKit/Core/Object_target_backgroundColor_scale_translate_rotate_opacity_width_height_valueSource_duration_curve_forceLayer.swift +264 -0
  1009. package/kit-apple/Sources/NativeScriptKit/Core/Object_target_opacity_backgroundColor_translate_scale_height_width_rotate_duration_delay_iterations_curve.swift +252 -0
  1010. package/kit-apple/Sources/NativeScriptKit/Core/Object_target_property_value_duration_delay_iterations_curve.swift +152 -0
  1011. package/kit-apple/Sources/NativeScriptKit/Core/Object_target_property_value_duration_delay_iterations_curve_.swift +152 -0
  1012. package/kit-apple/Sources/NativeScriptKit/Core/Object_target_property_value_duration_delay_iterations_curve__.swift +153 -0
  1013. package/kit-apple/Sources/NativeScriptKit/Core/Object_target_property_value_duration_delay_iterations_curve___.swift +151 -0
  1014. package/kit-apple/Sources/NativeScriptKit/Core/Object_target_translate_scale_rotate_opacity_duration_curve.swift +165 -0
  1015. package/kit-apple/Sources/NativeScriptKit/Core/Object_tension_friction_mass_delay_velocity_animateOptions_animations_completion.swift +165 -0
  1016. package/kit-apple/Sources/NativeScriptKit/Core/Object_tension_friction_mass_velocity.swift +101 -0
  1017. package/kit-apple/Sources/NativeScriptKit/Core/Object_tension_friction_mass_velocity_delay.swift +118 -0
  1018. package/kit-apple/Sources/NativeScriptKit/Core/Object_tension_friction_mass_velocity_delay_animations_completion.swift +142 -0
  1019. package/kit-apple/Sources/NativeScriptKit/Core/Object_textColor_tintColor.swift +72 -0
  1020. package/kit-apple/Sources/NativeScriptKit/Core/Object_text_iosFont_color_backgroundColor_textDecoration_baselineOffset_index.swift +144 -0
  1021. package/kit-apple/Sources/NativeScriptKit/Core/Object_title_cancelButtonText.swift +94 -0
  1022. package/kit-apple/Sources/NativeScriptKit/Core/Object_title_okButtonText_cancelButtonText.swift +96 -0
  1023. package/kit-apple/Sources/NativeScriptKit/Core/Object_title_okButtonText_cancelButtonText_inputType.swift +112 -0
  1024. package/kit-apple/Sources/NativeScriptKit/Core/Object_title_okButtonText_cancelButtonText_message.swift +112 -0
  1025. package/kit-apple/Sources/NativeScriptKit/Core/Object_title_okButtonText_message.swift +95 -0
  1026. package/kit-apple/Sources/NativeScriptKit/Core/Object_title_section.swift +80 -0
  1027. package/kit-apple/Sources/NativeScriptKit/Core/Object_toArrayBuffer_toString_toJSON_toImage_toFile.swift +142 -0
  1028. package/kit-apple/Sources/NativeScriptKit/Core/Object_toString_charAt_charCodeAt_concat_indexOf_lastIndexOf_and_44_more_fc25df.swift +481 -0
  1029. package/kit-apple/Sources/NativeScriptKit/Core/Object_topLeft_topRight_bottomLeft_bottomRight.swift +110 -0
  1030. package/kit-apple/Sources/NativeScriptKit/Core/Object_top_bottom.swift +80 -0
  1031. package/kit-apple/Sources/NativeScriptKit/Core/Object_top_left_bottom_right.swift +109 -0
  1032. package/kit-apple/Sources/NativeScriptKit/Core/Object_top_right_bottom_left.swift +122 -0
  1033. package/kit-apple/Sources/NativeScriptKit/Core/Object_top_right_bottom_left_.swift +109 -0
  1034. package/kit-apple/Sources/NativeScriptKit/Core/Object_totalTime_count_currentStart_runCount.swift +110 -0
  1035. package/kit-apple/Sources/NativeScriptKit/Core/Object_touches_event.swift +80 -0
  1036. package/kit-apple/Sources/NativeScriptKit/Core/Object_transitionContext.swift +66 -0
  1037. package/kit-apple/Sources/NativeScriptKit/Core/Object_translateX_translateY_scaleX_scaleY_rotate_opacity.swift +118 -0
  1038. package/kit-apple/Sources/NativeScriptKit/Core/Object_translateX_translateY_scaleX_scaleY_rotate_opacity_duration_curve.swift +151 -0
  1039. package/kit-apple/Sources/NativeScriptKit/Core/Object_translate_rotate_scale.swift +102 -0
  1040. package/kit-apple/Sources/NativeScriptKit/Core/Object_type.swift +64 -0
  1041. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_name_action_value_namespace_ignoreCase.swift +152 -0
  1042. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_name_action_value_namespace_ignoreCase_.swift +133 -0
  1043. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_name_data.swift +78 -0
  1044. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_name_data_.swift +92 -0
  1045. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_name_namespace.swift +102 -0
  1046. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_name_prelude_block.swift +120 -0
  1047. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_name_text.swift +104 -0
  1048. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_name_text_components.swift +113 -0
  1049. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_namespace.swift +94 -0
  1050. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_path.swift +72 -0
  1051. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_prelude_block.swift +111 -0
  1052. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_property_value.swift +94 -0
  1053. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_quote_string_value.swift +101 -0
  1054. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_selectors_declarations.swift +96 -0
  1055. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_start_end.swift +94 -0
  1056. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_start_end_left_right.swift +127 -0
  1057. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_start_end_name.swift +118 -0
  1058. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_string.swift +80 -0
  1059. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_string_unit_value.swift +101 -0
  1060. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_stylesheet.swift +83 -0
  1061. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_text.swift +72 -0
  1062. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_text_.swift +97 -0
  1063. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_text__.swift +86 -0
  1064. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_text_associatedToken_values.swift +125 -0
  1065. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_view_ios_android_direction_object_eventName.swift +159 -0
  1066. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_view_ios_android_eventName_object_getPointerCount_getX_getY.swift +187 -0
  1067. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_view_ios_android_object_eventName.swift +152 -0
  1068. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_view_ios_android_object_eventName_state.swift +167 -0
  1069. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_view_ios_android_rotation_object_eventName_state.swift +182 -0
  1070. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_view_ios_android_scale_getFocusX_getFocusY_object_eventName_state.swift +194 -0
  1071. package/kit-apple/Sources/NativeScriptKit/Core/Object_type_view_ios_android_startX_startY_deltaX_deltaY_object_eventName_state.swift +201 -0
  1072. package/kit-apple/Sources/NativeScriptKit/Core/Object_uri_message_time.swift +108 -0
  1073. package/kit-apple/Sources/NativeScriptKit/Core/Object_url_method.swift +80 -0
  1074. package/kit-apple/Sources/NativeScriptKit/Core/Object_url_source.swift +95 -0
  1075. package/kit-apple/Sources/NativeScriptKit/Core/Object_url_source_.swift +94 -0
  1076. package/kit-apple/Sources/NativeScriptKit/Core/Object_url_status_statusText_headers_mimeType_fromDiskCache_timing_headersSize.swift +201 -0
  1077. package/kit-apple/Sources/NativeScriptKit/Core/Object_value_unit.swift +80 -0
  1078. package/kit-apple/Sources/NativeScriptKit/Core/Object_value_unit_.swift +94 -0
  1079. package/kit-apple/Sources/NativeScriptKit/Core/Object_view_index.swift +95 -0
  1080. package/kit-apple/Sources/NativeScriptKit/Core/Object_view_index_.swift +94 -0
  1081. package/kit-apple/Sources/NativeScriptKit/Core/Object_view_isPresented_startFrame_snapshot_endFrame_startTransform_and_5_more_20e753.swift +234 -0
  1082. package/kit-apple/Sources/NativeScriptKit/Core/Object_view_options.swift +94 -0
  1083. package/kit-apple/Sources/NativeScriptKit/Core/Object_view_options_.swift +94 -0
  1084. package/kit-apple/Sources/NativeScriptKit/Core/Object_view_startFrame_endFrame_snapshot_startOpacity_endOpacity_propertiesToMatch_zIndex.swift +186 -0
  1085. package/kit-apple/Sources/NativeScriptKit/Core/Object_view_startFrame_endFrame_startOpacity_endOpacity_propertiesToMatch_imageSourceChangeListener.swift +181 -0
  1086. package/kit-apple/Sources/NativeScriptKit/Core/Object_view_type_animation.swift +86 -0
  1087. package/kit-apple/Sources/NativeScriptKit/Core/Object_width_color.swift +86 -0
  1088. package/kit-apple/Sources/NativeScriptKit/Core/Object_width_height.swift +80 -0
  1089. package/kit-apple/Sources/NativeScriptKit/Core/Object_width_height_.swift +95 -0
  1090. package/kit-apple/Sources/NativeScriptKit/Core/Object_width_height_os_deviceType.swift +109 -0
  1091. package/kit-apple/Sources/NativeScriptKit/Core/Object_windowOpen_windowClose_primaryWindowChanged.swift +96 -0
  1092. package/kit-apple/Sources/NativeScriptKit/Core/Object_window_isPrimary.swift +80 -0
  1093. package/kit-apple/Sources/NativeScriptKit/Core/Object_window_isPrimary_data_ios.swift +118 -0
  1094. package/kit-apple/Sources/NativeScriptKit/Core/Object_xRadius_yRadius_maxRadius.swift +87 -0
  1095. package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y.swift +85 -0
  1096. package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y_.swift +72 -0
  1097. package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y__.swift +86 -0
  1098. package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y___.swift +72 -0
  1099. package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y____.swift +86 -0
  1100. package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y_____.swift +77 -0
  1101. package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y______.swift +74 -0
  1102. package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y_______.swift +89 -0
  1103. package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y________.swift +88 -0
  1104. package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y_________.swift +77 -0
  1105. package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y_width_height.swift +101 -0
  1106. package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y_z.swift +94 -0
  1107. package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y_z_.swift +78 -0
  1108. package/kit-apple/Sources/NativeScriptKit/Core/Object_xmlns.swift +64 -0
  1109. package/kit-apple/Sources/NativeScriptKit/Core/Object_xs_ys_xt_yt_rx_ry_rz.swift +106 -0
  1110. package/kit-apple/Sources/NativeScriptKit/Core/__Export.AndroidApplication.swift +18 -0
  1111. package/kit-apple/Sources/NativeScriptKit/Core/__Export.AndroidHelper.swift +18 -0
  1112. package/kit-apple/Sources/NativeScriptKit/Core/__Export.AnimationCurve.swift +18 -0
  1113. package/kit-apple/Sources/NativeScriptKit/Core/__Export.Application.swift +18 -0
  1114. package/kit-apple/Sources/NativeScriptKit/Core/__Export.CSSHelper.swift +20 -0
  1115. package/kit-apple/Sources/NativeScriptKit/Core/__Export.CSSType.swift +20 -0
  1116. package/kit-apple/Sources/NativeScriptKit/Core/__Export.Device.swift +18 -0
  1117. package/kit-apple/Sources/NativeScriptKit/Core/__Export.Dialogs.swift +18 -0
  1118. package/kit-apple/Sources/NativeScriptKit/Core/__Export.Enums.swift +20 -0
  1119. package/kit-apple/Sources/NativeScriptKit/Core/__Export.NativeWindowEvents.swift +20 -0
  1120. package/kit-apple/Sources/NativeScriptKit/Core/__Export.PseudoClassHandler.swift +20 -0
  1121. package/kit-apple/Sources/NativeScriptKit/Core/__Export.SceneEvents.swift +20 -0
  1122. package/kit-apple/Sources/NativeScriptKit/Core/__Export.WindowEvents.swift +20 -0
  1123. package/kit-apple/Sources/NativeScriptKit/Core/__Export._resetRootView.swift +18 -0
  1124. package/kit-apple/Sources/NativeScriptKit/Core/__Export._resolveAnimationCurve.swift +20 -0
  1125. package/kit-apple/Sources/NativeScriptKit/Core/__Export._setResolver.swift +20 -0
  1126. package/kit-apple/Sources/NativeScriptKit/Core/__Export._updateCharactersInRangeReplacementString.swift +23 -0
  1127. package/kit-apple/Sources/NativeScriptKit/Core/__Export.action.swift +20 -0
  1128. package/kit-apple/Sources/NativeScriptKit/Core/__Export.addCss.swift +18 -0
  1129. package/kit-apple/Sources/NativeScriptKit/Core/__Export.addTaggedAdditionalCSS.swift +20 -0
  1130. package/kit-apple/Sources/NativeScriptKit/Core/__Export.addWeakEventListener.swift +22 -0
  1131. package/kit-apple/Sources/NativeScriptKit/Core/__Export.alert.swift +20 -0
  1132. package/kit-apple/Sources/NativeScriptKit/Core/__Export.android.swift +18 -0
  1133. package/kit-apple/Sources/NativeScriptKit/Core/__Export.androidDynamicElevationOffsetProperty.swift +20 -0
  1134. package/kit-apple/Sources/NativeScriptKit/Core/__Export.androidElevationProperty.swift +18 -0
  1135. package/kit-apple/Sources/NativeScriptKit/Core/__Export.animationTimingFunctionConverter.swift +20 -0
  1136. package/kit-apple/Sources/NativeScriptKit/Core/__Export.autocapitalizationTypeProperty.swift +20 -0
  1137. package/kit-apple/Sources/NativeScriptKit/Core/__Export.autocorrectProperty.swift +18 -0
  1138. package/kit-apple/Sources/NativeScriptKit/Core/__Export.backgroundColorProperty.swift +18 -0
  1139. package/kit-apple/Sources/NativeScriptKit/Core/__Export.backgroundEvent.swift +18 -0
  1140. package/kit-apple/Sources/NativeScriptKit/Core/__Export.backgroundImageProperty.swift +18 -0
  1141. package/kit-apple/Sources/NativeScriptKit/Core/__Export.backgroundInternalProperty.swift +18 -0
  1142. package/kit-apple/Sources/NativeScriptKit/Core/__Export.backgroundPositionProperty.swift +18 -0
  1143. package/kit-apple/Sources/NativeScriptKit/Core/__Export.backgroundRepeatProperty.swift +18 -0
  1144. package/kit-apple/Sources/NativeScriptKit/Core/__Export.backgroundSizeProperty.swift +18 -0
  1145. package/kit-apple/Sources/NativeScriptKit/Core/__Export.booleanConverter.swift +20 -0
  1146. package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderBottomColorProperty.swift +18 -0
  1147. package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderBottomLeftRadiusProperty.swift +20 -0
  1148. package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderBottomRightRadiusProperty.swift +20 -0
  1149. package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderBottomWidthProperty.swift +18 -0
  1150. package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderLeftColorProperty.swift +18 -0
  1151. package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderLeftWidthProperty.swift +18 -0
  1152. package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderRightColorProperty.swift +18 -0
  1153. package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderRightWidthProperty.swift +18 -0
  1154. package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderTopColorProperty.swift +18 -0
  1155. package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderTopLeftRadiusProperty.swift +18 -0
  1156. package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderTopRightRadiusProperty.swift +18 -0
  1157. package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderTopWidthProperty.swift +18 -0
  1158. package/kit-apple/Sources/NativeScriptKit/Core/__Export.clipPathProperty.swift +18 -0
  1159. package/kit-apple/Sources/NativeScriptKit/Core/__Export.colorProperty.swift +18 -0
  1160. package/kit-apple/Sources/NativeScriptKit/Core/__Export.columnGapProperty.swift +18 -0
  1161. package/kit-apple/Sources/NativeScriptKit/Core/__Export.confirm.swift +20 -0
  1162. package/kit-apple/Sources/NativeScriptKit/Core/__Export.cornerShapeProperty.swift +18 -0
  1163. package/kit-apple/Sources/NativeScriptKit/Core/__Export.directionProperty.swift +18 -0
  1164. package/kit-apple/Sources/NativeScriptKit/Core/__Export.discardedErrorEvent.swift +18 -0
  1165. package/kit-apple/Sources/NativeScriptKit/Core/__Export.displayedEvent.swift +18 -0
  1166. package/kit-apple/Sources/NativeScriptKit/Core/__Export.eachDescendant.swift +20 -0
  1167. package/kit-apple/Sources/NativeScriptKit/Core/__Export.editableProperty.swift +18 -0
  1168. package/kit-apple/Sources/NativeScriptKit/Core/__Export.ensureA11yClasses.swift +20 -0
  1169. package/kit-apple/Sources/NativeScriptKit/Core/__Export.exitEvent.swift +18 -0
  1170. package/kit-apple/Sources/NativeScriptKit/Core/__Export.fontFamilyProperty.swift +18 -0
  1171. package/kit-apple/Sources/NativeScriptKit/Core/__Export.fontInternalProperty.swift +18 -0
  1172. package/kit-apple/Sources/NativeScriptKit/Core/__Export.fontScaleChangedEvent.swift +18 -0
  1173. package/kit-apple/Sources/NativeScriptKit/Core/__Export.fontScaleInternalProperty.swift +20 -0
  1174. package/kit-apple/Sources/NativeScriptKit/Core/__Export.fontSizeProperty.swift +18 -0
  1175. package/kit-apple/Sources/NativeScriptKit/Core/__Export.fontStyleProperty.swift +18 -0
  1176. package/kit-apple/Sources/NativeScriptKit/Core/__Export.fontVariationSettingsProperty.swift +20 -0
  1177. package/kit-apple/Sources/NativeScriptKit/Core/__Export.fontWeightProperty.swift +18 -0
  1178. package/kit-apple/Sources/NativeScriptKit/Core/__Export.foregroundEvent.swift +18 -0
  1179. package/kit-apple/Sources/NativeScriptKit/Core/__Export.fromObject.swift +20 -0
  1180. package/kit-apple/Sources/NativeScriptKit/Core/__Export.fromObjectRecursive.swift +20 -0
  1181. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getAncestor.swift +20 -0
  1182. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getAndroidAccessibilityManager.swift +20 -0
  1183. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getCssFileName.swift +18 -0
  1184. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getCurrentFontScale.swift +20 -0
  1185. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getCurrentPage.swift +20 -0
  1186. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getFileAccess.swift +20 -0
  1187. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getMainEntry.swift +18 -0
  1188. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getNativeApp.swift +20 -0
  1189. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getNativeApplication.swift +18 -0
  1190. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getResources.swift +18 -0
  1191. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getRootLayout.swift +20 -0
  1192. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getRootLayoutById.swift +20 -0
  1193. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getRootView.swift +18 -0
  1194. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getTransformedText.swift +20 -0
  1195. package/kit-apple/Sources/NativeScriptKit/Core/__Export.getViewById.swift +20 -0
  1196. package/kit-apple/Sources/NativeScriptKit/Core/__Export.hasLaunched.swift +18 -0
  1197. package/kit-apple/Sources/NativeScriptKit/Core/__Export.hasListeners.swift +18 -0
  1198. package/kit-apple/Sources/NativeScriptKit/Core/__Export.heightProperty.swift +18 -0
  1199. package/kit-apple/Sources/NativeScriptKit/Core/__Export.hintProperty.swift +18 -0
  1200. package/kit-apple/Sources/NativeScriptKit/Core/__Export.horizontalAlignmentProperty.swift +18 -0
  1201. package/kit-apple/Sources/NativeScriptKit/Core/__Export.inBackground.swift +18 -0
  1202. package/kit-apple/Sources/NativeScriptKit/Core/__Export.initAccessibilityCssHelper.swift +20 -0
  1203. package/kit-apple/Sources/NativeScriptKit/Core/__Export.isAccessibilityServiceEnabled.swift +20 -0
  1204. package/kit-apple/Sources/NativeScriptKit/Core/__Export.isAndroid.swift +18 -0
  1205. package/kit-apple/Sources/NativeScriptKit/Core/__Export.isApple.swift +18 -0
  1206. package/kit-apple/Sources/NativeScriptKit/Core/__Export.isEmbedded.swift +20 -0
  1207. package/kit-apple/Sources/NativeScriptKit/Core/__Export.isIOS.swift +18 -0
  1208. package/kit-apple/Sources/NativeScriptKit/Core/__Export.isUserInteractionEnabledProperty.swift +20 -0
  1209. package/kit-apple/Sources/NativeScriptKit/Core/__Export.isVisionOS.swift +18 -0
  1210. package/kit-apple/Sources/NativeScriptKit/Core/__Export.keyboardTypeProperty.swift +18 -0
  1211. package/kit-apple/Sources/NativeScriptKit/Core/__Export.launchEvent.swift +18 -0
  1212. package/kit-apple/Sources/NativeScriptKit/Core/__Export.layoutDirection.swift +18 -0
  1213. package/kit-apple/Sources/NativeScriptKit/Core/__Export.layoutDirectionChanged.swift +18 -0
  1214. package/kit-apple/Sources/NativeScriptKit/Core/__Export.layoutDirectionChangedEvent.swift +18 -0
  1215. package/kit-apple/Sources/NativeScriptKit/Core/__Export.letterSpacingProperty.swift +18 -0
  1216. package/kit-apple/Sources/NativeScriptKit/Core/__Export.lineHeightProperty.swift +18 -0
  1217. package/kit-apple/Sources/NativeScriptKit/Core/__Export.loadAppCss.swift +18 -0
  1218. package/kit-apple/Sources/NativeScriptKit/Core/__Export.login.swift +20 -0
  1219. package/kit-apple/Sources/NativeScriptKit/Core/__Export.lowMemoryEvent.swift +18 -0
  1220. package/kit-apple/Sources/NativeScriptKit/Core/__Export.makeParser.swift +22 -0
  1221. package/kit-apple/Sources/NativeScriptKit/Core/__Export.makeValidator.swift +20 -0
  1222. package/kit-apple/Sources/NativeScriptKit/Core/__Export.marginBottomProperty.swift +18 -0
  1223. package/kit-apple/Sources/NativeScriptKit/Core/__Export.marginLeftProperty.swift +18 -0
  1224. package/kit-apple/Sources/NativeScriptKit/Core/__Export.marginRightProperty.swift +18 -0
  1225. package/kit-apple/Sources/NativeScriptKit/Core/__Export.marginTopProperty.swift +18 -0
  1226. package/kit-apple/Sources/NativeScriptKit/Core/__Export.maxHeightProperty.swift +18 -0
  1227. package/kit-apple/Sources/NativeScriptKit/Core/__Export.maxLengthProperty.swift +18 -0
  1228. package/kit-apple/Sources/NativeScriptKit/Core/__Export.maxWidthProperty.swift +18 -0
  1229. package/kit-apple/Sources/NativeScriptKit/Core/__Export.minHeightProperty.swift +18 -0
  1230. package/kit-apple/Sources/NativeScriptKit/Core/__Export.minWidthProperty.swift +18 -0
  1231. package/kit-apple/Sources/NativeScriptKit/Core/__Export.notify.swift +18 -0
  1232. package/kit-apple/Sources/NativeScriptKit/Core/__Export.off.swift +18 -0
  1233. package/kit-apple/Sources/NativeScriptKit/Core/__Export.on.swift +18 -0
  1234. package/kit-apple/Sources/NativeScriptKit/Core/__Export.opacityProperty.swift +18 -0
  1235. package/kit-apple/Sources/NativeScriptKit/Core/__Export.orientation.swift +18 -0
  1236. package/kit-apple/Sources/NativeScriptKit/Core/__Export.orientationChangedEvent.swift +18 -0
  1237. package/kit-apple/Sources/NativeScriptKit/Core/__Export.paddingBottomProperty.swift +18 -0
  1238. package/kit-apple/Sources/NativeScriptKit/Core/__Export.paddingInternalProperty.swift +18 -0
  1239. package/kit-apple/Sources/NativeScriptKit/Core/__Export.paddingLeftProperty.swift +18 -0
  1240. package/kit-apple/Sources/NativeScriptKit/Core/__Export.paddingRightProperty.swift +18 -0
  1241. package/kit-apple/Sources/NativeScriptKit/Core/__Export.paddingTopProperty.swift +18 -0
  1242. package/kit-apple/Sources/NativeScriptKit/Core/__Export.parseCSSShadow.swift +20 -0
  1243. package/kit-apple/Sources/NativeScriptKit/Core/__Export.parseCSSStroke.swift +20 -0
  1244. package/kit-apple/Sources/NativeScriptKit/Core/__Export.parseKeyframeDeclarations.swift +22 -0
  1245. package/kit-apple/Sources/NativeScriptKit/Core/__Export.perspectiveProperty.swift +18 -0
  1246. package/kit-apple/Sources/NativeScriptKit/Core/__Export.placeholderColorProperty.swift +20 -0
  1247. package/kit-apple/Sources/NativeScriptKit/Core/__Export.platformNames.swift +18 -0
  1248. package/kit-apple/Sources/NativeScriptKit/Core/__Export.profile.swift +22 -0
  1249. package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingDisable.swift +20 -0
  1250. package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingDumpProfiles.swift +20 -0
  1251. package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingEnable.swift +20 -0
  1252. package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingIsRunning.swift +20 -0
  1253. package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingResetProfiles.swift +20 -0
  1254. package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingStart.swift +20 -0
  1255. package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingStartCPU.swift +20 -0
  1256. package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingStop.swift +20 -0
  1257. package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingStopCPU.swift +20 -0
  1258. package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingUptime.swift +20 -0
  1259. package/kit-apple/Sources/NativeScriptKit/Core/__Export.prompt.swift +20 -0
  1260. package/kit-apple/Sources/NativeScriptKit/Core/__Export.querySelectorAll.swift +20 -0
  1261. package/kit-apple/Sources/NativeScriptKit/Core/__Export.removeTaggedAdditionalCSS.swift +20 -0
  1262. package/kit-apple/Sources/NativeScriptKit/Core/__Export.removeWeakEventListener.swift +22 -0
  1263. package/kit-apple/Sources/NativeScriptKit/Core/__Export.resetRootView.swift +18 -0
  1264. package/kit-apple/Sources/NativeScriptKit/Core/__Export.resolveFileNameFromUrl.swift +23 -0
  1265. package/kit-apple/Sources/NativeScriptKit/Core/__Export.resumeEvent.swift +18 -0
  1266. package/kit-apple/Sources/NativeScriptKit/Core/__Export.returnKeyTypeProperty.swift +20 -0
  1267. package/kit-apple/Sources/NativeScriptKit/Core/__Export.rotateProperty.swift +18 -0
  1268. package/kit-apple/Sources/NativeScriptKit/Core/__Export.rotateXProperty.swift +18 -0
  1269. package/kit-apple/Sources/NativeScriptKit/Core/__Export.rotateYProperty.swift +18 -0
  1270. package/kit-apple/Sources/NativeScriptKit/Core/__Export.rowGapProperty.swift +18 -0
  1271. package/kit-apple/Sources/NativeScriptKit/Core/__Export.run.swift +18 -0
  1272. package/kit-apple/Sources/NativeScriptKit/Core/__Export.sanitizeModuleName.swift +20 -0
  1273. package/kit-apple/Sources/NativeScriptKit/Core/__Export.scaleXProperty.swift +18 -0
  1274. package/kit-apple/Sources/NativeScriptKit/Core/__Export.scaleYProperty.swift +18 -0
  1275. package/kit-apple/Sources/NativeScriptKit/Core/__Export.sendAccessibilityEvent.swift +18 -0
  1276. package/kit-apple/Sources/NativeScriptKit/Core/__Export.setActivityCallbacks.swift +20 -0
  1277. package/kit-apple/Sources/NativeScriptKit/Core/__Export.setAutoSystemAppearanceChanged.swift +18 -0
  1278. package/kit-apple/Sources/NativeScriptKit/Core/__Export.setCssFileName.swift +18 -0
  1279. package/kit-apple/Sources/NativeScriptKit/Core/__Export.setMaxRefreshRate.swift +18 -0
  1280. package/kit-apple/Sources/NativeScriptKit/Core/__Export.setNativeApp.swift +20 -0
  1281. package/kit-apple/Sources/NativeScriptKit/Core/__Export.setResources.swift +18 -0
  1282. package/kit-apple/Sources/NativeScriptKit/Core/__Export.suspendEvent.swift +18 -0
  1283. package/kit-apple/Sources/NativeScriptKit/Core/__Export.suspended.swift +18 -0
  1284. package/kit-apple/Sources/NativeScriptKit/Core/__Export.systemAppearance.swift +18 -0
  1285. package/kit-apple/Sources/NativeScriptKit/Core/__Export.systemAppearanceChanged.swift +18 -0
  1286. package/kit-apple/Sources/NativeScriptKit/Core/__Export.systemAppearanceChangedEvent.swift +18 -0
  1287. package/kit-apple/Sources/NativeScriptKit/Core/__Export.textAlignmentProperty.swift +18 -0
  1288. package/kit-apple/Sources/NativeScriptKit/Core/__Export.textDecorationProperty.swift +18 -0
  1289. package/kit-apple/Sources/NativeScriptKit/Core/__Export.textOverflowProperty.swift +18 -0
  1290. package/kit-apple/Sources/NativeScriptKit/Core/__Export.textShadowProperty.swift +18 -0
  1291. package/kit-apple/Sources/NativeScriptKit/Core/__Export.textStrokeProperty.swift +18 -0
  1292. package/kit-apple/Sources/NativeScriptKit/Core/__Export.textTransformProperty.swift +18 -0
  1293. package/kit-apple/Sources/NativeScriptKit/Core/__Export.timeConverter.swift +20 -0
  1294. package/kit-apple/Sources/NativeScriptKit/Core/__Export.translateXProperty.swift +18 -0
  1295. package/kit-apple/Sources/NativeScriptKit/Core/__Export.translateYProperty.swift +18 -0
  1296. package/kit-apple/Sources/NativeScriptKit/Core/__Export.uncaughtErrorEvent.swift +18 -0
  1297. package/kit-apple/Sources/NativeScriptKit/Core/__Export.unsetValue.swift +18 -0
  1298. package/kit-apple/Sources/NativeScriptKit/Core/__Export.updateAccessibilityProperties.swift +20 -0
  1299. package/kit-apple/Sources/NativeScriptKit/Core/__Export.updateCurrentHelperClasses.swift +21 -0
  1300. package/kit-apple/Sources/NativeScriptKit/Core/__Export.updateTextTriggerProperty.swift +20 -0
  1301. package/kit-apple/Sources/NativeScriptKit/Core/__Export.verticalAlignmentProperty.swift +18 -0
  1302. package/kit-apple/Sources/NativeScriptKit/Core/__Export.visibilityProperty.swift +18 -0
  1303. package/kit-apple/Sources/NativeScriptKit/Core/__Export.whiteSpaceProperty.swift +18 -0
  1304. package/kit-apple/Sources/NativeScriptKit/Core/__Export.widthProperty.swift +18 -0
  1305. package/kit-apple/Sources/NativeScriptKit/Core/__Export.zIndexProperty.swift +18 -0
  1306. package/kit-apple/Sources/NativeScriptKit/Core/__Modules.swift +17 -0
  1307. package/kit-apple/Sources/NativeScriptKit/Core/__Namespace.Http.swift +23 -0
  1308. package/kit-apple/Sources/NativeScriptKit/Core/__Namespace.Utils.swift +201 -0
  1309. package/kit-apple/Sources/NativeScriptKit/Core/abortcontroller.abortsignal.swift +109 -0
  1310. package/kit-apple/Sources/NativeScriptKit/Core/abortcontroller.index.swift +118 -0
  1311. package/kit-apple/Sources/NativeScriptKit/Core/accessibility.accessibility-common.swift +572 -0
  1312. package/kit-apple/Sources/NativeScriptKit/Core/accessibility.accessibility-properties.swift +258 -0
  1313. package/kit-apple/Sources/NativeScriptKit/Core/accessibility.index.swift +16 -0
  1314. package/kit-apple/Sources/NativeScriptKit/Core/application-settings.application-settings-common.swift +36 -0
  1315. package/kit-apple/Sources/NativeScriptKit/Core/application-settings.index.ios.swift +157 -0
  1316. package/kit-apple/Sources/NativeScriptKit/Core/application.application-common.swift +2095 -0
  1317. package/kit-apple/Sources/NativeScriptKit/Core/application.application-interfaces.swift +16 -0
  1318. package/kit-apple/Sources/NativeScriptKit/Core/application.application-shims.swift +212 -0
  1319. package/kit-apple/Sources/NativeScriptKit/Core/application.application.ios.swift +3854 -0
  1320. package/kit-apple/Sources/NativeScriptKit/Core/application.helpers-common.swift +224 -0
  1321. package/kit-apple/Sources/NativeScriptKit/Core/application.helpers.ios.swift +57 -0
  1322. package/kit-apple/Sources/NativeScriptKit/Core/application.index.ios.swift +16 -0
  1323. package/kit-apple/Sources/NativeScriptKit/Core/application.scene-delegate-bridge.swift +234 -0
  1324. package/kit-apple/Sources/NativeScriptKit/Core/color.color-common.swift +756 -0
  1325. package/kit-apple/Sources/NativeScriptKit/Core/color.color-types.swift +16 -0
  1326. package/kit-apple/Sources/NativeScriptKit/Core/color.color-utils.swift +388 -0
  1327. package/kit-apple/Sources/NativeScriptKit/Core/color.index.ios.swift +100 -0
  1328. package/kit-apple/Sources/NativeScriptKit/Core/color.known-colors.swift +520 -0
  1329. package/kit-apple/Sources/NativeScriptKit/Core/connectivity.index.ios.swift +190 -0
  1330. package/kit-apple/Sources/NativeScriptKit/Core/core-types.animation-types.swift +87 -0
  1331. package/kit-apple/Sources/NativeScriptKit/Core/core-types.index.swift +361 -0
  1332. package/kit-apple/Sources/NativeScriptKit/Core/core-types.validators.swift +62 -0
  1333. package/kit-apple/Sources/NativeScriptKit/Core/css-mediaquery.index.swift +220 -0
  1334. package/kit-apple/Sources/NativeScriptKit/Core/css-value.reworkcss-value.swift +280 -0
  1335. package/kit-apple/Sources/NativeScriptKit/Core/css.CSS3Parser.swift +1012 -0
  1336. package/kit-apple/Sources/NativeScriptKit/Core/css.CSSNativeScript.swift +264 -0
  1337. package/kit-apple/Sources/NativeScriptKit/Core/css.parser.swift +971 -0
  1338. package/kit-apple/Sources/NativeScriptKit/Core/css.system-classes.swift +120 -0
  1339. package/kit-apple/Sources/NativeScriptKit/Core/data.observable-array.index.swift +700 -0
  1340. package/kit-apple/Sources/NativeScriptKit/Core/data.observable.index.swift +1166 -0
  1341. package/kit-apple/Sources/NativeScriptKit/Core/data.virtual-array.index.swift +326 -0
  1342. package/kit-apple/Sources/NativeScriptKit/Core/fetch.index.swift +1201 -0
  1343. package/kit-apple/Sources/NativeScriptKit/Core/file-system.file-system-access.ios.swift +1450 -0
  1344. package/kit-apple/Sources/NativeScriptKit/Core/file-system.index.swift +1756 -0
  1345. package/kit-apple/Sources/NativeScriptKit/Core/fps-meter.fps-native.ios.swift +227 -0
  1346. package/kit-apple/Sources/NativeScriptKit/Core/fps-meter.index.swift +141 -0
  1347. package/kit-apple/Sources/NativeScriptKit/Core/globals.global-utils.swift +252 -0
  1348. package/kit-apple/Sources/NativeScriptKit/Core/http.http-interfaces.swift +24 -0
  1349. package/kit-apple/Sources/NativeScriptKit/Core/http.http-request-internal.http-request-internal-common.swift +59 -0
  1350. package/kit-apple/Sources/NativeScriptKit/Core/http.http-request-internal.index.ios.swift +413 -0
  1351. package/kit-apple/Sources/NativeScriptKit/Core/http.http-request.http-request-common.swift +57 -0
  1352. package/kit-apple/Sources/NativeScriptKit/Core/http.http-request.index.ios.swift +101 -0
  1353. package/kit-apple/Sources/NativeScriptKit/Core/http.index.swift +175 -0
  1354. package/kit-apple/Sources/NativeScriptKit/Core/image-asset.image-asset-common.swift +285 -0
  1355. package/kit-apple/Sources/NativeScriptKit/Core/image-asset.index.ios.swift +205 -0
  1356. package/kit-apple/Sources/NativeScriptKit/Core/image-source.image-source-common.swift +40 -0
  1357. package/kit-apple/Sources/NativeScriptKit/Core/image-source.index.ios.swift +1130 -0
  1358. package/kit-apple/Sources/NativeScriptKit/Core/js-libs.easysax.easysax.swift +1388 -0
  1359. package/kit-apple/Sources/NativeScriptKit/Core/kit-index.json +30789 -0
  1360. package/kit-apple/Sources/NativeScriptKit/Core/manifest.json +3383 -0
  1361. package/kit-apple/Sources/NativeScriptKit/Core/matrix.index.swift +151 -0
  1362. package/kit-apple/Sources/NativeScriptKit/Core/media-query-list.index.swift +468 -0
  1363. package/kit-apple/Sources/NativeScriptKit/Core/module-name-resolver.helpers.swift +57 -0
  1364. package/kit-apple/Sources/NativeScriptKit/Core/module-name-resolver.index.swift +220 -0
  1365. package/kit-apple/Sources/NativeScriptKit/Core/module-name-resolver.non-bundle-workflow-compat.swift +262 -0
  1366. package/kit-apple/Sources/NativeScriptKit/Core/module-name-resolver.qualifier-matcher.index.swift +330 -0
  1367. package/kit-apple/Sources/NativeScriptKit/Core/native-window.index.swift +16 -0
  1368. package/kit-apple/Sources/NativeScriptKit/Core/native-window.native-window-common.swift +730 -0
  1369. package/kit-apple/Sources/NativeScriptKit/Core/native-window.native-window-interfaces.swift +46 -0
  1370. package/kit-apple/Sources/NativeScriptKit/Core/native-window.native-window.ios.swift +521 -0
  1371. package/kit-apple/Sources/NativeScriptKit/Core/native-window.window-base.swift +298 -0
  1372. package/kit-apple/Sources/NativeScriptKit/Core/npm.css-what.src.index.swift +16 -0
  1373. package/kit-apple/Sources/NativeScriptKit/Core/npm.css-what.src.parse.swift +668 -0
  1374. package/kit-apple/Sources/NativeScriptKit/Core/npm.css-what.src.stringify.swift +221 -0
  1375. package/kit-apple/Sources/NativeScriptKit/Core/npm.css-what.src.types.swift +62 -0
  1376. package/kit-apple/Sources/NativeScriptKit/Core/platform.common.swift +25 -0
  1377. package/kit-apple/Sources/NativeScriptKit/Core/platform.device.index.ios.swift +289 -0
  1378. package/kit-apple/Sources/NativeScriptKit/Core/platform.index.swift +16 -0
  1379. package/kit-apple/Sources/NativeScriptKit/Core/platform.screen.index.ios.swift +217 -0
  1380. package/kit-apple/Sources/NativeScriptKit/Core/profiling.index.swift +528 -0
  1381. package/kit-apple/Sources/NativeScriptKit/Core/text.formatted-string.swift +16 -0
  1382. package/kit-apple/Sources/NativeScriptKit/Core/text.index.ios.swift +25 -0
  1383. package/kit-apple/Sources/NativeScriptKit/Core/text.span.swift +16 -0
  1384. package/kit-apple/Sources/NativeScriptKit/Core/text.text-common.swift +309 -0
  1385. package/kit-apple/Sources/NativeScriptKit/Core/trace.index.swift +513 -0
  1386. package/kit-apple/Sources/NativeScriptKit/Core/ui.action-bar.action-bar-common.swift +1270 -0
  1387. package/kit-apple/Sources/NativeScriptKit/Core/ui.action-bar.index.ios.swift +1480 -0
  1388. package/kit-apple/Sources/NativeScriptKit/Core/ui.activity-indicator.activity-indicator-common.swift +81 -0
  1389. package/kit-apple/Sources/NativeScriptKit/Core/ui.activity-indicator.index.ios.swift +175 -0
  1390. package/kit-apple/Sources/NativeScriptKit/Core/ui.animation.animation-common.swift +581 -0
  1391. package/kit-apple/Sources/NativeScriptKit/Core/ui.animation.animation-shared.swift +16 -0
  1392. package/kit-apple/Sources/NativeScriptKit/Core/ui.animation.animation-types.swift +16 -0
  1393. package/kit-apple/Sources/NativeScriptKit/Core/ui.animation.index.ios.swift +2204 -0
  1394. package/kit-apple/Sources/NativeScriptKit/Core/ui.animation.keyframe-animation.swift +1213 -0
  1395. package/kit-apple/Sources/NativeScriptKit/Core/ui.builder.binding-builder.swift +318 -0
  1396. package/kit-apple/Sources/NativeScriptKit/Core/ui.builder.component-builder.index.swift +387 -0
  1397. package/kit-apple/Sources/NativeScriptKit/Core/ui.builder.index.swift +2026 -0
  1398. package/kit-apple/Sources/NativeScriptKit/Core/ui.button.button-common.swift +75 -0
  1399. package/kit-apple/Sources/NativeScriptKit/Core/ui.button.index.ios.swift +614 -0
  1400. package/kit-apple/Sources/NativeScriptKit/Core/ui.content-view.index.swift +291 -0
  1401. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.bindable.bindable-expressions.swift +770 -0
  1402. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.bindable.bindable-resources.swift +30 -0
  1403. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.bindable.bindable-types.swift +16 -0
  1404. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.bindable.expression-parser.swift +5297 -0
  1405. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.bindable.index.swift +1376 -0
  1406. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.control-state-change.index.ios.swift +197 -0
  1407. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.properties.index.swift +3899 -0
  1408. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.properties.property-shared.swift +53 -0
  1409. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.view-base.index.swift +3522 -0
  1410. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.view-base.utils.swift +32 -0
  1411. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.view.index.ios.swift +3318 -0
  1412. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.view.view-common.swift +4347 -0
  1413. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.view.view-helper.index.ios.swift +1417 -0
  1414. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.view.view-helper.view-helper-common.swift +337 -0
  1415. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.view.view-helper.view-helper-shared.swift +16 -0
  1416. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.view.view-interfaces.swift +272 -0
  1417. package/kit-apple/Sources/NativeScriptKit/Core/ui.core.weak-event-listener.index.swift +323 -0
  1418. package/kit-apple/Sources/NativeScriptKit/Core/ui.date-picker.date-picker-common.swift +335 -0
  1419. package/kit-apple/Sources/NativeScriptKit/Core/ui.date-picker.index.ios.swift +609 -0
  1420. package/kit-apple/Sources/NativeScriptKit/Core/ui.dialogs.dialogs-common.swift +486 -0
  1421. package/kit-apple/Sources/NativeScriptKit/Core/ui.dialogs.index.ios.swift +677 -0
  1422. package/kit-apple/Sources/NativeScriptKit/Core/ui.editable-text-base.editable-text-base-common.swift +378 -0
  1423. package/kit-apple/Sources/NativeScriptKit/Core/ui.editable-text-base.index.ios.swift +512 -0
  1424. package/kit-apple/Sources/NativeScriptKit/Core/ui.embedding.index.ios.swift +25 -0
  1425. package/kit-apple/Sources/NativeScriptKit/Core/ui.enums.enums.swift +16 -0
  1426. package/kit-apple/Sources/NativeScriptKit/Core/ui.enums.index.swift +16 -0
  1427. package/kit-apple/Sources/NativeScriptKit/Core/ui.frame.fragment.ios.swift +26 -0
  1428. package/kit-apple/Sources/NativeScriptKit/Core/ui.frame.fragment.transitions.types.swift +23 -0
  1429. package/kit-apple/Sources/NativeScriptKit/Core/ui.frame.frame-common.swift +1526 -0
  1430. package/kit-apple/Sources/NativeScriptKit/Core/ui.frame.frame-constants.swift +21 -0
  1431. package/kit-apple/Sources/NativeScriptKit/Core/ui.frame.frame-helpers.swift +40 -0
  1432. package/kit-apple/Sources/NativeScriptKit/Core/ui.frame.frame-interfaces.swift +26 -0
  1433. package/kit-apple/Sources/NativeScriptKit/Core/ui.frame.frame-stack.swift +138 -0
  1434. package/kit-apple/Sources/NativeScriptKit/Core/ui.frame.index.ios.swift +1794 -0
  1435. package/kit-apple/Sources/NativeScriptKit/Core/ui.gestures.gestures-common.swift +269 -0
  1436. package/kit-apple/Sources/NativeScriptKit/Core/ui.gestures.gestures-types.swift +77 -0
  1437. package/kit-apple/Sources/NativeScriptKit/Core/ui.gestures.index.ios.swift +1453 -0
  1438. package/kit-apple/Sources/NativeScriptKit/Core/ui.gestures.touch-manager.swift +451 -0
  1439. package/kit-apple/Sources/NativeScriptKit/Core/ui.html-view.html-view-common.swift +106 -0
  1440. package/kit-apple/Sources/NativeScriptKit/Core/ui.html-view.index.ios.swift +301 -0
  1441. package/kit-apple/Sources/NativeScriptKit/Core/ui.image-cache.image-cache-common.swift +479 -0
  1442. package/kit-apple/Sources/NativeScriptKit/Core/ui.image-cache.index.ios.swift +232 -0
  1443. package/kit-apple/Sources/NativeScriptKit/Core/ui.image.image-common.swift +399 -0
  1444. package/kit-apple/Sources/NativeScriptKit/Core/ui.image.index.ios.swift +499 -0
  1445. package/kit-apple/Sources/NativeScriptKit/Core/ui.image.symbol-effects-common.swift +150 -0
  1446. package/kit-apple/Sources/NativeScriptKit/Core/ui.image.symbol-effects.ios.swift +148 -0
  1447. package/kit-apple/Sources/NativeScriptKit/Core/ui.label.index.ios.swift +483 -0
  1448. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.absolute-layout.absolute-layout-common.swift +172 -0
  1449. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.absolute-layout.index.ios.swift +189 -0
  1450. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.dock-layout.dock-layout-common.swift +157 -0
  1451. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.dock-layout.index.ios.swift +264 -0
  1452. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.flexbox-layout.flexbox-layout-common.swift +1028 -0
  1453. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.flexbox-layout.index.ios.swift +3238 -0
  1454. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.grid-layout.grid-layout-common.swift +1014 -0
  1455. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.grid-layout.index.ios.swift +2435 -0
  1456. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.index.swift +16 -0
  1457. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.layout-base-common.swift +591 -0
  1458. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.layout-base.ios.swift +135 -0
  1459. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.liquid-glass-container.index.ios.swift +364 -0
  1460. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.liquid-glass-container.liquid-glass-container-common.swift +49 -0
  1461. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.liquid-glass.index.ios.swift +238 -0
  1462. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.liquid-glass.liquid-glass-common.swift +34 -0
  1463. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.root-layout.index.ios.swift +347 -0
  1464. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.root-layout.root-layout-common.swift +964 -0
  1465. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.root-layout.root-layout-stack.swift +59 -0
  1466. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.stack-layout.index.ios.swift +350 -0
  1467. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.stack-layout.stack-layout-common.swift +72 -0
  1468. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.wrap-layout.index.ios.swift +357 -0
  1469. package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.wrap-layout.wrap-layout-common.swift +188 -0
  1470. package/kit-apple/Sources/NativeScriptKit/Core/ui.list-picker.index.ios.swift +374 -0
  1471. package/kit-apple/Sources/NativeScriptKit/Core/ui.list-picker.list-picker-common.swift +252 -0
  1472. package/kit-apple/Sources/NativeScriptKit/Core/ui.list-view.index.ios.swift +2611 -0
  1473. package/kit-apple/Sources/NativeScriptKit/Core/ui.list-view.list-view-common.swift +950 -0
  1474. package/kit-apple/Sources/NativeScriptKit/Core/ui.page.events.swift +23 -0
  1475. package/kit-apple/Sources/NativeScriptKit/Core/ui.page.index.ios.swift +1340 -0
  1476. package/kit-apple/Sources/NativeScriptKit/Core/ui.page.page-common.swift +520 -0
  1477. package/kit-apple/Sources/NativeScriptKit/Core/ui.placeholder.index.swift +63 -0
  1478. package/kit-apple/Sources/NativeScriptKit/Core/ui.placeholder.placeholder-common.swift +16 -0
  1479. package/kit-apple/Sources/NativeScriptKit/Core/ui.progress.index.ios.swift +173 -0
  1480. package/kit-apple/Sources/NativeScriptKit/Core/ui.progress.progress-common.swift +111 -0
  1481. package/kit-apple/Sources/NativeScriptKit/Core/ui.proxy-view-container.index.swift +497 -0
  1482. package/kit-apple/Sources/NativeScriptKit/Core/ui.repeater.index.swift +535 -0
  1483. package/kit-apple/Sources/NativeScriptKit/Core/ui.scroll-view.index.ios.swift +699 -0
  1484. package/kit-apple/Sources/NativeScriptKit/Core/ui.scroll-view.scroll-view-common.swift +414 -0
  1485. package/kit-apple/Sources/NativeScriptKit/Core/ui.search-bar.index.ios.swift +609 -0
  1486. package/kit-apple/Sources/NativeScriptKit/Core/ui.search-bar.search-bar-common.swift +162 -0
  1487. package/kit-apple/Sources/NativeScriptKit/Core/ui.segmented-bar.index.ios.swift +470 -0
  1488. package/kit-apple/Sources/NativeScriptKit/Core/ui.segmented-bar.segmented-bar-common.swift +448 -0
  1489. package/kit-apple/Sources/NativeScriptKit/Core/ui.slider.index.ios.swift +593 -0
  1490. package/kit-apple/Sources/NativeScriptKit/Core/ui.slider.slider-common.swift +211 -0
  1491. package/kit-apple/Sources/NativeScriptKit/Core/ui.split-view.index.ios.swift +1459 -0
  1492. package/kit-apple/Sources/NativeScriptKit/Core/ui.split-view.split-view-common.swift +410 -0
  1493. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.background-common.swift +809 -0
  1494. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.background.ios.swift +2290 -0
  1495. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.box-shadow.swift +138 -0
  1496. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.clip-path-function.swift +198 -0
  1497. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.converters.swift +105 -0
  1498. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.css-animation-parser.swift +493 -0
  1499. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.css-selector.swift +4016 -0
  1500. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.css-shadow.swift +48 -0
  1501. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.css-stroke.swift +41 -0
  1502. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.css-transform.swift +406 -0
  1503. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.css-utils.swift +297 -0
  1504. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.font-common.swift +477 -0
  1505. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.font-interfaces.swift +16 -0
  1506. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.font.ios.swift +416 -0
  1507. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.length-shared.swift +343 -0
  1508. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.linear-gradient.swift +162 -0
  1509. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.style-properties.swift +2524 -0
  1510. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.style-scope.swift +3330 -0
  1511. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.style.index.swift +905 -0
  1512. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.styling-profile.swift +16 -0
  1513. package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.styling-shared.swift +16 -0
  1514. package/kit-apple/Sources/NativeScriptKit/Core/ui.switch.index.ios.swift +508 -0
  1515. package/kit-apple/Sources/NativeScriptKit/Core/ui.switch.switch-common.swift +143 -0
  1516. package/kit-apple/Sources/NativeScriptKit/Core/ui.tab-view.index.ios.swift +2284 -0
  1517. package/kit-apple/Sources/NativeScriptKit/Core/ui.tab-view.tab-view-common.swift +985 -0
  1518. package/kit-apple/Sources/NativeScriptKit/Core/ui.text-base.formatted-string.swift +801 -0
  1519. package/kit-apple/Sources/NativeScriptKit/Core/ui.text-base.index.ios.swift +1264 -0
  1520. package/kit-apple/Sources/NativeScriptKit/Core/ui.text-base.span.swift +476 -0
  1521. package/kit-apple/Sources/NativeScriptKit/Core/ui.text-base.text-base-common.swift +1046 -0
  1522. package/kit-apple/Sources/NativeScriptKit/Core/ui.text-field.index.ios.swift +912 -0
  1523. package/kit-apple/Sources/NativeScriptKit/Core/ui.text-field.text-field-common.swift +121 -0
  1524. package/kit-apple/Sources/NativeScriptKit/Core/ui.text-view.index.ios.swift +1030 -0
  1525. package/kit-apple/Sources/NativeScriptKit/Core/ui.text-view.text-view-common.swift +138 -0
  1526. package/kit-apple/Sources/NativeScriptKit/Core/ui.time-picker.index.ios.swift +473 -0
  1527. package/kit-apple/Sources/NativeScriptKit/Core/ui.time-picker.time-picker-common.swift +536 -0
  1528. package/kit-apple/Sources/NativeScriptKit/Core/ui.transition.fade-transition.ios.swift +265 -0
  1529. package/kit-apple/Sources/NativeScriptKit/Core/ui.transition.index.ios.swift +159 -0
  1530. package/kit-apple/Sources/NativeScriptKit/Core/ui.transition.modal-transition.ios.swift +635 -0
  1531. package/kit-apple/Sources/NativeScriptKit/Core/ui.transition.page-transition.ios.swift +1167 -0
  1532. package/kit-apple/Sources/NativeScriptKit/Core/ui.transition.shared-transition-helper.ios.swift +3673 -0
  1533. package/kit-apple/Sources/NativeScriptKit/Core/ui.transition.shared-transition.swift +492 -0
  1534. package/kit-apple/Sources/NativeScriptKit/Core/ui.transition.slide-transition.ios.swift +328 -0
  1535. package/kit-apple/Sources/NativeScriptKit/Core/ui.utils.ios.swift +132 -0
  1536. package/kit-apple/Sources/NativeScriptKit/Core/ui.web-view.index.ios.swift +827 -0
  1537. package/kit-apple/Sources/NativeScriptKit/Core/ui.web-view.web-view-common.swift +206 -0
  1538. package/kit-apple/Sources/NativeScriptKit/Core/ui.web-view.web-view-interfaces.swift +16 -0
  1539. package/kit-apple/Sources/NativeScriptKit/Core/utils.animation-helpers.swift +84 -0
  1540. package/kit-apple/Sources/NativeScriptKit/Core/utils.common.swift +278 -0
  1541. package/kit-apple/Sources/NativeScriptKit/Core/utils.constants.ios.swift +33 -0
  1542. package/kit-apple/Sources/NativeScriptKit/Core/utils.debug-source.swift +271 -0
  1543. package/kit-apple/Sources/NativeScriptKit/Core/utils.debug.swift +20 -0
  1544. package/kit-apple/Sources/NativeScriptKit/Core/utils.index.ios.swift +205 -0
  1545. package/kit-apple/Sources/NativeScriptKit/Core/utils.layout-helper.index.ios.swift +131 -0
  1546. package/kit-apple/Sources/NativeScriptKit/Core/utils.layout-helper.layout-helper-common.swift +87 -0
  1547. package/kit-apple/Sources/NativeScriptKit/Core/utils.layout-helper.layout-helper-shared.swift +28 -0
  1548. package/kit-apple/Sources/NativeScriptKit/Core/utils.lazy.swift +39 -0
  1549. package/kit-apple/Sources/NativeScriptKit/Core/utils.macrotask-scheduler.swift +71 -0
  1550. package/kit-apple/Sources/NativeScriptKit/Core/utils.mainthread-helper.ios.swift +52 -0
  1551. package/kit-apple/Sources/NativeScriptKit/Core/utils.module-merge.swift +27 -0
  1552. package/kit-apple/Sources/NativeScriptKit/Core/utils.native-helper.ios.swift +734 -0
  1553. package/kit-apple/Sources/NativeScriptKit/Core/utils.number-utils.swift +79 -0
  1554. package/kit-apple/Sources/NativeScriptKit/Core/utils.platform-check.swift +25 -0
  1555. package/kit-apple/Sources/NativeScriptKit/Core/utils.shared.swift +84 -0
  1556. package/kit-apple/Sources/NativeScriptKit/Core/utils.types.swift +308 -0
  1557. package/kit-apple/Sources/NativeScriptKit/Core/utils.utils-shared.swift +31 -0
  1558. package/kit-apple/Sources/NativeScriptKit/Core/xhr.index.swift +1726 -0
  1559. package/kit-apple/Sources/NativeScriptKit/Core/xml.index.swift +775 -0
  1560. package/kit-apple/Sources/NativeScriptKit/CoreBridge.swift +388 -0
  1561. package/kit-apple/Sources/NativeScriptKit/CoreConnectivity.swift +46 -0
  1562. package/kit-apple/Sources/NativeScriptKit/CoreLifetimes.swift +15 -0
  1563. package/kit-apple/Sources/NativeScriptKit/CorePackages.swift +59 -0
  1564. package/kit-apple/Sources/NativeScriptKit/JS.swift +94 -0
  1565. package/kit-apple/Sources/NativeScriptKit/Modal.swift +65 -0
  1566. package/kit-apple/Sources/NativeScriptKit/Probe.swift +97 -0
  1567. package/kit-apple/Sources/NativeScriptKit/Regions.swift +291 -0
  1568. package/kit-apple/Sources/NativeScriptKit/Runtime/AbsentModules.swift +64 -0
  1569. package/kit-apple/Sources/NativeScriptKit/Runtime/Array.swift +1640 -0
  1570. package/kit-apple/Sources/NativeScriptKit/Runtime/ArrayLike.swift +859 -0
  1571. package/kit-apple/Sources/NativeScriptKit/Runtime/BigInt.swift +338 -0
  1572. package/kit-apple/Sources/NativeScriptKit/Runtime/BuiltinValues.swift +45 -0
  1573. package/kit-apple/Sources/NativeScriptKit/Runtime/Collections.swift +609 -0
  1574. package/kit-apple/Sources/NativeScriptKit/Runtime/Date.swift +269 -0
  1575. package/kit-apple/Sources/NativeScriptKit/Runtime/Dynamic.swift +470 -0
  1576. package/kit-apple/Sources/NativeScriptKit/Runtime/ES2023.swift +105 -0
  1577. package/kit-apple/Sources/NativeScriptKit/Runtime/Errors.swift +402 -0
  1578. package/kit-apple/Sources/NativeScriptKit/Runtime/Functions.swift +340 -0
  1579. package/kit-apple/Sources/NativeScriptKit/Runtime/Inspect.swift +758 -0
  1580. package/kit-apple/Sources/NativeScriptKit/Runtime/Interop.swift +42 -0
  1581. package/kit-apple/Sources/NativeScriptKit/Runtime/Intl.swift +728 -0
  1582. package/kit-apple/Sources/NativeScriptKit/Runtime/Iterators.swift +898 -0
  1583. package/kit-apple/Sources/NativeScriptKit/Runtime/JSON.swift +874 -0
  1584. package/kit-apple/Sources/NativeScriptKit/Runtime/Lowering.swift +588 -0
  1585. package/kit-apple/Sources/NativeScriptKit/Runtime/Native.swift +819 -0
  1586. package/kit-apple/Sources/NativeScriptKit/Runtime/NativeStack.swift +66 -0
  1587. package/kit-apple/Sources/NativeScriptKit/Runtime/Number.swift +599 -0
  1588. package/kit-apple/Sources/NativeScriptKit/Runtime/Promise.swift +810 -0
  1589. package/kit-apple/Sources/NativeScriptKit/Runtime/Prototypes.swift +471 -0
  1590. package/kit-apple/Sources/NativeScriptKit/Runtime/Reactive.swift +34 -0
  1591. package/kit-apple/Sources/NativeScriptKit/Runtime/Record.swift +59 -0
  1592. package/kit-apple/Sources/NativeScriptKit/Runtime/RegExp.swift +576 -0
  1593. package/kit-apple/Sources/NativeScriptKit/Runtime/RegExpEngine.swift +1918 -0
  1594. package/kit-apple/Sources/NativeScriptKit/Runtime/Stack.swift +20 -0
  1595. package/kit-apple/Sources/NativeScriptKit/Runtime/StringUTF16.swift +179 -0
  1596. package/kit-apple/Sources/NativeScriptKit/Runtime/Symbol.swift +142 -0
  1597. package/kit-apple/Sources/NativeScriptKit/Runtime/Threads.swift +275 -0
  1598. package/kit-apple/Sources/NativeScriptKit/Runtime/Timers.swift +240 -0
  1599. package/kit-apple/Sources/NativeScriptKit/Runtime/TypedArrays.swift +996 -0
  1600. package/kit-apple/Sources/NativeScriptKit/Runtime/URI.swift +94 -0
  1601. package/kit-apple/Sources/NativeScriptKit/Runtime/Values.swift +2061 -0
  1602. package/kit-apple/Sources/NativeScriptKit/Runtime/Views.swift +97 -0
  1603. package/kit-apple/Sources/NativeScriptKit/Runtime/Weak.swift +135 -0
  1604. package/kit-apple/Sources/NativeScriptKit/Runtime/WinterTC.swift +484 -0
  1605. package/kit-apple/Sources/NativeScriptKit/Signals.swift +952 -0
  1606. package/kit-apple/Sources/NativeScriptKit/UncaughtErrors.swift +37 -0
  1607. package/package.json +94 -4
  1608. package/verify/ui-driver/Host/App.swift +7 -0
  1609. package/verify/ui-driver/Tests/Driver.swift +54 -0
  1610. package/verify/ui-driver/project.yml +35 -0
@@ -0,0 +1,3522 @@
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
+ public enum Flags {
19
+ public static let superOnLoadedCalled: String = "Loaded"
20
+ public static let superOnUnloadedCalled: String = "Unloaded"
21
+ public static let jsEnumObject = JSObject([
22
+ ("superOnLoadedCalled", "Loaded" as Any?), ("superOnUnloadedCalled", "Unloaded" as Any?),
23
+ ])
24
+ }
25
+
26
+ public enum SuspendType {
27
+ public static let Incremental: Double = 0
28
+ public static let Loaded: Double = 1_048_576
29
+ public static let NativeView: Double = 2_097_152
30
+ public static let UISetup: Double = 4_194_304
31
+ public static let IncrementalCountMask: Double = -7_340_033
32
+ public static let jsEnumObject = JSObject([
33
+ ("Incremental", Double(0) as Any?), ("0", "Incremental" as Any?), ("Loaded", Double(1_048_576) as Any?),
34
+ ("1048576", "Loaded" as Any?), ("NativeView", Double(2_097_152) as Any?), ("2097152", "NativeView" as Any?),
35
+ ("UISetup", Double(4_194_304) as Any?), ("4194304", "UISetup" as Any?),
36
+ ("IncrementalCountMask", Double(-7_340_033) as Any?), ("-7340033", "IncrementalCountMask" as Any?),
37
+ ])
38
+ }
39
+
40
+ extension SuspendType {
41
+ public static func toString(_ type: Double) -> String {
42
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:298)
43
+ return ((jsTruthy(type) ? "suspended" : "resumed")) + "(" + "Incremental: "
44
+ + js(jsBitAnd(type, SuspendType.IncrementalCountMask)) + ", " + "Loaded: "
45
+ + js(!jsTruthy(jsBitAnd(type, SuspendType.Loaded))) + ", " + "NativeView: "
46
+ + js(!jsTruthy(jsBitAnd(type, SuspendType.NativeView))) + ", " + "UISetup: "
47
+ + js(!jsTruthy(jsBitAnd(type, SuspendType.UISetup))) + ")"
48
+ }
49
+ }
50
+
51
+ #sourceLocation()
52
+ /// @nsView ViewBase
53
+ open class ViewBase: Observable, JSStringConvertible {
54
+ nonisolated deinit {}
55
+ /// String value used when hooking to loaded event.
56
+ ///
57
+ /// @nsEvent loaded
58
+ public static var loadedEvent: String = "loaded"
59
+ /// String value used when hooking to unloaded event.
60
+ ///
61
+ /// @nsEvent unloaded
62
+ public static var unloadedEvent: String = "unloaded"
63
+ /// String value used when hooking to creation event
64
+ ///
65
+ /// @nsEvent created
66
+ public static var createdEvent: String = "created"
67
+ /// String value used when hooking to disposeNativeView event
68
+ ///
69
+ /// @nsEvent disposeNativeView
70
+ public static var disposeNativeViewEvent: String = "disposeNativeView"
71
+ open var _onLoadedCalled: Bool = false
72
+ open var _onUnloadedCalled: Bool = false
73
+ open var _iosView: Any? = nil {
74
+ didSet { if jsMadeBits0 & (1 << 1) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 1, "_iosView") } }
75
+ }
76
+ open var _androidView: Any? = nil {
77
+ didSet { if jsMadeBits0 & (1 << 2) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 2, "_androidView") } }
78
+ }
79
+ open var _style: Style? {
80
+ didSet { if jsMadeBits0 & (1 << 3) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 3, "_style") } }
81
+ }
82
+ open var _isLoaded: Bool = false {
83
+ didSet { if jsMadeBits0 & (1 << 4) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 4, "_isLoaded") } }
84
+ }
85
+ /// if _setupAsRootView is called it means it is not supposed to be
86
+ /// added to a parent. However parent can be set before for the purpose
87
+ /// of CSS variables/classes. That variable ensures that _addViewToNativeVisualTree
88
+ /// is not called in _setupAsRootView
89
+ open var _isRootView: Bool = false
90
+ open var _effectivePaddingTop: Double? = nil
91
+ open var _effectivePaddingRight: Double? = nil
92
+ open var _effectivePaddingBottom: Double? = nil
93
+ open var _effectivePaddingLeft: Double? = nil
94
+ open var _defaultPaddingTop: Double = 0
95
+ open var _defaultPaddingRight: Double = 0
96
+ open var _defaultPaddingBottom: Double = 0
97
+ open var _defaultPaddingLeft: Double = 0
98
+ open var _isPaddingRelative: Bool = false {
99
+ didSet { if jsMadeBits0 & (1 << 5) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 5, "_isPaddingRelative") } }
100
+ }
101
+ /// @deprecated
102
+ open var _visualState: String = "" {
103
+ didSet { if jsMadeBits0 & (1 << 6) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 6, "_visualState") } }
104
+ }
105
+ open weak var _templateParent: ViewBase? {
106
+ didSet { if jsMadeBits0 & (1 << 7) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 7, "_templateParent") } }
107
+ }
108
+ open var __nativeView: Any? = nil {
109
+ didSet { if jsMadeBits0 & (1 << 8) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 8, "__nativeView") } }
110
+ }
111
+ open var domNode: Any? = nil {
112
+ didSet { if jsMadeBits0 & (1 << 9) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 9, "domNode") } }
113
+ }
114
+ private static let jsSite_ViewBase_recycleNativeView = JSReadSite("recycleNativeView")
115
+ open var __own_recycleNativeView: String? = nil
116
+ open var recycleNativeView: String {
117
+ get {
118
+ if let v = __own_recycleNativeView { return v }
119
+ return jsLenientString(JSPrototypes.value(type(of: self), ViewBase.jsSite_ViewBase_recycleNativeView, self))
120
+ }
121
+ set {
122
+ __own_recycleNativeView = .some(newValue)
123
+ if jsMadeBits0 & (1 << 10) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 10, "recycleNativeView") }
124
+ }
125
+ }
126
+ /// returns the native UIViewController.
127
+ open var viewController: Any? = nil {
128
+ didSet { if jsMadeBits0 & (1 << 11) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 11, "viewController") } }
129
+ }
130
+ private static let jsSite_ViewBase_bindingContext = JSReadSite("bindingContext")
131
+ /// @nsProperty
132
+ open var bindingContext: Any? {
133
+ get { jsExpandoGet(self, ViewBase.jsSite_ViewBase_bindingContext) }
134
+ set { jsExpandoSet(self, "bindingContext", newValue) }
135
+ }
136
+ /// read-only. If you want to set out-of-band the nativeView use the setNativeView method.
137
+ open var nativeViewProtected: Any? = nil {
138
+ didSet { if jsMadeBits0 & (1 << 13) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 13, "nativeViewProtected") } }
139
+ }
140
+ /// Gets the parent view. This property is read-only.
141
+ open weak var parent: ViewBase? {
142
+ didSet { if jsMadeBits0 & (1 << 14) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 14, "parent") } }
143
+ }
144
+ private static let jsSite_ViewBase_isCollapsed = JSReadSite("isCollapsed")
145
+ open var __own_isCollapsed: Any?? = nil
146
+ /// Returns true if visibility is set to 'collapse'.
147
+ /// Default(false) set in prototype
148
+ /// Readonly property
149
+ open var isCollapsed: Any? {
150
+ get {
151
+ if let v = __own_isCollapsed { return v }
152
+ return JSPrototypes.value(type(of: self), ViewBase.jsSite_ViewBase_isCollapsed, self)
153
+ }
154
+ set {
155
+ __own_isCollapsed = .some(newValue)
156
+ if jsMadeBits0 & (1 << 15) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 15, "isCollapsed") }
157
+ }
158
+ }
159
+ private static let jsSite_ViewBase_id = JSReadSite("id")
160
+ /// Gets or sets the id for this view.
161
+ ///
162
+ /// @nsProperty
163
+ open var id: String {
164
+ get { jsLenientString(jsExpandoGet(self, ViewBase.jsSite_ViewBase_id)) }
165
+ set { jsExpandoSet(self, "id", newValue) }
166
+ }
167
+ private static let jsSite_ViewBase_className = JSReadSite("className")
168
+ /// Gets or sets the CSS class name for this view.
169
+ ///
170
+ /// @nsProperty
171
+ open var className: String {
172
+ get { jsLenientString(jsExpandoGet(self, ViewBase.jsSite_ViewBase_className)) }
173
+ set { jsExpandoSet(self, "className", newValue) }
174
+ }
175
+ private static let jsSite_ViewBase_hidden = JSReadSite("hidden")
176
+ /// Gets or sets the visual state of the view.
177
+ /// @nsProperty
178
+ open var hidden: Bool {
179
+ get { jsLenientBool(jsExpandoGet(self, ViewBase.jsSite_ViewBase_hidden)) }
180
+ set { jsExpandoSet(self, "hidden", newValue) }
181
+ }
182
+ /// Gets or sets the shared transition tag for animated view transitions
183
+ ///
184
+ /// @nsProperty
185
+ open var sharedTransitionTag: String = "" {
186
+ didSet { if jsMadeBits0 & (1 << 19) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 19, "sharedTransitionTag") } }
187
+ }
188
+ /// Opt out of shared transition under different binding conditions
189
+ ///
190
+ /// @nsProperty
191
+ open var sharedTransitionIgnore: Bool = false {
192
+ didSet {
193
+ if jsMadeBits0 & (1 << 20) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 20, "sharedTransitionIgnore") }
194
+ }
195
+ }
196
+ private static let jsSite_ViewBase_defaultVisualState = JSReadSite("defaultVisualState")
197
+ /// Default visual state, defaults to 'normal'
198
+ ///
199
+ /// @nsProperty
200
+ open var defaultVisualState: String {
201
+ get { jsLenientString(jsExpandoGet(self, ViewBase.jsSite_ViewBase_defaultVisualState)) }
202
+ set { jsExpandoSet(self, "defaultVisualState", newValue) }
203
+ }
204
+ open var _domId: Double = .nan {
205
+ didSet { if jsMadeBits0 & (1 << 21) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 21, "_domId") } }
206
+ }
207
+ open var _context: Any? = nil {
208
+ didSet { if jsMadeBits0 & (1 << 22) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 22, "_context") } }
209
+ }
210
+ open var _isAddedToNativeVisualTree: Bool = false {
211
+ didSet {
212
+ if jsMadeBits0 & (1 << 23) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 23, "_isAddedToNativeVisualTree") }
213
+ }
214
+ }
215
+ open var _cssState: CssState?
216
+ open var _styleScope: StyleScope? {
217
+ didSet { if jsMadeBits0 & (1 << 24) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 24, "_styleScope") } }
218
+ }
219
+ /// A property bag holding suspended native updates.
220
+ /// Native setters that had to execute while there was no native view,
221
+ /// or the view was detached from the visual tree etc. will accumulate in this object,
222
+ /// and will be applied when all prerequisites are met.
223
+ /// @private
224
+ open var _suspendedUpdates: JSRecord<Any?>? {
225
+ didSet { if jsMadeBits0 & (1 << 25) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 25, "_suspendedUpdates") } }
226
+ }
227
+ private static let jsSite_ViewBase__suspendNativeUpdatesCount = JSReadSite("_suspendNativeUpdatesCount")
228
+ open var __own__suspendNativeUpdatesCount: Double? = nil
229
+ /// Determines the depth of suspended updates.
230
+ /// When the value is 0 the current property updates are not batched nor scoped and must be immediately applied.
231
+ /// If the value is 1 or greater, the current updates are batched and does not have to provide immediate update.
232
+ /// Do not set this field, the _batchUpdate method is responsible to keep the count up to date,
233
+ /// as well as adding/rmoving the view to/from the visual tree.
234
+ open var _suspendNativeUpdatesCount: Double {
235
+ get {
236
+ if let v = __own__suspendNativeUpdatesCount { return v }
237
+ return jsLenientNumber(
238
+ JSPrototypes.value(type(of: self), ViewBase.jsSite_ViewBase__suspendNativeUpdatesCount, self))
239
+ }
240
+ set {
241
+ __own__suspendNativeUpdatesCount = .some(newValue)
242
+ if jsMadeBits0 & (1 << 26) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 26, "_suspendNativeUpdatesCount") }
243
+ }
244
+ }
245
+ open var _isStyleScopeHost: Bool = false {
246
+ didSet { if jsMadeBits0 & (1 << 27) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 27, "_isStyleScopeHost") } }
247
+ }
248
+ open var _automaticallyAdjustsScrollViewInsets: Bool = false {
249
+ didSet {
250
+ if jsMadeBits0 & (1 << 28) == 0 {
251
+ jsMadeNote(&jsMadeBits0, &jsMade, 1 << 28, "_automaticallyAdjustsScrollViewInsets")
252
+ }
253
+ }
254
+ }
255
+ private static let jsSite_ViewBase_left = JSReadSite("left")
256
+ /// Gets or sets the distance, in pixels, between the left edge of the child and the left edge of its parent.
257
+ /// @nsProperty
258
+ open var left: Any? {
259
+ get { jsExpandoGet(self, ViewBase.jsSite_ViewBase_left) }
260
+ set { jsExpandoSet(self, "left", newValue) }
261
+ }
262
+ private static let jsSite_ViewBase_top = JSReadSite("top")
263
+ /// Gets or sets the distance, in pixels, between the top edge of the child and the top edge of its parent.
264
+ /// @nsProperty
265
+ open var top: Any? {
266
+ get { jsExpandoGet(self, ViewBase.jsSite_ViewBase_top) }
267
+ set { jsExpandoSet(self, "top", newValue) }
268
+ }
269
+ private static let jsSite_ViewBase_effectiveLeft = JSReadSite("effectiveLeft")
270
+ open var __own_effectiveLeft: Double? = nil
271
+ open var effectiveLeft: Double {
272
+ get {
273
+ if let v = __own_effectiveLeft { return v }
274
+ return jsLenientNumber(JSPrototypes.value(type(of: self), ViewBase.jsSite_ViewBase_effectiveLeft, self))
275
+ }
276
+ set {
277
+ __own_effectiveLeft = .some(newValue)
278
+ if jsMadeBits0 & (1 << 31) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 31, "effectiveLeft") }
279
+ }
280
+ }
281
+ private static let jsSite_ViewBase_effectiveTop = JSReadSite("effectiveTop")
282
+ open var __own_effectiveTop: Double? = nil
283
+ open var effectiveTop: Double {
284
+ get {
285
+ if let v = __own_effectiveTop { return v }
286
+ return jsLenientNumber(JSPrototypes.value(type(of: self), ViewBase.jsSite_ViewBase_effectiveTop, self))
287
+ }
288
+ set {
289
+ __own_effectiveTop = .some(newValue)
290
+ if jsMadeBits0 & (1 << 32) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 32, "effectiveTop") }
291
+ }
292
+ }
293
+ private static let jsSite_ViewBase_dock = JSReadSite("dock")
294
+ /// Dock position of the view within its parent.
295
+ /// @nsProperty
296
+ open var dock: String {
297
+ get { jsLenientString(jsExpandoGet(self, ViewBase.jsSite_ViewBase_dock)) }
298
+ set { jsExpandoSet(self, "dock", newValue) }
299
+ }
300
+ private static let jsSite_ViewBase_row = JSReadSite("row")
301
+ /// The row for the element. The rows are 0-indexed, so the first row is indicated by 0.
302
+ ///
303
+ /// @nsProperty
304
+ open var row: Double {
305
+ get { jsLenientNumber(jsExpandoGet(self, ViewBase.jsSite_ViewBase_row)) }
306
+ set { jsExpandoSet(self, "row", newValue) }
307
+ }
308
+ private static let jsSite_ViewBase_col = JSReadSite("col")
309
+ /// The column for the element. The columns are 0-indexed, so the first column is indicated by 0.
310
+ /// @nsProperty
311
+ open var col: Double {
312
+ get { jsLenientNumber(jsExpandoGet(self, ViewBase.jsSite_ViewBase_col)) }
313
+ set { jsExpandoSet(self, "col", newValue) }
314
+ }
315
+ private static let jsSite_ViewBase_column = JSReadSite("column")
316
+ /// The column for the element. The columns are 0-indexed, so the first column is indicated by 0.
317
+ /// @nsProperty
318
+ open var column: Double {
319
+ get { jsLenientNumber(jsExpandoGet(self, ViewBase.jsSite_ViewBase_column)) }
320
+ set { jsExpandoSet(self, "column", newValue) }
321
+ }
322
+ private static let jsSite_ViewBase_rowSpan = JSReadSite("rowSpan")
323
+ /// The number of rows for the element to span across.
324
+ /// @nsProperty
325
+ open var rowSpan: Double {
326
+ get { jsLenientNumber(jsExpandoGet(self, ViewBase.jsSite_ViewBase_rowSpan)) }
327
+ set { jsExpandoSet(self, "rowSpan", newValue) }
328
+ }
329
+ private static let jsSite_ViewBase_colSpan = JSReadSite("colSpan")
330
+ /// The number of columns for the element to span across.
331
+ /// @nsProperty
332
+ open var colSpan: Double {
333
+ get { jsLenientNumber(jsExpandoGet(self, ViewBase.jsSite_ViewBase_colSpan)) }
334
+ set { jsExpandoSet(self, "colSpan", newValue) }
335
+ }
336
+ private static let jsSite_ViewBase_columnSpan = JSReadSite("columnSpan")
337
+ /// @nsProperty
338
+ open var columnSpan: Double {
339
+ get { jsLenientNumber(jsExpandoGet(self, ViewBase.jsSite_ViewBase_columnSpan)) }
340
+ set { jsExpandoSet(self, "columnSpan", newValue) }
341
+ }
342
+ private static let jsSite_ViewBase_order = JSReadSite("order")
343
+ /// Sets the order in which child elements inside a Flex appear in relation to one another.
344
+ /// @nsProperty
345
+ open var order: Double {
346
+ get { jsLenientNumber(jsExpandoGet(self, ViewBase.jsSite_ViewBase_order)) }
347
+ set { jsExpandoSet(self, "order", newValue) }
348
+ }
349
+ private static let jsSite_ViewBase_flexGrow = JSReadSite("flexGrow")
350
+ /// Indicates that the child should grow in size, if necessary. Sets how much the child will grow in proportion to the rest of the child elements in the flex container.
351
+ /// @nsProperty
352
+ open var flexGrow: Double {
353
+ get { jsLenientNumber(jsExpandoGet(self, ViewBase.jsSite_ViewBase_flexGrow)) }
354
+ set { jsExpandoSet(self, "flexGrow", newValue) }
355
+ }
356
+ private static let jsSite_ViewBase_flexShrink = JSReadSite("flexShrink")
357
+ /// Indicates that the child should shrink when the row runs out of space. Sets how much the flex item will shrink in proportion to the rest of the child elements in the flex container. When not specified, its value is set to 1.
358
+ /// @nsProperty
359
+ open var flexShrink: Double {
360
+ get { jsLenientNumber(jsExpandoGet(self, ViewBase.jsSite_ViewBase_flexShrink)) }
361
+ set { jsExpandoSet(self, "flexShrink", newValue) }
362
+ }
363
+ private static let jsSite_ViewBase_flexWrapBefore = JSReadSite("flexWrapBefore")
364
+ /// When true, forces the item to wrap onto a new line.
365
+ /// @nsProperty
366
+ open var flexWrapBefore: Bool {
367
+ get { jsLenientBool(jsExpandoGet(self, ViewBase.jsSite_ViewBase_flexWrapBefore)) }
368
+ set { jsExpandoSet(self, "flexWrapBefore", newValue) }
369
+ }
370
+ private static let jsSite_ViewBase_alignSelf = JSReadSite("alignSelf")
371
+ /// (Android-only) Overrides the alignItems value for the child.
372
+ /// @nsProperty
373
+ open var alignSelf: String {
374
+ get { jsLenientString(jsExpandoGet(self, ViewBase.jsSite_ViewBase_alignSelf)) }
375
+ set { jsExpandoSet(self, "alignSelf", newValue) }
376
+ }
377
+ private static let jsSite_ViewBase__oldLeft = JSReadSite("_oldLeft")
378
+ open var __own__oldLeft: Double? = nil
379
+ open var _oldLeft: Double {
380
+ get {
381
+ if let v = __own__oldLeft { return v }
382
+ return jsLenientNumber(JSPrototypes.value(type(of: self), ViewBase.jsSite_ViewBase__oldLeft, self))
383
+ }
384
+ set {
385
+ __own__oldLeft = .some(newValue)
386
+ if jsMadeBits0 & (1 << 45) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 45, "_oldLeft") }
387
+ }
388
+ }
389
+ private static let jsSite_ViewBase__oldTop = JSReadSite("_oldTop")
390
+ open var __own__oldTop: Double? = nil
391
+ open var _oldTop: Double {
392
+ get {
393
+ if let v = __own__oldTop { return v }
394
+ return jsLenientNumber(JSPrototypes.value(type(of: self), ViewBase.jsSite_ViewBase__oldTop, self))
395
+ }
396
+ set {
397
+ __own__oldTop = .some(newValue)
398
+ if jsMadeBits0 & (1 << 46) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 46, "_oldTop") }
399
+ }
400
+ }
401
+ private static let jsSite_ViewBase__oldRight = JSReadSite("_oldRight")
402
+ open var __own__oldRight: Double? = nil
403
+ open var _oldRight: Double {
404
+ get {
405
+ if let v = __own__oldRight { return v }
406
+ return jsLenientNumber(JSPrototypes.value(type(of: self), ViewBase.jsSite_ViewBase__oldRight, self))
407
+ }
408
+ set {
409
+ __own__oldRight = .some(newValue)
410
+ if jsMadeBits0 & (1 << 47) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 47, "_oldRight") }
411
+ }
412
+ }
413
+ private static let jsSite_ViewBase__oldBottom = JSReadSite("_oldBottom")
414
+ open var __own__oldBottom: Double? = nil
415
+ open var _oldBottom: Double {
416
+ get {
417
+ if let v = __own__oldBottom { return v }
418
+ return jsLenientNumber(JSPrototypes.value(type(of: self), ViewBase.jsSite_ViewBase__oldBottom, self))
419
+ }
420
+ set {
421
+ __own__oldBottom = .some(newValue)
422
+ if jsMadeBits0 & (1 << 48) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 48, "_oldBottom") }
423
+ }
424
+ }
425
+ open var _ignoreFlexMinWidthHeightReset: Bool = false {
426
+ didSet {
427
+ if jsMadeBits0 & (1 << 49) == 0 {
428
+ jsMadeNote(&jsMadeBits0, &jsMade, 1 << 49, "_ignoreFlexMinWidthHeightReset")
429
+ }
430
+ }
431
+ }
432
+ private static let jsSite_ViewBase_effectiveMinWidth = JSReadSite("effectiveMinWidth")
433
+ open var __own_effectiveMinWidth: Double? = nil
434
+ open var effectiveMinWidth: Double {
435
+ get {
436
+ if let v = __own_effectiveMinWidth { return v }
437
+ return jsLenientNumber(JSPrototypes.value(type(of: self), ViewBase.jsSite_ViewBase_effectiveMinWidth, self))
438
+ }
439
+ set {
440
+ __own_effectiveMinWidth = .some(newValue)
441
+ if jsMadeBits0 & (1 << 50) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 50, "effectiveMinWidth") }
442
+ }
443
+ }
444
+ private static let jsSite_ViewBase_effectiveMinHeight = JSReadSite("effectiveMinHeight")
445
+ open var __own_effectiveMinHeight: Double? = nil
446
+ open var effectiveMinHeight: Double {
447
+ get {
448
+ if let v = __own_effectiveMinHeight { return v }
449
+ return jsLenientNumber(
450
+ JSPrototypes.value(type(of: self), ViewBase.jsSite_ViewBase_effectiveMinHeight, self))
451
+ }
452
+ set {
453
+ __own_effectiveMinHeight = .some(newValue)
454
+ if jsMadeBits0 & (1 << 51) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 51, "effectiveMinHeight") }
455
+ }
456
+ }
457
+ private static let jsSite_ViewBase_effectiveMaxWidth = JSReadSite("effectiveMaxWidth")
458
+ open var __own_effectiveMaxWidth: Double? = nil
459
+ open var effectiveMaxWidth: Double {
460
+ get {
461
+ if let v = __own_effectiveMaxWidth { return v }
462
+ return jsLenientNumber(JSPrototypes.value(type(of: self), ViewBase.jsSite_ViewBase_effectiveMaxWidth, self))
463
+ }
464
+ set {
465
+ __own_effectiveMaxWidth = .some(newValue)
466
+ if jsMadeBits0 & (1 << 52) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 52, "effectiveMaxWidth") }
467
+ }
468
+ }
469
+ private static let jsSite_ViewBase_effectiveMaxHeight = JSReadSite("effectiveMaxHeight")
470
+ open var __own_effectiveMaxHeight: Double? = nil
471
+ open var effectiveMaxHeight: Double {
472
+ get {
473
+ if let v = __own_effectiveMaxHeight { return v }
474
+ return jsLenientNumber(
475
+ JSPrototypes.value(type(of: self), ViewBase.jsSite_ViewBase_effectiveMaxHeight, self))
476
+ }
477
+ set {
478
+ __own_effectiveMaxHeight = .some(newValue)
479
+ if jsMadeBits0 & (1 << 53) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 53, "effectiveMaxHeight") }
480
+ }
481
+ }
482
+ private static let jsSite_ViewBase_effectiveWidth = JSReadSite("effectiveWidth")
483
+ open var __own_effectiveWidth: Double? = nil
484
+ open var effectiveWidth: Double {
485
+ get {
486
+ if let v = __own_effectiveWidth { return v }
487
+ return jsLenientNumber(JSPrototypes.value(type(of: self), ViewBase.jsSite_ViewBase_effectiveWidth, self))
488
+ }
489
+ set {
490
+ __own_effectiveWidth = .some(newValue)
491
+ if jsMadeBits0 & (1 << 54) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 54, "effectiveWidth") }
492
+ }
493
+ }
494
+ private static let jsSite_ViewBase_effectiveHeight = JSReadSite("effectiveHeight")
495
+ open var __own_effectiveHeight: Double? = nil
496
+ open var effectiveHeight: Double {
497
+ get {
498
+ if let v = __own_effectiveHeight { return v }
499
+ return jsLenientNumber(JSPrototypes.value(type(of: self), ViewBase.jsSite_ViewBase_effectiveHeight, self))
500
+ }
501
+ set {
502
+ __own_effectiveHeight = .some(newValue)
503
+ if jsMadeBits0 & (1 << 55) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 55, "effectiveHeight") }
504
+ }
505
+ }
506
+ private static let jsSite_ViewBase_effectiveMarginTop = JSReadSite("effectiveMarginTop")
507
+ open var __own_effectiveMarginTop: Double? = nil
508
+ open var effectiveMarginTop: Double {
509
+ get {
510
+ if let v = __own_effectiveMarginTop { return v }
511
+ return jsLenientNumber(
512
+ JSPrototypes.value(type(of: self), ViewBase.jsSite_ViewBase_effectiveMarginTop, self))
513
+ }
514
+ set {
515
+ __own_effectiveMarginTop = .some(newValue)
516
+ if jsMadeBits0 & (1 << 56) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 56, "effectiveMarginTop") }
517
+ }
518
+ }
519
+ private static let jsSite_ViewBase_effectiveMarginRight = JSReadSite("effectiveMarginRight")
520
+ open var __own_effectiveMarginRight: Double? = nil
521
+ open var effectiveMarginRight: Double {
522
+ get {
523
+ if let v = __own_effectiveMarginRight { return v }
524
+ return jsLenientNumber(
525
+ JSPrototypes.value(type(of: self), ViewBase.jsSite_ViewBase_effectiveMarginRight, self))
526
+ }
527
+ set {
528
+ __own_effectiveMarginRight = .some(newValue)
529
+ if jsMadeBits0 & (1 << 57) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 57, "effectiveMarginRight") }
530
+ }
531
+ }
532
+ private static let jsSite_ViewBase_effectiveMarginBottom = JSReadSite("effectiveMarginBottom")
533
+ open var __own_effectiveMarginBottom: Double? = nil
534
+ open var effectiveMarginBottom: Double {
535
+ get {
536
+ if let v = __own_effectiveMarginBottom { return v }
537
+ return jsLenientNumber(
538
+ JSPrototypes.value(type(of: self), ViewBase.jsSite_ViewBase_effectiveMarginBottom, self))
539
+ }
540
+ set {
541
+ __own_effectiveMarginBottom = .some(newValue)
542
+ if jsMadeBits0 & (1 << 58) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 58, "effectiveMarginBottom") }
543
+ }
544
+ }
545
+ private static let jsSite_ViewBase_effectiveMarginLeft = JSReadSite("effectiveMarginLeft")
546
+ open var __own_effectiveMarginLeft: Double? = nil
547
+ open var effectiveMarginLeft: Double {
548
+ get {
549
+ if let v = __own_effectiveMarginLeft { return v }
550
+ return jsLenientNumber(
551
+ JSPrototypes.value(type(of: self), ViewBase.jsSite_ViewBase_effectiveMarginLeft, self))
552
+ }
553
+ set {
554
+ __own_effectiveMarginLeft = .some(newValue)
555
+ if jsMadeBits0 & (1 << 59) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 59, "effectiveMarginLeft") }
556
+ }
557
+ }
558
+ private static let jsSite_ViewBase_effectiveBorderTopWidth = JSReadSite("effectiveBorderTopWidth")
559
+ open var __own_effectiveBorderTopWidth: Double? = nil
560
+ open var effectiveBorderTopWidth: Double {
561
+ get {
562
+ if let v = __own_effectiveBorderTopWidth { return v }
563
+ return jsLenientNumber(
564
+ JSPrototypes.value(type(of: self), ViewBase.jsSite_ViewBase_effectiveBorderTopWidth, self))
565
+ }
566
+ set {
567
+ __own_effectiveBorderTopWidth = .some(newValue)
568
+ if jsMadeBits0 & (1 << 60) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 60, "effectiveBorderTopWidth") }
569
+ }
570
+ }
571
+ private static let jsSite_ViewBase_effectiveBorderRightWidth = JSReadSite("effectiveBorderRightWidth")
572
+ open var __own_effectiveBorderRightWidth: Double? = nil
573
+ open var effectiveBorderRightWidth: Double {
574
+ get {
575
+ if let v = __own_effectiveBorderRightWidth { return v }
576
+ return jsLenientNumber(
577
+ JSPrototypes.value(type(of: self), ViewBase.jsSite_ViewBase_effectiveBorderRightWidth, self))
578
+ }
579
+ set {
580
+ __own_effectiveBorderRightWidth = .some(newValue)
581
+ if jsMadeBits0 & (1 << 61) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 61, "effectiveBorderRightWidth") }
582
+ }
583
+ }
584
+ private static let jsSite_ViewBase_effectiveBorderBottomWidth = JSReadSite("effectiveBorderBottomWidth")
585
+ open var __own_effectiveBorderBottomWidth: Double? = nil
586
+ open var effectiveBorderBottomWidth: Double {
587
+ get {
588
+ if let v = __own_effectiveBorderBottomWidth { return v }
589
+ return jsLenientNumber(
590
+ JSPrototypes.value(type(of: self), ViewBase.jsSite_ViewBase_effectiveBorderBottomWidth, self))
591
+ }
592
+ set {
593
+ __own_effectiveBorderBottomWidth = .some(newValue)
594
+ if jsMadeBits0 & (1 << 62) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 62, "effectiveBorderBottomWidth") }
595
+ }
596
+ }
597
+ private static let jsSite_ViewBase_effectiveBorderLeftWidth = JSReadSite("effectiveBorderLeftWidth")
598
+ open var __own_effectiveBorderLeftWidth: Double? = nil
599
+ open var effectiveBorderLeftWidth: Double {
600
+ get {
601
+ if let v = __own_effectiveBorderLeftWidth { return v }
602
+ return jsLenientNumber(
603
+ JSPrototypes.value(type(of: self), ViewBase.jsSite_ViewBase_effectiveBorderLeftWidth, self))
604
+ }
605
+ set {
606
+ __own_effectiveBorderLeftWidth = .some(newValue)
607
+ if jsMadeBits0 & (1 << 63) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 63, "effectiveBorderLeftWidth") }
608
+ }
609
+ }
610
+ private static let jsSite_ViewBase_effectiveRowGap = JSReadSite("effectiveRowGap")
611
+ open var __own_effectiveRowGap: Double? = nil
612
+ open var effectiveRowGap: Double {
613
+ get {
614
+ if let v = __own_effectiveRowGap { return v }
615
+ return jsLenientNumber(JSPrototypes.value(type(of: self), ViewBase.jsSite_ViewBase_effectiveRowGap, self))
616
+ }
617
+ set {
618
+ __own_effectiveRowGap = .some(newValue)
619
+ if jsMadeBits1 & (1 << 0) == 0 { jsMadeNote(&jsMadeBits1, &jsMade, 1 << 0, "effectiveRowGap") }
620
+ }
621
+ }
622
+ private static let jsSite_ViewBase_effectiveColumnGap = JSReadSite("effectiveColumnGap")
623
+ open var __own_effectiveColumnGap: Double? = nil
624
+ open var effectiveColumnGap: Double {
625
+ get {
626
+ if let v = __own_effectiveColumnGap { return v }
627
+ return jsLenientNumber(
628
+ JSPrototypes.value(type(of: self), ViewBase.jsSite_ViewBase_effectiveColumnGap, self))
629
+ }
630
+ set {
631
+ __own_effectiveColumnGap = .some(newValue)
632
+ if jsMadeBits1 & (1 << 1) == 0 { jsMadeNote(&jsMadeBits1, &jsMade, 1 << 1, "effectiveColumnGap") }
633
+ }
634
+ }
635
+ /// @private
636
+ /// Module name when the view is a module root. Otherwise, it is undefined.
637
+ open var _moduleName: String = "" {
638
+ didSet { if jsMadeBits1 & (1 << 2) == 0 { jsMadeNote(&jsMadeBits1, &jsMade, 1 << 2, "_moduleName") } }
639
+ }
640
+ private static let jsSite_ViewBase_reusable = JSReadSite("reusable")
641
+ open var __own_reusable: Bool? = nil
642
+ /// Gets or sets if the view is reusable. Reusable views are not automatically destroyed when removed from the View tree.
643
+ ///
644
+ /// @nsProperty
645
+ open var reusable: Bool {
646
+ get {
647
+ if let v = __own_reusable { return v }
648
+ return jsLenientBool(JSPrototypes.value(type(of: self), ViewBase.jsSite_ViewBase_reusable, self))
649
+ }
650
+ set {
651
+ __own_reusable = .some(newValue)
652
+ if jsMadeBits1 & (1 << 3) == 0 { jsMadeNote(&jsMadeBits1, &jsMade, 1 << 3, "reusable") }
653
+ }
654
+ }
655
+ open var cssClasses: JSSet<String>? = JSSet<String>() {
656
+ didSet { if jsMadeBits1 & (1 << 4) == 0 { jsMadeNote(&jsMadeBits1, &jsMade, 1 << 4, "cssClasses") } }
657
+ }
658
+ open var cssPseudoClasses: JSSet<String>? = JSSet<String>() {
659
+ didSet { if jsMadeBits1 & (1 << 5) == 0 { jsMadeNote(&jsMadeBits1, &jsMade, 1 << 5, "cssPseudoClasses") } }
660
+ }
661
+ open var pseudoClassAliases: Object_highlighted? = Object_highlighted(
662
+ highlighted: JSArray<String>(["active", "pressed"]))
663
+ open var bindings: JSMap<String, Binding>? = JSMap<String, Binding>() {
664
+ didSet { if jsMadeBits1 & (1 << 6) == 0 { jsMadeNote(&jsMadeBits1, &jsMade, 1 << 6, "bindings") } }
665
+ }
666
+ open var shouldAddHandlerToParentBindingContextChanged: Bool = false {
667
+ didSet {
668
+ if jsMadeBits1 & (1 << 7) == 0 {
669
+ jsMadeNote(&jsMadeBits1, &jsMade, 1 << 7, "shouldAddHandlerToParentBindingContextChanged")
670
+ }
671
+ }
672
+ }
673
+ open var bindingContextBoundToParentBindingContextChanged: Bool = false {
674
+ didSet {
675
+ if jsMadeBits1 & (1 << 8) == 0 {
676
+ jsMadeNote(&jsMadeBits1, &jsMade, 1 << 8, "bindingContextBoundToParentBindingContextChanged")
677
+ }
678
+ }
679
+ }
680
+ public override init() throws {
681
+ try super.init()
682
+ jsMadeLevel(
683
+ &jsMade,
684
+ [
685
+ "_onLoadedCalled", "_onUnloadedCalled", "_isRootView", "_effectivePaddingTop", "_effectivePaddingRight",
686
+ "_effectivePaddingBottom", "_effectivePaddingLeft", "_defaultPaddingTop", "_defaultPaddingRight",
687
+ "_defaultPaddingBottom", "_defaultPaddingLeft", "defaultVisualState", "_cssState", "pseudoClassAliases",
688
+ ])
689
+ self.defaultVisualState = "normal"
690
+ self._cssState = CssState(JSWeakRef<ViewBase>(self))
691
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:583)
692
+ self._domId = jsPostIncrement(&Core_ui_core_view_base_index.viewIdCounter)
693
+ if jsMadeBits0 & (1 << 21) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 21, "_domId") }
694
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:584)
695
+ self._style = try Style(JSWeakRef<ViewBase>(self))
696
+ if jsMadeBits0 & (1 << 3) == 0 { jsMadeNote(&jsMadeBits0, &jsMade, 1 << 3, "_style") }
697
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:585)
698
+ self.cssClasses = JSSet<String>()
699
+ if jsMadeBits1 & (1 << 4) == 0 { jsMadeNote(&jsMadeBits1, &jsMade, 1 << 4, "cssClasses") }
700
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:586)
701
+ self.cssPseudoClasses = JSSet<String>()
702
+ if jsMadeBits1 & (1 << 5) == 0 { jsMadeNote(&jsMadeBits1, &jsMade, 1 << 5, "cssPseudoClasses") }
703
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:588)
704
+ _ = try jsUnwrap(self.cssPseudoClasses, "add").add(self.defaultVisualState)
705
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:590)
706
+ try self.notify(
707
+ Object_eventName_type_object(eventName: ViewBase.createdEvent, type: type(of: self).jsName, object: self))
708
+ }
709
+ #sourceLocation()
710
+ /// Gets the CSS fully qualified type name used for selector matching.
711
+ open var cssType: String {
712
+ get {
713
+ jsReported { () throws -> String in
714
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:412)
715
+ return ""
716
+ } ?? ""
717
+ }
718
+ set {
719
+ do {
720
+
721
+ }
722
+ }
723
+ }
724
+ #sourceLocation()
725
+ /// Gets the template parent or the native parent. Sets the template parent.
726
+ open var parentNode: ViewBase? {
727
+ get {
728
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:598)
729
+ return jsImplicit(
730
+ ({ () -> ViewBase? in
731
+ let __v_1 = self._templateParent
732
+ return jsTruthy(__v_1) ? jsPresent(__v_1) : self.parent
733
+ }()))
734
+ }
735
+ set {
736
+ let node: ViewBase? = newValue
737
+ do {
738
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:601)
739
+ self._templateParent = node
740
+ }
741
+ }
742
+ }
743
+ #sourceLocation()
744
+ open var nativeView: Any? {
745
+ get {
746
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:606)
747
+ return self.nativeViewProtected
748
+ }
749
+ set {
750
+ let value = newValue
751
+ jsReport {
752
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:609)
753
+ try self.setNativeView(value)
754
+ }
755
+ }
756
+ }
757
+ #sourceLocation()
758
+ /// Gets the name of the constructor function for this instance. E.g. for a Button class this will return "Button".
759
+ open var typeName: String {
760
+ get throws {
761
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:617)
762
+ return try Core_utils_types.getClass(self)
763
+ }
764
+ }
765
+ #sourceLocation()
766
+ open func __set_style(_ inlineStyle: Any?) {
767
+ jsReport {
768
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:632)
769
+ if jsStringEquals(jsTypeof(inlineStyle), "string") {
770
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:633)
771
+ try self.setInlineStyle(try jsConvertedString(inlineStyle))
772
+ } else {
773
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:635)
774
+ throw JSException(value: JSError("View.style property is read-only."))
775
+ }
776
+ }
777
+ }
778
+ #sourceLocation()
779
+ /// Gets the style object associated to this view.
780
+ /// @nsProperty
781
+ open var style: Style? {
782
+ get {
783
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:624)
784
+ return self._style
785
+ }
786
+ set { __set_style(newValue) }
787
+ }
788
+ #sourceLocation()
789
+ open var android: Any? {
790
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:641)
791
+ return self._androidView
792
+ }
793
+ #sourceLocation()
794
+ open var ios: Any? {
795
+ get throws {
796
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:646)
797
+ return self._iosView
798
+ }
799
+ }
800
+ #sourceLocation()
801
+ open var isLoaded: Bool {
802
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:650)
803
+ return self._isLoaded
804
+ }
805
+ #sourceLocation()
806
+ open var __class__: String {
807
+ get {
808
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:654)
809
+ return self.className
810
+ }
811
+ set {
812
+ let v = newValue
813
+ do {
814
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:657)
815
+ self.className = v
816
+ }
817
+ }
818
+ }
819
+ #sourceLocation()
820
+ open var effectivePaddingTop: Double {
821
+ get {
822
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:661)
823
+ return (self._effectivePaddingTop != nil ? (self._effectivePaddingTop ?? 0) : self._defaultPaddingTop)
824
+ }
825
+ set {
826
+ let v = newValue
827
+ do {
828
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:664)
829
+ self._effectivePaddingTop = v
830
+ }
831
+ }
832
+ }
833
+ #sourceLocation()
834
+ open var effectivePaddingRight: Double {
835
+ get {
836
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:668)
837
+ return (self._effectivePaddingRight != nil ? (self._effectivePaddingRight ?? 0) : self._defaultPaddingRight)
838
+ }
839
+ set {
840
+ let v = newValue
841
+ do {
842
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:671)
843
+ self._effectivePaddingRight = v
844
+ }
845
+ }
846
+ }
847
+ #sourceLocation()
848
+ open var effectivePaddingBottom: Double {
849
+ get {
850
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:675)
851
+ return
852
+ (self._effectivePaddingBottom != nil ? (self._effectivePaddingBottom ?? 0) : self._defaultPaddingBottom)
853
+ }
854
+ set {
855
+ let v = newValue
856
+ do {
857
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:678)
858
+ self._effectivePaddingBottom = v
859
+ }
860
+ }
861
+ }
862
+ #sourceLocation()
863
+ open var effectivePaddingLeft: Double {
864
+ get {
865
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:682)
866
+ return (self._effectivePaddingLeft != nil ? (self._effectivePaddingLeft ?? 0) : self._defaultPaddingLeft)
867
+ }
868
+ set {
869
+ let v = newValue
870
+ do {
871
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:685)
872
+ self._effectivePaddingLeft = v
873
+ }
874
+ }
875
+ }
876
+ #sourceLocation()
877
+ /// Gets owner page. This is a read-only property.
878
+ open var page: Page? {
879
+ get throws {
880
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:710)
881
+ if jsTruthy(self.parent) {
882
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:711)
883
+ return try jsUnwrap(self.parent, "page").page
884
+ }
885
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:714)
886
+ return nil
887
+ }
888
+ }
889
+ #sourceLocation()
890
+ /// @deprecated
891
+ open var visualState: String {
892
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1390)
893
+ return self._visualState
894
+ }
895
+ #sourceLocation()
896
+ open func getEffectivePaddingShorthand() -> String {
897
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:689)
898
+ return
899
+ "\(js(self.effectivePaddingTop)) \(js(self.effectivePaddingRight)) \(js(self.effectivePaddingBottom)) \(js(self.effectivePaddingLeft))"
900
+ }
901
+ #sourceLocation()
902
+ /// Returns the child view with the specified id.
903
+ open func getViewById(_ id: String) throws -> Any? {
904
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:696)
905
+ return try jsImplicit(Core_ui_core_view_base_index.getViewById(self, id))
906
+ }
907
+ #sourceLocation()
908
+ /// Returns the child view with the specified domId.
909
+ open func getViewByDomId(_ domId: Double) throws -> Any? {
910
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:703)
911
+ return try jsImplicit(Core_ui_core_view_base_index.getViewByDomId(self, domId))
912
+ }
913
+ #sourceLocation()
914
+ /// @unstable
915
+ /// Ensures a dom-node for this view.
916
+ open func ensureDomNode() throws {
917
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:722)
918
+ if !jsTruthy(self.domNode) {
919
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:723)
920
+ self.domNode = try NativeScriptKit.jsConstruct(jsMoot("DOMNode"), self)
921
+ }
922
+ }
923
+ #sourceLocation()
924
+ open override func set(_ name: String, _ value: Any?) throws {
925
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:730)
926
+ try self[jsKey: name] = WrappedValue.unwrap(value)
927
+ }
928
+ #sourceLocation()
929
+ open func onLoaded() throws {
930
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:735)
931
+ self.setFlag(Flags.superOnLoadedCalled, true)
932
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:736)
933
+ if self._isLoaded {
934
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:737)
935
+ return
936
+ }
937
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:740)
938
+ self._isLoaded = true
939
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:741)
940
+ try jsUnwrap(self._cssState, "onLoaded").onLoaded()
941
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:742)
942
+ try self._resumeNativeUpdates(SuspendType.Loaded)
943
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:744)
944
+ try self.eachChild({ (child: ViewBase?) throws -> Bool in
945
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:745)
946
+ try self.loadView(child)
947
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:747)
948
+ return true
949
+ })
950
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:750)
951
+ try self._emit("loaded")
952
+ }
953
+ #sourceLocation()
954
+ public final func onLoaded__ViewBase() throws {
955
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:735)
956
+ self.setFlag(Flags.superOnLoadedCalled, true)
957
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:736)
958
+ if self._isLoaded {
959
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:737)
960
+ return
961
+ }
962
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:740)
963
+ self._isLoaded = true
964
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:741)
965
+ try jsUnwrap(self._cssState, "onLoaded").onLoaded()
966
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:742)
967
+ try self._resumeNativeUpdates(SuspendType.Loaded)
968
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:744)
969
+ try self.eachChild({ (child: ViewBase?) throws -> Bool in
970
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:745)
971
+ try self.loadView(child)
972
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:747)
973
+ return true
974
+ })
975
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:750)
976
+ try self._emit("loaded")
977
+ }
978
+ #sourceLocation()
979
+ open func onUnloaded() throws {
980
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:755)
981
+ self.setFlag(Flags.superOnUnloadedCalled, true)
982
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:756)
983
+ if !self._isLoaded {
984
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:757)
985
+ return
986
+ }
987
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:760)
988
+ self._suspendNativeUpdates(SuspendType.Loaded)
989
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:762)
990
+ try self.eachChild({ (child: ViewBase?) throws -> Bool in
991
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:763)
992
+ try self.unloadView(child)
993
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:765)
994
+ return true
995
+ })
996
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:768)
997
+ self._isLoaded = false
998
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:769)
999
+ try jsUnwrap(self._cssState, "onUnloaded").onUnloaded()
1000
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:770)
1001
+ try self._emit("unloaded")
1002
+ }
1003
+ #sourceLocation()
1004
+ public final func onUnloaded__ViewBase() throws {
1005
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:755)
1006
+ self.setFlag(Flags.superOnUnloadedCalled, true)
1007
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:756)
1008
+ if !self._isLoaded {
1009
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:757)
1010
+ return
1011
+ }
1012
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:760)
1013
+ self._suspendNativeUpdates(SuspendType.Loaded)
1014
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:762)
1015
+ try self.eachChild({ (child: ViewBase?) throws -> Bool in
1016
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:763)
1017
+ try self.unloadView(child)
1018
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:765)
1019
+ return true
1020
+ })
1021
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:768)
1022
+ self._isLoaded = false
1023
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:769)
1024
+ try jsUnwrap(self._cssState, "onUnloaded").onUnloaded()
1025
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:770)
1026
+ try self._emit("unloaded")
1027
+ }
1028
+ #sourceLocation()
1029
+ open func _layoutParent() throws {
1030
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:774)
1031
+ if jsTruthy(self.parent) {
1032
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:775)
1033
+ try jsUnwrap(self.parent, "_layoutParent")._layoutParent()
1034
+ }
1035
+ }
1036
+ #sourceLocation()
1037
+ public final func _layoutParent__ViewBase() throws {
1038
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:774)
1039
+ if jsTruthy(self.parent) {
1040
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:775)
1041
+ try jsUnwrap(self.parent, "_layoutParent")._layoutParent()
1042
+ }
1043
+ }
1044
+ #sourceLocation()
1045
+ open func _setDefaultPaddings(_ insets: Any?) throws {
1046
+
1047
+ }
1048
+ public final func _setDefaultPaddings__ViewBase(_ insets: Any?) throws {
1049
+
1050
+ }
1051
+ open func _suspendNativeUpdates(_ type: Double) {
1052
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:784)
1053
+ if jsTruthy(type) {
1054
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:785)
1055
+ self._suspendNativeUpdatesCount = jsBitOr(self._suspendNativeUpdatesCount, type)
1056
+ } else {
1057
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:787)
1058
+ self._suspendNativeUpdatesCount += 1
1059
+ }
1060
+ }
1061
+ #sourceLocation()
1062
+ open func _resumeNativeUpdates(_ type: Double) throws {
1063
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:791)
1064
+ if jsTruthy(type) {
1065
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:792)
1066
+ self._suspendNativeUpdatesCount = jsBitAnd(self._suspendNativeUpdatesCount, jsBitNot(type))
1067
+ } else {
1068
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:794)
1069
+ if jsBitAnd(self._suspendNativeUpdatesCount, SuspendType.IncrementalCountMask) == 0 {
1070
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:795)
1071
+ throw try JSException(
1072
+ value: JSError("Invalid call to \(jsToStringThrowing(self))._resumeNativeUpdates"))
1073
+ }
1074
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:797)
1075
+ self._suspendNativeUpdatesCount -= 1
1076
+ }
1077
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:800)
1078
+ if !jsTruthy(self._suspendNativeUpdatesCount) {
1079
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:801)
1080
+ try self.onResumeNativeUpdates()
1081
+ }
1082
+ }
1083
+ #sourceLocation()
1084
+ /// Allow multiple updates to be performed on the instance at once.
1085
+ open func _batchUpdate(_ callback: @escaping () throws -> Any?) throws -> Any? {
1086
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:809)
1087
+ do {
1088
+ var __error1: Error? = nil
1089
+ var __value1: Any? = nil
1090
+ __try1: do {
1091
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:810)
1092
+ self._suspendNativeUpdates(SuspendType.Incremental)
1093
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:812)
1094
+ __value1 = try jsCallable(callback, "callback")()
1095
+ break __try1
1096
+ } catch {
1097
+ __error1 = error
1098
+ }
1099
+ do {
1100
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:814)
1101
+ try self._resumeNativeUpdates(SuspendType.Incremental)
1102
+ }
1103
+ if let __error1 { throw __error1 }
1104
+ return __value1
1105
+ }
1106
+ }
1107
+ #sourceLocation()
1108
+ open func setFlag(_ flag: String, _ value: Bool) {
1109
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:819)
1110
+ let __switch1: String = flag
1111
+ switch __switch1 {
1112
+ case _ where jsStringEquals(__switch1, Flags.superOnLoadedCalled):
1113
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:821)
1114
+ self._onLoadedCalled = value
1115
+ case _ where jsStringEquals(__switch1, Flags.superOnUnloadedCalled):
1116
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:825)
1117
+ self._onUnloadedCalled = value
1118
+ default:
1119
+ break
1120
+ }
1121
+ }
1122
+ #sourceLocation()
1123
+ open func isFlagSet(_ flag: String) -> Bool {
1124
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:831)
1125
+ let __switch2: String = flag
1126
+ switch __switch2 {
1127
+ case _ where jsStringEquals(__switch2, Flags.superOnLoadedCalled):
1128
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:833)
1129
+ return self._onLoadedCalled
1130
+ case _ where jsStringEquals(__switch2, Flags.superOnUnloadedCalled):
1131
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:836)
1132
+ return self._onUnloadedCalled
1133
+ default:
1134
+ break
1135
+ }
1136
+ return false
1137
+ }
1138
+ #sourceLocation()
1139
+ open func callFunctionWithSuper(_ flag: String, _ `func`: @escaping () throws -> Void) throws {
1140
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:841)
1141
+ self.setFlag(flag, false)
1142
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:842)
1143
+ try jsCallable(`func`, "func")()
1144
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:843)
1145
+ if !self.isFlagSet(flag) {
1146
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:844)
1147
+ throw try JSException(value: JSError("super.\(flag) not called in \(jsToStringThrowing(self))"))
1148
+ }
1149
+ }
1150
+ #sourceLocation()
1151
+ open func callLoaded() throws {
1152
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:849)
1153
+ try self.callFunctionWithSuper(
1154
+ Flags.superOnLoadedCalled,
1155
+ { () throws -> Void in
1156
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:849)
1157
+ try self.onLoaded()
1158
+ })
1159
+ }
1160
+ #sourceLocation()
1161
+ open func callUnloaded() throws {
1162
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:853)
1163
+ try self.callFunctionWithSuper(
1164
+ Flags.superOnUnloadedCalled,
1165
+ { () throws -> Void in
1166
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:853)
1167
+ try self.onUnloaded()
1168
+ })
1169
+ }
1170
+ #sourceLocation()
1171
+ open func notifyPseudoClassChanged(_ pseudoClass: String) throws {
1172
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:857)
1173
+ try self.notify(
1174
+ EventData(jsObject: EventData(jsObject: JSObject([("eventName", ":" + pseudoClass), ("object", self)]))))
1175
+ }
1176
+ #sourceLocation()
1177
+ open func addSinglePseudoClass(_ name: String) throws {
1178
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:865)
1179
+ if try !(jsUnwrap(self.cssPseudoClasses, "has").has(name)) {
1180
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:866)
1181
+ _ = try jsUnwrap(self.cssPseudoClasses, "add").add(name)
1182
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:867)
1183
+ try self.notifyPseudoClassChanged(name)
1184
+ }
1185
+ }
1186
+ #sourceLocation()
1187
+ open func deleteSinglePseudoClass(_ name: String) throws {
1188
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:872)
1189
+ if try jsUnwrap(self.cssPseudoClasses, "has").has(name) {
1190
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:873)
1191
+ _ = try jsUnwrap(self.cssPseudoClasses, "delete").delete(name)
1192
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:874)
1193
+ try self.notifyPseudoClassChanged(name)
1194
+ }
1195
+ }
1196
+ #sourceLocation()
1197
+ /// @protected
1198
+ /// @unstable
1199
+ /// A widget can call this method to add a matching css pseudo class.
1200
+ open func addPseudoClass(_ name: String) throws {
1201
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:885)
1202
+ try self.addSinglePseudoClass(name)
1203
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:887)
1204
+ let aliases: Any? = try jsUnwrap(self.pseudoClassAliases, "name")[jsKey: name]
1205
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:888)
1206
+ if jsTruthy(aliases) {
1207
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:889)
1208
+ var i: Double = 0
1209
+ let length: Any? = try jsGet(aliases, "length")
1210
+ while try jsLessThrowing(i, length) {
1211
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:890)
1212
+ try self.addSinglePseudoClass(jsConvertedString(jsGet(aliases, js(i))))
1213
+ i += 1
1214
+ }
1215
+ }
1216
+ }
1217
+ #sourceLocation()
1218
+ /// @protected
1219
+ /// @unstable
1220
+ /// A widget can call this method to discard matching css pseudo class.
1221
+ open func deletePseudoClass(_ name: String) throws {
1222
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:902)
1223
+ try self.deleteSinglePseudoClass(name)
1224
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:904)
1225
+ let aliases: Any? = try jsUnwrap(self.pseudoClassAliases, "name")[jsKey: name]
1226
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:905)
1227
+ if jsTruthy(aliases) {
1228
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:906)
1229
+ var i: Double = 0
1230
+ let length: Any? = try jsGet(aliases, "length")
1231
+ while try jsLessThrowing(i, length) {
1232
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:907)
1233
+ try self.deleteSinglePseudoClass(jsConvertedString(jsGet(aliases, js(i))))
1234
+ i += 1
1235
+ }
1236
+ }
1237
+ }
1238
+ #sourceLocation()
1239
+ open func bindingContextChanged(_ data: Any?) throws {
1240
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:913)
1241
+ try jsUnwrap(jsUnwrap(self.bindings, "get").get("bindingContext"), "bind").bind(jsGet(data, "value"))
1242
+ }
1243
+ #sourceLocation()
1244
+ open func bind(_ options: Any?, _ source: Any? = nil) throws {
1245
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:920)
1246
+ let source: Any? = source ?? Core_ui_core_view_base_index.defaultBindingSource
1247
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:921)
1248
+ let targetProperty: String = try jsConvertedString(jsGet(options, "targetProperty"))
1249
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:922)
1250
+ try self.unbind(targetProperty)
1251
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:924)
1252
+ if !jsTruthy(self.bindings) {
1253
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:925)
1254
+ self.bindings = JSMap<String, Binding>()
1255
+ }
1256
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:928)
1257
+ let binding: Binding = try Binding(self, options)
1258
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:929)
1259
+ _ = try jsUnwrap(self.bindings, "set").set(targetProperty, binding)
1260
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:931)
1261
+ var bindingSource: Any? = source
1262
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:932)
1263
+ if jsStrictEquals(bindingSource, Core_ui_core_view_base_index.defaultBindingSource) {
1264
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:933)
1265
+ bindingSource = self.bindingContext
1266
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:934)
1267
+ binding.sourceIsBindingContext = true
1268
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:935)
1269
+ if jsStringEquals(targetProperty, "bindingContext") {
1270
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:936)
1271
+ self.bindingContextBoundToParentBindingContextChanged = true
1272
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:937)
1273
+ let parent: ViewBase? = self.parent
1274
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:938)
1275
+ if jsTruthy(parent) {
1276
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:939)
1277
+ try jsUnwrap(parent, "on").on(
1278
+ "bindingContextChange",
1279
+ FunctionCell_EventDataOpt_to_Void.adapting(
1280
+ jsMethodValue(self, "bindingContextChanged") { __r, __i in
1281
+ FunctionCell_AnyOpt_to_Void(f: { [weak __r] (__p0: Any?) throws -> Void in
1282
+ guard let __r else { throw jsReleasedReceiver("bindingContextChanged") }
1283
+ try withExtendedLifetime(__i) { () throws -> Void in
1284
+ try __r.bindingContextChanged(__p0)
1285
+ }
1286
+ })
1287
+ }.f), self)
1288
+ } else {
1289
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:941)
1290
+ self.shouldAddHandlerToParentBindingContextChanged = true
1291
+ }
1292
+ }
1293
+ }
1294
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:946)
1295
+ try binding.bind(bindingSource)
1296
+ }
1297
+ #sourceLocation()
1298
+ open func unbind(_ property: String) throws {
1299
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:950)
1300
+ let bindings: JSMap<String, Binding>? = self.bindings
1301
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:951)
1302
+ if !jsTruthy(bindings) {
1303
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:952)
1304
+ return
1305
+ }
1306
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:955)
1307
+ let binding: Binding? = try jsUnwrap(bindings, "get").get(property)
1308
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:956)
1309
+ if jsTruthy(binding as Any?) {
1310
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:957)
1311
+ try jsUnwrap(binding, "unbind").unbind()
1312
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:958)
1313
+ _ = try jsUnwrap(bindings, "delete").delete(property)
1314
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:959)
1315
+ if try jsUnwrap(binding, "sourceIsBindingContext").sourceIsBindingContext {
1316
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:960)
1317
+ if jsStringEquals(property, "bindingContext") {
1318
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:961)
1319
+ self.shouldAddHandlerToParentBindingContextChanged = false
1320
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:962)
1321
+ self.bindingContextBoundToParentBindingContextChanged = false
1322
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:963)
1323
+ let parent: ViewBase? = self.parent
1324
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:964)
1325
+ if jsTruthy(parent) {
1326
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:965)
1327
+ try jsUnwrap(parent, "off").off(
1328
+ "bindingContextChange",
1329
+ FunctionCell_EventDataOpt_to_Void.adapting(
1330
+ jsMethodValue(self, "bindingContextChanged") { __r, __i in
1331
+ FunctionCell_AnyOpt_to_Void(f: { [weak __r] (__p0: Any?) throws -> Void in
1332
+ guard let __r else { throw jsReleasedReceiver("bindingContextChanged") }
1333
+ try withExtendedLifetime(__i) { () throws -> Void in
1334
+ try __r.bindingContextChanged(__p0)
1335
+ }
1336
+ })
1337
+ }.f), self)
1338
+ }
1339
+ }
1340
+ }
1341
+ }
1342
+ }
1343
+ #sourceLocation()
1344
+ open func performLayout(_ currentRun: Double = 0) throws {
1345
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:972)
1346
+ var currentRun = currentRun
1347
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:976)
1348
+ if try self._shouldDelayLayout() && currentRun < 100 {
1349
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:977)
1350
+ _ = jsSetTimeout(
1351
+ {
1352
+ jsReport({ () throws -> Void in
1353
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:977)
1354
+ try self.performLayout(currentRun)
1355
+ })
1356
+ }, currentRun)
1357
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:978)
1358
+ currentRun += 1
1359
+ } else {
1360
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:980)
1361
+ try jsUnwrap(self.parent, "requestLayout").requestLayout()
1362
+ }
1363
+ }
1364
+ #sourceLocation()
1365
+ /// Invalidates the layout of the view and triggers a new layout pass.
1366
+ open func requestLayout() throws {
1367
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:990)
1368
+ let parent: ViewBase? = self.parent
1369
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:991)
1370
+ if jsTruthy(parent) {
1371
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:992)
1372
+ try self.performLayout()
1373
+ }
1374
+ }
1375
+ #sourceLocation()
1376
+ public final func requestLayout__ViewBase() throws {
1377
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:990)
1378
+ let parent: ViewBase? = self.parent
1379
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:991)
1380
+ if jsTruthy(parent) {
1381
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:992)
1382
+ try self.performLayout()
1383
+ }
1384
+ }
1385
+ #sourceLocation()
1386
+ /// Iterates over children of type ViewBase.
1387
+ /// @param callback Called for each child of type ViewBase. Iteration stops if this method returns falsy value.
1388
+ open func eachChild(_ callback: @escaping (ViewBase?) throws -> Bool) throws {
1389
+
1390
+ }
1391
+ public final func eachChild__ViewBase(_ callback: @escaping (ViewBase?) throws -> Bool) throws {
1392
+
1393
+ }
1394
+ open func _inheritStyles(_ view: ViewBase?) throws {
1395
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1005)
1396
+ try Core_ui_core_properties_index.propagateInheritableProperties(self, view)
1397
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1006)
1398
+ try jsUnwrap(view, "_inheritStyleScope")._inheritStyleScope(self._styleScope)
1399
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1007)
1400
+ try Core_ui_core_properties_index.propagateInheritableCssProperties(self.style, jsUnwrap(view, "style").style)
1401
+ }
1402
+ #sourceLocation()
1403
+ open func _addView(_ view: ViewBase?, _ atIndex: Double? = nil) throws {
1404
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1012)
1405
+ if NativeScriptKit.Trace.isEnabled() {
1406
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1013)
1407
+ try NativeScriptKit.Trace.write(
1408
+ "\(jsToStringThrowing(self))._addView(\(jsToStringThrowing(view)), \(jsToString(atIndex as Any?)))",
1409
+ NativeScriptKit.Trace.categories.ViewHierarchy)
1410
+ }
1411
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1016)
1412
+ if !jsTruthy(view) {
1413
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1017)
1414
+ throw JSException(value: JSError("Expecting a valid View instance."))
1415
+ }
1416
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1019)
1417
+ if !(((view != nil))) {
1418
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1020)
1419
+ throw JSException(value: JSError(jsToStringDefault(view) + " is not a valid View instance."))
1420
+ }
1421
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1022)
1422
+ if try jsTruthy(jsUnwrap(view, "parent").parent) {
1423
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1023)
1424
+ throw try JSException(
1425
+ value: JSError(
1426
+ "View already has a parent. View: " + jsToStringDefaultThrowing(view) + " Parent: "
1427
+ + jsToStringDefaultThrowing(jsUnwrap(view, "parent").parent)))
1428
+ }
1429
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1026)
1430
+ try jsUnwrap(view, setting: "parent").parent = self
1431
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1027)
1432
+ try self._addViewCore(view, atIndex)
1433
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1028)
1434
+ try jsUnwrap(view, "_parentChanged")._parentChanged(nil)
1435
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1030)
1436
+ if jsTruthy(self.domNode) {
1437
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1031)
1438
+ _ = try jsCallMethod(self.domNode, "onChildAdded", jsObjectRequired(view))
1439
+ }
1440
+ }
1441
+ #sourceLocation()
1442
+ /// Method is intended to be overridden by inheritors and used as "protected"
1443
+ open func _addViewCore(_ view: ViewBase?, _ atIndex: Double? = nil) throws {
1444
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1039)
1445
+ try self._inheritStyles(view)
1446
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1041)
1447
+ if jsTruthy(self._context) {
1448
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1042)
1449
+ try jsUnwrap(view, "_setupUI")._setupUI(self._context, atIndex)
1450
+ }
1451
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1045)
1452
+ if self._isLoaded {
1453
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1046)
1454
+ try self.loadView(view)
1455
+ }
1456
+ }
1457
+ #sourceLocation()
1458
+ /// Load view.
1459
+ /// @param view to load.
1460
+ open func loadView(_ view: ViewBase?) throws {
1461
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1055)
1462
+ if try (jsTruthy(view) && !(jsUnwrap(view, "isLoaded").isLoaded)) {
1463
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1056)
1464
+ try jsUnwrap(view, "callLoaded").callLoaded()
1465
+ }
1466
+ }
1467
+ #sourceLocation()
1468
+ public final func loadView__ViewBase(_ view: ViewBase?) throws {
1469
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1055)
1470
+ if try (jsTruthy(view) && !(jsUnwrap(view, "isLoaded").isLoaded)) {
1471
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1056)
1472
+ try jsUnwrap(view, "callLoaded").callLoaded()
1473
+ }
1474
+ }
1475
+ #sourceLocation()
1476
+ /// When returning true the callLoaded method will be run in setTimeout
1477
+ /// Method is intended to be overridden by inheritors and used as "protected"
1478
+ open func _shouldDelayLayout() throws -> Bool {
1479
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1065)
1480
+ return false
1481
+ }
1482
+ #sourceLocation()
1483
+ public final func _shouldDelayLayout__ViewBase() throws -> Bool {
1484
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1065)
1485
+ return false
1486
+ }
1487
+ #sourceLocation()
1488
+ /// Unload view.
1489
+ /// @param view to unload.
1490
+ open func unloadView(_ view: ViewBase?) throws {
1491
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1073)
1492
+ if try (jsTruthy(view) && jsUnwrap(view, "isLoaded").isLoaded) {
1493
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1074)
1494
+ try jsUnwrap(view, "callUnloaded").callUnloaded()
1495
+ }
1496
+ }
1497
+ #sourceLocation()
1498
+ /// Whether a child is the one currently shown. Containers that keep several children
1499
+ /// alive but show one at a time (a TabView's items) override it for the hidden ones.
1500
+ /// @param child A direct child of this view.
1501
+ open func _isChildPresented(_ child: ViewBase?) throws -> Bool {
1502
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1084)
1503
+ return true
1504
+ }
1505
+ #sourceLocation()
1506
+ public final func _isChildPresented__ViewBase(_ child: ViewBase?) throws -> Bool {
1507
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1084)
1508
+ return true
1509
+ }
1510
+ #sourceLocation()
1511
+ /// Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation.
1512
+ open func _removeView(_ view: ViewBase?) throws {
1513
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1091)
1514
+ if NativeScriptKit.Trace.isEnabled() {
1515
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1092)
1516
+ try NativeScriptKit.Trace.write(
1517
+ "\(jsToStringThrowing(self))._removeView(\(jsToStringThrowing(view)))",
1518
+ NativeScriptKit.Trace.categories.ViewHierarchy)
1519
+ }
1520
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1095)
1521
+ if try jsUnwrap(view, "parent").parent !== self {
1522
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1096)
1523
+ throw try JSException(
1524
+ value: JSError(
1525
+ "View not added to this instance. View: " + jsToStringDefaultThrowing(view) + " CurrentParent: "
1526
+ + jsToStringDefaultThrowing(jsUnwrap(view, "parent").parent) + " ExpectedParent: "
1527
+ + jsToStringDefaultThrowing(self)))
1528
+ }
1529
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1099)
1530
+ if jsTruthy(self.domNode) {
1531
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1100)
1532
+ _ = try jsCallMethod(self.domNode, "onChildRemoved", jsObjectRequired(view))
1533
+ }
1534
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1103)
1535
+ try self._removeViewCore(view)
1536
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1104)
1537
+ try jsUnwrap(view, setting: "parent").parent = nil
1538
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1105)
1539
+ try jsUnwrap(view, "_parentChanged")._parentChanged(self)
1540
+ }
1541
+ #sourceLocation()
1542
+ /// Method is intended to be overridden by inheritors and used as "protected"
1543
+ open func _removeViewCore(_ view: ViewBase?) throws {
1544
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1112)
1545
+ try self.unloadView(view)
1546
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1114)
1547
+ if try jsTruthy(jsUnwrap(view, "_context")._context) {
1548
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1115)
1549
+ try jsUnwrap(view, "_tearDownUI")._tearDownUI()
1550
+ }
1551
+ }
1552
+ #sourceLocation()
1553
+ /// Creates a native view.
1554
+ /// Returns either android.view.View or UIView.
1555
+ open func createNativeView() throws -> Any? {
1556
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1124)
1557
+ return nil
1558
+ }
1559
+ #sourceLocation()
1560
+ public final func createNativeView__ViewBase() throws -> Any? {
1561
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1124)
1562
+ return nil
1563
+ }
1564
+ #sourceLocation()
1565
+ /// Clean up references to the native view.
1566
+ open func disposeNativeView() throws {
1567
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1132)
1568
+ self._oldLeft = 0
1569
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1133)
1570
+ self._oldTop = 0
1571
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1134)
1572
+ self._oldRight = 0
1573
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1135)
1574
+ self._oldBottom = 0
1575
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1137)
1576
+ try self.notify(
1577
+ EventData(
1578
+ jsObject: EventData(
1579
+ jsObject: JSObject([("eventName", ViewBase.disposeNativeViewEvent), ("object", self)]))))
1580
+ }
1581
+ #sourceLocation()
1582
+ public final func disposeNativeView__ViewBase() throws {
1583
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1132)
1584
+ self._oldLeft = 0
1585
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1133)
1586
+ self._oldTop = 0
1587
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1134)
1588
+ self._oldRight = 0
1589
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1135)
1590
+ self._oldBottom = 0
1591
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1137)
1592
+ try self.notify(
1593
+ EventData(
1594
+ jsObject: EventData(
1595
+ jsObject: JSObject([("eventName", ViewBase.disposeNativeViewEvent), ("object", self)]))))
1596
+ }
1597
+ #sourceLocation()
1598
+ /// Initializes properties/listeners of the native view.
1599
+ open func initNativeView() throws {
1600
+
1601
+ }
1602
+ public final func initNativeView__ViewBase() throws {
1603
+
1604
+ }
1605
+ /// Resets properties/listeners set to the native view.
1606
+ open func resetNativeView() throws {
1607
+
1608
+ }
1609
+ public final func resetNativeView__ViewBase() throws {
1610
+
1611
+ }
1612
+ open func resetNativeViewInternal() {
1613
+
1614
+ }
1615
+ open func _setupAsRootView(_ context: Any?) throws {
1616
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1177)
1617
+ self._isRootView = true
1618
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1178)
1619
+ try self._setupUI(context)
1620
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1179)
1621
+ self._isRootView = false
1622
+ }
1623
+ #sourceLocation()
1624
+ public final func _setupAsRootView__ViewBase(_ context: Any?) throws {
1625
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1177)
1626
+ self._isRootView = true
1627
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1178)
1628
+ try self._setupUI(context)
1629
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1179)
1630
+ self._isRootView = false
1631
+ }
1632
+ #sourceLocation()
1633
+ /// Setups the UI for ViewBase and all its children recursively.
1634
+ /// This method should *not* be overridden by derived views.
1635
+ open func _setupUI(_ context: Any?, _ atIndex: Double? = nil, _ parentIsLoaded: Bool? = nil) throws {
1636
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1188)
1637
+ if jsStrictEquals(self._context, context) {
1638
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1191)
1639
+ if self.reusable {
1640
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1192)
1641
+ if (!self._isRootView && jsTruthy(self.parent)) && !self._isAddedToNativeVisualTree {
1642
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1193)
1643
+ let nativeIndex: Double? = try jsUnwrap(self.parent, "_childIndexToNativeChildIndex")
1644
+ ._childIndexToNativeChildIndex(atIndex)
1645
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1194)
1646
+ self._isAddedToNativeVisualTree = try jsUnwrap(self.parent, "_addViewToNativeVisualTree")
1647
+ ._addViewToNativeVisualTree(self, nativeIndex)
1648
+ }
1649
+ }
1650
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1197)
1651
+ return
1652
+ } else if jsTruthy(self._context) {
1653
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1199)
1654
+ try self._tearDownUI(true)
1655
+ }
1656
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1202)
1657
+ self._context = context
1658
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1206)
1659
+ var nativeView: Any? = self.nativeViewProtected
1660
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1214)
1661
+ if !jsTruthy(nativeView) {
1662
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1215)
1663
+ nativeView = try self.createNativeView()
1664
+ }
1665
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1245)
1666
+ self._iosView = nativeView
1667
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1248)
1668
+ try self.setNativeView(nativeView)
1669
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1250)
1670
+ if !self._isRootView && jsTruthy(self.parent) {
1671
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1251)
1672
+ let nativeIndex: Double? = try jsUnwrap(self.parent, "_childIndexToNativeChildIndex")
1673
+ ._childIndexToNativeChildIndex(atIndex)
1674
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1252)
1675
+ self._isAddedToNativeVisualTree = try jsUnwrap(self.parent, "_addViewToNativeVisualTree")
1676
+ ._addViewToNativeVisualTree(self, nativeIndex)
1677
+ }
1678
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1255)
1679
+ try self._resumeNativeUpdates(SuspendType.UISetup)
1680
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1257)
1681
+ try self.eachChild({ (child: ViewBase?) throws -> Bool in
1682
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1258)
1683
+ try jsUnwrap(child, "_setupUI")._setupUI(context)
1684
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1260)
1685
+ return true
1686
+ })
1687
+ }
1688
+ #sourceLocation()
1689
+ public final func _setupUI__ViewBase(_ context: Any?, _ atIndex: Double? = nil, _ parentIsLoaded: Bool? = nil)
1690
+ throws
1691
+ {
1692
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1188)
1693
+ if jsStrictEquals(self._context, context) {
1694
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1191)
1695
+ if self.reusable {
1696
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1192)
1697
+ if (!self._isRootView && jsTruthy(self.parent)) && !self._isAddedToNativeVisualTree {
1698
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1193)
1699
+ let nativeIndex: Double? = try jsUnwrap(self.parent, "_childIndexToNativeChildIndex")
1700
+ ._childIndexToNativeChildIndex(atIndex)
1701
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1194)
1702
+ self._isAddedToNativeVisualTree = try jsUnwrap(self.parent, "_addViewToNativeVisualTree")
1703
+ ._addViewToNativeVisualTree(self, nativeIndex)
1704
+ }
1705
+ }
1706
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1197)
1707
+ return
1708
+ } else if jsTruthy(self._context) {
1709
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1199)
1710
+ try self._tearDownUI(true)
1711
+ }
1712
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1202)
1713
+ self._context = context
1714
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1206)
1715
+ var nativeView: Any? = self.nativeViewProtected
1716
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1214)
1717
+ if !jsTruthy(nativeView) {
1718
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1215)
1719
+ nativeView = try self.createNativeView()
1720
+ }
1721
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1245)
1722
+ self._iosView = nativeView
1723
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1248)
1724
+ try self.setNativeView(nativeView)
1725
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1250)
1726
+ if !self._isRootView && jsTruthy(self.parent) {
1727
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1251)
1728
+ let nativeIndex: Double? = try jsUnwrap(self.parent, "_childIndexToNativeChildIndex")
1729
+ ._childIndexToNativeChildIndex(atIndex)
1730
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1252)
1731
+ self._isAddedToNativeVisualTree = try jsUnwrap(self.parent, "_addViewToNativeVisualTree")
1732
+ ._addViewToNativeVisualTree(self, nativeIndex)
1733
+ }
1734
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1255)
1735
+ try self._resumeNativeUpdates(SuspendType.UISetup)
1736
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1257)
1737
+ try self.eachChild({ (child: ViewBase?) throws -> Bool in
1738
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1258)
1739
+ try jsUnwrap(child, "_setupUI")._setupUI(context)
1740
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1260)
1741
+ return true
1742
+ })
1743
+ }
1744
+ #sourceLocation()
1745
+ /// Set the nativeView field performing extra checks and updates to the native properties on the new view.
1746
+ /// Use in cases where the createNativeView is not suitable.
1747
+ /// As an example use in item controls where the native parent view will create the native views for child items.
1748
+ open func setNativeView(_ value: Any?) throws {
1749
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1270)
1750
+ if jsStrictEquals(self.__nativeView, value) {
1751
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1271)
1752
+ return
1753
+ }
1754
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1274)
1755
+ if jsTruthy(self.__nativeView) {
1756
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1275)
1757
+ self._suspendNativeUpdates(SuspendType.NativeView)
1758
+ }
1759
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1279)
1760
+ do {
1761
+ self.nativeViewProtected = value
1762
+ self.__nativeView = value
1763
+ }
1764
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1280)
1765
+ if jsTruthy(self.__nativeView) {
1766
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1281)
1767
+ self._suspendedUpdates = nil
1768
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1282)
1769
+ try self.initNativeView()
1770
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1283)
1771
+ try self._resumeNativeUpdates(SuspendType.NativeView)
1772
+ }
1773
+ }
1774
+ #sourceLocation()
1775
+ /// Tears down the UI of a reusable node by making it no longer reusable.
1776
+ /// @see _tearDownUI
1777
+ /// @param forceDestroyChildren Force destroy the children (even if they are reusable)
1778
+ open func destroyNode(_ forceDestroyChildren: Bool? = nil) throws {
1779
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1293)
1780
+ self.reusable = false
1781
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1294)
1782
+ try self.unloadView(self)
1783
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1295)
1784
+ try self._tearDownUI(forceDestroyChildren)
1785
+ }
1786
+ #sourceLocation()
1787
+ /// Tears down the UI for ViewBase and all its children recursively.
1788
+ /// This method should *not* be overridden by derived views.
1789
+ open func _tearDownUI(_ force: Bool? = nil) throws {
1790
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1305)
1791
+ if !jsTruthy(self._context) {
1792
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1306)
1793
+ return
1794
+ }
1795
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1308)
1796
+ let preserveNativeView: Bool = self.reusable && !jsTruthy(force as Any?)
1797
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1310)
1798
+ self.resetNativeViewInternal()
1799
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1312)
1800
+ if !preserveNativeView {
1801
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1313)
1802
+ try self.eachChild({ (child: ViewBase?) throws -> Bool in
1803
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1316)
1804
+ try jsUnwrap(child, "_tearDownUI")._tearDownUI(true)
1805
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1318)
1806
+ return true
1807
+ })
1808
+ }
1809
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1322)
1810
+ if jsTruthy(self.parent) {
1811
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1323)
1812
+ try jsUnwrap(self.parent, "_removeViewFromNativeVisualTree")._removeViewFromNativeVisualTree(self)
1813
+ }
1814
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1345)
1815
+ if !preserveNativeView {
1816
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1346)
1817
+ try self.disposeNativeView()
1818
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1348)
1819
+ self._suspendNativeUpdates(SuspendType.UISetup)
1820
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1350)
1821
+ try self.setNativeView(jsNull)
1822
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1351)
1823
+ self._androidView = jsNull
1824
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1352)
1825
+ self._iosView = jsNull
1826
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1354)
1827
+ self._context = jsNull
1828
+ }
1829
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1357)
1830
+ if jsTruthy(self.domNode) {
1831
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1358)
1832
+ _ = try jsCallMethod(self.domNode, "dispose")
1833
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1359)
1834
+ self.domNode = nil
1835
+ }
1836
+ }
1837
+ #sourceLocation()
1838
+ public final func _tearDownUI__ViewBase(_ force: Bool? = nil) throws {
1839
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1305)
1840
+ if !jsTruthy(self._context) {
1841
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1306)
1842
+ return
1843
+ }
1844
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1308)
1845
+ let preserveNativeView: Bool = self.reusable && !jsTruthy(force as Any?)
1846
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1310)
1847
+ self.resetNativeViewInternal()
1848
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1312)
1849
+ if !preserveNativeView {
1850
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1313)
1851
+ try self.eachChild({ (child: ViewBase?) throws -> Bool in
1852
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1316)
1853
+ try jsUnwrap(child, "_tearDownUI")._tearDownUI(true)
1854
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1318)
1855
+ return true
1856
+ })
1857
+ }
1858
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1322)
1859
+ if jsTruthy(self.parent) {
1860
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1323)
1861
+ try jsUnwrap(self.parent, "_removeViewFromNativeVisualTree")._removeViewFromNativeVisualTree(self)
1862
+ }
1863
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1345)
1864
+ if !preserveNativeView {
1865
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1346)
1866
+ try self.disposeNativeView()
1867
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1348)
1868
+ self._suspendNativeUpdates(SuspendType.UISetup)
1869
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1350)
1870
+ try self.setNativeView(jsNull)
1871
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1351)
1872
+ self._androidView = jsNull
1873
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1352)
1874
+ self._iosView = jsNull
1875
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1354)
1876
+ self._context = jsNull
1877
+ }
1878
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1357)
1879
+ if jsTruthy(self.domNode) {
1880
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1358)
1881
+ _ = try jsCallMethod(self.domNode, "dispose")
1882
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1359)
1883
+ self.domNode = nil
1884
+ }
1885
+ }
1886
+ #sourceLocation()
1887
+ open func _childIndexToNativeChildIndex(_ index: Double? = nil) throws -> Double? {
1888
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1364)
1889
+ return index
1890
+ }
1891
+ #sourceLocation()
1892
+ public final func _childIndexToNativeChildIndex__ViewBase(_ index: Double? = nil) throws -> Double? {
1893
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1364)
1894
+ return index
1895
+ }
1896
+ #sourceLocation()
1897
+ /// Performs the core logic of adding a child view to the native visual tree. Returns true if the view's native representation has been successfully added, false otherwise.
1898
+ /// Method is intended to be overridden by inheritors and used as "protected".
1899
+ open func _addViewToNativeVisualTree(_ view: ViewBase?, _ atIndex: Double? = nil) throws -> Bool {
1900
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1372)
1901
+ if try jsUnwrap(view, "_isAddedToNativeVisualTree")._isAddedToNativeVisualTree {
1902
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1373)
1903
+ throw JSException(value: JSError("Child already added to the native visual tree."))
1904
+ }
1905
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1376)
1906
+ return true
1907
+ }
1908
+ #sourceLocation()
1909
+ public final func _addViewToNativeVisualTree__ViewBase(_ view: ViewBase?, _ atIndex: Double? = nil) throws -> Bool {
1910
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1372)
1911
+ if try jsUnwrap(view, "_isAddedToNativeVisualTree")._isAddedToNativeVisualTree {
1912
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1373)
1913
+ throw JSException(value: JSError("Child already added to the native visual tree."))
1914
+ }
1915
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1376)
1916
+ return true
1917
+ }
1918
+ #sourceLocation()
1919
+ /// Method is intended to be overridden by inheritors and used as "protected"
1920
+ open func _removeViewFromNativeVisualTree(_ view: ViewBase?) throws {
1921
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1383)
1922
+ try jsUnwrap(view, setting: "_isAddedToNativeVisualTree")._isAddedToNativeVisualTree = false
1923
+ }
1924
+ #sourceLocation()
1925
+ public final func _removeViewFromNativeVisualTree__ViewBase(_ view: ViewBase?) throws {
1926
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1383)
1927
+ try jsUnwrap(view, setting: "_isAddedToNativeVisualTree")._isAddedToNativeVisualTree = false
1928
+ }
1929
+ #sourceLocation()
1930
+ open func _addVisualState(_ state: String) throws {
1931
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1394)
1932
+ try self.deletePseudoClass(self.defaultVisualState)
1933
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1395)
1934
+ try self.addPseudoClass(state)
1935
+ }
1936
+ #sourceLocation()
1937
+ open func _removeVisualState(_ state: String) throws {
1938
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1399)
1939
+ try self.deletePseudoClass(state)
1940
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1401)
1941
+ if try !(jsTruthy(jsUnwrap(self.cssPseudoClasses, "size").size)) {
1942
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1402)
1943
+ try self.addPseudoClass(self.defaultVisualState)
1944
+ }
1945
+ }
1946
+ #sourceLocation()
1947
+ /// @deprecated Use View._addVisualState() and View._removeVisualState() instead.
1948
+ open func _goToVisualState(_ state: String) throws {
1949
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1410)
1950
+ jsLog("_goToVisualState() is deprecated. Use View._addVisualState() and View._removeVisualState() instead.")
1951
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1412)
1952
+ if NativeScriptKit.Trace.isEnabled() {
1953
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1413)
1954
+ try NativeScriptKit.Trace.write(
1955
+ jsToStringDefaultThrowing(self) + " going to state: " + state, NativeScriptKit.Trace.categories.Style)
1956
+ }
1957
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1416)
1958
+ if jsStringEquals(state, self._visualState) {
1959
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1417)
1960
+ return
1961
+ }
1962
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1420)
1963
+ try self.deletePseudoClass(self._visualState)
1964
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1421)
1965
+ self._visualState = state
1966
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1422)
1967
+ try self.addPseudoClass(state)
1968
+ }
1969
+ #sourceLocation()
1970
+ /// @deprecated
1971
+ ///
1972
+ /// This used to be the way to set attribute values in early {N} versions.
1973
+ /// Now attributes are expected to be set as plain properties on the view instances.
1974
+ open func _applyXmlAttribute(_ attribute: String, _ value: String) -> Bool {
1975
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1432)
1976
+ jsLog("ViewBase._applyXmlAttribute(...) is deprecated; set attributes as plain properties instead")
1977
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1434)
1978
+ if jsStringEquals(attribute, "style") || jsStringEquals(attribute, "rows")
1979
+ || jsStringEquals(attribute, "columns") || jsStringEquals(attribute, "fontAttributes")
1980
+ {
1981
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1435)
1982
+ self[jsKey: attribute] = value
1983
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1437)
1984
+ return true
1985
+ }
1986
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1440)
1987
+ return false
1988
+ }
1989
+ #sourceLocation()
1990
+ open func setInlineStyle(_ style: String) throws {
1991
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1448)
1992
+ _ = try jsCall(Core_ui_styling_style_scope.applyInlineStyle, self, style, nil)
1993
+ }
1994
+ #sourceLocation()
1995
+ open func _parentChanged(_ oldParent: ViewBase?) throws {
1996
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1452)
1997
+ let newParent: ViewBase? = self.parent
1998
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1455)
1999
+ if jsTruthy(oldParent) {
2000
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1456)
2001
+ try Core_ui_core_properties_index.clearInheritedProperties(self)
2002
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1457)
2003
+ if self.bindingContextBoundToParentBindingContextChanged {
2004
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1458)
2005
+ try jsUnwrap(oldParent, "off").off(
2006
+ "bindingContextChange",
2007
+ FunctionCell_EventDataOpt_to_Void.adapting(
2008
+ jsMethodValue(self, "bindingContextChanged") { __r, __i in
2009
+ FunctionCell_AnyOpt_to_Void(f: { [weak __r] (__p0: Any?) throws -> Void in
2010
+ guard let __r else { throw jsReleasedReceiver("bindingContextChanged") }
2011
+ try withExtendedLifetime(__i) { () throws -> Void in try __r.bindingContextChanged(__p0)
2012
+ }
2013
+ })
2014
+ }.f), self)
2015
+ }
2016
+ } else if self.shouldAddHandlerToParentBindingContextChanged {
2017
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1461)
2018
+ try jsUnwrap(newParent, "on").on(
2019
+ "bindingContextChange",
2020
+ FunctionCell_EventDataOpt_to_Void.adapting(
2021
+ jsMethodValue(self, "bindingContextChanged") { __r, __i in
2022
+ FunctionCell_AnyOpt_to_Void(f: { [weak __r] (__p0: Any?) throws -> Void in
2023
+ guard let __r else { throw jsReleasedReceiver("bindingContextChanged") }
2024
+ try withExtendedLifetime(__i) { () throws -> Void in try __r.bindingContextChanged(__p0) }
2025
+ })
2026
+ }.f), self)
2027
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1462)
2028
+ try jsUnwrap(jsUnwrap(self.bindings, "get").get("bindingContext"), "bind").bind(
2029
+ jsUnwrap(newParent, "bindingContext").bindingContext)
2030
+ }
2031
+ }
2032
+ #sourceLocation()
2033
+ public final func _parentChanged__ViewBase(_ oldParent: ViewBase?) throws {
2034
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1452)
2035
+ let newParent: ViewBase? = self.parent
2036
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1455)
2037
+ if jsTruthy(oldParent) {
2038
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1456)
2039
+ try Core_ui_core_properties_index.clearInheritedProperties(self)
2040
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1457)
2041
+ if self.bindingContextBoundToParentBindingContextChanged {
2042
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1458)
2043
+ try jsUnwrap(oldParent, "off").off(
2044
+ "bindingContextChange",
2045
+ FunctionCell_EventDataOpt_to_Void.adapting(
2046
+ jsMethodValue(self, "bindingContextChanged") { __r, __i in
2047
+ FunctionCell_AnyOpt_to_Void(f: { [weak __r] (__p0: Any?) throws -> Void in
2048
+ guard let __r else { throw jsReleasedReceiver("bindingContextChanged") }
2049
+ try withExtendedLifetime(__i) { () throws -> Void in try __r.bindingContextChanged(__p0)
2050
+ }
2051
+ })
2052
+ }.f), self)
2053
+ }
2054
+ } else if self.shouldAddHandlerToParentBindingContextChanged {
2055
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1461)
2056
+ try jsUnwrap(newParent, "on").on(
2057
+ "bindingContextChange",
2058
+ FunctionCell_EventDataOpt_to_Void.adapting(
2059
+ jsMethodValue(self, "bindingContextChanged") { __r, __i in
2060
+ FunctionCell_AnyOpt_to_Void(f: { [weak __r] (__p0: Any?) throws -> Void in
2061
+ guard let __r else { throw jsReleasedReceiver("bindingContextChanged") }
2062
+ try withExtendedLifetime(__i) { () throws -> Void in try __r.bindingContextChanged(__p0) }
2063
+ })
2064
+ }.f), self)
2065
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1462)
2066
+ try jsUnwrap(jsUnwrap(self.bindings, "get").get("bindingContext"), "bind").bind(
2067
+ jsUnwrap(newParent, "bindingContext").bindingContext)
2068
+ }
2069
+ }
2070
+ #sourceLocation()
2071
+ open func onResumeNativeUpdates() throws {
2072
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1468)
2073
+ _ = try jsCall(Core_ui_core_properties_index.initNativeView, self, nil, nil)
2074
+ }
2075
+ #sourceLocation()
2076
+ public final func onResumeNativeUpdates__ViewBase() throws {
2077
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1468)
2078
+ _ = try jsCall(Core_ui_core_properties_index.initNativeView, self, nil, nil)
2079
+ }
2080
+ #sourceLocation()
2081
+ open func toString() throws -> String {
2082
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1472)
2083
+ var str: String = try self.typeName
2084
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1473)
2085
+ if jsTruthy(self.id) {
2086
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1474)
2087
+ str += "<\(self.id)>"
2088
+ } else {
2089
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1476)
2090
+ str += "(\(js(self._domId)))"
2091
+ }
2092
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1478)
2093
+ let source: Source__debug_source? = try Source__debug_source.get(self)
2094
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1479)
2095
+ if jsTruthy(source) {
2096
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1480)
2097
+ str += "@\(jsToString(source));"
2098
+ }
2099
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1483)
2100
+ return str
2101
+ }
2102
+ #sourceLocation()
2103
+ public final func toString__ViewBase() throws -> String {
2104
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1472)
2105
+ var str: String = try self.typeName
2106
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1473)
2107
+ if jsTruthy(self.id) {
2108
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1474)
2109
+ str += "<\(self.id)>"
2110
+ } else {
2111
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1476)
2112
+ str += "(\(js(self._domId)))"
2113
+ }
2114
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1478)
2115
+ let source: Source__debug_source? = try Source__debug_source.get(self)
2116
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1479)
2117
+ if jsTruthy(source) {
2118
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1480)
2119
+ str += "@\(jsToString(source));"
2120
+ }
2121
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1483)
2122
+ return str
2123
+ }
2124
+ #sourceLocation()
2125
+ /// @private
2126
+ /// Notifies each child's css state for change, recursively.
2127
+ /// Either the style scope, className or id properties were changed.
2128
+ open func _onCssStateChange() throws {
2129
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1492)
2130
+ try jsUnwrap(self._cssState, "onChange").onChange()
2131
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1493)
2132
+ try Core_ui_core_view_base_index.eachDescendant(
2133
+ self,
2134
+ { (child: ViewBase?) throws -> Bool in
2135
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1494)
2136
+ try jsUnwrap(jsUnwrap(child, "_cssState")._cssState, "onChange").onChange()
2137
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1496)
2138
+ return true
2139
+ })
2140
+ }
2141
+ #sourceLocation()
2142
+ open func _inheritStyleScope(_ styleScope: StyleScope?) throws {
2143
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1503)
2144
+ if self._isStyleScopeHost {
2145
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1504)
2146
+ return
2147
+ }
2148
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1507)
2149
+ if self._styleScope !== styleScope {
2150
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1508)
2151
+ self._styleScope = styleScope
2152
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1509)
2153
+ try self._onCssStateChange()
2154
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1510)
2155
+ try self.eachChild({ (child: ViewBase?) throws -> Bool in
2156
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1511)
2157
+ try jsUnwrap(child, "_inheritStyleScope")._inheritStyleScope(styleScope)
2158
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1513)
2159
+ return true
2160
+ })
2161
+ }
2162
+ }
2163
+ #sourceLocation()
2164
+ /// Shows the view passed as parameter as a modal view.
2165
+ /// @param view - View instance to be shown modally.
2166
+ /// @param modalOptions - A ShowModalOptions instance
2167
+ /// Shows the View contained in moduleName as a modal view.
2168
+ /// @param moduleName - The name of the module to load starting from the application root.
2169
+ /// @param modalOptions - A ShowModalOptions instance
2170
+ open func showModal(_ moduleOrView: Any?, _ modalOptions: Any? = nil) throws -> ViewBase? {
2171
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1532)
2172
+ let parent: ViewBase? = self.parent
2173
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1534)
2174
+ return try jsImplicit(
2175
+ ({ () throws -> ViewBase? in
2176
+ let __v_2 = parent
2177
+ return jsTruthy(__v_2)
2178
+ ? try jsUnwrap(parent, "showModal").showModal(
2179
+ (jsCastPresent(moduleOrView) as ViewBase), modalOptions) : nil
2180
+ }()))
2181
+ }
2182
+ #sourceLocation()
2183
+ public final func showModal__ViewBase(_ moduleOrView: Any?, _ modalOptions: Any? = nil) throws -> ViewBase? {
2184
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1532)
2185
+ let parent: ViewBase? = self.parent
2186
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1534)
2187
+ return try jsImplicit(
2188
+ ({ () throws -> ViewBase? in
2189
+ let __v_3 = parent
2190
+ return jsTruthy(__v_3)
2191
+ ? try jsUnwrap(parent, "showModal").showModal(
2192
+ (jsCastPresent(moduleOrView) as ViewBase), modalOptions) : nil
2193
+ }()))
2194
+ }
2195
+ #sourceLocation()
2196
+ /// Closes the current modal view that this page is showing.
2197
+ /// @param context - Any context you want to pass back to the host when closing the modal view.
2198
+ open func closeModal(_ args: JSArray<Any?>) throws {
2199
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1542)
2200
+ let parent: ViewBase? = self.parent
2201
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1543)
2202
+ if jsTruthy(parent) {
2203
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1544)
2204
+ try jsUnwrap(parent, "closeModal").closeModal(
2205
+ JSArray<Any?>(Array(jsIterated(args, "args is not iterable"))))
2206
+ }
2207
+ }
2208
+ #sourceLocation()
2209
+ public final func closeModal__ViewBase(_ args: JSArray<Any?>) throws {
2210
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1542)
2211
+ let parent: ViewBase? = self.parent
2212
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1543)
2213
+ if jsTruthy(parent) {
2214
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1544)
2215
+ try jsUnwrap(parent, "closeModal").closeModal(
2216
+ JSArray<Any?>(Array(jsIterated(args, "args is not iterable"))))
2217
+ }
2218
+ }
2219
+ #sourceLocation()
2220
+ /// Method is intended to be overridden by inheritors and used as "protected"
2221
+ open func _dialogClosed() throws {
2222
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1552)
2223
+ try self.eachChild({ (child: ViewBase?) throws -> Bool in
2224
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1553)
2225
+ try jsUnwrap(child, "_dialogClosed")._dialogClosed()
2226
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1555)
2227
+ return true
2228
+ })
2229
+ }
2230
+ #sourceLocation()
2231
+ public final func _dialogClosed__ViewBase() throws {
2232
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1552)
2233
+ try self.eachChild({ (child: ViewBase?) throws -> Bool in
2234
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1553)
2235
+ try jsUnwrap(child, "_dialogClosed")._dialogClosed()
2236
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1555)
2237
+ return true
2238
+ })
2239
+ }
2240
+ #sourceLocation()
2241
+ /// Method is intended to be overridden by inheritors and used as "protected"
2242
+ open func _onRootViewReset() throws {
2243
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1563)
2244
+ try self.eachChild({ (child: ViewBase?) throws -> Bool in
2245
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1564)
2246
+ try jsUnwrap(child, "_onRootViewReset")._onRootViewReset()
2247
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1566)
2248
+ return true
2249
+ })
2250
+ }
2251
+ #sourceLocation()
2252
+ public final func _onRootViewReset__ViewBase() throws {
2253
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1563)
2254
+ try self.eachChild({ (child: ViewBase?) throws -> Bool in
2255
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1564)
2256
+ try jsUnwrap(child, "_onRootViewReset")._onRootViewReset()
2257
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1566)
2258
+ return true
2259
+ })
2260
+ }
2261
+ #sourceLocation()
2262
+ open override class func jsConstruct(_ __a: [Any?]) throws -> Any? { try ViewBase() }
2263
+ open override var jsDeclaredKeys: [String] {
2264
+ super.jsDeclaredKeys + ["_onLoadedCalled"] + ["_onUnloadedCalled"] + ["_isRootView"] + ["_effectivePaddingTop"]
2265
+ + ["_effectivePaddingRight"] + ["_effectivePaddingBottom"] + ["_effectivePaddingLeft"] + [
2266
+ "_defaultPaddingTop"
2267
+ ] + ["_defaultPaddingRight"] + ["_defaultPaddingBottom"] + ["_defaultPaddingLeft"] + ["_cssState"] + [
2268
+ "pseudoClassAliases"
2269
+ ] + (jsMadeBits0 & (1 << 1) != 0 ? ["_iosView"] : [])
2270
+ + (jsMadeBits0 & (1 << 2) != 0 ? ["_androidView"] : []) + (jsMadeBits0 & (1 << 3) != 0 ? ["_style"] : [])
2271
+ + (jsMadeBits0 & (1 << 4) != 0 ? ["_isLoaded"] : [])
2272
+ + (jsMadeBits0 & (1 << 5) != 0 ? ["_isPaddingRelative"] : [])
2273
+ + (jsMadeBits0 & (1 << 6) != 0 ? ["_visualState"] : [])
2274
+ + (jsMadeBits0 & (1 << 7) != 0 ? ["_templateParent"] : [])
2275
+ + (jsMadeBits0 & (1 << 8) != 0 ? ["__nativeView"] : []) + (jsMadeBits0 & (1 << 9) != 0 ? ["domNode"] : [])
2276
+ + (jsMadeBits0 & (1 << 10) != 0 ? ["recycleNativeView"] : [])
2277
+ + (jsMadeBits0 & (1 << 11) != 0 ? ["viewController"] : [])
2278
+ + (jsMadeBits0 & (1 << 13) != 0 ? ["nativeViewProtected"] : [])
2279
+ + (jsMadeBits0 & (1 << 14) != 0 ? ["parent"] : []) + (jsMadeBits0 & (1 << 15) != 0 ? ["isCollapsed"] : [])
2280
+ + (jsMadeBits0 & (1 << 19) != 0 ? ["sharedTransitionTag"] : [])
2281
+ + (jsMadeBits0 & (1 << 20) != 0 ? ["sharedTransitionIgnore"] : [])
2282
+ + (jsMadeBits0 & (1 << 21) != 0 ? ["_domId"] : []) + (jsMadeBits0 & (1 << 22) != 0 ? ["_context"] : [])
2283
+ + (jsMadeBits0 & (1 << 23) != 0 ? ["_isAddedToNativeVisualTree"] : [])
2284
+ + (jsMadeBits0 & (1 << 24) != 0 ? ["_styleScope"] : [])
2285
+ + (jsMadeBits0 & (1 << 25) != 0 ? ["_suspendedUpdates"] : [])
2286
+ + (jsMadeBits0 & (1 << 26) != 0 ? ["_suspendNativeUpdatesCount"] : [])
2287
+ + (jsMadeBits0 & (1 << 27) != 0 ? ["_isStyleScopeHost"] : [])
2288
+ + (jsMadeBits0 & (1 << 28) != 0 ? ["_automaticallyAdjustsScrollViewInsets"] : [])
2289
+ + (jsMadeBits0 & (1 << 31) != 0 ? ["effectiveLeft"] : [])
2290
+ + (jsMadeBits0 & (1 << 32) != 0 ? ["effectiveTop"] : [])
2291
+ + (jsMadeBits0 & (1 << 45) != 0 ? ["_oldLeft"] : []) + (jsMadeBits0 & (1 << 46) != 0 ? ["_oldTop"] : [])
2292
+ + (jsMadeBits0 & (1 << 47) != 0 ? ["_oldRight"] : []) + (jsMadeBits0 & (1 << 48) != 0 ? ["_oldBottom"] : [])
2293
+ + (jsMadeBits0 & (1 << 49) != 0 ? ["_ignoreFlexMinWidthHeightReset"] : [])
2294
+ + (jsMadeBits0 & (1 << 50) != 0 ? ["effectiveMinWidth"] : [])
2295
+ + (jsMadeBits0 & (1 << 51) != 0 ? ["effectiveMinHeight"] : [])
2296
+ + (jsMadeBits0 & (1 << 52) != 0 ? ["effectiveMaxWidth"] : [])
2297
+ + (jsMadeBits0 & (1 << 53) != 0 ? ["effectiveMaxHeight"] : [])
2298
+ + (jsMadeBits0 & (1 << 54) != 0 ? ["effectiveWidth"] : [])
2299
+ + (jsMadeBits0 & (1 << 55) != 0 ? ["effectiveHeight"] : [])
2300
+ + (jsMadeBits0 & (1 << 56) != 0 ? ["effectiveMarginTop"] : [])
2301
+ + (jsMadeBits0 & (1 << 57) != 0 ? ["effectiveMarginRight"] : [])
2302
+ + (jsMadeBits0 & (1 << 58) != 0 ? ["effectiveMarginBottom"] : [])
2303
+ + (jsMadeBits0 & (1 << 59) != 0 ? ["effectiveMarginLeft"] : [])
2304
+ + (jsMadeBits0 & (1 << 60) != 0 ? ["effectiveBorderTopWidth"] : [])
2305
+ + (jsMadeBits0 & (1 << 61) != 0 ? ["effectiveBorderRightWidth"] : [])
2306
+ + (jsMadeBits0 & (1 << 62) != 0 ? ["effectiveBorderBottomWidth"] : [])
2307
+ + (jsMadeBits0 & (1 << 63) != 0 ? ["effectiveBorderLeftWidth"] : [])
2308
+ + (jsMadeBits1 & (1 << 0) != 0 ? ["effectiveRowGap"] : [])
2309
+ + (jsMadeBits1 & (1 << 1) != 0 ? ["effectiveColumnGap"] : [])
2310
+ + (jsMadeBits1 & (1 << 2) != 0 ? ["_moduleName"] : []) + (jsMadeBits1 & (1 << 3) != 0 ? ["reusable"] : [])
2311
+ + (jsMadeBits1 & (1 << 4) != 0 ? ["cssClasses"] : [])
2312
+ + (jsMadeBits1 & (1 << 5) != 0 ? ["cssPseudoClasses"] : [])
2313
+ + (jsMadeBits1 & (1 << 6) != 0 ? ["bindings"] : [])
2314
+ + (jsMadeBits1 & (1 << 7) != 0 ? ["shouldAddHandlerToParentBindingContextChanged"] : [])
2315
+ + (jsMadeBits1 & (1 << 8) != 0 ? ["bindingContextBoundToParentBindingContextChanged"] : [])
2316
+ }
2317
+ open override var jsClassName: String? { "ViewBase" }
2318
+ open override subscript(jsKey key: String) -> Any? {
2319
+ get {
2320
+ switch key.utf8.count {
2321
+ case 3:
2322
+ switch key {
2323
+ case "set": return FunctionCell_String_AnyOpt_to_Void.script("set", 2, self.set)
2324
+ default: break
2325
+ }
2326
+ case 4:
2327
+ switch key {
2328
+ case "bind": return FunctionCell_AnyOpt_AnyOpt_to_Void.script("bind", 1, self.bind)
2329
+ default: break
2330
+ }
2331
+ case 6:
2332
+ switch key {
2333
+ case "_style":
2334
+ if !(jsMadeBits0 & (1 << 3) != 0) { return nil }
2335
+ return self._style
2336
+ case "parent":
2337
+ if !(jsMadeBits0 & (1 << 14) != 0) { return nil }
2338
+ return self.parent
2339
+ case "_domId":
2340
+ if !(jsMadeBits0 & (1 << 21) != 0) { return nil }
2341
+ return self._domId
2342
+ case "unbind": return FunctionCell_String_to_Void.script("unbind", 1, self.unbind)
2343
+ default: break
2344
+ }
2345
+ case 7:
2346
+ switch key {
2347
+ case "domNode":
2348
+ if !(jsMadeBits0 & (1 << 9) != 0) { return nil }
2349
+ return self.domNode
2350
+ case "_oldTop": return self._oldTop
2351
+ case "setFlag": return FunctionCell_String_Bool_to_Void.script("setFlag", 2, self.setFlag)
2352
+ default: break
2353
+ }
2354
+ case 8:
2355
+ switch key {
2356
+ case "_iosView":
2357
+ if !(jsMadeBits0 & (1 << 1) != 0) { return nil }
2358
+ return self._iosView
2359
+ case "_context":
2360
+ if !(jsMadeBits0 & (1 << 22) != 0) { return nil }
2361
+ return self._context
2362
+ case "_oldLeft": return self._oldLeft
2363
+ case "reusable": return self.reusable
2364
+ case "bindings":
2365
+ if !(jsMadeBits1 & (1 << 6) != 0) { return nil }
2366
+ return self.bindings
2367
+ case "onLoaded": return FunctionCell_none_to_Void.script("onLoaded", 0, self.onLoaded)
2368
+ case "_addView": return FunctionCell_ViewBaseOpt_DoubleOpt_to_Void.script("_addView", 2, self._addView)
2369
+ case "loadView": return FunctionCell_ViewBaseOpt_to_Void.script("loadView", 1, self.loadView)
2370
+ case "_setupUI":
2371
+ return FunctionCell_AnyOpt_DoubleOpt_BoolOpt_to_Void.script("_setupUI", 3, self._setupUI)
2372
+ case "toString": return FunctionCell_none_to_String.script("toString", 0, self.toString)
2373
+ default: break
2374
+ }
2375
+ case 9:
2376
+ switch key {
2377
+ case "_isLoaded":
2378
+ if !(jsMadeBits0 & (1 << 4) != 0) { return nil }
2379
+ return self._isLoaded
2380
+ case "_cssState": return self._cssState
2381
+ case "_oldRight": return self._oldRight
2382
+ case "isFlagSet": return FunctionCell_String_to_Bool.script("isFlagSet", 1, self.isFlagSet)
2383
+ case "eachChild": return FunctionCell_ViewBaseOpt_to_Bool_to_Void.script("eachChild", 1, self.eachChild)
2384
+ case "showModal":
2385
+ return FunctionCell_AnyOpt_AnyOpt_to_ViewBaseOpt.script("showModal", 2, self.showModal)
2386
+ default: break
2387
+ }
2388
+ case 10:
2389
+ switch key {
2390
+ case "_oldBottom": return self._oldBottom
2391
+ case "cssClasses":
2392
+ if !(jsMadeBits1 & (1 << 4) != 0) { return nil }
2393
+ return self.cssClasses
2394
+ case "onUnloaded": return FunctionCell_none_to_Void.script("onUnloaded", 0, self.onUnloaded)
2395
+ case "callLoaded": return FunctionCell_none_to_Void.script("callLoaded", 0, self.callLoaded)
2396
+ case "unloadView": return FunctionCell_ViewBaseOpt_to_Void.script("unloadView", 1, self.unloadView)
2397
+ case "closeModal": return FunctionCell_JSArray_AnyOpt_to_Void.script("closeModal", 0, self.closeModal)
2398
+ default: break
2399
+ }
2400
+ case 11:
2401
+ switch key {
2402
+ case "_isRootView": return self._isRootView
2403
+ case "isCollapsed": return self.isCollapsed
2404
+ case "_styleScope":
2405
+ if !(jsMadeBits0 & (1 << 24) != 0) { return nil }
2406
+ return self._styleScope
2407
+ case "_moduleName":
2408
+ if !(jsMadeBits1 & (1 << 2) != 0) { return nil }
2409
+ return self._moduleName
2410
+ case "getViewById": return FunctionCell_String_to_AnyOpt.script("getViewById", 1, self.getViewById)
2411
+ case "_removeView": return FunctionCell_ViewBaseOpt_to_Void.script("_removeView", 1, self._removeView)
2412
+ case "destroyNode": return FunctionCell_BoolOpt_to_Void.script("destroyNode", 1, self.destroyNode)
2413
+ case "_tearDownUI": return FunctionCell_BoolOpt_to_Void.script("_tearDownUI", 1, self._tearDownUI)
2414
+ default: break
2415
+ }
2416
+ case 12:
2417
+ switch key {
2418
+ case "_androidView":
2419
+ if !(jsMadeBits0 & (1 << 2) != 0) { return nil }
2420
+ return self._androidView
2421
+ case "_visualState":
2422
+ if !(jsMadeBits0 & (1 << 6) != 0) { return nil }
2423
+ return self._visualState
2424
+ case "__nativeView":
2425
+ if !(jsMadeBits0 & (1 << 8) != 0) { return nil }
2426
+ return self.__nativeView
2427
+ case "effectiveTop": return self.effectiveTop
2428
+ case "_batchUpdate":
2429
+ return FunctionCell_to_AnyOpt_to_AnyOpt.script("_batchUpdate", 1, self._batchUpdate)
2430
+ case "callUnloaded": return FunctionCell_none_to_Void.script("callUnloaded", 0, self.callUnloaded)
2431
+ case "_addViewCore":
2432
+ return FunctionCell_ViewBaseOpt_DoubleOpt_to_Void.script("_addViewCore", 2, self._addViewCore)
2433
+ default: break
2434
+ }
2435
+ case 13:
2436
+ switch key {
2437
+ case "effectiveLeft": return self.effectiveLeft
2438
+ case "ensureDomNode": return FunctionCell_none_to_Void.script("ensureDomNode", 0, self.ensureDomNode)
2439
+ case "_layoutParent": return FunctionCell_none_to_Void.script("_layoutParent", 0, self._layoutParent)
2440
+ case "performLayout": return FunctionCell_Double_to_Void.script("performLayout", 0, self.performLayout)
2441
+ case "requestLayout": return FunctionCell_none_to_Void.script("requestLayout", 0, self.requestLayout)
2442
+ case "setNativeView": return FunctionCell_AnyOpt_to_Void.script("setNativeView", 1, self.setNativeView)
2443
+ case "_dialogClosed": return FunctionCell_none_to_Void.script("_dialogClosed", 0, self._dialogClosed)
2444
+ default: break
2445
+ }
2446
+ case 14:
2447
+ switch key {
2448
+ case "viewController":
2449
+ if !(jsMadeBits0 & (1 << 11) != 0) { return nil }
2450
+ return self.viewController
2451
+ case "effectiveWidth": return self.effectiveWidth
2452
+ case "getViewByDomId":
2453
+ return FunctionCell_Double_to_AnyOpt.script("getViewByDomId", 1, self.getViewByDomId)
2454
+ case "addPseudoClass":
2455
+ return FunctionCell_String_to_Void.script("addPseudoClass", 1, self.addPseudoClass)
2456
+ case "_inheritStyles":
2457
+ return FunctionCell_ViewBaseOpt_to_Void.script("_inheritStyles", 1, self._inheritStyles)
2458
+ case "initNativeView": return FunctionCell_none_to_Void.script("initNativeView", 0, self.initNativeView)
2459
+ case "setInlineStyle":
2460
+ return FunctionCell_String_to_Void.script("setInlineStyle", 1, self.setInlineStyle)
2461
+ case "_parentChanged":
2462
+ return FunctionCell_ViewBaseOpt_to_Void.script("_parentChanged", 1, self._parentChanged)
2463
+ default: break
2464
+ }
2465
+ case 15:
2466
+ switch key {
2467
+ case "_onLoadedCalled": return self._onLoadedCalled
2468
+ case "_templateParent":
2469
+ if !(jsMadeBits0 & (1 << 7) != 0) { return nil }
2470
+ return self._templateParent
2471
+ case "effectiveHeight": return self.effectiveHeight
2472
+ case "effectiveRowGap": return self.effectiveRowGap
2473
+ case "_removeViewCore":
2474
+ return FunctionCell_ViewBaseOpt_to_Void.script("_removeViewCore", 1, self._removeViewCore)
2475
+ case "resetNativeView":
2476
+ return FunctionCell_none_to_Void.script("resetNativeView", 0, self.resetNativeView)
2477
+ case "_addVisualState":
2478
+ return FunctionCell_String_to_Void.script("_addVisualState", 1, self._addVisualState)
2479
+ default: break
2480
+ }
2481
+ case 16:
2482
+ switch key {
2483
+ case "cssPseudoClasses":
2484
+ if !(jsMadeBits1 & (1 << 5) != 0) { return nil }
2485
+ return self.cssPseudoClasses
2486
+ case "createNativeView":
2487
+ return FunctionCell_none_to_AnyOpt.script("createNativeView", 0, self.createNativeView)
2488
+ case "_setupAsRootView":
2489
+ return FunctionCell_AnyOpt_to_Void.script("_setupAsRootView", 1, self._setupAsRootView)
2490
+ case "_goToVisualState":
2491
+ return FunctionCell_String_to_Void.script("_goToVisualState", 1, self._goToVisualState)
2492
+ case "_onRootViewReset":
2493
+ return FunctionCell_none_to_Void.script("_onRootViewReset", 0, self._onRootViewReset)
2494
+ default: break
2495
+ }
2496
+ case 17:
2497
+ switch key {
2498
+ case "_onUnloadedCalled": return self._onUnloadedCalled
2499
+ case "recycleNativeView": return self.recycleNativeView
2500
+ case "_suspendedUpdates":
2501
+ if !(jsMadeBits0 & (1 << 25) != 0) { return nil }
2502
+ return self._suspendedUpdates
2503
+ case "_isStyleScopeHost":
2504
+ if !(jsMadeBits0 & (1 << 27) != 0) { return nil }
2505
+ return self._isStyleScopeHost
2506
+ case "effectiveMinWidth": return self.effectiveMinWidth
2507
+ case "effectiveMaxWidth": return self.effectiveMaxWidth
2508
+ case "deletePseudoClass":
2509
+ return FunctionCell_String_to_Void.script("deletePseudoClass", 1, self.deletePseudoClass)
2510
+ case "_isChildPresented":
2511
+ return FunctionCell_ViewBaseOpt_to_Bool.script("_isChildPresented", 1, self._isChildPresented)
2512
+ case "disposeNativeView":
2513
+ return FunctionCell_none_to_Void.script("disposeNativeView", 0, self.disposeNativeView)
2514
+ case "_onCssStateChange":
2515
+ return FunctionCell_none_to_Void.script("_onCssStateChange", 0, self._onCssStateChange)
2516
+ default: break
2517
+ }
2518
+ case 18:
2519
+ switch key {
2520
+ case "_defaultPaddingTop": return self._defaultPaddingTop
2521
+ case "_isPaddingRelative":
2522
+ if !(jsMadeBits0 & (1 << 5) != 0) { return nil }
2523
+ return self._isPaddingRelative
2524
+ case "effectiveMinHeight": return self.effectiveMinHeight
2525
+ case "effectiveMaxHeight": return self.effectiveMaxHeight
2526
+ case "effectiveMarginTop": return self.effectiveMarginTop
2527
+ case "effectiveColumnGap": return self.effectiveColumnGap
2528
+ case "pseudoClassAliases": return self.pseudoClassAliases
2529
+ case "_shouldDelayLayout":
2530
+ return FunctionCell_none_to_Bool.script("_shouldDelayLayout", 0, self._shouldDelayLayout)
2531
+ case "_removeVisualState":
2532
+ return FunctionCell_String_to_Void.script("_removeVisualState", 1, self._removeVisualState)
2533
+ case "_applyXmlAttribute":
2534
+ return FunctionCell_String_String_to_Bool.script("_applyXmlAttribute", 2, self._applyXmlAttribute)
2535
+ case "_inheritStyleScope":
2536
+ return FunctionCell_StyleScopeOpt_to_Void.script("_inheritStyleScope", 1, self._inheritStyleScope)
2537
+ default: break
2538
+ }
2539
+ case 19:
2540
+ switch key {
2541
+ case "_defaultPaddingLeft": return self._defaultPaddingLeft
2542
+ case "nativeViewProtected":
2543
+ if !(jsMadeBits0 & (1 << 13) != 0) { return nil }
2544
+ return self.nativeViewProtected
2545
+ case "sharedTransitionTag":
2546
+ if !(jsMadeBits0 & (1 << 19) != 0) { return nil }
2547
+ return self.sharedTransitionTag
2548
+ case "effectiveMarginLeft": return self.effectiveMarginLeft
2549
+ case "_setDefaultPaddings":
2550
+ return FunctionCell_AnyOpt_to_Void.script("_setDefaultPaddings", 1, self._setDefaultPaddings)
2551
+ default: break
2552
+ }
2553
+ case 20:
2554
+ switch key {
2555
+ case "_effectivePaddingTop": return jsNulled(self._effectivePaddingTop)
2556
+ case "_defaultPaddingRight": return self._defaultPaddingRight
2557
+ case "effectiveMarginRight": return self.effectiveMarginRight
2558
+ case "_resumeNativeUpdates":
2559
+ return FunctionCell_Double_to_Void.script("_resumeNativeUpdates", 1, self._resumeNativeUpdates)
2560
+ case "addSinglePseudoClass":
2561
+ return FunctionCell_String_to_Void.script("addSinglePseudoClass", 1, self.addSinglePseudoClass)
2562
+ default: break
2563
+ }
2564
+ case 21:
2565
+ switch key {
2566
+ case "_effectivePaddingLeft": return jsNulled(self._effectivePaddingLeft)
2567
+ case "_defaultPaddingBottom": return self._defaultPaddingBottom
2568
+ case "effectiveMarginBottom": return self.effectiveMarginBottom
2569
+ case "_suspendNativeUpdates":
2570
+ return FunctionCell_Double_to_Void.script("_suspendNativeUpdates", 1, self._suspendNativeUpdates)
2571
+ case "callFunctionWithSuper":
2572
+ return FunctionCell_String_to_Void_to_Void.script(
2573
+ "callFunctionWithSuper", 2, self.callFunctionWithSuper)
2574
+ case "bindingContextChanged":
2575
+ return FunctionCell_AnyOpt_to_Void.script("bindingContextChanged", 1, self.bindingContextChanged)
2576
+ case "onResumeNativeUpdates":
2577
+ return FunctionCell_none_to_Void.script("onResumeNativeUpdates", 0, self.onResumeNativeUpdates)
2578
+ default: break
2579
+ }
2580
+ case 22:
2581
+ switch key {
2582
+ case "_effectivePaddingRight": return jsNulled(self._effectivePaddingRight)
2583
+ case "sharedTransitionIgnore":
2584
+ if !(jsMadeBits0 & (1 << 20) != 0) { return nil }
2585
+ return self.sharedTransitionIgnore
2586
+ default: break
2587
+ }
2588
+ case 23:
2589
+ switch key {
2590
+ case "_effectivePaddingBottom": return jsNulled(self._effectivePaddingBottom)
2591
+ case "effectiveBorderTopWidth": return self.effectiveBorderTopWidth
2592
+ case "deleteSinglePseudoClass":
2593
+ return FunctionCell_String_to_Void.script(
2594
+ "deleteSinglePseudoClass", 1, self.deleteSinglePseudoClass)
2595
+ case "resetNativeViewInternal":
2596
+ return FunctionCell_none_to_Void.script("resetNativeViewInternal", 0, self.resetNativeViewInternal)
2597
+ default: break
2598
+ }
2599
+ case 24:
2600
+ switch key {
2601
+ case "effectiveBorderLeftWidth": return self.effectiveBorderLeftWidth
2602
+ case "notifyPseudoClassChanged":
2603
+ return FunctionCell_String_to_Void.script(
2604
+ "notifyPseudoClassChanged", 1, self.notifyPseudoClassChanged)
2605
+ default: break
2606
+ }
2607
+ case 25:
2608
+ switch key {
2609
+ case "effectiveBorderRightWidth": return self.effectiveBorderRightWidth
2610
+ default: break
2611
+ }
2612
+ case 26:
2613
+ switch key {
2614
+ case "_isAddedToNativeVisualTree":
2615
+ if !(jsMadeBits0 & (1 << 23) != 0) { return nil }
2616
+ return self._isAddedToNativeVisualTree
2617
+ case "_suspendNativeUpdatesCount": return self._suspendNativeUpdatesCount
2618
+ case "effectiveBorderBottomWidth": return self.effectiveBorderBottomWidth
2619
+ case "_addViewToNativeVisualTree":
2620
+ return FunctionCell_ViewBaseOpt_DoubleOpt_to_Bool.script(
2621
+ "_addViewToNativeVisualTree", 2, self._addViewToNativeVisualTree)
2622
+ default: break
2623
+ }
2624
+ case 28:
2625
+ switch key {
2626
+ case "getEffectivePaddingShorthand":
2627
+ return FunctionCell_none_to_String.script(
2628
+ "getEffectivePaddingShorthand", 0, self.getEffectivePaddingShorthand)
2629
+ default: break
2630
+ }
2631
+ case 29:
2632
+ switch key {
2633
+ case "_childIndexToNativeChildIndex":
2634
+ return FunctionCell_DoubleOpt_to_DoubleOpt.script(
2635
+ "_childIndexToNativeChildIndex", 1, self._childIndexToNativeChildIndex)
2636
+ default: break
2637
+ }
2638
+ case 30:
2639
+ switch key {
2640
+ case "_ignoreFlexMinWidthHeightReset":
2641
+ if !(jsMadeBits0 & (1 << 49) != 0) { return nil }
2642
+ return self._ignoreFlexMinWidthHeightReset
2643
+ default: break
2644
+ }
2645
+ case 31:
2646
+ switch key {
2647
+ case "_removeViewFromNativeVisualTree":
2648
+ return FunctionCell_ViewBaseOpt_to_Void.script(
2649
+ "_removeViewFromNativeVisualTree", 1, self._removeViewFromNativeVisualTree)
2650
+ default: break
2651
+ }
2652
+ case 37:
2653
+ switch key {
2654
+ case "_automaticallyAdjustsScrollViewInsets":
2655
+ if !(jsMadeBits0 & (1 << 28) != 0) { return nil }
2656
+ return self._automaticallyAdjustsScrollViewInsets
2657
+ default: break
2658
+ }
2659
+ case 45:
2660
+ switch key {
2661
+ case "shouldAddHandlerToParentBindingContextChanged":
2662
+ if !(jsMadeBits1 & (1 << 7) != 0) { return nil }
2663
+ return self.shouldAddHandlerToParentBindingContextChanged
2664
+ default: break
2665
+ }
2666
+ case 48:
2667
+ switch key {
2668
+ case "bindingContextBoundToParentBindingContextChanged":
2669
+ if !(jsMadeBits1 & (1 << 8) != 0) { return nil }
2670
+ return self.bindingContextBoundToParentBindingContextChanged
2671
+ default: break
2672
+ }
2673
+ default: break
2674
+ }
2675
+ return super[jsKey: key]
2676
+ }
2677
+ set {
2678
+ switch key.utf8.count {
2679
+ case 6:
2680
+ switch key {
2681
+ case "_style":
2682
+ jsStoring { self._style = (try jsCast(newValue, Style.self)) }
2683
+ return
2684
+ case "parent":
2685
+ jsStoring { self.parent = (try jsCast(newValue, ViewBase.self)) }
2686
+ return
2687
+ case "_domId":
2688
+ jsStoring { self._domId = (try jsConvertedNumber(newValue)) }
2689
+ return
2690
+ default: break
2691
+ }
2692
+ case 7:
2693
+ switch key {
2694
+ case "domNode":
2695
+ self.domNode = newValue
2696
+ return
2697
+ case "_oldTop":
2698
+ jsStoring { self._oldTop = (try jsConvertedNumber(newValue)) }
2699
+ return
2700
+ default: break
2701
+ }
2702
+ case 8:
2703
+ switch key {
2704
+ case "_iosView":
2705
+ self._iosView = newValue
2706
+ return
2707
+ case "_context":
2708
+ self._context = newValue
2709
+ return
2710
+ case "_oldLeft":
2711
+ jsStoring { self._oldLeft = (try jsConvertedNumber(newValue)) }
2712
+ return
2713
+ case "reusable":
2714
+ jsStoring { self.reusable = (try jsConvertedBool(newValue)) }
2715
+ return
2716
+ case "bindings":
2717
+ self.bindings = (newValue as? JSMap<String, Binding>)
2718
+ return
2719
+ default: break
2720
+ }
2721
+ case 9:
2722
+ switch key {
2723
+ case "_isLoaded":
2724
+ jsStoring { self._isLoaded = (try jsConvertedBool(newValue)) }
2725
+ return
2726
+ case "_cssState":
2727
+ jsStoring { self._cssState = (try jsCast(newValue, CssState.self)) }
2728
+ return
2729
+ case "_oldRight":
2730
+ jsStoring { self._oldRight = (try jsConvertedNumber(newValue)) }
2731
+ return
2732
+ default: break
2733
+ }
2734
+ case 10:
2735
+ switch key {
2736
+ case "_oldBottom":
2737
+ jsStoring { self._oldBottom = (try jsConvertedNumber(newValue)) }
2738
+ return
2739
+ case "cssClasses":
2740
+ self.cssClasses = (newValue as? JSSet<String>)
2741
+ return
2742
+ default: break
2743
+ }
2744
+ case 11:
2745
+ switch key {
2746
+ case "_isRootView":
2747
+ jsStoring { self._isRootView = (try jsConvertedBool(newValue)) }
2748
+ return
2749
+ case "isCollapsed":
2750
+ self.isCollapsed = newValue
2751
+ return
2752
+ case "_styleScope":
2753
+ jsStoring { self._styleScope = (try jsCast(newValue, StyleScope.self)) }
2754
+ return
2755
+ case "_moduleName":
2756
+ jsStoring { self._moduleName = (try jsConvertedString(newValue)) }
2757
+ return
2758
+ default: break
2759
+ }
2760
+ case 12:
2761
+ switch key {
2762
+ case "_androidView":
2763
+ self._androidView = newValue
2764
+ return
2765
+ case "_visualState":
2766
+ jsStoring { self._visualState = (try jsConvertedString(newValue)) }
2767
+ return
2768
+ case "__nativeView":
2769
+ self.__nativeView = newValue
2770
+ return
2771
+ case "effectiveTop":
2772
+ jsStoring { self.effectiveTop = (try jsConvertedNumber(newValue)) }
2773
+ return
2774
+ default: break
2775
+ }
2776
+ case 13:
2777
+ switch key {
2778
+ case "effectiveLeft":
2779
+ jsStoring { self.effectiveLeft = (try jsConvertedNumber(newValue)) }
2780
+ return
2781
+ default: break
2782
+ }
2783
+ case 14:
2784
+ switch key {
2785
+ case "viewController":
2786
+ self.viewController = newValue
2787
+ return
2788
+ case "effectiveWidth":
2789
+ jsStoring { self.effectiveWidth = (try jsConvertedNumber(newValue)) }
2790
+ return
2791
+ default: break
2792
+ }
2793
+ case 15:
2794
+ switch key {
2795
+ case "_onLoadedCalled":
2796
+ jsStoring { self._onLoadedCalled = (try jsConvertedBool(newValue)) }
2797
+ return
2798
+ case "_templateParent":
2799
+ jsStoring { self._templateParent = (try jsCast(newValue, ViewBase.self)) }
2800
+ return
2801
+ case "effectiveHeight":
2802
+ jsStoring { self.effectiveHeight = (try jsConvertedNumber(newValue)) }
2803
+ return
2804
+ case "effectiveRowGap":
2805
+ jsStoring { self.effectiveRowGap = (try jsConvertedNumber(newValue)) }
2806
+ return
2807
+ default: break
2808
+ }
2809
+ case 16:
2810
+ switch key {
2811
+ case "cssPseudoClasses":
2812
+ self.cssPseudoClasses = (newValue as? JSSet<String>)
2813
+ return
2814
+ default: break
2815
+ }
2816
+ case 17:
2817
+ switch key {
2818
+ case "_onUnloadedCalled":
2819
+ jsStoring { self._onUnloadedCalled = (try jsConvertedBool(newValue)) }
2820
+ return
2821
+ case "recycleNativeView":
2822
+ jsStoring { self.recycleNativeView = (try jsConvertedString(newValue)) }
2823
+ return
2824
+ case "_suspendedUpdates":
2825
+ self._suspendedUpdates = jsRecordOrNil(newValue, as: JSRecord<Any?>.self, { $0 })
2826
+ return
2827
+ case "_isStyleScopeHost":
2828
+ jsStoring { self._isStyleScopeHost = (try jsConvertedBool(newValue)) }
2829
+ return
2830
+ case "effectiveMinWidth":
2831
+ jsStoring { self.effectiveMinWidth = (try jsConvertedNumber(newValue)) }
2832
+ return
2833
+ case "effectiveMaxWidth":
2834
+ jsStoring { self.effectiveMaxWidth = (try jsConvertedNumber(newValue)) }
2835
+ return
2836
+ default: break
2837
+ }
2838
+ case 18:
2839
+ switch key {
2840
+ case "_defaultPaddingTop":
2841
+ jsStoring { self._defaultPaddingTop = (try jsConvertedNumber(newValue)) }
2842
+ return
2843
+ case "_isPaddingRelative":
2844
+ jsStoring { self._isPaddingRelative = (try jsConvertedBool(newValue)) }
2845
+ return
2846
+ case "effectiveMinHeight":
2847
+ jsStoring { self.effectiveMinHeight = (try jsConvertedNumber(newValue)) }
2848
+ return
2849
+ case "effectiveMaxHeight":
2850
+ jsStoring { self.effectiveMaxHeight = (try jsConvertedNumber(newValue)) }
2851
+ return
2852
+ case "effectiveMarginTop":
2853
+ jsStoring { self.effectiveMarginTop = (try jsConvertedNumber(newValue)) }
2854
+ return
2855
+ case "effectiveColumnGap":
2856
+ jsStoring { self.effectiveColumnGap = (try jsConvertedNumber(newValue)) }
2857
+ return
2858
+ case "pseudoClassAliases":
2859
+ self.pseudoClassAliases = jsUnlessNullish(
2860
+ newValue, { (jsFlat($0) as? Object_highlighted) ?? Object_highlighted(jsObject: $0) })
2861
+ return
2862
+ default: break
2863
+ }
2864
+ case 19:
2865
+ switch key {
2866
+ case "_defaultPaddingLeft":
2867
+ jsStoring { self._defaultPaddingLeft = (try jsConvertedNumber(newValue)) }
2868
+ return
2869
+ case "nativeViewProtected":
2870
+ self.nativeViewProtected = newValue
2871
+ return
2872
+ case "sharedTransitionTag":
2873
+ jsStoring { self.sharedTransitionTag = (try jsConvertedString(newValue)) }
2874
+ return
2875
+ case "effectiveMarginLeft":
2876
+ jsStoring { self.effectiveMarginLeft = (try jsConvertedNumber(newValue)) }
2877
+ return
2878
+ default: break
2879
+ }
2880
+ case 20:
2881
+ switch key {
2882
+ case "_effectivePaddingTop":
2883
+ jsStoring { self._effectivePaddingTop = (try jsConvertedNumberOrNil(newValue)) }
2884
+ return
2885
+ case "_defaultPaddingRight":
2886
+ jsStoring { self._defaultPaddingRight = (try jsConvertedNumber(newValue)) }
2887
+ return
2888
+ case "effectiveMarginRight":
2889
+ jsStoring { self.effectiveMarginRight = (try jsConvertedNumber(newValue)) }
2890
+ return
2891
+ default: break
2892
+ }
2893
+ case 21:
2894
+ switch key {
2895
+ case "_effectivePaddingLeft":
2896
+ jsStoring { self._effectivePaddingLeft = (try jsConvertedNumberOrNil(newValue)) }
2897
+ return
2898
+ case "_defaultPaddingBottom":
2899
+ jsStoring { self._defaultPaddingBottom = (try jsConvertedNumber(newValue)) }
2900
+ return
2901
+ case "effectiveMarginBottom":
2902
+ jsStoring { self.effectiveMarginBottom = (try jsConvertedNumber(newValue)) }
2903
+ return
2904
+ default: break
2905
+ }
2906
+ case 22:
2907
+ switch key {
2908
+ case "_effectivePaddingRight":
2909
+ jsStoring { self._effectivePaddingRight = (try jsConvertedNumberOrNil(newValue)) }
2910
+ return
2911
+ case "sharedTransitionIgnore":
2912
+ jsStoring { self.sharedTransitionIgnore = (try jsConvertedBool(newValue)) }
2913
+ return
2914
+ default: break
2915
+ }
2916
+ case 23:
2917
+ switch key {
2918
+ case "_effectivePaddingBottom":
2919
+ jsStoring { self._effectivePaddingBottom = (try jsConvertedNumberOrNil(newValue)) }
2920
+ return
2921
+ case "effectiveBorderTopWidth":
2922
+ jsStoring { self.effectiveBorderTopWidth = (try jsConvertedNumber(newValue)) }
2923
+ return
2924
+ default: break
2925
+ }
2926
+ case 24:
2927
+ switch key {
2928
+ case "effectiveBorderLeftWidth":
2929
+ jsStoring { self.effectiveBorderLeftWidth = (try jsConvertedNumber(newValue)) }
2930
+ return
2931
+ default: break
2932
+ }
2933
+ case 25:
2934
+ switch key {
2935
+ case "effectiveBorderRightWidth":
2936
+ jsStoring { self.effectiveBorderRightWidth = (try jsConvertedNumber(newValue)) }
2937
+ return
2938
+ default: break
2939
+ }
2940
+ case 26:
2941
+ switch key {
2942
+ case "_isAddedToNativeVisualTree":
2943
+ jsStoring { self._isAddedToNativeVisualTree = (try jsConvertedBool(newValue)) }
2944
+ return
2945
+ case "_suspendNativeUpdatesCount":
2946
+ jsStoring { self._suspendNativeUpdatesCount = (try jsConvertedNumber(newValue)) }
2947
+ return
2948
+ case "effectiveBorderBottomWidth":
2949
+ jsStoring { self.effectiveBorderBottomWidth = (try jsConvertedNumber(newValue)) }
2950
+ return
2951
+ default: break
2952
+ }
2953
+ case 30:
2954
+ switch key {
2955
+ case "_ignoreFlexMinWidthHeightReset":
2956
+ jsStoring { self._ignoreFlexMinWidthHeightReset = (try jsConvertedBool(newValue)) }
2957
+ return
2958
+ default: break
2959
+ }
2960
+ case 37:
2961
+ switch key {
2962
+ case "_automaticallyAdjustsScrollViewInsets":
2963
+ jsStoring { self._automaticallyAdjustsScrollViewInsets = (try jsConvertedBool(newValue)) }
2964
+ return
2965
+ default: break
2966
+ }
2967
+ case 45:
2968
+ switch key {
2969
+ case "shouldAddHandlerToParentBindingContextChanged":
2970
+ jsStoring { self.shouldAddHandlerToParentBindingContextChanged = (try jsConvertedBool(newValue)) }
2971
+ return
2972
+ default: break
2973
+ }
2974
+ case 48:
2975
+ switch key {
2976
+ case "bindingContextBoundToParentBindingContextChanged":
2977
+ jsStoring {
2978
+ self.bindingContextBoundToParentBindingContextChanged = (try jsConvertedBool(newValue))
2979
+ }
2980
+ return
2981
+ default: break
2982
+ }
2983
+ default: break
2984
+ }
2985
+ super[jsKey: key] = newValue
2986
+ }
2987
+ }
2988
+ open override class var jsName: String { "ViewBase" }
2989
+ open override class var jsStaticKeys: [String] {
2990
+ super.jsStaticKeys + ["loadedEvent", "unloadedEvent", "createdEvent", "disposeNativeViewEvent"]
2991
+ }
2992
+ }
2993
+
2994
+ public enum Core_ui_core_view_base_index {
2995
+ public static let defaultBindingSource: JSObject = JSObject([])
2996
+ /// Gets an ancestor from a given type.
2997
+ /// @param view - Starting view (child view).
2998
+ /// @param criterion - The type of ancestor view we are looking for. Could be a string containing a class name or an actual type.
2999
+ /// Returns an instance of a view (if found), otherwise undefined.
3000
+ public static func getAncestor(_ view: Any?, _ criterion: Any?) throws -> Any? {
3001
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:111)
3002
+ var matcher: ((ViewBase?) throws -> Bool)?
3003
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:113)
3004
+ if jsStringEquals(jsTypeof(criterion), "string") {
3005
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:114)
3006
+ let normalizedCriterion: String = jsLenientString(criterion).lowercased()
3007
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:115)
3008
+ matcher = { (view: ViewBase?) throws -> Bool in
3009
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:115)
3010
+ return try jsStringEquals(jsUnwrap(view, "typeName").typeName, jsLenientString(criterion))
3011
+ || jsStringEquals(jsUnwrap(view, "cssType").cssType, normalizedCriterion)
3012
+ }
3013
+ } else {
3014
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:117)
3015
+ matcher = { (view: ViewBase?) -> Bool in
3016
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:117)
3017
+ return jsInstanceOf(view, criterion)
3018
+ }
3019
+ }
3020
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:120)
3021
+ var parent: ViewBase? = try jsCast(jsGet(view, "parent"), ViewBase.self)
3022
+ while parent != nil {
3023
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:121)
3024
+ if try jsCallable(matcher, "matcher")(parent) {
3025
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:122)
3026
+ return parent
3027
+ }
3028
+ try parent = jsUnwrap(parent, "parent").parent
3029
+ }
3030
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:126)
3031
+ return jsNull
3032
+ }
3033
+ #sourceLocation()
3034
+ /// Gets a child view by id.
3035
+ /// @param view - The parent (container) view of the view to look for.
3036
+ /// @param id - The id of the view to look for.
3037
+ /// Returns an instance of a view (if found), otherwise undefined.
3038
+ public static func getViewById(_ view: ViewBase?, _ id: String) throws -> ViewBase? {
3039
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:136)
3040
+ if !jsTruthy(view) {
3041
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:137)
3042
+ return nil
3043
+ }
3044
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:140)
3045
+ if try jsStringEquals(jsUnwrap(view, "id").id, id) {
3046
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:141)
3047
+ return view
3048
+ }
3049
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:144)
3050
+ var retVal: ViewBase?
3051
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:145)
3052
+ let descendantsCallback: (ViewBase?) throws -> Bool = { (child: ViewBase?) throws -> Bool in
3053
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:146)
3054
+ if try jsStringEquals(jsUnwrap(child, "id").id, id) {
3055
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:147)
3056
+ retVal = child
3057
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:150)
3058
+ return false
3059
+ }
3060
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:153)
3061
+ return true
3062
+ }
3063
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:156)
3064
+ try Core_ui_core_view_base_index.eachDescendant(view, descendantsCallback)
3065
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:158)
3066
+ return retVal
3067
+ }
3068
+ #sourceLocation()
3069
+ /// Gets a child view by domId.
3070
+ /// @param view - The parent (container) view of the view to look for.
3071
+ /// @param domId - The id of the view to look for.
3072
+ /// Returns an instance of a view (if found), otherwise undefined.
3073
+ public static func getViewByDomId(_ view: ViewBase?, _ domId: Double) throws -> ViewBase? {
3074
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:168)
3075
+ if !jsTruthy(view) {
3076
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:169)
3077
+ return nil
3078
+ }
3079
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:172)
3080
+ if try jsLenientNumberEquals(jsUnwrap(view, "_domId")._domId, domId) {
3081
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:173)
3082
+ return view
3083
+ }
3084
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:176)
3085
+ var retVal: ViewBase?
3086
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:177)
3087
+ let descendantsCallback: (ViewBase?) throws -> Bool = { (child: ViewBase?) throws -> Bool in
3088
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:178)
3089
+ if try jsLenientNumberEquals(jsUnwrap(child, "_domId")._domId, domId) {
3090
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:179)
3091
+ retVal = child
3092
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:182)
3093
+ return false
3094
+ }
3095
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:185)
3096
+ return true
3097
+ }
3098
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:188)
3099
+ try Core_ui_core_view_base_index.eachDescendant(view, descendantsCallback)
3100
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:190)
3101
+ return retVal
3102
+ }
3103
+ #sourceLocation()
3104
+ /// Gets a child view by selector.
3105
+ /// @param view - The parent (container) view of the view to look for.
3106
+ /// @param selector - The selector of the view to look for.
3107
+ /// Returns an instance of a view (if found), otherwise undefined.
3108
+ public static func querySelectorAll(_ view: ViewBase?, _ selector: String) throws -> JSArray<ViewBase>? {
3109
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:201)
3110
+ if !jsTruthy(view) {
3111
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:202)
3112
+ return JSArray<ViewBase>()
3113
+ }
3114
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:205)
3115
+ let retVal: JSArray<ViewBase> = JSArray<ViewBase>()
3116
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:206)
3117
+ if try jsTruthy(jsUnwrap(view, "selector")[jsKey: selector]) {
3118
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:207)
3119
+ _ = try retVal.push(jsObjectRequired(view))
3120
+ }
3121
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:210)
3122
+ let descendantsCallback: (ViewBase?) throws -> Bool = { (child: ViewBase?) throws -> Bool in
3123
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:211)
3124
+ if try jsTruthy(jsUnwrap(child, "selector")[jsKey: selector]) {
3125
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:212)
3126
+ _ = try retVal.push(jsObjectRequired(child))
3127
+ }
3128
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:215)
3129
+ return true
3130
+ }
3131
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:218)
3132
+ try Core_ui_core_view_base_index.eachDescendant(view, descendantsCallback)
3133
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:220)
3134
+ return retVal
3135
+ }
3136
+ #sourceLocation()
3137
+ /// Iterates through all child views (via visual tree) and executes a function.
3138
+ /// @param view - Starting view (parent container).
3139
+ /// @param callback - A function to execute on every child. If function returns false it breaks the iteration.
3140
+ public static func eachDescendant(_ view: ViewBase?, _ callback: @escaping (ViewBase?) throws -> Bool) throws {
3141
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:229)
3142
+ if !jsTruthy(callback) || !jsTruthy(view) {
3143
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:230)
3144
+ return
3145
+ }
3146
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:233)
3147
+ var continueIteration: Bool? = nil
3148
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:234)
3149
+ var localCallback: ((ViewBase?) throws -> Bool)?
3150
+ localCallback = { (child: ViewBase?) throws -> Bool in
3151
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:235)
3152
+ continueIteration = try jsCallable(callback, "callback")(child)
3153
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:236)
3154
+ if jsTruthy(continueIteration as Any?) {
3155
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:237)
3156
+ try jsUnwrap(child, "eachChild").eachChild(FunctionCell_ViewBaseOpt_to_Bool.present(localCallback))
3157
+ }
3158
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:240)
3159
+ return (continueIteration ?? false)
3160
+ }
3161
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:243)
3162
+ try jsUnwrap(view, "eachChild").eachChild(FunctionCell_ViewBaseOpt_to_Bool.present(localCallback))
3163
+ }
3164
+ #sourceLocation()
3165
+ public static var viewIdCounter: Double = 1
3166
+ public static var bindingContextProperty: InheritedProperty?
3167
+ public static var hiddenProperty: Property?
3168
+ public static var classNameProperty: Property?
3169
+ public static var idProperty: Property?
3170
+ public static var defaultVisualStateProperty: Property?
3171
+ }
3172
+
3173
+ public func __init_Core_ui_core_view_base_index() {
3174
+ jsReport {
3175
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:308)
3176
+ JSPrototypes.declare(
3177
+ ViewBase.self, "cssType",
3178
+ get: { (__this: Any?) throws -> Any? in
3179
+ guard let __o = __this as? ViewBase else { throw JSException(JSTypeError("Illegal invocation")) }
3180
+ return __o.cssType
3181
+ },
3182
+ set: { (__this: Any?, __v: Any?) throws -> Void in
3183
+ guard let __o = __this as? ViewBase else { throw JSException(JSTypeError("Illegal invocation")) }
3184
+ __o.cssType = jsLenientString(__v)
3185
+ })
3186
+ JSPrototypes.declare(
3187
+ ViewBase.self, "parentNode",
3188
+ get: { (__this: Any?) throws -> Any? in
3189
+ guard let __o = __this as? ViewBase else { throw JSException(JSTypeError("Illegal invocation")) }
3190
+ return __o.parentNode
3191
+ },
3192
+ set: { (__this: Any?, __v: Any?) throws -> Void in
3193
+ guard let __o = __this as? ViewBase else { throw JSException(JSTypeError("Illegal invocation")) }
3194
+ try jsSet(__o, "_templateParent", __v)
3195
+ })
3196
+ JSPrototypes.declare(
3197
+ ViewBase.self, "nativeView",
3198
+ get: { (__this: Any?) throws -> Any? in
3199
+ guard let __o = __this as? ViewBase else { throw JSException(JSTypeError("Illegal invocation")) }
3200
+ return __o.nativeView
3201
+ },
3202
+ set: { (__this: Any?, __v: Any?) throws -> Void in
3203
+ guard let __o = __this as? ViewBase else { throw JSException(JSTypeError("Illegal invocation")) }
3204
+ __o.nativeView = __v
3205
+ })
3206
+ JSPrototypes.declare(
3207
+ ViewBase.self, "typeName",
3208
+ get: { (__this: Any?) throws -> Any? in
3209
+ guard let __o = __this as? ViewBase else { throw JSException(JSTypeError("Illegal invocation")) }
3210
+ return try __o.typeName
3211
+ }, set: nil)
3212
+ JSPrototypes.declare(
3213
+ ViewBase.self, "style",
3214
+ get: { (__this: Any?) throws -> Any? in
3215
+ guard let __o = __this as? ViewBase else { throw JSException(JSTypeError("Illegal invocation")) }
3216
+ return __o.style
3217
+ },
3218
+ set: { (__this: Any?, __v: Any?) throws -> Void in
3219
+ guard let __o = __this as? ViewBase else { throw JSException(JSTypeError("Illegal invocation")) }
3220
+ __o.__set_style(__v)
3221
+ })
3222
+ JSPrototypes.declare(
3223
+ ViewBase.self, "android",
3224
+ get: { (__this: Any?) throws -> Any? in
3225
+ guard let __o = __this as? ViewBase else { throw JSException(JSTypeError("Illegal invocation")) }
3226
+ return __o.android
3227
+ }, set: nil)
3228
+ JSPrototypes.declare(
3229
+ ViewBase.self, "ios",
3230
+ get: { (__this: Any?) throws -> Any? in
3231
+ guard let __o = __this as? ViewBase else { throw JSException(JSTypeError("Illegal invocation")) }
3232
+ return try __o.ios
3233
+ }, set: nil)
3234
+ JSPrototypes.declare(
3235
+ ViewBase.self, "isLoaded",
3236
+ get: { (__this: Any?) throws -> Any? in
3237
+ guard let __o = __this as? ViewBase else { throw JSException(JSTypeError("Illegal invocation")) }
3238
+ return __o.isLoaded
3239
+ }, set: nil)
3240
+ JSPrototypes.declare(
3241
+ ViewBase.self, "class",
3242
+ get: { (__this: Any?) throws -> Any? in
3243
+ guard let __o = __this as? ViewBase else { throw JSException(JSTypeError("Illegal invocation")) }
3244
+ return __o.__class__
3245
+ },
3246
+ set: { (__this: Any?, __v: Any?) throws -> Void in
3247
+ guard let __o = __this as? ViewBase else { throw JSException(JSTypeError("Illegal invocation")) }
3248
+ try jsSet(__o, "className", __v)
3249
+ })
3250
+ JSPrototypes.declare(
3251
+ ViewBase.self, "effectivePaddingTop",
3252
+ get: { (__this: Any?) throws -> Any? in
3253
+ guard let __o = __this as? ViewBase else { throw JSException(JSTypeError("Illegal invocation")) }
3254
+ return __o.effectivePaddingTop
3255
+ },
3256
+ set: { (__this: Any?, __v: Any?) throws -> Void in
3257
+ guard let __o = __this as? ViewBase else { throw JSException(JSTypeError("Illegal invocation")) }
3258
+ try jsSet(__o, "_effectivePaddingTop", __v)
3259
+ })
3260
+ JSPrototypes.declare(
3261
+ ViewBase.self, "effectivePaddingRight",
3262
+ get: { (__this: Any?) throws -> Any? in
3263
+ guard let __o = __this as? ViewBase else { throw JSException(JSTypeError("Illegal invocation")) }
3264
+ return __o.effectivePaddingRight
3265
+ },
3266
+ set: { (__this: Any?, __v: Any?) throws -> Void in
3267
+ guard let __o = __this as? ViewBase else { throw JSException(JSTypeError("Illegal invocation")) }
3268
+ try jsSet(__o, "_effectivePaddingRight", __v)
3269
+ })
3270
+ JSPrototypes.declare(
3271
+ ViewBase.self, "effectivePaddingBottom",
3272
+ get: { (__this: Any?) throws -> Any? in
3273
+ guard let __o = __this as? ViewBase else { throw JSException(JSTypeError("Illegal invocation")) }
3274
+ return __o.effectivePaddingBottom
3275
+ },
3276
+ set: { (__this: Any?, __v: Any?) throws -> Void in
3277
+ guard let __o = __this as? ViewBase else { throw JSException(JSTypeError("Illegal invocation")) }
3278
+ try jsSet(__o, "_effectivePaddingBottom", __v)
3279
+ })
3280
+ JSPrototypes.declare(
3281
+ ViewBase.self, "effectivePaddingLeft",
3282
+ get: { (__this: Any?) throws -> Any? in
3283
+ guard let __o = __this as? ViewBase else { throw JSException(JSTypeError("Illegal invocation")) }
3284
+ return __o.effectivePaddingLeft
3285
+ },
3286
+ set: { (__this: Any?, __v: Any?) throws -> Void in
3287
+ guard let __o = __this as? ViewBase else { throw JSException(JSTypeError("Illegal invocation")) }
3288
+ try jsSet(__o, "_effectivePaddingLeft", __v)
3289
+ })
3290
+ JSPrototypes.declare(
3291
+ ViewBase.self, "page",
3292
+ get: { (__this: Any?) throws -> Any? in
3293
+ guard let __o = __this as? ViewBase else { throw JSException(JSTypeError("Illegal invocation")) }
3294
+ return try __o.page
3295
+ }, set: nil)
3296
+ JSPrototypes.declare(
3297
+ ViewBase.self, "visualState",
3298
+ get: { (__this: Any?) throws -> Any? in
3299
+ guard let __o = __this as? ViewBase else { throw JSException(JSTypeError("Illegal invocation")) }
3300
+ return __o.visualState
3301
+ }, set: nil)
3302
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:308)
3303
+ JSPrototypes.declareStatics(
3304
+ ViewBase.self,
3305
+ [
3306
+ ("loadedEvent", { () -> Any? in ViewBase.loadedEvent }),
3307
+ ("unloadedEvent", { () -> Any? in ViewBase.unloadedEvent }),
3308
+ ("createdEvent", { () -> Any? in ViewBase.createdEvent }),
3309
+ ("disposeNativeViewEvent", { () -> Any? in ViewBase.disposeNativeViewEvent }),
3310
+ ])
3311
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1571)
3312
+ try jsSet(JSPrototypes.of(ViewBase.self), "isCollapsed", false)
3313
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1573)
3314
+ try jsSet(JSPrototypes.of(ViewBase.self), "_oldLeft", Double(0))
3315
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1574)
3316
+ try jsSet(JSPrototypes.of(ViewBase.self), "_oldTop", Double(0))
3317
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1575)
3318
+ try jsSet(JSPrototypes.of(ViewBase.self), "_oldRight", Double(0))
3319
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1576)
3320
+ try jsSet(JSPrototypes.of(ViewBase.self), "_oldBottom", Double(0))
3321
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1578)
3322
+ try jsSet(JSPrototypes.of(ViewBase.self), "effectiveMinWidth", Double(0))
3323
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1579)
3324
+ try jsSet(JSPrototypes.of(ViewBase.self), "effectiveMinHeight", Double(0))
3325
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1581)
3326
+ try jsSet(JSPrototypes.of(ViewBase.self), "effectiveMaxWidth", Double.infinity)
3327
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1582)
3328
+ try jsSet(JSPrototypes.of(ViewBase.self), "effectiveMaxHeight", Double.infinity)
3329
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1583)
3330
+ try jsSet(JSPrototypes.of(ViewBase.self), "effectiveWidth", Double(0))
3331
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1584)
3332
+ try jsSet(JSPrototypes.of(ViewBase.self), "effectiveHeight", Double(0))
3333
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1585)
3334
+ try jsSet(JSPrototypes.of(ViewBase.self), "effectiveMarginTop", Double(0))
3335
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1586)
3336
+ try jsSet(JSPrototypes.of(ViewBase.self), "effectiveMarginRight", Double(0))
3337
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1587)
3338
+ try jsSet(JSPrototypes.of(ViewBase.self), "effectiveMarginBottom", Double(0))
3339
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1588)
3340
+ try jsSet(JSPrototypes.of(ViewBase.self), "effectiveMarginLeft", Double(0))
3341
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1589)
3342
+ try jsSet(JSPrototypes.of(ViewBase.self), "effectiveBorderTopWidth", Double(0))
3343
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1590)
3344
+ try jsSet(JSPrototypes.of(ViewBase.self), "effectiveBorderRightWidth", Double(0))
3345
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1591)
3346
+ try jsSet(JSPrototypes.of(ViewBase.self), "effectiveBorderBottomWidth", Double(0))
3347
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1592)
3348
+ try jsSet(JSPrototypes.of(ViewBase.self), "effectiveBorderLeftWidth", Double(0))
3349
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1593)
3350
+ try jsSet(JSPrototypes.of(ViewBase.self), "effectiveRowGap", Double(0))
3351
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1594)
3352
+ try jsSet(JSPrototypes.of(ViewBase.self), "effectiveColumnGap", Double(0))
3353
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1595)
3354
+ try jsSet(JSPrototypes.of(ViewBase.self), "_isViewBase", true)
3355
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1596)
3356
+ try jsSet(JSPrototypes.of(ViewBase.self), "recycleNativeView", "never")
3357
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1597)
3358
+ try jsSet(JSPrototypes.of(ViewBase.self), "reusable", false)
3359
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1599)
3360
+ try jsSet(
3361
+ JSPrototypes.of(ViewBase.self), "_suspendNativeUpdatesCount",
3362
+ jsBitOr(jsBitOr(SuspendType.Loaded, SuspendType.NativeView), SuspendType.UISetup))
3363
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1601)
3364
+ Core_ui_core_view_base_index.bindingContextProperty = try InheritedProperty(
3365
+ JSObject([("name", "bindingContext")]))
3366
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1604)
3367
+ try jsUnwrap(Core_ui_core_view_base_index.bindingContextProperty, "register").register(ViewBase.self)
3368
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1606)
3369
+ Core_ui_core_view_base_index.hiddenProperty = try Property(
3370
+ JSObject([
3371
+ ("name", "hidden"), ("defaultValue", false), ("affectsLayout", true),
3372
+ (
3373
+ "valueConverter",
3374
+ FunctionCell_AnyOpt_to_Bool.script(
3375
+ "booleanConverter", 1,
3376
+ FunctionCell_AnyOpt_to_Bool.declared(
3377
+ "Core_ui_core_view_base_utils.booleanConverter",
3378
+ { Core_ui_core_view_base_utils.booleanConverter($0) }))
3379
+ ),
3380
+ (
3381
+ "valueChanged",
3382
+ FunctionCell_ViewBaseOpt_Bool_Bool_to_Void.scriptOrNil(
3383
+ "", 3,
3384
+ { (target: ViewBase?, oldValue: Bool, newValue: Bool) throws -> Void in
3385
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1612)
3386
+ if jsTruthy(target) {
3387
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1613)
3388
+ try jsUnwrap(target, setting: "isCollapsed").isCollapsed = newValue
3389
+ }
3390
+ })
3391
+ ),
3392
+ ]))
3393
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1617)
3394
+ try jsUnwrap(Core_ui_core_view_base_index.hiddenProperty, "register").register(ViewBase.self)
3395
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1619)
3396
+ Core_ui_core_view_base_index.classNameProperty = try Property(
3397
+ { () -> JSObject in
3398
+ let __o_1 = JSObject()
3399
+ __o_1["name"] = "className"
3400
+ __o_1["valueChanged"] = FunctionCell_ViewBaseOpt_String_String_to_Void.scriptOrNil(
3401
+ "", 3,
3402
+ { (view: ViewBase?, oldValue: String, newValue: String) throws -> Void in
3403
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1622)
3404
+ let cssClasses: JSSet<String>? = try jsUnwrap(view, "cssClasses").cssClasses
3405
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1623)
3406
+ let rootViewsCssClasses: JSArray<String>? = NativeScriptKit.CSSUtils.getSystemCssClasses()
3407
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1625)
3408
+ let shouldAddModalRootViewCssClasses: Bool = try jsUnwrap(cssClasses, "has").has(
3409
+ NativeScriptKit.CSSUtils.MODAL_ROOT_VIEW_CSS_CLASS)
3410
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1626)
3411
+ let shouldAddRootViewCssClasses: Bool = try jsUnwrap(cssClasses, "has").has(
3412
+ NativeScriptKit.CSSUtils.ROOT_VIEW_CSS_CLASS)
3413
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1629)
3414
+ let windowScopedCssClasses: JSArray<String>? =
3415
+ try
3416
+ (shouldAddModalRootViewCssClasses || shouldAddRootViewCssClasses
3417
+ ? jsUnwrap(NativeScriptKit.CSSUtils.WINDOW_SCOPED_CSS_CLASSES, "filter").filter({
3418
+ (c: String) throws -> Bool in
3419
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1629)
3420
+ return try jsUnwrap(cssClasses, "has").has(c)
3421
+ }) : JSArray<String>())
3422
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1631)
3423
+ try jsUnwrap(cssClasses, "clear").clear()
3424
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1633)
3425
+ if shouldAddModalRootViewCssClasses {
3426
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1634)
3427
+ _ = try jsUnwrap(cssClasses, "add").add(NativeScriptKit.CSSUtils.MODAL_ROOT_VIEW_CSS_CLASS)
3428
+ } else if shouldAddRootViewCssClasses {
3429
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1636)
3430
+ _ = try jsUnwrap(cssClasses, "add").add(NativeScriptKit.CSSUtils.ROOT_VIEW_CSS_CLASS)
3431
+ }
3432
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1639)
3433
+ do {
3434
+ var i: Double = 0
3435
+ let length: Double = try jsUnwrap(rootViewsCssClasses, "length").length
3436
+ while i < length {
3437
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1640)
3438
+ _ = try jsUnwrap(cssClasses, "add").add(
3439
+ (jsUnwrap(rootViewsCssClasses, "i").element(i) ?? "undefined"))
3440
+ i += 1
3441
+ }
3442
+ }
3443
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1643)
3444
+ do {
3445
+ var i: Double = 0
3446
+ let length: Double = try jsUnwrap(windowScopedCssClasses, "length").length
3447
+ while i < length {
3448
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1644)
3449
+ _ = try jsUnwrap(cssClasses, "add").add(
3450
+ (jsUnwrap(windowScopedCssClasses, "i").element(i) ?? "undefined"))
3451
+ i += 1
3452
+ }
3453
+ }
3454
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1647)
3455
+ if jsStringEquals("string", "string") && !jsStringEquals(newValue, "") {
3456
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1648)
3457
+ let classes: JSArray<String>? = jsSplit(newValue, jsRegExpLiteral("\\s+", "")).map {
3458
+ $0 ?? ""
3459
+ }
3460
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1649)
3461
+ var i: Double = 0
3462
+ let length: Double = try jsUnwrap(classes, "length").length
3463
+ while i < length {
3464
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1650)
3465
+ if try jsTruthy(jsUnwrap(classes, "i").element(i) as Any?) {
3466
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1651)
3467
+ _ = try jsUnwrap(cssClasses, "add").add(
3468
+ (jsUnwrap(classes, "i").element(i) ?? "undefined"))
3469
+ }
3470
+ i += 1
3471
+ }
3472
+ }
3473
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1656)
3474
+ try jsUnwrap(view, "_onCssStateChange")._onCssStateChange()
3475
+ })
3476
+ return __o_1
3477
+ }())
3478
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1659)
3479
+ try jsUnwrap(Core_ui_core_view_base_index.classNameProperty, "register").register(ViewBase.self)
3480
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1661)
3481
+ Core_ui_core_view_base_index.idProperty = try Property(
3482
+ JSObject([
3483
+ ("name", "id"),
3484
+ (
3485
+ "valueChanged",
3486
+ FunctionCell_ViewBaseOpt_String_String_to_Void.scriptOrNil(
3487
+ "", 3,
3488
+ { (view: ViewBase?, oldValue: String, newValue: String) throws -> Void in
3489
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1663)
3490
+ try jsUnwrap(view, "_onCssStateChange")._onCssStateChange()
3491
+ })
3492
+ ),
3493
+ ]))
3494
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1665)
3495
+ try jsUnwrap(Core_ui_core_view_base_index.idProperty, "register").register(ViewBase.self)
3496
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1667)
3497
+ Core_ui_core_view_base_index.defaultVisualStateProperty = try Property(
3498
+ { () -> JSObject in
3499
+ let __o_2 = JSObject()
3500
+ __o_2["name"] = "defaultVisualState"
3501
+ __o_2["defaultValue"] = "normal"
3502
+ __o_2["valueChanged"] = FunctionCell_ViewBaseOpt_String_String_to_Void.scriptOrNil(
3503
+ "", 3,
3504
+ { (target: ViewBase?, oldValue: String, newValue: String) throws -> Void in
3505
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1674)
3506
+ if try
3507
+ (jsTruthy(jsUnwrap(target, "cssPseudoClasses").cssPseudoClasses)
3508
+ && jsUnwrap(jsUnwrap(target, "cssPseudoClasses").cssPseudoClasses, "has").has(oldValue))
3509
+ {
3510
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1675)
3511
+ try jsUnwrap(target, "deletePseudoClass").deletePseudoClass(oldValue)
3512
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1676)
3513
+ try jsUnwrap(target, "addPseudoClass").addPseudoClass(newValue)
3514
+ }
3515
+ })
3516
+ return __o_2
3517
+ }())
3518
+ #sourceLocation(file:"@nativescript/core/ui.core.view-base.index.ts",line:1680)
3519
+ try jsUnwrap(Core_ui_core_view_base_index.defaultVisualStateProperty, "register").register(ViewBase.self)
3520
+ }
3521
+ }
3522
+ #sourceLocation()