@nstudio/nativescript-compiler 0.0.0-stage → 9.2.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +19 -0
- package/README.md +72 -2
- package/bin/build-dist.mjs +145 -0
- package/bin/ns-compiled-adapter.js +46 -0
- package/bin/ns-compiled-doctor.js +15 -0
- package/bin/ns-compiled-retrace.js +16 -0
- package/bin/ns-compiled-verify.js +15 -0
- package/bin/ns-compiled.js +26 -0
- package/bin/strip-types.js +18 -0
- package/config.d.ts +41 -0
- package/dist/adapters/active.js +59 -0
- package/dist/adapters/first-party.js +12 -0
- package/dist/adapters/framework.js +135 -0
- package/dist/adapters/hooks.js +115 -0
- package/dist/adapters/load.js +188 -0
- package/dist/api/adapter-api.js +2 -0
- package/dist/api/binding-api.js +11 -0
- package/dist/api/elements.js +21 -0
- package/dist/api/ir.js +29 -0
- package/dist/api/listview.js +27 -0
- package/dist/api/rewrite.js +98 -0
- package/dist/api/typescript-internal.d.ts +35 -0
- package/dist/cli/commands/compile-android.cjs +79 -0
- package/dist/cli/commands/compile-doctor.cjs +45 -0
- package/dist/cli/commands/compile-ios.cjs +77 -0
- package/dist/cli/commands/compile-retrace.cjs +40 -0
- package/dist/cli/commands/compile-verify.cjs +73 -0
- package/dist/cli/contracts.cjs +36 -0
- package/dist/cli/runtime.cjs +166 -0
- package/dist/css/css.js +118 -0
- package/dist/css/worker.js +242 -0
- package/dist/driver/cli.js +95 -0
- package/dist/driver/compile.js +571 -0
- package/dist/driver/contract.js +136 -0
- package/dist/driver/mirror.js +71 -0
- package/dist/driver/paths.js +19 -0
- package/dist/driver/preflight.js +206 -0
- package/dist/driver/toolchain.js +46 -0
- package/dist/driver/unimplemented.js +326 -0
- package/dist/kit/core-source.js +107 -0
- package/dist/kit/kit-index.js +105 -0
- package/dist/kit/manifest.js +468 -0
- package/dist/kit/overlay.js +56 -0
- package/dist/kit/swift-declarations.js +643 -0
- package/dist/kotlin/access.js +635 -0
- package/dist/kotlin/app-modules.js +111 -0
- package/dist/kotlin/arguments.js +398 -0
- package/dist/kotlin/assignment.js +226 -0
- package/dist/kotlin/builtins.js +575 -0
- package/dist/kotlin/calls.js +519 -0
- package/dist/kotlin/checked.js +61 -0
- package/dist/kotlin/class-accessors.js +129 -0
- package/dist/kotlin/class-constructor.js +129 -0
- package/dist/kotlin/class-declaration.js +337 -0
- package/dist/kotlin/class-fields.js +362 -0
- package/dist/kotlin/class-methods.js +213 -0
- package/dist/kotlin/classes.js +333 -0
- package/dist/kotlin/components.js +450 -0
- package/dist/kotlin/construction.js +235 -0
- package/dist/kotlin/control-flow.js +188 -0
- package/dist/kotlin/conversion.js +513 -0
- package/dist/kotlin/core-api.js +762 -0
- package/dist/kotlin/core-index.js +228 -0
- package/dist/kotlin/declarations.js +461 -0
- package/dist/kotlin/diagnostics.js +28 -0
- package/dist/kotlin/expression-statements.js +227 -0
- package/dist/kotlin/expressions.js +468 -0
- package/dist/kotlin/functions.js +479 -0
- package/dist/kotlin/global-calls.js +307 -0
- package/dist/kotlin/install.js +89 -0
- package/dist/kotlin/key-plans.js +117 -0
- package/dist/kotlin/kit-gen.js +581 -0
- package/dist/kotlin/ktfmt.js +60 -0
- package/dist/kotlin/library.js +62 -0
- package/dist/kotlin/literals.js +593 -0
- package/dist/kotlin/loops.js +185 -0
- package/dist/kotlin/mixins.js +103 -0
- package/dist/kotlin/modules.js +769 -0
- package/dist/kotlin/names.js +273 -0
- package/dist/kotlin/narrowing.js +180 -0
- package/dist/kotlin/native/api.js +117 -0
- package/dist/kotlin/native/bridging.js +254 -0
- package/dist/kotlin/native/calls.js +408 -0
- package/dist/kotlin/native/classfiles.js +524 -0
- package/dist/kotlin/native/classpath.js +32 -0
- package/dist/kotlin/native/conversions.js +280 -0
- package/dist/kotlin/native/extend.js +302 -0
- package/dist/kotlin/native/members.js +240 -0
- package/dist/kotlin/native/overloads.js +253 -0
- package/dist/kotlin/native/subclasses.js +378 -0
- package/dist/kotlin/native/types.js +421 -0
- package/dist/kotlin/operators.js +449 -0
- package/dist/kotlin/optional-chains.js +279 -0
- package/dist/kotlin/overrides.js +835 -0
- package/dist/kotlin/placement.js +749 -0
- package/dist/kotlin/prototype-calls.js +154 -0
- package/dist/kotlin/render.js +363 -0
- package/dist/kotlin/state-backend.js +123 -0
- package/dist/kotlin/statements.js +426 -0
- package/dist/kotlin/static-calls.js +296 -0
- package/dist/kotlin/syntax.js +689 -0
- package/dist/kotlin/translator-types.js +1 -0
- package/dist/kotlin/translator.js +810 -0
- package/dist/kotlin/type-facts.js +414 -0
- package/dist/kotlin/type-tests.js +250 -0
- package/dist/kotlin/types.js +662 -0
- package/dist/kotlin/untyped-values.js +356 -0
- package/dist/plugins/bindings-android.js +69 -0
- package/dist/plugins/bindings.js +93 -0
- package/dist/plugins/native-android.js +582 -0
- package/dist/plugins/native-ios.js +632 -0
- package/dist/plugins/resolve.js +108 -0
- package/dist/plugins/source.js +1124 -0
- package/dist/program/app-modules.js +52 -0
- package/dist/program/app-paths.js +60 -0
- package/dist/program/build-caches.js +14 -0
- package/dist/program/build-context.js +48 -0
- package/dist/program/constructor-factories.js +134 -0
- package/dist/program/core-facts.js +151 -0
- package/dist/program/core-patches.js +59 -0
- package/dist/program/env.js +4 -0
- package/dist/program/module-order.js +123 -0
- package/dist/program/order.js +23 -0
- package/dist/program/patterns.js +99 -0
- package/dist/program/platform.js +401 -0
- package/dist/program/program.js +726 -0
- package/dist/program/properties.js +61 -0
- package/dist/program/reach.js +444 -0
- package/dist/program/source-lines.js +268 -0
- package/dist/program/stable-names.js +112 -0
- package/dist/semantics/apis/api.js +31 -0
- package/dist/semantics/apis/array.js +69 -0
- package/dist/semantics/apis/bigint.js +53 -0
- package/dist/semantics/apis/console.js +29 -0
- package/dist/semantics/apis/date.js +7 -0
- package/dist/semantics/apis/globals.js +40 -0
- package/dist/semantics/apis/json.js +6 -0
- package/dist/semantics/apis/mapset.js +21 -0
- package/dist/semantics/apis/math.js +48 -0
- package/dist/semantics/apis/number.js +33 -0
- package/dist/semantics/apis/object.js +25 -0
- package/dist/semantics/apis/operators.js +316 -0
- package/dist/semantics/apis/promise.js +22 -0
- package/dist/semantics/apis/regexp.js +15 -0
- package/dist/semantics/apis/statics.js +61 -0
- package/dist/semantics/apis/string.js +45 -0
- package/dist/semantics/ast.js +315 -0
- package/dist/semantics/async.js +582 -0
- package/dist/semantics/class-plan.js +168 -0
- package/dist/semantics/classes.js +562 -0
- package/dist/semantics/config.js +29 -0
- package/dist/semantics/constant-init.js +107 -0
- package/dist/semantics/conversion.js +255 -0
- package/dist/semantics/decision-trace.js +304 -0
- package/dist/semantics/facts.js +433 -0
- package/dist/semantics/forms/by-name.js +338 -0
- package/dist/semantics/forms/flow.js +336 -0
- package/dist/semantics/forms/forms.js +311 -0
- package/dist/semantics/forms/observers.js +513 -0
- package/dist/semantics/forms/open.js +218 -0
- package/dist/semantics/forms/place-calls.js +387 -0
- package/dist/semantics/forms/placements.js +296 -0
- package/dist/semantics/forms/results.js +307 -0
- package/dist/semantics/forms/union-find.js +157 -0
- package/dist/semantics/globals.js +46 -0
- package/dist/semantics/lang/arrays.js +238 -0
- package/dist/semantics/lang/fields.js +211 -0
- package/dist/semantics/lang/members.js +277 -0
- package/dist/semantics/lang/prototypes.js +262 -0
- package/dist/semantics/lang/this-args.js +189 -0
- package/dist/semantics/lang.js +232 -0
- package/dist/semantics/ledger.js +157 -0
- package/dist/semantics/limits.js +11 -0
- package/dist/semantics/losses.js +201 -0
- package/dist/semantics/lowering-methods.js +42 -0
- package/dist/semantics/marks.js +39 -0
- package/dist/semantics/nullish.js +918 -0
- package/dist/semantics/observers.js +1 -0
- package/dist/semantics/placement.js +698 -0
- package/dist/semantics/platform-globals.js +20 -0
- package/dist/semantics/read-sites.js +29 -0
- package/dist/semantics/refusals.js +206 -0
- package/dist/semantics/refuse-construction.js +64 -0
- package/dist/semantics/refuse-receivers.js +189 -0
- package/dist/semantics/refuse-scope.js +82 -0
- package/dist/semantics/regexp.js +219 -0
- package/dist/semantics/result-shapes.js +203 -0
- package/dist/semantics/runtime.js +482 -0
- package/dist/semantics/shape-defined-keys.js +146 -0
- package/dist/semantics/shape-instance-keys.js +230 -0
- package/dist/semantics/shape-map.js +72 -0
- package/dist/semantics/shapes.js +660 -0
- package/dist/semantics/sharing.js +406 -0
- package/dist/semantics/signals.js +166 -0
- package/dist/semantics/spelled.js +45 -0
- package/dist/semantics/states/by-name.js +46 -0
- package/dist/semantics/states/elements.js +310 -0
- package/dist/semantics/states/fields.js +308 -0
- package/dist/semantics/states/foreign.js +208 -0
- package/dist/semantics/states/lenient.js +246 -0
- package/dist/semantics/states/missing.js +289 -0
- package/dist/semantics/states/nil.js +223 -0
- package/dist/semantics/states/parameters.js +191 -0
- package/dist/semantics/states/predicates.js +232 -0
- package/dist/semantics/states/reads.js +247 -0
- package/dist/semantics/states/results.js +113 -0
- package/dist/semantics/states/untrusted.js +141 -0
- package/dist/semantics/states/untyped.js +194 -0
- package/dist/semantics/states/value-states.js +422 -0
- package/dist/semantics/tdz.js +106 -0
- package/dist/semantics/threading.js +77 -0
- package/dist/semantics/throws.js +880 -0
- package/dist/semantics/top-names.js +59 -0
- package/dist/semantics/translator-methods.js +602 -0
- package/dist/semantics/trust.js +321 -0
- package/dist/semantics/type-methods.js +168 -0
- package/dist/semantics/type-step.js +116 -0
- package/dist/semantics/types.js +458 -0
- package/dist/semantics/worker-state.js +198 -0
- package/dist/swift/access.js +754 -0
- package/dist/swift/app-modules.js +41 -0
- package/dist/swift/arguments.js +237 -0
- package/dist/swift/assignment.js +270 -0
- package/dist/swift/availability.js +146 -0
- package/dist/swift/builtins.js +822 -0
- package/dist/swift/calls.js +493 -0
- package/dist/swift/casts.js +218 -0
- package/dist/swift/checked.js +433 -0
- package/dist/swift/class-accessors.js +139 -0
- package/dist/swift/class-constructor.js +144 -0
- package/dist/swift/class-declaration.js +308 -0
- package/dist/swift/class-fields.js +361 -0
- package/dist/swift/class-methods.js +247 -0
- package/dist/swift/classes.js +524 -0
- package/dist/swift/components.js +386 -0
- package/dist/swift/construction.js +291 -0
- package/dist/swift/control-flow.js +210 -0
- package/dist/swift/conversion.js +425 -0
- package/dist/swift/core-api.js +1068 -0
- package/dist/swift/declarations.js +389 -0
- package/dist/swift/enums.js +58 -0
- package/dist/swift/expression-statements.js +312 -0
- package/dist/swift/expressions.js +575 -0
- package/dist/swift/from-any.js +316 -0
- package/dist/swift/functions.js +498 -0
- package/dist/swift/generics.js +124 -0
- package/dist/swift/global-calls.js +217 -0
- package/dist/swift/install.js +109 -0
- package/dist/swift/key-plans.js +136 -0
- package/dist/swift/kit-gen.js +605 -0
- package/dist/swift/lenient.js +468 -0
- package/dist/swift/library.js +109 -0
- package/dist/swift/literals.js +509 -0
- package/dist/swift/loops.js +245 -0
- package/dist/swift/marks.js +212 -0
- package/dist/swift/members.js +253 -0
- package/dist/swift/method-values.js +179 -0
- package/dist/swift/mixins.js +113 -0
- package/dist/swift/modules.js +969 -0
- package/dist/swift/names.js +370 -0
- package/dist/swift/narrowing.js +170 -0
- package/dist/swift/native/api.js +269 -0
- package/dist/swift/native/bridging.js +240 -0
- package/dist/swift/native/calls.js +586 -0
- package/dist/swift/native/conversions.js +532 -0
- package/dist/swift/native/dispatch.js +218 -0
- package/dist/swift/native/members.js +416 -0
- package/dist/swift/native/sdk-tables.js +772 -0
- package/dist/swift/native/sdk-types.js +1 -0
- package/dist/swift/native/sdk.js +409 -0
- package/dist/swift/native/subclasses.js +533 -0
- package/dist/swift/object-classes.js +396 -0
- package/dist/swift/operators.js +575 -0
- package/dist/swift/optional-chains.js +405 -0
- package/dist/swift/parameters.js +210 -0
- package/dist/swift/placement.js +900 -0
- package/dist/swift/protocols.js +164 -0
- package/dist/swift/prototype-calls.js +227 -0
- package/dist/swift/render.js +385 -0
- package/dist/swift/results.js +370 -0
- package/dist/swift/state-backend.js +243 -0
- package/dist/swift/statements.js +505 -0
- package/dist/swift/static-calls.js +320 -0
- package/dist/swift/syntax.js +916 -0
- package/dist/swift/translator-types.js +1 -0
- package/dist/swift/translator.js +890 -0
- package/dist/swift/type-facts.js +530 -0
- package/dist/swift/type-tests.js +211 -0
- package/dist/swift/types.js +665 -0
- package/dist/targets/android/build.js +598 -0
- package/dist/targets/android/compose-mapping.js +218 -0
- package/dist/targets/android/deprecations.js +81 -0
- package/dist/targets/android/resources.js +80 -0
- package/dist/targets/ios/build.js +583 -0
- package/dist/targets/ios/core-native.js +149 -0
- package/dist/targets/ios/dependencies.js +464 -0
- package/dist/targets/ios/plist.js +127 -0
- package/dist/targets/ios/resources.js +285 -0
- package/dist/targets/ios/retrace.js +196 -0
- package/dist/targets/ios/signing.js +84 -0
- package/dist/targets/ios/xcodegen.js +39 -0
- package/dist/targets/resources.js +180 -0
- package/dist/template/model.js +38 -0
- package/dist/template/plan.js +576 -0
- package/dist/tools/doctor.js +172 -0
- package/dist/tools/retrace.js +116 -0
- package/dist/tools/verify.js +330 -0
- package/dist/types/adapter-api.d.ts +683 -0
- package/dist/types/binding-api.d.ts +48 -0
- package/dist/types/elements.d.ts +10 -0
- package/dist/types/ir.d.ts +245 -0
- package/dist/types/listview.d.ts +15 -0
- package/dist/types/rewrite.d.ts +18 -0
- package/dist/types/typescript-internal.d.ts +35 -0
- package/dist/xml/app.js +65 -0
- package/dist/xml/bindings.js +308 -0
- package/dist/xml/contexts.js +296 -0
- package/dist/xml/fold.js +170 -0
- package/dist/xml/keys.js +146 -0
- package/dist/xml/pages.js +550 -0
- package/dist/xml/plan.js +650 -0
- package/docs/CLI.md +131 -0
- package/docs/cli/compile-android.md +30 -0
- package/docs/cli/compile-doctor.md +18 -0
- package/docs/cli/compile-ios.md +30 -0
- package/docs/cli/compile-retrace.md +18 -0
- package/docs/cli/compile-verify.md +18 -0
- package/docs/cli/compile.md +15 -0
- package/kit-android/build.gradle.kts +65 -0
- package/kit-android/consumer-rules.pro +7 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/__Exports.kt +966 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/__Modules.kt +125 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/__Objects.kt +39497 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/abortcontroller_abortsignal.kt +101 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/abortcontroller_index.kt +109 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/accessibility_accessibility_common.kt +547 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/accessibility_accessibility_properties.kt +263 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/accessibility_index.kt +6 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/application_application.kt +2656 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/application_application_common.kt +1932 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/application_application_interfaces.kt +6 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/application_application_shims.kt +111 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/application_helpers.kt +198 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/application_helpers_common.kt +270 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/application_index.kt +6 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/application_scene_delegate_bridge.kt +233 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/application_settings_application_settings_common.kt +28 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/application_settings_index.kt +188 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/color_color_common.kt +707 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/color_color_types.kt +6 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/color_color_utils.kt +368 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/color_index.kt +37 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/color_known_colors.kt +418 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/com.tns.FragmentClass.kt +287 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/com.tns.NativeScriptActivity.kt +263 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/com.tns.OnBackPressedCallback.kt +116 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/connectivity_index.kt +289 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/core_types_animation_types.kt +56 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/core_types_index.kt +427 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/core_types_validators.kt +34 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/css_CSS3Parser.kt +954 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/css_CSSNativeScript.kt +205 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/css_mediaquery_index.kt +270 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/css_parser.kt +885 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/css_system_classes.kt +98 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/css_value_reworkcss_value.kt +214 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/data_observable_array_index.kt +798 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/data_observable_index.kt +1175 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/data_virtual_array_index.kt +271 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/file_system_file_system_access.kt +3828 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/file_system_index.kt +1669 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/fps_meter_fps_native.kt +177 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/fps_meter_index.kt +93 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/globals_global_utils.kt +185 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/http_http_interfaces.kt +14 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/http_http_request_http_request_common.kt +41 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/http_http_request_index.kt +119 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/http_http_request_internal_http_request_internal_common.kt +61 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/http_http_request_internal_index.kt +237 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/http_index.kt +155 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/image_asset_image_asset_common.kt +201 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/image_asset_index.kt +119 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/image_source_image_source_common.kt +26 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/image_source_index.kt +846 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/js_libs_easysax_easysax.kt +1045 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/matrix_index.kt +166 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/media_query_list_index.kt +391 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/module_name_resolver_helpers.kt +45 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/module_name_resolver_index.kt +185 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/module_name_resolver_non_bundle_workflow_compat.kt +262 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/module_name_resolver_qualifier_matcher_index.kt +305 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/native_window_index.kt +6 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/native_window_native_window.kt +397 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/native_window_native_window_common.kt +685 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/native_window_native_window_interfaces.kt +51 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/native_window_window_base.kt +223 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/npm_css_what_src_index.kt +4 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/npm_css_what_src_parse.kt +755 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/npm_css_what_src_stringify.kt +212 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/npm_css_what_src_types.kt +65 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/org.nativescript.NativeScriptComponentCallbacks.kt +57 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/org.nativescript.NativeScriptLifecycleCallbacks.kt +579 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/platform_common.kt +20 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/platform_device_index.kt +251 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/platform_index.kt +6 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/platform_screen_index.kt +183 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/profiling_index.kt +485 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/text_formatted_string.kt +6 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/text_index.kt +15 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/text_span.kt +6 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/text_text_common.kt +277 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/trace_index.kt +480 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_action_bar_action_bar_common.kt +1081 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_action_bar_index.kt +1207 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_activity_indicator_activity_indicator_common.kt +89 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_activity_indicator_index.kt +171 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_animation_animation_common.kt +518 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_animation_animation_shared.kt +6 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_animation_animation_types.kt +6 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_animation_index.kt +1539 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_animation_keyframe_animation.kt +1081 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_builder_binding_builder.kt +369 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_builder_component_builder_index.kt +487 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_builder_index.kt +1938 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_button_button_common.kt +70 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_button_index.kt +367 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_content_view_index.kt +220 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_bindable_bindable_expressions.kt +735 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_bindable_bindable_resources.kt +17 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_bindable_bindable_types.kt +6 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_bindable_expression_parser.kt +4970 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_bindable_index.kt +1342 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_control_state_change_index.kt +52 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_properties_index.kt +3578 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_properties_property_shared.kt +44 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_view_base_index.kt +3261 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_view_base_utils.kt +16 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_view_index.kt +4716 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_view_overflow_edges.kt +82 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_view_view_common.kt +3597 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_view_view_helper_index.kt +134 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_view_view_helper_view_helper_common.kt +360 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_view_view_helper_view_helper_shared.kt +6 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_view_view_interfaces.kt +349 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_weak_event_listener_index.kt +266 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_date_picker_date_picker_common.kt +369 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_date_picker_index.kt +427 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_dialogs_dialogs_common.kt +428 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_dialogs_index.kt +689 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_editable_text_base_editable_text_base_common.kt +421 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_editable_text_base_index.kt +1140 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_embedding_index.kt +34 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_enums_enums.kt +6 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_enums_index.kt +6 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_activity.kt +210 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_fragment.kt +88 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_fragment_transitions.kt +1544 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_fragment_transitions_types.kt +25 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_frame_common.kt +1350 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_frame_constants.kt +10 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_frame_helper_for_android.kt +615 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_frame_helpers.kt +42 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_frame_interfaces.kt +22 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_frame_stack.kt +112 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_frame_index.kt +1890 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_gestures_gestures_common.kt +208 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_gestures_gestures_types.kt +348 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_gestures_index.kt +1785 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_gestures_touch_manager.kt +288 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_html_view_html_view_common.kt +121 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_html_view_index.kt +283 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_image_cache_image_cache_common.kt +450 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_image_cache_index.kt +225 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_image_image_common.kt +574 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_image_index.kt +493 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_image_symbol_effects.kt +31 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_image_symbol_effects_common.kt +138 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_label_index.kt +108 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_absolute_layout_absolute_layout_common.kt +167 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_absolute_layout_index.kt +94 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_dock_layout_dock_layout_common.kt +157 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_dock_layout_index.kt +124 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_flexbox_layout_flexbox_layout_common.kt +1004 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_flexbox_layout_index.kt +675 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_grid_layout_grid_layout_common.kt +1011 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_grid_layout_index.kt +450 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_index.kt +6 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_layout_base.kt +123 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_layout_base_common.kt +442 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_liquid_glass_container_index.kt +25 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_liquid_glass_container_liquid_glass_container_common.kt +38 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_liquid_glass_index.kt +30 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_liquid_glass_liquid_glass_common.kt +25 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_root_layout_index.kt +556 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_root_layout_root_layout_common.kt +930 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_root_layout_root_layout_stack.kt +49 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_stack_layout_index.kt +63 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_stack_layout_stack_layout_common.kt +83 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_wrap_layout_index.kt +106 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_layouts_wrap_layout_wrap_layout_common.kt +185 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_list_picker_index.kt +400 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_list_picker_list_picker_common.kt +260 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_list_view_index.kt +2406 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_list_view_list_view_common.kt +912 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_page_events.kt +17 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_page_index.kt +241 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_page_page_common.kt +449 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_placeholder_index.kt +61 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_placeholder_placeholder_common.kt +6 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_progress_index.kt +204 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_progress_progress_common.kt +129 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_proxy_view_container_index.kt +457 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_repeater_index.kt +523 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_scroll_view_index.kt +400 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_scroll_view_scroll_view_common.kt +402 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_search_bar_index.kt +711 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_search_bar_search_bar_common.kt +186 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_segmented_bar_index.kt +774 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_segmented_bar_segmented_bar_common.kt +409 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_slider_index.kt +477 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_slider_slider_common.kt +234 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_split_view_index.kt +25 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_split_view_split_view_common.kt +446 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_background.kt +268 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_background_common.kt +771 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_box_shadow.kt +108 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_clip_path_function.kt +129 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_converters.kt +92 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_css_animation_parser.kt +416 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_css_selector.kt +3532 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_css_shadow.kt +38 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_css_stroke.kt +30 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_css_transform.kt +366 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_css_utils.kt +249 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_font.kt +488 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_font_common.kt +446 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_font_interfaces.kt +6 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_length_shared.kt +264 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_linear_gradient.kt +136 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_style_index.kt +1345 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_style_properties.kt +2907 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_style_scope.kt +3031 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_styling_profile.kt +6 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_styling_shared.kt +6 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_switch_index.kt +295 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_switch_switch_common.kt +139 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_tab_view_index.kt +1977 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_tab_view_tab_view_common.kt +902 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_text_base_formatted_string.kt +471 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_text_base_index.kt +1662 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_text_base_span.kt +284 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_text_base_text_base_common.kt +792 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_text_field_index.kt +211 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_text_field_text_field_common.kt +115 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_text_view_index.kt +94 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_text_view_text_view_common.kt +140 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_time_picker_index.kt +225 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_time_picker_time_picker_common.kt +699 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_transition_fade_transition.kt +68 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_transition_flip_transition.kt +209 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_transition_index.kt +160 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_transition_modal_transition.kt +49 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_transition_page_transition.kt +416 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_transition_shared_transition.kt +457 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_transition_shared_transition_helper.kt +46 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_transition_slide_transition.kt +294 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_utils.kt +20 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_web_view_index.kt +595 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_web_view_web_view_common.kt +209 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_web_view_web_view_interfaces.kt +6 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/utils_animation_helpers.kt +76 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/utils_common.kt +224 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/utils_constants.kt +22 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/utils_debug.kt +9 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/utils_debug_source.kt +246 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/utils_index.kt +296 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/utils_layout_helper_index.kt +139 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/utils_layout_helper_layout_helper_common.kt +61 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/utils_layout_helper_layout_helper_shared.kt +23 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/utils_lazy.kt +20 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/utils_macrotask_scheduler.kt +45 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/utils_mainthread_helper.kt +64 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/utils_module_merge.kt +13 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/utils_native_helper.kt +79 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/utils_native_helper_for_android.kt +805 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/utils_number_utils.kt +66 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/utils_platform_check.kt +15 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/utils_shared.kt +65 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/utils_types.kt +229 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/utils_utils_shared.kt +16 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/xml_index.kt +869 -0
- package/kit-android/generated/manifest.json +860 -0
- package/kit-android/generated/source-lines.json +1 -0
- package/kit-android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/kit-android/gradle/wrapper/gradle-wrapper.properties +6 -0
- package/kit-android/gradlew +240 -0
- package/kit-android/overlays/xml-free/kotlin/org/nativescript/kit/ui_builder_index.kt +524 -0
- package/kit-android/overlays/xml-free/kotlin/org/nativescript/kit/ui_core_bindable_index.kt +1335 -0
- package/kit-android/overlays/xml-free/overlay.json +20 -0
- package/kit-android/src/fromcore/kotlin/org/nativescript/kit/AnimationFrame.kt +68 -0
- package/kit-android/src/fromcore/kotlin/org/nativescript/kit/CoreBridge.kt +302 -0
- package/kit-android/src/fromcore/kotlin/org/nativescript/kit/Modal.kt +61 -0
- package/kit-android/src/fromcore/kotlin/org/nativescript/kit/NativeScriptApplication.kt +230 -0
- package/kit-android/src/fromcore/kotlin/org/nativescript/kit/Regions.kt +289 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/ChangeDetection.kt +28 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/ColorMix.kt +643 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/JS.kt +10 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/MainThread.kt +10 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/Signals.kt +866 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/UncaughtErrors.kt +51 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Array.kt +731 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/ArrayLike.kt +781 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/BigInt.kt +136 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/CSSCalc.kt +109 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Collections.kt +426 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/CorePackages.kt +13 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Date.kt +573 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Dynamic.kt +689 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/ES2023.kt +93 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/ErrorOrigin.kt +17 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Errors.kt +270 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/HostObjects.kt +72 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Inspect.kt +814 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Intl.kt +702 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Iterators.kt +746 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/JSON.kt +587 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Language.kt +526 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Lowering.kt +70 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Number.kt +367 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Promise.kt +680 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Prototypes.kt +292 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Reactive.kt +36 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Realm.kt +85 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/RegExp.kt +2245 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/ShortestDouble.kt +157 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Strings.kt +398 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/ThrownValue.kt +34 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Timers.kt +182 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/TypedArrays.kt +993 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/URI.kt +74 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Values.kt +1263 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Views.kt +52 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Weak.kt +110 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/WinterTC.kt +356 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Workers.kt +312 -0
- package/kit-apple/Overlays/xml-free/Core/ui.builder.index.swift +536 -0
- package/kit-apple/Overlays/xml-free/Core/ui.core.bindable.index.swift +1375 -0
- package/kit-apple/Overlays/xml-free/overlay.json +34 -0
- package/kit-apple/Package.swift +17 -0
- package/kit-apple/Sources/NativeScriptKit/AnimationFrame.swift +41 -0
- package/kit-apple/Sources/NativeScriptKit/AppModules.swift +88 -0
- package/kit-apple/Sources/NativeScriptKit/ApplicationDelegateClass.swift +273 -0
- package/kit-apple/Sources/NativeScriptKit/CSSCalc.swift +111 -0
- package/kit-apple/Sources/NativeScriptKit/ChangeDetection.swift +31 -0
- package/kit-apple/Sources/NativeScriptKit/ColorMix.swift +577 -0
- package/kit-apple/Sources/NativeScriptKit/Core/FunctionCells.Arity0.swift +1413 -0
- package/kit-apple/Sources/NativeScriptKit/Core/FunctionCells.Arity1.swift +6525 -0
- package/kit-apple/Sources/NativeScriptKit/Core/FunctionCells.Arity2.swift +4713 -0
- package/kit-apple/Sources/NativeScriptKit/Core/FunctionCells.Arity3Plus.swift +5428 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_Accuracy_AndroidActionBarIconVisibility_AndroidActionItemPosition_AnimationCurve_AutocapitalizationType_BackgroundRepeat_and_26_more_630c32.swift +472 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_ArrayExpression_BinaryExpression_CallExpression_ChainExpression_ConditionalExpression_Identifier_and_10_more_f883bf.swift +359 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_Tab_NewLine_excl_quot_QUOT_num_and_287_more_88aef2.swift +2190 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_Unknown_QuirksMode_IgnoreCase_CaseSensitive.swift +122 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_a_b_c_d_tx_ty.swift +123 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_a_h_s_l.swift +85 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_a_h_s_v.swift +85 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_a_r_g_b.swift +85 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_activate_deactivate_background_foreground_close_attached_and_26_more_127a37.swift +448 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_activeType.swift +65 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_alert_confirm_prompt_login_action.swift +118 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_align_offset.swift +94 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_android_ios_visionos_apple.swift +109 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_angle_colors.swift +81 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_animations.swift +66 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_animations_completion.swift +73 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_axis_value.swift +80 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_backgroundColor_scale_translate_rotate_opacity_width_height_valueSource_duration_curve_forceLayer.swift +257 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_body.swift +78 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_boundsChanged_sizeChanged.swift +80 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_callback_thisArg_once.swift +112 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_collections_createUIDocumentInteractionControllerDelegate_getCurrentAppPath_getRootViewController_getVisibleViewController_getWindow_and_10_more_6713a9.swift +281 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_color.swift +64 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_color_backgroundColor.swift +81 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_color_offset.swift +94 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_component_exports.swift +95 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_component_exports_.swift +94 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_connectionOptions.swift +66 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_constructor_hasOwnProperty_isPrototypeOf_propertyIsEnumerable_toLocaleString_toString_and_21_more_e9ed9b.swift +331 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_content_statusCode_headers.swift +106 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_context_closeCallback_fullscreen_animated_stretched.swift +149 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_context_parent_name_elementName_templateItems_errorFormat_sourceTracker_xmlModule.swift +185 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_counters_timeline.swift +95 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_create.swift +78 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_createSelector_SelectorCore_SimpleSelector_InvalidSelector_UniversalSelector_TypeSelector_and_12_more_71e044.swift +315 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_curve.swift +78 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_defaultValue_name_cssName_affectsLayout.swift +131 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_defaultValue_name_cssName_valueConverter.swift +113 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_defaultValue_name_cssName_valueConverter_.swift +113 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_deg_rad_grad_turn.swift +105 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_duration_damping.swift +80 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_duration_repeatCount_delay_curve_propertyNameToAnimate_subPropertiesToAnimate_fromValue_toValue.swift +211 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_duration_spring.swift +90 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_edge_interaction.swift +94 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_effectType_onCreate.swift +86 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_effectType_targetView.swift +73 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_effectType_targetView_toGlassStyleFn.swift +110 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_empty_text_json_blob_arraybuffer.swift +108 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_enterFrom_exitTo.swift +95 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_entry_isBackNavigation_navigationType.swift +115 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_entry_resolvedPage_navDepth_fragmentTag.swift +133 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_entry_resolvedPage_navDepth_fragmentTag_frameId.swift +162 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_enumerable_configurable_get_set.swift +123 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_enumerable_configurable_get_set_.swift +122 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_enumerable_configurable_get_set__.swift +122 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_android_ios_newValue_object.swift +147 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_data.swift +94 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_action_index_removed_addedCount.swift +153 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_action_index_removed_addedCount_.swift +154 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_action_index_removed_addedCount__.swift +152 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_android_ios_error.swift +148 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_context_closeCallback.swift +133 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_context_isBackNavigation.swift +132 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_cssFile.swift +110 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_cssFile_.swift +95 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_cssText.swift +110 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_data.swift +112 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_data_.swift +114 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_error.swift +111 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_index_count.swift +120 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_index_section_view_ios_android.swift +168 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_ios.swift +97 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_ios_.swift +111 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_ios_android.swift +129 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_ios_android_cssFile.swift +138 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_isBack_entry_fromEntry.swift +130 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_key_error.swift +128 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_key_image.swift +129 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_matches_media.swift +111 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_newValue.swift +95 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_oldIndex_newIndex.swift +104 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_oldIndex_newIndex_.swift +121 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_propertyName_value_oldValue.swift +147 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_text_ios.swift +113 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_type_view_ios.swift +117 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_url_navigationType_error.swift +158 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_url_navigationType_error_.swift +160 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_viewController.swift +114 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_view_context.swift +130 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window.swift +103 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_newValue.swift +123 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene.swift +105 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene_.swift +105 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene_shortcutItem_completionHandler.swift +157 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene_shortcutItem_completionHandler_.swift +158 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene_uiWindow_connectionOptions.swift +137 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene_uiWindow_connectionOptions_.swift +137 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene_urlContexts.swift +120 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene_urlContexts_.swift +120 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene_userActivity.swift +121 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_window_scene_userActivity_.swift +121 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_rootView.swift +80 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_type.swift +80 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_type_object.swift +111 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_window_object.swift +103 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventType_position_prefix_namespace_elementName_attributes_data.swift +169 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_exists_isDirectory.swift +80 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_f_s_t_a.swift +85 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_folder_path.swift +94 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_fontFamily_fontSize_fontWeight_fontVariationSettings_isBold_isItalic.swift +130 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_fontStyle_fontVariant_fontWeight.swift +95 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_h_s_l.swift +78 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_h_s_v.swift +78 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_headers_timestamp_headersSize_method_postData_url.swift +173 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_highlighted.swift +66 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_horizontal_vertical.swift +80 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_hour_minute.swift +80 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_id_type.swift +94 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_id_type_action.swift +108 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_id_type_percent.swift +108 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_import_type.swift +80 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_inset_color_values.swift +87 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_inset_offsetX_offsetY_blurRadius_spreadRadius_color.swift +147 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_inset_offsetX_offsetY_blurRadius_spreadRadius_color_.swift +126 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_instance.swift +64 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_instance_instanceModule.swift +97 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_instance_property.swift +86 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_instance_property_.swift +72 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_interactiveBegan.swift +66 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_interactiveBegan_interactiveCancelled.swift +81 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_interactiveCancelled.swift +66 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_interactive_pageStart_pageEnd_pageOut_pageReturn_instance_activeType.swift +165 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_inverse_type_features.swift +95 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_ios.swift +78 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_iosNotificationType.swift +66 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_iosNotificationType_message.swift +80 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_ios_.swift +64 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_ios_scene.swift +80 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_isMatch_getMatchOccurences_getMatchValue.swift +101 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_iterator_prototype_for_keyFor_hasInstance_isConcatSpreadable_and_19_more_91b5f3.swift +413 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_keepAspectRatio_autoScaleFactor.swift +73 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_key_createView.swift +95 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_key_createView_.swift +97 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_launchData.swift +68 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_left_right.swift +95 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_left_right_center_top_bottom.swift +115 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_lifecycle_timeline.swift +80 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_line_column.swift +80 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_location.swift +64 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_location_length.swift +80 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_m.swift +64 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_maskPath_shadowPath.swift +95 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_matches_media.swift +80 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_measuredWidth_measuredHeight.swift +81 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_message.swift +64 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_method.swift +64 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_method_postData.swift +80 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_modifier_property_value.swift +87 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_moduleName.swift +65 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_moduleName_.swift +78 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_moduleName_create_transition.swift +93 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_moduleName_transition.swift +76 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name.swift +64 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_affectsLayout_valueChanged.swift +103 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_affectsLayout_valueChanged_.swift +98 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_affectsLayout_valueChanged__.swift +100 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_affectsLayout_valueChanged___.swift +102 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_affectsLayout_valueConverter.swift +96 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_affectsLayout_valueConverter_valueChanged.swift +115 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName.swift +80 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_affectsLayout_defaultValue_valueConverter_valueChanged.swift +139 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_affectsLayout_defaultValue_valueConverter_valueChanged_.swift +159 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_affectsLayout_valueChanged.swift +114 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_affectsLayout_valueChanged_valueConverter.swift +130 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_affectsLayout_valueChanged_valueConverter_.swift +134 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_affectsLayout_valueConverter.swift +133 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_affectsLayout_valueConverter_.swift +113 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue.swift +94 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_affectsLayout_equalityComparer_valueChanged_valueConverter.swift +183 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_affectsLayout_equalityComparer_valueConverter.swift +168 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_affectsLayout_equalityComparer_valueConverter_.swift +169 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_affectsLayout_equalityComparer_valueConverter_valueChanged.swift +181 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_affectsLayout_valueConverter.swift +128 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_affectsLayout_valueConverter_.swift +128 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_affectsLayout_valueConverter__.swift +128 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_affectsLayout_valueConverter_valueChanged.swift +139 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_equalityComparer_valueChanged_valueConverter.swift +162 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_equalityComparer_valueConverter.swift +150 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_valueConverter.swift +113 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_valueConverter_.swift +113 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_valueConverter__.swift +114 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_valueConverter___.swift +113 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_defaultValue_valueConverter_valueChanged.swift +121 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_equalityComparer_defaultValue_valueConverter.swift +129 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_equalityComparer_valueConverter.swift +114 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_getter_converter.swift +130 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_getter_converter_.swift +133 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_getter_converter__.swift +130 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_getter_converter___.swift +131 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_getter_converter____.swift +133 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_getter_converter_____.swift +131 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_valueChanged.swift +99 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_valueChanged_equalityComparer_valueConverter.swift +153 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_valueChanged_equalityComparer_valueConverter_.swift +132 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_valueChanged_valueConverter.swift +118 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_valueConverter.swift +95 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_valueConverter_.swift +95 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_valueConverter__.swift +95 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_cssName_valueConverter_valueChanged.swift +114 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue.swift +80 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_.swift +94 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue__.swift +80 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue___.swift +81 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_affectsLayout.swift +95 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_affectsLayout_equalityComparer_valueConverter_valueChanged.swift +163 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_affectsLayout_valueChanged_coerceValue_valueConverter.swift +144 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_affectsLayout_valueChanged_valueConverter.swift +124 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_affectsLayout_valueConverter.swift +135 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_affectsLayout_valueConverter_.swift +114 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_affectsLayout_valueConverter__.swift +114 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_affectsLayout_valueConverter___.swift +135 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_affectsLayout_valueConverter____.swift +114 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_affectsLayout_valueConverter_valueChanged.swift +122 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_coerceValue_valueChanged_valueConverter.swift +125 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_coerceValue_valueConverter.swift +116 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_coerceValue_valueConverter_.swift +115 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_equalityComparer_coerceValue_valueChanged_valueConverter.swift +170 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_equalityComparer_valueChanged.swift +111 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_equalityComparer_valueConverter.swift +116 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_equalityComparer_valueConverter_.swift +139 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_equalityComparer_valueConverter__.swift +136 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged.swift +92 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged_.swift +92 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged_coerceValue_valueConverter.swift +126 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged_equalityComparer_valueConverter.swift +146 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged_valueConverter.swift +107 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged_valueConverter_.swift +107 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged_valueConverter__.swift +108 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged_valueConverter___.swift +108 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged_valueConverter____.swift +128 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged_valueConverter_____.swift +108 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueChanged_valueConverter______.swift +126 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueConverter.swift +98 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueConverter_.swift +96 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueConverter__.swift +97 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueConverter___.swift +98 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueConverter____.swift +100 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueConverter_coerceValue.swift +115 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueConverter_valueChanged.swift +107 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_defaultValue_valueConverter_valueChanged_.swift +107 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_duration.swift +80 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_equalityComparer_valueConverter.swift +101 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_equalityComparer_valueConverter_.swift +100 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_equalityComparer_valueConverter__.swift +119 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_keyframes_mediaQueryString.swift +117 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged.swift +82 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged_.swift +82 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged__.swift +84 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged___.swift +84 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged____.swift +82 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged_____.swift +82 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged______.swift +82 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged_______.swift +81 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged________.swift +86 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged_________.swift +92 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged__________.swift +90 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged_valueConverter.swift +101 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged_valueConverter_.swift +119 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueChanged_valueConverter__.swift +101 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueConverter.swift +81 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueConverter_.swift +81 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_name_valueConverter__.swift +82 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_navigatingToEvent_navigatedToEvent_navigatingFromEvent_navigatedFromEvent.swift +116 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_normalState_selectedState.swift +81 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_num_regexp_string_name_privateId_eof_and_71_more_93cbae.swift +688 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_object_eventName_propertyName_value_oldValue_origin.swift +154 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_object_eventName_scrollX_scrollY.swift +105 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_object_eventName_scrollX_scrollY_.swift +121 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_opacity_color_tapToClose_animation_ignoreShadeRestore.swift +131 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_orientation_systemAppearance.swift +100 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_orientation_systemAppearance_.swift +81 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_page_toPage.swift +94 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_page_toPage_.swift +95 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_parent_name_items.swift +111 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_path_name.swift +72 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_path_name_extension.swift +86 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_pattern_flags.swift +80 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_position_systemIcon.swift +94 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_prefix_namespace_name.swift +113 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_presented_presenting_independent.swift +98 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_propName_propValue.swift +80 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_property_value.swift +95 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_property_value_.swift +95 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_property_value__.swift +96 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_property_value___.swift +94 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_property_value____.swift +80 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_property_value_____.swift +80 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_property_value______.swift +80 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_property_value_______.swift +83 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_property_value________.swift +83 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_r_g_b.swift +78 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_raw_cooked.swift +94 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_raw_cooked_.swift +80 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_raw_requestURL_toNativeImage_toNativeString.swift +114 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_raw_requestURL_toNativeImage_toNativeString_.swift +135 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_recognizer_target.swift +96 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_repeatX_repeatY_posX_posY.swift +93 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_requestTime_proxyStart_proxyEnd_dnsStart_dnsEnd_connectStart_and_9_more_3e958e.swift +248 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_result_text.swift +94 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_result_userName_password.swift +102 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_right_left.swift +80 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_row_col.swift +72 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_rules.swift +66 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_rules_.swift +78 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_safeArea_fullscreen_inWindow.swift +107 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_scale_translate_rotate.swift +100 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_scale_tx_ty.swift +86 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_sceneWillConnect_sceneDidActivate_sceneWillResignActive_sceneWillEnterForeground_sceneDidEnterBackground_sceneDidDisconnect_and_1_more_1be9d4.swift +159 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_scene_uiWindow.swift +80 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_shape_rule.swift +80 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_sharedElements_presented_presenting.swift +115 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_sharedTransitionTag_zIndex.swift +100 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_showing.swift +64 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_snap_endFrame_endCornerRadius_srcSharedView.swift +112 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_sourceProperty_expression_twoWay_source_defaultProperty.swift +120 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_sourceProperty_targetProperty_expression.swift +111 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_sourceProperty_targetProperty_expression_twoWay_compiled.swift +145 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_spans.swift +66 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value.swift +86 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value_.swift +86 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value__.swift +89 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value___.swift +100 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value____.swift +86 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value_____.swift +88 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value______.swift +89 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value_______.swift +89 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value________.swift +89 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value_________.swift +89 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value__________.swift +89 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value___________.swift +87 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value____________.swift +90 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value_____________.swift +89 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_start_end_value______________.swift +90 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_status_headers.swift +83 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_status_statusText.swift +80 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_status_statusText_headers_url.swift +110 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_targetProperty.swift +66 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_targetProperty_sourceProperty.swift +73 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_target_backgroundColor_scale_translate_rotate_opacity_width_height_valueSource_duration_curve_forceLayer.swift +264 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_target_opacity_backgroundColor_translate_scale_height_width_rotate_duration_delay_iterations_curve.swift +252 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_target_property_value_duration_delay_iterations_curve.swift +152 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_target_property_value_duration_delay_iterations_curve_.swift +152 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_target_property_value_duration_delay_iterations_curve__.swift +153 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_target_property_value_duration_delay_iterations_curve___.swift +151 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_target_translate_scale_rotate_opacity_duration_curve.swift +165 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_tension_friction_mass_delay_velocity_animateOptions_animations_completion.swift +165 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_tension_friction_mass_velocity.swift +101 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_tension_friction_mass_velocity_delay.swift +118 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_tension_friction_mass_velocity_delay_animations_completion.swift +142 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_textColor_tintColor.swift +72 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_text_iosFont_color_backgroundColor_textDecoration_baselineOffset_index.swift +144 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_title_cancelButtonText.swift +94 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_title_okButtonText_cancelButtonText.swift +96 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_title_okButtonText_cancelButtonText_inputType.swift +112 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_title_okButtonText_cancelButtonText_message.swift +112 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_title_okButtonText_message.swift +95 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_title_section.swift +80 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_toArrayBuffer_toString_toJSON_toImage_toFile.swift +142 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_toString_charAt_charCodeAt_concat_indexOf_lastIndexOf_and_44_more_fc25df.swift +481 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_topLeft_topRight_bottomLeft_bottomRight.swift +110 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_top_bottom.swift +80 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_top_left_bottom_right.swift +109 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_top_right_bottom_left.swift +122 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_top_right_bottom_left_.swift +109 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_totalTime_count_currentStart_runCount.swift +110 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_touches_event.swift +80 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_transitionContext.swift +66 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_translateX_translateY_scaleX_scaleY_rotate_opacity.swift +118 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_translateX_translateY_scaleX_scaleY_rotate_opacity_duration_curve.swift +151 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_translate_rotate_scale.swift +102 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_type.swift +64 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_type_name_action_value_namespace_ignoreCase.swift +152 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_type_name_action_value_namespace_ignoreCase_.swift +133 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_type_name_data.swift +78 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_type_name_data_.swift +92 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_type_name_namespace.swift +102 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_type_name_prelude_block.swift +120 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_type_name_text.swift +104 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_type_name_text_components.swift +113 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_type_namespace.swift +94 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_type_path.swift +72 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_type_prelude_block.swift +111 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_type_property_value.swift +94 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_type_quote_string_value.swift +101 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_type_selectors_declarations.swift +96 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_type_start_end.swift +94 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_type_start_end_left_right.swift +127 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_type_start_end_name.swift +118 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_type_string.swift +80 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_type_string_unit_value.swift +101 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_type_stylesheet.swift +83 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_type_text.swift +72 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_type_text_.swift +97 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_type_text__.swift +86 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_type_text_associatedToken_values.swift +125 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_type_view_ios_android_direction_object_eventName.swift +159 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_type_view_ios_android_eventName_object_getPointerCount_getX_getY.swift +187 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_type_view_ios_android_object_eventName.swift +152 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_type_view_ios_android_object_eventName_state.swift +167 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_type_view_ios_android_rotation_object_eventName_state.swift +182 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_type_view_ios_android_scale_getFocusX_getFocusY_object_eventName_state.swift +194 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_type_view_ios_android_startX_startY_deltaX_deltaY_object_eventName_state.swift +201 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_uri_message_time.swift +108 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_url_method.swift +80 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_url_source.swift +95 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_url_source_.swift +94 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_url_status_statusText_headers_mimeType_fromDiskCache_timing_headersSize.swift +201 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_value_unit.swift +80 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_value_unit_.swift +94 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_view_index.swift +95 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_view_index_.swift +94 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_view_isPresented_startFrame_snapshot_endFrame_startTransform_and_5_more_20e753.swift +234 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_view_options.swift +94 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_view_options_.swift +94 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_view_startFrame_endFrame_snapshot_startOpacity_endOpacity_propertiesToMatch_zIndex.swift +186 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_view_startFrame_endFrame_startOpacity_endOpacity_propertiesToMatch_imageSourceChangeListener.swift +181 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_view_type_animation.swift +86 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_width_color.swift +86 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_width_height.swift +80 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_width_height_.swift +95 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_width_height_os_deviceType.swift +109 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_windowOpen_windowClose_primaryWindowChanged.swift +96 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_window_isPrimary.swift +80 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_window_isPrimary_data_ios.swift +118 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_xRadius_yRadius_maxRadius.swift +87 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y.swift +85 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y_.swift +72 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y__.swift +86 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y___.swift +72 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y____.swift +86 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y_____.swift +77 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y______.swift +74 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y_______.swift +89 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y________.swift +88 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y_________.swift +77 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y_width_height.swift +101 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y_z.swift +94 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_x_y_z_.swift +78 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_xmlns.swift +64 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_xs_ys_xt_yt_rx_ry_rz.swift +106 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.AndroidApplication.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.AndroidHelper.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.AnimationCurve.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.Application.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.CSSHelper.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.CSSType.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.Device.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.Dialogs.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.Enums.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.NativeWindowEvents.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.PseudoClassHandler.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.SceneEvents.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.WindowEvents.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export._resetRootView.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export._resolveAnimationCurve.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export._setResolver.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export._updateCharactersInRangeReplacementString.swift +23 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.action.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.addCss.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.addTaggedAdditionalCSS.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.addWeakEventListener.swift +22 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.alert.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.android.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.androidDynamicElevationOffsetProperty.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.androidElevationProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.animationTimingFunctionConverter.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.autocapitalizationTypeProperty.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.autocorrectProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.backgroundColorProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.backgroundEvent.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.backgroundImageProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.backgroundInternalProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.backgroundPositionProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.backgroundRepeatProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.backgroundSizeProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.booleanConverter.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderBottomColorProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderBottomLeftRadiusProperty.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderBottomRightRadiusProperty.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderBottomWidthProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderLeftColorProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderLeftWidthProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderRightColorProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderRightWidthProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderTopColorProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderTopLeftRadiusProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderTopRightRadiusProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.borderTopWidthProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.clipPathProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.colorProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.columnGapProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.confirm.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.cornerShapeProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.directionProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.discardedErrorEvent.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.displayedEvent.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.eachDescendant.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.editableProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.ensureA11yClasses.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.exitEvent.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.fontFamilyProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.fontInternalProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.fontScaleChangedEvent.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.fontScaleInternalProperty.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.fontSizeProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.fontStyleProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.fontVariationSettingsProperty.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.fontWeightProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.foregroundEvent.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.fromObject.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.fromObjectRecursive.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.getAncestor.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.getAndroidAccessibilityManager.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.getCssFileName.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.getCurrentFontScale.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.getCurrentPage.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.getFileAccess.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.getMainEntry.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.getNativeApp.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.getNativeApplication.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.getResources.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.getRootLayout.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.getRootLayoutById.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.getRootView.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.getTransformedText.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.getViewById.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.hasLaunched.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.hasListeners.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.heightProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.hintProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.horizontalAlignmentProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.inBackground.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.initAccessibilityCssHelper.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.isAccessibilityServiceEnabled.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.isAndroid.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.isApple.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.isEmbedded.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.isIOS.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.isUserInteractionEnabledProperty.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.isVisionOS.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.keyboardTypeProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.launchEvent.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.layoutDirection.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.layoutDirectionChanged.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.layoutDirectionChangedEvent.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.letterSpacingProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.lineHeightProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.loadAppCss.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.login.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.lowMemoryEvent.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.makeParser.swift +22 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.makeValidator.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.marginBottomProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.marginLeftProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.marginRightProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.marginTopProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.maxHeightProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.maxLengthProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.maxWidthProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.minHeightProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.minWidthProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.notify.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.off.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.on.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.opacityProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.orientation.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.orientationChangedEvent.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.paddingBottomProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.paddingInternalProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.paddingLeftProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.paddingRightProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.paddingTopProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.parseCSSShadow.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.parseCSSStroke.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.parseKeyframeDeclarations.swift +22 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.perspectiveProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.placeholderColorProperty.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.platformNames.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.profile.swift +22 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingDisable.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingDumpProfiles.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingEnable.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingIsRunning.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingResetProfiles.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingStart.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingStartCPU.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingStop.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingStopCPU.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.profilingUptime.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.prompt.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.querySelectorAll.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.removeTaggedAdditionalCSS.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.removeWeakEventListener.swift +22 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.resetRootView.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.resolveFileNameFromUrl.swift +23 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.resumeEvent.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.returnKeyTypeProperty.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.rotateProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.rotateXProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.rotateYProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.rowGapProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.run.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.sanitizeModuleName.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.scaleXProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.scaleYProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.sendAccessibilityEvent.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.setActivityCallbacks.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.setAutoSystemAppearanceChanged.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.setCssFileName.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.setMaxRefreshRate.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.setNativeApp.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.setResources.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.suspendEvent.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.suspended.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.systemAppearance.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.systemAppearanceChanged.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.systemAppearanceChangedEvent.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.textAlignmentProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.textDecorationProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.textOverflowProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.textShadowProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.textStrokeProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.textTransformProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.timeConverter.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.translateXProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.translateYProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.uncaughtErrorEvent.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.unsetValue.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.updateAccessibilityProperties.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.updateCurrentHelperClasses.swift +21 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.updateTextTriggerProperty.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.verticalAlignmentProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.visibilityProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.whiteSpaceProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.widthProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Export.zIndexProperty.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Modules.swift +17 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Namespace.Http.swift +23 -0
- package/kit-apple/Sources/NativeScriptKit/Core/__Namespace.Utils.swift +201 -0
- package/kit-apple/Sources/NativeScriptKit/Core/abortcontroller.abortsignal.swift +109 -0
- package/kit-apple/Sources/NativeScriptKit/Core/abortcontroller.index.swift +118 -0
- package/kit-apple/Sources/NativeScriptKit/Core/accessibility.accessibility-common.swift +572 -0
- package/kit-apple/Sources/NativeScriptKit/Core/accessibility.accessibility-properties.swift +258 -0
- package/kit-apple/Sources/NativeScriptKit/Core/accessibility.index.swift +16 -0
- package/kit-apple/Sources/NativeScriptKit/Core/application-settings.application-settings-common.swift +36 -0
- package/kit-apple/Sources/NativeScriptKit/Core/application-settings.index.ios.swift +157 -0
- package/kit-apple/Sources/NativeScriptKit/Core/application.application-common.swift +2095 -0
- package/kit-apple/Sources/NativeScriptKit/Core/application.application-interfaces.swift +16 -0
- package/kit-apple/Sources/NativeScriptKit/Core/application.application-shims.swift +212 -0
- package/kit-apple/Sources/NativeScriptKit/Core/application.application.ios.swift +3854 -0
- package/kit-apple/Sources/NativeScriptKit/Core/application.helpers-common.swift +224 -0
- package/kit-apple/Sources/NativeScriptKit/Core/application.helpers.ios.swift +57 -0
- package/kit-apple/Sources/NativeScriptKit/Core/application.index.ios.swift +16 -0
- package/kit-apple/Sources/NativeScriptKit/Core/application.scene-delegate-bridge.swift +234 -0
- package/kit-apple/Sources/NativeScriptKit/Core/color.color-common.swift +756 -0
- package/kit-apple/Sources/NativeScriptKit/Core/color.color-types.swift +16 -0
- package/kit-apple/Sources/NativeScriptKit/Core/color.color-utils.swift +388 -0
- package/kit-apple/Sources/NativeScriptKit/Core/color.index.ios.swift +100 -0
- package/kit-apple/Sources/NativeScriptKit/Core/color.known-colors.swift +520 -0
- package/kit-apple/Sources/NativeScriptKit/Core/connectivity.index.ios.swift +190 -0
- package/kit-apple/Sources/NativeScriptKit/Core/core-types.animation-types.swift +87 -0
- package/kit-apple/Sources/NativeScriptKit/Core/core-types.index.swift +361 -0
- package/kit-apple/Sources/NativeScriptKit/Core/core-types.validators.swift +62 -0
- package/kit-apple/Sources/NativeScriptKit/Core/css-mediaquery.index.swift +220 -0
- package/kit-apple/Sources/NativeScriptKit/Core/css-value.reworkcss-value.swift +280 -0
- package/kit-apple/Sources/NativeScriptKit/Core/css.CSS3Parser.swift +1012 -0
- package/kit-apple/Sources/NativeScriptKit/Core/css.CSSNativeScript.swift +264 -0
- package/kit-apple/Sources/NativeScriptKit/Core/css.parser.swift +971 -0
- package/kit-apple/Sources/NativeScriptKit/Core/css.system-classes.swift +120 -0
- package/kit-apple/Sources/NativeScriptKit/Core/data.observable-array.index.swift +699 -0
- package/kit-apple/Sources/NativeScriptKit/Core/data.observable.index.swift +1166 -0
- package/kit-apple/Sources/NativeScriptKit/Core/data.virtual-array.index.swift +325 -0
- package/kit-apple/Sources/NativeScriptKit/Core/fetch.index.swift +1201 -0
- package/kit-apple/Sources/NativeScriptKit/Core/file-system.file-system-access.ios.swift +1450 -0
- package/kit-apple/Sources/NativeScriptKit/Core/file-system.index.swift +1756 -0
- package/kit-apple/Sources/NativeScriptKit/Core/fps-meter.fps-native.ios.swift +227 -0
- package/kit-apple/Sources/NativeScriptKit/Core/fps-meter.index.swift +141 -0
- package/kit-apple/Sources/NativeScriptKit/Core/globals.global-utils.swift +252 -0
- package/kit-apple/Sources/NativeScriptKit/Core/http.http-interfaces.swift +24 -0
- package/kit-apple/Sources/NativeScriptKit/Core/http.http-request-internal.http-request-internal-common.swift +59 -0
- package/kit-apple/Sources/NativeScriptKit/Core/http.http-request-internal.index.ios.swift +413 -0
- package/kit-apple/Sources/NativeScriptKit/Core/http.http-request.http-request-common.swift +57 -0
- package/kit-apple/Sources/NativeScriptKit/Core/http.http-request.index.ios.swift +101 -0
- package/kit-apple/Sources/NativeScriptKit/Core/http.index.swift +175 -0
- package/kit-apple/Sources/NativeScriptKit/Core/image-asset.image-asset-common.swift +285 -0
- package/kit-apple/Sources/NativeScriptKit/Core/image-asset.index.ios.swift +205 -0
- package/kit-apple/Sources/NativeScriptKit/Core/image-source.image-source-common.swift +40 -0
- package/kit-apple/Sources/NativeScriptKit/Core/image-source.index.ios.swift +1130 -0
- package/kit-apple/Sources/NativeScriptKit/Core/js-libs.easysax.easysax.swift +1388 -0
- package/kit-apple/Sources/NativeScriptKit/Core/kit-index.json +30808 -0
- package/kit-apple/Sources/NativeScriptKit/Core/manifest.json +3383 -0
- package/kit-apple/Sources/NativeScriptKit/Core/matrix.index.swift +151 -0
- package/kit-apple/Sources/NativeScriptKit/Core/media-query-list.index.swift +468 -0
- package/kit-apple/Sources/NativeScriptKit/Core/module-name-resolver.helpers.swift +57 -0
- package/kit-apple/Sources/NativeScriptKit/Core/module-name-resolver.index.swift +220 -0
- package/kit-apple/Sources/NativeScriptKit/Core/module-name-resolver.non-bundle-workflow-compat.swift +262 -0
- package/kit-apple/Sources/NativeScriptKit/Core/module-name-resolver.qualifier-matcher.index.swift +330 -0
- package/kit-apple/Sources/NativeScriptKit/Core/native-window.index.swift +16 -0
- package/kit-apple/Sources/NativeScriptKit/Core/native-window.native-window-common.swift +730 -0
- package/kit-apple/Sources/NativeScriptKit/Core/native-window.native-window-interfaces.swift +46 -0
- package/kit-apple/Sources/NativeScriptKit/Core/native-window.native-window.ios.swift +521 -0
- package/kit-apple/Sources/NativeScriptKit/Core/native-window.window-base.swift +298 -0
- package/kit-apple/Sources/NativeScriptKit/Core/npm.css-what.src.index.swift +16 -0
- package/kit-apple/Sources/NativeScriptKit/Core/npm.css-what.src.parse.swift +668 -0
- package/kit-apple/Sources/NativeScriptKit/Core/npm.css-what.src.stringify.swift +221 -0
- package/kit-apple/Sources/NativeScriptKit/Core/npm.css-what.src.types.swift +62 -0
- package/kit-apple/Sources/NativeScriptKit/Core/platform.common.swift +25 -0
- package/kit-apple/Sources/NativeScriptKit/Core/platform.device.index.ios.swift +289 -0
- package/kit-apple/Sources/NativeScriptKit/Core/platform.index.swift +16 -0
- package/kit-apple/Sources/NativeScriptKit/Core/platform.screen.index.ios.swift +217 -0
- package/kit-apple/Sources/NativeScriptKit/Core/profiling.index.swift +528 -0
- package/kit-apple/Sources/NativeScriptKit/Core/text.formatted-string.swift +16 -0
- package/kit-apple/Sources/NativeScriptKit/Core/text.index.ios.swift +25 -0
- package/kit-apple/Sources/NativeScriptKit/Core/text.span.swift +16 -0
- package/kit-apple/Sources/NativeScriptKit/Core/text.text-common.swift +309 -0
- package/kit-apple/Sources/NativeScriptKit/Core/trace.index.swift +513 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.action-bar.action-bar-common.swift +1270 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.action-bar.index.ios.swift +1480 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.activity-indicator.activity-indicator-common.swift +81 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.activity-indicator.index.ios.swift +175 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.animation.animation-common.swift +581 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.animation.animation-shared.swift +16 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.animation.animation-types.swift +16 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.animation.index.ios.swift +2204 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.animation.keyframe-animation.swift +1213 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.builder.binding-builder.swift +318 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.builder.component-builder.index.swift +387 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.builder.index.swift +2026 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.button.button-common.swift +75 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.button.index.ios.swift +614 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.content-view.index.swift +291 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.core.bindable.bindable-expressions.swift +770 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.core.bindable.bindable-resources.swift +30 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.core.bindable.bindable-types.swift +16 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.core.bindable.expression-parser.swift +5297 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.core.bindable.index.swift +1376 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.core.control-state-change.index.ios.swift +197 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.core.properties.index.swift +3899 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.core.properties.property-shared.swift +53 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.core.view-base.index.swift +3522 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.core.view-base.utils.swift +32 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.core.view.index.ios.swift +3318 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.core.view.view-common.swift +4347 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.core.view.view-helper.index.ios.swift +1417 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.core.view.view-helper.view-helper-common.swift +337 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.core.view.view-helper.view-helper-shared.swift +16 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.core.view.view-interfaces.swift +272 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.core.weak-event-listener.index.swift +323 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.date-picker.date-picker-common.swift +335 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.date-picker.index.ios.swift +609 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.dialogs.dialogs-common.swift +486 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.dialogs.index.ios.swift +677 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.editable-text-base.editable-text-base-common.swift +378 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.editable-text-base.index.ios.swift +512 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.embedding.index.ios.swift +25 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.enums.enums.swift +16 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.enums.index.swift +16 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.frame.fragment.ios.swift +26 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.frame.fragment.transitions.types.swift +23 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.frame.frame-common.swift +1526 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.frame.frame-constants.swift +21 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.frame.frame-helpers.swift +40 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.frame.frame-interfaces.swift +26 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.frame.frame-stack.swift +138 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.frame.index.ios.swift +1794 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.gestures.gestures-common.swift +269 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.gestures.gestures-types.swift +77 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.gestures.index.ios.swift +1453 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.gestures.touch-manager.swift +451 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.html-view.html-view-common.swift +106 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.html-view.index.ios.swift +301 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.image-cache.image-cache-common.swift +479 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.image-cache.index.ios.swift +232 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.image.image-common.swift +399 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.image.index.ios.swift +499 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.image.symbol-effects-common.swift +150 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.image.symbol-effects.ios.swift +148 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.label.index.ios.swift +483 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.absolute-layout.absolute-layout-common.swift +172 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.absolute-layout.index.ios.swift +189 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.dock-layout.dock-layout-common.swift +157 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.dock-layout.index.ios.swift +264 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.flexbox-layout.flexbox-layout-common.swift +1028 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.flexbox-layout.index.ios.swift +3235 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.grid-layout.grid-layout-common.swift +1014 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.grid-layout.index.ios.swift +2435 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.index.swift +16 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.layout-base-common.swift +591 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.layout-base.ios.swift +135 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.liquid-glass-container.index.ios.swift +364 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.liquid-glass-container.liquid-glass-container-common.swift +49 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.liquid-glass.index.ios.swift +238 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.liquid-glass.liquid-glass-common.swift +34 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.root-layout.index.ios.swift +347 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.root-layout.root-layout-common.swift +964 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.root-layout.root-layout-stack.swift +59 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.stack-layout.index.ios.swift +350 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.stack-layout.stack-layout-common.swift +72 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.wrap-layout.index.ios.swift +357 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.wrap-layout.wrap-layout-common.swift +188 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.list-picker.index.ios.swift +374 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.list-picker.list-picker-common.swift +252 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.list-view.index.ios.swift +2611 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.list-view.list-view-common.swift +950 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.page.events.swift +23 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.page.index.ios.swift +1340 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.page.page-common.swift +520 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.placeholder.index.swift +63 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.placeholder.placeholder-common.swift +16 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.progress.index.ios.swift +173 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.progress.progress-common.swift +111 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.proxy-view-container.index.swift +497 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.repeater.index.swift +535 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.scroll-view.index.ios.swift +699 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.scroll-view.scroll-view-common.swift +414 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.search-bar.index.ios.swift +609 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.search-bar.search-bar-common.swift +162 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.segmented-bar.index.ios.swift +470 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.segmented-bar.segmented-bar-common.swift +448 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.slider.index.ios.swift +593 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.slider.slider-common.swift +211 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.split-view.index.ios.swift +1459 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.split-view.split-view-common.swift +410 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.background-common.swift +809 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.background.ios.swift +2290 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.box-shadow.swift +138 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.clip-path-function.swift +198 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.converters.swift +105 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.css-animation-parser.swift +493 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.css-selector.swift +4016 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.css-shadow.swift +48 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.css-stroke.swift +41 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.css-transform.swift +406 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.css-utils.swift +297 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.font-common.swift +477 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.font-interfaces.swift +16 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.font.ios.swift +416 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.length-shared.swift +343 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.linear-gradient.swift +162 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.style-properties.swift +2524 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.style-scope.swift +3330 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.style.index.swift +905 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.styling-profile.swift +16 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.styling-shared.swift +16 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.switch.index.ios.swift +508 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.switch.switch-common.swift +143 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.tab-view.index.ios.swift +2284 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.tab-view.tab-view-common.swift +985 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.text-base.formatted-string.swift +801 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.text-base.index.ios.swift +1264 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.text-base.span.swift +476 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.text-base.text-base-common.swift +1047 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.text-field.index.ios.swift +912 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.text-field.text-field-common.swift +121 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.text-view.index.ios.swift +1030 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.text-view.text-view-common.swift +138 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.time-picker.index.ios.swift +473 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.time-picker.time-picker-common.swift +536 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.transition.fade-transition.ios.swift +265 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.transition.index.ios.swift +159 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.transition.modal-transition.ios.swift +635 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.transition.page-transition.ios.swift +1167 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.transition.shared-transition-helper.ios.swift +3673 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.transition.shared-transition.swift +492 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.transition.slide-transition.ios.swift +328 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.utils.ios.swift +132 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.web-view.index.ios.swift +827 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.web-view.web-view-common.swift +206 -0
- package/kit-apple/Sources/NativeScriptKit/Core/ui.web-view.web-view-interfaces.swift +16 -0
- package/kit-apple/Sources/NativeScriptKit/Core/utils.animation-helpers.swift +84 -0
- package/kit-apple/Sources/NativeScriptKit/Core/utils.common.swift +278 -0
- package/kit-apple/Sources/NativeScriptKit/Core/utils.constants.ios.swift +33 -0
- package/kit-apple/Sources/NativeScriptKit/Core/utils.debug-source.swift +271 -0
- package/kit-apple/Sources/NativeScriptKit/Core/utils.debug.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Core/utils.index.ios.swift +205 -0
- package/kit-apple/Sources/NativeScriptKit/Core/utils.layout-helper.index.ios.swift +131 -0
- package/kit-apple/Sources/NativeScriptKit/Core/utils.layout-helper.layout-helper-common.swift +87 -0
- package/kit-apple/Sources/NativeScriptKit/Core/utils.layout-helper.layout-helper-shared.swift +28 -0
- package/kit-apple/Sources/NativeScriptKit/Core/utils.lazy.swift +39 -0
- package/kit-apple/Sources/NativeScriptKit/Core/utils.macrotask-scheduler.swift +71 -0
- package/kit-apple/Sources/NativeScriptKit/Core/utils.mainthread-helper.ios.swift +52 -0
- package/kit-apple/Sources/NativeScriptKit/Core/utils.module-merge.swift +27 -0
- package/kit-apple/Sources/NativeScriptKit/Core/utils.native-helper.ios.swift +734 -0
- package/kit-apple/Sources/NativeScriptKit/Core/utils.number-utils.swift +79 -0
- package/kit-apple/Sources/NativeScriptKit/Core/utils.platform-check.swift +25 -0
- package/kit-apple/Sources/NativeScriptKit/Core/utils.shared.swift +84 -0
- package/kit-apple/Sources/NativeScriptKit/Core/utils.types.swift +308 -0
- package/kit-apple/Sources/NativeScriptKit/Core/utils.utils-shared.swift +31 -0
- package/kit-apple/Sources/NativeScriptKit/Core/xhr.index.swift +1726 -0
- package/kit-apple/Sources/NativeScriptKit/Core/xml.index.swift +775 -0
- package/kit-apple/Sources/NativeScriptKit/CoreBridge.swift +388 -0
- package/kit-apple/Sources/NativeScriptKit/CoreConnectivity.swift +46 -0
- package/kit-apple/Sources/NativeScriptKit/CoreLifetimes.swift +15 -0
- package/kit-apple/Sources/NativeScriptKit/CorePackages.swift +59 -0
- package/kit-apple/Sources/NativeScriptKit/JS.swift +94 -0
- package/kit-apple/Sources/NativeScriptKit/Modal.swift +65 -0
- package/kit-apple/Sources/NativeScriptKit/Probe.swift +97 -0
- package/kit-apple/Sources/NativeScriptKit/Regions.swift +291 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/AbsentModules.swift +78 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/Array.swift +1693 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/ArrayLike.swift +859 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/BigInt.swift +338 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/BuiltinValues.swift +45 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/Collections.swift +609 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/Date.swift +269 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/Dynamic.swift +474 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/ES2023.swift +105 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/Errors.swift +402 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/Functions.swift +372 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/Inspect.swift +762 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/Interop.swift +42 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/Intl.swift +799 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/Iterators.swift +898 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/JSON.swift +874 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/Lowering.swift +593 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/Native.swift +819 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/NativeStack.swift +66 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/Number.swift +599 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/Promise.swift +810 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/Prototypes.swift +471 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/Reactive.swift +34 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/Record.swift +59 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/RegExp.swift +576 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/RegExpEngine.swift +1918 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/Stack.swift +20 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/StringUTF16.swift +179 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/Symbol.swift +142 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/Threads.swift +275 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/Timers.swift +240 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/TypedArrays.swift +996 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/URI.swift +94 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/Values.swift +2069 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/Views.swift +97 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/Weak.swift +135 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/WinterTC.swift +484 -0
- package/kit-apple/Sources/NativeScriptKit/Signals.swift +952 -0
- package/kit-apple/Sources/NativeScriptKit/UncaughtErrors.swift +37 -0
- package/package.json +94 -4
- package/verify/ui-driver/Host/App.swift +7 -0
- package/verify/ui-driver/Tests/Driver.swift +54 -0
- package/verify/ui-driver/project.yml +35 -0
|
@@ -0,0 +1,3597 @@
|
|
|
1
|
+
// Generated from @nativescript/core by tools/kit: edit core, not this file.
|
|
2
|
+
package org.nativescript.kit
|
|
3
|
+
|
|
4
|
+
import android.graphics.drawable.Drawable
|
|
5
|
+
import android.view.Window
|
|
6
|
+
import androidx.annotation.UiThread
|
|
7
|
+
|
|
8
|
+
@UiThread
|
|
9
|
+
abstract class ViewCommon : ViewBase {
|
|
10
|
+
init {
|
|
11
|
+
if (jsMade != null) jsMadeLevel(this, listOf("_gestureObservers"))
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
open var accessibilityIdentifier: String
|
|
15
|
+
get() = jsStringOrEmpty(jsExpandoGet(this, "accessibilityIdentifier"))
|
|
16
|
+
set(value) {
|
|
17
|
+
jsExpandoSet(this, "accessibilityIdentifier", value)
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
open var accessibilityLabel: String
|
|
21
|
+
get() = jsStringOrEmpty(jsExpandoGet(this, "accessibilityLabel"))
|
|
22
|
+
set(value) {
|
|
23
|
+
jsExpandoSet(this, "accessibilityLabel", value)
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
open var accessibilityValue: String
|
|
27
|
+
get() = jsStringOrEmpty(jsExpandoGet(this, "accessibilityValue"))
|
|
28
|
+
set(value) {
|
|
29
|
+
jsExpandoSet(this, "accessibilityValue", value)
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
open var accessibilityHint: String
|
|
33
|
+
get() = jsStringOrEmpty(jsExpandoGet(this, "accessibilityHint"))
|
|
34
|
+
set(value) {
|
|
35
|
+
jsExpandoSet(this, "accessibilityHint", value)
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
open var accessibilityIgnoresInvertColors: Boolean
|
|
39
|
+
get() = jsConvertedBooleanOrFalse(jsExpandoGet(this, "accessibilityIgnoresInvertColors"))
|
|
40
|
+
set(value) {
|
|
41
|
+
jsExpandoSet(this, "accessibilityIgnoresInvertColors", value)
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
open var originX: Double
|
|
45
|
+
get() = jsConvertedNumberOrZero(jsExpandoGet(this, "originX"))
|
|
46
|
+
set(value) {
|
|
47
|
+
jsExpandoSet(this, "originX", value)
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
open var originY: Double
|
|
51
|
+
get() = jsConvertedNumberOrZero(jsExpandoGet(this, "originY"))
|
|
52
|
+
set(value) {
|
|
53
|
+
jsExpandoSet(this, "originY", value)
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
open var isEnabled: Boolean
|
|
57
|
+
get() = jsConvertedBooleanOrFalse(jsExpandoGet(this, "isEnabled"))
|
|
58
|
+
set(value) {
|
|
59
|
+
jsExpandoSet(this, "isEnabled", value)
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
open var isUserInteractionEnabled: Boolean
|
|
63
|
+
get() = jsConvertedBooleanOrFalse(jsExpandoGet(this, "isUserInteractionEnabled"))
|
|
64
|
+
set(value) {
|
|
65
|
+
jsExpandoSet(this, "isUserInteractionEnabled", value)
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
open var iosOverflowSafeArea: Boolean
|
|
69
|
+
get() = jsConvertedBooleanOrFalse(jsExpandoGet(this, "iosOverflowSafeArea"))
|
|
70
|
+
set(value) {
|
|
71
|
+
jsExpandoSet(this, "iosOverflowSafeArea", value)
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
open var iosOverflowSafeAreaEnabled: Boolean
|
|
75
|
+
get() = jsConvertedBooleanOrFalse(jsExpandoGet(this, "iosOverflowSafeAreaEnabled"))
|
|
76
|
+
set(value) {
|
|
77
|
+
jsExpandoSet(this, "iosOverflowSafeAreaEnabled", value)
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
open var iosIgnoreSafeArea: Boolean
|
|
81
|
+
get() = jsConvertedBooleanOrFalse(jsExpandoGet(this, "iosIgnoreSafeArea"))
|
|
82
|
+
set(value) {
|
|
83
|
+
jsExpandoSet(this, "iosIgnoreSafeArea", value)
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
open var androidOverflowEdge: String
|
|
87
|
+
get() = jsStringOrEmpty(jsExpandoGet(this, "androidOverflowEdge"))
|
|
88
|
+
set(value) {
|
|
89
|
+
jsExpandoSet(this, "androidOverflowEdge", value)
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
open var testID: String
|
|
93
|
+
get() = jsStringOrEmpty(jsExpandoGet(this, "testID"))
|
|
94
|
+
set(value) {
|
|
95
|
+
jsExpandoSet(this, "testID", value)
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
open var touchAnimation: Any?
|
|
99
|
+
get() = jsExpandoGet(this, "touchAnimation")
|
|
100
|
+
set(value) {
|
|
101
|
+
jsExpandoSet(this, "touchAnimation", value)
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
open var ignoreTouchAnimation: Boolean
|
|
105
|
+
get() = jsConvertedBooleanOrFalse(jsExpandoGet(this, "ignoreTouchAnimation"))
|
|
106
|
+
set(value) {
|
|
107
|
+
jsExpandoSet(this, "ignoreTouchAnimation", value)
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
open var touchDelay: Double
|
|
111
|
+
get() = jsConvertedNumberOrZero(jsExpandoGet(this, "touchDelay"))
|
|
112
|
+
set(value) {
|
|
113
|
+
jsExpandoSet(this, "touchDelay", value)
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/** visionOS only */
|
|
117
|
+
open var visionHoverStyle: Any?
|
|
118
|
+
get() = jsExpandoGet(this, "visionHoverStyle")
|
|
119
|
+
set(value) {
|
|
120
|
+
jsExpandoSet(this, "visionHoverStyle", value)
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
open var visionIgnoreHoverStyle: Boolean
|
|
124
|
+
get() = jsConvertedBooleanOrFalse(jsExpandoGet(this, "visionIgnoreHoverStyle"))
|
|
125
|
+
set(value) {
|
|
126
|
+
jsExpandoSet(this, "visionIgnoreHoverStyle", value)
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/** iOS 26+ Glass */
|
|
130
|
+
open var iosGlassEffect: Any?
|
|
131
|
+
get() = jsExpandoGet(this, "iosGlassEffect")
|
|
132
|
+
set(value) {
|
|
133
|
+
jsExpandoSet(this, "iosGlassEffect", value)
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
@get:JvmName("__get__closeModalCallback")
|
|
137
|
+
@set:JvmName("__set__closeModalCallback")
|
|
138
|
+
var _closeModalCallback: Any? = null
|
|
139
|
+
set(value) {
|
|
140
|
+
field = value
|
|
141
|
+
jsMadeNote1(1L shl 29, "_closeModalCallback")
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
open var _manager: Any? = null
|
|
145
|
+
set(value) {
|
|
146
|
+
field = value
|
|
147
|
+
jsMadeNote1(1L shl 30, "_manager")
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
@get:JvmName("__get__modalParent")
|
|
151
|
+
@set:JvmName("__set__modalParent")
|
|
152
|
+
var _modalParent: ViewCommon? = null
|
|
153
|
+
set(value) {
|
|
154
|
+
field = value
|
|
155
|
+
jsMadeNote1(1L shl 31, "_modalParent")
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* @internal – the window this view is the root view of. Only ever set on a window's root view;
|
|
160
|
+
* every other view resolves its window by walking up to that root.
|
|
161
|
+
*
|
|
162
|
+
* Kept on the view instead of in a window-side registry so the lookup needs no runtime
|
|
163
|
+
* dependency on the native-window module.
|
|
164
|
+
*/
|
|
165
|
+
@get:JvmName("__get__nativeWindow")
|
|
166
|
+
@set:JvmName("__set__nativeWindow")
|
|
167
|
+
var _nativeWindow: NativeWindow? = null
|
|
168
|
+
set(value) {
|
|
169
|
+
field = value
|
|
170
|
+
jsMadeNote1(1L shl 32, "_nativeWindow")
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* The ShowModalOptions this view is currently presented with (set in _showNativeModalView,
|
|
175
|
+
* cleared on close). Lets tooling re-present the modal with its original options — e.g.
|
|
176
|
+
* dev-time HMR re-show — which are otherwise only captured inside the close-callback closure.
|
|
177
|
+
*/
|
|
178
|
+
@get:JvmName("__get__modalOptions")
|
|
179
|
+
@set:JvmName("__set__modalOptions")
|
|
180
|
+
var _modalOptions: Any? = null
|
|
181
|
+
set(value) {
|
|
182
|
+
field = value
|
|
183
|
+
jsMadeNote1(1L shl 33, "_modalOptions")
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
@get:JvmName("__get__modalContext")
|
|
187
|
+
@set:JvmName("__set__modalContext")
|
|
188
|
+
var _modalContext: Any? = null
|
|
189
|
+
set(value) {
|
|
190
|
+
field = value
|
|
191
|
+
jsMadeNote1(1L shl 34, "_modalContext")
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
@get:JvmName("__get__modal")
|
|
195
|
+
@set:JvmName("__set__modal")
|
|
196
|
+
var _modal: ViewCommon? = null
|
|
197
|
+
set(value) {
|
|
198
|
+
field = value
|
|
199
|
+
jsMadeNote1(1L shl 35, "_modal")
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
/** Active transition instance id for tracking state */
|
|
203
|
+
@get:JvmName("__get_transitionId")
|
|
204
|
+
@set:JvmName("__set_transitionId")
|
|
205
|
+
var transitionId: Double? = null
|
|
206
|
+
set(value) {
|
|
207
|
+
field = value
|
|
208
|
+
jsMadeNote1(1L shl 36, "transitionId")
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
@get:JvmName("__get__measuredWidth")
|
|
212
|
+
@set:JvmName("__set__measuredWidth")
|
|
213
|
+
var _measuredWidth: Double? = null
|
|
214
|
+
set(value) {
|
|
215
|
+
field = value
|
|
216
|
+
jsMadeNote1(1L shl 37, "_measuredWidth")
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
@get:JvmName("__get__measuredHeight")
|
|
220
|
+
@set:JvmName("__set__measuredHeight")
|
|
221
|
+
var _measuredHeight: Double? = null
|
|
222
|
+
set(value) {
|
|
223
|
+
field = value
|
|
224
|
+
jsMadeNote1(1L shl 38, "_measuredHeight")
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
@get:JvmName("__get__cssType")
|
|
228
|
+
@set:JvmName("__set__cssType")
|
|
229
|
+
var _cssType: String? = null
|
|
230
|
+
set(value) {
|
|
231
|
+
field = value
|
|
232
|
+
jsMadeNote1(1L shl 39, "_cssType")
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
@get:JvmName("__get__localAnimations")
|
|
236
|
+
@set:JvmName("__set__localAnimations")
|
|
237
|
+
var _localAnimations: JSSet<Animation>? = null
|
|
238
|
+
set(value) {
|
|
239
|
+
field = value
|
|
240
|
+
jsMadeNote1(1L shl 40, "_localAnimations")
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
@get:JvmName("__get__currentWidthMeasureSpec")
|
|
244
|
+
@set:JvmName("__set__currentWidthMeasureSpec")
|
|
245
|
+
var _currentWidthMeasureSpec: Double? = null
|
|
246
|
+
set(value) {
|
|
247
|
+
field = value
|
|
248
|
+
jsMadeNote1(1L shl 41, "_currentWidthMeasureSpec")
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
@get:JvmName("__get__currentHeightMeasureSpec")
|
|
252
|
+
@set:JvmName("__set__currentHeightMeasureSpec")
|
|
253
|
+
var _currentHeightMeasureSpec: Double? = null
|
|
254
|
+
set(value) {
|
|
255
|
+
field = value
|
|
256
|
+
jsMadeNote1(1L shl 42, "_currentHeightMeasureSpec")
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
private var __own__setMinWidthNative: ((Any?) -> Unit)? = null
|
|
260
|
+
private var __own__setMinWidthNative_set = false
|
|
261
|
+
open var _setMinWidthNative: ((Any?) -> Unit)?
|
|
262
|
+
get() =
|
|
263
|
+
if (__own__setMinWidthNative_set) __own__setMinWidthNative
|
|
264
|
+
else
|
|
265
|
+
jsUnlessNullish(
|
|
266
|
+
jsBoundTo(JSPrototypes.value(this.javaClass, "_setMinWidthNative", this), this)
|
|
267
|
+
) {
|
|
268
|
+
jsFunction1<Any?, Unit>(it)
|
|
269
|
+
}
|
|
270
|
+
set(value) {
|
|
271
|
+
__own__setMinWidthNative = value
|
|
272
|
+
__own__setMinWidthNative_set = true
|
|
273
|
+
jsMadeNote1(1L shl 43, "_setMinWidthNative")
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
private var __own__setMinHeightNative: ((Any?) -> Unit)? = null
|
|
277
|
+
private var __own__setMinHeightNative_set = false
|
|
278
|
+
open var _setMinHeightNative: ((Any?) -> Unit)?
|
|
279
|
+
get() =
|
|
280
|
+
if (__own__setMinHeightNative_set) __own__setMinHeightNative
|
|
281
|
+
else
|
|
282
|
+
jsUnlessNullish(
|
|
283
|
+
jsBoundTo(JSPrototypes.value(this.javaClass, "_setMinHeightNative", this), this)
|
|
284
|
+
) {
|
|
285
|
+
jsFunction1<Any?, Unit>(it)
|
|
286
|
+
}
|
|
287
|
+
set(value) {
|
|
288
|
+
__own__setMinHeightNative = value
|
|
289
|
+
__own__setMinHeightNative_set = true
|
|
290
|
+
jsMadeNote1(1L shl 44, "_setMinHeightNative")
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
@JvmField var _gestureObservers: Any? = jsObjectOf()
|
|
294
|
+
@get:JvmName("__get__androidContentDescriptionUpdated")
|
|
295
|
+
@set:JvmName("__set__androidContentDescriptionUpdated")
|
|
296
|
+
var _androidContentDescriptionUpdated: Boolean? = null
|
|
297
|
+
set(value) {
|
|
298
|
+
field = value
|
|
299
|
+
jsMadeNote1(1L shl 45, "_androidContentDescriptionUpdated")
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
constructor() : super()
|
|
303
|
+
|
|
304
|
+
open var css: String
|
|
305
|
+
get() {
|
|
306
|
+
val scope: StyleScope? = this._styleScope
|
|
307
|
+
return jsConvertedStringOrEmpty(
|
|
308
|
+
((if (jsTruthy(scope)) (scope ?: jsCannotRead("css")).css else null)
|
|
309
|
+
?: jsObjectRequired())
|
|
310
|
+
)
|
|
311
|
+
}
|
|
312
|
+
set(value) {
|
|
313
|
+
this._updateStyleScope(null, null, value)
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
open val modal: ViewCommon?
|
|
317
|
+
get() {
|
|
318
|
+
return this._modal
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
open var flexFlow: Any?
|
|
322
|
+
get() {
|
|
323
|
+
return (this.style ?: jsCannotRead("flexFlow")).flexFlow
|
|
324
|
+
}
|
|
325
|
+
set(value) {
|
|
326
|
+
(this.style ?: jsCannotSet("flexFlow")).flexFlow = value
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
open var flex: Any?
|
|
330
|
+
get() {
|
|
331
|
+
return (this.style ?: jsCannotRead("flex")).flex
|
|
332
|
+
}
|
|
333
|
+
set(value) {
|
|
334
|
+
(this.style ?: jsCannotSet("flex")).flex = value
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
open var borderColor: Any?
|
|
338
|
+
get() {
|
|
339
|
+
return (this.style ?: jsCannotRead("borderColor")).borderColor
|
|
340
|
+
}
|
|
341
|
+
set(value) {
|
|
342
|
+
(this.style ?: jsCannotSet("borderColor")).borderColor = value
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
open var borderTopColor: Color?
|
|
346
|
+
get() {
|
|
347
|
+
return (this.style ?: jsCannotRead("borderTopColor")).borderTopColor
|
|
348
|
+
}
|
|
349
|
+
set(value) {
|
|
350
|
+
(this.style ?: jsCannotSet("borderTopColor")).borderTopColor = value
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
open var borderRightColor: Color?
|
|
354
|
+
get() {
|
|
355
|
+
return (this.style ?: jsCannotRead("borderRightColor")).borderRightColor
|
|
356
|
+
}
|
|
357
|
+
set(value) {
|
|
358
|
+
(this.style ?: jsCannotSet("borderRightColor")).borderRightColor = value
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
open var borderBottomColor: Color?
|
|
362
|
+
get() {
|
|
363
|
+
return (this.style ?: jsCannotRead("borderBottomColor")).borderBottomColor
|
|
364
|
+
}
|
|
365
|
+
set(value) {
|
|
366
|
+
(this.style ?: jsCannotSet("borderBottomColor")).borderBottomColor = value
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
open var borderLeftColor: Color?
|
|
370
|
+
get() {
|
|
371
|
+
return (this.style ?: jsCannotRead("borderLeftColor")).borderLeftColor
|
|
372
|
+
}
|
|
373
|
+
set(value) {
|
|
374
|
+
(this.style ?: jsCannotSet("borderLeftColor")).borderLeftColor = value
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
open var borderWidth: Any?
|
|
378
|
+
get() {
|
|
379
|
+
return (this.style ?: jsCannotRead("borderWidth")).borderWidth
|
|
380
|
+
}
|
|
381
|
+
set(value) {
|
|
382
|
+
(this.style ?: jsCannotSet("borderWidth")).borderWidth = value
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
open var borderTopWidth: Any?
|
|
386
|
+
get() {
|
|
387
|
+
return (this.style ?: jsCannotRead("borderTopWidth")).borderTopWidth
|
|
388
|
+
}
|
|
389
|
+
set(value) {
|
|
390
|
+
(this.style ?: jsCannotSet("borderTopWidth")).borderTopWidth = value
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
open var borderRightWidth: Any?
|
|
394
|
+
get() {
|
|
395
|
+
return (this.style ?: jsCannotRead("borderRightWidth")).borderRightWidth
|
|
396
|
+
}
|
|
397
|
+
set(value) {
|
|
398
|
+
(this.style ?: jsCannotSet("borderRightWidth")).borderRightWidth = value
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
open var borderBottomWidth: Any?
|
|
402
|
+
get() {
|
|
403
|
+
return (this.style ?: jsCannotRead("borderBottomWidth")).borderBottomWidth
|
|
404
|
+
}
|
|
405
|
+
set(value) {
|
|
406
|
+
(this.style ?: jsCannotSet("borderBottomWidth")).borderBottomWidth = value
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
open var borderLeftWidth: Any?
|
|
410
|
+
get() {
|
|
411
|
+
return (this.style ?: jsCannotRead("borderLeftWidth")).borderLeftWidth
|
|
412
|
+
}
|
|
413
|
+
set(value) {
|
|
414
|
+
(this.style ?: jsCannotSet("borderLeftWidth")).borderLeftWidth = value
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
open var borderRadius: Any?
|
|
418
|
+
get() {
|
|
419
|
+
return (this.style ?: jsCannotRead("borderRadius")).borderRadius
|
|
420
|
+
}
|
|
421
|
+
set(value) {
|
|
422
|
+
(this.style ?: jsCannotSet("borderRadius")).borderRadius = value
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
open var borderTopLeftRadius: Any?
|
|
426
|
+
get() {
|
|
427
|
+
return (this.style ?: jsCannotRead("borderTopLeftRadius"))
|
|
428
|
+
.borderTopLeftRadius
|
|
429
|
+
}
|
|
430
|
+
set(value) {
|
|
431
|
+
(this.style ?: jsCannotSet("borderTopLeftRadius")).borderTopLeftRadius =
|
|
432
|
+
value
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
open var borderTopRightRadius: Any?
|
|
436
|
+
get() {
|
|
437
|
+
return (this.style ?: jsCannotRead("borderTopRightRadius"))
|
|
438
|
+
.borderTopRightRadius
|
|
439
|
+
}
|
|
440
|
+
set(value) {
|
|
441
|
+
(this.style ?: jsCannotSet("borderTopRightRadius")).borderTopRightRadius =
|
|
442
|
+
value
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
open var borderBottomRightRadius: Any?
|
|
446
|
+
get() {
|
|
447
|
+
return (this.style ?: jsCannotRead("borderBottomRightRadius"))
|
|
448
|
+
.borderBottomRightRadius
|
|
449
|
+
}
|
|
450
|
+
set(value) {
|
|
451
|
+
(this.style ?: jsCannotSet("borderBottomRightRadius"))
|
|
452
|
+
.borderBottomRightRadius = value
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
open var borderBottomLeftRadius: Any?
|
|
456
|
+
get() {
|
|
457
|
+
return (this.style ?: jsCannotRead("borderBottomLeftRadius"))
|
|
458
|
+
.borderBottomLeftRadius
|
|
459
|
+
}
|
|
460
|
+
set(value) {
|
|
461
|
+
(this.style ?: jsCannotSet("borderBottomLeftRadius"))
|
|
462
|
+
.borderBottomLeftRadius = value
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
open var color: Color?
|
|
466
|
+
get() {
|
|
467
|
+
return (this.style ?: jsCannotRead("color")).color
|
|
468
|
+
}
|
|
469
|
+
set(value) {
|
|
470
|
+
(this.style ?: jsCannotSet("color")).color = value
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
open var background: String
|
|
474
|
+
get() {
|
|
475
|
+
return (this.style ?: jsCannotRead("background")).background
|
|
476
|
+
}
|
|
477
|
+
set(value) {
|
|
478
|
+
(this.style ?: jsCannotSet("background")).background = value
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
open var backgroundColor: Color?
|
|
482
|
+
get() {
|
|
483
|
+
return (this.style ?: jsCannotRead("backgroundColor")).backgroundColor
|
|
484
|
+
}
|
|
485
|
+
set(value) {
|
|
486
|
+
(this.style ?: jsCannotSet("backgroundColor")).backgroundColor = value
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
open var backgroundImage: Any?
|
|
490
|
+
get() {
|
|
491
|
+
return (this.style ?: jsCannotRead("backgroundImage")).backgroundImage
|
|
492
|
+
}
|
|
493
|
+
set(value) {
|
|
494
|
+
(this.style ?: jsCannotSet("backgroundImage")).backgroundImage = value
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
open var backgroundSize: String
|
|
498
|
+
get() {
|
|
499
|
+
return (this.style ?: jsCannotRead("backgroundSize")).backgroundSize
|
|
500
|
+
}
|
|
501
|
+
set(value) {
|
|
502
|
+
(this.style ?: jsCannotSet("backgroundSize")).backgroundSize = value
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
open var backgroundPosition: String
|
|
506
|
+
get() {
|
|
507
|
+
return (this.style ?: jsCannotRead("backgroundPosition"))
|
|
508
|
+
.backgroundPosition
|
|
509
|
+
}
|
|
510
|
+
set(value) {
|
|
511
|
+
(this.style ?: jsCannotSet("backgroundPosition")).backgroundPosition =
|
|
512
|
+
value
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
open var backgroundRepeat: String
|
|
516
|
+
get() {
|
|
517
|
+
return (this.style ?: jsCannotRead("backgroundRepeat")).backgroundRepeat
|
|
518
|
+
}
|
|
519
|
+
set(value) {
|
|
520
|
+
(this.style ?: jsCannotSet("backgroundRepeat")).backgroundRepeat = value
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
open var boxShadow: Any?
|
|
524
|
+
get() {
|
|
525
|
+
return (this.style ?: jsCannotRead("boxShadow")).boxShadow
|
|
526
|
+
}
|
|
527
|
+
set(value) {
|
|
528
|
+
(this.style ?: jsCannotSet("boxShadow")).boxShadow = value
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
open var direction: String
|
|
532
|
+
get() {
|
|
533
|
+
return (this.style ?: jsCannotRead("direction")).direction
|
|
534
|
+
}
|
|
535
|
+
set(value) {
|
|
536
|
+
(this.style ?: jsCannotSet("direction")).direction = value
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
open var minWidth: Any?
|
|
540
|
+
get() {
|
|
541
|
+
return (this.style ?: jsCannotRead("minWidth")).minWidth
|
|
542
|
+
}
|
|
543
|
+
set(value) {
|
|
544
|
+
(this.style ?: jsCannotSet("minWidth")).minWidth = value
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
open var minHeight: Any?
|
|
548
|
+
get() {
|
|
549
|
+
return (this.style ?: jsCannotRead("minHeight")).minHeight
|
|
550
|
+
}
|
|
551
|
+
set(value) {
|
|
552
|
+
(this.style ?: jsCannotSet("minHeight")).minHeight = value
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
open var maxWidth: Any?
|
|
556
|
+
get() {
|
|
557
|
+
return (this.style ?: jsCannotRead("maxWidth")).maxWidth
|
|
558
|
+
}
|
|
559
|
+
set(value) {
|
|
560
|
+
(this.style ?: jsCannotSet("maxWidth")).maxWidth = value
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
open var maxHeight: Any?
|
|
564
|
+
get() {
|
|
565
|
+
return (this.style ?: jsCannotRead("maxHeight")).maxHeight
|
|
566
|
+
}
|
|
567
|
+
set(value) {
|
|
568
|
+
(this.style ?: jsCannotSet("maxHeight")).maxHeight = value
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
open var width: Any?
|
|
572
|
+
get() {
|
|
573
|
+
return (this.style ?: jsCannotRead("width")).width
|
|
574
|
+
}
|
|
575
|
+
set(value) {
|
|
576
|
+
(this.style ?: jsCannotSet("width")).width = value
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
open var height: Any?
|
|
580
|
+
get() {
|
|
581
|
+
return (this.style ?: jsCannotRead("height")).height
|
|
582
|
+
}
|
|
583
|
+
set(value) {
|
|
584
|
+
(this.style ?: jsCannotSet("height")).height = value
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
open var margin: Any?
|
|
588
|
+
get() {
|
|
589
|
+
return (this.style ?: jsCannotRead("margin")).margin
|
|
590
|
+
}
|
|
591
|
+
set(value) {
|
|
592
|
+
(this.style ?: jsCannotSet("margin")).margin = value
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
open var marginLeft: Any?
|
|
596
|
+
get() {
|
|
597
|
+
return (this.style ?: jsCannotRead("marginLeft")).marginLeft
|
|
598
|
+
}
|
|
599
|
+
set(value) {
|
|
600
|
+
(this.style ?: jsCannotSet("marginLeft")).marginLeft = value
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
open var marginTop: Any?
|
|
604
|
+
get() {
|
|
605
|
+
return (this.style ?: jsCannotRead("marginTop")).marginTop
|
|
606
|
+
}
|
|
607
|
+
set(value) {
|
|
608
|
+
(this.style ?: jsCannotSet("marginTop")).marginTop = value
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
open var marginRight: Any?
|
|
612
|
+
get() {
|
|
613
|
+
return (this.style ?: jsCannotRead("marginRight")).marginRight
|
|
614
|
+
}
|
|
615
|
+
set(value) {
|
|
616
|
+
(this.style ?: jsCannotSet("marginRight")).marginRight = value
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
open var marginBottom: Any?
|
|
620
|
+
get() {
|
|
621
|
+
return (this.style ?: jsCannotRead("marginBottom")).marginBottom
|
|
622
|
+
}
|
|
623
|
+
set(value) {
|
|
624
|
+
(this.style ?: jsCannotSet("marginBottom")).marginBottom = value
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
open var horizontalAlignment: String
|
|
628
|
+
get() {
|
|
629
|
+
return (this.style ?: jsCannotRead("horizontalAlignment"))
|
|
630
|
+
.horizontalAlignment
|
|
631
|
+
}
|
|
632
|
+
set(value) {
|
|
633
|
+
(this.style ?: jsCannotSet("horizontalAlignment")).horizontalAlignment =
|
|
634
|
+
value
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
open var verticalAlignment: String
|
|
638
|
+
get() {
|
|
639
|
+
return (this.style ?: jsCannotRead("verticalAlignment")).verticalAlignment
|
|
640
|
+
}
|
|
641
|
+
set(value) {
|
|
642
|
+
(this.style ?: jsCannotSet("verticalAlignment")).verticalAlignment = value
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
open var visibility: String
|
|
646
|
+
get() {
|
|
647
|
+
return (this.style ?: jsCannotRead("visibility")).visibility
|
|
648
|
+
}
|
|
649
|
+
set(value) {
|
|
650
|
+
(this.style ?: jsCannotSet("visibility")).visibility = value
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
open var opacity: Double
|
|
654
|
+
get() {
|
|
655
|
+
return (this.style ?: jsCannotRead("opacity")).opacity
|
|
656
|
+
}
|
|
657
|
+
set(value) {
|
|
658
|
+
(this.style ?: jsCannotSet("opacity")).opacity = value
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
open var rotate: Double
|
|
662
|
+
get() {
|
|
663
|
+
return (this.style ?: jsCannotRead("rotate")).rotate
|
|
664
|
+
}
|
|
665
|
+
set(value) {
|
|
666
|
+
(this.style ?: jsCannotSet("rotate")).rotate = value
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
open var rotateX: Double
|
|
670
|
+
get() {
|
|
671
|
+
return (this.style ?: jsCannotRead("rotateX")).rotateX
|
|
672
|
+
}
|
|
673
|
+
set(value) {
|
|
674
|
+
(this.style ?: jsCannotSet("rotateX")).rotateX = value
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
open var rotateY: Double
|
|
678
|
+
get() {
|
|
679
|
+
return (this.style ?: jsCannotRead("rotateY")).rotateY
|
|
680
|
+
}
|
|
681
|
+
set(value) {
|
|
682
|
+
(this.style ?: jsCannotSet("rotateY")).rotateY = value
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
open var perspective: Double
|
|
686
|
+
get() {
|
|
687
|
+
return (this.style ?: jsCannotRead("perspective")).perspective
|
|
688
|
+
}
|
|
689
|
+
set(value) {
|
|
690
|
+
(this.style ?: jsCannotSet("perspective")).perspective = value
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
open var textTransform: String
|
|
694
|
+
get() {
|
|
695
|
+
return (this.style ?: jsCannotRead("textTransform")).textTransform
|
|
696
|
+
}
|
|
697
|
+
set(value) {
|
|
698
|
+
(this.style ?: jsCannotSet("textTransform")).textTransform = value
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
open var translateX: Double
|
|
702
|
+
get() {
|
|
703
|
+
return (this.style ?: jsCannotRead("translateX")).translateX
|
|
704
|
+
}
|
|
705
|
+
set(value) {
|
|
706
|
+
(this.style ?: jsCannotSet("translateX")).translateX = value
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
open var translateY: Double
|
|
710
|
+
get() {
|
|
711
|
+
return (this.style ?: jsCannotRead("translateY")).translateY
|
|
712
|
+
}
|
|
713
|
+
set(value) {
|
|
714
|
+
(this.style ?: jsCannotSet("translateY")).translateY = value
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
open var scaleX: Double
|
|
718
|
+
get() {
|
|
719
|
+
return (this.style ?: jsCannotRead("scaleX")).scaleX
|
|
720
|
+
}
|
|
721
|
+
set(value) {
|
|
722
|
+
(this.style ?: jsCannotSet("scaleX")).scaleX = value
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
open var scaleY: Double
|
|
726
|
+
get() {
|
|
727
|
+
return (this.style ?: jsCannotRead("scaleY")).scaleY
|
|
728
|
+
}
|
|
729
|
+
set(value) {
|
|
730
|
+
(this.style ?: jsCannotSet("scaleY")).scaleY = value
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
open var accessible: Boolean
|
|
734
|
+
get() {
|
|
735
|
+
return (this.style ?: jsCannotRead("accessible")).accessible
|
|
736
|
+
}
|
|
737
|
+
set(value) {
|
|
738
|
+
(this.style ?: jsCannotSet("accessible")).accessible = value
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
open var accessibilityHidden: Boolean
|
|
742
|
+
get() {
|
|
743
|
+
return ((this.style ?: jsCannotRead("accessibilityHidden"))
|
|
744
|
+
.accessibilityHidden ?: false)
|
|
745
|
+
}
|
|
746
|
+
set(value) {
|
|
747
|
+
(this.style ?: jsCannotSet("accessibilityHidden")).accessibilityHidden =
|
|
748
|
+
value
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
open var accessibilityRole: String
|
|
752
|
+
get() {
|
|
753
|
+
return (this.style ?: jsCannotRead("accessibilityRole")).accessibilityRole
|
|
754
|
+
}
|
|
755
|
+
set(value) {
|
|
756
|
+
(this.style ?: jsCannotSet("accessibilityRole")).accessibilityRole = value
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
open var accessibilityState: String
|
|
760
|
+
get() {
|
|
761
|
+
return (this.style ?: jsCannotRead("accessibilityState"))
|
|
762
|
+
.accessibilityState
|
|
763
|
+
}
|
|
764
|
+
set(value) {
|
|
765
|
+
(this.style ?: jsCannotSet("accessibilityState")).accessibilityState =
|
|
766
|
+
value
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
open var accessibilityLiveRegion: String
|
|
770
|
+
get() {
|
|
771
|
+
return (this.style ?: jsCannotRead("accessibilityLiveRegion"))
|
|
772
|
+
.accessibilityLiveRegion
|
|
773
|
+
}
|
|
774
|
+
set(value) {
|
|
775
|
+
(this.style ?: jsCannotSet("accessibilityLiveRegion"))
|
|
776
|
+
.accessibilityLiveRegion = value
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
open var accessibilityLanguage: String
|
|
780
|
+
get() {
|
|
781
|
+
return (this.style ?: jsCannotRead("accessibilityLanguage"))
|
|
782
|
+
.accessibilityLanguage
|
|
783
|
+
}
|
|
784
|
+
set(value) {
|
|
785
|
+
(this.style ?: jsCannotSet("accessibilityLanguage"))
|
|
786
|
+
.accessibilityLanguage = value
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
open var accessibilityMediaSession: Boolean
|
|
790
|
+
get() {
|
|
791
|
+
return (this.style ?: jsCannotRead("accessibilityMediaSession"))
|
|
792
|
+
.accessibilityMediaSession
|
|
793
|
+
}
|
|
794
|
+
set(value) {
|
|
795
|
+
(this.style ?: jsCannotSet("accessibilityMediaSession"))
|
|
796
|
+
.accessibilityMediaSession = value
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
open var iosAccessibilityAdjustsFontSize: Boolean
|
|
800
|
+
get() {
|
|
801
|
+
return (this.style ?: jsCannotRead("iosAccessibilityAdjustsFontSize"))
|
|
802
|
+
.iosAccessibilityAdjustsFontSize
|
|
803
|
+
}
|
|
804
|
+
set(value) {
|
|
805
|
+
(this.style ?: jsCannotSet("iosAccessibilityAdjustsFontSize"))
|
|
806
|
+
.iosAccessibilityAdjustsFontSize = value
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
open var iosAccessibilityMinFontScale: Double
|
|
810
|
+
get() {
|
|
811
|
+
return (this.style ?: jsCannotRead("iosAccessibilityMinFontScale"))
|
|
812
|
+
.iosAccessibilityMinFontScale
|
|
813
|
+
}
|
|
814
|
+
set(value) {
|
|
815
|
+
(this.style ?: jsCannotSet("iosAccessibilityMinFontScale"))
|
|
816
|
+
.iosAccessibilityMinFontScale = value
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
open var iosAccessibilityMaxFontScale: Double
|
|
820
|
+
get() {
|
|
821
|
+
return (this.style ?: jsCannotRead("iosAccessibilityMaxFontScale"))
|
|
822
|
+
.iosAccessibilityMaxFontScale
|
|
823
|
+
}
|
|
824
|
+
set(value) {
|
|
825
|
+
(this.style ?: jsCannotSet("iosAccessibilityMaxFontScale"))
|
|
826
|
+
.iosAccessibilityMaxFontScale = value
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
open var automationText: String
|
|
830
|
+
get() {
|
|
831
|
+
return this.accessibilityIdentifier
|
|
832
|
+
}
|
|
833
|
+
set(value) {
|
|
834
|
+
this.accessibilityIdentifier = value
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
open var androidElevation: Double
|
|
838
|
+
get() {
|
|
839
|
+
return (this.style ?: jsCannotRead("androidElevation")).androidElevation
|
|
840
|
+
}
|
|
841
|
+
set(value) {
|
|
842
|
+
(this.style ?: jsCannotSet("androidElevation")).androidElevation = value
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
open var androidDynamicElevationOffset: Double
|
|
846
|
+
get() {
|
|
847
|
+
return (this.style ?: jsCannotRead("androidDynamicElevationOffset"))
|
|
848
|
+
.androidDynamicElevationOffset
|
|
849
|
+
}
|
|
850
|
+
set(value) {
|
|
851
|
+
(this.style ?: jsCannotSet("androidDynamicElevationOffset"))
|
|
852
|
+
.androidDynamicElevationOffset = value
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
open val isLayoutValid: Boolean
|
|
856
|
+
get() {
|
|
857
|
+
return false
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
override var cssType: String
|
|
861
|
+
get() {
|
|
862
|
+
if (this._cssType.isNullOrEmpty()) {
|
|
863
|
+
this._cssType = jsLowerCase(this.typeName)
|
|
864
|
+
}
|
|
865
|
+
return (this._cssType ?: "undefined")
|
|
866
|
+
}
|
|
867
|
+
set(type) {
|
|
868
|
+
this._cssType = jsLowerCase(type)
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
open var statusBarStyle: String
|
|
872
|
+
get() {
|
|
873
|
+
return (this.style ?: jsCannotRead("statusBarStyle")).statusBarStyle
|
|
874
|
+
}
|
|
875
|
+
set(value) {
|
|
876
|
+
(this.style ?: jsCannotSet("statusBarStyle")).statusBarStyle = value
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
open val isLayoutRequired: Boolean
|
|
880
|
+
get() {
|
|
881
|
+
return true
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
open val needsNativeDrawableFill: Boolean
|
|
885
|
+
get() {
|
|
886
|
+
return false
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
open fun addCss(cssString: String?) {
|
|
890
|
+
this._updateStyleScope(null, cssString)
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
open fun addCssFile(cssFileName: String?) {
|
|
894
|
+
this._updateStyleScope(cssFileName)
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
open fun changeCssFile(cssFileName: String?) {
|
|
898
|
+
val scope: StyleScope? = this._styleScope
|
|
899
|
+
if ((jsTruthy(scope) && !cssFileName.isNullOrEmpty())) {
|
|
900
|
+
(scope ?: jsCannotRead("changeCssFile")).changeCssFile(cssFileName)
|
|
901
|
+
this._onCssStateChange()
|
|
902
|
+
}
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
open fun _updateStyleScope(
|
|
906
|
+
cssFileName: String? = null,
|
|
907
|
+
cssString: String? = null,
|
|
908
|
+
css: String? = null,
|
|
909
|
+
) {
|
|
910
|
+
var scope: StyleScope? = this._styleScope
|
|
911
|
+
if (!jsTruthy(scope)) {
|
|
912
|
+
scope = StyleScope()
|
|
913
|
+
this.setScopeProperty(scope, cssFileName, cssString, css)
|
|
914
|
+
this._inheritStyleScope(scope)
|
|
915
|
+
this._isStyleScopeHost = true
|
|
916
|
+
} else {
|
|
917
|
+
this.setScopeProperty(scope, cssFileName, cssString, css)
|
|
918
|
+
this._onCssStateChange()
|
|
919
|
+
}
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
open fun setScopeProperty(
|
|
923
|
+
scope: StyleScope?,
|
|
924
|
+
cssFileName: String? = null,
|
|
925
|
+
cssString: String? = null,
|
|
926
|
+
css: String? = null,
|
|
927
|
+
) {
|
|
928
|
+
if (cssFileName != null) {
|
|
929
|
+
(scope ?: jsCannotRead("addCssFile")).addCssFile(cssFileName)
|
|
930
|
+
} else if (cssString != null) {
|
|
931
|
+
(scope ?: jsCannotRead("addCss")).addCss(cssString)
|
|
932
|
+
} else if (css != null) {
|
|
933
|
+
(scope ?: jsCannotSet("css")).css = (css ?: "undefined")
|
|
934
|
+
}
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
fun onLoaded__ViewCommon() {
|
|
938
|
+
if (!this.isLoaded) {
|
|
939
|
+
val hasTap: Boolean =
|
|
940
|
+
this.hasListeners("tap") ||
|
|
941
|
+
this.hasListeners("tapChange") ||
|
|
942
|
+
jsTruthy(this.getGestureObservers(GestureTypes.tap))
|
|
943
|
+
val enableTapAnimations: Boolean =
|
|
944
|
+
TouchManager.enableGlobalTapAnimations && hasTap
|
|
945
|
+
if (
|
|
946
|
+
(!this.ignoreTouchAnimation &&
|
|
947
|
+
(jsTruthy(this.touchAnimation) || enableTapAnimations))
|
|
948
|
+
) {
|
|
949
|
+
TouchManager.addAnimations((this as View?))
|
|
950
|
+
}
|
|
951
|
+
}
|
|
952
|
+
super.onLoaded()
|
|
953
|
+
Core_application_helpers.setupAccessibleView(this)
|
|
954
|
+
if (!this.statusBarStyle.isNullOrEmpty()) {
|
|
955
|
+
this.updateStatusBarStyle(this.statusBarStyle)
|
|
956
|
+
}
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
override fun onLoaded() {
|
|
960
|
+
if (!this.isLoaded) {
|
|
961
|
+
val hasTap: Boolean =
|
|
962
|
+
this.hasListeners("tap") ||
|
|
963
|
+
this.hasListeners("tapChange") ||
|
|
964
|
+
jsTruthy(this.getGestureObservers(GestureTypes.tap))
|
|
965
|
+
val enableTapAnimations: Boolean =
|
|
966
|
+
TouchManager.enableGlobalTapAnimations && hasTap
|
|
967
|
+
if (
|
|
968
|
+
(!this.ignoreTouchAnimation &&
|
|
969
|
+
(jsTruthy(this.touchAnimation) || enableTapAnimations))
|
|
970
|
+
) {
|
|
971
|
+
TouchManager.addAnimations((this as View?))
|
|
972
|
+
}
|
|
973
|
+
}
|
|
974
|
+
super.onLoaded()
|
|
975
|
+
Core_application_helpers.setupAccessibleView(this)
|
|
976
|
+
if (!this.statusBarStyle.isNullOrEmpty()) {
|
|
977
|
+
this.updateStatusBarStyle(this.statusBarStyle)
|
|
978
|
+
}
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
open fun _closeAllModalViewsInternal(): Boolean {
|
|
982
|
+
if (
|
|
983
|
+
(jsTruthy(Core_ui_core_view_view_common._rootModalViews) &&
|
|
984
|
+
Core_ui_core_view_view_common._rootModalViews.length > 0.0)
|
|
985
|
+
) {
|
|
986
|
+
Core_ui_core_view_view_common._rootModalViews.forEach({ v: ViewBase? ->
|
|
987
|
+
(v ?: jsCannotRead("closeModal")).closeModal(JSArray<Any?>())
|
|
988
|
+
})
|
|
989
|
+
return true
|
|
990
|
+
}
|
|
991
|
+
return false
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
open fun _getRootModalViews(): JSArray<ViewBase>? {
|
|
995
|
+
return Core_ui_core_view_view_common._rootModalViews
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
open fun _getRootModalHost(): ViewBase? {
|
|
999
|
+
var view: ViewBase? = this
|
|
1000
|
+
while (jsTruthy(view)) {
|
|
1001
|
+
val next: Any? =
|
|
1002
|
+
((view ?: jsCannotRead("parent")).parent
|
|
1003
|
+
?: (((view ?: jsObjectRequired()) as ViewCommon))._modalParent)
|
|
1004
|
+
if (!jsTruthy(next)) {
|
|
1005
|
+
break
|
|
1006
|
+
}
|
|
1007
|
+
view = jsCast(next, ViewBase::class.java)
|
|
1008
|
+
}
|
|
1009
|
+
return view
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
/**
|
|
1013
|
+
* The window currently hosting this view, or `undefined` when the view is not part of any
|
|
1014
|
+
* window's view tree — including a view whose window has been closed.
|
|
1015
|
+
*
|
|
1016
|
+
* Resolved on every call by walking up to the root view — through the presenting view of any
|
|
1017
|
+
* modal on the way — so a view re-parented into another window's tree reports the window it
|
|
1018
|
+
* moved to.
|
|
1019
|
+
*/
|
|
1020
|
+
open fun getNativeWindow(): NativeWindow? {
|
|
1021
|
+
return ((((this._getRootModalHost() ?: jsObjectRequired()) as ViewCommon))
|
|
1022
|
+
?._nativeWindow ?: null)
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
fun _onLivesync__ViewCommon(context: Any? = null): Boolean {
|
|
1026
|
+
if (org.nativescript.kit.Trace.isEnabled()) {
|
|
1027
|
+
org.nativescript.kit.Trace.write(
|
|
1028
|
+
"${jsToStringThrowing(this)}._onLivesync(${(jsJSONStringify(context) ?: "undefined")})",
|
|
1029
|
+
org.nativescript.kit.Trace.categories.Livesync,
|
|
1030
|
+
)
|
|
1031
|
+
}
|
|
1032
|
+
var handled: Boolean = false
|
|
1033
|
+
if (this._closeAllModalViewsInternal()) {
|
|
1034
|
+
handled = true
|
|
1035
|
+
}
|
|
1036
|
+
if (this._handleLivesync(context)) {
|
|
1037
|
+
return true
|
|
1038
|
+
}
|
|
1039
|
+
this.eachChildView(
|
|
1040
|
+
fun(child: ViewCommon?): Boolean {
|
|
1041
|
+
if ((child ?: jsCannotRead("_onLivesync"))._onLivesync(context)) {
|
|
1042
|
+
handled = true
|
|
1043
|
+
return false
|
|
1044
|
+
}
|
|
1045
|
+
jsThrow(JSTypeError("no value returned where the declared type needs one"))
|
|
1046
|
+
}
|
|
1047
|
+
)
|
|
1048
|
+
return handled
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
open fun _onLivesync(context: Any? = null): Boolean {
|
|
1052
|
+
if (org.nativescript.kit.Trace.isEnabled()) {
|
|
1053
|
+
org.nativescript.kit.Trace.write(
|
|
1054
|
+
"${jsToStringThrowing(this)}._onLivesync(${(jsJSONStringify(context) ?: "undefined")})",
|
|
1055
|
+
org.nativescript.kit.Trace.categories.Livesync,
|
|
1056
|
+
)
|
|
1057
|
+
}
|
|
1058
|
+
var handled: Boolean = false
|
|
1059
|
+
if (this._closeAllModalViewsInternal()) {
|
|
1060
|
+
handled = true
|
|
1061
|
+
}
|
|
1062
|
+
if (this._handleLivesync(context)) {
|
|
1063
|
+
return true
|
|
1064
|
+
}
|
|
1065
|
+
this.eachChildView(
|
|
1066
|
+
fun(child: ViewCommon?): Boolean {
|
|
1067
|
+
if ((child ?: jsCannotRead("_onLivesync"))._onLivesync(context)) {
|
|
1068
|
+
handled = true
|
|
1069
|
+
return false
|
|
1070
|
+
}
|
|
1071
|
+
jsThrow(JSTypeError("no value returned where the declared type needs one"))
|
|
1072
|
+
}
|
|
1073
|
+
)
|
|
1074
|
+
return handled
|
|
1075
|
+
}
|
|
1076
|
+
|
|
1077
|
+
fun _handleLivesync__ViewCommon(context: Any? = null): Boolean {
|
|
1078
|
+
if (org.nativescript.kit.Trace.isEnabled()) {
|
|
1079
|
+
org.nativescript.kit.Trace.write(
|
|
1080
|
+
"${jsToStringThrowing(this)}._handleLivesync(${(jsJSONStringify(context) ?: "undefined")})",
|
|
1081
|
+
org.nativescript.kit.Trace.categories.Livesync,
|
|
1082
|
+
)
|
|
1083
|
+
}
|
|
1084
|
+
if (
|
|
1085
|
+
Core_ui_core_view_view_common.viewMatchesModuleContext(
|
|
1086
|
+
this,
|
|
1087
|
+
context,
|
|
1088
|
+
jsArrayOf<String>("style"),
|
|
1089
|
+
)
|
|
1090
|
+
) {
|
|
1091
|
+
if (org.nativescript.kit.Trace.isEnabled()) {
|
|
1092
|
+
org.nativescript.kit.Trace.write(
|
|
1093
|
+
"Change Handled: Changing CSS for ${jsToStringThrowing(this)}",
|
|
1094
|
+
org.nativescript.kit.Trace.categories.Livesync,
|
|
1095
|
+
)
|
|
1096
|
+
}
|
|
1097
|
+
val cssModuleName: String =
|
|
1098
|
+
"${Core_utils_common.sanitizeModuleName(jsConvertedStringOrNull(jsGet(context, "path")))}.css"
|
|
1099
|
+
this.changeCssFile(cssModuleName)
|
|
1100
|
+
return true
|
|
1101
|
+
}
|
|
1102
|
+
if (
|
|
1103
|
+
((Core_ui_core_view_view_common.viewMatchesModuleContext(
|
|
1104
|
+
this,
|
|
1105
|
+
context,
|
|
1106
|
+
jsArrayOf<String>("markup", "script"),
|
|
1107
|
+
) && jsTruthy(this.page)) && jsTruthy((this.page ?: jsCannotRead("frame")).frame))
|
|
1108
|
+
) {
|
|
1109
|
+
if (org.nativescript.kit.Trace.isEnabled()) {
|
|
1110
|
+
org.nativescript.kit.Trace.write(
|
|
1111
|
+
"Change Handled: Changing ${jsToString(jsConvertedStringOrNull(jsGet(context, "type")))} for ${jsToStringThrowing(this)} inside ${jsToStringThrowing(this.page)}",
|
|
1112
|
+
org.nativescript.kit.Trace.categories.Livesync,
|
|
1113
|
+
)
|
|
1114
|
+
}
|
|
1115
|
+
return ((this.page ?: jsCannotRead("frame")).frame
|
|
1116
|
+
?: jsCannotRead("_handleLivesync"))
|
|
1117
|
+
._handleLivesync(
|
|
1118
|
+
jsObjectOf(
|
|
1119
|
+
"type" to jsGet(context, "type"),
|
|
1120
|
+
"path" to (this.page ?: jsCannotRead("_moduleName"))._moduleName,
|
|
1121
|
+
)
|
|
1122
|
+
)
|
|
1123
|
+
}
|
|
1124
|
+
return false
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
open fun _handleLivesync(context: Any? = null): Boolean {
|
|
1128
|
+
if (org.nativescript.kit.Trace.isEnabled()) {
|
|
1129
|
+
org.nativescript.kit.Trace.write(
|
|
1130
|
+
"${jsToStringThrowing(this)}._handleLivesync(${(jsJSONStringify(context) ?: "undefined")})",
|
|
1131
|
+
org.nativescript.kit.Trace.categories.Livesync,
|
|
1132
|
+
)
|
|
1133
|
+
}
|
|
1134
|
+
if (
|
|
1135
|
+
Core_ui_core_view_view_common.viewMatchesModuleContext(
|
|
1136
|
+
this,
|
|
1137
|
+
context,
|
|
1138
|
+
jsArrayOf<String>("style"),
|
|
1139
|
+
)
|
|
1140
|
+
) {
|
|
1141
|
+
if (org.nativescript.kit.Trace.isEnabled()) {
|
|
1142
|
+
org.nativescript.kit.Trace.write(
|
|
1143
|
+
"Change Handled: Changing CSS for ${jsToStringThrowing(this)}",
|
|
1144
|
+
org.nativescript.kit.Trace.categories.Livesync,
|
|
1145
|
+
)
|
|
1146
|
+
}
|
|
1147
|
+
val cssModuleName: String =
|
|
1148
|
+
"${Core_utils_common.sanitizeModuleName(jsConvertedStringOrNull(jsGet(context, "path")))}.css"
|
|
1149
|
+
this.changeCssFile(cssModuleName)
|
|
1150
|
+
return true
|
|
1151
|
+
}
|
|
1152
|
+
if (
|
|
1153
|
+
((Core_ui_core_view_view_common.viewMatchesModuleContext(
|
|
1154
|
+
this,
|
|
1155
|
+
context,
|
|
1156
|
+
jsArrayOf<String>("markup", "script"),
|
|
1157
|
+
) && jsTruthy(this.page)) && jsTruthy((this.page ?: jsCannotRead("frame")).frame))
|
|
1158
|
+
) {
|
|
1159
|
+
if (org.nativescript.kit.Trace.isEnabled()) {
|
|
1160
|
+
org.nativescript.kit.Trace.write(
|
|
1161
|
+
"Change Handled: Changing ${jsToString(jsConvertedStringOrNull(jsGet(context, "type")))} for ${jsToStringThrowing(this)} inside ${jsToStringThrowing(this.page)}",
|
|
1162
|
+
org.nativescript.kit.Trace.categories.Livesync,
|
|
1163
|
+
)
|
|
1164
|
+
}
|
|
1165
|
+
return ((this.page ?: jsCannotRead("frame")).frame
|
|
1166
|
+
?: jsCannotRead("_handleLivesync"))
|
|
1167
|
+
._handleLivesync(
|
|
1168
|
+
jsObjectOf(
|
|
1169
|
+
"type" to jsGet(context, "type"),
|
|
1170
|
+
"path" to (this.page ?: jsCannotRead("_moduleName"))._moduleName,
|
|
1171
|
+
)
|
|
1172
|
+
)
|
|
1173
|
+
}
|
|
1174
|
+
return false
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
override fun _setupAsRootView(context: Any?) {
|
|
1178
|
+
super._setupAsRootView(context)
|
|
1179
|
+
if (!jsTruthy(this._styleScope)) {
|
|
1180
|
+
this._updateStyleScope()
|
|
1181
|
+
}
|
|
1182
|
+
}
|
|
1183
|
+
|
|
1184
|
+
fun _observe__ViewCommon(type: Double, callback: (Any?) -> Unit, thisArg: Any? = null) {
|
|
1185
|
+
var thisArg: Any? = thisArg
|
|
1186
|
+
thisArg = jsOr(thisArg) { null }
|
|
1187
|
+
if (
|
|
1188
|
+
jsTruthy(
|
|
1189
|
+
jsArrayFrom(jsGet(this._gestureObservers, js(type))) {
|
|
1190
|
+
jsCastCarried(it, GesturesObserver::class.java)
|
|
1191
|
+
}
|
|
1192
|
+
?.find({ observer: GesturesObserver? ->
|
|
1193
|
+
jsStrictEquals(
|
|
1194
|
+
(observer ?: jsCannotRead("callback")).callback,
|
|
1195
|
+
callback,
|
|
1196
|
+
) && jsStrictEquals((observer ?: jsCannotRead("context")).context, thisArg)
|
|
1197
|
+
})
|
|
1198
|
+
)
|
|
1199
|
+
) {
|
|
1200
|
+
return
|
|
1201
|
+
}
|
|
1202
|
+
if (
|
|
1203
|
+
!jsTruthy(
|
|
1204
|
+
jsUnlessNullish(jsGet(this._gestureObservers, js(type))) {
|
|
1205
|
+
jsArrayFrom(it) { jsCastCarried(it, GesturesObserver::class.java) }
|
|
1206
|
+
}
|
|
1207
|
+
)
|
|
1208
|
+
) {
|
|
1209
|
+
jsSet(this._gestureObservers, js(type), JSArray<GesturesObserver>())
|
|
1210
|
+
}
|
|
1211
|
+
jsArrayFrom(jsGet(this._gestureObservers, js(type))) {
|
|
1212
|
+
jsCastCarried(it, GesturesObserver::class.java)
|
|
1213
|
+
}
|
|
1214
|
+
.push(
|
|
1215
|
+
(Core_ui_gestures_index.observe((this as View?), type, callback, thisArg)
|
|
1216
|
+
?: jsObjectRequired())
|
|
1217
|
+
)
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
open fun _observe(type: Double, callback: (Any?) -> Unit, thisArg: Any? = null) {
|
|
1221
|
+
var thisArg: Any? = thisArg
|
|
1222
|
+
thisArg = jsOr(thisArg) { null }
|
|
1223
|
+
if (
|
|
1224
|
+
jsTruthy(
|
|
1225
|
+
jsArrayFrom(jsGet(this._gestureObservers, js(type))) {
|
|
1226
|
+
jsCastCarried(it, GesturesObserver::class.java)
|
|
1227
|
+
}
|
|
1228
|
+
?.find({ observer: GesturesObserver? ->
|
|
1229
|
+
jsStrictEquals(
|
|
1230
|
+
(observer ?: jsCannotRead("callback")).callback,
|
|
1231
|
+
callback,
|
|
1232
|
+
) && jsStrictEquals((observer ?: jsCannotRead("context")).context, thisArg)
|
|
1233
|
+
})
|
|
1234
|
+
)
|
|
1235
|
+
) {
|
|
1236
|
+
return
|
|
1237
|
+
}
|
|
1238
|
+
if (
|
|
1239
|
+
!jsTruthy(
|
|
1240
|
+
jsUnlessNullish(jsGet(this._gestureObservers, js(type))) {
|
|
1241
|
+
jsArrayFrom(it) { jsCastCarried(it, GesturesObserver::class.java) }
|
|
1242
|
+
}
|
|
1243
|
+
)
|
|
1244
|
+
) {
|
|
1245
|
+
jsSet(this._gestureObservers, js(type), JSArray<GesturesObserver>())
|
|
1246
|
+
}
|
|
1247
|
+
jsArrayFrom(jsGet(this._gestureObservers, js(type))) {
|
|
1248
|
+
jsCastCarried(it, GesturesObserver::class.java)
|
|
1249
|
+
}
|
|
1250
|
+
.push(
|
|
1251
|
+
(Core_ui_gestures_index.observe((this as View?), type, callback, thisArg)
|
|
1252
|
+
?: jsObjectRequired())
|
|
1253
|
+
)
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
open fun getGestureObservers(type: Double): JSArray<GesturesObserver>? {
|
|
1257
|
+
return jsUnlessNullish(jsGet(this._gestureObservers, js(type))) {
|
|
1258
|
+
jsArrayFrom(it) { jsCastCarried(it, GesturesObserver::class.java) }
|
|
1259
|
+
}
|
|
1260
|
+
}
|
|
1261
|
+
|
|
1262
|
+
fun addEventListener__ViewCommon(
|
|
1263
|
+
eventName: String?,
|
|
1264
|
+
callback: (EventData) -> Unit,
|
|
1265
|
+
thisArg: Any? = null,
|
|
1266
|
+
once: Boolean? = null,
|
|
1267
|
+
) {
|
|
1268
|
+
var eventNames = eventName
|
|
1269
|
+
var thisArg: Any? = thisArg
|
|
1270
|
+
thisArg = jsOr(thisArg) { null }
|
|
1271
|
+
if (jsTypeof(eventNames) == "number") {
|
|
1272
|
+
val gestureName: String =
|
|
1273
|
+
Core_ui_gestures_gestures_common.toString(jsToNumber(eventNames))
|
|
1274
|
+
if (!Core_ui_core_view_view_common.warnedEvent.has(gestureName)) {
|
|
1275
|
+
jsError(
|
|
1276
|
+
"Using a gesture type (${gestureName}) as an event name is deprecated. Please use the event name instead."
|
|
1277
|
+
)
|
|
1278
|
+
Core_ui_core_view_view_common.warnedEvent.add(gestureName)
|
|
1279
|
+
}
|
|
1280
|
+
eventNames = gestureName
|
|
1281
|
+
}
|
|
1282
|
+
val normalizedName: String =
|
|
1283
|
+
Core_ui_core_bindable_index.getEventOrGestureName(eventNames)
|
|
1284
|
+
val gestureType: Double =
|
|
1285
|
+
Core_ui_gestures_gestures_common.fromString(normalizedName)
|
|
1286
|
+
if ((jsTruthy(gestureType) && !this._isEvent(normalizedName))) {
|
|
1287
|
+
this._observe(
|
|
1288
|
+
gestureType,
|
|
1289
|
+
callback.let { __f ->
|
|
1290
|
+
jsAdapt1<Any?, Unit>(__f) { __a0: Any? -> __f(EventData.fromJS(__a0)) }
|
|
1291
|
+
},
|
|
1292
|
+
thisArg,
|
|
1293
|
+
)
|
|
1294
|
+
return
|
|
1295
|
+
}
|
|
1296
|
+
super.addEventListener(normalizedName, callback, thisArg, once)
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1299
|
+
override fun addEventListener(
|
|
1300
|
+
eventName: String?,
|
|
1301
|
+
callback: (EventData) -> Unit,
|
|
1302
|
+
thisArg: Any?,
|
|
1303
|
+
once: Boolean?,
|
|
1304
|
+
) {
|
|
1305
|
+
var eventNames = eventName
|
|
1306
|
+
var thisArg: Any? = thisArg
|
|
1307
|
+
thisArg = jsOr(thisArg) { null }
|
|
1308
|
+
if (jsTypeof(eventNames) == "number") {
|
|
1309
|
+
val gestureName: String =
|
|
1310
|
+
Core_ui_gestures_gestures_common.toString(jsToNumber(eventNames))
|
|
1311
|
+
if (!Core_ui_core_view_view_common.warnedEvent.has(gestureName)) {
|
|
1312
|
+
jsError(
|
|
1313
|
+
"Using a gesture type (${gestureName}) as an event name is deprecated. Please use the event name instead."
|
|
1314
|
+
)
|
|
1315
|
+
Core_ui_core_view_view_common.warnedEvent.add(gestureName)
|
|
1316
|
+
}
|
|
1317
|
+
eventNames = gestureName
|
|
1318
|
+
}
|
|
1319
|
+
val normalizedName: String =
|
|
1320
|
+
Core_ui_core_bindable_index.getEventOrGestureName(eventNames)
|
|
1321
|
+
val gestureType: Double =
|
|
1322
|
+
Core_ui_gestures_gestures_common.fromString(normalizedName)
|
|
1323
|
+
if ((jsTruthy(gestureType) && !this._isEvent(normalizedName))) {
|
|
1324
|
+
this._observe(
|
|
1325
|
+
gestureType,
|
|
1326
|
+
callback.let { __f ->
|
|
1327
|
+
jsAdapt1<Any?, Unit>(__f) { __a0: Any? -> __f(EventData.fromJS(__a0)) }
|
|
1328
|
+
},
|
|
1329
|
+
thisArg,
|
|
1330
|
+
)
|
|
1331
|
+
return
|
|
1332
|
+
}
|
|
1333
|
+
super.addEventListener(normalizedName, callback, thisArg, once)
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
fun removeEventListener__ViewCommon(
|
|
1337
|
+
eventName: String?,
|
|
1338
|
+
callback: ((EventData) -> Unit)? = null,
|
|
1339
|
+
thisArg: Any? = null,
|
|
1340
|
+
) {
|
|
1341
|
+
var eventNames = eventName
|
|
1342
|
+
var thisArg: Any? = thisArg
|
|
1343
|
+
thisArg = jsOr(thisArg) { null }
|
|
1344
|
+
if (jsTypeof(eventNames) == "number") {
|
|
1345
|
+
val gestureName: String =
|
|
1346
|
+
Core_ui_gestures_gestures_common.toString(jsToNumber(eventNames))
|
|
1347
|
+
if (!Core_ui_core_view_view_common.warnedEvent.has(gestureName)) {
|
|
1348
|
+
jsError(
|
|
1349
|
+
"Using a gesture type (${gestureName}) as an event name is deprecated. Please use the event name instead."
|
|
1350
|
+
)
|
|
1351
|
+
Core_ui_core_view_view_common.warnedEvent.add(gestureName)
|
|
1352
|
+
}
|
|
1353
|
+
eventNames = gestureName
|
|
1354
|
+
}
|
|
1355
|
+
val normalizedName: String =
|
|
1356
|
+
Core_ui_core_bindable_index.getEventOrGestureName(eventNames)
|
|
1357
|
+
val gestureType: Double =
|
|
1358
|
+
Core_ui_gestures_gestures_common.fromString(normalizedName)
|
|
1359
|
+
if ((jsTruthy(gestureType) && !this._isEvent(normalizedName))) {
|
|
1360
|
+
this._disconnectGestureObservers(gestureType, callback, thisArg)
|
|
1361
|
+
return
|
|
1362
|
+
}
|
|
1363
|
+
super.removeEventListener(normalizedName, callback, thisArg)
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1366
|
+
override fun removeEventListener(
|
|
1367
|
+
eventName: String?,
|
|
1368
|
+
callback: ((EventData) -> Unit)?,
|
|
1369
|
+
thisArg: Any?,
|
|
1370
|
+
) {
|
|
1371
|
+
var eventNames = eventName
|
|
1372
|
+
var thisArg: Any? = thisArg
|
|
1373
|
+
thisArg = jsOr(thisArg) { null }
|
|
1374
|
+
if (jsTypeof(eventNames) == "number") {
|
|
1375
|
+
val gestureName: String =
|
|
1376
|
+
Core_ui_gestures_gestures_common.toString(jsToNumber(eventNames))
|
|
1377
|
+
if (!Core_ui_core_view_view_common.warnedEvent.has(gestureName)) {
|
|
1378
|
+
jsError(
|
|
1379
|
+
"Using a gesture type (${gestureName}) as an event name is deprecated. Please use the event name instead."
|
|
1380
|
+
)
|
|
1381
|
+
Core_ui_core_view_view_common.warnedEvent.add(gestureName)
|
|
1382
|
+
}
|
|
1383
|
+
eventNames = gestureName
|
|
1384
|
+
}
|
|
1385
|
+
val normalizedName: String =
|
|
1386
|
+
Core_ui_core_bindable_index.getEventOrGestureName(eventNames)
|
|
1387
|
+
val gestureType: Double =
|
|
1388
|
+
Core_ui_gestures_gestures_common.fromString(normalizedName)
|
|
1389
|
+
if ((jsTruthy(gestureType) && !this._isEvent(normalizedName))) {
|
|
1390
|
+
this._disconnectGestureObservers(gestureType, callback, thisArg)
|
|
1391
|
+
return
|
|
1392
|
+
}
|
|
1393
|
+
super.removeEventListener(normalizedName, callback, thisArg)
|
|
1394
|
+
}
|
|
1395
|
+
|
|
1396
|
+
fun onBackPressed__ViewCommon(): Boolean {
|
|
1397
|
+
return false
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
open fun onBackPressed(): Boolean {
|
|
1401
|
+
return false
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1404
|
+
fun _getFragmentManager__ViewCommon(): Any? {
|
|
1405
|
+
return null
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
open fun _getFragmentManager(): Any? {
|
|
1409
|
+
return null
|
|
1410
|
+
}
|
|
1411
|
+
|
|
1412
|
+
open fun getModalOptions(args: JSArray<Any?>?): Any? {
|
|
1413
|
+
if ((args ?: jsCannotRead("length")).length == 0.0) {
|
|
1414
|
+
throw JSException(
|
|
1415
|
+
JSError(
|
|
1416
|
+
"showModal without parameters is deprecated. Please call showModal on a view instance instead."
|
|
1417
|
+
)
|
|
1418
|
+
)
|
|
1419
|
+
} else {
|
|
1420
|
+
var options: Any? = jsNull
|
|
1421
|
+
if ((args ?: jsCannotRead("length")).length == 2.0) {
|
|
1422
|
+
options = (args ?: jsCannotRead("1")).element(1.0)
|
|
1423
|
+
} else {
|
|
1424
|
+
if (((args ?: jsCannotRead("0")).element(0.0) is ViewCommon)) {
|
|
1425
|
+
jsLog(
|
|
1426
|
+
"showModal(view: ViewBase, context: any, closeCallback: Function, fullscreen?: boolean, animated?: boolean, stretched?: boolean) " +
|
|
1427
|
+
"is deprecated. Use showModal(view: ViewBase, modalOptions: ShowModalOptions) instead."
|
|
1428
|
+
)
|
|
1429
|
+
} else {
|
|
1430
|
+
jsLog(
|
|
1431
|
+
"showModal(moduleName: string, context: any, closeCallback: Function, fullscreen?: boolean, animated?: boolean, stretched?: boolean) " +
|
|
1432
|
+
"is deprecated. Use showModal(moduleName: string, modalOptions: ShowModalOptions) instead."
|
|
1433
|
+
)
|
|
1434
|
+
}
|
|
1435
|
+
options =
|
|
1436
|
+
jsObjectOf(
|
|
1437
|
+
"context" to (args ?: jsCannotRead("1")).element(1.0),
|
|
1438
|
+
"closeCallback" to (args ?: jsCannotRead("2")).element(2.0),
|
|
1439
|
+
"fullscreen" to (args ?: jsCannotRead("3")).element(3.0),
|
|
1440
|
+
"animated" to (args ?: jsCannotRead("4")).element(4.0),
|
|
1441
|
+
"stretched" to (args ?: jsCannotRead("5")).element(5.0),
|
|
1442
|
+
)
|
|
1443
|
+
}
|
|
1444
|
+
val firstArgument: Any? = (args ?: jsCannotRead("0")).element(0.0)
|
|
1445
|
+
val view: ViewCommon? =
|
|
1446
|
+
(if ((firstArgument is ViewCommon))
|
|
1447
|
+
jsCastCarried(firstArgument, ViewCommon::class.java)
|
|
1448
|
+
else
|
|
1449
|
+
(Builder.createViewFromEntry(jsObjectOf("moduleName" to firstArgument))
|
|
1450
|
+
?: jsObjectRequired()))
|
|
1451
|
+
return jsObjectOf("view" to view, "options" to options)
|
|
1452
|
+
}
|
|
1453
|
+
}
|
|
1454
|
+
|
|
1455
|
+
override fun showModal(moduleOrView: Any?, modalOptions: Any?): ViewBase? {
|
|
1456
|
+
val args: JSArray<Any?> =
|
|
1457
|
+
(JSArray<Any?>(listOf<Any?>(moduleOrView, modalOptions).dropLastWhile { it == null })
|
|
1458
|
+
as JSArray<Any?>)
|
|
1459
|
+
val __d_1: Any? = this.getModalOptions(args)
|
|
1460
|
+
val view: ViewCommon? = jsCastCarried(jsGet(__d_1, "view"), ViewCommon::class.java)
|
|
1461
|
+
val options: Any? = jsGet(__d_1, "options")
|
|
1462
|
+
if (
|
|
1463
|
+
jsTruthy(
|
|
1464
|
+
jsCast(
|
|
1465
|
+
jsGetOptional(jsGet(options, "transition"), "instance"),
|
|
1466
|
+
ModalTransition::class.java,
|
|
1467
|
+
)
|
|
1468
|
+
)
|
|
1469
|
+
) {
|
|
1470
|
+
SharedTransition.updateState(
|
|
1471
|
+
(jsCastCarried(
|
|
1472
|
+
jsGetOptional(jsGet(options, "transition"), "instance"),
|
|
1473
|
+
ModalTransition::class.java,
|
|
1474
|
+
)
|
|
1475
|
+
.id ?: Double.NaN),
|
|
1476
|
+
jsObjectOf("page" to this, "toPage" to view),
|
|
1477
|
+
)
|
|
1478
|
+
}
|
|
1479
|
+
(view ?: jsCannotRead("_showNativeModalView"))._showNativeModalView(
|
|
1480
|
+
this,
|
|
1481
|
+
options,
|
|
1482
|
+
)
|
|
1483
|
+
return (view as View?)
|
|
1484
|
+
}
|
|
1485
|
+
|
|
1486
|
+
override fun closeModal(args: JSArray<Any?>) {
|
|
1487
|
+
val closeCallback: Any? = this._closeModalCallback
|
|
1488
|
+
if (jsTruthy(closeCallback)) {
|
|
1489
|
+
jsCall(
|
|
1490
|
+
closeCallback,
|
|
1491
|
+
*JSArray<Any?>((args).toList()).storage.toTypedArray(),
|
|
1492
|
+
)
|
|
1493
|
+
} else {
|
|
1494
|
+
val parent: ViewBase? = this.parent
|
|
1495
|
+
if (jsTruthy(parent)) {
|
|
1496
|
+
(parent ?: jsCannotRead("closeModal")).closeModal(
|
|
1497
|
+
JSArray<Any?>((args).toList())
|
|
1498
|
+
)
|
|
1499
|
+
}
|
|
1500
|
+
}
|
|
1501
|
+
}
|
|
1502
|
+
|
|
1503
|
+
fun _showNativeModalView__ViewCommon(parent: ViewCommon?, options: Any?) {
|
|
1504
|
+
Core_ui_core_view_view_common._rootModalViews.push(this)
|
|
1505
|
+
(this.cssClasses ?: jsCannotRead("add")).add(
|
|
1506
|
+
org.nativescript.kit.CSSUtils.MODAL_ROOT_VIEW_CSS_CLASS
|
|
1507
|
+
)
|
|
1508
|
+
val modalRootViewCssClasses: JSArray<String>? =
|
|
1509
|
+
org.nativescript.kit.CSSUtils.getSystemCssClasses()
|
|
1510
|
+
(modalRootViewCssClasses ?: jsCannotRead("forEach")).forEach({ c: Any? ->
|
|
1511
|
+
(this.cssClasses ?: jsCannotRead("add")).add(jsConvertedStringOrEmpty(c))
|
|
1512
|
+
})
|
|
1513
|
+
val host: ViewBase? =
|
|
1514
|
+
(parent ?: jsCannotRead("_getRootModalHost"))._getRootModalHost()
|
|
1515
|
+
if (jsTruthy(host)) {
|
|
1516
|
+
org.nativescript.kit.CSSUtils.WINDOW_SCOPED_CSS_CLASSES.forEach({ c: Any?
|
|
1517
|
+
->
|
|
1518
|
+
if (
|
|
1519
|
+
((host ?: jsCannotRead("cssClasses")).cssClasses ?: jsCannotRead("has")).has(
|
|
1520
|
+
jsConvertedStringOrEmpty(c)
|
|
1521
|
+
)
|
|
1522
|
+
) {
|
|
1523
|
+
(this.cssClasses ?: jsCannotRead("add")).add(
|
|
1524
|
+
jsConvertedStringOrEmpty(c)
|
|
1525
|
+
)
|
|
1526
|
+
}
|
|
1527
|
+
})
|
|
1528
|
+
}
|
|
1529
|
+
(parent ?: jsCannotSet("_modal"))._modal = this
|
|
1530
|
+
(this.style ?: jsCannotSet("fontScaleInternal")).fontScaleInternal =
|
|
1531
|
+
Core_accessibility_accessibility_common.getFontScale()
|
|
1532
|
+
this._modalParent = parent
|
|
1533
|
+
this._modalContext = jsGet(options, "context")
|
|
1534
|
+
this._modalOptions = options
|
|
1535
|
+
this._closeModalCallback = kotlin.run {
|
|
1536
|
+
val __f =
|
|
1537
|
+
fun(originalArgs: JSArray<Any?>) {
|
|
1538
|
+
val cleanupModalViews: () -> Unit = {
|
|
1539
|
+
val modalIndex: Double =
|
|
1540
|
+
Core_ui_core_view_view_common._rootModalViews.indexOf(this)
|
|
1541
|
+
if (modalIndex > -1.0) {
|
|
1542
|
+
Core_ui_core_view_view_common._rootModalViews.splice(
|
|
1543
|
+
modalIndex,
|
|
1544
|
+
1.0,
|
|
1545
|
+
)
|
|
1546
|
+
}
|
|
1547
|
+
this._modalParent = null
|
|
1548
|
+
this._modalContext = jsNull
|
|
1549
|
+
this._modalOptions = jsNull
|
|
1550
|
+
this._closeModalCallback = jsNull
|
|
1551
|
+
this._dialogClosed()
|
|
1552
|
+
(parent ?: jsCannotSet("_modal"))._modal = null
|
|
1553
|
+
}
|
|
1554
|
+
val whenClosedCallback: () -> Unit = {
|
|
1555
|
+
val transitionState: Any? =
|
|
1556
|
+
SharedTransition.getState((this.transitionId ?: Double.NaN))
|
|
1557
|
+
if (
|
|
1558
|
+
jsTruthy(
|
|
1559
|
+
jsConvertedBooleanOrNull(
|
|
1560
|
+
jsGetOptional(transitionState, "interactiveBegan")
|
|
1561
|
+
)
|
|
1562
|
+
)
|
|
1563
|
+
) {
|
|
1564
|
+
SharedTransition.updateState(
|
|
1565
|
+
(this.transitionId ?: Double.NaN),
|
|
1566
|
+
jsObjectOf("interactiveBegan" to false),
|
|
1567
|
+
)
|
|
1568
|
+
if (
|
|
1569
|
+
!jsTruthy(
|
|
1570
|
+
jsConvertedBooleanOrNull(
|
|
1571
|
+
jsGetOptional(transitionState, "interactiveCancelled")
|
|
1572
|
+
)
|
|
1573
|
+
)
|
|
1574
|
+
) {
|
|
1575
|
+
cleanupModalViews()
|
|
1576
|
+
}
|
|
1577
|
+
}
|
|
1578
|
+
if (
|
|
1579
|
+
!jsTruthy(
|
|
1580
|
+
jsConvertedBooleanOrNull(
|
|
1581
|
+
jsGetOptional(transitionState, "interactiveCancelled")
|
|
1582
|
+
)
|
|
1583
|
+
)
|
|
1584
|
+
) {
|
|
1585
|
+
if (
|
|
1586
|
+
jsTypeof(
|
|
1587
|
+
jsUnlessNullish(jsGet(options, "closeCallback")) {
|
|
1588
|
+
jsRestFunction1<JSArray<Any?>, Unit>(it)
|
|
1589
|
+
}
|
|
1590
|
+
) == "function"
|
|
1591
|
+
) {
|
|
1592
|
+
jsCallMethod(
|
|
1593
|
+
jsGet(options, "closeCallback"),
|
|
1594
|
+
"apply",
|
|
1595
|
+
null,
|
|
1596
|
+
originalArgs,
|
|
1597
|
+
)
|
|
1598
|
+
}
|
|
1599
|
+
this._tearDownUI(true)
|
|
1600
|
+
this.notify(
|
|
1601
|
+
EventData.fromJS(
|
|
1602
|
+
jsObjectOf(
|
|
1603
|
+
"eventName" to ViewCommon.closedModallyEvent,
|
|
1604
|
+
"object" to this,
|
|
1605
|
+
)
|
|
1606
|
+
)
|
|
1607
|
+
)
|
|
1608
|
+
}
|
|
1609
|
+
}
|
|
1610
|
+
val transitionState: Any? =
|
|
1611
|
+
SharedTransition.getState((this.transitionId ?: Double.NaN))
|
|
1612
|
+
if (
|
|
1613
|
+
!jsTruthy(
|
|
1614
|
+
jsConvertedBooleanOrNull(
|
|
1615
|
+
jsGetOptional(transitionState, "interactiveBegan")
|
|
1616
|
+
)
|
|
1617
|
+
)
|
|
1618
|
+
) {
|
|
1619
|
+
cleanupModalViews()
|
|
1620
|
+
}
|
|
1621
|
+
this._hideNativeModalView(parent, whenClosedCallback)
|
|
1622
|
+
}
|
|
1623
|
+
JSMethod { _, __a ->
|
|
1624
|
+
__f((JSArray<Any?>(__a.drop(0)) as JSArray<Any?>))
|
|
1625
|
+
null
|
|
1626
|
+
}
|
|
1627
|
+
}
|
|
1628
|
+
}
|
|
1629
|
+
|
|
1630
|
+
open fun _showNativeModalView(parent: ViewCommon?, options: Any?) {
|
|
1631
|
+
Core_ui_core_view_view_common._rootModalViews.push(this)
|
|
1632
|
+
(this.cssClasses ?: jsCannotRead("add")).add(
|
|
1633
|
+
org.nativescript.kit.CSSUtils.MODAL_ROOT_VIEW_CSS_CLASS
|
|
1634
|
+
)
|
|
1635
|
+
val modalRootViewCssClasses: JSArray<String>? =
|
|
1636
|
+
org.nativescript.kit.CSSUtils.getSystemCssClasses()
|
|
1637
|
+
(modalRootViewCssClasses ?: jsCannotRead("forEach")).forEach({ c: Any? ->
|
|
1638
|
+
(this.cssClasses ?: jsCannotRead("add")).add(jsConvertedStringOrEmpty(c))
|
|
1639
|
+
})
|
|
1640
|
+
val host: ViewBase? =
|
|
1641
|
+
(parent ?: jsCannotRead("_getRootModalHost"))._getRootModalHost()
|
|
1642
|
+
if (jsTruthy(host)) {
|
|
1643
|
+
org.nativescript.kit.CSSUtils.WINDOW_SCOPED_CSS_CLASSES.forEach({ c: Any?
|
|
1644
|
+
->
|
|
1645
|
+
if (
|
|
1646
|
+
((host ?: jsCannotRead("cssClasses")).cssClasses ?: jsCannotRead("has")).has(
|
|
1647
|
+
jsConvertedStringOrEmpty(c)
|
|
1648
|
+
)
|
|
1649
|
+
) {
|
|
1650
|
+
(this.cssClasses ?: jsCannotRead("add")).add(
|
|
1651
|
+
jsConvertedStringOrEmpty(c)
|
|
1652
|
+
)
|
|
1653
|
+
}
|
|
1654
|
+
})
|
|
1655
|
+
}
|
|
1656
|
+
(parent ?: jsCannotSet("_modal"))._modal = this
|
|
1657
|
+
(this.style ?: jsCannotSet("fontScaleInternal")).fontScaleInternal =
|
|
1658
|
+
Core_accessibility_accessibility_common.getFontScale()
|
|
1659
|
+
this._modalParent = parent
|
|
1660
|
+
this._modalContext = jsGet(options, "context")
|
|
1661
|
+
this._modalOptions = options
|
|
1662
|
+
this._closeModalCallback = kotlin.run {
|
|
1663
|
+
val __f =
|
|
1664
|
+
fun(originalArgs: JSArray<Any?>) {
|
|
1665
|
+
val cleanupModalViews: () -> Unit = {
|
|
1666
|
+
val modalIndex: Double =
|
|
1667
|
+
Core_ui_core_view_view_common._rootModalViews.indexOf(this)
|
|
1668
|
+
if (modalIndex > -1.0) {
|
|
1669
|
+
Core_ui_core_view_view_common._rootModalViews.splice(
|
|
1670
|
+
modalIndex,
|
|
1671
|
+
1.0,
|
|
1672
|
+
)
|
|
1673
|
+
}
|
|
1674
|
+
this._modalParent = null
|
|
1675
|
+
this._modalContext = jsNull
|
|
1676
|
+
this._modalOptions = jsNull
|
|
1677
|
+
this._closeModalCallback = jsNull
|
|
1678
|
+
this._dialogClosed()
|
|
1679
|
+
(parent ?: jsCannotSet("_modal"))._modal = null
|
|
1680
|
+
}
|
|
1681
|
+
val whenClosedCallback: () -> Unit = {
|
|
1682
|
+
val transitionState: Any? =
|
|
1683
|
+
SharedTransition.getState((this.transitionId ?: Double.NaN))
|
|
1684
|
+
if (
|
|
1685
|
+
jsTruthy(
|
|
1686
|
+
jsConvertedBooleanOrNull(
|
|
1687
|
+
jsGetOptional(transitionState, "interactiveBegan")
|
|
1688
|
+
)
|
|
1689
|
+
)
|
|
1690
|
+
) {
|
|
1691
|
+
SharedTransition.updateState(
|
|
1692
|
+
(this.transitionId ?: Double.NaN),
|
|
1693
|
+
jsObjectOf("interactiveBegan" to false),
|
|
1694
|
+
)
|
|
1695
|
+
if (
|
|
1696
|
+
!jsTruthy(
|
|
1697
|
+
jsConvertedBooleanOrNull(
|
|
1698
|
+
jsGetOptional(transitionState, "interactiveCancelled")
|
|
1699
|
+
)
|
|
1700
|
+
)
|
|
1701
|
+
) {
|
|
1702
|
+
cleanupModalViews()
|
|
1703
|
+
}
|
|
1704
|
+
}
|
|
1705
|
+
if (
|
|
1706
|
+
!jsTruthy(
|
|
1707
|
+
jsConvertedBooleanOrNull(
|
|
1708
|
+
jsGetOptional(transitionState, "interactiveCancelled")
|
|
1709
|
+
)
|
|
1710
|
+
)
|
|
1711
|
+
) {
|
|
1712
|
+
if (
|
|
1713
|
+
jsTypeof(
|
|
1714
|
+
jsUnlessNullish(jsGet(options, "closeCallback")) {
|
|
1715
|
+
jsRestFunction1<JSArray<Any?>, Unit>(it)
|
|
1716
|
+
}
|
|
1717
|
+
) == "function"
|
|
1718
|
+
) {
|
|
1719
|
+
jsCallMethod(
|
|
1720
|
+
jsGet(options, "closeCallback"),
|
|
1721
|
+
"apply",
|
|
1722
|
+
null,
|
|
1723
|
+
originalArgs,
|
|
1724
|
+
)
|
|
1725
|
+
}
|
|
1726
|
+
this._tearDownUI(true)
|
|
1727
|
+
this.notify(
|
|
1728
|
+
EventData.fromJS(
|
|
1729
|
+
jsObjectOf(
|
|
1730
|
+
"eventName" to ViewCommon.closedModallyEvent,
|
|
1731
|
+
"object" to this,
|
|
1732
|
+
)
|
|
1733
|
+
)
|
|
1734
|
+
)
|
|
1735
|
+
}
|
|
1736
|
+
}
|
|
1737
|
+
val transitionState: Any? =
|
|
1738
|
+
SharedTransition.getState((this.transitionId ?: Double.NaN))
|
|
1739
|
+
if (
|
|
1740
|
+
!jsTruthy(
|
|
1741
|
+
jsConvertedBooleanOrNull(
|
|
1742
|
+
jsGetOptional(transitionState, "interactiveBegan")
|
|
1743
|
+
)
|
|
1744
|
+
)
|
|
1745
|
+
) {
|
|
1746
|
+
cleanupModalViews()
|
|
1747
|
+
}
|
|
1748
|
+
this._hideNativeModalView(parent, whenClosedCallback)
|
|
1749
|
+
}
|
|
1750
|
+
JSMethod { _, __a ->
|
|
1751
|
+
__f((JSArray<Any?>(__a.drop(0)) as JSArray<Any?>))
|
|
1752
|
+
null
|
|
1753
|
+
}
|
|
1754
|
+
}
|
|
1755
|
+
}
|
|
1756
|
+
|
|
1757
|
+
fun _hideNativeModalView__ViewCommon(parent: ViewCommon?, whenClosedCallback: () -> Unit) {}
|
|
1758
|
+
|
|
1759
|
+
open fun _hideNativeModalView(parent: ViewCommon?, whenClosedCallback: () -> Unit) {}
|
|
1760
|
+
|
|
1761
|
+
open fun _raiseLayoutChangedEvent() {
|
|
1762
|
+
val args: EventData =
|
|
1763
|
+
EventData.fromJS(
|
|
1764
|
+
jsObjectOf("eventName" to ViewCommon.layoutChangedEvent, "object" to this)
|
|
1765
|
+
)
|
|
1766
|
+
this.notify(args)
|
|
1767
|
+
}
|
|
1768
|
+
|
|
1769
|
+
open fun _raiseShownModallyEvent() {
|
|
1770
|
+
val args: Any? =
|
|
1771
|
+
jsObjectOf(
|
|
1772
|
+
"eventName" to ViewCommon.shownModallyEvent,
|
|
1773
|
+
"object" to this,
|
|
1774
|
+
"context" to this._modalContext,
|
|
1775
|
+
"closeCallback" to this._closeModalCallback,
|
|
1776
|
+
)
|
|
1777
|
+
this.notify(args)
|
|
1778
|
+
}
|
|
1779
|
+
|
|
1780
|
+
open fun _raiseShowingModallyEvent() {
|
|
1781
|
+
val args: Any? =
|
|
1782
|
+
jsObjectOf(
|
|
1783
|
+
"eventName" to ViewCommon.showingModallyEvent,
|
|
1784
|
+
"object" to this,
|
|
1785
|
+
"context" to this._modalContext,
|
|
1786
|
+
"closeCallback" to this._closeModalCallback,
|
|
1787
|
+
)
|
|
1788
|
+
this.notify(args)
|
|
1789
|
+
}
|
|
1790
|
+
|
|
1791
|
+
open fun _isEvent(name: String?): Boolean {
|
|
1792
|
+
return jsConvertedBooleanOrFalse(
|
|
1793
|
+
kotlin.run {
|
|
1794
|
+
val __v_1 = this.javaClass
|
|
1795
|
+
if (jsTruthy(__v_1))
|
|
1796
|
+
jsHasKey(this.javaClass, "${jsToString((name ?: "undefined"))}Event")
|
|
1797
|
+
else jsConvertedBooleanOrFalse(__v_1)
|
|
1798
|
+
}
|
|
1799
|
+
)
|
|
1800
|
+
}
|
|
1801
|
+
|
|
1802
|
+
open fun _disconnectGestureObservers(
|
|
1803
|
+
type: Double,
|
|
1804
|
+
callback: ((EventData) -> Unit)? = null,
|
|
1805
|
+
thisArg: Any? = null,
|
|
1806
|
+
) {
|
|
1807
|
+
val observers: JSArray<GesturesObserver>? = this.getGestureObservers(type)
|
|
1808
|
+
if (!jsTruthy(observers)) {
|
|
1809
|
+
return
|
|
1810
|
+
}
|
|
1811
|
+
var i: Double = 0.0
|
|
1812
|
+
var __first1 = true
|
|
1813
|
+
while (true) {
|
|
1814
|
+
if (!__first1) {
|
|
1815
|
+
i += 1.0
|
|
1816
|
+
}
|
|
1817
|
+
__first1 = false
|
|
1818
|
+
if (!(i < (observers ?: jsCannotRead("length")).length)) break
|
|
1819
|
+
kotlin.run {
|
|
1820
|
+
val observer: GesturesObserver? =
|
|
1821
|
+
(observers ?: jsCannotRead(js(i))).element(i)
|
|
1822
|
+
if (
|
|
1823
|
+
(jsTruthy(thisArg) &&
|
|
1824
|
+
(!jsStrictEquals(
|
|
1825
|
+
(observer ?: jsCannotRead("callback")).callback,
|
|
1826
|
+
callback,
|
|
1827
|
+
) ||
|
|
1828
|
+
!jsStrictEquals(
|
|
1829
|
+
(observer ?: jsCannotRead("context")).context,
|
|
1830
|
+
thisArg,
|
|
1831
|
+
)))
|
|
1832
|
+
) {
|
|
1833
|
+
continue
|
|
1834
|
+
}
|
|
1835
|
+
if (
|
|
1836
|
+
(jsTruthy(callback) &&
|
|
1837
|
+
!jsStrictEquals((observer ?: jsCannotRead("callback")).callback, callback))
|
|
1838
|
+
) {
|
|
1839
|
+
continue
|
|
1840
|
+
}
|
|
1841
|
+
(observer ?: jsCannotRead("disconnect")).disconnect()
|
|
1842
|
+
(observers ?: jsCannotRead("splice")).splice(i, 1.0)
|
|
1843
|
+
i -= 1.0
|
|
1844
|
+
}
|
|
1845
|
+
}
|
|
1846
|
+
if (!jsTruthy((observers ?: jsCannotRead("length")).length)) {
|
|
1847
|
+
jsDelete(this._gestureObservers, js(type))
|
|
1848
|
+
}
|
|
1849
|
+
}
|
|
1850
|
+
|
|
1851
|
+
/** (Android only) Gets closest window parent considering modals. */
|
|
1852
|
+
fun getClosestWindow__ViewCommon(): Window? {
|
|
1853
|
+
return null
|
|
1854
|
+
}
|
|
1855
|
+
|
|
1856
|
+
/** (Android only) Gets closest window parent considering modals. */
|
|
1857
|
+
open fun getClosestWindow(): Window? {
|
|
1858
|
+
return null
|
|
1859
|
+
}
|
|
1860
|
+
|
|
1861
|
+
fun updateStatusBarStyle__ViewCommon(value: String?) {}
|
|
1862
|
+
|
|
1863
|
+
open fun updateStatusBarStyle(value: String?) {}
|
|
1864
|
+
|
|
1865
|
+
fun measure__ViewCommon(widthMeasureSpec: Double, heightMeasureSpec: Double) {
|
|
1866
|
+
this._setCurrentMeasureSpecs(widthMeasureSpec, heightMeasureSpec)
|
|
1867
|
+
}
|
|
1868
|
+
|
|
1869
|
+
open fun measure(widthMeasureSpec: Double, heightMeasureSpec: Double) {
|
|
1870
|
+
this._setCurrentMeasureSpecs(widthMeasureSpec, heightMeasureSpec)
|
|
1871
|
+
}
|
|
1872
|
+
|
|
1873
|
+
fun layout__ViewCommon(left: Double, top: Double, right: Double, bottom: Double) {
|
|
1874
|
+
this._setCurrentLayoutBounds(left, top, right, bottom)
|
|
1875
|
+
}
|
|
1876
|
+
|
|
1877
|
+
open fun layout(left: Double, top: Double, right: Double, bottom: Double) {
|
|
1878
|
+
this._setCurrentLayoutBounds(left, top, right, bottom)
|
|
1879
|
+
}
|
|
1880
|
+
|
|
1881
|
+
fun getMeasuredWidth__ViewCommon(): Double {
|
|
1882
|
+
return kotlin.run {
|
|
1883
|
+
val __v_1 =
|
|
1884
|
+
jsBitAnd(
|
|
1885
|
+
(this._measuredWidth ?: Double.NaN),
|
|
1886
|
+
org.nativescript.kit.layout.MEASURED_SIZE_MASK,
|
|
1887
|
+
)
|
|
1888
|
+
if (jsTruthy(__v_1)) __v_1 else 0.0
|
|
1889
|
+
}
|
|
1890
|
+
}
|
|
1891
|
+
|
|
1892
|
+
open fun getMeasuredWidth(): Double {
|
|
1893
|
+
return kotlin.run {
|
|
1894
|
+
val __v_1 =
|
|
1895
|
+
jsBitAnd(
|
|
1896
|
+
(this._measuredWidth ?: Double.NaN),
|
|
1897
|
+
org.nativescript.kit.layout.MEASURED_SIZE_MASK,
|
|
1898
|
+
)
|
|
1899
|
+
if (jsTruthy(__v_1)) __v_1 else 0.0
|
|
1900
|
+
}
|
|
1901
|
+
}
|
|
1902
|
+
|
|
1903
|
+
fun getMeasuredHeight__ViewCommon(): Double {
|
|
1904
|
+
return kotlin.run {
|
|
1905
|
+
val __v_1 =
|
|
1906
|
+
jsBitAnd(
|
|
1907
|
+
(this._measuredHeight ?: Double.NaN),
|
|
1908
|
+
org.nativescript.kit.layout.MEASURED_SIZE_MASK,
|
|
1909
|
+
)
|
|
1910
|
+
if (jsTruthy(__v_1)) __v_1 else 0.0
|
|
1911
|
+
}
|
|
1912
|
+
}
|
|
1913
|
+
|
|
1914
|
+
open fun getMeasuredHeight(): Double {
|
|
1915
|
+
return kotlin.run {
|
|
1916
|
+
val __v_1 =
|
|
1917
|
+
jsBitAnd(
|
|
1918
|
+
(this._measuredHeight ?: Double.NaN),
|
|
1919
|
+
org.nativescript.kit.layout.MEASURED_SIZE_MASK,
|
|
1920
|
+
)
|
|
1921
|
+
if (jsTruthy(__v_1)) __v_1 else 0.0
|
|
1922
|
+
}
|
|
1923
|
+
}
|
|
1924
|
+
|
|
1925
|
+
open fun getMeasuredState(): Double {
|
|
1926
|
+
return jsBitOr(
|
|
1927
|
+
(jsBitAnd(
|
|
1928
|
+
(this._measuredWidth ?: Double.NaN),
|
|
1929
|
+
org.nativescript.kit.layout.MEASURED_STATE_MASK,
|
|
1930
|
+
)),
|
|
1931
|
+
(jsBitAnd(
|
|
1932
|
+
(jsShiftRight(
|
|
1933
|
+
(this._measuredHeight ?: Double.NaN),
|
|
1934
|
+
org.nativescript.kit.layout.MEASURED_HEIGHT_STATE_SHIFT,
|
|
1935
|
+
)),
|
|
1936
|
+
(jsShiftRight(
|
|
1937
|
+
org.nativescript.kit.layout.MEASURED_STATE_MASK,
|
|
1938
|
+
org.nativescript.kit.layout.MEASURED_HEIGHT_STATE_SHIFT,
|
|
1939
|
+
)),
|
|
1940
|
+
)),
|
|
1941
|
+
)
|
|
1942
|
+
}
|
|
1943
|
+
|
|
1944
|
+
open fun setMeasuredDimension(measuredWidth: Double, measuredHeight: Double) {
|
|
1945
|
+
this._measuredWidth = measuredWidth
|
|
1946
|
+
this._measuredHeight = measuredHeight
|
|
1947
|
+
if (org.nativescript.kit.Trace.isEnabled()) {
|
|
1948
|
+
org.nativescript.kit.Trace.write(
|
|
1949
|
+
jsToStringDefaultThrowing(this) +
|
|
1950
|
+
" :setMeasuredDimension: " +
|
|
1951
|
+
js(measuredWidth) +
|
|
1952
|
+
", " +
|
|
1953
|
+
js(measuredHeight),
|
|
1954
|
+
org.nativescript.kit.Trace.categories.Layout,
|
|
1955
|
+
)
|
|
1956
|
+
}
|
|
1957
|
+
}
|
|
1958
|
+
|
|
1959
|
+
abstract fun onMeasure(widthMeasureSpec: Double, heightMeasureSpec: Double)
|
|
1960
|
+
|
|
1961
|
+
abstract fun onLayout(left: Double, top: Double, right: Double, bottom: Double)
|
|
1962
|
+
|
|
1963
|
+
abstract fun layoutNativeView(left: Double, top: Double, right: Double, bottom: Double)
|
|
1964
|
+
|
|
1965
|
+
open fun _setCurrentMeasureSpecs(widthMeasureSpec: Double, heightMeasureSpec: Double): Boolean {
|
|
1966
|
+
val changed: Boolean =
|
|
1967
|
+
this._currentWidthMeasureSpec != widthMeasureSpec ||
|
|
1968
|
+
this._currentHeightMeasureSpec != heightMeasureSpec
|
|
1969
|
+
this._currentWidthMeasureSpec = widthMeasureSpec
|
|
1970
|
+
this._currentHeightMeasureSpec = heightMeasureSpec
|
|
1971
|
+
return changed
|
|
1972
|
+
}
|
|
1973
|
+
|
|
1974
|
+
fun _getCurrentLayoutBounds__ViewCommon(): Position? {
|
|
1975
|
+
return Position(
|
|
1976
|
+
top = 0.0,
|
|
1977
|
+
right = 0.0,
|
|
1978
|
+
bottom = 0.0,
|
|
1979
|
+
left = 0.0,
|
|
1980
|
+
jsOrder = listOf("left", "top", "right", "bottom"),
|
|
1981
|
+
)
|
|
1982
|
+
}
|
|
1983
|
+
|
|
1984
|
+
open fun _getCurrentLayoutBounds(): Position? {
|
|
1985
|
+
return Position(
|
|
1986
|
+
top = 0.0,
|
|
1987
|
+
right = 0.0,
|
|
1988
|
+
bottom = 0.0,
|
|
1989
|
+
left = 0.0,
|
|
1990
|
+
jsOrder = listOf("left", "top", "right", "bottom"),
|
|
1991
|
+
)
|
|
1992
|
+
}
|
|
1993
|
+
|
|
1994
|
+
/** Returns two booleans - the first if "boundsChanged" the second is "sizeChanged". */
|
|
1995
|
+
open fun _setCurrentLayoutBounds(
|
|
1996
|
+
left: Double,
|
|
1997
|
+
top: Double,
|
|
1998
|
+
right: Double,
|
|
1999
|
+
bottom: Double,
|
|
2000
|
+
): Any? {
|
|
2001
|
+
val boundsChanged: Boolean =
|
|
2002
|
+
this._oldLeft != left ||
|
|
2003
|
+
this._oldTop != top ||
|
|
2004
|
+
this._oldRight != right ||
|
|
2005
|
+
this._oldBottom != bottom
|
|
2006
|
+
val sizeChanged: Boolean =
|
|
2007
|
+
(this._oldRight ?: Double.NaN) - (this._oldLeft ?: Double.NaN) != right - left ||
|
|
2008
|
+
(this._oldBottom ?: Double.NaN) - (this._oldTop ?: Double.NaN) != bottom - top
|
|
2009
|
+
this._oldLeft = left
|
|
2010
|
+
this._oldTop = top
|
|
2011
|
+
this._oldRight = right
|
|
2012
|
+
this._oldBottom = bottom
|
|
2013
|
+
return jsObjectOf(
|
|
2014
|
+
"boundsChanged" to boundsChanged,
|
|
2015
|
+
"sizeChanged" to sizeChanged,
|
|
2016
|
+
)
|
|
2017
|
+
}
|
|
2018
|
+
|
|
2019
|
+
fun eachChild__ViewCommon(callback: (ViewBase) -> Boolean) {
|
|
2020
|
+
this.eachChildView(jsFunction1<ViewCommon, Boolean>(callback))
|
|
2021
|
+
}
|
|
2022
|
+
|
|
2023
|
+
override fun eachChild(callback: (ViewBase) -> Boolean) {
|
|
2024
|
+
this.eachChildView(jsFunction1<ViewCommon, Boolean>(callback))
|
|
2025
|
+
}
|
|
2026
|
+
|
|
2027
|
+
fun eachChildView__ViewCommon(callback: (ViewCommon) -> Boolean) {}
|
|
2028
|
+
|
|
2029
|
+
open fun eachChildView(callback: (ViewCommon) -> Boolean) {}
|
|
2030
|
+
|
|
2031
|
+
fun _getNativeViewsCount__ViewCommon(): Double {
|
|
2032
|
+
return (if (jsTruthy(this._isAddedToNativeVisualTree)) 1.0 else 0.0)
|
|
2033
|
+
}
|
|
2034
|
+
|
|
2035
|
+
open fun _getNativeViewsCount(): Double {
|
|
2036
|
+
return (if (jsTruthy(this._isAddedToNativeVisualTree)) 1.0 else 0.0)
|
|
2037
|
+
}
|
|
2038
|
+
|
|
2039
|
+
fun _eachLayoutView__ViewCommon(callback: (Any?) -> Unit) {
|
|
2040
|
+
callback(this)
|
|
2041
|
+
return
|
|
2042
|
+
}
|
|
2043
|
+
|
|
2044
|
+
open fun _eachLayoutView(callback: (Any?) -> Unit) {
|
|
2045
|
+
callback(this)
|
|
2046
|
+
return
|
|
2047
|
+
}
|
|
2048
|
+
|
|
2049
|
+
fun focus__ViewCommon(): Boolean {
|
|
2050
|
+
return false
|
|
2051
|
+
}
|
|
2052
|
+
|
|
2053
|
+
open fun focus(): Boolean {
|
|
2054
|
+
return false
|
|
2055
|
+
}
|
|
2056
|
+
|
|
2057
|
+
open fun getSafeAreaInsets(): Position? {
|
|
2058
|
+
return Position(
|
|
2059
|
+
top = 0.0,
|
|
2060
|
+
right = 0.0,
|
|
2061
|
+
bottom = 0.0,
|
|
2062
|
+
left = 0.0,
|
|
2063
|
+
jsOrder = listOf("left", "top", "right", "bottom"),
|
|
2064
|
+
)
|
|
2065
|
+
}
|
|
2066
|
+
|
|
2067
|
+
fun getLocationInWindow__ViewCommon(): Point? {
|
|
2068
|
+
return null
|
|
2069
|
+
}
|
|
2070
|
+
|
|
2071
|
+
open fun getLocationInWindow(): Point? {
|
|
2072
|
+
return null
|
|
2073
|
+
}
|
|
2074
|
+
|
|
2075
|
+
fun getLocationOnScreen__ViewCommon(): Point? {
|
|
2076
|
+
return null
|
|
2077
|
+
}
|
|
2078
|
+
|
|
2079
|
+
open fun getLocationOnScreen(): Point? {
|
|
2080
|
+
return null
|
|
2081
|
+
}
|
|
2082
|
+
|
|
2083
|
+
fun getLocationRelativeTo__ViewCommon(otherView: ViewCommon?): Point? {
|
|
2084
|
+
return null
|
|
2085
|
+
}
|
|
2086
|
+
|
|
2087
|
+
open fun getLocationRelativeTo(otherView: ViewCommon?): Point? {
|
|
2088
|
+
return null
|
|
2089
|
+
}
|
|
2090
|
+
|
|
2091
|
+
open fun getActualSize(): Size? {
|
|
2092
|
+
val currentBounds: Position? = this._getCurrentLayoutBounds()
|
|
2093
|
+
if (!jsTruthy(currentBounds)) {
|
|
2094
|
+
return null
|
|
2095
|
+
}
|
|
2096
|
+
return Size(
|
|
2097
|
+
width =
|
|
2098
|
+
org.nativescript.kit.layout.toDeviceIndependentPixels(
|
|
2099
|
+
(currentBounds ?: jsCannotRead("right")).right -
|
|
2100
|
+
(currentBounds ?: jsCannotRead("left")).left
|
|
2101
|
+
),
|
|
2102
|
+
height =
|
|
2103
|
+
org.nativescript.kit.layout.toDeviceIndependentPixels(
|
|
2104
|
+
(currentBounds ?: jsCannotRead("bottom")).bottom -
|
|
2105
|
+
(currentBounds ?: jsCannotRead("top")).top
|
|
2106
|
+
),
|
|
2107
|
+
)
|
|
2108
|
+
}
|
|
2109
|
+
|
|
2110
|
+
open fun animate(animation: Any?): JSPromise<Unit>? {
|
|
2111
|
+
val animationInstance: Animation? = this.createAnimation(animation)
|
|
2112
|
+
val promise: JSPromise<Unit>? =
|
|
2113
|
+
(animationInstance ?: jsCannotRead("play")).play()
|
|
2114
|
+
jsSet(
|
|
2115
|
+
((promise ?: jsObjectRequired())),
|
|
2116
|
+
"cancel",
|
|
2117
|
+
{
|
|
2118
|
+
(animationInstance ?: jsCannotRead("cancel")).cancel()
|
|
2119
|
+
},
|
|
2120
|
+
)
|
|
2121
|
+
return (promise ?: jsObjectRequired())
|
|
2122
|
+
}
|
|
2123
|
+
|
|
2124
|
+
open fun createAnimation(animation: Any?): Animation? {
|
|
2125
|
+
if (!jsTruthy(this._localAnimations)) {
|
|
2126
|
+
this._localAnimations = JSSet<Animation>()
|
|
2127
|
+
}
|
|
2128
|
+
jsSet(animation, "target", this)
|
|
2129
|
+
val anim: Animation = Animation(jsArrayOf<Any?>(animation))
|
|
2130
|
+
(this._localAnimations ?: jsCannotRead("add")).add(anim)
|
|
2131
|
+
return anim
|
|
2132
|
+
}
|
|
2133
|
+
|
|
2134
|
+
open fun _removeAnimation(animation: Animation?): Boolean {
|
|
2135
|
+
val localAnimations: JSSet<Animation>? = this._localAnimations
|
|
2136
|
+
if (
|
|
2137
|
+
(jsTruthy(localAnimations) &&
|
|
2138
|
+
(localAnimations ?: jsCannotRead("has")).has(jsUnchecked<Animation>(animation)))
|
|
2139
|
+
) {
|
|
2140
|
+
(localAnimations ?: jsCannotRead("delete")).delete(
|
|
2141
|
+
jsUnchecked<Animation>(animation)
|
|
2142
|
+
)
|
|
2143
|
+
if ((animation ?: jsCannotRead("isPlaying")).isPlaying) {
|
|
2144
|
+
(animation ?: jsCannotRead("cancel")).cancel()
|
|
2145
|
+
}
|
|
2146
|
+
return true
|
|
2147
|
+
}
|
|
2148
|
+
return false
|
|
2149
|
+
}
|
|
2150
|
+
|
|
2151
|
+
fun resetNativeView__ViewCommon() {
|
|
2152
|
+
if (jsTruthy(this._localAnimations)) {
|
|
2153
|
+
(this._localAnimations ?: jsCannotRead("forEach")).forEach({
|
|
2154
|
+
a: Animation?,
|
|
2155
|
+
_: Animation? ->
|
|
2156
|
+
this._removeAnimation(a)
|
|
2157
|
+
})
|
|
2158
|
+
}
|
|
2159
|
+
super.resetNativeView()
|
|
2160
|
+
}
|
|
2161
|
+
|
|
2162
|
+
override fun resetNativeView() {
|
|
2163
|
+
if (jsTruthy(this._localAnimations)) {
|
|
2164
|
+
(this._localAnimations ?: jsCannotRead("forEach")).forEach({
|
|
2165
|
+
a: Animation?,
|
|
2166
|
+
_: Animation? ->
|
|
2167
|
+
this._removeAnimation(a)
|
|
2168
|
+
})
|
|
2169
|
+
}
|
|
2170
|
+
super.resetNativeView()
|
|
2171
|
+
}
|
|
2172
|
+
|
|
2173
|
+
open fun _modifyNativeViewFrame(nativeView: Any?, frame: Any?) {}
|
|
2174
|
+
|
|
2175
|
+
open fun _setNativeViewFrame(nativeView: Any?, frame: Any?) {}
|
|
2176
|
+
|
|
2177
|
+
open fun _getValue(): Nothing {
|
|
2178
|
+
throw JSException(
|
|
2179
|
+
JSError("The View._getValue is obsolete. There is a new property system.")
|
|
2180
|
+
)
|
|
2181
|
+
}
|
|
2182
|
+
|
|
2183
|
+
open fun _setValue(): Nothing {
|
|
2184
|
+
throw JSException(
|
|
2185
|
+
JSError("The View._setValue is obsolete. There is a new property system.")
|
|
2186
|
+
)
|
|
2187
|
+
}
|
|
2188
|
+
|
|
2189
|
+
open fun _updateEffectiveLayoutValues(
|
|
2190
|
+
parentWidthMeasureSize: Double,
|
|
2191
|
+
parentWidthMeasureMode: Double,
|
|
2192
|
+
parentHeightMeasureSize: Double,
|
|
2193
|
+
parentHeightMeasureMode: Double,
|
|
2194
|
+
) {
|
|
2195
|
+
val style: Style? = this.style
|
|
2196
|
+
val availableWidth: Double =
|
|
2197
|
+
(if (parentWidthMeasureMode == org.nativescript.kit.layout.UNSPECIFIED) -1.0
|
|
2198
|
+
else parentWidthMeasureSize)
|
|
2199
|
+
this.effectiveWidth =
|
|
2200
|
+
org.nativescript.kit.PercentLength.toDevicePixels(
|
|
2201
|
+
(style ?: jsCannotRead("width")).width,
|
|
2202
|
+
-2.0,
|
|
2203
|
+
availableWidth,
|
|
2204
|
+
)
|
|
2205
|
+
this.effectiveMaxWidth =
|
|
2206
|
+
Core_ui_core_view_view_common.resolveEffectiveMax(
|
|
2207
|
+
(style ?: jsCannotRead("maxWidth")).maxWidth,
|
|
2208
|
+
availableWidth,
|
|
2209
|
+
)
|
|
2210
|
+
this.effectiveMarginLeft =
|
|
2211
|
+
org.nativescript.kit.PercentLength.toDevicePixels(
|
|
2212
|
+
(style ?: jsCannotRead("marginLeft")).marginLeft,
|
|
2213
|
+
0.0,
|
|
2214
|
+
availableWidth,
|
|
2215
|
+
)
|
|
2216
|
+
this.effectiveMarginRight =
|
|
2217
|
+
org.nativescript.kit.PercentLength.toDevicePixels(
|
|
2218
|
+
(style ?: jsCannotRead("marginRight")).marginRight,
|
|
2219
|
+
0.0,
|
|
2220
|
+
availableWidth,
|
|
2221
|
+
)
|
|
2222
|
+
val availableHeight: Double =
|
|
2223
|
+
(if (parentHeightMeasureMode == org.nativescript.kit.layout.UNSPECIFIED) -1.0
|
|
2224
|
+
else parentHeightMeasureSize)
|
|
2225
|
+
this.effectiveHeight =
|
|
2226
|
+
org.nativescript.kit.PercentLength.toDevicePixels(
|
|
2227
|
+
(style ?: jsCannotRead("height")).height,
|
|
2228
|
+
-2.0,
|
|
2229
|
+
availableHeight,
|
|
2230
|
+
)
|
|
2231
|
+
this.effectiveMaxHeight =
|
|
2232
|
+
Core_ui_core_view_view_common.resolveEffectiveMax(
|
|
2233
|
+
(style ?: jsCannotRead("maxHeight")).maxHeight,
|
|
2234
|
+
availableHeight,
|
|
2235
|
+
)
|
|
2236
|
+
this.effectiveMarginTop =
|
|
2237
|
+
org.nativescript.kit.PercentLength.toDevicePixels(
|
|
2238
|
+
(style ?: jsCannotRead("marginTop")).marginTop,
|
|
2239
|
+
0.0,
|
|
2240
|
+
availableHeight,
|
|
2241
|
+
)
|
|
2242
|
+
this.effectiveMarginBottom =
|
|
2243
|
+
org.nativescript.kit.PercentLength.toDevicePixels(
|
|
2244
|
+
(style ?: jsCannotRead("marginBottom")).marginBottom,
|
|
2245
|
+
0.0,
|
|
2246
|
+
availableHeight,
|
|
2247
|
+
)
|
|
2248
|
+
}
|
|
2249
|
+
|
|
2250
|
+
open fun _setNativeClipToBounds() {}
|
|
2251
|
+
|
|
2252
|
+
fun _redrawNativeBackground__ViewCommon(value: Any?) {}
|
|
2253
|
+
|
|
2254
|
+
open fun _redrawNativeBackground(value: Any?) {}
|
|
2255
|
+
|
|
2256
|
+
fun _applyBackground__ViewCommon(
|
|
2257
|
+
background: Any?,
|
|
2258
|
+
isBorderDrawable: Boolean,
|
|
2259
|
+
onlyColor: Boolean,
|
|
2260
|
+
backgroundDrawable: Drawable?,
|
|
2261
|
+
) {}
|
|
2262
|
+
|
|
2263
|
+
open fun _applyBackground(
|
|
2264
|
+
background: Any?,
|
|
2265
|
+
isBorderDrawable: Boolean,
|
|
2266
|
+
onlyColor: Boolean,
|
|
2267
|
+
backgroundDrawable: Drawable?,
|
|
2268
|
+
) {}
|
|
2269
|
+
|
|
2270
|
+
fun _onAttachedToWindow__ViewCommon() {}
|
|
2271
|
+
|
|
2272
|
+
open fun _onAttachedToWindow() {}
|
|
2273
|
+
|
|
2274
|
+
fun _onDetachedFromWindow__ViewCommon() {}
|
|
2275
|
+
|
|
2276
|
+
open fun _onDetachedFromWindow() {}
|
|
2277
|
+
|
|
2278
|
+
open fun _hasAncestorView(ancestorView: ViewCommon?): Boolean {
|
|
2279
|
+
val matcher: (ViewCommon?) -> Boolean = { view: ViewCommon? ->
|
|
2280
|
+
view === ancestorView
|
|
2281
|
+
}
|
|
2282
|
+
var parent: ViewBase? = this.parent
|
|
2283
|
+
while (parent != null) {
|
|
2284
|
+
if (matcher(((parent ?: jsObjectRequired()) as? ViewCommon))) {
|
|
2285
|
+
return true
|
|
2286
|
+
}
|
|
2287
|
+
parent = (parent ?: jsCannotRead("parent")).parent
|
|
2288
|
+
}
|
|
2289
|
+
return false
|
|
2290
|
+
}
|
|
2291
|
+
|
|
2292
|
+
/**
|
|
2293
|
+
* Shared helper method for applying glass effects to views. This method can be used by View and
|
|
2294
|
+
* its subclasses (LiquidGlass, LiquidGlassContainer, etc.) iOS only at the moment but could be
|
|
2295
|
+
* applied to others once supported in other platforms.
|
|
2296
|
+
*
|
|
2297
|
+
* @param value - The glass effect configuration
|
|
2298
|
+
* @param options - Configuration options for different glass effect behaviors
|
|
2299
|
+
* @param options.effectType - Type of effect to create: 'glass' | 'container'
|
|
2300
|
+
* @param options.targetView - The UIVisualEffectView to apply the effect to (if updating
|
|
2301
|
+
* existing view)
|
|
2302
|
+
* @param options.toGlassStyleFn - Custom function to convert variant to UIGlassEffectStyle
|
|
2303
|
+
* @param options.onCreate - Callback when a new effect view is created (for initial setup)
|
|
2304
|
+
* @param options.onUpdate - Callback when an existing effect view is updated
|
|
2305
|
+
*/
|
|
2306
|
+
open fun _applyGlassEffect(value: Any?, options: Any?): Any? {
|
|
2307
|
+
return null
|
|
2308
|
+
}
|
|
2309
|
+
|
|
2310
|
+
open fun sendAccessibilityEvent(options: Any?) {
|
|
2311
|
+
return
|
|
2312
|
+
}
|
|
2313
|
+
|
|
2314
|
+
fun accessibilityAnnouncement__ViewCommon(msg: String? = null) {
|
|
2315
|
+
return
|
|
2316
|
+
}
|
|
2317
|
+
|
|
2318
|
+
open fun accessibilityAnnouncement(msg: String? = null) {
|
|
2319
|
+
return
|
|
2320
|
+
}
|
|
2321
|
+
|
|
2322
|
+
fun accessibilityScreenChanged__ViewCommon() {
|
|
2323
|
+
return
|
|
2324
|
+
}
|
|
2325
|
+
|
|
2326
|
+
open fun accessibilityScreenChanged() {
|
|
2327
|
+
return
|
|
2328
|
+
}
|
|
2329
|
+
|
|
2330
|
+
fun setAccessibilityIdentifier__ViewCommon(view: Any?, value: String?) {
|
|
2331
|
+
return
|
|
2332
|
+
}
|
|
2333
|
+
|
|
2334
|
+
open fun setAccessibilityIdentifier_(view: Any?, value: String?) {
|
|
2335
|
+
return
|
|
2336
|
+
}
|
|
2337
|
+
|
|
2338
|
+
override val jsDeclaredKeys: List<String>
|
|
2339
|
+
get() =
|
|
2340
|
+
super.jsDeclaredKeys +
|
|
2341
|
+
(if (_gestureObservers == null) listOf() else listOf("_gestureObservers")) +
|
|
2342
|
+
listOf("accessibilityIdentifier") +
|
|
2343
|
+
listOf("accessibilityLabel") +
|
|
2344
|
+
listOf("accessibilityValue") +
|
|
2345
|
+
listOf("accessibilityHint") +
|
|
2346
|
+
listOf("accessibilityIgnoresInvertColors") +
|
|
2347
|
+
listOf("originX") +
|
|
2348
|
+
listOf("originY") +
|
|
2349
|
+
listOf("isEnabled") +
|
|
2350
|
+
listOf("isUserInteractionEnabled") +
|
|
2351
|
+
listOf("iosOverflowSafeArea") +
|
|
2352
|
+
listOf("iosOverflowSafeAreaEnabled") +
|
|
2353
|
+
listOf("iosIgnoreSafeArea") +
|
|
2354
|
+
listOf("androidOverflowEdge") +
|
|
2355
|
+
listOf("testID") +
|
|
2356
|
+
(if (touchAnimation == null) listOf() else listOf("touchAnimation")) +
|
|
2357
|
+
listOf("ignoreTouchAnimation") +
|
|
2358
|
+
listOf("touchDelay") +
|
|
2359
|
+
(if (visionHoverStyle == null) listOf() else listOf("visionHoverStyle")) +
|
|
2360
|
+
listOf("visionIgnoreHoverStyle") +
|
|
2361
|
+
(if (iosGlassEffect == null) listOf() else listOf("iosGlassEffect")) +
|
|
2362
|
+
(if ((jsMadeBits1 and (1L shl 29)) != 0L) listOf("_closeModalCallback")
|
|
2363
|
+
else listOf()) +
|
|
2364
|
+
(if ((jsMadeBits1 and (1L shl 30)) != 0L) listOf("_manager") else listOf()) +
|
|
2365
|
+
(if ((jsMadeBits1 and (1L shl 31)) != 0L) listOf("_modalParent") else listOf()) +
|
|
2366
|
+
(if ((jsMadeBits1 and (1L shl 32)) != 0L) listOf("_nativeWindow") else listOf()) +
|
|
2367
|
+
(if ((jsMadeBits1 and (1L shl 33)) != 0L) listOf("_modalOptions") else listOf()) +
|
|
2368
|
+
(if ((jsMadeBits1 and (1L shl 34)) != 0L) listOf("_modalContext") else listOf()) +
|
|
2369
|
+
(if ((jsMadeBits1 and (1L shl 35)) != 0L) listOf("_modal") else listOf()) +
|
|
2370
|
+
(if ((jsMadeBits1 and (1L shl 36)) != 0L) listOf("transitionId") else listOf()) +
|
|
2371
|
+
(if ((jsMadeBits1 and (1L shl 37)) != 0L) listOf("_measuredWidth") else listOf()) +
|
|
2372
|
+
(if ((jsMadeBits1 and (1L shl 38)) != 0L) listOf("_measuredHeight") else listOf()) +
|
|
2373
|
+
(if ((jsMadeBits1 and (1L shl 39)) != 0L) listOf("_cssType") else listOf()) +
|
|
2374
|
+
(if ((jsMadeBits1 and (1L shl 40)) != 0L) listOf("_localAnimations")
|
|
2375
|
+
else listOf()) +
|
|
2376
|
+
(if ((jsMadeBits1 and (1L shl 41)) != 0L) listOf("_currentWidthMeasureSpec")
|
|
2377
|
+
else listOf()) +
|
|
2378
|
+
(if ((jsMadeBits1 and (1L shl 42)) != 0L) listOf("_currentHeightMeasureSpec")
|
|
2379
|
+
else listOf()) +
|
|
2380
|
+
(if ((jsMadeBits1 and (1L shl 43)) != 0L) listOf("_setMinWidthNative")
|
|
2381
|
+
else listOf()) +
|
|
2382
|
+
(if ((jsMadeBits1 and (1L shl 44)) != 0L) listOf("_setMinHeightNative")
|
|
2383
|
+
else listOf()) +
|
|
2384
|
+
(if ((jsMadeBits1 and (1L shl 45)) != 0L)
|
|
2385
|
+
listOf("_androidContentDescriptionUpdated")
|
|
2386
|
+
else listOf())
|
|
2387
|
+
|
|
2388
|
+
override val jsClassName: String?
|
|
2389
|
+
get() = "ViewCommon"
|
|
2390
|
+
|
|
2391
|
+
override fun jsGet(key: String): Any? =
|
|
2392
|
+
when (key) {
|
|
2393
|
+
"accessibilityIdentifier" -> this.accessibilityIdentifier
|
|
2394
|
+
"accessibilityLabel" -> this.accessibilityLabel
|
|
2395
|
+
"accessibilityValue" -> this.accessibilityValue
|
|
2396
|
+
"accessibilityHint" -> this.accessibilityHint
|
|
2397
|
+
"accessibilityIgnoresInvertColors" -> this.accessibilityIgnoresInvertColors
|
|
2398
|
+
"originX" -> this.originX
|
|
2399
|
+
"originY" -> this.originY
|
|
2400
|
+
"isEnabled" -> this.isEnabled
|
|
2401
|
+
"isUserInteractionEnabled" -> this.isUserInteractionEnabled
|
|
2402
|
+
"iosOverflowSafeArea" -> this.iosOverflowSafeArea
|
|
2403
|
+
"iosOverflowSafeAreaEnabled" -> this.iosOverflowSafeAreaEnabled
|
|
2404
|
+
"iosIgnoreSafeArea" -> this.iosIgnoreSafeArea
|
|
2405
|
+
"androidOverflowEdge" -> this.androidOverflowEdge
|
|
2406
|
+
"testID" -> this.testID
|
|
2407
|
+
"touchAnimation" -> this.touchAnimation
|
|
2408
|
+
"ignoreTouchAnimation" -> this.ignoreTouchAnimation
|
|
2409
|
+
"touchDelay" -> this.touchDelay
|
|
2410
|
+
"visionHoverStyle" -> this.visionHoverStyle
|
|
2411
|
+
"visionIgnoreHoverStyle" -> this.visionIgnoreHoverStyle
|
|
2412
|
+
"iosGlassEffect" -> this.iosGlassEffect
|
|
2413
|
+
"_closeModalCallback" ->
|
|
2414
|
+
if ((jsMadeBits1 and (1L shl 29)) != 0L) this._closeModalCallback else null
|
|
2415
|
+
"_manager" -> if ((jsMadeBits1 and (1L shl 30)) != 0L) this._manager else null
|
|
2416
|
+
"_modalParent" -> if ((jsMadeBits1 and (1L shl 31)) != 0L) this._modalParent else null
|
|
2417
|
+
"_nativeWindow" -> if ((jsMadeBits1 and (1L shl 32)) != 0L) this._nativeWindow else null
|
|
2418
|
+
"_modalOptions" -> if ((jsMadeBits1 and (1L shl 33)) != 0L) this._modalOptions else null
|
|
2419
|
+
"_modalContext" -> if ((jsMadeBits1 and (1L shl 34)) != 0L) this._modalContext else null
|
|
2420
|
+
"_modal" -> if ((jsMadeBits1 and (1L shl 35)) != 0L) this._modal else null
|
|
2421
|
+
"transitionId" -> if ((jsMadeBits1 and (1L shl 36)) != 0L) this.transitionId else null
|
|
2422
|
+
"_measuredWidth" ->
|
|
2423
|
+
if ((jsMadeBits1 and (1L shl 37)) != 0L) this._measuredWidth else null
|
|
2424
|
+
"_measuredHeight" ->
|
|
2425
|
+
if ((jsMadeBits1 and (1L shl 38)) != 0L) this._measuredHeight else null
|
|
2426
|
+
"_cssType" -> if ((jsMadeBits1 and (1L shl 39)) != 0L) this._cssType else null
|
|
2427
|
+
"_localAnimations" ->
|
|
2428
|
+
if ((jsMadeBits1 and (1L shl 40)) != 0L) this._localAnimations else null
|
|
2429
|
+
"_currentWidthMeasureSpec" ->
|
|
2430
|
+
if ((jsMadeBits1 and (1L shl 41)) != 0L) this._currentWidthMeasureSpec else null
|
|
2431
|
+
"_currentHeightMeasureSpec" ->
|
|
2432
|
+
if ((jsMadeBits1 and (1L shl 42)) != 0L) this._currentHeightMeasureSpec else null
|
|
2433
|
+
"_setMinWidthNative" -> this._setMinWidthNative
|
|
2434
|
+
"_setMinHeightNative" -> this._setMinHeightNative
|
|
2435
|
+
"_gestureObservers" -> this._gestureObservers
|
|
2436
|
+
"_androidContentDescriptionUpdated" ->
|
|
2437
|
+
if ((jsMadeBits1 and (1L shl 45)) != 0L) this._androidContentDescriptionUpdated
|
|
2438
|
+
else null
|
|
2439
|
+
"css" -> this.css
|
|
2440
|
+
"modal" -> this.modal
|
|
2441
|
+
"flexFlow" -> this.flexFlow
|
|
2442
|
+
"flex" -> this.flex
|
|
2443
|
+
"borderColor" -> this.borderColor
|
|
2444
|
+
"borderTopColor" -> this.borderTopColor
|
|
2445
|
+
"borderRightColor" -> this.borderRightColor
|
|
2446
|
+
"borderBottomColor" -> this.borderBottomColor
|
|
2447
|
+
"borderLeftColor" -> this.borderLeftColor
|
|
2448
|
+
"borderWidth" -> this.borderWidth
|
|
2449
|
+
"borderTopWidth" -> this.borderTopWidth
|
|
2450
|
+
"borderRightWidth" -> this.borderRightWidth
|
|
2451
|
+
"borderBottomWidth" -> this.borderBottomWidth
|
|
2452
|
+
"borderLeftWidth" -> this.borderLeftWidth
|
|
2453
|
+
"borderRadius" -> this.borderRadius
|
|
2454
|
+
"borderTopLeftRadius" -> this.borderTopLeftRadius
|
|
2455
|
+
"borderTopRightRadius" -> this.borderTopRightRadius
|
|
2456
|
+
"borderBottomRightRadius" -> this.borderBottomRightRadius
|
|
2457
|
+
"borderBottomLeftRadius" -> this.borderBottomLeftRadius
|
|
2458
|
+
"color" -> this.color
|
|
2459
|
+
"background" -> this.background
|
|
2460
|
+
"backgroundColor" -> this.backgroundColor
|
|
2461
|
+
"backgroundImage" -> this.backgroundImage
|
|
2462
|
+
"backgroundSize" -> this.backgroundSize
|
|
2463
|
+
"backgroundPosition" -> this.backgroundPosition
|
|
2464
|
+
"backgroundRepeat" -> this.backgroundRepeat
|
|
2465
|
+
"boxShadow" -> this.boxShadow
|
|
2466
|
+
"direction" -> this.direction
|
|
2467
|
+
"minWidth" -> this.minWidth
|
|
2468
|
+
"minHeight" -> this.minHeight
|
|
2469
|
+
"maxWidth" -> this.maxWidth
|
|
2470
|
+
"maxHeight" -> this.maxHeight
|
|
2471
|
+
"width" -> this.width
|
|
2472
|
+
"height" -> this.height
|
|
2473
|
+
"margin" -> this.margin
|
|
2474
|
+
"marginLeft" -> this.marginLeft
|
|
2475
|
+
"marginTop" -> this.marginTop
|
|
2476
|
+
"marginRight" -> this.marginRight
|
|
2477
|
+
"marginBottom" -> this.marginBottom
|
|
2478
|
+
"horizontalAlignment" -> this.horizontalAlignment
|
|
2479
|
+
"verticalAlignment" -> this.verticalAlignment
|
|
2480
|
+
"visibility" -> this.visibility
|
|
2481
|
+
"opacity" -> this.opacity
|
|
2482
|
+
"rotate" -> this.rotate
|
|
2483
|
+
"rotateX" -> this.rotateX
|
|
2484
|
+
"rotateY" -> this.rotateY
|
|
2485
|
+
"perspective" -> this.perspective
|
|
2486
|
+
"textTransform" -> this.textTransform
|
|
2487
|
+
"translateX" -> this.translateX
|
|
2488
|
+
"translateY" -> this.translateY
|
|
2489
|
+
"scaleX" -> this.scaleX
|
|
2490
|
+
"scaleY" -> this.scaleY
|
|
2491
|
+
"accessible" -> this.accessible
|
|
2492
|
+
"accessibilityHidden" -> this.accessibilityHidden
|
|
2493
|
+
"accessibilityRole" -> this.accessibilityRole
|
|
2494
|
+
"accessibilityState" -> this.accessibilityState
|
|
2495
|
+
"accessibilityLiveRegion" -> this.accessibilityLiveRegion
|
|
2496
|
+
"accessibilityLanguage" -> this.accessibilityLanguage
|
|
2497
|
+
"accessibilityMediaSession" -> this.accessibilityMediaSession
|
|
2498
|
+
"iosAccessibilityAdjustsFontSize" -> this.iosAccessibilityAdjustsFontSize
|
|
2499
|
+
"iosAccessibilityMinFontScale" -> this.iosAccessibilityMinFontScale
|
|
2500
|
+
"iosAccessibilityMaxFontScale" -> this.iosAccessibilityMaxFontScale
|
|
2501
|
+
"automationText" -> this.automationText
|
|
2502
|
+
"androidElevation" -> this.androidElevation
|
|
2503
|
+
"androidDynamicElevationOffset" -> this.androidDynamicElevationOffset
|
|
2504
|
+
"isLayoutValid" -> this.isLayoutValid
|
|
2505
|
+
"cssType" -> this.cssType
|
|
2506
|
+
"statusBarStyle" -> this.statusBarStyle
|
|
2507
|
+
"isLayoutRequired" -> this.isLayoutRequired
|
|
2508
|
+
"needsNativeDrawableFill" -> this.needsNativeDrawableFill
|
|
2509
|
+
"addCss" ->
|
|
2510
|
+
jsFunction { __a ->
|
|
2511
|
+
this.addCss(jsConvertedStringOrNull(__a.getOrNull(0)))
|
|
2512
|
+
null
|
|
2513
|
+
}
|
|
2514
|
+
"addCssFile" ->
|
|
2515
|
+
jsFunction { __a ->
|
|
2516
|
+
this.addCssFile(jsConvertedStringOrNull(__a.getOrNull(0)))
|
|
2517
|
+
null
|
|
2518
|
+
}
|
|
2519
|
+
"changeCssFile" ->
|
|
2520
|
+
jsFunction { __a ->
|
|
2521
|
+
this.changeCssFile(jsConvertedStringOrNull(__a.getOrNull(0)))
|
|
2522
|
+
null
|
|
2523
|
+
}
|
|
2524
|
+
"_updateStyleScope" ->
|
|
2525
|
+
jsFunction { __a ->
|
|
2526
|
+
this._updateStyleScope(
|
|
2527
|
+
jsConvertedStringOrNull(__a.getOrNull(0)),
|
|
2528
|
+
jsConvertedStringOrNull(__a.getOrNull(1)),
|
|
2529
|
+
jsConvertedStringOrNull(__a.getOrNull(2)),
|
|
2530
|
+
)
|
|
2531
|
+
null
|
|
2532
|
+
}
|
|
2533
|
+
"setScopeProperty" ->
|
|
2534
|
+
jsFunction { __a ->
|
|
2535
|
+
this.setScopeProperty(
|
|
2536
|
+
jsCast(__a.getOrNull(0), StyleScope::class.java),
|
|
2537
|
+
jsConvertedStringOrNull(__a.getOrNull(1)),
|
|
2538
|
+
jsConvertedStringOrNull(__a.getOrNull(2)),
|
|
2539
|
+
jsConvertedStringOrNull(__a.getOrNull(3)),
|
|
2540
|
+
)
|
|
2541
|
+
null
|
|
2542
|
+
}
|
|
2543
|
+
"onLoaded" ->
|
|
2544
|
+
jsFunction {
|
|
2545
|
+
this.onLoaded()
|
|
2546
|
+
null
|
|
2547
|
+
}
|
|
2548
|
+
"_closeAllModalViewsInternal" -> jsFunction { this._closeAllModalViewsInternal() }
|
|
2549
|
+
"_getRootModalViews" -> jsFunction { this._getRootModalViews() }
|
|
2550
|
+
"_getRootModalHost" -> jsFunction { this._getRootModalHost() }
|
|
2551
|
+
"getNativeWindow" -> jsFunction { this.getNativeWindow() }
|
|
2552
|
+
"_onLivesync" -> jsFunction { __a -> this._onLivesync(__a.getOrNull(0)) }
|
|
2553
|
+
"_handleLivesync" -> jsFunction { __a -> this._handleLivesync(__a.getOrNull(0)) }
|
|
2554
|
+
"_setupAsRootView" ->
|
|
2555
|
+
jsFunction { __a ->
|
|
2556
|
+
this._setupAsRootView(__a.getOrNull(0))
|
|
2557
|
+
null
|
|
2558
|
+
}
|
|
2559
|
+
"_observe" ->
|
|
2560
|
+
jsFunction { __a ->
|
|
2561
|
+
this._observe(
|
|
2562
|
+
jsConvertedNumberOrZero(__a.getOrNull(0)),
|
|
2563
|
+
jsFunction1<Any?, Unit>(__a.getOrNull(1)),
|
|
2564
|
+
__a.getOrNull(2),
|
|
2565
|
+
)
|
|
2566
|
+
null
|
|
2567
|
+
}
|
|
2568
|
+
"getGestureObservers" ->
|
|
2569
|
+
jsFunction { __a ->
|
|
2570
|
+
this.getGestureObservers(jsConvertedNumberOrZero(__a.getOrNull(0)))
|
|
2571
|
+
}
|
|
2572
|
+
"addEventListener" ->
|
|
2573
|
+
jsFunction { __a ->
|
|
2574
|
+
this.addEventListener(
|
|
2575
|
+
jsConvertedStringOrNull(__a.getOrNull(0)),
|
|
2576
|
+
jsFunction1<EventData, Unit>(__a.getOrNull(1)),
|
|
2577
|
+
__a.getOrNull(2),
|
|
2578
|
+
jsConvertedBooleanOrNull(__a.getOrNull(3)),
|
|
2579
|
+
)
|
|
2580
|
+
null
|
|
2581
|
+
}
|
|
2582
|
+
"removeEventListener" ->
|
|
2583
|
+
jsFunction { __a ->
|
|
2584
|
+
this.removeEventListener(
|
|
2585
|
+
jsConvertedStringOrNull(__a.getOrNull(0)),
|
|
2586
|
+
jsUnlessNullish(__a.getOrNull(1)) { jsFunction1<EventData, Unit>(it) },
|
|
2587
|
+
__a.getOrNull(2),
|
|
2588
|
+
)
|
|
2589
|
+
null
|
|
2590
|
+
}
|
|
2591
|
+
"onBackPressed" -> jsFunction { this.onBackPressed() }
|
|
2592
|
+
"_getFragmentManager" -> jsFunction { this._getFragmentManager() }
|
|
2593
|
+
"getModalOptions" ->
|
|
2594
|
+
jsFunction { __a ->
|
|
2595
|
+
this.getModalOptions(
|
|
2596
|
+
(if (jsIsNullish(__a.getOrNull(0))) null
|
|
2597
|
+
else jsArrayFrom(__a.getOrNull(0)) { it })
|
|
2598
|
+
)
|
|
2599
|
+
}
|
|
2600
|
+
"_showNativeModalView" ->
|
|
2601
|
+
jsFunction { __a ->
|
|
2602
|
+
this._showNativeModalView(
|
|
2603
|
+
jsCast(__a.getOrNull(0), ViewCommon::class.java),
|
|
2604
|
+
__a.getOrNull(1),
|
|
2605
|
+
)
|
|
2606
|
+
null
|
|
2607
|
+
}
|
|
2608
|
+
"_hideNativeModalView" ->
|
|
2609
|
+
jsFunction { __a ->
|
|
2610
|
+
this._hideNativeModalView(
|
|
2611
|
+
jsCast(__a.getOrNull(0), ViewCommon::class.java),
|
|
2612
|
+
jsFunction0<Unit>(__a.getOrNull(1)),
|
|
2613
|
+
)
|
|
2614
|
+
null
|
|
2615
|
+
}
|
|
2616
|
+
"_raiseLayoutChangedEvent" ->
|
|
2617
|
+
jsFunction {
|
|
2618
|
+
this._raiseLayoutChangedEvent()
|
|
2619
|
+
null
|
|
2620
|
+
}
|
|
2621
|
+
"_raiseShownModallyEvent" ->
|
|
2622
|
+
jsFunction {
|
|
2623
|
+
this._raiseShownModallyEvent()
|
|
2624
|
+
null
|
|
2625
|
+
}
|
|
2626
|
+
"_raiseShowingModallyEvent" ->
|
|
2627
|
+
jsFunction {
|
|
2628
|
+
this._raiseShowingModallyEvent()
|
|
2629
|
+
null
|
|
2630
|
+
}
|
|
2631
|
+
"_isEvent" ->
|
|
2632
|
+
jsFunction { __a -> this._isEvent(jsConvertedStringOrNull(__a.getOrNull(0))) }
|
|
2633
|
+
"_disconnectGestureObservers" ->
|
|
2634
|
+
jsFunction { __a ->
|
|
2635
|
+
this._disconnectGestureObservers(
|
|
2636
|
+
jsConvertedNumberOrZero(__a.getOrNull(0)),
|
|
2637
|
+
jsUnlessNullish(__a.getOrNull(1)) { jsFunction1<EventData, Unit>(it) },
|
|
2638
|
+
__a.getOrNull(2),
|
|
2639
|
+
)
|
|
2640
|
+
null
|
|
2641
|
+
}
|
|
2642
|
+
"getClosestWindow" -> jsFunction { this.getClosestWindow() }
|
|
2643
|
+
"updateStatusBarStyle" ->
|
|
2644
|
+
jsFunction { __a ->
|
|
2645
|
+
this.updateStatusBarStyle(jsConvertedStringOrNull(__a.getOrNull(0)))
|
|
2646
|
+
null
|
|
2647
|
+
}
|
|
2648
|
+
"measure" ->
|
|
2649
|
+
jsFunction { __a ->
|
|
2650
|
+
this.measure(
|
|
2651
|
+
jsConvertedNumberOrZero(__a.getOrNull(0)),
|
|
2652
|
+
jsConvertedNumberOrZero(__a.getOrNull(1)),
|
|
2653
|
+
)
|
|
2654
|
+
null
|
|
2655
|
+
}
|
|
2656
|
+
"layout" ->
|
|
2657
|
+
jsFunction { __a ->
|
|
2658
|
+
this.layout(
|
|
2659
|
+
jsConvertedNumberOrZero(__a.getOrNull(0)),
|
|
2660
|
+
jsConvertedNumberOrZero(__a.getOrNull(1)),
|
|
2661
|
+
jsConvertedNumberOrZero(__a.getOrNull(2)),
|
|
2662
|
+
jsConvertedNumberOrZero(__a.getOrNull(3)),
|
|
2663
|
+
)
|
|
2664
|
+
null
|
|
2665
|
+
}
|
|
2666
|
+
"getMeasuredWidth" -> jsFunction { this.getMeasuredWidth() }
|
|
2667
|
+
"getMeasuredHeight" -> jsFunction { this.getMeasuredHeight() }
|
|
2668
|
+
"getMeasuredState" -> jsFunction { this.getMeasuredState() }
|
|
2669
|
+
"setMeasuredDimension" ->
|
|
2670
|
+
jsFunction { __a ->
|
|
2671
|
+
this.setMeasuredDimension(
|
|
2672
|
+
jsConvertedNumberOrZero(__a.getOrNull(0)),
|
|
2673
|
+
jsConvertedNumberOrZero(__a.getOrNull(1)),
|
|
2674
|
+
)
|
|
2675
|
+
null
|
|
2676
|
+
}
|
|
2677
|
+
"_setCurrentMeasureSpecs" ->
|
|
2678
|
+
jsFunction { __a ->
|
|
2679
|
+
this._setCurrentMeasureSpecs(
|
|
2680
|
+
jsConvertedNumberOrZero(__a.getOrNull(0)),
|
|
2681
|
+
jsConvertedNumberOrZero(__a.getOrNull(1)),
|
|
2682
|
+
)
|
|
2683
|
+
}
|
|
2684
|
+
"_getCurrentLayoutBounds" -> jsFunction { this._getCurrentLayoutBounds() }
|
|
2685
|
+
"_setCurrentLayoutBounds" ->
|
|
2686
|
+
jsFunction { __a ->
|
|
2687
|
+
this._setCurrentLayoutBounds(
|
|
2688
|
+
jsConvertedNumberOrZero(__a.getOrNull(0)),
|
|
2689
|
+
jsConvertedNumberOrZero(__a.getOrNull(1)),
|
|
2690
|
+
jsConvertedNumberOrZero(__a.getOrNull(2)),
|
|
2691
|
+
jsConvertedNumberOrZero(__a.getOrNull(3)),
|
|
2692
|
+
)
|
|
2693
|
+
}
|
|
2694
|
+
"eachChild" ->
|
|
2695
|
+
jsFunction { __a ->
|
|
2696
|
+
this.eachChild(jsFunction1<ViewBase, Boolean>(__a.getOrNull(0)))
|
|
2697
|
+
null
|
|
2698
|
+
}
|
|
2699
|
+
"eachChildView" ->
|
|
2700
|
+
jsFunction { __a ->
|
|
2701
|
+
this.eachChildView(jsFunction1<ViewCommon, Boolean>(__a.getOrNull(0)))
|
|
2702
|
+
null
|
|
2703
|
+
}
|
|
2704
|
+
"_getNativeViewsCount" -> jsFunction { this._getNativeViewsCount() }
|
|
2705
|
+
"_eachLayoutView" ->
|
|
2706
|
+
jsFunction { __a ->
|
|
2707
|
+
this._eachLayoutView(jsFunction1<Any?, Unit>(__a.getOrNull(0)))
|
|
2708
|
+
null
|
|
2709
|
+
}
|
|
2710
|
+
"focus" -> jsFunction { this.focus() }
|
|
2711
|
+
"getSafeAreaInsets" -> jsFunction { this.getSafeAreaInsets() }
|
|
2712
|
+
"getLocationInWindow" -> jsFunction { this.getLocationInWindow() }
|
|
2713
|
+
"getLocationOnScreen" -> jsFunction { this.getLocationOnScreen() }
|
|
2714
|
+
"getLocationRelativeTo" ->
|
|
2715
|
+
jsFunction { __a ->
|
|
2716
|
+
this.getLocationRelativeTo(jsCast(__a.getOrNull(0), ViewCommon::class.java))
|
|
2717
|
+
}
|
|
2718
|
+
"getActualSize" -> jsFunction { this.getActualSize() }
|
|
2719
|
+
"animate" -> jsFunction { __a -> this.animate(__a.getOrNull(0)) }
|
|
2720
|
+
"createAnimation" -> jsFunction { __a -> this.createAnimation(__a.getOrNull(0)) }
|
|
2721
|
+
"_removeAnimation" ->
|
|
2722
|
+
jsFunction { __a ->
|
|
2723
|
+
this._removeAnimation(jsCast(__a.getOrNull(0), Animation::class.java))
|
|
2724
|
+
}
|
|
2725
|
+
"resetNativeView" ->
|
|
2726
|
+
jsFunction {
|
|
2727
|
+
this.resetNativeView()
|
|
2728
|
+
null
|
|
2729
|
+
}
|
|
2730
|
+
"_modifyNativeViewFrame" ->
|
|
2731
|
+
jsFunction { __a ->
|
|
2732
|
+
this._modifyNativeViewFrame(__a.getOrNull(0), __a.getOrNull(1))
|
|
2733
|
+
null
|
|
2734
|
+
}
|
|
2735
|
+
"_setNativeViewFrame" ->
|
|
2736
|
+
jsFunction { __a ->
|
|
2737
|
+
this._setNativeViewFrame(__a.getOrNull(0), __a.getOrNull(1))
|
|
2738
|
+
null
|
|
2739
|
+
}
|
|
2740
|
+
"_getValue" -> jsFunction { this._getValue() }
|
|
2741
|
+
"_setValue" -> jsFunction { this._setValue() }
|
|
2742
|
+
"_updateEffectiveLayoutValues" ->
|
|
2743
|
+
jsFunction { __a ->
|
|
2744
|
+
this._updateEffectiveLayoutValues(
|
|
2745
|
+
jsConvertedNumberOrZero(__a.getOrNull(0)),
|
|
2746
|
+
jsConvertedNumberOrZero(__a.getOrNull(1)),
|
|
2747
|
+
jsConvertedNumberOrZero(__a.getOrNull(2)),
|
|
2748
|
+
jsConvertedNumberOrZero(__a.getOrNull(3)),
|
|
2749
|
+
)
|
|
2750
|
+
null
|
|
2751
|
+
}
|
|
2752
|
+
"_setNativeClipToBounds" ->
|
|
2753
|
+
jsFunction {
|
|
2754
|
+
this._setNativeClipToBounds()
|
|
2755
|
+
null
|
|
2756
|
+
}
|
|
2757
|
+
"_redrawNativeBackground" ->
|
|
2758
|
+
jsFunction { __a ->
|
|
2759
|
+
this._redrawNativeBackground(__a.getOrNull(0))
|
|
2760
|
+
null
|
|
2761
|
+
}
|
|
2762
|
+
"_applyBackground" ->
|
|
2763
|
+
jsFunction { __a ->
|
|
2764
|
+
this._applyBackground(
|
|
2765
|
+
__a.getOrNull(0),
|
|
2766
|
+
jsConvertedBooleanOrFalse(__a.getOrNull(1)),
|
|
2767
|
+
jsConvertedBooleanOrFalse(__a.getOrNull(2)),
|
|
2768
|
+
jsCast(__a.getOrNull(3), Drawable::class.java),
|
|
2769
|
+
)
|
|
2770
|
+
null
|
|
2771
|
+
}
|
|
2772
|
+
"_onAttachedToWindow" ->
|
|
2773
|
+
jsFunction {
|
|
2774
|
+
this._onAttachedToWindow()
|
|
2775
|
+
null
|
|
2776
|
+
}
|
|
2777
|
+
"_onDetachedFromWindow" ->
|
|
2778
|
+
jsFunction {
|
|
2779
|
+
this._onDetachedFromWindow()
|
|
2780
|
+
null
|
|
2781
|
+
}
|
|
2782
|
+
"_hasAncestorView" ->
|
|
2783
|
+
jsFunction { __a ->
|
|
2784
|
+
this._hasAncestorView(jsCast(__a.getOrNull(0), ViewCommon::class.java))
|
|
2785
|
+
}
|
|
2786
|
+
"_applyGlassEffect" ->
|
|
2787
|
+
jsFunction { __a -> this._applyGlassEffect(__a.getOrNull(0), __a.getOrNull(1)) }
|
|
2788
|
+
"sendAccessibilityEvent" ->
|
|
2789
|
+
jsFunction { __a ->
|
|
2790
|
+
this.sendAccessibilityEvent(__a.getOrNull(0))
|
|
2791
|
+
null
|
|
2792
|
+
}
|
|
2793
|
+
"accessibilityAnnouncement" ->
|
|
2794
|
+
jsFunction { __a ->
|
|
2795
|
+
this.accessibilityAnnouncement(jsConvertedStringOrNull(__a.getOrNull(0)))
|
|
2796
|
+
null
|
|
2797
|
+
}
|
|
2798
|
+
"accessibilityScreenChanged" ->
|
|
2799
|
+
jsFunction {
|
|
2800
|
+
this.accessibilityScreenChanged()
|
|
2801
|
+
null
|
|
2802
|
+
}
|
|
2803
|
+
"setAccessibilityIdentifier" ->
|
|
2804
|
+
jsFunction { __a ->
|
|
2805
|
+
this.setAccessibilityIdentifier_(
|
|
2806
|
+
__a.getOrNull(0),
|
|
2807
|
+
jsConvertedStringOrNull(__a.getOrNull(1)),
|
|
2808
|
+
)
|
|
2809
|
+
null
|
|
2810
|
+
}
|
|
2811
|
+
else -> super.jsGet(key)
|
|
2812
|
+
}
|
|
2813
|
+
|
|
2814
|
+
override fun jsSet(key: String, value: Any?) {
|
|
2815
|
+
when (key) {
|
|
2816
|
+
"accessibilityIdentifier" -> jsExpandoSet(this, "accessibilityIdentifier", value)
|
|
2817
|
+
"accessibilityLabel" -> jsExpandoSet(this, "accessibilityLabel", value)
|
|
2818
|
+
"accessibilityValue" -> jsExpandoSet(this, "accessibilityValue", value)
|
|
2819
|
+
"accessibilityHint" -> jsExpandoSet(this, "accessibilityHint", value)
|
|
2820
|
+
"accessibilityIgnoresInvertColors" ->
|
|
2821
|
+
jsExpandoSet(this, "accessibilityIgnoresInvertColors", value)
|
|
2822
|
+
"originX" -> jsExpandoSet(this, "originX", value)
|
|
2823
|
+
"originY" -> jsExpandoSet(this, "originY", value)
|
|
2824
|
+
"isEnabled" -> jsExpandoSet(this, "isEnabled", value)
|
|
2825
|
+
"isUserInteractionEnabled" -> jsExpandoSet(this, "isUserInteractionEnabled", value)
|
|
2826
|
+
"iosOverflowSafeArea" -> jsExpandoSet(this, "iosOverflowSafeArea", value)
|
|
2827
|
+
"iosOverflowSafeAreaEnabled" -> jsExpandoSet(this, "iosOverflowSafeAreaEnabled", value)
|
|
2828
|
+
"iosIgnoreSafeArea" -> jsExpandoSet(this, "iosIgnoreSafeArea", value)
|
|
2829
|
+
"androidOverflowEdge" -> jsExpandoSet(this, "androidOverflowEdge", value)
|
|
2830
|
+
"testID" -> jsExpandoSet(this, "testID", value)
|
|
2831
|
+
"touchAnimation" -> jsExpandoSet(this, "touchAnimation", value)
|
|
2832
|
+
"ignoreTouchAnimation" -> jsExpandoSet(this, "ignoreTouchAnimation", value)
|
|
2833
|
+
"touchDelay" -> jsExpandoSet(this, "touchDelay", value)
|
|
2834
|
+
"visionHoverStyle" -> jsExpandoSet(this, "visionHoverStyle", value)
|
|
2835
|
+
"visionIgnoreHoverStyle" -> jsExpandoSet(this, "visionIgnoreHoverStyle", value)
|
|
2836
|
+
"iosGlassEffect" -> jsExpandoSet(this, "iosGlassEffect", value)
|
|
2837
|
+
"_closeModalCallback" -> this._closeModalCallback = value
|
|
2838
|
+
"_manager" -> this._manager = value
|
|
2839
|
+
"_modalParent" -> this._modalParent = jsCast(value, ViewCommon::class.java)
|
|
2840
|
+
"_nativeWindow" -> this._nativeWindow = jsCast(value, NativeWindow::class.java)
|
|
2841
|
+
"_modalOptions" -> this._modalOptions = value
|
|
2842
|
+
"_modalContext" -> this._modalContext = value
|
|
2843
|
+
"_modal" -> this._modal = jsCast(value, ViewCommon::class.java)
|
|
2844
|
+
"transitionId" -> this.transitionId = jsConvertedNumberOrNull(value, "transitionId")
|
|
2845
|
+
"_measuredWidth" ->
|
|
2846
|
+
this._measuredWidth = jsConvertedNumberOrNull(value, "_measuredWidth")
|
|
2847
|
+
"_measuredHeight" ->
|
|
2848
|
+
this._measuredHeight = jsConvertedNumberOrNull(value, "_measuredHeight")
|
|
2849
|
+
"_cssType" -> this._cssType = jsConvertedStringOrNull(value, "_cssType")
|
|
2850
|
+
"_localAnimations" ->
|
|
2851
|
+
this._localAnimations = jsAs<JSSet<Animation>?>(jsJavaArgument(value))
|
|
2852
|
+
"_currentWidthMeasureSpec" ->
|
|
2853
|
+
this._currentWidthMeasureSpec =
|
|
2854
|
+
jsConvertedNumberOrNull(value, "_currentWidthMeasureSpec")
|
|
2855
|
+
"_currentHeightMeasureSpec" ->
|
|
2856
|
+
this._currentHeightMeasureSpec =
|
|
2857
|
+
jsConvertedNumberOrNull(value, "_currentHeightMeasureSpec")
|
|
2858
|
+
"_setMinWidthNative" ->
|
|
2859
|
+
this._setMinWidthNative = jsUnlessNullish(value) { jsFunction1<Any?, Unit>(it) }
|
|
2860
|
+
"_setMinHeightNative" ->
|
|
2861
|
+
this._setMinHeightNative = jsUnlessNullish(value) { jsFunction1<Any?, Unit>(it) }
|
|
2862
|
+
"_gestureObservers" -> this._gestureObservers = value
|
|
2863
|
+
"_androidContentDescriptionUpdated" ->
|
|
2864
|
+
this._androidContentDescriptionUpdated =
|
|
2865
|
+
jsConvertedBooleanOrNull(value, "_androidContentDescriptionUpdated")
|
|
2866
|
+
"css" -> this.css = jsConvertedStringOrEmpty(value)
|
|
2867
|
+
"flexFlow" -> jsSet((this.style ?: jsObjectRequired()), "flexFlow", value)
|
|
2868
|
+
"flex" -> jsSet((this.style ?: jsObjectRequired()), "flex", value)
|
|
2869
|
+
"borderColor" -> jsSet((this.style ?: jsObjectRequired()), "borderColor", value)
|
|
2870
|
+
"borderTopColor" -> jsSet((this.style ?: jsObjectRequired()), "borderTopColor", value)
|
|
2871
|
+
"borderRightColor" ->
|
|
2872
|
+
jsSet((this.style ?: jsObjectRequired()), "borderRightColor", value)
|
|
2873
|
+
"borderBottomColor" ->
|
|
2874
|
+
jsSet((this.style ?: jsObjectRequired()), "borderBottomColor", value)
|
|
2875
|
+
"borderLeftColor" -> jsSet((this.style ?: jsObjectRequired()), "borderLeftColor", value)
|
|
2876
|
+
"borderWidth" -> jsSet((this.style ?: jsObjectRequired()), "borderWidth", value)
|
|
2877
|
+
"borderTopWidth" -> jsSet((this.style ?: jsObjectRequired()), "borderTopWidth", value)
|
|
2878
|
+
"borderRightWidth" ->
|
|
2879
|
+
jsSet((this.style ?: jsObjectRequired()), "borderRightWidth", value)
|
|
2880
|
+
"borderBottomWidth" ->
|
|
2881
|
+
jsSet((this.style ?: jsObjectRequired()), "borderBottomWidth", value)
|
|
2882
|
+
"borderLeftWidth" -> jsSet((this.style ?: jsObjectRequired()), "borderLeftWidth", value)
|
|
2883
|
+
"borderRadius" -> jsSet((this.style ?: jsObjectRequired()), "borderRadius", value)
|
|
2884
|
+
"borderTopLeftRadius" ->
|
|
2885
|
+
jsSet((this.style ?: jsObjectRequired()), "borderTopLeftRadius", value)
|
|
2886
|
+
"borderTopRightRadius" ->
|
|
2887
|
+
jsSet((this.style ?: jsObjectRequired()), "borderTopRightRadius", value)
|
|
2888
|
+
"borderBottomRightRadius" ->
|
|
2889
|
+
jsSet((this.style ?: jsObjectRequired()), "borderBottomRightRadius", value)
|
|
2890
|
+
"borderBottomLeftRadius" ->
|
|
2891
|
+
jsSet((this.style ?: jsObjectRequired()), "borderBottomLeftRadius", value)
|
|
2892
|
+
"color" -> jsSet((this.style ?: jsObjectRequired()), "color", value)
|
|
2893
|
+
"background" -> jsSet((this.style ?: jsObjectRequired()), "background", value)
|
|
2894
|
+
"backgroundColor" -> jsSet((this.style ?: jsObjectRequired()), "backgroundColor", value)
|
|
2895
|
+
"backgroundImage" -> jsSet((this.style ?: jsObjectRequired()), "backgroundImage", value)
|
|
2896
|
+
"backgroundSize" -> jsSet((this.style ?: jsObjectRequired()), "backgroundSize", value)
|
|
2897
|
+
"backgroundPosition" ->
|
|
2898
|
+
jsSet((this.style ?: jsObjectRequired()), "backgroundPosition", value)
|
|
2899
|
+
"backgroundRepeat" ->
|
|
2900
|
+
jsSet((this.style ?: jsObjectRequired()), "backgroundRepeat", value)
|
|
2901
|
+
"boxShadow" -> jsSet((this.style ?: jsObjectRequired()), "boxShadow", value)
|
|
2902
|
+
"direction" -> jsSet((this.style ?: jsObjectRequired()), "direction", value)
|
|
2903
|
+
"minWidth" -> jsSet((this.style ?: jsObjectRequired()), "minWidth", value)
|
|
2904
|
+
"minHeight" -> jsSet((this.style ?: jsObjectRequired()), "minHeight", value)
|
|
2905
|
+
"maxWidth" -> jsSet((this.style ?: jsObjectRequired()), "maxWidth", value)
|
|
2906
|
+
"maxHeight" -> jsSet((this.style ?: jsObjectRequired()), "maxHeight", value)
|
|
2907
|
+
"width" -> jsSet((this.style ?: jsObjectRequired()), "width", value)
|
|
2908
|
+
"height" -> jsSet((this.style ?: jsObjectRequired()), "height", value)
|
|
2909
|
+
"margin" -> jsSet((this.style ?: jsObjectRequired()), "margin", value)
|
|
2910
|
+
"marginLeft" -> jsSet((this.style ?: jsObjectRequired()), "marginLeft", value)
|
|
2911
|
+
"marginTop" -> jsSet((this.style ?: jsObjectRequired()), "marginTop", value)
|
|
2912
|
+
"marginRight" -> jsSet((this.style ?: jsObjectRequired()), "marginRight", value)
|
|
2913
|
+
"marginBottom" -> jsSet((this.style ?: jsObjectRequired()), "marginBottom", value)
|
|
2914
|
+
"horizontalAlignment" ->
|
|
2915
|
+
jsSet((this.style ?: jsObjectRequired()), "horizontalAlignment", value)
|
|
2916
|
+
"verticalAlignment" ->
|
|
2917
|
+
jsSet((this.style ?: jsObjectRequired()), "verticalAlignment", value)
|
|
2918
|
+
"visibility" -> jsSet((this.style ?: jsObjectRequired()), "visibility", value)
|
|
2919
|
+
"opacity" -> jsSet((this.style ?: jsObjectRequired()), "opacity", value)
|
|
2920
|
+
"rotate" -> jsSet((this.style ?: jsObjectRequired()), "rotate", value)
|
|
2921
|
+
"rotateX" -> jsSet((this.style ?: jsObjectRequired()), "rotateX", value)
|
|
2922
|
+
"rotateY" -> jsSet((this.style ?: jsObjectRequired()), "rotateY", value)
|
|
2923
|
+
"perspective" -> jsSet((this.style ?: jsObjectRequired()), "perspective", value)
|
|
2924
|
+
"textTransform" -> jsSet((this.style ?: jsObjectRequired()), "textTransform", value)
|
|
2925
|
+
"translateX" -> jsSet((this.style ?: jsObjectRequired()), "translateX", value)
|
|
2926
|
+
"translateY" -> jsSet((this.style ?: jsObjectRequired()), "translateY", value)
|
|
2927
|
+
"scaleX" -> jsSet((this.style ?: jsObjectRequired()), "scaleX", value)
|
|
2928
|
+
"scaleY" -> jsSet((this.style ?: jsObjectRequired()), "scaleY", value)
|
|
2929
|
+
"accessible" -> jsSet((this.style ?: jsObjectRequired()), "accessible", value)
|
|
2930
|
+
"accessibilityHidden" ->
|
|
2931
|
+
jsSet((this.style ?: jsObjectRequired()), "accessibilityHidden", value)
|
|
2932
|
+
"accessibilityRole" ->
|
|
2933
|
+
jsSet((this.style ?: jsObjectRequired()), "accessibilityRole", value)
|
|
2934
|
+
"accessibilityState" ->
|
|
2935
|
+
jsSet((this.style ?: jsObjectRequired()), "accessibilityState", value)
|
|
2936
|
+
"accessibilityLiveRegion" ->
|
|
2937
|
+
jsSet((this.style ?: jsObjectRequired()), "accessibilityLiveRegion", value)
|
|
2938
|
+
"accessibilityLanguage" ->
|
|
2939
|
+
jsSet((this.style ?: jsObjectRequired()), "accessibilityLanguage", value)
|
|
2940
|
+
"accessibilityMediaSession" ->
|
|
2941
|
+
jsSet((this.style ?: jsObjectRequired()), "accessibilityMediaSession", value)
|
|
2942
|
+
"iosAccessibilityAdjustsFontSize" ->
|
|
2943
|
+
jsSet((this.style ?: jsObjectRequired()), "iosAccessibilityAdjustsFontSize", value)
|
|
2944
|
+
"iosAccessibilityMinFontScale" ->
|
|
2945
|
+
jsSet((this.style ?: jsObjectRequired()), "iosAccessibilityMinFontScale", value)
|
|
2946
|
+
"iosAccessibilityMaxFontScale" ->
|
|
2947
|
+
jsSet((this.style ?: jsObjectRequired()), "iosAccessibilityMaxFontScale", value)
|
|
2948
|
+
"automationText" -> this.automationText = jsConvertedStringOrEmpty(value)
|
|
2949
|
+
"androidElevation" ->
|
|
2950
|
+
jsSet((this.style ?: jsObjectRequired()), "androidElevation", value)
|
|
2951
|
+
"androidDynamicElevationOffset" ->
|
|
2952
|
+
jsSet((this.style ?: jsObjectRequired()), "androidDynamicElevationOffset", value)
|
|
2953
|
+
"cssType" -> this.cssType = jsConvertedStringOrEmpty(value)
|
|
2954
|
+
"statusBarStyle" -> jsSet((this.style ?: jsObjectRequired()), "statusBarStyle", value)
|
|
2955
|
+
else -> super.jsSet(key, value)
|
|
2956
|
+
}
|
|
2957
|
+
}
|
|
2958
|
+
|
|
2959
|
+
override fun jsHasMember(key: String): Boolean =
|
|
2960
|
+
when (key) {
|
|
2961
|
+
"css",
|
|
2962
|
+
"modal",
|
|
2963
|
+
"flexFlow",
|
|
2964
|
+
"flex",
|
|
2965
|
+
"borderColor",
|
|
2966
|
+
"borderTopColor",
|
|
2967
|
+
"borderRightColor",
|
|
2968
|
+
"borderBottomColor",
|
|
2969
|
+
"borderLeftColor",
|
|
2970
|
+
"borderWidth",
|
|
2971
|
+
"borderTopWidth",
|
|
2972
|
+
"borderRightWidth",
|
|
2973
|
+
"borderBottomWidth",
|
|
2974
|
+
"borderLeftWidth",
|
|
2975
|
+
"borderRadius",
|
|
2976
|
+
"borderTopLeftRadius",
|
|
2977
|
+
"borderTopRightRadius",
|
|
2978
|
+
"borderBottomRightRadius",
|
|
2979
|
+
"borderBottomLeftRadius",
|
|
2980
|
+
"color",
|
|
2981
|
+
"background",
|
|
2982
|
+
"backgroundColor",
|
|
2983
|
+
"backgroundImage",
|
|
2984
|
+
"backgroundSize",
|
|
2985
|
+
"backgroundPosition",
|
|
2986
|
+
"backgroundRepeat",
|
|
2987
|
+
"boxShadow",
|
|
2988
|
+
"direction",
|
|
2989
|
+
"minWidth",
|
|
2990
|
+
"minHeight",
|
|
2991
|
+
"maxWidth",
|
|
2992
|
+
"maxHeight",
|
|
2993
|
+
"width",
|
|
2994
|
+
"height",
|
|
2995
|
+
"margin",
|
|
2996
|
+
"marginLeft",
|
|
2997
|
+
"marginTop",
|
|
2998
|
+
"marginRight",
|
|
2999
|
+
"marginBottom",
|
|
3000
|
+
"horizontalAlignment",
|
|
3001
|
+
"verticalAlignment",
|
|
3002
|
+
"visibility",
|
|
3003
|
+
"opacity",
|
|
3004
|
+
"rotate",
|
|
3005
|
+
"rotateX",
|
|
3006
|
+
"rotateY",
|
|
3007
|
+
"perspective",
|
|
3008
|
+
"textTransform",
|
|
3009
|
+
"translateX",
|
|
3010
|
+
"translateY",
|
|
3011
|
+
"scaleX",
|
|
3012
|
+
"scaleY",
|
|
3013
|
+
"accessible",
|
|
3014
|
+
"accessibilityHidden",
|
|
3015
|
+
"accessibilityRole",
|
|
3016
|
+
"accessibilityState",
|
|
3017
|
+
"accessibilityLiveRegion",
|
|
3018
|
+
"accessibilityLanguage",
|
|
3019
|
+
"accessibilityMediaSession",
|
|
3020
|
+
"iosAccessibilityAdjustsFontSize",
|
|
3021
|
+
"iosAccessibilityMinFontScale",
|
|
3022
|
+
"iosAccessibilityMaxFontScale",
|
|
3023
|
+
"automationText",
|
|
3024
|
+
"androidElevation",
|
|
3025
|
+
"androidDynamicElevationOffset",
|
|
3026
|
+
"isLayoutValid",
|
|
3027
|
+
"cssType",
|
|
3028
|
+
"statusBarStyle",
|
|
3029
|
+
"isLayoutRequired",
|
|
3030
|
+
"needsNativeDrawableFill",
|
|
3031
|
+
"addCss",
|
|
3032
|
+
"addCssFile",
|
|
3033
|
+
"changeCssFile",
|
|
3034
|
+
"_updateStyleScope",
|
|
3035
|
+
"setScopeProperty",
|
|
3036
|
+
"onLoaded",
|
|
3037
|
+
"_closeAllModalViewsInternal",
|
|
3038
|
+
"_getRootModalViews",
|
|
3039
|
+
"_getRootModalHost",
|
|
3040
|
+
"getNativeWindow",
|
|
3041
|
+
"_onLivesync",
|
|
3042
|
+
"_handleLivesync",
|
|
3043
|
+
"_setupAsRootView",
|
|
3044
|
+
"_observe",
|
|
3045
|
+
"getGestureObservers",
|
|
3046
|
+
"addEventListener",
|
|
3047
|
+
"removeEventListener",
|
|
3048
|
+
"onBackPressed",
|
|
3049
|
+
"_getFragmentManager",
|
|
3050
|
+
"getModalOptions",
|
|
3051
|
+
"_showNativeModalView",
|
|
3052
|
+
"_hideNativeModalView",
|
|
3053
|
+
"_raiseLayoutChangedEvent",
|
|
3054
|
+
"_raiseShownModallyEvent",
|
|
3055
|
+
"_raiseShowingModallyEvent",
|
|
3056
|
+
"_isEvent",
|
|
3057
|
+
"_disconnectGestureObservers",
|
|
3058
|
+
"getClosestWindow",
|
|
3059
|
+
"updateStatusBarStyle",
|
|
3060
|
+
"measure",
|
|
3061
|
+
"layout",
|
|
3062
|
+
"getMeasuredWidth",
|
|
3063
|
+
"getMeasuredHeight",
|
|
3064
|
+
"getMeasuredState",
|
|
3065
|
+
"setMeasuredDimension",
|
|
3066
|
+
"_setCurrentMeasureSpecs",
|
|
3067
|
+
"_getCurrentLayoutBounds",
|
|
3068
|
+
"_setCurrentLayoutBounds",
|
|
3069
|
+
"eachChild",
|
|
3070
|
+
"eachChildView",
|
|
3071
|
+
"_getNativeViewsCount",
|
|
3072
|
+
"_eachLayoutView",
|
|
3073
|
+
"focus",
|
|
3074
|
+
"getSafeAreaInsets",
|
|
3075
|
+
"getLocationInWindow",
|
|
3076
|
+
"getLocationOnScreen",
|
|
3077
|
+
"getLocationRelativeTo",
|
|
3078
|
+
"getActualSize",
|
|
3079
|
+
"animate",
|
|
3080
|
+
"createAnimation",
|
|
3081
|
+
"_removeAnimation",
|
|
3082
|
+
"resetNativeView",
|
|
3083
|
+
"_modifyNativeViewFrame",
|
|
3084
|
+
"_setNativeViewFrame",
|
|
3085
|
+
"_getValue",
|
|
3086
|
+
"_setValue",
|
|
3087
|
+
"_updateEffectiveLayoutValues",
|
|
3088
|
+
"_setNativeClipToBounds",
|
|
3089
|
+
"_redrawNativeBackground",
|
|
3090
|
+
"_applyBackground",
|
|
3091
|
+
"_onAttachedToWindow",
|
|
3092
|
+
"_onDetachedFromWindow",
|
|
3093
|
+
"_hasAncestorView",
|
|
3094
|
+
"_applyGlassEffect",
|
|
3095
|
+
"sendAccessibilityEvent",
|
|
3096
|
+
"accessibilityAnnouncement",
|
|
3097
|
+
"accessibilityScreenChanged",
|
|
3098
|
+
"setAccessibilityIdentifier",
|
|
3099
|
+
"_setMinWidthNative",
|
|
3100
|
+
"_setMinHeightNative" -> true
|
|
3101
|
+
else -> super<ViewBase>.jsHasMember(key)
|
|
3102
|
+
}
|
|
3103
|
+
|
|
3104
|
+
companion object {
|
|
3105
|
+
var layoutChangedEvent: String = "layoutChanged"
|
|
3106
|
+
var shownModallyEvent: String = "shownModally"
|
|
3107
|
+
var showingModallyEvent: String = "showingModally"
|
|
3108
|
+
var closedModallyEvent: String = "closedModally"
|
|
3109
|
+
var accessibilityBlurEvent: String =
|
|
3110
|
+
Core_accessibility_accessibility_common.accessibilityBlurEvent
|
|
3111
|
+
var accessibilityFocusEvent: String =
|
|
3112
|
+
Core_accessibility_accessibility_common.accessibilityFocusEvent
|
|
3113
|
+
var accessibilityFocusChangedEvent: String =
|
|
3114
|
+
Core_accessibility_accessibility_common.accessibilityFocusChangedEvent
|
|
3115
|
+
var accessibilityPerformEscapeEvent: String =
|
|
3116
|
+
Core_accessibility_accessibility_common.accessibilityPerformEscapeEvent
|
|
3117
|
+
var androidOverflowInsetEvent: String = "androidOverflowInset"
|
|
3118
|
+
|
|
3119
|
+
fun resolveSizeAndState(
|
|
3120
|
+
size: Double,
|
|
3121
|
+
specSize: Double,
|
|
3122
|
+
specMode: Double,
|
|
3123
|
+
childMeasuredState: Double,
|
|
3124
|
+
): Double {
|
|
3125
|
+
return ViewHelper.resolveSizeAndState(
|
|
3126
|
+
size,
|
|
3127
|
+
specSize,
|
|
3128
|
+
specMode,
|
|
3129
|
+
childMeasuredState,
|
|
3130
|
+
)
|
|
3131
|
+
}
|
|
3132
|
+
|
|
3133
|
+
fun combineMeasuredStates(curState: Double, newState: Any?): Double {
|
|
3134
|
+
return ViewHelper.combineMeasuredStates(curState, newState)
|
|
3135
|
+
}
|
|
3136
|
+
|
|
3137
|
+
fun layoutChild(
|
|
3138
|
+
parent: ViewCommon?,
|
|
3139
|
+
child: ViewCommon?,
|
|
3140
|
+
left: Double,
|
|
3141
|
+
top: Double,
|
|
3142
|
+
right: Double,
|
|
3143
|
+
bottom: Double,
|
|
3144
|
+
setFrame: Boolean = true,
|
|
3145
|
+
) {
|
|
3146
|
+
ViewHelper.layoutChild(
|
|
3147
|
+
(parent as View?),
|
|
3148
|
+
(child as View?),
|
|
3149
|
+
left,
|
|
3150
|
+
top,
|
|
3151
|
+
right,
|
|
3152
|
+
bottom,
|
|
3153
|
+
)
|
|
3154
|
+
}
|
|
3155
|
+
|
|
3156
|
+
fun measureChild(
|
|
3157
|
+
parent: ViewCommon?,
|
|
3158
|
+
child: ViewCommon?,
|
|
3159
|
+
widthMeasureSpec: Double,
|
|
3160
|
+
heightMeasureSpec: Double,
|
|
3161
|
+
): Any? {
|
|
3162
|
+
return ViewHelper.measureChild(
|
|
3163
|
+
(parent as View?),
|
|
3164
|
+
(child as View?),
|
|
3165
|
+
widthMeasureSpec,
|
|
3166
|
+
heightMeasureSpec,
|
|
3167
|
+
)
|
|
3168
|
+
}
|
|
3169
|
+
}
|
|
3170
|
+
}
|
|
3171
|
+
|
|
3172
|
+
@UiThread
|
|
3173
|
+
object Core_ui_core_view_view_common {
|
|
3174
|
+
init {
|
|
3175
|
+
jsLexical(
|
|
3176
|
+
"originXProperty",
|
|
3177
|
+
"originYProperty",
|
|
3178
|
+
"isEnabledProperty",
|
|
3179
|
+
"isUserInteractionEnabledProperty",
|
|
3180
|
+
"statusBarStyleProperty",
|
|
3181
|
+
"iosOverflowSafeAreaProperty",
|
|
3182
|
+
"iosOverflowSafeAreaEnabledProperty",
|
|
3183
|
+
"iosIgnoreSafeAreaProperty",
|
|
3184
|
+
"androidOverflowEdgeProperty",
|
|
3185
|
+
"iosGlassEffectProperty",
|
|
3186
|
+
"visionHoverStyleProperty",
|
|
3187
|
+
"visionIgnoreHoverStyleProperty",
|
|
3188
|
+
"touchAnimationProperty",
|
|
3189
|
+
"ignoreTouchAnimationProperty",
|
|
3190
|
+
"touchDelayProperty",
|
|
3191
|
+
"testIDProperty",
|
|
3192
|
+
)
|
|
3193
|
+
}
|
|
3194
|
+
|
|
3195
|
+
fun CSSType(type: String?): (Any?) -> Any? {
|
|
3196
|
+
return fun(cls: Any?): Any? {
|
|
3197
|
+
jsSet(jsGet(cls, "prototype"), "cssType", type)
|
|
3198
|
+
return null
|
|
3199
|
+
}
|
|
3200
|
+
}
|
|
3201
|
+
|
|
3202
|
+
fun viewMatchesModuleContext(
|
|
3203
|
+
view: ViewCommon?,
|
|
3204
|
+
context: Any?,
|
|
3205
|
+
types: JSArray<String>?,
|
|
3206
|
+
): Boolean {
|
|
3207
|
+
return jsConvertedBooleanOrFalse(
|
|
3208
|
+
(jsTruthy(
|
|
3209
|
+
jsAnd(
|
|
3210
|
+
(jsTruthy(
|
|
3211
|
+
jsAnd(
|
|
3212
|
+
kotlin.run {
|
|
3213
|
+
val __v_5 = context
|
|
3214
|
+
if (jsTruthy(__v_5))
|
|
3215
|
+
((view ?: jsCannotRead("_moduleName"))._moduleName
|
|
3216
|
+
?: "undefined")
|
|
3217
|
+
else jsConvertedStringOrEmpty(__v_5)
|
|
3218
|
+
}
|
|
3219
|
+
) {
|
|
3220
|
+
(jsConvertedStringOrNull(jsGet(context, "type")) ?: "undefined")
|
|
3221
|
+
}
|
|
3222
|
+
) &&
|
|
3223
|
+
(types ?: jsCannotRead("some")).some({ type: String? ->
|
|
3224
|
+
type == jsConvertedStringOrNull(jsGet(context, "type"))
|
|
3225
|
+
}))
|
|
3226
|
+
) {
|
|
3227
|
+
(jsConvertedStringOrNull(jsGet(context, "path")) ?: "undefined")
|
|
3228
|
+
}
|
|
3229
|
+
) &&
|
|
3230
|
+
jsIncludes(
|
|
3231
|
+
jsConvertedStringOrEmpty(jsGet(context, "path")),
|
|
3232
|
+
jsToString(((view ?: jsCannotRead("_moduleName"))._moduleName ?: "undefined")),
|
|
3233
|
+
))
|
|
3234
|
+
)
|
|
3235
|
+
}
|
|
3236
|
+
|
|
3237
|
+
fun PseudoClassHandler(pseudoClasses: JSArray<String>): (Any?, Any?, Any?) -> Any? {
|
|
3238
|
+
val stateEventNames: JSArray<String>? =
|
|
3239
|
+
pseudoClasses.map({ s: String? ->
|
|
3240
|
+
":" + jsToString((s ?: "undefined"))
|
|
3241
|
+
})
|
|
3242
|
+
return run<(Any?, Any?, Any?) -> Any?> {
|
|
3243
|
+
val __f =
|
|
3244
|
+
fun(target: Any?, propertyKey: String?, descriptor: Any?): Any? {
|
|
3245
|
+
val subscribeKey: JSSymbol =
|
|
3246
|
+
jsSymbol(jsToString((propertyKey ?: "undefined")) + "_flag")
|
|
3247
|
+
fun onSubscribe(__this: Any?, subscribe: Boolean) {
|
|
3248
|
+
if (subscribe != jsTruthy(jsGet(__this, subscribeKey.key))) {
|
|
3249
|
+
jsSet(__this, subscribeKey.key, subscribe)
|
|
3250
|
+
jsCall(
|
|
3251
|
+
jsGet(__this, jsToString((propertyKey ?: "undefined"))),
|
|
3252
|
+
subscribe,
|
|
3253
|
+
)
|
|
3254
|
+
}
|
|
3255
|
+
}
|
|
3256
|
+
for (eventName in (stateEventNames ?: jsObjectRequired())) {
|
|
3257
|
+
jsSet(
|
|
3258
|
+
target,
|
|
3259
|
+
eventName,
|
|
3260
|
+
JSMethod { __self, __a ->
|
|
3261
|
+
onSubscribe(__self, jsConvertedBooleanOrFalse(__a.getOrNull(0)))
|
|
3262
|
+
},
|
|
3263
|
+
)
|
|
3264
|
+
}
|
|
3265
|
+
return null
|
|
3266
|
+
};
|
|
3267
|
+
{ __a0: Any?, __a1: Any?, __a2: Any? -> __f(__a0, jsConvertedString(__a1), __a2) }
|
|
3268
|
+
}
|
|
3269
|
+
}
|
|
3270
|
+
|
|
3271
|
+
@JvmField var _rootModalViews: JSArray<ViewBase> = JSArray<ViewBase>()
|
|
3272
|
+
@JvmField val warnedEvent: JSSet<String> = JSSet<String>()
|
|
3273
|
+
|
|
3274
|
+
fun resolveEffectiveMax(value: Any?, availableSize: Double): Double {
|
|
3275
|
+
if (jsIsNullish(value) || jsStrictEquals(value, "auto")) {
|
|
3276
|
+
return Double.POSITIVE_INFINITY
|
|
3277
|
+
}
|
|
3278
|
+
if (
|
|
3279
|
+
jsTypeof(value) == "object" &&
|
|
3280
|
+
jsConvertedStringOrNull(jsGet((value), "unit")) == "%" &&
|
|
3281
|
+
availableSize < 0.0
|
|
3282
|
+
) {
|
|
3283
|
+
return Double.POSITIVE_INFINITY
|
|
3284
|
+
}
|
|
3285
|
+
val resolved: Double =
|
|
3286
|
+
org.nativescript.kit.PercentLength.toDevicePixels(
|
|
3287
|
+
value,
|
|
3288
|
+
Double.POSITIVE_INFINITY,
|
|
3289
|
+
availableSize,
|
|
3290
|
+
)
|
|
3291
|
+
return (if (resolved < 0.0) Double.POSITIVE_INFINITY else resolved)
|
|
3292
|
+
}
|
|
3293
|
+
|
|
3294
|
+
@get:JvmName("__get_originXProperty")
|
|
3295
|
+
@set:JvmName("__set_originXProperty")
|
|
3296
|
+
lateinit var originXProperty: Property
|
|
3297
|
+
@get:JvmName("__get_originYProperty")
|
|
3298
|
+
@set:JvmName("__set_originYProperty")
|
|
3299
|
+
lateinit var originYProperty: Property
|
|
3300
|
+
@get:JvmName("__get_isEnabledProperty")
|
|
3301
|
+
@set:JvmName("__set_isEnabledProperty")
|
|
3302
|
+
lateinit var isEnabledProperty: Property
|
|
3303
|
+
@get:JvmName("__get_isUserInteractionEnabledProperty")
|
|
3304
|
+
@set:JvmName("__set_isUserInteractionEnabledProperty")
|
|
3305
|
+
lateinit var isUserInteractionEnabledProperty: Property
|
|
3306
|
+
@get:JvmName("__get_statusBarStyleProperty")
|
|
3307
|
+
@set:JvmName("__set_statusBarStyleProperty")
|
|
3308
|
+
lateinit var statusBarStyleProperty: CssProperty
|
|
3309
|
+
@get:JvmName("__get_iosOverflowSafeAreaProperty")
|
|
3310
|
+
@set:JvmName("__set_iosOverflowSafeAreaProperty")
|
|
3311
|
+
lateinit var iosOverflowSafeAreaProperty: Property
|
|
3312
|
+
@get:JvmName("__get_iosOverflowSafeAreaEnabledProperty")
|
|
3313
|
+
@set:JvmName("__set_iosOverflowSafeAreaEnabledProperty")
|
|
3314
|
+
lateinit var iosOverflowSafeAreaEnabledProperty: InheritedProperty
|
|
3315
|
+
@get:JvmName("__get_iosIgnoreSafeAreaProperty")
|
|
3316
|
+
@set:JvmName("__set_iosIgnoreSafeAreaProperty")
|
|
3317
|
+
lateinit var iosIgnoreSafeAreaProperty: InheritedProperty
|
|
3318
|
+
@get:JvmName("__get_androidOverflowEdgeProperty")
|
|
3319
|
+
@set:JvmName("__set_androidOverflowEdgeProperty")
|
|
3320
|
+
lateinit var androidOverflowEdgeProperty: Property
|
|
3321
|
+
@get:JvmName("__get_iosGlassEffectProperty")
|
|
3322
|
+
@set:JvmName("__set_iosGlassEffectProperty")
|
|
3323
|
+
lateinit var iosGlassEffectProperty: Property
|
|
3324
|
+
@get:JvmName("__get_visionHoverStyleProperty")
|
|
3325
|
+
@set:JvmName("__set_visionHoverStyleProperty")
|
|
3326
|
+
lateinit var visionHoverStyleProperty: Property
|
|
3327
|
+
@get:JvmName("__get_visionIgnoreHoverStyleProperty")
|
|
3328
|
+
@set:JvmName("__set_visionIgnoreHoverStyleProperty")
|
|
3329
|
+
lateinit var visionIgnoreHoverStyleProperty: Property
|
|
3330
|
+
@get:JvmName("__get_touchAnimationProperty")
|
|
3331
|
+
@set:JvmName("__set_touchAnimationProperty")
|
|
3332
|
+
lateinit var touchAnimationProperty: Property
|
|
3333
|
+
@get:JvmName("__get_ignoreTouchAnimationProperty")
|
|
3334
|
+
@set:JvmName("__set_ignoreTouchAnimationProperty")
|
|
3335
|
+
lateinit var ignoreTouchAnimationProperty: Property
|
|
3336
|
+
@get:JvmName("__get_touchDelayProperty")
|
|
3337
|
+
@set:JvmName("__set_touchDelayProperty")
|
|
3338
|
+
lateinit var touchDelayProperty: Property
|
|
3339
|
+
@get:JvmName("__get_testIDProperty")
|
|
3340
|
+
@set:JvmName("__set_testIDProperty")
|
|
3341
|
+
lateinit var testIDProperty: Property
|
|
3342
|
+
|
|
3343
|
+
fun __init() {
|
|
3344
|
+
try {
|
|
3345
|
+
_rootModalViews = JSArray<ViewBase>()
|
|
3346
|
+
originXProperty =
|
|
3347
|
+
Property(
|
|
3348
|
+
jsObjectOf(
|
|
3349
|
+
"name" to "originX",
|
|
3350
|
+
"defaultValue" to 0.5,
|
|
3351
|
+
"valueConverter" to
|
|
3352
|
+
{ v: Any? ->
|
|
3353
|
+
jsParseFloat(jsToString(v))
|
|
3354
|
+
},
|
|
3355
|
+
)
|
|
3356
|
+
)
|
|
3357
|
+
Core_ui_core_view_view_common.originXProperty.register(
|
|
3358
|
+
ViewCommon::class.java
|
|
3359
|
+
)
|
|
3360
|
+
originYProperty =
|
|
3361
|
+
Property(
|
|
3362
|
+
jsObjectOf(
|
|
3363
|
+
"name" to "originY",
|
|
3364
|
+
"defaultValue" to 0.5,
|
|
3365
|
+
"valueConverter" to
|
|
3366
|
+
{ v: Any? ->
|
|
3367
|
+
jsParseFloat(jsToString(v))
|
|
3368
|
+
},
|
|
3369
|
+
)
|
|
3370
|
+
)
|
|
3371
|
+
Core_ui_core_view_view_common.originYProperty.register(
|
|
3372
|
+
ViewCommon::class.java
|
|
3373
|
+
)
|
|
3374
|
+
isEnabledProperty =
|
|
3375
|
+
Property(
|
|
3376
|
+
kotlin.run {
|
|
3377
|
+
val __o_1 = JSObject()
|
|
3378
|
+
__o_1["name"] = "isEnabled"
|
|
3379
|
+
__o_1["defaultValue"] = true
|
|
3380
|
+
__o_1["valueConverter"] = Core_ui_core_view_base_utils::booleanConverter
|
|
3381
|
+
__o_1["valueChanged"] =
|
|
3382
|
+
{ target: ViewCommon?, _: Boolean, newValue: Boolean ->
|
|
3383
|
+
val state: String = "disabled"
|
|
3384
|
+
if (newValue) {
|
|
3385
|
+
(target ?: jsCannotRead("_removeVisualState"))
|
|
3386
|
+
._removeVisualState(state)
|
|
3387
|
+
} else {
|
|
3388
|
+
(target ?: jsCannotRead("_addVisualState"))
|
|
3389
|
+
._addVisualState(state)
|
|
3390
|
+
}
|
|
3391
|
+
}
|
|
3392
|
+
__o_1
|
|
3393
|
+
}
|
|
3394
|
+
)
|
|
3395
|
+
Core_ui_core_view_view_common.isEnabledProperty.register(
|
|
3396
|
+
ViewCommon::class.java
|
|
3397
|
+
)
|
|
3398
|
+
isUserInteractionEnabledProperty =
|
|
3399
|
+
Property(
|
|
3400
|
+
jsObjectOf(
|
|
3401
|
+
"name" to "isUserInteractionEnabled",
|
|
3402
|
+
"defaultValue" to true,
|
|
3403
|
+
"valueConverter" to Core_ui_core_view_base_utils::booleanConverter,
|
|
3404
|
+
)
|
|
3405
|
+
)
|
|
3406
|
+
Core_ui_core_view_view_common.isUserInteractionEnabledProperty.register(
|
|
3407
|
+
ViewCommon::class.java
|
|
3408
|
+
)
|
|
3409
|
+
statusBarStyleProperty =
|
|
3410
|
+
CssProperty(jsObjectOf("name" to "statusBarStyle", "cssName" to "status-bar-style"))
|
|
3411
|
+
Core_ui_core_view_view_common.statusBarStyleProperty.register(
|
|
3412
|
+
Style::class.java
|
|
3413
|
+
)
|
|
3414
|
+
iosOverflowSafeAreaProperty =
|
|
3415
|
+
Property(
|
|
3416
|
+
jsObjectOf(
|
|
3417
|
+
"name" to "iosOverflowSafeArea",
|
|
3418
|
+
"defaultValue" to false,
|
|
3419
|
+
"valueConverter" to Core_ui_core_view_base_utils::booleanConverter,
|
|
3420
|
+
)
|
|
3421
|
+
)
|
|
3422
|
+
Core_ui_core_view_view_common.iosOverflowSafeAreaProperty.register(
|
|
3423
|
+
ViewCommon::class.java
|
|
3424
|
+
)
|
|
3425
|
+
iosOverflowSafeAreaEnabledProperty =
|
|
3426
|
+
InheritedProperty(
|
|
3427
|
+
jsObjectOf(
|
|
3428
|
+
"name" to "iosOverflowSafeAreaEnabled",
|
|
3429
|
+
"defaultValue" to true,
|
|
3430
|
+
"valueConverter" to Core_ui_core_view_base_utils::booleanConverter,
|
|
3431
|
+
)
|
|
3432
|
+
)
|
|
3433
|
+
Core_ui_core_view_view_common.iosOverflowSafeAreaEnabledProperty.register(
|
|
3434
|
+
ViewCommon::class.java
|
|
3435
|
+
)
|
|
3436
|
+
iosIgnoreSafeAreaProperty =
|
|
3437
|
+
InheritedProperty(
|
|
3438
|
+
jsObjectOf(
|
|
3439
|
+
"name" to "iosIgnoreSafeArea",
|
|
3440
|
+
"defaultValue" to false,
|
|
3441
|
+
"valueConverter" to Core_ui_core_view_base_utils::booleanConverter,
|
|
3442
|
+
)
|
|
3443
|
+
)
|
|
3444
|
+
Core_ui_core_view_view_common.iosIgnoreSafeAreaProperty.register(
|
|
3445
|
+
ViewCommon::class.java
|
|
3446
|
+
)
|
|
3447
|
+
androidOverflowEdgeProperty =
|
|
3448
|
+
Property(jsObjectOf("name" to "androidOverflowEdge", "defaultValue" to "ignore"))
|
|
3449
|
+
Core_ui_core_view_view_common.androidOverflowEdgeProperty.register(
|
|
3450
|
+
ViewCommon::class.java
|
|
3451
|
+
)
|
|
3452
|
+
iosGlassEffectProperty = Property(jsObjectOf("name" to "iosGlassEffect"))
|
|
3453
|
+
Core_ui_core_view_view_common.iosGlassEffectProperty.register(
|
|
3454
|
+
ViewCommon::class.java
|
|
3455
|
+
)
|
|
3456
|
+
visionHoverStyleProperty =
|
|
3457
|
+
Property(
|
|
3458
|
+
kotlin.run {
|
|
3459
|
+
val __o_2 = JSObject()
|
|
3460
|
+
__o_2["name"] = "visionHoverStyle"
|
|
3461
|
+
__o_2["valueChanged"] = { view: ViewCommon?, _: Any?, newValue: Any? ->
|
|
3462
|
+
(view ?: jsCannotSet("visionHoverStyle"))
|
|
3463
|
+
.visionHoverStyle = newValue
|
|
3464
|
+
}
|
|
3465
|
+
__o_2
|
|
3466
|
+
}
|
|
3467
|
+
)
|
|
3468
|
+
Core_ui_core_view_view_common.visionHoverStyleProperty.register(
|
|
3469
|
+
ViewCommon::class.java
|
|
3470
|
+
)
|
|
3471
|
+
visionIgnoreHoverStyleProperty =
|
|
3472
|
+
Property(
|
|
3473
|
+
kotlin.run {
|
|
3474
|
+
val __o_3 = JSObject()
|
|
3475
|
+
__o_3["name"] = "visionIgnoreHoverStyle"
|
|
3476
|
+
__o_3["valueChanged"] = kotlin.run {
|
|
3477
|
+
val __f = { view: ViewCommon?, _: Boolean, newValue: Boolean ->
|
|
3478
|
+
(view ?: jsCannotSet("visionIgnoreHoverStyle"))
|
|
3479
|
+
.visionIgnoreHoverStyle = newValue
|
|
3480
|
+
};
|
|
3481
|
+
{ __u0: Any?, __u1: Any?, __u2: Any? ->
|
|
3482
|
+
__f(
|
|
3483
|
+
jsCast(__u0, ViewCommon::class.java),
|
|
3484
|
+
jsConvertedBooleanOrFalse(__u1),
|
|
3485
|
+
jsConvertedBooleanOrFalse(__u2),
|
|
3486
|
+
)
|
|
3487
|
+
Unit
|
|
3488
|
+
}
|
|
3489
|
+
}
|
|
3490
|
+
__o_3["valueConverter"] = Core_ui_core_view_base_utils::booleanConverter
|
|
3491
|
+
__o_3
|
|
3492
|
+
}
|
|
3493
|
+
)
|
|
3494
|
+
Core_ui_core_view_view_common.visionIgnoreHoverStyleProperty.register(
|
|
3495
|
+
ViewCommon::class.java
|
|
3496
|
+
)
|
|
3497
|
+
touchAnimationProperty =
|
|
3498
|
+
Property(
|
|
3499
|
+
kotlin.run {
|
|
3500
|
+
val __o_4 = JSObject()
|
|
3501
|
+
__o_4["name"] = "touchAnimation"
|
|
3502
|
+
__o_4["valueChanged"] = { view: ViewCommon?, _: Any?, newValue: Any? ->
|
|
3503
|
+
(view ?: jsCannotSet("touchAnimation")).touchAnimation =
|
|
3504
|
+
newValue
|
|
3505
|
+
}
|
|
3506
|
+
__o_4["valueConverter"] =
|
|
3507
|
+
fun(value: String?): Any? {
|
|
3508
|
+
if (Core_utils_types.isObject(value)) {
|
|
3509
|
+
return (value
|
|
3510
|
+
as
|
|
3511
|
+
Object_toString_charAt_charCodeAt_concat_indexOf_lastIndexOf_loc_50)
|
|
3512
|
+
} else {
|
|
3513
|
+
return Core_ui_core_view_base_utils
|
|
3514
|
+
.booleanConverter(value)
|
|
3515
|
+
}
|
|
3516
|
+
}
|
|
3517
|
+
__o_4
|
|
3518
|
+
}
|
|
3519
|
+
)
|
|
3520
|
+
Core_ui_core_view_view_common.touchAnimationProperty.register(
|
|
3521
|
+
ViewCommon::class.java
|
|
3522
|
+
)
|
|
3523
|
+
ignoreTouchAnimationProperty =
|
|
3524
|
+
Property(
|
|
3525
|
+
kotlin.run {
|
|
3526
|
+
val __o_5 = JSObject()
|
|
3527
|
+
__o_5["name"] = "ignoreTouchAnimation"
|
|
3528
|
+
__o_5["valueChanged"] = kotlin.run {
|
|
3529
|
+
val __f = { view: ViewCommon?, _: Boolean, newValue: Boolean ->
|
|
3530
|
+
(view ?: jsCannotSet("ignoreTouchAnimation"))
|
|
3531
|
+
.ignoreTouchAnimation = newValue
|
|
3532
|
+
};
|
|
3533
|
+
{ __u0: Any?, __u1: Any?, __u2: Any? ->
|
|
3534
|
+
__f(
|
|
3535
|
+
jsCast(__u0, ViewCommon::class.java),
|
|
3536
|
+
jsConvertedBooleanOrFalse(__u1),
|
|
3537
|
+
jsConvertedBooleanOrFalse(__u2),
|
|
3538
|
+
)
|
|
3539
|
+
Unit
|
|
3540
|
+
}
|
|
3541
|
+
}
|
|
3542
|
+
__o_5["valueConverter"] = Core_ui_core_view_base_utils::booleanConverter
|
|
3543
|
+
__o_5
|
|
3544
|
+
}
|
|
3545
|
+
)
|
|
3546
|
+
Core_ui_core_view_view_common.ignoreTouchAnimationProperty.register(
|
|
3547
|
+
ViewCommon::class.java
|
|
3548
|
+
)
|
|
3549
|
+
touchDelayProperty =
|
|
3550
|
+
Property(
|
|
3551
|
+
kotlin.run {
|
|
3552
|
+
val __o_6 = JSObject()
|
|
3553
|
+
__o_6["name"] = "touchDelay"
|
|
3554
|
+
__o_6["valueChanged"] = kotlin.run {
|
|
3555
|
+
val __f = { view: ViewCommon?, _: Double, newValue: Double ->
|
|
3556
|
+
(view ?: jsCannotSet("touchDelay")).touchDelay =
|
|
3557
|
+
newValue
|
|
3558
|
+
};
|
|
3559
|
+
{ __u0: Any?, __u1: Any?, __u2: Any? ->
|
|
3560
|
+
__f(
|
|
3561
|
+
jsCast(__u0, ViewCommon::class.java),
|
|
3562
|
+
jsConvertedNumberOrZero(__u1),
|
|
3563
|
+
jsConvertedNumberOrZero(__u2),
|
|
3564
|
+
)
|
|
3565
|
+
Unit
|
|
3566
|
+
}
|
|
3567
|
+
}
|
|
3568
|
+
__o_6["valueConverter"] = { v: Any? ->
|
|
3569
|
+
jsParseFloat(jsToString(v))
|
|
3570
|
+
}
|
|
3571
|
+
__o_6
|
|
3572
|
+
}
|
|
3573
|
+
)
|
|
3574
|
+
Core_ui_core_view_view_common.touchDelayProperty.register(
|
|
3575
|
+
ViewCommon::class.java
|
|
3576
|
+
)
|
|
3577
|
+
testIDProperty = Property(jsObjectOf("name" to "testID"))
|
|
3578
|
+
Core_ui_core_view_view_common.testIDProperty.register(
|
|
3579
|
+
ViewCommon::class.java
|
|
3580
|
+
)
|
|
3581
|
+
Core_accessibility_accessibility_properties
|
|
3582
|
+
.accessibilityIdentifierProperty
|
|
3583
|
+
.register(ViewCommon::class.java)
|
|
3584
|
+
Core_accessibility_accessibility_properties.accessibilityLabelProperty
|
|
3585
|
+
.register(ViewCommon::class.java)
|
|
3586
|
+
Core_accessibility_accessibility_properties.accessibilityValueProperty
|
|
3587
|
+
.register(ViewCommon::class.java)
|
|
3588
|
+
Core_accessibility_accessibility_properties.accessibilityHintProperty
|
|
3589
|
+
.register(ViewCommon::class.java)
|
|
3590
|
+
Core_accessibility_accessibility_properties
|
|
3591
|
+
.accessibilityIgnoresInvertColorsProperty
|
|
3592
|
+
.register(ViewCommon::class.java)
|
|
3593
|
+
} catch (__e: Throwable) {
|
|
3594
|
+
jsReportThrown(__e)
|
|
3595
|
+
}
|
|
3596
|
+
}
|
|
3597
|
+
}
|