@nstudio/nativescript-compiler 0.0.0-stage → 9.2.0-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +35 -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 +97 -0
- package/dist/driver/compile.js +583 -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 +341 -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 +653 -0
- package/dist/kotlin/app-modules.js +111 -0
- package/dist/kotlin/arguments.js +403 -0
- package/dist/kotlin/assignment.js +226 -0
- package/dist/kotlin/builtins.js +571 -0
- package/dist/kotlin/calls.js +523 -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 +219 -0
- package/dist/kotlin/classes.js +333 -0
- package/dist/kotlin/components.js +455 -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 +751 -0
- package/dist/kotlin/core-index.js +228 -0
- package/dist/kotlin/declarations.js +463 -0
- package/dist/kotlin/diagnostics.js +28 -0
- package/dist/kotlin/expression-statements.js +228 -0
- package/dist/kotlin/expressions.js +468 -0
- package/dist/kotlin/functions.js +488 -0
- package/dist/kotlin/global-calls.js +318 -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 +639 -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 +125 -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 +379 -0
- package/dist/kotlin/native/types.js +424 -0
- package/dist/kotlin/operators.js +452 -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 +159 -0
- package/dist/kotlin/render.js +425 -0
- package/dist/kotlin/state-backend.js +123 -0
- package/dist/kotlin/statements.js +435 -0
- package/dist/kotlin/static-calls.js +297 -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 +586 -0
- package/dist/plugins/native-ios.js +634 -0
- package/dist/plugins/resolve.js +108 -0
- package/dist/plugins/source.js +1174 -0
- package/dist/program/app-modules.js +127 -0
- package/dist/program/app-paths.js +128 -0
- package/dist/program/build-caches.js +14 -0
- package/dist/program/build-context.js +48 -0
- package/dist/program/class-mixins.js +463 -0
- package/dist/program/constructor-factories.js +134 -0
- package/dist/program/core-facts.js +158 -0
- package/dist/program/core-patches.js +59 -0
- package/dist/program/env.js +4 -0
- package/dist/program/glob.js +274 -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 +429 -0
- package/dist/program/program.js +918 -0
- package/dist/program/properties.js +61 -0
- package/dist/program/reach.js +444 -0
- package/dist/program/source-lines.js +271 -0
- package/dist/program/stable-names.js +112 -0
- package/dist/program/vite-plugins.js +144 -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 +26 -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 +67 -0
- package/dist/semantics/apis/string.js +45 -0
- package/dist/semantics/ast.js +333 -0
- package/dist/semantics/async.js +582 -0
- package/dist/semantics/class-plan.js +168 -0
- package/dist/semantics/classes.js +597 -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 +49 -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 +244 -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 +936 -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 +77 -0
- package/dist/semantics/regexp.js +219 -0
- package/dist/semantics/result-shapes.js +203 -0
- package/dist/semantics/runtime.js +483 -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 +881 -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 +478 -0
- package/dist/semantics/worker-state.js +198 -0
- package/dist/swift/access.js +769 -0
- package/dist/swift/app-modules.js +41 -0
- package/dist/swift/arguments.js +245 -0
- package/dist/swift/assignment.js +281 -0
- package/dist/swift/availability.js +146 -0
- package/dist/swift/builtins.js +818 -0
- package/dist/swift/calls.js +497 -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 +406 -0
- package/dist/swift/construction.js +295 -0
- package/dist/swift/control-flow.js +210 -0
- package/dist/swift/conversion.js +425 -0
- package/dist/swift/core-api.js +1065 -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 +509 -0
- package/dist/swift/generics.js +128 -0
- package/dist/swift/global-calls.js +219 -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 +556 -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 +820 -0
- package/dist/swift/native/sdk-types.js +1 -0
- package/dist/swift/native/sdk.js +417 -0
- package/dist/swift/native/subclasses.js +533 -0
- package/dist/swift/object-classes.js +396 -0
- package/dist/swift/operators.js +578 -0
- package/dist/swift/optional-chains.js +405 -0
- package/dist/swift/parameters.js +213 -0
- package/dist/swift/placement.js +941 -0
- package/dist/swift/protocols.js +164 -0
- package/dist/swift/prototype-calls.js +242 -0
- package/dist/swift/render.js +449 -0
- package/dist/swift/results.js +370 -0
- package/dist/swift/state-backend.js +243 -0
- package/dist/swift/statements.js +514 -0
- package/dist/swift/static-calls.js +325 -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 +602 -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 +584 -0
- package/dist/targets/ios/core-native.js +149 -0
- package/dist/targets/ios/dependencies.js +476 -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 +194 -0
- package/dist/template/model.js +38 -0
- package/dist/template/plan.js +673 -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 +696 -0
- package/dist/types/binding-api.d.ts +48 -0
- package/dist/types/elements.d.ts +10 -0
- package/dist/types/ir.d.ts +292 -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 +32114 -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 +3595 -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 +368 -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 +318 -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 +6403 -0
- package/kit-apple/Sources/NativeScriptKit/Core/FunctionCells.Arity2.swift +4432 -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_fa18e1.swift +338 -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_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 +203 -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 +414 -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 +30598 -0
- package/kit-apple/Sources/NativeScriptKit/Core/manifest.json +3382 -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 +4345 -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 +454 -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 +597 -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 +496 -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 +582 -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,1932 @@
|
|
|
1
|
+
// Generated from @nativescript/core by tools/kit: edit core, not this file.
|
|
2
|
+
package org.nativescript.kit
|
|
3
|
+
|
|
4
|
+
import androidx.annotation.UiThread
|
|
5
|
+
|
|
6
|
+
@UiThread
|
|
7
|
+
open class ApplicationCommon : JSExpando, JSKeysMade {
|
|
8
|
+
var jsMadeBits0: Long = 0L
|
|
9
|
+
|
|
10
|
+
fun jsMadeNote0(bit: Long, key: String) {
|
|
11
|
+
if ((jsMadeBits0 and bit) == 0L) {
|
|
12
|
+
jsMadeBits0 = jsMadeBits0 or bit
|
|
13
|
+
jsMadeNote(this, key)
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
override var jsMade: MutableList<String>? = null
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated Use the 'ready' event for application initialization and
|
|
20
|
+
* Application.setWindowContentResolver() to provide window UI. 'launch' continues to fire
|
|
21
|
+
* before the first window's content is created, and its 'root' property is still honored, for
|
|
22
|
+
* backwards compatibility. It never fires for additional windows. In a scene-based app it
|
|
23
|
+
* fires with the first window's content, so a background launch that connects no scene does
|
|
24
|
+
* not raise it.
|
|
25
|
+
*/
|
|
26
|
+
@JvmField var launchEvent: String = "launch"
|
|
27
|
+
/**
|
|
28
|
+
* Raised once per JS context, as soon as the context is initialized. It is never deferred, so
|
|
29
|
+
* it also fires on a background launch where no window is created.
|
|
30
|
+
*
|
|
31
|
+
* Guaranteed ordering: `ready` -> `windowOpen` -> raw connect/create events -> content
|
|
32
|
+
* resolution (the legacy `launch` bridge runs here, for the first window only) ->
|
|
33
|
+
* `contentLoaded` -> `activate`/`displayed`.
|
|
34
|
+
*/
|
|
35
|
+
@JvmField var readyEvent: String = "ready"
|
|
36
|
+
/**
|
|
37
|
+
* Reflects whole-app state: with multiple windows it is raised once the app itself is no longer
|
|
38
|
+
* in the foreground, not when an individual window backgrounds. Listen on a NativeWindow for
|
|
39
|
+
* per-window state.
|
|
40
|
+
*/
|
|
41
|
+
@JvmField var suspendEvent: String = "suspend"
|
|
42
|
+
@JvmField var displayedEvent: String = "displayed"
|
|
43
|
+
@JvmField var backgroundEvent: String = "background"
|
|
44
|
+
@JvmField var foregroundEvent: String = "foreground"
|
|
45
|
+
@JvmField var resumeEvent: String = "resume"
|
|
46
|
+
/**
|
|
47
|
+
* On Android, raised when the last window closes; the process may stay alive. On iOS, raised
|
|
48
|
+
* when the process itself terminates.
|
|
49
|
+
*/
|
|
50
|
+
@JvmField var exitEvent: String = "exit"
|
|
51
|
+
@JvmField var lowMemoryEvent: String = "lowMemory"
|
|
52
|
+
@JvmField var uncaughtErrorEvent: String = "uncaughtError"
|
|
53
|
+
@JvmField var discardedErrorEvent: String = "discardedError"
|
|
54
|
+
@JvmField var orientationChangedEvent: String = "orientationChanged"
|
|
55
|
+
@JvmField var systemAppearanceChangedEvent: String = "systemAppearanceChanged"
|
|
56
|
+
@JvmField var layoutDirectionChangedEvent: String = "layoutDirectionChanged"
|
|
57
|
+
@JvmField var fontScaleChangedEvent: String = "fontScaleChanged"
|
|
58
|
+
@JvmField var livesyncEvent: String = "livesync"
|
|
59
|
+
@JvmField var loadAppCssEvent: String = "loadAppCss"
|
|
60
|
+
@JvmField var cssChangedEvent: String = "cssChanged"
|
|
61
|
+
@JvmField var initRootViewEvent: String = "initRootView"
|
|
62
|
+
@JvmField
|
|
63
|
+
var windowOpenEvent: String =
|
|
64
|
+
Core_native_window_native_window_interfaces.WindowEvents.windowOpen
|
|
65
|
+
@JvmField
|
|
66
|
+
var windowCloseEvent: String =
|
|
67
|
+
Core_native_window_native_window_interfaces.WindowEvents.windowClose
|
|
68
|
+
@JvmField
|
|
69
|
+
var primaryWindowChangedEvent: String =
|
|
70
|
+
Core_native_window_native_window_interfaces.WindowEvents.primaryWindowChanged
|
|
71
|
+
open var on: (String, (Any?) -> Unit, Any?) -> Unit =
|
|
72
|
+
jsFunction3<String, (Any?) -> Unit, Any?, Unit>(
|
|
73
|
+
jsCallMethod(
|
|
74
|
+
jsGet(Core_application_application_common.globalEvents, "on"),
|
|
75
|
+
"bind",
|
|
76
|
+
Core_application_application_common.globalEvents,
|
|
77
|
+
)
|
|
78
|
+
)
|
|
79
|
+
@JvmField
|
|
80
|
+
var once: (String, (Any?) -> Unit, Any?) -> Unit =
|
|
81
|
+
jsFunction3<String, (Any?) -> Unit, Any?, Unit>(
|
|
82
|
+
jsCallMethod(
|
|
83
|
+
jsGet(Core_application_application_common.globalEvents, "once"),
|
|
84
|
+
"bind",
|
|
85
|
+
Core_application_application_common.globalEvents,
|
|
86
|
+
)
|
|
87
|
+
)
|
|
88
|
+
@JvmField
|
|
89
|
+
var off: (String, Any?, Any?) -> Unit =
|
|
90
|
+
jsFunction3<String, Any?, Any?, Unit>(
|
|
91
|
+
jsCallMethod(
|
|
92
|
+
jsGet(Core_application_application_common.globalEvents, "off"),
|
|
93
|
+
"bind",
|
|
94
|
+
Core_application_application_common.globalEvents,
|
|
95
|
+
)
|
|
96
|
+
)
|
|
97
|
+
@JvmField
|
|
98
|
+
var notify: (Any?) -> Unit =
|
|
99
|
+
jsFunction1<Any?, Unit>(
|
|
100
|
+
jsCallMethod(
|
|
101
|
+
jsGet(Core_application_application_common.globalEvents, "notify"),
|
|
102
|
+
"bind",
|
|
103
|
+
Core_application_application_common.globalEvents,
|
|
104
|
+
)
|
|
105
|
+
)
|
|
106
|
+
@JvmField
|
|
107
|
+
var hasListeners: (String) -> Boolean =
|
|
108
|
+
jsFunction1<String, Boolean>(
|
|
109
|
+
jsCallMethod(
|
|
110
|
+
jsGet(Core_application_application_common.globalEvents, "hasListeners"),
|
|
111
|
+
"bind",
|
|
112
|
+
Core_application_application_common.globalEvents,
|
|
113
|
+
)
|
|
114
|
+
)
|
|
115
|
+
@get:JvmName("__get__orientation")
|
|
116
|
+
@set:JvmName("__set__orientation")
|
|
117
|
+
var _orientation: String? = null
|
|
118
|
+
set(value) {
|
|
119
|
+
field = value
|
|
120
|
+
jsMadeNote0(1L shl 0, "_orientation")
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
@get:JvmName("__get__systemAppearance")
|
|
124
|
+
@set:JvmName("__set__systemAppearance")
|
|
125
|
+
var _systemAppearance: String? = null
|
|
126
|
+
set(value) {
|
|
127
|
+
field = value
|
|
128
|
+
jsMadeNote0(1L shl 1, "_systemAppearance")
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
@get:JvmName("__get__layoutDirection")
|
|
132
|
+
@set:JvmName("__set__layoutDirection")
|
|
133
|
+
var _layoutDirection: String? = null
|
|
134
|
+
set(value) {
|
|
135
|
+
field = value
|
|
136
|
+
jsMadeNote0(1L shl 2, "_layoutDirection")
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
@JvmField var _inBackground: Boolean = false
|
|
140
|
+
@JvmField var _suspended: Boolean = false
|
|
141
|
+
@JvmField var _cssFile: String = "./app.css"
|
|
142
|
+
@JvmField var _readyNotified: Boolean = false
|
|
143
|
+
@JvmField var _appCssLoaded: Boolean = false
|
|
144
|
+
@JvmField var _launchBridgeConsumed: Boolean = false
|
|
145
|
+
@JvmField var _windowContentResolver: ((Any?) -> Any?)? = null
|
|
146
|
+
@get:JvmName("__get_mainEntry")
|
|
147
|
+
@set:JvmName("__set_mainEntry")
|
|
148
|
+
var mainEntry: Any? = null
|
|
149
|
+
set(value) {
|
|
150
|
+
field = value
|
|
151
|
+
jsMadeNote0(1L shl 3, "mainEntry")
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
@JvmField var started: Boolean = false
|
|
155
|
+
@JvmField var _windows: JSArray<NativeWindow>? = JSArray<NativeWindow>()
|
|
156
|
+
@JvmField var _traitsWindow: NativeWindow? = null
|
|
157
|
+
|
|
158
|
+
constructor() {
|
|
159
|
+
jsSet(
|
|
160
|
+
Core_globals_global_utils.getNativeScriptGlobals(),
|
|
161
|
+
"appInstanceReady",
|
|
162
|
+
true,
|
|
163
|
+
)
|
|
164
|
+
jsSet(
|
|
165
|
+
jsGlobalThis,
|
|
166
|
+
"__onUncaughtError",
|
|
167
|
+
{ error: Any? ->
|
|
168
|
+
this.notify(
|
|
169
|
+
jsObjectOf(
|
|
170
|
+
"eventName" to this.uncaughtErrorEvent,
|
|
171
|
+
"object" to this,
|
|
172
|
+
"android" to error,
|
|
173
|
+
"ios" to error,
|
|
174
|
+
"error" to error,
|
|
175
|
+
)
|
|
176
|
+
)
|
|
177
|
+
},
|
|
178
|
+
)
|
|
179
|
+
jsSet(
|
|
180
|
+
jsGlobalThis,
|
|
181
|
+
"__onDiscardedError",
|
|
182
|
+
{ error: Any? ->
|
|
183
|
+
this.notify(
|
|
184
|
+
jsObjectOf(
|
|
185
|
+
"eventName" to this.discardedErrorEvent,
|
|
186
|
+
"object" to this,
|
|
187
|
+
"error" to error,
|
|
188
|
+
)
|
|
189
|
+
)
|
|
190
|
+
},
|
|
191
|
+
)
|
|
192
|
+
jsSet(
|
|
193
|
+
jsGlobalThis,
|
|
194
|
+
"__onLiveSync",
|
|
195
|
+
fn3@{ context: Any? ->
|
|
196
|
+
if (this.suspended) {
|
|
197
|
+
return@fn3
|
|
198
|
+
}
|
|
199
|
+
val rootView: View? = this.getRootView_()
|
|
200
|
+
this.livesync(rootView, context)
|
|
201
|
+
},
|
|
202
|
+
)
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
open var autoSystemAppearanceChanged: Boolean
|
|
206
|
+
get() {
|
|
207
|
+
return Core_application_helpers_common.getAutoSystemAppearanceChanged()
|
|
208
|
+
}
|
|
209
|
+
set(value) {
|
|
210
|
+
Core_application_helpers_common.setAutoSystemAppearanceChanged(value)
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
open val primaryWindow: NativeWindow?
|
|
214
|
+
get() {
|
|
215
|
+
return (this._windows ?: jsCannotRead("find")).find({ nw: NativeWindow? ->
|
|
216
|
+
(nw ?: jsCannotRead("isPrimary")).isPrimary
|
|
217
|
+
})
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
open val activeWindow: NativeWindow?
|
|
221
|
+
get() {
|
|
222
|
+
val active: NativeWindow? =
|
|
223
|
+
Core_application_helpers_common.getActiveWindow()
|
|
224
|
+
if (
|
|
225
|
+
(jsTruthy(active) && (active ?: jsCannotRead("state")).state == "attached") &&
|
|
226
|
+
(this._windows ?: jsCannotRead("indexOf")).indexOf(active) != -1.0
|
|
227
|
+
) {
|
|
228
|
+
return active
|
|
229
|
+
}
|
|
230
|
+
return this.primaryWindow
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
open val inBackground: Boolean
|
|
234
|
+
get() {
|
|
235
|
+
return Core_application_helpers_common.isAppInBackground()
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
open val suspended: Boolean
|
|
239
|
+
get() {
|
|
240
|
+
return this._suspended
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
open val android: AndroidApplication?
|
|
244
|
+
get() {
|
|
245
|
+
return null
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
open val ios: Any?
|
|
249
|
+
get() {
|
|
250
|
+
return null
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
open val AndroidApplication: AndroidApplication?
|
|
254
|
+
get() {
|
|
255
|
+
return this.android
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
open val iOSApplication: Any?
|
|
259
|
+
get() {
|
|
260
|
+
return this.ios
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
/** @internal */
|
|
264
|
+
open fun livesync(rootView: View?, context: Any? = null) {
|
|
265
|
+
this.notify(
|
|
266
|
+
EventData.fromJS(jsObjectOf("eventName" to this.livesyncEvent, "object" to this))
|
|
267
|
+
)
|
|
268
|
+
val liveSyncCore: Any? = jsGet(jsGlobalThis, "__onLiveSyncCore")
|
|
269
|
+
var reapplyAppStyles: Boolean = false
|
|
270
|
+
if (
|
|
271
|
+
(jsTruthy(context) && jsTruthy(jsConvertedStringOrNull(jsGet(context, "path"))))
|
|
272
|
+
) {
|
|
273
|
+
val styleExtensions: JSArray<String> = jsArrayOf<String>("css", "scss")
|
|
274
|
+
val appStylesFullFileName: String = this.getCssFileName()
|
|
275
|
+
val appStylesFileName: String =
|
|
276
|
+
jsSubstring(
|
|
277
|
+
appStylesFullFileName,
|
|
278
|
+
0.0,
|
|
279
|
+
jsLastIndexOf(appStylesFullFileName, ".") + 1.0,
|
|
280
|
+
)
|
|
281
|
+
reapplyAppStyles =
|
|
282
|
+
styleExtensions.some({ ext: Any? ->
|
|
283
|
+
jsConvertedStringOrNull(jsGet(context, "path")) ==
|
|
284
|
+
(appStylesFileName + jsToString(ext))
|
|
285
|
+
})
|
|
286
|
+
}
|
|
287
|
+
if ((jsTruthy(rootView) && reapplyAppStyles)) {
|
|
288
|
+
(rootView ?: jsCannotRead("_onCssStateChange"))._onCssStateChange()
|
|
289
|
+
} else if (jsTruthy(liveSyncCore)) {
|
|
290
|
+
jsCall(liveSyncCore, context)
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* Applies the the `newCssClass` to the `rootView` and removes all other css classes from
|
|
296
|
+
* `cssClasses` previously applied to the `rootView`.
|
|
297
|
+
*
|
|
298
|
+
* @param rootView
|
|
299
|
+
* @param cssClasses
|
|
300
|
+
* @param newCssClass
|
|
301
|
+
* @param skipCssUpdate
|
|
302
|
+
*/
|
|
303
|
+
open fun applyCssClass(
|
|
304
|
+
rootView: View?,
|
|
305
|
+
cssClasses: JSArray<String>?,
|
|
306
|
+
newCssClass: String?,
|
|
307
|
+
skipCssUpdate: Boolean = false,
|
|
308
|
+
) {
|
|
309
|
+
if (
|
|
310
|
+
!(((rootView ?: jsCannotRead("cssClasses")).cssClasses ?: jsCannotRead("has")).has(
|
|
311
|
+
(newCssClass ?: "undefined")
|
|
312
|
+
))
|
|
313
|
+
) {
|
|
314
|
+
(cssClasses ?: jsCannotRead("forEach")).forEach({ cssClass: Any? ->
|
|
315
|
+
this.removeCssClass(rootView, jsConvertedStringOrNull(cssClass))
|
|
316
|
+
})
|
|
317
|
+
this.addCssClass(rootView, newCssClass)
|
|
318
|
+
this.increaseStyleScopeApplicationCssSelectorVersion(rootView)
|
|
319
|
+
if (!skipCssUpdate) {
|
|
320
|
+
(rootView ?: jsCannotRead("_onCssStateChange"))._onCssStateChange()
|
|
321
|
+
}
|
|
322
|
+
if (org.nativescript.kit.Trace.isEnabled()) {
|
|
323
|
+
val rootCssClasses: JSArray<String>? =
|
|
324
|
+
JSArray(
|
|
325
|
+
((rootView ?: jsCannotRead("cssClasses")).cssClasses ?: jsObjectRequired())
|
|
326
|
+
.toList()
|
|
327
|
+
)
|
|
328
|
+
org.nativescript.kit.Trace.write(
|
|
329
|
+
"Applying root css class: ${jsToString((newCssClass ?: "undefined"))}. rootView css classes: ${(rootCssClasses ?: jsCannotRead("join")).join(" ")}",
|
|
330
|
+
org.nativescript.kit.Trace.categories.Style,
|
|
331
|
+
)
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
open fun addCssClass(rootView: View?, cssClass: String?) {
|
|
337
|
+
org.nativescript.kit.CSSUtils.pushToSystemCssClasses(cssClass)
|
|
338
|
+
((rootView ?: jsCannotRead("cssClasses")).cssClasses ?: jsCannotRead("add"))
|
|
339
|
+
.add((cssClass ?: "undefined"))
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
open fun removeCssClass(rootView: View?, cssClass: String?) {
|
|
343
|
+
org.nativescript.kit.CSSUtils.removeSystemCssClass(cssClass)
|
|
344
|
+
((rootView ?: jsCannotRead("cssClasses")).cssClasses ?: jsCannotRead("delete"))
|
|
345
|
+
.delete((cssClass ?: "undefined"))
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* Same as {@link applyCssClass}, minus the system class list: window-scoped classes must not
|
|
350
|
+
* leak into it, because it seeds every window's root view.
|
|
351
|
+
*/
|
|
352
|
+
open fun applyWindowScopedCssClass(
|
|
353
|
+
rootView: View?,
|
|
354
|
+
cssClasses: JSArray<String>?,
|
|
355
|
+
newCssClass: String?,
|
|
356
|
+
) {
|
|
357
|
+
if (
|
|
358
|
+
((rootView ?: jsCannotRead("cssClasses")).cssClasses ?: jsCannotRead("has")).has(
|
|
359
|
+
(newCssClass ?: "undefined")
|
|
360
|
+
)
|
|
361
|
+
) {
|
|
362
|
+
return
|
|
363
|
+
}
|
|
364
|
+
(cssClasses ?: jsCannotRead("forEach")).forEach({ cssClass: Any? ->
|
|
365
|
+
((rootView ?: jsCannotRead("cssClasses")).cssClasses
|
|
366
|
+
?: jsCannotRead("delete"))
|
|
367
|
+
.delete(jsConvertedStringOrEmpty(cssClass))
|
|
368
|
+
})
|
|
369
|
+
((rootView ?: jsCannotRead("cssClasses")).cssClasses ?: jsCannotRead("add"))
|
|
370
|
+
.add((newCssClass ?: "undefined"))
|
|
371
|
+
this.increaseStyleScopeApplicationCssSelectorVersion(rootView)
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* The modal registry is process-wide, so only the modals presented over this root view may
|
|
376
|
+
* follow its window-scoped classes.
|
|
377
|
+
*/
|
|
378
|
+
open fun getOwnedModalViews(rootView: View?): JSArray<View>? {
|
|
379
|
+
return (jsAs<JSArray<View>>(
|
|
380
|
+
((rootView ?: jsCannotRead("_getRootModalViews"))._getRootModalViews()
|
|
381
|
+
?: jsObjectRequired())
|
|
382
|
+
))
|
|
383
|
+
.filter({ modalView: View? ->
|
|
384
|
+
jsStrictEquals(
|
|
385
|
+
(modalView ?: jsCannotRead("_getRootModalHost"))._getRootModalHost(),
|
|
386
|
+
rootView,
|
|
387
|
+
)
|
|
388
|
+
})
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
open fun increaseStyleScopeApplicationCssSelectorVersion(rootView: View?) {
|
|
392
|
+
val styleScope: StyleScope? =
|
|
393
|
+
((rootView ?: jsCannotRead("_styleScope"))._styleScope
|
|
394
|
+
?: ((rootView as? Frame)?.currentPage?._styleScope ?: jsObjectRequired()))
|
|
395
|
+
if (jsTruthy(styleScope)) {
|
|
396
|
+
(styleScope ?: jsCannotRead("_increaseApplicationCssSelectorVersion"))
|
|
397
|
+
._increaseApplicationCssSelectorVersion()
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
open fun setRootViewCSSClasses(rootView: View?, window: NativeWindow? = null) {
|
|
402
|
+
val platform: String = jsLowerCase(Core_platform_device_index.Device.os)
|
|
403
|
+
val deviceType: String =
|
|
404
|
+
jsLowerCase(Core_platform_device_index.Device.deviceType)
|
|
405
|
+
val orientation: String =
|
|
406
|
+
(if (jsTruthy(window)) (window ?: jsCannotRead("orientation")).orientation()
|
|
407
|
+
else this.orientation())
|
|
408
|
+
val systemAppearance: String =
|
|
409
|
+
(if (jsTruthy(window))
|
|
410
|
+
((window ?: jsCannotRead("systemAppearance")).systemAppearance() ?: "undefined")
|
|
411
|
+
else (this.systemAppearance() ?: "undefined"))
|
|
412
|
+
val layoutDirection: String =
|
|
413
|
+
(if (jsTruthy(window)) (window ?: jsCannotRead("layoutDirection")).layoutDirection()
|
|
414
|
+
else this.layoutDirection())
|
|
415
|
+
if (!platform.isNullOrEmpty()) {
|
|
416
|
+
org.nativescript.kit.CSSUtils.pushToSystemCssClasses(
|
|
417
|
+
"${org.nativescript.kit.CSSUtils.CLASS_PREFIX}${platform}"
|
|
418
|
+
)
|
|
419
|
+
org.nativescript.kit.CSSUtils.pushToSystemCssClasses(
|
|
420
|
+
"${org.nativescript.kit.CSSUtils.CLASS_PREFIX}${platform}-${js(Math.floor(Core_utils_constants.SDK_VERSION))}"
|
|
421
|
+
)
|
|
422
|
+
}
|
|
423
|
+
if (!deviceType.isNullOrEmpty()) {
|
|
424
|
+
org.nativescript.kit.CSSUtils.pushToSystemCssClasses(
|
|
425
|
+
"${org.nativescript.kit.CSSUtils.CLASS_PREFIX}${deviceType}"
|
|
426
|
+
)
|
|
427
|
+
}
|
|
428
|
+
((rootView ?: jsCannotRead("cssClasses")).cssClasses ?: jsCannotRead("add"))
|
|
429
|
+
.add(org.nativescript.kit.CSSUtils.ROOT_VIEW_CSS_CLASS)
|
|
430
|
+
val rootViewCssClasses: JSArray<String>? =
|
|
431
|
+
org.nativescript.kit.CSSUtils.getSystemCssClasses()
|
|
432
|
+
(rootViewCssClasses ?: jsCannotRead("forEach")).forEach({ c: Any? ->
|
|
433
|
+
((rootView ?: jsCannotRead("cssClasses")).cssClasses
|
|
434
|
+
?: jsCannotRead("add"))
|
|
435
|
+
.add(jsConvertedStringOrEmpty(c))
|
|
436
|
+
})
|
|
437
|
+
if (!orientation.isNullOrEmpty()) {
|
|
438
|
+
((rootView ?: jsCannotRead("cssClasses")).cssClasses
|
|
439
|
+
?: jsCannotRead("add"))
|
|
440
|
+
.add("${org.nativescript.kit.CSSUtils.CLASS_PREFIX}${orientation}")
|
|
441
|
+
}
|
|
442
|
+
if (!systemAppearance.isNullOrEmpty()) {
|
|
443
|
+
((rootView ?: jsCannotRead("cssClasses")).cssClasses
|
|
444
|
+
?: jsCannotRead("add"))
|
|
445
|
+
.add("${org.nativescript.kit.CSSUtils.CLASS_PREFIX}${systemAppearance}")
|
|
446
|
+
}
|
|
447
|
+
if (!layoutDirection.isNullOrEmpty()) {
|
|
448
|
+
((rootView ?: jsCannotRead("cssClasses")).cssClasses
|
|
449
|
+
?: jsCannotRead("add"))
|
|
450
|
+
.add("${org.nativescript.kit.CSSUtils.CLASS_PREFIX}${layoutDirection}")
|
|
451
|
+
}
|
|
452
|
+
this.increaseStyleScopeApplicationCssSelectorVersion(rootView)
|
|
453
|
+
(rootView ?: jsCannotRead("_onCssStateChange"))._onCssStateChange()
|
|
454
|
+
if (org.nativescript.kit.Trace.isEnabled()) {
|
|
455
|
+
val rootCssClasses: JSArray<String>? =
|
|
456
|
+
JSArray(
|
|
457
|
+
((rootView ?: jsCannotRead("cssClasses")).cssClasses ?: jsObjectRequired())
|
|
458
|
+
.toList()
|
|
459
|
+
)
|
|
460
|
+
org.nativescript.kit.Trace.write(
|
|
461
|
+
"Setting root css classes: ${(rootCssClasses ?: jsCannotRead("join")).join(" ")}",
|
|
462
|
+
org.nativescript.kit.Trace.categories.Style,
|
|
463
|
+
)
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
/**
|
|
468
|
+
* iOS Only Dynamically change the preferred frame rate For devices (iOS 15+) which support
|
|
469
|
+
* min/max/preferred frame rate you can specify ranges For devices (iOS < 15), you can specify
|
|
470
|
+
* the max frame rate see:
|
|
471
|
+
* https://developer.apple.com/documentation/quartzcore/optimizing_promotion_refresh_rates_for_iphone_13_pro_and_ipad_pro
|
|
472
|
+
* To use, ensure your Info.plist has:
|
|
473
|
+
* ```xml
|
|
474
|
+
* <key>CADisableMinimumFrameDurationOnPhone</key>
|
|
475
|
+
* <true/>
|
|
476
|
+
* ```
|
|
477
|
+
*
|
|
478
|
+
* @param options { min?: number; max?: number; preferred?: number }
|
|
479
|
+
*/
|
|
480
|
+
open fun setMaxRefreshRate(options: Any? = null) {}
|
|
481
|
+
|
|
482
|
+
/** @returns The main entry of the application */
|
|
483
|
+
open fun getMainEntry_(): Any? {
|
|
484
|
+
return Core_application_helpers_common.getAppMainEntry()
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* Sets the callback that supplies the UI for windows that need content. Pass `null` to remove a
|
|
489
|
+
* previously set resolver.
|
|
490
|
+
*/
|
|
491
|
+
open fun setWindowContentResolver(resolver: ((Any?) -> Any?)?) {
|
|
492
|
+
this._windowContentResolver = (resolver ?: null)
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
/** @returns The callback currently supplying window content, if any. */
|
|
496
|
+
open fun getWindowContentResolver(): Any? {
|
|
497
|
+
return this._windowContentResolver
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
open fun getWindows(role: Any? = null): JSArray<WindowBase>? {
|
|
501
|
+
if (jsStrictEquals(role, "all")) {
|
|
502
|
+
return jsAs<JSArray<WindowBase>?>(
|
|
503
|
+
JSArray<WindowBase>(((this._windows ?: jsObjectRequired())).toList())
|
|
504
|
+
)
|
|
505
|
+
}
|
|
506
|
+
val roles: JSArray<String>? =
|
|
507
|
+
(if (jsTruthy(role))
|
|
508
|
+
((if (JSArray.isArray(role)) jsArrayFrom(role) { jsConvertedString(it) }
|
|
509
|
+
else jsArrayOf<String>(jsConvertedString(role))))
|
|
510
|
+
else jsArrayOf<String>("application", "embedded"))
|
|
511
|
+
return jsAs<JSArray<WindowBase>?>(
|
|
512
|
+
(this._windows ?: jsCannotRead("filter")).filter({ nw: NativeWindow? ->
|
|
513
|
+
(roles ?: jsCannotRead("indexOf")).indexOf(
|
|
514
|
+
(nw ?: jsCannotRead("role")).role
|
|
515
|
+
) != -1.0
|
|
516
|
+
})
|
|
517
|
+
)
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
/** Get a registered NativeWindow by its id. */
|
|
521
|
+
open fun getWindowById(id: String?): NativeWindow? {
|
|
522
|
+
return (this._windows ?: jsCannotRead("find")).find({ nw: NativeWindow? ->
|
|
523
|
+
(nw ?: jsCannotRead("id")).id == id
|
|
524
|
+
})
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
/**
|
|
528
|
+
* Opens a new window.
|
|
529
|
+
*
|
|
530
|
+
* @param options Options for the new window, including data to hand to it.
|
|
531
|
+
*/
|
|
532
|
+
fun openWindow__ApplicationCommon(options: Any? = null) {
|
|
533
|
+
throw JSException(JSError("openWindow() is not supported on this platform."))
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
* Opens a new window.
|
|
538
|
+
*
|
|
539
|
+
* @param options Options for the new window, including data to hand to it.
|
|
540
|
+
*/
|
|
541
|
+
open fun openWindow(options: Any? = null) {
|
|
542
|
+
throw JSException(JSError("openWindow() is not supported on this platform."))
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
/** @internal - Get all registered NativeWindows, whatever their role. */
|
|
546
|
+
open fun _getWindows(): JSArray<NativeWindow>? {
|
|
547
|
+
return JSArray<NativeWindow>(((this._windows ?: jsObjectRequired())).toList())
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
/** @internal - Register a NativeWindow created by the platform lifecycle. */
|
|
551
|
+
open fun _registerWindow(nativeWindow: NativeWindow?) {
|
|
552
|
+
(this._windows ?: jsCannotRead("push")).push(
|
|
553
|
+
(nativeWindow ?: jsObjectRequired())
|
|
554
|
+
)
|
|
555
|
+
(nativeWindow ?: jsCannotRead("on")).on(
|
|
556
|
+
Core_native_window_native_window_interfaces.NativeWindowEvents.activate,
|
|
557
|
+
this::onWindowActivated,
|
|
558
|
+
this,
|
|
559
|
+
)
|
|
560
|
+
if ((nativeWindow ?: jsCannotRead("isPrimary")).isPrimary) {
|
|
561
|
+
this.trackPrimaryWindowTraits(nativeWindow)
|
|
562
|
+
}
|
|
563
|
+
this._onWindowRegistered(nativeWindow)
|
|
564
|
+
this.notify(
|
|
565
|
+
Object_eventName_object_window(
|
|
566
|
+
eventName = this.windowOpenEvent,
|
|
567
|
+
`object` = this,
|
|
568
|
+
window = (nativeWindow ?: jsObjectRequired()),
|
|
569
|
+
)
|
|
570
|
+
)
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
/**
|
|
574
|
+
* @internal - retire the windows behind discarded window-session ids.
|
|
575
|
+
*
|
|
576
|
+
* A session id can only stand in for a window whose native surface is already gone. iOS reports
|
|
577
|
+
* sessions discarded while the app was not running on the next launch, and such an id can name
|
|
578
|
+
* the session driving the app now, so an id match alone is no evidence that the window is
|
|
579
|
+
* finished with. Retiring an attached window tears down the UI in use - its root view unloads
|
|
580
|
+
* and nothing ever reloads it - so only detached windows are retired. Ids matching no window
|
|
581
|
+
* are ignored: they routinely belong to windows this JS context has never seen.
|
|
582
|
+
*/
|
|
583
|
+
open fun _retireDiscardedWindows(ids: JSArray<String>?) {
|
|
584
|
+
for (id in (ids ?: jsObjectRequired())) {
|
|
585
|
+
val nativeWindow: NativeWindow? =
|
|
586
|
+
(if (!id.isNullOrEmpty()) this.getWindowById(id) else null)
|
|
587
|
+
if (!jsTruthy(nativeWindow)) {
|
|
588
|
+
continue
|
|
589
|
+
}
|
|
590
|
+
if ((nativeWindow ?: jsCannotRead("state")).state == "attached") {
|
|
591
|
+
org.nativescript.kit.Trace.write(
|
|
592
|
+
"Ignoring a discarded session for window '${id}': its surface is still attached.",
|
|
593
|
+
org.nativescript.kit.Trace.categories.NativeLifecycle,
|
|
594
|
+
org.nativescript.kit.Trace.messageType.warn,
|
|
595
|
+
)
|
|
596
|
+
continue
|
|
597
|
+
}
|
|
598
|
+
(nativeWindow ?: jsCannotRead("_notifyEvent"))._notifyEvent(
|
|
599
|
+
Core_native_window_native_window_interfaces.NativeWindowEvents.close
|
|
600
|
+
)
|
|
601
|
+
this._unregisterWindow(nativeWindow)
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
/** @internal - Unregister a NativeWindow when its native surface is gone for good. */
|
|
606
|
+
open fun _unregisterWindow(nativeWindow: NativeWindow?) {
|
|
607
|
+
if (!((nativeWindow ?: jsCannotRead("_surfaceGone"))._surfaceGone)) {
|
|
608
|
+
org.nativescript.kit.Trace.write(
|
|
609
|
+
"Unregistering window '${(nativeWindow ?: jsCannotRead("id")).id}' while its native surface is still live. A window may only be retired once the platform has reported the surface gone.",
|
|
610
|
+
org.nativescript.kit.Trace.categories.NativeLifecycle,
|
|
611
|
+
org.nativescript.kit.Trace.messageType.error,
|
|
612
|
+
)
|
|
613
|
+
}
|
|
614
|
+
val idx: Double =
|
|
615
|
+
(this._windows ?: jsCannotRead("indexOf")).indexOf(nativeWindow)
|
|
616
|
+
if (idx >= 0.0) {
|
|
617
|
+
(this._windows ?: jsCannotRead("splice")).splice(idx, 1.0)
|
|
618
|
+
}
|
|
619
|
+
if (Core_application_helpers_common.getActiveWindow() === nativeWindow) {
|
|
620
|
+
Core_application_helpers_common.setActiveWindow(null)
|
|
621
|
+
}
|
|
622
|
+
this.notify(
|
|
623
|
+
Object_eventName_object_window(
|
|
624
|
+
eventName = this.windowCloseEvent,
|
|
625
|
+
`object` = this,
|
|
626
|
+
window = (nativeWindow ?: jsObjectRequired()),
|
|
627
|
+
)
|
|
628
|
+
)
|
|
629
|
+
if ((nativeWindow ?: jsCannotRead("isPrimary")).isPrimary) {
|
|
630
|
+
(nativeWindow ?: jsCannotRead("_setIsPrimary"))._setIsPrimary(false)
|
|
631
|
+
val promoted: NativeWindow? =
|
|
632
|
+
jsAs<JSArray<NativeWindow>>((this.getWindows() ?: jsObjectRequired()))
|
|
633
|
+
.find({ nw: NativeWindow? ->
|
|
634
|
+
(nw ?: jsCannotRead("state")).state == "attached"
|
|
635
|
+
})
|
|
636
|
+
this.trackPrimaryWindowTraits(promoted)
|
|
637
|
+
if (jsTruthy(promoted)) {
|
|
638
|
+
(promoted ?: jsCannotRead("_setIsPrimary"))._setIsPrimary(true)
|
|
639
|
+
this._onPrimaryWindowPromoted(promoted)
|
|
640
|
+
this.notify(
|
|
641
|
+
Object_eventName_object_window(
|
|
642
|
+
eventName = this.primaryWindowChangedEvent,
|
|
643
|
+
`object` = this,
|
|
644
|
+
window = (promoted ?: jsObjectRequired()),
|
|
645
|
+
)
|
|
646
|
+
)
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
(nativeWindow ?: jsCannotRead("_destroy"))._destroy()
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
/**
|
|
653
|
+
* Hook for platform-specific bookkeeping right after a window joins the registry, before
|
|
654
|
+
* `windowOpen` is raised.
|
|
655
|
+
*/
|
|
656
|
+
open fun _onWindowRegistered(nativeWindow: NativeWindow?) {}
|
|
657
|
+
|
|
658
|
+
/**
|
|
659
|
+
* Hook for platform-specific bookkeeping right after a window takes over the primary role,
|
|
660
|
+
* before `primaryWindowChanged` is raised.
|
|
661
|
+
*/
|
|
662
|
+
open fun _onPrimaryWindowPromoted(nativeWindow: NativeWindow?) {}
|
|
663
|
+
|
|
664
|
+
/**
|
|
665
|
+
* Points the application-level orientation, appearance and layout direction at the primary
|
|
666
|
+
* window, which owns those values now that each window has its own.
|
|
667
|
+
*/
|
|
668
|
+
open fun trackPrimaryWindowTraits(nativeWindow: NativeWindow?) {
|
|
669
|
+
val target: NativeWindow? = (nativeWindow ?: null)
|
|
670
|
+
if (this._traitsWindow === target) {
|
|
671
|
+
return
|
|
672
|
+
}
|
|
673
|
+
val previous: NativeWindow? = this._traitsWindow
|
|
674
|
+
if (jsTruthy(previous)) {
|
|
675
|
+
(previous ?: jsCannotRead("off")).off(
|
|
676
|
+
Core_native_window_native_window_interfaces.NativeWindowEvents.orientationChanged,
|
|
677
|
+
this::onWindowOrientationChanged,
|
|
678
|
+
this,
|
|
679
|
+
)
|
|
680
|
+
(previous ?: jsCannotRead("off")).off(
|
|
681
|
+
Core_native_window_native_window_interfaces.NativeWindowEvents
|
|
682
|
+
.systemAppearanceChanged,
|
|
683
|
+
this::onWindowSystemAppearanceChanged,
|
|
684
|
+
this,
|
|
685
|
+
)
|
|
686
|
+
(previous ?: jsCannotRead("off")).off(
|
|
687
|
+
Core_native_window_native_window_interfaces.NativeWindowEvents
|
|
688
|
+
.layoutDirectionChanged,
|
|
689
|
+
this::onWindowLayoutDirectionChanged,
|
|
690
|
+
this,
|
|
691
|
+
)
|
|
692
|
+
}
|
|
693
|
+
this._traitsWindow = target
|
|
694
|
+
if (!jsTruthy(target)) {
|
|
695
|
+
return
|
|
696
|
+
}
|
|
697
|
+
(target ?: jsCannotRead("on")).on(
|
|
698
|
+
Core_native_window_native_window_interfaces.NativeWindowEvents.orientationChanged,
|
|
699
|
+
this::onWindowOrientationChanged,
|
|
700
|
+
this,
|
|
701
|
+
)
|
|
702
|
+
(target ?: jsCannotRead("on")).on(
|
|
703
|
+
Core_native_window_native_window_interfaces.NativeWindowEvents.systemAppearanceChanged,
|
|
704
|
+
this::onWindowSystemAppearanceChanged,
|
|
705
|
+
this,
|
|
706
|
+
)
|
|
707
|
+
(target ?: jsCannotRead("on")).on(
|
|
708
|
+
Core_native_window_native_window_interfaces.NativeWindowEvents.layoutDirectionChanged,
|
|
709
|
+
this::onWindowLayoutDirectionChanged,
|
|
710
|
+
this,
|
|
711
|
+
)
|
|
712
|
+
this.syncTraitsFromWindow(target)
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
/**
|
|
716
|
+
* Adopts the window's values. The very first window seeds them quietly — there is no previous
|
|
717
|
+
* application state for it to differ from — while a later promotion raises the change events,
|
|
718
|
+
* because app code observed the outgoing window's values.
|
|
719
|
+
*/
|
|
720
|
+
open fun syncTraitsFromWindow(nativeWindow: NativeWindow?) {
|
|
721
|
+
val orientation: String =
|
|
722
|
+
(nativeWindow ?: jsCannotRead("orientation")).orientation()
|
|
723
|
+
if (!orientation.isNullOrEmpty()) {
|
|
724
|
+
if (this._orientation == null) {
|
|
725
|
+
this._orientation = orientation
|
|
726
|
+
} else {
|
|
727
|
+
this.setOrientation_(orientation)
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
val systemAppearance: String? =
|
|
731
|
+
(nativeWindow ?: jsCannotRead("systemAppearance")).systemAppearance()
|
|
732
|
+
if (jsTruthy(systemAppearance)) {
|
|
733
|
+
if (this._systemAppearance == null) {
|
|
734
|
+
this._systemAppearance = systemAppearance
|
|
735
|
+
} else {
|
|
736
|
+
this.setSystemAppearance(systemAppearance)
|
|
737
|
+
}
|
|
738
|
+
}
|
|
739
|
+
val layoutDirection: String =
|
|
740
|
+
(nativeWindow ?: jsCannotRead("layoutDirection")).layoutDirection()
|
|
741
|
+
if (!layoutDirection.isNullOrEmpty()) {
|
|
742
|
+
if (this._layoutDirection == null) {
|
|
743
|
+
this._layoutDirection = layoutDirection
|
|
744
|
+
} else {
|
|
745
|
+
this.setLayoutDirection(layoutDirection)
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
open fun onWindowActivated(data: Any?) {
|
|
751
|
+
Core_application_helpers_common.setActiveWindow(
|
|
752
|
+
jsCast(jsGet(data, "window"), NativeWindow::class.java)
|
|
753
|
+
)
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
open fun onWindowOrientationChanged(data: Any?) {
|
|
757
|
+
this.setOrientation_(jsConvertedStringOrNull(jsGet(data, "newValue")))
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
open fun onWindowSystemAppearanceChanged(data: Any?) {
|
|
761
|
+
this.setSystemAppearance(jsConvertedStringOrNull(jsGet(data, "newValue")))
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
open fun onWindowLayoutDirectionChanged(data: Any?) {
|
|
765
|
+
this.setLayoutDirection(jsConvertedStringOrNull(jsGet(data, "newValue")))
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
/** @internal - raises `ready` at most once per JS context. */
|
|
769
|
+
open fun notifyReady() {
|
|
770
|
+
if (this._readyNotified) {
|
|
771
|
+
return
|
|
772
|
+
}
|
|
773
|
+
this._readyNotified = true
|
|
774
|
+
jsCallMethod(Core_globals_global_utils.getNativeScriptGlobals(), "setLaunched")
|
|
775
|
+
this.notify(
|
|
776
|
+
jsObjectOf(
|
|
777
|
+
"eventName" to this.readyEvent,
|
|
778
|
+
"object" to this,
|
|
779
|
+
"ios" to this.ios,
|
|
780
|
+
"android" to this.android,
|
|
781
|
+
)
|
|
782
|
+
)
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
/**
|
|
786
|
+
* @param options.install `false` returns the resolved view instead of applying it, for platform
|
|
787
|
+
* pipelines that install the root view on the native surface themselves.
|
|
788
|
+
* @param options.launchData platform payload merged into the legacy `launch` event args.
|
|
789
|
+
* @returns The resolved view, or `null` when no content was produced.
|
|
790
|
+
* @internal - produces the content for a window that has none.
|
|
791
|
+
*
|
|
792
|
+
* Resolution order: the window content resolver, then the legacy `launch` event (offered to the
|
|
793
|
+
* first window that asks for content and to no other), then the application main entry. A
|
|
794
|
+
* resolver or a `launch` handler returning `null` takes ownership of the content, so nothing
|
|
795
|
+
* else is tried. A missing main entry leaves the window empty instead of throwing, because
|
|
796
|
+
* content can still arrive later through `run()`/`resetRootView()`.
|
|
797
|
+
*/
|
|
798
|
+
open fun _resolveWindowContent(
|
|
799
|
+
window: NativeWindow?,
|
|
800
|
+
request: Any?,
|
|
801
|
+
options: Any? = null,
|
|
802
|
+
): Any? {
|
|
803
|
+
val content: Any? =
|
|
804
|
+
this.resolveWindowContent(request, jsGetOptional(options, "launchData"))
|
|
805
|
+
if (jsIsNullish(content)) {
|
|
806
|
+
return jsNull
|
|
807
|
+
}
|
|
808
|
+
if (
|
|
809
|
+
(jsConvertedBooleanOrNull(jsGetOptional(options, "install")) ?: false) == false
|
|
810
|
+
) {
|
|
811
|
+
return this.buildContentView(content)
|
|
812
|
+
}
|
|
813
|
+
(window ?: jsCannotRead("setContent")).setContent_(content)
|
|
814
|
+
return (window ?: jsCannotRead("rootView")).rootView
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
open fun resolveWindowContent(request: Any?, launchData: Any? = null): Any? {
|
|
818
|
+
val launchBridgeAvailable: Boolean = !this._launchBridgeConsumed
|
|
819
|
+
this._launchBridgeConsumed = true
|
|
820
|
+
val resolver: ((Any?) -> Any?)? = this._windowContentResolver
|
|
821
|
+
if (jsTruthy(resolver)) {
|
|
822
|
+
val resolved: Any? = (resolver ?: jsNotAFunction("resolver"))(request)
|
|
823
|
+
if (!jsStrictEquals(resolved, null)) {
|
|
824
|
+
this._ensureAppCssLoaded()
|
|
825
|
+
return resolved
|
|
826
|
+
}
|
|
827
|
+
}
|
|
828
|
+
if (launchBridgeAvailable) {
|
|
829
|
+
val root: Any? = this.notifyLaunch(launchData)
|
|
830
|
+
if (jsStrictEquals(root, jsNull)) {
|
|
831
|
+
return jsNull
|
|
832
|
+
}
|
|
833
|
+
if (jsTruthy(root)) {
|
|
834
|
+
return root
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
this._ensureAppCssLoaded()
|
|
838
|
+
val mainEntry: Any? = Core_application_helpers_common.getAppMainEntry()
|
|
839
|
+
return (if (jsTruthy(mainEntry)) Builder.createViewFromEntry(mainEntry)
|
|
840
|
+
else null)
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
open fun buildContentView(content: Any?): View? {
|
|
844
|
+
if (jsTypeof(content) == "string") {
|
|
845
|
+
return Builder.createViewFromEntry(
|
|
846
|
+
jsObjectOf("moduleName" to jsConvertedString(content))
|
|
847
|
+
)
|
|
848
|
+
}
|
|
849
|
+
val entry: Any? = content
|
|
850
|
+
return (if (
|
|
851
|
+
(jsTruthy(jsConvertedStringOrNull(jsGet(entry, "moduleName"))) ||
|
|
852
|
+
jsTruthy(jsUnlessNullish(jsGet(entry, "create")) { jsFunction0<View>(it) }))
|
|
853
|
+
)
|
|
854
|
+
Builder.createViewFromEntry(entry)
|
|
855
|
+
else (jsCastCarried(content, View::class.java)))
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
/**
|
|
859
|
+
* Loads the app CSS once per JS context. On the legacy `launch` path this has to run after the
|
|
860
|
+
* handlers, which are allowed to call `setCssFileName()`.
|
|
861
|
+
*/
|
|
862
|
+
open fun _ensureAppCssLoaded() {
|
|
863
|
+
if (this._appCssLoaded) {
|
|
864
|
+
return
|
|
865
|
+
}
|
|
866
|
+
this._appCssLoaded = true
|
|
867
|
+
this.loadAppCss()
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
open fun notifyLaunch(additionalLanchEventData: Any? = null): Any? {
|
|
871
|
+
this._launchBridgeConsumed = true
|
|
872
|
+
val launchArgs: Any? = kotlin.run {
|
|
873
|
+
val __o_1 = JSObject()
|
|
874
|
+
__o_1["eventName"] = this.launchEvent
|
|
875
|
+
__o_1["object"] = this
|
|
876
|
+
__o_1["ios"] = this.ios
|
|
877
|
+
__o_1["android"] = this.android
|
|
878
|
+
jsObjectSpread(__o_1, additionalLanchEventData)
|
|
879
|
+
__o_1
|
|
880
|
+
}
|
|
881
|
+
this.notify(launchArgs)
|
|
882
|
+
this._ensureAppCssLoaded()
|
|
883
|
+
return jsGet(launchArgs, "root")
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
open fun createRootView(
|
|
887
|
+
view: View? = null,
|
|
888
|
+
fireLaunchEvent: Boolean = false,
|
|
889
|
+
additionalLanchEventData: Any? = null,
|
|
890
|
+
): View? {
|
|
891
|
+
var rootView: View? = view
|
|
892
|
+
if (!jsTruthy(rootView)) {
|
|
893
|
+
if (fireLaunchEvent) {
|
|
894
|
+
rootView =
|
|
895
|
+
jsCast(this.notifyLaunch(additionalLanchEventData), View::class.java)
|
|
896
|
+
if (rootView == null) {
|
|
897
|
+
return null
|
|
898
|
+
}
|
|
899
|
+
}
|
|
900
|
+
if (!jsTruthy(rootView)) {
|
|
901
|
+
if (!jsTruthy(Core_application_helpers_common.getAppMainEntry())) {
|
|
902
|
+
throw JSException(
|
|
903
|
+
JSError(
|
|
904
|
+
"Main entry is missing. App cannot be started. Verify app bootstrap."
|
|
905
|
+
)
|
|
906
|
+
)
|
|
907
|
+
}
|
|
908
|
+
rootView =
|
|
909
|
+
Builder.createViewFromEntry(Core_application_helpers_common.getAppMainEntry())
|
|
910
|
+
}
|
|
911
|
+
}
|
|
912
|
+
return rootView
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
fun getRootView__ApplicationCommon(): View? {
|
|
916
|
+
throw JSException(JSError("getRootView() Not implemented."))
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
open fun getRootView_(): View? {
|
|
920
|
+
throw JSException(JSError("getRootView() Not implemented."))
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
fun resetRootView__ApplicationCommon(entry: Any? = null) {
|
|
924
|
+
Core_application_helpers_common.setAppMainEntry(
|
|
925
|
+
(if (jsTypeof(entry) == "string") jsObjectOf("moduleName" to jsConvertedString(entry))
|
|
926
|
+
else entry)
|
|
927
|
+
)
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
open fun resetRootView(entry: Any? = null) {
|
|
931
|
+
Core_application_helpers_common.setAppMainEntry(
|
|
932
|
+
(if (jsTypeof(entry) == "string") jsObjectOf("moduleName" to jsConvertedString(entry))
|
|
933
|
+
else entry)
|
|
934
|
+
)
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
/**
|
|
938
|
+
* @param window the window the root view belongs to. Supplies the window-scoped CSS classes;
|
|
939
|
+
* without it they come from the primary window.
|
|
940
|
+
*/
|
|
941
|
+
open fun initRootView(rootView: View?, window: NativeWindow? = null) {
|
|
942
|
+
this.setRootViewCSSClasses(rootView, window)
|
|
943
|
+
Core_accessibility_accessibility_common.readyInitAccessibilityCssHelper()
|
|
944
|
+
Core_accessibility_accessibility_common.readyInitFontScale()
|
|
945
|
+
Core_accessibility_accessibility_common.applyAccessibilityCssToRoot(rootView)
|
|
946
|
+
this.notify(
|
|
947
|
+
jsObjectOf("eventName" to this.initRootViewEvent, "rootView" to rootView)
|
|
948
|
+
)
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
/** Get application level static resources. */
|
|
952
|
+
open fun getResources(): Any? {
|
|
953
|
+
return Core_ui_core_bindable_bindable_resources.get()
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
/** Set application level static resources. */
|
|
957
|
+
open fun setResources(res: Any?) {
|
|
958
|
+
Core_ui_core_bindable_bindable_resources.set(res)
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
/** Sets css file name for the application. */
|
|
962
|
+
open fun setCssFileName(cssFileName: String?) {
|
|
963
|
+
this._cssFile = (cssFileName ?: "undefined")
|
|
964
|
+
this.notify(
|
|
965
|
+
jsObjectOf(
|
|
966
|
+
"eventName" to this.cssChangedEvent,
|
|
967
|
+
"object" to this,
|
|
968
|
+
"cssFile" to cssFileName,
|
|
969
|
+
)
|
|
970
|
+
)
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
/** Gets css file name for the application. */
|
|
974
|
+
open fun getCssFileName(): String {
|
|
975
|
+
return this._cssFile
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
/**
|
|
979
|
+
* Loads immediately the app.css. By default the app.css file is loaded shortly after "loaded".
|
|
980
|
+
* For the Android snapshot the CSS can be parsed during the snapshot generation, as the CSS
|
|
981
|
+
* does not depend on runtime APIs, and loadAppCss will be called explicitly.
|
|
982
|
+
*/
|
|
983
|
+
open fun loadAppCss() {
|
|
984
|
+
try {
|
|
985
|
+
this.notify(
|
|
986
|
+
jsObjectOf(
|
|
987
|
+
"eventName" to this.loadAppCssEvent,
|
|
988
|
+
"object" to this,
|
|
989
|
+
"ios" to this.ios,
|
|
990
|
+
"android" to this.android,
|
|
991
|
+
"cssFile" to this.getCssFileName(),
|
|
992
|
+
)
|
|
993
|
+
)
|
|
994
|
+
} catch (__e_1: Throwable) {
|
|
995
|
+
if (org.nativescript.kit.Trace.isEnabled()) {
|
|
996
|
+
org.nativescript.kit.Trace.write(
|
|
997
|
+
"The app CSS file ${this.getCssFileName()} couldn't be loaded!",
|
|
998
|
+
org.nativescript.kit.Trace.categories.Style,
|
|
999
|
+
org.nativescript.kit.Trace.messageType.warn,
|
|
1000
|
+
)
|
|
1001
|
+
}
|
|
1002
|
+
}
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
open fun addCss(cssText: String?, attributeScoped: Boolean? = null) {
|
|
1006
|
+
this.notify(
|
|
1007
|
+
jsObjectOf("eventName" to this.cssChangedEvent, "object" to this, "cssText" to cssText)
|
|
1008
|
+
)
|
|
1009
|
+
if (!jsTruthy(attributeScoped)) {
|
|
1010
|
+
val rootView: View? = this.getRootView_()
|
|
1011
|
+
if (jsTruthy(rootView)) {
|
|
1012
|
+
(rootView ?: jsCannotRead("_onCssStateChange"))._onCssStateChange()
|
|
1013
|
+
}
|
|
1014
|
+
}
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
fun run__ApplicationCommon(entry: Any? = null) {
|
|
1018
|
+
throw JSException(JSError("run() Not implemented."))
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
open fun run(entry: Any? = null) {
|
|
1022
|
+
throw JSException(JSError("run() Not implemented."))
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
fun getOrientation__ApplicationCommon(): String {
|
|
1026
|
+
throw JSException(JSError("getOrientation() not implemented"))
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
open fun getOrientation_(): String {
|
|
1030
|
+
throw JSException(JSError("getOrientation() not implemented"))
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
open fun setOrientation_(value: String?) {
|
|
1034
|
+
if (this._orientation == value) {
|
|
1035
|
+
return
|
|
1036
|
+
}
|
|
1037
|
+
this._orientation = value
|
|
1038
|
+
(Screen.mainScreen ?: jsCannotRead("_updateMetrics"))._updateMetrics()
|
|
1039
|
+
this.orientationChanged(this.getRootView_(), value)
|
|
1040
|
+
this.notify(
|
|
1041
|
+
jsObjectOf(
|
|
1042
|
+
"eventName" to this.orientationChangedEvent,
|
|
1043
|
+
"android" to this.android,
|
|
1044
|
+
"ios" to this.ios,
|
|
1045
|
+
"newValue" to value,
|
|
1046
|
+
"object" to this,
|
|
1047
|
+
)
|
|
1048
|
+
)
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
/**
|
|
1052
|
+
* @deprecated Use Application.primaryWindow?.orientation() - or the NativeWindow of the
|
|
1053
|
+
* relevant view - instead. Continues to reflect the primary window.
|
|
1054
|
+
*/
|
|
1055
|
+
open fun orientation(): String {
|
|
1056
|
+
return jsConvertedStringOrEmpty(
|
|
1057
|
+
(this.primaryWindow?.orientation()
|
|
1058
|
+
?: (kotlin.run {
|
|
1059
|
+
if (jsIsNullish(this._orientation)) this._orientation = this.getOrientation_()
|
|
1060
|
+
this._orientation
|
|
1061
|
+
}))
|
|
1062
|
+
)
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
open fun orientationChanged(rootView: View?, newOrientation: String?) {
|
|
1066
|
+
if (!jsTruthy(rootView)) {
|
|
1067
|
+
return
|
|
1068
|
+
}
|
|
1069
|
+
val newOrientationCssClass: String =
|
|
1070
|
+
"${org.nativescript.kit.CSSUtils.CLASS_PREFIX}${jsToString((newOrientation ?: "undefined"))}"
|
|
1071
|
+
this.applyWindowScopedCssClass(
|
|
1072
|
+
rootView,
|
|
1073
|
+
Core_application_application_common.ORIENTATION_CSS_CLASSES,
|
|
1074
|
+
newOrientationCssClass,
|
|
1075
|
+
)
|
|
1076
|
+
(this.getOwnedModalViews(rootView) ?: jsObjectRequired()).forEach({
|
|
1077
|
+
rootModalView: View? ->
|
|
1078
|
+
this.applyWindowScopedCssClass(
|
|
1079
|
+
rootModalView,
|
|
1080
|
+
Core_application_application_common.ORIENTATION_CSS_CLASSES,
|
|
1081
|
+
newOrientationCssClass,
|
|
1082
|
+
)
|
|
1083
|
+
(rootModalView ?: jsCannotRead("_onCssStateChange"))._onCssStateChange()
|
|
1084
|
+
})
|
|
1085
|
+
(rootView ?: jsCannotRead("_onCssStateChange"))._onCssStateChange()
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
fun getNativeApplication__ApplicationCommon(): Any? {
|
|
1089
|
+
throw JSException(JSError("getNativeApplication() not implemented"))
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
open fun getNativeApplication(): Any? {
|
|
1093
|
+
throw JSException(JSError("getNativeApplication() not implemented"))
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
open fun hasLaunched(): Boolean {
|
|
1097
|
+
return jsConvertedBooleanOrFalse(
|
|
1098
|
+
jsGet(Core_globals_global_utils.getNativeScriptGlobals(), "launched")
|
|
1099
|
+
)
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
fun getSystemAppearance__ApplicationCommon(): String? {
|
|
1103
|
+
throw JSException(JSError("getSystemAppearance() not implemented"))
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
open fun getSystemAppearance(): String? {
|
|
1107
|
+
throw JSException(JSError("getSystemAppearance() not implemented"))
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
fun setSystemAppearance__ApplicationCommon(value: String?) {
|
|
1111
|
+
if (this._systemAppearance == value) {
|
|
1112
|
+
return
|
|
1113
|
+
}
|
|
1114
|
+
this._systemAppearance = value
|
|
1115
|
+
if (this.autoSystemAppearanceChanged) {
|
|
1116
|
+
this.systemAppearanceChanged(this.getRootView_(), value)
|
|
1117
|
+
}
|
|
1118
|
+
this.notify(
|
|
1119
|
+
jsObjectOf(
|
|
1120
|
+
"eventName" to this.systemAppearanceChangedEvent,
|
|
1121
|
+
"android" to this.android,
|
|
1122
|
+
"ios" to this.ios,
|
|
1123
|
+
"newValue" to value,
|
|
1124
|
+
"object" to this,
|
|
1125
|
+
)
|
|
1126
|
+
)
|
|
1127
|
+
}
|
|
1128
|
+
|
|
1129
|
+
open fun setSystemAppearance(value: String?) {
|
|
1130
|
+
if (this._systemAppearance == value) {
|
|
1131
|
+
return
|
|
1132
|
+
}
|
|
1133
|
+
this._systemAppearance = value
|
|
1134
|
+
if (this.autoSystemAppearanceChanged) {
|
|
1135
|
+
this.systemAppearanceChanged(this.getRootView_(), value)
|
|
1136
|
+
}
|
|
1137
|
+
this.notify(
|
|
1138
|
+
jsObjectOf(
|
|
1139
|
+
"eventName" to this.systemAppearanceChangedEvent,
|
|
1140
|
+
"android" to this.android,
|
|
1141
|
+
"ios" to this.ios,
|
|
1142
|
+
"newValue" to value,
|
|
1143
|
+
"object" to this,
|
|
1144
|
+
)
|
|
1145
|
+
)
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
/**
|
|
1149
|
+
* @deprecated Use Application.primaryWindow?.systemAppearance() - or the NativeWindow of the
|
|
1150
|
+
* relevant view - instead. Continues to reflect the primary window.
|
|
1151
|
+
*/
|
|
1152
|
+
open fun systemAppearance(): String? {
|
|
1153
|
+
return (this.primaryWindow?.systemAppearance()
|
|
1154
|
+
?: (kotlin.run {
|
|
1155
|
+
if (jsIsNullish(this._systemAppearance))
|
|
1156
|
+
this._systemAppearance = this.getSystemAppearance()
|
|
1157
|
+
this._systemAppearance
|
|
1158
|
+
}))
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
/** enable/disable systemAppearanceChanged */
|
|
1162
|
+
open fun setAutoSystemAppearanceChanged_(value: Boolean) {
|
|
1163
|
+
Core_application_helpers_common.setAutoSystemAppearanceChanged(value)
|
|
1164
|
+
}
|
|
1165
|
+
|
|
1166
|
+
/**
|
|
1167
|
+
* Updates root view classes including those of modals
|
|
1168
|
+
*
|
|
1169
|
+
* @param rootView the root view
|
|
1170
|
+
* @param newSystemAppearance the new appearance change
|
|
1171
|
+
*/
|
|
1172
|
+
open fun systemAppearanceChanged(rootView: View?, newSystemAppearance: String?) {
|
|
1173
|
+
if (!jsTruthy(rootView)) {
|
|
1174
|
+
return
|
|
1175
|
+
}
|
|
1176
|
+
val newSystemAppearanceCssClass: String =
|
|
1177
|
+
"${org.nativescript.kit.CSSUtils.CLASS_PREFIX}${jsToString((newSystemAppearance ?: "undefined"))}"
|
|
1178
|
+
this.applyWindowScopedCssClass(
|
|
1179
|
+
rootView,
|
|
1180
|
+
Core_application_application_common.SYSTEM_APPEARANCE_CSS_CLASSES,
|
|
1181
|
+
newSystemAppearanceCssClass,
|
|
1182
|
+
)
|
|
1183
|
+
(this.getOwnedModalViews(rootView) ?: jsObjectRequired()).forEach({
|
|
1184
|
+
rootModalView: View? ->
|
|
1185
|
+
this.applyWindowScopedCssClass(
|
|
1186
|
+
rootModalView,
|
|
1187
|
+
Core_application_application_common.SYSTEM_APPEARANCE_CSS_CLASSES,
|
|
1188
|
+
newSystemAppearanceCssClass,
|
|
1189
|
+
)
|
|
1190
|
+
(rootModalView ?: jsCannotRead("_onCssStateChange"))._onCssStateChange()
|
|
1191
|
+
})
|
|
1192
|
+
(rootView ?: jsCannotRead("_onCssStateChange"))._onCssStateChange()
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
fun getLayoutDirection__ApplicationCommon(): String {
|
|
1196
|
+
throw JSException(JSError("getLayoutDirection() not implemented"))
|
|
1197
|
+
}
|
|
1198
|
+
|
|
1199
|
+
open fun getLayoutDirection(): String {
|
|
1200
|
+
throw JSException(JSError("getLayoutDirection() not implemented"))
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
open fun setLayoutDirection(value: String?) {
|
|
1204
|
+
if (this._layoutDirection == value) {
|
|
1205
|
+
return
|
|
1206
|
+
}
|
|
1207
|
+
this._layoutDirection = value
|
|
1208
|
+
this.layoutDirectionChanged(this.getRootView_(), value)
|
|
1209
|
+
this.notify(
|
|
1210
|
+
jsObjectOf(
|
|
1211
|
+
"eventName" to this.layoutDirectionChangedEvent,
|
|
1212
|
+
"android" to this.android,
|
|
1213
|
+
"ios" to this.ios,
|
|
1214
|
+
"newValue" to value,
|
|
1215
|
+
"object" to this,
|
|
1216
|
+
)
|
|
1217
|
+
)
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
/**
|
|
1221
|
+
* @deprecated Use Application.primaryWindow?.layoutDirection() - or the NativeWindow of the
|
|
1222
|
+
* relevant view - instead. Continues to reflect the primary window.
|
|
1223
|
+
*/
|
|
1224
|
+
open fun layoutDirection(): String {
|
|
1225
|
+
return jsConvertedStringOrEmpty(
|
|
1226
|
+
(this.primaryWindow?.layoutDirection()
|
|
1227
|
+
?: (kotlin.run {
|
|
1228
|
+
if (jsIsNullish(this._layoutDirection))
|
|
1229
|
+
this._layoutDirection = this.getLayoutDirection()
|
|
1230
|
+
this._layoutDirection
|
|
1231
|
+
}))
|
|
1232
|
+
)
|
|
1233
|
+
}
|
|
1234
|
+
|
|
1235
|
+
/**
|
|
1236
|
+
* Updates root view classes including those of modals
|
|
1237
|
+
*
|
|
1238
|
+
* @param rootView the root view
|
|
1239
|
+
* @param newLayoutDirection the new layout direction change
|
|
1240
|
+
*/
|
|
1241
|
+
open fun layoutDirectionChanged(rootView: View?, newLayoutDirection: String?) {
|
|
1242
|
+
if (!jsTruthy(rootView)) {
|
|
1243
|
+
return
|
|
1244
|
+
}
|
|
1245
|
+
val newLayoutDirectionCssClass: String =
|
|
1246
|
+
"${org.nativescript.kit.CSSUtils.CLASS_PREFIX}${jsToString((newLayoutDirection ?: "undefined"))}"
|
|
1247
|
+
this.applyWindowScopedCssClass(
|
|
1248
|
+
rootView,
|
|
1249
|
+
Core_application_application_common.LAYOUT_DIRECTION_CSS_CLASSES,
|
|
1250
|
+
newLayoutDirectionCssClass,
|
|
1251
|
+
)
|
|
1252
|
+
(this.getOwnedModalViews(rootView) ?: jsObjectRequired()).forEach({
|
|
1253
|
+
rootModalView: View? ->
|
|
1254
|
+
this.applyWindowScopedCssClass(
|
|
1255
|
+
rootModalView,
|
|
1256
|
+
Core_application_application_common.LAYOUT_DIRECTION_CSS_CLASSES,
|
|
1257
|
+
newLayoutDirectionCssClass,
|
|
1258
|
+
)
|
|
1259
|
+
(rootModalView ?: jsCannotRead("_onCssStateChange"))._onCssStateChange()
|
|
1260
|
+
})
|
|
1261
|
+
(rootView ?: jsCannotRead("_onCssStateChange"))._onCssStateChange()
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
open fun setInBackground_(value: Boolean, additonalData: Any? = null) {
|
|
1265
|
+
Core_application_helpers_common.setAppInBackground(value)
|
|
1266
|
+
this.notify(
|
|
1267
|
+
kotlin.run {
|
|
1268
|
+
val __o_1 = JSObject()
|
|
1269
|
+
__o_1["eventName"] = (if (value) this.backgroundEvent else this.foregroundEvent)
|
|
1270
|
+
__o_1["object"] = this
|
|
1271
|
+
__o_1["ios"] = this.ios
|
|
1272
|
+
jsObjectSpread(__o_1, additonalData)
|
|
1273
|
+
__o_1
|
|
1274
|
+
}
|
|
1275
|
+
)
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
open fun setSuspended_(value: Boolean, additonalData: Any? = null) {
|
|
1279
|
+
this._suspended = value
|
|
1280
|
+
this.notify(
|
|
1281
|
+
kotlin.run {
|
|
1282
|
+
val __o_1 = JSObject()
|
|
1283
|
+
__o_1["eventName"] = (if (value) this.suspendEvent else this.resumeEvent)
|
|
1284
|
+
__o_1["object"] = this
|
|
1285
|
+
__o_1["ios"] = this.ios
|
|
1286
|
+
__o_1["android"] = this.android
|
|
1287
|
+
jsObjectSpread(__o_1, additonalData)
|
|
1288
|
+
__o_1
|
|
1289
|
+
}
|
|
1290
|
+
)
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
override var jsExpando: JSObject? = null
|
|
1294
|
+
override val jsDeclaredKeys: List<String>
|
|
1295
|
+
get() =
|
|
1296
|
+
listOf("launchEvent") +
|
|
1297
|
+
listOf("readyEvent") +
|
|
1298
|
+
listOf("suspendEvent") +
|
|
1299
|
+
listOf("displayedEvent") +
|
|
1300
|
+
listOf("backgroundEvent") +
|
|
1301
|
+
listOf("foregroundEvent") +
|
|
1302
|
+
listOf("resumeEvent") +
|
|
1303
|
+
listOf("exitEvent") +
|
|
1304
|
+
listOf("lowMemoryEvent") +
|
|
1305
|
+
listOf("uncaughtErrorEvent") +
|
|
1306
|
+
listOf("discardedErrorEvent") +
|
|
1307
|
+
listOf("orientationChangedEvent") +
|
|
1308
|
+
listOf("systemAppearanceChangedEvent") +
|
|
1309
|
+
listOf("layoutDirectionChangedEvent") +
|
|
1310
|
+
listOf("fontScaleChangedEvent") +
|
|
1311
|
+
listOf("livesyncEvent") +
|
|
1312
|
+
listOf("loadAppCssEvent") +
|
|
1313
|
+
listOf("cssChangedEvent") +
|
|
1314
|
+
listOf("initRootViewEvent") +
|
|
1315
|
+
listOf("windowOpenEvent") +
|
|
1316
|
+
listOf("windowCloseEvent") +
|
|
1317
|
+
listOf("primaryWindowChangedEvent") +
|
|
1318
|
+
listOf("on") +
|
|
1319
|
+
listOf("once") +
|
|
1320
|
+
listOf("off") +
|
|
1321
|
+
listOf("notify") +
|
|
1322
|
+
listOf("hasListeners") +
|
|
1323
|
+
listOf("_inBackground") +
|
|
1324
|
+
listOf("_suspended") +
|
|
1325
|
+
listOf("_cssFile") +
|
|
1326
|
+
listOf("_readyNotified") +
|
|
1327
|
+
listOf("_appCssLoaded") +
|
|
1328
|
+
listOf("_launchBridgeConsumed") +
|
|
1329
|
+
(if (_windowContentResolver == null) listOf()
|
|
1330
|
+
else listOf("_windowContentResolver")) +
|
|
1331
|
+
listOf("started") +
|
|
1332
|
+
(if (_windows == null) listOf() else listOf("_windows")) +
|
|
1333
|
+
(if (_traitsWindow == null) listOf() else listOf("_traitsWindow")) +
|
|
1334
|
+
(if ((jsMadeBits0 and (1L shl 0)) != 0L) listOf("_orientation") else listOf()) +
|
|
1335
|
+
(if ((jsMadeBits0 and (1L shl 1)) != 0L) listOf("_systemAppearance")
|
|
1336
|
+
else listOf()) +
|
|
1337
|
+
(if ((jsMadeBits0 and (1L shl 2)) != 0L) listOf("_layoutDirection") else listOf()) +
|
|
1338
|
+
(if ((jsMadeBits0 and (1L shl 3)) != 0L) listOf("mainEntry") else listOf())
|
|
1339
|
+
|
|
1340
|
+
override val jsKeys: List<String>
|
|
1341
|
+
get() = jsMadeKeys(jsMade, jsDeclaredKeys + (jsExpando?.jsKeys ?: listOf()))
|
|
1342
|
+
|
|
1343
|
+
override val jsClassName: String?
|
|
1344
|
+
get() = "ApplicationCommon"
|
|
1345
|
+
|
|
1346
|
+
override fun jsGet(key: String): Any? =
|
|
1347
|
+
when (key) {
|
|
1348
|
+
"launchEvent" -> this.launchEvent
|
|
1349
|
+
"readyEvent" -> this.readyEvent
|
|
1350
|
+
"suspendEvent" -> this.suspendEvent
|
|
1351
|
+
"displayedEvent" -> this.displayedEvent
|
|
1352
|
+
"backgroundEvent" -> this.backgroundEvent
|
|
1353
|
+
"foregroundEvent" -> this.foregroundEvent
|
|
1354
|
+
"resumeEvent" -> this.resumeEvent
|
|
1355
|
+
"exitEvent" -> this.exitEvent
|
|
1356
|
+
"lowMemoryEvent" -> this.lowMemoryEvent
|
|
1357
|
+
"uncaughtErrorEvent" -> this.uncaughtErrorEvent
|
|
1358
|
+
"discardedErrorEvent" -> this.discardedErrorEvent
|
|
1359
|
+
"orientationChangedEvent" -> this.orientationChangedEvent
|
|
1360
|
+
"systemAppearanceChangedEvent" -> this.systemAppearanceChangedEvent
|
|
1361
|
+
"layoutDirectionChangedEvent" -> this.layoutDirectionChangedEvent
|
|
1362
|
+
"fontScaleChangedEvent" -> this.fontScaleChangedEvent
|
|
1363
|
+
"livesyncEvent" -> this.livesyncEvent
|
|
1364
|
+
"loadAppCssEvent" -> this.loadAppCssEvent
|
|
1365
|
+
"cssChangedEvent" -> this.cssChangedEvent
|
|
1366
|
+
"initRootViewEvent" -> this.initRootViewEvent
|
|
1367
|
+
"windowOpenEvent" -> this.windowOpenEvent
|
|
1368
|
+
"windowCloseEvent" -> this.windowCloseEvent
|
|
1369
|
+
"primaryWindowChangedEvent" -> this.primaryWindowChangedEvent
|
|
1370
|
+
"on" -> this.on
|
|
1371
|
+
"once" -> this.once
|
|
1372
|
+
"off" -> this.off
|
|
1373
|
+
"notify" -> this.notify
|
|
1374
|
+
"hasListeners" -> this.hasListeners
|
|
1375
|
+
"_orientation" -> if ((jsMadeBits0 and (1L shl 0)) != 0L) this._orientation else null
|
|
1376
|
+
"_systemAppearance" ->
|
|
1377
|
+
if ((jsMadeBits0 and (1L shl 1)) != 0L) this._systemAppearance else null
|
|
1378
|
+
"_layoutDirection" ->
|
|
1379
|
+
if ((jsMadeBits0 and (1L shl 2)) != 0L) this._layoutDirection else null
|
|
1380
|
+
"_inBackground" -> this._inBackground
|
|
1381
|
+
"_suspended" -> this._suspended
|
|
1382
|
+
"_cssFile" -> this._cssFile
|
|
1383
|
+
"_readyNotified" -> this._readyNotified
|
|
1384
|
+
"_appCssLoaded" -> this._appCssLoaded
|
|
1385
|
+
"_launchBridgeConsumed" -> this._launchBridgeConsumed
|
|
1386
|
+
"_windowContentResolver" -> this._windowContentResolver
|
|
1387
|
+
"mainEntry" -> if ((jsMadeBits0 and (1L shl 3)) != 0L) this.mainEntry else null
|
|
1388
|
+
"started" -> this.started
|
|
1389
|
+
"_windows" -> this._windows
|
|
1390
|
+
"_traitsWindow" -> this._traitsWindow
|
|
1391
|
+
"autoSystemAppearanceChanged" -> this.autoSystemAppearanceChanged
|
|
1392
|
+
"primaryWindow" -> this.primaryWindow
|
|
1393
|
+
"activeWindow" -> this.activeWindow
|
|
1394
|
+
"inBackground" -> this.inBackground
|
|
1395
|
+
"suspended" -> this.suspended
|
|
1396
|
+
"android" -> this.android
|
|
1397
|
+
"ios" -> this.ios
|
|
1398
|
+
"AndroidApplication" -> this.AndroidApplication
|
|
1399
|
+
"iOSApplication" -> this.iOSApplication
|
|
1400
|
+
"livesync" ->
|
|
1401
|
+
jsFunction { __a ->
|
|
1402
|
+
this.livesync(jsCast(__a.getOrNull(0), View::class.java), __a.getOrNull(1))
|
|
1403
|
+
null
|
|
1404
|
+
}
|
|
1405
|
+
"applyCssClass" ->
|
|
1406
|
+
jsFunction { __a ->
|
|
1407
|
+
this.applyCssClass(
|
|
1408
|
+
jsCast(__a.getOrNull(0), View::class.java),
|
|
1409
|
+
(if (jsIsNullish(__a.getOrNull(1))) null
|
|
1410
|
+
else jsArrayFrom(__a.getOrNull(1)) { jsConvertedString(it) }),
|
|
1411
|
+
jsConvertedStringOrNull(__a.getOrNull(2)),
|
|
1412
|
+
jsConvertedBooleanOrFalse(__a.getOrNull(3)),
|
|
1413
|
+
)
|
|
1414
|
+
null
|
|
1415
|
+
}
|
|
1416
|
+
"addCssClass" ->
|
|
1417
|
+
jsFunction { __a ->
|
|
1418
|
+
this.addCssClass(
|
|
1419
|
+
jsCast(__a.getOrNull(0), View::class.java),
|
|
1420
|
+
jsConvertedStringOrNull(__a.getOrNull(1)),
|
|
1421
|
+
)
|
|
1422
|
+
null
|
|
1423
|
+
}
|
|
1424
|
+
"removeCssClass" ->
|
|
1425
|
+
jsFunction { __a ->
|
|
1426
|
+
this.removeCssClass(
|
|
1427
|
+
jsCast(__a.getOrNull(0), View::class.java),
|
|
1428
|
+
jsConvertedStringOrNull(__a.getOrNull(1)),
|
|
1429
|
+
)
|
|
1430
|
+
null
|
|
1431
|
+
}
|
|
1432
|
+
"applyWindowScopedCssClass" ->
|
|
1433
|
+
jsFunction { __a ->
|
|
1434
|
+
this.applyWindowScopedCssClass(
|
|
1435
|
+
jsCast(__a.getOrNull(0), View::class.java),
|
|
1436
|
+
(if (jsIsNullish(__a.getOrNull(1))) null
|
|
1437
|
+
else jsArrayFrom(__a.getOrNull(1)) { jsConvertedString(it) }),
|
|
1438
|
+
jsConvertedStringOrNull(__a.getOrNull(2)),
|
|
1439
|
+
)
|
|
1440
|
+
null
|
|
1441
|
+
}
|
|
1442
|
+
"getOwnedModalViews" ->
|
|
1443
|
+
jsFunction { __a ->
|
|
1444
|
+
this.getOwnedModalViews(jsCast(__a.getOrNull(0), View::class.java))
|
|
1445
|
+
}
|
|
1446
|
+
"increaseStyleScopeApplicationCssSelectorVersion" ->
|
|
1447
|
+
jsFunction { __a ->
|
|
1448
|
+
this.increaseStyleScopeApplicationCssSelectorVersion(
|
|
1449
|
+
jsCast(__a.getOrNull(0), View::class.java)
|
|
1450
|
+
)
|
|
1451
|
+
null
|
|
1452
|
+
}
|
|
1453
|
+
"setRootViewCSSClasses" ->
|
|
1454
|
+
jsFunction { __a ->
|
|
1455
|
+
this.setRootViewCSSClasses(
|
|
1456
|
+
jsCast(__a.getOrNull(0), View::class.java),
|
|
1457
|
+
jsCast(__a.getOrNull(1), NativeWindow::class.java),
|
|
1458
|
+
)
|
|
1459
|
+
null
|
|
1460
|
+
}
|
|
1461
|
+
"setMaxRefreshRate" ->
|
|
1462
|
+
jsFunction { __a ->
|
|
1463
|
+
this.setMaxRefreshRate(__a.getOrNull(0))
|
|
1464
|
+
null
|
|
1465
|
+
}
|
|
1466
|
+
"getMainEntry" -> jsFunction { this.getMainEntry_() }
|
|
1467
|
+
"setWindowContentResolver" ->
|
|
1468
|
+
jsFunction { __a ->
|
|
1469
|
+
this.setWindowContentResolver(
|
|
1470
|
+
jsUnlessNullish(__a.getOrNull(0)) { jsFunction1<Any?, Any?>(it) }
|
|
1471
|
+
)
|
|
1472
|
+
null
|
|
1473
|
+
}
|
|
1474
|
+
"getWindowContentResolver" -> jsFunction { this.getWindowContentResolver() }
|
|
1475
|
+
"getWindows" -> jsFunction { __a -> this.getWindows(__a.getOrNull(0)) }
|
|
1476
|
+
"getWindowById" ->
|
|
1477
|
+
jsFunction { __a -> this.getWindowById(jsConvertedStringOrNull(__a.getOrNull(0))) }
|
|
1478
|
+
"openWindow" ->
|
|
1479
|
+
jsFunction { __a ->
|
|
1480
|
+
this.openWindow(__a.getOrNull(0))
|
|
1481
|
+
null
|
|
1482
|
+
}
|
|
1483
|
+
"_getWindows" -> jsFunction { this._getWindows() }
|
|
1484
|
+
"_registerWindow" ->
|
|
1485
|
+
jsFunction { __a ->
|
|
1486
|
+
this._registerWindow(jsCast(__a.getOrNull(0), NativeWindow::class.java))
|
|
1487
|
+
null
|
|
1488
|
+
}
|
|
1489
|
+
"_retireDiscardedWindows" ->
|
|
1490
|
+
jsFunction { __a ->
|
|
1491
|
+
this._retireDiscardedWindows(
|
|
1492
|
+
(if (jsIsNullish(__a.getOrNull(0))) null
|
|
1493
|
+
else jsArrayFrom(__a.getOrNull(0)) { jsConvertedString(it) })
|
|
1494
|
+
)
|
|
1495
|
+
null
|
|
1496
|
+
}
|
|
1497
|
+
"_unregisterWindow" ->
|
|
1498
|
+
jsFunction { __a ->
|
|
1499
|
+
this._unregisterWindow(jsCast(__a.getOrNull(0), NativeWindow::class.java))
|
|
1500
|
+
null
|
|
1501
|
+
}
|
|
1502
|
+
"_onWindowRegistered" ->
|
|
1503
|
+
jsFunction { __a ->
|
|
1504
|
+
this._onWindowRegistered(jsCast(__a.getOrNull(0), NativeWindow::class.java))
|
|
1505
|
+
null
|
|
1506
|
+
}
|
|
1507
|
+
"_onPrimaryWindowPromoted" ->
|
|
1508
|
+
jsFunction { __a ->
|
|
1509
|
+
this._onPrimaryWindowPromoted(
|
|
1510
|
+
jsCast(__a.getOrNull(0), NativeWindow::class.java)
|
|
1511
|
+
)
|
|
1512
|
+
null
|
|
1513
|
+
}
|
|
1514
|
+
"trackPrimaryWindowTraits" ->
|
|
1515
|
+
jsFunction { __a ->
|
|
1516
|
+
this.trackPrimaryWindowTraits(
|
|
1517
|
+
jsCast(__a.getOrNull(0), NativeWindow::class.java)
|
|
1518
|
+
)
|
|
1519
|
+
null
|
|
1520
|
+
}
|
|
1521
|
+
"syncTraitsFromWindow" ->
|
|
1522
|
+
jsFunction { __a ->
|
|
1523
|
+
this.syncTraitsFromWindow(jsCast(__a.getOrNull(0), NativeWindow::class.java))
|
|
1524
|
+
null
|
|
1525
|
+
}
|
|
1526
|
+
"onWindowActivated" ->
|
|
1527
|
+
jsFunction { __a ->
|
|
1528
|
+
this.onWindowActivated(__a.getOrNull(0))
|
|
1529
|
+
null
|
|
1530
|
+
}
|
|
1531
|
+
"onWindowOrientationChanged" ->
|
|
1532
|
+
jsFunction { __a ->
|
|
1533
|
+
this.onWindowOrientationChanged(__a.getOrNull(0))
|
|
1534
|
+
null
|
|
1535
|
+
}
|
|
1536
|
+
"onWindowSystemAppearanceChanged" ->
|
|
1537
|
+
jsFunction { __a ->
|
|
1538
|
+
this.onWindowSystemAppearanceChanged(__a.getOrNull(0))
|
|
1539
|
+
null
|
|
1540
|
+
}
|
|
1541
|
+
"onWindowLayoutDirectionChanged" ->
|
|
1542
|
+
jsFunction { __a ->
|
|
1543
|
+
this.onWindowLayoutDirectionChanged(__a.getOrNull(0))
|
|
1544
|
+
null
|
|
1545
|
+
}
|
|
1546
|
+
"notifyReady" ->
|
|
1547
|
+
jsFunction {
|
|
1548
|
+
this.notifyReady()
|
|
1549
|
+
null
|
|
1550
|
+
}
|
|
1551
|
+
"_resolveWindowContent" ->
|
|
1552
|
+
jsFunction { __a ->
|
|
1553
|
+
this._resolveWindowContent(
|
|
1554
|
+
jsCast(__a.getOrNull(0), NativeWindow::class.java),
|
|
1555
|
+
__a.getOrNull(1),
|
|
1556
|
+
__a.getOrNull(2),
|
|
1557
|
+
)
|
|
1558
|
+
}
|
|
1559
|
+
"resolveWindowContent" ->
|
|
1560
|
+
jsFunction { __a -> this.resolveWindowContent(__a.getOrNull(0), __a.getOrNull(1)) }
|
|
1561
|
+
"buildContentView" -> jsFunction { __a -> this.buildContentView(__a.getOrNull(0)) }
|
|
1562
|
+
"_ensureAppCssLoaded" ->
|
|
1563
|
+
jsFunction {
|
|
1564
|
+
this._ensureAppCssLoaded()
|
|
1565
|
+
null
|
|
1566
|
+
}
|
|
1567
|
+
"notifyLaunch" -> jsFunction { __a -> this.notifyLaunch(__a.getOrNull(0)) }
|
|
1568
|
+
"createRootView" ->
|
|
1569
|
+
jsFunction { __a ->
|
|
1570
|
+
this.createRootView(
|
|
1571
|
+
jsCast(__a.getOrNull(0), View::class.java),
|
|
1572
|
+
jsConvertedBooleanOrFalse(__a.getOrNull(1)),
|
|
1573
|
+
__a.getOrNull(2),
|
|
1574
|
+
)
|
|
1575
|
+
}
|
|
1576
|
+
"getRootView" -> jsFunction { this.getRootView_() }
|
|
1577
|
+
"resetRootView" ->
|
|
1578
|
+
jsFunction { __a ->
|
|
1579
|
+
this.resetRootView(__a.getOrNull(0))
|
|
1580
|
+
null
|
|
1581
|
+
}
|
|
1582
|
+
"initRootView" ->
|
|
1583
|
+
jsFunction { __a ->
|
|
1584
|
+
this.initRootView(
|
|
1585
|
+
jsCast(__a.getOrNull(0), View::class.java),
|
|
1586
|
+
jsCast(__a.getOrNull(1), NativeWindow::class.java),
|
|
1587
|
+
)
|
|
1588
|
+
null
|
|
1589
|
+
}
|
|
1590
|
+
"getResources" -> jsFunction { this.getResources() }
|
|
1591
|
+
"setResources" ->
|
|
1592
|
+
jsFunction { __a ->
|
|
1593
|
+
this.setResources(__a.getOrNull(0))
|
|
1594
|
+
null
|
|
1595
|
+
}
|
|
1596
|
+
"setCssFileName" ->
|
|
1597
|
+
jsFunction { __a ->
|
|
1598
|
+
this.setCssFileName(jsConvertedStringOrNull(__a.getOrNull(0)))
|
|
1599
|
+
null
|
|
1600
|
+
}
|
|
1601
|
+
"getCssFileName" -> jsFunction { this.getCssFileName() }
|
|
1602
|
+
"loadAppCss" ->
|
|
1603
|
+
jsFunction {
|
|
1604
|
+
this.loadAppCss()
|
|
1605
|
+
null
|
|
1606
|
+
}
|
|
1607
|
+
"addCss" ->
|
|
1608
|
+
jsFunction { __a ->
|
|
1609
|
+
this.addCss(
|
|
1610
|
+
jsConvertedStringOrNull(__a.getOrNull(0)),
|
|
1611
|
+
jsConvertedBooleanOrNull(__a.getOrNull(1)),
|
|
1612
|
+
)
|
|
1613
|
+
null
|
|
1614
|
+
}
|
|
1615
|
+
"run" ->
|
|
1616
|
+
jsFunction { __a ->
|
|
1617
|
+
this.run(__a.getOrNull(0))
|
|
1618
|
+
null
|
|
1619
|
+
}
|
|
1620
|
+
"getOrientation" -> jsFunction { this.getOrientation_() }
|
|
1621
|
+
"setOrientation" ->
|
|
1622
|
+
jsFunction { __a ->
|
|
1623
|
+
this.setOrientation_(jsConvertedStringOrNull(__a.getOrNull(0)))
|
|
1624
|
+
null
|
|
1625
|
+
}
|
|
1626
|
+
"orientation" -> jsFunction { this.orientation() }
|
|
1627
|
+
"orientationChanged" ->
|
|
1628
|
+
jsFunction { __a ->
|
|
1629
|
+
this.orientationChanged(
|
|
1630
|
+
jsCast(__a.getOrNull(0), View::class.java),
|
|
1631
|
+
jsConvertedStringOrNull(__a.getOrNull(1)),
|
|
1632
|
+
)
|
|
1633
|
+
null
|
|
1634
|
+
}
|
|
1635
|
+
"getNativeApplication" -> jsFunction { this.getNativeApplication() }
|
|
1636
|
+
"hasLaunched" -> jsFunction { this.hasLaunched() }
|
|
1637
|
+
"getSystemAppearance" -> jsFunction { this.getSystemAppearance() }
|
|
1638
|
+
"setSystemAppearance" ->
|
|
1639
|
+
jsFunction { __a ->
|
|
1640
|
+
this.setSystemAppearance(jsConvertedStringOrNull(__a.getOrNull(0)))
|
|
1641
|
+
null
|
|
1642
|
+
}
|
|
1643
|
+
"systemAppearance" -> jsFunction { this.systemAppearance() }
|
|
1644
|
+
"setAutoSystemAppearanceChanged" ->
|
|
1645
|
+
jsFunction { __a ->
|
|
1646
|
+
this.setAutoSystemAppearanceChanged_(
|
|
1647
|
+
jsConvertedBooleanOrFalse(__a.getOrNull(0))
|
|
1648
|
+
)
|
|
1649
|
+
null
|
|
1650
|
+
}
|
|
1651
|
+
"systemAppearanceChanged" ->
|
|
1652
|
+
jsFunction { __a ->
|
|
1653
|
+
this.systemAppearanceChanged(
|
|
1654
|
+
jsCast(__a.getOrNull(0), View::class.java),
|
|
1655
|
+
jsConvertedStringOrNull(__a.getOrNull(1)),
|
|
1656
|
+
)
|
|
1657
|
+
null
|
|
1658
|
+
}
|
|
1659
|
+
"getLayoutDirection" -> jsFunction { this.getLayoutDirection() }
|
|
1660
|
+
"setLayoutDirection" ->
|
|
1661
|
+
jsFunction { __a ->
|
|
1662
|
+
this.setLayoutDirection(jsConvertedStringOrNull(__a.getOrNull(0)))
|
|
1663
|
+
null
|
|
1664
|
+
}
|
|
1665
|
+
"layoutDirection" -> jsFunction { this.layoutDirection() }
|
|
1666
|
+
"layoutDirectionChanged" ->
|
|
1667
|
+
jsFunction { __a ->
|
|
1668
|
+
this.layoutDirectionChanged(
|
|
1669
|
+
jsCast(__a.getOrNull(0), View::class.java),
|
|
1670
|
+
jsConvertedStringOrNull(__a.getOrNull(1)),
|
|
1671
|
+
)
|
|
1672
|
+
null
|
|
1673
|
+
}
|
|
1674
|
+
"setInBackground" ->
|
|
1675
|
+
jsFunction { __a ->
|
|
1676
|
+
this.setInBackground_(
|
|
1677
|
+
jsConvertedBooleanOrFalse(__a.getOrNull(0)),
|
|
1678
|
+
__a.getOrNull(1),
|
|
1679
|
+
)
|
|
1680
|
+
null
|
|
1681
|
+
}
|
|
1682
|
+
"setSuspended" ->
|
|
1683
|
+
jsFunction { __a ->
|
|
1684
|
+
this.setSuspended_(
|
|
1685
|
+
jsConvertedBooleanOrFalse(__a.getOrNull(0)),
|
|
1686
|
+
__a.getOrNull(1),
|
|
1687
|
+
)
|
|
1688
|
+
null
|
|
1689
|
+
}
|
|
1690
|
+
else -> jsExpandoGet(this, key)
|
|
1691
|
+
}
|
|
1692
|
+
|
|
1693
|
+
override fun jsSet(key: String, value: Any?) {
|
|
1694
|
+
when (key) {
|
|
1695
|
+
"launchEvent" -> this.launchEvent = jsConvertedString(value, "launchEvent")
|
|
1696
|
+
"readyEvent" -> this.readyEvent = jsConvertedString(value, "readyEvent")
|
|
1697
|
+
"suspendEvent" -> this.suspendEvent = jsConvertedString(value, "suspendEvent")
|
|
1698
|
+
"displayedEvent" -> this.displayedEvent = jsConvertedString(value, "displayedEvent")
|
|
1699
|
+
"backgroundEvent" -> this.backgroundEvent = jsConvertedString(value, "backgroundEvent")
|
|
1700
|
+
"foregroundEvent" -> this.foregroundEvent = jsConvertedString(value, "foregroundEvent")
|
|
1701
|
+
"resumeEvent" -> this.resumeEvent = jsConvertedString(value, "resumeEvent")
|
|
1702
|
+
"exitEvent" -> this.exitEvent = jsConvertedString(value, "exitEvent")
|
|
1703
|
+
"lowMemoryEvent" -> this.lowMemoryEvent = jsConvertedString(value, "lowMemoryEvent")
|
|
1704
|
+
"uncaughtErrorEvent" ->
|
|
1705
|
+
this.uncaughtErrorEvent = jsConvertedString(value, "uncaughtErrorEvent")
|
|
1706
|
+
"discardedErrorEvent" ->
|
|
1707
|
+
this.discardedErrorEvent = jsConvertedString(value, "discardedErrorEvent")
|
|
1708
|
+
"orientationChangedEvent" ->
|
|
1709
|
+
this.orientationChangedEvent = jsConvertedString(value, "orientationChangedEvent")
|
|
1710
|
+
"systemAppearanceChangedEvent" ->
|
|
1711
|
+
this.systemAppearanceChangedEvent =
|
|
1712
|
+
jsConvertedString(value, "systemAppearanceChangedEvent")
|
|
1713
|
+
"layoutDirectionChangedEvent" ->
|
|
1714
|
+
this.layoutDirectionChangedEvent =
|
|
1715
|
+
jsConvertedString(value, "layoutDirectionChangedEvent")
|
|
1716
|
+
"fontScaleChangedEvent" ->
|
|
1717
|
+
this.fontScaleChangedEvent = jsConvertedString(value, "fontScaleChangedEvent")
|
|
1718
|
+
"livesyncEvent" -> this.livesyncEvent = jsConvertedString(value, "livesyncEvent")
|
|
1719
|
+
"loadAppCssEvent" -> this.loadAppCssEvent = jsConvertedString(value, "loadAppCssEvent")
|
|
1720
|
+
"cssChangedEvent" -> this.cssChangedEvent = jsConvertedString(value, "cssChangedEvent")
|
|
1721
|
+
"initRootViewEvent" ->
|
|
1722
|
+
this.initRootViewEvent = jsConvertedString(value, "initRootViewEvent")
|
|
1723
|
+
"windowOpenEvent" -> this.windowOpenEvent = jsConvertedString(value, "windowOpenEvent")
|
|
1724
|
+
"windowCloseEvent" ->
|
|
1725
|
+
this.windowCloseEvent = jsConvertedString(value, "windowCloseEvent")
|
|
1726
|
+
"primaryWindowChangedEvent" ->
|
|
1727
|
+
this.primaryWindowChangedEvent =
|
|
1728
|
+
jsConvertedString(value, "primaryWindowChangedEvent")
|
|
1729
|
+
"on" -> this.on = jsFunction3<String, (Any?) -> Unit, Any?, Unit>(value)
|
|
1730
|
+
"once" -> this.once = jsFunction3<String, (Any?) -> Unit, Any?, Unit>(value)
|
|
1731
|
+
"off" -> this.off = jsFunction3<String, Any?, Any?, Unit>(value)
|
|
1732
|
+
"notify" -> this.notify = jsFunction1<Any?, Unit>(value)
|
|
1733
|
+
"hasListeners" -> this.hasListeners = jsFunction1<String, Boolean>(value)
|
|
1734
|
+
"_orientation" -> this._orientation = jsConvertedStringOrNull(value, "_orientation")
|
|
1735
|
+
"_systemAppearance" ->
|
|
1736
|
+
this._systemAppearance = jsConvertedStringOrNull(value, "_systemAppearance")
|
|
1737
|
+
"_layoutDirection" ->
|
|
1738
|
+
this._layoutDirection = jsConvertedStringOrNull(value, "_layoutDirection")
|
|
1739
|
+
"_inBackground" -> this._inBackground = jsConvertedBoolean(value, "_inBackground")
|
|
1740
|
+
"_suspended" -> this._suspended = jsConvertedBoolean(value, "_suspended")
|
|
1741
|
+
"_cssFile" -> this._cssFile = jsConvertedString(value, "_cssFile")
|
|
1742
|
+
"_readyNotified" -> this._readyNotified = jsConvertedBoolean(value, "_readyNotified")
|
|
1743
|
+
"_appCssLoaded" -> this._appCssLoaded = jsConvertedBoolean(value, "_appCssLoaded")
|
|
1744
|
+
"_launchBridgeConsumed" ->
|
|
1745
|
+
this._launchBridgeConsumed = jsConvertedBoolean(value, "_launchBridgeConsumed")
|
|
1746
|
+
"_windowContentResolver" ->
|
|
1747
|
+
this._windowContentResolver = jsUnlessNullish(value) { jsFunction1<Any?, Any?>(it) }
|
|
1748
|
+
"mainEntry" -> this.mainEntry = value
|
|
1749
|
+
"started" -> this.started = jsConvertedBoolean(value, "started")
|
|
1750
|
+
"_windows" ->
|
|
1751
|
+
this._windows =
|
|
1752
|
+
(if (jsIsNullish(value)) null
|
|
1753
|
+
else jsArrayFrom(value) { jsCastCarried(it, NativeWindow::class.java) })
|
|
1754
|
+
"_traitsWindow" -> this._traitsWindow = jsCast(value, NativeWindow::class.java)
|
|
1755
|
+
"autoSystemAppearanceChanged" -> this.autoSystemAppearanceChanged = jsTruthy(value)
|
|
1756
|
+
else -> jsExpandoSet(this, key, value)
|
|
1757
|
+
}
|
|
1758
|
+
}
|
|
1759
|
+
|
|
1760
|
+
override fun jsHasMember(key: String): Boolean =
|
|
1761
|
+
when (key) {
|
|
1762
|
+
"autoSystemAppearanceChanged",
|
|
1763
|
+
"primaryWindow",
|
|
1764
|
+
"activeWindow",
|
|
1765
|
+
"inBackground",
|
|
1766
|
+
"suspended",
|
|
1767
|
+
"android",
|
|
1768
|
+
"ios",
|
|
1769
|
+
"AndroidApplication",
|
|
1770
|
+
"iOSApplication",
|
|
1771
|
+
"livesync",
|
|
1772
|
+
"applyCssClass",
|
|
1773
|
+
"addCssClass",
|
|
1774
|
+
"removeCssClass",
|
|
1775
|
+
"applyWindowScopedCssClass",
|
|
1776
|
+
"getOwnedModalViews",
|
|
1777
|
+
"increaseStyleScopeApplicationCssSelectorVersion",
|
|
1778
|
+
"setRootViewCSSClasses",
|
|
1779
|
+
"setMaxRefreshRate",
|
|
1780
|
+
"getMainEntry",
|
|
1781
|
+
"setWindowContentResolver",
|
|
1782
|
+
"getWindowContentResolver",
|
|
1783
|
+
"getWindows",
|
|
1784
|
+
"getWindowById",
|
|
1785
|
+
"openWindow",
|
|
1786
|
+
"_getWindows",
|
|
1787
|
+
"_registerWindow",
|
|
1788
|
+
"_retireDiscardedWindows",
|
|
1789
|
+
"_unregisterWindow",
|
|
1790
|
+
"_onWindowRegistered",
|
|
1791
|
+
"_onPrimaryWindowPromoted",
|
|
1792
|
+
"trackPrimaryWindowTraits",
|
|
1793
|
+
"syncTraitsFromWindow",
|
|
1794
|
+
"onWindowActivated",
|
|
1795
|
+
"onWindowOrientationChanged",
|
|
1796
|
+
"onWindowSystemAppearanceChanged",
|
|
1797
|
+
"onWindowLayoutDirectionChanged",
|
|
1798
|
+
"notifyReady",
|
|
1799
|
+
"_resolveWindowContent",
|
|
1800
|
+
"resolveWindowContent",
|
|
1801
|
+
"buildContentView",
|
|
1802
|
+
"_ensureAppCssLoaded",
|
|
1803
|
+
"notifyLaunch",
|
|
1804
|
+
"createRootView",
|
|
1805
|
+
"getRootView",
|
|
1806
|
+
"resetRootView",
|
|
1807
|
+
"initRootView",
|
|
1808
|
+
"getResources",
|
|
1809
|
+
"setResources",
|
|
1810
|
+
"setCssFileName",
|
|
1811
|
+
"getCssFileName",
|
|
1812
|
+
"loadAppCss",
|
|
1813
|
+
"addCss",
|
|
1814
|
+
"run",
|
|
1815
|
+
"getOrientation",
|
|
1816
|
+
"setOrientation",
|
|
1817
|
+
"orientation",
|
|
1818
|
+
"orientationChanged",
|
|
1819
|
+
"getNativeApplication",
|
|
1820
|
+
"hasLaunched",
|
|
1821
|
+
"getSystemAppearance",
|
|
1822
|
+
"setSystemAppearance",
|
|
1823
|
+
"systemAppearance",
|
|
1824
|
+
"setAutoSystemAppearanceChanged",
|
|
1825
|
+
"systemAppearanceChanged",
|
|
1826
|
+
"getLayoutDirection",
|
|
1827
|
+
"setLayoutDirection",
|
|
1828
|
+
"layoutDirection",
|
|
1829
|
+
"layoutDirectionChanged",
|
|
1830
|
+
"setInBackground",
|
|
1831
|
+
"setSuspended" -> true
|
|
1832
|
+
else -> false
|
|
1833
|
+
}
|
|
1834
|
+
|
|
1835
|
+
companion object {
|
|
1836
|
+
var on: ((String, (Any?) -> Unit, Any?) -> Unit)? = null
|
|
1837
|
+
var once: ((String, (Any?) -> Unit, Any?) -> Unit)? = null
|
|
1838
|
+
var off: ((String, Any?, Any?) -> Unit)? = null
|
|
1839
|
+
var notify: ((Any?) -> Unit)? = null
|
|
1840
|
+
var hasListeners: ((String) -> Boolean)? = null
|
|
1841
|
+
}
|
|
1842
|
+
}
|
|
1843
|
+
|
|
1844
|
+
@UiThread
|
|
1845
|
+
object Core_application_application_common {
|
|
1846
|
+
@JvmField var ORIENTATION_CSS_CLASSES: JSArray<String>? = null
|
|
1847
|
+
@JvmField var SYSTEM_APPEARANCE_CSS_CLASSES: JSArray<String>? = null
|
|
1848
|
+
@JvmField var LAYOUT_DIRECTION_CSS_CLASSES: JSArray<String>? = null
|
|
1849
|
+
@JvmField var globalEvents: Any? = null
|
|
1850
|
+
@JvmField
|
|
1851
|
+
val SceneEvents: Object_sceneWillConnect_sceneDidActivate_sceneWillResignActive_s_7 =
|
|
1852
|
+
Object_sceneWillConnect_sceneDidActivate_sceneWillResignActive_s_7(
|
|
1853
|
+
sceneWillConnect = "sceneWillConnect",
|
|
1854
|
+
sceneDidActivate = "sceneDidActivate",
|
|
1855
|
+
sceneWillResignActive = "sceneWillResignActive",
|
|
1856
|
+
sceneWillEnterForeground = "sceneWillEnterForeground",
|
|
1857
|
+
sceneDidEnterBackground = "sceneDidEnterBackground",
|
|
1858
|
+
sceneDidDisconnect = "sceneDidDisconnect",
|
|
1859
|
+
sceneContentSetup = "sceneContentSetup",
|
|
1860
|
+
)
|
|
1861
|
+
|
|
1862
|
+
fun __init() {
|
|
1863
|
+
try {
|
|
1864
|
+
ORIENTATION_CSS_CLASSES =
|
|
1865
|
+
org.nativescript.kit.CSSUtils.ORIENTATION_CSS_CLASSES
|
|
1866
|
+
SYSTEM_APPEARANCE_CSS_CLASSES =
|
|
1867
|
+
org.nativescript.kit.CSSUtils.SYSTEM_APPEARANCE_CSS_CLASSES
|
|
1868
|
+
LAYOUT_DIRECTION_CSS_CLASSES =
|
|
1869
|
+
org.nativescript.kit.CSSUtils.LAYOUT_DIRECTION_CSS_CLASSES
|
|
1870
|
+
globalEvents =
|
|
1871
|
+
jsGet(Core_globals_global_utils.getNativeScriptGlobals(), "events")
|
|
1872
|
+
ApplicationCommon.on =
|
|
1873
|
+
jsFunction3<String, (Any?) -> Unit, Any?, Unit>(
|
|
1874
|
+
jsCallMethod(
|
|
1875
|
+
jsGet(Core_application_application_common.globalEvents, "on"),
|
|
1876
|
+
"bind",
|
|
1877
|
+
Core_application_application_common.globalEvents,
|
|
1878
|
+
)
|
|
1879
|
+
)
|
|
1880
|
+
ApplicationCommon.once =
|
|
1881
|
+
jsFunction3<String, (Any?) -> Unit, Any?, Unit>(
|
|
1882
|
+
jsCallMethod(
|
|
1883
|
+
jsGet(Core_application_application_common.globalEvents, "once"),
|
|
1884
|
+
"bind",
|
|
1885
|
+
Core_application_application_common.globalEvents,
|
|
1886
|
+
)
|
|
1887
|
+
)
|
|
1888
|
+
ApplicationCommon.off =
|
|
1889
|
+
jsFunction3<String, Any?, Any?, Unit>(
|
|
1890
|
+
jsCallMethod(
|
|
1891
|
+
jsGet(Core_application_application_common.globalEvents, "off"),
|
|
1892
|
+
"bind",
|
|
1893
|
+
Core_application_application_common.globalEvents,
|
|
1894
|
+
)
|
|
1895
|
+
)
|
|
1896
|
+
ApplicationCommon.notify =
|
|
1897
|
+
jsFunction1<Any?, Unit>(
|
|
1898
|
+
jsCallMethod(
|
|
1899
|
+
jsGet(Core_application_application_common.globalEvents, "notify"),
|
|
1900
|
+
"bind",
|
|
1901
|
+
Core_application_application_common.globalEvents,
|
|
1902
|
+
)
|
|
1903
|
+
)
|
|
1904
|
+
ApplicationCommon.hasListeners =
|
|
1905
|
+
jsFunction1<String, Boolean>(
|
|
1906
|
+
jsCallMethod(
|
|
1907
|
+
jsGet(Core_application_application_common.globalEvents, "hasListeners"),
|
|
1908
|
+
"bind",
|
|
1909
|
+
Core_application_application_common.globalEvents,
|
|
1910
|
+
)
|
|
1911
|
+
)
|
|
1912
|
+
Core_module_name_resolver_helpers.prepareAppForModuleResolver({
|
|
1913
|
+
(ApplicationCommon.on ?: jsNotAFunction("ApplicationCommon.on"))(
|
|
1914
|
+
"livesync",
|
|
1915
|
+
{ _: Any? ->
|
|
1916
|
+
Core_module_name_resolver_helpers.clearResolverCache()
|
|
1917
|
+
},
|
|
1918
|
+
null,
|
|
1919
|
+
)
|
|
1920
|
+
(ApplicationCommon.on ?: jsNotAFunction("ApplicationCommon.on"))(
|
|
1921
|
+
"orientationChanged",
|
|
1922
|
+
{ _: Any? ->
|
|
1923
|
+
Core_module_name_resolver_helpers._setResolver(null)
|
|
1924
|
+
},
|
|
1925
|
+
null,
|
|
1926
|
+
)
|
|
1927
|
+
})
|
|
1928
|
+
} catch (__e: Throwable) {
|
|
1929
|
+
jsReportThrown(__e)
|
|
1930
|
+
}
|
|
1931
|
+
}
|
|
1932
|
+
}
|