@nstudio/nativescript-compiler 9.2.0-alpha.17 → 9.2.0-alpha.19
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/README.md +3 -0
- package/config.js +1 -0
- package/dist/kotlin/access.js +8 -7
- package/dist/kotlin/arguments.js +6 -0
- package/dist/kotlin/assignment.js +22 -13
- package/dist/kotlin/builtins.js +67 -0
- package/dist/kotlin/calls.js +3 -2
- package/dist/kotlin/class-declaration.js +4 -9
- package/dist/kotlin/class-methods.js +2 -2
- package/dist/kotlin/core-api.js +1 -1
- package/dist/kotlin/declarations.js +1 -1
- package/dist/kotlin/expression-statements.js +13 -1
- package/dist/kotlin/functions.js +1 -0
- package/dist/kotlin/literals.js +4 -8
- package/dist/kotlin/names.js +4 -4
- package/dist/kotlin/native/api.js +1 -1
- package/dist/kotlin/operators.js +25 -25
- package/dist/kotlin/optional-chains.js +1 -1
- package/dist/kotlin/overrides.js +3 -3
- package/dist/kotlin/state-backend.js +6 -2
- package/dist/kotlin/translator.js +1 -1
- package/dist/kotlin/types.js +4 -4
- package/dist/semantics/classes.js +15 -0
- package/dist/semantics/conversion.js +9 -1
- package/dist/semantics/facts.js +1 -1
- package/dist/semantics/lang.js +10 -0
- package/dist/semantics/lower.js +54 -0
- package/dist/semantics/lowering-methods.js +5 -0
- package/dist/semantics/placement.js +9 -3
- package/dist/semantics/runtime.js +1 -0
- package/dist/semantics/signals.js +11 -0
- package/dist/semantics/states/missing.js +7 -0
- package/dist/semantics/tdz.js +54 -15
- package/dist/semantics/throws.js +2 -2
- package/dist/semantics/translator-methods.js +1 -1
- package/dist/swift/access.js +7 -9
- package/dist/swift/arguments.js +14 -9
- package/dist/swift/assignment.js +26 -15
- package/dist/swift/calls.js +13 -5
- package/dist/swift/class-methods.js +2 -1
- package/dist/swift/classes.js +7 -9
- package/dist/swift/components.js +3 -3
- package/dist/swift/control-flow.js +1 -1
- package/dist/swift/conversion.js +5 -2
- package/dist/swift/core-api.js +2 -2
- package/dist/swift/declarations.js +1 -1
- package/dist/swift/expressions.js +6 -2
- package/dist/swift/from-any.js +1 -1
- package/dist/swift/functions.js +5 -6
- package/dist/swift/global-calls.js +1 -1
- package/dist/swift/lenient.js +1 -6
- package/dist/swift/library.js +2 -2
- package/dist/swift/literals.js +8 -3
- package/dist/swift/method-values.js +2 -1
- package/dist/swift/modules.js +3 -3
- package/dist/swift/names.js +7 -7
- package/dist/swift/native/calls.js +10 -4
- package/dist/swift/object-classes.js +84 -1
- package/dist/swift/operators.js +31 -29
- package/dist/swift/placement.js +22 -6
- package/dist/swift/state-backend.js +3 -2
- package/dist/swift/static-calls.js +3 -4
- package/dist/swift/syntax.js +10 -6
- package/dist/swift/translator.js +1 -1
- package/dist/swift/type-facts.js +3 -3
- package/dist/swift/types.js +5 -5
- package/dist/targets/ios/build.js +1 -1
- package/kit-android/generated/kotlin/org/nativescript/kit/__Modules.kt +1 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/__Objects.kt +525 -99
- package/kit-android/generated/kotlin/org/nativescript/kit/accessibility_accessibility_common.kt +2 -2
- package/kit-android/generated/kotlin/org/nativescript/kit/application_application_common.kt +29 -6
- package/kit-android/generated/kotlin/org/nativescript/kit/application_helpers_common.kt +14 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/color_color_utils.kt +3 -3
- package/kit-android/generated/kotlin/org/nativescript/kit/css_mediaquery_index.kt +49 -1
- package/kit-android/generated/kotlin/org/nativescript/kit/data_observable_array_index.kt +0 -8
- package/kit-android/generated/kotlin/org/nativescript/kit/data_observable_index.kt +0 -16
- package/kit-android/generated/kotlin/org/nativescript/kit/data_virtual_array_index.kt +6 -4
- package/kit-android/generated/kotlin/org/nativescript/kit/http_http_request_index.kt +19 -7
- package/kit-android/generated/kotlin/org/nativescript/kit/http_http_request_internal_http_request_internal_common.kt +14 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/http_http_request_internal_index.kt +19 -10
- package/kit-android/generated/kotlin/org/nativescript/kit/matrix_index.kt +17 -29
- package/kit-android/generated/kotlin/org/nativescript/kit/media_query_list_index.kt +144 -22
- package/kit-android/generated/kotlin/org/nativescript/kit/npm_css_what_src_parse.kt +8 -3
- package/kit-android/generated/kotlin/org/nativescript/kit/org.nativescript.NativeScriptLifecycleCallbacks.kt +2 -10
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_builder_index.kt +0 -2
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_bindable_expression_parser.kt +6 -10
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_properties_index.kt +531 -8
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_view_base_index.kt +0 -9
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_core_weak_event_listener_index.kt +3 -3
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_style_index.kt +19 -0
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_style_properties.kt +5 -2
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_styling_style_scope.kt +232 -174
- package/kit-android/generated/kotlin/org/nativescript/kit/ui_text_view_text_view_common.kt +1 -1
- package/kit-android/generated/kotlin/org/nativescript/kit/utils_android_runtime_version.kt +75 -0
- package/kit-android/generated/manifest.json +21 -18
- package/kit-android/generated/source-lines.json +1 -1
- package/kit-android/src/fromcore/kotlin/org/nativescript/kit/NativeScriptApplication.kt +9 -0
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Array.kt +497 -42
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Intl.kt +1 -1
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/JSON.kt +22 -2
- package/kit-android/src/main/kotlin/org/nativescript/kit/runtime/Strings.kt +32 -18
- package/kit-apple/Overlays/xml-free/Core/ui.builder.index.swift +7 -3
- package/kit-apple/Sources/NativeScriptKit/Core/FunctionCells.Arity1.swift +14 -10
- package/kit-apple/Sources/NativeScriptKit/Core/FunctionCells.Arity2.swift +3 -9
- package/kit-apple/Sources/NativeScriptKit/Core/FunctionCells.Arity3Plus.swift +20 -21
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_index_section_view_ios_android.swift +5 -7
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_ios_android_.swift +130 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_eventName_object_oldIndex_newIndex.swift +2 -4
- package/kit-apple/Sources/NativeScriptKit/Core/Object_specified_substituted_reads.swift +115 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_substituted_values_reads.swift +113 -0
- package/kit-apple/Sources/NativeScriptKit/Core/Object_substituted_values_reads_.swift +113 -0
- package/kit-apple/Sources/NativeScriptKit/Core/application.application-common.swift +348 -330
- package/kit-apple/Sources/NativeScriptKit/Core/application.application.ios.swift +358 -359
- package/kit-apple/Sources/NativeScriptKit/Core/application.helpers-common.swift +47 -29
- package/kit-apple/Sources/NativeScriptKit/Core/connectivity.index.ios.swift +3 -1
- package/kit-apple/Sources/NativeScriptKit/Core/css-mediaquery.index.swift +95 -53
- package/kit-apple/Sources/NativeScriptKit/Core/css.CSS3Parser.swift +1 -1
- package/kit-apple/Sources/NativeScriptKit/Core/css.parser.swift +1 -1
- package/kit-apple/Sources/NativeScriptKit/Core/data.observable-array.index.swift +3 -3
- package/kit-apple/Sources/NativeScriptKit/Core/file-system.file-system-access.ios.swift +58 -49
- package/kit-apple/Sources/NativeScriptKit/Core/file-system.index.swift +10 -10
- package/kit-apple/Sources/NativeScriptKit/Core/http.http-request-internal.http-request-internal-common.swift +18 -0
- package/kit-apple/Sources/NativeScriptKit/Core/http.http-request-internal.index.ios.swift +67 -52
- package/kit-apple/Sources/NativeScriptKit/Core/http.index.swift +3 -3
- package/kit-apple/Sources/NativeScriptKit/Core/image-source.index.ios.swift +69 -53
- package/kit-apple/Sources/NativeScriptKit/Core/js-libs.easysax.easysax.swift +4 -22
- package/kit-apple/Sources/NativeScriptKit/Core/kit-index.json +144 -32
- package/kit-apple/Sources/NativeScriptKit/Core/manifest.json +30 -19
- package/kit-apple/Sources/NativeScriptKit/Core/media-query-list.index.swift +190 -78
- package/kit-apple/Sources/NativeScriptKit/Core/native-window.native-window.ios.swift +1 -1
- package/kit-apple/Sources/NativeScriptKit/Core/npm.css-what.src.parse.swift +205 -201
- package/kit-apple/Sources/NativeScriptKit/Core/npm.css-what.src.stringify.swift +41 -42
- package/kit-apple/Sources/NativeScriptKit/Core/npm.css-what.src.types.swift +1 -1
- package/kit-apple/Sources/NativeScriptKit/Core/trace.index.swift +2 -2
- package/kit-apple/Sources/NativeScriptKit/Core/ui.action-bar.index.ios.swift +33 -21
- package/kit-apple/Sources/NativeScriptKit/Core/ui.activity-indicator.index.ios.swift +12 -6
- package/kit-apple/Sources/NativeScriptKit/Core/ui.animation.index.ios.swift +77 -65
- package/kit-apple/Sources/NativeScriptKit/Core/ui.animation.keyframe-animation.swift +1 -1
- package/kit-apple/Sources/NativeScriptKit/Core/ui.builder.index.swift +10 -6
- package/kit-apple/Sources/NativeScriptKit/Core/ui.button.index.ios.swift +14 -13
- package/kit-apple/Sources/NativeScriptKit/Core/ui.core.properties.index.swift +1273 -824
- package/kit-apple/Sources/NativeScriptKit/Core/ui.core.view-base.index.swift +2 -2
- package/kit-apple/Sources/NativeScriptKit/Core/ui.core.view.index.ios.swift +87 -67
- package/kit-apple/Sources/NativeScriptKit/Core/ui.core.view.view-common.swift +1 -1
- package/kit-apple/Sources/NativeScriptKit/Core/ui.date-picker.index.ios.swift +17 -16
- package/kit-apple/Sources/NativeScriptKit/Core/ui.dialogs.index.ios.swift +2 -2
- package/kit-apple/Sources/NativeScriptKit/Core/ui.editable-text-base.index.ios.swift +27 -18
- package/kit-apple/Sources/NativeScriptKit/Core/ui.frame.frame-common.swift +2 -1
- package/kit-apple/Sources/NativeScriptKit/Core/ui.frame.index.ios.swift +6 -6
- package/kit-apple/Sources/NativeScriptKit/Core/ui.html-view.index.ios.swift +9 -9
- package/kit-apple/Sources/NativeScriptKit/Core/ui.image.index.ios.swift +6 -6
- package/kit-apple/Sources/NativeScriptKit/Core/ui.label.index.ios.swift +8 -8
- package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.flexbox-layout.index.ios.swift +22 -21
- package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.layout-base.ios.swift +4 -3
- package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.liquid-glass-container.index.ios.swift +1 -1
- package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.liquid-glass.index.ios.swift +1 -1
- package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.root-layout.index.ios.swift +2 -2
- package/kit-apple/Sources/NativeScriptKit/Core/ui.layouts.root-layout.root-layout-common.swift +9 -9
- package/kit-apple/Sources/NativeScriptKit/Core/ui.list-picker.index.ios.swift +9 -6
- package/kit-apple/Sources/NativeScriptKit/Core/ui.list-view.index.ios.swift +38 -20
- package/kit-apple/Sources/NativeScriptKit/Core/ui.page.index.ios.swift +204 -190
- package/kit-apple/Sources/NativeScriptKit/Core/ui.progress.index.ios.swift +12 -10
- package/kit-apple/Sources/NativeScriptKit/Core/ui.repeater.index.swift +2 -6
- package/kit-apple/Sources/NativeScriptKit/Core/ui.scroll-view.index.ios.swift +18 -9
- package/kit-apple/Sources/NativeScriptKit/Core/ui.search-bar.index.ios.swift +28 -18
- package/kit-apple/Sources/NativeScriptKit/Core/ui.segmented-bar.index.ios.swift +19 -12
- package/kit-apple/Sources/NativeScriptKit/Core/ui.slider.index.ios.swift +14 -12
- package/kit-apple/Sources/NativeScriptKit/Core/ui.split-view.index.ios.swift +17 -12
- package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.background.ios.swift +2 -2
- package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.clip-path-function.swift +1 -1
- package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.css-animation-parser.swift +1 -1
- package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.css-selector.swift +2 -2
- package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.font-common.swift +2 -2
- package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.style-scope.swift +869 -838
- package/kit-apple/Sources/NativeScriptKit/Core/ui.styling.style.index.swift +46 -31
- package/kit-apple/Sources/NativeScriptKit/Core/ui.switch.index.ios.swift +12 -10
- package/kit-apple/Sources/NativeScriptKit/Core/ui.tab-view.index.ios.swift +36 -20
- package/kit-apple/Sources/NativeScriptKit/Core/ui.text-base.formatted-string.swift +3 -4
- package/kit-apple/Sources/NativeScriptKit/Core/ui.text-base.index.ios.swift +25 -22
- package/kit-apple/Sources/NativeScriptKit/Core/ui.text-base.text-base-common.swift +2 -3
- package/kit-apple/Sources/NativeScriptKit/Core/ui.text-field.index.ios.swift +21 -14
- package/kit-apple/Sources/NativeScriptKit/Core/ui.text-view.index.ios.swift +33 -21
- package/kit-apple/Sources/NativeScriptKit/Core/ui.text-view.text-view-common.swift +1 -1
- package/kit-apple/Sources/NativeScriptKit/Core/ui.time-picker.index.ios.swift +22 -18
- package/kit-apple/Sources/NativeScriptKit/Core/ui.transition.index.ios.swift +2 -2
- package/kit-apple/Sources/NativeScriptKit/Core/ui.transition.modal-transition.ios.swift +4 -4
- package/kit-apple/Sources/NativeScriptKit/Core/ui.transition.page-transition.ios.swift +2 -2
- package/kit-apple/Sources/NativeScriptKit/Core/ui.transition.shared-transition-helper.ios.swift +32 -32
- package/kit-apple/Sources/NativeScriptKit/Core/ui.web-view.index.ios.swift +1 -1
- package/kit-apple/Sources/NativeScriptKit/Core/ui.web-view.web-view-common.swift +2 -2
- package/kit-apple/Sources/NativeScriptKit/Core/utils.android-runtime-version.swift +77 -0
- package/kit-apple/Sources/NativeScriptKit/Core/utils.debug-source.swift +2 -2
- package/kit-apple/Sources/NativeScriptKit/Core/utils.index.ios.swift +2 -2
- package/kit-apple/Sources/NativeScriptKit/Core/xhr.index.swift +62 -61
- package/kit-apple/Sources/NativeScriptKit/Runtime/Array.swift +4 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/Dynamic.swift +2 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/Interop.swift +1 -1
- package/kit-apple/Sources/NativeScriptKit/Runtime/Intl.swift +1 -1
- package/kit-apple/Sources/NativeScriptKit/Runtime/Iterators.swift +1 -1
- package/kit-apple/Sources/NativeScriptKit/Runtime/JSON.swift +280 -9
- package/kit-apple/Sources/NativeScriptKit/Runtime/Lowering.swift +3 -2
- package/kit-apple/Sources/NativeScriptKit/Runtime/Native.swift +2 -1
- package/kit-apple/Sources/NativeScriptKit/Runtime/Prototypes.swift +1 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/Symbol.swift +1 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/Values.swift +1 -0
- package/kit-apple/Sources/NativeScriptKit/Runtime/Views.swift +2 -0
- package/package.json +6 -4
|
@@ -355,70 +355,77 @@ open class TextField: TextFieldBase {
|
|
|
355
355
|
}
|
|
356
356
|
#sourceLocation()
|
|
357
357
|
open override func jsSymbolMethod(_ key: String) -> JSMethod? {
|
|
358
|
-
if key
|
|
358
|
+
if key
|
|
359
|
+
== (try?
|
|
360
|
+
((Core_ui_editable_text_base_editable_text_base_common.hintProperty?.getDefault)?.key ?? "undefined"))
|
|
359
361
|
{
|
|
360
362
|
return { __this, __a in return try (jsCastPresent(__this) as TextField).symbol_getDefault_hint() }
|
|
361
363
|
}
|
|
362
|
-
if key
|
|
364
|
+
if key
|
|
365
|
+
== (try?
|
|
366
|
+
((Core_ui_editable_text_base_editable_text_base_common.hintProperty?.setNative)?.key ?? "undefined"))
|
|
367
|
+
{
|
|
363
368
|
return { __this, __a in
|
|
364
369
|
try (jsCastPresent(__this) as TextField).symbol_setNative_hint("")
|
|
365
370
|
return nil
|
|
366
371
|
}
|
|
367
372
|
}
|
|
368
|
-
if key == ((Core_ui_text_field_text_field_common.secureProperty?.getDefault)?.key ?? "undefined") {
|
|
373
|
+
if key == (try? ((Core_ui_text_field_text_field_common.secureProperty?.getDefault)?.key ?? "undefined")) {
|
|
369
374
|
return { __this, __a in return try (jsCastPresent(__this) as TextField).symbol_getDefault_secure() }
|
|
370
375
|
}
|
|
371
|
-
if key == ((Core_ui_text_field_text_field_common.secureProperty?.setNative)?.key ?? "undefined") {
|
|
376
|
+
if key == (try? ((Core_ui_text_field_text_field_common.secureProperty?.setNative)?.key ?? "undefined")) {
|
|
372
377
|
return { __this, __a in
|
|
373
378
|
try (jsCastPresent(__this) as TextField).symbol_setNative_secure((try jsConvertedBool(jsArg(__a, 0))))
|
|
374
379
|
return nil
|
|
375
380
|
}
|
|
376
381
|
}
|
|
377
|
-
if key == ((Core_ui_styling_style_properties.colorProperty?.getDefault)?.key ?? "undefined") {
|
|
382
|
+
if key == (try? ((Core_ui_styling_style_properties.colorProperty?.getDefault)?.key ?? "undefined")) {
|
|
378
383
|
return { __this, __a in return try (jsCastPresent(__this) as TextField).symbol_getDefault_color_TextField()
|
|
379
384
|
}
|
|
380
385
|
}
|
|
381
|
-
if key == ((Core_ui_styling_style_properties.colorProperty?.setNative)?.key ?? "undefined") {
|
|
386
|
+
if key == (try? ((Core_ui_styling_style_properties.colorProperty?.setNative)?.key ?? "undefined")) {
|
|
382
387
|
return { __this, __a in
|
|
383
388
|
try (jsCastPresent(__this) as TextField).symbol_setNative_color_TextField(jsArg(__a, 0))
|
|
384
389
|
return nil
|
|
385
390
|
}
|
|
386
391
|
}
|
|
387
392
|
if key
|
|
388
|
-
== (
|
|
389
|
-
|
|
393
|
+
== (try?
|
|
394
|
+
((Core_ui_editable_text_base_editable_text_base_common.placeholderColorProperty?.getDefault)?.key
|
|
395
|
+
?? "undefined"))
|
|
390
396
|
{
|
|
391
397
|
return { __this, __a in return try (jsCastPresent(__this) as TextField).symbol_getDefault_placeholderColor()
|
|
392
398
|
}
|
|
393
399
|
}
|
|
394
400
|
if key
|
|
395
|
-
== (
|
|
396
|
-
|
|
401
|
+
== (try?
|
|
402
|
+
((Core_ui_editable_text_base_editable_text_base_common.placeholderColorProperty?.setNative)?.key
|
|
403
|
+
?? "undefined"))
|
|
397
404
|
{
|
|
398
405
|
return { __this, __a in
|
|
399
406
|
try (jsCastPresent(__this) as TextField).symbol_setNative_placeholderColor(nil)
|
|
400
407
|
return nil
|
|
401
408
|
}
|
|
402
409
|
}
|
|
403
|
-
if key == ((Core_ui_styling_style_properties.paddingInternalProperty?.setNative)?.key ?? "undefined") {
|
|
410
|
+
if key == (try? ((Core_ui_styling_style_properties.paddingInternalProperty?.setNative)?.key ?? "undefined")) {
|
|
404
411
|
return { __this, __a in
|
|
405
412
|
try (jsCastPresent(__this) as TextField).symbol_setNative_paddingInternal("")
|
|
406
413
|
return nil
|
|
407
414
|
}
|
|
408
415
|
}
|
|
409
|
-
if key == ((Core_ui_text_base_text_base_common.whiteSpaceProperty?.setNative)?.key ?? "undefined") {
|
|
416
|
+
if key == (try? ((Core_ui_text_base_text_base_common.whiteSpaceProperty?.setNative)?.key ?? "undefined")) {
|
|
410
417
|
return { __this, __a in
|
|
411
418
|
try (jsCastPresent(__this) as TextField).symbol_setNative_whiteSpace("")
|
|
412
419
|
return nil
|
|
413
420
|
}
|
|
414
421
|
}
|
|
415
|
-
if key == ((Core_ui_text_base_text_base_common.textOverflowProperty?.setNative)?.key ?? "undefined") {
|
|
422
|
+
if key == (try? ((Core_ui_text_base_text_base_common.textOverflowProperty?.setNative)?.key ?? "undefined")) {
|
|
416
423
|
return { __this, __a in
|
|
417
424
|
try (jsCastPresent(__this) as TextField).symbol_setNative_textOverflow("")
|
|
418
425
|
return nil
|
|
419
426
|
}
|
|
420
427
|
}
|
|
421
|
-
if key == ((Core_ui_styling_style_properties.directionProperty?.setNative)?.key ?? "undefined") {
|
|
428
|
+
if key == (try? ((Core_ui_styling_style_properties.directionProperty?.setNative)?.key ?? "undefined")) {
|
|
422
429
|
return { __this, __a in
|
|
423
430
|
try (jsCastPresent(__this) as TextField).symbol_setNative_direction_TextField(
|
|
424
431
|
(try jsConvertedString(jsArg(__a, 0))))
|
|
@@ -469,106 +469,117 @@ open class TextView: TextViewBase {
|
|
|
469
469
|
}
|
|
470
470
|
#sourceLocation()
|
|
471
471
|
open override func jsSymbolMethod(_ key: String) -> JSMethod? {
|
|
472
|
-
if key == ((Core_ui_text_base_text_base_common.textProperty?.getDefault)?.key ?? "undefined") {
|
|
472
|
+
if key == (try? ((Core_ui_text_base_text_base_common.textProperty?.getDefault)?.key ?? "undefined")) {
|
|
473
473
|
return { __this, __a in return try (jsCastPresent(__this) as TextView).symbol_getDefault_text_TextView() }
|
|
474
474
|
}
|
|
475
|
-
if key == ((Core_ui_text_base_text_base_common.textProperty?.setNative)?.key ?? "undefined") {
|
|
475
|
+
if key == (try? ((Core_ui_text_base_text_base_common.textProperty?.setNative)?.key ?? "undefined")) {
|
|
476
476
|
return { __this, __a in
|
|
477
477
|
try (jsCastPresent(__this) as TextView).symbol_setNative_text_TextView(
|
|
478
478
|
(try jsConvertedString(jsArg(__a, 0))))
|
|
479
479
|
return nil
|
|
480
480
|
}
|
|
481
481
|
}
|
|
482
|
-
if key == ((Core_ui_styling_style_properties.directionProperty?.setNative)?.key ?? "undefined") {
|
|
482
|
+
if key == (try? ((Core_ui_styling_style_properties.directionProperty?.setNative)?.key ?? "undefined")) {
|
|
483
483
|
return { __this, __a in
|
|
484
484
|
try (jsCastPresent(__this) as TextView).symbol_setNative_direction_TextView(
|
|
485
485
|
(try jsConvertedString(jsArg(__a, 0))))
|
|
486
486
|
return nil
|
|
487
487
|
}
|
|
488
488
|
}
|
|
489
|
-
if key
|
|
489
|
+
if key
|
|
490
|
+
== (try?
|
|
491
|
+
((Core_ui_editable_text_base_editable_text_base_common.hintProperty?.getDefault)?.key ?? "undefined"))
|
|
490
492
|
{
|
|
491
493
|
return { __this, __a in return try (jsCastPresent(__this) as TextView).symbol_getDefault_hint() }
|
|
492
494
|
}
|
|
493
|
-
if key
|
|
495
|
+
if key
|
|
496
|
+
== (try?
|
|
497
|
+
((Core_ui_editable_text_base_editable_text_base_common.hintProperty?.setNative)?.key ?? "undefined"))
|
|
498
|
+
{
|
|
494
499
|
return { __this, __a in
|
|
495
500
|
try (jsCastPresent(__this) as TextView).symbol_setNative_hint((try jsConvertedString(jsArg(__a, 0))))
|
|
496
501
|
return nil
|
|
497
502
|
}
|
|
498
503
|
}
|
|
499
504
|
if key
|
|
500
|
-
== (
|
|
505
|
+
== (try?
|
|
506
|
+
((Core_ui_editable_text_base_editable_text_base_common.editableProperty?.getDefault)?.key ?? "undefined"))
|
|
501
507
|
{
|
|
502
508
|
return { __this, __a in return try (jsCastPresent(__this) as TextView).symbol_getDefault_editable() }
|
|
503
509
|
}
|
|
504
510
|
if key
|
|
505
|
-
== (
|
|
511
|
+
== (try?
|
|
512
|
+
((Core_ui_editable_text_base_editable_text_base_common.editableProperty?.setNative)?.key ?? "undefined"))
|
|
506
513
|
{
|
|
507
514
|
return { __this, __a in
|
|
508
515
|
try (jsCastPresent(__this) as TextView).symbol_setNative_editable((try jsConvertedBool(jsArg(__a, 0))))
|
|
509
516
|
return nil
|
|
510
517
|
}
|
|
511
518
|
}
|
|
512
|
-
if key == ((Core_ui_styling_style_properties.colorProperty?.setNative)?.key ?? "undefined") {
|
|
519
|
+
if key == (try? ((Core_ui_styling_style_properties.colorProperty?.setNative)?.key ?? "undefined")) {
|
|
513
520
|
return { __this, __a in
|
|
514
521
|
try (jsCastPresent(__this) as TextView).symbol_setNative_color_TextView(nil)
|
|
515
522
|
return nil
|
|
516
523
|
}
|
|
517
524
|
}
|
|
518
525
|
if key
|
|
519
|
-
== (
|
|
520
|
-
|
|
526
|
+
== (try?
|
|
527
|
+
((Core_ui_editable_text_base_editable_text_base_common.placeholderColorProperty?.setNative)?.key
|
|
528
|
+
?? "undefined"))
|
|
521
529
|
{
|
|
522
530
|
return { __this, __a in
|
|
523
531
|
try (jsCastPresent(__this) as TextView).symbol_setNative_placeholderColor(nil)
|
|
524
532
|
return nil
|
|
525
533
|
}
|
|
526
534
|
}
|
|
527
|
-
if key == ((Core_ui_styling_style_properties.borderTopWidthProperty?.getDefault)?.key ?? "undefined") {
|
|
535
|
+
if key == (try? ((Core_ui_styling_style_properties.borderTopWidthProperty?.getDefault)?.key ?? "undefined")) {
|
|
528
536
|
return { __this, __a in return try (jsCastPresent(__this) as TextView).symbol_getDefault_borderTopWidth() }
|
|
529
537
|
}
|
|
530
|
-
if key == ((Core_ui_styling_style_properties.borderTopWidthProperty?.setNative)?.key ?? "undefined") {
|
|
538
|
+
if key == (try? ((Core_ui_styling_style_properties.borderTopWidthProperty?.setNative)?.key ?? "undefined")) {
|
|
531
539
|
return { __this, __a in
|
|
532
540
|
try (jsCastPresent(__this) as TextView).symbol_setNative_borderTopWidth(nil)
|
|
533
541
|
return nil
|
|
534
542
|
}
|
|
535
543
|
}
|
|
536
|
-
if key == ((Core_ui_styling_style_properties.borderRightWidthProperty?.getDefault)?.key ?? "undefined") {
|
|
544
|
+
if key == (try? ((Core_ui_styling_style_properties.borderRightWidthProperty?.getDefault)?.key ?? "undefined")) {
|
|
537
545
|
return { __this, __a in return try (jsCastPresent(__this) as TextView).symbol_getDefault_borderRightWidth()
|
|
538
546
|
}
|
|
539
547
|
}
|
|
540
|
-
if key == ((Core_ui_styling_style_properties.borderRightWidthProperty?.setNative)?.key ?? "undefined") {
|
|
548
|
+
if key == (try? ((Core_ui_styling_style_properties.borderRightWidthProperty?.setNative)?.key ?? "undefined")) {
|
|
541
549
|
return { __this, __a in
|
|
542
550
|
try (jsCastPresent(__this) as TextView).symbol_setNative_borderRightWidth(nil)
|
|
543
551
|
return nil
|
|
544
552
|
}
|
|
545
553
|
}
|
|
546
|
-
if key == ((Core_ui_styling_style_properties.borderBottomWidthProperty?.getDefault)?.key ?? "undefined")
|
|
554
|
+
if key == (try? ((Core_ui_styling_style_properties.borderBottomWidthProperty?.getDefault)?.key ?? "undefined"))
|
|
555
|
+
{
|
|
547
556
|
return { __this, __a in return try (jsCastPresent(__this) as TextView).symbol_getDefault_borderBottomWidth()
|
|
548
557
|
}
|
|
549
558
|
}
|
|
550
|
-
if key == ((Core_ui_styling_style_properties.borderBottomWidthProperty?.setNative)?.key ?? "undefined") {
|
|
559
|
+
if key == (try? ((Core_ui_styling_style_properties.borderBottomWidthProperty?.setNative)?.key ?? "undefined")) {
|
|
551
560
|
return { __this, __a in
|
|
552
561
|
try (jsCastPresent(__this) as TextView).symbol_setNative_borderBottomWidth(nil)
|
|
553
562
|
return nil
|
|
554
563
|
}
|
|
555
564
|
}
|
|
556
|
-
if key == ((Core_ui_styling_style_properties.borderLeftWidthProperty?.getDefault)?.key ?? "undefined") {
|
|
565
|
+
if key == (try? ((Core_ui_styling_style_properties.borderLeftWidthProperty?.getDefault)?.key ?? "undefined")) {
|
|
557
566
|
return { __this, __a in return try (jsCastPresent(__this) as TextView).symbol_getDefault_borderLeftWidth() }
|
|
558
567
|
}
|
|
559
|
-
if key == ((Core_ui_styling_style_properties.borderLeftWidthProperty?.setNative)?.key ?? "undefined") {
|
|
568
|
+
if key == (try? ((Core_ui_styling_style_properties.borderLeftWidthProperty?.setNative)?.key ?? "undefined")) {
|
|
560
569
|
return { __this, __a in
|
|
561
570
|
try (jsCastPresent(__this) as TextView).symbol_setNative_borderLeftWidth(nil)
|
|
562
571
|
return nil
|
|
563
572
|
}
|
|
564
573
|
}
|
|
565
|
-
if key == ((Core_ui_styling_style_properties.paddingInternalProperty?.setNative)?.key ?? "undefined") {
|
|
574
|
+
if key == (try? ((Core_ui_styling_style_properties.paddingInternalProperty?.setNative)?.key ?? "undefined")) {
|
|
566
575
|
return { __this, __a in
|
|
567
576
|
try (jsCastPresent(__this) as TextView).symbol_setNative_paddingInternal("")
|
|
568
577
|
return nil
|
|
569
578
|
}
|
|
570
579
|
}
|
|
571
|
-
if key
|
|
580
|
+
if key
|
|
581
|
+
== (try?
|
|
582
|
+
((Core_ui_text_view_text_view_common.iosWritingToolsBehaviorProperty?.setNative)?.key ?? "undefined"))
|
|
572
583
|
{
|
|
573
584
|
return { __this, __a in
|
|
574
585
|
try (jsCastPresent(__this) as TextView).symbol_setNative_iosWritingToolsBehavior(
|
|
@@ -577,7 +588,8 @@ open class TextView: TextViewBase {
|
|
|
577
588
|
}
|
|
578
589
|
}
|
|
579
590
|
if key
|
|
580
|
-
== (
|
|
591
|
+
== (try?
|
|
592
|
+
((Core_ui_text_view_text_view_common.iosWritingToolsAllowedInputProperty?.setNative)?.key ?? "undefined"))
|
|
581
593
|
{
|
|
582
594
|
return { __this, __a in
|
|
583
595
|
try (jsCastPresent(__this) as TextView).symbol_setNative_iosWritingToolsAllowedInput(
|
|
@@ -128,7 +128,7 @@ public func __init_Core_ui_text_view_text_view_common() {
|
|
|
128
128
|
Core_ui_text_view_text_view_common.iosWritingToolsAllowedInputProperty = try Property(
|
|
129
129
|
JSObject([
|
|
130
130
|
("name", "iosWritingToolsAllowedInput"),
|
|
131
|
-
("defaultValue", JSArray<
|
|
131
|
+
("defaultValue", JSArray<Double>([WritingToolsAllowedInput.Default])),
|
|
132
132
|
]))
|
|
133
133
|
#sourceLocation(file:"@nativescript/core/ui.text-view.text-view-common.ts",line:45)
|
|
134
134
|
try jsUnwrap(Core_ui_text_view_text_view_common.iosWritingToolsAllowedInputProperty, "register").register(
|
|
@@ -166,89 +166,93 @@ open class TimePicker: TimePickerBase {
|
|
|
166
166
|
}
|
|
167
167
|
#sourceLocation()
|
|
168
168
|
open override func jsSymbolMethod(_ key: String) -> JSMethod? {
|
|
169
|
-
if key == ((Core_ui_time_picker_time_picker_common.timeProperty?.getDefault)?.key ?? "undefined") {
|
|
169
|
+
if key == (try? ((Core_ui_time_picker_time_picker_common.timeProperty?.getDefault)?.key ?? "undefined")) {
|
|
170
170
|
return { __this, __a in return try (jsCastPresent(__this) as TimePicker).symbol_getDefault_time() }
|
|
171
171
|
}
|
|
172
|
-
if key == ((Core_ui_time_picker_time_picker_common.timeProperty?.setNative)?.key ?? "undefined") {
|
|
172
|
+
if key == (try? ((Core_ui_time_picker_time_picker_common.timeProperty?.setNative)?.key ?? "undefined")) {
|
|
173
173
|
return { __this, __a in
|
|
174
174
|
try (jsCastPresent(__this) as TimePicker).symbol_setNative_time(nil)
|
|
175
175
|
return nil
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
|
-
if key == ((Core_ui_time_picker_time_picker_common.minuteProperty?.getDefault)?.key ?? "undefined") {
|
|
178
|
+
if key == (try? ((Core_ui_time_picker_time_picker_common.minuteProperty?.getDefault)?.key ?? "undefined")) {
|
|
179
179
|
return { __this, __a in return try (jsCastPresent(__this) as TimePicker).symbol_getDefault_minute() }
|
|
180
180
|
}
|
|
181
|
-
if key == ((Core_ui_time_picker_time_picker_common.minuteProperty?.setNative)?.key ?? "undefined") {
|
|
181
|
+
if key == (try? ((Core_ui_time_picker_time_picker_common.minuteProperty?.setNative)?.key ?? "undefined")) {
|
|
182
182
|
return { __this, __a in
|
|
183
183
|
try (jsCastPresent(__this) as TimePicker).symbol_setNative_minute(
|
|
184
184
|
(try jsConvertedNumber(jsArg(__a, 0))))
|
|
185
185
|
return nil
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
|
-
if key == ((Core_ui_time_picker_time_picker_common.hourProperty?.getDefault)?.key ?? "undefined") {
|
|
188
|
+
if key == (try? ((Core_ui_time_picker_time_picker_common.hourProperty?.getDefault)?.key ?? "undefined")) {
|
|
189
189
|
return { __this, __a in return try (jsCastPresent(__this) as TimePicker).symbol_getDefault_hour() }
|
|
190
190
|
}
|
|
191
|
-
if key == ((Core_ui_time_picker_time_picker_common.hourProperty?.setNative)?.key ?? "undefined") {
|
|
191
|
+
if key == (try? ((Core_ui_time_picker_time_picker_common.hourProperty?.setNative)?.key ?? "undefined")) {
|
|
192
192
|
return { __this, __a in
|
|
193
193
|
try (jsCastPresent(__this) as TimePicker).symbol_setNative_hour((try jsConvertedNumber(jsArg(__a, 0))))
|
|
194
194
|
return nil
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
|
-
if key == ((Core_ui_time_picker_time_picker_common.minHourProperty?.getDefault)?.key ?? "undefined") {
|
|
197
|
+
if key == (try? ((Core_ui_time_picker_time_picker_common.minHourProperty?.getDefault)?.key ?? "undefined")) {
|
|
198
198
|
return { __this, __a in return try (jsCastPresent(__this) as TimePicker).symbol_getDefault_minHour() }
|
|
199
199
|
}
|
|
200
|
-
if key == ((Core_ui_time_picker_time_picker_common.minHourProperty?.setNative)?.key ?? "undefined") {
|
|
200
|
+
if key == (try? ((Core_ui_time_picker_time_picker_common.minHourProperty?.setNative)?.key ?? "undefined")) {
|
|
201
201
|
return { __this, __a in
|
|
202
202
|
try (jsCastPresent(__this) as TimePicker).symbol_setNative_minHour(
|
|
203
203
|
(try jsConvertedNumber(jsArg(__a, 0))))
|
|
204
204
|
return nil
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
|
-
if key == ((Core_ui_time_picker_time_picker_common.maxHourProperty?.getDefault)?.key ?? "undefined") {
|
|
207
|
+
if key == (try? ((Core_ui_time_picker_time_picker_common.maxHourProperty?.getDefault)?.key ?? "undefined")) {
|
|
208
208
|
return { __this, __a in return try (jsCastPresent(__this) as TimePicker).symbol_getDefault_maxHour() }
|
|
209
209
|
}
|
|
210
|
-
if key == ((Core_ui_time_picker_time_picker_common.maxHourProperty?.setNative)?.key ?? "undefined") {
|
|
210
|
+
if key == (try? ((Core_ui_time_picker_time_picker_common.maxHourProperty?.setNative)?.key ?? "undefined")) {
|
|
211
211
|
return { __this, __a in
|
|
212
212
|
try (jsCastPresent(__this) as TimePicker).symbol_setNative_maxHour(
|
|
213
213
|
(try jsConvertedNumber(jsArg(__a, 0))))
|
|
214
214
|
return nil
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
|
-
if key == ((Core_ui_time_picker_time_picker_common.minMinuteProperty?.getDefault)?.key ?? "undefined") {
|
|
217
|
+
if key == (try? ((Core_ui_time_picker_time_picker_common.minMinuteProperty?.getDefault)?.key ?? "undefined")) {
|
|
218
218
|
return { __this, __a in return try (jsCastPresent(__this) as TimePicker).symbol_getDefault_minMinute() }
|
|
219
219
|
}
|
|
220
|
-
if key == ((Core_ui_time_picker_time_picker_common.minMinuteProperty?.setNative)?.key ?? "undefined") {
|
|
220
|
+
if key == (try? ((Core_ui_time_picker_time_picker_common.minMinuteProperty?.setNative)?.key ?? "undefined")) {
|
|
221
221
|
return { __this, __a in
|
|
222
222
|
try (jsCastPresent(__this) as TimePicker).symbol_setNative_minMinute(
|
|
223
223
|
(try jsConvertedNumber(jsArg(__a, 0))))
|
|
224
224
|
return nil
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
|
-
if key == ((Core_ui_time_picker_time_picker_common.maxMinuteProperty?.getDefault)?.key ?? "undefined") {
|
|
227
|
+
if key == (try? ((Core_ui_time_picker_time_picker_common.maxMinuteProperty?.getDefault)?.key ?? "undefined")) {
|
|
228
228
|
return { __this, __a in return try (jsCastPresent(__this) as TimePicker).symbol_getDefault_maxMinute() }
|
|
229
229
|
}
|
|
230
|
-
if key == ((Core_ui_time_picker_time_picker_common.maxMinuteProperty?.setNative)?.key ?? "undefined") {
|
|
230
|
+
if key == (try? ((Core_ui_time_picker_time_picker_common.maxMinuteProperty?.setNative)?.key ?? "undefined")) {
|
|
231
231
|
return { __this, __a in
|
|
232
232
|
try (jsCastPresent(__this) as TimePicker).symbol_setNative_maxMinute(
|
|
233
233
|
(try jsConvertedNumber(jsArg(__a, 0))))
|
|
234
234
|
return nil
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
|
-
if key
|
|
237
|
+
if key
|
|
238
|
+
== (try? ((Core_ui_time_picker_time_picker_common.minuteIntervalProperty?.getDefault)?.key ?? "undefined"))
|
|
239
|
+
{
|
|
238
240
|
return { __this, __a in return try (jsCastPresent(__this) as TimePicker).symbol_getDefault_minuteInterval()
|
|
239
241
|
}
|
|
240
242
|
}
|
|
241
|
-
if key
|
|
243
|
+
if key
|
|
244
|
+
== (try? ((Core_ui_time_picker_time_picker_common.minuteIntervalProperty?.setNative)?.key ?? "undefined"))
|
|
245
|
+
{
|
|
242
246
|
return { __this, __a in
|
|
243
247
|
try (jsCastPresent(__this) as TimePicker).symbol_setNative_minuteInterval(
|
|
244
248
|
(try jsConvertedNumber(jsArg(__a, 0))))
|
|
245
249
|
return nil
|
|
246
250
|
}
|
|
247
251
|
}
|
|
248
|
-
if key == ((Core_ui_styling_style_properties.colorProperty?.getDefault)?.key ?? "undefined") {
|
|
252
|
+
if key == (try? ((Core_ui_styling_style_properties.colorProperty?.getDefault)?.key ?? "undefined")) {
|
|
249
253
|
return { __this, __a in return try (jsCastPresent(__this) as TimePicker).symbol_getDefault_color() }
|
|
250
254
|
}
|
|
251
|
-
if key == ((Core_ui_styling_style_properties.colorProperty?.setNative)?.key ?? "undefined") {
|
|
255
|
+
if key == (try? ((Core_ui_styling_style_properties.colorProperty?.setNative)?.key ?? "undefined")) {
|
|
252
256
|
return { __this, __a in
|
|
253
257
|
try (jsCastPresent(__this) as TimePicker).symbol_setNative_color(jsArg(__a, 0))
|
|
254
258
|
return nil
|
|
@@ -63,7 +63,7 @@ open class Transition: JSDynamic, JSStringConvertible, JSExpando, JSKeysMade, JS
|
|
|
63
63
|
}
|
|
64
64
|
#sourceLocation()
|
|
65
65
|
open func animateIOSTransition(
|
|
66
|
-
_ transitionContext: any UIViewControllerContextTransitioning?, _ fromViewCtrl: UIViewController?,
|
|
66
|
+
_ transitionContext: (any UIViewControllerContextTransitioning)?, _ fromViewCtrl: UIViewController?,
|
|
67
67
|
_ toViewCtrl: UIViewController?, _ operation: UINavigationController.Operation
|
|
68
68
|
) throws {
|
|
69
69
|
#sourceLocation(file:"@nativescript/core/ui.transition.index.ios.ts",line:31)
|
|
@@ -114,7 +114,7 @@ open class Transition: JSDynamic, JSStringConvertible, JSExpando, JSKeysMade, JS
|
|
|
114
114
|
switch key {
|
|
115
115
|
case "animateIOSTransition":
|
|
116
116
|
return
|
|
117
|
-
|
|
117
|
+
FunctionCell_any_UIViewControllerContextTransitioning_Opt_UIViewControllerOpt_UIViewControllerOpt_UINavigationController_Operation_to_Void
|
|
118
118
|
.script("animateIOSTransition", 4, self.animateIOSTransition)
|
|
119
119
|
default: break
|
|
120
120
|
}
|
|
@@ -69,7 +69,7 @@ open class ModalTransition: Transition {
|
|
|
69
69
|
return self.transitionController
|
|
70
70
|
}
|
|
71
71
|
#sourceLocation()
|
|
72
|
-
open func iosInteractionDismiss(_ animator: any UIViewControllerAnimatedTransitioning?) throws -> (
|
|
72
|
+
open func iosInteractionDismiss(_ animator: (any UIViewControllerAnimatedTransitioning)?) throws -> (
|
|
73
73
|
any UIViewControllerInteractiveTransitioning
|
|
74
74
|
)? {
|
|
75
75
|
#sourceLocation(file:"@nativescript/core/ui.transition.modal-transition.ios.ts",line:39)
|
|
@@ -78,7 +78,7 @@ open class ModalTransition: Transition {
|
|
|
78
78
|
return self.interactiveController
|
|
79
79
|
}
|
|
80
80
|
#sourceLocation()
|
|
81
|
-
open func iosInteractionPresented(_ animator: any UIViewControllerAnimatedTransitioning?) -> (
|
|
81
|
+
open func iosInteractionPresented(_ animator: (any UIViewControllerAnimatedTransitioning)?) -> (
|
|
82
82
|
any UIViewControllerInteractiveTransitioning
|
|
83
83
|
)? {
|
|
84
84
|
#sourceLocation(file:"@nativescript/core/ui.transition.modal-transition.ios.ts",line:45)
|
|
@@ -254,7 +254,7 @@ open class ModalTransition: Transition {
|
|
|
254
254
|
return self.interactiveController
|
|
255
255
|
case "iosInteractionDismiss":
|
|
256
256
|
return
|
|
257
|
-
|
|
257
|
+
FunctionCell_any_UIViewControllerAnimatedTransitioning_Opt_to_any_UIViewControllerInteractiveTransitioning_Opt
|
|
258
258
|
.script("iosInteractionDismiss", 1, self.iosInteractionDismiss)
|
|
259
259
|
default: break
|
|
260
260
|
}
|
|
@@ -273,7 +273,7 @@ open class ModalTransition: Transition {
|
|
|
273
273
|
switch key {
|
|
274
274
|
case "iosInteractionPresented":
|
|
275
275
|
return
|
|
276
|
-
|
|
276
|
+
FunctionCell_any_UIViewControllerAnimatedTransitioning_Opt_to_any_UIViewControllerInteractiveTransitioning_Opt
|
|
277
277
|
.script("iosInteractionPresented", 1, self.iosInteractionPresented)
|
|
278
278
|
case "setupInteractiveGesture":
|
|
279
279
|
return FunctionCell_to_Void_ViewOpt_to_Void.script(
|
|
@@ -85,7 +85,7 @@ open class PageTransition: Transition {
|
|
|
85
85
|
return self.transitionController
|
|
86
86
|
}
|
|
87
87
|
#sourceLocation()
|
|
88
|
-
open func iosInteractionDismiss(_ animator: any UIViewControllerAnimatedTransitioning?) throws -> (
|
|
88
|
+
open func iosInteractionDismiss(_ animator: (any UIViewControllerAnimatedTransitioning)?) throws -> (
|
|
89
89
|
any UIViewControllerInteractiveTransitioning
|
|
90
90
|
)? {
|
|
91
91
|
#sourceLocation(file:"@nativescript/core/ui.transition.page-transition.ios.ts",line:84)
|
|
@@ -708,7 +708,7 @@ open class PageTransition: Transition {
|
|
|
708
708
|
return self.interactiveController
|
|
709
709
|
case "iosInteractionDismiss":
|
|
710
710
|
return
|
|
711
|
-
|
|
711
|
+
FunctionCell_any_UIViewControllerAnimatedTransitioning_Opt_to_any_UIViewControllerInteractiveTransitioning_Opt
|
|
712
712
|
.script("iosInteractionDismiss", 1, self.iosInteractionDismiss)
|
|
713
713
|
default: break
|
|
714
714
|
}
|