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