@nstudio/nativescript-compiler 0.0.0-stage → 9.2.0-alpha.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +624 -0
- package/dist/kotlin/app-modules.js +111 -0
- package/dist/kotlin/arguments.js +397 -0
- package/dist/kotlin/assignment.js +226 -0
- package/dist/kotlin/builtins.js +575 -0
- package/dist/kotlin/calls.js +516 -0
- package/dist/kotlin/checked.js +61 -0
- package/dist/kotlin/class-accessors.js +129 -0
- package/dist/kotlin/class-constructor.js +117 -0
- package/dist/kotlin/class-declaration.js +308 -0
- package/dist/kotlin/class-fields.js +361 -0
- package/dist/kotlin/class-methods.js +213 -0
- package/dist/kotlin/classes.js +333 -0
- package/dist/kotlin/components.js +445 -0
- package/dist/kotlin/construction.js +228 -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 +461 -0
- package/dist/kotlin/functions.js +474 -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 +184 -0
- package/dist/kotlin/mixins.js +103 -0
- package/dist/kotlin/modules.js +769 -0
- package/dist/kotlin/names.js +274 -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 +445 -0
- package/dist/kotlin/optional-chains.js +279 -0
- package/dist/kotlin/overrides.js +825 -0
- package/dist/kotlin/placement.js +746 -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 +806 -0
- package/dist/kotlin/type-facts.js +414 -0
- package/dist/kotlin/type-tests.js +250 -0
- package/dist/kotlin/types.js +655 -0
- package/dist/kotlin/untyped-values.js +354 -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 +1040 -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 +425 -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 +180 -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 +878 -0
- package/dist/semantics/top-names.js +59 -0
- package/dist/semantics/translator-methods.js +597 -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 +456 -0
- package/dist/semantics/worker-state.js +198 -0
- package/dist/swift/access.js +749 -0
- package/dist/swift/app-modules.js +41 -0
- package/dist/swift/arguments.js +236 -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 +139 -0
- package/dist/swift/class-declaration.js +282 -0
- package/dist/swift/class-fields.js +360 -0
- package/dist/swift/class-methods.js +229 -0
- package/dist/swift/classes.js +522 -0
- package/dist/swift/components.js +386 -0
- package/dist/swift/construction.js +287 -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 +568 -0
- package/dist/swift/from-any.js +316 -0
- package/dist/swift/functions.js +487 -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 +244 -0
- package/dist/swift/marks.js +212 -0
- package/dist/swift/members.js +253 -0
- package/dist/swift/method-values.js +177 -0
- package/dist/swift/mixins.js +113 -0
- package/dist/swift/modules.js +969 -0
- package/dist/swift/names.js +371 -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 +571 -0
- package/dist/swift/optional-chains.js +405 -0
- package/dist/swift/parameters.js +210 -0
- package/dist/swift/placement.js +896 -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 +886 -0
- package/dist/swift/type-facts.js +539 -0
- package/dist/swift/type-tests.js +211 -0
- package/dist/swift/types.js +659 -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 +668 -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 +651 -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 +518 -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 +1237 -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 +700 -0
- package/kit-apple/Sources/NativeScriptKit/Core/data.observable.index.swift +1166 -0
- package/kit-apple/Sources/NativeScriptKit/Core/data.virtual-array.index.swift +326 -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 +30789 -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 +3238 -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 +1046 -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 +64 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/Array.swift +1640 -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 +470 -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 +340 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/Inspect.swift +758 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/Interop.swift +42 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/Intl.swift +728 -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 +588 -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 +2061 -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,4347 @@
|
|
|
1
|
+
// Generated from @nativescript/core by tools/kit: edit core, not this file.
|
|
2
|
+
|
|
3
|
+
import CFNetwork
|
|
4
|
+
import CoreFoundation
|
|
5
|
+
import CoreGraphics
|
|
6
|
+
import CoreServices
|
|
7
|
+
import CoreText
|
|
8
|
+
import Dispatch
|
|
9
|
+
import Foundation
|
|
10
|
+
import ObjectiveC
|
|
11
|
+
import Photos
|
|
12
|
+
import QuartzCore
|
|
13
|
+
import Symbols
|
|
14
|
+
import SystemConfiguration
|
|
15
|
+
import UIKit
|
|
16
|
+
import WebKit
|
|
17
|
+
|
|
18
|
+
open class ViewCommon: ViewBase {
|
|
19
|
+
nonisolated deinit {}
|
|
20
|
+
public static var layoutChangedEvent: String = "layoutChanged"
|
|
21
|
+
public static var shownModallyEvent: String = "shownModally"
|
|
22
|
+
public static var showingModallyEvent: String = "showingModally"
|
|
23
|
+
/// Fired on the modal view once its native dismissal has fully completed
|
|
24
|
+
/// (after the close callback and UI teardown). Unlike `closeCallback` —
|
|
25
|
+
/// which is captured per-show — any observer can listen for this, e.g.
|
|
26
|
+
/// tooling that needs to re-present a modal (dev-time HMR).
|
|
27
|
+
public static var closedModallyEvent: String = "closedModally"
|
|
28
|
+
public static var accessibilityBlurEvent: String = Core_accessibility_accessibility_common.accessibilityBlurEvent
|
|
29
|
+
public static var accessibilityFocusEvent: String = Core_accessibility_accessibility_common.accessibilityFocusEvent
|
|
30
|
+
public static var accessibilityFocusChangedEvent: String = Core_accessibility_accessibility_common
|
|
31
|
+
.accessibilityFocusChangedEvent
|
|
32
|
+
public static var accessibilityPerformEscapeEvent: String = Core_accessibility_accessibility_common
|
|
33
|
+
.accessibilityPerformEscapeEvent
|
|
34
|
+
public static var androidOverflowInsetEvent: String = "androidOverflowInset"
|
|
35
|
+
private static let jsSite_ViewCommon_accessibilityIdentifier = JSReadSite("accessibilityIdentifier")
|
|
36
|
+
open var accessibilityIdentifier: String {
|
|
37
|
+
get { jsLenientString(jsExpandoGet(self, ViewCommon.jsSite_ViewCommon_accessibilityIdentifier)) }
|
|
38
|
+
set { jsExpandoSet(self, "accessibilityIdentifier", newValue) }
|
|
39
|
+
}
|
|
40
|
+
private static let jsSite_ViewCommon_accessibilityLabel = JSReadSite("accessibilityLabel")
|
|
41
|
+
open var accessibilityLabel: String {
|
|
42
|
+
get { jsLenientString(jsExpandoGet(self, ViewCommon.jsSite_ViewCommon_accessibilityLabel)) }
|
|
43
|
+
set { jsExpandoSet(self, "accessibilityLabel", newValue) }
|
|
44
|
+
}
|
|
45
|
+
private static let jsSite_ViewCommon_accessibilityValue = JSReadSite("accessibilityValue")
|
|
46
|
+
open var accessibilityValue: String {
|
|
47
|
+
get { jsLenientString(jsExpandoGet(self, ViewCommon.jsSite_ViewCommon_accessibilityValue)) }
|
|
48
|
+
set { jsExpandoSet(self, "accessibilityValue", newValue) }
|
|
49
|
+
}
|
|
50
|
+
private static let jsSite_ViewCommon_accessibilityHint = JSReadSite("accessibilityHint")
|
|
51
|
+
open var accessibilityHint: String {
|
|
52
|
+
get { jsLenientString(jsExpandoGet(self, ViewCommon.jsSite_ViewCommon_accessibilityHint)) }
|
|
53
|
+
set { jsExpandoSet(self, "accessibilityHint", newValue) }
|
|
54
|
+
}
|
|
55
|
+
private static let jsSite_ViewCommon_accessibilityIgnoresInvertColors = JSReadSite(
|
|
56
|
+
"accessibilityIgnoresInvertColors")
|
|
57
|
+
open var accessibilityIgnoresInvertColors: Bool {
|
|
58
|
+
get { jsLenientBool(jsExpandoGet(self, ViewCommon.jsSite_ViewCommon_accessibilityIgnoresInvertColors)) }
|
|
59
|
+
set { jsExpandoSet(self, "accessibilityIgnoresInvertColors", newValue) }
|
|
60
|
+
}
|
|
61
|
+
private static let jsSite_ViewCommon_originX = JSReadSite("originX")
|
|
62
|
+
open var originX: Double {
|
|
63
|
+
get { jsLenientNumber(jsExpandoGet(self, ViewCommon.jsSite_ViewCommon_originX)) }
|
|
64
|
+
set { jsExpandoSet(self, "originX", newValue) }
|
|
65
|
+
}
|
|
66
|
+
private static let jsSite_ViewCommon_originY = JSReadSite("originY")
|
|
67
|
+
open var originY: Double {
|
|
68
|
+
get { jsLenientNumber(jsExpandoGet(self, ViewCommon.jsSite_ViewCommon_originY)) }
|
|
69
|
+
set { jsExpandoSet(self, "originY", newValue) }
|
|
70
|
+
}
|
|
71
|
+
private static let jsSite_ViewCommon_isEnabled = JSReadSite("isEnabled")
|
|
72
|
+
open var isEnabled: Bool {
|
|
73
|
+
get { jsLenientBool(jsExpandoGet(self, ViewCommon.jsSite_ViewCommon_isEnabled)) }
|
|
74
|
+
set { jsExpandoSet(self, "isEnabled", newValue) }
|
|
75
|
+
}
|
|
76
|
+
private static let jsSite_ViewCommon_isUserInteractionEnabled = JSReadSite("isUserInteractionEnabled")
|
|
77
|
+
open var isUserInteractionEnabled: Bool {
|
|
78
|
+
get { jsLenientBool(jsExpandoGet(self, ViewCommon.jsSite_ViewCommon_isUserInteractionEnabled)) }
|
|
79
|
+
set { jsExpandoSet(self, "isUserInteractionEnabled", newValue) }
|
|
80
|
+
}
|
|
81
|
+
private static let jsSite_ViewCommon_iosOverflowSafeArea = JSReadSite("iosOverflowSafeArea")
|
|
82
|
+
open var iosOverflowSafeArea: Bool {
|
|
83
|
+
get { jsLenientBool(jsExpandoGet(self, ViewCommon.jsSite_ViewCommon_iosOverflowSafeArea)) }
|
|
84
|
+
set { jsExpandoSet(self, "iosOverflowSafeArea", newValue) }
|
|
85
|
+
}
|
|
86
|
+
private static let jsSite_ViewCommon_iosOverflowSafeAreaEnabled = JSReadSite("iosOverflowSafeAreaEnabled")
|
|
87
|
+
open var iosOverflowSafeAreaEnabled: Bool {
|
|
88
|
+
get { jsLenientBool(jsExpandoGet(self, ViewCommon.jsSite_ViewCommon_iosOverflowSafeAreaEnabled)) }
|
|
89
|
+
set { jsExpandoSet(self, "iosOverflowSafeAreaEnabled", newValue) }
|
|
90
|
+
}
|
|
91
|
+
private static let jsSite_ViewCommon_iosIgnoreSafeArea = JSReadSite("iosIgnoreSafeArea")
|
|
92
|
+
open var iosIgnoreSafeArea: Bool {
|
|
93
|
+
get { jsLenientBool(jsExpandoGet(self, ViewCommon.jsSite_ViewCommon_iosIgnoreSafeArea)) }
|
|
94
|
+
set { jsExpandoSet(self, "iosIgnoreSafeArea", newValue) }
|
|
95
|
+
}
|
|
96
|
+
private static let jsSite_ViewCommon_androidOverflowEdge = JSReadSite("androidOverflowEdge")
|
|
97
|
+
open var androidOverflowEdge: String {
|
|
98
|
+
get { jsLenientString(jsExpandoGet(self, ViewCommon.jsSite_ViewCommon_androidOverflowEdge)) }
|
|
99
|
+
set { jsExpandoSet(self, "androidOverflowEdge", newValue) }
|
|
100
|
+
}
|
|
101
|
+
private static let jsSite_ViewCommon_testID = JSReadSite("testID")
|
|
102
|
+
open var testID: String {
|
|
103
|
+
get { jsLenientString(jsExpandoGet(self, ViewCommon.jsSite_ViewCommon_testID)) }
|
|
104
|
+
set { jsExpandoSet(self, "testID", newValue) }
|
|
105
|
+
}
|
|
106
|
+
private static let jsSite_ViewCommon_touchAnimation = JSReadSite("touchAnimation")
|
|
107
|
+
open var touchAnimation: Any? {
|
|
108
|
+
get { jsExpandoGet(self, ViewCommon.jsSite_ViewCommon_touchAnimation) }
|
|
109
|
+
set { jsExpandoSet(self, "touchAnimation", newValue) }
|
|
110
|
+
}
|
|
111
|
+
private static let jsSite_ViewCommon_ignoreTouchAnimation = JSReadSite("ignoreTouchAnimation")
|
|
112
|
+
open var ignoreTouchAnimation: Bool {
|
|
113
|
+
get { jsLenientBool(jsExpandoGet(self, ViewCommon.jsSite_ViewCommon_ignoreTouchAnimation)) }
|
|
114
|
+
set { jsExpandoSet(self, "ignoreTouchAnimation", newValue) }
|
|
115
|
+
}
|
|
116
|
+
private static let jsSite_ViewCommon_touchDelay = JSReadSite("touchDelay")
|
|
117
|
+
open var touchDelay: Double {
|
|
118
|
+
get { jsLenientNumber(jsExpandoGet(self, ViewCommon.jsSite_ViewCommon_touchDelay)) }
|
|
119
|
+
set { jsExpandoSet(self, "touchDelay", newValue) }
|
|
120
|
+
}
|
|
121
|
+
private static let jsSite_ViewCommon_visionHoverStyle = JSReadSite("visionHoverStyle")
|
|
122
|
+
/// visionOS only
|
|
123
|
+
open var visionHoverStyle: Any? {
|
|
124
|
+
get { jsExpandoGet(self, ViewCommon.jsSite_ViewCommon_visionHoverStyle) }
|
|
125
|
+
set { jsExpandoSet(self, "visionHoverStyle", newValue) }
|
|
126
|
+
}
|
|
127
|
+
private static let jsSite_ViewCommon_visionIgnoreHoverStyle = JSReadSite("visionIgnoreHoverStyle")
|
|
128
|
+
open var visionIgnoreHoverStyle: Bool {
|
|
129
|
+
get { jsLenientBool(jsExpandoGet(self, ViewCommon.jsSite_ViewCommon_visionIgnoreHoverStyle)) }
|
|
130
|
+
set { jsExpandoSet(self, "visionIgnoreHoverStyle", newValue) }
|
|
131
|
+
}
|
|
132
|
+
private static let jsSite_ViewCommon_iosGlassEffect = JSReadSite("iosGlassEffect")
|
|
133
|
+
/// iOS 26+ Glass
|
|
134
|
+
open var iosGlassEffect: Any? {
|
|
135
|
+
get { jsExpandoGet(self, ViewCommon.jsSite_ViewCommon_iosGlassEffect) }
|
|
136
|
+
set { jsExpandoSet(self, "iosGlassEffect", newValue) }
|
|
137
|
+
}
|
|
138
|
+
open var _closeModalCallback: Any? = nil {
|
|
139
|
+
didSet { if jsMadeBits1 & (1 << 29) == 0 { jsMadeNote(&jsMadeBits1, &jsMade, 1 << 29, "_closeModalCallback") } }
|
|
140
|
+
}
|
|
141
|
+
open var _manager: Any? = nil {
|
|
142
|
+
didSet { if jsMadeBits1 & (1 << 30) == 0 { jsMadeNote(&jsMadeBits1, &jsMade, 1 << 30, "_manager") } }
|
|
143
|
+
}
|
|
144
|
+
open weak var _modalParent: ViewCommon? {
|
|
145
|
+
didSet { if jsMadeBits1 & (1 << 31) == 0 { jsMadeNote(&jsMadeBits1, &jsMade, 1 << 31, "_modalParent") } }
|
|
146
|
+
}
|
|
147
|
+
/// @internal – the window this view is the root view of. Only ever set on a window's
|
|
148
|
+
/// root view; every other view resolves its window by walking up to that root.
|
|
149
|
+
///
|
|
150
|
+
/// Kept on the view instead of in a window-side registry so the lookup needs no runtime
|
|
151
|
+
/// dependency on the native-window module.
|
|
152
|
+
open var _nativeWindow: NativeWindow? {
|
|
153
|
+
didSet { if jsMadeBits1 & (1 << 32) == 0 { jsMadeNote(&jsMadeBits1, &jsMade, 1 << 32, "_nativeWindow") } }
|
|
154
|
+
}
|
|
155
|
+
/// The ShowModalOptions this view is currently presented with (set in
|
|
156
|
+
/// _showNativeModalView, cleared on close). Lets tooling re-present the
|
|
157
|
+
/// modal with its original options — e.g. dev-time HMR re-show — which
|
|
158
|
+
/// are otherwise only captured inside the close-callback closure.
|
|
159
|
+
open var _modalOptions: Any? = nil {
|
|
160
|
+
didSet { if jsMadeBits1 & (1 << 33) == 0 { jsMadeNote(&jsMadeBits1, &jsMade, 1 << 33, "_modalOptions") } }
|
|
161
|
+
}
|
|
162
|
+
open var _modalContext: Any? = nil {
|
|
163
|
+
didSet { if jsMadeBits1 & (1 << 34) == 0 { jsMadeNote(&jsMadeBits1, &jsMade, 1 << 34, "_modalContext") } }
|
|
164
|
+
}
|
|
165
|
+
open var _modal: ViewCommon? {
|
|
166
|
+
didSet { if jsMadeBits1 & (1 << 35) == 0 { jsMadeNote(&jsMadeBits1, &jsMade, 1 << 35, "_modal") } }
|
|
167
|
+
}
|
|
168
|
+
/// Active transition instance id for tracking state
|
|
169
|
+
open var transitionId: Double = .nan {
|
|
170
|
+
didSet { if jsMadeBits1 & (1 << 36) == 0 { jsMadeNote(&jsMadeBits1, &jsMade, 1 << 36, "transitionId") } }
|
|
171
|
+
}
|
|
172
|
+
open var _measuredWidth: Double = .nan {
|
|
173
|
+
didSet { if jsMadeBits1 & (1 << 37) == 0 { jsMadeNote(&jsMadeBits1, &jsMade, 1 << 37, "_measuredWidth") } }
|
|
174
|
+
}
|
|
175
|
+
open var _measuredHeight: Double = .nan {
|
|
176
|
+
didSet { if jsMadeBits1 & (1 << 38) == 0 { jsMadeNote(&jsMadeBits1, &jsMade, 1 << 38, "_measuredHeight") } }
|
|
177
|
+
}
|
|
178
|
+
open var _cssType: String = "" {
|
|
179
|
+
didSet { if jsMadeBits1 & (1 << 39) == 0 { jsMadeNote(&jsMadeBits1, &jsMade, 1 << 39, "_cssType") } }
|
|
180
|
+
}
|
|
181
|
+
open var _localAnimations: JSSet<Animation>? = JSSet<Animation>() {
|
|
182
|
+
didSet { if jsMadeBits1 & (1 << 40) == 0 { jsMadeNote(&jsMadeBits1, &jsMade, 1 << 40, "_localAnimations") } }
|
|
183
|
+
}
|
|
184
|
+
open var _currentWidthMeasureSpec: Double = .nan {
|
|
185
|
+
didSet {
|
|
186
|
+
if jsMadeBits1 & (1 << 41) == 0 { jsMadeNote(&jsMadeBits1, &jsMade, 1 << 41, "_currentWidthMeasureSpec") }
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
open var _currentHeightMeasureSpec: Double = .nan {
|
|
190
|
+
didSet {
|
|
191
|
+
if jsMadeBits1 & (1 << 42) == 0 { jsMadeNote(&jsMadeBits1, &jsMade, 1 << 42, "_currentHeightMeasureSpec") }
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
open var _setMinWidthNative: ((Any?) throws -> Void)? {
|
|
195
|
+
didSet { if jsMadeBits1 & (1 << 43) == 0 { jsMadeNote(&jsMadeBits1, &jsMade, 1 << 43, "_setMinWidthNative") } }
|
|
196
|
+
}
|
|
197
|
+
open var _setMinHeightNative: ((Any?) throws -> Void)? {
|
|
198
|
+
didSet { if jsMadeBits1 & (1 << 44) == 0 { jsMadeNote(&jsMadeBits1, &jsMade, 1 << 44, "_setMinHeightNative") } }
|
|
199
|
+
}
|
|
200
|
+
open var _gestureObservers: Any? = JSObject([])
|
|
201
|
+
open var _androidContentDescriptionUpdated: Bool = false {
|
|
202
|
+
didSet {
|
|
203
|
+
if jsMadeBits1 & (1 << 45) == 0 {
|
|
204
|
+
jsMadeNote(&jsMadeBits1, &jsMade, 1 << 45, "_androidContentDescriptionUpdated")
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
public override init() throws {
|
|
209
|
+
try super.init()
|
|
210
|
+
jsMadeLevel(&jsMade, ["_gestureObservers"])
|
|
211
|
+
}
|
|
212
|
+
open var css: String {
|
|
213
|
+
get {
|
|
214
|
+
jsReported { () throws -> String in
|
|
215
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:186)
|
|
216
|
+
let scope: StyleScope? = self._styleScope
|
|
217
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:188)
|
|
218
|
+
return try
|
|
219
|
+
({ () throws -> String in
|
|
220
|
+
let __v_6 = scope
|
|
221
|
+
return jsTruthy(__v_6) ? try jsUnwrap(scope, "css").css : ""
|
|
222
|
+
}())
|
|
223
|
+
} ?? ""
|
|
224
|
+
}
|
|
225
|
+
set {
|
|
226
|
+
let value = newValue
|
|
227
|
+
jsReport {
|
|
228
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:191)
|
|
229
|
+
try self._updateStyleScope(nil, nil, value)
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
#sourceLocation()
|
|
234
|
+
open var modal: ViewCommon? {
|
|
235
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:515)
|
|
236
|
+
return self._modal
|
|
237
|
+
}
|
|
238
|
+
#sourceLocation()
|
|
239
|
+
open var flexFlow: Any? {
|
|
240
|
+
get {
|
|
241
|
+
jsReported { () throws -> Any? in
|
|
242
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:661)
|
|
243
|
+
return try jsUnwrap(self.style, "flexFlow").flexFlow
|
|
244
|
+
} ?? nil
|
|
245
|
+
}
|
|
246
|
+
set {
|
|
247
|
+
let value = newValue
|
|
248
|
+
jsReport {
|
|
249
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:665)
|
|
250
|
+
try jsUnwrap(self.style, setting: "flexFlow").flexFlow = value
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
#sourceLocation()
|
|
255
|
+
open var flex: Any? {
|
|
256
|
+
get {
|
|
257
|
+
jsReported { () throws -> Any? in
|
|
258
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:669)
|
|
259
|
+
return try jsUnwrap(self.style, "flex").flex
|
|
260
|
+
} ?? nil
|
|
261
|
+
}
|
|
262
|
+
set {
|
|
263
|
+
let value = newValue
|
|
264
|
+
jsReport {
|
|
265
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:673)
|
|
266
|
+
try jsUnwrap(self.style, setting: "flex").flex = value
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
#sourceLocation()
|
|
271
|
+
open var borderColor: Any? {
|
|
272
|
+
get {
|
|
273
|
+
jsReported { () throws -> Any? in
|
|
274
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:677)
|
|
275
|
+
return try jsUnwrap(self.style, "borderColor").borderColor
|
|
276
|
+
} ?? nil
|
|
277
|
+
}
|
|
278
|
+
set {
|
|
279
|
+
let value = newValue
|
|
280
|
+
jsReport {
|
|
281
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:680)
|
|
282
|
+
try jsUnwrap(self.style, setting: "borderColor").borderColor = value
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
#sourceLocation()
|
|
287
|
+
open var borderTopColor: Color? {
|
|
288
|
+
get {
|
|
289
|
+
jsReported { () throws -> Color? in
|
|
290
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:684)
|
|
291
|
+
return try jsUnwrap(self.style, "borderTopColor").borderTopColor
|
|
292
|
+
} ?? nil
|
|
293
|
+
}
|
|
294
|
+
set {
|
|
295
|
+
let value: Color? = newValue
|
|
296
|
+
jsReport {
|
|
297
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:687)
|
|
298
|
+
try jsUnwrap(self.style, setting: "borderTopColor").borderTopColor = value
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
#sourceLocation()
|
|
303
|
+
open var borderRightColor: Color? {
|
|
304
|
+
get {
|
|
305
|
+
jsReported { () throws -> Color? in
|
|
306
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:691)
|
|
307
|
+
return try jsUnwrap(self.style, "borderRightColor").borderRightColor
|
|
308
|
+
} ?? nil
|
|
309
|
+
}
|
|
310
|
+
set {
|
|
311
|
+
let value: Color? = newValue
|
|
312
|
+
jsReport {
|
|
313
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:694)
|
|
314
|
+
try jsUnwrap(self.style, setting: "borderRightColor").borderRightColor = value
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
#sourceLocation()
|
|
319
|
+
open var borderBottomColor: Color? {
|
|
320
|
+
get {
|
|
321
|
+
jsReported { () throws -> Color? in
|
|
322
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:698)
|
|
323
|
+
return try jsUnwrap(self.style, "borderBottomColor").borderBottomColor
|
|
324
|
+
} ?? nil
|
|
325
|
+
}
|
|
326
|
+
set {
|
|
327
|
+
let value: Color? = newValue
|
|
328
|
+
jsReport {
|
|
329
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:701)
|
|
330
|
+
try jsUnwrap(self.style, setting: "borderBottomColor").borderBottomColor = value
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
#sourceLocation()
|
|
335
|
+
open var borderLeftColor: Color? {
|
|
336
|
+
get {
|
|
337
|
+
jsReported { () throws -> Color? in
|
|
338
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:705)
|
|
339
|
+
return try jsUnwrap(self.style, "borderLeftColor").borderLeftColor
|
|
340
|
+
} ?? nil
|
|
341
|
+
}
|
|
342
|
+
set {
|
|
343
|
+
let value: Color? = newValue
|
|
344
|
+
jsReport {
|
|
345
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:708)
|
|
346
|
+
try jsUnwrap(self.style, setting: "borderLeftColor").borderLeftColor = value
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
#sourceLocation()
|
|
351
|
+
open var borderWidth: Any? {
|
|
352
|
+
get {
|
|
353
|
+
jsReported { () throws -> Any? in
|
|
354
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:712)
|
|
355
|
+
return try jsUnwrap(self.style, "borderWidth").borderWidth
|
|
356
|
+
} ?? nil
|
|
357
|
+
}
|
|
358
|
+
set {
|
|
359
|
+
let value = newValue
|
|
360
|
+
jsReport {
|
|
361
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:715)
|
|
362
|
+
try jsUnwrap(self.style, setting: "borderWidth").borderWidth = value
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
#sourceLocation()
|
|
367
|
+
open var borderTopWidth: Any? {
|
|
368
|
+
get {
|
|
369
|
+
jsReported { () throws -> Any? in
|
|
370
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:719)
|
|
371
|
+
return try jsUnwrap(self.style, "borderTopWidth").borderTopWidth
|
|
372
|
+
} ?? nil
|
|
373
|
+
}
|
|
374
|
+
set {
|
|
375
|
+
let value = newValue
|
|
376
|
+
jsReport {
|
|
377
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:722)
|
|
378
|
+
try jsUnwrap(self.style, setting: "borderTopWidth").borderTopWidth = value
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
#sourceLocation()
|
|
383
|
+
open var borderRightWidth: Any? {
|
|
384
|
+
get {
|
|
385
|
+
jsReported { () throws -> Any? in
|
|
386
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:726)
|
|
387
|
+
return try jsUnwrap(self.style, "borderRightWidth").borderRightWidth
|
|
388
|
+
} ?? nil
|
|
389
|
+
}
|
|
390
|
+
set {
|
|
391
|
+
let value = newValue
|
|
392
|
+
jsReport {
|
|
393
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:729)
|
|
394
|
+
try jsUnwrap(self.style, setting: "borderRightWidth").borderRightWidth = value
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
#sourceLocation()
|
|
399
|
+
open var borderBottomWidth: Any? {
|
|
400
|
+
get {
|
|
401
|
+
jsReported { () throws -> Any? in
|
|
402
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:733)
|
|
403
|
+
return try jsUnwrap(self.style, "borderBottomWidth").borderBottomWidth
|
|
404
|
+
} ?? nil
|
|
405
|
+
}
|
|
406
|
+
set {
|
|
407
|
+
let value = newValue
|
|
408
|
+
jsReport {
|
|
409
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:736)
|
|
410
|
+
try jsUnwrap(self.style, setting: "borderBottomWidth").borderBottomWidth = value
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
#sourceLocation()
|
|
415
|
+
open var borderLeftWidth: Any? {
|
|
416
|
+
get {
|
|
417
|
+
jsReported { () throws -> Any? in
|
|
418
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:740)
|
|
419
|
+
return try jsUnwrap(self.style, "borderLeftWidth").borderLeftWidth
|
|
420
|
+
} ?? nil
|
|
421
|
+
}
|
|
422
|
+
set {
|
|
423
|
+
let value = newValue
|
|
424
|
+
jsReport {
|
|
425
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:743)
|
|
426
|
+
try jsUnwrap(self.style, setting: "borderLeftWidth").borderLeftWidth = value
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
#sourceLocation()
|
|
431
|
+
open var borderRadius: Any? {
|
|
432
|
+
get {
|
|
433
|
+
jsReported { () throws -> Any? in
|
|
434
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:747)
|
|
435
|
+
return try jsUnwrap(self.style, "borderRadius").borderRadius
|
|
436
|
+
} ?? nil
|
|
437
|
+
}
|
|
438
|
+
set {
|
|
439
|
+
let value = newValue
|
|
440
|
+
jsReport {
|
|
441
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:750)
|
|
442
|
+
try jsUnwrap(self.style, setting: "borderRadius").borderRadius = value
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
#sourceLocation()
|
|
447
|
+
open var borderTopLeftRadius: Any? {
|
|
448
|
+
get {
|
|
449
|
+
jsReported { () throws -> Any? in
|
|
450
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:754)
|
|
451
|
+
return try jsUnwrap(self.style, "borderTopLeftRadius").borderTopLeftRadius
|
|
452
|
+
} ?? nil
|
|
453
|
+
}
|
|
454
|
+
set {
|
|
455
|
+
let value = newValue
|
|
456
|
+
jsReport {
|
|
457
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:757)
|
|
458
|
+
try jsUnwrap(self.style, setting: "borderTopLeftRadius").borderTopLeftRadius = value
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
#sourceLocation()
|
|
463
|
+
open var borderTopRightRadius: Any? {
|
|
464
|
+
get {
|
|
465
|
+
jsReported { () throws -> Any? in
|
|
466
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:761)
|
|
467
|
+
return try jsUnwrap(self.style, "borderTopRightRadius").borderTopRightRadius
|
|
468
|
+
} ?? nil
|
|
469
|
+
}
|
|
470
|
+
set {
|
|
471
|
+
let value = newValue
|
|
472
|
+
jsReport {
|
|
473
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:764)
|
|
474
|
+
try jsUnwrap(self.style, setting: "borderTopRightRadius").borderTopRightRadius = value
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
#sourceLocation()
|
|
479
|
+
open var borderBottomRightRadius: Any? {
|
|
480
|
+
get {
|
|
481
|
+
jsReported { () throws -> Any? in
|
|
482
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:768)
|
|
483
|
+
return try jsUnwrap(self.style, "borderBottomRightRadius").borderBottomRightRadius
|
|
484
|
+
} ?? nil
|
|
485
|
+
}
|
|
486
|
+
set {
|
|
487
|
+
let value = newValue
|
|
488
|
+
jsReport {
|
|
489
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:771)
|
|
490
|
+
try jsUnwrap(self.style, setting: "borderBottomRightRadius").borderBottomRightRadius = value
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
#sourceLocation()
|
|
495
|
+
open var borderBottomLeftRadius: Any? {
|
|
496
|
+
get {
|
|
497
|
+
jsReported { () throws -> Any? in
|
|
498
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:775)
|
|
499
|
+
return try jsUnwrap(self.style, "borderBottomLeftRadius").borderBottomLeftRadius
|
|
500
|
+
} ?? nil
|
|
501
|
+
}
|
|
502
|
+
set {
|
|
503
|
+
let value = newValue
|
|
504
|
+
jsReport {
|
|
505
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:778)
|
|
506
|
+
try jsUnwrap(self.style, setting: "borderBottomLeftRadius").borderBottomLeftRadius = value
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
#sourceLocation()
|
|
511
|
+
open var color: Color? {
|
|
512
|
+
get {
|
|
513
|
+
jsReported { () throws -> Color? in
|
|
514
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:782)
|
|
515
|
+
return try jsUnwrap(self.style, "color").color
|
|
516
|
+
} ?? nil
|
|
517
|
+
}
|
|
518
|
+
set {
|
|
519
|
+
let value: Color? = newValue
|
|
520
|
+
jsReport {
|
|
521
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:785)
|
|
522
|
+
try jsUnwrap(self.style, setting: "color").color = value
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
#sourceLocation()
|
|
527
|
+
open var background: String {
|
|
528
|
+
get {
|
|
529
|
+
jsReported { () throws -> String in
|
|
530
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:789)
|
|
531
|
+
return try jsUnwrap(self.style, "background").background
|
|
532
|
+
} ?? ""
|
|
533
|
+
}
|
|
534
|
+
set {
|
|
535
|
+
let value = newValue
|
|
536
|
+
jsReport {
|
|
537
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:792)
|
|
538
|
+
try jsUnwrap(self.style, setting: "background").background = value
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
#sourceLocation()
|
|
543
|
+
open var backgroundColor: Color? {
|
|
544
|
+
get {
|
|
545
|
+
jsReported { () throws -> Color? in
|
|
546
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:796)
|
|
547
|
+
return try jsUnwrap(self.style, "backgroundColor").backgroundColor
|
|
548
|
+
} ?? nil
|
|
549
|
+
}
|
|
550
|
+
set {
|
|
551
|
+
let value: Color? = newValue
|
|
552
|
+
jsReport {
|
|
553
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:799)
|
|
554
|
+
try jsUnwrap(self.style, setting: "backgroundColor").backgroundColor = value
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
#sourceLocation()
|
|
559
|
+
open var backgroundImage: Any? {
|
|
560
|
+
get {
|
|
561
|
+
jsReported { () throws -> Any? in
|
|
562
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:803)
|
|
563
|
+
return try jsUnwrap(self.style, "backgroundImage").backgroundImage
|
|
564
|
+
} ?? nil
|
|
565
|
+
}
|
|
566
|
+
set {
|
|
567
|
+
let value = newValue
|
|
568
|
+
jsReport {
|
|
569
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:806)
|
|
570
|
+
try jsUnwrap(self.style, setting: "backgroundImage").backgroundImage = value
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
#sourceLocation()
|
|
575
|
+
open var backgroundSize: String {
|
|
576
|
+
get {
|
|
577
|
+
jsReported { () throws -> String in
|
|
578
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:810)
|
|
579
|
+
return try jsUnwrap(self.style, "backgroundSize").backgroundSize
|
|
580
|
+
} ?? ""
|
|
581
|
+
}
|
|
582
|
+
set {
|
|
583
|
+
let value = newValue
|
|
584
|
+
jsReport {
|
|
585
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:813)
|
|
586
|
+
try jsUnwrap(self.style, setting: "backgroundSize").backgroundSize = value
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
#sourceLocation()
|
|
591
|
+
open var backgroundPosition: String {
|
|
592
|
+
get {
|
|
593
|
+
jsReported { () throws -> String in
|
|
594
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:817)
|
|
595
|
+
return try jsUnwrap(self.style, "backgroundPosition").backgroundPosition
|
|
596
|
+
} ?? ""
|
|
597
|
+
}
|
|
598
|
+
set {
|
|
599
|
+
let value = newValue
|
|
600
|
+
jsReport {
|
|
601
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:820)
|
|
602
|
+
try jsUnwrap(self.style, setting: "backgroundPosition").backgroundPosition = value
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
#sourceLocation()
|
|
607
|
+
open var backgroundRepeat: String {
|
|
608
|
+
get {
|
|
609
|
+
jsReported { () throws -> String in
|
|
610
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:824)
|
|
611
|
+
return try jsUnwrap(self.style, "backgroundRepeat").backgroundRepeat
|
|
612
|
+
} ?? ""
|
|
613
|
+
}
|
|
614
|
+
set {
|
|
615
|
+
let value = newValue
|
|
616
|
+
jsReport {
|
|
617
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:827)
|
|
618
|
+
try jsUnwrap(self.style, setting: "backgroundRepeat").backgroundRepeat = value
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
}
|
|
622
|
+
#sourceLocation()
|
|
623
|
+
open var boxShadow: Any? {
|
|
624
|
+
get {
|
|
625
|
+
jsReported { () throws -> Any? in
|
|
626
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:831)
|
|
627
|
+
return try jsUnwrap(self.style, "boxShadow").boxShadow
|
|
628
|
+
} ?? nil
|
|
629
|
+
}
|
|
630
|
+
set {
|
|
631
|
+
let value = newValue
|
|
632
|
+
jsReport {
|
|
633
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:834)
|
|
634
|
+
try jsUnwrap(self.style, setting: "boxShadow").boxShadow = value
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
#sourceLocation()
|
|
639
|
+
open var direction: String {
|
|
640
|
+
get {
|
|
641
|
+
jsReported { () throws -> String in
|
|
642
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:838)
|
|
643
|
+
return try jsUnwrap(self.style, "direction").direction
|
|
644
|
+
} ?? ""
|
|
645
|
+
}
|
|
646
|
+
set {
|
|
647
|
+
let value = newValue
|
|
648
|
+
jsReport {
|
|
649
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:841)
|
|
650
|
+
try jsUnwrap(self.style, setting: "direction").direction = value
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
#sourceLocation()
|
|
655
|
+
open var minWidth: Any? {
|
|
656
|
+
get {
|
|
657
|
+
jsReported { () throws -> Any? in
|
|
658
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:845)
|
|
659
|
+
return try jsUnwrap(self.style, "minWidth").minWidth
|
|
660
|
+
} ?? nil
|
|
661
|
+
}
|
|
662
|
+
set {
|
|
663
|
+
let value = newValue
|
|
664
|
+
jsReport {
|
|
665
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:848)
|
|
666
|
+
try jsUnwrap(self.style, setting: "minWidth").minWidth = value
|
|
667
|
+
}
|
|
668
|
+
}
|
|
669
|
+
}
|
|
670
|
+
#sourceLocation()
|
|
671
|
+
open var minHeight: Any? {
|
|
672
|
+
get {
|
|
673
|
+
jsReported { () throws -> Any? in
|
|
674
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:852)
|
|
675
|
+
return try jsUnwrap(self.style, "minHeight").minHeight
|
|
676
|
+
} ?? nil
|
|
677
|
+
}
|
|
678
|
+
set {
|
|
679
|
+
let value = newValue
|
|
680
|
+
jsReport {
|
|
681
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:855)
|
|
682
|
+
try jsUnwrap(self.style, setting: "minHeight").minHeight = value
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
#sourceLocation()
|
|
687
|
+
open var maxWidth: Any? {
|
|
688
|
+
get {
|
|
689
|
+
jsReported { () throws -> Any? in
|
|
690
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:859)
|
|
691
|
+
return try jsUnwrap(self.style, "maxWidth").maxWidth
|
|
692
|
+
} ?? nil
|
|
693
|
+
}
|
|
694
|
+
set {
|
|
695
|
+
let value = newValue
|
|
696
|
+
jsReport {
|
|
697
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:862)
|
|
698
|
+
try jsUnwrap(self.style, setting: "maxWidth").maxWidth = value
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
}
|
|
702
|
+
#sourceLocation()
|
|
703
|
+
open var maxHeight: Any? {
|
|
704
|
+
get {
|
|
705
|
+
jsReported { () throws -> Any? in
|
|
706
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:866)
|
|
707
|
+
return try jsUnwrap(self.style, "maxHeight").maxHeight
|
|
708
|
+
} ?? nil
|
|
709
|
+
}
|
|
710
|
+
set {
|
|
711
|
+
let value = newValue
|
|
712
|
+
jsReport {
|
|
713
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:869)
|
|
714
|
+
try jsUnwrap(self.style, setting: "maxHeight").maxHeight = value
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
#sourceLocation()
|
|
719
|
+
open var width: Any? {
|
|
720
|
+
get {
|
|
721
|
+
jsReported { () throws -> Any? in
|
|
722
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:873)
|
|
723
|
+
return try jsUnwrap(self.style, "width").width
|
|
724
|
+
} ?? nil
|
|
725
|
+
}
|
|
726
|
+
set {
|
|
727
|
+
let value = newValue
|
|
728
|
+
jsReport {
|
|
729
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:876)
|
|
730
|
+
try jsUnwrap(self.style, setting: "width").width = value
|
|
731
|
+
}
|
|
732
|
+
}
|
|
733
|
+
}
|
|
734
|
+
#sourceLocation()
|
|
735
|
+
open var height: Any? {
|
|
736
|
+
get {
|
|
737
|
+
jsReported { () throws -> Any? in
|
|
738
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:880)
|
|
739
|
+
return try jsUnwrap(self.style, "height").height
|
|
740
|
+
} ?? nil
|
|
741
|
+
}
|
|
742
|
+
set {
|
|
743
|
+
let value = newValue
|
|
744
|
+
jsReport {
|
|
745
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:883)
|
|
746
|
+
try jsUnwrap(self.style, setting: "height").height = value
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
}
|
|
750
|
+
#sourceLocation()
|
|
751
|
+
open var margin: Any? {
|
|
752
|
+
get {
|
|
753
|
+
jsReported { () throws -> Any? in
|
|
754
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:887)
|
|
755
|
+
return try jsUnwrap(self.style, "margin").margin
|
|
756
|
+
} ?? nil
|
|
757
|
+
}
|
|
758
|
+
set {
|
|
759
|
+
let value = newValue
|
|
760
|
+
jsReport {
|
|
761
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:890)
|
|
762
|
+
try jsUnwrap(self.style, setting: "margin").margin = value
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
#sourceLocation()
|
|
767
|
+
open var marginLeft: Any? {
|
|
768
|
+
get {
|
|
769
|
+
jsReported { () throws -> Any? in
|
|
770
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:894)
|
|
771
|
+
return try jsUnwrap(self.style, "marginLeft").marginLeft
|
|
772
|
+
} ?? nil
|
|
773
|
+
}
|
|
774
|
+
set {
|
|
775
|
+
let value = newValue
|
|
776
|
+
jsReport {
|
|
777
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:897)
|
|
778
|
+
try jsUnwrap(self.style, setting: "marginLeft").marginLeft = value
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
#sourceLocation()
|
|
783
|
+
open var marginTop: Any? {
|
|
784
|
+
get {
|
|
785
|
+
jsReported { () throws -> Any? in
|
|
786
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:901)
|
|
787
|
+
return try jsUnwrap(self.style, "marginTop").marginTop
|
|
788
|
+
} ?? nil
|
|
789
|
+
}
|
|
790
|
+
set {
|
|
791
|
+
let value = newValue
|
|
792
|
+
jsReport {
|
|
793
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:904)
|
|
794
|
+
try jsUnwrap(self.style, setting: "marginTop").marginTop = value
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
}
|
|
798
|
+
#sourceLocation()
|
|
799
|
+
open var marginRight: Any? {
|
|
800
|
+
get {
|
|
801
|
+
jsReported { () throws -> Any? in
|
|
802
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:908)
|
|
803
|
+
return try jsUnwrap(self.style, "marginRight").marginRight
|
|
804
|
+
} ?? nil
|
|
805
|
+
}
|
|
806
|
+
set {
|
|
807
|
+
let value = newValue
|
|
808
|
+
jsReport {
|
|
809
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:911)
|
|
810
|
+
try jsUnwrap(self.style, setting: "marginRight").marginRight = value
|
|
811
|
+
}
|
|
812
|
+
}
|
|
813
|
+
}
|
|
814
|
+
#sourceLocation()
|
|
815
|
+
open var marginBottom: Any? {
|
|
816
|
+
get {
|
|
817
|
+
jsReported { () throws -> Any? in
|
|
818
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:915)
|
|
819
|
+
return try jsUnwrap(self.style, "marginBottom").marginBottom
|
|
820
|
+
} ?? nil
|
|
821
|
+
}
|
|
822
|
+
set {
|
|
823
|
+
let value = newValue
|
|
824
|
+
jsReport {
|
|
825
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:918)
|
|
826
|
+
try jsUnwrap(self.style, setting: "marginBottom").marginBottom = value
|
|
827
|
+
}
|
|
828
|
+
}
|
|
829
|
+
}
|
|
830
|
+
#sourceLocation()
|
|
831
|
+
open var horizontalAlignment: String {
|
|
832
|
+
get {
|
|
833
|
+
jsReported { () throws -> String in
|
|
834
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:922)
|
|
835
|
+
return try jsUnwrap(self.style, "horizontalAlignment").horizontalAlignment
|
|
836
|
+
} ?? ""
|
|
837
|
+
}
|
|
838
|
+
set {
|
|
839
|
+
let value = newValue
|
|
840
|
+
jsReport {
|
|
841
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:925)
|
|
842
|
+
try jsUnwrap(self.style, setting: "horizontalAlignment").horizontalAlignment = value
|
|
843
|
+
}
|
|
844
|
+
}
|
|
845
|
+
}
|
|
846
|
+
#sourceLocation()
|
|
847
|
+
open var verticalAlignment: String {
|
|
848
|
+
get {
|
|
849
|
+
jsReported { () throws -> String in
|
|
850
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:929)
|
|
851
|
+
return try jsUnwrap(self.style, "verticalAlignment").verticalAlignment
|
|
852
|
+
} ?? ""
|
|
853
|
+
}
|
|
854
|
+
set {
|
|
855
|
+
let value = newValue
|
|
856
|
+
jsReport {
|
|
857
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:932)
|
|
858
|
+
try jsUnwrap(self.style, setting: "verticalAlignment").verticalAlignment = value
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
}
|
|
862
|
+
#sourceLocation()
|
|
863
|
+
open var visibility: String {
|
|
864
|
+
get {
|
|
865
|
+
jsReported { () throws -> String in
|
|
866
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:936)
|
|
867
|
+
return try jsUnwrap(self.style, "visibility").visibility
|
|
868
|
+
} ?? ""
|
|
869
|
+
}
|
|
870
|
+
set {
|
|
871
|
+
let value = newValue
|
|
872
|
+
jsReport {
|
|
873
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:939)
|
|
874
|
+
try jsUnwrap(self.style, setting: "visibility").visibility = value
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
}
|
|
878
|
+
#sourceLocation()
|
|
879
|
+
open var opacity: Double {
|
|
880
|
+
get {
|
|
881
|
+
jsReported { () throws -> Double in
|
|
882
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:943)
|
|
883
|
+
return try jsUnwrap(self.style, "opacity").opacity
|
|
884
|
+
} ?? 0
|
|
885
|
+
}
|
|
886
|
+
set {
|
|
887
|
+
let value = newValue
|
|
888
|
+
jsReport {
|
|
889
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:946)
|
|
890
|
+
try jsUnwrap(self.style, setting: "opacity").opacity = value
|
|
891
|
+
}
|
|
892
|
+
}
|
|
893
|
+
}
|
|
894
|
+
#sourceLocation()
|
|
895
|
+
open var rotate: Double {
|
|
896
|
+
get {
|
|
897
|
+
jsReported { () throws -> Double in
|
|
898
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:950)
|
|
899
|
+
return try jsUnwrap(self.style, "rotate").rotate
|
|
900
|
+
} ?? 0
|
|
901
|
+
}
|
|
902
|
+
set {
|
|
903
|
+
let value = newValue
|
|
904
|
+
jsReport {
|
|
905
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:953)
|
|
906
|
+
try jsUnwrap(self.style, setting: "rotate").rotate = value
|
|
907
|
+
}
|
|
908
|
+
}
|
|
909
|
+
}
|
|
910
|
+
#sourceLocation()
|
|
911
|
+
open var rotateX: Double {
|
|
912
|
+
get {
|
|
913
|
+
jsReported { () throws -> Double in
|
|
914
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:957)
|
|
915
|
+
return try jsUnwrap(self.style, "rotateX").rotateX
|
|
916
|
+
} ?? 0
|
|
917
|
+
}
|
|
918
|
+
set {
|
|
919
|
+
let value = newValue
|
|
920
|
+
jsReport {
|
|
921
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:960)
|
|
922
|
+
try jsUnwrap(self.style, setting: "rotateX").rotateX = value
|
|
923
|
+
}
|
|
924
|
+
}
|
|
925
|
+
}
|
|
926
|
+
#sourceLocation()
|
|
927
|
+
open var rotateY: Double {
|
|
928
|
+
get {
|
|
929
|
+
jsReported { () throws -> Double in
|
|
930
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:964)
|
|
931
|
+
return try jsUnwrap(self.style, "rotateY").rotateY
|
|
932
|
+
} ?? 0
|
|
933
|
+
}
|
|
934
|
+
set {
|
|
935
|
+
let value = newValue
|
|
936
|
+
jsReport {
|
|
937
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:967)
|
|
938
|
+
try jsUnwrap(self.style, setting: "rotateY").rotateY = value
|
|
939
|
+
}
|
|
940
|
+
}
|
|
941
|
+
}
|
|
942
|
+
#sourceLocation()
|
|
943
|
+
open var perspective: Double {
|
|
944
|
+
get {
|
|
945
|
+
jsReported { () throws -> Double in
|
|
946
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:971)
|
|
947
|
+
return try jsUnwrap(self.style, "perspective").perspective
|
|
948
|
+
} ?? 0
|
|
949
|
+
}
|
|
950
|
+
set {
|
|
951
|
+
let value = newValue
|
|
952
|
+
jsReport {
|
|
953
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:974)
|
|
954
|
+
try jsUnwrap(self.style, setting: "perspective").perspective = value
|
|
955
|
+
}
|
|
956
|
+
}
|
|
957
|
+
}
|
|
958
|
+
#sourceLocation()
|
|
959
|
+
open var textTransform: String {
|
|
960
|
+
get {
|
|
961
|
+
jsReported { () throws -> String in
|
|
962
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:978)
|
|
963
|
+
return try jsUnwrap(self.style, "textTransform").textTransform
|
|
964
|
+
} ?? ""
|
|
965
|
+
}
|
|
966
|
+
set {
|
|
967
|
+
let value = newValue
|
|
968
|
+
jsReport {
|
|
969
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:981)
|
|
970
|
+
try jsUnwrap(self.style, setting: "textTransform").textTransform = value
|
|
971
|
+
}
|
|
972
|
+
}
|
|
973
|
+
}
|
|
974
|
+
#sourceLocation()
|
|
975
|
+
open var translateX: Double {
|
|
976
|
+
get {
|
|
977
|
+
jsReported { () throws -> Double in
|
|
978
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:985)
|
|
979
|
+
return try jsUnwrap(self.style, "translateX").translateX
|
|
980
|
+
} ?? 0
|
|
981
|
+
}
|
|
982
|
+
set {
|
|
983
|
+
let value = newValue
|
|
984
|
+
jsReport {
|
|
985
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:988)
|
|
986
|
+
try jsUnwrap(self.style, setting: "translateX").translateX = value
|
|
987
|
+
}
|
|
988
|
+
}
|
|
989
|
+
}
|
|
990
|
+
#sourceLocation()
|
|
991
|
+
open var translateY: Double {
|
|
992
|
+
get {
|
|
993
|
+
jsReported { () throws -> Double in
|
|
994
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:992)
|
|
995
|
+
return try jsUnwrap(self.style, "translateY").translateY
|
|
996
|
+
} ?? 0
|
|
997
|
+
}
|
|
998
|
+
set {
|
|
999
|
+
let value = newValue
|
|
1000
|
+
jsReport {
|
|
1001
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:995)
|
|
1002
|
+
try jsUnwrap(self.style, setting: "translateY").translateY = value
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
}
|
|
1006
|
+
#sourceLocation()
|
|
1007
|
+
open var scaleX: Double {
|
|
1008
|
+
get {
|
|
1009
|
+
jsReported { () throws -> Double in
|
|
1010
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:999)
|
|
1011
|
+
return try jsUnwrap(self.style, "scaleX").scaleX
|
|
1012
|
+
} ?? 0
|
|
1013
|
+
}
|
|
1014
|
+
set {
|
|
1015
|
+
let value = newValue
|
|
1016
|
+
jsReport {
|
|
1017
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1002)
|
|
1018
|
+
try jsUnwrap(self.style, setting: "scaleX").scaleX = value
|
|
1019
|
+
}
|
|
1020
|
+
}
|
|
1021
|
+
}
|
|
1022
|
+
#sourceLocation()
|
|
1023
|
+
open var scaleY: Double {
|
|
1024
|
+
get {
|
|
1025
|
+
jsReported { () throws -> Double in
|
|
1026
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1006)
|
|
1027
|
+
return try jsUnwrap(self.style, "scaleY").scaleY
|
|
1028
|
+
} ?? 0
|
|
1029
|
+
}
|
|
1030
|
+
set {
|
|
1031
|
+
let value = newValue
|
|
1032
|
+
jsReport {
|
|
1033
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1009)
|
|
1034
|
+
try jsUnwrap(self.style, setting: "scaleY").scaleY = value
|
|
1035
|
+
}
|
|
1036
|
+
}
|
|
1037
|
+
}
|
|
1038
|
+
#sourceLocation()
|
|
1039
|
+
open var accessible: Bool {
|
|
1040
|
+
get {
|
|
1041
|
+
jsReported { () throws -> Bool in
|
|
1042
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1013)
|
|
1043
|
+
return try jsUnwrap(self.style, "accessible").accessible
|
|
1044
|
+
} ?? false
|
|
1045
|
+
}
|
|
1046
|
+
set {
|
|
1047
|
+
let value = newValue
|
|
1048
|
+
jsReport {
|
|
1049
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1016)
|
|
1050
|
+
try jsUnwrap(self.style, setting: "accessible").accessible = value
|
|
1051
|
+
}
|
|
1052
|
+
}
|
|
1053
|
+
}
|
|
1054
|
+
#sourceLocation()
|
|
1055
|
+
open var accessibilityHidden: Bool {
|
|
1056
|
+
get {
|
|
1057
|
+
jsReported { () throws -> Bool in
|
|
1058
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1020)
|
|
1059
|
+
return try jsUnwrap(self.style, "accessibilityHidden").accessibilityHidden
|
|
1060
|
+
} ?? false
|
|
1061
|
+
}
|
|
1062
|
+
set {
|
|
1063
|
+
let value = newValue
|
|
1064
|
+
jsReport {
|
|
1065
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1023)
|
|
1066
|
+
try jsUnwrap(self.style, setting: "accessibilityHidden").accessibilityHidden = value
|
|
1067
|
+
}
|
|
1068
|
+
}
|
|
1069
|
+
}
|
|
1070
|
+
#sourceLocation()
|
|
1071
|
+
open var accessibilityRole: String {
|
|
1072
|
+
get {
|
|
1073
|
+
jsReported { () throws -> String in
|
|
1074
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1027)
|
|
1075
|
+
return try jsUnwrap(self.style, "accessibilityRole").accessibilityRole
|
|
1076
|
+
} ?? ""
|
|
1077
|
+
}
|
|
1078
|
+
set {
|
|
1079
|
+
let value = newValue
|
|
1080
|
+
jsReport {
|
|
1081
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1030)
|
|
1082
|
+
try jsUnwrap(self.style, setting: "accessibilityRole").accessibilityRole = value
|
|
1083
|
+
}
|
|
1084
|
+
}
|
|
1085
|
+
}
|
|
1086
|
+
#sourceLocation()
|
|
1087
|
+
open var accessibilityState: String {
|
|
1088
|
+
get {
|
|
1089
|
+
jsReported { () throws -> String in
|
|
1090
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1034)
|
|
1091
|
+
return try jsUnwrap(self.style, "accessibilityState").accessibilityState
|
|
1092
|
+
} ?? ""
|
|
1093
|
+
}
|
|
1094
|
+
set {
|
|
1095
|
+
let value = newValue
|
|
1096
|
+
jsReport {
|
|
1097
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1037)
|
|
1098
|
+
try jsUnwrap(self.style, setting: "accessibilityState").accessibilityState = value
|
|
1099
|
+
}
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1102
|
+
#sourceLocation()
|
|
1103
|
+
open var accessibilityLiveRegion: String {
|
|
1104
|
+
get {
|
|
1105
|
+
jsReported { () throws -> String in
|
|
1106
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1041)
|
|
1107
|
+
return try jsUnwrap(self.style, "accessibilityLiveRegion").accessibilityLiveRegion
|
|
1108
|
+
} ?? ""
|
|
1109
|
+
}
|
|
1110
|
+
set {
|
|
1111
|
+
let value = newValue
|
|
1112
|
+
jsReport {
|
|
1113
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1044)
|
|
1114
|
+
try jsUnwrap(self.style, setting: "accessibilityLiveRegion").accessibilityLiveRegion = value
|
|
1115
|
+
}
|
|
1116
|
+
}
|
|
1117
|
+
}
|
|
1118
|
+
#sourceLocation()
|
|
1119
|
+
open var accessibilityLanguage: String {
|
|
1120
|
+
get {
|
|
1121
|
+
jsReported { () throws -> String in
|
|
1122
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1048)
|
|
1123
|
+
return try jsUnwrap(self.style, "accessibilityLanguage").accessibilityLanguage
|
|
1124
|
+
} ?? ""
|
|
1125
|
+
}
|
|
1126
|
+
set {
|
|
1127
|
+
let value = newValue
|
|
1128
|
+
jsReport {
|
|
1129
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1051)
|
|
1130
|
+
try jsUnwrap(self.style, setting: "accessibilityLanguage").accessibilityLanguage = value
|
|
1131
|
+
}
|
|
1132
|
+
}
|
|
1133
|
+
}
|
|
1134
|
+
#sourceLocation()
|
|
1135
|
+
open var accessibilityMediaSession: Bool {
|
|
1136
|
+
get {
|
|
1137
|
+
jsReported { () throws -> Bool in
|
|
1138
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1055)
|
|
1139
|
+
return try jsUnwrap(self.style, "accessibilityMediaSession").accessibilityMediaSession
|
|
1140
|
+
} ?? false
|
|
1141
|
+
}
|
|
1142
|
+
set {
|
|
1143
|
+
let value = newValue
|
|
1144
|
+
jsReport {
|
|
1145
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1058)
|
|
1146
|
+
try jsUnwrap(self.style, setting: "accessibilityMediaSession").accessibilityMediaSession = value
|
|
1147
|
+
}
|
|
1148
|
+
}
|
|
1149
|
+
}
|
|
1150
|
+
#sourceLocation()
|
|
1151
|
+
open var iosAccessibilityAdjustsFontSize: Bool {
|
|
1152
|
+
get {
|
|
1153
|
+
jsReported { () throws -> Bool in
|
|
1154
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1062)
|
|
1155
|
+
return try jsUnwrap(self.style, "iosAccessibilityAdjustsFontSize").iosAccessibilityAdjustsFontSize
|
|
1156
|
+
} ?? false
|
|
1157
|
+
}
|
|
1158
|
+
set {
|
|
1159
|
+
let value = newValue
|
|
1160
|
+
jsReport {
|
|
1161
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1065)
|
|
1162
|
+
try jsUnwrap(self.style, setting: "iosAccessibilityAdjustsFontSize").iosAccessibilityAdjustsFontSize =
|
|
1163
|
+
value
|
|
1164
|
+
}
|
|
1165
|
+
}
|
|
1166
|
+
}
|
|
1167
|
+
#sourceLocation()
|
|
1168
|
+
open var iosAccessibilityMinFontScale: Double {
|
|
1169
|
+
get {
|
|
1170
|
+
jsReported { () throws -> Double in
|
|
1171
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1069)
|
|
1172
|
+
return try jsUnwrap(self.style, "iosAccessibilityMinFontScale").iosAccessibilityMinFontScale
|
|
1173
|
+
} ?? 0
|
|
1174
|
+
}
|
|
1175
|
+
set {
|
|
1176
|
+
let value = newValue
|
|
1177
|
+
jsReport {
|
|
1178
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1072)
|
|
1179
|
+
try jsUnwrap(self.style, setting: "iosAccessibilityMinFontScale").iosAccessibilityMinFontScale = value
|
|
1180
|
+
}
|
|
1181
|
+
}
|
|
1182
|
+
}
|
|
1183
|
+
#sourceLocation()
|
|
1184
|
+
open var iosAccessibilityMaxFontScale: Double {
|
|
1185
|
+
get {
|
|
1186
|
+
jsReported { () throws -> Double in
|
|
1187
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1076)
|
|
1188
|
+
return try jsUnwrap(self.style, "iosAccessibilityMaxFontScale").iosAccessibilityMaxFontScale
|
|
1189
|
+
} ?? 0
|
|
1190
|
+
}
|
|
1191
|
+
set {
|
|
1192
|
+
let value = newValue
|
|
1193
|
+
jsReport {
|
|
1194
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1079)
|
|
1195
|
+
try jsUnwrap(self.style, setting: "iosAccessibilityMaxFontScale").iosAccessibilityMaxFontScale = value
|
|
1196
|
+
}
|
|
1197
|
+
}
|
|
1198
|
+
}
|
|
1199
|
+
#sourceLocation()
|
|
1200
|
+
open var automationText: String {
|
|
1201
|
+
get {
|
|
1202
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1083)
|
|
1203
|
+
return self.accessibilityIdentifier
|
|
1204
|
+
}
|
|
1205
|
+
set {
|
|
1206
|
+
let value = newValue
|
|
1207
|
+
do {
|
|
1208
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1087)
|
|
1209
|
+
self.accessibilityIdentifier = value
|
|
1210
|
+
}
|
|
1211
|
+
}
|
|
1212
|
+
}
|
|
1213
|
+
#sourceLocation()
|
|
1214
|
+
open var androidElevation: Double {
|
|
1215
|
+
get {
|
|
1216
|
+
jsReported { () throws -> Double in
|
|
1217
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1091)
|
|
1218
|
+
return try jsUnwrap(self.style, "androidElevation").androidElevation
|
|
1219
|
+
} ?? 0
|
|
1220
|
+
}
|
|
1221
|
+
set {
|
|
1222
|
+
let value = newValue
|
|
1223
|
+
jsReport {
|
|
1224
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1094)
|
|
1225
|
+
try jsUnwrap(self.style, setting: "androidElevation").androidElevation = value
|
|
1226
|
+
}
|
|
1227
|
+
}
|
|
1228
|
+
}
|
|
1229
|
+
#sourceLocation()
|
|
1230
|
+
open var androidDynamicElevationOffset: Double {
|
|
1231
|
+
get {
|
|
1232
|
+
jsReported { () throws -> Double in
|
|
1233
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1098)
|
|
1234
|
+
return try jsUnwrap(self.style, "androidDynamicElevationOffset").androidDynamicElevationOffset
|
|
1235
|
+
} ?? 0
|
|
1236
|
+
}
|
|
1237
|
+
set {
|
|
1238
|
+
let value = newValue
|
|
1239
|
+
jsReport {
|
|
1240
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1101)
|
|
1241
|
+
try jsUnwrap(self.style, setting: "androidDynamicElevationOffset").androidDynamicElevationOffset = value
|
|
1242
|
+
}
|
|
1243
|
+
}
|
|
1244
|
+
}
|
|
1245
|
+
#sourceLocation()
|
|
1246
|
+
open var isLayoutValid: Bool {
|
|
1247
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1115)
|
|
1248
|
+
return false
|
|
1249
|
+
}
|
|
1250
|
+
#sourceLocation()
|
|
1251
|
+
open override var cssType: String {
|
|
1252
|
+
get {
|
|
1253
|
+
jsReported { () throws -> String in
|
|
1254
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1119)
|
|
1255
|
+
if !jsTruthy(self._cssType) {
|
|
1256
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1120)
|
|
1257
|
+
self._cssType = try self.typeName.lowercased()
|
|
1258
|
+
}
|
|
1259
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1123)
|
|
1260
|
+
return self._cssType
|
|
1261
|
+
} ?? ""
|
|
1262
|
+
}
|
|
1263
|
+
set {
|
|
1264
|
+
let type = newValue
|
|
1265
|
+
do {
|
|
1266
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1126)
|
|
1267
|
+
self._cssType = type.lowercased()
|
|
1268
|
+
}
|
|
1269
|
+
}
|
|
1270
|
+
}
|
|
1271
|
+
#sourceLocation()
|
|
1272
|
+
open var statusBarStyle: String {
|
|
1273
|
+
get {
|
|
1274
|
+
jsReported { () throws -> String in
|
|
1275
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1130)
|
|
1276
|
+
return try jsUnwrap(self.style, "statusBarStyle").statusBarStyle
|
|
1277
|
+
} ?? ""
|
|
1278
|
+
}
|
|
1279
|
+
set {
|
|
1280
|
+
let value = newValue
|
|
1281
|
+
jsReport {
|
|
1282
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1133)
|
|
1283
|
+
try jsUnwrap(self.style, setting: "statusBarStyle").statusBarStyle = value
|
|
1284
|
+
}
|
|
1285
|
+
}
|
|
1286
|
+
}
|
|
1287
|
+
#sourceLocation()
|
|
1288
|
+
open var isLayoutRequired: Bool {
|
|
1289
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1141)
|
|
1290
|
+
return true
|
|
1291
|
+
}
|
|
1292
|
+
#sourceLocation()
|
|
1293
|
+
open var needsNativeDrawableFill: Bool {
|
|
1294
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1145)
|
|
1295
|
+
return false
|
|
1296
|
+
}
|
|
1297
|
+
#sourceLocation()
|
|
1298
|
+
open func addCss(_ cssString: String) throws {
|
|
1299
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:195)
|
|
1300
|
+
try self._updateStyleScope(nil, cssString)
|
|
1301
|
+
}
|
|
1302
|
+
#sourceLocation()
|
|
1303
|
+
open func addCssFile(_ cssFileName: String) throws {
|
|
1304
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:199)
|
|
1305
|
+
try self._updateStyleScope(cssFileName)
|
|
1306
|
+
}
|
|
1307
|
+
#sourceLocation()
|
|
1308
|
+
open func changeCssFile(_ cssFileName: String) throws {
|
|
1309
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:203)
|
|
1310
|
+
let scope: StyleScope? = self._styleScope
|
|
1311
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:204)
|
|
1312
|
+
if jsTruthy(scope) && jsTruthy(cssFileName) {
|
|
1313
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:205)
|
|
1314
|
+
try jsUnwrap(scope, "changeCssFile").changeCssFile(cssFileName)
|
|
1315
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:206)
|
|
1316
|
+
try self._onCssStateChange()
|
|
1317
|
+
}
|
|
1318
|
+
}
|
|
1319
|
+
#sourceLocation()
|
|
1320
|
+
open func _updateStyleScope(_ cssFileName: String? = nil, _ cssString: String? = nil, _ css: String? = nil) throws {
|
|
1321
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:211)
|
|
1322
|
+
var scope: StyleScope? = self._styleScope
|
|
1323
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:212)
|
|
1324
|
+
if !jsTruthy(scope) {
|
|
1325
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:213)
|
|
1326
|
+
scope = StyleScope()
|
|
1327
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:214)
|
|
1328
|
+
try self.setScopeProperty(scope, cssFileName, cssString, css)
|
|
1329
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:215)
|
|
1330
|
+
try self._inheritStyleScope(scope)
|
|
1331
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:216)
|
|
1332
|
+
self._isStyleScopeHost = true
|
|
1333
|
+
} else {
|
|
1334
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:218)
|
|
1335
|
+
try self.setScopeProperty(scope, cssFileName, cssString, css)
|
|
1336
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:219)
|
|
1337
|
+
try self._onCssStateChange()
|
|
1338
|
+
}
|
|
1339
|
+
}
|
|
1340
|
+
#sourceLocation()
|
|
1341
|
+
open func setScopeProperty(
|
|
1342
|
+
_ scope: StyleScope?, _ cssFileName: String? = nil, _ cssString: String? = nil, _ css: String? = nil
|
|
1343
|
+
) throws {
|
|
1344
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:224)
|
|
1345
|
+
if cssFileName != nil {
|
|
1346
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:225)
|
|
1347
|
+
try jsUnwrap(scope, "addCssFile").addCssFile((cssFileName ?? "undefined"))
|
|
1348
|
+
} else if cssString != nil {
|
|
1349
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:227)
|
|
1350
|
+
try jsUnwrap(scope, "addCss").addCss((cssString ?? "undefined"))
|
|
1351
|
+
} else if css != nil {
|
|
1352
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:229)
|
|
1353
|
+
try jsUnwrap(scope, setting: "css").css = (css ?? "undefined")
|
|
1354
|
+
}
|
|
1355
|
+
}
|
|
1356
|
+
#sourceLocation()
|
|
1357
|
+
open override func onLoaded() throws {
|
|
1358
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:234)
|
|
1359
|
+
if !self.isLoaded {
|
|
1360
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:235)
|
|
1361
|
+
let hasTap: Bool =
|
|
1362
|
+
try self.hasListeners("tap") || self.hasListeners("tapChange")
|
|
1363
|
+
|| jsTruthy(self.getGestureObservers(GestureTypes.tap))
|
|
1364
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:236)
|
|
1365
|
+
let enableTapAnimations: Bool = TouchManager.enableGlobalTapAnimations && hasTap
|
|
1366
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:237)
|
|
1367
|
+
if !self.ignoreTouchAnimation
|
|
1368
|
+
&& jsTruthy(
|
|
1369
|
+
(({ () -> Any? in
|
|
1370
|
+
let __v_7 = self.touchAnimation
|
|
1371
|
+
return jsTruthy(__v_7) ? __v_7 : enableTapAnimations
|
|
1372
|
+
}())))
|
|
1373
|
+
{
|
|
1374
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:238)
|
|
1375
|
+
try TouchManager.addAnimations((self as? View))
|
|
1376
|
+
}
|
|
1377
|
+
}
|
|
1378
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:248)
|
|
1379
|
+
try super.onLoaded()
|
|
1380
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:250)
|
|
1381
|
+
try Core_application_helpers.setupAccessibleView(self)
|
|
1382
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:252)
|
|
1383
|
+
if jsTruthy(self.statusBarStyle) {
|
|
1384
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:255)
|
|
1385
|
+
try self.updateStatusBarStyle(self.statusBarStyle)
|
|
1386
|
+
}
|
|
1387
|
+
}
|
|
1388
|
+
#sourceLocation()
|
|
1389
|
+
public final func onLoaded__ViewCommon() throws {
|
|
1390
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:234)
|
|
1391
|
+
if !self.isLoaded {
|
|
1392
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:235)
|
|
1393
|
+
let hasTap: Bool =
|
|
1394
|
+
try self.hasListeners("tap") || self.hasListeners("tapChange")
|
|
1395
|
+
|| jsTruthy(self.getGestureObservers(GestureTypes.tap))
|
|
1396
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:236)
|
|
1397
|
+
let enableTapAnimations: Bool = TouchManager.enableGlobalTapAnimations && hasTap
|
|
1398
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:237)
|
|
1399
|
+
if !self.ignoreTouchAnimation
|
|
1400
|
+
&& jsTruthy(
|
|
1401
|
+
(({ () -> Any? in
|
|
1402
|
+
let __v_8 = self.touchAnimation
|
|
1403
|
+
return jsTruthy(__v_8) ? __v_8 : enableTapAnimations
|
|
1404
|
+
}())))
|
|
1405
|
+
{
|
|
1406
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:238)
|
|
1407
|
+
try TouchManager.addAnimations((self as? View))
|
|
1408
|
+
}
|
|
1409
|
+
}
|
|
1410
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:248)
|
|
1411
|
+
try super.onLoaded()
|
|
1412
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:250)
|
|
1413
|
+
try Core_application_helpers.setupAccessibleView(self)
|
|
1414
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:252)
|
|
1415
|
+
if jsTruthy(self.statusBarStyle) {
|
|
1416
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:255)
|
|
1417
|
+
try self.updateStatusBarStyle(self.statusBarStyle)
|
|
1418
|
+
}
|
|
1419
|
+
}
|
|
1420
|
+
#sourceLocation()
|
|
1421
|
+
open func _closeAllModalViewsInternal() throws -> Bool {
|
|
1422
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:260)
|
|
1423
|
+
if try
|
|
1424
|
+
(jsTruthy(Core_ui_core_view_view_common._rootModalViews)
|
|
1425
|
+
&& jsUnwrap(Core_ui_core_view_view_common._rootModalViews, "length").length > 0)
|
|
1426
|
+
{
|
|
1427
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:261)
|
|
1428
|
+
try jsUnwrap(Core_ui_core_view_view_common._rootModalViews, "forEach").forEach({
|
|
1429
|
+
(v: ViewBase?) throws -> Void in
|
|
1430
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:262)
|
|
1431
|
+
try jsUnwrap(v, "closeModal").closeModal(JSArray<Any?>())
|
|
1432
|
+
})
|
|
1433
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:265)
|
|
1434
|
+
return true
|
|
1435
|
+
}
|
|
1436
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:268)
|
|
1437
|
+
return false
|
|
1438
|
+
}
|
|
1439
|
+
#sourceLocation()
|
|
1440
|
+
open func _getRootModalViews() -> JSArray<ViewBase>? {
|
|
1441
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:272)
|
|
1442
|
+
return Core_ui_core_view_view_common._rootModalViews
|
|
1443
|
+
}
|
|
1444
|
+
#sourceLocation()
|
|
1445
|
+
open func _getRootModalHost() throws -> ViewBase? {
|
|
1446
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:276)
|
|
1447
|
+
var view: ViewBase? = self
|
|
1448
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:278)
|
|
1449
|
+
while jsTruthy(view) {
|
|
1450
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:281)
|
|
1451
|
+
let next: Any? =
|
|
1452
|
+
try (jsUnwrap(view, "parent").parent ?? jsUnwrap(view as? ViewCommon, "_modalParent")._modalParent)
|
|
1453
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:282)
|
|
1454
|
+
if !jsTruthy(next) {
|
|
1455
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:283)
|
|
1456
|
+
break
|
|
1457
|
+
}
|
|
1458
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:285)
|
|
1459
|
+
view = (try jsCast(next, ViewBase.self))
|
|
1460
|
+
}
|
|
1461
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:288)
|
|
1462
|
+
return view
|
|
1463
|
+
}
|
|
1464
|
+
#sourceLocation()
|
|
1465
|
+
/// The window currently hosting this view, or `undefined` when the view is not part of
|
|
1466
|
+
/// any window's view tree — including a view whose window has been closed.
|
|
1467
|
+
///
|
|
1468
|
+
/// Resolved on every call by walking up to the root view — through the presenting view
|
|
1469
|
+
/// of any modal on the way — so a view re-parented into another window's tree reports
|
|
1470
|
+
/// the window it moved to.
|
|
1471
|
+
open func getNativeWindow() throws -> NativeWindow? {
|
|
1472
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:300)
|
|
1473
|
+
return try (((self._getRootModalHost() as? ViewCommon) as ViewCommon?)?._nativeWindow ?? nil)
|
|
1474
|
+
}
|
|
1475
|
+
#sourceLocation()
|
|
1476
|
+
open func _onLivesync(_ context: Any? = nil) throws -> Bool {
|
|
1477
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:304)
|
|
1478
|
+
if NativeScriptKit.Trace.isEnabled() {
|
|
1479
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:305)
|
|
1480
|
+
try NativeScriptKit.Trace.write(
|
|
1481
|
+
"\(jsToStringThrowing(self))._onLivesync(\((jsJSONStringifyChecked(context) ?? "undefined")))",
|
|
1482
|
+
NativeScriptKit.Trace.categories.Livesync)
|
|
1483
|
+
}
|
|
1484
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:308)
|
|
1485
|
+
var handled: Bool = false
|
|
1486
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:310)
|
|
1487
|
+
if try self._closeAllModalViewsInternal() {
|
|
1488
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:311)
|
|
1489
|
+
handled = true
|
|
1490
|
+
}
|
|
1491
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:314)
|
|
1492
|
+
if try self._handleLivesync(context) {
|
|
1493
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:315)
|
|
1494
|
+
return true
|
|
1495
|
+
}
|
|
1496
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:318)
|
|
1497
|
+
try self.eachChildView({ (child: ViewCommon?) throws -> Bool in
|
|
1498
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:319)
|
|
1499
|
+
if try jsUnwrap(child, "_onLivesync")._onLivesync(context) {
|
|
1500
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:320)
|
|
1501
|
+
handled = true
|
|
1502
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:321)
|
|
1503
|
+
return false
|
|
1504
|
+
}
|
|
1505
|
+
return false
|
|
1506
|
+
})
|
|
1507
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:325)
|
|
1508
|
+
return handled
|
|
1509
|
+
}
|
|
1510
|
+
#sourceLocation()
|
|
1511
|
+
public final func _onLivesync__ViewCommon(_ context: Any? = nil) throws -> Bool {
|
|
1512
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:304)
|
|
1513
|
+
if NativeScriptKit.Trace.isEnabled() {
|
|
1514
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:305)
|
|
1515
|
+
try NativeScriptKit.Trace.write(
|
|
1516
|
+
"\(jsToStringThrowing(self))._onLivesync(\((jsJSONStringifyChecked(context) ?? "undefined")))",
|
|
1517
|
+
NativeScriptKit.Trace.categories.Livesync)
|
|
1518
|
+
}
|
|
1519
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:308)
|
|
1520
|
+
var handled: Bool = false
|
|
1521
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:310)
|
|
1522
|
+
if try self._closeAllModalViewsInternal() {
|
|
1523
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:311)
|
|
1524
|
+
handled = true
|
|
1525
|
+
}
|
|
1526
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:314)
|
|
1527
|
+
if try self._handleLivesync(context) {
|
|
1528
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:315)
|
|
1529
|
+
return true
|
|
1530
|
+
}
|
|
1531
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:318)
|
|
1532
|
+
try self.eachChildView({ (child: ViewCommon?) throws -> Bool in
|
|
1533
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:319)
|
|
1534
|
+
if try jsUnwrap(child, "_onLivesync")._onLivesync(context) {
|
|
1535
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:320)
|
|
1536
|
+
handled = true
|
|
1537
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:321)
|
|
1538
|
+
return false
|
|
1539
|
+
}
|
|
1540
|
+
return false
|
|
1541
|
+
})
|
|
1542
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:325)
|
|
1543
|
+
return handled
|
|
1544
|
+
}
|
|
1545
|
+
#sourceLocation()
|
|
1546
|
+
open func _handleLivesync(_ context: Any? = nil) throws -> Bool {
|
|
1547
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:329)
|
|
1548
|
+
if NativeScriptKit.Trace.isEnabled() {
|
|
1549
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:330)
|
|
1550
|
+
try NativeScriptKit.Trace.write(
|
|
1551
|
+
"\(jsToStringThrowing(self))._handleLivesync(\((jsJSONStringifyChecked(context) ?? "undefined")))",
|
|
1552
|
+
NativeScriptKit.Trace.categories.Livesync)
|
|
1553
|
+
}
|
|
1554
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:334)
|
|
1555
|
+
if try Core_ui_core_view_view_common.viewMatchesModuleContext(self, context, JSArray<String>(["style"])) {
|
|
1556
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:335)
|
|
1557
|
+
if NativeScriptKit.Trace.isEnabled() {
|
|
1558
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:336)
|
|
1559
|
+
try NativeScriptKit.Trace.write(
|
|
1560
|
+
"Change Handled: Changing CSS for \(jsToStringThrowing(self))",
|
|
1561
|
+
NativeScriptKit.Trace.categories.Livesync)
|
|
1562
|
+
}
|
|
1563
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:340)
|
|
1564
|
+
let cssModuleName: String = try
|
|
1565
|
+
"\(Core_utils_common.sanitizeModuleName(jsConvertedString(jsGet(context, "path")))).css"
|
|
1566
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:342)
|
|
1567
|
+
try self.changeCssFile(cssModuleName)
|
|
1568
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:344)
|
|
1569
|
+
return true
|
|
1570
|
+
}
|
|
1571
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:348)
|
|
1572
|
+
if try
|
|
1573
|
+
((Core_ui_core_view_view_common.viewMatchesModuleContext(
|
|
1574
|
+
self, context, JSArray<String>(["markup", "script"])) && jsTruthy(self.page))
|
|
1575
|
+
&& jsTruthy(jsUnwrap(self.page, "frame").frame))
|
|
1576
|
+
{
|
|
1577
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:349)
|
|
1578
|
+
if NativeScriptKit.Trace.isEnabled() {
|
|
1579
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:350)
|
|
1580
|
+
try NativeScriptKit.Trace.write(
|
|
1581
|
+
"Change Handled: Changing \(jsConvertedString(jsGet(context, "type"))) for \(jsToStringThrowing(self)) inside \(jsToStringThrowing(self.page))",
|
|
1582
|
+
NativeScriptKit.Trace.categories.Livesync)
|
|
1583
|
+
}
|
|
1584
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:353)
|
|
1585
|
+
return try jsUnwrap(jsUnwrap(self.page, "frame").frame, "_handleLivesync")._handleLivesync(
|
|
1586
|
+
JSObject([("type", jsGet(context, "type")), ("path", jsUnwrap(self.page, "_moduleName")._moduleName)]))
|
|
1587
|
+
}
|
|
1588
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:359)
|
|
1589
|
+
return false
|
|
1590
|
+
}
|
|
1591
|
+
#sourceLocation()
|
|
1592
|
+
public final func _handleLivesync__ViewCommon(_ context: Any? = nil) throws -> Bool {
|
|
1593
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:329)
|
|
1594
|
+
if NativeScriptKit.Trace.isEnabled() {
|
|
1595
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:330)
|
|
1596
|
+
try NativeScriptKit.Trace.write(
|
|
1597
|
+
"\(jsToStringThrowing(self))._handleLivesync(\((jsJSONStringifyChecked(context) ?? "undefined")))",
|
|
1598
|
+
NativeScriptKit.Trace.categories.Livesync)
|
|
1599
|
+
}
|
|
1600
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:334)
|
|
1601
|
+
if try Core_ui_core_view_view_common.viewMatchesModuleContext(self, context, JSArray<String>(["style"])) {
|
|
1602
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:335)
|
|
1603
|
+
if NativeScriptKit.Trace.isEnabled() {
|
|
1604
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:336)
|
|
1605
|
+
try NativeScriptKit.Trace.write(
|
|
1606
|
+
"Change Handled: Changing CSS for \(jsToStringThrowing(self))",
|
|
1607
|
+
NativeScriptKit.Trace.categories.Livesync)
|
|
1608
|
+
}
|
|
1609
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:340)
|
|
1610
|
+
let cssModuleName: String = try
|
|
1611
|
+
"\(Core_utils_common.sanitizeModuleName(jsConvertedString(jsGet(context, "path")))).css"
|
|
1612
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:342)
|
|
1613
|
+
try self.changeCssFile(cssModuleName)
|
|
1614
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:344)
|
|
1615
|
+
return true
|
|
1616
|
+
}
|
|
1617
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:348)
|
|
1618
|
+
if try
|
|
1619
|
+
((Core_ui_core_view_view_common.viewMatchesModuleContext(
|
|
1620
|
+
self, context, JSArray<String>(["markup", "script"])) && jsTruthy(self.page))
|
|
1621
|
+
&& jsTruthy(jsUnwrap(self.page, "frame").frame))
|
|
1622
|
+
{
|
|
1623
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:349)
|
|
1624
|
+
if NativeScriptKit.Trace.isEnabled() {
|
|
1625
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:350)
|
|
1626
|
+
try NativeScriptKit.Trace.write(
|
|
1627
|
+
"Change Handled: Changing \(jsConvertedString(jsGet(context, "type"))) for \(jsToStringThrowing(self)) inside \(jsToStringThrowing(self.page))",
|
|
1628
|
+
NativeScriptKit.Trace.categories.Livesync)
|
|
1629
|
+
}
|
|
1630
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:353)
|
|
1631
|
+
return try jsUnwrap(jsUnwrap(self.page, "frame").frame, "_handleLivesync")._handleLivesync(
|
|
1632
|
+
JSObject([("type", jsGet(context, "type")), ("path", jsUnwrap(self.page, "_moduleName")._moduleName)]))
|
|
1633
|
+
}
|
|
1634
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:359)
|
|
1635
|
+
return false
|
|
1636
|
+
}
|
|
1637
|
+
#sourceLocation()
|
|
1638
|
+
open override func _setupAsRootView(_ context: Any?) throws {
|
|
1639
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:363)
|
|
1640
|
+
try super._setupAsRootView(context)
|
|
1641
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:364)
|
|
1642
|
+
if !jsTruthy(self._styleScope) {
|
|
1643
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:365)
|
|
1644
|
+
try self._updateStyleScope()
|
|
1645
|
+
}
|
|
1646
|
+
}
|
|
1647
|
+
#sourceLocation()
|
|
1648
|
+
open func _observe(_ type: Double, _ callback: @escaping (Any?) throws -> Void, _ thisArg: Any? = nil) throws {
|
|
1649
|
+
var thisArg = thisArg
|
|
1650
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:370)
|
|
1651
|
+
thisArg =
|
|
1652
|
+
({ () -> Any? in
|
|
1653
|
+
let __v_9 = thisArg
|
|
1654
|
+
return jsTruthy(__v_9) ? __v_9 : nil
|
|
1655
|
+
}())
|
|
1656
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:372)
|
|
1657
|
+
if try jsTruthy(
|
|
1658
|
+
(try jsArrayOrNil(
|
|
1659
|
+
jsGet(self._gestureObservers, js(type)), as: JSArray<GesturesObserver>.self,
|
|
1660
|
+
{ try (jsCastPresent($0) as GesturesObserver) }) as JSArray<GesturesObserver>?)?.find({
|
|
1661
|
+
(observer: GesturesObserver?) throws -> Bool in
|
|
1662
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:372)
|
|
1663
|
+
return try jsSameFunction(
|
|
1664
|
+
{ (__c: ((Any?) throws -> Void)?) -> FunctionCell_AnyOpt_to_Void? in
|
|
1665
|
+
if let __c { return FunctionCell_AnyOpt_to_Void(f: __c) } else { return nil }
|
|
1666
|
+
}(jsUnwrap(observer, "callback").callback),
|
|
1667
|
+
{ (__c: ((Any?) throws -> Void)?) -> FunctionCell_AnyOpt_to_Void? in
|
|
1668
|
+
if let __c { return FunctionCell_AnyOpt_to_Void(f: __c) } else { return nil }
|
|
1669
|
+
}(callback)) && jsStrictEquals(jsUnwrap(observer, "context").context, thisArg)
|
|
1670
|
+
}) as Any?)
|
|
1671
|
+
{
|
|
1672
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:374)
|
|
1673
|
+
return
|
|
1674
|
+
}
|
|
1675
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:377)
|
|
1676
|
+
if try !jsTruthy(jsGet(self._gestureObservers, js(type))) {
|
|
1677
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:378)
|
|
1678
|
+
try jsSet(self._gestureObservers, js(type), JSArray<GesturesObserver>())
|
|
1679
|
+
}
|
|
1680
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:381)
|
|
1681
|
+
_ = try jsUnwrap(
|
|
1682
|
+
try jsArrayOrNil(
|
|
1683
|
+
jsGet(self._gestureObservers, js(type)), as: JSArray<GesturesObserver>.self,
|
|
1684
|
+
{ try (jsCastPresent($0) as GesturesObserver) }), "push"
|
|
1685
|
+
).push(
|
|
1686
|
+
jsObjectRequired(
|
|
1687
|
+
Core_ui_gestures_index.observe(
|
|
1688
|
+
(self as? View), type, FunctionCell_AnyOpt_to_Void.present(callback), thisArg)))
|
|
1689
|
+
}
|
|
1690
|
+
#sourceLocation()
|
|
1691
|
+
open func getGestureObservers(_ type: Double) throws -> JSArray<GesturesObserver>? {
|
|
1692
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:385)
|
|
1693
|
+
return try jsArrayOrNil(
|
|
1694
|
+
jsGet(self._gestureObservers, js(type)), as: JSArray<GesturesObserver>.self,
|
|
1695
|
+
{ try (jsCastPresent($0) as GesturesObserver) })
|
|
1696
|
+
}
|
|
1697
|
+
#sourceLocation()
|
|
1698
|
+
open override func addEventListener(
|
|
1699
|
+
_ eventNames: String, _ callback: @escaping (EventData?) throws -> Void, _ thisArg: Any? = nil,
|
|
1700
|
+
_ once: Bool? = nil
|
|
1701
|
+
) throws {
|
|
1702
|
+
var thisArg = thisArg
|
|
1703
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:389)
|
|
1704
|
+
thisArg =
|
|
1705
|
+
({ () -> Any? in
|
|
1706
|
+
let __v_10 = thisArg
|
|
1707
|
+
return jsTruthy(__v_10) ? __v_10 : nil
|
|
1708
|
+
}())
|
|
1709
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:403)
|
|
1710
|
+
let normalizedName: String = Core_ui_core_bindable_index.getEventOrGestureName(eventNames)
|
|
1711
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:407)
|
|
1712
|
+
let gestureType: Double? = Core_ui_gestures_gestures_common.fromString(normalizedName)
|
|
1713
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:410)
|
|
1714
|
+
if jsTruthy(gestureType) && !self._isEvent(normalizedName) {
|
|
1715
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:411)
|
|
1716
|
+
try self._observe(
|
|
1717
|
+
(gestureType ?? .nan),
|
|
1718
|
+
FunctionCell_AnyOpt_to_Void.adapting(FunctionCell_EventDataOpt_to_Void.present(callback)), thisArg)
|
|
1719
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:412)
|
|
1720
|
+
return
|
|
1721
|
+
}
|
|
1722
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:415)
|
|
1723
|
+
try super.addEventListener(normalizedName, FunctionCell_EventDataOpt_to_Void.present(callback), thisArg, once)
|
|
1724
|
+
}
|
|
1725
|
+
#sourceLocation()
|
|
1726
|
+
public final func addEventListener__ViewCommon(
|
|
1727
|
+
_ eventNames: String, _ callback: @escaping (EventData?) throws -> Void, _ thisArg: Any? = nil,
|
|
1728
|
+
_ once: Bool? = nil
|
|
1729
|
+
) throws {
|
|
1730
|
+
var thisArg = thisArg
|
|
1731
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:389)
|
|
1732
|
+
thisArg =
|
|
1733
|
+
({ () -> Any? in
|
|
1734
|
+
let __v_11 = thisArg
|
|
1735
|
+
return jsTruthy(__v_11) ? __v_11 : nil
|
|
1736
|
+
}())
|
|
1737
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:403)
|
|
1738
|
+
let normalizedName: String = Core_ui_core_bindable_index.getEventOrGestureName(eventNames)
|
|
1739
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:407)
|
|
1740
|
+
let gestureType: Double? = Core_ui_gestures_gestures_common.fromString(normalizedName)
|
|
1741
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:410)
|
|
1742
|
+
if jsTruthy(gestureType) && !self._isEvent(normalizedName) {
|
|
1743
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:411)
|
|
1744
|
+
try self._observe(
|
|
1745
|
+
(gestureType ?? .nan),
|
|
1746
|
+
FunctionCell_AnyOpt_to_Void.adapting(FunctionCell_EventDataOpt_to_Void.present(callback)), thisArg)
|
|
1747
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:412)
|
|
1748
|
+
return
|
|
1749
|
+
}
|
|
1750
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:415)
|
|
1751
|
+
try super.addEventListener(normalizedName, FunctionCell_EventDataOpt_to_Void.present(callback), thisArg, once)
|
|
1752
|
+
}
|
|
1753
|
+
#sourceLocation()
|
|
1754
|
+
open override func removeEventListener(
|
|
1755
|
+
_ eventNames: String, _ callback: ((EventData?) throws -> Void)? = nil, _ thisArg: Any? = nil
|
|
1756
|
+
) throws {
|
|
1757
|
+
var thisArg = thisArg
|
|
1758
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:419)
|
|
1759
|
+
thisArg =
|
|
1760
|
+
({ () -> Any? in
|
|
1761
|
+
let __v_12 = thisArg
|
|
1762
|
+
return jsTruthy(__v_12) ? __v_12 : nil
|
|
1763
|
+
}())
|
|
1764
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:433)
|
|
1765
|
+
let normalizedName: String = Core_ui_core_bindable_index.getEventOrGestureName(eventNames)
|
|
1766
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:437)
|
|
1767
|
+
let gestureType: Double? = Core_ui_gestures_gestures_common.fromString(normalizedName)
|
|
1768
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:440)
|
|
1769
|
+
if jsTruthy(gestureType) && !self._isEvent(normalizedName) {
|
|
1770
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:441)
|
|
1771
|
+
try self._disconnectGestureObservers(
|
|
1772
|
+
(gestureType ?? .nan), FunctionCell_EventDataOpt_to_Void.implicit(callback), thisArg)
|
|
1773
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:442)
|
|
1774
|
+
return
|
|
1775
|
+
}
|
|
1776
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:445)
|
|
1777
|
+
try super.removeEventListener(normalizedName, FunctionCell_EventDataOpt_to_Void.implicit(callback), thisArg)
|
|
1778
|
+
}
|
|
1779
|
+
#sourceLocation()
|
|
1780
|
+
public final func removeEventListener__ViewCommon(
|
|
1781
|
+
_ eventNames: String, _ callback: ((EventData?) throws -> Void)? = nil, _ thisArg: Any? = nil
|
|
1782
|
+
) throws {
|
|
1783
|
+
var thisArg = thisArg
|
|
1784
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:419)
|
|
1785
|
+
thisArg =
|
|
1786
|
+
({ () -> Any? in
|
|
1787
|
+
let __v_13 = thisArg
|
|
1788
|
+
return jsTruthy(__v_13) ? __v_13 : nil
|
|
1789
|
+
}())
|
|
1790
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:433)
|
|
1791
|
+
let normalizedName: String = Core_ui_core_bindable_index.getEventOrGestureName(eventNames)
|
|
1792
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:437)
|
|
1793
|
+
let gestureType: Double? = Core_ui_gestures_gestures_common.fromString(normalizedName)
|
|
1794
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:440)
|
|
1795
|
+
if jsTruthy(gestureType) && !self._isEvent(normalizedName) {
|
|
1796
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:441)
|
|
1797
|
+
try self._disconnectGestureObservers(
|
|
1798
|
+
(gestureType ?? .nan), FunctionCell_EventDataOpt_to_Void.implicit(callback), thisArg)
|
|
1799
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:442)
|
|
1800
|
+
return
|
|
1801
|
+
}
|
|
1802
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:445)
|
|
1803
|
+
try super.removeEventListener(normalizedName, FunctionCell_EventDataOpt_to_Void.implicit(callback), thisArg)
|
|
1804
|
+
}
|
|
1805
|
+
#sourceLocation()
|
|
1806
|
+
open func onBackPressed() -> Bool {
|
|
1807
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:449)
|
|
1808
|
+
return false
|
|
1809
|
+
}
|
|
1810
|
+
#sourceLocation()
|
|
1811
|
+
open func _getFragmentManager() -> Any? {
|
|
1812
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:453)
|
|
1813
|
+
return nil
|
|
1814
|
+
}
|
|
1815
|
+
#sourceLocation()
|
|
1816
|
+
open func getModalOptions(_ args: JSArray<Any?>?) throws -> Any? {
|
|
1817
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:457)
|
|
1818
|
+
if try jsUnwrap(args, "length").length == 0 {
|
|
1819
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:458)
|
|
1820
|
+
throw JSException(
|
|
1821
|
+
value: JSError(
|
|
1822
|
+
"showModal without parameters is deprecated. Please call showModal on a view instance instead."))
|
|
1823
|
+
} else {
|
|
1824
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:460)
|
|
1825
|
+
var options: Any? = jsNull
|
|
1826
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:462)
|
|
1827
|
+
if try jsUnwrap(args, "length").length == 2 {
|
|
1828
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:463)
|
|
1829
|
+
options = try (jsUnwrap(args, "1").element(1) ?? nil)
|
|
1830
|
+
} else {
|
|
1831
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:465)
|
|
1832
|
+
if try ((jsUnwrap(args, "0").element(0) ?? nil) is ViewCommon) {
|
|
1833
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:466)
|
|
1834
|
+
jsLog(
|
|
1835
|
+
"showModal(view: ViewBase, context: any, closeCallback: Function, fullscreen?: boolean, animated?: boolean, stretched?: boolean) "
|
|
1836
|
+
+ "is deprecated. Use showModal(view: ViewBase, modalOptions: ShowModalOptions) instead.")
|
|
1837
|
+
} else {
|
|
1838
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:468)
|
|
1839
|
+
jsLog(
|
|
1840
|
+
"showModal(moduleName: string, context: any, closeCallback: Function, fullscreen?: boolean, animated?: boolean, stretched?: boolean) "
|
|
1841
|
+
+ "is deprecated. Use showModal(moduleName: string, modalOptions: ShowModalOptions) instead."
|
|
1842
|
+
)
|
|
1843
|
+
}
|
|
1844
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:471)
|
|
1845
|
+
options = try JSObject([
|
|
1846
|
+
("context", ((jsUnwrap(args, "1").element(1) ?? nil) as Any?)),
|
|
1847
|
+
("closeCallback", ((jsUnwrap(args, "2").element(2) ?? nil) as Any?)),
|
|
1848
|
+
("fullscreen", ((jsUnwrap(args, "3").element(3) ?? nil) as Any?)),
|
|
1849
|
+
("animated", ((jsUnwrap(args, "4").element(4) ?? nil) as Any?)),
|
|
1850
|
+
("stretched", ((jsUnwrap(args, "5").element(5) ?? nil) as Any?)),
|
|
1851
|
+
])
|
|
1852
|
+
}
|
|
1853
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:480)
|
|
1854
|
+
let firstArgument: Any? = try ((jsUnwrap(args, "0").element(0) ?? nil) as Any?)
|
|
1855
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:481)
|
|
1856
|
+
let view: ViewCommon? =
|
|
1857
|
+
try
|
|
1858
|
+
((firstArgument is ViewCommon)
|
|
1859
|
+
? (firstArgument as? ViewCommon)
|
|
1860
|
+
: jsImplicit(
|
|
1861
|
+
jsImplicit(Builder.createViewFromEntry(JSObject([("moduleName", firstArgument)]))) as ViewCommon?))
|
|
1862
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:485)
|
|
1863
|
+
return JSObject([("view", view as Any?), ("options", options as Any?)])
|
|
1864
|
+
}
|
|
1865
|
+
}
|
|
1866
|
+
#sourceLocation()
|
|
1867
|
+
open override func showModal(_ __b0: Any?, _ __b1: Any? = nil) throws -> ViewBase? {
|
|
1868
|
+
let args: JSArray<Any?> = JSArray<Any?>([__b0, __b1])
|
|
1869
|
+
let __result: View? = try { () throws -> View? in
|
|
1870
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:490)
|
|
1871
|
+
let __d_1: Any? = try self.getModalOptions(args)
|
|
1872
|
+
let view: ViewCommon? = try jsCast((try jsGet(__d_1, "view")), ViewCommon.self)
|
|
1873
|
+
let options: Any? = (try jsGet(__d_1, "options"))
|
|
1874
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:491)
|
|
1875
|
+
if try jsTruthy((jsCast(jsGetIfPresent(jsGet(options, "transition"), "instance"), ModalTransition.self))) {
|
|
1876
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:492)
|
|
1877
|
+
try SharedTransition.updateState(
|
|
1878
|
+
jsUnwrap(
|
|
1879
|
+
jsCast(jsGetIfPresent(jsGet(options, "transition"), "instance"), ModalTransition.self), "id"
|
|
1880
|
+
).id, JSObject([("page", self), ("toPage", view)]))
|
|
1881
|
+
}
|
|
1882
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:497)
|
|
1883
|
+
try jsUnwrap(view, "_showNativeModalView")._showNativeModalView(self, options)
|
|
1884
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:499)
|
|
1885
|
+
return (view as? View)
|
|
1886
|
+
}()
|
|
1887
|
+
return jsImplicit(__result as ViewBase?)
|
|
1888
|
+
}
|
|
1889
|
+
#sourceLocation()
|
|
1890
|
+
open override func closeModal(_ args: JSArray<Any?>) throws {
|
|
1891
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:503)
|
|
1892
|
+
let closeCallback: Any? = self._closeModalCallback
|
|
1893
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:504)
|
|
1894
|
+
if jsTruthy(closeCallback) {
|
|
1895
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:505)
|
|
1896
|
+
_ = try jsCall(
|
|
1897
|
+
closeCallback, spread: JSArray<Any?>(Array(jsIterated(args, "args is not iterable"))).storage)
|
|
1898
|
+
} else {
|
|
1899
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:507)
|
|
1900
|
+
let parent: ViewBase? = self.parent
|
|
1901
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:508)
|
|
1902
|
+
if jsTruthy(parent) {
|
|
1903
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:509)
|
|
1904
|
+
try jsUnwrap(parent, "closeModal").closeModal(
|
|
1905
|
+
JSArray<Any?>(Array(jsIterated(args, "args is not iterable"))))
|
|
1906
|
+
}
|
|
1907
|
+
}
|
|
1908
|
+
}
|
|
1909
|
+
#sourceLocation()
|
|
1910
|
+
open func _showNativeModalView(_ parent: ViewCommon?, _ options: Any?) throws {
|
|
1911
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:519)
|
|
1912
|
+
_ = try jsUnwrap(Core_ui_core_view_view_common._rootModalViews, "push").push(self)
|
|
1913
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:521)
|
|
1914
|
+
_ = try jsUnwrap(self.cssClasses, "add").add(NativeScriptKit.CSSUtils.MODAL_ROOT_VIEW_CSS_CLASS)
|
|
1915
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:522)
|
|
1916
|
+
let modalRootViewCssClasses: JSArray<String>? = NativeScriptKit.CSSUtils.getSystemCssClasses()
|
|
1917
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:523)
|
|
1918
|
+
try jsUnwrap(modalRootViewCssClasses, "forEach").forEach({ (c: String) throws -> Void in
|
|
1919
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:523)
|
|
1920
|
+
try _ = jsObjectRequired(jsUnwrap(self.cssClasses, "add").add(c))
|
|
1921
|
+
})
|
|
1922
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:527)
|
|
1923
|
+
let host: ViewBase? = try jsUnwrap(parent, "_getRootModalHost")._getRootModalHost()
|
|
1924
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:528)
|
|
1925
|
+
if jsTruthy(host) {
|
|
1926
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:529)
|
|
1927
|
+
try jsUnwrap(NativeScriptKit.CSSUtils.WINDOW_SCOPED_CSS_CLASSES, "forEach").forEach({
|
|
1928
|
+
(c: String) throws -> Void in
|
|
1929
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:530)
|
|
1930
|
+
if try jsUnwrap(jsUnwrap(host, "cssClasses").cssClasses, "has").has(c) {
|
|
1931
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:531)
|
|
1932
|
+
_ = try jsUnwrap(self.cssClasses, "add").add(c)
|
|
1933
|
+
}
|
|
1934
|
+
})
|
|
1935
|
+
}
|
|
1936
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:536)
|
|
1937
|
+
try jsUnwrap(parent, setting: "_modal")._modal = self
|
|
1938
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:537)
|
|
1939
|
+
try jsUnwrap(self.style, setting: "fontScaleInternal").fontScaleInternal =
|
|
1940
|
+
Core_accessibility_accessibility_common.getFontScale()
|
|
1941
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:538)
|
|
1942
|
+
self._modalParent = parent
|
|
1943
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:539)
|
|
1944
|
+
self._modalContext = try jsGet(options, "context")
|
|
1945
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:540)
|
|
1946
|
+
self._modalOptions = options
|
|
1947
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:541)
|
|
1948
|
+
self._closeModalCallback = FunctionCell_JSArray_AnyOpt_to_Void.scriptOrNil(
|
|
1949
|
+
"", 0,
|
|
1950
|
+
{ (originalArgs: JSArray<Any?>) throws -> Void in
|
|
1951
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:542)
|
|
1952
|
+
let cleanupModalViews: () throws -> Void = { () throws -> Void in
|
|
1953
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:543)
|
|
1954
|
+
let modalIndex: Double = try jsUnwrap(Core_ui_core_view_view_common._rootModalViews, "indexOf")
|
|
1955
|
+
.indexOf(self)
|
|
1956
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:544)
|
|
1957
|
+
if modalIndex > -1 {
|
|
1958
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:545)
|
|
1959
|
+
_ = try jsUnwrap(Core_ui_core_view_view_common._rootModalViews, "splice").splice(modalIndex, 1)
|
|
1960
|
+
}
|
|
1961
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:548)
|
|
1962
|
+
self._modalParent = nil
|
|
1963
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:549)
|
|
1964
|
+
self._modalContext = jsNull
|
|
1965
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:550)
|
|
1966
|
+
self._modalOptions = jsNull
|
|
1967
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:551)
|
|
1968
|
+
self._closeModalCallback = jsNull
|
|
1969
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:552)
|
|
1970
|
+
try self._dialogClosed()
|
|
1971
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:553)
|
|
1972
|
+
try jsUnwrap(parent, setting: "_modal")._modal = nil
|
|
1973
|
+
}
|
|
1974
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:556)
|
|
1975
|
+
let whenClosedCallback: () throws -> Void = { () throws -> Void in
|
|
1976
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:557)
|
|
1977
|
+
let transitionState: Any? = try SharedTransition.getState(self.transitionId)
|
|
1978
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:558)
|
|
1979
|
+
if try jsConvertedBool(jsGetIfPresent(transitionState, "interactiveBegan")) {
|
|
1980
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:559)
|
|
1981
|
+
try SharedTransition.updateState(self.transitionId, JSObject([("interactiveBegan", false)]))
|
|
1982
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:562)
|
|
1983
|
+
if try !(jsConvertedBool(jsGetIfPresent(transitionState, "interactiveCancelled"))) {
|
|
1984
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:563)
|
|
1985
|
+
try cleanupModalViews()
|
|
1986
|
+
}
|
|
1987
|
+
}
|
|
1988
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:567)
|
|
1989
|
+
if try !(jsConvertedBool(jsGetIfPresent(transitionState, "interactiveCancelled"))) {
|
|
1990
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:568)
|
|
1991
|
+
if try jsStringEquals(jsTypeof(jsGet(options, "closeCallback")), "function") {
|
|
1992
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:569)
|
|
1993
|
+
_ = try jsUndefined(
|
|
1994
|
+
{ (__list1: JSArray<Any?>) throws -> Void in
|
|
1995
|
+
try jsUnwrap(
|
|
1996
|
+
FunctionCell_JSArray_AnyOpt_to_Void.fromScriptOrNil(
|
|
1997
|
+
jsGet(options, "closeCallback")), "apply")(
|
|
1998
|
+
try jsObjectRequired(
|
|
1999
|
+
jsArrayOrNil(
|
|
2000
|
+
JSArray<Any?>(Array(__list1.storage.dropFirst(0))),
|
|
2001
|
+
as: JSArray<Any?>.self, { $0 })))
|
|
2002
|
+
}(originalArgs))
|
|
2003
|
+
}
|
|
2004
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:572)
|
|
2005
|
+
try self._tearDownUI(true)
|
|
2006
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:578)
|
|
2007
|
+
try self.notify(
|
|
2008
|
+
EventData(
|
|
2009
|
+
jsObject: JSObject([("eventName", ViewCommon.closedModallyEvent), ("object", self)])))
|
|
2010
|
+
}
|
|
2011
|
+
}
|
|
2012
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:585)
|
|
2013
|
+
let transitionState: Any? = try SharedTransition.getState(self.transitionId)
|
|
2014
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:586)
|
|
2015
|
+
if try !(jsConvertedBool(jsGetIfPresent(transitionState, "interactiveBegan"))) {
|
|
2016
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:587)
|
|
2017
|
+
try cleanupModalViews()
|
|
2018
|
+
}
|
|
2019
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:590)
|
|
2020
|
+
try self._hideNativeModalView(parent, whenClosedCallback)
|
|
2021
|
+
})
|
|
2022
|
+
}
|
|
2023
|
+
#sourceLocation()
|
|
2024
|
+
public final func _showNativeModalView__ViewCommon(_ parent: ViewCommon?, _ options: Any?) throws {
|
|
2025
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:519)
|
|
2026
|
+
_ = try jsUnwrap(Core_ui_core_view_view_common._rootModalViews, "push").push(self)
|
|
2027
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:521)
|
|
2028
|
+
_ = try jsUnwrap(self.cssClasses, "add").add(NativeScriptKit.CSSUtils.MODAL_ROOT_VIEW_CSS_CLASS)
|
|
2029
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:522)
|
|
2030
|
+
let modalRootViewCssClasses: JSArray<String>? = NativeScriptKit.CSSUtils.getSystemCssClasses()
|
|
2031
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:523)
|
|
2032
|
+
try jsUnwrap(modalRootViewCssClasses, "forEach").forEach({ (c: String) throws -> Void in
|
|
2033
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:523)
|
|
2034
|
+
try _ = jsObjectRequired(jsUnwrap(self.cssClasses, "add").add(c))
|
|
2035
|
+
})
|
|
2036
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:527)
|
|
2037
|
+
let host: ViewBase? = try jsUnwrap(parent, "_getRootModalHost")._getRootModalHost()
|
|
2038
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:528)
|
|
2039
|
+
if jsTruthy(host) {
|
|
2040
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:529)
|
|
2041
|
+
try jsUnwrap(NativeScriptKit.CSSUtils.WINDOW_SCOPED_CSS_CLASSES, "forEach").forEach({
|
|
2042
|
+
(c: String) throws -> Void in
|
|
2043
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:530)
|
|
2044
|
+
if try jsUnwrap(jsUnwrap(host, "cssClasses").cssClasses, "has").has(c) {
|
|
2045
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:531)
|
|
2046
|
+
_ = try jsUnwrap(self.cssClasses, "add").add(c)
|
|
2047
|
+
}
|
|
2048
|
+
})
|
|
2049
|
+
}
|
|
2050
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:536)
|
|
2051
|
+
try jsUnwrap(parent, setting: "_modal")._modal = self
|
|
2052
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:537)
|
|
2053
|
+
try jsUnwrap(self.style, setting: "fontScaleInternal").fontScaleInternal =
|
|
2054
|
+
Core_accessibility_accessibility_common.getFontScale()
|
|
2055
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:538)
|
|
2056
|
+
self._modalParent = parent
|
|
2057
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:539)
|
|
2058
|
+
self._modalContext = try jsGet(options, "context")
|
|
2059
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:540)
|
|
2060
|
+
self._modalOptions = options
|
|
2061
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:541)
|
|
2062
|
+
self._closeModalCallback = FunctionCell_JSArray_AnyOpt_to_Void.scriptOrNil(
|
|
2063
|
+
"", 0,
|
|
2064
|
+
{ (originalArgs: JSArray<Any?>) throws -> Void in
|
|
2065
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:542)
|
|
2066
|
+
let cleanupModalViews: () throws -> Void = { () throws -> Void in
|
|
2067
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:543)
|
|
2068
|
+
let modalIndex: Double = try jsUnwrap(Core_ui_core_view_view_common._rootModalViews, "indexOf")
|
|
2069
|
+
.indexOf(self)
|
|
2070
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:544)
|
|
2071
|
+
if modalIndex > -1 {
|
|
2072
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:545)
|
|
2073
|
+
_ = try jsUnwrap(Core_ui_core_view_view_common._rootModalViews, "splice").splice(modalIndex, 1)
|
|
2074
|
+
}
|
|
2075
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:548)
|
|
2076
|
+
self._modalParent = nil
|
|
2077
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:549)
|
|
2078
|
+
self._modalContext = jsNull
|
|
2079
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:550)
|
|
2080
|
+
self._modalOptions = jsNull
|
|
2081
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:551)
|
|
2082
|
+
self._closeModalCallback = jsNull
|
|
2083
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:552)
|
|
2084
|
+
try self._dialogClosed()
|
|
2085
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:553)
|
|
2086
|
+
try jsUnwrap(parent, setting: "_modal")._modal = nil
|
|
2087
|
+
}
|
|
2088
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:556)
|
|
2089
|
+
let whenClosedCallback: () throws -> Void = { () throws -> Void in
|
|
2090
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:557)
|
|
2091
|
+
let transitionState: Any? = try SharedTransition.getState(self.transitionId)
|
|
2092
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:558)
|
|
2093
|
+
if try jsConvertedBool(jsGetIfPresent(transitionState, "interactiveBegan")) {
|
|
2094
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:559)
|
|
2095
|
+
try SharedTransition.updateState(self.transitionId, JSObject([("interactiveBegan", false)]))
|
|
2096
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:562)
|
|
2097
|
+
if try !(jsConvertedBool(jsGetIfPresent(transitionState, "interactiveCancelled"))) {
|
|
2098
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:563)
|
|
2099
|
+
try cleanupModalViews()
|
|
2100
|
+
}
|
|
2101
|
+
}
|
|
2102
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:567)
|
|
2103
|
+
if try !(jsConvertedBool(jsGetIfPresent(transitionState, "interactiveCancelled"))) {
|
|
2104
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:568)
|
|
2105
|
+
if try jsStringEquals(jsTypeof(jsGet(options, "closeCallback")), "function") {
|
|
2106
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:569)
|
|
2107
|
+
_ = try jsUndefined(
|
|
2108
|
+
{ (__list2: JSArray<Any?>) throws -> Void in
|
|
2109
|
+
try jsUnwrap(
|
|
2110
|
+
FunctionCell_JSArray_AnyOpt_to_Void.fromScriptOrNil(
|
|
2111
|
+
jsGet(options, "closeCallback")), "apply")(
|
|
2112
|
+
try jsObjectRequired(
|
|
2113
|
+
jsArrayOrNil(
|
|
2114
|
+
JSArray<Any?>(Array(__list2.storage.dropFirst(0))),
|
|
2115
|
+
as: JSArray<Any?>.self, { $0 })))
|
|
2116
|
+
}(originalArgs))
|
|
2117
|
+
}
|
|
2118
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:572)
|
|
2119
|
+
try self._tearDownUI(true)
|
|
2120
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:578)
|
|
2121
|
+
try self.notify(
|
|
2122
|
+
EventData(
|
|
2123
|
+
jsObject: JSObject([("eventName", ViewCommon.closedModallyEvent), ("object", self)])))
|
|
2124
|
+
}
|
|
2125
|
+
}
|
|
2126
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:585)
|
|
2127
|
+
let transitionState: Any? = try SharedTransition.getState(self.transitionId)
|
|
2128
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:586)
|
|
2129
|
+
if try !(jsConvertedBool(jsGetIfPresent(transitionState, "interactiveBegan"))) {
|
|
2130
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:587)
|
|
2131
|
+
try cleanupModalViews()
|
|
2132
|
+
}
|
|
2133
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:590)
|
|
2134
|
+
try self._hideNativeModalView(parent, whenClosedCallback)
|
|
2135
|
+
})
|
|
2136
|
+
}
|
|
2137
|
+
#sourceLocation()
|
|
2138
|
+
open func _hideNativeModalView(_ parent: ViewCommon?, _ whenClosedCallback: @escaping () throws -> Void) throws {
|
|
2139
|
+
|
|
2140
|
+
}
|
|
2141
|
+
public final func _hideNativeModalView__ViewCommon(
|
|
2142
|
+
_ parent: ViewCommon?, _ whenClosedCallback: @escaping () throws -> Void
|
|
2143
|
+
) throws {
|
|
2144
|
+
|
|
2145
|
+
}
|
|
2146
|
+
open func _raiseLayoutChangedEvent() throws {
|
|
2147
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:597)
|
|
2148
|
+
let args: EventData = EventData(
|
|
2149
|
+
jsObject: EventData(jsObject: JSObject([("eventName", ViewCommon.layoutChangedEvent), ("object", self)])))
|
|
2150
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:601)
|
|
2151
|
+
try self.notify(args)
|
|
2152
|
+
}
|
|
2153
|
+
#sourceLocation()
|
|
2154
|
+
open func _raiseShownModallyEvent() throws {
|
|
2155
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:605)
|
|
2156
|
+
let args: Any? = JSObject([
|
|
2157
|
+
("eventName", ViewCommon.shownModallyEvent), ("object", self), ("context", self._modalContext),
|
|
2158
|
+
("closeCallback", self._closeModalCallback),
|
|
2159
|
+
])
|
|
2160
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:611)
|
|
2161
|
+
try self.notify(args)
|
|
2162
|
+
}
|
|
2163
|
+
#sourceLocation()
|
|
2164
|
+
open func _raiseShowingModallyEvent() throws {
|
|
2165
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:615)
|
|
2166
|
+
let args: Any? = JSObject([
|
|
2167
|
+
("eventName", ViewCommon.showingModallyEvent), ("object", self), ("context", self._modalContext),
|
|
2168
|
+
("closeCallback", self._closeModalCallback),
|
|
2169
|
+
])
|
|
2170
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:621)
|
|
2171
|
+
try self.notify(args)
|
|
2172
|
+
}
|
|
2173
|
+
#sourceLocation()
|
|
2174
|
+
open func _isEvent(_ name: String) -> Bool {
|
|
2175
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:625)
|
|
2176
|
+
return
|
|
2177
|
+
({ () -> Bool in
|
|
2178
|
+
let __v_14 = jsConstructor(self)
|
|
2179
|
+
return jsTruthy(__v_14) ? jsHasKey(jsConstructor(self), "\(name)Event") : jsLenientBool(__v_14)
|
|
2180
|
+
}())
|
|
2181
|
+
}
|
|
2182
|
+
#sourceLocation()
|
|
2183
|
+
open func _disconnectGestureObservers(
|
|
2184
|
+
_ type: Double, _ callback: ((EventData?) throws -> Void)? = nil, _ thisArg: Any? = nil
|
|
2185
|
+
) throws {
|
|
2186
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:631)
|
|
2187
|
+
let observers: JSArray<GesturesObserver>? = try self.getGestureObservers(type)
|
|
2188
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:632)
|
|
2189
|
+
if !jsTruthy(observers) {
|
|
2190
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:633)
|
|
2191
|
+
return
|
|
2192
|
+
}
|
|
2193
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:636)
|
|
2194
|
+
var i: Double = 0
|
|
2195
|
+
var __first1 = true
|
|
2196
|
+
while true {
|
|
2197
|
+
if !__first1 { i += 1 }
|
|
2198
|
+
__first1 = false
|
|
2199
|
+
if !(try i < jsUnwrap(observers, "length").length) { break }
|
|
2200
|
+
do {
|
|
2201
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:637)
|
|
2202
|
+
let observer: GesturesObserver? = try jsUnwrap(observers, "i").element(i)
|
|
2203
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:640)
|
|
2204
|
+
if try
|
|
2205
|
+
(jsTruthy(thisArg)
|
|
2206
|
+
&& (!jsSameFunction(
|
|
2207
|
+
{ (__c: ((Any?) throws -> Void)?) -> FunctionCell_AnyOpt_to_Void? in
|
|
2208
|
+
if let __c { return FunctionCell_AnyOpt_to_Void(f: __c) } else { return nil }
|
|
2209
|
+
}(jsUnwrap(observer, "callback").callback),
|
|
2210
|
+
{ (__c: ((EventData?) throws -> Void)?) -> FunctionCell_EventDataOpt_to_Void? in
|
|
2211
|
+
if let __c { return FunctionCell_EventDataOpt_to_Void(f: __c) } else { return nil }
|
|
2212
|
+
}(FunctionCell_EventDataOpt_to_Void.implicit(callback)))
|
|
2213
|
+
|| !jsStrictEquals(jsUnwrap(observer, "context").context, thisArg)))
|
|
2214
|
+
{
|
|
2215
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:641)
|
|
2216
|
+
continue
|
|
2217
|
+
}
|
|
2218
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:645)
|
|
2219
|
+
if try
|
|
2220
|
+
(jsTruthy(callback as Any?)
|
|
2221
|
+
&& !jsSameFunction(
|
|
2222
|
+
{ (__c: ((Any?) throws -> Void)?) -> FunctionCell_AnyOpt_to_Void? in
|
|
2223
|
+
if let __c { return FunctionCell_AnyOpt_to_Void(f: __c) } else { return nil }
|
|
2224
|
+
}(jsUnwrap(observer, "callback").callback),
|
|
2225
|
+
{ (__c: ((EventData?) throws -> Void)?) -> FunctionCell_EventDataOpt_to_Void? in
|
|
2226
|
+
if let __c { return FunctionCell_EventDataOpt_to_Void(f: __c) } else { return nil }
|
|
2227
|
+
}(FunctionCell_EventDataOpt_to_Void.implicit(callback))))
|
|
2228
|
+
{
|
|
2229
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:646)
|
|
2230
|
+
continue
|
|
2231
|
+
}
|
|
2232
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:649)
|
|
2233
|
+
try jsUnwrap(observer, "disconnect").disconnect()
|
|
2234
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:650)
|
|
2235
|
+
_ = try jsUnwrap(observers, "splice").splice(i, 1)
|
|
2236
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:651)
|
|
2237
|
+
i -= 1
|
|
2238
|
+
}
|
|
2239
|
+
}
|
|
2240
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:654)
|
|
2241
|
+
if try !(jsTruthy(jsUnwrap(observers, "length").length)) {
|
|
2242
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:655)
|
|
2243
|
+
_ = try jsDelete(self._gestureObservers, js(type))
|
|
2244
|
+
}
|
|
2245
|
+
}
|
|
2246
|
+
#sourceLocation()
|
|
2247
|
+
/// (Android only) Gets closest window parent considering modals.
|
|
2248
|
+
open func getClosestWindow() -> Any? {
|
|
2249
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1109)
|
|
2250
|
+
return jsNull
|
|
2251
|
+
}
|
|
2252
|
+
#sourceLocation()
|
|
2253
|
+
open func updateStatusBarStyle(_ value: String) throws {
|
|
2254
|
+
|
|
2255
|
+
}
|
|
2256
|
+
public final func updateStatusBarStyle__ViewCommon(_ value: String) throws {
|
|
2257
|
+
|
|
2258
|
+
}
|
|
2259
|
+
open func measure(_ widthMeasureSpec: Double, _ heightMeasureSpec: Double) throws {
|
|
2260
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1149)
|
|
2261
|
+
_ = self._setCurrentMeasureSpecs(widthMeasureSpec, heightMeasureSpec)
|
|
2262
|
+
}
|
|
2263
|
+
#sourceLocation()
|
|
2264
|
+
public final func measure__ViewCommon(_ widthMeasureSpec: Double, _ heightMeasureSpec: Double) throws {
|
|
2265
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1149)
|
|
2266
|
+
_ = self._setCurrentMeasureSpecs(widthMeasureSpec, heightMeasureSpec)
|
|
2267
|
+
}
|
|
2268
|
+
#sourceLocation()
|
|
2269
|
+
open func layout(_ left: Double, _ top: Double, _ right: Double, _ bottom: Double, _ __extra0: Bool? = nil) throws {
|
|
2270
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1153)
|
|
2271
|
+
_ = self._setCurrentLayoutBounds(left, top, right, bottom)
|
|
2272
|
+
}
|
|
2273
|
+
#sourceLocation()
|
|
2274
|
+
public final func layout__ViewCommon(
|
|
2275
|
+
_ left: Double, _ top: Double, _ right: Double, _ bottom: Double, _ __extra0: Bool? = nil
|
|
2276
|
+
) throws {
|
|
2277
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1153)
|
|
2278
|
+
_ = self._setCurrentLayoutBounds(left, top, right, bottom)
|
|
2279
|
+
}
|
|
2280
|
+
#sourceLocation()
|
|
2281
|
+
open func getMeasuredWidth() -> Double {
|
|
2282
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1157)
|
|
2283
|
+
return
|
|
2284
|
+
({ () -> Double in
|
|
2285
|
+
let __v_15 = jsBitAnd(self._measuredWidth, NativeScriptKit.layout.MEASURED_SIZE_MASK)
|
|
2286
|
+
return jsTruthy(__v_15) ? jsPresent(__v_15) : 0
|
|
2287
|
+
}())
|
|
2288
|
+
}
|
|
2289
|
+
#sourceLocation()
|
|
2290
|
+
open func getMeasuredHeight() -> Double {
|
|
2291
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1161)
|
|
2292
|
+
return
|
|
2293
|
+
({ () -> Double in
|
|
2294
|
+
let __v_16 = jsBitAnd(self._measuredHeight, NativeScriptKit.layout.MEASURED_SIZE_MASK)
|
|
2295
|
+
return jsTruthy(__v_16) ? jsPresent(__v_16) : 0
|
|
2296
|
+
}())
|
|
2297
|
+
}
|
|
2298
|
+
#sourceLocation()
|
|
2299
|
+
open func getMeasuredState() -> Double {
|
|
2300
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1165)
|
|
2301
|
+
return jsBitOr(
|
|
2302
|
+
jsBitAnd(self._measuredWidth, NativeScriptKit.layout.MEASURED_STATE_MASK),
|
|
2303
|
+
jsBitAnd(
|
|
2304
|
+
jsShiftRight(self._measuredHeight, NativeScriptKit.layout.MEASURED_HEIGHT_STATE_SHIFT),
|
|
2305
|
+
jsShiftRight(
|
|
2306
|
+
NativeScriptKit.layout.MEASURED_STATE_MASK, NativeScriptKit.layout.MEASURED_HEIGHT_STATE_SHIFT)))
|
|
2307
|
+
}
|
|
2308
|
+
#sourceLocation()
|
|
2309
|
+
open func setMeasuredDimension(_ measuredWidth: Double, _ measuredHeight: Double) throws {
|
|
2310
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1169)
|
|
2311
|
+
self._measuredWidth = measuredWidth
|
|
2312
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1170)
|
|
2313
|
+
self._measuredHeight = measuredHeight
|
|
2314
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1171)
|
|
2315
|
+
if NativeScriptKit.Trace.isEnabled() {
|
|
2316
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1172)
|
|
2317
|
+
try NativeScriptKit.Trace.write(
|
|
2318
|
+
jsToStringDefaultThrowing(self) + " :setMeasuredDimension: " + js(measuredWidth) + ", "
|
|
2319
|
+
+ js(measuredHeight), NativeScriptKit.Trace.categories.Layout)
|
|
2320
|
+
}
|
|
2321
|
+
}
|
|
2322
|
+
#sourceLocation()
|
|
2323
|
+
public final func setMeasuredDimension__ViewCommon(_ measuredWidth: Double, _ measuredHeight: Double) throws {
|
|
2324
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1169)
|
|
2325
|
+
self._measuredWidth = measuredWidth
|
|
2326
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1170)
|
|
2327
|
+
self._measuredHeight = measuredHeight
|
|
2328
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1171)
|
|
2329
|
+
if NativeScriptKit.Trace.isEnabled() {
|
|
2330
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1172)
|
|
2331
|
+
try NativeScriptKit.Trace.write(
|
|
2332
|
+
jsToStringDefaultThrowing(self) + " :setMeasuredDimension: " + js(measuredWidth) + ", "
|
|
2333
|
+
+ js(measuredHeight), NativeScriptKit.Trace.categories.Layout)
|
|
2334
|
+
}
|
|
2335
|
+
}
|
|
2336
|
+
#sourceLocation()
|
|
2337
|
+
open func onMeasure(_ widthMeasureSpec: Double, _ heightMeasureSpec: Double) throws {
|
|
2338
|
+
throw JSException(JSTypeError("onMeasure is not a function"))
|
|
2339
|
+
}
|
|
2340
|
+
open func onLayout(_ left: Double, _ top: Double, _ right: Double, _ bottom: Double) throws {
|
|
2341
|
+
throw JSException(JSTypeError("onLayout is not a function"))
|
|
2342
|
+
}
|
|
2343
|
+
open func layoutNativeView(_ left: Double, _ top: Double, _ right: Double, _ bottom: Double) throws {
|
|
2344
|
+
throw JSException(JSTypeError("layoutNativeView is not a function"))
|
|
2345
|
+
}
|
|
2346
|
+
open class func resolveSizeAndState(
|
|
2347
|
+
_ size: Double, _ specSize: Double, _ specMode: Double, _ childMeasuredState: Double
|
|
2348
|
+
) -> Double {
|
|
2349
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1181)
|
|
2350
|
+
return ViewHelper.resolveSizeAndState(size, specSize, specMode, childMeasuredState)
|
|
2351
|
+
}
|
|
2352
|
+
#sourceLocation()
|
|
2353
|
+
open class func combineMeasuredStates(_ curState: Double, _ newState: Any?) throws -> Double {
|
|
2354
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1185)
|
|
2355
|
+
return try ViewHelper.combineMeasuredStates(curState, newState)
|
|
2356
|
+
}
|
|
2357
|
+
#sourceLocation()
|
|
2358
|
+
open class func layoutChild(
|
|
2359
|
+
_ parent: ViewCommon?, _ child: ViewCommon?, _ left: Double, _ top: Double, _ right: Double, _ bottom: Double,
|
|
2360
|
+
_ setFrame: Bool = true
|
|
2361
|
+
) throws {
|
|
2362
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1189)
|
|
2363
|
+
try ViewHelper.layoutChild((parent as? View), (child as? View), left, top, right, bottom)
|
|
2364
|
+
}
|
|
2365
|
+
#sourceLocation()
|
|
2366
|
+
open class func measureChild(
|
|
2367
|
+
_ parent: ViewCommon?, _ child: ViewCommon?, _ widthMeasureSpec: Double, _ heightMeasureSpec: Double
|
|
2368
|
+
) throws -> Any? {
|
|
2369
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1193)
|
|
2370
|
+
return try ViewHelper.measureChild((parent as? View), (child as? View), widthMeasureSpec, heightMeasureSpec)
|
|
2371
|
+
}
|
|
2372
|
+
#sourceLocation()
|
|
2373
|
+
open func _setCurrentMeasureSpecs(_ widthMeasureSpec: Double, _ heightMeasureSpec: Double) -> Bool {
|
|
2374
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1197)
|
|
2375
|
+
let changed: Bool =
|
|
2376
|
+
!jsLenientNumberEquals(self._currentWidthMeasureSpec, widthMeasureSpec)
|
|
2377
|
+
|| !jsLenientNumberEquals(self._currentHeightMeasureSpec, heightMeasureSpec)
|
|
2378
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1198)
|
|
2379
|
+
self._currentWidthMeasureSpec = widthMeasureSpec
|
|
2380
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1199)
|
|
2381
|
+
self._currentHeightMeasureSpec = heightMeasureSpec
|
|
2382
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1201)
|
|
2383
|
+
return changed
|
|
2384
|
+
}
|
|
2385
|
+
#sourceLocation()
|
|
2386
|
+
open func _getCurrentLayoutBounds() throws -> Any? {
|
|
2387
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1205)
|
|
2388
|
+
return JSObject([("left", Double(0)), ("top", Double(0)), ("right", Double(0)), ("bottom", Double(0))])
|
|
2389
|
+
}
|
|
2390
|
+
#sourceLocation()
|
|
2391
|
+
public final func _getCurrentLayoutBounds__ViewCommon() throws -> Any? {
|
|
2392
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1205)
|
|
2393
|
+
return JSObject([("left", Double(0)), ("top", Double(0)), ("right", Double(0)), ("bottom", Double(0))])
|
|
2394
|
+
}
|
|
2395
|
+
#sourceLocation()
|
|
2396
|
+
/// Returns two booleans - the first if "boundsChanged" the second is "sizeChanged".
|
|
2397
|
+
open func _setCurrentLayoutBounds(_ left: Double, _ top: Double, _ right: Double, _ bottom: Double) -> Any? {
|
|
2398
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1212)
|
|
2399
|
+
let boundsChanged: Bool =
|
|
2400
|
+
!jsLenientNumberEquals(self._oldLeft, left) || !jsLenientNumberEquals(self._oldTop, top)
|
|
2401
|
+
|| !jsLenientNumberEquals(self._oldRight, right) || !jsLenientNumberEquals(self._oldBottom, bottom)
|
|
2402
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1213)
|
|
2403
|
+
let sizeChanged: Bool =
|
|
2404
|
+
self._oldRight - self._oldLeft != right - left || self._oldBottom - self._oldTop != bottom - top
|
|
2405
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1214)
|
|
2406
|
+
self._oldLeft = left
|
|
2407
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1215)
|
|
2408
|
+
self._oldTop = top
|
|
2409
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1216)
|
|
2410
|
+
self._oldRight = right
|
|
2411
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1217)
|
|
2412
|
+
self._oldBottom = bottom
|
|
2413
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1219)
|
|
2414
|
+
return JSObject([("boundsChanged", boundsChanged as Any?), ("sizeChanged", sizeChanged as Any?)])
|
|
2415
|
+
}
|
|
2416
|
+
#sourceLocation()
|
|
2417
|
+
open override func eachChild(_ callback: @escaping (ViewBase?) throws -> Bool) throws {
|
|
2418
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1223)
|
|
2419
|
+
try self.eachChildView(
|
|
2420
|
+
FunctionCell_ViewCommonOpt_to_Bool.present(
|
|
2421
|
+
FunctionCell_ViewCommonOpt_to_Bool.fromScriptOrNil(
|
|
2422
|
+
FunctionCell_ViewBaseOpt_to_Bool.scriptOrNil(
|
|
2423
|
+
"", 1, FunctionCell_ViewBaseOpt_to_Bool.present(callback)))))
|
|
2424
|
+
}
|
|
2425
|
+
#sourceLocation()
|
|
2426
|
+
public final func eachChild__ViewCommon(_ callback: @escaping (ViewBase?) throws -> Bool) throws {
|
|
2427
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1223)
|
|
2428
|
+
try self.eachChildView(
|
|
2429
|
+
FunctionCell_ViewCommonOpt_to_Bool.present(
|
|
2430
|
+
FunctionCell_ViewCommonOpt_to_Bool.fromScriptOrNil(
|
|
2431
|
+
FunctionCell_ViewBaseOpt_to_Bool.scriptOrNil(
|
|
2432
|
+
"", 1, FunctionCell_ViewBaseOpt_to_Bool.present(callback)))))
|
|
2433
|
+
}
|
|
2434
|
+
#sourceLocation()
|
|
2435
|
+
open func eachChildView(_ callback: @escaping (ViewCommon?) throws -> Bool) throws {
|
|
2436
|
+
|
|
2437
|
+
}
|
|
2438
|
+
public final func eachChildView__ViewCommon(_ callback: @escaping (ViewCommon?) throws -> Bool) throws {
|
|
2439
|
+
|
|
2440
|
+
}
|
|
2441
|
+
open func _getNativeViewsCount() throws -> Double {
|
|
2442
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1231)
|
|
2443
|
+
return (self._isAddedToNativeVisualTree ? 1 : 0)
|
|
2444
|
+
}
|
|
2445
|
+
#sourceLocation()
|
|
2446
|
+
public final func _getNativeViewsCount__ViewCommon() throws -> Double {
|
|
2447
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1231)
|
|
2448
|
+
return (self._isAddedToNativeVisualTree ? 1 : 0)
|
|
2449
|
+
}
|
|
2450
|
+
#sourceLocation()
|
|
2451
|
+
open func _eachLayoutView(_ callback: @escaping (Any?) throws -> Void) throws {
|
|
2452
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1235)
|
|
2453
|
+
_ = try jsCallable(callback, "callback")(self)
|
|
2454
|
+
return
|
|
2455
|
+
}
|
|
2456
|
+
#sourceLocation()
|
|
2457
|
+
public final func _eachLayoutView__ViewCommon(_ callback: @escaping (Any?) throws -> Void) throws {
|
|
2458
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1235)
|
|
2459
|
+
_ = try jsCallable(callback, "callback")(self)
|
|
2460
|
+
return
|
|
2461
|
+
}
|
|
2462
|
+
#sourceLocation()
|
|
2463
|
+
open func focus() throws -> Bool? {
|
|
2464
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1239)
|
|
2465
|
+
return nil
|
|
2466
|
+
}
|
|
2467
|
+
#sourceLocation()
|
|
2468
|
+
public final func focus__ViewCommon() throws -> Bool? {
|
|
2469
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1239)
|
|
2470
|
+
return nil
|
|
2471
|
+
}
|
|
2472
|
+
#sourceLocation()
|
|
2473
|
+
open func getSafeAreaInsets() throws -> Any? {
|
|
2474
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1243)
|
|
2475
|
+
return JSObject([("left", Double(0)), ("top", Double(0)), ("right", Double(0)), ("bottom", Double(0))])
|
|
2476
|
+
}
|
|
2477
|
+
#sourceLocation()
|
|
2478
|
+
public final func getSafeAreaInsets__ViewCommon() throws -> Any? {
|
|
2479
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1243)
|
|
2480
|
+
return JSObject([("left", Double(0)), ("top", Double(0)), ("right", Double(0)), ("bottom", Double(0))])
|
|
2481
|
+
}
|
|
2482
|
+
#sourceLocation()
|
|
2483
|
+
open func getLocationInWindow() throws -> Point? {
|
|
2484
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1247)
|
|
2485
|
+
return nil
|
|
2486
|
+
}
|
|
2487
|
+
#sourceLocation()
|
|
2488
|
+
public final func getLocationInWindow__ViewCommon() throws -> Point? {
|
|
2489
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1247)
|
|
2490
|
+
return nil
|
|
2491
|
+
}
|
|
2492
|
+
#sourceLocation()
|
|
2493
|
+
open func getLocationOnScreen() throws -> Point? {
|
|
2494
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1251)
|
|
2495
|
+
return nil
|
|
2496
|
+
}
|
|
2497
|
+
#sourceLocation()
|
|
2498
|
+
public final func getLocationOnScreen__ViewCommon() throws -> Point? {
|
|
2499
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1251)
|
|
2500
|
+
return nil
|
|
2501
|
+
}
|
|
2502
|
+
#sourceLocation()
|
|
2503
|
+
open func getLocationRelativeTo(_ otherView: ViewCommon?) throws -> Point? {
|
|
2504
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1255)
|
|
2505
|
+
return nil
|
|
2506
|
+
}
|
|
2507
|
+
#sourceLocation()
|
|
2508
|
+
public final func getLocationRelativeTo__ViewCommon(_ otherView: ViewCommon?) throws -> Point? {
|
|
2509
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1255)
|
|
2510
|
+
return nil
|
|
2511
|
+
}
|
|
2512
|
+
#sourceLocation()
|
|
2513
|
+
open func getActualSize() throws -> Size? {
|
|
2514
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1259)
|
|
2515
|
+
let currentBounds: Any? = try self._getCurrentLayoutBounds()
|
|
2516
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1260)
|
|
2517
|
+
if !jsTruthy(currentBounds) {
|
|
2518
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1261)
|
|
2519
|
+
return nil
|
|
2520
|
+
}
|
|
2521
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1264)
|
|
2522
|
+
return try Size(
|
|
2523
|
+
width: NativeScriptKit.layout.toDeviceIndependentPixels(
|
|
2524
|
+
jsLenientNumber(jsGet(currentBounds, "right")) - jsLenientNumber(jsGet(currentBounds, "left"))),
|
|
2525
|
+
height: NativeScriptKit.layout.toDeviceIndependentPixels(
|
|
2526
|
+
jsLenientNumber(jsGet(currentBounds, "bottom")) - jsLenientNumber(jsGet(currentBounds, "top"))))
|
|
2527
|
+
}
|
|
2528
|
+
#sourceLocation()
|
|
2529
|
+
open func animate(_ animation: Any?) throws -> Any? {
|
|
2530
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1271)
|
|
2531
|
+
let animationInstance: Animation? = try self.createAnimation(animation)
|
|
2532
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1272)
|
|
2533
|
+
let promise: Any? = try jsUnwrap(animationInstance, "play").play()
|
|
2534
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1273)
|
|
2535
|
+
try jsSet(
|
|
2536
|
+
promise, "cancel",
|
|
2537
|
+
FunctionCell_none_to_Void.scriptOrNil(
|
|
2538
|
+
"", 0,
|
|
2539
|
+
{ () throws -> Void in
|
|
2540
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1273)
|
|
2541
|
+
try jsUnwrap(animationInstance, "cancel").cancel()
|
|
2542
|
+
}))
|
|
2543
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1274)
|
|
2544
|
+
return promise
|
|
2545
|
+
}
|
|
2546
|
+
#sourceLocation()
|
|
2547
|
+
open func createAnimation(_ animation: Any?) throws -> Animation? {
|
|
2548
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1278)
|
|
2549
|
+
if !jsTruthy(self._localAnimations) {
|
|
2550
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1279)
|
|
2551
|
+
self._localAnimations = JSSet<Animation>()
|
|
2552
|
+
}
|
|
2553
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1281)
|
|
2554
|
+
try jsSet(animation, "target", self)
|
|
2555
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1282)
|
|
2556
|
+
let anim: Animation = try Animation(JSArray<Any?>([animation]))
|
|
2557
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1283)
|
|
2558
|
+
_ = try jsUnwrap(self._localAnimations, "add").add(anim)
|
|
2559
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1285)
|
|
2560
|
+
return anim
|
|
2561
|
+
}
|
|
2562
|
+
#sourceLocation()
|
|
2563
|
+
open func _removeAnimation(_ animation: Animation?) throws -> Bool {
|
|
2564
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1289)
|
|
2565
|
+
let localAnimations: JSSet<Animation>? = self._localAnimations
|
|
2566
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1290)
|
|
2567
|
+
if try
|
|
2568
|
+
(jsTruthy(localAnimations)
|
|
2569
|
+
&& ((animation as Animation?).map { try jsUnwrap(localAnimations, "has").has($0) } ?? false))
|
|
2570
|
+
{
|
|
2571
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1291)
|
|
2572
|
+
_ = try ((animation as Animation?).map { try jsUnwrap(localAnimations, "delete").delete($0) } ?? false)
|
|
2573
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1292)
|
|
2574
|
+
if try jsUnwrap(animation, "isPlaying").isPlaying {
|
|
2575
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1293)
|
|
2576
|
+
try jsUnwrap(animation, "cancel").cancel()
|
|
2577
|
+
}
|
|
2578
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1296)
|
|
2579
|
+
return true
|
|
2580
|
+
}
|
|
2581
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1299)
|
|
2582
|
+
return false
|
|
2583
|
+
}
|
|
2584
|
+
#sourceLocation()
|
|
2585
|
+
open override func resetNativeView() throws {
|
|
2586
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1303)
|
|
2587
|
+
if jsTruthy(self._localAnimations) {
|
|
2588
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1304)
|
|
2589
|
+
try jsUnwrap(self._localAnimations, "forEach").forEach { (a: Animation, _: Animation) throws -> Void in
|
|
2590
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1304)
|
|
2591
|
+
try _ = self._removeAnimation(a)
|
|
2592
|
+
}
|
|
2593
|
+
}
|
|
2594
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1307)
|
|
2595
|
+
try super.resetNativeView()
|
|
2596
|
+
}
|
|
2597
|
+
#sourceLocation()
|
|
2598
|
+
open func _modifyNativeViewFrame(_ nativeView: Any?, _ frame: Any?) throws {
|
|
2599
|
+
|
|
2600
|
+
}
|
|
2601
|
+
public final func _modifyNativeViewFrame__ViewCommon(_ nativeView: Any?, _ frame: Any?) throws {
|
|
2602
|
+
|
|
2603
|
+
}
|
|
2604
|
+
open func _setNativeViewFrame(_ nativeView: Any?, _ frame: Any?) throws {
|
|
2605
|
+
|
|
2606
|
+
}
|
|
2607
|
+
public final func _setNativeViewFrame__ViewCommon(_ nativeView: Any?, _ frame: Any?) throws {
|
|
2608
|
+
|
|
2609
|
+
}
|
|
2610
|
+
open func _getValue() throws -> Never {
|
|
2611
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1319)
|
|
2612
|
+
throw JSException(value: JSError("The View._getValue is obsolete. There is a new property system."))
|
|
2613
|
+
}
|
|
2614
|
+
#sourceLocation()
|
|
2615
|
+
open func _setValue() throws -> Never {
|
|
2616
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1323)
|
|
2617
|
+
throw JSException(value: JSError("The View._setValue is obsolete. There is a new property system."))
|
|
2618
|
+
}
|
|
2619
|
+
#sourceLocation()
|
|
2620
|
+
open func _updateEffectiveLayoutValues(
|
|
2621
|
+
_ parentWidthMeasureSize: Double, _ parentWidthMeasureMode: Double, _ parentHeightMeasureSize: Double,
|
|
2622
|
+
_ parentHeightMeasureMode: Double
|
|
2623
|
+
) throws {
|
|
2624
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1327)
|
|
2625
|
+
let style: Style? = self.style
|
|
2626
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1329)
|
|
2627
|
+
let availableWidth: Double =
|
|
2628
|
+
(jsLenientNumberEquals(parentWidthMeasureMode, NativeScriptKit.layout.UNSPECIFIED)
|
|
2629
|
+
? -1 : parentWidthMeasureSize)
|
|
2630
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1331)
|
|
2631
|
+
self.effectiveWidth = try jsCallable(
|
|
2632
|
+
NativeScriptKit.PercentLength.toDevicePixels, "PercentLength.toDevicePixels")(
|
|
2633
|
+
jsUnwrap(style, "width").width, -2, availableWidth)
|
|
2634
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1332)
|
|
2635
|
+
self.effectiveMaxWidth = try Core_ui_core_view_view_common.resolveEffectiveMax(
|
|
2636
|
+
jsUnwrap(style, "maxWidth").maxWidth, availableWidth)
|
|
2637
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1333)
|
|
2638
|
+
self.effectiveMarginLeft = try jsCallable(
|
|
2639
|
+
NativeScriptKit.PercentLength.toDevicePixels, "PercentLength.toDevicePixels")(
|
|
2640
|
+
jsUnwrap(style, "marginLeft").marginLeft, 0, availableWidth)
|
|
2641
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1334)
|
|
2642
|
+
self.effectiveMarginRight = try jsCallable(
|
|
2643
|
+
NativeScriptKit.PercentLength.toDevicePixels, "PercentLength.toDevicePixels")(
|
|
2644
|
+
jsUnwrap(style, "marginRight").marginRight, 0, availableWidth)
|
|
2645
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1336)
|
|
2646
|
+
let availableHeight: Double =
|
|
2647
|
+
(jsLenientNumberEquals(parentHeightMeasureMode, NativeScriptKit.layout.UNSPECIFIED)
|
|
2648
|
+
? -1 : parentHeightMeasureSize)
|
|
2649
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1338)
|
|
2650
|
+
self.effectiveHeight = try jsCallable(
|
|
2651
|
+
NativeScriptKit.PercentLength.toDevicePixels, "PercentLength.toDevicePixels")(
|
|
2652
|
+
jsUnwrap(style, "height").height, -2, availableHeight)
|
|
2653
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1339)
|
|
2654
|
+
self.effectiveMaxHeight = try Core_ui_core_view_view_common.resolveEffectiveMax(
|
|
2655
|
+
jsUnwrap(style, "maxHeight").maxHeight, availableHeight)
|
|
2656
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1340)
|
|
2657
|
+
self.effectiveMarginTop = try jsCallable(
|
|
2658
|
+
NativeScriptKit.PercentLength.toDevicePixels, "PercentLength.toDevicePixels")(
|
|
2659
|
+
jsUnwrap(style, "marginTop").marginTop, 0, availableHeight)
|
|
2660
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1341)
|
|
2661
|
+
self.effectiveMarginBottom = try jsCallable(
|
|
2662
|
+
NativeScriptKit.PercentLength.toDevicePixels, "PercentLength.toDevicePixels")(
|
|
2663
|
+
jsUnwrap(style, "marginBottom").marginBottom, 0, availableHeight)
|
|
2664
|
+
}
|
|
2665
|
+
#sourceLocation()
|
|
2666
|
+
open func _setNativeClipToBounds() throws {
|
|
2667
|
+
|
|
2668
|
+
}
|
|
2669
|
+
public final func _setNativeClipToBounds__ViewCommon() throws {
|
|
2670
|
+
|
|
2671
|
+
}
|
|
2672
|
+
open func _redrawNativeBackground(_ value: Any?) throws {
|
|
2673
|
+
|
|
2674
|
+
}
|
|
2675
|
+
public final func _redrawNativeBackground__ViewCommon(_ value: Any?) throws {
|
|
2676
|
+
|
|
2677
|
+
}
|
|
2678
|
+
open func _applyBackground(
|
|
2679
|
+
_ background: Any?, _ isBorderDrawable: Bool, _ onlyColor: Bool, _ backgroundDrawable: Any?
|
|
2680
|
+
) {
|
|
2681
|
+
|
|
2682
|
+
}
|
|
2683
|
+
open func _onAttachedToWindow() {
|
|
2684
|
+
|
|
2685
|
+
}
|
|
2686
|
+
open func _onDetachedFromWindow() {
|
|
2687
|
+
|
|
2688
|
+
}
|
|
2689
|
+
open func _hasAncestorView(_ ancestorView: ViewCommon?) throws -> Bool {
|
|
2690
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1364)
|
|
2691
|
+
let matcher: (ViewCommon?) throws -> Bool = { (view: ViewCommon?) -> Bool in
|
|
2692
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1364)
|
|
2693
|
+
return view === ancestorView
|
|
2694
|
+
}
|
|
2695
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1366)
|
|
2696
|
+
var parent: ViewBase? = self.parent
|
|
2697
|
+
while parent != nil {
|
|
2698
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1367)
|
|
2699
|
+
if try matcher((parent as? ViewCommon)) {
|
|
2700
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1368)
|
|
2701
|
+
return true
|
|
2702
|
+
}
|
|
2703
|
+
try parent = jsUnwrap(parent, "parent").parent
|
|
2704
|
+
}
|
|
2705
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1372)
|
|
2706
|
+
return false
|
|
2707
|
+
}
|
|
2708
|
+
#sourceLocation()
|
|
2709
|
+
/// Shared helper method for applying glass effects to views.
|
|
2710
|
+
/// This method can be used by View and its subclasses (LiquidGlass, LiquidGlassContainer, etc.)
|
|
2711
|
+
/// iOS only at the moment but could be applied to others once supported in other platforms.
|
|
2712
|
+
///
|
|
2713
|
+
/// @param value - The glass effect configuration
|
|
2714
|
+
/// @param options - Configuration options for different glass effect behaviors
|
|
2715
|
+
/// @param options.effectType - Type of effect to create: 'glass' | 'container'
|
|
2716
|
+
/// @param options.targetView - The UIVisualEffectView to apply the effect to (if updating existing view)
|
|
2717
|
+
/// @param options.toGlassStyleFn - Custom function to convert variant to UIGlassEffectStyle
|
|
2718
|
+
/// @param options.onCreate - Callback when a new effect view is created (for initial setup)
|
|
2719
|
+
/// @param options.onUpdate - Callback when an existing effect view is updated
|
|
2720
|
+
open func _applyGlassEffect(_ value: Any?, _ options: Any?) throws -> UIVisualEffectView? {
|
|
2721
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1398)
|
|
2722
|
+
return nil
|
|
2723
|
+
}
|
|
2724
|
+
#sourceLocation()
|
|
2725
|
+
public final func _applyGlassEffect__ViewCommon(_ value: Any?, _ options: Any?) throws -> UIVisualEffectView? {
|
|
2726
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1398)
|
|
2727
|
+
return nil
|
|
2728
|
+
}
|
|
2729
|
+
#sourceLocation()
|
|
2730
|
+
open func sendAccessibilityEvent(_ options: Any?) throws {
|
|
2731
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1402)
|
|
2732
|
+
return
|
|
2733
|
+
}
|
|
2734
|
+
#sourceLocation()
|
|
2735
|
+
public final func sendAccessibilityEvent__ViewCommon(_ options: Any?) throws {
|
|
2736
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1402)
|
|
2737
|
+
return
|
|
2738
|
+
}
|
|
2739
|
+
#sourceLocation()
|
|
2740
|
+
open func accessibilityAnnouncement(_ msg: String? = nil) throws {
|
|
2741
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1406)
|
|
2742
|
+
return
|
|
2743
|
+
}
|
|
2744
|
+
#sourceLocation()
|
|
2745
|
+
public final func accessibilityAnnouncement__ViewCommon(_ msg: String? = nil) throws {
|
|
2746
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1406)
|
|
2747
|
+
return
|
|
2748
|
+
}
|
|
2749
|
+
#sourceLocation()
|
|
2750
|
+
open func accessibilityScreenChanged(_ __extra0: Bool? = nil) throws {
|
|
2751
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1410)
|
|
2752
|
+
return
|
|
2753
|
+
}
|
|
2754
|
+
#sourceLocation()
|
|
2755
|
+
public final func accessibilityScreenChanged__ViewCommon(_ __extra0: Bool? = nil) throws {
|
|
2756
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1410)
|
|
2757
|
+
return
|
|
2758
|
+
}
|
|
2759
|
+
#sourceLocation()
|
|
2760
|
+
open func setAccessibilityIdentifier(_ view: Any?, _ value: String) throws {
|
|
2761
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1414)
|
|
2762
|
+
return
|
|
2763
|
+
}
|
|
2764
|
+
#sourceLocation()
|
|
2765
|
+
public final func setAccessibilityIdentifier__ViewCommon(_ view: Any?, _ value: String) throws {
|
|
2766
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1414)
|
|
2767
|
+
return
|
|
2768
|
+
}
|
|
2769
|
+
#sourceLocation()
|
|
2770
|
+
open override class func jsConstruct(_ __a: [Any?]) throws -> Any? { try ViewCommon() }
|
|
2771
|
+
open override var jsDeclaredKeys: [String] {
|
|
2772
|
+
super.jsDeclaredKeys + (self._gestureObservers == nil ? [] : ["_gestureObservers"])
|
|
2773
|
+
+ (jsMadeBits1 & (1 << 29) != 0 ? ["_closeModalCallback"] : [])
|
|
2774
|
+
+ (jsMadeBits1 & (1 << 30) != 0 ? ["_manager"] : [])
|
|
2775
|
+
+ (jsMadeBits1 & (1 << 31) != 0 ? ["_modalParent"] : [])
|
|
2776
|
+
+ (jsMadeBits1 & (1 << 32) != 0 ? ["_nativeWindow"] : [])
|
|
2777
|
+
+ (jsMadeBits1 & (1 << 33) != 0 ? ["_modalOptions"] : [])
|
|
2778
|
+
+ (jsMadeBits1 & (1 << 34) != 0 ? ["_modalContext"] : []) + (jsMadeBits1 & (1 << 35) != 0 ? ["_modal"] : [])
|
|
2779
|
+
+ (jsMadeBits1 & (1 << 36) != 0 ? ["transitionId"] : [])
|
|
2780
|
+
+ (jsMadeBits1 & (1 << 37) != 0 ? ["_measuredWidth"] : [])
|
|
2781
|
+
+ (jsMadeBits1 & (1 << 38) != 0 ? ["_measuredHeight"] : [])
|
|
2782
|
+
+ (jsMadeBits1 & (1 << 39) != 0 ? ["_cssType"] : [])
|
|
2783
|
+
+ (jsMadeBits1 & (1 << 40) != 0 ? ["_localAnimations"] : [])
|
|
2784
|
+
+ (jsMadeBits1 & (1 << 41) != 0 ? ["_currentWidthMeasureSpec"] : [])
|
|
2785
|
+
+ (jsMadeBits1 & (1 << 42) != 0 ? ["_currentHeightMeasureSpec"] : [])
|
|
2786
|
+
+ (jsMadeBits1 & (1 << 43) != 0 ? ["_setMinWidthNative"] : [])
|
|
2787
|
+
+ (jsMadeBits1 & (1 << 44) != 0 ? ["_setMinHeightNative"] : [])
|
|
2788
|
+
+ (jsMadeBits1 & (1 << 45) != 0 ? ["_androidContentDescriptionUpdated"] : [])
|
|
2789
|
+
}
|
|
2790
|
+
open override var jsClassName: String? { "ViewCommon" }
|
|
2791
|
+
open override subscript(jsKey key: String) -> Any? {
|
|
2792
|
+
get {
|
|
2793
|
+
switch key.utf8.count {
|
|
2794
|
+
case 5:
|
|
2795
|
+
switch key {
|
|
2796
|
+
case "focus": return FunctionCell_none_to_BoolOpt.script("focus", 0, self.focus)
|
|
2797
|
+
default: break
|
|
2798
|
+
}
|
|
2799
|
+
case 6:
|
|
2800
|
+
switch key {
|
|
2801
|
+
case "_modal":
|
|
2802
|
+
if !(jsMadeBits1 & (1 << 35) != 0) { return nil }
|
|
2803
|
+
return self._modal
|
|
2804
|
+
case "addCss": return FunctionCell_String_to_Void.script("addCss", 1, self.addCss)
|
|
2805
|
+
case "layout":
|
|
2806
|
+
return FunctionCell_Double_Double_Double_Double_BoolOpt_to_Void.script("layout", 4, self.layout)
|
|
2807
|
+
default: break
|
|
2808
|
+
}
|
|
2809
|
+
case 7:
|
|
2810
|
+
switch key {
|
|
2811
|
+
case "measure": return FunctionCell_Double_Double_to_Void.script("measure", 2, self.measure)
|
|
2812
|
+
case "animate": return FunctionCell_AnyOpt_to_AnyOpt.script("animate", 1, self.animate)
|
|
2813
|
+
default: break
|
|
2814
|
+
}
|
|
2815
|
+
case 8:
|
|
2816
|
+
switch key {
|
|
2817
|
+
case "_manager":
|
|
2818
|
+
if !(jsMadeBits1 & (1 << 30) != 0) { return nil }
|
|
2819
|
+
return self._manager
|
|
2820
|
+
case "_cssType":
|
|
2821
|
+
if !(jsMadeBits1 & (1 << 39) != 0) { return nil }
|
|
2822
|
+
return self._cssType
|
|
2823
|
+
case "onLoaded": return FunctionCell_none_to_Void.script("onLoaded", 0, self.onLoaded)
|
|
2824
|
+
case "_observe":
|
|
2825
|
+
return FunctionCell_Double_AnyOpt_to_Void_AnyOpt_to_Void.script("_observe", 3, self._observe)
|
|
2826
|
+
case "_isEvent": return FunctionCell_String_to_Bool.script("_isEvent", 1, self._isEvent)
|
|
2827
|
+
default: break
|
|
2828
|
+
}
|
|
2829
|
+
case 9:
|
|
2830
|
+
switch key {
|
|
2831
|
+
case "eachChild": return FunctionCell_ViewBaseOpt_to_Bool_to_Void.script("eachChild", 1, self.eachChild)
|
|
2832
|
+
case "_getValue": return FunctionCell_none_to_Never.script("_getValue", 0, self._getValue)
|
|
2833
|
+
case "_setValue": return FunctionCell_none_to_Never.script("_setValue", 0, self._setValue)
|
|
2834
|
+
default: break
|
|
2835
|
+
}
|
|
2836
|
+
case 10:
|
|
2837
|
+
switch key {
|
|
2838
|
+
case "addCssFile": return FunctionCell_String_to_Void.script("addCssFile", 1, self.addCssFile)
|
|
2839
|
+
case "closeModal": return FunctionCell_JSArray_AnyOpt_to_Void.script("closeModal", 0, self.closeModal)
|
|
2840
|
+
default: break
|
|
2841
|
+
}
|
|
2842
|
+
case 11:
|
|
2843
|
+
switch key {
|
|
2844
|
+
case "_onLivesync": return FunctionCell_AnyOpt_to_Bool.script("_onLivesync", 1, self._onLivesync)
|
|
2845
|
+
default: break
|
|
2846
|
+
}
|
|
2847
|
+
case 12:
|
|
2848
|
+
switch key {
|
|
2849
|
+
case "_modalParent":
|
|
2850
|
+
if !(jsMadeBits1 & (1 << 31) != 0) { return nil }
|
|
2851
|
+
return self._modalParent
|
|
2852
|
+
case "transitionId":
|
|
2853
|
+
if !(jsMadeBits1 & (1 << 36) != 0) { return nil }
|
|
2854
|
+
return self.transitionId
|
|
2855
|
+
default: break
|
|
2856
|
+
}
|
|
2857
|
+
case 13:
|
|
2858
|
+
switch key {
|
|
2859
|
+
case "_nativeWindow":
|
|
2860
|
+
if !(jsMadeBits1 & (1 << 32) != 0) { return nil }
|
|
2861
|
+
return self._nativeWindow
|
|
2862
|
+
case "_modalOptions":
|
|
2863
|
+
if !(jsMadeBits1 & (1 << 33) != 0) { return nil }
|
|
2864
|
+
return self._modalOptions
|
|
2865
|
+
case "_modalContext":
|
|
2866
|
+
if !(jsMadeBits1 & (1 << 34) != 0) { return nil }
|
|
2867
|
+
return self._modalContext
|
|
2868
|
+
case "changeCssFile": return FunctionCell_String_to_Void.script("changeCssFile", 1, self.changeCssFile)
|
|
2869
|
+
case "onBackPressed": return FunctionCell_none_to_Bool.script("onBackPressed", 0, self.onBackPressed)
|
|
2870
|
+
case "eachChildView":
|
|
2871
|
+
return FunctionCell_ViewCommonOpt_to_Bool_to_Void.script("eachChildView", 1, self.eachChildView)
|
|
2872
|
+
case "getActualSize": return FunctionCell_none_to_SizeOpt.script("getActualSize", 0, self.getActualSize)
|
|
2873
|
+
default: break
|
|
2874
|
+
}
|
|
2875
|
+
case 14:
|
|
2876
|
+
switch key {
|
|
2877
|
+
case "_measuredWidth":
|
|
2878
|
+
if !(jsMadeBits1 & (1 << 37) != 0) { return nil }
|
|
2879
|
+
return self._measuredWidth
|
|
2880
|
+
default: break
|
|
2881
|
+
}
|
|
2882
|
+
case 15:
|
|
2883
|
+
switch key {
|
|
2884
|
+
case "_measuredHeight":
|
|
2885
|
+
if !(jsMadeBits1 & (1 << 38) != 0) { return nil }
|
|
2886
|
+
return self._measuredHeight
|
|
2887
|
+
case "getNativeWindow":
|
|
2888
|
+
return FunctionCell_none_to_NativeWindowOpt.script("getNativeWindow", 0, self.getNativeWindow)
|
|
2889
|
+
case "_handleLivesync":
|
|
2890
|
+
return FunctionCell_AnyOpt_to_Bool.script("_handleLivesync", 1, self._handleLivesync)
|
|
2891
|
+
case "getModalOptions":
|
|
2892
|
+
return FunctionCell_JSArray_AnyOpt_Opt_to_AnyOpt.script("getModalOptions", 1, self.getModalOptions)
|
|
2893
|
+
case "_eachLayoutView":
|
|
2894
|
+
return FunctionCell_AnyOpt_to_Void_to_Void.script("_eachLayoutView", 1, self._eachLayoutView)
|
|
2895
|
+
case "createAnimation":
|
|
2896
|
+
return FunctionCell_AnyOpt_to_AnimationOpt.script("createAnimation", 1, self.createAnimation)
|
|
2897
|
+
case "resetNativeView":
|
|
2898
|
+
return FunctionCell_none_to_Void.script("resetNativeView", 0, self.resetNativeView)
|
|
2899
|
+
default: break
|
|
2900
|
+
}
|
|
2901
|
+
case 16:
|
|
2902
|
+
switch key {
|
|
2903
|
+
case "_localAnimations":
|
|
2904
|
+
if !(jsMadeBits1 & (1 << 40) != 0) { return nil }
|
|
2905
|
+
return self._localAnimations
|
|
2906
|
+
case "setScopeProperty":
|
|
2907
|
+
return FunctionCell_StyleScopeOpt_StringOpt_StringOpt_StringOpt_to_Void.script(
|
|
2908
|
+
"setScopeProperty", 4, self.setScopeProperty)
|
|
2909
|
+
case "_setupAsRootView":
|
|
2910
|
+
return FunctionCell_AnyOpt_to_Void.script("_setupAsRootView", 1, self._setupAsRootView)
|
|
2911
|
+
case "addEventListener":
|
|
2912
|
+
return FunctionCell_String_EventDataOpt_to_Void_AnyOpt_BoolOpt_to_Void.script(
|
|
2913
|
+
"addEventListener", 4, self.addEventListener)
|
|
2914
|
+
case "getClosestWindow":
|
|
2915
|
+
return FunctionCell_none_to_AnyOpt.script("getClosestWindow", 0, self.getClosestWindow)
|
|
2916
|
+
case "getMeasuredWidth":
|
|
2917
|
+
return FunctionCell_none_to_Double.script("getMeasuredWidth", 0, self.getMeasuredWidth)
|
|
2918
|
+
case "getMeasuredState":
|
|
2919
|
+
return FunctionCell_none_to_Double.script("getMeasuredState", 0, self.getMeasuredState)
|
|
2920
|
+
case "_removeAnimation":
|
|
2921
|
+
return FunctionCell_AnimationOpt_to_Bool.script("_removeAnimation", 1, self._removeAnimation)
|
|
2922
|
+
case "_applyBackground":
|
|
2923
|
+
return FunctionCell_AnyOpt_Bool_Bool_AnyOpt_to_Void.script(
|
|
2924
|
+
"_applyBackground", 4, self._applyBackground)
|
|
2925
|
+
case "_hasAncestorView":
|
|
2926
|
+
return FunctionCell_ViewCommonOpt_to_Bool.script("_hasAncestorView", 1, self._hasAncestorView)
|
|
2927
|
+
default: break
|
|
2928
|
+
}
|
|
2929
|
+
case 17:
|
|
2930
|
+
switch key {
|
|
2931
|
+
case "_gestureObservers": return self._gestureObservers
|
|
2932
|
+
case "_updateStyleScope":
|
|
2933
|
+
return FunctionCell_StringOpt_StringOpt_StringOpt_to_Void.script(
|
|
2934
|
+
"_updateStyleScope", 3, self._updateStyleScope)
|
|
2935
|
+
case "_getRootModalHost":
|
|
2936
|
+
return FunctionCell_none_to_ViewBaseOpt.script("_getRootModalHost", 0, self._getRootModalHost)
|
|
2937
|
+
case "getMeasuredHeight":
|
|
2938
|
+
return FunctionCell_none_to_Double.script("getMeasuredHeight", 0, self.getMeasuredHeight)
|
|
2939
|
+
case "getSafeAreaInsets":
|
|
2940
|
+
return FunctionCell_none_to_AnyOpt.script("getSafeAreaInsets", 0, self.getSafeAreaInsets)
|
|
2941
|
+
case "_applyGlassEffect":
|
|
2942
|
+
return FunctionCell_AnyOpt_AnyOpt_to_UIVisualEffectViewOpt.script(
|
|
2943
|
+
"_applyGlassEffect", 2, self._applyGlassEffect)
|
|
2944
|
+
default: break
|
|
2945
|
+
}
|
|
2946
|
+
case 18:
|
|
2947
|
+
switch key {
|
|
2948
|
+
case "_setMinWidthNative":
|
|
2949
|
+
if !(jsMadeBits1 & (1 << 43) != 0) { return nil }
|
|
2950
|
+
return FunctionCell_AnyOpt_to_Void.scriptOrNil("", 1, self._setMinWidthNative)
|
|
2951
|
+
case "_getRootModalViews":
|
|
2952
|
+
return FunctionCell_none_to_JSArray_ViewBase_Opt.script(
|
|
2953
|
+
"_getRootModalViews", 0, self._getRootModalViews)
|
|
2954
|
+
default: break
|
|
2955
|
+
}
|
|
2956
|
+
case 19:
|
|
2957
|
+
switch key {
|
|
2958
|
+
case "_closeModalCallback":
|
|
2959
|
+
if !(jsMadeBits1 & (1 << 29) != 0) { return nil }
|
|
2960
|
+
return self._closeModalCallback
|
|
2961
|
+
case "_setMinHeightNative":
|
|
2962
|
+
if !(jsMadeBits1 & (1 << 44) != 0) { return nil }
|
|
2963
|
+
return FunctionCell_AnyOpt_to_Void.scriptOrNil("", 1, self._setMinHeightNative)
|
|
2964
|
+
case "getGestureObservers":
|
|
2965
|
+
return FunctionCell_Double_to_JSArray_GesturesObserver_Opt.script(
|
|
2966
|
+
"getGestureObservers", 1, self.getGestureObservers)
|
|
2967
|
+
case "removeEventListener":
|
|
2968
|
+
return FunctionCell_String_EventDataOpt_to_Void_Opt_AnyOpt_to_Void.script(
|
|
2969
|
+
"removeEventListener", 3, self.removeEventListener)
|
|
2970
|
+
case "_getFragmentManager":
|
|
2971
|
+
return FunctionCell_none_to_AnyOpt.script("_getFragmentManager", 0, self._getFragmentManager)
|
|
2972
|
+
case "getLocationInWindow":
|
|
2973
|
+
return FunctionCell_none_to_PointOpt.script("getLocationInWindow", 0, self.getLocationInWindow)
|
|
2974
|
+
case "getLocationOnScreen":
|
|
2975
|
+
return FunctionCell_none_to_PointOpt.script("getLocationOnScreen", 0, self.getLocationOnScreen)
|
|
2976
|
+
case "_setNativeViewFrame":
|
|
2977
|
+
return FunctionCell_AnyOpt_AnyOpt_to_Void.script("_setNativeViewFrame", 2, self._setNativeViewFrame)
|
|
2978
|
+
case "_onAttachedToWindow":
|
|
2979
|
+
return FunctionCell_none_to_Void.script("_onAttachedToWindow", 0, self._onAttachedToWindow)
|
|
2980
|
+
default: break
|
|
2981
|
+
}
|
|
2982
|
+
case 20:
|
|
2983
|
+
switch key {
|
|
2984
|
+
case "_showNativeModalView":
|
|
2985
|
+
return FunctionCell_ViewCommonOpt_AnyOpt_to_Void.script(
|
|
2986
|
+
"_showNativeModalView", 2, self._showNativeModalView)
|
|
2987
|
+
case "_hideNativeModalView":
|
|
2988
|
+
return FunctionCell_ViewCommonOpt_to_Void_to_Void.script(
|
|
2989
|
+
"_hideNativeModalView", 2, self._hideNativeModalView)
|
|
2990
|
+
case "updateStatusBarStyle":
|
|
2991
|
+
return FunctionCell_String_to_Void.script("updateStatusBarStyle", 1, self.updateStatusBarStyle)
|
|
2992
|
+
case "setMeasuredDimension":
|
|
2993
|
+
return FunctionCell_Double_Double_to_Void.script(
|
|
2994
|
+
"setMeasuredDimension", 2, self.setMeasuredDimension)
|
|
2995
|
+
case "_getNativeViewsCount":
|
|
2996
|
+
return FunctionCell_none_to_Double.script("_getNativeViewsCount", 0, self._getNativeViewsCount)
|
|
2997
|
+
default: break
|
|
2998
|
+
}
|
|
2999
|
+
case 21:
|
|
3000
|
+
switch key {
|
|
3001
|
+
case "getLocationRelativeTo":
|
|
3002
|
+
return FunctionCell_ViewCommonOpt_to_PointOpt.script(
|
|
3003
|
+
"getLocationRelativeTo", 1, self.getLocationRelativeTo)
|
|
3004
|
+
case "_onDetachedFromWindow":
|
|
3005
|
+
return FunctionCell_none_to_Void.script("_onDetachedFromWindow", 0, self._onDetachedFromWindow)
|
|
3006
|
+
default: break
|
|
3007
|
+
}
|
|
3008
|
+
case 22:
|
|
3009
|
+
switch key {
|
|
3010
|
+
case "_modifyNativeViewFrame":
|
|
3011
|
+
return FunctionCell_AnyOpt_AnyOpt_to_Void.script(
|
|
3012
|
+
"_modifyNativeViewFrame", 2, self._modifyNativeViewFrame)
|
|
3013
|
+
case "_setNativeClipToBounds":
|
|
3014
|
+
return FunctionCell_none_to_Void.script("_setNativeClipToBounds", 0, self._setNativeClipToBounds)
|
|
3015
|
+
case "sendAccessibilityEvent":
|
|
3016
|
+
return FunctionCell_AnyOpt_to_Void.script("sendAccessibilityEvent", 1, self.sendAccessibilityEvent)
|
|
3017
|
+
default: break
|
|
3018
|
+
}
|
|
3019
|
+
case 23:
|
|
3020
|
+
switch key {
|
|
3021
|
+
case "_raiseShownModallyEvent":
|
|
3022
|
+
return FunctionCell_none_to_Void.script("_raiseShownModallyEvent", 0, self._raiseShownModallyEvent)
|
|
3023
|
+
case "_setCurrentMeasureSpecs":
|
|
3024
|
+
return FunctionCell_Double_Double_to_Bool.script(
|
|
3025
|
+
"_setCurrentMeasureSpecs", 2, self._setCurrentMeasureSpecs)
|
|
3026
|
+
case "_getCurrentLayoutBounds":
|
|
3027
|
+
return FunctionCell_none_to_AnyOpt.script(
|
|
3028
|
+
"_getCurrentLayoutBounds", 0, self._getCurrentLayoutBounds)
|
|
3029
|
+
case "_setCurrentLayoutBounds":
|
|
3030
|
+
return FunctionCell_Double_Double_Double_Double_to_AnyOpt.script(
|
|
3031
|
+
"_setCurrentLayoutBounds", 4, self._setCurrentLayoutBounds)
|
|
3032
|
+
case "_redrawNativeBackground":
|
|
3033
|
+
return FunctionCell_AnyOpt_to_Void.script(
|
|
3034
|
+
"_redrawNativeBackground", 1, self._redrawNativeBackground)
|
|
3035
|
+
default: break
|
|
3036
|
+
}
|
|
3037
|
+
case 24:
|
|
3038
|
+
switch key {
|
|
3039
|
+
case "_currentWidthMeasureSpec":
|
|
3040
|
+
if !(jsMadeBits1 & (1 << 41) != 0) { return nil }
|
|
3041
|
+
return self._currentWidthMeasureSpec
|
|
3042
|
+
case "_raiseLayoutChangedEvent":
|
|
3043
|
+
return FunctionCell_none_to_Void.script(
|
|
3044
|
+
"_raiseLayoutChangedEvent", 0, self._raiseLayoutChangedEvent)
|
|
3045
|
+
default: break
|
|
3046
|
+
}
|
|
3047
|
+
case 25:
|
|
3048
|
+
switch key {
|
|
3049
|
+
case "_currentHeightMeasureSpec":
|
|
3050
|
+
if !(jsMadeBits1 & (1 << 42) != 0) { return nil }
|
|
3051
|
+
return self._currentHeightMeasureSpec
|
|
3052
|
+
case "_raiseShowingModallyEvent":
|
|
3053
|
+
return FunctionCell_none_to_Void.script(
|
|
3054
|
+
"_raiseShowingModallyEvent", 0, self._raiseShowingModallyEvent)
|
|
3055
|
+
case "accessibilityAnnouncement":
|
|
3056
|
+
return FunctionCell_StringOpt_to_Void.script(
|
|
3057
|
+
"accessibilityAnnouncement", 1, self.accessibilityAnnouncement)
|
|
3058
|
+
default: break
|
|
3059
|
+
}
|
|
3060
|
+
case 26:
|
|
3061
|
+
switch key {
|
|
3062
|
+
case "accessibilityScreenChanged":
|
|
3063
|
+
return FunctionCell_BoolOpt_to_Void.script(
|
|
3064
|
+
"accessibilityScreenChanged", 0, self.accessibilityScreenChanged)
|
|
3065
|
+
case "setAccessibilityIdentifier":
|
|
3066
|
+
return FunctionCell_AnyOpt_String_to_Void.script(
|
|
3067
|
+
"setAccessibilityIdentifier", 2, self.setAccessibilityIdentifier)
|
|
3068
|
+
default: break
|
|
3069
|
+
}
|
|
3070
|
+
case 27:
|
|
3071
|
+
switch key {
|
|
3072
|
+
case "_closeAllModalViewsInternal":
|
|
3073
|
+
return FunctionCell_none_to_Bool.script(
|
|
3074
|
+
"_closeAllModalViewsInternal", 0, self._closeAllModalViewsInternal)
|
|
3075
|
+
case "_disconnectGestureObservers":
|
|
3076
|
+
return FunctionCell_Double_EventDataOpt_to_Void_Opt_AnyOpt_to_Void.script(
|
|
3077
|
+
"_disconnectGestureObservers", 3, self._disconnectGestureObservers)
|
|
3078
|
+
default: break
|
|
3079
|
+
}
|
|
3080
|
+
case 28:
|
|
3081
|
+
switch key {
|
|
3082
|
+
case "_updateEffectiveLayoutValues":
|
|
3083
|
+
return FunctionCell_Double_Double_Double_Double_to_Void.script(
|
|
3084
|
+
"_updateEffectiveLayoutValues", 4, self._updateEffectiveLayoutValues)
|
|
3085
|
+
default: break
|
|
3086
|
+
}
|
|
3087
|
+
case 33:
|
|
3088
|
+
switch key {
|
|
3089
|
+
case "_androidContentDescriptionUpdated":
|
|
3090
|
+
if !(jsMadeBits1 & (1 << 45) != 0) { return nil }
|
|
3091
|
+
return self._androidContentDescriptionUpdated
|
|
3092
|
+
default: break
|
|
3093
|
+
}
|
|
3094
|
+
default: break
|
|
3095
|
+
}
|
|
3096
|
+
return super[jsKey: key]
|
|
3097
|
+
}
|
|
3098
|
+
set {
|
|
3099
|
+
switch key.utf8.count {
|
|
3100
|
+
case 6:
|
|
3101
|
+
switch key {
|
|
3102
|
+
case "_modal":
|
|
3103
|
+
jsStoring { self._modal = (try jsCast(newValue, ViewCommon.self)) }
|
|
3104
|
+
return
|
|
3105
|
+
default: break
|
|
3106
|
+
}
|
|
3107
|
+
case 8:
|
|
3108
|
+
switch key {
|
|
3109
|
+
case "_manager":
|
|
3110
|
+
self._manager = newValue
|
|
3111
|
+
return
|
|
3112
|
+
case "_cssType":
|
|
3113
|
+
jsStoring { self._cssType = (try jsConvertedString(newValue)) }
|
|
3114
|
+
return
|
|
3115
|
+
default: break
|
|
3116
|
+
}
|
|
3117
|
+
case 12:
|
|
3118
|
+
switch key {
|
|
3119
|
+
case "_modalParent":
|
|
3120
|
+
jsStoring { self._modalParent = (try jsCast(newValue, ViewCommon.self)) }
|
|
3121
|
+
return
|
|
3122
|
+
case "transitionId":
|
|
3123
|
+
jsStoring { self.transitionId = (try jsConvertedNumber(newValue)) }
|
|
3124
|
+
return
|
|
3125
|
+
default: break
|
|
3126
|
+
}
|
|
3127
|
+
case 13:
|
|
3128
|
+
switch key {
|
|
3129
|
+
case "_nativeWindow":
|
|
3130
|
+
jsStoring { self._nativeWindow = (try jsCast(newValue, NativeWindow.self)) }
|
|
3131
|
+
return
|
|
3132
|
+
case "_modalOptions":
|
|
3133
|
+
self._modalOptions = newValue
|
|
3134
|
+
return
|
|
3135
|
+
case "_modalContext":
|
|
3136
|
+
self._modalContext = newValue
|
|
3137
|
+
return
|
|
3138
|
+
default: break
|
|
3139
|
+
}
|
|
3140
|
+
case 14:
|
|
3141
|
+
switch key {
|
|
3142
|
+
case "_measuredWidth":
|
|
3143
|
+
jsStoring { self._measuredWidth = (try jsConvertedNumber(newValue)) }
|
|
3144
|
+
return
|
|
3145
|
+
default: break
|
|
3146
|
+
}
|
|
3147
|
+
case 15:
|
|
3148
|
+
switch key {
|
|
3149
|
+
case "_measuredHeight":
|
|
3150
|
+
jsStoring { self._measuredHeight = (try jsConvertedNumber(newValue)) }
|
|
3151
|
+
return
|
|
3152
|
+
default: break
|
|
3153
|
+
}
|
|
3154
|
+
case 16:
|
|
3155
|
+
switch key {
|
|
3156
|
+
case "_localAnimations":
|
|
3157
|
+
self._localAnimations = (newValue as? JSSet<Animation>)
|
|
3158
|
+
return
|
|
3159
|
+
default: break
|
|
3160
|
+
}
|
|
3161
|
+
case 17:
|
|
3162
|
+
switch key {
|
|
3163
|
+
case "_gestureObservers":
|
|
3164
|
+
self._gestureObservers = newValue
|
|
3165
|
+
return
|
|
3166
|
+
default: break
|
|
3167
|
+
}
|
|
3168
|
+
case 18:
|
|
3169
|
+
switch key {
|
|
3170
|
+
case "_setMinWidthNative":
|
|
3171
|
+
self._setMinWidthNative = FunctionCell_AnyOpt_to_Void.fromScriptOrNil(newValue)
|
|
3172
|
+
return
|
|
3173
|
+
default: break
|
|
3174
|
+
}
|
|
3175
|
+
case 19:
|
|
3176
|
+
switch key {
|
|
3177
|
+
case "_closeModalCallback":
|
|
3178
|
+
self._closeModalCallback = newValue
|
|
3179
|
+
return
|
|
3180
|
+
case "_setMinHeightNative":
|
|
3181
|
+
self._setMinHeightNative = FunctionCell_AnyOpt_to_Void.fromScriptOrNil(newValue)
|
|
3182
|
+
return
|
|
3183
|
+
default: break
|
|
3184
|
+
}
|
|
3185
|
+
case 24:
|
|
3186
|
+
switch key {
|
|
3187
|
+
case "_currentWidthMeasureSpec":
|
|
3188
|
+
jsStoring { self._currentWidthMeasureSpec = (try jsConvertedNumber(newValue)) }
|
|
3189
|
+
return
|
|
3190
|
+
default: break
|
|
3191
|
+
}
|
|
3192
|
+
case 25:
|
|
3193
|
+
switch key {
|
|
3194
|
+
case "_currentHeightMeasureSpec":
|
|
3195
|
+
jsStoring { self._currentHeightMeasureSpec = (try jsConvertedNumber(newValue)) }
|
|
3196
|
+
return
|
|
3197
|
+
default: break
|
|
3198
|
+
}
|
|
3199
|
+
case 33:
|
|
3200
|
+
switch key {
|
|
3201
|
+
case "_androidContentDescriptionUpdated":
|
|
3202
|
+
jsStoring { self._androidContentDescriptionUpdated = (try jsConvertedBool(newValue)) }
|
|
3203
|
+
return
|
|
3204
|
+
default: break
|
|
3205
|
+
}
|
|
3206
|
+
default: break
|
|
3207
|
+
}
|
|
3208
|
+
super[jsKey: key] = newValue
|
|
3209
|
+
}
|
|
3210
|
+
}
|
|
3211
|
+
open override class var jsName: String { "ViewCommon" }
|
|
3212
|
+
open override class var jsStaticKeys: [String] {
|
|
3213
|
+
super.jsStaticKeys + [
|
|
3214
|
+
"layoutChangedEvent", "shownModallyEvent", "showingModallyEvent", "closedModallyEvent",
|
|
3215
|
+
"accessibilityBlurEvent", "accessibilityFocusEvent", "accessibilityFocusChangedEvent",
|
|
3216
|
+
"accessibilityPerformEscapeEvent", "androidOverflowInsetEvent", "resolveSizeAndState",
|
|
3217
|
+
"combineMeasuredStates", "layoutChild", "measureChild",
|
|
3218
|
+
]
|
|
3219
|
+
}
|
|
3220
|
+
}
|
|
3221
|
+
|
|
3222
|
+
public enum Core_ui_core_view_view_common {
|
|
3223
|
+
public static func CSSType(_ type: String) -> ((Any?) throws -> Any?)? {
|
|
3224
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:40)
|
|
3225
|
+
return { (cls: Any?) throws -> Any? in
|
|
3226
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:41)
|
|
3227
|
+
try jsSet(jsGet(cls, "prototype"), "cssType", type)
|
|
3228
|
+
return nil
|
|
3229
|
+
}
|
|
3230
|
+
}
|
|
3231
|
+
#sourceLocation()
|
|
3232
|
+
public static func viewMatchesModuleContext(_ view: ViewCommon?, _ context: Any?, _ types: JSArray<String>?) throws
|
|
3233
|
+
-> Bool
|
|
3234
|
+
{
|
|
3235
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:46)
|
|
3236
|
+
return try
|
|
3237
|
+
({ () throws -> Bool in
|
|
3238
|
+
let __v_1 = try
|
|
3239
|
+
({ () throws -> String in
|
|
3240
|
+
let __v_2 = try
|
|
3241
|
+
({ () throws -> Bool in
|
|
3242
|
+
let __v_3 = try
|
|
3243
|
+
({ () throws -> String in
|
|
3244
|
+
let __v_4 = try
|
|
3245
|
+
({ () throws -> String in
|
|
3246
|
+
let __v_5 = context
|
|
3247
|
+
return jsTruthy(__v_5)
|
|
3248
|
+
? try jsUnwrap(view, "_moduleName")._moduleName
|
|
3249
|
+
: jsLenientString(__v_5)
|
|
3250
|
+
}())
|
|
3251
|
+
return jsTruthy(__v_4)
|
|
3252
|
+
? try jsConvertedString(jsGet(context, "type")) : jsPresent(__v_4)
|
|
3253
|
+
}())
|
|
3254
|
+
return jsTruthy(__v_3)
|
|
3255
|
+
? try jsUnwrap(types, "some").some({ (type: String) throws -> Bool in
|
|
3256
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:46)
|
|
3257
|
+
return try jsStrictEquals(type, jsGet(context, "type"))
|
|
3258
|
+
}) : jsTruthy(__v_3)
|
|
3259
|
+
}())
|
|
3260
|
+
return jsTruthy(__v_2) ? try jsConvertedString(jsGet(context, "path")) : ""
|
|
3261
|
+
}())
|
|
3262
|
+
return jsTruthy(__v_1)
|
|
3263
|
+
? try jsIncludes(
|
|
3264
|
+
jsConvertedString(jsGet(context, "path")), jsUnwrap(view, "_moduleName")._moduleName)
|
|
3265
|
+
: jsTruthy(__v_1)
|
|
3266
|
+
}())
|
|
3267
|
+
}
|
|
3268
|
+
#sourceLocation()
|
|
3269
|
+
public static func PseudoClassHandler(_ pseudoClasses: JSArray<String>) throws -> (
|
|
3270
|
+
(Any?, Any?, Any?) throws -> Any?
|
|
3271
|
+
)? {
|
|
3272
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:50)
|
|
3273
|
+
let stateEventNames: JSArray<String>? = try (jsUnwrap(pseudoClasses, "map") as JSArray<String>).map({
|
|
3274
|
+
(s: String) -> String in
|
|
3275
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:50)
|
|
3276
|
+
return ":" + s
|
|
3277
|
+
})
|
|
3278
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:52)
|
|
3279
|
+
return { (target: Any?, propertyKey: Any?, descriptor: Any?) throws -> Any? in
|
|
3280
|
+
var subscribeKey: JSSymbol!
|
|
3281
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:56)
|
|
3282
|
+
@MainActor func onSubscribe(_ this: Any?, _ subscribe: Bool) throws {
|
|
3283
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:57)
|
|
3284
|
+
if try subscribe != jsTruthy(jsGet(this, subscribeKey.key)) {
|
|
3285
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:58)
|
|
3286
|
+
try jsSet(this, subscribeKey.key, subscribe)
|
|
3287
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:59)
|
|
3288
|
+
_ = try jsCallMethod(this, jsPropertyKey(propertyKey), subscribe)
|
|
3289
|
+
}
|
|
3290
|
+
}
|
|
3291
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:54)
|
|
3292
|
+
subscribeKey = jsSymbol(jsToStringDefault(propertyKey) + "_flag")
|
|
3293
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:63)
|
|
3294
|
+
for eventName in try jsIterated(stateEventNames, "stateEventNames is not iterable") {
|
|
3295
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:64)
|
|
3296
|
+
try jsSet(
|
|
3297
|
+
target, eventName,
|
|
3298
|
+
({ (__this: Any?, __a: [Any?]) throws -> Any? in
|
|
3299
|
+
try onSubscribe(__this, jsLenientBool(jsArg(__a, 0)))
|
|
3300
|
+
return nil
|
|
3301
|
+
} as JSMethod))
|
|
3302
|
+
}
|
|
3303
|
+
return nil
|
|
3304
|
+
}
|
|
3305
|
+
}
|
|
3306
|
+
#sourceLocation()
|
|
3307
|
+
public static var _rootModalViews: JSArray<ViewBase>? = JSArray<ViewBase>()
|
|
3308
|
+
public static let warnedEvent: JSSet<String> = JSSet<String>()
|
|
3309
|
+
public static func resolveEffectiveMax(_ value: Any?, _ availableSize: Double) throws -> Double {
|
|
3310
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:80)
|
|
3311
|
+
if jsIsNullish(value) || jsStrictEquals(value, "auto") {
|
|
3312
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:81)
|
|
3313
|
+
return Double.infinity
|
|
3314
|
+
}
|
|
3315
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:85)
|
|
3316
|
+
if try jsStringEquals(jsTypeof(value), "object") && jsStrictEquals(jsGet(value, "unit"), "%")
|
|
3317
|
+
&& availableSize < 0
|
|
3318
|
+
{
|
|
3319
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:86)
|
|
3320
|
+
return Double.infinity
|
|
3321
|
+
}
|
|
3322
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:88)
|
|
3323
|
+
let resolved: Double = try jsCallable(
|
|
3324
|
+
NativeScriptKit.PercentLength.toDevicePixels, "PercentLength.toDevicePixels")(
|
|
3325
|
+
value, Double.infinity, availableSize)
|
|
3326
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:90)
|
|
3327
|
+
return (resolved < 0 ? Double.infinity : resolved)
|
|
3328
|
+
}
|
|
3329
|
+
#sourceLocation()
|
|
3330
|
+
public static var originXProperty: Property?
|
|
3331
|
+
public static var originYProperty: Property?
|
|
3332
|
+
public static var isEnabledProperty: Property?
|
|
3333
|
+
public static var isUserInteractionEnabledProperty: Property?
|
|
3334
|
+
public static var statusBarStyleProperty: CssProperty?
|
|
3335
|
+
public static var iosOverflowSafeAreaProperty: Property?
|
|
3336
|
+
public static var iosOverflowSafeAreaEnabledProperty: InheritedProperty?
|
|
3337
|
+
public static var iosIgnoreSafeAreaProperty: InheritedProperty?
|
|
3338
|
+
public static var androidOverflowEdgeProperty: Property?
|
|
3339
|
+
public static var iosGlassEffectProperty: Property?
|
|
3340
|
+
public static var visionHoverStyleProperty: Property?
|
|
3341
|
+
public static var visionIgnoreHoverStyleProperty: Property?
|
|
3342
|
+
public static var touchAnimationProperty: Property?
|
|
3343
|
+
public static var ignoreTouchAnimationProperty: Property?
|
|
3344
|
+
public static var touchDelayProperty: Property?
|
|
3345
|
+
public static var testIDProperty: Property?
|
|
3346
|
+
}
|
|
3347
|
+
|
|
3348
|
+
public func __init_Core_ui_core_view_view_common() {
|
|
3349
|
+
jsReport {
|
|
3350
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:69)
|
|
3351
|
+
Core_ui_core_view_view_common._rootModalViews = JSArray<ViewBase>()
|
|
3352
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:93)
|
|
3353
|
+
JSPrototypes.declare(
|
|
3354
|
+
ViewCommon.self, "css",
|
|
3355
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3356
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3357
|
+
return __o.css
|
|
3358
|
+
},
|
|
3359
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3360
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3361
|
+
__o.css = jsLenientString(__v)
|
|
3362
|
+
})
|
|
3363
|
+
JSPrototypes.declare(
|
|
3364
|
+
ViewCommon.self, "modal",
|
|
3365
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3366
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3367
|
+
return __o.modal
|
|
3368
|
+
}, set: nil)
|
|
3369
|
+
JSPrototypes.declare(
|
|
3370
|
+
ViewCommon.self, "flexFlow",
|
|
3371
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3372
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3373
|
+
return __o.flexFlow
|
|
3374
|
+
},
|
|
3375
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3376
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3377
|
+
try jsSet(jsUnwrap(__o.style, setting: "flexFlow"), "flexFlow", __v)
|
|
3378
|
+
})
|
|
3379
|
+
JSPrototypes.declare(
|
|
3380
|
+
ViewCommon.self, "flex",
|
|
3381
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3382
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3383
|
+
return __o.flex
|
|
3384
|
+
},
|
|
3385
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3386
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3387
|
+
try jsSet(jsUnwrap(__o.style, setting: "flex"), "flex", __v)
|
|
3388
|
+
})
|
|
3389
|
+
JSPrototypes.declare(
|
|
3390
|
+
ViewCommon.self, "borderColor",
|
|
3391
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3392
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3393
|
+
return __o.borderColor
|
|
3394
|
+
},
|
|
3395
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3396
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3397
|
+
try jsSet(jsUnwrap(__o.style, setting: "borderColor"), "borderColor", __v)
|
|
3398
|
+
})
|
|
3399
|
+
JSPrototypes.declare(
|
|
3400
|
+
ViewCommon.self, "borderTopColor",
|
|
3401
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3402
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3403
|
+
return __o.borderTopColor
|
|
3404
|
+
},
|
|
3405
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3406
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3407
|
+
try jsSet(jsUnwrap(__o.style, setting: "borderTopColor"), "borderTopColor", __v)
|
|
3408
|
+
})
|
|
3409
|
+
JSPrototypes.declare(
|
|
3410
|
+
ViewCommon.self, "borderRightColor",
|
|
3411
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3412
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3413
|
+
return __o.borderRightColor
|
|
3414
|
+
},
|
|
3415
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3416
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3417
|
+
try jsSet(jsUnwrap(__o.style, setting: "borderRightColor"), "borderRightColor", __v)
|
|
3418
|
+
})
|
|
3419
|
+
JSPrototypes.declare(
|
|
3420
|
+
ViewCommon.self, "borderBottomColor",
|
|
3421
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3422
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3423
|
+
return __o.borderBottomColor
|
|
3424
|
+
},
|
|
3425
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3426
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3427
|
+
try jsSet(jsUnwrap(__o.style, setting: "borderBottomColor"), "borderBottomColor", __v)
|
|
3428
|
+
})
|
|
3429
|
+
JSPrototypes.declare(
|
|
3430
|
+
ViewCommon.self, "borderLeftColor",
|
|
3431
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3432
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3433
|
+
return __o.borderLeftColor
|
|
3434
|
+
},
|
|
3435
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3436
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3437
|
+
try jsSet(jsUnwrap(__o.style, setting: "borderLeftColor"), "borderLeftColor", __v)
|
|
3438
|
+
})
|
|
3439
|
+
JSPrototypes.declare(
|
|
3440
|
+
ViewCommon.self, "borderWidth",
|
|
3441
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3442
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3443
|
+
return __o.borderWidth
|
|
3444
|
+
},
|
|
3445
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3446
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3447
|
+
try jsSet(jsUnwrap(__o.style, setting: "borderWidth"), "borderWidth", __v)
|
|
3448
|
+
})
|
|
3449
|
+
JSPrototypes.declare(
|
|
3450
|
+
ViewCommon.self, "borderTopWidth",
|
|
3451
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3452
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3453
|
+
return __o.borderTopWidth
|
|
3454
|
+
},
|
|
3455
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3456
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3457
|
+
try jsSet(jsUnwrap(__o.style, setting: "borderTopWidth"), "borderTopWidth", __v)
|
|
3458
|
+
})
|
|
3459
|
+
JSPrototypes.declare(
|
|
3460
|
+
ViewCommon.self, "borderRightWidth",
|
|
3461
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3462
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3463
|
+
return __o.borderRightWidth
|
|
3464
|
+
},
|
|
3465
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3466
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3467
|
+
try jsSet(jsUnwrap(__o.style, setting: "borderRightWidth"), "borderRightWidth", __v)
|
|
3468
|
+
})
|
|
3469
|
+
JSPrototypes.declare(
|
|
3470
|
+
ViewCommon.self, "borderBottomWidth",
|
|
3471
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3472
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3473
|
+
return __o.borderBottomWidth
|
|
3474
|
+
},
|
|
3475
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3476
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3477
|
+
try jsSet(jsUnwrap(__o.style, setting: "borderBottomWidth"), "borderBottomWidth", __v)
|
|
3478
|
+
})
|
|
3479
|
+
JSPrototypes.declare(
|
|
3480
|
+
ViewCommon.self, "borderLeftWidth",
|
|
3481
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3482
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3483
|
+
return __o.borderLeftWidth
|
|
3484
|
+
},
|
|
3485
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3486
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3487
|
+
try jsSet(jsUnwrap(__o.style, setting: "borderLeftWidth"), "borderLeftWidth", __v)
|
|
3488
|
+
})
|
|
3489
|
+
JSPrototypes.declare(
|
|
3490
|
+
ViewCommon.self, "borderRadius",
|
|
3491
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3492
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3493
|
+
return __o.borderRadius
|
|
3494
|
+
},
|
|
3495
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3496
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3497
|
+
try jsSet(jsUnwrap(__o.style, setting: "borderRadius"), "borderRadius", __v)
|
|
3498
|
+
})
|
|
3499
|
+
JSPrototypes.declare(
|
|
3500
|
+
ViewCommon.self, "borderTopLeftRadius",
|
|
3501
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3502
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3503
|
+
return __o.borderTopLeftRadius
|
|
3504
|
+
},
|
|
3505
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3506
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3507
|
+
try jsSet(jsUnwrap(__o.style, setting: "borderTopLeftRadius"), "borderTopLeftRadius", __v)
|
|
3508
|
+
})
|
|
3509
|
+
JSPrototypes.declare(
|
|
3510
|
+
ViewCommon.self, "borderTopRightRadius",
|
|
3511
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3512
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3513
|
+
return __o.borderTopRightRadius
|
|
3514
|
+
},
|
|
3515
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3516
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3517
|
+
try jsSet(jsUnwrap(__o.style, setting: "borderTopRightRadius"), "borderTopRightRadius", __v)
|
|
3518
|
+
})
|
|
3519
|
+
JSPrototypes.declare(
|
|
3520
|
+
ViewCommon.self, "borderBottomRightRadius",
|
|
3521
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3522
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3523
|
+
return __o.borderBottomRightRadius
|
|
3524
|
+
},
|
|
3525
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3526
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3527
|
+
try jsSet(jsUnwrap(__o.style, setting: "borderBottomRightRadius"), "borderBottomRightRadius", __v)
|
|
3528
|
+
})
|
|
3529
|
+
JSPrototypes.declare(
|
|
3530
|
+
ViewCommon.self, "borderBottomLeftRadius",
|
|
3531
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3532
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3533
|
+
return __o.borderBottomLeftRadius
|
|
3534
|
+
},
|
|
3535
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3536
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3537
|
+
try jsSet(jsUnwrap(__o.style, setting: "borderBottomLeftRadius"), "borderBottomLeftRadius", __v)
|
|
3538
|
+
})
|
|
3539
|
+
JSPrototypes.declare(
|
|
3540
|
+
ViewCommon.self, "color",
|
|
3541
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3542
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3543
|
+
return __o.color
|
|
3544
|
+
},
|
|
3545
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3546
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3547
|
+
try jsSet(jsUnwrap(__o.style, setting: "color"), "color", __v)
|
|
3548
|
+
})
|
|
3549
|
+
JSPrototypes.declare(
|
|
3550
|
+
ViewCommon.self, "background",
|
|
3551
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3552
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3553
|
+
return __o.background
|
|
3554
|
+
},
|
|
3555
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3556
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3557
|
+
try jsSet(jsUnwrap(__o.style, setting: "background"), "background", __v)
|
|
3558
|
+
})
|
|
3559
|
+
JSPrototypes.declare(
|
|
3560
|
+
ViewCommon.self, "backgroundColor",
|
|
3561
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3562
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3563
|
+
return __o.backgroundColor
|
|
3564
|
+
},
|
|
3565
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3566
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3567
|
+
try jsSet(jsUnwrap(__o.style, setting: "backgroundColor"), "backgroundColor", __v)
|
|
3568
|
+
})
|
|
3569
|
+
JSPrototypes.declare(
|
|
3570
|
+
ViewCommon.self, "backgroundImage",
|
|
3571
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3572
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3573
|
+
return __o.backgroundImage
|
|
3574
|
+
},
|
|
3575
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3576
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3577
|
+
try jsSet(jsUnwrap(__o.style, setting: "backgroundImage"), "backgroundImage", __v)
|
|
3578
|
+
})
|
|
3579
|
+
JSPrototypes.declare(
|
|
3580
|
+
ViewCommon.self, "backgroundSize",
|
|
3581
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3582
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3583
|
+
return __o.backgroundSize
|
|
3584
|
+
},
|
|
3585
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3586
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3587
|
+
try jsSet(jsUnwrap(__o.style, setting: "backgroundSize"), "backgroundSize", __v)
|
|
3588
|
+
})
|
|
3589
|
+
JSPrototypes.declare(
|
|
3590
|
+
ViewCommon.self, "backgroundPosition",
|
|
3591
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3592
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3593
|
+
return __o.backgroundPosition
|
|
3594
|
+
},
|
|
3595
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3596
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3597
|
+
try jsSet(jsUnwrap(__o.style, setting: "backgroundPosition"), "backgroundPosition", __v)
|
|
3598
|
+
})
|
|
3599
|
+
JSPrototypes.declare(
|
|
3600
|
+
ViewCommon.self, "backgroundRepeat",
|
|
3601
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3602
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3603
|
+
return __o.backgroundRepeat
|
|
3604
|
+
},
|
|
3605
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3606
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3607
|
+
try jsSet(jsUnwrap(__o.style, setting: "backgroundRepeat"), "backgroundRepeat", __v)
|
|
3608
|
+
})
|
|
3609
|
+
JSPrototypes.declare(
|
|
3610
|
+
ViewCommon.self, "boxShadow",
|
|
3611
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3612
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3613
|
+
return __o.boxShadow
|
|
3614
|
+
},
|
|
3615
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3616
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3617
|
+
try jsSet(jsUnwrap(__o.style, setting: "boxShadow"), "boxShadow", __v)
|
|
3618
|
+
})
|
|
3619
|
+
JSPrototypes.declare(
|
|
3620
|
+
ViewCommon.self, "direction",
|
|
3621
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3622
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3623
|
+
return __o.direction
|
|
3624
|
+
},
|
|
3625
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3626
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3627
|
+
try jsSet(jsUnwrap(__o.style, setting: "direction"), "direction", __v)
|
|
3628
|
+
})
|
|
3629
|
+
JSPrototypes.declare(
|
|
3630
|
+
ViewCommon.self, "minWidth",
|
|
3631
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3632
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3633
|
+
return __o.minWidth
|
|
3634
|
+
},
|
|
3635
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3636
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3637
|
+
try jsSet(jsUnwrap(__o.style, setting: "minWidth"), "minWidth", __v)
|
|
3638
|
+
})
|
|
3639
|
+
JSPrototypes.declare(
|
|
3640
|
+
ViewCommon.self, "minHeight",
|
|
3641
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3642
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3643
|
+
return __o.minHeight
|
|
3644
|
+
},
|
|
3645
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3646
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3647
|
+
try jsSet(jsUnwrap(__o.style, setting: "minHeight"), "minHeight", __v)
|
|
3648
|
+
})
|
|
3649
|
+
JSPrototypes.declare(
|
|
3650
|
+
ViewCommon.self, "maxWidth",
|
|
3651
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3652
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3653
|
+
return __o.maxWidth
|
|
3654
|
+
},
|
|
3655
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3656
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3657
|
+
try jsSet(jsUnwrap(__o.style, setting: "maxWidth"), "maxWidth", __v)
|
|
3658
|
+
})
|
|
3659
|
+
JSPrototypes.declare(
|
|
3660
|
+
ViewCommon.self, "maxHeight",
|
|
3661
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3662
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3663
|
+
return __o.maxHeight
|
|
3664
|
+
},
|
|
3665
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3666
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3667
|
+
try jsSet(jsUnwrap(__o.style, setting: "maxHeight"), "maxHeight", __v)
|
|
3668
|
+
})
|
|
3669
|
+
JSPrototypes.declare(
|
|
3670
|
+
ViewCommon.self, "width",
|
|
3671
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3672
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3673
|
+
return __o.width
|
|
3674
|
+
},
|
|
3675
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3676
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3677
|
+
try jsSet(jsUnwrap(__o.style, setting: "width"), "width", __v)
|
|
3678
|
+
})
|
|
3679
|
+
JSPrototypes.declare(
|
|
3680
|
+
ViewCommon.self, "height",
|
|
3681
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3682
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3683
|
+
return __o.height
|
|
3684
|
+
},
|
|
3685
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3686
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3687
|
+
try jsSet(jsUnwrap(__o.style, setting: "height"), "height", __v)
|
|
3688
|
+
})
|
|
3689
|
+
JSPrototypes.declare(
|
|
3690
|
+
ViewCommon.self, "margin",
|
|
3691
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3692
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3693
|
+
return __o.margin
|
|
3694
|
+
},
|
|
3695
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3696
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3697
|
+
try jsSet(jsUnwrap(__o.style, setting: "margin"), "margin", __v)
|
|
3698
|
+
})
|
|
3699
|
+
JSPrototypes.declare(
|
|
3700
|
+
ViewCommon.self, "marginLeft",
|
|
3701
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3702
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3703
|
+
return __o.marginLeft
|
|
3704
|
+
},
|
|
3705
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3706
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3707
|
+
try jsSet(jsUnwrap(__o.style, setting: "marginLeft"), "marginLeft", __v)
|
|
3708
|
+
})
|
|
3709
|
+
JSPrototypes.declare(
|
|
3710
|
+
ViewCommon.self, "marginTop",
|
|
3711
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3712
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3713
|
+
return __o.marginTop
|
|
3714
|
+
},
|
|
3715
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3716
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3717
|
+
try jsSet(jsUnwrap(__o.style, setting: "marginTop"), "marginTop", __v)
|
|
3718
|
+
})
|
|
3719
|
+
JSPrototypes.declare(
|
|
3720
|
+
ViewCommon.self, "marginRight",
|
|
3721
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3722
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3723
|
+
return __o.marginRight
|
|
3724
|
+
},
|
|
3725
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3726
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3727
|
+
try jsSet(jsUnwrap(__o.style, setting: "marginRight"), "marginRight", __v)
|
|
3728
|
+
})
|
|
3729
|
+
JSPrototypes.declare(
|
|
3730
|
+
ViewCommon.self, "marginBottom",
|
|
3731
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3732
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3733
|
+
return __o.marginBottom
|
|
3734
|
+
},
|
|
3735
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3736
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3737
|
+
try jsSet(jsUnwrap(__o.style, setting: "marginBottom"), "marginBottom", __v)
|
|
3738
|
+
})
|
|
3739
|
+
JSPrototypes.declare(
|
|
3740
|
+
ViewCommon.self, "horizontalAlignment",
|
|
3741
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3742
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3743
|
+
return __o.horizontalAlignment
|
|
3744
|
+
},
|
|
3745
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3746
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3747
|
+
try jsSet(jsUnwrap(__o.style, setting: "horizontalAlignment"), "horizontalAlignment", __v)
|
|
3748
|
+
})
|
|
3749
|
+
JSPrototypes.declare(
|
|
3750
|
+
ViewCommon.self, "verticalAlignment",
|
|
3751
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3752
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3753
|
+
return __o.verticalAlignment
|
|
3754
|
+
},
|
|
3755
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3756
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3757
|
+
try jsSet(jsUnwrap(__o.style, setting: "verticalAlignment"), "verticalAlignment", __v)
|
|
3758
|
+
})
|
|
3759
|
+
JSPrototypes.declare(
|
|
3760
|
+
ViewCommon.self, "visibility",
|
|
3761
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3762
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3763
|
+
return __o.visibility
|
|
3764
|
+
},
|
|
3765
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3766
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3767
|
+
try jsSet(jsUnwrap(__o.style, setting: "visibility"), "visibility", __v)
|
|
3768
|
+
})
|
|
3769
|
+
JSPrototypes.declare(
|
|
3770
|
+
ViewCommon.self, "opacity",
|
|
3771
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3772
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3773
|
+
return __o.opacity
|
|
3774
|
+
},
|
|
3775
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3776
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3777
|
+
try jsSet(jsUnwrap(__o.style, setting: "opacity"), "opacity", __v)
|
|
3778
|
+
})
|
|
3779
|
+
JSPrototypes.declare(
|
|
3780
|
+
ViewCommon.self, "rotate",
|
|
3781
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3782
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3783
|
+
return __o.rotate
|
|
3784
|
+
},
|
|
3785
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3786
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3787
|
+
try jsSet(jsUnwrap(__o.style, setting: "rotate"), "rotate", __v)
|
|
3788
|
+
})
|
|
3789
|
+
JSPrototypes.declare(
|
|
3790
|
+
ViewCommon.self, "rotateX",
|
|
3791
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3792
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3793
|
+
return __o.rotateX
|
|
3794
|
+
},
|
|
3795
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3796
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3797
|
+
try jsSet(jsUnwrap(__o.style, setting: "rotateX"), "rotateX", __v)
|
|
3798
|
+
})
|
|
3799
|
+
JSPrototypes.declare(
|
|
3800
|
+
ViewCommon.self, "rotateY",
|
|
3801
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3802
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3803
|
+
return __o.rotateY
|
|
3804
|
+
},
|
|
3805
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3806
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3807
|
+
try jsSet(jsUnwrap(__o.style, setting: "rotateY"), "rotateY", __v)
|
|
3808
|
+
})
|
|
3809
|
+
JSPrototypes.declare(
|
|
3810
|
+
ViewCommon.self, "perspective",
|
|
3811
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3812
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3813
|
+
return __o.perspective
|
|
3814
|
+
},
|
|
3815
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3816
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3817
|
+
try jsSet(jsUnwrap(__o.style, setting: "perspective"), "perspective", __v)
|
|
3818
|
+
})
|
|
3819
|
+
JSPrototypes.declare(
|
|
3820
|
+
ViewCommon.self, "textTransform",
|
|
3821
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3822
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3823
|
+
return __o.textTransform
|
|
3824
|
+
},
|
|
3825
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3826
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3827
|
+
try jsSet(jsUnwrap(__o.style, setting: "textTransform"), "textTransform", __v)
|
|
3828
|
+
})
|
|
3829
|
+
JSPrototypes.declare(
|
|
3830
|
+
ViewCommon.self, "translateX",
|
|
3831
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3832
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3833
|
+
return __o.translateX
|
|
3834
|
+
},
|
|
3835
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3836
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3837
|
+
try jsSet(jsUnwrap(__o.style, setting: "translateX"), "translateX", __v)
|
|
3838
|
+
})
|
|
3839
|
+
JSPrototypes.declare(
|
|
3840
|
+
ViewCommon.self, "translateY",
|
|
3841
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3842
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3843
|
+
return __o.translateY
|
|
3844
|
+
},
|
|
3845
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3846
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3847
|
+
try jsSet(jsUnwrap(__o.style, setting: "translateY"), "translateY", __v)
|
|
3848
|
+
})
|
|
3849
|
+
JSPrototypes.declare(
|
|
3850
|
+
ViewCommon.self, "scaleX",
|
|
3851
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3852
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3853
|
+
return __o.scaleX
|
|
3854
|
+
},
|
|
3855
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3856
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3857
|
+
try jsSet(jsUnwrap(__o.style, setting: "scaleX"), "scaleX", __v)
|
|
3858
|
+
})
|
|
3859
|
+
JSPrototypes.declare(
|
|
3860
|
+
ViewCommon.self, "scaleY",
|
|
3861
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3862
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3863
|
+
return __o.scaleY
|
|
3864
|
+
},
|
|
3865
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3866
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3867
|
+
try jsSet(jsUnwrap(__o.style, setting: "scaleY"), "scaleY", __v)
|
|
3868
|
+
})
|
|
3869
|
+
JSPrototypes.declare(
|
|
3870
|
+
ViewCommon.self, "accessible",
|
|
3871
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3872
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3873
|
+
return __o.accessible
|
|
3874
|
+
},
|
|
3875
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3876
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3877
|
+
try jsSet(jsUnwrap(__o.style, setting: "accessible"), "accessible", __v)
|
|
3878
|
+
})
|
|
3879
|
+
JSPrototypes.declare(
|
|
3880
|
+
ViewCommon.self, "accessibilityHidden",
|
|
3881
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3882
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3883
|
+
return __o.accessibilityHidden
|
|
3884
|
+
},
|
|
3885
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3886
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3887
|
+
try jsSet(jsUnwrap(__o.style, setting: "accessibilityHidden"), "accessibilityHidden", __v)
|
|
3888
|
+
})
|
|
3889
|
+
JSPrototypes.declare(
|
|
3890
|
+
ViewCommon.self, "accessibilityRole",
|
|
3891
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3892
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3893
|
+
return __o.accessibilityRole
|
|
3894
|
+
},
|
|
3895
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3896
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3897
|
+
try jsSet(jsUnwrap(__o.style, setting: "accessibilityRole"), "accessibilityRole", __v)
|
|
3898
|
+
})
|
|
3899
|
+
JSPrototypes.declare(
|
|
3900
|
+
ViewCommon.self, "accessibilityState",
|
|
3901
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3902
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3903
|
+
return __o.accessibilityState
|
|
3904
|
+
},
|
|
3905
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3906
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3907
|
+
try jsSet(jsUnwrap(__o.style, setting: "accessibilityState"), "accessibilityState", __v)
|
|
3908
|
+
})
|
|
3909
|
+
JSPrototypes.declare(
|
|
3910
|
+
ViewCommon.self, "accessibilityLiveRegion",
|
|
3911
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3912
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3913
|
+
return __o.accessibilityLiveRegion
|
|
3914
|
+
},
|
|
3915
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3916
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3917
|
+
try jsSet(jsUnwrap(__o.style, setting: "accessibilityLiveRegion"), "accessibilityLiveRegion", __v)
|
|
3918
|
+
})
|
|
3919
|
+
JSPrototypes.declare(
|
|
3920
|
+
ViewCommon.self, "accessibilityLanguage",
|
|
3921
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3922
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3923
|
+
return __o.accessibilityLanguage
|
|
3924
|
+
},
|
|
3925
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3926
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3927
|
+
try jsSet(jsUnwrap(__o.style, setting: "accessibilityLanguage"), "accessibilityLanguage", __v)
|
|
3928
|
+
})
|
|
3929
|
+
JSPrototypes.declare(
|
|
3930
|
+
ViewCommon.self, "accessibilityMediaSession",
|
|
3931
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3932
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3933
|
+
return __o.accessibilityMediaSession
|
|
3934
|
+
},
|
|
3935
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3936
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3937
|
+
try jsSet(jsUnwrap(__o.style, setting: "accessibilityMediaSession"), "accessibilityMediaSession", __v)
|
|
3938
|
+
})
|
|
3939
|
+
JSPrototypes.declare(
|
|
3940
|
+
ViewCommon.self, "iosAccessibilityAdjustsFontSize",
|
|
3941
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3942
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3943
|
+
return __o.iosAccessibilityAdjustsFontSize
|
|
3944
|
+
},
|
|
3945
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3946
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3947
|
+
try jsSet(
|
|
3948
|
+
jsUnwrap(__o.style, setting: "iosAccessibilityAdjustsFontSize"), "iosAccessibilityAdjustsFontSize",
|
|
3949
|
+
__v)
|
|
3950
|
+
})
|
|
3951
|
+
JSPrototypes.declare(
|
|
3952
|
+
ViewCommon.self, "iosAccessibilityMinFontScale",
|
|
3953
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3954
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3955
|
+
return __o.iosAccessibilityMinFontScale
|
|
3956
|
+
},
|
|
3957
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3958
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3959
|
+
try jsSet(
|
|
3960
|
+
jsUnwrap(__o.style, setting: "iosAccessibilityMinFontScale"), "iosAccessibilityMinFontScale", __v)
|
|
3961
|
+
})
|
|
3962
|
+
JSPrototypes.declare(
|
|
3963
|
+
ViewCommon.self, "iosAccessibilityMaxFontScale",
|
|
3964
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3965
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3966
|
+
return __o.iosAccessibilityMaxFontScale
|
|
3967
|
+
},
|
|
3968
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3969
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3970
|
+
try jsSet(
|
|
3971
|
+
jsUnwrap(__o.style, setting: "iosAccessibilityMaxFontScale"), "iosAccessibilityMaxFontScale", __v)
|
|
3972
|
+
})
|
|
3973
|
+
JSPrototypes.declare(
|
|
3974
|
+
ViewCommon.self, "automationText",
|
|
3975
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3976
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3977
|
+
return __o.automationText
|
|
3978
|
+
},
|
|
3979
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3980
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3981
|
+
try jsSet(__o, "accessibilityIdentifier", __v)
|
|
3982
|
+
})
|
|
3983
|
+
JSPrototypes.declare(
|
|
3984
|
+
ViewCommon.self, "androidElevation",
|
|
3985
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3986
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3987
|
+
return __o.androidElevation
|
|
3988
|
+
},
|
|
3989
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
3990
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3991
|
+
try jsSet(jsUnwrap(__o.style, setting: "androidElevation"), "androidElevation", __v)
|
|
3992
|
+
})
|
|
3993
|
+
JSPrototypes.declare(
|
|
3994
|
+
ViewCommon.self, "androidDynamicElevationOffset",
|
|
3995
|
+
get: { (__this: Any?) throws -> Any? in
|
|
3996
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
3997
|
+
return __o.androidDynamicElevationOffset
|
|
3998
|
+
},
|
|
3999
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
4000
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
4001
|
+
try jsSet(
|
|
4002
|
+
jsUnwrap(__o.style, setting: "androidDynamicElevationOffset"), "androidDynamicElevationOffset", __v)
|
|
4003
|
+
})
|
|
4004
|
+
JSPrototypes.declare(
|
|
4005
|
+
ViewCommon.self, "isLayoutValid",
|
|
4006
|
+
get: { (__this: Any?) throws -> Any? in
|
|
4007
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
4008
|
+
return __o.isLayoutValid
|
|
4009
|
+
}, set: nil)
|
|
4010
|
+
JSPrototypes.declare(
|
|
4011
|
+
ViewCommon.self, "cssType",
|
|
4012
|
+
get: { (__this: Any?) throws -> Any? in
|
|
4013
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
4014
|
+
return __o.cssType
|
|
4015
|
+
},
|
|
4016
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
4017
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
4018
|
+
__o.cssType = jsLenientString(__v)
|
|
4019
|
+
})
|
|
4020
|
+
JSPrototypes.declare(
|
|
4021
|
+
ViewCommon.self, "statusBarStyle",
|
|
4022
|
+
get: { (__this: Any?) throws -> Any? in
|
|
4023
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
4024
|
+
return __o.statusBarStyle
|
|
4025
|
+
},
|
|
4026
|
+
set: { (__this: Any?, __v: Any?) throws -> Void in
|
|
4027
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
4028
|
+
try jsSet(jsUnwrap(__o.style, setting: "statusBarStyle"), "statusBarStyle", __v)
|
|
4029
|
+
})
|
|
4030
|
+
JSPrototypes.declare(
|
|
4031
|
+
ViewCommon.self, "isLayoutRequired",
|
|
4032
|
+
get: { (__this: Any?) throws -> Any? in
|
|
4033
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
4034
|
+
return __o.isLayoutRequired
|
|
4035
|
+
}, set: nil)
|
|
4036
|
+
JSPrototypes.declare(
|
|
4037
|
+
ViewCommon.self, "needsNativeDrawableFill",
|
|
4038
|
+
get: { (__this: Any?) throws -> Any? in
|
|
4039
|
+
guard let __o = __this as? ViewCommon else { throw JSException(JSTypeError("Illegal invocation")) }
|
|
4040
|
+
return __o.needsNativeDrawableFill
|
|
4041
|
+
}, set: nil)
|
|
4042
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:93)
|
|
4043
|
+
JSPrototypes.declareStatics(
|
|
4044
|
+
ViewCommon.self,
|
|
4045
|
+
[
|
|
4046
|
+
("layoutChangedEvent", { () -> Any? in ViewCommon.layoutChangedEvent }),
|
|
4047
|
+
("shownModallyEvent", { () -> Any? in ViewCommon.shownModallyEvent }),
|
|
4048
|
+
("showingModallyEvent", { () -> Any? in ViewCommon.showingModallyEvent }),
|
|
4049
|
+
("closedModallyEvent", { () -> Any? in ViewCommon.closedModallyEvent }),
|
|
4050
|
+
("accessibilityBlurEvent", { () -> Any? in ViewCommon.accessibilityBlurEvent }),
|
|
4051
|
+
("accessibilityFocusEvent", { () -> Any? in ViewCommon.accessibilityFocusEvent }),
|
|
4052
|
+
("accessibilityFocusChangedEvent", { () -> Any? in ViewCommon.accessibilityFocusChangedEvent }),
|
|
4053
|
+
("accessibilityPerformEscapeEvent", { () -> Any? in ViewCommon.accessibilityPerformEscapeEvent }),
|
|
4054
|
+
("androidOverflowInsetEvent", { () -> Any? in ViewCommon.androidOverflowInsetEvent }),
|
|
4055
|
+
(
|
|
4056
|
+
"resolveSizeAndState",
|
|
4057
|
+
{ () -> Any? in
|
|
4058
|
+
FunctionCell_Double_Double_Double_Double_to_Double.script(
|
|
4059
|
+
"resolveSizeAndState", 4, ViewCommon.resolveSizeAndState)
|
|
4060
|
+
}
|
|
4061
|
+
),
|
|
4062
|
+
(
|
|
4063
|
+
"combineMeasuredStates",
|
|
4064
|
+
{ () -> Any? in
|
|
4065
|
+
FunctionCell_Double_AnyOpt_to_Double.script(
|
|
4066
|
+
"combineMeasuredStates", 2, ViewCommon.combineMeasuredStates)
|
|
4067
|
+
}
|
|
4068
|
+
),
|
|
4069
|
+
(
|
|
4070
|
+
"layoutChild",
|
|
4071
|
+
{ () -> Any? in
|
|
4072
|
+
FunctionCell_ViewCommonOpt_ViewCommonOpt_Double_Double_Double_Double_Bool_to_Void.script(
|
|
4073
|
+
"layoutChild", 6, ViewCommon.layoutChild)
|
|
4074
|
+
}
|
|
4075
|
+
),
|
|
4076
|
+
(
|
|
4077
|
+
"measureChild",
|
|
4078
|
+
{ () -> Any? in
|
|
4079
|
+
FunctionCell_ViewCommonOpt_ViewCommonOpt_Double_Double_to_AnyOpt.script(
|
|
4080
|
+
"measureChild", 4, ViewCommon.measureChild)
|
|
4081
|
+
}
|
|
4082
|
+
),
|
|
4083
|
+
])
|
|
4084
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1418)
|
|
4085
|
+
Core_ui_core_view_view_common.originXProperty = try Property(
|
|
4086
|
+
JSObject([
|
|
4087
|
+
("name", "originX"), ("defaultValue", Double(0.5)),
|
|
4088
|
+
(
|
|
4089
|
+
"valueConverter",
|
|
4090
|
+
FunctionCell_String_to_Double.scriptOrNil(
|
|
4091
|
+
"", 1,
|
|
4092
|
+
{ (v: String) -> Double in
|
|
4093
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1421)
|
|
4094
|
+
return jsParseFloat(v)
|
|
4095
|
+
})
|
|
4096
|
+
),
|
|
4097
|
+
]))
|
|
4098
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1423)
|
|
4099
|
+
try jsUnwrap(Core_ui_core_view_view_common.originXProperty, "register").register(ViewCommon.self)
|
|
4100
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1425)
|
|
4101
|
+
Core_ui_core_view_view_common.originYProperty = try Property(
|
|
4102
|
+
JSObject([
|
|
4103
|
+
("name", "originY"), ("defaultValue", Double(0.5)),
|
|
4104
|
+
(
|
|
4105
|
+
"valueConverter",
|
|
4106
|
+
FunctionCell_String_to_Double.scriptOrNil(
|
|
4107
|
+
"", 1,
|
|
4108
|
+
{ (v: String) -> Double in
|
|
4109
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1428)
|
|
4110
|
+
return jsParseFloat(v)
|
|
4111
|
+
})
|
|
4112
|
+
),
|
|
4113
|
+
]))
|
|
4114
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1430)
|
|
4115
|
+
try jsUnwrap(Core_ui_core_view_view_common.originYProperty, "register").register(ViewCommon.self)
|
|
4116
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1432)
|
|
4117
|
+
Core_ui_core_view_view_common.isEnabledProperty = try Property(
|
|
4118
|
+
{ () -> JSObject in
|
|
4119
|
+
let __o_1 = JSObject()
|
|
4120
|
+
__o_1["name"] = "isEnabled"
|
|
4121
|
+
__o_1["defaultValue"] = true
|
|
4122
|
+
__o_1["valueConverter"] = FunctionCell_AnyOpt_to_Bool.script(
|
|
4123
|
+
"booleanConverter", 1,
|
|
4124
|
+
FunctionCell_AnyOpt_to_Bool.declared(
|
|
4125
|
+
"Core_ui_core_view_base_utils.booleanConverter",
|
|
4126
|
+
{ Core_ui_core_view_base_utils.booleanConverter($0) }))
|
|
4127
|
+
__o_1["valueChanged"] = FunctionCell_ViewCommonOpt_Bool_Bool_to_Void.scriptOrNil(
|
|
4128
|
+
"", 3,
|
|
4129
|
+
{ (target: ViewCommon?, oldValue: Bool, newValue: Bool) throws -> Void in
|
|
4130
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1437)
|
|
4131
|
+
let state: String = "disabled"
|
|
4132
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1439)
|
|
4133
|
+
if newValue {
|
|
4134
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1440)
|
|
4135
|
+
try jsUnwrap(target, "_removeVisualState")._removeVisualState(state)
|
|
4136
|
+
} else {
|
|
4137
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1442)
|
|
4138
|
+
try jsUnwrap(target, "_addVisualState")._addVisualState(state)
|
|
4139
|
+
}
|
|
4140
|
+
})
|
|
4141
|
+
return __o_1
|
|
4142
|
+
}())
|
|
4143
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1446)
|
|
4144
|
+
try jsUnwrap(Core_ui_core_view_view_common.isEnabledProperty, "register").register(ViewCommon.self)
|
|
4145
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1448)
|
|
4146
|
+
Core_ui_core_view_view_common.isUserInteractionEnabledProperty = try Property(
|
|
4147
|
+
JSObject([
|
|
4148
|
+
("name", "isUserInteractionEnabled"), ("defaultValue", true),
|
|
4149
|
+
(
|
|
4150
|
+
"valueConverter",
|
|
4151
|
+
FunctionCell_AnyOpt_to_Bool.script(
|
|
4152
|
+
"booleanConverter", 1,
|
|
4153
|
+
FunctionCell_AnyOpt_to_Bool.declared(
|
|
4154
|
+
"Core_ui_core_view_base_utils.booleanConverter",
|
|
4155
|
+
{ Core_ui_core_view_base_utils.booleanConverter($0) }))
|
|
4156
|
+
),
|
|
4157
|
+
]))
|
|
4158
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1453)
|
|
4159
|
+
try jsUnwrap(Core_ui_core_view_view_common.isUserInteractionEnabledProperty, "register").register(
|
|
4160
|
+
ViewCommon.self)
|
|
4161
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1458)
|
|
4162
|
+
Core_ui_core_view_view_common.statusBarStyleProperty = try CssProperty(
|
|
4163
|
+
JSObject([("name", "statusBarStyle"), ("cssName", "status-bar-style")]))
|
|
4164
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1462)
|
|
4165
|
+
try jsUnwrap(Core_ui_core_view_view_common.statusBarStyleProperty, "register").register(Style.self)
|
|
4166
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1465)
|
|
4167
|
+
Core_ui_core_view_view_common.iosOverflowSafeAreaProperty = try Property(
|
|
4168
|
+
JSObject([
|
|
4169
|
+
("name", "iosOverflowSafeArea"), ("defaultValue", false),
|
|
4170
|
+
(
|
|
4171
|
+
"valueConverter",
|
|
4172
|
+
FunctionCell_AnyOpt_to_Bool.script(
|
|
4173
|
+
"booleanConverter", 1,
|
|
4174
|
+
FunctionCell_AnyOpt_to_Bool.declared(
|
|
4175
|
+
"Core_ui_core_view_base_utils.booleanConverter",
|
|
4176
|
+
{ Core_ui_core_view_base_utils.booleanConverter($0) }))
|
|
4177
|
+
),
|
|
4178
|
+
]))
|
|
4179
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1470)
|
|
4180
|
+
try jsUnwrap(Core_ui_core_view_view_common.iosOverflowSafeAreaProperty, "register").register(ViewCommon.self)
|
|
4181
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1472)
|
|
4182
|
+
Core_ui_core_view_view_common.iosOverflowSafeAreaEnabledProperty = try InheritedProperty(
|
|
4183
|
+
JSObject([
|
|
4184
|
+
("name", "iosOverflowSafeAreaEnabled"), ("defaultValue", true),
|
|
4185
|
+
(
|
|
4186
|
+
"valueConverter",
|
|
4187
|
+
FunctionCell_AnyOpt_to_Bool.script(
|
|
4188
|
+
"booleanConverter", 1,
|
|
4189
|
+
FunctionCell_AnyOpt_to_Bool.declared(
|
|
4190
|
+
"Core_ui_core_view_base_utils.booleanConverter",
|
|
4191
|
+
{ Core_ui_core_view_base_utils.booleanConverter($0) }))
|
|
4192
|
+
),
|
|
4193
|
+
]))
|
|
4194
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1477)
|
|
4195
|
+
try jsUnwrap(Core_ui_core_view_view_common.iosOverflowSafeAreaEnabledProperty, "register").register(
|
|
4196
|
+
ViewCommon.self)
|
|
4197
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1478)
|
|
4198
|
+
Core_ui_core_view_view_common.iosIgnoreSafeAreaProperty = try InheritedProperty(
|
|
4199
|
+
JSObject([
|
|
4200
|
+
("name", "iosIgnoreSafeArea"), ("defaultValue", false),
|
|
4201
|
+
(
|
|
4202
|
+
"valueConverter",
|
|
4203
|
+
FunctionCell_AnyOpt_to_Bool.script(
|
|
4204
|
+
"booleanConverter", 1,
|
|
4205
|
+
FunctionCell_AnyOpt_to_Bool.declared(
|
|
4206
|
+
"Core_ui_core_view_base_utils.booleanConverter",
|
|
4207
|
+
{ Core_ui_core_view_base_utils.booleanConverter($0) }))
|
|
4208
|
+
),
|
|
4209
|
+
]))
|
|
4210
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1483)
|
|
4211
|
+
try jsUnwrap(Core_ui_core_view_view_common.iosIgnoreSafeAreaProperty, "register").register(ViewCommon.self)
|
|
4212
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1485)
|
|
4213
|
+
Core_ui_core_view_view_common.androidOverflowEdgeProperty = try Property(
|
|
4214
|
+
JSObject([("name", "androidOverflowEdge"), ("defaultValue", "ignore")]))
|
|
4215
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1489)
|
|
4216
|
+
try jsUnwrap(Core_ui_core_view_view_common.androidOverflowEdgeProperty, "register").register(ViewCommon.self)
|
|
4217
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1509)
|
|
4218
|
+
Core_ui_core_view_view_common.iosGlassEffectProperty = try Property(JSObject([("name", "iosGlassEffect")]))
|
|
4219
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1512)
|
|
4220
|
+
try jsUnwrap(Core_ui_core_view_view_common.iosGlassEffectProperty, "register").register(ViewCommon.self)
|
|
4221
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1514)
|
|
4222
|
+
Core_ui_core_view_view_common.visionHoverStyleProperty = try Property(
|
|
4223
|
+
{ () -> JSObject in
|
|
4224
|
+
let __o_2 = JSObject()
|
|
4225
|
+
__o_2["name"] = "visionHoverStyle"
|
|
4226
|
+
__o_2["valueChanged"] = FunctionCell_ViewCommonOpt_AnyOpt_AnyOpt_to_Void.scriptOrNil(
|
|
4227
|
+
"", 3,
|
|
4228
|
+
{ (view: ViewCommon?, oldValue: Any?, newValue: Any?) throws -> Void in
|
|
4229
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1517)
|
|
4230
|
+
try jsUnwrap(view, setting: "visionHoverStyle").visionHoverStyle = newValue
|
|
4231
|
+
})
|
|
4232
|
+
return __o_2
|
|
4233
|
+
}())
|
|
4234
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1520)
|
|
4235
|
+
try jsUnwrap(Core_ui_core_view_view_common.visionHoverStyleProperty, "register").register(ViewCommon.self)
|
|
4236
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1522)
|
|
4237
|
+
Core_ui_core_view_view_common.visionIgnoreHoverStyleProperty = try Property(
|
|
4238
|
+
{ () -> JSObject in
|
|
4239
|
+
let __o_3 = JSObject()
|
|
4240
|
+
__o_3["name"] = "visionIgnoreHoverStyle"
|
|
4241
|
+
__o_3["valueChanged"] = FunctionCell_ViewCommonOpt_Bool_Bool_to_Void.scriptOrNil(
|
|
4242
|
+
"", 3,
|
|
4243
|
+
{ (view: ViewCommon?, oldValue: Bool, newValue: Bool) throws -> Void in
|
|
4244
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1525)
|
|
4245
|
+
try jsUnwrap(view, setting: "visionIgnoreHoverStyle").visionIgnoreHoverStyle = newValue
|
|
4246
|
+
})
|
|
4247
|
+
__o_3["valueConverter"] = FunctionCell_AnyOpt_to_Bool.script(
|
|
4248
|
+
"booleanConverter", 1,
|
|
4249
|
+
FunctionCell_AnyOpt_to_Bool.declared(
|
|
4250
|
+
"Core_ui_core_view_base_utils.booleanConverter",
|
|
4251
|
+
{ Core_ui_core_view_base_utils.booleanConverter($0) }))
|
|
4252
|
+
return __o_3
|
|
4253
|
+
}())
|
|
4254
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1529)
|
|
4255
|
+
try jsUnwrap(Core_ui_core_view_view_common.visionIgnoreHoverStyleProperty, "register").register(ViewCommon.self)
|
|
4256
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1532)
|
|
4257
|
+
Core_ui_core_view_view_common.touchAnimationProperty = try Property(
|
|
4258
|
+
{ () -> JSObject in
|
|
4259
|
+
let __o_4 = JSObject()
|
|
4260
|
+
__o_4["name"] = "touchAnimation"
|
|
4261
|
+
__o_4["valueChanged"] = FunctionCell_ViewCommonOpt_AnyOpt_AnyOpt_to_Void.scriptOrNil(
|
|
4262
|
+
"", 3,
|
|
4263
|
+
{ (view: ViewCommon?, oldValue: Any?, newValue: Any?) throws -> Void in
|
|
4264
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1535)
|
|
4265
|
+
try jsUnwrap(view, setting: "touchAnimation").touchAnimation = newValue
|
|
4266
|
+
})
|
|
4267
|
+
__o_4["valueConverter"] = FunctionCell_String_to_AnyOpt.scriptOrNil(
|
|
4268
|
+
"", 1,
|
|
4269
|
+
{ (value: String) throws -> Any? in
|
|
4270
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1538)
|
|
4271
|
+
if Core_utils_types.isObject(value) {
|
|
4272
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1539)
|
|
4273
|
+
return try
|
|
4274
|
+
(jsCastPresent(value)
|
|
4275
|
+
as Object_toString_charAt_charCodeAt_concat_indexOf_lastIndexOf_and_44_more_fc25df)
|
|
4276
|
+
} else {
|
|
4277
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1541)
|
|
4278
|
+
return Core_ui_core_view_base_utils.booleanConverter(value)
|
|
4279
|
+
}
|
|
4280
|
+
})
|
|
4281
|
+
return __o_4
|
|
4282
|
+
}())
|
|
4283
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1545)
|
|
4284
|
+
try jsUnwrap(Core_ui_core_view_view_common.touchAnimationProperty, "register").register(ViewCommon.self)
|
|
4285
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1547)
|
|
4286
|
+
Core_ui_core_view_view_common.ignoreTouchAnimationProperty = try Property(
|
|
4287
|
+
{ () -> JSObject in
|
|
4288
|
+
let __o_5 = JSObject()
|
|
4289
|
+
__o_5["name"] = "ignoreTouchAnimation"
|
|
4290
|
+
__o_5["valueChanged"] = FunctionCell_ViewCommonOpt_Bool_Bool_to_Void.scriptOrNil(
|
|
4291
|
+
"", 3,
|
|
4292
|
+
{ (view: ViewCommon?, oldValue: Bool, newValue: Bool) throws -> Void in
|
|
4293
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1550)
|
|
4294
|
+
try jsUnwrap(view, setting: "ignoreTouchAnimation").ignoreTouchAnimation = newValue
|
|
4295
|
+
})
|
|
4296
|
+
__o_5["valueConverter"] = FunctionCell_AnyOpt_to_Bool.script(
|
|
4297
|
+
"booleanConverter", 1,
|
|
4298
|
+
FunctionCell_AnyOpt_to_Bool.declared(
|
|
4299
|
+
"Core_ui_core_view_base_utils.booleanConverter",
|
|
4300
|
+
{ Core_ui_core_view_base_utils.booleanConverter($0) }))
|
|
4301
|
+
return __o_5
|
|
4302
|
+
}())
|
|
4303
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1554)
|
|
4304
|
+
try jsUnwrap(Core_ui_core_view_view_common.ignoreTouchAnimationProperty, "register").register(ViewCommon.self)
|
|
4305
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1556)
|
|
4306
|
+
Core_ui_core_view_view_common.touchDelayProperty = try Property(
|
|
4307
|
+
{ () -> JSObject in
|
|
4308
|
+
let __o_6 = JSObject()
|
|
4309
|
+
__o_6["name"] = "touchDelay"
|
|
4310
|
+
__o_6["valueChanged"] = FunctionCell_ViewCommonOpt_Double_Double_to_Void.scriptOrNil(
|
|
4311
|
+
"", 3,
|
|
4312
|
+
{ (view: ViewCommon?, oldValue: Double, newValue: Double) throws -> Void in
|
|
4313
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1559)
|
|
4314
|
+
try jsUnwrap(view, setting: "touchDelay").touchDelay = newValue
|
|
4315
|
+
})
|
|
4316
|
+
__o_6["valueConverter"] = FunctionCell_String_to_Double.scriptOrNil(
|
|
4317
|
+
"", 1,
|
|
4318
|
+
{ (v: String) -> Double in
|
|
4319
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1561)
|
|
4320
|
+
return jsParseFloat(v)
|
|
4321
|
+
})
|
|
4322
|
+
return __o_6
|
|
4323
|
+
}())
|
|
4324
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1563)
|
|
4325
|
+
try jsUnwrap(Core_ui_core_view_view_common.touchDelayProperty, "register").register(ViewCommon.self)
|
|
4326
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1565)
|
|
4327
|
+
Core_ui_core_view_view_common.testIDProperty = try Property(JSObject([("name", "testID")]))
|
|
4328
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1568)
|
|
4329
|
+
try jsUnwrap(Core_ui_core_view_view_common.testIDProperty, "register").register(ViewCommon.self)
|
|
4330
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1570)
|
|
4331
|
+
try jsUnwrap(Core_accessibility_accessibility_properties.accessibilityIdentifierProperty, "register").register(
|
|
4332
|
+
ViewCommon.self)
|
|
4333
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1571)
|
|
4334
|
+
try jsUnwrap(Core_accessibility_accessibility_properties.accessibilityLabelProperty, "register").register(
|
|
4335
|
+
ViewCommon.self)
|
|
4336
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1572)
|
|
4337
|
+
try jsUnwrap(Core_accessibility_accessibility_properties.accessibilityValueProperty, "register").register(
|
|
4338
|
+
ViewCommon.self)
|
|
4339
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1573)
|
|
4340
|
+
try jsUnwrap(Core_accessibility_accessibility_properties.accessibilityHintProperty, "register").register(
|
|
4341
|
+
ViewCommon.self)
|
|
4342
|
+
#sourceLocation(file:"@nativescript/core/ui.core.view.view-common.ts",line:1574)
|
|
4343
|
+
try jsUnwrap(Core_accessibility_accessibility_properties.accessibilityIgnoresInvertColorsProperty, "register")
|
|
4344
|
+
.register(ViewCommon.self)
|
|
4345
|
+
}
|
|
4346
|
+
}
|
|
4347
|
+
#sourceLocation()
|