@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,2435 @@
|
|
|
1
|
+
// Generated from @nativescript/core by tools/kit: edit core, not this file.
|
|
2
|
+
|
|
3
|
+
import CFNetwork
|
|
4
|
+
import CoreFoundation
|
|
5
|
+
import CoreGraphics
|
|
6
|
+
import CoreServices
|
|
7
|
+
import CoreText
|
|
8
|
+
import Dispatch
|
|
9
|
+
import Foundation
|
|
10
|
+
import ObjectiveC
|
|
11
|
+
import Photos
|
|
12
|
+
import QuartzCore
|
|
13
|
+
import Symbols
|
|
14
|
+
import SystemConfiguration
|
|
15
|
+
import UIKit
|
|
16
|
+
import WebKit
|
|
17
|
+
|
|
18
|
+
open class GridLayout: GridLayoutBase {
|
|
19
|
+
nonisolated deinit {}
|
|
20
|
+
open var helper: MeasureHelper? {
|
|
21
|
+
didSet { if jsMadeBits1 & (1 << 60) == 0 { jsMadeNote(&jsMadeBits1, &jsMade, 1 << 60, "helper") } }
|
|
22
|
+
}
|
|
23
|
+
open var columnOffsets: JSArray<Double>? = JSArray<Double>()
|
|
24
|
+
open var rowOffsets: JSArray<Double>? = JSArray<Double>()
|
|
25
|
+
open var map: JSMap<View, MeasureSpecs>? = JSMap<View, MeasureSpecs>()
|
|
26
|
+
public override init() throws {
|
|
27
|
+
try super.init()
|
|
28
|
+
jsMadeLevel(&jsMade, ["columnOffsets", "rowOffsets", "map"])
|
|
29
|
+
self.columnOffsets = JSArray<Double>()
|
|
30
|
+
self.rowOffsets = JSArray<Double>()
|
|
31
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:15)
|
|
32
|
+
self.helper = try MeasureHelper(self)
|
|
33
|
+
if jsMadeBits1 & (1 << 60) == 0 { jsMadeNote(&jsMadeBits1, &jsMade, 1 << 60, "helper") }
|
|
34
|
+
}
|
|
35
|
+
#sourceLocation()
|
|
36
|
+
open override func _onRowAdded(_ itemSpec: ItemSpec?) throws {
|
|
37
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:19)
|
|
38
|
+
_ = try jsUnwrap(jsUnwrap(self.helper, "rows").rows, "push").push(ItemGroup(itemSpec))
|
|
39
|
+
}
|
|
40
|
+
#sourceLocation()
|
|
41
|
+
open override func _onColumnAdded(_ itemSpec: ItemSpec?) throws {
|
|
42
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:23)
|
|
43
|
+
_ = try jsUnwrap(jsUnwrap(self.helper, "columns").columns, "push").push(ItemGroup(itemSpec))
|
|
44
|
+
}
|
|
45
|
+
#sourceLocation()
|
|
46
|
+
open override func _onRowRemoved(_ itemSpec: ItemSpec?, _ index: Double) throws {
|
|
47
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:27)
|
|
48
|
+
try jsUnwrap(
|
|
49
|
+
jsUnwrap(jsUnwrap(jsUnwrap(self.helper, "rows").rows, "index").element(index), "children").children,
|
|
50
|
+
setting: "length"
|
|
51
|
+
).length = 0
|
|
52
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:28)
|
|
53
|
+
_ = try jsUnwrap(jsUnwrap(self.helper, "rows").rows, "splice").splice(index, 1)
|
|
54
|
+
}
|
|
55
|
+
#sourceLocation()
|
|
56
|
+
open override func _onColumnRemoved(_ itemSpec: ItemSpec?, _ index: Double) throws {
|
|
57
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:32)
|
|
58
|
+
try jsUnwrap(
|
|
59
|
+
jsUnwrap(jsUnwrap(jsUnwrap(self.helper, "columns").columns, "index").element(index), "children").children,
|
|
60
|
+
setting: "length"
|
|
61
|
+
).length = 0
|
|
62
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:33)
|
|
63
|
+
_ = try jsUnwrap(jsUnwrap(self.helper, "columns").columns, "splice").splice(index, 1)
|
|
64
|
+
}
|
|
65
|
+
#sourceLocation()
|
|
66
|
+
open override func _registerLayoutChild(_ child: View?) throws {
|
|
67
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:37)
|
|
68
|
+
try self.addToMap(child)
|
|
69
|
+
}
|
|
70
|
+
#sourceLocation()
|
|
71
|
+
open override func _unregisterLayoutChild(_ child: View?) throws {
|
|
72
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:41)
|
|
73
|
+
try self.removeFromMap(child)
|
|
74
|
+
}
|
|
75
|
+
#sourceLocation()
|
|
76
|
+
open override func invalidate() throws {
|
|
77
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:45)
|
|
78
|
+
try super.invalidate()
|
|
79
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:46)
|
|
80
|
+
try self.requestLayout()
|
|
81
|
+
}
|
|
82
|
+
#sourceLocation()
|
|
83
|
+
open func getColumnIndex(_ view: View?) throws -> Double {
|
|
84
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:50)
|
|
85
|
+
return try jsMathMax(
|
|
86
|
+
0, jsMathMin(GridLayout.getColumn(view), jsUnwrap(self.columnsInternal, "length").length - 1))
|
|
87
|
+
}
|
|
88
|
+
#sourceLocation()
|
|
89
|
+
open func getRowIndex(_ view: View?) throws -> Double {
|
|
90
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:54)
|
|
91
|
+
return try jsMathMax(0, jsMathMin(GridLayout.getRow(view), jsUnwrap(self.rowsInternal, "length").length - 1))
|
|
92
|
+
}
|
|
93
|
+
#sourceLocation()
|
|
94
|
+
open func getColumnSpan(_ view: View?, _ columnIndex: Double) throws -> Double {
|
|
95
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:58)
|
|
96
|
+
return try jsMathMax(
|
|
97
|
+
1, jsMathMin(GridLayout.getColumnSpan(view), jsUnwrap(self.columnsInternal, "length").length - columnIndex))
|
|
98
|
+
}
|
|
99
|
+
#sourceLocation()
|
|
100
|
+
open func getRowSpan(_ view: View?, _ rowIndex: Double) throws -> Double {
|
|
101
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:62)
|
|
102
|
+
return try jsMathMax(
|
|
103
|
+
1, jsMathMin(GridLayout.getRowSpan(view), jsUnwrap(self.rowsInternal, "length").length - rowIndex))
|
|
104
|
+
}
|
|
105
|
+
#sourceLocation()
|
|
106
|
+
open func getColumnSpec(_ view: View?) throws -> ItemSpec? {
|
|
107
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:66)
|
|
108
|
+
return try
|
|
109
|
+
(jsUnwrap(self.columnsInternal, "this.getColumnIndex(view)").element(self.getColumnIndex(view))
|
|
110
|
+
?? jsUnwrap(self.helper, "singleColumn").singleColumn)
|
|
111
|
+
}
|
|
112
|
+
#sourceLocation()
|
|
113
|
+
open func getRowSpec(_ view: View?) throws -> ItemSpec? {
|
|
114
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:70)
|
|
115
|
+
return try
|
|
116
|
+
(jsUnwrap(self.rowsInternal, "this.getRowIndex(view)").element(self.getRowIndex(view))
|
|
117
|
+
?? jsUnwrap(self.helper, "singleRow").singleRow)
|
|
118
|
+
}
|
|
119
|
+
#sourceLocation()
|
|
120
|
+
open func updateMeasureSpecs(_ child: View?, _ measureSpec: MeasureSpecs?) throws {
|
|
121
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:74)
|
|
122
|
+
let column: ItemSpec? = try self.getColumnSpec(child)
|
|
123
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:75)
|
|
124
|
+
let columnIndex: Double = try self.getColumnIndex(child)
|
|
125
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:76)
|
|
126
|
+
let columnSpan: Double = try self.getColumnSpan(child, columnIndex)
|
|
127
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:78)
|
|
128
|
+
let row: ItemSpec? = try self.getRowSpec(child)
|
|
129
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:79)
|
|
130
|
+
let rowIndex: Double = try self.getRowIndex(child)
|
|
131
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:80)
|
|
132
|
+
let rowSpan: Double = try self.getRowSpan(child, rowIndex)
|
|
133
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:82)
|
|
134
|
+
try jsUnwrap(measureSpec, "setColumn").setColumn(column)
|
|
135
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:83)
|
|
136
|
+
try jsUnwrap(measureSpec, "setColumnIndex").setColumnIndex(columnIndex)
|
|
137
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:84)
|
|
138
|
+
try jsUnwrap(measureSpec, "setColumnSpan").setColumnSpan(columnSpan)
|
|
139
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:86)
|
|
140
|
+
try jsUnwrap(measureSpec, "setRow").setRow(row)
|
|
141
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:87)
|
|
142
|
+
try jsUnwrap(measureSpec, "setRowIndex").setRowIndex(rowIndex)
|
|
143
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:88)
|
|
144
|
+
try jsUnwrap(measureSpec, "setRowSpan").setRowSpan(rowSpan)
|
|
145
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:90)
|
|
146
|
+
try jsUnwrap(measureSpec, setting: "autoColumnsCount").autoColumnsCount = 0
|
|
147
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:91)
|
|
148
|
+
try jsUnwrap(measureSpec, setting: "autoRowsCount").autoRowsCount = 0
|
|
149
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:92)
|
|
150
|
+
try jsUnwrap(measureSpec, setting: "measured").measured = false
|
|
151
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:93)
|
|
152
|
+
try jsUnwrap(measureSpec, setting: "pixelHeight").pixelHeight = 0
|
|
153
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:94)
|
|
154
|
+
try jsUnwrap(measureSpec, setting: "pixelWidth").pixelWidth = 0
|
|
155
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:95)
|
|
156
|
+
try jsUnwrap(measureSpec, setting: "starColumnsCount").starColumnsCount = 0
|
|
157
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:96)
|
|
158
|
+
try jsUnwrap(measureSpec, setting: "starRowsCount").starRowsCount = 0
|
|
159
|
+
}
|
|
160
|
+
#sourceLocation()
|
|
161
|
+
open func addToMap(_ child: View?) throws {
|
|
162
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:100)
|
|
163
|
+
_ = try jsUnwrap(self.map, "set").set(jsObjectRequired(child), MeasureSpecs(child))
|
|
164
|
+
}
|
|
165
|
+
#sourceLocation()
|
|
166
|
+
open func removeFromMap(_ child: View?) throws {
|
|
167
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:104)
|
|
168
|
+
_ = try ((child as View?).map { try jsUnwrap(self.map, "delete").delete($0) } ?? false)
|
|
169
|
+
}
|
|
170
|
+
#sourceLocation()
|
|
171
|
+
open override func onMeasure(_ widthMeasureSpec: Double, _ heightMeasureSpec: Double) throws {
|
|
172
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:108)
|
|
173
|
+
try super.onMeasure(widthMeasureSpec, heightMeasureSpec)
|
|
174
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:110)
|
|
175
|
+
var measureWidth: Double = 0
|
|
176
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:111)
|
|
177
|
+
var measureHeight: Double = 0
|
|
178
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:113)
|
|
179
|
+
let width: Double = try NativeScriptKit.layout.getMeasureSpecSize(widthMeasureSpec)
|
|
180
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:114)
|
|
181
|
+
let widthMode: Double = try NativeScriptKit.layout.getMeasureSpecMode(widthMeasureSpec)
|
|
182
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:116)
|
|
183
|
+
let height: Double = try NativeScriptKit.layout.getMeasureSpecSize(heightMeasureSpec)
|
|
184
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:117)
|
|
185
|
+
let heightMode: Double = try NativeScriptKit.layout.getMeasureSpecMode(heightMeasureSpec)
|
|
186
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:119)
|
|
187
|
+
let horizontalPaddingsAndMargins: Double =
|
|
188
|
+
self.effectivePaddingLeft + self.effectivePaddingRight + self.effectiveBorderLeftWidth
|
|
189
|
+
+ self.effectiveBorderRightWidth
|
|
190
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:120)
|
|
191
|
+
let verticalPaddingsAndMargins: Double =
|
|
192
|
+
self.effectivePaddingTop + self.effectivePaddingBottom + self.effectiveBorderTopWidth
|
|
193
|
+
+ self.effectiveBorderBottomWidth
|
|
194
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:122)
|
|
195
|
+
let infinityWidth: Bool = jsLenientNumberEquals(widthMode, NativeScriptKit.layout.UNSPECIFIED)
|
|
196
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:123)
|
|
197
|
+
let infinityHeight: Bool = jsLenientNumberEquals(heightMode, NativeScriptKit.layout.UNSPECIFIED)
|
|
198
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:125)
|
|
199
|
+
try jsUnwrap(self.helper, setting: "width").width = jsMathMax(0, width - horizontalPaddingsAndMargins)
|
|
200
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:126)
|
|
201
|
+
try jsUnwrap(self.helper, setting: "height").height = jsMathMax(0, height - verticalPaddingsAndMargins)
|
|
202
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:128)
|
|
203
|
+
try jsUnwrap(self.helper, setting: "stretchedHorizontally").stretchedHorizontally =
|
|
204
|
+
jsLenientNumberEquals(widthMode, NativeScriptKit.layout.EXACTLY)
|
|
205
|
+
|| (jsStringEquals(self.horizontalAlignment, "stretch") && !infinityWidth)
|
|
206
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:129)
|
|
207
|
+
try jsUnwrap(self.helper, setting: "stretchedVertically").stretchedVertically =
|
|
208
|
+
jsLenientNumberEquals(heightMode, NativeScriptKit.layout.EXACTLY)
|
|
209
|
+
|| (jsStringEquals(self.verticalAlignment, "stretch") && !infinityHeight)
|
|
210
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:131)
|
|
211
|
+
try jsUnwrap(self.helper, "setInfinityWidth").setInfinityWidth(infinityWidth)
|
|
212
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:132)
|
|
213
|
+
try jsUnwrap(self.helper, "setInfinityHeight").setInfinityHeight(infinityHeight)
|
|
214
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:134)
|
|
215
|
+
try jsUnwrap(self.helper, "clearMeasureSpecs").clearMeasureSpecs()
|
|
216
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:135)
|
|
217
|
+
try jsUnwrap(self.helper, "init").`init`()
|
|
218
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:137)
|
|
219
|
+
try self.eachLayoutChild({ (child: View?, last: Bool) throws -> Void in
|
|
220
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:138)
|
|
221
|
+
let measureSpecs: MeasureSpecs? = try (child as View?).flatMap { try jsUnwrap(self.map, "get").get($0) }
|
|
222
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:139)
|
|
223
|
+
if !jsTruthy(measureSpecs as Any?) {
|
|
224
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:140)
|
|
225
|
+
return
|
|
226
|
+
}
|
|
227
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:143)
|
|
228
|
+
try self.updateMeasureSpecs(child, measureSpecs)
|
|
229
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:144)
|
|
230
|
+
try jsUnwrap(self.helper, "addMeasureSpec").addMeasureSpec(measureSpecs)
|
|
231
|
+
})
|
|
232
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:147)
|
|
233
|
+
try jsUnwrap(self.helper, "measure").measure()
|
|
234
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:150)
|
|
235
|
+
measureWidth = try jsUnwrap(self.helper, "measuredWidth").measuredWidth + horizontalPaddingsAndMargins
|
|
236
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:151)
|
|
237
|
+
measureHeight = try jsUnwrap(self.helper, "measuredHeight").measuredHeight + verticalPaddingsAndMargins
|
|
238
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:154)
|
|
239
|
+
measureWidth = jsMathMax(measureWidth, self.effectiveMinWidth)
|
|
240
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:155)
|
|
241
|
+
measureHeight = jsMathMax(measureHeight, self.effectiveMinHeight)
|
|
242
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:158)
|
|
243
|
+
measureWidth = jsMathMin(measureWidth, self.effectiveMaxWidth)
|
|
244
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:159)
|
|
245
|
+
measureHeight = jsMathMin(measureHeight, self.effectiveMaxHeight)
|
|
246
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:161)
|
|
247
|
+
let widthSizeAndState: Double = View.resolveSizeAndState(measureWidth, width, widthMode, 0)
|
|
248
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:162)
|
|
249
|
+
let heightSizeAndState: Double = View.resolveSizeAndState(measureHeight, height, heightMode, 0)
|
|
250
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:164)
|
|
251
|
+
try self.setMeasuredDimension(widthSizeAndState, heightSizeAndState)
|
|
252
|
+
}
|
|
253
|
+
#sourceLocation()
|
|
254
|
+
open override func onLayout(_ left: Double, _ top: Double, _ right: Double, _ bottom: Double) throws {
|
|
255
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:168)
|
|
256
|
+
try super.onLayout(left, top, right, bottom)
|
|
257
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:170)
|
|
258
|
+
let insets: Any? = try self.getSafeAreaInsets()
|
|
259
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:172)
|
|
260
|
+
let paddingLeft: Double =
|
|
261
|
+
try self.effectiveBorderLeftWidth + self.effectivePaddingLeft + jsConvertedNumber(jsGet(insets, "left"))
|
|
262
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:173)
|
|
263
|
+
let paddingTop: Double =
|
|
264
|
+
try self.effectiveBorderTopWidth + self.effectivePaddingTop + jsConvertedNumber(jsGet(insets, "top"))
|
|
265
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:175)
|
|
266
|
+
try jsUnwrap(self.columnOffsets, setting: "length").length = 0
|
|
267
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:176)
|
|
268
|
+
try jsUnwrap(self.rowOffsets, setting: "length").length = 0
|
|
269
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:178)
|
|
270
|
+
_ = try jsUnwrap(self.columnOffsets, "push").push(paddingLeft)
|
|
271
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:179)
|
|
272
|
+
_ = try jsUnwrap(self.rowOffsets, "push").push(paddingTop)
|
|
273
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:181)
|
|
274
|
+
var offset: Double? = try jsUnwrap(self.columnOffsets, "0").element(0)
|
|
275
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:182)
|
|
276
|
+
var roundedOffset: Double = paddingLeft
|
|
277
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:183)
|
|
278
|
+
var roundedLength: Double = 0
|
|
279
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:184)
|
|
280
|
+
var actualLength: Double = 0
|
|
281
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:186)
|
|
282
|
+
do {
|
|
283
|
+
var i: Double = 0
|
|
284
|
+
let size: Double = try jsUnwrap(jsUnwrap(self.helper, "columns").columns, "length").length
|
|
285
|
+
while i < size {
|
|
286
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:187)
|
|
287
|
+
let columnGroup: ItemGroup? = try jsUnwrap(jsUnwrap(self.helper, "columns").columns, "i").element(i)
|
|
288
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:188)
|
|
289
|
+
offset = try (offset ?? .nan) + (jsUnwrap(columnGroup, "length").length)
|
|
290
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:190)
|
|
291
|
+
actualLength = (offset ?? .nan) - roundedOffset
|
|
292
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:191)
|
|
293
|
+
roundedLength = jsRound(actualLength)
|
|
294
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:192)
|
|
295
|
+
try jsUnwrap(jsUnwrap(columnGroup, "rowOrColumn").rowOrColumn, setting: "_actualLength")._actualLength =
|
|
296
|
+
NativeScriptKit.layout.round(NativeScriptKit.layout.toDeviceIndependentPixels(roundedLength))
|
|
297
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:193)
|
|
298
|
+
roundedOffset += roundedLength
|
|
299
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:195)
|
|
300
|
+
_ = try jsUnwrap(self.columnOffsets, "push").push(roundedOffset)
|
|
301
|
+
i += 1
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:198)
|
|
305
|
+
offset = try jsUnwrap(self.rowOffsets, "0").element(0)
|
|
306
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:199)
|
|
307
|
+
roundedOffset = paddingTop
|
|
308
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:200)
|
|
309
|
+
roundedLength = 0
|
|
310
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:201)
|
|
311
|
+
actualLength = 0
|
|
312
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:203)
|
|
313
|
+
do {
|
|
314
|
+
var i: Double = 0
|
|
315
|
+
let size: Double = try jsUnwrap(jsUnwrap(self.helper, "rows").rows, "length").length
|
|
316
|
+
while i < size {
|
|
317
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:204)
|
|
318
|
+
let rowGroup: ItemGroup? = try jsUnwrap(jsUnwrap(self.helper, "rows").rows, "i").element(i)
|
|
319
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:205)
|
|
320
|
+
offset = try (offset ?? .nan) + (jsUnwrap(rowGroup, "length").length)
|
|
321
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:207)
|
|
322
|
+
actualLength = (offset ?? .nan) - roundedOffset
|
|
323
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:208)
|
|
324
|
+
roundedLength = jsRound(actualLength)
|
|
325
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:209)
|
|
326
|
+
try jsUnwrap(jsUnwrap(rowGroup, "rowOrColumn").rowOrColumn, setting: "_actualLength")._actualLength =
|
|
327
|
+
NativeScriptKit.layout.round(NativeScriptKit.layout.toDeviceIndependentPixels(roundedLength))
|
|
328
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:210)
|
|
329
|
+
roundedOffset += roundedLength
|
|
330
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:212)
|
|
331
|
+
_ = try jsUnwrap(self.rowOffsets, "push").push(roundedOffset)
|
|
332
|
+
i += 1
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:215)
|
|
336
|
+
do {
|
|
337
|
+
var i: Double = 0
|
|
338
|
+
let columns: Double = try jsUnwrap(jsUnwrap(self.helper, "columns").columns, "length").length
|
|
339
|
+
while i < columns {
|
|
340
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:216)
|
|
341
|
+
let columnGroup: ItemGroup? = try jsUnwrap(jsUnwrap(self.helper, "columns").columns, "i").element(i)
|
|
342
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:217)
|
|
343
|
+
var j: Double = 0
|
|
344
|
+
let children: Double = try jsUnwrap(jsUnwrap(columnGroup, "children").children, "length").length
|
|
345
|
+
while j < children {
|
|
346
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:218)
|
|
347
|
+
let measureSpec: MeasureSpecs? = try jsUnwrap(jsUnwrap(columnGroup, "children").children, "j")
|
|
348
|
+
.element(j)
|
|
349
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:219)
|
|
350
|
+
let childLeft: Double? = try jsUnwrap(self.columnOffsets, "measureSpec.getColumnIndex()").element(
|
|
351
|
+
jsUnwrap(measureSpec, "getColumnIndex").getColumnIndex())
|
|
352
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:220)
|
|
353
|
+
let childRight: Double? = try jsUnwrap(
|
|
354
|
+
self.columnOffsets, "measureSpec.getColumnIndex() + measureSpec.getColumnSpan()"
|
|
355
|
+
).element(
|
|
356
|
+
jsUnwrap(measureSpec, "getColumnIndex").getColumnIndex()
|
|
357
|
+
+ jsUnwrap(measureSpec, "getColumnSpan").getColumnSpan())
|
|
358
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:221)
|
|
359
|
+
let childTop: Double? = try jsUnwrap(self.rowOffsets, "measureSpec.getRowIndex()").element(
|
|
360
|
+
jsUnwrap(measureSpec, "getRowIndex").getRowIndex())
|
|
361
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:222)
|
|
362
|
+
let childBottom: Double? = try jsUnwrap(
|
|
363
|
+
self.rowOffsets, "measureSpec.getRowIndex() + measureSpec.getRowSpan()"
|
|
364
|
+
).element(
|
|
365
|
+
jsUnwrap(measureSpec, "getRowIndex").getRowIndex()
|
|
366
|
+
+ jsUnwrap(measureSpec, "getRowSpan").getRowSpan())
|
|
367
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:225)
|
|
368
|
+
try View.layoutChild(
|
|
369
|
+
self, jsUnwrap(measureSpec, "child").child, (childLeft ?? .nan), (childTop ?? .nan),
|
|
370
|
+
(childRight ?? .nan), (childBottom ?? .nan))
|
|
371
|
+
j += 1
|
|
372
|
+
}
|
|
373
|
+
i += 1
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
#sourceLocation()
|
|
378
|
+
public final func onLayout__GridLayout(_ left: Double, _ top: Double, _ right: Double, _ bottom: Double) throws {
|
|
379
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:168)
|
|
380
|
+
try super.onLayout(left, top, right, bottom)
|
|
381
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:170)
|
|
382
|
+
let insets: Any? = try self.getSafeAreaInsets()
|
|
383
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:172)
|
|
384
|
+
let paddingLeft: Double =
|
|
385
|
+
try self.effectiveBorderLeftWidth + self.effectivePaddingLeft + jsConvertedNumber(jsGet(insets, "left"))
|
|
386
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:173)
|
|
387
|
+
let paddingTop: Double =
|
|
388
|
+
try self.effectiveBorderTopWidth + self.effectivePaddingTop + jsConvertedNumber(jsGet(insets, "top"))
|
|
389
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:175)
|
|
390
|
+
try jsUnwrap(self.columnOffsets, setting: "length").length = 0
|
|
391
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:176)
|
|
392
|
+
try jsUnwrap(self.rowOffsets, setting: "length").length = 0
|
|
393
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:178)
|
|
394
|
+
_ = try jsUnwrap(self.columnOffsets, "push").push(paddingLeft)
|
|
395
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:179)
|
|
396
|
+
_ = try jsUnwrap(self.rowOffsets, "push").push(paddingTop)
|
|
397
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:181)
|
|
398
|
+
var offset: Double? = try jsUnwrap(self.columnOffsets, "0").element(0)
|
|
399
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:182)
|
|
400
|
+
var roundedOffset: Double = paddingLeft
|
|
401
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:183)
|
|
402
|
+
var roundedLength: Double = 0
|
|
403
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:184)
|
|
404
|
+
var actualLength: Double = 0
|
|
405
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:186)
|
|
406
|
+
do {
|
|
407
|
+
var i: Double = 0
|
|
408
|
+
let size: Double = try jsUnwrap(jsUnwrap(self.helper, "columns").columns, "length").length
|
|
409
|
+
while i < size {
|
|
410
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:187)
|
|
411
|
+
let columnGroup: ItemGroup? = try jsUnwrap(jsUnwrap(self.helper, "columns").columns, "i").element(i)
|
|
412
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:188)
|
|
413
|
+
offset = try (offset ?? .nan) + (jsUnwrap(columnGroup, "length").length)
|
|
414
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:190)
|
|
415
|
+
actualLength = (offset ?? .nan) - roundedOffset
|
|
416
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:191)
|
|
417
|
+
roundedLength = jsRound(actualLength)
|
|
418
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:192)
|
|
419
|
+
try jsUnwrap(jsUnwrap(columnGroup, "rowOrColumn").rowOrColumn, setting: "_actualLength")._actualLength =
|
|
420
|
+
NativeScriptKit.layout.round(NativeScriptKit.layout.toDeviceIndependentPixels(roundedLength))
|
|
421
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:193)
|
|
422
|
+
roundedOffset += roundedLength
|
|
423
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:195)
|
|
424
|
+
_ = try jsUnwrap(self.columnOffsets, "push").push(roundedOffset)
|
|
425
|
+
i += 1
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:198)
|
|
429
|
+
offset = try jsUnwrap(self.rowOffsets, "0").element(0)
|
|
430
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:199)
|
|
431
|
+
roundedOffset = paddingTop
|
|
432
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:200)
|
|
433
|
+
roundedLength = 0
|
|
434
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:201)
|
|
435
|
+
actualLength = 0
|
|
436
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:203)
|
|
437
|
+
do {
|
|
438
|
+
var i: Double = 0
|
|
439
|
+
let size: Double = try jsUnwrap(jsUnwrap(self.helper, "rows").rows, "length").length
|
|
440
|
+
while i < size {
|
|
441
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:204)
|
|
442
|
+
let rowGroup: ItemGroup? = try jsUnwrap(jsUnwrap(self.helper, "rows").rows, "i").element(i)
|
|
443
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:205)
|
|
444
|
+
offset = try (offset ?? .nan) + (jsUnwrap(rowGroup, "length").length)
|
|
445
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:207)
|
|
446
|
+
actualLength = (offset ?? .nan) - roundedOffset
|
|
447
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:208)
|
|
448
|
+
roundedLength = jsRound(actualLength)
|
|
449
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:209)
|
|
450
|
+
try jsUnwrap(jsUnwrap(rowGroup, "rowOrColumn").rowOrColumn, setting: "_actualLength")._actualLength =
|
|
451
|
+
NativeScriptKit.layout.round(NativeScriptKit.layout.toDeviceIndependentPixels(roundedLength))
|
|
452
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:210)
|
|
453
|
+
roundedOffset += roundedLength
|
|
454
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:212)
|
|
455
|
+
_ = try jsUnwrap(self.rowOffsets, "push").push(roundedOffset)
|
|
456
|
+
i += 1
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:215)
|
|
460
|
+
do {
|
|
461
|
+
var i: Double = 0
|
|
462
|
+
let columns: Double = try jsUnwrap(jsUnwrap(self.helper, "columns").columns, "length").length
|
|
463
|
+
while i < columns {
|
|
464
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:216)
|
|
465
|
+
let columnGroup: ItemGroup? = try jsUnwrap(jsUnwrap(self.helper, "columns").columns, "i").element(i)
|
|
466
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:217)
|
|
467
|
+
var j: Double = 0
|
|
468
|
+
let children: Double = try jsUnwrap(jsUnwrap(columnGroup, "children").children, "length").length
|
|
469
|
+
while j < children {
|
|
470
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:218)
|
|
471
|
+
let measureSpec: MeasureSpecs? = try jsUnwrap(jsUnwrap(columnGroup, "children").children, "j")
|
|
472
|
+
.element(j)
|
|
473
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:219)
|
|
474
|
+
let childLeft: Double? = try jsUnwrap(self.columnOffsets, "measureSpec.getColumnIndex()").element(
|
|
475
|
+
jsUnwrap(measureSpec, "getColumnIndex").getColumnIndex())
|
|
476
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:220)
|
|
477
|
+
let childRight: Double? = try jsUnwrap(
|
|
478
|
+
self.columnOffsets, "measureSpec.getColumnIndex() + measureSpec.getColumnSpan()"
|
|
479
|
+
).element(
|
|
480
|
+
jsUnwrap(measureSpec, "getColumnIndex").getColumnIndex()
|
|
481
|
+
+ jsUnwrap(measureSpec, "getColumnSpan").getColumnSpan())
|
|
482
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:221)
|
|
483
|
+
let childTop: Double? = try jsUnwrap(self.rowOffsets, "measureSpec.getRowIndex()").element(
|
|
484
|
+
jsUnwrap(measureSpec, "getRowIndex").getRowIndex())
|
|
485
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:222)
|
|
486
|
+
let childBottom: Double? = try jsUnwrap(
|
|
487
|
+
self.rowOffsets, "measureSpec.getRowIndex() + measureSpec.getRowSpan()"
|
|
488
|
+
).element(
|
|
489
|
+
jsUnwrap(measureSpec, "getRowIndex").getRowIndex()
|
|
490
|
+
+ jsUnwrap(measureSpec, "getRowSpan").getRowSpan())
|
|
491
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:225)
|
|
492
|
+
try View.layoutChild(
|
|
493
|
+
self, jsUnwrap(measureSpec, "child").child, (childLeft ?? .nan), (childTop ?? .nan),
|
|
494
|
+
(childRight ?? .nan), (childBottom ?? .nan))
|
|
495
|
+
j += 1
|
|
496
|
+
}
|
|
497
|
+
i += 1
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
#sourceLocation()
|
|
502
|
+
open override class func jsConstruct(_ __a: [Any?]) throws -> Any? { try GridLayout() }
|
|
503
|
+
open override var jsDeclaredKeys: [String] {
|
|
504
|
+
super.jsDeclaredKeys + ["columnOffsets"] + ["rowOffsets"] + ["map"]
|
|
505
|
+
+ (jsMadeBits1 & (1 << 60) != 0 ? ["helper"] : [])
|
|
506
|
+
}
|
|
507
|
+
open override var jsClassName: String? { "GridLayout" }
|
|
508
|
+
open override subscript(jsKey key: String) -> Any? {
|
|
509
|
+
get {
|
|
510
|
+
switch key.utf8.count {
|
|
511
|
+
case 3:
|
|
512
|
+
switch key {
|
|
513
|
+
case "map": return self.map
|
|
514
|
+
default: break
|
|
515
|
+
}
|
|
516
|
+
case 6:
|
|
517
|
+
switch key {
|
|
518
|
+
case "helper":
|
|
519
|
+
if !(jsMadeBits1 & (1 << 60) != 0) { return nil }
|
|
520
|
+
return self.helper
|
|
521
|
+
default: break
|
|
522
|
+
}
|
|
523
|
+
case 8:
|
|
524
|
+
switch key {
|
|
525
|
+
case "addToMap": return FunctionCell_ViewOpt_to_Void.script("addToMap", 1, self.addToMap)
|
|
526
|
+
case "onLayout":
|
|
527
|
+
return FunctionCell_Double_Double_Double_Double_to_Void.script("onLayout", 4, self.onLayout)
|
|
528
|
+
default: break
|
|
529
|
+
}
|
|
530
|
+
case 9:
|
|
531
|
+
switch key {
|
|
532
|
+
case "onMeasure": return FunctionCell_Double_Double_to_Void.script("onMeasure", 2, self.onMeasure)
|
|
533
|
+
default: break
|
|
534
|
+
}
|
|
535
|
+
case 10:
|
|
536
|
+
switch key {
|
|
537
|
+
case "rowOffsets": return self.rowOffsets
|
|
538
|
+
case "invalidate": return FunctionCell_none_to_Void.script("invalidate", 0, self.invalidate)
|
|
539
|
+
case "getRowSpan": return FunctionCell_ViewOpt_Double_to_Double.script("getRowSpan", 2, self.getRowSpan)
|
|
540
|
+
case "getRowSpec": return FunctionCell_ViewOpt_to_ItemSpecOpt.script("getRowSpec", 1, self.getRowSpec)
|
|
541
|
+
default: break
|
|
542
|
+
}
|
|
543
|
+
case 11:
|
|
544
|
+
switch key {
|
|
545
|
+
case "_onRowAdded": return FunctionCell_ItemSpecOpt_to_Void.script("_onRowAdded", 1, self._onRowAdded)
|
|
546
|
+
case "getRowIndex": return FunctionCell_ViewOpt_to_Double.script("getRowIndex", 1, self.getRowIndex)
|
|
547
|
+
default: break
|
|
548
|
+
}
|
|
549
|
+
case 13:
|
|
550
|
+
switch key {
|
|
551
|
+
case "columnOffsets": return self.columnOffsets
|
|
552
|
+
case "_onRowRemoved":
|
|
553
|
+
return FunctionCell_ItemSpecOpt_Double_to_Void.script("_onRowRemoved", 2, self._onRowRemoved)
|
|
554
|
+
case "getColumnSpan":
|
|
555
|
+
return FunctionCell_ViewOpt_Double_to_Double.script("getColumnSpan", 2, self.getColumnSpan)
|
|
556
|
+
case "getColumnSpec":
|
|
557
|
+
return FunctionCell_ViewOpt_to_ItemSpecOpt.script("getColumnSpec", 1, self.getColumnSpec)
|
|
558
|
+
case "removeFromMap": return FunctionCell_ViewOpt_to_Void.script("removeFromMap", 1, self.removeFromMap)
|
|
559
|
+
default: break
|
|
560
|
+
}
|
|
561
|
+
case 14:
|
|
562
|
+
switch key {
|
|
563
|
+
case "_onColumnAdded":
|
|
564
|
+
return FunctionCell_ItemSpecOpt_to_Void.script("_onColumnAdded", 1, self._onColumnAdded)
|
|
565
|
+
case "getColumnIndex":
|
|
566
|
+
return FunctionCell_ViewOpt_to_Double.script("getColumnIndex", 1, self.getColumnIndex)
|
|
567
|
+
default: break
|
|
568
|
+
}
|
|
569
|
+
case 16:
|
|
570
|
+
switch key {
|
|
571
|
+
case "_onColumnRemoved":
|
|
572
|
+
return FunctionCell_ItemSpecOpt_Double_to_Void.script("_onColumnRemoved", 2, self._onColumnRemoved)
|
|
573
|
+
default: break
|
|
574
|
+
}
|
|
575
|
+
case 18:
|
|
576
|
+
switch key {
|
|
577
|
+
case "updateMeasureSpecs":
|
|
578
|
+
return FunctionCell_ViewOpt_MeasureSpecsOpt_to_Void.script(
|
|
579
|
+
"updateMeasureSpecs", 2, self.updateMeasureSpecs)
|
|
580
|
+
default: break
|
|
581
|
+
}
|
|
582
|
+
case 20:
|
|
583
|
+
switch key {
|
|
584
|
+
case "_registerLayoutChild":
|
|
585
|
+
return FunctionCell_ViewOpt_to_Void.script("_registerLayoutChild", 1, self._registerLayoutChild)
|
|
586
|
+
default: break
|
|
587
|
+
}
|
|
588
|
+
case 22:
|
|
589
|
+
switch key {
|
|
590
|
+
case "_unregisterLayoutChild":
|
|
591
|
+
return FunctionCell_ViewOpt_to_Void.script("_unregisterLayoutChild", 1, self._unregisterLayoutChild)
|
|
592
|
+
default: break
|
|
593
|
+
}
|
|
594
|
+
default: break
|
|
595
|
+
}
|
|
596
|
+
return super[jsKey: key]
|
|
597
|
+
}
|
|
598
|
+
set {
|
|
599
|
+
switch key.utf8.count {
|
|
600
|
+
case 3:
|
|
601
|
+
switch key {
|
|
602
|
+
case "map":
|
|
603
|
+
self.map = (newValue as? JSMap<View, MeasureSpecs>)
|
|
604
|
+
return
|
|
605
|
+
default: break
|
|
606
|
+
}
|
|
607
|
+
case 6:
|
|
608
|
+
switch key {
|
|
609
|
+
case "helper":
|
|
610
|
+
jsStoring { self.helper = (try jsCast(newValue, MeasureHelper.self)) }
|
|
611
|
+
return
|
|
612
|
+
default: break
|
|
613
|
+
}
|
|
614
|
+
case 10:
|
|
615
|
+
switch key {
|
|
616
|
+
case "rowOffsets":
|
|
617
|
+
self.rowOffsets = jsArrayOrNil(newValue, { jsLenientNumber($0) })
|
|
618
|
+
return
|
|
619
|
+
default: break
|
|
620
|
+
}
|
|
621
|
+
case 13:
|
|
622
|
+
switch key {
|
|
623
|
+
case "columnOffsets":
|
|
624
|
+
self.columnOffsets = jsArrayOrNil(newValue, { jsLenientNumber($0) })
|
|
625
|
+
return
|
|
626
|
+
default: break
|
|
627
|
+
}
|
|
628
|
+
default: break
|
|
629
|
+
}
|
|
630
|
+
super[jsKey: key] = newValue
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
open override class var jsName: String { "GridLayout" }
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
open class MeasureSpecs: JSDynamic, JSExpando, JSKeysMade, JSStaticKeyed {
|
|
637
|
+
nonisolated deinit {}
|
|
638
|
+
open var _columnSpan: Double = 1
|
|
639
|
+
open var _rowSpan: Double = 1
|
|
640
|
+
open var pixelWidth: Double = 0
|
|
641
|
+
open var pixelHeight: Double = 0
|
|
642
|
+
open var starColumnsCount: Double = 0
|
|
643
|
+
open var starRowsCount: Double = 0
|
|
644
|
+
open var autoColumnsCount: Double = 0
|
|
645
|
+
open var autoRowsCount: Double = 0
|
|
646
|
+
open var measured: Bool = false
|
|
647
|
+
open var child: View?
|
|
648
|
+
private static let jsSite_MeasureSpecs_column = JSReadSite("column")
|
|
649
|
+
open var column: ItemSpec? {
|
|
650
|
+
get { (jsExpandoGet(self, MeasureSpecs.jsSite_MeasureSpecs_column) as? ItemSpec) }
|
|
651
|
+
set { jsExpandoSet(self, "column", newValue) }
|
|
652
|
+
}
|
|
653
|
+
private static let jsSite_MeasureSpecs_row = JSReadSite("row")
|
|
654
|
+
open var row: ItemSpec? {
|
|
655
|
+
get { (jsExpandoGet(self, MeasureSpecs.jsSite_MeasureSpecs_row) as? ItemSpec) }
|
|
656
|
+
set { jsExpandoSet(self, "row", newValue) }
|
|
657
|
+
}
|
|
658
|
+
open var columnIndex: Double = 0
|
|
659
|
+
open var rowIndex: Double = 0
|
|
660
|
+
public init(_ child: View?) {
|
|
661
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:253)
|
|
662
|
+
self.child = child
|
|
663
|
+
}
|
|
664
|
+
#sourceLocation()
|
|
665
|
+
open func jsSymbolMethod(_ key: String) -> JSMethod? {
|
|
666
|
+
return nil
|
|
667
|
+
}
|
|
668
|
+
open class var jsSymbolPlain: Bool { true }
|
|
669
|
+
open class var jsSymbolFieldsPlain: Bool { true }
|
|
670
|
+
open var jsExpando: JSObject?
|
|
671
|
+
open var jsSymbolKeys: [String] { jsExpando?.jsSymbolKeys ?? [] }
|
|
672
|
+
open func jsDeleteOwn(_ key: String) -> Bool { jsExpando?.delete(key) ?? true }
|
|
673
|
+
open func getSpanned() -> Bool {
|
|
674
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:257)
|
|
675
|
+
return self._columnSpan > 1 || self._rowSpan > 1
|
|
676
|
+
}
|
|
677
|
+
#sourceLocation()
|
|
678
|
+
open func getIsStar() -> Bool {
|
|
679
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:261)
|
|
680
|
+
return self.starRowsCount > 0 || self.starColumnsCount > 0
|
|
681
|
+
}
|
|
682
|
+
#sourceLocation()
|
|
683
|
+
open func getColumnSpan() -> Double {
|
|
684
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:265)
|
|
685
|
+
return self._columnSpan
|
|
686
|
+
}
|
|
687
|
+
#sourceLocation()
|
|
688
|
+
open func getRowSpan() -> Double {
|
|
689
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:269)
|
|
690
|
+
return self._rowSpan
|
|
691
|
+
}
|
|
692
|
+
#sourceLocation()
|
|
693
|
+
open func setRowSpan(_ value: Double) {
|
|
694
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:274)
|
|
695
|
+
self._rowSpan = jsMathMax(1, value)
|
|
696
|
+
}
|
|
697
|
+
#sourceLocation()
|
|
698
|
+
open func setColumnSpan(_ value: Double) {
|
|
699
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:279)
|
|
700
|
+
self._columnSpan = jsMathMax(1, value)
|
|
701
|
+
}
|
|
702
|
+
#sourceLocation()
|
|
703
|
+
open func getRowIndex() -> Double {
|
|
704
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:283)
|
|
705
|
+
return self.rowIndex
|
|
706
|
+
}
|
|
707
|
+
#sourceLocation()
|
|
708
|
+
open func getColumnIndex() -> Double {
|
|
709
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:287)
|
|
710
|
+
return self.columnIndex
|
|
711
|
+
}
|
|
712
|
+
#sourceLocation()
|
|
713
|
+
open func setRowIndex(_ value: Double) {
|
|
714
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:291)
|
|
715
|
+
self.rowIndex = value
|
|
716
|
+
}
|
|
717
|
+
#sourceLocation()
|
|
718
|
+
open func setColumnIndex(_ value: Double) {
|
|
719
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:295)
|
|
720
|
+
self.columnIndex = value
|
|
721
|
+
}
|
|
722
|
+
#sourceLocation()
|
|
723
|
+
open func getRow() -> ItemSpec? {
|
|
724
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:299)
|
|
725
|
+
return self.row
|
|
726
|
+
}
|
|
727
|
+
#sourceLocation()
|
|
728
|
+
open func getColumn() -> ItemSpec? {
|
|
729
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:303)
|
|
730
|
+
return self.column
|
|
731
|
+
}
|
|
732
|
+
#sourceLocation()
|
|
733
|
+
open func setRow(_ value: ItemSpec?) {
|
|
734
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:307)
|
|
735
|
+
self.row = value
|
|
736
|
+
}
|
|
737
|
+
#sourceLocation()
|
|
738
|
+
open func setColumn(_ value: ItemSpec?) {
|
|
739
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:311)
|
|
740
|
+
self.column = value
|
|
741
|
+
}
|
|
742
|
+
#sourceLocation()
|
|
743
|
+
public final var jsMadeBits0: UInt64 = 0
|
|
744
|
+
public final var jsMade: [String]?
|
|
745
|
+
open var jsDeclaredKeys: [String] {
|
|
746
|
+
["_columnSpan"] + ["_rowSpan"] + ["pixelWidth"] + ["pixelHeight"] + ["starColumnsCount"] + ["starRowsCount"] + [
|
|
747
|
+
"autoColumnsCount"
|
|
748
|
+
] + ["autoRowsCount"] + ["measured"] + ["columnIndex"] + ["rowIndex"] + ["child"]
|
|
749
|
+
}
|
|
750
|
+
open var jsKeys: [String] { jsMadeKeys(jsMade, jsDeclaredKeys + (jsExpando?.jsKeys ?? [])) }
|
|
751
|
+
open var jsClassName: String? { "MeasureSpecs" }
|
|
752
|
+
open subscript(jsKey key: String) -> Any? {
|
|
753
|
+
get {
|
|
754
|
+
switch key.utf8.count {
|
|
755
|
+
case 5:
|
|
756
|
+
switch key {
|
|
757
|
+
case "child": return self.child
|
|
758
|
+
default: break
|
|
759
|
+
}
|
|
760
|
+
case 6:
|
|
761
|
+
switch key {
|
|
762
|
+
case "getRow": return FunctionCell_none_to_ItemSpecOpt.script("getRow", 0, self.getRow)
|
|
763
|
+
case "setRow": return FunctionCell_ItemSpecOpt_to_Void.script("setRow", 1, self.setRow)
|
|
764
|
+
default: break
|
|
765
|
+
}
|
|
766
|
+
case 8:
|
|
767
|
+
switch key {
|
|
768
|
+
case "_rowSpan": return self._rowSpan
|
|
769
|
+
case "measured": return self.measured
|
|
770
|
+
case "rowIndex": return self.rowIndex
|
|
771
|
+
default: break
|
|
772
|
+
}
|
|
773
|
+
case 9:
|
|
774
|
+
switch key {
|
|
775
|
+
case "getIsStar": return FunctionCell_none_to_Bool.script("getIsStar", 0, self.getIsStar)
|
|
776
|
+
case "getColumn": return FunctionCell_none_to_ItemSpecOpt.script("getColumn", 0, self.getColumn)
|
|
777
|
+
case "setColumn": return FunctionCell_ItemSpecOpt_to_Void.script("setColumn", 1, self.setColumn)
|
|
778
|
+
default: break
|
|
779
|
+
}
|
|
780
|
+
case 10:
|
|
781
|
+
switch key {
|
|
782
|
+
case "pixelWidth": return self.pixelWidth
|
|
783
|
+
case "getSpanned": return FunctionCell_none_to_Bool.script("getSpanned", 0, self.getSpanned)
|
|
784
|
+
case "getRowSpan": return FunctionCell_none_to_Double.script("getRowSpan", 0, self.getRowSpan)
|
|
785
|
+
case "setRowSpan": return FunctionCell_Double_to_Void.script("setRowSpan", 1, self.setRowSpan)
|
|
786
|
+
default: break
|
|
787
|
+
}
|
|
788
|
+
case 11:
|
|
789
|
+
switch key {
|
|
790
|
+
case "_columnSpan": return self._columnSpan
|
|
791
|
+
case "pixelHeight": return self.pixelHeight
|
|
792
|
+
case "columnIndex": return self.columnIndex
|
|
793
|
+
case "getRowIndex": return FunctionCell_none_to_Double.script("getRowIndex", 0, self.getRowIndex)
|
|
794
|
+
case "setRowIndex": return FunctionCell_Double_to_Void.script("setRowIndex", 1, self.setRowIndex)
|
|
795
|
+
default: break
|
|
796
|
+
}
|
|
797
|
+
case 13:
|
|
798
|
+
switch key {
|
|
799
|
+
case "starRowsCount": return self.starRowsCount
|
|
800
|
+
case "autoRowsCount": return self.autoRowsCount
|
|
801
|
+
case "getColumnSpan": return FunctionCell_none_to_Double.script("getColumnSpan", 0, self.getColumnSpan)
|
|
802
|
+
case "setColumnSpan": return FunctionCell_Double_to_Void.script("setColumnSpan", 1, self.setColumnSpan)
|
|
803
|
+
default: break
|
|
804
|
+
}
|
|
805
|
+
case 14:
|
|
806
|
+
switch key {
|
|
807
|
+
case "getColumnIndex":
|
|
808
|
+
return FunctionCell_none_to_Double.script("getColumnIndex", 0, self.getColumnIndex)
|
|
809
|
+
case "setColumnIndex":
|
|
810
|
+
return FunctionCell_Double_to_Void.script("setColumnIndex", 1, self.setColumnIndex)
|
|
811
|
+
default: break
|
|
812
|
+
}
|
|
813
|
+
case 16:
|
|
814
|
+
switch key {
|
|
815
|
+
case "starColumnsCount": return self.starColumnsCount
|
|
816
|
+
case "autoColumnsCount": return self.autoColumnsCount
|
|
817
|
+
default: break
|
|
818
|
+
}
|
|
819
|
+
default: break
|
|
820
|
+
}
|
|
821
|
+
return jsExpandoGet(self, key)
|
|
822
|
+
}
|
|
823
|
+
set {
|
|
824
|
+
switch key.utf8.count {
|
|
825
|
+
case 5:
|
|
826
|
+
switch key {
|
|
827
|
+
case "child":
|
|
828
|
+
jsStoring { self.child = (try jsCast(newValue, View.self)) }
|
|
829
|
+
return
|
|
830
|
+
default: break
|
|
831
|
+
}
|
|
832
|
+
case 8:
|
|
833
|
+
switch key {
|
|
834
|
+
case "_rowSpan":
|
|
835
|
+
jsStoring { self._rowSpan = (try jsConvertedNumber(newValue)) }
|
|
836
|
+
return
|
|
837
|
+
case "measured":
|
|
838
|
+
jsStoring { self.measured = (try jsConvertedBool(newValue)) }
|
|
839
|
+
return
|
|
840
|
+
case "rowIndex":
|
|
841
|
+
jsStoring { self.rowIndex = (try jsConvertedNumber(newValue)) }
|
|
842
|
+
return
|
|
843
|
+
default: break
|
|
844
|
+
}
|
|
845
|
+
case 10:
|
|
846
|
+
switch key {
|
|
847
|
+
case "pixelWidth":
|
|
848
|
+
jsStoring { self.pixelWidth = (try jsConvertedNumber(newValue)) }
|
|
849
|
+
return
|
|
850
|
+
default: break
|
|
851
|
+
}
|
|
852
|
+
case 11:
|
|
853
|
+
switch key {
|
|
854
|
+
case "_columnSpan":
|
|
855
|
+
jsStoring { self._columnSpan = (try jsConvertedNumber(newValue)) }
|
|
856
|
+
return
|
|
857
|
+
case "pixelHeight":
|
|
858
|
+
jsStoring { self.pixelHeight = (try jsConvertedNumber(newValue)) }
|
|
859
|
+
return
|
|
860
|
+
case "columnIndex":
|
|
861
|
+
jsStoring { self.columnIndex = (try jsConvertedNumber(newValue)) }
|
|
862
|
+
return
|
|
863
|
+
default: break
|
|
864
|
+
}
|
|
865
|
+
case 13:
|
|
866
|
+
switch key {
|
|
867
|
+
case "starRowsCount":
|
|
868
|
+
jsStoring { self.starRowsCount = (try jsConvertedNumber(newValue)) }
|
|
869
|
+
return
|
|
870
|
+
case "autoRowsCount":
|
|
871
|
+
jsStoring { self.autoRowsCount = (try jsConvertedNumber(newValue)) }
|
|
872
|
+
return
|
|
873
|
+
default: break
|
|
874
|
+
}
|
|
875
|
+
case 16:
|
|
876
|
+
switch key {
|
|
877
|
+
case "starColumnsCount":
|
|
878
|
+
jsStoring { self.starColumnsCount = (try jsConvertedNumber(newValue)) }
|
|
879
|
+
return
|
|
880
|
+
case "autoColumnsCount":
|
|
881
|
+
jsStoring { self.autoColumnsCount = (try jsConvertedNumber(newValue)) }
|
|
882
|
+
return
|
|
883
|
+
default: break
|
|
884
|
+
}
|
|
885
|
+
default: break
|
|
886
|
+
}
|
|
887
|
+
jsExpandoSet(self, key, newValue)
|
|
888
|
+
}
|
|
889
|
+
}
|
|
890
|
+
open class var jsName: String { "MeasureSpecs" }
|
|
891
|
+
open class var jsStaticKeys: [String] { [] }
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
open class ItemGroup: JSDynamic, JSExpando, JSStaticKeyed {
|
|
895
|
+
nonisolated deinit {}
|
|
896
|
+
open var length: Double = 0
|
|
897
|
+
open var measuredCount: Double = 0
|
|
898
|
+
open var rowOrColumn: ItemSpec?
|
|
899
|
+
open var children: JSArray<MeasureSpecs>? = JSArray<MeasureSpecs>()
|
|
900
|
+
open var measureToFix: Double = 0
|
|
901
|
+
open var currentMeasureToFixCount: Double = 0
|
|
902
|
+
open var infinityLength: Bool = false
|
|
903
|
+
public init(_ spec: ItemSpec?) {
|
|
904
|
+
self.children = JSArray<MeasureSpecs>()
|
|
905
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:326)
|
|
906
|
+
self.rowOrColumn = spec
|
|
907
|
+
}
|
|
908
|
+
#sourceLocation()
|
|
909
|
+
open func jsSymbolMethod(_ key: String) -> JSMethod? {
|
|
910
|
+
return nil
|
|
911
|
+
}
|
|
912
|
+
open class var jsSymbolPlain: Bool { true }
|
|
913
|
+
open class var jsSymbolFieldsPlain: Bool { true }
|
|
914
|
+
open var jsExpando: JSObject?
|
|
915
|
+
open var jsSymbolKeys: [String] { jsExpando?.jsSymbolKeys ?? [] }
|
|
916
|
+
open func jsDeleteOwn(_ key: String) -> Bool { jsExpando?.delete(key) ?? true }
|
|
917
|
+
open func setIsLengthInfinity(_ infinityLength: Bool) {
|
|
918
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:330)
|
|
919
|
+
self.infinityLength = infinityLength
|
|
920
|
+
}
|
|
921
|
+
#sourceLocation()
|
|
922
|
+
open func `init`(_ density: Any?) throws {
|
|
923
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:334)
|
|
924
|
+
self.measuredCount = 0
|
|
925
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:335)
|
|
926
|
+
self.currentMeasureToFixCount = 0
|
|
927
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:336)
|
|
928
|
+
self.length =
|
|
929
|
+
try
|
|
930
|
+
(jsUnwrap(self.rowOrColumn, "isAbsolute").isAbsolute
|
|
931
|
+
? jsMultiplyThrowing(jsUnwrap(self.rowOrColumn, "value").value, density) : 0)
|
|
932
|
+
}
|
|
933
|
+
#sourceLocation()
|
|
934
|
+
open func getAllMeasured() throws -> Bool {
|
|
935
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:340)
|
|
936
|
+
return try jsLenientNumberEquals(self.measuredCount, jsUnwrap(self.children, "length").length)
|
|
937
|
+
}
|
|
938
|
+
#sourceLocation()
|
|
939
|
+
open func getCanBeFixed() -> Bool {
|
|
940
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:344)
|
|
941
|
+
return jsLenientNumberEquals(self.currentMeasureToFixCount, self.measureToFix)
|
|
942
|
+
}
|
|
943
|
+
#sourceLocation()
|
|
944
|
+
open func getIsAuto() throws -> Bool {
|
|
945
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:348)
|
|
946
|
+
return try jsUnwrap(self.rowOrColumn, "isAuto").isAuto
|
|
947
|
+
|| (jsUnwrap(self.rowOrColumn, "isStar").isStar && self.infinityLength)
|
|
948
|
+
}
|
|
949
|
+
#sourceLocation()
|
|
950
|
+
open func getIsStar() throws -> Bool {
|
|
951
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:352)
|
|
952
|
+
return try jsUnwrap(self.rowOrColumn, "isStar").isStar && !self.infinityLength
|
|
953
|
+
}
|
|
954
|
+
#sourceLocation()
|
|
955
|
+
open func getIsAbsolute() throws -> Bool {
|
|
956
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:356)
|
|
957
|
+
return try jsUnwrap(self.rowOrColumn, "isAbsolute").isAbsolute
|
|
958
|
+
}
|
|
959
|
+
#sourceLocation()
|
|
960
|
+
open var jsKeys: [String] {
|
|
961
|
+
["length"] + ["measuredCount"] + ["children"] + ["measureToFix"] + ["currentMeasureToFixCount"] + [
|
|
962
|
+
"infinityLength"
|
|
963
|
+
] + ["rowOrColumn"] + (jsExpando?.jsKeys ?? [])
|
|
964
|
+
}
|
|
965
|
+
open var jsClassName: String? { "ItemGroup" }
|
|
966
|
+
open subscript(jsKey key: String) -> Any? {
|
|
967
|
+
get {
|
|
968
|
+
switch key.utf8.count {
|
|
969
|
+
case 4:
|
|
970
|
+
switch key {
|
|
971
|
+
case "init": return FunctionCell_AnyOpt_to_Void.script("init", 1, self.`init`)
|
|
972
|
+
default: break
|
|
973
|
+
}
|
|
974
|
+
case 6:
|
|
975
|
+
switch key {
|
|
976
|
+
case "length": return self.length
|
|
977
|
+
default: break
|
|
978
|
+
}
|
|
979
|
+
case 8:
|
|
980
|
+
switch key {
|
|
981
|
+
case "children": return self.children
|
|
982
|
+
default: break
|
|
983
|
+
}
|
|
984
|
+
case 9:
|
|
985
|
+
switch key {
|
|
986
|
+
case "getIsAuto": return FunctionCell_none_to_Bool.script("getIsAuto", 0, self.getIsAuto)
|
|
987
|
+
case "getIsStar": return FunctionCell_none_to_Bool.script("getIsStar", 0, self.getIsStar)
|
|
988
|
+
default: break
|
|
989
|
+
}
|
|
990
|
+
case 11:
|
|
991
|
+
switch key {
|
|
992
|
+
case "rowOrColumn": return self.rowOrColumn
|
|
993
|
+
default: break
|
|
994
|
+
}
|
|
995
|
+
case 12:
|
|
996
|
+
switch key {
|
|
997
|
+
case "measureToFix": return self.measureToFix
|
|
998
|
+
default: break
|
|
999
|
+
}
|
|
1000
|
+
case 13:
|
|
1001
|
+
switch key {
|
|
1002
|
+
case "measuredCount": return self.measuredCount
|
|
1003
|
+
case "getCanBeFixed": return FunctionCell_none_to_Bool.script("getCanBeFixed", 0, self.getCanBeFixed)
|
|
1004
|
+
case "getIsAbsolute": return FunctionCell_none_to_Bool.script("getIsAbsolute", 0, self.getIsAbsolute)
|
|
1005
|
+
default: break
|
|
1006
|
+
}
|
|
1007
|
+
case 14:
|
|
1008
|
+
switch key {
|
|
1009
|
+
case "infinityLength": return self.infinityLength
|
|
1010
|
+
case "getAllMeasured": return FunctionCell_none_to_Bool.script("getAllMeasured", 0, self.getAllMeasured)
|
|
1011
|
+
default: break
|
|
1012
|
+
}
|
|
1013
|
+
case 19:
|
|
1014
|
+
switch key {
|
|
1015
|
+
case "setIsLengthInfinity":
|
|
1016
|
+
return FunctionCell_Bool_to_Void.script("setIsLengthInfinity", 1, self.setIsLengthInfinity)
|
|
1017
|
+
default: break
|
|
1018
|
+
}
|
|
1019
|
+
case 24:
|
|
1020
|
+
switch key {
|
|
1021
|
+
case "currentMeasureToFixCount": return self.currentMeasureToFixCount
|
|
1022
|
+
default: break
|
|
1023
|
+
}
|
|
1024
|
+
default: break
|
|
1025
|
+
}
|
|
1026
|
+
return jsExpandoGet(self, key)
|
|
1027
|
+
}
|
|
1028
|
+
set {
|
|
1029
|
+
switch key.utf8.count {
|
|
1030
|
+
case 6:
|
|
1031
|
+
switch key {
|
|
1032
|
+
case "length":
|
|
1033
|
+
jsStoring { self.length = (try jsConvertedNumber(newValue)) }
|
|
1034
|
+
return
|
|
1035
|
+
default: break
|
|
1036
|
+
}
|
|
1037
|
+
case 8:
|
|
1038
|
+
switch key {
|
|
1039
|
+
case "children":
|
|
1040
|
+
jsStoring {
|
|
1041
|
+
self.children = try jsArrayOrNil(
|
|
1042
|
+
newValue, as: JSArray<MeasureSpecs>.self, { try (jsCastPresent($0) as MeasureSpecs) })
|
|
1043
|
+
}
|
|
1044
|
+
return
|
|
1045
|
+
default: break
|
|
1046
|
+
}
|
|
1047
|
+
case 11:
|
|
1048
|
+
switch key {
|
|
1049
|
+
case "rowOrColumn":
|
|
1050
|
+
jsStoring { self.rowOrColumn = (try jsCast(newValue, ItemSpec.self)) }
|
|
1051
|
+
return
|
|
1052
|
+
default: break
|
|
1053
|
+
}
|
|
1054
|
+
case 12:
|
|
1055
|
+
switch key {
|
|
1056
|
+
case "measureToFix":
|
|
1057
|
+
jsStoring { self.measureToFix = (try jsConvertedNumber(newValue)) }
|
|
1058
|
+
return
|
|
1059
|
+
default: break
|
|
1060
|
+
}
|
|
1061
|
+
case 13:
|
|
1062
|
+
switch key {
|
|
1063
|
+
case "measuredCount":
|
|
1064
|
+
jsStoring { self.measuredCount = (try jsConvertedNumber(newValue)) }
|
|
1065
|
+
return
|
|
1066
|
+
default: break
|
|
1067
|
+
}
|
|
1068
|
+
case 14:
|
|
1069
|
+
switch key {
|
|
1070
|
+
case "infinityLength":
|
|
1071
|
+
jsStoring { self.infinityLength = (try jsConvertedBool(newValue)) }
|
|
1072
|
+
return
|
|
1073
|
+
default: break
|
|
1074
|
+
}
|
|
1075
|
+
case 24:
|
|
1076
|
+
switch key {
|
|
1077
|
+
case "currentMeasureToFixCount":
|
|
1078
|
+
jsStoring { self.currentMeasureToFixCount = (try jsConvertedNumber(newValue)) }
|
|
1079
|
+
return
|
|
1080
|
+
default: break
|
|
1081
|
+
}
|
|
1082
|
+
default: break
|
|
1083
|
+
}
|
|
1084
|
+
jsExpandoSet(self, key, newValue)
|
|
1085
|
+
}
|
|
1086
|
+
}
|
|
1087
|
+
open class var jsName: String { "ItemGroup" }
|
|
1088
|
+
open class var jsStaticKeys: [String] { [] }
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
open class MeasureHelper: JSDynamic, JSExpando, JSStaticKeyed {
|
|
1092
|
+
nonisolated deinit {}
|
|
1093
|
+
open var singleRow: ItemSpec?
|
|
1094
|
+
open var singleColumn: ItemSpec?
|
|
1095
|
+
open var grid: GridLayout?
|
|
1096
|
+
open var infinity: Double = .nan
|
|
1097
|
+
open var rows: JSArray<ItemGroup>? = JSArray<ItemGroup>()
|
|
1098
|
+
open var columns: JSArray<ItemGroup>? = JSArray<ItemGroup>()
|
|
1099
|
+
private static let jsSite_MeasureHelper_width = JSReadSite("width")
|
|
1100
|
+
open var width: Double {
|
|
1101
|
+
get { jsLenientNumber(jsExpandoGet(self, MeasureHelper.jsSite_MeasureHelper_width)) }
|
|
1102
|
+
set { jsExpandoSet(self, "width", newValue) }
|
|
1103
|
+
}
|
|
1104
|
+
private static let jsSite_MeasureHelper_height = JSReadSite("height")
|
|
1105
|
+
open var height: Double {
|
|
1106
|
+
get { jsLenientNumber(jsExpandoGet(self, MeasureHelper.jsSite_MeasureHelper_height)) }
|
|
1107
|
+
set { jsExpandoSet(self, "height", newValue) }
|
|
1108
|
+
}
|
|
1109
|
+
open var stretchedHorizontally: Bool = false
|
|
1110
|
+
open var stretchedVertically: Bool = false
|
|
1111
|
+
open var infinityWidth: Bool = false
|
|
1112
|
+
open var infinityHeight: Bool = false
|
|
1113
|
+
open var minColumnStarValue: Double = 0
|
|
1114
|
+
open var maxColumnStarValue: Double = 0
|
|
1115
|
+
open var minRowStarValue: Double = 0
|
|
1116
|
+
open var maxRowStarValue: Double = 0
|
|
1117
|
+
open var measuredWidth: Double = 0
|
|
1118
|
+
open var measuredHeight: Double = 0
|
|
1119
|
+
open var fakeRowAdded: Bool = false
|
|
1120
|
+
open var fakeColumnAdded: Bool = false
|
|
1121
|
+
open var singleRowGroup: ItemGroup?
|
|
1122
|
+
open var singleColumnGroup: ItemGroup?
|
|
1123
|
+
public init(_ grid: GridLayout?) throws {
|
|
1124
|
+
self.infinity = NativeScriptKit.layout.makeMeasureSpec(0, NativeScriptKit.layout.UNSPECIFIED)
|
|
1125
|
+
self.rows = JSArray<ItemGroup>()
|
|
1126
|
+
self.columns = JSArray<ItemGroup>()
|
|
1127
|
+
self.width = 0
|
|
1128
|
+
self.height = 0
|
|
1129
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:393)
|
|
1130
|
+
self.grid = grid
|
|
1131
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:394)
|
|
1132
|
+
self.singleRow = try ItemSpec(JSArray<Any?>([]))
|
|
1133
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:395)
|
|
1134
|
+
self.singleColumn = try ItemSpec(JSArray<Any?>([]))
|
|
1135
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:396)
|
|
1136
|
+
self.singleRowGroup = ItemGroup(self.singleRow)
|
|
1137
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:397)
|
|
1138
|
+
self.singleColumnGroup = ItemGroup(self.singleColumn)
|
|
1139
|
+
}
|
|
1140
|
+
#sourceLocation()
|
|
1141
|
+
open func jsSymbolMethod(_ key: String) -> JSMethod? {
|
|
1142
|
+
return nil
|
|
1143
|
+
}
|
|
1144
|
+
open class var jsSymbolPlain: Bool { true }
|
|
1145
|
+
open class var jsSymbolFieldsPlain: Bool { true }
|
|
1146
|
+
open var jsExpando: JSObject?
|
|
1147
|
+
open var jsSymbolKeys: [String] { jsExpando?.jsSymbolKeys ?? [] }
|
|
1148
|
+
open func jsDeleteOwn(_ key: String) -> Bool { jsExpando?.delete(key) ?? true }
|
|
1149
|
+
open func setInfinityWidth(_ value: Bool) throws {
|
|
1150
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:401)
|
|
1151
|
+
self.infinityWidth = value
|
|
1152
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:402)
|
|
1153
|
+
var i: Double = 0
|
|
1154
|
+
let size: Double = try jsUnwrap(self.columns, "length").length
|
|
1155
|
+
while i < size {
|
|
1156
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:403)
|
|
1157
|
+
let columnGroup: ItemGroup? = try jsUnwrap(self.columns, "i").element(i)
|
|
1158
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:404)
|
|
1159
|
+
try jsUnwrap(columnGroup, "setIsLengthInfinity").setIsLengthInfinity(value)
|
|
1160
|
+
i += 1
|
|
1161
|
+
}
|
|
1162
|
+
}
|
|
1163
|
+
#sourceLocation()
|
|
1164
|
+
open func setInfinityHeight(_ value: Bool) throws {
|
|
1165
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:409)
|
|
1166
|
+
self.infinityHeight = value
|
|
1167
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:410)
|
|
1168
|
+
var i: Double = 0
|
|
1169
|
+
let size: Double = try jsUnwrap(self.rows, "length").length
|
|
1170
|
+
while i < size {
|
|
1171
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:411)
|
|
1172
|
+
let rowGroup: ItemGroup? = try jsUnwrap(self.rows, "i").element(i)
|
|
1173
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:412)
|
|
1174
|
+
try jsUnwrap(rowGroup, "setIsLengthInfinity").setIsLengthInfinity(value)
|
|
1175
|
+
i += 1
|
|
1176
|
+
}
|
|
1177
|
+
}
|
|
1178
|
+
#sourceLocation()
|
|
1179
|
+
open func addMeasureSpec(_ measureSpec: MeasureSpecs?) throws {
|
|
1180
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:418)
|
|
1181
|
+
var size: Double =
|
|
1182
|
+
try jsUnwrap(measureSpec, "getColumnIndex").getColumnIndex()
|
|
1183
|
+
+ jsUnwrap(measureSpec, "getColumnSpan").getColumnSpan()
|
|
1184
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:419)
|
|
1185
|
+
do {
|
|
1186
|
+
var i: Double = try jsUnwrap(measureSpec, "getColumnIndex").getColumnIndex()
|
|
1187
|
+
while i < size {
|
|
1188
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:420)
|
|
1189
|
+
let columnGroup: ItemGroup? = try jsUnwrap(self.columns, "i").element(i)
|
|
1190
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:421)
|
|
1191
|
+
if try jsUnwrap(columnGroup, "getIsAuto").getIsAuto() {
|
|
1192
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:422)
|
|
1193
|
+
try jsUnwrap(measureSpec, "autoColumnsCount").autoColumnsCount += 1
|
|
1194
|
+
} else if try jsUnwrap(columnGroup, "getIsStar").getIsStar() {
|
|
1195
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:424)
|
|
1196
|
+
try jsUnwrap(measureSpec, "starColumnsCount").starColumnsCount +=
|
|
1197
|
+
jsUnwrap(jsUnwrap(columnGroup, "rowOrColumn").rowOrColumn, "value").value
|
|
1198
|
+
} else if try jsUnwrap(columnGroup, "getIsAbsolute").getIsAbsolute() {
|
|
1199
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:426)
|
|
1200
|
+
try jsUnwrap(measureSpec, "pixelWidth").pixelWidth += NativeScriptKit.layout.toDevicePixels(
|
|
1201
|
+
jsUnwrap(jsUnwrap(columnGroup, "rowOrColumn").rowOrColumn, "value").value)
|
|
1202
|
+
}
|
|
1203
|
+
i += 1
|
|
1204
|
+
}
|
|
1205
|
+
}
|
|
1206
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:430)
|
|
1207
|
+
if try jsUnwrap(measureSpec, "autoColumnsCount").autoColumnsCount > 0
|
|
1208
|
+
&& jsUnwrap(measureSpec, "starColumnsCount").starColumnsCount == 0
|
|
1209
|
+
{
|
|
1210
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:432)
|
|
1211
|
+
var i: Double = try jsUnwrap(measureSpec, "getColumnIndex").getColumnIndex()
|
|
1212
|
+
while i < size {
|
|
1213
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:433)
|
|
1214
|
+
let columnGroup: ItemGroup? = try jsUnwrap(self.columns, "i").element(i)
|
|
1215
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:434)
|
|
1216
|
+
if try jsUnwrap(columnGroup, "getIsAuto").getIsAuto() {
|
|
1217
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:435)
|
|
1218
|
+
try jsUnwrap(columnGroup, "measureToFix").measureToFix += 1
|
|
1219
|
+
}
|
|
1220
|
+
i += 1
|
|
1221
|
+
}
|
|
1222
|
+
}
|
|
1223
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:441)
|
|
1224
|
+
size = try jsUnwrap(measureSpec, "getRowIndex").getRowIndex() + jsUnwrap(measureSpec, "getRowSpan").getRowSpan()
|
|
1225
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:442)
|
|
1226
|
+
do {
|
|
1227
|
+
var i: Double = try jsUnwrap(measureSpec, "getRowIndex").getRowIndex()
|
|
1228
|
+
while i < size {
|
|
1229
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:443)
|
|
1230
|
+
let rowGroup: ItemGroup? = try jsUnwrap(self.rows, "i").element(i)
|
|
1231
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:444)
|
|
1232
|
+
if try jsUnwrap(rowGroup, "getIsAuto").getIsAuto() {
|
|
1233
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:445)
|
|
1234
|
+
try jsUnwrap(measureSpec, "autoRowsCount").autoRowsCount += 1
|
|
1235
|
+
} else if try jsUnwrap(rowGroup, "getIsStar").getIsStar() {
|
|
1236
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:447)
|
|
1237
|
+
try jsUnwrap(measureSpec, "starRowsCount").starRowsCount +=
|
|
1238
|
+
jsUnwrap(jsUnwrap(rowGroup, "rowOrColumn").rowOrColumn, "value").value
|
|
1239
|
+
} else if try jsUnwrap(rowGroup, "getIsAbsolute").getIsAbsolute() {
|
|
1240
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:449)
|
|
1241
|
+
try jsUnwrap(measureSpec, "pixelHeight").pixelHeight += NativeScriptKit.layout.toDevicePixels(
|
|
1242
|
+
jsUnwrap(jsUnwrap(rowGroup, "rowOrColumn").rowOrColumn, "value").value)
|
|
1243
|
+
}
|
|
1244
|
+
i += 1
|
|
1245
|
+
}
|
|
1246
|
+
}
|
|
1247
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:453)
|
|
1248
|
+
if try jsUnwrap(measureSpec, "autoRowsCount").autoRowsCount > 0
|
|
1249
|
+
&& jsUnwrap(measureSpec, "starRowsCount").starRowsCount == 0
|
|
1250
|
+
{
|
|
1251
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:455)
|
|
1252
|
+
var i: Double = try jsUnwrap(measureSpec, "getRowIndex").getRowIndex()
|
|
1253
|
+
while i < size {
|
|
1254
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:456)
|
|
1255
|
+
let rowGroup: ItemGroup? = try jsUnwrap(self.rows, "i").element(i)
|
|
1256
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:457)
|
|
1257
|
+
if try jsUnwrap(rowGroup, "getIsAuto").getIsAuto() {
|
|
1258
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:458)
|
|
1259
|
+
try jsUnwrap(rowGroup, "measureToFix").measureToFix += 1
|
|
1260
|
+
}
|
|
1261
|
+
i += 1
|
|
1262
|
+
}
|
|
1263
|
+
}
|
|
1264
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:463)
|
|
1265
|
+
_ = try jsUnwrap(
|
|
1266
|
+
jsUnwrap(
|
|
1267
|
+
jsUnwrap(self.columns, "measureSpec.getColumnIndex()").element(
|
|
1268
|
+
jsUnwrap(measureSpec, "getColumnIndex").getColumnIndex()), "children"
|
|
1269
|
+
).children, "push"
|
|
1270
|
+
).push(jsObjectRequired(measureSpec))
|
|
1271
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:464)
|
|
1272
|
+
_ = try jsUnwrap(
|
|
1273
|
+
jsUnwrap(
|
|
1274
|
+
jsUnwrap(self.rows, "measureSpec.getRowIndex()").element(
|
|
1275
|
+
jsUnwrap(measureSpec, "getRowIndex").getRowIndex()), "children"
|
|
1276
|
+
).children, "push"
|
|
1277
|
+
).push(jsObjectRequired(measureSpec))
|
|
1278
|
+
}
|
|
1279
|
+
#sourceLocation()
|
|
1280
|
+
open func clearMeasureSpecs() throws {
|
|
1281
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:468)
|
|
1282
|
+
do {
|
|
1283
|
+
var i: Double = 0
|
|
1284
|
+
let size: Double = try jsUnwrap(self.columns, "length").length
|
|
1285
|
+
while i < size {
|
|
1286
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:469)
|
|
1287
|
+
try jsUnwrap(jsUnwrap(jsUnwrap(self.columns, "i").element(i), "children").children, setting: "length")
|
|
1288
|
+
.length = 0
|
|
1289
|
+
i += 1
|
|
1290
|
+
}
|
|
1291
|
+
}
|
|
1292
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:472)
|
|
1293
|
+
do {
|
|
1294
|
+
var i: Double = 0
|
|
1295
|
+
let size: Double = try jsUnwrap(self.rows, "length").length
|
|
1296
|
+
while i < size {
|
|
1297
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:473)
|
|
1298
|
+
try jsUnwrap(jsUnwrap(jsUnwrap(self.rows, "i").element(i), "children").children, setting: "length")
|
|
1299
|
+
.length = 0
|
|
1300
|
+
i += 1
|
|
1301
|
+
}
|
|
1302
|
+
}
|
|
1303
|
+
}
|
|
1304
|
+
#sourceLocation()
|
|
1305
|
+
open class func initList(_ list: JSArray<ItemGroup>?) throws {
|
|
1306
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:478)
|
|
1307
|
+
let density: Double = try NativeScriptKit.layout.getDisplayDensity()
|
|
1308
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:479)
|
|
1309
|
+
var i: Double = 0
|
|
1310
|
+
let size: Double = try jsUnwrap(list, "length").length
|
|
1311
|
+
while i < size {
|
|
1312
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:480)
|
|
1313
|
+
let item: ItemGroup? = try jsUnwrap(list, "i").element(i)
|
|
1314
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:481)
|
|
1315
|
+
try jsUnwrap(item, "init").`init`(density)
|
|
1316
|
+
i += 1
|
|
1317
|
+
}
|
|
1318
|
+
}
|
|
1319
|
+
#sourceLocation()
|
|
1320
|
+
open func `init`() throws {
|
|
1321
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:486)
|
|
1322
|
+
let rows: Double = try jsUnwrap(self.rows, "length").length
|
|
1323
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:487)
|
|
1324
|
+
if rows == 0 {
|
|
1325
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:488)
|
|
1326
|
+
try jsUnwrap(self.singleRowGroup, "setIsLengthInfinity").setIsLengthInfinity(self.infinityHeight)
|
|
1327
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:489)
|
|
1328
|
+
_ = try jsUnwrap(self.rows, "push").push(jsObjectRequired(self.singleRowGroup))
|
|
1329
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:490)
|
|
1330
|
+
self.fakeRowAdded = true
|
|
1331
|
+
} else if rows > 1 && self.fakeRowAdded {
|
|
1332
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:492)
|
|
1333
|
+
_ = try jsUnwrap(self.rows, "splice").splice(0, 1)
|
|
1334
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:493)
|
|
1335
|
+
self.fakeRowAdded = false
|
|
1336
|
+
}
|
|
1337
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:496)
|
|
1338
|
+
let cols: Double = try jsUnwrap(self.columns, "length").length
|
|
1339
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:497)
|
|
1340
|
+
if cols == 0 {
|
|
1341
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:498)
|
|
1342
|
+
self.fakeColumnAdded = true
|
|
1343
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:499)
|
|
1344
|
+
try jsUnwrap(self.singleColumnGroup, "setIsLengthInfinity").setIsLengthInfinity(self.infinityWidth)
|
|
1345
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:500)
|
|
1346
|
+
_ = try jsUnwrap(self.columns, "push").push(jsObjectRequired(self.singleColumnGroup))
|
|
1347
|
+
} else if cols > 1 && self.fakeColumnAdded {
|
|
1348
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:502)
|
|
1349
|
+
_ = try jsUnwrap(self.columns, "splice").splice(0, 1)
|
|
1350
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:503)
|
|
1351
|
+
self.fakeColumnAdded = false
|
|
1352
|
+
}
|
|
1353
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:506)
|
|
1354
|
+
try MeasureHelper.initList(self.rows)
|
|
1355
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:507)
|
|
1356
|
+
try MeasureHelper.initList(self.columns)
|
|
1357
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:509)
|
|
1358
|
+
self.minColumnStarValue = -1
|
|
1359
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:510)
|
|
1360
|
+
self.minRowStarValue = -1
|
|
1361
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:511)
|
|
1362
|
+
self.maxColumnStarValue = -1
|
|
1363
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:512)
|
|
1364
|
+
self.maxRowStarValue = -1
|
|
1365
|
+
}
|
|
1366
|
+
#sourceLocation()
|
|
1367
|
+
open func itemMeasured(_ measureSpec: MeasureSpecs?, _ isFakeMeasure: Bool) throws {
|
|
1368
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:516)
|
|
1369
|
+
if !isFakeMeasure {
|
|
1370
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:517)
|
|
1371
|
+
do {
|
|
1372
|
+
let __o_1 = try jsUnwrap(
|
|
1373
|
+
jsUnwrap(self.columns, "measureSpec.getColumnIndex()").element(
|
|
1374
|
+
jsUnwrap(measureSpec, "getColumnIndex").getColumnIndex()), "measuredCount")
|
|
1375
|
+
try __o_1.measuredCount += 1
|
|
1376
|
+
}
|
|
1377
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:518)
|
|
1378
|
+
do {
|
|
1379
|
+
let __o_2 = try jsUnwrap(
|
|
1380
|
+
jsUnwrap(self.rows, "measureSpec.getRowIndex()").element(
|
|
1381
|
+
jsUnwrap(measureSpec, "getRowIndex").getRowIndex()), "measuredCount")
|
|
1382
|
+
try __o_2.measuredCount += 1
|
|
1383
|
+
}
|
|
1384
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:519)
|
|
1385
|
+
try jsUnwrap(measureSpec, setting: "measured").measured = true
|
|
1386
|
+
}
|
|
1387
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:522)
|
|
1388
|
+
if try jsUnwrap(measureSpec, "autoColumnsCount").autoColumnsCount > 0
|
|
1389
|
+
&& jsUnwrap(measureSpec, "starColumnsCount").starColumnsCount == 0
|
|
1390
|
+
{
|
|
1391
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:523)
|
|
1392
|
+
let size: Double =
|
|
1393
|
+
try jsUnwrap(measureSpec, "getColumnIndex").getColumnIndex()
|
|
1394
|
+
+ jsUnwrap(measureSpec, "getColumnSpan").getColumnSpan()
|
|
1395
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:524)
|
|
1396
|
+
var i: Double = try jsUnwrap(measureSpec, "getColumnIndex").getColumnIndex()
|
|
1397
|
+
while i < size {
|
|
1398
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:525)
|
|
1399
|
+
let columnGroup: ItemGroup? = try jsUnwrap(self.columns, "i").element(i)
|
|
1400
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:526)
|
|
1401
|
+
if try jsUnwrap(columnGroup, "getIsAuto").getIsAuto() {
|
|
1402
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:527)
|
|
1403
|
+
try jsUnwrap(columnGroup, "currentMeasureToFixCount").currentMeasureToFixCount += 1
|
|
1404
|
+
}
|
|
1405
|
+
i += 1
|
|
1406
|
+
}
|
|
1407
|
+
}
|
|
1408
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:532)
|
|
1409
|
+
if try jsUnwrap(measureSpec, "autoRowsCount").autoRowsCount > 0
|
|
1410
|
+
&& jsUnwrap(measureSpec, "starRowsCount").starRowsCount == 0
|
|
1411
|
+
{
|
|
1412
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:533)
|
|
1413
|
+
let size: Double =
|
|
1414
|
+
try jsUnwrap(measureSpec, "getRowIndex").getRowIndex()
|
|
1415
|
+
+ jsUnwrap(measureSpec, "getRowSpan").getRowSpan()
|
|
1416
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:534)
|
|
1417
|
+
var i: Double = try jsUnwrap(measureSpec, "getRowIndex").getRowIndex()
|
|
1418
|
+
while i < size {
|
|
1419
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:535)
|
|
1420
|
+
let rowGroup: ItemGroup? = try jsUnwrap(self.rows, "i").element(i)
|
|
1421
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:536)
|
|
1422
|
+
if try jsUnwrap(rowGroup, "getIsAuto").getIsAuto() {
|
|
1423
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:537)
|
|
1424
|
+
try jsUnwrap(rowGroup, "currentMeasureToFixCount").currentMeasureToFixCount += 1
|
|
1425
|
+
}
|
|
1426
|
+
i += 1
|
|
1427
|
+
}
|
|
1428
|
+
}
|
|
1429
|
+
}
|
|
1430
|
+
#sourceLocation()
|
|
1431
|
+
open func fixColumns() throws {
|
|
1432
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:544)
|
|
1433
|
+
var currentColumnWidth: Double = 0
|
|
1434
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:545)
|
|
1435
|
+
var columnStarCount: Double = 0
|
|
1436
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:547)
|
|
1437
|
+
let columnCount: Double = try jsUnwrap(self.columns, "length").length
|
|
1438
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:548)
|
|
1439
|
+
var i: Double = 0
|
|
1440
|
+
while i < columnCount {
|
|
1441
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:549)
|
|
1442
|
+
let item: ItemGroup? = try jsUnwrap(self.columns, "i").element(i)
|
|
1443
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:550)
|
|
1444
|
+
if try jsUnwrap(jsUnwrap(item, "rowOrColumn").rowOrColumn, "isStar").isStar {
|
|
1445
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:551)
|
|
1446
|
+
try columnStarCount += jsUnwrap(jsUnwrap(item, "rowOrColumn").rowOrColumn, "value").value
|
|
1447
|
+
} else {
|
|
1448
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:554)
|
|
1449
|
+
try currentColumnWidth += jsUnwrap(item, "length").length
|
|
1450
|
+
}
|
|
1451
|
+
i += 1
|
|
1452
|
+
}
|
|
1453
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:558)
|
|
1454
|
+
let widthForStarColumns: Double = jsMathMax(0, self.width - currentColumnWidth)
|
|
1455
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:559)
|
|
1456
|
+
self.maxColumnStarValue = (columnStarCount > 0 ? widthForStarColumns / columnStarCount : 0)
|
|
1457
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:561)
|
|
1458
|
+
try MeasureHelper.updateStarLength(self.columns, self.maxColumnStarValue)
|
|
1459
|
+
}
|
|
1460
|
+
#sourceLocation()
|
|
1461
|
+
open func fixRows() throws {
|
|
1462
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:565)
|
|
1463
|
+
var currentRowHeight: Double = 0
|
|
1464
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:566)
|
|
1465
|
+
var rowStarCount: Double = 0
|
|
1466
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:568)
|
|
1467
|
+
let rowCount: Double = try jsUnwrap(self.rows, "length").length
|
|
1468
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:569)
|
|
1469
|
+
var i: Double = 0
|
|
1470
|
+
while i < rowCount {
|
|
1471
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:570)
|
|
1472
|
+
let item: ItemGroup? = try jsUnwrap(self.rows, "i").element(i)
|
|
1473
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:571)
|
|
1474
|
+
if try jsUnwrap(jsUnwrap(item, "rowOrColumn").rowOrColumn, "isStar").isStar {
|
|
1475
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:572)
|
|
1476
|
+
try rowStarCount += jsUnwrap(jsUnwrap(item, "rowOrColumn").rowOrColumn, "value").value
|
|
1477
|
+
} else {
|
|
1478
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:575)
|
|
1479
|
+
try currentRowHeight += jsUnwrap(item, "length").length
|
|
1480
|
+
}
|
|
1481
|
+
i += 1
|
|
1482
|
+
}
|
|
1483
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:579)
|
|
1484
|
+
let heightForStarRows: Double = jsMathMax(0, self.height - currentRowHeight)
|
|
1485
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:580)
|
|
1486
|
+
self.maxRowStarValue = (rowStarCount > 0 ? heightForStarRows / rowStarCount : 0)
|
|
1487
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:582)
|
|
1488
|
+
try MeasureHelper.updateStarLength(self.rows, self.maxRowStarValue)
|
|
1489
|
+
}
|
|
1490
|
+
#sourceLocation()
|
|
1491
|
+
open class func updateStarLength(_ list: JSArray<ItemGroup>?, _ starValue: Double) throws {
|
|
1492
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:586)
|
|
1493
|
+
var offset: Double = 0
|
|
1494
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:587)
|
|
1495
|
+
var roundedOffset: Double = 0
|
|
1496
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:588)
|
|
1497
|
+
var i: Double = 0
|
|
1498
|
+
let rowCount: Double = try jsUnwrap(list, "length").length
|
|
1499
|
+
while i < rowCount {
|
|
1500
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:589)
|
|
1501
|
+
let item: ItemGroup? = try jsUnwrap(list, "i").element(i)
|
|
1502
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:590)
|
|
1503
|
+
if try jsUnwrap(item, "getIsStar").getIsStar() {
|
|
1504
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:591)
|
|
1505
|
+
try offset += jsUnwrap(jsUnwrap(item, "rowOrColumn").rowOrColumn, "value").value * starValue
|
|
1506
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:593)
|
|
1507
|
+
let actualLength: Double = offset - roundedOffset
|
|
1508
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:594)
|
|
1509
|
+
let roundedLength: Double = jsRound(actualLength)
|
|
1510
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:595)
|
|
1511
|
+
try jsUnwrap(item, setting: "length").length = roundedLength
|
|
1512
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:596)
|
|
1513
|
+
roundedOffset += roundedLength
|
|
1514
|
+
}
|
|
1515
|
+
i += 1
|
|
1516
|
+
}
|
|
1517
|
+
}
|
|
1518
|
+
#sourceLocation()
|
|
1519
|
+
open func fakeMeasure() throws {
|
|
1520
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:603)
|
|
1521
|
+
var i: Double = 0
|
|
1522
|
+
let size: Double = try jsUnwrap(self.columns, "length").length
|
|
1523
|
+
var __first1 = true
|
|
1524
|
+
while true {
|
|
1525
|
+
if !__first1 { i += 1 }
|
|
1526
|
+
__first1 = false
|
|
1527
|
+
if !(i < size) { break }
|
|
1528
|
+
do {
|
|
1529
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:604)
|
|
1530
|
+
let columnGroup: ItemGroup? = try jsUnwrap(self.columns, "i").element(i)
|
|
1531
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:605)
|
|
1532
|
+
if try jsUnwrap(columnGroup, "getAllMeasured").getAllMeasured() {
|
|
1533
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:606)
|
|
1534
|
+
continue
|
|
1535
|
+
}
|
|
1536
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:609)
|
|
1537
|
+
var j: Double = 0
|
|
1538
|
+
let childrenCount: Double = try jsUnwrap(jsUnwrap(columnGroup, "children").children, "length").length
|
|
1539
|
+
while j < childrenCount {
|
|
1540
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:610)
|
|
1541
|
+
let measureSpec: MeasureSpecs? = try jsUnwrap(jsUnwrap(columnGroup, "children").children, "j")
|
|
1542
|
+
.element(j)
|
|
1543
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:611)
|
|
1544
|
+
if try jsUnwrap(measureSpec, "starRowsCount").starRowsCount > 0
|
|
1545
|
+
&& jsUnwrap(measureSpec, "autoColumnsCount").autoColumnsCount > 0
|
|
1546
|
+
&& jsUnwrap(measureSpec, "starColumnsCount").starColumnsCount == 0
|
|
1547
|
+
{
|
|
1548
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:612)
|
|
1549
|
+
try self.measureChild(measureSpec, true)
|
|
1550
|
+
}
|
|
1551
|
+
j += 1
|
|
1552
|
+
}
|
|
1553
|
+
}
|
|
1554
|
+
}
|
|
1555
|
+
}
|
|
1556
|
+
#sourceLocation()
|
|
1557
|
+
open func measureFixedColumnsNoStarRows() throws {
|
|
1558
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:619)
|
|
1559
|
+
var i: Double = 0
|
|
1560
|
+
let size: Double = try jsUnwrap(self.columns, "length").length
|
|
1561
|
+
while i < size {
|
|
1562
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:620)
|
|
1563
|
+
let columnGroup: ItemGroup? = try jsUnwrap(self.columns, "i").element(i)
|
|
1564
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:621)
|
|
1565
|
+
var j: Double = 0
|
|
1566
|
+
let childrenCount: Double = try jsUnwrap(jsUnwrap(columnGroup, "children").children, "length").length
|
|
1567
|
+
while j < childrenCount {
|
|
1568
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:622)
|
|
1569
|
+
let measureSpec: MeasureSpecs? = try jsUnwrap(jsUnwrap(columnGroup, "children").children, "j").element(
|
|
1570
|
+
j)
|
|
1571
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:623)
|
|
1572
|
+
if try jsUnwrap(measureSpec, "starColumnsCount").starColumnsCount > 0
|
|
1573
|
+
&& jsUnwrap(measureSpec, "starRowsCount").starRowsCount == 0
|
|
1574
|
+
{
|
|
1575
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:624)
|
|
1576
|
+
try self.measureChildFixedColumns(measureSpec)
|
|
1577
|
+
}
|
|
1578
|
+
j += 1
|
|
1579
|
+
}
|
|
1580
|
+
i += 1
|
|
1581
|
+
}
|
|
1582
|
+
}
|
|
1583
|
+
#sourceLocation()
|
|
1584
|
+
open func measureNoStarColumnsFixedRows() throws {
|
|
1585
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:631)
|
|
1586
|
+
var i: Double = 0
|
|
1587
|
+
let size: Double = try jsUnwrap(self.columns, "length").length
|
|
1588
|
+
while i < size {
|
|
1589
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:632)
|
|
1590
|
+
let columnGroup: ItemGroup? = try jsUnwrap(self.columns, "i").element(i)
|
|
1591
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:633)
|
|
1592
|
+
var j: Double = 0
|
|
1593
|
+
let childrenCount: Double = try jsUnwrap(jsUnwrap(columnGroup, "children").children, "length").length
|
|
1594
|
+
while j < childrenCount {
|
|
1595
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:634)
|
|
1596
|
+
let measureSpec: MeasureSpecs? = try jsUnwrap(jsUnwrap(columnGroup, "children").children, "j").element(
|
|
1597
|
+
j)
|
|
1598
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:635)
|
|
1599
|
+
if try jsUnwrap(measureSpec, "starRowsCount").starRowsCount > 0
|
|
1600
|
+
&& jsUnwrap(measureSpec, "starColumnsCount").starColumnsCount == 0
|
|
1601
|
+
{
|
|
1602
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:636)
|
|
1603
|
+
try self.measureChildFixedRows(measureSpec)
|
|
1604
|
+
}
|
|
1605
|
+
j += 1
|
|
1606
|
+
}
|
|
1607
|
+
i += 1
|
|
1608
|
+
}
|
|
1609
|
+
}
|
|
1610
|
+
#sourceLocation()
|
|
1611
|
+
open class func canFix(_ list: JSArray<ItemGroup>?) throws -> Bool {
|
|
1612
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:643)
|
|
1613
|
+
var i: Double = 0
|
|
1614
|
+
let size: Double = try jsUnwrap(list, "length").length
|
|
1615
|
+
while i < size {
|
|
1616
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:644)
|
|
1617
|
+
let item: ItemGroup? = try jsUnwrap(list, "i").element(i)
|
|
1618
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:645)
|
|
1619
|
+
if try !(jsUnwrap(item, "getCanBeFixed").getCanBeFixed()) {
|
|
1620
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:646)
|
|
1621
|
+
return false
|
|
1622
|
+
}
|
|
1623
|
+
i += 1
|
|
1624
|
+
}
|
|
1625
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:650)
|
|
1626
|
+
return true
|
|
1627
|
+
}
|
|
1628
|
+
#sourceLocation()
|
|
1629
|
+
open class func getMeasureLength(_ list: JSArray<ItemGroup>?) throws -> Double {
|
|
1630
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:654)
|
|
1631
|
+
var result: Double = 0
|
|
1632
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:655)
|
|
1633
|
+
var i: Double = 0
|
|
1634
|
+
let size: Double = try jsUnwrap(list, "length").length
|
|
1635
|
+
while i < size {
|
|
1636
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:656)
|
|
1637
|
+
let item: ItemGroup? = try jsUnwrap(list, "i").element(i)
|
|
1638
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:657)
|
|
1639
|
+
try result += jsUnwrap(item, "length").length
|
|
1640
|
+
i += 1
|
|
1641
|
+
}
|
|
1642
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:660)
|
|
1643
|
+
return result
|
|
1644
|
+
}
|
|
1645
|
+
#sourceLocation()
|
|
1646
|
+
open func measure() throws {
|
|
1647
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:665)
|
|
1648
|
+
var size: Double = try jsUnwrap(self.columns, "length").length
|
|
1649
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:666)
|
|
1650
|
+
do {
|
|
1651
|
+
var i: Double = 0
|
|
1652
|
+
while i < size {
|
|
1653
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:667)
|
|
1654
|
+
let columnGroup: ItemGroup? = try jsUnwrap(self.columns, "i").element(i)
|
|
1655
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:668)
|
|
1656
|
+
var j: Double = 0
|
|
1657
|
+
let childrenCount: Double = try jsUnwrap(jsUnwrap(columnGroup, "children").children, "length").length
|
|
1658
|
+
var __first2 = true
|
|
1659
|
+
while true {
|
|
1660
|
+
if !__first2 { j += 1 }
|
|
1661
|
+
__first2 = false
|
|
1662
|
+
if !(j < childrenCount) { break }
|
|
1663
|
+
do {
|
|
1664
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:669)
|
|
1665
|
+
let measureSpec: MeasureSpecs? = try jsUnwrap(jsUnwrap(columnGroup, "children").children, "j")
|
|
1666
|
+
.element(j)
|
|
1667
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:670)
|
|
1668
|
+
if try jsUnwrap(measureSpec, "getIsStar").getIsStar()
|
|
1669
|
+
|| jsUnwrap(measureSpec, "getSpanned").getSpanned()
|
|
1670
|
+
{
|
|
1671
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:671)
|
|
1672
|
+
continue
|
|
1673
|
+
}
|
|
1674
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:674)
|
|
1675
|
+
try self.measureChild(measureSpec, false)
|
|
1676
|
+
}
|
|
1677
|
+
}
|
|
1678
|
+
i += 1
|
|
1679
|
+
}
|
|
1680
|
+
}
|
|
1681
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:679)
|
|
1682
|
+
do {
|
|
1683
|
+
var i: Double = 0
|
|
1684
|
+
while i < size {
|
|
1685
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:680)
|
|
1686
|
+
let columnGroup: ItemGroup? = try jsUnwrap(self.columns, "i").element(i)
|
|
1687
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:681)
|
|
1688
|
+
var j: Double = 0
|
|
1689
|
+
let childrenCount: Double = try jsUnwrap(jsUnwrap(columnGroup, "children").children, "length").length
|
|
1690
|
+
var __first3 = true
|
|
1691
|
+
while true {
|
|
1692
|
+
if !__first3 { j += 1 }
|
|
1693
|
+
__first3 = false
|
|
1694
|
+
if !(j < childrenCount) { break }
|
|
1695
|
+
do {
|
|
1696
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:682)
|
|
1697
|
+
let measureSpec: MeasureSpecs? = try jsUnwrap(jsUnwrap(columnGroup, "children").children, "j")
|
|
1698
|
+
.element(j)
|
|
1699
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:683)
|
|
1700
|
+
if try jsUnwrap(measureSpec, "getIsStar").getIsStar()
|
|
1701
|
+
|| !(jsUnwrap(measureSpec, "getSpanned").getSpanned())
|
|
1702
|
+
{
|
|
1703
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:684)
|
|
1704
|
+
continue
|
|
1705
|
+
}
|
|
1706
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:687)
|
|
1707
|
+
try self.measureChild(measureSpec, false)
|
|
1708
|
+
}
|
|
1709
|
+
}
|
|
1710
|
+
i += 1
|
|
1711
|
+
}
|
|
1712
|
+
}
|
|
1713
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:692)
|
|
1714
|
+
let fixColumns: Bool = try MeasureHelper.canFix(self.columns)
|
|
1715
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:693)
|
|
1716
|
+
let fixRows: Bool = try MeasureHelper.canFix(self.rows)
|
|
1717
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:695)
|
|
1718
|
+
if fixColumns {
|
|
1719
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:696)
|
|
1720
|
+
try self.fixColumns()
|
|
1721
|
+
}
|
|
1722
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:699)
|
|
1723
|
+
if fixRows {
|
|
1724
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:700)
|
|
1725
|
+
try self.fixRows()
|
|
1726
|
+
}
|
|
1727
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:703)
|
|
1728
|
+
if !fixColumns && !fixRows {
|
|
1729
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:706)
|
|
1730
|
+
try self.fakeMeasure()
|
|
1731
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:708)
|
|
1732
|
+
try self.fixColumns()
|
|
1733
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:711)
|
|
1734
|
+
try self.measureFixedColumnsNoStarRows()
|
|
1735
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:713)
|
|
1736
|
+
try self.fixRows()
|
|
1737
|
+
} else if fixColumns && !fixRows {
|
|
1738
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:716)
|
|
1739
|
+
try self.measureFixedColumnsNoStarRows()
|
|
1740
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:719)
|
|
1741
|
+
try self.fixRows()
|
|
1742
|
+
} else if !fixColumns && fixRows {
|
|
1743
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:722)
|
|
1744
|
+
try self.measureNoStarColumnsFixedRows()
|
|
1745
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:725)
|
|
1746
|
+
try self.fixColumns()
|
|
1747
|
+
}
|
|
1748
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:729)
|
|
1749
|
+
size = try jsUnwrap(self.columns, "length").length
|
|
1750
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:730)
|
|
1751
|
+
do {
|
|
1752
|
+
var i: Double = 0
|
|
1753
|
+
while i < size {
|
|
1754
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:731)
|
|
1755
|
+
let columnGroup: ItemGroup? = try jsUnwrap(self.columns, "i").element(i)
|
|
1756
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:732)
|
|
1757
|
+
var j: Double = 0
|
|
1758
|
+
let childCount: Double = try jsUnwrap(jsUnwrap(columnGroup, "children").children, "length").length
|
|
1759
|
+
while j < childCount {
|
|
1760
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:733)
|
|
1761
|
+
let measureSpec: MeasureSpecs? = try jsUnwrap(jsUnwrap(columnGroup, "children").children, "j")
|
|
1762
|
+
.element(j)
|
|
1763
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:734)
|
|
1764
|
+
if try !(jsUnwrap(measureSpec, "measured").measured) {
|
|
1765
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:735)
|
|
1766
|
+
try self.measureChildFixedColumnsAndRows(measureSpec)
|
|
1767
|
+
}
|
|
1768
|
+
j += 1
|
|
1769
|
+
}
|
|
1770
|
+
i += 1
|
|
1771
|
+
}
|
|
1772
|
+
}
|
|
1773
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:742)
|
|
1774
|
+
if !self.stretchedHorizontally && self.minColumnStarValue != -1
|
|
1775
|
+
&& self.minColumnStarValue < self.maxColumnStarValue
|
|
1776
|
+
{
|
|
1777
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:743)
|
|
1778
|
+
try MeasureHelper.updateStarLength(self.columns, self.minColumnStarValue)
|
|
1779
|
+
}
|
|
1780
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:748)
|
|
1781
|
+
if !self.stretchedVertically && self.minRowStarValue != -1 && self.minRowStarValue < self.maxRowStarValue {
|
|
1782
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:749)
|
|
1783
|
+
try MeasureHelper.updateStarLength(self.rows, self.minRowStarValue)
|
|
1784
|
+
}
|
|
1785
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:752)
|
|
1786
|
+
self.measuredWidth = try MeasureHelper.getMeasureLength(self.columns)
|
|
1787
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:753)
|
|
1788
|
+
self.measuredHeight = try MeasureHelper.getMeasureLength(self.rows)
|
|
1789
|
+
}
|
|
1790
|
+
#sourceLocation()
|
|
1791
|
+
open func measureChild(_ measureSpec: MeasureSpecs?, _ isFakeMeasure: Bool) throws {
|
|
1792
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:757)
|
|
1793
|
+
let widthMeasureSpec: Double =
|
|
1794
|
+
try
|
|
1795
|
+
(jsUnwrap(measureSpec, "autoColumnsCount").autoColumnsCount > 0
|
|
1796
|
+
? self.infinity
|
|
1797
|
+
: NativeScriptKit.layout.makeMeasureSpec(
|
|
1798
|
+
jsUnwrap(measureSpec, "pixelWidth").pixelWidth, NativeScriptKit.layout.EXACTLY))
|
|
1799
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:758)
|
|
1800
|
+
let heightMeasureSpec: Double =
|
|
1801
|
+
try
|
|
1802
|
+
(isFakeMeasure || jsUnwrap(measureSpec, "autoRowsCount").autoRowsCount > 0
|
|
1803
|
+
? self.infinity
|
|
1804
|
+
: NativeScriptKit.layout.makeMeasureSpec(
|
|
1805
|
+
jsUnwrap(measureSpec, "pixelHeight").pixelHeight, NativeScriptKit.layout.EXACTLY))
|
|
1806
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:760)
|
|
1807
|
+
let childSize: Any? = try View.measureChild(
|
|
1808
|
+
self.grid, jsUnwrap(measureSpec, "child").child, widthMeasureSpec, heightMeasureSpec)
|
|
1809
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:761)
|
|
1810
|
+
let childMeasuredWidth: Double = try jsConvertedNumber(jsGet(childSize, "measuredWidth"))
|
|
1811
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:762)
|
|
1812
|
+
let childMeasuredHeight: Double = try jsConvertedNumber(jsGet(childSize, "measuredHeight"))
|
|
1813
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:764)
|
|
1814
|
+
let columnSpanEnd: Double =
|
|
1815
|
+
try jsUnwrap(measureSpec, "getColumnIndex").getColumnIndex()
|
|
1816
|
+
+ jsUnwrap(measureSpec, "getColumnSpan").getColumnSpan()
|
|
1817
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:765)
|
|
1818
|
+
let rowSpanEnd: Double =
|
|
1819
|
+
try jsUnwrap(measureSpec, "getRowIndex").getRowIndex() + jsUnwrap(measureSpec, "getRowSpan").getRowSpan()
|
|
1820
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:767)
|
|
1821
|
+
if try jsUnwrap(measureSpec, "autoColumnsCount").autoColumnsCount > 0 {
|
|
1822
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:768)
|
|
1823
|
+
var remainingSpace: Double = childMeasuredWidth
|
|
1824
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:770)
|
|
1825
|
+
var i: Double = try jsUnwrap(measureSpec, "getColumnIndex").getColumnIndex()
|
|
1826
|
+
while i < columnSpanEnd {
|
|
1827
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:771)
|
|
1828
|
+
let columnGroup: ItemGroup? = try jsUnwrap(self.columns, "i").element(i)
|
|
1829
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:772)
|
|
1830
|
+
try remainingSpace -= jsUnwrap(columnGroup, "length").length
|
|
1831
|
+
i += 1
|
|
1832
|
+
}
|
|
1833
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:775)
|
|
1834
|
+
if remainingSpace > 0 {
|
|
1835
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:776)
|
|
1836
|
+
let growSize: Double = try remainingSpace / jsUnwrap(measureSpec, "autoColumnsCount").autoColumnsCount
|
|
1837
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:777)
|
|
1838
|
+
var i: Double = try jsUnwrap(measureSpec, "getColumnIndex").getColumnIndex()
|
|
1839
|
+
while i < columnSpanEnd {
|
|
1840
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:778)
|
|
1841
|
+
let columnGroup: ItemGroup? = try jsUnwrap(self.columns, "i").element(i)
|
|
1842
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:779)
|
|
1843
|
+
if try jsUnwrap(columnGroup, "getIsAuto").getIsAuto() {
|
|
1844
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:780)
|
|
1845
|
+
try jsUnwrap(columnGroup, "length").length += growSize
|
|
1846
|
+
}
|
|
1847
|
+
i += 1
|
|
1848
|
+
}
|
|
1849
|
+
}
|
|
1850
|
+
}
|
|
1851
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:786)
|
|
1852
|
+
if try !isFakeMeasure && jsUnwrap(measureSpec, "autoRowsCount").autoRowsCount > 0 {
|
|
1853
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:787)
|
|
1854
|
+
var remainingSpace: Double = childMeasuredHeight
|
|
1855
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:789)
|
|
1856
|
+
var i: Double = try jsUnwrap(measureSpec, "getRowIndex").getRowIndex()
|
|
1857
|
+
while i < rowSpanEnd {
|
|
1858
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:790)
|
|
1859
|
+
let rowGroup: ItemGroup? = try jsUnwrap(self.rows, "i").element(i)
|
|
1860
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:791)
|
|
1861
|
+
try remainingSpace -= jsUnwrap(rowGroup, "length").length
|
|
1862
|
+
i += 1
|
|
1863
|
+
}
|
|
1864
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:794)
|
|
1865
|
+
if remainingSpace > 0 {
|
|
1866
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:795)
|
|
1867
|
+
let growSize: Double = try remainingSpace / jsUnwrap(measureSpec, "autoRowsCount").autoRowsCount
|
|
1868
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:796)
|
|
1869
|
+
var i: Double = try jsUnwrap(measureSpec, "getRowIndex").getRowIndex()
|
|
1870
|
+
while i < rowSpanEnd {
|
|
1871
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:797)
|
|
1872
|
+
let rowGroup: ItemGroup? = try jsUnwrap(self.rows, "i").element(i)
|
|
1873
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:798)
|
|
1874
|
+
if try jsUnwrap(rowGroup, "getIsAuto").getIsAuto() {
|
|
1875
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:799)
|
|
1876
|
+
try jsUnwrap(rowGroup, "length").length += growSize
|
|
1877
|
+
}
|
|
1878
|
+
i += 1
|
|
1879
|
+
}
|
|
1880
|
+
}
|
|
1881
|
+
}
|
|
1882
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:805)
|
|
1883
|
+
try self.itemMeasured(measureSpec, isFakeMeasure)
|
|
1884
|
+
}
|
|
1885
|
+
#sourceLocation()
|
|
1886
|
+
open func measureChildFixedColumns(_ measureSpec: MeasureSpecs?) throws {
|
|
1887
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:809)
|
|
1888
|
+
let columnIndex: Double = try jsUnwrap(measureSpec, "getColumnIndex").getColumnIndex()
|
|
1889
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:810)
|
|
1890
|
+
let columnSpanEnd: Double = try columnIndex + jsUnwrap(measureSpec, "getColumnSpan").getColumnSpan()
|
|
1891
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:811)
|
|
1892
|
+
let rowIndex: Double = try jsUnwrap(measureSpec, "getRowIndex").getRowIndex()
|
|
1893
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:812)
|
|
1894
|
+
let rowSpanEnd: Double = try rowIndex + jsUnwrap(measureSpec, "getRowSpan").getRowSpan()
|
|
1895
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:814)
|
|
1896
|
+
var measureWidth: Double = 0
|
|
1897
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:815)
|
|
1898
|
+
var growSize: Double = 0
|
|
1899
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:817)
|
|
1900
|
+
var i: Double = columnIndex
|
|
1901
|
+
while i < columnSpanEnd {
|
|
1902
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:818)
|
|
1903
|
+
let columnGroup: ItemGroup? = try jsUnwrap(self.columns, "i").element(i)
|
|
1904
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:819)
|
|
1905
|
+
try measureWidth += jsUnwrap(columnGroup, "length").length
|
|
1906
|
+
i += 1
|
|
1907
|
+
}
|
|
1908
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:822)
|
|
1909
|
+
let widthMeasureSpec: Double = NativeScriptKit.layout.makeMeasureSpec(
|
|
1910
|
+
measureWidth, (self.stretchedHorizontally ? NativeScriptKit.layout.EXACTLY : NativeScriptKit.layout.AT_MOST)
|
|
1911
|
+
)
|
|
1912
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:823)
|
|
1913
|
+
let heightMeasureSpec: Double =
|
|
1914
|
+
try
|
|
1915
|
+
(jsUnwrap(measureSpec, "autoRowsCount").autoRowsCount > 0
|
|
1916
|
+
? self.infinity
|
|
1917
|
+
: NativeScriptKit.layout.makeMeasureSpec(
|
|
1918
|
+
jsUnwrap(measureSpec, "pixelHeight").pixelHeight, NativeScriptKit.layout.EXACTLY))
|
|
1919
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:825)
|
|
1920
|
+
let childSize: Any? = try View.measureChild(
|
|
1921
|
+
self.grid, jsUnwrap(measureSpec, "child").child, widthMeasureSpec, heightMeasureSpec)
|
|
1922
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:826)
|
|
1923
|
+
let childMeasuredWidth: Double = try jsConvertedNumber(jsGet(childSize, "measuredWidth"))
|
|
1924
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:827)
|
|
1925
|
+
let childMeasuredHeight: Double = try jsConvertedNumber(jsGet(childSize, "measuredHeight"))
|
|
1926
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:829)
|
|
1927
|
+
try self.updateMinColumnStarValueIfNeeded(measureSpec, childMeasuredWidth)
|
|
1928
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:832)
|
|
1929
|
+
if try jsUnwrap(measureSpec, "autoRowsCount").autoRowsCount > 0 {
|
|
1930
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:833)
|
|
1931
|
+
var remainingSpace: Double = childMeasuredHeight
|
|
1932
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:835)
|
|
1933
|
+
var i: Double = rowIndex
|
|
1934
|
+
while i < rowSpanEnd {
|
|
1935
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:836)
|
|
1936
|
+
let rowGroup: ItemGroup? = try jsUnwrap(self.rows, "i").element(i)
|
|
1937
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:837)
|
|
1938
|
+
try remainingSpace -= jsUnwrap(rowGroup, "length").length
|
|
1939
|
+
i += 1
|
|
1940
|
+
}
|
|
1941
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:840)
|
|
1942
|
+
if remainingSpace > 0 {
|
|
1943
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:841)
|
|
1944
|
+
growSize = try remainingSpace / jsUnwrap(measureSpec, "autoRowsCount").autoRowsCount
|
|
1945
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:842)
|
|
1946
|
+
var i: Double = rowIndex
|
|
1947
|
+
while i < rowSpanEnd {
|
|
1948
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:843)
|
|
1949
|
+
let rowGroup: ItemGroup? = try jsUnwrap(self.rows, "i").element(i)
|
|
1950
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:844)
|
|
1951
|
+
if try jsUnwrap(rowGroup, "getIsAuto").getIsAuto() {
|
|
1952
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:845)
|
|
1953
|
+
try jsUnwrap(rowGroup, "length").length += growSize
|
|
1954
|
+
}
|
|
1955
|
+
i += 1
|
|
1956
|
+
}
|
|
1957
|
+
}
|
|
1958
|
+
}
|
|
1959
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:851)
|
|
1960
|
+
try self.itemMeasured(measureSpec, false)
|
|
1961
|
+
}
|
|
1962
|
+
#sourceLocation()
|
|
1963
|
+
open func measureChildFixedRows(_ measureSpec: MeasureSpecs?) throws {
|
|
1964
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:855)
|
|
1965
|
+
let columnIndex: Double = try jsUnwrap(measureSpec, "getColumnIndex").getColumnIndex()
|
|
1966
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:856)
|
|
1967
|
+
let columnSpanEnd: Double = try columnIndex + jsUnwrap(measureSpec, "getColumnSpan").getColumnSpan()
|
|
1968
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:857)
|
|
1969
|
+
let rowIndex: Double = try jsUnwrap(measureSpec, "getRowIndex").getRowIndex()
|
|
1970
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:858)
|
|
1971
|
+
let rowSpanEnd: Double = try rowIndex + jsUnwrap(measureSpec, "getRowSpan").getRowSpan()
|
|
1972
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:859)
|
|
1973
|
+
var measureHeight: Double = 0
|
|
1974
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:861)
|
|
1975
|
+
var i: Double = rowIndex
|
|
1976
|
+
while i < rowSpanEnd {
|
|
1977
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:862)
|
|
1978
|
+
let rowGroup: ItemGroup? = try jsUnwrap(self.rows, "i").element(i)
|
|
1979
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:863)
|
|
1980
|
+
try measureHeight += jsUnwrap(rowGroup, "length").length
|
|
1981
|
+
i += 1
|
|
1982
|
+
}
|
|
1983
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:866)
|
|
1984
|
+
let widthMeasureSpec: Double =
|
|
1985
|
+
try
|
|
1986
|
+
(jsUnwrap(measureSpec, "autoColumnsCount").autoColumnsCount > 0
|
|
1987
|
+
? self.infinity
|
|
1988
|
+
: NativeScriptKit.layout.makeMeasureSpec(
|
|
1989
|
+
jsUnwrap(measureSpec, "pixelWidth").pixelWidth, NativeScriptKit.layout.EXACTLY))
|
|
1990
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:867)
|
|
1991
|
+
let heightMeasureSpec: Double = NativeScriptKit.layout.makeMeasureSpec(
|
|
1992
|
+
measureHeight, (self.stretchedVertically ? NativeScriptKit.layout.EXACTLY : NativeScriptKit.layout.AT_MOST))
|
|
1993
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:869)
|
|
1994
|
+
let childSize: Any? = try View.measureChild(
|
|
1995
|
+
self.grid, jsUnwrap(measureSpec, "child").child, widthMeasureSpec, heightMeasureSpec)
|
|
1996
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:870)
|
|
1997
|
+
let childMeasuredWidth: Double = try jsConvertedNumber(jsGet(childSize, "measuredWidth"))
|
|
1998
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:871)
|
|
1999
|
+
let childMeasuredHeight: Double = try jsConvertedNumber(jsGet(childSize, "measuredHeight"))
|
|
2000
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:873)
|
|
2001
|
+
var remainingSpace: Double = 0
|
|
2002
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:874)
|
|
2003
|
+
var growSize: Double = 0
|
|
2004
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:877)
|
|
2005
|
+
if try jsUnwrap(measureSpec, "autoColumnsCount").autoColumnsCount > 0 {
|
|
2006
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:878)
|
|
2007
|
+
remainingSpace = childMeasuredWidth
|
|
2008
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:880)
|
|
2009
|
+
var i: Double = columnIndex
|
|
2010
|
+
while i < columnSpanEnd {
|
|
2011
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:881)
|
|
2012
|
+
let columnGroup: ItemGroup? = try jsUnwrap(self.columns, "i").element(i)
|
|
2013
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:882)
|
|
2014
|
+
try remainingSpace -= jsUnwrap(columnGroup, "length").length
|
|
2015
|
+
i += 1
|
|
2016
|
+
}
|
|
2017
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:885)
|
|
2018
|
+
if remainingSpace > 0 {
|
|
2019
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:886)
|
|
2020
|
+
growSize = try remainingSpace / jsUnwrap(measureSpec, "autoColumnsCount").autoColumnsCount
|
|
2021
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:887)
|
|
2022
|
+
var i: Double = columnIndex
|
|
2023
|
+
while i < columnSpanEnd {
|
|
2024
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:888)
|
|
2025
|
+
let columnGroup: ItemGroup? = try jsUnwrap(self.columns, "i").element(i)
|
|
2026
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:890)
|
|
2027
|
+
if try jsUnwrap(columnGroup, "getIsAuto").getIsAuto() {
|
|
2028
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:891)
|
|
2029
|
+
try jsUnwrap(columnGroup, "length").length += growSize
|
|
2030
|
+
}
|
|
2031
|
+
i += 1
|
|
2032
|
+
}
|
|
2033
|
+
}
|
|
2034
|
+
}
|
|
2035
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:897)
|
|
2036
|
+
try self.updateMinRowStarValueIfNeeded(measureSpec, childMeasuredHeight)
|
|
2037
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:898)
|
|
2038
|
+
try self.itemMeasured(measureSpec, false)
|
|
2039
|
+
}
|
|
2040
|
+
#sourceLocation()
|
|
2041
|
+
open func measureChildFixedColumnsAndRows(_ measureSpec: MeasureSpecs?) throws {
|
|
2042
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:902)
|
|
2043
|
+
let columnIndex: Double = try jsUnwrap(measureSpec, "getColumnIndex").getColumnIndex()
|
|
2044
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:903)
|
|
2045
|
+
let columnSpanEnd: Double = try columnIndex + jsUnwrap(measureSpec, "getColumnSpan").getColumnSpan()
|
|
2046
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:904)
|
|
2047
|
+
let rowIndex: Double = try jsUnwrap(measureSpec, "getRowIndex").getRowIndex()
|
|
2048
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:905)
|
|
2049
|
+
let rowSpanEnd: Double = try rowIndex + jsUnwrap(measureSpec, "getRowSpan").getRowSpan()
|
|
2050
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:907)
|
|
2051
|
+
var measureWidth: Double = 0
|
|
2052
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:908)
|
|
2053
|
+
do {
|
|
2054
|
+
var i: Double = columnIndex
|
|
2055
|
+
while i < columnSpanEnd {
|
|
2056
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:909)
|
|
2057
|
+
let columnGroup: ItemGroup? = try jsUnwrap(self.columns, "i").element(i)
|
|
2058
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:910)
|
|
2059
|
+
try measureWidth += jsUnwrap(columnGroup, "length").length
|
|
2060
|
+
i += 1
|
|
2061
|
+
}
|
|
2062
|
+
}
|
|
2063
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:913)
|
|
2064
|
+
var measureHeight: Double = 0
|
|
2065
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:914)
|
|
2066
|
+
do {
|
|
2067
|
+
var i: Double = rowIndex
|
|
2068
|
+
while i < rowSpanEnd {
|
|
2069
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:915)
|
|
2070
|
+
let rowGroup: ItemGroup? = try jsUnwrap(self.rows, "i").element(i)
|
|
2071
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:916)
|
|
2072
|
+
try measureHeight += jsUnwrap(rowGroup, "length").length
|
|
2073
|
+
i += 1
|
|
2074
|
+
}
|
|
2075
|
+
}
|
|
2076
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:920)
|
|
2077
|
+
let widthMeasureSpec: Double = try NativeScriptKit.layout.makeMeasureSpec(
|
|
2078
|
+
measureWidth,
|
|
2079
|
+
(jsUnwrap(measureSpec, "starColumnsCount").starColumnsCount > 0 && !self.stretchedHorizontally
|
|
2080
|
+
? NativeScriptKit.layout.AT_MOST : NativeScriptKit.layout.EXACTLY))
|
|
2081
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:922)
|
|
2082
|
+
let heightMeasureSpec: Double = try NativeScriptKit.layout.makeMeasureSpec(
|
|
2083
|
+
measureHeight,
|
|
2084
|
+
(jsUnwrap(measureSpec, "starRowsCount").starRowsCount > 0 && !self.stretchedVertically
|
|
2085
|
+
? NativeScriptKit.layout.AT_MOST : NativeScriptKit.layout.EXACTLY))
|
|
2086
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:924)
|
|
2087
|
+
let childSize: Any? = try View.measureChild(
|
|
2088
|
+
self.grid, jsUnwrap(measureSpec, "child").child, widthMeasureSpec, heightMeasureSpec)
|
|
2089
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:925)
|
|
2090
|
+
let childMeasuredWidth: Double = try jsConvertedNumber(jsGet(childSize, "measuredWidth"))
|
|
2091
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:926)
|
|
2092
|
+
let childMeasuredHeight: Double = try jsConvertedNumber(jsGet(childSize, "measuredHeight"))
|
|
2093
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:928)
|
|
2094
|
+
try self.updateMinColumnStarValueIfNeeded(measureSpec, childMeasuredWidth)
|
|
2095
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:929)
|
|
2096
|
+
try self.updateMinRowStarValueIfNeeded(measureSpec, childMeasuredHeight)
|
|
2097
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:930)
|
|
2098
|
+
try self.itemMeasured(measureSpec, false)
|
|
2099
|
+
}
|
|
2100
|
+
#sourceLocation()
|
|
2101
|
+
open func updateMinRowStarValueIfNeeded(_ measureSpec: MeasureSpecs?, _ childMeasuredHeight: Double) throws {
|
|
2102
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:934)
|
|
2103
|
+
if try !self.stretchedVertically && jsUnwrap(measureSpec, "starRowsCount").starRowsCount > 0 {
|
|
2104
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:935)
|
|
2105
|
+
var remainingSpace: Double = childMeasuredHeight
|
|
2106
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:936)
|
|
2107
|
+
let rowIndex: Double = try jsUnwrap(measureSpec, "getRowIndex").getRowIndex()
|
|
2108
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:937)
|
|
2109
|
+
let rowSpanEnd: Double = try rowIndex + jsUnwrap(measureSpec, "getRowSpan").getRowSpan()
|
|
2110
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:938)
|
|
2111
|
+
var i: Double = rowIndex
|
|
2112
|
+
while i < rowSpanEnd {
|
|
2113
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:939)
|
|
2114
|
+
let rowGroup: ItemGroup? = try jsUnwrap(self.rows, "i").element(i)
|
|
2115
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:940)
|
|
2116
|
+
if try !(jsUnwrap(rowGroup, "getIsStar").getIsStar()) {
|
|
2117
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:941)
|
|
2118
|
+
try remainingSpace -= jsUnwrap(rowGroup, "length").length
|
|
2119
|
+
}
|
|
2120
|
+
i += 1
|
|
2121
|
+
}
|
|
2122
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:945)
|
|
2123
|
+
if remainingSpace > 0 {
|
|
2124
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:946)
|
|
2125
|
+
self.minRowStarValue = try jsMathMax(
|
|
2126
|
+
remainingSpace / jsUnwrap(measureSpec, "starRowsCount").starRowsCount, self.minRowStarValue)
|
|
2127
|
+
}
|
|
2128
|
+
}
|
|
2129
|
+
}
|
|
2130
|
+
#sourceLocation()
|
|
2131
|
+
open func updateMinColumnStarValueIfNeeded(_ measureSpec: MeasureSpecs?, _ childMeasuredWidth: Double) throws {
|
|
2132
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:954)
|
|
2133
|
+
if try !self.stretchedHorizontally && jsUnwrap(measureSpec, "starColumnsCount").starColumnsCount > 0 {
|
|
2134
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:955)
|
|
2135
|
+
var remainingSpace: Double = childMeasuredWidth
|
|
2136
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:956)
|
|
2137
|
+
let columnIndex: Double = try jsUnwrap(measureSpec, "getColumnIndex").getColumnIndex()
|
|
2138
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:957)
|
|
2139
|
+
let columnSpanEnd: Double = try columnIndex + jsUnwrap(measureSpec, "getColumnSpan").getColumnSpan()
|
|
2140
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:958)
|
|
2141
|
+
var i: Double = columnIndex
|
|
2142
|
+
while i < columnSpanEnd {
|
|
2143
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:959)
|
|
2144
|
+
let columnGroup: ItemGroup? = try jsUnwrap(self.columns, "i").element(i)
|
|
2145
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:960)
|
|
2146
|
+
if try !(jsUnwrap(columnGroup, "getIsStar").getIsStar()) {
|
|
2147
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:961)
|
|
2148
|
+
try remainingSpace -= jsUnwrap(columnGroup, "length").length
|
|
2149
|
+
}
|
|
2150
|
+
i += 1
|
|
2151
|
+
}
|
|
2152
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:965)
|
|
2153
|
+
if remainingSpace > 0 {
|
|
2154
|
+
#sourceLocation(file:"@nativescript/core/ui.layouts.grid-layout.index.ios.ts",line:966)
|
|
2155
|
+
self.minColumnStarValue = try jsMathMax(
|
|
2156
|
+
remainingSpace / jsUnwrap(measureSpec, "starColumnsCount").starColumnsCount, self.minColumnStarValue
|
|
2157
|
+
)
|
|
2158
|
+
}
|
|
2159
|
+
}
|
|
2160
|
+
}
|
|
2161
|
+
#sourceLocation()
|
|
2162
|
+
open var jsKeys: [String] {
|
|
2163
|
+
["infinity"] + ["rows"] + ["columns"] + ["stretchedHorizontally"] + ["stretchedVertically"] + ["infinityWidth"]
|
|
2164
|
+
+ ["infinityHeight"] + ["minColumnStarValue"] + ["maxColumnStarValue"] + ["minRowStarValue"] + [
|
|
2165
|
+
"maxRowStarValue"
|
|
2166
|
+
] + ["measuredWidth"] + ["measuredHeight"] + ["fakeRowAdded"] + ["fakeColumnAdded"] + ["grid"] + [
|
|
2167
|
+
"singleRow"
|
|
2168
|
+
] + ["singleColumn"] + ["singleRowGroup"] + ["singleColumnGroup"] + (jsExpando?.jsKeys ?? [])
|
|
2169
|
+
}
|
|
2170
|
+
open var jsClassName: String? { "MeasureHelper" }
|
|
2171
|
+
open subscript(jsKey key: String) -> Any? {
|
|
2172
|
+
get {
|
|
2173
|
+
switch key.utf8.count {
|
|
2174
|
+
case 4:
|
|
2175
|
+
switch key {
|
|
2176
|
+
case "grid": return self.grid
|
|
2177
|
+
case "rows": return self.rows
|
|
2178
|
+
case "init": return FunctionCell_none_to_Void.script("init", 0, self.`init`)
|
|
2179
|
+
default: break
|
|
2180
|
+
}
|
|
2181
|
+
case 7:
|
|
2182
|
+
switch key {
|
|
2183
|
+
case "columns": return self.columns
|
|
2184
|
+
case "fixRows": return FunctionCell_none_to_Void.script("fixRows", 0, self.fixRows)
|
|
2185
|
+
case "measure": return FunctionCell_none_to_Void.script("measure", 0, self.measure)
|
|
2186
|
+
default: break
|
|
2187
|
+
}
|
|
2188
|
+
case 8:
|
|
2189
|
+
switch key {
|
|
2190
|
+
case "infinity": return self.infinity
|
|
2191
|
+
default: break
|
|
2192
|
+
}
|
|
2193
|
+
case 9:
|
|
2194
|
+
switch key {
|
|
2195
|
+
case "singleRow": return self.singleRow
|
|
2196
|
+
default: break
|
|
2197
|
+
}
|
|
2198
|
+
case 10:
|
|
2199
|
+
switch key {
|
|
2200
|
+
case "fixColumns": return FunctionCell_none_to_Void.script("fixColumns", 0, self.fixColumns)
|
|
2201
|
+
default: break
|
|
2202
|
+
}
|
|
2203
|
+
case 11:
|
|
2204
|
+
switch key {
|
|
2205
|
+
case "fakeMeasure": return FunctionCell_none_to_Void.script("fakeMeasure", 0, self.fakeMeasure)
|
|
2206
|
+
default: break
|
|
2207
|
+
}
|
|
2208
|
+
case 12:
|
|
2209
|
+
switch key {
|
|
2210
|
+
case "singleColumn": return self.singleColumn
|
|
2211
|
+
case "fakeRowAdded": return self.fakeRowAdded
|
|
2212
|
+
case "itemMeasured":
|
|
2213
|
+
return FunctionCell_MeasureSpecsOpt_Bool_to_Void.script("itemMeasured", 2, self.itemMeasured)
|
|
2214
|
+
case "measureChild":
|
|
2215
|
+
return FunctionCell_MeasureSpecsOpt_Bool_to_Void.script("measureChild", 2, self.measureChild)
|
|
2216
|
+
default: break
|
|
2217
|
+
}
|
|
2218
|
+
case 13:
|
|
2219
|
+
switch key {
|
|
2220
|
+
case "infinityWidth": return self.infinityWidth
|
|
2221
|
+
case "measuredWidth": return self.measuredWidth
|
|
2222
|
+
default: break
|
|
2223
|
+
}
|
|
2224
|
+
case 14:
|
|
2225
|
+
switch key {
|
|
2226
|
+
case "infinityHeight": return self.infinityHeight
|
|
2227
|
+
case "measuredHeight": return self.measuredHeight
|
|
2228
|
+
case "singleRowGroup": return self.singleRowGroup
|
|
2229
|
+
case "addMeasureSpec":
|
|
2230
|
+
return FunctionCell_MeasureSpecsOpt_to_Void.script("addMeasureSpec", 1, self.addMeasureSpec)
|
|
2231
|
+
default: break
|
|
2232
|
+
}
|
|
2233
|
+
case 15:
|
|
2234
|
+
switch key {
|
|
2235
|
+
case "minRowStarValue": return self.minRowStarValue
|
|
2236
|
+
case "maxRowStarValue": return self.maxRowStarValue
|
|
2237
|
+
case "fakeColumnAdded": return self.fakeColumnAdded
|
|
2238
|
+
default: break
|
|
2239
|
+
}
|
|
2240
|
+
case 16:
|
|
2241
|
+
switch key {
|
|
2242
|
+
case "setInfinityWidth":
|
|
2243
|
+
return FunctionCell_Bool_to_Void.script("setInfinityWidth", 1, self.setInfinityWidth)
|
|
2244
|
+
default: break
|
|
2245
|
+
}
|
|
2246
|
+
case 17:
|
|
2247
|
+
switch key {
|
|
2248
|
+
case "singleColumnGroup": return self.singleColumnGroup
|
|
2249
|
+
case "setInfinityHeight":
|
|
2250
|
+
return FunctionCell_Bool_to_Void.script("setInfinityHeight", 1, self.setInfinityHeight)
|
|
2251
|
+
case "clearMeasureSpecs":
|
|
2252
|
+
return FunctionCell_none_to_Void.script("clearMeasureSpecs", 0, self.clearMeasureSpecs)
|
|
2253
|
+
default: break
|
|
2254
|
+
}
|
|
2255
|
+
case 18:
|
|
2256
|
+
switch key {
|
|
2257
|
+
case "minColumnStarValue": return self.minColumnStarValue
|
|
2258
|
+
case "maxColumnStarValue": return self.maxColumnStarValue
|
|
2259
|
+
default: break
|
|
2260
|
+
}
|
|
2261
|
+
case 19:
|
|
2262
|
+
switch key {
|
|
2263
|
+
case "stretchedVertically": return self.stretchedVertically
|
|
2264
|
+
default: break
|
|
2265
|
+
}
|
|
2266
|
+
case 21:
|
|
2267
|
+
switch key {
|
|
2268
|
+
case "stretchedHorizontally": return self.stretchedHorizontally
|
|
2269
|
+
case "measureChildFixedRows":
|
|
2270
|
+
return FunctionCell_MeasureSpecsOpt_to_Void.script(
|
|
2271
|
+
"measureChildFixedRows", 1, self.measureChildFixedRows)
|
|
2272
|
+
default: break
|
|
2273
|
+
}
|
|
2274
|
+
case 24:
|
|
2275
|
+
switch key {
|
|
2276
|
+
case "measureChildFixedColumns":
|
|
2277
|
+
return FunctionCell_MeasureSpecsOpt_to_Void.script(
|
|
2278
|
+
"measureChildFixedColumns", 1, self.measureChildFixedColumns)
|
|
2279
|
+
default: break
|
|
2280
|
+
}
|
|
2281
|
+
case 29:
|
|
2282
|
+
switch key {
|
|
2283
|
+
case "measureFixedColumnsNoStarRows":
|
|
2284
|
+
return FunctionCell_none_to_Void.script(
|
|
2285
|
+
"measureFixedColumnsNoStarRows", 0, self.measureFixedColumnsNoStarRows)
|
|
2286
|
+
case "measureNoStarColumnsFixedRows":
|
|
2287
|
+
return FunctionCell_none_to_Void.script(
|
|
2288
|
+
"measureNoStarColumnsFixedRows", 0, self.measureNoStarColumnsFixedRows)
|
|
2289
|
+
case "updateMinRowStarValueIfNeeded":
|
|
2290
|
+
return FunctionCell_MeasureSpecsOpt_Double_to_Void.script(
|
|
2291
|
+
"updateMinRowStarValueIfNeeded", 2, self.updateMinRowStarValueIfNeeded)
|
|
2292
|
+
default: break
|
|
2293
|
+
}
|
|
2294
|
+
case 31:
|
|
2295
|
+
switch key {
|
|
2296
|
+
case "measureChildFixedColumnsAndRows":
|
|
2297
|
+
return FunctionCell_MeasureSpecsOpt_to_Void.script(
|
|
2298
|
+
"measureChildFixedColumnsAndRows", 1, self.measureChildFixedColumnsAndRows)
|
|
2299
|
+
default: break
|
|
2300
|
+
}
|
|
2301
|
+
case 32:
|
|
2302
|
+
switch key {
|
|
2303
|
+
case "updateMinColumnStarValueIfNeeded":
|
|
2304
|
+
return FunctionCell_MeasureSpecsOpt_Double_to_Void.script(
|
|
2305
|
+
"updateMinColumnStarValueIfNeeded", 2, self.updateMinColumnStarValueIfNeeded)
|
|
2306
|
+
default: break
|
|
2307
|
+
}
|
|
2308
|
+
default: break
|
|
2309
|
+
}
|
|
2310
|
+
return jsExpandoGet(self, key)
|
|
2311
|
+
}
|
|
2312
|
+
set {
|
|
2313
|
+
switch key.utf8.count {
|
|
2314
|
+
case 4:
|
|
2315
|
+
switch key {
|
|
2316
|
+
case "grid":
|
|
2317
|
+
jsStoring { self.grid = (try jsCast(newValue, GridLayout.self)) }
|
|
2318
|
+
return
|
|
2319
|
+
case "rows":
|
|
2320
|
+
jsStoring {
|
|
2321
|
+
self.rows = try jsArrayOrNil(
|
|
2322
|
+
newValue, as: JSArray<ItemGroup>.self, { try (jsCastPresent($0) as ItemGroup) })
|
|
2323
|
+
}
|
|
2324
|
+
return
|
|
2325
|
+
default: break
|
|
2326
|
+
}
|
|
2327
|
+
case 7:
|
|
2328
|
+
switch key {
|
|
2329
|
+
case "columns":
|
|
2330
|
+
jsStoring {
|
|
2331
|
+
self.columns = try jsArrayOrNil(
|
|
2332
|
+
newValue, as: JSArray<ItemGroup>.self, { try (jsCastPresent($0) as ItemGroup) })
|
|
2333
|
+
}
|
|
2334
|
+
return
|
|
2335
|
+
default: break
|
|
2336
|
+
}
|
|
2337
|
+
case 8:
|
|
2338
|
+
switch key {
|
|
2339
|
+
case "infinity":
|
|
2340
|
+
jsStoring { self.infinity = (try jsConvertedNumber(newValue)) }
|
|
2341
|
+
return
|
|
2342
|
+
default: break
|
|
2343
|
+
}
|
|
2344
|
+
case 9:
|
|
2345
|
+
switch key {
|
|
2346
|
+
case "singleRow":
|
|
2347
|
+
jsStoring { self.singleRow = (try jsCast(newValue, ItemSpec.self)) }
|
|
2348
|
+
return
|
|
2349
|
+
default: break
|
|
2350
|
+
}
|
|
2351
|
+
case 12:
|
|
2352
|
+
switch key {
|
|
2353
|
+
case "singleColumn":
|
|
2354
|
+
jsStoring { self.singleColumn = (try jsCast(newValue, ItemSpec.self)) }
|
|
2355
|
+
return
|
|
2356
|
+
case "fakeRowAdded":
|
|
2357
|
+
jsStoring { self.fakeRowAdded = (try jsConvertedBool(newValue)) }
|
|
2358
|
+
return
|
|
2359
|
+
default: break
|
|
2360
|
+
}
|
|
2361
|
+
case 13:
|
|
2362
|
+
switch key {
|
|
2363
|
+
case "infinityWidth":
|
|
2364
|
+
jsStoring { self.infinityWidth = (try jsConvertedBool(newValue)) }
|
|
2365
|
+
return
|
|
2366
|
+
case "measuredWidth":
|
|
2367
|
+
jsStoring { self.measuredWidth = (try jsConvertedNumber(newValue)) }
|
|
2368
|
+
return
|
|
2369
|
+
default: break
|
|
2370
|
+
}
|
|
2371
|
+
case 14:
|
|
2372
|
+
switch key {
|
|
2373
|
+
case "infinityHeight":
|
|
2374
|
+
jsStoring { self.infinityHeight = (try jsConvertedBool(newValue)) }
|
|
2375
|
+
return
|
|
2376
|
+
case "measuredHeight":
|
|
2377
|
+
jsStoring { self.measuredHeight = (try jsConvertedNumber(newValue)) }
|
|
2378
|
+
return
|
|
2379
|
+
case "singleRowGroup":
|
|
2380
|
+
jsStoring { self.singleRowGroup = (try jsCast(newValue, ItemGroup.self)) }
|
|
2381
|
+
return
|
|
2382
|
+
default: break
|
|
2383
|
+
}
|
|
2384
|
+
case 15:
|
|
2385
|
+
switch key {
|
|
2386
|
+
case "minRowStarValue":
|
|
2387
|
+
jsStoring { self.minRowStarValue = (try jsConvertedNumber(newValue)) }
|
|
2388
|
+
return
|
|
2389
|
+
case "maxRowStarValue":
|
|
2390
|
+
jsStoring { self.maxRowStarValue = (try jsConvertedNumber(newValue)) }
|
|
2391
|
+
return
|
|
2392
|
+
case "fakeColumnAdded":
|
|
2393
|
+
jsStoring { self.fakeColumnAdded = (try jsConvertedBool(newValue)) }
|
|
2394
|
+
return
|
|
2395
|
+
default: break
|
|
2396
|
+
}
|
|
2397
|
+
case 17:
|
|
2398
|
+
switch key {
|
|
2399
|
+
case "singleColumnGroup":
|
|
2400
|
+
jsStoring { self.singleColumnGroup = (try jsCast(newValue, ItemGroup.self)) }
|
|
2401
|
+
return
|
|
2402
|
+
default: break
|
|
2403
|
+
}
|
|
2404
|
+
case 18:
|
|
2405
|
+
switch key {
|
|
2406
|
+
case "minColumnStarValue":
|
|
2407
|
+
jsStoring { self.minColumnStarValue = (try jsConvertedNumber(newValue)) }
|
|
2408
|
+
return
|
|
2409
|
+
case "maxColumnStarValue":
|
|
2410
|
+
jsStoring { self.maxColumnStarValue = (try jsConvertedNumber(newValue)) }
|
|
2411
|
+
return
|
|
2412
|
+
default: break
|
|
2413
|
+
}
|
|
2414
|
+
case 19:
|
|
2415
|
+
switch key {
|
|
2416
|
+
case "stretchedVertically":
|
|
2417
|
+
jsStoring { self.stretchedVertically = (try jsConvertedBool(newValue)) }
|
|
2418
|
+
return
|
|
2419
|
+
default: break
|
|
2420
|
+
}
|
|
2421
|
+
case 21:
|
|
2422
|
+
switch key {
|
|
2423
|
+
case "stretchedHorizontally":
|
|
2424
|
+
jsStoring { self.stretchedHorizontally = (try jsConvertedBool(newValue)) }
|
|
2425
|
+
return
|
|
2426
|
+
default: break
|
|
2427
|
+
}
|
|
2428
|
+
default: break
|
|
2429
|
+
}
|
|
2430
|
+
jsExpandoSet(self, key, newValue)
|
|
2431
|
+
}
|
|
2432
|
+
}
|
|
2433
|
+
open class var jsName: String { "MeasureHelper" }
|
|
2434
|
+
open class var jsStaticKeys: [String] { ["initList", "updateStarLength", "canFix", "getMeasureLength"] }
|
|
2435
|
+
}
|